.tc-width {
  width: min(89%, 1376px);
  margin-inline: auto;
}
.tc-story { color: #302b25; }
.tc-cover, .opening-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5.4vw, 92px);
  align-items: center;
  padding-block: clamp(42px, 5.6vw, 90px);
}
.tc-cover { align-items: start; }
.tc-lead { padding-top: clamp(52px, 6.8vw, 108px); }
.tc-story .tc-overline {
  margin: 0;
  color: #70583d;
  font: 600 10px/1.6 Inter, Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tc-story h1 {
  margin: 22px 0;
  font-size: clamp(64px, 6.6vw, 110px);
  line-height: .99;
  letter-spacing: -.04em;
}
.tc-story em { color: #7e6854; }
.tc-story .tc-intro, .opening-copy > p:not(.tc-overline), .tc-invite > div > p:not(.tc-overline) {
  max-width: 45ch;
  font-size: clamp(16px, 1.12vw, 19px);
  line-height: 1.65;
}
.tc-actions { display: flex; gap: 16px 24px; align-items: center; flex-wrap: wrap; margin-top: 29px; }
.tc-story .primary-link, .tc-story .text-link { min-height: 44px; font-size: 13px; }
.tc-story .primary-link { color: #f8f4ed; background: #302b24; padding: 14px 18px; }
.tc-story .text-link { color: #584633; border-color: #ad9b86; }
.tc-desk {
  color: #f1e8d9;
  background: radial-gradient(ellipse at 90% 0%, #343329 0%, transparent 54%), #1a1b17;
  border: 1px solid #3e3e33;
  border-radius: 20px;
  padding: clamp(21px, 2.3vw, 39px);
  box-shadow: 0 15px 38px -24px #3a2c1b80;
  scroll-margin-top: 24px;
  min-width: 0;
}
.desk-mast, .desk-mast > span, .tc-mail figcaption { display: flex; align-items: center; }
.desk-mast { justify-content: space-between; gap: 12px; border-bottom: 1px solid #515043; padding-bottom: 14px; }
.desk-mast > span { gap: 9px; font-size: 13px; font-weight: 550; letter-spacing: .015em; }
.desk-mast img, .tc-mail figcaption img { width: 22px; height: 20px; }
.desk-mast img { filter: brightness(0) saturate(100%) invert(84%) sepia(25%) saturate(464%) hue-rotate(349deg); }
.desk-mast time { color: #cec4b1; font-size: 12px; font-variant-numeric: tabular-nums; }
.tc-desk h2 { margin: 23px 0 6px; color: #fff7ea; font-size: clamp(40px, 3.7vw, 63px); line-height: 1.05; letter-spacing: -.03em; }
.tc-desk .desk-description { color: #c7bdac; font-size: 13px; line-height: 1.5; }
.tc-queue { min-width: 0; border: 0; padding: 0; margin: 20px 0 0; }
.tc-visually-hidden, .tc-choice {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.tc-switch { display: grid; grid-template-columns: 1fr 1fr 1fr; border-block: 1px solid #555446; }
.tc-switch label { display: grid; align-content: center; gap: 2px; min-height: 73px; padding: 8px 9px 9px; border-bottom: 2px solid transparent; color: #ccc1af; cursor: pointer; }
.tc-switch label:first-child { padding-left: 2px; }
.tc-switch label + label { border-left: 1px solid #474739; padding-left: clamp(10px, 1.7vw, 26px); }
.tc-switch label strong { color: #f3e8d9; font: 300 clamp(28px, 2.3vw, 38px)/1 Ivar, Georgia, serif; }
.tc-switch label span { font-size: 12px; line-height: 1.35; }
#queue-decisions:checked ~ .tc-switch [for="queue-decisions"],
#queue-replies:checked ~ .tc-switch [for="queue-replies"],
#queue-fees:checked ~ .tc-switch [for="queue-fees"] { border-bottom-color: #dbb780; color: #ffefd8; }
#queue-decisions:focus-visible ~ .tc-switch [for="queue-decisions"],
#queue-replies:focus-visible ~ .tc-switch [for="queue-replies"],
#queue-fees:focus-visible ~ .tc-switch [for="queue-fees"] { outline: 2px solid #e0bf84; outline-offset: -2px; }
.tc-board { display: none; }
#queue-decisions:checked ~ .approvals, #queue-replies:checked ~ .replies, #queue-fees:checked ~ .fees { display: block; }
.tc-board h3 { margin: 21px 0 12px; color: #f9f0e3; font: 300 clamp(24px, 2vw, 32px)/1.15 Ivar, Georgia, serif; }
.tc-record { background: #292b24; border: 1px solid #494a3d; border-radius: 12px; margin-bottom: 8px; }
.tc-record[open] { color: #312b21; background: linear-gradient(120deg, #f4eee1, #ebe1d0); border-color: #efe6d5; }
.tc-record > summary, .tc-source > summary { list-style: none; cursor: pointer; }
.tc-record > summary::-webkit-details-marker, .tc-source > summary::-webkit-details-marker { display: none; }
.tc-record > summary { padding: 14px 17px; display: flex; justify-content: space-between; gap: 14px; align-items: center; border-radius: 11px; }
.tc-record > summary > span:first-child { display: grid; gap: 3px; min-width: 0; }
.tc-record > summary small, .tc-compare dt { font-size: 11.5px; letter-spacing: .015em; line-height: 1.45; }
.tc-record > summary small { color: #ccc2b2; }
.tc-record[open] > summary small { color: #6d5d49; }
.tc-record > summary strong { font-weight: 540; font-size: clamp(15px, 1.08vw, 18px); line-height: 1.35; }
.tc-disclose { flex: 0 0 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; }
.tc-record[open] > summary .tc-disclose { background-size: 100% 1px, 0 0; }
.tc-body { padding: 0 17px 15px; }
.tc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; border-block: 1px solid #d2c7b4; padding: 10px 0; margin: 0; }
.tc-compare dt { color: #695844; margin-bottom: 3px; }
.tc-compare dd { margin: 0; font-size: 14px; font-weight: 550; line-height: 1.4; }
.tc-compare del { font-weight: 400; color: #776957; }
.tc-source > summary, .tc-board-link { display: inline-flex; align-items: center; min-height: 44px; }
.tc-source > summary { gap: 9px; font-size: 12px; color: #51422f; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #a49278; }
.tc-source > summary::before { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 1px 1px 0 0; transform: rotate(45deg); }
.tc-source[open] > summary::before { transform: rotate(135deg); }
.tc-body .tc-source p { border-left: 2px solid #b49a75; padding-left: 12px; margin: 0 0 12px; color: #534737; font-size: 13px; line-height: 1.55; }
.tc-body b { color: #463b2d; font-weight: 600; }
.tc-body .tc-result, .tc-body .tc-thread { margin: 0; color: #645644; font-size: 13px; line-height: 1.55; }
.tc-body .tc-thread { border-top: 1px solid #d2c7b4; padding-top: 11px; }
.tc-body .tc-compare + .tc-result { margin-top: 10px; }
.tc-action { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; padding: 8px 14px; background: #34392e; color: #fff9ec; border: 1px solid transparent; border-radius: 6px; font: 550 12px Inter, Arial, sans-serif; }
.tc-action[hidden] { display: none; }
.tc-record[data-done] .tc-action { color: #394232; border-color: #a8ac9d; background: transparent; }
.tc-record[data-done] .tc-result { color: #385037; font-weight: 550; }
.tc-board-link { color: #ebd4ac; gap: 8px; font-size: 12px; line-height: 1.5; padding-top: 5px; text-underline-offset: 4px; }
.tc-amount { white-space: nowrap; font-size: 14px; font-weight: 550; font-variant-numeric: tabular-nums; }
.tc-opening { background: #e7ded1; border-block: 1px solid #d8ccba; }
.opening-grid { padding-block: clamp(50px, 6vw, 100px); }
.opening-copy h2, .tc-invite h2 { margin: 18px 0; font-size: clamp(44px, 4.5vw, 76px); line-height: 1.05; }
.opening-copy .text-link { margin-top: 14px; }
.tc-mail { background: #faf6ee; border: 1px solid #d5c9b7; border-radius: 14px; overflow: hidden; color: #383228; margin: 0 auto; width: min(100%, 610px); box-shadow: 0 18px 45px -34px #4b3428a0; }
.tc-mail figcaption { padding: 16px 22px; gap: 9px; border-bottom: 1px solid #d8cebd; background: #efe8dc; font-size: 13px; color: #4b4237; }
.tc-mail figcaption img { filter: brightness(0) saturate(100%) invert(24%) sepia(15%) saturate(504%) hue-rotate(356deg); }
.tc-mail figcaption span:last-child { margin-left: auto; color: #71624f; }
.tc-mail-content { padding: clamp(19px, 2.3vw, 38px); }
.tc-mail-content h3 { font: 300 clamp(29px, 2.8vw, 41px)/1.1 Ivar, Georgia, serif; margin: 8px 0 18px; }
.mail-address { display: grid; gap: 6px; border-block: 1px solid #ded3c2; padding: 12px 0; }
.mail-address div { display: grid; grid-template-columns: 27px 1fr; align-items: baseline; gap: 4px; font-size: 13px; }
.mail-address dt { color: #776653; }
.mail-address dd { margin: 0; }
.tc-mail-content p { color: #4d4439; margin: 10px 0; font-size: 14px; line-height: 1.55; }
.calendar-slip { display: flex; gap: 11px; align-items: center; border-left: 2px solid #ac8a63; padding: 3px 0 3px 11px; margin-top: 17px; }
.calendar-slip > span:first-child { font-size: 19px; color: #796144; }
.calendar-slip strong, .calendar-slip small { display: block; }
.calendar-slip strong { font-size: 12px; font-weight: 550; }
.calendar-slip small { font-size: 11.5px; color: #6c604f; margin-top: 3px; line-height: 1.5; }
.tc-invite { padding-block: clamp(56px, 6vw, 100px); display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.tc-invite .tc-actions { margin: 0; }
.tc-story :is(summary, button, a):focus-visible { outline: 2px solid #92713f; outline-offset: 3px; }
.tc-desk :is(.tc-board-link,.tc-record:not([open]) > summary):focus-visible { outline-color: #e8c994; }
@media (hover: hover) {
  .tc-switch label:hover { background: #ffffff0b; }
  .tc-board-link:hover { text-decoration: underline; }
  .tc-action:hover { background: #46513a; }
  .tc-record[data-done] .tc-action:hover { background: #e1e0d1; }
}
@media (min-width: 1600px) { .tc-width { width: min(86%, 1410px); } }
@media (max-width: 920px) {
  .tc-cover, .opening-grid { grid-template-columns: 1fr; gap: 32px; }
  .tc-cover, .opening-grid, .tc-invite { width: min(88%, 705px); }
  .tc-lead { padding-top: 0; }
  .tc-story h1 { font-size: clamp(54px, 8.5vw, 76px); }
  .tc-story .tc-intro { max-width: 53ch; }
  .tc-mail { width: 100%; }
  .tc-invite { align-items: start; flex-direction: column; }
}
@media (max-width: 490px) {
  .tc-cover, .opening-grid, .tc-invite { width: calc(100% - 36px); }
  .tc-cover { padding: 32px 0 42px; gap: 23px; }
  .tc-story h1 { margin: 15px 0; font-size: clamp(47px, 12.5vw, 62px); }
  .tc-actions { margin-top: 18px; gap: 4px 15px; }
  .tc-story .primary-link, .tc-story .text-link { font-size: 12px; }
  .tc-story .primary-link { padding-inline: 12px; gap: 8px; }
  .tc-story .tc-intro { font-size: 15px; }
  .tc-desk { border-radius: 15px; padding: 17px 13px 10px; }
  .tc-desk h2 { margin-top: 18px; }
  .tc-switch label { min-height: 66px; }
  .tc-switch label span { font-size: 11.5px; }
  .tc-record > summary { padding: 13px 12px; }
  .tc-body { padding: 0 12px 13px; }
  .tc-board h3 { margin-top: 17px; }
  .tc-queue { margin-top: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  .tc-switch label, .tc-action { transition: background-color .15s, border-color .15s; }
  .tc-board { animation: tc-board-in .18s ease-out; }
  @keyframes tc-board-in { from { opacity: .6; transform: translateY(3px); } to { opacity: 1; transform: none; } }
}
.tc-template-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 20px;
  background: #f5efe4;
  border-bottom: 1px solid #d8cebd;
  color: #6e5d48;
  font-size: 12px;
}
.tc-template-tools[hidden] { display: none; }
.tc-template-tools button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  gap: 21px;
  padding: 6px 3px;
  color: #473b2d;
  background: transparent;
  border: none;
  font: 550 13px Inter, Arial, sans-serif;
  text-underline-offset: 4px;
  text-decoration: underline;
  text-decoration-color: #aa967b;
}
.tc-template-tools button[aria-pressed="true"] { color: #36543e; }
.mail-terms { display: grid; gap: 4px; margin: 14px 0; }
.mail-terms div { display: flex; flex-wrap: wrap; gap: 3px 12px; align-items: baseline; }
.mail-terms dt, .mail-terms dd { font-size: 13px; line-height: 1.5; margin: 0; }
.mail-terms dt { color: #6d604f; }
.tc-mail [data-slot] { font-weight: 550; }
.tc-mail[data-unfilled] [data-slot] { color: #74654f; font-style: italic; font-weight: 400; }
@media (prefers-reduced-motion: no-preference) {
  .tc-mail[data-filled] [data-slot] { animation: tc-draft-fill .38s ease-out; }
  @keyframes tc-draft-fill { from { background-color: #dfceb0; } to { background-color: transparent; } }
}
.tc-board h3 small {
  display: inline-block;
  vertical-align: middle;
  margin-left: 4px;
  color: #d3c3a8;
  font: 500 10px/1.4 Inter, Arial, sans-serif;
  letter-spacing: .04em;
  white-space: nowrap;
}

.tc-intake { margin-top:28px; border-left:2px solid #b19774; padding-left:16px; }
.tc-intake h2 { margin:6px 0; font:400 clamp(24px,2vw,34px)/1.12 Ivar,Georgia,serif; letter-spacing:-.025em; }
.tc-intake > p:last-child { margin:0; color:#635646; font:400 14px/1.55 Inter,Arial,sans-serif; max-width:43ch; }
.tc-operations { border-block:1px solid #d6c9b6; background:#e7ded1; }
.tc-account-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(36px,5.4vw,92px); align-items:start; padding-block:clamp(48px,6vw,102px); }
.tc-accounting { border-bottom:1px solid #d2c5b2; }
.tc-account-desk { min-width:0; padding:clamp(17px,2.1vw,34px); background:#1b1c18; color:#f4ede0; border:1px solid #414136; border-radius:18px; box-shadow:0 17px 42px -30px #36291e80; }
.account-bar { display:flex; align-items:center; gap:9px; padding-bottom:15px; border-bottom:1px solid #4d4b3d; color:#f1e6d2; font-size:13px; }
.account-bar img { filter:brightness(0) saturate(100%) invert(84%) sepia(25%) saturate(464%) hue-rotate(349deg); }
.account-bar span:last-child { margin-left:auto; color:#cabda7; font-size:12px; }
.account-tabs { display:flex; align-items:center; gap:clamp(3px,1.1vw,22px); border-bottom:1px solid #534f40; }
.account-tabs a { display:inline-flex; align-items:center; min-height:44px; padding:4px 6px; color:#c6b9a4; font:500 13px/1.3 Inter,Arial,sans-serif; border-bottom:2px solid transparent; }
.account-tabs a[aria-selected="true"] { color:#fff2d8; border-bottom-color:#e2bc80; }
.account-view { padding-top:25px; }
.account-view[hidden],.invoice-actions[hidden],.account-action-row button[hidden] { display:none; }
.tc-story .account-kicker,.income-total small,.receipt-top,.receipt-meta small { margin:0; font:500 10px/1.55 Inter,Arial,sans-serif; text-transform:uppercase; letter-spacing:.12em; }
.tc-story .account-kicker { color:#c5b394; }
.account-view h3 { margin:10px 0 18px; color:#faf2e5; font:300 clamp(32px,3.1vw,51px)/1.02 Ivar,Georgia,serif; letter-spacing:-.035em; }
.account-view h3 em { color:#d5ba96; }
.account-view p:not(.account-kicker) { color:#d1c8b9; font:400 14px/1.55 Inter,Arial,sans-serif; margin:12px 0; }
.account-facts { margin:0; }
.account-facts div,.income-chart figcaption,.account-letter>span:first-child { display:flex; justify-content:space-between; align-items:baseline; gap:9px; }
.account-facts div { border-top:1px solid #4e4c40; padding:10px 0; }
.account-facts dt,.account-facts dd,.receipt-meta span { margin:0; font-size:14px; line-height:1.45; }
.account-facts dt { color:#c9bdab; }
.account-facts dd { text-align:right; font-variant-numeric:tabular-nums; }
.invoice-actions { display:flex; flex-wrap:wrap; align-items:center; gap:7px 10px; margin-top:15px; }
.invoice-actions label { color:#d0c4b0; font-size:12px; }
.invoice-actions select,.account-desk-button,.invoice-actions button,.account-action-row button { min-height:44px; border-radius:6px; font:550 12px/1.4 Inter,Arial,sans-serif; }
.invoice-actions select { min-width:0; max-width:100%; border:1px solid #777362; background:#24251f; color:#f4ead8; padding:6px; }
.invoice-actions button,.account-action-row button { padding:8px 13px; border:1px solid #d3c1a5; background:#ecdeca; color:#332e25; }
.account-letter { background:#302f28; border-left:2px solid #c9a67a; padding:14px 17px; }
.account-letter > span:first-child,.paper-file { color:#e4d9c6; font-size:13px; }
.paper-file { display:inline-flex; flex-wrap:wrap; align-items:baseline; gap:8px; border-top:1px solid #5c5849; padding:9px 0 1px; }
.paper-file small { color:#c8bcaa; font-size:11px; }
.account-action-row { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; margin-top:10px; }
.tc-paper { color:#362e24; border:1px solid #d7cbb7; border-radius:3px; background:linear-gradient(150deg,#f8f2e6,#e9ddc9); padding:clamp(17px,2.2vw,36px); box-shadow:0 7px 18px #0506033d; }
.receipt-top,.receipt-meta { display:flex; justify-content:space-between; gap:9px; }
.receipt-top { border-bottom:1px solid #c9bca7; padding-bottom:12px; align-items:center; color:#675641; }
.receipt-seal { display:inline-flex; align-items:center; padding:4px 8px; border:1px solid #7d9178; border-radius:3px; color:#354d3a; }
.tc-paper h3 { color:#362e24; margin:16px 0; }
.tc-paper .account-facts div { border-color:#cdbfa9; }
.tc-paper .account-facts dt,.receipt-meta small { color:#65543f; }
.tc-paper .account-facts div:last-child { font-weight:650; }
.receipt-meta { margin:0 0 16px; flex-wrap:wrap; }
.receipt-meta div { display:grid; gap:3px; }
.income-total small { color:#d1bea2; display:block; }
.income-total strong { display:block; font:300 clamp(45px,4.4vw,69px)/1.09 Ivar,Georgia,serif; letter-spacing:-.04em; font-variant-numeric:lining-nums; }
.income-details { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid #524e40; padding:12px 0; margin:12px 0 16px; gap:8px; }
.income-details dt { font:400 12px/1.4 Inter,Arial,sans-serif; color:#d1c3ac; }
.income-details dd { margin:3px 0 0; font:400 clamp(19px,1.6vw,26px)/1.2 Ivar,Georgia,serif; }
.income-chart { margin:0; }
.income-chart figcaption { color:#d8cbb7; font:500 12px/1.4 Inter,Arial,sans-serif; }
.income-bars { display:grid; grid-template-columns:repeat(11,minmax(0,1fr)); align-items:end; gap:4px; margin-top:9px; }
.income-month { min-width:0; text-align:center; color:#d0c4b1; font:400 10px/1.5 Inter,Arial,sans-serif; }
.income-bar { height:calc(var(--count)*2.3px); display:block; background:#ae9978; border-radius:2px 2px 0 0; margin:0 9% 4px; }
.income-month[data-month="Nov"] .income-bar { background:#efd0a4; }
.account-question { border-top:1px solid #575244; }
.account-question summary { cursor:pointer; padding:13px 18px 13px 0; color:#f3e9d7; font:500 14px/1.45 Inter,Arial,sans-serif; }
.account-question summary::marker { color:#c9b392; }
.account-question p { padding-left:12px; border-left:1px solid #b89970; }
.tc-account-desk :is(a,button,select,summary):focus-visible { outline:2px solid #e4c38f; outline-offset:2px; }
@media (min-width:921px) {
  .tc-lead,.opening-copy { align-self:start; position:sticky; top:clamp(88px,14vh,142px); }
  .tc-lead { padding-top:0; }
  .tc-operations .opening-grid { align-items:start; }
}
@media (max-width:920px) {
  .tc-account-layout { grid-template-columns:1fr; width:min(88%,705px); gap:29px; }
  .tc-cover .tc-mail { order:1; }
}
@media (max-width:490px) {
  .tc-account-layout { width:calc(100% - 36px); gap:22px; }
  .tc-intake { margin-top:16px; padding-left:10px; }
  .account-tabs { gap:0; justify-content:space-between; }
  .account-tabs a { padding:5px 3px; font-size:12px; }
  .account-view { padding-top:17px; }
  .income-details dt { font-size:11px; }
  .income-bars { gap:1px; }
  .income-month { font-size:9px; }
}
@media (prefers-reduced-motion:no-preference) {
  .account-view:not([hidden]) { animation:tc-ledger-in 200ms ease-out both; }
  @keyframes tc-ledger-in { from { opacity:.65; transform:translateY(4px); } to { opacity:1; transform:none; } }
}
.tc-tour-guide:empty { display:none; }
.tc-story .tc-tour-guide { color:#d1bea2; font:500 11px/1.45 Inter,Arial,sans-serif; letter-spacing:.025em; margin:14px 0 0; }
.tc-mail .tc-tour-guide { color:#6c5a43; padding:0 clamp(19px,2.3vw,38px) 14px; margin:0; }
.income-chart select { appearance:auto; min-height:36px; padding:2px 6px; border:1px solid #686151; border-radius:4px; background:#262621; color:#f1e7d7; font:500 12px Inter,Arial,sans-serif; }
.income-month[data-month="Nov"] .income-bar { background:#ae9978; }
.income-month[data-selected] .income-bar { background:#efd0a4; }
.income-chart output { display:block; margin-top:6px; color:#dbcfb9; font:500 12px/1.5 Inter,Arial,sans-serif; }

.tc-desk .tc-vendor-balance { display:flex; align-items:baseline; justify-content:flex-end; gap:.55em; margin:8px 0 0; color:#d6cbb7; font:400 12px/1.5 Inter,Arial,sans-serif; }
.tc-vendor-balance strong { color:#f3e8d9; font-weight:550; font-variant-numeric:tabular-nums; }
