/* App-level components built on neddo.css tokens */

/* account / generic dropdown menu */
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > ul { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; list-style: none; margin: 0; padding: var(--space-2); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: var(--z-drawer); }
.menu li a, .menu li button { display: flex; gap: var(--space-2); align-items: center; width: 100%; padding: var(--space-2) var(--space-3); min-height: var(--touch); border-radius: var(--radius-sm); border: 0; background: none; font: inherit; font-size: var(--text-sm); color: var(--color-text); text-decoration: none; cursor: pointer; text-align: left; }
.menu li a:hover, .menu li button:hover { background: var(--color-surface-alt); }
.menu li svg { width: 18px; height: 18px; color: var(--color-text-muted); }
.menu .menu-head { display: flex; flex-direction: column; padding: var(--space-2) var(--space-3) var(--space-3); border-bottom: 1px solid var(--color-border); margin-bottom: var(--space-2); }
.account-menu summary.avatar { width: 38px; height: 38px; }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--color-error); border: 2px solid var(--color-surface); }

/* cookie banner */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-modal); padding: var(--space-4) 0 calc(var(--space-4) + env(safe-area-inset-bottom)); }
.cookie-banner .card { max-width: 640px; box-shadow: var(--shadow-lg); }

/* hero / home */
.hero h1 { margin-bottom: var(--space-4); }
.hero .lead { font-size: var(--text-lg); color: var(--color-text-muted); max-width: 46ch; }
.hero-grid { display: grid; gap: var(--space-8); align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-12); } .hero { padding-top: var(--space-16); } }
.examples { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.steps-row { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: s; }
.step-card { position: relative; padding-top: calc(var(--space-5) + 28px + var(--space-4)); }
.step-card::before { counter-increment: s; content: counter(s); position: absolute; top: var(--space-5); left: var(--space-6); width: 28px; height: 28px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary-dark); display: grid; place-items: center; font-weight: 800; font-size: var(--text-sm); }
.category-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
.category-tile { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); text-decoration: none; color: var(--color-text); font-weight: 600; font-size: var(--text-sm); }
.category-tile:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow); color: var(--color-text); }
.category-tile .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--color-primary-soft); color: var(--color-primary-dark); display: grid; place-items: center; flex: none; }
.category-tile svg { width: 20px; height: 20px; }
.band { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.pro-cta { background: var(--color-text); color: #fff; border-radius: var(--radius-lg); padding: var(--space-8); }
.pro-cta h2, .pro-cta p { color: #fff; }
.pro-cta .text-muted { color: rgba(255,255,255,.72); }

/* auth pages */
.auth-wrap { max-width: 460px; margin: var(--space-6) auto; }
.auth-wrap .card { padding: var(--space-8) var(--space-6); }
.auth-switch { text-align: center; margin-top: var(--space-6); font-size: var(--text-sm); }

/* page header */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-4); margin-bottom: var(--space-6); flex-wrap: wrap; }
.page-head h1 { font-size: var(--text-2xl); margin: 0; }
.page-head p { margin: var(--space-1) 0 0; color: var(--color-text-muted); }

/* list items (requests, jobs, offers) */
.list { display: grid; gap: var(--space-3); }
.item { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); text-decoration: none; color: inherit; }
a.item:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow); color: inherit; }
.item-body { flex: 1; min-width: 0; }
.item-title { font-weight: 650; margin: 0 0 4px; }
.item-aside { text-align: right; display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-end; }
.cat-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--color-primary-soft); color: var(--color-primary-dark); display: grid; place-items: center; flex: none; }
.cat-icon svg { width: 22px; height: 22px; }

/* request confirm */
.interpretation { border: 2px solid var(--color-primary); background: var(--color-primary-soft); }
.suggestions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.suggestions label { display: inline-flex; }
.suggestions input { position: absolute; opacity: 0; pointer-events: none; }
.suggestions input:checked + .chip { border-color: var(--color-primary); background: var(--color-primary-soft); color: var(--color-primary-dark); }
.suggestions input:focus-visible + .chip { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* offers compare */
.offer-card { display: grid; gap: var(--space-3); }
.offer-card .top { display: flex; gap: var(--space-3); align-items: center; }
.offer-card .price { font-size: var(--text-xl); }
.verified { color: var(--color-success); display: inline-flex; gap: 4px; align-items: center; font-size: var(--text-xs); font-weight: 650; }
.verified svg { width: 14px; height: 14px; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--color-border); }
.timeline li { position: relative; padding: 0 0 var(--space-4) var(--space-5); font-size: var(--text-sm); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-surface); border: 2px solid var(--color-primary); }

/* chat */
.chat { display: grid; grid-template-rows: auto 1fr auto; height: calc(100vh - var(--header-h) - var(--space-6) - var(--bottom-nav-h) - var(--space-8)); min-height: 420px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 900px) { .chat { height: calc(100vh - var(--header-h) - var(--space-16)); } }
.chat-head { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); }
.chat-body { overflow-y: auto; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); background: var(--color-background); }
.msg { max-width: min(78%, 520px); padding: var(--space-2) var(--space-3); border-radius: 16px; background: var(--color-surface); border: 1px solid var(--color-border); font-size: var(--text-sm); white-space: pre-wrap; word-wrap: break-word; }
.msg.mine { align-self: flex-end; background: var(--color-primary-action, var(--color-primary)); color: #fff; border-color: var(--color-primary); border-bottom-right-radius: 4px; }
.msg.theirs { align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.system { align-self: center; background: transparent; border: 0; color: var(--color-text-muted); font-size: var(--text-xs); text-align: center; }
.msg time { display: block; font-size: 10px; opacity: .7; margin-top: 2px; }
.msg img { border-radius: 10px; max-height: 240px; margin-bottom: 4px; }
.msg .masked { font-style: italic; opacity: .85; }
.chat-form { display: flex; gap: var(--space-2); padding: var(--space-3); border-top: 1px solid var(--color-border); align-items: flex-end; }
.chat-form textarea { min-height: var(--touch); max-height: 140px; resize: none; }
.typing { font-size: var(--text-xs); color: var(--color-text-muted); padding: 0 var(--space-4) var(--space-1); min-height: 18px; }

/* stars input */
.stars { position: relative; display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.stars input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.stars label { cursor: pointer; font-size: 28px; line-height: 1; color: var(--color-border-strong); padding: 2px; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: var(--color-warning); }
.stars input:focus-visible + label { outline: 3px solid var(--color-focus); border-radius: 4px; }

/* dashboard stats */
.stats { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.stat { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-4); }
.stat .value { font-size: var(--text-2xl); font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat .label { color: var(--color-text-muted); font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* CMS prose */
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--space-8); font-size: var(--text-xl); }
.prose p, .prose li { color: var(--color-text); }
.prose img { border-radius: var(--radius); }

/* ---------- admin ---------- */
.admin-shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
.np-side-resize { display: none; }
.admin-side { background: var(--color-surface); border-right: 1px solid var(--color-border); padding: var(--space-4); display: none; position: fixed; inset: 0 30% 0 0; z-index: var(--z-drawer); overflow-y: auto; box-shadow: var(--shadow-lg); }
.admin-side.open { display: block; }
.admin-side .brand { display: flex; gap: var(--space-2); align-items: center; margin-bottom: var(--space-6); }
.admin-side nav { display: flex; flex-direction: column; gap: 2px; }
.admin-side nav a { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); text-decoration: none; color: var(--color-text-muted); font-size: var(--text-sm); font-weight: 550; min-height: 40px; }
.admin-side nav a svg { width: 18px; height: 18px; }
.admin-side nav a:hover { background: var(--color-surface-alt); color: var(--color-text); }
.admin-side nav a[aria-current="page"] { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.admin-top { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--color-border); background: var(--color-surface); position: sticky; top: 0; z-index: var(--z-header); }
.admin-content { padding: var(--space-6) var(--space-4) var(--space-16); max-width: 1280px; }
@media (min-width: 900px) {
  .admin-shell { grid-template-columns: var(--admin-side-w, 250px) minmax(0, 1fr); }
  .admin-side { display: block; position: sticky; top: 0; height: 100vh; inset: auto; box-shadow: none; }
  /* v0.8.2 drag handle on the sidebar's right edge (width remembered per browser) */
  .np-side-resize { display: block; position: fixed; top: 0; bottom: 0; left: calc(var(--admin-side-w, 250px) - 4px); width: 8px; cursor: col-resize; z-index: 30; touch-action: none; }
  .np-side-resize::after { content: ""; position: absolute; top: 0; bottom: 0; left: 3px; width: 2px; background: transparent; transition: background .15s; }
  .np-side-resize:hover::after, .np-side-resize:focus-visible::after, .is-resizing .np-side-resize::after { background: var(--color-primary); }
  .np-side-resize:focus-visible { outline: none; }
  .is-resizing, .is-resizing * { cursor: col-resize !important; user-select: none !important; }
  .admin-content { padding: var(--space-8); }
}
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin-bottom: var(--space-4); }
.filters .input, .filters .select { width: auto; min-width: 180px; }
.kv { display: grid; grid-template-columns: minmax(140px, 30%) 1fr; gap: var(--space-2) var(--space-4); font-size: var(--text-sm); }
.kv dt { color: var(--color-text-muted); }
.kv dd { margin: 0; word-break: break-word; }
.bars { display: flex; gap: 4px; align-items: flex-end; height: 120px; padding-top: var(--space-2); }
.bars span { flex: 1; background: var(--color-primary); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.log-line { font-family: var(--font-mono); font-size: 12px; white-space: pre-wrap; word-break: break-all; border-bottom: 1px solid var(--color-border); padding: 4px 0; }
.settings-nav { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); }
.settings-nav a { padding: 6px 12px; border-radius: var(--radius-pill); border: 1px solid var(--color-border); text-decoration: none; color: var(--color-text); font-size: var(--text-sm); background: var(--color-surface); }
.settings-nav a[aria-current="page"] { background: var(--color-text); color: #fff; border-color: var(--color-text); }
.secret-state { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-text-muted); }
.map { height: 280px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--color-border); background: var(--color-surface-alt); }
.asset-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.asset-slot { border: 1px dashed var(--color-border-strong); border-radius: var(--radius); padding: var(--space-3); background: var(--color-surface); display: flex; flex-direction: column; gap: var(--space-2); }
.asset-slot .preview { height: 64px; display: grid; place-items: center; background: repeating-conic-gradient(var(--color-surface-alt) 0 25%, var(--color-surface) 0 50%) 50% / 16px 16px; border-radius: var(--radius-sm); }
.asset-slot .preview.dark { background: var(--color-text); }
.asset-slot .preview img { max-height: 52px; max-width: 90%; object-fit: contain; }
.asset-slot input[type=file] { font-size: var(--text-xs); max-width: 100%; }
.color-preview { display: flex; gap: var(--space-3); align-items: center; padding: var(--space-4); border-radius: var(--radius); border: 1px solid var(--color-border); background: var(--color-surface); flex-wrap: wrap; }
.asset-slot .preview { height: 64px; display: grid; place-items: center; background: repeating-conic-gradient(var(--color-surface-alt) 0 25%, var(--color-surface) 0 50%) 50% / 16px 16px; border-radius: var(--radius-sm); }
.asset-slot .preview.dark { background: var(--color-text); }
.asset-slot .preview img { max-height: 52px; max-width: 90%; object-fit: contain; }

/* Key facts (GEO, Master §75) */
.facts-list { display: grid; gap: var(--space-3) var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: var(--space-4) 0 0; }
.facts-list div { border-top: 1px solid var(--color-border); padding-top: var(--space-2); }
.facts-list dt { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.facts-list dd { margin: 2px 0 0; }
.faq-item { padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); }
.faq-item h3 { margin: 0 0 var(--space-2); }
.section-sm { padding: var(--space-8) 0; }

/* ================= Homepage (v0.5) — kinetic, brand green, reduced-motion safe ================= */
.hx { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 55%, #1fbf7e 100%);
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); }
.hx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hx-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: blob 18s ease-in-out infinite alternate; }
.hx-bg .b1 { width: 520px; height: 520px; background: #7ff0bd; top: -160px; right: -120px; }
.hx-bg .b2 { width: 420px; height: 420px; background: #0a5c3e; bottom: -180px; left: -120px; animation-duration: 22s; }
.hx-bg .b3 { width: 300px; height: 300px; background: #c8ffe6; top: 40%; left: 45%; opacity: .25; animation-duration: 26s; }
.hx-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%); }
@keyframes blob { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.08); } 100% { transform: translate(-30px,40px) scale(.95); } }
.hx-inner { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .hx-inner { grid-template-columns: 1.05fr 1fr; } }
.hx-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: var(--text-sm); letter-spacing: .02em;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: var(--radius-pill); margin: 0 0 var(--space-5); backdrop-filter: blur(6px); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #b9ffdf; box-shadow: 0 0 0 0 rgba(185,255,223,.8); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(185,255,223,0); } 100% { box-shadow: 0 0 0 0 rgba(185,255,223,0); } }
.hx-title { color: #fff; font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.035em; margin: 0; max-width: 12ch;
  animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hx-rotator { position: relative; height: 1.25em; margin: var(--space-3) 0 0; font-size: clamp(1.5rem, 3.2vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; overflow: hidden; }
.hx-rotator span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(100%);
  color: #d5ffec; animation: rotword 12.5s infinite; animation-delay: calc(var(--i) * 2.5s); }
@keyframes rotword { 0% { opacity: 0; transform: translateY(100%); } 3%, 17% { opacity: 1; transform: translateY(0); } 20%, 100% { opacity: 0; transform: translateY(-100%); } }
.hx-tail { font-size: var(--text-lg); color: rgba(255,255,255,.9); margin: var(--space-3) 0 0; max-width: 40ch; animation: rise .8s .15s cubic-bezier(.2,.8,.2,1) both; }
.hx-points { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-weight: 600; font-size: var(--text-sm); }
.hx-points li { display: inline-flex; align-items: center; gap: 6px; }
.hx-points svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: rgba(255,255,255,.22); }
.hx .need-box { color: var(--color-text); animation: rise .9s .25s cubic-bezier(.2,.8,.2,1) both; }
.need-label { display: block; font-weight: 800; font-size: var(--text-lg); padding: var(--space-3) var(--space-3) 0; }
.need-glow { position: relative; box-shadow: 0 30px 80px rgba(6, 60, 38, .35), 0 0 0 6px rgba(255,255,255,.18); transition: transform .3s, box-shadow .3s; }
.need-glow:focus-within { transform: translateY(-3px); box-shadow: 0 34px 90px rgba(6, 60, 38, .45), 0 0 0 8px rgba(255,255,255,.35); }
.btn-go svg { transition: transform .2s; } .btn-go:hover svg { transform: translateX(4px); }
.hx-examples .chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(6px); }
.hx-examples .chip:hover { background: rgba(255,255,255,.26); color: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* how it works + animated demo */
.how-grid { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 960px) { .how-grid { grid-template-columns: 1fr 1fr; } }
.how-steps { list-style: none; padding: 0; margin: var(--space-6) 0 0; position: relative; }
.how-steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--color-border); }
.how-step { display: flex; gap: var(--space-4); padding: var(--space-3) var(--space-3); border-radius: var(--radius); position: relative; transition: background .4s; }
.how-step h3 { margin: 2px 0 4px; }
.how-num { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--color-surface);
  border: 2px solid var(--color-border); color: var(--color-text-muted); position: relative; z-index: 1; transition: all .4s; }
.how-step.is-active { background: var(--color-primary-soft); }
.how-step.is-active .how-num { background: var(--color-primary-action, var(--color-primary)); border-color: var(--color-primary-action, var(--color-primary)); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary) 20%, transparent); }
.demo { position: relative; margin: 0; border-radius: 28px; padding: 22px; background: linear-gradient(160deg, #0f2e22, #171a19); box-shadow: var(--shadow-lg); min-height: 440px; }
.demo-tag { position: absolute; top: 14px; right: 16px; font-size: var(--text-xs); font-weight: 700; color: rgba(255,255,255,.7); background: rgba(255,255,255,.1); padding: 4px 10px; border-radius: var(--radius-pill); }
.demo-screen { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; }
.demo-screen > * { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1); }
.demo[data-stage="1"] .demo-a, .demo[data-stage="2"] .demo-a, .demo[data-stage="2"] .demo-b, .demo[data-stage="3"] :is(.demo-a,.demo-b,.demo-c),
.demo[data-stage="4"] :is(.demo-a,.demo-b,.demo-c,.demo-d), .demo[data-stage="5"] > .demo-screen > * { opacity: 1; transform: none; }
.demo-msg { align-self: flex-end; max-width: 85%; background: #fff; color: var(--color-text); padding: 12px 16px; border-radius: 18px 18px 4px 18px; font-weight: 600; }
.demo-type { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--color-primary); max-width: 0; vertical-align: bottom; }
.demo[data-stage] .demo-type { animation: type 1.6s steps(28) forwards, caret .8s step-end infinite; }
@keyframes type { to { max-width: 100%; } } @keyframes caret { 50% { border-color: transparent; } }
.demo-chip { align-self: flex-start; display: inline-flex; gap: 8px; align-items: center; background: #d9f7e9; color: var(--color-primary-dark); padding: 10px 14px; border-radius: 14px; font-weight: 700; font-size: var(--text-sm); }
.demo-chip svg { width: 18px; height: 18px; }
.demo-radar { position: relative; height: 150px; border-radius: 18px; background: radial-gradient(circle at 50% 55%, rgba(22,163,106,.25), transparent 65%), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 22px); overflow: hidden; }
.demo-radar .ring, .radar-big .ring { position: absolute; left: 50%; top: 55%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid rgba(76, 230, 160, .7); animation: ring 2.6s ease-out infinite; }
.demo-radar .r2, .radar-big .r2 { animation-delay: 1.3s; } .radar-big .r3 { animation-delay: .65s; }
@keyframes ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(6); opacity: 0; } }
.pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #4ce6a0; box-shadow: 0 0 0 4px rgba(76,230,160,.25); animation: pop .5s both; }
.demo-radar .p1 { left: 22%; top: 30%; animation-delay: .4s; } .demo-radar .p2 { left: 72%; top: 38%; animation-delay: .8s; } .demo-radar .p3 { left: 58%; top: 75%; animation-delay: 1.2s; }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.4); } to { transform: scale(1); } }
.demo-sent { position: absolute; left: 12px; bottom: 10px; font-size: var(--text-xs); font-weight: 700; color: #b9ffdf; }
.demo-offer { display: flex; gap: 12px; align-items: center; background: #fff; color: var(--color-text); padding: 12px 14px; border-radius: 16px; }
.avatar-sm { width: 38px; height: 38px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary-dark); display: grid; place-items: center; font-weight: 800; font-size: var(--text-sm); flex: none; }
.stars-mini { margin-left: auto; color: #F4A62A; letter-spacing: 1px; font-size: 13px; }
.demo-done { align-self: center; display: inline-flex; gap: 8px; align-items: center; background: var(--color-primary-action, var(--color-primary)); color: #fff; padding: 12px 18px; border-radius: var(--radius-pill); font-weight: 800; }
.demo-done svg { width: 20px; height: 20px; }

/* motto + marquee */
.motto { background: var(--color-text); color: #fff; padding: var(--space-10) 0 var(--space-12); overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: var(--space-8); width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-size: var(--text-lg); font-weight: 700; color: rgba(255,255,255,.75); white-space: nowrap; }
.marquee-track svg { width: 22px; height: 22px; color: #4ce6a0; }
@keyframes marquee { to { transform: translateX(-50%); } }
.motto-inner { text-align: center; margin-top: var(--space-10); }
.motto-tag { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 900; letter-spacing: -.04em; margin: 0; line-height: 1.05; }
.motto-tag span { background: linear-gradient(90deg, #4ce6a0, #16A36A, #b9ffdf, #4ce6a0); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 300% 0; } }
.motto-line { color: rgba(255,255,255,.75); font-size: var(--text-lg); margin: var(--space-4) auto 0; max-width: 48ch; }

/* services tiles */
.category-tile { position: relative; transition: transform .25s, box-shadow .25s, border-color .25s; }
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.category-tile .go { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: all .25s; color: var(--color-primary); display: inline-flex; }
.category-tile .go svg { width: 16px; height: 16px; }
.category-tile:hover .go { opacity: 1; transform: none; }

/* pro band */
.pro-band { background: radial-gradient(900px 400px at 85% 50%, rgba(22,163,106,.35), transparent 60%), #0f1a16; color: #fff; }
.pro-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; }
.lead-dark { color: rgba(255,255,255,.8); font-size: var(--text-lg); max-width: 44ch; }
.pro-band-inner { display: grid; gap: var(--space-10); align-items: center; }
@media (min-width: 960px) { .pro-band-inner { grid-template-columns: 1.1fr 1fr; } }
.hx-eyebrow.on-dark { color: #b9ffdf; }
.radar-big { position: relative; width: min(100%, 380px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,106,.28), transparent 70%), repeating-radial-gradient(circle, rgba(255,255,255,.06) 0 1px, transparent 1px 38px); }
.radar-big .ring { top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; animation-duration: 3.2s; }
.radar-big .core { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--color-primary); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(22,163,106,.5); }
.radar-big .core svg { width: 30px; height: 30px; color: #fff; }
.radar-big .pin { animation: pop .6s both, float 4s ease-in-out infinite; }
.radar-big .p1 { left: 20%; top: 28%; animation-delay: .2s, .2s; } .radar-big .p2 { left: 74%; top: 22%; animation-delay: .5s, 1s; }
.radar-big .p3 { left: 80%; top: 68%; animation-delay: .8s, 2s; } .radar-big .p4 { left: 26%; top: 74%; animation-delay: 1.1s, 3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* final CTA */
.final-cta { text-align: center; }
.final-cta h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.03em; margin-bottom: var(--space-6); }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 70ms); }
[data-reveal].is-in, .no-js [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hx *, .how *, .motto *, .pro-band *, [data-reveal], .demo * { animation: none !important; transition: none !important; }
  [data-reveal], .demo-screen > * { opacity: 1 !important; transform: none !important; }
  .hx-rotator span { position: static; opacity: 1; transform: none; display: none; } .hx-rotator span:first-child { display: inline; }
  .demo-type { max-width: none; border: 0; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
}
/* hero sits flush under the header */
.main > .hx:first-child { margin-top: calc(-1 * var(--space-6)); }
.main:has(> .final-cta:last-child) { padding-bottom: 0; }

/* ================= Subscriptions ================= */
.plan-now { display: grid; gap: var(--space-6); align-items: center; padding: var(--space-6); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary-soft), var(--color-surface)); border: 1px solid var(--color-border); }
@media (min-width: 900px) { .plan-now { grid-template-columns: 1fr 1fr; } }
.plan-now-name { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: -.03em; margin: 0 0 var(--space-2); display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.meter { height: 10px; border-radius: 99px; background: var(--color-border); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--color-primary), #4ce6a0); transition: width .6s; }
.meter.is-full span { background: var(--color-warning); }
.trial-cta { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; padding: var(--space-6);
  border-radius: var(--radius-lg); color: #fff; background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary) 60%, #1fbf7e); }
.trial-cta h2 { color: #fff; margin: 0 0 var(--space-2); font-size: var(--text-xl); }
.trial-cta p { color: rgba(255,255,255,.88); max-width: 60ch; }
.trial-cta .btn { --btn-bg: #fff; --btn-fg: var(--color-primary-dark); --btn-bd: #fff; }
.interval-switch { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--color-surface); border: 1px solid var(--color-border); margin: 0 auto var(--space-6); }
.plans { text-align: center; }
.interval-switch input { position: absolute; opacity: 0; pointer-events: none; }
.interval-switch label { padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 700; font-size: var(--text-sm); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.interval-switch input:checked + label { background: var(--color-text); color: #fff; }
.interval-switch input:focus-visible + label { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.interval-switch .save { font-size: 11px; background: #d9f7e9; color: var(--color-primary-dark); padding: 2px 8px; border-radius: 99px; }
.plan-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); text-align: left; }
.plans:has(#iv-month:checked) .iv-year, .plans:has(#iv-year:checked) .iv-month { display: none; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: var(--space-6); border-radius: var(--radius-lg); background: var(--color-surface);
  border: 1px solid var(--color-border); transition: transform .25s, box-shadow .25s, border-color .25s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-card.is-popular { border: 2px solid var(--color-primary); box-shadow: 0 20px 50px rgba(22,163,106,.18); }
.plan-card.is-current { background: linear-gradient(180deg, var(--color-primary-soft), var(--color-surface) 45%); }
.plan-ribbon { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; display: grid; place-items: center; }
.plan-ribbon svg { width: 16px; height: 16px; }
.plan-name { font-size: var(--text-xl); font-weight: 900; letter-spacing: -.02em; margin: 0; }
.plan-tag { margin: 4px 0 var(--space-4); min-height: 1.4em; }
.plan-price { margin: 0; font-size: var(--text-sm); color: var(--color-text-muted); }
.plan-price strong { font-size: 2.2rem; font-weight: 900; letter-spacing: -.03em; color: var(--color-text); }
.plan-vat { margin: 4px 0 var(--space-4); min-height: 1.3em; }
.plan-features { list-style: none; padding: 0; margin: 0 0 var(--space-6); display: grid; gap: 10px; align-content: start; font-size: var(--text-sm); flex: 1; }
.plan-features li { display: flex; gap: 8px; align-items: flex-start; }
.plan-features svg { width: 18px; height: 18px; flex: none; color: var(--color-primary); margin-top: 1px; }
.plan-features li.soon { color: var(--color-text-muted); } .plan-features li.soon svg { color: var(--color-text-muted); }
.plan-action .btn { width: 100%; }
.btn.is-static { cursor: default; pointer-events: none; opacity: .75; white-space: normal; text-align: center; }
.text-center { text-align: center; }
.stat-tiles { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat-tile { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: var(--space-4); }
.stat-tile strong { display: block; font-size: var(--text-2xl, 1.6rem); }
.plan-admin-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.plan-badge { font-weight: 800; letter-spacing: .04em; vertical-align: middle; font-size: 11px; }
.text-warning { color: #9a5b00; }

/* ================= Public pages (CMS): hero, steps, cards, legal, help, contact, footer ================= */
.page-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 5vw, 64px); background: linear-gradient(180deg, var(--color-primary-soft), var(--color-background) 85%); border-bottom: 1px solid var(--color-border); }
.page-hero.is-small { padding: clamp(28px, 5vw, 56px) 0 clamp(24px, 4vw, 40px); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 var(--space-3); max-width: 20ch; }
.page-hero.is-small h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); max-width: 28ch; }
.page-lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--color-text-muted); max-width: 60ch; margin: 0; }
.page-hero .hx-eyebrow { color: var(--color-primary-dark); background: var(--color-surface); border: 1px solid var(--color-border); padding: 6px 12px; border-radius: 999px; margin-bottom: var(--space-4); }
.page-hero .pulse-dot { background: var(--color-primary); box-shadow: 0 0 0 0 rgba(22,163,106,.5); }
.page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; animation: blob 20s ease-in-out infinite alternate; }
.page-hero-bg .b1 { width: 420px; height: 420px; right: -120px; top: -160px; background: #9be8c6; }
.page-hero-bg .b2 { width: 300px; height: 300px; right: 22%; bottom: -200px; background: #d7f5e8; animation-duration: 26s; }
.page-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-3); }
.crumbs a { color: var(--color-primary-dark); }
.page-grid { display: grid; gap: var(--space-8); }
@media (min-width: 1024px) { .page-grid.has-aside { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .page-grid.has-aside > aside { position: sticky; top: 88px; } }
.page-body { max-width: 76ch; }
.prose h2 { margin-top: var(--space-8); }
.prose h2:first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); margin: var(--space-4) 0; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--color-border); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--color-surface-alt); }
.company-block { font-style: normal; line-height: 1.7; }
.company-card { border-left: 4px solid var(--color-primary); }
/* steps */
.step-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); counter-reset: none; }
.step-grid.is-many { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
@media (min-width: 1200px) { .step-grid:not(.is-many) { grid-template-columns: repeat(5, 1fr); } .step-grid.is-many { grid-template-columns: repeat(4, 1fr); } }
.pstep-card { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; padding: var(--space-6); box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pstep-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.pstep-card h3 { font-size: var(--text-lg); margin: var(--space-4) 0 var(--space-2); }
.pstep-card p { margin: 0; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); }
.step-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary-soft); color: var(--color-primary-dark); }
.step-icon svg { width: 22px; height: 22px; }
/* rules */
.rule-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.rule-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; padding: var(--space-5, 20px); }
.rule-card h2 { margin: var(--space-3) 0 var(--space-2); }
.rule-card p { margin: 0; }
.report-card { border-left: 4px solid var(--color-warning); }
.report-card h2 svg { width: 20px; height: 20px; vertical-align: -3px; color: var(--color-warning); }
/* CTA band */
.cta-band { background: linear-gradient(135deg, #0f2e22, var(--color-text)); color: #fff; }
.cta-band-inner { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; margin: 0 0 var(--space-2); }
.cta-band p { color: #cfe9dd; }
.cta-band .page-ctas { margin-top: 0; }
.cta-band .btn:not(.btn-primary) { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
/* contact */
.contact-grid { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; } }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.link-list a { display: flex; gap: 8px; align-items: center; padding: 8px 0; min-height: var(--touch); text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.link-list svg { width: 18px; height: 18px; color: var(--color-primary-dark); flex: none; }
/* help */
.help-search { display: flex; gap: var(--space-3); margin-top: var(--space-6); max-width: 720px; }
.help-search .input-icon { flex: 1; }
.input-lg { min-height: 56px; font-size: var(--text-lg); border-radius: 16px; }
@media (max-width: 599px) { .help-search { flex-direction: column; } }
.help-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.help-cat h2 { display: flex; align-items: center; gap: 8px; }
/* faq */
details.faq-item { padding: 0; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface); margin-bottom: var(--space-3); }
details.faq-item > summary { list-style: none; cursor: pointer; padding: var(--space-4) var(--space-5, 20px); font-weight: 650; display: flex; justify-content: space-between; gap: var(--space-3); min-height: var(--touch); align-items: center; }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--color-primary-dark); transition: transform .2s ease; }
details.faq-item[open] > summary::after { transform: rotate(45deg); }
details.faq-item > div { padding: 0 var(--space-5, 20px) var(--space-4); }
details.faq-item > summary:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; border-radius: 14px; }
/* legal */
.legal-meta { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; margin: var(--space-4) 0 0; color: var(--color-text-muted); font-size: var(--text-sm); }
.legal-grid { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) { .legal-grid { grid-template-columns: 280px minmax(0, 1fr); align-items: start; } .legal-toc { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; } }
.legal-toc ol { margin: var(--space-3) 0 0; padding-left: 1.2em; font-size: var(--text-sm); display: grid; gap: 6px; }
.legal-toc summary { cursor: pointer; }
.legal-body h2 { scroll-margin-top: 90px; font-size: var(--text-xl); }
.legal-body { max-width: 80ch; }
/* footer */
.footer-grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-title { font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .06em; color: var(--color-text); margin: 0 0 var(--space-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a { display: inline-flex; min-height: 32px; align-items: center; text-decoration: none; }
.footer-col a:hover { color: var(--color-text); text-decoration: underline; }
.footer-bottom { display: grid; gap: var(--space-2); }
.footer-company { color: var(--color-text-muted); }
/* header: mobile menu for guests */
.mobile-menu > summary { display: inline-grid; place-items: center; }
@media (prefers-reduced-motion: reduce) { .page-hero-bg .blob, .pstep-card, .rule-card { animation: none !important; transition: none !important; } }
.legal-grid > *, .page-grid > *, .contact-grid > *, .footer-grid > * { min-width: 0; }
.prose { overflow-wrap: anywhere; }
@media (max-width: 380px) { .header .container { gap: 6px; } .header .btn-sm { padding-inline: 10px; } .header .brand img { width: 88px; height: auto; } }

/* ---------- tabs panels, company identity (logo) ---------- */
.tab-panel { padding-top: var(--space-2); }
.lang-tabs .tabs { margin-bottom: var(--space-4); }
.company-id { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 768px) { .company-id { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.logo-field { display: flex; gap: var(--space-4); align-items: flex-start; }
.logo-field .field { flex: 1; min-width: 0; }
.logo-preview { flex: none; width: 88px; height: 88px; border-radius: 18px; border: 1px dashed var(--color-border-strong); background: var(--color-surface); display: grid; place-items: center; overflow: hidden; color: var(--color-text-muted); }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.logo-preview svg { width: 28px; height: 28px; }
.pro-logo { width: 72px; height: 72px; border-radius: 16px; object-fit: contain; background: #fff; border: 1px solid var(--color-border); flex: none; }
.company-about { border-top: 1px solid var(--color-border); margin-top: var(--space-6); padding-top: var(--space-6); }
/* register: wider card with two-column fields */
.auth-wrap.is-wide { max-width: 880px; }
@media (min-width: 720px) { .auth-wrap.is-wide .card { padding: var(--space-8); } }
.auth-wrap.is-wide .consents { display: grid; gap: 4px; margin-top: var(--space-4); }
.tabs svg { width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }

/* ---------- in-page confirm dialog + toasts ---------- */
.confirm-dialog { border: 0; padding: 0; border-radius: 20px; width: min(92vw, 440px); box-shadow: var(--shadow-lg); background: var(--color-surface); color: var(--color-text); }
.confirm-dialog::backdrop { background: rgba(23, 26, 25, .45); backdrop-filter: blur(2px); }
.confirm-dialog[open] { animation: dlg-in .18s ease-out; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.confirm-box { padding: var(--space-6); display: grid; gap: var(--space-4); }
.confirm-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff4e0; color: #9a5b00; }
.confirm-icon svg { width: 22px; height: 22px; }
.confirm-actions { display: flex; justify-content: flex-end; gap: var(--space-3); flex-wrap: wrap; }
.toast { display: flex; align-items: center; gap: 10px; }
.toast-icon { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--color-primary-action, var(--color-primary)); color: #fff; flex: none; }
.toast-error .toast-icon { background: var(--color-error); }
.toast-info .toast-icon { background: #3b82f6; }
.toast > span:nth-child(2) { flex: 1; }
.toast-close { background: none; border: 0; color: #fff; opacity: .7; font-size: 18px; cursor: pointer; min-width: 28px; min-height: 28px; }
.toast.is-leaving { opacity: 0; transform: translateY(6px); transition: .3s; }
@media (prefers-reduced-motion: reduce) { .confirm-dialog[open], .toast { animation: none; } }

/* ---------- register: brand panel + wide form ---------- */
.auth-split { display: grid; gap: var(--space-6); margin: var(--space-6) auto; max-width: 1180px; align-items: stretch; }
@media (min-width: 1024px) { .auth-split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr); } .auth-split .auth-switch { grid-column: 2; margin-top: 0; } }
.auth-side { position: relative; overflow: hidden; border-radius: 24px; color: #fff; background: linear-gradient(150deg, #0d7650 0%, #0f2e22 60%, #171a19 100%); min-height: 280px; }
.auth-side-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.auth-side-bg .b1 { width: 320px; height: 320px; background: #16a36a; top: -120px; right: -100px; }
.auth-side-bg .b2 { width: 260px; height: 260px; background: #2dd4bf; bottom: -140px; left: -80px; opacity: .25; }
.auth-side-inner { position: relative; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: var(--space-4); height: 100%; }
.auth-side h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.auth-side-text { color: #cfe9dd; margin: 0; font-size: var(--text-lg); }
.auth-side-points { list-style: none; margin: var(--space-2) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.auth-side-points li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.auth-side-points .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.12); flex: none; }
.auth-side-points svg { width: 18px; height: 18px; }
.auth-radar { margin-top: auto; align-self: center; transform: scale(.72); transform-origin: center bottom; }
@media (max-width: 1023px) { .auth-radar { display: none; } .auth-side { min-height: 0; } }
.auth-form-card { padding: clamp(20px, 3vw, 40px) !important; }
@media (min-width: 640px) { .auth-form-card .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.auth-side .hx-eyebrow { align-self: flex-start; }
.auth-radar { transform: none; width: min(100%, 220px); margin-top: var(--space-4); }
.auth-split { align-items: start; }
@media (min-width: 1024px) { .auth-side { position: sticky; top: 88px; } }
.empty-icon.is-ok { background: var(--color-primary-soft); color: var(--color-primary-dark); }

/* ---------- professional area header + pill tabs ---------- */
.pro-hdr { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; padding: var(--space-5, 20px) var(--space-6); display: grid; gap: var(--space-4); margin-bottom: var(--space-6); }
.pro-hdr-top { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.pro-hdr-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: #fff; border: 1px solid var(--color-border); }
.pro-hdr-id { flex: 1; min-width: 200px; }
.pro-hdr-name { font-size: var(--text-xl); font-weight: 800; letter-spacing: -.01em; margin: 0; }
.pro-hdr-actions { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.pill-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pill-tabs::-webkit-scrollbar { display: none; }
.pill-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; min-height: var(--touch); border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text-muted); font-weight: 600; font-size: var(--text-sm); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.pill-tabs a:hover { border-color: var(--color-primary); color: var(--color-text); }
.pill-tabs a[aria-current="page"] { background: var(--color-primary-action, var(--color-primary)); border-color: var(--color-primary-action, var(--color-primary)); color: #fff; }
.pill-tabs svg { width: 16px; height: 16px; }
.pill-tabs a:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

/* ================= Homepage hero v0.6.5 — "tell it, Neddo finds" (light, animated, reduced-motion safe) ================= */
.hv-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #eef8f3 0%, var(--color-background) 100%);
  padding: clamp(36px, 6vw, 88px) 0 clamp(48px, 7vw, 96px); }
.main > .hv-hero:first-child { margin-top: calc(-1 * var(--space-6)); }
.hv-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hv-bg .blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; animation: blob 20s ease-in-out infinite alternate; }
.hv-bg .b1 { width: 520px; height: 520px; background: #bff0d8; top: -200px; right: -140px; }
.hv-bg .b2 { width: 380px; height: 380px; background: #d9f6e8; bottom: -180px; left: -140px; animation-duration: 26s; }
.hv-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(22,163,106,.13) 1px, transparent 1px); background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); }
.hv-inner { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hv-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); } }
.hv-copy { min-width: 0; }
.hv-title { margin: 0; font-size: clamp(2.2rem, 5.4vw, 4.1rem); line-height: 1.04; letter-spacing: -.035em; color: var(--color-text); font-weight: 800; }
.hv-title .l { display: block; animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hv-title .l2 { animation-delay: .1s; } .hv-title .l3 { animation-delay: .2s; }
.hv-title em { font-style: normal; color: var(--color-primary); position: relative; display: inline-block; }
.hv-title em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .04em; height: .12em; border-radius: 99px; background: currentColor; opacity: .22;
  transform-origin: left; animation: hvUnder 1s .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes hvUnder { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hv-sub { margin: var(--space-5) 0 0; font-size: clamp(1rem, 1.3vw, 1.125rem); color: var(--color-text-muted, #5b6662); max-width: 50ch; line-height: 1.6;
  animation: rise .8s .3s cubic-bezier(.2,.8,.2,1) both; }
/* single-row input bar */
.hv-bar { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: var(--space-6); padding: 10px;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px;
  box-shadow: 0 18px 50px rgba(13,118,80,.12); transition: box-shadow .25s, border-color .25s, transform .25s; animation: rise .8s .4s cubic-bezier(.2,.8,.2,1) both; }
.hv-bar:focus-within { border-color: var(--color-primary); box-shadow: 0 22px 60px rgba(13,118,80,.18), 0 0 0 4px rgba(22,163,106,.15); transform: translateY(-2px); }
.hv-media, .hv-voice { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; cursor: pointer;
  color: var(--color-primary-dark); background: #eef8f3; border: 0; transition: background .2s, transform .2s; }
.hv-media:hover, .hv-voice:hover { background: #dcf3e8; transform: scale(1.05); }
.hv-media svg, .hv-voice svg { width: 22px; height: 22px; }
.hv-voice[aria-pressed="true"] { background: var(--color-primary-action, var(--color-primary)); color: #fff; }
.hv-field { flex: 1 1 160px; min-width: 0; display: flex; flex-direction: column; }
.hv-label { font-weight: 800; font-size: 1rem; color: var(--color-text); line-height: 1.2; }
.hv-field textarea { border: 0; outline: 0; resize: none; padding: 2px 0 0; font: inherit; font-size: .95rem; color: var(--color-text); background: transparent;
  line-height: 1.4; min-height: 1.4em; max-height: 8em; overflow: hidden; }
.hv-field textarea::placeholder { color: #8a9590; }
.hv-go { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; border: 0; cursor: pointer; color: #fff;
  background: var(--color-primary); box-shadow: 0 8px 20px rgba(22,163,106,.35); transition: background .2s, transform .2s; }
.hv-go:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.hv-go svg { width: 24px; height: 24px; transition: transform .2s; } .hv-go:hover svg { transform: translateX(3px); }
.hv-go:focus-visible, .hv-media:focus-within, .hv-chip:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.hv-bar .media-previews { flex-basis: 100%; }
.hv-bar .media-previews:empty { display: none; }
.hv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-5); animation: rise .8s .5s cubic-bezier(.2,.8,.2,1) both; }
.hv-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 600; font-size: .9rem;
  background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text); transition: border-color .2s, background .2s, transform .2s, color .2s; }
.hv-chip svg { width: 16px; height: 16px; color: var(--color-primary); }
.hv-chip:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.hv-chip.is-active { background: #e7f7ef; border-color: var(--color-primary); color: var(--color-primary-dark); }
.hv-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-5); font-weight: 700; color: var(--color-primary-dark); text-decoration: none; }
.hv-link svg { width: 16px; height: 16px; transition: transform .2s; } .hv-link:hover svg { transform: translateX(4px); }

/* right: animated stage */
.hv-stage { position: relative; margin: 0; min-width: 0; padding: 0 0 56px 0; animation: rise .9s .2s cubic-bezier(.2,.8,.2,1) both; }
.hv-photo { position: relative; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden; background: #dff1e8;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%); box-shadow: 0 30px 70px rgba(13,60,40,.18); }
@media (max-width: 979px) { .hv-photo { clip-path: none; aspect-ratio: 4 / 3; } }
.hv-scene { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hv-scene.is-active { opacity: 1; }
.hv-scene img, .hv-scene .sv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-scene.is-active img, .hv-scene.is-active .sv { animation: hvKen 7s ease-out both; }
@keyframes hvKen { from { transform: scale(1.08); } to { transform: scale(1); } }
.hv-scene:not(.is-active) .sv * { animation-play-state: paused !important; }
/* scan frame */
.hv-scan { position: absolute; left: 30%; top: 16%; width: 44%; height: 58%; pointer-events: none; }
.hv-scan .c { position: absolute; width: 26px; height: 26px; border: 3px solid var(--color-primary); }
.hv-scan .tl { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.hv-scan .tr { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.hv-scan .bl { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.hv-scan .br { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.hv-scan .line { position: absolute; left: 6px; right: 6px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #7ff0bd, transparent);
  box-shadow: 0 0 14px 3px rgba(127,240,189,.55); animation: hvScan 2.6s ease-in-out infinite; }
@keyframes hvScan { 0%, 100% { top: 4%; } 50% { top: 94%; } }
.hv-stage.is-scanning .hv-scan { animation: hvPop .5s cubic-bezier(.2,.8,.2,1); }
@keyframes hvPop { from { transform: scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.hv-scan-tag { position: absolute; left: 50%; top: -16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  background: var(--color-primary-action, var(--color-primary)); color: #fff; font-weight: 700; font-size: .78rem; padding: 5px 10px; border-radius: 8px; }
.hv-scan-tag svg { width: 14px; height: 14px; }
.hv-dotsnav { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 6px; align-items: center; padding: 6px 8px; border-radius: 999px; background: rgba(23,26,25,.45); backdrop-filter: blur(6px); }
.hv-dotsnav button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: width .3s, background .3s; }
.hv-dotsnav button[aria-current="true"] { width: 22px; background: #fff; }
.hv-dotsnav .hv-pause { width: 22px; height: 22px; display: grid; place-items: center; background: transparent; margin-left: 2px; }
.hv-pause span { width: 8px; height: 10px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hv-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.hv-dotsnav button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* floating card */
.hv-card { position: absolute; left: -18px; bottom: 6px; width: min(270px, 70%); background: var(--color-surface); border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 24px 60px rgba(13,60,40,.2); border: 1px solid var(--color-border); animation: hvFloat 6s ease-in-out infinite; }
@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hv-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .95rem; }
.hv-thumb { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #e7f7ef; color: var(--color-primary-dark); flex: none; }
.hv-thumb svg { width: 20px; height: 20px; }
.hv-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .88rem; }
.hv-rows li { display: flex; align-items: center; gap: 8px; animation: hvRow .45s calc(.35s + var(--j) * .45s) cubic-bezier(.2,.8,.2,1) both; }
.hv-rows svg { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; }
@keyframes hvRow { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.hv-search { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--color-border); font-size: .85rem; color: var(--color-text-muted, #5b6662); }
.hv-search .spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #cfe9dc; border-top-color: var(--color-primary); animation: hvSpin .8s linear infinite; flex: none; }
.hv-search.is-done { color: var(--color-primary-dark); font-weight: 600; }
.hv-search.is-done .spin { animation: none; border-color: var(--color-primary); background: var(--color-primary); box-shadow: inset 0 0 0 3px #fff; }
@keyframes hvSpin { to { transform: rotate(360deg); } }
.hv-arrow { position: absolute; left: 14%; bottom: 150px; width: 90px; color: var(--color-primary); transform: scaleX(-1) rotate(-10deg); }
.hv-arrow path:first-child { animation: hvDash 1.6s linear infinite; }
@keyframes hvDash { to { stroke-dashoffset: -26; } }
.hv-pill { position: absolute; right: 8px; bottom: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: var(--color-surface); box-shadow: 0 16px 40px rgba(13,60,40,.16); border: 1px solid var(--color-border); font-weight: 700; font-size: .85rem; white-space: nowrap;
  animation: hvFloat 7s 1s ease-in-out infinite; }
.hv-pill .av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; margin-right: -14px; color: #fff; }
.hv-pill .av svg { width: 15px; height: 15px; }
.hv-pill .a1 { background: #16A36A; } .hv-pill .a2 { background: #0D7650; } .hv-pill .a3 { background: #F4A62A; margin-right: 0; }
.hv-pill .gd { width: 9px; height: 9px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 0 rgba(22,163,106,.6); animation: pulse 1.8s infinite; }
@media (max-width: 979px) { .hv-card { left: 8px; } .hv-arrow { display: none; } }
@media (max-width: 420px) { .hv-card { width: 78%; padding: 12px; } .hv-pill { font-size: .78rem; } .hv-go { width: 50px; height: 50px; } .hv-media { width: 42px; height: 42px; } }

/* illustration motion */
.sv-sun { animation: svBob 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.sv-drill { animation: svBuzz .12s linear infinite alternate; }
.sv-bit { animation: svBit .25s linear infinite; }
.sv-plank { animation: svPlank 4s ease-in-out infinite; }
.sv-dust circle { animation: svDust 1.4s ease-out infinite; transform-box: fill-box; }
.sv-dust circle:nth-child(2) { animation-delay: .3s; } .sv-dust circle:nth-child(3) { animation-delay: .6s; } .sv-dust circle:nth-child(4) { animation-delay: .9s; }
.sv-drops path { animation: svDrop 1.5s cubic-bezier(.5,0,1,1) infinite; opacity: 0; }
.sv-drops .d2 { animation-delay: .5s; } .sv-drops .d3 { animation-delay: 1s; }
.sv-ripple { animation: svRipple 1.5s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.sv-wrench { animation: svWrench 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 10% 50%; }
.sv-lamp { animation: svSwing 4s ease-in-out infinite; transform-origin: 420px 0; }
.sv-glow, .sv-bulb { animation: svGlow 2s ease-in-out infinite; }
.sv-plug { animation: svPlug 3s ease-in-out infinite; }
.sv-sparks path { animation: svBlink 1.2s steps(2) infinite; } .sv-sparks .s2 { animation-delay: .6s; }
.sv-paint { animation: svPaint 6s ease-in-out infinite; transform-origin: 0 0; }
.sv-roller { animation: svRoll 1.6s ease-in-out infinite; }
.sv-drip rect { animation: svDrip 3s ease-in infinite; transform-box: fill-box; transform-origin: top; }
.sv-mop { animation: svMop 1.8s ease-in-out infinite; transform-origin: 260px 120px; }
.sv-bubbles circle { animation: svBubble 2.4s ease-out infinite; } .sv-bubbles .b2 { animation-delay: .8s; } .sv-bubbles .b3 { animation-delay: 1.6s; }
.sv-sparkles path { animation: svTwinkle 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.sv-sparkles .k2 { animation-delay: .7s; } .sv-sparkles .k3 { animation-delay: 1.3s; }
.sv-shine { animation: svShine 3.5s ease-in-out infinite; }
@keyframes svBob { 50% { transform: translateY(-8px) scale(1.04); } }
@keyframes svBuzz { from { transform: translate(360px, 250px); } to { transform: translate(361.5px, 251px); } }
@keyframes svBit { 50% { opacity: .5; } }
@keyframes svPlank { 0%, 15% { transform: translateY(-40px); opacity: 0; } 35%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
@keyframes svDust { from { transform: none; opacity: 1; } to { transform: translate(-18px, -26px); opacity: 0; } }
@keyframes svDrop { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(100px); opacity: 0; } }
@keyframes svRipple { 0%, 60% { transform: scale(.3); opacity: 0; } 70% { opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
@keyframes svWrench { 50% { transform: rotate(-14deg); } }
@keyframes svSwing { 0%, 100% { transform: rotate(3deg); } 50% { transform: rotate(-3deg); } }
@keyframes svGlow { 50% { opacity: .6; } }
@keyframes svPlug { 0%, 100% { transform: translateX(26px); } 45%, 60% { transform: translateX(0); } }
@keyframes svBlink { 50% { opacity: 0; } }
@keyframes svPaint { 0% { transform: scaleX(.55); } 70%, 100% { transform: scaleX(1); } }
@keyframes svRoll { 50% { transform: translateY(150px); } }
@keyframes svDrip { 0% { transform: scaleY(0); } 60%, 100% { transform: scaleY(1.6); opacity: 0; } }
@keyframes svMop { 50% { transform: rotate(-12deg); } }
@keyframes svBubble { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-90px); opacity: 0; } }
@keyframes svTwinkle { 0%, 100% { transform: scale(.4); opacity: .3; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes svShine { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) {
  .hv-hero *, .hv-hero *::before, .hv-hero *::after { animation: none !important; transition: none !important; }
  .hv-scan .line { display: none; }
}
.category-grid > * { min-width: 0; } .category-tile { overflow-wrap: anywhere; }
/* hero v0.6.5 — desktop tuning */
@media (min-width: 980px) {
  .hv-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .hv-title { font-size: clamp(2.6rem, 4.1vw, 3.75rem); }
  .hv-title .l { white-space: nowrap; }
}
.hv-stage { padding-bottom: 64px; }
.hv-card { bottom: 44px; width: min(250px, 64%); z-index: 2; }
.hv-pill { z-index: 3; }
.hv-search span:last-child { min-width: 0; }
.hv-arrow { left: 20%; bottom: auto; top: 46%; z-index: 1; }
@media (max-width: 979px) { .hv-stage { padding-bottom: 72px; } .hv-card { bottom: 50px; } }
.hv-card { bottom: 58px; }
.hv-chip { padding: 7px 12px; font-size: .86rem; gap: 6px; }
.hv-arrow { left: 17%; top: 18%; width: 78px; transform: rotate(-8deg) scaleX(-1); z-index: 2; }
.hv-pill { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .45s, transform .45s cubic-bezier(.2,.8,.2,1); animation: none; }
.hv-stage.is-found .hv-pill { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hv-pill { opacity: 1; transform: none; } }
.hv-field { flex: 1 1 0; }
@media (max-width: 380px) { .hv-title { font-size: 1.95rem; } .hv-bar { gap: 8px; padding: 8px; } .hv-label { font-size: .92rem; } }

/* ================= v0.6.6 — hero "searching" state ================= */
.hv-go { position: relative; overflow: visible; }
.hv-go .go-arrow, .hv-go .go-search { display: grid; place-items: center; transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1); }
.hv-go .go-search { position: absolute; inset: 0; opacity: 0; transform: scale(.4) rotate(-40deg); }
.hv-go .go-search svg { width: 26px; height: 26px; transform-origin: 44% 44%; }
.hv-go .wave { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--color-primary); opacity: 0; }
.hv-bar.is-searching .hv-go { background: var(--color-primary-dark); cursor: progress; pointer-events: none; }
.hv-bar.is-searching .go-arrow { opacity: 0; transform: translateX(14px); }
.hv-bar.is-searching .go-search { opacity: 1; transform: none; }
.hv-bar.is-searching .go-search svg { animation: hvSeek 1.4s ease-in-out infinite; }
.hv-bar.is-searching .go-search .glint { animation: svBlink .7s steps(2) infinite; }
.hv-bar.is-searching .wave { animation: hvWave 1.6s ease-out infinite; }
.hv-bar.is-searching .wave.w2 { animation-delay: .8s; }
@keyframes hvSeek { 0% { transform: translate(-3px, -2px) rotate(-8deg); } 25% { transform: translate(3px, -3px) rotate(6deg); } 50% { transform: translate(3px, 3px) rotate(10deg); } 75% { transform: translate(-3px, 2px) rotate(-4deg); } 100% { transform: translate(-3px, -2px) rotate(-8deg); } }
@keyframes hvWave { from { transform: scale(1); opacity: .7; } to { transform: scale(1.55); opacity: 0; } }
.hv-bar.is-searching { border-color: var(--color-primary); }
.hv-bar.is-searching::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent); background-size: 40% 100%; background-repeat: no-repeat; animation: hvBarScan 1.2s linear infinite; }
@keyframes hvBarScan { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.hv-bar.is-searching .hv-label { color: var(--color-primary-dark); }
.hv-bar.is-searching textarea { opacity: .6; }

/* ================= v0.6.6 — request confirmation ("Doğru mu?") ================= */
.rq { padding-top: var(--space-4); padding-bottom: var(--space-10, 64px); }
.main > .rq:first-child, .main > .rq { position: relative; }
.main:has(> .rq) { background: radial-gradient(55% 420px at 85% 0%, #dcf3e7 0%, transparent 70%), radial-gradient(45% 380px at 0% 0%, #eef8f3 0%, transparent 70%), var(--color-background); background-repeat: no-repeat; }
.rq-top { display: flex; align-items: center; gap: var(--space-5); justify-content: space-between; flex-wrap: wrap; margin-bottom: var(--space-6); }
.rq-steps { list-style: none; margin: 0 auto; padding: 0; display: flex; align-items: center; gap: 0; flex: 1 1 auto; justify-content: center; min-width: 0; }
.rq-steps li { display: flex; align-items: center; gap: 10px; color: var(--color-text-muted, #5b6662); font-size: .92rem; white-space: nowrap; }
.rq-steps li + li::before { content: ""; width: clamp(24px, 9vw, 110px); height: 2px; margin: 0 14px; border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary) 50%, var(--color-border) 50%); background-size: 200% 100%; background-position: 100% 0; transition: background-position .8s cubic-bezier(.2,.8,.2,1); }
.rq-steps li.is-done + li::before { background-position: 0 0; }
.rq-steps .n { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--color-border); background: var(--color-surface); font-weight: 700; flex: none; transition: all .35s; }
.rq-steps .n svg { position: absolute; width: 16px; height: 16px; opacity: 0; transform: scale(.4); transition: all .35s cubic-bezier(.2,.8,.2,1); }
.rq-steps li.is-current { color: var(--color-text); font-weight: 700; }
.rq-steps li.is-current .n { border-color: var(--color-primary); color: var(--color-primary-dark); box-shadow: 0 0 0 0 rgba(22,163,106,.45); animation: pulse 2s infinite; }
.rq-steps li.is-done { color: var(--color-text); font-weight: 600; }
.rq-steps li.is-done .n { background: var(--color-primary-action, var(--color-primary)); border-color: var(--color-primary-action, var(--color-primary)); color: #fff; }
.rq-steps li.is-done .num { opacity: 0; }
.rq-steps li.is-done .n svg { opacity: 1; transform: none; }
.rq-safe { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .8rem; color: var(--color-text-muted, #5b6662); line-height: 1.35; }
.rq-safe strong { color: var(--color-text); font-weight: 600; }
.rq-safe .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e7f7ef; color: var(--color-primary-dark); flex: none; }
.rq-safe .ic svg { width: 18px; height: 18px; }
.rq-head { margin-bottom: var(--space-6); animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.rq-eyebrow { margin: 0 0 6px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-text-muted, #5b6662); font-weight: 600; }
.rq-head h1 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.03em; }
.rq-lead { margin: 6px 0 0; color: var(--color-text-muted, #5b6662); font-size: 1.05rem; }
.rq-smile { width: 58px; height: 40px; flex: none; }
.rq-smile .face, .rq-smile .mouth, .rq-smile .spark { fill: none; stroke: var(--color-primary); stroke-width: 3; stroke-linecap: round; }
.rq-smile .eye { fill: var(--color-primary); }
.rq-smile .face { stroke-dasharray: 95; stroke-dashoffset: 95; animation: rqDraw .9s .3s ease-out forwards; }
.rq-smile .mouth { stroke-dasharray: 20; stroke-dashoffset: 20; animation: rqDraw .5s 1s ease-out forwards; }
.rq-smile .eye { transform-box: fill-box; transform-origin: center; animation: rqBlink 4s 2s infinite; }
.rq-smile .spark { stroke-dasharray: 12; stroke-dashoffset: 12; animation: rqDraw .35s 1.3s ease-out forwards, rqSpark 2.4s 2s ease-in-out infinite; }
.rq-smile .s2 { animation-delay: 1.45s, 2.3s; }
@keyframes rqDraw { to { stroke-dashoffset: 0; } }
@keyframes rqBlink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@keyframes rqSpark { 50% { opacity: .2; } }
.rq-grid { display: grid; gap: var(--space-5); align-items: start; }
@media (min-width: 980px) { .rq-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.rq-col { display: grid; gap: var(--space-5); min-width: 0; }
.rq-card { position: relative; min-width: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 10px 30px rgba(13,60,40,.05); animation: rise .7s calc(.1s + var(--d, 0) * .12s) cubic-bezier(.2,.8,.2,1) both; }
.rq-card h2 { font-size: 1.6rem; margin: 0 0 4px; letter-spacing: -.02em; }
.rq-card-head { display: flex; gap: var(--space-4); align-items: flex-start; justify-content: space-between; margin-bottom: var(--space-4); }
.rq-card-head > div:first-child { min-width: 0; }
/* understood card */
.rq-understood { background: linear-gradient(135deg, #eef9f3 0%, #e3f5ec 100%); border: 2px solid var(--color-primary); display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-4); overflow: hidden; }
.rq-understood > .rq-suggest, .rq-understood > .rq-selects, .rq-understood > template { grid-column: 1 / -1; }
.rq-kicker { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-weight: 700; font-size: .92rem; }
.rq-kicker svg { width: 16px; height: 16px; color: var(--color-primary-dark); animation: rqGlow 2.4s ease-in-out infinite; }
.rq-cat { margin: 0 0 4px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.25; }
.rq-cat strong { font-weight: 800; }
.rq-edit { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--space-4); padding: 8px 14px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
  color: var(--color-primary-dark); background: var(--color-surface); border: 1.5px solid var(--color-primary); transition: background .2s, transform .2s; }
.rq-edit:hover { background: #fff; transform: translateY(-1px); }
.rq-edit svg { width: 15px; height: 15px; }
.rq-illu { position: relative; width: 150px; height: 130px; align-self: center; }
.rq-illu .blob { position: absolute; left: 32px; top: 22px; width: 86px; height: 86px; border-radius: 26px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); box-shadow: 0 16px 30px rgba(13,118,80,.3); animation: hvFloat 4s ease-in-out infinite; }
.rq-illu .blob svg { width: 44px; height: 44px; animation: rqWiggle 3.2s ease-in-out infinite; }
.rq-illu .blob.is-bump { animation: rqBump .6s cubic-bezier(.2,.8,.2,1), hvFloat 4s .6s ease-in-out infinite; }
.rq-illu .ring { position: absolute; left: 75px; top: 65px; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px dashed rgba(22,163,106,.35); animation: rqSpin 18s linear infinite; }
.rq-illu .r2 { width: 150px; height: 150px; margin: -75px 0 0 -75px; border-style: solid; border-color: rgba(22,163,106,.12); animation-duration: 30s; animation-direction: reverse; }
.rq-illu .dash { position: absolute; width: 16px; height: 4px; border-radius: 4px; background: var(--color-primary); animation: rqDash 1.8s ease-in-out infinite; }
.rq-illu .d1 { left: 8px; top: 40px; transform: rotate(20deg); } .rq-illu .d2 { left: 4px; top: 66px; animation-delay: .3s; }
.rq-illu .d3 { right: 6px; top: 16px; transform: rotate(-50deg); animation-delay: .6s; } .rq-illu .d4 { right: 0; top: 40px; transform: rotate(-20deg); animation-delay: .9s; }
.rq-illu .spk { position: absolute; right: 20px; bottom: 8px; color: #F4A62A; } .rq-illu .spk svg { width: 20px; height: 20px; animation: svTwinkle 2s ease-in-out infinite; }
@keyframes rqSpin { to { transform: rotate(360deg); } }
@keyframes rqDash { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes rqWiggle { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-12deg); } 86% { transform: rotate(10deg); } 94% { transform: rotate(-4deg); } }
@keyframes rqBump { 0% { transform: scale(.6) rotate(-10deg); } 60% { transform: scale(1.1) rotate(4deg); } 100% { transform: none; } }
@media (max-width: 560px) { .rq-illu { display: none; } .rq-understood { grid-template-columns: minmax(0, 1fr); } }
.rq-suggest { margin-top: var(--space-4); }
.rq-selects { margin-top: var(--space-4); display: grid; gap: 0; }
.rq-selects .field:last-child { margin-bottom: 0; }
/* inputs with leading icons */
.rq-ctl { position: relative; }
.rq-ctl .lead-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; color: var(--color-text-muted, #5b6662); pointer-events: none; z-index: 1; }
.rq-ctl .lead-ic svg { width: 18px; height: 18px; }
.rq-ctl > .input, .rq-ctl > .select { padding-left: 44px; }
.rq-ctl.combo .input { padding-left: 44px; }
.rq-ctl:focus-within .lead-ic { color: var(--color-primary-dark); }
.rq-card .input, .rq-card .select, .rq-card .textarea { transition: border-color .2s, box-shadow .2s; }
/* request card */
.rq-tip { display: flex; gap: 10px; align-items: center; margin: 0; padding: 10px 14px; border-radius: 12px; background: #eaf7f0; font-size: .8rem; color: var(--color-text-muted, #5b6662); max-width: 250px; line-height: 1.35; }
.rq-tip strong { color: var(--color-primary-dark); font-weight: 600; }
.rq-tip .ic { color: var(--color-primary-dark); flex: none; } .rq-tip .ic svg { width: 20px; height: 20px; animation: rqGlow 2.6s ease-in-out infinite; }
@keyframes rqGlow { 50% { transform: scale(1.12); filter: drop-shadow(0 0 4px rgba(22,163,106,.6)); } }
.rq-previews { padding: 0; margin-top: var(--space-3); }
.rq-previews:empty { display: none; }
.rq-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: var(--space-3); }
.rq-tool { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--color-border); background: var(--color-surface);
  font: inherit; font-size: .88rem; font-weight: 500; color: var(--color-text); cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.rq-tool:hover { border-color: var(--color-primary); transform: translateY(-1px); }
.rq-tool:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.rq-tool svg { width: 18px; height: 18px; }
.rq-tool[aria-pressed="true"] { background: var(--color-primary-action, var(--color-primary)); color: #fff; border-color: var(--color-primary); }
.rq-tool[aria-pressed="true"] svg { animation: pulse 1.2s infinite; border-radius: 50%; }
#rq-media:focus-visible + .rq-tool { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.rq-count { margin-left: auto; font-size: .78rem; color: var(--color-text-muted, #5b6662); font-variant-numeric: tabular-nums; }
/* where card */
.rq-map { position: relative; width: 112px; height: 84px; flex: none; }
.rq-map .land { position: absolute; left: 6px; right: 0; bottom: 4px; height: 50px; border-radius: 14px; background: #e3f5ec; transform: skewX(-12deg); }
.rq-map .road { position: absolute; left: 18px; right: 12px; bottom: 26px; height: 6px; border-radius: 6px; background: #fff; transform: rotate(-8deg); }
.rq-map .pulse { position: absolute; left: 50%; bottom: 14px; width: 40px; height: 14px; margin-left: -20px; border-radius: 50%; background: rgba(22,163,106,.35); animation: rqPulse 1.6s ease-out infinite; }
.rq-map .pin { position: absolute; left: 50%; bottom: 20px; margin-left: -20px; width: 40px; height: 40px; color: var(--color-primary); animation: rqPin 1.6s cubic-bezier(.3,0,.2,1) infinite; }
.rq-map .pin svg { width: 40px; height: 40px; fill: #fff; filter: drop-shadow(0 6px 8px rgba(13,118,80,.3)); }
@keyframes rqPin { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-14px); } 60% { transform: translateY(0) scaleY(.9); } }
@keyframes rqPulse { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.rq-where .field { margin-bottom: var(--space-4); }
.rq-when { display: grid; gap: var(--space-4); align-items: start; }
@media (min-width: 640px) { .rq-when { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.rq-when fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rq-urgency .chip { display: inline-flex; align-items: center; gap: 4px; }
.rq-urgency .chip svg { width: 0; height: 15px; opacity: 0; transition: width .25s, opacity .25s; }
.rq-urgency input:checked + .chip svg { width: 15px; opacity: 1; animation: svBlink .9s 2 steps(2); }
.rq-urgency input:checked + .chip { animation: rqChip .35s cubic-bezier(.2,.8,.2,1); }
@keyframes rqChip { 50% { transform: scale(1.08); } }
/* footer */
.rq-foot { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "back note pub"; align-items: center; gap: var(--space-4); margin-top: var(--space-6); }
.rq-publish { grid-area: pub; position: relative; overflow: hidden; }
.rq-publish::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); }
.rq.is-ready .rq-publish::before { animation: rqShine 2.8s 1s ease-in-out infinite; }
.rq.is-ready .rq-publish { box-shadow: 0 12px 28px rgba(22,163,106,.35); }
.rq-publish svg:last-child { transition: transform .2s; } .rq-publish:hover svg:last-child { transform: translateX(4px); }
@keyframes rqShine { 0% { left: -60%; } 40%, 100% { left: 130%; } }
.rq-back { grid-area: back; justify-self: start; }
.rq-back svg { width: 16px; height: 16px; }
.rq-note { grid-area: note; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-size: .82rem; color: var(--color-text-muted, #5b6662); text-align: center; }
.rq-note svg { width: 20px; height: 20px; color: var(--color-primary); flex: none; }
@media (max-width: 760px) {
  .rq-foot { grid-template-columns: 1fr; grid-template-areas: "pub" "note" "back"; }
  .rq-publish { width: 100%; justify-content: center; }
  .rq-back { justify-self: center; }
  .rq-top { flex-direction: column; align-items: stretch; }
  .rq-steps .t { display: none; } .rq-steps li.is-current .t { display: inline; }
  .rq-safe { justify-content: center; }
  .rq-card-head { flex-direction: column; } .rq-tip { max-width: none; } .rq-map { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rq *, .rq *::before, .rq *::after { animation: none !important; transition: none !important; }
  .rq-smile .face, .rq-smile .mouth, .rq-smile .spark { stroke-dashoffset: 0; }
}

@media (max-width: 760px) { .rq-steps li + li::before { width: 18px; margin: 0 8px; } .rq-steps .n { width: 28px; height: 28px; } .rq-steps { justify-content: center; } }
/* v0.6.7 — smaller hero headline/subtitle, taller input bar */
.hv-title { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.08; }
@media (min-width: 980px) { .hv-title { font-size: clamp(2.2rem, 3.3vw, 3rem); } }
@media (max-width: 380px) { .hv-title { font-size: 1.75rem; } }
.hv-sub { font-size: clamp(.95rem, 1.1vw, 1.02rem); margin-top: var(--space-4); max-width: 52ch; }
.hv-bar { padding: 16px 14px; gap: 12px; border-radius: 20px; margin-top: var(--space-5); }
.hv-media, .hv-voice { width: 54px; height: 54px; border-radius: 14px; }
.hv-go { width: 64px; height: 64px; border-radius: 16px; }
.hv-label { font-size: 1.05rem; }
.hv-field textarea { font-size: 1rem; padding-top: 4px; min-height: 1.6em; }
@media (max-width: 420px) { .hv-bar { padding: 12px 10px; } .hv-go { width: 54px; height: 54px; } .hv-media { width: 44px; height: 44px; } }
.hv-go .go-arrow svg { width: 26px; height: 26px; } .hv-go .go-arrow, .hv-go .go-search { width: 100%; height: 100%; }
/* v0.6.7 — taller hero image */
.hv-photo { aspect-ratio: 1 / 1.08; }
@media (max-width: 979px) { .hv-photo { aspect-ratio: 1 / 1; } }
.hv-scan { top: 14%; height: 56%; }
/* v0.6.8 — 1600 px page width; hero scaled for wide screens */
@media (min-width: 1280px) { .container { padding: 0 40px; } }
@media (min-width: 980px) {
  .hv-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); }
  .hv-stage { width: 100%; max-width: 720px; justify-self: end; }
  .hv-photo { aspect-ratio: 1 / 1; }
  .hv-copy { max-width: 700px; }
}
@media (min-width: 1400px) {
  .hv-title { font-size: 3.4rem; }
  .hv-sub { font-size: 1.1rem; }
  .hv-hero { padding: 72px 0 96px; }
}

/* ================= v0.6.8 — request detail page ================= */
.rd { padding-bottom: 64px; }
.main:has(> .rd) { background: radial-gradient(50% 360px at 90% 0%, #e3f5ec 0%, transparent 70%), var(--color-background); background-repeat: no-repeat; }
.rd-back { margin: 0 0 var(--space-3); font-size: .95rem; }
.rd-back a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.rd-back svg.flip, svg.flip { transform: scaleX(-1); width: 16px; height: 16px; }
.rd-back a:hover svg { transform: scaleX(-1) translateX(3px); }
.rd-grid { display: grid; gap: var(--space-6); align-items: start; }
@media (min-width: 1024px) { .rd-grid { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); } }
.rd-main, .rd-side { display: grid; gap: var(--space-5); min-width: 0; }
.rd-head { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.rd-title-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.rd-title-row h1 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; min-width: 0; overflow-wrap: anywhere; }
.rd-head-actions { display: flex; align-items: center; gap: 10px; }
.rd-more summary { width: 38px; height: 38px; border-radius: 50%; background: var(--color-surface); border: 1px solid var(--color-border); display: grid; place-items: center; cursor: pointer; list-style: none; }
.rd-more summary::-webkit-details-marker { display: none; }
.rd-more .dots { font-size: 10px; letter-spacing: 1px; font-weight: 900; }
.rd-more ul { right: 0; left: auto; min-width: 200px; }
.rd-more ul button { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; padding: 10px 12px; font: inherit; cursor: pointer; text-align: left; border-radius: 8px; color: var(--color-text); }
.rd-more ul button:hover { background: var(--color-background); }
.rd-more ul button.danger { color: var(--color-error); }
.rd-more ul svg { width: 16px; height: 16px; }
.rd-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 10px 0 0; color: var(--color-text-muted, #5b6662); font-size: .95rem; }
.rd-meta span { display: inline-flex; align-items: center; gap: 7px; }
.rd-meta svg { width: 17px; height: 17px; }
.rd-card { position: relative; min-width: 0; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; padding: clamp(16px, 2vw, 24px);
  box-shadow: 0 10px 30px rgba(13,60,40,.05); animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.rd-side .rd-card:nth-child(2) { animation-delay: .08s; } .rd-side .rd-card:nth-child(3) { animation-delay: .16s; } .rd-side .rd-card:nth-child(4) { animation-delay: .24s; }
.rd-card h2 { font-size: 1.3rem; margin: 0; letter-spacing: -.02em; }
.rd-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-4); }
.rd-card-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rd-offers .rd-card-title h2 { font-size: 1.6rem; }
.rd-count { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #e7f7ef; color: var(--color-primary-dark); font-weight: 600; font-size: .85rem; }
.rd-count svg { width: 14px; height: 14px; }
.select-sm { padding-top: 8px; padding-bottom: 8px; font-size: .9rem; min-height: 40px; }
.rd-list { display: grid; gap: var(--space-3); }
.rd-offer { border: 1px solid var(--color-border); border-radius: 16px; padding: 16px 18px; background: var(--color-surface);
  transition: border-color .2s, box-shadow .2s, transform .2s; animation: rise .5s calc(.1s + var(--i, 0) * .08s) cubic-bezier(.2,.8,.2,1) both; }
.rd-offer.is-in { animation: rise .45s calc(var(--i, 0) * .05s) cubic-bezier(.2,.8,.2,1) both; }
.rd-offer:hover, .rd-offer.is-open { border-color: var(--color-primary); box-shadow: 0 12px 30px rgba(13,60,40,.08); }
.rd-offer-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.rd-avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; color: #fff;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-dark)); object-fit: contain; flex: none; }
img.rd-avatar { background: #fff; border: 1px solid var(--color-border); }
.rd-offer-id { min-width: 0; }
.rd-name { font-weight: 800; font-size: 1.1rem; color: var(--color-text); text-decoration: none; overflow-wrap: anywhere; }
.rd-name:hover { color: var(--color-primary-dark); }
.rd-verified { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 4px; vertical-align: -3px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; }
.rd-verified svg { width: 12px; height: 12px; }
.rd-biz { color: var(--color-text-muted, #5b6662); font-size: .92rem; margin-top: 2px; }
.rd-rating { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: .9rem; flex-wrap: wrap; }
.rd-price { text-align: right; }
.rd-price strong { display: block; font-size: 1.4rem; letter-spacing: -.02em; }
.rd-price span { font-size: .8rem; color: var(--color-text-muted, #5b6662); }
.rd-offer-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 12px; padding-left: 88px; }
.rd-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: .85rem; color: var(--color-text-muted, #5b6662); }
.rd-facts span { display: inline-flex; align-items: center; gap: 6px; }
.rd-facts svg { width: 15px; height: 15px; }
.rd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.rd-tags span { padding: 5px 12px; border-radius: 999px; background: var(--color-background); border: 1px solid var(--color-border); font-size: .8rem; }
.rd-view { border-radius: 999px; padding-left: 20px; padding-right: 16px; }
.rd-view svg { transition: transform .25s; }
.rd-view[aria-expanded="true"] svg { transform: rotate(90deg); }
.rd-offer-detail { margin-top: 14px; padding: 14px 0 0 88px; border-top: 1px dashed var(--color-border); animation: rise .35s cubic-bezier(.2,.8,.2,1) both; }
.rd-offer-detail .rd-facts { margin: 8px 0 12px; }
.rd-msg { white-space: pre-wrap; margin: 0; font-size: .95rem; }
@media (max-width: 640px) {
  .rd-offer-top { grid-template-columns: auto minmax(0, 1fr); } .rd-price { grid-column: 1 / -1; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .rd-avatar { width: 52px; height: 52px; font-size: 1.2rem; }
  .rd-offer-bottom, .rd-offer-detail { padding-left: 0; } .rd-view { width: 100%; justify-content: center; }
}
/* still searching */
.rd-searching { display: flex; align-items: center; gap: 22px; margin-top: var(--space-4); padding: 18px 22px; border-radius: 16px; background: linear-gradient(135deg, #eef9f3, #e3f5ec); }
.rd-searching.is-empty { flex-direction: column; text-align: center; padding: 36px 22px; margin-top: 0; }
.rd-searching.is-empty .rd-radar { width: 128px; height: 128px; }
.rd-searching-copy { display: grid; gap: 4px; flex: 1; min-width: 0; }
.rd-searching-copy strong { font-size: 1.05rem; }
.rd-searching-copy > span:not(.rd-progress) { font-size: .9rem; color: var(--color-text-muted, #5b6662); }
.rd-progress { position: relative; display: block; height: 6px; border-radius: 6px; background: rgba(22,163,106,.15); overflow: hidden; margin-top: 10px; }
.rd-searching.is-empty .rd-progress { max-width: 320px; width: 100%; margin: 12px auto 0; }
.rd-progress i { position: absolute; top: 0; bottom: 0; width: 35%; border-radius: 6px; background: var(--color-primary); animation: rdProg 2.2s ease-in-out infinite; }
@keyframes rdProg { 0% { left: -35%; } 100% { left: 100%; } }
.rd-radar { width: 92px; height: 92px; flex: none; }
.rd-radar .ring { fill: none; stroke: rgba(22,163,106,.25); stroke-width: 1.5; }
.rd-radar .sweep { fill: rgba(22,163,106,.25); transform-origin: 60px 60px; animation: rqSpin 2.8s linear infinite; }
.rd-radar .core { fill: var(--color-primary); }
.rd-radar .dot { fill: var(--color-primary-dark); opacity: 0; animation: rdBlip 2.8s ease-out infinite; }
.rd-radar .d2 { animation-delay: .9s; } .rd-radar .d3 { animation-delay: 1.8s; }
@keyframes rdBlip { 0%, 10% { opacity: 0; transform: scale(.4); } 20% { opacity: 1; transform: scale(1.3); } 60% { opacity: .7; transform: none; } 100% { opacity: 0; } }
.rd-radar .dot { transform-box: fill-box; transform-origin: center; }
/* side cards */
.rd-edit-btn { border-radius: 999px; }
.rd-desc { display: grid; gap: 14px; }
.rd-desc.has-media { grid-template-columns: 150px minmax(0, 1fr); align-items: start; }
.rd-desc-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; }
.rd-media-main { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--color-background); }
.rd-media-main img, .rd-media-main video, .rd-thumb img, .rd-thumb video { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.rd-media-main:hover img, .rd-thumb:hover img { transform: scale(1.05); }
.rd-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin-top: 14px; }
.rd-thumb { display: block; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--color-background); }
.rd-add { display: contents; }
.rd-add-tile { display: grid; place-content: center; justify-items: center; gap: 4px; border: 1.5px dashed var(--color-border-strong, #c9d6cf); color: var(--color-text-muted, #5b6662); font-size: .78rem; text-align: center; cursor: pointer; transition: border-color .2s, color .2s; }
.rd-add-tile:hover, #rd-media:focus-visible + .rd-add-tile { border-color: var(--color-primary); color: var(--color-primary-dark); }
.rd-add-tile svg { width: 20px; height: 20px; }
.rd-add.is-uploading .rd-add-tile svg { animation: rqSpin 1s linear infinite; }
.rd-edit { margin-top: 4px; }
.rd-link { font-weight: 600; font-size: .92rem; }
.rd-map .map { border-radius: 14px; overflow: hidden; }
.rd-addr { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 14px; }
.rd-addr .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e7f7ef; color: var(--color-primary-dark); }
.rd-addr .ic svg { width: 18px; height: 18px; animation: rqPin 2.4s cubic-bezier(.3,0,.2,1) infinite; }
.rd-tl { list-style: none; margin: 14px 0 0; padding: 0; }
.rd-tl li { position: relative; padding: 0 0 18px 30px; animation: rise .5s calc(.2s + var(--k) * .1s) cubic-bezier(.2,.8,.2,1) both; }
.rd-tl li:last-child { padding-bottom: 0; }
.rd-tl li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: -2px; width: 2px; background: var(--color-border); }
.rd-tl li.is-done::before { background: var(--color-primary); }
.rd-tl li:last-child::before { display: none; }
.rd-tl .dot { position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--color-surface); border: 2px solid var(--color-border); }
.rd-tl li.is-done .dot { border-color: var(--color-primary); background: var(--color-primary); box-shadow: inset 0 0 0 3px #fff; }
.rd-tl li.is-next .dot { border-color: var(--color-primary); animation: pulse 1.8s infinite; }
.rd-tl li.is-next strong { color: var(--color-text-muted, #5b6662); }
.rd-urgent { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.rd-urgent h2 { font-size: 1.1rem; }
.rd-urgent-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fdecec; color: var(--color-error); }
.rd-urgent-ic svg { width: 20px; height: 20px; animation: svBlink 2.4s steps(2) infinite; }
.rd-urgent.is-urgent .rd-urgent-ic { background: var(--color-error); color: #fff; }
.rd-urgent-btn { border-radius: 999px; }
.rd-urgent-btn svg { color: var(--color-error); }
@media (max-width: 480px) { .rd-urgent { grid-template-columns: auto minmax(0, 1fr); } .rd-urgent form { grid-column: 1 / -1; } .rd-desc.has-media { grid-template-columns: 1fr; } .rd-media-main { max-width: 220px; } }
@media (prefers-reduced-motion: reduce) { .rd *, .rd *::before, .rd *::after { animation: none !important; transition: none !important; } }
/* v0.7.0 — matching states on the request page */
.rd-searching.is-none .rd-radar .sweep, .rd-searching.is-none .rd-progress, .rd-searching.is-none .rd-radar .dot { display: none; }
.rd-searching.is-none { background: linear-gradient(135deg, #fff8ec, #fdf1dc); }
.rd-zero-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.rd-decline { color: var(--color-error); }

/* ================= v0.7.0 — Messages (list · chat · details) ================= */
.ib { display: grid; gap: 16px; padding-top: 16px; padding-bottom: 16px; height: calc(100dvh - var(--header-h)); min-height: 560px; }
.main:has(> .ib) { padding-bottom: 0; }
@media (min-width: 761px) { .ib { grid-template-columns: 340px minmax(0, 1fr); } }
@media (min-width: 1181px) { .ib.has-active { grid-template-columns: 340px minmax(0, 1fr) 330px; } }
.ib > * { min-height: 0; min-width: 0; }
.ib-list, .ib-chat, .ib-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; }
.ib-list { display: flex; flex-direction: column; overflow: hidden; }
.ib-list-head { display: flex; align-items: center; gap: 6px; padding: 18px 16px 10px 20px; }
.ib-list-head h1 { font-size: 1.5rem; margin: 0 auto 0 0; letter-spacing: -.02em; }
.ib-list-head .icon-btn { width: 40px; height: 40px; border-radius: 50%; }
.ib-search { padding: 0 16px 8px; }
.ib-tabs { display: flex; gap: 4px; padding: 0 12px; border-bottom: 1px solid var(--color-border); }
.ib-tabs button { flex: 1; background: none; border: 0; padding: 10px 6px 12px; font: inherit; font-weight: 600; font-size: .9rem; color: var(--color-text-muted, #5b6662); cursor: pointer; border-bottom: 3px solid transparent; }
.ib-tabs button[aria-selected="true"] { color: var(--color-text); border-bottom-color: var(--color-primary); }
.ib-tabs .n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 99px; font-size: .72rem; background: var(--color-background); }
.ib-tabs button[aria-selected="true"] .n { background: var(--color-primary-action, var(--color-primary)); color: #fff; }
.ib-items { list-style: none; margin: 0; padding: 0; overflow-y: auto; flex: 1; }
.ib-item { display: flex; gap: 12px; padding: 14px 18px; text-decoration: none; color: var(--color-text); border-bottom: 1px solid var(--color-border); border-left: 3px solid transparent; transition: background .15s; }
.ib-item:hover { background: var(--color-background); }
.ib-item.is-active { background: #eef8f3; border-left-color: var(--color-primary); }
.ib-av { position: relative; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #e3f5ec; color: var(--color-primary-dark); font-weight: 800; font-size: 1.05rem; }
.ib-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; background: #fff; }
.ib-av.lg { width: 50px; height: 50px; }
.ib-av .dot { position: absolute; right: 0; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; background: var(--color-primary); border: 2px solid #fff; }
.ib-body { min-width: 0; flex: 1; display: grid; gap: 2px; }
.ib-top { display: flex; justify-content: space-between; gap: 8px; }
.ib-top strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-top time { font-size: .75rem; color: var(--color-text-muted, #5b6662); flex: none; }
.ib-req { font-size: .85rem; color: var(--color-text-muted, #5b6662); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-prev { display: flex; justify-content: space-between; gap: 8px; font-size: .85rem; color: var(--color-text-muted, #5b6662); }
.ib-prev { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ib-item.is-unread .ib-prev { color: var(--color-text); font-weight: 600; }
.ib-unread { flex: none; display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 99px; background: var(--color-primary-action, var(--color-primary)); color: #fff; font-size: .72rem; }
.ib-empty, .ib-placeholder { display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 32px; color: var(--color-text-muted, #5b6662); flex: 1; }
.ib-empty .ic, .ib-placeholder .ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e7f7ef; color: var(--color-primary-dark); }
.ib-empty .ic svg, .ib-placeholder .ic svg { width: 28px; height: 28px; }
.ib-placeholder h2 { margin: 6px 0 0; color: var(--color-text); }
.ib-noresult { padding: 16px 20px; color: var(--color-text-muted, #5b6662); }
/* chat column */
.ib-chat.chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; height: auto; min-height: 0; overflow: hidden; border-radius: 20px; }
.ib-chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--color-border); }
.ib-back { display: none; }
.ib-who { min-width: 0; flex: 1; display: grid; }
.ib-who strong { font-size: 1.08rem; }
.ib-presence { font-size: .78rem; color: var(--color-text-muted, #5b6662); }
.ib-presence.on { color: var(--color-primary-dark); }
.ib-presence.on::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--color-primary); margin-right: 5px; vertical-align: 1px; }
.ib-head-actions { display: flex; gap: 8px; }
.ib-round { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-text); cursor: pointer; list-style: none; }
.ib-round::-webkit-details-marker { display: none; }
.ib-round:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }
.ib-round svg { width: 19px; height: 19px; }
.ib-more ul { right: 0; left: auto; min-width: 230px; }
.ib-more ul a, .ib-more ul button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: 0; background: none; font: inherit; color: var(--color-text); text-decoration: none; border-radius: 8px; cursor: pointer; text-align: left; }
.ib-more ul a:hover, .ib-more ul button:hover { background: var(--color-background); }
.ib-more svg { width: 16px; height: 16px; }
@media (min-width: 1181px) { .ib-details-btn { display: none; } }
.ib-body-scroll.chat-body { overflow-y: auto; padding: 18px 22px; display: flex; flex-direction: column; gap: 10px; background: var(--color-surface); }
.ib-note { align-self: center; display: inline-flex; gap: 8px; align-items: center; max-width: 560px; padding: 8px 14px; border-radius: 12px; background: var(--color-background); color: var(--color-text-muted, #5b6662); font-size: .8rem; text-align: center; }
.ib-note svg { width: 16px; height: 16px; flex: none; color: var(--color-primary); }
.ib-day { align-self: center; margin: 6px 0; }
.ib-day span { display: inline-block; padding: 5px 14px; border-radius: 99px; background: var(--color-background); border: 1px solid var(--color-border); font-size: .8rem; font-weight: 600; }
.ib .msg { max-width: min(72%, 560px); padding: 10px 14px; border-radius: 16px; background: var(--color-surface); border: 1px solid var(--color-border); font-size: .95rem; white-space: normal; animation: rise .3s cubic-bezier(.2,.8,.2,1) both; }
.ib .msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ib .msg.theirs { align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 2px 8px rgba(13,60,40,.04); }
.ib .msg.mine { align-self: flex-end; background: var(--color-primary-action, var(--color-primary)); color: #fff; border-color: var(--color-primary); border-bottom-right-radius: 4px; }
.ib .msg img { display: block; border-radius: 10px; max-height: 260px; width: auto; max-width: 100%; margin-bottom: 8px; background: #fff; }
.ib .msg time { display: flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: .72rem; opacity: .75; margin-top: 4px; }
.ib .msg.theirs time { justify-content: flex-start; }
.ib .msg .tick { letter-spacing: -3px; opacity: .6; }
.ib .msg.is-read .tick { opacity: 1; color: #d6ffe9; }
.ib .msg .masked { display: block; font-size: .75rem; font-style: italic; opacity: .85; margin-top: 4px; }
.ib-sys { align-self: center; display: flex; align-items: center; gap: 12px; max-width: 420px; padding: 12px 16px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface); font-size: .88rem; box-shadow: 0 4px 14px rgba(13,60,40,.05); }
.ib-sys .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #e7f7ef; color: var(--color-primary-dark); flex: none; }
.ib-sys .ic svg { width: 18px; height: 18px; }
.ib-sys time { font-size: .72rem; color: var(--color-text-muted, #5b6662); margin-left: auto; }
.ib-typing { padding: 0 22px; min-height: 18px; font-size: .78rem; color: var(--color-text-muted, #5b6662); }
.ib-quick { display: flex; align-items: center; gap: 8px; padding: 10px 18px; border-top: 1px solid var(--color-border); overflow-x: auto; scrollbar-width: none; }
.ib-quick .lbl { font-size: .82rem; font-weight: 600; flex: none; }
.ib-quick button { flex: none; padding: 7px 14px; border-radius: 99px; border: 0; background: #eef8f3; color: var(--color-primary-dark); font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; transition: background .2s; }
.ib-quick button:hover { background: #dcf3e8; }
.ib-form.chat-form { display: flex; align-items: flex-end; gap: 10px; padding: 12px 18px 16px; border-top: 0; }
.ib-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--color-text-muted, #5b6662); cursor: pointer; flex: none; font-size: 1.2rem; }
.ib-icon:hover { color: var(--color-primary-dark); background: var(--color-background); }
.ib-icon svg { width: 21px; height: 21px; }
.ib-input { position: relative; flex: 1; display: flex; align-items: flex-end; gap: 4px; padding: 4px 6px 4px 14px; border: 1px solid var(--color-border); border-radius: 16px; background: var(--color-surface); transition: border-color .2s, box-shadow .2s; }
.ib-input:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(22,163,106,.12); }
.ib-input textarea { flex: 1; border: 0; outline: 0; resize: none; padding: 10px 0; min-height: 44px; max-height: 140px; font: inherit; background: transparent; color: var(--color-text); }
.ib-file-name { position: absolute; left: 12px; top: -26px; font-size: .78rem; padding: 3px 10px; border-radius: 99px; background: #eef8f3; color: var(--color-primary-dark); }
.ib-emoji { position: relative; }
.ib-emoji-pop { position: absolute; bottom: 46px; right: 0; display: grid; grid-template-columns: repeat(6, 36px); gap: 4px; padding: 8px; border-radius: 14px; background: var(--color-surface); border: 1px solid var(--color-border); box-shadow: 0 12px 30px rgba(0,0,0,.12); z-index: 5; }
.ib-emoji-pop button { width: 36px; height: 36px; border: 0; border-radius: 8px; background: none; font-size: 1.2rem; cursor: pointer; }
.ib-emoji-pop button:hover { background: var(--color-background); }
.ib-send { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--color-primary-action, var(--color-primary)); color: #fff; cursor: pointer; flex: none; box-shadow: 0 8px 20px rgba(22,163,106,.3); transition: background .2s, transform .2s; }
.ib-send:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.ib-send svg { width: 22px; height: 22px; }
.ib-closed { display: flex; gap: 12px; align-items: center; margin: 12px 18px 16px; padding: 14px 16px; border-radius: 14px; background: var(--color-background); border: 1px dashed var(--color-border-strong, #c9d6cf); }
.ib-closed svg { width: 20px; height: 20px; flex: none; color: var(--color-text-muted, #5b6662); }
.ib-closed div { display: grid; gap: 2px; font-size: .9rem; }
.ib-closed span { color: var(--color-text-muted, #5b6662); }
/* side panel */
.ib-panel { display: grid; gap: 16px; align-content: start; overflow-y: auto; }
.ib-card { padding: 18px; }
.ib-card h2 { font-size: 1.1rem; margin: 0 0 12px; }
.ib-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ib-card-head h2 { margin: 0; }
.ib-chip-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--color-border); border-radius: 10px; font-size: .82rem; font-weight: 600; color: var(--color-text); text-decoration: none; }
.ib-chip-link svg { width: 14px; height: 14px; }
.ib-req-card { display: flex; gap: 12px; align-items: center; }
.ib-req-card > div { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.ib-req-img { flex: none; display: grid; place-items: center; width: 84px; height: 68px; border-radius: 12px; overflow: hidden; background: #e3f5ec; color: var(--color-primary-dark); }
.ib-req-img img { width: 100%; height: 100%; object-fit: cover; }
.ib-facts { display: grid; gap: 6px; margin: 14px 0; font-size: .88rem; color: var(--color-text-muted, #5b6662); }
.ib-facts span { display: flex; align-items: center; gap: 8px; }
.ib-facts svg { width: 16px; height: 16px; }
.ib-outline { border: 1.5px solid var(--color-primary); color: var(--color-primary-dark); background: var(--color-surface); font-weight: 700; }
.ib-party { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--color-text); }
.ib-party > span:nth-child(2) { display: grid; gap: 4px; flex: 1; min-width: 0; }
.ib-party > svg { width: 18px; height: 18px; color: var(--color-text-muted, #5b6662); }
.ib-files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ib-files a, .ib-add { aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.ib-files img { width: 100%; height: 100%; object-fit: cover; }
.ib-add { display: grid; place-content: center; justify-items: center; gap: 4px; border: 1.5px dashed var(--color-border-strong, #c9d6cf); font-size: .75rem; color: var(--color-text-muted, #5b6662); cursor: pointer; text-align: center; }
.ib-add svg { width: 20px; height: 20px; }
.ib-add:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }
.ib-links { display: grid; gap: 4px; padding: 10px 12px; }
.ib-links summary { display: flex; align-items: center; gap: 10px; padding: 10px 8px; cursor: pointer; list-style: none; font-weight: 600; font-size: .92rem; border-radius: 10px; }
.ib-links summary::-webkit-details-marker { display: none; }
.ib-links summary:hover { background: var(--color-background); }
.ib-links summary svg { width: 18px; height: 18px; }
.ib-links summary svg:last-child { margin-left: auto; transition: transform .2s; color: var(--color-text-muted, #5b6662); }
.ib-links details[open] summary svg:last-child { transform: rotate(90deg); }
.ib-links ul { margin: 4px 8px 10px 36px; padding: 0; font-size: .85rem; color: var(--color-text-muted, #5b6662); display: grid; gap: 6px; }
.ib-links details form { padding: 0 8px 10px; }
.ib-archive { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 8px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--color-error); cursor: pointer; border-radius: 10px; }
.ib-archive:hover { background: #fdf1f1; }
.ib-archive .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fdecec; }
.ib-archive svg { width: 17px; height: 17px; }
/* responsive */
@media (max-width: 1180px) {
  .ib-panel { position: fixed; top: var(--header-h); right: 0; bottom: 0; width: min(360px, 92vw); padding: 16px; background: var(--color-background); box-shadow: -20px 0 40px rgba(0,0,0,.12); z-index: 30; transform: translateX(105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
  .ib.panel-open .ib-panel { transform: none; }
}
@media (max-width: 760px) {
  .ib { padding-top: 8px; height: calc(100dvh - var(--header-h) - var(--bottom-nav-h, 0px)); }
  .ib.has-active .ib-list { display: none; }
  .ib:not(.has-active) .ib-placeholder { display: none; }
  .ib-back { display: grid; }
  .ib .msg { max-width: 86%; }
  .ib-head-actions .ib-round { width: 38px; height: 38px; }
  .ib-send { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .ib .msg, .ib-panel { animation: none !important; transition: none !important; } }
.ib { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 761px) { .ib { grid-template-columns: 340px minmax(0, 1fr); } }
@media (min-width: 1181px) { .ib.has-active { grid-template-columns: 340px minmax(0, 1fr) 330px; } }
.main:has(> .ib) { padding-top: 0; }
.ib { height: calc(100dvh - var(--header-h) - 8px); }
@media (max-width: 760px) { .ib { height: calc(100dvh - var(--header-h) - var(--bottom-nav-h, 64px) - 8px); padding-bottom: 8px; } }

/* ================= v0.7.0 — header ================= */
.hd { height: 76px; }
:root { --header-h: 76px; }
.hd .container { gap: 10px; }
.hd .brand img { height: 32px; }
.hd-nav { display: none; gap: 6px; margin-left: 14px; }
@media (min-width: 900px) { .hd-nav { display: flex; } }
.hd-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: .95rem; font-weight: 550; color: var(--color-text); }
.hd-nav a svg { width: 20px; height: 20px; color: var(--color-text-muted, #5b6662); }
.hd-nav a:hover { background: var(--color-surface-alt); }
.hd-nav a[aria-current="page"] { background: #e7f7ef; color: var(--color-text); }
.hd-nav a[aria-current="page"] svg { color: var(--color-primary-dark); }
.hd-sep { width: 1px; height: 28px; background: var(--color-border); margin: 0 4px; display: none; }
@media (min-width: 900px) { .hd-sep { display: block; } }
.hd .chev { width: 16px; height: 16px; transition: transform .2s; }
.hd details[open] > summary .chev { transform: rotate(180deg); }
.hd-area { position: relative; }
.hd-area > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 999px; cursor: pointer; font-weight: 550; }
.hd-area > summary::-webkit-details-marker { display: none; }
.hd-area > summary > svg:first-child { width: 20px; height: 20px; color: var(--color-primary); }
.hd-area > summary:hover { background: var(--color-surface-alt); }
.show-lg { display: none; } @media (min-width: 1100px) { .show-lg { display: inline; } }
.hd-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; padding: 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; box-shadow: 0 20px 50px rgba(13,40,30,.14); z-index: var(--z-drawer); display: grid; gap: 10px; animation: rise .25s cubic-bezier(.2,.8,.2,1) both; }
.hd-area-form { display: grid; gap: 8px; }
.lang-pop > summary { background: var(--color-surface-alt); min-height: 44px; padding: 0 16px; gap: 10px; border-radius: 999px; font-weight: 600; }
.lang-pop[open] > summary, .lang-pop > summary:hover { background: var(--color-border); }
.lang-pop > summary svg:first-child { width: 20px; height: 20px; }
.lang-pop > summary .chev { width: 16px; height: 16px; transition: transform .2s; }
.lang-pop[open] > summary .chev { transform: rotate(180deg); }
/* v0.8.2 minimal panel: one line per language, round flag, radio on the right, divider, auto-detect switch */
.lang-pop .lang-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, 92vw); padding: 8px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; box-shadow: 0 18px 48px rgba(23,26,25,.14); z-index: 60; }
.lang-pop ul { position: static; min-width: 0; padding: 0; margin: 0; border: 0; box-shadow: none; display: grid; gap: 2px; background: none; }
.lang-pop li a { display: flex; align-items: center; gap: 14px; padding: 8px 12px; border-radius: 12px; min-height: 48px; justify-content: flex-start; color: var(--color-text); text-decoration: none; font-weight: 450; }
.lang-pop li a:hover { background: var(--color-surface-alt); }
.lang-pop li a:focus-visible { outline: 2px solid var(--color-primary); outline-offset: -2px; }
.lang-pop li a[aria-current="true"] { background: #eef8f3; font-weight: 600; }
.lang-pop li a[aria-current="true"]::after { content: none; }
.lang-pop .flag { width: 28px; height: 28px; flex: none; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.lang-pop .flag svg { width: 100%; height: 100%; }
.lang-pop .nm { flex: 1; font-size: 1rem; }
.lang-pop .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--color-border-strong, #c9d6cf); flex: none; }
.lang-pop li a[aria-current="true"] .radio { border-color: var(--color-primary); background: radial-gradient(circle, #fff 0 3px, var(--color-primary) 4px); }
.lang-auto { display: flex; align-items: center; gap: 12px; margin: 6px 4px 0; padding: 12px 8px 6px; border-top: 1px solid var(--color-border); text-decoration: none; color: var(--color-text); font-weight: 450; }
.lang-auto svg { width: 20px; height: 20px; }
.lang-auto span:not(.toggle) { flex: 1; }
.lang-auto .toggle { position: relative; width: 44px; height: 26px; border-radius: 99px; background: var(--color-border); transition: background .2s; flex: none; }
.lang-auto .toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.lang-auto[aria-checked="true"] .toggle { background: var(--color-primary); }
.lang-auto[aria-checked="true"] .toggle::after { transform: translateX(18px); }
.hd-bell { position: relative; width: 44px; height: 44px; border-radius: 50%; }
.hd-bell svg { width: 22px; height: 22px; }
.hd-account > summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; padding: 3px 6px 3px 3px; border-radius: 999px; }
.hd-account > summary::-webkit-details-marker { display: none; }
.hd-account > summary:hover { background: var(--color-surface-alt); }
.hd-account .avatar { width: 44px; height: 44px; overflow: hidden; }
.hd-account .avatar img { width: 100%; height: 100%; object-fit: cover; }
.hd-initials { font-weight: 700; }
.hd-cta { border-radius: 999px; min-height: 48px; padding: 0 22px; gap: 8px; font-weight: 700; }
.hd-cta svg { width: 18px; height: 18px; }
@media (max-width: 767px) { .hd { height: 64px; } :root { --header-h: 64px; } .hd-cta { padding: 0 14px; min-height: 42px; } .hd .brand img { height: 26px; } }
@media (max-width: 420px) { .hd-area { display: none; } .hd .container { gap: 4px; } .hd-cta span { display: none; } }

/* ================= v0.7.0 — My requests ================= */
.mr { padding-bottom: 56px; }
.mr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 8px 0 22px; }
.mr-head h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.03em; }
.mr-head p { margin: 4px 0 0; color: var(--color-text-muted, #5b6662); }
.mr-new { border-radius: 14px; min-height: 50px; padding: 0 24px; font-weight: 700; }
.mr-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--color-border); margin-bottom: 18px; }
.mr-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.mr-tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px 14px; border: 0; background: none; border-bottom: 3px solid transparent; font: inherit; font-weight: 600; color: var(--color-text-muted, #5b6662); cursor: pointer; white-space: nowrap; }
.mr-tabs button svg { width: 18px; height: 18px; }
.mr-tabs button[aria-selected="true"] { color: var(--color-text); border-bottom-color: var(--color-primary); }
.mr-tabs .n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 99px; font-size: .75rem; background: var(--color-surface-alt, #eef1ef); }
.mr-tabs button[aria-selected="true"] .n { background: var(--color-primary-action, var(--color-primary)); color: #fff; }
.mr-tools { display: flex; gap: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.mr-search, .mr-sort { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface); }
.mr-search:focus-within, .mr-sort:focus-within { border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(22,163,106,.12); }
.mr-search svg, .mr-sort svg { width: 18px; height: 18px; color: var(--color-text-muted, #5b6662); flex: none; }
.mr-search input { border: 0; outline: 0; background: transparent; font: inherit; width: min(240px, 50vw); }
.mr-sort select { border: 0; outline: 0; background: transparent; font: inherit; font-weight: 600; cursor: pointer; }
.mr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mr-card { display: grid; grid-template-columns: 200px minmax(0, 1fr) 280px; gap: 22px; align-items: stretch; padding: 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px;
  transition: border-color .2s, box-shadow .2s, transform .2s; animation: rise .5s calc(var(--i, 0) * .05s) cubic-bezier(.2,.8,.2,1) both; }
.mr-card:hover { border-color: var(--color-primary); box-shadow: 0 14px 34px rgba(13,60,40,.08); }
.mr-media { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(145deg, #e8f6ef, #d4efe2); }
.mr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mr-card:hover .mr-media img { transform: scale(1.05); }
.mr-ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--color-primary); }
.mr-ph svg { width: 56px; height: 56px; opacity: .8; }
.mr-badge { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.92); color: var(--color-primary-dark); box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.mr-badge svg { width: 22px; height: 22px; }
.mr-body { min-width: 0; display: grid; align-content: start; gap: 6px; }
.mr-body h2 { margin: 2px 0 0; font-size: 1.2rem; letter-spacing: -.01em; }
.mr-body h2 a { color: var(--color-text); text-decoration: none; }
.mr-body h2 a:hover { color: var(--color-primary-dark); }
.mr-body p { margin: 0; }
.mr-cat, .mr-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; color: var(--color-text-muted, #5b6662); }
.mr-cat svg, .mr-meta svg { width: 16px; height: 16px; }
.mr-meta span { display: inline-flex; align-items: center; gap: 6px; }
.mr-desc { font-size: .92rem; color: var(--color-text); overflow-wrap: anywhere; }
.mr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px !important; }
.mr-tags span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px; border-radius: 99px; background: var(--color-surface-alt, #eef1ef); font-size: .8rem; }
.mr-tags .urgent { background: #fdecec; color: var(--color-error); font-weight: 600; }
.mr-tags svg { width: 13px; height: 13px; }
.mr-side { display: grid; align-content: space-between; gap: 12px; padding-left: 22px; border-left: 1px solid var(--color-border); }
.mr-side-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mr-menu summary { width: 36px; height: 36px; border-radius: 50%; background: var(--color-surface-alt, #eef1ef); display: grid; place-items: center; font-size: 1.2rem; cursor: pointer; list-style: none; }
.mr-menu summary::-webkit-details-marker { display: none; }
.mr-menu ul { right: 0; left: auto; min-width: 200px; }
.mr-menu ul a, .mr-menu ul button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 12px; border: 0; background: none; font: inherit; color: var(--color-text); text-decoration: none; border-radius: 8px; cursor: pointer; text-align: left; }
.mr-menu ul .danger { color: var(--color-error); }
.mr-menu ul svg { width: 16px; height: 16px; }
.mr-info { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .92rem; color: var(--color-text-muted, #5b6662); }
.mr-info svg { width: 17px; height: 17px; }
.mr-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #cfe9dc; border-top-color: var(--color-primary); animation: hvSpin .8s linear infinite; }
.mr-cta { justify-content: center; border: 1.5px solid var(--color-primary); color: var(--color-primary-dark); background: var(--color-surface); border-radius: 12px; min-height: 48px; font-weight: 700; }
.mr-cta:hover { background: #eef8f3; }
.mr-cta svg { width: 17px; height: 17px; transition: transform .2s; } .mr-cta:hover svg { transform: translateX(3px); }
.mr-cta.is-hot { background: var(--color-primary-action, var(--color-primary)); color: #fff; }
.mr-none, .mr-empty { text-align: center; color: var(--color-text-muted, #5b6662); padding: 32px 16px; }
.mr-empty { display: grid; justify-items: center; gap: 8px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; }
.mr-empty .ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e7f7ef; color: var(--color-primary-dark); }
.mr-promo { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 18px; padding: 20px 28px; border-radius: 18px; background: linear-gradient(135deg, #f1faf5, #e6f6ee); border: 1px solid var(--color-border); overflow: hidden; }
.mr-promo h2 { margin: 0 0 6px; font-size: 1.2rem; }
.mr-promo p { margin: 0 0 14px; color: var(--color-text-muted, #5b6662); max-width: 62ch; }
.mr-promo .btn { border-radius: 12px; }
.mr-promo-art { display: grid; place-items: center; }
.mr-promo-art img { max-height: 150px; width: auto; }
.mr-promo-art svg { width: 220px; height: 150px; }
.mr-plus { animation: hvFloat 3s ease-in-out infinite; }
.mr-rays { animation: svBlink 1.6s steps(2) infinite; }
@media (max-width: 1100px) { .mr-card { grid-template-columns: 170px minmax(0, 1fr); } .mr-side { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--color-border); padding-top: 12px; grid-template-columns: 1fr auto; align-items: center; } .mr-side-top { order: 0; } .mr-info { order: 1; } .mr-cta { order: 2; grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .mr-card { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .mr-media { aspect-ratio: 16 / 9; }
  .mr-bar { flex-direction: column; align-items: stretch; }
  .mr-tools { padding-bottom: 12px; } .mr-search { flex: 1; } .mr-search input { width: 100%; }
  .mr-promo { grid-template-columns: 1fr; text-align: center; padding: 20px; } .mr-promo p { margin-inline: auto; }
  .mr-new { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .mr *, .mr-card { animation: none !important; transition: none !important; } }

/* ================= v0.7.0 — Login & sign-up ================= */
.main:has(> .lg), .main:has(> .rg) { padding-top: 0; padding-bottom: 0; }
.lg, .rg { background: radial-gradient(50% 60% at 45% 20%, #e6f6ee 0%, transparent 70%), linear-gradient(180deg, #f3faf6, var(--color-background)); }
.lg-grid { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 40px; align-items: center; }
@media (min-width: 1180px) { .lg-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, 1fr); gap: 28px; } }
@media (min-width: 760px) and (max-width: 1179px) { .lg-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .lg-visual { display: none; } }
.lg-intro h1, .rg-intro h1 { position: relative; margin: 0; font-size: clamp(2.2rem, 3.6vw, 3.2rem); letter-spacing: -.035em; line-height: 1.08; }
.lg-spark { position: absolute; width: 40px; height: 40px; margin: -18px 0 0 6px; stroke: var(--color-primary); stroke-width: 3; stroke-linecap: round; fill: none; stroke-dasharray: 14; stroke-dashoffset: 14; animation: rqDraw .5s .6s ease-out forwards; }
.lg-lead, .rg-lead { margin: 14px 0 26px; font-size: 1.08rem; color: var(--color-text-muted, #5b6662); max-width: 44ch; line-height: 1.6; }
.lg-feats, .rg-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.lg-feats li, .rg-feats li { display: flex; gap: 16px; align-items: flex-start; animation: rise .6s calc(.15s + var(--d) * .1s) cubic-bezier(.2,.8,.2,1) both; }
.lg-feats .ic, .rg-feats .ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e3f5ec; color: var(--color-primary-dark); flex: none; }
.lg-feats .ic svg, .rg-feats .ic svg { width: 24px; height: 24px; }
.lg-feats li > span:last-child, .rg-feats li > span:last-child { display: grid; gap: 4px; color: var(--color-text-muted, #5b6662); font-size: .95rem; }
.lg-feats strong, .rg-feats strong { color: var(--color-text); font-size: 1.05rem; }
.lg-script { position: relative; display: inline-block; margin: 34px 0 0; font-size: 1.6rem; font-style: italic; font-weight: 500; color: #2b3531; transform: rotate(-4deg); font-family: 'Segoe Script', 'Bradley Hand', 'Comic Sans MS', cursive; }
.lg-script svg { display: block; width: 150px; height: 14px; stroke: var(--color-primary); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 170; stroke-dashoffset: 170; animation: rqDraw .9s 1s ease-out forwards; }
.lg-visual, .rg-visual { position: relative; min-height: 520px; }
.lg-photo { position: absolute; inset: 0 0 0 40px; border-radius: 28px 28px 28px 28px; overflow: hidden; background: linear-gradient(160deg, #dff3e9, #c6ead8); }
.lg-photo img, .rg-photo img { width: 100%; height: 100%; object-fit: cover; }
.lg-phone { position: absolute; left: 50%; top: 50%; width: 180px; height: 340px; margin: -170px 0 0 -90px; border-radius: 30px; background: #171A19; padding: 10px; box-shadow: 0 30px 60px rgba(13,60,40,.25); animation: hvFloat 6s ease-in-out infinite; }
.lg-phone .scr { display: grid; gap: 10px; align-content: start; width: 100%; height: 100%; border-radius: 22px; background: #f7f9f8; padding: 26px 14px; }
.lg-phone i { display: block; height: 42px; border-radius: 10px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.lg-phone b { display: block; height: 36px; margin-top: auto; border-radius: 99px; background: var(--color-primary); }
.lg-float, .rg-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--color-surface); border-radius: 16px; box-shadow: 0 18px 40px rgba(13,60,40,.14); animation: hvFloat 6s ease-in-out infinite; }
.lg-float .ic, .rg-float .ic { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e7f7ef; color: var(--color-primary-dark); flex: none; }
.lg-float .ic svg, .rg-float .ic svg { width: 22px; height: 22px; }
.lg-float .dot { position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--color-error); border: 2px solid #fff; }
.lg-float span:last-child, .rg-float > span:last-child { display: grid; }
.lg-float strong { font-size: .95rem; } .lg-float small, .rg-float small { color: var(--color-text-muted, #5b6662); font-size: .78rem; }
.lg-float.f1 { top: 40px; right: -10px; }
.lg-float.f2 { top: 46%; left: 0; animation-delay: 1s; }
.lg-float.f3 { bottom: 60px; left: 20px; animation-delay: 2s; }
.lg-card, .rg-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 24px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 24px 60px rgba(13,60,40,.08); animation: rise .6s .1s cubic-bezier(.2,.8,.2,1) both; }
.lg-card h2, .rg-card h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0 0 6px; letter-spacing: -.02em; }
.lg-form, .rg-form { margin-top: 22px; display: grid; gap: 4px; }
.lg-ctl { position: relative; display: flex; align-items: center; }
.lg-ctl > svg { position: absolute; left: 14px; width: 20px; height: 20px; color: var(--color-text-muted, #5b6662); pointer-events: none; }
.lg-ctl .input { padding-left: 44px; padding-right: 44px; min-height: 52px; border-radius: 12px; }
.lg-ctl:focus-within > svg { color: var(--color-primary-dark); }
.lg-ctl-btn { position: absolute; right: 6px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; border-radius: 50%; color: var(--color-text-muted, #5b6662); cursor: pointer; }
.lg-ctl-btn:hover { background: var(--color-surface-alt); color: var(--color-text); }
.lg-ctl-btn svg { width: 19px; height: 19px; }
.lg-ctl-btn[aria-pressed="true"] { color: var(--color-primary-dark); }
.lg-forgot { text-align: right; margin: -2px 0 10px; font-size: .9rem; font-weight: 600; }
.lg-submit { min-height: 58px; border-radius: 14px; font-size: 1.08rem; gap: 10px; box-shadow: 0 12px 28px rgba(22,163,106,.28); }
.lg-submit svg { transition: transform .2s; } .lg-submit:hover svg { transform: translateX(4px); }
.lg-switch { margin: 22px 0 0; text-align: center; color: var(--color-text-muted, #5b6662); }
.lg-switch a { font-weight: 700; }
.lg-trust { background: var(--color-surface); border-top: 1px solid var(--color-border); }
.lg-trust .container { display: grid; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
@media (min-width: 760px) { .lg-trust .container { grid-template-columns: repeat(3, 1fr); } .lg-trust .container > div + div { border-left: 1px solid var(--color-border); padding-left: 24px; } }
.lg-trust .container > div, .rg-trust > div { display: flex; align-items: center; gap: 14px; justify-content: center; }
.lg-trust .ic, .rg-trust .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e7f7ef; color: var(--color-primary-dark); flex: none; }
.lg-trust .ic svg { width: 24px; height: 24px; }
.lg-trust .container > div > span:last-child, .rg-trust > div > span:last-child { display: grid; }
.lg-trust small, .rg-trust small { color: var(--color-text-muted, #5b6662); }
/* sign-up */
.rg-grid { display: grid; gap: 32px; padding-top: 36px; padding-bottom: 40px; align-items: start; }
@media (min-width: 1180px) { .rg.is-pro .rg-grid { grid-template-columns: minmax(0, .95fr) minmax(0, .85fr) minmax(0, 1.35fr); gap: 24px; } }
@media (min-width: 760px) { .rg:not(.is-pro) .rg-grid, .rg.is-pro .rg-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
@media (min-width: 1180px) { .rg.is-pro .rg-grid { grid-template-columns: minmax(0, .95fr) minmax(0, .85fr) minmax(0, 1.35fr); } }
@media (max-width: 1179px) { .rg-visual { display: none; } }
.rg-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 99px; background: #e3f5ec; color: var(--color-primary-dark); font-weight: 700; font-size: .9rem; margin: 0 0 20px; }
.rg-badge svg { width: 16px; height: 16px; }
.rg-intro { padding-top: 20px; }
.rg-note { display: flex; align-items: center; gap: 8px; margin: 26px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--color-surface); border: 1px solid var(--color-border); font-size: .9rem; }
.rg-note svg { width: 18px; height: 18px; color: var(--color-primary); flex: none; }
.rg-visual { min-height: 640px; margin-top: 20px; }
.rg-photo { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%); background: linear-gradient(165deg, #e2f4ea, #c8ebd9); }
.rg-illu { position: absolute; inset: 0; display: grid; place-items: center; }
.rg-illu .core { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 34px; color: #fff; background: linear-gradient(145deg, var(--color-primary), var(--color-primary-dark)); box-shadow: 0 20px 40px rgba(13,118,80,.3); animation: hvFloat 5s ease-in-out infinite; }
.rg-illu .core svg { width: 56px; height: 56px; }
.rg-illu .tool { position: absolute; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--color-primary-dark); box-shadow: 0 10px 24px rgba(13,60,40,.12); animation: hvFloat 6s ease-in-out infinite; }
.rg-illu .tool svg { width: 28px; height: 28px; }
.rg-illu .t1 { top: 22%; left: 16%; } .rg-illu .t2 { top: 26%; right: 14%; animation-delay: 1s; } .rg-illu .t3 { bottom: 40%; left: 10%; animation-delay: 2s; } .rg-illu .t4 { bottom: 38%; right: 12%; animation-delay: 3s; }
.rg-float.f1 { top: 70px; right: -14px; }
.rg-float.f1 strong { font-size: 1.4rem; } .rg-float strong.sm { font-size: .9rem; max-width: 170px; }
.rg-float.f2 { top: 44%; left: -24px; animation-delay: 1.5s; }
.rg-map { bottom: -10px; left: 30px; right: 10px; height: 200px; padding: 0; display: block; overflow: hidden; background: linear-gradient(135deg, #e9f3ee, #dcebe3); animation-delay: 2.5s; }
.rg-map .lbl { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 99px; background: #fff; font-weight: 700; font-size: .82rem; z-index: 2; white-space: nowrap; }
.rg-map .lbl svg { width: 14px; height: 14px; color: var(--color-primary); }
.rg-map .ring { position: absolute; left: 50%; top: 58%; width: 140px; height: 140px; margin: -70px 0 0 -70px; border-radius: 50%; background: rgba(22,163,106,.15); border: 2px solid rgba(22,163,106,.5); animation: rqPulse 3s ease-out infinite; }
.rg-map .r2 { animation-delay: 1.5s; }
.rg-map .pin { position: absolute; left: 50%; top: 58%; margin: -34px 0 0 -16px; color: var(--color-primary-dark); animation: rqPin 1.8s cubic-bezier(.3,0,.2,1) infinite; }
.rg-map .pin svg { width: 32px; height: 32px; fill: #fff; }
.rg-map .d { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); animation: rdBlip 3s ease-out infinite; }
.rg-map .a { left: 24%; top: 40%; } .rg-map .b { left: 70%; top: 44%; animation-delay: .8s; } .rg-map .c { left: 34%; top: 78%; animation-delay: 1.6s; } .rg-map .e { left: 76%; top: 76%; animation-delay: 2.2s; }
.rg-step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.rg-step-head .ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e3f5ec; color: var(--color-primary-dark); }
.rg-steps { list-style: none; display: flex; align-items: center; gap: 0; margin: 0 0 24px; padding: 0; font-size: .85rem; color: var(--color-text-muted, #5b6662); flex-wrap: wrap; row-gap: 8px; }
.rg-steps li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.rg-steps li + li::before { content: ""; width: clamp(16px, 4vw, 60px); height: 1px; background: var(--color-border); margin: 0 12px; }
.rg-steps .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--color-border); font-weight: 700; }
.rg-steps .is-current { color: var(--color-text); font-weight: 700; }
.rg-steps .is-current .n { background: var(--color-primary-action, var(--color-primary)); border-color: var(--color-primary-action, var(--color-primary)); color: #fff; }
.rg-kind { border: 0; padding: 0; margin: 0; min-width: 0; }
.rg-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rg-seg label { cursor: pointer; }
.rg-seg input { position: absolute; opacity: 0; pointer-events: none; }
.rg-seg span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 12px; border: 1.5px solid var(--color-border); font-weight: 600; transition: all .2s; }
.rg-seg span svg { width: 18px; height: 18px; }
.rg-seg input:checked + span { border-color: var(--color-primary); background: #eef8f3; color: var(--color-primary-dark); }
.rg-seg input:focus-visible + span { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.rg-consents { margin: 10px 0 14px; display: grid; gap: 10px; }
.rg-trust { display: grid; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); }
@media (min-width: 560px) { .rg-trust { grid-template-columns: repeat(3, 1fr); } }
.rg-trust > div { justify-content: flex-start; gap: 10px; }
.rg-trust .ic { width: 38px; height: 38px; } .rg-trust .ic svg { width: 18px; height: 18px; }
.rg-trust strong { font-size: .85rem; } .rg-trust small { font-size: .75rem; }
.rg-card .grid-2 { gap: 0 16px; }
@media (prefers-reduced-motion: reduce) { .lg *, .rg * { animation: none !important; transition: none !important; } .lg-spark, .lg-script svg { stroke-dashoffset: 0; } }
.rg-card .grid-2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.rg-steps li + li::before { width: clamp(12px, 2vw, 36px); margin: 0 8px; }
.lg-script svg { width: 100%; }
@media (max-width: 759px) { .lg-card, .rg-card { order: -1; } .lg-grid, .rg-grid { padding-top: 20px; } }

/* ================= v0.7.1 — hero spacing + sticky header fixes ================= */
/* Anchors never land under the sticky header; "#need" (header CTA) keeps the whole hero in view
   whenever the form fits the first screen, otherwise the form lands well below the header. */
html { scroll-padding-top: 92px; }
.hv-hero #need { scroll-margin-top: max(96px, calc(100svh - 240px)); }
/* Less empty space between the hero and the next section. */
.hv-hero { padding: clamp(28px, 4vw, 64px) 0 clamp(24px, 3vw, 40px); }
@media (min-width: 1400px) { .hv-hero { padding: 64px 0 40px; } }
.hv-stage { padding-bottom: 56px; }
.hv-hero + .section { padding-top: clamp(24px, 3vw, 40px); }
/* Header nav never wraps to two lines on mid-size screens: labels hide first, icons stay. */
.hd-nav a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1359px) {
  .hd-nav a span:not(.sr-only) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hd-nav a { padding: 10px 12px; }
}

/* ================= v0.7.1 — appointment + completion confirmation ================= */
.jsched h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 var(--space-3); }
.jsched h2 svg { width: 18px; height: 18px; color: var(--color-primary); }
.jsched-now { display: flex; flex-direction: column; gap: 2px; margin: 0 0 var(--space-3); }
.jsched-now strong { font-size: 1.05rem; }
.jsched-pending { border: 1px solid var(--color-border); border-radius: 14px; padding: 12px 14px; background: var(--color-surface-alt, #f4f7f6); margin-bottom: var(--space-3); }
.jsched-pending.is-incoming { border-color: var(--color-primary); background: #eef8f3; }
.jsched-at { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; font-weight: 700; }
.jsched-at svg { width: 16px; height: 16px; color: var(--color-primary); }
.jdone { display: flex; gap: 14px; margin-top: var(--space-4); padding: 16px; border-radius: 16px; border: 1px solid var(--color-primary); background: #eef8f3; }
.jdone h3 { margin: 0 0 4px; font-size: 1.05rem; }
.jdone p { margin: 0 0 4px; }
.jdone-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; }
.jdone-ic svg { width: 20px; height: 20px; }
.jdone-problem > summary { list-style: none; cursor: pointer; }
.jdone-problem > summary::-webkit-details-marker { display: none; }
.jdone-problem[open] { flex-basis: 100%; }
.rd-reopened { margin-bottom: 0; }
.jsched h2, .rd-main .jsched h2 { font-size: 1.1rem; font-weight: 800; }
.rd-main .jsched { border-radius: 20px; padding: 20px 24px; }
.rd-offer-id .rd-name + .rd-rating, .rd-offer-id strong.rd-name { margin-right: 8px; }

/* ================= v0.7.1 — service (category) landing page ================= */
.main:has(> .sp) { padding-top: 0; }
.sp { --sp-green-soft: #e7f7ef; padding-bottom: 56px; }
.sp h2 { letter-spacing: -.02em; }
/* hero */
.sp-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #eef8f3, var(--color-background)); }
.sp-hero-media { position: relative; height: 220px; }
.sp-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: spKen 9s ease-out both; }
@keyframes spKen { from { transform: scale(1.06); } to { transform: none; } }
.sp-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 22px; padding-bottom: 32px; }
.sp-crumb { font-size: .82rem; color: var(--color-text-muted, #5b6662); margin-bottom: 14px; }
.sp-crumb a { color: var(--color-primary-dark); }
.sp-hero h1 { margin: 0; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.sp-hero h1 .l { display: block; animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.sp-hero h1 em { font-style: normal; color: var(--color-primary); display: inline; animation: rise .7s .08s cubic-bezier(.2,.8,.2,1) both; }
.sp-hero h1 .l2 { color: var(--color-text); }
.sp-lead { margin: 16px 0 0; max-width: 46ch; color: var(--color-text-muted, #5b6662); font-size: 1.02rem; line-height: 1.55; animation: rise .7s .16s cubic-bezier(.2,.8,.2,1) both; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; max-width: 520px; }
.sp-chip { border: 1px solid var(--color-border); background: rgba(255,255,255,.92); border-radius: 999px; padding: 7px 13px; font: inherit; font-size: .84rem; font-weight: 600; color: var(--color-text); cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s; animation: rise .5s calc(.25s + var(--i) * .04s) cubic-bezier(.2,.8,.2,1) both; box-shadow: 0 2px 8px rgba(13,60,40,.05); }
.sp-chip:hover, .sp-chip:focus-visible { border-color: var(--color-primary); background: #fff; transform: translateY(-2px); }
.sp-form { position: relative; z-index: 2; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 22px; padding: 22px; box-shadow: 0 24px 60px rgba(13,60,40,.16);
  animation: rise .8s .2s cubic-bezier(.2,.8,.2,1) both; }
.sp-form-title { margin: 0; font-size: 1.3rem; font-weight: 800; }
.sp-form-sub { margin: 6px 0 14px; font-size: .9rem; color: var(--color-text-muted, #5b6662); }
.sp-form textarea { width: 100%; min-height: 104px; resize: vertical; border: 1px solid var(--color-border); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: .95rem; background: #fbfcfc; transition: border-color .2s, box-shadow .2s; }
.sp-form textarea:focus { outline: 0; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(22,163,106,.14); background: #fff; }
.sp-form-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.sp-tool { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: #f1f5f3; border: 0; font: inherit; font-size: .86rem; font-weight: 600; color: var(--color-text); cursor: pointer; transition: background .2s; }
.sp-tool:hover { background: #e3efe9; } .sp-tool svg { width: 16px; height: 16px; }
.sp-tool[aria-pressed="true"] { background: var(--color-primary-action, var(--color-primary)); color: #fff; }
.sp-submit { border-radius: 999px; justify-content: center; }
.sp-submit svg { transition: transform .2s; } .sp-submit:hover svg { transform: translateX(4px); }
@media (min-width: 980px) {
  .sp-hero { min-height: 520px; }
  .sp-hero-media { position: absolute; inset: 0 0 0 30%; height: auto; }
  .sp-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #eef8f3 0%, rgba(238,248,243,.86) 14%, rgba(238,248,243,0) 42%); }
  .sp-hero.has-photo .sp-hero-media::before { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(247,249,248,.5), transparent); z-index: 1; }
  .sp-hero-inner { grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); align-items: center; padding-top: 34px; padding-bottom: 44px; min-height: 520px; }
  .sp-hero-copy { max-width: 560px; }
  .sp-hero:not(.has-photo) .sp-hero-copy { max-width: 520px; }
}
/* built-in illustration (no uploaded photo) */
.sp-art { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(60% 70% at 62% 50%, #d6f2e4 0%, #eaf7f0 55%, #f3faf6 100%); }
.sp-art .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(22,163,106,.16) 1.2px, transparent 1.3px); background-size: 22px 22px; mask-image: radial-gradient(ellipse at 62% 50%, #000 30%, transparent 70%); }
.sp-art .ring { position: absolute; left: 62%; top: 50%; border-radius: 50%; border: 2px solid rgba(22,163,106,.18); transform: translate(-50%, -50%); animation: spPulse 6s ease-in-out infinite; }
.sp-art .r1 { width: 180px; height: 180px; } .sp-art .r2 { width: 300px; height: 300px; animation-delay: .8s; } .sp-art .r3 { width: 440px; height: 440px; animation-delay: 1.6s; }
@keyframes spPulse { 0%, 100% { opacity: .5; transform: translate(-50%, -50%) scale(.96); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.02); } }
.sp-art .core { position: absolute; left: 62%; top: 50%; width: 118px; height: 118px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 32px;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-dark)); color: #fff; box-shadow: 0 26px 60px rgba(13,118,80,.35); animation: spFloat 5s ease-in-out infinite; }
.sp-art .core svg { width: 54px; height: 54px; }
@keyframes spFloat { 0%, 100% { transform: translate(-50%, -50%) rotate(-3deg); } 50% { transform: translate(-50%, -56%) rotate(3deg); } }
.sp-art .pill { position: absolute; display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .82rem; font-weight: 700; color: var(--color-text);
  box-shadow: 0 12px 30px rgba(13,60,40,.12); white-space: nowrap; animation: spFloat2 6s ease-in-out infinite; }
.sp-art .pill svg { width: 14px; height: 14px; color: var(--color-primary); }
.sp-art .p1 { left: 46%; top: 18%; } .sp-art .p2 { left: 70%; top: 70%; animation-delay: 1s; } .sp-art .p3 { left: 44%; top: 76%; animation-delay: 2s; }
@keyframes spFloat2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 979px) { .sp-art .core { left: 50%; width: 88px; height: 88px; border-radius: 24px; } .sp-art .core svg { width: 40px; height: 40px; } .sp-art .ring { left: 50%; } .sp-art .pill { display: none; } .sp-art .dots { mask-image: none; } }
.sp-art-feature { position: relative; inset: auto; height: 100%; min-height: 320px; border-radius: inherit; }
.sp-art-feature .core, .sp-art-feature .ring { left: 50%; } .sp-art-feature .p1 { left: 8%; top: 14%; } .sp-art-feature .p2 { left: auto; right: 8%; top: 40%; } .sp-art-feature .p3 { left: 12%; top: auto; bottom: 26%; }
/* trust strip */
.sp-trust { background: #f1f7f4; border-block: 1px solid #e3eee8; }
.sp-trust-grid { display: grid; gap: 14px 24px; padding-block: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.sp-trust-item { display: flex; gap: 12px; align-items: center; animation: rise .6s calc(.1s + var(--i) * .06s) cubic-bezier(.2,.8,.2,1) both; }
.sp-trust-item .ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sp-green-soft); color: var(--color-primary); }
.sp-trust-item .ic svg { width: 22px; height: 22px; }
.sp-trust-item strong { display: block; font-size: .93rem; } .sp-trust-item small { display: block; color: var(--color-text-muted, #5b6662); font-size: .82rem; }
/* steps */
.sp-steps { padding-top: clamp(32px, 4vw, 52px); }
.sp-steps h2 { display: flex; align-items: flex-start; gap: 6px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: 0 0 20px; }
.sp-spark { width: 30px; height: 24px; color: var(--color-primary); flex: none; }
.sp-steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .sp-steps-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sp-steps-list { grid-template-columns: repeat(4, 1fr); gap: 34px; } }
.sp-step { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; padding: 18px 20px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.sp-step:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(13,60,40,.1); border-color: #cfe6da; }
.sp-steps.is-in .sp-step { animation: rise .6s calc(var(--i) * .08s) cubic-bezier(.2,.8,.2,1) both; }
@media (min-width: 1100px) { .sp-step:not(:last-child)::after { content: "→"; position: absolute; right: -26px; top: 50%; transform: translateY(-50%); color: var(--color-primary); font-weight: 700; font-size: 1.1rem; } }
.sp-step-top { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.sp-step .num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sp-green-soft); color: var(--color-primary-dark); font-weight: 800; }
.sp-step-ic svg { width: 30px; height: 30px; color: var(--color-text); }
.sp-step h3 { margin: 0 0 6px; font-size: 1rem; } .sp-step p { margin: 0; font-size: .88rem; color: var(--color-text-muted, #5b6662); line-height: 1.5; }
/* feature */
.sp-feature { display: grid; gap: 20px; margin-top: clamp(28px, 4vw, 44px); align-items: stretch; }
@media (min-width: 980px) { .sp-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.sp-feature-media { position: relative; margin: 0; min-height: 300px; border-radius: 20px; overflow: hidden; background: #e7f4ee; box-shadow: 0 20px 50px rgba(13,60,40,.1); }
.sp-feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.sp-feature-media:hover img { transform: scale(1.03); }
.sp-badge { position: absolute; left: 16px; bottom: 16px; right: 16px; max-width: 340px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: .92rem; line-height: 1.3; box-shadow: 0 10px 30px rgba(13,60,40,.16); z-index: 2; }
.sp-badge .ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sp-green-soft); color: var(--color-primary); }
.sp-badge .ic svg { width: 18px; height: 18px; }
.sp-feature-card { position: relative; background: linear-gradient(160deg, #f1f9f5, #f7faf9); border: 1px solid #e3eee8; border-radius: 20px; padding: clamp(20px, 3vw, 32px); overflow: hidden; }
.sp-feature-ic { position: absolute; right: 22px; top: 22px; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: #dff3e9; color: var(--color-text); }
.sp-feature-ic svg { width: 42px; height: 42px; }
.sp-feature-card h2 { margin: 0; max-width: calc(100% - 100px); font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.15; }
.sp-feature-text { color: var(--color-text-muted, #5b6662); max-width: 46ch; margin: 10px 0 18px; }
.sp-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 20px; }
@media (min-width: 560px) { .sp-checks { grid-template-columns: 1fr 1fr; } }
.sp-checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.sp-checks svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; }
/* local + about */
.sp-local { display: grid; gap: 20px; margin-top: clamp(24px, 3vw, 36px); align-items: start; }
@media (min-width: 980px) { .sp-local { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.sp-local-text h2 { margin: 0 0 10px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.sp-local-text p { margin: 0; color: var(--color-text-muted, #5b6662); line-height: 1.65; }
.sp-about { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; padding: 18px 20px; box-shadow: 0 10px 30px rgba(13,60,40,.06); }
.sp-about-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sp-about-head h2 { margin: 0; font-size: 1rem; }
.sp-about-list { display: grid; gap: 14px 18px; margin: 0; }
@media (min-width: 560px) { .sp-about-list { grid-template-columns: 1fr 1fr; } }
.sp-about-list > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: start; }
.sp-about-list .ic { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sp-green-soft); color: var(--color-primary); }
.sp-about-list .ic svg { width: 17px; height: 17px; }
.sp-about-list dt { font-weight: 700; font-size: .82rem; } .sp-about-list dd { margin: 0; font-size: .8rem; color: var(--color-text-muted, #5b6662); line-height: 1.4; }
/* faq */
.sp-faq { margin-top: clamp(28px, 4vw, 44px); }
.sp-faq h2 { margin: 0 0 14px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.sp-faq-grid { display: grid; gap: 10px 16px; align-items: start; }
@media (min-width: 900px) { .sp-faq-grid { grid-template-columns: 1fr 1fr; } }
.sp-faq-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.sp-faq-item[open] { border-color: #bfe3d0; box-shadow: 0 8px 24px rgba(13,60,40,.07); }
.sp-faq-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; font-weight: 700; font-size: .94rem; }
.sp-faq-item summary::-webkit-details-marker { display: none; }
.sp-faq-item .chev svg { width: 18px; height: 18px; transition: transform .25s; color: var(--color-primary-dark); }
.sp-faq-item[open] .chev svg { transform: rotate(180deg); }
.sp-faq-a { padding: 0 16px 16px; color: var(--color-text-muted, #5b6662); line-height: 1.6; font-size: .92rem; animation: rise .35s cubic-bezier(.2,.8,.2,1) both; }
/* cta */
.sp-cta { position: relative; display: grid; gap: 16px; align-items: center; margin-top: clamp(28px, 4vw, 44px); padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 36px); border-radius: 26px;
  background: linear-gradient(120deg, #e3f5ec, #eef8f3 60%, #f4faf7); border: 1px solid #d7ede1; overflow: hidden; }
@media (min-width: 900px) { .sp-cta { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 28px; } }
.sp-cta-art { position: relative; display: grid; place-items: center; width: 118px; height: 90px; color: var(--color-text); }
.sp-cta-art .ring { position: absolute; inset: 0; border-radius: 50%; background: #cfeedd; }
.sp-cta-art svg { position: relative; width: 52px; height: 52px; animation: spDrive 3s ease-in-out infinite; }
.sp-cta-art i { position: absolute; left: 6px; height: 3px; border-radius: 3px; background: var(--color-primary); opacity: .7; animation: spLines 1.4s linear infinite; }
.sp-cta-art .l1 { top: 34px; width: 22px; } .sp-cta-art .l2 { top: 44px; width: 30px; animation-delay: .3s; } .sp-cta-art .l3 { top: 54px; width: 16px; animation-delay: .6s; }
@keyframes spDrive { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
@keyframes spLines { from { transform: translateX(8px); opacity: 0; } 40% { opacity: .8; } to { transform: translateX(-8px); opacity: 0; } }
.sp-cta h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.9rem); } .sp-cta p { margin: 4px 0 0; color: var(--color-text-muted, #5b6662); }
.sp-cta-btn { border-radius: 999px; white-space: nowrap; box-shadow: 0 12px 26px rgba(22,163,106,.3); }
.sp-script { margin: 0; font-family: "Segoe Script", "Bradley Hand", "Comic Sans MS", cursive; font-size: 1.12rem; line-height: 1.25; transform: rotate(-6deg); color: var(--color-text); max-width: 150px; }
.sp-script svg { display: block; width: 130px; height: 12px; color: var(--color-primary); }
@media (max-width: 899px) { .sp-script { display: none; } }
.sp-updated { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .sp *, .sp *::before, .sp *::after { animation: none !important; transition: none !important; } }
.sp-chip.is-picked { background: #e7f7ef; border-color: var(--color-primary); color: var(--color-primary-dark); }
/* specificity over the global "span > svg" icon rule */
.sp .sp-step-ic svg { width: 30px; height: 30px; }
.sp .sp-feature-ic svg { width: 42px; height: 42px; }
.sp .sp-cta-art svg { width: 52px; height: 52px; }
.sp .sp-trust-item .ic svg { width: 22px; height: 22px; }
.sp .sp-badge .ic svg { width: 18px; height: 18px; }
.sp .sp-about-list .ic svg { width: 17px; height: 17px; }
.sp .sp-art .pill svg { width: 14px; height: 14px; }
.sp .sp-faq-item .chev svg { width: 18px; height: 18px; }
@media (min-width: 980px) {
  .sp-hero:not(.has-photo) .sp-art .core, .sp-hero:not(.has-photo) .sp-art .ring { left: 36%; }
  .sp-hero:not(.has-photo) .sp-art .dots { mask-image: radial-gradient(ellipse at 36% 50%, #000 30%, transparent 70%); }
  .sp-hero:not(.has-photo) .sp-art { background: radial-gradient(50% 70% at 36% 50%, #d6f2e4 0%, #eaf7f0 55%, #f3faf6 100%); }
  .sp-hero .sp-art .p1 { left: 20%; top: 16%; } .sp-hero .sp-art .p2 { left: 44%; top: 74%; } .sp-hero .sp-art .p3 { left: 10%; top: 66%; }
}
@media (min-width: 980px) {
  .sp-hero .sp-art .p3 { display: none; }
  .sp-hero .sp-art { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
  .sp-hero:not(.has-photo) .sp-hero-media::after { display: none; }
}

/* ================= v0.7.1 — professional: New jobs + My jobs ================= */
.main:has(> .pj) { background: radial-gradient(40% 300px at 60% 0%, #e6f6ee 0%, transparent 70%), var(--color-background); background-repeat: no-repeat; }
.pj { padding-bottom: 56px; }
.pj-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1100px) { .pj-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
.pj-main, .pj-side { display: grid; gap: 18px; min-width: 0; }
.pj-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pj-head h1 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.7rem); letter-spacing: -.03em; }
.pj-head p { margin: 6px 0 0; color: var(--color-text-muted, #5b6662); font-size: 1.02rem; }
.pj-head-art { position: relative; min-height: 96px; }
.pj-art { position: relative; width: 170px; height: 110px; flex: none; }
.pj-art .blob { position: absolute; inset: 0; border-radius: 48% 52% 44% 56% / 60% 40% 60% 40%; background: linear-gradient(140deg, #d8f1e4, #eef8f3); animation: blob 14s ease-in-out infinite alternate; }
.pj-art .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-6deg); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(145deg, var(--color-primary), var(--color-primary-dark)); color: #fff; box-shadow: 0 16px 34px rgba(13,118,80,.3); animation: spFloat 5s ease-in-out infinite; }
.pj .pj-art .core svg { width: 30px; height: 30px; }
.pj-art i { position: absolute; left: 18px; width: 16px; height: 3px; border-radius: 3px; background: var(--color-primary); transform-origin: right center; }
.pj-art .r1 { top: 30px; transform: rotate(35deg); } .pj-art .r2 { top: 44px; } .pj-art .r3 { top: 58px; transform: rotate(-35deg); }
@media (max-width: 640px) { .pj-art { display: none; } }
/* availability switch */
.pj-switch { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; box-shadow: 0 4px 14px rgba(13,60,40,.05); }
.pj .pj-switch svg { width: 16px; height: 16px; }
.pj-switch i { position: relative; width: 38px; height: 22px; border-radius: 999px; background: #d5dcd9; transition: background .2s; }
.pj-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.pj-switch[aria-checked="true"] i { background: var(--color-primary); } .pj-switch[aria-checked="true"] i::after { transform: translateX(16px); }
.pj-switch:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
/* stats */
.pj-stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.pj-stat { display: flex; gap: 12px; align-items: flex-start; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 16px; animation: rise .5s calc(var(--i) * .06s) cubic-bezier(.2,.8,.2,1) both; }
.pj-stat .ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; }
.pj-stat .ic.is-green { background: #e3f5ec; color: var(--color-primary); } .pj-stat .ic.is-amber { background: #fdf1dc; color: #d98a0b; }
.pj .pj-stat .ic svg { width: 22px; height: 22px; }
.pj-stat strong { display: block; font-size: 1.45rem; line-height: 1.1; letter-spacing: -.02em; }
.pj-stat b { display: block; font-weight: 600; font-size: .92rem; margin-top: 2px; }
.pj-stat small { display: block; font-size: .78rem; color: var(--color-text-muted, #5b6662); margin-top: 2px; }
/* tabs + tools */
.pj-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.pj-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; }
.pj-tabs > * { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .92rem; color: var(--color-text); cursor: pointer; text-decoration: none; position: relative; transition: background .2s, color .2s; }
.pj .pj-tabs svg { width: 18px; height: 18px; }
.pj-tabs > *:hover { background: var(--color-surface-alt, #f4f7f6); }
.pj-tabs > [aria-selected="true"], .pj-tabs > [aria-current="page"] { background: #e7f7ef; color: var(--color-primary-dark); }
.pj-tabs > [aria-selected="true"]::after, .pj-tabs > [aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--color-primary); }
.pj-tabs .n { font-weight: 500; }
.pj-tabs-wide { width: 100%; }
.pj-tools { display: flex; gap: 8px; }
.pj-select select { appearance: none; font: inherit; font-weight: 600; font-size: .92rem; padding: 10px 38px 10px 14px; border-radius: 12px; border: 1px solid var(--color-border); background: var(--color-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171A19' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; cursor: pointer; }
.pj-icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--color-border); background: var(--color-surface); cursor: pointer; color: var(--color-text); }
.pj .pj-icon-btn svg { width: 18px; height: 18px; }
.pj-icon-btn[aria-pressed="true"] { background: #e7f7ef; border-color: var(--color-primary); color: var(--color-primary-dark); }
.pj-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pj-section-head h2 { margin: 0; font-size: 1.5rem; letter-spacing: -.02em; }
/* cards */
.pj-list { display: grid; gap: 16px; }
.pj-card { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 18px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px;
  box-shadow: 0 6px 20px rgba(13,60,40,.04); transition: transform .25s, box-shadow .25s, border-color .25s; animation: rise .5s calc(var(--i) * .05s) cubic-bezier(.2,.8,.2,1) both; }
.pj-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(13,60,40,.1); border-color: #cfe6da; }
.pj-media { position: relative; display: block; border-radius: 14px; overflow: hidden; background: #e7f4ee; min-height: 150px; }
.pj-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pj-card:hover .pj-media img { transform: scale(1.04); }
.pj-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--color-primary); background: radial-gradient(circle at 50% 45%, #d6f2e4, #eef8f3 70%); }
.pj .pj-ph svg { width: 44px; height: 44px; }
.pj-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pj-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pj-top h2 { margin: 0; font-size: 1.22rem; letter-spacing: -.01em; }
.pj-top h2 a { color: var(--color-text); text-decoration: none; } .pj-top h2 a:hover { color: var(--color-primary-dark); }
.pj-ago { margin-left: auto; font-size: .82rem; color: var(--color-text-muted, #5b6662); }
.pj-state { margin-left: auto; }
.pj-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.pj-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pj-pill.is-red { background: #fdecec; color: #c73a3a; } .pj-pill.is-green { background: #e3f5ec; color: var(--color-primary-dark); }
.pj-desc { margin: 0; color: var(--color-text-muted, #5b6662); line-height: 1.5; }
.pj-loc { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--color-text-muted, #5b6662); }
.pj .pj-loc svg { width: 16px; height: 16px; }
.pj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.pj-tags span { padding: 4px 11px; border-radius: 999px; border: 1px solid var(--color-border); background: #f7faf9; font-size: .82rem; font-weight: 500; }
.pj-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.pj-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.pj-facts .f { display: flex; gap: 10px; align-items: flex-start; }
.pj .pj-facts .f > svg { width: 20px; height: 20px; margin-top: 2px; color: var(--color-text); }
.pj-facts b { display: block; font-weight: 600; font-size: .92rem; } .pj-facts small { display: block; font-size: .8rem; color: var(--color-text-muted, #5b6662); }
.pj-msg .bub { position: relative; } .pj .pj-msg .bub svg { width: 22px; height: 22px; }
.pj-msg .bub i { position: absolute; top: -8px; right: -8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--color-error); color: #fff; font-style: normal; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.pj-cta { border-radius: 14px; padding-inline: 22px; white-space: nowrap; }
.pj-cta svg { transition: transform .2s; } .pj-cta:hover svg { transform: translateX(4px); }
.pj-outline { background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text); }
.pj-outline:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }
.pj-menu { margin-left: 2px; } .pj-menu summary { width: 36px; height: 36px; }
[data-pj].is-compact .pj-card { grid-template-columns: 64px minmax(0, 1fr); padding: 12px 14px; }
[data-pj].is-compact .pj-media { min-height: 64px; } [data-pj].is-compact .pj-desc, [data-pj].is-compact .pj-tags { display: none; }
@media (max-width: 700px) {
  .pj-card { grid-template-columns: 1fr; } .pj-media { min-height: 160px; }
  .pj-ago, .pj-state { margin-left: 0; } .pj-cta { width: 100%; justify-content: center; }
  .pj-tabs > * { padding: 9px 12px; font-size: .86rem; }
}
.pj-empty { text-align: center; padding: 40px 20px; background: var(--color-surface); border: 1px dashed var(--color-border); border-radius: 20px; }
.pj-empty .ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #e7f7ef; color: var(--color-primary); }
.pj .pj-empty .ic svg { width: 26px; height: 26px; }
.pj-empty h2 { font-size: 1.15rem; margin: 12px 0 4px; }
.pj-none { text-align: center; color: var(--color-text-muted, #5b6662); }
/* sidebar */
.pj-box { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; padding: 18px; box-shadow: 0 6px 20px rgba(13,60,40,.04); }
.pj-box h2 { margin: 0 0 12px; font-size: 1.05rem; } .pj-box h3 { margin: 0; font-size: 1rem; }
.pj-box.is-tint { background: linear-gradient(160deg, #eaf7f0, #f4faf7); border-color: #d7ede1; }
.pj-box-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.pj-box-head h2 { margin: 0; }
.pj-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .86rem; color: var(--color-primary-dark); text-decoration: none; }
.pj .pj-link svg { width: 15px; height: 15px; }
.pj-with-ic { display: flex; align-items: center; gap: 8px; } .pj .pj-with-ic svg { width: 20px; height: 20px; color: var(--color-primary); }
.pj-map { position: relative; height: 190px; border-radius: 14px; overflow: hidden; margin-bottom: 12px; background: #e9f1ed; }
.pj-map .grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.7) 2px, transparent 2px), linear-gradient(90deg, rgba(255,255,255,.7) 2px, transparent 2px); background-size: 38px 30px; transform: rotate(-12deg) scale(1.4); }
.pj-map .river { position: absolute; left: -10%; right: -10%; top: 30%; height: 26px; background: #cfe3ec; border-radius: 50%; transform: rotate(-18deg); }
.pj-map .circle { position: absolute; left: 50%; top: 50%; width: 130px; height: 130px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px dashed var(--color-primary); background: rgba(22,163,106,.12); animation: spPulse 5s ease-in-out infinite; }
.pj-map .pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -80%); color: var(--color-primary-dark); }
.pj .pj-map .pin svg { width: 34px; height: 34px; fill: #fff; }
.pj-map .km { position: absolute; right: 12px; top: 12px; background: #fff; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: .85rem; box-shadow: 0 6px 16px rgba(13,60,40,.12); }
.pj-tip-head { display: flex; gap: 12px; } .pj-tip-head h2 { margin: 0 0 4px; font-size: 1rem; } .pj-tip-head p { margin: 0 0 12px; }
.pj-tip-head .ic, .pj-help .ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #d6f0e2; color: var(--color-primary-dark); }
.pj .pj-tip-head .ic svg, .pj .pj-help .ic svg { width: 22px; height: 22px; }
.pj-white { background: #fff; border: 1px solid var(--color-border); color: var(--color-text); border-radius: 12px; }
.pj-msgs { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.pj-msgs a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; color: inherit; }
.pj-msgs a:hover { background: var(--color-surface-alt, #f4f7f6); }
.pj-msgs .av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #e8eefc; color: #3b4f8f; font-weight: 700; font-size: .85rem; }
.pj-msgs b { display: block; font-size: .9rem; } .pj-msgs small { display: block; font-size: .8rem; color: var(--color-text-muted, #5b6662); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-msgs .w { font-size: .75rem; color: var(--color-text-muted, #5b6662); display: grid; justify-items: end; gap: 4px; }
.pj-msgs .w i { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--color-primary-action, var(--color-primary)); color: #fff; font-weight: 700; display: grid; place-items: center; }
.pj-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .86rem; color: var(--color-text-muted, #5b6662); }
.pj-tips li { display: flex; gap: 8px; } .pj .pj-tips svg { flex: none; width: 17px; height: 17px; color: var(--color-primary); margin-top: 1px; }
.pj-today-empty { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 18px 12px; border: 1px dashed var(--color-border); border-radius: 14px; background: #f7faf9; }
.pj .pj-today-empty svg { width: 24px; height: 24px; color: var(--color-text-muted, #5b6662); }
.pj-today-empty p { margin: 4px 0 0; font-weight: 500; } .pj-today-empty small { color: var(--color-text-muted, #5b6662); }
.pj-up { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--color-border); text-decoration: none; color: inherit; }
.pj-up:last-child { border-bottom: 0; }
.pj-up .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e7f7ef; color: var(--color-primary-dark); }
.pj .pj-up .ic svg { width: 22px; height: 22px; } .pj .pj-up > svg { width: 16px; height: 16px; color: var(--color-text-muted, #5b6662); }
.pj-up b { display: block; font-size: .9rem; } .pj-up small { display: block; font-size: .8rem; color: var(--color-text-muted, #5b6662); }
.pj-cal-nav { display: flex; gap: 4px; } .pj-cal-nav a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--color-text); }
.pj-cal-nav a:hover { background: var(--color-surface-alt, #f4f7f6); } .pj .pj-cal-nav svg { width: 18px; height: 18px; }
.pj-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.pj-cal-grid .wd { font-size: .75rem; color: var(--color-text-muted, #5b6662); padding-bottom: 6px; text-transform: capitalize; }
.pj-cal-grid .d { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; font-size: .88rem; }
.pj-cal-grid .d.is-busy { background: #e3f5ec; color: var(--color-primary-dark); font-weight: 700; }
.pj-cal-grid .d.is-today { background: var(--color-primary-action, var(--color-primary)); color: #fff; font-weight: 700; }
.pj-help { display: flex; gap: 12px; } .pj-help h2 { margin: 0 0 4px; font-size: 1rem; } .pj-help p { margin: 0 0 10px; }
@media (prefers-reduced-motion: reduce) { .pj *, .pj *::before, .pj *::after { animation: none !important; transition: none !important; } }
.pj-map .pin { display: block; line-height: 0; } .pj .pj-map .pin svg { display: block; width: 34px; height: 34px; }
@media (max-width: 700px) {
  .pj-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pj-stat { flex-direction: column; gap: 8px; padding: 12px; } .pj-stat .ic { width: 38px; height: 38px; border-radius: 12px; }
  .pj-stat strong { font-size: 1.2rem; } .pj-media { min-height: 130px; }
}

/* ---------- admin v0.7.2: shell, page head, stat cards, toolbar, table, row menu, bulk bar, pager ---------- */
.np { background: var(--color-background); }
.np .admin-side { padding: 20px 14px; }
.np .admin-side .brand { padding: 4px 8px 18px; margin-bottom: 8px; border-bottom: 1px solid var(--color-border); }
.np-chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--color-primary-soft); color: var(--color-primary-dark); font-size: 12px; font-weight: 650; }
.np .admin-side nav { gap: 3px; }
.np .admin-side nav a { border-radius: 10px; padding: 9px 12px; font-weight: 550; color: #3f4a46; }
.np .admin-side nav a[aria-current="page"] { background: var(--color-primary-soft); color: var(--color-primary-dark); font-weight: 650; box-shadow: inset 3px 0 0 var(--color-primary); }
.np .admin-side nav a svg { width: 19px; height: 19px; flex: none; }
.np .admin-side nav a[aria-current="page"] svg { color: var(--color-primary); }
.np .admin-top { gap: 10px; padding: 10px 24px; min-height: 64px; }
.np-top-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface); color: var(--color-text); text-decoration: none; font-size: var(--text-sm); font-weight: 600; }
.np-top-btn:hover { border-color: var(--color-border-strong); }
.np .admin-top span > svg[aria-hidden="true"], .np-top-btn svg, .np-bell svg { width: 18px; height: 18px; }
.np-bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--color-border); border-radius: 10px; color: var(--color-text); background: var(--color-surface); }
.np-bell i { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--color-error); color: #fff; font: 700 11px/20px var(--font-sans); text-align: center; border: 2px solid var(--color-surface); }
.np-me { position: relative; }
.np-me summary { list-style: none; display: flex; align-items: center; gap: 4px; cursor: pointer; padding: 2px; border-radius: 999px; }
.np-me summary::-webkit-details-marker { display: none; }
.np-me .av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #1f5b43; color: #fff; font-weight: 700; font-size: 14px; }
.np-me summary .chev { width: 16px; height: 16px; color: var(--color-text-muted); }
.np-me-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; z-index: var(--z-modal); }
.np-me-panel p { margin: 0; padding: 8px 10px 10px; border-bottom: 1px solid var(--color-border); margin-bottom: 6px; }
.np-me-panel p strong, .np-me-panel p span { display: block; } .np-me-panel p span { font-size: 12px; color: var(--color-text-muted); }
.np-me-panel a, .np-me-panel button { display: flex; width: 100%; gap: 8px; align-items: center; padding: 9px 10px; border: 0; background: none; border-radius: 8px; color: var(--color-text); text-decoration: none; font: inherit; font-size: var(--text-sm); cursor: pointer; text-align: left; }
.np-me-panel a:hover, .np-me-panel button:hover { background: var(--color-surface-alt); }
.np-me-panel svg { width: 17px; height: 17px; }
.np .admin-content { max-width: 1440px; padding: 28px 28px 64px; }

.np-head { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 22px; min-height: 96px; }
.np-head-text { flex: 1 1 320px; min-width: 0; position: relative; z-index: 1; }
.np-head h1 { font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -.02em; margin: 8px 0 4px; }
.np-head p { margin: 0; color: var(--color-text-muted); overflow-wrap: anywhere; }
.np-head-actions { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.np-env { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 750; letter-spacing: .06em; background: var(--color-primary-soft); color: var(--color-primary-dark); }
.np-env i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.np-env:not(.is-production) { background: var(--color-warning-soft); color: var(--color-warning-text); }
.np-art { position: relative; width: 150px; height: 96px; flex: none; }
.np-art .b1 { position: absolute; inset: 6px 10px 0 24px; border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%; background: #e3f5ec; }
.np-art .b2 { position: absolute; width: 46px; height: 46px; right: 4px; top: 0; border-radius: 50%; background: #fdf1dc; }
.np-art .ic { position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%); display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: var(--color-surface); box-shadow: 0 10px 24px rgba(13,118,80,.18); color: var(--color-primary); }
.np-art .ic svg { width: 30px; height: 30px; }
.np-art .dot { position: absolute; border-radius: 50%; background: var(--color-primary); opacity: .35; }
.np-art .d1 { width: 8px; height: 8px; left: 12px; top: 18px; } .np-art .d2 { width: 6px; height: 6px; right: 30px; bottom: 6px; background: #f4a62a; opacity: .7; }
@media (max-width: 640px) { .np-art { display: none; } }

.np-stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: 20px; }
.np-stat { display: flex; gap: 14px; align-items: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 18px; text-decoration: none; color: inherit; animation: rise .5s calc(var(--i) * .06s) cubic-bezier(.2,.8,.2,1) both; transition: border-color var(--dur), box-shadow var(--dur); }
a.np-stat:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-sm); }
.np-stat .ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; }
.np-stat .ic svg { width: 24px; height: 24px; }
.np-stat .ic.is-green { background: #e3f5ec; color: var(--color-primary); } .np-stat .ic.is-blue { background: #e6f0fb; color: #2c6fc0; }
.np-stat .ic.is-amber { background: #fdf1dc; color: #d98a0b; } .np-stat .ic.is-red { background: #fde8e8; color: var(--color-error); } .np-stat .ic.is-gray { background: var(--color-surface-alt); color: var(--color-text-muted); }
.np-stat .tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.np-stat .tx b { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 600; }
.np-stat .tx strong { font-size: 1.65rem; line-height: 1.15; letter-spacing: -.02em; }
.np-stat .tr { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; }
.np-stat .tr svg { width: 13px; height: 13px; } .np-stat .tr span { font-weight: 500; color: var(--color-text-muted); }
.np-stat .tr.up { color: var(--color-success); } .np-stat .tr.down { color: var(--color-error); } .np-stat .tr.flat { color: var(--color-text-muted); }

.np-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 16px; margin-bottom: 20px; }
.np-card > h2 { font-size: var(--text-lg); margin: 0 0 12px; }
.np-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.np-sel select, .np-input, .np-search input { height: 42px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface); font: inherit; font-size: var(--text-sm); color: var(--color-text); }
.np-sel select { padding: 0 34px 0 12px; min-width: 150px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7671' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
.np-input { padding: 0 12px; min-width: 180px; }
.np-search { position: relative; flex: 1 1 280px; display: flex; }
.np-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--color-text-muted); pointer-events: none; }
.np-search input { width: 100%; padding: 0 12px 0 40px; }
.np-sel select:focus, .np-input:focus, .np-search input:focus { outline: 2px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-primary); }
.np-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 42px; padding: 0 16px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface); color: var(--color-text); font: inherit; font-size: var(--text-sm); font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap; }
.np-btn:hover { border-color: var(--color-border-strong); background: var(--color-surface-alt); }
.np-btn svg { width: 17px; height: 17px; }
.np-btn.is-primary { background: var(--color-primary-action, var(--color-primary)); border-color: var(--color-primary-action, var(--color-primary)); color: #fff; }
.np-btn.is-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.np-btn.is-ghost { border-color: transparent; background: transparent; }
.np-btn.is-danger { color: var(--color-error-text); border-color: #f2c9c9; }
.np-btn.is-sm { height: 34px; padding: 0 12px; }

.np-bulk { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px 12px; margin-bottom: 12px; border-radius: 12px; background: var(--color-primary-soft); border: 1px solid #bfe6d2; animation: rise .25s ease both; }
.np-bulk[hidden] { display: none; }
.np-bulk .n { font-weight: 700; color: var(--color-primary-dark); font-size: var(--text-sm); margin-right: 4px; }

.np-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--color-border); border-radius: 12px; }
.np-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.np-table th { text-align: left; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); font-weight: 700; background: #f9fbfa; padding: 12px 14px; border-bottom: 1px solid var(--color-border); white-space: nowrap; }
.np-table td { padding: 14px; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.np-table tbody tr:last-child td { border-bottom: 0; }
.np-table tbody tr:hover { background: #fbfdfc; }
.np-table tbody tr.is-selected { background: #f1faf5; }
.np-table .cb { width: 44px; padding-right: 0; }
.np-table .cb input { width: 18px; height: 18px; accent-color: var(--color-primary); cursor: pointer; }
.np-table .num { text-align: center; font-variant-numeric: tabular-nums; }
.np-table .act { width: 56px; text-align: right; }
.np-table .main { min-width: 320px; }
.np-table small.d { display: block; color: var(--color-text-muted); font-size: 12px; }
.np-table a { color: var(--color-text); text-decoration: none; } .np-table a:hover strong, .np-table a:hover { color: var(--color-primary-dark); text-decoration: underline; }
.np-table code { font-size: 12px; }
.np-who { display: flex; gap: 12px; align-items: flex-start; }
.np-who .av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e3f5ec; color: var(--color-primary-dark); font-weight: 700; }
.np-who > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.np-who small { color: var(--color-text-muted); font-size: 12.5px; }
.np-who em { font-style: normal; color: var(--color-text-muted); font-size: 12.5px; max-width: 420px; }
.np-cat { display: flex; gap: 10px; align-items: center; }
.np-cat .ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--color-surface-alt); color: var(--color-primary-dark); }
.np-cat .ic svg { width: 18px; height: 18px; }
.np-cat b { display: block; font-weight: 600; } .np-cat small { color: var(--color-text-muted); font-size: 12px; }
.np-empty { text-align: center; color: var(--color-text-muted); padding: 40px 14px !important; }
.np-empty svg { display: block; width: 30px; height: 30px; margin: 0 auto 8px; opacity: .6; }

.np-menu { position: relative; display: inline-block; }
.np-menu summary { list-style: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; cursor: pointer; color: var(--color-text-muted); border: 1px solid transparent; }
.np-menu summary::-webkit-details-marker { display: none; }
.np-menu summary:hover, .np-menu[open] summary { background: var(--color-surface-alt); border-color: var(--color-border); color: var(--color-text); }
.np-menu summary svg { width: 18px; height: 18px; }
.np-menu-panel { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; padding: 6px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 30; text-align: left; }
.np-menu.up .np-menu-panel { top: auto; bottom: calc(100% + 6px); }
.np-menu-panel form { margin: 0; }
.np-menu-panel a, .np-menu-panel button { display: flex; width: 100%; align-items: center; gap: 9px; padding: 9px 10px; border: 0; background: none; border-radius: 8px; font: inherit; font-size: var(--text-sm); color: var(--color-text); text-decoration: none; cursor: pointer; white-space: nowrap; text-align: left; }
.np-menu-panel a:hover, .np-menu-panel button:hover { background: var(--color-surface-alt); text-decoration: none; }
.np-menu-panel svg { width: 17px; height: 17px; color: var(--color-text-muted); }
.np-menu-panel .is-danger, .np-menu-panel .is-danger svg { color: var(--color-error-text); }
.np-menu-panel .is-danger:hover { background: var(--color-error-soft); }

.np-pager { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding-top: 14px; }
.np-pager p { margin: 0; color: var(--color-text-muted); font-size: var(--text-sm); }
.np-per label { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--color-text-muted); }
.np-per select { height: 36px; border: 1px solid var(--color-border); border-radius: 8px; padding: 0 8px; font: inherit; font-size: var(--text-sm); background: var(--color-surface); }
.np-pages { display: flex; gap: 6px; align-items: center; }
.np-pages a, .np-pages span { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--color-border); font-size: var(--text-sm); font-weight: 600; color: var(--color-text); text-decoration: none; background: var(--color-surface); }
.np-pages a:hover { border-color: var(--color-border-strong); }
.np-pages [aria-current="page"] { background: var(--color-primary-action, var(--color-primary)); border-color: var(--color-primary-action, var(--color-primary)); color: #fff; }
.np-pages .off { opacity: .4; } .np-pages .gap { border: 0; background: none; }
.np-pages svg { width: 16px; height: 16px; }
.np-note { display: flex; gap: 8px; align-items: flex-start; color: var(--color-text-muted); font-size: var(--text-sm); }
.np-note svg { flex: none; width: 17px; height: 17px; margin-top: 2px; }
.np-crumb { margin: 0 0 4px; font-size: var(--text-sm); } .np-crumb a { display: inline-flex; align-items: center; gap: 4px; color: var(--color-text-muted); text-decoration: none; } .np-crumb svg { width: 16px; height: 16px; }
.np-form { max-width: 920px; }
.np-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.np-tabs a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--color-border); font-size: var(--text-sm); font-weight: 600; color: var(--color-text); text-decoration: none; background: var(--color-surface); }
.np-tabs a[aria-current="page"] { background: var(--color-primary-soft); border-color: #bfe6d2; color: var(--color-primary-dark); }
.np-tabs a .n { color: var(--color-text-muted); font-weight: 500; }
/* legacy admin pages share the new look */
.np .admin-content > .page-head h1 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: -.02em; }
.np .admin-content .card { border-radius: 16px; }
.np .admin-content .table-wrap { border-radius: 12px; background: var(--color-surface); }
@media (max-width: 700px) {
  .np .admin-content { padding: 18px 16px 48px; }
  .np .admin-top { padding: 8px 16px; }
  .np-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .np-stat { padding: 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .np-stat .ic { width: 40px; height: 40px; }
  .np-toolbar > * { flex: 1 1 100%; } .np-sel select { width: 100%; }
  .np-card { padding: 12px; }
}

/* ---------- admin v0.7.2: top-bar search, dashboard ---------- */
.np .admin-top .np-env { flex: none; }
.np-gsearch { position: relative; flex: 0 1 420px; min-width: 0; }
.np-gsearch svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--color-text-muted); pointer-events: none; }
.np-gsearch input { width: 100%; height: 40px; padding: 0 14px 0 38px; border: 1px solid transparent; border-radius: 12px; background: var(--color-surface-alt); font: inherit; font-size: var(--text-sm); }
.np-gsearch input:focus { outline: 2px solid var(--color-focus); outline-offset: 1px; background: var(--color-surface); border-color: var(--color-primary); }
@media (max-width: 900px) { .np-gsearch { display: none; } }
.np-stat .ic.is-violet, .np-kpi .ic.is-violet, .np-mini .ic.is-violet, .np-acts .ic.is-violet { background: #efe9fe; color: #7c4ddb; }
.np-head.is-plain { min-height: 0; align-items: flex-start; }
.np-head.is-plain h1 { margin-top: 0; }
.np-range summary { gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--color-border); border-radius: 12px; background: var(--color-surface); font-size: var(--text-sm); font-weight: 600; }
.np-range summary svg { width: 17px; height: 17px; }
.np-range .np-me-panel { min-width: 190px; }
.np-range .np-me-panel .sp { display: inline-block; width: 17px; }
.np-range .np-me-panel a[aria-current] { color: var(--color-primary-dark); font-weight: 650; }
.np-kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-bottom: 22px; }
.np-kpi { position: relative; display: flex; gap: 14px; align-items: flex-start; min-height: 124px; padding: 18px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; text-decoration: none; color: inherit; overflow: hidden; animation: rise .5s calc(var(--i) * .06s) cubic-bezier(.2,.8,.2,1) both; }
a.np-kpi:hover, a.np-mini:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-sm); }
.np-kpi .ic, .np-mini .ic, .np-acts .ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; }
.np-kpi .ic svg, .np-mini .ic svg { width: 23px; height: 23px; }
.np-kpi .ic.is-green, .np-mini .ic.is-green, .np-acts .ic.is-green { background: #e3f5ec; color: var(--color-primary); }
.np-kpi .ic.is-blue, .np-mini .ic.is-blue, .np-acts .ic.is-blue { background: #e6f0fb; color: #2c6fc0; }
.np-kpi .ic.is-amber, .np-mini .ic.is-amber, .np-acts .ic.is-amber { background: #fdf1dc; color: #d98a0b; }
.np-kpi .ic.is-red, .np-mini .ic.is-red, .np-acts .ic.is-red { background: #fde8e8; color: var(--color-error); }
.np-acts .ic.is-gray { background: var(--color-surface-alt); color: var(--color-text-muted); }
.np-kpi .tx, .np-mini .tx { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.np-kpi .tx b, .np-mini .tx b { font-size: var(--text-sm); color: var(--color-text-muted); font-weight: 600; }
.np-kpi .tx strong { font-size: 1.75rem; line-height: 1.15; letter-spacing: -.02em; }
.np-mini .tx strong { font-size: 1.45rem; line-height: 1.2; letter-spacing: -.02em; }
.np-kpi .tr, .np-mini .tr { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; }
.np-kpi .tr svg, .np-mini .tr svg { width: 13px; height: 13px; }
.np-kpi .tr span, .np-mini .tr span { flex-basis: 100%; font-weight: 500; color: var(--color-text-muted); }
.np-kpi .tr.up, .np-mini .tr.up { color: var(--color-success); } .np-kpi .tr.down, .np-mini .tr.down { color: var(--color-error); } .np-kpi .tr.flat, .np-mini .tr.flat { color: var(--color-text-muted); }
.np-kpi .spark { position: absolute; right: 14px; top: 16px; width: 44%; max-width: 130px; height: 50px; }
.np-h2 { font-size: var(--text-lg); margin: 4px 0 12px; }
.np-minis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-bottom: 22px; }
.np-mini { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; text-decoration: none; color: inherit; animation: rise .5s calc(var(--i) * .05s) cubic-bezier(.2,.8,.2,1) both; }
.np-mini .ic { width: 42px; height: 42px; border-radius: 12px; }
.np-dash-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); margin-bottom: 18px; }
.np-dash-grid.is-b { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.np-dash-grid > .np-card { margin-bottom: 0; padding: 18px; }
@media (max-width: 1100px) { .np-dash-grid, .np-dash-grid.is-b { grid-template-columns: minmax(0, 1fr); } }
.np-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.np-card-head h2 { font-size: var(--text-lg); margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.np-card-head h2 svg { width: 20px; height: 20px; color: var(--color-primary); }
.np-pill { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--color-text-muted); }
.np-chart { display: grid; grid-template-columns: 28px 1fr; gap: 8px; height: 230px; padding-bottom: 22px; }
.np-chart .y { display: flex; flex-direction: column; justify-content: space-between; font-size: 11.5px; color: var(--color-text-muted); text-align: right; margin-bottom: -6px; margin-top: -6px; }
.np-chart .plot { position: relative; display: flex; align-items: flex-end; gap: 6px; border-bottom: 1px solid var(--color-border); }
.np-chart .gl { position: absolute; left: 0; right: 0; border-top: 1px dashed #e8eeeb; }
.np-chart .col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.np-chart .b1, .np-chart .b2 { width: min(40%, 16px); border-radius: 4px 4px 0 0; min-height: 0; animation: grow .6s cubic-bezier(.2,.8,.2,1) both; transform-origin: bottom; }
.np-chart .b1 { background: var(--color-primary); } .np-chart .b2 { background: #bfe6d2; }
.np-chart em { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11.5px; color: var(--color-text-muted); white-space: nowrap; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.np-legend { display: flex; justify-content: center; gap: 20px; margin: 10px 0 0; font-size: var(--text-sm); color: var(--color-text-muted); }
.np-legend span { display: inline-flex; align-items: center; gap: 7px; } .np-legend i { width: 10px; height: 10px; border-radius: 50%; }
.np-legend .l1 { background: var(--color-primary); } .np-legend .l2 { background: #bfe6d2; }
.np-funnel { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.np-funnel li { display: grid; grid-template-columns: 26px minmax(0, 1.4fr) 56px 56px minmax(60px, 1.3fr); gap: 10px; align-items: center; padding: 7px 4px; font-size: var(--text-sm); }
.np-funnel .fi svg { width: 17px; height: 17px; color: var(--color-text-muted); }
.np-funnel .fl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-funnel .fc, .np-funnel .fp { text-align: right; font-variant-numeric: tabular-nums; } .np-funnel .fp { color: var(--color-text-muted); }
.np-funnel .fb { height: 8px; border-radius: 99px; background: var(--color-surface-alt); overflow: hidden; }
.np-funnel .fb i { display: block; height: 100%; border-radius: 99px; background: var(--color-primary); }
.np-acts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.np-acts li { display: flex; gap: 12px; align-items: center; padding: 10px 2px; border-bottom: 1px solid var(--color-border); }
.np-acts li:last-child { border-bottom: 0; }
.np-acts .ic { width: 40px; height: 40px; border-radius: 12px; } .np-acts .ic svg { width: 19px; height: 19px; }
.np-acts .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.np-acts .tx a { color: var(--color-text); text-decoration: none; } .np-acts .tx a:hover { color: var(--color-primary-dark); text-decoration: underline; }
.np-acts .tx small { color: var(--color-text-muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-acts time { flex: none; font-size: 12.5px; color: var(--color-text-muted); }
.np-warn { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--color-warning-soft); color: var(--color-warning-text); font-size: var(--text-sm); }
.np-warn svg { width: 17px; height: 17px; } .np-warn a { color: inherit; }
@media (max-width: 700px) {
  .np-kpi .spark { opacity: .5; }
  .np-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .np-funnel li { grid-template-columns: 22px minmax(0, 1fr) 44px 48px; } .np-funnel .fb { grid-column: 2 / -1; }
  .np-acts time { display: none; }
}
.np-reason form { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 22px; }
.np-reason .t { font-weight: 700; margin: 0; }
.np-reason label { display: flex; flex-direction: column; gap: 6px; font-size: var(--text-sm); color: var(--color-text-muted); }
.np-reason textarea { width: 100%; border: 1px solid var(--color-border); border-radius: 10px; padding: 10px 12px; font: inherit; color: var(--color-text); resize: vertical; }
.np-reason .row { justify-content: flex-end; }
.np .admin-main { min-width: 0; }
.np-dash-grid .ttl { min-width: 200px; }
.np-kpi .tx { max-width: 62%; }
.np-kpi .spark { top: auto; bottom: 14px; right: 12px; width: 36%; height: 46px; opacity: .9; }

/* ---------- homepage v0.7.2 (nh): full-bleed photo hero, data band, category cards, steps ---------- */
.nh-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(80px, 8vw, 120px); background: linear-gradient(180deg, #f1f9f5 0%, #f7faf8 100%); }
.nh-inner { position: static; display: block; }
.nh-copy { position: relative; z-index: 2; max-width: 640px; }
.nh-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid var(--color-border); font-size: .82rem; font-weight: 600; color: #3f4a46; animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.nh-eyebrow svg { width: 15px; height: 15px; color: #f4a62a; }
.nh-title { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.nh-title em::after { opacity: .35; }
.nh-sub { max-width: 54ch; }
.nh-bar { max-width: 640px; }
.nh-chips .is-more { text-decoration: none; color: var(--color-text-muted); }
.nh-chips .is-more svg { color: var(--color-text-muted); }
.nh-stage { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 60%; margin: 0; padding: 0; animation: none; }
.nh-photo { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; clip-path: none; box-shadow: none; background: #dfeee6;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 12%, #000 30%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 12%, #000 30%); }
.nh-photo .hv-scene .sv { transform: scale(1.02); }
.nh-photo .hv-scan { left: 40%; top: 18%; width: 34%; height: 52%; }
.nh-thumbs { position: absolute; left: auto; right: 22px; top: 28px; bottom: auto; flex-direction: column; gap: 10px; padding: 12px 8px; border-radius: 22px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); box-shadow: 0 14px 34px rgba(13,60,40,.16); z-index: 3; }
.nh-thumbs button[data-scene-to] { width: 50px; height: 50px; border-radius: 50%; background: #eef6f2; display: grid; place-items: center; overflow: hidden; border: 2px solid transparent; padding: 0; color: var(--color-primary-dark); transition: border-color .25s, transform .25s; }
.nh-thumbs button[data-scene-to][aria-current="true"] { width: 50px; border-color: var(--color-primary); box-shadow: 0 0 0 3px #fff inset; background: #eef6f2; transform: scale(1.06); }
.nh-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.nh-thumbs button svg { width: 22px; height: 22px; }
.nh-thumbs .hv-pause { order: -1; width: 30px; height: 22px; background: transparent; }
.nh-thumbs .hv-pause span { border-color: #8a9590; } .nh-thumbs .hv-pause[aria-pressed="true"] span { border-left-color: #8a9590; }
.nh-found { position: absolute; left: 12%; top: 9%; right: auto; bottom: auto; width: min(290px, 40%); z-index: 3; padding: 14px 16px; border-radius: 18px; }
.nh-found .hv-card-head { display: flex; gap: 12px; align-items: center; margin: 0; }
.nh-found .hv-card-head > span:last-child { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.nh-found .hv-rows { display: none; }
.nh-found .hv-search { margin: 0; padding: 3px 9px; border-radius: 999px; background: #e7f7ef; color: var(--color-primary-dark); font-size: .74rem; font-weight: 700; width: fit-content; display: inline-flex; align-items: center; gap: 6px; }
.nh-arrow { position: absolute; z-index: 2; left: 16%; top: 30%; width: 90px; height: 90px; color: var(--color-primary); opacity: .75; }
.nh-offer { position: absolute; z-index: 3; right: 4%; bottom: 20%; width: min(280px, 44%); padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 22px 50px rgba(13,60,40,.2); animation: rise .9s .9s cubic-bezier(.2,.8,.2,1) both; }
.nh-demo-tag { position: absolute; top: -10px; left: 16px; padding: 2px 9px; border-radius: 999px; background: #171a19; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.nh-offer-head { display: flex; gap: 10px; align-items: center; }
.nh-offer-head .av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e3f5ec; color: var(--color-primary-dark); flex: none; }
.nh-offer-head .av svg { width: 22px; height: 22px; }
.nh-offer-head b { display: block; } .nh-offer-head small { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .78rem; color: var(--color-text-muted); }
.nh-offer-head .st { color: #f4a62a; }
.nh-offer-head .vf { display: inline-flex; align-items: center; gap: 3px; padding: 1px 7px; border-radius: 999px; background: #e7f7ef; color: var(--color-primary-dark); font-weight: 600; }
.nh-offer-head .vf svg { width: 12px; height: 12px; }
.nh-offer-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 8px; }
.nh-offer-row strong { font-size: 1.45rem; letter-spacing: -.02em; }
.nh-offer .btn-fake { padding: 10px 14px; border-radius: 12px; background: var(--color-primary-action, var(--color-primary)); color: #fff; font-weight: 700; font-size: .85rem; white-space: nowrap; box-shadow: 0 8px 18px rgba(22,163,106,.3); }
.nh-offer p { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .8rem; color: var(--color-text-muted); }
.nh-offer p svg { width: 14px; height: 14px; color: var(--color-primary); }
@media (max-width: 1099px) {
  .nh-stage { position: relative; width: auto; height: auto; margin: 28px -16px 0; aspect-ratio: 4 / 3; }
  .nh-photo { -webkit-mask-image: none; mask-image: none; }
  .nh-found { left: 16px; top: 16px; width: min(260px, 70%); }
  .nh-arrow { display: none; }
  .nh-offer { right: 16px; bottom: 16px; width: min(260px, 70%); }
  .nh-thumbs { top: auto; bottom: 16px; left: 16px; right: auto; flex-direction: row; padding: 6px 8px; }
  .nh-thumbs button[data-scene-to] { width: 36px; height: 36px; } .nh-thumbs button[data-scene-to][aria-current="true"] { width: 36px; }
  .nh-hero { padding-bottom: 64px; }
}
@media (max-width: 560px) { .nh-offer { display: none; } }

.nh-band-wrap { position: relative; z-index: 3; margin-top: -46px; }
.nh-band { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 22px 32px; border-radius: 22px; background: #0f3d2e; color: #fff; box-shadow: 0 24px 50px rgba(13,60,40,.25); }
.nh-band h2 { margin: 0; font-size: 1.05rem; font-weight: 700; padding-right: 24px; border-right: 1px solid rgba(255,255,255,.15); }
.nh-band ul { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 22px; list-style: none; margin: 0; padding: 0; }
.nh-band li { display: flex; align-items: center; gap: 14px; }
.nh-band li + li { border-left: 1px solid rgba(255,255,255,.12); padding-left: 22px; }
.nh-band .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.08); color: #f4c04d; flex: none; }
.nh-band .ic svg { width: 22px; height: 22px; }
.nh-band strong { display: block; font-size: 1.3rem; letter-spacing: -.01em; } .nh-band small { color: rgba(255,255,255,.78); font-size: .85rem; }
@media (max-width: 760px) { .nh-band { padding: 18px; } .nh-band h2 { border: 0; padding: 0; } .nh-band li + li { border: 0; padding-left: 0; } .nh-band ul { grid-template-columns: 1fr 1fr; } }

.nh-cats { padding-top: clamp(40px, 5vw, 64px); }
.nh-sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; }
.nh-sec-head h2 { margin: 0 0 4px; } .nh-sec-head p { margin: 0; }
.nh-sec-tools { display: flex; align-items: center; gap: 8px; }
.nh-nav { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--color-border); background: #fff; cursor: pointer; color: var(--color-text); }
.nh-nav:disabled { opacity: .4; cursor: default; } .nh-nav svg { width: 17px; height: 17px; }
.nh-all { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; font-weight: 700; color: var(--color-primary-dark); text-decoration: none; font-size: .92rem; }
.nh-all svg { width: 16px; height: 16px; }
.nh-cat-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, calc((100% - 7 * 14px) / 8)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin; }
@media (max-width: 1099px) { .nh-cat-row { grid-auto-columns: minmax(150px, 42%); } }
.nh-cat { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 16px; background: #fff; border: 1px solid var(--color-border); overflow: hidden; text-decoration: none; color: var(--color-text); transition: transform .25s, box-shadow .25s; }
.nh-cat:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(13,60,40,.14); }
.nh-cat .ph { position: relative; aspect-ratio: 4 / 3; background: #eef6f2; overflow: hidden; }
.nh-cat .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; } .nh-cat:hover .ph img { transform: scale(1.05); }
.nh-cat .art { position: absolute; inset: 0; display: grid; place-items: center; color: var(--color-primary); background: radial-gradient(circle at 30% 30%, #fff 0, #e6f5ee 60%, #d6efe3 100%); }
.nh-cat .art svg { width: 38px; height: 38px; position: relative; z-index: 1; }
.nh-cat .art i { position: absolute; border-radius: 50%; border: 1px solid rgba(22,163,106,.18); }
.nh-cat .art .r1 { width: 70px; height: 70px; } .nh-cat .art .r2 { width: 110px; height: 110px; }
.nh-cat .go { position: absolute; right: 10px; bottom: -14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--color-primary-dark); box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.nh-cat .go svg { width: 15px; height: 15px; }
.nh-cat .nm { padding: 18px 14px 14px; font-weight: 700; font-size: .92rem; }
.nh-all-list { margin-top: 18px; } .nh-all-list summary { cursor: pointer; font-weight: 700; color: var(--color-primary-dark); width: fit-content; }

.nh-how { position: relative; }
.nh-how h2 { margin-bottom: 24px; }
.nh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.nh-steps li { position: relative; display: flex; align-items: flex-start; gap: 12px; }
.nh-steps .n { position: absolute; left: -6px; top: -8px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; font-weight: 800; font-size: .85rem; box-shadow: 0 0 0 3px #fff; }
.nh-steps .ic { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #e7f5ee; color: var(--color-primary-dark); }
.nh-steps .ic svg { width: 26px; height: 26px; }
.nh-steps strong { display: block; margin: 6px 0 4px; } .nh-steps small { color: var(--color-text-muted); font-size: .88rem; line-height: 1.5; display: block; }
.nh-steps .ar { position: absolute; right: -30px; top: 24px; width: 34px; color: var(--color-primary); }
.nh-note { position: absolute; right: 2%; top: 18px; transform: rotate(-8deg); font-family: "Segoe Print", "Bradley Hand", cursive; color: var(--color-primary-dark); font-size: 1.05rem; font-weight: 700; margin: 0; }
@media (max-width: 900px) { .nh-steps { grid-template-columns: 1fr 1fr; } .nh-steps .ar { display: none; } .nh-note { display: none; } }
@media (max-width: 520px) { .nh-steps { grid-template-columns: 1fr; } }
.np-band-toggle { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.np-band-toggle .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e3f5ec; color: var(--color-primary); }
.np-band-toggle .ic svg { width: 22px; height: 22px; }
.np-band-toggle .tx { flex: 1 1 260px; display: flex; flex-direction: column; } .np-band-toggle small { color: var(--color-text-muted); }
.np-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: #0f3d2e; }
.np-seg button { border: 0; background: transparent; color: rgba(255,255,255,.7); font: inherit; font-weight: 700; font-size: var(--text-sm); padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.np-seg button[aria-pressed="true"] { background: #fff; color: #0f3d2e; }

/* v0.7.2 hero fix: photo spans the whole hero (full image visible, soft fade behind the text);
   floating cards and thumbnails stay inside the content box (container width). */
@media (min-width: 1100px) {
  .nh-hero { --nh-pt: clamp(28px, 4vw, 56px); --nh-pb: clamp(80px, 8vw, 120px); padding: var(--nh-pt) 0 var(--nh-pb); }
  .nh-inner { position: relative; display: flex; align-items: center; min-height: clamp(520px, calc(50vw - 150px), 780px); }
  .nh-inner { --nh-g: var(--space-4); }
  .nh-stage { position: absolute; top: 0; bottom: 0; left: var(--nh-g); right: var(--nh-g); width: auto; max-width: none; padding: 0; margin: 0; justify-self: auto; z-index: 1; pointer-events: none; }
  .nh-stage > * { pointer-events: auto; }
  .nh-photo { position: absolute; top: calc(-1 * var(--nh-pt)); bottom: calc(-1 * var(--nh-pb)); left: calc(50% - 50vw); right: calc(50% - 50vw); inset-inline: auto; width: 100vw;
    -webkit-mask-image: none; mask-image: none; pointer-events: none; }
  .nh-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, #f3f9f6 0%, rgba(243,249,246,.96) 26%, rgba(243,249,246,.7) 40%, rgba(243,249,246,0) 58%),
                linear-gradient(0deg, rgba(247,250,248,.9) 0%, rgba(247,250,248,0) 18%); }
  .nh-photo .hv-scene img { object-position: 70% 50%; }
  .nh-photo .hv-scan { z-index: 2; left: 64%; top: 20%; width: 20%; height: 48%; }
  .nh-found { left: auto; right: 23%; top: 4%; width: 280px; }
  .nh-arrow { left: auto; right: 33%; top: 26%; }
  .nh-offer { right: 72px; bottom: 6%; width: 280px; }
  .nh-thumbs { right: 0; top: 2%; }
}
@media (min-width: 1280px) { .nh-inner { --nh-g: 40px; } }

/* v0.7.2b: photo category cards with label pill (source design), auto-playing carousel, hero −20% */
.nh-cat-row { grid-auto-columns: minmax(200px, calc((100% - 5 * 16px) / 6)); gap: 16px; padding: 6px 2px 18px; scrollbar-width: none; scroll-behavior: smooth; }
.nh-cat-row::-webkit-scrollbar { display: none; }
@media (max-width: 1099px) { .nh-cat-row { grid-auto-columns: minmax(200px, 44%); } }
@media (max-width: 560px) { .nh-cat-row { grid-auto-columns: 78%; } }
.nh-cat { position: relative; display: block; aspect-ratio: 5 / 3; border-radius: 18px; overflow: hidden; border: 0; background: #eef6f2; box-shadow: 0 8px 22px rgba(13,60,40,.10); }
.nh-cat:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(13,60,40,.18); }
.nh-cat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.nh-cat:hover > img { transform: scale(1.06); }
.nh-cat::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(0deg, rgba(255,255,255,.55), rgba(255,255,255,0)); pointer-events: none; }
.nh-cat.is-art::after { display: none; }
.nh-cat .art { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 36px; }
.nh-cat .nm { position: absolute; z-index: 1; left: 12px; bottom: 12px; right: 12px; display: flex; align-items: center; gap: 8px; padding: 0; font-weight: 700; font-size: .9rem; color: var(--color-text); }
.nh-cat .nm .ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--color-primary); box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.nh-cat .nm .ic svg { width: 19px; height: 19px; }
.nh-cat .nm .tx { min-width: 0; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nh-cat .go { display: none; }
@media (min-width: 1100px) {
  .nh-inner { min-height: clamp(420px, calc(40vw - 120px), 624px); }
  .nh-photo .hv-scan { left: 56%; width: 20%; }
}
.nh-cat-row { grid-auto-columns: minmax(230px, calc((100% - 4 * 16px) / 5)); }
@media (max-width: 1099px) { .nh-cat-row { grid-auto-columns: minmax(220px, 44%); } }
@media (max-width: 560px) { .nh-cat-row { grid-auto-columns: 80%; } }
.nh-cat .nm { font-size: .86rem; gap: 6px; }
.nh-cat .nm .tx { padding: 7px 12px; }
@media (min-width: 1100px) { .nh-hero { --nh-pb: clamp(64px, 6vw, 96px); } }

/* ---------- v0.7.3 Admin → Live tracking ---------- */
.np-live-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 18px; }
.np-live-grid > .np-card { margin-bottom: 0; padding: 18px; }
@media (max-width: 1100px) { .np-live-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .np-live-grid { grid-template-columns: minmax(0, 1fr); } }
.np-sub { font-size: var(--text-sm); color: var(--color-text-muted); margin: 16px 0 6px; font-weight: 650; }
.np-rank li { grid-template-columns: 22px minmax(0, 1.6fr) 44px 40px minmax(40px, 1fr); gap: 8px; }
.np-rank .fl small { display: block; font-size: 11.5px; color: var(--color-text-muted); overflow: hidden; text-overflow: ellipsis; }
.np-rank li.np-rank-empty { display: block; padding: 10px 4px; }
.np-pulse-pill { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; font-size: 12px; background: var(--color-primary-soft); color: var(--color-primary-dark); }
.np-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-primary); box-shadow: 0 0 0 0 rgba(22, 163, 106, .5); animation: np-pulse 1.8s infinite; }
@keyframes np-pulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 106, .5); } 70% { box-shadow: 0 0 0 8px rgba(22, 163, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 106, 0); } }
@media (prefers-reduced-motion: reduce) { .np-dot { animation: none; } }
.np-chart.is-dense .plot { gap: 2px; }
.np-chart.is-dense .b1 { width: min(80%, 14px); }
.np-feed li { padding: 8px 2px; }
.np-feed .ic { width: 34px; height: 34px; border-radius: 10px; } .np-feed .ic svg { width: 17px; height: 17px; }
[data-live].is-stale [data-live-at] { color: var(--color-warning-text); }
.np-period-head { margin-top: 10px; align-items: flex-end; flex-wrap: wrap; }
.np-period-head .np-tabs { margin-bottom: 0; }

/* ---------- v0.7.3 Admin → ChatGPT Ads ---------- */
.np-btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.np-btn-row form { margin: 0; }
.np-btn[disabled] { opacity: .55; cursor: not-allowed; }
.np-dl { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin: 0; }
.np-dl dt { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--color-text-muted); }
.np-dl dd { margin: 3px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.np-steps ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.np-err { display: flex; gap: 5px; align-items: center; color: var(--color-error-text); font-size: 12px; margin-top: 3px; } .np-err svg { width: 13px; height: 13px; flex: none; }
.np-warn.is-error { background: var(--color-error-soft); color: var(--color-error-text); margin-bottom: 16px; }
.np-table td.main small.d { display: block; color: var(--color-text-muted); font-size: 12px; }
.np-table td.main a.text-sm { display: inline-flex; gap: 4px; align-items: center; margin-top: 3px; } .np-table td.main a.text-sm svg { width: 13px; height: 13px; }
.np-adcards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.np-adcard { border: 1px solid var(--color-border); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--color-surface); }
.np-adcard:has(input[data-ads-pick]:checked) { border-color: var(--color-primary); box-shadow: 0 0 0 3px var(--color-primary-soft); }
.np-adcard.no-img { opacity: .6; }
.np-adcard-top { display: flex; gap: 10px; align-items: center; cursor: pointer; min-width: 0; }
.np-adcard-top input { flex: none; width: 20px; height: 20px; }
.np-adcard-top img, .np-adcard-top .ph { flex: none; width: 72px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--color-surface-alt); display: grid; place-items: center; }
.np-adcard-top .ph svg { width: 22px; height: 22px; color: var(--color-text-muted); }
.np-adcard-top > span:last-child { min-width: 0; display: flex; flex-direction: column; }
.np-adcard-top small { color: var(--color-text-muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-adcard-body { display: flex; flex-direction: column; gap: 6px; }
.np-adcard-body .textarea { min-height: 0; resize: vertical; }
.np-mini { min-width: 0; } .np-mini .tx strong, .np-mini .tx span { overflow-wrap: anywhere; }

/* v0.7.3 hero: boxed (content width) with rounded corners; the photo sits right, organic shapes cover its left
   so the title and the need form sit on a calm surface. Floating cards and thumbnails stay inside the box. */
.nh-hero { background: linear-gradient(180deg, #f3faf6 0%, #f7f9f8 100%); }
.nh-shape, .nh-blob { display: none; }
@media (max-width: 1099px) {
  .nh-stage { margin: 24px 0 0; border-radius: 22px; }
  .nh-photo { border-radius: 22px; overflow: hidden; }
}
@media (min-width: 1100px) {
  .nh-hero { --nh-pt: 20px; --nh-pb: 72px; padding: var(--nh-pt) 0 var(--nh-pb); }
  .nh-inner { min-height: clamp(470px, calc(36vw + 40px), 640px); }
  .nh-copy { max-width: min(640px, 51%); padding: clamp(32px, 3.2vw, 52px) 0 clamp(32px, 3.2vw, 52px) clamp(28px, 3.2vw, 56px); }
  .nh-photo { top: 0; bottom: 0; left: 0; right: 0; width: auto; border-radius: 30px; overflow: hidden; isolation: isolate;
    box-shadow: 0 30px 70px -30px rgba(13,60,40,.35), 0 0 0 1px rgba(13,60,40,.06); background: #eaf4ef; }
  .nh-photo::after { background: linear-gradient(0deg, rgba(247,250,248,.35) 0%, rgba(247,250,248,0) 22%); }
  .nh-photo .hv-scene img { object-position: 78% 50%; }
  .nh-shape { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
  .nh-shape .s1 { fill: rgba(255,255,255,.9); }
  .nh-shape .s2 { fill: #f4faf7; }
  .nh-shape .s3 { fill: rgba(22,163,106,.14); }
  .nh-shape .l1 { fill: none; stroke: rgba(22,163,106,.55); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 2 7; stroke-linecap: round; }
  .nh-shape .l2 { fill: none; stroke: var(--color-primary); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: .6; }
  .nh-blob { display: block; position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; filter: blur(2px); }
  .nh-blob.b1 { left: -90px; top: -110px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(22,163,106,.20) 0%, rgba(22,163,106,.06) 55%, transparent 70%); }
  .nh-blob.b2 { left: 34%; bottom: -120px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(22,163,106,.16) 0%, rgba(22,163,106,.05) 55%, transparent 70%); }
  .nh-photo .hv-scan { z-index: 2; left: 64%; top: 18%; width: 18%; height: 46%; }
  .nh-found { right: 25%; top: 6%; }
  .nh-arrow { right: 35%; top: 30%; }
  .nh-offer { right: 88px; bottom: 7%; }
  .nh-thumbs { right: 16px; top: 16px; }
  .nh-band-wrap { margin-top: -40px; }
}
@media (prefers-color-scheme: dark) { .nh-shape .s1 { fill: rgba(255,255,255,.9); } }
@media (min-width: 1100px) { .nh-chips { gap: 8px; } .nh-chips .hv-chip { padding-inline: 12px; } }
.hd-area summary { white-space: nowrap; }

/* ---------- v0.7.3 "For professionals" page (animated, boxed like the homepage hero) ---------- */
.ph-hero { padding: 20px 0 8px; background: linear-gradient(180deg, #f3faf6 0%, #f7f9f8 100%); }
.ph-box { position: relative; overflow: hidden; isolation: isolate; border-radius: 30px; background: #eaf4ef; min-height: clamp(520px, calc(34vw + 60px), 620px);
  box-shadow: 0 30px 70px -30px rgba(13,60,40,.35), 0 0 0 1px rgba(13,60,40,.06); }
.ph-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 30%; z-index: 0; animation: ph-zoom 18s ease-in-out infinite alternate; }
@keyframes ph-zoom { from { transform: scale(1.02); } to { transform: scale(1.08) translateX(-1%); } }
.ph-shape { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.ph-shape .s1 { fill: rgba(255,255,255,.9); } .ph-shape .s2 { fill: #f4faf7; }
.ph-shape .l1 { fill: none; stroke: rgba(22,163,106,.55); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 2 7; stroke-linecap: round; }
.ph-ring { position: absolute; z-index: 1; left: -120px; top: 40px; width: 300px; height: 300px; border-radius: 50%; border: 1.5px solid rgba(22,163,106,.18); box-shadow: 0 0 0 40px rgba(22,163,106,.04); animation: ph-ring 6s ease-in-out infinite; }
@keyframes ph-ring { 50% { transform: scale(1.06); opacity: .7; } }
.ph-copy { position: relative; z-index: 3; max-width: min(620px, 54%); padding: clamp(36px, 4vw, 64px) 0 clamp(36px, 4vw, 56px) clamp(24px, 4vw, 64px); }
.ph-eyebrow { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: #e3f5ec; color: var(--color-primary-dark); font-size: .86rem; font-weight: 700; animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.ph-eyebrow svg { width: 16px; height: 16px; }
.ph-title { margin: 0; font-size: clamp(2.3rem, 4.4vw, 3.9rem); line-height: 1.04; letter-spacing: -.035em; }
.ph-title .l1, .ph-title .l2 { display: block; animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.ph-title .l2 { animation-delay: .12s; }
.ph-title em { position: relative; font-style: normal; color: var(--color-primary); }
.ph-title em::after { content: ""; position: absolute; left: 0; right: 4%; bottom: -.06em; height: .12em; border-radius: 99px; background: var(--color-primary); opacity: .35; transform-origin: left; animation: ph-line .9s .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes ph-line { from { transform: scaleX(0); } }
.ph-spark { position: absolute; left: min(560px, 50vw); top: clamp(40px, 5vw, 70px); width: 56px; height: 56px; }
.ph-spark path { fill: none; stroke: var(--color-primary); stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ph-draw .6s 1s ease-out forwards; }
.ph-spark path:nth-child(2) { animation-delay: 1.12s; } .ph-spark path:nth-child(3) { animation-delay: 1.24s; }
@keyframes ph-draw { to { stroke-dashoffset: 0; } }
.ph-lead { max-width: 52ch; margin: 18px 0 26px; font-size: 1.08rem; color: #46514d; animation: rise .8s .2s cubic-bezier(.2,.8,.2,1) both; }
.ph-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; animation: rise .8s .3s cubic-bezier(.2,.8,.2,1) both; }
.ph-cta { box-shadow: 0 14px 30px -10px rgba(22,163,106,.6); }
.ph-cta svg { transition: transform .25s; } .ph-cta:hover svg { transform: translateX(4px); }
.ph-how { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 16px; background: #fff; border: 1px solid var(--color-border); text-decoration: none; color: var(--color-text); box-shadow: 0 8px 22px rgba(13,60,40,.08); transition: transform .25s, box-shadow .25s; }
.ph-how:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(13,60,40,.14); }
.ph-how .pl { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--color-text); }
.ph-how .pl svg { width: 18px; height: 18px; }
.ph-how b { display: block; } .ph-how small { color: var(--color-text-muted); }
.ph-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; }
.ph-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--color-border); font-size: .82rem; font-weight: 650; box-shadow: 0 4px 12px rgba(13,60,40,.06); animation: rise .6s calc(.45s + var(--i) * .08s) cubic-bezier(.2,.8,.2,1) both; }
.ph-chips svg { width: 15px; height: 15px; color: #fff; background: var(--color-primary); border-radius: 50%; padding: 2px; }
.ph-cards { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.ph-card { position: absolute; margin: 0; background: #fff; border-radius: 18px; box-shadow: 0 22px 50px rgba(13,60,40,.2); padding: 14px 18px; }
.ph-week { left: 52%; top: 17%; display: flex; gap: 12px; align-items: center; animation: rise .8s .6s cubic-bezier(.2,.8,.2,1) both, ph-float 6s 1.4s ease-in-out infinite; }
.ph-week .bars { display: flex; align-items: flex-end; gap: 4px; width: 50px; height: 50px; padding: 10px; border-radius: 50%; background: #e3f5ec; box-sizing: border-box; }
.ph-week .bars i { flex: 1; border-radius: 3px; background: var(--color-primary); transform-origin: bottom; animation: ph-bar 1.6s ease-in-out infinite alternate; }
.ph-week .bars i:nth-child(1) { height: 40%; } .ph-week .bars i:nth-child(2) { height: 65%; animation-delay: .2s; } .ph-week .bars i:nth-child(3) { height: 100%; animation-delay: .4s; }
@keyframes ph-bar { from { transform: scaleY(.55); } }
.ph-week small { display: block; color: var(--color-text-muted); font-size: .8rem; } .ph-week b { display: block; font-size: 1.02rem; }
.ph-week .up { display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-weight: 700; font-size: .78rem; color: var(--color-success); }
.ph-week .up svg { width: 13px; height: 13px; }
.ph-job { left: 49%; top: 52%; display: flex; gap: 12px; align-items: center; animation: rise .8s .9s cubic-bezier(.2,.8,.2,1) both, ph-float 7s 1.8s ease-in-out infinite reverse; }
.ph-job .bell { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fdf1dc; color: #d98a0b; animation: ph-bell 3s 2s ease-in-out infinite; transform-origin: 50% 10%; }
.ph-job .bell svg { width: 21px; height: 21px; }
.ph-job b { display: block; } .ph-job small { color: var(--color-text-muted); font-size: .8rem; }
@keyframes ph-bell { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-5deg); } }
.ph-tag { position: absolute; top: -10px; left: 16px; padding: 2px 9px; border-radius: 999px; background: #171a19; color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ph-list { right: 3%; top: 16%; list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; transform: rotate(4deg); animation: ph-in-r .8s .7s cubic-bezier(.2,.8,.2,1) both; }
.ph-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; animation: rise .5s calc(1.1s + var(--i) * .18s) cubic-bezier(.2,.8,.2,1) both; }
.ph-list .ck { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; }
.ph-list .ck svg { width: 13px; height: 13px; }
@keyframes ph-in-r { from { opacity: 0; transform: translateX(30px) rotate(8deg); } }
.ph-arrow { position: absolute; right: 12%; top: 50%; width: 96px; height: 64px; }
.ph-arrow path { fill: none; stroke: var(--color-primary); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 160; stroke-dashoffset: 160; animation: ph-draw 1.2s 1.8s ease-out forwards; }
@keyframes ph-float { 50% { transform: translateY(-10px); } }

.ph-steps { padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 40px); background: linear-gradient(180deg, #f7f9f8 0%, #f1f8f4 100%); }
.ph-head { align-items: flex-end; }
.ph-head h2 { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; }
.ph-kicker { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; background: #e3f5ec; color: var(--color-primary-dark); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ph-head-text { flex: 1 1 280px; max-width: 46ch; margin: 0; color: var(--color-text-muted); border-left: 1px solid var(--color-border); padding-left: 20px; }
.ph-row { list-style: none; margin: 0; padding: 6px 2px 16px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, calc((100% - 7 * 14px) / 8)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.ph-row::-webkit-scrollbar { display: none; }
.ph-step { position: relative; scroll-snap-align: start; padding: 18px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--color-border); box-shadow: 0 8px 22px rgba(13,60,40,.06); transition: transform .3s, box-shadow .3s, border-color .3s; }
.ph-step:hover { transform: translateY(-6px); border-color: #bfe6d2; box-shadow: 0 20px 40px rgba(13,60,40,.14); }
.ph-step .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ph-step .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; font-weight: 800; box-shadow: 0 0 0 4px #e3f5ec; }
.ph-step .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #eef7f2; color: var(--color-primary-dark); transition: transform .4s; }
.ph-step:hover .ic { transform: rotate(-10deg) scale(1.1); }
.ph-step .ic svg { width: 20px; height: 20px; }
.ph-step h3 { margin: 0 0 8px; font-size: .98rem; }
.ph-step .tx { color: var(--color-text-muted); font-size: .85rem; line-height: 1.55; } .ph-step .tx p { margin: 0; }
.ph-step .ar { position: absolute; right: -13px; top: 50%; z-index: 1; display: grid; place-items: center; width: 12px; color: var(--color-primary); }
.ph-step .ar svg { width: 14px; height: 14px; }
.ph-band { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 22px; padding: 20px 24px; border-radius: 22px; background: #e9f6ef; border: 1px solid #d3ecdf; }
.ph-band ul { flex: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 22px; }
.ph-band li { display: flex; align-items: center; gap: 12px; }
.ph-band li + li { border-left: 1px solid #cfe7da; padding-left: 20px; }
.ph-band .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--color-primary); flex: none; }
.ph-band .ic svg { width: 22px; height: 22px; }
.ph-band strong { display: block; font-size: 1.3rem; letter-spacing: -.01em; } .ph-band small { color: var(--color-text-muted); font-size: .85rem; }
.ph-band-text { flex: 1; margin: 0; font-weight: 650; }
.ph-plans { padding-top: clamp(28px, 4vw, 48px); }
@media (max-width: 1099px) {
  .ph-box { min-height: 0; background: #fff; }
  .ph-photo { position: relative; display: block; height: 320px; order: 2; animation: none; }
  .ph-box { display: flex; flex-direction: column; }
  .ph-shape, .ph-ring, .ph-spark, .ph-arrow, .ph-list { display: none; }
  .ph-copy { max-width: none; padding: 28px 22px; }
  .ph-cards { inset: auto 0 0 0; height: 320px; }
  .ph-week { left: 16px; top: 16px; } .ph-job { left: auto; right: 16px; top: auto; bottom: 16px; }
  .ph-row { grid-auto-columns: minmax(220px, 44%); }
  .ph-band li + li { border: 0; padding-left: 0; }
  .ph-head-text { border: 0; padding: 0; }
}
@media (max-width: 560px) { .ph-row { grid-auto-columns: 78%; } .ph-week { display: none; } .ph-band ul { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .ph-photo, .ph-ring, .ph-week, .ph-job, .ph-job .bell, .ph-week .bars i { animation: none !important; }
  .ph-spark path, .ph-arrow path { animation: none; stroke-dashoffset: 0; }
}
@media (min-width: 1100px) {
  .ph-photo { left: 40%; width: 60%; object-position: 58% 18%; }
  .ph-copy { max-width: min(720px, 56%); }
  .ph-title { font-size: clamp(2.2rem, 3.6vw, 3.45rem); }
  .ph-spark { left: auto; right: calc(100% - min(720px, 56%) - 10px); top: 56px; }
  .ph-week { left: 43%; top: 12%; }
  .ph-job { left: 41%; top: 62%; }
  .ph-list { right: 2.5%; top: 12%; }
  .ph-arrow { right: 9%; top: 47%; }
}
@media (min-width: 1100px) { .ph-row { grid-auto-columns: minmax(158px, calc((100% - 7 * 14px) / 8)); } .ph-step { padding: 16px 14px; } }
/* svg[aria-hidden] sets display; these need the extra specificity */
.nh-photo svg.nh-shape { display: none; }
@media (min-width: 1100px) { .nh-photo svg.nh-shape { display: block; } }
@media (max-width: 1099px) {
  .ph-box svg.ph-shape, .ph-box svg.ph-spark, .ph-box svg.ph-arrow { display: none; }
  .ph-photo { left: 0; width: 100%; object-position: 62% 22%; }
}

/* v0.7.3 admin sidebar badges */
.np-badge { margin-left: auto; flex: none; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; font-size: 11.5px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.np-badge[hidden] { display: none; }
.np-badge.is-new { background: var(--color-primary-action, var(--color-primary)); color: #fff; }
.np-badge.is-action { background: #fde8e8; color: #b42318; box-shadow: inset 0 0 0 1px #f5c2c2; }
.np-badge.is-live { position: relative; padding-left: 16px; background: #e3f5ec; color: var(--color-primary-dark); }
.np-badge.is-live::before { content: ""; position: absolute; left: 7px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--color-primary); animation: np-pulse 1.8s infinite; }
.admin-side nav a[aria-current="page"] .np-badge.is-new { background: var(--color-primary-dark); }
@media (prefers-reduced-motion: reduce) { .np-badge.is-live::before { animation: none; } }

/* v0.7.4 Admin → CMS → Professionals video */
.sx-list { display: flex; flex-direction: column; gap: 4px; }
.sx-scene.is-off { opacity: .72; }
.sx-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.sx-head h2 { margin: 0; font-size: 1.05rem; flex: 1 1 200px; }
.sx-num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; font-weight: 800; }
.sx-tools { display: flex; gap: 6px; flex-wrap: wrap; } .sx-tools form { margin: 0; }
.sx-tools .rot90 { transform: rotate(90deg); }
.sx-body { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 20px; }
.sx-media { display: flex; flex-direction: column; gap: 8px; }
.sx-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--color-border); }
.sx-media small { color: var(--color-text-muted); }
.sx-upload { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; } .sx-upload input[type=file] { max-width: 100%; font-size: var(--text-sm); }
@media (max-width: 900px) { .sx-body { grid-template-columns: minmax(0, 1fr); } }
/* v0.7.4 header fix: between 421–520 px the full CTA label pushed the menu 6 px off-screen and squeezed the logo to 0 */
@media (max-width: 520px) { .hd-cta span { display: none; } .hd .brand { flex: none; } }

/* v0.7.4 mobile audit fixes */
/* logo: never distorted — keep the natural ratio, only the height changes */
.hd .brand, .header .brand { flex: none; }
.hd .brand img, .header .brand img, .admin-side .brand img { width: auto; max-width: none; object-fit: contain; }
@media (max-width: 380px) { .hd .brand img, .header .brand img { width: auto; height: 22px; } }
/* header: items never shrink below their size; region picker moves out below 520 px (it is also in the menu/request flow) */
.hd .container > * { flex-shrink: 0; }
.hd .container > .spacer { flex: 1 1 0; min-width: 0; }
/* ≤520 px: icons only (no chevrons), tighter gaps; region picker stays reachable (also below 420 px) */
@media (max-width: 520px) {
  .hd .container { gap: 4px; }
  .hd .hd-area, .hd .lang-switch, .hd .hd-account { display: block !important; }
  .hd .hd-area .chev, .hd .lang-switch .chev, .hd .hd-account .chev { display: none; }
  .hd .hd-area > summary, .hd .lang-switch > summary, .hd .hd-account > summary { padding-inline: 6px; min-width: 40px; justify-content: center; }
}
/* long values (webhook URLs, keys, ids) wrap instead of widening the page */
.admin-main code, .settings-form code, .prose code, .np code { overflow-wrap: anywhere; word-break: break-word; }
.alert > div { min-width: 0; }
@media (max-width: 350px) {
  .hd .container { padding-inline: 10px; gap: 2px; }
  .hd .brand img, .header .brand img { height: 19px; }
  .hd .hd-area > summary, .hd .lang-switch > summary, .hd .hd-account > summary { min-width: 34px; padding-inline: 3px; }
  .hd-account .avatar { width: 36px; height: 36px; }
}
/* stats bands never force a min width wider than the phone */
.nh-band ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.ph-band ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
@media (max-width: 760px) { .nh-band ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ph-band ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nh-band li, .ph-band li { min-width: 0; } .nh-band li > span:last-child, .ph-band li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 380px) { .nh-band li, .ph-band li { gap: 8px; } .nh-band .ic, .ph-band .ic { width: 38px; height: 38px; } .nh-band strong, .ph-band strong { font-size: 1.1rem; } }
/* admin top bar on very small phones */
@media (max-width: 400px) {
  .np .admin-top { padding: 8px 10px; gap: 6px; }
  .np-me summary .chev { display: none; }
  .np .admin-top .np-env { display: none; }
}
@media (max-width: 420px) {
  .np-mini { padding: 12px; gap: 10px; } .np-mini .ic { width: 36px; height: 36px; border-radius: 11px; } .np-mini .ic svg { width: 18px; height: 18px; }
  .np-mini .tx strong { font-size: 1.15rem; }
  .np-dash-grid > .np-card, .np-live-grid > .np-card { padding: 14px; }
  .np-dash-grid, .np-live-grid, .np-minis, .np-kpis { min-width: 0; }
  .np-dash-grid > *, .np-live-grid > * { min-width: 0; }
}
@media (max-width: 360px) { .np-minis { grid-template-columns: minmax(0, 1fr); } }
.settings-form .btn, .np-form .btn { max-width: 100%; white-space: normal; }
.admin-content .btn, .admin-content .np-btn { max-width: 100%; } @media (max-width: 480px) { .admin-content .btn { white-space: normal; height: auto; min-height: 36px; } }

/* v0.7.5 customer "How it works" story trigger */
.st-cust-how { margin: 0 0 28px; }
.st-cust-how .pl { background: var(--color-primary-action, var(--color-primary)); border-color: var(--color-primary-action, var(--color-primary)); color: #fff; }
/* v0.7.5 admin: How it works videos */
.sx-demo { margin-bottom: 18px; }
.sx-demo-h { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: 1.05rem; }
.sx-demo-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.sx-fs { margin: 0; padding: 12px 14px; border: 1px solid var(--color-border); border-radius: 12px; min-width: 0; }
.sx-fs legend { padding: 0 6px; font-weight: 700; font-size: var(--text-sm); }
.sx-fs .field { margin-bottom: 8px; }
.sx-mh { margin: 4px 0 0; font-weight: 700; font-size: var(--text-sm); } .sx-mh small { font-weight: 500; color: var(--color-text-muted); }
.sx-adv { border-top: 1px solid var(--color-border); padding-top: 8px; } .sx-adv summary { cursor: pointer; font-weight: 700; font-size: var(--text-sm); } .sx-adv summary small { font-weight: 500; color: var(--color-text-muted); }
.sx-adv[open] > *:not(summary) { margin-top: 8px; }
.sx-mode { margin: 0 0 12px; padding: 0; border: 0; display: grid; gap: 6px; }
/* v0.7.5: header never overflows between 900 and 1360 px (long NL/TR labels): nav labels → icons, tighter gaps */
@media (min-width: 900px) and (max-width: 1023px) { .hd .container { gap: 4px; } .hd-nav { margin-left: 4px; } .hd-sep { margin: 0; } }

/* ================= v0.7.5 customer "How it works" page (hw-) ================= */
.hw-hero { position: relative; padding: clamp(28px, 4vw, 56px) 0 clamp(28px, 3.5vw, 48px); background: linear-gradient(180deg, #f2faf6 0%, #f7fbf9 60%, #fff 100%); overflow: hidden; }
.hw-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.hw-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--color-border); font-weight: 700; font-size: .9rem; color: var(--color-primary-dark); box-shadow: 0 4px 14px rgba(13,60,40,.06); }
.hw-title { margin: 0 0 16px; font-size: clamp(2.3rem, 4.3vw, 4rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 900; }
.hw-title em { font-style: normal; color: var(--color-primary); }
.hw-lead { margin: 0 0 26px; max-width: 560px; font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; color: var(--color-text-muted); }
.hw-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hw-watch { display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 26px 10px 12px; border-radius: 999px; background: linear-gradient(135deg, #16a36a, #0f8a58); color: #fff; text-decoration: none; box-shadow: 0 16px 34px -14px rgba(22,163,106,.9); transition: transform .25s, box-shadow .25s; }
.hw-watch:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -14px rgba(22,163,106,.95); color: #fff; }
.hw-watch .pl { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--color-primary); }
.hw-watch .pl svg { width: 20px; height: 20px; margin-left: 2px; fill: currentColor; }
.hw-watch b { display: block; font-size: 1.1rem; } .hw-watch small { display: block; opacity: .85; font-size: .82rem; }
.hw-need { min-height: 64px; padding: 0 28px; border-radius: 999px; background: #fff; border: 1px solid var(--color-border); color: var(--color-text); font-weight: 700; box-shadow: 0 8px 20px rgba(13,60,40,.06); }
.hw-need:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }
.hw-visual { position: relative; height: clamp(340px, 31vw, 450px); }
.hw-photo { position: absolute; left: 0; top: 6%; width: 62%; height: 88%; border-radius: 26px; overflow: hidden; background: #e6efe9; box-shadow: 0 30px 60px -30px rgba(10,40,28,.45); }
.hw-photo picture, .hw-photo img { display: block; width: 100%; height: 100%; } .hw-photo img { object-fit: cover; object-position: 82% 40%; }
.hw-tag { position: absolute; left: 14px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.85); font-size: .72rem; font-weight: 700; color: var(--color-text-muted); }
.hw-play { position: absolute; left: 50%; top: 50%; width: 86px; height: 86px; margin: -43px 0 0 -43px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--color-primary); cursor: pointer; box-shadow: 0 0 0 10px rgba(255,255,255,.35), 0 18px 40px -12px rgba(0,0,0,.45); transition: transform .25s; }
.hw-play::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); animation: hw-ping 2.4s ease-out infinite; }
.hw-play svg { width: 34px; height: 34px; margin-left: 4px; fill: currentColor; } .hw-play:hover { transform: scale(1.06); }
@keyframes hw-ping { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.45); } }
.hw-hint { position: absolute; left: 7%; top: 44%; margin: 0; color: #fff; font-weight: 800; font-style: italic; font-size: clamp(.95rem, 1.3vw, 1.2rem); transform: rotate(-9deg); text-shadow: 0 2px 10px rgba(0,0,0,.35); max-width: 38%; line-height: 1.15; }
.hw-hint svg { display: block; width: 90px; height: 44px; margin: 4px 0 0 40%; transform: rotate(9deg); } .hw-hint path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hw-card { position: absolute; z-index: 4; background: #fff; border-radius: 16px; box-shadow: 0 20px 44px -18px rgba(10,40,28,.45), 0 0 0 1px rgba(0,0,0,.04); font-size: .82rem; animation: hw-float 6s ease-in-out infinite; }
@keyframes hw-float { 50% { transform: translateY(-6px); } }
.hw-pro { left: 2%; top: 12%; display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; }
.hw-pro img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; } .hw-pro span { display: grid; } .hw-pro small { color: var(--color-text-muted); }
.hw-rate svg { width: 12px; height: 12px; color: #f4a62a; fill: currentColor; vertical-align: -1px; }
.hw-phone { position: absolute; z-index: 3; left: 52%; top: 0; width: 20%; aspect-ratio: 9 / 18.5; padding: 7px; border-radius: 30px; background: linear-gradient(145deg, #2a2f2d, #0c0f0e); box-shadow: 0 34px 60px -26px rgba(10,20,15,.7); animation: hw-float 7s ease-in-out -2s infinite; }
.hw-screen { height: 100%; border-radius: 24px; background: #fff; padding: 12% 8% 6%; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.hw-logo { margin: 0; text-align: center; font-weight: 900; font-size: 1.05rem; letter-spacing: -.05em; color: var(--color-text); } .hw-logo i { font-style: normal; color: var(--color-primary); }
.hw-quote { margin: 0; padding: 8px 10px; border-radius: 12px; background: #f4f7f5; font-size: .76rem; line-height: 1.35; font-weight: 600; }
.hw-leak { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.hw-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: auto; }
.hw-modes span { display: grid; justify-items: center; gap: 2px; font-size: .62rem; color: var(--color-text-muted); } .hw-modes svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #eefaf4; color: var(--color-primary); }
.hw-ai { right: 0; top: 6%; width: 27%; padding: 12px 14px; animation-delay: -1.5s; }
.hw-aih { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-weight: 800; } .hw-aih svg { width: 16px; height: 16px; color: var(--color-primary); }
.hw-ai ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.hw-ai li { display: flex; align-items: center; gap: 7px; opacity: 0; animation: hw-in .5s ease forwards; animation-delay: calc(.6s + var(--i) * .45s); }
.hw-ai li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; stroke-width: 3; flex: none; }
@keyframes hw-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.hw-offers { right: 0; bottom: 4%; width: 27%; padding: 12px 14px; animation-delay: -3s; }
.hw-offers p { margin: 0 0 8px; } .hw-offers > div { display: flex; justify-content: space-between; gap: 6px; }
.hw-offers span { display: grid; justify-items: center; gap: 4px; opacity: 0; animation: hw-in .5s ease forwards; animation-delay: calc(1.2s + var(--i) * .35s); }
.hw-offers img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; } .hw-offers b { font-size: .95rem; }

.hw-steps { padding: clamp(24px, 3vw, 40px) 0 clamp(32px, 4vw, 56px); background: #fff; }
.hw-wrap { max-width: 1680px; margin: 0 auto; padding: 0 clamp(16px, 2vw, 32px); }
.hw-row { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; }
.hw-row::before { content: ""; position: absolute; left: 4%; right: 4%; top: 18px; border-top: 2px dashed #cfe3d8; }
.hw-step { position: relative; padding-top: 18px; display: flex; }
.hw-num { position: absolute; left: 50%; top: 0; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; font-weight: 800; box-shadow: 0 0 0 5px #fff; }
.hw-link { position: absolute; right: -13px; top: 8px; z-index: 1; width: 14px; height: 20px; color: #9fcdb5; background: #fff; } .hw-link svg { width: 14px; height: 20px; }
.hw-stepbtn { display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 26px 10px 12px; border: 1px solid var(--color-border); border-radius: 18px; background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: transform .25s, box-shadow .25s, border-color .25s; }
.hw-stepbtn:hover, .hw-stepbtn:focus-visible { transform: translateY(-4px); box-shadow: 0 20px 36px -22px rgba(13,60,40,.45); border-color: #bfe6d2; }
.hw-stepbtn:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.hw-ill { position: relative; display: grid; place-items: center; height: 118px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #eef8f2, #f7fbf9); }
.hw-ill picture, .hw-ill > picture img { display: block; width: 100%; height: 100%; } .hw-ill picture img { object-fit: cover; }
.hw-ill-need picture img { object-position: 40% 30%; } .hw-ill-arrives picture img { object-position: 34% 25%; } .hw-ill-done picture img { object-position: 70% 30%; }
.hw-ill-play { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--color-primary); box-shadow: 0 6px 14px rgba(0,0,0,.2); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s; }
.hw-ill-play svg { width: 14px; height: 14px; fill: currentColor; margin-left: 2px; }
.hw-stepbtn:hover .hw-ill-play, .hw-stepbtn:focus-visible .hw-ill-play { opacity: 1; transform: none; }
.hw-sbody { display: grid; gap: 6px; padding: 0 4px; }
.hw-stitle { font-size: .98rem; line-height: 1.25; }
.hw-stext { font-size: .85rem; line-height: 1.45; color: var(--color-text-muted); }
.hw-chip { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--color-border); font-size: .8rem; font-weight: 700; }
.hw-chip > svg:first-child { width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--color-primary-action, var(--color-primary)); color: #fff; flex: none; } .hw-chip span { flex: 1; } .hw-chip > svg:last-child { width: 14px; height: 14px; color: var(--color-text-muted); }
/* step illustrations */
.hw-mini-phone { position: absolute; left: 14%; top: 12px; bottom: -8px; width: 38%; border-radius: 14px 14px 0 0; background: #fff; border: 4px solid #1b1f1d; border-bottom: 0; display: grid; place-items: center; gap: 4px; align-content: center; }
.hw-mini-phone > svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; }
.hw-wave { display: flex; gap: 2px; align-items: center; height: 20px; } .hw-wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--color-primary); transform: scaleY(.3); animation: hw-wave 1s ease-in-out infinite; }
.hw-wave i:nth-child(3n) { animation-delay: -.3s; } .hw-wave i:nth-child(3n+1) { animation-delay: -.6s; }
@keyframes hw-wave { 50% { transform: scaleY(1); } }
.hw-mini-photo { position: absolute; right: 8%; top: 18px; width: 40%; padding: 4px 4px 6px; border-radius: 10px; background: #fff; box-shadow: 0 10px 20px -10px rgba(0,0,0,.4); transform: rotate(4deg); display: grid; gap: 3px; }
.hw-mini-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; } .hw-mini-photo small { font-size: .62rem; font-weight: 700; text-align: center; color: var(--color-primary-dark); }
.hw-mini-card { display: grid; gap: 3px; padding: 8px 14px; border-radius: 12px; background: #fff; box-shadow: 0 10px 22px -14px rgba(0,0,0,.4); }
.hw-mini-card .hw-logo { font-size: .95rem; margin-bottom: 2px; } .hw-mini-card small { display: flex; align-items: center; gap: 5px; font-size: .7rem; }
.hw-mini-card small svg { width: 13px; height: 13px; padding: 2px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; stroke-width: 3; }
.hw-mini-map { width: 100%; height: 100%; } .hw-pulse { transform-box: fill-box; transform-origin: center; animation: hw-pulse 2.6s ease-in-out infinite; } @keyframes hw-pulse { 50% { transform: scale(1.12); } }
.hw-mini-list { display: grid; gap: 3px; width: 90%; } .hw-mini-list > span { display: flex; align-items: center; gap: 6px; padding: 2px 7px; line-height: 1.1; border-radius: 9px; background: #fff; box-shadow: 0 4px 10px -6px rgba(0,0,0,.3); font-size: .66rem; }
.hw-mini-list img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; } .hw-mini-list em { flex: 1; font-style: normal; display: grid; line-height: 1.15; }
.hw-mini-list small svg, .hw-mini-pick small svg { width: 10px; height: 10px; color: #f4a62a; fill: currentColor; }
.hw-mini-pick { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 10px 22px -14px rgba(0,0,0,.4), 0 0 0 2px var(--color-primary); font-size: .74rem; }
.hw-mini-pick img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; } .hw-mini-pick em { font-style: normal; display: grid; line-height: 1.2; } .hw-mini-pick .p { font-size: 1.05rem; }
.hw-mini-pick i { position: absolute; right: -8px; top: -8px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--color-primary-action, var(--color-primary)); color: #fff; } .hw-mini-pick i svg { width: 14px; height: 14px; stroke-width: 3; }

.hw-band { background: #0c3b2b; color: #fff; padding: clamp(26px, 3vw, 40px) 0; }
.hw-band-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) auto; gap: clamp(18px, 3vw, 40px); align-items: center; }
.hw-band h2 { margin: 0 0 6px; color: #fff; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.02em; }
.hw-band-copy p { margin: 0; color: rgba(255,255,255,.8); line-height: 1.5; }
.hw-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 0; }
.hw-stats li { display: flex; align-items: center; gap: 10px; padding: 4px 16px; border-left: 1px solid rgba(255,255,255,.18); } .hw-stats li:first-child { border-left: 0; padding-left: 0; }
.hw-stats svg { width: 26px; height: 26px; color: #fff; flex: none; } .hw-stats span { display: grid; } .hw-stats strong { font-size: 1.15rem; } .hw-stats small { color: rgba(255,255,255,.72); font-size: .82rem; }
.hw-band-cta { position: relative; padding-bottom: 26px; }
.hw-band-btn { min-height: 56px; padding: 0 26px; border-radius: 999px; background: var(--color-primary-action, var(--color-primary)); color: #fff; border: 2px solid #3fcf93; font-weight: 800; box-shadow: 0 14px 30px -12px rgba(22,163,106,.9); }
.hw-band-btn:hover { background: #13905d; color: #fff; }
.hw-go { position: absolute; right: 4px; bottom: -4px; display: flex; align-items: center; gap: 4px; font-style: italic; font-weight: 700; font-size: .95rem; color: #fff; transform: rotate(-4deg); white-space: nowrap; }
.hw-go svg { width: 40px; height: 22px; } .hw-go path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 1359px) {
  .hw-row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 2px 12px; scrollbar-width: thin; }
  .hw-row::before { right: auto; width: calc(8 * 234px); }
  .hw-step { flex: 0 0 220px; scroll-snap-align: start; }
}
@media (max-width: 1100px) { .hw-band-in { grid-template-columns: minmax(0, 1fr); } .hw-band-cta { justify-self: start; } }
@media (max-width: 900px) {
  .hw-grid { grid-template-columns: minmax(0, 1fr); }
  .hw-visual { height: clamp(300px, 78vw, 440px); }
  .hw-photo { width: 72%; }
  .hw-phone { left: 58%; width: 32%; }
  .hw-ai { width: 44%; top: auto; bottom: 36%; right: 0; }
  .hw-offers { width: 42%; }
}
@media (max-width: 560px) {
  .hw-watch, .hw-need { width: 100%; justify-content: center; }
  .hw-photo { width: 100%; height: 72%; top: 0; }
  .hw-phone { left: auto; right: 2%; top: 30%; width: 34%; }
  .hw-pro { top: 4%; }
  .hw-ai { display: none; }
  .hw-offers { left: 0; right: auto; bottom: 0; width: 58%; }
  .hw-hint { display: none; }
  .hw-play { left: 38%; }
  .hw-stats li { border-left: 0; padding: 4px 16px 4px 0; flex: 1 1 45%; }
}
@media (prefers-reduced-motion: reduce) { .hw-card, .hw-phone, .hw-play::after, .hw-wave i, .hw-pulse { animation: none !important; } .hw-ai li, .hw-offers span { animation: none; opacity: 1; } }
.hw-modes svg { width: 26px !important; height: 26px !important; flex: none; }
.hw-mini-list small { font-size: .6rem; } .hw-mini-list em b { font-size: .64rem; }

/* ===================== v0.8.0 Trust & portfolio ===================== */
.np-subtabs { margin: 0 0 18px; flex-wrap: wrap; }
.np-timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.trust-services, .trust-docs, .trust-reqlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trust-service, .trust-docs li { padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); }
.trust-service.is-suspended_compliance, .trust-service.is-disabled { border-color: #f2c9c9; }
.trust-reasons { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.trust-reasons li { display: flex; gap: 6px; align-items: flex-start; } .trust-reasons svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.trust-decl { border: 1px solid var(--color-border); border-radius: var(--radius); padding: 12px 14px; margin: 0; }
.trust-decl legend { font-weight: 650; padding: 0 4px; }
.trust-decl .check { margin-right: 18px; }
.trust-foreign summary, .trust-req summary { cursor: pointer; min-height: var(--touch); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.trust-req { border-top: 1px solid var(--color-border); padding: 6px 0; }
.trust-srcpick { display: grid; gap: 4px; max-height: 220px; overflow: auto; padding: 6px; border: 1px solid var(--color-border); border-radius: 10px; }
.trust-decide summary { list-style: none; cursor: pointer; } .trust-decide[open] { min-width: 280px; }
.trust-doc-img { display: block; max-width: 100%; max-height: 520px; border-radius: 10px; border: 1px solid var(--color-border); margin-bottom: 12px; }
.badge-explain { display: inline-block; position: relative; }
.badge-explain > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; }
.badge-explain > summary::-webkit-details-marker { display: none; }
.badge-explain > summary svg:last-child { width: 14px; height: 14px; opacity: .7; }
.badge-explain[open] > p { position: absolute; z-index: 20; top: 100%; left: 0; width: min(300px, 80vw); margin: 4px 0 0; padding: 10px 12px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); color: var(--color-text); font-weight: 400; }
.pf-public .badge-explain[open] > p { left: auto; right: 0; }

.pf-new > summary { list-style: none; display: inline-flex; } .pf-new > summary::-webkit-details-marker { display: none; }
.pf-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.pf-card-link { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: left; font: inherit; color: inherit; text-decoration: none; cursor: pointer;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.pf-card-link:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-1px); }
.pf-card-link:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.pf-card-img { aspect-ratio: 4 / 3; background: var(--color-background); display: grid; place-items: center; overflow: hidden; }
.pf-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; } .pf-card-img svg { width: 36px; height: 36px; color: var(--color-text-muted); }
.pf-card-body { display: grid; gap: 4px; padding: 12px 14px; justify-items: start; }
.pf-note { display: flex; gap: 4px; color: var(--color-text); } .pf-note svg { width: 14px; height: 14px; flex: none; margin-top: 3px; }
.pf-drop { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 22px 16px; margin-top: 12px; border: 2px dashed var(--color-border); border-radius: var(--radius-lg); background: var(--color-background); transition: border-color .15s, background .15s; }
.pf-drop > svg { width: 30px; height: 30px; color: var(--color-primary); }
.pf-drop.is-over { border-color: var(--color-primary); background: var(--color-primary-soft); }
.pf-drop.is-full { opacity: .6; }
.pf-drop-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.pf-drop-actions label { cursor: pointer; position: relative; }
.pf-drop-actions label:focus-within { outline: 3px solid var(--color-focus); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .pf-camera { display: none; } }
.pf-progress { list-style: none; padding: 0; margin: 8px 0 0; width: 100%; max-width: 520px; display: grid; gap: 6px; }
.pf-progress li { display: grid; grid-template-columns: minmax(0, 1fr) 120px auto; gap: 8px; align-items: center; font-size: var(--text-sm); text-align: left; }
.pf-progress .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pf-progress progress { width: 100%; height: 8px; accent-color: var(--color-primary); }
.pf-progress li.is-error { color: var(--color-error-text, #b42318); grid-template-columns: 1fr; }
.pf-progress li.is-error progress { display: none; }
.pf-photos { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.pf-photo { position: relative; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-surface); overflow: hidden; }
.pf-photo[draggable="true"] { cursor: grab; } .pf-photo.is-drag { opacity: .45; }
.pf-photo.is-cover { border-color: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.pf-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pf-cover-tag { position: absolute; top: 8px; left: 8px; background: var(--color-primary-action, var(--color-primary)); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.pf-photo-tools { padding: 8px; display: grid; gap: 6px; }
.pf-caption { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.pf-caption input { grid-column: 1 / -1; }
.pf-caption .input, .pf-caption .select { min-height: 40px; height: 40px; font-size: var(--text-sm); }
.pf-photo-btns { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pf-photo-btns form { margin: 0; } .pf-photo-btns form:last-child { margin-left: auto; }
.pf-attest { align-items: flex-start; } .pf-attest span { font-size: var(--text-sm); }
.pf-lb { width: min(960px, 100vw); max-width: 100vw; max-height: 100dvh; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--color-surface); color: var(--color-text); }
.pf-lb::backdrop { background: rgba(10, 14, 12, .82); }
.pf-lb-inner { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: 100dvh; }
.pf-lb-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 14px 16px 8px; }
.pf-lb-stage { position: relative; margin: 0; background: #0d0f0e; display: grid; place-items: center; min-height: 240px; touch-action: pan-y; }
.pf-lb-stage img { max-width: 100%; max-height: min(70dvh, 900px); object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
.pf-lb-stage figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 14px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.pf-lb-stage figcaption:empty { display: none; }
.pf-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); border: 0; display: grid; place-items: center; }
.pf-lb-nav.is-prev { left: 10px; } .pf-lb-nav.is-next { right: 10px; }
.pf-lb-count { position: absolute; top: 10px; right: 12px; color: #fff; background: rgba(0,0,0,.5); padding: 2px 8px; border-radius: 999px; }
.pf-lb-foot { display: grid; gap: 8px; padding: 12px 16px 16px; justify-items: start; overflow: auto; }
.pf-lb-desc { white-space: pre-wrap; } .pf-lb-desc:empty { display: none; }
.pf-trust-label { display: inline-flex; gap: 4px; align-items: center; color: var(--color-text-muted); } .pf-trust-label svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .pf-lb { border-radius: 0; width: 100vw; height: 100dvh; } .pf-lb-inner { height: 100dvh; } }
.pf-review-grid { list-style: none; padding: 0; margin: 8px 0 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.pf-review-grid img { width: 160px; height: 120px; object-fit: cover; border-radius: 8px; border: 1px solid var(--color-border); display: block; }
.pf-review-grid small { display: block; max-width: 160px; font-size: 12px; color: var(--color-text-muted); }
@media (prefers-reduced-motion: reduce) { .pf-card-link { transition: none; } .pf-card-link:hover { transform: none; } }

/* v0.8.1 homepage need field: thicker, animated gradient border (brand tokens), calmer when reduced motion is requested */
@property --nh-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.nh-bar { border: 3px solid transparent;
  background: linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    conic-gradient(from var(--nh-angle), var(--color-primary-dark) 0deg, var(--color-primary) 110deg, #bff3d9 160deg, var(--color-primary) 210deg, var(--color-primary-dark) 360deg) border-box;
  box-shadow: 0 18px 50px rgba(13,118,80,.16), 0 0 0 6px rgba(22,163,106,.08);
  animation: rise .8s .4s cubic-bezier(.2,.8,.2,1) both, nhBorder 5s linear infinite; }
.nh-bar:hover { box-shadow: 0 20px 56px rgba(13,118,80,.2), 0 0 0 7px rgba(22,163,106,.12); }
.nh-bar:focus-within { border-color: transparent; animation-duration: .8s, 2.2s;
  box-shadow: 0 22px 60px rgba(13,118,80,.22), 0 0 0 8px rgba(22,163,106,.16); }
@keyframes nhBorder { to { --nh-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { .nh-bar { animation: none; --nh-angle: 45deg; } }
@media (forced-colors: active) { .nh-bar { border-color: CanvasText; } }

/* ===================== v0.8.1 professional sign-up (fits one desktop screen) ===================== */
.rg8 { position: relative; overflow: hidden; background: radial-gradient(38% 55% at 30% 32%, #e3f5ec 0%, transparent 70%), radial-gradient(30% 40% at 12% 88%, #e6f5ed 0%, transparent 70%), linear-gradient(180deg, #f3faf6, var(--color-background)); }
.rg8-grid { display: grid; gap: 28px; padding-top: 24px; padding-bottom: 28px; align-items: start; }
@media (min-width: 1100px) { .rg8-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); gap: 44px; padding-top: 22px; padding-bottom: 24px; } }
.rg8-left h1 { margin: 12px 0 0; font-size: clamp(2rem, 3.1vw, 2.75rem); letter-spacing: -.035em; line-height: 1.08; max-width: 14ch; }
.rg8-lead { margin: 10px 0 18px; color: var(--color-text-muted); font-size: 1.02rem; line-height: 1.5; max-width: 46ch; }
.rg8-body { position: relative; display: grid; gap: 22px; }
@media (min-width: 1100px) { .rg8-body { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 8px; align-items: start; } }
.rg8-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.rg8-feats li { display: flex; gap: 14px; align-items: flex-start; animation: rise .6s calc(.15s + var(--d) * .1s) cubic-bezier(.2,.8,.2,1) both; }
.rg8-feats .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #e3f5ec; color: var(--color-primary-dark); flex: none; }
.rg8-feats .ic svg { width: 22px; height: 22px; }
.rg8-feats li > span:last-child { display: grid; gap: 2px; color: var(--color-text-muted); font-size: .9rem; line-height: 1.4; }
.rg8-feats strong { color: var(--color-text); font-size: 1rem; }
.rg8-visual { position: relative; min-height: 400px; }
@media (min-width: 1100px) { .rg8-visual { margin-top: 110px; min-height: 360px; } }
@media (max-width: 1099px) { .rg8-visual { display: none; } }
.rg8-photo { position: absolute; inset: 0 0 0 22%; border-radius: 26px; overflow: hidden; background: linear-gradient(165deg, #e2f4ea, #c8ebd9); box-shadow: 0 24px 50px rgba(13,60,40,.12); }
.rg8-photo img { width: 100%; height: 100%; object-fit: cover; }
.rg8-f1 { top: -52px; right: -6px; animation-delay: .5s; } .rg8-f1 strong { font-size: 1.35rem; }
.rg8-f2 { top: 44%; left: -34%; animation-delay: 1.5s; } .rg8-f2 strong.sm { max-width: 170px; }
.rg8-map { top: auto; bottom: -24px; left: -18%; right: 34%; height: 160px; }
.rg8-card { padding: 22px 28px 16px; border-radius: 24px; }
.rg8-card h2 { font-size: clamp(1.45rem, 2vw, 1.8rem); margin: 0; }
.rg8-sub { margin: 4px 0 12px; color: var(--color-text-muted); font-size: .92rem; }
.rg8-steps { list-style: none; display: flex; align-items: center; margin: 0 0 6px; padding: 0; font-size: .82rem; color: var(--color-text-muted); flex-wrap: wrap; row-gap: 6px; }
.rg8-steps li { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.rg8-steps li + li::before { content: ""; width: clamp(14px, 2.4vw, 40px); height: 1px; background: var(--color-border); margin: 0 12px; }
.rg8-steps .n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--color-border); font-weight: 700; background: var(--color-surface); }
.rg8-steps .is-current { color: var(--color-text); font-weight: 700; }
.rg8-steps .is-current .n { background: var(--color-primary-action, var(--color-primary)); border-color: var(--color-primary-action, var(--color-primary)); color: #fff; }
.rg8-form { display: grid; gap: 2px; }
.rg8-sec { border: 0; margin: 0; padding: 0; min-width: 0; }
.rg8-sec legend { display: flex; align-items: center; gap: 10px; padding: 8px 0 4px; font-weight: 700; font-size: .98rem; }
.rg8-sec legend .ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #e7f7ef; color: var(--color-primary-dark); }
.rg8-sec legend .ic svg { width: 16px; height: 16px; }
.rg8-row { display: grid; gap: 0 14px; }
@media (min-width: 560px) { .rg8-row { grid-template-columns: 1fr 1fr; } }
.rg8-card .field { margin-bottom: 4px; }
.rg8-card .label { font-size: .86rem; margin-bottom: 4px; }
.rg8-card .input, .rg8-card .select { min-height: 44px; height: 44px; border-radius: 10px; }
.rg8-card .lg-ctl .input { min-height: 44px; height: 44px; }
.rg8-card .hint { font-size: .75rem; margin-top: 3px; }
.rg8-card .phone-input { grid-template-columns: minmax(96px, 108px) 1fr; }
.rg8-kind { display: grid; gap: 12px; }
@media (min-width: 560px) { .rg8-kind { grid-template-columns: 1fr 1fr; } }
.rg8-kind label { cursor: pointer; }
.rg8-kind input { position: absolute; opacity: 0; pointer-events: none; }
.rg8-kind label > span { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 40px 10px 14px; border-radius: 14px; border: 1.5px solid var(--color-border); background: var(--color-surface); transition: border-color .15s, background .15s, box-shadow .15s; }
.rg8-kind .k-ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; color: var(--color-primary-dark); }
.rg8-kind .k-ic svg { width: 22px; height: 22px; }
.rg8-kind .k-tx { display: grid; gap: 2px; } .rg8-kind .k-tx strong { font-size: .95rem; } .rg8-kind .k-tx small { font-size: .76rem; color: var(--color-text-muted); line-height: 1.3; }
.rg8-kind .k-dot { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #98a8a1; background: var(--color-surface); }
.rg8-kind input:checked + span { border-color: var(--color-primary); background: #eef8f3; box-shadow: 0 0 0 1px var(--color-primary); }
.rg8-kind input:checked + span .k-dot { border-color: var(--color-primary); background: radial-gradient(circle, var(--color-primary) 0 45%, #fff 50%); }
.rg8-kind input:focus-visible + span { outline: 3px solid var(--color-focus, var(--color-primary)); outline-offset: 2px; }
.rg8-consents { display: grid; gap: 4px; margin-bottom: 10px; }
.rg8-consents .check { font-size: .88rem; min-height: 26px; align-items: center; }
.rg8-card .lg-submit { min-height: 48px; margin-top: 2px; }
.rg8-card .lg-switch { margin: 8px 0 0; text-align: center; font-size: .9rem; }
/* short but wide screens: tighten further so the whole form stays visible */
@media (min-width: 1100px) and (max-height: 860px) {
  .rg8-grid { padding-top: 14px; padding-bottom: 14px; }
  .rg8-card { padding: 16px 24px 12px; }
  .rg8-sub { margin-bottom: 8px; } .rg8-sec legend { padding: 5px 0 2px; }
  .rg8-card .input, .rg8-card .select, .rg8-card .lg-ctl .input { min-height: 40px; height: 40px; }
  .rg8-kind label > span { min-height: 54px; padding-top: 6px; padding-bottom: 6px; }
  .rg8-card .hint { display: none; } .rg8-card .field-error + .hint, .rg8-card [aria-invalid="true"] ~ .hint { display: block; }
  .rg8-left h1 { font-size: 2.3rem; } .rg8-feats { gap: 12px; } .rg8-feats .ic { width: 44px; height: 44px; }
}
@media (max-width: 1099px) { .rg8-card { order: -1; } .rg8-left h1 { max-width: none; } }
@media (prefers-reduced-motion: reduce) { .rg8-feats li { animation: none; } }
.rg8-card .field { gap: 4px; margin: 0 0 4px; }
.rg8-card .field + .field { margin-top: 0; }
.rg8-card .label { margin: 0; }
.rg8-row { align-items: start; }
.rg8-f2 { left: 0; top: 40%; }
.rg8-map { left: 6%; right: 30%; }
.rg8-sec legend { padding: 6px 0 2px; font-size: .95rem; line-height: 1.2; }
.rg8-sec legend .ic { width: 24px; height: 24px; border-radius: 7px; }
.rg8-sec legend .ic svg { width: 14px; height: 14px; }
.rg8-card .label { font-size: .84rem; line-height: 1.25; }
.rg8-consents .check { min-height: 24px; padding: 1px 0; line-height: 1.3; }
.rg8-consents .check input { width: 18px; height: 18px; }
.rg8-duo { display: flex; flex-wrap: wrap; gap: 2px 22px; }
@media (min-width: 1100px) { .rg8-grid { padding-top: 16px; } }
@media (min-width: 1100px) and (max-height: 940px) {
  .rg8-grid { padding-top: 12px; padding-bottom: 12px; }
  .rg8-card { padding: 16px 26px 12px; }
  .rg8-card h2 { font-size: 1.45rem; } .rg8-sub { margin: 2px 0 8px; font-size: .88rem; }
  .rg8-card .input, .rg8-card .select, .rg8-card .lg-ctl .input { min-height: 40px; height: 40px; }
  .rg8-kind label > span { min-height: 54px; padding-top: 6px; padding-bottom: 6px; }
  .rg8-card #pw-rules { display: none; }
  .rg8-left h1 { font-size: 2.35rem; } .rg8-lead { margin-bottom: 14px; } .rg8-feats { gap: 12px; } .rg8-feats .ic { width: 44px; height: 44px; }
}
.rg8-card .phone-input + .field-error + .hint, .rg8-card .phone-input ~ .hint { line-height: 1.3; }
@media (min-width: 1100px) and (max-height: 880px) {
  /* laptop screens: section titles stay for screen readers, visually the labels carry the structure */
  .rg8-sec legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .rg8-sec + .rg8-sec { margin-top: 6px; }
  .rg8-steps { margin-bottom: 10px; }
}
.rg8-photo img { object-position: 50% 18%; }
@media (min-width: 1100px) { .rg8-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .rg8-visual { margin-top: 96px; min-height: 380px; } }
.rg8-photo { inset: 0; border-radius: 28px 28px 28px 120px; }
.rg8-f1 { top: -40px; right: -18px; }
.rg8-f2 { top: 58%; left: -46%; }
.rg8-map { left: -20%; right: 42%; bottom: -30px; height: 150px; }
.rg8-f2 { top: 50%; z-index: 3; } .rg8-f1 { z-index: 3; } .rg8-map { z-index: 2; bottom: -44px; }
.rg8-f2 { top: 60%; }
.rg8-map { left: 4%; right: 40%; bottom: -64px; height: 140px; }
@media (min-width: 1100px) and (max-height: 860px) { .rg8-card .phone-input ~ .hint { display: block; } }
@media (max-width: 559px) {
  .rg8-steps { font-size: .76rem; }
  .rg8-steps li + li::before { width: 12px; margin: 0 6px; }
  .rg8-steps li:not(.is-current) > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rg8-card { padding: 20px 16px 14px; }
}

/* v0.8.1 admin sidebar sections (accordion) */
.np .admin-side .np-secs { gap: 4px; }
.np-sec + .np-sec { margin-top: 2px; }
.np-sec-head { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent;
  font: inherit; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #6a7772; cursor: pointer; text-align: left; }
.np-sec-head:hover { background: var(--color-surface-alt, #f3f6f5); color: var(--color-text); }
.np-sec-head:focus-visible { outline: 3px solid var(--color-focus, var(--color-primary)); outline-offset: 1px; }
.np-sec-head > svg:first-child { width: 16px; height: 16px; flex: none; color: var(--color-primary); }
.np-sec-head .t { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.25; }
.np-sec-head .chev { display: grid; place-items: center; transition: transform .2s; }
.np-sec-head .chev svg { width: 16px; height: 16px; }
.np-sec-head[aria-expanded="true"] .chev { transform: rotate(180deg); }
.np-sec-head[aria-expanded="true"] { color: var(--color-text); }
.np-sec.has-active > .np-sec-head { color: var(--color-primary-dark); }
.np-sec-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #fdecea; color: #b42318; font-size: .7rem; font-weight: 800; letter-spacing: 0; display: grid; place-items: center; }
.np-sec-head[aria-expanded="true"] .np-sec-count { display: none; }
.np-sec-body { display: flex; flex-direction: column; gap: 2px; padding: 2px 0 8px 6px; margin-left: 12px; border-left: 1px solid var(--color-border); }
.np .admin-side .np-sec-body a { padding: 8px 10px; min-height: 38px; }
@media (prefers-reduced-motion: reduce) { .np-sec-head .chev { transition: none; } }

/* v0.8.1 Admin → Admin menu editor */
.am8-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.am8-bar form { margin: 0; }
.am8-status { color: var(--color-primary-dark); font-weight: 600; }
.am8-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; align-items: start; }
.am8-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; transition: box-shadow .15s, opacity .15s; }
.am8-card.is-dragging, .am8-item.is-dragging { opacity: .45; }
.am8-card.is-drop-before { box-shadow: -4px 0 0 var(--color-primary); }
.am8-card.is-drop-after { box-shadow: 4px 0 0 var(--color-primary); }
.am8-head { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; background: var(--color-background); border-bottom: 1px solid var(--color-border); cursor: grab; }
.am8-name { flex: 1 1 auto; min-width: 0; font-size: 15px; overflow-wrap: anywhere; }
.am8-def { flex-basis: 100%; order: 9; color: var(--color-text-muted, #5b6661); font-size: 12px; }
.am8-item { flex-wrap: wrap; }
.am8-item .am8-def { order: 10; flex-basis: 100%; padding-left: 52px; margin-top: -4px; }
.am8-ic { display: inline-flex; width: 18px; height: 18px; flex: none; }
.am8-ic svg { width: 100%; height: 100%; }
.am8-grip { color: #9aa6a0; cursor: grab; }
.am8-gicon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-primary-dark); }
.am8-gicon:not(:disabled) { cursor: pointer; }
.am8-gicon:disabled { opacity: 1; }
.am8-picker { position: absolute; top: 100%; left: 12px; z-index: 20; display: grid; grid-template-columns: repeat(8, 32px); gap: 4px; padding: 8px; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.am8-picker[hidden] { display: none; }
.am8-tools { display: inline-flex; gap: 2px; margin-left: auto; }
.am8-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--color-text); cursor: pointer; }
.am8-btn:hover { background: rgba(22,163,106,.1); color: var(--color-primary-dark); }
.am8-btn:focus-visible, .am8-gicon:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 1px; }
.am8-btn.is-on { background: rgba(22,163,106,.15); color: var(--color-primary-dark); }
.am8-btn.is-danger:hover { background: rgba(217,74,74,.1); color: var(--color-error); }
.am8-btn.is-rot .am8-ic { transform: rotate(90deg); }
.am8-list { list-style: none; margin: 0; padding: 6px; min-height: 48px; }
.am8-list.is-drop-into { background: rgba(22,163,106,.07); outline: 2px dashed var(--color-primary); outline-offset: -4px; border-radius: 10px; }
.am8-item { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 8px; border-radius: 8px; cursor: grab; }
.am8-item:hover { background: var(--color-background); }
.am8-item.is-drop-before { box-shadow: inset 0 3px 0 var(--color-primary); }
.am8-item.is-drop-after { box-shadow: inset 0 -3px 0 var(--color-primary); }
.am8-iname { flex: 1 1 6em; min-width: 6em; overflow-wrap: anywhere; font-size: 14px; }
.am8-item .am8-tools { opacity: .55; }
.am8-item:hover .am8-tools, .am8-item:focus-within .am8-tools { opacity: 1; }
.am8-empty { padding: 12px; color: var(--color-text-muted, #5b6661); font-size: 13px; text-align: center; }
.am8-input { flex: 1 1 auto; min-width: 0; height: 34px; padding: 4px 10px; font-size: 14px; }
@media (hover: none) { .am8-item .am8-tools { opacity: 1; } }
@media (max-width: 560px) { .am8-grid { grid-template-columns: 1fr; } .am8-item { flex-wrap: wrap; } .am8-item .am8-tools { width: 100%; justify-content: flex-end; } }

/* v0.8.1 Admin → Live tracking (map layout) */
.lv-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 14px; }
.lv-head .np-head-text { flex: 1 1 420px; }
.lv-ctrls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lv-win { position: relative; margin: 0; }
.lv-win-ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: inline-flex; color: #2F7BEA; pointer-events: none; }
.lv-win-ic svg { width: 17px; height: 17px; }
.lv-win .select { min-height: 44px; padding-left: 38px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.lv-livebtn { min-height: 44px; gap: 8px; border-radius: 12px; }
.lv-livebtn.is-on { background: #e8f6ef; border-color: #cdeadb; color: var(--color-primary-dark); }
.lv-livebtn .np-dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa6a0; }
.lv-livebtn.is-on .np-dot { background: var(--color-primary); box-shadow: 0 0 0 3px rgba(22,163,106,.18); }
.lv-iconbtn { width: 44px; min-height: 44px; padding: 0; justify-content: center; border-radius: 12px; }
.np-pulse-pill.is-paused { background: #f1f3f2; color: #5b6661; }
.np-pulse-pill.is-paused .np-dot { animation: none; background: #9aa6a0; }
.lv .np-kpi, .lv .np-chart .b1 { animation: none; }
.lv.is-stale { opacity: .75; }
.lv-kpis { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.lv-kpis .np-kpi { min-height: 108px; }
.lv-spark { position: absolute; right: 16px; bottom: 18px; display: flex; align-items: flex-end; gap: 2px; width: 92px; height: 36px; }
.lv-spark i { flex: 1; border-radius: 2px 2px 0 0; background: var(--color-primary); opacity: .85; }
.lv-spark.is-amber i { background: #F4A62A; }
.lv-upd { color: #b7791f; }
.lv-main { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(300px, 1fr); gap: 14px; margin-bottom: 14px; }
.lv-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.lv-card-head h2 { font-size: 1.05rem; margin: 0 0 2px; }
.lv-card-head p { margin: 0; }
.lv-map-wrap { position: relative; height: 460px; border-radius: 14px; overflow: hidden; background: #e7f0f5; border: 1px solid var(--color-border); }
.lv-map-slot, .lv-map { position: absolute; inset: 0; }
.lv-map { background: #dfeaf1; font: inherit; }
.lv-map .leaflet-control-attribution { font-size: 10px; }
.lv-legend { position: absolute; z-index: 500; top: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 8px 12px; list-style: none; background: rgba(255,255,255,.96); border-radius: 10px; box-shadow: 0 4px 16px rgba(23,26,25,.1); font-size: 12.5px; font-weight: 600; }
.lv-legend li { display: inline-flex; align-items: center; gap: 6px; }
.lv-legend b { font-weight: 700; color: var(--color-text-muted, #5b6661); }
.lv-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lv-dot.is-green { background: #16A36A; } .lv-dot.is-blue { background: #2F7BEA; } .lv-dot.is-amber { background: #F08C1A; } .lv-dot.is-violet { background: #7C4DDB; }
.lv-listbtn { position: absolute; z-index: 500; left: 10px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 4px 16px rgba(23,26,25,.12); font: inherit; font-size: 14px; font-weight: 600; color: var(--color-text); cursor: pointer; }
.lv-listbtn svg { width: 17px; height: 17px; }
.lv-listbtn:focus-visible, .lv-mapbtn:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.lv-list { position: absolute; inset: 0; z-index: 400; overflow: auto; padding: 56px 16px 64px; background: var(--color-surface); }
.lv-list[hidden] { display: none; }
.lv-list ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lv-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 10px; }
.lv-list li .text-muted { margin-left: auto; font-size: 13px; }
.lv-mapctl { position: absolute; z-index: 800; right: 10px; bottom: 12px; display: flex; flex-direction: column; gap: 10px; }
.lv-mapctl-zoom { display: flex; flex-direction: column; background: #fff; border-radius: 10px; box-shadow: 0 4px 16px rgba(23,26,25,.12); overflow: hidden; }
.lv-mapctl-zoom .lv-mapbtn { box-shadow: none; border-radius: 0; }
.lv-mapctl-zoom .lv-mapbtn + .lv-mapbtn { border-top: 1px solid var(--color-border); }
.lv-mapbtn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: #fff; box-shadow: 0 4px 16px rgba(23,26,25,.12); color: var(--color-text); cursor: pointer; }
.lv-mapbtn svg { width: 18px; height: 18px; }
.lv-mapbtn:hover { color: var(--color-primary-dark); }
.lv-map-fb { position: absolute; z-index: 600; left: 50%; bottom: 60px; transform: translateX(-50%); margin: 0; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.92); font-size: 12px; color: var(--color-text-muted, #5b6661); white-space: nowrap; }
.lv-mk { background: none; border: 0; }
.lv-mk-in { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(23,26,25,.3), 0 0 0 6px color-mix(in srgb, var(--c) 22%, transparent); color: #fff; font-weight: 800; font-size: 13px; box-sizing: border-box; }
.lv-mk-in.is-cluster { animation: lvPulse 2.4s ease-out infinite; }
@keyframes lvPulse { 0% { box-shadow: 0 2px 8px rgba(23,26,25,.3), 0 0 0 0 color-mix(in srgb, var(--c) 40%, transparent); } 70% { box-shadow: 0 2px 8px rgba(23,26,25,.3), 0 0 0 12px transparent; } 100% { box-shadow: 0 2px 8px rgba(23,26,25,.3), 0 0 0 0 transparent; } }
.lv-map-note { display: flex; gap: 6px; align-items: flex-start; margin: 10px 2px 0; }
.lv-map-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.lv-feed-card { display: flex; flex-direction: column; min-height: 0; }
.lv-feed { list-style: none; margin: 0; padding: 0; overflow: auto; max-height: 520px; }
.lv-feed li { display: flex; align-items: center; gap: 12px; padding: 9px 2px; border-bottom: 1px solid var(--color-border); }
.lv-feed li:last-child { border-bottom: 0; }
.lv-feed .ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; }
.lv-feed .ic svg { width: 18px; height: 18px; }
.lv-feed .ic.is-green { background: #e8f6ef; color: #15865F; } .lv-feed .ic.is-blue { background: #e8f0fd; color: #2F7BEA; }
.lv-feed .ic.is-amber { background: #fff1e0; color: #d97706; } .lv-feed .ic.is-violet { background: #efe9fe; color: #7c4ddb; } .lv-feed .ic.is-gray { background: #f1f3f2; color: #5b6661; }
.lv-feed .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lv-feed .tx b { font-size: 14px; font-weight: 600; }
.lv-feed .tx small { color: var(--color-text-muted, #5b6661); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-feed time { flex: none; font-size: 12px; color: var(--color-text-muted, #5b6661); align-self: flex-start; }
.lv-bottom { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 28px; }
.lv-bottom .np-card { min-width: 0; }
.lv-chart { height: 180px; }
.lv-totals { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lv-totals li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.lv-totals .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #e8f6ef; color: #15865F; flex: none; }
.lv-totals .ic svg { width: 16px; height: 16px; }
.lv-totals strong { margin-left: auto; font-size: 15px; }
.admin-content:fullscreen { overflow: auto; background: var(--color-background); padding: 20px; }
@media (max-width: 1280px) { .lv-bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .lv-main { grid-template-columns: 1fr; } .lv-feed { max-height: 420px; } }
@media (max-width: 640px) {
  .lv-bottom { grid-template-columns: 1fr; }
  .lv-map-wrap { height: 380px; }
  .lv-legend { left: 10px; right: 10px; font-size: 12px; gap: 4px 10px; }
  .lv-spark { display: none; }
  .lv-ctrls { width: 100%; } .lv-win { flex: 1; } .lv-win .select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .lv-mk-in.is-cluster { animation: none; } }
.lv-kpis .np-kpi .tx { padding-right: 0; }
.lv-kpis .np-kpi:has(.lv-spark) .tx { padding-right: 84px; }
.lv-spark { width: 76px; height: 30px; bottom: 20px; }
.lv-card-head .np-pill { white-space: nowrap; flex: none; }
.lv-map .leaflet-container, .lv-map.leaflet-container { background: #dfeaf1; }
.lv-kpis .np-kpi:has(.lv-spark) .tx { padding-right: 0; flex: 1; }
.lv-spark { position: static; margin-left: auto; align-self: flex-end; width: 64px; height: 28px; flex: none; }

/* v0.8.1 Contact page */
.ct-hero { position: relative; overflow: hidden; background: linear-gradient(100deg, #eef8f2 0%, #f5fbf8 55%, #e3f4ea 100%); border-bottom: 1px solid var(--color-border); }
.ct-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: center; padding-top: 26px; padding-bottom: 28px; }
.ct-crumbs { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 14px; color: var(--color-text-muted, #5b6661); }
.ct-crumbs a { color: var(--color-primary-dark); font-weight: 600; }
.ct-crumbs svg { width: 14px; height: 14px; }
.ct-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 10px; }
.ct-lead { font-size: 1.08rem; color: #3d4744; margin: 0 0 20px; max-width: 62ch; }
.ct-promises { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.ct-promises li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ct-promises li + li { padding-left: 30px; border-left: 1px solid #d5e7dd; }
.ct-promises .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #dff2e7; color: var(--color-primary-dark); flex: none; }
.ct-promises .ic svg { width: 22px; height: 22px; }
.ct-promises strong { display: block; font-size: 15px; }
.ct-promises small { display: block; font-size: 13px; color: var(--color-text-muted, #5b6661); }
.ct-art { position: relative; height: 220px; }
.ct-blob { position: absolute; inset: 0 0 0 30px; border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; background: radial-gradient(circle at 40% 40%, #c9ecd8, #e6f6ed 70%); }
.ct-bub { position: absolute; display: grid; place-items: center; box-shadow: 0 18px 40px rgba(13,118,80,.22); }
.ct-bub1 { left: 70px; top: 30px; width: 124px; height: 104px; border-radius: 28px 28px 28px 8px; background: linear-gradient(145deg, #2cc07f, #13985f); color: #fff; animation: ctFloat 5s ease-in-out infinite; }
.ct-bub1 svg { width: 46px; height: 46px; opacity: .85; }
.ct-bub2 { left: 150px; top: 76px; width: 128px; height: 96px; border-radius: 30px 30px 8px 30px; background: #fff; gap: 10px; grid-auto-flow: column; animation: ctFloat 5s 1.2s ease-in-out infinite; }
.ct-bub2 i { width: 13px; height: 13px; border-radius: 50%; background: #1fb574; animation: ctDot 1.4s infinite; }
.ct-bub2 i:nth-child(2) { animation-delay: .2s; } .ct-bub2 i:nth-child(3) { animation-delay: .4s; }
.ct-plane { position: absolute; left: 40px; top: 146px; color: #13985f; transform: rotate(-12deg); }
.ct-plane svg { width: 40px; height: 40px; }
@keyframes ctFloat { 50% { transform: translateY(-8px); } }
@keyframes ctDot { 0%, 60%, 100% { transform: translateY(0); opacity: .6; } 30% { transform: translateY(-5px); opacity: 1; } }
.ct-body { padding: 24px 0 48px; background: var(--color-background); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(300px, 1fr); gap: 20px; align-items: start; }
.ct-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ct-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 20px; box-shadow: 0 1px 2px rgba(23,26,25,.03); }
.ct-card-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.ct-card-head h2 { font-size: 1.35rem; margin: 4px 0 4px; letter-spacing: -.02em; }
.ct-card-head.is-sm h2 { font-size: 1.1rem; margin: 6px 0 2px; }
.ct-card-head p { margin: 0; color: var(--color-text-muted, #5b6661); font-size: 14.5px; }
.ct-hic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e8f6ef; color: var(--color-primary-dark); flex: none; }
.ct-card-head.is-sm .ct-hic { width: 42px; height: 42px; }
.ct-hic svg { width: 24px; height: 24px; }
.ct-card-head.is-sm .ct-hic svg { width: 20px; height: 20px; }
.ct-form { display: flex; flex-direction: column; gap: 14px; }
.ct-form .field { margin: 0; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ct-req { color: var(--color-error); margin-left: 2px; }
.ct-ctl { position: relative; }
.ct-ctl > svg { position: absolute; left: 13px; top: 14px; width: 18px; height: 18px; color: #6a7772; pointer-events: none; z-index: 1; }
.ct-ctl .input, .ct-ctl .select, .ct-ctl .textarea { padding-left: 42px; }
.ct-ctl.is-area .textarea { min-height: 116px; resize: vertical; }
.ct-under { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; }
.ct-count { margin-left: auto; font-size: 12.5px; color: var(--color-text-muted, #5b6661); }
.ct-count.is-near { color: #b7791f; font-weight: 600; }
.ct-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px dashed #cbd6d1; border-radius: 12px; background: #fbfcfc; cursor: pointer; transition: border-color .15s, background .15s; }
.ct-drop:hover, .ct-drop.is-over, .ct-drop:focus-within { border-color: var(--color-primary); background: #f3faf6; }
.ct-drop.has-file { border-style: solid; border-color: var(--color-primary); }
.ct-drop.is-invalid { border-color: var(--color-error); background: #fdf3f3; }
.ct-drop .ic { color: #5b6661; display: inline-flex; } .ct-drop .ic svg { width: 22px; height: 22px; }
.ct-drop .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ct-drop .tx strong { font-size: 14px; } .ct-drop .tx small { font-size: 12.5px; color: var(--color-text-muted, #5b6661); overflow-wrap: anywhere; }
.ct-drop .ty { font-size: 12px; color: var(--color-text-muted, #5b6661); white-space: nowrap; }
.ct-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.ct-drop:focus-within { outline: 3px solid var(--color-primary); outline-offset: 2px; }
.ct-remove { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--color-error); font: inherit; font-size: 13px; cursor: pointer; padding: 4px 0; }
.ct-remove svg { width: 14px; height: 14px; }
.ct-privacy { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 13px; color: var(--color-text-muted, #5b6661); }
.ct-privacy svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.ct-send { border-radius: 999px; padding-inline: 24px; }
.ct-opts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.ct-opts li { display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 1px solid var(--color-border); border-radius: 12px; min-width: 0; }
.ct-opts .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e8f6ef; color: var(--color-primary-dark); margin-bottom: 8px; }
.ct-opts .ic svg { width: 17px; height: 17px; }
.ct-opts strong { font-size: 14.5px; }
.ct-opts a { color: var(--color-primary-dark); font-size: 13.5px; text-decoration: underline; overflow-wrap: anywhere; }
.ct-opts small { font-size: 12.5px; color: var(--color-text-muted, #5b6661); }
.ct-company { list-style: none; margin: 0; padding: 0 0 0 4px; display: grid; gap: 12px; font-size: 14px; }
.ct-company li { display: flex; gap: 12px; align-items: flex-start; }
.ct-company svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #5b6661; }
.ct-company a { color: var(--color-primary-dark); text-decoration: underline; }
.ct-map { position: relative; height: 200px; border-radius: 12px; overflow: hidden; border: 1px solid var(--color-border); }
.ct-map-ph { position: absolute; inset: 0; background: #eef3f0; }
.ct-map-grid { position: absolute; inset: 0; background-image: linear-gradient(#dfe7e2 1px, transparent 1px), linear-gradient(90deg, #dfe7e2 1px, transparent 1px), linear-gradient(35deg, transparent 48%, #f6d89b 48%, #f6d89b 52%, transparent 52%), linear-gradient(-20deg, transparent 49%, #fff 49%, #fff 53%, transparent 53%); background-size: 28px 28px, 28px 28px, 100% 100%, 100% 100%; opacity: .9; }
.ct-pin { position: absolute; left: 30%; top: 26%; color: #13985f; filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); }
.ct-pin svg { width: 42px; height: 42px; fill: #1fb574; stroke: #fff; }
.ct-map-card { position: absolute; left: 44%; top: 14px; right: 12px; display: flex; flex-direction: column; padding: 10px 12px; background: #fff; border-radius: 10px; box-shadow: 0 6px 18px rgba(23,26,25,.14); font-size: 13px; }
.ct-map-card small { color: var(--color-text-muted, #5b6661); font-size: 12.5px; }
.ct-map-actions { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ct-map-ext { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; background: #fff; border-radius: 8px; font-size: 13px; color: var(--color-primary-dark); box-shadow: 0 2px 8px rgba(23,26,25,.12); }
.ct-map-ext svg { width: 14px; height: 14px; }
.ct-map-live { position: absolute; inset: 0; z-index: 2; }
.ct-map-live .ct-map-card.is-over { z-index: 800; left: auto; width: min(220px, 60%); }
.ct-lpin span { display: block; width: 30px; height: 30px; margin: 2px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #16A36A; border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.3); }
.ct-map-note { margin: 8px 2px 0; font-size: 12.5px; color: var(--color-text-muted, #5b6661); }
.ct-quick ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.ct-quick a { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--color-border); border-radius: 12px; color: inherit; text-decoration: none; height: 100%; }
.ct-quick a:hover { border-color: var(--color-primary); background: #f7fbf9; }
.ct-quick .ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e8f6ef; color: var(--color-primary-dark); flex: none; }
.ct-quick .ic svg { width: 18px; height: 18px; }
.ct-quick .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ct-quick .tx strong { font-size: 14px; } .ct-quick .tx small { font-size: 12.5px; color: var(--color-text-muted, #5b6661); }
.ct-quick .chev { width: 16px; height: 16px; flex: none; color: var(--color-primary-dark); }
@media (max-width: 1080px) { .ct-hero-in { grid-template-columns: 1fr; } .ct-art { display: none; } .ct-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ct-row { grid-template-columns: 1fr; }
  .ct-promises li + li { padding-left: 0; border-left: 0; }
  .ct-drop { flex-wrap: wrap; } .ct-drop .ty { width: 100%; padding-left: 36px; }
  .ct-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ct-bub1, .ct-bub2, .ct-bub2 i { animation: none; } }
.ct-intro { font-size: 14.5px; color: var(--color-text-muted, #5b6661); }
.ct-intro p { margin: 0 0 6px; } .ct-intro p:last-child { margin-bottom: 0; }
.ct-pin { left: 32%; top: 30%; filter: none; }

/* v0.8.1 two-factor */
.mfa-wrap { max-width: 480px; margin: 0 auto; }
.mfa-wrap.is-wide { max-width: 760px; }
.mfa-card { text-align: left; }
.mfa-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #e8f6ef; color: var(--color-primary-dark); margin-bottom: 8px; flex: none; }
.mfa-ic svg { width: 24px; height: 24px; }
.mfa-code { font-size: 1.3rem; letter-spacing: .25em; font-variant-numeric: tabular-nums; max-width: 260px; }
.mfa-status { display: flex; gap: 14px; align-items: center; }
.mfa-status .mfa-ic { margin: 0; }
.mfa-setup { display: grid; grid-template-columns: 200px 1fr; gap: 20px; align-items: start; }
.mfa-qr { width: 200px; height: 200px; background: #fff; border: 1px solid var(--color-border); border-radius: 12px; padding: 6px; }
.mfa-qr svg { width: 100%; height: 100%; }
.mfa-steps { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.mfa-secret { font-size: 1rem; letter-spacing: .06em; word-break: break-all; }
.mfa-codelist { columns: 2; padding-left: 1.4em; font-size: 1rem; }
.mfa-codes { border-color: #f4d58d; background: #fffbef; margin-bottom: 16px; }
@media (max-width: 600px) { .mfa-setup { grid-template-columns: 1fr; } }
/* v0.8.1 offer acceptance disclosure */
.rd-disclose { margin: 10px 0 12px; padding: 12px 14px; border: 1px solid #cfe7da; background: #f4fbf7; border-radius: 12px; font-size: 13.5px; }
.rd-disclose-t { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; }
.rd-disclose-t svg { width: 16px; height: 16px; color: var(--color-primary-dark); }
.rd-disclose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.rd-disclose a { color: var(--color-primary-dark); text-decoration: underline; }
.rd-ranking { display: flex; gap: 6px; align-items: flex-start; margin: 0 0 10px; }
.rd-ranking svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.agr { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 8px 16px; margin: 0; }
.agr dt { font-weight: 600; color: var(--color-text-muted, #5b6661); } .agr dd { margin: 0; }
@media (max-width: 560px) { .agr { grid-template-columns: 1fr; } .agr dd { margin-bottom: 6px; } }

/* v0.8.1 seven core languages: longer words (de/fr/es/it) must never be clipped */
h1, h2, h3, .btn, .np-kpi b { overflow-wrap: break-word; hyphens: auto; }
html[lang^="de"] .nh-title, html[lang^="fr"] .nh-title, html[lang^="es"] .nh-title, html[lang^="it"] .nh-title { font-size: clamp(2.05rem, 3.7vw, 3.3rem); }
.lang-areas { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lang-areas li { display: inline-flex; gap: 6px; align-items: center; padding: 3px 8px; border-radius: 999px; background: #e8f6ef; font-size: 12px; }
.lang-areas li.is-partial { background: #fff4e0; }

/* v0.8.1 translated user content */
.ugc-badge { display: inline-flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 12px; color: var(--color-text-muted, #5b6661); }
.ugc-badge svg, .ugc-orig summary svg { width: 13px; height: 13px; }
.ugc-badge.is-warn { color: #9a5b00; }
.ugc-orig { margin-top: 4px; font-size: 12px; color: var(--color-text-muted, #5b6661); }
.ugc-orig summary { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; list-style: none; }
.ugc-orig summary::-webkit-details-marker { display: none; }
.ugc-orig .ugc-show { color: var(--color-primary-dark); text-decoration: underline; }
.ugc-orig[open] .ugc-show { opacity: .7; }
.ugc-original { margin: 6px 0 0; padding: 8px 10px; border-left: 3px solid var(--color-border); background: var(--color-background); border-radius: 6px; font-size: 13.5px; color: var(--color-text); white-space: normal; }
.ugc-pre { white-space: pre-wrap; }
.msg-orig { margin-top: 4px; font-size: 12px; opacity: .85; }
.msg-orig summary { cursor: pointer; list-style: none; display: inline-flex; gap: 4px; align-items: center; }
.msg-orig summary::-webkit-details-marker { display: none; }
.msg-orig summary svg { width: 12px; height: 12px; }
.msg-orig p { margin: 4px 0 0; padding: 6px 8px; border-radius: 8px; background: rgba(0,0,0,.05); font-size: 13px; }
.msg-tr { display: block; margin-top: 3px; font-size: 11.5px; opacity: .8; }
.msg-tr.is-warn { color: #9a5b00; opacity: 1; }
.msg-tr svg { width: 12px; height: 12px; }
.msg-orig summary, .ugc-orig summary { display: block; }
.msg-orig summary svg, .ugc-orig summary svg { display: inline-block; vertical-align: -2px; margin-right: 3px; }
/* v0.8.2 language panel on phones: full width inside the 16px gutter, never off-screen */
@media (max-width: 640px) {
  .lang-pop .lang-panel { position: fixed; left: 16px; right: 16px; top: 68px; width: auto; max-height: calc(100vh - 88px); overflow: auto; }
}

/* v0.8.3 — chat on phones: the chat card is a single-column grid; without an explicit minmax(0,1fr) column the
   column grew to its widest child (header actions, quick replies) and everything was clipped on the right. */
.ib-chat.chat { grid-template-columns: minmax(0, 1fr); }
.ib-chat.chat > *, .ib-chat-head > *, .ib-form.chat-form > * { min-width: 0; }
.ib-who strong, .ib-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ib-head-actions, .ib-back, .ib-av, .ib-icon, .ib-send { flex: none; }
.ib-note { max-width: 100%; }
@media (max-width: 760px) {
  .ib { gap: 0; padding-left: 8px; padding-right: 8px; }
  .ib-chat.chat { border-radius: 16px; }
  .ib-chat-head { gap: 8px; padding: 10px 10px 10px 6px; }
  .ib-chat-head .ib-av.lg { width: 40px; height: 40px; }
  .ib-who strong { font-size: 1rem; }
  .ib-head-actions { gap: 6px; }
  .ib-body-scroll.chat-body { padding: 14px 12px; }
  .ib .msg { max-width: 88%; }
  .ib-note { font-size: .76rem; text-align: left; }
  .ib-quick { padding: 8px 12px; }
  .ib-form.chat-form { gap: 6px; padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .ib-input { padding-left: 10px; }
  .ib-typing { padding: 0 12px; }
}
@media (max-width: 360px) { .ib-chat-head .ib-av.lg { display: none; } }

/* v0.8.3 — service pages on phones: long chip labels wrap instead of widening the hero column */
.sp-chip { max-width: 100%; white-space: normal; text-align: left; }
.sp-hero-inner > * { min-width: 0; }
@media (max-width: 600px) { .lv-map-fb { white-space: normal; width: max-content; max-width: calc(100% - 24px); text-align: center; } }
/* v0.8.3 — status lists (health, integrations) wrap on phones */
.status-list li { flex-wrap: wrap; }
.status-list .value { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .status-list .value { flex-basis: 100%; order: 3; } }
/* v0.8.3 — live tracking grid never wider than the screen (map / feed cards shrink instead) */
.lv-main > * { min-width: 0; }
@media (max-width: 1080px) { .lv-main { grid-template-columns: minmax(0, 1fr); } }
/* v0.8.3 acquisition — e-mail preview (desktop / mobile width without JavaScript) */
.acq-pv > input { position: absolute; opacity: 0; pointer-events: none; }
.acq-pv > label { margin: 0 6px 10px 0; cursor: pointer; }
.acq-pv > input:checked + label { border-color: var(--color-primary); color: var(--color-primary-dark); }
.acq-pv > input:focus-visible + label { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.acq-preview iframe { display: block; width: 100%; max-width: 600px; height: 720px; border: 1px solid var(--color-border); border-radius: 12px; background: #fff; transition: max-width .2s; }
#acq-w-m:checked ~ .acq-preview iframe { max-width: 375px; }
.acq-promo { border: 1.5px solid var(--color-primary); border-radius: 18px; padding: 18px 20px; background: #f3fbf7; }
.acq-promo ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.acq-steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; }
.acq-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; }
.acq-steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e7f7ef; color: var(--color-primary-dark); font-weight: 800; }
