/* BARBAROS — account-center.css (batch 7): the account layer.
   One language for four surfaces: the credits popover, the settings center (rail + pages),
   "Découvrir Barbaros" and the announcement dialog. Quiet monochrome rows, hairline separations,
   one accent for the action. Class namespace `sc-*`; names avoid the legacy painter substrings
   (card, -chip, -tag, badge, status, pill, -box, -tile, -block, -list, -label, -modal). */

html.sc-lock body { overflow: hidden !important; }

/* ── shared atoms ────────────────────────────────────────────────────────── */
html[data-buld-theme] .sc-scrim { position: absolute; inset: 0; background: var(--bx-scrim, rgba(15, 23, 42, .45)); opacity: 0; transition: opacity 200ms var(--bx-ease); }
html[data-buld-theme] body .sc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 14px; margin: 0; border-radius: 10px; border: 1px solid var(--buld-divider); background: var(--buld-elevated-2); color: var(--buld-ink-1); font: inherit; font-size: 13px; font-weight: 600; letter-spacing: -.01em; line-height: 1; cursor: pointer; white-space: nowrap; text-decoration: none; box-shadow: none; transition: background var(--bx-dur-hover) var(--bx-ease), border-color var(--bx-dur-hover) var(--bx-ease), transform var(--bx-dur-hover) var(--bx-ease); }
html[data-buld-theme="dark"] body .sc-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
html[data-buld-theme] body .sc-btn:hover { border-color: var(--buld-ink-4); }
html[data-buld-theme="dark"] body .sc-btn:hover { background: rgba(255, 255, 255, .13); }
html[data-buld-theme] body .sc-btn:active { transform: scale(.98); }
html[data-buld-theme] body .sc-btn svg, html[data-buld-theme] body .sc-btn i { width: 15px; height: 15px; }
html[data-buld-theme] body .sc-btn--solid { background: var(--buld-ink-1); border-color: var(--buld-ink-1); color: var(--buld-page); }
html[data-buld-theme] body .sc-btn--solid:hover { background: var(--buld-ink-2); border-color: var(--buld-ink-2); }
html[data-buld-theme="dark"] body .sc-btn--solid { background: #fff; border-color: #fff; color: #141416; }
html[data-buld-theme="dark"] body .sc-btn--solid:hover { background: #E8E8ED; border-color: #E8E8ED; }
html[data-buld-theme] body .sc-btn--sm { height: 29px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }
html[data-buld-theme] body .sc-btn--lg { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 11px; }
html[data-buld-theme] body .sc-link { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 8px; margin: 0; border: 0; border-radius: 7px; background: transparent; color: var(--buld-cta); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; box-shadow: none; }
html[data-buld-theme] body .sc-link:hover { background: var(--buld-cta-soft); }
/* collision — buld-theme paints every button[class*="-danger"] as a filled red pill with !important
   at specificity (0,4,3); this selector outranks it at (0,5,3) */
html[data-buld-theme] body button.sc-link.sc-link--danger:not(.bx-btn):not(.ap-account-item) { background: transparent !important; color: var(--buld-danger) !important; border: 0 !important; border-radius: 7px !important; }
html[data-buld-theme] body button.sc-link.sc-link--danger:not(.bx-btn):not(.ap-account-item):hover { background: var(--buld-danger-soft) !important; }
html[data-buld-theme] .sc-hint { font-size: 12px; color: var(--buld-ink-4); font-weight: 500; }
html[data-buld-theme] .sc-help { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--buld-ink-4); color: var(--buld-ink-4); font-size: 10px; font-weight: 700; font-style: normal; cursor: help; flex-shrink: 0; }
html[data-buld-theme] .sc-code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; padding: 1px 5px; border-radius: 5px; background: var(--buld-elevated); color: var(--buld-ink-2); }
html[data-buld-theme="dark"] .sc-code { background: rgba(255, 255, 255, .09); color: var(--buld-ink-1); }
html[data-buld-theme] body .sc-pre { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--buld-hairline); background: var(--buld-surface-2); color: var(--buld-ink-2); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; line-height: 1.55; overflow-x: auto; white-space: pre; }
html[data-buld-theme="dark"] body .sc-pre { background: rgba(0, 0, 0, .25); border-color: rgba(255, 255, 255, .08); }
html[data-buld-theme] body .sc-note { margin: 10px 2px 0; font-size: 12.5px; line-height: 1.5; color: var(--buld-ink-3); }
html[data-buld-theme] .sc-skel { height: 120px; border-radius: 14px; background: linear-gradient(90deg, var(--buld-elevated) 25%, var(--buld-hover) 50%, var(--buld-elevated) 75%); background-size: 200% 100%; animation: scSk 1.2s linear infinite; }
html[data-buld-theme="dark"] .sc-skel { background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.05) 75%); background-size: 200% 100%; }
@keyframes scSk { to { background-position: -200% 0; } }
html[data-buld-theme] .sc-avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #1E8BFF, #0B5ED7); color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0; background-size: cover; background-position: center; }
html[data-buld-theme] .sc-avatar--sm { width: 26px; height: 26px; font-size: 12px; }
html[data-buld-theme] .sc-avatar--lg { width: 44px; height: 44px; font-size: 18px; border-radius: 12px; }
html[data-buld-theme] .sc-avatar--xl { width: 56px; height: 56px; font-size: 22px; }
html[data-buld-theme] .sc-avatar--store { border-radius: 9px; background: var(--buld-ink-1); color: var(--buld-page); }
html[data-buld-theme="dark"] .sc-avatar--store { background: rgba(255, 255, 255, .14); color: #fff; }
html[data-buld-theme] .sc-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-inline-end: 2px; flex-shrink: 0; }
html[data-buld-theme] .sc-dot--ok { background: var(--buld-success); }
html[data-buld-theme] .sc-dot--wait { background: var(--buld-warning); }
html[data-buld-theme] .sc-dot--check { background: var(--buld-cta); }
html[data-buld-theme] .sc-dot--off { background: var(--buld-ink-4); }
html[data-buld-theme] .sc-state { color: var(--buld-ink-3); }
html[data-buld-theme] .sc-state .sc-dot { vertical-align: 1px; margin-inline-end: 5px; }
html[data-buld-theme] .sc-kicker { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--buld-cta); }
html[data-buld-theme] .sc-kicker--solid { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--buld-cta-soft); }

/* inputs */
html[data-buld-theme] body input.sc-input { height: 36px; padding: 0 12px; margin: 0; border: 1px solid var(--buld-divider) !important; border-radius: 10px !important; background: var(--buld-elevated-2) !important; color: var(--buld-ink-1) !important; font: inherit; font-size: 13.5px; outline: none !important; box-shadow: none !important; width: 100%; min-width: 0; transition: border-color var(--bx-dur-hover) var(--bx-ease), box-shadow var(--bx-dur-hover) var(--bx-ease); }
html[data-buld-theme="dark"] body input.sc-input { background: rgba(255, 255, 255, .06) !important; border-color: rgba(255, 255, 255, .16) !important; color: #fff !important; }
html[data-buld-theme] body input.sc-input:focus { border-color: var(--buld-cta) !important; box-shadow: 0 0 0 3px var(--buld-cta-soft) !important; }
html[data-buld-theme] body input.sc-input--lg { height: 42px; font-size: 15px; font-weight: 600; }
html[data-buld-theme] body select.sc-select { height: 34px; padding: 0 30px 0 12px; margin: 0; border: 1px solid var(--buld-divider); border-radius: 10px; background: var(--buld-elevated-2); color: var(--buld-ink-1); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
html[data-buld-theme="dark"] body select.sc-select { background-color: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #fff; }
html[data-buld-theme] .sc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
html[data-buld-theme] body .sc-field > label { font-size: 12px; font-weight: 600; color: var(--buld-ink-3); }
html[data-buld-theme] .sc-inline { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
html[data-buld-theme] .sc-inline .sc-input { max-width: 260px; }

/* segmented + toggle */
html[data-buld-theme] .sc-seg { display: inline-flex; padding: 2px; border-radius: 9px; background: var(--buld-elevated); gap: 2px; flex-wrap: wrap; }
html[data-buld-theme="dark"] .sc-seg { background: rgba(255, 255, 255, .07); }
html[data-buld-theme] body .sc-seg button { height: 27px; padding: 0 12px; margin: 0; border: 0; border-radius: 7px; background: transparent; color: var(--buld-ink-3); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; box-shadow: none; white-space: nowrap; }
html[data-buld-theme] body .sc-seg button.on { background: var(--buld-elevated-2); color: var(--buld-ink-1); box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
html[data-buld-theme="dark"] body .sc-seg button.on { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }
html[data-buld-theme] body .sc-toggle { position: relative; width: 40px; height: 24px; padding: 0; margin: 0; border: 0; border-radius: 999px; background: var(--buld-divider); cursor: pointer; transition: background var(--bx-dur-hover) var(--bx-ease); box-shadow: none; flex-shrink: 0; }
html[data-buld-theme="dark"] body .sc-toggle { background: rgba(255, 255, 255, .22); }
html[data-buld-theme] body .sc-toggle i { position: absolute; top: 2px; inset-inline-start: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform var(--bx-dur-hover) var(--bx-ease); }
html[data-buld-theme] body .sc-toggle.on { background: var(--buld-cta); }
html[data-buld-theme] body .sc-toggle.on i { transform: translateX(16px); }
html[dir="rtl"][data-buld-theme] body .sc-toggle.on i { transform: translateX(-16px); }

/* rows */
html[data-buld-theme] .sc-rows { border: 1px solid var(--buld-hairline); border-radius: 14px; background: var(--buld-elevated-2); overflow: hidden; }
html[data-buld-theme="dark"] .sc-rows { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .09); }
html[data-buld-theme] .sc-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px; border-top: 1px solid var(--buld-hairline); }
html[data-buld-theme="dark"] .sc-row { border-color: rgba(255, 255, 255, .07); }
html[data-buld-theme] .sc-row:first-child, html[data-buld-theme] .sc-rows > .sc-row:first-of-type { border-top: 0; }
html[data-buld-theme] .sc-row__i { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--buld-elevated); color: var(--buld-ink-2); }
html[data-buld-theme="dark"] .sc-row__i { background: rgba(255, 255, 255, .08); color: var(--buld-ink-1); }
html[data-buld-theme] .sc-row__i svg { width: 16px; height: 16px; }
html[data-buld-theme] .sc-row__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
html[data-buld-theme] .sc-row__t b { font-size: 13.5px; font-weight: 600; letter-spacing: -.01em; color: var(--buld-ink-1); overflow-wrap: anywhere; }
html[data-buld-theme] .sc-row__t span { font-size: 12.5px; line-height: 1.45; color: var(--buld-ink-3); overflow-wrap: anywhere; }
html[data-buld-theme] .sc-row__t em { font-style: normal; color: var(--buld-ink-4); }
html[data-buld-theme] .sc-row__a { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
html[data-buld-theme] .sc-row--info { border: 1px solid var(--buld-hairline); border-radius: 14px; background: var(--buld-surface-2); margin-bottom: 16px; }
html[data-buld-theme="dark"] .sc-row--info { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); }
html[data-buld-theme] .sc-row.is-off .sc-row__t b, html[data-buld-theme] .sc-row.is-off .sc-row__i { opacity: .55; }
html[data-buld-theme] .sc-sec { margin-top: 26px; }
html[data-buld-theme] .sc-sec:first-child { margin-top: 0; }
html[data-buld-theme] .sc-sec__h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 2px 10px; min-height: 28px; }
html[data-buld-theme] body .sc-sec__h h3 { margin: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; letter-spacing: -.015em; color: var(--buld-ink-1); }
html[data-buld-theme] .sc-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 44px 20px; border: 1px dashed var(--buld-divider); border-radius: 14px; }
html[data-buld-theme="dark"] .sc-empty { border-color: rgba(255, 255, 255, .14); }
html[data-buld-theme] .sc-empty > svg { width: 30px; height: 30px; color: var(--buld-ink-4); margin-bottom: 4px; }
html[data-buld-theme] .sc-empty b { font-size: 14.5px; font-weight: 600; color: var(--buld-ink-1); }
html[data-buld-theme] .sc-empty span { max-width: 420px; font-size: 12.5px; line-height: 1.5; color: var(--buld-ink-3); }
html[data-buld-theme] .sc-empty .sc-btn { margin-top: 8px; }
html[data-buld-theme] .sc-tabs { display: inline-flex; padding: 2px; border-radius: 9px; background: var(--buld-elevated); gap: 2px; margin-bottom: 16px; }
html[data-buld-theme="dark"] .sc-tabs { background: rgba(255, 255, 255, .07); }
html[data-buld-theme] body .sc-tabs button { height: 28px; padding: 0 13px; margin: 0; border: 0; border-radius: 7px; background: transparent; color: var(--buld-ink-3); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; box-shadow: none; }
html[data-buld-theme] body .sc-tabs button.on { background: var(--buld-elevated-2); color: var(--buld-ink-1); box-shadow: 0 1px 2px rgba(15, 23, 42, .12); }
html[data-buld-theme="dark"] body .sc-tabs button.on { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; }

/* credits summary (shared by the account page, usage page and popover) */
html[data-buld-theme] .sc-plan { border: 1px solid var(--buld-hairline); border-radius: 14px; background: var(--buld-elevated-2); padding: 16px 18px 14px; margin-top: 18px; }
html[data-buld-theme="dark"] .sc-plan { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .09); }
html[data-buld-theme] .sc-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
html[data-buld-theme] body .sc-plan__head h3 { margin: 0; font-family: var(--buld-font-display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: var(--buld-ink-1); }
html[data-buld-theme] .sc-plan__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--buld-hairline); }
html[data-buld-theme="dark"] .sc-plan__row { border-color: rgba(255, 255, 255, .07); }
html[data-buld-theme] .sc-plan__k { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--buld-ink-1); }
html[data-buld-theme] .sc-plan__k svg { width: 15px; height: 15px; color: var(--buld-ink-2); }
html[data-buld-theme] .sc-plan__row > b { font-size: 15px; font-weight: 700; color: var(--buld-ink-1); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
html[data-buld-theme] .sc-plan__sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 3px; font-size: 12px; color: var(--buld-ink-3); }
html[data-buld-theme] .sc-plan__sub > span:last-child { font-variant-numeric: tabular-nums; color: var(--buld-ink-4); }
html[data-buld-theme] .sc-plan.is-low .sc-plan__row:first-of-type > b { color: var(--buld-danger); }

/* ledger */
html[data-buld-theme] .sc-ledgers { display: flex; flex-direction: column; }
html[data-buld-theme] .sc-day { margin: 18px 2px 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--buld-ink-4); }
html[data-buld-theme] .sc-ledgers .sc-day:first-child { margin-top: 2px; }
html[data-buld-theme] .sc-ledger { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 42px; padding: 6px 2px; border-bottom: 1px solid var(--buld-hairline); }
html[data-buld-theme="dark"] .sc-ledger { border-color: rgba(255, 255, 255, .06); }
html[data-buld-theme] .sc-ledger__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html[data-buld-theme] .sc-ledger__t span { font-size: 13.5px; color: var(--buld-ink-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-buld-theme] .sc-ledger__t small { font-size: 11.5px; color: var(--buld-ink-3); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-buld-theme] .sc-ledger.is-pend .sc-ledger__t small { color: var(--buld-warning); font-weight: 600; }
html[data-buld-theme] .sc-ledger.is-back .sc-amt { text-decoration: line-through; opacity: .55; }
html[data-buld-theme] .sc-amt { font-size: 13.5px; font-weight: 600; color: var(--buld-ink-1); font-variant-numeric: tabular-nums; flex-shrink: 0; }
html[data-buld-theme] .sc-amt.is-pos { color: var(--buld-success); }
html[data-buld-theme="light"] .sc-amt.is-pos { color: #0E8A4A; }
html[data-buld-theme] .sc-amt.is-pend { opacity: .55; }

/* keys */
html[data-buld-theme] .sc-keyreveal { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--buld-cta); background: var(--buld-cta-soft); }
html[data-buld-theme] .sc-keyreveal code { flex: 1; min-width: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; font-weight: 600; color: var(--buld-ink-1); overflow-wrap: anywhere; }
html[data-buld-theme] .sc-newkey { padding: 14px 16px; border: 1px solid var(--buld-hairline); border-radius: 14px; background: var(--buld-elevated-2); margin-bottom: 16px; }
html[data-buld-theme="dark"] .sc-newkey { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .09); }
html[data-buld-theme] .sc-form { padding: 16px; border: 1px solid var(--buld-hairline); border-radius: 14px; background: var(--buld-elevated-2); margin-bottom: 16px; display: grid; gap: 14px; }
html[data-buld-theme="dark"] .sc-form { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .09); }
html[data-buld-theme] .sc-form__a { display: flex; align-items: center; gap: 10px; }
html[data-buld-theme] .sc-scopes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; }
html[data-buld-theme] .sc-chk { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--buld-ink-2); cursor: pointer; padding: 5px 2px; }
html[data-buld-theme] body .sc-chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
html[data-buld-theme] .sc-chk i { width: 16px; height: 16px; flex-shrink: 0; border-radius: 5px; border: 1.5px solid var(--buld-divider); position: relative; transition: background var(--bx-dur-hover) var(--bx-ease), border-color var(--bx-dur-hover) var(--bx-ease); }
html[data-buld-theme] .sc-chk input:checked + i { background: var(--buld-cta); border-color: var(--buld-cta); }
html[data-buld-theme] .sc-chk input:checked + i::after { content: ''; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
html[data-buld-theme] .sc-keys { display: inline-flex; align-items: center; gap: 4px; }
html[data-buld-theme] .sc-keys i { font-style: normal; color: var(--buld-ink-4); font-size: 11px; }
html[data-buld-theme] .sc-kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 7px; border-radius: 6px; border: 1px solid var(--buld-divider); border-bottom-width: 2px; background: var(--buld-elevated-2); color: var(--buld-ink-2); font-family: inherit; font-size: 11.5px; font-weight: 600; }
html[data-buld-theme="dark"] .sc-kbd { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
html[data-buld-theme] .sc-row--key { min-height: 46px; padding-block: 8px; }

/* profile + store heads */
html[data-buld-theme] .sc-profile { display: flex; align-items: center; gap: 16px; padding: 4px 2px 2px; }
html[data-buld-theme] .sc-profile .sc-field { flex: 1; max-width: 420px; }
html[data-buld-theme] body .sc-logout { margin-inline-start: auto; width: 36px; height: 36px; color: var(--buld-ink-3); }
html[data-buld-theme] .sc-store { display: flex; align-items: center; gap: 14px; padding: 2px; flex-wrap: wrap; }
html[data-buld-theme] .sc-store__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
html[data-buld-theme] .sc-store__t b { font-size: 16px; font-weight: 700; letter-spacing: -.015em; color: var(--buld-ink-1); }
html[data-buld-theme] .sc-store__t span { font-size: 12.5px; color: var(--buld-ink-3); }
html[data-buld-theme] .sc-store__a { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ── the settings center shell ───────────────────────────────────────────── */
html[data-buld-theme] .sc { position: fixed; inset: 0; z-index: var(--p-z-modal, 140); display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; pointer-events: none; transition: visibility 0s linear 220ms; }
html[data-buld-theme] .sc.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
html[data-buld-theme] .sc.is-open .sc-scrim { opacity: 1; }
html[data-buld-theme] .sc-dialog { position: relative; display: flex; width: min(1080px, 100%); height: min(720px, calc(100vh - 48px)); border-radius: 18px; overflow: hidden; background: var(--p-card-bg); border: 1px solid var(--p-card-border); box-shadow: var(--bx-shadow-3, 0 24px 64px rgba(15, 23, 42, .35)); opacity: 0; transform: translateY(10px) scale(.985); transition: opacity 220ms var(--bx-ease), transform 220ms var(--bx-ease); }
html[data-buld-theme] .sc.is-open .sc-dialog { opacity: 1; transform: none; }
html[data-buld-theme] .sc-side { display: flex; flex-direction: column; width: 264px; flex-shrink: 0; padding: 14px 12px; gap: 10px; background: var(--buld-surface-2); border-inline-end: 1px solid var(--buld-hairline); }
html[data-buld-theme="dark"] .sc-side { background: rgba(0, 0, 0, .18); border-color: rgba(255, 255, 255, .07); }
html[data-buld-theme] .sc-side__top { position: relative; }
html[data-buld-theme] body .sc-switch { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; margin: 0; border: 0; border-radius: 11px; background: transparent; font: inherit; text-align: start; cursor: pointer; box-shadow: none; transition: background var(--bx-dur-hover) var(--bx-ease); }
html[data-buld-theme] body .sc-switch:hover { background: var(--buld-hover); }
html[data-buld-theme="dark"] body .sc-switch:hover { background: rgba(255, 255, 255, .07); }
html[data-buld-theme] .sc-switch__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
html[data-buld-theme] .sc-switch__t b { font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; color: var(--buld-ink-1); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-buld-theme] .sc-switch__t span { font-size: 11.5px; color: var(--buld-ink-4); }
html[data-buld-theme] .sc-switch > svg { width: 14px; height: 14px; color: var(--buld-ink-4); flex-shrink: 0; }
html[data-buld-theme] .sc-switch__dd { position: absolute; top: calc(100% + 6px); inset-inline: 0; z-index: 3; padding: 6px; border-radius: 13px; background: var(--p-card-bg); border: 1px solid var(--p-card-border); box-shadow: var(--bx-shadow-3, 0 16px 44px rgba(15, 23, 42, .3)); display: grid; gap: 2px; }
html[data-buld-theme] body .sc-switch__it { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 9px; margin: 0; border: 0; border-radius: 9px; background: transparent; font: inherit; text-align: start; cursor: pointer; box-shadow: none; }
html[data-buld-theme] body .sc-switch__it:hover { background: var(--buld-hover); }
html[data-buld-theme="dark"] body .sc-switch__it:hover { background: rgba(255, 255, 255, .07); }
html[data-buld-theme] .sc-switch__it > svg:last-child { width: 14px; height: 14px; color: var(--buld-cta); opacity: 0; margin-inline-start: auto; flex-shrink: 0; }
html[data-buld-theme] .sc-switch__it.on > svg:last-child { opacity: 1; }
html[data-buld-theme] body .sc-switch__new { color: var(--buld-ink-2); font-size: 13px; font-weight: 600; }
html[data-buld-theme] .sc-switch__new svg { width: 15px; height: 15px; color: var(--buld-ink-3); }
html[data-buld-theme] .sc-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--buld-hairline); background: var(--buld-elevated-2); }
html[data-buld-theme="dark"] .sc-search { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); }
html[data-buld-theme] .sc-search svg { width: 14px; height: 14px; color: var(--buld-ink-4); flex-shrink: 0; }
html[data-buld-theme] body .sc-search input { flex: 1; min-width: 0; height: 100%; padding: 0; margin: 0; border: 0 !important; background: transparent !important; color: var(--buld-ink-1) !important; font: inherit; font-size: 13px; outline: none !important; box-shadow: none !important; }
html[data-buld-theme] body .sc-search input::placeholder { color: var(--buld-ink-4); }
html[data-buld-theme] .sc-nav { flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; padding: 2px; }
html[data-buld-theme] .sc-nav__g { display: grid; gap: 1px; }
html[data-buld-theme] .sc-nav__g > span { padding: 0 10px 5px; font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--buld-ink-4); }
html[data-buld-theme] body .sc-nav__it { display: flex; align-items: center; gap: 10px; width: 100%; height: 34px; padding: 0 10px; margin: 0; border: 0; border-radius: 9px; background: transparent; color: var(--buld-ink-2); font: inherit; font-size: 13.5px; font-weight: 500; text-align: start; cursor: pointer; box-shadow: none; transition: background var(--bx-dur-hover) var(--bx-ease), color var(--bx-dur-hover) var(--bx-ease); }
html[data-buld-theme] body .sc-nav__it:hover { background: var(--buld-hover); color: var(--buld-ink-1); }
html[data-buld-theme="dark"] body .sc-nav__it:hover { background: rgba(255, 255, 255, .07); color: #fff; }
html[data-buld-theme] body .sc-nav__it.on { background: var(--buld-elevated-2); color: var(--buld-ink-1); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
html[data-buld-theme="dark"] body .sc-nav__it.on { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
html[data-buld-theme] .sc-nav__it svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--buld-ink-3); }
html[data-buld-theme] body .sc-nav__it.on svg { color: var(--buld-cta); }
html[data-buld-theme] .sc-nav__it span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-buld-theme] .sc-nav__none { padding: 14px 10px; font-size: 12.5px; color: var(--buld-ink-4); line-height: 1.5; }
html[data-buld-theme] .sc-side__foot { display: grid; gap: 1px; padding-top: 10px; border-top: 1px solid var(--buld-hairline); }
html[data-buld-theme="dark"] .sc-side__foot { border-color: rgba(255, 255, 255, .07); }
html[data-buld-theme] .sc-side__foot .sc-nav__it svg:last-child { width: 13px; height: 13px; margin-inline-start: auto; color: var(--buld-ink-4); }
html[data-buld-theme] .sc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
html[data-buld-theme] .sc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 26px 14px; }
html[data-buld-theme] body .sc-head h2 { margin: 0; font-family: var(--buld-font-display); font-size: 21px; font-weight: 700; letter-spacing: -.025em; color: var(--buld-ink-1); }
html[data-buld-theme] body .sc-close { width: 32px; height: 32px; }
html[data-buld-theme] .sc-body { flex: 1; min-height: 0; overflow-y: auto; padding: 4px 26px 30px; overscroll-behavior: contain; }

/* ── credits popover ─────────────────────────────────────────────────────── */
html[data-buld-theme] .sc-pop { position: fixed; z-index: calc(var(--p-z-drawer, 130) + 4); width: min(360px, calc(100vw - 24px)); padding: 16px 18px 8px; border-radius: 16px; background: var(--p-card-bg); border: 1px solid var(--p-card-border); box-shadow: var(--bx-shadow-3, 0 20px 56px rgba(15, 23, 42, .32)); opacity: 0; transform: translateY(-6px); transition: opacity 160ms var(--bx-ease), transform 160ms var(--bx-ease); }
html[data-buld-theme] .sc-pop.is-open { opacity: 1; transform: none; }
html[data-buld-theme] .sc-pop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
html[data-buld-theme] body .sc-pop__head h3 { margin: 0; font-family: var(--buld-font-display); font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--buld-ink-1); }
html[data-buld-theme] .sc-pop__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--buld-hairline); }
html[data-buld-theme="dark"] .sc-pop__row { border-color: rgba(255, 255, 255, .07); }
html[data-buld-theme] .sc-pop__row > b { font-size: 15px; font-weight: 700; color: var(--buld-ink-1); font-variant-numeric: tabular-nums; }
html[data-buld-theme] .sc-pop__row > b.is-low { color: var(--buld-danger); }
html[data-buld-theme] .sc-pop__sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; font-size: 12px; color: var(--buld-ink-3); }
html[data-buld-theme] .sc-pop__sub > span:last-child { color: var(--buld-ink-4); font-variant-numeric: tabular-nums; }
html[data-buld-theme] body .sc-pop__foot { display: flex; align-items: center; justify-content: space-between; width: calc(100% + 36px); margin: 12px -18px 0; padding: 12px 18px; border: 0; border-top: 1px solid var(--buld-hairline); background: transparent; color: var(--buld-ink-1); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; box-shadow: none; border-radius: 0 0 16px 16px; transition: background var(--bx-dur-hover) var(--bx-ease); }
html[data-buld-theme] body .sc-pop__foot:hover { background: var(--buld-hover); }
html[data-buld-theme="dark"] body .sc-pop__foot:hover { background: rgba(255, 255, 255, .06); }
html[data-buld-theme] .sc-pop__foot svg { width: 15px; height: 15px; color: var(--buld-ink-4); }

/* ── Découvrir Barbaros ──────────────────────────────────────────────────── */
html[data-buld-theme] .sc-disc { position: fixed; inset: 0; z-index: calc(var(--p-z-modal, 140) + 1); display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; pointer-events: none; transition: visibility 0s linear 220ms; }
html[data-buld-theme] .sc-disc.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
html[data-buld-theme] .sc-disc.is-open .sc-scrim { opacity: 1; }
html[data-buld-theme] .sc-disc__dialog { position: relative; display: flex; flex-direction: column; width: min(1000px, 100%); height: min(680px, calc(100vh - 48px)); border-radius: 18px; overflow: hidden; background: var(--p-card-bg); border: 1px solid var(--p-card-border); box-shadow: var(--bx-shadow-3, 0 24px 64px rgba(15, 23, 42, .35)); opacity: 0; transform: translateY(10px) scale(.985); transition: opacity 220ms var(--bx-ease), transform 220ms var(--bx-ease); }
html[data-buld-theme] .sc-disc.is-open .sc-disc__dialog { opacity: 1; transform: none; }
html[data-buld-theme] .sc-disc__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 22px; border-bottom: 1px solid var(--buld-hairline); }
html[data-buld-theme="dark"] .sc-disc__head { border-color: rgba(255, 255, 255, .07); }
html[data-buld-theme] .sc-disc__logo { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #1E8BFF, #0B5ED7); color: #fff; }
html[data-buld-theme] .sc-disc__logo svg { width: 16px; height: 16px; }
html[data-buld-theme] body .sc-disc__head h2 { margin: 0; flex: 1; font-family: var(--buld-font-display); font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--buld-ink-1); }
html[data-buld-theme] .sc-disc__grid { flex: 1; min-height: 0; display: flex; }
html[data-buld-theme] .sc-disc__steps { width: 290px; flex-shrink: 0; overflow-y: auto; padding: 14px 12px; display: grid; gap: 2px; align-content: start; background: var(--buld-surface-2); border-inline-end: 1px solid var(--buld-hairline); }
html[data-buld-theme="dark"] .sc-disc__steps { background: rgba(0, 0, 0, .18); border-color: rgba(255, 255, 255, .07); }
html[data-buld-theme] body .sc-step { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 8px 10px; margin: 0; border: 0; border-radius: 10px; background: transparent; color: var(--buld-ink-2); font: inherit; font-size: 13px; font-weight: 500; text-align: start; cursor: pointer; box-shadow: none; transition: background var(--bx-dur-hover) var(--bx-ease), color var(--bx-dur-hover) var(--bx-ease); }
html[data-buld-theme] body .sc-step:hover { background: var(--buld-hover); color: var(--buld-ink-1); }
html[data-buld-theme="dark"] body .sc-step:hover { background: rgba(255, 255, 255, .07); color: #fff; }
html[data-buld-theme] body .sc-step.on { background: var(--buld-elevated-2); color: var(--buld-ink-1); font-weight: 600; box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
html[data-buld-theme="dark"] body .sc-step.on { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
html[data-buld-theme] .sc-step > svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--buld-ink-3); }
html[data-buld-theme] body .sc-step.on > svg { color: var(--buld-cta); }
html[data-buld-theme] .sc-step span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-buld-theme] .sc-check { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--buld-divider); color: transparent; flex-shrink: 0; }
html[data-buld-theme="dark"] .sc-check { border-color: rgba(255, 255, 255, .22); }
html[data-buld-theme] .sc-check svg { width: 11px; height: 11px; }
html[data-buld-theme] .sc-step.is-done .sc-check { background: var(--buld-success); border-color: var(--buld-success); color: #fff; }
html[data-buld-theme] .sc-disc__main { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 24px 28px 20px; overflow-y: auto; }
html[data-buld-theme] .sc-disc__title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
html[data-buld-theme] body .sc-disc__title h3 { margin: 0; font-family: var(--buld-font-display); font-size: 24px; font-weight: 700; letter-spacing: -.028em; color: var(--buld-ink-1); }
html[data-buld-theme] body .sc-disc__main > p { margin: 10px 0 18px; max-width: 560px; font-size: 14px; line-height: 1.6; color: var(--buld-ink-2); }
html[data-buld-theme] .sc-disc__foot { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
html[data-buld-theme] .sc-disc__pos { margin-inline-start: auto; font-size: 12.5px; color: var(--buld-ink-4); font-variant-numeric: tabular-nums; }
html[data-buld-theme] .sc-disc__foot .sc-btn--lg:last-child { min-width: 128px; }

/* ── announcement ────────────────────────────────────────────────────────── */
html[data-buld-theme] .sc-ann { position: fixed; inset: 0; z-index: calc(var(--p-z-modal, 140) + 2); display: flex; align-items: center; justify-content: center; padding: 24px; visibility: hidden; pointer-events: none; transition: visibility 0s linear 220ms; }
html[data-buld-theme] .sc-ann.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
html[data-buld-theme] .sc-ann.is-open .sc-scrim { opacity: 1; }
html[data-buld-theme] .sc-ann__dialog { position: relative; display: flex; flex-direction: column; width: min(540px, 100%); max-height: calc(100vh - 48px); border-radius: 18px; overflow: hidden; background: var(--p-card-bg); border: 1px solid var(--p-card-border); box-shadow: var(--bx-shadow-3, 0 24px 64px rgba(15, 23, 42, .35)); opacity: 0; transform: translateY(10px) scale(.985); transition: opacity 220ms var(--bx-ease), transform 220ms var(--bx-ease); }
html[data-buld-theme] .sc-ann.is-open .sc-ann__dialog { opacity: 1; transform: none; }
html[data-buld-theme] .sc-ann__hero { position: relative; padding: 30px 26px 24px; background: radial-gradient(120% 140% at 18% 0%, rgba(41, 151, 255, .22) 0%, rgba(41, 151, 255, .06) 46%, transparent 100%), var(--buld-surface-2); border-bottom: 1px solid var(--buld-hairline); }
html[data-buld-theme="dark"] .sc-ann__hero { background: radial-gradient(120% 140% at 18% 0%, rgba(41, 151, 255, .26) 0%, rgba(41, 151, 255, .07) 46%, transparent 100%), rgba(0, 0, 0, .2); border-color: rgba(255, 255, 255, .07); }
html[data-buld-theme] .sc-ann__hero .sc-close { position: absolute; top: 12px; inset-inline-end: 12px; }
html[data-buld-theme] .sc-ann__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 26px 22px; overflow-y: auto; }
html[data-buld-theme] body .sc-ann__body h3 { margin: 0; font-family: var(--buld-font-display); font-size: 22px; font-weight: 700; letter-spacing: -.025em; color: var(--buld-ink-1); }
html[data-buld-theme] body .sc-ann__body p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--buld-ink-2); }
html[data-buld-theme] .sc-ann__cta { margin-top: 10px; width: 100%; }
html[data-buld-theme] body .sc-ann__later { align-self: center; color: var(--buld-ink-3); }

/* ── illustrations (pure CSS, both themes) ───────────────────────────────── */
html[data-buld-theme] .sc-art { --art-ink: rgba(15, 27, 51, .8); --art-mut: rgba(15, 27, 51, .34); --art-line: rgba(23, 51, 108, .12); --art-bg: #F4F8FF; margin-top: 4px; border: 1px solid var(--buld-hairline); border-radius: 14px; background: radial-gradient(100% 160% at 14% 0%, rgba(41, 151, 255, .1) 0%, transparent 55%), var(--buld-surface-2); padding: 22px; display: flex; align-items: center; justify-content: center; min-height: 240px; }
html[data-buld-theme="dark"] .sc-art { --art-ink: rgba(255, 255, 255, .85); --art-mut: rgba(255, 255, 255, .35); --art-line: rgba(255, 255, 255, .12); --art-bg: #3a363f; background: radial-gradient(100% 160% at 14% 0%, rgba(41, 151, 255, .14) 0%, transparent 55%), rgba(0, 0, 0, .18); border-color: rgba(255, 255, 255, .08); }
html[data-buld-theme] .sc-ann__hero .sc-art { margin: 0; border: 0; background: transparent; padding: 0; min-height: 190px; }
html[data-buld-theme] .sc-art__win { width: min(380px, 100%); border-radius: 12px; background: var(--art-bg); border: 1px solid var(--art-line); box-shadow: 0 14px 34px rgba(15, 23, 42, .12); padding: 12px 14px 16px; }
html[data-buld-theme] .sc-art__bar { display: flex; gap: 5px; margin-bottom: 12px; }
html[data-buld-theme] .sc-art__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--art-line); }
html[data-buld-theme] .sc-art__hero { border-radius: 9px; background: linear-gradient(135deg, rgba(41, 151, 255, .25), rgba(11, 94, 215, .35)); padding: 16px 14px; display: flex; flex-direction: column; gap: 7px; }
html[data-buld-theme] .sc-art__hero b { width: 64%; height: 10px; border-radius: 5px; background: var(--art-ink); opacity: .85; }
html[data-buld-theme] .sc-art__hero span { width: 42%; height: 7px; border-radius: 4px; background: var(--art-mut); }
html[data-buld-theme] .sc-art__hero em { width: 96px; height: 20px; border-radius: 10px; background: #0071E3; margin-top: 4px; }
html[data-buld-theme] .sc-art__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 10px; }
html[data-buld-theme] .sc-art__grid i { height: 44px; border-radius: 8px; background: var(--art-line); }
html[data-buld-theme] .sc-art__cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
html[data-buld-theme] .sc-art__cards > div { display: flex; flex-direction: column; gap: 6px; }
html[data-buld-theme] .sc-art__cards i { height: 64px; border-radius: 9px; background: linear-gradient(135deg, var(--art-line), rgba(41, 151, 255, .22)); }
html[data-buld-theme] .sc-art__cards b { width: 80%; height: 7px; border-radius: 4px; background: var(--art-ink); opacity: .8; }
html[data-buld-theme] .sc-art__cards span { width: 45%; height: 6px; border-radius: 3px; background: var(--art-mut); }
html[data-buld-theme] .sc-art__themes { display: flex; gap: 14px; align-items: flex-end; }
html[data-buld-theme] .sc-art__themes > div { width: 110px; border-radius: 11px; background: var(--art-bg); border: 1px solid var(--art-line); box-shadow: 0 10px 26px rgba(15, 23, 42, .12); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
html[data-buld-theme] .sc-art__themes .at2 { width: 132px; border-color: #0071E3; box-shadow: 0 0 0 3px rgba(0, 113, 227, .18), 0 14px 30px rgba(15, 23, 42, .16); }
html[data-buld-theme] .sc-art__themes i { height: 54px; border-radius: 7px; background: linear-gradient(135deg, rgba(41, 151, 255, .3), rgba(11, 94, 215, .18)); }
html[data-buld-theme] .sc-art__themes .at1 i { background: linear-gradient(135deg, rgba(255, 159, 10, .3), rgba(255, 69, 58, .18)); }
html[data-buld-theme] .sc-art__themes .at3 i { background: linear-gradient(135deg, rgba(48, 209, 88, .28), rgba(20, 174, 92, .16)); }
html[data-buld-theme] .sc-art__themes b { width: 70%; height: 7px; border-radius: 4px; background: var(--art-ink); opacity: .8; }
html[data-buld-theme] .sc-art__themes span { width: 45%; height: 6px; border-radius: 3px; background: var(--art-mut); }
html[data-buld-theme] .sc-art__table { width: min(420px, 100%); border-radius: 12px; background: var(--art-bg); border: 1px solid var(--art-line); box-shadow: 0 14px 34px rgba(15, 23, 42, .12); overflow: hidden; font-size: 12px; color: var(--art-ink); }
html[data-buld-theme] .sc-art__table > div { display: grid; grid-template-columns: 1.4fr 1fr .9fr; gap: 8px; padding: 9px 14px; border-top: 1px solid var(--art-line); align-items: center; }
html[data-buld-theme] .sc-art__table > div:first-child { border-top: 0; }
html[data-buld-theme] .sc-art__table .ahh { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--art-mut); }
html[data-buld-theme] .sc-art__table span:nth-child(2), html[data-buld-theme] .sc-art__table span:nth-child(3) { font-variant-numeric: tabular-nums; }
html[data-buld-theme] .sc-art__table .aon { color: #14ae5c; font-weight: 700; }
html[data-buld-theme] .sc-art__table .aw { color: #C2410C; font-weight: 700; }
html[data-buld-theme] .sc-art__table .ab { color: #0071E3; font-weight: 700; }
html[data-buld-theme="dark"] .sc-art__table .aon { color: #30D158; }
html[data-buld-theme="dark"] .sc-art__table .aw { color: #FF9F0A; }
html[data-buld-theme="dark"] .sc-art__table .ab { color: #2997FF; }
html[data-buld-theme] .sc-art__track { display: flex; align-items: center; gap: 0; }
html[data-buld-theme] .sc-art__track .ast { display: flex; flex-direction: column; align-items: center; gap: 7px; }
html[data-buld-theme] .sc-art__track .ast i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--art-line); background: var(--art-bg); }
html[data-buld-theme] .sc-art__track .ast.aon i { background: #0071E3; border-color: #0071E3; box-shadow: 0 0 0 4px rgba(0, 113, 227, .16); }
html[data-buld-theme] .sc-art__track .ast b { font-size: 11px; font-weight: 600; color: var(--art-ink); white-space: nowrap; }
html[data-buld-theme] .sc-art__track .aln { width: 56px; height: 2px; background: var(--art-line); margin: 0 6px 20px; }
html[data-buld-theme] .sc-art__track .aln.aon { background: #0071E3; }
html[data-buld-theme] .sc-art__lp { display: flex; align-items: center; gap: 18px; }
html[data-buld-theme] .sc-art__lp .aph { width: 110px; height: 110px; border-radius: 14px; background: var(--art-bg); border: 1px solid var(--art-line); box-shadow: 0 10px 26px rgba(15, 23, 42, .12); display: flex; align-items: center; justify-content: center; }
html[data-buld-theme] .sc-art__lp .aph i { width: 70px; height: 70px; border-radius: 10px; background: linear-gradient(135deg, rgba(41, 151, 255, .35), rgba(11, 94, 215, .2)); }
html[data-buld-theme] .sc-art__lp .aarr { font-size: 20px; color: var(--art-mut); }
html[data-buld-theme] .sc-art__lp .apg { width: 150px; border-radius: 12px; background: var(--art-bg); border: 1px solid var(--art-line); box-shadow: 0 14px 34px rgba(15, 23, 42, .14); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
html[data-buld-theme] .sc-art__lp .ahero { height: 58px; border-radius: 8px; background: linear-gradient(135deg, rgba(41, 151, 255, .32), rgba(11, 94, 215, .2)); }
html[data-buld-theme] .sc-art__lp b { width: 80%; height: 8px; border-radius: 4px; background: var(--art-ink); opacity: .85; }
html[data-buld-theme] .sc-art__lp span { width: 92%; height: 6px; border-radius: 3px; background: var(--art-mut); }
html[data-buld-theme] .sc-art__lp span + span { width: 70%; }
html[data-buld-theme] .sc-art__lp em { margin-top: 4px; height: 22px; border-radius: 7px; background: #0071E3; color: #fff; font-style: normal; font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
html[data-buld-theme] .sc-art__lp--pub { flex-direction: column; gap: 12px; }
html[data-buld-theme] .sc-art__lp--pub .aurl { display: flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--art-bg); border: 1px solid var(--art-line); font-size: 11.5px; color: var(--art-ink); box-shadow: 0 8px 20px rgba(15, 23, 42, .1); }
html[data-buld-theme] .sc-art__lp--pub .aurl i { width: 8px; height: 8px; border-radius: 50%; background: #14ae5c; }
html[data-buld-theme] .sc-art__px { display: grid; gap: 8px; }
html[data-buld-theme] .sc-art__px > div { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--art-line); font-size: 12px; color: var(--art-ink); }
html[data-buld-theme] .sc-art__px b { width: 24px; height: 24px; border-radius: 7px; background: rgba(41, 151, 255, .18); color: #0071E3; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
html[data-buld-theme] .sc-art__px span { flex: 1; }
html[data-buld-theme] .sc-art__px i { width: 26px; height: 15px; border-radius: 999px; background: var(--art-line); position: relative; }
html[data-buld-theme] .sc-art__px i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
html[data-buld-theme] .sc-art__px i.aon { background: #14ae5c; }
html[data-buld-theme] .sc-art__px i.aon::after { left: auto; right: 2px; }
html[data-buld-theme] .sc-art__prof { display: flex; align-items: center; gap: 12px; padding: 6px 2px; }
html[data-buld-theme] .sc-art__prof > i { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #1E8BFF, #0B5ED7); }
html[data-buld-theme] .sc-art__prof > div { display: flex; flex-direction: column; gap: 6px; flex: 1; }
html[data-buld-theme] .sc-art__prof b { width: 40%; height: 8px; border-radius: 4px; background: var(--art-ink); opacity: .85; }
html[data-buld-theme] .sc-art__prof span { width: 62%; height: 6px; border-radius: 3px; background: var(--art-mut); }
html[data-buld-theme] .sc-art__chat { display: flex; flex-direction: column; gap: 8px; width: min(360px, 100%); }
html[data-buld-theme] .sc-art__chat > div { max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 12.5px; line-height: 1.45; }
html[data-buld-theme] .sc-art__chat .ame { align-self: flex-end; background: #0071E3; color: #fff; border-bottom-right-radius: 4px; }
html[data-buld-theme] .sc-art__chat .aai { align-self: flex-start; background: var(--art-bg); border: 1px solid var(--art-line); color: var(--art-ink); border-bottom-left-radius: 4px; }

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 920px) {
    html[data-buld-theme] .sc { padding: 0; }
    html[data-buld-theme] .sc-dialog { width: 100%; height: 100%; border-radius: 0; flex-direction: column; }
    html[data-buld-theme] .sc-side { width: 100%; flex-direction: column; border-inline-end: 0; border-bottom: 1px solid var(--buld-hairline); padding: 10px 12px; gap: 8px; }
    html[data-buld-theme] .sc-nav { flex-direction: row; overflow-x: auto; gap: 4px; scrollbar-width: none; }
    html[data-buld-theme] .sc-nav__g { display: inline-flex; gap: 4px; }
    html[data-buld-theme] .sc-nav__g > span { display: none; }
    html[data-buld-theme] body .sc-nav__it { width: auto; white-space: nowrap; }
    html[data-buld-theme] .sc-side__foot { display: none; }
    html[data-buld-theme] .sc-search { display: none; }
    html[data-buld-theme] .sc-head { padding: 16px 16px 10px; }
    html[data-buld-theme] .sc-body { padding: 2px 16px 24px; }
    html[data-buld-theme] .sc-disc__dialog { width: 100%; height: 100%; border-radius: 0; }
    html[data-buld-theme] .sc-disc__grid { flex-direction: column; }
    html[data-buld-theme] .sc-disc__steps { width: 100%; display: flex; overflow-x: auto; border-inline-end: 0; border-bottom: 1px solid var(--buld-hairline); padding: 10px 12px; scrollbar-width: none; }
    html[data-buld-theme] body .sc-step { width: auto; white-space: nowrap; }
    html[data-buld-theme] .sc-step .sc-check { display: none; }
    html[data-buld-theme] .sc-step.is-done > svg { color: var(--buld-success); }
    html[data-buld-theme] .sc-disc__main { padding: 18px 16px 16px; }
    html[data-buld-theme] .sc-profile { flex-wrap: wrap; }
}
