@import url('/public/mobile-foundation.css');
@import url('/public/family-responsive.css');
/* Breakpoint convention (site-wide, use these instead of new ad-hoc values):
   mobile: default (<48rem/768px) · tablet: min-width:48rem · desktop: min-width:64rem · wide: min-width:80rem
   Legacy files still use 700px/767px/900px/1080px — leave as-is, don't replicate in new rules. */
:root{--st-bg:#f5f7fb;--st-surface:#fff;--st-soft:#eef3f8;--st-ink:#152238;--st-muted:#627087;--st-line:#d8e0ea;--st-brand:#2563eb;--st-accent:#2563eb;--st-good:#087f5b;--st-warn:#9a6700;--st-bad:#c33b32;--st-radius:.85rem;--st-shadow:0 .9rem 2.5rem rgba(27,44,74,.08);--st-font:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--st-mono:"SFMono-Regular",Consolas,"Liberation Mono",monospace;--st-touch:2.75rem;--st-space-1:.25rem;--st-space-2:.5rem;--st-space-3:.75rem;--st-space-4:1rem;--st-space-5:1.5rem;--st-space-6:2rem;--st-space-7:3rem}
html.st-dark{--st-bg:#0e1726;--st-surface:#152238;--st-soft:#1c2b43;--st-ink:#f4f7fb;--st-muted:#a9b6c9;--st-line:#31425b;--st-shadow:0 1rem 3rem rgba(0,0,0,.25)}
html,body{width:100%;margin-inline:0}
body.st-unified{--bg:var(--st-bg);--ink:var(--st-ink);--paper:var(--st-surface);--surface:var(--st-surface);--text:var(--st-ink);--muted:var(--st-muted);--sub:var(--st-muted);--line:var(--st-line);--border:var(--st-line);--blue:var(--st-brand);min-height:100vh;margin:0;color:var(--st-ink);background:var(--st-bg);font-family:var(--st-font);font-size:1rem}
body.st-category-pdf{--st-accent:#df542f}body.st-category-office{--st-accent:#087f68}body.st-category-calculator{--st-accent:#b74731}body.st-category-ai{--st-accent:#0c827b}body.st-category-image{--st-accent:#8a4bb8}
body.st-unified *,body.st-unified *::before,body.st-unified *::after{box-sizing:border-box}
body.st-unified img,body.st-unified svg,body.st-unified canvas,body.st-unified video{height:auto}
body.st-unified button,body.st-unified input,body.st-unified select,body.st-unified textarea{font:inherit}
body.st-unified button,body.st-unified a,body.st-unified input,body.st-unified select{touch-action:manipulation}
body.st-unified :focus-visible{outline:3px solid color-mix(in srgb,var(--st-accent) 35%,transparent);outline-offset:2px}

/* One header replaces family-specific breadcrumbs/navigation. */
.st-site-header{position:sticky;z-index:1000;top:0;width:100%;border-bottom:1px solid var(--st-line);color:var(--st-ink);background:color-mix(in srgb,var(--st-surface) 92%,transparent);backdrop-filter:blur(14px)}
.st-header-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;width:min(100% - 2rem,76rem);min-height:3.75rem;margin:auto}
.st-brand{color:var(--st-ink)!important;font-weight:800;font-size:1.05rem;letter-spacing:-.035em;text-decoration:none!important;white-space:nowrap}.st-brand span{color:var(--st-brand)!important}
.st-breadcrumb{display:flex;align-items:center;gap:.45rem;min-width:0;color:var(--st-muted);font-size:.76rem;white-space:nowrap;overflow:hidden}.st-breadcrumb a{color:var(--st-muted)!important;text-decoration:none}.st-breadcrumb b{overflow:hidden;color:var(--st-ink);text-overflow:ellipsis}.st-breadcrumb i{opacity:.5;font-style:normal}
.st-header-actions{display:flex;gap:.45rem}.st-header-actions button{min-height:var(--st-touch);border:1px solid var(--st-line);border-radius:999px;color:var(--st-ink);background:var(--st-surface);cursor:pointer}.st-search-trigger{display:flex;align-items:center;gap:.5rem;padding:.5rem .8rem}.st-search-trigger span{font-size:.73rem}.st-search-trigger b{font-size:1.1rem}.st-theme-trigger{display:flex;align-items:center;gap:.4rem;padding:.4rem .65rem}.st-theme-trigger i{position:relative;width:1.8rem;height:1rem;border-radius:2rem;background:var(--st-soft)}.st-theme-trigger i::after{content:"";position:absolute;top:.15rem;left:.15rem;width:.7rem;height:.7rem;border-radius:50%;background:var(--st-brand);transition:transform .2s}.st-dark .st-theme-trigger i::after{transform:translateX(.8rem)}.st-theme-trigger span{font-size:.7rem}
.st-menu-trigger{display:none;place-items:center;width:var(--st-touch);padding:.55rem}.st-menu-trigger span{display:block;width:1rem;height:2px;margin:2px;border-radius:1rem;background:currentColor}.st-mobile-menu{position:fixed;z-index:1100;inset:0;overflow:auto;padding:max(1rem,env(safe-area-inset-top)) 1rem max(1.25rem,env(safe-area-inset-bottom));background:var(--st-surface);color:var(--st-ink)}.st-mobile-menu-head{display:flex;align-items:center;justify-content:space-between;min-height:3rem;border-bottom:1px solid var(--st-line)}.st-mobile-menu-head b{font-size:1.05rem}.st-mobile-menu-head button{width:var(--st-touch);height:var(--st-touch);border:0;background:var(--st-soft);color:var(--st-ink);font-size:1.4rem}.st-mobile-menu nav{display:grid;margin-top:1rem}.st-mobile-menu nav a{display:flex;align-items:center;min-height:3.25rem;border-bottom:1px solid var(--st-line);color:var(--st-ink)!important;font-weight:760;text-decoration:none}.st-mobile-menu-links{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.25rem}.st-mobile-menu-links a{color:var(--st-muted)!important}.st-scroll-locked{position:fixed;width:100%;overflow:hidden}.st-live-feedback{position:fixed;z-index:1400;left:50%;bottom:max(1rem,env(safe-area-inset-bottom));max-width:calc(100% - 2rem);padding:.7rem 1rem;border-radius:999px;background:#10203a;color:white;box-shadow:var(--st-shadow-md);font-size:.82rem;font-weight:700;opacity:0;transform:translate(-50%,1rem);pointer-events:none;transition:opacity .2s,transform .2s}.st-live-feedback.show{opacity:1;transform:translate(-50%,0)}.st-live-feedback[data-tone="success"]{background:var(--st-good)}.st-live-feedback[data-tone="error"]{background:var(--st-bad)}
.st-search-panel{position:absolute;top:calc(100% + .5rem);right:max(1rem,calc((100% - 76rem)/2));width:min(calc(100% - 2rem),34rem);padding:1rem;border:1px solid var(--st-line);border-radius:var(--st-radius);background:var(--st-surface);box-shadow:var(--st-shadow)}.st-search-panel>div:first-child{display:flex;justify-content:space-between;align-items:center;margin-bottom:.6rem}.st-search-panel label{font-weight:750}.st-search-panel button{width:var(--st-touch);height:var(--st-touch);border:0;color:var(--st-ink);background:transparent;font-size:1.4rem}.st-search-panel input{width:100%;min-height:3rem;padding:.7rem .85rem;border:1px solid var(--st-line);border-radius:.6rem;color:var(--st-ink);background:var(--st-bg)}.st-search-results{display:grid;gap:.35rem;margin-top:.6rem}.st-search-results a{display:grid;gap:.12rem;padding:.65rem;border-radius:.55rem;color:var(--st-ink)!important;text-decoration:none}.st-search-results a:hover{background:var(--st-soft)}.st-search-results small{color:var(--st-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.st-unified>.nav,body.st-unified .calc-nav,body.st-unified .crumbs,body.st-unified nav.nav:not(.st-breadcrumb){display:none!important}
body.st-unified .hero>.theme,body.st-unified .shell>.theme{display:none!important}
body.st-unified main>footer,body.st-unified .shell>footer,body.st-unified .calc-shell>footer{display:none!important}

/* Compact title rows: the tool begins in the first viewport. */
body.st-unified .hero,body.st-unified .calc-hero,body.st-unified .top{position:relative;width:min(100% - 2rem,76rem);max-width:76rem;min-height:0;margin:0 auto;padding:clamp(1.35rem,3vw,2.35rem) 0!important;text-align:left!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
body.st-unified .hero .badge{color:var(--st-ink)!important;background:var(--st-soft)!important;border:1px solid var(--st-line)!important}
body.st-unified [aria-label="Toggle dark mode"]:not(.st-theme-trigger){display:none!important}
body.st-unified .hero h1,body.st-unified .calc-hero h1,body.st-unified .top h1{max-width:18ch;margin:0 0 .5rem!important;padding:0!important;color:var(--st-ink)!important;font-family:var(--st-font)!important;font-size:clamp(1.8rem,4vw,3.15rem)!important;font-style:normal!important;font-weight:800!important;line-height:1.04!important;letter-spacing:-.05em!important;text-transform:none!important;transform:none!important}
body.st-unified .hero p,body.st-unified .calc-hero p,body.st-unified .top p{max-width:62ch;margin:.35rem 0!important;color:var(--st-muted)!important;font-size:.95rem!important;line-height:1.55!important}
body.st-unified .hero-icon,body.st-unified .pdf-eyebrow,body.st-unified .pdf-hero-meta,body.st-unified .hero::before,body.st-unified .hero::after{display:none!important}
.st-trust{display:inline-flex;align-items:center;gap:.55rem;margin-top:.65rem;padding:.48rem .65rem;border:1px solid var(--st-line);border-radius:.65rem;background:var(--st-surface);box-shadow:0 .2rem .8rem rgba(30,48,78,.04)}.st-trust>i{width:.6rem;height:.6rem;border-radius:50%;background:var(--st-good);box-shadow:0 0 0 .22rem color-mix(in srgb,var(--st-good) 14%,transparent)}.st-trust-server>i{background:var(--st-brand)}.st-trust-external>i{background:var(--st-warn)}.st-trust span{display:grid;gap:.05rem}.st-trust b{font-size:.72rem}.st-trust small{color:var(--st-muted);font-size:.64rem}

/* Empty ad placeholders collapse completely until a real ad marks itself filled. */
body.st-unified .ad:not(.ad-filled),body.st-unified .pdf-ad:not(.ad-filled),body.st-unified [class*="ad-slot"]:not(.ad-filled),body.st-unified [class*="adSlot"]:not(.ad-filled),body.st-unified [class*="advert"]:not(.ad-filled),body.st-unified .pdf-mobile-ad:not(.ad-filled){display:none!important;width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
body.st-unified .ad-filled{width:100%;max-width:100%!important;overflow:hidden}

/* Shared surface normalization without flattening tool-specific interactions. */
body.st-unified .main,body.st-unified .shell,body.st-unified .calc-shell{width:min(100% - 2rem,76rem)!important;max-width:76rem!important;margin-inline:auto!important;padding-top:0!important}
body.st-unified .dropzone,body.st-unified .drop,body.st-unified .calc-card,body.st-unified .panel,body.st-unified .tablecard,body.st-unified .options-panel{border-color:var(--st-line)!important;border-radius:var(--st-radius)!important;color:var(--st-ink);background:var(--st-surface)!important;box-shadow:none!important}
body.st-unified .editor.output,body.st-unified textarea[readonly],body.st-unified #output,body.st-unified #csvOutput{color:var(--ink)!important}
body.st-unified input,body.st-unified select,body.st-unified textarea{max-width:100%;min-height:2.75rem}
body.st-unified input[type="date"]::-webkit-calendar-picker-indicator,body.st-unified input[type="time"]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.9}
html.st-dark body.st-unified input[type="date"],html.st-dark body.st-unified input[type="time"]{color-scheme:dark}
body.st-unified table{max-width:100%}body.st-unified .tablewrap{max-width:100%;overflow:auto}
body.st-unified .btn.primary,body.st-unified .calc-btn:not(.secondary),body.st-unified .btn-convert{border-color:var(--st-accent)!important;color:#fff!important;background:var(--st-accent)!important;box-shadow:none!important}
body.st-unified .btn.primary:disabled,body.st-unified .calc-btn:disabled,body.st-unified .btn-convert:disabled{cursor:not-allowed;opacity:.48;filter:saturate(.25)}

/* Generic long-tail pages: dense, useful and result-ready. */
.st-generic-page .main{display:grid;grid-template-columns:1fr;gap:1rem}.st-generic-page #uploadSection{padding:1rem!important;border:1px solid var(--st-line);border-radius:var(--st-radius);background:var(--st-surface)}
.st-generic-page .text-area{min-height:15rem;border-color:var(--st-line);border-radius:.65rem;color:var(--st-ink);background:var(--st-bg);font-family:var(--st-mono);line-height:1.6}
.st-generic-page .btn-convert{min-height:3rem;border-radius:.65rem!important}.st-char-counter{display:block;margin:.4rem 0 0;color:var(--st-muted);font:500 .68rem var(--st-mono);text-align:right}
.st-generic-page #inlineTextResult .options-panel{margin-top:0}.st-generic-page #inlineTextResult textarea{background:var(--st-soft)}
.st-generic-page .status-card,.st-generic-page .result-card,.st-generic-page .error-card{border-radius:var(--st-radius)!important;background:var(--st-surface)!important}
.st-generic-page .feedback-row{display:none}
.st-generic-page .pdf-workbench{margin-top:0}

/* Crawlable, consistent lower-page anatomy. */
.st-seo-stack{display:grid;grid-template-columns:1fr;gap:1rem;width:100%;margin:clamp(2.5rem,6vw,5rem) auto 2rem;color:var(--st-ink)}
.st-how,.st-faq,.st-related{padding:clamp(1rem,3vw,1.5rem);border:1px solid var(--st-line);border-radius:var(--st-radius);background:var(--st-surface)}.st-section-label{color:var(--st-accent);font:700 .65rem var(--st-mono);letter-spacing:.12em;text-transform:uppercase}.st-seo-stack h2{margin:.35rem 0 1rem;font-size:clamp(1.2rem,2.5vw,1.65rem);letter-spacing:-.03em}.st-how ol{display:grid;grid-template-columns:repeat(3,1fr);gap:.6rem;margin:0;padding:0;list-style:none}.st-how li{display:flex;gap:.6rem;align-items:center;padding:.7rem;background:var(--st-soft);font-size:.8rem}.st-how li b{display:grid;place-items:center;flex:0 0 auto;width:1.65rem;height:1.65rem;border-radius:50%;color:#fff;background:var(--st-accent);font-size:.68rem}.st-faq details{border-top:1px solid var(--st-line)}.st-faq summary{min-height:2.75rem;display:flex;align-items:center;cursor:pointer;font-weight:700;font-size:.82rem}.st-faq p{margin:0 0 .8rem;color:var(--st-muted);font-size:.82rem;line-height:1.55}.st-related>div{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}.st-related a{display:flex;justify-content:space-between;gap:.5rem;padding:.8rem;border:1px solid var(--st-line);border-radius:.6rem;color:var(--st-ink)!important;text-decoration:none}.st-related a:hover{border-color:var(--st-accent);background:var(--st-soft)}.st-related a b{font-size:.78rem}.st-related a span{color:var(--st-accent);font-size:.66rem;white-space:nowrap}
.st-site-footer{display:grid;grid-template-columns:1fr auto auto;gap:clamp(1.5rem,5vw,4rem);align-items:start;width:100%;margin-top:3rem;padding:2.3rem max(1rem,calc((100% - 76rem)/2));border-top:1px solid var(--st-line);color:var(--st-ink);background:var(--st-surface)}.st-site-footer p{max-width:28rem;margin:.55rem 0 0;color:var(--st-muted);font-size:.78rem}.st-site-footer nav{display:grid}.st-site-footer nav a{padding:.45rem 0;color:var(--st-muted)!important;font-size:.76rem;text-decoration:none}.st-site-footer nav a:hover{color:var(--st-brand)!important}

/* PDF suite is pulled back into the shared product skin. */
.st-unified.pdf-workspace{--pdf-bg:var(--st-bg);--pdf-panel:var(--st-surface);--pdf-ink:var(--st-ink);--pdf-muted:var(--st-muted);--pdf-line:var(--st-line);--pdf-accent:var(--st-accent);--pdf-soft:var(--st-soft);color:var(--st-ink);background:var(--st-bg);font-family:var(--st-font)}
.st-unified.pdf-workspace .pdf-atmosphere{display:none}.st-unified.pdf-workspace .main{width:min(100% - 2rem,68rem)!important}.st-unified.pdf-workspace .pdf-workbench{margin-top:0}.st-unified.pdf-workspace .pdf-preview{position:relative;top:auto}.st-unified.pdf-workspace .pdf-primary{box-shadow:none;transform:none}.st-unified.pdf-workspace .pdf-truth{border-radius:var(--st-radius);background:var(--st-surface)}

/* One quiet, legible preview language across the image-tool family. */
body.st-unified.st-category-image{background:var(--st-bg)!important}
body.st-unified.st-category-image :is(.image-workspace,.v4-workspace,.v5-workspace,.v6-workspace){background:var(--st-surface)!important;border:1px solid var(--st-line)!important;box-shadow:none!important;border-radius:1rem!important;overflow:hidden}
body.st-unified.st-category-image :is(.image-workspace,.v4-workspace,.v5-workspace,.v6-workspace)>aside{background:var(--st-surface)!important;color:var(--st-ink)!important;border:0!important;border-top:1px solid var(--st-line)!important;box-shadow:none!important}
body.st-unified.st-category-image :is(.turntable,.mirror-room,.alchemy-vessel,.paper-press,.packet-flow,.cockpit-screen,.inspector-preview){background:#f3f5f7!important;background-image:none!important;border:1px solid #d6dce3!important;border-radius:.75rem!important;box-shadow:none!important;overflow:hidden}
body.st-unified.st-category-image :is(.v4-preview,.v5-preview,.v6-preview){width:100%!important;height:100%!important;object-fit:contain!important;filter:none!important}
body.st-unified.st-category-image .turntable{width:100%!important;aspect-ratio:4/3!important;padding:1rem!important;display:grid!important;place-items:center!important}
body.st-unified.st-category-image .turntable>i,body.st-unified.st-category-image .turn-photo span{display:none!important}
body.st-unified.st-category-image .turn-photo{width:100%!important;height:100%!important;aspect-ratio:auto!important;background:transparent!important;border:0!important}
.st-clear-image-preview{display:grid;place-items:center;gap:.5rem;width:100%;min-height:16rem;margin:1rem 0 0;padding:1rem;background:#f3f5f7;border:1px solid #d6dce3;border-radius:.75rem;overflow:hidden}
.st-clear-image-preview img{display:block;width:100%;height:clamp(14rem,42vw,28rem)!important;object-fit:contain!important}
.st-clear-image-preview figcaption{max-width:100%;color:var(--st-muted);font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-category-image :is(.image-workspace,.v4-workspace,.v5-workspace,.v6-workspace){gap:0!important;max-width:76rem!important;margin-inline:auto!important}
.st-category-image :is(.image-input-side,.v4-input,.v5-input,.v6-input){padding:1rem!important;background:var(--st-surface)!important}
.st-category-image :is(.image-workspace,.v4-workspace,.v5-workspace,.v6-workspace)>aside{padding:clamp(1rem,3vw,2rem)!important}
.st-category-image :is(.image-workspace,.v4-workspace,.v5-workspace,.v6-workspace)>aside h2{margin:.35rem 0 .6rem!important;font:750 clamp(1.5rem,3vw,2.35rem)/1.08 var(--st-font)!important;letter-spacing:-.035em!important;color:var(--st-ink)!important;text-transform:none!important;text-shadow:none!important}
.st-category-image :is(.lab-code,.lab-index,.process-id){color:var(--st-accent)!important;font:800 .7rem/1 var(--st-font)!important;letter-spacing:.11em!important}
.image-panel-intro{max-width:56ch;margin:0 0 1.25rem;color:var(--st-muted);font-size:.875rem;line-height:1.55}
.st-category-image .dropzone{min-height:14rem!important;border:1px dashed var(--st-line)!important;border-radius:.75rem!important;background:var(--st-bg)!important;box-shadow:none!important}
.st-category-image .blueprint-frame{display:grid!important;place-items:center!important;width:100%!important;min-height:18rem!important;max-height:28rem!important;margin:1rem 0!important;padding:1rem!important;background:#f3f5f7!important;border:1px solid #d6dce3!important;border-radius:.75rem!important}
.st-category-image .blueprint-frame .v4-preview{position:relative!important;inset:auto!important;display:block!important;max-width:100%!important;max-height:25rem!important;object-fit:contain!important;z-index:1}
.st-category-image .preview-empty{max-width:18rem;color:var(--st-muted);font-size:.875rem;line-height:1.5;text-align:center}.st-category-image .loaded .preview-empty{display:none}
.st-category-image :is(.blueprint-handle,.booth-handle,.measure-x,.measure-y){display:none!important}
.st-category-image .resize-readout{display:flex!important;align-items:center!important;justify-content:center!important;gap:.5rem!important;min-height:2.75rem!important;margin:.5rem 0 1rem!important;padding:.65rem!important;background:var(--st-soft)!important;border-radius:.6rem!important;color:var(--st-muted)!important;font:500 .8rem/1.4 var(--st-font)!important}.st-category-image .resize-readout b{color:var(--st-ink)!important}.st-category-image .resize-readout small{font-size:.75rem!important}
.st-category-image .quality-blueprint{color:var(--st-muted)!important;font-family:var(--st-font)!important}.st-category-image .quality-blueprint i{border:0!important;border-radius:999px!important;background:var(--st-soft)!important}.st-category-image .quality-blueprint em{background:var(--st-accent)!important}
.st-category-image :is(.size-presets,.crop-presets,.angle-deck,.mirror-switch,.format-tabs){gap:.5rem!important}
.st-category-image :is(.size-presets,.crop-presets,.angle-deck,.mirror-switch,.format-tabs) button{min-height:3rem!important;padding:.65rem!important;border:1px solid var(--st-line)!important;border-radius:.6rem!important;background:var(--st-surface)!important;color:var(--st-ink)!important;font:700 .8rem/1.2 var(--st-font)!important}
.st-category-image :is(.size-presets,.crop-presets,.angle-deck,.mirror-switch,.format-tabs) button:is(:hover,.selected){border-color:var(--st-accent)!important;background:var(--st-soft)!important;color:var(--st-accent)!important}
.st-category-image :is(.crop-mat,.turntable,.mirror-room,.photo-booth,.format-prism,.cutout-stage,.paper-press,.alchemy-vessel,.packet-flow,.cockpit-screen,.inspector-preview){margin-block:1rem!important;background:#f3f5f7!important;border:1px solid #d6dce3!important;border-radius:.75rem!important;box-shadow:none!important}
.st-category-image .crop-mat,.st-category-image .turntable{min-height:20rem!important;aspect-ratio:4/3!important}
.st-category-image .v4-workspace:not(.loaded) :is(.crop-window,.turn-photo){visibility:hidden!important}
.st-category-image .v4-workspace:not(.loaded) :is(.crop-mat,.turntable)::after{content:'Choose an image to start editing';position:absolute;inset:0;display:grid;place-items:center;padding:1rem;color:var(--st-muted);font-size:.875rem;text-align:center}
.st-category-image .mirror-room{min-height:18rem!important}.st-category-image .v5-workspace:not(.loaded) .mirror-room>div{display:grid;place-items:center;background:transparent!important}.st-category-image .v5-workspace:not(.loaded) .mirror-room>div::after{content:'Image preview';color:var(--st-muted);font-size:.8rem}.st-category-image .v5-workspace:not(.loaded) .mirror-room :is(img,span){display:none!important}
.st-category-image .mirror-room>i{background:var(--st-line)!important;box-shadow:none!important}
.st-category-image .mirror-room span{background:rgba(21,34,56,.82)!important;color:#fff!important;border-radius:.3rem!important;padding:.3rem .45rem!important;text-transform:none!important}
.st-category-image .crop-window span{padding:.25rem .4rem!important;background:rgba(21,34,56,.82)!important;color:#fff!important;border-radius:.3rem!important;text-transform:none!important}
.st-category-image .crop-window{border-color:#fff!important;box-shadow:0 0 0 99rem rgba(15,23,42,.55)!important}
.st-editor-action-dock{display:grid;gap:.75rem;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--st-line)}
.st-editor-action-dock .options-panel{margin:0!important;padding:1rem!important;border:1px solid var(--st-line)!important;border-radius:.75rem!important;background:var(--st-bg)!important}
.st-editor-action-dock .options-title{margin-bottom:.75rem!important;color:var(--st-ink)!important;font-size:.75rem!important;letter-spacing:.1em!important}
.st-editor-action-dock .btn-convert{width:100%;min-height:3.25rem;margin:0!important;border-radius:.7rem!important;background:var(--st-accent)!important;color:#fff!important;font-weight:800!important}
@media(min-width:48rem){.st-category-image :is(.image-workspace,.v4-workspace,.v5-workspace,.v6-workspace){grid-template-columns:minmax(20rem,.9fr) minmax(24rem,1.1fr)!important}}
.st-processing-sponsor{width:min(100%,45rem);margin:1.25rem auto 0;padding:.75rem;border:1px solid var(--st-line);border-radius:.75rem;background:var(--st-surface);text-align:center}
.st-processing-sponsor>small{display:block;margin-bottom:.5rem;color:var(--st-muted);font-size:.625rem;font-weight:800;letter-spacing:.14em}
.st-ad-stage{display:grid;min-height:5.5rem;place-items:center;background:var(--st-bg);color:var(--st-muted);font-size:.75rem}
@media(min-width:48rem){body.st-unified.st-category-image :is(.image-workspace,.v4-workspace,.v5-workspace,.v6-workspace)>aside{border-top:0!important;border-left:1px solid var(--st-line)!important}.st-ad-stage{min-height:7.5rem}}

/* AI unavailable state is explanatory, not a broken-looking CTA. */
.st-category-ai .btn-convert:disabled{position:relative;color:transparent!important}.st-category-ai .btn-convert:disabled::after{content:"AI tools are launching soon";position:absolute;inset:0;display:grid;place-items:center;color:var(--st-muted);background:var(--st-soft);border:1px solid var(--st-line);border-radius:inherit}
.st-sample-text,.st-copy-result{min-height:var(--st-touch);padding:.55rem .8rem;border:1px solid var(--st-line);border-radius:.6rem;color:var(--st-ink);background:var(--st-surface);font-size:.76rem;font-weight:750;cursor:pointer}.st-sample-text{margin:0 0 .55rem}.st-copy-result{margin-top:1rem}.st-sample-text:hover,.st-copy-result:hover{border-color:var(--st-accent);color:var(--st-accent)}
.st-unavailable-note{display:grid;gap:.22rem;margin-bottom:.8rem;padding:.8rem;border:1px solid color-mix(in srgb,var(--st-warn) 40%,var(--st-line));border-radius:.65rem;background:color-mix(in srgb,var(--st-warn) 8%,var(--st-surface));font-size:.78rem}.st-unavailable-note span{color:var(--st-muted)}.st-unavailable-note a{color:var(--st-brand)!important;font-weight:700}
.file-order-note{margin:.2rem 0 .55rem;color:var(--st-muted);font:500 .68rem/1.4 var(--st-mono)}.file-item-sortable{cursor:grab}.file-item-sortable.dragging{opacity:.45}.file-order{display:grid;place-items:center;flex:0 0 auto;width:1.7rem;height:1.7rem;border-radius:50%;color:#fff;background:var(--st-accent);font:700 .64rem var(--st-mono)}.file-grip{color:var(--st-muted);font-size:.8rem;letter-spacing:-.2rem}
.file-move-btns{display:flex;flex-direction:column;gap:.15rem;flex:0 0 auto}.file-move-btn{width:1.9rem;height:1.9rem;padding:0;border:1px solid var(--st-line);border-radius:.4rem;color:var(--st-ink);background:var(--st-surface);font-size:.7rem;line-height:1;cursor:pointer}.file-move-btn:disabled{opacity:.35;cursor:not-allowed}.file-move-btn:not(:disabled):hover{border-color:var(--st-accent);color:var(--st-accent)}
@media(max-width:47.99rem){.file-move-btns{flex-direction:row}.file-move-btn{width:var(--st-touch);height:var(--st-touch);font-size:.85rem}}

/* Calculators retain their craft but start above the fold. */
.st-unified .calc-hero{padding-bottom:1rem!important}.st-unified .calc-grid,.st-unified .gpa-layout,.st-unified .cgpa-wrap,.st-unified .business-grid,.st-unified .sale-layout{margin-top:0!important}.st-unified .result-card .big{max-width:100%;overflow-wrap:anywhere}

@media(min-width:48rem){.st-seo-stack{grid-template-columns:1fr 1fr}.st-related{grid-column:1/-1}.st-generic-page.st-instant-tool .main{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.st-generic-page.st-instant-tool .hero,.st-generic-page.st-instant-tool .st-site-header,.st-generic-page.st-instant-tool .st-seo-stack,.st-generic-page.st-instant-tool .st-site-footer{grid-column:1/-1}}
@media(max-width:47.99rem){
  body.st-unified{width:100%!important;max-width:100%!important}.st-site-header{width:100%;max-width:100%;padding-top:env(safe-area-inset-top)}.st-header-inner{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;width:calc(100% - 1rem);max-width:calc(100% - 1rem);padding:.55rem 0}.st-header-actions{position:static}.st-breadcrumb{grid-column:1/-1;display:flex;margin-top:.15rem;padding-bottom:0;font-size:.68rem}.st-menu-trigger{display:grid}.st-search-trigger span,.st-theme-trigger span{display:none}.st-search-trigger,.st-theme-trigger{width:var(--st-touch)!important;padding:.35rem!important;justify-content:center}.st-search-panel{position:fixed;z-index:1150;inset:max(.5rem,env(safe-area-inset-top)) .5rem auto;width:auto;max-height:calc(100dvh - 1rem);overflow:auto;border-radius:1rem}.st-header-inner>.st-brand{align-self:center}
  body.st-unified .hero,body.st-unified .calc-hero,body.st-unified .top,body.st-unified .main,body.st-unified .shell,body.st-unified .calc-shell{display:block!important;width:calc(100vw - 1.25rem)!important;max-width:calc(100vw - 1.25rem)!important;min-width:0!important}
  body.st-unified .hero>div,body.st-unified .calc-hero>div,body.st-unified .top>div{width:100%!important;min-width:0!important}body.st-unified .hero p,body.st-unified .calc-hero p,body.st-unified .top p{width:100%!important;overflow-wrap:anywhere}
  body.st-unified .hero h1,body.st-unified .calc-hero h1,body.st-unified .top h1{font-size:clamp(1.75rem,9vw,2.4rem)!important}
  .st-how ol,.st-related>div{grid-template-columns:1fr}.st-site-footer{grid-template-columns:1fr 1fr;padding:1.5rem .8rem}.st-site-footer>div:first-child{grid-column:1/-1}
  body.st-unified .workspace,body.st-unified .calc-grid,body.st-unified .gpa-layout,body.st-unified .cgpa-wrap,body.st-unified .business-grid,body.st-unified .sale-layout,body.st-unified .pdf-workbench{grid-template-columns:minmax(0,1fr)!important}
  body.st-unified .category-tabs,body.st-unified .tabs,body.st-unified .popular-chips{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
  body.st-unified .drop{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:.65rem!important}body.st-unified .drop:has(>.pic){grid-template-columns:auto minmax(0,1fr)!important}body.st-unified .drop>span{min-width:0!important}body.st-unified .drop>button{grid-column:1/-1;width:100%;margin-left:0!important;min-height:2.75rem}
  body.st-unified .pipe{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
  body.st-unified .ledger-head,body.st-unified .semester-row{min-width:34rem}body.st-unified .ledger{overflow-x:auto}
}
@media(max-width:390px){.st-theme-trigger{display:none!important}.st-trust{align-items:flex-start}.st-trust small{display:none}.st-site-footer{grid-template-columns:1fr}.st-site-footer>div:first-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.st-unified *, .st-unified *::before,.st-unified *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
