:root { color-scheme: light; --pine:#16352d; --pine2:#254f3d; --sage:#6b806a; --cream:#f6f4e9; --paper:#fffefa; --line:#dfe5d8; --orange:#e8a663; --text:#22342e; --muted:#67796d; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
* { box-sizing:border-box; }
body { margin:0; color:var(--text); background:#eef1e9; }
button,input,textarea,select { font:inherit; }
button { cursor:pointer; }
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible { outline:3px solid #d69b4e; outline-offset:2px; }
.shell { min-height:100vh; display:grid; grid-template-columns:250px minmax(0,1fr); }
.shell[hidden],.page[hidden],.drawer[hidden],.drawer-overlay[hidden],.notice[hidden],.badge[hidden],.loading-screen[hidden] { display:none; }
.sidebar { background:var(--pine); color:#e9f1e7; min-height:100vh; padding:28px 18px; display:flex; flex-direction:column; position:sticky; top:0; height:100vh; }
.brand { color:#fff; text-decoration:none; display:flex; gap:13px; align-items:center; padding:0 12px 42px; font:700 25px Georgia,serif; letter-spacing:-1px; }
.brand-mark { width:42px; height:42px; display:grid; place-items:center; background:#d7ebcd; color:var(--pine); border-radius:15px; font:28px system-ui; }
.brand small { display:block; font:700 9px system-ui; letter-spacing:3px; color:#b9d2b3; margin-top:2px; }
.nav-label,.eyebrow { font-size:10px; letter-spacing:2px; font-weight:800; color:#83a183; }
.nav-label { padding:0 14px; margin:0 0 13px; }
nav { display:grid; gap:6px; }
.nav-link { text-align:left; color:#c9d9cb; background:transparent; border:0; padding:13px 15px; border-radius:13px; display:flex; align-items:center; gap:14px; font-weight:600; }
.nav-link>span:first-child { font-size:20px; width:24px; text-align:center; font-weight:400; }
.nav-link:hover,.nav-link.active { color:#fff; background:#305344; }
.badge { margin-left:auto; color:var(--pine); background:#dbeaca; border-radius:99px; padding:2px 7px; font-size:11px; }
.sidebar-note { margin-top:auto; background:#2d4e40; border:1px solid #456652; border-radius:18px; padding:18px; font:italic 16px/1.5 Georgia,serif; }
.sidebar-note p { margin:9px 0 0; }.tiny-sparkle { color:#e8bc79; }
.sidebar-foot { padding:21px 6px 0; display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:12px; color:#c8dbca; }
.text-button { background:none; border:0; color:#d7ebc6; padding:4px; text-decoration:underline; }
.main { padding:36px clamp(22px,4vw,72px) 90px; min-width:0; max-width:1650px; width:100%; margin:0 auto; }
.topbar { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:31px; gap:20px; }
h1,h2,h3 { font-family:Georgia, "Times New Roman", serif; font-weight:500; color:var(--pine); }
h1 { font-size:clamp(34px,4vw,54px); margin:8px 0 0; letter-spacing:-2px; }h2 { font-size:28px; margin:0; }h3 { font-size:21px; margin:0; }
.top-actions { border:1px solid var(--line); background:var(--paper); border-radius:99px; padding:9px 14px; color:var(--muted); font-size:12px; white-space:nowrap; display:flex; gap:9px; align-items:center; }
.status-dot { width:7px;height:7px;background:#65ad69;border-radius:50%; }
.hero { border-radius:26px; min-height:210px; background:radial-gradient(circle at 85% 10%,#d5dfb1 0,transparent 37%),linear-gradient(112deg,#e7ebd7,#d8e3cc 62%,#b5cba9); padding:30px 36px; display:flex; justify-content:space-between; align-items:end; gap:20px; overflow:hidden; }
.hero h2 { font-size:clamp(27px,3vw,41px); letter-spacing:-1.3px; margin:6px 0 12px; }.hero p { max-width:580px; line-height:1.6; margin:0; }
.hero-art { font:130px/.8 Georgia,serif; color:#77936e; opacity:.55; transform:rotate(-18deg); }
.section-heading { display:flex; justify-content:space-between; gap:16px; align-items:center; margin:32px 0 15px; }
.section-heading p { margin:5px 0 0; color:var(--muted); font-size:13px; }
.metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:13px; margin-top:20px; }
.metric,.panel,.catalog-row,.change-row,.empty { background:var(--paper); border:1px solid var(--line); box-shadow:0 8px 25px #2643320a; }
.metric { padding:23px 24px; border-radius:18px; min-height:124px; }.metric-label { color:var(--muted);font-size:12px; }.metric-value { display:block; color:var(--pine); font:500 34px Georgia,serif; margin:9px 0 0; }
.panel { border-radius:20px; padding:22px; }.panel-grid { display:grid; grid-template-columns:1.25fr 1fr; gap:17px; }
.simple-list { display:grid; gap:9px; margin-top:18px; }.simple-list button { border:0; background:#f3f6ed; text-align:left; padding:12px 14px; border-radius:12px; color:var(--pine); }
.primary,.secondary,.quiet,.danger { border-radius:12px; padding:10px 15px; border:1px solid transparent; font-weight:700; }
.primary { background:var(--pine); color:#fff; }.primary:hover { background:var(--pine2); }.secondary { background:#dce9d5; color:var(--pine); }.quiet { background:transparent; border-color:var(--line); color:var(--pine); }.danger { background:#f9e1d5; color:#973d2e; }
.toolbar { display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:20px; }.toolbar input { flex:1; max-width:430px; }
input,textarea,select { border:1px solid #d4ded0; border-radius:10px; background:#fff; color:var(--text); padding:11px 12px; min-width:0; }
textarea { resize:vertical; min-height:96px; }.toolbar input { padding:12px 16px; }
.catalog { display:grid; gap:12px; }.ecosystem-block { background:var(--paper);border:1px solid var(--line); border-radius:19px; overflow:hidden; }.ecosystem-head { display:flex;justify-content:space-between;align-items:center;gap:15px; padding:16px 21px;background:#e7edde; }.ecosystem-head button { border:0;background:none; text-align:left; color:var(--pine);font:500 24px Georgia,serif; }
.level-row { border-top:1px solid var(--line); padding:12px 21px 12px 26px; }.level-top { display:flex;align-items:center;gap:11px; }.level-top button { background:none;border:0;color:var(--pine);font-weight:700;text-align:left; }.level-number { width:28px;height:28px; border-radius:9px; display:grid;place-items:center;background:#e4ecd9;color:#42694a;font-size:12px;font-weight:800; }
.related { display:flex; flex-wrap:wrap; gap:7px; margin:8px 0 0 39px; }.chip { background:#f2f5ed;border:1px solid #e0e7d9; color:#44624a;border-radius:99px;padding:6px 10px;font-size:12px; }.chip:hover { background:#dce9d5; }.dim { color:var(--muted);font-size:12px; }
.change-row { border-radius:15px;padding:18px; display:flex; align-items:center;justify-content:space-between;gap:20px; margin-bottom:10px; }.change-row button:first-child { background:none;border:0;text-align:left;color:var(--pine);font-weight:700; }.pill { font-size:11px; padding:5px 9px; border-radius:99px; background:#e4ebda; color:#436345; }.pill.pending_review { background:#fff0d6;color:#8e622d; }.pill.rejected { background:#fae4dc;color:#984532; }.pill.approved { background:#dcebdc;color:#386643; }
.empty { border-radius:16px; padding:34px; color:var(--muted);text-align:center; }.notice { padding:13px 18px;border-radius:13px;background:#dcebdc;color:#285334;margin-bottom:20px; }.notice.error { background:#fbe1d9;color:#8c302c; }
.drawer-overlay { position:fixed;inset:0;background:#142d26aa;z-index:10; }.drawer { position:fixed;right:0;top:0;bottom:0;width:min(730px,100vw);z-index:11;background:var(--paper);box-shadow:-16px 0 60px #13291d44;display:flex;flex-direction:column; }.drawer-head { flex:none;display:flex;align-items:start;justify-content:space-between;padding:26px 29px;border-bottom:1px solid var(--line); }.drawer-head h2 { margin-top:5px; }.icon-button { font-size:29px;line-height:1;background:transparent;border:0;color:var(--pine); }.drawer-body { overflow:auto;padding:22px 29px 50px;flex:1; }.drawer-actions { border-top:1px solid var(--line);padding:15px 29px;display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;background:#fff; }
.form-grid { display:grid;grid-template-columns:1fr 1fr;gap:16px; }.field { display:flex; flex-direction:column; gap:7px; margin-bottom:16px; }.field>span { font-size:12px;font-weight:750;color:#49644e; }.field small { color:var(--muted);line-height:1.4; }.field.wide { grid-column:1/-1; }.group { border:1px solid var(--line);border-radius:15px;padding:16px;margin:15px 0; }.group h3 { font-size:18px;margin:0 0 13px; }.checkboxes { display:flex;gap:8px;flex-wrap:wrap; }.checkboxes label { display:flex;align-items:center;gap:5px;border:1px solid var(--line);padding:7px 10px;border-radius:9px;font-size:12px; }.checkboxes input { min-width:auto; }.warning-text { color:#935d2a;background:#fff5e8;padding:12px;border-radius:12px;line-height:1.5;font-size:12px; }
.json-editor-host { width:100%;min-width:0; }
.json-toolbar { display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 10px; }
.json-caption { font-size:13px;font-weight:800;color:var(--pine); }
.json-tabs { display:flex;gap:3px;padding:3px;background:#edf2e9;border-radius:10px; }
.json-tab { border:0;background:transparent;color:#506c57;border-radius:8px;padding:6px 11px;font-size:12px;font-weight:700; }
.json-tab.active { background:#fff;color:var(--pine);box-shadow:0 2px 6px #203d2a1d; }
.json-error { color:#9a342c;background:#fae4dc;padding:9px 11px;border-radius:9px;font-size:12px;margin:0 0 10px; }
.json-error[hidden] { display:none; }
.json-node { min-width:0;border:1px solid #dce5d8;background:#fff;border-radius:12px;padding:11px;margin:7px 0; }
.json-root { background:#f7f9f3; }
.json-node-head { display:flex;align-items:center;gap:8px;flex-wrap:wrap; }
.json-node-label { flex:1;min-width:100px;color:#31513c;font-size:12px; }
.json-key-title { width:100%;font-size:11px;font-weight:800;color:#44624a; }
.json-key { flex:1;min-width:120px;padding:8px 9px;font-size:12px;font-weight:700; }
.json-type { width:auto;min-width:95px;padding:8px 9px;font-size:11px;background:#f3f6ee; }
.json-remove { border:0;background:#fff0e8;color:#8e4d3b;border-radius:8px;padding:8px 10px;font-size:11px; }
.json-remove:hover { background:#f8ded3; }
.json-children { margin:10px 0 4px 10px;padding-left:12px;border-left:2px solid #d7e6d0; }
.json-children .json-node { box-shadow:0 2px 7px #24432c0b; }
.json-empty,.json-null { color:var(--muted);font-size:12px;font-style:italic; }
.json-value { display:block;width:100%;margin-top:9px; }
.json-node textarea.json-value { min-height:80px; }
.json-add { display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 2px; }
.json-add input { flex:1;min-width:130px; }
.json-add select { width:auto;min-width:96px; }
.json-add button { white-space:nowrap; }
.json-raw { display:block;width:100%;min-height:250px;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2;background:#152a24;color:#e6f4e5;border-color:#31483c; }
.loading-screen { min-height:100vh;display:grid;place-content:center;text-align:center;color:var(--pine); }.loading-mark { font-size:52px; }.loading-screen p { font-family:Georgia,serif;font-size:24px; }
@media(max-width:1000px){.metrics { grid-template-columns:repeat(2,1fr); }.panel-grid { grid-template-columns:1fr; }}
@media(max-width:720px){.shell { grid-template-columns:1fr; }.sidebar { position:relative;height:auto;min-height:0;padding:13px 14px; }.brand { padding:0 4px 12px;font-size:20px; }.brand-mark { width:35px;height:35px; }.nav-label,.sidebar-note,.sidebar-foot { display:none; }nav { display:flex;overflow:auto; } .nav-link { white-space:nowrap;padding:9px 11px;font-size:12px;gap:5px; }.nav-link>span:first-child { font-size:15px;width:17px; }.main { padding:23px 15px 60px; }.topbar { align-items:center; }.top-actions { display:none; }.hero { min-height:180px;padding:22px; }.hero-art { display:none; }.metrics { gap:8px; }.metric { padding:15px; min-height:100px; }.metric-value { font-size:27px; }.form-grid { grid-template-columns:1fr; }.drawer-head,.drawer-body,.drawer-actions { padding-left:17px;padding-right:17px; }}
