:root {
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --text: #111827;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --error: #DC2626;
  --success: #16A34A;
  --warning: #D97706;
  --radius: 12px;
  --shadow: 0 1px 4px rgba(0,0,0,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }

.screen { display: none; min-height: 100vh; flex-direction: column; }
.screen.active { display: flex; }

/* LOGIN */
#screen-login, #screen-admin-login { align-items: center; justify-content: center; padding: 24px; }
.login-wrap { background: var(--surface); border-radius: var(--radius); padding: 40px 32px; width: 100%; max-width: 380px; box-shadow: var(--shadow); text-align: center; }
.logo { font-size: 48px; margin-bottom: 12px; }
.login-wrap h1 { font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.subtitle { color: var(--text-muted); margin-bottom: 28px; font-size: 15px; }
.input-group { margin-bottom: 16px; }
.btn-text { background: none; border: none; color: var(--primary); font-size: 14px; cursor: pointer; margin-top: 16px; padding: 4px; }

/* INPUTS */
input[type="tel"], input[type="password"], input[type="text"], textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 16px; outline: none; transition: border-color 0.2s; background: var(--bg); color: var(--text);
}
input:focus, textarea:focus { border-color: var(--primary); }
textarea { resize: vertical; font-family: inherit; }

/* BUTTONS */
.btn-primary { width: 100%; padding: 13px; background: var(--primary); color: white; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-secondary { padding: 10px 18px; background: var(--bg); color: var(--text); border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s; display: inline-block; text-align: center; }
.btn-secondary:hover { background: #EAEDF2; }
.btn-icon { background: none; border: none; font-size: 20px; cursor: pointer; color: var(--text-muted); padding: 6px 10px; border-radius: 8px; transition: background 0.2s; }
.btn-icon:hover { background: var(--border); }
.btn-warning { width: 100%; padding: 12px; background: #FEF3C7; color: var(--warning); border: 1.5px solid #FCD34D; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 12px; transition: background 0.2s; }
.btn-warning:hover { background: #FDE68A; }

/* HEADER */
header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 0 16px; position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.header-inner h2 { font-size: 18px; font-weight: 700; }
.greeting { font-size: 12px; color: var(--text-muted); }

/* PROGRESS */
.progress-wrap { padding: 8px 0 12px; }
.progress-bar { height: 8px; background: var(--border); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--success); border-radius: 4px; transition: width 0.5s; }
.progress-text { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* MAIN */
main { flex: 1; padding: 16px; max-width: 600px; width: 100%; margin: 0 auto; }
#screen-admin main { max-width: 1200px; }

/* VIEW TOGGLE */
.view-toggle { display: flex; gap: 8px; margin-bottom: 14px; }
.view-btn { flex: 1; padding: 9px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.view-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ADDRESS LIST */
.address-list { display: flex; flex-direction: column; gap: 10px; }
.address-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px 20px; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.address-card:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(37,99,235,0.1); }
.address-card.done { opacity: 0.6; background: #F9FAFB; }
.address-card.not-reachable { border-color: #FCD34D; background: #FFFBEB; }
.address-info .street { font-weight: 600; font-size: 15px; }
.address-info .city { color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.address-info .tag { font-size: 11px; margin-top: 4px; padding: 2px 8px; border-radius: 10px; display: inline-block; }
.tag-done { background: #DCFCE7; color: #15803D; }
.tag-not-reachable { background: #FEF3C7; color: #92400E; }
.address-status { font-size: 20px; flex-shrink: 0; }
.loading { text-align: center; color: var(--text-muted); padding: 40px; }

/* MAP */
.address-map { height: 500px; border-radius: var(--radius); overflow: hidden; }

/* DETAIL */
.detail-main { display: flex; flex-direction: column; gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.text-muted { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

/* NOT REACHABLE */
.reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reason-btn { padding: 10px 8px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; cursor: pointer; transition: all 0.2s; text-align: center; }
.reason-btn:hover { border-color: var(--warning); background: #FFFBEB; }
.reason-btn.selected { border-color: var(--warning); background: #FEF3C7; font-weight: 600; }
.reason-text-input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 15px; outline: none; }
.reason-text-input:focus { border-color: var(--warning); }

/* CHECKBOX */
.checkbox-row { padding: 4px 0; }
.checkbox-label { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 500; user-select: none; }
.checkbox-label input[type="checkbox"] { display: none; }
.checkbox-custom { width: 22px; height: 22px; border: 2px solid var(--border); border-radius: 6px; flex-shrink: 0; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.checkbox-label input:checked + .checkbox-custom { background: var(--primary); border-color: var(--primary); }
.checkbox-label input:checked + .checkbox-custom::after { content: '✓'; color: white; font-size: 13px; font-weight: 700; }

/* PHOTO */
.photo-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.photo-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1.5px solid var(--border); }
.photo-thumb-wrap { position: relative; }
.photo-remove { position: absolute; top: -6px; right: -6px; background: var(--error); color: white; border: none; border-radius: 50%; width: 20px; height: 20px; font-size: 11px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.photo-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ENTRANCE */
.entrance-card { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.entrance-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 10px; }
.entrance-title-input { flex: 1; padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 15px; font-weight: 600; outline: none; background: var(--bg); }
.entrance-title-input:focus { border-color: var(--primary); }
.btn-remove-entrance { background: none; border: none; color: var(--error); font-size: 20px; cursor: pointer; padding: 4px 8px; border-radius: 6px; flex-shrink: 0; }
.btn-add-entrance { width: 100%; padding: 14px; background: var(--surface); border: 2px dashed var(--border); border-radius: var(--radius); font-size: 15px; font-weight: 600; color: var(--primary); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; margin-bottom: 4px; }
.btn-add-entrance:hover { border-color: var(--primary); background: #EFF6FF; }
.btn-add-entrance span { font-size: 20px; }

/* CAMERA */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal.hidden { display: none; }
.modal-inner { background: #000; border-radius: var(--radius); overflow: hidden; width: 100%; max-width: 480px; }
#camera-video { width: 100%; display: block; }
.camera-controls { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 16px; background: #111; }
.btn-snap { width: 64px; height: 64px; border-radius: 50%; background: white; border: 4px solid #555; font-size: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.1s; }
.btn-snap:active { transform: scale(0.9); }

/* ADMIN TABS */
.admin-tabs { display: flex; gap: 0; border-top: 1px solid var(--border); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tab { flex-shrink: 0; padding: 12px 16px; background: none; border: none; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--text-muted); transition: all 0.2s; white-space: nowrap; }
.admin-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.admin-tab-content { display: none; }
.admin-tab-content.active { display: block; }
.admin-tab-content.hidden { display: none; }
.stat-card { background: var(--surface); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; box-shadow: var(--shadow); }
.stat-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.stat-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.stat-row:last-child { border-bottom: none; }
.stat-badge { padding: 2px 10px; border-radius: 10px; font-size: 12px; font-weight: 600; }
.badge-green { background: #DCFCE7; color: #15803D; }
.badge-yellow { background: #FEF3C7; color: #92400E; }
.badge-gray { background: var(--bg); color: var(--text-muted); }
.user-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--surface); border-radius: 8px; margin-bottom: 8px; }
.btn-delete { background: none; border: none; color: var(--error); cursor: pointer; font-size: 18px; padding: 4px 8px; }

/* OFFLINE */
.offline-banner { position: fixed; bottom: 0; left: 0; right: 0; background: #1F2937; color: white; text-align: center; padding: 12px; font-size: 13px; z-index: 200; }
.offline-banner.hidden { display: none; }

/* MESSAGES */
.error { color: var(--error); font-size: 14px; margin-top: 10px; text-align: center; }
.success { color: var(--success); font-size: 14px; margin-top: 10px; text-align: center; }
.hidden { display: none !important; }

/* LANG SWITCHER */
.lang-switcher { display: flex; gap: 6px; justify-content: center; margin-bottom: 20px; }
.lang-btn { padding: 5px 12px; border: 1.5px solid var(--border); border-radius: 6px; background: var(--bg); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text-muted); transition: all 0.2s; }
.lang-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* SEARCH + SORT */
.search-sort-row { display: flex; gap: 8px; padding: 10px 0 12px; }
.search-input { flex: 1; padding: 9px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 15px; outline: none; background: var(--bg); }
.search-input:focus { border-color: var(--primary); }
.sort-select { padding: 9px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; background: var(--bg); outline: none; cursor: pointer; color: var(--text); }

/* NAVIGATE BTN */
.btn-navigate { background: none; border: none; font-size: 22px; cursor: pointer; padding: 4px 8px; border-radius: 8px; transition: background 0.2s; }
.btn-navigate:hover { background: var(--border); }

/* LAST VISIT */
.last-visit { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* GALLERY */
#photo-gallery-section { margin-top: 0; }

/* TOGGLE SWITCH */
.toggle-switch { position: relative; display: inline-block; width: 52px; height: 28px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: var(--border); border-radius: 28px; transition: 0.3s; }
.toggle-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 4px; bottom: 4px; background: white; border-radius: 50%; transition: 0.3s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.toggle-switch input:checked + .toggle-slider { background: var(--success); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(24px); }

/* TUTORIAL */
.tutorial-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; }
.tutorial-overlay.hidden { display: none; }
.tutorial-box { background: var(--surface); border-radius: 20px; padding: 36px 28px 24px; width: 100%; max-width: 380px; text-align: center; }
.tutorial-icon { font-size: 52px; margin-bottom: 16px; }
.tutorial-box h2 { font-size: 20px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.tutorial-box p { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }
.tutorial-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; }
.tutorial-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all 0.2s; }
.tutorial-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }
.tutorial-actions { display: flex; align-items: center; justify-content: space-between; }

/* LOGIN TABS */
.login-tabs { display: flex; gap: 0; margin-bottom: 20px; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
.login-tab { flex: 1; padding: 10px 8px; background: none; border: none; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--text-muted); transition: all 0.2s; }
.login-tab.active { background: var(--primary); color: white; }

/* LOGO */
.login-logo { width: 180px; height: auto; object-fit: contain; margin-bottom: 4px; }

/* FIX EMAIL INPUT */
input[type="email"] {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 16px; outline: none; transition: border-color 0.2s; background: var(--bg); color: var(--text);
}
input[type="email"]:focus { border-color: var(--primary); }

/* ADDRESS DETAIL ROWS */
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  gap: 12px;
}
.detail-row:last-child { border-bottom: none; }
.detail-label {
  color: var(--text-muted);
  font-size: 13px;
  flex-shrink: 0;
  min-width: 110px;
}

/* ZUWEISEN */
.zuweisen-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.zuweisen-card:hover { border-color: var(--primary); }
.zuweisen-card.done { border-color: var(--success); background: #F0FDF4; }

.entrance-zuweisen {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}
.entrance-zuweisen h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.schilder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.schild-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  user-select: none;
}
.schild-checkbox input { display: none; }
.schild-checkbox.checked {
  border-color: var(--primary);
  background: #EFF6FF;
  color: var(--primary);
  font-weight: 600;
}
.zuweisen-foto-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.zuweisen-foto {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: transform 0.2s;
}
.zuweisen-foto:hover { transform: scale(1.05); }

/* ZUWEISEN SPLIT SCREEN */
.zuweisen-split {
  display: flex;
  gap: 24px;
  min-height: 560px;
  align-items: flex-start;
}
.zuweisen-photos-panel {
  flex: 1.8;
  background: #111;
  border-radius: var(--radius);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
}
.zuweisen-main-photo {
  width: 100%;
  height: 500px;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
}
.zuweisen-photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}
.zuweisen-photo-nav:hover { background: rgba(255,255,255,0.3); }
.zuweisen-photo-nav.prev { left: 10px; }
.zuweisen-photo-nav.next { right: 10px; }
.zuweisen-photo-counter {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
}
.zuweisen-photo-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: rgba(0,0,0,0.3);
  width: 100%;
  overflow-x: auto;
  flex-shrink: 0;
}
.zuweisen-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.zuweisen-thumb.active { border-color: var(--primary); }

.zuweisen-right-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 320px;
}
.zuweisen-entrance-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow);
}
.zuweisen-entrance-nav h4 {
  font-size: 15px;
  font-weight: 600;
}
.zuweisen-entrance-steps {
  display: flex;
  gap: 6px;
  align-items: center;
}
.zuweisen-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s;
}
.zuweisen-step-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}
.zuweisen-step-dot.done { background: var(--success); }

@media (max-width: 900px) {
  .zuweisen-split { flex-direction: column; }
  .zuweisen-main-photo { height: 300px; }
  .zuweisen-right-panel { min-width: unset; }
}

/* SCHILD ROWS */
.schild-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.schild-row:last-child { border-bottom: none; margin-bottom: 0; }
.schild-label {
  font-size: 13px;
  font-weight: 500;
  min-width: 130px;
  color: var(--text);
}
.schild-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.schild-text {
  flex: 1;
  padding: 7px 10px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.schild-text:focus { border-color: var(--primary); }
.schild-text:disabled { background: var(--bg); color: var(--text-muted); }
.schild-keines {
  padding: 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  color: var(--text-muted);
  user-select: none;
}
.schild-keines.checked {
  border-color: var(--error);
  background: #FEF2F2;
  color: var(--error);
  font-weight: 600;
}

/* PRIORITY */
.address-card.priority { border-color: #FCA5A5; }

/* DASHBOARD */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.dashboard-widget {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.dashboard-widget h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.employee-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.employee-name {
  font-size: 13px;
  font-weight: 500;
  min-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.employee-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.employee-bar-fill {
  height: 100%;
  background: var(--success);
  border-radius: 3px;
  transition: width 0.5s;
}
.employee-pct {
  font-size: 12px;
  color: var(--text-muted);
  min-width: 36px;
  text-align: right;
}
.dashboard-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.dashboard-number.warning { color: var(--warning); }
.dashboard-number.error { color: var(--error); }
.dashboard-alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  gap: 8px;
  font-size: 13px;
}
.dashboard-alert:last-child { border-bottom: none; }
.dashboard-alert-time {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  padding: 0 4px;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* USER EDIT FORM */
#admin-users-list input[type="text"],
#admin-users-list input[type="tel"],
#admin-users-list input[type="email"],
#admin-users-list input[type="password"],
#admin-users-list select {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  background: var(--surface);
  color: var(--text);
}
#admin-users-list input:focus,
#admin-users-list select:focus { border-color: var(--primary); }
