/* A little print workshop. Preparation moves the work; a human call is separate. */
.working-team-preview, .working-team-scene { --team-ink: #17342f; --team-orange: #9b442b; --team-line: #b8b8a3; --team-yellow: #f5d67a; }
.working-team-main-entry { border: 0; font-family: inherit; cursor: pointer; text-align: left; }
.working-team-preview { position: relative; min-width: 0; padding: clamp(20px, 3vw, 34px); background: #dfE8df; border: 1px solid #8eaa9d; border-radius: 18px 18px 4px 4px; box-shadow: 7px 9px 0 #d5d9c9; }
.working-team-label { margin: 0 0 12px; font: 750 .66rem/1.6 var(--home-mono); letter-spacing: .055em; }
.working-team-preview > h2 { max-width: 350px; margin: 14px 0 23px; font: 700 clamp(1.75rem, 3vw, 2.8rem)/1.08 Georgia, serif; letter-spacing: -.035em; }
.working-team-preview .working-team-label { color: #35584b; }
.working-team-preview-jobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; padding: 12px 2px 24px; border-bottom: 6px solid #466254; }
.working-team-preview-job { position: relative; min-height: 156px; padding: 23px 12px 18px; border: 1px solid #b8b8a3; background: #fffdf3; box-shadow: 3px 5px 0 #b6c3b2; transform: rotate(-4deg); }
.working-team-preview-job::before { position: absolute; content: ""; width: 40px; height: 18px; top: -8px; left: calc(50% - 20px); background: #e5c471cc; transform: rotate(4deg); }
.working-team-preview-job:nth-child(2) { transform: translateY(14px) rotate(5deg); background: #f9e6b8; }
.working-team-preview-job > span { font: 750 .7rem/1.4 var(--home-mono); }
.working-team-preview-job h3 { margin: 14px 0; font: 700 1.05rem/1.25 Georgia, serif; }
.working-team-preview-job p { margin: 0; font-size: .75rem; line-height: 1.55; }
.working-team-preview-caption { font-size: .78rem; line-height: 1.6; margin: 23px 0 0; }
.working-team-scene { margin: 8px 0 40px; padding: clamp(18px, 3vw, 36px); border: 1px solid #a3b3a3; border-top: 7px solid #355c4e; background: #e9eee3; box-shadow: 6px 7px 0 #d5d9c9; overflow-wrap: anywhere; }
.working-team-scene *, .working-team-preview * { box-sizing: border-box; }
.working-team-scene [hidden] { display: none !important; }
.working-team-scene :focus-visible, .working-team-main-entry:focus-visible { outline: 3px solid #9b442b; outline-offset: 5px; }
.working-team-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; }
.working-team-header > div { max-width: 740px; }
.working-team-scene h2 { margin: 8px 0 16px; font: 700 clamp(1.9rem, 3.5vw, 3.1rem)/1.12 Georgia, serif; letter-spacing: -.04em; }
.working-team-scene h3 { font: 700 clamp(1.2rem, 2vw, 1.65rem)/1.2 Georgia, serif; letter-spacing: -.02em; }
.working-team-scene h4 { font: 750 1rem/1.35 Georgia, serif; margin: 0 0 14px; }
.working-team-scene p, .working-team-scene li { line-height: 1.6; }
.working-team-intro { margin-bottom: 10px; font-size: .94rem; }
.working-team-scene button { min-height: 46px; padding: 11px 14px; border: 1px solid #6f8675; border-radius: 3px; background: #fffdf3; color: var(--team-ink); font: inherit; font-size: .83rem; font-weight: 700; line-height: 1.45; cursor: pointer; text-align: left; }
.working-team-scene button:hover { background: #f6e7ba; border-color: #9b442b; }
.working-team-scene button:disabled { cursor: default; }
.working-team-scene button:disabled:hover { background: #fffdf3; border-color: #6f8675; }
.working-team-scene .working-team-text-button { padding: 0; border: 0; background: transparent; font-size: .75rem; text-decoration: underline; text-underline-offset: 4px; }
.working-team-focus-picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid #b8c3b0; }
.working-team-focus-picker > p { flex-basis: 100%; margin-bottom: 4px; }
.working-team-focus-picker button { min-height: 44px; padding: 8px 12px; border-radius: 24px; font-size: .76rem; }
.working-team-focus-picker button[aria-pressed="true"] { background: #17342f; border-color: #17342f; color: #fffdf3; }
.working-team-focus-summary { min-height: 7.5em; padding: 16px 18px; border-left: 4px solid #a1492e; background: #fff2cb; font-size: .88rem; }
.working-team-preparation { margin: 24px 0; }
.working-team-preparation h3 { margin-bottom: 10px; }
.working-team-preparation > p { margin-top: 0; font-size: .86rem; }
.working-team-preparers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0; }
.working-team-preparers > .working-team-label { grid-column: 1 / -1; margin: 0; }
.working-team-scene .working-team-preparer { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 5px 10px; padding: 13px 10px; border: 2px solid #617e6f; box-shadow: 2px 3px 0 #c4ccba; }
.working-team-preparer strong { align-self: end; font-size: .95rem; }
.working-team-preparer > span:last-child { grid-column: 2; font-weight: 400; font-size: .8rem; }
.working-team-avatar { display: grid; place-items: center; grid-row: span 2; width: 32px; height: 32px; border: 1px solid #456953; border-radius: 50%; background: #f5d67a; color: #17342f; font: 700 1.5rem/1 Georgia, serif; }
.working-team-scene .working-team-preparer[aria-pressed="true"] { border-color: #9b442b; background: #fff2cb; box-shadow: 3px 4px 0 #d1b77b; }
.working-team-preparer:disabled[aria-pressed="false"] { opacity: .66; box-shadow: none; }
.working-team-small { font-size: .76rem; color: #425a4e; }
.working-team-tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.working-team-task { min-width: 0; padding: clamp(16px, 2vw, 26px); border: 1px solid #b4b69f; border-top: 5px solid #ad8e4f; background: #fffdf3; box-shadow: 3px 5px 0 #ced3c0; scroll-margin-top: 24px; transition: border-color 160ms ease; }
.working-team-task > h3 { margin: 8px 0 16px; }
.working-team-task-purpose { font-size: .88rem; }
.working-team-task .working-team-stamp { display: table; min-height: 3.8em; max-width: 100%; padding: 6px 9px; border: 1px solid #847a59; color: #5f4a29; background: #fbefcc; font: 750 .63rem/1.6 var(--home-mono); letter-spacing: .035em; }
.working-team-task[data-state="checked-in-fiction"] { border-top-color: #355c4e; }
.working-team-task[data-state="checked-in-fiction"] .working-team-stamp { background: #dcebdd; border: 3px double #355c4e; color: #17342f; transform: rotate(-1deg); animation: working-team-stamp 190ms ease-out; }
.working-team-blank { min-height: 140px; margin: 22px 0; padding: 30px 20px; border: 2px dashed #c3be9e; border-radius: 3px; color: #5b6350; font: italic 1.1rem/1.6 Georgia, serif; background: #f7f4e8; }
.working-team-work { animation: working-team-arrival 220ms ease-out; }
.working-team-artifact { margin: 18px 0; padding: 16px; background: #e8eee5; border: 1px solid #c2cbb9; }
.working-team-artifact h4 { font: 750 .78rem/1.4 var(--home-mono); }
.working-team-artifact-lines p { min-height: 3.8em; margin: 6px 0; padding: 7px 10px; border: 1px solid #bec8b7; background: #f8faf4; font: .76rem/1.6 var(--home-mono); }
.working-team-artifact[data-route="people"] { background: #faf1cf; }
.working-team-artifact[data-route="people"] .working-team-artifact-lines p { border-color: transparent; border-bottom-color: #cbbd94; background: repeating-linear-gradient(transparent 0 1.5em, #ded4b9 1.5em 1.6em); }
.working-team-review-button { width: 100%; margin-bottom: 14px; }
.working-team-review-desk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: stretch; }
.working-team-review-desk[data-open="true"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.working-team-source, .working-team-draft { min-width: 0; padding: 16px; border: 1px solid #c3be9e; background: #f7f3e3; scroll-margin-top: 24px; }
.working-team-source { border-left: 3px solid #a1492e; }
.working-team-source p { font-size: .81rem; margin: 12px 0; }
.working-team-source .working-team-label, .working-team-draft .working-team-label { font-size: .6rem; }
.working-team-source-lines { margin: 0; padding-left: 20px; }
.working-team-source-lines li { padding: 10px 0 10px 3px; border-bottom: 1px solid #d8d0b5; font-size: .8rem; }
.working-team-source-lines li:last-child { border-bottom: 0; }
.working-team-review-desk[data-open="true"] .working-team-source { transform-origin: left top; animation: working-team-unfold 180ms ease-out; }
.working-team-draft { position: relative; border-top: 4px solid #ad8e4f; background: #fff7db; }
.working-team-draft::after { position: absolute; content: ""; width: 16px; height: 16px; right: -1px; top: -4px; background: linear-gradient(225deg, #fffdf3 46%, #ad8e4f 49%, #ead7a0 54%); }
.working-team-draft-words { font: 1.06rem/1.65 Georgia, serif; }
.working-team-human-desk { margin-top: 22px; padding-top: 18px; border-top: 2px solid #355c4e; }
.working-team-renewed { min-height: 5em; padding: 10px 12px; border-left: 3px solid #b39a57; background: #f6efd9; font-size: .8rem; }
.working-team-next { padding: 12px; border: 1px solid #a4b39a; background: #eef2e8; font-size: .85rem; }
.working-team-human-desk > p:not(.working-team-label):not(.working-team-small) { font-size: .85rem; }
.working-team-scene .working-team-accept { width: 100%; background: #17342f; color: #fffdf3; margin: 10px 0; }
.working-team-scene .working-team-accept:hover { background: #2b5043; }
.working-team-scene .working-team-accept:disabled { background: #dcebdd; color: #17342f; }
.working-team-call-result { font-size: .8rem; }
.working-team-missing { background: #fbf2d9; border-top-style: dashed; }
.working-team-missing .working-team-source { background: #fffaf0; margin-top: 20px; }
.working-team-missing .working-team-work { margin-top: 22px; }
.working-team-question { margin-top: 20px; padding: 18px 14px; border: 1px dashed #9f8b50; background: #fffdf3; animation: working-team-arrival 220ms ease-out; }
.working-team-question > p:last-child { font: 1rem/1.6 Georgia, serif; }
.working-team-missing .working-team-human-desk { border-top-style: dashed; }
.working-team-scene .working-team-hold { width: 100%; background: #fae5ae; }
.working-team-scene .working-team-hold:disabled { background: #f7ebcb; color: #445748; }
.working-team-missing[data-held="true"] #working-team-missing-next { padding-left: 12px; border-left: 3px solid #9b442b; }
.working-team-ending { margin: 25px 0 10px; padding: 20px 24px; border: 1px solid #8b9e87; background: #dce8d8; }
.working-team-ending h3 { margin: 0 0 12px; }
.working-team-ending p { font-size: .9rem; }
.working-team-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #a9b69d; }
.working-team-footer a { padding: 12px 0; font-size: .8rem; font-weight: 700; text-underline-offset: 4px; }
.working-team-footer > p { flex-basis: 100%; margin: 0; }
.working-team-footer .working-team-boundary { font-size: .8rem; font-weight: 700; }
.working-team-status { font-size: .8rem; min-height: 1.6em; margin-bottom: 0; }
.working-team-papers-entry { padding: 28px 0 38px; border-top: 1px solid #b8b8a3; }
.working-team-papers-entry .two-task-covers { max-width: 900px; margin: 0 auto; }
.working-team-papers-entry .two-task-cover { transform: none; box-shadow: 2px 3px 0 #e3dccb; }
.working-team-papers-entry .two-task-cover:hover { transform: translateY(-2px); }
.working-team-papers-entry .two-task-cover h2 { font-size: 1.25rem; }
@keyframes working-team-arrival { from { transform: translateY(-8px) rotate(-1deg); } to { transform: translateY(0) rotate(0); } }
@keyframes working-team-unfold { from { transform: perspective(700px) rotateY(-12deg); } to { transform: perspective(700px) rotateY(0); } }
@keyframes working-team-stamp { from { transform: scale(1.025) rotate(-4deg); } to { transform: scale(1) rotate(-1deg); } }
@media (max-width: 1100px) {
  .working-team-tasks { grid-template-columns: minmax(0, 1fr); }
  .working-team-preview-job { min-height: 175px; }
}
@media (max-width: 650px) {
  .working-team-header { display: block; }
  .working-team-header > button { margin-top: 12px; }
  .working-team-preview { padding: 24px; }
  .working-team-preview-job { min-height: 150px; }
  .working-team-scene { padding: 20px 14px; box-shadow: 3px 5px 0 #d5d9c9; }
  .working-team-preparers { grid-template-columns: minmax(0, 1fr); }
  .working-team-scene .working-team-preparer { padding: 14px; }
  .working-team-task { padding: 18px 14px; }
  .working-team-focus-summary { min-height: 11em; }
  .working-team-review-desk[data-open="true"] { grid-template-columns: minmax(0, 1fr); }
  .working-team-source, .working-team-draft { padding: 16px 14px; }
  .working-team-source-lines li { font-size: .88rem; }
  .working-team-footer { align-items: stretch; }
  .working-team-footer button { width: 100%; }
  .working-team-ending { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .working-team-scene *, .working-team-preview *, .working-team-papers-entry * { animation: none !important; transition: none !important; }
}
