/* =========================================
   BuddyPlanner v2 — Components
   ========================================= */

/* ── Header ── */
.header {
  position: sticky;
  top: var(--header-h);
  z-index: calc(var(--z-sticky) - 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 var(--sp-4);
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  margin-top: var(--header-h);
}

.header-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text-100);
  letter-spacing: var(--ls-tight);
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  transition: all var(--dur-fast) var(--ease-out);
}

.header-btn svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-100);
  stroke-width: 1.5;
  fill: none;
}

.header-btn:hover {
  background: var(--bg-input-hover);
}

.header-btn:active {
  transform: scale(0.9);
}

/* ── Glass Card ── */
.card {
  position: relative;
  background: var(--bg-card);
  border: none;
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  transition: all var(--dur-normal) var(--ease-out);
}

.card:hover {
  background: var(--bg-card-hover);
}

.card.card-gold {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

/* ── Input ── */
.field {
  margin-bottom: var(--sp-5);
}

.field-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--text-200);
  margin-bottom: 6px;
}

.field-label .req {
  color: var(--gold);
}

.field-input {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  width: 100%;
  height: 52px;
  padding: 0 var(--sp-4);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  transition: all var(--dur-fast) var(--ease-out);
}

.field-input:hover {
  background: var(--bg-input-hover);
  border-color: var(--border-default);
}

.field-input:focus-within {
  background: var(--bg-input-focus);
  border-color: var(--border-accent);
  box-shadow: var(--glow-accent);
}

.field-input input {
  flex: 1;
  height: 100%;
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text-100);
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  background: transparent;
  box-sizing: border-box;
}

.field-input input::placeholder {
  color: var(--text-500);
}

.field-input .fi-icon {
  flex-shrink: 0;
  font-size: 1.15rem;
  color: var(--text-500);
}

.field-hint {
  font-size: var(--fs-xs);
  color: var(--text-500);
  margin-top: var(--sp-1);
  padding-left: var(--sp-1);
}

/* ── Buttons ── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  height: 52px;
  padding: 0 var(--sp-6);
  border-radius: var(--r-lg);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-normal);
  position: relative;
  overflow: hidden;
  transition: all var(--dur-normal) var(--ease-out);
}

.btn-primary {
  width: 100%;
  background: var(--text-100);
  color: var(--bg-app);
  box-shadow: none;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  opacity: 0.8;
}

.btn-gold {
  background: var(--text-100);
  color: var(--bg-app);
  box-shadow: none;
}

.btn-gold:hover {
  opacity: 0.9;
}

.btn-ghost {
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  color: var(--text-200);
  font-weight: var(--fw-semibold);
  height: 44px;
  padding: 0 var(--sp-5);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
}

.btn-ghost:hover {
  background: var(--bg-input-hover);
  border-color: var(--border-strong);
}

.btn-ghost:active {
  transform: scale(0.97);
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--r-md);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
}

.btn-icon:hover {
  background: var(--bg-input-hover);
  border-color: var(--border-default);
}

/* ── Chip ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 3px var(--sp-3);
  border-radius: var(--r-full);
  font-size: var(--fs-2xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}

.chip-accent {
  background: var(--accent-dim);
  border-color: rgba(34, 201, 135, 0.2);
  color: var(--emerald-300);
}

.chip-gold {
  background: var(--gold-dim);
  border-color: rgba(200, 169, 81, 0.2);
  color: var(--gold-300);
}

.chip-live {
  animation: glow 2.5s ease-in-out infinite;
}

/* ── Tabs ── */
.tabs {
  display: flex;
  gap: var(--sp-1);
  padding: 3px;
  background: var(--bg-input);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
}

.tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  height: 42px;
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-500);
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
}

.tab.active {
  background: var(--text-100);
  color: var(--bg-app);
  font-weight: var(--fw-bold);
}

.tab:not(.active):hover {
  color: var(--text-100);
  background: var(--bg-input-hover);
}

/* ── Top Header & Nav ── */
.top-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-w);
  height: var(--header-h);
  background: rgba(44, 44, 46, 0.96);
  /* Dark gray background */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  z-index: var(--z-sticky);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-user { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; max-width: 62%; }
.top-user-name { color: #e5e7eb; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-logout { min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.08); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; flex: 0 0 auto; }
.top-logout:active { background: rgba(255,255,255,0.18); }

.top-brand {
  position: static;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: flex-start;
  padding-left: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.4px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}

.top-nav-left,
.top-nav-right {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

.top-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  padding: 4px 6px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
  letter-spacing: -0.3px;
  white-space: nowrap;
}

.top-nav-item svg {
  width: 19px;
  height: 19px;
  transition: all var(--dur-fast) var(--ease-out);
}

.top-nav-item:hover {
  color: rgba(255, 255, 255, 0.9);
}

.top-nav-item.active {
  color: #ffffff;
  font-weight: 700;
}
.top-nav-sos { color: #fca5a5; }
.top-nav-sos .top-sos-ico { font-size: 19px; line-height: 19px; height: 19px; display: flex; align-items: center; }
.top-nav-item .notice-badge { top: 0; right: 0; }

.top-nav-item.active svg {
  color: var(--primary-400);
  /* Lighter green for dark bg */
  transform: translateY(-1px) scale(1.05);
  filter: drop-shadow(0 2px 6px rgba(34, 201, 135, 0.5));
}

/* Membership Registration Nav */
.top-nav-item.membership-nav {
  color: #ffffff;
}

.top-nav-item.membership-nav svg {
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(255, 255, 255, 0.4));
}

.top-nav-item.membership-nav:hover {
  color: #ffffff;
}

.top-nav-item.membership-nav.active {
  color: #ffffff;
}

.top-nav-item.membership-nav.active svg {
  color: #ffffff;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.6));
}

/* ── Modal ── */
.modal-bg {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease-out);
}

.modal-bg.open {
  opacity: 1;
  pointer-events: all;
}

.modal-panel {
  width: 100%;
  max-width: var(--app-w);
  max-height: 80vh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border-radius: var(--r-3xl) var(--r-3xl) 0 0;
  padding: var(--sp-6) var(--sp-5) var(--sp-8);
  transform: translateY(100%);
  transition: transform var(--dur-slower) var(--ease-out);
}

.modal-bg.open .modal-panel {
  transform: translateY(0);
}

/* ── Modal Center (팝업형 중앙 모달) ── */
.modal-bg.center {
  align-items: center;
  padding: 0 16px;
}

.modal-bg.center .modal-panel {
  border-radius: 20px;
  max-height: 88vh;
  transform: scale(0.93) translateY(12px);
  transition: transform var(--dur-slower) var(--ease-out), opacity var(--dur-normal) var(--ease-out);
  opacity: 0;
}

.modal-bg.center.open .modal-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-handle {
  width: 36px;
  height: 4px;
  border-radius: var(--r-full);
  background: var(--text-500);
  margin: 0 auto var(--sp-5);
  opacity: 0.5;
}

.modal-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-5);
}

.modal-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

/* ── Modal List Item ── */
.modal-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}

.modal-item:hover {
  background: var(--bg-input-hover);
  border-color: var(--border-default);
}

.modal-item.selected {
  background: var(--accent-dim);
  border-color: var(--border-accent);
}

.modal-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
}

.modal-item-text {
  flex: 1;
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
}

.modal-item-sub {
  font-size: var(--fs-xs);
  color: var(--text-500);
  margin-top: 2px;
}

.modal-item-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  color: transparent;
  transition: all var(--dur-fast);
}

.modal-item.selected .modal-item-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Toast ── */
.toast {
  position: fixed;
  top: calc(var(--header-h) + var(--sp-4));
  left: 50%;
  transform: translateX(-50%) translateY(-80px);
  width: max-content;
  max-width: min(calc(var(--app-w) - var(--sp-10)), calc(100vw - 32px));
  padding: var(--sp-3) var(--sp-6);
  background: rgba(30, 30, 30, 0.95);
  color: #ffffff;
  border-radius: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: var(--fw-bold);
  z-index: var(--z-toast);
  opacity: 0;
  transition: all var(--dur-slow) var(--ease-spring);
  box-shadow: var(--shadow-lg);
  white-space: normal; word-break: keep-all;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ── Loading ── */
.dots {
  display: flex;
  gap: var(--sp-2);
  justify-content: center;
  padding: var(--sp-8) 0;
}

.dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotBounce 1.4s ease-in-out infinite;
}

.dots span:nth-child(2) {
  animation-delay: .16s;
}

.dots span:nth-child(3) {
  animation-delay: .32s;
}

/* ── Empty ── */
.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-20) var(--sp-6);
  text-align: center;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: var(--sp-5);
  animation: float 3s ease-in-out infinite;
}

.empty-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-2);
}

.empty-desc {
  font-size: var(--fs-sm);
  color: var(--text-500);
  margin-bottom: var(--sp-6);
  max-width: 240px;
  line-height: var(--lh-relaxed);
}

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
  margin: var(--sp-4) 0;
}

/* ── Stagger helper ── */
.stag {
  opacity: 0;
  animation: slideUp var(--dur-slow) var(--ease-out) forwards;
}

.stag:nth-child(1) {
  animation-delay: .06s
}

.stag:nth-child(2) {
  animation-delay: .12s
}

.stag:nth-child(3) {
  animation-delay: .18s
}

.stag:nth-child(4) {
  animation-delay: .24s
}

.stag:nth-child(5) {
  animation-delay: .3s
}

.stag:nth-child(6) {
  animation-delay: .36s
}

/* ── Toggle Switch ── */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toggle {
  position: relative;
  width: 48px;
  height: 28px;
  border-radius: var(--r-full);
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  cursor: pointer;
  transition: all var(--dur-normal) var(--ease-out);
}

.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-400);
  transition: all var(--dur-normal) var(--ease-spring);
}

.toggle.on {
  background: var(--accent);
  border-color: var(--accent);
}

/* ── Wheel Picker ── */
.wheel-picker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-2);
  height: 200px;
  position: relative;
  background: var(--bg-input);
  border-radius: var(--r-xl);
  margin-bottom: var(--sp-6);
  overflow: hidden;
}

.wheel-picker::before,
.wheel-picker::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 75px;
  z-index: 2;
  pointer-events: none;
}

.wheel-picker::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-input) 0%, transparent 100%);
}

.wheel-picker::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-input) 0%, transparent 100%);
}

.wheel-sel-bar {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 44px;
  z-index: 1;
  pointer-events: none;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
}

.wheel-col {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  padding: 78px 0;
  position: relative;
  z-index: 3;
}

.wheel-col::-webkit-scrollbar {
  display: none;
}

.wheel-item {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  font-size: var(--fs-lg);
  color: var(--text-400);
  transition: all var(--dur-fast);
  cursor: pointer;
}

.wheel-item.active {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text-100);
}

.toggle.on::after {
  left: 23px;
  background: #fff;
}

/* ── Ad Mockups ── */
.sticky-ad-mockup {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-w);
  height: 60px;
  background: #f1f5f9;
  border-top: 1px dashed #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #94a3b8;
  z-index: var(--z-sticky);
  padding-bottom: var(--safe-bottom);
}

.inline-ad-mockup {
  width: 100%;
  height: 100px;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  color: #94a3b8;
  margin-top: 24px;
}
/* 공지함 벨 아이콘 + 안 읽은 공지 표시 */
.notice-bell {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--border-subtle, rgba(0,0,0,.08));
  background: transparent; color: var(--text-200, #475569); cursor: pointer; padding: 0;
}
.notice-bell:active { transform: scale(.94); }
.notice-badge {
  position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 9px; background: #ef4444; color: #fff; font-size: 12px; font-weight: 700;
  line-height: 17px; text-align: center; box-sizing: border-box;
}
.notice-badge[hidden] { display: none; }

/* ── 아래 메뉴 (홈·로드톡·긴급·내 정보) ── */
:root { --bottom-nav-h: 64px; --nav-safe: max(0px, calc(env(safe-area-inset-bottom) - 26px)); }  /* 아이폰 홈 바 자리는 8pt만 비움 */
.bottom-nav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 100%; max-width: var(--app-w);
  height: calc(var(--bottom-nav-h) + var(--nav-safe));
  padding-bottom: var(--nav-safe);
  display: flex; align-items: stretch;
  background: #ffffff; border-top: 1px solid #e2e8f0;
  box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.06);
  z-index: var(--z-sticky);
}
.bnav-item {
  position: relative; flex: 1 1 0; min-width: 44px; min-height: 56px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: none; border: 0; cursor: pointer;
  font-size: 13px; font-weight: 700; color: #5B616E; letter-spacing: -0.2px;
  -webkit-tap-highlight-color: transparent;
}
.bnav-item svg { width: 24px; height: 24px; }
.bnav-item.active { color: #3B45C4; }
.bnav-sos { color: #dc2626; }
.bnav-sos-ico { font-size: 22px; line-height: 24px; height: 24px; }
.bnav-item .notice-badge { top: 6px; right: calc(50% - 22px); }
body.has-bottom-nav #app { padding-bottom: calc(var(--bottom-nav-h) + var(--nav-safe)); }

/* ── 개인 매니저: 내 아티스트 ── */
.art-plan { background:#EEF0FD; border:1px solid #D5D9F7; color:#2B338F; border-radius:12px; padding:10px 12px; font-size:13.5px; font-weight:700; margin-bottom:12px; line-height:1.5; }
.art-plan.paid { background:#ecfdf5; border-color:#a7f3d0; color:#047857; }
.art-plan button { border:0; background:#3B45C4; color:#fff; font-size:12.5px; font-weight:800; padding:5px 10px; border-radius:8px; margin-left:4px; cursor:pointer; }
.art-card { display:flex; align-items:center; gap:10px; background:var(--bg-card); border:1px solid var(--border-default); border-radius:14px; padding:12px 14px; margin-bottom:10px; }
.art-dot { width:14px; height:14px; border-radius:50%; flex-shrink:0; }
.art-info { flex:1; min-width:0; }
.art-name { font-size:16px; font-weight:800; color:var(--text-100); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.art-type { font-size:12.5px; color:var(--text-400); margin-top:2px; }
.art-btn { flex-shrink:0; min-height:36px; border:1px solid var(--border-default); background:var(--bg-input); color:var(--text-200); font-size:13px; font-weight:700; padding:6px 12px; border-radius:9px; cursor:pointer; }
.art-btn.danger { color:#dc2626; border-color:#fecaca; background:#fef2f2; }
.art-empty { display:flex; flex-direction:column; gap:6px; text-align:center; padding:28px 12px; color:var(--text-400); font-size:14px; }
.art-empty b { color:var(--text-100); font-size:16px; }
.art-add { width:100%; margin-top:6px; min-height:48px; border:1.5px dashed #B4BBF0; background:rgba(59, 69, 196,0.06); color:#3B45C4; font-size:15px; font-weight:800; border-radius:14px; cursor:pointer; }
.art-add.locked { border-color:var(--border-default); color:var(--text-400); background:var(--bg-input); }
.art-count { font-size:13px; color:var(--text-400); margin:0 2px 8px; }
.art-count b { color:var(--text-100); }
button.art-card { width:100%; text-align:left; cursor:pointer; font:inherit; color:inherit; }
.art-name small.art-type { font-weight:600; margin-left:4px; }
.art-next { display:block; font-size:13px; color:#3B45C4; font-weight:700; margin-top:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.art-next.none { color:var(--text-400); font-weight:500; }
.art-chev { color:var(--text-400); flex-shrink:0; }
div.art-add.locked { display:flex; flex-direction:column; align-items:center; gap:4px; padding:16px 12px; cursor:default; border-style:dashed; }
.art-lock-t { font-size:15px; font-weight:800; color:var(--text-200); }
.art-lock-s { font-size:12.5px; font-weight:500; color:var(--text-400); }
div.art-add.locked button { margin-top:6px; border:0; background:#3B45C4; color:#fff; font-size:13.5px; font-weight:800; padding:9px 16px; border-radius:10px; cursor:pointer; }
.art-detail { text-align:left; display:flex; flex-direction:column; gap:10px; }
.art-detail-top { display:flex; align-items:center; gap:8px; font-size:17px; }
.art-detail-h { font-size:13px; font-weight:800; color:var(--text-300); margin-top:4px; }
.art-up { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.art-up li { background:var(--bg-input); border-radius:10px; padding:10px 12px; font-size:14px; font-weight:700; color:var(--text-100); }
.art-up li small { display:block; font-weight:500; color:var(--text-400); margin-top:2px; }
.art-up-none { font-size:14px; color:var(--text-400); padding:6px 0; }
.art-detail-btns { display:flex; gap:8px; margin-top:6px; }
.art-detail-btns .art-btn { flex:1; min-height:44px; }
.art-label { display:flex; flex-direction:column; gap:6px; font-size:13.5px; font-weight:700; color:var(--text-300); }
.art-input { width:100%; padding:12px; border-radius:10px; border:1px solid var(--border-default); background:var(--bg-input); color:var(--text-100); font-size:15px; }
.art-colors { display:flex; gap:8px; flex-wrap:wrap; }
.art-color { width:34px; height:34px; border-radius:50%; border:3px solid transparent; cursor:pointer; }
.art-color.on { border-color:var(--text-100); box-shadow:0 0 0 2px var(--bg-card) inset; }

/* ── 장소 검색 목록 (스케줄 등록 창) ── */
.place-suggest { position:absolute; left:0; right:0; top:100%; margin-top:4px; z-index:30; background:#fff; border:1px solid #cbd5e1; border-radius:10px; box-shadow:0 8px 24px rgba(15,23,42,0.15); max-height:260px; overflow-y:auto; }
.place-suggest .ps-item { display:flex; flex-direction:column; align-items:flex-start; gap:2px; width:100%; text-align:left; border:0; border-bottom:1px solid #f1f5f9; background:#fff; padding:10px 12px; min-height:44px; cursor:pointer; }
.place-suggest .ps-item:last-child { border-bottom:0; }
.place-suggest .ps-item:active, .place-suggest .ps-item:hover { background:#EEF0FD; }
.place-suggest .ps-item b { font-size:14.5px; color:#14161A; }
.place-suggest .ps-item span { font-size:12.5px; color:#5B616E; }
.place-suggest .ps-msg { padding:12px; font-size:13.5px; color:#5B616E; text-align:center; }

/* ── 경비 기록 ── */
.exp-month { display:flex; align-items:center; justify-content:center; gap:18px; margin-bottom:12px; }
.exp-month b { font-size:18px; color:var(--text-100); }
.exp-month button { min-width:44px; min-height:44px; border:1px solid var(--border-default); background:var(--bg-card); border-radius:12px; font-size:22px; color:var(--text-300); cursor:pointer; }
.exp-total { background:linear-gradient(135deg,#1e1b4b,#312e81); color:#fff; border-radius:16px; padding:16px; margin-bottom:12px; }
.exp-total-label { font-size:13px; opacity:.7; font-weight:700; }
.exp-total-amt { font-size:28px; font-weight:800; margin-top:4px; letter-spacing:-0.5px; }
.exp-cats { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.exp-cats span { background:rgba(255,255,255,0.14); border-radius:999px; padding:4px 10px; font-size:12.5px; font-weight:700; }
.exp-add { width:100%; min-height:50px; border:0; border-radius:14px; background:#3B45C4; color:#fff; font-size:16px; font-weight:800; cursor:pointer; margin-bottom:10px; }
.exp-tools { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:12px; }
.exp-tools button { min-height:42px; border:1px solid var(--border-default); background:var(--bg-card); border-radius:12px; font-size:13.5px; font-weight:700; color:var(--text-200); cursor:pointer; }
.exp-date { font-size:13px; font-weight:800; color:var(--text-400); margin:12px 2px 6px; }
.exp-item { display:flex; align-items:center; gap:10px; width:100%; text-align:left; background:var(--bg-card); border:1px solid var(--border-default); border-radius:12px; padding:12px; margin-bottom:8px; min-height:52px; cursor:pointer; }
.exp-ico { font-size:20px; flex-shrink:0; }
.exp-info { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.exp-info b { font-size:14.5px; color:var(--text-100); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.exp-info small { font-size:12px; color:var(--text-400); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.exp-rc { flex-shrink:0; font-size:14px; }
.exp-amt { flex-shrink:0; font-size:15px; font-weight:800; color:var(--text-100); }
.exp-empty { text-align:center; color:var(--text-400); font-size:14px; padding:28px 8px; line-height:1.6; }
.exp-note { text-align:center; font-size:12.5px; color:var(--text-400); margin-top:10px; }
.exp-cat-pick { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.exp-cat-pick button { min-height:42px; border:1px solid var(--border-default); background:var(--bg-input); border-radius:10px; font-size:13px; font-weight:700; color:var(--text-200); cursor:pointer; padding:4px; }
.exp-cat-pick button.on { background:#3B45C4; border-color:#3B45C4; color:#fff; }
.exp-photo { display:flex; align-items:center; justify-content:center; min-height:46px; border:1.5px dashed #B4BBF0; border-radius:10px; background:rgba(59, 69, 196,0.06); color:#3B45C4; font-weight:700; font-size:14px; cursor:pointer; }
.exp-link { border:0; background:none; color:#3B45C4; font-weight:700; font-size:13px; text-decoration:underline; padding:6px 0; cursor:pointer; align-self:flex-start; }

/* ── 시작 화면 (두 가지 입구) ── */
.login-container.lg-wrap { align-items:stretch; justify-content:flex-start; max-width:none; width:100%; margin:0; padding:0; min-height:100vh; min-height:100dvh; box-sizing:border-box; display:flex; flex-direction:column; background:#F6F7F9; }
.lg-main { width:100%; max-width:440px; margin:0 auto; padding:48px 20px 24px; box-sizing:border-box; display:flex; flex-direction:column; gap:26px; flex:1; }
.lg-side { display:none; }
/* 넓은 화면(태블릿·PC): 양옆 빈 공간 없이 — 왼쪽 소개, 오른쪽 로그인 */
@media (min-width: 760px) {
  #app:has(#screen-login.active) { max-width:none; box-shadow:none; }
  .login-container.lg-wrap { display:grid; grid-template-columns:minmax(0, 1.1fr) minmax(400px, 1fr); }
  .lg-side { display:flex; flex-direction:column; justify-content:space-between; gap:36px; padding:56px clamp(32px, 5vw, 72px); background:radial-gradient(120% 90% at 0% 0%, #312e81 0%, #111827 55%, #0b1020 100%); color:#d1d5db; min-width:0; }
  .lg-side-top { display:flex; align-items:center; gap:12px; }
  .lg-side-top img { width:44px; height:44px; border-radius:12px; }
  .lg-side-top b { font-size:20px; font-weight:800; color:#fff; }
  .lg-side-mid h2 { margin:0; font-size:clamp(28px, 3.2vw, 42px); line-height:1.25; font-weight:900; color:#fff; letter-spacing:-1px; }
  .lg-side-mid h2 em { font-style:normal; color:#B4BBF0; }
  .lg-side-mid ul { list-style:none; margin:32px 0 0; padding:0; display:flex; flex-direction:column; gap:14px; }
  .lg-side-mid li { display:flex; gap:12px; align-items:flex-start; font-size:15px; line-height:1.5; }
  .lg-side-mid li > span { flex-shrink:0; width:30px; height:30px; border-radius:9px; background:rgba(165,180,252,0.14); display:grid; place-items:center; }
  .lg-side-mid li b { display:block; color:#fff; font-weight:700; }
  .lg-side-foot { font-size:12.5px; color:#6b7280; }
  .lg-main { justify-content:center; padding:48px 32px; background:#F6F7F9; }
  .lg-main .lg-foot { margin-top:8px; }
}
/* 태블릿 세로: 소개 칸 없이 한 줄 (배경은 화면 끝까지) */
@media (min-width: 760px) and (max-width: 959px) {
  .login-container.lg-wrap { display:flex; }
  .lg-side { display:none; }
  .lg-main { max-width:480px; }
}
.lg-head { display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; }
.lg-logo { width:64px; height:64px; border-radius:18px; box-shadow:0 6px 14px rgba(0,0,0,0.18); }
.lg-head .login-title { margin:6px 0 0; font-size:26px; font-weight:900; color:#14161A; letter-spacing:-0.5px; }
.lg-head .login-subtitle { margin:0; font-size:15px; color:#3c3c43; }
.lg-step { display:flex; flex-direction:column; gap:12px; }
.lg-h2 { margin:0 4px; font-size:18px; font-weight:700; color:#14161A; }
.lg-card { display:flex; align-items:center; gap:16px; width:100%; text-align:left; background:#fff; border:1px solid #E6E7EB; border-radius:20px; padding:20px; cursor:pointer; color:#14161A; font-family:inherit; }
.lg-card:active { background:#f8fafc; }
.lg-ico { width:52px; height:52px; border-radius:16px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.lg-txt { flex:1; display:flex; flex-direction:column; gap:4px; min-width:0; }
.lg-txt b { font-size:17px; font-weight:700; }
.lg-txt small { font-size:14px; color:#3c3c43; }
.lg-demo { width:100%; min-height:46px; border-radius:14px; border:1px dashed rgba(59, 69, 196,0.5); background:rgba(59, 69, 196,0.08); color:#3B45C4; font-weight:700; font-size:14px; cursor:pointer; font-family:inherit; }
.lg-back { align-self:flex-start; min-height:44px; border:0; background:transparent; color:#3c3c43; font-size:14px; display:flex; align-items:center; gap:4px; cursor:pointer; padding:0; font-family:inherit; }
.lg-box { background:#fff; border:1px solid #E6E7EB; border-radius:20px; padding:20px; display:flex; flex-direction:column; gap:12px; }
.lg-label { display:flex; flex-direction:column; gap:6px; font-size:13px; color:#3c3c43; }
.btn-social.lg-primary, .lg-primary { width:100%; height:52px; border-radius:14px; border:0; background:#3B45C4; color:#fff; font-size:16px; font-weight:700; display:flex; align-items:center; justify-content:center; gap:8px; cursor:pointer; padding:0; margin:4px 0 0; }
.lg-hint { font-size:13px; color:#3c3c43; text-align:center; }
.lg-foot { margin-top:auto; display:flex; flex-direction:column; align-items:center; gap:6px; font-size:13px; }
.lg-hq { min-height:44px; display:flex; align-items:center; gap:6px; font-weight:700; color:#2B338F; text-decoration:none; }
.lg-legal { color:#3c3c43; }
.lg-legal a { color:inherit; display:inline-block; padding:12px 3px; }

/* ── 위 막대: 로드플래너 + 아래 줄(이름·회사·본사 연결됨) ── */
.top-brand-stack { display:flex; flex-direction:column; min-width:0; line-height:1.15; }
.top-brand-stack .top-user-name { color:#D5D9F7; font-size:12px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:flex; align-items:center; gap:5px; }
.top-brand-stack .top-user-name.hq-ok::before { content:''; width:6px; height:6px; border-radius:50%; background:#34d399; flex-shrink:0; }
.top-brand-stack .top-user-name:empty { display:none; }
.top-bell { width:44px; height:44px; border:0; background:transparent; color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; flex-shrink:0; border-radius:12px; }
.top-bell[hidden] { display:none; }

/* ── 내 정보 (프로필 줄 · 업무 / 알림·길안내 / 계정) ── */
.me-header { justify-content:flex-start; padding-left:16px; }
.me-wrap { padding:14px 16px 28px; display:flex; flex-direction:column; gap:14px; background:#F6F7F9; }
.me-card { background:#fff; border-radius:18px; padding:16px; display:flex; flex-direction:column; gap:14px; }
.me-prof { display:flex; align-items:center; gap:14px; }
.me-avatar { width:56px; height:56px; border-radius:50%; background:#EEF0FD; color:#2B338F; font-size:20px; font-weight:900; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.me-prof-txt { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.me-name { font-size:18px; font-weight:900; color:#14161A; }
.me-sub { font-size:13px; color:#3c3c43; overflow:hidden; text-overflow:ellipsis; }
.me-artists { border-top:1px solid #F6F7F9; padding-top:12px; display:flex; flex-direction:column; gap:8px; }
.me-chips { display:flex; gap:6px; flex-wrap:wrap; align-items:center; }
.me-chip { background:color-mix(in srgb, var(--c) 14%, #fff); color:color-mix(in srgb, var(--c) 70%, #000); font-size:13px; font-weight:700; padding:4px 10px; border-radius:999px; }
.me-chip-add { min-height:30px; border:1px dashed #B4BBF0; background:#fff; color:#3B45C4; font-size:12.5px; font-weight:700; padding:0 10px; border-radius:999px; cursor:pointer; }
.me-plan { display:flex; align-items:center; gap:10px; background:#EEF0FD; border:1px solid #D5D9F7; border-radius:16px; padding:14px 16px; }
.me-plan.paid { background:#ecfdf5; border-color:#a7f3d0; }
.me-plan button { flex-shrink:0; border:0; background:#3B45C4; color:#fff; font-size:13px; font-weight:800; padding:0 12px; min-height:40px; border-radius:10px; cursor:pointer; }
.me-plan.paid button { background:#10b981; }
.me-group { display:flex; flex-direction:column; gap:8px; }
.me-group h2 { margin:4px 4px 0; font-size:14px; font-weight:700; color:#3c3c43; }
.me-box { background:#fff; border-radius:16px; overflow:hidden; }
.me-row { width:100%; min-height:60px; border:0; border-bottom:1px solid #F6F7F9; background:#fff; padding:10px 16px; display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; text-align:left; color:#14161A; font-family:inherit; box-sizing:border-box; }
.me-row:last-child { border-bottom:0; }
.me-row:active { background:#f8fafc; }
.me-row-static { cursor:default; }
.me-row.warn { background:#fff7ed; }
.me-row.warn .me-row-sub { color:#9a3412; }
.me-row-txt { display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; }
.me-row-label { font-size:15px; }
.me-row-sub { font-size:13px; color:#3c3c43; }
.me-row-right { flex-shrink:0; display:flex; align-items:center; gap:6px; }
.me-warn-btn { font-size:13px; font-weight:700; color:#c2410c; }
.me-val { font-size:14px; color:#3c3c43; }
.me-badge { background:#f1f5f9; color:#5B616E; border:1px solid #e2e8f0; font-size:12px; font-weight:700; padding:3px 10px; border-radius:999px; }
.me-seg { background:#efeff4; border-radius:12px; padding:3px; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:2px; }
.me-seg .setting-opt-btn { min-height:38px; border:0; border-radius:10px; background:transparent; color:#3c3c43; font-size:14px; font-weight:500; cursor:pointer; }
.me-seg .setting-opt-btn.active { background:#fff; color:#14161A; font-weight:700; box-shadow:0 1px 3px rgba(0,0,0,0.12); }
.me-logout { min-height:56px; }
.me-foot { text-align:center; font-size:12px; color:#3c3c43; padding-top:6px; }
.me-foot button { border:0; background:none; color:inherit; font-size:12px; padding:6px 2px; cursor:pointer; }

/* ── 긴급 지원 (전체 화면) ── */
.sos-header { justify-content:space-between; padding-left:16px; }
.sos-wrap { padding:14px 16px 28px; display:flex; flex-direction:column; gap:14px; background:#F6F7F9; }
.sos-info { background:#fff; border-radius:16px; padding:14px 16px; display:flex; flex-direction:column; gap:4px; }
.sos-info-h { font-size:12.5px; font-weight:700; color:#3c3c43; }
.sos-info-main { font-size:15px; font-weight:700; color:#14161A; }
.sos-info-sub { font-size:13px; color:#3c3c43; }
#sos-call { display:flex; flex-direction:column; gap:8px; }
.sos-call { min-height:64px; border:0; border-radius:18px; background:#dc2626; color:#fff; font-size:18px; font-weight:800; display:flex; align-items:center; justify-content:center; gap:10px; text-decoration:none; box-shadow:0 8px 20px rgba(220,38,38,0.28); padding:0 16px; text-align:center; }
.sos-call.sub { min-height:50px; font-size:15px; background:#fff; color:#b91c1c; border:1px solid #fecaca; box-shadow:none; }
.sos-call.none, .sos-call:disabled { word-break:keep-all; background:#fff; color:#3c3c43; border:1px solid #E6E7EB; box-shadow:none; font-size:14px; font-weight:600; line-height:1.5; padding:14px 16px; }
.sos-box { background:#fff; border-radius:18px; padding:16px; display:flex; flex-direction:column; gap:12px; }
.sos-box h2 { margin:0; font-size:17px; font-weight:800; color:#14161A; }
.sos-hint { font-size:13px; color:#3c3c43; margin-top:-6px; }
.sos-types { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:8px; }
.sos-types button { min-height:48px; border:1px solid #E6E7EB; background:#fff; color:#14161A; border-radius:12px; font-size:14px; font-weight:700; cursor:pointer; font-family:inherit; }
.sos-types button.on { border:2px solid #dc2626; background:#fef2f2; color:#991b1b; }
.sos-label { display:flex; flex-direction:column; gap:6px; font-size:13px; color:#3c3c43; }
.sos-label textarea { border:0; border-radius:12px; background:#efeff4; padding:12px; font-size:15px; color:#14161A; resize:none; font-family:inherit; }
.sos-photo { min-height:46px; border:1.5px dashed #d1d1d6; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; color:#3c3c43; cursor:pointer; }
.sos-send { min-height:56px; border:0; border-radius:14px; font-size:16px; font-weight:800; cursor:pointer; font-family:inherit; }
.sos-send.idle { background:#E6E7EB; color:#3c3c43; }
.sos-send.ready { background:#1c1c1e; color:#fff; }
.sos-send.confirm { background:#dc2626; color:#fff; }
.sos-send.sent { background:#ecfdf5; color:#047857; border:1px solid #a7f3d0; font-size:15px; }
.sos-119 { display:flex; align-items:center; justify-content:center; gap:10px; font-size:14px; color:#3c3c43; }
.sos-119 a { min-width:64px; min-height:44px; border-radius:12px; background:#fff; border:1px solid #fecaca; color:#b91c1c; font-weight:800; display:flex; align-items:center; justify-content:center; text-decoration:none; }

/* ── 로드톡 (공지 | 대화) ── */
.talk-head { background:#fff; border-bottom:1px solid #E6E7EB; padding:8px 16px 0; margin-top:var(--header-h); position:sticky; top:var(--header-h); z-index:calc(var(--z-sticky) - 1); }
.talk-title-row { display:flex; align-items:center; justify-content:space-between; min-height:48px; }
.talk-title-row h1 { margin:0; font-size:22px; font-weight:900; color:#14161A; }
.talk-new { width:44px; height:44px; border:0; background:transparent; color:#3B45C4; display:flex; align-items:center; justify-content:center; cursor:pointer; border-radius:12px; }
.talk-tabs { display:flex; gap:22px; }
.talk-tabs button { height:44px; border:0; background:transparent; cursor:pointer; display:flex; align-items:center; gap:6px; font-size:15px; padding:0 2px; border-bottom:3px solid transparent; color:#3c3c43; font-weight:500; font-family:inherit; }
.talk-tabs button.on { border-bottom-color:#3B45C4; color:#14161A; font-weight:700; }
.talk-badge { min-width:20px; height:20px; border-radius:10px; background:#dc2626; color:#fff; font-size:12px; font-weight:700; display:inline-flex; align-items:center; justify-content:center; padding:0 5px; box-sizing:border-box; flex-shrink:0; }
.talk-body { padding:14px 16px 28px; display:flex; flex-direction:column; gap:12px; background:#F6F7F9; }
.talk-card { background:#fff; border-radius:16px; padding:14px 16px; display:flex; flex-direction:column; gap:6px; }
.talk-card.urgent.need { border:2px solid #dc2626; background:#fff; }
.talk-card-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.talk-tag { font-size:12px; font-weight:700; padding:2px 8px; border-radius:6px; background:#EEF0FD; color:#2B338F; }
.talk-card.urgent .talk-tag { background:#dc2626; color:#fff; }
.talk-when { font-size:12.5px; color:#3c3c43; }
.talk-card h2 { margin:2px 0 0; font-size:16px; font-weight:800; color:#14161A; }
.talk-card p { margin:0; font-size:14px; color:#3c3c43; line-height:1.55; word-break:break-word; }
.talk-card-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:4px; font-size:12.5px; color:#3c3c43; }
.talk-ack { min-height:40px; padding:0 14px; border:0; border-radius:10px; background:#dc2626; color:#fff; font-size:14px; font-weight:700; cursor:pointer; flex-shrink:0; }
.talk-acked { font-size:12.5px; font-weight:700; color:#047857; background:#ecfdf5; border:1px solid #a7f3d0; padding:4px 10px; border-radius:8px; }
.talk-more { min-height:46px; border:1px solid #E6E7EB; background:#fff; border-radius:12px; font-size:14px; font-weight:700; color:#2B338F; cursor:pointer; }
.talk-empty { text-align:center; color:#3c3c43; font-size:14px; padding:36px 12px; line-height:1.6; }
.talk-rooms { list-style:none; margin:0; padding:0; background:#fff; border-radius:16px; overflow:hidden; }
.talk-room { width:100%; min-height:72px; border:0; border-bottom:1px solid #F6F7F9; background:#fff; padding:12px 14px; display:flex; align-items:center; gap:12px; cursor:pointer; text-align:left; font-family:inherit; }
.talk-rooms li:last-child .talk-room { border-bottom:0; }
.talk-av { width:44px; height:44px; border-radius:14px; color:#fff; font-size:16px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.talk-room-main { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.talk-room-top { display:flex; justify-content:space-between; gap:8px; }
.talk-room-top b { font-size:15px; color:#14161A; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.talk-room-top small { font-size:12px; color:#3c3c43; flex-shrink:0; }
.talk-room-prev { font-size:13.5px; color:#3c3c43; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ── 홈: 담당 아티스트 버튼 · 내 일정/본사 전체 · + 버튼 ── */
.home-filters { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0 0 10px; }
.hf-artist, .hf-add { min-height:40px; padding:0 12px; border:1px solid #d1d1d6; border-radius:999px; background:#fff; color:#14161A; font-size:14px; font-weight:700; display:inline-flex; align-items:center; gap:6px; cursor:pointer; max-width:100%; }
.hf-add { background:#3B45C4; border-color:#3B45C4; color:#fff; }
.hf-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; display:inline-block; }
.hf-none { font-size:13.5px; color:#3c3c43; }
.hf-scope { display:flex; background:#E6E7EB; border-radius:999px; padding:3px; }
.hf-scope button { min-height:34px; padding:0 12px; border:0; border-radius:999px; font-size:13px; cursor:pointer; background:transparent; color:#3c3c43; font-weight:500; white-space:nowrap; }
.hf-scope button.on { background:#fff; color:#14161A; font-weight:700; box-shadow:0 1px 3px rgba(0,0,0,0.1); }
.hf-pick { display:flex; align-items:center; gap:10px; min-height:48px; padding:0 14px; border:1px solid #E6E7EB; border-radius:12px; background:#fff; font-size:15px; font-weight:700; color:#14161A; cursor:pointer; text-align:left; }
.hf-pick.on { border-color:#3B45C4; background:#EEF0FD; color:#2B338F; }
.home-fab { position:fixed; right:max(16px, calc((100vw - var(--app-w, 100vw)) / 2 + 16px)); bottom:calc(var(--bottom-nav-h, 64px) + var(--nav-safe) + 16px); width:56px; height:56px; border-radius:50%; border:0; background:#3B45C4; color:#fff; box-shadow:0 8px 20px rgba(59, 69, 196,0.35); display:flex; align-items:center; justify-content:center; cursor:pointer; z-index:30; }
.home-fab:active { transform:scale(0.96); }
.home-fab { transition:transform .2s ease, opacity .2s ease; }
.home-fab.away { transform:translateY(24px) scale(.6); opacity:0; pointer-events:none; }
.hf-new { display:none; margin-left:auto; min-height:40px; padding:0 14px; border:0; border-radius:999px; background:#3B45C4; color:#fff; font-size:14px; font-weight:700; cursor:pointer; white-space:nowrap; font-family:inherit; }
@media (max-height:620px), (max-width:340px) { .home-fab { display:none !important; } .hf-new { display:inline-flex; align-items:center; } }
@media (prefers-reduced-motion:reduce) { .home-fab { transition:none; } }
.talk-app .chat-root:not(.conv-open) .chat-list { visibility:hidden; }
/* 내 차량 (개인 매니저) */
.exp-car { width:100%; display:flex; align-items:center; gap:10px; text-align:left; background:var(--bg-card); border:1px solid var(--border-default); border-radius:14px; padding:12px 14px; margin-bottom:12px; cursor:pointer; font:inherit; color:var(--text-100); }
.exp-car > span:first-child { font-size:22px; }
.exp-car-txt { flex:1; min-width:0; display:flex; flex-direction:column; }
.exp-car-txt b { font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.exp-car-txt small { font-size:12.5px; color:var(--text-400); margin-top:2px; }
.veh-card { background:var(--bg-card); border:1px solid var(--border-default); border-radius:16px; padding:16px; margin-bottom:16px; }
.veh-top { display:flex; align-items:center; gap:12px; }
.veh-ico { font-size:30px; line-height:1; }
.veh-name { flex:1; min-width:0; display:flex; flex-direction:column; }
.veh-name b { font-size:18px; color:var(--text-100); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.veh-plate { display:inline-block; align-self:flex-start; margin-top:4px; font-size:14px; font-weight:800; letter-spacing:.5px; color:var(--text-200); background:var(--bg-input); border:1px solid var(--border-default); border-radius:6px; padding:2px 8px; }
.veh-info { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:14px 0 12px; }
.veh-info div { background:var(--bg-input); border-radius:10px; padding:8px 12px; }
.veh-info dt { font-size:12px; color:var(--text-400); }
.veh-info dd { margin:2px 0 0; font-size:14.5px; font-weight:700; color:var(--text-100); }
.veh-call { display:flex; align-items:center; justify-content:center; gap:6px; flex-wrap:wrap; width:100%; min-height:48px; border-radius:12px; background:#fef2f2; border:1px solid #fecaca; color:#b91c1c; font-size:15px; font-weight:800; text-decoration:none; cursor:pointer; font-family:inherit; }
.veh-call small { font-weight:600; opacity:.8; }
.veh-call.none { background:#F5F6FE; border:1px dashed #B9C0F0; color:#3B45C4; font-size:14.5px; font-weight:700; padding:8px 12px; flex-direction:column; gap:1px; }
.veh-call.none small { font-size:12.5px; color:var(--text-400); opacity:1; }
.veh-empty { display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; padding:8px 0; color:var(--text-400); font-size:13.5px; }
.veh-empty b { color:var(--text-100); font-size:16px; }
.veh-empty .btn-primary { margin-top:6px; }
.veh-cost-h { display:flex; align-items:center; justify-content:space-between; margin:0 2px 10px; }
.veh-cost-h h2 { font-size:16px; font-weight:800; color:var(--text-100); margin:0; }
.veh-quick { display:grid; grid-template-columns:repeat(4, 1fr); gap:8px; margin-bottom:12px; }
.veh-quick button { display:flex; flex-direction:column; align-items:center; gap:4px; min-height:64px; justify-content:center; background:var(--bg-card); border:1px solid var(--border-default); border-radius:12px; font-size:12.5px; font-weight:700; color:var(--text-200); cursor:pointer; font-family:inherit; }
.veh-quick button span { font-size:20px; }
.veh-paid { font-size:12px; font-weight:800; color:#3B45C4; background:#EEF0FD; border-radius:999px; padding:3px 9px; }
#screen-vehicle .exp-month { margin-bottom:10px; }
.exp-amt .exp-st { display: block; font-size: 12px; font-weight: 800; text-align: right; margin-top: 2px; }
.exp-st.ok { color: #047857; } .exp-st.bad { color: #b91c1c; }
.exp-info small.exp-bad { color: #b91c1c; }

/* 위치 정보 동의 · 내역 */
.loc-c { display:flex; flex-direction:column; gap:12px; text-align:left; }
.loc-why { margin:0; font-size:14px; font-weight:700; color:#14161A; line-height:1.5; }
.loc-dl { margin:0; display:flex; flex-direction:column; gap:8px; }
.loc-dl > div { background:#F6F7F9; border-radius:12px; padding:10px 12px; }
.loc-dl dt { font-size:12px; font-weight:800; color:#3B45C4; margin-bottom:2px; }
.loc-dl dd { margin:0; font-size:13.5px; color:#1c1c1e; line-height:1.5; }
.loc-link { font-size:13px; color:#3B45C4; font-weight:700; text-decoration:none; }
.loc-btns { display:flex; gap:8px; }
.loc-btns button { flex:1; min-height:48px; border-radius:12px; font:inherit; font-size:15px; font-weight:800; cursor:pointer; border:1px solid #d1d1d6; background:#fff; color:#1c1c1e; }
.loc-btns .loc-yes { background:#3B45C4; border-color:#3B45C4; color:#fff; }
.loc-st { display:flex; flex-direction:column; gap:2px; background:#F6F7F9; border-radius:12px; padding:12px 14px; }
.loc-st b { font-size:16px; } .loc-st.on b { color:#047857; }
.loc-st span { font-size:13px; color:#636366; }
.loc-h { margin:6px 0 0; font-size:13px; color:#636366; }
.loc-log { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; max-height:220px; overflow:auto; }
.loc-log li { display:grid; grid-template-columns:72px 1fr; gap:8px; padding:8px 0; border-bottom:1px solid #E6E7EB; font-size:13px; }
.loc-log li span { min-width:0; }
.loc-log small { display:block; color:#8e8e93; font-size:12px; }
.loc-log .loc-t { color:#8e8e93; font-variant-numeric:tabular-nums; }
.loc-log .loc-empty { display:block; color:#8e8e93; border:0; }
.sos-loc-btn { margin-left:6px; border:1px solid #fecaca; background:#fff; color:#b91c1c; border-radius:999px; padding:0 14px; min-height:40px; font:inherit; font-size:13.5px; font-weight:700; cursor:pointer; white-space:nowrap; }

/* =========================================
   v3 심플 디자인 (2026-11-10 시안 '로드플래너 심플 UI 제안')
   강조색 하나(남색) · 회색 · 주황은 지연에만 · 빨강은 긴급에만
   ========================================= */
.top-header { background:#FFFFFF; border-bottom:1px solid #E6E7EB; backdrop-filter:none; -webkit-backdrop-filter:none; padding:0 8px 0 12px; }
.top-brand { color:#14161A; gap:10px; }
.top-brand-icon { width:30px; height:30px; border-radius:8px; flex-shrink:0; display:block; }
.top-brand-text { font-size:16px; font-weight:700; color:#14161A; letter-spacing:-0.3px; }
.top-brand-stack .top-user-name { color:#5B616E; font-size:12px; font-weight:500; }
.top-brand-stack .top-user-name.hq-ok::before { background:#1F7A4C; }
.top-acts { display:flex; align-items:center; gap:2px; flex-shrink:0; }
.top-bell { color:#14161A; }
.top-sos { height:36px; padding:0 12px; margin-left:2px; border:1px solid #E8C9C4; background:#FFFFFF; color:#A1271B; border-radius:10px; font:inherit; font-size:13.5px; font-weight:700; cursor:pointer; }
.top-sos[hidden] { display:none; }
.top-sos:active { background:#FBEDEB; }

.bottom-nav { border-top:1px solid #E6E7EB; box-shadow:none; }
.bnav-item { font-size:12.5px; font-weight:600; color:#6B7180; gap:3px; }
.bnav-item svg { width:22px; height:22px; }
.bnav-item.active { color:#3B45C4; }
.bnav-ai .bnav-ai-ico { display:none; }

/* 위: 이번 주 한 줄 */
.wk { background:#FFFFFF; border-bottom:1px solid #E6E7EB; padding:8px 12px 10px; flex-shrink:0; }
.wk-head { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:0 4px 6px; }
.wk-head b { font-size:15px; font-weight:700; color:#14161A; }
.wk-arrows { display:flex; align-items:center; gap:2px; }
.wk-arrows button { min-width:40px; height:36px; border:0; background:transparent; color:#4A4F5A; border-radius:9px; display:flex; align-items:center; justify-content:center; cursor:pointer; font:inherit; }
.wk-arrows .wk-today { min-width:auto; padding:0 10px; font-size:13px; font-weight:600; color:#3B45C4; border:1px solid #E6E7EB; }
.wk-days { display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:4px; }
.wk-days .v-cal-day { height:58px; border:0; border-radius:12px; background:transparent; color:#14161A; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; cursor:pointer; font:inherit; padding:0; }
.wk-days .v-cal-day .wk-w { font-size:12.5px; font-weight:500; color:#6B7180; }
.wk-days .v-cal-day .wk-n { font-family:var(--font-mono); font-size:16px; font-weight:600; }
.wk-days .v-cal-day .wk-dot { width:4px; height:4px; border-radius:50%; background:transparent; }
.wk-days .v-cal-day .wk-dot.on { background:#3B45C4; }
.wk-days .v-cal-day.sun .wk-w { color:#A1271B; }
.wk-days .v-cal-day.sat .wk-w { color:#3B45C4; }
.wk-days .v-cal-day.past .wk-n { color:#7A808C; }
.wk-days .v-cal-day.today { box-shadow:inset 0 0 0 1.5px #3B45C4; }
.wk-days .v-cal-day.selected { background:#3B45C4; }
.wk-days .v-cal-day.selected .wk-w, .wk-days .v-cal-day.selected .wk-n { color:#FFFFFF; }
.wk-days .v-cal-day.selected .wk-dot.on { background:#FFFFFF; }

/* 보기 바꾸기 */
.seg { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:4px; background:#ECEDF0; border-radius:12px; padding:3px; margin:0 0 12px; }
.seg button { height:38px; border:0; border-radius:9px; background:transparent; color:#4A4F5A; font:inherit; font-size:14px; font-weight:600; cursor:pointer; }
.seg button.on { background:#FFFFFF; color:#14161A; font-weight:700; box-shadow:0 1px 2px rgba(20,22,26,0.08); }

/* 지금 할 일 카드 */
.now-card { background:#FFFFFF; border:1px solid #E6E7EB; border-radius:16px; padding:16px; margin:0 0 14px; display:flex; flex-direction:column; gap:10px; color:#14161A; }
.now-card.late { border-color:#E3A15C; box-shadow:inset 0 0 0 1px #E3A15C; }
.nc-top { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.nc-kicker { font-size:12.5px; font-weight:600; color:#3B45C4; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.now-card.late .nc-kicker { color:#4A4F5A; }
.now-late { font-size:12.5px; font-weight:700; background:#FDF1E3; color:#8A4205; padding:3px 10px; border-radius:999px; flex-shrink:0; }
.nc-main { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.nc-time { font-family:var(--font-mono); font-size:32px; font-weight:600; letter-spacing:-1px; line-height:1.1; }
.nc-time small { font-family:var(--font-sans); font-size:13px; font-weight:600; color:#6B7180; letter-spacing:0; margin-right:4px; }
.nc-name { font-size:19px; font-weight:700; line-height:1.3; min-width:0; }
.nc-dest { font-size:13.5px; color:#5B616E; line-height:1.5; }
.nc-acts { display:flex; gap:8px; }
.nc-btn { flex:1; border:1px solid #D5D8DF; background:#FFFFFF; color:#14161A; }
.nc-btn.pri { border-color:#3B45C4; background:#3B45C4; color:#FFFFFF; }
.nc-btn.moving { border-color:#E3A15C; color:#8A4205; background:#FFFFFF; }
.nc-wait { flex:1; text-align:center; font-size:13.5px; font-weight:600; color:#5B616E; padding:12px 0; background:#F6F7F9; border-radius:12px; }
.nc-navs { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:8px; }
.nc-nav { height:40px; border:1px solid #E6E7EB; background:#F6F7F9; color:#14161A; border-radius:10px; font:inherit; font-size:13.5px; font-weight:600; display:flex; align-items:center; justify-content:center; gap:7px; cursor:pointer; }
.nc-sq { width:10px; height:10px; border-radius:3px; display:inline-block; }
.nc-contact { display:flex; gap:8px; }
.nc-contact .nc-tel { flex:1; }
.nc-contact .nc-sms { flex:0 0 96px; background:#fff; color:#3B45C4; border-color:#D5D9F7; font-family:inherit; cursor:pointer; font-weight:700; }
.nc-tel { min-height:40px; border:1px solid #E6E7EB; border-radius:10px; color:#14161A; text-decoration:none; font-size:13.5px; font-weight:600; display:flex; align-items:center; justify-content:center; }

/* 동선 단계 줄 */
.rs { display:grid; grid-template-columns:50px 16px minmax(0, 1fr); gap:8px; position:relative; }
.rs-time { padding-top:12px; display:flex; flex-direction:column; align-items:flex-end; gap:2px; }
.rs-time b { font-family:var(--font-mono); font-size:14px; font-weight:600; color:#14161A; }
.rs-time small { font-size:12px; font-weight:700; color:#3B45C4; white-space:nowrap; }
.rs-rail { position:relative; display:flex; justify-content:center; }
.rs-dot { position:relative; z-index:1; width:10px; height:10px; border-radius:50%; margin-top:16px; border:2px solid #C9CDD5; background:#FFFFFF; box-sizing:border-box; }
.rs-line { position:absolute; top:28px; bottom:-6px; left:50%; width:2px; margin-left:-1px; background:#E6E7EB; }
.rs-body { background:#FFFFFF; border:1px solid #E6E7EB; border-radius:14px; padding:12px 14px; margin:0 0 10px; display:flex; flex-direction:column; gap:4px; min-width:0; }
.rs-head { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.rs-tag { font-size:12px; font-weight:600; color:#5B616E; }
.rs-done { font-size:12px; font-weight:600; color:#1A6640; background:#E8F4EC; padding:1px 8px; border-radius:999px; }
.rs-moving { font-size:12px; font-weight:700; color:#2B338F; background:#EEF0FD; padding:1px 8px; border-radius:999px; }
.rs-title { font-size:15px; font-weight:700; color:#14161A; line-height:1.4; overflow-wrap:anywhere; }
.rs-desc { font-size:12.5px; color:#5B616E; line-height:1.5; }
.rs-acts { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:6px; }
.rs-navs { display:flex; gap:6px; margin-left:auto; }
.rs-btn { min-height:36px; padding:0 12px; border:1px solid #D5D8DF; background:#FFFFFF; color:#4A4F5A; border-radius:9px; font:inherit; font-size:13px; font-weight:600; cursor:pointer; white-space:nowrap; }
.rs-btn.ghost { border-color:#E6E7EB; background:#F6F7F9; color:#14161A; }
.rs-btn.on-move { border-color:#3B45C4; color:#2B338F; background:#EEF0FD; }
.rs-btn.on-done { border-color:#1F7A4C; color:#1A6640; background:#E8F4EC; }
.rs-wait { font-size:12px; font-weight:600; color:#6B7180; }
.rs.done .rs-dot { background:#C9CDD5; border-color:#C9CDD5; }
.rs.done .rs-title { color:#9AA0AC; text-decoration:line-through; }
.rs.done .rs-time b { color:#6B7280; }
.rs.moving .rs-dot { background:#3B45C4; border-color:#3B45C4; box-shadow:0 0 0 4px #E3E6FA; }
.rs.moving .rs-body { border-color:#B4BBF0; }
.rs.main .rs-dot { background:#14161A; border-color:#14161A; }
.rs.step-past { opacity:0.55; }
.rs-fold { display:flex; align-items:center; gap:10px; width:100%; margin:0 0 12px; padding:0 14px; min-height:44px; border-radius:12px; border:1px solid #E6E7EB; background:#FFFFFF; color:#4A4F5A; font:inherit; font-size:14px; font-weight:600; cursor:pointer; text-align:left; }
.rs-fold-dot { width:8px; height:8px; border-radius:50%; background:#1F7A4C; }
.rs-fold-more { color:#3B45C4; font-size:13px; }
.home-note { background:#FFFFFF; border:1px solid #E6E7EB; border-radius:14px; padding:12px 14px; margin:0 0 14px; font-size:14px; font-weight:600; color:#5B616E; }
.home-note.ok { color:#1A6640; background:#E8F4EC; border-color:#CFE6D7; text-align:center; }

/* 일정 없음 · 내일 미리보기 */
.tl-empty { background:#FFFFFF; border:1px solid #E6E7EB; border-radius:16px; padding:36px 20px; display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; }
.tl-empty b { font-size:16px; font-weight:700; color:#14161A; }
.tl-empty span { font-size:13.5px; color:#5B616E; }
.tl-empty button { margin-top:10px; height:44px; padding:0 18px; border:0; border-radius:12px; background:#3B45C4; color:#FFFFFF; font:inherit; font-size:14.5px; font-weight:700; cursor:pointer; }
.tomorrow-peek { width:100%; margin-top:12px; display:flex; align-items:center; gap:10px; background:#FFFFFF; border:1px solid #E6E7EB; border-radius:12px; padding:0 14px; min-height:48px; cursor:pointer; font:inherit; text-align:left; }
.tomorrow-peek .tp-k { font-size:13px; font-weight:600; color:#5B616E; flex-shrink:0; }
.tomorrow-peek .tp-v { flex:1; font-size:14px; font-variant-numeric:tabular-nums; font-weight:600; color:#14161A; min-width:0; }
.tomorrow-peek .tp-go { font-size:13px; font-weight:600; color:#3B45C4; flex-shrink:0; }

/* 담당 아티스트 · 범위 */
.hf-artist, .hf-add { border-color:#D5D8DF; font-weight:600; }
.hf-scope { background:#ECEDF0; }
.home-fab { box-shadow:0 6px 16px rgba(20,22,26,0.18); }

/* 아래 메뉴 가운데: 로드비서 입체 마이크 */
.bnav-item.bnav-ai { position:relative; gap:2px; }
.bnav-orb { width:40px; height:40px; margin-top:-8px; border-radius:50%; display:block; box-shadow:0 6px 14px rgba(43,51,143,.35), 0 2px 4px rgba(43,51,143,.25), inset 0 -2px 4px rgba(0,0,0,.18); background:#FFFFFF; transition:transform .15s ease; }
.bnav-orb svg { width:40px; height:40px; display:block; }
body.ads-on .bnav-orb { margin-top:-2px; }   /* 광고 띠와 겹치지 않게 */
.bnav-item.bnav-ai:active .bnav-orb { transform:scale(.94); }
.bnav-item.bnav-ai.active .bnav-orb { box-shadow:0 0 0 3px #FFFFFF, 0 0 0 5px #D5D9F7, 0 6px 14px rgba(43,51,143,.35); }
.bnav-ai-label { font-size:12.5px; font-weight:800; letter-spacing:-0.3px; color:#2B338F; }
.bnav-ai-label em { font-style:normal; color:#14161A; }
.bnav-item.bnav-ai.active .bnav-ai-label { color:#3B45C4; }

/* 캘린더 화면 */
.cv-wrap { padding:calc(var(--header-h) + 8px) 14px calc(var(--bottom-nav-h, 64px) + 24px); background:#F6F7F9; min-height:100dvh; box-sizing:border-box; overflow-y:auto; height:100dvh; }
.cv-head { display:flex; align-items:center; justify-content:space-between; padding:6px 4px 10px; }
.cv-head h1 { margin:0; font-size:19px; font-weight:700; color:#14161A; }
.cv-arrows { display:flex; align-items:center; gap:2px; }
.cv-arrows button { min-width:40px; height:36px; border:0; background:transparent; color:#4A4F5A; border-radius:9px; display:flex; align-items:center; justify-content:center; cursor:pointer; font:inherit; }
.cv-arrows .cv-today { min-width:auto; padding:0 10px; font-size:13px; font-weight:600; color:#3B45C4; border:1px solid #E6E7EB; background:#FFFFFF; }
.cv-week, .cv-grid { display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:4px; }
.cv-week { background:#FFFFFF; border:1px solid #E6E7EB; border-bottom:0; border-radius:14px 14px 0 0; padding:8px 6px 4px; }
.cv-week span { text-align:center; font-size:12.5px; font-weight:600; color:#6B7180; }
.cv-week .sun { color:#A1271B; } .cv-week .sat { color:#3B45C4; }
.cv-grid { background:#FFFFFF; border:1px solid #E6E7EB; border-top:0; border-radius:0 0 14px 14px; padding:2px 6px 8px; }
.cv-cell { height:52px; border:0; border-radius:10px; background:transparent; display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:4px; padding:6px 0 0; cursor:pointer; font:inherit; color:#14161A; }
.cv-cell.blank { cursor:default; }
.cv-n { font-family:var(--font-mono); font-size:15px; font-weight:600; width:28px; height:22px; line-height:22px; border-radius:7px; }
.cv-cell.sun .cv-n { color:#A1271B; } .cv-cell.sat .cv-n { color:#3B45C4; }
.cv-cell.past .cv-n { color:#7A808C; }
.cv-cell.today .cv-n { box-shadow:inset 0 0 0 1.5px #3B45C4; }
.cv-cell.sel .cv-n { background:#3B45C4; color:#FFFFFF; }
.cv-dots { display:flex; gap:3px; align-items:center; height:6px; }
.cv-dots i { width:6px; height:6px; border-radius:50%; display:block; }
.cv-dots b { font-size:12px; line-height:6px; color:#6B7180; }
.cv-list { margin-top:14px; background:#FFFFFF; border:1px solid #E6E7EB; border-radius:14px; padding:6px 14px 14px; }
.cv-list-h { display:flex; justify-content:space-between; align-items:center; padding:10px 0 6px; }
.cv-list-h b { font-size:15px; } .cv-list-h span { font-size:12.5px; color:#5B616E; }
.cv-row { width:100%; display:grid; grid-template-columns:44px 4px minmax(0, 1fr) 18px; gap:10px; align-items:center; padding:12px 0; border:0; border-top:1px solid #EFF0F3; background:transparent; text-align:left; cursor:pointer; font:inherit; color:#9AA0AC; }
.cv-t { font-family:var(--font-mono); font-size:14px; font-weight:600; color:#14161A; }
.cv-bar { width:4px; height:34px; border-radius:2px; }
.cv-body { display:flex; flex-direction:column; min-width:0; }
.cv-body b { font-size:14.5px; color:#14161A; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cv-body small { font-size:12.5px; color:#5B616E; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cv-empty { padding:18px 0 6px; text-align:center; font-size:14px; color:#5B616E; display:flex; flex-direction:column; align-items:center; gap:10px; border-top:1px solid #EFF0F3; }
.cv-empty button, .cv-go { height:44px; padding:0 18px; border-radius:12px; font:inherit; font-size:14.5px; font-weight:700; cursor:pointer; }
.cv-empty button { border:1px solid #D5D8DF; background:#FFFFFF; color:#14161A; }
.cv-go { width:100%; margin-top:10px; border:0; background:#3B45C4; color:#FFFFFF; }

/* 지금 할 일 카드: 시각 옆에 장소 이름·주소 (칸 높이 줄이기) */
.now-card { padding:14px; gap:10px; }
.nc-main { display:grid; grid-template-columns:auto minmax(0, 1fr); align-items:center; gap:14px; flex-wrap:nowrap; }
.nc-time { font-size:30px; display:flex; flex-direction:column; align-items:flex-start; }
.nc-time small { margin:0 0 2px; }
.nc-info { display:flex; flex-direction:column; gap:2px; min-width:0; padding-left:14px; border-left:1px solid #E6E7EB; }
.nc-name { font-size:16px; font-weight:700; line-height:1.35; overflow-wrap:anywhere; }
.nc-info .nc-dest { font-size:12.5px; line-height:1.4; color:#5B616E; }
.now-card .nc-btn, .now-card .nc-acts button { min-height:44px !important; }
.nc-wait { padding:10px 0; font-size:13px; }
.nc-nav { height:38px; }

/* 광고 (무료 개인 매니저만): 아래 메뉴 바로 위 띠 광고 + 가끔 전면 광고 */
body.ads-on { --bottom-nav-h: 122px; }
body.ads-on .bottom-nav { padding-top:58px; }
.ad-banner { position:fixed; left:50%; transform:translateX(-50%); bottom:calc(64px + var(--nav-safe)); width:100%; max-width:var(--app-w); height:58px; z-index:calc(var(--z-sticky, 100) + 1); background:#F6F7F9; border-top:1px solid #E6E7EB; display:flex; align-items:center; justify-content:center; gap:8px; padding:0 10px; box-sizing:border-box; }
.ad-tag { flex-shrink:0; font-size:12px; font-weight:700; color:#6B7180; border:1px solid #D5D8DF; border-radius:4px; padding:1px 5px; background:#FFFFFF; }
.ad-house { flex:1; min-width:0; height:46px; display:flex; align-items:center; gap:10px; padding:0 12px; border:1px solid #E6E7EB; border-radius:10px; background:#FFFFFF; cursor:pointer; font:inherit; text-align:left; }
.ad-house-t { flex:1; min-width:0; display:flex; flex-direction:column; line-height:1.3; }
.ad-house-t b { font-size:13.5px; color:#14161A; }
.ad-house-t small { font-size:12.5px; color:#5B616E; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ad-house-go { font-size:13px; font-weight:700; color:#3B45C4; flex-shrink:0; }
.ad-full { position:fixed; inset:0; z-index:100000; background:rgba(20,22,26,.6); display:flex; align-items:center; justify-content:center; padding:20px; }
.ad-full-card { width:min(340px, 100%); background:#FFFFFF; border-radius:18px; padding:14px; display:flex; flex-direction:column; gap:12px; box-shadow:0 20px 50px rgba(0,0,0,.3); }
.ad-full-top { display:flex; align-items:center; justify-content:space-between; }
.ad-close { height:34px; padding:0 12px; border:1px solid #D5D8DF; background:#FFFFFF; border-radius:999px; font:inherit; font-size:13px; font-weight:700; color:#14161A; cursor:pointer; }
.ad-close:disabled { color:#9AA0AC; cursor:default; }
.ad-full-body { min-height:250px; display:flex; align-items:center; justify-content:center; background:#F6F7F9; border-radius:12px; }
.ad-house-box { display:flex; flex-direction:column; align-items:center; gap:8px; padding:24px 18px; text-align:center; }
.ad-house-box img { border-radius:12px; }
.ad-house-box b { font-size:18px; color:#14161A; }
.ad-house-box p { margin:0; font-size:13.5px; color:#4A4F5A; line-height:1.55; }
.ad-house-price { font-family:var(--font-mono); font-size:15px; font-weight:600; color:#3B45C4; }
.ad-full-up { height:46px; border:0; border-radius:12px; background:#3B45C4; color:#FFFFFF; font:inherit; font-size:15px; font-weight:700; cursor:pointer; }

/* 지금 할 일 카드 더 줄이기 (2026-11-10): 장소 이름 크게 · 시각 작게 · 위아래 간격 좁게 */
.seg { margin-bottom:8px; }
.home-filters { margin-bottom:8px; }
.now-card { padding:12px 14px; gap:8px; }
.nc-time { font-size:24px; letter-spacing:-0.8px; }
.nc-info { padding-left:12px; gap:1px; }
.nc-name { font-size:18px; line-height:1.3; }
.nc-info .nc-dest { font-size:13px; }
.nc-acts button, .now-card .nc-btn { min-height:42px !important; }
.nc-nav { height:36px; }

/* 오늘 화면: 차에 타면 자동 길안내 홍보 줄 */
.an-promo { position:relative; margin:0 0 10px; }
.an-promo-go { display:flex; align-items:center; gap:10px; padding:10px 46px 10px 12px; border-radius:14px; background:#F5F6FE; border:1px solid #D5D9F7; color:#14161A; text-decoration:none; }
.an-promo-ic { flex:none; width:34px; height:34px; border-radius:10px; display:grid; place-items:center; background:#3B45C4; color:#fff; }
.an-promo-t { flex:1; min-width:0; display:flex; flex-direction:column; gap:1px; }
.an-promo-t b { font-size:14.5px; font-weight:700; letter-spacing:-0.3px; word-break:keep-all; }
.an-promo-t small { font-size:12.5px; color:#4B5263; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.an-promo-btn { flex:none; height:32px; padding:0 10px; border-radius:9px; background:#3B45C4; color:#fff; font-size:13px; font-weight:700; display:grid; place-items:center; white-space:nowrap; }
.an-promo-x { position:absolute; top:50%; right:2px; transform:translateY(-50%); width:40px; height:40px; border:0; background:transparent; color:#5B616E; font-size:14px; cursor:pointer; }

/* 앱 안 자동 길안내 가이드: 위 시계 줄은 비우고, 아래 메뉴는 보이게 (bottom은 메뉴 높이를 재서 넣음) */
#an-guide{position:fixed;top:0;bottom:calc(var(--bottom-nav-h, 64px) + var(--nav-safe, 0px));left:50%;transform:translateX(-50%);width:100%;max-width:var(--app-w, 100vw);z-index:99990;background:#fff;display:flex;flex-direction:column}
#an-guide .ang-bar{flex:none;display:flex;align-items:center;gap:4px;padding:calc(env(safe-area-inset-top, 0px) + 6px) 12px 6px 4px;border-bottom:1px solid #e5e7eb;background:#fff}
#an-guide .ang-bar b{font-size:17px;font-weight:800;color:#14161A}
#an-guide .ang-back{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;background:none;color:#14161A;cursor:pointer}
#an-guide iframe{flex:1;width:100%;border:0;display:block}
body.guide-open #bottom-nav{z-index:99995}
body.guide-open .ad-banner,body.guide-open .home-fab{display:none!important}

/* 퇴근합시다 (홈) */
.we-btn{width:100%;display:flex;align-items:center;gap:12px;margin:10px 0 0;padding:14px;border:0;border-radius:18px;background:#1E2266;color:#fff;text-align:left;cursor:pointer;font:inherit}
.we-ic{width:44px;height:44px;border-radius:13px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;flex:none}
.we-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.we-t b{font-size:17px;font-weight:800}
.we-t small{font-size:13px;color:rgba(255,255,255,.78)}
.we-go{flex:none;height:38px;padding:0 16px;border-radius:12px;background:#fff;color:#1E2266;font-weight:800;font-size:15px;display:flex;align-items:center}
.we-done{display:flex;align-items:center;gap:10px;margin:10px 0 0;padding:12px 14px;border:1px solid #D5D9F7;border-radius:16px;background:#F5F6FE}
.we-done-ic{width:30px;height:30px;border-radius:50%;background:#3B45C4;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;flex:none}
.we-done-t{flex:1;min-width:0;display:flex;flex-direction:column}
.we-done-t b{font-size:15px;font-weight:800;color:#14161A}
.we-done-t small{font-size:13px;color:#4B5263}
.we-done-go{flex:none;height:34px;padding:0 12px;border-radius:10px;border:1px solid #D5D9F7;background:#fff;color:#3B45C4;font-weight:700;font-size:13.5px;cursor:pointer}
.we-lead{margin:0 0 12px;font-size:14.5px;line-height:1.55;color:#4B5263}
.modal-list .we-opt,.we-opt{width:100%;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px;padding:14px!important;margin:0 0 8px!important;min-height:0!important;height:auto!important;border:1.5px solid #E3E6EE;border-radius:16px;background:#fff;text-align:left!important;cursor:pointer;font:inherit;color:#14161A;box-shadow:none}
.we-opt-ic{width:44px;height:44px;border-radius:12px;background:#F1F3FB;display:flex;align-items:center;justify-content:center;font-size:22px;flex:none}
.we-opt-t{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.we-opt-t b{font-size:17px;font-weight:800}
.we-opt-t small{font-size:13px;color:#5A6172;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.we-opt.empty .we-opt-t small{color:#B45309}
.we-opt-go{font-size:22px;color:#9AA1B2;flex:none}
/* 일정 겹침 → 본사 조정 요청 */
.adj-wrap { margin: 0 0 12px; display: flex; flex-direction: column; gap: 8px; }
.adj-card { background: #fff; border: 1.5px solid #fca5a5; border-radius: 14px; padding: 12px 14px; }
.adj-card.done { border-color: #a7f3d0; background: #f0fdf4; }
.adj-k { font-size: 13.5px; font-weight: 800; color: #b91c1c; margin-bottom: 6px; }
.adj-card.done .adj-k { color: #047857; }
.adj-l { font-size: 14px; color: #334155; line-height: 1.5; word-break: keep-all; }
.adj-l b { color: #14161A; }
.adj-btn { margin-top: 10px; width: 100%; min-height: 44px; border: 0; border-radius: 10px; background: #dc2626; color: #fff; font-size: 15px; font-weight: 800; cursor: pointer; font-family: inherit; }
.adj-stage { display: block; margin-top: 10px; text-align: center; font-size: 14px; font-weight: 800; color: #c2410c; background: #fff7ed; border-radius: 10px; padding: 10px; }
.adj-stage.seen { color: #2B338F; background: #EEF0FD; }
