/* =============================================================================
   BRANDS (Session 15a phase 2): the Account window's Brands section, a brand's page, the logo
   pop-out, the colours window and the delete window (features/brandPage.js). Loaded in the head
   beside account-window.css, so the splash has it.

   Sizes are Barney's (Part 2 and the branding pack, since 15b phase 4): buttons 40 px in 11 px
   capitals with 6 px corners and 10 px above, fields 40 px, row buttons 32 px, back links pinned
   as the close. They come from the size tokens in peelback-design-system.css, each with its value
   as the fallback, since that file isn't loaded over the splash.
   ============================================================================= */

/* ── The list (Accounts 1 frame 5) ── */
.acw .brg { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; align-items: start; margin-top: 4px; }
.acw .brc {
    position: relative; display: flex; flex-direction: column; width: 100%; border-radius: 12px; overflow: hidden;
    background: #fff; box-shadow: 0 0 0 1px rgba(26,26,46,.12), 0 1px 2px rgba(26,26,46,.06); text-align: left;
}
.acw .brc:focus-visible { outline: 2px solid #544FF0; outline-offset: 3px; }
.acw .brc-win { position: relative; height: 128px; display: grid; place-items: center; }
.acw .brc-band { height: 14px; }
.acw .brc-logo { display: grid; place-items: center; max-width: 72%; }
.acw .brc-logo img { display: block; max-width: 100%; max-height: 64px; object-fit: contain; }
.acw .brc-logo--pb img { height: 48px; width: auto; }
/* "Default" is a white lozenge on the logo window, so it never clashes with a brand's colours */
.acw .brc-pill {
    position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; box-sizing: border-box;
    height: var(--pb-pill-h, 24px); padding: 0 10px; border-radius: 999px; background: #fff; color: #544FF0;
    font: 600 12px/16px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; box-shadow: 0 1px 2px rgba(26,26,46,.18); white-space: nowrap;
}
.acw .brc-pill--on { color: #1A1A2E; }
.acw .brc-pill--edit { left: auto; right: 12px; }
.acw button.brc-pill:hover { background: #F4F3FE; }
.acw .brc-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.acw .brc-name { margin: 0; font: 600 18px/24px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; color: #1A1A2E; overflow-wrap: anywhere; }
.acw .brc-line { margin: 0; font-size: 14px; line-height: 20px; color: #6B6B72; }
.acw .brc-font { color: #1A1A2E; font-size: 15px; }
.acw .brc-a0 { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding-top: 12px; border-top: 1px solid rgba(26,26,46,.08); font-size: 14px; line-height: 20px; color: #1A1A2E; }
.acw .brc-a0 svg { flex: none; margin-top: 2px; color: #B25E00; }
.acw .brc-a0 .aw-link { display: inline; white-space: normal; }

/* Create a brand: a blank card, a button */
.acw .brc-newwrap { display: flex; flex-direction: column; gap: 8px; }
.acw .brc-new { box-shadow: none; outline: 2px dashed #C4C4CC; outline-offset: -2px; cursor: pointer; }
.acw .brc-new:focus-visible { outline: 2px solid #544FF0; outline-offset: 2px; }
.acw .brc-win--new { background: #F4F4F6; }
.acw .brc-plus { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #544FF0; box-shadow: 0 0 0 1px rgba(26,26,46,.14); }
.acw .brc-band--new { background: #E8E8EC; }
.acw .brc-ghost { display: block; height: 10px; width: 80%; border-radius: 5px; background: #ECECF1; margin-top: 6px; }
.acw .brc-ghost--short { width: 55%; }
.acw .brc-new[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.acw .brc-limit { margin: 0; font-size: 14px; line-height: 20px; color: #6B6B72; }

/* Add a brand: one way only in 15a (Emilie, phase 0) */
.acw .bra { border-radius: 12px; outline: 2px dashed #C4C4CC; outline-offset: -2px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.acw .bra h4 { margin: 0; font: 600 18px/24px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; color: #4B4B55; }
.acw .bra-o {
    display: flex; align-items: center; gap: 12px; min-height: var(--pb-win-btn-h, 40px); box-sizing: border-box; padding: 10px 14px; border-radius: var(--pb-win-btn-r, 6px);
    background: #fff; color: #544FF0; font: 600 15px/20px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; text-align: left;
    box-shadow: 0 0 0 1px rgba(26,26,46,.14);
}
.acw .bra-o svg { flex: none; }
.acw .bra-o:hover { background: #F4F3FE; }
.acw .bra-o[aria-disabled="true"] { cursor: not-allowed; opacity: .55; }
.acw .bra-o[aria-disabled="true"]:hover { background: #fff; }

/* ── A brand's page (frames 1 and 7) ── */
.acw .br-back { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; margin: 0 0 18px; font: 700 15px/20px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; }
/* All brands mirrors the close (Part 2): pinned 16 px from the top and left of its panel, 36 px
   tall, the title 72 px from the panel's top. It scrolls with the panel, as Barney's board has it */
.acw .acs-main { position: relative; }
.acw .acs-main > .br-back { position: absolute; top: var(--pb-close-inset, 16px); left: var(--pb-close-inset, 16px); height: var(--pb-close, 36px); min-height: 0; margin: 0; }
.acw .acs-main > .br-back + * { margin-top: var(--pb-title-gap, 48px); }
.acw .brp { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 48px; align-items: start; }
.acw .br-lz { display: inline-flex; align-items: center; height: var(--pb-pill-h, 24px); padding: 0 10px; border-radius: 999px; background: #ECECF1; color: #1A1A2E; font: 600 13px/16px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; align-self: center; }
.acw .br-row { position: relative; align-items: center; }
.acw .br-row .prv > p { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: #6B6B72; }
.acw .br-name-in { max-width: 420px; }

.acw input.acw-in.br-name-in::placeholder { color: #8A8A94; }
.acw .br-sws { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.acw .br-sw { display: inline-block; flex: none; width: 26px; height: 26px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(26,26,46,.18); }
.acw .br-sw--empty, .aw .br-sw--empty { background: repeating-linear-gradient(135deg, #fff 0 4px, #E8E8EC 4px 6px); }
.acw .br-hex { font-variant-numeric: tabular-nums; margin-right: 8px; }
.acw .br-txt { color: #6B6B72; margin-left: 4px; }
.acw .br-logo-line { display: flex; align-items: center; gap: 12px; }
.acw .br-thumb { flex: none; display: grid; place-items: center; width: 88px; height: 40px; border-radius: 6px; background: #F2F2F4; overflow: hidden; }
.acw .br-thumb img { display: block; max-width: 80px; max-height: 32px; object-fit: contain; }
.acw .br-thumb--empty { background: #fff; box-shadow: inset 0 0 0 1px rgba(26,26,46,.18); }
/* the A0 note: a note, never a block; dark amber, 6.4:1 on white */
.acw .br-a0, .acw .br-row .prv > p.br-a0 { color: #8A4B00; }
.acw .br-row .prv > p.br-rights, .acw .br-rights { font-size: 13px; line-height: 18px; color: #6B6B72; }
.acw .br-font { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.acw .br-f { font-size: 20px; line-height: 26px; font-family: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; }
.acw .br-f-num { font: 20px/26px 'Saira', 'Helvetica Neue', Arial, sans-serif; font-variant-numeric: lining-nums; }
.acw .br-f-num b { font-weight: inherit; }
.acw .br-f-num i { font-style: normal; }
.acw .br-gap { display: inline-block; width: 18px; }
.acw .br-mark { font-size: 13px; line-height: 18px; color: #6B6B72; }

.acw .br-del { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 14px 18px; border-radius: 10px; background: #F4F4F6; }
.acw .br-del b { font-style: italic; }
.acw .br-del p { margin: 2px 0 0; font-style: italic; color: #4B4B55; }
.acw .br-save { margin-top: var(--pb-btn-gap, 10px); }
/* the page's main action: a window's button height (token), a page's width */
.acw .br-save-btn, .acw .br-pop-up {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
    height: var(--pb-win-btn-h, 40px); padding: 0 24px; border-radius: var(--pb-win-btn-r, 6px);
    background: #544FF0; color: #fff; font: var(--pb-win-btn-font, 700 11px/14px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif);
    letter-spacing: var(--pb-btn-track, .08em); text-transform: uppercase; box-shadow: 0 1px 2px rgba(84,79,240,.3);
}
.acw .br-save-btn:hover, .acw .br-pop-up:hover { background: #4743D8; }

/* Preview, a card: a real card at 264 px wide */
.acw .brp-side { position: sticky; top: 0; }
.acw .brp-eyebrow { margin: 0 0 12px; font: 700 12px/16px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #6B6B72; }
.acw .brp-card { position: relative; width: 264px; height: 330px; border-radius: 10px; overflow: hidden; background: #F4F4F6; box-shadow: 0 1px 3px rgba(26,26,46,.18); }
.acw .brp-card .pc-card { position: absolute; top: 0; left: 0; transform: scale(0.244444); transform-origin: 0 0; }

/* ── The logo pop-out (frame 3): the one small pop-out, under Replace ── */
.acw .br-pop {
    position: absolute; z-index: 5; top: calc(100% - 6px); right: 0; width: var(--pb-pop-w, 320px); box-sizing: border-box; padding: 24px 32px 32px;
    border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(26,26,46,.2), 0 0 0 1px rgba(26,26,46,.08);
    display: flex; flex-direction: column; gap: var(--pb-btn-gap, 10px); text-align: left;
}
.acw .br-pop h4 { margin: 0; padding-right: 44px; font: 600 22px/28px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; }
.acw .br-pop .br-pop-x { top: var(--pb-close-inset, 16px); right: var(--pb-close-inset, 16px); }
.acw .br-pop-file { display: flex; align-items: center; gap: 12px; }
.acw .br-pop-name, .acw .br-pop-w { display: block; }
.acw .br-pop-w { color: #6B6B72; }
.acw .br-pop .br-a0 { margin: 0; font-size: 14px; }
.acw .br-pop-up { width: 100%; }
.acw .br-pop-hint, .acw .br-pop .br-rights { margin: 0; font-size: 14px; line-height: 20px; color: #6B6B72; }
.acw .br-pop-rm { align-self: flex-start; min-height: 24px; color: #B3261E; font-weight: 700; }
.acw .br-pop-rm:hover { text-decoration: underline; }

/* ── The colours window (frames 4 and 4b, the 15a cut): 560 px, one shape in every state ── */
dialog.aw.br-colwin { width: min(560px, calc(100vw - 32px)); }
.aw .br-slots { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.aw .br-slot {
    display: inline-flex; align-items: center; gap: 8px; min-height: var(--pb-win-btn-h, 40px); box-sizing: border-box; padding: 6px 12px 6px 8px;
    border-radius: var(--pb-win-btn-r, 6px); box-shadow: 0 0 0 1px rgba(26,26,46,.14); font: 400 15px/20px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
}
.aw .br-slot.on { box-shadow: 0 0 0 2px #544FF0; }
.aw .br-slot .br-sw { display: inline-block; width: 24px; height: 24px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(26,26,46,.18); }
.aw .br-slot-t { font-variant-numeric: tabular-nums; }
.aw .br-code { display: flex; align-items: center; gap: 8px; }
.aw .br-code-l { font: 700 16px/24px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; color: #4B4B55; }
.aw input.br-hex-in { width: 140px; height: var(--pb-field-h, 40px); border-radius: var(--pb-field-r, 6px); text-align: center; font-variant-numeric: tabular-nums; text-transform: uppercase; }
.aw .br-picker { width: 48px; height: var(--pb-field-h, 40px); padding: 2px; border: 0; border-radius: var(--pb-field-r, 6px); box-shadow: inset 0 0 0 1.5px #8A8A94; background: #fff; cursor: pointer; }
.aw .br-rule { border: 0; border-top: 1px solid rgba(26,26,46,.1); margin: 20px 0 16px; }
.aw .br-checks { display: flex; flex-direction: column; gap: 10px; min-height: 74px; }   /* two checks: one shape in every state */
.aw .br-check { position: relative; display: flex; align-items: center; gap: 12px; }
.aw .br-tile { display: grid; place-items: center; width: var(--pb-row-btn-h, 32px); height: var(--pb-row-btn-h, 32px); border-radius: var(--pb-row-btn-r, 6px); box-shadow: inset 0 0 0 1px rgba(26,26,46,.14); font: 700 15px/1 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; }
.aw .br-ratio { display: inline-flex; align-items: center; gap: 6px; font: 700 16px/22px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; font-variant-numeric: tabular-nums; }
.aw .br-tick { display: inline-flex; color: #1E7B3A; }
/* a fail: no icon; the ratio and its info button red, on a red-tint lozenge */
.aw .br-check.fail .br-ratio, .aw .br-check.fail .br-info-w { color: #B42318; }
.aw .br-check.fail .br-ratio { background: #FDECEA; border-radius: 999px; padding: 2px 10px; }
.aw .br-info-w { position: relative; display: inline-flex; color: #8A8A94; }
.aw .br-info { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: inherit; }
.aw .br-check.fail .br-info { background: #FDECEA; }
/* the caption: Try an example's dark tip; opens on hover and on focus, stays while pointed at */
.aw .br-tip {
    position: absolute; z-index: 3; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: 300px; box-sizing: border-box;
    padding: 10px 12px; border-radius: 8px; background: #1A1A2E; color: #fff; font: 400 13px/18px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
    visibility: hidden; opacity: 0; pointer-events: none;
}
.aw .br-tip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: #1A1A2E; }
.aw .br-tip b { font-weight: 700; }
.aw .br-check.tip .br-tip { visibility: visible; opacity: 1; pointer-events: auto; }
.aw .br-use { margin-top: 32px; }   /* the README's one exception: 32 px above Use this colour, as below */
.aw .br-use[aria-disabled="true"] { background: #B9B7F7; box-shadow: none; cursor: not-allowed; }
.aw .br-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Delete brand (frame 6): Keep it first, focus on it */
.aw .br-del-acts { margin-top: var(--pb-btn-gap, 10px); }

@media (max-width: 999px) {
    .acw .brp { grid-template-columns: 1fr; }
    .acw .brp-side { position: static; }
}
@media (max-width: 719px) {
    .acw .br-pop { position: static; width: 100%; margin-top: 8px; }
    .aw .br-tip { width: 240px; }
}

/* ── The brand menu (Session 15a phase 3, Accounts 1 frame 1; features/brandMenu.js) ──
   It opens from the outputs panel's brand button (Session 16b; the brand row until then), under it, over the gallery: 356 px as drawn, or the
   panel's width less its gutters at 344. Its controls take the drawn sizes where the live app has
   none (Manage brands and Remove logo 24 px targets; options 44 px); Make default is 28 px, as the
   pills on a brand's card (phase 2). */
.bm-sws { display: inline-flex; flex: none; }
/* Session 16b: under the brand button, its right edge on the button's; at Compact the button has a
   line of its own and the menu takes the panel's width less its gutters, as in 15a */
.bm {
    position: absolute; top: calc(100% + 4px); right: 0; z-index: 30;
    box-sizing: border-box; width: 356px; max-width: calc(100vw - 32px);
    padding: 12px 12px 18px; border-radius: 10px; background: #fff;
    box-shadow: 0 18px 40px rgba(26,26,46,.22), 0 0 0 1px rgba(26,26,46,.08);
    font: 400 13px/18px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; color: #1A1A2E; text-align: left;
}
.bm[hidden] { display: none; }
.right-panel[data-width="compact"] .bm { right: var(--pb-panel-x, 20px); width: min(356px, calc(100% - 2 * var(--pb-panel-x, 20px))); }
.bm-hr { display: flex; align-items: center; justify-content: space-between; min-height: 24px; margin: 0 0 6px 4px; }
.bm-h { margin: 0; font: 700 10px/14px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #6B6B72; }
.bm-manage, .bm-act {
    display: inline-flex; align-items: center; gap: 2px; min-height: 24px; padding: 0 2px 0 6px; border: 0; border-radius: 4px; background: none; cursor: pointer;
    font: 700 11px/14px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #544FF0; white-space: nowrap;
}
.bm-manage svg { flex: none; }
.bm-manage:hover, .bm-act:hover { color: #1A1A2E; }
.bm-opts { display: flex; flex-direction: column; gap: 2px; }
.bm-opt { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px 0 0; border-radius: 8px; }
.bm-opt.on { background: #F4F3FE; box-shadow: 0 0 0 1.5px #544FF0; }
.bm-pick { flex: 1; min-width: 0; align-self: stretch; display: flex; align-items: center; gap: 10px; padding: 8px 0 8px 8px; cursor: pointer; }
.bm-pick input {
    appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 50%;
    border: 2px solid #BBBBC2; background: #fff; cursor: pointer;
}
.bm-pick input:checked { border-color: #544FF0; background: radial-gradient(#544FF0 45%, #fff 50%); }
.bm-pick input:focus-visible { outline: 2px solid #544FF0; outline-offset: 2px; }
.bm-sws i { width: 16px; height: 16px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(26,26,46,.12); }
.bm-sws i + i { margin-left: 3px; }
.bm-name { flex: 1; min-width: 0; font: 700 15px/20px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-dfl {
    flex: none; display: inline-flex; align-items: center; box-sizing: border-box; height: var(--pb-pill-h, 24px); padding: 0 10px; border: 0; border-radius: 999px;
    font: 700 11px/14px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; letter-spacing: .04em; color: #4A4A55; background: #ECEDF1; white-space: nowrap;
}
.bm-mk { background: transparent; color: #6B6B72; box-shadow: inset 0 0 0 1px rgba(26,26,46,.18); cursor: pointer; }
.bm-mk:hover { color: #1A1A2E; box-shadow: inset 0 0 0 1px rgba(26,26,46,.4); }
.bm-logo { display: flex; align-items: center; gap: 8px; margin: 12px 4px 0; padding-top: 14px; border-top: 1px solid rgba(26,26,46,.08); }
.bm-ll { font: 700 10px/14px 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #6B6B72; }
.bm-lt { flex: 1; min-width: 0; font-weight: 400; }
.bm-err { margin: 10px 4px 0; font-size: 13px; line-height: 18px; color: var(--pb-error, #C0392B); }
.bm-err[hidden] { display: none; }

/* The font window (Session 15b, Barney's branding frame 5; his board's .fp- rules) */
dialog.aw.br-fontwin { width: min(640px, calc(100vw - 32px)); }
.br-fontwin .fp-fld { margin-bottom: 16px; }
.br-fontwin .fp-fld label { display: block; font-weight: 600; margin-bottom: 8px; }
.br-fontwin .fp-fld input { width: 100%; box-sizing: border-box; }
.br-fontwin .fp-list { display: flex; flex-direction: column; height: 306px; overflow-y: auto; margin: 0 0 12px;
    border-radius: 10px; box-shadow: 0 0 0 1px rgba(26, 26, 46, .10); }
.br-fontwin .fp-row { flex: none; box-sizing: border-box; display: grid; grid-template-columns: 1fr auto 84px 20px;
    align-items: center; gap: 14px; height: 56px; padding: 0 16px; border: 0; border-bottom: 1px solid rgba(26, 26, 46, .08);
    background: #fff; text-align: left; color: #1A1A2E; cursor: pointer; font: inherit; }
.br-fontwin .fp-row[hidden] { display: none; }
.br-fontwin .fp-row:last-child { border-bottom: 0; }
.br-fontwin .fp-row.on { background: #F1F0FE; }
.br-fontwin .fp-row:focus-visible { outline: 2px solid #544FF0; outline-offset: -2px; }
.br-fontwin .fp-n { font-size: 20px; line-height: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-fontwin .fp-c { font: 400 13px/18px 'Hanken Grotesk', sans-serif; color: #6B6B72; }
.br-fontwin .fp-s { font-size: 20px; line-height: 28px; text-align: right; font-variant-numeric: lining-nums; white-space: nowrap; }
.br-fontwin .fp-s em { font-style: normal; }
.br-fontwin .fp-k { display: grid; place-items: center; color: #544FF0; }
.br-fontwin .fp-none, .br-fontwin .fp-fail { margin: 0 0 12px; color: #6B6B72; }
.br-fontwin .fp-fail { padding: 16px; }
.br-fontwin .fp-ask { margin: 0 0 16px; }
.br-fontwin .fp-use { width: 100%; }

/* The imports (Session 15b, frames 8 to 11): Add a brand's four ways, the drop zone, the website
   field, and What we found's source line, row lines and the logo's two versions */
.acw .bra { display: flex; flex-direction: column; gap: 8px; }
.acw .br-drop { margin-top: 20px; padding: 32px 24px; border: 2px dashed #C9C8D6; border-radius: 12px; text-align: center; background: #FAFAFC; }
.acw .br-drop.over { border-color: #544FF0; background: #F1F0FE; }
.acw .br-drop-t { margin: 0; font-size: 18px; line-height: 24px; font-weight: 600; color: #1A1A2E; }
.acw .br-drop-k { margin: 4px 0 16px; font-size: 14px; line-height: 20px; color: #6B6B72; }
.acw .br-under { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: #6B6B72; }
.acw .br-web { margin-top: 20px; }
.acw .br-web-l { display: block; font-weight: 600; margin-bottom: 8px; }
.acw .br-web-row { display: flex; gap: 12px; align-items: stretch; }
.acw .br-web-row input { flex: 1; min-width: 0; }
.acw .br-web-go { flex: none; }
.acw .br-reading { margin: 12px 0 0; min-height: 20px; font-size: 14px; color: #6B6B72; }
.acw .br-src { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 12px; font-size: 14px; line-height: 20px; color: #1A1A2E; }
.acw .br-src > span { overflow-wrap: anywhere; }
.acw .br-row .prv > p.br-from { color: #3B3A4A; }
.acw .br-vers { display: flex; gap: 12px; margin-top: 8px; }
.acw .br-ver { display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid #D9D8E3; border-radius: var(--pb-win-btn-r, 6px); background: #fff; font: inherit; color: #1A1A2E; cursor: pointer; }
.acw .br-ver.on { border-color: #544FF0; box-shadow: 0 0 0 1px #544FF0; }
.acw .br-ver:focus-visible { outline: 2px solid #544FF0; outline-offset: 2px; }
.acw .br-save .br-rights { margin: 8px 0 0; }
/* the colours an import found: on the Colours row and in the Colours window (Session 15b) */
.acw .br-found { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.acw .br-fsw { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; height: var(--pb-row-btn-h, 32px); padding: 0 10px 0 4px; border: 1px solid #D9D8E3; border-radius: var(--pb-row-btn-r, 6px); background: #fff; font: inherit; font-size: 13px; color: #1A1A2E; cursor: pointer; }
.acw .br-fsw:hover { border-color: #544FF0; }
.acw .br-fsw:focus-visible, .br-colwin .br-wfsw:focus-visible { outline: 2px solid #544FF0; outline-offset: 2px; }
.br-colwin .br-wfound { margin: 12px 0 4px; }
.br-colwin .br-wfound-l { margin: 0 0 6px; font-size: 13px; color: #6B6B72; }
.br-colwin .br-wfound-row { display: flex; flex-wrap: wrap; gap: 6px; }
.br-colwin .br-wfsw { display: grid; place-items: center; box-sizing: border-box; width: var(--pb-row-btn-h, 32px); height: var(--pb-row-btn-h, 32px); padding: 0; border: 1px solid #D9D8E3; border-radius: var(--pb-row-btn-r, 6px); background: #fff; cursor: pointer; }
.br-colwin .br-wfsw .br-sw { width: 24px; height: 24px; border-radius: 6px; }
/* Session 15b, from Emilie's test: the colours labelled by what they do; the found colours' heading
   and the two in use marked; the logo's versions each on a background it suits; the rights sentence
   beside Save brand in the body text; the website page's main button */
.acw .br-sws { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.acw .br-cv { display: inline-flex; align-items: center; gap: 8px; }
.acw .br-cv-l { font-weight: 700; }
.acw .br-found-h { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: #1A1A2E; }
.acw .br-fsw.on, .br-colwin .br-wfsw.on { border-color: #544FF0; box-shadow: 0 0 0 1px #544FF0; }
.acw .br-fsw .br-sw { width: 24px; height: 24px; }
.acw .br-inuse { font-size: 11px; font-weight: 700; letter-spacing: var(--pb-btn-track, .08em); text-transform: uppercase; color: #544FF0; }
.acw .br-thumb--ver { display: grid; place-items: center; padding: 6px; border-radius: 6px; }
.acw .br-save-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.acw .br-save .br-save-rights { margin: 0; font-size: 16px; line-height: 24px; color: #1A1A2E; }
.acw .br-web-go { flex: none; }
/* The Colours row simplified (Emilie, 25 November): one line, one row, the text colour in words,
   and how an import chose them behind a link, closed by default */
.acw .br-textline { margin: 10px 0 0; display: flex; align-items: center; gap: 8px; }
.acw .br-why { margin-top: 8px; }
.acw .br-why summary { display: inline-block; min-height: 24px; line-height: 24px; cursor: pointer; color: #544FF0; text-decoration: underline; text-underline-offset: 2px; font-size: 14px; list-style: none; }
.acw .br-why summary::-webkit-details-marker { display: none; }
.acw .br-why summary:focus-visible { outline: 2px solid #544FF0; outline-offset: 2px; border-radius: 2px; }
.acw .br-why .br-from { margin: 6px 0 0; }
/* The Colours window (Emilie, 25 November): each chip labelled, the found swatches marked Main and Second */
.br-colwin .br-slot-l { font-weight: 700; }
.br-colwin .br-wfsw { width: auto; min-width: var(--pb-row-btn-h, 32px); display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 6px; }
.br-colwin .br-wfsw .br-inuse { font-size: 11px; font-weight: 700; letter-spacing: var(--pb-btn-track, .08em); text-transform: uppercase; color: #544FF0; }

/* Session 14c (from 15b): the Text chip's line, and a found row left with no swatch (White taken out) */
.br-colwin .br-textnote { margin: 10px 0 0; font-size: 13px; line-height: 18px; color: #4A4A55; }
.br-colwin .br-textnote[hidden] { display: none; }
.br-colwin .br-wfsw[hidden], .br-colwin .br-wfound--none { display: none; }
