/* Yasnocore admin theme
   Palette from the brandbook:
   Green #009454, Orange #ef9901, Light #f3f3f3, Dark #383838
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root{
  --helikor-green:#009454;
  --helikor-green-deep:#007a46;
  --helikor-orange:#ef9901;
  --helikor-orange-deep:#c97b00;
  --helikor-surface:#f3f3f3;
  --helikor-surface-warm:#f7f7f5;
  --helikor-ink:#383838;
  --helikor-ink-soft:rgba(56,56,56,.72);
  --helikor-line:rgba(56,56,56,.10);
  --helikor-line-strong:rgba(0,148,84,.18);
  --helikor-soft-green:rgba(0,148,84,.08);
  --helikor-soft-orange:rgba(239,153,1,.12);
  --helikor-soft-ink:rgba(56,56,56,.05);
  --helikor-soft-danger:rgba(211,72,61,.10);
  --helikor-white:#ffffff;
  --helikor-danger:#d3483d;
  --helikor-info:#0d6bb8;
  --helikor-warn:#b96d00;
  --helikor-shadow:0 22px 60px rgba(19,37,31,.10);
  --helikor-shadow-soft:0 14px 34px rgba(19,37,31,.07);
  --helikor-radius-xl:28px;
  --helikor-radius-lg:22px;
  --helikor-radius-md:16px;

  /* Backward-compatible tokens used across the existing admin */
  --brand:var(--helikor-green);
  --brandDark:var(--helikor-green-deep);
  --black:var(--helikor-ink);
  --bg:var(--helikor-surface-warm);
  --text:var(--helikor-ink);
  --muted:var(--helikor-ink-soft);
  --border:var(--helikor-line);
  --shadow:var(--helikor-shadow);
  --shadowSoft:var(--helikor-shadow-soft);
  --radius:24px;
  --ok:var(--helikor-green);
  --danger:var(--helikor-danger);
  --info:var(--helikor-info);
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  min-height:100%;
  font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  background:linear-gradient(180deg,#f6f6f4 0%, #efefec 100%);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body{
  position:relative;
  min-height:100vh;
}

body::before,
body::after{
  content:"";
  position:fixed;
  border-radius:50%;
  pointer-events:none;
  z-index:0;
}

body::before{
  width:560px;
  height:560px;
  top:-290px;
  left:-220px;
  border:34px solid rgba(0,148,84,.13);
  border-right-color:transparent;
  border-bottom-color:transparent;
  transform:rotate(-12deg);
}

body::after{
  width:700px;
  height:700px;
  right:-290px;
  bottom:-340px;
  border:40px solid rgba(0,148,84,.10);
  border-left-color:transparent;
  border-top-color:transparent;
  transform:rotate(12deg);
}

@media print{
  body::before,
  body::after{display:none !important}
}

body > *{position:relative;z-index:1}

h1,h2,h3,h4,h5,h6{
  margin:0 0 .55em;
  line-height:1.15;
  letter-spacing:-.02em;
  color:var(--text);
}

p{margin:.1em 0 1em}

a{color:inherit;text-decoration:none}
a:hover{text-decoration:none}
img{display:block;max-width:100%}

.top,
.wrap,
.wrap-login,
.container,
.msi-page,
.page{position:relative;z-index:1}

.top{
  width:min(1280px, calc(100% - 32px));
  margin:18px auto 16px;
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  border-radius:var(--helikor-radius-xl);
  background:rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  position:sticky;
  top:12px;
  z-index:60;
}

.nav,
.user{display:flex;gap:10px;align-items:center;flex-wrap:wrap;min-width:0}

.brand,
a.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  text-decoration:none;
}

.brand-mark{
  width:56px;
  height:56px;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(0,148,84,.11), rgba(239,153,1,.08));
  box-shadow:inset 0 0 0 1px rgba(0,148,84,.12), 0 12px 24px rgba(19,37,31,.08);
}

.brand-mark img{width:34px;height:34px}

.brand-copy{display:flex;flex-direction:column;gap:3px;min-width:0}

.brand-name,
.brand-title{
  font-weight:800;
  line-height:1;
  letter-spacing:.10em;
  color:var(--helikor-green);
  text-transform:uppercase;
  white-space:nowrap;
}

.brand-subtitle{
  font-size:.72rem;
  line-height:1.15;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(56,56,56,.68);
  white-space:nowrap;
}

.nav > a,
.nav summary{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:9px 14px;
  border-radius:999px;
  color:rgba(56,56,56,.84);
  font-size:.93rem;
  font-weight:700;
  transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.nav > a:hover,
.nav summary:hover{
  background:var(--helikor-soft-green);
  color:var(--helikor-green);
  transform:translateY(-1px);
}

.nav > a.active,
.nav summary.active{
  background:linear-gradient(135deg, rgba(0,148,84,.12), rgba(239,153,1,.12));
  color:var(--helikor-green);
  box-shadow:inset 0 0 0 1px rgba(0,148,84,.12);
}

.wrap,
.container{
  width:min(1240px, calc(100% - 32px));
  margin:0 auto 40px;
  padding:0;
}

.wrap-login{
  width:min(1180px, calc(100% - 32px));
  margin:24px auto 42px;
}

.card,
.panel,
.notice,
.alert,
.box{
  background:rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius:var(--helikor-radius-lg);
  box-shadow:var(--shadowSoft);
}

.card,
.panel,
.alert,
.notice{padding:18px 20px}
.box{padding:14px 16px}

.card + .card,
.alert + .card,
.notice + .card{margin-top:14px}

.grid{display:grid;gap:14px}
.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid2{display:grid;gap:14px}
@media(min-width:1080px){.grid2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:980px){.grid.cols-3{grid-template-columns:1fr}}
@media(max-width:900px){.grid.cols-2,.grid2{grid-template-columns:1fr}}

.row,
.row-actions,
.inline-tags,
.hero-tags,
.hero-meta,
.speaker-actions,
.speaker-mini-actions,
.speaker-mini-chips,
.form-inline,
.tags{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

label{
  display:block;
  margin-bottom:6px;
  font-size:12px;
  font-weight:600;
  color:var(--muted);
}

.field{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
.field > span{font-size:12px;font-weight:700;color:var(--muted)}

input[type=text],input:not([type]),input[type=password],input[type=number],input[type=email],input[type=tel],input[type=url],input[type=date],input[type=time],input[type=search],textarea,select,.input,.in{
  width:100%;
  box-sizing:border-box;
  padding:11px 13px;
  border-radius:16px;
  border:1px solid rgba(56,56,56,.10);
  background:rgba(255,255,255,.95);
  color:var(--text);
  font:inherit;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

textarea{min-height:96px;resize:vertical}
textarea.env{min-height:260px}

input:focus,textarea:focus,select:focus,.input:focus,.in:focus{
  border-color:rgba(0,148,84,.35);
  box-shadow:0 0 0 4px rgba(0,148,84,.12);
  background:#fff;
}

input[type=checkbox],
input[type=radio]{accent-color:var(--helikor-green)}

input.token,
.mono,
code,
pre,
textarea.env{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono','Courier New',monospace;
}

.btn,
button.btn,
input[type=submit].btn,
summary.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:10px 16px;
  border-radius:16px;
  border:1px solid rgba(0,148,84,.18);
  background:linear-gradient(135deg, var(--helikor-green), #11a865);
  color:#fff;
  font-weight:800;
  font-size:.95rem;
  line-height:1.1;
  text-decoration:none;
  cursor:pointer;
  box-shadow:0 12px 28px rgba(0,148,84,.18);
  transition:transform .18s ease, filter .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover,
summary.btn:hover{transform:translateY(-1px);filter:saturate(1.02)}
.btn:disabled{opacity:.62;cursor:not-allowed;box-shadow:none;transform:none}

.btn.secondary,
.btn.alt{
  background:linear-gradient(135deg, #383838, #4d4d4d);
  border-color:rgba(56,56,56,.16);
  box-shadow:0 12px 24px rgba(56,56,56,.18);
}

.btn.warn{
  background:linear-gradient(135deg, var(--helikor-orange), #ffb22d);
  border-color:rgba(239,153,1,.20);
  box-shadow:0 12px 24px rgba(239,153,1,.18);
}

.btn.danger,
.btn.red,
.btn.bad{
  background:linear-gradient(135deg, var(--helikor-danger), #e35d51);
  border-color:rgba(211,72,61,.18);
  box-shadow:0 12px 24px rgba(211,72,61,.18);
}

.btn.ghost{
  background:rgba(255,255,255,.92);
  color:var(--text);
  border:1px solid var(--border);
  box-shadow:none;
}

.btn.ghost:hover{background:#fff}
summary.btn{list-style:none}
summary.btn::-webkit-details-marker{display:none}

.top .pill,
.top .badge,
.top .btn.ghost{
  background:rgba(56,56,56,.06);
  color:var(--text);
  border-color:rgba(56,56,56,.08);
}

.top .btn.ghost:hover{background:rgba(56,56,56,.10)}

.kpi{display:flex;gap:12px;flex-wrap:wrap}
.kpi .box,
.box{
  background:rgba(255,255,255,.78);
  border:1px solid var(--border);
}
.kpi .box{min-width:170px}
.val{font-size:24px;font-weight:800}
.lbl,
.small,
.tiny,
.note,
.hint,
.muted{color:var(--muted)}
.small{font-size:13px}
.tiny{font-size:12px}
.hint{font-size:12px;line-height:1.5}
.note{font-size:12px}
.ok{color:var(--ok)}
.err,.bad{color:var(--danger)}
.info{color:var(--info)}
.warn{color:var(--helikor-warn)}

.badge,
.pill,
.tag,
.tag-chip,
.soft-chip,
.user-chip,
.status-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.92);
  color:var(--text);
  font-size:12px;
  font-weight:800;
}

.badge.ok,.pill.ok{background:rgba(0,148,84,.10);border-color:rgba(0,148,84,.18);color:var(--ok)}
.badge.warn,.pill.warn{background:rgba(239,153,1,.12);border-color:rgba(239,153,1,.20);color:var(--helikor-warn)}
.badge.bad,.badge.err,.pill.bad{background:rgba(211,72,61,.10);border-color:rgba(211,72,61,.16);color:var(--danger)}
.badge.info,.pill.info{background:rgba(13,107,184,.10);border-color:rgba(13,107,184,.16);color:var(--info)}
.badge.neutral,.pill.neutral{background:rgba(56,56,56,.06);border-color:rgba(56,56,56,.10);color:var(--text)}
.pill strong{font-weight:900}

.notice,
.alert{
  display:block;
  margin-bottom:14px;
}

.notice.ok,
.alert.ok{
  border-color:rgba(0,148,84,.18);
  background:linear-gradient(135deg, rgba(0,148,84,.08), rgba(255,255,255,.92));
}

.notice.bad,
.alert.err,
.alert.bad{
  border-color:rgba(211,72,61,.18);
  background:linear-gradient(135deg, rgba(211,72,61,.08), rgba(255,255,255,.92));
}

.alert.warn{
  border-color:rgba(239,153,1,.18);
  background:linear-gradient(135deg, rgba(239,153,1,.08), rgba(255,255,255,.92));
}

.table-wrap{
  overflow:auto;
  border:1px solid var(--border);
  border-radius:20px;
  background:rgba(255,255,255,.78);
}

.table,
.tbl,
table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
}

th,td,
.tbl th,.tbl td,
.table th,.table td{
  padding:12px 10px;
  border-bottom:1px solid rgba(56,56,56,.07);
  text-align:left;
  vertical-align:top;
}

th,
.tbl th,
.table th{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:rgba(56,56,56,.58);
  font-weight:800;
}

tbody tr:hover td{background:rgba(0,148,84,.03)}
.nowrap{white-space:nowrap}

pre{
  white-space:pre-wrap;
  word-break:break-word;
  background:#111a17;
  color:#eef5f2;
  padding:16px;
  border-radius:20px;
  overflow:auto;
  max-height:560px;
  border:1px solid rgba(0,148,84,.14);
}

code{
  display:inline-block;
  padding:2px 8px;
  border-radius:10px;
  background:rgba(56,56,56,.06);
  color:var(--text);
}

hr{
  border:0;
  border-top:1px solid var(--border);
  margin:18px 0;
}

input[type=file]{
  width:100%;
  box-sizing:border-box;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  color:inherit;
}

input[type=file]::file-selector-button,
input[type=file]::-webkit-file-upload-button{
  margin-right:12px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:8px 12px;
  background:rgba(255,255,255,.95);
  color:inherit;
  cursor:pointer;
  font-weight:800;
}

input[type=file]::file-selector-button:hover,
input[type=file]::-webkit-file-upload-button:hover{background:#fff}

.hero,
.login-shell{
  display:grid;
  gap:18px;
}

.login-shell{grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr)}
@media(max-width:980px){.login-shell{grid-template-columns:1fr}}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(0,148,84,.10);
  color:var(--helikor-green);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.eyebrow::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--helikor-orange);
  box-shadow:0 0 0 4px rgba(239,153,1,.12);
}

.login-brand-panel,
.login-form-card{padding:28px}

.login-brand-panel{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:520px;
  overflow:hidden;
  position:relative;
}

.login-brand-panel::after{
  content:"";
  position:absolute;
  width:240px;
  height:240px;
  right:-70px;
  top:-40px;
  border-radius:50%;
  border:24px solid rgba(0,148,84,.10);
  border-right-color:transparent;
  border-bottom-color:transparent;
  transform:rotate(18deg);
}

.login-brand-panel h1{font-size:clamp(2.2rem,4vw,3.3rem);margin:18px 0 12px}
.login-brand-panel p{max-width:640px;font-size:1rem;line-height:1.7;color:rgba(56,56,56,.84)}
.feature-list{display:grid;gap:10px;margin-top:20px}
.feature-item{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.72);border:1px solid rgba(56,56,56,.07)}
.feature-item strong{display:block;font-size:.96rem;margin-bottom:3px}
.feature-item .dot{width:12px;height:12px;border-radius:50%;background:var(--helikor-green);box-shadow:0 0 0 5px rgba(0,148,84,.10);margin-top:4px;flex:0 0 auto}
.login-form-head{margin-bottom:18px}
.login-form-head h2{font-size:1.6rem;margin:10px 0 8px}
.login-form-card .btn{width:100%}
.login-form-card .alert,.login-form-card .notice{margin-bottom:12px}

/* Smart overrides for legacy inline colors */
[style*="background:#1b4f91"]{
  background:linear-gradient(135deg, var(--helikor-orange), #ffb22d) !important;
  border-color:rgba(239,153,1,.20) !important;
  color:#fff !important;
}

[style*="background:#b42318"],
[style*="background:#b91c1c"]{
  background:linear-gradient(135deg, var(--helikor-danger), #e35d51) !important;
  border-color:rgba(211,72,61,.20) !important;
  color:#fff !important;
}

[style*="color:#b42318"]{color:var(--helikor-danger) !important}

@media(max-width:980px){
  .top{padding:14px 16px}
}

@media(max-width:780px){
  body::before{width:420px;height:420px;left:-220px;top:-220px}
  body::after{width:520px;height:520px;right:-280px;bottom:-280px}
  .top{width:min(100% - 20px, calc(100% - 20px));margin:10px auto 12px;padding:14px 14px;top:6px;border-radius:22px}
  .wrap,.container,.wrap-login,.msi-page{width:min(100% - 20px, calc(100% - 20px))}
  .brand-mark{width:48px;height:48px;border-radius:16px}
  .brand-mark img{width:30px;height:30px}
  .brand-subtitle{display:none}
  .card,.panel,.notice,.alert{padding:16px}
  .btn{width:auto}
}

@media print{
  .top{display:none !important}
  .wrap,.container,.page,.msi-page{width:100% !important;margin:0 !important}
  .card,.panel,.alert,.notice{box-shadow:none !important}
}



/* Compact navigation + future multi-user ready admin layout */
:root{
  --top-shell-padding:12px;
  --top-subnav-min-height:58px;
}

h1{font-size:clamp(1.3rem,.9vw + .96rem,1.78rem);font-weight:700;line-height:1.12}
h2{font-size:clamp(1.04rem,.6vw + .86rem,1.28rem);font-weight:700}
h3{font-size:clamp(.96rem,.45vw + .84rem,1.08rem);font-weight:700}
h4{font-size:1rem}
h2,h3,h4{scroll-margin-top:176px}

.top{
  width:min(1320px, calc(100% - 28px));
  display:grid;
  gap:12px;
  padding:var(--top-shell-padding) 14px;
}
.top-main{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.top-primary{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  flex:1 1 auto;
}
.top-secondary{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}
.top-scroll{
  scrollbar-width:thin;
  scrollbar-color:rgba(0,148,84,.22) transparent;
}
.top-scroll::-webkit-scrollbar{height:8px}
.top-scroll::-webkit-scrollbar-thumb{background:rgba(0,148,84,.18);border-radius:999px}
.top-scroll::-webkit-scrollbar-track{background:transparent}
.top-groups{
  display:flex;
  align-items:stretch;
  gap:8px;
  flex-wrap:nowrap;
  overflow:auto;
  padding-bottom:2px;
}
.top-group-link{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:148px;
  max-width:178px;
  padding:10px 12px;
  border-radius:18px;
  border:1px solid rgba(56,56,56,.08);
  background:rgba(255,255,255,.72);
  color:rgba(56,56,56,.88);
  box-shadow:0 8px 18px rgba(19,37,31,.05);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.top-group-link:hover{
  transform:translateY(-1px);
  border-color:rgba(0,148,84,.14);
  background:#fff;
}
.top-group-link.active{
  border-color:rgba(0,148,84,.20);
  background:linear-gradient(135deg, rgba(0,148,84,.11), rgba(239,153,1,.10));
  color:var(--helikor-green);
  box-shadow:inset 0 0 0 1px rgba(0,148,84,.10), 0 14px 28px rgba(19,37,31,.08);
}
.top-group-title-row{
  display:flex;
  align-items:center;
  gap:6px;
}
.top-group-title{
  font-size:.9rem;
  font-weight:800;
  line-height:1.1;
  letter-spacing:-.01em;
  color:inherit;
}
.top-group-desc{
  font-size:.71rem;
  line-height:1.3;
  color:rgba(56,56,56,.62);
}
.top-group-badge{
  display:inline-flex;
  align-items:center;
  min-height:18px;
  padding:2px 7px;
  border-radius:999px;
  background:rgba(56,56,56,.08);
  color:rgba(56,56,56,.74);
  font-size:.62rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.top-subbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding-top:12px;
  border-top:1px solid rgba(56,56,56,.08);
}
.top-submeta{
  min-width:0;
  max-width:260px;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.top-subkicker{
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(56,56,56,.54);
}
.top-subtitle{
  font-size:1.02rem;
  font-weight:800;
  line-height:1.15;
  color:var(--helikor-ink);
}
.top-subdesc{
  font-size:.76rem;
  line-height:1.4;
  color:rgba(56,56,56,.66);
}
.top-subnav-stack{
  flex:1 1 auto;
  min-width:0;
  display:grid;
  gap:8px;
}
.top-subnav,
.top-anchorbar{
  display:flex;
  align-items:stretch;
  gap:8px;
  flex-wrap:nowrap;
  overflow:auto;
  min-height:var(--top-subnav-min-height);
}
.top-anchorbar[hidden]{display:none !important}
.top-subnav-link,
.top-anchor-link{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  min-width:136px;
  padding:8px 12px;
  border-radius:16px;
  border:1px solid rgba(56,56,56,.08);
  background:rgba(255,255,255,.72);
  color:var(--helikor-ink);
  white-space:nowrap;
  box-shadow:0 8px 18px rgba(19,37,31,.04);
  transition:transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.top-subnav-link:hover,
.top-anchor-link:hover{
  transform:translateY(-1px);
  background:#fff;
  border-color:rgba(0,148,84,.14);
}
.top-subnav-link.active,
.top-anchor-link.active{
  border-color:rgba(0,148,84,.18);
  background:rgba(0,148,84,.08);
  color:var(--helikor-green);
  box-shadow:inset 0 0 0 1px rgba(0,148,84,.10);
}
.top-subnav-title{
  font-size:.83rem;
  font-weight:800;
  line-height:1.15;
}
.top-subnav-note{
  font-size:.68rem;
  line-height:1.25;
  color:rgba(56,56,56,.62);
}
.top-anchor-link{
  min-width:auto;
  font-size:.74rem;
  font-weight:800;
  line-height:1.15;
}
.btn-compact,
.top .btn-compact,
button.btn-compact{
  min-height:38px;
  padding:8px 12px;
  border-radius:14px;
  font-size:.85rem;
  box-shadow:none;
}
.card,
.panel,
.alert,
.notice{padding:14px 16px}
.box{padding:10px 12px}
.grid,
.grid2{gap:12px}
.row,
.row-actions,
.inline-tags,
.hero-tags,
.hero-meta,
.speaker-actions,
.speaker-mini-actions,
.speaker-mini-chips,
.form-inline,
.tags{gap:8px}
.btn,
button.btn,
input[type=submit].btn,
summary.btn{
  min-height:38px;
  padding:8px 12px;
  border-radius:12px;
  font-size:.86rem;
}
.badge,
.pill,
.tag,
.tag-chip,
.soft-chip,
.user-chip,
.status-chip{
  min-height:30px;
  padding:6px 10px;
}
.table-wrap{border-radius:18px}
th,td,
.tbl th,.tbl td,
.table th,.table td{padding:10px 9px}
.wrap,
.container{width:min(1260px, calc(100% - 28px))}
.wrap > .card:first-child,
.container > .card:first-child{margin-top:0}

@media(max-width:1120px){
  .top-main,
  .top-subbar{flex-direction:column}
  .top-primary,
  .top-secondary,
  .top-submeta,
  .top-subnav-stack{width:100%}
  .top-submeta{max-width:none}
}

@media(max-width:860px){
  .top{width:min(100% - 16px, calc(100% - 16px));padding:10px 12px;gap:10px}
  .top-primary{flex-direction:column;align-items:stretch}
  .top-secondary{justify-content:flex-start}
  .top-group-link{min-width:138px;max-width:168px;padding:9px 11px}
  .top-subnav-link{min-width:128px}
  .top-subnav,
  .top-anchorbar{min-height:0}
  h2,h3,h4{scroll-margin-top:210px}
}


/* Stage 12 compact admin layout */
.wrap,.container{width:min(1320px,calc(100% - 24px));margin:0 auto 28px}
.card,.panel,.notice,.alert{padding:16px 18px;border-radius:20px}
.box{padding:12px 14px;border-radius:18px}
.card + .card,.alert + .card,.notice + .card{margin-top:12px}
h1,.wrap h1,.container h1,.wrap .h1{font-size:1.45rem !important;line-height:1.14 !important;font-weight:800 !important;letter-spacing:-.02em !important}
h2{font-size:1.22rem !important;line-height:1.2 !important}
h3{font-size:1rem !important;line-height:1.25 !important}
h4{font-size:.94rem !important;line-height:1.3 !important}
p,.small{font-size:.9rem;line-height:1.6}
.field{margin-bottom:10px}
.field span,.field label{font-size:.78rem;font-weight:800;color:rgba(56,56,56,.80)}
.field input,.field select,.field textarea{min-height:42px;padding:10px 12px;border-radius:14px}
.field textarea{min-height:104px}
.btn{min-height:40px;padding:10px 14px;border-radius:14px;font-size:.9rem;box-shadow:0 12px 24px rgba(0,148,84,.16)}
.btn.ghost{box-shadow:none}
.pill,.badge{min-height:30px;padding:6px 10px;border-radius:999px;font-size:.78rem}
pre.codeblock,.codeblock{font-size:.84rem;line-height:1.55}
.grid{gap:12px}
.table-grid,.light-table,.small-list,.upload-list,.request-grid,.activity-list{gap:8px}
.table-row,.light-row,.small-list-item,.request-card,.activity-item{padding:12px 14px;border-radius:16px}
.hero h1,.hero-card h1,.mini h3,.page h1{max-width:none}
.topbar h1,.page-hero h1{font-size:1.55rem !important}
.top-subkicker,.eyebrow,.section-kicker{font-size:.72rem !important;letter-spacing:.08em !important}
.user-chip,.topmeta .user-chip{display:none !important}
@media(max-width:760px){.wrap,.container{width:min(100% - 16px,calc(100% - 16px));margin-bottom:22px}.card,.panel,.notice,.alert{padding:14px 14px}.box{padding:10px 12px}}

/* Stage 12 compact admin refresh */
html{font-size:15px}
.wrap,.container{width:min(1320px,calc(100% - 24px));margin:0 auto 26px}
.wrap-login{width:min(1180px,calc(100% - 24px));margin:18px auto 28px}
.card,.panel,.alert,.notice{padding:14px 16px;border-radius:18px;box-shadow:0 8px 20px rgba(19,37,31,.05)}
.box{padding:12px 14px;border-radius:14px}
.grid,.grid2{gap:10px}
.row,.row-actions,.inline-tags,.hero-tags,.hero-meta,.speaker-actions,.speaker-mini-actions,.speaker-mini-chips,.form-inline,.tags{gap:8px}
label,.field>span{font-size:11px;letter-spacing:.01em}
input[type=text],input:not([type]),input[type=password],input[type=number],input[type=email],input[type=tel],input[type=url],input[type=date],input[type=time],input[type=search],textarea,select,.input,.in{padding:10px 12px;border-radius:14px}
textarea{min-height:82px}
textarea.env{min-height:220px}
.btn,button.btn,input[type=submit].btn,summary.btn{min-height:40px;padding:9px 14px;border-radius:14px;font-size:.9rem;box-shadow:0 10px 22px rgba(0,148,84,.14)}
.badge,.pill,.tag,.tag-chip,.soft-chip,.user-chip,.status-chip{min-height:30px;padding:6px 10px;font-size:11px}
.table-wrap{border-radius:16px}
th,td,.tbl th,.tbl td,.table th,.table td{padding:10px 8px}
pre{padding:14px;border-radius:16px}
code{padding:2px 6px;border-radius:8px}
body .wrap h1,body .container h1,body .card h1,body .panel h1,body .h1{font-size:1.48rem !important;font-weight:700 !important;line-height:1.18 !important;letter-spacing:-.02em !important;margin:0 0 8px !important}
body .wrap h2,body .container h2,body .card h2,body .panel h2{font-size:1.16rem !important;font-weight:700 !important;line-height:1.22 !important;margin:0 0 8px !important}
body .wrap h3,body .container h3,body .card h3,body .panel h3{font-size:1rem !important;font-weight:700 !important;line-height:1.24 !important;margin:0 0 8px !important}
body .wrap h4,body .container h4,body .card h4,body .panel h4{font-size:.95rem !important;font-weight:700 !important;line-height:1.28 !important;margin:0 0 8px !important}
.muted,.small,.tiny,.note,.hint{line-height:1.5}
.kpi .box{min-width:140px}
.val{font-size:20px;font-weight:700}
@media(max-width:760px){.wrap,.container,.wrap-login{width:min(100% - 16px,calc(100% - 16px))}.card,.panel,.alert,.notice{padding:12px 14px}}

/* v11 compact minimal refresh */
html,body{
  font-size:14px;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body::before,
body::after{display:none !important}

h1,h2,h3,h4,h5,h6{font-weight:600 !important;letter-spacing:-.01em}
strong,.badge,.btn,.nav>a,.nav summary,.admin-menu-link,.admin-subnav-link,[style*="font-weight:900"]{font-weight:600 !important}

.top{width:min(1240px,calc(100% - 24px));margin:14px auto 12px;padding:10px 12px;border-radius:18px;box-shadow:0 8px 22px rgba(19,37,31,.06);backdrop-filter:none;-webkit-backdrop-filter:none}
.wrap,.container{width:min(1180px,calc(100% - 24px));margin:0 auto 28px}
.wrap-login{width:min(1080px,calc(100% - 24px));margin:18px auto 32px}

.brand-mark{width:42px;height:42px;border-radius:12px;box-shadow:inset 0 0 0 1px rgba(0,148,84,.12),0 8px 18px rgba(19,37,31,.06)}
.brand-mark img{width:24px;height:24px}
.brand-name,.brand-title{font-size:.96rem;letter-spacing:.07em;font-weight:600 !important}
.brand-subtitle{font-size:.66rem;letter-spacing:.12em}

.nav>a,.nav summary{min-height:34px;padding:7px 10px;border-radius:12px;font-size:.82rem}

.card,.panel,.notice,.alert,.box{border-radius:18px;box-shadow:0 8px 22px rgba(19,37,31,.05)}
.card,.panel,.alert,.notice{padding:14px 16px}
.box{padding:12px 14px}
.card + .card,.alert + .card,.notice + .card{margin-top:12px}
.grid,.grid2{gap:12px}

.btn,.btn-ghost,.btn.secondary,.btn.danger,button{min-height:36px;padding:8px 12px;border-radius:12px;font-size:.84rem;font-weight:600 !important;box-shadow:none}
.btn-compact{min-height:32px;padding:6px 10px;font-size:.78rem}
.input,input[type="text"],input[type="email"],input[type="password"],input[type="number"],input[type="date"],input[type="search"],select,textarea{min-height:38px;padding:9px 11px;border-radius:12px;font-size:13px}
textarea{min-height:110px}

h1{font-size:1.55rem !important}
h2{font-size:1.08rem !important}
h3{font-size:.98rem !important}
p,.muted,.small,.hint,.lbl,.meta,.tiny{font-size:13px;line-height:1.45}

.tbl td,.tbl th,table td,table th{font-size:13px}
.kpi,.cards,.hero-tags,.inline-tags,.row,.row-actions{gap:10px}

@media(max-width:760px){
  .top{width:min(100% - 16px,calc(100% - 16px));margin:10px auto 10px;padding:10px}
  .wrap,.container,.wrap-login{width:min(100% - 16px,calc(100% - 16px))}
}
