/* The default appearance is light, including the calendar. */
.calendar-panel {
  background: #fff;
  color: #26324a;
  border-color: #e3e9f1;
  box-shadow: 0 3px 16px #24355005;
}
.calendar-panel .calendar-controls { border-color: #e8edf4; }
.calendar-panel .calendar-controls h3 { color: #26324a; }
.calendar-panel .icon-button { background: #fff; border-color: #dce4ef; color: #52647f; }
.calendar-panel .text-button { color: #2868d7; }
.calendar-panel .weekday { background: #f8fafc; border-color: #e8edf4; color: #748197; }
.calendar-panel .days .day { background: #fff; color: #26324a; border-color: #e8edf4; }
.calendar-panel .days .day:hover { background: #f4f8ff; }
.calendar-panel .days .day.muted { background: #fafbfd; color: #a8b2c0; }
.calendar-panel .days .day.selected { background: #edf5ff; box-shadow: inset 0 0 0 1px #8eb4f5; }
.calendar-panel .day.today .day-number { background: #2868d7; color: #fff; }
.calendar-panel .day.sunday .day-number,
.calendar-panel .day.official-holiday:not(.saturday) .day-number { color: #d92f44; }
.calendar-panel .day.saturday .day-number { color: #2868d7; }
.calendar-panel .day.today .day-number { color: #fff; }
.calendar-panel .lunar-date { color: #8895a6; }
.calendar-panel .day-label { background: #eef3fa; color: #32425d; }
.calendar-panel .day-label small { color: #77869b; }
.calendar-panel .day-label.holiday { background: #d71939; color: #fff; }
.calendar-panel .day-label.workday { background: #2a8652; color: #fff; }
.calendar-panel .day-label.more { background: none; color: #718198; }

.appearance-panel { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.appearance-panel p { font-size: 12px; color: #8490a1; margin-bottom: 0; }
.theme-options { display: flex; gap: 7px; padding: 4px; border-radius: 10px; background: #f0f3f8; }
.theme-option { border: 0; border-radius: 7px; padding: 8px 14px; background: transparent; color: #68768b; font-size: 12px; font-weight: 700; white-space: nowrap; }
.theme-option[aria-pressed="true"] { background: #fff; color: #2868d7; box-shadow: 0 1px 6px #1f355b15; }
.theme-option:focus-visible { outline: 2px solid #2868d7; outline-offset: 2px; }

body.theme-dark { color-scheme: dark; background: #14171c; color: #e8edf5; }
body.theme-dark .sidebar,
body.theme-dark .panel,
body.theme-dark .stat,
body.theme-dark .task-card,
body.theme-dark .filter,
body.theme-dark .date-chip { background: #1d2229; border-color: #343d49; color: #e8edf5; box-shadow: none; }
body.theme-dark .sidebar-note,
body.theme-dark .lock,
body.theme-dark .panel code { background: #282f39; color: #b9c5d4; }
body.theme-dark .sidebar-note b,
body.theme-dark .panel h2,
body.theme-dark .topbar h1,
body.theme-dark .section-toolbar h2,
body.theme-dark .stat strong,
body.theme-dark .task-body strong,
body.theme-dark td b { color: #edf2f8; }
body.theme-dark .brand small,
body.theme-dark .topbar p,
body.theme-dark .section-toolbar p,
body.theme-dark .panel p,
body.theme-dark .panel ul,
body.theme-dark .stat span,
body.theme-dark .stat small,
body.theme-dark .task-meta,
body.theme-dark .record-main small,
body.theme-dark td,
body.theme-dark th { color: #a8b5c7; }
body.theme-dark .nav { color: #a8b5c7; }
body.theme-dark .nav:hover,
body.theme-dark .nav.active,
body.theme-dark .filter.active { background: #243753; color: #9fc4ff; }
body.theme-dark .button.secondary,
body.theme-dark .icon-button,
body.theme-dark .field input,
body.theme-dark .field select,
body.theme-dark .field textarea,
body.theme-dark #finance-filter { background: #252d37; border-color: #455060; color: #e8edf5; }
body.theme-dark .notice { background: #203550; border-color: #31547c; color: #bdd0ea; }
body.theme-dark .notice b { color: #d6e7ff; }
body.theme-dark .record,
body.theme-dark td,
body.theme-dark th { border-color: #343d49; }
body.theme-dark .task-card.overdue { border-color: #e06464; background: #302226; }
body.theme-dark .task-note,
body.theme-dark .empty { color: #aeb9c8; }
body.theme-dark .office-status { background: #2b3a4c; color: #c1d8f1; }
body.theme-dark .salary-panel p { color: #a8b5c7; }
body.theme-dark .theme-options { background: #2b323c; }
body.theme-dark .theme-option { color: #afbdce; }
body.theme-dark .theme-option[aria-pressed="true"] { background: #40516a; color: #e8f2ff; }
body.theme-dark dialog { background: #1d2229; border-color: #414c59; color: #e8edf5; }
body.theme-dark .field label { color: #c4cfdd; }

/* The black calendar belongs only to dark mode. */
body.theme-dark .calendar-panel { background: #111214; color: #f4f5f7; border-color: #242528; }
body.theme-dark .calendar-panel .calendar-controls { border-color: #292b2e; }
body.theme-dark .calendar-panel .calendar-controls h3 { color: #f5f5f7; }
body.theme-dark .calendar-panel .icon-button { background: #222428; border-color: #3a3c40; color: #f5f5f7; }
body.theme-dark .calendar-panel .text-button { color: #bfcbe0; }
body.theme-dark .calendar-panel .weekday { background: #141516; border-color: #292b2e; color: #919399; }
body.theme-dark .calendar-panel .days .day { background: #111214; color: #eff0f2; border-color: #2b2d30; }
body.theme-dark .calendar-panel .days .day:hover { background: #1b1d20; }
body.theme-dark .calendar-panel .days .day.muted { background: #101113; color: #666a70; }
body.theme-dark .calendar-panel .days .day.selected { background: #1f2022; box-shadow: inset 0 0 0 1px #5c636c; }
body.theme-dark .calendar-panel .day.today .day-number { background: #fff; color: #17191c; }
body.theme-dark .calendar-panel .day.sunday .day-number,
body.theme-dark .calendar-panel .day.official-holiday:not(.saturday) .day-number { color: #e23a46; }
body.theme-dark .calendar-panel .day.saturday .day-number { color: #498dff; }
body.theme-dark .calendar-panel .day.today .day-number { color: #17191c; }
body.theme-dark .calendar-panel .lunar-date { color: #777b82; }
body.theme-dark .calendar-panel .day-label { background: #202329; color: #eceef1; }
body.theme-dark .calendar-panel .day-label small { color: #95989e; }
body.theme-dark .calendar-panel .day-label.holiday { background: #c90022; color: #fff; }
body.theme-dark .calendar-panel .day-label.workday { background: #206e42; color: #fff; }
body.theme-dark .calendar-panel .day-label.more { background: none; color: #989da6; }

@media (max-width: 650px) {
  .appearance-panel { align-items: flex-start; flex-direction: column; }
}

/* ── 登入、3 日行程、當日編輯（2026-10-22） ── */
[hidden] { display: none !important; }

.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(circle at 20% 0%, #e3edff 0, transparent 45%), #f5f7fb; }
.login-card { width: min(420px, 100%); background: #fff; border: 1px solid #e3e9f1; border-radius: 18px; padding: 32px 28px; box-shadow: 0 18px 50px #1c2f5214; }
.login-brand { padding: 0; margin-bottom: 26px; }
.login-card h1 { font-size: 24px; margin: 0 0 6px; letter-spacing: -.02em; }
.login-lead { color: #7a879b; font-size: 13px; margin-bottom: 20px; }
.sso-buttons { display: grid; gap: 9px; }
.sso-button { display: flex; align-items: center; gap: 10px; width: 100%; border: 1px solid #dce3ed; background: #fff; color: #33425a; border-radius: 10px; padding: 11px 14px; font-size: 14px; font-weight: 600; text-align: left; }
.sso-button:disabled { cursor: not-allowed; opacity: .62; }
.sso-button em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; color: #8a97ab; background: #f0f3f8; padding: 3px 7px; border-radius: 5px; }
.sso-icon { width: 22px; height: 22px; display: grid; place-items: center; font-weight: 800; color: #2868d7; }
.login-divider { display: flex; align-items: center; gap: 10px; margin: 22px 0 14px; color: #8c98aa; font-size: 12px; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: #e6ebf2; }
.login-members { display: grid; gap: 8px; }
.login-member { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid #e3e9f1; background: #fafcff; border-radius: 11px; padding: 10px 12px; text-align: left; color: #6c7a8f; }
.login-member:hover { border-color: #9cbcf3; background: #f0f6ff; }
.login-member-text { flex: 1; min-width: 0; }
.login-member-text b { display: block; color: #26324a; font-size: 14px; }
.login-member-text small { display: block; color: #8a96a8; font-size: 11px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.login-setup p { font-size: 13px; color: #56657c; margin-bottom: 12px; }
.login-setup .button { width: 100%; margin-top: 4px; padding: 12px; }
.login-setup .field input { border: 1px solid #dce3ec; border-radius: 8px; padding: 10px; width: 100%; font-size: 14px; }
.login-foot { color: #9aa5b5; font-size: 11px; line-height: 1.6; margin: 18px 0 0; }

.user-chip { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #e5eaf1; border-radius: 12px; padding: 5px 8px 5px 5px; }
.user-chip .avatar { width: 32px; height: 32px; font-size: 12px; }
.user-meta b { display: block; font-size: 13px; color: #26324a; line-height: 1.2; }
.user-meta small { display: block; font-size: 10px; color: #8994a7; }
.avatar.small { width: 30px; height: 30px; font-size: 11px; flex: none; }

.three-day { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.three-day-card { display: flex; flex-direction: column; gap: 10px; min-width: 0; text-align: left; background: #fff; border: 1px solid #e3e9f1; border-radius: 14px; padding: 16px; color: #26324a; box-shadow: 0 3px 16px #24355005; }
.three-day-card:hover { border-color: #9cbcf3; }
.three-day-card.is-today { border-color: #2868d7; box-shadow: inset 0 3px 0 #2868d7; }
.tdc-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tdc-label { font-weight: 800; font-size: 15px; }
.tdc-date { color: #7c899c; font-size: 12px; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 5px; }
.tdc-head .tag { margin-left: auto; }
.tag.off { background: #fdecee; color: #c42a3c; }
.tag.on { background: #e8f5ed; color: #2a7a4b; }
.three-day-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.three-day-card li { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; }
.three-day-card li i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.tdc-time { color: #6b7a90; font-size: 12px; font-variant-numeric: tabular-nums; flex: none; min-width: 34px; }
.tdc-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.three-day-card li small { color: #98a3b3; font-size: 11px; flex: none; max-width: 30%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tdc-more { font-size: 11px; color: #7f8ca0; }
.tdc-empty { font-size: 12px; color: #a0aab8; padding: 6px 0; }

.day-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 40px); }
.day-dialog .dialog-head { align-items: flex-start; }
.day-sub { margin: 6px 0 0; font-size: 12px; color: #7d8a9d; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.day-list { border: 1px solid #edf0f5; border-radius: 11px; padding: 2px 12px; margin-bottom: 16px; }
.day-list .record.editing { background: #f0f6ff; margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
.day-form { border-top: 1px solid #edf0f5; padding-top: 14px; }
.day-form h3 { font-size: 14px; margin: 0 0 12px; }
.field-label { font-size: 12px; font-weight: 650; color: #57657b; }
.allday-field { align-self: end; }
.allday-field label { display: flex; align-items: center; gap: 6px; font-weight: 600; padding-bottom: 10px; }
.allday-field input { width: auto !important; }
.field input:disabled { opacity: .45; }
.swatches { display: flex; gap: 8px; padding: 6px 0; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span { display: block; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px #fff; border: 2px solid transparent; }
.swatch input:checked + span { border-color: #26324a; }
.swatch input:focus-visible + span { outline: 2px solid #2868d7; outline-offset: 2px; }
.swatch em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.row-action.danger { color: #c9454f; }

.member-form { display: grid; grid-template-columns: 1fr 1.4fr auto auto; gap: 8px; margin-top: 14px; }
.member-form input, .member-form select, .role-select { border: 1px solid #dce3ec; border-radius: 8px; padding: 9px 10px; font-size: 13px; background: #fff; color: #28364e; min-width: 0; }
#member-rows .record { flex-wrap: wrap; }

body.theme-dark .login-screen { background: radial-gradient(circle at 20% 0%, #1d2c45 0, transparent 45%), #14171c; }
body.theme-dark .login-card,
body.theme-dark .user-chip,
body.theme-dark .three-day-card { background: #1d2229; border-color: #343d49; color: #e8edf5; box-shadow: none; }
body.theme-dark .three-day-card.is-today { border-color: #5b8fe6; box-shadow: inset 0 3px 0 #5b8fe6; }
body.theme-dark .sso-button,
body.theme-dark .login-member,
body.theme-dark .member-form input,
body.theme-dark .member-form select,
body.theme-dark .role-select,
body.theme-dark .login-setup .field input { background: #252d37; border-color: #455060; color: #e8edf5; }
body.theme-dark .sso-button em { background: #323b47; color: #aab6c6; }
body.theme-dark .login-member-text b,
body.theme-dark .user-meta b,
body.theme-dark .login-card h1 { color: #edf2f8; }
body.theme-dark .login-divider::before,
body.theme-dark .login-divider::after { background: #343d49; }
body.theme-dark .day-list,
body.theme-dark .day-form { border-color: #343d49; }
body.theme-dark .day-list .record.editing { background: #243753; }
body.theme-dark .tag.off { background: #4a2228; color: #ffb3bc; }
body.theme-dark .tag.on { background: #1f3d2c; color: #a4e0b9; }
body.theme-dark .swatch span { box-shadow: inset 0 0 0 2px #1d2229; }
body.theme-dark .swatch input:checked + span { border-color: #e8edf5; }
body.theme-dark .field-label,
body.theme-dark .login-setup p { color: #c4cfdd; }

@media (max-width: 800px) {
  .three-day { grid-template-columns: 1fr; gap: 8px; }
  .three-day-card { padding: 12px 14px; }
  .user-meta { display: none; }
  .member-form { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .day-dialog .form-grid { grid-template-columns: 1fr 1fr; }
  .member-form { grid-template-columns: 1fr; }
  .topbar { gap: 10px; }
}

/* ── Firebase 登入狀態 ── */
.sso-button:not(:disabled):hover { border-color: #9cbcf3; background: #f4f8ff; }
.login-status { margin-top: 16px; }
.login-status:empty { display: none; }
.login-wait { color: #7a879b; font-size: 13px; text-align: center; padding: 10px 0; margin: 0; }
.login-box { border: 1px solid #dce6f5; background: #f6f9ff; border-radius: 12px; padding: 16px; font-size: 13px; color: #45546b; line-height: 1.6; }
.login-box.warn { border-color: #f1d9a8; background: #fffaf0; }
.login-box p { margin: 0 0 10px; }
.login-box .field input { border: 1px solid #dce3ec; border-radius: 8px; padding: 10px; width: 100%; font-size: 14px; }
.login-box .button { width: 100%; margin: 2px 0 8px; padding: 11px; }
.login-box .text-button { display: block; margin: 0 auto; }
.login-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 9px; background: #fdecee; color: #b42335; font-size: 12px; }
body.theme-dark .login-box { background: #202a38; border-color: #36475e; color: #c6d2e1; }
body.theme-dark .login-box.warn { background: #33291b; border-color: #5c4a2a; }
body.theme-dark .login-box .field input { background: #252d37; border-color: #455060; color: #e8edf5; }
body.theme-dark .login-error { background: #4a2228; color: #ffb3bc; }

/* ── 頭像 ── */
.avatar { overflow: hidden; flex: none; }
.avatar.has-img { background: none; }
.avatar.has-img img, .avatar.has-img svg { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: 50%; }
.avatar.large { width: 72px; height: 72px; font-size: 24px; }
.avatar-button { border: 0; padding: 0; background: none; border-radius: 50%; cursor: pointer; }
.avatar-button .avatar { width: 32px; height: 32px; font-size: 12px; }
.avatar-button:hover .avatar, .avatar-button:focus-visible .avatar { box-shadow: 0 0 0 2px #2868d7; }
.avatar-dialog { width: min(440px, calc(100vw - 32px)); }
.avatar-preview { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.avatar-preview p { margin: 0; color: #6b7a90; font-size: 13px; }
.avatar-section { border-top: 1px solid #edf0f5; padding: 12px 0; }
.avatar-section h3 { font-size: 12px; color: #57657b; margin: 0 0 9px; }
.avatar-sources { display: flex; gap: 8px; flex-wrap: wrap; }
.avatar-presets { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.avatar-choice { border: 2px solid transparent; background: none; border-radius: 50%; padding: 2px; display: grid; place-items: center; }
.avatar-choice .avatar { width: 36px; height: 36px; font-size: 13px; }
.avatar-choice.wide { display: flex; align-items: center; gap: 8px; border-radius: 22px; padding: 2px 12px 2px 2px; border-color: #e3e9f1; font-size: 12px; color: #45546b; }
.avatar-choice.selected { border-color: #2868d7; }
.avatar-hint { display: block; margin-top: 7px; color: #8a96a8; font-size: 11px; }
body.theme-dark .avatar-section { border-color: #343d49; }
body.theme-dark .avatar-section h3, body.theme-dark .avatar-choice.wide { color: #c4cfdd; }
body.theme-dark .avatar-choice.wide { border-color: #455060; }
body.theme-dark .avatar-choice.selected { border-color: #7aa8f5; }
@media (max-width: 520px) { .avatar-presets { grid-template-columns: repeat(4, 1fr); } }

/* ── 待辦：認領／交接 ── */
.task-tabs { flex-wrap: wrap; align-items: center; }
.filter .count { display: inline-block; min-width: 16px; margin-left: 3px; font-size: 11px; color: #8a96a8; }
.filter .count:empty { display: none; }
.filter.alert { border-color: #e9a23b; }
.filter.alert .count { background: #e9a23b; color: #fff; border-radius: 9px; padding: 0 5px; }
.filter-sep { width: 1px; height: 20px; background: #e1e7ef; margin: 0 4px; }
.task-group { font-size: 12px; font-weight: 700; color: #7c899c; margin: 8px 2px 0; }
.task-group:first-child { margin-top: 0; }
.task-card.is-mine { border-left: 3px solid #2868d7; }
.task-card.overdue.is-mine { border-left-width: 3px; }
.task-body[data-open-task] { cursor: pointer; }
.task-body[data-open-task]:hover strong { color: #2868d7; }
.owner { color: #6b7a90; }
.owner.mine { color: #2868d7; font-weight: 700; }
.owner.handover { color: #b4741a; }
.owner.handover.mine { color: #c2410c; }
.owner.none { color: #a0aab8; }
.task-actions button.primary { background: #2868d7; color: #fff; border-radius: 6px; padding: 5px 10px; font-weight: 700; }
.task-actions button.primary:hover { text-decoration: none; background: #1c59c3; }
#priority-preview .record { cursor: pointer; }
.label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tag-picks { display: flex; gap: 5px; flex-wrap: wrap; }
.tag-pick { border: 1px solid #dce3ed; background: #fff; color: #52627b; border-radius: 6px; padding: 3px 9px; font-size: 12px; font-weight: 600; }
.tag-pick:hover { border-color: #9cbcf3; }
.tag-pick.active { background: #2868d7; border-color: #2868d7; color: #fff; }
.task-dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100vh - 40px); }
.task-dialog .dialog-head { align-items: flex-start; }
.task-dialog .dialog-head h2 { font-size: 19px; line-height: 1.35; }
.task-dialog .task-meta { margin-top: 8px; }
.td-section { border-top: 1px solid #edf0f5; padding: 14px 0; }
.td-section h3 { font-size: 13px; margin: 0 0 10px; color: #3b4960; }
.td-content { white-space: pre-wrap; font-size: 13px; color: #45546b; line-height: 1.65; margin: 0; }
.td-empty { font-size: 12px; color: #a0aab8; margin: 0; }
.td-note-form { display: grid; gap: 8px; margin-bottom: 12px; }
.td-note-form textarea { border: 1px solid #dce3ec; border-radius: 8px; padding: 9px 10px; min-height: 60px; resize: vertical; font-size: 13px; }
.td-note-form .button { justify-self: end; }
.td-note { border: 1px solid #edf0f5; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.td-note-head { display: flex; align-items: center; gap: 7px; font-size: 12px; }
.td-note-head small { color: #8a96a8; margin-left: auto; }
.td-note p { margin: 7px 0 0; font-size: 13px; color: #45546b; white-space: pre-wrap; line-height: 1.6; }
.avatar.tiny { width: 22px; height: 22px; font-size: 9px; }
.td-log { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid #e3e9f1; display: grid; gap: 9px; }
.td-log li { position: relative; font-size: 12px; color: #45546b; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.td-log li::before { content: ""; position: absolute; left: -19px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: #9cbcf3; }
.td-log li:first-child::before { background: #2868d7; }
.td-log small { color: #8a96a8; }
.td-log p { flex-basis: 100%; margin: 0; color: #6b7a90; white-space: pre-wrap; }
#td-actions:empty { display: none; }
.ho-task { font-weight: 700; color: #26324a; margin-bottom: 14px; }
body.theme-dark .filter-sep { background: #343d49; }
body.theme-dark .tag-pick, body.theme-dark .td-note-form textarea { background: #252d37; border-color: #455060; color: #e8edf5; }
body.theme-dark .tag-pick.active { background: #2868d7; color: #fff; }
body.theme-dark .td-section, body.theme-dark .td-note { border-color: #343d49; }
body.theme-dark .td-section h3, body.theme-dark .ho-task { color: #e8edf5; }
body.theme-dark .td-content, body.theme-dark .td-note p, body.theme-dark .td-log li { color: #c6d2e1; }
body.theme-dark .td-log { border-color: #343d49; }
@media (max-width: 520px) { .label-row { flex-direction: column; align-items: flex-start; } }

/* ── 收斂重複標題：頁首只留一組標題，功能列只放操作 ── */
.section-toolbar.bare { justify-content: flex-end; margin-bottom: 16px; }
.section-toolbar.tasks-toolbar { justify-content: space-between; align-items: center; }
.tasks-toolbar .filter-row { margin: 0; }
.topbar { margin-bottom: 22px; }
@media (max-width: 800px) {
  .section-toolbar.bare { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .section-toolbar.tasks-toolbar { flex-direction: column-reverse; align-items: stretch; gap: 12px; }
  .tasks-toolbar #add-task { align-self: flex-end; }
}
.dup-hint:empty { display: none; }
.dup-hint { margin-top: 8px; border: 1px solid #f1d9a8; background: #fffaf0; border-radius: 9px; padding: 9px 11px; font-size: 12px; color: #7a5a1c; }
.dup-item { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 5px; color: #45546b; }
.dup-item span:first-child { font-weight: 600; }
body.theme-dark .dup-hint { background: #33291b; border-color: #5c4a2a; color: #f1d39a; }
body.theme-dark .dup-item { color: #c6d2e1; }
.three-day { grid-template-columns: repeat(4, 1fr); }
.next-card { background: #f8fafd; border-style: dashed; }
.next-card.is-empty { cursor: default; }
.tag.later { margin-left: auto; background: #eef3fa; color: #4a5f80; }
body.theme-dark .next-card { background: #1a1f26; }
body.theme-dark .tag.later { background: #2b3a4c; color: #c1d8f1; }
@media (max-width: 1100px) { .three-day { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) { .three-day { grid-template-columns: 1fr; } }

/* ══ 手機／iPad 版面 ══ */
.drag-handle { touch-action: none; }
.login-screen { padding-top: max(24px, env(safe-area-inset-top)); padding-bottom: max(24px, env(safe-area-inset-bottom)); }

/* iPad 直放、小筆電：側欄稍窄 */
@media (min-width: 801px) and (max-width: 1100px) {
  .sidebar { width: 200px; padding: 26px 12px; }
  .main { padding: 28px 28px 48px; }
}

/* 手機與小尺寸 iPad：側欄改成底部分頁列 */
@media (max-width: 800px) {
  .shell { display: block; }
  .sidebar {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 50;
    width: auto; height: auto; flex-direction: row; gap: 0;
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
    border-right: 0; border-top: 1px solid #e7ebf1;
    background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  }
  .sidebar .brand, .sidebar-note { display: none; }
  .sidebar nav { display: flex; width: 100%; justify-content: space-around; gap: 2px; }
  .nav { flex: 1; flex-direction: column; justify-content: center; gap: 3px; padding: 7px 2px; font-size: 19px; border-radius: 10px; min-height: 52px; }
  .nav span { display: block !important; font-size: 10.5px; font-weight: 600; }
  .main { padding: calc(14px + env(safe-area-inset-top)) 16px calc(96px + env(safe-area-inset-bottom)); }
  .eyebrow, .date-chip { display: none; }
  .topbar { align-items: flex-start; gap: 12px; margin-bottom: 16px; }
  .topbar h1 { font-size: 24px; margin: 0 0 4px; }
  .topbar p { font-size: 12px; }
  .user-chip { padding: 3px 8px 3px 3px; gap: 6px; }

  /* 觸控尺寸 */
  .button { padding: 11px 14px; font-size: 14px; }
  .filter { padding: 9px 14px; font-size: 13px; }
  .row-action, .task-actions button { padding: 8px 10px; font-size: 13px; }
  .field input, .field select, .field textarea, .member-form input, .member-form select, .role-select, .td-note-form textarea, .login-box .field input { font-size: 16px; } /* iOS 小於 16px 會自動放大畫面 */

  /* 待辦 */
  .task-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .task-tabs::-webkit-scrollbar { display: none; }
  .task-tabs .filter { flex: none; }
  .task-card { flex-wrap: wrap; padding: 12px; gap: 10px; }
  .task-body { min-width: 0; flex: 1 1 calc(100% - 40px); }
  .drag-handle { font-size: 20px; padding: 2px 6px; margin: -2px -4px; }
  .task-actions { width: 100%; flex-direction: row !important; justify-content: flex-end; flex-wrap: wrap; border-top: 1px solid #f0f2f6; padding-top: 6px; }
  body.theme-dark .task-actions { border-color: #343d49; }

  /* 帳務、設定 */
  .finance-stats { grid-template-columns: 1fr 1fr; }
  .appearance-panel { align-items: flex-start; flex-direction: column; }
  .salary-panel { flex-direction: column; align-items: flex-start; gap: 12px; }
  #member-rows .record { gap: 8px; }

  body.theme-dark .sidebar { background: rgba(29,34,41,.94); border-color: #343d49; }
}

/* 手機：彈窗改成從底部滑出的面板 */
@media (max-width: 600px) {
  dialog, .day-dialog, .task-dialog, .avatar-dialog {
    width: 100%; max-width: none; margin: auto 0 0; border-radius: 18px 18px 0 0;
    max-height: 92vh; max-height: 92dvh; overflow-y: auto;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
    border-bottom: 0;
  }
  dialog::before { content: ""; display: block; width: 38px; height: 4px; border-radius: 2px; background: #d5dce6; margin: -6px auto 12px; }
  dialog .dialog-actions .button { flex: 1; }
  .avatar-presets { grid-template-columns: repeat(4, 1fr); }
  .day-dialog .form-grid { grid-template-columns: 1fr 1fr; }
  .three-day-card { padding: 12px 14px; }
}
/* 頁首右側不被長說明擠壓 */
.top-actions { flex: none; }
.date-chip, .user-meta b, .user-meta small, #sign-out { white-space: nowrap; }
.topbar > div:first-child { min-width: 0; }
.tasks-toolbar .filter-row { min-width: 0; }
@media (max-width: 1100px) {
  .date-chip { display: none; }
  .task-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .task-tabs::-webkit-scrollbar { display: none; }
  .task-tabs .filter { flex: none; }
}
.rank { display: inline-block; min-width: 26px; margin-right: 6px; padding: 1px 6px; border-radius: 6px; background: #eef3fa; color: #4a5f80; font-size: 12px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
body.theme-dark .rank { background: #2b3a4c; color: #c1d8f1; }
.brand-logo { display: block; width: 40px; height: 40px; border-radius: 11px; background: none; object-fit: cover; flex: none; }
.login-brand .brand-logo { width: 44px; height: 44px; }

/* ── 帳務 4 本帳 ── */
.stat.wide { grid-column: span 1; }
.stat small { line-height: 1.6; }
.stat.warn strong { color: #c2410c; }
.ledger td.num, .ledger th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ledger td small { color: #8a96a8; }
.ledger tr.row-alloc td { background: #f6f9ff; }
.ledger td.share small { color: #9aa5b5; margin-right: 2px; }
.ledger td.share.mismatch { color: #c2410c; }
.ledger td:last-child { white-space: nowrap; text-align: right; }
#ledger-filter select { border: 1px solid #dce3ec; border-radius: 8px; padding: 7px 10px; font-size: 12px; background: #fff; color: #28364e; }
.ledger-dialog { width: min(560px, calc(100vw - 32px)); }
.ledger-hint { font-size: 13px; color: #45546b; background: #f6f9ff; border-radius: 9px; padding: 10px 12px; margin: 0 0 14px; }
.field label.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; line-height: 1.5; }
.field label.check input { width: auto; margin-top: 3px; }
.share-table { width: 100%; min-width: 0; border-collapse: collapse; }
.share-table th { padding: 4px; font-size: 11px; border: 0; }
.share-table td { padding: 3px; border: 0; }
.share-table input { width: 100%; border: 1px solid #dce3ec; border-radius: 7px; padding: 8px; font-size: 13px; }
.dialog-actions .spacer { flex: 1; }
.button.danger { color: #c9454f; border-color: #f0c9cd; }
body.theme-dark .ledger tr.row-alloc td { background: #1f2a38; }
body.theme-dark .ledger-hint { background: #202a38; color: #c6d2e1; }
body.theme-dark #ledger-filter select, body.theme-dark .share-table input { background: #252d37; border-color: #455060; color: #e8edf5; }
@media (max-width: 800px) { .share-table input { font-size: 16px; } #finance .toolbar-actions { justify-content: flex-end; } }

/* ── 報帳附件 ── */
.att-drop { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; border: 1.5px dashed #c9d6ea; border-radius: 10px; padding: 12px; font-size: 13px; color: #56657c; background: #f8fbff; }
.att-drop:focus { outline: 2px solid #2868d7; outline-offset: 2px; }
.att-list { display: grid; gap: 6px; margin-top: 8px; }
.att-item { display: flex; align-items: center; gap: 10px; border: 1px solid #e6ebf2; border-radius: 9px; padding: 6px 8px; }
.att-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; flex: none; }
.att-icon { font-size: 26px; width: 44px; text-align: center; }
.att-name { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.att-name small { display: block; color: #8a96a8; font-size: 11px; }
.att-empty { font-size: 12px; color: #a0aab8; margin: 4px 0; }
.clip { margin-top: 4px; border: 1px solid #dce3ed; background: #fff; border-radius: 6px; padding: 2px 8px; font-size: 12px; color: #2868d7; }
.att-view { width: min(820px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; }
.att-view figure { margin: 0 0 16px; }
.att-view img { max-width: 100%; border-radius: 8px; border: 1px solid #e6ebf2; display: block; }
.att-view figcaption { font-size: 12px; color: #8a96a8; margin-top: 4px; }
#ledger-filter select + select { margin-left: 6px; }
body.theme-dark .att-drop { background: #1f2a38; border-color: #3d5068; color: #c6d2e1; }
body.theme-dark .att-item, body.theme-dark .clip { border-color: #455060; background: #252d37; }

/* ── 行事曆事件改成色塊；iPad 時間欄位不重疊 ── */
.calendar-panel .day-label.event, body.theme-dark .calendar-panel .day-label.event { color: #fff; }
.calendar-panel .day-label.event small, body.theme-dark .calendar-panel .day-label.event small { color: rgba(255,255,255,.85); }
.form-grid > * { min-width: 0; }
.field input[type="time"], .field input[type="date"] { min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; min-height: 42px; text-align: left; }
.allday-field { align-self: end; }
.allday-field label { white-space: nowrap; min-height: 42px; padding-bottom: 0; margin-bottom: 0; }
.allday-field input[type="checkbox"] { width: 20px !important; height: 20px; flex: none; }
#ledger-stats .ledger-hint { grid-column: 1 / -1; margin: 0; }
#member-rows .role-select + .role-select { margin-left: 4px; }

/* ── 快速登入 ── */
.quick-title { font-size: 12px; font-weight: 700; color: #7a879b; margin: 0 0 8px; }
.quick-item { display: flex; align-items: stretch; gap: 6px; margin-bottom: 8px; }
.quick-account { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; border: 1px solid #cfe0fd; background: #f4f8ff; border-radius: 12px; padding: 10px 12px; text-align: left; color: #26324a; }
.quick-account:hover { border-color: #2868d7; background: #eaf2ff; }
.quick-account .avatar { width: 40px; height: 40px; font-size: 13px; }
.quick-text { flex: 1; min-width: 0; }
.quick-text b { display: block; font-size: 15px; }
.quick-text small { display: block; font-size: 11px; color: #8a96a8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-go { font-size: 12px; font-weight: 700; color: #2868d7; white-space: nowrap; }
.quick-forget { border: 0; background: none; color: #a0aab8; font-size: 18px; padding: 0 6px; border-radius: 8px; }
.quick-forget:hover { background: #f0f3f8; color: #c9454f; }
.quick-login .login-divider { margin: 16px 0 12px; }
body.theme-dark .quick-account { background: #202a38; border-color: #36475e; color: #e8edf5; }
body.theme-dark .quick-text b { color: #edf2f8; }

/* ── 新增分配／比例 ── */
.ledger-dialog { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; }
.al-exp { display: grid; gap: 6px; }
.al-exp-row { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px; border: 1px solid #e6ebf2; border-radius: 9px; padding: 8px 10px; font-weight: 500 !important; }
.al-exp-row input[type=checkbox] { width: 18px; height: 18px; }
.al-exp-main small { display: block; color: #8a96a8; font-size: 11px; }
.al-exp-row select { border: 1px solid #dce3ec; border-radius: 7px; padding: 6px; font-size: 12px; background: #fff; }
.al-table th.num, .al-table td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.al-table td { font-size: 13px; }
.al-table input { width: 110px; }
.stat.ratio-card .ratio-line { font-size: 15px; line-height: 1.6; font-weight: 700; }
.ratio-list { display: grid; gap: 8px; margin-bottom: 14px; }
.ratio-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; border: 1px solid #e6ebf2; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.ratio-item.current { border-color: #2868d7; background: #f4f8ff; }
.ratio-item small { flex-basis: 100%; color: #8a96a8; }
.ratio-item .row-action { margin-left: auto; }
.ratio-new { font-size: 14px; margin: 6px 0 10px; }
#ratio-sum.bad { color: #c2410c; }
.share-table select { width: 100%; border: 1px solid #dce3ec; border-radius: 7px; padding: 8px; font-size: 13px; background: #fff; }
body.theme-dark .al-exp-row, body.theme-dark .ratio-item { border-color: #343d49; }
body.theme-dark .ratio-item.current { background: #202a38; border-color: #5b8fe6; }
body.theme-dark .al-exp-row select, body.theme-dark .share-table select { background: #252d37; border-color: #455060; color: #e8edf5; }
@media (max-width: 600px) { .al-exp-row { grid-template-columns: auto 1fr auto; } .al-exp-row select { grid-column: 2 / -1; } .al-table input { width: 84px; } }

/* 後台 API 傳入的現金收入 */
.api-tag{display:inline-block;padding:1px 6px;border-radius:6px;background:var(--accent-soft,rgba(80,120,255,.12));color:var(--accent,#4a6cf7);font-size:11px;font-weight:600;vertical-align:1px}

/* 跨日行程：月曆上相連的色塊（往左延伸蓋過格子間距與格線） */
.calendar-panel .days .day { --dp: 12px; }
@media (max-width: 900px) { .calendar-panel .days .day { --dp: 6px; } }
@media (max-width: 560px) { .calendar-panel .days .day { --dp: 3px; } }
.calendar-panel .day-label.join-l { position: relative; z-index: 1; margin-left: calc(-2 * var(--dp) - 4px); width: calc(100% + 2 * var(--dp) + 4px); border-top-left-radius: 0; border-bottom-left-radius: 0; }
.calendar-panel .day-label.join-r { border-top-right-radius: 0; border-bottom-right-radius: 0; }
/* 行程色塊左側的人物頭像 */
.day-label .ev-avatar { width: 16px; height: 16px; font-size: 8px; line-height: 16px; flex: none; border: 1px solid rgba(255,255,255,.75); }
.day-label .ev-text { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.three-day-card li .ev-avatar { width: 20px; height: 20px; font-size: 9px; flex: none; }
@media (max-width: 560px) { .day-label .ev-avatar { display: none; } }

/* 次年政府行事曆提醒（管理員） */
.official-notice { margin: -6px 0 14px; padding: 10px 14px; border-radius: 10px; background: #fff6e5; border: 1px solid #f2d39b; color: #7a5310; font-size: 13px; line-height: 1.6; }
.official-notice a { color: #2868d7; font-weight: 600; }
body.theme-dark .official-notice { background: #2b2415; border-color: #5c4a22; color: #e9cf96; }

/* 行事曆檢視切換：月／季／半年／年 */
.cal-views { display: inline-flex; gap: 2px; margin-left: auto; padding: 3px; border: 1px solid #e3e9f1; border-radius: 10px; background: #f6f8fb; }
.cal-views button { border: 0; background: none; padding: 5px 12px; border-radius: 7px; font-size: 13px; font-weight: 600; color: #5b6b82; cursor: pointer; }
.cal-views button[aria-pressed="true"] { background: #2868d7; color: #fff; }
.calendar-panel .cal-views + #go-today { margin-left: 4px; }
body.theme-dark .cal-views { background: #1a1c20; border-color: #2b2d30; }
body.theme-dark .cal-views button { color: #a6abb3; }
body.theme-dark .cal-views button[aria-pressed="true"] { background: #498dff; color: #fff; }
.multi-grid { display: none; }
.calendar-panel.is-multi .weekday, .calendar-panel.is-multi #calendar-grid { display: none; }
.calendar-panel.is-multi .multi-grid { display: grid; gap: 22px 20px; padding: 18px 22px 24px; }
.multi-grid.view-quarter, .multi-grid.view-half { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.multi-grid.view-year { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mini-month h4 { margin: 0 0 8px; font-size: 15px; color: #26324a; }
.mm-week, .mm-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.mm-week span { font-size: 10px; color: #98a3b3; text-align: center; padding-bottom: 4px; }
.mm-grid { row-gap: 2px; }
.mm-day { display: flex; flex-direction: column; gap: 2px; min-width: 0; min-height: 52px; padding: 3px 0 4px; border: 0; border-radius: 6px; background: none; cursor: pointer; font: inherit; }
.view-year .mm-day { min-height: 40px; }
.mm-day.blank { cursor: default; }
.mm-day:not(.blank):hover { background: #f1f5fb; }
.mm-day.selected { background: #e8f1ff; }
.mm-num { align-self: center; min-width: 20px; height: 20px; line-height: 20px; border-radius: 50%; font-size: 11px; font-weight: 600; text-align: center; color: #26324a; }
.mm-day.off .mm-num { color: #d92f44; }
.mm-day.sat .mm-num { color: #2868d7; }
.mm-day.makeup .mm-num { color: #2a8652; }
.mm-day.today .mm-num { background: #2868d7; color: #fff; }
.mm-bars { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mm-bar { display: flex; align-items: center; height: 14px; margin: 0 2px; padding-left: 1px; border-radius: 4px; overflow: hidden; }
.mm-bar.join-l { margin-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.mm-bar.join-r { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.mm-bar .ev-avatar { width: 12px; height: 12px; font-size: 6px; line-height: 12px; border: 1px solid rgba(255,255,255,.85); }
.view-year .mm-bar { height: 12px; }
.view-year .mm-bar .ev-avatar { width: 10px; height: 10px; font-size: 5px; line-height: 10px; }
.mm-more { font-size: 9px; color: #718198; text-align: center; line-height: 1; }
body.theme-dark .mini-month h4, body.theme-dark .mm-num { color: #eceef1; }
body.theme-dark .mm-day:not(.blank):hover { background: #1b1d20; }
body.theme-dark .mm-day.selected { background: #1f2a3a; }
body.theme-dark .mm-day.today .mm-num { background: #fff; color: #17191c; }
@media (max-width: 1100px) { .multi-grid.view-year { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) {
  .calendar-panel .calendar-controls { flex-wrap: wrap; }
  .cal-views { order: 5; margin-left: 0; }
  .multi-grid.view-quarter, .multi-grid.view-half, .multi-grid.view-year { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-panel.is-multi .multi-grid { padding: 14px 12px 18px; gap: 18px 14px; }
}
@media (max-width: 520px) {
  .multi-grid.view-quarter, .multi-grid.view-half { grid-template-columns: 1fr; }
  .mm-day { min-height: 44px; }
}

/* 左側選單收起：只留圖示 */
.sidebar-toggle { display: flex; align-items: center; gap: 10px; margin-top: -34px; margin-bottom: -18px; padding: 9px 14px; border: 0; border-radius: 10px; background: none; color: #8592a6; font-size: 13px; cursor: pointer; text-align: left; }
.sidebar-toggle:hover { background: #f1f5fb; color: #2868d7; }
.sidebar-toggle .st-icon { width: 18px; font-size: 16px; text-align: center; }
body.theme-dark .sidebar-toggle:hover { background: #1b1d20; color: #8fb6ff; }
@media (min-width: 801px) {
  .sidebar { transition: width .18s ease, padding .18s ease; }
  body.sidebar-collapsed .sidebar { width: 76px; padding-left: 12px; padding-right: 12px; }
  body.sidebar-collapsed .brand { justify-content: center; padding: 0; }
  body.sidebar-collapsed .brand > div, body.sidebar-collapsed .nav span, body.sidebar-collapsed .sidebar-note, body.sidebar-collapsed .sidebar-toggle .st-text { display: none; }
  body.sidebar-collapsed .nav { justify-content: center; padding: 12px 0; }
  body.sidebar-collapsed .sidebar-toggle { justify-content: center; padding: 9px 0; }
}
@media (max-width: 800px) { .sidebar-toggle { display: none; } }

/* 週檢視：一列 7 天，格子拉高、行程全部列出 */
.calendar-panel .wk-name { display: none; }
.calendar-panel.is-week .days .day { min-height: 320px; }
.calendar-panel.is-week .day-label { white-space: normal; min-height: 26px; }
@media (max-width: 900px) { .calendar-panel.is-week .days .day { min-height: 240px; } }
@media (max-width: 560px) {
  /* 手機的週檢視改成直的清單，每天一列、顯示文字 */
  .calendar-panel.is-week .weekday { display: none; }
  .calendar-panel.is-week .days { grid-template-columns: 1fr; }
  .calendar-panel.is-week .days .day { min-height: 0; padding: 10px 12px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; }
  .calendar-panel.is-week .day-top { flex-direction: row; align-items: baseline; gap: 6px; margin: 0 8px 0 0; align-self: center; min-width: 92px; }
  .calendar-panel.is-week .wk-name { display: inline; font-size: 12px; font-weight: 600; color: #718198; }
  .calendar-panel.is-week .day-label { height: auto; min-height: 24px; font-size: 12px; line-height: 1.3; padding: 3px 8px; margin: 0; width: auto; max-width: 100%; flex: 1 1 100%; }
  .calendar-panel.is-week .day-label.join-l, .calendar-panel.is-week .day-label.join-r { margin-left: 0; width: auto; border-radius: 5px; }
  .calendar-panel.is-week .day-label .ev-avatar { display: inline-flex; }
  .calendar-panel.is-week .day-label small { display: inline; margin-left: auto; }
}

/* 左側選單圖示（SVG） */
.nav .nav-icon { width: 22px; height: 22px; flex: none; }
.nav.active .nav-icon, .nav:hover .nav-icon { transform: scale(1.06); }
.nav .nav-icon { transition: transform .15s ease; }
body.sidebar-collapsed .nav .nav-icon { width: 24px; height: 24px; }
@media (max-width: 800px) { .nav .nav-icon { width: 23px; height: 23px; } }
