/* Team → Events (Team page, Events tab) — see static/js/team-events.js + docs/features/team-events.md.
   Loaded after the shell's design-system styles; everything is scoped under #tevRoot, the Team page's tab strip, or .tev-modal. */
#page-team-comms .team-tabs { display: flex; gap: 4px; margin: 0 0 10px; padding: 3px; border-radius: 10px; background: var(--fill-tertiary, rgba(15,17,26,.06)); width: max-content; }
#page-team-comms .team-tab { border: 0; background: transparent; border-radius: 8px; padding: 7px 16px; font: inherit; font-size: 13px; font-weight: 600; color: var(--label-secondary); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
#page-team-comms .team-tab.on { background: var(--bg-elevated, #fff); color: var(--label-primary); box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.08)); }
#page-team-comms .team-tab-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger, #b42318); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
#tevRoot .tev-shell { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 0; height: calc(100vh - 168px); height: calc(100dvh - 168px); background: var(--bg-canvas, #f7f7f8); border: 1px solid var(--card-border, rgba(0,0,0,.1)); border-radius: 14px; overflow: hidden; }
#tevRoot .tev-list { border-right: 1px solid var(--border-hairline, rgba(15,17,26,.06)); background: var(--bg-elevated, #fff); display: flex; flex-direction: column; min-width: 0; min-height: 0; }
#tevRoot .tev-detail { min-width: 0; min-height: 0; overflow-y: auto; }

/* list header */
#tevRoot .tev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 18px 18px 10px; }
#tevRoot .tev-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--label-tertiary); }
#tevRoot .tev-title { margin: 0; font-size: var(--text-title-1, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--label-primary); line-height: 1.15; }
#tevRoot .tev-seg { display: flex; gap: 4px; margin: 0 18px 8px; padding: 3px; border-radius: 10px; background: var(--fill-tertiary, rgba(15,17,26,.06)); }
#tevRoot .tev-seg button { flex: 1; border: 0; background: transparent; border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 13px; font-weight: 600; color: var(--label-secondary); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
#tevRoot .tev-seg button.on { background: var(--bg-elevated, #fff); color: var(--label-primary); box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.08)); }
#tevRoot .tev-dot { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger, #b42318); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
#tevRoot .tev-cards { flex: 1; overflow-y: auto; padding: 4px 10px 18px; }

/* event card */
#tevRoot .tev-card { display: flex; gap: 12px; align-items: center; padding: 10px 10px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; }
#tevRoot .tev-card:hover { background: var(--fill-quaternary, rgba(15,17,26,.04)); }
#tevRoot .tev-card.on { background: var(--brand-tint, #e6f4ed); border-color: rgba(10,106,64,.18); }
#tevRoot .tev-card.off { opacity: .6; }
#tevRoot .tev-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#tevRoot .tev-card-body { flex: 1; min-width: 0; }
#tevRoot .tev-card-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
#tevRoot .tev-card-day { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand, #0a6a40); }
#tevRoot .tev-card-title { font-size: 15px; font-weight: 700; color: var(--label-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
#tevRoot .tev-card-sub { font-size: 12.5px; color: var(--label-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tevRoot .tev-card-line { font-size: 12px; font-weight: 600; margin-top: 2px; color: var(--label-tertiary); }
#tevRoot .tev-card-line.good { color: var(--success, #117a3d); }
#tevRoot .tev-card-line.attention { color: var(--danger, #b42318); }

/* tiles, avatars, pills */
#tevRoot .tev-tile, .tev-modal .tev-tile { border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--brand-tint, #e6f4ed); display: flex; align-items: center; justify-content: center; }
#tevRoot .tev-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tevRoot .tev-avatar, .tev-modal .tev-avatar { width: 32px; height: 32px; border-radius: 16px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; background: var(--fill-tertiary, rgba(15,17,26,.06)); color: var(--label-secondary); }
#tevRoot .tev-avatar.good, .tev-modal .tev-avatar.good { background: var(--brand-tint, #e6f4ed); color: var(--brand, #0a6a40); }
#tevRoot .tev-pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 11.5px; font-weight: 700; background: var(--fill-tertiary, rgba(15,17,26,.06)); color: var(--label-secondary); }
#tevRoot .tev-pill.draft { background: var(--warning-tint, #fbefd3); color: var(--warning, #8a5a00); }
#tevRoot .tev-pill.off { background: var(--danger-tint, #fce7e4); color: var(--danger, #b42318); }
#tevRoot .tev-pill.needs, #tevRoot .tev-pill.attention { background: var(--danger-tint, #fce7e4); color: var(--danger, #b42318); }
#tevRoot .tev-pill.good { background: var(--success-tint, #e4f4ea); color: var(--success, #117a3d); }

/* detail */
#tevRoot .tev-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 22px 8px; }
#tevRoot .tev-back { border: 0; background: transparent; color: var(--brand, #0a6a40); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 6px 0; }
#tevRoot .tev-head-actions { display: flex; gap: 8px; }
#tevRoot .tev-hero { margin: 0 22px; border-radius: 16px; overflow: hidden; background: var(--brand-tint, #e6f4ed); aspect-ratio: 16 / 7; max-height: 320px; display: flex; align-items: center; justify-content: center; }
#tevRoot .tev-hero.has-cover { aspect-ratio: 16 / 9; }
#tevRoot .tev-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
#tevRoot .tev-hero-emoji { font-size: 84px; line-height: 1; }
#tevRoot .tev-detail-body { padding: 16px 22px 40px; max-width: 860px; }
#tevRoot .tev-titleblock { margin-bottom: 14px; }
#tevRoot .tev-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
#tevRoot .tev-h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: var(--label-primary); line-height: 1.15; text-wrap: balance; }
#tevRoot .tev-cancel-reason { margin: 6px 0 0; color: var(--danger, #b42318); font-weight: 600; font-size: 14px; }
#tevRoot .tev-facts { background: var(--bg-elevated, #fff); border: 1px solid var(--border-hairline, rgba(15,17,26,.06)); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05)); }
#tevRoot .tev-fact { display: flex; align-items: center; gap: 12px; padding: 11px 14px; min-height: 54px; }
#tevRoot .tev-fact + .tev-fact { border-top: 1px solid var(--border-hairline, rgba(15,17,26,.06)); }
#tevRoot .tev-fact-ic { width: 34px; height: 34px; border-radius: 17px; background: var(--brand-tint, #e6f4ed); display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
#tevRoot .tev-fact > div { flex: 1; min-width: 0; }
#tevRoot .tev-fact-t { font-size: 15px; font-weight: 700; color: var(--label-primary); }
#tevRoot .tev-fact-s { font-size: 13px; color: var(--label-secondary); margin-top: 1px; }
#tevRoot .tev-fact-a { font-size: 13px; font-weight: 700; color: var(--brand, #0a6a40); text-decoration: none; white-space: nowrap; }
#tevRoot .tev-desc { margin: 14px 2px 0; font-size: 15px; line-height: 1.55; color: var(--label-primary); max-width: 68ch; }
#tevRoot .tev-extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; margin-top: 14px; }
#tevRoot .tev-extra { background: var(--bg-elevated, #fff); border: 1px solid var(--border-hairline, rgba(15,17,26,.06)); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
#tevRoot .tev-extra-k { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--label-tertiary); }
#tevRoot .tev-extra-v { font-size: 14px; font-weight: 600; color: var(--label-primary); }

/* blocks: RSVP, planner, people */
#tevRoot .tev-card-block { margin-top: 16px; background: var(--bg-elevated, #fff); border: 1px solid var(--border-hairline, rgba(15,17,26,.06)); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,.05)); }
#tevRoot .tev-block-title { font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--label-primary); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
#tevRoot .tev-count { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: var(--fill-tertiary, rgba(15,17,26,.06)); color: var(--label-secondary); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
#tevRoot .tev-count.good { background: var(--success-tint, #e4f4ea); color: var(--success, #117a3d); }
#tevRoot .tev-count.warn { background: var(--warning-tint, #fbefd3); color: var(--warning, #8a5a00); }
#tevRoot .tev-count.bad { background: var(--danger-tint, #fce7e4); color: var(--danger, #b42318); }
#tevRoot .tev-muted, .tev-modal .tev-muted { font-size: 13px; color: var(--label-secondary); margin: 6px 0 0; line-height: 1.45; }
#tevRoot .tev-muted-inline { font-weight: 500; color: var(--label-tertiary); }
#tevRoot .tev-rsvp-row { display: flex; gap: 8px; flex-wrap: wrap; }
#tevRoot .tev-rsvp-btn { flex: 1; min-width: 110px; height: 44px; border-radius: 12px; border: 1.5px solid var(--border-default, rgba(15,17,26,.1)); background: var(--bg-elevated, #fff); font: inherit; font-size: 14px; font-weight: 700; color: var(--label-primary); cursor: pointer; }
#tevRoot .tev-rsvp-btn:disabled { opacity: .5; cursor: default; }
#tevRoot .tev-rsvp-btn.going.on { background: var(--success, #117a3d); border-color: var(--success, #117a3d); color: #fff; }
#tevRoot .tev-rsvp-btn.maybe.on { background: var(--warning, #8a5a00); border-color: var(--warning, #8a5a00); color: #fff; }
#tevRoot .tev-rsvp-btn.declined.on { background: var(--label-secondary); border-color: var(--label-secondary); color: #fff; }
#tevRoot .tev-rsvp-more { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; margin-top: 12px; }
#tevRoot .tev-rsvp-more .tev-field { flex: 1; min-width: 200px; }
#tevRoot .tev-stepper, .tev-modal .tev-stepper { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: var(--fill-tertiary, rgba(15,17,26,.06)); }
#tevRoot .tev-stepper button { width: 36px; height: 32px; border: 0; border-radius: 8px; background: var(--bg-elevated, #fff); color: var(--brand, #0a6a40); font-size: 18px; font-weight: 700; cursor: pointer; }
#tevRoot .tev-stepper button:disabled { opacity: .4; cursor: default; }
#tevRoot .tev-stepper b { min-width: 32px; text-align: center; font-size: 15px; font-variant-numeric: tabular-nums; }
#tevRoot .tev-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
#tevRoot .tev-stat { border-radius: 12px; padding: 10px 8px; text-align: center; background: var(--bg-sunken, #f1f1f3); }
#tevRoot .tev-stat b { display: block; font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--label-primary); line-height: 1.1; }
#tevRoot .tev-stat span { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--label-tertiary); }
#tevRoot .tev-stat.good b { color: var(--success, #117a3d); }
#tevRoot .tev-stat.bad b { color: var(--danger, #b42318); }
#tevRoot .tev-stat.warn b { color: var(--warning, #8a5a00); }
#tevRoot .tev-planner-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
#tevRoot .tev-spacer, .tev-modal .tev-spacer { flex: 1; }
#tevRoot .tev-cancel-box { border: 1px solid rgba(180,35,24,.3); background: var(--danger-tint, #fce7e4); border-radius: 12px; padding: 12px; margin: 6px 0 12px; }
#tevRoot .tev-people-sec { margin-top: 12px; }
#tevRoot .tev-person, .tev-modal .tev-pick-row { display: flex; align-items: center; gap: 10px; padding: 7px 4px; min-height: 46px; border-top: 1px solid var(--border-hairline, rgba(15,17,26,.06)); }
#tevRoot .tev-person-body, .tev-modal .tev-person-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#tevRoot .tev-person-name, .tev-modal .tev-person-name { font-size: 14px; font-weight: 600; color: var(--label-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tevRoot .tev-person-sub, .tev-modal .tev-person-sub { font-size: 12.5px; color: var(--label-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tevRoot .tev-person-actions { display: inline-flex; align-items: center; gap: 6px; }

/* controls */
#tevRoot .tev-btn, .tev-modal .tev-btn { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border-default, rgba(15,17,26,.1)); background: var(--bg-elevated, #fff); color: var(--label-primary); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
#tevRoot .tev-btn:hover, .tev-modal .tev-btn:hover { background: var(--fill-quaternary, rgba(15,17,26,.04)); }
#tevRoot .tev-btn:disabled, .tev-modal .tev-btn:disabled { opacity: .45; cursor: default; }
#tevRoot .tev-btn.primary, .tev-modal .tev-btn.primary { background: var(--brand, #0a6a40); border-color: var(--brand, #0a6a40); color: #fff; }
#tevRoot .tev-btn.primary:hover, .tev-modal .tev-btn.primary:hover { background: var(--brand-hover, #085633); }
#tevRoot .tev-btn.danger, .tev-modal .tev-btn.danger { background: var(--danger, #b42318); border-color: var(--danger, #b42318); color: #fff; }
#tevRoot .tev-btn.danger.ghost { background: transparent; color: var(--danger, #b42318); border-color: rgba(180,35,24,.35); }
#tevRoot .tev-btn.sm, .tev-modal .tev-btn.sm { height: 30px; padding: 0 10px; font-size: 12px; }
#tevRoot .tev-link, .tev-modal .tev-link { background: none; border: 0; color: var(--brand, #0a6a40); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0 4px; }
#tevRoot .tev-x, .tev-modal .tev-x { width: 28px; height: 28px; border-radius: 14px; border: 0; background: var(--fill-tertiary, rgba(15,17,26,.06)); color: var(--label-secondary); cursor: pointer; font-size: 12px; flex-shrink: 0; }
#tevRoot .tev-x:hover, .tev-modal .tev-x:hover { background: var(--fill-primary, rgba(15,17,26,.12)); }
#tevRoot .tev-select { height: 30px; padding: 0 8px; border-radius: 8px; font: inherit; font-size: 12.5px; }
#tevRoot .tev-field, .tev-modal .tev-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#tevRoot .tev-field > span, .tev-modal .tev-field > span { font-size: 12px; font-weight: 700; color: var(--label-secondary); }
#tevRoot .tev-field small, .tev-modal .tev-field small { font-weight: 500; color: var(--label-tertiary); }
#tevRoot .tev-field input:not([type=checkbox]), #tevRoot .tev-field textarea, .tev-modal .tev-field input:not([type=checkbox]), .tev-modal .tev-field textarea, .tev-modal .tev-field select { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; padding: 9px 11px; border-radius: 10px; }
#tevRoot .tev-field-inline, .tev-modal .tev-field-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--label-secondary); }
#tevRoot .tev-row, .tev-modal .tev-row { display: flex; align-items: center; gap: 8px; }
#tevRoot .tev-row.wrap, .tev-modal .tev-row.wrap { flex-wrap: wrap; }
#tevRoot .tev-chips, .tev-modal .tev-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
#tevRoot .tev-chip, .tev-modal .tev-chip { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--border-default, rgba(15,17,26,.1)); background: var(--bg-elevated, #fff); color: var(--label-primary); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
#tevRoot .tev-chip.on, .tev-modal .tev-chip.on { background: var(--brand, #0a6a40); border-color: var(--brand, #0a6a40); color: #fff; }
.tev-modal .tev-chips.big .tev-chip { height: 36px; font-size: 13.5px; }
#tevRoot .tev-loading, #tevRoot .tev-notice, .tev-modal .tev-loading, .tev-modal .tev-notice { padding: 14px 16px; border-radius: 12px; background: var(--bg-elevated, #fff); border: 1px solid var(--border-hairline, rgba(15,17,26,.06)); color: var(--label-secondary); font-size: 13px; margin: 14px; }
#tevRoot .tev-notice.bad, .tev-modal .tev-notice.bad { border-color: rgba(180,35,24,.35); color: var(--danger, #b42318); background: var(--danger-tint, #fce7e4); }
.tev-modal .tev-notice { margin: 0 0 12px; }
#tevRoot .tev-empty { text-align: center; padding: 36px 18px; max-width: 420px; margin: 0 auto; }
#tevRoot .tev-empty.tall { padding-top: 120px; }
#tevRoot .tev-empty-mark { width: 64px; height: 64px; border-radius: 32px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; font-size: 30px; background: var(--brand-tint, #e6f4ed); }
#tevRoot .tev-empty h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--label-primary); }
#tevRoot .tev-empty p { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--label-secondary); }

/* planner form + people picker (appended to body) */
.tev-modal .modal { width: min(760px, calc(100vw - 32px)); }
.tev-modal .tev-picker { width: min(520px, calc(100vw - 32px)); }
.tev-modal .modal-head { gap: 10px; }
.tev-modal .tev-form-body { display: flex; flex-direction: column; gap: 14px; }
.tev-modal .tev-form-look { display: flex; gap: 14px; align-items: flex-start; }
.tev-modal .tev-form-look-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.tev-modal .tev-cover-pick { width: 150px; aspect-ratio: 4 / 3; border-radius: 14px; background: var(--brand-tint, #e6f4ed); border: 1.5px dashed rgba(10,106,64,.4); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; position: relative; overflow: hidden; flex-shrink: 0; }
.tev-modal .tev-cover-pick.has { border-style: solid; }
.tev-modal .tev-cover-pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tev-modal .tev-cover-emoji { font-size: 40px; line-height: 1; }
.tev-modal .tev-cover-cta { position: relative; font-size: 11.5px; font-weight: 700; color: var(--brand, #0a6a40); background: rgba(255,255,255,.9); padding: 3px 8px; border-radius: 999px; }
.tev-modal .tev-emoji-row { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.tev-modal .tev-emoji { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid transparent; background: var(--fill-quaternary, rgba(15,17,26,.04)); font-size: 20px; cursor: pointer; }
.tev-modal .tev-emoji.on { border-color: var(--brand, #0a6a40); background: var(--brand-tint, #e6f4ed); }
.tev-modal .tev-form-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.tev-modal .tev-form-grid.two { grid-template-columns: 1fr 1fr; }
.tev-modal .tev-preview { font-size: 13.5px; font-weight: 700; color: var(--brand, #0a6a40); margin-top: -6px; }
.tev-modal .tev-preview small { font-weight: 500; color: var(--label-tertiary); margin-left: 6px; }
.tev-modal .tev-extra-edit { display: grid; grid-template-columns: 140px 1fr 28px; gap: 6px; align-items: center; margin-top: 6px; }
.tev-modal .tev-extra-edit input { width: 100%; box-sizing: border-box; font: inherit; font-size: 13.5px; padding: 8px 10px; border-radius: 10px; }
.tev-modal .tev-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--label-primary); margin: 4px 0 6px; }
.tev-modal .tev-picker-tools { padding: 10px 20px 4px; display: flex; flex-direction: column; gap: 6px; }
.tev-modal .tev-picker-tools input { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; padding: 9px 11px; border-radius: 10px; }
.tev-modal .tev-picker-body { padding: 6px 20px 12px; }
.tev-modal .tev-pick-row { cursor: pointer; border-radius: 8px; padding: 7px 6px; }
.tev-modal .tev-pick-row:hover { background: var(--fill-quaternary, rgba(15,17,26,.04)); }
.tev-modal .tev-pick-row.locked { opacity: .6; cursor: default; }
.tev-modal .tev-pick-row input { width: 18px; height: 18px; accent-color: var(--brand, #0a6a40); }
.tev-modal .tev-pick-row:first-child { border-top: 0; }

@media (max-width: 900px) {
    #tevRoot .tev-shell { grid-template-columns: 1fr; }
    #tevRoot .tev-list { border-right: 0; }
    #tevRoot .tev-shell.show-detail .tev-list { display: none; }
    #tevRoot .tev-shell:not(.show-detail) .tev-detail { display: none; }
    #tevRoot .tev-detail-head, #tevRoot .tev-detail-body { padding-left: 14px; padding-right: 14px; }
    #tevRoot .tev-hero { margin: 0 14px; }
    #tevRoot .tev-h2 { font-size: 22px; }
    #tevRoot .tev-stats { grid-template-columns: repeat(2, 1fr); }
    .tev-modal .tev-form-grid, .tev-modal .tev-form-grid.two { grid-template-columns: 1fr; }
    .tev-modal .tev-form-look { flex-direction: column; }
    .tev-modal .tev-cover-pick { width: 100%; aspect-ratio: 16 / 7; }
    .tev-modal .tev-extra-edit { grid-template-columns: 1fr 1fr 28px; }
}
@media (min-width: 901px) {
    #tevRoot .tev-back { display: none; }
}
