/* editor93.css */
:root{color-scheme:light;--ink:#151515;--muted:#535651;--line:#d5d8d0;--paper:#f4f5f0;--lime:#d7ff3f;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff;line-height:1.55}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a,input,textarea,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px}a:hover{text-decoration-thickness:2px}:focus-visible{outline:3px solid #1769aa;outline-offset:4px}[hidden]{display:none!important}.shell93{width:min(1320px,calc(100% - 2 * clamp(20px,4vw,64px)));margin:auto}.skip93{position:absolute;top:0;left:12px;padding:12px;background:white;transform:translateY(-150%);z-index:20}.skip93:focus{transform:none}.head93{border-bottom:1px solid var(--line)}.headrow93{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:80px}.brand93{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:1rem;font-weight:700}.brand93 img{width:74px;height:auto;display:block}.back93{display:flex;gap:8px;align-items:center;min-height:44px;font-size:.9rem;font-weight:700;text-decoration:none}.back93 svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.intro93{display:grid;grid-template-columns:1.4fr .6fr;gap:clamp(24px,5vw,80px);align-items:end;padding:clamp(36px,6vw,86px) 0}.eyebrow93{font-size:.82rem;letter-spacing:.075em;font-weight:700;margin:0 0 12px;color:var(--muted)}h1,h2,h3,p{overflow-wrap:anywhere}h1,h2,h3{line-height:1.15;letter-spacing:-.035em;margin:0}h1{font-size:clamp(2.5rem,5.6vw,5.2rem);max-width:13ch}h2{font-size:clamp(1.45rem,2.3vw,2.1rem)}h3{font-size:1.15rem;letter-spacing:-.02em}.lead93{font-size:clamp(1rem,1.5vw,1.25rem);max-width:48ch;margin:20px 0 0}.intro-note93{display:flex;gap:14px;border-top:1px solid var(--line);padding:18px 0 0;align-items:baseline}.intro-note93 p{margin:0;font-size:.94rem;color:var(--muted)}.intro-note93 strong{color:var(--ink)}.dot93{display:block;flex:0 0 12px;height:12px;background:var(--lime);border:1px solid var(--ink)}.work93{border-top:1px solid var(--ink);padding:28px 0 0}.bar93{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:20px}.muted93{font-size:.875rem;color:var(--muted)}.switch93{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);margin-bottom:24px}.switch93 button{min-height:64px;border:0;border-right:1px solid var(--line);background:white;text-align:left;font-weight:700;display:flex;align-items:center;gap:12px;padding:12px 16px}.switch93 button:last-child{border-right:0}.switch93 button span{font-size:.8rem;font-weight:400;color:var(--muted)}.switch93 button[aria-pressed=true]{background:var(--lime);box-shadow:inset 0 -3px var(--ink)}.layout93{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.editor93,.preview93{min-width:0;border:1px solid var(--line);padding:clamp(18px,3vw,34px)}.preview93{background:var(--paper)}.panehead93{margin-bottom:24px}.panehead93 p:last-child{margin:10px 0 0;color:var(--muted)}fieldset{min-width:0;margin:0;padding:0;border:0}label{display:block;font-weight:700;font-size:.95rem;margin:0 0 6px}label span{font-weight:400;color:var(--muted)}input:not([type=checkbox]),textarea,select{width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #858a80;border-radius:3px;background:#fff;margin:0 0 20px;font-size:1rem}textarea{resize:vertical}.times93{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.check93{display:flex;gap:10px;align-items:center;min-height:44px;margin:0 0 16px}.check93 input{accent-color:var(--ink);width:20px;height:20px;flex:none}.actions93{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}.primary93,.secondary93{padding:12px 16px;min-height:48px;font-weight:700;border:1px solid var(--ink);border-radius:3px;transition:background .16s,color .16s}.primary93{background:var(--ink);color:white}.primary93:hover{background:var(--lime);color:var(--ink)}.secondary93{background:white}.secondary93:hover{background:#e9ebe4}.hint93{font-size:.875rem;color:var(--muted);margin:12px 0 0}.error93{border-left:3px solid #a32920;color:#8e2118;padding:10px;margin:0 0 12px;background:#fff4f2}.preview-tabs93{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#e2e5dc;border-radius:4px;margin-bottom:18px}.preview-tabs93 button{background:transparent;min-height:44px;padding:8px;border:0;border-radius:3px;font-size:.92rem}.preview-tabs93 button[aria-pressed=true]{background:white;box-shadow:0 1px 2px #0002;font-weight:700}.screen93{background:white;border:1px solid var(--line);min-height:300px}.readerbrand93{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:16px 20px;line-height:1.1}.bookmark93{display:flex;gap:3px;align-items:center;transform:rotate(-10deg)}.bookmark93 i{width:7px;height:28px;background:var(--ink)}.bookmark93 i:nth-child(2){background:#b6d917;height:23px}.reader93{padding:24px 20px;min-height:210px}.reader93 .eyebrow93{margin-bottom:10px}.reader93 h3{font-size:1.5rem}.reader93 .big93{font-size:clamp(1.5rem,3vw,2.5rem);font-weight:700;letter-spacing:-.04em;margin:12px 0;line-height:1.1}.reader93 p{margin:10px 0 0;white-space:pre-wrap}.reader93 .reader-tag93{display:inline-block;background:var(--lime);padding:4px 9px;font-weight:700;font-size:.875rem;margin-top:16px}.reader93 .reader-quiet93{color:var(--muted)}.status93{min-height:44px;font-size:.9rem;margin:16px 0 0;color:var(--muted)}.bottom93{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding:22px 0 28px}.bottom93 p{font-size:.9rem;color:var(--muted);margin:0}.benefit93{padding:clamp(40px,7vw,88px) 0;display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,5vw,70px)}.benefit93 p{max-width:50ch}.benefit-list93 article{border-top:1px solid var(--line);padding:18px 0}.benefit-list93 p{margin:8px 0 0;color:var(--muted)}.next93{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:40px}.next93 a{font-weight:700;min-height:44px;display:inline-flex;align-items:center}.foot93{background:var(--ink);color:white;padding:32px 0}.foot93 p{max-width:55ch}.foot93 a{display:inline-block;min-height:44px}.sr93{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.note93{padding:16px;border:1px solid var(--line)}@media(max-width:760px){.headrow93{min-height:66px}.brand93{gap:6px;font-size:.9rem}.brand93 img{width:60px}.back93{font-size:.82rem;gap:5px}.intro93,.layout93,.benefit93{grid-template-columns:1fr}.intro93{gap:22px}.intro-note93{padding-top:12px}.switch93{grid-template-columns:1fr}.switch93 button{min-height:50px;border-right:0;border-bottom:1px solid var(--line)}.switch93 button:last-child{border-bottom:0}.switch93 button[aria-pressed=true]{box-shadow:inset 3px 0 var(--ink)}.bar93{align-items:start}.bar93 .muted93{display:none}.layout93{gap:20px}.bottom93{align-items:flex-start;flex-direction:column;gap:12px}.actions93>*{flex:1 1 100%}.reader93{padding:20px 16px}.preview-tabs93 button{font-size:.88rem}.times93{gap:8px}}@media(max-width:360px){.shell93{width:calc(100% - 32px)}.times93{grid-template-columns:1fr}.headrow93{gap:10px}.back93 svg{display:none}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Context links on the existing THX pages. */

.jump93{display:none} @media(max-width:760px){.jump93{display:flex;align-items:center;min-height:44px;margin-top:10px;font-weight:700}.intro93 h1{font-size:clamp(2.25rem,9vw,3.2rem)}.editor93,.preview93{scroll-margin-top:16px}}
/* 9.4: the workflow is a quiet editorial strip, not another card. */
.bridge94{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 24px;margin-bottom:28px;border-bottom:1px solid var(--line)}.bridge94 strong{font-size:1.05rem}.bridge94 p{margin:6px 0 0;max-width:60ch;color:var(--muted);font-size:.95rem}.bridge94 a{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;text-decoration:none;flex-shrink:0}.bridge94 svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.bridge94 a:hover{background:var(--lime)}@media(max-width:760px){.bridge94{align-items:stretch;flex-direction:column;gap:14px}.bridge94 a{flex-shrink:1}}

/* polish99.css */
/* THX 9.9 | rhythm, readable detail, low-friction contact. Final layer; no new components. */
.thx-library .hero99-links{display:flex;flex-wrap:wrap;gap:6px 24px;margin-block:10px 0;align-items:center}
.thx-library .hero99-links .hero86-price{margin:0;min-height:44px;gap:8px;border-bottom:1px solid #999;text-decoration:none}
.thx-library .hero99-links .hero86-price:hover{background:transparent;border-color:currentColor;text-decoration:underline;text-underline-offset:4px}
.thx-library .hero-copy p.mail95-hero-note{margin:12px 0 0;max-width:47ch;font-size:var(--ux-small);line-height:1.5}
.thx-library .hero-copy .btn{font-weight:700}
.thx-library .compact99{padding-block:clamp(36px,4.6vw,64px);gap:clamp(20px,4vw,54px)}
.thx-library .compact99 .scale-rows>div{padding-block:14px;gap:4px 16px}
.thx-library .compact99 .local-photo{margin:18px 0 0}
.thx-library .compact99 .local-photo img{display:block;width:100%;max-height:240px;object-fit:cover}
.thx-library .compact99 .local-photo figcaption,.thx-library .feature-photo small,.thx-library .cms96 .eyebrow{font-size:var(--ux-small);line-height:1.5}
.thx-library .ph98-copy h2{letter-spacing:-.037em}
.thx-library .ph98-principles h3{letter-spacing:-.02em}
.thx-library .ph98-sources>summary:focus-visible,.thx-library .contact-form summary:focus-visible{outline-offset:5px}
.thx-library .contact-grid>div:first-child,.thx-library .contact-grid>div:last-child{min-width:0}
.thx-library .contact-grid .contact-person{line-height:1.5;margin:20px 0 12px}
.thx-library .contact-grid .lead{max-width:49ch;margin-bottom:16px}
.thx-library .contact-grid .mail95-direct{margin:16px 0 0;gap:0}
.thx-library .contact-grid .mail95-direct #direct-email{font-size:var(--ux-text);text-underline-offset:4px}
.thx-library .contact-grid .contact-form{min-width:0;padding-top:20px}
.thx-library .contact-form label{font-weight:600}
.thx-library .contact-form .required99{font-weight:400;font-size:var(--ux-small);color:var(--muted,#555)}
.thx-library .contact-form #form-mode{line-height:1.5;margin:0 0 10px;max-width:64ch}
.thx-library .contact-form[data-mode=disabled] #form-mode{border-left:2px solid currentColor;padding:10px 14px;background:#f0f0ec;color:#41413e}
.thx-library .contact-form #submit-contact:disabled{background:#e2e2db;color:#53534e;border-color:#96968f;opacity:1}
.thx-library .contact-form #submit-contact:not(:disabled){background:var(--lime);color:#111}
.thx-library .contact-form :is(#contact-status,#scope-selected):empty{display:none!important}
.thx-library .contact-form #contact-status:not(:empty){padding:12px 0;line-height:1.55;margin-top:8px}
.thx-library .contact-form #scope-help{margin:8px 0 12px}
.thx-library .contact-form #contact-privacy-note{margin:16px 0 0}
.thx-library .contact-form :is(input,textarea):focus-visible{outline:2px solid currentColor;outline-offset:2px}
.contact99-page .thx-library .edition-intro{padding-bottom:30px}
.contact99-page .thx-library .edition-copy h1{max-width:18ch;font-size:calc(clamp(32px,4.2vw,60px)*var(--thx-text-scale,1))}
.contact99-page .thx-library .edition-plate{max-width:420px;justify-self:end}
.contact99-page .thx-library #kontakt>.contact-grid{grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);align-items:start;gap:clamp(32px,7vw,100px);margin-block:0 48px}
.contact99-page .thx-library #kontakt>.contact-grid>form{border-top:0;padding-top:0}
.contact99-page .thx-library #kontakt>.contact-grid>div{padding:24px 0;border-top:1px solid var(--ux-rule)}
.contact99-page .thx-library #kontakt>.contact-grid>div h2{font-size:calc(clamp(24px,3vw,38px)*var(--thx-text-scale,1))}
.contact99-page .thx-library #kontakt>.contact-grid>form h2{margin:0 0 20px}
.contact99-page .thx-library #kontakt{padding-top:36px}
.thx-library .foot .footer-label{font-size:var(--ux-small)}
.thx-library .foot .footer-links a{font-weight:500;overflow-wrap:anywhere}
.thx-library .foot .footer-links a:hover{text-decoration:underline;text-underline-offset:4px}
.thx-library .foot .footer-bottom{border-top:1px solid #515151}
html.thx-high .thx-library .contact-form[data-mode=disabled] #form-mode{background:#000;color:#fff}
html.thx-high .thx-library .contact-form #submit-contact:disabled{background:#000!important;color:#fff!important;border-color:#fff!important}
html.thx-emphasis .thx-library .hero99-links a{text-decoration:underline}
/* The demos have their own visual identities; match readability without overwriting their palette. */
.task-main .task-kicker,.task-main .task-eyebrow,.task-main .task-note{font-size:14px;line-height:1.5}
.back93,.eyebrow93,.switch93 button span{font-size:14px;line-height:1.5}
.foot93 a{text-underline-offset:4px}
@media(max-width:760px){
.thx-library .hero-title{padding-block:24px;gap:18px}
.thx-library .hero-copy p{margin-bottom:16px}
.thx-library .hero99-links{gap:4px 18px}
.thx-library .hero99-links .hero86-price{font-size:var(--ux-control);max-width:100%}
.thx-library .hero-copy p.mail95-hero-note{margin-top:10px}
.thx-library .cover-text{padding:22px 20px;gap:14px}
.thx-library .swipe-hint{padding-block:4px}
.thx-library .compact99{padding-block:40px;gap:18px}
.thx-library .compact99 .local-photo img{max-height:180px}
.thx-library .compact99 .scale-rows>div{padding-block:14px;gap:5px}
.thx-library .philosophy98{padding-block:44px}
.thx-library .ph98-lead{gap:22px}
.thx-library .ph98-principles{margin-top:24px}
.thx-library .ph98-principles article{padding-block:18px}
.thx-library .ph98-end{padding-block:20px}
.thx-library .cms96{padding-block:40px;gap:20px}
.thx-library .cms96-points article{padding-block:16px}
.thx-library .feature-photo img{aspect-ratio:16/10}
.thx-library .contact-grid .contact-form>label{margin-top:18px}
.thx-library .contact-grid{gap:24px}
.thx-library .contact-grid .contact-person{margin-top:14px}
.thx-library .contact-grid .mail95-direct{margin-top:12px}
.contact99-page .thx-library .edition-plate{display:none}
.contact99-page .thx-library .edition-intro{padding-block:22px 24px}
.contact99-page .thx-library #kontakt{padding-top:26px}
.contact99-page .thx-library #kontakt>.contact-grid{grid-template-columns:1fr;gap:30px;margin-bottom:36px}
.contact99-page .thx-library .edition-copy h1{font-size:calc(clamp(30px,8vw,38px)*var(--thx-text-scale,1));line-height:1.13}
.thx-library .foot .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px}
.thx-library .foot .footer-brand,.thx-library .foot .footer-bottom,.thx-library .foot .footer-links:last-of-type{grid-column:1/-1}
.thx-library .foot .footer-links{padding-top:14px}
.thx-library .foot .footer-links a{font-size:var(--ux-control);line-height:1.45;padding:8px 0;min-height:44px}
.thx-library .foot .footer-links .thx-icon{width:17px;height:17px}
.thx-library .foot .footer-links:last-of-type{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.thx-library .foot .footer-links:last-of-type .footer-label{grid-column:1/-1}
}
@media(max-width:359px){.thx-library .foot .footer-grid,.thx-library .foot .footer-links:last-of-type{grid-template-columns:1fr}.thx-library .hero99-links{gap:4px 12px}}
html.thx-enlarged .thx-library .foot .footer-grid,html.thx-enlarged .thx-library .foot .footer-links:last-of-type,html.thx-enlarged .contact99-page .thx-library #kontakt>.contact-grid{grid-template-columns:1fr}
@media(prefers-reduced-motion:reduce){.thx-library .hero99-links a{transition:none}}
.thx-library .contact-form #form-mode a{font-weight:650;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}
@media(max-width:760px){.contact99-page .thx-library .edition-actions{display:none}.contact99-page .thx-library .edition-intro{padding-bottom:22px}}

/* 10.1: controls and accessible targets; no global layout reset */
.thx-library .ed-textlink,.thx-library footer a:not(.brandtext){min-height:24px;display:inline-flex;align-items:center;max-width:100%}
input[type=checkbox],input[type=radio]{min-width:24px;min-height:24px;flex-shrink:0}
@media(max-width:600px){.thx-library .ed-textlink{min-height:44px}.thx-library footer a:not(.brandtext){min-height:32px}}
