:root { --bg:#08111f; --surface:#0e1a2b; --surface-2:#12233a; --text:#ecf4ff; --muted:#a8b8cd; --line:#29445f; --blue:#367bf5; --blue-2:#6198ff; --focus:#a8c6ff; --good:#7de1ae; }
* { box-sizing:border-box; }
html { background:var(--bg); color:var(--text); font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
body { margin:0; min-width:320px; line-height:1.55; }
a { color:var(--blue-2); }
.site-header { width:min(1120px,calc(100% - 32px)); margin:auto; padding:18px 0; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.brand { color:var(--text); text-decoration:none; font-weight:800; letter-spacing:-.02em; }
.home-link { font-size:.92rem; }
main { width:min(1120px,calc(100% - 32px)); margin:0 auto 56px; }
.tool-shell { background:linear-gradient(145deg,#10233b,#0b1727 65%); border:1px solid var(--line); border-radius:20px; padding:clamp(20px,4vw,42px); box-shadow:0 20px 55px rgba(0,0,0,.24); }
.tool-heading { max-width:720px; }
.eyebrow { margin:0 0 6px; color:var(--blue-2); font-size:.82rem; font-weight:750; letter-spacing:.09em; text-transform:uppercase; }
h1,h2,h3 { line-height:1.17; letter-spacing:-.025em; }
h1 { margin:0; font-size:clamp(2rem,5vw,3.45rem); }
h2 { margin:0 0 14px; font-size:clamp(1.4rem,3vw,2rem); }
h3 { margin:0 0 7px; font-size:1rem; }
.tool-heading > p:last-child { margin:12px 0 28px; color:var(--muted); }
.workspace { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.panel { min-width:0; display:flex; flex-direction:column; border:1px solid var(--line); background:rgba(6,15,27,.56); border-radius:14px; padding:16px; }
.panel-topline { min-height:26px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
label { font-weight:700; }
textarea { width:100%; min-height:250px; margin:12px 0 8px; padding:14px; resize:vertical; border:1px solid #38546f; border-radius:10px; background:#07111e; color:var(--text); font:400 .96rem/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap:anywhere; }
textarea:focus,button:focus-visible,input:focus-visible,a:focus-visible,summary:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
#inputText.is-dragging { border-color:var(--blue-2); background:#10284b; }
.drop-note,.summary,.status { margin:0; color:var(--muted); font-size:.84rem; }
.summary { text-align:right; }
.action-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:8px; }
button { min-height:42px; border-radius:9px; padding:9px 14px; font:700 .93rem/1.2 inherit; cursor:pointer; }
.primary-button { border:1px solid #4b8cff; color:white; background:var(--blue); }
.primary-button:hover { background:#4d8cf9; }
.secondary-button,.text-button { border:1px solid var(--line); color:var(--text); background:transparent; }
.text-button { min-height:auto; padding:5px 8px; font-size:.83rem; }
button:disabled { cursor:not-allowed; opacity:.55; }
.removed-details { margin-top:18px; border:1px solid var(--line); border-radius:12px; background:rgba(6,15,27,.45); padding:14px 16px; }
summary { cursor:pointer; font-weight:750; }
.details-intro { color:var(--muted); font-size:.9rem; }
.change-list { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.change-list li { display:grid; grid-template-columns:minmax(82px,.55fr) minmax(86px,.6fr) minmax(130px,1.3fr) minmax(95px,.8fr); gap:10px; padding:10px; border:1px solid #25415c; border-radius:9px; background:#0b1828; font-size:.86rem; overflow-wrap:anywhere; }
.change-list strong { color:var(--blue-2); }
.content-section { margin:54px auto 0; max-width:920px; }
.content-section > p,.steps { color:var(--muted); }
.steps { padding-left:1.25rem; }
.coverage-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; }
.coverage-grid article { padding:17px; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.coverage-grid p { margin:0; color:var(--muted); font-size:.92rem; }
.options { margin:18px 0 0; border:1px solid var(--line); border-radius:10px; padding:12px 14px; }
.options legend { padding:0 6px; font-weight:750; }
.options label { color:var(--muted); font-size:.92rem; font-weight:500; }
.content-section details { margin:10px 0; padding:13px 15px; border:1px solid var(--line); border-radius:10px; background:var(--surface); }
.content-section details p { margin:10px 0 0; color:var(--muted); }
footer { width:min(1120px,calc(100% - 32px)); display:flex; flex-wrap:wrap; gap:16px; margin:0 auto; padding:26px 0 34px; border-top:1px solid var(--line); font-size:.9rem; }
footer nav { display:flex; flex-wrap:wrap; gap:16px; }
footer p { flex-basis:100%; margin:0; color:var(--muted); font-size:.8rem; }
@media (max-width:700px) { .site-header,main,footer { width:min(100% - 24px,1120px); } .site-header { padding:14px 0; } .tool-shell { border-radius:14px; padding:18px; } .workspace,.coverage-grid { grid-template-columns:1fr; } textarea { min-height:205px; } .panel { padding:13px; } .action-row > button { flex:1 1 auto; } .change-list li { grid-template-columns:1fr 1fr; } }
@media (max-width:410px) { .panel-topline { align-items:flex-start; flex-direction:column; } .summary { text-align:left; } .change-list li { grid-template-columns:1fr; gap:4px; } }
