:root{color-scheme:light;--green:#217346;--green-dark:#185c37;--green-light:#e2efda;--green-line:#217346;--ink:#222;--muted:#686868;--line:#d4d4d4;--chrome:#f3f3f3;--paper:#fff;--amber:#9c6500;--number-width:36px;--product-width:252px;--row-height:23px;--letters-height:24px;--head-height:25px;--cell-font:12px;--zoom:1;font:12px Calibri,"Segoe UI","Malgun Gothic",Arial,sans-serif}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#fff}button,input,select{font:inherit;color:inherit}button{cursor:pointer;border:0;background:none}button,input,select,a{-webkit-tap-highlight-color:transparent}button:disabled{opacity:.38;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #217346;outline-offset:1px}[hidden]{display:none!important}.sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.mono{font-family:Calibri,Arial,sans-serif;font-variant-numeric:tabular-nums}.muted{color:#777}.button{display:inline-flex;gap:6px;align-items:center;justify-content:center;padding:5px 10px;border:1px solid #bbb;background:#fff;min-height:29px;font-size:12px}.button:hover{background:#e3efdf;border-color:#9eb8a1}.button.primary{background:#217346;color:#fff;border-color:#217346}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px}.icon-button:hover{background:#dedede}
.workbook{height:100vh;height:100dvh;min-height:330px;display:flex;flex-direction:column;overflow:hidden;background:#fff}
.titlebar{height:35px;min-height:35px;display:flex;align-items:center;gap:15px;background:#217346;color:#fff;padding:0 12px}.excel-mark{font-size:17px;font-weight:700;width:19px;text-align:center;line-height:1;border-right:1px solid #ffffff66;padding-right:8px;box-sizing:content-box}.quick-access{display:flex;align-items:center;gap:4px}.quick-access button{width:26px;height:27px;padding:4px;color:#fff}.quick-access button:hover{background:#ffffff24}.quick-access .icon{width:16px;height:16px}.document-title{font-size:12px;font-weight:400;white-space:nowrap;letter-spacing:.1px}.document-title small{color:#cfe4d5;font-size:10px;margin-left:9px}.titlebar .search{display:flex;align-items:center;gap:8px;background:#ffffffea;width:250px;height:25px;margin-left:auto;color:#56635a;padding:0 8px;border:1px solid #185f38;border-radius:2px}.search .icon{width:14px;height:14px}.search input{background:none;border:0;min-width:0;outline:none;flex:1;font-size:11px}.search input::placeholder{color:#597562}.title-end{display:flex;align-items:center;gap:13px;margin-left:auto}.save-status{font-size:10px;color:#d7e9dd}.avatar{display:flex;align-items:center;justify-content:center;width:23px;height:23px;border:1px solid #b7d3c0;border-radius:50%;font-size:11px}.window-chrome{display:flex;align-items:center;gap:23px;margin-left:11px;font:16px "Segoe UI",sans-serif;color:#e6f0e9}.window-square{width:9px;height:9px;border:1px solid #d7e9dd}
.menubar{height:32px;flex:none;display:flex;align-items:stretch;background:#fff;border-bottom:1px solid #d3d3d3}.file-button{padding:0 20px;color:#217346;font-size:12px;flex:none}.file-button:hover{color:#fff;background:#217346}.menu{display:flex;align-items:stretch;overflow:auto;scrollbar-width:none;min-width:0;flex:1}.menu button{position:relative;white-space:nowrap;padding:0 14px;border-bottom:2px solid transparent;font-size:12px}.menu button:hover{background:#f1f1f1}.menu button[aria-pressed="true"]{color:#217346;border-bottom-color:#217346;font-weight:600}.menu-actions{display:flex;align-items:center;padding:0 7px;gap:5px;background:#fff}.menu-actions .button{min-height:23px;padding:2px 7px;font-size:11px;border-color:#c9c9c9}.menu-actions .icon{width:14px;height:14px}.menu-actions .icon-button{width:24px;height:25px;color:#5d665f}
.ribbon{position:relative;display:flex;align-items:stretch;gap:0;height:104px;flex:none;background:#f3f3f3;border-bottom:1px solid #bcbcbc;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#bbb #ededed;padding:5px 4px 2px}.ribbon.collapsed{display:none}.ribbon-group{position:relative;flex:none;display:flex;flex-direction:column;padding:0 9px;border-right:1px solid #d5d5d5;min-width:70px}.group-content{display:flex;gap:5px;align-items:flex-start;flex:1;padding-top:2px}.group-label{position:relative;display:block;text-align:center;line-height:18px;color:#6b6b6b;font-size:10px;white-space:nowrap}.group-label .launcher{position:absolute;right:0;bottom:1px;font-size:9px;color:#808080}.ribbon-stack{display:flex;flex-direction:column;gap:3px}.ribbon-row{display:flex;gap:2px;align-items:center;height:27px;white-space:nowrap}.ribbon button{border:1px solid transparent;border-radius:1px}.ribbon button:hover{border-color:#acc9ad;background:#deecd8}.ribbon button[aria-pressed="true"]{border-color:#a7bf9d;background:#cee2c4}.tool-large{min-width:46px;height:67px;padding:2px 6px;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;gap:4px;font-size:11px;line-height:1.35;white-space:nowrap;text-align:center}.tool-large>.icon{width:29px;height:29px;stroke-width:1.4}.tool-large>.big-letter{font:29px/30px Cambria,Georgia,serif}.tool-small{display:flex;align-items:center;gap:5px;height:22px;padding:1px 4px;white-space:nowrap;font-size:11px}.tool-small>.icon{width:15px;height:15px}.tool-square{width:27px;height:25px;padding:3px;display:inline-flex;align-items:center;justify-content:center;font:14px Arial,sans-serif}.tool-square .icon{width:17px;height:17px}.ribbon select{height:24px;padding:1px 3px;background:#fff;border:1px solid #bcbcbc;font-size:11px;border-radius:0}.font-family{width:117px}.font-size{width:42px}.number-format{width:120px}.ribbon .bold{font-weight:700}.ribbon .italic{font-style:italic;font-family:Georgia,serif}.ribbon .underline{text-decoration:underline}.vertical-divider{width:1px;height:19px;background:#c8c8c8;margin:0 3px}.color-picker{position:relative;display:flex;align-items:center;justify-content:center;width:29px;height:25px;cursor:pointer}.color-picker:hover{background:#deecd8}.color-picker input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.font-color-letter{font:15px Arial,sans-serif;border-bottom:3px solid #c00000;padding:0 2px;line-height:17px}.fill-color-symbol{font-size:17px;line-height:17px;border-bottom:3px solid #ffff00;transform:rotate(-8deg)}.alignment-demo{display:flex;flex-direction:column;gap:3px;width:15px}.alignment-demo i{height:1px;background:#404040;width:15px}.alignment-demo i:nth-child(2){width:10px}.alignment-demo.center{align-items:center}.alignment-demo.right{align-items:flex-end}.top-align,.middle-align,.bottom-align{height:16px;justify-content:flex-start;gap:2px}.middle-align{justify-content:center}.bottom-align{justify-content:flex-end}.style-preview{display:grid;grid-template-columns:repeat(2,57px);gap:4px;padding:0 3px}.style-preview button{height:26px;font-size:11px;text-align:left;padding-left:5px;border-color:#c7c7c7;background:#fff}.style-preview .style-good{background:#c6efce;color:#006100}.style-preview .style-bad{background:#ffc7ce;color:#9c0006}.style-preview .style-neutral{background:#ffeb9c;color:#9c6500}.sort-letter{font:bold 21px/1.1 Calibri,sans-serif;color:#2268a6;position:relative;white-space:pre-line}.sort-letter small{font-size:13px;color:#578350}.check-tool{display:flex;align-items:center;gap:5px;min-height:23px;font-size:11px;white-space:nowrap}.check-tool input{accent-color:#217346;margin:0}.filter-count{display:inline-flex;background:#217346;color:#fff;min-width:14px;height:14px;border-radius:7px;font-size:9px;justify-content:center;align-items:center}.ribbon .compact-group{min-width:112px}.ribbon-hint{font-size:10px;color:#888;max-width:210px;line-height:1.8;padding:4px 12px}
.formula{display:flex;height:30px;flex:none;gap:0;align-items:center;background:#f3f3f3;border-bottom:1px solid #c6c6c6;padding:3px 4px}.cell-address{height:24px;width:81px;flex:none;background:#fff;border:1px solid #c9c9c9;padding:1px 6px;font-size:12px;text-align:left;font-family:Calibri,Arial,sans-serif}.formula-controls{display:flex;align-items:center;padding:0 8px;gap:4px;height:22px}.formula-controls button{font:17px Georgia,serif;color:#7b7b7b;width:24px;height:22px;padding:0}.formula-controls .accept{color:#217346}.formula-controls .fx{font-style:italic;font-weight:600}.formula-controls button:hover{background:#dedede}.formula input.formula-value{height:24px;min-width:0;flex:1;border:1px solid #c9c9c9;background:#fff;padding:1px 7px;font:12px Calibri,"Malgun Gothic",sans-serif}.formula input.dirty{border-color:#217346;box-shadow:inset 0 -1px #217346}.formula-expand{width:27px;height:23px;flex:none;font-size:11px;color:#777}.sample-note{height:25px;min-height:25px;display:flex;align-items:center;gap:7px;padding:0 10px;background:#fff9df;border-bottom:1px solid #e6dba9;font-size:10px;color:#6a613d}.sample-note .icon{height:13px;width:13px}.sample-note strong{font-weight:600}.sample-note .note-end{margin-left:auto;color:#92875d;white-space:nowrap}.sample-note button{margin-left:auto;width:19px;height:20px;color:#81775b;font-size:15px}
.workspace{display:flex;flex:1;min-height:0}.sheet-area{display:flex;flex-direction:column;flex:1;min-width:0}.sheet-heading{display:none}.grid-scroll{position:relative;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:auto;scrollbar-color:#c2c2c2 #f0f0f0;background:#fff}.sheet{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;font-size:var(--cell-font);zoom:var(--zoom);user-select:none}.sheet col.row-number{width:var(--number-width)}.sheet col.product-column{width:var(--product-width)}.sheet col.price-column{width:101px}.sheet col.median-column{width:108px}.sheet col.delta-column{width:99px}.sheet col.low-column{width:106px}.sheet col.chart-column{width:100px}.sheet col.verdict-column{width:105px}.sheet col.shop-column{width:105px}.sheet col.source-column{width:98px}.sheet col.condition-column{width:126px}.sheet col.extra-column{width:86px}.sheet th,.sheet td{height:var(--row-height);max-height:var(--row-height);padding:0 5px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-weight:400;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:clip;background:#fff;line-height:calc(var(--row-height) - 1px);vertical-align:middle}.sheet td{cursor:cell}.sheet .letters th{position:sticky;top:0;z-index:5;height:var(--letters-height);line-height:var(--letters-height);background:#e6e6e6;text-align:center;color:#454545;font-size:12px;border-bottom-color:#b9b9b9;overflow:visible}.sheet .letters .column-active{background:#d0dfca;color:#217346;border-bottom:2px solid #217346}.sheet .column-titles th{position:sticky;top:var(--letters-height);z-index:5;background:#fff;height:var(--head-height);line-height:var(--head-height);border-bottom:2px solid #777;color:#1e1e1e;font-size:12px;font-weight:600}.sheet .column-titles th.extra-title{font-weight:400;border-bottom:1px solid var(--line)}.sheet .column-titles button{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0;width:100%;height:100%;font-size:inherit;text-align:left;font-weight:600}.caret{border:1px solid #b1b1b1;background:#f6f6f6;display:flex;align-items:center;justify-content:center;width:13px;height:15px;font-size:9px;color:#666;line-height:1;flex:none}.sheet .row-number{padding:0;text-align:center;background:#e6e6e6;color:#454545;font:11px Calibri,Arial,sans-serif;height:var(--row-height);line-height:var(--row-height)}.sheet .row-number.row-active{background:#d0dfca;border-right:2px solid #217346;color:#217346}.sheet .letters .corner{cursor:cell}.corner:after{content:"";position:absolute;right:5px;bottom:5px;width:0;height:0;border-left:10px solid transparent;border-bottom:10px solid #aaa}.column-resizer{position:absolute;right:-3px;top:0;bottom:0;width:7px;cursor:col-resize;z-index:9;touch-action:none}.column-resizer:hover{background:#21734655}.product{display:flex;align-items:center;gap:4px;min-width:0}.favorite{padding:0;display:flex;align-items:center;justify-content:center;width:16px;height:20px;flex:none;color:#c4c4c4}.favorite .icon{width:12px;height:12px}.favorite[aria-pressed="true"]{color:#c28e00}.favorite[aria-pressed="true"] .icon{fill:#ffda65}.favorite:hover{color:#b48300}.product-copy{min-width:0;flex:1}.product-name{font:inherit;font-weight:400;overflow:hidden;text-overflow:clip;white-space:nowrap}.product-model{display:none}.sheet .amount{font-weight:400;color:inherit}.sheet td.numeric{text-align:right;font-variant-numeric:tabular-nums}.sheet td.positive{color:#006100}.sheet td.negative{color:#9c0006}.sheet .trend-cell{padding:0 13px}.sparkline{display:block;width:72px;height:18px;color:#397949}.sparkline path{fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.sparkline circle{fill:currentColor}.verdict{font:inherit;line-height:inherit;background:none;color:inherit;padding:0;border-radius:0}.verdict.lowest{color:#006100}.sheet td:has(.verdict.lowest){background:#c6efce}.sheet td:has(.verdict.warning){background:#ffeb9c;color:#9c6500}.sheet .source-label,.sheet .condition-text{font:inherit;color:inherit}.source-dot{display:none}.sheet tr.ended .product-name{text-decoration:line-through;color:#888}.sheet td.cell-selected{position:relative;outline:2px solid #217346;outline-offset:-2px;z-index:3;overflow:visible}.sheet td.cell-selected:after{content:"";position:absolute;bottom:-1px;right:-1px;width:5px;height:5px;background:#217346;border:1px solid #fff;pointer-events:none}.sheet td.range-selected{background:#d9e5d1!important}.sheet td.range-top{border-top:1px solid #217346}.sheet td.range-bottom{border-bottom-color:#217346}.sheet td.range-left{border-left:1px solid #217346}.sheet td.range-right{border-right-color:#217346}.sheet td:focus{outline:2px solid #217346;outline-offset:-2px}.sheet td.cell-editing{padding:0!important;overflow:visible;outline:2px solid #217346;outline-offset:-2px}.cell-editor{position:absolute;inset:0;min-width:100%;width:100%;height:100%;border:0;outline:0!important;background:#fff;z-index:10;padding:0 5px;font:inherit;color:#222;user-select:text}.sheet td.user-fill{background:var(--user-fill)!important}.freeze .sheet .row-number{position:sticky;left:0;z-index:4}.freeze .sheet .product-cell,.freeze .sheet .product-head,.freeze .sheet .product-letter{position:sticky;left:var(--number-width);z-index:4;box-shadow:1px 0 0 #999}.freeze .sheet .letters .row-number,.freeze .sheet .letters .product-letter,.freeze .sheet .column-titles .row-number,.freeze .sheet .column-titles .product-head{z-index:7}.freeze .sheet td.cell-selected.product-cell{z-index:4}.compact{--row-height:20px}.no-format .sheet td.positive,.no-format .sheet td.negative,.no-format .verdict{color:inherit}.no-format .sheet td:has(.verdict){background:#fff}.no-grid .sheet td{border-color:transparent}.show-formulas .sheet td{font-family:Consolas,"Malgun Gothic",monospace}.grid-empty{position:absolute;top:75px;left:30px;z-index:5;width:min(calc(100% - 60px),480px);padding:22px;background:#fff;border:1px solid #d8d8d8;font-size:12px}.grid-empty h2{font-size:14px;margin:0 0 8px}.grid-empty p{color:#777}.sheet-tabs{display:flex;align-items:stretch;flex:none;height:30px;background:#f3f3f3;border-top:1px solid #b9b9b9;min-width:0}.tabs-leading{display:flex;align-items:center;justify-content:center;width:67px;flex:none;color:#777;border-right:1px solid #c9c9c9;gap:12px}.tabs-leading button{padding:0;width:15px;font-size:12px;color:#666}.tab-scroll{display:flex;align-items:stretch;overflow:auto;scrollbar-width:none;min-width:0}.sheet-tab{padding:0 16px;color:#333;font-size:12px;white-space:nowrap;flex:none;border-right:1px solid #d4d4d4;border-bottom:2px solid transparent;background:#f3f3f3}.sheet-tab[aria-pressed="true"]{background:#fff;color:#217346;font-weight:600;border-bottom-color:#217346}.tab-count{display:none}.sheet-tab:hover{background:#e5e5e5}.new-sheet{display:flex;align-items:center;justify-content:center;width:40px;flex:none;color:#666;font:21px Arial,sans-serif}.new-sheet:hover{background:#ddd}.footer-note{display:none}.statusbar{height:25px;flex:none;display:flex;align-items:center;gap:16px;background:#f3f3f3;border-top:1px solid #d3d3d3;padding:0 7px;font-size:11px;color:#444}.status-spacer{flex:1}.selection-stats{display:flex;gap:14px;font-variant-numeric:tabular-nums;white-space:nowrap}.status-ready{min-width:29px}.status-ready:before{display:none}.zoom-controls{display:flex;align-items:center;gap:6px;margin-left:15px}.zoom-controls .icon{width:15px;height:15px}.zoom-controls button{width:20px;font-size:17px;padding:0;color:#666}.zoom-controls input{width:93px;height:14px;accent-color:#777}.zoom-controls output{min-width:32px;text-align:right;font-size:11px}.mobile-hint{display:none}.status-desktop{white-space:nowrap}
.backstage{position:absolute;inset:35px 0 0;background:#fff;z-index:30;display:flex}.backstage-nav{width:185px;background:#217346;color:#fff;padding:18px 0;display:flex;flex-direction:column;gap:3px}.backstage-nav button{padding:12px 25px;color:#fff;text-align:left;font-size:13px}.backstage-nav button:hover{background:#185c37}.backstage-nav .back-button{font-size:27px;padding:0 22px 15px}.backstage-content{padding:37px 46px;flex:1;overflow:auto}.backstage-content h1{font-size:30px;font-weight:300;margin:0 0 24px}.backstage-content h2{font-size:17px;font-weight:400}.backstage-content p{font-size:12px;line-height:1.9;color:#666}.backstage-content .button{margin-top:10px}.file-property{display:grid;grid-template-columns:90px 1fr;gap:13px;font-size:12px;border-top:1px solid #ddd;padding-top:22px;max-width:500px}.file-property dt{color:#777}.file-property dd{margin:0}.find-field{width:100%;height:34px;border:1px solid #aaa;padding:5px 7px;margin:10px 0}.format-comment{font-size:10px;color:#888;line-height:1.7}.sample-note-close{margin-left:0!important}
.inspector-dock{width:305px;flex:none;border-left:1px solid #d8e1da;min-height:0;display:flex;flex-direction:column;background:#fff}.inspector{width:100%;overflow:auto;scrollbar-width:thin;padding:0 19px 20px;background:#fff;min-height:0}.inspector-header{display:flex;align-items:center;justify-content:space-between;height:58px;border-bottom:1px solid var(--line);margin-bottom:18px}.inspector-header h2{font-size:12px;font-weight:600;margin:0;display:flex;align-items:center;gap:7px}.inspector-header h2 .icon{width:16px;height:16px;color:var(--green)}.inspector-header .icon-button{color:#839187;width:28px;height:28px}.inspector-kicker{font-size:10px;color:#829086;margin:0 0 7px;letter-spacing:.5px}.inspector h3{margin:0;font-size:16px;line-height:1.5;letter-spacing:-.4px;word-break:keep-all}.detail-model{font-size:11px;color:#829085;margin:5px 0 17px;line-height:1.5}.detail-price-label{display:flex;align-items:center;gap:6px;font-size:11px;color:#77857b}.detail-price{display:flex;align-items:baseline;gap:4px;margin:5px 0 8px;font-size:28px;font-weight:700;letter-spacing:-.7px;font-variant-numeric:tabular-nums}.detail-price span{font-size:13px;font-weight:400;letter-spacing:0}.detail-discount{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:var(--green);background:var(--green-light);padding:5px 7px;border-radius:3px;line-height:1.4}.detail-discount .icon{width:13px;height:13px}.detail-discount.warning{color:var(--amber);background:#fbf4e8}.detail-discount:empty{display:none}.chart-section{border-top:1px solid var(--line);margin-top:21px;padding-top:17px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:12px}.section-title h4{font-size:12px;font-weight:600;margin:0}.section-title>span{font-size:10px;color:#869289}.periods{display:flex;background:#f0f4f0;border-radius:4px;padding:2px;gap:2px}.periods button{font-size:10px;padding:4px 6px;color:#7c897e;border-radius:3px}.periods button[aria-pressed="true"]{background:#fff;color:var(--green);box-shadow:0 1px 3px #243e2c12;font-weight:600}.chart-readout{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#778779;min-height:19px;margin-bottom:1px}.chart-readout strong{font-size:11px;color:#405747;font-variant-numeric:tabular-nums;font-weight:500}.history-chart{display:block;width:100%;height:140px;touch-action:pan-y}.history-chart text{font-family:inherit;font-size:10px;fill:#829087}.history-chart .history-line{stroke:var(--green-line);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.chart-foot{font-size:10px;color:#929d94;margin:4px 0 0;line-height:1.6}.detail-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.detail-stat{border-left:2px solid #dbe8de;padding-left:9px}.detail-stat span{font-size:10px;color:#839087;display:block;margin-bottom:5px}.detail-stat strong{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.sources-section{margin-top:21px;border-top:1px solid var(--line);padding-top:16px}.provider-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;padding:9px 0;border-bottom:1px solid #f0f3ee}.provider-row>span{display:flex;align-items:center;gap:7px;color:#6d7c70}.provider-letter{display:flex;justify-content:center;align-items:center;width:18px;height:18px;background:#f1f5ed;border-radius:4px;font-size:10px;color:#7a8b69;font-style:normal}.provider-row strong{font-weight:500;font-variant-numeric:tabular-nums}.insight{margin-top:16px;background:#f4f8f2;border-left:2px solid #a6c3a7;padding:11px 12px;font-size:11px;line-height:1.8;color:#59725c;word-break:keep-all}.detail-favorite{margin-top:16px;width:100%;font-size:12px}.detail-caption{font-size:10px;color:#939d95;line-height:1.7;margin:9px 0 0;text-align:center}.mobile-dialog{padding:0;border:1px solid #d8e1da;border-radius:10px;width:min(410px,calc(100% - 32px));max-height:85vh;max-height:85dvh;overflow:auto;color:var(--ink);box-shadow:0 20px 80px #183b3026}.mobile-dialog .inspector{overflow:visible}.mobile-dialog::backdrop{background:#17332555;backdrop-filter:blur(2px)}.filter-dialog{width:min(382px,calc(100% - 32px));padding:24px;border:1px solid #dce5de;border-radius:10px;box-shadow:0 20px 80px #183b3026;color:var(--ink)}.filter-dialog::backdrop{background:#17332555;backdrop-filter:blur(2px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.dialog-heading h2{font-size:17px;margin:0}.filter-field{display:flex;flex-direction:column;gap:7px;margin:17px 0;font-size:12px;color:#5d6e61}.filter-field input,.filter-field select{min-height:39px;border:1px solid #cfdcd2;border-radius:4px;padding:7px 9px;background:#fff;width:100%}.check-field{display:flex;align-items:center;gap:8px;min-height:36px;font-size:12px}.check-field input{width:16px;height:16px;accent-color:var(--green)}.dialog-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:23px}.dialog-help{font-size:11px;line-height:1.7;color:#8b978e;margin:12px 0 0}.toast{position:fixed;z-index:50;bottom:80px;left:50%;transform:translateX(-50%);background:#254c35;color:#fff;padding:11px 16px;border-radius:6px;box-shadow:0 5px 20px #18352620;font-size:12px;line-height:1.5;max-width:calc(100% - 30px);text-align:center;pointer-events:none}.copy-fallback{position:fixed;top:0;left:0;opacity:0;width:1px;height:1px}

.inspector-dock{width:292px;border-left:1px solid #bcbcbc}.inspector{font-family:Calibri,"Malgun Gothic",Arial,sans-serif}.inspector-header{height:42px;margin-bottom:14px}.inspector h3{font-size:15px}.detail-price{font-family:Calibri,Arial,sans-serif}.inspector .button{border-radius:0}.insight{border-radius:0;background:#f4f4f4}.mobile-dialog,.filter-dialog{border-radius:0}.toast{border-radius:1px;padding:9px 13px;bottom:68px}.filter-dialog{font-family:Calibri,"Malgun Gothic",Arial,sans-serif}.mobile-dialog::backdrop,.filter-dialog::backdrop{backdrop-filter:none;background:#0003}.modal-note{margin-top:10px;font-size:11px;color:#777;line-height:1.7}
@media(max-width:1199px){.save-status,.document-title small,.window-chrome{display:none}.titlebar{gap:9px}.titlebar .search{width:200px}.inspector-dock{display:none}.ribbon{overflow-x:auto}.menu button{padding:0 10px}.status-desktop{display:none}}
@media(max-width:760px){:root{--number-width:30px;--product-width:158px;--row-height:27px;--letters-height:23px;--head-height:26px;--cell-font:11px}.titlebar{height:39px;min-height:39px;padding:0 9px;gap:8px}.excel-mark{font-size:17px;padding-right:7px}.quick-access{gap:0}.quick-access button{width:24px}.quick-access #saveWorkbook{display:none}.document-title{font-size:11px;max-width:190px;overflow:hidden;text-overflow:ellipsis}.titlebar .search,.titlebar .save-status,.avatar{display:none}.title-end{gap:4px}.menubar{height:33px}.file-button{padding:0 12px;font-size:11px}.menu button{padding:0 12px;font-size:11px}.menu-actions .button{display:none}.menu-actions{padding:0 4px}.ribbon{height:92px;padding-top:4px;padding-bottom:2px;scrollbar-width:none}.ribbon-group{padding:0 8px}.group-label{font-size:9px;line-height:15px}.ribbon-row{height:27px}.ribbon .tool-large{height:60px;font-size:10px}.tool-large>.icon{width:25px;height:25px}.tool-small{font-size:10px;height:22px}.tool-square{height:25px;min-width:28px}.ribbon select{height:26px;font-size:11px}.formula{height:30px;padding:3px}.cell-address{width:62px;font-size:12px}.formula-controls{gap:0;padding:0 4px}.formula-controls button{width:23px}.formula input.formula-value{font-size:16px;padding:0 5px}.formula-expand{width:21px}.sample-note{height:23px;min-height:23px;font-size:9px;gap:5px;padding:0 7px}.sample-note .note-end,.sample-note .sample-extra{display:none}.sheet td,.sheet th{padding:0 4px}.sheet .column-titles th,.sheet .column-titles button{font-size:10px}.sheet col.price-column{width:96px}.sheet col.median-column{width:103px}.sheet .product-name{font-size:11px}.favorite{width:13px;height:25px}.favorite .icon{width:11px;height:11px}.sheet .letters th{font-size:11px}.sheet .row-number{font-size:10px}.sheet-tabs{height:34px}.tabs-leading{width:26px;border-right:0}.tabs-leading button:last-child{display:none}.sheet-tab{padding:0 12px;font-size:10px}.new-sheet{width:28px;font-size:20px}.statusbar{height:26px;font-size:9px;gap:9px;padding:0 5px}.selection-stats{font-size:9px;gap:8px}.selection-stats .stats-average{display:none}.zoom-controls{margin-left:auto;gap:3px}.zoom-controls input{width:59px}.zoom-controls output{font-size:9px;min-width:25px}.zoom-controls>svg{display:none}.zoom-controls button{font-size:15px;width:14px}#statusCount{display:none}.status-spacer{display:none}.compact{--row-height:22px}.mobile-dialog{width:100%;max-width:none;max-height:85dvh;margin:auto 0 0;border-radius:8px 8px 0 0}.mobile-dialog .inspector{padding:0 20px 18px;overflow:visible}.history-chart{height:161px}.inspector h3{font-size:17px}.inspector-header{height:48px}.detail-favorite{min-height:40px}.filter-dialog{padding:20px}.filter-field input,.filter-field select,.find-field{font-size:16px}.check-field{min-height:39px}.backstage{top:39px}.backstage-nav{width:100px}.backstage-nav button{padding:10px 13px;font-size:11px}.backstage-content{padding:24px 19px}.backstage-content h1{font-size:23px}.file-property{grid-template-columns:70px 1fr;font-size:11px}.cell-editor{font-size:16px}.grid-empty{width:100%;position:sticky;left:0}.title-end .icon-button{color:white;width:24px}}
@media print{.workbook{height:auto;overflow:visible}.titlebar,.menubar,.ribbon,.formula,.inspector-dock,.sheet-tabs,.statusbar,.sample-note{display:none}.workspace,.sheet-area,.grid-scroll{display:block;overflow:visible}.sheet th,.sheet td{position:static!important}.sheet .letters,.sheet .blank-row,.extra-column,.extra-cell{display:none}.sheet{zoom:.68}.sheet .cell-selected{outline:0}.sheet .range-selected{background:#fff!important}.sheet .row-number{position:static}.freeze .sheet .product-cell{box-shadow:none}}

/* ---- 핫딜이요 추가분 (시안에 없는 것) ---- */
/* 제목 표시줄의 검색은 폼으로 감싼다. 폼이 flex 자식이 되면 시안의 너비 규칙이 안 먹어서
   레이아웃에서는 없는 것처럼 둔다 */
.titlebar > form { display: contents; }
/* 제목 표시줄 끝 — "새 딜이 더 있어요"와 일반 모드로 돌아가는 링크. 시안의 .document-title small과
   .save-status는 1199px 이하에서 숨는데, 거기 두면 휴대폰에서 피드로 돌아갈 길이 사라진다.
   이 둘은 줄지 않고, 자리가 모자라면 제목(760px 이하에서 말줄임)이 줄어든다 */
.title-end { flex: none; }
.more-notice, .back-to-feed { font-size: 11px; white-space: nowrap; }
.more-notice { color: #fff2cc; }
.more-notice a, .back-to-feed { color: inherit; text-decoration: underline; }
/* 시안의 초점 테두리는 제목 표시줄과 같은 초록이라 여기서는 안 보인다 */
.title-end a:focus-visible { outline-color: #fff; }
/* 흐리게는 opacity가 아니라 글자색으로 — opacity는 칸 배경까지 비쳐, 가로로 밀면 틀 고정된
   A열 밑으로 지나가는 칸이 보인다 */
.sheet tr.ended td { color: #888; }
.sheet .tag-ended { color: #c00000; font-weight: 600; }
.sheet .tag-dup { font-size: 10px; border: 1px dashed currentColor; border-radius: 3px; padding: 0 3px; }
.sheet td.c-title a { color: inherit; text-decoration: none; }
.sheet td.c-title a:hover { text-decoration: underline; }
.sheet td.c-price { text-align: right; font-variant-numeric: tabular-nums; }
.sheet tr.load-more td { text-align: center; color: #888; }
/* 자동 갱신으로 들어온 행 — 몇 초 뒤 excel.js가 클래스를 떼면 서서히 사라진다 (설계 §5.3) */
.sheet tr.fresh td { background: #fff2cc; }
.sheet tr td { transition: background 1s; }
.posted-column { width: 76px; }
.history-column { width: 72px; }
.excel-filter label { display: flex; align-items: center; gap: 6px; font-size: 12px; }
/* 자동 갱신 묶음은 선택 상자 아래에 안내 두 줄을 쌓는다. 시안의 .ribbon-hint는 도구 옆에 서도록
   만든 것이라(줄 높이 1.8·위아래 여백 + p의 기본 여백 10px) 쌓으면 리본 높이(104px, 폰 92px)를 넘어
   아래의 묶음 이름이 잘렸다 — 쌓일 때만 여백을 걷고 줄 높이를 줄인다 */
.excel-filter .ribbon-hint { margin: 0; padding: 0 2px; line-height: 1.5; }
/* F열 머리의 정렬 표시. 시안의 .caret은 flex 버튼 안에 들어갈 걸 전제로 display:flex라, 맨 span으로
   두면 "등록" 아래 줄로 떨어져 머리글 줄이 높아진다 */
.sheet .column-titles .caret { display: inline-flex; vertical-align: middle; }
/* 방향키로 옮긴 셀이 고정된 머리글 두 줄과 A열 밑에 숨지 않게 — scrollIntoView가 이 여백을 지킨다.
   가로 여백은 스크롤 상자(scroll-padding)가 아니라 A열 밖의 칸(scroll-margin)에 준다. 상자에 주면
   늘 보이는 A열로 옮길 때마다 표가 A열 너비만큼 왼쪽으로 밀린다.
   세로 여백에는 --zoom을 곱한다 — 확대하면 머리글 두 줄도 커지는데, 이 상자는 zoom이 걸린 표 밖이라
   여백은 따라 커지지 않는다. 표 안의 scroll-margin은 zoom이 알아서 키운다.
   A열은 긴 제목·큰 글씨로 시안 너비보다 넓어진다 — 모자란 만큼은 excel.js의 select()가 재어서 더 민다 */
.grid-scroll { scroll-padding-top: calc((var(--letters-height) + var(--head-height)) * var(--zoom)); }
.freeze .sheet td:not(.product-cell) { scroll-margin-left: calc(var(--number-width) + var(--product-width)); }
/* 시트 탭은 시안의 button이 아니라 카테고리로 가는 링크다. 현재 탭은 aria-pressed(버튼 전용)가 아니라
   aria-current로 표시하고, 링크라 빠지는 버튼 모양(세로 가운데·밑줄 없음)을 채운다 */
.sheet-tab { display: flex; align-items: center; text-decoration: none; }
.sheet-tab[aria-current="page"] { background: #fff; color: #217346; font-weight: 600; border-bottom-color: #217346; }
/* 글씨 크기 (홈 탭의 크기 상자와 A▲/A▼). excel.js가 고른 값을 #workbook의 --data-font에 둔다 — 셀마다가
   아니라 시트 전체라 다음 장·자동 갱신으로 나중에 붙는 행도 같은 크기로 들어온다. 머리글 두 줄과 행
   번호의 글씨는 그대로다. 고른 적이 없으면 변수가 없어 시안의 --cell-font 그대로다 */
.sheet tbody td { font-size: var(--data-font, var(--cell-font)); }
/* 글씨가 커지면 행도 커진다 — 시안은 칸 높이와 줄 높이를 --row-height로 못박아 큰 글씨의 위아래가
   잘린다. 글씨의 1.6배와 시안 높이 중 큰 쪽이라, 고르기 전과 기본 크기에서는 시안 높이 그대로이고
   촘촘한 행 높이(.compact가 --row-height를 바꾼다)도 그대로 먹는다. 줄 높이는 시안처럼 칸은 테두리
   1px을 빼고 행 번호는 빼지 않는다 */
.sheet { --data-row: max(var(--row-height), calc(var(--data-font, 0px) * 1.6)); }
.sheet tbody td { height: var(--data-row); max-height: none; line-height: calc(var(--data-row) - 1px); }
.sheet tbody th.row-number { height: var(--data-row); max-height: none; line-height: var(--data-row); }
@media (max-width: 760px) {
  .more-notice, .back-to-feed { font-size: 10px; }
}
/* 빈 열(.extra-column/.extra-title/.extra-cell)과 빈 행(.blank-row)은 화면 크기를 아는 excel.js가
   붙인다 — 시안이 이미 너비도 인쇄에서 숨기는 것도 정해 둬서 여기에 더할 것이 없다 */
