:root {
  color-scheme: light;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #06c4ff;
  --primary-hover: #04a6da;
  --primary-deep: #037aa6;
  --secondary: #ff9a3c;
  --secondary-hover: #e8822a;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --radius: 6px;
  --id-name-size: 1.6rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 24px 16px 64px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

h1 {
  font-size: 1.4rem;
  margin: 0 0 16px;
}

p {
  margin: 0 0 12px;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

label > input:not([type="checkbox"]),
label > textarea,
label > select {
  display: block;
  width: 100%;
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--text);
}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="url"],
input[type="number"],
textarea,
select {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input[type="checkbox"] {
  width: auto;
  margin-right: 6px;
}

button, input[type="submit"] {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}

button:hover, input[type="submit"]:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-primary {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
}

.btn-secondary {
  border-color: var(--secondary) !important;
  background: var(--secondary) !important;
}

.btn-secondary:hover {
  border-color: var(--secondary-hover) !important;
  background: var(--secondary-hover) !important;
}

.btn-outline {
  background: transparent !important;
  color: var(--text) !important;
  border-color: var(--border) !important;
}

.btn-outline:hover {
  background: var(--bg) !important;
  border-color: var(--muted) !important;
}

.btn-danger {
  border-color: var(--danger) !important;
  background: var(--danger) !important;
}

.btn-danger:hover {
  border-color: var(--danger) !important;
  background: #dc2626 !important;
}

form[action*="delete"] button,
button[formaction*="delete"] {
  background: var(--danger);
  border-color: var(--danger);
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

th, td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

th {
  background: #f0f1f3;
  color: var(--muted);
  font-weight: 600;
}

p[style*="color: red"],
p[style*="color:red"] {
  background: #fdecec;
  border: 1px solid #f3c2c2;
  border-radius: var(--radius);
  padding: 10px 14px;
}

p[style*="color: orange"],
p[style*="color:orange"] {
  background: #fdf3e3;
  border: 1px solid #f2d9a3;
  border-radius: var(--radius);
  padding: 10px 14px;
}

.board-popup {
  max-width: 720px;
  margin: 0 auto 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.board-popup h3 {
  margin-top: 0;
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 10pt;
  font-weight: 600;
}

.badge--info {
  background: #eaf3ff;
  color: var(--info);
}

.badge--success {
  background: #e7f9f1;
  color: var(--success);
}

.badge--warning {
  background: #fef3e2;
  color: var(--warning);
}

.badge--danger {
  background: #fdecec;
  color: var(--danger);
}

.badge--neutral {
  background: var(--bg);
  color: var(--muted);
}

.login-page,
.kiosk-page {
  max-width: 720px;
  margin: 0 auto;
}

.login-page {
  max-width: 400px;
  margin-top: 60px;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 0 0 20px;
}

.admin-sidebar-logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  height: 80px;
  padding: 0 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.admin-sidebar-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.admin-sidebar-logo a:hover {
  text-decoration: none;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  color: var(--text);
  font-size: 0.9rem;
}

.admin-nav-item:hover {
  background: var(--bg);
  text-decoration: none;
}

.admin-nav-item.active {
  background: var(--bg);
  color: var(--primary);
  font-weight: 600;
  border-right: 3px solid var(--primary);
}

.admin-nav-heading {
  margin: 16px 0 4px;
  padding: 0 20px;
  font-size: 10pt;
  color: var(--muted);
}

.admin-main {
  flex: 1;
  min-width: 0;
}

.admin-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  height: 80px;
  padding: 0 32px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.admin-header-name {
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-content {
  padding: 24px 32px;
}

.admin-content h1, .admin-content form, .admin-content ul, .admin-content table, .admin-content p {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.mobile-shell {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.mobile-header button,
.admin-header button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: inherit;
  font-size: 10pt;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  padding: 6px 10px;
}

.mobile-header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  white-space: nowrap;
}

.mobile-header-brand:hover {
  text-decoration: none;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.mode-label {
  font-size: 10pt;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}

.leave-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inline-form,
.leave-item form {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

.mobile-content ul li {
  padding: 14.4px 16px;
  font-size: 1.2em;
}

.mobile-content {
  flex: 1;
  padding: 16px;
}

.mobile-content h1, .mobile-content form, .mobile-content ul, .mobile-content table, .mobile-content p {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.mobile-tabbar {
  display: flex;
  border-top: 1px solid var(--border);
  background: var(--surface);
  position: sticky;
  bottom: 0;
}

.mobile-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px 10px;
  font-size: 10pt;
  white-space: nowrap;
  color: var(--muted);
}

.mobile-tab:hover {
  text-decoration: none;
}

.mobile-tab.active {
  color: var(--primary);
  font-weight: 600;
}

body:has(.admin-shell),
body:has(.mobile-shell) {
  padding: 0;
}

.id-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-bottom: 16px;
}

.id-card svg {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  color: var(--muted);
}

.id-card-position {
  margin: 0;
  font-size: 1.15rem;
  color: var(--muted);
}

.id-card-name {
  margin: 4px 0 0;
  font-size: var(--id-name-size);
  font-weight: 700;
}

.attendance-link {
  margin: -8px 0 16px;
  text-align: right;
  font-size: 1.2rem;
}

.month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  margin-bottom: 16px;
  font-size: 1.2rem;
  font-weight: 600;
}

.attendance-empty {
  font-size: 1.1rem;
}

.month-nav-spacer {
  display: inline-block;
  width: 1em;
}

.attendance-summary {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.attendance-summary > div {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
}

.attendance-summary-label {
  display: block;
  font-size: 1.1rem;
  color: var(--muted);
}

.attendance-summary strong {
  font-size: 1.2rem;
}

.attendance-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.attendance-date {
  font-weight: 600;
}

.attendance-times {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.board-home-title {
  font-size: 2rem;
  margin: 8px 0 8px;
}

.board-home-lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 20px;
}

.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.board-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  min-height: 170px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--text);
}

.board-card:hover {
  text-decoration: none;
  border-color: var(--primary);
}

.board-card--wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  min-height: 0;
}

.board-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
}

.board-card-icon svg {
  width: 28px;
  height: 28px;
}

.board-card-icon--success { background: #e7f9f1; color: var(--success); }
.board-card-icon--info { background: #eaf3ff; color: var(--info); }
.board-card-icon--danger { background: #fdecec; color: var(--danger); }
.board-card-icon--purple { background: #f1ecff; color: #7c3aed; }
.board-card-icon--warning { background: #fef3e2; color: var(--warning); }

.board-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.board-card-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.board-card-desc {
  font-size: 10pt;
  color: var(--muted);
  line-height: 1.45;
}

.board-card-arrow {
  position: absolute;
  top: 16px;
  right: 12px;
  color: var(--muted);
}

.board-card--wide .board-card-arrow {
  position: static;
}

.board-card-desc,
.board-card-title {
  word-break: keep-all;
}

.choice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.choice-form {
  padding: 0;
  border: 0;
  background: none;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: var(--text);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.choice-card:hover {
  background: var(--surface);
  border-color: var(--primary);
  text-decoration: none;
}

.choice-card--in {
  background: #e7f9f1;
  border-color: #b7ead3;
}

.choice-card--in:hover {
  background: #dcf5ea;
  border-color: var(--success);
}

.choice-card-icon {
  flex-shrink: 0;
  color: var(--muted);
}

.choice-card--in .choice-card-icon {
  color: var(--success);
}

.choice-card-icon svg {
  width: 44px;
  height: 44px;
}

.choice-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.choice-card-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.choice-card-desc {
  font-size: 1.1rem;
  color: var(--muted);
  word-break: keep-all;
}

.choice-card-arrow {
  flex-shrink: 0;
  color: var(--muted);
}

.checkin-date {
  margin: 8px 0 0;
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
}

.checkin-title {
  margin: 4px 0 8px;
  text-align: center;
  font-size: 2rem;
}

.checkin-lead {
  margin: 0 0 20px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
}

.checkin-notice {
  background: #eef0f3;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 1.05rem;
}

.checkin-notice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-weight: 700;
}

.checkin-notice ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.checkin-notice ul li {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 4px;
  font-size: inherit;
}

.checkin-notice {
  word-break: keep-all;
}

.board-tabs {
  display: flex;
  gap: 8px;
  margin: 0 -16px 16px;
  padding: 0 16px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.board-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.1rem;
  white-space: nowrap;
}

.board-tab:hover {
  text-decoration: none;
  border-color: var(--primary);
}

.board-tab.active {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: #fff;
  font-weight: 700;
}

.mobile-content .post-list li {
  padding: 0;
  margin-bottom: 12px;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.post-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  color: var(--text);
}

.post-row:hover {
  text-decoration: none;
}

.post-row-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.post-row-title {
  font-size: 1.2rem;
  font-weight: 700;
  word-break: keep-all;
}

.post-row-date {
  font-size: 1.05rem;
  color: var(--muted);
}

.post-row-arrow {
  flex-shrink: 0;
  color: var(--muted);
}

.post-empty {
  padding: 24px 0;
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
}

.board-tabs::-webkit-scrollbar {
  display: none;
}

.year-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 320px;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.2rem;
  font-weight: 600;
}

.admin-content .inline-form {
  margin-left: 12px;
}

.notice-ok {
  background: #e7f9f1;
  border: 1px solid #b7ead3;
  border-radius: var(--radius);
  padding: 10px 14px;
}

.overview-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 10pt;
  color: var(--muted);
}

.overview-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.overview-table {
  width: auto;
  min-width: 100%;
  border: 0;
  border-radius: 0;
}

.overview-table th,
.overview-table td {
  padding: 6px 4px;
  text-align: center;
  font-size: 10pt;
  white-space: nowrap;
}

.overview-table th small {
  font-size: 10pt;
  font-weight: 400;
}

.overview-table .ov-name {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 130px;
  padding: 6px 12px;
  background: var(--surface);
  text-align: left;
}

.overview-table thead .ov-name {
  background: #f0f1f3;
}

.ov-id {
  color: var(--muted);
}

.ov-day,
.ov-cell {
  min-width: 36px;
}

.overview-table .ov-off {
  background: #f3f4f6;
}

.overview-table .ov-sum {
  min-width: 64px;
  padding: 6px 8px;
  font-weight: 600;
}

.ov-mark {
  display: inline-block;
  min-width: 24px;
  padding: 0 4px;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.6;
}

.ov-ok { background: #e7f9f1; color: #047857; }
.ov-open { background: #eaf3ff; color: #1d4ed8; }
.ov-missing { background: #fef3e2; color: #b45309; }
.ov-leave { background: #ede9fe; color: #6d28d9; }

.ov-has-leave {
  box-shadow: inset 0 -3px 0 #8b5cf6;
}

.dash-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: none;
}

.dash-filters input,
.dash-filters select {
  font-size: 1rem;
}

.dash-export {
  margin-left: auto;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9rem;
}

.dash-export:hover {
  text-decoration: none;
  border-color: var(--muted);
}

.dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.dash-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left-width: 5px;
  border-radius: 10px;
  color: var(--text);
}

.dash-card:hover {
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.dash-card.active {
  background: #f0f9ff;
  border-color: var(--primary-deep);
}

.dash-card-label {
  font-size: 1.05rem;
  color: var(--muted);
}

.dash-card-count {
  font-size: 1.8rem;
  line-height: 1.2;
}

.dash-card--danger { border-left-color: var(--danger); }
.dash-card--warning { border-left-color: var(--warning); }
.dash-card--info { border-left-color: var(--info); }
.dash-card--purple { border-left-color: #8b5cf6; }

.dash-table th,
.dash-table td {
  font-size: 10pt;
  white-space: nowrap;
}

.dash-detail {
  color: var(--muted);
}

.dash-table .inline-form {
  margin-left: 0;
  margin-right: 6px;
}

.dash-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 20px 0;
}

.dash-pager a {
  min-width: 36px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-align: center;
}

.dash-pager a:hover {
  text-decoration: none;
  border-color: var(--primary);
}

.dash-pager a.active {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: #fff;
  font-weight: 700;
}

.edit-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  max-width: 420px;
}

.edit-form label {
  width: 100%;
}

.edit-form .check-line {
  color: var(--text);
}

.dash-edit {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 10pt;
}

.dash-edit:hover {
  text-decoration: none;
  border-color: var(--primary);
}

.ov-link {
  display: block;
  color: inherit;
}

.ov-link:hover {
  text-decoration: none;
  background: #e0f2fe;
}

.ov-blank {
  display: inline-block;
  min-width: 24px;
}

.ov-edited {
  outline: 2px dashed #94a3b8;
  outline-offset: -3px;
}

body:has(.kiosk-screen) {
  padding: 0;
  background: linear-gradient(160deg, #f8fafc 0%, #eef6f9 100%);
}

.kiosk-screen {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100vh;
  padding: 28px clamp(20px, 4vw, 64px) 32px;
}

.kiosk-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.kiosk-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
}

.kiosk-place {
  padding: 4px 16px;
  border-radius: 999px;
  background: #e0f2f9;
  color: var(--primary-deep);
  font-size: 1.2rem;
}

.kiosk-clock {
  text-align: right;
}

.kiosk-date {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--muted);
}

.kiosk-time {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.kiosk-sec {
  margin-left: 8px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 400;
  color: var(--muted);
}

.kiosk-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  flex: 1;
}

.kiosk-hello {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--muted);
}

.kiosk-headline {
  margin: 0 0 28px;
  font-size: clamp(2rem, 3.7vw, 3.1rem);
  line-height: 1.25;
  word-break: keep-all;
}

.kiosk-headline span {
  color: var(--primary-deep);
}

.kiosk-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kiosk-steps li {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.kiosk-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e0f2f9;
  color: var(--primary-deep);
}

.kiosk-step-icon svg {
  width: 28px;
  height: 28px;
}

.kiosk-step-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--muted);
  word-break: keep-all;
}

.kiosk-step-text strong {
  color: var(--text);
  font-size: 1.1em;
}

.kiosk-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.kiosk-qr {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  padding: 12%;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}

.kiosk-qr img {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.kiosk-corner {
  position: absolute;
  width: 14%;
  height: 14%;
  border: 0 solid var(--primary-deep);
  border-radius: 10px;
}

.kiosk-corner--tl { top: 6%; left: 6%; border-top-width: 6px; border-left-width: 6px; }
.kiosk-corner--tr { top: 6%; right: 6%; border-top-width: 6px; border-right-width: 6px; }
.kiosk-corner--bl { bottom: 6%; left: 6%; border-bottom-width: 6px; border-left-width: 6px; }
.kiosk-corner--br { bottom: 6%; right: 6%; border-bottom-width: 6px; border-right-width: 6px; }

.kiosk-status {
  min-height: 1.6em;
  margin: 0;
  font-size: 1.1rem;
  color: var(--danger);
  text-align: center;
}

.kiosk-notice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding: 18px 28px;
  border-radius: 22px;
  background: #e3f1f5;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.kiosk-notice-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-deep);
  font-weight: 700;
}

.kiosk-notice ul {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: disc;
  color: var(--muted);
}

.kiosk-notice ul li {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 2px 0;
}

@media (max-width: 900px) {
  .kiosk-body {
    grid-template-columns: 1fr;
  }
}

.assign-team {
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--muted);
  font-size: 10pt;
}

.assign-position {
  margin-left: 4px;
  background: #e0f2f9;
  color: var(--primary-deep);
}
