:root{
  --panel:#ffffff;
  --panel-2:#f6fbff;
  --line:#dbe7f3;
  --shadow-soft:0 14px 40px rgba(6,28,63,.08);
  --sidebar-width:310px;
}

.auth-page, .dashboard-page{
  background: linear-gradient(180deg, #f4fbff 0%, #ffffff 48%, #eef7ff 100%);
}

.auth-shell{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.auth-hero{
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(6,59,145,.12);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
}

.auth-hero-visual{
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.10), transparent 28%),
    linear-gradient(135deg, rgba(4,18,44,.98) 0%, rgba(6,39,98,.94) 34%, rgba(6,59,145,.88) 60%, rgba(0,169,152,.80) 100%),
    url('hero-banner.png') center/cover no-repeat;
  background-blend-mode: screen, multiply, normal;
}

.auth-hero-visual::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,.14), transparent 22%),
    radial-gradient(circle at 74% 62%, rgba(0,255,240,.10), transparent 18%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 40%),
    linear-gradient(0deg, rgba(3,10,28,.52), rgba(3,10,28,.10));
  pointer-events: none;
}

.auth-hero-visual-inner{
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.auth-kicker{
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.94);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.auth-hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(248,252,255,.96) 100%);
  padding: 30px;
  border-left: 1px solid rgba(6,59,145,.08);
}

.auth-headline{
  margin-bottom: 18px;
}

.auth-headline h1{
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  color: var(--dark);
}

.auth-headline p{
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.auth-headline-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.auth-headline-actions .btn{
  min-height:46px;
}

.btn-compact{
  min-height:40px;
  padding:10px 16px;
  font-size:.92rem;
}

.btn-icon-left{
  gap:8px;
}

.btn-icon-mark{
  display:inline-grid;
  place-items:center;
  width:20px;
  height:20px;
  border-radius:50%;
  background:rgba(6,59,145,.08);
  color:var(--primary);
  font-size:.9rem;
  line-height:1;
}

.btn-icon-mark svg{
  width:13px;
  height:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.auth-home-btn{
  box-shadow:0 12px 26px rgba(6,59,145,.08);
}

.settings-toggle-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.setting-toggle{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
  box-shadow:var(--shadow-soft);
}

.setting-toggle input{
  margin-top:4px;
  width:18px;
  height:18px;
  accent-color:var(--secondary);
}

.setting-toggle span{
  display:grid;
  gap:4px;
}

.setting-toggle strong{
  color:var(--dark);
  font-size:.96rem;
}

.setting-toggle small{
  color:var(--muted);
  font-weight:600;
  line-height:1.45;
}

.auth-cta-block{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  gap:20px;
  padding:26px;
  border-radius:28px;
  border:1px solid rgba(6,59,145,.12);
  background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(247,251,255,.98));
  box-shadow:var(--shadow-soft);
}

.auth-cta-copy{
  display:grid;
  align-content:start;
  gap:14px;
}

.auth-cta-copy h2{
  margin:0;
  font-size:clamp(1.8rem, 3.8vw, 3rem);
  line-height:1.05;
  color:var(--dark);
}

.auth-cta-copy p{
  margin:0;
  max-width:54ch;
  color:var(--text);
}

.auth-cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.auth-cta-card{
  display:grid;
  gap:12px;
}

.auth-panels{
  display:grid;
  gap:14px;
}

.auth-form-card{
  background:#fff;
  border:1px solid rgba(6,59,145,.10);
  border-radius:24px;
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.auth-form-card-compact{
  padding:16px;
}

.auth-form-card-muted{
  background:linear-gradient(180deg,#f8fcff 0%,#f2f8ff 100%);
}

.auth-form-head{
  margin-bottom:14px;
}

.auth-form-head h2{
  margin:0 0 6px;
  color:var(--primary);
  font-size:1.2rem;
}

.auth-form-head p{
  margin:0;
  color:var(--muted);
}

.auth-role-fieldset{
  margin:0;
}

.auth-role-fieldset legend{
  font-weight:900;
}

.auth-role-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.auth-register-accordion{
  border: 1px solid rgba(6,59,145,.10);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg,#f8fcff 0%,#f1f8ff 100%);
  box-shadow: var(--shadow-soft);
}

.auth-register-accordion summary{
  list-style: none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  cursor:pointer;
  color:var(--dark);
  border-bottom:1px solid rgba(6,59,145,.08);
}

.auth-register-accordion summary::-webkit-details-marker{
  display:none;
}

.auth-register-accordion summary span{
  display:grid;
  gap:4px;
}

.auth-register-accordion summary strong{
  font-size:1rem;
}

.auth-register-accordion summary small{
  color:var(--muted);
}

.auth-register-accordion summary em{
  font-style:normal;
  color:var(--secondary);
  font-weight:900;
}

.auth-register-accordion[open] summary{
  background: linear-gradient(180deg,#ffffff 0%,#f4fbff 100%);
}

.auth-register-accordion .auth-form-card{
  box-shadow:none;
  border:0;
  border-radius:0;
  background:transparent;
}

.auth-role-option{
  display:block;
  cursor:pointer;
}

.auth-role-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.auth-role-option span{
  display:grid;
  gap:4px;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 16px;
  background:#fff;
  transition:.2s ease;
}

.auth-role-option strong{
  color:var(--dark);
}

.auth-role-option small{
  color:var(--muted);
}

.auth-role-option input:checked + span{
  border-color:rgba(0,169,152,.6);
  box-shadow:0 10px 24px rgba(0,169,152,.12);
  background:linear-gradient(180deg,#fff 0%,#f3fffd 100%);
}

.auth-consent{
  display:flex !important;
  align-items:flex-start;
  gap:14px;
  padding:16px 18px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  line-height:1.45;
}

.auth-consent input{
  width:18px;
  height:18px;
  margin-top:4px;
  accent-color: var(--secondary);
}

.auth-consent span{
  display:grid;
  gap:4px;
  color:var(--dark);
  font-weight:700;
}

.auth-consent span strong{
  color:var(--primary);
  font-size:.95rem;
  letter-spacing:.01em;
}

.auth-consent span small{
  color:var(--muted);
  font-size:.92rem;
  line-height:1.55;
}

.auth-login-tools{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px 16px;
  padding:4px 2px 0;
  width:100%;
}

.form-grid .auth-login-tools .auth-remember{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:.95rem;
  font-weight:700;
  white-space:normal;
  margin:0;
  min-width:0;
  width:auto;
  flex:1 1 auto;
  line-height:1.35;
}

.form-grid .auth-login-tools .auth-remember input{
  width:18px;
  height:18px;
  accent-color:var(--secondary);
  margin:0;
  flex:0 0 auto;
}

.form-grid .auth-login-tools .auth-forgot{
  color:var(--primary);
  font-weight:800;
  font-size:.92rem;
  white-space:nowrap;
  text-align:right;
  justify-self:end;
}

.auth-forgot:hover{
  color:var(--secondary);
}

.auth-logo{
  width: min(100%, 400px);
  height: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.25));
}

.auth-logo-dark{
  width: min(100%, 360px);
  max-width: 360px;
  padding: 0;
  background: none;
  border-radius: 0;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.28));
  margin-inline: auto;
  mix-blend-mode: normal;
}

.section{
  padding: 84px 0;
}

.section-tag{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(0,169,152,.12);
  color:var(--secondary);
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.two-col{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:32px;
  align-items:start;
}

.about-copy{
  position:sticky;
  top:90px;
  align-self:start;
}

.about-copy h2{
  margin:16px 0 18px;
  font-size:clamp(2.2rem, 4.8vw, 4.3rem);
  line-height:1.02;
  color:var(--dark);
  letter-spacing:-.04em;
}

.about-copy p{
  max-width: 48ch;
  font-size:1.06rem;
  line-height:1.75;
  color:var(--text);
}

.about-microcopy{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}

.about-microcopy span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--muted);
  font-size:.9rem;
  font-weight:700;
  box-shadow:0 8px 20px rgba(6,28,63,.04);
}

.feature-layer-stack{
  display:grid;
  gap:14px;
}

.feature-layer-card{
  position:relative;
  padding:22px 24px 24px;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(6,59,145,.10);
  box-shadow:0 16px 40px rgba(6,28,63,.08);
  overflow:hidden;
  transform-origin:center left;
  transition:transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}

.feature-layer-card::after{
  content:"";
  position:absolute;
  inset:auto -22% -42% auto;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(0,169,152,.12) 0%, rgba(0,169,152,0) 70%);
  pointer-events:none;
}

.feature-layer-card:hover{
  transform:translateX(-10px) translateY(-4px) scale(1.01);
  box-shadow:0 24px 58px rgba(6,28,63,.14);
  border-color:rgba(0,169,152,.30);
}

.feature-layer-card span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:8px 14px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--secondary),var(--primary));
  color:#fff;
  font-weight:900;
  letter-spacing:.02em;
  box-shadow:0 10px 22px rgba(0,169,152,.18);
}

.feature-layer-card h3{
  margin:16px 0 10px;
  font-size:1.5rem;
  line-height:1.15;
  color:var(--primary);
}

.feature-layer-card p{
  margin:0;
  font-size:1.02rem;
  line-height:1.75;
  color:var(--text);
}

.feature-layer-1{
  margin-right:48px;
}

.feature-layer-2{
  margin-left:22px;
  margin-right:22px;
}

.feature-layer-3{
  margin-left:48px;
}

.auth-hero-visual p{
  margin: 0;
  max-width: 340px;
  color: rgba(255,255,255,.9);
  font-size: 1rem;
  line-height: 1.7;
}

.auth-register-form{
  margin-top: 6px;
}
.muted{color:var(--muted)}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.form-grid label, .stacked label{
  display:grid;
  gap:8px;
  font-weight:700;
  color:var(--dark);
}

.field-hint{
  display:block;
  color:var(--muted);
  font-size:.82rem;
  font-weight:600;
  line-height:1.3;
}

.form-grid input, .form-grid textarea, .form-grid select,
.stacked input, .stacked textarea, .stacked select,
.inline-form input, .inline-form select{
  width:100%;
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px 16px;
  font:inherit;
  background:#fff;
  color:var(--text);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

.form-grid textarea, .stacked textarea{
  resize: vertical;
}

.form-grid .full{
  grid-column:1 / -1;
}

.flash{
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  font-weight: 700;
}
.flash-success{background:#e8fff5;color:#0d6b47;border:1px solid #86e0bb}
.flash-error{background:#fff0f0;color:#b42318;border:1px solid #f5b4b4}
.flash-warning{background:#fff8e6;color:#9a6700;border:1px solid #ffd37a}

.auth-promo .contact-pill{
  background: rgba(255,255,255,.84);
  border:1px solid var(--line);
  padding:18px 20px;
  border-radius:20px;
  box-shadow: var(--shadow-soft);
  margin-top: 14px;
}

.status-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:6px 12px;
  border-radius:999px;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.02em;
}
.status-approved{background:#e8fff5;color:#0d6b47;border:1px solid #86e0bb}
.status-revision{background:#fff8e6;color:#9a6700;border:1px solid #ffd37a}
.status-pending{background:#eff6ff;color:#063b91;border:1px solid #c7dbff}
.status-revoked{background:#fff0ee;color:#b73c24;border:1px solid #ffb9ae}

.module-progress-grid,
.archive-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}

.module-progress-card-premium{
  display:grid;
  grid-template-columns:minmax(204px,.64fr) minmax(0,1.36fr);
  gap:12px;
  align-items:stretch;
}

.module-progress-visual,
.archive-card-visual{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.70), transparent 34%),
    radial-gradient(circle at 88% 88%, rgba(0,169,152,.20), transparent 28%),
    linear-gradient(135deg, #eef7ff 0%, #e5f8f4 100%);
  border:1px solid rgba(6,59,145,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.module-progress-visual{
  min-height:224px;
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:10px;
  padding:14px;
}

.module-progress-visual::before,
.archive-card-visual::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(120deg, rgba(6,59,145,.06) 0%, rgba(0,169,152,.00) 48%, rgba(255,255,255,.18) 100%),
    radial-gradient(circle at 75% 22%, rgba(6,59,145,.08), transparent 22%);
  pointer-events:none;
}

.module-progress-visual-main,
.module-progress-visual-thumb,
.module-progress-visual-frame,
.module-progress-speaker-chip,
.archive-card-visual-overlay{
  position:relative;
  z-index:1;
}

.module-progress-visual-kicker{
  display:inline-flex;
  align-self:start;
  width:max-content;
  min-height:30px;
  align-items:center;
  padding:0 12px;
  border-radius:999px;
  background:rgba(6,59,145,.08);
  color:var(--primary);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.module-progress-visual-badge{
  display:grid;
  gap:6px;
  margin-top:12px;
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(6,59,145,.10);
  box-shadow:0 14px 26px rgba(6,28,63,.08);
}

.module-progress-badge-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.module-progress-visual-badge strong{
  color:var(--dark);
  font-size:1rem;
}

.module-progress-visual-badge small{
  color:var(--muted);
  line-height:1.45;
}

.module-progress-visual-tag{
  display:inline-flex;
  align-items:center;
  width:max-content;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(0,169,152,.16), rgba(6,59,145,.12));
  color:var(--primary);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
}

.module-progress-visual-thumb{
  align-self:end;
  overflow:hidden;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(6,59,145,.10);
  box-shadow:0 18px 30px rgba(6,28,63,.12);
  position:relative;
}

.module-progress-visual-thumb img{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
}

.module-progress-visual-thumb span{
  position:absolute;
  left:12px;
  bottom:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:auto;
  padding:6px 10px;
  color:var(--primary);
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.04em;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(8px);
  box-shadow:0 8px 18px rgba(6,28,63,.10);
}

.module-progress-ring{
  --progress:25;
  --ring-track: rgba(6,59,145,.10);
  --ring-fill: linear-gradient(135deg, #00a998, #063b91);
  position:relative;
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  border-radius:50%;
  background:conic-gradient(#00a998 calc(var(--progress) * 1%), var(--ring-track) 0);
  box-shadow:0 10px 18px rgba(6,28,63,.10);
}

.module-progress-ring::before{
  content:"";
  position:absolute;
  inset:6px;
  border-radius:50%;
  background:#fff;
}

.module-progress-ring span{
  position:relative;
  z-index:1;
  color:var(--primary);
  font-size:.7rem;
  font-weight:900;
  line-height:1;
}

.module-progress-visual-frame{
  display:grid;
  grid-template-columns:1fr;
  gap:6px;
  align-content:end;
}

.module-progress-speaker-chip{
  display:grid;
  gap:4px;
  width:min(280px, 100%);
  margin-left:auto;
  padding:10px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(6,59,145,.10);
  box-shadow:0 12px 22px rgba(6,28,63,.08);
  backdrop-filter:blur(10px);
}

.module-progress-speaker-chip strong,
.module-progress-speaker-chip small{
  display:block;
}

.module-progress-speaker-chip strong{
  color:var(--dark);
  font-size:.86rem;
}

.module-progress-speaker-chip small{
  color:var(--muted);
  font-size:.74rem;
}

.module-progress-content{
  display:grid;
  gap:12px;
  align-content:start;
}

.archive-card-premium{
  display:grid;
  gap:14px;
}

.archive-card-visual{
  aspect-ratio:16 / 9;
}

.archive-card-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.archive-card-visual-overlay{
  position:absolute;
  inset:auto 14px 14px 14px;
  display:grid;
  gap:6px;
  padding:14px;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(6,28,63,.04), rgba(6,28,63,.82));
  color:#fff;
}

.archive-card-visual-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.archive-card-visual-avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.24);
  box-shadow:0 10px 18px rgba(0,0,0,.18);
}

.archive-card-visual-overlay strong{
  font-size:1rem;
}

.archive-card-visual-overlay span{
  font-size:.84rem;
  opacity:.95;
}

.archive-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}

.archive-topbar h1{
  margin:8px 0 10px;
}

.archive-topbar p{
  margin:0;
  color:var(--muted);
  max-width:760px;
}

.archive-top-actions{
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  flex-shrink:0;
}

.archive-home-btn{
  white-space:nowrap;
  padding-inline:18px;
}

.module-progress-card,
.archive-card{
  background: linear-gradient(180deg,#ffffff 0%,#f5fbff 100%);
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  box-shadow: var(--shadow-soft);
}

.module-progress-head,
.archive-actions,
.report-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.module-progress-card h3,
.module-progress-card h4{
  margin:12px 0 8px;
}

.module-progress-card-premium h3{
  margin:0;
  font-size:1.35rem;
  line-height:1.12;
  color:var(--dark);
}

.module-progress-card-premium .muted{
  color:var(--muted);
}

.archive-card p,
.module-progress-card p{
  margin:0 0 10px;
  color:var(--muted);
}

.archive-actions{
  flex-wrap:wrap;
  margin-top:12px;
}

.archive-head{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:14px;
}

.archive-avatar{
  width:68px;
  height:68px;
  border-radius:50%;
  object-fit:cover;
  border:1px solid rgba(6,59,145,.12);
  background:#fff;
}

.archive-head h3{
  margin:0 0 4px;
}

.archive-head p{
  margin:0;
  color:var(--muted);
  font-size:.94rem;
}

.archive-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}

.archive-meta span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 10px;
  border-radius:999px;
  background:#edf6ff;
  border:1px solid #d7e7fb;
  color:var(--primary);
  font-size:.8rem;
  font-weight:800;
}

.submission-summary{
  display:grid;
  gap:6px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:#fff;
  margin-bottom:14px;
}

.submission-summary strong{
  color:var(--dark);
}

.submission-summary span,
.submission-summary a{
  color:var(--muted);
  font-size:.92rem;
  word-break:break-word;
}

.submission-review-layout{
  display:grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap:16px;
  margin:16px 0;
}

.submission-preview,
.submission-review-list{
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px;
  background:#fff;
}

.submission-preview h4,
.submission-review-list h4{
  margin:0 0 10px;
}

.submission-preview p{
  margin:0 0 12px;
  color:var(--muted);
  line-height:1.5;
}

.submission-review-list{
  display:grid;
  gap:12px;
}

.review-note{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 14px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fcff 100%);
}

.review-note strong,
.review-note small{
  display:block;
}

.review-note p{
  margin:8px 0;
  color:var(--muted);
  line-height:1.45;
}

.review-note small{
  color:var(--muted);
  font-size:.8rem;
}

.account-permission-grid{
  margin-top:12px;
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.report-header{
  align-items:flex-start;
  margin-bottom:14px;
}

.report-header h3{
  margin:0 0 6px;
}

.report-header p{
  margin:0 0 6px;
  color:var(--muted);
}

.report-header a{
  word-break:break-all;
  color:var(--primary);
}

.report-list-accordion{
  padding:0;
  overflow:hidden;
}

.report-list-summary{
  list-style:none;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px;
  cursor:pointer;
  border-bottom:1px solid rgba(6,59,145,.08);
}

.report-list-summary::-webkit-details-marker{
  display:none;
}

.report-list-summary h3{
  margin:6px 0 6px;
  color:var(--dark);
}

.report-list-summary p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.report-list-summary-meta{
  min-width:260px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(0,169,152,.12), rgba(29,111,232,.10));
  color:var(--dark);
  display:grid;
  gap:10px;
  text-align:right;
  box-shadow:0 10px 24px rgba(6,28,63,.05);
}

.report-list-summary-meta strong{
  font-size:1.6rem;
  line-height:1;
}

.report-list-summary-meta span{
  color:var(--muted);
  font-size:.8rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.report-list-summary-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}

.report-participant-card{
  padding:0;
  overflow:hidden;
}

.report-participant-summary{
  list-style:none;
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  cursor:pointer;
  border-bottom:1px solid rgba(6,59,145,.08);
}

.report-participant-summary::-webkit-details-marker{
  display:none;
}

.report-participant-summary-main{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  flex:1;
}

.report-participant-summary-main .avatar-lg{
  width:64px;
  height:64px;
  flex-shrink:0;
}

.report-participant-summary-main h3{
  margin:0;
  color:var(--dark);
  line-height:1.12;
}

.report-participant-summary-main p{
  margin:4px 0 6px;
  color:var(--muted);
}

.report-participant-summary-main a,
.report-participant-summary-main .muted{
  word-break:break-word;
  font-size:.92rem;
}

.report-participant-summary-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  min-width:min(100%, 320px);
}

.report-participant-summary-meta div{
  display:grid;
  gap:4px;
  padding:10px 12px;
  border-radius:16px;
  background:linear-gradient(180deg,#f9fcff 0%,#eef6ff 100%);
  border:1px solid rgba(6,59,145,.08);
  text-align:center;
}

.report-participant-summary-meta strong{
  color:var(--dark);
  font-size:1.08rem;
  line-height:1;
}

.report-participant-summary-meta span{
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.report-participant-body{
  padding:16px 18px 18px;
  display:grid;
  gap:14px;
}

.dashboard-grid-tight{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}

.report-participant-card:not([open]) .report-participant-body{
  display:none;
}

.report-list-body{
  padding:18px;
}

.report-list-accordion[open] .report-list-summary{
  background:
    radial-gradient(circle at top right, rgba(0,169,152,.08), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f8fcff 100%);
}

.report-list-accordion:not([open]) .report-list-body{
  display:none;
}

.participants-accordion{
  display:grid;
  gap:16px;
  margin-top:2px;
}

.participants-section{
  padding:0;
  overflow:hidden;
}

.participants-section-summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:22px 24px;
  cursor:pointer;
  border-bottom:1px solid rgba(6,59,145,.08);
  background:
    radial-gradient(circle at top right, rgba(0,169,152,.04), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8fcff 100%);
}

.participants-section-summary::-webkit-details-marker{
  display:none;
}

.participants-section-summary-copy{
  min-width:0;
  display:grid;
  gap:8px;
  flex:1;
}

.participants-section-summary-copy h3{
  margin:0;
  color:var(--dark);
}

.participants-section-summary-copy p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.participants-section-summary-meta{
  flex-shrink:0;
  display:grid;
  grid-template-columns:repeat(1,minmax(0,1fr));
  gap:8px;
  min-width:120px;
}

.participants-section-summary-meta div{
  display:grid;
  gap:4px;
  padding:12px 14px;
  border-radius:16px;
  background:linear-gradient(135deg, rgba(0,169,152,.12), rgba(29,111,232,.10));
  border:1px solid rgba(6,59,145,.08);
  text-align:center;
  box-shadow:0 10px 24px rgba(6,28,63,.05);
}

.participants-section-summary-meta strong{
  color:var(--dark);
  font-size:1.35rem;
  line-height:1;
}

.participants-section-summary-meta span{
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.participants-section-body{
  padding:18px 20px 20px;
  display:grid;
  gap:14px;
}

.official-invite-preview{
  display:grid;
  gap:14px;
  padding:18px;
  border-radius:20px;
  background:
    radial-gradient(circle at top right, rgba(0,169,152,.08), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border:1px solid rgba(6,59,145,.08);
  box-shadow:0 18px 40px rgba(6,28,63,.06);
}

.official-invite-preview-header{
  display:grid;
  gap:8px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(6,59,145,.08);
}

.official-invite-preview-header strong{
  color:var(--dark);
  font-size:1.1rem;
}

.official-invite-preview-header span{
  color:var(--muted);
  word-break:break-word;
}

.official-invite-preview-body{
  display:grid;
  gap:12px;
  color:var(--dark);
  line-height:1.72;
}

.official-invite-preview-body p{
  margin:0;
}

.official-invite-preview-body strong{
  color:var(--dark);
}

.official-invite-preview-body a{
  color:var(--primary);
  font-weight:800;
  word-break:break-word;
}

.participants-section[open] .participants-section-summary{
  background:
    radial-gradient(circle at top right, rgba(0,169,152,.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8fcff 100%);
}

.participants-section:not([open]) .participants-section-body{
  display:none;
}

.participants-section-toolbar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.participants-page-actions,
.participants-audit-actions{
  gap:10px;
}

.participants-action-form{
  display:inline-flex;
  align-items:center;
}

.participants-selection-note{
  margin:0;
  padding:0 2px;
}

.participants-page-actions .btn,
.participants-audit-actions .btn{
  white-space:nowrap;
}

.empty-state{
  padding:20px;
  border-radius:20px;
  border:1px dashed var(--line);
  color:var(--muted);
  background:#fff;
}

.public-page{
  background:
    radial-gradient(circle at top left, rgba(0,169,152,.12), transparent 28%),
    radial-gradient(circle at top right, rgba(6,59,145,.12), transparent 26%),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 50%, #eef7ff 100%);
}

.public-shell{
  width:min(1180px,94%);
  margin:0 auto;
  padding:28px 0 60px;
}

.public-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:flex-start;
  margin-bottom:14px;
}

.public-hero{
  display:grid;
  grid-template-columns: 340px minmax(0,1fr);
  gap:18px;
  align-items:stretch;
}

.public-profile,
.public-content,
.certificate-card{
  background: rgba(255,255,255,.94);
  border:1px solid rgba(6,59,145,.12);
  border-radius:28px;
  box-shadow: var(--shadow-soft);
}

.public-profile{
  padding:24px;
}

.public-profile img{
  width:96px;
  height:96px;
  border-radius:24px;
  object-fit:cover;
  border:2px solid rgba(6,59,145,.12);
}

.public-profile h1{
  margin:16px 0 8px;
}

.public-profile p{
  color:var(--muted);
}

.contact-pill--share{
  display:grid;
  gap:6px;
  align-items:start;
  margin-top:16px;
  margin-bottom:0;
  background:
    linear-gradient(180deg, rgba(6,59,145,.05), rgba(0,169,152,.06)),
    #fff;
  border:1px solid rgba(6,59,145,.10);
  box-shadow:0 14px 28px rgba(6,59,145,.06);
}

.contact-pill--share strong{
  color:var(--primary);
  font-size:1rem;
  letter-spacing:.01em;
}

.contact-pill--share span{
  color:var(--text);
  font-weight:600;
  line-height:1.45;
}

.public-content{
  padding:24px;
}

.public-content section + section{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(6,59,145,.08);
}

.public-media{
  aspect-ratio:16 / 9;
  border-radius:22px;
  overflow:hidden;
  background:linear-gradient(135deg,#061c3f,#0d7c80);
}

.public-media iframe,
.public-media video{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.public-note-list{
  display:grid;
  gap:12px;
}

.public-note{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 16px;
  background:#fff;
}

.badge-grid{
  display:grid;
  gap:14px;
}

.badge-card{
  display:grid;
  grid-template-columns:74px minmax(0,1fr);
  gap:16px;
  align-items:start;
  border:1px solid rgba(6,59,145,.12);
  border-radius:24px;
  padding:18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(246,250,255,.98) 100%);
  box-shadow:0 18px 34px rgba(6,59,145,.07);
}

.badge-card.is-approved{
  border-color:rgba(0,169,152,.2);
  background:
    linear-gradient(135deg, rgba(0,169,152,.08) 0%, rgba(255,255,255,.98) 42%, rgba(246,250,255,.98) 100%);
}

.badge-mark{
  width:74px;
  height:74px;
  border-radius:22px;
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:900;
  font-size:1.55rem;
  letter-spacing:.04em;
  background:
    linear-gradient(135deg, var(--teal) 0%, #0a8fc2 55%, var(--primary) 100%);
  box-shadow:0 14px 24px rgba(6,59,145,.18);
  position:relative;
}

.badge-mark::after{
  content:'';
  position:absolute;
  inset:8px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.26);
}

.badge-copy{
  min-width:0;
}

.badge-topline{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  margin-bottom:8px;
}

.badge-kicker{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(0,169,152,.11);
  color:#087e73;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.badge-copy h4{
  margin:0 0 6px;
  color:var(--primary);
  font-size:1.14rem;
  line-height:1.25;
}

.badge-copy p{
  margin:0 0 8px;
  color:var(--muted);
}

.badge-note{
  font-size:.94rem;
}

.badge-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:10px;
}

.badge-preview-wrap{
  width:100%;
  max-width:540px;
  margin:10px 0 6px;
  padding:12px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(0,169,152,.08), rgba(255,255,255,.95));
  border:1px solid rgba(6,59,145,.08);
  box-shadow:0 14px 24px rgba(6,59,145,.06);
}

.badge-preview{
  width:100%;
  height:auto;
  display:block;
  border-radius:18px;
  background:#fff;
}

.badge-chip{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(6,59,145,.12);
  background:#fff;
  color:var(--primary);
  font-size:.92rem;
  font-weight:800;
}

.badge-chip-muted{
  background:#f6f9ff;
  color:var(--muted);
}

.badge-date{
  color:var(--muted);
  font-size:.92rem;
  font-weight:700;
}

.share-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0 18px;
}

.share-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:10px 15px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--primary);
  font-weight:800;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.share-chip-primary{
  background:linear-gradient(135deg,var(--teal),var(--primary));
  color:#fff;
  border-color:transparent;
  box-shadow:0 12px 24px rgba(6,59,145,.14);
}

.share-chip-secondary{
  background:rgba(255,255,255,.94);
  border-color:rgba(6,59,145,.14);
}

.share-chip:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(6,59,145,.08);
}

.share-chip-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 16px 28px rgba(6,59,145,.18);
}

.share-chip-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  flex:0 0 16px;
}

.share-chip-icon svg{
  width:16px;
  height:16px;
  fill:currentColor;
  display:block;
}

.share-row--public .share-chip{
  white-space:nowrap;
}

.badge-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:12px;
}

.badge-links span{
  color:var(--muted);
  font-size:.92rem;
  font-weight:700;
}

.participant-showcase{
  margin-bottom:18px;
}

.participant-slider{
  border:1px solid rgba(6,59,145,.12);
  border-radius:24px;
  overflow:hidden;
  background:#061c3f;
  box-shadow: var(--shadow-soft);
}

.participant-slider-track{
  position:relative;
}

.participant-slide{
  display:none;
  margin:0;
  position:relative;
}

.participant-slide.active{
  display:block;
}

.participant-slide img{
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  display:block;
}

.participant-slide figcaption{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(5,24,58,.8), rgba(6,59,145,.55));
  color:#fff;
  backdrop-filter: blur(6px);
}

.participant-slide figcaption strong,
.participant-slide figcaption span{
  display:block;
}

.participant-slide figcaption span{
  color:rgba(255,255,255,.86);
  font-size:.92rem;
  margin-top:4px;
}

.participant-slider-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 14px;
  background:rgba(255,255,255,.94);
}

.slider-btn{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid var(--line);
  background:#fff;
  color:var(--primary);
  font-size:1.6rem;
  line-height:1;
}

.slider-dots{
  display:flex;
  gap:8px;
  align-items:center;
  justify-content:center;
  flex:1;
}

.slider-dots button{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  background:rgba(6,59,145,.18);
}

.slider-dots button.active{
  width:24px;
  background:linear-gradient(135deg,var(--secondary),var(--primary));
}

.public-media.small{
  max-width:520px;
}

.module-resource-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}

.module-resource-stack{
  display:grid;
  gap:12px;
}

.module-resource-head,
.resource-card-head,
.guide-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.guide-actions{
  flex-wrap:wrap;
}

.module-resource-head h3{
  margin:0;
}

.module-resource-head span,
.resource-card-head span{
  font-size:.82rem;
  font-weight:800;
  color:var(--muted);
}

.resource-card{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 16px;
  background:#fff;
}

.resource-card p{
  margin:8px 0 12px;
  color:var(--muted);
}

.resource-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}

.guide-content{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  padding:14px 16px;
  margin-top:14px;
}

.guide-content ul,
.guide-steps{
  margin:0;
  padding-left:20px;
  line-height:1.6;
}

.guide-edit{
  margin-top:14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,#f8fcff 0%,#f2f8ff 100%);
  padding:12px 14px;
}

.guide-edit summary{
  cursor:pointer;
  font-weight:900;
  color:var(--primary);
}

.guide-delete-form{
  margin-top:10px;
}

.guide-cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.guide-shell .guide-sidebar{
  position:sticky;
  top:0;
}

.guide-list{
  display:grid;
  gap:8px;
  margin-top:16px;
}

.guide-list a{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 14px;
  background:#fff;
  color:var(--primary);
  font-weight:800;
}

.guide-list a.active{
  background:linear-gradient(135deg,var(--secondary),var(--primary));
  color:#fff;
  border-color:transparent;
}

.guide-content-card{
  display:grid;
  align-content:start;
}

.module-mini-list{
  display:grid;
  gap:10px;
  margin:10px 0 14px;
}

.module-mini-item{
  display:grid;
  gap:4px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
}

.module-mini-item strong{
  color:var(--dark);
}

.module-mini-item span,
.module-mini-item a{
  color:var(--muted);
  font-size:.85rem;
  word-break:break-word;
}

.public-media-manager{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}

.media-chip{
  border:1px solid var(--line);
  border-radius:16px;
  padding:14px;
  background:#fff;
  display:grid;
  gap:6px;
}

.media-chip span{
  color:var(--muted);
  font-size:.84rem;
  font-weight:700;
}

.report-filter-bar{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  align-items:end;
  margin:18px 0 8px;
}

.report-filter-bar label{
  display:grid;
  gap:6px;
}

.report-filter-bar input,
.report-filter-bar select{
  border:1px solid var(--line);
  border-radius:16px;
  padding:13px 14px;
  font:inherit;
  background:#fff;
  color:var(--text);
}

.report-filter-bar .btn{
  height:48px;
}

.visitor-chat{
  position:fixed;
  right:14px;
  bottom:18px;
  z-index:120;
  display:grid;
  justify-items:end;
  gap:12px;
  pointer-events:none;
}

.visitor-chat-toggle{
  pointer-events:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:10px 14px;
  border:0;
  border-radius:999px;
  background: linear-gradient(135deg,var(--secondary),var(--primary));
  color:#fff;
  font:inherit;
  font-weight:900;
  font-size:.92rem;
  box-shadow:0 14px 28px rgba(6,59,145,.22);
}

.visitor-chat-toggle-icon{
  display:inline-grid;
  place-items:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background: rgba(255,255,255,.16);
  font-size:.8rem;
}

.visitor-chat-panel{
  pointer-events:auto;
  width:min(340px, calc(100vw - 22px));
  max-height:min(520px, calc(100vh - 96px));
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto auto auto;
  gap:12px;
  padding:16px;
  border-radius:24px;
  border:1px solid rgba(6,59,145,.12);
  background: rgba(255,255,255,.96);
  box-shadow:0 24px 60px rgba(6,28,63,.18);
  backdrop-filter: blur(16px);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px) scale(.98);
  transition:opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.visitor-chat.is-open .visitor-chat-panel{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}

.visitor-chat-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.visitor-chat-head strong{
  display:block;
  font-size:1rem;
  color:var(--dark);
}

.visitor-chat-head span{
  display:block;
  color:var(--muted);
  font-size:.84rem;
  margin-top:3px;
}

.visitor-chat-close{
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid var(--line);
  background:#fff;
  color:var(--primary);
  font-size:1.3rem;
  line-height:1;
}

.visitor-chat-messages{
  overflow:auto;
  display:grid;
  gap:10px;
  padding-right:4px;
}

.visitor-chat-bubble{
  max-width:88%;
  padding:12px 14px;
  border-radius:18px;
  line-height:1.55;
  font-size:.94rem;
  box-shadow:0 10px 20px rgba(6,28,63,.06);
}

.visitor-chat-bubble p{
  margin:0;
  white-space:pre-wrap;
}

.visitor-chat-bubble.assistant{
  justify-self:start;
  background:#f4fbff;
  border:1px solid var(--line);
  color:var(--text);
}

.visitor-chat-bubble.user{
  justify-self:end;
  background:linear-gradient(135deg,var(--secondary),var(--primary));
  color:#fff;
}

.visitor-chat-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:var(--muted);
  font-size:.76rem;
  margin-top:6px;
}

.visitor-chat-suggestions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.visitor-chat-chip{
  border:1px solid rgba(6,59,145,.12);
  border-radius:999px;
  padding:8px 12px;
  background:#fff;
  color:var(--primary);
  font-weight:800;
  font-size:.82rem;
}

.visitor-chat-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
}

.visitor-chat-form input{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 14px;
  font:inherit;
}

.visitor-chat-form button{
  min-height:46px;
  padding:0 16px;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,var(--secondary),var(--primary));
  color:#fff;
  font:inherit;
  font-weight:900;
}

.visitor-chat-footnote{
  margin:0;
  color:var(--muted);
  font-size:.78rem;
}

body.chat-open .visitor-chat-toggle{
  box-shadow:0 20px 40px rgba(6,59,145,.34);
}

@media (max-width: 620px){
  .archive-topbar{
    flex-direction:column;
  }
  .archive-top-actions{
    width:100%;
  }
  .archive-home-btn{
    width:100%;
  }
  .visitor-chat{
    right:10px;
    bottom:12px;
  }
  .visitor-chat-toggle{
    min-height:40px;
    padding:9px 12px;
    font-size:.88rem;
  }
  .visitor-chat-toggle-icon{
    width:20px;
    height:20px;
  }
  .visitor-chat-panel{
    width:min(320px, calc(100vw - 18px));
  }
}

.certificate-shell{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px 16px;
  background:
    radial-gradient(circle at top left, rgba(0,169,152,.10), transparent 28%),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 52%, #eef7ff 100%);
}

.certificate-card{
  width:min(920px,100%);
  padding:28px;
}

.certificate-card header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}

.certificate-body{
  border:2px solid rgba(6,59,145,.12);
  border-radius:28px;
  padding:28px;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
}

.certificate-body h1{
  margin:0 0 10px;
  color:var(--primary);
  font-size:clamp(2rem,4vw,3rem);
}

.certificate-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}

.certificate-meta div{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 16px;
  background:#fff;
}

.dashboard-shell{
  width:min(1400px,94%);
  margin:0 auto;
  padding:28px 0 60px;
}

.dashboard-topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-bottom:20px;
}

.dashboard-brand{
  font-weight:900;
  font-size:1.35rem;
  color:var(--primary);
}

.dashboard-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.panel{
  background: rgba(255,255,255,.94);
  border:1px solid rgba(6,59,145,.12);
  box-shadow: var(--shadow-soft);
  border-radius: 28px;
  padding: 24px;
  margin-bottom: 22px;
}

.panel-inner{
  background: var(--panel-2);
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px;
  margin-top:18px;
}

.dashboard-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:16px;
}

.info-card{
  background: linear-gradient(180deg,#ffffff 0%,#f5fbff 100%);
  border:1px solid var(--line);
  border-radius:20px;
  padding:18px;
}

.overview-tools{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0 4px;
}

.stat-card{
  position:relative;
  overflow:hidden;
  min-height:124px;
  width:100%;
  display:grid;
  gap:4px;
  font:inherit;
  appearance:none;
  border-radius:18px;
  padding:14px;
  text-align:left;
  cursor:pointer;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(245,251,255,.98) 100%);
  border:1px solid color-mix(in srgb, var(--stat-accent, var(--secondary)) 18%, #dbe8f7);
  box-shadow: 0 20px 44px rgba(6,59,145,.08);
}

.stat-card::before{
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--stat-accent, var(--secondary)) 14%, transparent), transparent 58%);
  pointer-events:none;
}

.stat-card > *{
  position:relative;
  z-index:1;
}

.stat-card.is-active{
  transform:translateY(-2px);
  border-color: color-mix(in srgb, var(--stat-accent, var(--secondary)) 34%, #dbe8f7);
  box-shadow:0 18px 34px rgba(6,59,145,.10);
}

.stat-card:focus-visible{
  outline:3px solid color-mix(in srgb, var(--stat-accent, var(--secondary)) 28%, #ffffff);
  outline-offset:3px;
}

.stat-card .stat-card-icon{
  width:40px;
  height:40px;
  border-radius:14px;
  display:inline-grid;
  place-items:center;
  margin-bottom:10px;
  background:linear-gradient(135deg, color-mix(in srgb, var(--stat-accent, var(--secondary)) 24%, #ffffff), color-mix(in srgb, var(--stat-accent, var(--secondary)) 14%, #f8fcff));
  color:var(--stat-accent, var(--secondary));
  box-shadow: 0 10px 22px rgba(6,59,145,.10);
}

.stat-card .stat-card-icon svg{
  width:22px;
  height:22px;
}

.info-card span{
  display:block;
  color:var(--muted);
  font-weight:800;
  margin-bottom:8px;
}

.info-card strong{
  display:block;
  color:var(--dark);
  font-size:1.05rem;
}

.stat-card span{
  margin-bottom:8px;
  color:var(--dark);
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:.76rem;
}

.stat-card strong{
  font-size:1.5rem;
  line-height:1;
  letter-spacing:-.04em;
  margin-bottom:6px;
  color:var(--dark);
}

.stat-card p{
  margin:0;
  color:var(--muted);
  font-size:.84rem;
  line-height:1.45;
}

.stat-focus{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);
  gap:14px;
  align-items:stretch;
  margin-top:16px;
  padding:18px;
  border-radius:24px;
  background:#fff;
  color:var(--dark);
  border:1px solid var(--line);
  box-shadow:0 18px 36px rgba(6,28,63,.08);
  position:relative;
  overflow:hidden;
}

.stat-focus::before{
  content:'';
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:linear-gradient(180deg, var(--secondary), var(--primary));
}

.stat-focus-copy{
  display:grid;
  gap:8px;
}

.stat-focus-copy .section-tag{
  color:var(--secondary);
  background:rgba(0,169,152,.10);
}

.stat-focus-copy h3{
  margin:0;
  font-size:clamp(1.25rem,2.4vw,1.85rem);
  line-height:1.06;
  color:var(--dark);
}

.stat-focus-copy p{
  margin:0;
  max-width:60ch;
  color:var(--muted);
  line-height:1.55;
}

.stat-focus-meta{
  display:grid;
  align-content:center;
  gap:6px;
  padding:16px 18px;
  border-radius:18px;
  background:linear-gradient(135deg, rgba(0,169,152,.10), rgba(6,59,145,.08));
  border:1px solid rgba(6,59,145,.10);
}

.stat-focus-value{
  font-size:clamp(2rem,4vw,3rem);
  font-weight:900;
  line-height:1;
  letter-spacing:-.05em;
  color:var(--primary);
}

.stat-focus-label{
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--dark);
}

.stat-focus-note{
  color:var(--muted);
  line-height:1.5;
}

.stats-grid .stat-card small{
  display:block;
  margin-top:6px;
  opacity:.85;
}

@keyframes statsGridShift{
  0%{
    background-position:0% 50%;
  }
  100%{
    background-position:100% 50%;
  }
}

@keyframes statCardFloat{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-2px);
  }
}

@keyframes statIconPulse{
  0%,100%{
    box-shadow:0 10px 22px rgba(6,59,145,.10);
  }
  50%{
    box-shadow:0 14px 28px rgba(8,120,255,.16);
  }
}

.stats .stats-grid{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg, rgba(223,244,255,.92), rgba(241,250,255,.98), rgba(213,238,255,.90));
  background-size:220% 220%;
  animation:statsGridShift 16s ease-in-out infinite alternate;
  border-radius:28px;
  border:1px solid rgba(102,180,255,.20);
  box-shadow:0 18px 40px rgba(6,59,145,.08);
}

.stats .stats-grid div{
  position:relative;
  border-right:1px solid rgba(38,119,190,.12);
  color:var(--dark);
}

.stats .stats-grid div:last-child{
  border-right:0;
}

.stats .stat-card{
  min-height:132px;
  padding:18px 16px 16px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(245,251,255,.96) 100%);
  border:1px solid rgba(102,180,255,.18);
  box-shadow:0 16px 30px rgba(6,59,145,.06);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  animation:statCardFloat 10s ease-in-out infinite;
}

.stats .stat-card:nth-child(2){
  animation-delay:1.2s;
}

.stats .stat-card:nth-child(3){
  animation-delay:2.4s;
}

.stats .stat-card:nth-child(4){
  animation-delay:3.6s;
}

.stats .stat-card:hover,
.stats .stat-card:focus-visible,
.stats .stat-card.is-active{
  transform:translateY(-4px);
  border-color:rgba(55,154,255,.38);
  box-shadow:0 22px 40px rgba(10,88,170,.12);
  background:linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(234,247,255,.98) 100%);
}

.stats .stat-card .stat-card-icon{
  animation:statIconPulse 5s ease-in-out infinite;
  background:linear-gradient(135deg, rgba(197,237,255,.95), rgba(227,245,255,.92));
  color:#0b4f9a;
}

.stats .stat-card strong{
  color:#0f2f66;
}

.stats .stat-card span{
  color:#0d3e7d;
}

.stats .stat-card p,
.stats .stat-card small{
  color:rgba(15,47,102,.72);
}

.repeat-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

fieldset{
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
  background:#fff;
}

legend{
  padding:0 8px;
  font-weight:900;
  color:var(--primary);
}

.tabs-admin{
  margin-top:18px;
}

.stacked{
  display:grid;
  gap:16px;
}

.table-wrap{
  overflow:auto;
}

.admin-table{
  width:100%;
  border-collapse:collapse;
  min-width: 980px;
}

.admin-table th, .admin-table td{
  padding:14px 12px;
  border-bottom:1px solid var(--line);
  vertical-align: top;
  text-align:left;
}

.panel-head.with-actions{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.panel-head.with-actions h2{
  margin-bottom:6px;
}

.panel-head.with-actions p{
  margin:0;
}

.inline-form{
  display:grid;
  grid-template-columns: 180px 1fr auto;
  gap:10px;
  align-items:center;
}

.participant-actions{
  display:grid;
  gap:10px;
}

.panel-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}

.participant-transfer-form{
  grid-template-columns:minmax(150px, 1fr) auto;
}

.table-check{
  width:18px;
  height:18px;
  accent-color:var(--primary);
  vertical-align:middle;
}

.bulk-notify-grid{
  display:grid;
  gap:14px;
}

.bulk-notify-grid .form-grid{
  margin-top:0;
}

.inline-check{
  display:inline-flex;
  align-items:center;
  gap:8px;
  justify-self:start;
  font-size:.9rem;
  font-weight:700;
  color:var(--muted);
  white-space:nowrap;
}

.inline-check input{
  width:16px;
  height:16px;
  accent-color:var(--primary);
}

.participant-inline-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.participant-delete-form{
  display:flex;
  justify-content:flex-start;
}

.approval-form{
  gap:12px;
  min-width:320px;
}

.approval-permissions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 10px;
}

.approval-permission{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.84rem;
  color:var(--text);
}

.approval-permission input{
  width:16px;
  height:16px;
  accent-color:var(--secondary);
  flex:0 0 auto;
}

.form-actions.compact{
  display:flex;
  justify-content:flex-start;
  margin-top:2px;
}

.btn-danger{
  background:linear-gradient(135deg,#ff6b5e,#d93b32);
  color:#fff;
  border:0;
  box-shadow:0 12px 24px rgba(217,59,50,.22);
}

.btn-danger:hover{
  color:#fff;
  filter:saturate(1.05);
}

.dashboard-page .tabs{
  display:flex;
  gap:10px;
  margin-top:16px;
}

.module-card.theme-teal span{background:var(--secondary)}
.module-card.theme-green span{background:#0aa86f}
.module-card.theme-blue span{background:#1d6fe8}
.module-card.theme-purple span{background:#7b4ed9}
.module-card.theme-orange span{background:#ff8a21}

.hero h1 span{
  display:block;
  color:#00a998;
}

.stats-grid small{
  display:block;
  margin-top:6px;
  opacity:.85;
}

.dashboard-app{
  min-height:100vh;
  display:grid;
  grid-template-columns: var(--sidebar-width) minmax(0,1fr);
  background:
    radial-gradient(circle at top left, rgba(0,169,152,.12), transparent 32%),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 44%, #eef7ff 100%);
}

.sidebar-backdrop{
  display:none;
}

.sidebar{
  position:sticky;
  top:0;
  height:100vh;
  padding:18px;
  background: linear-gradient(180deg, #061c3f 0%, #082752 56%, #0d7c80 100%);
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:18px;
  overflow:auto;
  width:var(--sidebar-width);
}

.sidebar-brand{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.sidebar-brand img{
  width:110px;
  max-width:110px;
  height:auto;
  object-fit:contain;
}

.sidebar-close{
  display:none;
  border:0;
  background:rgba(255,255,255,.16);
  color:#fff;
  width:40px;
  height:40px;
  border-radius:14px;
  font-size:1rem;
}

.sidebar-user{
  display:flex;
  align-items:center;
  gap:14px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:16px;
}

.sidebar-user strong,
.sidebar-user span{
  display:block;
}

.sidebar-user span{
  color:rgba(255,255,255,.75);
  font-size:.92rem;
}

.avatar,.avatar-lg,.table-avatar{
  object-fit:cover;
  border-radius:50%;
  background:#fff;
}

.avatar{
  width:64px;
  height:64px;
  border:2px solid rgba(255,255,255,.35);
}

.avatar-lg{
  width:96px;
  height:96px;
  border:1px solid var(--line);
}

.table-avatar{
  width:56px;
  height:56px;
  border:1px solid var(--line);
}

.sidebar-nav{
  display:grid;
  gap:8px;
}

.sidebar-nav a{
  color:#e8f2ff;
  padding:12px 14px;
  border-radius:16px;
  font-weight:800;
  background: rgba(255,255,255,.04);
  border:1px solid transparent;
  display:grid;
  grid-template-columns:22px minmax(0,1fr) 18px;
  gap:12px;
  align-items:center;
}

.sidebar-nav a.active,
.sidebar-nav a:hover{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
}

.nav-icon,
.nav-arrow,
.module-icon,
.mobile-card-icon{
  display:inline-grid;
  place-items:center;
}

.nav-icon svg,
.nav-arrow svg,
.module-icon svg,
.mobile-card-icon svg,
.sidebar-toggle svg{
  width:20px;
  height:20px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.nav-icon svg,
.module-icon svg,
.mobile-card-icon svg{
  fill:currentColor;
  stroke:none;
}

.nav-copy{
  display:grid;
  gap:2px;
}

.nav-copy strong{
  font-size:.96rem;
  line-height:1.2;
}

.nav-copy small{
  font-size:.8rem;
  color:rgba(232,242,255,.76);
  font-weight:600;
  line-height:1.3;
}

.workspace{
  min-width:0;
  padding:24px;
}

.workspace-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}

.workspace-heading{
  min-width:0;
  flex:1;
}

.workspace-topbar h1{
  margin:0;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height:1.05;
  letter-spacing:-.04em;
  color:var(--dark);
}

.crumb{
  text-transform:uppercase;
  letter-spacing:.16em;
  font-weight:900;
  color:var(--secondary);
  margin:0 0 6px;
  font-size:.8rem;
}

.workspace-note{
  margin:8px 0 0;
  color:var(--muted);
  max-width:60ch;
}

.workspace-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.sidebar-toggle{
  display:inline-grid;
  place-items:center;
  width:48px;
  height:48px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--primary);
  font-size:1.2rem;
  box-shadow: var(--shadow-soft);
}

.panel-stack{
  display:grid;
  gap:16px;
}

.panel-card{
  background: rgba(255,255,255,.94);
  border:1px solid rgba(6,59,145,.12);
  box-shadow: var(--shadow-soft);
  border-radius:28px;
  padding:22px;
  margin-bottom:18px;
}

.content-studio-shell{
  padding:20px;
}

.content-studio-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}

.content-studio-topbar h2{
  margin:8px 0 8px;
}

.content-studio-topbar p{
  margin:0;
  color:var(--muted);
  max-width:74ch;
  line-height:1.6;
}

.content-studio-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}

.content-studio-layout{
  display:grid;
  grid-template-columns:minmax(280px, 340px) minmax(0, 1fr);
  gap:20px;
  align-items:start;
}

.content-studio-layout-3col{
  grid-template-columns:minmax(280px, 340px) minmax(0, 1fr);
}

.content-studio-sidebar{
  position:sticky;
  top:96px;
  display:grid;
  gap:16px;
}

.content-studio-preview{
  grid-column:1 / -1;
  position:static;
  max-height:none;
  overflow:visible;
  padding-right:0;
  margin-top:2px;
}

.content-preview-live{
  gap:14px;
}

.content-preview-browser{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 16px;
  border-radius:20px;
  background:linear-gradient(135deg,#f4fbff 0%,#eef7ff 100%);
  border:1px solid rgba(6,59,145,.08);
  box-shadow:0 10px 26px rgba(6,28,63,.05);
}

.content-preview-browser-left{
  display:flex;
  align-items:center;
  gap:8px;
  flex-shrink:0;
}

.content-preview-browser-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:linear-gradient(135deg,rgba(0,169,152,.9),rgba(29,111,232,.9));
}

.content-preview-browser-copy{
  display:grid;
  gap:2px;
  min-width:0;
  flex:1;
}

.content-preview-browser-copy strong{
  color:var(--dark);
  font-size:.9rem;
}

.content-preview-browser-copy span{
  color:var(--muted);
  font-size:.76rem;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.content-preview-browser-link{
  white-space:nowrap;
}

.content-preview-banner-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.content-preview-banner-chip,
.content-preview-mini-chip{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(6,59,145,.10);
  background:rgba(255,255,255,.82);
  color:var(--secondary);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.content-preview-banner{
  display:grid;
  gap:12px;
  padding:18px;
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(0,169,152,.10), transparent 28%),
    linear-gradient(180deg, #fdfefe 0%, #f7fbff 100%);
  border:1px solid rgba(6,59,145,.10);
  overflow:hidden;
  box-shadow:0 18px 36px rgba(6,28,63,.07);
}

.content-preview-kicker{
  display:inline-flex;
  align-items:center;
  justify-self:start;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(0,169,152,.12);
  color:var(--secondary);
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.content-preview-banner h3{
  margin:0;
  display:grid;
  gap:6px;
}

.content-preview-banner h3 strong{
  color:var(--dark);
  font-size:1.55rem;
  line-height:1.1;
}

.content-preview-banner h3 span{
  color:var(--secondary);
  font-size:1.04rem;
  font-weight:900;
  letter-spacing:.02em;
}

.content-preview-copy{
  color:var(--muted);
  line-height:1.65;
}

.content-preview-copy p{
  margin:0 0 10px;
}

.content-preview-copy p:last-child{
  margin-bottom:0;
}

.content-preview-copy ul,
.content-preview-copy ol{
  margin:0;
  padding-left:20px;
}

.content-preview-copy a{
  color:var(--primary);
  font-weight:800;
}

.content-preview-stack{
  display:grid;
  gap:12px;
}

.content-preview-pagegrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.content-preview-mini{
  padding:16px 18px;
  border-radius:20px;
  border:1px solid var(--line);
  background:#fff;
  display:grid;
  gap:10px;
  box-shadow:0 10px 24px rgba(6,28,63,.05);
}

.content-preview-mini-wide{
  grid-column:1 / -1;
}

.content-preview-mini-note{
  background:linear-gradient(135deg,rgba(0,169,152,.08),rgba(29,111,232,.06));
}

.content-preview-mini-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.content-preview-mini h4{
  margin:0;
  color:var(--dark);
  font-size:.98rem;
}

.content-preview-list{
  display:grid;
  gap:8px;
}

.content-preview-list span{
  display:flex;
  gap:8px;
  align-items:flex-start;
  color:var(--dark);
  font-size:.94rem;
  line-height:1.45;
}

.content-preview-list strong{
  color:var(--secondary);
  min-width:42px;
}

.content-preview-card-hero{
  background:
    radial-gradient(circle at top right, rgba(29,111,232,.10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.repeater-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}

.content-section-head.compact{
  align-items:center;
}

.content-preview-card{
  padding:20px;
  border-radius:26px;
  border:1px solid rgba(0,169,152,.14);
  background:
    radial-gradient(circle at top right, rgba(0,169,152,.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
  box-shadow: var(--shadow-soft);
  display:grid;
  gap:14px;
}

.content-preview-card h3{
  margin:0;
  color:var(--dark);
  font-size:1.35rem;
  line-height:1.15;
}

.content-preview-card p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.content-preview-meta{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.content-preview-meta div{
  padding:12px 14px;
  border-radius:18px;
  background:#f8fcff;
  border:1px solid var(--line);
  display:grid;
  gap:4px;
}

.content-preview-meta strong{
  color:var(--dark);
  font-size:.98rem;
  line-height:1.35;
}

.content-preview-meta span{
  color:var(--muted);
  font-size:.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.content-preview-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.content-category-card{
  padding:18px 20px;
  border-radius:24px;
  border:1px solid rgba(6,59,145,.10);
  background:linear-gradient(135deg, rgba(0,169,152,.08), rgba(6,59,145,.04));
  box-shadow:0 12px 28px rgba(6,28,63,.05);
  display:grid;
  gap:6px;
}

.content-category-card strong{
  color:var(--dark);
  font-size:1rem;
}

.content-category-card p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}

.content-studio-nav{
  display:grid;
  gap:10px;
}

.content-studio-nav a{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:10px 12px;
  align-items:center;
  padding:14px 16px;
  border-radius:20px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
  box-shadow:0 12px 24px rgba(6,28,63,.05);
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.content-studio-nav a:hover,
.content-studio-nav a:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(0,169,152,.28);
  box-shadow:0 16px 30px rgba(6,28,63,.09);
}

.content-studio-nav a span{
  grid-row:1 / span 2;
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(0,169,152,.14), rgba(29,111,232,.14));
  color:var(--primary);
  font-weight:900;
  font-size:.82rem;
}

.content-studio-nav strong{
  color:var(--dark);
  font-size:.98rem;
}

.content-studio-nav small{
  color:var(--muted);
  font-weight:600;
  line-height:1.45;
}

.content-studio-stats{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(132px, 1fr);
  gap:10px;
  overflow-x:auto;
  padding-bottom:4px;
}

.content-studio-stats .summary-chip{
  min-height:88px;
  padding:14px 16px;
  min-width:132px;
}

.content-studio-form{
  min-width:0;
  display:grid;
  gap:16px;
}

.content-section-card{
  scroll-margin-top:110px;
  padding:22px;
  border-radius:26px;
  border:1px solid rgba(6,59,145,.12);
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  box-shadow:var(--shadow-soft);
  display:grid;
  gap:16px;
}

.content-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.content-section-head h3{
  margin:8px 0 8px;
  font-size:1.35rem;
  color:var(--dark);
}

.content-section-head p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
  max-width:74ch;
}

.content-repeat-grid{
  gap:16px;
}

.content-stack-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:16px;
}

.content-stack-grid h4{
  margin:0 0 12px;
  font-size:1.02rem;
  color:var(--dark);
}

.reorder-grid{
  display:grid;
  gap:18px;
}

.reorder-block{
  display:grid;
  gap:12px;
}

.content-section-head.compact h4{
  margin:0;
  font-size:1.02rem;
  color:var(--dark);
}

.content-section-head.compact p{
  margin:4px 0 0;
  font-size:.92rem;
}

.reorder-item{
  position:relative;
  display:grid;
  gap:12px;
  padding:14px;
  border-radius:20px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
  box-shadow:0 10px 24px rgba(6,28,63,.04);
}

.reorder-item[draggable="true"]{
  cursor:move;
}

.reorder-item.is-dragging{
  opacity:.55;
  transform:scale(.985);
}

.reorder-item-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.reorder-handle{
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:12px;
  background:linear-gradient(135deg, rgba(0,169,152,.12), rgba(29,111,232,.12));
  color:var(--primary);
  font-size:1rem;
  font-weight:900;
}

.reorder-order{
  min-width:40px;
  padding:7px 10px;
  border-radius:999px;
  background:#f1f7ff;
  color:var(--primary);
  font-weight:900;
  text-align:center;
  letter-spacing:.08em;
}

.rich-editor{
  display:grid;
  gap:10px;
}

.rich-editor-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.rich-editor-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--dark);
  font:inherit;
  font-weight:800;
  box-shadow:0 8px 18px rgba(6,28,63,.04);
}

.rich-editor-button:hover,
.rich-editor-button:focus-visible{
  border-color:rgba(0,169,152,.28);
  color:var(--primary);
}

.rich-editor-surface{
  min-height:130px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  color:var(--text);
  line-height:1.7;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5);
}

.rich-editor-surface:focus{
  outline:3px solid rgba(0,169,152,.18);
  border-color:rgba(0,169,152,.30);
}

.rich-editor-surface:empty::before{
  content:attr(data-placeholder);
  color:var(--muted);
}

.rich-text{
  display:grid;
  gap:10px;
}

.rich-text p{
  margin:0 0 12px;
}

.rich-text p:last-child{
  margin-bottom:0;
}

.content-studio-form textarea,
.content-studio-form input{
  border-radius:16px;
}

.content-studio-savebar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  padding-top:4px;
}

.guide-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}

.guide-strip div{
  background:#f8fcff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px 16px;
  display:grid;
  gap:6px;
}

.guide-strip strong{
  color:var(--secondary);
}

.guide-strip span{
  color:var(--dark);
  line-height:1.45;
  font-size:.95rem;
}

.mobile-cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:18px;
}

.mobile-card{
  background: linear-gradient(180deg,#ffffff 0%,#f5fbff 100%);
  border:1px solid var(--line);
  box-shadow: var(--shadow-soft);
  border-radius:22px;
  padding:18px;
}

.mobile-card p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.45;
}

.mobile-card-icon{
  width:38px;
  height:38px;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(0,95,200,.12), rgba(0,169,152,.12));
  color:var(--primary);
  margin-bottom:14px;
}

.mobile-card span{
  display:block;
  color:var(--muted);
  font-weight:800;
  margin-bottom:8px;
}

.mobile-card strong{
  display:block;
  color:var(--dark);
  font-size:1.1rem;
}

.profile-quick{
  display:flex;
  gap:16px;
  align-items:center;
  flex-wrap:wrap;
}

.module-admin-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.module-catalog-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.module-admin-card{
  border-radius:22px;
  padding:20px;
  color:#fff;
  box-shadow: var(--shadow-soft);
}

.module-admin-card h3,
.module-admin-card p,
.module-admin-card li,
.module-admin-card .module-guide{
  color: rgba(255,255,255,.96);
  text-shadow: 0 1px 2px rgba(0,0,0,.16);
}

.module-admin-card .module-guide{
  opacity:.95;
}

.module-admin-card ul{
  padding-left: 18px;
}

.module-admin-card li{
  margin-bottom: 8px;
}

.module-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.module-detail{
  position:relative;
  background: linear-gradient(180deg,#ffffff 0%,#f5fbff 100%);
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  box-shadow: var(--shadow-soft);
}

.module-detail::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(6,28,63,.06), rgba(6,28,63,.16));
  pointer-events:none;
}

.module-detail summary{
  list-style:none;
  cursor:pointer;
  display:grid;
  position:relative;
  z-index:1;
}

.module-detail[open]{
  box-shadow:0 22px 46px rgba(6,28,63,.12);
}

.module-image-wrap{
  position:relative;
  overflow:hidden;
  aspect-ratio:16 / 9;
  background:linear-gradient(180deg,#f2f8ff 0%,#e9f4ff 100%);
}

.module-image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.module-detail:hover .module-image-wrap img,
.module-detail[open] .module-image-wrap img{
  transform:scale(1.03);
}

.module-summary{
  padding:18px 18px 20px;
  background:linear-gradient(180deg, rgba(6,28,63,.08), rgba(6,28,63,.22));
}

.module-summary h3{
  margin:12px 0 8px;
  color:#fff;
  font-size:1.2rem;
  text-shadow:0 2px 10px rgba(0,0,0,.46);
}

.module-summary p{
  margin:0;
  color:rgba(255,255,255,.96);
  text-shadow:0 2px 10px rgba(0,0,0,.42);
}

.module-detail-body{
  padding:0 18px 20px;
  background:linear-gradient(180deg, rgba(6,28,63,.12), rgba(6,28,63,.24));
}

.module-detail-body ul{
  margin:0;
  padding-left:20px;
  color:#fff;
  line-height:1.7;
  text-shadow:0 2px 10px rgba(0,0,0,.34);
}

.module-preview,
.module-upload-preview img{
  width:100%;
  aspect-ratio: 16 / 9;
  object-fit:cover;
  border-radius:18px;
  margin-top:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
}

.module-upload-preview{
  margin-top:10px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:18px;
  background:linear-gradient(180deg,#f8fcff,#eef6ff);
}

.module-upload-preview img{
  aspect-ratio: 16 / 9;
  height:96px;
  object-fit:contain;
  padding:8px;
  border-color: var(--line);
  background:linear-gradient(180deg,#ffffff,#eff6ff);
}

.module-detail{
  cursor:pointer;
}

.module-detail summary{
  list-style:none;
}

.module-detail summary::-webkit-details-marker{
  display:none;
}

.module-image-wrap{
  position:relative;
  overflow:hidden;
  border-radius:22px 22px 0 0;
  aspect-ratio:16 / 9;
  background:linear-gradient(180deg,#f2f8ff 0%,#e9f4ff 100%);
}

.module-image-wrap span{
  position:absolute;
  top:14px;
  left:14px;
  background:#fff;
  color:var(--primary);
  border-radius:999px;
  padding:8px 12px;
  font-weight:900;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

.module-detail .module-badge,
.module-detail .module-image-wrap span{
  background:rgba(255,255,255,.96);
  color:var(--primary);
}

.module-summary{
  padding:18px 18px 20px;
}

.module-summary p{
  margin:0;
  color:rgba(255,255,255,.96);
}

.module-detail-body{
  padding:0 18px 20px;
}

.module-detail .module-summary h3,
.module-detail .module-summary p,
.module-detail .module-detail-body{
  position:relative;
  z-index:1;
}

.module-detail .module-detail-body li{
  color:#fff;
}

.module-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.module-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  font-weight:900;
  letter-spacing:.08em;
}

.module-icon{
  width:40px;
  height:40px;
  border-radius:14px;
  background: rgba(255,255,255,.16);
}

.module-admin-card h3{
  margin-top:10px;
  margin-bottom:8px;
}

.module-admin-card ul{
  padding-left:18px;
  margin:12px 0 0;
  line-height:1.55;
  color:rgba(255,255,255,.92);
}

.module-guide{
  margin:0;
  color:rgba(255,255,255,.84);
  font-size:.92rem;
  line-height:1.45;
}

.theme-teal{background:linear-gradient(135deg,#009f91,#005fc8)}
.theme-green{background:linear-gradient(135deg,#0aa86f,#0d6b47)}
.theme-blue{background:linear-gradient(135deg,#1d6fe8,#063b91)}
.theme-purple{background:linear-gradient(135deg,#7b4ed9,#3a1f7e)}
.theme-orange{background:linear-gradient(135deg,#ff8a21,#ff5e2b)}

.module-manager-hero{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:18px;
  align-items:stretch;
  padding:20px;
  border-radius:28px;
  background:linear-gradient(135deg, rgba(6,59,145,.06), rgba(0,169,152,.05));
  border:1px solid rgba(6,59,145,.08);
}

.module-manager-hero-copy{
  display:grid;
  gap:10px;
}

.module-manager-hero-copy h3{
  margin:0;
  font-size:clamp(1.5rem,3vw,2.2rem);
  line-height:1.06;
  color:var(--dark);
}

.module-manager-hero-copy p{
  margin:0;
  color:var(--muted);
  max-width:70ch;
}

.module-manager-hero-stats{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.module-manager-filter{
  margin-top:16px;
}

.module-manager-grid{
  margin-top:18px;
}

.module-manager-card{
  padding:0;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid var(--line);
  color:var(--dark);
  box-shadow:var(--shadow-soft);
  overflow:hidden;
}

.module-manager-card h3,
.module-manager-card p,
.module-manager-card li,
.module-manager-card .module-guide,
.module-manager-card .module-speaker{
  color:var(--dark);
  text-shadow:none;
}

.module-manager-card .module-guide,
.module-manager-card .module-speaker,
.module-manager-card .module-description{
  color:var(--muted);
}

.module-manager-card .module-archive-media{
  border-bottom:1px solid rgba(6,59,145,.08);
  border-radius:0;
}

.module-manager-card .module-catalog-media{
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(6,59,145,.08);
}

.module-manager-card .module-catalog-media img{
  object-fit:cover;
  padding:0;
}

.module-manager-card .module-card-summary{
  grid-template-columns:1fr;
  gap:14px;
  padding:0;
}

.module-manager-card .module-card-summary-copy{
  padding:0 16px 4px;
}

.module-manager-card .module-card-topline{
  padding-top:0;
  justify-content:flex-start;
}

.module-manager-card .module-card-status{
  justify-content:flex-start;
}

.module-manager-card .module-archive-actions{
  padding:0 16px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.module-manager-card .module-card-body{
  padding:0 16px 18px;
}

.module-manager-card .module-admin-warning{
  background:rgba(0,169,152,.08);
  border-color:rgba(0,169,152,.14);
  color:#0b4f4b;
}

.module-manager-card .module-editor-actions-secondary{
  margin-top:2px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.module-manager-card .module-archive-actions .module-archive-action,
.module-manager-card .module-editor-actions-secondary form{
  flex:1 1 160px;
}

.module-manager-card .module-editor-actions-secondary form{
  margin:0;
}

.module-manager-card .module-editor-actions-secondary .btn{
  width:100%;
}

.module-manager-editor{
  margin-top:10px;
  border-top:1px solid rgba(6,59,145,.08);
}

.module-manager-editor summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 0;
  color:var(--primary);
  font-weight:900;
}

.module-manager-editor summary::-webkit-details-marker{
  display:none;
}

.module-manager-editor summary::after{
  content:"Urus";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(6,59,145,.08);
  color:var(--primary);
  font-size:.8rem;
  font-weight:900;
}

.module-manager-editor[open] summary::after{
  content:"Tutup";
}

.module-manager-editor-body{
  display:grid;
  gap:12px;
  padding:0 0 4px;
}

.module-manager-card-actions{
  margin-top:6px;
}

body.sidebar-open{
  overflow:hidden;
}

body.sidebar-collapsed{
  --sidebar-width:94px;
}

body.sidebar-collapsed .sidebar{
  padding-inline:12px;
}

body.sidebar-collapsed .sidebar-brand img,
body.sidebar-collapsed .sidebar-user div,
body.sidebar-collapsed .nav-copy,
body.sidebar-collapsed .nav-arrow{
  display:none;
}

body.sidebar-collapsed .sidebar-nav a{
  grid-template-columns:1fr;
  justify-items:center;
  padding:14px 10px;
}

@media (max-width: 980px){
  .auth-hero{
    grid-template-columns: 1fr;
  }
  .two-col{
    grid-template-columns:1fr;
  }
  .about-copy{
    position:static;
  }
  .feature-layer-1,
  .feature-layer-2,
  .feature-layer-3{
    margin-left:0;
    margin-right:0;
  }
  .auth-hero-visual{
    min-height: 220px;
    padding: 24px;
  }
  .auth-hero-card{
    border-left: 0;
    border-top: 1px solid rgba(6,59,145,.08);
  }
  .auth-role-grid{
    grid-template-columns:1fr;
  }
  .form-grid, .repeat-grid, .dashboard-grid{grid-template-columns:1fr}
  .module-progress-grid,
  .archive-grid,
  .public-hero,
  .submission-review-layout,
  .certificate-meta,
  .module-resource-grid,
  .report-filter-bar,
  .public-media-manager{
    grid-template-columns:1fr;
  }
  .module-progress-card-premium{
    grid-template-columns:1fr;
  }
  .module-progress-visual{
    min-height:200px;
  }
  .dashboard-topbar{flex-direction:column;align-items:flex-start}
  .inline-form{grid-template-columns:1fr}
  .dashboard-app{grid-template-columns:1fr}
  .panel-head.with-actions{
    flex-direction:column;
    align-items:flex-start;
  }
  .auth-login-tools{
    gap:10px;
  }
  .auth-remember,
  .auth-forgot{
    font-size:.88rem;
  }
  .sidebar-backdrop{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(6,28,63,.48);
    backdrop-filter:blur(6px);
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease;
    z-index:70;
  }
  body.sidebar-open .sidebar-backdrop{
    opacity:1;
    pointer-events:auto;
  }
  .sidebar{
    position:fixed;
    inset:0 auto 0 0;
    width:min(88vw, 340px);
    transform:translateX(-102%);
    transition:transform .25s ease;
    z-index:80;
  }
  body.sidebar-open .sidebar{
    transform:translateX(0);
  }
  .sidebar-close{
    display:inline-grid;
    place-items:center;
  }
  .workspace{
    padding:14px;
  }
  .workspace-topbar{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:start;
    gap:12px;
    margin-bottom:16px;
  }
  .workspace-heading{
    grid-column:2;
    min-width:0;
  }
  .sidebar-toggle{
    grid-column:1;
    grid-row:1;
  }
  .workspace-actions{
    grid-column:1 / -1;
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .workspace-actions .btn{
    width:100%;
  }
  .overview-tools{
    width:100%;
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .overview-tools .btn{
    width:100%;
  }
  .visitor-chat{
    right:12px;
    bottom:76px;
  }
  .visitor-chat-panel{
    width:min(340px, calc(100vw - 24px));
  }
  .mobile-cards,
  .module-admin-grid{
    grid-template-columns:1fr;
  }
  .badge-grid{
    grid-template-columns:1fr;
  }
  .mobile-cards{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .panel-card{
    padding:20px;
    border-radius:24px;
  }
  .guide-strip{
    gap:10px;
  }
  .guide-strip div{
    padding:12px 14px;
  }
  .module-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .report-filter-bar{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .public-hero{
    grid-template-columns:280px minmax(0,1fr);
  }
  .public-profile,
  .public-content,
  .certificate-card{
    border-radius:24px;
  }
  .report-header{
    flex-direction:column;
    align-items:flex-start;
  }
  .guide-strip{
    grid-template-columns:1fr;
  }
  .guide-shell .guide-sidebar{
    position:static;
  }
  .account-permission-grid{
    grid-template-columns:1fr;
  }
  body.sidebar-collapsed{
    --sidebar-width:310px;
  }
  body.sidebar-collapsed .sidebar{
    padding-inline:18px;
  }
  body.sidebar-collapsed .sidebar-brand img,
  body.sidebar-collapsed .sidebar-user div,
  body.sidebar-collapsed .nav-copy,
  body.sidebar-collapsed .nav-arrow{
    display:grid;
  }
  body.sidebar-collapsed .sidebar-nav a{
    grid-template-columns:22px minmax(0,1fr) 18px;
    justify-items:stretch;
  }
  .sidebar-brand img{
    width:100px;
    max-width:100px;
  }
}

@media (max-width: 620px){
  .auth-shell{
    padding: 12px 8px;
  }
  .section{
    padding: 64px 0;
  }
  .about-copy h2{
    font-size:clamp(1.9rem, 9vw, 2.8rem);
  }
  .feature-layer-card{
    padding:18px;
  }
  .feature-layer-card h3{
    font-size:1.25rem;
  }
  .auth-hero-visual{
    min-height: 150px;
    padding: 14px;
  }
  .auth-hero-card{
    padding: 16px;
  }
  .auth-logo{
    width: min(100%, 220px);
  }
  .auth-hero-visual p{
    display:none;
  }
  .auth-headline-actions{
    flex-direction:column;
  }
  .auth-headline-actions .btn{
    width:100%;
  }
  .auth-home-btn{
    padding-inline:16px;
  }
  .auth-home-btn .btn-icon-mark{
    width:18px;
    height:18px;
    font-size:.82rem;
  }
  .settings-toggle-grid,
  .auth-cta-block{
    grid-template-columns:1fr;
  }
  .auth-cta-actions{
    width:100%;
    flex-direction:column;
  }
  .auth-cta-actions .btn{
    width:100%;
  }
  .auth-form-card{
    padding:14px;
  }
  .auth-login-tools{
    grid-template-columns:1fr auto;
    gap:8px 10px;
  }
  .form-grid .auth-login-tools .auth-remember{
    font-size:.9rem;
  }
  .form-grid .auth-login-tools .auth-forgot{
    font-size:.88rem;
  }
  .auth-register-accordion summary{
    padding:14px 14px;
  }
  .auth-role-grid{
    grid-template-columns:1fr;
  }
  .badge-card{
    grid-template-columns:1fr;
    padding:16px;
  }
  .badge-mark{
    width:58px;
    height:58px;
    border-radius:18px;
    font-size:1.35rem;
  }
  .badge-topline{
    flex-direction:column;
    align-items:flex-start;
  }
  .badge-preview-wrap{
    padding:10px;
    border-radius:18px;
  }
  .visitor-chat{
    right:10px;
    left:auto;
    justify-items:end;
    bottom:14px;
  }
  .visitor-chat-toggle{
    justify-content:center;
    width:auto;
    min-height:42px;
    padding:10px 12px;
    border-radius:999px;
  }
  .visitor-chat-panel{
    width:min(340px, calc(100vw - 20px));
    max-height:min(72vh, 560px);
  }
  .visitor-chat-form{
    grid-template-columns:1fr;
  }
  .visitor-chat-bubble{
    max-width:100%;
  }
  .auth-register-accordion summary{
    padding:14px 15px;
    align-items:flex-start;
    flex-direction:column;
  }
  .workspace-topbar{
    grid-template-columns:1fr;
  }
  .workspace-heading,
  .sidebar-toggle,
  .workspace-actions{
    grid-column:1;
  }
  .workspace-actions{
    grid-template-columns:1fr;
  }
  .workspace-actions .btn{
    padding-inline:16px;
  }
  .overview-tools{
    grid-template-columns:1fr;
  }
  .mobile-cards{
    grid-template-columns:1fr;
  }
  .participant-slider-controls{
    padding:10px;
  }
  .share-row{
    width:100%;
  }
  .sidebar-toggle{
    width:44px;
    height:44px;
  }
  .panel-card{
    padding:16px;
    border-radius:20px;
  }
  .module-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
  .module-detail summary{
    grid-template-columns:104px minmax(0,1fr);
    align-items:stretch;
  }
  .module-image-wrap{
    width:104px;
    height:104px;
  }
  .module-image-wrap img{
    height:100%;
    aspect-ratio:1 / 1;
  }
  .module-summary{
    padding:12px 12px 10px;
  }
  .module-summary h3{
    font-size:.98rem;
  }
  .module-summary p{
    font-size:.9rem;
  }
  .module-detail-body{
    padding:0 12px 12px;
  }
  .report-filter-bar{
    grid-template-columns:1fr;
  }
  .report-filter-bar .btn{
    width:100%;
  }
  .public-hero{
    grid-template-columns:1fr;
  }
  .public-profile,
  .public-content,
  .certificate-card{
    padding:16px;
    border-radius:20px;
  }
  .share-row{
    width:100%;
  }
  .share-chip{
    flex-basis:100%;
  }
  .public-shell,
  .certificate-shell{
    padding:16px 10px 40px;
  }
  .public-nav{
    margin-bottom:12px;
  }
  .public-profile,
  .public-content,
  .certificate-card{
    padding:18px;
  }
  .participant-slide figcaption{
    left:12px;
    right:12px;
    bottom:12px;
    padding:12px 14px;
  }
  .module-image-wrap span{
    top:12px;
    left:12px;
    padding:7px 10px;
    font-size:.78rem;
  }
  .module-detail-body ul{
    padding-left:18px;
    line-height:1.55;
    font-size:.92rem;
  }
  .module-summary h3{
    line-height:1.18;
  }
  .visitor-chat-toggle-text{
    display:none;
  }
  .visitor-chat-toggle-icon{
    width:18px;
    height:18px;
    font-size:.76rem;
  }
  .visitor-chat-toggle{
    width:40px;
    min-height:40px;
    padding:0;
    border-radius:50%;
    box-shadow:0 12px 24px rgba(6,59,145,.22);
  }
  .visitor-chat{
    bottom:12px;
  }
.sidebar-brand img{
  width:88px;
  max-width:88px;
  }
}

.section-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.section-heading h3{
  margin:0;
  font-size:1.45rem;
  color:var(--dark);
}

.section-heading p{
  margin:6px 0 0;
  color:var(--muted);
  max-width:72ch;
}

.section-heading-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}

.module-learning-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.module-learning-card{
  margin:0;
  background:#fff;
}

.module-learning-card .module-summary{
  min-height:132px;
}

.module-resource-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.04em;
}

.module-resource-preview{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0 6px;
}

.resource-pill{
  flex:1 1 190px;
  display:grid;
  gap:4px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(6,59,145,.10);
  background:linear-gradient(180deg,#ffffff 0%,#f6fbff 100%);
  box-shadow:0 10px 28px rgba(6,28,63,.06);
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.resource-pill:hover{
  transform:translateY(-2px);
  border-color:rgba(0,169,152,.24);
  box-shadow:0 14px 34px rgba(6,28,63,.09);
}

.resource-pill strong{
  color:var(--dark);
  font-size:.95rem;
  line-height:1.25;
}

.resource-pill span{
  color:var(--muted);
  font-size:.82rem;
  font-weight:700;
}

.resource-pill-muted{
  opacity:.78;
}

.module-admin-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:10px;
  padding:10px 12px;
  border-radius:16px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.94);
  font-size:.88rem;
  font-weight:800;
}

.module-admin-meta a{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:2px;
}

.module-admin-card .module-resource-preview{
  margin-top:12px;
}

.module-thumb-grid,
.module-archive-grid{
  display:grid;
  gap:14px;
}

.module-thumb-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
  margin-bottom:24px;
}

.module-archive-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}

.module-thumb-grid-compact{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.module-thumb-card,
.module-archive-card{
  display:grid;
  gap:12px;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(6,59,145,.10);
  box-shadow:var(--shadow-soft);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.module-thumb-card{
  text-decoration:none;
  color:inherit;
  gap:0;
  height:100%;
}

.module-thumb-card:focus-visible{
  outline:3px solid rgba(0,169,152,.24);
  outline-offset:3px;
}

.module-thumb-card:hover,
.module-archive-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 34px rgba(6,28,63,.12);
  border-color:rgba(0,169,152,.24);
}

.module-thumb-media,
.module-archive-media,
.module-catalog-media{
  position:relative;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:linear-gradient(180deg,#f2f8ff 0%,#e9f4ff 100%);
}

.module-thumb-media img,
.module-archive-media img,
.module-catalog-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.module-thumb-media::after,
.module-archive-media::after,
.module-catalog-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(4,14,44,.02), rgba(4,14,44,.16));
  pointer-events:none;
}

.module-thumb-media::before{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:42%;
  background:linear-gradient(180deg, rgba(4,14,44,0), rgba(4,14,44,.84));
  pointer-events:none;
  z-index:0;
}

.module-thumb-tag{
  position:absolute;
  top:12px;
  left:12px;
  z-index:1;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  color:var(--primary);
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.04em;
  box-shadow:0 10px 24px rgba(0,0,0,.14);
}

.module-thumb-overlay{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:1;
  display:grid;
  gap:4px;
  padding:14px 14px 12px;
  color:#fff;
}

.module-thumb-overlay strong{
  font-size:1rem;
  line-height:1.22;
  color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.42);
}

.module-thumb-overlay span{
  color:rgba(255,255,255,.90);
  font-size:.84rem;
  font-weight:700;
  text-shadow:0 2px 10px rgba(0,0,0,.34);
}

.section-footer-actions{
  display:flex;
  justify-content:flex-start;
  margin-top:10px;
}

.section-footer-actions .btn{
  min-width:220px;
}

.module-archive-shell{
  display:grid;
  gap:22px;
}

.module-archive-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:end;
}

.archive-top-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}

.module-archive-card{
  padding:0;
  scroll-margin-top:96px;
}

.module-archive-card:target{
  border-color:rgba(0,169,152,.32);
  box-shadow:0 0 0 1px rgba(0,169,152,.18), 0 22px 46px rgba(6,28,63,.14);
}

.module-archive-copy{
  display:grid;
  gap:12px;
  padding:0 16px 18px;
}

.module-archive-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:4px;
}

.module-archive-action{
  min-height:42px;
  padding-inline:14px;
}

.module-archive-action[data-copy-link]{
  box-shadow:0 10px 20px rgba(6,59,145,.08);
}

.module-archive-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.module-archive-head h2{
  margin:0;
  font-size:1.22rem;
  line-height:1.18;
  color:var(--dark);
}

.module-speaker{
  margin:6px 0 0;
  color:var(--muted);
  font-size:.92rem;
  font-weight:700;
}

.module-description{
  margin:0;
  color:var(--muted);
  line-height:1.65;
}

.module-archive-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.module-archive-bullets{
  margin:0;
  padding-left:20px;
  color:var(--dark);
  line-height:1.7;
}

.module-catalog-card{
  display:grid;
  gap:12px;
  padding:18px;
  border-radius:24px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}

.module-catalog-card summary{
  list-style:none;
  cursor:pointer;
  display:grid;
  gap:14px;
}

.module-catalog-card summary::-webkit-details-marker{
  display:none;
}

.module-card-summary{
  display:grid;
  grid-template-columns:minmax(260px,.84fr) minmax(0,1fr);
  gap:14px;
}

.module-card-summary-copy{
  display:grid;
  gap:6px;
  align-content:start;
}

.module-card-summary-copy h3{
  margin:0;
  color:var(--dark);
  font-size:1.15rem;
  line-height:1.2;
}

.module-card-speaker{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:18px;
  background:linear-gradient(180deg,#f8fcff 0%,#eef6ff 100%);
  border:1px solid rgba(6,59,145,.08);
  box-shadow:0 10px 20px rgba(6,28,63,.05);
}

.module-card-speaker-avatar{
  width:38px;
  height:38px;
  border-radius:50%;
  object-fit:cover;
  background:linear-gradient(135deg,#00a998,#063b91);
  border:1px solid rgba(6,59,145,.10);
  box-shadow:0 8px 16px rgba(6,28,63,.10);
  flex-shrink:0;
}

.module-card-speaker span{
  display:block;
  color:var(--muted);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.module-card-speaker strong{
  display:block;
  color:var(--dark);
  font-size:.94rem;
  line-height:1.25;
}

.module-card-summary-copy .module-guide{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

.module-card-body{
  display:grid;
  gap:14px;
  padding-top:2px;
}

.module-summary-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:12px 0 4px;
}

.summary-chip{
  display:grid;
  gap:4px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
  border:1px solid var(--line);
  box-shadow:0 12px 26px rgba(6,28,63,.06);
}

.summary-chip strong{
  font-size:1.35rem;
  line-height:1;
  color:var(--dark);
}

.summary-chip span{
  color:var(--muted);
  font-size:.88rem;
  font-weight:700;
}

.module-create-panel{
  display:grid;
  gap:14px;
}

.module-resource-preview-tight{
  margin-top:0;
}

.module-catalog-card.is-locked{
  border-color:rgba(255,202,84,.35);
}

.module-catalog-card.is-archived{
  border-color:rgba(0,169,152,.30);
}

.module-catalog-card.is-deleted{
  opacity:.78;
  border-color:rgba(255,94,43,.22);
  background:linear-gradient(180deg,#fffaf8 0%,#fff6f2 100%);
}

.module-card-topline{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.module-card-status{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}

.module-catalog-copy{
  display:grid;
  gap:4px;
}

.module-catalog-copy h3{
  margin:0;
  color:var(--dark);
  font-size:1.15rem;
  line-height:1.2;
}

.module-catalog-copy p{
  margin:0;
}

.module-editor-form{
  display:grid;
  gap:12px;
}

.module-editor-fields{
  display:grid;
  gap:12px;
  padding:0;
  margin:0;
  border:0;
}

.module-editor-fields[disabled]{
  opacity:.84;
}

.module-editor-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.module-editor-actions-secondary{
  padding-top:4px;
}

.module-admin-warning{
  padding:12px 14px;
  border-radius:16px;
  background:rgba(0,169,152,.08);
  border:1px solid rgba(0,169,152,.18);
  color:#0b4f4b;
  font-size:.92rem;
  line-height:1.55;
}

.badge-preview-shell{
  display:grid;
  place-items:center;
}

.badge-preview-card{
  display:grid;
  gap:14px;
  width:min(720px,100%);
  padding:26px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(7,31,79,.96), rgba(6,59,145,.92));
  color:#fff;
  box-shadow:0 24px 60px rgba(6,28,63,.20);
}

.badge-preview-card.is-revoked{
  background:linear-gradient(180deg, rgba(183,60,36,.96), rgba(118,29,18,.94));
}

.badge-preview-card h1{
  margin:0;
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.04;
}

.badge-preview-card p{
  margin:0;
  color:rgba(255,255,255,.86);
}

.badge-preview-page{
  gap:24px;
}

.badge-preview-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);
  gap:22px;
  align-items:center;
}

.badge-preview-copy{
  display:grid;
  gap:14px;
  padding:24px;
  border-radius:28px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}

.badge-preview-copy h1{
  margin:0;
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.02;
  color:var(--dark);
}

.badge-preview-copy p{
  margin:0;
  color:var(--muted);
  max-width:68ch;
}

.badge-preview-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.badge-preview-stage{
  display:grid;
  gap:14px;
}

.badge-preview-frame{
  padding:16px;
  border-radius:28px;
  background:linear-gradient(180deg,#061f4f 0%,#0d4aa0 100%);
  box-shadow:0 24px 60px rgba(6,28,63,.20);
}

.badge-preview-frame img{
  width:100%;
  height:auto;
  display:block;
}

.badge-preview-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.badge-preview-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

.badge-preview-audit{
  margin-top:8px;
}

.badge-preview-audit .public-note{
  display:grid;
  gap:14px;
}

.verify-shell{
  padding-top:30px;
}

.verify-card{
  display:grid;
  gap:18px;
  width:min(1320px,100%);
  margin:0 auto;
}

.verify-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.78fr);
  gap:20px;
  padding:26px;
  border-radius:32px;
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(6,31,79,.04), rgba(0,169,152,.02)),
    linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
  box-shadow:0 20px 54px rgba(6,28,63,.10);
  position:relative;
  overflow:hidden;
}

.verify-hero::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:8px;
  background:linear-gradient(90deg,var(--teal),var(--blue));
}

.verify-hero.is-valid{
  border-color:rgba(0,169,152,.18);
}

.verify-hero.is-invalid{
  border-color:rgba(255,94,43,.18);
}

.verify-copy{
  display:grid;
  gap:12px;
  position:relative;
  z-index:1;
}

.verify-copy h1{
  margin:0;
  color:var(--dark);
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.02;
}

.verify-copy p{
  margin:0;
  color:var(--muted);
  max-width:70ch;
}

.verify-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding-top:4px;
}

.verify-preview{
  display:grid;
  place-items:center;
  position:relative;
  z-index:1;
}

.verify-preview-frame{
  padding:16px;
  border-radius:30px;
  background:linear-gradient(180deg,#061f4f 0%,#0d4aa0 100%);
  box-shadow:0 20px 48px rgba(6,28,63,.18);
}

.verify-preview-frame img{
  width:min(300px,100%);
  height:auto;
  display:block;
}

.verify-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}

.verify-summary .info-card{
  border-radius:22px;
  background:linear-gradient(180deg,#ffffff 0%,#f9fcff 100%);
  box-shadow:0 10px 26px rgba(6,28,63,.06);
}

.verify-audit .public-note,
.verify-meta .public-note{
  display:grid;
  gap:14px;
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%);
  box-shadow:0 14px 34px rgba(6,28,63,.06);
  border:1px solid rgba(16,72,175,.10);
  padding:24px;
}

.verify-audit .public-note h2,
.verify-meta .public-note h2{
  margin:0;
  color:var(--dark);
  letter-spacing:.01em;
}

.verify-warning{
  display:grid;
  gap:4px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,94,43,.18);
  background:rgba(255,94,43,.08);
  color:#8f3f26;
}

.verify-warning-danger{
  border-color:rgba(183,60,36,.24);
  background:rgba(255,177,166,.14);
  color:#a23f23;
}

.verify-warning strong{
  color:#a23f23;
}

.verify-warning span{
  color:#8f3f26;
}

.verify-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.verify-footnote{
  margin:0;
  color:var(--muted);
  font-size:.95rem;
}

.audit-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.audit-grid-formal div{
  box-shadow:0 8px 22px rgba(6,59,145,.05);
}

.verify-admin-form{
  margin-top:10px;
  padding-top:14px;
  border-top:1px solid rgba(6,59,145,.08);
}

.verify-hero.is-revoked{
  background:
    linear-gradient(135deg, rgba(255,177,166,.22), rgba(255,255,255,1)),
    linear-gradient(180deg,#fff 0%,#fefefe 100%);
}

.audit-grid div{
  display:grid;
  gap:4px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid var(--line);
}

.audit-grid span{
  color:var(--muted);
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.audit-grid strong{
  color:var(--dark);
  font-size:.98rem;
  line-height:1.35;
}

.module-detail .module-resource-preview{
  margin-top:12px;
}

@media (max-width: 980px){
  .module-thumb-grid,
  .module-archive-grid,
  .module-thumb-grid-compact{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .module-summary-strip{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .module-card-summary{
    grid-template-columns:1fr;
  }

  .module-archive-hero{
    grid-template-columns:1fr;
  }

  .module-learning-grid,
  .badge-preview-hero,
  .verify-hero{
    grid-template-columns:1fr;
  }

  .verify-summary{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .section-heading{
    align-items:flex-start;
    flex-direction:column;
  }

  .section-heading-badges{
    justify-content:flex-start;
  }

  .stat-focus{
    grid-template-columns:1fr;
  }

  .module-manager-hero{
    grid-template-columns:1fr;
  }

  .module-manager-hero-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .content-studio-layout{
    grid-template-columns:1fr;
  }

  .content-studio-layout-3col{
    grid-template-columns:1fr;
  }

  .content-studio-sidebar{
    position:static;
  }

  .content-studio-preview{
    position:static;
  }

  .content-stack-grid{
    grid-template-columns:1fr;
  }

  .guide-actions{
    width:100%;
    flex-direction:column;
    align-items:stretch;
  }

  .guide-actions .btn{
    width:100%;
  }
}

@media (max-width: 620px){
  .module-thumb-grid,
  .module-archive-grid,
  .module-thumb-grid-compact,
  .module-catalog-grid{
    grid-template-columns:1fr;
  }

  .module-summary-strip{
    grid-template-columns:1fr;
  }

  .module-manager-hero{
    padding:16px;
    gap:14px;
    border-radius:24px;
  }

  .module-manager-hero-stats{
    grid-template-columns:1fr;
  }

  .summary-chip{
    padding:12px 14px;
    border-radius:16px;
  }

  .summary-chip strong{
    font-size:1.2rem;
  }

  .summary-chip span{
    font-size:.84rem;
  }

  .module-archive-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .module-admin-meta,
  .badge-preview-actions,
  .verify-actions,
  .verify-links,
  .badge-preview-links{
    width:100%;
  }

  .module-admin-meta{
    flex-direction:column;
    align-items:flex-start;
  }

  .module-manager-card .module-catalog-media{
    aspect-ratio:16 / 9;
  }

  .module-manager-card .module-catalog-media img{
    object-fit:cover;
    padding:0;
  }

  .module-manager-card .module-card-summary{
    gap:10px;
  }

  .module-manager-card .module-card-summary-copy{
    padding:0 12px 2px;
    gap:10px;
  }

  .module-manager-card .module-card-summary-copy h3{
    font-size:1.02rem;
  }

  .module-card-speaker{
    padding:8px 10px;
    gap:4px;
  }

  .module-card-speaker strong{
    font-size:.88rem;
  }

  .module-manager-card .module-archive-actions,
  .module-manager-card .module-editor-actions-secondary{
    padding:0 12px;
  }

  .module-manager-card .module-archive-actions .module-archive-action,
  .module-manager-card .module-editor-actions-secondary form{
    flex:1 1 100%;
  }

  .module-manager-card .module-card-body{
    padding:0 12px 14px;
  }

  .resource-pill{
    flex-basis:100%;
  }

  .module-thumb-copy{
    padding:0 14px 14px;
  }

  .stat-focus{
    padding:18px;
    border-radius:22px;
  }

  .audit-grid,
  .verify-summary{
    grid-template-columns:1fr;
  }

  .badge-preview-copy,
  .verify-hero,
  .badge-preview-card{
    padding:18px;
    border-radius:22px;
  }

  .badge-preview-frame{
    padding:12px;
    border-radius:22px;
  }

  .module-catalog-card{
    padding:14px;
  }

  .content-studio-shell{
    padding:16px;
  }

  .content-studio-topbar{
    flex-direction:column;
  }

  .content-studio-actions{
    width:100%;
    justify-content:flex-start;
  }

  .content-preview-meta,
  .content-studio-stats{
    grid-template-columns:1fr;
  }

  .content-preview-browser{
    flex-direction:column;
    align-items:flex-start;
  }

  .content-preview-browser-copy span{
    white-space:normal;
  }

  .content-preview-browser-link{
    width:100%;
  }

  .content-section-card{
    padding:18px;
    border-radius:22px;
  }

  .content-section-head{
    flex-direction:column;
  }

  .content-studio-savebar{
    justify-content:stretch;
  }

  .content-studio-savebar .btn{
    width:100%;
  }

  .content-preview-meta{
    grid-template-columns:1fr;
  }

  .content-studio-preview{
    max-height:none;
    padding-right:0;
  }

  .content-studio-stats{
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:minmax(118px, 1fr);
  }

  .content-preview-card,
  .content-preview-banner,
  .content-preview-mini{
    padding:14px;
    border-radius:18px;
  }

  .content-preview-banner h3 strong{
    font-size:1.25rem;
  }

  .content-preview-banner h3 span{
    font-size:.95rem;
  }

  .content-preview-stack{
    gap:10px;
  }

  .content-preview-pagegrid{
    grid-template-columns:1fr;
  }

  .content-preview-mini-wide{
    grid-column:auto;
  }

  .content-preview-list{
    gap:6px;
  }

  .report-list-summary{
    flex-direction:column;
    align-items:stretch;
  }

  .report-list-summary-meta{
    min-width:0;
    text-align:left;
  }

  .report-list-summary-actions{
    justify-content:flex-start;
  }

  .participants-section-summary{
    flex-direction:column;
    align-items:stretch;
  }

  .participants-section-summary-meta{
    min-width:0;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .participants-section-body{
    padding:16px 16px 18px;
  }

  .participants-section-toolbar{
    justify-content:flex-start;
  }

  .report-participant-summary{
    flex-direction:column;
    align-items:stretch;
  }

  .report-participant-summary-main{
    align-items:flex-start;
  }

  .report-participant-summary-main .avatar-lg{
    width:54px;
    height:54px;
  }

  .report-participant-summary-meta{
    grid-template-columns:repeat(2,minmax(0,1fr));
    min-width:0;
  }

  .dashboard-grid-tight{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .repeater-actions{
    width:100%;
    justify-content:flex-start;
  }

  .rich-editor-button{
    min-height:34px;
    padding:0 10px;
  }

  .module-manager-card .module-card-summary{
    grid-template-columns:1fr;
  }

  .module-manager-card .module-card-summary-copy{
    padding:0 12px 2px;
  }

  .module-manager-card .module-card-summary-copy h3{
    font-size:1.04rem;
  }

  .module-manager-card .module-card-speaker{
    padding:8px 10px;
  }

  .module-manager-card .module-archive-actions{
    justify-content:flex-start;
  }

  .module-manager-card .module-archive-actions .module-archive-action,
  .module-manager-card .module-editor-actions-secondary form{
    flex:1 1 100%;
  }
}
