/* CARMEET_USER_DEALER_PANELS_V1: scoped to account screens only. */
#account-screen.member-page{max-width:1500px;color:#174264;padding:0 28px;margin:28px auto 48px}
.member-page .member-layout{grid-template-columns:248px minmax(0,1fr);gap:28px}
.member-page .member-sidebar{border:1px solid #cfe2f1;background:linear-gradient(170deg,#fff 55%,#edf8ff);box-shadow:0 12px 32px #00549c0c;border-radius:22px;padding:22px 16px}
.member-page .member-identity{padding:8px 3px 20px;gap:12px}
.member-page .member-identity>div{background:#00549c;border-radius:14px}
.member-page .member-identity strong{font-size:15px;color:#174264}
.member-page .member-sidebar nav button{min-height:44px;border-radius:12px}
.member-page .member-sidebar nav button.active{background:#00549c;color:#fff;box-shadow:0 6px 16px #00549c26}
.member-page .member-sidebar nav button:not(.active):hover,.member-page summary:hover{background:#e5f3ff}
.member-page .member-wallet{border-radius:16px;background:linear-gradient(120deg,#e0f0ff,#e7fafb);border-color:#c4e2f5;padding:16px 12px}
.member-page .member-wallet b{font-size:21px}.member-page .member-wallet>button{background:#00549c}
.member-page .member-heading{margin-bottom:22px;gap:16px}.member-page .member-heading h1{font-size:clamp(22px,2.2vw,30px);line-height:1.3;letter-spacing:-.6px;color:#123d60}
.member-page .member-welcome{min-height:250px;padding:34px;border:1px solid #c2dff3;background:linear-gradient(90deg,#f1faff 0%,#f1faffed 34%,#f1faffaa 61%,#f1faff0a 100%),url('member-coastal-background.png') center/cover;color:#123d60;border-radius:24px;box-shadow:0 12px 28px #00549c12;align-items:flex-start}
.member-page .member-welcome>div:first-child{max-width:66%;position:relative;z-index:1}.member-page .member-welcome-art{display:none}
.member-page .member-welcome h2{font-size:clamp(25px,2.5vw,35px);line-height:1.16;margin:12px 0 16px;color:#123d60}
.member-page .member-welcome p{color:#355c79;font-size:15px;max-width:480px}
.member-page .member-welcome .member-eyebrow{color:#00549c;letter-spacing:1.4px;font-size:11px}
.member-page .member-plan-pills{gap:7px}.member-page .member-plan-pills>span{background:#ffffffdc;color:#174264;border-color:#c2dff3;box-shadow:0 3px 8px #00549c08;padding:9px 10px;font-size:11px}
.member-page .member-card{border:1px solid #d9e8f3;border-radius:20px;padding:26px;box-shadow:0 7px 24px #00549c08;background-color:#fff}
.member-page .member-card h2,.member-page .member-card h3{color:#174264}
.member-page .member-card p{line-height:1.65}
.member-page .member-stats{gap:14px}.member-page .member-stats button{min-height:98px;border-radius:18px;padding:20px;border-top-width:3px;box-shadow:0 5px 15px #00549c07}.member-page .member-stats b{font-size:29px;line-height:1.2;color:#174264}
.member-page .member-stats small{font-size:12px}.member-page .member-status button{min-height:102px;border-radius:16px}.member-page .member-status button b{font-size:29px}
.member-page .member-category-cards .member-card{padding:24px}.member-page .member-category-symbol{width:52px;height:52px;border-radius:16px}
.member-page .member-two{gap:18px}.member-page .member-promotion-card{background:linear-gradient(125deg,#fff8e6,#fff 75%)}.member-page .member-credits-card{background:linear-gradient(125deg,#eaf6ff,#fff 75%)}
.member-page .member-balance>b{font-size:52px}.member-page .member-listing-card{border-radius:22px;padding:26px;grid-template-columns:160px minmax(0,1fr) 170px;gap:24px}
.member-page .member-listing-photo{border-radius:16px}.member-page .member-listing-top{gap:10px}.member-page .member-listing-content h3{font-size:20px}.member-page .member-listing-views{font-size:13px;color:#527590}.member-page .member-listing-views .icon{width:19px;height:19px}
.member-page .member-listing-price>strong{font-size:27px}.member-page .member-credit-actions button{min-height:58px;border-radius:14px}
.member-page .member-table{border-collapse:separate;border-spacing:0;width:100%}.member-page .member-table th{background:#eff7fd;color:#345c7c;padding:15px}.member-page .member-table td{padding:15px;border-bottom:1px solid #e2edf5}
.member-page .member-tabs{display:flex;flex-wrap:wrap;gap:8px}.member-page .member-tabs button{min-height:42px;padding:10px 15px;border:1px solid #d9e8f3;border-radius:12px}.member-page .member-tabs button.active{background:#00549c;color:#fff;border-color:#00549c}
.member-page .member-empty{min-height:240px;border-radius:18px;background:radial-gradient(ellipse at center,#edf8ff,transparent 70%);padding:28px}
.member-page .member-empty-art{background:#e1f2ff;border-radius:24px}.member-page .member-info{padding:16px 18px;border-radius:14px}
.member-page .member-packages article{border-radius:20px;padding:24px;border-color:#cfe2f1}
.member-page .mp-section-banner{padding:26px 30px;min-height:130px;margin:0 0 22px;border:1px solid #cee4f5;border-radius:22px;background:linear-gradient(90deg,#f2faff,#f2faffe0 55%,#f2faff50),url('member-coastal-background.png') center 52%/cover;color:#174264;box-shadow:0 7px 24px #00549c08}
.member-page .mp-section-banner>span{font-size:11px;font-weight:700;letter-spacing:1.3px;color:#00549c}.member-page .mp-section-banner h2{font-size:25px;margin:9px 0 8px;max-width:70%}.member-page .mp-section-banner p{font-size:13px;margin:0;max-width:70%;line-height:1.6;color:#416985}
.member-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.member-page select,.member-page textarea{border-radius:12px;border-color:#cddfea;padding:12px;font:inherit;max-width:100%;box-sizing:border-box}
.member-page .member-main{min-width:0}.member-page .member-table-wrap{overflow:auto}.member-page button{touch-action:manipulation}.member-page button:focus-visible,.dealer-page .cm-panel-listing button:focus-visible{outline:3px solid #45a9ff;outline-offset:3px}
/* Dealer cards retain the existing visibility, edit, archive and payment handlers. */
#account-screen.dealer-page .cm-panel-listing{position:relative;display:grid;grid-template-columns:160px minmax(0,1fr);gap:24px;align-items:center;padding:28px;border:1px solid #d9e8f3;border-radius:22px;background:#fff;box-shadow:0 8px 26px #00549c09}
#account-screen.dealer-page .cm-panel-listing .dealer-select{position:absolute;left:10px;top:10px;z-index:1}
#account-screen.dealer-page .cm-panel-listing .dealer-listing-photo{width:100%;height:auto;aspect-ratio:4/3;border-radius:16px;overflow:hidden}
#account-screen.dealer-page .cm-panel-listing .dealer-listing-photo img{width:100%;height:100%;object-fit:cover}
#account-screen.dealer-page .cm-panel-actions{display:grid;grid-template-columns:minmax(0,1fr) 178px;gap:24px;margin:0;align-items:stretch}
#account-screen.dealer-page .cm-panel-listing .dealer-listing-info{min-width:0}
#account-screen.dealer-page .cm-panel-listing-top{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:16px}
#account-screen.dealer-page .cm-panel-listing .dealer-listing-info h2{font-size:21px;line-height:1.35;color:#174264;margin:0 0 12px;overflow-wrap:anywhere}
#account-screen.dealer-page .cm-panel-listing .dealer-listing-info p{color:#527590;font-size:13px;line-height:1.5;margin:0}
#account-screen.dealer-page .cm-panel-views{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:#527590}.cm-panel-views .icon{width:20px;height:20px}
#account-screen.dealer-page .cm-panel-listing .dealer-tag{border-radius:24px;padding:8px 12px;font-size:12px;background:#eef4f9;color:#416985}
#account-screen.dealer-page .cm-panel-listing .cm-status-published{background:#dcf6e9;color:#08774b}
#account-screen.dealer-page .cm-panel-listing .cm-status-pending{background:#fff2d4;color:#936500}
#account-screen.dealer-page .cm-panel-listing .dealer-tag.gold{background:#fff0bd;color:#946709}
#account-screen.dealer-page .cm-panel-listing .plan-switch{padding:8px 10px;border:1px solid #d5e6f3;border-radius:13px;background:#f2f8ff}
#account-screen.dealer-page .cm-panel-listing .plan-switch-track{background:#7891a5}
#account-screen.dealer-page .cm-panel-listing .plan-switch input:checked+.plan-switch-track{background:#15976b}
#account-screen.dealer-page .cm-panel-listing [data-dealer-visibility-note]{max-width:125px;line-height:1.4;font-size:11px;color:#527590}
#account-screen.dealer-page .cm-panel-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
#account-screen.dealer-page .cm-panel-listing button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 14px;min-height:43px;border-radius:12px;font-size:13px;line-height:1.4}
#account-screen.dealer-page .cm-panel-listing button .icon{width:19px;height:19px;flex-shrink:0}
#account-screen.dealer-page .cm-panel-listing .cm-panel-withdraw{border-color:#f1cfca;color:#b42318}
#account-screen.dealer-page .cm-panel-listing-price{display:flex;flex-direction:column;justify-content:center;gap:12px;border-left:1px solid #e2edf5;padding-left:22px}
#account-screen.dealer-page .cm-panel-listing-price>strong{font-size:28px;color:#174264;white-space:nowrap}
#account-screen.dealer-page .cm-panel-listing-price>del{color:#718b9f}
#account-screen.dealer-page .cm-panel-listing-price button{justify-content:flex-start;background:#f6fbff;min-height:60px;text-align:left}
#account-screen.dealer-page .cm-panel-listing-price small{display:block;color:#527590;font-size:11px;font-weight:400;margin-top:3px}
#account-screen.dealer-page .cm-panel-promote .icon{color:#df9400}
#account-screen.dealer-page .dealer-grid .cm-panel-listing{grid-template-columns:1fr;padding:22px;gap:18px}
#account-screen.dealer-page .dealer-grid .cm-panel-actions{grid-template-columns:1fr;gap:16px}
#account-screen.dealer-page .dealer-grid .cm-panel-listing-price{border-left:0;border-top:1px solid #e2edf5;padding:16px 0 0}
@media(max-width:1150px){.member-page .member-layout{grid-template-columns:220px minmax(0,1fr);gap:20px}.member-page .member-listing-card{grid-template-columns:120px minmax(0,1fr)}.member-page .member-listing-price{grid-column:1/-1;flex-direction:row;border-left:0;border-top:1px solid #e2edf5;padding:16px 0 0;align-items:center;flex-wrap:wrap}.member-page .member-welcome>div:first-child{max-width:78%}#account-screen.dealer-page .cm-panel-actions{grid-template-columns:1fr}#account-screen.dealer-page .cm-panel-listing-price{border-left:0;border-top:1px solid #e2edf5;padding:16px 0 0;flex-direction:row;align-items:center;flex-wrap:wrap}#account-screen.dealer-page .cm-panel-listing-price button{flex:1}}
@media(max-width:720px){#account-screen.member-page{padding:0 14px;margin-top:20px}.member-page .member-layout{grid-template-columns:1fr}.member-page .member-sidebar{position:static}.member-page .member-welcome{padding:25px 22px;min-height:250px;background-position:70% center}.member-page .member-welcome>div:first-child{max-width:100%}.member-page .member-welcome{background-image:linear-gradient(90deg,#f1fafff5,#f1faffda),url('member-coastal-background.png')}.member-page .member-card{padding:20px}.member-page .member-heading{flex-wrap:wrap}.member-page .member-stats,.member-page .member-status{grid-template-columns:repeat(2,minmax(0,1fr))}.member-page .member-two,.member-page .member-category-cards{grid-template-columns:1fr}.member-page .mp-section-banner{padding:22px}.member-page .mp-section-banner h2,.member-page .mp-section-banner p{max-width:100%}#account-screen.dealer-page .cm-panel-listing{grid-template-columns:110px minmax(0,1fr);padding:22px 18px;gap:16px}#account-screen.dealer-page .cm-panel-listing .dealer-listing-info h2{font-size:18px}#account-screen.dealer-page .cm-panel-listing-price>strong{font-size:25px}}
@media(max-width:460px){.member-page .member-listing-card,#account-screen.dealer-page .cm-panel-listing{grid-template-columns:1fr}.member-page .member-listing-photo,#account-screen.dealer-page .cm-panel-listing .dealer-listing-photo{aspect-ratio:16/9;max-height:200px}.member-page .member-listing-price{grid-column:auto}.member-page .member-stats button{padding:14px}.member-page .member-stats b{font-size:25px}#account-screen.dealer-page .cm-panel-listing-price{align-items:stretch}#account-screen.dealer-page .cm-panel-listing-price button{min-width:130px}}
@media(prefers-reduced-motion:reduce){.member-page *{scroll-behavior:auto!important}.member-page .member-stats button{transition:none;transform:none}}
#account-screen.dealer-page .cm-panel-visibility{position:relative;display:inline-flex;align-items:center;gap:10px;padding:9px 12px;background:#f2f8ff;border:1px solid #d4e5f3;border-radius:15px;cursor:pointer}
#account-screen.dealer-page .cm-panel-visibility input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
#account-screen.dealer-page .cm-panel-switch-track{display:block;width:46px;height:27px;border-radius:30px;background:#7891a5;position:relative;flex:none}
#account-screen.dealer-page .cm-panel-switch-track:after{content:'';position:absolute;width:21px;height:21px;border-radius:50%;background:white;left:3px;top:3px;box-shadow:0 1px 3px #17426426;transition:transform .15s}
#account-screen.dealer-page .cm-panel-visibility input:checked+.cm-panel-switch-track{background:#15976b}
#account-screen.dealer-page .cm-panel-visibility input:checked+.cm-panel-switch-track:after{transform:translateX(19px)}
#account-screen.dealer-page .cm-panel-visibility input:focus-visible+.cm-panel-switch-track{outline:3px solid #45a9ff;outline-offset:3px}
#account-screen.dealer-page .cm-panel-visibility input:disabled~span{opacity:.55}
#account-screen.dealer-page .cm-panel-switch-state{display:block;font-size:13px;color:#174264;line-height:1.35}
#account-screen.dealer-page .cm-panel-switch-state:before{content:'OFF'}
#account-screen.dealer-page .cm-panel-visibility input:checked~span .cm-panel-switch-state:before{content:'ON'}
#account-screen.dealer-page .cm-panel-visibility [data-dealer-visibility-note]{display:block;margin:2px 0 0}
.dark #account-screen.member-page{color:#174264}.dark #account-screen.member-page .member-card{background-color:#fff;border-color:#d9e8f3}.dark #account-screen.member-page .member-card p,.dark #account-screen.member-page .member-identity small,.dark #account-screen.member-page .ac-field>span{color:#527590}
.dark #account-screen.member-page .member-stats button,.dark #account-screen.member-page .member-status button,.dark #account-screen.member-page .member-category-cards .member-card{background:#eff7ff;border-color:#d9e8f3;color:#174264}.dark #account-screen.member-page .member-stats small{color:#527590}
.dark #account-screen.member-page .member-price-pills>span,.dark #account-screen.member-page .member-balance-split>div,.dark #account-screen.member-page .member-category-cards .outline-button{background:#fff;border-color:#d9e8f3;color:#174264}.dark #account-screen.member-page .member-balance>b,.dark #account-screen.member-page .member-balance-split b{color:#00549c}.dark #account-screen.member-page .member-balance-split span,.dark #account-screen.member-page .member-balance>span{color:#527590}
.dark #account-screen.member-page .ac-field input,.dark #account-screen.member-page .ac-field select,.dark #account-screen.member-page .ac-field textarea{background-color:#fff;color:#174264;border-color:#cddfea}.dark #account-screen.member-page .member-credit-actions button{background:#f6fbff;color:#00549c}
@media(prefers-reduced-motion:reduce){#account-screen.dealer-page .cm-panel-switch-track:after{transition:none}}
