.team-sketch, .team-sketch * { box-sizing: border-box; min-width: 0; }
.first-fix-sketch-entrance { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 13px; font-size: .76rem; font-weight: 750; }
.first-fix .first-fix-sketch-entrance button { min-height: 40px; padding: 7px 10px; border-color: #315943; color: #315943; background: #e5eedf; font-size: .72rem; }
.team-sketch[hidden], .team-sketch [hidden] { display: none !important; }
.team-sketch {
  grid-column: 1 / -1;
  width: min(100%, 1230px);
  margin: 22px auto 32px;
  border: 2px solid #263d34;
  border-radius: 13px;
  color: #263d34;
  background: #f5f1e6;
  box-shadow: 8px 9px 0 #d1c7ae;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-margin-top: 16px;
}
.team-sketch :is(p,h2,h3,dd,strong) { overflow-wrap: anywhere; }
.team-sketch :is(button,a,summary,textarea,input,#own-task-risk-title,#own-task-risk-card-title,#own-task-check-in-title):focus-visible, .team-sketch:focus-visible { outline: 3px solid #087d9a; outline-offset: 3px; }
.opening-saved-task { display: grid; gap: 7px; padding: 17px clamp(20px, 3vw, 30px); border-bottom: 2px solid #263d34; background: #e3eddc; }
.opening-saved-task > span { color: #315943; font: 850 .64rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .07em; }
.opening-saved-task p { margin: 0; overflow-wrap: anywhere; }
.opening-saved-task #opening-saved-task-text { max-width: 70ch; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 850; line-height: 1.3; }
.opening-saved-task #opening-saved-task-summary { font-size: .8rem; font-weight: 800; line-height: 1.45; }
.opening-saved-task #opening-saved-task-next { font-size: .8rem; line-height: 1.45; }
#own-task-check-in-title { scroll-margin-top: 18px; }
.opening-saved-task button { justify-self: start; min-height: 42px; margin-top: 3px; padding: 8px 13px; border: 2px solid #315943; border-radius: 5px; color: #fffaf0; background: #315943; font: 800 .76rem/1.3 Inter, ui-sans-serif, sans-serif; }
.team-sketch button, .team-sketch a { cursor: pointer; }
.team-sketch-head { display: flex; justify-content: space-between; gap: 20px; padding: clamp(22px, 3vw, 34px); color: #fff9eb; background: #263d34; }
.team-sketch-kicker, .team-sketch-result-top span:first-child, .team-sketch-inquiry > div:first-child > span {
  margin: 0 0 9px; font: 850 .65rem/1.35 ui-monospace, Menlo, monospace; letter-spacing: .075em;
}
.team-sketch-head h2 { max-width: 18ch; margin: 0; font-size: clamp(2.15rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.06em; }
.team-sketch-head p:last-child { max-width: 65ch; margin: 12px 0 0; font-size: .88rem; line-height: 1.55; }
.team-sketch-head-mark { flex: none; align-self: start; display: grid; place-items: center; width: 86px; height: 86px; border: 2px dashed #f4c981; border-radius: 50%; color: #f4c981; font: 900 .65rem/1.2 ui-monospace, Menlo, monospace; text-align: center; transform: rotate(10deg); }
.team-sketch-inputs { display: grid; gap: 10px; padding: clamp(20px, 3vw, 30px); border-bottom: 2px solid #263d34; background: #fffaf0; }
.team-sketch :is(label,legend) { display: block; font-size: .82rem; font-weight: 850; line-height: 1.35; }
.team-sketch textarea { display: block; width: 100%; min-height: 74px; padding: 12px 14px; resize: vertical; border: 2px solid #54705e; border-radius: 6px; color: #263d34; background: #fff; font: 500 .9rem/1.5 Inter, ui-sans-serif, sans-serif; }
.team-sketch textarea::placeholder { color: #69766b; opacity: 1; }
.team-sketch-example-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; }
.team-sketch-example-line p, #team-sketch-specific-wrap p { margin: 0; color: #565b50; font-size: .76rem; line-height: 1.45; }
.team-sketch-example-line button { min-height: 42px; padding: 8px 12px; border: 2px solid #45644e; border-radius: 5px; color: #31553c; background: #e5eedf; font: 800 .76rem/1.3 Inter, ui-sans-serif, sans-serif; }
#team-sketch-specific-wrap { display: grid; gap: 8px; padding: 13px 15px; border-left: 5px solid #ad6945; background: #f5e7d5; }
.team-sketch-choices { display: grid; gap: 18px; padding: clamp(20px, 3vw, 30px); }
.team-sketch-tune-head { padding: 20px clamp(20px, 3vw, 30px) 0; border-top: 2px dashed #98aa96; }
.team-sketch-tune-head strong { font-size: 1rem; }
.team-sketch-tune-head p { margin: 6px 0 0; font-size: .76rem; line-height: 1.5; }
.team-sketch fieldset { margin: 0; padding: 0; border: 0; }
.team-sketch legend { margin-bottom: 9px; padding: 0; font-family: ui-monospace, Menlo, monospace; font-size: .7rem; letter-spacing: .035em; }
.team-sketch-choice-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.team-sketch-choice-row button { min-height: 48px; padding: 10px 12px; border: 2px solid #768776; border-radius: 5px; color: #263d34; background: #fffdf5; font: 800 .8rem/1.3 Inter, ui-sans-serif, sans-serif; text-align: left; }
.team-sketch-choice-row button[aria-pressed="true"] { border-color: #315a40; background: #d6ead2; box-shadow: inset 0 -4px #61846b; }
.team-sketch-choice-row button:hover, .team-sketch-mode button:hover, .team-sketch-inquiry-actions :is(button,a):hover { filter: brightness(1.06); }
.team-sketch-mode { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 clamp(20px, 3vw, 30px); padding: 14px 0; border-top: 1px dashed #9aa994; }
.team-sketch-mode p { margin: 0; font-size: .8rem; line-height: 1.4; }
.team-sketch-mode button { min-height: 46px; padding: 10px 15px; border: 2px solid #a35b3d; border-radius: 5px; color: #fff9ec; background: #a35b3d; font: 850 .78rem/1.3 Inter, ui-sans-serif, sans-serif; }
.team-sketch[data-mode="people"] .team-sketch-mode button { color: #854222; background: #fff5e8; }
.team-sketch-route { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); align-items: stretch; gap: 8px; padding: clamp(20px, 3vw, 30px); background: repeating-linear-gradient(-36deg, #e9e4d3 0 17px, #e1dece 17px 19px); }
.team-sketch-station { position: relative; min-height: 160px; padding: 17px; border: 2px solid #315a40; border-radius: 6px; background: #fffdf4; box-shadow: 4px 5px 0 #b7c2a9; transition: transform 240ms ease, background 240ms ease, border-color 240ms ease; }
.team-sketch-station > span { display: block; margin-bottom: 14px; color: #5a6b59; font: 850 .64rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.team-sketch-station strong { display: block; font-size: 1.02rem; letter-spacing: -.03em; }
.team-sketch-station p { margin: 8px 0 0; font-size: .75rem; line-height: 1.5; }
.team-sketch-route-arrow { align-self: center; color: #9a5939; font-size: 1.5rem; font-weight: 900; text-align: center; }
.team-sketch[data-mode="people"] .team-sketch-station:first-child { border-color: #a15b3b; background: #fff0dd; box-shadow: 4px 5px 0 #d9b895; transform: rotate(-1.5deg); }
.team-sketch[data-mode="people"] .team-sketch-station:last-child { border-color: #a15b3b; background: #fff7e8; }
.team-sketch-result { margin: clamp(20px, 3vw, 30px); border: 2px solid #263d34; border-radius: 7px; overflow: hidden; background: #fffdf5; }
.team-sketch-result-top { display: flex; justify-content: space-between; gap: 15px; padding: 16px 20px; color: #fff9eb; background: #315a40; }
.team-sketch-result-top h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.8rem); letter-spacing: -.04em; }
.team-sketch-stamp { align-self: start; flex: none; padding: 6px 8px; border: 2px double #f2d59b; color: #f2d59b; font: 900 .62rem/1.2 ui-monospace, Menlo, monospace; transform: rotate(5deg); }
.team-sketch[data-mode="people"] .team-sketch-result-top { background: #915133; }
.team-sketch-human-work { margin: 0; padding: 16px 20px; border-bottom: 2px dashed #c69970; color: #653d2a; background: #fff0dc; font-size: .85rem; font-weight: 750; line-height: 1.5; }
.team-sketch-result dl { margin: 0; }
.team-sketch-result dl > div { display: grid; grid-template-columns: minmax(110px, .28fr) minmax(0, 1fr); gap: 15px; padding: 12px 20px; border-top: 1px solid #ddd9c9; }
.team-sketch-result dt { color: #546254; font: 850 .68rem/1.4 ui-monospace, Menlo, monospace; text-transform: uppercase; }
.team-sketch-result dd { margin: 0; font-size: .79rem; line-height: 1.5; }
.team-sketch-plan-edit { display: grid; gap: 9px; padding: 18px 20px 20px; border-top: 2px dashed #899e8c; background: #edf4e9; }
.team-sketch-plan-edit > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 15px; }
.team-sketch-plan-edit button { min-height: 43px; padding: 9px 13px; border: 2px solid #315a40; border-radius: 5px; color: #315a40; background: #fffdf5; font: 800 .76rem/1.3 Inter, ui-sans-serif, sans-serif; }
.team-sketch-plan-edit p { margin: 0; font-size: .75rem; line-height: 1.45; }
.team-made-exercise { margin: clamp(20px, 3vw, 30px); border: 2px solid #263d34; border-radius: 8px; background: #fffaf0; }
.team-made-exercise > summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 15px; padding: 17px 20px; color: #fff9eb; background: #263d34; cursor: pointer; font-size: 1rem; font-weight: 850; list-style-position: inside; }
.team-made-exercise > summary small { grid-column: 1 / -1; font-size: .72rem; font-weight: 500; }
.team-made-exercise .team-trial { margin: 0; border: 0; border-radius: 0; }
.team-trial { margin: clamp(20px, 3vw, 30px); border: 2px solid #263d34; border-radius: 8px; overflow: hidden; background: #fffaf0; }
.team-trial-head { display: flex; justify-content: space-between; gap: 16px; padding: 22px 24px; color: #fff9eb; background: #263d34; }
.team-trial-head span:first-child, .team-trial-cases legend, .team-trial-result-head > span, .team-trial-stop span, .team-trial-route span, .team-trial-rules span { font: 850 .66rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.team-trial-head h3 { margin: 7px 0 0; font-size: clamp(1.55rem, 2.5vw, 2.2rem); line-height: 1.05; letter-spacing: -.045em; }
.team-trial-head p { max-width: 55ch; margin: 8px 0 0; font-size: .78rem; line-height: 1.5; }
.team-trial-docket { flex: none; align-self: start; padding: 9px 12px; border: 2px dashed #f4c981; border-radius: 50%; color: #f4c981; text-align: center; white-space: pre-line; transform: rotate(9deg); }
.team-trial-impact { display: grid !important; gap: 12px; padding: 22px 24px !important; background: #f1eadb; }
.team-trial-impact legend { margin: 0 !important; font: 850 1.05rem/1.3 Inter, ui-sans-serif, sans-serif !important; letter-spacing: -.02em !important; }
.team-trial-impact > p { margin: 0; color: #536255; font-size: .78rem; line-height: 1.45; }
.team-trial-impact-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.team-trial-impact-buttons button { display: grid; align-content: start; gap: 5px; min-height: 113px; padding: 14px 16px; border: 2px solid #718071; border-radius: 6px; color: #263d34; background: #fffdf5; text-align: left; transition: transform 160ms ease, box-shadow 160ms ease; }
.team-trial-impact-buttons button:hover { transform: translateY(-2px); }
.team-trial-impact-buttons button[aria-pressed="true"] { border-color: #263d34; background: #dce9d3; box-shadow: 4px 5px 0 #8ca787; }
.team-trial-impact-buttons #team-trial-impact-money-access[aria-pressed="true"] { border-color: #315267; background: #e4eef2; box-shadow: 4px 5px 0 #9eb9c3; }
.team-trial-impact-buttons span { color: #4d6656; font: 850 .63rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.team-trial-impact-buttons strong { font-size: .92rem; line-height: 1.25; }
.team-trial-impact-buttons small { font-size: .73rem; line-height: 1.45; }
#team-trial-impact-note { min-height: 1.4em; font-weight: 750; }
.team-sketch[data-trial-impact="money-access"] .team-trial-result[data-trial-state="ready"] { --trial-ink: #315267; --trial-soft: #e4eef2; }
.team-sketch[data-trial-impact="money-access"] .team-trial-setup { background: #f3f8fa; }
.team-trial-setup input[readonly] { border-color: #315267; background: #e4eef2; font-weight: 850; }
.team-trial-setup { display: grid; grid-template-columns: .8fr 1.3fr 1fr; gap: 16px; padding: 23px 24px; border-bottom: 1px solid #d4cbb8; }
.team-trial-setup > div { min-width: 0; }
.team-trial-setup label { min-height: 2.7em; margin-bottom: 8px; }
.team-trial-setup input { width: 100%; min-height: 46px; padding: 9px 11px; border: 2px solid #54705e; border-radius: 5px; color: #263d34; background: white; font: 650 .9rem/1.3 Inter, ui-sans-serif, sans-serif; }
.team-trial-setup p { margin: 7px 0 0; color: #565b50; font-size: .7rem; line-height: 1.45; }
.team-trial-cases { padding: 20px 24px 24px !important; }
.team-trial-cases legend { margin-bottom: 10px; }
.team-trial-case-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.team-trial-case-buttons button { min-height: 83px; padding: 12px 14px; border: 2px solid #83927e; border-radius: 6px; color: #263d34; background: #fffdf5; text-align: left; transition: transform 160ms ease, background 160ms ease; }
.team-trial-case-buttons button:hover { transform: translateY(-2px); }
.team-trial-case-buttons button[aria-pressed="true"] { border-color: #263d34; background: #dce9d3; box-shadow: inset 0 -5px #63846b; }
.team-trial-case-buttons #team-trial-missing-source[aria-pressed="true"] { border-color: #884922; background: #fff0d9; box-shadow: inset 0 -5px #bd7a45; }
.team-trial-case-buttons #team-trial-clashing-request[aria-pressed="true"] { border-color: #763a38; background: #fbe8e3; box-shadow: inset 0 -5px #a96360; }
.team-trial-case-buttons #team-trial-made-error { border-color: #a6573b; background: #fff3df; }
.team-trial-case-buttons #team-trial-made-error[aria-pressed="true"] { border-color: #8c332c; background: #fbe0d3; box-shadow: inset 0 -5px #a54d43; }
.team-trial-case-buttons button span { display: block; margin-bottom: 5px; font: 850 .62rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .05em; }
.team-trial-case-buttons button strong { font-size: .85rem; }
.team-trial-case-help { margin: 11px 0 0; color: #565b50; font-size: .73rem; line-height: 1.5; }
.team-trial-result { --trial-ink: #315a40; --trial-soft: #e8f0e1; border-top: 2px solid #263d34; }
.team-trial-result[data-trial-state="paused"] { --trial-ink: #884922; --trial-soft: #fff0d9; }
.team-trial-result[data-trial-state="needs-decision"] { --trial-ink: #763a38; --trial-soft: #fbe8e3; }
.team-trial-result[data-trial-state="stopped"] { --trial-ink: #873b35; --trial-soft: #fbe7df; }
.team-trial-result-head { padding: 19px 24px; color: #fffaf0; background: var(--trial-ink); }
.team-trial-result-head h4 { margin: 6px 0; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.16; letter-spacing: -.035em; }
.team-trial-result-head h4:focus-visible { outline: 3px solid #fff4b8; outline-offset: 3px; }
.team-trial-result-head p { margin: 0; font-size: .81rem; line-height: 1.5; }
.team-trial-evidence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 21px 24px 23px; background: repeating-linear-gradient(0deg, #ece4d4 0 20px, #e7ddc9 20px 21px); }
.team-trial-evidence > div { position: relative; min-height: 185px; padding: 16px 17px; border: 1px solid #887762; color: #263d34; background: #fffdf4; box-shadow: 4px 5px 0 #c3b59e; }
.team-trial-evidence span:first-child { display: block; color: #625445; font: 850 .62rem/1.35 ui-monospace, Menlo, monospace; letter-spacing: .055em; }
.team-trial-evidence p { margin: 17px 0 0; font-size: .85rem; line-height: 1.52; }
.team-trial-source { border-top: 5px solid #597260 !important; }
.team-trial-source p { font-family: Georgia, serif; font-size: 1.06rem; }
.team-trial-paper { border-top: 5px solid #b65345 !important; transform: rotate(1deg); }
.team-trial-paper > strong { display: block; margin: 17px 0 57px; font-size: 1.13rem; line-height: 1.3; }
.team-trial-paper-stamp { position: absolute; right: 14px; bottom: 13px; padding: 7px 10px; border: 3px double #a53932; border-radius: 3px; color: #a53932 !important; font: 900 .8rem/1.1 ui-monospace, Menlo, monospace !important; text-align: center; transform: rotate(-12deg); animation: team-trial-stamp 320ms cubic-bezier(.18,.8,.2,1.3) both; }
.team-trial-correction { border-top: 5px solid #346b55 !important; transform: rotate(-.5deg); }
.team-trial-correction strong { color: #245640; }
.team-trial-verdict { display: grid; grid-template-columns: minmax(130px, .45fr) minmax(0, 1fr); gap: 4px 18px; align-items: center; padding: 15px 24px; border-top: 2px solid var(--trial-ink); border-bottom: 2px solid var(--trial-ink); color: var(--trial-ink); background: var(--trial-soft); }
.team-trial-verdict span { grid-row: span 2; display: grid; place-items: center; align-self: stretch; padding: 9px; border: 2px solid currentColor; font: 900 .78rem/1.35 ui-monospace, Menlo, monospace; text-align: center; text-transform: uppercase; }
.team-trial-verdict strong { font-size: 1.03rem; line-height: 1.25; }
.team-trial-verdict p { margin: 0; font-size: .78rem; line-height: 1.5; }
.team-sketch-result #team-sketch-plan-trial[data-trial-decision="stop"] { color: #873b35; font-weight: 750; }
.team-sketch-result #team-sketch-plan-trial[data-trial-decision="continue"] { color: #245640; font-weight: 750; }
.team-sketch-result #team-sketch-plan-trial[data-trial-decision="pause"] { color: #77502e; font-weight: 750; }
@keyframes team-trial-stamp { from { opacity: 0; transform: rotate(-12deg) scale(1.7); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }
.team-trial-stop { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 13px; align-items: start; padding: 14px 24px; border-bottom: 2px solid var(--trial-ink); color: var(--trial-ink); background: var(--trial-soft); }
.team-trial-stop p { margin: 0; font-size: .82rem; font-weight: 750; line-height: 1.5; }
.team-trial-route { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr); align-items: stretch; gap: 8px; padding: 18px 24px; background: var(--trial-soft); }
.team-trial-route > div { padding: 13px; border: 1px solid var(--trial-ink); border-radius: 5px; background: #fffdf5; }
.team-trial-route > span { align-self: center; color: var(--trial-ink); font-size: 1.2rem; font-weight: 900; text-align: center; }
.team-trial-route p { margin: 7px 0 0; font-size: .76rem; line-height: 1.5; }
.team-trial-rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #b8c4b1; }
.team-trial-rules > div { padding: 17px 20px; border-right: 1px solid #b8c4b1; }
.team-trial-rules > div:last-child { border-right: 0; background: var(--trial-soft); }
.team-trial-rules span { color: var(--trial-ink); }
.team-trial-rules p { margin: 7px 0 0; font-size: .76rem; line-height: 1.5; }
.team-sketch-inquiry { display: grid; gap: 10px; padding: clamp(20px, 3vw, 30px); border-top: 2px solid #263d34; background: #e7efdf; }
.team-sketch-inquiry h3 { margin: 0; font-size: 1.4rem; letter-spacing: -.035em; }
.team-sketch-inquiry p { margin: 6px 0 0; font-size: .78rem; line-height: 1.5; }
.team-sketch-inquiry textarea { min-height: 180px; }
.team-sketch-inquiry-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.team-sketch-inquiry-actions :is(button,a) { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 12px; border: 2px solid #315a40; border-radius: 5px; color: #fffdf5; background: #315a40; font: 800 .75rem/1.3 Inter, ui-sans-serif, sans-serif; text-decoration: none; }
.team-sketch-inquiry-actions a { color: #315a40; background: #fffdf5; }
.team-rule-compare { margin: clamp(16px, 3vw, 30px); border: 2px solid #263d34; border-radius: 8px; overflow: hidden; background: #fffaf0; }
.team-rule-heading { display: flex; justify-content: space-between; gap: 18px; padding: 22px 24px; color: #fffaf0; background: #315267; }
.team-rule-heading span:first-child, .team-rule-evidence span, .team-rule-card > span, .team-rule-save span { font: 850 .65rem/1.35 ui-monospace, Menlo, monospace; letter-spacing: .06em; }
.team-rule-heading h3 { margin: 7px 0; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -.045em; }
.team-rule-heading p { margin: 0; font-size: .8rem; line-height: 1.5; }
.team-rule-heading-mark { align-self: start; flex: none; padding: 9px; border: 2px dashed #f4c981; border-radius: 50%; color: #f4c981; font: 900 .65rem/1.3 ui-monospace, Menlo, monospace; text-align: center; white-space: pre-line; transform: rotate(8deg); }
.team-rule-evidence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 18px 24px; background: #eee5d4; }
.team-rule-evidence > div { padding: 14px; border: 1px solid #9e9a87; border-top: 5px solid #4d745b; background: #fffdf5; }
.team-rule-evidence > .team-rule-wrong { border-top-color: #ad4a37; background: #fff0e6; transform: rotate(1deg); }
.team-rule-wrong strong { display: inline-block; margin: 11px 0 2px; padding: 7px 9px; border: 3px double #963b30; border-radius: 3px; color: #963b30; font: 900 .95rem/1.2 ui-monospace, Menlo, monospace; transform: rotate(-8deg); }
.team-rule-evidence p { margin: 10px 0 0; font-size: .8rem; line-height: 1.5; }
.team-rule-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 20px 24px; }
.team-rule-compare[data-stage="first"] .team-rule-cards { grid-template-columns: minmax(0, 1fr); }
.team-rule-card { padding: 18px; border: 2px solid #778675; border-radius: 7px; background: #fffdf5; }
.team-rule-card-current { grid-column: 1; grid-row: 1; border-color: #315267; background: #e8f1f3; box-shadow: 4px 5px 0 #abc2c9; }
.team-rule-card h4 { margin: 9px 0; font-size: 1.28rem; letter-spacing: -.035em; }
.team-rule-card > strong { display: block; padding: 8px 10px; border-radius: 4px; font-size: 1rem; line-height: 1.3; }
.team-rule-card[data-decision="continue"] > strong { color: #22533a; background: #dbeedc; }
.team-rule-card[data-decision="stop"] > strong { color: #863e33; background: #f7dfd7; }
.team-rule-card p { margin: 10px 0 0; font-size: .79rem; line-height: 1.5; }
.team-rule-actions { display: grid; gap: 13px; padding: 18px 24px 22px; border-top: 1px solid #c4c7bb; }
.team-rule-actions p { margin: 0; font-size: .81rem; line-height: 1.5; }
.team-rule-actions > div { display: flex; flex-wrap: wrap; gap: 9px; }
.team-rule-actions button, .team-rule-save button { min-height: 46px; padding: 9px 14px; border: 2px solid #315267; border-radius: 5px; color: #fff; background: #315267; font: 800 .78rem/1.3 Inter, ui-sans-serif, sans-serif; }
.team-rule-actions button:last-child { color: #315267; background: #fffdf5; }
.team-rule-save { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 18px 24px; border-top: 2px dashed #b8c4b1; background: #f0eedf; }
.team-rule-save > div { flex: 1 1 230px; }
.team-rule-save p { margin: 6px 0 0; font-size: .77rem; line-height: 1.45; }
.team-rule-save button:disabled { opacity: .55; cursor: not-allowed; }
#team-rule-save-status { flex-basis: 100%; }
.own-task-risk { margin: clamp(20px, 3vw, 30px); border: 2px solid #314d47; border-radius: 9px; overflow: hidden; color: #233b36; background: #eef1e8; }
.own-task-risk-head { padding: clamp(20px, 3vw, 28px); color: #f7f5ea; background: #314d47; }
.own-task-risk-head span, .own-task-risk-choices span, .own-task-risk-card-head span { font: 850 .65rem/1.35 ui-monospace, Menlo, monospace; letter-spacing: .075em; }
.own-task-risk-head h3 { margin: 6px 0; font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.1; letter-spacing: -.04em; }
.own-task-risk-head p { max-width: 67ch; margin: 0; font-size: .82rem; line-height: 1.5; }
.own-task-cost { display: grid; gap: 10px; padding: clamp(16px, 3vw, 24px) !important; background: #f4ebd7; }
.own-task-cost legend { margin: 0 !important; font: 850 .78rem/1.35 ui-monospace, Menlo, monospace !important; letter-spacing: .035em; }
.own-task-cost-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.own-task-cost-choices button { display: grid; align-content: start; gap: 5px; min-height: 109px; padding: 15px; border: 2px solid #727969; border-radius: 5px; color: #233b36; background: #fffdf5; font-family: inherit; text-align: left; box-shadow: 4px 5px 0 #d1c4a8; transition: transform 160ms ease, box-shadow 160ms ease; }
.own-task-cost-choices button:hover { transform: translateY(-2px); }
.own-task-cost-choices button[aria-pressed="true"] { border-color: #315a40; background: #dcebd9; box-shadow: 4px 5px 0 #87ab8a; }
.own-task-cost-choices #own-task-cost-money-access[aria-pressed="true"] { border-color: #315267; background: #e5f0f4; box-shadow: 4px 5px 0 #8eaab6; }
.own-task-cost-choices span { font: 850 .65rem/1.3 ui-monospace, Menlo, monospace; letter-spacing: .05em; }
.own-task-cost-choices strong { font-size: .94rem; line-height: 1.3; }
.own-task-cost-choices small { font-size: .74rem; line-height: 1.45; }
#own-task-cost-note { margin: 3px 0 0; font-size: .79rem; font-weight: 750; line-height: 1.45; }
.own-task-risk-step { margin: 0; padding: 15px clamp(16px, 3vw, 24px) 0; font: 850 .77rem/1.45 ui-monospace, Menlo, monospace; }
.own-task-risk-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: clamp(16px, 3vw, 24px); background: #dce5db; }
.own-task-risk-choices button { position: relative; display: grid; align-content: center; gap: 6px; min-height: 130px; padding: 17px 18px; border: 2px solid #61776d; border-radius: 5px; color: #243f37; background: #fffdf5; font-family: inherit; text-align: left; box-shadow: 4px 5px 0 #b7c9b8; transition: transform 180ms ease, box-shadow 180ms ease; }
.own-task-risk-choices button::before { content: ""; position: absolute; top: 0; right: 0; border-top: 23px solid #a8bdad; border-left: 23px solid transparent; }
.own-task-risk-choices button:hover { transform: translateY(-2px); }
.own-task-risk-choices button[aria-pressed="true"] { border-color: #7d492d; background: #fff1db; box-shadow: 4px 5px 0 #b98e6b; transform: translateY(-2px) rotate(-.5deg); }
.own-task-risk-choices button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.own-task-risk-choices strong { font-size: 1rem; line-height: 1.25; }
.own-task-risk-choices small { font-size: .75rem; line-height: 1.45; }
.own-task-risk-sample { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 12px; padding: 16px clamp(16px, 3vw, 24px); border-top: 1px solid #bbccc0; }
.own-task-risk-sample label { align-self: end; }
.own-task-risk-sample input { width: 100%; min-height: 45px; padding: 9px 11px; border: 2px solid #61776d; border-radius: 4px; color: #233b36; background: #fff; font: 500 .84rem/1.4 Inter, ui-sans-serif, sans-serif; }
.own-task-risk-card { margin: 0 clamp(16px, 3vw, 24px) 20px; border: 2px solid #775132; border-radius: 6px; background: #fffcf2; box-shadow: 5px 6px 0 #b5c8b7; animation: own-task-file-open 360ms ease-out both; }
.own-task-risk-card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 17px; border-bottom: 2px dashed #a79074; background: #f5e6ca; }
.own-task-risk-card-head strong { display: inline-block; padding: 6px 12px; border: 3px double #8b4535; border-radius: 3px; color: #8b4535; font: 900 .8rem/1.1 ui-monospace, Menlo, monospace; letter-spacing: .08em; transform: rotate(-6deg); }
.own-task-risk-card h4 { margin: 17px 17px 4px; font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -.035em; }
.own-task-risk-card > p:not(.own-task-risk-plan) { margin: 0 17px 15px; font-size: .8rem; line-height: 1.5; }
.own-task-paper-trail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 0 17px 17px; padding: 11px 14px; border: 1px dashed #a79074; background: #f7efdF; font: 850 .67rem/1.5 ui-monospace, Menlo, monospace; letter-spacing: .035em; }
.own-task-paper-trail span { color: #806a59; }
.own-task-paper-trail s { font-size: .95rem; }
.own-task-paper-trail strong { padding: 5px 9px; border: 3px double #8b4535; color: #8b4535; text-align: center; transform: rotate(-5deg); }
.own-task-paper-trail b { font-size: .78rem; }
.own-task-risk-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid #d8cbb2; }
.own-task-risk-card dl > div { padding: 15px 17px; border-right: 1px solid #d8cbb2; }
.own-task-risk-card dl > div:nth-child(2n) { border-right: 0; }
.own-task-risk-card dl > div:nth-child(n+3) { border-top: 1px solid #d8cbb2; }
.own-task-risk-card dt { margin-bottom: 7px; color: #745b3e; font: 850 .64rem/1.3 ui-monospace, Menlo, monospace; text-transform: uppercase; }
.own-task-risk-card dd { margin: 0; font-size: .78rem; line-height: 1.5; }
.own-task-risk-plan { margin: 0; padding: 15px 17px; border-top: 2px solid #775132; color: #203f37; background: #e9f1e8; font-size: .82rem; font-weight: 700; line-height: 1.55; }
.own-task-risk-card[data-cost="money-access"] { border-color: #315267; box-shadow: 5px 6px 0 #9bb5bf; }
.own-task-risk-card[data-cost="money-access"] .own-task-risk-card-head { background: #dfebef; }
.own-task-risk-card[data-cost="money-access"] .own-task-paper-trail strong { border-color: #315267; color: #315267; }
.own-task-risk-card[data-cost="money-access"] .own-task-risk-plan { border-color: #315267; background: #edf4f6; }
.own-task-check-in { margin: 0 clamp(16px, 3vw, 24px) 20px; border: 2px solid #315943; border-radius: 6px; background: #fffcf2; box-shadow: 5px 6px 0 #b5c8b7; }
.own-task-check-in-head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding: 17px; border-bottom: 2px dashed #a5b9a3; background: #e4eedc; }
.own-task-check-in-head span, .own-task-check-in-outcome span { color: #315943; font: 850 .65rem/1.35 ui-monospace, Menlo, monospace; letter-spacing: .07em; }
.own-task-check-in-head h4 { margin: 5px 0; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; letter-spacing: -.035em; }
.own-task-check-in-head p { max-width: 54ch; margin: 0; font-size: .78rem; line-height: 1.5; }
#own-task-check-in-stamp { flex: none; max-width: 125px; padding: 8px; border: 3px double #64766a; border-radius: 3px; color: #4c6556; background: #fffdf5; font: 900 .73rem/1.25 ui-monospace, Menlo, monospace; letter-spacing: .04em; text-align: center; transform: rotate(5deg); }
.own-task-check-in[data-report="corrected"] #own-task-check-in-stamp { border-color: #315b49; color: #315b49; transform: rotate(-6deg); animation: own-task-stamp 290ms ease-out; }
.own-task-check-in[data-report="undone"] #own-task-check-in-stamp { border-color: #9a6137; color: #8c502a; transform: rotate(6deg); animation: own-task-stamp 290ms ease-out; }
.own-task-check-in-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 17px; }
.own-task-check-in-choices button { min-height: 70px; padding: 12px 14px; border: 2px solid #708b75; border-radius: 5px; color: #233b36; background: #fff; font: 800 .8rem/1.4 Inter, ui-sans-serif, sans-serif; text-align: left; }
.own-task-check-in-choices button:hover { border-color: #315943; background: #eff5ec; }
.own-task-check-in-choices button[aria-pressed="true"] { border-color: #315943; background: #e0efdf; box-shadow: inset 5px 0 #315943; }
.own-task-check-in-choices #own-task-report-undone[aria-pressed="true"] { border-color: #9a6137; background: #fff0dc; box-shadow: inset 5px 0 #9a6137; }
.own-task-check-in > label { margin: 0 17px 6px; }
.own-task-check-in > label span { font-weight: 500; }
.own-task-check-in > textarea { width: calc(100% - 34px); min-height: 64px; margin: 0 17px 5px; }
.own-task-check-in-save { margin: 0; padding: 0 17px 15px; color: #4b6254; font-size: .73rem; line-height: 1.45; }
.own-task-check-in-outcome { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid #315943; }
.own-task-check-in-outcome > div { padding: 17px; }
.own-task-check-in-outcome > div:first-child { border-right: 1px solid #cfceb9; background: #f5eddf; }
.own-task-check-in-outcome > div:last-child { background: #ebf3e7; }
.own-task-check-in-outcome #own-task-next-step[data-next="revise"] { background: #dceddf; }
.own-task-check-in-outcome p { margin: 7px 0 0; font-size: .8rem; line-height: 1.55; overflow-wrap: anywhere; }
.own-task-check-in-limit { margin: 0; padding: 12px 17px; border-top: 1px solid #cfceb9; font-size: .73rem; line-height: 1.5; }
.own-task-check-in-limit a { color: #255b53; font-weight: 800; }
@keyframes own-task-stamp { from { opacity: .5; transform: scale(1.18) rotate(0); } to { opacity: 1; } }
.own-task-risk-boundary { margin: 0; padding: 0 clamp(16px, 3vw, 24px) 17px; font-size: .74rem; line-height: 1.5; }
.own-task-return { padding: 14px 18px; border-top: 1px dashed #b9a68c; background: #eaf0e5; }
.own-task-return button { min-height: 46px; padding: 9px 14px; border: 2px solid #315b49; border-radius: 4px; color: #fffdf5; background: #315b49; font: 850 .79rem/1.3 Inter, ui-sans-serif, sans-serif; }
@keyframes own-task-file-open { from { opacity: .4; transform: translateY(-8px) rotate(-1deg); } to { opacity: 1; transform: translateY(0) rotate(0); } }
@media (max-width: 700px) {
  .team-sketch { margin: 16px auto 25px; box-shadow: 5px 6px 0 #d1c7ae; }
  .team-sketch-head-mark { display: none; }
  .team-sketch-head h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .team-sketch-choice-row { grid-template-columns: minmax(0, 1fr); }
  .team-sketch-choice-row button { min-height: 43px; }
  .team-sketch-mode button, .team-sketch-example-line button { width: 100%; }
  .team-sketch-route { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .team-sketch-station { min-height: 0; }
  .team-sketch-route-arrow { transform: rotate(90deg); line-height: 1; }
  .team-sketch-result-top { flex-wrap: wrap; }
  .team-sketch-result dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .team-trial-head { padding: 19px; }
  .team-trial-docket { display: none; }
  .team-trial-impact { padding: 19px !important; }
  .team-trial-impact-buttons, .team-trial-setup, .team-trial-case-buttons, .team-trial-rules { grid-template-columns: minmax(0, 1fr); }
  .team-trial-impact-buttons button { min-height: 0; }
  .team-trial-setup { padding: 19px; }
  .team-trial-setup label { min-height: 0; }
  .team-trial-cases { padding: 18px 19px !important; }
  .team-trial-case-buttons button { min-height: 64px; }
  .team-trial-evidence { grid-template-columns: minmax(0, 1fr); padding: 16px 19px; }
  .team-trial-evidence > div { min-height: 0; }
  .team-trial-paper > strong { margin-bottom: 53px; }
  .team-trial-verdict { grid-template-columns: minmax(0, 1fr); padding: 14px 19px; }
  .team-trial-verdict span { grid-row: auto; }
  .team-trial-route { grid-template-columns: minmax(0, 1fr); padding: 16px 19px; gap: 5px; }
  .team-trial-route > span { transform: rotate(90deg); line-height: 1; }
  .team-trial-result-head { padding: 18px 19px; }
  .team-trial-stop { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 13px 19px; }
  .team-trial-rules > div { border-right: 0; border-bottom: 1px solid #b8c4b1; padding: 14px 19px; }
  .team-trial-rules > div:last-child { border-bottom: 0; }
  .team-sketch-inquiry-actions { display: grid; }
  .team-rule-heading-mark { display: none; }
  .team-rule-heading, .team-rule-actions, .team-rule-save { padding: 18px; }
  .team-rule-evidence, .team-rule-cards { grid-template-columns: minmax(0, 1fr); padding: 16px 18px; }
  .team-rule-card-current { grid-column: auto; grid-row: auto; }
  .team-rule-actions > div, .team-rule-actions button, .team-rule-save button { width: 100%; }
  .own-task-cost-choices, .own-task-risk-choices, .own-task-risk-sample, .own-task-risk-card dl { grid-template-columns: minmax(0, 1fr); }
  .own-task-cost-choices button { min-height: 0; }
  .own-task-risk-choices button { min-height: 98px; }
  .own-task-risk-sample label { margin-top: 4px; }
  .own-task-risk-card dl > div { border-right: 0; border-bottom: 1px solid #d8cbb2; }
  .own-task-risk-card dl > div:nth-child(n+3) { border-top: 0; }
  .own-task-risk-card dl > div:last-child { border-bottom: 0; }
  .own-task-check-in-head { flex-wrap: wrap; }
  .own-task-check-in-choices, .own-task-check-in-outcome { grid-template-columns: minmax(0, 1fr); }
  .own-task-check-in-choices button { min-height: 56px; }
  .own-task-check-in-outcome > div:first-child { border-right: 0; border-bottom: 1px solid #cfceb9; }
  .team-sketch-plan-edit > div { display: grid; }
  .own-task-return button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .team-sketch *, .team-sketch *::before, .team-sketch *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
