/* The same secondary controls and states as Save, with room for phone wrapping. */
.prototype-family .pd-detail-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:22px 0 24px;max-width:100%}
.prototype-family .pd-detail-actions .pd-save{margin:0}
.pd-build-actions{display:contents}.pd-build-actions[hidden]{display:none}
:is(.prototype-family .pd-detail-actions,[data-home-build]) .pd-button{height:56px;min-height:56px;box-sizing:border-box;padding:10px 18px;font-size:13px;gap:8px;white-space:nowrap}
/* Home pricing links share the Build controls without the design-system base stylesheet. */
[data-home-build] .pd-button{display:inline-flex;align-items:center;justify-content:center;font:600 13px/1.4 var(--pd-font-body,var(--sans));letter-spacing:0;text-transform:none;text-decoration:none;cursor:pointer}
/* Original wordmark vectors sized in CSS pixels, with their native proportions. */
.pd-build-label{display:inline-flex;align-items:center;gap:4px;line-height:1.5}
.pd-build-logo{display:block;flex:none;max-width:none;overflow:visible}
.pd-build-logo-chatgpt{width:82px;height:19.457627px}
.pd-build-logo-claude{width:54.2px;height:11.639464px}
.pd-build-more{position:relative;flex:none}
.prototype-family .pd-detail-actions .pd-build-dots{width:56px;padding:0;border-radius:999px;font-size:25px;font-weight:400}
.pd-build-menu{position:absolute;z-index:50;right:0;top:calc(100% + 8px);width:max-content;max-width:calc(100vw - 40px);padding:6px;border:1px solid var(--pd-line);border-radius:var(--pd-radius-card);background:var(--pd-surface-raised);box-shadow:0 10px 30px rgb(20 33 59 / .12)}
.prototype-family .pd-build-menu :is(button,a[data-claude-add]){display:block;min-height:44px;width:100%;padding:10px 14px;border-radius:var(--pd-radius-sm);font-size:13px;text-align:left}
.prototype-family .pd-build-menu :is(button,a[data-claude-add]):hover{background:var(--pd-surface)}
/* The connector item is an icon row. Same 10px mark-to-text gap as the trend menus, and while it is showing the icon-less Copy item keeps its text in the same column (14px + 18px mark + 10px gap). */
.prototype-family .pd-build-menu a[data-claude-add]{display:flex;align-items:center;gap:10px}
.prototype-family .pd-build-menu:has(a[data-claude-add]:not([hidden])) button{padding-left:calc(14px + 18px + 10px)}
.prototype-family .growth-actions{width:100%}.prototype-family .growth-actions .pd-detail-actions{margin:0}
.pd-build-copy{width:520px;max-width:calc(100vw - 40px);box-sizing:border-box;padding:24px;border:1px solid var(--pd-line);border-radius:var(--pd-radius-card);background:var(--pd-surface-raised);color:var(--pd-ink);font-family:var(--pd-font-body)}
.pd-build-copy::backdrop{background:rgb(20 33 59 / .35)}
.pd-build-copy h2{font-family:var(--pd-font-title);margin:0}.pd-build-copy p{line-height:1.5}
.pd-build-copy textarea{box-sizing:border-box;width:100%;font:400 16px/1.5 var(--pd-font-body);margin-bottom:16px;padding:12px}
@media(max-width:600px){
 .prototype-family .pd-detail-actions{display:grid;grid-template-columns:minmax(0,1fr) 48px;width:100%;gap:10px;margin-top:18px}
 .prototype-family .pd-detail-actions .pd-save,.pd-build-actions [data-build-agent="chatgpt"]{grid-column:1/-1}
 .prototype-family .pd-detail-actions .pd-save form,.prototype-family .pd-detail-actions .pd-save-btn{width:100%}
 :is(.prototype-family .pd-detail-actions,[data-home-build]) .pd-button{height:48px;min-height:48px;padding:8px 14px;font-size:13px}
 .prototype-family .pd-detail-actions .pd-star-slot{width:24px;height:24px}
 .prototype-family .pd-detail-actions .pd-save-btn{grid-template-columns:24px auto}
 .prototype-family .pd-detail-actions .pd-build-dots{width:48px;padding:0;font-size:25px}
}

/* Build shares Save's white face and colour-only interaction states. */
html body :is(.pd-detail-actions,[data-home-build]) .pd-build-btn{background:#fff!important;color:var(--pd-ink,#18191e)!important;border:1px solid var(--pd-ink,#18191e);border-radius:999px;box-shadow:none!important;transform:none!important;translate:none!important;scale:none!important;transition:color 150ms ease,background-color 150ms ease,border-color 150ms ease}
/* payday-design's generic arrow nudge also selected the label and dots. They
   are labels, not arrows: neither the button nor any of its artwork moves. */
html body :is(.pd-detail-actions,[data-home-build]) .pd-build-btn>*{transform:none!important;translate:none!important;scale:none!important;transition:none!important}
@media(hover:hover) and (pointer:fine){
 html body:not(.pd-oauth) :is(.pd-detail-actions button,[data-home-build] a).pd-build-btn:hover{background:#e6ecfa!important;color:#254fc8!important;border-color:#426bdd!important}
}
@layer payday-focus{
 html body:not(.pd-oauth) :is(.pd-detail-actions,[data-home-build]) .pd-build-btn:active{background:#e6ecfa!important;color:#254fc8!important;border-color:#426bdd!important;outline:none!important;box-shadow:none!important}
}
/* Keep the site's toast and pill-button styling, with a contrasting face on ink. */
.pd-toast[data-prompt-action]:not([hidden]){display:flex;align-items:center;flex-wrap:wrap;gap:12px;width:max-content;box-sizing:border-box}
.pd-toast[data-prompt-action] .pd-button{flex:none;min-height:44px;background:var(--pd-surface-raised);color:var(--pd-ink);border-color:var(--pd-surface-raised)}

/* The no-connector pitch route uses the existing dialog and button language. */
.pd-pitch-dialog{position:fixed;width:640px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);overflow:auto;padding:28px;color:var(--pd-ink,#18191e);background:var(--pd-surface-raised,#fff);border-radius:18px}
.pd-pitch-dialog h2{padding-right:24px;font-size:26px;line-height:1.25;overflow-wrap:anywhere}
.pd-pitch-dialog h3{font-size:19px;margin:0 0 10px}
.pd-pitch-dialog section{padding:20px 0;border-bottom:1px solid var(--pd-line,#dedee3)}
.pd-pitch-dialog section:last-child{border-bottom:0;padding-bottom:0}
.pd-pitch-dialog p{font-size:15px;line-height:1.5;margin:12px 0}
.pd-pitch-dialog .pd-pitch-kicker{font-size:13px;font-weight:600;margin-top:0;color:#48546a}
.pd-pitch-dialog .pd-pitch-note{font-size:13px;color:#555b66}
.pd-pitch-dialog .pd-button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 16px;box-sizing:border-box;white-space:normal;text-align:center;font-size:14px}
.pd-pitch-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.pd-pitch-dialog details{margin-top:16px}.pd-pitch-dialog summary{cursor:pointer;min-height:32px}
.pd-pitch-dialog textarea{font:13px/1.5 var(--pd-font-body,sans-serif);max-width:100%}
.pd-pitch-dialog [data-pitch-status]:empty{display:none}
@media(max-width:480px){.pd-pitch-dialog{padding:22px 18px}.pd-pitch-dialog h2{font-size:23px}.pd-pitch-actions>*{width:100%}}
