  :root{font-family:Inter,"Malgun Gothic","Apple SD Gothic Neo",sans-serif;color:#172333;background:#f4f7fb;font-size:13px}
  *{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-width:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.42;cursor:default}
  .app{height:100vh;display:flex;flex-direction:column}.top{background:#fff;border-bottom:1px solid #dce4ee;box-shadow:0 2px 10px #1d335009;z-index:30}
  .brand{height:44px;display:flex;align-items:center;gap:8px;padding:0 12px}.brand input{border:1px solid transparent;border-radius:6px;font-weight:700;font-size:14px;color:#172333;width:min(220px,30vw);min-width:120px;padding:5px 7px}.brand input:hover,.brand input:focus{border-color:#b9cce8;outline:none}.spacer{flex:1}.status{color:#66758a;font-size:12px}.primary{border:1px solid #145cce;background:#1769e0;color:#fff;border-radius:7px;padding:8px 13px;font-weight:700}.primary:hover{background:#105cc9}.outline{border:1px solid #c8d4e4;background:#fff;color:#25374e;border-radius:7px;padding:8px 12px}.outline:hover{background:#f4f8ff}.tabs{height:31px;display:flex;align-items:end;gap:4px;padding:0 12px;border-top:1px solid #eef2f7}.tab{border:0;background:transparent;color:#67768b;padding:7px 13px;border-radius:6px 6px 0 0}.tab.active{color:#155fc9;background:#edf4ff;font-weight:700}
  .ribbon{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:7px 12px;border-top:1px solid #edf1f6;min-height:46px}.group{display:flex;align-items:center;gap:5px;padding-right:11px;margin-right:4px;border-right:1px solid #dde5f0}.group:last-child{border:0}.tool{height:31px;min-width:31px;border:1px solid transparent;background:#fff;border-radius:5px;color:#2b3d54;padding:0 7px}.tool:hover,.tool.on{background:#eaf2ff;border-color:#c9dcfb}.tool,.outline,.primary,.add{display:inline-flex;align-items:center;justify-content:center;gap:6px}.icon{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.add .icon{width:18px;height:18px}select{height:31px;border:1px solid #d8e1ec;border-radius:5px;background:#fff;color:#27384d;padding:0 5px}.small{width:61px}.font{width:135px}.color{width:29px;height:29px;padding:2px;border:1px solid #d8e1ec;border-radius:5px;background:#fff}.formula{height:38px;display:flex;align-items:center;gap:9px;padding:4px 12px;background:#fff;border-top:1px solid #e9eef5}.namebox{width:88px;text-align:center;border:1px solid #d6e0ec;border-radius:5px;height:30px;color:#325070}.fx{font-style:italic;font-weight:700;color:#1769e0;font-size:16px}.formula input:last-child{flex:1;border:1px solid #d6e0ec;border-radius:5px;height:30px;padding:0 10px;outline:none}.formula input:last-child:focus{border-color:#1769e0}
  .grid-wrap{flex:1;min-height:0;min-width:0;overflow:auto;background:#fff;position:relative}.sheet{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;user-select:none}.sheet th,.sheet td{height:27px;min-height:27px;border-right:1px solid #e1e6ed;border-bottom:1px solid #e1e6ed;padding:0;position:relative;white-space:nowrap;overflow:hidden;text-overflow:clip}.sheet th{background:#f3f6fa;color:#64748b;font-weight:500;text-align:center;position:sticky;top:0;z-index:2}.sheet th.corner{left:0;z-index:4;width:48px;min-width:48px}.sheet th.rowhead{left:0;z-index:3;width:48px;min-width:48px}.sheet td{width:112px;min-width:112px;max-width:112px;vertical-align:middle;cursor:cell}.sheet .gutter{border:0;background:#fff}.sheet .spacer-row td{min-height:0;border:0}.sheet td .value{padding:3px 6px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:100%;line-height:20px}.sheet td.selected{background:#e9f2ff!important}.sheet td.active{outline:2px solid #1769e0;outline-offset:-2px;z-index:1;background:#fff!important}.sheet td.merge-hidden{display:none}.sheet th.selected-head{background:#dceaff;color:#185bba}.resize{position:absolute;right:-3px;top:0;width:6px;height:100%;cursor:col-resize;z-index:5}.sheet td.editing{overflow:visible;z-index:5}.cell-editor{width:100%;height:100%;border:2px solid #1769e0;outline:0;padding:2px 5px;background:#fff;color:#172333;min-width:100%;font:inherit}.sheet td.error .value{color:#d72b36}.sheet td.formula .value{color:#234b83}
  .footer{height:37px;background:#f8fafc;border-top:1px solid #dce4ee;display:flex;align-items:center;gap:5px;padding:0 10px}.sheet-tab{height:32px;border:0;border-bottom:2px solid transparent;background:transparent;padding:0 14px;color:#586a80}.sheet-tab.active{border-color:#1769e0;color:#145ac1;font-weight:700}.add{font-size:20px;width:30px;height:30px;border:0;background:transparent;color:#44617f}.footinfo{margin-left:auto;color:#7d8ca1;font-size:11px}.toast{position:fixed;bottom:55px;left:50%;transform:translateX(-50%);background:#25374e;color:#fff;padding:9px 14px;border-radius:7px;box-shadow:0 5px 22px #0002;z-index:10;opacity:0;transition:opacity .2s;pointer-events:none}.toast.show{opacity:1}.modal-back{position:fixed;inset:0;background:#15243d77;display:none;align-items:center;justify-content:center;z-index:20}.modal{width:min(520px,90vw);background:#fff;border-radius:12px;box-shadow:0 20px 60px #13213755;padding:22px}.modal h2{margin:0 0 10px;font-size:18px}.modal p{color:#607088;line-height:1.6}.modal textarea{width:100%;height:110px;border:1px solid #cbd7e6;border-radius:6px;padding:9px;resize:vertical}.modal .actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.hint{color:#8795a7;font-size:11px}.menu{position:fixed;background:#fff;border:1px solid #dce5ef;border-radius:8px;box-shadow:0 9px 30px #1b35502a;padding:5px;z-index:12;display:none;min-width:170px}.menu button{display:block;width:100%;padding:8px 11px;background:#fff;border:0;text-align:left;border-radius:5px}.menu button:hover{background:#edf4ff}.menu hr{border:0;border-top:1px solid #e8edf4;margin:5px 0}
  .custom-control{position:relative}.select-trigger,.color-trigger{height:32px;background:#fff;border:1px solid #d4dfed;border-radius:7px;color:#263951;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;padding:0 9px}.select-trigger:hover,.color-trigger:hover,.select-trigger[aria-expanded=true],.color-trigger[aria-expanded=true]{border-color:#80adea;background:#f8fbff}.select-trigger.font{width:153px}.select-trigger.small{width:66px}.select-trigger.format{width:94px}.select-trigger .icon{width:13px;height:13px;color:#7386a0}.color-trigger{width:39px;justify-content:center;padding:4px}.color-preview{width:20px;height:20px;border:1px solid #bccbdd;border-radius:4px;box-shadow:inset 0 0 0 1px #fff}.dropdown{position:absolute;top:38px;left:0;min-width:100%;background:#fff;border:1px solid #d4dfed;border-radius:10px;box-shadow:0 14px 35px #19345124;padding:6px;z-index:15;display:none}.dropdown.open{display:block}.dropdown input{width:100%;height:32px;border:1px solid #d6e0ec;border-radius:6px;padding:0 8px;outline:none}.dropdown input:focus{border-color:#1769e0}.option-list{max-height:245px;overflow:auto}.option{display:flex;align-items:center;width:100%;padding:7px 9px;border:0;border-radius:6px;background:#fff;text-align:left;color:#253951;white-space:nowrap}.option:hover,.option.active{background:#edf4ff;color:#155fc9}.font-menu{width:220px}.color-menu{width:230px;padding:12px}.color-menu strong{display:block;margin-bottom:9px;font-size:12px}.swatches{display:grid;grid-template-columns:repeat(8,1fr);gap:5px}.swatch{width:21px;height:21px;border:1px solid #b7c6d7;border-radius:5px;padding:0}.swatch:hover,.swatch.active{outline:2px solid #1769e0;outline-offset:1px}.color-hex{display:flex;align-items:center;gap:7px;margin-top:11px}.color-hex span{color:#64748b}.color-hex input{flex:1;min-width:0}.color-hex button{height:31px;border:0;border-radius:5px;background:#1769e0;color:#fff;padding:0 9px}.autocomplete{position:fixed;z-index:18;width:280px;max-height:260px;overflow:auto;background:#fff;border:1px solid #cbdcf2;border-radius:9px;box-shadow:0 15px 35px #18365729;display:none;padding:5px}.autocomplete.open{display:block}.suggestion{width:100%;border:0;background:#fff;padding:8px 10px;text-align:left;border-radius:6px;color:#263951;display:flex;flex-direction:column;gap:2px}.suggestion:hover,.suggestion.active{background:#eaf3ff}.suggestion b{color:#155fc9}.suggestion small{color:#708096}.sheet td .checkbox-cell{display:flex;align-items:center;justify-content:center;height:100%}.sheet td .checkbox-cell input{appearance:none;width:16px;height:16px;border:1.5px solid #8093ac;border-radius:4px;background:#fff;cursor:pointer;position:relative}.sheet td .checkbox-cell input:checked{background:#1769e0;border-color:#1769e0}.sheet td .checkbox-cell input:checked:after{content:'';position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.sheet td .image-cell{height:100%;display:flex;align-items:center;gap:5px;padding:2px 5px;cursor:zoom-in;color:#4c6483;font-size:11px}.sheet td .image-cell img{height:22px;max-width:65px;object-fit:contain;border-radius:2px}.image-preview{max-width:min(720px,85vw);max-height:65vh;object-fit:contain;display:block;margin:15px auto}.modal .image-name{word-break:break-all}
  .find-fields{display:grid;grid-template-columns:1fr;gap:9px;margin:15px 0}.find-fields input{height:36px;border:1px solid #cdd9e8;border-radius:7px;padding:0 10px;outline:none}.find-fields input:focus{border-color:#1769e0}.find-count{color:#61738b;font-size:12px}.modal .actions.wrap-actions{flex-wrap:wrap;justify-content:space-between}.modal .actions .left-actions{display:flex;gap:7px}
  #fillColorMenu{left:auto;right:0}.action-menu{width:190px}.border-colors{border-top:1px solid #e8edf4;margin-top:5px;padding:9px 5px 4px}.border-colors span{display:block;color:#64748b;font-size:11px;margin-bottom:8px}.border-colors .swatches{grid-template-columns:repeat(6,1fr)}.top .dropdown{z-index:40}.autocomplete{z-index:60}.menu{z-index:70}.toast{z-index:90}.modal-back{z-index:100}.sheet th[data-col],.sheet th[data-row],.sheet th.corner{cursor:pointer}.sheet th.selected-head{background:#dceaff;color:#185bba}.paint-mode .sheet td[data-r]{cursor:crosshair}.fill-handle{position:absolute;right:0;bottom:0;width:8px;height:8px;background:#1769e0;border:1px solid #fff;z-index:6;cursor:crosshair}.sheet td.fill-preview{background:#d7e9ff!important}
  .shortcut-list{display:grid;grid-template-columns:1fr auto;gap:9px 18px;margin:18px 0;max-height:52vh;overflow:auto}.shortcut-list span{color:#53657e}.shortcut-list kbd{border:1px solid #cbd8e8;background:#f4f7fb;border-radius:5px;padding:3px 6px;font:12px inherit;color:#274160}
  .function-search{width:100%;height:36px;border:1px solid #cdd9e8;border-radius:7px;padding:0 10px;outline:none}.function-search:focus{border-color:#1769e0}.function-list{height:min(45vh,390px);overflow:auto;margin-top:12px;border:1px solid #e2e8f0;border-radius:8px}.function-list button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:0;border-bottom:1px solid #edf1f6;padding:9px 12px;text-align:left;color:#29415d}.function-list button:hover{background:#edf4ff}.function-list b{color:#155fc9}.function-list small{color:#718198}
  .sheet td.has-validation .value{padding-right:22px}.validation-trigger{position:absolute;right:1px;top:2px;width:21px;height:21px;padding:2px;border:1px solid #d0dded;border-radius:4px;background:#f8fbff;color:#456688;display:grid;place-items:center;z-index:4}.validation-trigger:hover{background:#e5f0ff;border-color:#9fc2f1}.validation-trigger .icon{width:13px;height:13px}.validation-menu{min-width:130px;max-width:260px;max-height:250px;overflow:auto}.validation-option{display:flex;align-items:center;gap:8px;margin-top:12px;color:#435770}.validation-option input{appearance:none;width:16px;height:16px;border:1.5px solid #8093ac;border-radius:4px;background:#fff;position:relative}.validation-option input:checked{background:#1769e0;border-color:#1769e0}.validation-option input:checked:after{content:'';position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
  .validation-types{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.validation-types button{border:1px solid #cbd7e6;background:#f8fbff;color:#435770;border-radius:7px;padding:7px 12px}.validation-types button.active{border-color:#1769e0;background:#eaf2ff;color:#145ac1;font-weight:700}.validation-range{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.validation-range label{display:grid;gap:5px;color:#435770;font-size:12px}.validation-range input{width:100%;min-width:0;border:1px solid #cbd7e6;border-radius:6px;padding:9px;font:inherit}.validation-range input:focus{outline:2px solid #91bafa;border-color:#1769e0}
  #selectionStats{white-space:nowrap}#selectionInfo{margin-left:0;white-space:nowrap}
@media(max-width:640px){.brand{gap:5px;padding:0 8px}.brand input{width:145px;min-width:100px}.status{display:none}.ribbon{padding:6px 8px}.formula{padding:4px 8px}}
@media(max-width:520px){#importBtn,#exportBtn{font-size:0;padding:5px 7px}#importBtn .icon,#exportBtn .icon{width:17px;height:17px}}
.embedded body{background:#fff}.embedded .app{height:100dvh}.embedded .top{box-shadow:none}.embedded .brand{display:none}.embedded .tabs{border-top:0;height:32px;padding:0 10px}.embedded .ribbon{padding:6px 10px;min-height:44px}.embedded .formula{height:36px;padding:3px 10px}.embedded .sheet th,.embedded .sheet td{height:32px;min-height:32px}.embedded .sheet td .value{line-height:26px}.embedded .footer{height:34px;padding:0 10px}.embedded .toast{bottom:43px}
.embedded{font-size:14px}.embedded .sheet th{background:#f7f7f7;color:#596675}.embedded .tab.active,.embedded .tool.on{color:#bd4600;background:#fff1e8}.embedded .tool:hover{background:#fff4ee;border-color:#f1c7b1}.embedded .sheet td.selected{background:#fff2e9!important}.embedded .sheet td.active{outline-color:#d24a00}.embedded .sheet th.selected-head{background:#ffe7d7;color:#af3e00}.embedded .sheet td.fill-preview{background:#ffe7d7!important}.embedded .fill-handle{background:#d24a00}.embedded .fx,.embedded .sheet td.formula .value{color:#bd4600}.embedded .primary{background:#d24a00;border-color:#bd4200}.embedded .primary:hover{background:#b94100}
  .sheet td.spill-cell .value{color:#42617d}.sheet td.spill-cell::after{content:'';position:absolute;inset:2px;border:1px dashed #a9bfd4;pointer-events:none}.embedded .sheet td.spill-cell .value{color:#8b4d2d}.embedded .sheet td.spill-cell::after{border-color:#e3bba4}
  .ribbon>.group[data-group]{position:relative;padding-bottom:14px;min-height:48px}.ribbon>.group[data-group]::after{content:attr(data-group);position:absolute;left:0;right:10px;bottom:0;text-align:center;font-size:10px;color:#8795a7;white-space:nowrap}.ribbon .group{flex:none}.tabs{flex:none}.tabs .tab{white-space:nowrap}.grid-wrap.no-gridlines .sheet td{border-right-color:transparent;border-bottom-color:transparent}.grid-wrap.no-gridlines .sheet th{border-right-color:transparent}
  .conditional-modal{width:min(650px,94vw);max-height:88vh;overflow:auto}.conditional-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.conditional-fields>label{display:flex;flex-direction:column;gap:5px;color:#4a5d75;font-size:12px}.conditional-fields input:not([type=checkbox]),.conditional-fields .select-trigger{width:100%;height:34px;border:1px solid #cdd9e8;border-radius:7px;background:#fff;padding:0 10px;color:#253951}.conditional-fields .conditional-stop{grid-column:1/-1;flex-direction:row;align-items:center}.conditional-fields input[type=color]{padding:3px}.conditional-type-control{position:relative}.conditional-type-menu{display:none;position:absolute;z-index:2;top:38px;left:0;right:0;max-height:225px;overflow:auto;background:#fff;border:1px solid #cad7e6;border-radius:8px;box-shadow:0 12px 28px #162b4528;padding:5px}.conditional-type-menu.open{display:block}.conditional-modal h3{font-size:13px;margin:18px 0 8px}.conditional-list{max-height:180px;overflow:auto;border:1px solid #e1e7ef;border-radius:8px;padding:5px;color:#718198}.conditional-rule{display:flex;align-items:center;gap:5px;padding:5px;border-bottom:1px solid #edf1f6}.conditional-rule:last-child{border:0}.conditional-rule span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#31465f}.conditional-rule .outline{padding:4px 7px;font-size:11px}.embedded .ribbon>.group[data-group]{min-height:48px}
  @media(max-width:560px){.conditional-fields{grid-template-columns:1fr}.conditional-rule{flex-wrap:wrap}.conditional-rule span{flex-basis:100%}}
  .conditional-palette{display:flex;flex-wrap:wrap;gap:4px}.conditional-palette .swatch{width:19px;height:19px}.conditional-fields>label:has(.conditional-palette){gap:6px}
  .filter-modal{width:min(520px,94vw)}.filter-columns{display:flex;gap:5px;overflow-x:auto;padding-bottom:8px}.filter-columns button{flex:none;border:1px solid #ccd8e7;border-radius:6px;background:#fff;padding:6px 10px;color:#405875}.filter-columns button.active{background:#eaf2ff;border-color:#7fa9dc;color:#155fc9;font-weight:700}.filter-modal #filterSearch{width:100%;height:34px;border:1px solid #cdd9e8;border-radius:6px;padding:0 9px}.filter-values{border:1px solid #e1e7ef;border-radius:7px;height:min(35vh,280px);overflow:auto;margin-top:8px;padding:4px}.filter-option{display:flex;align-items:center;gap:8px;padding:5px 8px;color:#32475e}.filter-option:hover{background:#f2f6fc}.filter-option input{appearance:none;width:16px;height:16px;border:1.5px solid #8297af;border-radius:4px;background:#fff;position:relative}.filter-option input:checked{background:#1769e0;border-color:#1769e0}.filter-option input:checked:after{content:'';position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.filter-all{border:0;background:transparent;color:#1769e0;padding:7px 8px}.filter-header .value{padding-right:23px!important}.filter-trigger{position:absolute;right:2px;top:3px;width:20px;height:20px;border:1px solid #c8d7e8;border-radius:4px;background:#f8fbff;color:#456688;display:grid;place-items:center;padding:1px}.filter-trigger .icon{width:12px;height:12px}
.print-options{display:flex;gap:14px;flex-wrap:wrap;margin:13px 0}.print-options label{display:flex;align-items:center;gap:5px;color:#405875}#printView{display:none}
.sheet td.has-note:after{content:'';position:absolute;right:0;top:0;border-top:8px solid #db483f;border-left:8px solid transparent;pointer-events:none}
.conditional-icon{width:12px;height:12px;flex:none;margin-right:4px}
.filter-condition{display:flex;gap:7px;margin:10px 0}.filter-condition select,.filter-condition input{flex:1;min-width:0;height:34px;border:1px solid #cdd9e8;border-radius:6px;padding:0 9px;background:#fff;color:#253951}
#customFormatCode{width:100%;height:38px;border:1px solid #cdd9e8;border-radius:7px;padding:0 10px;color:#253951;background:#fff;outline:none}#customFormatCode:focus{border-color:#1769e0;box-shadow:0 0 0 3px #1769e022}
.menu .sheet-colors{display:flex;flex-wrap:wrap;gap:5px;padding:8px 6px;border-top:1px solid #e8edf4}.menu .sheet-color{width:20px;height:20px;min-width:20px;padding:0;border:1px solid #fff;border-radius:5px;box-shadow:0 0 0 1px #c7d3e2}.menu .sheet-color:hover{box-shadow:0 0 0 2px #1769e0}
.image-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.image-fields label{display:grid;gap:5px;color:#465b75;font-size:12px}.image-fields input{min-width:0;height:34px;border:1px solid #cdd9e8;border-radius:6px;padding:0 8px;color:#253951}
.print-options select,.print-options input[type=number]{height:32px;border:1px solid #cdd9e8;border-radius:6px;padding:0 7px;background:#fff;color:#253951}.print-options input[type=number]{width:74px}
#borderMenu{max-height:min(70vh,500px);overflow-y:auto}.border-styles{border-top:1px solid #e8edf4;margin-top:5px;padding:8px 5px 2px}.border-styles span{display:block;color:#64748b;font-size:11px;margin-bottom:5px}
.row-resize{position:absolute;left:0;right:0;bottom:-3px;height:6px;cursor:row-resize;z-index:6}.sheet th.rowhead{overflow:visible}
.sheet td.table-head{background:#dbeafe;color:#17467c;font-weight:700;border-top:1px solid #8cb5ec}.sheet td.table-odd{background:#f4f8ff}.sheet td.table-even{background:#fff}.embedded .sheet td.table-head{background:#ffe8da;color:#9d3b00;border-top-color:#e7ab89}.embedded .sheet td.table-odd{background:#fff7f2}
.sheet td.table-total{background:#dbeafe;color:#17467c;font-weight:700;border-top:2px solid #8cb5ec}.embedded .sheet td.table-total{background:#ffe8da;color:#9d3b00;border-top-color:#e7ab89}
.find-options{display:flex;gap:14px;margin:-2px 0 12px;color:#435770}.find-options label{display:flex;align-items:center;gap:6px}.find-options input{appearance:none;width:16px;height:16px;border:1.5px solid #8093ac;border-radius:4px;background:#fff;position:relative}.find-options input:checked{background:#1769e0;border-color:#1769e0}.find-options input:checked:after{content:'';position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.sheet th.corner{z-index:11}.sheet td.frozen-row:not(.table-head):not(.table-odd):not(.table-even):not(.table-total),.sheet td.frozen-column:not(.table-head):not(.table-odd):not(.table-even):not(.table-total){background:#fff}.sheet td.frozen-row,.sheet td.frozen-column{box-shadow:inset 0 -1px #cbd7e6}
.sheet td.has-link .value{color:#155fc9;text-decoration:underline}.sheet td.has-link:not(.filter-header)::after{content:'';position:absolute;right:2px;top:2px;width:5px;height:5px;border-top:2px solid #1769e0;border-right:2px solid #1769e0;pointer-events:none}
.sheet td.active{background:var(--sheet-background,#fff)!important}.sheet td.frozen-row:not(.table-head):not(.table-odd):not(.table-even):not(.table-total),.sheet td.frozen-column:not(.table-head):not(.table-odd):not(.table-even):not(.table-total){background:var(--sheet-background,#fff)}
.table-style-option{display:flex!important;align-items:center;gap:9px}.table-style-chip{display:inline-block;width:25px;height:16px;border-radius:3px;border:1px solid #cbd5e1;background:linear-gradient(#dbeafe 0 45%,#f4f8ff 45%)}.table-style-chip.green{background:linear-gradient(#ccebd6 0 45%,#effaf2 45%)}.table-style-chip.orange{background:linear-gradient(#ffe2cc 0 45%,#fff5ec 45%)}.table-style-chip.plain{background:linear-gradient(#f1f3f6 0 45%,#fff 45%)}
.sheet td.table-style-green.table-head,.sheet td.table-style-green.table-total{background:#ccebd6;color:#185c36;border-top-color:#7bc99a}.sheet td.table-style-green.table-odd{background:#effaf2}.sheet td.table-style-orange.table-head,.sheet td.table-style-orange.table-total{background:#ffe2cc;color:#9d3b00;border-top-color:#ecab7a}.sheet td.table-style-orange.table-odd{background:#fff5ec}.sheet td.table-style-plain.table-head,.sheet td.table-style-plain.table-total{background:#f1f3f6;color:#334155;border-top-color:#cbd5e1}.sheet td.table-style-plain.table-odd{background:#fff}
.embedded .sheet td.table-style-blue.table-head,.embedded .sheet td.table-style-blue.table-total{background:#dbeafe;color:#17467c;border-top-color:#8cb5ec}.embedded .sheet td.table-style-blue.table-odd{background:#f4f8ff}
.storage-info{margin-left:auto;color:#708096;font-size:11px;white-space:nowrap}.storage-info.unsaved{color:#b44b22}.footer .storage-info+.footinfo{margin-left:8px}
#auditModal .modal{max-height:85vh;overflow:auto}#auditModal .conditional-list{max-height:24vh;overflow:auto}
.chart-modal{width:min(760px,94vw);max-height:90vh;overflow:auto}.chart-fields{display:flex;gap:8px}.chart-fields input{flex:1;min-width:0;border:1px solid #cbd7e6;border-radius:6px;padding:0 9px}.chart-fields select{min-width:110px}#chartPreview{min-height:285px;margin:12px 0;border:1px solid #e2e8f0;border-radius:8px;display:grid;place-items:center;color:#64748b}#chartPreview svg{width:100%;max-height:360px}#chartList{max-height:130px;overflow:auto}
.chart-options{display:flex;gap:15px;margin:10px 0;color:#435770;font-size:12px}.chart-options label{display:flex;align-items:center;gap:5px}
.sparkline-cell{height:100%;padding:2px 6px}.sparkline-cell svg{width:100%;height:100%;overflow:visible}
#printView.preview{display:block;position:fixed;inset:3vh 3vw;overflow:auto;z-index:30;background:#fff;padding:20px;box-shadow:0 20px 70px #13213766;border-radius:10px;color:#172333}#printView.preview>button{position:sticky;top:0;float:right;z-index:1}#printView.preview h1{font-size:17px;margin:0 0 16px}#printView.preview table{border-collapse:collapse;width:max-content;font-size:11px}#printView.preview td,#printView.preview th{border:1px solid #b5bfcb;padding:3px 5px}#printView.preview th{background:#f3f6fa}#printView.preview .no-gridlines td,#printView.preview .no-gridlines th{border-color:transparent}
#accessibilityModal .conditional-list{max-height:50vh;overflow:auto}
.slicer-panel{position:absolute;top:12px;right:18px;width:180px;max-height:330px;overflow:hidden;background:#fff;border:1px solid #cbd7e6;border-radius:10px;box-shadow:0 10px 30px #19345126;z-index:10;padding:9px}.slicer-panel[hidden]{display:none}.slicer-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:8px}.slicer-head button{border:0;background:#fff;color:#64748b;font-size:20px}.slicer-values{display:grid;gap:4px;max-height:255px;overflow:auto}.slicer-value{border:1px solid #d9e2ee;background:#f8fafc;color:#435770;border-radius:5px;padding:5px 7px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.slicer-value.active{background:#e8f1ff;border-color:#1769e0;color:#1258be}.slicer-panel small{color:#64748b}
@media print{body{background:#fff!important}.app,.modal-back,.toast,.menu{display:none!important}#printView{display:block!important;color:#172333}#printView h1{font-size:15px;margin:0 0 8mm}#printView table{border-collapse:collapse;width:max-content;max-width:100%;font-size:11px}#printView thead{display:table-header-group}#printView tr{break-inside:avoid}#printView td,#printView th{border:1px solid #b5bfcb;padding:3px 5px;min-height:20px;break-inside:avoid}#printView th{background:#f3f6fa;font-weight:600}#printView .no-gridlines td,#printView .no-gridlines th{border-color:transparent}#printView img{max-width:100px;max-height:75px;object-fit:contain}}

:root{--mes-accent:#1769e0;--mes-on-accent:#fff;--mes-accent-soft:color-mix(in srgb,var(--mes-accent) 10%,white);--mes-accent-mid:color-mix(in srgb,var(--mes-accent) 20%,white);--mes-accent-border:color-mix(in srgb,var(--mes-accent) 45%,white);--mes-accent-hover:color-mix(in srgb,var(--mes-accent) 85%,black)}
:root.embedded{--mes-accent:#d24a00}
:root .primary{background:var(--mes-accent);border-color:var(--mes-accent);color:var(--mes-on-accent)}
:root .primary:hover{background:var(--mes-accent-hover);border-color:var(--mes-accent-hover)}
:root .tab.active,:root .tool.on,:root .option.active{color:var(--mes-accent);background:var(--mes-accent-soft)}
:root .tool:hover,:root .option:hover,:root .menu button:hover,:root .suggestion:hover,:root .suggestion.active{background:var(--mes-accent-soft);border-color:var(--mes-accent-border)}
:root .sheet td.selected,:root .sheet td.fill-preview{background:var(--mes-accent-soft)!important}
:root .sheet td.active,:root .cell-editor{outline-color:var(--mes-accent);border-color:var(--mes-accent)}
:root .sheet th.selected-head{background:var(--mes-accent-mid);color:var(--mes-accent)}
:root .sheet-tab.active{border-color:var(--mes-accent);color:var(--mes-accent)}
:root .fill-handle,:root .sheet td .checkbox-cell input:checked,:root .validation-option input:checked,:root .filter-option input:checked,:root .find-options input:checked{background:var(--mes-accent);border-color:var(--mes-accent)}
:root .fx,:root .sheet td.formula .value,:root .suggestion b,:root .function-list b,:root .filter-all,:root .sheet td.has-link .value{color:var(--mes-accent)}
:root .formula input:last-child:focus,:root .dropdown input:focus,:root .find-fields input:focus,:root .function-search:focus,:root .image-fields input:focus,:root .select-trigger:hover,:root .color-trigger:hover,:root .select-trigger[aria-expanded=true],:root .color-trigger[aria-expanded=true]{border-color:var(--mes-accent)}
:root .color-hex button{background:var(--mes-accent);color:var(--mes-on-accent)}
:root .validation-types button.active,:root .filter-columns button.active,:root .slicer-value.active{border-color:var(--mes-accent);color:var(--mes-accent);background:var(--mes-accent-soft)}
:root .swatch:hover,:root .swatch.active{outline-color:var(--mes-accent)}
#homePanel{align-items:stretch}
#homePanel>.group{align-content:flex-start;flex-wrap:wrap;gap:4px;min-height:84px;padding-top:2px}
#homePanel>.group[data-group="빠른 실행"]{width:78px}
#homePanel>.group[data-group="클립보드"]{width:230px}
#homePanel>.group[data-group="글꼴"]{width:258px}
#homePanel>.group[data-group="맞춤"]{width:280px}
#homePanel>.group[data-group="표시 형식"]{width:150px}
#homePanel>.group[data-group="셀"]{width:205px}
#homePanel>.group[data-group="스타일"]{width:200px}
#homePanel>.group[data-group="선택하여 붙여넣기"]{width:250px}
#homePanel>.group[data-group="편집"]{width:220px}
#homePanel .tool{white-space:nowrap}
