/* Seashore Gifts — styles taken from the Seashore design (Jost, teal #0F5C5E, coral #C9502C, sand #F6F1E9). */
:root {
  --ink: #10201F; --ink-2: #2C3B39; --muted: #5A6866; --faint: #8A9694;
  --sand: #F6F1E9; --sand-2: #F1EBE0; --sand-3: #EFE7DA; --line: #E8E0D2; --line-2: #E4DCCD; --line-3: #ECE4D6; --field-line: #DDD4C4; --field-bg: #FCFAF6;
  --teal: #0F5C5E; --teal-dark: #0B4648; --teal-deep: #0B3437; --teal-soft: #E3F0EE; --teal-pale: #CFE6E1; --mint: #6CC2B0;
  --coral: #C9502C; --coral-dark: #B04222; --danger: #B42318; --danger-bg: #FDECEA;
  --card-blue: #0646A5; --shadow: 0 1px 2px rgba(16,32,31,.04), 0 18px 40px -24px rgba(16,32,31,.18);
}
html, body { margin: 0; padding: 0; background: var(--sand); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: 'Jost', system-ui, sans-serif; min-height: 100vh; }
* { box-sizing: border-box; }
select { appearance: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
input::placeholder, textarea::placeholder { color: #9FA9A6; }
::selection { background: var(--teal-pale); }
img { max-width: 100%; }
button { font: inherit; }
@media print { [data-noprint] { display: none !important; } }

.ms { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; display: inline-block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }
.mono { font-family: ui-monospace, Menlo, monospace; }

/* ---------- buttons ---------- */
.btn { font: inherit; font-size: 14px; font-weight: 500; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; }
.btn:hover { background: #F3EEE5; color: var(--ink); }
.btn .ms { font-size: 17px; }
.btn-teal { border: none; background: var(--teal); color: #fff; font-weight: 600; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-dark { border: none; background: var(--ink); color: #fff; font-weight: 600; }
.btn-dark:hover { background: #24403D; color: #fff; }
.btn-coral { border: none; background: var(--coral); color: #fff; font-weight: 600; }
.btn-coral:hover { background: var(--coral-dark); color: #fff; }
.btn-sm { font-size: 13px; padding: 7px 12px; border-radius: 10px; }
.btn-sm .ms { font-size: 16px; }
.btn-ghost-danger { border: none; background: transparent; color: var(--danger); }
.btn-ghost-danger:hover { background: var(--danger-bg); color: var(--danger); }
.btn-pill { border-radius: 999px; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: default; }

/* ---------- customer form ---------- */
.hero-teal { position: relative; overflow: hidden; background: linear-gradient(155deg, #082B2D 0%, var(--teal) 70%, #1E7C74 100%); }
.hero-teal > .cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .95; pointer-events: none; }
.form-page { min-height: 100vh; padding-bottom: 120px; }
.form-hero { padding: 26px 20px 132px; }
.form-hero .inner { position: relative; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 44px; }
.form-hero .top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-hero .top img { height: 40px; width: auto; display: block; }
.chip-glass { font-size: 12px; font-weight: 500; color: #fff; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.form-hero h1 { margin: 0; font-size: clamp(34px, 6vw, 48px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; color: #fff; }
.form-hero p { margin: 10px 0 0; font-size: 19px; line-height: 1.45; color: var(--teal-pale); max-width: 520px; text-wrap: pretty; }
.form-body { position: relative; max-width: 720px; margin: -96px auto 0; padding: 0 16px; box-sizing: content-box; display: flex; flex-direction: column; gap: 16px; }
.panel { background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 28px 26px; display: flex; flex-direction: column; gap: 22px; }
.panel-head { display: flex; align-items: center; gap: 14px; }
.panel-num { width: 40px; height: 40px; flex: none; border-radius: 13px; background: var(--teal-soft); color: var(--teal); font-size: 14px; font-weight: 600; letter-spacing: .04em; display: flex; align-items: center; justify-content: center; }
.panel-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.panel-title b { font-size: 19px; font-weight: 600; letter-spacing: -.005em; }
.panel-title span { font-size: 14px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > .lbl { font-size: 14px; font-weight: 500; color: var(--ink); }
.req { color: var(--teal); }
.err { font-size: 13px; color: var(--danger); }
.input { width: 100%; padding: 13px 15px; border: 1px solid var(--field-line); border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); background: var(--field-bg); outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.input:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15,92,94,.12); }
textarea.input { resize: vertical; line-height: 1.5; }
.input.has-err { border-color: var(--danger); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.prefixed { display: flex; align-items: center; border: 1px solid var(--field-line); border-radius: 12px; overflow: hidden; background: var(--field-bg); }
.prefixed:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,92,94,.12); }
.prefixed > .pre { align-self: stretch; display: flex; align-items: center; padding: 0 12px; color: var(--muted); font-size: 14px; font-weight: 500; border-right: 1px solid var(--line); }
.prefixed > .pre.social { width: 92px; flex: none; padding: 0 14px; color: var(--ink); background: var(--sand-2); }
.prefixed input { flex: 1; min-width: 0; padding: 13px 14px; border: none; font: inherit; font-size: 16px; color: var(--ink); background: transparent; outline: none; }
.grid-phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.grid-socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.grid-socials input { font-size: 15px; padding: 13px 12px; }
.photo-pick { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 18px; background: #F4F8F6; border: 1px solid #DCE9E5; }
.photo-pick.has-err { border-color: var(--danger); }
.photo-ring { width: 96px; height: 96px; flex: none; border-radius: 50%; padding: 3px; background: linear-gradient(140deg, var(--mint), var(--teal)); cursor: pointer; }
.photo-ring > span { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--teal); }
.photo-ring img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-ring .ms { font-size: 30px; }
.photo-pick .txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.photo-pick .txt b { font-size: 14px; font-weight: 500; }
.photo-pick .txt span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.photo-pick .txt span.err { font-size: 13px; color: var(--danger); }
.drop { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px dashed #BFD6D1; border-radius: 16px; cursor: pointer; background: #F4F8F6; }
.drop:hover { border-color: var(--teal); background: #EAF3F0; }
.drop-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #fff; border: 1px solid #D8E6E2; color: var(--teal); display: flex; align-items: center; justify-content: center; }
.drop-icon .ms { font-size: 22px; }
.drop-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.drop-text b { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-text span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-row { display: flex; gap: 8px; align-items: stretch; }
.drop-clear { flex: none; width: 52px; border: 1px solid var(--line-2); border-radius: 16px; background: #fff; cursor: pointer; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.drop-clear .ms { font-size: 20px; }
.sample-link { font-size: 13.5px; font-weight: 500; display: flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: 2px; }
.sample-link .ms { font-size: 17px; }
.yt-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.yt-thumbs > div { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: var(--ink); }
.yt-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.submit-row { display: flex; flex-direction: column; gap: 12px; padding: 8px 0 0; }
.btn-submit { font: inherit; font-size: 17px; font-weight: 600; padding: 18px; border-radius: 18px; border: none; background: var(--coral); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 14px 30px -12px rgba(201,80,44,.55); }
.btn-submit:hover { background: var(--coral-dark); }
.btn-submit .ms { font-size: 20px; }
.btn-submit[disabled] { opacity: .7; cursor: wait; }
.submit-row small { font-size: 13px; color: var(--muted); text-align: center; }

/* ---------- submitted ---------- */
.done-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px 110px; }
.done-card { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 28px; padding: 40px 30px 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.done-check { width: 76px; height: 76px; border-radius: 50%; background: linear-gradient(140deg, var(--mint), var(--teal)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(15,92,94,.6); }
.done-check .ms { font-size: 40px; }
.done-card h1 { font-size: 30px; font-weight: 600; letter-spacing: -.01em; margin: 6px 0 0; }
.done-card p { font-size: 16px; color: var(--muted); line-height: 1.55; margin: 0; text-wrap: pretty; }
.done-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 10px; }
.done-actions .btn { font-size: 16px; padding: 16px; border-radius: 16px; }
.done-actions .btn .ms { font-size: 20px; }

/* ---------- public profile ---------- */
.pnav { position: sticky; top: 0; z-index: 40; background: rgba(246,241,233,.88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line-2); }
.pnav .wrap { height: 64px; display: flex; align-items: center; gap: 14px; }
.pnav-brand { flex: 1; min-width: 0; display: flex; align-items: center; gap: 11px; cursor: pointer; color: var(--ink); }
.pnav-brand:hover { color: var(--ink); }
.avatar { flex: none; border-radius: 50%; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--teal); font-weight: 600; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.contain img { object-fit: contain; }
.pnav-brand .avatar { width: 38px; height: 38px; border: 1px solid var(--line-2); font-size: 14px; }
.pnav-brand .avatar.contain img { padding: 4px; }
.pnav-brand b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pnav-links { display: flex; gap: 2px; flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.pnav-links a { font-size: 14.5px; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--ink); white-space: nowrap; }
.pnav-links a:hover { background: var(--sand-3); color: var(--ink); }
.pnav-save { flex: none; font-size: 14px; font-weight: 600; height: 40px; padding: 0 16px; border-radius: 999px; background: var(--coral); color: #fff; display: flex; align-items: center; gap: 7px; }
.pnav-save:hover { background: var(--coral-dark); color: #fff; }
.pnav-save .ms { font-size: 18px; }
@media (max-width: 640px) { .pnav-links { display: none; } }

.phero { position: relative; overflow: hidden; background: var(--teal-deep); color: #fff; }
.phero > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; display: block; }
.phero > .shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,52,55,.96) 25%, rgba(11,52,55,.72) 60%, rgba(11,52,55,.45)); }
.phero .wrap { position: relative; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(96px, 11vw, 136px); display: flex; flex-wrap: wrap; align-items: center; gap: clamp(36px, 6vw, 72px); }
.phero-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.phero-chip { align-self: flex-start; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-pale); padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(207,230,225,.3); background: rgba(255,255,255,.06); }
.phero-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.phero h1 { margin: 0; font-size: clamp(42px, 7vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.phero-sub { font-size: clamp(18px, 2vw, 22px); color: var(--teal-pale); line-height: 1.4; }
.phero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.phero-ctas a, .phero-ctas button { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; padding: 14px 22px; border-radius: 999px; color: #fff; border: none; background: transparent; cursor: pointer; }
.phero-ctas .ms { font-size: 19px; }
.phero-ctas .call { background: var(--coral); padding: 15px 22px; }
.phero-ctas .call:hover { background: var(--coral-dark); color: #fff; }
.phero-ctas .wa { border: 1px solid rgba(255,255,255,.4); }
.phero-ctas .wa:hover, .phero-ctas button:hover { background: rgba(255,255,255,.1); color: #fff; }
.phero-ctas button { padding: 14px 18px; }
.phero-photo { flex: 0 1 360px; min-width: 0; max-width: 100%; position: relative; }
.phero-photo .frame { position: absolute; inset: 22px -22px -22px 22px; border-radius: 32px; border: 1.5px solid rgba(108,194,176,.55); }
.phero-photo .pic { position: relative; aspect-ratio: 4/5; border-radius: 32px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.phero-photo .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phero-photo .pic.contain img { object-fit: contain; padding: 18%; }
.phero-photo .pic .ini { width: 100%; height: 100%; background: var(--teal-soft); color: var(--teal); font-size: 96px; font-weight: 600; display: flex; align-items: center; justify-content: center; }

.pactions-wrap { position: relative; z-index: 2; margin-top: -52px; }
.pactions { background: #fff; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(16,32,31,.35), 0 1px 2px rgba(16,32,31,.06); display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); padding: 8px; }
.pactions a { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 18px; color: var(--ink); transition: background .15s; }
.pactions a:hover { background: var(--sand); color: var(--ink); }
.ico-box { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--teal-soft); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.ico-box .ms { font-size: 22px; }
.pactions b { font-size: 15.5px; font-weight: 600; }

.order-band { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 30px; border-radius: 24px; background: var(--coral); color: #fff; margin-top: 28px; }
.order-band:hover { background: var(--coral-dark); color: #fff; }
.order-band .l { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; }
.order-band .l small { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #FBE3DA; }
.order-band .l b { font-size: clamp(28px, 4vw, 38px); font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.order-band .r { display: flex; align-items: center; gap: 8px; font-size: 15.5px; font-weight: 600; padding: 14px 20px; border-radius: 999px; background: #fff; color: var(--coral); }
.order-band .r .ms { font-size: 19px; }

.psec { padding: clamp(64px, 9vw, 112px) 0; }
.psec.white { background: #fff; }
.psec.dark { background: var(--teal-deep); color: #fff; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--coral); text-transform: uppercase; letter-spacing: .16em; }
.psec.dark .eyebrow { color: var(--mint); }
.h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; margin: 0; }
.sec-head { display: flex; flex-direction: column; gap: 14px; }
.about { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 72px); }
.about .sec-head { flex: 1 1 300px; }
.about .body { flex: 1.5 1 420px; min-width: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; color: var(--ink-2); white-space: pre-line; text-wrap: pretty; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.svc-simple { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.svc-simple > div { padding: 26px 24px; border-radius: 22px; background: var(--sand); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 28px; min-height: 150px; transition: transform .2s, background .2s; }
.svc-simple > div:hover { background: var(--teal-soft); transform: translateY(-2px); }
.svc-simple small { font-size: 14px; font-weight: 600; color: var(--coral); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.svc-simple b { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin-top: auto; }
.svc-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.svc-group { padding: 26px 24px; border-radius: 22px; background: var(--sand); border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 16px; }
.svc-group .t { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.svc-group .t b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.svc-group .t small { font-size: 14px; font-weight: 600; color: var(--coral); font-variant-numeric: tabular-nums; }
.svc-group ul { list-style: none; margin: 0; padding: 0; }
.svc-group li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--ink-2); padding: 8px 0; border-top: 1px solid var(--line-2); }
.svc-group li .ms { font-size: 17px; color: var(--teal); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.work-grid > button { aspect-ratio: 4/3; border-radius: 22px; overflow: hidden; border: none; padding: 0; background: repeating-linear-gradient(135deg, var(--sand-3) 0 8px, #E8DFD0 8px 16px); cursor: zoom-in; }
.work-grid img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.work-grid > button:hover img { transform: scale(1.05); }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.video-grid button { position: relative; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; border: none; padding: 0; background: #061C1D; cursor: pointer; display: block; width: 100%; }
.video-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-grid .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,28,29,0) 40%, rgba(6,28,29,.7)); }
.video-grid .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.video-grid .play .ms { font-size: 36px; }
.video-grid .lbl { position: absolute; left: 18px; bottom: 14px; font-size: 13px; font-weight: 500; color: #fff; letter-spacing: .06em; }
.band { padding: clamp(48px, 7vw, 80px) 0 0; }
.band .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.band-card { border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.band-card.light { background: #fff; border: 1px solid var(--line-2); }
.band-card.teal { background: var(--teal); color: #fff; }
.band-card .ic { width: 54px; height: 54px; border-radius: 16px; background: #FBE6DF; color: var(--coral); display: flex; align-items: center; justify-content: center; }
.band-card .ic .ms { font-size: 27px; }
.band-card b { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.band-card .meta { font-size: 14.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.band-card .stars { font-size: 26px; letter-spacing: 5px; color: #F0BE5A; line-height: 1; }
.band-card.teal b { margin-top: 6px; }
.band-card.teal span { font-size: 15px; color: var(--teal-pale); }
.band-card .go { align-self: flex-start; margin-top: auto; font-size: 15px; font-weight: 600; padding: 13px 20px; border-radius: 999px; display: flex; align-items: center; gap: 8px; }
.band-card .go .ms { font-size: 19px; }
.band-card.light .go { background: var(--ink); color: #fff; }
.band-card.light .go:hover { background: #24403D; color: #fff; }
.band-card.teal .go { background: #fff; color: var(--teal); }
.band-card.teal .go:hover { background: var(--teal-soft); color: var(--teal); }
.contact-wrap { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); align-items: flex-start; }
.contact-main { flex: 1.3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.contact-grid > * { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); transition: border-color .15s; }
.contact-grid > a:hover { border-color: var(--teal); color: var(--ink); }
.contact-grid .ico-box { width: 42px; height: 42px; border-radius: 13px; }
.contact-grid .ico-box .ms { font-size: 21px; }
.contact-grid .t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-grid small { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact-grid b { font-size: 16px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-line; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); color: var(--ink); font-size: 15px; font-weight: 500; }
.socials a:hover { border-color: var(--teal); color: var(--ink); }
.socials i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.share-card { flex: 1 1 300px; min-width: 0; background: var(--teal-deep); color: #fff; border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 22px; }
.share-card .top { display: flex; align-items: center; gap: 18px; }
.share-card .qr { width: 118px; height: 118px; flex: none; border-radius: 18px; background: #fff; padding: 9px; }
.share-card .qr img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.share-card .txt { display: flex; flex-direction: column; gap: 6px; }
.share-card .txt b { font-size: 19px; font-weight: 600; }
.share-card .txt span { font-size: 14.5px; color: var(--teal-pale); line-height: 1.45; }
.share-card .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share-card .btns > * { font-size: 15px; font-weight: 600; padding: 14px 10px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.share-card .btns .ms { font-size: 19px; }
.share-card .save { border: none; background: var(--coral); color: #fff; }
.share-card .save:hover { background: var(--coral-dark); color: #fff; }
.share-card .share { border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; }
.share-card .share:hover { background: rgba(255,255,255,.1); }
.cta-box { border-radius: 28px; background: var(--teal-soft); border: 1px solid #CBE2DD; padding: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.cta-box .t { flex: 1 1 320px; display: flex; flex-direction: column; gap: 10px; }
.cta-box b { font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.cta-box span { font-size: 16px; color: #3E5552; line-height: 1.55; text-wrap: pretty; max-width: 520px; }
.cta-box .btn { font-size: 15.5px; padding: 15px 24px; border-radius: 999px; }
.pfoot { background: var(--teal-deep); color: var(--teal-pale); padding: 36px 0 120px; }
.pfoot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.pfoot span { font-size: 14px; }
.pfoot .by { display: flex; align-items: center; gap: 12px; color: var(--teal-pale); }
.pfoot .by small { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.pfoot .by img { height: 28px; width: auto; display: block; }

/* ---------- admin shell ---------- */
.admin-page { min-height: 100vh; padding-bottom: 110px; background: var(--sand); }
.admin-top { background: var(--teal-deep); position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.admin-top .in { max-width: 1320px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.admin-top img { height: 32px; width: auto; display: block; }
.admin-top .sep { width: 1px; height: 26px; background: rgba(255,255,255,.16); }
.admin-tabs { flex: 1; min-width: 220px; display: flex; gap: 4px; }
.admin-tabs a { font-size: 14.5px; font-weight: 500; padding: 9px 16px; border-radius: 999px; color: #A9C6C1; }
.admin-tabs a:hover { color: #fff; }
.admin-tabs a.on { background: rgba(255,255,255,.14); color: #fff; }
.admin-top .new { font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--teal-deep); display: flex; align-items: center; gap: 6px; }
.admin-top .new:hover { background: #D5E8E5; color: var(--teal-deep); }
.admin-top .new .ms { font-size: 18px; }
.admin-user { display: flex; align-items: center; gap: 10px; color: #A9C6C1; font-size: 13.5px; }
.admin-user button { border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; cursor: pointer; }
.admin-user button:hover { background: rgba(255,255,255,.1); }
.admin-main { max-width: 1320px; margin: 0 auto; padding: 32px 24px; display: flex; flex-direction: column; gap: 22px; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dash-head .t { display: flex; flex-direction: column; gap: 6px; }
.label-up { font-size: 12px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .14em; }
.dash-head h1 { margin: 0; font-size: clamp(28px, 4vw, 36px); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.dash-head .sub { font-size: 15px; color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 14px; }
.kpi { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
a.kpi:hover { color: var(--ink); border-color: var(--teal); }
.kpi .ic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.kpi .ic .ms { font-size: 20px; }
.kpi b { font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; display: block; }
.kpi small { font-size: 13.5px; color: var(--muted); display: block; margin-top: 4px; }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.filters { display: flex; gap: 2px; flex-wrap: wrap; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.filters a { font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--muted); display: flex; gap: 7px; align-items: center; }
.filters a:hover { color: var(--ink); }
.filters a.on { background: var(--ink); color: #fff; }
.filters a small { font-size: 12px; opacity: .65; font-variant-numeric: tabular-nums; }
.search { display: flex; align-items: center; gap: 8px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; flex: 0 1 340px; min-width: 200px; margin: 0; }
.search .ms { font-size: 20px; color: var(--faint); }
.search input { flex: 1; min-width: 0; padding: 12px 0; border: none; font: inherit; font-size: 15px; background: transparent; outline: none; color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.tile { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 22px; padding: 16px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s, transform .2s; }
.tile:hover { box-shadow: 0 1px 2px rgba(16,32,31,.05), 0 28px 50px -24px rgba(16,32,31,.3); transform: translateY(-2px); }
.tile .card-slot { display: block; padding: 14px; border-radius: 16px; background: var(--sand-2); }
.tile .meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.tile .meta .mono { font-size: 12px; color: var(--muted); }
.tile .meta .sp { flex: 1; }
.badge { font-size: 12px; font-weight: 500; padding: 4px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 4px; }
.badge .ms { font-size: 14px; }
.badge.warn { background: var(--danger-bg); color: var(--danger); }
.status-select { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 12px; border-radius: 12px; border: none; cursor: pointer; width: 100%; }
.tile .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.empty { padding: 44px 20px; text-align: center; color: var(--muted); font-size: 15px; background: #fff; border: 1px dashed #D6CCBB; border-radius: 22px; }

/* ---------- NFC card mock (85.6 x 54 mm) ---------- */
.nfc { container-type: inline-size; width: 100%; }
.nfc-front, .nfc-back { position: relative; aspect-ratio: 1.586; border-radius: 3.5cqw; overflow: hidden; box-shadow: 0 10px 24px -10px rgba(11,26,51,.3); }
.nfc-front { background: #fff; border: 1px solid #E3E8EF; }
.nfc-front > .cov { position: absolute; top: 0; left: 0; width: 100%; height: auto; opacity: .9; }
.nfc-front .in { position: absolute; inset: 0; padding: 6cqw; display: flex; flex-direction: column; justify-content: space-between; }
.nfc-front .row { display: flex; justify-content: space-between; align-items: flex-start; }
.nfc-front .ph { width: 21cqw; height: 21cqw; border-radius: 50%; overflow: hidden; background: #E6EEFA; border: .8cqw solid #fff; box-shadow: 0 1cqw 3cqw rgba(15,27,45,.15); display: flex; align-items: center; justify-content: center; color: var(--card-blue); font-weight: 600; font-size: 7cqw; }
.nfc-front .ph img { width: 100%; height: 100%; object-fit: cover; background: #fff; display: block; }
.nfc-front .ph.contain img { object-fit: contain; }
.nfc-front .row .ms { font-size: 8cqw; color: var(--card-blue); }
.nfc-front .who { display: flex; flex-direction: column; gap: .6cqw; min-width: 0; }
.nfc-front .who > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nfc-front .who b { font-size: 6cqw; font-weight: 600; line-height: 1.1; color: #0F1B2D; }
.nfc-front .who span { font-size: 3.4cqw; color: #5B6B80; }
.nfc-front .who em { font-style: normal; font-size: 3.6cqw; font-weight: 500; color: var(--card-blue); }
.nfc-back { background: var(--card-blue); display: flex; align-items: center; gap: 6cqw; padding: 6cqw; }
.nfc-back .qr { width: 38cqw; height: 38cqw; flex: none; background: #fff; border-radius: 2.5cqw; padding: 2.2cqw; }
.nfc-back .qr img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.nfc-back .t { flex: 1; min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.nfc-back .t > .ms { font-size: 8cqw; }
.nfc-back .t b { font-size: 5.4cqw; font-weight: 600; line-height: 1.1; display: block; }
.nfc-back .t span { font-size: 3.4cqw; color: #CFDDF3; display: block; margin-top: 1cqw; }
.nfc-back .foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 2cqw; }
.nfc-back .foot img { width: 24cqw; height: auto; display: block; }
.nfc-back .foot small { font-family: ui-monospace, Menlo, monospace; font-size: 2.6cqw; color: #CFDDF3; }

/* ---------- customer profiles (list + editor) ---------- */
.prof-layout { max-width: 1320px; margin: 0 auto; padding: 28px 24px; display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.prof-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.prof-side .search { flex: none; }
.company-row { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 20px; padding: 14px; display: flex; align-items: center; gap: 12px; }
.company-row.on { background: var(--teal-soft); }
.company-row .lg { width: 48px; height: 48px; flex: none; border-radius: 14px; border: 1px solid #E3E8EF; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.company-row .lg img { width: 38px; height: auto; }
.company-row .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.company-row .t b { font-size: 15.5px; font-weight: 600; }
.company-row .t small { font-size: 13px; color: var(--muted); }
.rows { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 20px; overflow: hidden; padding: 6px; }
.prow { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; color: var(--ink); transition: background .15s; }
.prow:hover { background: #F3EEE5; color: var(--ink); }
.prow.on { background: var(--teal-soft); }
.prow .avatar { width: 44px; height: 44px; background: var(--teal-soft); font-size: 15px; }
.prow .t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.prow .t b, .prow .t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow .t b { font-size: 15.5px; font-weight: 600; }
.prow .t small { font-size: 13px; color: var(--muted); }
.prow .r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.prow .r .st { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.prow .r small { font-size: 12px; color: var(--faint); }
.icon-btn { width: 36px; height: 36px; flex: none; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: var(--teal); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.icon-btn .ms { font-size: 18px; }
.prof-edit { flex: 2 1 540px; min-width: 0; }
.no-edit { background: #fff; border: 1px dashed #D6CCBB; border-radius: 24px; padding: 80px 24px; text-align: center; color: var(--muted); font-size: 15px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.no-edit .ico-box { width: 56px; height: 56px; border-radius: 16px; }
.no-edit .ico-box .ms { font-size: 28px; }
.editor { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 24px; overflow: clip; }
.ed-head { padding: 22px 24px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--line-3); }
.ed-head .t { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 3px; }
.ed-head .t b { font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.ed-head .t small { font-size: 13.5px; color: var(--muted); }
.ed-head select { font: inherit; font-size: 14px; font-weight: 500; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); }
.ed-sec { padding: 22px 24px; border-bottom: 1px solid var(--line-3); display: flex; flex-direction: column; gap: 14px; }
.ed-sec.tint { background: #FAF6EF; gap: 16px; }
.ed-sec .hd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ed-sec .hd .sp { flex: 1; }
.ed-sec .hd .mono { font-size: 13px; color: var(--muted); }
.ed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.ed-grid .full { grid-column: 1 / -1; }
.ed-field { display: flex; flex-direction: column; gap: 6px; }
.ed-field > span { font-size: 13px; font-weight: 500; color: var(--muted); }
.ed-input { width: 100%; padding: 11px 13px; border: 1px solid var(--field-line); border-radius: 11px; font: inherit; font-size: 15px; color: var(--ink); background: var(--field-bg); outline: none; }
.ed-input:focus { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15,92,94,.12); }
textarea.ed-input { resize: vertical; line-height: 1.5; }
.alert-err { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--danger); background: var(--danger-bg); border-radius: 12px; padding: 11px 13px; }
.alert-err .ms { font-size: 18px; }
.cards-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.cards-2 > div { display: flex; flex-direction: column; gap: 8px; }
.cards-2 > div > small { font-size: 13px; font-weight: 500; color: var(--muted); }
.link-box { display: flex; flex-direction: column; gap: 5px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line-3); }
.link-box small { font-size: 13px; color: var(--muted); }
.link-box .mono { font-size: 12.5px; word-break: break-all; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.file-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.file-card { border: 1px solid var(--line-2); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.file-card.row { flex-direction: row; gap: 12px; align-items: center; }
.file-card b { font-size: 14.5px; font-weight: 600; }
.file-card .nm { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-card .avatar { width: 60px; height: 60px; background: var(--teal-soft); }
.file-card .hint { font-size: 12px; color: var(--muted); }
.file-card .btns { display: flex; gap: 6px; flex-wrap: wrap; }
.file-card label.btn { color: var(--teal); }
.file-card .pending { font-size: 12px; color: var(--coral); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.thumbs > div, .thumbs > label { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs .rm { position: absolute; top: 5px; right: 5px; width: 26px; height: 26px; border-radius: 50%; border: none; background: rgba(16,32,31,.72); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.thumbs .rm .ms { font-size: 15px; }
.thumbs .removed img { opacity: .25; }
.thumbs .removed .rm { background: var(--coral); }
.thumbs .new-img::after { content: 'new'; position: absolute; left: 6px; bottom: 6px; font-size: 11px; color: #fff; background: var(--teal); border-radius: 999px; padding: 1px 7px; }
.thumbs > label { border: 1.5px dashed #BFD6D1; background: #F4F8F6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; color: var(--teal); font-size: 13px; font-weight: 500; }
.thumbs > label .ms { font-size: 22px; }
.ed-foot { padding: 14px 24px; display: flex; align-items: center; gap: 10px; position: sticky; bottom: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line-3); flex-wrap: wrap; }
.ed-foot .sp { flex: 1; }
.ed-foot .dirty { font-size: 13px; color: var(--faint); }
.ed-foot .save { padding: 11px 20px; }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.ov-preview { z-index: 85; background: rgba(6,22,22,.84); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); flex-direction: column; gap: 14px; padding: 16px; }
.ov-preview .bar { width: 100%; max-width: 440px; display: flex; align-items: center; gap: 10px; color: #fff; }
.back-btn { flex: none; height: 40px; padding: 0 16px 0 10px; border-radius: 999px; border: none; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 4px; }
.back-btn:hover { background: var(--teal-soft); }
.ov-preview .bar .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ov-preview .bar b { font-size: 16px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ov-preview .bar small { font-size: 13px; color: #C9D3E3; }
.round-btn { width: 40px; height: 40px; flex: none; border-radius: 50%; border: none; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.round-btn:hover { background: rgba(255,255,255,.22); color: #fff; }
.round-btn.light { background: #fff; color: var(--ink); }
.round-btn .ms { font-size: 19px; }
.phone { width: 390px; max-width: 100%; height: min(800px, calc(100vh - 120px)); border-radius: 50px; background: #0B1424; padding: 11px; box-shadow: 0 0 0 1.5px #2A3448, 0 40px 90px rgba(0,0,0,.55); position: relative; }
.phone .notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 100px; height: 28px; border-radius: 999px; background: #0B1424; z-index: 2; }
.phone iframe { width: 100%; height: 100%; border: none; border-radius: 40px; background: #fff; display: block; }
.ov-preview .note { font-size: 13px; color: #F2B84B; }
.ov-video { z-index: 88; background: rgba(6,22,22,.92); flex-direction: column; gap: 12px; padding: 20px; }
.ov-video .bar { width: 100%; max-width: 960px; display: flex; justify-content: flex-end; gap: 8px; }
.ov-video .bar a, .ov-video .bar button { font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: 999px; border: none; cursor: pointer; }
.ov-video .bar a { color: #fff; background: rgba(255,255,255,.14); }
.ov-video .bar a:hover { color: #fff; background: rgba(255,255,255,.24); }
.ov-video .bar button { background: #fff; color: var(--ink); }
.ov-video .frame { width: 100%; max-width: 960px; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.ov-video iframe { width: 100%; height: 100%; border: none; display: block; }
.ov-lightbox { z-index: 80; background: rgba(6,22,22,.9); padding: 24px; cursor: zoom-out; }
.ov-lightbox img { max-width: 100%; max-height: 100%; border-radius: 16px; display: block; box-shadow: 0 40px 90px rgba(0,0,0,.5); }
.toast { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 90; background: var(--ink); color: #fff; font-size: 14px; font-weight: 500; padding: 12px 20px; border-radius: 999px; box-shadow: 0 14px 34px rgba(0,0,0,.25); max-width: calc(100% - 40px); }
.toast.error { background: var(--danger); }
.toast.success { background: #17663A; }

/* ---------- bottom tab bar (design: Company profile · Customer form · Dashboard) ---------- */
.site-nav { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 70; background: rgba(16,32,31,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 5px; border-radius: 999px; display: flex; gap: 2px; box-shadow: 0 14px 34px rgba(16,32,31,.35); max-width: calc(100% - 24px); }
.site-nav a { font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: 999px; color: #C9D9D6; white-space: nowrap; }
.site-nav a:hover { color: #fff; }
.site-nav a.on { background: #fff; color: var(--ink); }

/* ---------- NFC writing (dialog + phone page) ---------- */
.ov-nfc { z-index: 86; background: rgba(6,22,22,.72); padding: 16px; }
.nfc-dialog { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.nfc-dialog .hd { display: flex; align-items: center; gap: 12px; }
.nfc-dialog .hd .t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.nfc-dialog .hd b { font-size: 19px; font-weight: 600; }
.nfc-dialog .hd small { font-size: 13px; color: var(--muted); }
.nfc-help { display: flex; flex-direction: column; gap: 14px; }
.nfc-help-sec { display: flex; flex-direction: column; gap: 10px; }
.nfc-help .lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.nfc-help ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.nfc-help .hint, .write-page .hint { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.nfc-help .btn-teal { align-self: flex-start; }
.nfc-qr-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.nfc-qr-row > div:last-child { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.nfc-qr { width: 150px; height: 150px; flex: none; border-radius: 16px; border: 1px solid var(--line-2); padding: 8px; background: #fff; }
.nfc-qr img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.write-page { max-width: 480px; margin: 0 auto; padding: 24px 16px; display: flex; flex-direction: column; gap: 16px; }
.write-page .t { display: flex; flex-direction: column; gap: 4px; }
.write-page h1 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: -.02em; }
.write-page .sub { font-size: 15px; color: var(--muted); }
.write-direct { display: flex; flex-direction: column; gap: 8px; }
.write-big { padding: 18px; border-radius: 18px; font-size: 17px; }
.write-big .ms { font-size: 22px; }

.upload-warn { max-width: 1320px; margin: 16px auto 0; padding: 14px 18px; border-radius: 16px; background: var(--danger-bg); color: var(--danger); display: flex; gap: 12px; align-items: flex-start; box-sizing: border-box; width: calc(100% - 48px); }
.upload-warn > .ms { font-size: 22px; flex: none; }
.upload-warn > div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; min-width: 0; }
.upload-warn span { color: #7A2017; overflow-wrap: anywhere; }
.upload-warn .mono { font-size: 13px; }

/* ---------- employee registration ---------- */
.emp-form { display: flex; flex-direction: column; gap: 18px; }
.emp-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 22px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.emp-main { flex-direction: row; gap: 28px; flex-wrap: wrap; }
.emp-photo { flex: 0 0 170px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.emp-photo small { font-size: 12px; color: var(--muted); }
.emp-photo-lbl { font-size: 13px; font-weight: 500; color: var(--muted); }
.emp-photo .err { font-size: 12.5px; color: var(--danger); }
.emp-photo-ring { width: 128px; height: 128px; border-radius: 50%; border: 1.5px dashed #BFD6D1; background: #F4F8F6; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--teal); cursor: pointer; }
.emp-photo-ring:hover { border-color: var(--teal); }
.emp-photo-ring.has-err { border-color: var(--danger); }
.emp-photo-ring img { width: 100%; height: 100%; object-fit: cover; display: block; }
.emp-photo-ring .ms { font-size: 32px; }
.emp-fields { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.emp-sec { font-size: 16px; font-weight: 600; }
.emp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 16px; align-items: start; }
.emp-grid .span-2 { grid-column: span 2; }
.emp-grid .span-all { grid-column: 1 / -1; }
.emp-grid .ed-field > span, .emp-grid .ed-field > label { font-size: 13px; font-weight: 500; color: var(--muted); }
.emp-grid .err { font-size: 12.5px; }
.emp-grid select.ed-input { cursor: pointer; }
.ed-input.has-err { border-color: var(--danger); }
.req { font-style: normal; color: var(--teal); }
.emp-check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; }
.emp-check input { width: 18px; height: 18px; accent-color: var(--teal); margin: 0; }
.emp-check.small { font-size: 13px; color: var(--muted); }
.emp-check.small input { width: 15px; height: 15px; }
.emp-check.align-end { align-self: end; min-height: 44px; }
.emp-hr { border: none; border-top: 1px solid var(--line-3); margin: 4px 0; }
.emp-login-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.emp-login-head > div { display: flex; flex-direction: column; gap: 2px; }
.emp-login-head small, .emp-note { font-size: 13px; color: var(--muted); }
.emp-login { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.emp-login.is-off { opacity: .45; }
.emp-login .pw-wrap .ed-input { padding-right: 50px; }
.emp-submit { display: flex; justify-content: flex-end; }
.emp-submit .btn { padding: 13px 26px; border-radius: 14px; font-size: 15px; }
.emp-list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.emp-list-head .t { display: flex; flex-direction: column; gap: 4px; }
.emp-list-head h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.emp-table-wrap { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 20px; overflow-x: auto; }
.emp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.emp-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; padding: 14px 14px; background: #FAF6EF; border-bottom: 1px solid var(--line-3); white-space: nowrap; }
.emp-table td { padding: 12px 14px; border-bottom: 1px solid var(--line-3); vertical-align: middle; }
.emp-table tr:last-child td { border-bottom: none; }
.emp-table tbody tr:hover { background: #FCFAF6; }
.emp-table tr.on { background: var(--teal-soft); }
.emp-table td small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.emp-table .r { text-align: right; }
.emp-table .nowrap { white-space: nowrap; }
.emp-table .email { max-width: 220px; overflow-wrap: anywhere; }
.emp-table .r .btn { margin-left: 4px; }
.emp-who { display: flex; align-items: center; gap: 12px; min-width: 180px; }
.emp-who .avatar { width: 40px; height: 40px; background: var(--teal-soft); font-size: 14px; }
.emp-who b { font-weight: 600; display: block; }
@media (max-width: 900px) { .emp-grid, .emp-login { grid-template-columns: repeat(2, minmax(0, 1fr)); } .emp-photo { flex-basis: 100%; } }
@media (max-width: 560px) { .emp-grid, .emp-login { grid-template-columns: minmax(0, 1fr); } .emp-grid .span-2 { grid-column: auto; } .admin-tabs { flex-wrap: wrap; } }

/* ---------- login / messages ---------- */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.login-card { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 28px; padding: 36px 30px 30px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.login-card .logo { width: 130px; height: auto; align-self: center; margin-bottom: 4px; }
.login-card h1 { margin: 0; font-size: 24px; font-weight: 600; text-align: center; letter-spacing: -.01em; }
.login-card .sub { margin: -10px 0 4px; text-align: center; font-size: 14px; color: var(--muted); }
.login-card .btn { padding: 15px; border-radius: 16px; font-size: 16px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 52px; }
.pw-toggle { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 40px; height: 40px; border: none; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.pw-toggle:hover { background: var(--sand-2); color: var(--teal); }
.pw-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.pw-toggle[aria-pressed="true"] { color: var(--teal); }
.msg-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.msg-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 24px; padding: 40px 30px; max-width: 460px; width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; color: var(--muted); font-size: 16px; }
.msg-card p { margin: 0; }
@media (max-width: 1100px) { .emp-table .opt { display: none; } }
.emp-grid .ed-field > span.err { color: var(--danger); font-size: 12.5px; font-weight: 400; }
