/* Studio page layout; adapted from project-owned api-dashboard.css. */
:where(.payhippo-studio) .settings-surface{ min-width: 0; padding: 0 28px; }
:where(.payhippo-studio) .admin-shell .settings-surface > :is(.api-card, .settings-section){ margin: 0; padding: 27px 0 29px; border: 0; border-bottom: 1px solid var(--dashboard-border); border-radius: 0; background: transparent; }
:where(.payhippo-studio) .admin-shell .settings-surface > :is(.api-card, .settings-section):last-child{ border-bottom: 0; }
:where(.payhippo-studio) .admin-shell .operations-card{ margin-top: 0; padding: 23px; }
:where(.payhippo-studio) .admin-shell .api-connect{ margin-top: 0; }
:where(.payhippo-studio) .settings-surface [id]{ scroll-margin-top: 92px; }
:where(.payhippo-studio) .api-section-heading{ display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
:where(.payhippo-studio) .api-section-heading h2{ margin: 0 0 5px; color: var(--ink); font-size: 17px; }
:where(.payhippo-studio) .api-section-heading p,:where(.payhippo-studio) .api-guide p{ margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
:where(.payhippo-studio) .api-connect-grid{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
:where(.payhippo-studio) .api-connect-step{ display: flex; align-items: flex-start; gap: 13px; min-width: 0; padding-block: 4px; padding-inline: 0 18px; border-inline-end: 1px solid var(--line); }
:where(.payhippo-studio) .api-connect-step:last-child{ padding-inline: 18px 0; border-inline-end: 0; }
:where(.payhippo-studio) .api-connect-step > div{ flex: 1; min-width: 0; }
:where(.payhippo-studio) .api-step-number{ flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius:4px; background: #e8f5f2; color: var(--purple); font-size: 13px; font-weight: 700; }
:where(.payhippo-studio) .api-connect-step strong{ display: block; color: var(--ink); font-size: 13px; }
:where(.payhippo-studio) .api-connect-step p{ margin: 5px 0 11px; color: var(--muted); font-size: 12px; line-height: 1.55; }
:where(.payhippo-studio) .api-connect-step small{ display: block; margin-top: 9px; color: #a65313; font-size: 11px; line-height: 1.5; }
:where(.payhippo-studio) .api-copy-row{ display: flex; align-items: stretch; gap: 8px; min-width: 0; }
:where(.payhippo-studio) .api-copy-row code{ display: flex; align-items: center; flex: 1; min-width: 0; overflow-wrap: anywhere; border: 1px solid #dce4ec; border-radius:4px; padding: 8px 10px; background: var(--paper); color: var(--ink); font-size: 12px; direction: ltr; text-align: left; }
:where(.payhippo-studio) .admin-shell .api-copy-row button{ flex: none; min-height: 38px; }
:where(.payhippo-studio) .admin-shell .api-setup-link{ display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 13px; text-decoration: none; }
:where(.payhippo-studio) .api-client-list,:where(.payhippo-studio) .api-webhook-list{ display: grid; gap: 10px; }
:where(.payhippo-studio) .api-payment-flow{ display: grid; grid-template-columns: minmax(0, 1fr); max-width: 880px; }
:where(.payhippo-studio) .api-payment-flow > label{ display: flex; align-items: flex-start; gap: 12px; min-width: 0; margin: 0; padding: 14px 3px; border-bottom: 1px solid #edf1f4; cursor: pointer; }
:where(.payhippo-studio) .api-payment-flow > label:first-child{ border-top: 1px solid #edf1f4; }
:where(.payhippo-studio) .api-payment-flow > label:has(input:checked){ background: #f3faf8; box-shadow: inset 3px 0 var(--dashboard-brand); }
:where(.payhippo-studio) [dir="rtl"] .api-payment-flow > label:has(input:checked){ box-shadow: inset -3px 0 var(--dashboard-brand); }
:where(.payhippo-studio) .admin-shell .api-payment-flow input[type="radio"]{ flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin: 2px 9px 0; padding: 0; border-radius: 50%; accent-color: var(--dashboard-brand); }
:where(.payhippo-studio) .api-payment-flow > label > span{ flex: 1; min-width: 0; }
:where(.payhippo-studio) .api-payment-flow strong,:where(.payhippo-studio) .api-payment-flow small{ display: block; }
:where(.payhippo-studio) .api-payment-flow strong{ color: var(--ink); font-size: 14px; }
:where(.payhippo-studio) .api-payment-flow small{ margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.55; }
:where(.payhippo-studio) .api-payment-flow .api-actions{ grid-column: 1 / -1; align-items: center; }
:where(.payhippo-studio) .api-product-info{ display: grid; gap: 16px; }
:where(.payhippo-studio) .api-product-info-choices{ display: grid; grid-template-columns: minmax(0, 1fr); max-width: 880px; }
:where(.payhippo-studio) .api-product-info-choices > label{ display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 14px 12px; border-bottom: 1px solid #edf1f4; cursor: pointer; }
:where(.payhippo-studio) .api-product-info-choices > label:first-child{ border-top: 1px solid #edf1f4; }
:where(.payhippo-studio) .api-product-info-choices > label:has(input:checked){ background: #f3faf8; box-shadow: inset 3px 0 var(--dashboard-brand); }
:where(.payhippo-studio) [dir="rtl"] .api-product-info-choices > label:has(input:checked){ box-shadow: inset -3px 0 var(--dashboard-brand); }
:where(.payhippo-studio) .admin-shell .api-product-info-choices input[type="radio"]{ flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--dashboard-brand); }
:where(.payhippo-studio) .api-product-info-choices strong,:where(.payhippo-studio) .api-product-info-choices small{ display: block; }
:where(.payhippo-studio) .api-product-info-choices strong{ color: var(--ink); font-size: 14px; }
:where(.payhippo-studio) .api-product-info-choices small,:where(.payhippo-studio) .api-product-info-fields small{ margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.55; }
:where(.payhippo-studio) .api-product-info-fields{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
:where(.payhippo-studio) .api-product-info-fields > label{ display: block; min-width: 0; }
:where(.payhippo-studio) .api-product-info-fields input,:where(.payhippo-studio) .api-product-info-fields textarea{ display: block; margin-top: 7px; }
:where(.payhippo-studio) .api-product-info-fields textarea{ min-height: 72px; }
:where(.payhippo-studio) .api-product-info-fields small{ display: block; }
:where(.payhippo-studio) .api-product-preview{ max-width: 880px; border: 1px solid var(--line); border-radius:4px; overflow: hidden; }
:where(.payhippo-studio) .api-product-preview-head{ display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 15px; background: var(--soft); color: var(--ink); font-size: 13px; }
:where(.payhippo-studio) .api-product-preview-head label{ display: flex; align-items: center; gap: 9px; margin: 0; color: var(--muted); font-size: 12px; }
:where(.payhippo-studio) .admin-shell .api-product-preview-head input{ width: 110px; min-height: 34px; padding: 6px 9px; }
:where(.payhippo-studio) .api-product-preview-body{ padding: 15px; min-height: 78px; color: var(--ink); }
:where(.payhippo-studio) .api-product-preview-body strong{ display: block; overflow-wrap: anywhere; font-size: 15px; }
:where(.payhippo-studio) .api-product-preview-body p{ margin: 5px 0 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
:where(.payhippo-studio) .api-client,:where(.payhippo-studio) .api-webhook{ display: grid; gap: 12px; border: 1px solid var(--line); border-radius:4px; padding: 15px; }
:where(.payhippo-studio) .api-client-head{ display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
:where(.payhippo-studio) .api-client-head strong{ font-size: 14px; }
:where(.payhippo-studio) .api-client-meta{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
:where(.payhippo-studio) .api-client-meta span{ min-width: 0; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
:where(.payhippo-studio) .api-client-meta small{ display: block; margin-bottom: 4px; color: var(--muted); }
:where(.payhippo-studio) .api-client-warning{ margin: 0; padding: 9px 11px; border: 1px solid #f1d49b; border-radius:4px; background: #fff9ed; color: #784b10; font-size: 12px; line-height: 1.5; }
:where(.payhippo-studio) .api-client-actions,:where(.payhippo-studio) .api-actions{ display: flex; flex-wrap: wrap; gap: 8px; }
:where(.payhippo-studio) .api-client-actions button{ min-height: 34px; border: 1px solid #d7e0e9; border-radius:4px; background: var(--paper); color: var(--ink); padding: 5px 10px; font-size: 12px; cursor: pointer; }
:where(.payhippo-studio) .api-client-actions button:hover{ background: var(--soft); }
:where(.payhippo-studio) .api-client-actions .danger{ color: #a3363a; }
:where(.payhippo-studio) #shieldList{ display: grid; gap: 12px; margin-top: 18px; }
:where(.payhippo-studio) #shieldList .api-client{ min-width: 0; }
:where(.payhippo-studio) #shieldList code{ overflow-wrap: anywhere; direction: ltr; font-size: 12px; }
:where(.payhippo-studio) #shieldList h3,:where(.payhippo-studio) #shieldList p{ margin: 0; }
:where(.payhippo-studio) #shieldList p,:where(.payhippo-studio) #shieldList details{ font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
:where(.payhippo-studio) #shieldForm label{ display: block; margin-bottom: 12px; }
:where(.payhippo-studio) .api-form{ margin-top: 0; }
:where(.payhippo-studio) .api-form h3{ margin: 0 0 16px; font-size: 15px; }
:where(.payhippo-studio) .api-form-grid,:where(.payhippo-studio) .api-filters{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 17px; }
:where(.payhippo-studio) .api-form label,:where(.payhippo-studio) .api-filters label,:where(.payhippo-studio) .api-key-result label{ margin: 0; min-width: 0; }
:where(.payhippo-studio) .api-form label input,:where(.payhippo-studio) .api-form label select,:where(.payhippo-studio) .api-form label textarea,:where(.payhippo-studio) .api-filters input,:where(.payhippo-studio) .api-filters select,:where(.payhippo-studio) .api-key-result input{ margin-top: 7px; }
:where(.payhippo-studio) .api-form textarea{ min-height: 72px; }
:where(.payhippo-studio) .api-advanced{ margin: 16px 0; border: 1px solid var(--line); border-radius:4px; }
:where(.payhippo-studio) .api-advanced summary{ padding: 13px 15px; color: var(--purple); cursor: pointer; font-size: 12px; font-weight: 700; }
:where(.payhippo-studio) .api-advanced[open] summary{ border-bottom: 1px solid var(--line); }
:where(.payhippo-studio) .api-advanced > .api-form-grid{ padding: 16px 15px 0; }
:where(.payhippo-studio) .api-advanced .api-scopes{ margin: 16px 15px; }
:where(.payhippo-studio) .api-list-heading{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 24px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); }
:where(.payhippo-studio) .api-list-heading h3{ margin: 0; color: var(--ink); font-size: 15px; }
:where(.payhippo-studio) .api-list-heading span{ color: var(--muted); font-size: 12px; }
:where(.payhippo-studio) .api-scopes{ display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0; border: 1px solid var(--line); border-radius:4px; padding: 14px; }
:where(.payhippo-studio) .api-scopes legend{ color: var(--muted); font-size: 12px; font-weight: 700; }
:where(.payhippo-studio) .admin-shell .api-scopes label{ display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 500; }
:where(.payhippo-studio) .admin-shell .api-scopes input{ width: 15px; min-height: 15px; height: 15px; margin: 0; accent-color: var(--purple); }
:where(.payhippo-studio) .api-key-result{ margin-top: 18px; border: 1px solid #b7e2d2; border-radius:4px; background: #f0faf5; padding: 16px; }
:where(.payhippo-studio) .api-key-result strong{ display: block; margin-bottom: 13px; color: #146c4a; font-size: 13px; }
:where(.payhippo-studio) .api-key-result label{ display: block; margin-bottom: 11px; }
:where(.payhippo-studio) .api-key-result input{ direction: ltr; text-align: left; font-family: ui-monospace, monospace; }
:where(.payhippo-studio) .api-key-actions{ display: flex; flex-wrap: wrap; gap: 8px; }
:where(.payhippo-studio) .api-key-actions button{ min-height: 40px; }
:where(.payhippo-studio) .api-result-base{ margin-bottom: 15px; }
:where(.payhippo-studio) .api-result-base > span{ display: block; margin-bottom: 7px; font-size: 13px; font-weight: 650; color: var(--ink); }
:where(.payhippo-studio) .api-result-base small{ display: block; margin-top: 8px; color: #a65313; font-size: 11px; }
:where(.payhippo-studio) .api-webhook{ grid-template-columns: minmax(150px, 1fr) minmax(230px, 2fr) auto; align-items: end; }
:where(.payhippo-studio) .api-webhook > div{ min-width: 0; }
:where(.payhippo-studio) .api-webhook p{ margin: 4px 0 0; color: var(--muted); font-size: 12px; }
:where(.payhippo-studio) .api-webhook code{ display: block; margin-top: 7px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
:where(.payhippo-studio) .api-webhook label{ margin: 0; }
:where(.payhippo-studio) .api-webhook input{ margin-top: 6px; }
:where(.payhippo-studio) .secret-field-actions{ display: flex; justify-content: flex-end; margin-top: 7px; }
:where(.payhippo-studio) .secret-field-actions button{ min-height: 34px; }
:where(.payhippo-studio) .field-error{ display: block; color: #a3363a; font-size: 12px; line-height: 1.5; }
:where(.payhippo-studio) .field-error[hidden]{ display: none; }
:where(.payhippo-studio) .api-branding-fields .field-error{ color: #a3363a; }
:where(.payhippo-studio) .admin-shell input[aria-invalid="true"]:focus{ border-color: #c53e48; box-shadow: 0 0 0 3px #c53e4814; }
:where(.payhippo-studio) .settings-note{ margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
:where(.payhippo-studio) .settings-inline-form{ display: grid; grid-template-columns: minmax(260px, 520px) auto; gap: 10px; align-items: end; }
:where(.payhippo-studio) .settings-inline-form label{ margin: 0; }
:where(.payhippo-studio) .settings-inline-form select{ margin-top: 7px; }
:where(.payhippo-studio) .settings-inline-form button{ min-height: 46px; }
:where(.payhippo-studio) .settings-disclosure{ border: 0; }
:where(.payhippo-studio) .settings-disclosure > summary{ display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; color: var(--ink); cursor: pointer; font-size: 13px; font-weight: 700; }
:where(.payhippo-studio) .settings-disclosure > summary span{ display: grid; gap: 3px; }
:where(.payhippo-studio) .settings-disclosure > summary small{ color: var(--muted); font-size: 12px; font-weight: 400; }
:where(.payhippo-studio) .settings-disclosure[open] > summary{ margin-bottom: 12px; border-bottom: 1px solid #edf1f4; }
:where(.payhippo-studio) .shield-connection-row{ padding: 0; }
:where(.payhippo-studio) .shield-connection{ min-width: 0; }
:where(.payhippo-studio) .shield-connection > summary{ padding: 13px 15px; cursor: pointer; list-style-position: inside; }
:where(.payhippo-studio) .shield-connection > summary strong{ margin-inline-end: auto; }
:where(.payhippo-studio) .shield-connection > :not(summary){ margin-inline: 15px; }
:where(.payhippo-studio) .shield-connection > .api-client-actions{ margin-block: 14px 16px; }
:where(.payhippo-studio) .shield-connection > code{ display: block; padding: 10px; border-radius:4px; background: var(--soft); }
:where(.payhippo-studio) .shield-connection > ol{ margin-block: 12px; color: #526176; font-size: 12px; line-height: 1.8; }
:where(.payhippo-studio) .shield-queue-summary{ padding-block: 10px; border-block: 1px solid #edf1f4; color: var(--ink); font-weight: 650; }
:where(.payhippo-studio) .api-client-actions .settings-disclosure{ flex-basis: 100%; }
:where(.payhippo-studio) .api-client-actions .settings-disclosure input{ width: min(100%, 520px); margin-block: 8px; }
:where(.payhippo-studio) .admin-shell input[type="file"]{ min-height: 46px; padding: 7px; }
:where(.payhippo-studio) .admin-shell input[type="file"]::file-selector-button{ min-height: 30px; margin-inline-end: 10px; border: 1px solid #cbd5e1; border-radius:4px; background: var(--soft); color: var(--ink); padding: 4px 10px; cursor: pointer; }
:where(.payhippo-studio) .admin-shell [aria-invalid="true"]{ border-color: #c53e48; box-shadow: 0 0 0 3px #c53e4814; }
:where(.payhippo-studio) .admin-shell button[aria-busy="true"]{ opacity: .68; }
:where(.payhippo-studio) .api-filters{ grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; }
:where(.payhippo-studio) .api-filters label{ font-size: 12px; }
:where(.payhippo-studio) .api-table-scroll{ overflow-x: auto; }
:where(.payhippo-studio) .api-table{ width: 100%; border-collapse: collapse; text-align: start; font-size: 12px; white-space: nowrap; }
:where(.payhippo-studio) .api-table th,:where(.payhippo-studio) .api-table td{ border-bottom: 1px solid var(--line); padding: 11px 10px; text-align: start; }
:where(.payhippo-studio) .api-table th{ background: var(--soft); color: var(--muted); font-weight: 700; }
:where(.payhippo-studio) .api-table td{ color: var(--ink); }
:where(.payhippo-studio) .api-table td:first-child{ font-weight: 700; }
:where(.payhippo-studio) .api-table .status{ border-radius:4px; padding: 4px 7px; background: #eef2f6; font-weight: 700; }
:where(.payhippo-studio) .api-table .status.paid{ color: #147449; background: #e8f7ee; }
:where(.payhippo-studio) .api-table .status.failed,:where(.payhippo-studio) .api-table .status.disputed{ color: #a3363a; background: #fff0f0; }
:where(.payhippo-studio) .api-guide summary{ color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 700; }
:where(.payhippo-studio) .api-guide-content{ display: grid; gap: 12px; margin-top: 14px; }
:where(.payhippo-studio) .api-guide code{ display: block; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius:4px; background: var(--soft); padding: 10px; color: var(--ink); }
@media(max-width: 1000px){:where(.payhippo-studio) .api-connect-grid{ grid-template-columns: 1fr; }
:where(.payhippo-studio) .api-connect-step,:where(.payhippo-studio) .api-connect-step:last-child{ padding: 0 0 14px; border-inline-end: 0; border-bottom: 1px solid #edf1f4; }
:where(.payhippo-studio) .api-connect-step:last-child{ padding-top: 4px; border-bottom: 0; }
:where(.payhippo-studio) .api-client-meta{ grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media(max-width: 700px){:where(.payhippo-studio) .api-form-grid,:where(.payhippo-studio) .api-filters,:where(.payhippo-studio) .api-payment-flow,:where(.payhippo-studio) .api-product-info-choices,:where(.payhippo-studio) .api-product-info-fields,:where(.payhippo-studio) .settings-inline-form{ grid-template-columns: 1fr; }
:where(.payhippo-studio) .api-webhook{ grid-template-columns: 1fr; }}
@media(max-width: 540px){:where(.payhippo-studio) .settings-surface{ margin-inline: 0; padding: 0; border-inline: 0; border-radius: 0; }
:where(.payhippo-studio) .admin-shell .settings-surface > :is(.api-card, .settings-section){ padding-block: 23px; }
:where(.payhippo-studio) .admin-shell .operations-card{ padding: 17px; }
:where(.payhippo-studio) .api-client-meta{ grid-template-columns: 1fr; }
:where(.payhippo-studio) .api-section-heading{ display: block; }
:where(.payhippo-studio) .api-section-heading button{ width: 100%; margin-top: 12px; }
:where(.payhippo-studio) .api-copy-row{ flex-direction: column; }
:where(.payhippo-studio) .api-copy-row code,:where(.payhippo-studio) .api-copy-row button{ width: 100%; }
:where(.payhippo-studio) .api-key-actions > button{ flex: 1; }
:where(.payhippo-studio) .shield-connection > summary{ align-items: flex-start; }}
:where(.payhippo-studio) .api-branding-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
:where(.payhippo-studio) .api-branding-fields{display:grid;gap:12px}
:where(.payhippo-studio) .api-branding-fields small{color:var(--muted);line-height:1.6}
:where(.payhippo-studio) .api-branding-preview{align-self:start;padding:20px;border:1px solid var(--line);border-radius:4px;background:var(--soft);min-width:0}
:where(.payhippo-studio) .api-branding-footer{display:flex;direction:ltr;align-items:center;justify-content:center;gap:8px;min-height:110px;color:var(--muted);font:400 12px/1.4 system-ui,sans-serif}
:where(.payhippo-studio) .api-branding-footer a{display:inline-flex;max-width:70%;border-radius:4px}
:where(.payhippo-studio) .api-branding-footer img{display:block;width:auto;height:22px;max-width:180px;object-fit:contain}
:where(.payhippo-studio) .api-branding-footer a:focus-visible{outline:2px solid #039be5;outline-offset:5px}
:where(.payhippo-studio) .api-branding-preview p{overflow-wrap:anywhere;font-size:12px;color:#526578}
:where(.payhippo-studio) .api-branding-preview small{color:var(--muted)}
@media(max-width:680px){:where(.payhippo-studio) .api-branding-grid{grid-template-columns:1fr}
:where(.payhippo-studio) .api-branding-preview{padding:18px}}
:where(.payhippo-studio) #shieldEnrollForm{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-block: 16px; }
:where(.payhippo-studio) #shieldEnrollForm label:has(#shieldEnrollDefault){ display: flex; flex-direction: row; align-items: center; gap: 9px; align-self: end; min-height: 44px; }
:where(.payhippo-studio) #shieldEnrollForm #shieldEnrollDefault{ width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; flex: 0 0 18px; }
:where(.payhippo-studio) #shieldEnrollForm > button{ justify-self: start; }
:where(.payhippo-studio) #shieldCodeBox{ padding: 16px; margin-block: 12px; border: 1px solid var(--border, #dce2ea); border-radius:4px; }
:where(.payhippo-studio) #shieldCode{ direction: ltr; font-family: monospace; }
@media (max-width: 700px){:where(.payhippo-studio) #shieldEnrollForm{ grid-template-columns: minmax(0, 1fr); }}
:where(.payhippo-studio) .stripe-account-settings #accountForm{ max-width: 760px; }
:where(.payhippo-studio) .stripe-account-settings .account-list{ margin-bottom: 20px; }
:where(.payhippo-studio) .stripe-account-settings .account-form-heading{ margin-top: 20px; }
:where(.payhippo-studio) .stripe-account-settings #saveAccount{ width: auto; min-width: 150px; }
:where(.payhippo-studio) .settings-surface .settings-section{ min-width: 0; }
:where(.payhippo-studio) .settings-surface .api-advanced{ border-inline: 0; border-radius: 0; }
:where(.payhippo-studio) .settings-surface .api-advanced summary{ padding-inline: 0; }
:where(.payhippo-studio) .settings-surface .api-advanced > .api-form-grid{ padding-inline: 0; }
:where(.payhippo-studio) .settings-surface .api-advanced .api-scopes{ margin-inline: 0; border-inline: 0; padding-inline: 0; }
:where(.payhippo-studio) .settings-surface .api-client{ border-inline: 0; border-radius: 0; }
:where(.payhippo-studio) .settings-surface .account-card{ box-shadow: none; }
:where(.payhippo-studio) .settings-surface .settings-disclosure > summary::after{ content: '+'; flex: none; font-size: 16px; font-weight: 400; }
:where(.payhippo-studio) .settings-surface .settings-disclosure[open] > summary::after{ content: '−'; }
:where(.payhippo-studio) .api-stripe-settings{ display: grid; gap: 0; }
:where(.payhippo-studio) .api-stripe-setting-row{ display: grid; grid-template-columns: minmax(140px, 210px) minmax(0, 560px); align-items: start; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--dashboard-border, var(--line)); }
:where(.payhippo-studio) .api-stripe-setting-row > label:first-child{ font-weight: 600; padding-top: 10px; }
:where(.payhippo-studio) .api-stripe-setting-row input:not([type="checkbox"]):not([type="file"]),:where(.payhippo-studio) .api-stripe-setting-row textarea{ box-sizing: border-box; width: 100%; min-height: 40px; border-radius:4px; padding: 8px 10px; }
:where(.payhippo-studio) .api-stripe-setting-row textarea{ min-height: 86px; resize: vertical; }
:where(.payhippo-studio) .api-stripe-media-control{ display: grid; justify-items: start; gap: 10px; min-width: 0; }
:where(.payhippo-studio) .api-stripe-toggle{ display: inline-flex; align-items: center; gap: 9px; }
:where(.payhippo-studio) #stripeGatewayBrandingForm .api-stripe-toggle input[type="checkbox"]{ box-sizing: border-box; appearance: auto; width: 16px; height: 16px; min-width: 16px; min-height: 0; margin: 0; padding: 0; flex: 0 0 16px; accent-color: var(--purple); }
:where(.payhippo-studio) .api-stripe-media-control input[type="file"]{ max-width: 100%; }
:where(.payhippo-studio) .api-stripe-media-control img{ display: block; width: auto; height: auto; max-width: 100%; object-fit: contain; }
:where(.payhippo-studio) .api-stripe-media-control #stripeGatewayIconPreview{ max-height: 30px; }
:where(.payhippo-studio) .api-stripe-media-control #stripeGatewayDescriptionPreview{ max-height: 100px; margin-inline: auto; }
:where(.payhippo-studio) .api-stripe-media-control img[hidden]{ display: none; }
:where(.payhippo-studio) .api-stripe-presets{ display: grid; gap: 8px; padding: 18px 0 12px; border-bottom: 1px solid var(--dashboard-border, var(--line)); }
:where(.payhippo-studio) .api-stripe-presets > strong{ font-size: 14px; }
:where(.payhippo-studio) .api-stripe-presets > small{ color: var(--dashboard-muted, var(--muted)); }
:where(.payhippo-studio) .api-stripe-preset{ display: grid; grid-template-columns: minmax(120px, 240px) minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--dashboard-border, var(--line)); min-width: 0; }
:where(.payhippo-studio) .api-stripe-preset img{ display: block; width: auto; height: auto; max-width: 100%; object-fit: contain; }
:where(.payhippo-studio) .api-stripe-preset--icon img{ max-height: 30px; }
:where(.payhippo-studio) .api-stripe-preset--description img{ max-height: 100px; margin-inline: auto; }
:where(.payhippo-studio) .api-stripe-preset div{ display: grid; gap: 4px; min-width: 0; }
:where(.payhippo-studio) .api-stripe-preset b{ font-size: 14px; }
:where(.payhippo-studio) .api-stripe-preset small{ color: var(--dashboard-muted, var(--muted)); }
:where(.payhippo-studio) .api-stripe-preset button{ white-space: normal; }
:where(.payhippo-studio) .api-stripe-settings .api-actions{ margin-top: 20px; }
@media (max-width: 680px){:where(.payhippo-studio) .api-stripe-setting-row{ grid-template-columns: minmax(0, 1fr); gap: 6px; }
:where(.payhippo-studio) .api-stripe-setting-row > label:first-child{ padding-top: 0; }
:where(.payhippo-studio) .api-stripe-preset{ grid-template-columns: minmax(0, 1fr); justify-items: start; }
:where(.payhippo-studio) .api-stripe-preset img{ max-width: 100%; }}
:where(.payhippo-studio) .payment-type-summary{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:10px 20px;margin-block:20px}
:where(.payhippo-studio) .payment-type-summary dt{font-weight:600}
:where(.payhippo-studio) .payment-type-summary dd{margin:0;overflow-wrap:anywhere}
:where(.payhippo-studio) #clientPaymentSupport{line-height:1.6}
:where(.payhippo-studio) .api-field-full{grid-column:1 / -1}
:where(.payhippo-studio) .store-delete-confirm{padding:16px;border:1px solid var(--border, #d8dfe8);border-radius:4px;margin-block:12px}
:where(.payhippo-studio) .store-delete-confirm .api-actions{margin-block-start:12px}
@media(max-width:520px){:where(.payhippo-studio) .payment-type-summary{grid-template-columns:1fr;gap:6px}
:where(.payhippo-studio) .payment-type-summary dd{margin-block-end:8px}}
:where(.payhippo-studio) .payment-logos-table{min-width:700px}
:where(.payhippo-studio) .payment-logos-table td{vertical-align:middle}
:where(.payhippo-studio) .payment-logos-table .payment-logo-name{min-width:175px}
:where(.payhippo-studio) .payment-logo-name img,:where(.payhippo-studio) .payment-logos-preview img{display:inline-block;object-fit:contain;vertical-align:middle;flex:none;margin-inline-end:10px;max-width:none}
:where(.payhippo-studio) .payment-logo-name strong{font-size:13px}
:where(.payhippo-studio) .payment-logos-table input[type=file]{max-width:225px;font-size:12px}
:where(.payhippo-studio) .payment-logos-table button{padding:6px 8px;margin:3px}
:where(.payhippo-studio) .payment-logos-preview{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:12px 0}
:where(.payhippo-studio) .payment-logos-preview img{margin:0}
:where(.payhippo-studio) .payment-logos-preview small{flex-basis:100%;color:var(--muted,var(--muted));margin-top:8px}
:where(.payhippo-studio) #paymentMethodLogos{scroll-margin-top:90px}
:where(.payhippo-studio) .payment-logos-scroll{max-width:100%;min-width:0;overflow:auto;overscroll-behavior-inline:contain}
:where(.payhippo-studio) .payment-logos-table .payment-logo-name img{border: 1px solid #f0f0f0;}
:where(.payhippo-studio) .payment-logos-preview-group{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}
:where(.payhippo-studio) .payment-logos-preview-group[hidden]{display:none}
:where(.payhippo-studio) .payment-logos-preview-group img{object-fit:contain;flex:none;margin:0}
:where(.payhippo-studio) #brandingPreviewFooter[hidden],:where(.payhippo-studio) #gatewayPreviewFooter[hidden]{display:none!important}
:where(.payhippo-studio) #brandingPreviewFooter a,:where(.payhippo-studio) #gatewayPreviewFooter a{display:inline-flex;align-items:center;gap:5px;min-width:0;line-height:1.4;color:inherit}
:where(.payhippo-studio) #brandingPreviewFooter bdi,:where(.payhippo-studio) #gatewayPreviewFooter bdi{overflow-wrap:anywhere;font-size:12px}
:where(.payhippo-studio) #brandingPreviewFooter img,:where(.payhippo-studio) #gatewayPreviewFooter img{width:72px;height:18px;object-fit:contain;flex:none}
/* Studio setting surfaces have one card boundary, without the retired sheet inset. */
.payhippo-studio .studio-help{border:1px solid var(--line);border-radius:4px;padding:12px;margin-block:12px;color:var(--muted)}
.payhippo-studio .studio-help>summary{cursor:pointer;color:var(--ink);font-weight:500;overflow-wrap:anywhere}
.payhippo-studio .studio-help[open]>summary{margin-block-end:12px}
.payhippo-studio .studio-help>:last-child{margin-block-end:0}
.payhippo-studio .studio-help :is(.form-label,label,legend){color:var(--ink)}
.payhippo-studio .studio-advanced>summary.card-header{display:list-item;list-style-position:inside;cursor:pointer;margin:0;overflow-wrap:anywhere}
.payhippo-studio .studio-advanced>summary.card-header>.card-title{display:inline;font-size:14px}
.payhippo-studio :is(.studio-help,.studio-advanced)>summary:focus-visible{outline:2px solid var(--purple);outline-offset:3px;border-radius:4px}
.payhippo-studio .settings-surface{padding:0}
.payhippo-studio .settings-surface>:is(.api-card,.settings-section){padding:22px;margin-block-end:22px;border:1px solid var(--line);border-radius:4px;background:var(--paper)}
.payhippo-studio .settings-surface>:is(.api-card,.settings-section):last-child{border-block-end:1px solid var(--line)}
.payhippo-studio .api-payment-flow>label:has(input:checked),.payhippo-studio .api-product-info-choices>label:has(input:checked){border-color:var(--purple);background:var(--purple-soft)}
.payhippo-studio :is(.api-section-heading h2,.api-connect-step strong,.api-product-preview-body){color:var(--ink)}
.payhippo-studio :is(.api-copy-row code,.api-key-result,.api-client-meta,.api-branding-preview){background:var(--soft);border-color:var(--line);color:var(--ink)}
@media(max-width:767px){.payhippo-studio .settings-surface>:is(.api-card,.settings-section){padding:16px}.payhippo-studio .api-form-grid{grid-template-columns:1fr}}
