.workspace{background:var(--layer-outer);box-shadow:0 0 0 1px var(--layer-ring), 0 24px 50px -30px #00000040;border-radius:22px;padding:5px}.work-card{background:var(--surface);min-inline-size:0;box-shadow:0 0 0 1px var(--layer-inner-ring), var(--layer-shadow);border:0;border-radius:17px;margin:0;padding:0;overflow:clip}.work-card:disabled button{cursor:wait}[data-edition] .work-input{align-content:start;gap:.9rem;display:grid}[data-edition] .work-input label{gap:.35rem;min-width:0;display:grid}[data-edition] .work-input input,[data-edition] textarea,[data-edition] select{min-width:0;max-width:100%}[data-edition] .work-output,[data-edition] #result{overflow-wrap:anywhere;min-width:0}[data-edition] canvas,[data-edition] img{max-width:100%;height:auto}[data-edition] .page-picks{grid-template-columns:repeat(auto-fill,minmax(75px,1fr));gap:.5rem;display:grid}[data-edition] .page-picks label{background:var(--well);border-radius:6px;padding:.4rem}[data-edition] .preview-scroll{max-height:65vh;overflow:auto}[data-edition] .preview-scroll canvas{max-width:none}[data-edition] .result-table{max-width:100%;overflow:auto}[data-edition] .work-input p{margin:0}[data-edition] .actions{flex-wrap:wrap}[data-edition] .field-pair{grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr));gap:.8rem;display:grid}[data-edition] .field-pair figure{margin:0}[data-edition] :is(audio,video){max-width:100%;display:block}[data-edition] .work-input fieldset{border:1px solid var(--field-ring);border-radius:.6rem;min-width:0;margin:.5rem 0;padding:.8rem}.workspace .work-input label:is(.check,.inline-check,:has(>input:is([type=checkbox],[type=radio]):only-child)):not(.filebox):not(.pick){text-align:left;flex-direction:row;justify-content:flex-start;align-items:center;gap:.55rem;display:flex}.workspace .work-input input:is([type=checkbox],[type=radio]){flex:none;margin:0}#crop-editor>p,.crop-selection p{color:var(--muted);margin:0;font-size:.88rem}.crop-board{border:1px solid var(--field-ring);background:var(--well);border-radius:12px;justify-items:center;margin-top:.6rem;padding:22px;display:grid}#crop-source{position:relative}#crop-source img{user-select:none;pointer-events:none;width:100%;height:100%;display:block}.crop-matte{pointer-events:none;position:absolute;inset:0;overflow:hidden}.crop-matte>div,.crop-hitbox{left:var(--crop-x);top:var(--crop-y);width:var(--crop-width);height:var(--crop-height);position:absolute}.crop-matte>div{border:1px solid #fff;box-shadow:0 0 0 100vmax #102434a8,inset 0 0 0 1px #143852}.crop-matte>div:after{content:"";background:linear-gradient(90deg,#0000 33%,#ffffff8c 33% 33.5%,#0000 33.5% 66%,#ffffff8c 66% 66.5%,#0000 66.5%),linear-gradient(#0000 33%,#ffffff8c 33% 33.5%,#0000 33.5% 66%,#ffffff8c 66% 66.5%,#0000 66.5%);position:absolute;inset:0}.is-circle .crop-matte>div{border-radius:50%}.is-circle .crop-matte>div:after{display:none}.crop-hitbox{cursor:grab;touch-action:none;user-select:none}.crop-hitbox[data-dragging]{cursor:grabbing}.crop-hitbox>span{z-index:1;place-items:center;width:clamp(18px,60%,44px);height:clamp(18px,60%,44px);display:grid;position:absolute}.crop-hitbox>span:after{content:"";pointer-events:none;background:#e4f6ff;border:2px solid #11547b;border-radius:3px;width:13px;height:13px}.crop-hitbox [data-corner=nw]{cursor:nwse-resize;top:0;left:0;translate:-50% -50%}.crop-hitbox [data-corner=ne]{cursor:nesw-resize;top:0;right:0;translate:50% -50%}.crop-hitbox [data-corner=sw]{cursor:nesw-resize;bottom:0;left:0;translate:-50% 50%}.crop-hitbox [data-corner=se]{cursor:nwse-resize;bottom:0;right:0;translate:50% 50%}.crop-selection{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;margin-block:.5rem .75rem;display:flex}.crop-selection button{min-height:44px}#crop-editor input[type=range]{min-height:32px}#crop-output{scroll-margin-top:76px}.crop-preview-jump{align-items:center;min-height:44px;display:inline-flex}.work-output .art-circle{background-color:#f7fafc;background-image:conic-gradient(#d0e2ec 25%, transparent 0 50%, #d0e2ec 0 75%, transparent 0);background-size:16px 16px}.tool-article{overflow-wrap:anywhere;max-width:72ch;margin:clamp(2.5rem,6vw,5rem) auto}.tool-article h2{margin:2rem 0 .55rem;font-size:clamp(1.4rem,2.2vw,1.8rem)}.tool-article table{margin:1.2rem 0}.tool-article pre{background:var(--surface);border:1px solid var(--line);white-space:pre-wrap;border-radius:.5rem;padding:1rem}.work-note{color:var(--muted);justify-content:center;align-items:center;gap:6px;padding:9px 8px 5px;font-size:.8rem;display:flex}.workspace-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;display:flex}.workspace-head h2{letter-spacing:0;align-items:center;gap:10px;font-family:Desk,system-ui,sans-serif;font-size:1rem;font-weight:650;display:flex}.workspace-head h2 svg{box-sizing:content-box;background:var(--tile-bg);color:var(--tile-fg);border-radius:8px;flex:none;padding:6px}.quiet{font-size:.87rem}.work-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);display:grid}.work-input,.work-output{flex-direction:column;align-items:stretch;gap:14px;min-width:0;padding:22px;display:flex}.work-input{border-right:1px solid var(--line)}.work-output{background:var(--subtle)}.work-output h3{letter-spacing:0;font-family:Desk,system-ui,sans-serif;font-size:.95rem;font-weight:650}.work-output:has(#result:not(:empty)) .output-hint,.work-output:has(#status.error) .output-hint,.work-output:has(#actions:not(:empty)) .output-hint,.output-hint:empty,#status:empty,#result:empty,#actions:empty,.tray:empty{display:none}.output-hint{border:1.5px dashed var(--line-strong);color:var(--muted);text-align:center;border-radius:12px;margin:auto 0;padding:26px 17px;font-size:.93rem}.workspace label:not(.check):not(.inline-check):not(.filebox):not(.pick):not(:has(>input:is([type=checkbox],[type=radio]):only-child)){flex-direction:column;gap:6px;font-size:.9rem;font-weight:600;display:flex}.workspace input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),.workspace select,.workspace textarea{background:var(--field);width:100%;min-width:0;box-shadow:0 0 0 1px var(--field-ring);border:0;border-radius:9px;padding:9px 11px;font-weight:430}.workspace input:focus-visible,.workspace select:focus-visible,.workspace textarea:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.workspace select option{background:var(--surface);color:var(--fg)}.workspace select,.workspace input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]){min-height:44px}.workspace textarea{resize:vertical;min-height:150px;line-height:1.55}.workspace .code,pre,.leaf{font-family:ui-monospace,Consolas,monospace}.fields,.editors{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));align-items:end;gap:12px;display:grid}.check{align-items:center;gap:8px;min-height:44px;font-size:.91rem;display:flex}input[type=checkbox],input[type=range]{accent-color:#4c9fca}input[type=checkbox]{flex:none;width:18px;height:18px}input[type=range]{width:100%;min-height:30px}.filebox{cursor:pointer;text-align:center;min-height:170px;color:var(--fg);background:var(--bg);position:relative}.filebox:hover{border-color:var(--accent-edge)}.filebox .upload-symbol{background:var(--tile-bg);width:46px;height:46px;color:var(--tile-fg);border-radius:12px;place-items:center;margin-bottom:6px;display:inline-grid}.work-input>.primary{align-self:flex-start}#status{color:var(--muted);overflow-wrap:anywhere;font-size:.9rem}#status.error{color:var(--fail);background:var(--err-bg);border-radius:9px;padding:10px 13px}#result{overflow-wrap:anywhere;min-width:0}#result pre{background:var(--code-bg);max-height:390px;color:var(--code-fg);text-align:left;tab-size:2;border-radius:11px;margin:0 0 12px;padding:14px;font-size:.88rem;line-height:1.55;overflow:auto}#result details{border-left:2px solid var(--accent-edge);min-width:0;padding-left:10px}#result summary{overflow-wrap:anywhere;font-weight:630}.leaf{padding:4px;font-size:.84rem}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.actions>*{overflow-wrap:anywhere;max-width:100%}[data-tool=compress-image] .work-body,[data-tool=crop-resize-image] .work-body{grid-template-columns:minmax(0,.83fr) minmax(0,1.3fr)}@media (width>=651px){[data-tool=crop-resize-image] .work-body{background:var(--subtle)}[data-tool=crop-resize-image] .work-input{background:var(--surface)}#crop-output{align-self:start;position:sticky;top:72px}.crop-preview-jump{display:none}}.image-pair,.metrics,.timeline{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.image-pair figure,.timeline>div,.metric{background:var(--surface);min-width:0;box-shadow:0 0 0 1px var(--layer-inner-ring);border-radius:12px;padding:10px}.image-pair figcaption{margin-bottom:8px;font-size:.79rem;font-weight:650}.image-pair canvas,.art-preview{max-width:100%;height:auto;margin:auto;display:block}.art-preview{object-fit:contain;max-height:450px}#result table{background:var(--surface);border-radius:10px}.pass{color:var(--pass)}.fail{color:var(--fail)}.fileinfo{background:var(--subtle);box-shadow:0 0 0 1px var(--line);overflow-wrap:anywhere;border-radius:9px;padding:9px 12px;font-size:.88rem}.tray{gap:8px;min-width:0;display:grid}.doc-row{background:var(--surface);box-shadow:0 0 0 1px var(--line-strong);border-radius:11px;align-items:center;gap:13px;padding:9px;display:flex}.doc-row>div{min-width:0}.doc-row canvas{border:1px solid var(--line-strong);flex:none;width:65px;height:auto}.doc-row strong{overflow-wrap:anywhere}.doc-row small{color:var(--muted);margin:3px 0;display:block}.page-grid{grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:6px;display:grid}.page-tile{flex-direction:column;gap:4px;padding:6px;font-size:.78rem}.page-tile canvas{width:100%;height:auto}.page-tile[aria-pressed=true]{background:color-mix(in srgb, var(--accent) 22%, var(--surface));box-shadow:0 0 0 2px var(--accent-edge)}[data-tool=merge-pdf] .work-body,[data-tool=extract-pdf-pages] .work-body,[data-tool=images-to-pdf] .work-body{grid-template-columns:minmax(0,1.75fr) minmax(0,1fr)}.metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{flex-direction:column;gap:5px;display:flex}.metric small,.timeline small{color:var(--muted);font-weight:600}.metric strong{font-family:Desk,system-ui,sans-serif;font-size:clamp(1.65rem,4vw,2.9rem);font-weight:400;line-height:1.1}.timeline{margin-top:10px}.timeline>div{display:grid}.timeline strong{font-size:1.2rem}[data-tool=compare-text] .work-body,[data-tool=csv-to-json] .work-body{grid-template-columns:1fr}[data-tool=compare-text] .work-input,[data-tool=csv-to-json] .work-input{border:0;border-bottom:1px solid var(--line)}[data-tool=csv-to-json] #result:not(:empty){grid-template-columns:1fr 1fr;align-items:start;gap:12px;display:grid}.scrollbox{max-width:100%;overflow:auto}.diff{white-space:pre-wrap;background:var(--surface);border-radius:10px;padding:15px;line-height:1.9}.diff ins{background:var(--ins-bg);color:inherit}.diff del{background:var(--del-bg);color:inherit}.diff small{font-weight:650}@media (width<=650px){.workspace{border-radius:18px;margin-inline:-6px;padding:4px}.work-card{border-radius:14px}.workspace-head{padding:10px 12px}.workspace-head .quiet{white-space:nowrap;flex:none;min-width:84px;font-size:.83rem}.workspace .work-body{grid-template-columns:minmax(0,1fr)}.work-input,.work-output{gap:12px;padding:14px}.work-input{border-right:0;border-bottom:1px solid var(--line)}.filebox{min-height:140px}.output-hint{padding:14px}[data-tool=csv-to-json] #result:not(:empty),.editors{grid-template-columns:1fr}}@media (width<=400px){.fields,.image-pair{grid-template-columns:1fr}.work-output th,.work-output td{padding:6px 3px;font-size:.77rem}.doc-row .actions{gap:4px}.doc-row .actions button{padding:6px}.metrics{gap:4px}.metric{padding:7px}}.workspace-utilities{flex:none;align-items:center;gap:.35rem;display:flex}.workspace-utilities .quiet{min-width:0}.workspace .work-note{align-items:flex-start;line-height:1.45}.work-note svg{flex:none;margin-top:.18em}.filebox.tool-drop{text-align:start;flex-direction:row;justify-content:flex-start;gap:.75rem;min-height:4.8rem;padding:.7rem .9rem}.tool-drop .upload-symbol{flex:none;width:2.35rem;height:2.35rem}.tool-drop .drop-copy{overflow-wrap:anywhere;gap:.22rem;min-width:0;line-height:1.35;display:grid}.drop-copy strong{color:var(--fg)}.tool-drop:focus-within{outline:2px solid var(--accent-edge);outline-offset:2px}.workspace .color-row{grid-template-columns:3.3rem minmax(5rem,9rem);align-items:center;gap:.3rem .6rem;display:grid}.color-row label{grid-column:1/-1}.workspace .color-row input[type=color]{width:3.3rem;min-height:2.6rem;padding:.2rem}.workspace input[data-hex-for]{font-family:ui-monospace,monospace}.workspace label:has(input[type=range]){position:relative}.workspace label output{font-variant-numeric:tabular-nums;color:var(--muted);align-self:flex-end;font-size:.85rem}#result .result-line{border-inline-start:2px solid var(--line-strong);overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:0 0 .45rem;padding:.65rem .8rem}#result .result-line.metric{background:var(--well);border-inline-start-color:var(--accent-edge);font-size:1.06rem;display:block}.result-line .result-label{color:var(--muted);font-weight:550}#result .result-line strong{font-size:inherit;display:inline}@media (width<=650px){.workspace-head{flex-wrap:wrap}.workspace-head .workspace-utilities{margin-inline-start:auto}.workspace-head .workspace-utilities .quiet{min-width:0}}@media (width>=769px){.toolhead{padding:12px 0 18px}.toolhead h1{vertical-align:middle;font-size:clamp(2.1rem,3.7vw,3rem);display:inline}.toolhead .tool-glyph{vertical-align:middle;width:40px;height:40px;margin:0 .65rem 0 0;display:inline-flex}.toolhead .lead{margin-top:.5rem;line-height:1.4}.toolhead .tool-points{margin-top:.6rem}}@media (width>=900px){.work-input>button#run{justify-self:start;min-height:2.65rem}[data-tool=merge-pdf] .tray:not(:empty){scrollbar-gutter:stable;max-block-size:clamp(10rem,25vh,16rem);padding:3px;overflow-y:auto}[data-tool=mortgage-calculator] .work-input{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;display:grid}}.guide-links{border-bottom:1px solid var(--field-ring);flex-wrap:wrap;gap:0 1.4rem;margin:1rem 0 0;display:flex}.guide-links a{align-items:center;min-height:44px;font-size:.9rem;display:inline-flex}.guide-block,.guide-story{margin-block:clamp(2.5rem,6vw,5rem);scroll-margin-top:6rem}.guide-block>h2,.guide-story h2,.processing-band h2{text-wrap:balance;margin:0 0 1.1rem;font-size:clamp(1.5rem,2.5vw,2.05rem);line-height:1.14}.guide-steps,.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(.8rem,2vw,1.55rem);display:grid}.guide-steps{margin:0;padding:0;list-style:none}.guide-steps>li{background:var(--surface);border:1px solid var(--field-ring);border-radius:16px;overflow:hidden}.step-copy{padding:1.15rem 1.2rem 1.35rem}.step-copy h3,.subject-grid h3,.story-reference h3{margin:0;font-size:1.09rem;line-height:1.3}.step-copy h3{align-items:baseline;gap:.55rem;display:flex}.step-copy h3 span{background:var(--tile-bg);color:var(--tile-fg);text-align:center;border-radius:6px;min-width:1.55rem;font-size:.77rem;line-height:1.55rem}.step-copy p,.subject-grid p,.processing-band p,.guide-questions p{color:var(--muted);margin:.7rem 0 0;line-height:1.65}.tool-article.illustrated-article{max-width:none;margin:0;scroll-margin-top:6rem}.guide-story{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;gap:clamp(2rem,5vw,5rem);display:grid}.guide-story.reverse{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)}.guide-story.reverse>:last-child{grid-area:1/1}.guide-story.reverse>:first-child{grid-area:1/2}.guide-story.story-prose{max-width:70ch;display:block}.processing-band>div:only-child{grid-column:1/-1;max-width:70ch}.guide-story .story-text{min-width:0}.guide-story .story-text>:first-child{margin-top:0}.guide-story .story-text>:last-child{margin-bottom:0}.guide-story .story-text td:first-child,.guide-story .story-text td code{overflow-wrap:normal}.guide-story .tool-diagram,.story-reference{border:1px solid var(--field-ring);background:var(--surface);border-radius:16px;overflow:hidden}.story-reference{padding:1.4rem}.subject-grid{border-block:1px solid var(--field-ring);padding:1.3rem 0}.subject-grid section{min-width:0;padding-inline:1.2rem}.subject-grid section+section{border-inline-start:1px solid var(--field-ring)}.subject-rule{background:var(--icon-ink);width:1.75rem;height:3px;margin-bottom:.8rem;display:block}.guide-reference{max-width:50rem;margin:1.4rem 0 0}.guide-reference caption{color:var(--fg);font-size:1.03rem;font-weight:600}.processing-band{background:var(--target-wash);border:1px solid var(--target-border);border-radius:16px;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:center;gap:2rem;padding:clamp(1.2rem,3vw,2.5rem);display:grid}.processing-band h2{margin:.55rem 0}.processing-band ol{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:0;padding:0;list-style:none;display:grid}.processing-band li{align-content:start;gap:.65rem;font-size:.9rem;display:grid}.processing-band li svg{box-sizing:content-box;border:1px solid var(--target-border);background:var(--surface);border-radius:8px;padding:8px}.guide-questions>div{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;column-gap:2rem;display:grid}.guide-questions details{border-top:1px solid var(--field-ring)}.guide-questions summary{cursor:pointer;justify-content:space-between;align-items:center;gap:1rem;min-height:48px;padding:.8rem 0;font-weight:600;display:flex}.guide-questions summary::-webkit-details-marker{display:none}.guide-questions summary svg{flex:none}.guide-questions details[open] summary svg{transform:rotate(180deg)}.guide-questions p{margin:0 0 1rem}.tool-diagram{min-width:0;margin:0}.example-panels{gap:.85rem;width:100%;display:grid}.example-panels>div{min-width:0}.example-panels strong{color:#173647;margin-bottom:.3rem;font-size:.9rem;display:block}.example-panels img{border-radius:.25rem;max-width:100%;height:auto;margin-inline:auto;display:block}[data-theme=dark] .example-panels strong{color:#d5eeff}.example-panels pre{color:#142c41;white-space:pre;background:#f4f9fd;margin:0;padding:.55rem;font:clamp(9px,1.4vw,13px)/1.15 monospace;overflow-x:auto}.diagram-stage{--diagram-paper:#fff;--diagram-ink:#173647;--diagram-quiet:#3f6071;--diagram-line:#adc5d1;--diagram-tint:#d5eeff;--diagram-accent:#12648f;min-width:0;min-height:10.5rem;color:var(--diagram-ink);color-scheme:light;background-color:#eaf3f7;background-image:radial-gradient(#b9cdd7 .7px,#0000 .9px);background-size:10px 10px;place-items:center;padding:clamp(1rem,2.4vw,2rem);display:grid}[data-theme=dark] .diagram-stage{background-color:#182a36;background-image:radial-gradient(#375162 .8px,#0000 .9px)}.guide-story .diagram-stage{min-height:clamp(13rem,23vw,19rem)}@media (width>=681px){.guide-steps>li{grid-template-rows:12.75rem 1fr;display:grid}.guide-steps .diagram-stage{height:100%}}.tool-diagram figcaption{color:var(--muted);border-top:1px solid var(--field-ring);padding:.9rem 1.15rem;font-size:.9rem;line-height:1.5}.photo-set{justify-content:center;align-items:center;gap:7%;width:100%;display:flex}.print-example{flex:1;place-items:center;gap:.55rem;min-width:0;display:grid}.print-holder{aspect-ratio:3/2;background:#fff;border-radius:3px;width:100%;max-width:155px;padding:0;position:relative;box-shadow:0 2px 4px #10283822,0 6px 16px #16324623}.guide-story .print-holder{max-width:240px}.print-window{border-radius:inherit;position:absolute;inset:0;overflow:hidden}.print-window img{object-fit:cover;width:100%;height:100%;display:block}.print-crop,.print-circle,.print-left,.print-fit,.print-stretch{aspect-ratio:1;max-width:113px}.print-left img{object-position:left center}.print-circle{background-color:#f7fafc;background-image:conic-gradient(#d0e2ec 25%, transparent 0 50%, #d0e2ec 0 75%, transparent 0);background-size:12px 12px}.print-circle .print-window{border-radius:50%}.print-fit img{object-fit:contain}.print-stretch img{object-fit:fill}.print-paper,.print-fill{aspect-ratio:210/297;max-width:84px}.guide-story .print-paper,.guide-story .print-fill{max-width:120px}.print-paper .print-window,.print-fill .print-window{border-radius:0;inset:4.04% 5.71%}.print-paper img{object-fit:contain}.print-detail{aspect-ratio:180/140}.print-detail img{width:533.333%;max-width:none;height:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.crop-boundary{border:2px solid #fff;position:absolute;inset:0 16.667%;box-shadow:0 0 0 1px #164b68,-32px 0 #11293655,32px 0 #11293655}.crop-boundary:before,.crop-boundary:after{content:"";border-block:1px solid #ffffff98;position:absolute;inset:33% 0}.crop-boundary:after{border:0;border-inline:1px solid #ffffff98;inset:0 33%}.crop-boundary i{background:#fff;border:1px solid #10405c;width:7px;height:7px;position:absolute}.crop-boundary i:first-child{top:-4px;left:-4px}.crop-boundary i:nth-child(2){top:-4px;right:-4px}.crop-boundary i:nth-child(3){bottom:-4px;right:-4px}.crop-boundary i:nth-child(4){bottom:-4px;left:-4px}.diagram-label,.calendar-figure>strong{text-align:center;color:#23485e;background:#f8fcff;border-radius:3px;padding:.12rem .4rem;font-size:.8rem;line-height:1.4}.mode-demo{border:0;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;min-width:0;max-width:275px;margin:0;padding:0;display:grid}.mode-demo legend{text-align:center;color:#244658;background:#f8fcff;border-radius:4px;margin:0 auto .55rem;padding:.1rem .4rem;font-size:.88rem;font-weight:600}.mode-option{display:contents}.mode-option input{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.mode-option label{cursor:pointer;border:1px solid var(--diagram-line);background:#fff;grid-row:1;place-items:center;min-height:44px;font-size:.85rem;display:grid}.mode-option:first-of-type label{border-radius:8px 0 0 8px}.mode-option:nth-of-type(3) label{border-radius:0 8px 8px 0}.mode-option input:checked+label{color:#fff;background:#165778}.mode-option input:focus-visible+label{outline-offset:2px;z-index:1;outline:3px solid #1678b1}.mode-result{grid-area:2/1/auto/-1;justify-items:center;gap:.5rem;padding-top:1rem;display:none}.mode-option input:checked~.mode-result{display:grid}.mode-result .print-example{width:min(100%,142px)}.mode-result p{color:#23485e;text-align:center;background:#f8fcff;border-radius:4px;margin:0;padding:.25rem .45rem;font-size:.85rem;line-height:1.45}.paper-sequence,.date-leaves{justify-content:center;align-items:center;gap:clamp(.35rem,1vw,.8rem);max-width:100%;display:flex}.paper-sheet{aspect-ratio:.74;border:1px solid var(--diagram-line);background:#fff;border-radius:2px 9px 2px 2px;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;width:clamp(36px,5vw,58px);min-width:0;padding:5px;display:flex;position:relative;box-shadow:2px 4px #19527217}.paper-sheet.landscape{aspect-ratio:1.3;width:clamp(51px,7vw,76px)}.paper-sheet.selected{border-color:var(--diagram-accent);background:#f1faff}.paper-tab{background:#1677a4;width:10px;height:4px;position:absolute;top:0;left:5px}.paper-sheet b{font-size:clamp(.67rem,1vw,.83rem);line-height:1.1}.paper-sheet i{background:var(--diagram-line);width:70%;height:2px;display:block}.paper-sheet i:last-child{width:43%}.guide-story .paper-sheet{width:clamp(42px,6.6vw,78px)}.guide-story .paper-sheet.landscape{width:clamp(60px,9vw,106px)}.specimen,.bar-chart{background:var(--diagram-paper);border:1px solid var(--diagram-line);border-radius:8px;width:min(100%,19rem);box-shadow:0 4px #23455612,0 8px 20px #1234480e}.specimen-title{border-bottom:1px solid var(--diagram-line);background:#edf6fb;border-radius:7px 7px 0 0;padding:.55rem .8rem;font-size:.8rem;font-weight:600}.record-specimen dl{margin:0;padding:.15rem .8rem}.record-specimen dl>div,.bar-row>div{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.record-specimen dl>div{padding:.43rem 0;font-size:.84rem}.record-specimen dl>div+div{border-top:1px solid #d9e5eb}.record-specimen dt{color:var(--diagram-quiet)}.record-specimen dd{text-align:right;overflow-wrap:anywhere;margin:0;font-weight:600}.specimen-lines{padding:.65rem .65rem .65rem .4rem}.specimen-lines div{grid-template-columns:1.4em 1fr;gap:.35rem;line-height:1.5;display:grid}.specimen-lines span{color:var(--diagram-quiet);text-align:center;font:.75rem/1.75 monospace}.specimen-lines code{white-space:pre-wrap;overflow-wrap:anywhere;font:.8rem/1.65 monospace}.specimen-lines mark{background:var(--diagram-tint);color:#124a67}.bar-chart{gap:.8rem;padding:.9rem;display:grid}.bar-row>div{font-size:.8rem}.bar-row i{background:#e1ebf0;border-radius:4px;height:7px;margin-top:.3rem;display:block}.bar-row b{border-radius:inherit;background:var(--diagram-accent);height:100%;display:block}.calendar-figure{justify-items:center;gap:.8rem;display:grid}.date-leaves>div{border:1px solid var(--diagram-line);text-align:center;background:#fff;border-radius:5px;min-width:2.4rem;overflow:hidden}.date-leaves small{color:#fff;background:#245e7c;padding:.1rem .3rem;font-size:.68rem;display:block}.date-leaves b{padding:.15rem;font-size:1.35rem;display:block}@media (width<=820px){.guide-story,.guide-story.reverse{grid-template-columns:minmax(0,1fr) minmax(0,.84fr);gap:1.4rem}.guide-steps{gap:.65rem}.step-copy{padding:.85rem}.guide-steps .diagram-stage{padding:.8rem}}@media (width<=680px){.guide-story,.guide-story.reverse,.processing-band,.guide-questions>div,.subject-grid,.guide-steps{grid-template-columns:minmax(0,1fr)}.guide-story.reverse>:first-child,.guide-story.reverse>:last-child{grid-area:auto}.guide-story{gap:1.05rem}.guide-steps{gap:.85rem}.guide-steps>li{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);display:grid}.guide-steps .diagram-stage{height:100%;min-height:8rem;padding:.55rem}.step-copy h3{flex-wrap:wrap;gap:.4rem}.step-copy p{font-size:.9rem}.subject-grid{gap:1rem}.subject-grid section,.subject-grid section+section{border:0;padding:0}.processing-band{gap:1.2rem}.guide-links{gap:0 1rem}.guide-story .diagram-stage{min-height:13rem}.guide-steps .bar-chart{padding:.5rem}.guide-steps .record-specimen dl>div{flex-wrap:wrap}.guide-steps .record-specimen dl,.guide-steps .specimen-title{padding:.35rem}.guide-steps .date-leaves{flex-wrap:wrap}}@media (width<=405px){.guide-steps>li{display:block}.guide-steps .diagram-stage{min-height:8.5rem}.guide-steps .record-specimen,.guide-steps .bar-chart,.guide-steps .text-specimen{max-width:14rem}.processing-band ol{gap:.55rem}.processing-band li{font-size:.82rem}}
