/* Sheltos form sizing and shared account-panel rhythm; scoped to account surfaces. */
body.pb-public.pb-auth-refresh .pb-auth-layout{max-width:460px;margin-inline:auto}
body.pb-public.pb-auth-refresh .pb-auth-card h2,#marketplace-action-panel.pb-auth-refresh h2{font-size:24px;line-height:1.35;margin-bottom:12px}
body.pb-public.pb-auth-refresh .pb-auth-card a,#marketplace-action-panel.pb-auth-refresh a{color:#ff5c41;text-decoration:none}
body.pb-public.pb-auth-refresh .pb-auth-card a:hover,#marketplace-action-panel.pb-auth-refresh a:hover{color:#1c2d3a}
body.pb-public.pb-auth-refresh .pb-auth-card .btn,#marketplace-action-panel.pb-auth-refresh .btn,.pb-account .dashboard-content .btn,.pb-account> .container> .row>aside>.btn{width:auto!important;min-height:0!important;height:auto;padding:8px 22px!important;font-size:13px!important;line-height:1.5!important;display:inline-flex;align-items:center;justify-content:center;flex:none;white-space:normal;max-width:100%;box-sizing:border-box;margin-top:0}
body.pb-public.pb-auth-refresh .form-group{margin-bottom:18px}
.pb-auth-terms{font-size:12px!important;line-height:1.6!important;color:#64717b;margin:14px 0 0}
.pb-auth-door{font-size:12px!important;color:#64717b;border-top:1px solid #eee;padding-top:18px;margin:24px 0 0}
.pb-auth-refresh .pb-auth-phone{grid-template-columns:118px minmax(0,1fr);gap:12px}
.pb-auth-refresh .pb-account-text-action{background:none!important;border:0;color:#ff5c41;padding:0;font-size:13px;text-decoration:none;box-shadow:none!important;min-height:0;width:auto}
#marketplace-action-panel.pb-auth-refresh.modal .modal-dialog{max-width:460px}
#marketplace-action-panel.pb-auth-refresh .modal-body{padding:28px}
#marketplace-action-panel .btn-close{width:14px;height:14px;padding:6px;min-height:0;min-width:0}
#marketplace-action-panel iframe{border:0;width:100%;height:70vh}
#marketplace-action-panel:has(iframe:not([hidden])) .modal-dialog{max-width:900px}
#marketplace-action-panel.listing-entry.pb-auth-refresh.modal:has(iframe:not([hidden])) .modal-dialog{width:calc(100% - 2rem);max-width:1080px;margin-inline:auto}
.pb-account .dashboard-content{min-width:0;font-family:Montserrat,sans-serif;--theme-default3:#ff5c41;--theme-default4:#ff8c41}
.pb-account .dashboard-content h1{font-size:24px;line-height:1.4;margin:0 0 24px;color:#1c2d3a;text-transform:none}
.pb-account .dashboard-content h2{font-size:18px;line-height:1.4;margin:0 0 18px;text-transform:none}
.pb-account .dashboard-content .theme-card{padding:24px;border:1px solid #eee;background:#fff;box-shadow:0 0 15px #00000005;border-radius:6px;margin:0 0 24px;min-width:0}
.pb-account .dashboard-content .btn-gradient{background:linear-gradient(to right,#ff5c41 0%,#ff8c41 51%,#ff5c41 100%)!important;background-size:200% auto!important;color:#fff!important;border:1px solid transparent!important;box-shadow:none}
.pb-account .dashboard-content .btn-gradient:before,.pb-account .dashboard-content .btn-gradient:after{background:transparent!important}
.pb-account .dashboard-content .btn-dashed{background:#fff!important;color:#ff5c41!important;border:1px dashed #ff5c41!important;box-shadow:none}
.pb-account .dashboard-content a:not(.btn){color:#ff5c41;text-decoration:none}
.pb-account .pb-summary-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}
.pb-account .pb-stat{background:#fff;border:1px solid #eee;border-radius:6px;padding:20px 16px;min-width:0}
.pb-account .pb-stat p{font-size:12px;margin:0 0 10px;color:#64717b}
.pb-account .pb-stat strong{font-size:26px;font-weight:600;color:#1c2d3a;line-height:1}
.pb-account .pb-summary-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.pb-account .pb-summary-cards .theme-card{height:calc(100% - 24px)}
.pb-account .pb-summary-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:24px}
.pb-account .pb-action-list{list-style:none;padding:0;margin:0}
.pb-account .pb-action-list li{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:12px 0;border-bottom:1px solid #eee;font-size:13px}
.pb-account .pb-action-list li:first-child{padding-top:0}.pb-account .pb-action-list li:last-child{border:0}
.pb-account .pb-action-list a{flex:none}
.pb-account .mp-notice{padding:12px 16px;margin:0 0 24px;font-size:13px;line-height:1.6;background:#fff7f4;border:1px solid #ffe1d8;border-radius:4px}
.pb-account .dashboard-content .mp-fields{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:20px}
.pb-account .mp-fields>label{flex:1 1 150px;min-width:0;margin:0}
.pb-account .mp-fields>.btn{margin-bottom:0}
.pb-account .dashboard-content :is(input:not([type=checkbox]):not([type=radio]),select,textarea){max-width:100%;min-width:0;box-sizing:border-box;font-family:Rubik,sans-serif;font-size:14px;text-transform:none}
.pb-account .dashboard-content label{font-size:13px;margin-bottom:16px;max-width:100%}
.pb-account .dashboard-content :is(.table-responsive,.mp-table){max-width:100%;overflow-x:auto}
.pb-account .dashboard-content table{width:100%;font-size:13px;border-collapse:collapse}
.pb-account .dashboard-content :is(th,td){padding:12px;vertical-align:middle;border-bottom:1px solid #eee;overflow-wrap:anywhere}
.pb-account .pb-status{display:inline-block;background:#f2f4f5;color:#42515c;border-radius:4px;padding:4px 8px;font-size:11px;text-transform:capitalize;white-space:normal}
.pb-account .pb-empty-state{padding:18px 0;text-align:left}.pb-account .pb-empty-state svg{width:26px;height:26px;color:#86939d;margin-bottom:12px}.pb-account .pb-empty-state p{font-size:13px;margin-bottom:16px}
.pb-account .sidebar-user{overflow-wrap:anywhere}.pb-account .dashboard-list .nav-link{font-size:13px}
@media(max-width:575px){body.pb-public.pb-auth-refresh .pb-auth-card{padding:24px 20px}.pb-auth-refresh .pb-auth-phone{grid-template-columns:105px minmax(0,1fr);gap:10px}.pb-account .pb-summary-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pb-account .pb-summary-cards{grid-template-columns:minmax(0,1fr);gap:0}.pb-account .dashboard-content .theme-card{padding:20px}.pb-account .dashboard-content h1{font-size:21px}.pb-account .dashboard-content :is(th,td){padding:9px 6px;font-size:12px}#marketplace-action-panel.pb-auth-refresh .modal-body{padding:24px 20px}}

.pb-account .pb-form-section{padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid #eee}.pb-account .pb-form-section:last-child{border:0;padding:0;margin:0}

#marketplace-action-panel .btn-close{background:none!important;opacity:1;color:#1c2d3a;font-size:24px;line-height:14px}
.pb-account .dashboard-content .btn{text-transform:none!important}.pb-account .dashboard-content .pb-form-section label{vertical-align:top}.pb-account .dashboard-content .pb-form-section p:last-child{margin-bottom:0}
/* Inventory row actions remain readable without a sideways table on phones. */
.pb-account .mp-table td:last-child .btn{padding:2px 0!important;min-height:0!important;background:none!important;border:0!important;border-radius:0;box-shadow:none!important;justify-content:flex-start}
@media(max-width:575px){
.pb-account .mp-table table,.pb-account .mp-table tbody{display:block;min-width:0!important;width:100%}
.pb-account .mp-table thead{display:none}
.pb-account .mp-table tr{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px 12px;padding:18px 0;border-bottom:1px solid #eee}
.pb-account .mp-table td{display:block;border:0;padding:0;min-width:0}
.pb-account .mp-table td:nth-child(n+3){grid-column:2}
.pb-account .mp-table td:last-child{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center}
.pb-account .mp-table td:last-child form{margin:0}
.pb-account .mp-table td:last-child .btn{margin:0!important}
.pb-account .mp-table td:nth-child(4)::before{content:'Confirmed: ';color:#64717b}
}

[data-account-entry] [hidden]{display:none!important}.account-modes,.account-kinds{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1.25rem}.account-kinds a{padding:.45rem .6rem;color:#394854!important;border-bottom:2px solid transparent}.account-kinds a[aria-current=true]{border-color:#ff5c41}.pb-auth-refresh [data-account-entry] .input-group-text{background:#fafafa;border-color:#eee}.pb-auth-refresh [data-account-entry] .input-group-text svg{width:16px;height:16px}[data-entry-notice]:empty{display:none}

.pb-account .dashboard-content .mp-property-form .mp-fields{align-items:flex-start}
.pb-account .mp-property-form select.form-select{appearance:none;background-color:white;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='m2 2 6 6 6-6' fill='none' stroke='%23576878' stroke-width='2'/%3E%3C/svg%3E");background-position:right 1rem center;background-repeat:no-repeat;background-size:12px;padding-right:2.5rem}

.pb-account .dashboard-content .inventory-filters > label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}
.pb-account .dashboard-content .inventory-filters :is(.form-control, .form-select, .btn) {
    box-sizing: border-box;
    height: 44px;
    margin: 0;
}
.pb-account .dashboard-content .inventory-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}
.pb-account .dashboard-content .inventory-actions form { margin: 0; }
.pb-account .dashboard-content .inventory-actions .inventory-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #dce1e5;
    border-radius: 8px;
    background: #fff;
    color: #354958;
}
.pb-account .inventory-action svg { width: 17px; height: 17px; }
.pb-account .inventory-actions .inventory-action:is(:hover, :focus-visible) {
    border-color: currentColor;
    color: #a83720;
}
.pb-account .inventory-action:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

#marketplace-action-panel.listing-entry:has(iframe:not([hidden])) .modal-body{padding:4px 8px 8px}
#marketplace-action-panel.listing-entry:has(iframe:not([hidden])) .pb-popup-auth-card{display:none}
#marketplace-action-panel.listing-entry:has(iframe:not([hidden])) [data-marketplace-close]{position:absolute;right:12px;top:6px;z-index:2}
#marketplace-action-panel.listing-entry iframe:not([hidden]){display:block;margin:0;border:0}
