/* The Team App's own sheet (25 Oct 2026): what the inbox has and the client App does not — the rows with their acts,
   the chips that count, the notice's box, the Forms doors. Everything else is app.css's; the tokens are house.css's. */
.team-mark-sub { display: block; margin-top: 8px; font: 600 11px 'Manrope', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); text-align: center; }
.team-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 8px; }
.team-h1 { font-size: 30px; margin: 2px 0 0; }
.team-chips { display: flex; gap: 8px; margin-top: 14px; }
.team-chip { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font: 600 13px 'Manrope', sans-serif; }
.team-chip.is-on { background: var(--wine); border-color: var(--wine); color: var(--wine-on); }
.team-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.team-row { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; }
.team-row.is-aside { opacity: .72; }
.team-row-open { display: flex; justify-content: space-between; gap: 12px; text-decoration: none; color: var(--ink); }
.team-row-words { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.team-row-title { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 20px; line-height: 1.15; }
.team-row-line { font-size: 13px; color: var(--soft); }
.team-row-when { flex: none; font-size: 12px; font-weight: 600; color: var(--soft); white-space: nowrap; padding-top: 4px; }
.team-row-when.is-due { color: var(--wine); }                                   /* burgundy: due now (the house's meaning of the colour) */
.team-acts { display: flex; gap: 8px; margin: 0; }
.team-acts.is-big { margin-top: 22px; flex-wrap: wrap; }
.team-act { flex: 1; min-width: 0; height: 44px; border-radius: 10px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 14px 'Manrope', sans-serif; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.team-acts.is-big .team-act { height: 54px; font-size: 16px; border-radius: 12px; flex-basis: 40%; }
.team-act.is-wine { background: var(--wine); border-color: var(--wine); color: var(--wine-on); }
.team-act.is-quiet { flex: 0 0 auto; padding: 0 12px; border-color: transparent; color: var(--soft); }
.team-acts.is-big .team-act.is-quiet { flex-basis: 100%; height: 44px; font-size: 14px; }
.team-empty { margin: 24px 0; padding: 18px; text-align: center; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 19px; color: var(--soft); border: 1px dashed var(--rule); border-radius: 14px; }
.team-box { margin-top: 18px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; display: flex; flex-direction: column; gap: 6px; }
.team-box-words { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 19px; line-height: 1.35; }
.team-box.is-answered .team-answered { font-weight: 600; font-size: 16px; color: var(--fine); }      /* green: all done */
.team-box.is-answered small { font-size: 13px; color: var(--soft); }
.team-section { margin-top: 24px; }
.team-doors { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.team-door { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; text-decoration: none; color: var(--ink); }
.team-door-words { display: flex; flex-direction: column; gap: 3px; }
.team-door-words b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 20px; line-height: 1.15; }
.team-door-words small { font-size: 13px; color: var(--soft); }
.team-door svg { color: var(--wine); flex: none; }
.team-push { margin-top: 0; }

/* --- the forms (PR 2, 25 Oct 2026): the doors on Forms, a question a screen, the review, the sent page --- */
.team-draft { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--wine); color: var(--wine-on); border-radius: 14px; text-decoration: none; }
.team-draft-words { display: flex; flex-direction: column; gap: 3px; }
.team-draft-words small { font: 600 11px 'Manrope', sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.team-draft-words b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; font-size: 20px; line-height: 1.15; }
.team-draft-go { flex: none; font: 600 13px 'Manrope', sans-serif; }
.team-section { display: block; margin-top: 22px; }
.team-doors.is-tight { margin-top: 8px; }
.team-door.is-done { opacity: .78; }
.team-door-when { flex: none; font: 600 12px 'Manrope', sans-serif; color: var(--soft); padding-top: 4px; white-space: nowrap; }
.team-door-when.is-due { color: var(--wine); }                                   /* burgundy: due now */
.team-door-when.is-fine { color: var(--fine); }                                  /* green: in */
.team-step-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.team-step-head .app-back { margin: 0; }
.team-dots { display: flex; gap: 6px; margin-top: 18px; }
.team-dot { flex: 1; height: 4px; border-radius: 2px; background: var(--rule); }
.team-dot.is-done { background: var(--wine); }
.team-dot.is-here { background: var(--wine); opacity: .55; }
.team-step { display: flex; flex-direction: column; min-height: calc(100vh - 220px); margin-top: 32px; }
.team-kind { display: block; }
.team-question { margin: 8px 0 0; font-size: 30px; line-height: 1.15; text-wrap: balance; }
.team-help { margin: 8px 0 0; font-size: 13.5px; color: var(--soft); }
/* A figure against the order (the quality check on the phone): the ordered figure beside the one found. */
.team-figure { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team-figure-box { padding: 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.team-figure-box.is-asked { border: 1.5px solid var(--wine); }
.team-figure-eyebrow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); }
.team-figure-box.is-asked .team-figure-eyebrow { color: var(--wine); }
.team-figure-val { font: 600 20px 'Manrope', sans-serif; color: var(--ink); }
.team-figure-in { width: 100%; border: 0; padding: 0; background: transparent; font: 600 20px 'Manrope', sans-serif; color: var(--ink); }
.team-figure-sub { font-size: 12px; color: var(--soft); }
.team-code-label { display: block; font-weight: 600; font-size: 14px; }
.team-code-in { display: block; margin: 8px auto 0; width: 160px; height: 56px; text-align: center; letter-spacing: .4em; border: 1.5px solid var(--wine); border-radius: 12px; background: var(--surface); font: 700 24px 'Manrope', sans-serif; color: var(--ink); }
.team-help.is-centred { text-align: center; }
.team-chips-wrap { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.team-choice { position: relative; min-height: 48px; padding: 10px 18px; display: inline-flex; align-items: center; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink); font: 600 15px 'Manrope', sans-serif; cursor: pointer; }
.team-choice input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.team-choice span small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }
.team-choice.is-on { background: var(--wine); border-color: var(--wine); color: var(--wine-on); }
.team-choice.is-wide { margin-top: 22px; width: 100%; box-sizing: border-box; justify-content: center; border-radius: 12px; }
.team-days { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.team-day { position: relative; height: 64px; border-radius: 12px; border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; }
.team-day input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.team-day small { font: 600 11px 'Manrope', sans-serif; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.team-day b { font: 600 17px 'Manrope', sans-serif; }
.team-day.is-marked { background: var(--paper); color: var(--quiet); }   /* a holiday the house marks: greyed, still a tap away */
.team-day.is-on { background: var(--wine); border-color: var(--wine); color: var(--wine-on); }
.team-another { margin-top: 12px; }
.team-another summary { font: 600 13px 'Manrope', sans-serif; color: var(--wine); cursor: pointer; list-style: none; }
.team-another summary::-webkit-details-marker { display: none; }
.team-another input { margin-top: 10px; }
.team-number { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.team-less, .team-more { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); color: var(--wine); font: 700 22px 'Manrope', sans-serif; cursor: pointer; }
.team-number-in { flex: 1; text-align: center; height: 54px; border: 0; background: transparent; font: 600 40px 'Cormorant Garamond', Georgia, serif; color: var(--ink); }
.team-words { margin-top: 22px; min-height: 120px; }
.team-wide { margin-top: 22px; width: 100%; box-sizing: border-box; }
.team-lines { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.team-table { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.team-table-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.team-sign-label { display: block; margin-top: 18px; }
.team-pad-wrap { margin-top: 8px; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); overflow: hidden; }
.team-pad { display: block; width: 100%; height: auto; touch-action: none; }
.team-pad-tools { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.team-step-foot { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.team-next { margin: 0; display: block; width: 100%; box-sizing: border-box; }
.team-markpage .team-next { margin-top: 14px; }
.team-next.is-link { display: flex; align-items: center; justify-content: center; text-decoration: none; margin-top: 24px; }
.team-step-under { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
.team-step-under .team-help { margin: 0; font-size: 12.5px; }
.team-review { gap: 0; padding: 4px 16px; }
.team-review-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-size: 14px; }
.team-review-row:first-child { border-top: 0; }
.team-review-q { color: var(--soft); }
.team-review-a { font-weight: 600; text-align: right; }
.team-sent { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.team-tick { width: 56px; height: 56px; border-radius: 50%; background: var(--wine); color: var(--wine-on); display: grid; place-items: center; }

/* Send a bill from the phone (25 Oct 2026): the camera as one wide choice */
.team-file { margin-top: 22px; min-height: 64px; }
.team-file input[type=file] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }

/* --- Mark in on the phone (25 Oct 2026): the card on Today, the three steps, the code box, one button --- */
.team-markcard { margin-top: 14px; }
.team-markline { display: block; margin-top: 14px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--rule); background: var(--surface); font: 600 13.5px 'Manrope', sans-serif; color: var(--ink); text-decoration: none; }
.team-markline.is-fine { color: var(--fine); }                                 /* green: marked in */
.team-markline.is-wine { color: var(--wine); }                                 /* burgundy: a proof did not hold, the manager to confirm */
.team-steps { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.team-stepline { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; font-size: 14px; }
.team-stepline i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--rule); display: grid; place-items: center; font: 600 13px 'Manrope', sans-serif; font-style: normal; color: var(--soft); }
.team-stepline i.done { background: var(--fine); border-color: var(--fine); color: var(--wine-on); }
.team-stepline i.lack { background: var(--wine); border-color: var(--wine); color: var(--wine-on); }
.team-stepline em { font-style: normal; color: var(--wine); }
.team-codebox { margin-top: 18px; }
.team-codebox input { width: 100%; box-sizing: border-box; height: 64px; text-align: center; border: 1px solid var(--rule); border-radius: 12px; background: var(--surface); font: 600 34px 'Manrope', sans-serif; letter-spacing: .3em; color: var(--ink); }
.team-flags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.team-flag { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border-radius: 999px; font: 600 12.5px 'Manrope', sans-serif; border: 1px solid var(--rule); background: var(--surface); }
.team-flag.is-fine { border-color: var(--fine); color: var(--fine); }
.team-flag.is-lack { border-color: var(--wine); color: var(--wine); }
.team-keys { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.team-key { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: 12px; font-size: 13.5px; }
.team-key small { display: block; color: var(--soft); font-size: 12px; }
