/* Account settings pages: Organization-page style. Do not add these rules to main.css. */
.tbacct-page{width:100%;min-height:100%;background:#fff;color:#111827;padding:0 0 28px;box-sizing:border-box;}
.tbacct-hero{min-height:94px;height:auto;background:#fff;border:0;border-bottom:1px solid #e8eef4;border-radius:0;box-shadow:none;margin:0;display:flex;align-items:center;gap:15px;padding:12px 20px;box-sizing:border-box;}
.tbacct-avatar,.tbacct-hero-ico{width:58px;height:58px;border-radius:18px;background:#e9f7f3;color:var(--tb-accent);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800;flex:0 0 58px;overflow:hidden;}
.tbacct-hero-ico{border-radius:50%;font-size:20px;}
.tbacct-hero h2{margin:0 0 7px;color:#111827;font-size:18px;font-weight:600;line-height:1.2;}
.tbacct-hero p{margin:0;color:#526174;font-size:13px;font-weight:500;line-height:1.45;}
.tbacct-mini{margin-top:7px;color:var(--tb-accent);font-size:12px;font-weight:700;line-height:1.3;}
.tbacct-card{margin:15px 14px 30px;background:#fff;border:1px solid #e6edf3;border-radius:7px;box-shadow:none;overflow:hidden;box-sizing:border-box;}
.tbacct-card.tbacct-form{min-height:auto;}
.tbacct-narrow{max-width:680px;}
.tbacct-card-head{min-height:50px;padding:0 18px;border-bottom:1px solid #e6edf3;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;box-sizing:border-box;}
.tbacct-card-head h3{margin:0;color:#111827;font-size:15px;font-weight:600;line-height:1.2;}
.tbacct-card-head span{font-size:12px;color:#64748b;font-weight:600;line-height:1.4;}
.tbacct-form{padding:0;}
.tbacct-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 14px;padding:20px 18px 16px;box-sizing:border-box;}
.tbacct-grid.one{grid-template-columns:1fr;max-width:520px;}
.tbacct-grid label{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0;}
.tbacct-grid label span{font-size:12px;font-weight:700;color:#5d6b7e;line-height:1.2;}
.tbacct-grid label span b{color:#ef4444;}
.tbacct-grid input,.tbacct-grid select{height:38px;border:1px solid #d8e2ec;border-radius:7px;background:#fff;color:#111827;font-size:14px;font-weight:500;padding:0 12px;outline:0;box-sizing:border-box;width:100%;}
.tbacct-grid input:focus,.tbacct-grid select:focus{border-color:var(--tb-accent);box-shadow:0 0 0 3px rgba(var(--tb-accent-rgb),.08);}
.tbacct-grid input[readonly]{background:#f8fafc;color:#64748b;}
.tbacct-actions{padding:0 18px 18px;display:flex;justify-content:flex-end;gap:10px;box-sizing:border-box;}
.tbacct-actions button{height:36px;border:0;border-radius:18px;background:var(--tb-accent);color:#fff;font-size:14px;font-weight:600;padding:0 18px;cursor:pointer;}
.tbacct-actions button:hover{background:#00805e;}
.tbacct-alert{border-radius:7px;padding:11px 14px;margin:15px 14px 0;font-size:13px;font-weight:700;line-height:1.4;}
.tbacct-alert.success{background:var(--tb-accent-soft);color:var(--tb-accent);border:1px solid #b8e6da;}
.tbacct-alert.error{background:var(--tb-accent-soft-2);color:#be123c;border:1px solid #fecdd3;}
.tbacct-switch-list{padding:5px 18px 18px;display:flex;flex-direction:column;gap:0;box-sizing:border-box;}
.tbacct-switch-list label{display:flex;align-items:center;justify-content:space-between;gap:18px;border-bottom:1px solid #edf2f7;padding:15px 0;margin:0;cursor:pointer;}
.tbacct-switch-list label:last-child{border-bottom:0;}
.tbacct-switch-list span{display:flex;flex-direction:column;gap:4px;min-width:0;}
.tbacct-switch-list b{font-size:14px;color:#111827;font-weight:600;line-height:1.25;}
.tbacct-switch-list em{font-size:12px;color:#64748b;font-style:normal;font-weight:500;line-height:1.4;}
.tbacct-switch-list input{display:none;}
.tbacct-switch-list i{width:42px;height:24px;border-radius:999px;background:#d8e1ec;position:relative;flex:0 0 42px;transition:.18s;}
.tbacct-switch-list i:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 2px 7px rgba(15,23,42,.18);transition:.18s;}
.tbacct-switch-list input:checked+i{background:var(--tb-accent);}
.tbacct-switch-list input:checked+i:before{left:21px;}
.tbacct-table-wrap{width:100%;overflow:auto;}
.tbacct-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:auto;}
.tbacct-table th{height:40px;text-align:left;background:#fff;color:#111827;font-size:13px;font-weight:600;border-bottom:1px solid #dfe7ef;border-right:1px solid #e5edf3;padding:0 14px;white-space:nowrap;}
.tbacct-table th:last-child{border-right:0;}
.tbacct-table td{height:48px;padding:0 14px;border-bottom:1px solid #ecf1f5;color:#111827;font-size:13px;font-weight:500;vertical-align:middle;}
.tbacct-table tbody tr:last-child td{border-bottom:0;}
.tbacct-status{display:inline-flex;align-items:center;height:22px;border-radius:999px;padding:0 9px;font-size:11px;font-weight:800;}
.tbacct-status.ok{background:#e9f7f3;color:var(--tb-accent);}
.tbacct-status.bad{background:var(--tb-accent-soft-2);color:#be123c;}
.tbacct-empty{min-height:260px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#64748b;padding:28px;}
.tbacct-empty i{width:62px;height:62px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e9f7f3;color:var(--tb-accent);font-size:26px;margin-bottom:14px;}
.tbacct-empty b{font-size:15px;color:#111827;margin-bottom:6px;font-weight:600;}
.tbacct-empty span{font-size:13px;max-width:330px;line-height:1.5;}
@media(max-width:820px){.tbacct-grid{grid-template-columns:1fr}.tbacct-card-head{align-items:flex-start;flex-direction:column;padding:13px 14px}.tbacct-hero{align-items:flex-start;padding:18px 14px}.tbacct-table{min-width:720px}.tbacct-card{margin:10px;border-radius:0;border-left:0;border-right:0}.tbacct-alert{margin:10px 10px 0}}

/* Dynamic accent cleanup for account/profile pages */
.tbacct-avatar,.tbacct-hero-ico,.tbacct-status.ok,.tbacct-empty i{background:var(--tb-accent-soft)!important;color:var(--tb-accent-text)!important;}
.tbacct-actions button:hover{background:var(--tb-accent-hover)!important;}
