:root{--red:#079b50;--orange:#98cdb1;--paper:#f3f5f8;--nav:#075c38}.brand-lockup{display:flex!important;align-items:center;gap:9px;color:#075c38}.brand-emblem{display:block;width:39px;height:49px;position:relative;overflow:hidden;flex:none;background:#fff}.brand-emblem img{position:absolute;width:355px;height:355px;max-width:none;left:-18px;top:-9px}.brand-word strong{font-size:22px;letter-spacing:-1px;white-space:nowrap}.brand-word strong span{color:#079b50}.brand-word small{display:block;font-size:10px;color:#075c38}.login-brand .brand-word strong{font-size:39px}.login-brand .brand-word small{font-size:13px}.reference-mode .side{background:linear-gradient(180deg,#075c38,#06432c)}.reference-mode .work,.reference-mode{background:#f3f5f8!important}.reference-mode .month-btn.active,.nav button.active{background:#079b50!important;border-color:#079b50!important}.reference-mode .category-panel{border-color:#079b50!important;background:#fff!important}.reference-mode .vendor-panel{border-color:#98cdb1!important;background:#f3faf5!important}.reference-mode .reference-panel .table th,.reference-mode .reference-panel .table tfoot th{background:#075c38!important}.reference-mode .category-panel h3,.reference-mode .vendor-panel h3{color:#079b50!important}.reference-mode .month-row .month-btn{min-height:34px!important;height:auto!important}.reference-mode .filter-layout{height:calc(100vh - 142px)!important;min-height:560px!important}.brand{margin-bottom:8px}.source-notice{font-size:12px;color:#53616e;margin:6px 0}.simple-panel{background:white;border:1px solid #ced6e3;border-top:4px solid #079b50;border-radius:14px;padding:20px;max-width:100%;min-width:0}.simple-panel .table-wrap{max-height:calc(100vh - 260px);overflow:auto}.simple-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:15px 0}.simple-tools input,.simple-tools select{min-height:42px;padding:8px 12px;max-width:100%;border:1px solid #cbd2df;border-radius:8px;font-size:15px}.export-btn{background:#f3faf5;border:1px solid #98cdb1;border-radius:8px;min-height:36px;padding:7px 12px;color:#075c38;font-weight:700}.source-tabs{display:flex;gap:8px;flex-wrap:wrap}.mini-total{font-size:20px;color:#075c38;margin:8px 0}.stat-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.stat-rows div{border:1px solid #d5deeb;border-radius:10px;padding:15px;background:#fff}.stat-rows b{display:block;font-size:23px;margin-top:7px}.adjustment-note{background:#fff4db;border:1px solid #98cdb1;border-radius:9px;padding:12px;margin:12px 0}.logout-action,.help-action{min-height:40px}.login input{font-size:16px}.login label{font-size:14px;display:block}.nav{overflow:auto;min-height:0}.side-actions{margin-top:auto}.nav button{min-height:40px}.reference-mode .nav button{font-size:15px}#installHint{max-width:270px;font-size:12px;color:#52617b}#login .brand-logo{object-fit:cover}.row-link{cursor:pointer}.row-link:hover{background:#e7f6ec}.table .num{font-variant-numeric:tabular-nums;text-align:right}.reference-mode .category-list{flex:1;min-height:0}.brand-emblem img{pointer-events:none}.ref-info{font-size:12px;color:#69788b}.sheet-select{max-width:480px}#authSubmit:disabled{opacity:.6}
@media(max-width:760px){.reference-mode .filter-layout{height:auto!important;min-height:0!important}.simple-panel{padding:14px}.stat-rows{grid-template-columns:1fr 1fr}.simple-panel .table-wrap{max-height:70vh}.reference-mode .month-btn{min-height:44px!important}.login-card{padding:22px}.reference-mode .work{padding:15px!important}.simple-tools input{width:100%}.brand-word strong{font-size:22px}.top-actions{gap:5px}.fresh{font-size:11px}}
[hidden]{display:none!important}
@media(max-width:760px){.reference-mode .preset-group{display:flex!important;gap:5px!important}.reference-mode .preset-group>.preset{width:auto!important;flex:0 1 auto;padding:7px 10px!important;min-height:38px!important;font-size:13px!important}.reference-mode .preset-group>.month-label{flex-basis:100%}.reference-mode .side-actions a,.reference-mode .side-actions #installButton{padding:6px!important;line-height:1.4!important}.reference-mode .side-actions .action-label-full{display:none!important}.reference-mode .side-actions .action-label-compact{display:inline!important}}
@media(max-width:760px){body.reference-mode{overflow-x:hidden}.reference-mode .app{display:block!important}.reference-mode .side{display:grid!important;grid-template-columns:75px minmax(0,1fr);gap:7px;height:auto!important;position:static!important;padding:8px!important}.reference-mode .brand{grid-column:1;grid-row:1/3;width:75px;margin:0;padding:4px}.brand-lockup .current-logo{max-height:70px}.reference-mode .sidebar-toggle{grid-column:2;width:100%;margin:0}.reference-mode .nav{grid-column:2;display:flex!important;flex-wrap:wrap;gap:4px;overflow:visible}.reference-mode .nav button{min-width:70px;min-height:36px;padding:5px!important;font-size:12px!important;flex:1 1 75px}.reference-mode .nav .nav-label{display:inline!important}.reference-mode .nav .nav-icon{display:none!important}.reference-mode .side-actions{grid-column:1/-1;display:flex!important;flex-wrap:wrap;gap:5px;margin-top:0}.reference-mode .side-actions a,.reference-mode .side-actions #installButton{flex:1 1 75px!important;min-height:38px;width:auto;font-size:12px!important;margin:0}.reference-mode .side-actions #installHint{flex:1 1 100%;position:static}.reference-mode .side-actions .action-label,.reference-mode .help-label{display:inline!important}.reference-mode .filter-layout{display:flex!important;flex-direction:column;height:auto!important;min-height:0!important}.reference-mode .filter-layout .filters{height:auto!important;overflow:visible!important}.reference-mode .embedded-primary,.reference-mode .embedded-sku{min-height:260px!important;flex:none!important}.reference-mode .embedded-primary .table-wrap,.reference-mode .embedded-sku .table-wrap{height:210px;max-height:320px!important;flex:none!important}.reference-mode .rail-toggle{writing-mode:horizontal-tb!important}.reference-mode .rail-body{max-height:400px}.reference-mode .month-row{grid-template-columns:repeat(6,1fr)!important}.reference-mode .month-btn{font-size:12px!important}.reference-mode .preset-group{flex-wrap:wrap}.reference-mode .simple-tools{font-size:12px}.simple-panel .table{font-size:13px}.reference-mode #content{height:auto!important;overflow:visible!important}}
.reference-mode #drill table,.reference-mode #skuDrill table{min-width:1100px!important}.reference-mode #drill td.num,.reference-mode #skuDrill td.num{overflow:visible;text-overflow:clip;font-size:14px!important}.reference-mode #drill tbody td:nth-child(3),.reference-mode #drill tbody td:nth-child(4),.reference-mode #skuDrill tbody td:nth-child(3),.reference-mode #skuDrill tbody td:nth-child(4){min-width:155px}
.side-actions #installButton{background:#eff8f2;color:#075c38;min-height:40px;font-size:13px;width:100%;white-space:normal}.side-actions #installHint{color:#fff;padding:8px;line-height:1.6}.sidebar-collapsed .side-actions #installButton{font-size:11px;padding:3px}.sidebar-collapsed .side-actions #installHint{position:fixed;bottom:12px;left:62px;background:#075c38;border-radius:9px;z-index:30}.reference-mode .nav button:focus-visible{outline:3px solid #c5f5db;outline-offset:-3px}
@media print{.side,.top-actions,.simple-tools,.export-btn,.ref-info{display:none!important}.app{display:block!important}.work{padding:0!important}.table-wrap{max-height:none!important;overflow:visible!important}.reference-mode .filter-layout{height:auto!important}.category-panel,.vendor-panel,.simple-filter{display:none!important}.filters{display:block!important}.table td,.table th{font-size:11px!important}.simple-panel{border:0!important}}

.brand-lockup .current-logo{display:block;width:100%;height:auto;max-height:118px;object-fit:contain}.login-brand .current-logo{width:150px;height:150px;max-height:none}.brand-lockup{display:flex;justify-content:center!important}.brand-lockup .brand-emblem,.brand-lockup .brand-word{display:none}.reference-mode .nav button.active{background:#079b50!important}.export-btn{border-color:#8fc5a5}.simple-panel{border-top-color:#079b50}.adjustment-note{border-color:#9bceb0}.reference-mode .reference-panel .table th{border-bottom-color:#079b50!important}
/* Reuse the desktop bottom margin for three more SKU rows; retain the upper table allocation. */
@media screen and (min-width:761px){
 .reference-mode:not(.notebook-preview) .filter-layout{height:calc(100vh - 12px)!important;height:calc(100dvh - 12px)!important}
 .reference-mode:not(.notebook-preview) .embedded-sku{flex:.97 1 130px!important}
}
.reference-mode .filter-layout.report-layout{grid-template-columns:minmax(0,1fr)!important}
.report-toolbar{display:flex!important;flex-direction:column;gap:7px!important;flex:none!important}
.report-toolbar h2{margin:0;color:#075c38;font-size:18px;line-height:1.4}
.report-toolbar .simple-tools{margin:0;gap:7px}
.report-toolbar .source-notice,.report-toolbar>p{margin:0;font-size:12px;line-height:1.5;color:#687483}
.report-toolbar input,.report-toolbar select,.report-toolbar button,.report-toolbar a{min-height:36px;padding:6px 10px;font-size:14px}
.report-toolbar .simple-tools input,.report-toolbar .simple-tools select{border:1px solid #cbd2df;border-radius:8px}
.report-panel{display:flex!important;flex-direction:column;flex:1 1 0!important;min-height:0!important;overflow:hidden;padding:10px!important;box-shadow:none!important}
.report-content,#stockResults,#reportRows{display:flex;flex-direction:column;flex:1 1 0;gap:8px;min-height:0;overflow:hidden}
.report-content>.table-wrap,#stockResults>.table-wrap,#reportRows>.table-wrap{flex:1 1 0;min-height:0;max-height:none!important}
.report-summary{flex:none;max-height:32vh;overflow:auto}
.report-summary .table-wrap{max-height:none!important}
.report-summary .table{min-width:650px}
.report-panel .table{font-size:17px;min-width:900px}
.report-panel .table th,.report-panel .table td{font-size:17px!important;line-height:1.52!important;padding:9px!important}
.report-content>.source-notice,.report-content>.ref-info{margin:0;font-size:12px;line-height:1.4;flex:none}
.report-content>h3{margin:0;font-size:17px;color:#075c38;flex:none}
.report-content>details{flex:none;max-height:35vh;overflow:auto}
.report-notes summary{cursor:pointer;color:#075c38;font-size:14px}
.report-panel tbody tr[data-detail-code],#skuDrill tbody tr[data-detail-code]{cursor:pointer}
.report-panel tbody tr[data-detail-code]:hover,#skuDrill tbody tr[data-detail-code]:hover{background:#e7f6ec}
@media(max-width:760px){
 .reference-mode .simple-filter{grid-template-columns:minmax(0,1fr)!important;min-width:0!important;width:100%!important}
 .reference-mode .compact-period-toolbar,.reference-mode .compact-period-toolbar .tools,.reference-mode .preset-group{width:100%!important;max-width:100%!important;min-width:0!important}
 .reference-mode .compact-period-toolbar .tools{flex-wrap:wrap!important}
 .reference-mode .compact-period-toolbar .tools>select{flex:1 1 120px;width:auto!important;min-width:0!important}
 .reference-mode .comparison-search{flex:1 1 200px;min-width:0!important}
 .reference-mode #drill .table-wrap,.reference-mode #skuDrill .table-wrap{height:320px!important;min-height:260px!important;max-height:55vh!important}
}
@media(max-width:760px){.report-panel{min-height:330px!important;overflow:visible}.report-content,#stockResults,#reportRows{overflow:visible}.report-content>.table-wrap,#stockResults>.table-wrap,#reportRows>.table-wrap{flex:none;height:55vh;min-height:260px;max-height:550px!important}.report-toolbar input{width:auto!important;flex:1 1 160px}.report-panel .table th,.report-panel .table td{font-size:16px!important}.report-summary{max-height:none}.report-summary .table-wrap{height:auto!important}.report-toolbar .sheet-select{max-width:100%;min-width:0;flex:1 1 220px}}
@media print{.report-toolbar,.report-summary,.report-content>details{display:none!important}.report-panel,.report-content,#stockResults,#reportRows{display:block!important;overflow:visible!important}.report-content>.table-wrap,#stockResults>.table-wrap,#reportRows>.table-wrap{height:auto!important;max-height:none!important;overflow:visible!important}}
