:root{color:#203345;font-synthesis:none;--bg:#f5f8fc;--surface:#fff;--ink:#203345;--muted:#576878;--brand:#338bcc;--primary:#1269b1;--hover:#0c578e;--soft:#eaf3fc;--border:#dfe8f1;--focus:#095c9f;--changed:#fff2cf;--error:#b42318;--warning:#815200;background:#f5f8fc;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0;font-size:16px;line-height:1.65}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button,a,input,select,textarea{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[role=gridcell]:focus-visible{outline:3px solid var(--focus);outline-offset:3px}a{color:var(--primary);text-underline-offset:3px}svg{flex-shrink:0;width:20px;height:20px}button{color:var(--ink)}.wrap{width:100%;max-width:1392px;margin-left:auto;margin-right:auto;padding-left:32px;padding-right:32px}.header{border-bottom:1px solid var(--border);background:#fff;height:78px}.header-inner{justify-content:space-between;align-items:center;gap:18px;height:100%;display:flex}.brand{letter-spacing:-.05em;white-space:nowrap;color:var(--ink);align-items:center;gap:10px;font-size:25px;font-weight:800;line-height:1;text-decoration:none;display:flex}.brand img{object-fit:contain;width:48px;height:48px}.brand b{color:var(--brand)}.header nav{font-size:13px}.header nav a{color:var(--muted);text-decoration:none}.header nav a:hover{color:var(--primary)}.hero{text-align:center;max-width:960px;margin:62px auto 0}.eyebrow{color:var(--primary);letter-spacing:.15em;font-size:12px;font-weight:700}.hero h1{letter-spacing:-.05em;margin:14px 0 18px;font-size:44px;font-weight:800;line-height:1.4}.hero h1 span{color:var(--primary)}.intro{color:var(--muted);margin:0;font-size:15px;line-height:1.95}.mobile-break{display:none}.open-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;max-width:660px;margin:32px auto 0;padding:34px 24px 24px;box-shadow:0 8px 28px #23456604}.primary{background:var(--primary);color:#fff;border:1px solid var(--primary);border-radius:10px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:10px 22px;font-size:14px;font-weight:700;line-height:1.5;text-decoration:none;transition:background .12s;display:inline-flex}.primary:hover{background:var(--hover);border-color:var(--hover)}.big{min-width:246px;min-height:54px;font-size:17px}.drop-note{color:var(--muted);margin:12px 0 17px;font-size:13px}.privacy-note{color:var(--muted);justify-content:center;align-items:center;gap:7px;font-size:12px;display:flex}.privacy-note svg{width:17px;height:17px}.local-note{color:var(--muted);margin:3px 0 0;font-size:11px}.sample-link{color:var(--primary);background:0 0;border:0;margin-top:14px;padding:7px 10px;font-size:13px}.sample-link span{margin-left:4px}.sample-link:hover{text-decoration:underline}.mini-examples{text-align:left;grid-template-columns:1fr 1.35fr 1fr;gap:16px;max-width:744px;margin:26px auto 0;display:grid}.example{padding:13px 15px}.label{color:var(--muted);font-size:12px}.value{letter-spacing:.02em;font-variant-numeric:tabular-nums;margin-top:4px;font-size:20px;font-weight:600}.value.small{margin-top:8px;font-size:16px}.desc{color:var(--primary);margin-top:4px;font-size:11px}.simple-notes{color:var(--muted);justify-content:center;gap:25px;margin-top:18px;font-size:12px;display:flex}.simple-notes span:before{content:"✓";color:var(--primary);margin-right:7px;font-weight:700}.scope-line{color:var(--muted);margin-top:18px;font-size:11px}.scope-line a{margin-left:12px}.footer{border-top:1px solid var(--border);color:var(--muted);justify-content:space-between;align-items:center;gap:24px;margin-top:40px;padding-top:20px;padding-bottom:22px;font-size:11px;display:flex}.footer>div>span{color:var(--ink);font-size:12px;font-weight:700}.footer p{margin:2px 0 0}.footer nav{flex-wrap:wrap;gap:24px;display:flex}.footer nav a{color:var(--muted);text-decoration:none}.footer nav a:hover{color:var(--primary);text-decoration:underline}.business-note{text-align:center;color:var(--muted);margin:0 20px 24px;font-size:10px}.work{padding-top:25px}.workspace{border:1px solid var(--border);background:var(--surface);border-radius:16px;min-width:0;overflow:hidden;box-shadow:0 8px 28px #23456604}.filebar{border-bottom:1px solid var(--border);align-items:center;gap:16px;padding:17px 20px;display:flex}.file-icon{background:var(--soft);color:var(--primary);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:43px;font-size:11px;font-weight:800;display:flex}.file-info{flex:1;min-width:0}.filename{white-space:nowrap;text-overflow:ellipsis;font-size:15px;font-weight:700;overflow:hidden}.file-info small{color:var(--muted);margin-top:2px;font-size:11px;font-weight:400;display:block}.history{gap:6px;display:flex}.icon-button{background:var(--surface);border:1px solid var(--border);width:37px;height:37px;color:var(--muted);border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;padding:7px;display:inline-flex}.icon-button svg{width:18px;height:18px}.icon-button:hover:not(:disabled),.secondary:hover:not(:disabled){background:var(--bg);border-color:#b9cede}.secondary{background:var(--surface);min-height:38px;color:var(--ink);border:1px solid #cfdae5;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:7px 13px;font-size:12px;line-height:1.5;text-decoration:none;display:inline-flex}.searchbar{border-bottom:1px solid var(--border);flex-wrap:wrap;align-items:center;gap:9px;min-width:0;padding:12px 20px;display:flex}.searchfield{background:#fbfcfe;border:1px solid #cfdae5;border-radius:8px;flex:150px;align-items:center;gap:10px;min-width:0;max-width:340px;height:38px;padding:0 12px;display:flex}.searchfield svg{width:17px;height:17px;color:var(--muted)}.searchfield input{color:var(--ink);background:0 0;border:0;outline:none;width:100%;min-width:0;font-size:13px}.searchfield:focus-within{outline:2px solid var(--focus);outline-offset:2px}.searchfield input:focus-visible{outline:none}.searchcount{color:var(--muted);white-space:nowrap;font-size:11px}.search-navigation{gap:4px;display:flex}.search-navigation .icon-button{width:30px;height:32px;padding:5px}.spacer{flex:1}.changed-button{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:8px;padding:8px 11px;font-size:12px}.changed-button.has-changes{color:#765317;background:#fff8e7}.hintbar{border-bottom:1px solid var(--border);background:#fcfdff;justify-content:space-between;align-items:center;gap:16px;padding:8px 20px;font-size:11px;display:flex}.hintbar span:first-child{color:var(--primary)}.hintbar span:last-child{color:var(--muted)}.formula-note{color:var(--warning);background:#fffbef;border-bottom:1px solid #eee2be;padding:8px 20px;font-size:11px}.formula-note>span{margin-right:5px;font-size:13px}.table-scroll{overscroll-behavior:contain;scrollbar-color:#bdcede #f5f8fc;scrollbar-width:thin;width:100%;height:clamp(330px,49vh,550px);position:relative;overflow:auto}.data-grid{font-variant-numeric:tabular-nums;min-height:100%;font-size:14px;line-height:1.4;position:relative}.grid-heading{z-index:6;border-bottom:1px solid var(--border);background:#f5f8fc;min-width:100%;height:36px;position:sticky;top:0}.grid-corner{z-index:7;border-right:1px solid var(--border);border-bottom:1px solid var(--border);background:#f5f8fc;width:46px;height:36px;position:sticky;left:0}.column-heading{text-align:center;border-right:1px solid var(--border);border-bottom:1px solid var(--border);height:36px;color:var(--muted);background:#f5f8fc;justify-content:center;align-items:center;font-size:12px;display:flex;position:absolute;top:0}.grid-row{width:100%;position:absolute;left:0}.row-heading{z-index:4;width:46px;height:100%;color:var(--muted);border-bottom:1px solid var(--border);border-right:1px solid var(--border);background:#f9fbfd;justify-content:center;align-items:center;font-size:11px;display:flex;position:sticky;left:0}.grid-cell{cursor:default;white-space:pre;text-align:left;background:#fff;border-bottom:1px solid #e8eef5;border-right:1px solid #e8eef5;align-items:center;gap:3px;height:100%;padding:9px 12px;display:flex;position:absolute;top:0;overflow:hidden}.cell-value{text-overflow:ellipsis;white-space:pre;max-width:100%;overflow:hidden}.grid-cell.selected{box-shadow:inset 0 0 0 2px var(--primary);z-index:2;background:#f0f7fe}.grid-cell.changed{background:var(--changed);border-left:3px solid #ae7d14;padding-left:9px}.grid-cell.match{background:#fff6cc}.grid-cell.selected.changed{box-shadow:inset 0 0 0 2px var(--primary)}.grid-cell:focus-visible{outline-offset:-4px;z-index:3;outline-width:2px}.cell-marker{color:#815200;font-size:15px;line-height:1;position:absolute;top:0;right:4px}.grid-cell.missing{cursor:not-allowed;background:repeating-linear-gradient(135deg,#f2f5f8,#f2f5f8 4px,#e5ebf1 4px 5px)}.empty-grid{text-align:center;color:var(--muted);font-size:13px;position:absolute;top:75px;left:0;right:0}.cell-detail{border-top:1px solid var(--border);align-items:center;gap:14px;min-width:0;padding:13px 20px;display:flex}.coord{background:var(--soft);min-width:42px;color:var(--primary);border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:5px 9px;font-size:12px;font-weight:700;display:inline-flex}.selected-text{text-overflow:ellipsis;white-space:pre;font-variant-numeric:tabular-nums;flex:1;min-width:0;max-height:44px;font-size:14px;overflow:hidden}.type-label{color:var(--muted);font-size:10px}.statusbar{color:var(--muted);border-top:1px solid var(--border);background:#fbfcfe;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 18px;padding:10px 20px;font-size:10px;display:flex}.statusbar button{color:var(--primary);font-size:inherit;text-align:left;background:0 0;border:0;padding:0}.statusbar a{color:var(--primary)}.endnote{color:var(--muted);margin:13px 4px;font-size:11px}.alert{color:var(--ink);background:#f1f7fe;border:1px solid #d3e3f0;border-radius:12px;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 16px;padding:20px 22px;font-size:13px;display:flex}.alert>div{flex:1;min-width:0}.alert strong,.alert h2{margin:0;font-size:15px;font-weight:700}.alert p{color:var(--muted);overflow-wrap:anywhere;margin:4px 0 0;font-size:12px}.alert.error{background:#fff7f5;border-color:#f0cbc7;margin-top:20px}.alert.error strong,.alert.error p{color:var(--error)}.alert .icon-button{background:0 0;border:0}.progress{align-items:center}.notice-icon{width:32px;height:32px;color:var(--primary);background:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:18px;display:flex}.notice-actions{flex-wrap:wrap;gap:9px;margin-top:12px;display:flex}.alert .output-name{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.alert .download-status{margin-top:12px}.toast{z-index:20;color:#fff;pointer-events:none;background:#243a51;border-radius:10px;max-width:min(90vw,720px);padding:11px 18px;font-size:13px;line-height:1.6;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 4px 18px #19374f14}.modal{border:1px solid var(--border);color:var(--ink);width:580px;max-width:calc(100vw - 40px);max-height:calc(var(--visible-height,100dvh) - 48px);border-radius:20px;padding:24px;overflow:auto;box-shadow:0 24px 90px #15375524}.modal::backdrop{background:#18314955}.modal-heading{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.modal h2{margin:0;font-size:19px;font-weight:700;line-height:1.5}.modal-heading .icon-button{border:0;width:32px;height:32px;margin-top:-5px;margin-right:-6px}.modal p{color:var(--muted);margin:12px 0;font-size:13px;line-height:1.75}.modal label{font-size:13px}.modal textarea{resize:vertical;width:100%;min-height:160px;max-height:45vh;color:var(--ink);background:#fff;border:1px solid #c7d5e2;border-radius:10px;padding:12px;font-size:16px;line-height:1.6;display:block}.editor-label{margin:14px 0 6px;font-weight:600;display:block}.modal .editor-help{margin:8px 0 0;font-size:11px}.dialog-actions{flex-wrap:wrap;justify-content:flex-end;gap:9px;margin-top:22px;display:flex}.dialog-actions .primary{font-size:13px}.dialog-actions .secondary{min-height:42px;font-size:13px}.inline-warning{background:#fffaeb;border:1px solid #e7d8af;border-radius:9px;margin-top:14px;padding:12px;font-size:12px;color:var(--warning)!important}.inline-warning p{color:var(--warning);margin:6px 0 0;font-size:12px}.inline-error{background:#fff5f3;border-radius:8px;padding:10px 12px;color:var(--error)!important}.text-button{color:var(--primary);background:0 0;border:0;padding:6px 3px;font-size:12px}.text-button:hover{text-decoration:underline}.reading-settings{flex-wrap:wrap;gap:16px;margin:18px 0;display:flex}.reading-settings label{flex-direction:column;flex:1;gap:5px;min-width:150px;display:flex}.reading-settings select{width:100%;min-width:0;color:var(--ink);background:#fff;border:1px solid #c7d5e2;border-radius:8px;padding:9px 10px;font-size:14px}.modal .reading-reasons{color:var(--warning);font-size:12px}.preview-table{border:1px solid var(--border);border-radius:8px;width:100%;overflow:auto}.preview-table table{border-collapse:collapse;min-width:100%;font-size:12px}.preview-table td{white-space:pre;text-overflow:ellipsis;border:1px solid var(--border);max-width:210px;padding:9px 12px;overflow:hidden}.preview-table caption{color:var(--muted);text-align:left;background:var(--bg);white-space:nowrap;padding:8px 12px;font-size:11px}.menu-list{gap:8px;margin-top:18px;display:grid}.menu-list button{text-align:left;border:1px solid var(--border);background:#fff;border-radius:10px;padding:14px 16px}.menu-list button:hover{background:var(--bg)}.menu-list strong{color:var(--primary);font-size:14px;font-weight:600;display:block}.menu-list span{color:var(--muted);margin-top:3px;font-size:12px;display:block}.changes-list{gap:10px;max-height:45vh;margin-top:14px;display:grid;overflow:auto}.change-row{border:1px solid var(--border);border-radius:9px;padding:10px 13px}.change-row .text-button{font-weight:700}.change-row dl{grid-template-columns:50px 1fr;gap:7px;margin:6px 0;font-size:12px;display:grid}.change-row dt{color:var(--muted)}.change-row dd{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;margin:0}.pagination{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;padding:9px 12px;font-size:11px;display:flex}.pagination span{margin-right:auto}.checkbox-label{align-items:center;gap:9px;margin-top:20px;font-weight:600;display:flex}.checkbox-label input{width:18px;height:18px;accent-color:var(--primary)}.drop-overlay{z-index:25;pointer-events:none;border:3px dashed var(--primary);color:var(--primary);background:#eaf3fce8;border-radius:20px;justify-content:center;align-items:center;font-size:24px;font-weight:700;display:flex;position:fixed;inset:12px}.dragging{border-color:var(--primary)}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (min-width:1600px){.hero{margin-top:76px}.hero h1{font-size:48px}.open-card{margin-top:35px}.footer{margin-top:55px}}@media (max-width:760px){.wrap{padding-left:16px;padding-right:16px}.header{height:68px}.brand{gap:6px;font-size:21px}.brand img{width:41px;height:41px}.header nav{font-size:12px}.hero{margin-top:34px}.hero h1{letter-spacing:-.045em;margin:12px 0;font-size:30px;line-height:1.5}.eyebrow{letter-spacing:.1em;font-size:10px}.intro{font-size:13px;line-height:1.95}.mobile-break{display:block}.open-card{border-radius:17px;margin-top:25px;padding:25px 18px 19px}.big{width:100%;min-width:0}.drop-note{font-size:12px}.privacy-note{font-size:11px}.local-note{font-size:10px}.mini-examples{border-top:1px solid var(--border);border-bottom:1px solid var(--border);grid-template-columns:1fr;gap:0;margin-top:20px}.example{grid-template-columns:103px 1fr;align-items:center;gap:6px;padding:11px 4px;display:grid}.label{font-size:11px}.value{margin:0;font-size:17px}.value.small{letter-spacing:0;margin:0;font-size:13px}.desc{display:none}.simple-notes{flex-wrap:wrap;gap:9px;margin-top:18px;font-size:10px}.simple-notes span:before{margin-right:4px}.scope-line{margin-top:15px;font-size:10px}.footer{flex-direction:column;align-items:flex-start;gap:13px;margin-top:26px;padding-top:18px;padding-bottom:18px}.footer nav{gap:22px;font-size:11px}.business-note{text-align:left;margin-left:16px;font-size:9px}.work{padding-top:18px}.workspace{border-radius:13px}.filebar{gap:8px;padding:13px 12px}.file-icon{display:none}.filename{font-size:13px}.file-info small{font-size:10px}.history{gap:4px}.history .icon-button{width:32px;height:34px}.save-button{gap:6px;min-height:42px;padding:8px 13px;font-size:12px}.save-button svg{width:17px;height:17px}.searchbar{gap:7px;padding:10px 12px}.searchfield{flex-basis:155px;max-width:none}.searchfield input{font-size:14px}.searchcount{font-size:10px}.search-navigation{gap:3px}.search-navigation .icon-button{width:28px;height:32px}.searchbar>.spacer{display:none}.changed-button{margin-left:auto;padding:6px 8px;font-size:11px}.searchbar>.icon-button{width:32px;height:32px}.hintbar{padding:8px 12px;font-size:10px}.hintbar span:last-child{display:none}.formula-note{padding:8px 12px;font-size:10px}.table-scroll{height:390px;min-height:270px;max-height:55dvh}.data-grid{font-size:15px}.cell-detail{flex-wrap:wrap;gap:9px;padding:12px}.cell-detail .selected-text{flex-basis:calc(100% - 100px);font-size:14px}.cell-detail .secondary{flex:1}.type-label{order:0;font-size:9px}.statusbar{gap:6px;padding:10px 12px;font-size:9px}.endnote{margin:12px 2px;font-size:10px}.alert{gap:10px;padding:15px 14px}.alert strong,.alert h2{font-size:14px}.alert p{font-size:11px}.notice-icon{width:28px;height:28px;font-size:15px}.notice-actions .primary{width:100%;font-size:13px}.notice-actions .secondary{flex:1}.modal{width:calc(100vw - 24px);max-width:none;max-height:calc(var(--visible-height,100dvh) - 24px);margin:auto auto max(12px,env(safe-area-inset-bottom));border-radius:20px 20px 14px 14px;padding:20px}.modal.edit-modal{width:100%;max-height:calc(var(--visible-height,100dvh) - 10px);padding-bottom:max(20px,env(safe-area-inset-bottom));border-radius:20px 20px 0 0;margin:auto 0 0}.modal h2{font-size:17px}.modal p{font-size:12px}.modal textarea{min-height:135px;max-height:calc(var(--visible-height,100dvh) - 270px)}.dialog-actions{gap:8px;margin-top:18px}.dialog-actions .primary,.dialog-actions .secondary{flex:1;padding:10px;font-size:12px}.modal .editor-help{font-size:10px}.toast{bottom:max(16px,env(safe-area-inset-bottom));max-width:92vw;padding:10px 14px;font-size:12px}.reading-settings{gap:10px}.reading-settings label{min-width:125px}.drop-overlay{font-size:19px}.pagination .secondary{padding:6px 9px;font-size:10px}.menu-list button{padding:13px 14px}}@media (max-width:375px){.brand{font-size:19px}.brand img{width:37px;height:37px}.hero h1{font-size:28px}.filebar{flex-wrap:wrap}.file-info{flex-basis:calc(100% - 88px)}.history{order:2}.save-button{margin-left:auto}.searchfield{flex-basis:145px}.searchcount{font-size:9px}.mini-examples .value.small{font-size:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (forced-colors:active){.grid-cell.selected{outline-offset:-3px;outline:2px solid highlight}.grid-cell.changed{border-left:3px solid highlight}.grid-cell.missing{background:canvas;border:1px dashed graytext}.primary,.secondary,.icon-button{border:1px solid buttontext}.cell-marker{color:canvastext}}
