:root {
  --ink: #202932;
  --muted: #62717c;
  --orange: #bd430b;
  --orange-dark: #923008;
  --red: #e02630;
  --line: #e3e8eb;
  --soft: #f3f6f8;
  --navy: #183543;
  --radius: 16px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
  background: #fff;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: var(--orange);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #1567a5;
  outline-offset: 3px;
}
button {
  border: 0;
}
p {
  line-height: 1.6;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.14;
}
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h2 {
  font-size: 1.6rem;
}
h3 {
  font-size: 1.1rem;
}
small {
  font-size: 0.8rem;
}
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
img {
  max-width: 100%;
}
.boot {
  padding: 5rem;
  text-align: center;
}
.skip {
  position: fixed;
  top: -60px;
  z-index: 99;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.logo-crop {
  position: relative;
  display: block;
  width: 145px;
  aspect-ratio: 470/224;
  overflow: hidden;
}
.logo-crop img {
  position: absolute;
  max-width: none;
  width: 435.75%;
  height: auto;
  left: -51.06%;
  top: 0;
}
.logo-fit {
  width: 137px;
  aspect-ratio: 460/224;
}
.logo-fit img {
  width: 445.22%;
  left: -295.65%;
}
.divider {
  width: 1px;
  height: 36px;
  background: var(--line);
}
.topbar {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 5%;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.top-label {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-weight: 700;
}
.icon-circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: #fff0e8;
  color: var(--orange);
  border-radius: 12px;
}
.auth-layout {
  min-height: calc(100svh - 99px);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-aside {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: clamp(30px, 5vw, 75px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  gap: 10px;
  align-items: center;
}
.auth-aside h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.5rem);
  max-width: 520px;
  margin: 0;
}
.auth-aside .intro {
  color: #d5e2e9;
  max-width: 460px;
  margin: 0;
  font-size: 1.05rem;
}
.campus-teaser {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  position: relative;
  height: 255px;
  overflow: hidden;
  max-width: 480px;
}
.campus-teaser img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.teaser-label {
  position: absolute;
  left: 22px;
  bottom: 20px;
  background: var(--navy);
  border: 1px solid #667985;
  padding: 8px 13px;
  border-radius: 25px;
  font-size: 0.8rem;
  color: white;
}
.aside-bottom {
  border-top: 1px solid #45606b;
  padding-top: 20px;
  font-size: 0.84rem;
  color: #c1d0d8;
}
.auth-main {
  padding: 45px clamp(24px, 5vw, 78px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.auth-card {
  width: 100%;
  max-width: 420px;
}
.auth-card h2 {
  font-size: 2rem;
  margin: 16px 0 9px;
}
.muted {
  color: var(--muted);
}
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin: 26px 0;
}
.auth-tabs button {
  flex: 1;
  background: none;
  padding: 13px 10px;
  font-weight: 650;
  font-size: 0.92rem;
  border-bottom: 3px solid transparent;
  color: var(--muted);
}
.auth-tabs .active {
  border-bottom-color: var(--orange);
  color: var(--orange);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
  text-align: left;
}
.field label {
  font-size: 0.9rem;
  font-weight: 650;
}
.field input,
.field select,
.field textarea,
.control {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #bdc8cf;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  min-width: 0;
  min-height: 46px;
}
.field input[aria-invalid="true"] {
  border-color: #b42318;
}
.field textarea {
  resize: vertical;
  min-height: 90px;
}
.password-wrap {
  position: relative;
}
.password-wrap input {
  padding-right: 50px;
}
.eye-button {
  position: absolute;
  right: 4px;
  top: 3px;
  width: 42px;
  height: 42px;
  color: var(--muted);
  background: transparent;
  display: grid;
  place-items: center;
}
.field-error {
  font-size: 0.82rem;
  color: #ad291c;
  min-height: 0;
}
.hint {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.btn {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  background: var(--orange);
  color: white;
  line-height: 1.35;
}
.btn:hover {
  background: var(--orange-dark);
}
.btn.secondary {
  border: 1px solid #bdc8cf;
  background: #fff;
  color: var(--ink);
}
.btn.secondary:hover {
  background: var(--soft);
}
.btn.ghost {
  background: transparent;
  color: var(--muted);
  padding: 10px;
}
.btn.small {
  padding: 9px 12px;
  min-height: 42px;
  font-size: 0.85rem;
}
.full {
  width: 100%;
}
.text-button {
  background: none;
  color: var(--orange);
  padding: 7px 0;
  font-size: 0.88rem;
  font-weight: 650;
}
.auth-links {
  display: flex;
  justify-content: flex-end;
  margin-top: -5px;
  margin-bottom: 15px;
}
.notice {
  border: 1px solid #ebd2ae;
  background: #fff8ed;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 15px 0;
  color: #705026;
}
.notice.error {
  border-color: #efc4c1;
  background: #fff4f3;
  color: #962f26;
}
.notice.success {
  border-color: #b8d6c6;
  background: #f0f9f4;
  color: #286342;
}
.or {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.8rem;
  margin: 22px 0;
}
.or:before,
.or:after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--line);
}
.auth-foot {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin: 25px 0 0;
  line-height: 1.55;
}
.shell {
  background: var(--soft);
  min-height: 100svh;
}
.app-top {
  padding: 10px 32px;
}
.app-title {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.top-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}
.avatar {
  background: var(--navy);
  color: #fff;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.workspace {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  max-width: 1800px;
  margin: 0 auto;
}
.sidebar {
  border-right: 1px solid var(--line);
  padding: 30px 18px;
  min-height: calc(100svh - 100px);
  background: #fff;
}
.sidebar .eyebrow {
  font-size: 0.74rem;
  color: var(--muted);
  padding: 0 12px;
  margin-bottom: 18px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  color: var(--muted);
  padding: 13px 14px;
  border-radius: 9px;
  text-align: left;
  margin: 6px 0;
  font-weight: 650;
  font-size: 0.9rem;
}
.nav-item.active {
  background: #fff0e7;
  color: var(--orange);
}
.nav-item:hover {
  background: var(--soft);
}
.sidebar-note {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
  padding: 24px 12px;
}
.content {
  padding: 32px clamp(20px, 3vw, 48px);
  min-width: 0;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}
.page-head h1 {
  font-size: 2rem;
  margin: 8px 0;
}
.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #d9e1e6;
  background: #fff;
  color: var(--muted);
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 0.75rem;
  line-height: 1.3;
  font-weight: 600;
}
.badge.pending {
  color: #765014;
  background: #fff8ea;
  border-color: #ead5ad;
}
.badge.good {
  color: #286342;
  background: #ecf8f0;
  border-color: #b9d7c4;
}
.tools {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}
.search {
  position: relative;
  flex: 1;
  min-width: 140px;
}
.search svg {
  position: absolute;
  left: 14px;
  top: 14px;
  color: var(--muted);
}
.search input {
  padding-left: 44px;
}
.tools select {
  max-width: 180px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.place-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.place-image {
  height: 126px;
  background: #eaf0f4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #718594;
  border-bottom: 1px solid var(--line);
}
.place-image svg {
  height: 28px;
  width: 28px;
}
.place-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.place-image small {
  font-size: 0.78rem;
}
.place-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  flex: 1;
}
.place-body h3 {
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.place-body p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}
.card-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.category {
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
}
.card-bottom {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.empty {
  border: 1px dashed #becbd3;
  border-radius: 12px;
  text-align: center;
  padding: 48px;
  background: #fff;
  color: var(--muted);
  grid-column: 1/-1;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 20px;
  min-width: 0;
}
.panel h2 {
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.map-layout,
.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
}
.map-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  max-height: 75svh;
}
.map-sheet {
  position: relative;
  min-width: 320px;
  max-width: 700px;
  margin: auto;
}
.map-sheet > img {
  width: 100%;
  display: block;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  border: 3px solid white;
  box-shadow: 0 2px 8px #18354355;
  font-size: 0.75rem;
  font-weight: 700;
}
.map-pin.selected {
  background: var(--orange);
  outline: 3px solid #e58d5c;
}
.map-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.map-list button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  background: none;
  padding: 9px 4px;
  color: var(--ink);
  font-size: 0.88rem;
}
.map-list span {
  width: 25px;
  height: 25px;
  background: var(--soft);
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.row {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.row .field {
  flex: 1;
  min-width: 160px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
}
.check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--orange);
}
.step-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--orange);
  font-weight: 700;
}
.step-instruction {
  font-size: 1.55rem;
  font-weight: 650;
  line-height: 1.4;
  margin: 18px 0 26px;
}
.step-track {
  display: flex;
  gap: 7px;
  margin: 20px 0;
}
.step-track span {
  height: 5px;
  background: var(--line);
  flex: 1;
  border-radius: 10px;
}
.step-track .done {
  background: var(--orange);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.steps li.current {
  color: var(--orange);
  font-weight: 700;
}
.steps .number {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--soft);
  flex-shrink: 0;
  font-size: 0.78rem;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
}
.status-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.status-item p {
  font-size: 0.9rem;
  margin: 7px 0;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.admin-list {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
dialog {
  border: 0;
  border-radius: 18px;
  max-width: 640px;
  width: calc(100% - 32px);
  padding: 28px;
  max-height: 90svh;
  color: var(--ink);
  box-shadow: 0 20px 100px #10253244;
}
dialog::backdrop {
  background: #122b3bc2;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.dialog-head h2 {
  margin: 0;
}
.close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 50%;
  color: var(--ink);
}
.detail-photo {
  height: 180px;
  border-radius: 12px;
  margin: 24px 0;
  overflow: hidden;
}
.detail-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0;
}
.detail-meta dt {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.detail-meta dd {
  margin: 0;
  font-size: 0.95rem;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  max-width: calc(100% - 32px);
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  padding: 0;
  box-shadow: 0 6px 30px #0002;
  font-size: 0.9rem;
}
#toast.show {
  padding: 14px 22px;
}
.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (min-width: 1600px) {
  .catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1150px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .map-layout,
  .route-layout {
    grid-template-columns: 1fr;
  }
  .map-wrap {
    max-height: none;
  }
  .auth-aside {
    padding: 40px 30px;
  }
  .workspace {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .app-top .top-label {
    display: none;
  }
}
@media (max-width: 760px) {
  .topbar {
    min-height: 85px;
    padding: 8px 20px;
  }
  .brand {
    gap: 13px;
  }
  .logo-crop {
    width: 124px;
  }
  .logo-fit {
    width: 116px;
  }
  .top-label {
    display: none;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    min-height: calc(100svh - 85px);
  }
  .auth-aside {
    display: none;
  }
  .auth-main {
    padding: 30px 22px;
    align-items: flex-start;
  }
  .auth-card {
    max-width: 460px;
  }
  .auth-card h2 {
    font-size: 1.85rem;
  }
  .workspace {
    display: block;
  }
  .sidebar {
    min-height: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 12px;
    display: flex;
    overflow-x: auto;
    gap: 5px;
  }
  .sidebar .eyebrow,
  .sidebar-note {
    display: none;
  }
  .nav-item {
    white-space: nowrap;
    width: auto;
    padding: 11px 12px;
    margin: 0;
    font-size: 0.8rem;
    gap: 7px;
  }
  .nav-item svg {
    width: 18px;
    height: 18px;
  }
  .content {
    padding: 25px 18px 40px;
  }
  .app-top {
    gap: 8px;
  }
  .app-top .logo-fit,
  .app-top .divider {
    display: none;
  }
  .app-top .brand {
    gap: 0;
  }
  .app-top .avatar {
    display: none;
  }
  .app-title {
    font-size: 0.88rem;
  }
  .top-actions {
    gap: 8px;
  }
  .top-actions .btn {
    padding: 10px;
    font-size: 0.8rem;
  }
  .page-head h1 {
    font-size: 1.7rem;
  }
  .page-head {
    gap: 10px;
    flex-wrap: wrap;
  }
  .page-head p {
    font-size: 0.9rem;
  }
  .tools {
    flex-wrap: wrap;
  }
  .search {
    flex-basis: 100%;
  }
  .tools select {
    max-width: none;
    flex: 1;
  }
  .catalog-grid {
    gap: 12px;
  }
  .place-body {
    padding: 15px;
  }
  .place-body h3 {
    font-size: 1rem;
  }
  .place-image {
    height: 105px;
  }
  .card-top {
    flex-wrap: wrap;
  }
  .card-bottom {
    flex-wrap: wrap;
  }
  .badge {
    font-size: 0.73rem;
  }
  .panel {
    padding: 20px;
  }
  .profile-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }
  .step-instruction {
    font-size: 1.25rem;
  }
  .detail-meta {
    grid-template-columns: 1fr;
  }
  .map-sheet {
    min-width: 290px;
  }
  .map-wrap {
    padding: 4px;
  }
  .map-pin {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }
  .page-head .btn {
    min-height: 42px;
  }
}
@media (max-width: 420px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .place-card {
    display: grid;
    grid-template-columns: 85px 1fr;
  }
  .place-image {
    height: 100%;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 6px;
  }
  .place-image small {
    text-align: center;
    font-size: 0.74rem;
  }
  .place-image img {
    min-height: 150px;
  }
  .place-body {
    gap: 10px;
  }
  .brand {
    gap: 8px;
  }
  .logo-crop {
    width: 114px;
  }
  .logo-fit {
    width: 108px;
  }
  .auth-main {
    padding-top: 20px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .btn,
  .nav-item {
    transition: background 0.15s;
  }
  .place-card {
    transition: box-shadow 0.15s;
  }
  .place-card:hover {
    box-shadow: 0 5px 15px #1633400b;
  }
}
@media print {
  .sidebar,
  .top-actions,
  .tools,
  .btn {
    display: none;
  }
  .workspace {
    display: block;
  }
  .content {
    padding: 0;
  }
  .map-wrap {
    max-height: none;
  }
  .notice {
    break-inside: avoid;
  }
}

/* Dirección visual final: azul profundo, naranja UAT y superficies claras. */
.auth-layout {
  background:
    radial-gradient(ellipse at 4% 15%, #285b7066, transparent 52%),
    radial-gradient(ellipse at 70% 115%, #e65a1544, transparent 45%), #102735;
  grid-template-columns: 1.05fr 1fr;
  gap: 10px;
  padding: 0 3%;
}
.auth-aside {
  background: transparent;
  padding: 46px 5%;
  gap: 25px;
}
.auth-aside h1 {
  font-size: clamp(3.1rem, 5.6vw, 5.6rem);
  letter-spacing: -0.055em;
  font-weight: 800;
  line-height: 1.02;
}
.auth-aside .accent {
  color: #ff944e;
}
.auth-aside .eyebrow {
  color: #e9f1f5;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}
.auth-aside .intro {
  font-size: 1.04rem;
  color: #c3d7e2;
  max-width: 370px;
}
.campus-teaser {
  height: 240px;
  max-width: 430px;
  padding: 11px;
  border-radius: 18px;
  box-shadow: 0 20px 55px #06131c80;
  transform: rotate(-2deg);
  border: 1px solid #ffffff80;
}
.aside-bottom {
  border-color: #45606b88;
  font-size: 0.8rem;
  margin-top: 5px;
}
.auth-main {
  padding: 42px 4%;
  align-items: center;
}
.auth-card {
  max-width: 468px;
  background: #fff;
  border: 1px solid #ffffff66;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 70px #03121d4d;
}
.auth-card h2 {
  font-size: 2rem;
  letter-spacing: -0.05em;
  color: #183543;
  font-weight: 780;
}
.auth-card > .icon-circle {
  background: linear-gradient(140deg, #fff0e5, #ffe1ca);
  width: 48px;
  height: 48px;
  border: 1px solid #f4c2a3;
}
.auth-card .btn:not(.secondary) {
  background: linear-gradient(110deg, #bd430b, #df5a16);
  box-shadow: 0 8px 20px #bd430b29;
  min-height: 50px;
}
.auth-card .btn:not(.secondary):hover {
  background: linear-gradient(110deg, #a83806, #bf470b);
}
.auth-tabs {
  margin: 24px 0;
  background: #f0f4f7;
  padding: 5px;
  border-radius: 10px;
  border-bottom: 0;
  gap: 4px;
}
.auth-tabs button {
  border: 0;
  border-radius: 7px;
  padding: 11px 9px;
}
.auth-tabs .active {
  background: white;
  box-shadow: 0 2px 6px #17374514;
  color: #a23a09;
}
.auth-card .notice {
  font-size: 0.8rem;
  background: #fff9ed;
  padding: 11px 13px;
}
.auth-card .field {
  margin: 16px 0;
}
.auth-card .field input {
  background: #fafcfd;
  border-color: #c5d1d9;
  min-height: 49px;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.auth-card .field input:focus {
  border-color: #bd430b;
  box-shadow: 0 0 0 3px #bd430b12;
  outline-offset: 2px;
}
.auth-card .auth-foot {
  margin-top: 20px;
}
.topbar:not(.app-top) {
  box-shadow: 0 1px 0 #ffffff22;
  position: relative;
  z-index: 1;
}
@media (min-width: 1700px) {
  .auth-layout {
    padding: 0 calc((100vw - 1550px) / 2);
  }
}
@media (max-width: 900px) and (min-width: 761px) {
  .auth-card {
    padding: 25px;
  }
  .auth-aside h1 {
    font-size: 3.4rem;
  }
  .auth-aside {
    padding: 32px 20px;
  }
  .auth-main {
    padding: 35px 0;
  }
}
@media (max-width: 760px) {
  .auth-layout {
    padding: 0;
    display: block;
    min-height: calc(100svh - 85px);
    background:
      radial-gradient(ellipse at 100% 0, #29596b, transparent 70%), #102735;
  }
  .auth-main {
    padding: 22px 16px 30px;
    align-items: flex-start;
  }
  .auth-card {
    padding: 25px 22px;
    border-radius: 19px;
    max-width: 460px;
  }
  .auth-card h2 {
    font-size: 1.8rem;
  }
  .auth-card .field {
    margin: 14px 0;
  }
  .auth-card .auth-tabs {
    margin: 20px 0;
  }
  .auth-aside {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-card .field input {
    transition: none;
  }
}
/* Comunidad FIT · Comidas y horario */
[hidden] {
  display: none !important;
}
.content {
  min-width: 0;
}
.seller-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #ead8ca;
  border-radius: 12px;
  background: #fff8f2;
  margin: 4px 0 22px;
  cursor: pointer;
}
.seller-option input,
.check input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #c54a0b;
}
.seller-option span {
  display: grid;
  gap: 4px;
}
.seller-option small {
  color: #65747d;
  font-size: 12px;
  line-height: 1.6;
}
.notification-bell {
  position: relative;
  border: 1px solid #d9e1e5;
  background: white;
  color: #173743;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.notification-bell svg {
  width: 20px;
}
.notification-bell span {
  position: absolute;
  right: -4px;
  top: -5px;
  background: #c54a0b;
  color: white;
  border: 2px solid white;
  border-radius: 20px;
  min-width: 20px;
  padding: 1px 4px;
  font-size: 10px;
}
.module-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid #dce3e6;
  margin: 26px 0 24px;
  padding-bottom: 10px;
}
.module-tabs button {
  border: 0;
  background: transparent;
  color: #576c79;
  font: inherit;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 10px;
  cursor: pointer;
}
.module-tabs button.active {
  background: #183743;
  color: white;
}
.module-tabs button:focus-visible {
  outline: 3px solid #cb4b0b;
  outline-offset: 2px;
}
.food-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: #173b45;
  color: #fff;
  border-radius: 22px;
  padding: 34px 40px;
  overflow: hidden;
  position: relative;
}
.food-banner:after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid #ffffff18;
  border-radius: 50%;
  right: 100px;
  top: -125px;
  pointer-events: none;
}
.food-banner .eyebrow {
  color: #ebbb95;
}
.food-banner h2 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -1.2px;
  line-height: 1.13;
  margin: 12px 0;
}
.food-banner p {
  color: #d0dfe0;
  margin: 0;
}
.food-stats {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 14px;
  align-items: center;
}
.food-stats strong {
  font-size: 34px;
  font-weight: 650;
}
.food-stats span {
  color: #cbdcde;
  font-size: 13px;
}
.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 22px;
  margin: 24px 0;
}
.food-card {
  border-radius: 18px;
  overflow: hidden;
  background: white;
  border: 1px solid #e0e6e9;
  box-shadow: 0 5px 18px #173b4505;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}
.food-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px #173b450d;
}
.food-photo {
  height: 205px;
  background: #f4eee6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #a5917a;
}
.food-photo svg {
  width: 40px;
  height: 40px;
}
.food-photo span {
  font-size: 12px;
}
.food-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.food-card-body {
  padding: 23px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.food-card-body .eyebrow {
  color: #bf4a10;
  font-size: 10px;
  letter-spacing: 1.7px;
}
.food-card-body h3 {
  font-size: 21px;
  letter-spacing: -0.4px;
  margin: 10px 0;
}
.food-card-body p {
  color: #61747d;
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}
.pickup {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.65;
  color: #63767f;
}
.pickup svg {
  width: 16px;
  height: 19px;
  flex-shrink: 0;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid #edf0f1;
  margin-top: auto;
}
.price-row strong {
  display: block;
  font-size: 24px;
  color: #173743;
  letter-spacing: -0.5px;
}
.price-row small {
  color: #61747d;
  font-size: 11px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.section-heading h2,
.section-heading h3 {
  margin: 8px 0;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.button-row .btn,
.section-heading .btn {
  width: auto;
}
.order-list,
.notification-list,
.product-manage {
  display: grid;
  gap: 16px;
}
.order-card {
  margin: 0;
}
.order-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.order-card p {
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.order-card .button-row {
  margin-top: 18px;
}
.order-note {
  background: #f5f7f8;
  border-left: 3px solid #d4e0e4;
  border-radius: 0 8px 8px 0;
  padding: 12px;
}
.order-total {
  font-size: 22px;
  font-weight: 700;
  color: #173743;
}
.danger {
  color: #ad3134 !important;
}
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 20px;
}
.vendor-card {
  margin: 0;
}
.vendor-card h2 {
  font-size: 24px;
}
.vendor-mark {
  width: 54px;
  height: 54px;
  background: #fbeee2;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #bf4a10;
  font-size: 26px;
  font-weight: 650;
  margin-bottom: 16px;
}
.vendor-review {
  margin-top: 18px;
}
.seller-intro {
  max-width: 800px;
  padding: 38px;
}
.seller-intro p,
.seller-intro li {
  line-height: 1.85;
  color: #5e727e;
}
.steps {
  padding-left: 23px;
  margin: 25px 0;
}
.steps li {
  padding: 4px;
}
.module-empty {
  grid-column: 1/-1;
  border: 1px dashed #ccd6dc;
  border-radius: 18px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 54px 22px;
  background: #fff;
}
.module-empty > svg {
  width: 38px;
  height: 38px;
  color: #b9653b;
  margin-bottom: 10px;
}
.module-empty h2 {
  font-size: 23px;
  margin: 12px 0;
}
.module-empty p {
  max-width: 530px;
  color: #667b88;
  line-height: 1.8;
  margin: 0;
}
.food-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 24px;
  padding: 32px;
  border-radius: 22px;
  background: #fff1e5;
}
.food-hero h2 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin: 20px 0;
}
.food-hero p {
  color: #66747b;
  line-height: 1.8;
}
.food-hero figure {
  margin: 0;
}
.food-hero img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
}
.food-hero figcaption {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 8px;
  color: #676563;
}
.food-hero figcaption a {
  color: inherit;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
  font-size: 13px;
  margin: 14px 0 22px;
}
.check input {
  margin-top: 3px;
}
.product-preview {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #f2f5f5;
  border-radius: 12px;
}
.module-dialog-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 4px;
}
.dialog-content h2 {
  font-size: 26px;
  margin: 10px 0 14px;
  letter-spacing: -0.6px;
}
.dialog-content > p {
  color: #687983;
  line-height: 1.75;
}
.dialog-content form {
  margin-top: 22px;
}
.dialog-content .field textarea {
  min-height: 85px;
}
.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
}
.notification.unread {
  border-left: 4px solid #c65019;
  background: #fffaf5;
}
.notification h3 {
  margin: 9px 0;
  font-size: 18px;
}
.notification p {
  margin: 8px 0;
  overflow-wrap: anywhere;
}
.notification .eyebrow {
  font-size: 10px;
  color: #a65228;
}
.schedule-welcome {
  position: relative;
  overflow: hidden;
  padding: 48px;
  max-width: 1100px;
  background: linear-gradient(120deg, #fff 50%, #edf4f1);
}
.schedule-welcome h2 {
  font-size: clamp(32px, 4.2vw, 55px);
  letter-spacing: -1.8px;
  line-height: 1.12;
  margin: 20px 0;
}
.schedule-welcome p {
  max-width: 570px;
  line-height: 1.8;
  color: #61757e;
}
.schedule-welcome .eyebrow {
  color: #b34c18;
}
.calendar-art {
  position: absolute;
  right: 7%;
  top: 22%;
  width: 170px;
  height: 180px;
  border: 1px solid #d8e7e2;
  border-radius: 26px;
  background: #fff;
  transform: rotate(8deg);
  box-shadow: 0 18px 40px #1c464514;
  display: grid;
  place-items: center;
}
.calendar-art svg {
  width: 100px;
  height: 100px;
  color: #2d665e;
}
.schedule-welcome > p,
.schedule-welcome > h2,
.schedule-welcome > .button-row,
.schedule-welcome > .eyebrow {
  position: relative;
  z-index: 1;
  max-width: 65%;
}
.schedule-steps {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid #dfe8e4;
  padding-top: 25px;
  margin-top: 36px;
  color: #5d7275;
  font-size: 12px;
}
.schedule-steps b {
  display: inline-block;
  color: #c45018;
  margin-right: 7px;
  font-size: 16px;
}
.schedule-header {
  border-radius: 20px;
  background: #173b45;
  color: #fff;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.schedule-header .eyebrow {
  color: #afcdc5;
  letter-spacing: 1.8px;
  font-size: 11px;
}
.schedule-header h2 {
  font-size: clamp(23px, 2.7vw, 32px);
  letter-spacing: -0.7px;
  margin: 12px 0;
  overflow-wrap: anywhere;
}
.schedule-header p {
  font-size: 12px;
  color: #c1d2d6;
  line-height: 1.7;
  margin: 0;
}
.schedule-numbers {
  display: flex;
  gap: 25px;
  text-align: center;
  flex-shrink: 0;
}
.schedule-numbers b {
  display: block;
  font-size: 32px;
}
.schedule-numbers span {
  display: block;
  font-size: 10px;
  color: #c1d2d6;
  white-space: nowrap;
}
.schedule-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.schedule-toolbar strong {
  font-size: 14px;
}
.week-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  background: white;
  padding: 10px;
  border: 1px solid #dfe7e9;
  border-radius: 18px;
  align-items: start;
}
.calendar-day > header {
  text-align: center;
  padding: 15px 5px;
  border-bottom: 1px solid #eaf0f2;
  margin-bottom: 12px;
  display: grid;
  gap: 5px;
}
.calendar-day > header span {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 10px;
  color: #627984;
}
.calendar-day > header b {
  font-size: 23px;
  font-weight: 600;
}
.calendar-day.today > header {
  background: #173b45;
  color: #fff;
  border-radius: 12px;
}
.calendar-day.today > header span {
  color: #cbddd9;
}
.calendar-sessions {
  display: grid;
  gap: 10px;
}
.class-card {
  padding: 15px 11px;
  border-radius: 10px;
  border: 1px solid #e8d5be;
  background: #fff5e6;
  color: #705020;
  min-width: 0;
  overflow-wrap: anywhere;
}
.class-card.color-1 {
  background: #edf5f1;
  border-color: #d2e5db;
  color: #2b5d4d;
}
.class-card.color-2 {
  background: #eff2fa;
  border-color: #dee2f0;
  color: #425a88;
}
.class-card.color-3 {
  background: #fbefec;
  border-color: #f0dcd4;
  color: #855248;
}
.class-card time {
  font-size: 10px;
  font-weight: 700;
  display: block;
}
.class-card h3 {
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0 8px;
}
.class-card p {
  font-size: 10px;
  line-height: 1.6;
  margin: 7px 0;
}
.class-room {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}
.class-room svg {
  width: 13px;
  height: 14px;
  flex-shrink: 0;
}
.class-card .text-button {
  font-size: 10px;
  margin: 10px 0 0;
  gap: 3px;
}
.class-card .text-button svg {
  width: 13px;
  height: 13px;
}
.day-free {
  text-align: center;
  font-size: 10px;
  color: #a4b0b7;
  padding: 24px 0;
}
.conflict-label {
  font-size: 10px;
  color: #a93131;
  display: block;
  margin-top: 8px;
}
.review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border: 1px solid #e0e6e8;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.review-row > div:first-child {
  display: grid;
  gap: 6px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.review-row span {
  font-size: 12px;
  color: #5a727f;
}
.review-row small {
  font-size: 11px;
  color: #6b7f88;
}
.review-check {
  padding-top: 16px;
  border-top: 1px solid #e1e7e9;
}
.pdf-text {
  font-size: 12px;
  margin: 20px 0;
}
.pdf-text summary {
  cursor: pointer;
  color: #8a501f;
}
.pdf-text pre {
  white-space: pre-wrap;
  max-height: 220px;
  overflow: auto;
  background: #f3f5f6;
  padding: 15px;
  border-radius: 10px;
}
.pdf-canvas-wrap {
  max-height: 65vh;
  overflow: auto;
  margin-top: 20px;
  background: #e6ebed;
}
.pdf-canvas-wrap canvas {
  width: 100%;
  height: auto;
  display: block;
}
.pdf-dialog {
  min-width: 0;
}
dialog:has(.schedule-review),
dialog:has(.pdf-dialog) {
  max-width: 900px;
  width: calc(100% - 32px);
}
dialog:has(.dialog-content) {
  max-height: 90dvh;
  overflow: auto;
}
.field input[type="file"] {
  font-size: 12px;
  padding: 12px;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (min-width: 1600px) {
  .class-card {
    padding: 18px 13px;
  }
  .class-card h3 {
    font-size: 14px;
  }
  .class-card time {
    font-size: 11px;
  }
  .class-card p {
    font-size: 12px;
  }
}
@media (max-width: 1150px) {
  .week-calendar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .calendar-art {
    width: 135px;
    height: 150px;
    right: 5%;
  }
  .calendar-art svg {
    width: 80px;
  }
  .schedule-header {
    flex-wrap: wrap;
  }
  .schedule-numbers {
    text-align: left;
  }
  .food-banner {
    padding: 30px;
  }
  .class-card h3 {
    font-size: 14px;
  }
  .class-card p {
    font-size: 12px;
  }
  .class-card time {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .food-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .food-hero img {
    height: 220px;
  }
  .food-banner {
    padding: 25px;
    align-items: flex-start;
    gap: 20px;
  }
  .food-banner h2 {
    font-size: 28px;
  }
  .food-stats {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .food-stats strong {
    font-size: 24px;
  }
  .food-stats span {
    font-size: 10px;
    max-width: 95px;
  }
  .module-tabs {
    gap: 4px;
  }
  .module-tabs button {
    font-size: 12px;
    padding: 10px 13px;
  }
  .schedule-welcome {
    padding: 28px;
  }
  .calendar-art {
    right: -22px;
    top: 15%;
    width: 100px;
    height: 120px;
    opacity: 0.45;
  }
  .calendar-art svg {
    width: 60px;
  }
  .schedule-welcome > p,
  .schedule-welcome > h2,
  .schedule-welcome > .button-row,
  .schedule-welcome > .eyebrow {
    max-width: 100%;
  }
  .schedule-steps {
    gap: 15px;
  }
  .schedule-header {
    padding: 25px;
  }
  .week-calendar {
    display: block;
    padding: 15px;
  }
  .calendar-day {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 16px;
  }
  .calendar-day > header {
    height: 75px;
    border-bottom: 0;
    padding: 10px 3px;
    position: sticky;
    top: 10px;
  }
  .calendar-sessions {
    gap: 8px;
  }
  .class-card {
    padding: 17px;
  }
  .class-card h3 {
    font-size: 16px;
    margin: 7px 0;
  }
  .class-card p {
    font-size: 12px;
  }
  .class-card .text-button {
    font-size: 12px;
  }
  .class-room {
    font-size: 12px;
  }
  .day-free {
    text-align: left;
    padding: 25px 12px;
  }
  .review-row,
  .notification {
    align-items: flex-start;
    flex-direction: column;
  }
  .notification .btn {
    width: auto;
  }
  .section-heading {
    align-items: flex-start;
  }
  .top-actions {
    gap: 9px;
  }
  .notification-bell {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }
  .top-actions .avatar {
    display: none;
  }
  .food-card-body {
    padding: 20px;
  }
  .order-card .btn {
    font-size: 12px;
  }
  .seller-intro {
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .food-card {
    transition: none;
  }
  .food-card:hover {
    transform: none;
  }
}
/* Tabla del alumno: el documento original es una referencia opcional. */
.timetable-scroll {
  overflow: auto;
  border: 1px solid #dce5e6;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px #173b4505;
}
.schedule-table {
  width: 100%;
  min-width: 840px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.schedule-table th,
.schedule-table td {
  border-bottom: 1px solid #e7edef;
  border-right: 1px solid #eef2f3;
  padding: 10px;
  vertical-align: top;
}
.schedule-table thead th {
  background: #f0f5f3;
  color: #405e64;
  text-align: center;
  padding: 18px 8px;
  border-bottom: 1px solid #d7e2e1;
}
.schedule-table thead th span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  display: block;
}
.schedule-table thead th b {
  font-size: 24px;
  display: block;
  margin-top: 7px;
  font-weight: 600;
}
.schedule-table thead th.is-today {
  background: #173b45;
  color: white;
}
.schedule-table .time-column {
  position: sticky;
  left: 0;
  width: 86px;
  z-index: 1;
  background: #f8fafb;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid #dce5e8;
}
.schedule-table thead .time-column {
  font-size: 10px;
  letter-spacing: 1px;
  color: #657e88;
  background: #eef3f4;
}
.schedule-table tbody .time-column time {
  display: block;
  color: #304f5e;
  font-size: 13px;
  font-weight: 650;
}
.schedule-table tbody .time-column > span {
  display: block;
  color: #91a2aa;
  font-size: 10px;
  margin: 5px 0;
}
.schedule-table tbody td {
  height: 116px;
}
.schedule-table tr:last-child > th,
.schedule-table tr:last-child > td {
  border-bottom: 0;
}
.schedule-table td:last-child,
.schedule-table th:last-child {
  border-right: 0;
}
.schedule-table .class-card {
  margin: 0 0 8px;
  padding: 15px 12px;
  border-left-width: 3px;
}
.schedule-table .class-card:last-child {
  margin-bottom: 0;
}
.schedule-table .class-card h3 {
  font-size: 13px;
  margin: 0 0 8px;
}
.schedule-table .class-card p {
  font-size: 11px;
  margin: 6px 0 12px;
}
.table-class-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 10px;
  line-height: 1.6;
}
.table-class-meta span {
  background: #ffffff80;
  padding: 3px 6px;
  border-radius: 5px;
}
.table-class-meta b {
  font-weight: 650;
}
.table-class-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.table-class-actions .text-button {
  font-size: 10px;
  margin-top: 8px;
}
.empty-cell {
  display: flex;
  min-height: 98px;
  align-items: center;
  justify-content: center;
  color: #d5dfe3;
  font-size: 18px;
}
.table-mobile-hint {
  display: none;
  font-size: 11px;
  color: #6b808a;
}
.schedule-header .student-line {
  color: #fff;
  margin-bottom: 10px;
  font-size: 13px;
}
.schedule-original-image {
  width: 100%;
  height: auto;
  display: block;
  max-height: 70dvh;
  object-fit: contain;
  background: #edf0f2;
}
.timetable-scroll:focus-visible {
  outline: 3px solid #bf501d;
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .table-mobile-hint {
    display: block;
  }
}
@media (max-width: 760px) {
  .schedule-table {
    min-width: 860px;
  }
  .schedule-table .time-column {
    width: 70px;
  }
  .schedule-table th,
  .schedule-table td {
    padding: 8px;
  }
  .schedule-table .class-card {
    padding: 12px 10px;
  }
  .schedule-table .class-card h3 {
    font-size: 13px;
  }
  .schedule-table .class-card p {
    font-size: 11px;
  }
}
