:root {
  --ink:#2b2520;
  --muted:#786e66;
  --line:#efe3d9;
  --canvas:#fff8f1;
  --brand:#ed6b14;
  --brand-dark:#b94700;
  --brand-soft:#fff0e0;
  --white:#fff;
  --shadow:0 18px 50px rgba(85,48,19,.08)
}
* {
  box-sizing:border-box
}
html,body { min-height:100%; }
body {
  margin:0;
  background:var(--canvas);
  color:var(--ink);
  font-family:Arial,system-ui,sans-serif;
  font-size:15px;
  -webkit-font-smoothing:antialiased;
  touch-action:manipulation
}
h1,h2,h3,strong {
  font-family:Arial,system-ui,sans-serif
}
.topbar {
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 max(26px,calc((100vw - 1180px)/2));
  background:rgba(255,255,255,.8);
  border-bottom:1px solid var(--line)
}
.brand {
  display:flex;
  gap:10px;
  align-items:center;
  text-decoration:none;
  color:var(--ink);
  font:800 17px Arial,sans-serif
}
.brand-logo {
  display:block;
  width:42px;
  height:42px;
  border-radius:12px;
  object-fit:cover
}
.brand-light {
  font-weight:500;
  color:#827268;
  margin-left:2px
}
.top-user {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:13px;
  color:#53635d
}
.user-dot,.live-pill i {
  width:8px;
  height:8px;
  border-radius:50%;
  background:#40b77f;
  display:inline-block
}
.top-user form {
  margin-left:12px
}
.text-button {
  border:0;
  background:none;
  color:#78857f;
  font:600 13px Arial,sans-serif;
  cursor:pointer
}
.page {
  max-width:1180px;
  margin:0 auto;
  padding:46px 24px 56px;
  min-height:calc(100vh - 120px)
}
footer {
  text-align:center;
  color:#9aa59f;
  font-size:12px;
  padding:0 16px 24px
}
.eyebrow {
  font-size:10px;
  letter-spacing:1.45px;
  font-weight:700;
  color:#788a82
}
.login-layout {
  min-height:calc(100vh - 235px);
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
  gap:8%;
  max-width:1000px;
  margin:auto
}
.intro {
  padding:0 0 24px 20px
}
.intro h1 {
  font-size:clamp(42px,5vw,66px);
  letter-spacing:-3.4px;
  line-height:1.04;
  margin:18px 0
}
.intro h1 em {
  color:var(--brand);
  font-style:normal
}
.intro p,.staff-head p,.dash-head p {
  color:var(--muted);
  font-size:15px
}
.intro-decoration {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:42px;
  color:#b6a79a;
  font-weight:700;
  font-size:11px;
  letter-spacing:1.3px
}
.intro-decoration span {
  padding:9px 13px;
  border-radius:24px;
  background:#fff0e0
}
.intro-credit { margin-top:34px; color:#96887d; font-size:11px; letter-spacing:.4px; }
.intro-credit strong { color:#65584f; }
.card {
  background:white;
  border:1px solid #e8eee9;
  border-radius:18px;
  box-shadow:var(--shadow)
}
.login-card {
  padding:34px
}
.card-heading h2 {
  margin:8px 0 6px;
  font:750 24px Arial,sans-serif;
  letter-spacing:-.7px
}
.card-heading p {
  margin:0 0 25px;
  color:var(--muted);
  font-size:13px
}
.form-stack {
  display:grid;
  gap:17px
}
.role-choice {
  display:flex;
  gap:10px;
  border:0;
  padding:0;
  margin:0 0 4px
}
.role-help { display:block; margin:8px 2px 2px; color:#78857f; font-size:10px; line-height:1.45; }
.role-choice legend,.field label {
  font-weight:700;
  font-size:12px;
  color:#43554e;
  margin-bottom:8px
}
.role-choice legend {
  padding:0 0 9px
}
.role-option {
  flex:1;
  position:relative;
  cursor:pointer
}
.role-option input {
  position:absolute;
  opacity:0
}
.role-option span {
  display:block;
  text-align:center;
  border:1px solid var(--line);
  border-radius:10px;
  padding:11px;
  font-size:13px;
  font-weight:600;
  color:#68756f
}
.role-option input:checked+span {
  border-color:var(--brand);
  background:var(--brand-soft);
  color:var(--brand-dark);
  box-shadow:inset 0 0 0 1px var(--brand)
}
.field {
  display:flex;
  flex-direction:column;
  min-width:0
}
.field label {
  margin-bottom:8px
}
input,select,textarea {
  width:100%;
  border:1px solid #dfe7e2;
  border-radius:10px;
  background:#fff;
  padding:13px 14px;
  font:500 14px Arial,system-ui,sans-serif;
  color:var(--ink);
  outline:0;
  transition:border .15s,box-shadow .15s
}
input:focus,select:focus,textarea:focus {
  border-color:#e46a19;
  box-shadow:0 0 0 3px rgba(237,107,20,.14)
}
input::placeholder,textarea::placeholder {
  color:#aab4af
}
textarea {
  resize:vertical;
  min-height:75px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:12px 17px;
  min-height:44px;
  border-radius:10px;
  border:1px solid transparent;
  text-decoration:none;
  font:700 13px Arial,system-ui,sans-serif;
  cursor:pointer;
  transition:transform .12s,background .12s
}
.button:hover {
  transform:translateY(-1px)
}
.button.primary {
  background:var(--brand-dark);
  color:white
}
.button.primary:hover {
  background:var(--brand-dark)
}
.button.secondary {
  background:white;
  border-color:var(--line);
  color:#3d5149
}
.button.dark {
  background:var(--ink);
  color:white;
  align-self:end
}
.button.full {
  width:100%;
  margin-top:3px;
  justify-content:space-between;
  padding-left:17px;
  padding-right:17px
}
.button span {
  font-size:18px
}
.secure-note {
  margin-top:19px;
  padding-top:17px;
  border-top:1px solid var(--line);
  color:#8a9690;
  font-size:11px
}
.secure-note span {
  color:#48ad7b;
  margin-right:5px
}
.error,.errorlist {
  color:#b6413b;
  font-size:12px;
  margin:5px 0 0;
  list-style:none;
  padding:0
}
.error-box {
  background:#fff0ee;
  color:#a33732;
  padding:12px;
  border-radius:9px;
  font-size:13px
}
.staff-head,.dash-head {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin:0 0 26px
}
.staff-head h1,.dash-head h1 {
  font:800 34px Arial,sans-serif;
  letter-spacing:-1.5px;
  margin:6px 0
}
.staff-head p,.dash-head p {
  margin:0
}
.live-pill {
  display:flex;
  align-items:center;
  gap:8px;
  background:#e8f6ee;
  color:#347959;
  padding:9px 12px;
  border-radius:20px;
  font-size:11px;
  font-weight:700
}
.live-pill i {
  width:7px;
  height:7px
}
.entry-layout {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(230px,.7fr);
  gap:20px;
  align-items:start
}
.entry-card {
  padding:27px
}
.entry-card .form-stack {
  grid-template-columns:1fr 1fr;
  gap:18px
}
.entry-card .notes-field {
  grid-column:1/-1
}
.issue-badge {
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  background:#fff8ed;
  border:1px solid #f4e6ca;
  border-radius:11px
}
.issue-icon {
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  border-radius:50%;
  background:#fae7bd;
  color:#9b6c1c;
  font-weight:800
}
.issue-badge strong,.issue-badge small {
  display:block
}
.issue-badge strong {
  font-size:12px;
  color:#755322
}
.issue-badge small {
  font-size:11px;
  color:#9e855f;
  margin-top:3px
}
.submit-record {
  grid-column:1/-1
}
.side-note {
  padding:25px 8px 0 14px
}
.side-icon {
  width:39px;
  height:39px;
  border-radius:13px;
  background:var(--brand-soft);
  color:#b94700;
  display:grid;
  place-items:center;
  font-size:22px
}
.side-note h3 {
  font-size:17px;
  margin:17px 0 8px
}
.side-note p {
  color:#7b8982;
  line-height:1.7;
  font-size:13px;
  margin:0
}
.mini-stat {
  margin-top:27px;
  padding-top:17px;
  border-top:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:5px
}
.mini-stat span {
  font-size:9px;
  color:#8d9a93;
  letter-spacing:1.3px;
  font-weight:700
}
.mini-stat strong {
  font-size:13px
}
.mini-stat small {
  font-size:11px;
  color:#909c96
}
.messages {
  margin-bottom:18px
}
.notice {
  border:1px solid #bfe4d1;
  background:#ecf8f1;
  color:#286c4c;
  padding:12px 15px;
  border-radius:10px;
  font-size:13px
}
.head-actions {
  display:flex;
  gap:9px
}
.filter-bar {
  display:flex;
  align-items:end;
  gap:12px;
  padding:15px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  margin-bottom:19px
}
.filter-bar .field {
  width:190px
}
.filter-bar input,.filter-bar select {
  padding:10px 11px;
  font-size:12px
}
.filter-bar .field label {
  font-size:10px;
  margin-bottom:6px
}
.filter-bar .button {
  min-height:40px
}
.stats-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-bottom:18px
}
.stat-card {
  position:relative;
  padding:19px;
  background:white;
  border:1px solid var(--line);
  border-radius:15px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-height:155px
}
.stat-icon {
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:10px;
  font-weight:800;
  font-size:14px;
  margin-bottom:15px
}
.mint {
  background:#fff0e0;
  color:#b94700
}
.blue {
  background:var(--brand-soft);
  color:var(--brand-dark)
}
.peach {
  background:#fff2c6;
  color:#815500
}
.lilac {
  background:#f2edfc;
  color:#866aba
}
.stat-label {
  font-size:11px;
  color:#68766f
}
.stat-card strong {
  font-size:27px;
  line-height:1.25;
  margin-top:3px;
  letter-spacing:-1px
}
.stat-card small {
  font-size:10px;
  color:#9aa59f;
  margin-top:3px
}
.analysis-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-bottom:18px
}
.panel-card {
  padding:22px
}
.section-title {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px
}
.section-title h2 {
  font-size:16px;
  letter-spacing:-.4px;
  margin:5px 0 0
}
.section-title .eyebrow {
  font-size:9px
}
.period-chip {
  font-size:10px;
  color:#718078;
  background:#f2f5f2;
  padding:7px 9px;
  border-radius:20px;
  white-space:nowrap
}
.department-list {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px 22px;
  margin-top:21px
}
.department-row>div:first-child {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px
}
.department-row strong {
  font:700 11px Arial,sans-serif
}
.department-row span {
  color:#89958f;
  font-size:10px
}
.corridor-list {
  display:grid;
  gap:16px;
  margin-top:25px
}
.corridor-row>div:first-child {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:7px
}
.corridor-row strong {
  font:700 12px Arial,sans-serif
}
.corridor-row span {
  color:#89958f;
  font-size:10px
}
.bar-track {
  height:7px;
  border-radius:6px;
  background:#edf2ee;
  overflow:hidden
}
.bar-track i {
  display:block;
  height:100%;
  min-width:4px;
  border-radius:6px;
  background:linear-gradient(90deg,#ffd04a,#e85e0b)
}
.recent-card {
  padding:21px 22px 8px
}
.unfinished-card { padding:21px 22px 8px; margin-bottom:18px; }
.work-status { display:inline-flex; padding:5px 8px; border-radius:12px; background:#fff2c6; color:#815500; font-size:10px; font-weight:700; }
.work-status.running { background:#e8f6ef; color:#137c68; }
.selection-actions { display:flex; align-items:center; gap:14px; }
.selected-download { min-height:36px; padding:9px 12px; font-size:11px; }
.selected-download:disabled { opacity:.5; cursor:not-allowed; }
.selection-count { min-height:14px; margin:10px 0 -5px; color:#89958f; font-size:10px; }
.record-select,#select-all-records { width:16px; height:16px; accent-color:#b94700; cursor:pointer; }
.subtle-link {
  color:#b94700;
  text-decoration:none;
  font-size:11px;
  font-weight:700
}
.table-wrap {
  overflow-x:auto;
  margin-top:17px
}
table {
  width:100%;
  border-collapse:collapse;
  white-space:nowrap;
  text-align:left
}
th {
  padding:10px 11px;
  background:#f7f9f7;
  color:#89958f;
  font-size:9px;
  letter-spacing:.55px;
  font-weight:700
}
td {
  padding:13px 11px;
  border-bottom:1px solid #f0f3f0;
  color:#5e6d65;
  font-size:11px
}
tr:last-child td {
  border-bottom:0
}
.strong-cell {
  font-weight:700;
  color:#2c4038
}
.section-tag {
  display:inline-flex;
  padding:5px 8px;
  border-radius:6px;
  font-size:9px;
  font-weight:800
}
.section-tag.ysk {
  background:var(--brand-soft);
  color:#b94700
}
.section-tag.bkc {
  background:#fff2c6;
  color:#815500
}
.empty-row {
  text-align:center;
  padding:28px;
  color:#98a39e
}
.empty-state {
  padding:35px 10px;
  text-align:center;
  color:#98a39e;
  font-size:12px
}
.users-layout {
  display:grid;
  grid-template-columns:minmax(290px,.8fr) minmax(0,1.2fr);
  gap:18px;
  align-items:start
}
.user-create,.users-list {
  padding:24px
}
.user-create .card-heading h2 {
  font-size:21px
}
.user-create .card-heading p {
  margin-bottom:20px
}
.user-rows {
  margin-top:19px
}
.user-row {
  display:flex;
  align-items:center;
  gap:11px;
  padding:13px 0;
  border-bottom:1px solid #f0f3f0
}
.user-row:last-child {
  border-bottom:0
}
.avatar {
  width:34px;
  height:34px;
  border-radius:11px;
  background:#fff0e0;
  display:grid;
  place-items:center;
  color:#b94700;
  font-weight:800;
  font-size:12px
}
.user-info {
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  flex:1
}
.user-info strong {
  font-size:12px
}
.user-info small {
  font-size:10px;
  color:#929d97
}
.role-tag {
  background:#f2f5f2;
  border-radius:15px;
  padding:6px 9px;
  font-size:9px;
  font-weight:700;
  color:#66746d
}
.role-tag.yonetici { background:#fff0e0; color:#b94700; }
.user-status-form { margin:0; }
.user-status-button { border:0; background:none; color:#b6413b; cursor:pointer; font:700 10px Arial,sans-serif; padding:6px; }
.user-status-button:hover { text-decoration:underline; }
.role-tag.personel { background:#f2f5f2; color:#66746d; }

@media(max-width:800px) {
  .page {
  padding:32px 18px 42px
}
.login-layout {
  grid-template-columns:1fr;
  gap:10px;
  max-width:520px
}
.intro {
  padding:0
}
.intro h1 {
  font-size:48px
}
.intro-decoration {
  margin-top:20px
}
.intro-credit { margin-top:20px; }
.login-card {
  padding:27px
}
.entry-layout {
  grid-template-columns:1fr
}
.side-note {
  padding:3px 8px 15px
}
.side-note h3 {
  margin-top:12px
}
.mini-stat {
  margin-top:16px
}
.stats-grid {
  grid-template-columns:repeat(2,1fr)
}
.analysis-grid {
  grid-template-columns:1fr
}
.head-actions {
  flex-wrap:wrap;
  justify-content:flex-end
}
.users-layout {
  grid-template-columns:1fr
}
.dash-head h1,.staff-head h1 {
  font-size:29px
}

}

@media(max-width:520px) {
  .topbar {
  height:60px;
  padding:0 16px
}
.top-user {
  font-size:11px
}
.top-user form {
  margin-left:0
}
.page {
  padding:27px 14px 38px
}
.staff-head,.dash-head {
  align-items:flex-start;
  flex-direction:column
}
.dash-head {
  gap:15px
}
.head-actions {
  width:100%;
  justify-content:flex-start
}
.head-actions .button {
  flex:1;
  padding:10px
}
.selection-actions { align-items:flex-start; flex-direction:column; gap:9px; }
.selected-download { width:100%; }
.filter-bar {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px
}
.filter-bar .field {
  width:auto
}
.filter-bar .field:nth-child(3) {
  grid-column:1/-1
}
.filter-bar .button {
  grid-column:1/-1;
  width:100%
}
.entry-card {
  padding:19px
}
.entry-card .form-stack {
  grid-template-columns:1fr;
  gap:15px
}
.entry-card .notes-field,.issue-badge,.submit-record {
  grid-column:auto
}
.panel-card,.recent-card,.unfinished-card,.user-create,.users-list {
  padding:18px
}
.stats-grid {
  gap:10px
}
.stat-card {
  min-height:141px;
  padding:14px
}
.stat-icon {
  margin-bottom:11px
}
.stat-card strong {
  font-size:24px
}
.section-title {
  align-items:flex-start
}
.period-chip {
  font-size:9px
}
.department-list {
  grid-template-columns:1fr
}
.login-card {
  padding:23px
}
.intro h1 {
  font-size:43px
}

}


.role-option input:focus-visible+span { outline:3px solid #b94700; outline-offset:3px; }
.button:focus-visible, a:focus-visible { outline:3px solid #b94700; outline-offset:3px; }
.staff-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.staff-actions form { margin:0; }
.finish-button { background:#fff5ec; border-color:#f1d1b8; color:#a63f00; }
.staff-stats { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.staff-stat { padding:18px; display:grid; grid-template-columns:38px 1fr; column-gap:12px; align-items:center; }
.staff-stat .stat-icon { grid-row:span 3; margin:0; }
.staff-stat .stat-label { align-self:end; }
.staff-stat strong { font-size:24px; letter-spacing:-.7px; }
.staff-stat small { color:#929d97; font-size:10px; }
.issue-badge small { line-height:1.5; }
.operation-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; max-width:820px; }
.operation-card { display:flex; flex-direction:column; align-items:flex-start; padding:24px; min-height:245px; text-decoration:none; color:var(--ink); transition:transform .15s,border-color .15s,box-shadow .15s; }
.operation-card.available:hover { transform:translateY(-3px); border-color:#f1bd94; box-shadow:0 18px 48px rgba(158,74,15,.12); }
.operation-icon { display:grid; place-items:center; width:42px; height:42px; border-radius:13px; background:var(--brand-soft); color:var(--brand-dark); font-size:22px; font-weight:800; }
.upcoming .operation-icon { background:#fff2c6; color:#815500; }
.operation-tag { margin-top:20px; color:var(--brand-dark); font-size:9px; font-weight:800; letter-spacing:1.1px; }
.upcoming .operation-tag { color:#815500; }
.operation-card h2 { margin:8px 0 5px; font:750 20px Arial,sans-serif; letter-spacing:-.4px; }
.operation-card p { max-width:330px; margin:0; color:var(--muted); font-size:13px; line-height:1.6; }
.operation-next { display:flex; justify-content:space-between; align-items:center; width:100%; margin-top:auto; padding-top:18px; color:var(--brand-dark); font-size:12px; font-weight:700; }
.operation-next b { font-size:18px; }
.upcoming { background:#fbfaf8; box-shadow:none; color:#77716b; }
.upcoming .operation-next { color:#938a82; }
.operation-history-link { display:inline-block; margin-top:22px; }
.section-select-form { max-width:760px; }
.section-pick-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.section-pick { position:relative; display:flex; align-items:center; gap:14px; padding:20px; cursor:pointer; transition:border-color .15s,background .15s; }
.section-pick-disabled { cursor:not-allowed; background:#f7f8f6; opacity:.72; }
.section-pick-disabled .pick-letter { background:#e9ece9; color:#68736d; }
.section-pick input { position:absolute; width:1px; height:1px; opacity:0; }
.section-pick:has(input:checked) { border-color:var(--brand); background:#fffaf5; box-shadow:0 0 0 2px rgba(237,107,20,.12); }
.section-pick:focus-within { outline:3px solid var(--brand-dark); outline-offset:3px; }
.pick-letter { display:grid; place-items:center; width:44px; height:44px; border-radius:13px; background:var(--brand-soft); color:var(--brand-dark); font-weight:800; }
.pick-letter.bkc { background:#fff2c6; color:#815500; }
.pick-copy { display:flex; flex-direction:column; gap:4px; }
.section-resume-alert { display:inline-flex; align-items:center; gap:5px; color:#b6413b; font-size:11px; font-weight:700; }
.section-resume-alert b { display:grid; place-items:center; width:16px; height:16px; border-radius:50%; background:#fff0ee; font-size:11px; }
.pick-copy strong { font:750 18px Arial,sans-serif; }
.pick-copy small { color:var(--muted); font-size:11px; }
.pick-check { display:grid; place-items:center; width:23px; height:23px; margin-left:auto; border:1px solid var(--line); border-radius:50%; color:transparent; font-size:13px; }
.section-pick:has(input:checked) .pick-check { border-color:var(--brand); background:var(--brand); color:white; }
.section-start { margin-top:18px; min-width:220px; justify-content:space-between; }
.edit-link { color:var(--brand-dark); font-size:11px; font-weight:700; text-decoration:none; }
.edit-link:hover,.operation-history-link:hover { text-decoration:underline; }
.pagination { display:flex; justify-content:center; align-items:center; gap:18px; padding:18px 0 10px; color:var(--muted); font-size:12px; }
.pagination a { color:var(--brand-dark); font-weight:700; text-decoration:none; }
.edit-card { max-width:720px; }
.address-entry { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:stretch; }
.address-nav { display:flex; gap:6px; }
.address-step { width:46px; min-width:46px; border:1px solid #f0cfb3; border-radius:10px; background:var(--brand-soft); color:var(--brand-dark); font-size:20px; cursor:pointer; }
.address-step:hover { border-color:var(--brand); background:#ffe8d1; }
.address-step:focus-visible { outline:3px solid var(--brand-dark); outline-offset:2px; }
.address-help { color:var(--muted); font-size:11px; line-height:1.5; }
.address-status { color:#b6413b; background:#fff0ee; border-radius:8px; padding:7px 9px; font-size:11px; font-weight:600; line-height:1.5; }
.address-status:empty { display:none; }
@media(max-width:700px) {
  .staff-head { align-items:flex-start; flex-direction:column; }
  .staff-actions { width:100%; }
  .staff-actions .button { min-height:44px; padding:10px 12px; }
  .staff-stats { gap:9px; }
  .staff-stat { padding:13px 11px; column-gap:8px; }
  .staff-stat strong { font-size:20px; }
  .operation-grid,.section-pick-grid { grid-template-columns:1fr; }
  .operation-card { min-height:210px; padding:20px; }
  .section-start { width:100%; }
  .address-entry { grid-template-columns:minmax(0,1fr) auto; gap:6px; }
  .address-step { width:44px; min-width:44px; min-height:44px; }
  .table-wrap { overflow:visible; }
  .responsive-table,.responsive-table tbody { display:block; width:100%; white-space:normal; }
  .responsive-table thead { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
  .responsive-table tbody { display:grid; gap:9px; }
  .responsive-table tbody tr { display:block; padding:7px 12px; border:1px solid #edf0ed; border-radius:12px; background:#fff; }
  .responsive-table tbody td { display:grid; grid-template-columns:minmax(92px,.65fr) minmax(0,1fr); align-items:center; gap:12px; min-height:44px; padding:8px 0; border:0; border-bottom:1px solid #f0f3f0; white-space:normal; overflow-wrap:anywhere; font-size:12px; }
  .responsive-table tbody td:last-child { border-bottom:0; }
  .responsive-table tbody td::before { content:attr(data-label); color:#89958f; font-size:10px; font-weight:700; }
  .responsive-table .record-select { width:22px; height:22px; }
  .responsive-table tbody td.empty-row { display:block; border:0; text-align:center; }
  .responsive-table tbody td.empty-row::before { content:none; }
  .entry-layout > *, .users-layout > *, .analysis-grid > *, .login-layout > * { min-width:0; }
  input,select,textarea { font-size:16px; }
  .filter-bar input,.filter-bar select { font-size:16px; }
  .button,.text-button,.edit-link,.user-status-button { min-height:44px; }
  .role-option span { display:flex; align-items:center; justify-content:center; min-height:44px; }
  .topbar { padding-left:max(16px,env(safe-area-inset-left)); padding-right:max(16px,env(safe-area-inset-right)); gap:8px; }
  .brand { min-width:0; gap:7px; font-size:15px; }
  .brand-logo { width:36px; height:36px; }
  .top-user { min-width:0; max-width:58vw; gap:5px; font-size:11px; }
  .top-user > span:nth-child(2) { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .top-user form { flex:0 0 auto; }
  .top-user .text-button { padding:8px; }
  .page { padding-bottom:calc(38px + env(safe-area-inset-bottom)); }
}

@media(max-width:360px) {
  .page { padding-left:12px; padding-right:12px; }
  .stats-grid { grid-template-columns:1fr; }
  .filter-bar { grid-template-columns:1fr; }
  .filter-bar .field:nth-child(3),.filter-bar .button { grid-column:auto; }
  .login-card { padding:19px; }
  .intro h1 { font-size:39px; letter-spacing:-2.6px; }
  .responsive-table tbody td { grid-template-columns:minmax(78px,.55fr) minmax(0,1fr); gap:8px; }
}
