/* Layout adapters; controls and surfaces use the shared open-claude-ui CDS. */
.delivery-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.delivery-page-head .delivery-actions { padding-top: 4px; }
.delivery-redeem-form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 12px; max-width: 680px; }
.delivery-redeem-form > button { min-height: 32px; }
.delivery-redeem-form .form-error { grid-column: 1 / -1; }
.delivery-redeem-hint { margin: 12px 0 0; }
.delivery-section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.delivery-section-heading h2 { margin: 0; }
.delivery-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 20px; }
.delivery-cards > .card { min-width: 0; margin-bottom: 0; }
.delivery-account-name { display: block; font-size: 17px; font-weight: 500; }
.delivery-account .card-pad > .hint { margin: 10px 0 0; }
.delivery-account-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; text-align: left; color: var(--cds-text-secondary); }
.delivery-list-header { flex-wrap: wrap; }
.delivery-filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; }
.delivery-filters .form-field { min-width: 132px; }
.delivery-filters .cds-select-trigger { min-height: 32px; font-size: 12px; }
.delivery-table td .break { display: inline-block; max-width: 250px; vertical-align: middle; }
.delivery-table .delivery-account-cell { min-width: 150px; white-space: normal; }
.delivery-assignment-form .value-line { align-items: baseline; margin: 0; }
.delivery-assignment-form .value-line > :last-child { text-align: right; }
.delivery-code-result > p { margin-bottom: 0; }
.delivery-code-result textarea { resize: vertical; line-height: 1.8; overflow-wrap: normal; white-space: pre; }
.delivery-empty-action { margin-top: 18px; }
@media(max-width:760px) {
  .delivery-cards { grid-template-columns: minmax(0,1fr); }
  .delivery-list-header > .delivery-actions { width: 100%; }
}
@media(max-width:600px) {
  .delivery-page-head { flex-direction: column; gap: 16px; }
  .delivery-page-head .delivery-actions { padding-top: 0; }
  .delivery-redeem-form { grid-template-columns: minmax(0,1fr); }
  .delivery-redeem-form > button { justify-self: end; }
  .delivery-filters { width: 100%; }
  .delivery-filters .form-field { flex: 1; min-width: 110px; }
  .delivery-list-header { gap: 16px; }
}
.local-registration-password-hint { margin: -8px 0 0; }
.local-captcha-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.local-captcha-heading h2 { margin: 0; font-size: 12px; font-weight: 500; color: var(--cds-text-secondary); }
.local-captcha-heading > button { font-size: 12px; }
.local-captcha-instruction { margin: 4px 0 12px; }
.local-captcha-stage { min-height: 254px; }
.local-captcha-target { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 72px; margin-bottom: 12px; border-radius: var(--cds-radius-btn-md); background: var(--cds-fill-secondary); }
.local-captcha-target img, .local-captcha-choice img { display: block; object-fit: contain; max-width: 100%; user-select: none; }
.local-captcha-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.local-captcha-choices .local-captcha-choice { width: 100%; height: 80px; padding: 8px; }
.local-captcha-choice[aria-pressed="true"] [data-cds-part="paint"] { background: var(--cds-fill-brand-subtle); box-shadow: inset 0 0 0 2px var(--cds-clay); }
.local-captcha-choice[aria-pressed="true"]:hover [data-cds-part="paint"] { background: var(--cds-fill-brand-subtle); }
.local-captcha-status { min-height: 19px; margin: 8px 0 0; }
