/* Paper content, quiet glass controls, and widths based on the workspace. */
.customer-growth { --growth-border:#e2e2e2; --growth-muted:#626262; --growth-ease:cubic-bezier(.32,.72,0,1); container:customer-growth / inline-size; color:#202020; min-width:0; padding-bottom:80px; font-variant-numeric:tabular-nums; }
.customer-growth *, .customer-growth *::before, .customer-growth *::after { box-sizing:border-box; }
.customer-growth h1 { margin:8px 0 0; font-size:36px; line-height:40px; font-weight:600; letter-spacing:-.025em; }
.customer-growth h2 { margin:0; font-size:20px; line-height:28px; font-weight:600; letter-spacing:-.015em; }
.customer-growth h3 { margin:0 0 12px; font-size:16px; line-height:24px; font-weight:600; }
.customer-growth p { line-height:1.7; overflow-wrap:break-word; }
.growth-kicker { color:var(--growth-muted); font-size:12px; line-height:16px; letter-spacing:.08em; }
.growth-head { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:24px; margin-bottom:32px; }
.growth-head > div:first-child { flex:1 1 320px; min-width:0; }
.growth-head > .growth-actions { flex:0 0 auto; }
.growth-head p { color:var(--growth-muted); max-width:56ch; margin:12px 0 0; font-size:14px; }
.growth-grid { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:24px; align-items:start; }
.growth-grid > div { min-width:0; }
.growth-card { min-width:0; background:#fff; border:1px solid var(--growth-border); border-radius:24px; padding:24px; margin-bottom:24px; box-shadow:0 4px 24px rgba(0,0,0,.025); }
.growth-card-muted { background:rgba(255,255,255,.56); box-shadow:inset 0 1px 0 #fff; }
.growth-card-muted p { font-size:14px; color:var(--growth-muted); }
.growth-card-muted .growth-button { margin-top:8px; }
.growth-toolbar,.growth-actions,.growth-tabs { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.growth-toolbar { justify-content:space-between; gap:12px 24px; margin-bottom:16px; }
.growth-toolbar > div:first-child { min-width:0; flex:1 1 280px; }
.growth-toolbar h2 { overflow-wrap:break-word; }
.growth-toolbar .growth-actions { flex:0 1 auto; }
.growth-button { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; min-height:44px; max-width:100%; padding:8px 16px; border:1px solid #d4d4d4; border-radius:12px; background:#fff; color:#272727; font:inherit; font-size:14px; line-height:24px; font-weight:500; cursor:pointer; text-align:center; white-space:normal; word-break:normal; transition:background-color 200ms var(--growth-ease),border-color 200ms var(--growth-ease),box-shadow 200ms var(--growth-ease),transform 200ms var(--growth-ease); }
.growth-button:hover:not(:disabled) { background:#f5f5f5; border-color:#a8a8a8; box-shadow:0 2px 8px rgba(0,0,0,.04); }
.growth-button:active:not(:disabled) { transform:translateY(1px); }
.growth-button-primary { background:#202020; border-color:#202020; color:#fff; }
.growth-button-primary:hover:not(:disabled) { background:#414141; border-color:#414141; }
.growth-button:disabled { opacity:.55; cursor:default; }
.growth-list { list-style:none; padding:0; margin:0; }
.growth-list li + li { border-top:1px solid #ececec; }
.growth-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:24px; align-items:center; padding:24px 0; }
.growth-row > div { min-width:0; }
.growth-row > .growth-button { white-space:nowrap; }
.growth-row strong,.growth-row span,.growth-row small { display:block; overflow-wrap:break-word; }
.growth-row strong { font-size:16px; line-height:24px; font-weight:600; }
.growth-row span { font-size:14px; line-height:24px; color:var(--growth-muted); margin-top:4px; }
.growth-row small,.growth-note { font-size:12px; line-height:20px; color:var(--growth-muted); }
.growth-row .growth-row-meta { display:flex; flex-wrap:wrap; gap:4px 16px; margin-top:8px; }
.growth-row-meta span { margin:0; font-size:12px; line-height:20px; }
.growth-row-meta time { font-variant-numeric:tabular-nums; }
.growth-row .growth-next { margin-top:8px; color:#303030; }
.growth-next em { font-style:normal; color:var(--growth-muted); margin-right:8px; font-size:12px; white-space:nowrap; }
.growth-status { display:inline-block; font-size:12px; line-height:20px; padding:4px 8px; border-radius:8px; background:#eee; color:#555; white-space:nowrap; }
.growth-alert { padding:12px 16px; margin:0 0 24px; border:1px solid #d4d4d4; border-radius:12px; background:#f7f7f7; font-size:14px; line-height:24px; overflow-wrap:anywhere; }
.growth-alert:empty { display:none; }
.growth-alert[data-kind="error"] { border-color:#444; color:#222; background:#ececec; }
.growth-alert[data-kind="unknown"] { border-color:#777; color:#333; background:#f1f1f1; }
.growth-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:24px; }
.growth-field { display:grid; align-content:start; gap:8px; min-width:0; color:#4a4a4a; font-size:14px; line-height:24px; }
.growth-field-wide { grid-column:1 / -1; }
.growth-field input,.growth-field select,.growth-field textarea { width:100%; min-width:0; min-height:44px; padding:8px 12px; border:1px solid #cfcfcf; border-radius:12px; background:#fff; color:#222; font:inherit; font-size:16px; line-height:24px; transition:border-color 200ms var(--growth-ease),box-shadow 200ms var(--growth-ease); }
.growth-field textarea { min-height:128px; resize:vertical; }
.growth-field :is(input,select,textarea):hover { border-color:#999; }
.growth-detail-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 32px; margin:16px 0 0; }
.growth-detail-grid div { min-width:0; padding:16px 0; border-bottom:1px solid #ededed; }
.growth-detail-grid dt { font-size:12px; line-height:20px; color:var(--growth-muted); }
.growth-detail-grid dd { margin:4px 0 0; font-size:16px; line-height:24px; overflow-wrap:anywhere; white-space:pre-wrap; }
.growth-section { padding-top:24px; border-top:1px solid #e9e9e9; margin-top:24px; }
.growth-section:first-child { border-top:0; padding-top:0; margin-top:0; }
.growth-tabs { flex-wrap:nowrap; gap:8px; border-bottom:1px solid var(--growth-border); margin:24px 0; overflow-x:auto; scrollbar-width:thin; scroll-padding-inline:4px; }
.growth-tabs button { flex:0 0 auto; border:0; border-bottom:2px solid transparent; background:none; padding:12px; min-height:48px; font:inherit; font-size:14px; line-height:24px; color:var(--growth-muted); cursor:pointer; white-space:nowrap; transition:color 200ms var(--growth-ease),border-color 200ms var(--growth-ease),background-color 200ms var(--growth-ease); }
.growth-tabs button:hover { color:#202020; background:#f5f5f5; }
.growth-tabs button[aria-selected="true"] { border-color:#202020; color:#202020; font-weight:600; }
.growth-table-wrap { max-width:100%; overflow-x:auto; margin-top:16px; scrollbar-width:thin; scroll-padding-inline:12px; }
.growth-table-hint { display:none; margin:16px 0 -8px; font-size:12px; line-height:20px; color:var(--growth-muted); }
.growth-table { border-collapse:collapse; width:100%; min-width:640px; font-size:14px; line-height:24px; }
.growth-table th,.growth-table td { padding:16px 12px; border-bottom:1px solid #e2e2e2; text-align:left; vertical-align:top; min-width:80px; }
.growth-table th { color:#555; font-size:12px; line-height:20px; font-weight:600; background:#f7f7f7; white-space:nowrap; }
.growth-table td:first-child { min-width:200px; max-width:32ch; overflow-wrap:anywhere; }
.growth-table td:not(:first-child) { white-space:nowrap; }
.growth-table td p { margin:0; }
.customer-growth :focus-visible { outline:2px solid #303030; outline-offset:3px; }
.growth-technical { margin:16px 0; padding:12px 0; border-top:1px solid #e9e9e9; color:#555; font-size:12px; line-height:20px; }
.growth-technical summary { cursor:pointer; min-height:44px; padding-block:12px; }
.growth-technical dl { margin-top:12px; }
/* Viewport fallback and container sizing protect split workspaces and zoom. */
@media(max-width:1200px) { .growth-grid { grid-template-columns:1fr; } .growth-head h1 { font-size:30px; line-height:36px; } }
@container customer-growth (max-width:880px) { .growth-grid { grid-template-columns:1fr; } }
@container customer-growth (max-width:600px) {
  .growth-row { grid-template-columns:1fr; gap:12px; padding-block:16px; }
  .growth-row > .growth-button { justify-self:start; }
  .growth-fields,.growth-detail-grid { grid-template-columns:1fr; }
  .growth-head { gap:16px; }
  .growth-table-hint { display:block; }
}
@media(max-width:600px) {
  .customer-growth h1 { font-size:30px; line-height:36px; }
  .growth-head { gap:16px; margin-bottom:24px; }
  .growth-head > div:first-child { flex-basis:100%; }
  .growth-card { padding:24px 16px; border-radius:16px; }
  .growth-fields,.growth-detail-grid { grid-template-columns:1fr; gap:16px; }
  .growth-row { grid-template-columns:1fr; gap:12px; padding-block:16px; }
  .growth-row .growth-row-meta,.growth-row .growth-next { margin-top:4px; }
  .growth-row > .growth-button { justify-self:start; }
  .growth-toolbar > div:first-child { flex-basis:100%; }
  .growth-tabs { gap:0; }
  .growth-tabs button { padding-inline:12px; }
  .growth-table-hint { display:block; }
}
@media(prefers-reduced-motion:no-preference) {
  .growth-card { animation:growth-surface-in 240ms var(--growth-ease) both; }
  @keyframes growth-surface-in { from { opacity:.75; transform:translateY(8px); } to { opacity:1; transform:none; } }
}
@media(prefers-reduced-motion:reduce) { .customer-growth *, .customer-growth *::before, .customer-growth *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; } .growth-button:active:not(:disabled) { transform:none; } }
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more) { .growth-card-muted { background:#fff; } .growth-card { box-shadow:none; } }
@media(forced-colors:active) { .growth-card,.growth-button,.growth-alert,.growth-tabs button[aria-selected="true"] { border:1px solid CanvasText; box-shadow:none; } }
