/* Extensions of the existing Toolschi workbench, not a separate design system. */
/* Phase 11: the same shared surfaces, typography and controls. */
.studio-workbench .utility-side{position:static}.studio-workbench .utility-side .utility-output{max-height:none;overflow:visible}
.studio-workbench .utility-notice,.invoice-workbench>.utility-notice,.party-workbench>.utility-notice{margin-block:24px}.studio-workbench .result-surface{margin-top:0}.studio-workbench [data-studio-output]>p{margin-block:18px;overflow-wrap:anywhere;line-height:2.1}.studio-workbench [data-studio-output] bdi{font-variant-numeric:tabular-nums}.studio-code{max-width:100%;overflow-x:auto;padding:12px;background:#fff;border:1px solid var(--line);border-radius:10px}.studio-code img{display:block;max-width:none}.studio-qr{display:block;width:min(100%,320px);height:auto;margin:18px auto;background:#fff;image-rendering:pixelated}.hafez-verses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;text-align:center;margin-block:24px;font-size:17px;line-height:2.3}.hafez-verses p{overflow-wrap:anywhere}.studio-workbench [data-studio="hafez"] .utility-side{position:static}.hafez-sample{margin-top:30px;border-top:1px solid var(--line);padding-top:24px}.hafez-sample summary{cursor:pointer;font-weight:600}.hafez-sample a,[data-studio-output]>a{color:var(--brand-dark);text-decoration:underline}.studio-code:focus-visible,.finance-table-region:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.invoice-edit-row{display:grid;grid-template-columns:minmax(160px,2fr) repeat(3,minmax(100px,1fr)) auto;gap:16px;align-items:end;padding-block:20px;border-bottom:1px solid var(--line);margin-bottom:18px}.invoice-edit-row input{width:100%;min-width:0}.invoice-edit-row>.button{margin-bottom:3px}.invoice-form .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-form fieldset{min-width:0}.invoice-form fieldset>label+label{margin-top:18px}.invoice-toolbar{margin-block:28px}.invoice-import{display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--line);padding-top:24px;font-size:14px}.invoice-sheet{padding:32px;margin-top:32px;border:1px solid var(--line);border-radius:16px;background:#fff;overflow-wrap:anywhere}.invoice-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:24px;border-bottom:2px solid var(--brand);padding-bottom:24px;margin-bottom:20px}.invoice-sheet-head h3{font-size:26px;color:var(--brand-dark)}.invoice-sheet-head img{max-width:100px;max-height:80px;object-fit:contain}.invoice-parties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-block:24px}.invoice-parties>section{padding:20px;background:var(--bg);border:1px solid var(--line);border-radius:12px}.invoice-parties h4{font-size:17px;margin-bottom:10px}.invoice-parties p,.invoice-sheet>p{white-space:pre-wrap;font-size:14px}.finance-table-region{max-width:100%;overflow-x:auto}.invoice-table{border-collapse:collapse;width:100%;min-width:580px;font-size:14px;text-align:start}.invoice-table caption{text-align:start;font-weight:600;padding-bottom:16px}.invoice-table th,.invoice-table td{padding:14px 10px;border-bottom:1px solid var(--line);vertical-align:top}.invoice-table thead{background:var(--brand-soft)}.invoice-table td:not(:nth-child(2)){font-variant-numeric:tabular-nums;white-space:nowrap}.finance-values{display:grid;gap:12px;margin-block:28px;margin-inline-start:auto;max-width:460px}.finance-values>div{display:flex;justify-content:space-between;gap:20px;padding-bottom:12px;border-bottom:1px solid var(--line)}.finance-values dt{font-size:14px;color:var(--muted)}.finance-values dd{margin:0;overflow-wrap:anywhere;font-weight:600;font-variant-numeric:tabular-nums}.finance-values>div:last-child{color:var(--brand-dark);font-size:22px;border-bottom:2px solid var(--brand)}
.party-workbench form.editor-form{margin-block:26px}.party-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.party-scoreboard{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-block:24px}.party-scoreboard p{padding:20px;background:var(--bg);border:1px solid var(--line);border-radius:14px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;overflow-wrap:anywhere}.party-scoreboard .is-current{border:2px solid var(--brand);background:var(--brand-soft)}.party-scoreboard bdi{font-variant-numeric:tabular-nums;color:var(--brand-dark)}.party-stage{text-align:center;padding:28px;border:1px solid var(--line);border-radius:16px;background:var(--bg);margin-block:24px}.party-timer{font-size:64px;line-height:1.6;font-weight:700;color:var(--brand-dark);font-variant-numeric:tabular-nums}.party-cover,.party-card{min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;border:1px solid #b9d8d7;border-radius:12px;padding:24px;background:var(--brand-soft);margin-block:20px}.party-card strong{font-size:32px;overflow-wrap:anywhere}.party-card small{font-size:14px;color:var(--brand-dark)}.party-workbench [data-party-history]{border-top:1px solid var(--line);padding-top:24px;margin-block:24px}.party-workbench [data-party-history-list]{padding-inline-start:24px;max-height:280px;overflow:auto;line-height:2.2;font-size:14px}.pantomino-promotion{padding:32px;margin-block:32px;background:#f8e6a0;border:1px solid #d3b74e;border-radius:20px;color:#302b16}.pantomino-promotion h2{font-size:25px;margin-block:14px}.pantomino-promotion p{margin-bottom:24px}.pantomino-promotion .eyebrow{color:#645011}.pantomino-promotion .button{background:#302b16;border-color:#302b16;color:#fff}
[data-compress-preview]{display:block;max-width:100%;height:auto;max-height:400px;object-fit:contain;background:white;margin-block:24px}[data-compress-progress]{width:100%;accent-color:var(--brand)}[data-compress-result]>p{margin-block:20px;line-height:2.1}[data-media] video{display:block;width:100%;aspect-ratio:16/9;max-height:70vh;background:#102126;border-radius:14px;margin-block:24px}[data-media-playlist]{display:grid;gap:12px;list-style:none;padding:0;margin-block:24px}[data-media-playlist] button{max-width:100%;overflow-wrap:anywhere;text-align:start;justify-content:start}[data-media] .workbench-actions{margin-block:20px}
@media(max-width:900px){.invoice-edit-row{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-edit-row>label:first-child{grid-column:1/-1}.party-scoreboard{grid-template-columns:repeat(2,minmax(0,1fr))}.party-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:639px){.invoice-form .form-grid,.invoice-parties{grid-template-columns:1fr}.invoice-sheet{padding:18px}.invoice-sheet-head{gap:16px}.invoice-sheet-head h3{font-size:22px}.invoice-edit-row{gap:14px}.invoice-edit-row>button{grid-column:1/-1}.invoice-edit-row label{font-size:13px}.invoice-edit-row input{padding:10px;font-size:16px}.invoice-parties>section{padding:16px}.hafez-verses{grid-template-columns:1fr;gap:6px;font-size:16px}.hafez-verses p:nth-child(2n){margin-bottom:18px}.party-scoreboard{gap:12px}.party-scoreboard p{padding:14px;font-size:14px}.party-stage{padding:18px}.party-timer{font-size:54px}.party-card strong{font-size:25px}.party-card,.party-cover{padding:18px;min-height:140px}.party-categories{grid-template-columns:1fr}.pantomino-promotion{padding:24px}.pantomino-promotion h2{font-size:22px}.studio-workbench .result-surface{padding:20px}.studio-code{padding:8px}}
@media print{@page{size:A4;margin:12mm}body:has([data-invoice-sheet]:not([hidden])){background:#fff;color:#000}body:has([data-invoice-sheet]:not([hidden]))>*:not(main){display:none!important}body:has([data-invoice-sheet]:not([hidden])) main>*:not([data-invoice]){display:none!important}body:has([data-invoice-sheet]:not([hidden])) [data-invoice]>*:not([data-invoice-sheet]){display:none!important}body:has([data-invoice-sheet]:not([hidden])) main,body:has([data-invoice-sheet]:not([hidden])) [data-invoice]{padding:0;margin:0;max-width:none;width:auto;border:0;box-shadow:none}.invoice-sheet{border:0;margin:0;padding:0;border-radius:0;font-size:10pt}.invoice-parties>section{background:white}.invoice-sheet-head h3{font-size:18pt}.invoice-table{min-width:0;font-size:9pt;table-layout:fixed}.invoice-table th,.invoice-table td{padding:6px;overflow-wrap:anywhere;white-space:normal!important}.invoice-table thead{display:table-header-group}.invoice-table tr,.invoice-parties,.finance-values{break-inside:avoid}.finance-table-region{overflow:visible}.invoice-sheet a{color:#000;text-decoration:none}.finance-values>div:last-child{font-size:14pt}}
.draw-workbench .utility-layout{grid-template-columns:minmax(0,1.15fr) minmax(280px,.95fr)}.draw-result>p{line-height:2.1;font-size:14px;margin-block:18px}.draw-values{padding-inline-start:24px;display:grid;gap:12px;margin-block:24px}.draw-values li{padding:12px;border-bottom:1px solid var(--line);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.draw-values small{display:block;font-size:12px;color:var(--muted)}.draw-values bdi{font-size:19px;font-weight:600}.draw-dice{display:flex;flex-wrap:wrap;gap:18px;margin-block:24px}.draw-die{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:5px;width:76px;height:76px;padding:13px;background:var(--surface);border:2px solid var(--brand);border-bottom-width:6px;border-radius:14px;color:var(--brand-dark)}.draw-die .is-pip{background:currentColor;border-radius:50%}.draw-die bdi{grid-area:1/1/4/4;align-self:center;justify-self:center;font-size:28px;font-weight:700;font-variant-numeric:tabular-nums}.draw-dice[data-tone=plain] .draw-die{color:var(--ink);border-color:var(--muted)}.draw-history{margin-top:28px;border-top:1px solid var(--line);padding-top:24px}.draw-history h3{font-size:21px}.draw-history ol{padding-inline-start:24px;margin-top:18px;max-height:280px;overflow:auto;font-size:14px;line-height:2.2;overflow-wrap:anywhere}.draw-workbench h2,.draw-workbench h3{text-wrap:balance}.draw-workbench p{text-wrap:pretty}.draw-workbench [role=region]:focus-visible{outline:3px solid var(--brand);outline-offset:3px}@media(max-width:639px){.draw-workbench .utility-layout{grid-template-columns:1fr}.draw-die{width:68px;height:68px;padding:10px}.draw-dice{gap:14px}}
.finance-workbench .utility-layout{grid-template-columns:minmax(0,1.25fr) minmax(280px,.9fr)}@media(max-width:639px){.finance-workbench .utility-layout{grid-template-columns:1fr}}
.finance-result .result-number{font-size:clamp(25px,3vw,36px);line-height:1.7;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.finance-result>p{font-size:14px;line-height:2.1}.finance-workbench [data-finance-group]:not([hidden]){display:grid;gap:20px}.finance-details{border-top:1px solid var(--line);margin-top:28px;padding-top:28px}.finance-details h3{font-size:23px}.finance-details>p{font-size:13px;line-height:2.1;margin-block:18px}.finance-table-wrap{max-height:520px;overflow:auto}.finance-table-wrap:focus-visible{outline:3px solid var(--brand);outline-offset:3px}.finance-details>.workbench-actions{margin-top:20px;align-items:center}.finance-details [data-finance-page]{font-size:13px}.finance-workbench h2,.finance-workbench h3{text-wrap:balance}.finance-workbench p{text-wrap:pretty}.finance-workbench .health-values dd{font-variant-numeric:tabular-nums}.finance-result .workbench-actions{margin-top:20px}@media(max-width:639px){.finance-result .result-number{font-size:28px}.finance-details>.panel-heading{flex-direction:column;align-items:start;gap:14px}.finance-details h3{font-size:21px}}
.health-workbench h2,.health-workbench h3,.tool-sources h2{text-wrap:balance}.health-workbench p,.tool-sources p{text-wrap:pretty}.health-calendar-day small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.health-values dd{font-variant-numeric:tabular-nums}
.result-surface{padding:24px;border:1px solid #b9d8d7;border-radius:16px;background:var(--brand-soft);margin-block:24px}.result-surface h3{font-size:22px;margin-bottom:12px}.result-surface p{margin-block:10px}.result-number{display:block;font-size:42px;font-weight:700;color:var(--brand-dark);font-variant-numeric:tabular-nums;margin-block:12px}.tool-panel .check-field{flex-direction:row;align-items:center;font-size:14px;font-weight:400}.tool-panel .check-field input{width:20px;height:20px;min-height:20px;accent-color:var(--brand);flex:none}.tool-panel hr{border:0;border-top:1px solid var(--line);margin-block:28px}.tool-panel dialog{width:min(480px,calc(100% - 32px));border:1px solid var(--line);border-radius:20px;padding:28px;color:var(--ink);background:var(--surface);margin:auto}.tool-panel dialog::backdrop{background:#10212680}.tool-panel dialog h2{overflow-wrap:anywhere}.tool-panel dialog p{margin-block:16px}.tool-panel .icon-button{min-width:44px;min-height:44px}.tool-panel [hidden]{display:none!important}.table-scroll{overflow-x:auto}.national-table{width:100%;border-collapse:collapse;margin-top:20px;font-size:14px;text-align:right}.national-table th{background:var(--bg);color:var(--muted);font-size:13px}.national-table th,.national-table td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top}.national-table td:last-child{font-variant-numeric:tabular-nums;min-width:180px}.national-result p{color:var(--ink)}
.gpa-head,.gpa-row{display:grid;grid-template-columns:72px minmax(100px,1fr) minmax(90px,.6fr) minmax(90px,.6fr) 44px;gap:12px;align-items:center}.gpa-head{font-size:12px;color:var(--muted);padding-block:10px;border-bottom:1px solid var(--line)}.gpa-row{padding-block:12px;border-bottom:1px solid var(--line)}.gpa-row input{width:100%;min-width:0}.gpa-row input[type=checkbox]{width:20px;height:20px;accent-color:var(--brand)}.gpa-rows{margin-bottom:18px}.gpa-row>label:first-child{align-items:center}.gpa-head>span:first-child{text-align:center}
.wheel-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.8fr);gap:38px;align-items:start}.wheel-workspace{text-align:center;min-width:0}.wheel-workspace .panel-heading{text-align:right}.wheel-controls{padding:22px;background:var(--bg);border:1px solid var(--line);border-radius:16px;min-width:0}.wheel-controls textarea{line-height:1.9;min-height:220px}.wheel-stage{position:relative;perspective:1100px;margin:20px auto 30px;width:min(100%,480px);padding-block:18px 45px}.wheel-tilt{position:relative;width:100%;aspect-ratio:1;transform-style:preserve-3d;transform:rotateX(24deg)}.wheel-depth{position:absolute;inset:0;border-radius:50%;background:#214e52;transform:translateZ(-18px);box-shadow:0 22px 0 #173e42,0 32px 0 #d7e4e4,0 42px 35px #10212625}.wheel-rotor{position:relative;border:12px solid #e7efef;border-radius:50%;width:100%;height:100%;background:#fff;transform:rotate(0deg);box-shadow:0 3px 0 #658b8c;overflow:hidden;backface-visibility:hidden}.wheel-rotor canvas{display:block;width:100%;height:100%;border-radius:50%}.wheel-hub{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:76px;height:76px;border:8px solid #d5e6e5;border-radius:50%;background:#fff;display:grid;place-items:center;box-shadow:0 4px 6px #10212625;color:var(--brand)}.wheel-hub .icon{width:30px;height:30px}.wheel-pointer{position:absolute;z-index:2;top:12px;left:calc(50% - 15px);width:30px;height:44px;background:#102f34;clip-path:polygon(0 0,100% 0,100% 45%,50% 100%,0 45%)}.wheel-spin{min-width:220px;justify-content:center;font-size:17px}.wheel-workspace>[role=status]{margin-top:14px;min-height:28px;font-size:14px}.wheel-history{border-top:1px solid var(--line);padding-top:18px;margin-top:20px;text-align:right}.wheel-history h3{font-size:15px}.wheel-history ol{display:flex;flex-wrap:wrap;gap:10px 24px;padding-inline-start:24px;margin-top:12px;font-size:13px;overflow-wrap:anywhere}.wheel-legend{margin-block:22px;max-height:280px;overflow:auto}.wheel-legend p{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding-block:9px;font-size:13px}.wheel-legend strong{font-weight:500;overflow-wrap:anywhere}.wheel-legend span{color:var(--brand-dark);font-variant-numeric:tabular-nums;white-space:nowrap}.wheel-controls>p{font-size:13px;margin-bottom:16px}.wheel-layout:fullscreen{background:var(--bg);padding:32px;overflow:auto;align-content:center}.wheel-layout:fullscreen .wheel-stage{width:min(65vh,600px)}
.pdf-drop{border:1px dashed #86b8b6;background:var(--brand-soft);border-radius:16px;padding:30px;text-align:center;align-items:center;cursor:pointer;margin-block:24px}.pdf-drop>.icon{width:36px;height:36px;color:var(--brand)}.pdf-drop span{font-weight:400;font-size:13px;color:var(--muted)}.pdf-drop input{max-width:100%;margin-top:12px}.pdf-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:28px;align-items:start}.pdf-options{background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:20px}.pdf-options h3{font-size:18px}.pdf-options .button{justify-content:center}.pdf-options progress{width:100%;accent-color:var(--brand)}.pdf-pages{list-style:none;padding:0;margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pdf-pages li{min-width:0;border:1px solid var(--line);padding:12px;border-radius:14px}.pdf-preview{height:170px;background:var(--bg);border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}.pdf-preview img{max-height:70%;max-width:70%;object-fit:contain}.pdf-pages strong{display:block;margin-top:12px;font-size:13px;overflow-wrap:anywhere}.pdf-pages small{color:var(--muted);font-size:12px}.pdf-pages .workbench-actions{gap:4px;justify-content:space-between;margin-top:10px}.pdf-pages .icon-button{width:44px}
.clock-bar{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px;border:1px solid #c3dedb;background:var(--brand-soft);border-radius:16px}.clock-digits{display:block;color:var(--brand-dark);font-size:58px;line-height:1.5;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:2px}.clock-bar small{display:block;color:var(--muted);font-size:12px;max-width:470px}.clock-bar label{min-width:160px}.calendar-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(240px,.7fr);gap:28px;margin-block:28px}.calendar-toolbar{display:grid;grid-template-columns:110px minmax(100px,1fr) auto;gap:12px;align-items:end;margin-bottom:24px}.calendar-toolbar input{width:100%}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.calendar-weekdays{text-align:center;font-size:13px;color:var(--muted);margin-block:16px}.calendar-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:65px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);cursor:pointer;font-family:inherit}.calendar-day strong{font-size:19px}.calendar-day small{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.calendar-day.is-holiday strong{color:var(--danger)}.calendar-day.is-today{border:2px solid var(--brand)}.calendar-day[aria-pressed=true]{background:var(--brand-soft);border-color:var(--brand)}.calendar-day i{height:4px;width:4px;border-radius:50%;background:var(--brand);position:absolute;bottom:5px}.calendar-key{display:flex;flex-wrap:wrap;gap:14px;margin-top:14px;font-size:12px;color:var(--muted)}.calendar-selection{background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:24px}.calendar-selection h3{font-size:23px;margin-block:10px 22px}.calendar-selection dl{display:grid;grid-template-columns:auto 1fr;gap:10px;font-size:14px}.calendar-selection dt{color:var(--muted)}.calendar-selection dd{margin:0;text-align:end}.calendar-selection>p{font-size:12px;margin-block:18px}.calendar-events{margin:0;padding-inline-start:20px;font-size:14px;line-height:2}.calendar-events li{margin-bottom:9px}.calendar-month-events{max-height:420px;overflow:auto;border:1px solid var(--line);border-radius:14px;padding:8px 18px}.calendar-month-events p{display:flex;align-items:start;gap:18px;padding-block:12px;border-bottom:1px solid var(--line);font-size:14px}.calendar-month-events p:last-child{border:0}.calendar-month-events strong{flex:none;min-width:24px;color:var(--brand-dark);font-variant-numeric:tabular-nums}.calendar-month-events span{overflow-wrap:anywhere}[data-time]>.muted{font-size:13px;margin-top:15px}[data-time] .details-panel p{margin-top:16px;font-size:13px;line-height:2.1}[data-time] .details-panel a{color:var(--brand-dark);text-decoration:underline}
@media(max-width:900px){.wheel-layout{gap:24px;grid-template-columns:minmax(0,1fr) 260px}.wheel-stage{padding-bottom:30px}.pdf-layout{grid-template-columns:minmax(0,1fr) 240px}.pdf-pages{grid-template-columns:1fr}.calendar-layout{grid-template-columns:1fr}.calendar-selection{padding:20px}.calendar-selection dl{max-width:400px}}
@media(max-width:639px){.wheel-layout,.pdf-layout{grid-template-columns:1fr}.wheel-stage{max-width:350px}.wheel-controls{padding:18px}.wheel-hub{width:60px;height:60px;border-width:6px}.wheel-pointer{top:10px}.wheel-rotor{border-width:9px}.gpa-head{display:none}.gpa-row{grid-template-columns:26px minmax(0,1fr) minmax(0,1fr) 44px;gap:10px}.gpa-row>label:nth-child(2){grid-column:2/4}.gpa-row>label:nth-child(3){grid-column:2;grid-row:2}.gpa-row>label:nth-child(4){grid-column:3;grid-row:2}.gpa-row>button{grid-column:4;grid-row:1/3}.gpa-row>label:not(:first-child)>.sr-only{position:static;width:auto;height:auto;clip:auto;overflow:visible;white-space:normal;font-size:12px}.gpa-row>label:first-child{grid-row:1/3}.gpa-row input{font-size:16px;padding:10px}.clock-bar{padding:18px;flex-direction:column;align-items:stretch;gap:18px}.clock-digits{font-size:43px}.clock-bar small{font-size:12px}.calendar-layout{gap:18px}.calendar-grid{gap:4px}.calendar-day{min-height:58px;border-radius:8px}.calendar-day strong{font-size:17px}.calendar-toolbar{grid-template-columns:90px 1fr auto;gap:8px}.calendar-toolbar .button{padding-inline:12px}.calendar-layout .panel-heading{gap:6px;flex-wrap:wrap}.calendar-layout .panel-heading h2{font-size:19px}.calendar-selection h3{font-size:21px}.pdf-drop{padding:24px 14px}.pdf-pages{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pdf-pages li{padding:9px}.pdf-pages .workbench-actions{display:grid;grid-template-columns:1fr 1fr}.pdf-preview{height:125px}.pdf-options{padding:18px}.national-table td,.national-table th{padding:12px 8px}.result-number{font-size:34px}.result-surface{padding:20px}}
@media(prefers-reduced-motion:reduce){.wheel-rotor{will-change:auto!important}}
@media(max-width:639px){.national-table td:last-child{min-width:80px}.national-table th{font-size:12px}.national-table td{font-size:13px;overflow-wrap:anywhere}}
.date-layout,.timer-layout,.text-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.8fr);gap:32px;margin-block:26px;align-items:start}.date-layout .editor-form{max-width:620px}.date-entry{display:flex;align-items:end;gap:10px}.date-entry>label{flex:1}.date-entry>.icon-button{flex:none;margin-bottom:4px}.date-summary,.counter-options,.timer-records{padding:24px;background:var(--bg);border:1px solid var(--line);border-radius:16px;min-width:0}.date-summary h3,.counter-options h3{font-size:21px;margin-block:14px}.date-summary p{font-size:14px;line-height:2.1;margin-top:16px}.date-layout .muted{font-size:13px}.date-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.date-results>div{background:var(--surface);padding:18px;border:1px solid var(--line);border-radius:12px;min-width:0}.date-results dt{font-size:13px;color:var(--muted)}.date-results dd{font-weight:600;font-size:23px;margin:8px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.timer-stage{min-width:0;text-align:center}.timer-modes{display:flex;gap:24px;justify-content:center;border:0;padding:16px;background:var(--brand-soft);border-radius:14px}.timer-modes legend{font-size:13px;font-weight:600;padding-inline:8px}.timer-display{font-size:clamp(30px,4.6vw,62px);font-weight:700;color:var(--brand-dark);font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.7;margin-top:30px}.timer-stage>[role=status]{font-size:14px;min-height:30px}.timer-actions{justify-content:center;margin-block:24px}.timer-stage .muted{font-size:13px;margin-top:22px;text-align:start}.timer-settings{text-align:start;border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.timer-settings fieldset{border:0;padding:0}.timer-settings legend{font-size:14px;margin-bottom:14px}.timer-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.timer-inputs input{width:100%;min-width:0}.timer-sound{margin-top:22px}.timer-records h3{font-size:20px}.timer-records .panel-heading>span{font-size:13px;color:var(--muted)}.timer-records>p{font-size:14px;line-height:2.1;margin-block:22px}.timer-records .national-table{font-size:13px;white-space:nowrap}.timer-records .national-table td:last-child{min-width:0}.timer-records .national-table th,.timer-records .national-table td{padding:12px 8px}.timer-records .table-scroll{max-height:420px;overflow:auto}.timer-records>.button{margin-top:20px}.timer-stage:fullscreen{background:var(--surface);padding:32px;overflow:auto;display:grid;align-content:center;max-width:none}.timer-stage:fullscreen .timer-display{font-size:clamp(34px,9vw,130px)}.counter-options input{width:100%;min-width:0}.text-layout textarea{min-height:340px;resize:vertical;width:100%;line-height:2.1}.text-layout .muted{font-size:13px}.text-layout [role=status]{font-size:13px;color:var(--muted)}.counter-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-block:26px}.counter-stats dl{padding:18px 12px;background:var(--brand-soft);border:1px solid #c3dedb;border-radius:12px;text-align:center;min-width:0}.counter-stats dt{font-size:13px}.counter-stats dd{margin:8px 0 0;color:var(--brand-dark);font-weight:700;font-size:27px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.counter-frequency{margin-block:26px;padding-block:24px;border-block:1px solid var(--line)}.counter-frequency h3{font-size:21px;margin-bottom:16px}.counter-frequency>p{font-size:14px;color:var(--muted)}.counter-frequency ol{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0}.counter-frequency li{display:flex;justify-content:space-between;gap:14px;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:12px;min-width:0;font-size:14px}.counter-frequency li>span{overflow-wrap:anywhere}.counter-frequency strong{color:var(--brand-dark);white-space:nowrap;font-size:13px}.text-layout label.button{display:flex;flex-direction:row;align-items:center;cursor:pointer;min-height:44px}.text-layout label.button:focus-within{outline:3px solid var(--brand);outline-offset:3px}[data-word-counter]>.muted{font-size:13px;margin-top:14px}.date-workbench [hidden],[data-stopwatch] [hidden],[data-word-counter] [hidden]{display:none!important}
.timer-records .national-table{min-width:0}.date-results dd{font-variant-numeric:tabular-nums}
.health-notice{display:flex;gap:14px;padding:18px 20px;margin-block:24px;border:1px solid #b9d8d7;border-radius:14px;background:var(--brand-soft);align-items:start}.health-notice>.icon{flex:none;color:var(--brand-dark);margin-top:5px}.health-notice p{font-size:14px;line-height:2.1}.health-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.9fr);gap:32px;align-items:start}.health-layout .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.health-workbench input,.health-workbench select{width:100%;min-width:0}.health-workbench .check-field input{width:20px}.health-imperial{display:grid;grid-template-columns:1fr 1fr;gap:18px}.health-imperial>label:last-child{grid-column:1/-1}.health-workbench .muted{font-size:13px;line-height:2.1}.health-side{min-width:0;position:sticky;top:24px}.health-empty{padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}.health-empty h3{font-size:22px;margin-block:16px}.health-empty p{font-size:14px;line-height:2.1}.health-empty p+p{margin-top:18px}.health-side .health-result{margin:0;max-height:calc(100dvh - 48px);overflow:auto;padding:24px}.health-result h3{font-size:22px;overflow-wrap:anywhere}.health-result .result-number{font-size:clamp(25px,3vw,36px);line-height:1.7;overflow-wrap:anywhere}.health-values>div{padding-block:12px;border-bottom:1px solid #c3dedb}.health-values dt{font-size:13px;color:var(--muted)}.health-values dd{font-size:16px;font-weight:600;margin:7px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.health-result>p{font-size:14px;line-height:2.1}.health-result-warning{border-inline-start:3px solid var(--brand);padding-inline-start:12px}.health-result .workbench-actions{margin-top:20px}.health-status{font-size:14px;line-height:2}.health-details{border-top:1px solid var(--line);padding-top:28px;margin-top:30px}.health-details h3{font-size:23px;margin-bottom:18px}.health-details p{font-size:14px;line-height:2.1;margin-block:16px}.health-table{width:100%;min-width:620px;border-collapse:collapse;font-size:14px;text-align:right;margin-block:20px}.health-table caption{font-size:14px}.health-table th,.health-table td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top;font-variant-numeric:tabular-nums}.health-table th{background:var(--bg);font-weight:600}.health-progress-label{display:flex;flex-direction:column;gap:12px;margin-block:20px;font-size:14px}.health-progress-label progress{width:100%;accent-color:var(--brand)}.health-cycle-select{display:flex;flex-direction:column;gap:10px;max-width:360px;margin-block:24px}.health-weekdays,.health-cycle-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.health-weekdays{text-align:center;color:var(--muted);font-size:14px;margin-block:16px}.health-cycle-grid{list-style:none;margin:0;padding:0}.health-calendar-day{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:95px;gap:3px;border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0}.health-calendar-day time{font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}.health-calendar-day small{font-size:12px;color:var(--muted)}.health-day-tags{min-height:24px;font-size:13px;font-weight:600}.health-calendar-day.is-period{background:var(--bg)}.health-calendar-day.is-fertile{background:var(--brand-soft);border-color:#94c5c2}.health-calendar-day.is-ovulation{border:2px solid var(--brand)}.tool-sources{padding:24px;border:1px solid var(--line);background:var(--surface);border-radius:16px;margin-top:28px}.tool-sources h2{font-size:23px;margin-bottom:16px}.tool-sources p{font-size:13px;line-height:2.1}.tool-sources ul{padding-inline-start:20px;margin-top:14px;line-height:2.3}.tool-sources a{color:var(--brand-dark);text-decoration:underline;font-size:14px}.tool-sources .icon{width:16px;height:16px;vertical-align:middle;margin-inline-start:6px}.health-workbench [hidden]{display:none!important}
@media(max-width:900px){.health-layout{grid-template-columns:minmax(0,1fr) 280px;gap:22px}.health-side .health-result{padding:20px}.health-notice{padding:16px}}
@media(max-width:639px){.health-layout{grid-template-columns:1fr;gap:24px}.health-layout .form-grid{grid-template-columns:1fr}.health-side{position:static}.health-side .health-result{max-height:none;overflow:visible}.health-notice{padding:16px 14px;gap:10px}.health-notice p{font-size:13px}.health-empty{padding:20px}.health-result .result-number{font-size:28px}.health-table{font-size:13px}.health-table td,.health-table th{padding:12px 10px}.health-weekdays,.health-cycle-grid{gap:4px}.health-calendar-day{min-height:70px;border-radius:8px;gap:1px}.health-calendar-day time{font-size:18px}.health-calendar-day small{font-size:9px}.health-day-tags{font-size:11px;min-height:20px}.health-details h3{font-size:21px}.tool-sources{padding:20px}.tool-sources h2{font-size:21px}.health-values dd{font-size:15px}}
.utility-side{min-width:0;position:sticky;top:24px}.utility-side .utility-output{margin:0;max-height:calc(100dvh - 48px);overflow:auto}.utility-side .utility-qr{flex-direction:column;align-items:start;gap:18px}.utility-aside p+p{margin-top:18px}
@media(max-width:639px){.utility-side{position:static}.utility-side .utility-output{max-height:none;overflow:visible}}
.utility-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(250px,.7fr);gap:32px;align-items:start;margin-block:26px}.utility-aside{padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--bg);min-width:0}.utility-aside h3{font-size:22px;margin-block:16px}.utility-aside p{font-size:14px;line-height:2.1}.utility-aside ul{padding-inline-start:20px;margin-block:22px;line-height:2.2;font-size:14px}.utility-aside .muted{font-size:13px}.utility-workbench .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.utility-workbench input,.utility-workbench textarea,.utility-workbench select{width:100%;min-width:0}.utility-workbench .check-field input{width:20px}.utility-workbench textarea{line-height:2;resize:vertical}.utility-fieldset{border:1px solid var(--line);border-radius:12px;padding:18px}.utility-fieldset legend{font-size:14px;padding-inline:8px}.utility-checks{display:grid;grid-template-columns:1fr 1fr;gap:18px}.utility-workbench .muted{font-size:13px;line-height:2.1}.utility-workbench [data-utility-progress]{font-size:14px;line-height:2}.utility-output>label{display:block}.utility-output textarea{margin-block:10px 20px;padding:18px;border:1px solid var(--line);background:var(--surface);border-radius:12px;overflow-wrap:anywhere;font-size:16px;min-height:150px}.utility-output textarea[dir=ltr]{font-family:ui-monospace,Consolas,monospace;font-size:15px}.utility-output>[data-utility-summary]{font-size:14px;margin-bottom:18px}.utility-output details{padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow-wrap:anywhere}.utility-output details p{white-space:pre-wrap}.utility-output [data-utility-preview]{margin-block:18px}.utility-faq-row{padding:20px;border:1px solid var(--line);border-radius:14px;margin-bottom:22px}.utility-faq-row legend{padding-inline:8px;font-size:15px;font-weight:600}.utility-faq-row label{margin-bottom:16px}.utility-faq-row .workbench-actions{justify-content:end}.utility-notice{padding:18px;border:1px solid #b9d8d7;background:var(--brand-soft);border-radius:12px;font-size:14px;line-height:2.1}.utility-qr{display:flex;align-items:center;gap:28px;margin-top:28px;padding-top:24px;border-top:1px solid #b9d8d7}.utility-qr canvas{width:222px;height:222px;max-width:100%;object-fit:contain;image-rendering:pixelated;flex:none;background:#fff;border:1px solid var(--line);border-radius:4px}.utility-qr h3{font-size:21px}.utility-qr p{font-size:14px;max-width:420px}.utility-history{border-top:1px solid var(--line);padding-top:26px;margin-top:28px}.utility-history h3{font-size:21px}.utility-history p{font-size:14px;color:var(--muted);margin-top:16px}.utility-history ol{list-style:none;padding:0;margin-top:18px;display:grid;gap:12px}.utility-history li{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:12px;min-width:0}.utility-history code{white-space:normal;overflow-wrap:anywhere;font-size:13px;min-width:0}.utility-history li>.button{flex:none}.utility-workbench [hidden]{display:none!important}
@media(max-width:900px){.utility-layout{grid-template-columns:minmax(0,1fr) 250px;gap:22px}}
@media(max-width:639px){.utility-layout{grid-template-columns:1fr;gap:24px}.utility-aside{padding:20px}.utility-workbench .form-grid{grid-template-columns:1fr}.utility-checks{grid-template-columns:1fr;gap:14px}.utility-fieldset{padding:16px}.utility-output textarea{padding:12px;font-size:16px}.utility-qr{flex-direction:column;align-items:start;gap:18px}.utility-qr canvas{width:min(100%,222px);height:auto}.utility-history .panel-heading{align-items:start;flex-direction:column;gap:12px}.utility-history li{flex-direction:column;align-items:start}.utility-faq-row{padding:16px}.utility-output .workbench-actions .button{font-size:13px}}
@media(max-width:900px){.date-layout,.timer-layout,.text-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.counter-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.counter-frequency ol{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:639px){.date-layout,.timer-layout,.text-layout{grid-template-columns:1fr;gap:24px}.date-summary,.counter-options,.timer-records{padding:20px}.date-results{grid-template-columns:1fr;gap:12px}.date-results dd{font-size:21px}.date-results>div{padding:16px}.timer-display{font-size:clamp(27px,8vw,48px);margin-top:24px}.timer-modes{gap:16px;padding:12px}.timer-modes .check-field{font-size:13px}.timer-actions{gap:8px}.timer-actions .button{padding-inline:14px}.timer-stage:fullscreen{padding:16px}.counter-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.counter-stats dd{font-size:25px}.counter-stats dt{font-size:12px}.counter-frequency ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.counter-frequency li{flex-direction:column;gap:4px;padding:10px}.text-layout textarea{min-height:280px}.timer-inputs{gap:8px}.date-entry .icon-button{min-width:44px}.date-layout .editor-form{max-width:none}}
