/* One terminal system, two distinct layouts: calendar and verification queue. */
.op-kind-switch { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:22px 0 8px; }
.op-kind-choice { min-width:0; min-height:112px; padding:18px 22px; border:1px solid var(--t-line,#b6beaa); border-radius:0; background:var(--t-paper,#f5f5f0); color:var(--t-ink,#18271f); text-align:left; display:flex; flex-direction:column; gap:9px; transition:background .16s,color .16s; }
.op-kind-choice .op-kind-title { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:22px; font-weight:700; }
.op-kind-choice .op-kind-title b { font:26px/1 var(--t-mono,monospace); }
.op-kind-choice small { color:var(--t-muted,#64705c); font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.op-kind-choice.is-active { background:#203a2e; color:#f2f5eb; border-color:#203a2e; box-shadow:inset 4px 0 #d7f36a; }
.op-kind-choice.is-active .t-index,.op-kind-choice.is-active .op-kind-title b { color:#d7f36a; }
.op-kind-choice.is-active small { color:#d2dace; }
.op-kind-choice:focus-visible { outline:2px solid #526848; outline-offset:3px; }
.op-kind-choice:disabled { opacity:.45; cursor:not-allowed; }
.op-compose-switch { margin-bottom:22px; }
.t-compose [data-activity-only][hidden] { display:none; }
@media(max-width:680px) {
  .op-kind-switch { gap:8px; margin-top:16px; }
  .op-kind-choice { padding:14px 12px; min-height:122px; }
  .op-kind-choice .op-kind-title { font-size:19px; }
  .op-kind-choice .op-kind-title b { font-size:22px; }
  .op-kind-choice .t-index { font-size:10px; letter-spacing:.04em; }
  .op-kind-choice small { font-size:11px; }
}
.t-schedule-heading { display: grid; grid-template-columns: minmax(0,1fr) 240px; align-items: center; gap: 32px; padding: 23px 0 34px; }
.t-schedule-heading h2, .t-review-heading h2 { font-size: clamp(27px,2.5vw,36px); line-height: 1.5; letter-spacing: .025em; margin: 12px 0 13px; }
.t-schedule-heading h2 .t-square { color: #7d8e62; }
.t-schedule-heading p, .t-review-heading p { font-size: 13px; color: var(--t-muted); margin: 0; }
.t-schedule-index { border-left: 1px solid #a9b19d; padding-left: 28px; }
.t-schedule-index > div { display: flex; align-items: center; gap: 20px; margin: 12px 0 18px; }
.t-schedule-index strong { font: 58px/1 var(--t-mono); letter-spacing: -.08em; }
.t-schedule-index > div > span { color: var(--t-muted); font-size: 12px; line-height: 1.9; }
.t-schedule-index b { font: 13px var(--t-mono); color: var(--t-ink); }
.t-schedule-index .t-button { width: 100%; }
.t-schedule-content { border-top: 2px solid var(--t-ink); }
.t-flow-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 22px 0 26px; }
.t-flow-tools .t-search { flex: 1 1 220px; min-width: 0; }
.t-flow-tools .t-flow-select select { max-width: min(260px,calc(100vw - 120px)); text-overflow: ellipsis; }
@media (max-width:680px) {
  .t-flow-tools > .t-flow-select:has(#terminalActivityType) { grid-column:1 / -1; min-width:0; }
  .t-flow-tools #terminalActivityType { flex:1; min-width:0; max-width:none; width:0; }
  .t-flow-tools > .t-activity-result { grid-column:2; grid-row:2; }
}
.t-flow-select { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--t-muted); white-space: nowrap; }
.t-flow-select select { border: 1px solid var(--t-line); padding: 9px 10px; min-height: 44px; background: var(--t-paper); border-radius: 0; color: var(--t-ink); font-size: 12px; min-width: 116px; }
.t-flow-select select:focus-visible { outline: 2px solid #526848; outline-offset: 3px; }
.t-activity-result { margin-left: auto; color: var(--t-muted); font: 11px var(--t-mono); }
.t-schedule-list { position: relative; }
.t-schedule-list::before { content: ""; position: absolute; top: 10px; bottom: 40px; left: 98px; width: 1px; background: #b6beaa; }
.t-schedule-item { position: relative; display: grid; grid-template-columns: 76px minmax(0,1fr); gap: 48px; padding: 0 0 22px; }
.t-schedule-item[hidden] { display: none; }
.t-date-block { display: flex; flex-direction: column; align-items: center; padding-top: 20px; }
.t-date-block > span { font: 11px var(--t-mono); color: var(--t-muted); }
.t-date-block strong { font: 50px/1.15 var(--t-mono); letter-spacing: -.07em; margin: 7px 0 3px; }
.t-date-block small { font: 11px var(--t-mono); color: #818b76; }
.t-schedule-card { position: relative; padding: 23px 26px; background: var(--t-paper); border: 1px solid var(--t-line); }
.t-schedule-card::before { content: ""; position: absolute; top: 34px; left: -30px; width: 7px; height: 7px; background: var(--t-bg); border: 1px solid #7d8c6b; }
.t-schedule-item:first-child .t-schedule-card::before { background: #7d8c6b; }
.t-schedule-item:first-child .t-schedule-card { border-top: 3px solid #6d7f55; padding-top: 21px; }
.t-schedule-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.t-flow-status { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; color: var(--t-muted); font-size: 11px; }
.t-flow-status::before { content: ""; width: 4px; height: 4px; border: 1px solid currentColor; }
.t-flow-status.is-published { color: #526b43; }.t-flow-status.is-published::before { background: currentColor; }
.t-flow-status.is-draft { color: #98752f; }
.t-schedule-card h3 { font-size: 23px; line-height: 1.5; margin: 16px 0 8px; overflow-wrap: anywhere; }
.t-schedule-card p { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--t-muted); margin: 0; }
.t-schedule-card p i { width: 1px; height: 10px; background: #bdc5b2; }
.t-schedule-card-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 15px; margin-top: 23px; padding-top: 16px; border-top: 1px solid var(--t-line); }
.t-schedule-counts { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 11px; color: var(--t-muted); }
.t-schedule-counts b { color: var(--t-ink); font: 13px var(--t-mono); padding-inline: 3px; }
.t-schedule-counts .t-attention { color: #8b6829; }
.t-flow-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.t-schedule-order { position: absolute; top: 12px; right: -12px; padding: 2px 4px; color: #87917a; background: var(--t-bg); font: 9px var(--t-mono); }
.t-flow-empty { padding: 55px 24px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.t-flow-empty h3 { font-size: 21px; margin: 0; font-weight: 600; }.t-flow-empty p { font-size: 13px; color: var(--t-muted); margin: 0; line-height: 1.8; }.t-flow-empty .t-button { margin-top: 10px; }
/* Review: one restrained status rail, explicit score components. */
.t-review-heading { position: relative; display: grid; grid-template-columns: minmax(0,1fr) 185px; align-items: center; gap: 30px; min-height: 218px; padding: 28px 32px; background: #272c24; color: #f1f4e9; border-left: 4px solid #c5cd83; }
.t-review-heading .t-index { color: #a2ae96; }.t-review-heading p { color: #b2bca8; }.t-review-heading h2 { margin: 9px 0 10px; font-size: 30px; }
.t-review-counter { padding-left: 28px; border-left: 1px solid #505b44; display: flex; flex-direction: column; }
.t-review-counter > span { color: #c3cbb9; font-size: 12px; }.t-review-counter strong { color: #e8efb0; font: 66px/1.2 var(--t-mono); letter-spacing: -.06em; margin: 5px 0; }.t-review-counter small { color: #a5b196; font-size: 11px; }
.t-review-guidance { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0 24px; }.t-review-guidance > div { display: flex; align-items: flex-start; gap: 10px; }.t-guidance-mark { width: 17px; height: 17px; border: 1px solid #8c987c; display: grid; place-items: center; margin-top: 2px; color: #6f7c60; font: 10px var(--t-mono); }.t-review-guidance p { font-size: 12px; line-height: 1.7; color: #56634b; margin: 0; }.t-review-guidance small { display: block; color: var(--t-muted); font-size: 11px; margin-top: 3px; }
.t-review-groups { display: grid; gap: 18px; }.t-review-group { border-left: 3px solid #b3bd9c; }.t-review-group[open] { border-left-color: #768558; }
.t-review-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 25px; min-height: 92px; }.t-review-group > summary::-webkit-details-marker { display: none; }.t-review-group > summary:hover { background: #edf0e5; }
.t-review-group-number { font: 22px var(--t-mono); color: #9ca58f; }.t-review-group-title { min-width: 0; flex: 1; }.t-review-group-title strong { display: block; font-size: 16px; }.t-review-group-title small { display: block; font: 10px var(--t-mono); color: var(--t-muted); margin-top: 5px; }.t-review-group-state { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #927334; white-space: nowrap; }.t-review-group-state i { width: 5px; height: 5px; background: #ab8e4f; }.t-review-chevron { width: 24px; height: 24px; display: grid; place-items: center; color: #71805d; font: 18px var(--t-mono); }.t-review-group[open] .t-review-chevron { transform: rotate(45deg); }
.t-review-group-body { padding: 0 25px; }.t-review-columns, .t-review-record { display: grid; grid-template-columns: minmax(170px,1.2fr) minmax(155px,1fr) 80px 190px; align-items: center; gap: 18px; }
.t-review-columns { font-size: 11px; color: var(--t-muted); padding: 12px 0; border-block: 1px solid var(--t-line); }.t-review-columns > span:last-child { text-align: right; }
.t-review-record { padding: 23px 0; border-bottom: 1px solid var(--t-line); }.t-review-record-main { min-width: 0; }.t-review-record-main h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 13px; font-size: 15px; margin: 0 0 7px; }.t-review-record-main h3 span { color: #68775a; font-size: 10px; font-weight: 400; }.t-review-record-main > small { color: #78816d; font: 10px/1.6 var(--t-mono); }.t-review-note { margin: 7px 0 0; font-size: 11px; color: var(--t-muted); line-height: 1.7; overflow-wrap: anywhere; }
.t-score-equation { display: flex; align-items: center; gap: 13px; }.t-score-equation > div { display: grid; gap: 8px; min-width: 45px; }.t-score-equation > div span { font-size: 10px; color: var(--t-muted); }.t-score-equation strong { font: 23px var(--t-mono); color: #536445; }.t-score-equation > b { font: 11px var(--t-mono); font-weight: 400; color: #9ba48d; }.t-score-equation .t-equals { margin-left: auto; }
.t-review-total strong { display: block; font: 31px var(--t-mono); }.t-review-total span { display: none; }
.t-review-record-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }.t-review-record-actions .t-button { padding-inline: 9px; min-height: 38px; font-size: 11px !important; gap: 7px; }.t-review-record-actions .t-icon { width: 13px; }.t-reject-button { color: #96614e; border-color: #d4c8bd; }
.t-review-group-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 66px; }.t-review-group-foot > span { color: #7a856d; font-size: 10px; }.t-review-group-foot .t-button { font-size: 11px !important; border: 0; }
.t-review-complete { min-height: 300px; padding-block: 43px; }.t-complete-icon { width: 46px; height: 46px; background: #e5eadb; color: #70835b; display: grid; place-items: center; margin-bottom: 4px; }.t-complete-icon .t-icon { width: 25px; height: 25px; }
@media (min-width: 681px) and (max-width: 1150px) {
  .t-schedule-heading { grid-template-columns: minmax(0,1fr) 195px; gap: 22px; }.t-schedule-index { padding-left: 20px; }.t-flow-tools { flex-wrap: wrap; }.t-flow-tools .t-search { width: min(300px,100%); }
  .t-review-columns, .t-review-record { grid-template-columns: minmax(150px,1fr) minmax(135px,1fr) 60px; gap: 12px; }.t-review-columns > span:last-child { display: none; }.t-review-record-actions { grid-column: 1 / -1; justify-content: flex-end; }.t-review-heading { grid-template-columns: minmax(0,1fr) 130px; gap: 20px; padding-inline: 24px; }.t-review-heading h2 { font-size: 26px; }.t-review-counter { padding-left: 20px; }
}
@media (max-width: 680px) {
  .t-schedule-heading { grid-template-columns: minmax(0,1fr) 105px; gap: 16px; padding: 10px 0 24px; }.t-schedule-heading .t-index { font-size: 8px; }.t-schedule-heading h2 { font-size: 24px; line-height: 1.5; margin: 10px 0; letter-spacing: 0; }.t-schedule-heading p { font-size: 11px; line-height: 1.8; }.t-schedule-index { padding-left: 13px; }.t-schedule-index > div { flex-direction: column; align-items: flex-start; gap: 8px; margin: 10px 0 12px; }.t-schedule-index strong { font-size: 42px; }.t-schedule-index > div > span { font-size: 10px; }.t-schedule-index .t-button { padding: 9px 7px; gap: 5px; font-size: 10px !important; }.t-schedule-index .t-icon { width: 12px; }
  .t-flow-tools { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 17px 0 22px; }.t-flow-tools .t-search { width: 100%; grid-column: 1 / -1; }.t-flow-select { gap: 10px; }.t-flow-select select { min-width: 127px; }.t-activity-result { font-size: 10px; }
  .t-schedule-list::before { left: 44px; }.t-schedule-item { grid-template-columns: 34px minmax(0,1fr); gap: 24px; padding-bottom: 15px; }.t-date-block { padding-top: 20px; }.t-date-block > span { font-size: 9px; }.t-date-block strong { font-size: 30px; margin-block: 6px 4px; }.t-date-block small { font-size: 8px; }.t-schedule-card { padding: 17px 15px; }.t-schedule-item:first-child .t-schedule-card { padding-top: 15px; }.t-schedule-card::before { width: 5px; height: 5px; left: -18px; top: 28px; }.t-schedule-order { display: none; }.t-schedule-card-top { align-items: flex-start; gap: 6px; }.t-schedule-card-top .t-index { font-size: 8px; line-height: 1.8; }.t-flow-status { font-size: 10px; gap: 5px; }.t-schedule-card h3 { font-size: 19px; margin: 12px 0 8px; }.t-schedule-card p { font-size: 11px; gap: 6px 9px; }.t-schedule-card-bottom { margin-top: 16px; padding-top: 13px; gap: 12px; }.t-schedule-counts { gap: 6px 11px; font-size: 10px; }.t-schedule-counts b { font-size: 12px; }.t-flow-actions { width: 100%; gap: 7px; }.t-flow-actions .t-button { flex: 1; min-width: 0; gap: 5px; padding: 9px 7px; font-size: 10px !important; }.t-flow-actions .t-icon { width: 12px; }
  .t-flow-empty { padding: 35px 18px; }.t-flow-empty h3 { font-size: 18px; }.t-flow-empty p { font-size: 12px; }
  .t-review-heading { grid-template-columns: minmax(0,1fr) 82px; gap: 12px; min-height: 198px; padding: 22px 17px; border-left-width: 3px; }.t-review-heading .t-index { font-size: 8px; letter-spacing: 0; }.t-review-heading h2 { font-size: 21px; line-height: 1.5; letter-spacing: 0; margin-block: 12px 10px; }.t-review-heading p { font-size: 11px; line-height: 1.8; }.t-review-counter { padding-left: 13px; }.t-review-counter > span { font-size: 10px; }.t-review-counter strong { font-size: 43px; margin-block: 15px; }.t-review-counter small { font-size: 9px; line-height: 1.8; }
  .t-review-guidance { padding: 17px 0 20px; flex-wrap: wrap; gap: 12px; }.t-review-guidance p { font-size: 11px; }.t-review-guidance small { font-size: 10px; }.t-review-guidance > .t-button { margin-left: auto; font-size: 11px !important; }
  .t-review-group > summary { gap: 10px; padding: 17px 14px; min-height: 82px; }.t-review-group-number { font-size: 17px; }.t-review-group-title strong { font-size: 14px; line-height: 1.6; }.t-review-group-title small { font-size: 9px; line-height: 1.7; }.t-review-group-state { font-size: 10px; gap: 5px; }.t-review-chevron { width: 14px; font-size: 15px; }.t-review-group-body { padding-inline: 14px; }.t-review-columns { display: none; }
  .t-review-record { grid-template-columns: minmax(0,1fr) 62px; gap: 15px 12px; padding: 20px 0; }.t-review-record-main { grid-column: 1 / -1; }.t-review-record-main h3 { font-size: 15px; }.t-review-record-main > small { font-size: 10px; }.t-review-note { font-size: 11px; }
  .t-score-equation { gap: 13px; padding: 11px 0; border-top: 1px solid #dce0d2; border-bottom: 1px solid #dce0d2; min-height: 78px; }.t-score-equation > div { min-width: 40px; gap: 7px; }.t-score-equation > div span { font-size: 10px; }.t-score-equation strong { font-size: 23px; }.t-review-total { text-align: right; align-self: center; }.t-review-total strong { font-size: 31px; }.t-review-total span { display: block; font-size: 9px; color: var(--t-muted); }
  .t-review-record-actions { grid-column: 1 / -1; justify-content: stretch; gap: 8px; }.t-review-record-actions .t-button { min-height: 44px; justify-content: center; flex: 1; padding: 9px; font-size: 12px !important; }.t-review-record-actions .t-button.t-primary { flex: 1.4; justify-content: space-between; }.t-review-group-foot { flex-wrap: wrap; padding-block: 12px; min-height: 62px; }.t-review-group-foot > span { font-size: 9px; }.t-review-group-foot .t-button { min-height: 44px; padding: 9px 0; font-size: 10px !important; }
}
@media (max-width: 360px) { .t-schedule-heading h2 { font-size: 21px; }.t-review-heading h2 { font-size: 18px; }.t-schedule-heading { grid-template-columns: minmax(0,1fr) 94px; gap: 12px; }.t-schedule-item { grid-template-columns: 30px minmax(0,1fr); gap: 20px; }.t-schedule-list::before { left: 38px; }.t-schedule-card::before { left: -15px; }.t-schedule-card { padding-inline: 12px; }.t-schedule-card h3 { font-size: 17px; }.t-review-heading { grid-template-columns: minmax(0,1fr) 74px; gap: 10px; padding-inline: 14px; } }
