/*! Brillen Space · Site Analysis — style.css (the only stylesheet in the app).
 *  Look and type follow meta.brillenspace.com and the form: the red scale, Sora headings, Plus Jakarta Sans text,
 *  red-gradient icon chips and buttons, and titles with a short red rule.
 *  The form itself draws inside its own Shadow DOM, so nothing here can change it. */

/* ───────────── 1. Tokens & base ───────────── */
:root {
  --ink: #1E1614; --head: #07090a; --mut: #6E5F5C; --slate: #5c6871; --faint: #9C8C88;
  --line: rgb(137 11 0 / .1); --line2: rgb(137 11 0 / .18);
  --bg: #fff; --paper: #FBF8F6; --soft: #FCF3F1; --r100: #F8E3DF; --r200: #F0C7C0; --r500: #C4301F; --r600: #A3160A;
  --acc: #890B00; --r800: #5C0700; --hot: #c40000; --rule: #d00000;
  --ok: #16612a; --ok2: #3d6114; --mid: #c58a00; --mid-ink: #7a5200;
  --grad: linear-gradient(110deg, #c40000, #ae0000 60%, #620000);
  --chip: linear-gradient(135deg, #ed0000, #b00000 60%, #780000);
  --head-f: Sora, Outfit, ui-sans-serif, system-ui, sans-serif;
  --body-f: "Plus Jakarta Sans", Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 25.6px;
  --shadow: 0 20px 50px -30px #8c241c;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FBF8F6; color: var(--ink); font: 400 15px/1.5 var(--body-f); }
a { color: var(--acc); }
a:hover { color: var(--hot); }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
[hidden] { display: none !important; }
svg { flex: none; }

/* ───────────── 2. Shared pieces ───────────── */
.bs-logo { display: block; height: 34px; width: auto; fill: var(--acc); }
.bs-logo--lg { height: 46px; }
.bs-kick { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.bs-rule { display: block; width: 4.3rem; height: .3rem; background: var(--rule); margin: 18px 0 14px; }
.bs-tagline { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: .16em; color: var(--slate); }
.bs-lede { margin: 12px 0 0; font-size: 16.5px; line-height: 1.6; color: #63707b; max-width: 560px; }
.bs-muted { color: var(--mut); }
.bs-sub { margin: 3px 0 0; color: #64717d; font-size: 13px; line-height: 1.45; }
h1 em, h2 em { font-style: normal; color: var(--hot); }

.bs-chip {
  flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--chip);
  box-shadow: 0 10px 20px -10px rgb(137 11 0 / .9), inset 0 1px 0 rgb(255 255 255 / .25);
}
.bs-chip svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.bs-chip--lg { width: 53px; height: 53px; border-radius: 19.2px; }
.bs-chip--lg svg { width: 24px; height: 24px; }

.bs-card {
  background: rgba(255, 255, 255, .89); border: 1px solid #f5b6b1; border-radius: var(--radius); box-shadow: var(--shadow); padding: 23px;
}
.bs-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.bs-card h2 { margin: 0; font: 700 21.6px/1.2 var(--head-f); letter-spacing: -.045em; color: var(--head); }

/* Buttons */
.bs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 15px; padding: 11px 18px;
  font-weight: 700; font-size: 14px; line-height: 1.2; color: #fff; background: var(--grad); text-decoration: none; cursor: pointer;
  box-shadow: 6px 6px 16px rgb(137 11 0 / .3), inset 0 1px 0 rgb(255 255 255 / .25);
  transition: filter .18s, transform .16s var(--ease), background .18s;
}
.bs-btn:hover { filter: brightness(1.08); color: #fff; }
.bs-btn:active { transform: translateY(1px); }
.bs-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.bs-btn[disabled] { opacity: .7; cursor: progress; }
.bs-btn--ghost { background: #fff; color: var(--acc); border: 1px solid var(--line2); box-shadow: none; }
.bs-btn--ghost:hover { background: var(--soft); color: var(--acc); filter: none; }
.bs-btn--sm { padding: 7px 12px; font-size: 13px; border-radius: 12px; }
.bs-btn--danger { background: linear-gradient(110deg, #d00000, #8a0000); }
.bs-btn--danger-ghost { color: var(--hot); }
.bs-btn--go { width: 100%; height: 53.6px; border-radius: 16px; font-size: 16px; gap: 10px; box-shadow: 6px 6px 16px rgb(137 11 0 / .35), inset 0 1px 0 rgb(255 255 255 / .25); }
.bs-btn--go svg { width: 18px; height: 18px; stroke-width: 2.2; }
.bs-btn.is-busy span::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid rgb(255 255 255 / .45); border-top-color: #fff; border-radius: 50%; animation: bs-spin .8s linear infinite; }
.bs-link { border: 0; background: none; padding: 4px 0; color: var(--acc); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.bs-link:hover { color: var(--hot); text-decoration: underline; }
.bs-link[disabled] { color: var(--faint); cursor: default; text-decoration: none; }

/* Fields with floating labels, as in the form */
.bs-fld { position: relative; display: block; }
.bs-fld > svg { position: absolute; left: 15px; top: 25px; translate: 0 -50%; width: 16px; height: 16px; fill: none; stroke: var(--acc); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.bs-fld input {
  width: 100%; height: 50px; padding: 18.4px 14.4px 4.8px 40px; border: 1px solid var(--line2); border-radius: 15.2px; background: #fff; color: var(--ink);
  font-size: 16px; font-weight: 500; outline: none; box-shadow: 0 4px 12px rgb(0 0 0 / .03); transition: border-color .18s, box-shadow .18s;
}
.bs-fld input:focus { border-color: var(--hot); box-shadow: 0 0 0 4px rgb(196 0 0 / .1); }
.bs-fld input.is-invalid { border-color: var(--hot); background: var(--soft); }
.bs-fld__lb {
  position: absolute; left: 40px; top: 25px; translate: 0 -50%; font-size: 14.4px; color: var(--mut); pointer-events: none; white-space: nowrap;
  transform-origin: 0 50%; transition: translate .18s var(--ease), scale .18s var(--ease), color .18s;
}
.bs-fld__lb b { color: var(--acc); }
.bs-fld :focus ~ .bs-fld__lb, .bs-fld input:not(:placeholder-shown) ~ .bs-fld__lb { translate: 0 -16.8px; scale: .74; color: var(--acc); font-weight: 700; }
.bs-fld__err { margin: -4px 0 0; color: var(--hot); font-size: 13px; font-weight: 600; }
.bs-fine { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--mut); text-align: center; }
.bs-fine svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Pills, score badges, bars */
.bs-pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; line-height: 1.4; }
.bs-pill--hi { background: #e3f4e6; color: #16612a; }
.bs-pill--ok { background: #eaf3e1; color: #3d6114; }
.bs-pill--mid { background: #fff3d6; color: #7a5200; }
.bs-pill--no { background: var(--r100); color: var(--acc); }
.bs-pill--na { background: #eef0f2; color: var(--slate); }
.bs-score {
  --c: var(--acc); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--r100) 0);
}
.bs-score b { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: #fff; font: 700 13px/1 var(--head-f); color: var(--head); }
.bs-score--hi { --c: #16612a; } .bs-score--ok { --c: #3d6114; } .bs-score--mid { --c: #c58a00; } .bs-score--no { --c: #890b00; }
.bs-meter { display: block; height: 6px; background: var(--r100); border-radius: 3px; overflow: hidden; }
.bs-meter > i { display: block; height: 100%; border-radius: 3px; background: var(--ink); }
.bs-meter--hi { background: #16612a !important; } .bs-meter--mid { background: #d39200 !important; } .bs-meter--no { background: var(--hot) !important; }

@keyframes bs-spin { to { transform: rotate(360deg); } }
@keyframes bs-up { from { opacity: 0; transform: translateY(10px); } }
@keyframes bs-shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); } }

/* ───────────── 3. Top bar (signed-in pages) ───────────── */
.bs-bar {
  position: relative; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 10px clamp(16px, 3.7vw, 68px);
  background: rgb(255 255 255 / .82); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px);
}
.bs-bar__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.bs-bar__brand .bs-logo { height: 26px; }
.bs-bar__app { padding-left: 12px; border-left: 1px solid var(--line2); font: 700 13px/1 var(--head-f); letter-spacing: -.02em; color: var(--slate); }
.bs-bar__nav { display: flex; gap: 4px; margin-left: 8px; }
.bs-bar__nav a {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px; color: var(--mut); font-weight: 700; font-size: 13.5px;
  text-decoration: none; transition: background .18s, color .18s;
}
.bs-bar__nav a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bs-bar__nav a:hover { background: var(--soft); color: var(--acc); }
.bs-bar__nav a.is-active { background: var(--r100); color: var(--acc); }
.bs-bar__user { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.bs-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--chip); color: #fff; font: 700 13px/1 var(--head-f); flex: none; }
.bs-bar__email { font-size: 13px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }

/* ───────────── 4. Sign-in ───────────── */
.bs-auth {
  min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 480px); column-gap: clamp(32px, 6vw, 120px); align-items: center;
  padding: 40px clamp(16px, 3vw, 36px) 40px clamp(16px, 5vw, 96px);
  background: radial-gradient(1100px 600px at 105% -10%, #f8e3df 0, transparent 60%), radial-gradient(800px 500px at -10% 110%, #fcf3f1 0, transparent 60%), #FBF8F6;
}
.bs-auth__intro { animation: bs-up .5s var(--ease) both; }
.bs-auth__intro .bs-logo { margin-bottom: 40px; }
.bs-auth__intro .bs-kick { margin-bottom: 14px; }
.bs-auth__intro h1 { margin: 0; font: 700 46px/1.12 var(--head-f); letter-spacing: -.065em; color: var(--head); }
.bs-auth__intro .bs-rule { margin: 24.8px 0 19.2px; }
.bs-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 600px; }
.bs-points li { display: flex; align-items: center; gap: 12px; padding: 0 16px; border-left: 1px solid var(--line2); }
.bs-points li:first-child { padding-left: 0; border-left: 0; }
.bs-points .bs-chip { width: 40px; height: 40px; border-radius: 50%; }
.bs-points .bs-chip svg { width: 18px; height: 18px; }
.bs-points b { display: block; font: 700 15px/1.25 var(--head-f); letter-spacing: -.03em; color: var(--head); }
.bs-points small { display: block; margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); }
.bs-auth__card { animation: bs-up .55s .08s var(--ease) both; }
.bs-step { display: grid; gap: 12px; }
.bs-step.is-shake { animation: bs-shake .45s both; }
.bs-step__links { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bs-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; margin: 4px 0 2px; padding: 0; border: 0; }
.bs-otp input {
  width: 100%; height: 58px; padding: 0; text-align: center; border: 1px solid var(--line2); border-radius: 15px; background: #fff; color: var(--head);
  font: 700 24px/1 var(--head-f); outline: none; box-shadow: 0 4px 12px rgb(0 0 0 / .03); transition: border-color .18s, box-shadow .18s, background .18s;
  caret-color: var(--hot);
}
.bs-otp input:focus { border-color: var(--hot); box-shadow: 0 0 0 4px rgb(196 0 0 / .1); }
.bs-otp input.is-filled { background: var(--soft); border-color: var(--r200); }
.bs-otp input.is-invalid { border-color: var(--hot); }
.bs-setup { margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; background: #fff3d6; border: 1px solid #f2d48a; color: var(--mid-ink); font-size: 13px; }
.bs-setup ul { margin: 6px 0 0; padding-left: 18px; }

/* ───────────── 5. Submissions page ───────────── */
.bs-main { padding: 28px clamp(16px, 3.7vw, 68px) 48px; animation: bs-up .45s var(--ease) both; }
.bs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.bs-head h1 { margin: 8px 0 0; font: 700 38px/1.1 var(--head-f); letter-spacing: -.055em; color: var(--head); }
.bs-head .bs-rule { margin: 16px 0 10px; }
.bs-head .bs-lede { margin: 0; font-size: 15px; }
.bs-head__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bs-seg { display: inline-flex; padding: 4px; border-radius: 15px; background: #fff; border: 1px solid var(--line2); }
.bs-seg button { border: 0; background: none; padding: 8px 14px; border-radius: 11px; font-weight: 700; font-size: 13.5px; color: var(--mut); cursor: pointer; transition: background .18s, color .18s; }
.bs-seg button.is-on { background: var(--r100); color: var(--acc); }
.bs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.bs-stat {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 16px; border: 1px solid var(--line2); border-radius: 18px; background: #fff;
  transition: transform .18s var(--ease), box-shadow .18s;
}
.bs-stat:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgb(137 11 0 / .45); }
.bs-stat .bs-chip { grid-row: span 3; align-self: start; }
.bs-stat b { font: 700 28px/1.1 var(--head-f); letter-spacing: -.04em; color: var(--head); font-variant-numeric: tabular-nums; }
.bs-stat span { margin-top: 2px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.bs-stat small { margin-top: 2px; font-size: 12px; color: var(--mut); }
.bs-card--table { padding: 18px 20px 14px; }

/* ───────────── 6. jQuery DataTables in Brillen colours ───────────── */
.dt-container { font-size: 14px; color: var(--ink); }
.dt-container .dt-layout-row { margin: 0 0 12px; }
.dt-container .dt-layout-row:last-child { margin: 12px 0 0; }
.dt-container .dt-search input, .dt-container .dt-length select {
  height: 40px; border: 1px solid var(--line2) !important; border-radius: 12px !important; background: #fff; padding: 0 12px !important; color: var(--ink); outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.dt-container .dt-search input { width: min(300px, 70vw); margin-left: 0 !important; padding-left: 36px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23890B00' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 12px 50% / 16px; }
.dt-container .dt-search input:focus, .dt-container .dt-length select:focus { border-color: var(--hot) !important; box-shadow: 0 0 0 4px rgb(196 0 0 / .1); }
.dt-container .dt-length label { margin-left: 6px; color: var(--mut); font-size: 13px; }
.dt-container .dt-layout-start { gap: 12px; flex-wrap: wrap; }
div.dt-container div.dt-buttons { gap: 6px; display: inline-flex; flex-wrap: wrap; }
div.dt-container .dt-buttons > .dt-button, div.dt-buttons > .dt-button, div.dt-buttons > div.dt-button-split .dt-button {
  margin: 0; padding: 8px 14px; border: 1px solid var(--line2); border-radius: 12px; background: #fff; color: var(--acc); font-weight: 700; font-size: 13px; box-shadow: none;
}
div.dt-buttons > .dt-button:hover:not(.disabled), div.dt-buttons > .dt-button:focus:not(.disabled) { background: var(--soft) !important; border-color: var(--r200) !important; color: var(--acc); }
table.dataTable { border-collapse: separate !important; border-spacing: 0; }
table.dataTable > thead > tr > th {
  background: var(--soft); color: var(--acc); font: 800 11px/1.3 var(--body-f); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  border-bottom: 1px solid var(--line2) !important; padding: 12px 12px !important;
}
table.dataTable > thead > tr > th:first-child { border-top-left-radius: 14px; }
table.dataTable > thead > tr > th:last-child { border-top-right-radius: 14px; }
table.dataTable > thead .dt-column-order::before, table.dataTable > thead .dt-column-order::after { color: var(--acc); }
table.dataTable > tbody > tr > td { padding: 12px 12px !important; border-top: 1px solid var(--line) !important; vertical-align: middle; }
table.dataTable > tbody > tr:hover > td { background: #fffaf9; }
table.dataTable.stripe > tbody > tr:nth-child(odd) > *, table.dataTable.display > tbody > tr:nth-child(odd) > * { box-shadow: none; }
table.dataTable.display > tbody > tr > .sorting_1, table.dataTable.display > tbody > tr > .dt-ordering-asc, table.dataTable.display > tbody > tr > .dt-ordering-desc { box-shadow: none !important; }
table.dataTable td.dt-center, table.dataTable th.dt-center { text-align: center; }
.bs-id { font: 700 13px/1 var(--head-f); color: var(--faint); white-space: nowrap; }
.bs-date { white-space: nowrap; color: var(--mut); font-size: 13px; }
.bs-name { font-weight: 700; color: var(--head); }
.bs-tel { white-space: nowrap; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.bs-by { font-size: 13px; color: var(--mut); }
.bs-by small { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--r100); color: var(--acc); font-weight: 800; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.bs-by.is-me { color: var(--ink); font-weight: 600; }
.bs-loc { display: grid; max-width: 320px; font-size: 13px; line-height: 1.4; }
.bs-loc b { color: var(--head); font-size: 13.5px; }
.bs-loc span { color: var(--mut); word-break: break-word; }
.bs-actions { width: 1%; white-space: nowrap; text-align: right; }
.bs-actions__in { display: inline-flex; gap: 6px; }
.bs-icon-btn {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; border: 1px solid var(--line2); background: #fff; color: var(--acc); cursor: pointer;
  transition: background .18s, transform .16s var(--ease), border-color .18s;
}
.bs-icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bs-icon-btn:hover { background: var(--soft); border-color: var(--r200); transform: translateY(-1px); }
.bs-icon-btn--danger { color: var(--hot); }
.bs-icon-btn--danger:hover { background: var(--hot); border-color: var(--hot); color: #fff; }
.dt-container .dt-info { color: var(--mut); font-size: 13px; }
.dt-container .dt-paging .dt-paging-button {
  min-width: 36px; height: 36px; margin-left: 4px !important; padding: 0 10px !important; border-radius: 11px !important; border: 1px solid var(--line2) !important;
  background: #fff !important; color: var(--ink) !important; font-weight: 700;
}
.dt-container .dt-paging .dt-paging-button:hover:not(.disabled) { background: var(--soft) !important; color: var(--acc) !important; border-color: var(--r200) !important; }
.dt-container .dt-paging .dt-paging-button.current, .dt-container .dt-paging .dt-paging-button.current:hover { background: var(--grad) !important; color: #fff !important; border-color: transparent !important; }
.dt-container .dt-paging .dt-paging-button.disabled { opacity: .45; }
div.dt-processing { border-radius: 16px; border: 1px solid var(--line2); box-shadow: var(--shadow); background: #fff; color: var(--acc); font-weight: 700; }
div.dt-processing > div:last-child > div { background: var(--hot); }
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before { border-left-color: var(--hot) !important; }
table.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > td.dtr-control::before { border-top-color: var(--hot) !important; border-left-color: transparent !important; }
table.dataTable > tbody > tr.child ul.dtr-details > li { border-bottom: 1px solid var(--line); padding: 8px 0; }
table.dataTable > tbody > tr.child span.dtr-title { min-width: 120px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
div.dt-button-info { border-radius: 16px; border: 1px solid var(--line2); box-shadow: var(--shadow); }
div.dt-button-info h2 { font: 700 18px var(--head-f); background: var(--soft); color: var(--acc); }

/* ───────────── 7. Toasts (Notyf) ───────────── */
.notyf { font-family: var(--body-f); }
.notyf__toast.bs-toast { max-width: 420px; padding: 0 14px 0 6px; border-radius: 16px; box-shadow: 0 18px 40px -18px rgb(30 22 20 / .55); }
.notyf__toast.bs-toast .notyf__wrapper { padding: 14px 4px; }
.notyf__toast.bs-toast .notyf__message { font-size: 14px; font-weight: 600; line-height: 1.45; }
.notyf__toast.bs-toast .notyf__icon { width: 30px; }
.bs-toast__ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(255 255 255 / .22); color: #fff; font: 800 14px/1 var(--head-f); font-style: normal; }
.notyf__toast.bs-toast .notyf__dismiss-btn { opacity: .55; }
.notyf__toast.bs-toast .notyf__dismiss-btn:hover { opacity: .9; }

/* ───────────── 8. Dialogs (SweetAlert2) ───────────── */
.swal2-container.swal2-backdrop-show { background: rgb(30 22 20 / .45); backdrop-filter: blur(3px); }
.swal2-popup.bs-swal { border-radius: 24px; border: 1px solid #f5b6b1; box-shadow: 0 30px 70px -30px #5c0700; font-family: var(--body-f); color: var(--ink); padding: 1.6em 1.4em 1.4em; }
.bs-swal__title { font: 700 22px/1.25 var(--head-f) !important; letter-spacing: -.04em; color: var(--head) !important; }
.bs-swal__html { font-size: 15px !important; line-height: 1.55 !important; color: var(--mut) !important; }
.bs-swal__html p { margin: 0 0 6px; }
.bs-swal__actions { gap: 10px; margin-top: 1.2em !important; }
.bs-swal__icon.swal2-success { border-color: rgb(22 97 42 / .3) !important; color: #16612a !important; }
.bs-swal__icon.swal2-success [class^="swal2-success-line"] { background-color: #16612a !important; }
.bs-swal__icon.swal2-success .swal2-success-ring { border-color: rgb(22 97 42 / .3) !important; }
.bs-swal__icon.swal2-error { border-color: var(--hot) !important; color: var(--hot) !important; }
.bs-swal__icon.swal2-error [class^="swal2-x-mark-line"] { background-color: var(--hot) !important; }
.bs-swal__icon.swal2-warning { border-color: #d39200 !important; color: #d39200 !important; }
.bs-swal__icon.swal2-question, .bs-swal__icon.swal2-info { border-color: var(--r200) !important; color: var(--acc) !important; }
.swal2-popup.bs-swal .swal2-timer-progress-bar { background: var(--hot); }
.swal2-popup.bs-swal .swal2-loader { border-color: var(--hot) transparent var(--hot) transparent; }
.bs-swal__close { color: var(--mut) !important; font-size: 30px !important; border-radius: 12px; }
.bs-swal__close:hover { color: var(--hot) !important; background: var(--soft) !important; }
.swal2-popup.bs-swal--wide { padding: 0; text-align: left; }
.bs-swal--wide .bs-swal__html { margin: 0 !important; padding: 0 !important; text-align: left; color: var(--ink) !important; }

/* Submission details */
.bs-detail { padding: 26px 28px 24px; max-height: 82vh; overflow: auto; }
.bs-detail h3 { display: flex; align-items: center; gap: 12px; margin: 24px 0 10px; font: 800 16px/1.2 var(--head-f); letter-spacing: -.035em; color: var(--head); }
.bs-detail h3::after { content: ""; flex: 1; height: 1px; background: #df0000; opacity: .7; }
.bs-detail__hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px; border-radius: 20px; border: 1px solid var(--line2); background: linear-gradient(135deg, var(--soft), #fff 70%); }
.bs-detail__place { margin: 8px 0 0; font: 700 28px/1.12 var(--head-f); letter-spacing: -.05em; color: var(--head); }
.bs-detail .bs-rule { margin: 12px 0 10px; }
.bs-detail__addr { margin: 0; color: var(--mut); font-size: 13px; }
.bs-detail__pills { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; font-size: 13px; }
.bs-detail__take { margin: 12px 0 0; font-size: 14.5px; color: var(--ink); max-width: 560px; }
.bs-ring { --c: var(--acc); width: 120px; height: 120px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--r100) 0); box-shadow: 0 18px 40px -24px rgb(137 11 0 / .6); }
.bs-ring > div { width: 94px; height: 94px; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; }
.bs-ring b { font: 700 34px/1 var(--head-f); letter-spacing: -.05em; color: var(--head); }
.bs-ring small { margin-top: 4px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.bs-ring--hi { --c: #16612a; } .bs-ring--ok { --c: #3d6114; } .bs-ring--mid { --c: #c58a00; } .bs-ring--no { --c: #890b00; } .bs-ring--na { --c: var(--r200); }
.bs-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.bs-dl__i { padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; min-width: 0; }
.bs-dl dt { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.bs-dl dd { margin: 3px 0 0; font-size: 14px; color: var(--ink); word-break: break-word; }
.bs-dl dd a { display: inline-flex; align-items: center; gap: 5px; margin-right: 12px; font-weight: 700; text-decoration: none; }
.bs-dl dd a svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bs-note { margin-top: 10px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); font-size: 13px; }
.bs-note--error { border-color: var(--r200); color: var(--acc); }
.bs-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bs-tile { display: grid; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 16px; background: #fff; }
.bs-tile b { font: 700 22px/1.1 var(--head-f); letter-spacing: -.04em; color: var(--head); }
.bs-tile span { margin-top: 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--acc); }
.bs-tile small { font-size: 12px; color: var(--mut); line-height: 1.35; }
.bs-factors, .bs-others { display: grid; gap: 6px; }
.bs-factor { display: grid; grid-template-columns: 180px 1fr 70px; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.bs-factor__n { font: 600 13.5px/1.3 var(--head-f); letter-spacing: -.02em; color: var(--head); }
.bs-factor__n small { display: block; font: 600 10.5px/1.6 var(--body-f); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.bs-factor__f { font-size: 13.5px; }
.bs-factor__s { text-align: right; font: 700 14px/1.2 var(--head-f); color: var(--head); }
.bs-factor__s .bs-meter { margin-top: 5px; height: 5px; }
.bs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bs-list { margin: 0; padding-left: 18px; }
.bs-list li { margin: 4px 0; font-size: 13.5px; }
.bs-list li::marker { color: var(--hot); }
.bs-must { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bs-must li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.bs-must i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; color: #fff; font: 800 13px/1 var(--head-f); font-style: normal; }
.bs-must--ok { background: #16612a; } .bs-must--no { background: var(--chip); } .bs-must--q { background: #d39200; }
.bs-around { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bs-around > div { padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.bs-around > div.is-rival { background: var(--soft); border-color: var(--line2); }
.bs-around h4 { margin: 0 0 6px; font: 700 14px/1.3 var(--head-f); letter-spacing: -.03em; color: var(--head); }
.bs-around .is-rival h4 { color: var(--hot); }
.bs-around h4 small { display: block; font: 600 11.5px/1.5 var(--body-f); letter-spacing: 0; color: var(--mut); }
.bs-around ul { margin: 0; padding-left: 16px; }
.bs-around li { font-size: 13px; margin: 2px 0; }
.bs-other { display: grid; grid-template-columns: 220px 1fr 64px; gap: 12px; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 13.5px; }
.bs-other.is-me { border-color: var(--hot); background: var(--soft); box-shadow: 0 0 0 3px rgb(196 0 0 / .08); }
.bs-other small { margin-left: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--acc); }
.bs-other .bs-meter { height: 8px; }
.bs-other b { text-align: right; font: 700 13.5px var(--head-f); color: var(--head); }
.bs-src { margin: 18px 0 0; font-size: 12px; color: var(--faint); }
.bs-detail__foot { display: flex; justify-content: flex-end; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

/* ───────────── 9. 404 ───────────── */
.bs-empty { min-height: calc(100vh - 60px); display: grid; place-items: center; padding: 24px; }
.bs-empty .bs-card { max-width: 520px; width: 100%; padding: 34px; }
.bs-empty .bs-logo { margin-bottom: 28px; }
.bs-empty h1 { margin: 8px 0 0; font: 700 34px/1.1 var(--head-f); letter-spacing: -.055em; color: var(--head); }
.bs-empty .bs-btn { margin-top: 24px; }

/* ───────────── 10. Smaller screens, motion, print ───────────── */
@media (max-width: 1100px) {
  .bs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-bar__email { max-width: 160px; }
}
@media (max-width: 980px) {
  .bs-auth { grid-template-columns: minmax(0, 1fr); gap: 28px; align-content: start; padding-top: 28px; }
  .bs-auth__intro .bs-logo { margin-bottom: 22px; }
  .bs-auth__intro h1 { font-size: 38px; }
  .bs-auth__card { max-width: 520px; width: 100%; }
}
@media (max-width: 760px) {
  .bs-bar { flex-wrap: wrap; gap: 10px; }
  .bs-bar__app, .bs-bar__email { display: none; }
  .bs-bar__nav { order: 3; width: 100%; margin: 0; }
  .bs-bar__nav a { flex: 1; justify-content: center; }
  .bs-head h1 { font-size: 30px; }
  .bs-detail { padding: 18px; }
  .bs-detail__hero { flex-direction: column; align-items: stretch; }
  .bs-ring { order: -1; align-self: center; }
  .bs-dl, .bs-cols { grid-template-columns: 1fr; }
  .bs-tiles, .bs-around { grid-template-columns: 1fr 1fr; }
  .bs-factor, .bs-other { grid-template-columns: 1fr 64px; }
  .bs-factor__f, .bs-other .bs-meter { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 560px) {
  .bs-auth__intro h1 { font-size: 30px; }
  .bs-auth__intro h1 br { display: none; }
  .bs-tagline { font-size: 16px; }
  .bs-points { grid-template-columns: 1fr; gap: 14px; }
  .bs-points li { padding: 0; border: 0; }
  .bs-card { padding: 18px; border-radius: 18px; }
  .bs-otp { gap: 6px; }
  .bs-otp input { height: 52px; font-size: 21px; border-radius: 12px; }
  .bs-stats { grid-template-columns: 1fr; }
  .bs-head__actions { width: 100%; }
  .bs-tiles, .bs-around { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .bs-bar, .bs-head__actions, .bs-stats, .dt-layout-row:not(.dt-layout-table), .bs-actions { display: none !important; }
  .bs-card { box-shadow: none; border: 0; }
}
