@charset "UTF-8";
:root{--navy:#102c36;--navy-deep:#0c222b;--green:#118b67;--green-dark:#0b7355;--green-light:#e9f6ef;--bg:#f4f7f8;--surface:#fff;--text:#1d343e;--muted:#788a94;--line:#e6ecef;--blue:#427fa7;--warning:#b77d25;--red:#c45454;--radius:14px;--shadow:0 6px 24px #17313c05}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,"Segoe UI","Microsoft YaHei","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible{outline:3px solid #39b38b55;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-.7px;font-weight:700;line-height:1.4}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:15px}small{font-size:12px}svg{display:block;flex-shrink:0}.muted{color:var(--muted)}.mono{font-family:Consolas,monospace}.nowrap{white-space:nowrap}.right{text-align:right}.prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.text-danger{color:var(--red)}.spacer{flex:1}
.boot{min-height:100vh;display:flex;gap:20px;align-items:center;justify-content:center;flex-direction:column;color:var(--muted)}.brand-mark{width:43px;height:43px;border-radius:12px;background:#1daf80;color:white;font-size:27px;font-weight:800;display:flex;align-items:center;justify-content:center;letter-spacing:-3px}.brand-mark span{color:#b8ead1;font-size:32px;position:relative;top:2px}
.app-shell{display:flex;min-height:100vh}.sidebar{width:238px;min-width:238px;background:var(--navy);color:#b2c5ce;position:fixed;left:0;top:0;bottom:0;z-index:30;display:flex;flex-direction:column;padding:30px 18px 22px;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;color:white;padding:0 9px;text-decoration:none!important}.brand strong{font-size:20px;letter-spacing:1px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;opacity:.5;margin-top:2px}.workspace-tag{display:flex;align-items:center;gap:8px;margin:29px 12px 23px;color:#90a9b6;font-size:11px;letter-spacing:1px}.status-dot{width:6px;height:6px;border-radius:100%;background:currentColor;display:inline-block;flex-shrink:0}.workspace-tag .status-dot{color:#45c792}.nav-section{font-size:10px;letter-spacing:1.3px;color:#65808e;margin:22px 13px 9px}.nav-item{display:flex;align-items:center;gap:12px;color:#a8c0cc;border-radius:9px;margin-bottom:5px;padding:10px 13px;font-size:13px;min-height:42px}.nav-item:hover{background:#ffffff07;text-decoration:none;color:white}.nav-item.active{background:#1b4a46;color:#b4f3d6}.nav-item.active::after{content:"";width:5px;height:5px;background:#49cf9b;border-radius:100%;margin-left:auto}.nav-item svg{width:18px;height:18px;opacity:.8}.sidebar-bottom{padding:27px 13px 0;margin-top:auto}.official-tag{font-size:11px;color:#a8d7c9;display:flex;align-items:center;gap:7px}.official-tag::before{content:"✓";font-size:9px;border:1px solid #5b9988;border-radius:3px;width:12px;height:12px;line-height:12px;text-align:center}.sidebar-bottom p{color:#587482;font-size:11px;line-height:1.8;margin:9px 0 17px}.sidebar-bottom a{font-size:11px;color:#87a5b3;display:flex;justify-content:space-between}.main-shell{margin-left:238px;flex:1;min-width:0;min-height:100vh;display:flex;flex-direction:column}.topbar{height:82px;background:#ffffffc9;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:18px;position:sticky;top:0;z-index:20}.breadcrumb{font-size:12px;color:#a0aeb6;white-space:nowrap}.breadcrumb span{margin:0 12px;color:#c4cfd4}.breadcrumb strong{font-weight:500;color:#405863}.topbar-actions{display:flex;align-items:center;gap:23px}.mode-badge{display:inline-flex;align-items:center;gap:8px;background:#fff9ed;border:1px solid #f0e2c4;color:#9d792f;border-radius:100px;padding:5px 12px;font-size:11px;white-space:nowrap}.mode-badge.live{background:var(--green-light);border-color:#c9e5d6;color:var(--green)}.user-chip{display:flex;gap:10px;align-items:center}.avatar{width:33px;height:33px;background:#edf2f3;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:#45636f;border-radius:11px;flex-shrink:0}.user-chip strong{font-size:12px;font-weight:600}.user-chip small{display:block;font-size:10px;color:var(--muted);line-height:1.2}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#7c919c;width:32px;height:32px;border-radius:7px}.icon-button:hover{background:#eef4f3;color:var(--green)}.mobile-menu{display:none}#content{padding:33px 38px 18px;max-width:1600px;width:100%;margin:0 auto;flex:1}.app-footer{padding:20px 38px;display:flex;justify-content:space-between;color:#a1afb6;font-size:10px;gap:12px}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.page-header .eyebrow{font-size:10px;letter-spacing:2px;color:var(--green);font-weight:600;margin-bottom:7px}.page-header p{font-size:12px;color:var(--muted);margin-top:7px}.header-actions{display:flex;align-items:center;gap:10px;padding-top:10px;flex-shrink:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 15px;border:1px solid var(--line);background:white;color:#38555f;font-size:12px;font-weight:500;border-radius:8px;white-space:nowrap;line-height:1.5;text-decoration:none!important;min-height:37px}.btn:hover{background:#f8fbfa;border-color:#c3d6ce}.btn svg{width:15px;height:15px}.btn.primary{background:var(--green);border-color:var(--green);color:white;box-shadow:0 3px 7px #118b6712}.btn.primary:hover{background:var(--green-dark)}.btn.danger{color:var(--red);border-color:#ecd5d5;background:#fffafa}.btn.ghost{background:transparent;border-color:transparent;color:var(--green)}.btn.small{padding:5px 9px;min-height:29px;font-size:11px}.btn.wide{width:100%}.button-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0;overflow:hidden}.panel-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px 24px;border-bottom:1px solid var(--line)}.panel-header h2{font-size:14px}.panel-header p{font-size:11px;color:var(--muted);margin-top:3px}.panel-body{padding:24px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.search-input{width:250px!important;max-width:100%;padding-left:35px!important}.search-box{position:relative;display:block}.search-box svg{position:absolute;left:11px;top:11px;color:#9babb3;width:15px;height:15px}.toolbar select{width:auto;max-width:270px;font-size:12px}.toolbar input{font-size:12px}.count{font-size:11px;color:var(--muted)}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}thead{background:#fafcfc}th{color:#8b9da6;font-size:10px;font-weight:500;letter-spacing:.3px;padding:13px 22px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:17px 22px;border-bottom:1px solid #eef2f4;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfefd}.table-main{font-weight:600;color:#34505d;font-size:12px}.table-sub{font-size:10px;color:#8d9ea7;margin-top:3px}.badge{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:3px 8px;line-height:1.5;background:#eff3f5;color:#768b97;border-radius:5px;white-space:nowrap}.badge.green{background:#eaf7f0;color:#26855f}.badge.orange{background:#fff6e5;color:#aa7e2f}.badge.red{background:#fff0ef;color:#bc6260}.badge.blue{background:#edf4fb;color:#4f81ad}.tags{display:flex;gap:4px;flex-wrap:wrap}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:245px;padding:36px 22px;color:var(--muted)}.empty-icon{width:54px;height:54px;border:1px solid #e6efeb;background:#f5faf7;color:#6d9c87;border-radius:15px;display:flex;align-items:center;justify-content:center;margin-bottom:17px}.empty-icon svg{width:24px;height:24px}.empty h3{color:#57717c;font-size:13px;font-weight:600}.empty p{font-size:11px;max-width:380px;margin:6px 0 16px}.loading{padding:70px 20px;text-align:center;color:var(--muted);font-size:12px}.spinner{width:20px;height:20px;border:2px solid #e3eeea;border-top-color:var(--green);border-radius:100%;animation:spin .7s linear infinite;display:inline-block;margin:0 12px -5px 0}@keyframes spin{to{transform:rotate(360deg)}}.notice{display:flex;gap:11px;align-items:flex-start;background:#f2f8f5;border:1px solid #deece4;padding:12px 15px;border-radius:8px;color:#627f70;font-size:11px;line-height:1.8;margin-bottom:20px}.notice svg{width:16px;height:16px;margin-top:2px}.notice.warning{background:#fffaf0;border-color:#f1e5cc;color:#9e823f}.notice.error{background:#fff3f2;border-color:#edd4d2;color:#b05955}.notice strong{font-weight:600}.notice p+p{margin-top:5px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.stat-card{padding:21px 23px;position:relative}.stat-label{font-size:11px;color:#81949f}.stat-value{font-size:31px;line-height:1.3;font-weight:600;letter-spacing:-.8px;margin:13px 0 7px;font-variant-numeric:tabular-nums}.stat-note{font-size:10px;color:#9aaaaf}.stat-icon{position:absolute;right:21px;top:21px;width:34px;height:34px;background:#eef6f2;color:#58967c;display:flex;align-items:center;justify-content:center;border-radius:10px}.stat-icon svg{width:17px;height:17px}.dashboard-columns{display:grid;grid-template-columns:1.75fr 1fr;gap:24px;margin-bottom:24px}.welcome-card{background:var(--navy);color:#fff;padding:28px 30px;border:0;position:relative;overflow:hidden}.welcome-card h2{font-size:20px;margin:8px 0 10px;position:relative;z-index:1}.welcome-card p{font-size:12px;color:#99b9c0;max-width:410px;position:relative;z-index:1}.welcome-card .eyebrow{color:#67c5a2;font-size:9px;letter-spacing:2px}.welcome-card .button-row{margin-top:26px;position:relative;z-index:1}.welcome-decoration{position:absolute;right:-24px;bottom:-60px;width:230px;height:230px;border:36px solid #1d4144;border-radius:50%;opacity:.45}.welcome-decoration:after{content:"";position:absolute;width:90px;height:90px;border:1px solid #5c988c;border-radius:50%;left:34px;top:34px}.checklist{padding:6px 24px 11px}.check-step{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid #eef2f4}.check-step:last-child{border-bottom:0}.check-number{width:23px;height:23px;border-radius:7px;background:#f0f5f3;color:#72a18c;display:flex;align-items:center;justify-content:center;font-size:10px;flex-shrink:0}.check-step h3{font-size:11px;font-weight:600;margin-bottom:2px}.check-step p{font-size:10px;color:#91a1a9}.check-step a{font-size:10px;margin-left:auto;white-space:nowrap}.progress-track{height:5px;background:#edf3f0;border-radius:10px;overflow:hidden;min-width:90px}.progress-track span{display:block;height:100%;background:#66b695;border-radius:10px}.status-summary{padding:18px 24px;background:#fbfdfc;display:flex;gap:14px;flex-wrap:wrap;font-size:10px;color:#80958c}.status-summary span{display:flex;gap:6px;align-items:center}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:24px}.stack{display:flex;flex-direction:column;gap:22px}
input,select,textarea{width:100%;border:1px solid #dfe8e9;background:white;padding:9px 11px;border-radius:7px;color:#304e5b;outline:none;min-height:37px;font-size:12px;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#8cc9ad;box-shadow:0 0 0 3px #14895f0b}input::placeholder,textarea::placeholder{color:#b1bfc5}input[type=checkbox],input[type=radio]{width:15px;height:15px;min-height:15px;accent-color:var(--green);margin:0;flex-shrink:0}textarea{resize:vertical;min-height:90px;line-height:1.8}.field{display:block;margin-bottom:18px}.field-label{display:block;font-size:11px;font-weight:600;color:#607b87;margin-bottom:7px}.field-hint{display:block;color:#97a7ad;font-size:10px;font-weight:400;margin-top:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .full{grid-column:1/-1}.checkbox-label{display:flex;gap:9px;align-items:flex-start;font-size:11px;color:#607b87;cursor:pointer}.checkbox-label input{margin-top:3px}.checkbox-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px;background:#f8fbfa;border:1px solid #e5eee9;border-radius:8px;margin-top:5px}.form-section-title{border-bottom:1px solid var(--line);padding-bottom:10px;margin:0 0 18px;font-size:12px}.help-text{font-size:11px;color:#8a9da6;line-height:1.8}.form-error{color:#b65d57;font-size:12px;background:#fff4f2;border-radius:7px;padding:10px 12px;margin-bottom:14px}.section-gap{margin-top:24px}.divider{height:1px;background:var(--line);margin:23px 0}details{border:1px solid var(--line);border-radius:8px;margin-bottom:18px}summary{cursor:pointer;padding:11px 14px;font-size:11px;color:#7d939d}details>div{padding:0 14px 14px}.json-input{font-family:Consolas,monospace;min-height:130px}.mode-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.mode-option{border:1px solid var(--line);border-radius:10px;padding:16px;cursor:pointer;font-size:11px;color:#84979f}.mode-option:has(input:checked){border-color:#8bbfa7;background:#f5fbf7}.mode-option strong{color:#3d5f54;display:flex;align-items:center;gap:8px;margin-bottom:5px}.inline-code{background:#f3f7f6;border:1px solid #e3eae7;padding:2px 5px;border-radius:4px;font-family:Consolas,monospace;font-size:11px;overflow-wrap:anywhere}.copy-row{display:flex;gap:8px;align-items:center}.copy-row input{font-family:Consolas,monospace;font-size:11px}.secret-state{font-size:10px;color:#91a59c;margin-top:5px}.selected-count{font-size:11px;background:var(--green-light);color:var(--green);padding:4px 9px;border-radius:6px}
.dialog-overlay{position:fixed;inset:0;background:#09232c70;backdrop-filter:blur(4px);z-index:100;display:flex;align-items:center;justify-content:center;padding:24px}.dialog{width:580px;max-width:100%;max-height:calc(100vh - 48px);background:white;border-radius:16px;box-shadow:0 24px 80px #051c3940;display:flex;flex-direction:column;overflow:hidden}.dialog.wide{width:820px}.dialog-header{padding:23px 26px 18px;display:flex;justify-content:space-between;align-items:flex-start;gap:15px;border-bottom:1px solid var(--line)}.dialog-header h2{font-size:18px}.dialog-header p{font-size:11px;color:var(--muted);margin-top:5px}.dialog-body{padding:25px 26px;overflow:auto}.dialog-footer{border-top:1px solid var(--line);padding:16px 26px;display:flex;justify-content:flex-end;gap:10px;background:#fbfdfc}.dialog-body .field:last-child{margin-bottom:0}.toast-stack{position:fixed;right:28px;bottom:25px;z-index:200;display:flex;flex-direction:column;gap:10px;max-width:380px}.toast{background:#173d36;color:#d7efe5;border:1px solid #356556;border-radius:10px;padding:13px 18px;box-shadow:0 8px 28px #15352920;font-size:12px;animation:toast-in .2s ease}.toast.error{background:#633935;border-color:#8e514a;color:#ffdfd9}@keyframes toast-in{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:var(--navy);color:#fff;padding:50px 12%;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-story .brand{padding:0;margin-bottom:100px}.auth-story h1{font-size:43px;line-height:1.4;letter-spacing:-1px}.auth-story h1 em{font-style:normal;color:#77cbaa}.auth-story>p{color:#88a9b6;font-size:14px;line-height:2;margin-top:25px;max-width:360px}.auth-story .auth-note{color:#517482;font-size:11px;letter-spacing:.5px;margin-top:85px}.auth-story:after{content:"";position:absolute;width:430px;height:430px;border:65px solid #ffffff03;border-radius:100%;right:-200px;bottom:-170px}.auth-form-wrap{display:flex;align-items:center;justify-content:center;padding:50px}.auth-card{width:350px;max-width:100%}.auth-card h2{font-size:25px;margin-bottom:10px}.auth-card>p{color:#8a9da6;font-size:12px;margin-bottom:32px}.auth-card .field{margin-bottom:21px}.auth-card input{padding:12px}.auth-card .btn{padding:12px;margin-top:3px}.auth-note{font-size:10px;color:#a1afb4;text-align:center;margin-top:22px}.auth-error{margin-bottom:16px}
.inbox-layout{display:grid;grid-template-columns:290px 1fr;height:calc(100vh - 240px);min-height:500px;max-height:850px}.conversation-pane{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.conversation-toolbar{padding:17px;border-bottom:1px solid var(--line)}.conversation-toolbar input{width:100%!important}.conversation-toolbar select{margin-top:10px}.conversation-list{overflow:auto;flex:1}.conversation-row{width:100%;display:flex;text-align:left;gap:12px;padding:18px 17px;border:0;border-bottom:1px solid #edf2f1;background:white;color:var(--text)}.conversation-row:hover{background:#f7fbf9}.conversation-row.active{background:#eff8f3;box-shadow:inset 3px 0 var(--green)}.conversation-row .avatar{width:36px;height:36px;background:#e7f1eb;color:#699b7f}.conversation-summary{min-width:0;flex:1}.conversation-title{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px}.conversation-title time{font-size:9px;color:#a0b0b7;font-weight:400}.conversation-preview{font-size:10px;color:#91a0a7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}.conversation-account{font-size:9px;color:#9aaba4;margin-top:4px}.chat-pane{display:flex;flex-direction:column;min-height:0;min-width:0}.chat-header{padding:18px 23px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.chat-header h3{font-size:13px}.chat-header p{font-size:10px;color:#91a3aa}.chat-messages{flex:1;overflow:auto;padding:22px;background:#f9fbfa;display:flex;flex-direction:column;gap:14px}.message{align-self:flex-start;max-width:78%;min-width:130px}.message.outgoing{align-self:flex-end}.message-bubble{background:white;border:1px solid #e4ece7;padding:10px 13px;border-radius:0 11px 11px 11px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.outgoing .message-bubble{background:#e8f5ed;border-color:#dcece1;border-radius:11px 0 11px 11px}.message-meta{font-size:9px;color:#a0b0aa;margin-top:4px;display:flex;gap:8px}.outgoing .message-meta{justify-content:flex-end}.message-meta .failed{color:var(--red)}.chat-compose{padding:16px 21px;border-top:1px solid var(--line);background:white}.chat-compose textarea{min-height:68px;border:0;padding:4px 0;box-shadow:none;font-size:12px}.compose-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:6px}.compose-hint{font-size:10px;color:#94a59d}.chat-mode-hint{font-size:10px;color:#a48c55;padding:8px 23px;background:#fffaf0;border-bottom:1px solid #f1e9d8}.inbox-empty{flex:1;display:flex;align-items:center;justify-content:center}.unread-badge{background:var(--green);border-radius:100px;padding:0 5px;min-width:16px;font-size:9px;color:white;text-align:center}.capability-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.capability-card{padding:22px}.capability-card h3{font-size:13px;margin:14px 0 7px}.capability-card p{font-size:11px;color:#8b9fa6;line-height:1.9}.capability-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.capability-heading svg{color:#628f7b;width:21px;height:21px}.migration-table td:last-child{min-width:300px;color:#7a919b;font-size:11px}.preview-metrics{display:flex;gap:15px;margin:16px 0 22px}.preview-metric{flex:1;padding:13px 16px;border:1px solid var(--line);border-radius:8px}.preview-metric strong{font-size:23px;display:block}.preview-metric span{color:var(--muted);font-size:10px}.preview-message{background:#eff8f3;border:1px solid #deeee5;padding:17px;border-radius:9px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.contact-picker{max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:8px}.contact-option{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #edf2ef;font-size:11px}.contact-option:last-child{border:0}.contact-option .muted{font-size:10px;margin-left:auto}.job-detail-summary{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:16px}.steps{display:flex;align-items:center;gap:12px;margin-bottom:22px;font-size:11px;color:#8aa297}.step{display:flex;align-items:center;gap:6px}.step-num{border:1px solid #d9e8df;background:#f2f8f4;border-radius:100%;width:19px;height:19px;text-align:center;font-size:10px}.steps .line{flex:1;height:1px;background:#e5eee8}.overflow{overflow-wrap:anywhere}.field-row{display:flex;gap:8px;align-items:center}.field-row>*:first-child{flex:1}.chart-empty{height:175px;padding:20px;display:flex;gap:15px;align-items:flex-end;position:relative;background:repeating-linear-gradient(to top,#fff 0,#fff 42px,#eff4f1 43px,#fff 44px)}
.group-message-list{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:9px;background:#f9fcfa}.group-message{padding:14px 16px;border-bottom:1px solid var(--line);font-size:12px}.group-message:last-child{border-bottom:0}.message-media-link{display:inline-flex;margin-top:7px;font-size:10px;gap:6px;align-items:center}.message-reaction-button{border:0;background:transparent;padding:0 4px;line-height:1.2;font-size:10px;color:#7e9d8d}.message-reaction-button:hover{color:var(--green)}.chat-header>.button-row{justify-content:flex-end}#attachment-preview svg{display:inline;width:13px;height:13px;vertical-align:middle}
@media(min-width:1700px){#content{padding-top:44px}.topbar{padding-right:55px;padding-left:55px}.stats-grid{gap:24px}.stat-card{padding:25px}}
@media(max-width:1200px){.sidebar{width:210px;min-width:210px;padding-left:13px;padding-right:13px}.main-shell{margin-left:210px}.topbar{padding:0 25px}#content{padding:27px 25px 15px}.app-footer{padding:20px 25px}.stats-grid{gap:12px}.stat-card{padding:18px}.stat-icon{right:16px;top:17px}.dashboard-columns{grid-template-columns:1.45fr 1fr;gap:18px}.panel-header{padding:18px 20px}td,th{padding-left:18px;padding-right:18px}.inbox-layout{grid-template-columns:260px 1fr}.capability-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:960px){.topbar-actions{gap:14px}.stats-grid{grid-template-columns:1fr 1fr}.dashboard-columns,.two-column{grid-template-columns:1fr}.page-header{align-items:flex-start}.header-actions{flex-wrap:wrap;justify-content:flex-end}.inbox-layout{grid-template-columns:230px 1fr}.user-chip>div{display:none}.auth-story{padding:45px 10%}.auth-story h1{font-size:35px}.auth-form-wrap{padding:35px}.breadcrumb{font-size:11px}.topbar{height:70px}.inbox-layout{height:calc(100vh - 226px)}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:230px}.sidebar.open{transform:translateX(0)}.sidebar-scrim{position:fixed;inset:0;background:#0a263966;z-index:25}.main-shell{margin-left:0}.mobile-menu{display:flex}.topbar{height:64px;padding:0 16px;gap:10px}.breadcrumb{margin-right:auto}.topbar-actions{gap:9px}.user-chip{display:none}.mode-badge{font-size:9px;padding:5px 9px}#content{padding:22px 16px 10px}h1{font-size:24px}.page-header{gap:12px;flex-wrap:wrap;margin-bottom:20px}.page-header p{font-size:11px}.header-actions{padding-top:0}.btn{font-size:11px;padding:8px 11px}.stats-grid{gap:10px;margin-bottom:18px}.stat-value{font-size:28px}.stat-label{font-size:10px}.stat-icon{width:28px;height:28px;right:12px}.stat-card{padding:17px 14px}.stat-note{font-size:9px}.app-footer{padding:20px 16px;font-size:9px}.app-footer span:first-child{max-width:240px}.welcome-card{padding:24px}.panel-body{padding:19px}.toolbar{padding:13px 16px}.toolbar-left{width:100%}.search-box{flex:1}.search-input{width:100%!important}.toolbar select{max-width:100%;flex:1}.dialog-overlay{padding:12px}.dialog{max-height:calc(100vh - 24px);border-radius:12px}.dialog-header,.dialog-body,.dialog-footer{padding:19px}.form-grid{grid-template-columns:1fr}.checkbox-list{grid-template-columns:1fr}.inbox-layout{grid-template-columns:1fr;min-height:650px;height:calc(100vh - 210px)}.conversation-pane{max-height:230px;border-right:0;border-bottom:1px solid var(--line)}.conversation-toolbar{padding:12px;display:flex;gap:8px}.conversation-toolbar .search-box{min-width:120px}.conversation-toolbar select{margin-top:0;max-width:160px}.conversation-list{display:flex;overflow:auto}.conversation-row{min-width:220px;max-width:260px;padding:13px}.conversation-row .avatar{display:none}.chat-header{padding:12px 17px}.chat-messages{min-height:150px;padding:17px}.message{max-width:88%}.chat-compose{padding:12px 17px}.compose-hint{max-width:180px;font-size:9px}.capability-grid{grid-template-columns:1fr}.auth-shell{grid-template-columns:1fr}.auth-story{padding:29px 28px;min-height:260px}.auth-story .brand{margin-bottom:35px}.auth-story h1{font-size:29px}.auth-story h1 br{display:none}.auth-story>p{margin-top:12px;font-size:11px;max-width:100%}.auth-story .auth-note{display:none}.auth-form-wrap{padding:36px 25px}.auth-card h2{font-size:23px}.mode-options{grid-template-columns:1fr}.toast-stack{right:16px;bottom:16px;left:16px;max-width:none}.preview-metrics{gap:8px}.preview-metric{padding:11px}.preview-metric strong{font-size:19px}.steps{gap:7px;font-size:10px}}

/* The two portals share components while retaining clear visual identities. */
body.portal-admin{--navy:#182e50;--navy-deep:#10233f;--green:#3773b5;--green-dark:#295f9d;--green-light:#edf4fc;--blue:#3773b5}
body.portal-admin .brand-mark{background:#437fbe}body.portal-admin .brand-mark span{color:#c1e0fd}body.portal-admin .nav-item.active{background:#24476e;color:#cde7ff}body.portal-admin .nav-item.active::after{background:#71b5ec}body.portal-admin .workspace-tag .status-dot{color:#80c2ed}body.portal-admin .welcome-decoration{border-color:#3a5b7b}body.portal-admin .auth-story h1 em{color:#94c3f0}body.portal-admin .workspace-tag{color:#a5bbd3}
body.portal-desk{--navy:#302d4b;--navy-deep:#22223a;--green:#398776;--green-dark:#2b7162;--green-light:#eef7f3}body.portal-desk .brand-mark{background:#7370ac}body.portal-desk .brand-mark span{color:#dbd4f1}body.portal-desk .nav-item.active{background:#49456a;color:#e3dff6}body.portal-desk .nav-item.active::after{background:#b1a4eb}body.portal-desk .workspace-tag .status-dot{color:#b9a9ed}body.portal-desk .workspace-tag{color:#b1a9c8}body.portal-desk .sidebar .nav-section{color:#89829d}body.portal-desk .sidebar .nav-item{color:#b8b0cf}body.portal-desk .sidebar .nav-item.active{color:#e3dff6}body.portal-desk .welcome-decoration{border-color:#585371}body.portal-desk .auth-story h1 em{color:#b8afe8}body.portal-desk .sidebar-bottom p{color:#8a839d}
.portal-switch{display:flex!important;border:1px solid #ffffff23;padding:10px 12px;margin:0 -3px 22px;border-radius:8px;color:#d4e1eb!important;background:#ffffff05;font-size:11px!important}.portal-switch:hover{background:#ffffff0e;text-decoration:none}.auth-portal-switch{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-top:22px;padding-top:21px;border-top:1px solid var(--line)}.auth-portal-label{font-size:10px;color:var(--green);letter-spacing:1.6px;margin-bottom:12px;font-weight:600}.assignment-summary{display:flex;gap:7px;flex-wrap:wrap}.portal-page-description{max-width:560px}.focus-form-note{border-left:3px solid #87b0d6;padding-left:12px;font-size:11px;color:#7c919f;margin-bottom:20px}
.sidebar .brand strong{font-size:17px;white-space:nowrap;letter-spacing:.3px}.sidebar .brand-mark{flex-shrink:0}.sidebar .brand small{font-size:7px;letter-spacing:1px}
.portal-landing{background:#f5f7fb;min-height:100vh;display:flex;flex-direction:column;color:#263b56}.portal-landing-header{max-width:1240px;width:100%;padding:38px 44px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:20px}.portal-home-brand{display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700;color:#243a53;text-decoration:none!important}.portal-home-brand .brand-mark{background:#376b9f}.portal-home-brand small{display:block;font-size:8px;letter-spacing:1.5px;color:#97a5b7;font-weight:400;margin-top:3px}.portal-official{display:flex;align-items:center;gap:7px;font-size:11px;color:#8395a9}.portal-official .status-dot{color:#5d9c87}.portal-landing-main{max-width:1120px;width:100%;margin:0 auto;padding:38px 44px 30px;flex:1}.portal-intro{text-align:center;margin-bottom:40px}.portal-eyebrow{color:#8498b1;font-size:10px;font-weight:500;letter-spacing:2.4px}.portal-intro h1{font-size:43px;line-height:1.45;color:#273d5a;margin:17px 0 16px;letter-spacing:-.9px}.portal-intro h1 br{display:none}.portal-intro p{font-size:13px;line-height:1.9;color:#8d9caf}.portal-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.portal-entry{display:block;background:#fff;border:1px solid #e3e9f0;border-radius:18px;padding:30px 32px 0;box-shadow:0 8px 28px #12315303;color:#354b67;text-decoration:none!important;transition:transform .15s,box-shadow .15s,border-color .15s;overflow:hidden}.portal-entry:hover{transform:translateY(-3px);border-color:#b6cce5;box-shadow:0 14px 35px #1231530a}.portal-entry-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.portal-entry-icon{width:49px;height:49px;border-radius:14px;background:#edf4fc;color:#5685b6;display:flex;justify-content:center;align-items:center}.portal-entry-icon svg{width:23px;height:23px}.portal-entry-role{font-size:10px;color:#849fbb;background:#f3f7fb;padding:4px 9px;border-radius:5px}.portal-entry-kicker{font-size:9px;letter-spacing:1.7px;color:#8ba0b6}.portal-entry h2{font-size:25px;margin:6px 0 12px;letter-spacing:-.5px}.portal-entry p{font-size:12px;color:#91a0b1;line-height:1.9}.portal-feature-tags{display:flex;gap:7px;flex-wrap:wrap;margin:23px 0 27px}.portal-feature-tags>span{font-size:10px;color:#8ca0b7;background:#f6f8fb;border:1px solid #edf1f6;border-radius:5px;padding:3px 8px}.portal-entry-action{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf1f6;margin:0 -32px;padding:18px 32px;color:#5482b5;font-size:12px;font-weight:600}.portal-entry-action>span{font-size:19px}.desk-entry .portal-entry-icon{background:#f1eef8;color:#9383b4}.desk-entry .portal-entry-role{background:#f5f2fa;color:#9b8bb8}.desk-entry .portal-entry-kicker{color:#a59bbc}.desk-entry .portal-entry-action{color:#8c79ae}.desk-entry:hover{border-color:#c9bcdc}.portal-login-note{display:flex;justify-content:space-between;gap:15px;padding:23px 3px 0;font-size:10px;color:#a2afbd}.portal-landing-footer{display:flex;justify-content:space-between;max-width:1240px;width:100%;margin:0 auto;padding:30px 44px;color:#aab6c3;font-size:10px}
@media(max-width:760px){.sidebar .brand strong{font-size:18px}.portal-landing-header{padding:24px}.portal-home-brand{font-size:18px}.portal-official{font-size:9px}.portal-landing-main{padding:25px 24px}.portal-intro{margin-bottom:29px}.portal-intro h1{font-size:31px}.portal-intro h1 br{display:block}.portal-intro p{font-size:11px}.portal-entry-grid{grid-template-columns:1fr;gap:18px}.portal-entry{padding:23px 25px 0}.portal-entry-top{margin-bottom:17px}.portal-entry h2{font-size:23px}.portal-entry-action{margin:0 -25px;padding:15px 25px}.portal-login-note{display:block;line-height:1.9}.portal-login-note>span{display:block}.portal-landing-footer{padding:20px 24px;gap:15px}.portal-landing-footer>span{max-width:170px;text-align:right}.auth-portal-switch{font-size:10px}.portal-eyebrow{font-size:8px;letter-spacing:1.8px}}
