:root{--ink:#182e29;--muted:#748078;--bg:#f5f5f0;--paper:#fff;--green:#174f42;--green-light:#e8f1eb;--gold:#aa8a55;--line:#e2e6df;--amber:#996121;--amber-bg:#fbf3e7;--red:#9f3e35;--shadow:0 8px 30px #173d2910;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,select,textarea,a{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #b48b4b}input:focus,select:focus,textarea:focus{outline:2px solid #7aa190;outline-offset:1px}a{color:var(--green)}button{border:0}button svg{flex-shrink:0}svg{width:20px;height:20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.topbar{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.topbar-inner{max-width:1440px;padding:20px 40px;margin:auto;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:15px;min-width:180px}.brand-mark{font:27px Georgia,serif;border:1px solid var(--gold);width:44px;height:44px;display:grid;place-items:center;color:var(--gold);border-radius:50%}.brand-name{font:25px Georgia,serif;letter-spacing:5px}.brand-caption{font-size:9px;letter-spacing:3px;color:var(--muted)}.topnav{display:flex;gap:5px;margin-left:20px}.nav-btn{display:flex;align-items:center;gap:9px;padding:11px 16px;border-radius:9px;color:var(--muted);background:none;font-weight:600}.nav-btn.active{background:var(--green-light);color:var(--green)}.top-right{margin-left:auto;display:flex;align-items:center;gap:12px}.user-btn{border:1px solid var(--line);border-radius:24px;padding:7px 13px 7px 7px;display:flex;align-items:center;gap:9px;background:white}.avatar{background:var(--green-light);color:var(--green);font-weight:700;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font-size:11px}.status-dot{width:6px;height:6px;background:#a16b24;border-radius:50%;display:inline-block;margin-right:6px}.sync-tag{font-size:10px;letter-spacing:.7px;color:var(--amber);font-weight:700}.demo-band{background:#f6ecd9;color:#775828;font-size:12px;text-align:center;padding:9px 20px;border-bottom:1px solid #ecdfc5}.demo-band strong{margin-right:8px}.offline-band{background:#9f3e35;color:white;text-align:center;padding:10px}.shell{max-width:1440px;margin:auto;padding:32px 40px 60px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700;color:var(--gold);margin:0 0 8px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:26px}.page-heading h1{font-size:29px;letter-spacing:-.8px;margin:0 0 4px;font-weight:600}.page-heading p{color:var(--muted);margin:0}.page-actions{display:flex;align-items:center;gap:10px}.session-select{max-width:250px;font-size:12px;border:1px solid var(--line);border-radius:8px;padding:10px 32px 10px 11px;background:white;color:var(--ink)}.btn{border-radius:8px;padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:600;font-size:12px;min-height:42px;background:var(--green);color:white;border:1px solid transparent}.btn.secondary{background:white;border-color:var(--line);color:var(--ink)}.btn.ghost{background:transparent;color:var(--green);padding-left:0;padding-right:0}.btn.small{padding:7px 12px;min-height:34px;font-size:11px}.btn.danger{background:#fff3f0;color:var(--red);border-color:#f1d3cb}.btn.wide{width:100%}.summary-strip{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.2fr;border:1px solid var(--line);background:white;border-radius:13px;margin-bottom:25px;overflow:hidden}.metric{padding:19px 24px;position:relative}.metric+.metric:before{content:'';position:absolute;left:0;top:20px;bottom:20px;width:1px;background:var(--line)}.metric-label{font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);margin-bottom:5px}.metric-value{font-size:24px;font-weight:600;letter-spacing:-.5px}.metric-value small{font-size:14px;color:var(--muted);font-weight:400}.metric-caption{font-size:11px;color:var(--muted);margin-top:2px}.metric-progress{height:4px;width:100%;background:#edf0ea;border-radius:5px;margin-top:11px;overflow:hidden}.metric-progress span{display:block;height:100%;background:var(--green)}.count-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:25px;align-items:start}.card{background:white;border:1px solid var(--line);border-radius:13px;box-shadow:0 3px 8px #173d2903;overflow:hidden}.card-title{padding:18px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.card-title h2{font-size:14px;font-weight:600;margin:0}.tiny{font-size:11px;color:var(--muted)}.area-list{padding:8px}.area-button{display:flex;align-items:center;text-align:left;width:100%;padding:14px 10px;background:none;border:1px solid transparent;border-radius:8px;gap:10px;margin:2px 0;color:var(--ink)}.area-button:hover{background:#f7f8f4}.area-button.selected{background:var(--green-light);border-color:#ccdfd1}.area-icon{width:31px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:6px;color:#738f7d;flex-shrink:0;background:white}.area-button.selected .area-icon{border-color:#bed1c0;color:var(--green)}.area-name{font-size:12px;font-weight:600}.area-state{font-size:10px;color:var(--muted);margin-top:3px}.area-button>.check{margin-left:auto;color:var(--green);width:17px}.area-divider{font-size:9px;color:var(--muted);letter-spacing:1.3px;text-transform:uppercase;padding:14px 10px 2px}.area-tip{padding:15px 18px;font-size:11px;line-height:1.7;color:var(--muted);border-top:1px solid var(--line);background:#fbfcf8}.area-tip strong{color:var(--ink)}.main-card-head{padding:24px 25px 18px;display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.main-card-head h2{font-size:20px;font-weight:600;letter-spacing:-.4px;margin:0 0 4px}.pill{font-size:10px;padding:4px 9px;border-radius:20px;white-space:nowrap;display:inline-flex;align-items:center;gap:5px;font-weight:600}.pill.pending{background:#f0f1ec;color:#738075}.pill.progress{background:var(--amber-bg);color:var(--amber)}.pill.complete{background:var(--green-light);color:var(--green)}.search-section{padding:0 25px 22px;position:relative}.searchbox{height:54px;border:1.5px solid #bdcfc1;border-radius:10px;display:flex;align-items:center;gap:12px;padding:0 16px;background:#fcfdfa}.searchbox svg{color:#809787}.searchbox input{border:0;outline:none!important;background:none;min-width:0;flex:1;font-size:14px;color:var(--ink);height:100%}.searchbox input::placeholder{color:#8b978e}.searchbox .key{font-size:10px;border:1px solid var(--line);border-radius:4px;padding:2px 6px;color:var(--muted)}.search-hint{display:flex;justify-content:space-between;margin-top:9px;color:var(--muted);font-size:10px;gap:10px}.segmented{display:flex;gap:5px;flex-wrap:wrap}.segment{font-size:11px;padding:6px 11px;border-radius:6px;background:#f4f5f0;color:var(--muted)}.segment.active{background:var(--green-light);color:var(--green);font-weight:600}.results{position:absolute;left:25px;right:25px;top:60px;border:1px solid #c5d4c6;background:white;z-index:25;border-radius:10px;box-shadow:0 10px 30px #243b2925;max-height:380px;overflow-y:auto}.result-btn{background:white;display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:13px 15px;border-bottom:1px solid #eff2ec;color:var(--ink)}.result-btn:hover,.result-btn.focus{background:#edf4eb}.bottle-symbol{background:#f3f5ee;color:#7e957f;border-radius:8px;display:grid;place-items:center;width:38px;height:45px;flex-shrink:0}.bottle-symbol svg{height:27px;width:25px}.product-name{font-size:12px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}.product-meta{font-size:10px;color:var(--muted);margin-top:4px;display:flex;flex-wrap:wrap;gap:5px}.result-body{min-width:0;flex:1}.result-action{font-size:10px;color:var(--green);font-weight:600;white-space:nowrap}.product-thumb{width:34px;height:46px;object-fit:contain;border-radius:4px}.list-header{background:#fbfcf8;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 25px;display:flex;align-items:center;justify-content:space-between;font-size:11px}.count-row{display:flex;gap:13px;padding:16px 25px;border-bottom:1px solid #edf0ea;align-items:center}.count-row:last-child{border-bottom:0}.count-row .row-body{flex:1;min-width:0}.count-row .qty{font-size:19px;font-weight:600;text-align:right;white-space:nowrap}.count-row .qty small{display:block;font-size:9px;color:var(--muted);font-weight:400}.icon-btn{background:none;border:1px solid var(--line);border-radius:7px;padding:7px;color:var(--muted);display:grid;place-items:center;min-width:34px;min-height:34px}.icon-btn svg{width:15px;height:15px}.empty-state{text-align:center;padding:44px 20px}.empty-icon{width:58px;height:66px;background:#f3f5ed;border:1px solid #e0e7d9;border-radius:12px;color:#8ca080;display:grid;place-items:center;margin:0 auto 16px}.empty-icon svg{width:30px;height:36px}.empty-state h3{font-size:16px;font-weight:500;margin:8px 0}.empty-state p{font-size:12px;color:var(--muted);max-width:350px;margin:8px auto 20px;line-height:1.7}.suggestions{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.suggestions button{font-size:11px;background:white;border:1px solid var(--line);border-radius:20px;padding:7px 12px;color:var(--green)}.card-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 25px;background:#fcfdf9;border-top:1px solid var(--line)}.notice{font-size:11px;background:var(--amber-bg);color:#906734;border:1px solid #eddfc6;border-radius:9px;padding:13px 16px;display:flex;align-items:flex-start;gap:10px;line-height:1.65;margin-top:18px}.notice svg{flex-shrink:0;width:16px;height:18px;margin-top:1px}.notice.green{background:#eef5ee;border-color:#d8e6d8;color:var(--green)}.subfooter{margin-top:20px;color:#8a938b;font-size:10px;display:flex;justify-content:space-between;gap:16px}.table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}.filter-input{border:1px solid var(--line);border-radius:7px;padding:9px 12px;background:#fafbf8;color:var(--ink);min-width:0;width:290px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.data-table th{font-size:9px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);font-weight:600;background:#f9faf6;white-space:nowrap;padding:13px 15px;border-bottom:1px solid var(--line)}.data-table td{padding:14px 15px;border-bottom:1px solid #edf0ea;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.data-table .stock-total{font-weight:700;font-size:15px}.data-table .product-cell{min-width:220px;max-width:380px}.data-table .dash{color:#a7afa7}.data-table tbody tr:hover{background:#fcfdf9}.table-info{padding:12px 18px;color:var(--muted);font-size:11px}.timeline{padding:0 25px}.event{display:flex;align-items:flex-start;gap:15px;padding:20px 0;border-bottom:1px solid var(--line)}.event-icon{width:33px;height:33px;background:var(--green-light);color:var(--green);border-radius:50%;display:grid;place-items:center;flex-shrink:0}.event-content{flex:1;min-width:0}.event-title{font-size:12px;font-weight:600;margin-bottom:3px}.event-sub{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.event-change{font-size:12px;margin-top:6px}.event-time{font-size:10px;color:var(--muted);text-align:right;flex-shrink:0}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.integration-card{padding:26px}.integration-card h2{font-size:18px;font-weight:500;margin:15px 0 8px}.integration-card p{font-size:12px;color:var(--muted);line-height:1.8}.integration-card .big-icon{display:grid;place-items:center;width:45px;height:45px;background:var(--green-light);color:var(--green);border-radius:10px}.integration-card ul{padding-left:17px;font-size:12px;color:var(--muted);line-height:1.9}.modal-backdrop{position:fixed;inset:0;background:#10281f66;z-index:60;display:flex;align-items:center;justify-content:center;padding:22px;backdrop-filter:blur(3px)}.modal{background:white;border-radius:16px;max-width:510px;width:100%;max-height:92vh;overflow:auto;box-shadow:0 25px 90px #14251a50}.modal.wide{max-width:720px}.modal-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:23px 25px 16px}.modal-header h2{font-size:20px;line-height:1.4;margin:0;font-weight:600}.modal-header p{margin:5px 0 0;font-size:12px;color:var(--muted)}.modal-body{padding:0 25px 25px}.modal-actions{display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--line);padding:17px 25px;background:#fbfcf8}.field{display:block;margin-top:16px}.field>span,.field-label{display:block;font-size:11px;font-weight:600;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #d8e1d6;border-radius:8px;background:#fff;color:var(--ink);font-size:14px}.field input:disabled{background:#f5f6f1;color:var(--muted)}.field small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.qty-input-group{display:flex;align-items:stretch;height:58px;border:1px solid #bbcdbf;border-radius:10px;overflow:hidden}.qty-input-group button{background:#f5f8f1;width:46px;color:var(--green);font-size:22px}.qty-input-group input{border:0;border-radius:0;font-size:26px;text-align:center;padding:4px;min-width:0}.qty-input-group input::-webkit-inner-spin-button{-webkit-appearance:none}.qty-total{display:flex;justify-content:space-between;padding:16px;background:var(--green-light);border-radius:10px;margin-top:20px;align-items:center;font-size:12px}.qty-total strong{font-size:25px;font-weight:600}.modal-product{background:#f8faf4;border:1px solid var(--line);border-radius:9px;padding:13px 15px;margin-bottom:15px}.modal-product .product-name{font-size:13px}.checkbox-line{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin-top:19px;line-height:1.7}.checkbox-line input{width:18px;height:18px;accent-color:var(--green);flex-shrink:0;margin-top:3px}.inline-error{color:var(--red);background:#fff0eb;border-radius:8px;font-size:12px;padding:11px 13px;margin-top:12px;display:none}.inline-error.visible{display:block}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#183d30;color:white;padding:13px 22px;border-radius:9px;z-index:100;font-size:12px;box-shadow:0 7px 24px #142a2540;max-width:90%;display:flex;align-items:center;gap:8px}.toast.error{background:var(--red)}.login-shell{min-height:100vh;display:grid;place-items:center;background:#f3f5ee;padding:24px}.login-card{max-width:450px;width:100%;background:white;border:1px solid var(--line);border-radius:17px;padding:36px}.login-card h1{font-size:25px;font-weight:500;margin-top:30px}.login-card p{font-size:13px;color:var(--muted);line-height:1.8}.login-card .btn{margin-top:23px}.source-note{font-size:10px;color:var(--muted);line-height:1.7;margin-top:12px}.mobile-nav{display:none}.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px}.issue-dot{color:var(--amber)}.photo-preview{max-height:100px;max-width:110px;object-fit:contain}.hidden{display:none!important}
@media(min-width:1400px){.count-layout{grid-template-columns:290px minmax(0,1fr)}.topbar-inner,.shell{padding-left:50px;padding-right:50px}}
@media(max-width:1100px){.topbar-inner{padding:17px 25px;gap:14px}.brand{min-width:160px}.topnav{margin-left:0}.nav-btn{padding:10px 12px;font-size:12px}.top-right .sync-tag{display:none}.shell{padding:28px 25px 50px}.count-layout{grid-template-columns:235px minmax(0,1fr);gap:17px}.metric{padding:17px 19px}.page-actions{flex-wrap:wrap;justify-content:flex-end}.topnav svg{width:17px}}
@media(max-width:800px){.topbar-inner{padding:14px 20px}.topnav{display:none}.brand-mark{width:37px;height:37px;font-size:23px}.brand-name{font-size:22px}.brand-caption{font-size:8px}.top-right .user-btn{padding:4px 8px 4px 4px;font-size:11px}.demo-band{font-size:10px;padding:8px 15px}.shell{padding:24px 16px 95px}.page-heading{gap:15px;align-items:flex-start;flex-direction:column;margin-bottom:20px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.page-actions{width:100%;justify-content:space-between}.session-select{max-width:65%;flex:1}.summary-strip{grid-template-columns:1fr 1fr;margin-bottom:20px}.metric{padding:13px 17px}.metric:nth-child(n+3){border-top:1px solid var(--line)}.metric:nth-child(3):before{display:none}.metric-value{font-size:21px}.metric-label{font-size:9px}.metric-caption{font-size:10px}.count-layout{display:flex;flex-direction:column;gap:16px}.area-sidebar{width:100%}.area-sidebar .card-title{padding:12px 16px}.area-list{display:flex;overflow-x:auto;padding:8px;gap:6px}.area-button{min-width:165px;max-width:195px;padding:10px;flex-shrink:0;margin:0;align-items:center}.area-name{font-size:11px}.area-icon{width:26px;height:32px}.area-divider{display:none}.area-tip{display:none}.count-main{width:100%;min-width:0}.main-card-head{padding:20px 17px 16px}.main-card-head h2{font-size:19px}.search-section{padding:0 17px 19px}.searchbox{height:53px;padding:0 12px}.searchbox input{font-size:14px}.searchbox .key{display:none}.search-hint{font-size:9px}.results{left:17px;right:17px;max-height:330px}.result-btn{padding:12px 10px;gap:9px}.product-name{font-size:11px}.product-meta{font-size:9px}.result-action{font-size:9px}.list-header{padding:11px 17px}.count-row{padding:13px 17px;gap:10px}.count-row .qty{font-size:18px}.empty-state{padding:33px 17px}.empty-state p{font-size:11px}.card-footer{padding:15px 17px;align-items:center}.card-footer .tiny{font-size:9px;max-width:140px}.card-footer .btn{font-size:11px;padding:10px 12px}.notice{padding:12px;font-size:10px}.subfooter{font-size:9px;flex-direction:column;gap:4px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--line);z-index:40;padding:7px 4px max(8px,env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav .nav-btn{flex-direction:column;gap:3px;padding:6px 8px;font-size:9px;border-radius:7px;min-width:57px}.mobile-nav svg{width:20px;height:20px}.table-toolbar{padding:13px 15px;flex-wrap:wrap}.filter-input{width:100%;font-size:13px}.table-toolbar .segmented{margin-top:3px}.data-table th{padding:11px;font-size:8px}.data-table td{padding:12px 11px;font-size:11px}.data-table .product-cell{min-width:175px;max-width:240px}.table-info{font-size:10px}.integration-grid{grid-template-columns:1fr}.integration-card{padding:22px}.timeline{padding:0 16px}.event{gap:10px;padding:17px 0}.event-time{font-size:9px;max-width:70px}.event-title{font-size:11px}.event-sub{font-size:10px}.modal-backdrop{padding:12px;align-items:center}.modal{max-height:91vh;border-radius:13px}.modal-header{padding:20px 20px 14px}.modal-header h2{font-size:19px}.modal-body{padding:0 20px 20px}.modal-actions{padding:15px 20px}.field input,.field select,.field textarea{font-size:16px}.toast{bottom:85px;width:max-content;max-width:90%;font-size:11px}.login-card{padding:28px}.field-row{gap:12px}.qty-input-group input{font-size:24px}}
@media(prefers-reduced-motion:no-preference){.btn,.nav-btn,.area-button{transition:background .16s,border-color .16s}.modal{animation:in .13s ease-out}@keyframes in{from{opacity:.7;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}}
/* Counting is the mobile priority; keep search above the fold. */
@media(max-width:800px){.summary-strip .metric:nth-child(n+3){display:none}.summary-strip .metric{border-top:0}.summary-strip .metric-progress{margin-top:7px}.summary-strip .metric-caption{margin-top:1px}}

/* Read-only unit prices in the count dialog. No price-editing controls. */
.count-price-reference{border-top:1px solid var(--line);margin-top:11px;padding-top:11px}
.count-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0}
.count-price-grid>div{min-width:0}
.count-price-grid dt{font-size:10px;font-weight:500;color:var(--muted);margin:0 0 3px}
.count-price-grid dd{font-size:18px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;line-height:1.3;margin:0;overflow-wrap:anywhere}
.count-price-caption{font-size:10px;color:var(--muted);line-height:1.5;margin:7px 0 0}
@media(max-width:380px){.count-price-grid{gap:10px}.count-price-grid dd{font-size:17px}}

/* v0.1.2: supplied Monti logo, unmodified source pixels and aspect ratio.
   The uploaded preview has a baked-in pale checkerboard. CSS contrast renders
   that pale backdrop white; no wordmark geometry is redrawn or stretched. */
.brand.brand-official{min-width:162px;gap:0}
.brand-logo-window{display:block;position:relative;width:146px;aspect-ratio:718/325;overflow:hidden;flex-shrink:0;background:#fff}
.brand-logo-window .monti-logo{display:block;position:absolute;top:-30.769230769%;left:0;width:100%;height:auto;max-width:none;filter:contrast(1.6);object-fit:contain}
.login-card .brand.brand-official{justify-content:center;margin:0 0 20px}
.login-card .brand-logo-window{width:210px}
@media(max-width:1100px){.brand.brand-official{min-width:144px}.brand-logo-window{width:132px}}
@media(max-width:800px){.brand.brand-official{min-width:123px}.brand-logo-window{width:118px}.login-card .brand-logo-window{width:190px}}
/* v0.2 inventory-focused controls */
.date-filter{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}
.date-filter input{max-width:160px;padding:8px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink)}
.import-plan{display:grid;grid-template-columns:1fr 1fr 1fr;background:var(--green-light);border-radius:10px;margin:18px 0;padding:16px;gap:12px}
.import-plan strong{display:block;font-size:25px}.import-plan span{font-size:10px;color:var(--muted)}
#m-product{font-size:12px;min-height:140px}#m-product option{padding:7px;white-space:normal}
.purchase-summary .metric-value{font-size:23px}.page-actions{flex-wrap:wrap}.modal-actions{flex-wrap:wrap}
@media(max-width:800px){.page-actions .btn{font-size:10px}.purchase-summary .metric:nth-child(3){display:block}.purchase-summary .metric:nth-child(4){display:block}.purchase-summary .metric-value{font-size:20px!important}.date-filter{flex-wrap:wrap}.card-footer{flex-wrap:wrap}.import-plan{gap:8px;padding:12px}#m-product option{padding:6px}.page-actions{justify-content:flex-start;gap:6px}}

/* Monthly workbook controls — preserves the established Monti design. */
.monthly-flow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:22px;margin:20px 0}.monthly-panel{padding:26px}.monthly-panel h2{margin:12px 0;font-size:23px}.monthly-panel p{line-height:1.6}.monthly-step{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--muted)}.monthly-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:24px 0}.monthly-metrics strong{display:block;font-size:26px}.monthly-metrics span{display:block;font-size:11px;margin-top:5px;color:var(--muted)}.monthly-error{color:#943d29}.monthly-association{max-width:320px;white-space:normal;line-height:1.5}.monthly-panel .source-note{overflow-wrap:anywhere}.monthly-panel select{max-width:100%}
@media(max-width:760px){.monthly-flow{grid-template-columns:1fr;gap:15px}.monthly-panel{padding:20px}.monthly-panel h2{font-size:21px}.monthly-metrics{grid-template-columns:repeat(2,1fr)}.mobile-nav .nav-btn{min-width:0;padding:6px 4px;font-size:8px;flex:1}.monthly-association{min-width:170px}.monthly-panel p{font-size:13px}}

/* v0.3.1 explicit-zero checklist, responsive without page overflow. */
.checklist-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;margin:0 0 24px;border:1px solid #e5cfa6;background:#fff8ea;border-radius:12px}.checklist-notice.checked{background:#edf5ef;border-color:#cbded0}.checklist-notice p{margin:5px 0 0;font-size:12px;line-height:1.5}.checklist-notice strong{font-size:14px}.checklist-scroll{max-height:390px;overflow:auto;margin-top:12px}.checklist-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:13px 2px;border-bottom:1px solid var(--line,#e0e5df)}.checklist-row>div{min-width:0;overflow-wrap:anywhere}.checklist-row strong{font-size:12px;line-height:1.5}.checklist-row button{flex-shrink:0}.count-zero-rule{font-size:12px;padding:9px 0;line-height:1.6}#count-total{font-size:23px}#checklist-search{width:100%;max-width:100%}@media(max-width:650px){.checklist-notice{align-items:flex-start;flex-direction:column;padding:16px}.checklist-notice .btn{width:100%}.checklist-scroll{max-height:300px}.checklist-row{gap:8px}.checklist-row .btn{font-size:11px;padding:9px}.checklist-row strong{font-size:11px}}

.inventory-clock-bar{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding:8px 4%;font-size:12px;background:#f7f8f6;color:#50645d}.inventory-clock-bar time{font-variant-numeric:tabular-nums;font-weight:600;color:#174f42}
.monthly-panel [data-action="monthly-next"]{margin-top:12px}

/* Team invitations */
.team-card{padding:24px;margin-bottom:20px}.team-card h2{margin-top:0}.team-member{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line,#e1e5dd)}.team-member:last-child{border-bottom:0}.team-email{overflow-wrap:anywhere;margin-top:6px}.team-share{display:flex;gap:12px;flex-wrap:wrap}.team-member .tiny{margin:7px 0}.team-card input[readonly]{font-size:13px}.topnav{overflow-x:auto}.topnav .nav-btn{white-space:nowrap}.mobile-nav{overflow-x:auto;justify-content:flex-start}.mobile-nav .nav-btn{flex:0 0 auto;min-width:70px}@media(max-width:600px){.team-member{align-items:flex-start;flex-direction:column;gap:8px}.team-card{padding:18px}.team-share .btn{width:100%}}
