/* MAYTON T STUDIO brand layer for the booking app (2026-10-20).
   Same tokens as maytontstudio.com (app/globals.css :root): Mayton blue #0038F8, IBM Plex Sans KR for titles.
   Loaded after style.css; customer screens first, partner/master pages share the colour and type tokens. */
:root{
  --accent:#0038f8;--accent-ink:#fff;--accent-soft:#eef2ff;--accent-line:#c9d5ff;
  --ink:#14171c;--muted:#5a6472;--subtle:#8a93a1;--line:#e3e7ee;--line-strong:#d2d8e2;
  --surface:#fff;--bg-soft:#f4f5f7;--danger:#d63a3a;
  --r-sm:8px;--r-md:12px;--r-lg:16px;--r-pill:999px;
  --shadow-sm:0 1px 2px rgba(20,23,28,.06);--shadow-md:0 8px 24px rgba(20,23,28,.08);
  --font-display:"IBM Plex Sans KR",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",sans-serif;
  --font-body:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic","Segoe UI",sans-serif;
  --green:var(--accent);--red:var(--danger);
}
body{font-family:var(--font-body);color:var(--ink);-webkit-font-smoothing:antialiased}
:focus:not(:focus-visible){outline:none}
#modal-title:focus{outline:none}
button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent)!important;box-shadow:0 0 0 3px rgba(0,56,248,.14)}
h1,h2,h3,.modal-head h2,.page-title h1,.stat-value,.summary-row.total strong,.price-line.grand-total strong{font-family:var(--font-display);letter-spacing:-.02em}

/* ---------- brand mark */
.brand{gap:8px;align-items:baseline;font-family:var(--font-display)}
.brand .brand-word{font-size:21px;font-weight:700;letter-spacing:.16em;color:var(--ink)}
.brand .brand-sub{font-size:10px;font-weight:600;letter-spacing:.2em;color:var(--accent)}
.eyebrow{display:block;font-family:var(--font-display);font-size:11px;font-weight:600;letter-spacing:.18em;color:var(--accent);margin:0 0 10px}

/* ---------- buttons */
.button{border-radius:10px;font-weight:600;transition:transform .12s ease,background-color .15s ease,border-color .15s ease}
.button:active{transform:scale(.98)}
.button.secondary{color:var(--ink);border-color:var(--line-strong);background:var(--surface)}
.button.is-pending,.button.is-pending:hover{background:#c5cede;border-color:#c5cede;color:#fff}
.text-btn{color:var(--subtle)}

/* ---------- customer: page frame */
body[data-role=customer]{background:var(--bg-soft)}
body[data-role=customer] .header{background:var(--surface)}
body[data-role=customer] .header-right #user-name{display:inline-block;font-size:12px;color:var(--muted);max-width:9em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-role=customer] .header nav button svg{display:none}
body[data-role=customer] .intro{padding:30px 0 22px}
body[data-role=customer] .intro h1{font-size:30px;font-weight:700;line-height:1.35}
body[data-role=customer] .intro p{color:var(--muted)}
.fee-table-button.button,.guide-fee-button.button{border-radius:var(--r-pill);border-color:var(--line-strong);background:var(--surface);color:var(--ink);font-weight:600;padding:9px 16px}
body[data-role=customer] .filters{background:var(--bg-soft);border-bottom:0}
body[data-role=customer] .search-field{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md)}
body[data-role=customer] .select-field{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-md)}
body[data-role=customer] .store-filter-help,body[data-role=customer] .sort-help{font-size:12px;color:var(--subtle)}

/* ---------- customer: shop cards */
body[data-role=customer] .cards{display:grid;gap:14px}
body[data-role=customer] .shop-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:0;overflow:hidden;box-shadow:var(--shadow-sm)}
body[data-role=customer] .shop-card .shop-gallery{margin:0;padding:0}
body[data-role=customer] .shop-card .shop-content{padding:18px 18px 16px}
body[data-role=customer] .shop-card h2{font-family:var(--font-display);font-size:19px;font-weight:600}
body[data-role=customer] .shop-address{color:var(--muted)}
.shop-photo-brand{height:150px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;padding:18px;color:#fff;background:linear-gradient(135deg,#0038f8 0%,#0b2a9a 60%,#0a1b5c 100%);position:relative;overflow:hidden}
.shop-photo-brand:before{content:"";position:absolute;right:-30px;top:-30px;width:180px;height:180px;border:1px solid rgba(255,255,255,.18);border-radius:50%}
.shop-photo-brand:after{content:"";position:absolute;right:30px;top:26px;width:90px;height:3px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.7) 0 26px,transparent 26px 32px)}
.shop-photo-brand .brand-word{font-family:var(--font-display);font-weight:700;letter-spacing:.2em;font-size:20px}
.shop-photo-brand small{font-size:12px;opacity:.85;letter-spacing:.02em}
.shop-photo-brand.large{height:190px;border-radius:var(--r-md);margin-bottom:18px}
.official-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:var(--r-pill);background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:600}
.official-badge:before{content:"✓";font-weight:700}
body[data-role=customer] .shop-card-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:8px}
body[data-role=customer] .shop-card-actions .button{min-height:48px}
body[data-role=customer] .shop-link{color:var(--muted)}

/* ---------- modal */
dialog{border-radius:var(--r-lg)}
dialog[open]{animation:sheet-in .24s ease-out}
@keyframes sheet-in{from{transform:translateY(16px);opacity:.6}to{transform:none;opacity:1}}
.modal-head h2{font-weight:600}
.modal-head .close,.product-detail-modal .modal-head .close{width:40px;height:40px;min-width:40px;min-height:40px;margin:-4px -4px 0 0;border-radius:50%;background:#eceff3;color:var(--muted);font-size:22px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.booking-progress{border-bottom:0;gap:6px}
.booking-progress span{padding:12px 0 0;border-top:3px solid var(--line);font-size:12px;color:var(--subtle);text-align:left}
.booking-progress .active{border-bottom:0;border-top-color:var(--accent);color:var(--accent)}

/* ---------- fields */
.field input,.field select,.field textarea{border-radius:10px;border-color:var(--line-strong)}
.field.has-error input,.field.has-error select,.field.has-error textarea{border-color:var(--danger)}
.field-error{display:flex;gap:6px;align-items:flex-start;margin:2px 0 0;font-size:13px;line-height:1.6;color:var(--danger)}
.field-error:before{content:"!";flex:none;width:17px;height:17px;border-radius:50%;background:var(--danger);color:#fff;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;margin-top:2px}
.consent.has-error{flex-wrap:wrap}
.consent .field-error{flex-basis:100%}
.prefill-note{margin:0 0 20px;padding:12px 14px;border-radius:var(--r-md);background:var(--accent-soft);color:#2a3f8f;font-size:13px}
.modal-grid .field:has(.vehicle-picker){grid-column:1/-1}
.vehicle-picker{display:grid;gap:10px}
.chip-row{display:flex;flex-wrap:wrap;gap:8px}
.choice-chip{min-height:42px;padding:0 16px;border:1px solid var(--line-strong);border-radius:var(--r-pill);background:var(--surface);font-size:14px;color:var(--ink);transition:background-color .15s,border-color .15s}
.choice-chip.active{background:var(--accent);border-color:var(--accent);color:#fff;font-weight:600}
.shop-ask.button{margin-top:8px;display:inline-flex}

/* ---------- product selection */
.multi-product-row{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface);transition:border-color .15s,background-color .15s}
.multi-product-row:has(input:checked){border-color:var(--accent);background:#f7f9ff;box-shadow:0 0 0 1px var(--accent) inset}
.product-option input{accent-color:var(--accent);width:22px;height:22px}
.product-list-image{border-radius:var(--r-md);background:var(--bg-soft)}
.product-option strong{font-family:var(--font-display);font-weight:600}
.product-option small.product-spec{display:block;font-size:12px;color:var(--accent);margin-top:-2px;font-weight:500}
.product-detail .modal-actions .button{flex:1}
.selected-toggle.button{color:var(--danger);border-color:#f0c9c9}

/* ---------- schedule */
.calendar-day.selected span,.calendar-day[aria-pressed=true] span{background:var(--accent);color:#fff}
.slot-button{border-radius:10px}
.slot-button.active{background:var(--accent);border-color:var(--accent);color:#fff}
.schedule-shop-placeholder.brand{background:linear-gradient(135deg,#0038f8,#0b2a9a);color:#fff;display:flex;align-items:center;justify-content:center}
.schedule-shop-placeholder.brand .brand-word{font-family:var(--font-display);font-weight:700;letter-spacing:.16em;font-size:12px}

/* ---------- review / price / success */
.summary-box,.review-block,.standard-price-breakdown{border-radius:var(--r-md)}
.price-line.grand-total strong{color:var(--accent)}
.success-icon{width:64px;height:64px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center}
.success-icon svg{width:30px;height:30px}

/* ---------- my bookings / inquiries */
body[data-role=customer] .booking-card,.inquiry-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow-sm)}
body[data-role=customer] .tabs button{border-radius:var(--r-pill);background:var(--surface)}
body[data-role=customer] .tabs button.active{background:var(--ink);border-color:var(--ink);color:#fff}
.inquiry-card{padding:18px}
.inquiry-card header{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--subtle)}
.inquiry-card h3{font-size:15px;margin:12px 0 6px}
.inquiry-card p{font-size:13px;color:var(--muted);margin:0 0 14px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.message-bubble{border-radius:14px}
.message-bubble.mine{background:var(--accent-soft)}
.message-bubble footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:6px}
.message-bubble .answered{color:var(--accent);font-weight:600}
.message-delete{min-height:32px;font-size:12px;color:var(--muted)}
.message-delete.confirming{color:var(--danger);font-weight:600}
.notification.unread{background:var(--accent-soft)}

/* ---------- guide */
body[data-role=customer] .guide-fee-button{margin:4px 0 24px}
body[data-role=customer] .faq{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);padding:22px 20px 8px}
body[data-role=customer] .faq summary{font-weight:600;color:var(--ink)}
body[data-role=customer] .faq p{color:var(--muted)}
.faq-source{padding:14px 0}
.faq-source a{color:var(--accent);text-decoration:underline}

/* ---------- login */
body.login-screen{background:var(--surface)}
body.login-screen .header nav,body.login-screen .header-right,body.login-screen .workspace-bar{display:none}
.customer-login{max-width:480px;margin:0 auto 40px;padding:0}
.login-hero{position:relative;overflow:hidden;background:linear-gradient(150deg,#0038f8 0%,#0b2a9a 62%,#081a55 100%);color:#fff;border-radius:0 0 28px 28px;padding:40px 24px 34px}
.login-hero:after{content:"";position:absolute;left:24px;bottom:22px;width:120px;height:3px;background:repeating-linear-gradient(90deg,rgba(255,255,255,.75) 0 34px,transparent 34px 42px)}
.login-hero:before{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border:1px solid rgba(255,255,255,.16);border-radius:50%}
.login-eyebrow{font-family:var(--font-display);font-size:11px;font-weight:600;letter-spacing:.2em;opacity:.85}
.login-tagline{font-family:var(--font-display);font-weight:700;font-size:34px;line-height:1.15;letter-spacing:.01em;margin:16px 0 14px}
.login-sub{font-size:15px;line-height:1.6;opacity:.9;margin:0 0 18px}
.login-body{padding:28px 24px 0}
.login-body h1{font-size:22px;font-weight:700;margin:0 0 10px}
.login-body>p{font-size:14px;line-height:1.7;color:var(--muted);margin:0}
.kakao-login-button{border-radius:12px;min-height:54px;font-size:16px;margin:24px 0 22px;gap:8px}
.kakao-login-button svg{width:20px;height:20px}
.login-benefits{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:10px}
.login-benefits li{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--ink);padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-md)}
.login-benefits b{font-family:var(--font-display);color:var(--accent);font-size:13px;letter-spacing:.06em}

/* ---------- mobile */
@media(max-width:760px){
  .brand .brand-word{font-size:19px}
  .brand .brand-sub{display:none}
  body[data-role=customer] .header nav{height:calc(64px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--line-strong);box-shadow:0 -6px 20px rgba(20,23,28,.06);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px)}
  body[data-role=customer] .header nav button{height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;color:var(--subtle);position:relative}
  body[data-role=customer] .header nav button svg{display:block;width:22px;height:22px}
  body[data-role=customer] .header nav button.active{color:var(--accent);font-weight:600}
  body[data-role=customer] .header nav button.active:before{content:"";position:absolute;top:0;left:30%;right:30%;height:3px;border-radius:0 0 3px 3px;background:var(--accent)}
  body[data-role=customer] .header-right #user-name{max-width:6.5em}
  body[data-role=customer] .intro h1{font-size:27px}
  body[data-role=customer] .filters{margin:0 -20px;padding:10px 20px}
  .legend,.metrics-note{font-size:12px}
  .notice{font-size:12px}
  .modal-head .close{margin-top:-2px}
  .login-hero{margin:0 -20px;padding:36px 24px 32px}
  .login-tagline{font-size:32px}
  .login-body{padding:26px 4px 0}
  dialog[open]{animation-name:sheet-in}
}
@media(prefers-reduced-motion:reduce){dialog[open]{animation:none}.button{transition:none}.button:active{transform:none}}

/* ---------- partner / master workspaces: shared colour + type tokens */
body[data-role=partner] .stat.featured .stat-value,body[data-role=admin] .stat.featured .stat-value{color:var(--accent)}

/* official booking guarantee (2026-10-20): login + booking step 3 */
.login-official{display:inline-block;margin:14px 0 0;padding:5px 12px;border:1px solid rgba(255,255,255,.45);border-radius:var(--r-pill);font-size:12px;font-weight:600;letter-spacing:.02em}
.official-note{margin:0 0 16px;padding:12px 14px;border-left:3px solid var(--accent);background:var(--accent-soft);border-radius:0 var(--r-sm) var(--r-sm) 0;font-size:12px;line-height:1.8;color:var(--ink)}
.official-guarantee{margin:0 0 18px;padding:16px;border:1px solid var(--accent-line);border-radius:var(--r-md);background:var(--accent-soft)}
.official-guarantee b{display:block;font-family:var(--font-display);font-size:14px;color:var(--accent);margin-bottom:4px}
.official-guarantee p{margin:0 0 8px;font-size:12px;line-height:1.8;color:var(--muted)}
.official-guarantee ul{margin:0;padding:0;list-style:none;display:grid;gap:4px}
.official-guarantee li{font-size:12px;line-height:1.7;color:var(--ink);padding-left:16px;position:relative}
.official-guarantee li:before{content:'';position:absolute;left:2px;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--accent)}
