:root{color-scheme:light;font-family:Segoe UI,sans-serif;line-height:1.5;font-weight:400;background:radial-gradient(circle at top left,rgba(255,225,156,.7),transparent 28%),radial-gradient(circle at top right,rgba(113,182,255,.25),transparent 22%),linear-gradient(180deg,#fff9ec,#f7f8fc 52%,#eef3fb);color:#20263b}*{box-sizing:border-box}body{margin:0;min-width:320px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button,input,select,textarea{font:inherit}#root{min-height:100vh}.login-shell{min-height:100vh;width:min(100vw - 32px,520px);margin:0 auto;display:grid;place-items:center;padding:32px 0}.login-panel{width:100%;padding:28px;border:1px solid rgba(32,38,59,.08);border-radius:24px;background:#ffffffdb;box-shadow:0 24px 64px #2b3c7624;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.login-panel h1{margin:0;line-height:1.05;font-size:2.25rem}.login-copy{margin:12px 0 0;color:#55607f}.login-alert{margin-top:18px;padding:14px;border-radius:8px;background:#fff2d2;color:#805900}.login-form{display:flex;flex-direction:column;gap:14px;margin-top:24px}.login-button{width:100%}.shell{width:min(1400px,calc(100vw - 32px));margin:0 auto;padding:32px 0 56px}.hero{display:flex;justify-content:space-between;gap:24px;padding:28px;border:1px solid rgba(32,38,59,.08);border-radius:28px;background:#ffffffc7;box-shadow:0 24px 64px #2b3c761f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.eyebrow,.panel-kicker{margin:0 0 8px;text-transform:uppercase;letter-spacing:.12em;font-size:.76rem;color:#7b5f14}.hero h1,.panel h2{margin:0;max-width:760px;line-height:1.05}.hero h1{font-size:clamp(2rem,4vw,3.4rem)}.hero-copy{max-width:720px;margin:16px 0 0;color:#55607f}.hero-meta{min-width:220px;display:flex;flex-direction:column;gap:12px;align-items:flex-end}.badge,.stamp,.action-button{display:inline-flex;align-items:center;border-radius:999px;padding:10px 14px;font-size:.9rem}.badge-ok{background:#e1f6eb;color:#0f7a45}.badge-warn{background:#fff2d2;color:#8f6200}.stamp{background:#20263b0f;color:#47506d}.action-button{justify-content:center;background:#2e6df6;color:#fff;text-decoration:none;border:none;cursor:pointer}.action-button.secondary{background:#20263b14;color:#2f3957}.notice{margin-top:18px;display:flex;gap:10px;align-items:center;padding:14px 18px;border-radius:18px;background:#fffc;border:1px solid rgba(32,38,59,.08)}.page-tabs{display:flex;gap:10px;margin-top:18px;padding:8px;border-radius:18px;background:#ffffffb8;border:1px solid rgba(32,38,59,.08);width:fit-content}.page-tab{border:0;border-radius:14px;padding:12px 18px;background:transparent;color:#4f5c7b;cursor:pointer}.page-tab.is-active{background:#2e6df6;color:#fff;box-shadow:0 8px 24px #2b3c761f}.stats-grid{margin-top:20px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat-card,.panel{border:1px solid rgba(32,38,59,.08);border-radius:24px;background:#ffffffd1;box-shadow:0 16px 46px #2b3c7614}.stat-card{padding:20px 22px}.stat-card span{display:block;margin-bottom:8px;color:#62708f}.stat-card strong{font-size:1.8rem}.panel{margin-top:20px;padding:24px}.panel-header{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:18px}.filters-block{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.filter-field{display:flex;flex-direction:column;gap:6px;min-width:160px}.filter-field span{font-size:.85rem;color:#5d6782}.filter-field input{padding:10px 12px;border:1px solid rgba(32,38,59,.12);border-radius:14px;background:#fffffff2;color:#20263b}.filter-field textarea{padding:10px 12px;border:1px solid rgba(32,38,59,.12);border-radius:14px;background:#fffffff2;color:#20263b;resize:vertical}.filter-field select{padding:10px 12px;border:1px solid rgba(32,38,59,.12);border-radius:14px;background:#fffffff2;color:#20263b}.panel-note{margin:0 0 14px;max-width:360px;color:#5d6782}.menu-tabs{display:inline-flex;gap:10px;margin:0 0 18px;padding:8px;border-radius:18px;background:#20263b0f}.menu-tab{border:0;border-radius:14px;padding:12px 18px;background:transparent;color:#4f5c7b;cursor:pointer}.menu-tab.is-active{background:#fff;color:#1f3875;box-shadow:0 8px 24px #2b3c761f}.panel-error{margin:0 0 14px;color:#b33a3a}.table-wrap{overflow-x:auto}.entries-panel,.product-analysis-panel{margin-top:20px}.product-analysis-search{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:18px}.product-analysis-field{min-width:min(420px,100%)}.product-analysis-card{display:flex;gap:16px;align-items:center;margin:6px 0 18px;padding:16px;border-radius:8px;background:#20263b0d}.product-analysis-thumb{width:96px;height:96px;object-fit:cover;flex:0 0 auto;border-radius:8px;background:#20263b14}.product-analysis-title{display:flex;flex-direction:column;gap:4px;min-width:0}.product-analysis-title span,.product-analysis-title small,.product-analysis-metrics small{color:#66728f}.product-analysis-title strong{font-size:1.35rem;line-height:1.2}.product-analysis-metrics{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:14px}.product-analysis-metrics .stat-card{display:flex;flex-direction:column;gap:6px}.product-analysis-metrics .stat-card span{margin-bottom:0}.product-analysis-metrics .stat-card strong{font-size:1.35rem}.product-analysis-note{max-width:760px;margin-top:16px}.entry-form{display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:14px;align-items:end;margin-bottom:18px}.entry-field-wide{grid-column:span 2}.entry-field-notes{grid-column:span 3}.entry-form-actions{display:flex;justify-content:flex-end}.entry-notice{margin:0 0 14px}.entry-summary-panel{margin:18px 0;padding:18px 0 4px;border-top:1px solid rgba(32,38,59,.08);border-bottom:1px solid rgba(32,38,59,.08)}.entry-summary-table,.expanded-entries-table{margin-top:12px}.entry-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:0 0 16px;padding:14px;border-radius:18px;background:#20263b0d}.entries-table{margin-top:10px}.table-input{width:150px;padding:8px 10px;border:1px solid rgba(32,38,59,.14);border-radius:8px;background:#fff;color:#20263b}.table-input-wide{width:220px}.table-input-item{width:440px}.entries-table .entry-quantity-column{width:84px;min-width:84px;max-width:84px;text-align:center;white-space:nowrap}.entries-table .entry-quantity-column .table-input{width:72px;text-align:center}.entries-table .entry-item-column{width:440px;min-width:440px}.table-actions{display:flex;flex-direction:column;gap:8px}.table-actions-inline{flex-direction:row}.table-action-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;padding:8px 10px;background:#2e6df6;color:#fff;cursor:pointer}.table-action-button.icon-button{width:36px;height:36px;padding:0;font-size:1.05rem}.table-action-button.secondary{background:#20263b14;color:#2f3957}.table-action-button.danger{background:#d43f3a}.table-action-button:disabled{cursor:wait;opacity:.7}.state-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.state-card{display:flex;flex-direction:column;gap:16px;padding:20px;border-radius:22px;border:1px solid rgba(32,38,59,.08);background:linear-gradient(180deg,#fffffffa,#f4f8fff5);box-shadow:0 12px 32px #2b3c7614}.state-card-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.state-card-header strong,.state-month-chip strong{display:block}.state-card-header span{color:#607091}.state-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.state-metrics div{padding:14px;border-radius:16px;background:#20263b0d}.state-metrics span{display:block;margin-bottom:6px;color:#607091}.state-month-list{display:flex;flex-wrap:wrap;gap:10px}.state-month-chip{min-width:136px;display:flex;flex-direction:column;gap:3px;padding:12px 14px;border-radius:16px;background:#2e6df614}.state-month-chip span{color:#566482}table{width:100%;border-collapse:collapse;min-width:1100px}th,td{padding:14px 12px;text-align:left;vertical-align:top;border-bottom:1px solid rgba(32,38,59,.08)}th{font-size:.84rem;text-transform:uppercase;letter-spacing:.08em;color:#6d7692}tbody tr:hover{background:#71b6ff12}.product-cell,.month-cell,.metric-cell{display:flex;flex-direction:column;gap:4px}.product-row{display:flex;align-items:flex-start;gap:12px}.product-thumb{width:56px;height:56px;object-fit:cover;border-radius:14px;background:#20263b14;flex:0 0 auto}.product-thumb-placeholder{border:1px dashed rgba(32,38,59,.12)}.month-button{width:100%;padding:0;border:0;background:transparent;text-align:left;cursor:pointer}.month-button:disabled{cursor:default;opacity:.7}.month-button.is-open .month-cell{background:#2e6df614}.month-cell{padding:8px;border-radius:14px}.order-list{margin-top:10px;display:flex;flex-direction:column;gap:10px;max-height:320px;overflow-y:auto}.order-list-wide{max-height:420px}.expanded-row td{background:#2e6df60a}.expanded-cell{padding:18px 12px 20px}.expanded-header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.expanded-header span{color:#607091}.orders-loading{padding:18px;border-radius:14px;background:#20263b0d;color:#5b6887}.table-loading{padding:24px;border-radius:18px;background:#20263b0d;color:#5b6887}.order-card{display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:14px;background:#20263b0d}.order-card-header{display:flex;flex-direction:column;gap:4px}.order-card-header a,.order-card-header strong{color:#20489f;text-decoration:none}.order-status{color:#5b6887}.product-cell span,.month-cell span,.month-cell small,.metric-cell span,.metric-cell small{color:#66728f}.metric-cell span{color:#20263b}@media(max-width:980px){.hero,.panel-header{flex-direction:column;align-items:stretch}.hero-meta{align-items:flex-start}.panel-note{text-align:left}.stats-grid,.product-analysis-metrics,.entry-form{grid-template-columns:repeat(2,minmax(0,1fr))}.entry-field-wide,.entry-field-notes{grid-column:span 2}.state-grid{grid-template-columns:1fr}}@media(max-width:640px){.shell{width:min(100vw - 20px,1400px);padding-top:20px}.hero,.panel,.stat-card{border-radius:20px}.stats-grid{grid-template-columns:1fr}.page-tabs{width:100%}.page-tab{flex:1}.page-tabs{flex-wrap:wrap}.product-analysis-card{align-items:flex-start}.product-analysis-metrics,.entry-form{grid-template-columns:1fr}.entry-field-wide,.entry-field-notes{grid-column:span 1}}
