@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  font-family: 'DM Sans', sans-serif; color:#23314a; background:#f4f6f9; font-synthesis:none;
  --navy:#0c1d3c; --navy-soft:#172b4d; --orange:#f47721; --orange-dark:#dd6513;
  --orange-pale:#fff1e5; --muted:#8490a3; --line:#e5eaf0;
  --surface:#fff; --bg:#f4f6f9; --shadow:0 10px 28px #1427470b;
}
*{box-sizing:border-box} body{margin:0;min-width:320px;background:var(--bg)}
button,input,select,textarea{font:inherit}button{cursor:pointer}.icon-svg{display:block;flex:none}.button:not(.ghost){display:inline-flex;align-items:center;justify-content:center;gap:7px}.button.ghost{display:inline-flex;align-items:center;gap:6px}
.boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:var(--bg)}.boot img{display:block;width:min(320px,78vw);max-height:180px;object-fit:contain;background:#fff;border-radius:14px;box-shadow:0 12px 36px #14274712}.boot span{font:700 10px 'DM Sans';letter-spacing:3px;color:var(--navy)}.boot i{width:25px;height:3px;border-radius:3px;background:var(--orange);animation:loadpulse .8s ease-in-out infinite alternate}@keyframes loadpulse{to{width:55px;opacity:.45}}
.shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:248px;background:var(--navy);color:#b8c2d5;padding:26px 17px;display:flex;flex-direction:column;z-index:5}
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:0 3px 30px}.brandpicture{display:block;width:100%}.brandlogo{display:block;width:100%;height:54px;object-fit:contain;object-position:left center;background:#fff;border-radius:8px;padding:3px}.brandtext{font:700 9px 'DM Sans';letter-spacing:2.6px;color:#ff9b52;padding-left:4px}
.nav-label{font-size:10px;letter-spacing:1.4px;color:#73819c;padding:8px 12px 10px;text-transform:uppercase}.nav{display:grid;gap:4px}.nav button{border:0;background:transparent;color:#aeb9cc;text-align:left;padding:11px 12px;border-radius:9px;display:flex;align-items:center;gap:12px;font-size:13px;font-weight:500;transition:.15s}.nav button:hover{background:#ffffff0b;color:#fff}.nav button.active{background:#1b3154;color:#fff;box-shadow:inset 3px 0 var(--orange)}.nav button.active .ico{color:#ff9b52}.ico{width:17px;text-align:center;color:#8795af;display:grid;place-items:center}.ico .icon-svg{width:17px;height:17px}
.sidebottom{margin-top:auto;border-top:1px solid #ffffff15;padding:17px 9px 0;font-size:11px;color:#8492aa;line-height:1.6}.connection{display:flex;align-items:center;gap:7px;margin-bottom:13px;color:#c5cfdd}.dot{width:7px;height:7px;background:var(--orange);border-radius:50%}
.main{margin-left:248px;min-height:100vh}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:3}.crumb{font-size:12px;color:var(--muted)}.crumb b{color:#26344f;font-weight:600}.topright{display:flex;align-items:center;gap:16px}.iconbutton{width:35px;height:35px;border:1px solid var(--line);background:#fff;border-radius:10px;color:#66748b}.iconbutton:hover{border-color:#f6ba8c;color:var(--orange)}.avatar{width:35px;height:35px;border-radius:11px;background:var(--orange-pale);color:#d96618;display:grid;place-items:center;font-size:12px;font-weight:700}.identity{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;color:#35415a}.identity small{display:block;font-size:10px;color:#98a2b3;font-weight:400;margin-top:2px}
.content{max-width:1440px;margin:auto;padding:34px 38px 52px}.pagehead{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.pagehead h1{font:700 24px Manrope;margin:0;color:#1b2943;letter-spacing:-.5px}.pagehead p{font-size:12px;color:var(--muted);margin:7px 0 0}
.button{border:0;border-radius:8px;padding:10px 15px;background:var(--orange);color:#112544;font-weight:700;font-size:12px;box-shadow:0 5px 12px #ef76232b;transition:background .15s,transform .15s}.button:hover{background:var(--orange-dark);transform:translateY(-1px)}.button.secondary{background:#fff;color:#3d4b64;border:1px solid var(--line);box-shadow:none}.button.secondary:hover{border-color:#f3b17e;color:var(--orange-dark)}.button.ghost{background:transparent;color:#b84f0b;box-shadow:none;padding:7px}.button.ghost:hover{background:var(--orange-pale);transform:none}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.stat,.panel{background:var(--surface);border:1px solid #e9edf2;border-radius:12px;box-shadow:var(--shadow)}.stat{padding:18px;position:relative;min-height:120px}.statlabel{font-size:11px;color:#78859a;font-weight:500}.statrow{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.statvalue{font:700 25px Manrope;color:#1c2941;letter-spacing:-.5px}.staticon{width:34px;height:34px;border-radius:10px;background:var(--orange-pale);display:grid;place-items:center;color:var(--orange)}.delta{font-size:10px;color:var(--orange-dark);margin-top:8px}
.dashgrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:16px;margin-top:18px}.panel{padding:20px}.panelhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.panelhead h2{font:700 13px Manrope;margin:0;color:#26334b}.subtle{font-size:10px;color:#9aa5b5}.alert{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid #f0f2f6}.alert:last-child{border:0}.alertmark{width:27px;height:27px;border-radius:8px;background:#fff5e5;color:#dc9a36;display:grid;place-items:center;flex:none}.alertmark .icon-svg{width:16px;height:16px}.alertmark.red{background:#fff0ef;color:#df6d65}.alert strong{display:block;font-size:11px;color:#37445c;font-weight:600}.alert span{font-size:10px;color:#929daf;display:block;margin-top:4px}
.tablepanel{margin-top:17px;padding:20px}.toolbar{display:flex;align-items:center;gap:9px}.search{width:200px;border:1px solid var(--line);border-radius:8px;padding:9px 11px;font-size:11px;color:#39465d;outline:none}.search:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:#f4a267;box-shadow:0 0 0 3px #f4772117}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:650px}th{text-align:left;font-size:9px;letter-spacing:.8px;text-transform:uppercase;color:#9aa5b4;font-weight:600;padding:12px 9px;border-bottom:1px solid #edf0f5}td{font-size:11px;color:#59667c;padding:13px 9px;border-bottom:1px solid #f0f2f6}tbody tr:last-child td{border:0}.companycell{display:flex;align-items:center;gap:10px;color:#2d3a52;font-weight:600}.companyicon{width:30px;height:30px;border-radius:9px;background:var(--orange-pale);color:#db6b1b;display:grid;place-items:center;font-weight:700}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:5px 8px;font-size:9px;font-weight:600;background:#edf1f7;color:#29466f}.badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.badge.warn{color:#b95512;background:#fff1e5}.badge.muted{color:#8893a4;background:#f0f2f5}.tablefoot{display:flex;align-items:center;justify-content:space-between;padding-top:14px;color:#9aa5b5;font-size:10px}.pages{display:flex;gap:5px}.pages button{border:1px solid var(--line);background:#fff;border-radius:6px;min-width:25px;height:25px;padding:0 6px;color:#718098;font-size:10px}.pages button.current{background:var(--orange-pale);color:#ce5e11;border-color:#ffd5b5}.pages button:disabled{opacity:.45;cursor:default}.empty{padding:35px;text-align:center;color:#9aa5b5;font-size:12px}
.mini-chart{height:152px;display:flex;align-items:flex-end;justify-content:space-around;border-bottom:1px solid #edf0f5;padding:10px 2px 0;gap:8px}.barcol{flex:1;min-width:25px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;position:relative;gap:5px}.barcol span{font-size:9px;color:#9aa5b5;white-space:nowrap}.barcol i{width:min(35px,65%);border-radius:5px 5px 0 0;background:linear-gradient(180deg,#ffad68,var(--orange));min-height:3px}.mini-chart.revenue .barcol i{background:linear-gradient(180deg,#7189b5,#29466f)}.barcol small{height:20px;color:#9aa5b5;font-size:9px;text-transform:capitalize}
.shade{position:fixed;inset:0;background:#101a3166;z-index:10;display:grid;place-items:center;padding:20px}.modal{width:min(590px,100%);background:#fff;border-radius:14px;box-shadow:0 24px 75px #08112740;overflow:hidden;max-height:90vh;display:flex;flex-direction:column}.modalhead{padding:20px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modalhead h2{font:700 16px Manrope;margin:0;color:#1f2c45}.close{border:0;background:transparent;font-size:20px;color:#99a4b3}.modalbody{padding:21px 23px;overflow:auto}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:10px;color:#68758b;font-weight:600}.field input,.field select,.field textarea{width:100%;border:1px solid #e4e9f0;border-radius:8px;padding:10px 11px;font-size:11px;color:#344159;background:#fff;outline:none}.field textarea{min-height:68px;resize:vertical}.modalfoot{padding:14px 23px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px}.checklist{display:grid;gap:11px}.checklist label{display:flex;align-items:center;gap:9px;font-size:12px;color:#49566c}.checklist input{accent-color:var(--orange)}.checklist span{display:grid;gap:3px}.checklist b{font-size:11px;font-weight:600}.checklist small,.formnote{font-size:10px;color:#8c98aa}.formnote{grid-column:1/-1;line-height:1.6;margin:0}
.toast{position:fixed;right:24px;bottom:24px;background:var(--navy-soft);color:#fff;padding:12px 17px;border-radius:9px;font-size:12px;z-index:20;box-shadow:0 8px 30px #101a3140;animation:rise .2s}.toast.error{background:#a53f46}@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.auth{min-height:100vh;background:var(--bg);display:grid;place-items:center;padding:22px}.authcard{width:min(410px,100%);background:#fff;border:1px solid var(--line);border-radius:16px;padding:38px;box-shadow:0 16px 50px #1e315010;text-align:center}.authlogo{width:min(290px,100%);height:auto;object-fit:contain}.authcard .brandtitle{font:700 10px 'DM Sans';letter-spacing:3px;color:#68758b;margin-top:8px}.authcard h1{font:700 20px Manrope;color:#1b2943;margin:30px 0 8px}.authcard p{font-size:12px;color:#b45a53;line-height:1.5}.authcard small{font-size:11px;color:#8995a8;line-height:1.5}
.authlogo.corporate{width:min(285px,100%);max-height:170px;margin-bottom:6px}
.profile-chip{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:9px;text-align:left;color:#35415a;font-size:11px;font-weight:600}.profile-chip small{display:block;color:var(--muted);font-size:9px;font-weight:400;margin-top:3px}.profile-chip:hover span{color:var(--orange-dark)}
.dashgrid.onecol{grid-template-columns:1fr}.role-select{max-width:160px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#46536a;padding:7px 9px;font-size:10px;outline:none}.role-select:focus{border-color:var(--orange)}.dark .role-select{background:#172132;border-color:#344158;color:#dce3ee}
.accessgrid{grid-template-columns:minmax(260px,.8fr) minmax(420px,1.4fr)}.role-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #f0f2f6}.role-row:last-child{border:0}.role-row>div:nth-child(2){display:grid;gap:4px}.role-row b,.admin-info b{font-size:11px;color:#35415a}.role-row small,.admin-info small{font-size:10px;color:#8c98aa;line-height:1.4}.rolemark{flex:none;width:30px;height:30px;border-radius:9px;background:var(--orange-pale);color:#cf5c11;display:grid;place-items:center;font-weight:700}.rolemark .icon-svg{width:17px;height:17px}.rolemark.root{background:#172b4d;color:#ff9b52}.admin-list{display:grid}.admin-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0f2f6}.admin-row:last-child{border:0}.admin-info{display:grid;gap:4px;min-width:100px;flex:1}.role-pill,.owner-pill{display:inline-flex;align-items:center;border-radius:20px;padding:5px 9px;background:#fff1e5;color:#b84f0b;font-size:9px;font-weight:700;white-space:nowrap}.owner-pill{background:#172b4d;color:#ffb178}.access-note{margin-top:16px;border-left:3px solid var(--orange)}.access-note b{font-size:11px;color:#35415a}.access-note p{font-size:11px;color:#8490a3;line-height:1.6;margin:6px 0 0}.profile-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px}.profile-card{text-align:center;padding:28px 20px}.profile-avatar{width:64px;height:64px;margin:0 auto 13px;border-radius:20px;background:var(--orange-pale);color:#ce5e11;display:grid;place-items:center;font:700 25px Manrope}.profile-avatar .icon-svg{width:30px;height:30px}.profile-card h2{font:700 16px Manrope;color:#25334b;margin:0 0 6px}.profile-card p{font-size:11px;color:#8995a8;margin:0 0 13px}.profile-form{display:grid;grid-template-columns:1fr 1fr;align-content:start;gap:14px}.profile-form .panelhead{grid-column:1/-1;margin-bottom:3px}.profile-actions{grid-column:1/-1;display:flex;justify-content:flex-end;margin-top:3px}.inviteaccept{display:block;margin:23px auto 0}.dark .profile-chip{color:#e1e8f2}.dark .role-row,.dark .admin-row{border-color:#303c50}.dark .role-row b,.dark .admin-info b,.dark .profile-card h2,.dark .access-note b{color:#e1e8f2}.dark .access-note p,.dark .role-row small,.dark .admin-info small{color:#aab6c9}.dark .role-pill{background:#483222;color:#ffb178}
@media(max-width:900px){.accessgrid{grid-template-columns:1fr}.profile-layout{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:740px){.profile-chip span{display:none}.profile-layout{grid-template-columns:1fr}.profile-card{padding:20px}.profile-form{grid-template-columns:1fr}.profile-form .panelhead,.profile-actions{grid-column:1}.admin-row{flex-wrap:wrap}.admin-info{min-width:120px}.role-pill{margin-left:auto}}
.dark{--bg:#101827;--surface:#1b2536;--line:#303c50;color:#dce3ee}.dark body,.dark .shell{background:#101827}.dark .topbar,.dark .panel,.dark .stat,.dark .modal,.dark .authcard{background:#1b2536;border-color:#303c50}.dark .content h1,.dark .panelhead h2,.dark .statvalue,.dark .companycell,.dark .modalhead h2,.dark .identity,.dark .crumb b{color:#e4eaf3}.dark .pagehead p,.dark .crumb,.dark td,.dark .field label{color:#aab6c9}.dark th,.dark td,.dark .tablefoot,.dark .modalhead,.dark .modalfoot{border-color:#303c50}.dark .search,.dark .button.secondary,.dark .field input,.dark .field select,.dark .field textarea,.dark .iconbutton{background:#172132;border-color:#344158;color:#dce3ee}.dark .empty{color:#a2aec0}.dark .auth{background:#101827}.dark .mini-chart{border-color:#303c50}.dark .authcard h1{color:#e4eaf3}.dark .authcard p{color:#ff9b85}.dark .pages button{background:#172132;border-color:#344158;color:#bec9da}.dark .pages button.current{background:#57351f;color:#ffb47d;border-color:#9b582b}.dark .companyicon,.dark .staticon{background:#423020;color:#ff9b52}.dark .button.ghost{color:#ff9b52}.dark .button.ghost:hover{background:#392b21}.dark .badge{background:#293b59;color:#b9c9e6}.dark .badge.warn{background:#483222;color:#ffb178}.dark .badge.muted{background:#293446;color:#a8b6ca}
@media(max-width:1050px){.sidebar{width:216px}.main{margin-left:216px}.content{padding:28px 24px}.topbar{padding:0 24px}.cards{grid-template-columns:repeat(2,1fr)}}
@media(max-width:740px){.sidebar{width:65px;padding:20px 9px}.brand{align-items:center;padding:0 0 25px;gap:0}.brandpicture{width:43px;height:43px}.brandlogo{height:43px;width:43px;object-fit:contain;object-position:center;padding:2px;border-radius:11px}.brandtext,.nav-label,.nav button span:not(.ico),.sidebottom{display:none}.nav button{justify-content:center;padding:12px 8px}.ico{font-size:17px}.main{margin-left:65px}.content{padding:24px 14px 35px}.topbar{height:62px;padding:0 14px}.topright{gap:9px}.identity{font-size:0}.identity small{font-size:9px}.pagehead{align-items:flex-start;gap:12px}.pagehead h1{font-size:20px}.pagehead p{max-width:220px;line-height:1.5}.pagehead .button{padding:9px 10px;font-size:10px;white-space:nowrap}.cards{gap:9px}.stat{padding:14px;min-height:105px}.statvalue{font-size:21px}.dashgrid{grid-template-columns:1fr}.tablepanel{padding:15px}.tablepanel .panelhead{align-items:flex-start;gap:12px;flex-direction:column}.toolbar{width:100%}.search{flex:1;min-width:0}.formgrid{grid-template-columns:1fr}.field.full{grid-column:auto}.modal{max-height:94vh}.crumb{font-size:10px}.authcard{padding:28px 22px}}

/* Compact administrator identity in the top bar */
.profile-chip{appearance:none;-webkit-appearance:none;min-height:42px;max-width:220px;padding:4px 9px 4px 4px;display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 2px 7px #14274708;color:#35415a;text-align:left;line-height:1.15;transition:border-color .15s,box-shadow .15s}
.profile-chip:hover{border-color:#f2bd97;box-shadow:0 4px 12px #14274710}
.profile-badge{width:32px;height:32px;flex:none;border-radius:9px;background:linear-gradient(145deg,#fff1e5,#ffe0c5);color:#c95a10;display:grid;place-items:center;font-size:10px;font-weight:800;letter-spacing:.3px}
.profile-copy{min-width:0;display:grid;gap:4px}
.profile-copy b{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700;color:inherit}
.profile-role{width:max-content;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 6px;border-radius:20px;background:var(--orange-pale);color:#b95512;font-size:8px;font-weight:700}
.profile-chevron{color:#99a3b1;font-size:14px;line-height:1;margin-left:2px}
.dark .profile-chip{background:#1b2536;border-color:#303c50;color:#e1e8f2}
.dark .profile-role{background:#483222;color:#ffb178}
.badge-picker{grid-column:1/-1;margin:0;padding:0;border:0}.badge-picker legend{margin-bottom:8px;color:var(--muted);font-size:11px}.badge-options{display:flex;gap:8px;flex-wrap:wrap}.badge-option{cursor:pointer}.badge-option input{position:absolute;opacity:0;pointer-events:none}.badge-option span{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:#c95a10;font-size:19px}.badge-option .icon-svg{width:18px;height:18px}.badge-option input:checked+span{border-color:var(--orange);background:var(--orange-pale);box-shadow:0 0 0 2px #f4772117}.badge-option input:focus-visible+span{outline:2px solid var(--orange);outline-offset:2px}
@media(max-width:740px){.profile-chip{min-height:38px;padding:3px;border-radius:11px}.profile-badge{width:30px;height:30px}.profile-copy,.profile-chevron{display:none}}
@media(max-width:740px){.profile-chip .profile-badge{display:grid}}

/* Prominent top navigation menu */
.topbar{overflow:visible}
.nav-menu{position:relative;z-index:6;margin-right:auto}
.nav-menu-trigger{min-width:178px;min-height:48px;padding:5px 11px 5px 6px;display:flex;align-items:center;gap:10px;border:1px solid #f5bd93;border-radius:13px;background:linear-gradient(110deg,#fff8f2,#fff);color:#26344f;box-shadow:0 5px 15px #e76c1b18;text-align:left;transition:transform .15s,box-shadow .15s}
.nav-menu-trigger:hover{transform:translateY(-1px);box-shadow:0 8px 20px #e76c1b28}
.nav-menu-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#ff9b52,#f47721);color:#fff;font-size:17px;font-weight:700;box-shadow:0 4px 9px #e76c1b35}
.nav-menu-label{display:grid;gap:3px;flex:1}
.nav-menu-label small{font-size:8px;letter-spacing:1px;font-weight:700;color:#d46a20}
.nav-menu-label b{font-size:12px;font-weight:700;color:#25334b}
.nav-menu-arrow{color:#a35b2a;font-size:15px}
.nav-menu-popover{position:absolute;top:calc(100% + 9px);left:0;width:230px;padding:7px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 36px #12213b26;animation:rise .15s ease;z-index:10}
.nav-menu-item{width:100%;display:flex;align-items:center;gap:11px;padding:10px;border:0;border-radius:9px;background:transparent;color:#526078;text-align:left;font-size:11px;font-weight:600}
.nav-menu-item>span{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#f2f4f7;color:#7d8ba1;font-size:14px}
.nav-menu-item:hover{background:#fff5ed;color:#bb5512}
.nav-menu-item.active{background:linear-gradient(100deg,#fff0e3,#fff8f2);color:#b84f0b}
.nav-menu-item.active>span{background:#f47721;color:white}
.nav-menu-item i{margin-left:auto;color:#f47721;font-size:8px}
.dark .nav-menu-trigger{background:linear-gradient(110deg,#30291f,#1b2536);border-color:#714a2e;color:#e1e8f2}
.dark .nav-menu-label b{color:#eef2f8}
.dark .nav-menu-popover{background:#1b2536;border-color:#303c50}
.dark .nav-menu-item{color:#bdc8d9}
.dark .nav-menu-item>span{background:#263348;color:#aebbd0}
.dark .nav-menu-item:hover,.dark .nav-menu-item.active{background:#392b21;color:#ffb178}
@media(max-width:740px){.nav-menu-trigger{min-width:148px;min-height:42px;padding:4px 8px 4px 5px;gap:7px;border-radius:11px}.nav-menu-icon{width:31px;height:31px}.nav-menu-label small{font-size:7px}.nav-menu-label b{font-size:11px}.nav-menu-popover{width:205px}}

/* Legibility pass: raise the smallest interface text by 1–2 px */
.statlabel{font-size:12px}
.delta,.subtle,.alert span,.tablefoot,.pages button,.search{font-size:11px}
.alert strong,td,.field input,.field select,.field textarea,.profile-chip{font-size:12px}
th,.badge,.profile-role,.role-pill,.owner-pill{font-size:10px}
.barcol span,.barcol small{font-size:10px}
.field label,.checklist small,.formnote,.role-row small,.admin-info small,.profile-chip small{font-size:11px}
.checklist b,.role-row b,.admin-info b{font-size:12px}
.role-select{font-size:11px}
.nav-menu-label small{font-size:9px}
.nav-menu-item{font-size:12px}
.authcard .brandtitle{font-size:11px}
.authcard p{font-size:13px}
.authcard small{font-size:12px}
.form-section{border-top:1px solid var(--line,#e7ebf2);padding-top:14px;margin-top:14px}.form-section h3{font-size:13px;margin:0 0 12px;color:var(--ink,#17233b)}.formnote{font-size:12px;color:var(--muted,#71809a);margin:10px 0 0}.textlink{border:0;background:none;color:var(--ink,#182741);font:inherit;font-weight:650;cursor:pointer;padding:0;text-align:left}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.detail-grid>div{display:grid;gap:5px}.detail-grid small,.attempt-row small{color:var(--muted,#71809a);font-size:11px}.attempts{margin-top:16px;border-top:1px solid var(--line,#e7ebf2)}.attempt-row{padding:10px 0;border-bottom:1px solid var(--line,#e7ebf2);display:flex;justify-content:space-between;gap:12px;align-items:center}.attempt-row>span{display:flex;align-items:center;gap:8px;font-size:12px}.modalbody .form-section:first-child{border-top:0;padding-top:0;margin-top:0}@media(max-width:650px){.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.attempt-row{align-items:flex-start;flex-direction:column}}
.sector-list{display:grid}.sector-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px;border-bottom:1px solid var(--line);color:#35415a;font-size:13px}.sector-row:last-child{border-bottom:0}.sector-row>div{display:flex;gap:6px}.button.danger{color:#b84b45}.dark .sector-row{color:#e1e8f2}
.config-tabs{display:flex;gap:7px;margin:0 0 16px;padding:5px;background:var(--surface);border:1px solid var(--line);border-radius:11px;width:max-content;max-width:100%;overflow:auto}.config-tab{border:0;border-radius:8px;padding:9px 15px;background:transparent;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}.config-tab:hover{background:var(--orange-pale);color:var(--orange-dark)}.config-tab.active{background:var(--navy-soft);color:#fff}.dark .config-tab.active{background:#3a2c21;color:#ffb178}.domain-txt{display:block;margin-top:6px;max-width:240px;overflow-wrap:anywhere;color:var(--muted);font-size:9px;line-height:1.5}.domain-actions{display:flex;gap:2px;flex-wrap:wrap}.dark .domain-txt{color:#aab6c9}

/* CORE-inspired sign-in surface */
.auth-core{min-height:100vh;padding:30px 18px;background-color:#1d2d62;background-image:repeating-radial-gradient(circle at 50% 52%,transparent 0 62px,#ffffff0b 63px 64px,transparent 65px 115px),radial-gradient(ellipse at 50% 48%,#26386f 0,#1d2d62 72%);}
.auth-core-card{width:min(470px,100%);padding:36px 42px 24px;border:0;border-top:4px solid #ff7026;border-radius:20px;background:#fff;box-shadow:0 24px 70px #101b4238;text-align:center;}
.auth-core-card .authlogo{display:block;width:min(280px,100%);max-height:104px;object-fit:contain;margin:0 auto 5px;}
.auth-eyebrow{margin-top:0;color:#ff7026;font-size:9px;font-weight:700;letter-spacing:2px;}
.auth-core-card h1{max-width:330px;margin:15px auto 8px;color:#111c3d;font:700 29px/1.22 Manrope,sans-serif;letter-spacing:-.9px;}
.auth-core-card .auth-description{margin:0 auto 25px;color:#7d8ba8;font-size:12px;line-height:1.5;}
.auth-field{text-align:left;margin:0 0 17px;}
.auth-field label{display:block;margin-bottom:8px;color:#1a294d;font-size:11px;font-weight:700;}
.auth-input{height:50px;display:flex;align-items:center;gap:11px;padding:0 13px;border:1px solid #dce2ee;border-radius:8px;background:#fbfcfe;transition:border-color .15s,box-shadow .15s;}
.auth-input:focus-within{border-color:#f7a16e;box-shadow:0 0 0 3px #f4772116;}
.auth-input>span{width:16px;height:18px;display:grid;place-items:center;flex:none;color:#8d9ab5;}.auth-input>span .icon-svg{width:16px;height:16px}
.auth-input svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.auth-input input{width:100%;min-width:0;height:100%;padding:0;border:0;outline:0;background:transparent;color:#1a294d;font-size:14px;box-shadow:none!important;}
.auth-input input::placeholder{color:#9aa7bd;}
.password-toggle{width:24px;height:30px;display:grid;place-items:center;flex:none;padding:0;border:0;background:transparent;color:#8795af;}
.password-toggle svg{width:16px;height:16px;}
.auth-link{display:block;padding:0;border:0;background:none;color:#293b68;font-size:10px;font-weight:600;cursor:pointer;}
.auth-link:hover{color:#f47721;text-decoration:underline;}
.auth-forgot{margin:0 auto 16px;}
.auth-invite{margin:14px auto 0;color:#8894a9;font-weight:500;}
.auth-submit{width:100%;height:49px;display:flex;align-items:center;justify-content:center;gap:11px;border:0;border-radius:8px;background:#1c2c60;color:#fff;font-size:12px;font-weight:700;box-shadow:0 7px 16px #1c2c6021;transition:background .15s,transform .15s;}
.auth-submit:hover{background:#f47721;transform:translateY(-1px);}
.auth-submit span{color:#ff9a58;font-size:16px;line-height:1;}
.auth-feedback:empty{display:none;}
.auth-core-card .auth-feedback{display:block;margin:12px 0 0;color:#b4483f;font-size:11px;line-height:1.45;}
.auth-footer{display:flex;justify-content:space-between;gap:10px;margin-top:28px;color:#8895aa;font-size:8px;letter-spacing:.35px;text-align:left;}
.auth-footer span:last-child{text-align:right;}
.auth-footer i{padding:0 4px;color:#f47721;font-style:normal;}
@media(max-width:520px){.auth-core{padding:20px 14px;background-image:repeating-radial-gradient(circle at 50% 52%,transparent 0 48px,#ffffff0b 49px 50px,transparent 51px 88px),radial-gradient(ellipse at 50% 48%,#26386f 0,#1d2d62 72%);}.auth-core-card{padding:29px 24px 21px;border-radius:17px;}.auth-core-card .authlogo{width:245px;max-height:90px;}.auth-core-card h1{font-size:26px;}.auth-footer{margin-top:23px;}}
.auth-core-card .authlogo{width:min(290px,100%);max-height:82px;margin:8px auto 12px;}
@media(max-width:520px){.auth-core-card .authlogo{width:250px;max-height:74px;}}

/* Brand-forward app header; the current page remains in the content heading. */
.topbar-brand{display:flex;align-items:center;gap:11px;margin-right:auto;}
.topbar-brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#fff2e7;color:#f47721;font:800 15px Manrope,sans-serif;letter-spacing:-1px;}
.topbar-brand>div{display:grid;gap:3px;}
.topbar-brand small{color:#8591a5;font-size:8px;font-weight:700;letter-spacing:1.5px;}
.topbar-brand b{color:#162647;font:800 17px/1 Manrope,sans-serif;letter-spacing:.15px;}
.topbar-brand b i{color:#f47721;font-style:normal;}
.nav-menu{display:none;}
@media(max-width:740px){.nav-menu{display:block;margin-right:12px;}.nav-menu-trigger{width:38px;min-width:38px;height:38px;min-height:38px;padding:0;justify-content:center;border-color:var(--line);background:#fff;box-shadow:none;border-radius:10px;}.nav-menu-trigger:hover{transform:none;box-shadow:0 3px 10px #172b4d14;}.nav-menu-icon{width:30px;height:30px;background:transparent;color:#243657;box-shadow:none;font-size:17px;}.topbar-brand{gap:8px;}.topbar-brand-mark{width:32px;height:32px;border-radius:9px;font-size:13px;}.topbar-brand small{font-size:7px;}.topbar-brand b{font-size:13px;}.dark .nav-menu-trigger{background:#172132;border-color:#344158}.dark .nav-menu-icon{color:#dce3ee;}}

/* Profile photos replace decorative avatar badges. */
.profile-badge img{width:100%;height:100%;border-radius:inherit;object-fit:cover}
.profile-avatar{overflow:hidden}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-photo-field{grid-column:1/-1;display:grid;gap:8px}
.profile-photo-field>label:first-child{font-size:11px;color:var(--muted)}
.profile-photo-controls{display:flex;align-items:center;gap:10px}
.profile-photo-preview{width:48px;height:48px;overflow:hidden;display:grid;place-items:center;border-radius:14px;background:var(--orange-pale);color:#ce5e11;font-weight:700}
.profile-photo-preview img{width:100%;height:100%;object-fit:cover}
#profile-photo{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;clip-path:inset(50%)}
.profile-photo-field small{font-size:11px;color:var(--muted)}
.logout-button{min-height:36px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:#66748b;font-size:11px;font-weight:600}
.logout-button:hover{border-color:#f2bd97;color:var(--orange-dark)}
.logout-button:disabled{opacity:.55;cursor:wait}
.dark .logout-button{background:#172132;border-color:#344158;color:#dce3ee}
@media(max-width:740px){.logout-button{width:36px;min-width:36px;height:36px;padding:0;justify-content:center}.logout-button span{display:none}}
.topbar-brand-mark{overflow:hidden;background:#fff}
.topbar-brand-mark img{display:block;width:100%;height:100%;object-fit:cover}
.topbar-brand-mark{width:52px;flex:none}
.topbar-brand-mark img{object-fit:contain}
@media(max-width:740px){.topbar-brand-mark{width:42px}}

.profile-menu-wrap{position:relative;z-index:5}
.profile-menu{position:absolute;top:calc(100% + 9px);right:0;width:184px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px #172b4d1c;}
.profile-menu-item{width:100%;min-height:40px;display:flex;align-items:center;gap:10px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:#35415a;text-align:left;font:600 12px 'DM Sans',sans-serif;cursor:pointer}
.profile-menu-item .icon-svg{color:#8793a6}
.profile-menu-item:hover{background:#fff4eb;color:#b95512}
.profile-menu-item:hover .icon-svg{color:#c95a10}
.profile-menu-divider{height:1px;margin:5px 4px;background:var(--line)}
.profile-menu-item.logout-item{color:#b94b45}
.profile-menu-item.logout-item .icon-svg{color:#c85a52}
.profile-menu-item.logout-item:hover{background:#fff0ef;color:#a83e39}
.dark .profile-menu-item{color:#e1e8f2}
.dark .profile-menu-item .icon-svg{color:#aab6c9}
.dark .profile-menu-item:hover{background:#392b21;color:#ffb178}
.dark .profile-menu-item.logout-item{color:#ff9b85}
.dark .profile-menu-item.logout-item:hover{background:#402829;color:#ffb0a0}

/* Give the platform identity stronger presence in the app header. */
.topbar-brand{gap:13px}
.topbar-brand-mark{width:64px;height:48px;border-radius:12px}
.topbar-brand small{font-size:10px;letter-spacing:1.7px}
.topbar-brand b{font-size:21px;letter-spacing:.2px}
@media(max-width:740px){.topbar-brand{gap:9px}.topbar-brand-mark{width:48px;height:40px;border-radius:10px}.topbar-brand small{font-size:8px;letter-spacing:1.2px}.topbar-brand b{font-size:15px}}
