:root{
  /* One brand palette shared with the public site (midnight + gold). */
  --bg:#070512;
  --bg-2:#0b0820;
  --sidebar:#0b0820;
  --panel:rgba(20,15,42,.72);
  --panel-2:#181826;
  --panel-3:#1e1e2e;
  --navy:#0b1436;
  --navy-2:#0e1a45;
  --navy-deep:#070f2a;
  --surface:#ffffff;
  --paper:#f7f1e1;
  --paper-2:#efe9dc;
  --line:rgba(231,198,90,.28);
  --line-2:rgba(255,255,255,.12);
  --line-soft:rgba(255,255,255,.08);
  --line-strong:rgba(231,198,90,.55);
  --gold:#e7c65a;
  --gold-2:#f2dc96;
  --gold-deep:#d9b64a;
  --gold-soft:rgba(231,198,90,.14);
  --ember:#e9642b;
  --ember-soft:#ff9052;
  --text:#f5f0e6;
  --text-2:#b7accf;
  --on-dark:#f5f0e6;
  --on-dark-soft:#b7accf;
  --muted:#8b90a8;
  --green:#5fbf8a;
  --blue:#6f9bff;
  --purple:#a98bff;
  --radius:16px;
  --radius-sm:11px;
  --maxw:1180px;
  --serif:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow:0 18px 44px -24px rgba(0,0,0,.9);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  min-height:100vh;
  font-family:var(--sans);
  color:var(--text);
  background:
    radial-gradient(1100px 620px at 82% -8%, rgba(70,74,120,.34), transparent 60%),
    radial-gradient(900px 700px at 12% 108%, rgba(40,42,70,.30), transparent 60%),
    linear-gradient(160deg,var(--bg-2),var(--bg) 55%,#08080f);
  background-attachment:fixed;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit;color:inherit;background:none;border:none;cursor:pointer}
ul{list-style:none}
img{display:block;max-width:100%}
::selection{background:var(--gold-soft);color:#fff}

/* ---------- night sky ---------- */
.sky{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.sky__moon{
  position:absolute;top:-120px;right:-90px;width:360px;height:360px;border-radius:50%;
  background:radial-gradient(circle at 38% 38%, #efe9d8, #cfc7b4 55%, #8d8778 100%);
  box-shadow:0 0 120px 30px rgba(201,162,75,.14), inset -40px -30px 80px rgba(0,0,0,.55);
  opacity:.9;
}
.sky__moon::after{
  content:"";position:absolute;inset:0;border-radius:50%;
  background:radial-gradient(circle at 68% 30%, rgba(0,0,0,.35), transparent 55%);
  mix-blend-mode:multiply;
}
.sky__glow{
  position:absolute;top:-180px;right:-160px;width:600px;height:600px;border-radius:50%;
  background:radial-gradient(circle, rgba(201,162,75,.16), transparent 62%);
}
.star{
  position:absolute;width:3px;height:3px;border-radius:50%;background:#fff;
  opacity:.55;box-shadow:0 0 6px 1px rgba(255,255,255,.6);
  animation:twinkle 4s ease-in-out infinite;animation-delay:var(--d,0s);
}
@keyframes twinkle{0%,100%{opacity:.2;transform:scale(.7)}50%{opacity:.9;transform:scale(1)}}

/* ---------- layout ---------- */
.app{
  position:relative;z-index:1;
  display:grid;grid-template-columns:262px minmax(0,1fr);
  gap:22px;max-width:1380px;margin:0 auto;padding:18px;
  min-height:100vh;
}

/* ---------- sidebar ---------- */
.sidebar{
  position:sticky;top:18px;align-self:start;
  display:flex;flex-direction:column;gap:22px;
  padding:26px 20px 22px;
  background:linear-gradient(180deg,rgba(20,20,33,.92),rgba(11,11,20,.94));
  border:1px solid var(--line);border-radius:22px;
  box-shadow:var(--shadow);
  height:calc(100vh - 36px);
  overflow-y:auto;
  backdrop-filter:blur(6px);
}
.brand{display:flex;align-items:center;gap:12px;justify-content:center;flex-direction:column;text-align:center;margin-bottom:6px}
.brand__mark{color:var(--gold);width:44px;height:44px}
.brand__mark svg{width:100%;height:100%;filter:drop-shadow(0 0 12px rgba(201,162,75,.35))}
.brand__text{display:flex;flex-direction:column;align-items:center;gap:1px}
.brand__name{font-family:var(--serif);font-size:1.55rem;font-weight:500;line-height:1;letter-spacing:.5px}
.brand__sub{font-size:.62rem;letter-spacing:.42em;text-transform:uppercase;color:var(--gold);margin-top:5px}
.brand__loc{font-size:.66rem;letter-spacing:.18em;color:var(--muted);margin-top:4px}

.nav{display:flex;flex-direction:column;gap:2px;flex:1}
.nav-item{
  position:relative;display:flex;align-items:center;gap:12px;
  padding:11px 12px;border-radius:11px;font-size:.9rem;color:var(--text-2);
  transition:background .2s,color .2s,transform .2s;
}
.nav-item__ico{display:grid;place-items:center;width:20px;height:20px;color:var(--muted);transition:color .2s}
.nav-item__ico svg{width:19px;height:19px}
.nav-item:hover{background:rgba(255,255,255,.045);color:var(--text)}
.nav-item:hover .nav-item__ico{color:var(--gold-2)}
.nav-item.is-active{background:linear-gradient(90deg,var(--gold-soft),transparent);color:var(--gold-2);font-weight:600}
.nav-item.is-active .nav-item__ico{color:var(--gold)}
.nav-item__dot{position:absolute;right:12px;width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 8px 1px rgba(201,162,75,.7)}
.nav-item.is-disabled{opacity:.46;cursor:not-allowed;pointer-events:none}
.nav-badge{margin-left:auto;font-size:.56rem;letter-spacing:.08em;text-transform:uppercase;color:var(--gold);border:1px solid var(--line);border-radius:999px;padding:2px 7px;font-weight:600;white-space:nowrap}

.sidebar__foot{display:flex;flex-direction:column;gap:14px;border-top:1px solid var(--line);padding-top:18px}
.profile{display:flex;align-items:center;gap:11px}
.profile__avatar{width:40px;height:40px;border-radius:50%;overflow:hidden;border:1px solid var(--line-2);flex:none}
.profile__avatar img{width:100%;height:100%;object-fit:cover}
.profile__meta{display:flex;flex-direction:column;line-height:1.25}
.profile__name{font-size:.9rem;font-weight:600}
.profile__role{font-size:.72rem;color:var(--muted)}
.quote{font-family:var(--serif);font-style:italic;font-size:.92rem;color:var(--text-2);line-height:1.45;border-left:1px solid var(--line-2);padding-left:12px}
.quote cite{display:block;font-family:var(--sans);font-style:normal;font-size:.72rem;color:var(--muted);margin-top:6px}

/* ---------- main ---------- */
.main{display:flex;flex-direction:column;gap:18px;min-width:0;padding:6px 6px 40px}

.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px 4px 0}
.crumbs{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;color:var(--muted);
  background:rgba(255,255,255,.03);border:1px solid var(--line);border-radius:999px;padding:7px 14px}
.crumbs__check{display:grid;place-items:center;color:var(--gold)}
.crumbs__check svg{width:15px;height:15px}
.topbar__actions{display:flex;gap:10px;align-items:center}
.topbar__site{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-2)}
.topbar__site b{color:var(--gold-2);font-weight:600}
.topbar__dot{width:6px;height:6px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px rgba(231,198,90,.12)}
.crumbs a{color:inherit;transition:color .2s}
.crumbs a:hover{color:var(--gold-2)}
.crumbs b{font-weight:600;color:var(--text)}

.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 16px;border-radius:10px;font-size:.85rem;font-weight:500;
  border:1px solid transparent;transition:transform .18s,background .2s,border-color .2s,box-shadow .25s;
  white-space:nowrap;
}
.btn svg{width:16px;height:16px}
.btn:active{transform:translateY(1px)}
.btn--gold{background:linear-gradient(180deg,var(--gold-2),var(--gold));color:#1b1405;font-weight:600;box-shadow:0 8px 22px -10px rgba(201,162,75,.7)}
.btn--gold:hover{box-shadow:0 10px 26px -8px rgba(201,162,75,.85);transform:translateY(-1px)}
.btn--ghost{background:rgba(255,255,255,.04);border-color:var(--line-2);color:var(--text)}
.btn--ghost:hover{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.22);transform:translateY(-1px)}
.btn--sm{padding:8px 13px;font-size:.8rem}
.icon-btn{width:34px;height:34px;border-radius:9px;border:1px solid var(--line-2);background:rgba(255,255,255,.04);color:var(--text-2);display:grid;place-items:center;font-size:1rem;transition:background .2s}
.icon-btn:hover{background:rgba(255,255,255,.1)}

/* ---------- hero ---------- */
.hero{padding:8px 6px 0}
.hero__title{font-family:var(--serif);font-weight:500;font-size:clamp(2rem,4vw,2.9rem);line-height:1.05;letter-spacing:.3px}
.hero__lede{color:var(--text-2);font-size:.98rem;margin-top:8px;max-width:62ch}

/* ---------- reveal ---------- */
.js-enabled [data-reveal]{opacity:0;transform:translateY(16px);transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .7s cubic-bezier(.22,.61,.36,1)}
.js-enabled [data-reveal].is-visible{opacity:1;transform:none}

/* ---------- cards ---------- */
.card{
  background:linear-gradient(180deg,rgba(24,24,38,.9),rgba(14,14,24,.92));
  border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);
}

/* ---------- stats ---------- */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.stat{position:relative;padding:16px 16px 14px;overflow:hidden;transition:transform .25s,border-color .25s}
.stat:hover{transform:translateY(-3px);border-color:var(--line-2)}
.stat__head{display:flex;align-items:center;gap:8px;color:var(--muted)}
.stat__ico{display:grid;place-items:center;color:var(--gold-2)}
.stat__ico svg{width:18px;height:18px}
.stat__label{font-size:.76rem;line-height:1.2}
.stat__value{font-family:var(--serif);font-size:2.1rem;font-weight:500;margin-top:8px;line-height:1}
.stat__foot{display:flex;align-items:center;gap:8px;margin-top:8px}
.stat__note{font-size:.72rem;color:var(--muted)}
.stat__note--strong{color:var(--gold-2);margin-top:8px;font-size:.76rem}
.chip{display:inline-flex;align-items:center;font-size:.68rem;font-weight:600;padding:3px 8px;border-radius:999px}
.chip--up{background:rgba(95,191,138,.14);color:var(--green)}
.chip--outline{border:1px solid rgba(201,162,75,.5);color:var(--gold-2);background:var(--gold-soft);font-weight:500}

.spark{position:absolute;right:14px;bottom:12px;width:88px;height:34px;opacity:.85}
.spark polyline{fill:none;stroke:var(--gold);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:220;stroke-dashoffset:220;transition:stroke-dashoffset 1.4s ease}
.stat.is-visible .spark polyline{stroke-dashoffset:0}
.spark--bars polyline{stroke:var(--gold-2)}

.stat--ring{display:flex;flex-direction:column}
.stat__ringwrap{position:relative;display:grid;place-items:center;margin:10px auto 4px;width:96px;height:96px}
.ring{width:96px;height:96px;transform:rotate(-90deg)}
.ring__track{fill:none;stroke:rgba(255,255,255,.09);stroke-width:5}
.ring__value{fill:none;stroke:var(--gold);stroke-width:5;stroke-linecap:round;
  stroke-dasharray:125.6;stroke-dashoffset:125.6;transition:stroke-dashoffset 1.5s cubic-bezier(.22,.61,.36,1)}
.stat.is-visible .ring__value{stroke-dashoffset:22.6}
.stat__pct{position:absolute;font-family:var(--serif);font-size:1.4rem;font-weight:600;color:var(--gold-2)}

/* ---------- workspace ---------- */
.workspace{display:grid;grid-template-columns:0.9fr 1.15fr 1.25fr;gap:14px;align-items:stretch}
.panel{padding:16px;display:flex;flex-direction:column;min-width:0}
.panel__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.panel__title{font-size:.95rem;font-weight:600;display:flex;align-items:center;gap:8px}
.panel__link{font-size:.76rem;color:var(--muted);transition:color .2s}
.panel__link:hover{color:var(--gold-2)}
.panel__badge{font-size:.66rem;font-weight:700;background:var(--gold);color:#1b1405;border-radius:6px;padding:1px 7px}
.panel__count{display:flex;align-items:center;gap:10px}
.panel__footlink{display:block;text-align:center;font-size:.8rem;color:var(--text-2);margin-top:12px;padding-top:12px;border-top:1px solid var(--line);transition:color .2s}
.panel__footlink:hover{color:var(--gold-2)}

.tabs{display:inline-flex;gap:4px;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:9px;padding:3px;margin-bottom:14px;align-self:flex-start}
.tab{font-size:.76rem;padding:5px 14px;border-radius:7px;color:var(--muted);transition:background .2s,color .2s}
.tab.is-active{background:var(--panel-3);color:var(--text)}
.tree{display:flex;flex-direction:column;gap:2px}
.tree__item a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;font-size:.85rem;color:var(--text-2);transition:background .2s,color .2s,padding .2s}
.tree__dot{width:6px;height:6px;border-radius:50%;background:var(--muted);flex:none;transition:background .2s,box-shadow .2s}
.tree__item a:hover{background:rgba(255,255,255,.045);color:var(--text);padding-left:14px}
.tree__item.is-active a{background:var(--gold-soft);color:var(--gold-2);font-weight:600}
.tree__item.is-active .tree__dot{background:var(--gold);box-shadow:0 0 8px 1px rgba(201,162,75,.7)}
.tree[data-view="alles"] .tree__item{display:block}

.edit__title{font-family:var(--serif);font-size:1.7rem;font-weight:500;margin-bottom:8px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.edit__desc{font-size:.85rem;color:var(--text-2);margin-bottom:14px}
.edit__actions{display:flex;align-items:center;gap:8px;margin-bottom:14px}
.edit__media{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto}
.thumb{border-radius:12px;overflow:hidden;border:1px solid var(--line);aspect-ratio:16/10;background:var(--panel-3)}
.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.thumb:hover img{transform:scale(1.06)}

.messages{display:flex;flex-direction:column;flex:1}
.msg{display:flex;align-items:flex-start;gap:11px;padding:11px 8px;border-radius:11px;cursor:pointer;transition:background .2s;border-bottom:1px solid rgba(255,255,255,.04)}
.msg:last-child{border-bottom:none}
.msg:hover{background:rgba(255,255,255,.045)}
.msg__avatar{width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;
  font-size:.68rem;font-weight:700;background:var(--panel-3);color:var(--text-2);border:1px solid var(--line-2)}
.msg__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.msg__row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.msg__who{font-size:.83rem;font-weight:600}
.msg__time{font-size:.68rem;color:var(--muted);white-space:nowrap}
.msg__text{font-size:.76rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msg__arrow{color:var(--muted);font-size:1.2rem;line-height:1;align-self:center;transition:transform .2s,color .2s}
.msg:hover .msg__arrow{transform:translateX(3px);color:var(--gold-2)}
.tag{font-size:.64rem;font-weight:600;padding:2px 7px;border-radius:6px;background:rgba(255,255,255,.08);color:var(--text-2)}
.tag--paid{background:rgba(111,155,255,.16);color:var(--blue)}
.messages__all{text-align:center;font-size:.78rem;color:var(--muted);margin-top:10px;transition:color .2s}
.messages__all:hover{color:var(--gold-2)}

/* ---------- activity ---------- */
.activity{display:grid;grid-template-columns:1.2fr 1fr;gap:14px}
.feed{display:flex;flex-direction:column;gap:2px}
.feed__item{display:flex;align-items:center;gap:12px;padding:10px 8px;border-radius:11px;transition:background .2s}
.feed__item:hover{background:rgba(255,255,255,.045)}
.feed__ico{width:30px;height:30px;border-radius:9px;flex:none;display:grid;place-items:center}
.feed__ico svg{width:16px;height:16px}
.feed__ico--gold{background:var(--gold-soft);color:var(--gold-2)}
.feed__ico--blue{background:rgba(111,155,255,.14);color:var(--blue)}
.feed__ico--green{background:rgba(95,191,138,.14);color:var(--green)}
.feed__ico--purple{background:rgba(169,139,255,.14);color:var(--purple)}
.feed__body{display:flex;flex-direction:column;flex:1;min-width:0}
.feed__title{font-size:.84rem;font-weight:500}
.feed__meta{font-size:.72rem;color:var(--muted)}
.feed__time{font-size:.7rem;color:var(--muted);white-space:nowrap}

.gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.gallery__item{border-radius:12px;overflow:hidden;border:1px solid var(--line);aspect-ratio:3/4;background:var(--panel-3);cursor:pointer}
.gallery__item img{width:100%;height:100%;object-fit:cover;transition:transform .5s,filter .3s;filter:saturate(.9)}
.gallery__item:hover img{transform:scale(1.08);filter:saturate(1.1)}
.gallery__item.is-hidden{display:none}
.media__more{display:block;width:100%;text-align:center;font-size:.8rem;color:var(--muted);margin-top:12px;padding-top:12px;border-top:1px solid var(--line);transition:color .2s}
.media__more:hover{color:var(--gold-2)}

/* ---------- ai banner ---------- */
.aibanner__card{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:24px 26px;border-color:rgba(201,162,75,.22);
  background:linear-gradient(100deg,rgba(30,26,20,.7),rgba(14,14,24,.92));}
.aibanner__text{display:flex;align-items:center;gap:16px;z-index:1}
.aibanner__ico{width:44px;height:44px;flex:none;border-radius:12px;display:grid;place-items:center;
  background:var(--gold-soft);color:var(--gold-2);border:1px solid rgba(201,162,75,.3)}
.aibanner__ico svg{width:22px;height:22px}
.aibanner__title{font-family:var(--serif);font-size:1.6rem;font-weight:500;line-height:1.1}
.aibanner__lede{font-size:.85rem;color:var(--text-2);margin-top:4px;max-width:52ch}
.aibanner__card .btn{z-index:1}
.aibanner__glow{position:absolute;right:18%;top:50%;transform:translateY(-50%);width:150px;height:150px;border-radius:50%;
  background:radial-gradient(circle,rgba(201,162,75,.22),transparent 65%);pointer-events:none}

/* ---------- menu button + scrim (mobile) ---------- */
.menu-btn{display:none;position:fixed;top:16px;left:16px;z-index:60;
  width:44px;height:44px;border-radius:12px;border:1px solid var(--line-2);
  background:rgba(14,14,24,.92);backdrop-filter:blur(8px);flex-direction:column;gap:4px;align-items:center;justify-content:center}
.menu-btn span{display:block;width:18px;height:1.6px;background:var(--text);border-radius:2px;transition:transform .3s,opacity .3s}
.menu-btn.is-open span:nth-child(1){transform:translateY(5.6px) rotate(45deg)}
.menu-btn.is-open span:nth-child(2){opacity:0}
.menu-btn.is-open span:nth-child(3){transform:translateY(-5.6px) rotate(-45deg)}
.scrim{position:fixed;inset:0;z-index:45;background:rgba(4,4,10,.6);backdrop-filter:blur(3px)}

/* ---------- responsive ---------- */
@media (max-width:1180px){
  .stats{grid-template-columns:repeat(2,1fr)}
  .workspace{grid-template-columns:1fr 1fr}
  .panel--inbox{grid-column:span 2}
}
@media (max-width:900px){
  .app{grid-template-columns:1fr;padding:12px;gap:14px}
  .menu-btn{display:flex}
  .sidebar{position:fixed;top:12px;left:12px;bottom:12px;height:auto;width:min(300px,86vw);z-index:50;
    transform:translateX(-120%);transition:transform .38s cubic-bezier(.22,.61,.36,1)}
  .sidebar.is-open{transform:none}
  .main{padding-top:56px}
  .topbar{flex-wrap:wrap}
  .workspace{grid-template-columns:1fr}
  .panel--inbox{grid-column:auto}
  .activity{grid-template-columns:1fr}
  .activity .card:nth-child(1){order:2}
  .activity .card:nth-child(2){order:1}
}
@media (max-width:560px){
  .stats{grid-template-columns:1fr}
  .stat--ring{flex-direction:row;align-items:center;gap:18px;flex-wrap:wrap}
  .stat__ringwrap{margin:0}
  .gallery{grid-template-columns:repeat(3,1fr)}
  .topbar__actions{width:100%}
  .topbar__actions .btn{flex:1;justify-content:center}
  .aibanner__card{flex-direction:column;align-items:flex-start}
  .aibanner__card .btn{width:100%;justify-content:center}
  .edit__actions{flex-wrap:wrap}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important}
  .js-enabled [data-reveal]{opacity:1;transform:none}
  .spark polyline{stroke-dashoffset:0}
  .ring__value{stroke-dashoffset:22.6}
  html{scroll-behavior:auto}
}
/* studio-chrome:canonical */
:root {
    --bg: #fafafa; --card: #fff; --surface: #fff; --text: #18181b; --muted: #71717a;
    --border: #e4e4e7; --accent: #6366f1; --radius: 16px;
    --shadow: 0 1px 2px rgba(16,24,40,.04), 0 12px 32px -14px rgba(16,24,40,.18);
  }
  * { margin:0; padding:0; box-sizing:border-box; }
  body { font-family: Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif; background:var(--bg); color:var(--text); min-height:100vh; }
  .wrap { max-width:760px; margin:0 auto; padding:24px 20px 80px; }

  /* Top bar — brand · saved state · actions (editor-comp skeleton) */
  .topbar { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0; border-bottom:1px solid var(--border); margin-bottom:26px; }
  .brandwrap { display:flex; align-items:center; gap:10px; min-width:0; }
  .badge { display:grid; place-items:center; width:32px; height:32px; border-radius:10px; background:var(--accent); color:#fff; font-weight:700; font-size:15px; flex:none; }
  .brand { font-weight:700; font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .topactions { display:flex; align-items:center; gap:14px; flex:none; }
  .saved { display:inline-flex; align-items:center; gap:7px; color:var(--muted); font-size:13px; }
  .dot { width:7px; height:7px; border-radius:50%; background:#22c55e; box-shadow:0 0 0 3px rgba(34,197,94,.15); }
  .view { color:var(--accent); text-decoration:none; font-size:13px; font-weight:500; }

  /* Workspace of cards — each future block (campaigns, marketing, …) drops in as another card */
  .card { background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow); }
  .card + .card { margin-top:16px; }
  h1 { font-size:24px; font-weight:700; }
  h2 { font-size:14px; font-weight:700; }
  .domain { color:var(--muted); font-size:14px; margin-top:4px; }
  .lead { color:var(--muted); font-size:14px; margin-top:12px; line-height:1.5; }

  .btn { display:inline-block; padding:11px 18px; border:none; border-radius:12px; font:600 14px system-ui; cursor:pointer; }
  .btn-primary { background:var(--accent); color:#fff; }
  .edit-btn { margin-top:18px; }

  /* Completeness meter */
  .meter { margin-top:18px; }
  .meter-row { display:flex; justify-content:space-between; font-size:13px; color:var(--muted); margin-bottom:7px; }
  .bar { height:8px; border-radius:999px; background:var(--border); overflow:hidden; }
  .bar i { display:block; height:100%; width:0; border-radius:999px; background:var(--accent); transition:width .4s ease; }

  /* List-first content language: label + count */
  .list-head { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-bottom:8px; }
  .hint { color:var(--muted); font-size:12.5px; }
  .rows { list-style:none; }
  .row { display:flex; align-items:center; gap:12px; padding:13px 12px; border-radius:12px; border:1px solid transparent; cursor:pointer; }
  .row:hover { border-color:var(--border); background:rgba(99,102,241,.05); }
  .row-name { font-weight:600; font-size:14px; }
  .count { margin-left:auto; color:var(--muted); font-size:12.5px; background:var(--surface); border:1px solid var(--border); border-radius:999px; padding:3px 10px; white-space:nowrap; }
  .chev { color:var(--muted); font-size:15px; }
  .empty { color:var(--muted); font-size:13.5px; padding:8px 2px; }

  /* Login */
  .login-card { max-width:360px; margin:12vh auto 0; }
  .login-card p { color:var(--muted); font-size:13px; margin-bottom:18px; }
  .login-card input { width:100%; margin-bottom:10px; padding:11px 12px; border:1px solid var(--border); border-radius:10px; font:inherit; background:var(--surface); color:var(--text); }
  .error { color:#dc2626; font-size:13px; margin-top:8px; }

  @media (max-width:560px) {
    .saved { display:none; }
    .topbar { flex-wrap:wrap; }
    .topactions { gap:10px; }
  }

/*studio-kit*/
:root{--st-bg:#faf7f2;--st-surface:#fff;--st-text:#1c1917;--st-muted:#6b7280;--st-border:rgba(0,0,0,.12);--st-accent:#b45309;--st-radius:12px;--st-font:inherit;--st-mono:ui-monospace,SFMono-Regular,Menlo,monospace;}
[data-studio-app],[data-studio-gate]{font-family:var(--st-font);color:var(--st-text);}
/* Every primitive sets its OWN colour explicitly (not inherited), so a page's colour on the region
   container can never bleed in and make the module unreadable (#studio-kit contrast). */
[data-studio],[data-studio] *{color:var(--st-text);}
.st-state{padding:22px;border:1px dashed var(--st-border);border-radius:var(--st-radius);color:var(--st-muted);text-align:center;font-size:14px;}
.st-summary{display:flex;gap:14px;flex-wrap:wrap;}
.st-metric{flex:1;min-width:140px;background:var(--st-surface);border:1px solid var(--st-border);border-radius:var(--st-radius);padding:16px 18px;color:var(--st-text);}
.st-metric__n{font-size:26px;font-weight:700;letter-spacing:-.01em;color:var(--st-text);}
.st-metric__l{margin-top:2px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--st-muted);}
.st-group{margin-top:16px;}
.st-group__h{display:flex;justify-content:space-between;font-weight:600;font-size:14px;padding:6px 0;border-bottom:1px solid var(--st-border);color:var(--st-text);}
.st-count{color:var(--st-muted);font-family:var(--st-mono);font-size:12px;}
.st-row{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid var(--st-border);color:var(--st-text);}
.st-row__l{flex:0 0 38%;font-size:13px;color:var(--st-muted);}
.st-input{flex:1;font:inherit;font-size:14px;padding:8px 10px;border:1px solid var(--st-border);border-radius:9px;background:var(--st-surface);color:var(--st-text);}
.st-input[data-ph]{border-style:dashed;}
.st-btn{font:inherit;font-weight:600;font-size:14px;padding:10px 18px;border-radius:999px;border:1px solid var(--st-border);background:var(--st-surface);color:var(--st-text);cursor:pointer;}
.st-btn--primary{margin-top:16px;background:var(--st-accent);border-color:var(--st-accent);color:#fff;}
.st-btn:disabled{opacity:.6;cursor:default;}
.st-list{margin-top:6px;color:var(--st-text);}
.st-msg{padding:12px 0;border-bottom:1px solid var(--st-border);color:var(--st-text);}
.st-msg.is-new{border-left:3px solid var(--st-accent);padding-left:12px;}
.st-msg__h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-bottom:4px;color:var(--st-text);}
.st-msg__h strong{color:var(--st-text);}
.st-when{font-size:12px;color:var(--st-muted);}
.st-kv{font-size:13px;margin:2px 0;color:var(--st-text);}
.st-kv span{color:var(--st-muted);}
