:root {
  color-scheme: light;
  --navy-950: #071427;
  --navy-900: #0b1d35;
  --navy-800: #123252;
  --ink: #132033;
  --muted: #65758a;
  --line: #dce4ee;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --accent: #19b67a;
  --accent-dark: #0c8f5d;
  --accent-soft: #e5f8f0;
  --blue: #3078f0;
  --blue-soft: #eaf2ff;
  --warning: #e69a17;
  --warning-soft: #fff4dc;
  --danger: #dc4c5d;
  --danger-soft: #ffebee;
  --shadow: 0 20px 60px rgba(11, 29, 53, 0.12);
  --shadow-soft: 0 8px 24px rgba(11, 29, 53, 0.08);
  font-family: Inter, Pretendard, "Noto Sans KR", "Malgun Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--surface-soft); }
body { margin: 0; min-height: 100vh; color: var(--ink); background: var(--surface-soft); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.shell { min-height: 100vh; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 28px;
  color: #fff;
  background: rgba(7, 20, 39, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--navy-950);
  background: linear-gradient(135deg, #4be7a9, #16b878);
  box-shadow: 0 8px 24px rgba(25, 182, 122, 0.35);
}
.brand-copy small { display: block; margin-top: 2px; color: #96a8bf; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.version-pill, .status-pill, .role-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.version-pill { color: #aeeed4; background: rgba(25, 182, 122, 0.12); border: 1px solid rgba(75, 231, 169, 0.22); }
.role-pill { color: #dbe6f4; background: rgba(255, 255, 255, 0.08); }

.page { width: min(1480px, calc(100% - 40px)); margin: 0 auto; padding: 34px 0 64px; }
.page.narrow { width: min(1040px, calc(100% - 32px)); }
.hero {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 70px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(75, 231, 169, 0.22), transparent 32%),
    radial-gradient(circle at 15% 85%, rgba(48, 120, 240, 0.18), transparent 36%),
    linear-gradient(135deg, var(--navy-950), #0d2847 68%, #123652);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to left, black, transparent 70%);
}
.hero-content, .hero-visual { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; letter-spacing: -0.055em; }
.hero h1 strong { color: #53e2ab; }
.hero-copy { max-width: 700px; margin: 22px 0 30px; color: #c5d1df; font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 20px; color: #91a5bd; font-size: 13px; }

.remote-card {
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
  transform: rotate(1.5deg);
}
.remote-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: #ccd5e0; }
.remote-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 20px 0; }
.remote-code span { display: grid; place-items: center; aspect-ratio: 0.86; border-radius: 12px; color: var(--navy-900); background: var(--surface-soft); border: 1px solid var(--line); font-size: 28px; font-weight: 900; }
.connection-line { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 800; }
.connection-line::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(25, 182, 122, 0.14); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { cursor: not-allowed; opacity: .5; transform: none; }
.btn-primary { color: #fff; background: var(--accent); box-shadow: 0 10px 24px rgba(25, 182, 122, .22); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-dark { color: #fff; background: var(--navy-900); }
.btn-danger { color: #fff; background: var(--danger); }
.btn-warning { color: #8d5900; background: var(--warning-soft); border-color: #f2d18f; }
.btn-ghost { color: #d9e4f2; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }
.btn-sm { min-height: 34px; padding: 7px 11px; border-radius: 9px; font-size: 12px; }
.btn-block { width: 100%; }

.section { margin-top: 34px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-head h2, .section-head h3 { margin: 0; letter-spacing: -0.035em; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card, .panel, .metric-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}
.feature-card { padding: 24px; }
.feature-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--accent-dark); background: var(--accent-soft); font-size: 20px; font-weight: 900; }
.feature-card h3 { margin: 18px 0 9px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; }

.app-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 22px; align-items: start; }
.sidebar { position: sticky; top: 94px; display: grid; gap: 18px; }
.panel { padding: 22px; }
.panel.flush { padding: 0; overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.panel-head h2, .panel-head h3 { margin: 0; letter-spacing: -0.025em; }
.panel-subtitle { margin: -9px 0 18px; color: var(--muted); font-size: 13px; }
.panel-stack { display: grid; gap: 22px; }

.form-grid { display: grid; gap: 15px; }
.form-row { display: grid; gap: 7px; }
.form-row label, .field-label { color: #34445a; font-size: 13px; font-weight: 800; }
.input, .textarea, .select {
  width: 100%;
  min-height: 45px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfd9e5;
  border-radius: 11px;
  outline: none;
  transition: border .15s ease, box-shadow .15s ease;
}
.textarea { min-height: 94px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(25, 182, 122, .12); }
.checkbox-list { display: grid; gap: 9px; }
.checkbox-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 11px; border-radius: 10px; background: var(--surface-soft); }
.checkbox-item input { margin-top: 2px; accent-color: var(--accent); }
.checkbox-item strong { display: block; font-size: 13px; }
.checkbox-item small { display: block; margin-top: 2px; color: var(--muted); line-height: 1.4; }

.login-wrap { display: grid; place-items: center; min-height: calc(100vh - 72px); padding: 30px; }
.login-card { width: min(440px, 100%); padding: 34px; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.login-card .brand { color: var(--ink); margin-bottom: 28px; }
.login-card h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.04em; }
.login-card > p { margin: 0 0 24px; color: var(--muted); line-height: 1.6; }
.demo-credentials { margin-top: 18px; padding: 13px; border-radius: 12px; color: #62501d; background: var(--warning-soft); font-size: 12px; line-height: 1.65; }

.code-box { padding: 20px; text-align: center; border-radius: 18px; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); color: #fff; }
.code-box .code { margin: 9px 0 5px; font-size: clamp(38px, 5vw, 58px); font-weight: 900; letter-spacing: .18em; text-indent: .18em; }
.code-box .countdown { color: #a9bdd2; font-size: 13px; }
.code-box .actions { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }

.list { display: grid; gap: 10px; }
.session-item { width: 100%; padding: 14px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 13px; }
.session-item:hover, .session-item.active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(25,182,122,.1); }
.session-item-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.session-item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.session-item small { display: block; margin-top: 5px; color: var(--muted); }

.status-pill { border: 1px solid transparent; }
.status-WAITING { color: #2563b5; background: var(--blue-soft); border-color: #cbdcff; }
.status-CUSTOMER_JOINED { color: #8c5b00; background: var(--warning-soft); border-color: #f4d38f; }
.status-ACTIVE { color: var(--accent-dark); background: var(--accent-soft); border-color: #b6ebd6; }
.status-PAUSED { color: #8c5b00; background: var(--warning-soft); border-color: #f4d38f; }
.status-COMPLETED { color: #516174; background: #edf1f5; border-color: #dbe2ea; }
.status-EXPIRED, .status-CANCELLED, .status-REJECTED { color: #9a2f3d; background: var(--danger-soft); border-color: #fac8cf; }

.detail-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px; color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); border-radius: 18px; }
.detail-hero h2 { margin: 6px 0 8px; font-size: 28px; letter-spacing: -0.04em; }
.detail-hero p { margin: 0; color: #b9c9da; line-height: 1.55; }
.detail-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.meta-card { padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.meta-card small { display: block; color: var(--muted); margin-bottom: 5px; }
.meta-card strong { display: block; overflow-wrap: anywhere; }
.permission-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.permission-tag { padding: 6px 9px; color: #25415f; background: #edf4fb; border: 1px solid #d7e5f3; border-radius: 999px; font-size: 12px; font-weight: 800; }

.timeline { position: relative; display: grid; gap: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 12px; min-height: 62px; }
.timeline-marker { position: relative; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.timeline-item:not(:last-child) .timeline-marker::after { content: ""; position: absolute; top: 15px; left: 4px; width: 2px; height: 47px; background: var(--line); }
.timeline-content strong { display: block; font-size: 13px; }
.timeline-content small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.45; }

.transfer-list { display: grid; gap: 10px; }
.transfer-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.transfer-card h4 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.transfer-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.transfer-actions { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.file-picker { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px dashed #b9c7d7; border-radius: 12px; background: var(--surface-soft); }
.file-picker input { min-width: 0; flex: 1; }

.alert { padding: 13px 14px; border-radius: 12px; font-size: 13px; line-height: 1.55; }
.alert-info { color: #1e568e; background: var(--blue-soft); border: 1px solid #cbdcff; }
.alert-warning { color: #77520c; background: var(--warning-soft); border: 1px solid #f2d18f; }
.alert-danger { color: #8f2c39; background: var(--danger-soft); border: 1px solid #fac8cf; }
.alert-success { color: var(--accent-dark); background: var(--accent-soft); border: 1px solid #b6ebd6; }
.error-box { margin-top: 12px; }
.empty { padding: 34px 18px; text-align: center; color: var(--muted); border: 1px dashed #c6d0dc; border-radius: 14px; background: var(--surface-soft); }
.muted { color: var(--muted); }
.small { font-size: 12px; }

.customer-stage { display: grid; place-items: center; min-height: calc(100vh - 142px); }
.customer-card { width: min(720px, 100%); padding: 30px; background: #fff; border: 1px solid var(--line); border-radius: 25px; box-shadow: var(--shadow); }
.customer-card h1 { margin: 0 0 9px; letter-spacing: -0.045em; }
.customer-card > p { color: var(--muted); line-height: 1.65; }
.code-input { font-size: 32px; font-weight: 900; letter-spacing: .22em; text-align: center; text-indent: .22em; }
.consent-box { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-soft); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.live-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; color: var(--accent-dark); background: var(--accent-soft); border: 1px solid #b6ebd6; border-radius: 13px; }
.live-title { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(25, 182, 122, .14); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.75); opacity: .65; } }

.metric-card { padding: 19px; }
.metric-card small { display: block; color: var(--muted); font-weight: 700; }
.metric-card strong { display: block; margin-top: 8px; font-size: 30px; letter-spacing: -0.04em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
th, td { padding: 12px 13px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: top; }
th { color: #4d5e73; background: var(--surface-soft); font-size: 12px; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

.toast-stack { position: fixed; z-index: 100; right: 20px; bottom: 20px; display: grid; gap: 10px; width: min(360px, calc(100% - 40px)); }
.toast { padding: 13px 15px; color: #fff; background: var(--navy-900); border-radius: 12px; box-shadow: var(--shadow); font-size: 13px; animation: toastIn .2s ease; }
.toast.error { background: var(--danger); }
.toast.success { background: var(--accent-dark); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

.footer-note { margin-top: 28px; padding: 17px; text-align: center; color: var(--muted); font-size: 12px; }

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding: 50px; }
  .hero-visual { max-width: 620px; }
  .app-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .meta-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topbar { padding: 0 16px; min-height: 64px; }
  .brand-copy small, .topbar .version-pill { display: none; }
  .page { width: min(100% - 24px, 1480px); padding-top: 18px; }
  .hero { min-height: auto; padding: 36px 24px; border-radius: 22px; }
  .hero-copy { font-size: 16px; }
  .remote-card { transform: none; }
  .grid-3, .grid-4, .sidebar { grid-template-columns: 1fr; }
  .detail-hero { display: grid; }
  .detail-actions { justify-content: flex-start; }
  .meta-grid { grid-template-columns: 1fr; }
  .transfer-card { grid-template-columns: 1fr; }
  .transfer-actions { justify-content: flex-start; }
  .consent-actions { grid-template-columns: 1fr; }
  .login-wrap { padding: 14px; }
  .login-card, .customer-card { padding: 24px 20px; border-radius: 20px; }
}

.compact-top { margin-top: 8px; }
.permission-space { margin-top: 10px; }
.panel-subtitle-reset { margin: 5px 0 0; }


/* NO1REMOTE customer portal */
.customer-portal-body { background: linear-gradient(180deg, #eef4f9 0, #f7f9fc 380px, #f4f7fb 100%); }
.support-page { padding-top: 32px; }
.support-phone { display: flex; align-items: flex-end; gap: 8px; color: #fff; }
.support-phone small { color: #96a8bf; font-size: 11px; font-weight: 700; }
.support-phone strong { font-size: 18px; letter-spacing: .02em; }
.support-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 40px; align-items: center; padding: 42px 46px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(75,231,169,.18), transparent 34%), linear-gradient(135deg, var(--navy-950), #123652); border-radius: 26px; box-shadow: var(--shadow); }
.support-intro h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.12; letter-spacing: -.055em; }
.support-intro h1 strong { color: #53e2ab; }
.support-intro > div > p:last-child { margin: 20px 0 0; color: #c5d1df; line-height: 1.75; font-size: 16px; }
.support-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.support-steps li { display: flex; gap: 13px; align-items: center; padding: 14px 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; }
.support-steps li > span { display: grid; place-items: center; flex: 0 0 34px; height: 34px; color: var(--navy-950); background: #53e2ab; border-radius: 11px; font-weight: 900; }
.support-steps strong, .support-steps small { display: block; }
.support-steps small { margin-top: 3px; color: #aebed0; line-height: 1.4; }
.portal-stage { min-height: auto; padding: 28px 0 0; }
.support-entry-card { width: min(760px, 100%); }
.support-entry-card h2 { margin: 12px 0 8px; font-size: 30px; letter-spacing: -.04em; }
.secure-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; color: var(--accent-dark); background: var(--accent-soft); border: 1px solid #b6ebd6; border-radius: 999px; font-size: 12px; font-weight: 900; }
.secure-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(25,182,122,.12); }
.field-help { margin-top: 5px; color: var(--muted); font-size: 12px; }
.btn-large { min-height: 50px; font-size: 16px; }
.privacy-note { display: grid; gap: 5px; padding: 14px 15px; color: #315273; background: #eef5fb; border: 1px solid #d7e5f3; border-radius: 13px; font-size: 13px; line-height: 1.55; }
.privacy-note strong { color: var(--navy-800); }
.support-footer { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 30px; padding: 20px 8px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.support-footer strong, .support-footer span { display: block; }
.support-footer span { margin-top: 5px; }
.support-footer a { color: var(--navy-800); font-weight: 800; }
@media (max-width: 840px) {
  .support-intro { grid-template-columns: 1fr; padding: 34px 24px; gap: 26px; }
  .support-phone small { display: none; }
}
@media (max-width: 560px) {
  .support-phone strong { font-size: 14px; }
  .support-intro { border-radius: 20px; }
  .support-footer { display: grid; }
}

/* v0.2.0 Windows remote screen prototype */
.remote-panel-head { align-items: flex-start; }
.remote-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 12px; }
.remote-toolbar-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.remote-special-keys .btn { min-width: 46px; }
.remote-stage { position: relative; display: grid; place-items: center; width: 100%; min-height: 430px; overflow: hidden; color: #d9e4ef; background: #070d14; border: 1px solid #203247; border-radius: 16px; outline: none; user-select: none; touch-action: none; }
.remote-stage:focus-visible { box-shadow: 0 0 0 4px rgba(24, 126, 219, .2); border-color: #4d9be5; }
.remote-stage.control-enabled { cursor: crosshair; border-color: #24c68b; box-shadow: inset 0 0 0 2px rgba(36,198,139,.25); }
.remote-stage img { display: block; max-width: 100%; max-height: 76vh; width: auto; height: auto; object-fit: contain; pointer-events: none; }
.remote-placeholder { display: grid; gap: 8px; max-width: 520px; padding: 36px; text-align: center; line-height: 1.55; }
.remote-placeholder strong { color: #fff; font-size: 17px; }
.remote-placeholder span { color: #91a5ba; font-size: 13px; }
.remote-control-badge { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 4; padding: 8px 12px; color: #06271b; background: rgba(83, 226, 171, .94); border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.28); font-size: 12px; font-weight: 900; white-space: nowrap; }
.remote-meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.remote-meta-grid > span { min-width: 0; padding: 11px 12px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 12px; }
.remote-meta-grid small, .remote-meta-grid strong { display: block; }
.remote-meta-grid small { color: var(--muted); font-size: 11px; }
.remote-meta-grid strong { margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.remote-clipboard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 12px; }
.remote-clipboard .textarea { min-height: 76px; }
.remote-stage:fullscreen { width: 100vw; height: 100vh; max-width: none; max-height: none; border: 0; border-radius: 0; }
.remote-stage:fullscreen img { max-width: 100vw; max-height: 100vh; }

@media (max-width: 760px) {
  .remote-stage { min-height: 280px; }
  .remote-meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .remote-clipboard { grid-template-columns: 1fr; }
}
.agent-download-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; color: #153a5e; background: linear-gradient(135deg, #eaf5ff, #eefcf6); border: 1px solid #cfe3f4; border-radius: 14px; }
.agent-download-card strong, .agent-download-card small { display: block; }
.agent-download-card small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.portal-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0 4px; color: var(--muted); font-size: 12px; font-weight: 800; }
.portal-divider::before, .portal-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
@media (max-width: 620px) { .agent-download-card { align-items: stretch; flex-direction: column; } }

.checkbox-item.is-disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.checkbox-item.is-disabled input {
  cursor: not-allowed;
}

.browser-test { padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }
.browser-test summary { padding: 14px 16px; color: #315273; cursor: pointer; font-size: 13px; font-weight: 900; list-style-position: inside; }
.browser-test[open] summary { border-bottom: 1px solid var(--line); background: #f4f7fa; }
.browser-test > form, .browser-test > .portal-divider, .browser-test > .error-box { margin-left: 16px; margin-right: 16px; }
.browser-test > .error-box { margin-bottom: 16px; }

.browser-demo-details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.7);
}

.browser-demo-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--muted);
}


/* v0.2.1 local login recovery */
.password-field { position: relative; }
.password-field .input { padding-right: 68px; }
.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: #eef4f8;
  color: #31445b;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  cursor: pointer;
}
.password-toggle:hover { background: #dde8ef; }
.demo-credentials code { user-select: all; font-weight: 800; }
.demo-fill-button { margin-top: 10px; width: 100%; }
.production-login-note { margin-top: 10px; }

/* v0.4.4 등록 POS 상시연결 */
.registered-device-list { display: grid; gap: 10px; }
.registered-device-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.registered-device-card.online { border-color: #b9e8d5; background: linear-gradient(135deg, #ffffff, #f0fff8); }
.registered-device-copy { min-width: 0; }
.registered-device-copy strong, .registered-device-copy small { display: block; }
.registered-device-copy small { margin-top: 4px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.registered-device-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
@media (max-width: 760px) { .registered-device-card { grid-template-columns: 1fr; } .registered-device-card .btn { width: 100%; } }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.enrollment-details { margin: 12px 0 0; border: 1px dashed var(--line); border-radius: 12px; background: #f9fbfd; }
.enrollment-details summary { padding: 12px 14px; color: var(--navy-800); cursor: pointer; font-size: 13px; font-weight: 900; }
.enrollment-details[open] { padding-bottom: 12px; }
.enrollment-details > form, .enrollment-details > .code-box { margin-left: 12px; margin-right: 12px; }
.code-eight { letter-spacing: .12em; font-size: clamp(30px, 4vw, 48px); }
.admin-inline-form { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto; gap: 12px; align-items: end; }
.table-input { min-width: 130px; padding: 8px 9px; font-size: 12px; }
.table-input-sub { margin-top: 6px; }
.table-checkbox { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; font-weight: 700; }
.table-checkbox + .table-checkbox { margin-left: 8px; }
.table-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.preline-cell { white-space: pre-line; line-height: 1.45; }
.password-reset-input { min-width: 150px; }
@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .admin-inline-form { grid-template-columns: 1fr; } }

/* v0.4.4 web-pilot security and deployment chrome */
.deployment-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 38px;
  padding: 8px 22px;
  border-bottom: 1px solid rgba(245, 158, 11, .35);
  background: #fff7ed;
  color: #9a3412;
  font-size: 13px;
  position: relative;
  z-index: 50;
}
.deployment-banner strong { font-size: 12px; letter-spacing: .04em; }
.deployment-banner span { color: #7c2d12; }
.deployment-banner small { color: #9a3412; font-weight: 700; }
.security-dialog,
.pilot-issue-dialog {
  width: min(520px, calc(100vw - 28px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(15, 23, 42, .28);
}
.security-dialog::backdrop,
.pilot-issue-dialog::backdrop { background: rgba(15, 23, 42, .62); backdrop-filter: blur(4px); }
.security-dialog-card,
.pilot-issue-card { padding: 28px; background: #fff; }
.security-dialog-card h2,
.pilot-issue-card h2 { margin: 6px 0 8px; font-size: 24px; }
.security-dialog-card > p:not(.eyebrow),
.pilot-issue-card > p:not(.eyebrow) { color: #64748b; line-height: 1.65; }
.pilot-issue-card .dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.pilot-issue-meta { padding: 10px 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; color: #475569; font-size: 12px; }
.issue-status { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 8px; font-size: 11px; font-weight: 800; }
.issue-status-OPEN { background: #fee2e2; color: #991b1b; }
.issue-status-REVIEWING { background: #fef3c7; color: #92400e; }
.issue-status-RESOLVED { background: #dcfce7; color: #166534; }
@media (max-width: 720px) {
  .deployment-banner { grid-template-columns: 1fr auto; padding: 8px 14px; }
  .deployment-banner span { grid-column: 1 / -1; order: 3; }
}
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .grid-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 650px) { .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* v0.4.4 파일럿 서버 상태 */
.grid-7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.system-status-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.system-status-grid > div { padding: 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; }
.system-status-grid > div.wide { grid-column: span 2; }
.system-status-grid small { display: block; color: #64748b; font-size: 11px; font-weight: 700; margin-bottom: 6px; }
.system-status-grid strong { color: #0f172a; font-size: 14px; overflow-wrap: anywhere; }
.system-status-grid .system-ok { color: #047857; }
.system-status-grid .system-warning { color: #b45309; }
@media (max-width: 1250px) { .grid-7 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .system-status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid-7 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .system-status-grid { grid-template-columns: 1fr 1fr; } .system-status-grid > div.wide { grid-column: 1 / -1; } }
