/* Harbor › Website: the website studio (public/site-studio.js). Voyage look:
   warm canvas, big rounded white cards, Anton headings, sticker pills.
   Phone first; from 900px the editor gets the side panel. */

.ss { --ss-ink: var(--ink, #16130a); --ss-line: var(--line, rgb(22 19 10 / 10%)); --ss-card: #fff;
  --ss-sun: var(--sun, #ffe14a); --ss-sun-soft: var(--sun-soft, #fff4b8); --ss-hot: var(--hot, #ff5c8a);
  --ss-grape: var(--grape, #7b5cff); --ss-green: var(--green, #167a43); --ss-green-soft: var(--green-soft, #dcf2e4);
  --ss-sky-soft: var(--sky-soft, #e4efff); --ss-cream: var(--cream, #fffbe6);
  color: var(--ss-ink); }
.ss-loading { display: grid; place-items: center; min-height: 40vh; }

/* Overview */
.ss-head { margin: 4px 0 14px; }
.ss-title { font-size: clamp(38px, 7vw, 56px); margin: 0 0 8px; }
.ss-sub { margin: 0 0 18px; max-width: 640px; color: var(--ink-2, rgb(22 19 10 / 72%)); font-size: 16px; line-height: 1.45; }
.ss-tracks { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: var(--ss-card);
  box-shadow: inset 0 0 0 2px var(--ss-ink); max-width: 100%; }
.ss-track { border: 0; background: transparent; color: var(--ss-ink); font: 700 15px/1 var(--font, inherit); padding: 12px 16px;
  border-radius: 999px; cursor: pointer; min-height: 44px; }
.ss-track.is-on { background: var(--ss-ink); color: var(--ss-cream); }
.ss-track-link { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.ss-track:not(.is-on):hover { background: var(--ss-sun-soft); }
.ss-track-sub { margin: 4px 0 14px; color: var(--ink-3, rgb(22 19 10 / 60%)); font-size: 14px; }
.ss-track-sub:empty { display: none; }
.ss-cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .ss-cards { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); } }
.ss-card { background: var(--ss-card); border-radius: 24px; padding: 20px; box-shadow: var(--shadow-card, 0 12px 28px -18px rgb(22 19 10 / 35%));
  border: 2px solid var(--ss-ink); display: grid; gap: 14px; }
.ss-card-top { display: flex; gap: 14px; align-items: center; }
.ss-card-mark { width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--ss-sun); display: grid; place-items: center;
  font-family: var(--font-display, Anton, Impact, sans-serif); font-size: 28px; box-shadow: inset 0 0 0 2px var(--ss-ink); }
.ss-card-name h2 { margin: 0 0 2px; font-size: 20px; line-height: 1.15; }
.ss-card-name a, .ss-work-name a { color: var(--ink-2, rgb(22 19 10 / 72%)); font-size: 14px; display: inline-flex; gap: 4px; align-items: center; }
.ss-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ss-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: #f3f1e8; color: var(--ss-ink); }
.ss-chip-sun { background: var(--ss-sun); }
.ss-chip-green { background: var(--ss-green-soft); color: var(--ss-green); }
.ss-chip-hot { background: var(--hot-soft, #ffe1ea); color: #b4234d; }
.ss-chip-sky { background: var(--ss-sky-soft); }
.ss-chip-quiet { background: transparent; box-shadow: inset 0 0 0 1px var(--ss-line); font-weight: 600; }
.ss-card-note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.ss-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-card-actions .ss-big { flex: 1 1 100%; }
.ss .btn { min-height: 44px; }
.ss-big { min-height: 52px !important; font-size: 16px !important; gap: 8px; }
.ss-empty { background: var(--ss-card); border-radius: 24px; padding: 28px; border: 2px dashed var(--ss-line); text-align: center; }
.ss-empty h2 { margin: 0 0 8px; }
.ss-empty p { margin: 0 0 16px; color: var(--ink-2, rgb(22 19 10 / 72%)); }

/* Workspace */
.ss-work-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; align-items: center; margin-bottom: 12px; }
.ss-back { border: 0; background: transparent; font: 700 14px/1 var(--font, inherit); color: var(--ss-ink); cursor: pointer; padding: 10px 4px; min-height: 44px; }
.ss-work-name { display: flex; flex-direction: column; min-width: 0; }
.ss-work-name strong { font-size: 18px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-tabs { grid-column: 1 / -1; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ss-tabs::-webkit-scrollbar { display: none; }
.ss-tab { flex: none; border: 0; background: var(--ss-card); color: var(--ss-ink); border-radius: 999px; padding: 11px 16px; font: 700 14px/1 var(--font, inherit);
  cursor: pointer; box-shadow: inset 0 0 0 2px var(--ss-ink); min-height: 44px; }
.ss-tab.is-on { background: var(--ss-ink); color: var(--ss-cream); }

.ss-edit { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
.ss-stage-wrap, .ss-panel, .ss-publish { min-width: 0; }
@media (min-width: 900px) {
  .ss-edit { grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: 'stage panel' 'publish publish'; align-items: start; }
  .ss-stage-wrap { grid-area: stage; }
  .ss-panel { grid-area: panel; position: sticky; top: 76px; max-height: calc(100vh - 170px); overflow: auto; }
  .ss-publish { grid-area: publish; }
}
.ss-stage-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.ss-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ss-card); box-shadow: inset 0 0 0 1px var(--ss-line); }
.ss-seg[hidden] { display: none; }
.ss-seg button { border: 0; background: transparent; border-radius: 999px; padding: 9px 13px; font: 700 13px/1 var(--font, inherit); color: var(--ss-ink); cursor: pointer; min-height: 38px; }
.ss-seg button.is-on { background: var(--ss-ink); color: var(--ss-cream); }
.ss-hint { margin: 0 0 8px; font-size: 13px; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.ss-stage { height: calc(100dvh - 300px); min-height: 460px; display: flex; justify-content: center; background:
  radial-gradient(circle at 1px 1px, rgb(22 19 10 / 12%) 1px, transparent 0) 0 0 / 16px 16px, #f3f1e8; border-radius: 24px; overflow: hidden;
  box-shadow: inset 0 0 0 2px var(--ss-ink); }
.ss-stage[hidden] { display: none; }
.ss-frame-box { position: relative; overflow: hidden; background: #fff; max-width: 100%; flex: none; }
.ss-frame-box.is-phone { border-radius: 26px; box-shadow: 0 0 0 6px var(--ss-ink); margin: 0; }
@media (min-width: 900px) { .ss-frame-box.is-phone { margin: 14px 0; height: calc(100% - 28px) !important; } }
.ss-frame { border: 0; display: block; transform-origin: 0 0; background: #fff; }
.ss-frame-loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center;
  background: var(--ss-cream); font-weight: 600; z-index: 1; }
.ss-frame-loading.is-failed strong { font-size: 18px; }
.ss-frame-loading.is-failed span { max-width: 340px; color: var(--ink-2, rgb(22 19 10 / 72%)); font-weight: 500; }
.ss-list { background: var(--ss-card); border-radius: 24px; padding: 16px; box-shadow: inset 0 0 0 2px var(--ss-ink); }
.ss-list[hidden] { display: none; }

.ss-compare { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 8px; border-radius: 16px;
  background: var(--ss-sun); box-shadow: inset 0 0 0 2px var(--ss-ink); }
.ss-compare[hidden] { display: none; }
.ss-compare strong { flex: 1 1 200px; font-size: 14px; }

/* Panel: side panel on desktop, bottom sheet on phones */
.ss-panel { background: var(--ss-card); border-radius: 24px; padding: 16px; box-shadow: inset 0 0 0 2px var(--ss-ink); }
.ss-panel:empty { display: none; }
.ss-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.ss-panel-head h2 { margin: 0; font-size: 18px; line-height: 1.2; }
.ss-panel-head.is-stack { display: block; }
.ss-panel-head p { margin: 4px 0 0; font-size: 13px; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.ss-panel-body { display: grid; gap: 10px; }
.ss-x { border: 0; background: #f3f1e8; width: 40px; height: 40px; flex: none; border-radius: 999px; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ss-ink); }
.ss-note { margin: 0; font-size: 14px; line-height: 1.45; display: block; }
.ss-guide { margin: 0; font-size: 13px; color: var(--ink-2, rgb(22 19 10 / 72%)); line-height: 1.4; }
.ss-guide.is-over { color: #8a5a00; font-weight: 700; }
.ss-thumb { width: 100%; max-height: 200px; object-fit: cover; border-radius: 14px; }
.ss-danger { color: #b4234d !important; }
.ss-list-controls { display: flex; flex-wrap: wrap; gap: 6px; }
.ss-spots { display: grid; gap: 8px; }
.ss-spots-wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ss-spot { text-align: left; border: 0; background: #faf9f4; border-radius: 14px; padding: 12px; cursor: pointer; display: grid; gap: 4px;
  box-shadow: inset 0 0 0 1px var(--ss-line); color: var(--ss-ink); font: inherit; }
.ss-spot:hover { box-shadow: inset 0 0 0 2px var(--ss-grape); }
.ss-spot.has-draft { box-shadow: inset 0 0 0 2px var(--ss-sun), inset 6px 0 0 var(--ss-sun); }
.ss-spot strong { font-size: 14px; }
.ss-spot span { font-size: 13px; color: var(--ink-2, rgb(22 19 10 / 72%)); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ss-spot img { width: 100%; height: 90px; object-fit: cover; border-radius: 10px; }
@media (max-width: 899px) {
  .ss-panel { position: fixed; left: 8px; right: 8px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 160; max-height: 55vh; overflow: auto;
    transform: translateY(120%); transition: transform 260ms var(--ease, ease); box-shadow: inset 0 0 0 2px var(--ss-ink), var(--shadow-pop, 0 24px 48px -20px rgb(22 19 10 / 45%)); }
  .ss-panel.is-open { transform: none; }
  .ss-stage { height: calc(100dvh - 330px); min-height: 420px; border-radius: 18px; }
}

/* Publish bar */
.ss-publish { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 20px;
  background: var(--ss-card); box-shadow: inset 0 0 0 2px var(--ss-ink); position: sticky; bottom: 16px; z-index: 150; }
.ss-publish.has-changes { box-shadow: inset 0 0 0 2px var(--ss-ink), 0 18px 40px -18px rgb(22 19 10 / 55%); }
.ss-publish.has-changes { background: var(--ss-sun-soft); }
.ss-publish-msg { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.ss-publish-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ss-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--ss-green); }
.ss-dot.is-on { background: var(--ss-hot); }
@media (max-width: 899px) {
  .ss-publish { position: sticky; bottom: calc(70px + env(safe-area-inset-bottom)); z-index: 150; padding: 8px 8px 8px 14px; flex-wrap: nowrap; }
  .ss-publish:not(.has-changes) { position: static; }
  .ss-publish:not(.has-changes) .ss-publish-actions { display: none; }
  .ss-publish-msg { font-size: 13px; }
  .ss-publish-actions .btn { min-height: 44px !important; padding: 0 14px; }
  .ss-publish-actions [data-preview-link] { display: none; }
  .ss-stage-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -4px 8px; padding: 0 4px; }
  .ss-stage-bar::-webkit-scrollbar { display: none; }
  .ss-seg { flex: none; }
}
/* The helper button would sit on top of Publish while a page is open. */
body.ss-working #elcano-fab { display: none; }
.ss-publish:not(.has-changes) { position: static; }
.ss-toast { display: flex; align-items: center; gap: 12px; }
.ss-toast button { border: 0; background: var(--ss-sun); color: var(--ss-ink); font-weight: 800; border-radius: 999px; padding: 8px 12px; cursor: pointer; }

/* Sheets */
.ss-sheet { border: 0; padding: 0; width: min(720px, 100%); max-width: 100%; max-height: min(92vh, 900px); border-radius: 28px 28px 0 0; margin: auto 0 0;
  background: #fffdf5; color: var(--ss-ink, #16130a); box-shadow: inset 0 0 0 2px #16130a; overflow: auto; }
.ss-sheet::backdrop { background: rgb(22 19 10 / 45%); }
@media (min-width: 768px) { .ss-sheet { margin: auto; border-radius: 28px; } }
.ss-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 6px; position: sticky; top: 0; background: #fffdf5; z-index: 2; }
.ss-sheet-head h2 { margin: 0; font-size: 26px; }
.ss-sheet-body { padding: 8px 20px 22px; display: grid; gap: 12px; }
.ss-sheet-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.ss-sheet .field { display: grid; gap: 6px; }
.ss-rt { min-height: 120px; max-height: 50vh; overflow: auto; padding: 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 2px #16130a;
  font-size: 16px; line-height: 1.5; outline: none; }
.ss-rt.is-long { min-height: 46vh; }
.ss-rt:focus { box-shadow: inset 0 0 0 3px #7b5cff; }
.ss-rt span[class] { background: linear-gradient(transparent 58%, #ffe14a 58%); }
.ss-rt-tools .rt-btn { min-width: 40px; padding: 0 10px; }
.ss-rt-tools { display: flex; flex-wrap: wrap; gap: 4px; }
.ss-upload { position: relative; cursor: pointer; width: 100%; justify-content: center; }
.ss-swap-pick h3 { margin: 18px 0 8px; font-size: 15px; }
.ss-library { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.ss-library button { border: 0; padding: 0; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: #f3f1e8; }
.ss-library img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ss-library button:hover { outline: 3px solid #7b5cff; }
.ss-crop { display: grid; gap: 12px; }
.ss-crop[hidden] { display: none; }
.ss-crop-stage { position: relative; max-width: 100%; touch-action: none; user-select: none; overflow: hidden; border-radius: 14px; background: #16130a; line-height: 0; }
.ss-crop-stage img { display: block; width: 100%; max-height: 52vh; object-fit: contain; object-position: left top; pointer-events: none; }
.ss-crop-box { position: absolute; box-shadow: 0 0 0 9999px rgb(22 19 10 / 55%); outline: 3px solid #ffe14a; cursor: move; }
.ss-focal { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 999px; border: 3px solid #fff;
  box-shadow: 0 0 0 2px #ff5c8a, 0 2px 8px rgb(0 0 0 / 40%); pointer-events: none; }
.ss-face { position: absolute; border: 2px dashed #fff; border-radius: 8px; pointer-events: none; }
.ss-zoom { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; }
.ss-zoom input { flex: 1; accent-color: #16130a; }
.ss-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.ss-checks li::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 999px; margin-right: 8px; background: #167a43; }
.ss-checks li.is-warn::before { background: #e6a700; }
.ss-checks li.is-bad { color: #b4234d; }
.ss-checks li.is-bad::before { background: #ff5c8a; }
.ss-checks li.is-wait::before { background: #c9c4b4; }
.ss-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ss-item { background: #fff; border-radius: 18px; padding: 12px; box-shadow: inset 0 0 0 1px rgb(22 19 10 / 12%); display: grid; gap: 8px; }
.ss-item-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.ss-field { text-align: left; border: 0; background: #faf9f4; border-radius: 12px; padding: 10px 12px; cursor: pointer; display: grid; gap: 4px; font: inherit; color: inherit; }
.ss-field:hover { box-shadow: inset 0 0 0 2px #7b5cff; }
.ss-field em { font-style: normal; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: rgb(22 19 10 / 60%); }
.ss-field img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; }

/* Web team */
.ss-pane { margin-top: 4px; }
.ss-team { display: grid; gap: 12px; background: var(--ss-card); border-radius: 24px; padding: 18px; box-shadow: inset 0 0 0 2px var(--ss-ink); }
.ss-team-head { display: flex; gap: 14px; align-items: flex-start; }
.ss-team-head h2 { margin: 0 0 6px; font-size: 28px; }
.ss-team-head p { margin: 0 0 6px; font-size: 14px; line-height: 1.45; }
.ss-crew { display: grid; grid-template-columns: repeat(2, 30px); gap: 4px; flex: none; }
.ss-crew span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; box-shadow: inset 0 0 0 2px var(--ss-ink); }
.ss-crew-designer { background: var(--ss-grape); color: #fff; }
.ss-crew-copywriter { background: var(--ss-sun); }
.ss-crew-developer { background: var(--teal, #2fc6c6); }
.ss-crew-tester { background: var(--ss-hot); color: #fff; }
.ss-thread { display: grid; gap: 10px; max-height: 58vh; overflow: auto; padding: 4px 2px; }
.ss-msg { max-width: 88%; padding: 10px 14px; border-radius: 18px; background: #f3f1e8; }
.ss-msg p { margin: 4px 0 0; font-size: 15px; line-height: 1.45; }
.ss-msg-me { justify-self: end; background: var(--ss-ink); color: var(--ss-cream); }
.ss-msg-me .ss-msg-who { color: rgb(255 251 230 / 70%); }
.ss-msg-system { justify-self: center; background: transparent; box-shadow: inset 0 0 0 1px var(--ss-line); font-size: 14px; }
.ss-msg.is-thinking { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.ss-msg-who { font-size: 12px; font-weight: 800; color: rgb(22 19 10 / 60%); }
.ss-proposal { border-radius: 20px; padding: 16px; background: var(--ss-cream); box-shadow: inset 0 0 0 2px var(--ss-ink); display: grid; gap: 8px; }
.ss-proposal.is-proposed { background: #fff; box-shadow: inset 0 0 0 3px var(--ss-ink), 6px 6px 0 var(--ss-sun); }
.ss-proposal.is-declined, .ss-proposal.is-superseded { opacity: .7; }
.ss-proposal-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ss-proposal h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.ss-reason { margin: 0; font-size: 15px; line-height: 1.45; }
.ss-kind { margin: 0; font-size: 13px; font-weight: 700; color: rgb(22 19 10 / 70%); }
.ss-changes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ss-changes li { display: grid; gap: 4px; padding: 10px; border-radius: 12px; background: #faf9f4; }
.ss-changes em { font-style: normal; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: rgb(22 19 10 / 60%); }
.ss-before { text-decoration: line-through; color: rgb(22 19 10 / 55%); font-size: 14px; }
.ss-after { font-weight: 700; font-size: 15px; }
.ss-steps { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.45; }
.ss-proposal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.ss-consent { padding: 16px; border-radius: 18px; background: var(--ss-sun-soft); box-shadow: inset 0 0 0 2px var(--ss-ink); }
.ss-consent h3 { margin: 0 0 6px; }
.ss-consent p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.ss-suggest { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ss-pill { flex: none; border: 0; border-radius: 999px; padding: 9px 13px; background: #f3f1e8; font: 600 13px/1.2 var(--font, inherit); cursor: pointer; color: var(--ss-ink); }
.ss-pill:hover { background: var(--ss-sun); }
.ss-compose { display: flex; gap: 8px; align-items: flex-end; }
.ss-compose textarea { flex: 1; resize: vertical; min-height: 52px; font-size: 16px; }
.ss-compose.is-busy { opacity: .6; pointer-events: none; }

/* Prove it works + History */
.ss-proof, .ss-history { background: var(--ss-card); border-radius: 24px; padding: 18px; box-shadow: inset 0 0 0 2px var(--ss-ink); display: grid; gap: 14px; }
.ss-proof header h2, .ss-history header h2 { margin: 0 0 6px; font-size: 28px; }
.ss-proof header p, .ss-history header p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; max-width: 640px; }
.ss-proof-list, .ss-versions { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ss-check { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 14px; border-radius: 18px; background: #faf9f4; }
.ss-check strong { display: block; font-size: 15px; }
.ss-check p { margin: 4px 0; font-size: 14px; line-height: 1.4; color: rgb(22 19 10 / 75%); }
.ss-check small { font-size: 12px; color: rgb(22 19 10 / 60%); }
.ss-check-status { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.ss-light { width: 16px; height: 16px; margin-top: 2px; border-radius: 999px; background: #c9c4b4; box-shadow: inset 0 0 0 2px rgb(22 19 10 / 25%); }
.ss-check.is-pass .ss-light { background: #22b45d; box-shadow: 0 0 0 4px rgb(34 180 93 / 20%); }
.ss-check.is-pass .ss-check-status { color: var(--ss-green); }
.ss-check.is-fail .ss-light { background: #ff5c8a; box-shadow: 0 0 0 4px rgb(255 92 138 / 22%); }
.ss-check.is-fail .ss-check-status { color: #b4234d; }
.ss-check.is-warning .ss-light { background: #e6a700; }
.ss-check.is-warning .ss-check-status { color: #8a5a00; }
.ss-version { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #faf9f4; }
.ss-version.is-live { background: var(--ss-green-soft); }
.ss-version strong { display: block; font-size: 15px; }
.ss-version span, .ss-version small { font-size: 13px; color: rgb(22 19 10 / 65%); }
.ss-version p { margin: 4px 0 0; font-size: 14px; }
@media (max-width: 599px) {
  .ss-check { grid-template-columns: auto 1fr; }
  .ss-check .btn { grid-column: 2; justify-self: start; }
  .ss-version { flex-direction: column; align-items: flex-start; }
  .ss-team, .ss-proof, .ss-history, .ss-card { border-radius: 20px; padding: 14px; }
  .ss-msg { max-width: 94%; }
}

/* Prove it works › Your page speed (Google PageSpeed Insights) */
.ss-check.is-waiting .ss-light { background: #8db4ff; box-shadow: 0 0 0 4px rgb(141 180 255 / 25%); }
.ss-check.is-waiting .ss-check-status { color: #2f5bb7; }
.ss-speed-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 10px 0 6px; }
.ss-speed-score { display: grid; justify-items: center; gap: 2px; min-width: 104px; padding: 10px 14px 8px; border-radius: 18px; background: var(--ss-card);
  box-shadow: inset 0 0 0 3px #c9c4b4; }
.ss-speed-score b { font-family: var(--font-display, Anton, Impact, sans-serif); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: -.01em; }
.ss-speed-score span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: rgb(22 19 10 / 65%); }
.ss-speed-score.is-good { box-shadow: inset 0 0 0 3px #22b45d; }
.ss-speed-score.is-good b { color: var(--ss-green); }
.ss-speed-score.is-ok { box-shadow: inset 0 0 0 3px #e6a700; }
.ss-speed-score.is-ok b { color: #8a5a00; }
.ss-speed-score.is-bad { box-shadow: inset 0 0 0 3px #ff5c8a; }
.ss-speed-score.is-bad b { color: #b4234d; }
.ss-speed-side { display: grid; gap: 4px; font-size: 15px; font-weight: 700; min-width: 0; }
.ss-speed-was { font-weight: 600; color: rgb(22 19 10 / 70%); }
.ss-speed-was.is-changed { color: var(--ss-ink); }
.ss-speed-metrics { list-style: none; margin: 0 0 4px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ss-speed-metrics li { font-size: 13px; padding: 4px 9px; border-radius: 999px; background: var(--ss-card); box-shadow: inset 0 0 0 1px var(--ss-line); }

/* Settings › Rebuild your site when you publish */
.ss-settings { background: var(--ss-card); border-radius: 24px; padding: 18px; box-shadow: inset 0 0 0 2px var(--ss-ink); display: grid; gap: 14px; }
.ss-settings header h2 { margin: 0 0 6px; font-size: 28px; }
.ss-settings header p { margin: 0; font-size: 14px; line-height: 1.45; max-width: 640px; }
.ss-settings [data-hook] { display: grid; gap: 14px; }
.ss-hook { display: grid; gap: 8px; padding: 14px; border-radius: 18px; background: #faf9f4; }
.ss-hook.is-sent { background: var(--ss-green-soft); }
.ss-hook.is-failed { background: var(--hot-soft, #ffe1ea); }
.ss-hook-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.ss-hook-name code { font-size: 13px; padding: 3px 8px; border-radius: 8px; background: rgb(255 255 255 / 75%); overflow-wrap: anywhere; }
.ss-hook p { margin: 0; font-size: 14px; }
.ss-hook-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-hook-form { display: grid; gap: 8px; }
.ss-hook-label { font-weight: 700; font-size: 14px; }
.ss-hook-row { display: flex; gap: 8px; }
.ss-hook-row .input { flex: 1; min-width: 0; min-height: 44px; font-size: 16px; }
.ss-hook-where summary { cursor: pointer; font-weight: 700; font-size: 14px; min-height: 32px; }
.ss-hook-where ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.ss-publish-msg { flex-wrap: wrap; }
.ss-rebuild-note { flex: 1 1 100%; margin-top: 2px; font-size: 12px; font-weight: 600; color: rgb(22 19 10 / 70%); }
@media (max-width: 599px) {
  .ss-settings { border-radius: 20px; padding: 14px; }
  .ss-hook-row { flex-direction: column; }
  .ss-speed-score b { font-size: 44px; }
}

/* Page manager (one website + many landing pages): summary strip, status, stats, requests, sales. */
.pm-summary { display: grid; gap: 12px; margin: 0 0 16px; padding: 16px; border-radius: 24px; background: var(--ss-card);
  border: 2px solid var(--ss-ink); }
.pm-summary[hidden] { display: none; }
.pm-summary-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pm-count { margin: 0; font-weight: 800; font-size: 15px; flex: 1 1 auto; }
.pm-range { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ss-line); background: #faf8ef; }
.pm-range-btn { border: 0; background: transparent; font: 700 13px/1 var(--font, inherit); padding: 9px 12px; border-radius: 999px; cursor: pointer;
  min-height: 36px; color: var(--ss-ink); }
.pm-range-btn.is-on { background: var(--ss-ink); color: var(--ss-cream); }
.pm-new { gap: 6px; }
.pm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pm-stat { display: grid; gap: 2px; padding: 10px 12px; border-radius: 16px; background: var(--ss-sun-soft); min-width: 0; }
.pm-stat strong { font-family: var(--font-display, Anton, Impact, sans-serif); font-size: clamp(24px, 5vw, 30px); line-height: 1.05;
  font-weight: 400; letter-spacing: .01em; }
.pm-stat span { font-size: 12.5px; font-weight: 700; color: var(--ink-2, rgb(22 19 10 / 72%)); line-height: 1.2; }
.pm-stat.is-waiting { background: #f3f1e8; }
.pm-stat.is-waiting strong { color: var(--ink-3, rgb(22 19 10 / 45%)); }
.pm-card .ss-card-top { align-items: flex-start; }
.pm-card .ss-card-name { flex: 1 1 auto; min-width: 0; }
.pm-card .ss-card-name a { max-width: 100%; overflow-wrap: anywhere; }
.pm-status { flex: none; }
.pm-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ss-chip-sun .pm-dot { background: #b07c00; }
.pm-card.is-draft { border-style: dashed; }
.pm-facts { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.pm-facts strong { color: var(--ss-ink); }
.pm-note { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-3, rgb(22 19 10 / 60%)); }
.pm-requests { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pm-requests li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--ss-sky-soft);
  font-size: 13.5px; font-weight: 600; }
.pm-requests li span { flex: 1 1 auto; min-width: 0; }
.pm-requests li em { font-style: normal; font-weight: 700; font-size: 12px; color: var(--ink-2, rgb(22 19 10 / 72%)); flex: none; }
.pm-after { margin-top: 16px; }
.pm-after:empty { display: none; }
.pm-sales .ss-card-mark { background: var(--ss-green-soft); color: var(--ss-green); }
.pm-sales.is-on .ss-card-mark { background: var(--ss-green); color: #fff; }
.pm-sales-state { font-size: 13px; font-weight: 700; color: var(--ink-2, rgb(22 19 10 / 72%)); }
@media (min-width: 900px) { .pm-sales { max-width: 640px; } }

/* Page manager sheets (they live on <body>, outside .ss). */
.pm-intro { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2, rgb(22 19 10 / 72%)); }
.pm-page-name { margin: 0; font-weight: 800; }
.pm-fieldset { border: 0; padding: 0; margin: 0; }
.pm-fieldset legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.pm-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; min-height: 44px; border-radius: 999px; cursor: pointer;
  box-shadow: inset 0 0 0 2px var(--line, rgb(22 19 10 / 14%)); font-weight: 700; font-size: 14px; background: #fff; }
.pm-choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink, #16130a); background: var(--sun-soft, #fff4b8); }
.pm-choice input { accent-color: var(--ink, #16130a); margin: 0; }
.ss-sheet .field small { color: var(--ink-3, rgb(22 19 10 / 60%)); font-size: 12.5px; font-weight: 500; }
.ss-sheet .field input[type="text"], .ss-sheet .field input[type="date"], .ss-sheet .field select, .ss-sheet .field textarea {
  font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line, rgb(22 19 10 / 14%)); background: #fff;
  width: 100%; box-sizing: border-box; }
.pm-copy { display: flex; gap: 8px; align-items: center; }
.pm-copy code { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; font-size: 13px; padding: 10px 12px; border-radius: 12px;
  background: #f3f1e8; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.pm-copy .btn { flex: none; }
.pm-warn { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--hot-soft, #ffe1ea); font-size: 14px; font-weight: 600; }
.pm-spec { border-top: 1px solid var(--line, rgb(22 19 10 / 10%)); padding-top: 10px; }
.pm-spec summary { cursor: pointer; font-weight: 700; font-size: 14px; min-height: 32px; }
.pm-spec pre { margin: 8px 0; padding: 12px; border-radius: 12px; background: #16130a; color: #fffbe6; overflow-x: auto; font-size: 12px; line-height: 1.5; }
.pm-spec p { margin: 0; font-size: 13px; }
@media (max-width: 420px) {
  .pm-stats { gap: 6px; }
  .pm-stat { padding: 8px 9px; }
  .pm-stat span { font-size: 11.5px; }
}
