/* css/agent-website.css
   Marketing -> Website tab: agent website builder (js/brand-social/website-builder.js).
   Uses the app's existing tokens; coral header band matches .lw-section-coral
   (coral-200 fill, coral-300 border, --ink text, bare coral-500 icon). */

#aw-root { display: block; }
.aw-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.aw-head { display: flex; align-items: center; gap: 12px; padding: 13px 16px; background: var(--coral-200); border-bottom: 1px solid var(--coral-300); color: var(--ink); flex-wrap: wrap; }
.aw-head h3 { margin: 0; font-size: 14px; font-weight: 800; color: var(--ink); }
.aw-head p { margin: 2px 0 0; font-size: 13.5px; color: var(--ink); }
.aw-head-ic { color: var(--coral-500); display: inline-flex; }
.aw-head-ic .aw-ic { width: 20px; height: 20px; }
.aw-head-right { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.aw-body { padding: 16px; }
.aw-ic { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.aw-muted { font-size: 14px; color: var(--dim); margin: 0; line-height: 1.5; }
.aw-warn { font-size: 14px; color: #a4612c; margin: 0; }
.aw-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }

/* buttons */
.aw-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; font: inherit; font-weight: 700; font-size: 14px; padding: 8px 13px; border-radius: 8px; cursor: pointer; white-space: nowrap; text-decoration: none; line-height: 1.2; }
.aw-btn:disabled { opacity: .55; cursor: not-allowed; }
.aw-btn-primary { background: var(--coral-500); color: #fff; }
.aw-btn-ghost { background: #fafafb; color: var(--ink); border: 1px solid var(--border); }
.aw-btn-white { background: rgba(255,255,255,.75); color: var(--ink); border: 1px solid var(--coral-300); }
.aw-btn-lg { padding: 12px 18px; font-size: 14.5px; width: 100%; justify-content: center; }
.aw-link { border: 0; background: none; color: var(--coral-500); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; padding: 0; }
.aw-btn:focus-visible, .aw-link:focus-visible, .aw-step:focus-visible, .aw-tpl:focus-visible, .aw-chip:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 2px; }

/* stepper */
.aw-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.aw-step { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 14px; font-weight: 700; color: var(--dim); padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.aw-step:disabled { cursor: default; }
.aw-step .n { width: 19px; height: 19px; border-radius: 50%; background: var(--border); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.aw-step.done .n { background: var(--teal-500); color: #fff; }
.aw-step.on { color: var(--ink); border-color: var(--coral-300); background: var(--coral-50); }
.aw-step.on .n { background: var(--coral-500); color: #fff; }

/* design step */
.aw-tpl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.aw-tpl-groups { display: flex; flex-direction: column; gap: 22px; }
.aw-tpl-group-h { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.aw-tpl-group-h::before { content: ""; width: 14px; height: 14px; border-radius: 4px; flex: none; }
.aw-tpl-group-dark .aw-tpl-group-h::before { background: linear-gradient(135deg, #1b2a35, #0b0f13); }
.aw-tpl-group-light .aw-tpl-group-h::before { background: #fff; border: 1.5px solid var(--coral-200); }
.aw-tpl-grid.aw-tpl-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1400px) { .aw-tpl-grid.aw-tpl-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .aw-tpl-grid.aw-tpl-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .aw-tpl-grid.aw-tpl-grid-5 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1100px) { .aw-tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .aw-tpl-grid { grid-template-columns: minmax(0, 1fr); } }
.aw-tpl { border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; text-align: left; padding: 0; color: var(--ink); font: inherit; }
.aw-tpl.sel { border-color: var(--coral-500); box-shadow: 0 0 0 3px var(--coral-100); }
.aw-tpl-thumb { position: relative; height: 190px; overflow: hidden; background: #fafafb; }
.aw-tpl-thumb iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 760px; border: 0; transform: scale(.25); transform-origin: 0 0; pointer-events: none; }
.aw-tpl-meta { padding: 10px 12px; }
.aw-tpl-meta strong { display: block; font-size: 14px; }
.aw-tpl-meta span { font-size: 13.5px; color: var(--dim); }
.aw-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }

/* review step */
.aw-split { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .aw-split { grid-template-columns: minmax(0, 1fr); } }
.aw-left { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* Preview column stretches to the height of the settings column (Mark, 2026-10-07) */
.aw-split > .aw-right { min-width: 0; align-self: stretch; display: flex; flex-direction: column; }
.aw-right > .aw-browser { flex: 1 1 auto; display: flex; flex-direction: column; }
.aw-right .aw-frame-wrap { flex: 1 1 auto; }
.aw-chat { border: 1px solid var(--border); border-radius: 11px; background: #fafafb; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.aw-chat-log { display: flex; flex-direction: column; gap: 7px; max-height: 240px; overflow-y: auto; }
.aw-msg { font-size: 14px; line-height: 1.5; padding: 8px 10px; border-radius: 10px; max-width: 88%; white-space: pre-wrap; }
.aw-msg b { display: block; font-size: 13px; margin-bottom: 1px; }
.aw-msg.me { align-self: flex-end; background: #fff; border: 1px solid var(--border); }
.aw-msg.t { align-self: flex-start; background: var(--coral-50); border: 1px solid var(--coral-100); }
.aw-chatbox { display: flex; gap: 6px; }
.aw-chatbox input { flex: 1; min-width: 0; font: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--ink); }
.aw-draft-btn { align-self: flex-start; }
.aw-group { border: 1px solid var(--border); border-radius: 11px; background: #fff; padding: 0 12px; }
.aw-group > summary { cursor: pointer; font-size: 14px; font-weight: 800; padding: 11px 0; list-style-position: inside; }
.aw-group[open] { padding-bottom: 12px; }
.aw-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.aw-field > span { font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.aw-field small { font-size: 13.5px; color: var(--dim); }
.aw-field input, .aw-field textarea, .aw-repeat input, .aw-repeat textarea { font: inherit; font-size: 14px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--ink); width: 100%; resize: vertical; }
.aw-field input:focus, .aw-field textarea:focus, .aw-repeat input:focus, .aw-repeat textarea:focus, .aw-chatbox input:focus { outline: none; border-color: var(--coral-300); box-shadow: 0 0 0 3px var(--coral-50); }
.aw-img-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aw-img-row img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border); }
.aw-img-empty { width: 56px; height: 56px; border-radius: 8px; border: 1px dashed var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--dim); }
.aw-repeat { border: 1px solid var(--border); border-radius: 9px; padding: 8px; margin-bottom: 8px; display: flex; flex-direction: column; gap: 6px; background: #fafafb; }
.aw-repeat-head { display: flex; gap: 8px; align-items: center; }
.aw-repeat-head input { flex: 1; min-width: 0; font-weight: 700; }
.aw-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.aw-chip { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 13.5px; font-weight: 700; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--dim); cursor: pointer; }
.aw-chip.on { background: var(--coral-50); border-color: var(--coral-300); color: var(--ink); }
.aw-browser { border: 1px solid var(--border); border-radius: 11px; overflow: hidden; background: #fff; }
.aw-bbar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #f1f3f5; border-bottom: 1px solid #e1e4e8; }
.aw-bbar > i { width: 9px; height: 9px; border-radius: 50%; background: #d0d4d9; display: inline-block; flex: 0 0 auto; }
.aw-bbar select {
  /* 2026-11-15 (Mark): the native select looked out of place; styled like an
     address bar in the mock browser frame. */
  flex: 1; min-width: 0; max-width: 360px; height: 28px; margin: 0 auto;
  -webkit-appearance: none; appearance: none;
  font-family: 'Inter', system-ui, sans-serif; font-size: 14px; font-weight: 500; color: var(--ink, #111114);
  padding: 0 30px 0 12px; border: 1px solid #e1e4e8; border-radius: 999px; cursor: pointer; text-align: center; text-align-last: center;
  background: #fff 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='%236b7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6-6'/%3E%3C/svg%3E") no-repeat right 11px center;
  box-shadow: 0 1px 1px rgba(16,24,40,.04); transition: border-color .15s ease;
}
.aw-bbar select:hover { border-color: #c9ced6; }
.aw-bbar select:focus-visible { outline: 2px solid var(--coral-300, #f2a68c); outline-offset: 1px; }
.aw-dev { display: flex; gap: 2px; }
.aw-dev button { border: 0; background: transparent; color: #6b7680; padding: 3px 7px; border-radius: 5px; cursor: pointer; font: inherit; font-size: 13.5px; font-weight: 700; }
.aw-dev button.on { background: #fff; color: #0d1b26; }
.aw-frame-wrap { background: #e9ecef; display: flex; justify-content: center; }
.aw-frame-wrap iframe { display: block; width: 100%; min-height: 720px; border: 0; background: #fff; }
.aw-frame-wrap.phone iframe { width: 390px; max-width: 100%; min-height: 720px; border-inline: 1px solid #d5d9de; }

/* launch step */
.aw-launch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 16px; align-items: start; }
@media (max-width: 900px) { .aw-launch { grid-template-columns: minmax(0, 1fr); } }
.aw-checklist { display: flex; flex-direction: column; }
.aw-check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); }
.aw-check:last-child { border-bottom: 0; }
.aw-check strong { font-size: 14px; }
.aw-check p { margin: 2px 0 0; font-size: 13.5px; color: var(--dim); }
.aw-check-ic { width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.aw-check.ok .aw-check-ic { background: rgba(0,149,128,.12); color: var(--teal-500); }
.aw-check.warn .aw-check-ic { background: rgba(219,149,79,.14); color: #a4612c; }
.aw-check.bad .aw-check-ic { background: var(--coral-50); color: var(--coral-500); }
.aw-check.lock .aw-check-ic { background: #fafafb; color: var(--dim); border: 1px dashed var(--border); }
.aw-launch-box { border: 1px solid var(--border); border-radius: 11px; padding: 14px; background: #fafafb; display: flex; flex-direction: column; gap: 10px; }
.aw-url { font-family: ui-monospace, Menlo, monospace; font-size: 14px; word-break: break-all; color: var(--ink); }

/* manage */
.aw-urlbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; background: #fafafb; border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; color: var(--coral-500); }
.aw-urlbar code { font-family: ui-monospace, Menlo, monospace; font-size: 14px; color: var(--ink); word-break: break-all; flex: 1; min-width: 0; }
.aw-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
@media (max-width: 800px) { .aw-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.aw-stat { border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; background: #fff; }
.aw-stat .l { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--dim); }
.aw-stat .v { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; margin-top: 3px; color: var(--ink); }
.aw-stat .aw-v-sm { font-size: 14px; padding-top: 5px; }
.aw-stat .d { font-size: 13.5px; color: var(--dim); }
.aw-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: #fafafb; border: 1px solid var(--border); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--dim); }
.aw-pill.ok { color: var(--teal-500); background: rgba(0,149,128,.1); border-color: rgba(0,149,128,.3); }
.aw-pill.lock { border-style: dashed; }
.aw-pill .aw-ic { width: 12px; height: 12px; }
.aw-manage-foot { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 14px; }

/* hero text color + photo overlay (2026-10-06) */
.aw-color-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.aw-swatch { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); cursor: pointer; padding: 0; position: relative; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--dim); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.aw-swatch.auto { background: repeating-linear-gradient(135deg, #fff 0 4px, #f0f0f2 4px 8px); }
.aw-swatch.on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--coral-500); }
.aw-swatch:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 3px; }
.aw-swatch-custom { background: conic-gradient(#f44, #fd4, #4d6, #4cf, #64f, #f4c, #f44); overflow: hidden; }
.aw-swatch-custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }
.aw-hex { font-family: ui-monospace, Menlo, monospace; font-size: 13.5px; padding: 6px 8px; border: 1px solid var(--border); border-radius: 7px; background: #fafafb; color: var(--ink); min-width: 74px; text-align: center; }
.aw-contrast { font-size: 13.5px; display: none; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 8px; margin: 2px 0 4px; line-height: 1.4; }
.aw-contrast.ok, .aw-contrast.warn, .aw-contrast.bad { display: flex; }
.aw-contrast.ok { background: rgba(0,149,128,.1); color: #0b6f61; }
.aw-contrast.warn { background: rgba(219,149,79,.14); color: #8a4f20; }
.aw-contrast.bad { background: var(--coral-50); color: #a33d1c; }
.aw-contrast-dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); flex: 0 0 auto; }
.aw-range-row { display: flex; align-items: center; gap: 10px; }
.aw-range-row input[type=range] { flex: 1; accent-color: var(--coral-500); }
.aw-range-row output { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 38px; text-align: right; color: var(--ink); }
.aw-picker { position: fixed; inset: 0; z-index: 9999; background: rgba(17,17,20,.55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.aw-picker-box { background: #fff; border-radius: 14px; overflow: hidden; width: min(960px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.aw-picker-box .aw-body { overflow: auto; }
.aw-picker-stage { display: flex; justify-content: center; background: #f1f3f5; border-radius: 10px; padding: 10px; min-height: 120px; align-items: center; }
.aw-picker-canvas { max-width: 100%; max-height: calc(100vh - 260px); width: auto; height: auto; cursor: crosshair; border-radius: 6px; display: block; }
.aw-picker-foot { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.aw-picker-chip { width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(0,0,0,.2); background: #fff; }
.aw-picker-hex { font-family: ui-monospace, Menlo, monospace; font-size: 14px; }

/* parallax switch */
.aw-toggle-row { display: flex; align-items: center; gap: 10px; }
.aw-switch { width: 38px; height: 22px; border-radius: 999px; border: 0; background: #d5d6dc; position: relative; cursor: pointer; flex: 0 0 auto; padding: 0; }
.aw-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s; }
.aw-switch.on { background: var(--coral-500); }
.aw-switch.on::after { left: 19px; }
.aw-switch:disabled { opacity: .5; cursor: not-allowed; }
.aw-switch:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .aw-switch::after { transition: none; } }

/* full-window preview button in the preview bar */
.aw-open-full { display: inline-flex; align-items: center; gap: 5px; border: 1px solid #d5d9de; background: #fff; color: #0d1b26; font: inherit; font-size: 13.5px; font-weight: 700; padding: 4px 9px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.aw-open-full:hover { border-color: var(--coral-300); color: var(--coral-500); }
.aw-open-full .aw-ic { width: 13px; height: 13px; }
.aw-open-full:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 2px; }
.aw-launch-box > .aw-btn { align-self: flex-start; }

/* headshot cropper */
.aw-crop-box { width: min(640px, 100%); }
.aw-crop-layout { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.aw-crop-stage { position: relative; width: 320px; height: 400px; max-width: 100%; overflow: hidden; border-radius: 12px; background: repeating-conic-gradient(#eceef1 0% 25%, #f7f8f9 0% 50%) 50% / 20px 20px; cursor: grab; touch-action: none; user-select: none; flex: 0 0 auto; }
.aw-crop-stage.dragging { cursor: grabbing; }
.aw-crop-stage:focus-visible { outline: 3px solid var(--coral-500); outline-offset: 3px; }
.aw-crop-img { position: absolute; top: 0; left: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.aw-crop-guide { position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); border-radius: 12px; }
.aw-crop-guide::after { content: ""; position: absolute; left: 50%; top: 50%; width: 320px; height: 320px; transform: translate(-50%, -50%); border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.aw-crop-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; }
.aw-crop-side { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 8px; }
.aw-crop-previews { display: flex; align-items: flex-end; gap: 14px; }
.aw-crop-prev-rect { width: 96px; height: 120px; border-radius: 8px; border: 1px solid var(--border); background: #fafafb; }
.aw-crop-prev-circle { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--border); background: #fafafb; }
.aw-crop-box .aw-actions { margin-top: 14px; }

/* Left pane cards in Review use the same gray as the dashboard's top header
   row (.topbar, #F3F3F5) per Mark, 2026-10-06. Inputs and nested items stay
   white so they read clearly on the gray. */
.aw-left .aw-chat, .aw-left .aw-group { background: #f3f3f5; }
.aw-left .aw-repeat { background: #fff; }
.aw-left .aw-hex { background: #fff; }

/* Sections: checkboxes instead of pills (Mark, 2026-10-06) */
.aw-check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; margin-bottom: 8px; }
.aw-check-opt { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); padding: 5px 2px; cursor: pointer; }
.aw-check-opt input { width: 16px; height: 16px; margin: 0; accent-color: var(--coral-500); cursor: pointer; flex: 0 0 auto; }

/* ===== Review left column: grouped panels (Option A, Mark 2026-10-06) ===== */
.aw-group { padding: 0 12px; }
.aw-group > summary { display: flex; align-items: center; gap: 7px; list-style: none; padding: 12px 0; font-size: 14px; }
.aw-group > summary::-webkit-details-marker { display: none; }
.aw-group-chev { display: inline-flex; color: var(--dim); transition: transform .15s; }
.aw-group-chev .aw-ic { width: 13px; height: 13px; }
.aw-group[open] .aw-group-chev { transform: rotate(90deg); }
.aw-group-count { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--dim); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; font-variant-numeric: tabular-nums; }
.aw-group[open] { padding-bottom: 12px; }
.aw-group-body { display: flex; flex-direction: column; gap: 10px; }

.aw-panel { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 12px; min-width: 0; }
.aw-panel-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; min-height: 22px; }
.aw-panel-h strong { font-size: 14px; font-weight: 800; color: var(--ink); min-width: 0; flex: 1; display: flex; }
.aw-panel-ic { width: 22px; height: 22px; border-radius: 6px; background: var(--coral-50); color: var(--coral-500); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.aw-panel-ic .aw-ic { width: 13px; height: 13px; }
.aw-panel-right { margin-left: auto; display: inline-flex; align-items: center; flex: 0 0 auto; }
.aw-panel-hint { display: block; font-size: 13.5px; color: var(--dim); line-height: 1.45; margin-top: 8px; }
.aw-panel > .aw-panel-hint:first-child { margin-top: 0; }

.aw-lbl { display: block; font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.aw-stack + .aw-stack { margin-top: 10px; }
.aw-stack .aw-lbl { margin-bottom: 5px; }
.aw-stack small { display: block; font-size: 13.5px; color: var(--dim); margin-top: 5px; }
.aw-inp { width: 100%; font: inherit; font-size: 14px; line-height: 1.45; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--ink); resize: vertical; }
.aw-inp:focus, .aw-title-inp:focus { outline: none; border-color: var(--coral-300); box-shadow: 0 0 0 3px var(--coral-50); }
.aw-inp-sm { padding: 6px 9px; font-size: 14px; }
.aw-title-inp { width: 100%; min-width: 0; font: inherit; font-size: 14px; font-weight: 800; color: var(--ink); border: 1px solid transparent; border-radius: 6px; padding: 2px 6px; margin-left: -6px; background: transparent; }
.aw-title-inp:hover { border-color: var(--border); }

.aw-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.aw-row-l { min-width: 0; flex: 0 1 auto; }
.aw-row-l small { display: block; font-size: 13.5px; color: var(--dim); margin-top: 2px; line-height: 1.35; }
.aw-row-c { flex: 0 1 60%; display: flex; justify-content: flex-end; min-width: 0; }
.aw-row-c .aw-range-row { width: 100%; }
.aw-row-c .aw-inp { flex: 1; }

.aw-seg { display: inline-flex; background: #ececf0; border-radius: 8px; padding: 2px; gap: 2px; }
.aw-seg button { border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--dim); padding: 5px 9px; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.aw-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.aw-seg button:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 1px; }

.aw-img-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.aw-img-thumb { width: 64px; height: 44px; border-radius: 7px; object-fit: cover; border: 1px solid var(--border); flex: 0 0 auto; }
.aw-img-thumb.tall { width: 44px; height: 55px; }
.aw-img-thumb.empty { display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: var(--dim); border-style: dashed; background: #fafafb; }

.aw-panel .aw-color-row { margin-bottom: 8px; }
.aw-panel .aw-color-row:last-of-type { margin-bottom: 0; }
.aw-panel .aw-hex { margin-left: auto; min-width: 0; padding: 5px 7px; font-size: 13.5px; }
.aw-panel-right .aw-contrast { margin: 0; padding: 3px 8px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.aw-panel-right .aw-contrast-dot { width: 7px; height: 7px; border: 0; background: currentColor; }

.aw-add-btn { align-self: flex-start; }
.aw-panel .aw-check-list { margin-bottom: 0; }
.aw-fixed-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); padding: 5px 0; }
.aw-fixed-item .aw-ic { color: var(--teal-500); width: 14px; height: 14px; }
.aw-fixed-item small { font-weight: 500; color: var(--dim); font-size: 13.5px; }
.aw-fixed-item.locked { color: var(--dim); }
.aw-fixed-item.locked .aw-ic { color: var(--dim); }

/* the Taylor card shares the same panel language */
.aw-left .aw-chat { padding: 12px; }
@media (prefers-reduced-motion: reduce) { .aw-group-chev { transition: none; } }
.aw-panel .aw-hex { display: none; } /* the custom color swatch shows the exact value */
.aw-panel .aw-row-c { flex-basis: 58%; }

/* movable round-photo circle in the cropper (Mark: let the circle reach the top) */
.aw-crop-guide::after { content: none; }
.aw-crop-circle { position: absolute; left: 0; width: 320px; height: 320px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(0,0,0,.18); pointer-events: none; }
.aw-crop-handle { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: 28px; height: 24px; border-radius: 8px; background: #fff; color: var(--ink); border: 1px solid rgba(0,0,0,.2); box-shadow: 0 2px 6px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; cursor: ns-resize; pointer-events: auto; touch-action: none; }

/* multiple hero photos */
.aw-hero-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.aw-hero-thumb { position: relative; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: #fafafb; }
.aw-hero-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aw-hero-n { position: absolute; left: 5px; top: 5px; min-width: 18px; height: 18px; border-radius: 999px; background: rgba(17,17,20,.75); color: #fff; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.aw-hero-acts { position: absolute; right: 4px; bottom: 4px; display: flex; gap: 3px; }
.aw-hero-acts button { width: 22px; height: 22px; border-radius: 6px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-family: var(--font, inherit); cursor: pointer; padding: 0; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.aw-hero-acts button:disabled { opacity: .4; cursor: default; }
.aw-hero-acts button:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 1px; }
.aw-hero-add { aspect-ratio: 3 / 2; border: 1.5px dashed var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--coral-500); cursor: pointer; background: #fafafb; padding: 4px; }
.aw-hero-add:hover { border-color: var(--coral-300); }
.aw-hero-add:focus-within { outline: 2px solid var(--coral-500); outline-offset: 2px; }

/* ---- extras (2026-10-07): map pins, video, background photos ---- */
.aw-area-map { border-radius: 10px; overflow: hidden; border: 1px solid var(--border, #e3e3e8); background: #cfe3e4; margin: 4px 0 6px; }
.aw-area-map-wait { min-height: 160px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 14px; color: var(--dim); background: #eef0f2; }
.aw-amap-svg { display: block; width: 100%; height: auto; max-height: 360px; cursor: crosshair; touch-action: none; }
.aw-amap-svg .b-sea { fill: #cfe3e4; } .aw-amap-svg .b-land { fill: #e6eadc; stroke: #c9d0bb; } .aw-amap-svg .b-home { fill: #fbfbf5; stroke: var(--coral-300, #f2a98e); stroke-dasharray: 5 3; }
.aw-amap-svg .b-lake { fill: #cfe3e4; } .aw-amap-svg .b-river { fill: none; stroke: #93c5cc; stroke-width: 1.2; }
.aw-amap-svg .b-hwy { fill: none; stroke: #e5b14f; stroke-width: 2.4; stroke-linecap: round; } .aw-amap-svg .b-area { fill: rgba(232, 96, 60, .2); stroke: #e8603c; stroke-width: .9; }
.aw-amap-svg .b-pin { cursor: grab; } .aw-amap-svg .b-pin circle { fill: #e8603c; stroke: #fff; }
.aw-amap-svg .b-pin text { font-family: Inter, system-ui, sans-serif; font-weight: 700; fill: #1c2a2d; paint-order: stroke; stroke: #fff; stroke-linejoin: round; pointer-events: none; }
.aw-pin-chip { display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600; border-radius: 999px; padding: 2px 8px; margin-right: 8px; background: #f0f0f3; color: #555; }
.aw-pin-chip.on { background: #e7f6ec; color: #1d6b3a; }
.aw-pin-chip.warn { background: #fff4d6; color: #7a5200; }
.aw-row-btns { display: flex; gap: 8px; margin: 2px 0 10px; }
.aw-warn-txt { color: #a23b1d; }
.aw-bg-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #ececf0; }
.aw-bg-row:first-of-type { border-top: 0; }
.aw-bg-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.aw-bg-main strong { font-size: 14px; }
.aw-bg-main small { font-size: 13.5px; color: var(--dim); }
.aw-bg-main .aw-range-row { margin: 0; }
.aw-bg-acts { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.aw-btn-sm { padding: 5px 10px; font-size: 14px; }

/* ---------- Manage view, layout A (2026-10-10): one card, hairline sections ---------- */
#brand-social-website-panel { margin: 20px 0 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
.aw-live { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); background: var(--teal-100); border-radius: 999px; padding: 4px 10px; }
.aw-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal-500); }
.aw-mrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 13px 16px; border-bottom: 1px solid #ececef; color: var(--coral-500); }
.aw-mrow code { font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); word-break: break-all; min-width: 0; }
.aw-mrow-domain { padding-top: 10px; padding-bottom: 10px; }
.aw-mdom-t { font-size: 14px; font-weight: 700; color: var(--ink); }
.aw-mdom-ex { font-family: inherit; font-size: 14px; color: var(--dim); }
.aw-mstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.aw-mstat { display: flex; flex-direction: column; gap: 4px; padding: 16px; min-width: 0; }
.aw-mstat + .aw-mstat { border-left: 1px solid #ececef; }
.aw-mstat .l { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.aw-mstat .v { font-size: 24px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--ink); }
.aw-mstat .v .aw-pill { font-size: 13px; vertical-align: middle; }
.aw-mstat .d { font-size: 13.5px; color: var(--dim); }
@media (max-width: 800px) {
  .aw-mstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aw-mstat:nth-child(3) { border-left: 0; }
  .aw-mstat:nth-child(n+3) { border-top: 1px solid #ececef; }
}
.aw-mfoot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 11px 16px; border-top: 1px solid #ececef; background: #fafafb; }
.aw-mstatus { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--dim); }
.aw-mstatus i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral-300); flex: none; }
.aw-mstatus.ok i { background: var(--teal-500); }
.aw-grow { flex: 1; }
.aw-link-quiet { color: var(--dim) !important; font-weight: 600; }
.aw-link-quiet:hover { color: var(--ink) !important; }

/* Take site offline as an outlined button that turns red on hover (2026-10-18) */
/* Same coral language as the Transactions "Needs attention" pill (.tc-attn-pill). */
.aw-btn.aw-btn-offline { background: rgba(224,122,95,.1); border: 1px solid rgba(224,122,95,.35); color: var(--coral-500); border-radius: 999px; transition: background .12s, border-color .12s; }
.aw-btn.aw-btn-offline:hover { background: rgba(224,122,95,.18); border-color: rgba(224,122,95,.5); color: var(--coral-500); }

/* Home page sections in order, and the blog and newsletter switches (2026-10-30, website-blog-news.js) */
.aw-ord-tip { margin: 0 0 8px; font-size: 14px; color: var(--dim); }
.aw-ord-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.aw-ord { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid transparent; border-radius: 9px; background: #fff; }
.aw-ord:hover { border-color: var(--border); }
.aw-ord.locked { background: #fafafb; }
.aw-ord.dragging { opacity: .4; }
.aw-ord.over { border-color: var(--coral-500); background: #fdf1ed; }
.aw-ord-grip { color: #a3a3ad; cursor: grab; display: inline-flex; flex: 0 0 auto; }
.aw-ord.locked .aw-ord-grip { visibility: hidden; }
.aw-ord-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.aw-ord-name small { font-weight: 500; color: var(--dim); font-size: 13.5px; margin-left: 4px; }
.aw-ord.off .aw-ord-name { color: #9a9aa3; }
.aw-ord-mv { width: 24px; height: 24px; border-radius: 6px; border: 1px solid var(--border); background: #fff; color: var(--dim); cursor: pointer; font-size: 14px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.aw-ord-mv:hover:not(:disabled) { color: var(--coral-500); border-color: var(--coral-300); }
.aw-ord-mv:disabled { opacity: .35; cursor: default; }
.aw-ord-mv:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 1px; }
.aw-sw { position: relative; width: 34px; height: 20px; flex: 0 0 auto; display: inline-block; }
.aw-sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.aw-sw > span { position: absolute; inset: 0; border-radius: 999px; background: #d6d6dc; transition: background .15s; }
.aw-sw > span::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.aw-sw input:checked + span { background: var(--coral-500); }
.aw-sw input:checked + span::after { transform: translateX(14px); }
.aw-sw input:focus-visible + span { outline: 2px solid var(--coral-500); outline-offset: 2px; }
.aw-sw input:disabled { cursor: default; }
.aw-sw input:disabled + span { background: #ececef; }
.aw-sw input:disabled:checked + span { background: #f3c3b4; }
.aw-flags { display: flex; flex-direction: column; gap: 10px; }
.aw-flag { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.aw-flag > span:first-child { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; color: var(--ink); }
.aw-flag small { display: block; font-weight: 500; color: var(--dim); font-size: 13.5px; margin-top: 1px; }
@media (prefers-reduced-motion: reduce) { .aw-sw > span, .aw-sw > span::after { transition: none; } }

/* Blog builder: photo description (2026-10-31) */
.bl-alt { margin-top: 14px; }
.bl-alt-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 5px; }
.bl-alt-h .aw-lbl { margin: 0; }
.bl-alt-why { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--dim); }
.bl-alt-ai { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.bl-alt-ai svg { width: 13px; height: 13px; }
.bl-alt-ai[disabled] { opacity: .6; cursor: default; }
.bl-alt-state { font-weight: 700; color: var(--ink, #2a2d36); }

/* Blog and Newsletter tabs (2026-10-31, Mark): no outer box and no gap under
   the tabs, so every step sits in the same place. The outer panel border
   added nothing, and its top spacing made steps jump: steps tall enough to
   scroll lost the gap, shorter ones kept it. */
#brand-social-blog-panel,
#brand-social-newsletter-panel { margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }

/* Website tab: Menu at the top (2026-10-31) */
.aw-menu-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.aw-menu-name small { font-size: 13.5px; color: var(--dim); font-weight: 500; }
.aw-menu-inp { padding: 5px 8px; font-size: 14px; font-weight: 700; }
.aw-menu-row.off .aw-menu-inp { color: var(--dim); }
.aw-menu-phone { margin-top: 10px; }

/* Website tab: settings as accordion rows in a coral-header card, matching the
   listing checklist (2026-10-31). */
.aw-acc { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; }
.aw-acc-head { padding: 13px 18px; background: var(--coral-200); border-bottom: 1px solid var(--coral-300); }
.aw-acc-head h3 { margin: 0; font-size: 15px; font-weight: 800; color: var(--ink); }
.aw-acc-head p { margin: 2px 0 0; font-size: 14px; color: var(--ink); }
.aw-acc-list { display: flex; flex-direction: column; }
.aw-left .aw-acc .aw-group, .aw-acc .aw-group { background: #fff; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0; }
.aw-acc .aw-group:last-child { border-bottom: 0; }
.aw-acc .aw-group > summary { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 14px; gap: 12px; align-items: center; padding: 12px 18px; font-size: 14px; }
.aw-acc .aw-group > summary:hover { background: color-mix(in srgb, var(--coral-50) 45%, transparent); }
.aw-acc .aw-group > summary:focus-visible { outline: 2px solid var(--coral-500); outline-offset: -2px; }
.aw-acc .aw-group[open] { padding-bottom: 0; }
.aw-acc .aw-group[open] > summary { background: color-mix(in srgb, var(--coral-50) 60%, transparent); }
.aw-acc-ic { width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: var(--coral-50); color: var(--coral-500); }
.aw-acc-ic .aw-ic { width: 17px; height: 17px; }
.aw-acc-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aw-acc-t strong { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.aw-acc-t small { font-size: 14px; font-weight: 500; color: var(--slate, var(--dim)); }
.aw-acc .aw-group-count { margin-left: 0; }
.aw-acc .aw-group-chev { grid-column: 4; justify-self: end; }
.aw-acc .aw-group-body { padding: 14px 18px 16px; background: #fafafb; border-top: 1px solid var(--border); }
.bl-add-sec { align-self: flex-start; }
.aw-left > .aw-acc + .aw-btn { margin-top: -4px; }

/* 2026-10-31 (Mark): a card's action row that sits right inside the card
   (not inside .aw-body), like the newsletter builder's "Write it with
   Taylor" row, gets the body's padding so the button isn't pressed against
   the card's bottom-right edge. */
.aw-card > .aw-actions { margin-top: 0; padding: 0 16px 16px; }

/* 2026-11-15: way back from Edit site, and publishing from the preview. */
.aw-back { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 4px 0; border: 0; background: none; color: var(--dim); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.aw-back:hover { color: var(--ink); }
.aw-back svg { width: 16px; height: 16px; }
.aw-dirty-bar { margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--coral-300); border-radius: 10px; background: #fff7f4; font-size: 14px; }
.aw-dirty-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aw-dirty-top > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.aw-dirty-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral-300); flex: none; }
.awc-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.awc-list li { padding: 8px 10px; background: #fff; border: 1px solid #f1e3dd; border-radius: 8px; }
.awc-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.awc-diff { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; font-size: 14px; line-height: 1.45; }
.awc-diff span { display: block; font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--dim); margin-bottom: 2px; }
.awc-was { color: var(--dim); }
.awc-note { margin: 8px 0 0; font-size: 14px; color: var(--dim); }
@media (max-width: 760px) { .awc-diff { grid-template-columns: 1fr; } }
.aw-taylor-tip { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; background: #f6f6f8; font-size: 14px; color: var(--dim); }
.aw-taylor-tip svg { width: 16px; height: 16px; flex: none; color: var(--coral-500, #d0643f); }
.aw-taylor-tip span { flex: 1; }

/* 2026-11-15 (Mark): ascent-select.js replaces the preview page <select> with
   a button (.as-btn) that only inherits a select's class; this one had none,
   so it showed browser-default button styling. */
.aw-bbar .as-btn {
  flex: 0 1 320px; min-width: 0; height: 28px; margin: 0 auto;
  font-family: 'Inter', system-ui, sans-serif; font-size: 14px; font-weight: 500; color: var(--ink, #111114);
  padding: 0 10px 0 14px; background: #fff; border: 1px solid #e1e4e8; border-radius: 999px;
  box-shadow: 0 1px 1px rgba(16,24,40,.04); transition: border-color .15s ease;
}
.aw-bbar .as-btn:hover { border-color: #c9ced6; }
.aw-bbar .as-btn:focus-visible { outline: 2px solid var(--coral-300, #f2a68c); outline-offset: 1px; }
.aw-bbar .as-btn .as-txt { text-align: center; }
.aw-bbar .as-btn .as-chev svg { width: 14px; height: 14px; }
