:root{
  --bg:#05080f;
  --app:#0a1020;
  --app-2:#0c1424;
  --panel:rgba(17,26,44,.72);
  --panel-solid:#101a2e;
  --panel-2:#0d1526;
  --sidebar:#0a1120;
  --line:rgba(255,255,255,.07);
  --line-strong:rgba(255,255,255,.12);
  --gold:#e2b45c;
  --gold-2:#c99a3f;
  --gold-soft:rgba(226,180,92,.14);
  --text:#f2efe7;
  --muted:#8f9db6;
  --muted-2:#6b7893;
  --green:#79c096;
  --red:#e08a7a;
  --blue:#6fa8d8;
  --radius:16px;
  --radius-sm:12px;
  --shadow:0 24px 60px -30px rgba(0,0,0,.9);
  --font-body:"Inter",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --font-display:"Cormorant Garamond",Georgia,serif;
  /* shared aliases so every owner page resolves the same tokens */
  --on-dark:var(--text);
  --on-dark-soft:#b7accf;
  --gold-deep:var(--gold-2);
  --gold-line:#c9a24b;
  --ember:#e9642b;
  --ember-soft:#ff9052;
  --line-soft:rgba(255,255,255,.08);
  --navy:#0b1436;
  --navy-2:#0e1a45;
  --navy-deep:#070f2a;
  --serif:var(--font-display);
  --sans:var(--font-body);
  --maxw:1180px;
  --ink:#141a2e;
  --ink-soft:#4a5069;
  --surface:#fff;
  --paper:#f7f2e8;
  --paper-2:#efe6d4;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
  min-height:100vh;
}
img{max-width:100%;display:block}
button{font:inherit;color:inherit;cursor:pointer}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3,h4{margin:0;font-weight:600;line-height:1.15}
p{margin:0}

/* ---------- app shell ---------- */
.app{
  position:relative;
  max-width:1360px;
  margin:0 auto;
  min-height:100vh;
  display:grid;
  grid-template-columns:236px 1fr;
  background:
    radial-gradient(1200px 700px at 88% -8%, rgba(52,74,126,.5), transparent 60%),
    radial-gradient(900px 600px at 12% 108%, rgba(34,26,58,.55), transparent 60%),
    linear-gradient(180deg,var(--app) 0%,#070d1a 100%);
  border-left:1px solid var(--line);
  border-right:1px solid var(--line);
  overflow:hidden;
}
.app::before{
  content:"";
  position:absolute;inset:0;
  background-image:
    radial-gradient(1.6px 1.6px at 18% 12%,rgba(255,255,255,.9),transparent),
    radial-gradient(1.4px 1.4px at 42% 7%,rgba(255,255,255,.7),transparent),
    radial-gradient(1.8px 1.8px at 63% 18%,rgba(255,255,255,.8),transparent),
    radial-gradient(1.3px 1.3px at 78% 9%,rgba(255,255,255,.6),transparent),
    radial-gradient(1.5px 1.5px at 88% 30%,rgba(255,255,255,.7),transparent),
    radial-gradient(1.3px 1.3px at 30% 34%,rgba(255,255,255,.5),transparent),
    radial-gradient(1.2px 1.2px at 55% 44%,rgba(255,255,255,.45),transparent),
    radial-gradient(1.6px 1.6px at 72% 60%,rgba(255,255,255,.5),transparent),
    radial-gradient(1.2px 1.2px at 10% 70%,rgba(255,255,255,.4),transparent);
  pointer-events:none;
  z-index:0;
}
.app::after{
  content:"";
  position:absolute;
  top:-140px;right:-120px;
  width:520px;height:520px;
  border-radius:50%;
  background:radial-gradient(circle at 38% 38%, #dfe6f2 0%, #aab6cc 42%, #7d8aa3 60%, rgba(125,138,163,.05) 72%, transparent 74%);
  box-shadow:0 0 120px 20px rgba(180,196,224,.16);
  opacity:.55;
  pointer-events:none;
  z-index:0;
}

/* ---------- sidebar ---------- */
.sidebar{
  position:relative;
  z-index:2;
  background:linear-gradient(180deg,rgba(9,16,30,.94),rgba(7,12,24,.94));
  border-right:1px solid var(--line);
  padding:26px 16px 22px;
  display:flex;
  flex-direction:column;
  gap:22px;
}
.brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:4px 0 18px;border-bottom:1px solid var(--line)}
.brand__mark{
  width:64px;height:64px;border-radius:50%;
  display:grid;place-items:center;
  background:radial-gradient(circle at 35% 30%, #1b2743, #0b1120);
  border:1px solid rgba(226,180,92,.4);
  box-shadow:0 0 0 6px rgba(226,180,92,.05),0 0 30px -6px rgba(226,180,92,.5);
}
.brand__mark svg{width:34px;height:34px}
.brand__name{font-family:var(--font-display);font-size:22px;letter-spacing:.5px;font-weight:600}
.brand__sub{font-size:9.5px;letter-spacing:3px;color:var(--gold);text-transform:uppercase}
.brand__loc{font-size:10.5px;color:var(--muted-2);letter-spacing:.6px}

.nav{display:flex;flex-direction:column;gap:4px;flex:1}
.nav__link{
  display:flex;align-items:center;gap:11px;
  padding:10px 12px;border-radius:11px;
  font-size:13.5px;font-weight:500;color:var(--muted);
  position:relative;
  transition:background .25s,color .25s,transform .25s;
}
.nav__link svg{width:18px;height:18px;flex:0 0 18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nav__link .dot{margin-left:auto;width:7px;height:7px;border-radius:50%;background:var(--gold);box-shadow:0 0 10px var(--gold)}
.nav__link:hover{background:rgba(255,255,255,.04);color:var(--text);transform:translateX(2px)}
.nav__link.is-active{
  background:linear-gradient(90deg,rgba(226,180,92,.2),rgba(226,180,92,.05));
  color:var(--gold);
  box-shadow:inset 0 0 0 1px rgba(226,180,92,.28);
}
.nav__link.is-active::before{
  content:"";position:absolute;left:-16px;top:50%;transform:translateY(-50%);
  width:3px;height:20px;border-radius:0 3px 3px 0;background:var(--gold);
}
.nav__link.is-disabled{cursor:not-allowed;color:var(--muted);opacity:.62}
.nav__link.is-disabled:hover{background:transparent;color:var(--muted);transform:none}
.nav__link.is-disabled .soon{
  margin-left:auto;font-family:var(--font-body);font-size:9px;font-weight:600;
  letter-spacing:.06em;text-transform:uppercase;color:var(--gold-deep);
  border:1px solid var(--line);border-radius:999px;padding:2px 7px;white-space:nowrap;
  background:rgba(226,180,92,.08);
}

.sidebar__foot{margin-top:auto;display:flex;flex-direction:column;gap:16px;padding-top:16px;border-top:1px solid var(--line)}
.who{display:flex;align-items:center;gap:11px}
.who img{width:42px;height:42px;border-radius:50%;border:1px solid rgba(226,180,92,.5)}
.who__name{font-size:13.5px;font-weight:600}
.who__role{font-size:10.5px;color:var(--muted-2)}
.quote{font-size:11px;color:var(--muted-2);line-height:1.6;font-style:italic}
.quote b{display:block;font-style:normal;color:var(--muted);margin-top:4px;font-weight:500}

/* ---------- main ---------- */
.main{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:20px;
  align-content:start;
  padding:26px 28px 34px;
}
.section{gap:20px}

/* ---------- hero ---------- */
.hero{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:18px}
.hero__date{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-bottom:10px}
.hero__date svg{width:14px;height:14px;stroke:var(--gold);fill:none;stroke-width:1.6}
.hero h1{font-family:var(--font-display);font-size:clamp(30px,4vw,44px);font-weight:600;letter-spacing:.3px}
.hero h1 em{font-style:normal;color:var(--gold)}
.hero__lead{color:var(--muted);font-size:14.5px;margin-top:8px;max-width:52ch}
.hero__actions{display:flex;gap:10px;flex-wrap:wrap}

.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:11px 18px;border-radius:11px;border:1px solid transparent;
  font-size:13.5px;font-weight:600;
  transition:transform .2s,box-shadow .25s,background .25s,border-color .25s;
}
.btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn:active{transform:translateY(1px)}
.btn--gold{background:linear-gradient(180deg,#f0c877,var(--gold-2));color:#1a1206;box-shadow:0 12px 26px -12px rgba(226,180,92,.8)}
.btn--gold:hover{box-shadow:0 16px 32px -12px rgba(226,180,92,.95);transform:translateY(-1px)}
.btn--ghost{background:rgba(255,255,255,.03);border-color:var(--line-strong);color:var(--text)}
.btn--ghost:hover{background:rgba(255,255,255,.07);border-color:rgba(226,180,92,.4)}
.btn--sm{padding:8px 13px;font-size:12.5px}

/* ---------- stat cards ---------- */
.stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stat{
  position:relative;overflow:hidden;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  display:flex;flex-direction:column;gap:10px;
  transition:transform .3s,border-color .3s,box-shadow .3s;
}
.stat:hover{transform:translateY(-3px);border-color:rgba(226,180,92,.35);box-shadow:var(--shadow)}
.stat__top{display:flex;align-items:center;gap:10px}
.stat__ico{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--gold-soft);border:1px solid rgba(226,180,92,.25)}
.stat__ico svg{width:19px;height:19px;stroke:var(--gold);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.stat__label{font-size:12px;color:var(--muted)}
.stat__value{font-family:var(--font-display);font-size:34px;font-weight:600;line-height:1}
.stat__delta{font-size:11.5px;display:inline-flex;align-items:center;gap:5px;color:var(--muted)}
.stat__delta b{color:var(--green);font-weight:600}
.stat__delta.down b{color:var(--red)}
.stat__spark{position:absolute;right:10px;bottom:8px;width:96px;height:40px;opacity:.9}
.stat__spark path.line{fill:none;stroke:var(--gold);stroke-width:2}
.stat__spark path.area{fill:rgba(226,180,92,.14);stroke:none}

/* ---------- generic panel ---------- */
.panel{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  display:flex;flex-direction:column;
  min-width:0;
  transition:border-color .3s,box-shadow .3s;
}
.panel:hover{border-color:var(--line-strong)}
.panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.panel__title{font-size:15px;font-weight:600;display:flex;align-items:center;gap:8px}
.panel__title .muted{color:var(--muted-2);font-weight:400;font-size:13px}
.chip{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 11px;border-radius:999px;font-size:11.5px;font-weight:600;
  background:rgba(255,255,255,.05);border:1px solid var(--line-strong);color:var(--muted);
  transition:background .2s,color .2s,border-color .2s;
}
.chip:hover{color:var(--text);border-color:rgba(226,180,92,.4)}
.badge-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--gold);color:#1a1206;font-size:11px;font-weight:700}

/* section placement */
.sec-site{grid-column:span 4}
.sec-content{grid-column:span 4}
.sec-inbox{grid-column:span 4}
.sec-activity{grid-column:span 5}
.sec-media{grid-column:span 7}

/* ---------- site list ---------- */
.sitehead{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--muted);margin-bottom:12px}
.sitehead .sep{color:var(--muted-2)}
.site-list{display:flex;flex-direction:column;gap:2px}
.site-item{
  display:flex;align-items:center;gap:10px;
  padding:9px 10px;border-radius:9px;font-size:13px;color:var(--muted);
  transition:background .2s,color .2s;
  cursor:grab;
}
.site-item svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.site-item .grip{margin-left:auto;opacity:.45}
.site-item:hover{background:rgba(255,255,255,.04);color:var(--text)}
.site-item.is-active{background:linear-gradient(90deg,rgba(226,180,92,.18),rgba(226,180,92,.03));color:var(--gold)}
.site-item.is-active .grip{opacity:.8}

/* ---------- content preview ---------- */
.tagrow{display:flex;gap:8px;margin:4px 0 12px}
.tag{padding:4px 10px;border-radius:999px;font-size:11px;background:rgba(226,180,92,.14);color:var(--gold);border:1px solid rgba(226,180,92,.25)}
.tag.alt{background:rgba(111,168,216,.12);color:var(--blue);border-color:rgba(111,168,216,.25)}
.preview__body{font-size:13px;color:var(--muted);line-height:1.65}
.preview__actions{display:flex;align-items:center;gap:8px;margin:14px 0}
.icon-btn{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.04);border:1px solid var(--line-strong);color:var(--muted);transition:.2s}
.icon-btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round}
.icon-btn:hover{color:var(--gold);border-color:rgba(226,180,92,.4)}
.nav-burger{display:none}
.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:auto}
.thumbs img{width:100%;height:66px;object-fit:cover;border-radius:9px;border:1px solid var(--line)}

/* ---------- inbox messages ---------- */
.msg-list{display:flex;flex-direction:column;gap:8px;flex:1}
.msg{
  display:flex;gap:12px;align-items:flex-start;
  padding:11px;border-radius:12px;
  background:rgba(255,255,255,.02);border:1px solid var(--line);
  transition:background .22s,border-color .22s,transform .22s;
}
.msg:hover{background:rgba(255,255,255,.05);border-color:rgba(226,180,92,.32);transform:translateX(2px)}
.msg__av{
  flex:0 0 36px;width:36px;height:36px;border-radius:50%;
  display:grid;place-items:center;font-size:11.5px;font-weight:700;letter-spacing:.3px;color:#0d1424;
  background:linear-gradient(140deg,#e9cf9a,#c99a3f);
}
.msg__av.b{background:linear-gradient(140deg,#9cc2e6,#5d84ad)}
.msg__av.c{background:linear-gradient(140deg,#b8a3d6,#7d63a8)}
.msg__av.d{background:linear-gradient(140deg,#8fd0ad,#4fA07a)}
.msg__main{min-width:0;flex:1}
.msg__subj{font-size:13px;font-weight:600;display:flex;align-items:center;gap:7px}
.msg__who{font-size:10.5px;font-weight:500;color:var(--muted-2)}
.msg__txt{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.msg__time{font-size:10.5px;color:var(--muted-2);white-space:nowrap;display:flex;align-items:center;gap:4px;margin-top:2px}
.pill{font-size:9.5px;padding:2px 7px;border-radius:999px;background:rgba(121,192,150,.16);color:var(--green);font-weight:600;letter-spacing:.4px;text-transform:uppercase}
.pill.gold{background:var(--gold-soft);color:var(--gold)}
.pill.red{background:rgba(224,138,122,.14);color:var(--red)}
.link-all{align-self:flex-start;font-size:12.5px;color:var(--muted);margin-top:12px;display:inline-flex;align-items:center;gap:6px;transition:color .2s}
.link-all:hover{color:var(--gold)}
.link-all svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}

/* ---------- activities ---------- */
.act-list{display:flex;flex-direction:column;gap:2px}
.act{display:flex;align-items:center;gap:12px;padding:10px 8px;border-radius:10px;transition:background .2s}
.act:hover{background:rgba(255,255,255,.04)}
.act__ico{flex:0 0 34px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.04);border:1px solid var(--line-strong)}
.act__ico svg{width:16px;height:16px;stroke:var(--gold);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.act__ico.g{background:rgba(121,192,150,.12)}.act__ico.g svg{stroke:var(--green)}
.act__ico.b{background:rgba(111,168,216,.12)}.act__ico.b svg{stroke:var(--blue)}
.act__txt{font-size:12.5px;flex:1;min-width:0}
.act__txt b{font-weight:600}
.act__meta{font-size:11px;color:var(--muted-2);white-space:nowrap}

/* ---------- media ---------- */
.media-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.media-tile{position:relative;border-radius:12px;overflow:hidden;border:1px solid var(--line);transition:transform .3s,box-shadow .3s}
.media-tile img{width:100%;height:96px;object-fit:cover;display:block}
.media-tile:hover{transform:translateY(-3px) scale(1.02);box-shadow:var(--shadow);z-index:2}
.media-tile figcaption{position:absolute;left:0;right:0;bottom:0;padding:16px 9px 7px;font-size:10.5px;color:#e9edf5;background:linear-gradient(transparent,rgba(0,0,0,.75))}

/* ---------- cta / binnenkort ---------- */
.cta{
  grid-column:1/-1;position:relative;overflow:hidden;
  background:
    radial-gradient(600px 300px at 92% 50%, rgba(226,180,92,.16), transparent 70%),
    linear-gradient(120deg,rgba(16,26,46,.95),rgba(11,18,34,.95));
  border:1px solid var(--line-strong);
  border-radius:var(--radius);
  padding:26px 28px;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:22px;
}
.cta__left{display:flex;gap:16px;align-items:center;max-width:640px}
.cta__ico{flex:0 0 52px;width:52px;height:52px;border-radius:14px;display:grid;place-items:center;background:var(--gold-soft);border:1px solid rgba(226,180,92,.3)}
.cta__ico svg{width:26px;height:26px;stroke:var(--gold);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cta__tag{font-size:10.5px;letter-spacing:2.4px;text-transform:uppercase;color:var(--gold)}
.cta h2{font-family:var(--font-display);font-size:26px;margin:2px 0 6px}
.cta p{font-size:13.5px;color:var(--muted);max-width:56ch}
.cta__moon{position:absolute;right:120px;top:50%;transform:translateY(-50%);opacity:.9;pointer-events:none}
.cta__moon svg{width:74px;height:74px}
.cta__right{display:flex;flex-direction:column;gap:10px;align-items:flex-end}
.notify{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted-2)}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(18px)}
.reveal.is-in{opacity:1;transform:none;transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
.reveal.d1.is-in{transition-delay:.05s}
.reveal.d2.is-in{transition-delay:.1s}
.reveal.d3.is-in{transition-delay:.15s}
.reveal.d4.is-in{transition-delay:.2s}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .stats{grid-template-columns:repeat(2,1fr)}
  .sec-site,.sec-content{grid-column:span 6}
  .sec-inbox{grid-column:span 12}
  .sec-activity{grid-column:span 12}
  .sec-media{grid-column:span 12}
  .media-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:820px){
  .app{grid-template-columns:1fr}
  .nav-burger{display:grid}
  .sidebar{
    position:fixed;inset:0 auto 0 0;width:250px;z-index:40;
    transform:translateX(-105%);transition:transform .35s cubic-bezier(.3,.7,.2,1);
    box-shadow:30px 0 60px -20px rgba(0,0,0,.8);
  }
  .app.nav-open .sidebar{transform:none}
  .app.nav-open::after{content:"";position:fixed;inset:0;background:rgba(3,6,12,.6);z-index:30;border:0;width:auto;height:auto;border-radius:0}
  .main{padding:74px 18px 30px}
  .topbar{
    position:fixed;top:0;left:0;right:0;z-index:35;
    display:flex;align-items:center;justify-content:space-between;gap:12px;
    padding:14px 18px;
    background:rgba(8,13,24,.86);backdrop-filter:blur(12px);
    border-bottom:1px solid var(--line);
  }
  .topbar__brand{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-size:18px}
  .topbar__brand svg{width:26px;height:26px}
  .stats{grid-template-columns:1fr 1fr;gap:12px}
  .sec-site,.sec-content,.sec-inbox,.sec-activity,.sec-media{grid-column:span 12}
  .hero{align-items:flex-start}
  .hero__actions{width:100%}
  .hero__actions .btn{flex:1;justify-content:center}
  .cta__moon{display:none}
  .cta__right{align-items:flex-start;width:100%}
}
@media (min-width:821px){.topbar{display:none}}
@media (max-width:520px){
  .stats{grid-template-columns:1fr}
  .media-grid{grid-template-columns:repeat(2,1fr)}
  .cta{padding:20px}
  .cta__left{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms!important;transition-duration:.001ms!important}
  .reveal{opacity:1;transform:none}
  html{scroll-behavior:auto}
}
/* studio-chrome:canonical */
:root{
    --navy:#0b1436; --navy-2:#0e1a45; --navy-deep:#070f2a;
    --bg:#070512; --bg-soft:#0b0820; --panel:rgba(20,15,42,.72);
    --on-dark:#f5f0e6; --on-dark-soft:#b7accf; --muted:#8b90a8;
    --gold:#e7c65a; --gold-deep:#d9b64a; --gold-soft:#f2dc96; --gold-line:#c9a24b;
    --ember:#e9642b;
    --line:rgba(231,198,90,.28); --line-strong:rgba(231,198,90,.55); --line-soft:rgba(255,255,255,.08);
    --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
    --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
    --maxw:1180px; --radius:16px;
  }
  html{scroll-behavior:smooth}
  body{background:var(--bg);color:var(--on-dark);font-family:var(--sans)}
  body::before{
    content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;
    background:
      radial-gradient(900px 520px at 82% -8%,rgba(231,198,90,.10),transparent 60%),
      radial-gradient(760px 520px at 8% 4%,rgba(11,20,54,.85),transparent 62%),
      linear-gradient(180deg,var(--navy-deep),var(--bg) 60%);
  }
  .main{padding:0 0 56px}
  .wrap{max-width:1080px;margin:0 auto;padding:0 34px}
  .hidden{display:none !important}

  /* ---------- topbar ---------- */
  .topbar{
    position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;
    gap:16px;padding:16px 34px;border-bottom:1px solid var(--line-soft);
    background:rgba(7,5,18,.78);backdrop-filter:blur(14px);
  }
  .tb-left{display:flex;align-items:center;gap:12px;min-width:0}
  .tb-mark{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:11px;
    border:1px solid var(--line);background:linear-gradient(160deg,rgba(231,198,90,.16),rgba(11,20,54,.4))}
  .tb-mark svg{width:20px;height:20px}
  .tb-name{font-family:var(--serif);font-size:20px;line-height:1;color:var(--on-dark)}
  .tb-sub{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-top:3px}
  .tb-right{display:flex;align-items:center;gap:12px}
  .tb-site{font-size:12.5px;color:var(--on-dark-soft);display:flex;align-items:center;gap:7px;max-width:220px}
  .tb-site b{color:var(--on-dark);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .tb-user{display:flex;align-items:center;gap:9px}
  .tb-user img{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:var(--navy)}
  @media(max-width:720px){.tb-site{display:none}}

  /* ---------- buttons ---------- */
  .btn{display:inline-flex;align-items:center;gap:9px;font-family:var(--sans);font-size:13.5px;font-weight:600;
    letter-spacing:.01em;border-radius:999px;padding:11px 20px;cursor:pointer;text-decoration:none;
    border:1px solid transparent;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
  .btn svg{width:16px;height:16px}
  .main .btn--gold{background:linear-gradient(180deg,var(--gold-soft),var(--gold));color:#231a05;
    box-shadow:0 10px 26px -12px rgba(231,198,90,.7)}
  .main .btn--gold:hover{transform:translateY(-1px);box-shadow:0 16px 34px -14px rgba(231,198,90,.85)}
  .main .btn--ghost{background:rgba(255,255,255,.03);border-color:var(--line);color:var(--on-dark)}
  .main .btn--ghost:hover{border-color:var(--line-strong);background:rgba(231,198,90,.08)}

  /* ---------- greeting ---------- */
  .greet{position:relative;margin:34px 0 26px;padding:38px 40px 36px;border:1px solid var(--line);
    border-radius:24px;overflow:hidden;
    background:linear-gradient(180deg,rgba(20,15,42,.9),rgba(11,8,32,.72))}
  .greet::after{content:"";position:absolute;right:-90px;top:-120px;width:340px;height:340px;border-radius:50%;
    background:radial-gradient(circle,rgba(231,198,90,.22),transparent 66%);pointer-events:none}
  .eyebrow{font-size:11.5px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-weight:600}
  .greet__date{margin-top:10px}
  .greet h1{font-family:var(--serif);font-weight:600;font-size:clamp(30px,4.6vw,48px);line-height:1.05;
    color:var(--on-dark);margin:10px 0 0;letter-spacing:.005em}
  .greet__lead{margin:12px 0 0;max-width:56ch;font-size:15px;line-height:1.6;color:var(--on-dark-soft)}
  .greet__actions{margin-top:24px;display:flex;gap:12px;flex-wrap:wrap}
  @media(max-width:560px){.greet{padding:28px 22px}}

  /* ---------- section heads ---------- */
  .sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:40px 0 16px}
  .sec-head h2{font-family:var(--serif);font-weight:600;font-size:clamp(22px,2.6vw,28px);color:var(--on-dark);margin:0}
  .sec-head .muted{font-size:12.5px;color:var(--muted)}

  /* ---------- band ---------- */
  .band{display:grid;grid-template-columns:1fr 1fr;gap:22px}
  @media(max-width:880px){.band{grid-template-columns:1fr}}
  .card{border:1px solid var(--line);border-radius:20px;background:var(--panel);padding:24px 24px 26px;
    backdrop-filter:blur(6px)}
  .card__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
  .card__title{font-family:var(--serif);font-weight:600;font-size:21px;color:var(--on-dark);margin:0}
  .card__chip{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--gold-deep);
    border:1px solid var(--line);border-radius:999px;padding:3px 10px;background:rgba(231,198,90,.07)}

  /* ring */
  .ringwrap{display:flex;align-items:center;gap:26px}
  .ringbox{position:relative;width:136px;height:136px;flex:none}
  .ring{width:136px;height:136px;display:block;transform:rotate(-90deg)}
  .ring__bg{fill:none;stroke:rgba(231,198,90,.15);stroke-width:10}
  .ring__fg{fill:none;stroke:url(#goldgrad);stroke-width:10;stroke-linecap:round;transition:stroke-dashoffset 1s cubic-bezier(.22,1,.36,1)}
  .ring__val{position:absolute;inset:0;display:grid;place-content:center;text-align:center}
  .ring__num{font-family:var(--serif);font-size:34px;line-height:1;color:var(--on-dark)}
  .ring__num span{font-size:16px;color:var(--gold)}
  .ring__cap{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-top:4px}
  .ringmeta{display:flex;flex-direction:column;gap:14px}
  .ringmeta__row{display:flex;flex-direction:column;gap:3px}
  .ringmeta__k{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
  .ringmeta__v{font-size:15px;color:var(--on-dark)}
  .ringmeta__v b{color:var(--gold);font-weight:600}

  /* attention list */
  .attn{display:flex;flex-direction:column;gap:4px}
  .attn__row{display:flex;align-items:center;gap:13px;padding:12px 12px;border-radius:13px;
    text-decoration:none;color:inherit;border:1px solid transparent;transition:background .18s ease,border-color .18s ease}
  .attn__row:hover{background:rgba(231,198,90,.08);border-color:var(--line)}
  .attn__ico{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:10px;
    border:1px solid var(--line);background:rgba(231,198,90,.07);color:var(--gold)}
  .attn__ico svg{width:16px;height:16px}
  .attn__main{flex:1;min-width:0}
  .attn__label{font-size:14.5px;color:var(--on-dark);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .attn__sec{font-size:11.5px;color:var(--muted);margin-top:2px}
  .attn__arrow{color:var(--gold);flex:none;display:grid;place-items:center}
  .attn__arrow svg{width:16px;height:16px}
  .attn__empty{display:flex;align-items:center;gap:12px;padding:16px 12px;color:var(--on-dark-soft);font-size:14px}
  .attn__empty .ok{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:50%;
    background:rgba(120,200,140,.12);color:#8fd6a3;border:1px solid rgba(143,214,163,.35)}

  /* site grid */
  .grid6{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
  @media(max-width:880px){.grid6{grid-template-columns:repeat(2,1fr)}}
  @media(max-width:560px){.grid6{grid-template-columns:1fr}}
  .gcard{display:flex;flex-direction:column;gap:16px;padding:22px;border-radius:18px;text-decoration:none;
    border:1px solid var(--line);background:var(--panel);color:inherit;
    transition:transform .2s ease,border-color .2s ease,background .2s ease}
  .gcard:hover{transform:translateY(-3px);border-color:var(--line-strong);background:rgba(231,198,90,.06)}
  .gcard__top{display:flex;align-items:center;justify-content:space-between}
  .gcard__ico{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;
    border:1px solid var(--line);background:rgba(231,198,90,.08);color:var(--gold)}
  .gcard__ico svg{width:18px;height:18px}
  .gcard__arrow{color:var(--muted);transition:color .2s ease,transform .2s ease}
  .gcard:hover .gcard__arrow{color:var(--gold);transform:translate(2px,-2px)}
  .gcard__label{font-size:15px;color:var(--on-dark);font-weight:600}
  .gcard__count{font-size:12.5px;color:var(--muted);margin-top:3px}

  /* shortcuts */
  .shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
  @media(max-width:820px){.shortcuts{grid-template-columns:1fr}}
  .scard{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:34px;
    padding:26px;border-radius:20px;text-decoration:none;color:inherit;overflow:hidden;
    border:1px solid var(--line);background:linear-gradient(165deg,rgba(20,15,42,.9),rgba(11,8,32,.7));
    transition:transform .2s ease,border-color .2s ease}
  .scard:hover{transform:translateY(-3px);border-color:var(--line-strong)}
  .scard__ico{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;
    border:1px solid var(--line);background:rgba(231,198,90,.1);color:var(--gold)}
  .scard__ico svg{width:20px;height:20px}
  .scard__title{font-family:var(--serif);font-size:23px;font-weight:600;color:var(--on-dark);margin:16px 0 0}
  .scard__sub{font-size:13px;color:var(--on-dark-soft);margin:5px 0 0}
  .scard__go{display:flex;align-items:center;gap:8px;color:var(--gold);font-size:13px;font-weight:600}
  .scard__go svg{width:15px;height:15px}

  /* status strip */
  .status{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:24px;padding:16px 22px;
    border:1px solid var(--line);border-radius:16px;background:rgba(11,8,32,.6)}
  .status__item{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--on-dark-soft)}
  .status__item b{color:var(--on-dark);font-weight:600}
  .status__dot{width:9px;height:9px;border-radius:50%;background:var(--gold);
    box-shadow:0 0 0 4px rgba(231,198,90,.15);animation:pulse 2.4s ease-in-out infinite}
  @keyframes pulse{0%,100%{box-shadow:0 0 0 4px rgba(231,198,90,.15)}50%{box-shadow:0 0 0 7px rgba(231,198,90,.05)}}
  .status__sep{width:1px;height:18px;background:var(--line-soft)}
  @media(max-width:560px){.status__sep{display:none}}

  /* ---------- login gate ---------- */
  .gate{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 22px}
  .gate__card{width:100%;max-width:400px;border:1px solid var(--line);border-radius:24px;
    background:var(--panel);padding:36px 32px;backdrop-filter:blur(10px);
    box-shadow:0 40px 80px -40px rgba(0,0,0,.75)}
  .gate__mark{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;margin-bottom:20px;
    border:1px solid var(--line);background:linear-gradient(160deg,rgba(231,198,90,.18),rgba(11,20,54,.4))}
  .gate__mark svg{width:24px;height:24px}
  .gate h1{font-family:var(--serif);font-size:30px;font-weight:600;color:var(--on-dark);margin:0}
  .gate p{font-size:13.5px;color:var(--on-dark-soft);margin:8px 0 24px;line-height:1.6}
  .gate label{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:14px 0 7px}
  .gate input{width:100%;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.04);
    border:1px solid var(--line);color:var(--on-dark);font-family:var(--sans);font-size:14.5px;outline:none}
  .gate input:focus{border-color:var(--line-strong);background:rgba(231,198,90,.05)}
  .gate button{width:100%;margin-top:22px;justify-content:center}
  .gate__msg{min-height:18px;font-size:12.5px;color:var(--ember);margin-top:12px}

/*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);}
