:root {
  --ink: #182521;
  --deep: #16352f;
  --deep-2: #0d2824;
  --paper: #f3efe4;
  --paper-2: #e8e1d1;
  --signal: #f36b32;
  --lime: #b7d55a;
  --sky: #99cfd2;
  --red: #c63f35;
  --muted: #6f776f;
  --line: rgba(24, 37, 33, .18);
  --shadow: 0 24px 60px rgba(20, 38, 33, .14);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, serif;
  --sans: "LXGW WenKai", "Microsoft YaHei", "PingFang SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
main { position: relative; z-index: 1; }

.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .36;
  background-image:
    linear-gradient(rgba(22, 53, 47, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 53, 47, .06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}
.site-header {
  position: relative;
  z-index: 20;
  height: 88px;
  padding: 0 clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--paper); background: var(--deep);
  border-radius: 50% 50% 50% 8px;
  font-family: var(--serif); font-weight: 900;
}
.brand strong { display: block; font-family: var(--serif); font-size: 17px; letter-spacing: .08em; }
.brand small { display: block; margin-top: 2px; font-size: 8px; letter-spacing: .2em; color: var(--muted); }
.header-link { font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--ink); padding: 8px 0; }
.header-link span { color: var(--signal); margin-left: 6px; }
.staff-actions { display: flex; align-items: center; gap: 18px; font-size: 13px; }
.staff-actions > span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; }
.staff-actions form { margin: 0; }
.staff-actions button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.staff-actions a { font-weight: 700; }
.staff-actions .account-password-link { color: var(--signal); border-bottom: 1px solid rgba(243,107,50,.45); padding-bottom: 3px; }

.site-footer {
  position: relative; z-index: 1;
  min-height: 82px; padding: 24px clamp(24px, 5vw, 76px);
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12px; letter-spacing: .08em;
}
.footer-meta { display: flex; align-items: center; gap: 18px; }
.footer-meta a { color: inherit; border-bottom: 1px solid rgba(21, 50, 44, .25); }
.footer-meta a:hover { color: var(--ink); border-bottom-color: currentColor; }
.eyebrow {
  display: block; color: var(--signal); font-weight: 800;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 20px;
}
.button {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 50px; padding: 0 24px;
  font-weight: 800; font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--signal); box-shadow: 7px 7px 0 var(--deep); }
.button-primary:hover { box-shadow: 4px 4px 0 var(--deep); }
.button-dark { color: var(--paper); background: var(--deep); }
.button-block { width: 100%; }
.text-link { font-weight: 800; font-size: 13px; border-bottom: 1px solid; padding-bottom: 4px; }

.hero-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 620px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 10vw;
}
.hero-copy h1 {
  margin: 0; font-family: var(--serif); font-weight: 900;
  font-size: clamp(52px, 6.4vw, 90px); line-height: 1.03; letter-spacing: -.06em;
}
.hero-copy h1 em { color: var(--signal); font-style: normal; position: relative; }
.hero-copy h1 em::after {
  content: ""; position: absolute; left: 3px; right: -4px; bottom: 0;
  height: 8px; background: var(--lime); z-index: -1; transform: rotate(-2deg);
}
.hero-copy > p { max-width: 570px; margin: 28px 0; line-height: 1.9; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-ticket {
  position: relative; max-width: 390px; min-height: 450px; padding: 48px 42px 36px;
  background: var(--deep); color: var(--paper);
  transform: rotate(2.6deg);
  box-shadow: 20px 20px 0 var(--sky), var(--shadow);
  overflow: hidden;
}
.hero-ticket::after {
  content: ""; position: absolute; width: 170px; height: 170px; border: 38px solid rgba(183,213,90,.15);
  border-radius: 50%; right: -85px; bottom: -80px;
}
.ticket-punch { width: 30px; height: 30px; border-radius: 50%; background: var(--paper); position: absolute; top: -15px; left: 42px; }
.ticket-meta { display: flex; justify-content: space-between; padding-bottom: 25px; border-bottom: 1px dashed rgba(255,255,255,.3); }
.ticket-meta span { font-size: 11px; letter-spacing: .2em; }
.ticket-meta strong { font-family: monospace; color: var(--lime); }
.ticket-location { font-family: var(--serif); font-size: 33px; font-weight: 900; line-height: 1.45; margin-top: 34px; }
.ticket-stamp {
  width: 92px; height: 92px; margin: 30px 0 20px auto; display: grid; place-items: center;
  border: 3px solid var(--signal); border-radius: 50%; color: var(--signal); font-weight: 900;
  transform: rotate(-12deg); letter-spacing: .12em;
}
.ticket-lines i { display: block; height: 1px; background: rgba(255,255,255,.18); margin-top: 12px; }
.ticket-lines i:nth-child(2) { width: 72%; }
.hero-ticket > small { position: absolute; bottom: 24px; letter-spacing: .18em; font-size: 8px; }
.process-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  color: var(--paper); background: var(--deep);
  padding: 0 clamp(24px, 5vw, 76px);
}
.process-strip div { min-height: 112px; display: flex; align-items: center; gap: 16px; border-right: 1px solid rgba(255,255,255,.13); padding: 20px 4vw; }
.process-strip div:last-child { border-right: 0; }
.process-strip b { color: var(--lime); font-family: var(--serif); font-size: 27px; }
.process-strip span { font-size: 14px; letter-spacing: .08em; }
.demo-section { width: min(1180px, calc(100% - 48px)); margin: 110px auto; }
.section-heading h2 { font-family: var(--serif); font-size: clamp(36px, 5vw, 62px); margin: 0 0 16px; }
.section-heading p { color: var(--muted); }
.room-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.room-card {
  position: relative; min-height: 210px; padding: 26px; overflow: hidden;
  border: 1px solid var(--line); background: rgba(255,255,255,.35);
  transition: .25s ease;
}
.room-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--sky); transform: scaleY(0); transform-origin: bottom; transition: .25s; }
.room-card:hover { transform: translateY(-5px); background: #fffaf0; box-shadow: var(--shadow); }
.room-card:hover::before { transform: scaleY(1); }
.room-card .room-campus { color: var(--signal); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.room-card strong { display: block; margin-top: 24px; font-family: var(--serif); font-size: 27px; }
.room-card > span:not(.room-campus) { display: block; color: var(--muted); font-size: 13px; margin: 7px 0 20px; }
.room-card code { padding: 4px 7px; background: var(--paper-2); font-size: 11px; }
.room-card i { position: absolute; right: 24px; bottom: 24px; font-style: normal; font-size: 12px; font-weight: 800; }

.mobile-shell { width: min(720px, calc(100% - 32px)); margin: 52px auto 100px; }
.location-banner {
  position: relative; background: var(--deep); color: var(--paper); padding: 30px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  box-shadow: 10px 10px 0 var(--sky);
}
.location-pin { font-size: 36px; color: var(--lime); }
.location-banner span { color: var(--lime); font-size: 11px; letter-spacing: .12em; }
.location-banner h1 { font-family: var(--serif); font-size: 32px; margin: 5px 0; }
.location-banner p { margin: 0; opacity: .68; font-size: 13px; }
.location-banner code { color: var(--paper); border: 1px solid rgba(255,255,255,.3); padding: 7px; font-size: 10px; }
.asset-showcase { margin-top: 48px; }
.asset-showcase-head { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.asset-showcase-head .eyebrow { margin-bottom: 9px; }
.asset-showcase-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(32px, 7vw, 48px); letter-spacing: -.04em; }
.asset-showcase-head p { max-width: 500px; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.asset-tally { min-width: 126px; padding-left: 20px; border-left: 3px solid var(--signal); }
.asset-tally strong { display: inline; font: 900 42px/1 var(--serif); }
.asset-tally > span { margin-left: 4px; font-size: 11px; font-weight: 800; }
.asset-tally i { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; font-style: normal; }
.asset-disclosure { margin-top: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.32); }
.asset-disclosure > summary { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 18px; color: var(--deep); cursor: pointer; list-style: none; user-select: none; }
.asset-disclosure > summary::-webkit-details-marker { display: none; }
.asset-disclosure > summary:hover { background: rgba(182,217,75,.12); }
.asset-disclosure > summary b { display: block; color: var(--signal); font: 800 15px var(--sans); }
.asset-disclosure > summary small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.asset-disclosure > summary .asset-disclosure-open { display: none; }
.asset-disclosure[open] .asset-disclosure-closed { display: none; }
.asset-disclosure[open] > summary .asset-disclosure-open { display: block; }
.asset-disclosure-arrow { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--deep); color: var(--paper); font-style: normal; transition: transform .2s, background .2s; }
.asset-disclosure[open] .asset-disclosure-arrow { transform: rotate(180deg); background: var(--signal); }
.asset-disclosure-content { padding: 0 12px 12px; border-top: 1px solid var(--line); }
.asset-filter { display: flex; gap: 6px; margin: 12px 0; overflow-x: auto; scrollbar-width: none; }
.asset-filter::-webkit-scrollbar { display: none; }
.asset-filter button { flex: 0 0 auto; border: 1px solid var(--line); padding: 8px 10px; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.asset-filter button b { margin-left: 4px; font-family: monospace; }
.asset-filter button.is-active { border-color: var(--deep); background: var(--deep); color: var(--paper); }
.asset-directory { display: grid; gap: 8px; }
.asset-card { position: relative; min-height: 126px; display: grid; grid-template-columns: 52px 1fr auto; gap: 15px; align-items: center; padding: 17px; border: 1px solid var(--line); background: rgba(255,255,255,.38); transition: transform .18s, background .18s, opacity .18s; }
.asset-card[hidden] { display: none; }
.asset-card:hover { background: #fffaf0; transform: translateX(4px); }
.asset-card-repairing { border-left: 4px solid var(--signal); }
.asset-card-offline { border-left: 4px solid var(--red); }
.asset-monogram { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); color: var(--deep); font: 900 20px var(--serif); }
.asset-card-topline { display: flex; align-items: center; gap: 10px; }
.asset-card-topline code { color: var(--signal); font-size: 9px; font-weight: 800; letter-spacing: .06em; }
.asset-state { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; }
.asset-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.asset-state-repairing i { background: var(--signal); animation: state-pulse 1.8s infinite; }
.asset-state-offline i { background: var(--red); }
.asset-card h3 { margin: 6px 0 3px; font-family: var(--serif); font-size: 19px; }
.asset-card p { margin: 0; color: var(--muted); font-size: 11px; }
.asset-card small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; }
.asset-card em { display: block; width: fit-content; margin-top: 8px; padding: 4px 6px; background: #ffeadc; color: #a03c1e; font-size: 9px; font-style: normal; }
.asset-report-action { align-self: stretch; width: 106px; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--deep); font-size: 10px; font-weight: 900; cursor: pointer; }
.asset-report-action span { display: block; margin-top: 7px; color: var(--signal); font-size: 18px; }
.asset-report-action:hover { background: var(--lime); }
.asset-empty { min-height: 150px; margin-top: 24px; display: grid; place-items: center; align-content: center; border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.asset-empty span { font-size: 30px; }
.asset-empty p { font-size: 11px; }
@keyframes state-pulse { 50% { opacity: .35; transform: scale(.75); } }
.duplicate-notice { margin-top: 28px; border: 1px solid rgba(243,107,50,.35); background: #fff5e8; }
.duplicate-notice summary { list-style: none; cursor: pointer; padding: 18px 20px; font-size: 13px; }
.duplicate-notice summary::-webkit-details-marker { display: none; }
.duplicate-notice summary b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--signal); color: white; margin-right: 7px; }
.duplicate-notice summary span { float: right; font-weight: 800; color: var(--signal); }
.duplicate-list { padding: 0 20px 16px; }
.duplicate-list > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 12px 0; }
.duplicate-list p { margin: 0; font-size: 12px; }
.duplicate-list p strong { display: block; margin-bottom: 2px; }
.duplicate-list small { color: var(--muted); font-size: 10px; }
.duplicate-list .notice-tip { color: var(--muted); padding-top: 8px; }
.status-dot { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.report-form { margin-top: 42px; }
.report-form fieldset { margin: 0; padding: 34px 0; border: 0; border-bottom: 1px solid var(--line); }
.report-form legend { width: 100%; padding: 0; margin-bottom: 22px; font-family: var(--serif); font-size: 20px; font-weight: 900; }
.report-form legend span { color: var(--signal); font-family: monospace; font-size: 12px; margin-right: 10px; }
.report-form legend em { float: right; font-style: normal; color: var(--muted); font: 12px var(--sans); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented input, .category-grid input, .urgency-list input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label span { display: grid; place-items: center; min-height: 54px; border: 1px solid var(--line); background: rgba(255,255,255,.35); cursor: pointer; font-weight: 700; }
.segmented input:checked + span { color: var(--paper); background: var(--deep); border-color: var(--deep); }
.selected-asset { min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px dashed var(--line); background: rgba(255,255,255,.28); }
.selected-asset.has-asset { border: 2px solid var(--deep); background: #fffaf0; }
.selected-asset-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); color: var(--signal); font: 900 18px var(--serif); }
.selected-asset.has-asset .selected-asset-mark { background: var(--lime); color: var(--deep); }
.selected-asset b { display: block; font-family: var(--serif); font-size: 16px; }
.selected-asset span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.selected-asset button { border: 0; border-bottom: 1px solid; padding: 5px 0; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.category-grid label span {
  min-height: 72px; display: flex; flex-direction: column; justify-content: center; align-items: center;
  border: 1px solid var(--line); background: rgba(255,255,255,.35); cursor: pointer;
  font-size: 13px; transition: .15s;
}
.category-grid label span::before { content: attr(data-icon); font: 9px monospace; color: var(--muted); margin-bottom: 7px; }
.category-grid input:checked + span { outline: 2px solid var(--deep); background: var(--lime); border-color: var(--deep); font-weight: 800; transform: translateY(-2px); }
.field { display: block; position: relative; }
.field > span, .action-box label { display: block; font-size: 11px; font-weight: 800; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea, .action-box textarea, .action-box select, .filters select {
  width: 100%; border: 1px solid var(--line); border-radius: 0; background: rgba(255,255,255,.48);
  color: var(--ink); padding: 14px; outline: none;
}
.field input:focus, .field textarea:focus, .action-box textarea:focus, .action-box select:focus { border-color: var(--deep); box-shadow: 0 0 0 2px rgba(22,53,47,.12); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field > small { position: absolute; right: 13px; bottom: 10px; color: var(--muted); font-size: 10px; }
.field > small i { font-style: normal; }
.phone-field > span b { margin-left: 5px; color: var(--signal); font-size: 9px; }
.phone-field .phone-error { position: static; display: block; min-height: 18px; margin-top: 7px; color: var(--red); font-size: 10px; font-weight: 800; opacity: 0; transform: translateY(-3px); transition: .16s ease; }
.phone-field.is-invalid input { border-color: var(--red); box-shadow: 0 0 0 2px rgba(198,63,53,.12); }
.phone-field.is-invalid .phone-error { opacity: 1; transform: none; }
.photo-drop {
  margin-top: 12px; min-height: 116px; border: 1px dashed var(--muted); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden;
}
.photo-drop input { position: absolute; opacity: 0; }
.photo-drop .photo-icon { color: var(--signal); font-size: 26px; line-height: 1; }
.photo-drop b { font-size: 12px; margin: 5px 0; }
.photo-drop small { color: var(--muted); font-size: 10px; }
.photo-drop img { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-drop.has-preview img { display: block; }
.urgency-list { display: grid; gap: 8px; }
.urgency-list label span { display: flex; justify-content: space-between; align-items: center; padding: 15px 16px; border: 1px solid var(--line); cursor: pointer; background: rgba(255,255,255,.3); }
.urgency-list label span b { font-size: 13px; }
.urgency-list label span small { color: var(--muted); }
.urgency-list input:checked + span { background: var(--deep); color: var(--paper); border-color: var(--deep); }
.urgency-list input:checked + span small { color: var(--lime); }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.button-submit { margin-top: 32px; width: 100%; min-height: 66px; justify-content: space-between; }
.button-submit i { font-style: normal; font-size: 11px; opacity: .75; }
.form-footnote { text-align: center; color: var(--muted); font-size: 10px; margin-top: 17px; }

.track-shell { width: min(700px, calc(100% - 32px)); margin: 70px auto 110px; }
.success-mark { display: grid; place-items: center; }
.success-mark span { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--deep); font-size: 36px; box-shadow: 7px 7px 0 var(--deep); }
.track-title { text-align: center; margin-top: 34px; }
.track-title .eyebrow { margin-bottom: 10px; }
.track-title h1 { font-family: var(--serif); font-size: clamp(32px, 7vw, 50px); margin: 0; }
.track-title p { color: var(--muted); font-size: 13px; }
.track-card { margin-top: 42px; background: #fffaf0; border: 1px solid var(--line); box-shadow: var(--shadow); }
.track-number { background: var(--deep); color: var(--paper); display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; }
.track-number span { font-size: 11px; color: var(--lime); letter-spacing: .12em; }
.track-number strong { font-family: monospace; }
.track-location { padding: 28px 26px; border-bottom: 1px dashed var(--line); }
.track-location span { color: var(--signal); font-size: 11px; font-weight: 800; }
.track-location h2 { font-family: var(--serif); font-size: 32px; margin: 6px 0; }
.track-location p { margin: 0; color: var(--muted); font-size: 12px; }
.track-facts { margin: 0; padding: 20px 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.track-facts div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.track-facts dt { color: var(--muted); font-size: 11px; }
.track-facts dd { margin: 0; font-size: 12px; font-weight: 800; }
.fault-copy { padding: 0 26px 28px; }
.fault-copy span { color: var(--muted); font-size: 11px; }
.fault-copy p { line-height: 1.8; margin-bottom: 0; }
.timeline { margin-top: 45px; }
.timeline h2 { font-family: var(--serif); font-size: 24px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 12px; min-height: 65px; }
.timeline-item::before { content: ""; position: absolute; left: 5px; top: 13px; bottom: -3px; border-left: 1px dashed var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-item i { width: 11px; height: 11px; border-radius: 50%; background: var(--signal); margin-top: 3px; z-index: 1; box-shadow: 0 0 0 5px var(--paper); }
.timeline-item strong { display: block; font-size: 13px; }
.timeline-item span { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; }

.login-shell { width: min(1120px, calc(100% - 48px)); min-height: calc(100vh - 170px); margin: auto; display: grid; grid-template-columns: 1fr 430px; align-items: center; gap: 12vw; }
.login-intro h1 { font-family: var(--serif); font-size: clamp(48px, 6vw, 76px); line-height: 1.14; margin: 0; }
.login-intro p { color: var(--muted); line-height: 1.8; }
.campus-tags { margin-top: 38px; display: flex; align-items: center; gap: 12px; }
.campus-tags span { border: 1px solid var(--deep); padding: 8px 14px; font-size: 12px; font-weight: 800; }
.campus-tags i { color: var(--signal); font-style: normal; }
.login-card { padding: 42px; background: #fffaf0; border: 1px solid var(--line); box-shadow: 16px 16px 0 var(--deep); }
.card-index { color: var(--signal); font: 10px monospace; letter-spacing: .14em; }
.login-card h2 { font-family: var(--serif); font-size: 30px; margin: 14px 0 30px; }
.login-card .field { margin-bottom: 18px; }
.login-card > p { text-align: center; color: var(--muted); font-size: 10px; margin: 18px 0 0; }
.form-error { background: #f8dfd9; color: var(--red); padding: 10px 12px; font-size: 12px; margin-bottom: 18px; }
.form-success { background: rgba(183,213,90,.22); border-left: 4px solid var(--lime); color: var(--deep); padding: 11px 13px; font-size: 12px; line-height: 1.6; margin-bottom: 18px; }

.account-security-shell {
  width: min(1120px, calc(100% - 48px));
  min-height: calc(100vh - 170px);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  gap: clamp(60px, 10vw, 140px);
  padding: 64px 0 90px;
}
.account-security-intro h1 { margin: 0; font: 900 clamp(48px, 6vw, 76px)/1.12 var(--serif); letter-spacing: -.04em; }
.account-security-intro h1 em { color: var(--signal); font-style: normal; }
.account-security-intro > p { max-width: 570px; margin: 26px 0 38px; color: var(--muted); line-height: 1.9; }
.account-security-intro ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px solid var(--deep); }
.account-security-intro li { min-height: 90px; padding: 15px 14px 12px 0; border-right: 1px solid var(--line); }
.account-security-intro li:last-child { border-right: 0; padding-left: 14px; }
.account-security-intro li:nth-child(2) { padding-left: 14px; }
.account-security-intro li b { display: block; color: var(--signal); font: 900 18px var(--serif); }
.account-security-intro li span { display: block; margin-top: 10px; font-size: 11px; font-weight: 800; }
.account-security-card { position: relative; padding: 38px 38px 34px; background: #fffaf0; border: 1px solid var(--line); box-shadow: 16px 16px 0 var(--deep); overflow: hidden; }
.account-security-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -72px; bottom: -72px; border: 20px solid rgba(153,207,210,.32); border-radius: 50%; pointer-events: none; }
.security-card-head { display: flex; align-items: center; justify-content: space-between; color: var(--signal); font: 800 10px var(--sans); letter-spacing: .18em; }
.security-card-head i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50% 50% 50% 8px; background: var(--deep); color: var(--paper); font: normal 900 16px var(--serif); }
.account-security-card h2 { margin: 14px 0 5px; font: 900 31px var(--serif); }
.security-account { margin: 0 0 26px; color: var(--muted); font-size: 11px; }
.security-account strong { color: var(--deep); font-family: monospace; }
.account-security-card .field { display: block; margin-bottom: 17px; }
.account-security-card .field > span { display: block; margin-bottom: 7px; font-size: 10px; font-weight: 800; }
.account-security-card .field input { width: 100%; height: 48px; border: 1px solid var(--line); background: rgba(243,239,228,.72); padding: 0 14px; outline: none; }
.account-security-card .field input:focus { border-color: var(--signal); box-shadow: 0 0 0 3px rgba(243,107,50,.12); }
.security-tip { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.security-tip span { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--signal); font-weight: 900; }

.dashboard-shell, .detail-shell { width: min(1320px, calc(100% - 48px)); margin: 60px auto 100px; }
.dashboard-heading, .detail-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.dashboard-heading h1, .detail-heading h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); margin: 0; line-height: 1.1; }
.dashboard-heading p, .detail-heading p { color: var(--muted); }
.live-badge { padding: 8px 12px; border: 1px solid var(--line); font-size: 10px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.live-badge i { width: 7px; height: 7px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px rgba(183,213,90,.2); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 44px; }
.metric { position: relative; min-height: 150px; padding: 22px; border: 1px solid var(--line); background: rgba(255,255,255,.32); overflow: hidden; }
.metric::after { content: ""; position: absolute; width: 80px; height: 80px; border: 15px solid rgba(22,53,47,.04); border-radius: 50%; right: -30px; bottom: -30px; }
.metric > span { display: block; font-size: 12px; font-weight: 800; }
.metric strong { display: block; font-family: var(--serif); font-size: 48px; line-height: 1; margin: 20px 0 8px; }
.metric small { color: var(--muted); font-size: 10px; }
.metric-alert { background: var(--signal); color: white; border-color: var(--signal); }
.metric-alert small { color: rgba(255,255,255,.7); }
.metric-done { background: var(--deep); color: var(--paper); }
.metric-done small { color: var(--sky); }
.assignment-header-badge { padding: 7px 10px; background: var(--signal); color: white; font-size: 10px; }
.assignment-inbox { margin-top: 30px; border: 1px solid var(--deep); background: #fffaf0; box-shadow: 9px 9px 0 var(--sky); }
.assignment-inbox-head { min-height: 82px; padding: 17px 22px; display: flex; align-items: center; justify-content: space-between; background: var(--deep); color: var(--paper); }
.assignment-inbox-head span { color: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.assignment-inbox-head h2 { margin: 5px 0 0; font: 900 23px var(--serif); }
.assignment-inbox-head > strong { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--signal); font: 900 24px var(--serif); }
.assignment-cards { display: grid; grid-template-columns: repeat(2, 1fr); }
.assignment-cards > a { min-height: 170px; padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: .18s ease; }
.assignment-cards > a:nth-child(2n) { border-right: 0; }
.assignment-cards > a:hover { background: var(--lime); transform: translateY(-2px); }
.assignment-order { color: var(--signal); font: 800 9px monospace; letter-spacing: .08em; }
.assignment-cards h3 { margin: 17px 0 6px; font: 900 20px var(--serif); }
.assignment-cards p { min-height: 34px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.assignment-cards > a > div { display: flex; justify-content: space-between; margin-top: 16px; }
.assignment-cards em { font-size: 9px; font-style: normal; font-weight: 800; }
.assignment-cards b { font-size: 10px; }
.assignment-clear { min-height: 112px; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); }
.assignment-clear > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--deep); }
.assignment-clear p { display: grid; gap: 3px; font-size: 10px; }
.assignment-clear b { color: var(--ink); font: 900 14px var(--serif); }
.work-panel { margin-top: 32px; border: 1px solid var(--line); background: rgba(255,255,255,.42); }
.work-toolbar { min-height: 84px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.work-toolbar h2 { font-family: var(--serif); margin: 0; font-size: 24px; }
.work-toolbar > div span { color: var(--muted); font-size: 10px; }
.filters { display: flex; gap: 7px; }
.filters select { width: auto; min-width: 120px; padding: 9px; font-size: 11px; }
.filters button { border: 0; background: var(--deep); color: var(--paper); padding: 0 18px; font-weight: 800; cursor: pointer; }
.table-head, .table-row { display: grid; grid-template-columns: 1.1fr 2fr .8fr .8fr .7fr 20px; gap: 18px; align-items: center; padding: 0 22px; }
.table-head { min-height: 42px; background: var(--paper-2); color: var(--muted); font-size: 10px; }
.table-row { position: relative; min-height: 78px; border-top: 1px solid var(--line); font-size: 12px; transition: .15s; }
.table-row:first-of-type { border-top: 0; }
.table-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: transparent; }
.table-row.urgency-class_impact::before { background: var(--signal); }
.table-row.urgency-safety::before { background: var(--red); }
.table-row:hover { background: #fffaf0; transform: translateX(3px); }
.ticket-id b, .table-issue b { display: block; }
.ticket-id b { font: 11px monospace; }
.ticket-id small, .table-issue small { display: block; color: var(--muted); margin-top: 5px; font-size: 10px; }
.row-arrow { color: var(--signal); font-weight: 900; }
.status-pill { display: inline-flex; align-items: center; width: max-content; padding: 5px 8px; font-size: 10px; font-style: normal; font-weight: 800; border: 1px solid; }
.status-pending { color: var(--signal); }
.status-assigned { color: #397f86; }
.status-in_progress { color: #7a6511; }
.status-completed { color: #327250; }
.empty-state { padding: 80px 20px; text-align: center; }
.empty-state span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lime); }
.empty-state h3 { font-family: var(--serif); margin-bottom: 5px; }
.empty-state p { color: var(--muted); font-size: 12px; }

.detail-heading { padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.status-seal { width: 100px; height: 100px; display: grid; place-items: center; border: 3px solid; border-radius: 50%; font-weight: 900; transform: rotate(-7deg); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(320px, .8fr); gap: 34px; margin-top: 34px; }
.detail-main { background: rgba(255,255,255,.36); border: 1px solid var(--line); }
.detail-main > section { padding: 30px; border-bottom: 1px solid var(--line); }
.detail-main > section:last-child { border-bottom: 0; }
.section-label { display: block; color: var(--signal); font-size: 10px; font-weight: 900; letter-spacing: .14em; margin-bottom: 18px; }
.detail-description { font-family: var(--serif); font-size: 22px; line-height: 1.9; margin: 0; }
.fault-photo { margin-top: 22px; width: 100%; max-height: 480px; object-fit: cover; border: 1px solid var(--line); }
.detail-timeline { margin-top: 0; }
.fact-list { margin: 0; border: 1px solid var(--line); background: #fffaf0; }
.fact-list div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.fact-list div:last-child { border-bottom: 0; }
.fact-list dt { color: var(--muted); font-size: 11px; }
.fact-list dd { margin: 0; text-align: right; font-size: 12px; font-weight: 800; }
.urgency-text-safety { color: var(--red); }
.urgency-text-class_impact { color: var(--signal); }
.action-box { margin-top: 14px; padding: 18px; border: 1px solid var(--line); background: var(--paper-2); }
.action-box textarea { min-height: 84px; resize: vertical; margin-bottom: 10px; }
.action-box select { margin: 6px 0 10px; }

.room-admin .dashboard-heading { align-items: center; }
.room-create {
  margin-top: 34px; padding: 18px; display: grid;
  grid-template-columns: auto repeat(5, 1fr) auto; align-items: end; gap: 10px;
  background: var(--deep); color: var(--paper);
}
.room-create > strong { align-self: center; font-family: var(--serif); font-size: 18px; padding: 0 8px; }
.room-create label span { display: block; color: var(--lime); font-size: 9px; font-weight: 800; margin-bottom: 5px; }
.room-create input, .room-create select { width: 100%; min-width: 0; height: 39px; padding: 0 9px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.08); color: white; outline: none; }
.room-create select option { color: var(--ink); }
.room-create button { height: 39px; padding: 0 14px; border: 0; background: var(--lime); color: var(--deep); font-size: 11px; font-weight: 900; cursor: pointer; }
.room-filter-panel {
  margin-top: 18px; min-height: 78px; display: grid;
  grid-template-columns: minmax(190px, .9fr) auto minmax(230px, 1.1fr) auto auto;
  align-items: stretch; border: 1px solid var(--line); background: rgba(255,250,240,.76);
}
.room-filter-intro { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-right: 1px solid var(--line); }
.room-filter-intro > span { color: var(--signal); font: 800 9px monospace; letter-spacing: .13em; writing-mode: vertical-rl; transform: rotate(180deg); }
.room-filter-intro strong { display: block; font: 900 18px var(--serif); }
.room-filter-intro small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.room-campus-filter { display: flex; padding: 10px; gap: 5px; border-right: 1px solid var(--line); }
.room-campus-filter button {
  min-width: 88px; border: 1px solid transparent; padding: 8px 10px; background: transparent; color: var(--ink);
  font-size: 10px; font-weight: 800; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.room-campus-filter button:hover { border-color: var(--deep); }
.room-campus-filter button.is-active { background: var(--deep); color: var(--paper); }
.room-campus-filter i { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 3px; background: var(--signal); color: white; font-style: normal; }
.room-campus-filter button[data-room-campus="s"] i { background: var(--sky); color: var(--deep); }
.room-campus-filter b { margin-left: 4px; color: var(--signal); font: 800 10px monospace; }
.room-campus-filter .is-active b { color: var(--lime); }
.room-search-field { position: relative; display: flex; align-items: center; padding: 12px 14px; }
.room-search-field > span { position: absolute; top: 10px; left: 15px; color: var(--signal); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.room-search-field input { width: 100%; height: 45px; padding: 13px 34px 0 0; border: 0; border-bottom: 2px solid var(--deep); border-radius: 0; background: transparent; color: var(--ink); outline: none; }
.room-search-field input:focus { border-color: var(--signal); }
.room-search-field input::-webkit-search-cancel-button { cursor: pointer; }
.room-search-field kbd { position: absolute; right: 15px; padding: 3px 6px; border: 1px solid var(--line); background: var(--paper-2); color: var(--muted); font: 10px monospace; }
.room-filter-reset { align-self: center; margin-right: 12px; border: 0; border-bottom: 1px solid; padding: 7px 2px; background: transparent; color: var(--muted); font-size: 10px; font-weight: 800; cursor: pointer; }
.room-filter-result { min-width: 84px; margin: 0; display: grid; place-content: center; padding: 10px 16px; background: var(--signal); color: white; text-align: center; }
.room-filter-result strong { font: 900 27px var(--serif); line-height: 1; }
.room-filter-result span { margin-top: 5px; font-size: 8px; letter-spacing: .08em; }
.room-admin-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.room-admin-grid article[hidden] { display: none; }
.room-admin-grid article { display: grid; grid-template-columns: 130px 1fr; gap: 22px; align-items: center; padding: 20px; border: 1px solid var(--line); background: #fffaf0; }
.room-admin-grid img { width: 130px; image-rendering: pixelated; }
.room-admin-grid span { color: var(--signal); font-size: 10px; font-weight: 800; }
.room-admin-grid h2 { font-family: var(--serif); margin: 6px 0 12px; }
.room-admin-grid code { background: var(--paper-2); padding: 4px 6px; }
.room-admin-grid small { display: block; margin-top: 14px; color: var(--muted); word-break: break-all; font-size: 9px; }
.room-card-actions { display: flex; gap: 8px; margin-top: 14px; }
.room-card-actions a { padding: 7px 9px; background: var(--deep); color: var(--paper); font-size: 9px; font-weight: 800; }
.room-card-actions a:last-child { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.room-card-actions b { color: var(--lime); }
.room-filter-empty { margin-top: 20px; min-height: 210px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 34px; border: 1px dashed var(--line); background: rgba(255,250,240,.55); }
.room-filter-empty[hidden] { display: none; }
.room-filter-empty > span { color: var(--paper-2); font: 900 68px var(--serif); }
.room-filter-empty strong { font: 900 23px var(--serif); }
.room-filter-empty p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.room-filter-empty button { border: 0; padding: 12px 15px; background: var(--deep); color: var(--paper); font-size: 10px; font-weight: 900; cursor: pointer; }

.asset-create { margin-top: 34px; display: grid; grid-template-columns: minmax(210px, .65fr) 2fr; background: var(--deep); color: var(--paper); }
.asset-create-title { padding: 28px; border-right: 1px solid rgba(255,255,255,.14); }
.asset-create-title span { color: var(--lime); font: 800 9px monospace; letter-spacing: .2em; }
.asset-create-title strong { display: block; margin: 14px 0 10px; font: 900 23px var(--serif); }
.asset-create-title p { margin: 0; color: rgba(255,255,255,.58); font-size: 10px; line-height: 1.7; }
.asset-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 24px; }
.asset-form-grid label > span, .asset-status-form label > span { display: block; margin-bottom: 6px; color: var(--lime); font-size: 9px; font-weight: 800; }
.asset-form-grid input, .asset-form-grid select { width: 100%; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 0; padding: 0 10px; background: rgba(255,255,255,.08); color: white; outline: none; }
.asset-form-grid select option { color: var(--ink); }
.asset-form-grid input:focus, .asset-form-grid select:focus { border-color: var(--lime); }
.asset-note-field { grid-column: span 2; }
.asset-form-grid button { align-self: end; height: 40px; border: 0; padding: 0 15px; background: var(--lime); color: var(--deep); font-size: 11px; font-weight: 900; cursor: pointer; }
.asset-form-grid button span { float: right; margin-left: 18px; font-size: 15px; }
.asset-admin-heading { margin-top: 48px; display: flex; align-items: end; justify-content: space-between; padding-bottom: 15px; border-bottom: 3px solid var(--deep); }
.asset-admin-heading span { color: var(--signal); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.asset-admin-heading h2 { margin: 5px 0 0; font: 900 29px var(--serif); }
.asset-admin-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.asset-admin-list article { min-height: 104px; display: grid; grid-template-columns: 64px 1fr minmax(210px, .38fr); align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.asset-admin-index { color: var(--paper-2); font: 900 36px var(--serif); }
.asset-admin-main > span { color: var(--signal); font-size: 9px; font-weight: 800; }
.asset-admin-main h3 { margin: 4px 0; font: 900 18px var(--serif); }
.asset-admin-main p, .asset-admin-main small { margin: 0; color: var(--muted); font-size: 10px; }
.asset-admin-main small { display: inline-block; margin-top: 6px; padding: 4px 6px; background: var(--paper-2); }
.asset-status-form select { width: 100%; height: 38px; border: 1px solid var(--line); padding: 0 9px; background: #fffaf0; }
.asset-status-form label > span { color: var(--muted); }
.asset-admin-actions { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: 7px; }
.asset-admin-actions a { height: 34px; display: flex; align-items: center; border: 1px solid var(--line); padding: 0 10px; background: transparent; color: var(--deep); font-size: 9px; font-weight: 900; }
.asset-admin-actions .asset-edit-link { justify-content: space-between; }
.asset-admin-actions .asset-edit-link span { color: var(--signal); font-size: 13px; }
.asset-admin-actions .asset-edit-link:hover { border-color: var(--deep); background: var(--deep); color: var(--paper); }
.asset-admin-actions .asset-delete-link { color: var(--red); }
.asset-admin-actions .asset-delete-link:hover { border-color: var(--red); background: var(--red); color: white; }
.asset-action-page { min-height: 68vh; }
.asset-edit-page-form { margin-top: 44px; }
.asset-delete-confirm { max-width: 920px; margin: 70px auto; display: grid; grid-template-columns: 150px 1fr; border: 1px solid var(--line); background: #fffaf0; box-shadow: 12px 12px 0 var(--deep); }
.asset-delete-signal { display: grid; place-items: center; background: var(--red); color: white; font: 900 92px/1 var(--serif); }
.asset-delete-copy { padding: 42px; }
.asset-delete-copy > span { color: var(--red); font: 900 9px monospace; letter-spacing: .18em; }
.asset-delete-copy h1 { margin: 12px 0 24px; font: 900 clamp(32px, 5vw, 52px)/1.08 var(--serif); }
.asset-delete-copy dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.asset-delete-copy dl div { min-height: 78px; padding: 14px; border-right: 1px solid var(--line); }
.asset-delete-copy dl div:last-child { border-right: 0; }
.asset-delete-copy dt { color: var(--muted); font-size: 8px; font-weight: 800; }
.asset-delete-copy dd { margin: 8px 0 0; font-size: 11px; font-weight: 800; }
.asset-delete-warning { margin: 22px 0; padding: 15px; border-left: 4px solid var(--red); background: #fff1e7; color: var(--muted); font-size: 11px; line-height: 1.75; }
.asset-delete-warning strong { color: var(--ink); }
.asset-delete-actions { display: flex; justify-content: flex-end; gap: 8px; }
.asset-delete-actions a, .asset-delete-actions button { min-height: 42px; display: inline-flex; align-items: center; border: 1px solid var(--line); padding: 0 16px; background: transparent; color: var(--deep); font-size: 10px; font-weight: 900; cursor: pointer; }
.asset-delete-actions button { border-color: var(--red); background: var(--red); color: white; }
.asset-delete-actions button span { margin-left: 18px; }

.technician-admin .dashboard-heading p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.crew-total { display: flex; align-items: baseline; gap: 6px; padding: 14px 18px; border: 1px solid var(--line); background: #fffaf0; }
.crew-total strong { font: 900 34px var(--serif); color: var(--signal); }
.crew-total span { color: var(--muted); font-size: 10px; }
.crew-summary { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--deep); color: var(--paper); }
.crew-summary > div { min-height: 122px; padding: 20px; border-right: 1px solid rgba(255,255,255,.14); }
.crew-summary > div:last-child { border-right: 0; }
.crew-summary span { color: var(--lime); font-size: 10px; font-weight: 800; }
.crew-summary strong { display: block; margin: 10px 0 5px; font: 900 36px var(--serif); }
.crew-summary small { color: rgba(255,255,255,.54); font-size: 9px; }
.technician-create { margin-top: 14px; display: grid; grid-template-columns: 1.25fr repeat(3, 1fr) auto; gap: 12px; align-items: end; padding: 22px; border: 1px solid var(--line); background: #fffaf0; }
.technician-create > div { align-self: center; padding-right: 14px; border-right: 1px solid var(--line); }
.technician-create > div span, .crew-list-heading span { color: var(--signal); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.technician-create h2 { margin: 5px 0; font: 900 20px var(--serif); }
.technician-create p { margin: 0; color: var(--muted); font-size: 9px; }
.technician-create label > span, .crew-actions label > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; font-weight: 800; }
.technician-create input, .crew-actions input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 0; padding: 0 10px; background: var(--paper); outline: none; }
.technician-create input:focus, .crew-actions input:focus { border-color: var(--deep); box-shadow: 0 0 0 2px rgba(22,53,47,.1); }
.technician-create > button { height: 40px; border: 0; padding: 0 14px; background: var(--signal); color: white; font-size: 10px; font-weight: 900; cursor: pointer; }
.technician-create > button b { margin-left: 10px; font-size: 15px; }
.crew-list-heading { margin-top: 46px; display: flex; align-items: end; justify-content: space-between; padding-bottom: 14px; border-bottom: 3px solid var(--deep); }
.crew-list-heading h2 { margin: 5px 0 0; font: 900 29px var(--serif); }
.crew-list-heading p { margin: 0; color: var(--muted); font-size: 10px; }
.crew-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.crew-card { border: 1px solid var(--line); background: rgba(255,255,255,.4); }
.crew-card.is-inactive { opacity: .62; filter: grayscale(.45); }
.crew-identity { position: relative; min-height: 112px; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; padding: 18px; border-bottom: 1px solid var(--line); }
.crew-avatar { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50% 50% 10px 50%; background: var(--deep); color: var(--paper); font: 900 23px var(--serif); }
.crew-identity span { color: var(--signal); font: 800 8px monospace; letter-spacing: .16em; }
.crew-identity h3 { margin: 4px 0; font: 900 21px var(--serif); }
.crew-identity code { color: var(--muted); font-size: 9px; }
.crew-state { position: absolute; top: 15px; right: 15px; padding: 5px 7px; border: 1px solid var(--line); color: #327250; font-size: 8px; font-style: normal; font-weight: 800; }
.crew-card.is-inactive .crew-state { color: var(--red); }
.crew-workload { display: grid; grid-template-columns: repeat(3, 1fr); }
.crew-workload div { min-height: 82px; padding: 13px; border-right: 1px solid var(--line); text-align: center; }
.crew-workload div:last-child { border-right: 0; }
.crew-workload strong { display: block; font: 900 25px var(--serif); }
.crew-workload span { color: var(--muted); font-size: 8px; }
.crew-profile-editor { border-top: 1px solid var(--line); background: rgba(255,250,240,.72); }
.crew-profile-editor summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; cursor: pointer; list-style: none; }
.crew-profile-editor summary::-webkit-details-marker { display: none; }
.crew-profile-editor summary > span { display: flex; align-items: baseline; gap: 8px; }
.crew-profile-editor summary b { color: var(--deep); font-size: 10px; }
.crew-profile-editor summary small { color: var(--muted); font-size: 8px; }
.crew-profile-editor summary i { color: var(--signal); font: 800 9px monospace; font-style: normal; letter-spacing: .1em; }
.crew-profile-editor[open] summary { border-bottom: 1px solid var(--line); background: #fffaf0; }
.crew-profile-editor[open] summary i { color: #327250; }
.crew-profile-editor form { display: grid; grid-template-columns: 1.2fr .8fr auto; align-items: end; gap: 8px; padding: 14px 14px 8px; }
.crew-profile-editor label > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 8px; font-weight: 800; }
.crew-profile-editor input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 0; padding: 0 10px; background: var(--paper); outline: none; }
.crew-profile-editor input:focus { border-color: var(--signal); box-shadow: 0 0 0 2px rgba(243,107,50,.1); }
.crew-profile-editor button { height: 40px; border: 0; padding: 0 12px; background: var(--signal); color: white; font-size: 9px; font-weight: 900; cursor: pointer; }
.crew-profile-editor button b { margin-left: 10px; font-size: 13px; }
.crew-profile-editor > p { margin: 0; padding: 0 14px 13px; color: var(--muted); font-size: 8px; }
.crew-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; padding: 14px; border-top: 1px solid var(--line); background: var(--paper-2); }
.crew-actions > form:first-child { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px; }
.crew-actions button { height: 40px; border: 0; padding: 0 10px; background: var(--deep); color: var(--paper); font-size: 9px; font-weight: 900; cursor: pointer; }
.crew-actions .crew-toggle { min-width: 88px; background: transparent; color: var(--red); border: 1px solid var(--line); }
.crew-actions .crew-toggle:disabled { color: var(--muted); cursor: not-allowed; }

.error-shell { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.error-shell > span { font-family: var(--serif); font-size: 100px; line-height: 1; color: var(--signal); }
.error-shell h1 { font-family: var(--serif); }
.error-shell p { color: var(--muted); margin-bottom: 26px; }

.print-body { background: white; }
.print-toolbar { position: sticky; z-index: 5; top: 0; display: flex; justify-content: center; align-items: center; gap: 16px; padding: 12px; background: var(--deep); color: white; font-size: 12px; }
.print-toolbar button { background: var(--signal); color: white; border: 0; padding: 10px 18px; font-weight: 800; cursor: pointer; }
.qr-sheet { width: 210mm; margin: auto; display: grid; grid-template-columns: 1fr 1fr; }
.qr-poster { position: relative; height: 148.5mm; padding: 15mm 13mm 10mm; border: .3mm dashed #999; overflow: hidden; }
.poster-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1.5mm solid var(--deep); padding-bottom: 3mm; }
.poster-head b { font-family: var(--serif); font-size: 15pt; }
.poster-head span { font-size: 5pt; letter-spacing: .2em; }
.qr-poster h1 { font-family: var(--serif); font-size: 25pt; line-height: 1.2; margin: 7mm 0 3mm; }
.qr-poster h1 em { color: var(--signal); font-style: normal; }
.qr-poster > img { display: block; width: 47mm; height: 47mm; margin: 0 auto; }
.poster-location { text-align: center; margin-top: 3mm; }
.poster-location span { display: block; color: var(--signal); font-size: 7pt; }
.poster-location strong { display: block; font-family: var(--serif); font-size: 18pt; margin: 1mm 0; }
.poster-location code { font-size: 7pt; }
.qr-poster > p { text-align: center; color: var(--muted); font-size: 7pt; margin-top: 4mm; }

.reveal { animation: reveal .65s cubic-bezier(.22,.8,.24,1) both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero-shell { grid-template-columns: 1fr; padding: 70px 0; }
  .hero-ticket { display: none; }
  .room-grid { grid-template-columns: 1fr 1fr; }
  .login-shell { grid-template-columns: 1fr; padding: 60px 0 90px; }
  .login-intro { display: none; }
  .login-card { width: min(430px, 100%); margin: auto; }
  .account-security-shell { grid-template-columns: 1fr; gap: 46px; }
  .account-security-card { width: min(440px, 100%); justify-self: center; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .table-head { display: none; }
  .table-row { grid-template-columns: 1fr auto; gap: 8px; padding: 16px 18px; }
  .table-row > span:nth-child(3), .table-row > span:nth-child(4) { display: none; }
  .table-issue { grid-row: 2; }
  .table-row > span:nth-child(5) { grid-column: 2; grid-row: 1; }
  .row-arrow { grid-column: 2; grid-row: 2; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { grid-row: 1; }
  .room-admin-grid { grid-template-columns: 1fr; }
  .room-create { grid-template-columns: 1fr 1fr 1fr; }
  .room-create > strong { grid-column: 1 / -1; }
  .room-create button { align-self: end; }
  .room-filter-panel { grid-template-columns: 1fr auto; }
  .room-filter-intro { border-bottom: 1px solid var(--line); }
  .room-campus-filter { grid-column: 2; border-right: 0; border-bottom: 1px solid var(--line); }
  .room-search-field { grid-column: 1 / -1; }
  .room-filter-reset { grid-column: 1; justify-self: start; margin: 0 0 12px 14px; }
  .room-filter-result { grid-column: 2; grid-row: 2 / span 2; }
  .asset-create { grid-template-columns: 1fr; }
  .asset-create-title { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .technician-create { grid-template-columns: 1fr 1fr; }
  .technician-create > div { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 12px; }
  .technician-create > button { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .site-header { height: 72px; padding: 0 16px; }
  .brand small { display: none; }
  .brand strong { font-size: 14px; }
  .brand-mark { width: 36px; height: 36px; }
  .header-link { font-size: 11px; }
  .staff-actions { gap: 10px; }
  .staff-actions > span { display: none; }
  .staff-actions .account-password-link { font-size: 11px; }
  .site-footer { padding: 22px 16px; flex-direction: column; align-items: flex-start; gap: 7px; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 7px; }
  .hero-shell { width: calc(100% - 32px); min-height: 560px; }
  .hero-copy h1 { font-size: 47px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .process-strip { grid-template-columns: 1fr 1fr; padding: 0; }
  .process-strip div { min-height: 85px; padding: 18px; }
  .process-strip div:nth-child(2) { border-right: 0; }
  .process-strip div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.13); }
  .demo-section { width: calc(100% - 32px); margin: 80px auto; }
  .room-grid { grid-template-columns: 1fr; }
  .location-banner { grid-template-columns: auto 1fr; padding: 22px 18px; }
  .location-banner code { display: none; }
  .location-banner h1 { font-size: 27px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .asset-showcase { margin-top: 42px; }
  .asset-showcase-head { grid-template-columns: 1fr; align-items: start; }
  .asset-tally { display: flex; align-items: baseline; gap: 5px; padding: 10px 0 0; border-left: 0; border-top: 2px solid var(--signal); }
  .asset-tally i { margin-left: auto; }
  .asset-disclosure { margin-top: 14px; }
  .asset-disclosure > summary { min-height: 64px; padding: 12px 14px; }
  .asset-disclosure-content { padding: 0 6px 6px; }
  .asset-card { grid-template-columns: 42px 1fr; padding: 14px; }
  .asset-monogram { width: 40px; height: 40px; font-size: 17px; }
  .asset-report-action { grid-column: 1 / -1; width: 100%; min-height: 38px; border-left: 0; border-top: 1px solid var(--line); }
  .asset-report-action span { display: inline; margin: 0 0 0 6px; font-size: 12px; }
  .selected-asset { grid-template-columns: auto 1fr; }
  .selected-asset button { grid-column: 2; justify-self: start; }
  .two-fields { grid-template-columns: 1fr; gap: 16px; }
  .track-facts { grid-template-columns: 1fr; gap: 12px; }
  .login-shell { width: calc(100% - 32px); }
  .login-card { padding: 30px 22px; box-shadow: 8px 8px 0 var(--deep); }
  .account-security-shell { width: calc(100% - 32px); padding: 46px 0 76px; }
  .account-security-intro h1 { font-size: 44px; }
  .account-security-intro ol { grid-template-columns: 1fr; }
  .account-security-intro li, .account-security-intro li:nth-child(2), .account-security-intro li:last-child { min-height: 62px; padding: 11px 0; border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 42px 1fr; align-items: center; }
  .account-security-intro li span { margin: 0; }
  .account-security-card { padding: 30px 22px; box-shadow: 8px 8px 0 var(--deep); }
  .dashboard-shell, .detail-shell { width: calc(100% - 24px); margin: 34px auto 70px; }
  .dashboard-heading, .detail-heading { align-items: flex-start; }
  .dashboard-heading h1, .detail-heading h1 { font-size: 38px; }
  .live-badge { display: none; }
  .metric-grid { gap: 7px; margin-top: 28px; }
  .metric { min-height: 126px; padding: 16px; }
  .metric strong { font-size: 40px; margin: 13px 0 5px; }
  .work-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .filters { width: 100%; }
  .filters select { min-width: 0; flex: 1; }
  .status-seal { width: 72px; height: 72px; font-size: 11px; flex: 0 0 auto; }
  .detail-main > section { padding: 22px 18px; }
  .detail-description { font-size: 19px; }
  .room-admin .dashboard-heading { align-items: flex-start; flex-direction: column; }
  .room-create { grid-template-columns: 1fr 1fr; }
  .room-create label:nth-of-type(2), .room-create label:nth-of-type(5), .room-create button { grid-column: 1 / -1; }
  .room-filter-panel { display: block; }
  .room-filter-intro { border-right: 0; }
  .room-filter-intro > span { writing-mode: horizontal-tb; transform: none; }
  .room-campus-filter { overflow-x: auto; border-right: 0; }
  .room-campus-filter button { flex: 1 0 auto; }
  .room-search-field { border-top: 1px solid var(--line); }
  .room-filter-reset { margin: 0 14px 12px; }
  .room-filter-result { display: flex; justify-content: center; align-items: baseline; gap: 5px; min-height: 55px; }
  .room-filter-result strong { font-size: 23px; }
  .room-filter-empty { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .room-filter-empty > span { display: none; }
  .room-filter-empty button { justify-self: start; }
  .room-admin-grid article { grid-template-columns: 100px 1fr; gap: 14px; padding: 12px; }
  .room-admin-grid img { width: 100px; }
  .assignment-cards { grid-template-columns: 1fr; }
  .assignment-cards > a { border-right: 0; }
  .assignment-inbox { box-shadow: 6px 6px 0 var(--sky); }
  .crew-summary { grid-template-columns: 1fr 1fr 1fr; }
  .crew-summary > div { min-height: 105px; padding: 14px 10px; }
  .crew-summary small { display: none; }
  .technician-create { grid-template-columns: 1fr; }
  .technician-create label, .technician-create > button { grid-column: 1; }
  .crew-list-heading p { display: none; }
  .crew-list { grid-template-columns: 1fr; }
  .crew-profile-editor form { grid-template-columns: 1fr; }
  .crew-actions { grid-template-columns: 1fr; }
  .crew-actions > form:first-child { grid-template-columns: 1fr auto; }
  .asset-form-grid { grid-template-columns: 1fr; padding: 18px; }
  .asset-note-field { grid-column: auto; }
  .asset-admin-heading { align-items: flex-start; }
  .asset-admin-heading p { display: none; }
  .asset-admin-list article { grid-template-columns: 42px 1fr; gap: 10px; }
  .asset-admin-index { font-size: 28px; }
  .asset-admin-controls { grid-column: 2; }
  .asset-delete-confirm { grid-template-columns: 1fr; margin: 35px auto; box-shadow: 6px 6px 0 var(--deep); }
  .asset-delete-signal { min-height: 92px; font-size: 58px; }
  .asset-delete-copy { padding: 24px 18px; }
  .asset-delete-copy dl { grid-template-columns: 1fr; }
  .asset-delete-copy dl div { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .asset-delete-copy dl div:last-child { border-bottom: 0; }
  .asset-delete-actions { align-items: stretch; flex-direction: column-reverse; }
  .asset-delete-actions a, .asset-delete-actions button { justify-content: center; width: 100%; }
}

@media print {
  .print-toolbar { display: none; }
  @page { size: A4; margin: 0; }
  .qr-sheet { margin: 0; }
  .qr-poster { break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition: none !important; }
}
