:root{font-family:DM Sans,system-ui,sans-serif;color:var(--theme-text, #20334b);background:var(--theme-canvas, #f7f9fb);font-synthesis:none;font-weight:400;line-height:1.6;font-size:14px;--navy: var(--theme-info-ink, #152e49);--teal: var(--theme-info-ink, #167c78);--muted: var(--theme-muted, #697b8e);--border: var(--theme-line, #e2e8ee)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select,input{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.65}a{color:var(--teal)}button{border:1px solid var(--border);background:var(--theme-surface, white);color:var(--navy);padding:9px 14px;border-radius:7px}button:hover{background:var(--theme-surface-alt, #f1f6f7)}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid var(--theme-focus, #248d89)}h1,h2,h3,.brand{font-family:Manrope,system-ui,sans-serif}h1{font-size:36px;font-weight:700;letter-spacing:-1.3px;line-height:1.25;margin:9px 0 12px}h2{font-size:21px;letter-spacing:-.6px;color:var(--navy)}p{margin:0 0 15px}.shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--theme-surface, #fff);border-right:1px solid var(--border);display:flex;flex-direction:column;padding:29px 19px 22px;overflow-y:auto}.brand{display:flex;gap:11px;align-items:center;padding:0 12px}.brand-mark{display:block;background:transparent;flex-shrink:0;object-fit:contain;width:36px;height:36px}.brand strong{font-size:21px;letter-spacing:-.6px}.brand small{display:block;font:9px DM Sans,sans-serif;letter-spacing:2px;color:var(--muted);margin-top:-3px}.collapse-button{margin:26px 6px 19px;display:flex;gap:12px;align-items:center;border:0;background:transparent;color:var(--theme-muted, #6e7e90);font-size:12px;padding:5px 9px}.workspace{border:1px solid var(--border);background:var(--theme-canvas, #f9fbfc);border-radius:8px;padding:12px 13px;margin:0 5px 28px}.workspace small,.workspace label{display:block;letter-spacing:1.3px;font-size:9px;color:var(--muted);margin-bottom:4px}.workspace strong{font-size:12px;font-weight:600}.workspace select{width:100%;border:none;background:transparent;color:var(--navy);font-size:12px;padding:5px 0}.nav-label{font-size:9px;letter-spacing:1.5px;color:var(--theme-muted, #8490a0);margin:0 14px 12px}.nav-item{display:flex;align-items:center;gap:13px;padding:11px 14px;margin-bottom:6px;border-radius:7px;color:var(--theme-muted, #5c6c7e);text-decoration:none;font-size:13px;font-weight:500}.nav-item:hover{background:var(--theme-canvas, #f5f8fa)}.nav-item.active{background:var(--theme-success-soft, #eaf5f2);color:var(--theme-info-ink, #14756e);font-weight:700}.nav-icon{font-size:19px;width:23px;text-align:center;line-height:1}.sidebar-footer{font-size:10px;color:var(--theme-muted, #7f8c9b);margin-top:auto;padding:25px 10px 0;white-space:nowrap}.status-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--theme-success-solid, #509c8e);margin-right:7px}.main-column{container-type:inline-size;container-name:workspace;display:flex;flex-direction:column;min-width:0}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);background:var(--theme-surface, #fff);padding:0 44px;font-size:12px;color:var(--muted);gap:16px}.account{display:flex;align-items:center;gap:12px;font-size:12px}.account button{font-size:11px;padding:6px 10px}.preview-label{padding:4px 10px;border:1px solid var(--border);border-radius:99px;font-size:10px;color:var(--theme-muted, #677a8d)}main{padding:43px 48px;width:100%;margin:0;min-width:0;flex:1}.eyebrow{color:var(--teal);font-size:10px;font-weight:700;letter-spacing:1.8px;margin:0}.page-heading>p:last-child{font-size:13px;color:var(--muted);margin-bottom:31px}.empty-card{border:1px solid var(--border);border-radius:12px;background:var(--theme-surface, #fff);min-height:370px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:35px}.empty-icon{width:62px;height:62px;border-radius:18px;background:var(--theme-success-soft, #eff7f5);color:var(--theme-muted, #408980);display:grid;place-items:center;font-size:30px;margin-bottom:22px}.pill{font-size:8px;letter-spacing:1.7px;font-weight:700;color:var(--theme-muted, #648278);border:1px solid var(--theme-line, #dcebe5);padding:4px 9px;border-radius:4px;background:var(--theme-success-soft, #f7fbf9)}.empty-card h2{margin:17px 0 10px}.empty-card p{font-size:12px;color:var(--theme-muted, #7d8b99);max-width:400px;line-height:1.9}.page-footer{display:flex;justify-content:space-between;padding:20px 48px;color:var(--theme-muted, #9aa6b3);font-size:9px;letter-spacing:1.5px}.page-footer span{letter-spacing:0;font-size:11px}.is-collapsed{grid-template-columns:78px minmax(0,1fr)}.is-collapsed .expanded{display:none}.is-collapsed .sidebar{padding-left:10px;padding-right:10px}.is-collapsed .brand{padding:0;justify-content:center}.is-collapsed .nav-item{justify-content:center;padding:14px 8px}.is-collapsed .collapse-button{justify-content:center;margin:26px 0}.today-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px}.today-card{min-height:400px}.section-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);padding:18px 23px;background:var(--theme-surface, #fff);border-radius:12px 12px 0 0}.section-title h2{font-size:14px;margin:0}.section-title span{font-size:10px;color:var(--theme-muted, #8996a4)}.action-panel{border:1px solid var(--border);border-radius:12px;background:var(--theme-surface, white);overflow:hidden}.action-panel .empty-card{border:none;border-radius:0;min-height:325px}.note-card{padding:26px 24px;background:var(--theme-success-soft, #eef5f3);border:1px solid var(--theme-line, #dfebe6);border-radius:12px;align-self:start}.note-card .eyebrow{font-size:9px}.note-card h2{font-size:21px;line-height:1.5;margin:14px 0}.note-card p{color:var(--theme-muted, #647c79);font-size:12px;line-height:1.9}.note-line{width:30px;height:2px;background:var(--theme-surface-alt, #8cb5a8);margin:23px 0}.foundation-note{font-size:11px;color:var(--theme-muted, #8693a1);margin:24px 0}.settings-card{border:1px solid var(--border);background:var(--theme-surface, white);border-radius:12px;padding:27px;width:100%;min-width:0}.settings-card h2{margin-top:0}.settings-card input{display:block;width:100%;padding:10px;border:1px solid var(--border);border-radius:6px;margin:7px 0 13px}.primary{background:var(--teal);color:var(--theme-on-strong, white);border-color:var(--teal);text-decoration:none;display:inline-block;border-radius:7px;padding:9px 14px}.primary:hover{background:var(--theme-header, #126c69)}.error{background:var(--theme-danger-soft, #fff3ef);color:var(--theme-warning-ink, #994d31);padding:12px;border-radius:6px}.settings-card p{color:var(--muted);font-size:13px}.settings-card label{font-size:12px}.settings-card form{margin-top:20px;border-top:1px solid var(--border);padding-top:20px}.skip-link{position:absolute;left:10px;top:-100px;z-index:20;background:var(--theme-surface, white);padding:12px}.skip-link:focus{top:10px}.tenant-list{list-style:none;padding:0}.tenant-list li{display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:14px 0}@media(min-width:1600px){main{padding-top:60px}}@media(max-width:1100px){.today-grid{grid-template-columns:1fr}.note-card{max-width:none}.topbar{padding:0 28px}main{padding:32px 28px}}@media(max-width:700px){.shell{grid-template-columns:78px minmax(0,1fr)}.sidebar{padding:25px 10px}.sidebar .expanded{display:none}.sidebar .brand{padding:0;justify-content:center}.nav-item{padding:14px 8px;justify-content:center}.collapse-button{display:none}.topbar{padding:0 16px;height:66px}.topbar>span{display:none}.account{flex-wrap:wrap;gap:5px}.account>span{font-size:10px}main{padding:28px 18px}h1{font-size:28px}.empty-card{padding:25px 15px}.page-footer{padding:20px 18px}.page-footer span{display:none}.section-title{padding:15px}.note-card{padding:20px}}.settings-card form{max-width:42rem}.settings-card p{max-width:80ch}.account,.topbar{min-width:0;overflow-wrap:anywhere}button[aria-busy=true]{cursor:wait}:root[data-theme=dark]{--theme-canvas: #111c26;--theme-surface: #1c2936;--theme-surface-alt: #263544;--theme-header: #14212c;--theme-text: #e5edf4;--theme-muted: #a7b7c5;--theme-line: #3a4b5d;--theme-on-strong: #fff;--theme-focus: #8bbdff;--theme-info-ink: #9ac5ff;--theme-info-soft: #233b54;--theme-info-solid: #365f8b;--theme-info-line: #557fa8;--theme-success-ink: #9ae0b8;--theme-success-soft: #1c4034;--theme-success-solid: #276449;--theme-success-line: #4f9a75;--theme-danger-ink: #ffb0b8;--theme-danger-soft: #4a2831;--theme-danger-solid: #993f50;--theme-danger-line: #b86a78;--theme-warning-ink: #ffd39a;--theme-warning-soft: #453724;--theme-warning-solid: #9a642c;--theme-warning-line: #af8654;--theme-purple-ink: #d4baff;--theme-purple-soft: #38304f;--theme-purple-solid: #66518b;--theme-purple-line: #9480ba;--navy: var(--theme-text);--teal: var(--theme-info-ink);--muted: var(--theme-muted);--border: var(--theme-line)}:root[data-theme=sepia]{--theme-canvas: #dfc89f;--theme-surface: #f0dfbd;--theme-surface-alt: #d5b98a;--theme-header: #49321f;--theme-text: #44301e;--theme-muted: #6e5033;--theme-line: #b18c59;--theme-on-strong: #f0dfbd;--theme-focus: #84602e;--theme-info-ink: #6a4824;--theme-info-soft: #e4d0aa;--theme-info-solid: #78532e;--theme-info-line: #ab8756;--theme-success-ink: #2d6544;--theme-success-soft: #e3ead2;--theme-success-solid: #406949;--theme-success-line: #8fa47d;--theme-danger-ink: #913c38;--theme-danger-soft: #f3ded0;--theme-danger-solid: #a34b42;--theme-danger-line: #c38d7a;--theme-warning-ink: #81531e;--theme-warning-soft: #e5c48c;--theme-warning-solid: #99652e;--theme-warning-line: #bb985e;--theme-purple-ink: #735078;--theme-purple-soft: #e9dedf;--theme-purple-solid: #805a7d;--theme-purple-line: #ac8da6;--navy: var(--theme-text);--teal: var(--theme-info-ink);--muted: var(--theme-muted);--border: var(--theme-line)}:root[data-theme=dark] .primary,:root[data-theme=sepia] .primary{background:var(--theme-warning-solid);border-color:var(--theme-warning-solid);color:var(--theme-on-strong)}:root[data-theme=dark] .primary:hover,:root[data-theme=sepia] .primary:hover{background:var(--theme-header);border-color:var(--theme-warning-line)}:root[data-theme=dark] :is(input,select,textarea),:root[data-theme=sepia] :is(input,select,textarea){color:var(--theme-text)}:root[data-theme=dark] ::placeholder,:root[data-theme=sepia] ::placeholder{color:var(--theme-muted);opacity:1}.theme-switcher{position:relative;display:inline-flex;flex:0 0 auto}.topbar .theme-toggle{display:grid;place-items:center;width:34px;height:34px;padding:6px;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit}.topbar .theme-toggle:hover{background:#ffffff18}.theme-options{position:absolute;right:0;top:calc(100% + 10px);z-index:1000;width:210px;max-width:calc(100vw - 24px);margin:0;padding:12px;background:var(--theme-surface, #fff);color:var(--theme-text, #203541);border:1px solid var(--theme-line, #dbe2ea);border-radius:12px;box-shadow:0 8px 28px #0003}.theme-options legend{float:left;width:100%;font-weight:700;padding:0 8px 8px}.topbar .theme-options .theme-option{width:100%;border:0;background:transparent;color:inherit;font:inherit;text-align:left;min-height:42px;clear:both;display:flex;gap:10px;align-items:center;padding:9px 8px;cursor:pointer;border-radius:7px}.topbar .theme-options .theme-option:hover,.topbar .theme-options .theme-option[aria-checked=true]{background:var(--theme-surface-alt, #edf2f7)}.theme-selection{width:16px;height:16px;flex:0 0 16px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center}.theme-option[aria-checked=true] .theme-selection:after{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}.theme-options p{margin:9px 8px 0;font-size:11px;color:var(--theme-muted, #697b8e)}@media(max-width:600px){.topbar .account{gap:7px}.topbar .theme-toggle{width:32px;height:32px}}:root[data-theme=dark] .crm-table tbody tr:nth-child(2n),:root[data-theme=sepia] .crm-table tbody tr:nth-child(2n){background:var(--theme-surface-alt)}:root[data-theme=dark] .crm-table tbody tr:hover,:root[data-theme=sepia] .crm-table tbody tr:hover{background:var(--theme-info-soft)}:root[data-theme=dark] dialog,:root[data-theme=sepia] dialog{background:var(--theme-canvas);color:var(--theme-text)}.admin-page{max-width:1500px;margin:auto;padding:24px 30px;color:var(--theme-text, #233944)}.admin-page header{display:flex;justify-content:space-between;align-items:center;gap:16px}.admin-page h1{margin:0 0 8px}.admin-page h2{font-size:19px}.admin-page p{color:var(--theme-muted, #60717c);line-height:1.5}.admin-page label{display:grid;gap:6px;font-size:13px;font-weight:600;margin:12px 0;max-width:650px}.admin-page input,.admin-page select{width:100%;padding:9px 12px;border:1px solid var(--theme-line, #ccd7e2);border-radius:6px;background:var(--theme-surface, white);font:inherit}.admin-page .admin-check{display:flex;align-items:center;gap:8px}.admin-check input{width:auto}.admin-card{background:var(--theme-surface, white);border:1px solid var(--theme-line, #e2e7ec);border-radius:10px;padding:20px;margin:20px 0}.admin-member{border-top:1px solid var(--theme-line, #e2e7ec);padding:16px 0}.admin-table-wrap{overflow:auto;margin-top:20px}.admin-page table{border-collapse:collapse;width:100%;background:var(--theme-surface, white);font-size:14px}.admin-page th,.admin-page td{text-align:left;padding:12px;border-bottom:1px solid var(--theme-line, #e2e7ec);vertical-align:top;overflow-wrap:anywhere}.admin-page th{background:var(--theme-canvas, #f4f4f8);color:var(--theme-muted, #65727a)}.admin-page tbody tr:nth-child(2n){background:var(--theme-warning-soft, #fffbea)}.admin-page tbody tr:hover{background:var(--theme-info-soft, #f0f6ff)}.admin-page small{display:block;margin-top:5px;color:var(--theme-muted, #637180)}.admin-page a{color:var(--theme-info-ink, #326cb0)}.admin-pager{display:flex;align-items:center;gap:12px;margin:16px 0}.admin-invitation{background:var(--theme-warning-soft, #fffbea);padding:16px;margin-top:15px;border-radius:8px}.admin-page .error{color:var(--theme-danger-ink, #b42318)}@media(max-width:650px){.admin-page{padding:20px 14px}.admin-page header{flex-wrap:wrap}.admin-card{padding:14px}}@media(max-width:650px){.admin-table-wrap table{min-width:620px}}.admin-add-team{display:flex;flex-wrap:wrap;align-items:end;gap:1rem}.admin-add-team h3{flex-basis:100%;margin-bottom:0}.admin-add-team label:first-of-type{flex:1 1 16rem}
