:root{--navy:#142b3a;--navy-deep:#102331;--navy-muted:#9caeb9;--teal:#167b6b;--teal-dark:#106454;--teal-light:#eaf5f1;--text:#223340;--muted:#7a8892;--line:#e5ebee;--bg:#f6f8fa;--white:#fff;--red:#b84646;--shadow:0 12px 35px #2437440d;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;color:var(--text);background:var(--bg);font-size:16px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #54ac9d;outline-offset:3px}[hidden]{display:none!important}svg{display:block;width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:30px;line-height:1.25;margin-bottom:9px;font-weight:650}h2{font-size:23px;margin-bottom:8px}h3{font-size:16px;margin-bottom:6px}.muted{color:var(--muted);line-height:1.7}.eyebrow{font-size:12px;letter-spacing:.16em;font-weight:750;color:var(--teal);display:block;margin-bottom:15px}.brand{display:flex;align-items:center;gap:11px;color:white;font-size:25px;font-weight:750;letter-spacing:-1px}.brand-light{font-weight:450}.brand-mark{display:flex;align-items:center;justify-content:center;background:var(--teal);width:36px;height:36px;border-radius:10px;letter-spacing:-4px;padding-right:4px;color:white;font-size:26px;font-weight:650}.brand-mark>span{color:#a7dec7}.mini-dot{width:6px;height:6px;display:inline-block;background:#61b394;border-radius:50%;flex-shrink:0}.boot{min-height:100vh;display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:center;color:var(--muted)}.boot .brand-mark{width:48px;height:48px}.button{border:1px solid var(--line);border-radius:7px;padding:10px 15px;background:white;color:var(--text);font-weight:550;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:40px;transition:background .15s,transform .15s}.button:hover{background:#f8fafb}.button.primary{background:var(--teal);border-color:var(--teal);color:white;box-shadow:0 2px 3px #113d2210}.button.primary:hover{background:var(--teal-dark)}.button svg{width:17px;height:17px}.button.small{min-height:34px;font-size:14px;padding:7px 10px}.button.ghost{background:transparent;border:0;color:var(--teal)}.icon-button{width:34px;height:34px;padding:7px;background:transparent;border:0;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted)}.icon-button:hover{background:#f0f4f5;color:var(--text)}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;min-width:0}.field label,.field-label{font-size:14px;font-weight:600;color:#43535e}.field label .optional{font-weight:400;color:var(--muted)}input,select,textarea{color:var(--text);background:white;border:1px solid #dfe6e9;border-radius:6px;width:100%;padding:11px 12px;min-height:42px;transition:border .15s}input::placeholder,textarea::placeholder{color:#a0abb3}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px #167b6b12}input[type=checkbox]{width:16px;height:16px;min-height:0;margin:0;accent-color:var(--teal)}input[type=number]{font-variant-numeric:tabular-nums}textarea{resize:vertical;min-height:88px}small,.field-help{font-size:12px;line-height:1.6;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.span-two{grid-column:1/-1}.form-error{background:#fff1f0;border:1px solid #f3d7d4;border-radius:6px;color:#a33f35;padding:11px 13px;font-size:14px;line-height:1.6;margin:0 0 17px}.notice{background:#fff9ec;border:1px solid #eee1bf;border-radius:8px;padding:15px;margin-bottom:24px;font-size:14px;line-height:1.65}.notice p{margin:5px 0 0}.notice code{font-size:12px}.login-screen{min-height:100vh;display:grid;grid-template-columns:46% 54%;background:white}.login-story{min-height:100vh;background:var(--navy);position:relative;overflow:hidden;padding:48px 62px;display:flex;flex-direction:column;justify-content:space-between;color:white}.login-story:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 85% 65%,#27655b55,transparent 60%);pointer-events:none}.login-brand,.story-copy,.story-bottom{position:relative}.story-copy{margin:60px 0 35px;max-width:450px}.eyebrow.light{color:#88c3b1;font-size:12px;letter-spacing:.18em;margin-bottom:25px}.story-copy h1{font-size:clamp(32px,3.3vw,49px);line-height:1.2;font-weight:550;letter-spacing:-.05em;margin-bottom:24px}.story-copy>p{font-size:15px;line-height:1.8;color:#a9bec9;max-width:340px}.story-bottom{display:flex;gap:9px;align-items:center;font-size:12px;color:#a6b9c3}.story-graphic{height:235px;position:relative;margin-top:35px}.graphic-grid{position:absolute;inset:0;background-image:linear-gradient(#658d7c13 1px,transparent 1px),linear-gradient(90deg,#658d7c13 1px,transparent 1px);background-size:30px 30px;mask-image:radial-gradient(ellipse,black,transparent 70%)}.graphic-orbit{position:absolute;border:1px solid #6c9b8d33;border-radius:50%;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-25deg)}.orbit-one{width:285px;height:160px}.orbit-two{width:350px;height:215px}.graphic-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(-10deg);background:linear-gradient(145deg,#326c60,#245047);border:1px solid #5c9180;width:90px;height:90px;border-radius:22px;display:flex;align-items:center;justify-content:center;box-shadow:0 20px 40px #0002}.graphic-center svg{width:48px;height:48px;color:#c3e8d9;stroke-width:1.3}.graphic-chip{position:absolute;display:flex;gap:9px;align-items:center;font-size:12px;padding:13px 17px;background:#213e48;border:1px solid #44625f;border-radius:9px;box-shadow:0 8px 15px #0001;color:#d1dfdf}.chip-one{top:36px;left:6%}.chip-two{bottom:25px;right:0}.login-content{display:flex;align-items:center;justify-content:center;position:relative;padding:70px 42px}.login-form-wrap{width:100%;max-width:350px}.login-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:var(--teal-light);border-radius:12px;color:var(--teal);margin-bottom:27px}.login-icon svg{width:23px;height:23px}.login-form-wrap>.eyebrow{margin-bottom:13px}.login-form-wrap h2{font-size:28px;font-weight:650;margin-bottom:10px}.login-form-wrap>.muted{font-size:14px;margin-bottom:32px}.login-form-wrap .field{margin-bottom:21px}.login-form-wrap input{padding:13px 14px;min-height:47px}.password-input{position:relative}.password-input input{padding-right:45px}.password-input button{position:absolute;right:5px;top:5px;width:37px;height:37px;background:none;border:0;color:#95a1a9;padding:9px}.login-submit{width:100%;margin-top:6px;min-height:47px;justify-content:space-between}.login-help{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;color:#95a1a9;margin-top:24px}.login-help svg{width:13px;height:13px}.login-footer{position:absolute;bottom:28px;left:42px;right:42px;display:flex;justify-content:space-between;font-size:12px;color:#9aa6ae}.app-shell{display:flex;min-height:100vh}.sidebar{width:237px;position:fixed;top:0;bottom:0;left:0;background:var(--navy);color:white;z-index:30;padding:31px 19px 0;display:flex;flex-direction:column}.sidebar>.brand{margin-left:8px}.workspace-card{display:flex;align-items:center;gap:10px;background:#ffffff07;border:1px solid #ffffff10;border-radius:8px;padding:13px 11px;margin:33px 0 30px;min-height:61px}.workspace-avatar{display:flex;width:31px;height:31px;border-radius:7px;background:#ffffff09;justify-content:center;align-items:center;color:#b8c9d0;flex-shrink:0}.workspace-avatar svg{width:17px;height:17px}.workspace-card>div:nth-child(2){min-width:0;flex:1}.workspace-card strong{display:block;font-size:12px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550}.workspace-card span:not(.workspace-status){font-size:12px;color:#849ba8;display:block;margin-top:2px}.workspace-status{width:5px;height:5px;background:#69b093;border-radius:50%}.nav-label{font-size:12px;letter-spacing:.14em;color:#7d94a2;font-weight:600;margin:0 13px 12px}.nav-link{display:flex;align-items:center;gap:11px;color:#9db1bd;border-radius:6px;padding:12px 13px;margin:3px 0;font-size:14px;font-weight:500;position:relative;transition:background .15s,color .15s}.nav-link svg{width:18px;height:18px;stroke-width:1.6}.nav-link:hover{background:#ffffff07;color:white}.nav-link.active{background:#2a655747;color:#c6e8d8}.nav-link.active:after{content:"";position:absolute;right:13px;top:19px;height:5px;width:5px;background:#80c8a8;border-radius:50%}.nav-section-divider{height:1px;background:#ffffff0d;margin:21px 12px 21px}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-note{display:flex;align-items:center;gap:10px;padding:14px 9px 20px;color:#729586}.sidebar-note svg{width:18px;height:18px}.sidebar-note strong{font-size:12px;display:block;font-weight:500;color:#9db6b5;margin-bottom:4px}.sidebar-note span{font-size:12px;color:#6f8a98}.profile{display:flex;align-items:center;gap:9px;border-top:1px solid #ffffff0d;margin:0 -19px;padding:19px 17px}.avatar{width:32px;height:32px;background:#36505a;color:#d6e4e8;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;font-weight:650;font-size:12px}.profile>div{min-width:0;flex:1}.profile strong{display:block;font-size:12px;font-weight:550;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile>div span{font-size:12px;color:#7f96a3;display:block;margin-top:4px}.profile .icon-button{color:#829aa7}.profile .icon-button:hover{background:#ffffff0a;color:white}.profile .icon-button svg{width:17px;height:17px}.main-shell{margin-left:237px;flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:74px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:15px;flex-shrink:0}.topbar-left,.topbar-right{display:flex;align-items:center;gap:16px;font-size:12px}.breadcrumb-root{color:#8d9aa3}.breadcrumb-separator{color:#ccd4d9}.topbar-left>#breadcrumb-current{color:#566570;font-weight:550}.today{display:flex;align-items:center;gap:8px;color:#7a8892;font-size:12px}.today svg{width:14px;height:14px}.topbar-divider{width:1px;height:19px;background:var(--line);margin:0 3px}.live-label{color:#7a8892;font-size:12px;display:flex;align-items:center;gap:7px}.live-label .mini-dot{width:5px;height:5px}.menu-button{display:none}#main-content{padding:35px 36px 30px;flex:1;outline:none;max-width:1720px;width:100%;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading h1{font-size:27px;font-weight:650;margin-bottom:8px}.page-heading p{margin:0;font-size:14px;color:var(--muted);line-height:1.7}.page-heading .eyebrow{font-size:12px;letter-spacing:.13em;margin-bottom:12px}.heading-actions{display:flex;gap:9px;align-items:center}.heading-actions .button{font-size:12px}.summary-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat-card{border:1px solid var(--line);border-radius:9px;background:white;padding:19px 20px 17px;min-height:146px}.stat-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.stat-top>span{font-size:12px;font-weight:500;color:#75838e}.stat-icon{display:flex;align-items:center;justify-content:center;border-radius:8px;background:#eef4f6;color:#688698;width:32px;height:32px}.stat-icon svg{width:17px;height:17px}.stat-icon.green{color:#398979;background:#edf6f1}.stat-icon.purple{color:#8c7aaa;background:#f2eef8}.stat-icon.orange{color:#b49361;background:#fbf4e9}.stat-value{font-size:25px;font-weight:650;letter-spacing:-.05em;font-variant-numeric:tabular-nums;line-height:1.3;margin-bottom:10px;white-space:nowrap}.stat-foot{font-size:12px;color:#98a3ab;display:flex;align-items:center;gap:5px}.stat-foot .mini-dot{width:4px;height:4px;background:#a6b4bd}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(265px,1fr);gap:23px;align-items:start}.card{border:1px solid var(--line);background:white;border-radius:9px;overflow:hidden}.card-heading{display:flex;align-items:center;justify-content:space-between;padding:21px 23px 19px;gap:12px}.card-heading h2{font-size:15px;font-weight:650;margin:0 0 5px;letter-spacing:-.025em}.card-heading p{font-size:12px;color:#929ea7;margin:0;line-height:1.6}.card-heading .button{font-size:12px}.card-heading .subtle-label{font-size:12px;color:var(--muted)}.card-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:19px 23px;border-bottom:1px solid var(--line)}.search-input{position:relative;max-width:330px;flex:1}.search-input>svg{position:absolute;left:11px;top:11px;width:16px;height:16px;color:#99a5ae}.search-input input{padding:10px 10px 10px 35px;min-height:37px;font-size:12px;background:#fcfdfe;border-color:#e6ecef}.toolbar-filters{display:flex;align-items:center;gap:9px}.toolbar-filters select{padding:8px 28px 8px 11px;min-height:37px;font-size:12px;max-width:200px;background-color:white}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:12px;letter-spacing:.025em;text-transform:uppercase;font-weight:550;color:#87959f;background:#fafbfc;border-top:1px solid #eef2f4;border-bottom:1px solid #eef2f4;padding:13px 23px}td{font-size:12px;padding:17px 23px;border-bottom:1px solid #eff2f4;vertical-align:middle;color:#5d6e7b}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfd}td strong{font-weight:550;color:#344754}.table-primary{display:flex;align-items:center;gap:11px}.product-thumb{width:33px;height:33px;border-radius:7px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#f1f5f6;color:#87a298}.product-thumb svg{width:17px;height:17px}.table-primary strong{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;font-size:12px;margin-bottom:4px}.table-secondary{display:block;font-size:12px;color:#9aa6ae;margin-top:4px}.mono{font-variant-numeric:tabular-nums}.right{text-align:right}.center{text-align:center}.badge{font-size:12px;font-weight:550;padding:5px 8px;display:inline-flex;align-items:center;gap:5px;border-radius:4px;background:#edf6f0;color:#579578;white-space:nowrap;line-height:1.2}.badge .mini-dot{width:4px;height:4px;background:currentColor}.badge.gray{color:#8a97a0;background:#f0f3f5}.badge.blue{color:#6487a7;background:#edf4f9}.badge.orange{color:#ad905c;background:#fcf4e7}.badge.red{color:#b66d66;background:#fcf0ee}.badge.purple{color:#9480af;background:#f3eff8}.table-footer{border-top:1px solid var(--line);padding:15px 23px;color:#95a1aa;font-size:12px;display:flex;align-items:center;justify-content:space-between}.quick-actions{padding:0 20px 18px;display:flex;flex-direction:column;gap:9px}.quick-action{display:flex;align-items:center;gap:11px;border:1px solid #e8eeee;border-radius:7px;padding:13px;background:white;text-align:left;width:100%}.quick-action:hover{background:#f8fbfa;border-color:#caddd5}.quick-action-icon{background:var(--teal-light);color:#579581;width:34px;height:34px;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.quick-action-icon svg{width:17px;height:17px}.quick-action>div{flex:1}.quick-action strong{display:block;font-size:12px;font-weight:550;margin-bottom:4px}.quick-action span{font-size:12px;color:#929ea7}.quick-action>svg{width:14px;height:14px;color:#a4b2b9}.stack{display:flex;flex-direction:column;gap:22px}.info-card{display:flex;align-items:flex-start;gap:11px;border:1px solid #deebe5;background:#eff6f2;padding:17px 20px;border-radius:8px;color:#6b947c;margin-top:23px}.info-card>svg{width:18px;height:18px;flex-shrink:0;margin-top:1px}.info-card strong{display:block;color:#537b66;font-size:12px;font-weight:550;margin-bottom:5px}.info-card p{font-size:12px;line-height:1.75;margin:0;color:#85a090}.empty-state{padding:51px 25px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;min-height:210px}.empty-state .empty-icon{width:49px;height:49px;border:1px solid #e8eeee;background:#f8fbfa;color:#88a597;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:17px}.empty-state h3{font-size:14px;font-weight:600;color:#647985;letter-spacing:-.02em;margin-bottom:8px}.empty-state p{font-size:12px;line-height:1.8;color:#9aa7b0;max-width:330px;margin-bottom:0}.empty-state .button{margin-top:20px;font-size:12px}.empty-state.compact{padding:27px 20px;min-height:160px}.empty-state.compact .empty-icon{width:37px;height:37px;margin-bottom:11px}.empty-state.compact svg{width:17px;height:17px}.empty-state.compact h3{font-size:12px}.empty-state.compact p{font-size:12px}.low-stock-list{padding:0 23px 8px}.low-stock-item{display:flex;align-items:center;gap:10px;border-bottom:1px solid #edf1f3;padding:14px 0}.low-stock-item:last-child{border-bottom:0}.low-stock-item>div{flex:1;min-width:0}.low-stock-item strong{font-size:12px;font-weight:550;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.low-stock-item .badge{flex-shrink:0}.app-footer{display:flex;justify-content:space-between;gap:15px;padding:20px 36px;font-size:12px;color:#a1acb3}.footer-dot{margin:0 5px}.section-stats{display:flex;align-items:center;gap:17px;font-size:12px;color:#8796a0;margin-bottom:20px}.section-stats strong{font-weight:600;color:#3c5362;margin-right:4px}.section-stats>span+span{padding-left:17px;border-left:1px solid #dfe6ea}.form-body{padding:25px 29px}.form-footer{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding:19px 29px;background:#fbfcfd;border-top:1px solid var(--line)}.form-footer .button{font-size:14px}.check-field{display:flex;align-items:center;gap:9px;font-size:14px;color:#596e7c;margin:5px 0 8px}.permissions-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}.permission-card{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:13px;border-radius:7px;font-size:14px}.permission-card svg{width:17px;height:17px;color:#80958f}.permission-card span{flex:1}.permission-card:has(input:checked){background:#f4faf7;border-color:#c7e2d5}.form-section-title{font-size:14px;letter-spacing:0;font-weight:650;margin:4px 0 16px}.transaction-meta{display:grid;grid-template-columns:1fr 1fr 2fr;gap:15px}.transaction-meta .field{margin-bottom:15px}.transaction-line{background:#fafcfc;border:1px solid #e4ebec;border-radius:8px;padding:16px;margin:12px 0}.line-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:13px}.line-number{font-size:12px;font-weight:650;color:#7d919d}.line-remove{color:#ae8984}.line-grid{display:grid;grid-template-columns:minmax(170px,2fr) .7fr 1fr .7fr;gap:12px}.line-grid .field{margin-bottom:0}.line-grid label{font-size:12px}.line-grid input,.line-grid select{font-size:14px;padding:9px 10px;min-height:38px}.line-serials{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.line-serials .field{margin:0}.serial-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:9px;max-height:160px;overflow:auto}.serial-choice{display:flex;align-items:center;gap:7px;padding:8px;background:white;border:1px solid var(--line);border-radius:5px;min-width:0}.serial-choice span{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line-total{font-size:12px;color:#84959e;text-align:right;margin-top:12px}.line-total strong{font-size:14px;color:#3e5c68;margin-left:5px;font-variant-numeric:tabular-nums}.transaction-bottom{display:flex;justify-content:space-between;gap:30px;align-items:flex-start;margin-top:20px}.transaction-summary{min-width:245px;padding:15px 17px;border:1px solid #e4ebec;border-radius:7px;background:#fbfcfc}.summary-row{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#85959f;margin-bottom:11px}.summary-row strong{font-weight:550;color:#536c79;font-variant-numeric:tabular-nums}.summary-row.total{border-top:1px solid #e3eae8;padding-top:13px;margin-bottom:0;color:#2d6052;font-weight:600}.summary-row.total strong{font-size:18px;color:#246451;letter-spacing:-.04em}.transaction-help{max-width:420px;font-size:12px;line-height:1.7;color:#95a3ab}.detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:25px}.detail-meta small{display:block;margin-bottom:6px;font-size:12px}.detail-meta strong{font-size:14px;font-weight:550;line-height:1.6}.detail-note{background:#f7f9fa;border-radius:7px;padding:14px 17px;font-size:14px;color:#7c8d98;white-space:pre-wrap;margin:20px 0 0;line-height:1.7}.detail-serials{font-size:12px;max-width:290px;white-space:normal;line-height:1.7;color:#94a29d;display:block;margin-top:6px}.toast-region{position:fixed;right:25px;bottom:25px;z-index:100;display:flex;flex-direction:column;gap:10px;max-width:calc(100vw - 50px)}.toast{display:flex;align-items:center;gap:10px;padding:14px 18px;background:#183e34;border:1px solid #326a55;color:#e8f7ee;border-radius:8px;box-shadow:0 8px 30px #162a3a22;font-size:14px;max-width:410px;line-height:1.6;animation:toast-in .2s ease}.toast.error{background:#fff4f2;color:#a7574b;border-color:#f1d2cc}.toast svg{width:18px;height:18px;flex-shrink:0}.loading-state{padding:70px;display:flex;align-items:center;justify-content:center;gap:13px;color:var(--muted);font-size:14px}.spinner{width:19px;height:19px;border:2px solid #e0e9e4;border-top-color:var(--teal);border-radius:50%;animation:spin .75s linear infinite}.error-state{padding:50px 25px;text-align:center;color:#a5746c}.error-state p{font-size:14px;margin:10px 0 20px}.error-state>svg{margin:auto;width:30px;height:30px}.mobile-only{display:none}@keyframes spin{to{transform:rotate(360deg)}}@keyframes toast-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1500px){#main-content{padding-top:43px}.summary-cards{gap:23px}.stat-card{padding:23px 25px 21px;min-height:155px}}@media(max-width:1200px){.sidebar{width:218px;padding-left:15px;padding-right:15px}.profile{margin:0 -15px;padding-left:15px;padding-right:12px}.main-shell{margin-left:218px}#main-content{padding:28px 25px}.topbar{padding:0 25px}.summary-cards{gap:12px}.stat-card{padding:16px;min-height:140px}.stat-value{font-size:23px}.dashboard-grid{gap:17px;grid-template-columns:minmax(0,1.65fr) minmax(245px,1fr)}.card-heading{padding:19px}.card-toolbar{padding:17px 19px}td,th{padding-left:19px;padding-right:19px}.login-story{padding:40px}.app-footer{padding-left:25px;padding-right:25px}}@media(max-width:1000px){.summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.stack{display:grid;grid-template-columns:1fr 1fr;align-items:start}.login-screen{grid-template-columns:42% 58%}.login-story{padding:35px 25px}.story-copy h1{font-size:35px}.story-copy>p{font-size:14px}.story-graphic{transform:scale(.85);transform-origin:center}.chip-one{left:-5%}.today{display:none}.topbar-divider{display:none}.line-grid{grid-template-columns:2fr 1fr 1fr 1fr}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:237px}.sidebar.open{transform:translateX(0)}.sidebar-overlay{display:block;position:fixed;inset:0;background:#11293977;z-index:29;border:0}.main-shell{margin-left:0}.menu-button{display:flex}.topbar{height:63px;padding:0 17px}.topbar-left{gap:10px;font-size:12px}.breadcrumb-root{display:none}.breadcrumb-separator{display:none}.live-label{font-size:12px}.topbar-right{gap:8px}#main-content{padding:25px 18px}.page-heading{align-items:flex-start;gap:13px;margin-bottom:23px}.page-heading h1{font-size:24px}.page-heading p{font-size:12px;max-width:270px}.heading-actions .button{font-size:12px;padding:9px 11px;white-space:nowrap}.heading-actions .button svg{width:14px}.heading-actions .desktop-action{display:none}.page-heading .eyebrow{font-size:12px}.summary-cards{gap:11px;margin-bottom:18px}.stat-card{padding:15px;min-height:135px}.stat-value{font-size:24px}.stat-top>span{font-size:12px}.stat-foot{font-size:12px}.stat-icon{width:29px;height:29px}.dashboard-grid{gap:18px}.stack{display:flex;gap:18px}.card-heading{padding:19px 17px}td,th{padding-left:17px;padding-right:17px}.card-toolbar{padding:15px;align-items:flex-start;flex-direction:column}.search-input{max-width:none;width:100%}.toolbar-filters{width:100%}.toolbar-filters select{max-width:none;flex:1}.app-footer{padding:18px;font-size:12px}.app-footer>span:last-child{display:none}.section-stats{gap:11px;font-size:12px}.section-stats>span+span{padding-left:11px}.login-screen{display:block}.login-story{display:none}.login-content{min-height:100dvh;padding:70px 28px}.login-form-wrap{max-width:360px}.login-footer{left:28px;right:28px}.login-icon{margin-bottom:25px}.login-form-wrap h2{font-size:29px}.form-body{padding:20px}.form-footer{padding:16px 20px}.form-grid{gap:0 14px}.transaction-meta{grid-template-columns:1fr 1fr}.transaction-meta .field:last-child{grid-column:1/-1}.line-grid{grid-template-columns:repeat(3,1fr)}.line-grid>.field:first-child{grid-column:1/-1}.transaction-line{padding:13px}.line-grid{gap:10px}.transaction-bottom{flex-direction:column;gap:20px}.transaction-summary{width:100%}.serial-choices{grid-template-columns:repeat(2,1fr)}.detail-meta{grid-template-columns:1fr 1fr;gap:17px}.transaction-help{display:none}.toast-region{right:15px;bottom:15px;max-width:calc(100vw - 30px)}}@media(max-width:390px){.form-grid{grid-template-columns:1fr}.span-two{grid-column:auto}.permissions-grid{grid-template-columns:1fr}.stat-value{font-size:21px}.stat-top{gap:4px}.stat-icon{width:25px;height:25px}.stat-icon svg{width:14px}.page-heading h1{font-size:22px}.heading-actions .button{padding:9px}.line-grid{gap:7px}.line-grid input,.line-grid select{padding:9px 7px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Readable controls and table content at every viewport. */
.nav-link,.field label,.field-label,td,.table-primary strong,.line-grid input,.line-grid select,.line-grid label,.toolbar-filters select,.search-input input,.button,.heading-actions .button{font-size:14px}th,.table-secondary,.badge,.stat-foot{font-size:12px}.avatar-light{background:#eef3f2;color:#749787}.permissions-help{margin-top:7px}.transaction-help-spaced{margin-top:13px}.normal-weight{font-weight:400}.summary-cards.cards-0{display:none}.summary-cards.cards-1{grid-template-columns:1fr}.summary-cards.cards-2{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-cards.cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{min-height:157px}.stat-foot{line-height:1.5}.quick-action strong{font-size:14px}.profile strong,.workspace-card strong{font-size:13px}.profile>div span,.workspace-card span:not(.workspace-status){font-size:12px}.sidebar-note span{font-size:11px}.login-form-wrap input{font-size:16px}.line-grid{grid-template-columns:minmax(180px,2fr) .7fr 1fr .7fr}.line-grid input,.line-grid select{min-height:42px}.form-error,.transaction-help,.field-help,small{font-size:12px}.card-heading h2{font-size:16px}.login-footer{font-size:12px}.info-card p{font-size:12px}@media(max-width:760px){.summary-cards.cards-3{grid-template-columns:repeat(2,minmax(0,1fr))}.line-grid{grid-template-columns:repeat(3,1fr)}.heading-actions .button{font-size:12px}.stat-card{padding:14px}.stat-top{gap:6px}.stat-top>span{font-size:12px}.stat-value{font-size:23px}.stat-foot{font-size:11px}.transaction-meta input,.transaction-meta select{font-size:14px}.line-grid input,.line-grid select{font-size:14px}}

/* Full page forms, barcode labels and filterable reports. */
.sidebar{overflow-y:auto}.sidebar-bottom{padding-top:20px}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin-bottom:20px}.back-link svg{width:15px;height:15px;transform:rotate(180deg)}.back-link:hover,.text-link:hover{color:var(--teal-dark)}.text-link{font-size:12px;color:var(--teal);line-height:1.6}.form-page-heading{align-items:flex-end}.form-page-heading h1{margin-bottom:0}.form-page-heading>.button{margin-bottom:4px;font-size:14px}.form-page{max-width:920px;margin:0}.form-page-wide{max-width:none}.form-page .form-body{padding:28px}.form-page .form-footer{padding:20px 28px}.form-page input,.form-page select,.form-page textarea{font-size:14px}.form-page .form-grid{gap:0 24px}.row-actions{display:flex;justify-content:flex-end;gap:5px}.input-action{display:flex;gap:8px;align-items:stretch}.input-action input{min-width:0}.input-action .button{white-space:nowrap;font-size:12px;padding:8px 10px}.input-action .button svg{width:17px;height:17px}.permission-description{display:block;margin-top:4px;font-weight:400}.barcode-page{display:flex;flex-direction:column;align-items:flex-start;gap:20px}.barcode-page h2{font-size:22px;margin-bottom:6px}.barcode-page .eyebrow{margin-bottom:10px}.barcode-page .muted,.barcode-page .field-help{margin-bottom:0}.barcode-label{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;background:#fff;border:1px dashed #b9c9c3;padding:24px;max-width:100%;min-width:290px;border-radius:6px;text-align:center}.barcode-label strong{font-size:16px;font-weight:600;word-break:break-word}.barcode-label img{max-width:100%;max-height:120px;display:block}.barcode-label .mono{font-size:16px;letter-spacing:.12em;word-break:break-all}.report-tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);margin-bottom:23px;overflow-x:auto;overflow-y:hidden;min-height:48px}.report-tab{display:inline-flex;align-items:center;gap:9px;padding:12px 17px 15px;color:var(--muted);font-size:14px;white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-1px}.report-tab svg{width:17px;height:17px}.report-tab.active{color:var(--teal);border-color:var(--teal);font-weight:600}.report-tab:hover{color:var(--teal)}.report-filters{margin-bottom:24px;padding:23px}.report-filter-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:21px}.report-filter-heading h2{font-size:16px;font-weight:650;margin-bottom:6px}.report-filter-heading p{font-size:12px;color:var(--muted);margin-bottom:0;line-height:1.6}.range-presets{display:flex;gap:6px;flex-shrink:0}.range-presets .button{font-size:12px}.report-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 17px}.report-filter-grid .field{margin-bottom:17px}.report-filter-grid input,.report-filter-grid select{font-size:14px;padding:10px;min-height:42px}.report-filter-grid label{font-size:12px}.report-filter-footer{border-top:1px solid var(--line);padding-top:17px;display:flex;align-items:center;justify-content:space-between;gap:20px}.report-filter-footer p{font-size:12px;color:var(--muted);line-height:1.6;margin:0;max-width:560px}.report-filter-footer>div{display:flex;gap:8px;flex-shrink:0}.report-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin-bottom:24px}.report-metrics .stat-card{min-height:135px}.report-metrics .stat-value{font-size:24px;white-space:normal;overflow-wrap:anywhere}.report-explanation{display:flex;gap:9px;align-items:flex-start;padding:13px 23px;background:#f3f8f6;border-top:1px solid #e7efeb;font-size:12px;color:#719082;line-height:1.7}.report-explanation svg{width:16px;height:16px;flex-shrink:0;margin-top:2px}.report-explanation p{margin:0;max-width:1100px}.report-table{max-height:650px;overflow:auto}.report-table th{position:sticky;top:0;z-index:1}.report-table td{padding-top:14px;padding-bottom:14px}.report-pagination>div{display:flex;gap:7px}.report-pagination{gap:15px}.report-pagination .button{font-size:12px}.report-pagination .table-secondary{font-size:12px}.form-footer .button{font-size:14px}.form-page .transaction-help{display:block}.form-page .permissions-grid{margin-top:15px}.form-page .permissions-help{max-width:690px}
@media(max-width:1100px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-footer{align-items:flex-start}.report-metrics .stat-value{font-size:23px}.input-action{flex-wrap:wrap}.input-action>.button{align-self:flex-start}.input-action input{flex-basis:100%}}
@media(max-width:760px){.form-page-heading{align-items:flex-end}.form-page-heading>.button{font-size:12px;white-space:nowrap;padding:9px 11px}.form-page .form-body{padding:20px}.form-page .form-footer{padding:17px 20px;flex-wrap:wrap}.form-page .form-grid{grid-template-columns:1fr;gap:0}.form-page .span-two{grid-column:auto}.form-page-heading .eyebrow{font-size:11px}.back-link{margin-bottom:15px}.report-tabs{gap:0;margin-bottom:18px}.report-tab{padding:11px 12px 13px;font-size:12px}.report-filters{padding:18px}.report-filter-heading{flex-direction:column;gap:13px}.report-filter-grid{gap:0 12px}.report-filter-footer{flex-direction:column;gap:13px}.report-filter-footer>div{width:100%;justify-content:flex-end}.report-metrics{gap:11px}.report-metrics .stat-card{padding:15px;min-height:125px}.report-metrics .stat-value{font-size:22px}.report-explanation{padding:12px 17px}.report-pagination{padding:15px;align-items:flex-start;flex-wrap:wrap}.report-pagination>div{margin-left:auto}.barcode-label{min-width:0;width:100%;padding:18px}.barcode-page .muted{font-size:12px}.form-page .transaction-help{display:block}.form-page .transaction-meta{grid-template-columns:1fr 1fr}.form-page .line-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.form-page .line-grid>.field:first-child{grid-column:1/-1}.form-page .line-grid input{min-width:0}}
@media(max-width:440px){.report-filter-grid{grid-template-columns:1fr}.report-metrics{grid-template-columns:1fr 1fr}.report-metrics .stat-value{font-size:19px}.form-page-heading h1{font-size:22px}.form-page .permissions-grid{grid-template-columns:1fr}.form-page .form-footer .button{flex:1}.report-tabs svg{display:none}}

.report-filter-pending{margin:0 0 16px;padding:11px 13px;border:1px solid var(--line);border-radius:6px;background:#f7f9fa;color:#5d6e7b;font-size:12px;line-height:1.7}

/* Simple entry forms and reports. */
.page-heading{margin-bottom:22px}.page-heading h1{margin-bottom:0}.form-page-heading .back-link{margin-bottom:12px}.stat-card{min-height:110px}.stat-value{margin-bottom:0}.metric-label{display:block;color:#6b7b85;font-size:13px;margin-bottom:10px}.report-metrics .stat-card{min-height:96px;padding:17px 20px}.report-metrics{margin-bottom:18px}.report-filter-heading{align-items:center;margin-bottom:17px}.report-filters{padding:20px;margin-bottom:18px}.report-filter-grid label{font-size:13px}.report-advanced{margin-bottom:15px}.report-advanced summary{cursor:pointer;color:var(--teal);font-size:13px;padding:1px 0 14px;list-style-position:inside}.report-advanced[open] summary{padding-bottom:17px}.report-advanced .badge{margin-left:5px}.report-filter-footer{gap:15px;padding-top:15px}.report-table td{padding:14px 17px}.report-table th{padding:13px 17px}.report-table .table-secondary{color:#748590;line-height:1.5}.report-table td:first-child{white-space:normal;min-width:150px;max-width:280px}.report-table td:first-child strong{overflow-wrap:anywhere}.report-table td:first-child .table-secondary{overflow-wrap:anywhere}.report-filter-grid .field{margin-bottom:16px}th{text-transform:none;letter-spacing:0;font-size:13px}.field-label-row{display:flex;justify-content:space-between;gap:10px;align-items:center;min-height:20px}.text-button{border:0;background:transparent;padding:0;color:var(--teal);font-size:12px;white-space:nowrap}.text-button:hover{text-decoration:underline}.inline-entry{padding:13px;background:#f6f9f8;border:1px solid var(--line);border-radius:7px;display:flex;flex-direction:column;gap:9px;margin-top:3px}.inline-entry .form-error{margin:0}.form-section-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:18px 0 12px}.form-section-heading h3{margin:0;font-size:15px;font-weight:600;letter-spacing:0}.price-note{font-size:12px;color:#70867a;line-height:1.5}.sale-scanner{background:#f4f9f7;border:1px solid #dcebe3;border-radius:8px;padding:16px;margin:4px 0 23px}.sale-scanner>label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}.scan-feedback{font-size:13px;color:#427c65;line-height:1.5;margin:10px 0 0}.scan-feedback.error{color:#a33f35}.scan-match{display:flex;flex-direction:column;gap:5px;text-align:left;background:white;border:1px solid var(--line);border-radius:6px;padding:11px 13px;width:100%;margin:7px 0}.scan-match:hover{border-color:var(--teal)}.scan-match strong{font-size:14px;font-weight:550}.scan-match>span{font-size:12px;color:var(--muted)}#scan-matches{margin-top:12px}.serial-search-input{margin-top:10px;max-width:540px}.serial-search-input>small{display:block;margin-top:5px}.selected-serials{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.selected-serial{display:inline-flex;gap:5px;align-items:center;padding:4px 5px 4px 10px;background:#e6f1eb;color:#356955;border:1px solid #c9dfd1;border-radius:5px;font-size:12px;max-width:100%;overflow-wrap:anywhere}.selected-serial .icon-button{width:23px;height:23px;padding:4px;flex-shrink:0;color:#608372}.selected-serial svg{width:14px;height:14px}.serial-choice:has(input:checked){background:#eef8f1;border-color:#bddbc9}.serial-choices{max-height:180px;grid-template-columns:repeat(3,minmax(0,1fr))}.serial-choices:empty,.selected-serials:empty{display:none}.line-serials small{display:block;margin-top:6px}.summary-row.total{border-top:0;padding-top:0}.included-vat{margin-top:10px;margin-bottom:0;font-size:12px}.edit-rule{padding:12px 15px;background:#f6f8fa;border:1px solid var(--line);border-radius:6px;color:#627680;font-size:13px;line-height:1.6;margin:17px 0}.transaction-meta{grid-template-columns:1fr 2fr}.transaction-meta:has(#field-payment_type){grid-template-columns:1fr 1fr 2fr}.transaction-summary{min-width:245px}.detail-serials{color:#648270}.quick-action strong{margin-bottom:0}
@media(min-width:761px){.sale-scanner .input-action,.inline-entry .input-action{flex-wrap:nowrap}.sale-scanner .input-action input,.inline-entry .input-action input{flex-basis:auto}}
@media(max-width:1000px){.report-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.report-advanced .report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.serial-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.report-filter-heading{flex-direction:row;align-items:center;gap:8px}.report-filter-heading .price-note{display:none}.report-filter-grid,.report-advanced .report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filter-grid>.field:last-child:nth-child(odd){grid-column:1/-1}.report-filters{padding:16px}.report-metrics .stat-card{min-height:88px;padding:15px}.report-metrics{gap:10px}.report-metrics .stat-value{font-size:21px}.form-section-heading{align-items:flex-start}.form-section-heading .price-note{text-align:right}.sale-scanner .input-action{flex-wrap:nowrap}.sale-scanner .input-action input{flex-basis:auto}.sale-scanner .input-action .button{font-size:12px;padding:10px;white-space:nowrap}.sale-scanner .input-action svg{display:none}.sale-scanner{padding:13px}.form-page .transaction-meta,.form-page .transaction-meta:has(#field-payment_type){grid-template-columns:1fr 1fr}.stat-card{min-height:105px}.serial-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.report-filter-grid,.report-advanced .report-filter-grid{grid-template-columns:1fr}.report-filter-grid>.field:last-child:nth-child(odd){grid-column:auto}.serial-choices{grid-template-columns:1fr}.sale-scanner .input-action{flex-wrap:wrap}.sale-scanner .input-action input{flex-basis:100%}.report-metrics .stat-value{font-size:19px}}

/* FIFO stock information stays beside the relevant line. */
.fifo-entry-note{font-size:12px;color:#75877d;line-height:1.6;margin:0 0 12px}.fifo-line-note{display:flex;flex-direction:column;gap:3px;margin-top:12px;font-size:12px;line-height:1.6;color:#71857a}.detail-fifo{display:block;max-width:340px;white-space:normal;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:#74877e;margin-top:6px}.form-page input[readonly]{background:#f2f5f5;color:#71808a}.detail-fifo .text-link{font-size:inherit}

.product-cost-summary{margin:4px 0 20px;padding:16px 18px;border:1px solid var(--line);border-radius:7px;background:#f8faf9}.product-cost-summary dl{display:flex;flex-wrap:wrap;gap:16px 36px;margin:0}.product-cost-summary dt{font-size:12px;color:#708078;line-height:1.6}.product-cost-summary dd{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums;color:#355b48;margin:5px 0 0}.product-cost-summary p{font-size:12px;color:#819087;line-height:1.6;margin:12px 0 0}

/* The selected company and package status remain visible across pages. */
.company-context{margin:20px 36px 0;padding:14px 18px;background:#edf6f2;border:1px solid #d5e7dc;border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:15px}.company-context small{display:block;font-size:12px;color:#6a8878;margin-bottom:4px}.company-context strong{font-size:15px;font-weight:600;color:#335c45;line-height:1.5}.company-context strong>span{font-weight:400}.company-context .button{flex-shrink:0}.package-notice{margin:20px 36px 0;padding:15px 18px;background:#fff6ee;border:1px solid #efd8c4;border-radius:8px;color:#8f5b34}.package-notice>div{display:flex;align-items:center;gap:9px}.package-notice strong{font-size:14px;font-weight:600}.package-notice svg{width:18px;height:18px;flex-shrink:0}.package-notice p{font-size:13px;line-height:1.7;margin:7px 0 0}.package-notice.manager-exception{background:#f6f8fa;border-color:#dce4e8;color:#617584}.report-choices{border:0;padding:0;margin:0 0 21px;min-width:0}.report-choices legend{font-size:14px;font-weight:600;margin-bottom:10px;color:#425b4e}.report-choices>div{display:flex;flex-wrap:wrap;gap:7px}.report-choices label{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:6px;font-size:14px;cursor:pointer}.report-choices input{width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:var(--teal)}.report-choices label:has(input:checked){background:#edf6f1;border-color:#93bcaa;color:#2f7058;font-weight:600}.report-filter-heading>strong{font-size:14px;font-weight:600;color:#627b6c}#report-payment-field{min-width:0}.report-filter-footer .field-help{max-width:560px}.form-page input:disabled,.form-page select:disabled,.form-page textarea:disabled{color:#7b8790;background:#f4f6f7;cursor:not-allowed}.button:disabled{cursor:not-allowed}
@media(max-width:1200px){.company-context,.package-notice{margin-left:25px;margin-right:25px}}
@media(max-width:760px){.company-context,.package-notice{margin:16px 18px 0;padding:13px 14px}.company-context{align-items:flex-start}.company-context strong{font-size:14px}.company-context .button{font-size:12px;padding:8px}.company-context .button svg{display:none}.package-notice strong{font-size:13px}.package-notice p{font-size:12px}.report-choices{margin-bottom:18px}.report-choices>div{gap:6px}.report-choices label{padding:9px 10px;font-size:12px}.report-filter-heading{flex-wrap:wrap}.report-filter-heading>strong{font-size:13px}}
:root { --audit-danger: #a52828; }
.button.danger { color: var(--audit-danger); border-color: #e4b5b5; }
.audit-details { white-space: pre-wrap; overflow-wrap: anywhere; min-width: 260px; max-width: 560px; max-height: 360px; overflow: auto; font-size: 12px; }

/* Reports: clear report choices, compact summaries and grouped table values. */
.report-page-heading p{margin:8px 0 0;color:var(--muted);font-size:14px;line-height:1.6}
.report-kind-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:0;overflow:visible;margin-bottom:20px}
.report-kind-cards .report-tab{display:flex;align-items:flex-start;white-space:normal;gap:12px;padding:16px;margin:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--text);font-weight:400;min-width:0}
.report-kind-cards .report-tab>svg{display:block;flex-shrink:0;width:20px;height:20px;margin-top:1px;color:var(--muted)}
.report-kind-cards .report-tab strong{display:block;font-size:14px;font-weight:600;line-height:1.5}
.report-kind-cards .report-tab small{display:block;font-size:12px;color:var(--muted);font-weight:400;line-height:1.6;margin-top:3px}
.report-kind-cards .report-tab.active{background:var(--teal-light);border-color:#88bcb0;box-shadow:inset 0 0 0 1px #88bcb0}
.report-kind-cards .report-tab.active strong,.report-kind-cards .report-tab.active>svg{color:var(--teal-dark)}
.report-kind-cards .report-tab:hover{border-color:#88bcb0}
.report-summary-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:26px 0 12px}
.report-summary-heading h2{font-size:16px;font-weight:600;margin:0}
.report-summary-heading>span{font-size:12px;color:var(--muted)}
.report-metrics .stat-card{display:flex;flex-direction:column;gap:9px;min-height:122px;padding:18px 20px}
.report-metrics .stat-value{margin:0;line-height:1.25;font-size:26px;letter-spacing:-.5px}
.report-metrics .report-primary-metric{background:#edf6f2;border-color:#d0e7dd}
.report-primary-metric .stat-value{color:var(--teal-dark)}
.report-metric-help{display:block;margin-top:auto;font-size:11px;line-height:1.5;color:#788991}
.report-compact-table table{min-width:680px;width:100%}
.report-compact-table th{font-weight:600}
.report-compact-table th .table-secondary{font-size:11px;font-weight:400;margin-top:3px}
.report-compact-table td{vertical-align:top}
.report-compact-table td strong{font-weight:600;line-height:1.6}
.report-compact-table td .table-secondary{margin-top:3px;font-size:12px;line-height:1.6}
.report-compact-table td:not(:first-child) .table-secondary{max-width:260px;white-space:normal;overflow-wrap:anywhere}
.report-stock-value{color:var(--teal-dark)}
.report-pagination>div{align-items:center}
.report-page-number{font-size:12px;color:var(--muted);padding:0 5px;white-space:nowrap}
#report-results .card-heading{gap:20px;align-items:flex-start}
#report-results .card-heading p{max-width:750px;font-size:12px;line-height:1.7}
#report-results .card-heading>.subtle-label{white-space:nowrap;font-size:11px}
@media(max-width:1100px){.report-kind-cards .report-tab{padding:14px;gap:8px}.report-kind-cards .report-tab>svg{width:17px;height:17px}.report-metrics .stat-value{font-size:23px}}
@media(max-width:760px){.report-kind-cards{grid-template-columns:1fr;gap:8px;margin-bottom:16px}.report-kind-cards .report-tab{padding:12px 14px;align-items:center}.report-kind-cards .report-tab>svg{width:20px;height:20px;margin:0}.report-kind-cards .report-tab strong{font-size:13px}.report-kind-cards .report-tab small{font-size:11px;margin-top:1px}.report-page-heading p{font-size:12px}.report-summary-heading{margin-top:22px}.report-summary-heading>span{font-size:11px}.report-metrics .stat-card{padding:14px;min-height:119px}.report-metrics .stat-value{font-size:22px}.report-metric-help{font-size:10px}#report-results .card-heading{flex-direction:column;gap:9px}#report-results .card-heading p{margin-bottom:0}}
@media(max-width:430px){.report-summary-heading{align-items:flex-start;flex-direction:column;gap:5px}.report-metrics .stat-value{font-size:20px}.report-metrics .stat-card{padding:12px}.report-metrics .metric-label{font-size:12px}}

/* Account recovery shares the existing sign-in layout. */
.password-recovery-link{display:block;width:fit-content;margin:18px auto 0;color:var(--teal-dark);font-size:14px;text-decoration:underline;text-underline-offset:3px;line-height:1.6}
.password-recovery-success{padding:14px 16px;margin:18px 0;border:1px solid #c7e3d8;border-radius:7px;background:var(--teal-light);color:var(--teal-dark);font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.password-recovery-hint{color:var(--muted);font-size:12px;line-height:1.7;margin:14px 0}
.password-recovery-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 18px}
.password-recovery-actions .password-recovery-link{margin-left:0;margin-right:0}
#password-reset-invalid{margin:18px 0;line-height:1.7}
#password-reset-panel .field input{width:100%}
.account-link{min-height:44px;margin:0 0 12px}
.account-link>[data-icon]{display:flex;align-items:center}

/* Reports put one question and one time range before the numbers. */
.report-simple-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.report-simple-tabs .report-tab{align-items:center;padding:17px 16px;gap:11px;box-shadow:none}
.report-simple-tabs .report-tab strong{font-size:15px}
.report-simple-tabs .report-tab small{font-size:12px;margin-top:4px}
.report-simple-tabs .report-tab>svg{width:22px;height:22px;margin:0}
.report-simple-filters{padding:0 22px;margin-bottom:0}
.report-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0}
.report-time-choice{display:flex;align-items:center;gap:18px}
.report-time-choice>strong{font-size:14px;white-space:nowrap}
.report-simple-filters .range-presets{display:flex;flex-wrap:wrap;gap:6px}
.report-simple-filters .range-presets .button{padding:9px 13px;font-size:13px}
.report-simple-filters .range-presets .selected{background:var(--teal);border-color:var(--teal);color:#fff}
.report-applied-range{font-size:12px;color:var(--muted);white-space:nowrap}
.report-custom-dates{padding:0 0 18px}
.report-custom-dates>strong{display:block;margin-bottom:12px;font-size:13px;color:var(--muted)}
.report-custom-fields{display:grid;grid-template-columns:minmax(0,220px) minmax(0,220px) auto;align-items:end;justify-content:start;gap:12px}
.report-custom-fields .field{margin:0}
.report-custom-fields .button{min-height:42px}
.report-quick-search{display:flex;align-items:end;gap:10px;max-width:620px;padding:0 0 18px}
.report-quick-search>.field{flex:1;min-width:0;margin:0}
.report-quick-search>.button{min-height:42px}
.report-extra-filters{border-top:1px solid var(--line);padding:13px 0}
.report-extra-filters>summary,.report-money-details>summary{width:fit-content;cursor:pointer;font-size:13px;color:var(--teal-dark);font-weight:600;line-height:1.7}
.report-extra-hint{font-size:12px;font-weight:400;color:var(--muted);margin-left:14px}
.report-extra-filters[open]>summary{margin-bottom:20px}
.report-extra-filters .report-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.report-extra-filters .field{margin:0}
.report-extra-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.report-simple-filters .report-filter-pending{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;background:#fff7e9;color:#8b5d23;border-radius:6px;margin:0 0 15px;font-size:13px}
.report-simple-filters [hidden]{display:none!important}
.report-simple-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.report-simple-metrics.four-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.report-simple-metrics .stat-card{min-height:137px;padding:22px;gap:13px}
.report-simple-metrics .metric-label{font-size:14px;color:#4a6069;font-weight:500}
.report-simple-metrics .stat-value{display:flex;align-items:baseline;gap:7px;flex-wrap:wrap;font-size:29px;letter-spacing:-.7px}
.report-unit{font-size:13px;font-weight:400;color:#6b7f86;letter-spacing:0}
.report-simple-metrics .report-metric-help{font-size:12px}
.report-simple-table table{width:100%;min-width:510px}
.report-simple-table th{font-size:13px;font-weight:600;padding-top:15px;padding-bottom:15px}
.report-simple-table td{font-size:14px;padding-top:17px;padding-bottom:17px;vertical-align:top;font-variant-numeric:tabular-nums}
.report-simple-table .table-secondary{font-size:11px;font-weight:400;margin-top:4px;color:var(--muted);line-height:1.6}
.report-simple-table td strong{font-weight:600}
.report-result-card{margin-top:20px}
#report-results .report-result-card .card-heading{align-items:center;padding-top:21px;padding-bottom:21px;gap:15px}
#report-results .report-result-card .card-heading h2{font-size:16px}
#report-results .report-result-card .card-heading p{margin:6px 0 0;font-size:12px}
.report-result-card .card-heading .button{white-space:nowrap;flex-shrink:0}
.report-money-details{border-top:1px solid var(--line);padding:17px 23px}
.report-money-details>p{font-size:12px;line-height:1.7;color:var(--muted);margin:13px 0}
.report-money-details .table-scroll{margin:0 -23px}
.report-money-details table{min-width:600px}
.report-bottom-note{font-size:12px;line-height:1.8;color:#74848e;margin:14px 0 0}
.report-has-pending .report-simple-metrics,.report-has-pending .report-result-card{opacity:.55}
input[data-money-input]{font-variant-numeric:tabular-nums}
input[data-money-input][aria-invalid="true"]{border-color:#bf5b55;background:#fff8f7}
.field .money-input-error{color:#a64138;font-size:12px;line-height:1.5;margin-top:6px}
.sale-purchase-cost{display:grid;gap:5px;margin-top:10px;padding:10px 12px;border:1px solid #d8e9e3;border-radius:7px;background:var(--teal-light);font-size:12px;line-height:1.5;color:var(--teal-dark)}
.sale-purchase-cost>strong{font-size:17px;font-variant-numeric:tabular-nums}
.sale-purchase-cost .purchase-cost-tax{font-size:11px;white-space:nowrap}
.field .sale-purchase-cost small{margin:0;color:#657d77;font-size:11px;line-height:1.5}
.purchase-cost-retry{justify-self:start;border:0;padding:0;background:none;color:var(--teal-dark);text-decoration:underline;font-size:12px}
@media(max-width:1150px){.report-simple-tabs .report-tab{padding:14px 11px;gap:8px}.report-simple-tabs .report-tab>svg{width:19px;height:19px}.report-simple-tabs .report-tab strong{font-size:14px}.report-simple-tabs .report-tab small{font-size:11px}.report-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.report-applied-range{margin-left:100px}.report-simple-metrics .stat-card{padding:18px}.report-simple-metrics .stat-value{font-size:25px}}
@media(max-width:760px){.report-simple-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.report-simple-tabs .report-tab{padding:13px}.report-simple-tabs .report-tab small{font-size:11px}.report-simple-filters{padding:0 15px}.report-time-choice{display:block;width:100%}.report-time-choice>strong{display:block;margin-bottom:10px}.report-applied-range{margin-left:0;font-size:11px}.report-simple-filters .range-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}.report-simple-filters .range-presets .button{padding:10px 6px;font-size:12px;white-space:nowrap}.report-extra-hint{display:none}.report-custom-fields{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.report-custom-fields>.button{grid-column:1/-1}.report-extra-filters .report-filter-grid{grid-template-columns:1fr 1fr}.report-simple-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.report-simple-metrics>.report-primary-metric{grid-column:1/-1}.report-simple-metrics.four-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-simple-metrics.four-metrics>.report-primary-metric{grid-column:auto}.report-simple-metrics .stat-card{padding:16px;min-height:118px;gap:9px}.report-simple-metrics .report-primary-metric{min-height:128px}.report-simple-metrics .report-primary-metric .stat-value{font-size:30px}.report-simple-metrics .metric-label{font-size:13px}.report-simple-metrics .report-metric-help{font-size:11px}.report-simple-metrics .stat-value{font-size:24px}#report-results .report-result-card .card-heading{flex-direction:row;align-items:center;padding:17px}.report-result-card .card-heading .button{font-size:11px;padding:8px}.report-result-card .card-heading .button svg{display:none}.report-simple-table td,.report-simple-table th{padding-left:16px;padding-right:16px}.report-money-details{padding-left:17px;padding-right:17px}.report-money-details .table-scroll{margin-left:-17px;margin-right:-17px}.report-simple-filters .report-filter-pending{align-items:stretch;flex-direction:column}.report-bottom-note{font-size:11px}}
@media(max-width:430px){.report-extra-filters .report-filter-grid{grid-template-columns:1fr}.report-simple-tabs .report-tab{padding:12px 10px}.report-simple-tabs .report-tab>svg{display:none}.report-simple-tabs .report-tab strong{font-size:14px}.report-simple-tabs .report-tab small{font-size:11px}}
