:root{--navy:#152e39;--navy-deep:#102731;--navy-soft:#24414d;--orange:#e87939;--orange-hover:#d86a2d;--orange-pale:#fff0e6;--paper:#f7f6f2;--card:#fff;--ink:#1b333b;--muted:#7c8889;--line:#e5e8e3;--green:#43806c;--green-light:#edf5ef;--danger:#b54b40;--danger-light:#fff0ee;--yellow:#b98a2f;--radius:12px;--shadow:0 3px 15px rgba(22,47,58,.035);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:0}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #e8793980;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:0;border-color:var(--orange);box-shadow:0 0 0 3px #e8793914}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.2}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}svg.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}[hidden]{display:none!important}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:750;color:#828c89;display:flex;align-items:center;gap:12px}.eyebrow.light{color:#94acb3}.small-rule{width:23px;height:2px;display:inline-block;background:var(--orange);flex-shrink:0}.brand-mark{font-size:44px;letter-spacing:-4.5px;font-weight:850;line-height:1;color:#fff;position:relative}.brand-mark>span{color:var(--orange);font-size:29px;display:inline-block;vertical-align:top;margin:0 0 0 4px;line-height:.8}.brand-name{font-size:9px;font-weight:650;letter-spacing:1.7px;line-height:1.7;color:#f2f5f4}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:11px 17px;min-height:41px;line-height:1.2;border-radius:7px;font-size:12px;font-weight:650;white-space:nowrap;transition:background .16s,border-color .16s,transform .16s}.btn:hover{transform:translateY(-1px)}.btn .icon{width:17px;height:17px}.btn-primary{background:var(--orange);color:#fff;box-shadow:0 2px 4px #9f481010}.btn-primary:hover{background:var(--orange-hover)}.btn-dark{background:var(--navy);color:white}.btn-dark:hover{background:var(--navy-soft)}.btn-outline,.btn-secondary{background:white;color:var(--ink);border:1px solid #dfe4df}.btn-outline:hover,.btn-secondary:hover{background:#f5f7f3;border-color:#bdc8c3}.btn-ghost{background:transparent;color:var(--ink);border:1px solid transparent}.btn-ghost:hover{background:#eff2ed}.btn-danger{background:var(--danger);color:white}.btn-sm{font-size:11px;padding:8px 12px;min-height:33px}.text-button{display:inline-flex;align-items:center;gap:7px;color:var(--ink);background:transparent;padding:0;font-size:12px;font-weight:650}.text-button:hover{color:var(--orange)}.text-button>.icon{width:16px;height:16px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;background:transparent;color:inherit;border-radius:6px}.icon-button:hover{background:#ffffff12}.field{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:650;margin-bottom:18px;color:#344b50}.field input,.field select,.field textarea,input.form-input,select.form-input,textarea.form-input{border:1px solid #dde3dc;background:#fff;border-radius:7px;color:var(--ink);padding:12px 13px;font-size:13px;min-height:45px;width:100%;transition:border-color .15s,box-shadow .15s}.field textarea{min-height:100px;resize:vertical}.field input::placeholder,input.form-input::placeholder{color:#a0aaa5;font-weight:400}.field small{color:var(--muted);font-weight:400}.form-error{padding:10px 12px;background:var(--danger-light);color:var(--danger);border-radius:6px;font-size:12px;margin-bottom:15px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.span-2{grid-column:span 2}.full-width{width:100%}.check-field{display:flex;align-items:center;gap:9px;font-size:12px;margin-bottom:16px}.check-field input{accent-color:var(--orange)}

/* Sign in */
.auth-screen{display:grid;grid-template-columns:minmax(390px,.95fr) minmax(470px,1.05fr);min-height:100vh;background:#fafaf7}.auth-story{background:var(--navy);position:relative;padding:44px 57px 28px;display:flex;flex-direction:column;overflow:hidden;min-height:760px}.auth-brand{display:flex;align-items:center;gap:20px;position:relative;z-index:1}.auth-brand .brand-mark{font-size:51px}.auth-story-content{margin:auto 0;position:relative;z-index:1;padding:75px 0 87px}.auth-story h1{font-size:clamp(45px,4.7vw,69px);letter-spacing:-2.7px;font-weight:600;color:#fff;line-height:1.13;margin:26px 0 23px}.auth-story h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:#f2be94;letter-spacing:-2px}.auth-story-content>p{font-size:15px;color:#aac0c5;line-height:1.9;font-weight:400}.auth-feature-list{margin-top:38px;display:grid;gap:22px}.auth-feature-list>div{display:flex;align-items:center;gap:16px}.feature-icon{display:flex;align-items:center;justify-content:center;width:39px;height:39px;border-radius:8px;border:1px solid #ffffff13;background:#ffffff04;color:#e7b68f}.auth-feature-list strong{font-size:12px;font-weight:550;color:#e5eeed;display:block}.auth-feature-list small{font-size:11px;color:#8fa8b0;display:block;margin-top:3px}.auth-story-footer{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}.footer-kicker{font-size:8px;color:#79949e;letter-spacing:1.5px}.tiny-orange-dot{display:block;background:var(--orange);width:7px;height:7px;border-radius:50%}.auth-decoration{position:absolute;width:560px;height:560px;bottom:-285px;right:-250px;border:1px solid #ffffff08;border-radius:50%}.auth-decoration>div{border:1px solid #ffffff08;border-radius:50%;position:absolute;inset:50px}.auth-decoration>div:nth-child(2){inset:100px}.auth-decoration>div:nth-child(3){inset:150px}.auth-form-area{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:50px 45px 70px}.auth-form-card{width:100%;max-width:394px}.auth-welcome .eyebrow{color:#819187;letter-spacing:1.5px;font-size:9px}.auth-welcome h2{font-size:29px;letter-spacing:-1.2px;font-weight:600;margin-top:18px}.auth-welcome>p{font-size:13px;color:var(--muted);margin-top:11px}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:8px;background:#edf0e9;border:1px solid #e4e8e0;margin:30px 0 25px}.auth-tab{background:transparent;border-radius:5px;padding:10px;font-size:11px;font-weight:600;color:#86918a}.auth-tab.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px #17333e0b}.auth-form-card .field{margin-bottom:19px}.auth-form-note{font-size:11px;color:#88968d;margin:-1px 0 23px}.auth-submit{width:100%;justify-content:space-between;padding:14px 17px;font-size:12px;min-height:47px}.auth-security{display:flex;justify-content:center;align-items:center;gap:6px;margin:16px 0 30px;color:#929e96;font-size:9px}.auth-security .icon{width:12px;height:12px}.auth-preview{border-top:1px solid #e6e8e1;padding-top:24px;display:flex;flex-direction:column;gap:15px}.auth-preview>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.auth-preview strong{font-size:11px;font-weight:600}.auth-preview span{font-size:10px;color:#909990}.auth-preview .btn{justify-content:space-between;padding:12px 17px;font-size:11px;min-height:44px;background:transparent}.connection-toggle{font-size:10px;font-weight:450;color:#97a099;margin:21px auto 0;display:flex}.connection-toggle .icon{width:13px;height:13px}.connection-panel{margin-top:17px;border:1px solid var(--line);padding:20px;border-radius:9px;background:#fff}.connection-panel h3{font-size:14px;margin-bottom:8px}.connection-panel>p{font-size:11px;color:var(--muted);line-height:1.7;margin-bottom:16px}.connection-panel .field{margin-bottom:12px}.connection-panel input{font-size:11px;min-height:38px;padding:10px}.connection-panel .btn{margin-top:12px}.connection-panel #connection-message{margin-top:10px}.auth-bottom{position:absolute;bottom:26px;left:40px;right:40px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#a1aba2;font-size:9px}.auth-bottom>span:first-child{letter-spacing:1.5px;font-size:8px}

/* Workspace frame */
.app-shell{min-height:100vh;display:flex}.sidebar{width:238px;flex-shrink:0;background:var(--navy);color:#91a7ae;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:30}.sidebar-brand{display:flex;align-items:center;gap:16px;padding:28px 28px 29px}.sidebar-brand .brand-mark{font-size:43px}.sidebar-brand .brand-name{font-size:8px;letter-spacing:1.4px}.workspace-switcher{margin:0 20px 23px}.workspace-switcher>label{display:block;font-size:8px;font-weight:650;letter-spacing:1.5px;color:#718f9a;margin-bottom:9px}.workspace-select-wrap{display:flex;align-items:center;position:relative;background:#213c47;border:1px solid #ffffff0a;border-radius:7px;padding:8px;gap:9px}.workspace-avatar{height:25px;width:25px;display:flex;align-items:center;justify-content:center;background:#8ba09226;border:1px solid #b2c7ba22;border-radius:5px;color:#c4d2c9;font-weight:600;font-size:11px;flex-shrink:0}.workspace-select-wrap select{color:#e0ebe9;background:transparent;appearance:none;border:0;font-size:11px;font-weight:550;min-width:0;width:100%;padding:4px 18px 4px 0;outline:0;box-shadow:none;cursor:pointer}.workspace-select-wrap option{color:var(--ink);background:#fff}.workspace-select-wrap>.icon{position:absolute;right:9px;pointer-events:none;width:14px;height:14px;color:#91a8af}.sidebar-nav{padding:0 12px 20px;overflow-y:auto;flex:1;scrollbar-width:thin;scrollbar-color:#ffffff18 transparent}.sidebar-nav::-webkit-scrollbar{width:4px}.sidebar-nav::-webkit-scrollbar-thumb{background:#ffffff15;border-radius:5px}.nav-item{display:flex;align-items:center;width:100%;gap:11px;padding:9px 15px;min-height:38px;border-radius:6px;margin:1px 0;background:transparent;color:#a2b5bb;font-size:11px;font-weight:450;text-align:left;position:relative;transition:background .15s,color .15s}.nav-item .icon{width:17px;height:17px;stroke-width:1.5;color:#718e99}.nav-item:hover{background:#ffffff07;color:#edf3f1}.nav-item.active{background:#e8793920;color:#ef9c69}.nav-item.active:before{content:"";position:absolute;left:-12px;top:9px;bottom:9px;width:3px;border-radius:0 2px 2px 0;background:var(--orange)}.nav-item.active .icon{color:#ed9a67}.nav-group-label{font-size:8px;letter-spacing:1.4px;font-weight:650;color:#5e7d8a;margin:20px 15px 8px}.nav-count{margin-left:auto;color:#f9bd94;background:#e8793924;font-size:9px;font-weight:650;line-height:18px;min-width:18px;text-align:center;border-radius:4px}.sidebar-bottom{border-top:1px solid #ffffff08;background:var(--navy-deep);padding:15px 20px}.sidebar-sync{display:flex;align-items:center;gap:7px;font-size:9px;color:#87a29f;margin-bottom:15px}.status-dot{height:5px;width:5px;border-radius:50%;background:#6f9a89;display:inline-block;flex-shrink:0}.sidebar-user{display:flex;gap:10px;align-items:center}.user-avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:31px;height:31px;background:#36505a;border:1px solid #ffffff0c;border-radius:50%;color:#dbe5dd;font-size:11px;font-weight:600}.user-details{display:flex;flex-direction:column;min-width:0}.user-details strong{font-size:10px;color:#d9e4df;font-weight:500;max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-details small{font-size:9px;color:#64828d;margin-top:2px}.sidebar-user .icon-button{margin-left:auto;width:26px;height:30px;color:#74929c}.sidebar-user .icon-button .icon{width:15px;height:15px}.workspace-main{margin-left:238px;min-width:0;flex:1}.topbar{min-height:68px;padding:0 36px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fbfbf8;border-bottom:1px solid #e9ece5}.topbar-left{display:flex;align-items:center;gap:14px;font-size:11px;color:#657c7c;white-space:nowrap}.breadcrumb-label{font-size:8px;color:#94a198;letter-spacing:1.3px;font-weight:650}.breadcrumb-divider{color:#cad1c9;font-size:12px}.topbar-right{display:flex;align-items:center;gap:18px;min-width:0}.global-search-wrap{display:flex;align-items:center;gap:8px;color:#89998f}.global-search-wrap .icon{width:15px;height:15px}.global-search-wrap input{width:185px;min-width:0;padding:8px 0;background:transparent;border:0;font-size:10px;color:var(--ink);outline:0;box-shadow:none}.global-search-wrap input::placeholder{color:#9aa59a}.global-search-wrap kbd{font-family:inherit;font-size:9px;color:#a2afa2;border:1px solid #e1e6dd;border-radius:4px;width:17px;text-align:center;padding:1px}.header-workspace-name{font-size:10px;color:#718477}.mode-badge{font-size:8px;letter-spacing:1px;color:#ac7741;border:1px solid #e6ceae;background:#fff6e9;border-radius:4px;padding:4px 7px;font-weight:600}.mobile-menu{display:none}.page-container{padding:35px 36px 24px;max-width:1710px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:27px}.page-eyebrow{display:flex;gap:9px;align-items:center;font-size:8px;letter-spacing:1.5px;color:#8b9a8e;font-weight:650;margin-bottom:12px}.page-eyebrow .small-rule{height:1.5px;width:18px}.page-heading h1{font-size:29px;font-weight:600;letter-spacing:-1px;color:var(--ink)}.page-heading p{font-size:11px;margin-top:9px;color:#909d92}.header-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.preview-banner{padding:9px 36px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:10px;color:#977744;background:#fbf2e5;border-bottom:1px solid #edddc4}.preview-banner strong{font-weight:600}.preview-banner .text-button{color:#9d6635;font-size:10px}.connection-banner{background:#fff2eb;color:#a25f36;padding:12px 36px;font-size:12px;border-bottom:1px solid #f1dacb}.workspace-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#a6b0a7;font-size:9px;border-top:1px solid #e6eae1;margin-top:32px;padding-top:21px}.workspace-footer>span:first-child{display:flex;gap:10px;align-items:center}.footer-logo{font-size:18px;font-weight:750;letter-spacing:-1px;color:#a0aea2}.sidebar-backdrop{position:fixed;inset:0;background:#10273175;backdrop-filter:blur(2px);z-index:25}

/* Reusable workspace views */
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.card-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:21px 22px;border-bottom:1px solid #eef0eb}.card-header h2,.card-title{font-size:13px;letter-spacing:-.15px;font-weight:650}.card-header p{font-size:10px;color:var(--muted);margin-top:4px}.card-body{padding:22px}.card-footer{border-top:1px solid #eef0eb;padding:13px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--muted);font-size:10px}.section-title{font-size:13px;font-weight:600;margin-bottom:16px}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}.stats-grid,.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat-card,.metric-card{padding:21px 21px 19px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-label,.metric-label{font-size:10px;color:#7c8d81;font-weight:500}.stat-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:6px;color:#719481;background:#f1f6ef}.stat-icon .icon{width:15px;height:15px}.stat-value,.metric-value{font-size:29px;line-height:1.2;font-weight:550;letter-spacing:-1.1px;margin:13px 0 9px;color:#2b4549}.stat-note,.metric-note{font-size:9px;color:#9aa599}.stat-note strong{color:var(--green);font-weight:550}.stat-card.orange .stat-icon{color:#d28b52;background:#fff3e8}.stat-card.orange .stat-note strong{color:#bb7d40}.welcome-card{border:1px solid #dde7dc;background:linear-gradient(112deg,#eef3e8,#f5f5ed);padding:26px 28px;border-radius:12px;margin-bottom:23px;display:flex;align-items:center;justify-content:space-between;gap:22px;position:relative;overflow:hidden}.welcome-card h2{font-size:22px;font-weight:500;letter-spacing:-.65px;margin-bottom:9px}.welcome-card p{color:#829080;font-size:11px}.welcome-card .eyebrow{font-size:8px;margin-bottom:13px;color:#96a18f}.welcome-card .icon{color:#82947c}.welcome-decoration{width:76px;height:76px;border:1px solid #c8d5c5;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;background:#f9faf22b}.welcome-decoration:after{content:"";inset:8px;position:absolute;border:1px solid #d5decf;border-radius:50%}.welcome-decoration .icon{width:31px;height:31px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:19px}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.search-input{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dfe5dc;border-radius:6px;padding:0 12px;min-width:200px}.search-input>.icon{height:14px;width:14px;color:#9aaa9b}.search-input input{padding:10px 0;background:transparent;border:0;outline:none;box-shadow:none;font-size:11px;min-width:0;width:100%}.search-input input::placeholder{color:#a0aba0}.filter-select{border:1px solid #dfe5dc;border-radius:6px;background:#fff;font-size:11px;color:#6e8173;padding:10px 28px 10px 11px;min-height:36px}.segmented-control,.tabs{display:flex;align-items:center;border-bottom:1px solid var(--line);gap:23px;margin-bottom:22px}.segmented-control button,.tabs button{font-size:11px;font-weight:550;color:#92a092;background:transparent;padding:0 0 12px;position:relative}.segmented-control button.active,.tabs button.active{color:#d07944}.segmented-control button.active:after,.tabs button.active:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--orange)}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:4px;padding:4px 7px;font-size:9px;line-height:1;font-weight:550;white-space:nowrap;background:#f0f3ed;color:#81947f}.badge:before{content:"";width:4px;height:4px;background:currentColor;opacity:.7;border-radius:50%}.badge.green,.badge-success{background:#edf5ef;color:#658d6a}.badge.orange,.badge-warning{background:#fff2e7;color:#c58b52}.badge.red,.badge-danger{background:#fff0ed;color:#bd796b}.badge.blue,.badge-info{background:#edf3f5;color:#79939f}.badge.gray{background:#f0f2ec;color:#90998a}.badge.no-dot:before{display:none}.table-wrap{overflow-x:auto;border-radius:var(--radius)}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead{background:#fafbf7}th{padding:12px 18px;color:#98a590;font-size:8px;font-weight:650;letter-spacing:.7px;text-transform:uppercase;border-bottom:1px solid #e9eee4}td{padding:15px 18px;font-size:11px;color:#718375;border-bottom:1px solid #eef1e9;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcf8}td strong{font-weight:550;color:#3b524c}td small{display:block;font-size:9px;margin-top:3px;color:#a0ac99}.table-name{display:flex;align-items:center;gap:11px}.item-avatar{width:30px;height:30px;background:#f1f4ec;border:1px solid #e7edde;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:10px;color:#96a288;flex-shrink:0}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}.row-actions .icon-button{width:26px;height:26px;color:#98a28f}.row-actions .icon-button:hover{background:#edf2e9}.text-right{text-align:right}.text-center{text-align:center}.numeric{font-variant-numeric:tabular-nums}.progress-track{width:65px;height:4px;background:#edf1e8;border-radius:3px;overflow:hidden}.progress-fill{height:100%;background:#97b08d;border-radius:3px}.progress-fill.warning{background:#e3b787}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quick-action{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:17px 16px;background:#fafbf7;border:1px solid #e8ede2;border-radius:8px;color:#81917b;text-align:left}.quick-action:hover{border-color:#d9b18e;background:#fff7ee}.quick-action>.icon{height:21px;width:21px;color:#a08d73}.quick-action strong{font-size:10px;font-weight:600;color:#617460}.quick-action small{display:block;font-size:9px;font-weight:400;color:#a2ac98;margin-top:4px}.activity-list{display:flex;flex-direction:column}.activity-row{display:flex;align-items:flex-start;gap:12px;padding:16px 0;border-bottom:1px solid #edf1e7}.activity-row:first-child{padding-top:0}.activity-row:last-child{border-bottom:0;padding-bottom:0}.activity-icon{display:flex;align-items:center;justify-content:center;background:#f3f6ee;border:1px solid #edf1e5;width:28px;height:28px;border-radius:6px;color:#9bad90;flex-shrink:0}.activity-icon .icon{width:14px;height:14px}.activity-text{flex:1;font-size:10px;color:#75866f;min-width:0}.activity-text strong{font-weight:550;color:#617657}.activity-text p{font-size:9px;color:#a0ad94;margin-top:3px}.activity-time{font-size:8px;color:#abb59e;white-space:nowrap;margin-top:3px}.attention-row{display:flex;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid #edf0e6}.attention-row:last-child{border-bottom:0}.attention-row .attention-icon{color:#c39265;background:#fff5e9;display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:7px;flex-shrink:0}.attention-icon .icon{width:17px;height:17px}.attention-row>div{flex:1}.attention-row strong{font-size:11px;font-weight:550;color:#72806d}.attention-row p{font-size:9px;color:#a4ad97;margin-top:3px}.attention-row>.icon{width:15px;height:15px;color:#aab5a1}.empty-state{padding:52px 25px;text-align:center}.empty-state>.icon,.empty-icon{width:42px;height:42px;color:#a9b79f;background:#f5f8ef;border-radius:10px;padding:9px;margin-bottom:18px}.empty-state h2,.empty-state h3{font-size:16px;font-weight:550;margin-bottom:10px}.empty-state p{font-size:12px;color:#8c9a84;max-width:400px;margin:0 auto 20px;line-height:1.7}.empty-state .btn{margin-top:3px}.note,.notice,.info-banner{background:#f1f5ec;border:1px solid #e2ead8;color:#8b977e;border-radius:8px;padding:14px 17px;font-size:11px;line-height:1.7;margin-bottom:20px}.note strong,.notice strong,.info-banner strong{color:#6d7e60;font-weight:600}.note.warning,.notice.warning{background:#fff6e9;border-color:#eadac0;color:#a9875f}.note.danger,.notice.danger{background:#fff2ee;border-color:#e9d1c9;color:#a97163}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.stack{display:flex;flex-direction:column;gap:20px}.flex-between{display:flex;align-items:center;justify-content:space-between;gap:15px}.flex{display:flex;align-items:center;gap:10px}.divider{border:0;border-top:1px solid var(--line);margin:20px 0}.recipe-card{overflow:hidden}.recipe-card-top{padding:22px;background:#f4f6ee;border-bottom:1px solid #e6ecde;display:flex;align-items:center;justify-content:space-between;gap:12px}.recipe-card-top>.icon{width:31px;height:31px;color:#a5b397}.recipe-card h3{font-size:14px;font-weight:600;margin-bottom:5px}.recipe-card p{font-size:10px;color:#8d9b81}.recipe-card .card-body{padding:20px}.recipe-meta{display:flex;justify-content:space-between;font-size:10px;color:#91a184;margin:16px 0}.recipe-meta strong{color:#5b7355;font-weight:550}.dropzone{border:1.5px dashed #d3ddc8;border-radius:10px;padding:46px 20px;text-align:center;background:#fbfcf8;cursor:pointer;display:block}.dropzone:hover{background:#f4f7ed;border-color:#b4c99f}.dropzone>.icon{height:34px;width:34px;color:#9caa8e;margin-bottom:14px}.dropzone strong{display:block;font-size:13px;font-weight:600;color:#73856a}.dropzone p{font-size:11px;margin-top:9px;color:#a1ac94}.loading-state{padding:60px 20px;display:flex;flex-direction:column;align-items:center;gap:18px;color:#87987e;font-size:12px}.spinner{width:24px;height:24px;border:2px solid #e5ebde;border-top-color:var(--orange);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.chart-container{min-height:190px;padding:12px 0;position:relative}.bar-chart{height:190px;display:flex;align-items:flex-end;justify-content:space-around;gap:20px;border-bottom:1px solid #e2e9d9}.chart-bar{max-width:50px;width:100%;background:#97ae89;border-radius:4px 4px 0 0;position:relative}.chart-bar span{position:absolute;bottom:-24px;left:0;right:0;text-align:center;font-size:9px;color:#96a388}.chart-legend{display:flex;gap:15px;font-size:9px;color:#95a186;margin-top:30px}.chart-legend>span{display:flex;align-items:center;gap:6px}.legend-dot{width:6px;height:6px;border-radius:2px;background:#97ae89}.settings-section{padding:24px 25px;border-bottom:1px solid var(--line)}.settings-section:last-child{border-bottom:0}.settings-section h3{font-size:13px;font-weight:600;margin-bottom:7px}.settings-section>p{font-size:11px;color:var(--muted);margin-bottom:22px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #edf1e6}.settings-row:last-child{border-bottom:0}.settings-row strong{font-size:11px;font-weight:550}.settings-row small{display:block;font-size:10px;color:#98a58e;margin-top:4px}.toggle{appearance:none;width:34px;height:19px;background:#dce3d4;border-radius:12px;position:relative;cursor:pointer}.toggle:before{content:"";position:absolute;width:13px;height:13px;top:3px;left:3px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px #23382215}.toggle:checked{background:#8ba57a}.toggle:checked:before{transform:translateX(15px)}

/* Dialogs and feedback */
.modal-overlay,.modal-backdrop{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:26px;background:#142d3a80;backdrop-filter:blur(4px)}.modal,.dialog{background:#fff;border-radius:13px;border:1px solid #e2e8df;width:min(100%,560px);max-height:calc(100vh - 52px);overflow-y:auto;box-shadow:0 20px 80px #10283226}.modal.large{width:min(100%,800px)}.modal-header,.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:23px 25px;border-bottom:1px solid var(--line)}.modal-header h2,.dialog-header h2{font-size:17px;font-weight:600;letter-spacing:-.4px}.modal-header p{font-size:11px;color:var(--muted);margin-top:5px}.modal-header .icon-button{color:#8fa089}.modal-header .icon-button:hover{background:#f1f5ed}.modal-body,.dialog-body{padding:25px}.modal-footer,.dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:17px 25px;background:#fafbf7;border-top:1px solid var(--line)}.toast-root{position:fixed;bottom:22px;right:25px;z-index:90;display:flex;flex-direction:column;align-items:flex-end;gap:10px;pointer-events:none;max-width:calc(100vw - 40px)}.toast{background:var(--navy);color:#d6e2dc;border:1px solid #2c4753;box-shadow:0 4px 24px #112c3522;border-radius:9px;max-width:380px;padding:13px 17px;font-size:12px;display:flex;align-items:center;gap:11px;pointer-events:auto;animation:toast-in .2s ease-out}.toast.success{background:#284b3a;border-color:#375f44;color:#d4e7ce}.toast.error{background:#683e35;border-color:#875044;color:#f2dfd6}.toast .icon{width:16px;height:16px}.toast button{background:transparent;color:inherit;opacity:.7;margin-left:12px;padding:0}.toast button:hover{opacity:1}@keyframes toast-in{from{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}

@media(min-width:1500px){.auth-story{padding-left:75px;padding-right:75px}.auth-story h1{font-size:74px}.auth-form-card{max-width:420px}.sidebar{width:254px}.workspace-main{margin-left:254px}.page-container{padding-left:43px;padding-right:43px}.topbar{padding-left:43px;padding-right:43px}.nav-item{font-size:12px;min-height:39px}.nav-group-label{font-size:8px}.sidebar-brand{padding-left:31px}.stats-grid{gap:20px}}
@media(max-width:1150px){.sidebar{width:215px}.workspace-main{margin-left:215px}.sidebar-brand{padding:26px 23px}.sidebar-brand .brand-mark{font-size:38px}.sidebar-brand .brand-name{font-size:7px}.page-container{padding:28px 25px 22px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:1.25fr 1fr}.stats-grid,.metric-grid{gap:11px}.stat-card,.metric-card{padding:17px}.stat-value,.metric-value{font-size:25px}.stat-label,.metric-label{font-size:9px}.auth-story{padding:35px}.auth-story h1{font-size:52px}.auth-form-area{padding:40px}.auth-feature-list small{font-size:10px}.preview-banner{padding-left:25px;padding-right:25px}.global-search-wrap input{width:150px}.header-workspace-name{display:none}}
@media(max-width:950px){.auth-screen{grid-template-columns:minmax(300px,.85fr) minmax(420px,1.15fr)}.auth-story{padding:31px}.auth-story h1{font-size:44px;letter-spacing:-1.8px}.auth-story-content>p{font-size:12px}.auth-story-content{padding:68px 0}.auth-feature-list strong{font-size:11px}.auth-feature-list small{font-size:9px}.auth-feature-list{gap:19px}.feature-icon{width:34px;height:34px}.auth-feature-list>div{gap:11px}.auth-form-area{padding:40px 33px 70px}.auth-welcome h2{font-size:26px}.auth-preview>div{display:block}.auth-preview span{display:block;margin-top:4px}.footer-kicker{font-size:6px}.sidebar{width:199px}.workspace-main{margin-left:199px}.sidebar-brand{gap:13px;padding-left:21px;padding-right:21px}.sidebar-brand .brand-mark{font-size:35px}.sidebar-brand .brand-name{font-size:6px}.workspace-switcher{margin-left:17px;margin-right:17px}.nav-item{padding-left:11px;padding-right:11px;font-size:10px}.nav-item>.icon{width:16px;height:16px}.nav-group-label{margin-left:11px;font-size:7px}.page-container{padding-left:23px;padding-right:23px}.dashboard-grid{grid-template-columns:1fr}.stats-grid,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{align-items:flex-start}.page-heading h1{font-size:26px}.header-actions .btn{font-size:10px;padding:10px 12px}.topbar{padding-left:23px;padding-right:23px}.topbar-left{gap:9px}.global-search-wrap input{width:115px}.breadcrumb-label{font-size:7px}.stat-value,.metric-value{font-size:29px}.stat-label,.metric-label{font-size:10px}}
@media(max-width:760px){.auth-screen{grid-template-columns:1fr}.auth-story{min-height:unset;padding:28px 30px 25px}.auth-brand .brand-mark{font-size:40px}.auth-brand .brand-name{font-size:7px}.auth-story-content{padding:41px 0 25px}.auth-story h1{font-size:44px;line-height:1.08;margin:17px 0 15px}.auth-story-content>p{font-size:12px}.auth-feature-list{display:none}.auth-story-footer{display:none}.auth-story .eyebrow{font-size:8px}.auth-form-area{padding:36px 30px 65px}.auth-form-card{max-width:450px}.auth-welcome h2{font-size:25px}.auth-welcome .eyebrow{font-size:8px}.auth-preview>div{display:flex}.auth-preview span{margin:0;display:inline}.auth-bottom{left:30px;right:30px;bottom:23px}.auth-decoration{bottom:-400px;right:-370px}.sidebar{width:238px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.sidebar-brand{padding:28px;gap:16px}.sidebar-brand .brand-mark{font-size:43px}.sidebar-brand .brand-name{font-size:8px}.nav-item{padding:9px 15px;font-size:11px}.nav-group-label{font-size:8px;margin-left:15px}.workspace-main{margin-left:0}.topbar{padding:0 20px;min-height:60px;gap:13px}.mobile-menu{display:flex;color:#647e71;width:25px;margin-right:3px}.topbar-left{font-size:10px}.breadcrumb-label{display:none}.breadcrumb-divider{display:none}.global-search-wrap input{width:130px;font-size:10px}.global-search-wrap kbd{display:none}.topbar-right{gap:12px}.page-container{padding:28px 20px 20px}.page-heading{gap:15px;flex-wrap:wrap;margin-bottom:22px}.page-heading h1{font-size:27px}.page-heading p{font-size:10px}.page-eyebrow{font-size:7px}.header-actions{margin-top:0}.header-actions .btn{font-size:10px;min-height:36px}.preview-banner{padding:9px 20px;font-size:9px;flex-wrap:wrap;gap:4px}.preview-banner .text-button{font-size:9px}.stats-grid,.metric-grid{gap:12px;margin-bottom:18px}.stat-card,.metric-card{padding:17px}.stat-value,.metric-value{font-size:26px;margin:12px 0 8px}.stat-note,.metric-note{font-size:8px}.stat-label,.metric-label{font-size:9px}.welcome-card{padding:24px 21px;margin-bottom:19px}.welcome-card h2{font-size:20px}.welcome-card p{font-size:10px;line-height:1.7}.welcome-decoration{width:60px;height:60px}.welcome-decoration .icon{width:25px;height:25px}.card-header{padding:17px 18px}.card-body{padding:18px}.card-header h2,.card-title{font-size:12px}.card-header p{font-size:9px}.card-footer{padding:12px 18px;font-size:9px}.dashboard-grid{gap:17px}.quick-actions{gap:8px}.quick-action{padding:13px 11px;gap:11px}.quick-action strong{font-size:9px}.quick-action small{font-size:8px}.workspace-footer>span:last-child{display:none}.workspace-footer{font-size:8px}.toolbar{gap:12px}.toolbar-left,.toolbar-right{width:100%}.search-input{flex:1;min-width:160px}.filter-select{font-size:10px}.grid-2,.grid-3{grid-template-columns:1fr}.table-wrap{border-radius:10px}th{padding:11px 14px;font-size:7px}td{padding:13px 14px;font-size:10px}.item-avatar{width:27px;height:27px}.segmented-control,.tabs{gap:19px;overflow-x:auto;white-space:nowrap}.segmented-control button,.tabs button{font-size:10px}.modal-overlay,.modal-backdrop{padding:18px}.modal,.dialog{max-height:calc(100vh - 36px)}.modal-header,.dialog-header{padding:20px}.modal-body,.dialog-body{padding:20px}.modal-footer,.dialog-footer{padding:15px 20px}.modal-header h2{font-size:16px}.connection-banner{padding:12px 20px;font-size:11px}.empty-state{padding:40px 20px}.empty-state p{font-size:11px}.settings-section{padding:21px}.toast-root{right:17px;bottom:17px}.toast{font-size:11px}.auth-form-card .field{margin-bottom:18px}.auth-security{font-size:9px}.form-grid{gap:0 13px}}
@media(max-width:420px){.auth-preview>div{display:block}.auth-preview span{display:block;margin-top:5px}.auth-story{padding-left:25px;padding-right:25px}.auth-form-area{padding-left:25px;padding-right:25px}.auth-welcome h2{font-size:23px}.topbar{padding-left:17px;padding-right:17px}.topbar-left{gap:7px}.global-search-wrap input{width:113px;font-size:9px}.mode-badge{font-size:7px;padding:3px 5px}.page-container{padding-left:17px;padding-right:17px}.preview-banner{padding-left:17px;padding-right:17px}.stats-grid,.metric-grid{gap:9px}.stat-card,.metric-card{padding:14px}.stat-value,.metric-value{font-size:24px}.stat-icon{width:25px;height:25px}.stat-note,.metric-note{font-size:7px}.quick-action small{display:none}.quick-action{padding:14px 10px}.welcome-card{gap:15px}.welcome-card h2{font-size:19px}.welcome-decoration{width:47px;height:47px}.welcome-decoration .icon{height:21px;width:21px}.welcome-card p{font-size:9px}.form-grid{grid-template-columns:1fr}.span-2{grid-column:span 1}.toolbar-left .filter-select{flex:1}.footer-logo{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.auth-plan-note{display:flex;align-items:center;gap:7px;font-size:9px;color:#9a937f;margin-top:13px}.auth-plan-note .tiny-orange-dot{width:4px;height:4px;opacity:.8}.plan-badge{font-size:8px;font-weight:550;color:#849976;background:#eff4e9;border:1px solid #dfe9d5;border-radius:4px;padding:5px 7px;white-space:nowrap}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.page-title{font-size:20px;font-weight:600;letter-spacing:-.6px}.page-subtitle{font-size:11px;color:var(--muted);margin-top:7px}.data-table{width:100%}.danger-text{color:var(--danger)}.success-text{color:var(--green)}.alert{padding:14px 17px;border-radius:8px;background:#fff4e9;border:1px solid #efd8bb;color:#a07c4d;font-size:11px;margin-bottom:20px}.inline-actions{display:flex;align-items:center;gap:8px}.subtle{color:var(--muted);font-size:11px}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px}.compact-input{width:90px;padding:8px 10px;border:1px solid #dfe5dc;border-radius:6px;font-size:11px}.divider-dot{font-size:8px;color:#b6bfb0;margin:0 6px}@media(max-width:1150px){.plan-badge{display:none}}


/* Live workspace rendering: readable operation tables and the shared dashboard. */
:root{--muted:#6f8179}
.btn,.btn-primary,.btn-secondary,.btn-outline,.btn-dark,.btn-ghost,.btn-danger{font-size:12px}
button.btn-primary:not(.btn),button.btn-secondary:not(.btn){display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 14px;min-height:38px;border-radius:7px;font-weight:600;line-height:1.2;white-space:nowrap;transition:background .16s,border-color .16s}
button.btn-primary:not(.btn){background:var(--orange);color:#fff;border:1px solid var(--orange)}
button.btn-secondary:not(.btn){background:#fff;color:var(--ink);border:1px solid #dce3d8}
button.btn-primary:not(.btn):hover{background:var(--orange-hover)}
button.btn-secondary:not(.btn):hover{background:#f4f7ef;border-color:#bccab3}
.btn-sm{font-size:12px}
.text-button{font-size:12px}
.card{color:#425b50}
.card-body{font-size:13px;line-height:1.65}
.card-header h2,.card-title{font-size:15px;font-weight:600;letter-spacing:-.2px}
.card-header p{font-size:12px;color:#80917a}
.card-header .eyebrow{font-size:9px;color:#83947b;margin-bottom:7px;letter-spacing:1.3px}
.card-footer{font-size:12px;color:#7d8d74}
.card .muted{color:#7c8d73}
.card .small{font-size:12px}
.card .empty-state.small{font-size:13px;color:#87957d;padding:39px 22px}
.card .empty-state p{font-size:13px;color:#7d8f73}
.card .empty-state h3{font-size:16px}
.badge{font-size:10px;line-height:1.15;padding:5px 8px;letter-spacing:.02em;font-weight:550}
.badge-orange{background:#fff1e3;color:#b67b42}
.badge-neutral{background:#f1f4eb;color:#7b8c6e}
.badge-green{background:#edf5e8;color:#668b58}
.badge-blue{background:#eef3f7;color:#6f8d9c}
.text-success{color:#478061}
.card + .card{margin-top:20px}
th{font-size:10px;padding:13px 20px;color:#7f9171;font-weight:650;letter-spacing:.8px}
td{font-size:13px;padding:17px 20px;color:#6b8061;line-height:1.4}
td strong{font-weight:550;color:#3f5b3a}
td small,td .cell-sub{display:block;font-size:11px;margin-top:4px;color:#8c9c7e;line-height:1.5}
td .muted{color:#8a9b7b}
td .btn,td button.btn-primary,td button.btn-secondary{min-height:32px;font-size:12px;padding:7px 10px;margin:2px 4px 2px 0;line-height:1.2}
td .badge+.badge{margin-left:5px}
.nav-item{font-size:12px;font-weight:450;min-height:39px;color:#adc1c4}
.nav-item .icon{color:#809ea7}
.nav-group-label{font-size:9px;color:#7b99a4;letter-spacing:1.2px}
.sidebar-sync{font-size:10px;color:#98b4ab}
.user-details strong{font-size:11px;color:#e0e9e1}
.user-details small{font-size:10px;color:#94adae}
.workspace-select-wrap select{font-size:12px}
.workspace-switcher>label{color:#87a3a9;font-size:9px}
.topbar-left{font-size:12px;color:#5f776e}
.breadcrumb-label{font-size:9px;color:#8a9b87}
.global-search-wrap input{font-size:12px}
.page-heading p{font-size:13px;color:#7e8f78;line-height:1.65}
.page-eyebrow{font-size:9px;color:#879b7c}
.page-heading h1{font-size:31px;letter-spacing:-.9px}
.header-workspace-name{font-size:11px;color:#7d9074}
.plan-badge{font-size:9px}
.preview-banner{font-size:11px;color:#9f7948}
.preview-banner .text-button{font-size:11px}
.workspace-footer{font-size:10px;color:#91a083}
.welcome-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#edf3e6;border:1px solid #dde7d2;border-radius:11px;padding:25px 28px;margin-bottom:22px;position:relative;overflow:hidden}
.welcome-strip:after{content:"";position:absolute;right:-33px;bottom:-92px;width:180px;height:180px;border:1px solid #d2ddc3;border-radius:50%;pointer-events:none;opacity:.7}
.welcome-strip h2{font-size:22px;letter-spacing:-.6px;font-weight:550;color:#425c36;position:relative;z-index:1}
.welcome-strip p{font-size:13px;color:#819572;margin-top:8px;position:relative;z-index:1}
.today-date{font-size:11px;color:#819574;font-weight:500;position:relative;z-index:1;white-space:nowrap}
.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}
.metric-card{padding:21px 22px 20px;background:#fff}
.metric-top{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;font-weight:500;color:#7a8d70}
.metric-icon{width:31px;height:31px;border-radius:7px;display:flex;align-items:center;justify-content:center;color:#8da97d;background:#f1f6e9}
.metric-icon .icon{width:17px;height:17px}
.metric-icon.orange{color:#ce9764;background:#fff3e7}
.metric-icon.blue{color:#8ba7ae;background:#f0f5f6}
.metric-icon.green{color:#85a073;background:#f0f5e8}
.metric-value{display:block;font-size:30px;font-weight:550;letter-spacing:-1px;line-height:1.2;color:#415e3b;margin:15px 0 10px}
.metric-caption{font-size:11px;color:#95a484;line-height:1.5}
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:22px;align-items:start;margin-bottom:22px}
.dashboard-side{display:flex;flex-direction:column;gap:20px;min-width:0}
.dashboard-side>.card+.card{margin-top:0}
.dashboard-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.dashboard-bottom>.card+.card{margin-top:0}
.dashboard-priority{overflow:hidden}
.dashboard-priority .card-header{padding:23px 24px}
.dashboard-priority th{font-size:10px;letter-spacing:.6px;padding:14px 23px}
.dashboard-priority td{padding:18px 23px;font-size:13px}
.dashboard-priority td:nth-child(2){min-width:145px}
.dashboard-priority td:last-child{width:118px}
.dashboard-priority .cell-sub{font-size:11px;margin-top:5px}
.stock-meter{height:4px;border-radius:3px;overflow:hidden;background:#edf2e4;margin-top:9px;max-width:95px;width:100%}
.stock-meter>span{height:100%;display:block;border-radius:3px;background:#d4b17e}
.quick-actions.card{display:flex;flex-direction:column;padding:24px;gap:0}
.quick-actions.card>.eyebrow{font-size:9px;color:#879a79;letter-spacing:1.2px;margin-bottom:9px}
.quick-actions.card>h2{font-size:16px;color:#4f6944;letter-spacing:-.2px;font-weight:550;margin-bottom:20px}
.quick-actions.card .quick-action{display:flex;align-items:center;flex-direction:row;gap:13px;width:100%;padding:14px 0;border:0;border-bottom:1px solid #edf2e5;border-radius:0;background:transparent;text-align:left}
.quick-actions.card .quick-action:first-of-type{padding-top:0}
.quick-actions.card .quick-action:last-of-type{border-bottom:0;padding-bottom:0}
.quick-actions.card .quick-action:hover{background:transparent}
.quick-actions.card .quick-action:hover strong{color:#d2824c}
.quick-actions.card .quick-action>span:nth-child(2){flex:1;min-width:0}
.quick-actions.card .quick-action strong{font-size:13px;font-weight:550;color:#627954;display:block}
.quick-actions.card .quick-action small{font-size:11px;color:#97a687;font-weight:400;display:block;margin-top:4px;line-height:1.55}
.quick-actions.card .quick-action>.icon:last-child{width:16px;height:16px;color:#acb89e;margin-left:auto}
.action-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border:1px solid #e6eddc;border-radius:8px;color:#9daf89;background:#f6f9f0}
.action-icon .icon{height:18px;width:18px}
.sync-card{padding:24px;background:#f0f4e9;border-color:#e1e9d5;position:relative}
.sync-illustration{display:flex;align-items:center;justify-content:center;background:#f9fbf3;border:1px solid #dce6ce;border-radius:50%;width:39px;height:39px;color:#98ac82;margin-bottom:14px}
.sync-illustration .icon{width:20px;height:20px}
.sync-card h3{font-size:15px;font-weight:550;color:#718960;margin-bottom:9px;letter-spacing:-.25px}
.sync-card p{font-size:12px;color:#8fa180;line-height:1.85;max-width:390px;margin-bottom:14px}
.sync-card small.muted{font-size:10px;color:#9aae8a}
.list-row{display:flex;align-items:center;gap:13px;padding:19px 24px;border-bottom:1px solid #edf1e4;min-height:79px}
.list-row:last-child{border-bottom:0}
.list-row>div{flex:1;min-width:0}
.list-row strong{display:block;font-size:13px;font-weight:550;color:#61794f;line-height:1.55;white-space:normal}
.list-row small{display:block;font-size:11px;color:#95a584;margin-top:4px;line-height:1.5}
.list-icon{width:32px;height:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#f4f7ec;border:1px solid #e9efde;border-radius:7px;color:#a2b38e}
.list-icon .icon{width:16px;height:16px}
.activity-dot{width:7px;height:7px;background:#b6c5a0;border-radius:50%;margin:0 8px;flex-shrink:0}
.category-bars{padding:24px}
.category-bar-row{margin-bottom:23px}
.category-bar-row:last-child{margin-bottom:3px}
.category-bar-row>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:12px;color:#8a9b78;margin-bottom:10px}
.category-bar-row strong{font-size:13px;font-weight:550;color:#688055}
.category-bar-track{height:8px;border-radius:4px;background:#edf2e5;overflow:hidden}
.category-bar-track span{display:block;height:100%;background:#acbd94;border-radius:4px}
.category-bar-row:nth-child(2) .category-bar-track span{background:#c4caa2}
.category-bar-row:nth-child(3) .category-bar-track span{background:#d2b98c}
.category-bar-row:nth-child(4) .category-bar-track span{background:#a5babc}
.health-stat{padding:20px 24px;border-bottom:1px solid #edf1e4;display:flex;align-items:center;gap:17px}
.health-stat:last-child{border-bottom:0}
.health-stat strong{font-size:29px;color:#6f875d;font-weight:550;letter-spacing:-.6px;min-width:40px}
.health-stat span{font-size:12px;color:#94a17f;line-height:1.6}
.segmented{display:inline-flex;padding:4px;border:1px solid #e2e9da;border-radius:7px;background:#edf2e7;gap:3px;flex-wrap:wrap}
.segmented button{padding:9px 13px;min-height:34px;font-size:12px;border-radius:5px;background:transparent;color:#92a181;font-weight:550}
.segmented button.active{background:#fff;color:#667e53;box-shadow:0 1px 4px #32492108}
.segmented button:hover:not(.active){background:#e5ecdc;color:#6e865b}
.access-card{padding:44px 44px 40px;max-width:850px;background:#fff}
.access-icon{display:flex;align-items:center;justify-content:center;width:52px;height:52px;background:#fff4e9;border:1px solid #f2ddc9;border-radius:11px;color:#cc965e;margin-bottom:22px}
.access-icon .icon{width:25px;height:25px}
.access-card>.eyebrow{font-size:10px;color:#b39871;margin-bottom:12px}
.access-card h2{font-size:28px;letter-spacing:-.8px;font-weight:550;color:#49613a;margin-bottom:18px}
.access-card>p{font-size:14px;color:#8b9b7b;line-height:1.8;max-width:630px;margin-bottom:20px}
.access-card>p.muted{font-size:12px;line-height:1.9;margin-bottom:26px}
.access-benefits{display:flex;flex-direction:column;gap:13px;padding:22px 0 25px;margin-bottom:15px;border-bottom:1px solid #edf2e4}
.access-benefits>span{display:flex;align-items:center;gap:11px;font-size:13px;color:#7c946b}
.access-benefits .icon{width:18px;height:18px;color:#a5b590}
.access-card>.btn{margin:0 7px 5px 0}
/* A view's action buttons complement the common header above it. */
#main-content>.page-heading{padding:0;margin:0 0 17px;justify-content:flex-end;min-height:0}
#main-content>.page-heading>div:first-child{display:none}
#main-content>.page-heading .page-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
#main-content>.page-heading:not(:has(.page-actions button)){display:none}
#main-content>.card>.toolbar{padding:18px 22px;margin:0;border-bottom:1px solid #e9efdf;border-radius:12px 12px 0 0;background:#fff;min-height:77px}
.toolbar>input[type=search]{border:1px solid #dfe7d5;background:#fafcf7;min-width:240px;max-width:420px;flex:1;border-radius:7px;padding:11px 13px;font-size:13px;color:#6c835b;min-height:40px}
.toolbar>input[type=search]::placeholder{color:#9bab88}
.toolbar>label{display:flex;align-items:center;gap:8px;font-size:12px;color:#879c75;font-weight:400}
.toolbar>label>input[type=checkbox]{width:14px;height:14px;accent-color:var(--orange)}
.search-input input{font-size:13px;padding:11px 0}
.filter-select{font-size:12px;min-height:40px}
.field{font-size:12px;color:#5d7451}
.field input,.field select,.field textarea{font-size:13px;min-height:44px}
.modal-body{font-size:13px;color:#7b906a;line-height:1.8}
.modal-body>p{margin-bottom:18px}
.modal-body h3{font-size:14px;font-weight:600;color:#6e845e;margin:24px 0 12px}
.modal-body label:not(.field){display:flex;flex-direction:column;gap:7px;margin-bottom:17px;font-size:12px;font-weight:550;line-height:1.5;color:#6b825b}
.modal-body label:not(.field)>input:not([type=checkbox]):not([type=radio]),.modal-body label:not(.field)>select,.modal-body label:not(.field)>textarea,.modal-body td>select,.modal-body td>input:not([type=checkbox]):not([type=radio]){width:100%;min-height:43px;border:1px solid #dfe8d5;border-radius:7px;padding:11px 13px;font-size:13px;font-weight:400;line-height:1.5;background:#fff;color:#637a55}
.modal-body label:not(.field)>textarea{min-height:100px;resize:vertical}
.modal-body label:has(>input[type=checkbox]),.modal-body label:has(>input[type=radio]){flex-direction:row;align-items:center;gap:9px;line-height:1.65;font-weight:400}
.modal-body input[type=checkbox],.modal-body input[type=radio]{width:15px;height:15px;accent-color:var(--orange);flex-shrink:0}
.modal-body .muted{font-size:12px;color:#8d9f7b}
.modal-body .stats-grid .stat-card>span{font-size:12px;color:#8ea379;display:block;line-height:1.5}
.modal-body .stats-grid .stat-card>strong{font-size:24px;color:#6e875b;display:block;margin-top:12px;font-weight:550}
.modal:has(.cul-line-list){width:min(100%,750px)}
.cul-line-list{display:flex;flex-direction:column;gap:15px;margin-bottom:15px}
.cul-line{padding:18px;border:1px solid #e1ead6;border-radius:8px;background:#fbfdf8;margin-bottom:0}
.cul-line>button{align-self:end;margin-bottom:17px;justify-self:start}
.cul-line+ .cul-line{margin-top:0}
.modal-body>.btn-secondary{margin:0 0 15px}
.note,.notice,.info-banner,.alert{font-size:13px;line-height:1.75;color:#7b8f67}
.settings-row strong{font-size:13px}
.settings-row small{font-size:12px;color:#8b9f78}
.settings-section>p{font-size:13px;color:#8b9d7b}
.form-grid{gap:0 18px}
.auth-plan-note{color:#8c836e;font-size:10px}
.auth-form-note{color:#84937e;font-size:12px}
.auth-security{font-size:10px;color:#8b997f}
.auth-preview strong{font-size:12px}
.auth-preview span{font-size:11px;color:#909d86}
.auth-form-card .field{font-size:12px;color:#53664e}
.auth-preview .btn{font-size:12px}
.auth-tabs .auth-tab{font-size:12px}
.connection-toggle{font-size:11px;color:#8c9b81}
@media(min-width:1500px){.metrics-grid{gap:21px}.metric-card{padding:24px}.metric-value{font-size:33px}.dashboard-columns{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}}
@media(max-width:1150px){.metrics-grid{gap:12px}.metric-card{padding:19px 17px}.metric-top{font-size:11px}.metric-value{font-size:28px}.metric-caption{font-size:10px}.dashboard-columns{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:18px}.dashboard-bottom{gap:18px}.quick-actions.card{padding:20px}.quick-actions.card .quick-action strong{font-size:12px}.quick-actions.card .quick-action small{font-size:10px}.dashboard-priority td,.dashboard-priority th{padding-left:18px;padding-right:18px}.sync-card{padding:21px}.sync-card p{font-size:12px}.nav-item{font-size:12px}}
@media(max-width:1000px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.metric-card{padding:21px}.metric-top{font-size:12px}.metric-value{font-size:30px}.metric-caption{font-size:11px}.dashboard-columns{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:1.15fr 1fr;align-items:start;gap:18px}.quick-actions.card .quick-action strong{font-size:13px}.quick-actions.card .quick-action small{font-size:11px}.dashboard-bottom{grid-template-columns:1fr}.dashboard-bottom>.card+.card{margin-top:0}.welcome-strip{padding:23px 24px}.today-date{font-size:10px}.nav-item{font-size:11px}.nav-group-label{font-size:8px}.dashboard-priority td{padding-top:17px;padding-bottom:17px;font-size:13px}.dashboard-priority th{font-size:10px}.global-search-wrap input{font-size:11px}.sync-card{height:100%}.sync-card h3{font-size:15px}}
@media(max-width:760px){.nav-item{font-size:12px}.nav-group-label{font-size:9px}.page-heading h1{font-size:29px}.page-heading p{font-size:12px}.page-eyebrow{font-size:8px}.header-actions .btn{font-size:12px;padding:10px 12px;min-height:38px}.welcome-strip{align-items:flex-start;flex-direction:column;gap:15px;padding:23px 22px;margin-bottom:18px}.welcome-strip h2{font-size:21px}.welcome-strip p{font-size:12px}.today-date{font-size:10px}.metrics-grid{gap:12px;margin-bottom:20px}.metric-card{padding:17px}.metric-top{font-size:11px;gap:7px}.metric-value{font-size:27px;margin:13px 0 9px}.metric-caption{font-size:10px}.metric-icon{width:28px;height:28px}.metric-icon .icon{width:15px;height:15px}.dashboard-columns{margin-bottom:18px}.dashboard-side{display:flex;gap:18px}.quick-actions.card{padding:23px}.quick-actions.card .quick-action strong{font-size:13px}.quick-actions.card .quick-action small{font-size:11px}.sync-card{padding:23px}.sync-card p{font-size:12px}.sync-card small.muted{font-size:10px}.dashboard-bottom{gap:18px}.dashboard-priority .card-header{padding:20px}.dashboard-priority .card-header h2{font-size:14px}.dashboard-priority .card-header .text-button{font-size:11px}.dashboard-priority .card-header .eyebrow{font-size:8px}.dashboard-priority th{padding:13px 17px;font-size:9px}.dashboard-priority td{padding:17px;font-size:12px}.dashboard-priority td:nth-child(2){min-width:135px}.dashboard-priority td:last-child{width:110px}.dashboard-priority .cell-sub{font-size:11px}.dashboard-priority .badge{font-size:9px}.card-header{padding:19px 20px}.card-header h2{font-size:15px}.card-header p{font-size:11px}.card-header .eyebrow{font-size:8px}.card-body{padding:20px;font-size:13px}.card-footer{font-size:11px}.list-row{padding:17px 20px}.list-row strong{font-size:13px}.list-row small{font-size:11px}.list-row .badge{font-size:9px}.category-bars{padding:20px}.category-bar-row strong{font-size:13px}.category-bar-row>div:first-child{font-size:12px}.health-stat{padding:18px 20px}.health-stat span{font-size:12px}.segmented button{font-size:12px;padding:8px 12px}.toolbar{gap:12px}#main-content>.card>.toolbar{padding:17px 20px;gap:13px;align-items:center}.toolbar>input[type=search]{min-width:190px;max-width:100%;font-size:13px;min-height:40px}.toolbar>label{font-size:12px}.search-input input{font-size:13px}.filter-select{font-size:12px}.access-card{padding:30px 25px}.access-card h2{font-size:25px}.access-card>p{font-size:13px}.access-benefits>span{font-size:12px}.access-card>.btn{font-size:12px}.card+.card{margin-top:18px}th{font-size:10px;padding:12px 16px}td{font-size:13px;padding:15px 16px}td small{font-size:11px}.text-button{font-size:12px}.modal-body{font-size:13px;padding:22px}.modal-body label:not(.field){font-size:12px}.modal-body h3{font-size:14px}.modal-header h2{font-size:17px}.modal-footer{flex-wrap:wrap;gap:10px}.modal-footer #draft-status{width:100%;font-size:11px}.modal-body .stats-grid .stat-card>strong{font-size:21px}.toast{font-size:12px}.field{font-size:12px}.field input,.field select,.field textarea{font-size:13px}.settings-section>p{font-size:13px}.auth-form-note{font-size:11px}.auth-preview strong{font-size:12px}.auth-preview span{font-size:11px}.preview-banner{font-size:10px}.preview-banner .text-button{font-size:10px}.topbar-left{font-size:12px}.global-search-wrap input{font-size:11px}}
@media(max-width:420px){.metrics-grid{gap:10px}.metric-card{padding:15px 14px}.metric-top{font-size:10px}.metric-icon{width:25px;height:25px}.metric-icon .icon{width:14px;height:14px}.metric-value{font-size:25px}.metric-caption{font-size:9px;line-height:1.5}.dashboard-priority .card-header{padding:19px 17px;gap:10px}.dashboard-priority .card-header h2{font-size:13px}.dashboard-priority .card-header .text-button{font-size:10px}.dashboard-priority td{padding:15px 14px;font-size:12px}.dashboard-priority th{padding:12px 14px;font-size:9px}.dashboard-priority td:nth-child(2){min-width:125px}.welcome-strip h2{font-size:20px}.welcome-strip p{font-size:11px}.toolbar>input[type=search]{min-width:100%;width:100%}.toolbar>label{font-size:12px}.card-header .text-button{font-size:11px}.global-search-wrap input{width:112px;font-size:10px}.form-grid{grid-template-columns:1fr}.access-card{padding:28px 22px}.access-card h2{font-size:23px}.auth-form-area{padding-left:25px;padding-right:25px}.auth-preview>div{display:block}.auth-preview span{display:block;margin-top:5px}.modal-body{padding:20px}.cul-line{padding:15px}.cul-line>button{margin-bottom:3px}.sync-card p{font-size:12px}.quick-actions.card .quick-action small{display:block}}

/* Navy headings and readable secondary copy keep a busy workspace calm. */
:root{--muted:#6c7a70}
.card,.card-body{color:#53695c}
th{color:#6d8064}
td{color:#5b7057}
td strong{color:var(--ink)}
td small,td .cell-sub,td .muted{color:#79866e}
.card .muted{color:#71806b}
.card-header h2,.card-title,.quick-actions.card>h2,.sync-card h3,.list-row strong,.category-bar-row strong,.access-card h2,.welcome-strip h2{color:var(--ink)}
.card-header p,.metric-top,.metric-caption,.card-footer{color:#74836b}
.metric-value{color:var(--ink)}
.welcome-strip p,.today-date{color:#738266}
.quick-actions.card .quick-action strong{color:#425b4c}
.quick-actions.card .quick-action small,.list-row small{color:#7d8b70}
.sync-card p{color:#75866a;font-size:13px}
.sync-card small.muted{color:#7b8c6c}
.health-stat span,.category-bar-row>div:first-child{color:#76866a}
.health-stat strong{color:#48623d}
.card .empty-state p,.card .empty-state.small{color:#728367}
.access-card>p{color:#738567}
.access-benefits>span{color:#677d58}
.page-heading p{color:#74836b}
.global-search-wrap input::placeholder{color:#84917c}
.preview-banner,.preview-banner .text-button{color:#916b3e}
.modal-body{color:#60774f}
.modal-body .muted{color:#768b61}
@media(max-width:760px){.sync-card p{font-size:13px}.sync-card small.muted{font-size:11px}}

.camera-scan-panel{position:fixed;inset:10vh max(20px,calc((100vw - 620px)/2));z-index:90;background:white;border-radius:14px;padding:20px;box-shadow:0 12px 70px #10283266;overflow:auto;max-height:80vh}.camera-scan-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.camera-scan-panel video{width:100%;max-height:45vh;border-radius:8px;background:#152e3c;object-fit:contain}.camera-scan-panel p{font-size:13px;line-height:1.6;margin:14px 0}.camera-status{font-size:12px;color:#576b69}.barcode-scan-btn{margin-top:7px;align-self:flex-start}.page-header{display:flex;gap:15px;align-items:center;justify-content:space-between;margin:0 0 20px}.page-header .page-title{display:none}.page-header .page-subtitle{font-size:13px}.page-header h2{font-size:20px}.check-row{display:flex;gap:9px;align-items:center}.span-2{grid-column:span 2}.data-table input{min-width:80px;max-width:150px}@media(max-width:760px){.page-header{flex-wrap:wrap}.camera-scan-panel{inset:5vh 15px;max-height:90vh}.span-2{grid-column:auto}}
