:root{font-family:Inter,"Segoe UI","Malgun Gothic",sans-serif;color:#202b3d;background:#f5f7fb;font-synthesis:none;--blue:#2155d6;--line:#e2e7ef;--muted:#788397;--text:#202b3d;--nav:184px;--inspector:266px}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button,input,select,textarea{outline-offset:3px}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #2155d6}button{border:0;background:none;color:inherit;border-radius:6px;white-space:nowrap}button:hover{background:#eaf0fc}input,select,textarea{min-width:0;color:var(--text)}input[type=text],input[type=number],select,textarea,.field>input:not([type=range]){border:1px solid #dce2eb;border-radius:5px;background:#fff;padding:8px 9px;width:100%}input[type=checkbox]{accent-color:var(--blue);width:15px;height:15px;flex-shrink:0}input[type=range]{width:100%;accent-color:var(--blue);margin:9px 0 0}input[type=color]{border:1px solid #dae1eb;background:white;border-radius:5px;padding:3px;width:32px;height:30px;cursor:pointer}select{width:100%;height:36px}.topbar{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:24px;padding:0 24px}.brand{display:flex;align-items:center;gap:9px;color:var(--text);text-decoration:none;font-size:21px;font-weight:700;letter-spacing:-.6px}.brand-light{font-weight:400}.version{color:#7a879b;background:#f1f4f9;font-size:10px;letter-spacing:1px;padding:4px 5px;border-radius:3px;margin-left:5px}.project-title{border-left:1px solid var(--line);padding-left:24px;display:flex;align-items:center;gap:10px;flex:1}.project-title input{border:0;width:185px;background:transparent;font-weight:500;font-size:14px;padding:6px}.project-mark{width:10px;height:12px;border:1px solid #8493ab;border-radius:2px}.project-title #save-state{font-size:12px;color:var(--muted)}.top-actions,.heading-actions,.figure-actions{display:flex;gap:8px;align-items:center}.quiet{padding:9px 11px;color:#617089}.outline{border:1px solid #d5dce8;background:white;padding:9px 13px}.primary{background:var(--blue);color:white;padding:10px 15px;font-weight:600}.primary:hover{background:#1944b1}.small{padding:7px 10px;font-size:13px}.text-button{color:var(--blue);padding:6px 3px;font-weight:500}.subtle-button{font-size:12px;color:var(--muted);padding:6px 4px}.muted{font-size:12px;color:var(--muted)}main{display:grid;grid-template-columns:var(--nav) minmax(0,1fr) var(--inspector);min-height:calc(100vh - 102px)}.dataset-nav{border-right:1px solid var(--line);background:#f9fafd;padding:29px 12px 20px;display:flex;flex-direction:column}.nav-label{font-size:10px;font-weight:600;letter-spacing:1.6px;color:#8a95a8;margin:0 12px 18px}.dataset-tab{display:flex;align-items:center;gap:10px;text-align:left;padding:13px 12px;margin-bottom:7px;border:1px solid transparent}.dataset-tab.active{background:#e9effe;border-color:#dfe7fd;color:var(--blue)}.dataset-tab strong{display:block;font-weight:600;font-size:14px}.dataset-tab small{display:block;font-size:11px;margin-top:4px;color:#8592a9}.nav-icon{font-size:23px;line-height:1}.tab-count{font-size:11px;margin-left:auto;color:#8190a9}.nav-bottom{margin-top:auto;padding:40px 10px 4px}.local-label{font-size:12px;color:#5e6d86}.nav-bottom p{font-size:12px;line-height:1.7;color:#8a95a6}.nav-bottom button{font-size:12px}.workbench{min-width:0;display:flex;flex-direction:column}.workspace-heading{display:flex;justify-content:space-between;align-items:center;padding:28px 27px 25px;gap:16px}.eyebrow{font-size:10px;color:#8894a8;font-weight:600;letter-spacing:1.7px;margin-bottom:8px}h1{font-size:25px;font-weight:600;letter-spacing:-.8px;margin:0}h2{font-size:14px;font-weight:600;margin:0}h3{font-size:13px;font-weight:600;margin:0 0 14px}.workspace-body{display:grid;grid-template-columns:minmax(235px,.76fr) minmax(350px,1.4fr);gap:18px;padding:0 24px 26px;align-items:start;flex:1}.data-panel,.figure-panel{background:white;border:1px solid var(--line);border-radius:9px;min-width:0;overflow:hidden}.panel-heading{height:59px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f5;gap:8px}.data-hint{font-size:12px;line-height:1.7;color:#8090a5;margin:15px 17px}.table-scroll{overflow:auto;max-height:340px;min-height:285px;scrollbar-width:thin}table{border-collapse:collapse;width:100%}#data-table{table-layout:fixed;font-variant-numeric:tabular-nums}#data-table th,#data-table td{border:1px solid #e9edf4;padding:0;height:34px}#data-table th:first-child,#data-table td:first-child{width:34px;font-size:11px;text-align:center;color:#94a0b3;background:#fafbfe}#data-table th{background:#f2f5fb;position:sticky;top:0;z-index:1;border-top:0}#data-table th:first-child{background:#f2f5fb}#data-table th:not(:first-child){width:96px}#data-table input{border:0;border-radius:0;background:transparent;width:100%;height:33px;text-align:center;padding:4px;font-size:13px}#data-table input:focus{outline:2px solid #4872df;outline-offset:-2px;background:#f0f5ff}#data-table th input{font-size:12px;font-weight:600;color:#3c536f}#data-table tr:nth-child(even) td:not(:first-child){background:#fcfdff}.table-actions{display:flex;align-items:center;gap:6px;padding:10px 12px;border-top:1px solid var(--line);flex-wrap:wrap}.table-actions button{font-size:12px}.table-actions button:nth-child(3){margin-left:auto}.summary-section{padding:18px 16px;border-top:1px solid #eef1f5}.section-label{font-size:12px;font-weight:600;margin-bottom:13px;display:flex;justify-content:space-between}.section-label span{font-size:11px;font-weight:400;color:#8c97a8}.summary-table{font-size:12px;font-variant-numeric:tabular-nums}.summary-table th{text-align:right;color:#8c98aa;font-size:10px;letter-spacing:.5px;font-weight:500;padding:5px 4px 10px}.summary-table td{padding:8px 4px;text-align:right;border-top:1px solid #eef1f5}.summary-table td:first-child,.summary-table th:first-child{text-align:left;max-width:90px;overflow:hidden;text-overflow:ellipsis}.color-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:7px}.data-footer{border-top:1px solid #edf0f5;display:flex;align-items:center;justify-content:center;gap:4px;font-size:10px;color:#909bb0;padding:12px 8px}.data-footer>span:last-child{margin-left:4px}.keycap{padding:2px 4px;border:1px solid #dfe5ef;border-radius:3px;color:#6b7a91}.figure-stage{padding:28px 22px;background:#f0f3f8;min-height:392px;display:flex;align-items:center;justify-content:center}.figure-paper{width:100%;background:white;box-shadow:0 3px 14px #25395e09;border:1px solid #e5e9f1;line-height:0}.figure-paper svg{width:100%;height:auto}.figure-caption{display:flex;justify-content:space-between;gap:10px;padding:15px 17px;font-size:11px;color:#7a889e}.figure-note{margin:0 17px 17px;padding:12px 13px;border-radius:5px;background:#f7f9fc;color:#8793a5;line-height:1.7;font-size:11px}.inspector{background:#fff;border-left:1px solid var(--line)}.inspector-heading{height:77px;padding:0 19px;display:flex;align-items:center;justify-content:space-between;gap:8px}.inspector-heading .muted{font-size:10px}.inspector-content{padding:0 19px 20px;max-height:calc(100vh - 180px);overflow:auto;scrollbar-width:thin}.control-section{border-top:1px solid #edf0f5;padding:19px 0 17px}.plot-types{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.plot-type{border:1px solid #dfe5ef;border-radius:6px;display:flex;flex-direction:column;align-items:center;padding:10px 3px 8px;gap:7px;color:#7f8da3;font-size:11px}.plot-type svg{width:30px;height:25px;stroke:currentColor}.plot-type.active{border-color:#82a0ec;background:#f0f5ff;color:#2155d6}.field{display:block;font-size:12px;color:#748196;margin-bottom:13px;line-height:1.6}.field>input,.field>select,.field>textarea{margin-top:5px;color:#384960;font-size:13px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.check-row{display:flex;gap:7px;align-items:center;font-size:12px;color:#67778d;margin:10px 0;line-height:1.5}.range-value{float:right;color:#6a7e9d}.color-row{display:flex;align-items:center;gap:9px;margin-top:9px;font-size:12px;color:#67778d}.color-row span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.statusbar{min-height:32px;padding:8px 20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#8c99ac;background:#fff}.error-box{margin:10px 12px;padding:10px;color:#b43339;background:#fff2f2;border:1px solid #f2d2d2;border-radius:5px;font-size:12px;line-height:1.6}.empty-plot{line-height:1.8;padding:100px 25px;text-align:center;color:#8290a5;font-size:14px}.empty-plot strong{display:block;color:#4d5d74;margin-bottom:7px}dialog{border:1px solid var(--line);border-radius:12px;box-shadow:0 30px 100px #14234130;padding:0;max-width:650px;width:calc(100vw - 32px);color:var(--text)}dialog::backdrop{background:#16243e60}.dialog-content{padding:28px}.dialog-content p{font-size:14px;color:#6f7e92;line-height:1.8}.dialog-content h3{margin-top:25px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.dialog-heading h2{font-size:21px}.close-button{font-size:28px;font-weight:300;color:#8895a9;padding:0 8px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.file-drop{border:1px dashed #aebfe0;border-radius:6px;display:block;padding:16px;margin:18px 0;color:#49658f;font-size:13px;background:#f6f9ff}.file-drop input{display:block;font-size:12px;margin-top:10px;max-width:100%}textarea{resize:vertical;font-family:Consolas,monospace;white-space:pre;line-height:1.7}.inline-error{color:#bb3636!important}pre{white-space:pre;overflow:auto;background:#f2f5fa;border:1px solid #e0e6f0;border-radius:6px;padding:16px;font-size:12px;line-height:1.8;color:#4b658a}[hidden]{display:none!important}
@media(min-width:1650px){:root{--nav:210px;--inspector:290px}.workspace-body{gap:24px;padding:0 30px 30px}.workspace-heading{padding:32px 32px}.figure-stage{padding:38px 32px;min-height:490px}.table-scroll{max-height:450px;min-height:345px}}
@media(max-width:1200px){:root{--nav:155px;--inspector:240px}.workspace-body{grid-template-columns:1fr;padding:0 18px 20px}.workspace-heading{padding:24px 18px}.data-panel{order:2}.figure-panel{order:1}.table-scroll{min-height:220px;max-height:300px}.figure-stage{min-height:300px;padding:20px}.project-title #save-state{display:none}.nav-icon{display:none}.topbar{gap:15px;padding:0 16px}.heading-actions{gap:2px}.heading-actions button{font-size:12px;padding:8px}.inspector-content{max-height:none}.summary-table td:first-child{max-width:none}}
@media(max-width:800px){:root{--nav:0px}main{grid-template-columns:minmax(0,1fr) 225px}.dataset-nav{grid-column:1/-1;flex-direction:row;padding:10px 16px;border-right:0;border-bottom:1px solid var(--line);gap:8px}.nav-label,.nav-bottom,.tab-count,.dataset-tab small{display:none}.dataset-tab{padding:9px 15px;margin:0}.topbar{height:auto;min-height:66px;flex-wrap:wrap;padding:14px 16px;gap:12px}.project-title{border:0;padding:0;flex:initial;margin-left:auto}.project-title input{width:160px}.top-actions{margin-left:auto}.brand{font-size:20px}.version{display:none}.workspace-heading{align-items:flex-start;flex-direction:column;gap:14px}.figure-stage{min-height:250px}.statusbar>span:last-child{display:none}.inspector-heading{height:70px}.figure-caption{flex-direction:column;gap:5px}.inspector-content{padding:0 14px}.figure-stage{padding:10px}}
@media(max-width:560px){main{display:block}.top-actions{width:100%;justify-content:flex-end}.top-actions button{font-size:12px;padding:7px}.project-title input{width:130px}.brand img{width:28px;height:28px}.inspector{border-top:1px solid var(--line);border-left:0}.inspector-content{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;padding:0 20px}.inspector-heading{height:60px;padding:0 20px}.workspace-heading{flex-direction:row;align-items:center;gap:7px}.workspace-heading h1{font-size:22px}.heading-actions{flex-direction:column;align-items:flex-end;gap:3px}.figure-stage{padding:18px;min-height:300px}.data-footer{font-size:11px}.figure-caption{flex-direction:row}.dialog-content{padding:20px}.control-section h3{font-size:14px}.field,.check-row{font-size:13px}.statusbar{font-size:11px}.eyebrow{font-size:9px}.dataset-tab{font-size:13px}}
:root{--blue:#0072b2;--line:#dce5ed;--muted:#687b8d;--text:#213549;background:#f3f6f9;color:var(--text)}
.topbar{border-top:3px solid var(--blue)}
.dataset-nav{background:#f6f9fb}
.dataset-tab.active{background:#e4f1f8;border-color:#c4dfed;color:#00649c}
button:hover{background:#e7f2f8}
.primary:hover{background:#005c91}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:var(--blue)}
.plot-type.active{background:#eaf5fb;border-color:#75b4d4;color:#006b9f}
#data-table input:focus{outline-color:var(--blue);background:#eaf5fb}
.figure-stage{background:#eef3f7}
.figure-paper{box-shadow:0 4px 18px #1339580b}
.field,.check-row,.control-section h3{font-size:14px}
.field>input,.field>select{font-size:14px}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.section-heading h3{margin:0}
.section-heading .text-button{font-size:12px;padding:3px 0;flex-shrink:0}
.palette-section{padding-top:16px}
.palette-section .field{color:#445e73;font-size:13px;margin-bottom:12px}
.palette-section select{height:39px;border-color:#bbd2e1;background:#f5fafc;color:#24485f;font-weight:500}
.palette-swatches{display:flex;height:29px;gap:3px;margin-bottom:10px}
.palette-swatches span{flex:1;border-radius:3px;box-shadow:inset 0 0 0 1px #0000000a}
.palette-description,.palette-scope,.color-input-hint{font-size:12px;line-height:1.7;color:#63788c;margin:8px 0}
.palette-scope{color:#7c8b99;padding-top:7px;border-top:1px solid #e5edf3}
.color-row{display:block;margin:14px 0 0;padding-bottom:13px;border-bottom:1px solid #edf1f5}
.color-row:last-child{border-bottom:0;padding-bottom:0}
.color-row-heading{display:flex;align-items:baseline;gap:7px;margin-bottom:7px}
.color-row-heading>span{font-size:14px;font-weight:500;color:#3d5367;min-width:0;flex:1}
.color-row-heading>small{font-size:12px;color:#8291a0;white-space:nowrap}
.color-row-inputs{display:flex;align-items:center;gap:6px}
.color-row-inputs input[type=color]{width:33px;height:34px;flex-shrink:0;padding:3px;border-color:#c5d3df}
.color-row-inputs .color-value{width:100%;min-width:50px;flex:1;height:34px;font-family:Consolas,monospace;font-size:13px;letter-spacing:.1px;border-color:#cedae5;padding:6px}
.color-reset{font-size:12px;padding:7px 4px;color:#5b7790;flex-shrink:0}
.color-reset:disabled{opacity:.35}
.color-value[aria-invalid=true]{border-color:#c6473b;background:#fff5f3}
.color-error{color:#a3362b;background:#fff3ef;border-radius:5px;padding:9px;font-size:12px;line-height:1.7}
.contrast-note{display:block;color:#86652b;font-size:12px;line-height:1.6;margin-top:6px}
.dialog-content a{color:#006da6;text-underline-offset:3px}
.dialog-content li{color:#586e82;font-size:14px;line-height:1.85;margin-bottom:8px}
.dialog-content ul{padding-left:21px}
.dialog-content .source-links{font-size:12px}
main{min-height:calc(100vh - 137px)}
.statusbar{display:block}
.status-row{display:flex;justify-content:space-between;gap:10px}
.reference-footer{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 14px;margin-top:8px;padding-top:8px;border-top:1px solid #edf1f5;font-size:.75rem;line-height:1.5}
.reference-footer>span{color:#697b8d}
.reference-footer a{color:#526b80;text-decoration:underline;text-decoration-color:#bccbd7;text-underline-offset:3px}
.reference-footer a:hover{color:var(--blue);text-decoration-color:currentColor}
.reference-footer a:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:2px}
@media(max-width:800px){.status-row .app-version{display:none}}
@media(max-width:560px){.palette-section{grid-column:1/-1}.palette-swatches{max-width:300px}.color-row-inputs{flex-wrap:wrap}.color-row-inputs .color-value{width:calc(100% - 40px)}.color-reset{margin-left:auto}.color-row-heading{flex-wrap:wrap}.color-row-heading>span{flex-basis:100%}}
main{grid-template-columns:172px minmax(0,1fr);align-items:start}
.dataset-nav{position:sticky;top:0;min-height:calc(100vh - 137px)}
.workspace-heading{padding:18px 24px;min-height:82px}
.workspace-heading h1{font-size:23px}
.workspace-heading .eyebrow{margin-bottom:5px}
.jump-link{font-size:13px;color:#5b738b;text-decoration:none;padding:8px}
.jump-link:hover{color:var(--blue);text-decoration:underline}
.workspace-body{display:flex;flex-direction:column;align-items:stretch;gap:22px;padding:0 24px 28px}
.data-panel{order:0;width:100%;border-color:#b8ccdd;box-shadow:0 3px 12px #1d416607}
.data-panel>.panel-heading{height:54px;background:#fbfdff;padding:0 16px}
.data-title,.data-heading-actions{display:flex;align-items:center;gap:12px;min-width:0}
.data-title h2{font-size:16px;color:#254c67}
.data-title .muted{font-size:12px}
.data-heading-actions{gap:7px}
.table-actions{padding:7px 14px;gap:10px;border-top:0;border-bottom:1px solid #dfe7ef;background:white}
.table-actions button{font-size:13px;padding:5px 3px}
.table-actions button:nth-child(3){margin-left:0}
.table-actions .subtle-button{color:#5c7287}
.toolbar-divider{height:18px;width:1px;background:#dfe7ef;margin:0 2px}
.formula-bar{display:flex;align-items:center;height:36px;background:#f9fbfd;border-bottom:1px solid #d5e1ed}
.cell-address{width:72px;flex-shrink:0;text-align:center;font:13px Consolas,monospace;color:#245c84;border-right:1px solid #dae4ef;padding:9px 5px}
.formula-label{font-size:12px;padding:0 11px;color:#8a9db0}
.formula-bar #cell-value{flex:1;min-width:0;border:0;border-radius:0;background:transparent;height:34px;padding:5px 8px;font-size:14px}
.selection-size{font-size:12px;color:#748a9e;white-space:nowrap;padding:0 14px}
.table-scroll{height:310px;min-height:180px;max-height:70vh;resize:vertical;overflow:auto;scrollbar-width:thin;background:#fbfcfe}
#data-table{min-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
#data-table th,#data-table td{border:0;border-right:1px solid #dfe7ef;border-bottom:1px solid #e4eaf1;padding:0}
#data-table thead th{height:62px;top:0;background:#eff4f9;z-index:4;vertical-align:middle}
#data-table thead th:not(:first-child){width:128px}
#data-table thead .group-heading{border-top:3px solid var(--group-color,#0072b2)}
#data-table th:first-child,#data-table td:first-child{width:46px}
#data-table thead .corner-cell{position:sticky;left:0;z-index:7;background:#eaf0f6}
#data-table .corner-cell button{width:100%;height:100%;font-size:13px;color:#71889e}
#data-table tbody th{position:sticky;left:0;z-index:3;background:#f1f5f9;height:34px;color:#7c90a3;font-size:12px;font-weight:400}
#data-table tbody th button{width:100%;height:34px;font-size:12px}
#data-table tbody td{height:34px;background:#fff}
#data-table tr:nth-child(even) td{background:#fcfdff}
#data-table input{height:34px;font-size:14px;padding:5px 8px;text-align:right;cursor:cell}
#data-table thead input{font-size:14px;height:32px;color:#2e4c67;text-align:center;cursor:text;font-weight:600}
#data-table .column-code{display:block;width:100%;font-size:11px;line-height:16px;color:#7c91a6;border-radius:0;padding:1px 4px;font-weight:400}
#data-table input[readonly]{user-select:none;caret-color:transparent;outline:0}
#data-table td.cell-selected{background:#e4f1fc}
#data-table tr:nth-child(even) td.cell-selected{background:#e4f1fc}
#data-table td.cell-active{box-shadow:inset 0 0 0 2px #0072b2;background:#fff}
#data-table td.cell-editing{box-shadow:inset 0 0 0 2px #009e73;background:#fff}
#data-table td.cell-editing input{outline:0;background:transparent;cursor:text;caret-color:auto}
#data-table.xy-table thead tr:first-child th{height:37px}
#data-table.xy-table thead tr:first-child .group-heading{width:auto}
#data-table.xy-table .subject-headings th{top:37px;height:52px;border-top:0;background:#f6f9fc}
#data-table.xy-table .subject-headings input{font-size:13px;font-weight:400;height:31px}
#data-table.xy-table .x-heading{position:sticky;left:46px;z-index:6;background:#eaf2f8}
#data-table.xy-table tbody td:nth-child(2){position:sticky;left:46px;z-index:2;background:#f6f9fc;box-shadow:2px 0 0 #d8e2ed}
#data-table.xy-table tbody td:nth-child(2).cell-selected{background:#e4f1fc}
#data-table.xy-table tbody td:nth-child(2).cell-active{box-shadow:inset 0 0 0 2px #0072b2,2px 0 0 #d8e2ed}
.data-footer{justify-content:space-between;flex-wrap:wrap;padding:9px 15px;font-size:12px;line-height:1.6;gap:5px 20px;background:#fbfdff;color:#73879b}
.data-footer>span:last-child{font-size:11px;margin-left:0;color:#8193a6}
.graph-workspace{display:grid;grid-template-columns:minmax(0,1fr) 284px;align-items:start;gap:20px;min-width:0}
.figure-panel{order:0;min-width:0}
.figure-stage{padding:28px;min-height:340px}
.figure-paper{max-width:790px}
.figure-caption{font-size:12px}
.graph-workspace .inspector{border:1px solid var(--line);border-radius:9px;min-width:0;overflow:hidden}
.inspector-heading{height:59px;border-bottom:1px solid #edf0f5}
.inspector-content{max-height:720px;padding:0 18px 18px}
.summary-section summary{cursor:pointer;list-style:revert;font-size:13px;color:#546f88}
.summary-section summary.section-label{display:list-item;margin:0 0 0 15px}
.summary-section[open] summary{margin-bottom:14px}
.summary-section summary span{float:right}
.summary-table td,.summary-table th{font-size:12px}
#figure-heading{scroll-margin-top:20px}
.graph-edit-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:11px 16px;border-bottom:1px solid var(--line);background:#fafcfe}
.heading-actions{flex-wrap:wrap;justify-content:flex-end}
.graph-edit-toolbar>span{font-size:12px;color:#6c8193;margin-right:5px}
.graph-edit-toolbar button{font-size:13px;padding:6px 9px;border:1px solid #dce5ed;background:#fff;border-radius:5px;color:#34566e}
.graph-edit-toolbar button[aria-pressed=true]{background:#e4f1f8;border-color:#9dc8dd;color:#00649c}
.figure-canvas{position:relative;max-width:100%;flex-shrink:0}
.figure-canvas .figure-paper{max-width:none;width:100%}
.figure-canvas svg{display:block}
.resize-figure{position:absolute;right:-12px;bottom:-12px;width:28px;height:28px;padding:0;background:#0072b2;color:white;border:2px solid white;border-radius:6px;cursor:nwse-resize;touch-action:none;line-height:22px;font-size:20px;box-shadow:0 2px 6px #183b6230}
.resize-figure:hover{background:#005c91}
.figure-paper [data-edit]{cursor:pointer;outline:none}
.figure-paper [data-edit]:hover>.edit-hit,.figure-paper [data-edit]:focus>.edit-hit{fill:#0072b210;stroke:#0072b2;stroke-width:1;stroke-dasharray:5 4}
.figure-paper [data-edit]:hover>text,.figure-paper [data-edit]:focus>text{fill:#0072b2}
.figure-paper [data-edit=data]:focus{outline:2px dashed #0072b2}
.format-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:10px 12px;background:#f4f8fb;border-bottom:1px solid var(--line)}
.format-tabs button{padding:8px 4px;font-size:14px;color:#557085;border-radius:5px;border:1px solid transparent}
.format-tabs button[aria-selected=true]{background:white;border-color:#b7d5e5;color:#00649c;font-weight:600;box-shadow:0 1px 3px #20436008}
.size-presets{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin:0 0 17px}
.size-presets button{border:1px solid #cbdce7;background:#f7fbfe;color:#375c74;font-size:14px;padding:9px 4px;border-radius:5px}
.control-hint{font-size:12px;line-height:1.7;color:#698196;margin:8px 0 17px}
.text-color-input{display:flex;gap:8px;margin-top:6px}
.text-color-input input[type=color]{width:38px;min-width:38px;height:38px;padding:4px}
.text-color-input input[type=text],.text-color-input input:not([type]){min-width:0;font-family:Consolas,monospace}
.graph-workspace .inspector-content{display:block;max-height:min(850px,calc(100vh - 155px));padding:0 17px 17px}
.graph-workspace .inspector{position:sticky;top:12px}
.inspector-content [data-format-panel]>.control-section:first-child{border-top:0}
.inspector input:invalid{border-color:#bd594d}
#format-error{font-size:13px;line-height:1.7;margin:0;padding:10px;background:#fff3ef;border-radius:5px}
#jitter-value{font-size:13px;color:#345e78;display:block;text-align:right}
@media(max-width:1100px){main{grid-template-columns:145px minmax(0,1fr)}.workspace-heading{padding:16px 18px}.workspace-body{padding:0 18px 22px}.graph-workspace{grid-template-columns:minmax(0,1fr) 250px;gap:16px}.data-title{gap:8px}.figure-stage{padding:16px}.data-title .muted{display:none}}
@media(max-width:800px){main{display:block}.dataset-nav{position:static;min-height:0;display:flex;flex-direction:row;padding:10px 16px;gap:10px;border-right:0;border-bottom:1px solid var(--line)}.graph-workspace{grid-template-columns:1fr}.graph-workspace .inspector-content{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;max-height:none}.palette-section{grid-column:1/-1}.palette-swatches{max-width:300px}.workspace-heading{flex-direction:row;align-items:center}.data-panel>.panel-heading{height:auto;min-height:54px;padding:10px 12px;gap:10px;flex-wrap:wrap}.data-heading-actions{flex-wrap:wrap}.data-footer>span:last-child{font-size:11px}.table-scroll{height:290px}.figure-caption{flex-direction:row}.inspector-content{padding:0 16px 16px}}
@media(max-width:560px){.workspace-heading{padding:15px 12px}.workspace-body{padding:0 10px 20px;gap:16px}.heading-actions{gap:4px}.jump-link{display:none}.workspace-heading .eyebrow{font-size:10px}.data-heading-actions .small{font-size:12px;padding:6px 8px}.table-actions{gap:6px 12px;padding:8px 12px}.table-actions button{font-size:12px}.table-scroll{height:280px}.selection-size{padding:0 8px;font-size:11px}.cell-address{width:55px}.figure-stage{padding:12px}.graph-workspace .inspector-content{gap:0 15px}.statusbar{padding:10px 12px}}
@media(max-width:800px){.graph-workspace .inspector{position:static}.graph-workspace .inspector-content{display:block;max-height:none}.format-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}.figure-stage{padding:24px}.inspector-content .field-pair{max-width:420px}}
