.cc-page {
  --cc-ink: #27332b;
  --cc-muted: #5e655b;
  --cc-rule: #cfd1c5;
  --cc-accent: #8d412b;
  --cc-serif: var(--font-title, "Songti SC", Georgia, serif);
  max-width: 1300px;
  min-width: 0;
  margin-inline: auto;
  padding-bottom: 54px;
  color: var(--cc-ink);
  container: account-desk / inline-size;
}
.cc-page *, .cc-page *::before, .cc-page *::after { box-sizing: border-box; }
.cc-page :is(h1,h2,h3,p,ul) { margin: 0; }
.cc-page a, .cc-page button { font: inherit; color: inherit; text-decoration: none; }
.cc-page button { cursor: pointer; }
.cc-page :is(a,button):focus-visible { outline: 2px solid var(--cc-accent); outline-offset: 3px; }
.cc-header { padding: 0 0 clamp(20px,2.2cqw,32px); border-bottom: 1px solid var(--cc-rule); }
.cc-page .cc-header h1 { font: 660 clamp(32px,3.5cqw,48px)/1.18 var(--cc-serif); letter-spacing: -.05em; }
.cc-header p { margin-top: 9px; color: var(--cc-muted); font-size: 15px; line-height: 1.65; }
.cc-desk { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,.36fr); align-items: start; gap: clamp(24px,3.4cqw,46px); padding-top: 27px; }
.cc-side { grid-column: 2; grid-row: 1; min-width: 0; }
.cc-business { grid-column: 1; grid-row: 1; min-width: 0; }
.cc-account { border: 1px solid var(--cc-rule); border-top: 0; background: #fffef8; }
.cc-card-head { display: flex; align-items: center; gap: 13px; min-height: 102px; padding: 19px; color: #fffdf1; background: #344b3c; }
.cc-card-person { min-width: 0; }
.cc-card-head h2 { color: inherit; font: 620 clamp(20px,2.1cqw,28px)/1.3 var(--cc-serif); overflow-wrap: anywhere; }
.cc-card-person p { margin-top: 4px; color: #e0e7d9; font-size: 13px; line-height: 1.4; }
.cc-nameplate { flex: 0 0 31px; height: 37px; position: relative; }
.cc-nameplate::before,.cc-nameplate::after { content: ''; position: absolute; width: 20px; height: 28px; border: 1px solid #e8ebd5; transform: skewY(-10deg) rotate(-3deg); }
.cc-nameplate::before { left: 0; top: 2px; }
.cc-nameplate::after { left: 9px; top: 8px; background: #c7cba4; border-color: #c7cba4; }
.cc-visibility { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 2px 8px; margin-inline: 17px; padding: 13px 0; border-bottom: 1px solid var(--cc-rule); color: var(--cc-muted); font-size: 13px; }
.cc-visibility strong { font-weight: 550; }
.cc-visibility .is-listed { color: #2c583a; }
.cc-account-links { padding: 3px 17px; }
.cc-account-links a, .cc-opportunities a { min-height: 43px; display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 560; }
.cc-account-links small { font-size: 12px; font-weight: 440; color: var(--cc-muted); }
.cc-account-links a > span, .cc-opportunities a > span { margin-left: auto; color: #6b7465; }
.cc-account-links a:hover,.cc-opportunities a:hover { color: var(--cc-accent); text-decoration: underline; text-underline-offset: 4px; }
.cc-opportunities { margin-top: 24px; border-top: 1px solid #879181; }
.cc-opportunities h2 { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--cc-muted); font-weight: 500; }
.cc-opportunities a { border-bottom: 1px solid var(--cc-rule); }
.cc-index { display: flex; flex-wrap: wrap; gap: 0 clamp(12px,2.7cqw,38px); align-items: stretch; border-bottom: 1px solid var(--cc-rule); }
.cc-index a { position: relative; display: flex; align-items: center; gap: 7px; padding: 0 0 12px; color: var(--cc-muted); min-height: 43px; font-size: clamp(14px,1.4cqw,18px); font-weight: 600; }
.cc-index a[aria-current] { color: var(--cc-ink); }
.cc-index a[aria-current]::after { content: ''; position: absolute; inset: auto 0 -1px; height: 3px; background: var(--cc-accent); }
.cc-index a:hover { color: var(--cc-accent); }
.cc-number { color: var(--cc-muted); font: 500 13px/1.4 ui-monospace,monospace; font-variant-numeric: tabular-nums; }
.cc-pending { font-size: 12px; color: var(--cc-accent); font-weight: 600; }
.cc-activity { min-width: 0; padding-top: 21px; }
.cc-list-head,.cc-head-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; }
.cc-list-head { margin-bottom: 14px; min-height: 41px; }
.cc-head-empty:not(:has(button)) { min-height: 0; margin: 0; }
.cc-head-empty h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cc-page .cc-list-head h2 { font: 620 clamp(22px,2.1cqw,29px)/1.3 var(--cc-serif); letter-spacing: -.035em; }
.cc-list-head p { color: var(--cc-accent); font-size: 14px; line-height: 1.5; }
.cc-page .cc-create { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 16px; border: 1px solid #31543e; border-radius: 3px; background: #31543e; color: #fffdf5; font-size: 14px; font-weight: 600; }
.cc-page .cc-create:hover { background: #244232; }
.cc-page .cc-refresh, .cc-page .cc-secondary { min-height: 36px; padding: 5px 0; background: none; border: 0; font-size: 13px; color: var(--cc-muted); text-decoration: underline; text-underline-offset: 4px; }
.cc-columns,.cc-list li { display: grid; grid-template-columns: minmax(0,1fr) minmax(100px, .23fr); gap: 13px; align-items: baseline; }
.cc-columns { padding: 8px 12px; background: #eeeee5; color: var(--cc-muted); font-size: 13px; }
.cc-list { padding: 0; list-style: none; }
.cc-list li { padding: 14px 12px; border-bottom: 1px solid var(--cc-rule); }
.cc-list li:focus-within { background: #f2f3ea; }
.cc-row-main { min-width: 0; }
.cc-page .cc-row-title { min-height: 30px; display: inline-block; text-align: start; padding: 2px 0; border: 0; background: transparent; color: var(--cc-ink); font: 650 16px/1.6 var(--font-sans); overflow-wrap: anywhere; }
.cc-page .cc-row-title:hover { color: var(--cc-accent); text-decoration: underline; text-underline-offset: 4px; }
.cc-row-main p { color: var(--cc-muted); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.cc-page .cc-secondary { display: inline-flex; align-items: center; }
.cc-state { color: #4c5e4e; font-size: 14px; overflow-wrap: anywhere; }
.cc-needs-reply { color: var(--cc-accent); font-weight: 650; }
.cc-empty { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); min-height: 225px; background: #f0efe5; }
.cc-empty-copy { min-width: 0; align-self: center; padding: clamp(22px,2.7cqw,41px); }
.cc-empty h3 { font: 640 clamp(23px,2.25cqw,31px)/1.35 var(--cc-serif); letter-spacing: -.04em; }
.cc-empty p { max-width: 27em; margin: 10px 0 16px; color: #535e50; font-size: 14px; line-height: 1.75; }
.cc-empty-photo { background: url('./assets/field-notes.jpg') 52% center / cover no-repeat; }
.cc-business:has([data-console-tab="cases"][aria-current]) .cc-empty-photo { background-image: url('./assets/desktop-studio.jpg'); }
.cc-business:has([data-console-tab="supply"][aria-current]) .cc-empty-photo { background-image: url('./assets/supply-selection.jpg'); }
@container account-desk (max-width: 820px) {
  .cc-desk { gap: 20px; grid-template-columns: minmax(0,1fr) 220px; }
  .cc-index { gap: 0 12px; }
  .cc-empty { grid-template-columns: minmax(0,1.45fr) minmax(0,.75fr); }
  .cc-pending { font-size: 11px; }
}
@container account-desk (max-width: 680px) {
  .cc-desk { display: flex; flex-direction: column; gap: 20px; padding-top: 15px; }
  .cc-side,.cc-business { width: 100%; }
  .cc-account { display: grid; grid-template-columns: minmax(0,1fr) auto; border: 1px solid var(--cc-rule); }
  .cc-card-head { min-height: 0; padding: 11px 12px; background: #edf0e4; color: var(--cc-ink); gap: 10px; }
  .cc-nameplate { display: none; }
  .cc-card-head h2 { font-size: 19px; }
  .cc-card-person p { color: var(--cc-muted); font-size: 12px; }
  .cc-visibility { margin: 0; padding: 10px 12px; align-items: end; justify-content: center; flex-direction: column; border: 0; background: #edf0e4; font-size: 12px; }
  .cc-account-links { grid-column: 1/-1; display: flex; flex-wrap: wrap; padding: 0; }
  .cc-account-links a { flex: 1; min-width: max-content; padding: 0 12px; font-size: 13px; }
  .cc-account-links a + a { border-left: 1px solid var(--cc-rule); }
  .cc-opportunities { display: flex; align-items: center; flex-wrap: wrap; gap: 0 16px; margin-top: 7px; border: 0; }
  .cc-opportunities h2 { margin: 0; font-size: 12px; }
  .cc-opportunities a { min-height: 34px; border: 0; font-size: 13px; gap: 4px; }
  .cc-opportunities a > span { margin: 0; }
  .cc-index { justify-content: space-between; gap: 0 7px; }
  .cc-index a { min-height: 40px; font-size: 14px; gap: 4px; padding-bottom: 7px; flex-wrap: wrap; }
  .cc-number { font-size: 12px; }
  .cc-pending { font-size: 0; }
  .cc-pending::after { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cc-accent); }
  .cc-activity { padding-top: 15px; }
}
@container account-desk (max-width: 460px) {
  .cc-header { padding-bottom: 13px; }
  .cc-header p { font-size: 13px; margin-top: 5px; }
  .cc-empty { display: block; min-height: 0; }
  .cc-empty-copy { padding: 21px; }
  .cc-empty-photo { display: none; }
  .cc-columns,.cc-list li { grid-template-columns: minmax(0,1fr) max-content; gap: 8px; padding-inline: 4px; }
  .cc-state { font-size: 13px; max-width: 7em; }
}
.cc-page .cc-row-title::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 2px .16em 7px;
  border-top: 1px solid #788273;
  border-right: 1px solid #788273;
  transform: rotate(45deg);
}
.cc-admin-link { display:inline-block; margin-top:12px; color:var(--desk-accent, #a03b24); font-size:15px; font-weight:600; text-underline-offset:3px; }
