:root {
  --green: #07543e;
  --deep: #064432;
  --red: #ea1c24;
  --gold: #cda35f;
  --paper: #f6f7f3;
  --ink: #182a23;
  --muted: #6d7871;
  --line: #e3e7e0;
  --radius: 22px;
  --safe: env(safe-area-inset-bottom, 0px);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Gotham Pro', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
.demo {
  height: 28px;
  background: #e9ede6;
  color: #56685c;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.035em;
  padding: 5px;
}
.shell {
  max-width: 1680px;
  margin: auto;
  display: flex;
  min-height: calc(100dvh - 28px);
}
.sidebar {
  width: 242px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  background: #fff;
  position: sticky;
  top: 0;
  height: calc(100dvh - 28px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
}
.brand img {
  width: 48px;
  height: 56px;
  object-fit: contain;
}
.brand span {
  font-weight: 900;
  font-size: 23px;
  line-height: 1.03;
  letter-spacing: -1px;
}
.brand i {
  font-style: normal;
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  margin-top: 9px;
}
.sidebar-title {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #88948c;
  margin: 46px 15px 16px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  color: #748077;
  font-size: 14px;
  margin-bottom: 7px;
  transition: 0.2s;
}
.nav-item.active {
  background: var(--green);
  color: white;
  font-weight: 700;
}
.nav-item:hover {
  background: #eaf0e9;
  color: var(--green);
}
.nav-item.active:hover {
  background: var(--deep);
  color: white;
}
svg.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 45px;
}
.anniversary {
  color: var(--green);
  font-size: 54px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 13px;
  padding-left: 14px;
}
.anniversary span {
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.5;
  color: var(--gold);
}
.sidebar-bottom p {
  font-size: 11px;
  color: var(--muted);
  padding: 0 14px;
  line-height: 1.8;
}
.profile-link {
  border: 0;
  border-top: 1px solid var(--line);
  background: white;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 28px;
  padding: 20px 0 0;
  text-align: left;
  font-size: 12px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #f0e8d9;
  color: #7c6031;
  font-size: 12px;
  font-weight: bold;
}
.profile-link small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.profile-link > span:last-child {
  margin-left: auto;
}
.workspace {
  width: calc(100% - 242px);
  padding: 0 42px;
}
.topbar {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-label {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.help-button {
  width: 34px;
  height: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 15px;
  color: var(--green);
}
.mobile-brand {
  display: none;
}
.greeting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 25px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.greeting h1,
.page-heading {
  margin: 4px 0 0;
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.2;
}
.badge {
  font-size: 10px;
  color: var(--green);
  background: #e6eee3;
  border: 1px solid #d8e2d1;
  padding: 7px 11px;
  border-radius: 20px;
  white-space: nowrap;
}
.badge::before {
  content: ' ';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 7px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 24px;
}
.hero {
  background: var(--green);
  color: white;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: flex;
}
.hero-copy {
  padding: 31px 34px;
  position: relative;
  z-index: 1;
  width: 75%;
}
.hero .eyebrow {
  color: #d9bd84;
  font-size: 9px;
}
.hero h2 {
  font-size: clamp(30px, 3.3vw, 49px);
  line-height: 1.05;
  letter-spacing: -1.9px;
  margin: 23px 0 17px;
  font-weight: 900;
}
.hero h2 span {
  color: #ddbc81;
}
.hero p {
  font-size: 12px;
  line-height: 1.7;
  color: #c9ddd2;
  max-width: 280px;
  margin-bottom: 23px;
}
.hero-pattern {
  position: absolute;
  right: -38px;
  top: -32px;
  width: 160px;
  height: 420px;
  background: url(assets/pattern.png) center/cover;
  transform: rotate(0deg);
  opacity: 0.96;
  mask-image: linear-gradient(to right, transparent, black 34%);
}
.primary {
  border: 0;
  border-radius: 12px;
  background: var(--red);
  color: white;
  min-height: 48px;
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.primary:hover {
  background: #cf171e;
}
.primary.green {
  background: var(--green);
}
.primary.green:hover {
  background: var(--deep);
}
.secondary {
  border: 1px solid var(--line);
  background: white;
  min-height: 46px;
  padding: 10px 15px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 12px;
}
.hero .primary {
  min-height: 45px;
}
.hero-meta {
  display: flex;
  gap: 18px;
  margin-top: 22px;
  color: #c5d7cc;
  font-size: 10px;
}
.hero-meta b {
  color: white;
  font-size: 12px;
  margin-right: 4px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 27px 0 15px;
}
.section-heading h2 {
  font-size: 18px;
  letter-spacing: -0.5px;
  margin: 0;
}
.text-button {
  border: 0;
  background: none;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  min-height: 40px;
  padding: 0 4px;
}
.station-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.station-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  text-align: left;
  position: relative;
  transition:
    transform 0.2s,
    border 0.2s;
  min-width: 0;
}
.station-card:hover {
  transform: translateY(-3px);
  border-color: #9eb6a5;
}
.station-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.station-icon {
  width: 43px;
  height: 43px;
  background: #edf2e9;
  border-radius: 13px;
  color: var(--green);
  display: grid;
  place-items: center;
}
.station-card:nth-child(2) .station-icon {
  background: #fbede7;
  color: #b84c35;
}
.station-card:nth-child(3) .station-icon {
  background: #f6f0e2;
  color: #947133;
}
.station-card:nth-child(4) .station-icon {
  background: #eef0f6;
  color: #59678e;
}
.station-icon svg {
  width: 25px;
  height: 25px;
}
.station-number {
  font-size: 10px;
  color: #a6aea6;
  font-weight: 700;
}
.station-card h3 {
  font-size: 14px;
  line-height: 1.3;
  margin: 15px 0 5px;
  letter-spacing: -0.25px;
}
.station-card p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}
.station-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 19px;
  border-top: 1px solid #eff1eb;
  padding-top: 12px;
  font-size: 10px;
  color: var(--muted);
}
.done {
  color: var(--green);
  font-weight: 700;
}
.points {
  font-weight: 700;
  font-size: 12px;
  color: var(--green);
}
.side-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 23px;
}
.side-card h2 {
  font-size: 15px;
  margin: 0;
}
.side-sub {
  font-size: 11px;
  color: var(--muted);
  margin: 3px 0 0;
}
.score-ring {
  width: 154px;
  height: 154px;
  border-radius: 50%;
  margin: 23px auto 18px;
  background: conic-gradient(var(--green) 0deg 144deg, #edf1e9 144deg);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-ring:before {
  content: '';
  position: absolute;
  inset: 9px;
  background: #fff;
  border-radius: 50%;
}
.score-ring strong {
  position: relative;
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -2px;
}
.score-ring span {
  position: relative;
  font-size: 10px;
  color: var(--muted);
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-bottom: 8px;
}
.progress-bar {
  height: 5px;
  border-radius: 5px;
  background: #edf0e9;
}
.progress-bar span {
  display: block;
  width: 50%;
  height: 100%;
  background: var(--gold);
  border-radius: 5px;
}
.progress-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 13px;
}
.ranking-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}
.ranking-mini b {
  font-size: 25px;
  color: var(--green);
}
.ranking-mini span {
  font-size: 11px;
  color: var(--muted);
}
.ranking-mini a {
  font-size: 20px;
  color: var(--green);
}
.next-card {
  background: #eeeadd;
  border-color: #e7e1d3;
  margin-top: 16px;
}
.next-card .eyebrow {
  color: #8b7046;
  font-size: 8px;
}
.next-card h3 {
  font-size: 17px;
  line-height: 1.3;
  margin: 11px 0;
}
.next-card p {
  font-size: 11px;
  color: #786e5b;
  line-height: 1.7;
  margin: 0 0 14px;
}
.next-card button {
  width: 100%;
  background: transparent;
  border: 1px solid #cfc6b3;
}
.notice {
  padding: 17px 19px;
  border-radius: 14px;
  background: #eaf0e5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 19px;
}
.notice p {
  margin: 0;
  font-size: 11px;
  color: #59705d;
}
.notice svg {
  color: var(--green);
  width: 18px;
}
.notice strong {
  color: var(--green);
}
footer {
  padding: 29px 0 23px;
  font-size: 9px;
  color: #8b948b;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.mobile-nav {
  display: none;
}
.page-intro {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 26px;
  max-width: 620px;
}
.page-content {
  max-width: 850px;
  min-height: 68vh;
}
.page-content .station-grid {
  gap: 18px;
}
.page-content .station-card {
  padding: 25px;
}
.large-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 25px;
  margin: 20px 0;
}
.large-card h2 {
  font-size: 19px;
  margin: 0 0 12px;
}
.large-card p,
.large-card li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.large-card ul {
  padding-left: 20px;
}
.detail-hero {
  display: flex;
  align-items: center;
  gap: 17px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.detail-hero h2 {
  margin: 0;
}
.detail-hero .station-icon {
  width: 64px;
  height: 64px;
}
.detail-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}
.metric {
  padding: 16px;
  background: var(--paper);
  border-radius: 12px;
  font-size: 11px;
  color: var(--muted);
}
.metric b {
  display: block;
  color: var(--green);
  font-size: 20px;
}
.back {
  margin-bottom: 16px;
}
.tabs {
  display: flex;
  gap: 5px;
  background: #e9ede5;
  padding: 4px;
  border-radius: 12px;
  width: fit-content;
  margin: 20px 0;
}
.tabs button {
  border: 0;
  background: none;
  border-radius: 9px;
  padding: 10px 24px;
  font-size: 12px;
  min-height: 44px;
}
.tabs button.active {
  background: white;
  box-shadow: 0 2px 5px #16391a0a;
  font-weight: bold;
  color: var(--green);
}
.rank-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 17px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.rank-row:last-child {
  border: 0;
}
.rank-row.me {
  background: #eaf0e5;
  border-radius: 12px;
  border: 0;
}
.rank-place {
  width: 28px;
  font-weight: 700;
  color: #87917f;
}
.rank-row:first-child .rank-place {
  color: #a78343;
}
.rank-name {
  flex: 1;
}
.rank-name small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.rank-score {
  font-weight: 700;
  color: var(--green);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
}
details:last-child {
  border: 0;
}
summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  min-height: 30px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  margin: 16px 0;
}
td,
th {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
th {
  background: var(--paper);
}
.table-wrap {
  overflow: auto;
}
dialog {
  border: 0;
  padding: 0;
  border-radius: 24px;
  width: min(500px, calc(100% - 24px));
  max-height: 90dvh;
  box-shadow: 0 30px 100px #06271940;
  color: var(--ink);
}
dialog::backdrop {
  background: #0a241e80;
  backdrop-filter: blur(4px);
}
.modal {
  padding: 29px;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.modal h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 8px 0;
}
.modal p {
  font-size: 12px;
  color: var(--muted);
}
.close {
  border: 0;
  background: var(--paper);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  font-size: 23px;
}
.field {
  display: block;
  margin: 17px 0 7px;
  font-size: 12px;
  font-weight: 700;
}
input,
select {
  padding: 12px;
  border: 1px solid #cfd8cd;
  border-radius: 11px;
  background: white;
  width: 100%;
  min-height: 47px;
  color: var(--ink);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.day-grid,
.time-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 7px;
  margin-top: 9px;
}
.day,
.time {
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  font-size: 12px;
}
.day.selected,
.time.selected {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.time-grid {
  grid-template-columns: repeat(4, 1fr);
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  margin: 15px 0;
}
.full {
  width: 100%;
  margin-top: 17px;
}
.success-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #eaf0e5;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 29px;
  margin: 10px 0 20px;
}
.booking-summary {
  padding: 18px;
  background: var(--paper);
  border-radius: 13px;
  margin: 18px 0;
  font-size: 13px;
  line-height: 2;
}
.booking-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.booking-row span {
  color: var(--muted);
}
.empty {
  text-align: center;
  padding: 44px 20px;
}
.empty h2 {
  font-size: 23px;
}
.empty p {
  max-width: 350px;
  margin: 12px auto 22px;
}
.booking-card {
  display: flex;
  align-items: center;
  gap: 20px;
}
.date-tile {
  width: 72px;
  flex-shrink: 0;
  padding: 13px 0;
  text-align: center;
  background: #eaf0e5;
  border-radius: 13px;
  color: var(--green);
  font-size: 10px;
}
.date-tile strong {
  font-size: 26px;
  display: block;
}
.booking-card h3 {
  margin: 0;
  font-size: 16px;
}
.booking-card p {
  margin: 6px 0;
  font-size: 12px;
}
.status {
  font-size: 10px;
  color: var(--green);
}
#toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--deep);
  color: white;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  transition: 0.25s;
  max-width: 90vw;
}
#toast.show,
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.mini-label {
  font-size: 10px;
  color: var(--muted);
}
@media (min-width: 1450px) {
  .workspace {
    padding: 0 60px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 312px;
    gap: 30px;
  }
  .hero-copy {
    padding: 38px 40px;
  }
  .hero {
    min-height: 350px;
  }
  .hero-pattern {
    width: 230px;
    right: -20px;
  }
  .hero h2 {
    font-size: 54px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 208px;
    padding: 27px 16px;
  }
  .workspace {
    width: calc(100% - 208px);
    padding: 0 26px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
  }
  .hero-copy {
    padding: 28px 24px;
    width: 85%;
  }
  .hero h2 {
    font-size: 37px;
  }
  .hero-pattern {
    right: -65px;
    width: 150px;
  }
  .side-card {
    padding: 19px;
  }
  .brand span {
    font-size: 21px;
  }
  .station-card {
    padding: 17px;
  }
  .top-label {
    font-size: 8px;
    letter-spacing: 0.9px;
  }
}
@media (max-width: 950px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .right-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .next-card {
    margin-top: 0;
  }
  .score-ring {
    width: 120px;
    height: 120px;
    margin: 15px auto;
  }
  .hero-pattern {
    width: 220px;
    right: 0;
  }
  .hero-copy {
    width: 75%;
  }
  .hero h2 {
    font-size: 43px;
  }
  .hero {
    min-height: 325px;
  }
  .score-ring strong {
    font-size: 35px;
  }
  .ranking-mini {
    margin-top: 15px;
    padding-top: 10px;
  }
}
@media (max-width: 650px) {
  body {
    font-size: 14px;
  }
  .demo {
    font-size: 9px;
    height: 25px;
    padding: 5px;
  }
  .shell {
    display: block;
    min-height: calc(100dvh - 25px);
  }
  .sidebar {
    display: none;
  }
  .workspace {
    width: 100%;
    padding: 0 20px;
  }
  .topbar {
    height: 76px;
  }
  .top-label {
    display: none;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    letter-spacing: -0.4px;
  }
  .mobile-brand img {
    width: 30px;
    height: 37px;
    object-fit: contain;
  }
  .help-button {
    width: 33px;
    height: 33px;
  }
  .greeting {
    margin: 2px 0 20px;
    align-items: flex-end;
  }
  .greeting h1,
  .page-heading {
    font-size: 25px;
    letter-spacing: -0.8px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.3px;
  }
  .greeting .badge {
    font-size: 8px;
    padding: 6px 8px;
    margin-bottom: 2px;
  }
  .dashboard-grid {
    gap: 19px;
  }
  .hero {
    min-height: 318px;
    border-radius: 20px;
  }
  .hero-copy {
    padding: 26px 23px;
    width: 87%;
  }
  .hero h2 {
    font-size: 38px;
    letter-spacing: -1.5px;
    margin: 23px 0 15px;
  }
  .hero p {
    font-size: 11px;
    max-width: 226px;
  }
  .hero-pattern {
    width: 117px;
    right: -25px;
    opacity: 0.8;
    top: -20px;
    height: 370px;
    mask-image: linear-gradient(to right, transparent, black 50%);
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero-meta {
    font-size: 9px;
    gap: 15px;
    margin-top: 20px;
  }
  .hero-meta b {
    font-size: 11px;
  }
  .hero .primary {
    min-height: 47px;
    font-size: 12px;
    padding: 12px 16px;
    gap: 25px;
  }
  .section-heading {
    margin: 23px 0 12px;
  }
  .section-heading h2 {
    font-size: 18px;
  }
  .station-grid {
    gap: 10px;
  }
  .station-card {
    padding: 15px 13px;
    border-radius: 15px;
  }
  .station-card h3 {
    font-size: 13px;
    min-height: 34px;
    margin-top: 13px;
  }
  .station-card p {
    font-size: 10px;
    min-height: 15px;
  }
  .station-bottom {
    font-size: 9px;
    gap: 3px;
    margin-top: 13px;
  }
  .points {
    font-size: 11px;
  }
  .station-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }
  .station-icon svg {
    width: 23px;
  }
  .station-number {
    font-size: 9px;
  }
  .right-column {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .side-card {
    padding: 20px;
  }
  .progress-card {
    display: grid;
    grid-template-columns: 98px 1fr;
    column-gap: 16px;
    align-items: center;
  }
  .progress-card > h2,
  .progress-card > .side-sub {
    grid-column: 2;
  }
  .progress-card > .score-ring {
    grid-column: 1;
    grid-row: 1/6;
    width: 92px;
    height: 92px;
    margin: 0;
  }
  .score-ring:before {
    inset: 6px;
  }
  .score-ring strong {
    font-size: 30px;
  }
  .score-ring span {
    font-size: 8px;
  }
  .progress-card > .progress-label {
    margin-top: 10px;
  }
  .progress-note {
    margin: 6px 0 0;
    font-size: 10px;
  }
  .ranking-mini {
    grid-column: 1/3;
    margin-top: 15px;
  }
  .ranking-mini b {
    font-size: 21px;
  }
  .next-card {
    position: relative;
  }
  .next-card p {
    max-width: 290px;
  }
  .notice {
    margin-top: 15px;
    padding: 14px;
  }
  .notice p {
    font-size: 10px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 9px 5px calc(8px + var(--safe));
    background: #fffffff5;
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--line);
    z-index: 3;
    justify-content: space-around;
  }
  .mobile-nav .nav-item {
    flex-direction: column;
    gap: 5px;
    font-size: 9px;
    border-radius: 10px;
    padding: 5px 8px;
    margin: 0;
    min-width: 55px;
    min-height: 47px;
  }
  .mobile-nav .nav-item.active {
    background: transparent;
    color: var(--green);
  }
  .mobile-nav .nav-item:not(.active) {
    color: #8a948b;
  }
  .mobile-nav .nav-item.active svg {
    stroke-width: 2.5;
  }
  .mobile-nav .nav-item:nth-child(4) {
    display: none;
  }
  footer {
    padding: 24px 0 calc(100px + var(--safe));
    font-size: 8px;
    display: block;
  }
  footer span {
    display: block;
    margin-top: 5px;
  }
  .page-content {
    min-height: 65vh;
  }
  .page-intro {
    font-size: 12px;
  }
  .page-content .station-grid {
    gap: 10px;
  }
  .page-content .station-card {
    padding: 17px 13px;
  }
  .large-card {
    padding: 20px;
    border-radius: 17px;
  }
  .large-card h2 {
    font-size: 18px;
  }
  .large-card p,
  .large-card li {
    font-size: 12px;
  }
  .detail-metrics {
    gap: 6px;
  }
  .metric {
    padding: 12px 8px;
    font-size: 9px;
  }
  .metric b {
    font-size: 17px;
  }
  .detail-hero {
    gap: 12px;
  }
  .detail-hero h2 {
    font-size: 17px;
  }
  .modal {
    padding: 24px 20px;
  }
  .modal h2 {
    font-size: 22px;
  }
  .rank-row {
    gap: 9px;
    font-size: 12px;
    padding: 16px 5px;
  }
  .rank-row .avatar {
    width: 31px;
    height: 31px;
    font-size: 10px;
  }
  #toast {
    bottom: 100px;
  }
  .booking-card {
    gap: 13px;
  }
  .booking-card h3 {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .workspace {
    padding: 0 13px;
  }
  .hero-copy {
    padding: 24px 19px;
  }
  .hero h2 {
    font-size: 34px;
  }
  .hero-pattern {
    right: -40px;
  }
  .greeting h1 {
    font-size: 22px;
  }
  .greeting .badge {
    font-size: 7px;
  }
  .station-card {
    padding: 13px 10px;
  }
  .station-card h3 {
    font-size: 12px;
  }
  .mobile-nav .nav-item {
    padding: 5px;
    min-width: 50px;
  }
  .hero-meta {
    gap: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.mobile-profile {
  display: none;
}
@media (max-width: 650px) {
  .mobile-profile {
    display: block;
    margin-left: auto;
    margin-right: 10px;
    border: 0;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    background: #eee6d6;
    color: #765b32;
    font-size: 11px;
    font-weight: 700;
  }
  .hero p {
    font-size: 12px;
  }
  .station-card p {
    font-size: 11px;
    min-height: 32px;
  }
  .station-bottom {
    font-size: 10px;
  }
  .station-number {
    font-size: 10px;
  }
  .notice p {
    font-size: 12px;
  }
  .next-card p {
    font-size: 12px;
  }
  .progress-note {
    font-size: 11px;
  }
  .side-sub {
    font-size: 11px;
  }
  .mini-label {
    font-size: 11px;
  }
  .form-note {
    font-size: 12px;
  }
}
@media (max-width: 650px) {
  .hero h2 {
    font-size: clamp(26px, 8vw, 35px);
    letter-spacing: -1.2px;
  }
  .hero-copy {
    width: 90%;
  }
  .hero-meta {
    gap: 12px;
    white-space: nowrap;
    font-size: 9px;
  }
  .hero-pattern {
    width: 108px;
    right: -30px;
  }
  .hero p {
    max-width: 215px;
  }
  .hero .primary {
    gap: 14px;
    padding: 12px 14px;
  }
  .hero {
    min-height: 315px;
  }
}
@media (max-width: 360px) {
  .hero-copy {
    width: 97%;
  }
  .hero .primary {
    font-size: 11px;
  }
  .hero-meta {
    gap: 10px;
    font-size: 8px;
  }
  .hero-pattern {
    right: -48px;
  }
  .hero p {
    max-width: 190px;
    font-size: 11px;
  }
  .hero h2 {
    font-size: 27px;
  }
}
/* Кабинеты инструктора и администратора */
.role-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  margin-bottom: 28px;
}
.role-toolbar > div > small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.role-tabs {
  display: flex;
  padding: 4px;
  background: var(--paper);
  border-radius: 11px;
  gap: 3px;
}
.role-tabs button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 9px 17px;
  min-height: 40px;
  font-size: 12px;
  color: var(--muted);
}
.role-tabs button.active {
  background: var(--green);
  color: white;
  font-weight: bold;
}
.staff-intro {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}
.staff-identity {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.staff-identity small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.staff-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 23px 0;
}
.staff-stats > div {
  background: white;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
}
.staff-stats strong {
  font-size: 30px;
  line-height: 1.2;
  grid-column: 1;
  grid-row: 1;
  color: var(--green);
}
.staff-stats span {
  color: var(--gold);
  grid-column: 2;
}
.staff-stats small {
  font-size: 11px;
  color: var(--muted);
  grid-column: 1/3;
  margin-top: 9px;
}
.staff-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  border-radius: 20px;
  background: var(--green);
  padding: 28px 30px;
  color: white;
  position: relative;
  overflow: hidden;
}
.staff-banner:after {
  content: '';
  position: absolute;
  right: -40px;
  top: -120px;
  width: 260px;
  height: 260px;
  border: 30px double #ffffff0c;
  border-radius: 50%;
  pointer-events: none;
}
.staff-banner .eyebrow {
  color: #d6b276;
  font-size: 9px;
}
.staff-banner h2 {
  font-size: 24px;
  letter-spacing: -0.7px;
  margin: 9px 0;
}
.staff-banner p {
  font-size: 12px;
  color: #c5d7cc;
  max-width: 510px;
  margin: 0;
}
.staff-banner .primary {
  white-space: nowrap;
  z-index: 1;
}
.filter-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  color: var(--muted);
}
.filter-label select {
  width: 120px;
  min-height: 40px;
  padding: 8px;
  font-size: 11px;
}
.agenda {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  padding: 0 20px;
}
.visit-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.visit-row:last-child {
  border: 0;
}
.visit-time {
  min-width: 52px;
}
.visit-time strong {
  font-size: 16px;
  display: block;
  color: var(--green);
}
.visit-time span {
  font-size: 10px;
  color: var(--muted);
}
.visit-person {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 1;
  min-width: 0;
}
.visit-person strong {
  font-size: 12px;
}
.visit-person small,
.visit-progress small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.progress-dots {
  display: flex;
  gap: 5px;
}
.progress-dots > span {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  width: 25px;
  height: 25px;
  border-radius: 8px;
  color: #939e92;
  font-size: 10px;
}
.progress-dots > span.complete {
  background: #eaf0e5;
  color: var(--green);
  border-color: #d5e0ce;
  font-weight: bold;
}
.visit-progress small {
  margin-top: 5px;
}
.arrival {
  font-size: 10px;
  color: #8a7650;
  background: #f5f0e4;
  padding: 6px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.arrival.is-arrived {
  color: var(--green);
  background: #eaf0e5;
}
.visit-actions {
  display: flex;
  gap: 7px;
}
.visit-actions .secondary {
  font-size: 10px;
  padding: 9px 12px;
  min-height: 38px;
}
.search-field {
  font-size: 11px;
  color: var(--muted);
  display: block;
  max-width: 440px;
  margin: 25px 0;
}
.search-field input {
  margin-top: 8px;
}
.people-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.person-card {
  border: 1px solid var(--line);
  background: white;
  border-radius: 18px;
  padding: 22px;
  text-align: left;
}
.person-card:hover {
  border-color: #90a68e;
}
.person-card-top {
  display: flex;
  align-items: center;
  gap: 11px;
}
.person-card-top strong {
  font-size: 13px;
}
.person-card small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.person-total {
  margin-left: auto;
  font-size: 25px;
  color: var(--green);
  font-weight: bold;
  text-align: right;
}
.person-total small {
  font-weight: normal;
}
.person-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 18px;
  gap: 8px;
}
.person-card-bottom > span {
  font-size: 10px;
  color: var(--muted);
}
.person-card-bottom b {
  margin-left: 5px;
  color: var(--green);
}
.participant-summary {
  padding: 16px;
  background: var(--paper);
  border-radius: 13px;
  margin: 17px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
}
.participant-summary strong {
  color: var(--green);
  font-size: 27px;
}
.participant-summary strong small {
  font-size: 11px;
  font-weight: normal;
  color: var(--muted);
}
.result-station {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.result-station > div {
  flex: 1;
  min-width: 0;
}
.result-station strong {
  display: block;
  font-size: 13px;
}
.result-station small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.result-station .secondary {
  font-size: 11px;
  min-height: 40px;
  padding: 8px 12px;
}
.result-check {
  font-size: 20px;
  color: var(--green);
  text-align: center;
}
.result-check small {
  font-size: 9px;
  color: var(--green);
}
.score-preview {
  background: #eaf0e5;
  border-radius: 13px;
  padding: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
  color: var(--green);
  font-size: 12px;
}
.score-preview span small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.score-preview output {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.score-preview output small {
  font-size: 13px;
  font-weight: normal;
}
.booking-purpose {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px;
  background: var(--paper);
  border-radius: 12px;
  margin: 17px 0;
  color: var(--green);
}
.booking-purpose strong {
  font-size: 13px;
}
.booking-purpose small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 4px;
}
.protocol-card small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.protocol-card th {
  font-size: 10px;
}
.protocol-card td {
  font-size: 12px;
}
.protocol-card td:nth-child(2),
.protocol-card td:nth-child(3) {
  white-space: nowrap;
}
.pick-list button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: white;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  text-align: left;
  font-size: 13px;
  min-height: 65px;
}
.pick-list small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.pick-list b {
  margin-left: auto;
  color: var(--green);
}
.modal .booking-row {
  flex-wrap: wrap;
}
input[readonly] {
  background: var(--paper);
  color: var(--muted);
}
@media (max-width: 1150px) {
  .visit-row {
    gap: 12px;
    flex-wrap: wrap;
  }
  .visit-person {
    min-width: 180px;
  }
  .visit-progress {
    margin-left: auto;
  }
  .visit-actions {
    margin-left: auto;
  }
  .arrival {
    margin-left: auto;
  }
  .staff-banner h2 {
    font-size: 21px;
  }
  .staff-banner {
    padding: 25px;
  }
  .staff-identity {
    display: none;
  }
  .role-tabs button {
    padding: 9px 11px;
  }
  .people-list {
    grid-template-columns: 1fr;
  }
  .staff-stats > div {
    padding: 15px;
  }
}
@media (max-width: 650px) {
  .role-toolbar {
    display: block;
    padding: 12px;
    margin-bottom: 23px;
  }
  .role-toolbar > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 9px;
  }
  .role-toolbar > div > small {
    font-size: 9px;
    margin: 0;
  }
  .role-toolbar .eyebrow {
    font-size: 8px;
  }
  .role-tabs {
    width: 100%;
  }
  .role-tabs button {
    flex: 1;
    font-size: 11px;
    padding: 9px 5px;
    min-height: 43px;
  }
  .staff-intro {
    font-size: 12px;
  }
  .staff-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
  }
  .staff-stats > div {
    padding: 16px;
  }
  .staff-stats strong {
    font-size: 29px;
  }
  .staff-stats small {
    font-size: 11px;
  }
  .staff-banner {
    display: block;
    padding: 23px;
    border-radius: 18px;
  }
  .staff-banner h2 {
    font-size: 23px;
    line-height: 1.2;
    margin: 15px 0 12px;
  }
  .staff-banner p {
    font-size: 12px;
  }
  .staff-banner .primary {
    margin-top: 22px;
    width: 100%;
  }
  .staff-banner .eyebrow {
    font-size: 8px;
  }
  .section-heading:has(.filter-label) {
    align-items: flex-start;
    gap: 14px;
  }
  .section-heading:has(.filter-label) h2 {
    font-size: 17px;
    max-width: 170px;
  }
  .filter-label {
    display: block;
    font-size: 9px;
    flex-shrink: 0;
  }
  .filter-label select {
    width: 100px;
    font-size: 11px;
    margin-top: 5px;
  }
  .agenda {
    padding: 0 16px;
  }
  .visit-row {
    gap: 11px;
    padding: 18px 0;
    display: grid;
    grid-template-columns: 50px 1fr auto;
  }
  .visit-person {
    min-width: 0;
    grid-column: 2/4;
    gap: 8px;
  }
  .visit-person .avatar {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }
  .visit-person strong {
    font-size: 12px;
  }
  .visit-person small {
    font-size: 10px;
  }
  .visit-time {
    min-width: 0;
  }
  .visit-time strong {
    font-size: 15px;
  }
  .visit-progress {
    grid-column: 2;
    margin: 0;
  }
  .arrival {
    grid-row: 3;
    grid-column: 2;
    margin: 0;
    width: fit-content;
    font-size: 9px;
  }
  .visit-actions {
    grid-column: 3;
    grid-row: 2/4;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .visit-actions .secondary {
    min-height: 39px;
    font-size: 10px;
  }
  .progress-dots > span {
    width: 24px;
    height: 24px;
  }
  .people-list {
    gap: 12px;
  }
  .person-card {
    padding: 18px;
  }
  .person-card-top strong {
    font-size: 12px;
  }
  .person-card-top .avatar {
    width: 32px;
    height: 32px;
  }
  .person-card-bottom > span {
    font-size: 10px;
  }
  .person-total {
    font-size: 24px;
  }
  .result-station {
    gap: 8px;
    padding: 17px 0;
  }
  .result-station .station-icon {
    width: 32px;
    height: 36px;
    flex-shrink: 0;
  }
  .result-station strong {
    font-size: 12px;
  }
  .result-station small {
    font-size: 10px;
  }
  .result-station .secondary {
    padding: 8px;
    min-height: 42px;
    font-size: 10px;
  }
  .participant-summary {
    gap: 10px;
    font-size: 10px;
  }
  .participant-summary strong {
    font-size: 25px;
  }
  .participant-summary strong small {
    font-size: 10px;
  }
  .protocol-card {
    padding: 12px;
  }
  .protocol-card th,
  .protocol-card td {
    padding: 9px 7px;
  }
  .protocol-card td {
    font-size: 11px;
  }
  .protocol-card small {
    font-size: 9px;
  }
  .booking-purpose {
    padding: 13px;
  }
  .form-grid {
    gap: 9px;
  }
}
dialog {
  max-width: calc(100vw - 24px);
}
.participant-summary strong {
  white-space: nowrap;
  flex-shrink: 0;
}
.participant-summary strong small {
  display: inline;
}
.participant-summary > span {
  min-width: 0;
}
/* Управление проектом */
.admin-settings-shortcut {
  display: flex;
  align-items: center;
  gap: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 20px 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}
.admin-settings-shortcut small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 11px;
}
.admin-settings-shortcut b {
  margin-left: auto;
}
.settings-tabs {
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin: 23px 0;
}
.settings-tabs button {
  border: 0;
  background: transparent;
  border-radius: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  min-height: 45px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.settings-tabs button.active {
  background: var(--green);
  color: white;
}
.settings-tabs button span {
  background: #ffffff22;
  border-radius: 7px;
  padding: 1px 7px;
  font-size: 10px;
}
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 23px;
}
.settings-form {
  margin: 0;
  padding: 28px;
}
.settings-section-title {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 22px;
}
.settings-section-title h2 {
  font-size: 17px;
  margin: 0;
}
.settings-section-title p {
  font-size: 11px;
  margin: 4px 0 0;
}
.settings-helper {
  font-size: 11px !important;
  line-height: 1.7 !important;
  color: var(--muted);
  margin: 10px 0 20px;
}
.settings-fixed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--paper);
  border-radius: 12px;
  padding: 16px;
  gap: 12px;
}
.settings-fixed span {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.settings-fixed strong {
  display: block;
  font-size: 17px;
  margin-top: 4px;
  color: var(--green);
}
.settings-save-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.settings-save-row > span {
  font-size: 10px;
  color: var(--muted);
  max-width: 120px;
}
.settings-save-row .primary {
  font-size: 12px;
  padding: 12px 16px;
}
.period-preview {
  background: var(--green);
  border-radius: 20px;
  padding: 27px;
  color: white;
  overflow: hidden;
}
.period-preview .eyebrow {
  color: var(--gold);
  font-size: 9px;
}
.calendar-art {
  display: grid;
  place-items: center;
  width: 51px;
  height: 51px;
  border: 1px solid #ffffff30;
  border-radius: 14px;
  margin: 25px 0;
}
.calendar-art .icon {
  width: 27px;
  height: 27px;
  color: var(--gold);
}
.period-preview h2 {
  font-size: 23px;
  line-height: 1.2;
  margin: 16px 0;
}
.period-preview p {
  font-size: 12px;
  color: #d1e1d3;
  line-height: 1.7;
}
.period-duration {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 22px;
  border-top: 1px solid #ffffff22;
  margin-top: 26px;
}
.period-duration strong {
  font-size: 49px;
  line-height: 1;
  color: #dbb77c;
}
.period-duration span {
  font-size: 11px;
  line-height: 1.6;
  color: #d1e1d3;
}
.settings-tip {
  padding: 19px 8px;
}
.settings-tip h3 {
  font-size: 14px;
  margin: 8px 0;
}
.settings-tip p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.permissions-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.permissions-overview > div {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: white;
  padding: 21px;
}
.permissions-overview h3 {
  font-size: 14px;
  margin: 14px 0 7px;
}
.permissions-overview p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.access-card {
  margin-top: 20px;
}
.access-card .section-heading {
  margin-top: 0;
}
.access-card .search-field {
  margin: 17px 0 7px;
}
.access-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.access-row:last-child {
  border: 0;
}
.access-person {
  flex: 1;
  min-width: 0;
}
.access-person strong {
  font-size: 13px;
}
.access-person small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}
.access-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.access-controls select {
  width: 165px;
  min-height: 44px;
  font-size: 12px;
}
.access-controls button {
  min-height: 44px;
  font-size: 11px;
}
.access-controls select:disabled {
  color: var(--muted);
  background: var(--paper);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sidebar-title {
  overflow-wrap: anywhere;
}
.visit-time span {
  display: block;
  max-width: 110px;
}
.day {
  font-size: 11px;
}
@media (max-width: 1100px) {
  .settings-grid {
    grid-template-columns: minmax(0, 1fr) 225px;
    gap: 17px;
  }
  .settings-form {
    padding: 22px;
  }
  .settings-save-row {
    align-items: stretch;
    flex-direction: column;
  }
  .settings-save-row > span {
    max-width: none;
  }
  .access-controls select {
    width: 145px;
  }
  .permissions-overview > div {
    padding: 16px;
  }
}
@media (max-width: 900px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid aside {
    display: none;
  }
  .access-row {
    flex-wrap: wrap;
  }
  .access-controls {
    width: 100%;
    padding-left: 49px;
  }
  .access-controls select {
    flex: 1;
  }
  .permissions-overview {
    gap: 10px;
  }
  .permissions-overview > div {
    padding: 14px;
  }
}
@media (max-width: 650px) {
  .settings-tabs {
    gap: 5px;
    padding-bottom: 13px;
  }
  .settings-tabs button {
    flex: 1;
    font-size: 11px;
    padding: 10px 8px;
    gap: 7px;
  }
  .settings-tabs .icon {
    width: 18px;
  }
  .settings-tabs button span {
    font-size: 9px;
  }
  .settings-form {
    padding: 19px;
  }
  .settings-section-title {
    gap: 10px;
  }
  .settings-section-title h2 {
    font-size: 16px;
  }
  .settings-section-title p {
    font-size: 11px;
  }
  .settings-form .form-grid {
    grid-template-columns: 1fr;
  }
  .settings-fixed {
    padding: 13px 10px;
    gap: 7px;
  }
  .settings-fixed span {
    font-size: 9px;
  }
  .settings-fixed strong {
    font-size: 16px;
  }
  .settings-helper {
    font-size: 12px !important;
  }
  .settings-save-row {
    margin-top: 20px;
    padding-top: 19px;
  }
  .settings-save-row .primary {
    min-height: 47px;
  }
  .permissions-overview {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .permissions-overview > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0 12px;
    padding: 15px;
  }
  .permissions-overview .station-icon {
    grid-column: 1;
    grid-row: 1/3;
  }
  .permissions-overview h3 {
    margin: 0 0 4px;
    font-size: 13px;
    grid-column: 2;
  }
  .permissions-overview p {
    grid-column: 2;
    font-size: 11px;
  }
  .access-card {
    padding: 18px;
  }
  .access-card h2 {
    font-size: 16px;
  }
  .access-row {
    gap: 10px;
  }
  .access-row .avatar {
    width: 33px;
    height: 33px;
  }
  .access-person strong {
    font-size: 12px;
  }
  .access-controls {
    padding-left: 0;
    gap: 8px;
  }
  .access-controls select {
    width: 0;
    min-width: 0;
    font-size: 11px;
  }
  .access-controls button {
    font-size: 11px;
    padding: 10px 12px;
  }
  .mobile-nav .nav-item {
    min-width: 0;
    font-size: 8px;
    padding: 5px 4px;
  }
  .admin-settings-shortcut {
    font-size: 12px;
  }
  .admin-settings-shortcut small {
    font-size: 10px;
  }
  .settings-form input[type='date'] {
    min-width: 0;
    width: 100%;
  }
}
