/* ===== MeetAgent — 전문가용 미팅 앱 디자인 시스템 (라이트 기본 / 다크 토글) ===== */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f2f4f7;
  --surface-3: #e9edf3;
  --elevated: #ffffff;
  --text: #101828;
  --text-2: #475467;
  --muted: #98a2b3;
  --border: #e7eaee;
  --border-2: #d5d9e0;
  --brand: #635bff;
  --brand-strong: #4f46e5;
  --brand-soft: #eef0ff;
  --brand-ring: rgba(99, 91, 255, .22);
  --danger: #e5484d;
  --danger-soft: #fdecec;
  --success: #2e9d5b;
  --success-soft: #e8f7ee;
  --warning: #d99311;
  --live: #e5484d;
  --stage: #0b0f18;
  --sh-1: 0 1px 2px rgba(16,24,40,.05);
  --sh-2: 0 4px 12px rgba(16,24,40,.08);
  --sh-3: 0 12px 32px rgba(16,24,40,.14);
  --r: 12px; --r-sm: 9px; --r-lg: 18px;
  --sidebar-w: 250px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", "Malgun Gothic", "Helvetica Neue", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
:root[data-theme="dark"] {
  --bg: #0a0d14;
  --surface: #12151e;
  --surface-2: #1a1f2b;
  --surface-3: #232a37;
  --elevated: #161b26;
  --text: #eaecf0;
  --text-2: #98a2b3;
  --muted: #667085;
  --border: #232a37;
  --border-2: #303849;
  --brand: #8b85ff;
  --brand-strong: #a5a0ff;
  --brand-soft: #1b1c3a;
  --brand-ring: rgba(139,133,255,.25);
  --danger: #f2555a;
  --danger-soft: #2a1518;
  --success: #3ec77e;
  --success-soft: #10281c;
  --stage: #05070c;
  --sh-1: 0 1px 2px rgba(0,0,0,.4);
  --sh-2: 0 6px 18px rgba(0,0,0,.5);
  --sh-3: 0 16px 44px rgba(0,0,0,.6);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.55; -webkit-font-smoothing: antialiased; letter-spacing: -.006em;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { margin: 0; line-height: 1.22; letter-spacing: -.02em; font-weight: 700; }
svg { width: 20px; height: 20px; display: block; flex: 0 0 auto; }
.muted { color: var(--muted); }
.sm { font-size: 12.5px; }
.spacer { flex: 1; }
.hide { display: none !important; }
::selection { background: var(--brand-ring); }

/* 공통 스피너 */
.spin { width: 15px; height: 15px; border-radius: 50%; flex: 0 0 auto;
  border: 2px solid currentColor; border-right-color: transparent; opacity: .8; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- buttons ---------- */
.btn, button.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--r-sm); padding: 9px 15px; color: #fff;
  background: var(--brand); transition: background .15s, box-shadow .15s, border-color .15s, transform .05s, color .15s; }
.btn svg { width: 18px; height: 18px; }
.btn:hover { background: var(--brand-strong); text-decoration: none; }
.btn:active { transform: translateY(.5px); }
.btn:disabled { opacity: .5; cursor: default; }
.btn:focus-visible, .iconbtn:focus-visible, .tab:focus-visible, .panel-tab:focus-visible,
.dock-btn:focus-visible, .lchip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn.secondary { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn.secondary:hover { background: var(--surface-2); }
.btn.ghost { background: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--surface-2); color: var(--text); }
.btn.danger { background: var(--danger); }
.btn.danger:hover { background: #cf3b40; }
.btn.block { width: 100%; }
.btn.lg { padding: 12px 22px; font-size: 15px; }
.btn.sm { padding: 6px 11px; font-size: 12.5px; border-radius: 8px; }
.btn.sm svg { width: 15px; height: 15px; }
.btn.ok { background: var(--success); }
/* 진행 중: 라벨을 숨기고 스피너를 얹는다 */
.btn.loading .lbl, .btn.loading span { visibility: hidden; }
.btn.loading::after { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.85); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.secondary.loading::after { border-color: var(--text-2); border-right-color: transparent; }

/* legacy bare buttons default to primary */
button:not(.btn):not(.iconbtn):not(.tab):not(.langbtn):not(.dock-btn):not(.panel-tab):not(.linkbtn):not(.cap-tool):not(.bg-opt):not(.pv-btn):not(.t-pin):not(.tstamp):not(.sug):not(.seg):not(.msg-copy):not(.sw):not(.lchip):not(.lmenu-item) {
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; color: #fff; background: var(--brand);
  border: 1px solid transparent; border-radius: var(--r-sm); padding: 9px 15px; }
button.secondary { background: var(--surface) !important; color: var(--text) !important; border-color: var(--border-2) !important; }

.iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  padding: 0; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text-2); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s; }
.iconbtn:hover { background: var(--surface-2); color: var(--text); }
.iconbtn.on { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.iconbtn.danger:hover { background: var(--danger-soft); color: var(--danger); }

.langseg { display: inline-flex; border: 1px solid var(--border); border-radius: 9px; overflow: hidden; background: var(--surface); }
.langbtn { background: transparent; border: 0; padding: 6px 11px; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.langbtn.active { background: var(--brand-soft); color: var(--brand); }
.linkbtn { background: none; border: 0; color: var(--brand); padding: 0; font-weight: 600; font-size: 13.5px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; }
.linkbtn:disabled { color: var(--muted); opacity: .65; cursor: default; }
.linkbtn svg { width: 15px; height: 15px; }

/* ---------- forms ---------- */
.field { margin-bottom: 15px; text-align: left; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 10px 13px; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3.5px var(--brand-ring); }
input:disabled, select:disabled { opacity: .6; cursor: not-allowed; }
select { appearance: none; -webkit-appearance: none; padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 51%, calc(100% - 12px) 51%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.error { color: var(--danger); font-size: 13px; min-height: 18px; margin: 2px 0; }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; text-align: left; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--brand); }
.check label { font-size: 13.5px; color: var(--text); margin: 0; font-weight: 500; cursor: pointer; }
.check a { text-decoration: underline; }

/* ---------- cards / badges / avatars ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.badge.live { background: var(--danger-soft); color: var(--danger); }
.badge.live svg { width: 9px; height: 9px; animation: pulse 1.4s infinite; }
.badge.ended { background: var(--surface-2); color: var(--muted); }
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; width: 34px; height: 34px; flex: 0 0 auto; }
.avatar.sm { width: 26px; height: 26px; font-size: 11px; }
.avatar.lg { width: 78px; height: 78px; font-size: 27px; }

/* ---------- toast ---------- */
.toast-host { position: fixed; z-index: 200; left: 50%; transform: translateX(-50%); bottom: 24px;
  display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 9px; max-width: min(92vw, 460px);
  background: var(--elevated); color: var(--text); border: 1px solid var(--border); box-shadow: var(--sh-3);
  border-radius: 11px; padding: 11px 15px; font-size: 13.5px; font-weight: 500; cursor: pointer;
  opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.toast.in { opacity: 1; transform: none; }
.toast .t-ic { display: flex; color: var(--brand); }
.toast .t-ic svg { width: 17px; height: 17px; }
.toast.success .t-ic { color: var(--success); }
.toast.error .t-ic { color: var(--danger); }
.toast .t-msg { min-width: 0; }

/* ---------- modal ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px);
  display: grid; place-items: center; z-index: 120; padding: 20px; opacity: 0; transition: opacity .16s; }
.modal-back.in { opacity: 1; }
.modal { width: 100%; max-width: 420px; padding: 0; transform: translateY(8px); transition: transform .16s; box-shadow: var(--sh-3); }
.modal-back.in .modal { transform: none; }
.modal.wide { max-width: 620px; }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 16px; flex: 1; min-width: 0; }
.modal-head .iconbtn { width: 32px; height: 32px; border-color: transparent; }
.modal-body { padding: 18px; }
.modal-msg { margin: 0 0 4px; color: var(--text-2); font-size: 14px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 18px; border-top: 1px solid var(--border); }
.ilabel { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin: 14px 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.ilabel:first-child { margin-top: 0; }
.copyrow { display: flex; gap: 8px; }
.copyrow input { flex: 1; font-family: var(--mono); font-size: 13px; background: var(--surface-2); }
.invite-more { display: flex; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }

/* ========== APP SHELL ========== */
.app { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-w); flex: 0 0 var(--sidebar-w); background: var(--surface);
  border-right: 1px solid var(--border); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.sb-brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px 14px; font-weight: 800; font-size: 19px; }
.sb-brand .mark, .brand .mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg,#635bff,#9333ea); display: grid; place-items: center; color: #fff; }
.sb-brand .mark svg, .brand .mark svg { width: 18px; height: 18px; }
.sb-brand .dot, .brand .dot { color: var(--brand); }
.sb-cta { padding: 4px 14px 12px; }
.sb-nav { padding: 6px 12px; display: flex; flex-direction: column; gap: 2px; }
.sb-section { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 10px 6px; }
.navitem { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; color: var(--text-2);
  font-size: 14px; font-weight: 600; cursor: pointer; border: 0; background: transparent; width: 100%; text-align: left; }
.navitem:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.navitem.active { background: var(--brand-soft); color: var(--brand); }
.navitem svg { width: 19px; height: 19px; }
.sb-spacer { flex: 1; }
.sb-foot { border-top: 1px solid var(--border); padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.sb-tools { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.usercard { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; }
.usercard:hover { background: var(--surface-2); }
.usercard .u-meta { min-width: 0; }
.usercard .u-name { font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.usercard .u-mail { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.appbar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 24px; background: color-mix(in srgb, var(--surface) 97%, transparent);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.appbar h1 { font-size: 17px; font-weight: 700; }
.appbar .sub { color: var(--muted); font-size: 13px; }
.appbar-actions { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; }
.content { padding: 26px 24px 60px; max-width: 1120px; width: 100%; margin: 0 auto; }
.page-head { margin-bottom: 22px; }
.page-head h2 { font-size: 22px; }
.page-head p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.detail-head { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.detail-head > div:first-child { flex: 1; min-width: 240px; }
.head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.back-link { margin-bottom: 14px; padding-left: 8px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.section { margin-top: 28px; }
.section-title { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin-bottom: 12px; flex-wrap: wrap; }
.section-title > svg, .section-title > span[data-icon] svg { width: 18px; height: 18px; color: var(--muted); }
.sub-section-title { font-size: 13px; font-weight: 700; color: var(--muted); margin: 20px 0 10px; }

/* dashboard action cards */
.action-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.action-card { display: flex; flex-direction: column; gap: 12px; }
.action-card .ac-head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.action-card .ac-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.action-card .row { display: flex; gap: 9px; }
.action-card .row input { flex: 1; min-width: 0; }

/* tabs */
.tabs { display: inline-flex; gap: 2px; background: var(--surface-2); padding: 3px; border-radius: 10px; }
.tab { border: 0; background: transparent; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--text-2); border-radius: 8px; cursor: pointer; }
.tab.active { background: var(--surface); color: var(--text); box-shadow: var(--sh-1); }

/* meeting list */
.mlist { display: flex; flex-direction: column; gap: 10px; }
.mrow { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 16px; transition: border-color .15s, box-shadow .15s; }
.mrow:hover { border-color: var(--border-2); box-shadow: var(--sh-2); }
.mrow .m-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--text-2); }
.mrow .m-ico.live { background: var(--danger-soft); color: var(--danger); }
.mrow .m-body { min-width: 0; flex: 1; }
.mrow .m-title { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mrow .m-title a { color: inherit; }
.mrow .m-title a:hover { color: var(--brand); text-decoration: none; }
.mrow .m-meta { color: var(--muted); font-size: 12.5px; margin-top: 3px; display: flex; gap: 12px; flex-wrap: wrap; }
.mrow .m-meta span { display: inline-flex; align-items: center; gap: 4px; }
.mrow .m-meta svg { width: 14px; height: 14px; }
.mrow .m-actions { display: flex; gap: 8px; flex: 0 0 auto; align-items: center; }
/* 로딩 스켈레톤 */
.mrow.skeleton { pointer-events: none; }
.sk { display: block; background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 37%, var(--surface-2) 63%);
  background-size: 400% 100%; animation: shimmer 1.3s ease infinite; border-radius: 8px; }
.sk-ico { width: 40px; height: 40px; border-radius: 10px; flex: 0 0 auto; }
.sk-line { height: 12px; margin: 5px 0; }
.sk-line.w40 { width: 40%; } .sk-line.w70 { width: 70%; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

/* labels */
.label-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.lchip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border);
  color: var(--text-2); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.lchip:hover { background: var(--surface-2); }
.lchip.active { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.lchip svg { width: 15px; height: 15px; }
.lchip .ldot { width: 9px; height: 9px; border-radius: 50%; background: var(--lc, var(--brand)); flex: 0 0 auto; }
.lchip .lcount { font-size: 11px; color: var(--muted); }
.lchip .ldel { margin-left: 2px; font-size: 15px; line-height: 1; color: var(--muted); border-radius: 4px; padding: 0 3px; }
.lchip .ldel:hover { background: var(--danger-soft); color: var(--danger); }
.lchip.mini { padding: 2px 9px; font-size: 11.5px; font-weight: 600; border: 0; background: var(--surface-2); }
.lchip.add { border-style: dashed; }
.lmenu { position: absolute; z-index: 60; min-width: 190px; padding: 6px; box-shadow: var(--sh-3); }
.lmenu-item { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; border: 0; background: transparent;
  color: var(--text); padding: 9px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.lmenu-item:hover { background: var(--surface-2); }
.lmenu-item.sel { color: var(--brand); }
.lmenu-item svg { width: 16px; height: 16px; }
.lmenu-item .ldot { width: 11px; height: 11px; border-radius: 50%; background: var(--lc, var(--brand)); }
.lmenu-sep { height: 1px; background: var(--border); margin: 5px 0; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.sw { width: 30px; height: 30px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; padding: 0; }
.sw.sel { border-color: var(--text); box-shadow: 0 0 0 2px var(--surface) inset; }

.empty { text-align: center; padding: 54px 20px; color: var(--muted); }
.empty.sm { padding: 28px 16px; }
.empty .e-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; margin: 0 auto 14px; color: var(--muted); }
.empty svg { width: 26px; height: 26px; }

/* ========== AUTH ========== */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-aside { background: linear-gradient(160deg, #4f46e5 0%, #7c3aed 55%, #9333ea 100%); color: #fff; padding: 56px;
  display: flex; flex-direction: column; justify-content: space-between; }
.auth-aside .brand { font-weight: 800; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.auth-aside .mark { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.auth-aside .aside-body { margin-top: auto; }
.auth-aside h2 { font-size: 30px; line-height: 1.25; font-weight: 800; }
.auth-aside p { color: rgba(255,255,255,.82); margin-top: 14px; font-size: 15px; }
.auth-aside .pts { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.auth-aside .pt { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: rgba(255,255,255,.92); }
.auth-aside .pt .pc { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; position: relative; }
.auth-tools { position: absolute; top: 20px; right: 24px; display: flex; gap: 8px; align-items: center; }
.auth-card { width: 100%; max-width: 392px; }
.auth-brand { display: none; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; margin-bottom: 22px; }
.auth-card h1 { font-size: 24px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 22px; word-break: break-all; }
.notice { display: flex; align-items: center; gap: 8px; background: var(--brand-soft); color: var(--brand);
  border-radius: 10px; padding: 11px 13px; font-size: 13px; margin-bottom: 16px; }
.notice svg { width: 16px; height: 16px; }
.notice.legal { display: block; background: var(--surface-2); color: var(--text-2); font-size: 12.5px; line-height: 1.6; max-height: 190px; overflow-y: auto; }
.muted-note { color: var(--muted); font-size: 12.5px; margin-top: 16px; }
.linkbtn.back { margin-bottom: 14px; color: var(--text-2); }
.linkbtn.back:hover { color: var(--brand); }

/* 6자리 인증번호 입력 */
.otp { display: flex; gap: 8px; }
.otp input { flex: 1; min-width: 0; text-align: center; font-size: 21px; font-weight: 700; font-family: var(--mono);
  padding: 12px 0; border-radius: 10px; caret-color: var(--brand); }
.otp input:not(:placeholder-shown) { border-color: var(--brand); }
.otp.shake { animation: shake .4s; }
@keyframes shake { 10%,90% { transform: translateX(-2px); } 30%,70% { transform: translateX(4px); } 50% { transform: translateX(-4px); } }
.newuser-head { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--brand);
  margin: 20px 0 14px; padding-top: 18px; border-top: 1px solid var(--border); }
.newuser-head svg { width: 16px; height: 16px; }
.consent { background: var(--surface-2); border-radius: 10px; padding: 6px 12px; margin-bottom: 12px; }
.consent .check.all { border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 4px; }
.resend-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; font-size: 12.5px; }

/* ========== LANDING ========== */
.lp-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; max-width: 1160px; margin: 0 auto; }
.lp-nav .brand { font-weight: 800; font-size: 20px; display: flex; align-items: center; gap: 9px; }
.lp-nav .brand .mark { width: 28px; height: 28px; border-radius: 8px; }
.lp-nav .right { display: flex; align-items: center; gap: 10px; }
.hero { text-align: center; padding: 68px 24px 30px; max-width: 860px; margin: 0 auto; }
.hero .pill { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 6px 13px; border-radius: 999px; margin-bottom: 22px; }
.hero .pill svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 850; letter-spacing: -.035em; }
.hero h1 .grad { background: linear-gradient(120deg,#635bff,#9333ea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--text-2); font-size: clamp(15px,2.3vw,19px); margin: 20px auto 0; max-width: 600px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.features { max-width: 1080px; margin: 60px auto 0; padding: 0 24px 70px; display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 16px; text-align: left; }
.features .card .f-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 14px; }
.features .card h3 { font-size: 16px; margin-bottom: 7px; }
.features .card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ========== 입장 전 대기실 ========== */
.prejoin { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
.pj-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.pj-top .brand { font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 9px; }
.pj-top .brand .mark { width: 27px; height: 27px; border-radius: 8px; }
.pj-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 32px;
  align-items: center; padding: 8px 32px 40px; max-width: 1180px; width: 100%; margin: 0 auto; }
.pj-stage { min-width: 0; }
.pj-preview { position: relative; aspect-ratio: 16/9; background: var(--stage); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-2); }
.pj-preview video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.pv-off { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: var(--stage); color: rgba(255,255,255,.6); font-size: 13.5px; }
.pv-status { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.75); font-size: 13.5px; }
.pv-status:empty, .pv-status.hide { display: none; }
.pv-dock { position: absolute; left: 50%; transform: translateX(-50%); bottom: 16px; display: flex; align-items: center; gap: 10px;
  background: rgba(12,16,24,.62); backdrop-filter: blur(10px); border-radius: 999px; padding: 8px 14px; }
.pv-btn { width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.16); color: #fff; transition: background .15s; }
.pv-btn:hover { background: rgba(255,255,255,.26); }
.pv-btn.off { background: var(--danger); color: #fff; }
.pv-btn:disabled { opacity: .45; cursor: not-allowed; }
.pv-meter { width: 54px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.22); overflow: hidden; }
.pv-meter i { display: block; height: 100%; width: 100%; background: var(--success); transform: scaleX(0); transform-origin: left; transition: transform .08s linear; }
.pj-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-1); }
.pj-head h1 { font-size: 21px; margin-bottom: 10px; }
.pj-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.pj-meta .chip { display: inline-flex; align-items: center; gap: 5px; background: var(--surface-2); color: var(--text-2);
  padding: 4px 10px; border-radius: 8px; font-size: 12.5px; font-weight: 600; }
.pj-meta .chip svg { width: 14px; height: 14px; }
.pj-meta .chip:empty { display: none; }
.pj-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pj-fields .field { margin-bottom: 13px; }

/* ========== MEETING ROOM ========== */
.room { display: flex; flex-direction: column; height: 100vh; height: 100dvh; background: var(--bg); }
.room-top { display: flex; align-items: center; gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.room-top .rt-left { min-width: 0; }
.room-top .rt-title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-top .rt-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; margin-top: 2px; flex-wrap: wrap; }
.room-top .chip { display: inline-flex; align-items: center; gap: 5px; background: var(--surface-2); padding: 3px 9px; border-radius: 8px; font-weight: 600; }
.room-top .chip svg { width: 13px; height: 13px; }
.room-top .chip.rec { background: var(--danger-soft); color: var(--danger); }
.room-top .chip.rec svg { animation: pulse 1.5s infinite; }
.rt-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.conn-banner { display: flex; align-items: center; justify-content: center; gap: 9px; padding: 7px;
  background: var(--warning); color: #fff; font-size: 13px; font-weight: 600; }
.conn-banner .spin { border-color: #fff; border-right-color: transparent; }

.room-body { flex: 1; display: flex; min-height: 0; }
.stage { flex: 1; display: flex; flex-direction: column; min-width: 0; position: relative; padding: 14px 14px 96px; }
.video-grid { flex: 1; min-height: 0; gap: 10px; }
.video-grid.mode-grid { display: grid; align-content: center; justify-items: stretch;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
/* 타일은 하프 컬럼 2칸을 차지한다 (마지막 줄 가운데 정렬을 위해 그리드를 2배로 쪼갰다) */
.video-grid.mode-grid .tile { grid-column: span 2; width: 100%; max-height: 100%; }
.video-grid.mode-grid[data-count="1"] { grid-template-columns: repeat(2, minmax(0, min(50%, 550px))); justify-content: center; }
/* 발표자 레이아웃: 주 화면 + 오른쪽 썸네일 스트립 */
.video-grid.mode-speaker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, 17%);
  grid-auto-rows: min-content; align-content: start; overflow-y: auto; }
.video-grid.mode-speaker .tile { grid-column: 2; }
.video-grid.mode-speaker .tile.focus { grid-column: 1; grid-row: 1 / -1; align-self: stretch; aspect-ratio: auto; }

.tile { position: relative; background: var(--stage); border-radius: 14px; overflow: hidden; aspect-ratio: 16/9;
  box-shadow: var(--sh-1); min-height: 0; }
.tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile.mirror video { transform: scaleX(-1); }
.tile.sharing video { object-fit: contain; background: #000; }
.tile.cam-off video { display: none; }
.tile .t-off { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: var(--stage); }
.tile.cam-off .t-off { display: flex; }
.tile .t-off .avatar { background: rgba(255,255,255,.12); color: #fff; }
.tile .t-bar { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 56px);
  display: flex; align-items: center; gap: 6px; background: rgba(0,0,0,.58); color: #fff;
  font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 8px; }
.tile .t-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .t-mic { display: flex; }
.tile .t-mic:empty { display: none; }
.tile .t-mic svg { width: 14px; height: 14px; }
.tile .t-mic.off { color: #ff8a8d; }
.tile .t-pin { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 8px; border: 0;
  background: rgba(0,0,0,.45); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .15s; }
.tile:hover .t-pin, .tile.pinned .t-pin { opacity: 1; }
.tile.pinned .t-pin { background: var(--brand); }
.tile .t-pin svg { width: 15px; height: 15px; }
.tile.speaking { box-shadow: 0 0 0 3px var(--brand); }

/* floating control dock */
.dock { position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: calc(100% - 20px);
  background: color-mix(in srgb, var(--surface) 93%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--border);
  border-radius: 16px; padding: 8px; box-shadow: var(--sh-3); z-index: 20; }
.dock-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 58px; height: 54px; padding: 0 10px; border: 0; border-radius: 12px; background: transparent; color: var(--text);
  font-size: 10.5px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.dock-btn svg { width: 22px; height: 22px; }
.dock-btn:hover { background: var(--surface-2); }
.dock-btn.on { color: var(--brand); }
.dock-btn.off { color: var(--danger); background: var(--danger-soft); }
.dock-btn.danger { color: #fff; background: var(--danger); }
.dock-btn.danger:hover { background: #cf3b40; }
/* 전원 종료는 되돌릴 수 없으므로 '나가기'와 시각적으로 구분한다 */
.dock-btn.danger-outline { color: var(--danger); background: transparent; box-shadow: inset 0 0 0 1px var(--danger); }
.dock-btn.danger-outline:hover { background: var(--danger-soft); }
.dock-sep { width: 1px; align-self: stretch; background: var(--border); margin: 6px 3px; }

/* right panel */
.panel { width: 340px; flex: 0 0 340px; border-left: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; min-height: 0; }
.panel-tabs { display: flex; gap: 2px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.panel-tab { position: relative; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 4px;
  border: 0; background: transparent; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--text-2); cursor: pointer; }
.panel-tab svg { width: 16px; height: 16px; }
.panel-tab.active { background: var(--brand-soft); color: var(--brand); }
.dotbadge { position: absolute; top: 2px; right: 6px; min-width: 16px; height: 16px; border-radius: 999px;
  background: var(--danger); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.panel-body { flex: 1; overflow: hidden; }
.pane { display: flex; flex-direction: column; min-height: 0; padding: 0; }
.pane.hide { display: none; }
.pane-scroll { flex: 1; overflow-y: auto; padding: 14px; min-height: 0; overscroll-behavior: contain; }

.sub-item { margin-bottom: 13px; }
.sub-item .sub-head { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.sub-item .who { font-weight: 700; font-size: 13px; }
.sub-item .when { color: var(--muted); font-size: 11px; }
.sub-item .txt { font-size: 14.5px; margin-top: 2px; }
.sub-item.interim .txt { color: var(--muted); font-style: italic; }
.sub-item .orig { color: var(--muted); font-size: 12px; margin-top: 2px; }
.sub-sys { color: var(--muted); font-size: 12px; text-align: center; padding: 6px 0; }

.chat-item { margin-bottom: 12px; }
.chat-item .c-head { display: flex; align-items: baseline; gap: 7px; }
.chat-item .who { font-weight: 700; font-size: 12.5px; }
.chat-item .when { color: var(--muted); font-size: 11px; }
.chat-item .c-txt { font-size: 14px; margin-top: 3px; padding: 8px 11px; border-radius: 10px; background: var(--surface-2);
  white-space: pre-wrap; word-break: break-word; }
.chat-item.mine .c-txt { background: var(--brand-soft); color: var(--brand-strong); }
:root[data-theme="dark"] .chat-item.mine .c-txt { color: var(--text); }

.plist-item { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 10px; }
.plist-item.speaking { background: var(--brand-soft); }
.plist-item .p-meta { min-width: 0; flex: 1; }
.plist-item .pn { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plist-item .pt { font-size: 11.5px; color: var(--muted); }
.plist-item .pt:empty { display: none; }
.plist-item .p-ic { color: var(--muted); display: flex; }
.plist-item .p-ic svg { width: 16px; height: 16px; }
.plist-item .p-ic.off { color: var(--danger); }

.cap-input { display: flex; gap: 8px; padding: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border); background: var(--surface); flex: 0 0 auto; }
.cap-input input { flex: 1; min-width: 0; padding: 9px 12px; }
.cap-input .iconbtn { flex: 0 0 auto; }
.cap-tools { display: flex; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--border); flex: 0 0 auto; }
.cap-tool { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); background: transparent;
  color: var(--text-2); border-radius: 999px; padding: 5px 11px; font-size: 12px; font-weight: 600; cursor: pointer; }
.cap-tool svg { width: 14px; height: 14px; }
.cap-tool:hover { background: var(--surface-2); }
.cap-tool.on { background: var(--brand-soft); color: var(--brand); border-color: transparent; }

.bg-menu { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 30; display: flex; flex-direction: column; gap: 2px; min-width: 180px; padding: 6px; box-shadow: var(--sh-3); }
.bg-menu.hide { display: none; }
.bg-opt { width: 100%; text-align: left; border: 0; background: transparent; color: var(--text);
  padding: 9px 10px; border-radius: 8px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.bg-opt:hover { background: var(--surface-2); }
.bg-opt.active { color: var(--brand); background: var(--brand-soft); }

/* ========== DETAIL ========== */
.player { padding: 0; overflow: hidden; }
.player video { width: 100%; display: block; background: var(--stage); max-height: 66vh; }
.player-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 11px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--border); }
.player-bar .pb-info { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--danger); }
.player-bar .pb-info svg { width: 14px; height: 14px; }
.player-bar .pb-sep { opacity: .5; }
.seg-tabs { display: inline-flex; gap: 4px; }
.seg { border: 1px solid var(--border); background: var(--surface); color: var(--text-2); border-radius: 8px;
  padding: 5px 11px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.seg.active { background: var(--brand-soft); color: var(--brand); border-color: transparent; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.videos .card { padding: 12px; }
.videos video { width: 100%; border-radius: 10px; background: var(--stage); display: block; }
.videos .who { font-size: 13px; color: var(--muted); margin-top: 9px; display: flex; align-items: center; gap: 7px; }
.video-fallback { padding: 24px; text-align: center; color: var(--muted); font-size: 13.5px; }

.tr-search { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; position: relative; }
.tr-search > span[data-icon] { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.tr-search > span[data-icon] svg { width: 16px; height: 16px; }
.tr-search input { padding-left: 38px; }
.tr-search .sm { flex: 0 0 auto; }
.transcript { max-height: 480px; overflow-y: auto; }
.transcript .sub-item { padding: 8px 10px; border-radius: 9px; margin-bottom: 4px; }
.transcript .sub-item.playing { background: var(--brand-soft); }
.transcript mark { background: var(--warning); color: #fff; border-radius: 3px; padding: 0 2px; }
.tstamp { display: inline-flex; align-items: center; gap: 4px; border: 0; background: var(--surface-2); color: var(--text-2);
  font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; cursor: pointer; }
.tstamp:hover { background: var(--brand-soft); color: var(--brand); }
.tstamp svg { width: 10px; height: 10px; }

.pending { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.chatbox { display: flex; flex-direction: column; height: 480px; padding: 0; overflow: hidden; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.msg { position: relative; max-width: 88%; padding: 11px 15px; border-radius: 14px; font-size: 14.5px; word-break: break-word; }
.msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; white-space: pre-wrap; }
.msg.ai { align-self: flex-start; background: var(--surface-2); color: var(--text); border-bottom-left-radius: 4px; }
.msg.ai.err { display: flex; align-items: center; gap: 8px; background: var(--danger-soft); color: var(--danger); }
.msg.ai.err svg { width: 17px; height: 17px; }
.msg p { margin: 6px 0; } .msg p:first-child { margin-top: 0; } .msg p:last-child { margin-bottom: 0; }
.msg ul, .msg ol { margin: 6px 0; padding-left: 20px; }
.msg li { margin: 3px 0; }
.msg h3, .msg h4, .msg h5 { font-size: 14.5px; margin: 12px 0 5px; }
.msg h3:first-child, .msg h4:first-child { margin-top: 0; }
.msg code { font-family: var(--mono); font-size: .88em; background: rgba(127,127,127,.18); padding: 1px 5px; border-radius: 5px; }
.msg blockquote { margin: 6px 0; padding-left: 10px; border-left: 3px solid var(--border-2); color: var(--text-2); }
.msg-note { margin-top: 8px; font-size: 12px; color: var(--muted); }
.msg-copy { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 7px; border: 0;
  background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .15s; }
.msg.ai:hover .msg-copy { opacity: 1; }
.msg-copy:hover { background: var(--surface-3); color: var(--text); }
.msg-copy svg { width: 14px; height: 14px; }
/* 스트리밍 중 표시: 점 3개 → 커서 */
.dots { display: inline-flex; gap: 4px; padding: 3px 0; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .18s; } .dots i:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%,60%,100% { opacity: .25; } 30% { opacity: 1; } }
.caret { display: inline-block; width: 7px; height: 15px; margin-left: 2px; vertical-align: -2px;
  background: var(--brand); border-radius: 1px; animation: blink 1s steps(1) infinite; }
.chat-suggest { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 18px 14px; }
.sug { border: 1px solid var(--border); background: var(--surface); color: var(--text-2); border-radius: 999px;
  padding: 6px 13px; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.sug:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.chat-input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; min-width: 0; }
.chat-input .btn { padding: 10px 14px; }

/* AI 회의록(markdown) */
.md h3 { font-size: 15px; margin: 16px 0 6px; color: var(--text); }
.md h3:first-child { margin-top: 0; }
.md h4, .md h5 { font-size: 13.5px; margin: 12px 0 5px; color: var(--text-2); }
.md p { margin: 6px 0; font-size: 14.5px; }
.md ul, .md ol { margin: 6px 0 10px; padding-left: 20px; }
.md li { font-size: 14.5px; margin: 3px 0; }
.md strong { font-weight: 700; }
.md hr { border: 0; border-top: 1px solid var(--border); margin: 14px 0; }
.md code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); padding: 1px 5px; border-radius: 5px; }
.md blockquote { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--border-2); color: var(--text-2); }

/* ---------- responsive ---------- */
.scrim { display: none; }
@media (max-width: 1080px) {
  .pj-grid { grid-template-columns: 1fr; gap: 20px; align-content: start; padding: 8px 20px 32px; }
  .pj-panel { padding: 20px; }
}
@media (max-width: 900px) {
  .sidebar { position: fixed; left: 0; top: 0; z-index: 50; transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--sh-3); }
  .app.nav-open .sidebar { transform: translateX(0); }
  .app.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 45; }
  .hamburger { display: inline-flex; }
  .content { padding: 20px 16px 50px; }
  .action-cards, .grid-2 { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-brand { display: flex; }
  .mrow { flex-wrap: wrap; }
  .mrow .m-actions { width: 100%; justify-content: flex-end; }
  .chatbox { height: 420px; }
}
@media (max-width: 820px) {
  .room-body { flex-direction: column; }
  .stage { flex: 1 1 55%; min-height: 0; padding-bottom: 88px; }
  .panel { width: 100%; flex: 1 1 45%; min-height: 0; border-left: 0; border-top: 1px solid var(--border); }
  .video-grid.mode-grid { grid-template-columns: 1fr; }
  .video-grid.mode-speaker { grid-template-columns: minmax(0, 1fr) minmax(96px, 22%); }
  .dock-btn { min-width: 50px; }
  .rt-actions .btn .lbl { display: none; }
}
@media (max-width: 540px) {
  .dock { left: 10px; right: 10px; transform: none; justify-content: center; gap: 4px; padding: 7px; }
  .dock-label { display: none; }
  .dock-btn { min-width: 44px; height: 46px; padding: 0 6px; }
  .dock-sep { margin: 5px 1px; }
  .room-top { padding: 8px 12px; }
  .room-top .rt-meta { gap: 6px; }
  .pj-two { grid-template-columns: 1fr; }
  .otp input { font-size: 18px; padding: 10px 0; }
  .toast-host { left: 12px; right: 12px; transform: none; bottom: 12px; }
  .toast { max-width: none; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
