/* ==========================================================================
   Sponsors & Exhibitors (#2932) — CompEdTech 2027 palette, Poppins + Inter.
   Standalone page: Bootstrap 5.3 for form controls only, everything else here.
   ========================================================================== */
:root {
  --brand: #df2531;
  --brand-dark: #b0161f;
  --brand-deep: #7d0d14;
  --brand-soft: #fdecee;
  --brand-tint: #fbd7da;
  --brand-ink: #b0161f;
  --brand-glow: #ff6b74;
  --ink: #14141a;
  --ink-2: #14141a;
  --muted: #5d5d68;
  --muted-2: #8a8a95;
  --line: #e9e9ee;
  --bg: #ffffff;
  --bg-soft: #f7f7fa;
  --dark: #0b0b0e;
  --panel: #1e1e25;
  --gold: #c9a227;
  --silver: #8e99a6;
  --bronze: #a8693a;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --surface: #ffffff;
  --shadow: 0 14px 38px rgba(0, 0, 0, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-border-radius: var(--radius-sm);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(223, 37, 49, .45); outline-offset: 2px;
}
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); color: inherit; }
p { margin: 0; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

.sp-wrap { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 16px; }
.sp-section { padding: 96px 0; }
.sp-soft { background: var(--bg-soft); }
.sp-h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.sp-h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }
.sp-h4 { font-size: 17px; line-height: 1.35; font-weight: 600; }
.sp-head { margin-bottom: 44px; max-width: 680px; }
.sp-head p, .sp-lead { margin-top: 14px; font-size: 17px; line-height: 1.65; color: var(--muted); }

.sp-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-size: 21px;
}
.sp-icon--dark { width: 40px; height: 40px; border-radius: 10px; background: #24242c; color: var(--brand-glow); font-size: 18px; }

/* ---- buttons ---- */
.sp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.sp-btn--sm { padding: 12px 20px; }
.sp-btn--block { width: 100%; }
.sp-btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(223, 37, 49, .25); }
.sp-btn--primary:hover { background: var(--brand-dark); color: #fff; }
.sp-btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.sp-btn--outline:hover { background: var(--brand); color: #fff; }
.sp-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.sp-btn--ghost:hover { background: #fff; color: var(--ink); }
.sp-btn--light { background: #fff; color: var(--brand-deep); }
.sp-btn--light:hover { background: var(--brand-soft); color: var(--brand-deep); }
.sp-btn:disabled { opacity: .7; cursor: progress; }

/* ---- nav ---- */
.sp-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.sp-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.sp-nav__logo img { display: block; width: 172px; height: auto; }
.sp-nav__links { display: flex; gap: 32px; margin-left: auto; }
.sp-nav__links a { color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none; }
.sp-nav__links a:hover { color: var(--brand); }

/* ---- hero: the banner image is the site's red Jakarta skyline + an ICCCE stage photo ---- */
.sp-hero {
  position: relative; color: #fff; background: var(--dark) url(../img/sponsors-banner.jpg) center right / cover no-repeat;
  min-height: 640px; display: flex; align-items: center;
}
.sp-hero__inner { padding-top: 88px; padding-bottom: 88px; }
.sp-hero__meta { font-weight: 500; font-size: 15px; color: #f6a5ab; }
.sp-hero__meta span { margin: 0 8px; opacity: .7; }
.sp-hero__title { margin-top: 18px; font-size: clamp(44px, 6vw, 76px); line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
.sp-hero__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 270px)); gap: 36px; margin-top: 30px; }
.sp-hero__stmt { padding-left: 16px; border-left: 3px solid var(--brand); }
.sp-hero__stmt h2 { font-size: 19px; font-weight: 600; }
.sp-hero__stmt p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: #d0d0d8; }
.sp-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
/* one load moment: the copy rises in once */
@media (prefers-reduced-motion: no-preference) {
  .sp-hero__inner > * { animation: sp-rise .7s cubic-bezier(.16, 1, .3, 1) both; }
  .sp-hero__inner > :nth-child(2) { animation-delay: .06s; }
  .sp-hero__inner > :nth-child(3) { animation-delay: .12s; }
  .sp-hero__inner > :nth-child(4) { animation-delay: .18s; }
}
@keyframes sp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- benefits band (the content doc's hero infographic) ---- */
.sp-gain { background: var(--ink); color: #fff; padding: 56px 0 64px; }
.sp-gain__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; margin-bottom: 32px; }
.sp-gain__top h2 { font-size: 24px; font-weight: 600; }
.sp-gain__top p { color: #9c9ca8; font-size: 15px; }
.sp-gain__list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 20px; }
.sp-gain__list li { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid #34343e; font-weight: 500; font-size: 15px; line-height: 1.45; }
.sp-gain__list i { color: var(--brand-glow); font-size: 24px; line-height: 1; }

/* ---- about ---- */
.sp-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: center; }
.sp-about__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.sp-about__text p { color: var(--muted); line-height: 1.7; }
.sp-about__card { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 40px; }
.sp-about__card > p { margin-top: 18px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.sp-facts { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.sp-facts li { display: flex; gap: 12px; font-weight: 500; font-size: 15px; line-height: 1.5; }
.sp-facts i { color: var(--brand); font-size: 18px; line-height: 1.3; }

/* ---- benefit cards ---- */
.sp-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sp-benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.sp-benefit h3 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.sp-benefit p { color: var(--muted); font-size: 14px; line-height: 1.6; }
.sp-close { margin-top: 44px; display: flex; align-items: center; gap: 32px; }
.sp-close p { flex: 1 1 auto; line-height: 1.65; }

/* ---- why exhibit + who attends ---- */
.sp-why { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; align-items: center; }
.sp-why__text { display: flex; flex-direction: column; align-items: flex-start; }
.sp-checks { margin: 26px 0 30px; display: grid; gap: 16px; }
.sp-checks li { display: flex; gap: 14px; line-height: 1.5; }
.sp-checks i { color: var(--brand); font-size: 20px; line-height: 1.2; }
.sp-attend { background: var(--ink); color: #fff; border-radius: 28px; padding: 44px; }
.sp-attend__list { margin-top: 14px; }
.sp-attend__list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #2c2c36; font-weight: 500; }
.sp-stats { margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sp-stats div { background: var(--panel); border-radius: var(--radius); padding: 18px; }
.sp-stats dt { font: 800 34px/1.1 var(--font-head); color: var(--brand-glow); }
.sp-stats dd { margin: 6px 0 0; color: #b9b9c3; font-size: 13px; line-height: 1.45; }

/* ---- packages: the badge on top is the card's signature ---- */
.sp-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.sp-tier {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 22px; padding: 24px 28px 32px;
}
.sp-tier.is-featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 24px 48px rgba(20, 20, 26, .25); }
.sp-tier__badge { margin: 0 auto 10px; width: 100%; max-width: 300px; }
.sp-tier__badge img { display: block; width: 100%; height: auto; }
.sp-tier__name { font-size: 22px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.sp-tier__name::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--tier); }
.sp-tier--gold { --tier: var(--gold); }
.sp-tier--silver { --tier: var(--silver); }
.sp-tier--bronze { --tier: var(--bronze); }
.sp-tier__sub { margin-top: 6px; font-size: 14px; color: var(--muted); }
.is-featured .sp-tier__sub { color: #b9b9c3; }
.sp-tier__price { margin-top: 18px; font: 800 42px/1.1 var(--font-head); letter-spacing: -.02em; }
.sp-tier__list { margin: 22px 0 28px; padding-top: 20px; border-top: 1px solid var(--line); flex: 1 1 auto; }
.is-featured .sp-tier__list { border-top-color: #2c2c36; }
.sp-tier__list > p { font-weight: 600; font-size: 14px; }
.sp-tier__list ul { margin-top: 12px; display: grid; gap: 12px; }
.sp-tier__list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; }
.sp-tier__list i { color: var(--brand); font-size: 16px; line-height: 1.3; }
.is-featured .sp-tier__list li { color: #e4e4ea; }
.is-featured .sp-tier__list i { color: var(--brand-glow); }

/* ---- why partner ---- */
.sp-partner { background: var(--brand-deep); color: #fff; padding: 80px 0; }
.sp-partner__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 40px; }
.sp-partner__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.sp-partner__list li { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .25); }
.sp-partner__list h3 { font-size: 19px; font-weight: 600; }
.sp-partner__list p { margin-top: 10px; color: #f3c9cc; font-size: 15px; line-height: 1.6; }

/* ---- enquiry form ---- */
.sp-form { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 48px; align-items: start; }
.sp-event { margin-top: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.sp-event dl { margin: 14px 0 0; display: grid; gap: 12px; }
.sp-event dt { font-size: 12px; font-weight: 500; color: var(--muted); }
.sp-event dd { margin: 2px 0 0; font-weight: 500; font-size: 15px; }
.sp-contact { margin-top: 22px; display: grid; gap: 12px; }
.sp-contact li { display: flex; align-items: center; gap: 12px; }
.sp-contact .sp-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 16px; }
.sp-contact a { color: var(--ink); font-weight: 500; text-decoration: none; }
.sp-contact a:hover { color: var(--brand); }
.sp-form__card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: 0 18px 44px rgba(20, 20, 26, .08); }
.sp-form__card fieldset { margin: 0 0 30px; padding: 0; border: 0; min-width: 0; }
.sp-form__card legend { float: none; width: auto; margin-bottom: 16px; padding: 0; font-family: var(--font-head); }
.sp-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.sp-form__card .form-label { font-weight: 600; font-size: 13px; margin-bottom: 7px; }
.sp-form__card .form-control, .sp-form__card .form-select { padding: .7rem .85rem; border-color: #d9d9e0; font-size: 15px; }
.sp-form__card .form-control:focus, .sp-form__card .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(223, 37, 49, .15); }
.req { color: var(--brand); }
.sp-q { font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.sp-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.sp-choice { position: relative; cursor: pointer; }
.sp-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sp-choice span {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 14px;
  border: 1px solid #d9d9e0; border-radius: 999px; background: #fff; font-weight: 500; font-size: 14px;
  transition: border-color .15s, background-color .15s, color .15s;
}
.sp-choice span::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #b9b9c3; background: #fff; transition: border .15s; }
.sp-choice:hover span { border-color: var(--brand-tint); }
.sp-choice input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.sp-choice input:checked + span::before { border: 4.5px solid var(--brand); }
.sp-choice input:focus-visible + span { outline: 3px solid rgba(223, 37, 49, .45); outline-offset: 2px; }
.was-validated .sp-choice input:invalid + span { border-color: #dc3545; }
.sp-form__card .cf-turnstile { margin-bottom: 18px; }

/* ---- other solutions + help ---- */
.sp-solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sp-solutions li { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.sp-solutions h3 { font-size: 19px; font-weight: 600; }
.sp-solutions p { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1 1 auto; }
.sp-solutions a { font-weight: 600; font-size: 15px; }
.sp-help { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 36px 44px; }
.sp-help p { margin-top: 6px; color: #b9b9c3; }
.sp-help__links { display: flex; flex-wrap: wrap; gap: 16px; }
.sp-help__links a { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 12px; background: #24242c; color: #fff; font-weight: 600; text-decoration: none; }
.sp-help__links a:hover { background: #2f2f39; }
.sp-help__links i { color: var(--brand-glow); }

.sp-footer { background: var(--dark); color: #9c9ca8; font-size: 14px; padding: 28px 0; }
.sp-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.sp-footer a { color: #d0d0d8; }

/* ---- responsive ---- */
@media (max-width: 1199px) {
  .sp-gain__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sp-about__grid, .sp-why { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sp-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-form { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 991px) {
  .sp-nav__links { display: none; }
  .sp-tiers { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin: 0 auto; }
  .sp-partner__list, .sp-solutions { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sp-hero { background-position: 14% center; }
  .sp-hero::before { content: ''; position: absolute; inset: 0; background: rgba(11, 11, 14, .62); }
  .sp-hero__inner { position: relative; }
}
@media (max-width: 767px) {
  .sp-section { padding: 64px 0; }
  .sp-hero { min-height: 0; }
  .sp-hero__inner { padding-top: 56px; padding-bottom: 64px; }
  .sp-hero__pair { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sp-gain__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-benefits, .sp-fields { grid-template-columns: minmax(0, 1fr); }
  .sp-close { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sp-attend, .sp-about__card { padding: 28px 22px; }
  .sp-stats { grid-template-columns: minmax(0, 1fr); }
  .sp-form__card { padding: 24px 18px; }
  .sp-help { padding: 28px 22px; }
  .sp-nav__logo img { width: 140px; }
  .sp-nav .sp-btn--sm { padding: 10px 14px; font-size: 14px; }
}

/* ---- shared form pieces, copied from ../../assets/css/style.css (phone field, result banner, dial-code search) ---- */

/* ---- dial code + number, read as one control ---- */
.phone-field { display: flex; gap: 0; }
.phone-field__code {
  flex: 0 0 6.6rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right-color: transparent;
  background-position: right .5rem center;
  padding-right: 1.7rem;
}
.phone-field__number {
  flex: 1 1 auto;
  min-width: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
/* whichever half has focus draws the outline over its neighbour */
.phone-field__code:focus,
.phone-field__number:focus { position: relative; z-index: 2; }
.phone-field__error { font-size: .82rem; }

@media (max-width: 420px) {
  .phone-field { flex-wrap: wrap; }
  .phone-field__code {
    flex: 1 1 100%;
    border-right-color: var(--line);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  .phone-field__number { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
}

/* ---- the banner a handler leaves behind after post/redirect/get ---- */
.form-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid;
  font-size: .95rem;
}
.form-banner:focus { outline: 2px solid var(--brand); outline-offset: 3px; }
.form-banner p { margin: 0; }
.form-banner i { font-size: 1.15rem; line-height: 1.4; flex: 0 0 auto; }
.form-banner.is-ok {
  color: #11643a;
  background: #e8f7ee;
  border-color: #b7e4c9;
}
.form-banner.is-error {
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-color: var(--brand-tint);
}
[data-theme="dark"] .form-banner.is-ok {
  color: #7ee0a6; background: rgba(34, 160, 74, .12); border-color: rgba(34, 160, 74, .35);
}
[data-theme="dark"] .form-banner.is-error {
  color: var(--brand-ink); background: rgba(223, 37, 49, .12); border-color: rgba(223, 37, 49, .35);
}

/* Turnstile renders a fixed-size iframe; this just gives it room */
.cf-turnstile { margin: 4px 0 2px; min-height: 65px; }

/* ---- abstract submission hand-off card ---- */
.abs-cms { text-align: center; }
.abs-cms__ico {
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 1.7rem;
}
.abs-cms .section-lead { margin-inline: auto; margin-bottom: 22px; }
.abs-cms__list {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  text-align: left;
}
.abs-cms__list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-3); }
.abs-cms__list i { color: var(--brand-ink); }
.abs-cms__note { margin: 18px 0 0; font-size: .86rem; color: var(--muted); }


.dialbox { position: relative; flex: 0 0 6.6rem; display: flex; }

/* the native control is replaced by the toggle once JS has run */
.dialbox .dialbox__native {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.dialbox__toggle {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: .55rem .6rem .55rem .75rem;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-right-color: transparent;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s var(--ease);
}
.dialbox__toggle:hover { border-color: var(--brand-tint); }
.dialbox__toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: -1px; z-index: 2; }
.dialbox__toggle b { font-weight: 600; }
.dialbox__toggle i { font-size: .75rem; color: var(--muted-2); }

.dialbox__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 1080;            /* above a Bootstrap modal's 1055 */
  width: 20rem;
  max-width: 78vw;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.dialbox__search {
  width: 100%;
  padding: .5rem .7rem;
  margin-bottom: 8px;
  font-size: .9rem;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.dialbox__search:focus { outline: none; border-color: var(--brand); }

.dialbox__list {
  max-height: 15rem;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dialbox__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: .45rem .6rem;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--ink-3);
  cursor: pointer;
}
.dialbox__item b { flex: 0 0 3.4rem; font-weight: 700; color: var(--brand-ink); }
.dialbox__item span { flex: 1 1 auto; }
.dialbox__item:hover,
.dialbox__item.is-active { background: var(--brand-soft); color: var(--ink-2); }

@media (max-width: 420px) {
  .dialbox { flex: 1 1 100%; }
  .dialbox__toggle { border-right-color: var(--line); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .dialbox__panel { width: 100%; max-width: none; }
}

