:root{color:#172026;background:#f6f8fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px}button,textarea,label{font:inherit}button{align-items:center;background:#fff;border:1px solid #d5dde7;border-radius:8px;color:#172026;cursor:pointer;display:inline-flex;font-weight:700;gap:.45rem;min-height:40px;padding:.55rem .75rem;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}button:hover{border-color:#2f7d6f;box-shadow:0 8px 22px #2234421f;transform:translateY(-1px)}button.active{background:#1f6f61;border-color:#1f6f61;color:#fff}a{color:inherit;text-decoration:none}main{margin:0 auto;max-width:1440px}.site-header{align-items:center;display:flex;gap:1rem;justify-content:space-between;padding:1.1rem clamp(1rem,4vw,3rem)}.brand{align-items:center;display:inline-flex;gap:.75rem}.brand-mark{align-items:center;background:#1f6f61;border-radius:8px;color:#fff;display:inline-flex;height:44px;justify-content:center;width:44px}.brand strong,.brand small{display:block}.brand small{color:#647384;font-size:.8rem}nav{display:flex;gap:1rem}nav a{color:#4d5e6d;font-weight:700}.hero{align-items:end;background:linear-gradient(135deg,#1f6f61f0,#13232ee6),radial-gradient(circle at 70% 20%,rgba(245,181,88,.55),transparent 34%),#16313c;color:#fff;display:grid;gap:1.5rem;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);min-height:360px;padding:clamp(2rem,5vw,4rem) clamp(1rem,4vw,3rem)}.hero h1{font-size:clamp(2.5rem,6vw,5.8rem);letter-spacing:0;line-height:.95;margin:0;max-width:980px}.hero p{color:#ffffffd1;font-size:1.08rem;line-height:1.7;max-width:720px}.eyebrow{color:#ce6a49;font-size:.78rem;font-weight:800;letter-spacing:.08em;margin:0 0 .75rem;text-transform:uppercase}.hero .eyebrow{color:#ffd27a}.hero-panel{align-items:center;background:#ffffff1f;border:1px solid rgba(255,255,255,.22);border-radius:8px;display:flex;gap:.75rem;padding:1rem}.workspace{padding:1.5rem clamp(1rem,4vw,3rem) 3rem}.mode-tabs{display:flex;flex-wrap:wrap;gap:.65rem;margin-bottom:1rem}.mode-tabs button{min-width:104px;justify-content:center}.toolbar{display:flex;flex-wrap:wrap;gap:.65rem;margin-bottom:1rem}.editor-grid{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}.editor-pane{background:#fff;border:1px solid #dce3eb;border-radius:8px;min-width:0;overflow:hidden}.pane-header{align-items:center;border-bottom:1px solid #e7edf3;display:flex;justify-content:space-between;min-height:56px;padding:.75rem 1rem}.pane-header h2{font-size:1rem;margin:0}.pane-header span{color:#647384;font-size:.85rem}.icon-actions{display:flex;gap:.5rem}.icon-actions button{height:36px;justify-content:center;min-height:36px;padding:0;width:36px}textarea{background:#fbfcfe;border:0;color:#172026;display:block;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:.93rem;line-height:1.55;min-height:430px;outline:none;padding:1rem;resize:vertical;tab-size:2;width:100%}.diagnostics{align-items:center;background:#fff;border:1px solid #dce3eb;border-radius:8px;display:grid;gap:1rem;grid-template-columns:auto minmax(160px,1fr) minmax(320px,.9fr);margin-top:1rem;padding:1rem}.diagnostics p{color:#4d5e6d;margin:0}.status{align-items:center;border-radius:8px;display:inline-flex;font-weight:800;gap:.5rem;padding:.55rem .75rem}.status.ok{background:#e8f6f1;color:#1f6f61}.status.error{background:#fdecea;color:#b42318}.status.changed{background:#fff4da;color:#8a5a00}.toggle{align-items:center;background:#fff;border:1px solid #d5dde7;border-radius:8px;color:#172026;cursor:pointer;display:inline-flex;font-weight:700;gap:.5rem;min-height:40px;padding:.55rem .75rem}.toggle input{accent-color:#1f6f61;height:16px;width:16px}dl{display:grid;gap:.5rem;grid-template-columns:repeat(5,minmax(64px,1fr));margin:0}dt{color:#647384;font-size:.75rem}dd{font-size:1.2rem;font-weight:800;margin:0}.diff-output{background:#fff;border:1px solid #dce3eb;border-radius:8px;margin-top:1rem;overflow:hidden}pre{background:#fbfcfe;margin:0;max-height:520px;overflow:auto;padding:.75rem 0}.diff-line{display:grid;font-family:JetBrains Mono,SFMono-Regular,Consolas,monospace;font-size:.92rem;gap:.75rem;grid-template-columns:2rem minmax(0,1fr);line-height:1.55;min-height:1.7rem;padding:0 1rem;white-space:pre-wrap;word-break:break-word}.diff-line span:first-child{color:#647384;font-weight:800;text-align:center}.diff-line.added{background:#e8f6f1}.diff-line.added span:first-child{color:#1f6f61}.diff-line.removed{background:#fdecea}.diff-line.removed span:first-child{color:#b42318}.feature-band,.references,.faq{padding:3rem clamp(1rem,4vw,3rem)}.feature-band{background:#edf3f5}.feature-band h2,.references h2,.faq h2{font-size:clamp(1.8rem,4vw,3.4rem);letter-spacing:0;line-height:1;margin:0 0 1.5rem}.feature-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}article{background:#fff;border:1px solid #dce3eb;border-radius:8px;padding:1.25rem}article h3{margin:.75rem 0 .5rem}article p,.reference-grid span,.faq p{color:#4d5e6d;line-height:1.6}.references{background:#f8fafc}.reference-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.reference-grid a{background:#fff;border:1px solid #dce3eb;border-radius:8px;display:grid;gap:.45rem;padding:1.1rem}.reference-grid a:hover{border-color:#2f7d6f}.reference-grid strong{color:#172026}.reference-grid span{display:block}.faq{background:#fff}details{border-top:1px solid #e4eaf0;padding:1rem 0}details:last-child{border-bottom:1px solid #e4eaf0}summary{cursor:pointer;font-weight:800}@media(max-width:900px){.hero,.editor-grid,.diagnostics,.feature-grid{grid-template-columns:1fr}.hero,.diagnostics{align-items:start}dl{grid-template-columns:repeat(3,minmax(64px,1fr))}}@media(max-width:640px){.site-header{align-items:flex-start;flex-direction:column}nav{width:100%}nav a{flex:1}.hero{min-height:440px}.toolbar button{justify-content:center;min-width:calc(50% - .35rem)}.mode-tabs button,.toolbar .toggle{min-width:calc(50% - .35rem)}textarea{min-height:320px}dl{grid-template-columns:repeat(2,minmax(64px,1fr))}}
