:root {
  color-scheme:light;
  --bg:#f5f7f5;--panel:#fff;--text:#142d29;--muted:#5d706b;--line:#dce6df;
  --brand:#14554a;--deep:#103d37;--green:#247966;--soft:#e8f2eb;--pale:#f0f6f1;
  --radius:18px;--shadow:0 3px 8px #193c2b07;--danger:#a63835;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px;font-synthesis:none;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--bg);color:var(--text);line-height:1.55;min-width:0}
button,input,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed}
a{color:var(--brand);text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #489b8c;outline-offset:3px}
button, a, input, select { -webkit-tap-highlight-color:transparent; }
svg{flex-shrink:0;vertical-align:middle}
p,h1,h2,h3,h4,figure{margin:0}
h1,h2,h3,h4{line-height:1.25;letter-spacing:-.027em}
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]), select{
  width:100%;min-width:0;border:1px solid #cddbd2;background:#fff;border-radius:10px;padding:10px 12px;min-height:45px;color:var(--text);font-size:.94rem;
}
input[type=checkbox],input[type=radio]{accent-color:var(--green);width:17px;height:17px;flex-shrink:0;margin:0}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' stroke='%235d706b' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 11px center!important;background-size:19px!important;padding-right:34px!important}
input:disabled, select:disabled{opacity:.55;cursor:not-allowed}
.skip-link{position:fixed;top:8px;left:10px;transform:translateY(-150%);background:var(--deep);color:white;z-index:10;padding:10px}
.skip-link:focus{transform:none}
.topbar{background:white;border-bottom:1px solid var(--line)}
.topbar-inner,.shell,.footer-inner,.footer-bottom{max-width:1320px;margin:auto;padding-left:36px;padding-right:36px}
.topbar-inner{height:74px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:inline-flex;align-items:center;gap:11px;font-weight:800;font-size:1.5rem;letter-spacing:-.05em;color:var(--deep);line-height:1;white-space:nowrap}
.brand img{width:38px;height:38px}
.brand-dot{color:#3b9881}
.top-links{display:flex;gap:32px;align-items:center}
.top-links a{font-size:.92rem;font-weight:600;color:#536861}
.top-links a:hover,.top-links a[aria-current]{color:var(--brand)}
.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;border:1px solid transparent;min-height:45px;border-radius:10px;padding:10px 17px;font-size:.93rem;font-weight:700;line-height:1.2;transition:background-color .15s,border-color .15s,box-shadow .15s;white-space:normal;text-align:center}
.button svg{width:19px;height:19px}
.button.primary{background:var(--deep);color:#fff;border-color:var(--deep);box-shadow:0 2px 4px #142f2810}
.button.primary:hover:not(:disabled){background:#1c6052;border-color:#1c6052}
.button.primary:disabled{background:#e0e9e3;border-color:#e0e9e3;color:#758b81;box-shadow:none}
.button.secondary{background:#fff;border-color:#d6e2da;color:var(--brand)}
.button.secondary:hover:not(:disabled){background:#edf6f0;border-color:#b6d1c3}
.button.secondary:disabled{opacity:.5}
.button.small{padding:9px 14px;min-height:39px;font-size:.88rem}
.text-button{border:none;background:transparent;color:var(--brand);font-size:.875rem;font-weight:700;padding:4px 0;line-height:1.5;text-decoration:none}
.text-button:hover:not(:disabled){text-decoration:underline;text-underline-offset:3px}
.text-button:disabled{opacity:.4}
.breadcrumbs{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--muted);font-size:.875rem;margin:21px 0 15px}
.breadcrumbs strong{font-weight:650;color:var(--deep)}
.hero{display:grid;grid-template-columns:1.24fr .9fr;position:relative;overflow:hidden;background:#dfece3;border:1px solid #d2e1d6;border-radius:23px;min-height:224px}
.hero-content{padding:28px 34px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.hero-tag{display:inline-flex;align-items:center;gap:7px;font-weight:750;letter-spacing:.105em;font-size:.76rem;color:#346b57}
.hero-tag svg{height:17px;width:17px}
.hero h1{font-size:clamp(2.1rem,3.4vw,3rem);font-weight:780;letter-spacing:-.056em;margin:12px 0 9px;line-height:1.08;color:#143e34}
.hero-content>p{font-size:1rem;color:#46665a;max-width:525px;line-height:1.55}
.hero-meta{display:flex;gap:18px;flex-wrap:wrap;margin-top:17px;font-size:.81rem;font-weight:650;color:#2a6854}
.hero-meta span{display:inline-flex;align-items:center;gap:5px}
.hero-meta svg{width:16px;height:16px}
.hero-art{position:relative;isolation:isolate;min-height:100%;overflow:hidden}
.hero-art img{display:block;width:100%;height:100%;position:absolute;object-fit:cover;object-position:50% 55%}
.hero-art::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#dfece327 10%,transparent 55%),linear-gradient(0deg,#162f2ae6,transparent 53%);pointer-events:none}
.hero-caption{position:absolute;z-index:1;left:23px;bottom:15px;font-size:.77rem;color:#fff;letter-spacing:.004em}
.hero-caption strong{font-size:.92rem}
.workspace-layout{display:grid;grid-template-columns:222px minmax(0,1fr);gap:27px;align-items:start;margin:29px 0 46px}
.sidebar{min-width:0;display:flex;flex-direction:column;gap:14px}
.sidebar-top{display:flex;align-items:center;justify-content:space-between;min-height:24px;padding:0 3px}
.section-eyebrow{font-size:.75rem;font-weight:750;letter-spacing:.1em;color:#5f776d;text-transform:uppercase;line-height:1.2}
.tool-count{font-size:.74rem;color:var(--muted);background:#e7ede8;border-radius:5px;padding:2px 7px;white-space:nowrap}
#toolNav{display:flex;flex-direction:column;gap:16px}
.nav-group h3{font-size:.83rem;font-weight:650;color:#6b7d74;margin:0 4px 7px;letter-spacing:0}
.tool-link{display:flex;align-items:center;gap:10px;padding:10px 12px;margin:3px 0;border-radius:10px;color:#3c564f;font-size:.91rem;font-weight:630;border:1px solid transparent;line-height:1.2;min-height:46px}
.tool-icon{height:32px;width:32px;display:grid;place-items:center;border-radius:8px;background:#e8efea;color:#53766b;flex-shrink:0}
.tool-icon svg{width:18px;height:18px}
.tool-link:hover{background:#eaf1ec}
.tool-link.active{background:#e1eee6;border-color:#cedfd4;color:#175344;font-weight:750}
.tool-link.active .tool-icon{background:var(--deep);color:#e5f5eb}
.local-card{margin-top:4px;padding:17px;background:#ecf3ed;border:1px solid #dbe8df;border-radius:13px}
.local-icon{display:grid;place-items:center;width:34px;height:34px;background:#d9ecdf;border-radius:9px;color:#246a55;margin-bottom:10px}
.local-icon svg{width:19px;height:19px}
.local-card h3{font-size:.96rem;font-weight:750;letter-spacing:-.02em}
.local-card p{font-size:.83rem;color:#536e61;line-height:1.6;margin:7px 0 10px}
.local-card a{font-size:.83rem;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.work-main{min-width:0}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}
.section-head h2{font-size:1.55rem;font-weight:750;margin-top:5px}
.local-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;background:#e9f2eb;color:#3d7460;border:1px solid #d9e8dd;border-radius:999px;font-size:.77rem;font-weight:700;white-space:nowrap}
.signal{display:block;width:7px;height:7px;border-radius:50%;background:#368b69}
.bench-grid{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,1fr);gap:16px;align-items:start}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.files-card,.settings-card{padding:20px;min-width:0}
.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:17px}
.panel-heading h3{font-size:1.15rem;font-weight:750}
.panel-heading p{font-size:.87rem;color:var(--muted);margin-top:4px;line-height:1.4}
.setting-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eff4f0;color:#5c7b6d}
.setting-icon svg{width:19px;height:19px}
.dropzone{position:relative;border:1.7px dashed #bdd4c6;border-radius:13px;background:#f5faf6;padding:24px 12px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;transition:background .14s,border-color .14s;min-height:244px}
.dropzone.is-dragging{background:#d9eee0;border-color:var(--green)}
.dropzone.has-files{min-height:156px;padding:13px 12px}
.dropzone.has-files .drop-icon{width:34px;height:34px;margin-bottom:8px}
.dropzone.has-files .drop-icon svg{width:20px;height:20px}
.dropzone.is-busy{opacity:.78}
.drop-icon{display:grid;place-items:center;width:52px;height:52px;background:#e1eee5;color:#255f50;border:1px solid #d2e5d8;border-radius:14px;margin-bottom:13px}
.drop-icon svg{width:25px;height:25px}
.dropzone h4{font-size:1.04rem;font-weight:730;letter-spacing:-.02em}
.dropzone p{color:#647e70;font-size:.82rem;margin-top:5px;margin-bottom:16px}
.dropzone.has-files p{margin-bottom:11px}
.dropzone .button{min-width:142px}
.sample-button{margin-top:8px;font-weight:650}
.file-info{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.77rem;color:#667e73;margin-top:12px;flex-wrap:wrap}
#queueSummary{font-weight:700;color:#537165}
.file-list{display:flex;flex-direction:column;gap:8px;list-style:none;padding:0;margin:0}
.file-list:not(:empty){margin-top:14px}
.file-row,.result-row{display:flex;align-items:center;gap:11px;padding:10px;border:1px solid #e2eae4;border-radius:11px;background:#fff;min-width:0}
.file-thumb,.result-thumb{width:51px;height:51px;display:grid;place-items:center;overflow:hidden;background:#e5efe8;color:#467363;border-radius:8px;flex-shrink:0}
.file-thumb img,.result-thumb img{width:100%;height:100%;object-fit:cover}
.file-thumb.pdf,.result-thumb.pdf{background:#fbf0ee;color:#a95749;grid-template-rows:24px 15px;align-content:center;font-size:.62rem;font-weight:800;line-height:1}
.file-thumb.pdf svg,.result-thumb.pdf svg{width:21px;height:21px}
.file-details,.result-info{flex:1;min-width:0}
.file-name,.result-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.89rem;font-weight:670;line-height:1.35;max-width:100%}
.file-meta,.result-meta{margin-top:5px;font-size:.77rem;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.row-actions,.result-actions{display:flex;gap:4px;align-items:center;flex-shrink:0}
.icon-button{height:33px;width:33px;display:grid;place-items:center;border:1px solid transparent;border-radius:8px;background:transparent;color:#5e7c6f;padding:0}
.icon-button svg{width:19px;height:19px}
.icon-button:hover:not(:disabled){color:var(--deep);background:#eef4ef}
.icon-button.remove:hover:not(:disabled){color:#a63b35;background:#fcefee}
.icon-button:disabled{opacity:.32}
.messages:not(:empty){margin-top:12px}
.message{font-size:.83rem;padding:10px 12px;border-radius:8px;background:#eef5ef;color:#31684f;overflow-wrap:anywhere;margin-top:7px}
.message.error{background:#fdf0ed;color:#9d3934;border:1px solid #f3d8d0}
.field{margin-bottom:17px;min-width:0}
.field>label,.field legend,.field-label{font-size:.875rem;font-weight:700;display:block;margin-bottom:7px;color:#334e44}
fieldset.field{border:0;padding:0;min-width:0}
.field:first-child{margin-top:1px}
.field-help{font-size:.79rem;color:#688075;line-height:1.5;margin-top:7px}
.format-options,.choice-options,.presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0}
.choice-options{grid-template-columns:repeat(2,minmax(0,1fr))}
.format-options.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.option,.preset{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;font-size:.82rem;font-weight:650;color:#546d63;border:1px solid #d5e1d9;border-radius:9px;background:#fff;padding:10px 5px;min-height:42px;cursor:pointer;line-height:1.25;min-width:0}
.option input{position:absolute;opacity:0;width:100%;height:100%;inset:0;cursor:pointer}
.option:has(input:checked){background:#e6f1e9;border-color:#81b5a1;color:var(--deep);font-weight:760}
.option:has(input:focus-visible){outline:3px solid #489b8c;outline-offset:2px}
.option:hover,.preset:hover:not(:disabled){background:#f0f6f1;border-color:#aac8b8}
.option:has(input:disabled),.preset:disabled{opacity:.55;cursor:not-allowed}
.preset{font-size:.77rem;flex-direction:column;gap:3px;padding:7px 4px;min-height:46px}
.preset span{display:block;font-size:.69rem;color:#658073;font-weight:500}
.preset.selected{border-color:#6fa58e;background:#e6f1e9;color:var(--deep)}
.range-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.range-top label{font-size:.875rem;font-weight:700;color:#334e44}
.range-value{font-size:.84rem;font-weight:750;padding:3px 8px;background:#e7f1e9;color:#25664f;border-radius:6px}
input[type=range]{display:block;width:100%;accent-color:var(--green);cursor:pointer;margin:4px 0 0;height:20px}
.range-ends{display:flex;justify-content:space-between;margin-top:4px;color:var(--muted);font-size:.74rem}
.quality-note{background:#f1f6f1;border-radius:8px;padding:11px 12px;color:#557065;font-size:.82rem;line-height:1.45;margin-top:7px}
.number-wrap{position:relative;min-width:0}
.number-wrap .unit{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:.82rem;color:#627b6f;pointer-events:none}
.number-wrap input{padding-right:42px!important}
.number-wrap input::-webkit-inner-spin-button{appearance:none}
.duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.duo label{display:block;font-size:.875rem;font-weight:700;margin-bottom:6px}
.checkbox-label{display:flex!important;gap:9px;align-items:flex-start;cursor:pointer;font-size:.86rem!important;font-weight:600!important;line-height:1.5}
.checkbox-label input{margin-top:2px}
.compact-info{background:#f0f6f2;border:1px solid #dfebe1;border-radius:9px;padding:12px;font-size:.84rem;color:#4d6b5d;margin:2px 0 17px;line-height:1.6}
.run-section{padding-top:16px;margin-top:4px;border-top:1px solid #e4ece6}
.run-button{width:100%;min-height:48px;font-size:.94rem}
.run-hint{font-size:.76rem;color:#718578;text-align:center;margin-top:9px;line-height:1.4}
.job-progress{margin-bottom:10px}
.job-line{display:flex;justify-content:space-between;gap:10px;font-size:.8rem;font-weight:650;color:#537165}
progress{height:6px;width:100%;appearance:none;background:#e3ebe4;border:none;border-radius:999px;overflow:hidden;display:block;margin-top:7px}
progress::-webkit-progress-bar{background:#e3ebe4}
progress::-webkit-progress-value{background:#388e6f;border-radius:999px}
progress::-moz-progress-bar{background:#388e6f}
.results-card{margin-top:17px;padding:20px}
.result-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;flex-wrap:wrap}
.result-tag{display:inline-flex;align-items:center;gap:4px;font-size:.77rem;font-weight:730;color:#317d5e;margin-bottom:4px;letter-spacing:.02em}
.result-tag svg{height:17px;width:17px}
.result-heading h3{font-size:1.3rem}
.result-heading p{color:#60786a;font-size:.85rem;margin-top:4px}
#resultsList{display:flex;flex-direction:column;gap:8px}
.result-row{padding:11px 12px}
.result-actions .button{min-height:34px;padding:7px 11px;font-size:.82rem}
.savings{font-size:.75rem;font-weight:740;border-radius:5px;padding:4px 7px;background:#e5f3e8;color:#28704c;white-space:nowrap;margin-right:5px}
.savings.neutral{background:#f2efdf;color:#806f37}
.guide{margin-top:28px;padding-top:5px}
.guide h2{font-size:1.45rem;margin-top:6px;font-weight:740}
.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:16px 0}
.guide-step{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px;min-width:0}
.guide-number{display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#e6f0e9;color:#31664e;font-weight:740;font-size:.82rem;margin-bottom:10px}
.guide-step h3{font-size:.94rem;font-weight:720;line-height:1.35;margin-bottom:6px;letter-spacing:-.01em}
.guide-step p{font-size:.83rem;line-height:1.65;color:#5c7166}
.tip{display:flex;align-items:flex-start;gap:10px;padding:13px 16px;border:1px solid #dce9df;border-radius:11px;font-size:.84rem;background:#eef5ef;color:#4c6c5d;line-height:1.6}
.tip svg{margin-top:2px;width:18px;height:18px;color:#4e846c}
.footer{border-top:1px solid var(--line);background:#fff;padding:26px 0 18px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.footer-inner .brand{font-size:1.19rem;gap:8px}
.footer-inner .brand img{width:31px;height:31px}
.footer-inner p{color:#677d71;font-size:.86rem}
.footer-inner>div{display:flex;gap:20px;font-size:.86rem;font-weight:620}
.footer-bottom{margin-top:20px;font-size:.75rem;color:#73887c}
.modal{border:1px solid #d5e3db;box-shadow:0 24px 90px #122b2452;border-radius:18px;background:#fff;color:var(--text);padding:24px;width:min(520px,calc(100% - 28px));max-height:90vh;overflow:auto}
.modal::backdrop{background:#142c27a6;backdrop-filter:blur(2px)}
.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.modal h2{font-size:1.38rem}
.modal p{color:var(--muted);font-size:.92rem;margin-bottom:18px}
.modal label{display:block;font-size:.87rem;font-weight:650;margin-bottom:7px}
.copy-field{display:flex;gap:6px}
.copy-field input{flex:1}
.modal .muted{font-size:.84rem;color:var(--muted);margin:8px 0 0}
.compare-modal{width:min(920px,calc(100% - 28px))}
.compare-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.compare-grid figure{min-width:0}
.compare-grid figcaption{display:flex;justify-content:space-between;align-items:start;gap:6px;font-size:.92rem;font-weight:700;flex-wrap:wrap;margin-bottom:8px}
.compare-grid figcaption span{font-size:.76rem;color:var(--muted);font-weight:500;overflow-wrap:anywhere}
.preview-image{border-radius:12px;min-height:150px;height:350px;max-height:48vh;background-color:#fff;background-image:linear-gradient(45deg,#e1e8e1 25%,transparent 25%),linear-gradient(-45deg,#e1e8e1 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e1e8e1 75%),linear-gradient(-45deg,transparent 75%,#e1e8e1 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;overflow:hidden;display:grid;place-items:center}
.preview-image img{width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}
.noscript{background:#fff0da;color:#663e14;padding:15px;text-align:center}
.privacy-page{max-width:890px;padding:0 28px;margin:0 auto 50px}
.privacy-hero{background:#e1eee4;border-radius:22px;padding:34px;margin-bottom:20px}
.privacy-hero h1{font-size:clamp(2rem,4vw,3rem);margin:10px 0}
.privacy-hero p{color:#49695b;max-width:65ch}
.privacy-content{padding:30px}
.privacy-content h2{font-size:1.15rem;margin:24px 0 8px}
.privacy-content h2:first-child{margin-top:0}
.privacy-content p{color:#4c655c;line-height:1.8}
.privacy-content .muted{font-size:.84rem;margin:25px 0 14px;color:var(--muted)}
@media(max-width:1100px){
  .topbar-inner,.shell,.footer-inner,.footer-bottom{padding-left:23px;padding-right:23px}
  .workspace-layout{grid-template-columns:190px minmax(0,1fr);gap:19px}
  .tool-link{padding:9px;gap:7px}
  .files-card,.settings-card{padding:16px}
}
@media(max-width:900px){
  .workspace-layout{grid-template-columns:minmax(0,1fr);margin-top:21px;gap:23px}
  .sidebar{gap:10px}
  #toolNav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .nav-group{background:white;padding:10px;border:1px solid var(--line);border-radius:13px;min-width:0}
  .nav-group h3{margin-bottom:7px}
  .tool-link{padding:6px 8px;margin:2px 0;font-size:.88rem;min-height:43px}
  .local-card{display:none}
  .bench-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
  .hero{min-height:210px}
  .hero-content{padding:24px}
}
@media(max-width:640px){
  .topbar-inner,.shell,.footer-inner,.footer-bottom{padding-left:15px;padding-right:15px}
  .topbar-inner{height:65px;gap:8px}
  .brand{font-size:1.34rem;gap:8px}
  .brand img{width:35px;height:35px}
  .top-links{display:none}
  .topbar .button{font-size:.8rem;padding:8px 10px;min-height:35px}
  .topbar .button svg{height:15px;width:15px}
  .breadcrumbs{font-size:.78rem;gap:6px;margin:16px 0 12px}
  .hero{display:block;border-radius:17px;min-height:auto}
  .hero-content{padding:20px}
  .hero h1{font-size:2.15rem;margin:10px 0 7px}
  .hero-content>p{font-size:.94rem}
  .hero-meta{margin-top:12px;gap:13px}
  .hero-art{height:108px;min-height:0}
  .hero-art img{object-position:50% 55%}
  .hero-caption{left:15px;bottom:8px;font-size:.64rem}
  .hero-caption strong{font-size:.77rem}
  .workspace-layout{margin:19px 0 30px;gap:20px}
  #toolNav{gap:8px}
  .nav-group{padding:8px 5px}
  .nav-group h3{font-size:.76rem;margin:0 4px 6px}
  .tool-link{font-size:.83rem;gap:6px;padding:7px 5px;min-height:41px}
  .tool-icon{height:27px;width:27px;border-radius:7px}
  .tool-icon svg{height:16px;width:16px}
  .section-head{align-items:center;margin-bottom:12px;gap:6px}
  .section-head h2{font-size:1.37rem}
  .local-pill{font-size:.69rem;padding:6px 7px;gap:5px}
  .bench-grid{grid-template-columns:minmax(0,1fr);gap:13px}
  .files-card,.settings-card,.results-card{padding:16px;border-radius:15px}
  .dropzone{min-height:229px;padding:20px 10px 16px}
  .guide-grid{grid-template-columns:minmax(0,1fr);gap:8px}
  .guide-step{padding:15px}
  .guide-step p{font-size:.89rem}
  .guide h2{font-size:1.35rem}
  .file-row,.result-row{padding:9px;gap:8px}
  .file-thumb,.result-thumb{width:44px;height:44px}
  .file-meta,.result-meta{font-size:.74rem}
  .row-actions{gap:0}
  .row-actions .icon-button{width:29px}
  .result-row{flex-wrap:wrap}
  .result-actions{margin-left:auto;justify-content:flex-end;flex-wrap:wrap}
  .footer-inner{flex-wrap:wrap;gap:13px}
  .footer-inner p{width:100%;order:3}
  .footer-bottom{margin-top:13px}
  .compare-grid{grid-template-columns:minmax(0,1fr)}
  .preview-image{height:230px;max-height:35vh}
  .modal{padding:19px}
  .privacy-page{padding:0 15px}
  .privacy-hero,.privacy-content{padding:20px}
}
@media(max-width:360px){
  .shell,.topbar-inner,.footer-inner,.footer-bottom{padding-left:11px;padding-right:11px}
  .hero-content{padding:18px}
  .hero h1{font-size:1.9rem}
  .hero-meta{gap:9px;font-size:.76rem}
  .tool-link{font-size:.79rem;gap:5px}
  .tool-icon{width:24px;height:24px}
  .files-card,.settings-card,.results-card{padding:12px}
  .file-info{font-size:.72rem;gap:6px}
  .local-pill{font-size:.65rem}
  .section-head h2{font-size:1.22rem}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
/* Keep the main task action within comfortable reach on standard desktop screens. */
@media(min-width:901px){
  .hero{min-height:210px}
  .hero-content{padding-top:23px;padding-bottom:23px}
  .workspace-layout{margin-top:24px}
  .panel-heading{margin-bottom:14px}
  .files-card,.settings-card{padding:18px}
  .field{margin-bottom:14px}
  .quality-note{padding:9px 11px}
  .run-section{padding-top:13px}
}
.field-help,.quality-note,.guide-step p{font-size:.875rem}
.guide-step h3{font-size:1rem}
#resetSettings{font-size:.81rem;white-space:nowrap}
@media(max-width:640px){
  /* Put the workspace closer to the initial view on handheld screens. */
  .hero-art{height:76px}
  .hero-content{padding:18px}
  .hero-tag{font-size:.71rem}
  .workspace-layout{gap:16px}
  .nav-group{padding-top:7px;padding-bottom:7px}
}

/* Reading and resource pages: substantive help, independent of file workspaces. */
.guide-resource-link{display:flex;align-items:center;gap:10px;padding:14px 15px;background:#fff;border:1px solid #dce6df;border-radius:11px;margin-top:12px;font-size:.88rem;color:var(--brand);font-weight:650;flex-wrap:wrap}
.guide-resource-link svg{width:19px;height:19px}
.guide-resource-link span{margin-left:auto;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.resource-shell{max-width:1100px;padding:0 30px;margin:0 auto 50px}
.resource-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);border-radius:20px;background:#e1eee4;overflow:hidden;border:1px solid #d2e1d6;min-height:216px}
.resource-hero>div{padding:31px;align-self:center}
.resource-hero h1{font-size:clamp(2rem,3.4vw,3rem);letter-spacing:-.045em;margin:10px 0}
.resource-hero p:last-child{color:#46685a;line-height:1.7}
.resource-hero img{width:100%;height:100%;min-height:200px;object-fit:cover}
.resource-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:23px 0}
.resource-card{display:flex;flex-direction:column;padding:23px;min-width:0;color:var(--text);transition:background .16s,border-color .16s}
.resource-card:hover{background:#f9fcf9;border-color:#88b5a4}
.resource-card h2{font-size:1.2rem;line-height:1.35;margin:10px 0}
.resource-card p{font-size:.95rem;line-height:1.65;color:var(--muted);margin-bottom:15px}
.resource-time{font-size:.84rem;font-weight:720;color:#306c54;margin-top:auto}
.resource-about{padding:27px}
.resource-about h2{font-size:1.4rem;margin-bottom:12px}
.resource-about p{line-height:1.75;color:#4c655c;margin:12px 0}
.resource-about p a{text-decoration:underline;text-underline-offset:3px}
.resource-tools{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.article-shell{max-width:920px}
.article-card{padding:clamp(22px,4.5vw,48px)}
.article-header{border-bottom:1px solid var(--line);padding-bottom:24px}
.article-header h1{font-size:clamp(2rem,4vw,2.9rem);margin:12px 0;letter-spacing:-.045em;line-height:1.13}
.article-header>p{font-size:1.08rem;color:#4c6b5e;line-height:1.75}
.article-section{margin-top:31px}
.article-section h2{font-size:1.38rem;line-height:1.35;margin-bottom:11px}
.article-section p,.article-steps{color:#425f53;line-height:1.8;font-size:1rem}
.article-section p+p{margin-top:12px}
.article-steps{padding-left:24px;margin:0}
.article-steps li{padding-left:4px;margin-bottom:10px}
.guide-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:11px;margin:12px 0}
.guide-table{width:100%;border-collapse:collapse;text-align:left;font-size:.94rem;color:#425f53;line-height:1.6}
.guide-table th,.guide-table td{padding:12px 13px;vertical-align:top;border-bottom:1px solid var(--line)}
.guide-table thead th{background:#e8f2eb;color:var(--deep);font-size:.88rem}
.guide-table tbody th{color:var(--text);font-weight:700}
.guide-table tr:last-child th,.guide-table tr:last-child td{border-bottom:none}
.publisher-placement{margin:28px 0;padding:14px 16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}
.publisher-label{display:block;color:var(--muted);font-size:.78rem;margin-bottom:10px}
.article-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px;background:#e8f2eb;border:1px solid #d4e5d9;border-radius:13px;margin-top:30px}
.article-cta h2{font-size:1.15rem;margin-bottom:5px}
.article-cta p{font-size:.93rem;color:#4d6b5d}
.article-cta .button{flex-shrink:0}
.related-heading{margin-top:25px;font-size:1.3rem}
.related-list{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}
@media(max-width:800px){
  .resource-shell{padding-left:20px;padding-right:20px}
  .resource-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .resource-shell{padding-left:15px;padding-right:15px}
  .resource-hero{grid-template-columns:minmax(0,1fr)}
  .resource-hero>div{padding:22px}
  .resource-hero img{height:120px;min-height:120px}
  .resource-list,.related-list{grid-template-columns:minmax(0,1fr);gap:11px}
  .resource-card,.resource-about{padding:19px}
  .article-card{padding:20px}
  .article-cta{align-items:stretch;flex-direction:column;gap:12px}
  .guide-table th,.guide-table td{padding:8px;font-size:.86rem;overflow-wrap:anywhere}
  .guide-resource-link span{margin-left:29px}
  .footer-inner>div{flex-wrap:wrap;gap:13px}
}
