/* The clean layout, settings screens (Basecamp 10492667707). Every selector here starts
   with html[data-layout="clean"]; see docs/clean-layout.md.

   Settings is four named sections (a list down the left on a desk, a plain
   list that opens on a phone), each a stack of cards that say what is set
   and offer the one change. Account and billing, Pause or cancel and the
   page after checkout share the same card pieces. The script is
   clean-settings (the .js beside this sheet). */

/* ============================================================
   THE PAGE
   ============================================================ */
html[data-layout="clean"] .cl-set { display: flex; flex-direction: column; gap: 14px; }
html[data-layout="clean"] .cl-set [hidden] { display: none; }

/* The moment before the answers arrive, a hand-off to sign-in or Billing,
   and a page that did not load: one white card with one plain line. */
html[data-layout="clean"] .cl-set > .panel-frame {
  display: block; min-height: 0; margin: 0;
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: none;
  padding: 18px 22px;
}
html[data-layout="clean"] .cl-set > .panel-frame::before,
html[data-layout="clean"] .cl-set > .panel-frame::after { display: none; }
html[data-layout="clean"] .cl-set > .panel-frame .panel-head { display: none; }
html[data-layout="clean"] .cl-set > .panel-frame .panel-line { font-size: 16.5px; }
html[data-layout="clean"] .cl-set > .panel-frame .pl-label { color: var(--ink-2); }
html[data-layout="clean"] .cl-set > .panel-frame .lamp { width: 9px; height: 9px; border: 0; border-radius: 2px; background: var(--amber); }
html[data-layout="clean"] .cl-set > .card { margin: 0; box-shadow: none; padding: 18px 22px; }
html[data-layout="clean"] .cl-set > .card .sheet-head {
  font-family: var(--font-text); font-size: 18px; font-weight: 600; letter-spacing: normal; text-transform: none;
  color: var(--ink); border: 0; padding: 0; margin: 0 0 6px;
}
html[data-layout="clean"] .cl-set > .card .meta { font-size: 16px; color: var(--ink-2); margin: 0; }

/* ---------- the list of sections ---------- */
html[data-layout="clean"] .cl-set-grid { display: flex; flex-direction: column; gap: 14px; }
html[data-layout="clean"] .cl-set-nav { display: flex; flex-direction: column; gap: 10px; }
html[data-layout="clean"] .cl-set-navrow {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 15px 18px; color: var(--ink); text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
html[data-layout="clean"] .cl-set-navrow:hover { background: var(--paper-4); border-color: var(--cl-line); color: var(--ink); }
html[data-layout="clean"] .cl-set-navrow > svg { flex: none; width: 20px; height: 20px; color: var(--muted); }
html[data-layout="clean"] .cl-set-navwords { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
html[data-layout="clean"] .cl-set-navname { font-size: 18px; font-weight: 700; line-height: 1.25; }
html[data-layout="clean"] .cl-set-navsay { font-size: 15px; line-height: 1.35; color: var(--ink-2); min-width: 0; }
html[data-layout="clean"] .cl-set-navwords { flex: 1 1 auto; }
/* The lamp beside a section that has an on or off. */
html[data-layout="clean"] .cl-set-navlamp { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; }

/* ---------- the open section ---------- */
html[data-layout="clean"] .cl-set-pane { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
html[data-layout="clean"] .cl-set-title {
  font-family: var(--font-text); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15;
  text-transform: none; color: var(--ink);
  border-top: 0; padding-top: 0; margin: 0 0 2px;
}
html[data-layout="clean"] .cl-set-panehead { display: flex; flex-direction: column; gap: 2px; }
html[data-layout="clean"] .cl-set-panesay { margin: 0; font-size: 16px; line-height: 1.4; color: var(--ink-2); }
/* On a phone the page is the list, or one section when it is open. */
html[data-layout="clean"] .cl-set.is-list .cl-set-pane { display: none; }
html[data-layout="clean"] .cl-set.is-section .cl-set-nav,
html[data-layout="clean"] .cl-set.is-section > .cl-page-head { display: none; }

/* ============================================================
   ONE CARD: what is set, and the one change.
   ============================================================ */
html[data-layout="clean"] .cl-set-item { padding: 18px 22px; gap: 14px; }
html[data-layout="clean"] .cl-set-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px 18px; }
html[data-layout="clean"] .cl-set-what { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
/* When the words would be squeezed into a thin column beside a button, the
   button goes under them instead. */
html[data-layout="clean"] .cl-set-head { flex-wrap: wrap; }
html[data-layout="clean"] .cl-set-head > .cl-set-what { flex: 1 1 300px; }
html[data-layout="clean"] .cl-set-name {
  font-family: var(--font-text); font-size: 18px; font-weight: 700; letter-spacing: -0.005em; line-height: 1.25;
  text-transform: none; color: var(--ink);
  border-top: 0; padding-top: 0; margin: 0;
}
html[data-layout="clean"] .cl-set-name .cl-hand { margin-left: 10px; vertical-align: -2px; }
html[data-layout="clean"] .cl-set-say { display: flex; align-items: flex-start; gap: 9px; font-size: 16px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
html[data-layout="clean"] .cl-set-say:empty { display: none; }
html[data-layout="clean"] .cl-set-say > .cl-lamp { margin-top: 7px; }
html[data-layout="clean"] .cl-set-say > .cl-mark { margin-top: 2px; }
html[data-layout="clean"] .cl-set-act { position: relative; flex: none; display: flex; align-items: center; gap: 10px; min-height: 40px; }
html[data-layout="clean"] .cl-set-act .cl-switch { margin-left: 0; }
html[data-layout="clean"] .cl-set-act .btn,
html[data-layout="clean"] .cl-set-act .cl-btn2 { white-space: nowrap; }
html[data-layout="clean"] .cl-set-body,
html[data-layout="clean"] .cl-set-detail { border-top: 1px solid var(--rule-soft); padding-top: 14px; min-width: 0; }
html[data-layout="clean"] .cl-set-detail { animation: cl-set-in .2s cubic-bezier(.3, .7, .25, 1) backwards; }
@keyframes cl-set-in { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  html[data-layout="clean"] .cl-set-detail { animation: none; }
}

html[data-layout="clean"] .cl-set-note { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); max-width: 62ch; text-wrap: pretty; }
html[data-layout="clean"] .cl-set-note.is-problem { color: var(--accent-deep); }
html[data-layout="clean"] .cl-set-notes { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
html[data-layout="clean"] .cl-set-rows { display: flex; flex-direction: column; }
html[data-layout="clean"] .cl-set-rows > .cl-set-note,
html[data-layout="clean"] .cl-set-rows > .cl-set-fold,
html[data-layout="clean"] .cl-set-rows > [data-zone] { border-top: 1px solid var(--rule-soft); padding-top: 12px; margin-top: 12px; }

/* A label on the left and what is set beside it. */
html[data-layout="clean"] .cl-set-pick,
html[data-layout="clean"] .cl-set-edit {
  display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 18px; align-items: baseline;
  padding: 12px 0; border-top: 1px solid var(--rule-soft);
}
html[data-layout="clean"] .cl-set-rows > .cl-set-pick:first-child,
html[data-layout="clean"] .cl-set-rows > .cl-set-edit:first-child,
html[data-layout="clean"] .cl-set-rows > .cl-set-toggle:first-child { border-top: 0; padding-top: 0; }
html[data-layout="clean"] .cl-set-pick > .field-label,
html[data-layout="clean"] .cl-set-edit > .field-label { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
html[data-layout="clean"] .cl-set-pick > :not(.field-label),
html[data-layout="clean"] .cl-set-edit > :not(.field-label) { grid-column: 2; min-width: 0; }
html[data-layout="clean"] .cl-set-pick .meta { margin-top: 2px; }
html[data-layout="clean"] .cl-set-edit { align-items: center; }
html[data-layout="clean"] .cl-set-edit-now { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; }
html[data-layout="clean"] .cl-set-edit-shown { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; font-size: 16px; color: var(--ink); }
html[data-layout="clean"] .cl-set-value { overflow-wrap: anywhere; }
html[data-layout="clean"] .cl-set-none,
html[data-layout="clean"] .cl-set-edit-note { font-size: 15px; color: var(--muted); }
html[data-layout="clean"] .cl-set-mono { font-family: var(--font-mono); font-size: 14.5px; }
html[data-layout="clean"] .cl-set-swatch { flex: none; width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--cl-line); }
html[data-layout="clean"] .cl-set-logo { flex: none; width: 40px; height: 40px; object-fit: contain; border-radius: 6px; border: 1px solid var(--rule); background: #fffdf7; }
html[data-layout="clean"] .cl-set-edit-form { display: flex; flex-direction: column; gap: 10px; }
html[data-layout="clean"] .cl-set-edit-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
html[data-layout="clean"] .cl-set-edit-acts .btn.small { padding: 10px 18px; font-size: 15.5px; }

/* What still stands between a connection and a live ad. */
html[data-layout="clean"] .cl-set-gate { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 12px; padding-bottom: 12px; }
html[data-layout="clean"] .cl-set-gate > .cl-lamp { margin-top: 7px; }
html[data-layout="clean"] .cl-set-gate-words { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
html[data-layout="clean"] .cl-set-gate-words strong { color: var(--ink); font-weight: 700; }

/* A choice between a few named things. */
html[data-layout="clean"] .cl-set-choices { display: flex; flex-wrap: wrap; gap: 8px; }
html[data-layout="clean"] .cl-set-choice {
  min-height: 42px; padding: 0 18px; cursor: pointer;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--cl-line); border-radius: var(--radius-btn);
  font-family: var(--font-text); font-size: 15.5px; font-weight: 600;
  transition: background-color .15s, border-color .15s;
}
html[data-layout="clean"] .cl-set-choice:hover { border-color: var(--ink); background: var(--paper-4); }
html[data-layout="clean"] .cl-set-choice[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper-3); }
html[data-layout="clean"] .cl-set-choice:disabled { opacity: 0.5; cursor: default; }

/* A named thing and its switch. */
html[data-layout="clean"] .cl-set-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 50px; border-top: 1px solid var(--rule-soft);
  font-size: 16.5px; color: var(--ink);
}
html[data-layout="clean"] .cl-set-toggle .cl-switch { margin-left: 0; }

html[data-layout="clean"] .cl-set-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 4px 2px 0; }

/* ---------- words every card in these screens shares ---------- */
html[data-layout="clean"] .cl-set .field-label {
  font-family: var(--font-text); font-size: 14.5px; font-weight: 600; letter-spacing: normal; text-transform: none;
  color: var(--ink-2); margin-bottom: 6px;
}
html[data-layout="clean"] .cl-set .prose { font-size: 16px; white-space: normal; color: var(--ink); overflow-wrap: anywhere; }
html[data-layout="clean"] .cl-set .prose.mono { font-size: 13px; }
html[data-layout="clean"] .cl-set .prose-muted,
html[data-layout="clean"] .cl-set .cl-set-classic .meta,
html[data-layout="clean"] .cl-set .cl-set-pick .meta { font-size: 15px; line-height: 1.5; color: var(--ink-2); white-space: normal; }
html[data-layout="clean"] .cl-set details > summary {
  padding: 6px 0; min-height: 40px;
  font-family: var(--font-text); font-size: 15.5px; font-weight: 600; letter-spacing: normal; text-transform: none;
  color: var(--ink-2);
}
html[data-layout="clean"] .cl-set details > summary:hover { color: var(--ink); }
html[data-layout="clean"] .cl-set-fold-body { padding: 4px 0 6px; }
html[data-layout="clean"] .cl-set select,
html[data-layout="clean"] .cl-set input[type="text"],
html[data-layout="clean"] .cl-set input[type="password"],
html[data-layout="clean"] .cl-set input[type="email"],
html[data-layout="clean"] .cl-set input[type="tel"],
html[data-layout="clean"] .cl-set input[type="url"],
html[data-layout="clean"] .cl-set textarea { max-width: 560px; font-size: 16px; }
html[data-layout="clean"] .cl-set input[type="tel"],
html[data-layout="clean"] .cl-set input[type="url"] {
  width: 100%; background: var(--paper-3); color: var(--heading);
  border: 1px solid var(--rule); border-radius: var(--radius-btn); padding: 12px 13px;
}

/* ---------- a classic card, set inside a section ---------- */
html[data-layout="clean"] .cl-set-classic { min-width: 0; }
html[data-layout="clean"] .cl-set-classic > :first-child { margin-top: 0 !important; }
html[data-layout="clean"] .cl-set-classic .btn.block { display: inline-flex; width: auto; }
html[data-layout="clean"] .cl-set-classic .btn.small { padding: 9px 16px; font-size: 15px; }
html[data-layout="clean"] .cl-set-classic h3 { font-size: 17px; }
html[data-layout="clean"] .cl-set-classic label { font-size: 16px; color: var(--ink); }
html[data-layout="clean"] .cl-set-classic label:not(.row) { display: block; }
/* A fold inside an open fold is still shut until it is opened itself. */
html[data-layout="clean"] .cl-set details:not([open]) > summary::before { transform: none; }
html[data-layout="clean"] .cl-set-classic .stamp,
html[data-layout="clean"] .cl-set-classic .chip {
  transform: none; border-width: 1px; border-radius: 999px; padding: 3px 10px;
  font-family: var(--font-text); font-size: 13.5px; font-weight: 600; letter-spacing: normal; text-transform: none;
}
html[data-layout="clean"] .cl-set-classic .sheet-foot {
  font-family: var(--font-text); font-size: 15px; letter-spacing: normal; color: var(--ink-2);
  border-top: 0; padding-top: 0; margin-top: 10px;
}
html[data-layout="clean"] .cl-set-classic .card { box-shadow: none; padding: 14px 16px; }
html[data-layout="clean"] .cl-set-classic .email-form-acts,
html[data-layout="clean"] .cl-drawer .email-form-acts { display: flex; flex-wrap: wrap; gap: 10px; }
html[data-layout="clean"] .cl-drawer .email-form { display: flex; flex-direction: column; gap: 10px; }
html[data-layout="clean"] .cl-drawer .email-form > * { margin-top: 0; }
/* The caption looks: the chosen one is ringed in the page's own ink. */
html[data-layout="clean"] .cl-set-classic .lk-row { margin-top: 0; max-width: 640px; }
html[data-layout="clean"] .cl-set-classic .lk-tile[aria-pressed="true"] .lk-ph { box-shadow: 0 0 0 3px var(--ink); }
html[data-layout="clean"] .cl-set-classic .lk-name { font-family: var(--font-text); font-size: 14.5px; color: var(--ink); }
html[data-layout="clean"] .cl-set-classic .lk-tile:hover .lk-ph { box-shadow: 0 0 0 2px var(--cl-line); }
html[data-layout="clean"] .cl-set-classic .lk-tile[aria-pressed="true"]:hover .lk-ph { box-shadow: 0 0 0 3px var(--ink); }
/* The steps Me Machine runs to get the owner a texting number: the classic
   card's own steps, set flat in the card. */
html[data-layout="clean"] .cl-set-steps { margin-top: 6px; }
html[data-layout="clean"] .cl-set-steps > div > .row > .field-label { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0; }
html[data-layout="clean"] .cl-set-steps input[type="text"],
html[data-layout="clean"] .cl-set-steps input[type="email"],
html[data-layout="clean"] .cl-set-steps select { width: 100%; }
html[data-layout="clean"] .cl-set-steps .row { flex-wrap: wrap; }

/* ============================================================
   ACCOUNT AND BILLING
   ============================================================ */
html[data-layout="clean"] .cl-bill-grid { display: flex; flex-direction: column; gap: 14px; }
/* On a phone: the plan, then the receipt, then the rest. */
html[data-layout="clean"] .cl-bill-main { display: contents; }
html[data-layout="clean"] .cl-bill-main > * { order: 3; }
html[data-layout="clean"] .cl-bill-main > .cl-bill-plan { order: 1; }
html[data-layout="clean"] .cl-bill-receipt { order: 2; min-width: 0; }
html[data-layout="clean"] .cl-bill-receipt .receipt-zig { margin-bottom: 0; }
html[data-layout="clean"] .cl-bill-plan { gap: 12px; }
html[data-layout="clean"] .cl-bill-words {
  display: flex; align-items: flex-start; gap: 11px;
  font-family: var(--font-text); font-size: 23px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.22;
  text-transform: none; color: var(--ink); text-wrap: balance;
  border-top: 0; padding-top: 0; margin: 0;
}
html[data-layout="clean"] .cl-bill-words > .cl-lamp { margin-top: 10px; width: 11px; height: 11px; }
html[data-layout="clean"] .cl-bill-words > .cl-mark { margin-top: 5px; }
html[data-layout="clean"] .cl-bill-lines { display: flex; flex-direction: column; gap: 8px; }
html[data-layout="clean"] .cl-bill-lines p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--ink-2); max-width: 60ch; text-wrap: pretty; }
html[data-layout="clean"] .cl-bill-list {
  margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px;
  font-size: 16.5px; line-height: 1.5; color: var(--ink-2); white-space: normal;
}
html[data-layout="clean"] .cl-bill-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 2px; }
/* The buttons first, then the quiet text ones (Pause or cancel, Cancel my plan). */
html[data-layout="clean"] .cl-bill-acts .cl-quiet { order: 2; }
html[data-layout="clean"] .cl-bill-card { padding: 18px 22px; gap: 12px; }
html[data-layout="clean"] .cl-bill-card > .stack { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
html[data-layout="clean"] .cl-bill-card > .stack > * { margin-top: 0; }
html[data-layout="clean"] .cl-bill-card > .cl-quiet { align-self: flex-start; }
html[data-layout="clean"] .cl-bill-card .name { font-size: 16.5px; font-weight: 700; color: var(--ink); }
html[data-layout="clean"] .cl-bill-card [data-slot="tickets"] { margin-top: 0 !important; }
html[data-layout="clean"] .cl-bill-card [data-slot="tickets"]:empty { display: none; }
html[data-layout="clean"] .cl-bill-usage { padding: 6px 22px; }
html[data-layout="clean"] .cl-bill-usage .bars { padding-bottom: 6px; }

/* ---------- pause or cancel ---------- */
html[data-layout="clean"] .cl-leave-col { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
html[data-layout="clean"] .cl-leave .cl-bill-card .cl-label { flex: none; }
html[data-layout="clean"] .cl-leave .cl-bill-card .btn { align-self: flex-start; }
html[data-layout="clean"] .cl-leave .cl-bill-card fieldset label { font-size: 16.5px; min-height: 36px; }
html[data-layout="clean"] .cl-leave .cl-bill-card input[type="radio"] { width: 18px; height: 18px; accent-color: var(--ink); }

/* ---------- the moment after checkout ---------- */
html[data-layout="clean"] .cl-welcome { align-items: center; justify-content: center; min-height: 62vh; }
html[data-layout="clean"] .cl-welcome-card { align-items: flex-start; gap: 12px; width: 100%; max-width: 460px; padding: 28px 28px 26px; }
html[data-layout="clean"] .cl-welcome-say,
html[data-layout="clean"] .cl-welcome-next { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* ============================================================
   A PHONE: a row is its words, then its button under them.
   ============================================================ */
@media (max-width: 599.98px) {
  html[data-layout="clean"] .cl-set-item,
  html[data-layout="clean"] .cl-bill-card { padding: 16px 16px; }
  /* A switch or the three dots sit beside the name; a button with words on
     it goes under the sentence, on a line of its own. */
  html[data-layout="clean"] .cl-set-head { flex-wrap: wrap; }
  html[data-layout="clean"] .cl-set-what { flex: 1 1 0; }
  html[data-layout="clean"] .cl-set-act:has(.btn),
  html[data-layout="clean"] .cl-set-act:has(.cl-btn2) { flex: 1 1 100%; justify-content: flex-start; }
  html[data-layout="clean"] .cl-set-act:has(.btn) .cl-dots,
  html[data-layout="clean"] .cl-set-act:has(.cl-btn2) .cl-dots { margin-left: auto; }
  html[data-layout="clean"] .cl-set-pick,
  html[data-layout="clean"] .cl-set-edit { grid-template-columns: minmax(0, 1fr); }
  html[data-layout="clean"] .cl-set-pick > .field-label,
  html[data-layout="clean"] .cl-set-edit > .field-label { grid-row: auto; }
  html[data-layout="clean"] .cl-set-pick > :not(.field-label),
  html[data-layout="clean"] .cl-set-edit > :not(.field-label) { grid-column: 1; }
  html[data-layout="clean"] .cl-bill-words { font-size: 21px; }
  html[data-layout="clean"] .cl-bill-acts .btn { flex: 1 1 100%; }
}

/* ============================================================
   A DESK: the sections down the left, the open one beside them.
   ============================================================ */
@media (min-width: 900px) {
  html[data-layout="clean"] .view:has(.cl-set) { max-width: 1120px; padding: 32px 40px 48px; }
  html[data-layout="clean"] .cl-set { gap: 20px; }
  html[data-layout="clean"] .cl-set-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
  html[data-layout="clean"] .cl-set-nav { position: sticky; top: 24px; gap: 6px; }
  html[data-layout="clean"] .cl-set.is-list .cl-set-pane { display: flex; }
  html[data-layout="clean"] .cl-set.is-section .cl-set-nav,
  html[data-layout="clean"] .cl-set.is-section > .cl-page-head { display: flex; }
  html[data-layout="clean"] .cl-set-pane > .cl-back.show { display: none; }
  html[data-layout="clean"] .cl-set-navrow { background: transparent; border-color: transparent; padding: 12px 14px; }
  html[data-layout="clean"] .cl-set-navrow > svg { display: none; }
  html[data-layout="clean"] .cl-set-navrow.on { background: var(--surface); border-color: var(--ink); }
  html[data-layout="clean"] .cl-set-navname { font-size: 17px; }
  /* The list beside it already says which section is open and what it is
     for; the open section keeps only its title. */
  html[data-layout="clean"] .cl-set-panesay { display: none; }
  html[data-layout="clean"] .cl-set-title { font-size: 22px; }
  html[data-layout="clean"] .cl-leave-col,
  html[data-layout="clean"] .cl-leave > .cl-page-head { max-width: 680px; }
}
@media (min-width: 1000px) {
  html[data-layout="clean"] .cl-bill-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
  html[data-layout="clean"] .cl-bill-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  html[data-layout="clean"] .cl-bill-receipt { position: sticky; top: 24px; }
  html[data-layout="clean"] .cl-bill-grid:not(:has(.cl-bill-receipt)) { grid-template-columns: minmax(0, 680px); }
}
html[data-layout="clean"] .cl-set-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
