html{--spindle-handwriting-font:Caveat,'Segoe Print',cursive}
html[data-handwriting=palmer]{--spindle-handwriting-font:'Spindle Palmer',Caveat,'Segoe Print',cursive}
html[data-handwriting-state=loading] .ss-handwriting-sample{visibility:hidden}
html[data-appearance-surface=app] .main .ss-handwriting-sample{font:400 36px/1.6 var(--spindle-handwriting-font);overflow-wrap:anywhere}
.hw-current{margin:16px 25px 0;padding:12px 16px;background:var(--surface);border-radius:var(--sp-radius-sm)}
.hw-current-heading,.hw-browse-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.hw-current-heading strong,.hw-browse-heading h4{font-size:var(--sp-caption-size);font-weight:500;min-width:0;overflow-wrap:anywhere}
.hw-default-name{display:block;font-size:12px;color:var(--muted);line-height:1.3}
html[data-appearance-surface=app] .hw-current .ss-handwriting-sample{margin:6px 0;font-size:36px;line-height:1.3}
.hw-settings .ss-card-heading{padding-top:18px}
.hw-settings [role=status]{font-size:var(--sp-caption-size);line-height:1.6;color:var(--muted)}
.hw-current [role=status]:empty{display:none}
.hw-browse-heading{padding:18px 25px 14px}
.hw-settings [data-gallery-status],.hw-settings [data-retry-gallery]{margin:0 25px 16px}
.hw-settings [data-gallery-status]:empty{display:none}
.hw-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 25px}
.hw-font{min-width:0;position:relative;display:flex;flex-direction:column}
.hw-font label{display:flex;flex-direction:column;flex:1;position:relative;cursor:pointer;margin:0}
.hw-font input{position:absolute;right:18px;top:20px;width:18px;height:18px;margin:0;accent-color:var(--sp-action);cursor:pointer;z-index:1}
.hw-option{display:flex;flex-direction:column;gap:10px;flex:1;padding:18px;border:1px solid var(--line);border-radius:var(--sp-radius-sm);background:var(--sp-paper)}
.hw-font.is-selected .hw-option{border-color:var(--sp-action);box-shadow:0 0 0 1px var(--sp-action)}
.hw-font input:focus-visible+.hw-option{outline:2px solid var(--sp-action);outline-offset:4px}
.hw-font-name{padding-right:30px;display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:var(--sp-caption-size);font-weight:500}
.hw-selected-mark{visibility:hidden;font-size:12px;font-weight:400;color:var(--sp-action)}
.hw-font.is-selected .hw-selected-mark{visibility:visible}
html[data-appearance-surface=app] .hw-specimen{display:block;font-size:48px;font-weight:400;line-height:1.6;overflow-wrap:anywhere;min-height:154px}
html[data-appearance-surface=app] .hw-font:not([data-preview-ready=true]) .hw-specimen{font:400 var(--sp-caption-size)/1.7 var(--sp-font);color:var(--muted)}
.hw-tradition{font-size:13px;line-height:1.5;color:var(--muted);margin-top:auto}
.hw-preview-retry{margin:10px 0}
.hw-more{padding:22px 25px;text-align:center}
.hw-attribution{border-top:1px solid var(--line);padding:20px 25px;font-size:13px;line-height:1.7;color:var(--muted)}
.hw-attribution details{margin-top:8px}
.hw-attribution summary{cursor:pointer}
.hw-attribution pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;font-size:12px;line-height:1.6}
@media(max-width:680px){html[data-appearance-surface=app] .hw-specimen{font-size:40px;min-height:128px}.hw-gallery{grid-template-columns:1fr}.hw-current{margin:12px 18px 0;padding:12px}.hw-current .ss-handwriting-sample{display:none}.hw-gallery{padding:0 18px}.hw-browse-heading{padding:22px 18px 14px}.hw-current-heading{align-items:stretch;flex-direction:column;gap:10px}.hw-current-heading strong{padding-top:0;overflow-wrap:normal}.hw-current-heading .button{align-self:flex-start;flex-shrink:0}.hw-attribution{padding:18px}.hw-settings [data-gallery-status],.hw-settings [data-retry-gallery]{margin-left:18px;margin-right:18px}}
/* Shared app, desktop and extension text at 125% through the approved design's own type tokens. Load after palette.css.
 * The pinned design (spindle.css) derives every text role from --sp-type-scale but clamps controls to 1.15
 * (1.1 on narrow screens) and copy to 1.3 (1.2); this sets the derived scales directly so every role is 1.25.
 * Layout lengths, browser zoom and inherited em sizes are untouched. Hosted sign-in pages are not styled here. */
html:root{--sp-type-scale:1.25!important;--sp-display-scale:var(--sp-type-scale);--sp-copy-scale:var(--sp-type-scale);--sp-ui-scale:var(--sp-type-scale);--sp-caption-size:calc(13px * var(--sp-ui-scale));--sp-control-size:calc(14px * var(--sp-ui-scale));--sp-body-size:calc(16px * var(--sp-copy-scale));--sp-heading-size:calc(20px * var(--sp-ui-scale));--sp-section-title:calc(28px * var(--sp-display-scale));--sp-page-title:calc(43px * var(--sp-display-scale))}
@media(max-width:680px){html:root{--sp-page-title:calc(35px * var(--sp-display-scale))}}
/* The approved Lock-in dial has fixed pixel text; scale it and give the ring room without page overflow. */
html[data-appearance-surface=app] .li-clock,.pomodoro-view .fd-clock{width:calc(236px * var(--sp-type-scale));height:auto;aspect-ratio:1;max-width:100%}
html[data-appearance-surface=app] .li-clock>strong,.pomodoro-view .fd-time{font-size:calc(62px * var(--sp-type-scale))}
@media(max-width:680px){html[data-appearance-surface=app] .li-clock,.pomodoro-view .fd-clock{width:calc(220px * var(--sp-type-scale))}html[data-appearance-surface=app] .li-clock>strong,.pomodoro-view .fd-time{font-size:calc(56px * var(--sp-type-scale))}}
