.product-period-toolbar{margin:0 0 18px;background:#fff;border:1px solid #e2e2e7;box-shadow:0 6px 20px rgba(25,25,32,.035)}
.period-inputs input[type="date"]{cursor:pointer}
.filters{margin-bottom:22px}
.filter-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;min-width:0}.filter-levels label{display:grid;gap:8px;min-width:0;font-size:12px}.filter-levels select{width:100%;min-width:0;padding-left:5px;padding-right:2px;font-size:13px}
.filter-classifications{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;min-width:0}.filter-classifications label{min-width:0}.filter-classifications select{min-width:0;padding-left:8px;padding-right:3px}
.identity-controls{flex-wrap:wrap}.identity-controls .product-actual-level{display:flex;align-items:center;gap:5px;min-height:28px;padding:0 7px;border:1px solid #dce6e1;border-radius:8px;background:#f0f7f3;white-space:nowrap;font-size:11px}.product-actual-level span{color:#6b7972}.identity-controls .product-level{flex:0 1 92px}
.filter-actions button{white-space:nowrap;padding-left:16px;padding-right:16px}
.identity-controls .product-actual-choice{display:block;flex:0 1 116px;min-width:0;min-height:0;padding:0;border:0;background:transparent}.identity-controls .product-actual-choice label{display:none}.identity-controls .product-actual-choice select{width:100%;height:28px;padding:0 6px;border:1px solid #cbdad1;border-radius:8px;background:#f0f7f3;color:#17171c;font-size:11px}.identity-controls .product-actual-level-note{display:none}.identity-controls .product-actual-level-note.is-error{display:block;color:#bc3141;font-size:11px;white-space:normal}
.filter-field{display:grid;gap:8px;color:#5b5b68;font-size:14px}.category-picker{position:relative}.category-picker-trigger{width:100%;height:48px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #d1d1da;border-radius:12px;background:#fff;color:#17171c;text-align:left;cursor:pointer}.category-picker-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category-picker-trigger:focus{outline:none;border-color:#9a7b00;box-shadow:0 0 0 3px rgba(255,223,109,.45)}.category-picker-menu{position:absolute;z-index:30;top:54px;left:0;width:min(420px,90vw);max-height:390px;border:1px solid #d7d7df;border-radius:14px;background:#fff;box-shadow:0 16px 45px rgba(20,20,26,.18);overflow:hidden}.category-picker-menu[hidden]{display:none}.category-picker-header{display:grid;grid-template-columns:42px 1fr 52px;align-items:center;gap:6px;padding:10px;border-bottom:1px solid #ececf0;background:#fafafa}.category-picker-header strong{text-align:center;color:#17171c;font-size:14px}.category-picker-header button{height:32px;border:0;border-radius:8px;background:transparent;color:#555563;cursor:pointer}.category-picker-header button:hover{background:#eeeef2}.category-picker-options{max-height:330px;padding:8px;overflow:auto}.category-picker-options>button{width:100%;min-height:42px;padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-radius:9px;background:#fff;color:#17171c;text-align:left;cursor:pointer}.category-picker-options>button:hover,.category-picker-options>button[aria-selected="true"]{background:#fff4be}.category-picker-options p{margin:20px;color:#858590;text-align:center}
.product-list-head,.product-card{display:grid;grid-template-columns:minmax(390px,2.15fr) minmax(115px,.68fr) minmax(65px,.4fr) minmax(250px,1.35fr) minmax(90px,.55fr) minmax(140px,.82fr) 96px;gap:10px;align-items:center}
.product-list-head{padding:12px 18px;color:#747480;font-size:13px;font-weight:700;border:1px solid #e2e2e7;border-bottom:0;border-radius:15px 15px 0 0;background:#f7f7f9}
.product-grid{display:grid;grid-template-columns:1fr;gap:0;border:1px solid #e2e2e7;border-radius:0 0 15px 15px;background:#fff;overflow:hidden}
.product-card{min-width:0;padding:9px 18px;border:0;border-bottom:1px solid #ececf0;border-radius:0;box-shadow:none;background:#fff;transition:background .18s}
.product-card:last-child{border-bottom:0}
.product-card:hover{transform:none;box-shadow:none;background:#fffdf5}
.product-image{grid-column:1;grid-row:1;width:76px;height:76px;aspect-ratio:1;display:grid;place-items:center;border:1px solid #ececf0;border-radius:9px;overflow:hidden;background:#f4f4f6}
.product-image img{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;transition:none}
.product-card:hover img{transform:none}
.product-identity{grid-column:1;grid-row:1;min-width:0;margin-left:90px;align-self:center}
.product-identity .product-id{display:inline-block;margin:0 0 2px;padding:1px 5px;font-size:12px;border-radius:5px}
.product-identity h3{margin:0;max-width:100%;font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;display:block;text-overflow:ellipsis}
.product-identity .category-line{margin:2px 0 0;font-size:11px}
.identity-controls{display:flex;align-items:center;gap:6px;margin-top:5px;min-width:0}
.identity-controls .product-level,.identity-controls .product-channel,.identity-controls .product-assignee{display:block;min-width:0;margin:0}
.identity-controls .product-level{flex:0 1 92px}.identity-controls .product-channel{flex:0 1 76px}.identity-controls .product-assignee{flex:1 1 80px}
.identity-controls .product-assignee{flex:0 1 80px}.identity-controls .product-type{display:block;flex:0 1 108px;min-width:100px;margin:0}.identity-controls .product-type label,.identity-controls .product-type-note{display:none}.identity-controls .product-type select{width:100%;height:28px;padding:0 6px;border:1px solid #d1d1da;border-radius:8px;background:#fff;color:#17171c;font-size:11px}.identity-controls .product-type select:focus{outline:none;border-color:#9a7b00;box-shadow:0 0 0 3px rgba(255,223,109,.4)}.identity-controls .product-type-note.is-error{display:block;color:#bc3141;font-size:11px;white-space:normal}
.identity-controls .product-level label,.identity-controls .product-channel label,.identity-controls .product-assignee label,.identity-controls .product-level-note,.identity-controls .product-channel-note,.identity-controls .product-assignee-note{display:none}
.identity-controls .product-level select,.identity-controls .product-channel select,.identity-controls .product-assignee select{width:100%;height:28px;padding:0 6px;border-radius:8px;font-size:11px}
.row-metric{display:grid;gap:2px;min-width:0}
.row-metric>span{display:none;color:#858590;font-size:12px}
.row-metric strong{font-size:16px;font-variant-numeric:tabular-nums}
.row-metric small{color:#858590;font-size:12px}
.row-payment{grid-column:2;grid-row:1}.row-sales{grid-column:3;grid-row:1}.row-promotion-ratio{grid-column:5;grid-row:1}.row-promotion-ratio strong{font-size:15px;color:#15151a}.row-promotion-ratio strong.is-over-break-even{color:#d91f3d}.row-promotion-ratio small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row-promotion-ratio .row-promotion-amount{display:block;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35}
.row-promotion-amount .promotion-spend-value{display:block;color:#b86a22;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.product-level,.product-channel,.product-assignee,.break-even{display:grid;grid-template-columns:1fr;gap:5px;margin:0;min-width:0}
.break-even{grid-column:6;grid-row:1}
.product-level label,.product-channel label,.product-assignee label,.break-even label{display:none}
.product-level select,.product-channel select,.product-assignee select,.percent-input input{height:42px}
.product-channel select,.product-assignee select{width:100%;min-width:0;padding:0 10px;border:1px solid #d1d1da;border-radius:10px;background:#fff;color:#17171c;font-size:14px}
.product-channel select:focus,.product-assignee select:focus{outline:none;border-color:#9a7b00;box-shadow:0 0 0 3px rgba(255,223,109,.4)}
.product-level-note,.product-channel-note,.product-assignee-note,.break-even-note{min-height:0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-level-note,.product-channel-note,.product-assignee-note,.break-even-note{grid-column:1}
.channel-sales{grid-column:4;grid-row:1;min-width:0;padding:6px 9px;border:1px solid #e4e4e9;border-radius:10px;background:#fafafa}.channel-sales-total{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:4px}.channel-sales-total small{color:#676774;font-size:10px}.channel-sales-total strong{font-size:15px;font-variant-numeric:tabular-nums}.channel-sales-breakdown{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px 5px}.channel-sales-breakdown small{display:grid;justify-items:center;gap:1px;min-width:0;color:#555563;font-size:9px;font-variant-numeric:tabular-nums;white-space:nowrap}.channel-sales-breakdown b{max-width:100%;overflow:hidden;color:#8b8b96;font-weight:500;text-overflow:ellipsis}.channel-sales-pending{display:block;color:#9999a3;font-size:10px}
.card-actions,.card-actions.single-action{grid-column:7;grid-row:1;margin:0;display:block}
.card-actions a{min-height:40px;padding:0 12px;white-space:nowrap}
.no-product-image{min-height:0;font-size:12px}
.personnel-dialog{width:min(480px,calc(100vw - 28px));padding:0;border:0;border-radius:18px;background:transparent}.personnel-dialog::backdrop{background:rgba(18,18,24,.42);backdrop-filter:blur(2px)}.personnel-dialog-card{padding:22px;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(20,20,28,.26)}.personnel-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.personnel-dialog-head h2{margin:0;font-size:22px}.personnel-dialog-head p{margin:6px 0 0;color:#737380;font-size:13px}.personnel-close{width:34px;height:34px;border:0;border-radius:50%;background:#f1f1f4;color:#44444e;font-size:23px;line-height:1;cursor:pointer}.personnel-option-list{display:flex;flex-wrap:wrap;gap:7px;min-height:38px;margin:18px 0 14px;padding:12px;border:1px solid #e3e3e8;border-radius:12px;background:#fafafa}.personnel-option-list span{padding:6px 10px;border-radius:999px;background:#fff1ad;color:#2d2d34;font-size:13px}.personnel-option-list p{margin:auto;color:#92929c;font-size:13px}.personnel-name-field{display:grid;gap:7px;color:#555561;font-size:13px}.personnel-name-field input{height:44px;padding:0 12px;border:1px solid #d4d4dc;border-radius:10px;font:inherit}.personnel-name-field input:focus{outline:none;border-color:#9a7b00;box-shadow:0 0 0 3px rgba(255,223,109,.4)}.personnel-form-note{min-height:20px;margin:7px 0 0;color:#d13a48;font-size:12px}.personnel-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:12px}.personnel-dialog-actions button{height:40px;padding:0 18px;border:0;border-radius:10px;font-weight:700;cursor:pointer}.personnel-dialog-actions .secondary{background:#f0f0f3}.personnel-dialog-actions .primary{background:#ffdc62}.personnel-dialog-actions button:disabled{cursor:wait;opacity:.6}
@media(max-width:1280px){.product-list-head,.product-card{grid-template-columns:minmax(330px,1.8fr) minmax(105px,.68fr) 60px minmax(220px,1.25fr) minmax(85px,.55fr) minmax(125px,.8fr) 90px;gap:9px}.product-list-head,.product-card{padding-left:12px;padding-right:12px}}
@media(max-width:1100px){.product-list-head{display:none}.product-grid{border-radius:15px}.product-card{grid-template-columns:96px repeat(3,minmax(0,1fr));gap:12px}.product-image{grid-column:1;grid-row:1/5;width:96px;height:96px}.product-identity{grid-column:2/5;grid-row:1;margin-left:0}.row-metric>span,.break-even label{display:block}.row-payment{grid-column:2;grid-row:2}.row-sales{grid-column:3;grid-row:2}.row-promotion-ratio{grid-column:4;grid-row:2}.channel-sales{grid-column:2/5;grid-row:3}.break-even{grid-column:2/5;grid-row:4}.card-actions,.card-actions.single-action{grid-column:2/5;grid-row:5}}
@media(max-width:680px){.product-period-toolbar{align-items:stretch}.product-card{grid-template-columns:82px minmax(0,1fr);align-items:start;padding:14px}.product-image{grid-column:1;grid-row:1;width:82px;height:82px}.product-identity{grid-column:2;grid-row:1}.product-identity h3{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.identity-controls{flex-wrap:wrap}.row-metric,.channel-sales,.break-even,.card-actions{grid-column:1/-1;grid-row:auto}.row-metric{grid-template-columns:90px 1fr;align-items:center}.row-metric>span{display:block}.row-metric small{display:none}.channel-sales-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))}.break-even{grid-template-columns:90px minmax(0,1fr);align-items:center}.break-even label{display:block}.break-even-note{grid-column:2}.card-actions a{min-height:42px}}
@media(max-width:680px){.row-promotion-ratio .row-promotion-amount{display:block;grid-column:2}}
