:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#e8eefb;background:#081221}*{box-sizing:border-box}body{margin:0;min-width:320px}.app-shell{min-height:100vh;display:grid;grid-template-columns:272px minmax(0,1fr);background:radial-gradient(circle at 80% -10%,#173a67 0,#0b1830 34%,#081221 70%)}.sidebar{background:rgba(5,13,27,.78);border-right:1px solid #21334e;padding:1.5rem 1rem;display:flex;flex-direction:column;min-height:100vh}.brand{display:flex;gap:.65rem;align-items:center;font-size:1.05rem;font-weight:750;letter-spacing:-.02em;padding:0 .45rem 2rem}.brand-mark{color:#7dd3fc;font-size:1.25rem}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;color:#91a9c7;font-size:.7rem;font-weight:700;letter-spacing:.12em;padding:0 .45rem .55rem}.icon-button{border:0;background:transparent;color:#91a9c7;font-size:1.15rem;cursor:pointer}.file-list{overflow:auto;flex:1}.file-row{width:100%;display:flex;gap:.65rem;align-items:center;border:0;border-radius:7px;padding:.6rem .55rem;background:transparent;color:#dbeafe;text-align:left;font:inherit;font-size:.9rem;cursor:pointer}.file-row:hover,.file-row.active{background:#163255}.file-icon{color:#7dd3fc}.file-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.muted,.sidebar-note{color:#91a9c7;font-size:.8rem;line-height:1.45}.sidebar-note{border-top:1px solid #21334e;margin:1rem .25rem 0;padding-top:1rem}.sidebar-note code{color:#b7d9ff}.new-file-button,.save-button{border:0;border-radius:7px;background:#38bdf8;color:#071423;font:700 .88rem inherit;padding:.72rem .9rem;cursor:pointer}.new-file-button{width:100%;margin-top:1rem}.workspace{min-width:0;display:flex;flex-direction:column;padding:clamp(1.25rem,3vw,3rem);max-width:1200px;width:100%;margin:auto}.topbar{display:flex;justify-content:space-between;gap:1rem;align-items:start;margin-bottom:2rem}.eyebrow{margin:0 0 .35rem;color:#7dd3fc;font-size:.72rem;letter-spacing:.13em;font-weight:700}h1{margin:0;font-size:clamp(1.45rem,3vw,2.1rem);letter-spacing:-.04em}.status{background:#112641;border:1px solid #23486e;border-radius:99px;padding:.4rem .7rem;color:#b8d8f7;font-size:.8rem;white-space:nowrap}.status.error{color:#fecaca;border-color:#7f1d1d;background:#3a151c}.status.success{color:#bbf7d0;border-color:#166534;background:#102d20}.empty-state{margin:auto;text-align:center;max-width:28rem;color:#a6b9d1;padding-bottom:12vh}.empty-state h2{color:#edf5ff;margin:.75rem 0 .4rem;letter-spacing:-.02em}.empty-state p{margin:0;line-height:1.55}.empty-icon{display:grid;place-items:center;margin:auto;width:3.5rem;height:3.5rem;border:1px solid #295078;border-radius:12px;color:#7dd3fc;font-size:1.8rem}.editor-panel{display:grid;grid-template-rows:auto auto minmax(20rem,1fr) auto;gap:.7rem;flex:1;min-height:0}.hidden{display:none}.file-meta{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.75rem}.file-meta label,.content-label{font-size:.78rem;font-weight:700;color:#91a9c7;text-transform:uppercase;letter-spacing:.08em}input,textarea{border:1px solid #2c4666;background:#0a1729;color:#eef6ff;border-radius:7px;font:400 .92rem ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;padding:.7rem}.file-meta input{min-width:0}textarea{resize:vertical;min-height:28rem;line-height:1.55;width:100%;tab-size:2}.editor-footer{display:flex;justify-content:space-between;gap:1rem;align-items:center}.editor-footer>input{flex:1;min-width:0;font-family:inherit}.action-row{display:flex;gap:.65rem}.danger-button{border:1px solid #82333d;background:transparent;color:#fca5a5;border-radius:7px;font:600 .88rem inherit;padding:.68rem .8rem;cursor:pointer}.save-button:disabled,.danger-button:disabled{opacity:.55;cursor:not-allowed}@media(max-width:700px){.app-shell{grid-template-columns:1fr}.sidebar{min-height:auto;max-height:38vh;border-right:0;border-bottom:1px solid #21334e}.file-list{min-height:5rem}.workspace{min-height:62vh}.topbar{margin-bottom:1.25rem}.editor-footer{align-items:stretch;flex-direction:column}.action-row>*{flex:1}.sidebar-note{display:none}}
