/* ============================================================
   NextInLine — design tokens
   Concept: the campus "take a number" counter. Every listing,
   every college, every step in the flow is a ticket stub torn
   off a roll — perforated edge, a queue number, a dashed cut line.
   ============================================================ */

:root{
  --paper:        #E8DEBC;
  --paper-dim:     #F2E9D2;
  --card:         #FFFDF6;
  --ink:          #1D1B36;
  --ink-soft:     #55507A;
  --ink-faint:    #A39FC2;
  --yellow:       #FFC94A;
  --pink:         #FF4F81;
  --green:        #2FBF8F;
  --blue:         #4C6FFF;
  --red:          #E5484D;
  --line:         #1D1B36;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --shadow-hard: 4px 4px 0 var(--ink);
  --shadow-hard-lg: 7px 7px 0 var(--ink);

  --font-display: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
}

:root[data-theme="dark"]{
  --paper:        #171923;
  --paper-dim:    #242735;
  --card:         #2C3040;
  --ink:          #F6EBD2;
  --ink-soft:     #C7C0B2;
  --ink-faint:    #777485;
  --yellow:       #F3C969;
  --pink:         #FF7098;
  --green:        #48C79B;
  --blue:         #7890FF;
  --red:          #FF777B;
  --line:         #F6EBD2;
  --shadow-hard:  4px 4px 0 #090A10;
  --shadow-hard-lg: 7px 7px 0 #090A10;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--paper);
  background-image:
    radial-gradient(var(--ink-faint) 0.6px, transparent 0.6px);
  background-size: 22px 22px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 .4em;
  letter-spacing: -0.01em;
}

p{ margin: 0 0 1em; color: var(--ink-soft); }

a{ color: inherit; text-decoration: none; }

button, input, select, textarea{ font-family: inherit; font-size: inherit; color: inherit; }

img{ max-width: 100%; display:block; }

.wrap{ max-width: 1160px; margin: 0 auto; padding: 0 20px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Eyebrow / mono labels ---------- */
.ticket-eyebrow{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 40;
  background: var(--paper);
  border-bottom: 2.5px dashed var(--ink);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 72px; gap: 16px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{
  font-family: var(--font-mono); font-weight:700; font-size: 13px;
  background: var(--ink); color: var(--paper);
  padding: 6px 8px; border-radius: 6px;
  transform: rotate(-4deg);
}
.brand-word{ font-family: var(--font-display); font-size: 22px; }
.header-nav{ display:flex; gap: 22px; }
.header-link{
  font-weight: 700; font-size: 14.5px;
  border-bottom: 2.5px solid transparent;
  padding-bottom: 3px;
}
.header-link:hover{ border-color: var(--pink); }
.header-auth{ display:flex; align-items:center; gap: 10px; }

.theme-switch{ display:inline-flex; align-items:center; gap:7px; cursor:pointer; user-select:none; }
.theme-switch input{ position:absolute; opacity:0; pointer-events:none; }
.switch-track{ width:42px; height:24px; padding:3px; border:2px solid var(--ink); border-radius:999px; background:var(--card); transition:background .15s ease; }
.switch-thumb{ display:block; width:14px; height:14px; border-radius:50%; background:var(--ink); transition:transform .15s ease, background .15s ease; }
.theme-switch input:checked + .switch-track{ background:var(--yellow); }
.theme-switch input:checked + .switch-track .switch-thumb{ transform:translateX(17px); background:var(--ink); }
.theme-switch input:focus-visible + .switch-track{ outline:3px solid var(--pink); outline-offset:3px; }
.theme-switch-label{ font-family:var(--font-mono); font-size:11px; font-weight:700; color:var(--ink-soft); }

@media (max-width: 720px){
  .header-nav{ display:none; }
}

/* ---------- Footer ---------- */
.site-footer{
  border-top: 2.5px dashed var(--ink);
  margin-top: 80px;
  padding: 28px 0 60px;
}
.footer-inner p{ margin: 6px 0 0; font-family: var(--font-mono); font-size: 13px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family: var(--font-body); font-weight: 800; font-size: 14.5px;
  padding: 12px 22px;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  background: var(--card);
  cursor: pointer;
  box-shadow: var(--shadow-hard);
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active{ transform: translate(0,0); box-shadow: 2px 2px 0 var(--ink); }
.btn:disabled{ opacity:.5; cursor:not-allowed; transform:none; box-shadow: var(--shadow-hard); }

.btn-primary{ background: var(--pink); color: var(--paper); }
.btn-yellow{ background: var(--yellow); }
.btn-green{ background: var(--green); color: var(--paper); }
.btn-ghost{ background: transparent; box-shadow:none; }
.btn-ghost:hover{ transform:none; box-shadow:none; text-decoration: underline; }
.btn-sm{ padding: 8px 14px; font-size: 13px; }
.btn-block{ width: 100%; }
.btn-danger{ background: var(--card); color: var(--red); border-color: var(--red); box-shadow: 4px 4px 0 var(--red); }
.btn-danger:hover{ box-shadow: 6px 6px 0 var(--red); }

/* ============================================================
   Ticket card — the signature element.
   A card with a dashed perforation line and punched notches,
   used for colleges, listings, category windows, everywhere.
   ============================================================ */
.ticket{
  position: relative;
  background: var(--card);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  display: flex;
  overflow: visible;
}
.ticket-main{ flex: 1; padding: 20px 22px; min-width: 0; }
.ticket-stub{
  position: relative;
  width: 96px; flex-shrink: 0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 6px;
  border-left: 2.5px dashed var(--ink);
  padding: 14px 8px;
  text-align:center;
}
.ticket-stub::before, .ticket-stub::after{
  content:""; position:absolute; left:-11px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--paper);
  border: 2.5px solid var(--ink);
}
.ticket-stub::before{ top: -12px; }
.ticket-stub::after{ bottom: -12px; }
.ticket-stub .num{ font-family: var(--font-mono); font-weight:700; font-size: 12px; color: var(--ink-soft); }
.ticket-stub .icon{ font-size: 26px; }

.ticket-hover{ transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; }
.ticket-hover:hover{ transform: translate(-3px,-3px) rotate(-0.4deg); box-shadow: var(--shadow-hard-lg); }

/* ============================================================
   Page scaffolding
   ============================================================ */
.app-main{ min-height: 60vh; }
.page{ padding: 44px 0 60px; }
.page-narrow{ max-width: 640px; margin: 0 auto; }

.page-head{ margin-bottom: 34px; }
.page-head h1{ font-size: clamp(28px, 4.5vw, 44px); }
.page-head .lede{ font-size: 16.5px; max-width: 560px; }

.crumb{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono); font-size: 12.5px; font-weight:700;
  color: var(--ink-soft); margin-bottom: 18px;
}
.crumb:hover{ color: var(--ink); }

/* ============================================================
   Hero (home page)
   ============================================================ */
.hero{
  padding: 60px 0 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px){ .hero{ grid-template-columns: 1fr; } }

.hero-eyebrow{ margin-bottom: 14px; }
.hero h1{
  font-size: clamp(36px, 6vw, 68px);
  margin-bottom: 18px;
}
.hero h1 .flip{ color: var(--pink); }
.hero p.lede{ font-size: 18px; max-width: 480px; margin-bottom: 26px; }
.hero-ctas{ display:flex; gap: 14px; flex-wrap: wrap; }

/* the big animated ticket in the hero */
.hero-ticket-wrap{ display:flex; justify-content:center; }
.big-ticket{
  width: 100%; max-width: 360px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--shadow-hard-lg);
  padding: 30px 26px;
  transform: rotate(3deg);
  animation: settle 900ms cubic-bezier(.2,1.4,.4,1) both;
}
@keyframes settle{
  0%{ transform: rotate(10deg) translateY(-14px); opacity: 0; }
  100%{ transform: rotate(3deg) translateY(0); opacity: 1; }
}
.big-ticket .now-serving{ font-family: var(--font-mono); font-weight:700; font-size: 13px; letter-spacing:.12em; }
.big-ticket .number{ font-family: var(--font-display); font-size: 88px; line-height: 1; margin: 10px 0; }
.big-ticket .caption{ font-family: var(--font-mono); font-size: 13px; }
.big-ticket hr{ border: none; border-top: 2.5px dashed var(--ink); margin: 18px 0; }

/* ============================================================
   Category / window grid
   ============================================================ */
.window-row{
  display:grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  margin-bottom: 40px;
}
@media (max-width: 720px){ .window-row{ grid-template-columns: 1fr; } }

.window-card{
  border: 3px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-hard-lg);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
  overflow:hidden;
}
.window-card:hover{ transform: translate(-4px,-4px); box-shadow: 10px 10px 0 var(--ink); }
.window-card.buy{ background: var(--blue); color: var(--paper); }
.window-card.sell{ background: var(--pink); color: var(--paper); }
.window-card .tag{ font-family: var(--font-mono); font-size: 12.5px; opacity:.85; margin-bottom:10px; display:block; }
.window-card h2{ font-size: 34px; margin-bottom: 8px; }
.window-card p{ color: rgba(255,255,255,.88); margin-bottom: 0; }
.window-card .arrow{ position:absolute; right:22px; bottom:20px; font-size:30px; }

.step-row{ display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
@media (max-width: 780px){ .step-row{ grid-template-columns: 1fr; } }

.category-grid{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 16px;
}
.category-card{
  border: 2.5px solid var(--ink); border-radius: var(--radius-md);
  background: var(--card); padding: 20px 16px; text-align:center;
  box-shadow: var(--shadow-hard); cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.category-card:hover{ transform: translate(-3px,-3px); box-shadow: var(--shadow-hard-lg); background: var(--yellow); }
.category-card .emoji{ font-size: 30px; display:block; margin-bottom:8px; }
.category-card .label{ font-weight: 800; font-size: 14px; }
.category-card .count{ font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); margin-top:2px; }

/* ============================================================
   Forms
   ============================================================ */
.field{ margin-bottom: 18px; }
.field label{
  display:block; font-weight: 800; font-size: 13.5px; margin-bottom: 7px;
}
.field .hint{ font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); margin-top: 5px; display:block; }
.input, textarea.input, select.input{
  width: 100%; padding: 12px 14px;
  border: 2.5px solid var(--ink); border-radius: var(--radius-sm);
  background: var(--card);
  outline: none;
}
.input:focus, textarea.input:focus, select.input:focus{
  box-shadow: 0 0 0 3px var(--yellow);
}
textarea.input{ resize: vertical; min-height: 90px; }

.college-suggestions{ margin-top:10px; }
.suggestion-note{ font-family:var(--font-mono); font-size:11px; color:var(--ink-soft); margin-bottom:7px; }
.suggestion-list{ display:flex; flex-direction:column; gap:7px; }
.suggestion-item{ display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; padding:9px 11px; border:1.5px solid var(--ink); border-radius:var(--radius-sm); background:var(--paper-dim); cursor:pointer; text-align:left; }
.suggestion-item:hover{ background:var(--yellow); }
.suggestion-item strong{ font-size:13px; }
.suggestion-item span{ font-family:var(--font-mono); font-size:10.5px; color:var(--ink-soft); text-align:right; }
@media (max-width:560px){ .suggestion-item{ align-items:flex-start; flex-direction:column; gap:3px; } .suggestion-item span{ text-align:left; } }

.pill-select{ display:flex; flex-wrap:wrap; gap: 8px; }
.pill-option{
  padding: 9px 16px; border: 2.5px solid var(--ink); border-radius: 999px;
  cursor:pointer; font-weight: 700; font-size: 13.5px; background: var(--card);
  transition: background .12s ease, transform .1s ease;
}
.pill-option:hover{ transform: translateY(-2px); }
.pill-option.active{ background: var(--ink); color: var(--paper); }

.form-card{
  background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard-lg); padding: 32px;
}

.dropzone{
  border: 2.5px dashed var(--ink); border-radius: var(--radius-md);
  padding: 26px; text-align:center; cursor:pointer; background: var(--paper-dim);
}
.dropzone:hover{ background: var(--yellow); }
.photo-grid{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }
.photo-thumb{ position:relative; width: 84px; height: 84px; border-radius: var(--radius-sm); overflow:hidden; border: 2.5px solid var(--ink); }
.photo-thumb img{ width:100%; height:100%; object-fit:cover; }
.photo-thumb .rm{
  position:absolute; top:2px; right:2px; background: var(--red); color:#fff;
  width: 20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size: 12px; font-weight:800; cursor:pointer; border: 1.5px solid var(--ink);
}

/* ============================================================
   Search
   ============================================================ */
.search-bar{
  display:flex; gap: 10px; margin-bottom: 26px;
}
.search-bar .input{ font-size: 16px; padding: 14px 18px; }

/* ============================================================
   College list
   ============================================================ */
.college-list{ display:flex; flex-direction:column; gap:14px; }
.college-row .ticket-main h3{ font-size: 19px; margin-bottom:4px; }
.college-row .meta{ font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); }
.type-badge{
  display:inline-block; margin-top:8px; font-family: var(--font-mono); font-size: 11px; font-weight:700;
  padding: 3px 9px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--yellow);
}
.verified-badge{ display:inline-block; font-family:var(--font-mono); font-size:10px; font-weight:700; padding:3px 7px; border:1.5px solid var(--green); border-radius:999px; color:var(--green); vertical-align:middle; }

.empty-state{
  text-align:center; padding: 60px 20px; border: 2.5px dashed var(--ink); border-radius: var(--radius-lg);
  background: var(--paper-dim);
}
.empty-state .emoji{ font-size: 40px; margin-bottom: 10px; }

/* ============================================================
   Listing grid & detail
   ============================================================ */
.listing-grid{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px;
}
.listing-card{
  background: var(--card); border: 2.5px solid var(--ink); border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard); overflow:hidden; cursor:pointer;
  transition: transform .13s ease, box-shadow .13s ease;
  display:flex; flex-direction:column;
}
.listing-card:hover{ transform: translate(-3px,-3px); box-shadow: var(--shadow-hard-lg); }
.listing-card .thumb{
  height: 160px; background: var(--paper-dim); display:flex; align-items:center; justify-content:center;
  border-bottom: 2.5px dashed var(--ink); font-size: 36px; overflow:hidden;
}
.listing-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.listing-card .body{ padding: 14px 16px; flex:1; display:flex; flex-direction:column; }
.listing-card .price{ font-family: var(--font-display); font-size: 20px; margin: 2px 0 6px; }
.listing-card .name{ font-weight: 800; font-size: 14.5px; margin-bottom:4px; }
.listing-card .foot{
  margin-top:auto; display:flex; justify-content:space-between; align-items:center;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); padding-top: 8px;
}
.condition-chip{
  font-family: var(--font-mono); font-size: 10.5px; font-weight:700; padding: 2px 8px;
  border-radius: 999px; border: 1.5px solid var(--ink);
}
.cond-unused{ background: var(--green); color:#fff; }
.cond-excellent{ background: var(--yellow); }
.cond-good{ background: #fff; }
.cond-okay{ background: var(--paper-dim); }

.detail-grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 40px; }
@media (max-width: 860px){ .detail-grid{ grid-template-columns: 1fr; } }
.detail-gallery{ border: 2.5px solid var(--ink); border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-hard-lg); }
.detail-gallery .main-photo{ height: 360px; background: var(--paper-dim); display:flex; align-items:center; justify-content:center; font-size:60px; }
.detail-gallery .main-photo img{ width:100%; height:100%; object-fit:cover; }
.detail-thumbs{ display:flex; gap:8px; padding: 10px; border-top: 2.5px dashed var(--ink); overflow-x:auto; }
.detail-thumbs img{ width:56px; height:56px; object-fit:cover; border-radius:8px; border:2px solid var(--ink); cursor:pointer; }

.seller-box{
  border: 2.5px solid var(--ink); border-radius: var(--radius-md); padding: 18px 20px; margin-top: 22px;
  background: var(--paper-dim);
}
.seller-box .row{ display:flex; align-items:center; gap:12px; }
.avatar{
  width:42px; height:42px; border-radius:50%; background: var(--ink); color: var(--paper);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-family: var(--font-mono); flex-shrink:0;
}
.blurred-note{ font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); margin-top: 6px; }

.msg-list{ display:flex; flex-direction:column; gap: 12px; margin-top: 16px; }
.msg-item{ border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--card); }
.msg-item .who{ font-weight:800; font-size: 13px; }
.msg-item .when{ font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }

/* ============================================================
   My listings / dashboard
   ============================================================ */
.tabs{ display:flex; gap: 8px; margin-bottom: 26px; }
.tab-btn{
  padding: 9px 18px; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--card);
  font-weight:800; font-size: 13.5px; cursor:pointer;
}
.tab-btn.active{ background: var(--ink); color: var(--paper); }

.my-listing-row{ display:flex; align-items:center; gap: 16px; }
.my-listing-row .thumb{
  width: 64px; height: 64px; border-radius: var(--radius-sm); border: 2px solid var(--ink);
  overflow:hidden; flex-shrink:0; background: var(--paper-dim); display:flex; align-items:center; justify-content:center;
}
.my-listing-row .thumb img{ width:100%; height:100%; object-fit:cover; }
.my-listing-row .info{ flex:1; min-width:0; }
.my-listing-row .info h4{ font-family: var(--font-body); font-weight:800; font-size:15px; margin:0 0 2px; }
.my-listing-row .info .meta{ font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft); }
.status-chip{ font-family: var(--font-mono); font-size: 10.5px; font-weight:700; padding:3px 9px; border-radius:999px; border:1.5px solid var(--ink); }
.status-active{ background: var(--green); color:#fff; }
.status-sold{ background: var(--ink-faint); }

/* ============================================================
   Modal & toast
   ============================================================ */
.modal-backdrop{
  position: fixed; inset:0; background: rgba(29,27,54,.55); z-index:100;
  display:flex; align-items:center; justify-content:center; padding: 20px;
  animation: fadeIn .15s ease both;
}
@keyframes fadeIn{ from{ opacity:0; } to{ opacity:1; } }
.modal-box{
  width: 100%; max-width: 420px; background: var(--paper); border: 3px solid var(--ink);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-hard-lg); padding: 30px;
  max-height: 90vh; overflow-y:auto;
  animation: settle 280ms cubic-bezier(.2,1.4,.4,1) both;
}
.modal-close{
  position:absolute; top:16px; right:16px; background:none; border:none; font-size: 20px;
  cursor:pointer; font-weight:800;
}
.modal-box{ position: relative; }
.modal-tabs{ display:flex; gap:6px; margin-bottom: 20px; }
.modal-tab{
  flex:1; text-align:center; padding: 9px; border: 2px solid var(--ink); border-radius: 999px;
  font-weight:800; font-size: 13px; cursor:pointer; background:transparent;
}
.modal-tab.active{ background: var(--yellow); }

.toast-root{ position: fixed; top: 90px; right: 20px; z-index: 200; display:flex; flex-direction:column; gap:10px; }
.toast{
  background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight:700; font-size: 13.5px; box-shadow: var(--shadow-hard); max-width: 320px;
  animation: settle 220ms ease both;
}
.toast.error{ background: var(--red); }
.toast.success{ background: var(--green); }

/* ============================================================
   Misc
   ============================================================ */
.spinner{
  width: 22px; height: 22px; border: 3px solid var(--ink-faint); border-top-color: var(--ink);
  border-radius: 50%; animation: spin .7s linear infinite; margin: 30px auto;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

.chip-row{ display:flex; gap:8px; flex-wrap:wrap; margin: 10px 0 18px; }
.small-note{ font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); }

.two-col{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .two-col{ grid-template-columns: 1fr; } }

.admin-toolbar{ display:grid; grid-template-columns: 1fr 220px; gap:12px; margin-bottom:14px; }
.admin-summary{ font-family:var(--font-mono); font-size:12px; color:var(--ink-soft); margin-bottom:22px; }
.admin-links{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:28px; }
.admin-options{ display:flex; flex-wrap:wrap; gap:18px; margin:0 0 18px; font-size:13.5px; font-weight:700; }
.admin-options input, .forward-check input{ accent-color:var(--pink); width:17px; height:17px; vertical-align:middle; }
.admin-queue{ display:flex; flex-direction:column; gap:22px; }
.admin-queue-group{ background:var(--card); border:2.5px solid var(--ink); border-radius:var(--radius-lg); box-shadow:var(--shadow-hard); overflow:hidden; }
.admin-college-row{ align-items:center; justify-content:space-between; padding-right:18px; }
.admin-college-row .ticket-main{ padding-top:16px; padding-bottom:16px; }
.admin-college-row h3{ font-size:18px; }
.admin-college-actions{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.activity-list{ display:flex; flex-direction:column; gap:10px; }
.activity-row{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:15px 18px; background:var(--card); border:2px solid var(--ink); border-radius:var(--radius-sm); box-shadow:var(--shadow-hard); }
.activity-row strong{ text-transform:capitalize; }
.admin-message.is-archived{ opacity:.72; background:var(--paper-dim); }
.admin-queue-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:18px 22px; background:var(--yellow); border-bottom:2.5px dashed var(--ink); }
.admin-queue-head h3{ font-size:19px; margin:5px 0 4px; }
.admin-queue-head .meta{ font-family:var(--font-mono); font-size:11.5px; color:var(--ink-soft); }
.admin-message-list{ display:flex; flex-direction:column; }
.admin-message{ display:flex; justify-content:space-between; gap:16px; padding:16px 22px; border-bottom:1.5px dashed var(--ink-faint); }
.admin-message:last-child{ border-bottom:0; }
.admin-message.is-forwarded{ background:#effaf5; }
.admin-message-copy{ min-width:0; }
.admin-message-copy .meta{ font-family:var(--font-mono); font-size:12px; color:var(--ink-soft); }
.admin-message-copy p{ margin:6px 0; }
.admin-offer{ font-family:var(--font-display); font-size:22px; margin-top:4px; }
.admin-message-actions{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.forward-check{ display:flex; align-items:center; gap:6px; font-family:var(--font-mono); font-size:11px; font-weight:700; white-space:nowrap; }
@media (max-width: 680px){
  .admin-toolbar{ grid-template-columns:1fr; }
  .admin-queue-head, .admin-message{ align-items:flex-start; flex-direction:column; }
  .admin-message-actions{ width:100%; justify-content:space-between; }
  .admin-college-row{ align-items:flex-start; flex-direction:column; padding-right:0; }
  .admin-college-actions{ padding:0 22px 16px; }
  .activity-row{ align-items:flex-start; flex-direction:column; gap:6px; }
}
