/* Member portal and native account forms. No layout replacement for admin screens. */
.ytm-site .ytm-resource-links { background: var(--ytm-ink); color: #eee8db; padding: 28px max(20px,calc((100% - 1360px)/2)); display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .85rem; }
.ytm-site .ytm-resource-links span { flex-basis: 100%; font-weight: 600; }
.ytm-site .ytm-resource-links a { color: #eee8db; min-height: 44px; display: inline-flex; align-items: center; }
.ytm-site .ytm-portal { width: min(1360px,calc(100% - 2 * var(--ytm-space))); margin: 56px auto 88px; min-width: 0; }
.ytm-site .ytm-portal__heading { display: block; position: static; height: auto; min-height: 0; padding: 0; background: none; margin-bottom: 40px; }
.ytm-site .ytm-portal h1 { font: 400 clamp(2.2rem,4vw,3.6rem)/1.12 var(--ytm-serif); letter-spacing: -.035em; margin: 0; }
.ytm-site .ytm-auth-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); border: 1px solid var(--ytm-line); background: #fff; }
.ytm-site .ytm-auth-story { padding: clamp(28px,5vw,72px); background: var(--ytm-ink); color: #eee8db; }
.ytm-site .ytm-auth-story h2 { color: #fff; font: 400 clamp(1.9rem,3vw,2.8rem)/1.15 var(--ytm-serif); }
.ytm-site .ytm-auth-story .ytm-eyebrow { color: #dfc59b; }
.ytm-site .ytm-auth-panel { padding: clamp(24px,4vw,56px); min-width: 0; }
.ytm-site .ytm-auth-panel h2 { font: 500 1.45rem/1.35 var(--ytm-sans); margin: 0 0 24px; }
.ytm-site .ytm-auth-panel :where(input:not([type=checkbox]):not([type=radio]):not([type=submit]),select,textarea) { display: block; width: 100%; min-height: 48px; padding: 12px; border: 1px solid #8b9187; background: #fff; color: var(--ytm-ink); border-radius: 3px; font-size: 16px; }
.ytm-site .ytm-auth-panel label { display: block; font-size: .9rem; margin: 0 0 8px; color: var(--ytm-ink); }
.ytm-site .ytm-auth-panel input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--ytm-accent); vertical-align: middle; margin-inline-end: 8px; }
.ytm-site .ytm-auth-panel .hp-form--narrow { max-width: none; }
.ytm-site .ytm-auth-panel :where(.hp-form__field,p) { margin-bottom: 20px; }
.ytm-site .ytm-auth-panel :where(input[type=submit],button[type=submit]) { min-height: 48px; width: 100%; background: var(--ytm-ink); color: #fff; border: 1px solid var(--ytm-ink); border-radius: 3px; padding: 12px 22px; font-weight: 600; white-space: normal; }
.ytm-site .ytm-auth-panel a { color: var(--ytm-accent); text-underline-offset: .25em; }
.ytm-site .ytm-auth-panel .hp-form__messages { overflow-wrap: anywhere; }
.ytm-site .ytm-auth-panel .hp-form__field--password { position: relative; }
.ytm-site .ytm-account-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 40px; }
.ytm-site .ytm-account-nav { align-self: start; border-block: 1px solid var(--ytm-line); }
.ytm-site .ytm-account-nav a { display: flex; align-items: center; min-height: 48px; padding: 12px 16px; color: var(--ytm-ink); text-decoration: none; border-bottom: 1px solid var(--ytm-line); font-size: .9rem; }
.ytm-site .ytm-account-nav a:hover { background: #eae6dc; }
.ytm-site .ytm-account-content { min-width: 0; }
.ytm-site .ytm-account-content > h2 { margin-bottom: 8px; font-family: var(--ytm-serif); font-weight: 400; font-size: 2rem; line-height: 1.2; }
.ytm-site .ytm-account-content > p { color: var(--ytm-muted); margin-bottom: 28px; }
.ytm-site .ytm-owned-listings { display: grid; gap: 18px; }
.ytm-site .ytm-owned-listing { display: grid; grid-template-columns: 200px minmax(0,1fr); background: #fff; border: 1px solid var(--ytm-line); border-radius: 4px; min-width: 0; }
.ytm-site .ytm-owned-listing__media { align-self: start; min-width: 0; }
.ytm-site .ytm-owned-listing__body { padding: 20px 24px; min-width: 0; }
.ytm-site .ytm-owned-listing h3 { margin: 6px 0 10px; font: 500 1.15rem/1.4 var(--ytm-sans); overflow-wrap: anywhere; }
.ytm-site .ytm-listing-status { font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ytm-accent); }
.ytm-site .ytm-owned-price { font-size: 1.25rem; font-weight: 600; margin: 0 0 10px; }
.ytm-site .ytm-owned-actions { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.ytm-site .ytm-owned-actions a { min-height: 44px; display: inline-flex; align-items: center; color: var(--ytm-accent); font-size: .9rem; }
.ytm-site .ytm-empty-state { background: #fff; border: 1px solid var(--ytm-line); padding: 40px; }
.ytm-site .ytm-empty-state h3 { font: 400 1.8rem/1.3 var(--ytm-serif); }
.ytm-site .ytm-pagination { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 24px; }
.ytm-site .ytm-pagination a { padding: 10px 16px; color: var(--ytm-ink); border: 1px solid var(--ytm-line); }
.ytm-site .ytm-pagination [aria-current=page] { background: var(--ytm-ink); color: #fff; }
@media (max-width:1023px) { .ytm-site .ytm-account-layout { grid-template-columns: minmax(0,1fr); gap: 24px; } .ytm-site .ytm-account-nav { display: flex; flex-wrap: wrap; } .ytm-site .ytm-account-nav a { flex: 1 1 160px; } }
@media (max-width:767px) { .ytm-site .ytm-auth-layout { grid-template-columns: minmax(0,1fr); } .ytm-site .ytm-auth-story { padding: 28px; } .ytm-site .ytm-auth-story p:not(.ytm-eyebrow) { margin-bottom: 0; } .ytm-site .ytm-portal { margin-block: 32px 56px; } }
@media (max-width:479px) { .ytm-site .ytm-owned-listing { grid-template-columns: minmax(0,1fr); } .ytm-site .ytm-auth-panel,.ytm-site .ytm-empty-state { padding: 24px 20px; } }
.ytm-owned-actions .ytm-sold-form{display:inline-flex;margin:0}.ytm-owned-actions .ytm-sold-form button{font:inherit;cursor:pointer;border:1px solid currentColor;border-radius:5px;padding:8px 12px;background:transparent;color:inherit}.ytm-sold-notice{padding:12px;border:1px solid #b89245;font-weight:700}
