:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f6f8f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.app-shell{background:linear-gradient(#0f766e14,#0000 280px),#f6f8f7;min-height:100vh}.topbar{z-index:20;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#ffffffe0;border-bottom:1px solid #6e7a842e;align-items:center;gap:22px;padding:14px clamp(16px,4vw,40px);display:flex;position:sticky;top:0}.brand{align-items:center;gap:10px;min-width:max-content;display:inline-flex}.brand-mark,.tile-icon{color:#0f766e;background:#eef8f5;border:1px solid #c8ddd8;border-radius:8px;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex}.brand strong,.brand small{display:block}.brand small{color:#687684;margin-top:2px;font-size:12px}.topnav{align-items:center;gap:4px;min-width:0;display:flex;overflow-x:auto}.nav-link{color:#52606d;white-space:nowrap;border-radius:8px;padding:8px 10px;font-size:14px}.nav-link.active,.nav-link:hover{color:#0f766e;background:#e7f4f0}.ghost-link{color:#53606c;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;margin-left:auto;display:inline-flex}.utility-links{color:#53606c;align-items:center;gap:12px;margin-left:auto;font-size:14px;display:flex}.utility-links>a:not(.ghost-link):hover{color:#0f766e}.utility-links .ghost-link{margin-left:0}.ghost-link:hover{background:#eef2f3}.main-stage{width:min(1480px,100% - 32px);margin:0 auto;padding:32px 0 48px}.hero-workbench{grid-template-columns:minmax(0,.9fr) minmax(320px,1.1fr);align-items:start;gap:28px;display:grid}.hero-copy h1{color:#111827;letter-spacing:0;margin:14px 0 12px;font-size:clamp(36px,6vw,68px);line-height:1.02}.tool-heading h1{color:#111827;letter-spacing:0;margin:8px 0 6px;font-size:clamp(28px,2.5vw,38px);line-height:1.08}.hero-copy p,.content-band p{color:#5a6875;max-width:680px;font-size:16px;line-height:1.7}.tool-heading p{color:#5a6875;max-width:980px;margin:0;font-size:16px;line-height:1.5}.hero-actions{flex-wrap:wrap;gap:10px;margin-top:24px;display:flex}.tool-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.tool-tile{background:#ffffffc7;border:1px solid #dbe4e7;border-radius:8px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;min-height:112px;padding:18px;display:grid;box-shadow:0 10px 34px #1b27330f}.tool-tile:hover{border-color:#96c8bd;transform:translateY(-1px)}.tool-tile.planned{color:#697784}.tool-tile strong,.tool-tile small{display:block}.tool-tile small{color:#64717e;margin-top:6px;line-height:1.45}.content-band{border-top:1px solid #dce5e8;grid-template-columns:.8fr 1.2fr;gap:24px;margin-top:34px;padding-top:28px;display:grid}.content-band h2{margin:0 0 8px}.history-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.history-item{background:#fff;border:1px solid #dbe4e7;border-radius:8px;padding:14px}.history-item strong,.history-item small{display:block}.history-item small,.empty-note{color:#6a7784}.tool-heading{justify-content:space-between;gap:24px;margin-bottom:12px;padding:4px 0 2px;display:flex}.toolbar-band{background:#ffffffd6;border:1px solid #dbe4e7;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:12px;display:flex}.toolbar-group{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.toolbar-group.compact{flex-wrap:nowrap}.control-label{color:#5d6b78;font-size:13px}.indent-select{width:118px}.root-input{width:180px}.count-input{width:120px}.editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.diff-workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(320px,.72fr);gap:16px;margin-top:16px;display:grid}.editor-panel,.diff-panel{background:#fff;border:1px solid #d5e0e3;border-radius:8px;grid-template-rows:auto minmax(340px,calc(100vh - 330px));display:grid;overflow:hidden;box-shadow:0 16px 42px #1e2a3614}.editor-panel header,.diff-panel header{background:#f9fbfb;border-bottom:1px solid #e1e8ea;justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding:10px 14px;display:flex}.editor-panel header small,.diff-panel header small{color:#64717e;white-space:nowrap}.error-strip{color:#a02626;background:#fff3f3;border:1px solid #f1b8b8;border-radius:8px;margin:14px 0 0;padding:12px 14px}.error-strip.inline-error{margin-top:12px;margin-bottom:0}.doc-page{max-width:820px;padding:28px 0 64px}.doc-page h1{color:#111827;letter-spacing:0;margin:12px 0 14px;font-size:clamp(36px,5vw,58px);line-height:1.05}.doc-page h2{color:#172033;margin:30px 0 8px;font-size:22px}.doc-page p,.doc-page li{color:#52606d;font-size:16px;line-height:1.7}.doc-page ul{padding-left:20px}@media (width>=981px){.app-shell.tool-shell{flex-direction:column;height:100vh;min-height:0;display:flex;overflow:hidden}.tool-shell .topbar{flex:none;position:relative}.main-stage.tool-stage{flex-direction:column;flex:auto;height:auto;min-height:0;padding-top:18px;padding-bottom:18px;display:flex;overflow:hidden}.tool-stage .tool-heading,.tool-stage .toolbar-band,.tool-stage .error-strip{flex:none}.tool-stage .editor-grid,.tool-stage .diff-workspace{flex:auto;min-height:0}.tool-stage .editor-panel,.tool-stage .diff-panel{grid-template-rows:auto minmax(0,1fr);min-height:0}}.diff-results{align-content:start;gap:10px;padding:12px;display:grid;overflow:auto}.diff-item{background:#fff;border:1px solid #dbe4e7;border-radius:8px;flex-direction:column;gap:8px;padding:12px;display:flex}.diff-meta{align-items:center;gap:8px;min-width:0;display:flex}.diff-meta strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.diff-item code{color:#344054;text-overflow:ellipsis;white-space:nowrap;background:#f3f6f7;border-radius:6px;padding:6px 8px;overflow:hidden}@media (width<=980px){.topbar{flex-wrap:wrap;align-items:flex-start}.topnav{order:3;width:100%}.hero-workbench,.content-band,.editor-grid,.diff-workspace,.history-list,.tool-grid{grid-template-columns:1fr}.editor-panel,.diff-panel{grid-template-rows:auto minmax(340px,56vh)}}@media (width<=640px){.main-stage{width:min(100% - 20px,1480px);padding-top:22px}.hero-copy h1{font-size:36px}.tool-heading h1{font-size:30px}.toolbar-band,.editor-panel header{flex-direction:column;align-items:flex-start}.toolbar-group.compact{justify-content:space-between;width:100%}}
