.portal-payout-card{border-top:4px solid #126f66}.portal-payout-summary{display:flex;gap:48px;flex-wrap:wrap;margin:22px 0}.portal-payout-summary span{display:block;font-size:13px;color:#64748b;margin-bottom:8px}.portal-payout-summary strong{font-size:32px;color:#174573}.portal-payout-card details{border-top:1px solid #e2e8f0;padding-top:16px}.portal-table-scroll{overflow-x:auto}.portal-profile-snapshot{display:flex;align-items:center;gap:24px;margin:18px 0}.portal-profile-snapshot strong{font-size:20px;color:#174573}.portal-profile-snapshot p{margin:8px 0;overflow-wrap:anywhere}.portal-logo-block{flex:0 0 112px;text-align:center}.portal-logo-block .portal-text-button{margin:auto}.portal-logo-placeholder{display:grid;place-items:center;width:96px;height:96px;margin:auto;border:1px dashed #a9c5d2;border-radius:14px;background:#eef5f7;font-size:36px;font-weight:700;color:#67899b}.portal-logo-placeholder[hidden]{display:none}@media(max-width:540px){.portal-profile-snapshot{gap:14px;align-items:flex-start}.portal-payout-summary{gap:24px}.portal-logo-block{flex-basis:96px}}

.portal-profile-reminder{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#eef7f3;border:1px solid #cfe5db;border-radius:16px;padding:22px 26px;margin-bottom:24px}.portal-profile-reminder[hidden]{display:none}.portal-profile-reminder h2{font-size:22px;margin:8px 0}.portal-profile-reminder p{font-size:14px;line-height:1.6;color:#526477;margin:8px 0}.portal-profile-reminder .button{flex-shrink:0}@media(max-width:650px){.portal-profile-reminder{align-items:flex-start;flex-direction:column;gap:12px;padding:20px}}

.portal-terms-scroll{height:210px;overflow-y:auto;padding:16px;border:1px solid #d8e2e8;border-radius:10px;margin:12px 0;background:#f8fafc;font-size:13px;line-height:1.7}.portal-terms-scroll h3{font-size:15px;margin:16px 0 8px}.portal-check{display:flex!important;align-items:flex-start;gap:10px;line-height:1.6;font-size:13px;margin:14px 0!important}.portal-check input[type=checkbox]{width:17px!important;min-width:17px;margin-top:4px}.portal-terms-scroll:focus{outline:2px solid #126f66}#account-policy summary,#signup-terms summary{cursor:pointer;font-weight:600}#venmo-form input[name=venmoUsername]{max-width:340px}

/* Account tools first; supporting settings stay quiet until needed. */
body[data-portal-state="signed-in"] .partner-portal{max-width:1160px;padding-bottom:32px}
body[data-portal-state="signed-in"] .portal-header{margin-bottom:12px;min-height:80px}
body[data-portal-state="signed-in"] #portal-entry>h1{font-size:26px;margin:8px 0 20px}
.partner-portal #portal-status:empty{display:none}
#portal-account>.breeder-card,#portal-account>.breeder-grid,#portal-account>.portal-coming-soon,#portal-account>.portal-rewards-grid{margin:0 0 18px}
#portal-account .breeder-card{padding:24px}
#portal-account h2{font-size:20px;line-height:1.35}
#portal-account p{line-height:1.55}
#portal-account .eyebrow{font-size:11px;letter-spacing:.09em;margin:0 0 8px}
#portal-account .button{min-height:44px;padding:10px 18px;border:1px solid #cbd9e2;border-radius:9px;background:#f5f8fa;color:#193d62;font-size:14px;font-weight:600;line-height:1.3;letter-spacing:0;text-transform:none;box-shadow:none;transform:none}
#portal-account .button-primary{background:#126f66;border-color:#126f66;color:#fff}
#portal-account .button:hover{background:#e9f0f4}
#portal-account .button-primary:hover{background:#0e5d55}
#portal-account :is(button,a,summary,input):focus-visible{outline:3px solid #5d9fba;outline-offset:3px}
#portal-account input:not([type=checkbox]):not([type=file]){min-height:44px;font-size:15px;border-radius:8px}
#portal-account .portal-text-button{min-height:44px;display:inline-flex;align-items:center;padding:8px 0}
#portal-account .portal-link-row{margin:16px 0 12px}
#portal-account .portal-link-actions{gap:12px 24px;align-items:center}
#portal-account .portal-link-actions>a,#portal-account summary{padding:8px 0;line-height:1.5}
#portal-account .breeder-grid{gap:12px}
#portal-account .breeder-grid>div{padding:16px}
#portal-account .breeder-grid strong{font-size:28px;line-height:1.3;margin-bottom:4px}
.portal-rewards-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
.portal-rewards-grid .breeder-card{margin:0 0 18px}
.portal-rewards-grid>div>.breeder-card:last-child{margin-bottom:0}
#portal-account .portal-payout-card{border-top:1px solid #d7e1ed}
#portal-account .portal-payout-summary{margin:14px 0;gap:24px}
#portal-account .portal-payout-summary strong{font-size:26px}
#portal-account .portal-payout-summary span{margin-bottom:4px}
#portal-account .portal-payout-card details{padding-top:8px}
#portal-account .portal-profile-reminder{margin:16px 0;padding:14px 16px;gap:16px;border-radius:10px}
#portal-account .portal-profile-reminder h2{font-size:16px;margin:0 0 4px}
#portal-account .portal-profile-reminder p{margin:0;font-size:13px}
#profile-reminder-logo{display:none}
#portal-account .portal-profile-snapshot{gap:18px;margin:16px 0 8px}
#portal-account .portal-profile-snapshot strong{font-size:18px}
#profile-details:not([open])>summary{display:none}
#portal-account .portal-policy{padding:10px 20px;background:#f8fafc}
#account-policy>#account-policy-title{font-size:14px;color:#426277}
#account-policy[open]>#account-policy-title{margin-bottom:12px}
#portal-account .portal-coming-soon{padding:16px 20px}
#portal-account .portal-coming-soon h2{font-size:16px;margin-bottom:4px}
#portal-account .portal-coming-soon p{font-size:13px}
#portal-account .portal-footnote{font-size:13px;margin-bottom:0;padding-top:12px}
@media(max-width:720px){
 .portal-rewards-grid{grid-template-columns:1fr;gap:18px}
 #portal-account .breeder-card{padding:20px}
 #portal-account .portal-profile-reminder{align-items:flex-start;flex-direction:column;gap:10px}
 #portal-account .portal-section-top{flex-wrap:nowrap;gap:12px}
 #portal-account .portal-badge{white-space:normal;text-align:center;max-width:120px}
 #portal-account table{font-size:13px}
 #portal-account th,#portal-account td{padding:12px 8px}
}
@media(max-width:480px){
 body[data-portal-state="signed-in"] .partner-portal{padding-left:16px;padding-right:16px}
 body[data-portal-state="signed-in"] .portal-header{min-height:72px;margin-bottom:8px}
 #portal-account .breeder-card{padding:18px 16px}
 #portal-account .portal-link-row{gap:8px}
 #portal-account .portal-link-row .button{width:100%;justify-content:center}
 #portal-account .portal-link-row input{font-size:13px}
 #portal-account .portal-profile-snapshot{align-items:flex-start;gap:12px}
 #portal-account .portal-logo-block{flex-basis:72px}
 #portal-account #profile-logo,#portal-account .portal-logo-placeholder{width:64px;height:64px}
 #portal-account .portal-profile-snapshot strong{font-size:16px}
 #portal-account .portal-profile-snapshot p{font-size:13px}
}
@media(prefers-reduced-motion:reduce){#portal-account *{scroll-behavior:auto!important;transition:none!important}}

#portal-account [hidden]{display:none!important}

.portal-photo-library{margin-top:22px;padding-top:20px;border-top:1px solid #dce5eb}
.portal-photo-library h3{font-size:18px;margin:0 0 6px;color:#193d62}
.portal-photo-library .breeder-small{margin-top:0}
.portal-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:16px 0}
.portal-photo-card{min-width:0;border:1px solid #d7e1ed;border-radius:12px;padding:10px;background:#f8fafc}
.portal-photo-card img{display:block;width:100%;height:150px;object-fit:cover;border-radius:8px;background:#e5eef2}
.portal-photo-card p{font-size:13px;margin:10px 0;overflow-wrap:anywhere}
.portal-photo-card>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
#portal-account .portal-photo-card .button{font-size:13px;padding:9px 12px}
#photo-upload-form{border:1px dashed #bacfd9;border-radius:12px;padding:16px;margin-top:16px}
#photo-upload-form input[type=file]{max-width:100%;width:100%;font-size:14px}
#photo-upload-status:not(:empty){margin-top:12px;color:#193d62}
#photo-removed{margin-top:16px}
@media(max-width:720px){.portal-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-photo-library .portal-section-top{flex-wrap:wrap!important}}
@media(max-width:420px){.portal-photo-grid{grid-template-columns:1fr}.portal-photo-card img{height:190px}}

/* Compact signed-in dashboard: identity first, details on demand. */
#profile-card>.portal-profile-snapshot{margin-bottom:0}
#profile-editor{margin-top:20px;padding-top:18px;border-top:1px solid #dce5eb}
#profile-editor[hidden]{display:none!important}
#portal-account #profile-details>summary{display:block;font-weight:600;color:#193d62}
.portal-website-button{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}
.portal-website-button>details{flex:1;min-width:0}
.portal-website-button summary{cursor:pointer;font-weight:600;color:#193d62}
.portal-button-sample{display:grid;gap:8px;max-width:100%}
.portal-button-sample>span{margin:0}
#website-button-preview a:hover{filter:brightness(.92)}
#portal-account .portal-referrals-panel{padding:16px 24px}
.portal-referrals-panel>summary{display:flex;align-items:center;gap:12px;cursor:pointer;font-weight:600;color:#193d62;list-style:none}
.portal-referrals-panel>summary::-webkit-details-marker{display:none}
.portal-referrals-panel>summary::before{content:'▸';font-size:18px}
.portal-referrals-panel[open]>summary::before{content:'▾'}
.portal-referral-count{margin-left:auto;color:#64748b;font-size:13px;font-weight:400}
.portal-referrals-content{padding-top:12px}
@media(max-width:640px){.portal-website-button{flex-direction:column;gap:16px}#portal-account #profile-card>.portal-section-top{flex-wrap:wrap}#portal-account .portal-referrals-panel{padding:14px 16px}.portal-profile-snapshot p{overflow-wrap:anywhere}}

.portal-profile-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;flex-shrink:0}
#portal-account .portal-inventory-button{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px;border:1px solid #dce5eb;border-radius:8px;background:#f6f9fb;color:#526477;font:600 13px/1.4 Arial,sans-serif;cursor:default;opacity:1}
.portal-inventory-button span{font-size:10px;font-weight:500;padding:3px 6px;background:#e8eef2;border-radius:5px}
.portal-profile-actions>#inventory-coming-note{font-size:11px;text-align:center;margin:0;color:#64748b}
@media(max-width:480px){.portal-profile-actions{width:100%}}

#venmo-editor{margin-top:18px;padding-top:16px;border-top:1px solid #dce5eb}
#venmo-editor[hidden]{display:none!important}
.portal-venmo-actions{display:flex;flex-wrap:wrap;gap:10px}
#portal-account .portal-venmo-card h2{margin-bottom:8px}
#portal-account #venmo-status{margin:0 0 16px}

#portal-account .portal-rewards-panel{padding:16px 24px;margin-bottom:18px}
.portal-rewards-panel>.portal-rewards-grid{margin-top:8px;margin-bottom:0}
#portal-account .portal-rewards-panel .breeder-card{border:0;border-radius:0;background:transparent;box-shadow:none;padding:16px 0;margin:0}
#portal-account .portal-rewards-panel .portal-payout-card{border-top:1px solid #dce5eb}
@media(max-width:720px){#portal-account .portal-rewards-panel{padding:14px 16px}.portal-rewards-panel>.portal-rewards-grid{gap:0}#portal-account .portal-rewards-panel .portal-venmo-card{border-top:1px solid #dce5eb}}

#profile-card>.portal-section-top{margin-bottom:8px}
#portal-account #profile-card>.portal-profile-snapshot{margin-top:0;align-items:center}
.portal-profile-snapshot>div:nth-child(2){min-width:0;flex:1}
.portal-profile-snapshot>.portal-profile-actions{margin-left:auto;align-self:center}
.portal-website-options{margin-top:16px;padding-top:12px;border-top:1px solid #dce5eb}
.portal-website-options>summary{cursor:pointer;font-weight:600;color:#193d62}
.portal-website-options>summary .breeder-small{margin-left:8px;font-size:12px;font-weight:400;color:#64748b}
.portal-banner-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.portal-banner-option{min-width:0;border:1px solid #dce5eb;border-radius:12px;padding:16px;background:#fff}
.portal-banner-option h3{font-size:15px;margin:0 0 12px;color:#193d62}
.portal-banner-large{grid-column:1/-1}
.portal-banner-sample{display:flex;align-items:center;justify-content:center;min-height:190px;padding:16px;background:#f5f8fa;border-radius:8px;margin-bottom:14px;box-sizing:border-box}
#website-code-fallback{width:100%;min-height:130px;font:12px/1.5 monospace;padding:12px;box-sizing:border-box}
@media(max-width:640px){.portal-banner-options{grid-template-columns:1fr}.portal-banner-large{grid-column:auto}#portal-account #profile-card>.portal-profile-snapshot{flex-wrap:wrap}.portal-profile-snapshot>.portal-profile-actions{width:100%;margin-left:0}.portal-website-options>summary .breeder-small{display:block;margin-left:0}.portal-banner-sample{padding:12px}}

/* Shared breed categories, kept compact until searched or expanded. */
.portal-breed-picker-slot{grid-column:1/-1}.portal-breed-picker{min-width:0;border:1px solid #cce4e3;border-radius:14px;padding:16px;background:#f7fbfb}.portal-breed-picker legend{padding:0 6px;font-weight:700}.portal-breed-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.portal-breed-chips button,.portal-breed-legacy button{background:white;border:1px solid #b9d9d8;border-radius:24px;padding:8px 12px;color:#174b51;cursor:pointer;font:inherit;font-size:14px;min-height:40px}.portal-breed-search{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:12px}.portal-breed-search select{width:100%;padding:11px;border:1px solid #cbd5df;border-radius:9px;background:#fff;font:inherit}.portal-breed-results{max-height:240px;overflow:auto;background:#fff;border:1px solid #d9e4ea;border-radius:10px;margin-top:8px}.portal-breed-results button{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid #edf2f5;padding:12px;cursor:pointer;color:#193e4c;font:inherit}.portal-breed-results button:hover,.portal-breed-results button:focus-visible{background:#eaf6f5}.portal-breed-results p{padding:12px}.portal-breed-legacy{padding:12px;background:#fff8e7;border-radius:10px;font-size:13px}.portal-breed-legacy button{margin:4px}.portal-profile-reminder h3{margin:0 0 4px;font-size:16px}.portal-profile-reminder{margin-top:16px}.portal-breed-picker:disabled{opacity:.65}@media(max-width:480px){.portal-breed-search{grid-template-columns:1fr}.portal-breed-results button{display:block}.portal-breed-results button span{display:block}}

.portal-breed-chips{display:block}.portal-breed-selection{display:flex;flex-wrap:wrap;align-items:center;gap:10px;border:1px solid #d8e9e7;background:#fff;border-radius:10px;padding:12px;margin:8px 0}.portal-breed-selection>strong{min-width:110px;color:#193e4c}.portal-breed-size{display:flex;align-items:center;gap:4px}.portal-breed-selection select{max-width:100%;padding:9px 10px;border:1px solid #cbd8de;border-radius:8px;background:#fff;font:inherit;font-size:14px;min-height:42px}.portal-breed-chips .portal-text-button{border:0;border-radius:5px;color:#126f66;text-decoration:underline}.portal-breed-chips .portal-breed-remove{margin-left:auto;border:0;border-radius:5px;color:#61717d;background:transparent}.portal-breed-chips .portal-size-remove{padding:8px;border:0;border-radius:5px;color:#61717d}@media(max-width:480px){.portal-breed-selection>strong{flex-basis:100%}.portal-breed-size{max-width:100%}.portal-breed-chips .portal-breed-remove{margin-left:0}}
