/* Briefs and entry cards share type and controls, with distinct page compositions. */
.t-brief-cover { display: grid; grid-template-columns: minmax(0,1fr) 25%; min-height: 280px; background: var(--t-paper); border-top: 3px solid var(--t-ink); margin-top: 5px; }
.t-brief-copy { padding: 32px 36px; min-width: 0; }
.t-brief h2 { font-size: clamp(32px,3.5vw,52px); line-height: 1.25; margin: 25px 0 22px; font-weight: 800; overflow-wrap: anywhere; }
.t-brief-copy > p { font-size: 15px; color: #58634f; display: flex; flex-wrap: wrap; gap: 10px; line-height: 1.8; margin: 0; }
.t-brief-copy > p > span { color: #a7b096; }
.t-brief-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 26px; }
.t-brief-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #4b633a; margin-right: 8px; }
.t-brief-status::before { content: ""; width: 6px; height: 6px; background: currentColor; }
.t-brief-actions .t-button { font-size: 13px !important; }
.t-brief-date { display: flex; flex-direction: column; justify-content: center; padding: 30px; background: var(--t-ink); color: #c6d0ba; gap: 17px; min-width: 0; }
.t-brief-date > span:first-child { font: 10px var(--t-mono); letter-spacing: .08em; }
.t-brief-date strong { font: 106px/.95 var(--t-mono); letter-spacing: -.08em; color: var(--t-yellow); }
.t-brief-date > span { font-size: 14px; }
.t-brief-date small { font: 9px var(--t-mono); color: #9aa88a; border-top: 1px solid #414b37; padding-top: 16px; margin-top: 9px; }
.t-brief-stats { display: flex; border-bottom: 1px solid #a7b298; padding-block: 24px; margin-bottom: 25px; }
.t-brief-stats article { flex: 1; min-width: 0; padding-inline: 25px; border-left: 1px solid var(--t-line); display: flex; flex-direction: column; gap: 11px; }
.t-brief-stats article:first-child { border: 0; padding-left: 0; }
.t-brief-stats span { color: #59664e; font-size: 14px; }
.t-brief-stats strong { font: 38px/1.2 var(--t-mono); }
.t-brief h3 { font-size: 23px; margin: 8px 0 20px; }
.t-brief-description, .t-brief-records, .t-brief-groups, .t-brief-scope { padding: 27px 30px; }
.t-brief-description > p { font-size: 16px; line-height: 1.9; margin: 0 0 18px; white-space: pre-wrap; overflow-wrap: anywhere; }
.t-brief-description > small { font-size: 14px; line-height: 1.8; color: #5e6b52; }
.t-brief-body { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 20px; margin-top: 23px; }
.t-brief-record { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 22px; padding-block: 23px; border-top: 1px solid var(--t-line); }
.t-brief-record h4 { font-size: 18px; margin: 0 0 10px; }
.t-brief-record p { font-size: 14px; line-height: 1.8; color: #56644b; margin: 0; overflow-wrap: anywhere; }
.t-brief-record .t-brief-note { margin-top: 12px; }
.t-brief-record > div:last-child { text-align: right; display: flex; flex-direction: column; gap: 10px; }
.t-brief-record strong { font: 30px var(--t-mono); }
.t-brief-record > div:last-child > span { font-size: 12px; color: #5a6b4a; }
.t-brief-group { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--t-line); padding-block: 23px; }
.t-brief-group strong { font-size: 17px; }.t-brief-group span { font-size: 14px; color: #59664f; }
.t-brief-empty { font-size: 15px; line-height: 1.9; color: #59664e; }
.t-brief-scope { margin-top: 23px; }
.t-brief-participants { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.t-brief-participants label { display: flex; align-items: center; gap: 13px; min-height: 74px; padding: 13px; border: 1px solid var(--t-line); cursor: pointer; }
.t-brief-participants label:has(input:checked) { background: #e9edcf; border-color: #8c9c60; }
.t-brief-participants input { accent-color: #637c42; width: 22px; height: 22px; flex-shrink: 0; }
.t-brief-participants strong, .t-brief-participants small { display: block; font-size: 15px; }.t-brief-participants small { font-size: 13px; color: #647254; margin-top: 7px; }
.t-brief-save { margin-top: 24px; display: flex; justify-content: flex-end; }.t-brief-names { display: flex; flex-wrap: wrap; gap: 12px; }.t-brief-names > span { font-size: 15px; padding: 13px 18px; background: #e6ebdc; }
.t-entry-heading { display: grid; grid-template-columns: minmax(0,1fr) 26%; border-top: 3px solid var(--t-ink); background: var(--t-paper); margin-top: 5px; }
.t-entry-heading > div:first-child { padding: 29px 36px; }
.t-entry-heading h2 { font-size: clamp(36px,3.6vw,54px); font-weight: 800; line-height: 1.2; letter-spacing: -.025em; margin: 23px 0 20px; }
.t-entry-heading .t-square { color: #829445; }.t-entry-heading p { font-size: 16px; color: #556249; line-height: 1.7; margin: 0; }
.t-entry-count { padding: 30px; display: flex; flex-direction: column; justify-content: center; gap: 18px; color: var(--t-ink); background: var(--t-yellow); min-width: 0; }
.t-entry-count > span { font-size: 14px; }.t-entry-count strong { font: 100px/1 var(--t-mono); letter-spacing: -.08em; }.t-entry-count small { font-size: 14px; }
.t-entry-guidance { padding-block: 25px; border-bottom: 1px solid #a5af97; margin-bottom: 24px; }.t-entry-guidance strong { font-size: 16px; }.t-entry-guidance p { font-size: 14px; color: #59674c; line-height: 1.9; margin: 11px 0 0; }
.t-entry-list { display: grid; gap: 20px; }
.t-entry-card { padding: 25px 28px; background: var(--t-paper); border: 1px solid var(--t-line); border-left: 4px solid #9eae7c; min-width: 0; }
.t-entry-person { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 16px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--t-line); }
.t-entry-person > .t-index { color: #778665; font-size: 12px; }.t-entry-person h3 { font-size: 23px; margin: 0 0 7px; }.t-entry-person p { margin: 0; font-size: 14px; color: #617052; }
.t-entry-total { display: flex; align-items: center; gap: 22px; }.t-entry-total > span { font-size: 14px; color: #5b6a4e; }.t-entry-total strong { font: 40px var(--t-mono); }
.t-entry-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(240px,1fr); gap: 22px; align-items: end; padding-top: 23px; }
.t-entry-fields label, .t-entry-note { display: flex; flex-direction: column; gap: 10px; min-width: 0; font-size: 14px; color: #46543b; }
.t-entry .select, .t-entry .input { width: 100%; min-width: 0; min-height: 48px; border-radius: 0; border: 1px solid #b8c1aa; background: #fafbf5; color: var(--t-ink); font-size: 15px; padding: 12px; }
.t-entry select:disabled { color: #58644c; background: #e4e7de; opacity: 1; }.t-entry :is(select,input):focus-visible, .t-brief input:focus-visible { outline: 2px solid #607f40; outline-offset: 3px; }
.t-entry-equation { display: flex; align-items: center; justify-content: space-around; gap: 12px; min-height: 48px; background: #e8eddf; padding: 8px 14px; font-size: 13px; color: #536448; }
.t-entry-equation b { font: 21px var(--t-mono); margin-left: 8px; color: var(--t-ink); }.t-entry-equation i { font-style: normal; color: #8b977c; }
.t-entry-note { margin-top: 21px; }.t-entry-note small { font-size: 12px; color: #6b795d; margin-left: 8px; }.t-entry-zero { font-size: 14px; color: #59684c; margin: 17px 0 0; }
.t-entry-submit { margin-top: 26px; padding: 24px; background: var(--t-ink); color: #e5eadc; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.t-entry-submit p { font-size: 14px; line-height: 1.8; margin: 0; }.t-entry-submit > div { display: flex; flex-shrink: 0; gap: 12px; }.t-entry-submit .t-button:not(.t-primary) { color: #e4ebdb; border-color: #657255; }.t-entry-submit .t-button { font-size: 13px !important; }.t-entry-submit button:disabled { opacity: .45; cursor: not-allowed; }
@media (min-width: 681px) and (max-width: 1150px) {
  .t-brief-cover { grid-template-columns: minmax(0,1fr) 30%; }.t-brief-copy { padding: 27px 25px; }.t-brief h2 { font-size: 36px; }.t-brief-date { padding: 25px; }.t-brief-date strong { font-size: 80px; }.t-brief-date small { font-size: 8px; }
  .t-brief-body { grid-template-columns: minmax(0,1fr); }.t-brief-stats article { padding-inline: 15px; }.t-brief-stats span { font-size: 13px; }.t-brief-stats strong { font-size: 32px; }.t-brief-participants { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .t-entry-heading { grid-template-columns: minmax(0,1fr) 31%; }.t-entry-heading > div:first-child { padding-inline: 25px; }.t-entry-heading h2 { font-size: 38px; }.t-entry-count { padding: 25px; }.t-entry-count strong { font-size: 80px; }
  .t-entry-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }.t-entry-equation { grid-column: 1 / -1; justify-content: flex-start; gap: 30px; }.t-entry-submit { flex-wrap: wrap; }.t-entry-submit > div { margin-left: auto; }
}
@media (max-width: 680px) {
  .t-brief-cover, .t-entry-heading { grid-template-columns: minmax(0,1fr); margin-top: 3px; }
  .t-brief-copy { padding: 25px 24px; }.t-brief h2 { font-size: 32px; margin-block: 22px 18px; }.t-brief-copy > p { font-size: 14px; gap: 7px; }.t-brief-actions { gap: 8px; margin-top: 23px; }.t-brief-actions .t-button { font-size: 12px !important; gap: 9px; padding-inline: 10px; }.t-brief-status { font-size: 13px; }
  .t-brief-date { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 8px 20px; padding: 20px 24px; }.t-brief-date strong { grid-column: 1; grid-row: 1 / 3; font-size: 68px; }.t-brief-date > span:first-child { grid-column: 2; grid-row: 1; align-self: end; }.t-brief-date > span:nth-child(3) { grid-column: 2; grid-row: 2; align-self: start; font-size: 14px; }.t-brief-date small { display: none; }
  .t-brief-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; padding-block: 23px; margin-bottom: 20px; }.t-brief-stats article { padding: 0 0 0 14px; }.t-brief-stats article:nth-child(odd) { padding-left: 0; border: 0; }.t-brief-stats span { font-size: 13px; }.t-brief-stats strong { font-size: 33px; }
  .t-brief h3 { font-size: 21px; }.t-brief-description, .t-brief-records, .t-brief-groups, .t-brief-scope { padding: 23px 20px; }.t-brief-description > p { font-size: 15px; }.t-brief-description > small { font-size: 14px; }.t-brief-body { grid-template-columns: minmax(0,1fr); margin-top: 20px; }.t-brief-record { gap: 15px; }.t-brief-record h4 { font-size: 18px; }.t-brief-record p { font-size: 14px; }.t-brief-record strong { font-size: 28px; }.t-brief-record > div:last-child > span { max-width: 76px; line-height: 1.8; }
  .t-brief-participants { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }.t-brief-participants label { padding: 10px; gap: 9px; }.t-brief-participants strong { font-size: 14px; }.t-brief-participants small { font-size: 12px; }.t-brief-participants input { width: 20px; height: 20px; }
  .t-entry-heading > div:first-child { padding: 25px 24px; }.t-entry-heading h2 { font-size: 37px; margin-block: 23px 18px; }.t-entry-heading p { font-size: 15px; }.t-entry-count { display: grid; grid-template-columns: minmax(0,1fr) auto; padding: 20px 24px; gap: 10px; align-items: center; }.t-entry-count > span { grid-column: 1; grid-row: 1; align-self: end; }.t-entry-count strong { font-size: 64px; grid-column: 2; grid-row: 1 / 3; }.t-entry-count small { grid-column: 1; grid-row: 2; align-self: start; }
  .t-entry-guidance { padding-block: 22px; }.t-entry-guidance strong { font-size: 15px; }.t-entry-guidance p { font-size: 14px; }
  .t-entry-card { padding: 22px 19px; border-left-width: 3px; }.t-entry-person { grid-template-columns: 20px minmax(0,1fr) auto; gap: 11px; padding-bottom: 20px; }.t-entry-person > .t-index { font-size: 11px; }.t-entry-person h3 { font-size: 21px; }.t-entry-person p { font-size: 13px; }.t-entry-total { flex-direction: column; align-items: flex-end; gap: 6px; }.t-entry-total > span { font-size: 12px; }.t-entry-total strong { font-size: 34px; }
  .t-entry-fields { grid-template-columns: minmax(0,1fr); gap: 18px; padding-top: 20px; }.t-entry-fields label { font-size: 14px; }.t-entry .select, .t-entry .input { font-size: 16px; }.t-entry-equation { justify-content: space-between; font-size: 13px; padding: 12px; }.t-entry-equation b { font-size: 21px; }.t-entry-note { margin-top: 18px; }.t-entry-zero { font-size: 14px; line-height: 1.8; }
  .t-entry-submit { padding: 22px 20px; margin-top: 22px; flex-direction: column; align-items: stretch; gap: 19px; }.t-entry-submit p { font-size: 14px; }.t-entry-submit > div { flex-wrap: wrap; gap: 10px; }.t-entry-submit .t-button { flex: 1 1 100%; min-height: 48px; font-size: 14px !important; }
}
@media (max-width: 360px) {
  .t-brief-copy, .t-entry-heading > div:first-child { padding-inline: 20px; }.t-brief h2 { font-size: 28px; }.t-entry-heading h2 { font-size: 32px; }.t-entry-card { padding-inline: 15px; }.t-entry-person { grid-template-columns: minmax(0,1fr) auto; }.t-entry-person > .t-index { display: none; }.t-entry-equation { gap: 7px; padding-inline: 10px; font-size: 12px; }.t-entry-equation b { font-size: 19px; margin-left: 6px; }.t-brief-participants { grid-template-columns: minmax(0,1fr); }
}

/* Shared score-entry folds: keep the roster compact and work next to the existing form. */
.t-entry-card>.t-entry-person{cursor:pointer;list-style:none;padding-bottom:0;border-bottom:0;min-height:44px}
.t-entry-card>.t-entry-person::-webkit-details-marker{display:none}
.t-entry-card>.t-entry-person:focus-visible{outline:2px solid #486343;outline-offset:8px}
.t-entry-card[open]>.t-entry-person{padding-bottom:20px;border-bottom:1px solid var(--t-line)}
.t-entry-person h3,.t-entry-person p{overflow-wrap:anywhere}
.t-entry-fold-hint{display:flex;align-items:center;gap:12px;color:#607052;font-size:12px}
.t-entry-fold-hint>span:before{content:'展开工作与计分'}
.t-entry-card[open]>.t-entry-person .t-entry-fold-hint>span:before{content:'收起详情'}
.t-entry-fold-hint i{display:block;width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);flex-shrink:0;margin:0 3px 4px}
.t-entry-card[open]>.t-entry-person .t-entry-fold-hint i{transform:rotate(225deg);margin-top:6px}
.t-entry-body{padding-top:20px;min-width:0}
.t-entry-body>.t-entry-total{justify-content:flex-end;padding-top:18px}
.t-entry-work h4{font-size:16px;margin:0 0 8px}
.t-entry-work-note,.t-entry-work-empty{color:#66735e;font-size:13px;line-height:1.7;margin:8px 0 14px;overflow-wrap:anywhere}
.t-entry-work-empty{padding:14px;background:#f0f2ea}
.t-entry-work-list{display:grid;gap:9px;margin-top:14px}
.t-entry-work-item{display:grid;grid-template-columns:145px minmax(0,1fr) auto;align-items:center;gap:14px;border:1px solid var(--t-line);background:#f2f5eb;padding:14px;min-width:0}
.t-entry-work-date{display:flex;flex-direction:column;gap:5px;font-size:13px;color:#4a5a40}
.t-entry-work-date small{font-size:12px;color:#67745e}
.t-entry-task-title{font-size:15px;line-height:1.6;overflow-wrap:anywhere}
.t-entry-duty{display:inline-block;justify-self:start;background:#e4ef9b;color:#2d3c24;font-size:13px;font-weight:700;line-height:1.5;padding:4px 8px;overflow-wrap:anywhere;max-width:100%}
.t-entry-work-note .t-button{margin-left:8px;min-height:44px}
@media(max-width:680px){.t-entry-fold-hint>span{display:none}.t-entry-fold-hint{padding-right:4px}.t-entry-work-item{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px}.t-entry-work-date{flex-direction:row;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.t-entry-body>.t-entry-total{flex-direction:row;align-items:center;gap:16px}.t-entry-body{padding-top:16px}}
