@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--green:#143d2a;--green-dark:#0e2b20;--lime:#d5ed9c;--paper:#f4f6f2;--white:#fff;--ink:#23382b;--muted:#7a847d;--line:#e4e9e2;--radius:14px;--shadow:0 6px 30px #18392106;font-family:'DM Sans',system-ui,sans-serif;color:var(--ink);font-size:14px;line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--paper)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #91b357;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #91b357;outline-offset:1px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Manrope',system-ui,sans-serif}h1{font-size:32px;letter-spacing:-1.25px;line-height:1.25;font-weight:750;margin-bottom:10px}h2{font-size:17px;letter-spacing:-.4px;margin-bottom:0}h3{font-size:16px;letter-spacing:-.3px}h4{font-size:13px}p{margin-bottom:16px}small{font-size:11px}.muted{color:var(--muted)}.pre-wrap{white-space:pre-wrap}.wide{grid-column:1/-1}.text-warning{color:#a46d25}.text-danger{color:#b14739}.text-success{color:#438354}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;text-transform:uppercase;color:#7b8b72;margin-bottom:12px}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:10px 15px;min-height:40px;background:#fff;border:1px solid var(--line);border-radius:8px;color:var(--ink);font-weight:600;font-size:12px;white-space:nowrap;line-height:1.5}.button:hover{background:#f0f4ed;text-decoration:none;border-color:#ccd7c7}.button.primary{background:var(--green);color:#fff;border-color:var(--green)}.button.primary:hover{background:#20553a}.button.full{width:100%}.icon-button{border:0;background:none;color:inherit;font-size:23px;padding:3px 10px;border-radius:6px;min-width:36px;min-height:36px}.icon-button:hover{background:#dce5d54d}.button+.button{margin-left:5px}.check{display:flex!important;align-items:center;gap:8px!important;font-weight:400!important}.check input{width:16px!important;min-height:16px!important;accent-color:var(--green);margin:0!important}.skip{position:fixed;top:-70px;background:var(--green);color:white;z-index:100;padding:10px}.skip:focus{top:0}.app-shell{display:flex;min-height:100vh}#sidebar{width:246px;flex-shrink:0;position:fixed;inset:0 auto 0 0;background:var(--green);color:#e7eddf;padding:35px 20px 22px;display:flex;flex-direction:column;z-index:30;overflow:auto}.brand{display:flex;align-items:center;gap:11px;color:inherit;font-size:21px;font-family:'Manrope',sans-serif;font-weight:800;letter-spacing:1.5px;line-height:1.3}.brand:hover{text-decoration:none}.brand-mark{font-family:Georgia,serif;font-size:41px;letter-spacing:-4px;border-radius:10px;color:var(--lime);width:45px;height:47px;line-height:47px}.brand-sub{display:block;font-size:8px;letter-spacing:2px;font-family:'DM Sans',sans-serif;font-weight:500;color:#c1d3b9;margin-top:3px}.workspace-label{margin:30px 0 24px;padding:13px 10px;border:1px solid #ffffff1d;border-radius:8px;display:flex;align-items:center;gap:9px;font-size:12px;color:#d0dfc8}.workspace-label i,.connection i{height:6px;width:6px;background:#b3da73;display:inline-block;border-radius:50%}.workspace-label span{margin-left:auto;font-size:9px;letter-spacing:1px;opacity:.6}.nav-label{font-size:8px;letter-spacing:1.7px;color:#8fa88b;padding:21px 12px 9px}#navigation{display:flex;flex-direction:column;gap:4px}#navigation a{color:#b5cbb4;display:flex;align-items:center;gap:12px;padding:11px 12px;font-size:12px;border-radius:7px;min-height:41px}#navigation a:hover{background:#ffffff09;text-decoration:none;color:white}#navigation a.active{color:var(--green);background:var(--lime);font-weight:650}#navigation a svg{opacity:.85}#navigation .nav-count{margin-left:auto;font-size:10px;border-radius:4px;background:#ffffff15;padding:0 5px}.sidebar-bottom{margin-top:auto;padding:38px 10px 0}.sidebar-bottom>a{font-size:12px;color:#bad0b4}.factory-note{border-top:1px solid #ffffff16;padding:20px 0 10px}.factory-note>span{font-size:7px;letter-spacing:1.5px;color:#8eaa88}.factory-note p{font-size:12px;color:#c9d8c2;margin-top:9px;line-height:1.8}.workspace{width:calc(100% - 246px);margin-left:246px;min-width:0;display:flex;flex-direction:column}.topbar{height:77px;background:#fdfefb;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:15px}.breadcrumb{font-size:11px;color:#929b93;display:flex;align-items:center;gap:17px}.breadcrumb b{color:#4d6051;font-weight:500}.breadcrumb span{color:#b9c4b8}.topbar-right{display:flex;align-items:center;gap:14px;font-size:11px}.connection{display:flex;align-items:center;gap:7px;font-size:10px;color:#83917c;padding-right:12px;border-right:1px solid var(--line)}.connection i{background:#86ad72}.connection.offline i{background:#cb8b4a}.avatar{display:grid;place-items:center;background:#e8eedf;color:#536b45;border:1px solid #d7e2cc;border-radius:50%;font-family:'Manrope';font-weight:700;height:32px;width:32px}.topbar #user-name{max-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#53614e}#menu-toggle{display:none}#main{padding:37px 38px 30px;flex:1;outline:none;max-width:1760px;width:100%;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:30px}.page-heading .eyebrow{font-size:9px;margin-bottom:9px}.page-heading p{color:var(--muted);font-size:12px;margin-bottom:0}.page-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(195px,1fr));gap:17px;margin-bottom:28px}.stat-card{background:var(--white);padding:23px 24px 21px;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:#75836f}.stat-top svg{color:#9ba88e}.stat-card strong{font-family:'Manrope';font-size:38px;letter-spacing:-1.5px;display:block;line-height:1.4;margin:10px 0 4px}.stat-card p{color:#9aa18f;font-size:10px;margin-bottom:0}.stat-card.featured{background:var(--green);border-color:var(--green);color:#eff6e9}.stat-card.featured .stat-top{color:#c0d2b7}.stat-card.featured .stat-top svg{color:var(--lime)}.stat-card.featured p{color:#97b28c}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;margin-bottom:23px}.panel-heading{padding:23px 24px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-heading p{font-size:10px;color:#98a08f;margin:5px 0 0;line-height:1.7}.panel-heading>a{font-size:10px;white-space:nowrap;color:#79896c}.table-scroll{overflow-x:auto;max-width:100%;scrollbar-width:thin}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}th{font-size:8px;letter-spacing:.9px;color:#96a18d;text-transform:uppercase;font-weight:600;background:#fcfdfb;padding:12px 24px;border-top:1px solid #f0f3ec;border-bottom:1px solid #f0f3ec;white-space:nowrap}td{padding:16px 24px;border-bottom:1px solid #eff2eb;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fdfefb}td b{font-weight:600}td small{display:block;font-size:9px;color:#9aa391;margin-top:4px}td .button{padding:4px 9px;min-height:30px;font-size:10px;margin:2px}td:last-child:has(button){white-space:nowrap}.badge{display:inline-block;padding:4px 8px;border-radius:5px;font-size:9px;font-weight:500;text-transform:capitalize;background:#edf0e7;color:#819173;white-space:nowrap}.badge.planned,.badge.pending,.badge.ordered{background:#eef1e6;color:#7d8858}.badge.quarantine,.badge.partial,.badge.retry,.badge.review{background:#fcf1dc;color:#b28b42}.badge.released,.badge.pass,.badge.done,.badge.received,.badge.connected,.badge.finished{background:#eaf4e9;color:#558b58}.badge.fail,.badge.error,.badge.rejected,.badge.expired,.badge.failed{background:#fbece6;color:#b76c54}.badge.raw{background:#f2ede3;color:#aa8d59}.badge.packaging{background:#edf0f7;color:#7f8eaf}.badge.cancelled,.badge.sale_reversal{background:#f0f0ee;color:#8b8d87}.badge.consumption,.badge.sale{background:#f8efdf;color:#ad8c51}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px}.focus-list{padding:0 24px 9px}.focus-item{padding:17px 0;display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf1e8}.focus-item:last-child{border:0}.focus-item:hover{text-decoration:none}.focus-item>span:last-child{margin-left:auto;color:#8e9a83;font-size:13px}.focus-icon{display:grid;place-items:center;width:35px;height:38px;background:#f5f7f0;border:1px solid #e9eee0;border-radius:8px;color:#9aab80;flex-shrink:0}.focus-item b{font-size:11px;font-weight:550}.focus-item p{font-size:9px;color:#9da590;margin:3px 0 0}.focus-item p strong{font-weight:600;color:#7b8c67}.care-card{background:#e9eedf;border:1px solid #dfe6d4;border-radius:var(--radius);padding:26px;overflow:hidden;position:relative;min-height:270px}.care-card .eyebrow{font-size:8px;letter-spacing:1.3px;color:#8c9c79}.care-card h2{font-family:Georgia,serif;font-weight:400;font-size:32px;line-height:1.13;letter-spacing:-1px;color:#3a5b31;margin:21px 0 13px}.care-card p{font-size:10px;color:#8a9879;max-width:190px;line-height:1.8}.care-card a{font-size:10px;position:relative;z-index:1}.care-art{font-family:Georgia;font-size:190px;line-height:1;color:#d1ddbf;position:absolute;right:-36px;bottom:-38px;transform:rotate(-40deg);pointer-events:none}.app-footer{display:flex;justify-content:space-between;font-size:9px;padding:19px 38px 24px;color:#a4ad9b;gap:15px}.app-footer b{font-weight:400}.mini-stats{display:flex;align-items:center;gap:30px;flex-wrap:wrap;margin:0 0 25px;color:#8a9780;font-size:11px}.dot{display:inline-block;height:6px;width:6px;margin-right:5px;background:#a8b895;border-radius:50%}.dot.raw{background:#b8a67a}.dot.packaging{background:#8d9db7}.dot.finished{background:#94b47f}.notice{padding:16px 20px;background:#edf1e4;border:1px solid #dee6d1;border-radius:9px;font-size:11px;color:#83916f;line-height:1.8;margin-bottom:24px}.empty{text-align:center;padding:40px 24px 44px}.empty-icon{display:inline-flex;align-items:center;justify-content:center;background:#f2f5ec;color:#a1af91;width:43px;height:45px;border-radius:10px;margin-bottom:15px}.empty h3{font-size:14px;margin-bottom:9px;color:#65765a}.empty p{font-size:11px;color:#9aa58f;max-width:400px;margin:0 auto 20px;line-height:1.8}.empty p:last-child{margin-bottom:0}.workspace-links{padding:5px 24px 20px}.workspace-links a{padding:20px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:15px}.workspace-links span{margin-left:auto}.recipe-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:22px}.recipe-card{padding:25px;margin:0}.recipe-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.recipe-symbol{width:37px;height:38px;display:grid;place-items:center;background:#f1f4ea;border:1px solid #e8edde;border-radius:8px;color:#829570}.recipe-card h2{margin-bottom:6px}.recipe-card>.muted{font-size:11px}.recipe-output{font-family:'Manrope';font-size:27px;letter-spacing:-1px;margin:22px 0}.recipe-output span{font-family:'DM Sans';font-size:11px;letter-spacing:0;color:#8e9c80;margin-left:4px}.recipe-specs{display:flex;justify-content:space-between;gap:15px;padding-bottom:22px;border-bottom:1px solid var(--line);font-size:9px;color:#a1ab96}.recipe-specs b{display:block;color:#6c7f5d;font-weight:500;margin-top:4px}.recipe-ingredients{padding-top:16px}.recipe-ingredients>div{display:flex;justify-content:space-between;gap:15px;padding:7px 0;font-size:11px}.recipe-ingredients b{font-weight:500;color:#8c9b7d}.recipe-instructions{font-size:11px;white-space:pre-wrap;background:#f7f8f3;padding:15px;border-radius:6px;margin:15px 0 0;color:#839073}.table-tools{display:flex;gap:15px;padding:0 24px 20px}.table-tools input{max-width:360px}.settings-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.settings-status{padding:0 24px}.settings-status>p{margin:15px 0 6px;font-size:11px}.settings-status .muted{line-height:1.9;color:#8e9a81}.wrap-code{font-size:11px;padding:10px 12px;border-radius:5px;background:#f6f7f2;display:block;overflow-wrap:anywhere;color:#7d8f6a}.panel-actions{padding:20px 24px;display:flex;flex-wrap:wrap;gap:8px}.settings-list{margin:0;padding:0 24px 24px}.settings-list>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid #edf0e6;font-size:11px}.settings-list>div:last-child{border:0}.settings-list dt{color:#9ba48f}.settings-list dd{margin:0;color:#667b56;text-align:right}.role-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:22px;padding:0 24px 20px}.role-grid b{font-size:11px}.role-grid p{font-size:10px;color:#8c9b7c;margin-top:6px;line-height:1.8}.audit-detail{font-family:monospace;font-size:10px;overflow-wrap:anywhere;max-width:360px;display:block}.loading{padding:80px 30px;text-align:center;color:#859677}.error-box{background:#fff1e8;border:1px solid #e5c8b6;border-radius:8px;padding:15px;color:#a46b50;font-size:12px}#offline-banner{padding:10px 38px;background:#fff0d4;color:#96753d;font-size:12px}#offline-banner[hidden]{display:none}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 24px;border:1px solid #47683e;border-radius:9px;box-shadow:0 8px 50px #0002;background:var(--green);color:#fff;z-index:100;max-width:min(90vw,650px);font-size:12px}.toast.error{background:#963e2c;border-color:#963e2c}
dialog{border:1px solid #dce4d3;border-radius:16px;padding:0;width:min(720px,94vw);max-height:90dvh;box-shadow:0 30px 120px #0e2b2040;color:var(--ink)}dialog::backdrop{background:#102b245c;backdrop-filter:blur(3px)}.dialog-heading{padding:21px 27px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.dialog-heading h2{font-size:19px}#dialog-body{padding:25px 27px}#dialog-body>h3{margin-top:28px}#dialog-body .panel-actions{padding:20px 0 0}#dialog-body table th,#dialog-body table td{padding:12px 10px}label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:550;color:#677b58}input,textarea,select{display:block;width:100%;min-width:0;padding:11px 12px;background:#fcfdfb;border:1px solid #dce4d3;border-radius:7px;color:#405637;font-size:12px;min-height:42px}textarea{resize:vertical;line-height:1.7}input[type=hidden]{display:none}select{appearance:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-intro{font-size:12px;line-height:1.9;color:#889978;background:#f5f7ef;border:1px solid #e9efde;border-radius:7px;padding:14px 17px;margin-bottom:24px}.form-footer{margin-top:27px;padding-top:20px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.form-footer>span{font-size:9px;color:#a5ae9a}.form-error{color:#b46f50;padding:12px 15px;background:#fff1e6;border-radius:6px;font-size:12px;margin:18px 0 0}.line-editor{border:1px solid var(--line);border-radius:8px;padding:15px;background:#fafcf7}.line-heading{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:17px}.line-heading .button{font-size:10px;padding:4px 10px;min-height:30px}.line-row{display:flex;align-items:flex-end;gap:9px;margin-bottom:13px}.line-row:last-child{margin:0}.line-row label:first-child{flex:2;min-width:0}.line-row label{flex:1;min-width:0}.line-row select,.line-row input{padding:9px;font-size:11px}.line-row>.button{flex:0 0 25px;border:0;padding:0;min-width:25px;margin-bottom:3px;color:#9ca58f}.detail-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:20px;padding:5px 0 24px;border-bottom:1px solid var(--line);margin-bottom:20px}.detail-summary small{display:block;font-size:9px;color:#9fab91;margin-bottom:6px}.detail-summary b{font-size:12px;display:block;font-weight:550}.trace-heading{display:flex;align-items:center;gap:15px;font-size:11px;color:#8e9e7e}.trace-batch{margin-top:30px;padding-top:15px;border-top:1px solid var(--line)}.trace-batch h4{color:#839670}.trace-batch p{font-size:11px}.po-total{padding-top:20px;text-align:right;font-size:12px}.po-total b{font-size:17px;margin-left:15px}.print-brand{font-size:10px;letter-spacing:2px;color:#879d71;margin-bottom:25px}.customer-search{display:flex;align-items:flex-end;gap:15px;margin-bottom:23px;padding-bottom:20px;border-bottom:1px solid var(--line)}.customer-search label{flex:1}.order-review-total{display:flex;justify-content:space-between;align-items:center;padding:25px 0;font-size:13px}.order-review-total strong{font-size:25px}
.check{flex-direction:row}table{font-size:12px}th{font-size:9px}#navigation a{font-size:13px}.panel-heading p{font-size:11px;color:#7d8976}.stat-card p,.focus-item p{color:#7c8c70}.stat-card.featured p{color:#b0c79f}.empty p{color:#7e8f71}.login-page{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#f7f8f3}.login-story{background:var(--green);color:#dce9ce;padding:58px 60px 37px;display:flex;flex-direction:column;justify-content:space-between;gap:70px;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;border:1px solid #bad9871a;width:600px;height:600px;border-radius:50%;bottom:-300px;right:-300px;pointer-events:none;box-shadow:0 0 0 75px #ffffff03,0 0 0 150px #ffffff02}.login-story .brand{font-size:25px}.login-story .brand-mark{font-size:50px;width:52px}.login-story .brand-sub{font-size:8px;letter-spacing:2px}.login-story h1{font-family:Georgia,serif;font-weight:400;font-size:clamp(44px,5.5vw,80px);line-height:1.03;letter-spacing:-2.8px;color:#e3edce;margin:28px 0 25px}.login-story p{color:#a7be9a;font-size:13px;line-height:1.9;max-width:315px}.login-story .eyebrow{color:#a7c18b;font-size:8px;letter-spacing:2px}.login-story small{color:#7d9b70;font-size:8px;letter-spacing:1.5px}.login-orbit{display:flex;align-items:center;gap:18px;margin-top:48px;font-size:7px;letter-spacing:1.3px;color:#8caa78}.login-orbit b{font-size:18px;font-weight:400;color:#57774e}.login-main{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:55px 45px 30px;gap:60px;min-width:0}.login-card{width:100%;max-width:350px;margin:auto}.login-card .eyebrow{font-size:9px;color:#97a77f;margin-bottom:16px}.login-card h2{font-size:32px;letter-spacing:-1.3px;margin-bottom:9px;font-weight:750}.login-card>.muted{font-size:12px;margin-bottom:35px}.login-card label{margin-bottom:22px}.login-card input{background:#fff;border:1px solid #d9e1cf;min-height:47px}.form-between{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:5px 0 25px;font-size:10px}.form-between .check{margin:0;font-size:10px;color:#7d8d6b}.form-between a{font-size:10px;color:#879d6d}.login-card .primary{min-height:48px;font-size:12px;padding:12px 17px;justify-content:space-between}.login-help{font-size:10px;color:#a0ab93;text-align:center;margin-top:28px}.login-main>small{font-size:8px;color:#b1bba4}.login-card .error-box{font-size:11px}
@media(min-width:1600px){#main{padding-top:46px}.page-heading{margin-bottom:36px}.stat-card{padding:27px 29px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 360px}.topbar{height:85px}}
@media(max-width:1250px){#sidebar{width:218px;padding:30px 15px}.workspace{width:calc(100% - 218px);margin-left:218px}#main{padding:30px 25px}.topbar{padding:0 25px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 285px;gap:20px}.stat-grid{gap:12px}.stat-card{padding:20px}.stat-card strong{font-size:32px}th,td{padding-left:18px;padding-right:18px}.panel-heading{padding:22px 20px 18px}.page-heading h1{font-size:28px}.page-heading p{font-size:11px}.page-actions .button{font-size:11px}.settings-grid{grid-template-columns:1fr}.login-story{padding:45px}.topbar #user-name{max-width:95px}}
@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.dashboard-grid>div:last-child{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.care-card{margin-bottom:23px}.page-heading{align-items:flex-start;flex-direction:column;gap:20px}.page-actions{justify-content:flex-start}.stat-grid{grid-template-columns:repeat(2,1fr)}.login-story{padding:35px}.login-story h1{font-size:58px}.login-orbit{gap:12px;font-size:6px}.breadcrumb{gap:11px}.topbar-right{gap:8px}.topbar #user-name{display:none}}
@media(max-width:760px){#sidebar{transform:translateX(-100%);transition:transform .2s;width:245px;box-shadow:15px 0 70px #143d2a33}#sidebar.open{transform:translateX(0)}.workspace{margin:0;width:100%}#menu-toggle{display:block}.topbar{padding:0 18px;height:66px;justify-content:flex-start;gap:10px;position:sticky;top:0;z-index:20}.breadcrumb{font-size:10px}.breadcrumb>span{margin:0 3px}.topbar-right{margin-left:auto}.topbar-right .connection{font-size:0;border:0;padding:0}.topbar-right .connection i{width:6px;height:6px}.topbar-right #refresh{font-size:22px}.avatar{width:29px;height:29px;font-size:11px}#main{padding:28px 20px 20px}.page-heading h1{font-size:28px;letter-spacing:-1px}.page-heading p{font-size:11px;line-height:1.8}.page-heading{margin-bottom:24px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.2px}.page-actions{width:100%}.page-actions .button{flex:1}.stat-grid{gap:12px;margin-bottom:22px}.stat-card{padding:17px}.stat-top{font-size:10px;gap:5px}.stat-top svg{width:16px}.stat-card strong{font-size:31px;margin:9px 0 4px}.stat-card p{font-size:8px;line-height:1.7}.dashboard-grid>div:last-child{display:block}.dashboard-grid{gap:0}.panel-heading{padding:20px 18px 16px}.panel-heading h2{font-size:15px}.panel-heading p{font-size:9px}.panel-heading>a{font-size:9px}.focus-list{padding:0 18px 8px}.care-card{min-height:250px}.care-card h2{font-size:34px}.care-card p{max-width:220px}.care-art{right:-5px}.app-footer{font-size:8px;padding:10px 20px 22px;flex-direction:column;gap:4px}.mini-stats{gap:13px;font-size:10px}.notice{font-size:10px;padding:13px 16px}.recipe-grid{grid-template-columns:1fr}.recipe-card{padding:22px}.settings-grid{gap:0}.role-grid{grid-template-columns:1fr 1fr;gap:17px}.settings-list>div{font-size:10px}.table-tools{padding:0 18px 18px;gap:10px}.table-tools input{font-size:10px}.table-tools .button{font-size:9px}.table-scroll table{min-width:540px}td{font-size:10px;padding:14px 18px}th{font-size:8px;padding:10px 18px}.empty{padding:35px 20px}.empty h3{font-size:13px}.empty p{font-size:10px}.login-page{display:flex;flex-direction:column}.login-story{padding:26px 28px;gap:25px;min-height:210px}.login-story .brand{font-size:20px}.login-story .brand-mark{font-size:38px;width:39px}.login-story .brand-sub{font-size:6px}.login-story h1{font-size:40px;letter-spacing:-1.3px;margin:15px 0 10px}.login-story h1 br{display:none}.login-story .eyebrow,.login-story p,.login-orbit,.login-story>small{display:none}.login-main{padding:36px 28px 25px;gap:30px;flex:1}.login-card h2{font-size:28px}.login-card>.muted{margin-bottom:27px}.login-main>small{font-size:7px}.form-between{font-size:9px}.login-card input{min-height:48px}.dialog-heading{padding:18px 20px}.dialog-heading h2{font-size:17px}#dialog-body{padding:20px}.form-grid{gap:17px}.form-footer>span{display:none}.form-footer{justify-content:flex-end}.form-footer .primary{width:100%}.line-editor{padding:12px}.line-row{flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:13px}.line-row:last-child{border:0;padding-bottom:0}.line-row label:first-child{flex:1 0 calc(100% - 45px);order:0}.line-row>.button{order:1}.line-row label:not(:first-child){order:2;flex:1 0 40%}.detail-summary{gap:15px}.customer-search{gap:10px}.customer-search .button{font-size:10px}.toast{bottom:15px;width:90%;text-align:center;font-size:11px}.breadcrumb{overflow:hidden;white-space:nowrap}.breadcrumb b{max-width:110px;overflow:hidden;text-overflow:ellipsis}.topbar-right{flex-shrink:0}}
@media(max-width:430px){.form-grid{grid-template-columns:1fr}.role-grid{grid-template-columns:1fr}.topbar{gap:4px;padding:0 12px}.breadcrumb{font-size:9px;gap:6px}.topbar-right{gap:5px}.login-main{padding:30px 25px 22px}.stat-card{padding:15px}.stat-top{font-size:9px}.stat-card p{font-size:8px}.stat-card strong{font-size:29px}.form-between .check,.form-between a{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.app-shell,#toast,dialog>.dialog-heading button,dialog .panel-actions,dialog table button{display:none!important}dialog{position:static;display:block!important;width:100%;max-height:none;border:0;box-shadow:none;margin:0;padding:0;overflow:visible}dialog:not([open]){display:none!important}dialog::backdrop{background:white}#dialog-body{padding:0}dialog .dialog-heading{padding:10px 0 25px}.table-scroll{overflow:visible}table{min-width:0!important}th,td{color:#222!important;font-size:10pt!important}.print-brand{color:#143d2a}.badge{color:#333;background:none}}
