/* 大勇國小 資訊設備報修
   視覺主軸：維修吊牌。編號用黃色吊牌（打孔＋細繩）呈現，其餘保持安靜。

   設計規則（依 redesign-existing-projects skill 調整成中文版）：
   - 字級只用下面的階梯（--t-*），不要再出現 13.5px、15.5px 這類零碎值。
     內文為了老師好讀，正文用 18px（使用者要求放大），最小 14px；12px 只給小徽章。
   - 間距只用 0 2 4 8 12 16 24 32 40 48 64 80 96。
   - 圓角：一般元件 6px（--radius-s）、面板 12px（--radius）、全圓 999px。
   - 動態只動 transform 與 opacity；顏色變化 300ms、移動 500ms，曲線 --ease。
   - 不用背景漸層、不用單邊色條、不用斜體。 */
:root {
  --ink: #1B2B44;
  --ink-2: #44546B;
  --ink-3: #6B788B;
  --line: #DCE2EA;
  --line-2: #EDF1F5;
  --paper: #F3F5F8;
  --card: #FFFFFF;
  --tag: #F4C430;
  --tag-hover: #EAB928;
  --tag-press: #D9A915;
  --tag-deep: #C99A0A;
  --tag-soft: #FFF8E1;
  --tag-soft-line: #EED9A0;
  --info-soft: #EEF4FB;
  --info-soft-line: #C9DAEE;
  --urgent: #C8342B;
  --working: #2563A8;
  --outside: #6B4FA0;
  --done: #1E7B4F;
  --muted: #8A94A3;
  --focus: #2563A8;
  --field: #C9D2DD;
  --radius: 12px;
  --radius-s: 6px;
  --font: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", "Heiti TC", sans-serif;
  --num: "Barlow Condensed", "Arial Narrow", "Noto Sans TC", sans-serif;
  --shadow: 0 1px 0 rgba(27, 43, 68, .06), 0 8px 16px -8px rgba(27, 43, 68, .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur-c: 300ms;   /* 顏色、透明度 */
  --dur-m: 500ms;   /* 移動 */
  /* 字級階梯（大小／行高） */
  --t-xs: 12px; --t-sm: 14px; --t-base: 16px; --t-lg: 18px; --t-xl: 20px;
  --t-2xl: 24px; --t-3xl: 30px; --t-4xl: 36px; --t-5xl: 48px; --t-6xl: 60px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--t-lg)/1.6 var(--font); letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--working); }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, dd, .reply, .lead { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 16px; top: 8px; z-index: 90; transform: translateY(-160%);
  padding: 8px 16px; border: 0; border-radius: var(--radius-s); background: var(--tag); color: var(--ink);
  font-weight: 600; cursor: pointer;
}
.skip:focus-visible { transform: none; }
main:focus { outline: none; }
.boot { padding: 30vh 0; text-align: center; color: var(--ink-3); }

/* ---------- 吊牌 ---------- */
.tag {
  --h: 30px;
  position: relative; display: inline-flex; align-items: center; justify-content: flex-end;
  min-width: 64px; height: var(--h); padding: 0 12px 0 24px;
  background: var(--tag); color: var(--ink);
  font: 700 var(--t-lg)/1 var(--num); letter-spacing: .02em;
  clip-path: polygon(9px 0, 100% 0, 100% 100%, 9px 100%, 0 50%);
  flex: none;
}
.tag::before { /* 打孔 */
  content: ""; position: absolute; left: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(27, 43, 68, .35);
}
.login-art .tag::before { background: var(--ink); }
.done-box .tag::before, .page-head .tag::before { background: var(--paper); }
.tag.is-closed { background: #E4E8EE; color: var(--ink-2); }
.tag.is-urgent { background: var(--urgent); color: #fff; }
.tag.is-urgent::before { box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .3); }
.tag-big {
  --h: 92px; min-width: 220px; padding: 0 24px 0 64px; font-size: var(--t-6xl);
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 26px 100%, 0 50%);
}
.tag-big::before { left: 26px; width: 18px; height: 18px; margin-top: -9px; box-shadow: inset 0 0 0 3px rgba(27, 43, 68, .35); }
.tag-big small { font: 500 var(--t-2xl)/1 var(--num); margin-right: 8px; opacity: .7; }
.tag-mid { --h: 44px; min-width: 84px; font-size: var(--t-2xl); padding-left: 32px; }
.tag-string { display: inline-block; vertical-align: middle; }

/* ---------- 頂列 ---------- */
.top { position: sticky; top: 0; z-index: 20; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); padding: 0 max(16px, env(safe-area-inset-left)); }
.top-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 102px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 80px; height: 88px; object-fit: contain; flex: none; }
.brand-copy { display: grid; gap: 3px; }
.brand-copy small { font-size: 15px; color: #53647a; letter-spacing: .08em; }
.brand-copy b { font-size: 25px; line-height: 1.3; font-weight: 700; }
.me { display: flex; align-items: center; gap: 10px; color: var(--ink-2); white-space: nowrap; font-size: 16px; }
.me .role { background: #edf2f7; color: #52627a; padding: 3px 9px; border-radius: 6px; font-size: 14px; }
.me button { color: var(--ink); background: #fff; border: 1px solid #ccd5e1; padding: 8px 15px; border-radius: 8px; min-height: 42px; font: inherit; cursor: pointer; }
.me button:hover { background: #f1f5f9; border-color: #8294ab; }
.header-menu { max-width: 1240px; margin: 0 auto; padding: 10px 0; border-top: 1px solid #e9edf2; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.nav { display: flex; flex: 1 1 auto; flex-wrap: wrap; gap: 4px; overflow: visible; }
.nav a { display: inline-flex; align-items: center; gap: 4px; min-height: 42px; padding: 8px 12px; border-radius: 7px; color: #52627a; font-size: 16px; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: #f0f4f8; color: var(--ink); }
.nav a[aria-current="page"] { background: #eaf0f7; color: var(--ink); font-weight: 700; }
.nav a[aria-current="page"]::after { display: none; }
.nav a.nav-report { margin: 0; background: var(--tag); color: var(--ink); font-weight: 700; }
.nav a.nav-report:hover { background: var(--tag-hover); }
.nav .count { min-width: 20px; padding: 0 5px; border-radius: 6px; background: #e5b82b; color: var(--ink); font: 700 13px/20px var(--num); text-align: center; }
.top-shortcuts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.top-shortcuts a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; min-height: 42px; border-radius: 7px; font-size: 16px; color: #52627a; text-decoration: none; }
.top-shortcuts .quiz-shortcut { background: #fff5dc; color: #785023; }
.top-shortcuts a:hover { background: #f2f5f8; color: var(--ink); }
.top-shortcuts a[aria-current="page"] { background: #eaf0f7; color: var(--ink); font-weight: 700; }
.room-map-link { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; margin: 6px 0; border: 1px solid #bccce0; border-radius: 7px; background: #f0f5fb; color: #244b79; font-size: 16px; font-weight: 600; text-decoration: none; }
.room-map-link:hover { background: #e1ecf9; }
.room-map-note { display: block; color: var(--ink-2); font-size: 14px; }
.card-acts .room-map-link { margin: 0; }

.demo-bar { background: var(--tag); color: var(--ink); font-size: var(--t-sm); text-align: center; padding: 8px 16px; }
.demo-bar button { margin-left: 8px; border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 0 12px; cursor: pointer; }

/* ---------- 版面 ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 32px max(16px, env(safe-area-inset-left)) 80px; }
.narrow { max-width: 720px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
h1 { font-size: var(--t-2xl); line-height: 32px; margin: 0; font-weight: 700; letter-spacing: .02em; }
h2 { font-size: var(--t-xl); line-height: 28px; margin: 0 0 12px; font-weight: 700; }
h3 { font-size: var(--t-lg); line-height: 28px; margin: 0 0 8px; font-weight: 600; }
.lead { color: var(--ink-2); margin: 8px 0 0; max-width: 40em; }
.muted { color: var(--ink-3); }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel + .panel { margin-top: 16px; }

/* 提示框：整塊淡底色加完整外框（不用單邊色條） */
.notice, .login-remind, .fix-box, .tip-account {
  background: var(--tag-soft); border: 1px solid var(--tag-soft-line); border-radius: var(--radius-s);
}
.tip, .swap-box { background: var(--info-soft); border: 1px solid var(--info-soft-line); border-radius: var(--radius-s); }
.notice { padding: 12px 16px; margin: 0 0 24px; white-space: pre-line; }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: var(--radius-s); border: 1px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer; font-size: var(--t-lg); font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur-c) var(--ease), border-color var(--dur-c) var(--ease), color var(--dur-c) var(--ease), transform var(--dur-m) var(--ease);
}
.btn:hover { border-color: var(--ink-3); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-primary:hover { background: #263B5C; border-color: #263B5C; }
.btn-big { min-height: 56px; font-size: var(--t-lg); padding: 0 24px; }
.btn-s { min-height: 36px; padding: 0 12px; font-size: var(--t-sm); }
.btn-report { min-height: 52px; padding: 0 24px; border: 1px solid var(--tag-deep); background: var(--tag); color: var(--ink); font-weight: 700; }
.btn-report span { font-size: var(--t-2xl); line-height: 1; }
.btn-report:hover { background: var(--tag-hover); border-color: var(--tag-deep); }
.btn-report:active { background: var(--tag-press); }
.btn-done { background: var(--done); border-color: var(--done); color: #fff; }
.btn-done:hover { background: #17633F; border-color: #17633F; }
.btn-danger { color: var(--urgent); border-color: #F0C9C5; }
.btn-danger:hover { border-color: var(--urgent); }
.btn-danger-solid { background: var(--urgent); border-color: var(--urgent); color: #fff; }
.btn-danger-solid:hover { background: #A92A22; border-color: #A92A22; }
.btn-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--working); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 500; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- 表單 ---------- */
.field { margin-bottom: 24px; }
.field > label, .field > .label { display: block; font-weight: 700; margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: var(--t-sm); margin-left: 8px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 8px 12px; border: 1px solid var(--field); border-radius: var(--radius-s);
  background: #fff; font-size: var(--t-lg);
  transition: border-color var(--dur-c) var(--ease);
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--focus); outline: 2px solid rgba(37, 99, 168, .2); outline-offset: 0; }
.input-room { max-width: 220px; }
.input-s { min-height: 40px; padding: 4px 12px; font-size: var(--t-base); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--field); background: #fff; cursor: pointer; font-size: var(--t-base);
  transition: background-color var(--dur-c) var(--ease), border-color var(--dur-c) var(--ease), color var(--dur-c) var(--ease), transform var(--dur-m) var(--ease);
}
.chip:hover { border-color: var(--ink-2); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.chip-s { min-height: 32px; padding: 0 12px; font-size: var(--t-sm); background: var(--line-2); border-color: transparent; }
.chip-s:hover { border-color: var(--ink-3); }
.phrases { margin-top: 12px; }
.field > label.check { font-weight: 400; margin-bottom: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 12px 16px; border: 1px solid var(--field); border-radius: var(--radius-s); background: #fff; }
.check input { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--urgent); flex: none; }
.check:has(input:checked) { border-color: var(--urgent); background: #FDF3F2; }
.photos { display: flex; gap: 12px; flex-wrap: wrap; }
.photo-thumb { position: relative; width: 96px; height: 96px; border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--line); background: var(--line-2); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(27, 43, 68, .8); color: #fff; cursor: pointer; line-height: 1; }
.photo-add { width: 96px; height: 96px; border: 1.5px dashed #AAB6C4; border-radius: var(--radius-s); display: grid; place-items: center; color: var(--ink-2); font-size: var(--t-sm); cursor: pointer; background: #fff; text-align: center; transition: border-color var(--dur-c) var(--ease); }
.photo-add:hover { border-color: var(--ink); }
.photo-add input { display: none; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 8px; }
.err { color: var(--urgent); font-size: var(--t-sm); margin-top: 8px; }

/* 常見問題 */
.common { display: grid; gap: 12px; }
.common-grp { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: start; }
.common-name { font-size: var(--t-sm); color: var(--ink-3); padding-top: 8px; }
.tip { margin: 12px 0 0; padding: 12px 16px; font-size: var(--t-base); }
.tip-account a { display: inline-block; margin-top: 8px; }
@media (max-width: 720px) {
  .common-grp { grid-template-columns: 1fr; gap: 8px; }
  .common-name { padding-top: 0; }
}

/* ---------- 送出成功 ---------- */
.done-box { text-align: left; padding: 48px 0 12px; }
.done-box .tag-big { margin: 8px 0 24px; transform-origin: 0 50%; animation: swing 900ms cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes swing { 0% { transform: rotate(-12deg); } 60% { transform: rotate(4deg); } 100% { transform: rotate(0); } }

/* ---------- 狀態 ---------- */
.st { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); font-weight: 600; white-space: nowrap; }
.st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.st-pending { color: var(--tag-deep); }
.st-working { color: var(--working); }
.st-vendor, .st-general { color: var(--outside); }
.st-fixed, .st-replaced, .st-issued, .st-loaned { color: var(--done); }
.st-cancelled { color: var(--muted); }
.urgent-mark { color: var(--urgent); font-weight: 700; font-size: var(--t-sm); white-space: nowrap; }

/* ---------- 篩選 ---------- */
.filters { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; font-size: var(--t-lg); }
.seg { display: inline-flex; border: 1px solid var(--field); border-radius: var(--radius-s); overflow: hidden; background: #fff; }
.seg button {
  border: 0; background: none; padding: 0 16px; min-height: 40px; cursor: pointer; font-size: var(--t-base); border-right: 1px solid var(--field);
  transition: background-color var(--dur-c) var(--ease), color var(--dur-c) var(--ease);
}
.seg button:last-child { border-right: 0; }
.seg button:hover:not([aria-pressed="true"]) { background: var(--line-2); }
.seg button:active { background: var(--line); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 600; }
.filters .select, .filters .input { width: auto; min-height: 40px; font-size: var(--t-base); padding: 4px 12px; }
.filters .search { flex: 1; min-width: 180px; }

/* ---------- 列表 ---------- */
.list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.item {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 4px 16px; align-items: center;
  padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line-2); cursor: pointer; text-align: left;
  width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0;
  transition: background-color var(--dur-c) var(--ease);
}
.item:last-child { border-bottom: 0; }
.item:hover { background: #F8FAFC; }
.item:active { background: var(--line-2); }
.item .tag { justify-self: start; }
.item-main { min-width: 0; }
.item-title { font-weight: 500; font-size: var(--t-lg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-meta { color: #52627A; font-size: var(--t-base); display: flex; gap: 4px 16px; flex-wrap: wrap; line-height: 1.5; }
.item-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: var(--t-base); }
.item-side .muted { font-size: var(--t-sm); color: #52627A; }
.list-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; color: var(--ink-3); font-size: var(--t-sm); flex-wrap: wrap; }
.empty { padding: 48px 24px; text-align: center; color: var(--ink-2); }
.empty p { margin: 0 0 16px; }

/* 載入中骨架（只動透明度） */
.skel-tag, .skel-line, .skel-side, .skel-photo { display: block; background: #E6EBF1; border-radius: 4px; animation: pulse 1.4s var(--ease) infinite alternate; }
.skel-row { cursor: default; }
.skel-row:hover { background: none; }
.skel-tag { width: 64px; height: 30px; border-radius: 0 4px 4px 0; }
.skel-line { height: 16px; margin: 4px 0; width: 100%; }
.skel-sub { width: 36% !important; height: 12px; }
.skel-row:nth-child(5n+1) .skel-line:first-child { width: 62%; }
.skel-row:nth-child(5n+2) .skel-line:first-child { width: 48%; }
.skel-row:nth-child(5n+3) .skel-line:first-child { width: 70%; }
.skel-row:nth-child(5n+4) .skel-line:first-child { width: 55%; }
.skel-row:nth-child(5n+5) .skel-line:first-child { width: 40%; }
.skel-side { width: 72px; height: 16px; }
.skel-title { width: 60%; height: 24px; margin-top: 24px; }
.skel-w80 { width: 80%; }
.skel-photo { width: 120px; height: 120px; border-radius: var(--radius-s); }
.skel-li { list-style: none; padding-left: 0 !important; }
.skel-li::before, .skel-li::after { display: none; }
@keyframes pulse { from { opacity: 1; } to { opacity: .45; } }

/* ---------- 處理台 ---------- */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.col-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 3px solid var(--line); }
.col-head h2 { margin: 0; font-size: var(--t-lg); }
.col-head .n { font: 700 var(--t-2xl)/1 var(--num); }
.col-pending .col-head { border-color: var(--tag); }
.col-working .col-head { border-color: var(--working); }
.col-done .col-head { border-color: var(--done); }
.cards { display: flex; flex-direction: column; gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px 12px 0; box-shadow: var(--shadow); }
.card.is-urgent { border-color: #EBB2AD; }
.card-top { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.card-title { font-weight: 500; line-height: 1.45; }
.card-loc { font-size: var(--t-base); font-weight: 700; }
.card-meta { padding-left: 16px; margin-top: 8px; color: var(--ink-3); font-size: var(--t-sm); display: flex; gap: 12px; flex-wrap: wrap; }
.card-acts { padding-left: 16px; margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.col-empty { color: var(--ink-3); font-size: var(--t-sm); padding: 16px 4px; }

/* ---------- 抽屜（報修單內容） ---------- */
.scrim { position: fixed; inset: 0; background: rgba(27, 43, 68, .35); z-index: 40; animation: fade var(--dur-c) var(--ease); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--paper); z-index: 41;
  display: flex; flex-direction: column; box-shadow: -12px 0 40px -20px rgba(27, 43, 68, .5); animation: slide var(--dur-m) var(--ease);
}
@keyframes slide { from { transform: translateX(32px); opacity: .4; } }
@keyframes fade { from { opacity: 0; } }
.drawer-head { display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 0; background: var(--card); border-bottom: 1px solid var(--line); }
.drawer-head .grow { flex: 1; min-width: 0; }
.drawer-close {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: var(--t-xl); line-height: 1; flex: none;
  transition: border-color var(--dur-c) var(--ease), transform var(--dur-m) var(--ease);
}
.drawer-close:hover { border-color: var(--ink-3); }
.drawer-close:active { transform: scale(.96); }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px; }
.drawer h2 { font-size: var(--t-xl); margin: 0 0 4px; line-height: 28px; }
.facts { display: grid; grid-template-columns: 88px 1fr; gap: 8px 12px; margin: 0; font-size: var(--t-base); }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; white-space: pre-line; word-break: break-word; }
.block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.block h3 { font-size: var(--t-base); color: var(--ink-2); }
.reply { white-space: pre-line; word-break: break-word; }
.gallery { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius-s); border: 1px solid var(--line); cursor: zoom-in; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 24px; font-size: var(--t-sm); }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.timeline li::after { content: ""; position: absolute; left: 7.5px; top: 20px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .who { font-weight: 600; }
.timeline .when { color: var(--ink-3); font-size: var(--t-sm); margin-left: 8px; }
.timeline .txt { white-space: pre-line; word-break: break-word; }
.staff-box { border-color: var(--ink); }
.status-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-bottom: 16px; }
.status-pick .chip { border-radius: var(--radius-s); }
.status-pick .grp { grid-column: 1 / -1; font-size: var(--t-sm); color: var(--ink-3); margin-top: 4px; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(10, 16, 26, .9); display: grid; place-items: center; cursor: zoom-out; }
.lightbox img { max-width: 94vw; max-height: 90vh; }

/* 抽屜裡的「複製網址給廠商」 */
.share-row { display: flex; gap: 8px; margin: 8px 0 4px; }
.share-row .input { flex: 1; min-width: 0; font-size: var(--t-sm); color: var(--ink-2); background: var(--paper); }
.share-hint { font-size: var(--t-sm); margin: 0 0 12px; }

/* ---------- 站內確認視窗 ---------- */
.cbox-scrim { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(27, 43, 68, .45); animation: fade var(--dur-c) var(--ease); }
.cbox { width: min(440px, 100%); background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: 0 24px 48px -24px rgba(27, 43, 68, .6); animation: rise var(--dur-m) var(--ease); }
.cbox p { margin: 0 0 24px; font-size: var(--t-lg); line-height: 1.6; white-space: pre-line; }
.cbox-acts { justify-content: flex-end; }
@keyframes rise { from { transform: translateY(12px); opacity: 0; } }
@media (max-width: 480px) { .cbox-acts .btn { flex: 1; } }

/* ---------- 登入 ---------- */
.login { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.login-art { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; position: relative; }
.login-art .school { color: #A9B6C8; font-size: var(--t-sm); }
.login-art h1 { font-size: var(--t-5xl); line-height: 1.2; letter-spacing: .04em; margin: 16px 0 0; }
.hang { position: relative; height: 232px; }
.hang .string { position: absolute; left: 30px; top: 0; width: 2px; height: 70px; background: #5B6E89; transform-origin: top; }
.hang .tag-big { position: absolute; left: 0; top: 64px; transform-origin: 30px 0; animation: hang 2.6s ease-in-out 1 both; }
@keyframes hang { 0% { transform: rotate(10deg); } 30% { transform: rotate(-6deg); } 55% { transform: rotate(3deg); } 80% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }
.login-art .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: #C6D0DD; max-width: 30em; }
.login-art .steps b { color: #fff; font-weight: 600; }
.login-side { padding: 48px; display: flex; flex-direction: column; justify-content: center; max-width: 520px; }
.login-side h2 { font-size: var(--t-2xl); line-height: 32px; }
.login-remind { padding: 12px 16px; margin: 0 0 24px; line-height: 1.7; }
.gbtn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 24px; border: 1px solid var(--field); border-radius: var(--radius-s); background: #fff; cursor: pointer; font-size: var(--t-lg); font-weight: 600;
  transition: border-color var(--dur-c) var(--ease), transform var(--dur-m) var(--ease);
}
.gbtn:hover { border-color: var(--ink); }
.gbtn:active { transform: translateY(1px); }
.gbtn svg { width: 22px; height: 22px; }
.login-side .small { font-size: var(--t-sm); color: var(--ink-3); margin-top: 16px; }
.demo-pick { display: grid; gap: 12px; margin-top: 12px; }
.demo-pick .btn { justify-content: flex-start; min-height: 52px; }

/* ---------- 管理 ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs button { border: 0; background: none; padding: 12px 16px; cursor: pointer; font-size: var(--t-base); color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color var(--dur-c) var(--ease), border-color var(--dur-c) var(--ease); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--ink); font-weight: 700; border-color: var(--ink); }
.ptable { width: 100%; border-collapse: collapse; font-size: var(--t-base); }
.ptable th, .ptable td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.ptable th { color: var(--ink-3); font-weight: 600; font-size: var(--t-sm); }
.ptable td .select { min-height: 36px; padding: 4px 8px; width: auto; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: var(--t-xs); background: var(--line-2); color: var(--ink-2); }
.badge-super { background: var(--ink); color: #fff; }
.add-row { display: grid; grid-template-columns: 1.4fr 1fr 140px auto; gap: 12px; align-items: end; }
.add-row label { font-size: var(--t-sm); color: var(--ink-2); display: block; margin-bottom: 4px; }
.grid2 > .panel { margin-top: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bars { display: grid; gap: 8px; font-size: var(--t-sm); }
.bar { display: grid; grid-template-columns: 112px 1fr 40px; gap: 12px; align-items: center; }
.bar .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar .track { height: 12px; background: var(--line-2); border-radius: 6px; overflow: hidden; }
.bar .fill { display: block; height: 100%; background: var(--ink); border-radius: 6px; }
.bar .v { text-align: right; font: 600 var(--t-base)/1 var(--num); }
.kv { display: flex; gap: 32px; flex-wrap: wrap; margin-bottom: 4px; }
.kv div { font-size: var(--t-sm); color: var(--ink-3); }
.kv b { display: block; font: 700 var(--t-3xl)/1.1 var(--num); color: var(--ink); }

/* 處理提示 */
.fix-box { padding: 12px 16px; }
.fix-box h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fix-steps { margin: 0; padding-left: 24px; }
.fix-steps li { margin: 4px 0; }
.who { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: var(--t-xs); font-weight: 600; background: var(--line-2); color: var(--ink-2); }
.who-volunteer { background: #E3EEFA; color: #1F4E79; }
.who-staff { background: var(--ink); color: #fff; }
.who-teacher { background: #E5F3E6; color: #24602B; }
.tip-shot { display: block; width: 100%; max-width: 520px; margin-top: 12px; border: 1px solid var(--line); border-radius: var(--radius-s); }

/* 領用借用 */
.loan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 16px; margin-top: 8px; }
.loan-grid .field { margin-bottom: 16px; }
.seg-opt { display: inline-flex; }
.seg-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg-opt span { display: inline-flex; align-items: center; padding: 0 16px; min-height: 40px; cursor: pointer; font-size: var(--t-base); border-right: 1px solid var(--field); transition: background-color var(--dur-c) var(--ease), color var(--dur-c) var(--ease); }
.seg-opt:last-child span { border-right: 0; }
.seg-opt input:checked + span { background: var(--ink); color: #fff; font-weight: 600; }
.seg-opt input:focus-visible + span { outline: 3px solid var(--tag); outline-offset: -3px; }
.table-wrap { overflow-x: auto; }
.loan-table td, .loan-table th { white-space: nowrap; }
.loan-table td:nth-child(5) { white-space: normal; min-width: 160px; }
.loan-out td { background: #FFFBEA; }

/* 換機登記 */
.swap-box { margin: 4px 0 16px; padding: 12px 16px; }
.swap-box h4 { margin: 0 0 12px; font-size: var(--t-base); }
.swap-box .hint { font-weight: 400; color: var(--ink-3); font-size: var(--t-sm); margin-left: 8px; }
.swap-row { display: grid; grid-template-columns: 5.5em 1fr auto 1fr; gap: 8px; align-items: center; margin-bottom: 8px; }
.swap-row > .input:first-child { grid-column: 1; }
.swap-name { font-weight: 700; }
@media (max-width: 520px) { .swap-row { grid-template-columns: 1fr auto 1fr; } .swap-name, .swap-row > .input:first-child { grid-column: 1 / -1; } }

/* ---------- 訪客首頁與公開紀錄 ---------- */
.public-record + .public-record { border-top: 1px solid var(--line-2); }
.public-record summary { list-style: none; cursor: pointer; }
.public-record summary::-webkit-details-marker { display: none; }
/* 展開箭頭：整列都可以點，不另放「查看處理」文字連結 */
.public-record summary.item { position: relative; padding-right: 56px; }
.disclose {
  position: absolute; right: 24px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-75%) rotate(45deg); transition: transform var(--dur-m) var(--ease), border-color var(--dur-c) var(--ease);
}
.public-record summary:hover .disclose { border-color: var(--ink); }
.public-record[open] .disclose { transform: translateY(-25%) rotate(225deg); border-color: var(--ink); }
.public-record[open] summary.item { background: #F8FAFC; }
/* 展開後的內容：淡底小面板＋標籤，按鈕放右下 */
.public-record-detail {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin: 0 16px 16px 96px; padding: 16px; background: var(--paper); border-radius: var(--radius-s);
}
.pr-facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: var(--t-base); flex: 1; min-width: 0; }
.pr-facts dt { color: var(--ink-3); white-space: nowrap; }
.pr-facts dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.pr-open { flex: none; background: var(--card); }
.pr-open span { font-size: var(--t-xl); line-height: 1; }
@media (max-width: 720px) {
  .public-record summary.item { padding-right: 48px; }
  .disclose { right: 20px; }
  .public-record-detail { margin: 0 16px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .pr-facts { grid-template-columns: 1fr; gap: 0; }
  .pr-facts dd + dt { margin-top: 12px; }
  .pr-open { align-self: stretch; }
}

/* 單張報修的公開頁（給廠商的網址） */
.public-ticket { max-width: 760px; margin: 0 auto; padding: 32px; }
.public-ticket h1 { font-size: var(--t-2xl); margin: 16px 0; }
.public-ticket .pt-head { display: flex; align-items: center; gap: 16px; }
.public-ticket .pt-note { font-size: var(--t-sm); margin: 16px 0; }
.public-ticket .facts dd { white-space: pre-wrap; }
@media (max-width: 600px) { .public-ticket { padding: 24px 16px; } .public-ticket h1 { font-size: var(--t-xl); line-height: 28px; } }

/* ---------- 使用教學 ---------- */
.help { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 920px; }
.help-sec { margin: 0 !important; }
.help-sec h2 { margin-bottom: 16px; }
.help-wide { grid-column: 1 / -1; }
.help-shot { margin: 24px 0 0; }
.help-shot-box { border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper); overflow: hidden; }
.help-shot img { display: block; width: 100%; height: auto; }
.help-shot-narrow { max-width: 440px; }
.help-shot figcaption { margin-top: 8px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.5; }
@media (max-width: 700px) {
  .help-shot:not(.help-shot-narrow) .help-shot-box { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .help-shot:not(.help-shot-narrow) img { width: auto; min-width: 720px; max-width: none; }
}
.help-lead { margin: 0 0 16px; color: var(--ink-2); max-width: 40em; }
.help-note { margin: 16px 0 0; padding: 12px 16px; background: var(--tag-soft); border: 1px solid var(--tag-soft-line); border-radius: var(--radius-s); font-size: var(--t-base); }
.help-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 12px; }
.help-steps li { counter-increment: step; position: relative; padding-left: 40px; line-height: 1.6; }
.help-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 var(--t-base)/1 var(--num);
}
.help-list { margin: 0; padding-left: 24px; display: grid; gap: 12px; line-height: 1.6; }
.help-tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 24px; margin: 0; }
.help-tip { padding: 16px; background: var(--paper); border-radius: var(--radius-s); }
.help-tips dt { font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.help-tips dd { margin: 8px 0 0; color: var(--ink-2); font-size: var(--t-base); line-height: 1.6; }
.help-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; background: var(--line-2); color: var(--ink-2); font-size: var(--t-xs); font-weight: 600; }
.help-issue { border-top: 1px solid var(--line-2); }
.help-issue:first-of-type { border-top: 0; }
.help-issue summary { cursor: pointer; padding: 12px 0; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.help-issue ol { margin: 0 0 16px; padding-left: 24px; display: grid; gap: 8px; color: var(--ink-2); font-size: var(--t-base); }
.help-issue .help-note { margin: 0 0 12px; }
@media (max-width: 860px) { .help-tips { grid-template-columns: 1fr; } }

/* ---------- 頁尾 ---------- */
.site-footer { text-align: center; padding: 32px 16px; color: #53647A; font-size: var(--t-sm); }
.site-footer button { border: 0; background: transparent; color: #24538A; text-decoration: underline; cursor: pointer; font: inherit; }
.site-footer a { color: #24538A; }

/* ---------- 提示 ---------- */
#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 80;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--radius-s); font-size: var(--t-base); max-width: calc(100% - 32px);
  transition: opacity var(--dur-c) var(--ease), transform var(--dur-m) var(--ease);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }
#toast.bad { background: var(--urgent); }

/* ---------- 共用小工具（取代 HTML 裡的 style="..."） ---------- */
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mt-n1 { margin-top: -4px; } .mt-n2 { margin-top: -8px; } .mt-vh { margin-top: 10vh; }
.mb-3 { margin-bottom: 12px; } .mb-6 { margin-bottom: 24px; }
.pull-up { margin: -4px 0 8px; }
.p-2-4 { padding: 8px 16px; }
.d-block { display: block; } .jc-end { justify-content: flex-end; } .min-w-0 { min-width: 0; } .min-h-16 { min-height: 64px; }
.mw-760 { max-width: 760px; }
.ta-r { text-align: right; } .nowrap { white-space: nowrap; }
.fs-sm { font-size: var(--t-sm); } .fw-normal { font-weight: 400; } .c-urgent { color: var(--urgent); }

/* ---------- 響應式 ---------- */
@media (max-width: 1000px) {
  .board { grid-template-columns: 1fr; }
  .login { grid-template-columns: 1fr; }
  .login-art { padding: 40px 24px; gap: 32px; }
  .login-art h1 { font-size: var(--t-4xl); }
  .hang { height: 180px; }
  .login-side { padding: 32px 24px 48px; }
}
@media (max-width: 720px) {







  .wrap { padding-top: 24px; }
  h1 { font-size: var(--t-xl); line-height: 28px; }
  .panel { padding: 16px; }
  .item { grid-template-columns: 72px 1fr; padding-right: 16px; }
  .item-side { grid-column: 2; flex-direction: row; align-items: center; gap: 12px; text-align: left; }
  .add-row, .grid2 { grid-template-columns: 1fr; }
  .tag-big { --h: 72px; min-width: 180px; font-size: var(--t-5xl); padding-left: 56px; }
  .tag-big::before { left: 22px; }
  .facts { grid-template-columns: 72px 1fr; }
  .hide-s { display: none; }
}
@media (max-width: 600px) {
  .btn, .input, .select, .textarea, .item-title, .filters { font-size: var(--t-base); }
  .item-meta, .item-side { font-size: var(--t-sm); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .top, .demo-bar, .filters, .btn, #toast, .skip { display: none !important; }
  body { background: #fff; }
}
/* 第一次載入時的骨架（在 index.html 裡，JS 接手後就被取代） */
.boot-top { height: 58px; background: var(--ink); }

/* 平安符：只出現在已修復、已換機的單 */
.amulet-wrap { display: inline-flex; margin: 0 0 0 4px; }
.amulet { width: 24px; height: 32px; transform: rotate(-6deg); }
.blessing { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 12px 16px; background: #FFF8DC; border: 1px solid #EBD58A; border-radius: var(--radius-s); }
.blessing b { color: #B3261E; font-size: var(--t-lg); }
.blessing p { margin: 0; font-size: var(--t-sm); color: var(--ink-2); }
.amulet-big { width: 52px; height: 112px; flex: none; transform: rotate(-6deg); transform-origin: 50% 8%; }
.blessing:hover .amulet-big { animation: sway 1.2s var(--ease) 1; }
@keyframes sway { 30% { transform: rotate(6deg); } 65% { transform: rotate(-10deg); } 100% { transform: rotate(-6deg); } }

/* 紙雕設備圖作淡色背景，漸層淡出邊緣，不攔截操作 */
body::before { content: ""; position: fixed; right: 1vw; bottom: 3vh; width: min(65vw, 700px); height: min(52vh, 480px); background: url('../img/dayong-repair-tiger.png') right bottom / contain no-repeat; opacity: .14; z-index: 2; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse, #000 38%, transparent 72%); mask-image: radial-gradient(ellipse, #000 38%, transparent 72%); }
body:has(#fb-form)::before, body:has(.board)::before { display: none; }
@media (max-width: 600px) { body::before { right: -5vw; bottom: 4vh; width: 95vw; height: 36vh; opacity: .12; } }

.foot-btns { display: inline-flex; gap: 8px; flex-wrap: wrap; }

/* 快捷篩選在小螢幕排成兩列，避免擠壓文字。 */
.seg-quick { display: grid; grid-template-columns: repeat(6, max-content); }
.seg-quick button { white-space: nowrap; }
@media (max-width: 520px) {
  .seg-quick { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg-quick button { padding-inline: 8px; }
  .seg-quick button:nth-child(3) { border-right: 0; }
  .seg-quick button:nth-child(-n+3) { border-bottom: 1px solid var(--field); }
}

.co-box { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.co-box legend { padding: 0; margin-bottom: 6px; }
.co-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.co-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); cursor: pointer; font-size: .95em; min-height: 36px; }
.co-chip:has(input:checked) { border-color: var(--working); background: var(--info-soft); font-weight: 600; }
.co-chip input { width: 16px; height: 16px; margin: 0; accent-color: var(--working); }
.co-chip:focus-within { outline: 2px solid var(--working); outline-offset: 2px; }

/* 老師自己試試看的圖解 */
.m-0 { margin: 0; }
.btn-guide { margin-top: 10px; background: var(--card); border: 1.5px solid var(--working); color: var(--working); font-weight: 700; }
.btn-guide:hover { background: var(--info-soft); }
.help-tip .btn-guide { display: inline-flex; margin-top: 8px; }
.cbox.guide { width: min(640px, 100%); max-height: calc(100% - 16px); overflow-y: auto; padding: 22px 22px 18px; }
.guide-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.guide-head h2 { margin: 0; font-size: var(--t-xl, 1.35rem); line-height: 1.4; text-wrap: balance; }
.guide-head .drawer-close { position: static; flex: none; }
.guide-cheer { margin: 10px 0 0; padding: 10px 14px; border-radius: var(--radius-s); background: var(--tag-soft); border: 1px solid var(--tag-soft-line); }
.guide-steps { margin: 16px 0 0; padding-left: 1.4em; display: grid; gap: 14px; }
.guide-steps li { padding-left: 4px; }
.guide-steps li::marker { font-weight: 700; color: var(--ink); }
.guide-steps p { margin: 0; line-height: 1.7; }
.guide-fig { margin: 8px 0 0; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--card); }
.guide-fig svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.guide-fig figcaption { font-size: 12px; color: var(--ink-3); text-align: right; }
.guide-end { margin: 16px 0 0; color: var(--ink-2); font-size: .95em; }
.guide .cbox-acts { margin-top: 16px; flex-wrap: wrap; }
.between { justify-content: space-between; }
.fb-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.fb-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.fb-item.fb-done { background: var(--line-2); }
.fb-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: var(--t-sm); }
.fb-head .chip { cursor: default; min-height: 28px; padding: 0 10px; background: var(--line-2); }
.fb-text { margin: 8px 0 10px; white-space: pre-wrap; overflow-wrap: anywhere; }


@media (max-width: 720px) { .top { position: relative; } .top-in { min-height: 94px; gap: 10px; } .brand { gap: 6px; } .brand-mark { width: 68px; height: 80px; } .brand-copy b { font-size: 20px; } .brand-copy small { font-size: 13px; } .me { gap: 6px; } .me .role { display: none; } .me button { padding: 8px 10px; } .header-menu { gap: 8px; } .nav { width: 100%; } .nav a { padding: 8px 10px; } .top-shortcuts { width: 100%; padding-top: 7px; border-top: 1px solid #eef1f5; } .top-shortcuts a { padding: 6px 10px; } }
