:root{--bg: #0f172a;--surface: #1e293b;--border: #334155;--text: #f8fafc;--muted: #94a3b8;--accent: #38bdf8;--accent-dim: #0ea5e9;--danger: #f87171;--ok: #4ade80;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0;min-height:100dvh;background:var(--bg)}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}.app-shell{display:grid;grid-template-columns:240px 1fr;min-height:100dvh}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.app-nav{display:flex;flex-wrap:wrap;gap:.5rem;padding:.75rem;border-bottom:1px solid var(--border)}}.app-nav{background:var(--surface);border-right:1px solid var(--border);padding:1rem}.app-nav h1{font-size:1.1rem;margin:0 0 1rem}.app-nav a{display:block;padding:.45rem .5rem;border-radius:6px;color:var(--muted)}.app-nav a.active{background:#0c4a6e;color:var(--text)}.app-main{padding:1rem 1.25rem 2rem;max-width:1200px}.field-shell .app-main{max-width:640px;margin:0 auto}.field-shell .app-main:has(.field-splice-page){max-width:1100px}.field-splice-layout{display:grid;grid-template-columns:minmax(200px,240px) 1fr;gap:1rem;align-items:start}@media(max-width:768px){.field-splice-layout{grid-template-columns:1fr}}.field-splice-sidebar{position:sticky;top:.75rem;max-height:calc(100vh - 2rem);overflow:auto;padding:.75rem 1rem}.field-splice-sidebar-title{margin:0 0 .5rem;font-size:1rem}.field-splice-report-list{list-style:none;margin:0;padding:0}.field-splice-report-item{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;width:100%;text-align:left;padding:.45rem .5rem;margin-bottom:.35rem;border:1px solid var(--border);border-radius:8px;background:transparent;color:inherit;cursor:pointer;font:inherit}.field-splice-report-item:hover{background:var(--surface-2, rgba(0, 0, 0, .04))}.field-splice-report-item.active{border-color:#0ea5e9;background:#0ea5e914}.field-splice-report-id{font-size:.8rem;word-break:break-all}.field-splice-main{min-width:0}.card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1rem 1.25rem;margin-bottom:1rem}.row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;padding:.55rem 1rem;border-radius:8px;border:1px solid var(--border);background:#0ea5e9;color:#0f172a;font-weight:600;cursor:pointer}.btn.secondary{background:transparent;color:var(--text)}.btn:disabled{opacity:.5;cursor:not-allowed}.input,select.input,textarea.input{width:100%;max-width:420px;padding:.5rem .65rem;border-radius:8px;border:1px solid var(--border);background:#0b1220;color:var(--text)}textarea.input{min-height:88px;max-width:100%}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.9rem}th,td{text-align:left;padding:.5rem .6rem;border-bottom:1px solid var(--border)}.badge{display:inline-block;padding:.15rem .45rem;border-radius:999px;font-size:.75rem;background:#334155}.save-hint{font-size:.8rem;color:var(--muted)}.field-big .btn{min-height:48px;font-size:1.05rem;width:100%;max-width:100%}.field-big label{display:block;margin-bottom:.35rem;font-weight:600}.field-block{margin-bottom:1.25rem}.lang-switch{margin-top:1rem;display:flex;flex-wrap:wrap;gap:.35rem}.lang-switch button{padding:.25rem .5rem;border-radius:6px;border:1px solid var(--border);background:#0b1220;color:var(--muted);cursor:pointer}.lang-switch button.active{border-color:var(--accent);color:var(--text)}
