/* Viseu Reanima — painel de administração */
body.admin { background: var(--bg); }
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }

/* Barra lateral */
.sidebar { position: sticky; top: 0; height: 100vh; background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 20px 14px; overflow-y: auto; }
.sidebar-logo { display: block; padding: 6px 10px 22px; }
.sidebar-logo img { height: 30px; width: auto; display: block; }
.side-group { margin-bottom: 18px; }
.side-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #93a5ac; padding: 0 12px; margin-bottom: 6px; }
.side-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; text-decoration: none !important; position: relative; }
.side-link .icon { color: #8aa0a8; }
.side-link:hover { background: var(--bg); color: var(--ink); }
.side-link.active { background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; }
.side-link.active .icon { color: var(--brand); }
.side-link.active::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); }
.side-link .soon { margin-left: auto; font-size: 10.5px; font-weight: 700; color: #93a5ac; background: var(--bg); padding: 2px 8px; border-radius: 99px; letter-spacing: .02em; }
.sidebar-user { margin-top: auto; border-top: 1px solid var(--line); padding: 16px 6px 0; display: flex; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--font-head); flex: none; }
.sidebar-user .who { min-width: 0; flex: 1; }
.sidebar-user .who a { display: block; font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user .who span { font-size: 12px; color: var(--muted); }
.sidebar-user form { margin: 0; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--bg); color: var(--danger); }

/* Área principal */
.scrim { display: none; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: none; }
.content { padding: 32px 40px 60px; max-width: 1280px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.page-head h1 { font-size: 26px; margin: 0; }
.page-head .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.page-head .crumbs a { color: var(--muted); }
.page-head .sub { color: var(--muted); margin: 6px 0 0; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; z-index: 90; transform: translateX(-100%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .scrim { position: fixed; inset: 0; background: rgba(12, 44, 53, .4); z-index: 80; display: none; }
  .scrim.open { display: block; }
  .topbar { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 12px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 70; }
  .topbar img { height: 26px; }
  .content { padding: 22px 16px 48px; }
  .page-head h1 { font-size: 22px; }
}

/* Cartões */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { font-size: 16px; margin: 0; }
.card-body { padding: 22px; }
.card + .card, .stack > * + * { margin-top: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
@media (max-width: 1100px) { .grid-main { grid-template-columns: 1fr; } }
.grid-main > *, .stack > *, .grid-2 > *, .grid-3 > * { min-width: 0; }
@media (max-width: 800px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; position: relative; overflow: hidden; }
.kpi .label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 500; font-size: 13px; }
.kpi .label .icon { color: var(--brand); }
.kpi .value { font: 700 30px/1.15 var(--font-head); margin-top: 8px; letter-spacing: -.02em; }
.kpi .foot { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.kpi.accent { background: var(--grad); border: 0; color: #fff; }
.kpi.accent .label, .kpi.accent .foot, .kpi.accent .label .icon { color: rgba(255, 255, 255, .85); }
@media (max-width: 1100px) { .kpis { grid-template-columns: 1fr 1fr; } }

.meter { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--grad); border-radius: 99px; }

/* Tabelas */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 12px 16px; background: #f8fafb; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fbfcfd; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions form { display: inline; }
.table a.row-link { color: var(--ink); font-weight: 600; }
.table .muted, .muted { color: var(--muted); }
.code-pill { font: 600 13px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: var(--bg); border: 1px solid var(--line); padding: 5px 8px; border-radius: 7px; letter-spacing: .04em; white-space: nowrap; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .icon { color: #b6c5cb; margin-bottom: 8px; }

/* Filtros */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.filters .input { min-height: 38px; padding: 7px 12px; font-size: 14px; width: auto; }
.filters .search { position: relative; flex: 1; min-width: 200px; }
.filters .search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #93a5ac; }
.filters .search .input { width: 100%; padding-left: 38px; }
.tabs { display: flex; gap: 4px; padding: 6px; background: var(--bg); border-radius: 12px; width: fit-content; margin-bottom: 20px; flex-wrap: wrap; }
.tabs a { padding: 8px 16px; border-radius: 9px; color: var(--ink-2); font-weight: 500; font-size: 14px; text-decoration: none; }
.tabs a.active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }
.seg { display: inline-flex; gap: 2px; }
.seg a { padding: 6px 12px; border-radius: 8px; font-size: 13px; color: var(--ink-2); text-decoration: none; }
.seg a.active { background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; }

.pagination { display: flex; gap: 6px; justify-content: center; padding: 18px; flex-wrap: wrap; }
.pagination a, .pagination .gap { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: var(--ink-2); font-weight: 500; text-decoration: none; }
.pagination a:hover { background: var(--bg); }
.pagination a.active { background: var(--grad); color: #fff; }

/* Detalhe da sessão */
.detail-list { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 0; font-size: 14px; }
.detail-list dt { color: var(--muted); }
.detail-list dd { margin: 0; font-weight: 500; }
.qr-box { text-align: center; }
.qr-box .qr { width: 200px; margin: 0 auto 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.qr-box .qr svg { display: block; width: 100%; height: auto; }
.qr-box .class-code { font: 700 26px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .1em; margin-bottom: 4px; }
.state-steps { display: grid; gap: 8px; }
.state-steps form { margin: 0; }
.state-btn { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: 500 14px/1.3 var(--font); color: var(--ink-2); cursor: pointer; text-align: left; }
.state-btn:hover { border-color: var(--brand); }
.state-btn .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--muted); font-weight: 700; font-size: 12px; flex: none; }
.state-btn.current { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; }
.state-btn.current .dot { background: var(--grad); color: #fff; }
.state-btn.done .dot { background: var(--success-tint); color: var(--success); }

.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px; background: var(--bg); font-size: 13px; color: var(--ink-2); }
.split-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.split-stats > div { padding: 14px 16px; border-right: 1px solid var(--line); }
.split-stats > div:last-child { border-right: 0; }
.split-stats strong { display: block; font: 700 22px/1.2 var(--font-head); }
.split-stats span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 700px) { .split-stats { grid-template-columns: 1fr 1fr; } .split-stats > div:nth-child(2) { border-right: 0; } }

/* Formulários do painel */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.check-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.check-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; }
.check-card:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.check-card input { accent-color: var(--brand); width: 17px; height: 17px; }
.form-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid var(--line); background: #fbfcfd; border-radius: 0 0 var(--radius) var(--radius); }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form .input { min-height: 38px; width: 90px; }

.secret { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--petrol); color: #fff; font: 600 18px/1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .06em; margin: 10px 0; }
.danger-zone { border-color: #f3caca; }
.danger-zone .card-head { background: #fff8f8; border-radius: var(--radius) var(--radius) 0 0; }

/* Diálogos */
dialog.modal { border: 0; border-radius: 18px; padding: 0; width: min(440px, calc(100% - 32px)); box-shadow: var(--shadow-lg); }
dialog.modal::backdrop { background: rgba(12, 44, 53, .45); backdrop-filter: blur(3px); }
.modal-body { padding: 26px; }
.modal-body h3 { font-size: 18px; margin-bottom: 8px; }
.modal-body p { color: var(--muted); margin-bottom: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 26px 22px; }

/* Página "brevemente" */
.soon-hero { text-align: center; padding: 64px 24px; }
.soon-hero .ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 20px; background: var(--brand-tint); color: var(--brand-dark); }
.soon-hero p { max-width: 560px; margin: 0 auto; color: var(--muted); }

/* Entrar */
body.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-side { background: var(--grad); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 48px; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -180px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .09); }
.auth-side img { width: 260px; position: relative; z-index: 1; }
.auth-side h2 { font-size: 30px; position: relative; z-index: 1; max-width: 420px; }
.auth-side p { color: rgba(255, 255, 255, .85); position: relative; z-index: 1; max-width: 420px; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-box { width: 100%; max-width: 380px; }
.auth-box h1 { font-size: 26px; margin-bottom: 6px; }
.auth-box .sub { color: var(--muted); margin-bottom: 28px; }
.auth-box .mobile-logo { display: none; height: 32px; margin-bottom: 28px; }
@media (max-width: 860px) { body.auth { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-box .mobile-logo { display: block; } }

/* Definições > Imagens */
.img-slots { display: grid; gap: 14px; margin-bottom: 14px; }
.img-slot { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.img-preview { height: 110px; border-radius: 10px; display: grid; place-items: center; padding: 12px; background: repeating-conic-gradient(#f1f4f5 0% 25%, #fff 0% 50%) 50% / 16px 16px; border: 1px solid var(--line); }
.img-preview.dark { background: var(--grad); }
.img-preview.small img { width: 64px; height: 64px; object-fit: contain; }
.img-preview img { max-width: 100%; max-height: 86px; object-fit: contain; }
@media (max-width: 700px) { .img-slot { grid-template-columns: 1fr; } }

/* Questionários */
.add-q { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.q-list { list-style: none; margin: 0; padding: 0; }
.q-row { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.q-row:last-child { border-bottom: 0; }
.q-row.is-section { background: #f6fafb; border-left: 4px solid var(--brand); padding-left: 18px; }
.q-row.is-section strong { font-family: var(--font-head); color: var(--brand-dark); }
.q-row:target { background: var(--brand-tint); }
.q-row-main { min-width: 0; flex: 1; }
.q-row-text { font-size: 14.5px; line-height: 1.45; }
.q-num { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--bg); font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.q-row-actions { display: flex; gap: 2px; flex: none; }
.q-row-actions form { margin: 0; }
.q-row-actions .icon-btn { font-size: 16px; font-weight: 700; }
.q-row-actions .icon-btn:hover { color: var(--brand-dark); }
.q-row-actions .icon-btn.danger:hover, .icon-btn.danger:hover { color: var(--danger); }
.q-row-actions .icon-btn[disabled] { opacity: .3; pointer-events: none; }
.chip-ok { background: var(--success-tint); color: var(--success); font-weight: 600; }
.opt-head, .opt-row { display: grid; grid-template-columns: 1fr 80px 56px 36px; gap: 8px; align-items: center; }
.opt-head.items, .opt-row.items { grid-template-columns: 1fr 120px 72px 36px; }
.opt-head { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.opt-row { margin-bottom: 8px; }
.opt-row .input { min-height: 40px; padding: 8px 12px; }
.opt-correct { display: grid; place-items: center; }
.opt-correct input { width: 20px; height: 20px; accent-color: var(--success); }
@media (max-width: 600px) { .opt-head { display: none; } .opt-row, .opt-row.items { grid-template-columns: 1fr 64px 40px 32px; } }
.qstats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.qstats div { background: var(--bg); border-radius: 10px; padding: 10px 12px; }
.qstats strong { display: block; font: 700 20px/1.2 var(--font-head); }
.qstats span { font-size: 12px; color: var(--muted); }

/* Estatísticas */
.st-filters { padding: 12px 14px; border-bottom: 0; }
.st-stack { display: flex; gap: 2px; height: 30px; width: 100%; }
.st-stack.big { height: 40px; }
.st-seg { display: flex; align-items: center; justify-content: center; min-width: 2px; height: 100%; font-size: 12px; overflow: hidden; white-space: nowrap; cursor: default; }
.st-seg:first-child { border-radius: 4px 0 0 4px; }
.st-seg:last-child { border-radius: 0 4px 4px 0; }
.st-seg:only-child { border-radius: 4px; }
.st-seg b { font-weight: 600; font-variant-numeric: tabular-nums; }
.st-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--ink-2); }
.st-legend span { display: inline-flex; align-items: center; gap: 7px; }
.st-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.st-legend i.dot { border-radius: 50%; }
.st-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; margin-bottom: 10px; }
.st-row-label { font-weight: 600; font-size: 14px; display: flex; flex-direction: column; }
.st-row-label small { font-weight: 400; color: var(--muted); font-size: 12px; }
.st-table td, .st-table th { padding: 10px 16px; }
.delta-up { color: #006300; font-weight: 600; }
.st-dumbbell { display: grid; gap: 4px; }
.st-db-axis, .st-db-row { display: grid; grid-template-columns: minmax(180px, 38%) 1fr 104px; gap: 16px; align-items: center; }
.st-db-ticks { position: relative; height: 18px; border-bottom: 1px solid var(--line-2); }
.st-db-ticks i { position: absolute; transform: translateX(-50%); font-style: normal; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.st-db-ticks i:first-child { transform: none; } .st-db-ticks i:last-child { transform: translateX(-100%); }
.st-db-row { padding: 7px 0; border-bottom: 1px solid var(--line); }
.st-db-row:last-child { border-bottom: 0; }
.st-db-row:hover { background: #fbfcfd; }
.st-db-label { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-db-track { position: relative; height: 22px; background: linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / 25% 100%; border-right: 1px solid var(--line); }
.st-db-line { position: absolute; top: 50%; height: 2px; margin-top: -1px; background: #9ec5f4; }
.st-db-dot { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; }
.st-db-dot.pre { background: #86b6ef; }
.st-db-dot.pos { background: #1c5cab; }
.st-db-val { font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
@media (max-width: 800px) { .st-db-axis, .st-db-row { grid-template-columns: 1fr 86px; } .st-db-label { grid-column: 1 / -1; white-space: normal; } .st-db-axis > span:first-child { display: none; } }
.st-likert { display: grid; gap: 6px; }
.st-lk-row { display: grid; grid-template-columns: minmax(200px, 36%) 1fr; gap: 16px; align-items: center; padding: 6px 0; }
.st-lk-label { font-size: 13.5px; color: var(--ink-2); display: flex; flex-direction: column; gap: 2px; }
.st-lk-label small { color: var(--muted); font-size: 12px; }
.st-lk-track { position: relative; height: 30px; }
.st-lk-mid { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--ink-2); opacity: .35; }
.st-lk-bar { position: absolute; top: 0; bottom: 0; display: flex; gap: 2px; }
@media (max-width: 800px) { .st-lk-row { grid-template-columns: 1fr; gap: 6px; } }
.st-char { display: grid; gap: 18px; }
.st-char-title { font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.st-hbar { display: grid; grid-template-columns: minmax(90px, 34%) 1fr 44px; gap: 10px; align-items: center; font-size: 13px; padding: 2px 0; }
.st-hbar-l { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-hbar-t { height: 12px; background: var(--bg); border-radius: 0 4px 4px 0; }
.st-hbar-t i { display: block; height: 100%; background: #2a78d6; border-radius: 0 4px 4px 0; }
.st-hbar-v { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.st-tip { position: fixed; z-index: 200; pointer-events: none; background: var(--petrol); color: #fff; font-size: 12.5px; padding: 7px 10px; border-radius: 8px; box-shadow: var(--shadow); max-width: 280px; }
[data-tip] { cursor: default; }

@media print {
  .sidebar, .topbar, .scrim, .no-print, .alert { display: none !important; }
  .app { display: block; }
  .content { padding: 0; max-width: none; }
  body.admin { background: #fff; }
  .card, .kpi { break-inside: avoid; box-shadow: none; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Website */
.md-editor { border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.md-editor:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(0, 153, 187, .14); }
.md-toolbar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; background: #f8fafb; border-bottom: 1px solid var(--line); }
.md-toolbar button, .md-upload { display: inline-flex; align-items: center; gap: 5px; min-width: 34px; height: 32px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; font: 600 13px var(--font); color: var(--ink-2); cursor: pointer; }
.md-toolbar button:hover, .md-upload:hover { background: #fff; box-shadow: var(--shadow-sm); color: var(--brand-dark); }
.md-text { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; font: 400 15px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace !important; min-height: 420px !important; }
.md-help { margin-top: 8px; font-size: 13px; color: var(--muted); }
.md-help summary { cursor: pointer; font-weight: 600; }
.md-help code { background: var(--bg); padding: 1px 6px; border-radius: 5px; font-size: 12px; }
.partner-thumb { width: 96px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 6px; background: #fff; flex: none; }
.partner-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.form-section { font-size: 15px; margin: 24px 0 14px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--brand-dark); }
.form-section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.feature-edit { background: var(--bg); border-radius: 12px; padding: 14px; }
