@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap";:root{color:#17241d;font-synthesis:none;text-rendering:optimizelegibility;--ink:#17241d;--muted:#66736c;--forest:#163b2c;--green:#1c7c4e;--lime:#dff26b;--line:#dfe5dc;--paper:#fff;background:#f4f6f1;font-family:DM Sans,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Manrope,sans-serif}.eyebrow{color:var(--green);letter-spacing:.13em;text-transform:uppercase;margin-bottom:.7rem;font-size:.72rem;font-weight:700}.muted{color:var(--muted)}.brand-mark{background:var(--lime);color:var(--forest);border-radius:14px;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:2rem;font-family:Manrope,sans-serif;font-size:1.5rem;font-weight:800;display:inline-flex;transform:rotate(-4deg)}.brand-mark.small{border-radius:9px;flex:none;width:34px;height:34px;margin:0;font-size:1rem}.login-page{grid-template-columns:minmax(360px,.9fr) minmax(480px,1.1fr);min-height:100vh;display:grid}.login-brand{background:radial-gradient(circle at 15% 85%, #dff26b3d, transparent 35%), var(--forest);color:#fff;flex-direction:column;justify-content:center;padding:clamp(3rem,8vw,8rem);display:flex}.login-brand .eyebrow{color:var(--lime)}.login-brand h1{letter-spacing:-.06em;max-width:700px;margin-bottom:1.6rem;font-size:clamp(2.6rem,5vw,5.3rem);line-height:.98}.login-brand>p:last-child{color:#cbd8d0;max-width:470px;font-size:1.05rem;line-height:1.7}.login-panel{background:var(--paper);justify-content:center;align-items:center;padding:3rem;display:flex}.login-card{gap:1.35rem;width:100%;max-width:430px;display:grid}.login-card h2{letter-spacing:-.04em;margin-bottom:.45rem;font-size:2.15rem}.login-card label{color:#34423a;gap:.55rem;font-size:.86rem;font-weight:600;display:grid}.login-card input[type=email],.login-card input[type=password]{border:1px solid var(--line);color:var(--ink);background:#f8faf7;border-radius:10px;outline:none;padding:.9rem 1rem;transition:border-color .16s,box-shadow .16s}.login-card input:focus{border-color:var(--green);box-shadow:0 0 0 3px #1c7c4e1f}.login-card .checkbox-row{align-items:center;font-weight:400;display:flex}.checkbox-row input{accent-color:var(--green);width:16px;height:16px}.login-card>button{background:var(--forest);color:#fff;cursor:pointer;border:0;border-radius:10px;padding:.95rem;font-weight:700}.login-card>button:hover{background:#20533e}.login-card>button:disabled{cursor:wait;opacity:.65}.form-error{color:#9f3624;background:#fff2ef;border:1px solid #f2cbc3;border-radius:9px;padding:.8rem .9rem;font-size:.88rem}.loading-screen{background:var(--forest);color:#fff;justify-content:center;align-items:center;min-height:100vh;display:flex}.app-shell{grid-template-columns:248px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--forest);color:#fff;flex-direction:column;min-height:100vh;padding:1.5rem 1rem;display:flex;position:sticky;top:0}.sidebar-brand{color:#fff;align-items:center;gap:.75rem;margin:0 .6rem 2.2rem;text-decoration:none;display:flex}.sidebar-brand strong,.sidebar-brand small,.sidebar-user strong,.sidebar-user small{display:block}.sidebar-brand strong{font-family:Manrope,sans-serif}.sidebar-brand small,.sidebar-user small{color:#9fb2a7;margin-top:.12rem;font-size:.7rem}.sidebar nav{gap:.22rem;display:grid}.nav-link{color:#c9d4ce;border-radius:8px;padding:.7rem .8rem;font-size:.88rem;font-weight:500;text-decoration:none}.nav-link:hover,.nav-link.active{color:#fff;background:#ffffff14}.nav-link.active{box-shadow:inset 3px 0 var(--lime)}.sidebar-user{border-top:1px solid #ffffff1a;grid-template-columns:auto 1fr;align-items:center;gap:.65rem;margin-top:auto;padding:1.25rem .5rem 0;display:grid}.avatar{background:#2e6049;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-weight:700;display:flex}.sidebar-user strong{font-size:.78rem}.text-button{color:#a9bbb1;cursor:pointer;text-align:left;background:0 0;border:0;grid-column:2;padding:0;font-size:.72rem}.main-content{width:100%;max-width:1500px;padding:clamp(2rem,5vw,4.5rem)}.page-header{justify-content:space-between;align-items:flex-end;gap:2rem;margin-bottom:2.5rem;display:flex}.page-header h1{letter-spacing:-.055em;margin-bottom:.65rem;font-size:clamp(2rem,4vw,3.4rem)}.page-header .muted{max-width:650px;margin-bottom:0}.scope-badge{background:var(--paper);border:1px solid var(--line);border-radius:11px;min-width:190px;padding:.9rem 1rem}.scope-badge span,.scope-badge strong{display:block}.scope-badge span,.summary-grid span{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;margin-bottom:.3rem;font-size:.7rem}.scope-badge strong{font-size:.86rem}.summary-grid{border-bottom:1px solid var(--line);border-top:1px solid var(--line);grid-template-columns:repeat(3,1fr);margin-bottom:3.5rem;display:grid}.summary-grid article{border-right:1px solid var(--line);padding:1.35rem 1.5rem}.summary-grid article:first-child{padding-left:0}.summary-grid article:last-child{border-right:0}.summary-grid strong{font-family:Manrope,sans-serif;font-size:1.08rem;display:block}.section-heading{margin-bottom:1.25rem}.section-heading h2{letter-spacing:-.035em;font-size:1.65rem}.module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.module-card{background:var(--paper);border:1px solid var(--line);color:inherit;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:flex-start;gap:1rem;padding:1.35rem;text-decoration:none;transition:border-color .16s,transform .16s;display:grid}.module-card:hover{border-color:#9cb8a9;transform:translateY(-2px)}.module-number{color:#99a79f;font-family:Manrope,sans-serif;font-size:.7rem;font-weight:700}.module-card small{color:var(--green);letter-spacing:.08em;text-transform:uppercase;font-size:.65rem;font-weight:700}.module-card h3{margin:.3rem 0 .45rem;font-size:1.05rem}.module-card p{color:var(--muted);margin-bottom:0;font-size:.82rem;line-height:1.55}.module-arrow{color:var(--green);font-size:1.25rem}.migration-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;align-items:flex-start;gap:1rem;max-width:720px;padding:1.5rem;display:flex}.status-dot{background:var(--lime);border:4px solid #f0f8b9;border-radius:50%;flex:none;width:18px;height:18px;margin-top:.25rem}.migration-card h2{margin-bottom:.45rem;font-size:1.1rem}.migration-card p{color:var(--muted);margin-bottom:0;line-height:1.65}.order-filters{background:var(--paper);border:1px solid var(--line);border-radius:12px;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(130px,1fr)) auto auto;align-items:end;gap:.8rem;margin-bottom:1rem;padding:1rem;display:grid}.order-filters label,.status-action-card label{color:#536159;gap:.4rem;font-size:.72rem;font-weight:600;display:grid}.order-filters input,.order-filters select,.status-action-card textarea{border:1px solid var(--line);color:var(--ink);background:#f8faf7;border-radius:8px;outline:none;min-height:40px;padding:.65rem .7rem}.order-filters input:focus,.order-filters select:focus,.status-action-card textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #1c7c4e1a}.order-filters button,.status-action-card button,.pagination button{background:var(--forest);border:1px solid var(--forest);color:#fff;cursor:pointer;border-radius:8px;min-height:40px;padding:.6rem .9rem;font-size:.78rem;font-weight:700}.order-filters .secondary-button,.pagination button{border-color:var(--line);color:var(--ink);background:0 0}.order-filters button:disabled,.status-action-card button:disabled,.pagination button:disabled{cursor:not-allowed;opacity:.5}.alerts-unread-strip{background:#f4f8e0;border:1px solid #dbe5a9;border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:1rem;padding:1rem 1.15rem;display:flex}.alerts-unread-strip>div{align-items:center;gap:.85rem;display:flex}.alerts-unread-count{background:var(--forest);color:#fff;border-radius:50%;justify-content:center;align-items:center;min-width:40px;height:40px;padding:0 .45rem;font-family:Manrope,sans-serif;font-size:.9rem;font-weight:700;display:inline-flex}.alerts-unread-strip strong,.alerts-unread-strip small{display:block}.alerts-unread-strip small{color:var(--muted);margin-top:.15rem;font-size:.72rem}.alerts-unread-strip button,.alert-detail-actions button,.alert-action-link{background:var(--forest);border:1px solid var(--forest);color:#fff;cursor:pointer;border-radius:8px;min-height:38px;padding:.55rem .8rem;font-size:.75rem;font-weight:700}.alerts-unread-strip button:disabled,.alert-detail-actions button:disabled{cursor:not-allowed;opacity:.5}.alerts-filters{grid-template-columns:minmax(210px,1.5fr) repeat(4,minmax(120px,1fr)) auto auto}.orders-error{color:#9f3624;background:#fff2ef;border:1px solid #f2cbc3;border-radius:9px;margin-bottom:1rem;padding:.9rem 1rem}.orders-table-card,.detail-card{background:var(--paper);border:1px solid var(--line);border-radius:12px}.orders-table-wrap{overflow-x:auto}.orders-table{border-collapse:collapse;width:100%;min-width:1050px}.orders-table th{color:#76827b;letter-spacing:.08em;text-align:left;text-transform:uppercase;background:#f8faf7;padding:.8rem 1rem;font-size:.65rem}.orders-table td{color:#36423b;vertical-align:middle;border-top:1px solid #edf0eb;padding:.9rem 1rem;font-size:.78rem}.orders-table tbody tr:hover{background:#fbfcfa}.orders-table td strong,.orders-table td small{display:block}.orders-table td small{color:#8a958e;margin-top:.25rem;font-size:.68rem}.order-number,.row-action,.back-link{color:var(--green);font-weight:700;text-decoration:none}.row-action{font-size:.72rem}.amount-cell{white-space:nowrap;font-weight:700}.table-message{text-align:center;color:var(--muted)!important;padding:3rem!important}.status-badge,.plain-badge{color:#506058;white-space:nowrap;background:#edf2ee;border-radius:999px;padding:.3rem .55rem;font-size:.65rem;font-weight:700;display:inline-flex}.status-badge.order-placed,.status-badge.order-accepted{color:#8a6300;background:#fff2c8}.status-badge.order-picking,.status-badge.order-packing,.status-badge.order-rider_assigned,.status-badge.order-out_for_delivery{color:#255b9b;background:#e5efff}.status-badge.order-delivered,.status-badge.payment-paid{color:#226c3e;background:#e0f5e7}.status-badge.order-cancelled,.status-badge.payment-failed,.status-badge.payment-refunded{color:#a03a29;background:#fde6e1}.status-badge.payment-cod{color:#8a6300;background:#fff2c8}.status-badge.alert-critical{color:#a03a29;background:#fde6e1}.status-badge.alert-warning{color:#8a6300;background:#fff2c8}.status-badge.alert-info{color:#255b9b;background:#e5efff}.status-badge.alert-unread{color:#1f6b3a;background:#e8f6ec}.status-badge.alert-read{color:#68766f;background:#edf2ee}.alerts-table{min-width:980px}.alerts-table .alert-unread-row{background:#fbfdf4}.alerts-table .alert-unread-row td:first-child{box-shadow:inset 3px 0 var(--lime)}.alerts-table .text-button{cursor:pointer;background:0 0;border:0;padding:0}.alerts-table .alert-detail-row:hover,.alerts-table .alert-detail-row{background:#f8faf7}.alerts-table .alert-detail-row>td{padding:1.25rem 1.5rem}.alert-detail{grid-template-columns:minmax(0,1fr) minmax(150px,auto);gap:1.5rem;display:grid}.alert-body{color:#36423b;margin-top:0;font-size:.84rem;line-height:1.65}.alert-detail .detail-list{max-width:680px}.alert-detail-actions{align-content:start;gap:.6rem;display:grid}.alert-detail-actions .secondary-button{border-color:var(--line);color:var(--ink);background:0 0}.alert-action-link{border-color:var(--line);color:var(--green);background:0 0;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.alert-metadata{color:var(--muted);margin-top:1rem;font-size:.75rem}.alert-metadata summary{cursor:pointer;font-weight:700}.alert-metadata pre{color:#425047;white-space:pre-wrap;background:#eff3ee;border-radius:8px;max-height:260px;padding:.8rem;font-size:.7rem;overflow:auto}.pagination{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding:.8rem 1rem;font-size:.75rem;display:flex}.pagination div{gap:.5rem;display:flex}.pagination button{min-height:34px}.loading-panel{color:var(--muted);text-align:center;padding:3rem}.back-link{margin-bottom:1.5rem;font-size:.78rem;display:inline-block}.order-detail-header{align-items:center}.detail-badges{flex-wrap:wrap;gap:.45rem;display:flex}.order-total{text-align:right}.order-total span,.order-total strong{display:block}.order-total span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.7rem}.order-total strong{margin-top:.2rem;font-family:Manrope,sans-serif;font-size:1.8rem}.order-detail-grid{grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);align-items:start;gap:1rem;display:grid}.order-detail-main,.order-detail-aside{gap:1rem;display:grid}.detail-card{padding:1.25rem}.card-heading{justify-content:space-between;align-items:center;margin-bottom:1rem;display:flex}.card-heading h2{margin:0;font-size:1rem}.card-heading span{color:var(--muted);font-size:.7rem}.detail-items article{border-top:1px solid #edf0eb;grid-template-columns:1fr auto auto;align-items:center;gap:1rem;padding:.9rem 0;font-size:.78rem;display:grid}.detail-items article:first-child{border-top:0}.detail-items small{color:var(--muted);margin-top:.25rem;display:block}.amount-breakdown,.detail-list{border-top:1px solid var(--line);margin:.5rem 0 0;padding-top:.75rem}.amount-breakdown div,.detail-list div{justify-content:space-between;gap:1rem;padding:.35rem 0;font-size:.76rem;display:flex}.amount-breakdown dt,.detail-list dt{color:var(--muted)}.amount-breakdown dd,.detail-list dd{text-align:right;margin:0}.amount-breakdown .amount-total{border-top:1px solid var(--line);margin-top:.4rem;padding-top:.8rem;font-size:.9rem;font-weight:700}.timeline{margin:0;padding:0;list-style:none}.timeline li{grid-template-columns:auto 1fr;gap:.8rem;padding-bottom:1rem;display:grid;position:relative}.timeline li:not(:last-child):before{background:var(--line);content:"";width:1px;height:calc(100% - 8px);position:absolute;top:12px;left:5px}.timeline-dot{background:var(--green);border:3px solid #dff0e5;border-radius:50%;width:11px;height:11px;margin-top:.25rem}.timeline strong,.timeline small{display:block}.timeline strong{font-size:.8rem}.timeline small,.timeline p{color:var(--muted);margin-top:.2rem;font-size:.7rem}.timeline p{margin-bottom:0}.status-action-card h2{margin-bottom:1rem;font-size:1.1rem}.status-action-card{border-top:3px solid var(--lime)}.status-action-card textarea{resize:vertical;margin-bottom:.75rem}.status-action-card button{width:100%}.inventory-filters{grid-template-columns:minmax(220px,1.6fr) minmax(150px,1fr) minmax(140px,.9fr) auto auto}.inventory-health-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:1.25rem}.qty-warning{color:#9f3624;font-weight:700}.report-tabs{flex-wrap:wrap;gap:.5rem;margin-bottom:1rem;display:flex}.report-tabs button{border:1px solid var(--line);color:var(--ink);cursor:pointer;font:inherit;background:#fff;border-radius:8px;padding:.45rem .95rem;font-size:.85rem}.report-tabs button.active,.report-tabs button[aria-selected=true]{background:var(--ink);border-color:var(--ink);color:#fff}.report-filters{grid-template-columns:minmax(180px,1.2fr) minmax(140px,.9fr) minmax(140px,.9fr);margin-bottom:.75rem}.report-meta{margin:0 0 .85rem;font-size:.82rem}.analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.analytics-chart-card{overflow-x:auto}.analytics-legend{flex-wrap:wrap;gap:.65rem;margin-bottom:.85rem;display:flex}.analytics-legend span{color:var(--muted);align-items:center;gap:.35rem;font-size:.72rem;display:inline-flex}.analytics-legend i{border-radius:999px;width:.55rem;height:.55rem;display:inline-block}.analytics-chart{align-items:end;gap:.45rem;min-height:160px;display:flex}.analytics-chart-col{text-align:center;flex:1 1 0;min-width:2.2rem}.analytics-bars{justify-content:center;align-items:end;gap:2px;height:130px;margin-bottom:.35rem;display:flex}.analytics-bar{border-radius:3px 3px 0 0;width:6px;min-width:4px}.analytics-chart-col small{color:var(--muted);font-size:.62rem;display:block}.analytics-mix{gap:.75rem;display:grid}.analytics-mix-label{justify-content:space-between;margin-bottom:.3rem;font-size:.78rem;display:flex}.analytics-mix-track{background:#edf0eb;border-radius:999px;height:8px;overflow:hidden}.analytics-mix-track span{height:100%;display:block}@media (width<=900px){.analytics-grid{grid-template-columns:1fr}}.services-filters{grid-template-columns:minmax(180px,1.4fr) minmax(140px,.9fr) minmax(120px,.8fr) minmax(120px,.8fr) minmax(120px,.8fr) auto auto}.finance-filters{grid-template-columns:minmax(200px,1.5fr) minmax(140px,.9fr) minmax(140px,.9fr) auto}.finance-overview-grid{margin-bottom:1.25rem}.settlements-disclaimer{margin:0 0 1rem}.purchasing-create-card{margin-bottom:1rem}.purchasing-create-grid,.purchasing-line-builder,.grn-line-grid{gap:.75rem;margin-bottom:.85rem;display:grid}.purchasing-create-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.purchasing-line-builder{grid-template-columns:minmax(140px,1.2fr) auto minmax(180px,1.4fr) 90px 110px auto;align-items:end}.grn-lines{gap:1rem;display:grid}.grn-lines article{border-top:1px solid var(--line);padding-top:.85rem}.grn-lines article:first-child{border-top:0;padding-top:0}.grn-line-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));margin-top:.65rem}.inline-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;display:grid}.inline-form-grid .full-width-field,.inline-form-grid>button,.inline-form-grid .checkbox-row{grid-column:1/-1}.inline-form-grid input,.inline-form-grid select,.inline-form-grid textarea{border:1px solid var(--line);color:var(--ink);background:#f8faf7;border-radius:8px;outline:none;width:100%;min-height:40px;padding:.65rem .7rem}.inline-form-grid textarea{resize:vertical;min-height:72px}.address-list .text-button{margin-left:.5rem}.row-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.status-badge.order-draft,.status-badge.order-receiving{color:#9a5b00;background:#fff4e5}.status-badge.order-approved,.status-badge.order-partially_received,.status-badge.order-confirmed,.status-badge.order-received,.status-badge.order-active{color:#1f6b3a;background:#e8f6ec}.status-badge.order-inactive,.status-badge.order-suspended{color:#9f3624;background:#fdecea}.permission-chip-list{flex-wrap:wrap;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.permission-chip-list li{background:#f3f6f2;border-radius:6px;padding:.25rem .45rem;font-size:.72rem}.inline-stack{gap:.65rem;margin-top:.85rem;display:grid}.permission-matrix{gap:1.25rem;margin:1rem 0;display:grid}.permission-matrix h2{margin-bottom:.55rem;font-size:.95rem}.permission-matrix-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.45rem;display:grid}.permission-matrix-grid small{color:var(--muted);display:block}.orders-success{color:#1f6b3a;background:#edf8ef;border:1px solid #b7dfc0;border-radius:10px;margin-bottom:1rem;padding:.75rem .9rem}.full-width-button{width:100%;margin-top:.65rem}.address-list{margin:0;padding:0;list-style:none}.address-list li{padding:.2rem 0;font-size:.8rem}.detail-list dd small,.detail-list small{color:var(--muted);margin-top:.2rem;display:block}.detail-notes{border-top:1px solid var(--line);color:var(--muted);margin:.9rem 0 0;padding-top:.85rem;font-size:.8rem}.status-badge.order-requested,.status-badge.order-offered{color:#9a5b00;background:#fff4e5}.status-badge.order-assigned,.status-badge.order-accepted,.status-badge.order-in_progress,.status-badge.order-en_route,.status-badge.order-completed{color:#1f6b3a;background:#e8f6ec}.inventory-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:0;display:grid}.inventory-metrics div{background:#f8faf7;border-radius:10px;padding:.85rem .95rem}.inventory-metrics dt{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin-bottom:.35rem;font-size:.68rem}.inventory-metrics dd{margin:0;font-family:Manrope,sans-serif;font-size:1.2rem;font-weight:700}.inventory-form{gap:.85rem;display:grid}.inventory-form label{color:#536159;gap:.4rem;font-size:.72rem;font-weight:600;display:grid}.inventory-form input,.inventory-form textarea,.inventory-form select{border:1px solid var(--line);color:var(--ink);background:#f8faf7;border-radius:8px;outline:none;min-height:40px;padding:.65rem .7rem}.inventory-form textarea{resize:vertical}.inventory-form input:focus,.inventory-form textarea:focus,.inventory-form select:focus{border-color:var(--green);box-shadow:0 0 0 3px #1c7c4e1a}.catalog-variants-table{min-width:640px}.catalog-variants-table .text-button,.variant-edit-form .text-button{color:var(--green);cursor:pointer;background:0 0;border:0;padding:0;font-size:.72rem;font-weight:700}.variant-edit-form{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}.variant-price-row{grid-template-columns:1fr 1fr;gap:.75rem;display:grid}.inventory-form button,.detail-card .secondary-button{background:var(--forest);border:1px solid var(--forest);color:#fff;cursor:pointer;border-radius:8px;min-height:40px;padding:.6rem .9rem;font-size:.78rem;font-weight:700}.detail-card .secondary-button{border-color:var(--line);color:var(--ink);background:0 0}.inventory-form button:disabled,.detail-card .secondary-button:disabled{cursor:not-allowed;opacity:.5}@media (width<=900px){.login-page{grid-template-columns:1fr}.login-brand{display:none}.app-shell{grid-template-columns:1fr}.sidebar{min-height:auto;position:static}.sidebar nav{display:flex;overflow-x:auto}.sidebar-user{display:none}.order-filters,.inventory-filters,.inventory-metrics,.inventory-health-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.order-detail-grid,.alert-detail{grid-template-columns:1fr}}@media (width<=640px){.login-panel,.main-content{padding:1.5rem}.page-header{flex-direction:column;align-items:flex-start}.scope-badge{width:100%}.summary-grid,.module-grid,.order-filters{grid-template-columns:1fr}.alerts-unread-strip{flex-direction:column;align-items:stretch;gap:.85rem}.inventory-metrics,.inventory-health-grid{grid-template-columns:1fr}.summary-grid article,.summary-grid article:first-child{border-bottom:1px solid var(--line);border-right:0;padding:1rem 0}}
