/* 2026-10-21: two-page terminal sample. Scoped to preserve other screens. */
.terminal-shell {
  --t-bg: #e8e9e3; --t-paper: #f6f6f1; --t-ink: #1a1d1a;
  --t-line: #c9ccc2; --t-muted: #656c61; --t-yellow: #ebf454;
  --t-mono: Consolas, "SFMono-Regular", "Liberation Mono", monospace;
  background: var(--t-bg); color: var(--t-ink);
}
.terminal-shell .main { padding: 0 36px 32px; background: var(--t-bg); }
.terminal-shell .sidebar { width: 224px; padding: 31px 18px 24px; background: #1a1d1a; border: 0; }
.terminal-shell .brand { padding: 0 0 36px; gap: 10px; }
.terminal-shell .brand-mark { background: var(--t-yellow); color: var(--t-ink); border: 0; width: 34px; height: 40px; font: 900 24px Arial, sans-serif; clip-path: polygon(0 0,100% 0,100% 77%,76% 100%,0 100%); }
.terminal-shell .brand strong { font-size: 14px; letter-spacing: 0; }
.terminal-shell .brand span { font: 10px var(--t-mono); color: #a6ad9e; letter-spacing: .1em; }
.terminal-shell .side-label { font: 10px var(--t-mono); color: #8c9583; padding: 15px 10px; border-top: 1px solid #373d33; }
.terminal-shell .nav { gap: 6px; }
.terminal-shell .nav button { min-height: 48px; padding: 12px; color: #b8c0b1; border: 0; }
.terminal-shell .nav button.active { color: var(--t-ink); background: var(--t-yellow); box-shadow: none; }
.terminal-shell .nav button:hover:not(.active) { background: #2c3228; }
.terminal-shell .nav-icon { display: inline-flex; color: currentColor; width: 19px; }
.terminal-shell .nav-text { font-size: 14px; }
.terminal-shell .nav button.active .nav-count { color: var(--t-ink); border-color: #747b35; }
.terminal-shell .nav-count { color: var(--t-yellow); border: 1px solid #5b644d; padding: 2px 5px; font: 11px var(--t-mono); }
.terminal-shell .side-status { background: transparent; border: 0; border-top: 1px solid #3a4233; padding: 20px 5px 0; clip-path: none; }
.terminal-shell .side-status strong { color: #e6e9dd; font: 20px var(--t-mono); }
.terminal-shell .side-status small, .terminal-shell .side-status p { color: #a1aa98; font-size: 12px; }
.terminal-shell .side-logout { padding: 14px 0 0; margin-top: 18px; color: #c1c8ba; font-size: 12px; }
.terminal-shell .topbar { min-height: 90px; margin-bottom: 0; padding: 20px 0 16px; border-bottom: 1px solid var(--t-ink); }
.terminal-shell .page-title { font-size: 20px; margin-top: 6px; letter-spacing: .01em; }
.terminal-shell .eyebrow { font: 10px var(--t-mono); color: var(--t-muted); letter-spacing: .08em; }
.terminal-shell .department-context { background: transparent; border: 0; border-left: 1px solid var(--t-line); padding: 3px 14px; }
.terminal-shell .department-context small { font-size: 10px; }
.terminal-shell .department-context strong { font-size: 13px; }
.terminal-shell .department-context span { color: #4a5544; }
.terminal-shell .role-switch { border-radius: 0; background: transparent; font-size: 11px; }
.terminal-shell .avatar { background: #d6dacb; border-radius: 0; color: #36432b; }
.t-icon { width: 19px; height: 19px; flex-shrink: 0; vertical-align: middle; }
.terminal-page { --t-gap: 18px; font-size: 14px; line-height: 1.5; }
.terminal-page *, .terminal-shell button { -webkit-tap-highlight-color: transparent; }
.terminal-page button { font: inherit; }
.terminal-page [hidden] { display: none !important; }
.terminal-page :is(button,input,summary):focus-visible, .terminal-shell .nav button:focus-visible { outline: 2px solid #526848; outline-offset: 4px; }
.t-index, .t-page-meta, .t-page-foot { font: 10px/1.5 var(--t-mono); letter-spacing: .06em; }
.t-index { color: var(--t-muted); }
.t-page-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; color: var(--t-muted); }
.t-page-meta > span:last-child { display: inline-flex; align-items: center; gap: 6px; }
.t-live { display: inline-block; width: 5px; height: 5px; background: #52734c; flex-shrink: 0; }
.t-command { display: grid; grid-template-columns: minmax(0,1fr) 230px; min-height: 240px; background: var(--t-ink); color: #f4f5eb; position: relative; }
.t-command::before { content: ""; position: absolute; right: 246px; top: 0; width: 38px; height: 6px; background: var(--t-yellow); }
.t-command-copy { padding: 28px 32px 20px; position: relative; overflow: hidden; }
.t-command-copy::after { content: "+"; position: absolute; right: 27px; top: 28px; color: #64705b; font: 24px var(--t-mono); }
.t-command-copy .t-index { color: #acb59e; }
.t-command h2 { font-size: clamp(28px,2.5vw,38px); font-weight: 700; line-height: 1.4; letter-spacing: .025em; margin: 14px 0 12px; }
.t-square { color: var(--t-yellow); }
.t-command p { margin: 0; color: #b5bdac; font-size: 12px; }
.t-command-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 12px; border-top: 1px solid #3c4434; color: #a1ac95; font: 10px var(--t-mono); }
.t-pending { background: #272d23; border-left: 1px solid #424b38; padding: 26px 24px 22px; display: flex; flex-direction: column; }
.t-pending-label { display: flex; flex-direction: column; gap: 2px; color: #c9d0c0; font-size: 13px; }
.t-pending-label span:last-child { font: 10px var(--t-mono); color: #9fa991; }
.t-pending > strong { font: 400 82px/1.15 var(--t-mono); letter-spacing: -.07em; color: var(--t-yellow); margin: 9px 0 12px; }
.t-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 44px; padding: 9px 14px; background: transparent; border: 1px solid var(--t-line); color: var(--t-ink); font-size: 12px !important; font-weight: 600 !important; transition: background .16s ease, border-color .16s ease; white-space: nowrap; }
.t-button .t-icon { width: 16px; height: 16px; }
.t-button:hover { background: #e1e5d8; border-color: #808974; }
.t-button.t-primary { background: var(--t-yellow); border-color: var(--t-yellow); color: #222713; }
.t-button.t-primary:hover { background: #d9e34a; border-color: #d9e34a; }
.t-pending .t-button { margin-top: auto; }
.t-panel { background: var(--t-paper); border: 1px solid var(--t-line); min-width: 0; }
.t-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 17px; margin-bottom: 19px; border-bottom: 1px solid var(--t-line); }
.t-panel-head h3 { font-size: 16px; margin: 4px 0 0; font-weight: 700; }
.t-panel-head .t-button { border: 0; padding: 0 0 0 8px; min-height: 36px; }
.t-label { color: var(--t-muted); font-size: 11px; }
.t-status { display: inline-flex; gap: 6px; align-items: center; color: #52674a; font-size: 11px; }
.t-status::before { content: ""; width: 4px; height: 4px; background: currentColor; }
.t-overview-grid { margin-top: var(--t-gap); display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,1fr); gap: var(--t-gap); }
.t-current { padding: 22px 24px; }
.t-current .t-panel-head { padding-bottom: 12px; margin-bottom: 17px; }
.t-current .t-panel-head h3 { font-size: 13px; color: var(--t-muted); font-weight: 400; }
.t-activity-title { font-size: 23px; margin: 0; letter-spacing: .01em; }
.t-current-meta { color: var(--t-muted); font-size: 12px; margin: 9px 0 20px; }
.t-current-bottom { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.t-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--t-line); background: #dee2d6; }
.t-metrics article { padding: 23px 15px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.t-metrics article + article { border-left: 1px solid #c0c8b5; }
.t-metrics .t-index { font-size: 9px; letter-spacing: 0; }
.t-metrics strong { margin: 23px 0 13px; font: 38px/1 var(--t-mono); letter-spacing: -.07em; }
.t-metrics strong small { font: 11px "Microsoft YaHei", sans-serif; padding-left: 5px; color: #6f7866; }
.t-metrics article > span:last-child { color: #5c6653; font-size: 11px; }
.t-alert { color: #a44234 !important; }
.t-group-panel { margin-top: var(--t-gap); padding: 22px 24px; }
.t-team-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; }
.t-team { display: grid; grid-template-columns: 36px minmax(0,1fr) auto 16px; align-items: center; gap: 14px; padding: 9px 17px 9px 0; background: transparent; border: 0; color: var(--t-ink); text-align: left; min-height: 102px; }
.t-team:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--t-line); }
.t-team:nth-child(n+3) { border-top: 1px solid var(--t-line); }
.t-team:hover .t-team-arrow { color: #253515; background: var(--t-yellow); }
.t-team-id { display: grid; justify-items: center; align-self: stretch; gap: 16px; color: #838d77; padding-top: 4px; font: 11px var(--t-mono); }
.t-team-id .t-icon { width: 25px; height: 25px; }
.t-team-main { min-width: 0; }
.t-team-main h4 { margin: 0 0 7px; font-size: 16px; }
.t-team-main p, .t-team-main small { color: var(--t-muted); font-size: 11px; line-height: 1.7; margin: 0; display: block; }
.t-team-main small { margin-top: 5px; }
.t-team-progress { text-align: right; min-width: 74px; }
.t-team-progress strong { display: block; font: 24px var(--t-mono); }
.t-team-progress > span { font-size: 10px; color: var(--t-muted); }
.t-track { height: 3px; background: #d4d9ca; margin-top: 9px; }
.t-track i { display: block; background: #687b50; height: 100%; }
.t-team-arrow { transition: background .16s ease; }
.t-team-arrow .t-icon { width: 16px; }
.t-bottom-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: var(--t-gap); margin-top: var(--t-gap); }
.t-bottom-grid > .t-panel { padding: 22px 24px; }
.t-activity-item { width: 100%; display: grid; grid-template-columns: 22px 1fr auto 16px; gap: 12px; align-items: center; padding: 17px 0; text-align: left; border: 0; border-bottom: 1px solid var(--t-line); background: transparent; color: var(--t-ink); }
.t-activity-item:last-child { border-bottom: 0; }
.t-activity-item strong, .t-activity-item small { display: block; }
.t-activity-item strong { font-size: 14px; }
.t-activity-item small { font-size: 11px; color: var(--t-muted); margin-top: 5px; }
.t-actions > div:last-child { display: grid; gap: 0; }
.t-actions > div:last-child > button { display: grid; grid-template-columns: 32px 1fr 15px; gap: 12px; align-items: center; width: 100%; min-height: 76px; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--t-line); text-align: left; color: var(--t-ink); }
.t-actions > div:last-child > button:last-child { border-bottom: 0; }
.t-actions button:hover .t-action-icon { background: var(--t-yellow); }
.t-action-icon { display: grid; place-items: center; width: 32px; height: 32px; background: #e6e9df; }
.t-actions button strong { display: block; font-size: 13px; }
.t-actions button small { display: block; font-size: 11px; color: var(--t-muted); margin-top: 5px; }
.t-page-foot { display: flex; justify-content: space-between; gap: 14px; margin-top: 23px; color: var(--t-muted); }
.terminal-page .operations-feed { margin-top: 0; }
.terminal-page .operation-feed-row { grid-template-columns: 62px minmax(0,1fr) auto; gap: 10px; padding: 15px 0; border-color: var(--t-line); }
.terminal-page .operation-feed-link { grid-column: 2; justify-self: start; background: transparent; border: 0; padding: 0; min-height: 30px; color: #586c49; font-size: 12px; }
.terminal-page .operation-feed-time { font: 10px var(--t-mono); }
.terminal-page .operation-feed-main strong { font-size: 13px; }
.terminal-page .operation-feed-main span { font-size: 11px; }
.terminal-page .chip { border-radius: 0; box-shadow: none; padding: 4px 6px; font-size: 10px; }
.terminal-page .chip.teal { color: #4b6643; background: #e2e9dc; }
.terminal-page .chip.amber { color: #8d6425; background: #f0e7cf; }
.terminal-page .chip.red { color: #9d473a; background: #f2e3dd; }
.t-empty { padding: 32px 14px; text-align: center; color: var(--t-muted); font-size: 13px; grid-column: 1 / -1; }
/* Personnel registry */
.t-roster-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 12px 0 31px; position: relative; }
.t-roster-heading h2 { margin: 9px 0 10px; font-size: 38px; font-weight: 700; letter-spacing: .02em; }
.t-roster-heading h2 .t-square { color: #899575; }
.t-roster-heading p { color: var(--t-muted); font-size: 13px; margin: 0; }
.t-roster-total { display: flex; align-items: center; gap: 13px; border-left: 1px solid #aeb6a4; padding: 0 24px; }
.t-roster-total strong { font: 64px/1 var(--t-mono); letter-spacing: -.06em; }
.t-roster-total span { font-size: 11px; line-height: 1.8; color: var(--t-muted); }
.t-roster-panel { border-top: 3px solid var(--t-ink); }
.t-roster-tools { padding: 22px 24px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.t-search { display: flex; align-items: center; gap: 12px; padding: 0 13px; min-height: 44px; border: 1px solid var(--t-line); width: min(330px,100%); color: #76816c; background: transparent; }
.t-search:focus-within { border-color: #657652; }
.t-search input { min-width: 0; width: 100%; outline: none !important; border: 0; background: transparent; color: var(--t-ink); padding: 10px 0; font-size: 13px; }
.t-search input::placeholder { color: #747d6b; }
.t-filter-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 0 24px; border-bottom: 1px solid var(--t-ink); }
.t-filter-row > div { display: flex; flex-wrap: wrap; gap: 20px; }
.t-filter-row button { display: inline-flex; align-items: center; gap: 8px; min-height: 49px; border: 0; border-bottom: 3px solid transparent; padding: 5px 0; color: var(--t-muted); font-size: 12px; background: transparent; }
.t-filter-row button.is-active { color: var(--t-ink); border-color: var(--t-ink); font-weight: 700; }
.t-filter-row b { font: 10px var(--t-mono); background: #e4e7dd; padding: 1px 4px; }
.t-filter-row button.is-active b { background: var(--t-yellow); }
.t-roster-result { white-space: nowrap; color: var(--t-muted); font: 11px var(--t-mono); }
.t-roster-columns, .t-person { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(95px,1fr) 120px; align-items: center; gap: 12px; }
.t-roster-columns { margin: 0 24px; padding: 13px 0; border-bottom: 1px solid var(--t-line); font-size: 11px; color: var(--t-muted); }
.t-roster-list { margin: 0 24px; }
.t-person { padding: 17px 0; border-bottom: 1px solid var(--t-line); position: relative; }
.t-person:hover { background: #eef0e7; }
.t-person-identity { display: flex; align-items: center; gap: 17px; min-width: 0; }
.t-person-number { min-width: 24px; color: #868e7d; font: 11px var(--t-mono); }
.t-person-identity strong { display: block; font-size: 15px; }
.t-person-identity small { display: block; margin-top: 5px; color: var(--t-muted); font-size: 11px; overflow-wrap: anywhere; }
.t-person-identity small > span { font: 10px var(--t-mono); color: #818a76; }
.t-group-tag { display: inline-block; padding: 3px 9px; border-left: 2px solid #99a783; background: #e8ecdf; color: #536048; font-size: 11px; }
.t-person-action .t-button { width: 100%; min-height: 44px; padding: 7px 10px; font-size: 11px !important; }
.t-mobile-label { display: none; }
.t-roster-note { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 19px 24px; font-size: 11px; color: var(--t-muted); }
.t-roster-note > span:first-child { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
@media (min-width: 1250px) { .terminal-shell .main { padding-inline: 40px; } }
@media (min-width: 681px) and (max-width: 1140px) {
  .terminal-shell .sidebar { width: 188px; padding-inline: 12px; }
  .terminal-shell .brand strong { font-size: 12px; }
  .terminal-shell .main { padding-inline: 22px; }
  .t-overview-grid { grid-template-columns: 1fr; }
  .t-metrics article { padding: 17px; }.t-metrics strong { margin: 14px 0; }
  .t-team-grid { grid-template-columns: 1fr; }.t-team:nth-child(even) { border-left: 0; padding-left: 0; }.t-team + .t-team { border-top: 1px solid var(--t-line); }
  .t-roster-columns, .t-person { grid-template-columns: minmax(0,1.4fr) minmax(70px,1fr) 100px; gap: 8px; }
  .t-roster-tools { flex-wrap: wrap; }.t-roster-total { padding-inline: 12px; }
}
@media (max-width: 680px) {
  .terminal-shell .main { padding: 0 16px 30px; }
  .terminal-shell .app-shell, .terminal-shell.app-shell { padding-bottom: 78px; }
  .terminal-shell .topbar { position: static; min-height: 84px; padding: 16px 0 12px; margin: 0; background: transparent; backdrop-filter: none; gap: 8px; align-items: center; }
  .terminal-shell .top-actions { max-width: 55%; gap: 5px; }
  .terminal-shell .department-context { min-width: 0; padding: 0; border: 0; }
  .terminal-shell .department-context small { display: none; }.terminal-shell .department-context strong { font-size: 11px; }.terminal-shell .department-context span { font-size: 10px; }
  .terminal-shell .page-title { font-size: 16px; }.terminal-shell .eyebrow { font-size: 8px; letter-spacing: 0; }.terminal-shell .role-switch { border: 0; padding: 1px 0; font-size: 10px; }.terminal-shell .role-switch select { max-width: 82px; font-size: 10px; }
  .terminal-page { --t-gap: 12px; }
  .t-page-meta { min-height: 43px; font-size: 8px; letter-spacing: 0; }.t-page-meta > span:last-child { gap: 4px; }.t-page-meta .t-live { width: 4px; height: 4px; }
  .t-command { grid-template-columns: minmax(0,1fr) 103px; min-height: 224px; }
  .t-command::before { width: 25px; right: 118px; height: 4px; }
  .t-command-copy { padding: 24px 17px 17px; }.t-command-copy > .t-index { font-size: 8px; letter-spacing: 0; }.t-command-copy::after { display: none; }
  .t-command h2 { font-size: 24px; line-height: 1.5; margin-top: 15px; letter-spacing: 0; }.t-command p { font-size: 11px; line-height: 1.8; }.t-command-footer { margin-top: 17px; font-size: 8px; }.t-command-footer > span:last-child { display: none; }
  .t-pending { padding: 24px 12px 17px; }.t-pending-label { font-size: 11px; }.t-pending-label span:last-child { font-size: 8px; }.t-pending > strong { font-size: 52px; margin: 23px 0; }.t-pending .t-button { padding: 8px 6px; white-space: normal; font-size: 10px !important; gap: 4px; }.t-pending .t-icon { width: 12px; }
  .t-overview-grid { grid-template-columns: 1fr; }.t-current { padding: 18px; }.t-activity-title { font-size: 21px; }.t-current .t-panel-head { margin-bottom: 14px; }.t-current-meta { font-size: 12px; }
  .t-metrics article { padding: 16px 12px; }.t-metrics .t-index { font-size: 8px; }.t-metrics strong { font-size: 31px; margin: 16px 0 10px; }.t-metrics article > span:last-child { font-size: 10px; }
  .t-group-panel, .t-bottom-grid > .t-panel { padding: 18px; }.t-panel-head { margin-bottom: 12px; padding-bottom: 13px; gap: 8px; }.t-panel-head h3 { font-size: 15px; }.t-index { font-size: 9px; }.t-label { font-size: 10px; }
  .t-team-grid { grid-template-columns: 1fr; }.t-team { grid-template-columns: 23px minmax(0,1fr) 65px 12px; padding: 14px 0; gap: 9px; }.t-team:nth-child(even) { border-left: 0; padding: 14px 0; }.t-team + .t-team { border-top: 1px solid var(--t-line); }.t-team-id .t-icon { width: 21px; height: 21px; }.t-team-main h4 { font-size: 14px; }.t-team-main p,.t-team-main small { font-size: 10px; }.t-team-progress { min-width: 0; }.t-team-progress strong { font-size: 21px; }.t-team-progress > span { font-size: 8px; }.t-team-arrow .t-icon { width: 12px; }
  .t-bottom-grid { grid-template-columns: 1fr; }.t-actions > div:last-child { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }.t-actions > div:last-child > button { grid-template-columns: 23px minmax(0,1fr); gap: 8px; min-height: 77px; }.t-actions button > .t-index { display: none; }.t-action-icon { width: 23px; height: 28px; }.t-action-icon .t-icon { width: 16px; }.t-actions button strong { font-size: 12px; }.t-actions button small { font-size: 10px; line-height: 1.6; }
  .terminal-page .operation-feed-row { grid-template-columns: 48px minmax(0,1fr) auto; gap: 8px; }.terminal-page .operation-feed-time { font-size: 9px; }.terminal-page .operation-feed-main strong { font-size: 12px; }.terminal-page .operation-feed-main strong small { display: block; margin-top: 3px; }.terminal-page .operation-feed-main span { font-size: 10px; }.terminal-page .operations-feed-rule { font-size: 11px; }
  .t-page-foot { font-size: 8px; flex-wrap: wrap; line-height: 1.8; margin-top: 18px; }
  .t-roster-heading { padding: 6px 0 18px; align-items: flex-end; }.t-roster-heading .t-index { display: none; }.t-roster-heading h2 { font-size: 28px; margin: 5px 0 8px; }.t-roster-heading p { font-size: 11px; }.t-roster-total { border: 0; padding: 0; gap: 7px; }.t-roster-total strong { font-size: 43px; }.t-roster-total span { font-size: 9px; }.t-roster-total span br { display: none; }.t-roster-total span { width: 40px; overflow-wrap: anywhere; }
  .t-roster-tools { padding: 16px; flex-wrap: wrap; gap: 12px; }.t-search { width: 100%; }
  .t-filter-row { margin: 0 16px; align-items: flex-start; flex-direction: column; gap: 0; }.t-filter-row > div { gap: 16px; }.t-filter-row button { min-height: 44px; font-size: 11px; gap: 5px; }.t-roster-result { display: none; }
  .t-roster-columns { display: none; }.t-roster-list { margin: 0 16px; }.t-person { grid-template-columns: minmax(0,1fr) 76px; gap: 6px 8px; padding: 14px 0; }.t-person-identity { grid-column: 1; grid-row: 1; gap: 11px; }.t-person-identity strong { font-size: 15px; }.t-person-identity small { font-size: 11px; margin-top: 4px; }.t-person-number { border: 1px solid var(--t-line); width: 29px; height: 34px; display: grid; place-items: center; font-size: 10px; }
  .t-person-group { grid-column: 1; grid-row: 2; padding-left: 40px; }.t-person-group > .t-mobile-label { display: none; }.t-group-tag { font-size: 10px; padding: 3px 7px; }
  .t-person-action { grid-column: 2; grid-row: 1 / 3; align-self: center; }.t-person-action .t-button { min-height: 44px; padding: 6px 0; gap: 4px; }
  .t-roster-note { padding: 16px; font-size: 10px; align-items: flex-start; }.t-roster-note > span:last-child { text-align: right; max-width: 62%; }
  .terminal-shell .mobile-nav { background: #1a1d1a; border-top: 2px solid var(--t-yellow); padding-top: 9px; }.terminal-shell .mobile-nav button { color: #a5af98; font-size: 10px; min-height: 49px; }.terminal-shell .mobile-nav button.active { color: var(--t-yellow); }.terminal-shell .mobile-nav button > span { display: grid; place-items: center; margin-bottom: 5px; }.terminal-shell .mobile-nav .t-icon { width: 18px; height: 18px; }
}
@media (max-width: 360px) { .terminal-shell .main { padding-inline: 12px; }.t-command { grid-template-columns: minmax(0,1fr) 94px; }.t-command h2 { font-size: 21px; }.t-command-copy { padding-inline: 14px; }.t-roster-total span { display: none; } }
@media (min-width: 681px) and (max-width: 900px) {
  .terminal-shell .topbar { flex-wrap: wrap; gap: 14px; }
  .terminal-shell .top-actions { width: 100%; gap: 12px; justify-content: flex-end; }
  .terminal-shell .department-context { white-space: nowrap; margin-right: auto; padding-left: 0; border-left: 0; }
  .terminal-shell .role-switch { white-space: nowrap; flex-shrink: 0; }
  .t-command { grid-template-columns: minmax(0,1fr) 170px; }
  .t-command-copy { padding-inline: 22px; }.t-pending { padding-inline: 18px; }
  .t-roster-columns, .t-person { grid-template-columns: minmax(0,1fr) 80px 100px; }
  .t-person-identity { gap: 9px; }.t-person-identity small > span { display: none; }
  .t-bottom-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) { .terminal-page { animation: terminal-appear .22s ease both; } }
@keyframes terminal-appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
