@charset "UTF-8";
/* Guided setup (app/src/setup.js): the step list, the progress ring, and the step-complete moment. */

#app .su { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
#app .su-head { display: flex; gap: 26px; align-items: center; padding: 26px 28px; border-radius: 16px; background: rgba(255, 255, 255, .8) !important; border: 1px solid rgba(28, 28, 28, .08); }
#app .su-head h2 { margin: 4px 0 8px; }
#app .su-head p { margin: 0; color: var(--muted); max-width: 60ch; font-size: 15px; }
#app .su-finish { margin-top: 14px; background: #1F9D55 !important; border-color: #1F9D55 !important; }
#app .su.all-done .su-head { border-color: rgba(31, 157, 85, .4); background: rgba(236, 248, 241, .9) !important; }
#app .su.all-done .su-ring b { color: #1F9D55 !important; }

/* the ring */
:is(#app, #modal-root) .su-ring { --size: 120px; position: relative; display: inline-grid; place-items: center; width: var(--size); height: var(--size); flex: none; }
:is(#app, #modal-root) .su-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; }
:is(#app, #modal-root) .su-ring-track { fill: none; stroke: rgba(28, 28, 28, .1); stroke-width: 7; }
:is(#app, #modal-root) .su-ring-arc { fill: none; stroke: #1F9D55; stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.2, .7, .2, 1); }
:is(#app, #modal-root) .su-ring b { font: 600 calc(var(--size) * .26) var(--head) !important; letter-spacing: -0.02em; color: var(--ink) !important; line-height: 1; font-feature-settings: "lnum" 1, "tnum" 1; }
:is(#app, #modal-root) .su-ring b i { font-style: normal; font-size: .55em; margin-left: 1px; color: var(--muted); }
:is(#app, #modal-root) .su-ring small { position: absolute; bottom: calc(var(--size) * .2); font: 500 11px var(--caps) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--muted) !important; }

/* the steps */
#app .su-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
#app .su-step { border-radius: 14px; background: rgba(255, 255, 255, .82) !important; border: 1px solid rgba(28, 28, 28, .08); overflow: hidden; transition: border-color .2s; }
#app .su-step.open { border-color: var(--ink); }
#app .su-step-head { all: unset; display: flex; gap: 14px; align-items: center; width: 100%; box-sizing: border-box; padding: 14px 18px; cursor: pointer; }
#app .su-step-head:hover { background: rgba(28, 28, 28, .03); }
#app .su-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 14px var(--sans); border: 1.5px solid var(--ink); color: var(--ink); background: #fff !important; }
#app .su-step.done .su-n { background: #1F9D55 !important; color: #fff; border-color: #1F9D55; animation: su-tick .5s cubic-bezier(.2, .9, .2, 1.4) both; }
@keyframes su-tick { from { transform: scale(.6); } }
#app .su-step.done .su-title small { color: #1F9D55; font-weight: 600; }
#app .su-step.done { border-color: rgba(31, 157, 85, .35); background: rgba(236, 248, 241, .9) !important; opacity: 1; }
#app .su-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#app .su-title b { font: 600 17px var(--sans); color: var(--ink); }
#app .su-title small { font-size: 12.5px; color: var(--muted); }
#app .su-step.open .su-title small { color: var(--accent, #1C1C1C); font-weight: 600; }
#app .su-body { padding: 4px 18px 18px 64px; display: flex; flex-direction: column; gap: 12px; }
#app .su-why { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
#app .su-how { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--ink); }
#app .su-field { display: flex; flex-direction: column; gap: 6px; max-width: 420px; }
#app .su-hint { font-size: 12.5px; color: var(--muted); }
#app .su-state { margin: 0; font-size: 13.5px; font-weight: 600; color: #8A5A12; }
#app .su-state.ok, #app .su-ok { color: #1F6F43 !important; font-weight: 600; font-size: 14px; }
#app .su-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink); cursor: pointer; }
#app .su-check input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; }
#app .su-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
#app .su-skip { margin: 0; font-size: 13.5px; color: var(--muted); }
#app .su-drop, .dialog .su-drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 18px; border: 2px dashed rgba(28, 28, 28, .25); border-radius: 12px; cursor: pointer; text-align: center; background: rgba(255, 255, 255, .6) !important; transition: border-color .2s, background .2s; }
#app .su-drop:hover, .dialog .su-drop:hover { border-color: var(--ink); background: #fff !important; }
#app .su-drop input, .dialog .su-drop input { display: none; }
#app .su-drop b, .dialog .su-drop b { font: 600 16px var(--sans); }
#app .su-drop span, .dialog .su-drop span { font-size: 13px; color: var(--muted); }
#app .su-drop-folder { padding: 14px 18px; border-style: solid; border-width: 1px; }
#app .su-list { display: flex; flex-direction: column; gap: 6px; }
#app .su-row { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(28, 28, 28, .035) !important; font-size: 14.5px; }
#app .su-row small { color: var(--muted); margin-left: auto; font-size: 12.5px; }
#app .su-side { justify-content: space-between; flex-wrap: wrap; }
#app .su-side-btns { display: flex; gap: 6px; }
#app .su-client { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(150px, 1fr) auto auto; gap: 8px 12px; align-items: center; }
#app .su-who { display: flex; flex-direction: column; min-width: 0; }
#app .su-who b { font-weight: 600; }
#app .su-who small { margin: 0; }
#app .su-client input[type="tel"] { height: 36px !important; font-size: 14px !important; }
#app .su-client .consent-check { font-size: 12.5px; white-space: nowrap; }
@media (max-width: 720px) {
  #app .su-head { flex-direction: column; align-items: flex-start; }
  #app .su-body { padding-left: 18px; }
  #app .su-client { grid-template-columns: 1fr; }
}

/* the moment a step completes */
#modal-root .su-cheer-wrap { display: grid; place-items: center; }
#modal-root .su-cheer { position: relative; width: min(440px, calc(100vw - 32px)); padding: 36px 32px 28px; border-radius: 22px; background: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: su-pop .55s cubic-bezier(.2, .9, .2, 1.2) both; }
@keyframes su-pop { from { transform: scale(.86); opacity: 0; } }
#modal-root .su-cheer h2 { margin: 0; font-size: 26px !important; }
#modal-root .su-cheer .eyebrow { color: #1F9D55 !important; font-weight: 700 !important; }
#modal-root .su-cheer .su-ring b { color: #1F9D55 !important; }
#modal-root .su-cheer .su-ring b i { color: #1F9D55; }
#modal-root .su-next { background: #1F9D55 !important; border-color: #1F9D55 !important; box-shadow: 0 8px 24px -8px rgba(31, 157, 85, .6) !important; }
#modal-root .su-next:hover { background: #1A8A4A !important; }
#modal-root .su-cheer p { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
#modal-root .su-cheer .eyebrow { margin-top: 8px; }
#modal-root .su-cheer-ring { margin-bottom: 6px; }
#modal-root .su-next { font-size: 15px !important; padding: 12px 20px !important; }
#modal-root .su-later { margin-top: 2px; font-size: 13px; color: var(--muted) !important; }
#modal-root .su-burst { position: absolute; left: 50%; top: 110px; width: 0; height: 0; pointer-events: none; }
#modal-root .su-burst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #1F9D55; opacity: 0; transform: rotate(var(--a)) translateY(0); animation: su-burst .9s cubic-bezier(.1, .8, .3, 1) var(--d) both; }
#modal-root .su-burst i:nth-child(3n) { background: #7FD6A4; } #modal-root .su-burst i:nth-child(4n) { background: #F0C34E; width: 6px; height: 6px; }
@keyframes su-burst { 0% { opacity: 0; transform: rotate(var(--a)) translateY(0) scale(.6); } 15% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-150px) scale(1); } }
@media (prefers-reduced-motion: reduce) { #modal-root .su-burst { display: none; } #modal-root .su-cheer { animation: none; } :is(#app, #modal-root) .su-ring-arc { transition: none; } }

/* the small reminder on other pages while setup is unfinished */
#app .su-banner { display: flex; gap: 12px; align-items: center; margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .85) !important; border: 1px solid rgba(28, 28, 28, .1); font-size: 14px; }
#app .su-banner .su-ring { --size: 36px; }
#app .su-banner .su-ring b { font-size: 11px !important; }
#app .su-banner .su-ring small { display: none; }
#app .su-banner .gap { flex: 1; }

/* what's inside a weekly update: three small tiles, lit as they come online */
#app .su-inside { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1000px) { #app .su-inside { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
#app .su-tile { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(28, 28, 28, .1); background: #fff !important; }
#app .su-tile b { font: 600 14.5px var(--sans); color: var(--ink); }
#app .su-tile span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
#app .su-tile em { margin-top: 6px; align-self: flex-start; font: 600 11px var(--caps) !important; letter-spacing: .08em !important; text-transform: uppercase !important; font-style: normal; padding: 3px 8px; border-radius: 999px; background: rgba(28, 28, 28, .07); color: var(--muted); }
#app .su-tile.on { border-color: rgba(31, 157, 85, .4); background: rgba(236, 248, 241, .9) !important; }
#app .su-tile.on em { background: #1F9D55; color: #fff; }
#app .su-tile.soon { border-style: dashed; }
#app .su-tile.soon em { background: rgba(28, 28, 28, .07); color: var(--ink); }
@media (max-width: 640px) { #app .su-inside { grid-template-columns: 1fr; } }

#app .su-client-none { grid-template-columns: minmax(0, 1fr) auto; }
#app .su-who small .linkish { font-size: 12px; }

/* getting the calendar link from the phone to this computer */
#app .cal-bridge { margin: 18px 0 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(28, 28, 28, .1); background: rgba(255, 255, 255, .85) !important; display: flex; flex-direction: column; gap: 12px; }
#app .cal-bridge-head { display: flex; flex-direction: column; gap: 2px; }
#app .cal-bridge-head b { font: 600 16px var(--sans); color: var(--ink); }
#app .cal-bridge-tabs { align-self: flex-start; }
#app .cal-bridge-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }

/* inside setup, the main buttons are green: doing the next thing should feel like progress */
#app .su .btn:not(.ghost):not(.linkish), #app .su button.btn:not(.ghost) { background: #1F9D55 !important; border-color: #1F9D55 !important; color: #fff !important; }
#app .su .btn:not(.ghost):hover { background: #1A8A4A !important; border-color: #1A8A4A !important; }
#app .su .cr-switch button.on, #app .su .cal-bridge-tabs button.on { background: #1F9D55 !important; color: #fff !important; }
#app .su .su-n { border-color: #1F9D55; color: #1F9D55; }
#app .su-step.open { border-color: #1F9D55; }
#app .su-step.open .su-title small { color: #1F9D55; }

#app .su-dot-live { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #2F5A9E; background: #EEF3FB !important; flex: none; margin-right: 7px; }

/* The last step: fireworks behind the card, the card glows, the ring is bigger. */
#modal-root .su-cheer-wrap.final { background: rgba(10, 30, 18, .78) !important; }
#modal-root .su-fireworks { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 0; }
#modal-root .su-cheer.final { position: relative; z-index: 1; width: min(520px, calc(100vw - 32px)); padding: 44px 36px 34px; animation: su-pop .65s cubic-bezier(.2, .9, .2, 1.2) both, su-glow 2.4s ease-in-out .4s infinite alternate; }
#modal-root .su-cheer.final h2 { font-size: 34px !important; }
#modal-root .su-cheer.final p { font-size: 16px; max-width: 40ch; }
#modal-root .su-cheer.final .su-next { font-size: 17px; padding: 14px 26px; }
@keyframes su-glow { from { box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 0 0 0 rgba(31, 157, 85, .0); } to { box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 0 0 14px rgba(31, 157, 85, .18), 0 0 90px rgba(31, 157, 85, .55); } }
@media (prefers-reduced-motion: reduce) { #modal-root .su-cheer.final { animation: none; } #modal-root .su-fireworks { display: none; } }

/* Add-sellers window: one row per listing with no seller to update. */
.sq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.sq-row { display: grid; grid-template-columns: minmax(160px, 1.2fr) 1.3fr 1fr 1.2fr auto; gap: 8px; align-items: center; padding: 12px; border: 1px solid var(--line, #e5e1d8); border-radius: 12px; }
.sq-row input[type="text"], .sq-row input:not([type]), .sq-row input[type="tel"], .sq-row input[type="email"] { min-width: 0; width: 100%; }
.sq-addr { display: flex; flex-direction: column; min-width: 0; }
.sq-addr b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sq-addr small { color: var(--muted, #777); }
.sq-btns { display: flex; gap: 10px; align-items: center; grid-column: 1 / -1; justify-content: flex-end; }
.sq-row .consent-check { white-space: nowrap; }
@media (max-width: 760px) { .sq-row { grid-template-columns: 1fr; } .sq-btns { justify-content: flex-start; } }

/* Deals → Active listings: Select multiple */
.sel-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 14px; }
.sel-bar .sel-actions { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.sel-bar .btn.disabled { opacity: .45; pointer-events: none; }
.sel-confirm { padding: 12px 14px; border: 1px solid #d9a3a3; border-radius: 12px; background: #fff6f5; }
.btn.danger { background: #9a3324; color: #fff; border-color: #9a3324; }
.card-picked { outline: 3px solid var(--ink, #1c1c1c); outline-offset: 2px; }
.tile .pick-box { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 7px; background: #fff; border: 2px solid var(--ink, #1c1c1c); display: grid; place-items: center; font-weight: 700; }
