/* Shared account appearance: the profile navigation and typography on every account section. */
html body #root .account-layout .profile-promo{display:none!important}
@media(min-width:651px){
 html:not(.a11y-contrast):has(.account-layout),html:not(.a11y-contrast) body:has(.account-layout),html:not(.a11y-contrast) body #root:has(.account-layout),html:not(.a11y-contrast) body #root>.site:has(.account-layout){background-color:#fbfbfb!important}
 html body #root .shell.account-layout:not(.management-site){box-sizing:border-box;width:min(1360px,calc(100% - 64px))!important;max-width:1360px!important;grid-template-columns:260px minmax(0,1fr)!important;column-gap:40px!important;margin:0 auto!important;padding:40px 0 64px!important;align-items:start}
 html body #root .account-layout>main{display:flex;flex-direction:column;min-width:0}
 html body #root .account-layout .profile-dashboard{display:block!important;min-width:0;order:0}
 html body #root .account-layout .profile-main{width:100%;min-width:0}
 html body #root .account-layout .profile-heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin:0 0 32px;padding:0;min-height:42px}
 html body #root .account-layout .profile-heading h1{font:700 32px/1.25 Georgia,serif;margin:0 auto 0 0;color:#243e52}
 html body #root .account-layout .profile-heading>.link{font-size:14px;line-height:22px;padding:6px 0;color:#146ca1;text-decoration:none}
 html body #root .account-layout .profile-heading>.link:hover{text-decoration:underline}
 html body #root .account-layout .profile-card-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;align-items:stretch}
 html body #root .account-layout .profile-tile{box-sizing:border-box;display:flex!important;flex-direction:column;min-width:0;min-height:214px!important;margin:0;padding:22px!important;border:1px solid #dce2e6!important;border-radius:8px;background:#fff!important;box-shadow:none;gap:0}
 html body #root .account-layout .profile-tile h2{margin:0!important;font:700 18px/1.35 Georgia,serif!important;color:#243e52;overflow-wrap:break-word}
 html body #root .account-layout .profile-tile p{margin:14px 0 22px!important;font:400 15px/1.55 Roboto,Arial,sans-serif!important;color:#415d70;overflow-wrap:anywhere}
 html body #root .account-layout .profile-tile>button{box-sizing:border-box;display:block;width:100%;min-height:44px!important;height:auto!important;margin:auto 0 0!important;padding:10px 16px!important;border:1px solid #0878c0!important;border-radius:6px;background:#fff!important;color:#006caa;font:600 15px/22px Roboto,Arial,sans-serif!important;cursor:pointer;white-space:normal}
 html body #root .account-layout .profile-tile>button:hover{background:#edf7fd!important}
 html body #root .account-layout :is(button,a):focus-visible{outline:3px solid #2388c3;outline-offset:3px}
 html body #root .account-layout .account-side{display:flex;flex-direction:column;align-self:start;width:100%;min-width:0;padding:0!important;border:0!important;border-radius:0;background:transparent!important;box-shadow:none}
 html body #root .account-layout .account-side>h2{margin:4px 0 22px!important;padding:0!important;font:700 24px/1.25 Georgia,serif!important;color:#243e52}
 html body #root .account-layout .account-side>h3{margin:26px 0 10px!important;padding:0 0 12px!important;border-bottom:1px solid #dde3e7;font:700 17px/1.3 Georgia,serif!important;color:#243e52}
 html body #root .account-layout .account-side-group{display:flex;flex-direction:column;gap:4px;margin:0;padding:0;border:0!important}
 html body #root .account-layout .account-side-group:last-of-type{margin-top:22px;padding-top:16px;border-top:1px solid #dde3e7!important}
 html body #root .account-layout .account-side-group>button{box-sizing:border-box;display:block;width:100%;min-height:48px;margin:0;padding:12px 12px 12px 44px!important;border:0!important;border-radius:5px;background-color:transparent!important;background-repeat:no-repeat!important;background-size:21px 21px!important;background-position:12px center!important;color:#294c65;font:400 15px/24px Roboto,Arial,sans-serif!important;white-space:normal;text-align:left;cursor:pointer;box-shadow:none}
 html body #root .account-layout .account-side-group>button:hover{background-color:#edf4f8!important}
 html body #root .account-layout .account-side-group>button.selected{background-color:#e1f3ff!important;color:#006db0;font-weight:500!important}
 html body #root .account-layout .account-side-group:nth-of-type(1)>button{background-image:url('/assets/account-profile-icons/user.svg')!important}
 html body #root .account-layout .account-side-group:nth-of-type(2)>button{background-image:url('/assets/account-profile-icons/newspaper.svg')!important}
 html body #root .account-layout .account-side-group:nth-of-type(3)>button:nth-child(1){background-image:url('/assets/account-profile-icons/heart.svg')!important}
 html body #root .account-layout .account-side-group:nth-of-type(3)>button:nth-child(2){background-image:url('/assets/account-profile-icons/hand-raised.svg')!important}
 html body #root .account-layout .account-side-group:nth-of-type(3)>button:nth-child(3){background-image:url('/assets/account-profile-icons/bell-alert.svg')!important}
 html body #root .account-layout .account-side-group:nth-of-type(3)>button:nth-child(4){background-image:url('/assets/account-profile-icons/user-group.svg')!important}
 html body #root .account-layout .account-side-group:nth-of-type(3)>button:nth-child(5){background-image:url('/assets/account-profile-icons/eye.svg')!important}
 html body #root .account-layout .account-side-group:nth-of-type(4)>button:nth-child(1){background-image:url('/assets/account-profile-icons/star.svg')!important}
 html body #root .account-layout .account-side-group:nth-of-type(4)>button:nth-child(2){background-image:url('/assets/account-profile-icons/arrow-right-on-rectangle.svg')!important}
 html body #root .account-layout .account-side>[data-seller-preferences-link]{box-sizing:border-box;margin-top:14px;min-height:48px;padding:12px 12px 12px 44px!important;background:url('/assets/account-profile-icons/calendar-days.svg') no-repeat 12px center/21px 21px;font:400 15px/24px Roboto,Arial,sans-serif}
 html body #root .account-layout #account-overview-link{order:2;align-self:flex-start;margin:24px 0 0!important;padding:10px 0!important;border:0!important;background:transparent!important;font-size:14px;line-height:22px}
}
@media(min-width:651px) and (max-width:1100px){
 html body #root .shell.account-layout:not(.management-site){grid-template-columns:220px minmax(0,1fr)!important;gap:28px!important;width:calc(100% - 40px)!important}
 html body #root .account-layout .profile-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
 html body #root .account-layout .profile-tile{padding:20px!important}
}
@media(min-width:651px) and (max-width:800px){
 html body #root .shell.account-layout:not(.management-site){grid-template-columns:190px minmax(0,1fr)!important;gap:20px!important}
 html body #root .account-layout .profile-card-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(min-width:901px){
 html body:has(.account-layout) #unified-header>:is(.unified-search,.category-nav-custom,.discovery-new-shortcut){display:none!important}
 html body:has(.account-layout) #unified-header{background:#fff!important;border-bottom:1px solid #e0e5e8}
}

/* One title above both account navigation and equal-height profile cards. */
@media(min-width:651px){
 html body #root .shell.account-layout:not(.management-site):has(.profile-card-grid){grid-template-rows:auto auto auto!important;row-gap:0!important}
 html body #root .account-layout:has(.profile-card-grid)>main,
 html body #root .account-layout:has(.profile-card-grid) .profile-dashboard,
 html body #root .account-layout:has(.profile-card-grid) .profile-main{display:contents!important}
 html body #root .account-layout:has(.profile-card-grid) .profile-heading{grid-column:1 / -1!important;grid-row:1!important;margin:0 0 28px!important}
 html body #root .account-layout:has(.profile-card-grid)>.account-side{grid-column:1!important;grid-row:2 / span 2!important;margin-top:0!important}
 html body #root .account-layout:has(.profile-card-grid) .account-side>h2{margin-top:0!important}
 html body #root .account-layout:has(.profile-card-grid) .profile-card-grid{grid-column:2!important;grid-row:2!important;grid-auto-rows:1fr!important;align-items:stretch!important}
 html body #root .account-layout:has(.profile-card-grid) #account-overview-link{grid-column:2!important;grid-row:3!important}
}

/* The same headings, text, controls and panel borders throughout the account. */
@media(min-width:651px){html body #root .shell.account-layout:not(.management-site){row-gap:0!important}}
html body #root .account-layout>main{min-width:0;font:400 15px/1.55 Roboto,Arial,sans-serif;color:#415d70}
html body #root .account-layout>main>h1{margin:0 0 28px;font:700 32px/1.25 Georgia,serif;color:#243e52}
html body #root .account-layout>main :is(.account-row,.sold-favorites,.thv-account-listings,.listing-card){background:#fff!important;border-color:#dce2e6!important;border-radius:8px;box-shadow:none}
html body #root .account-layout>main :is(h2,.sold-favorites h2){font:700 18px/1.35 Georgia,serif;color:#243e52}
html body #root .account-layout>main :is(p,label,.listing-title,.thv-account-row){font-size:15px;line-height:1.55}
html body #root .account-layout>main :is(input,select,textarea){box-sizing:border-box;font:400 15px/22px Roboto,Arial,sans-serif;max-width:100%}
html body #root .account-layout>main select{min-height:44px;padding:9px 12px;border:1px solid #dce2e6;border-radius:6px;background:#fff;color:#415d70}
html body #root .account-layout>main button:not(.favorite):not(.danger-text):not(.thv-account-delete),html body #root .account-layout>main a.primary{box-sizing:border-box;min-height:44px;padding:10px 16px;border:1px solid #0878c0;border-radius:6px;background:#fff!important;color:#006caa!important;font:600 15px/22px Roboto,Arial,sans-serif;cursor:pointer}
html body #root .account-layout>main button:disabled{cursor:not-allowed}
html body #root .account-layout>main .thv-account-columns{background:#f4f7fa;font:400 13px/20px Roboto,Arial,sans-serif;color:#63727b}
html body #root .account-layout>main .thv-account-toolbar{background:#fff;border-color:#dce2e6}
html body #root .account-layout>main .thv-account-product strong{font:600 15px/1.45 Roboto,Arial,sans-serif}
html body #root .account-layout>main .thv-account-row small{font-size:13px}
@media(max-width:650px){html body #root .account-layout>main>h1{font-size:26px}}

/* Compact listing management: consistent columns, horizontal promotion choices. */
html body #root .thv-account-listings{overflow:visible;border:0!important;background:transparent!important}
html body #root .thv-account-listings h2{padding:0 0 18px;font-size:18px}
html body #root .thv-account-toolbar{background:#fff;padding:12px;gap:24px}
html body #root .thv-account-columns,html body #root .thv-account-row-main{grid-template-columns:20px minmax(200px,2fr) minmax(85px,.75fr) 65px minmax(100px,.8fr) minmax(270px,2fr);gap:12px;padding:16px 12px}
html body #root .thv-account-columns{background:#fff;font-size:13px;border-bottom:1px solid #dce2e6}
html body #root .thv-account-row{background:#fff;border-bottom:1px solid #dce2e6;font-size:13px}
html body #root .thv-account-product img{width:62px;height:72px;border-radius:0}
html body #root .thv-account-product strong{font-size:14px}
html body #root .thv-account-seen{display:grid;grid-template-columns:17px 1fr;gap:5px;align-items:center}
html body #root .thv-account-seen small{grid-column:1/-1}
html body #root .thv-account-prices .thv-promotion-inline{display:grid;grid-template-columns:minmax(110px,1fr) minmax(150px,1.2fr);gap:5px 12px;max-width:none}
html body #root .thv-promotion-inline .thv-promotion-option{grid-column:2;grid-template-columns:18px minmax(0,1fr) auto;font-size:12px;gap:5px;padding:3px 0;align-items:start}
html body #root .thv-promotion-inline .thv-promotion-option[data-promotion-kind=bump]{grid-column:1;grid-row:1}
html body #root .thv-promotion-inline .thv-promotion-covered{color:#26705d}
html body #root .thv-promotion-covered small{color:#26705d;font-size:11px}
html body #root .thv-promotion-inline p{grid-column:1/-1;margin:4px 0;font-size:12px}
html body #root .thv-promotion-inline button.primary{grid-column:1/-1;width:auto;justify-self:start;background:#1673a0!important;color:#fff!important;min-height:36px;padding:7px 12px;font-size:13px}
html body #root .thv-account-promotion-cells{display:contents}
html body #root .thv-account-prices .thv-promotion-inline{grid-template-columns:minmax(95px,.8fr) minmax(155px,1.3fr)}
html body #root .thv-promotion-inline .thv-promotion-option{grid-template-columns:18px minmax(0,1fr) auto}
html body #root .thv-promotion-inline .thv-promotion-option[data-promotion-kind=bump]{grid-column:auto;grid-row:auto}
html body #root .thv-promotion-inline .thv-promotion-covered{color:#53636d}
html body #root .thv-promotion-inline .thv-promotion-paid,html body #root .thv-account-visibility .thv-promotion-paid{color:#26705d}
html body #root .thv-account-visibility button.primary{background:#1673a0!important;color:#fff!important;min-height:36px;padding:7px 10px;font-size:13px;white-space:nowrap}
html body #root .thv-account-visibility small img{vertical-align:middle;margin-right:4px}
html body #root .thv-promotion-option>span>small{display:block;font-size:10px}
html body #root .thv-account-manage{padding:0 12px 8px}
html body #root .thv-account-listings input[type=checkbox]{width:18px;height:18px;accent-color:#1673a0}
html body #root .thv-account-toolbar .thv-account-delete{display:inline-flex;align-items:center;gap:8px;min-height:40px}
html body #root .thv-account-price-reserve{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px}
html body #root .thv-account-price-reserve button.thv-account-reserve{min-height:32px;padding:3px 0;border:0;background:transparent!important;font-weight:400;font-size:13px}
html body #root .thv-account-price-reserve button.thv-account-reserve[aria-pressed=true]{color:#26705d!important;font-weight:600}
html body #root .account-layout>main .thv-account-listings .thv-account-price-reserve button.thv-account-reserve{min-height:30px!important;padding:2px 0!important;border:0!important;background:transparent!important;font:400 13px/20px Roboto,Arial,sans-serif!important}
html body #root .account-layout>main .thv-account-listings .thv-account-price-reserve button.thv-account-reserve{display:inline-flex;align-items:center;gap:6px}
html body #root .thv-account-reserve img{width:18px;height:18px;object-fit:contain;background:transparent}
html body #root .account-layout>main .thv-account-listings .thv-account-visibility button.primary{min-height:36px!important;padding:7px 10px!important;background:#1673a0!important;color:#fff!important;font:600 13px/20px Roboto,Arial,sans-serif!important}
html body #root .account-layout>main .thv-account-listings .thv-promotion-inline .thv-promotion-option{font:400 12px/18px Roboto,Arial,sans-serif!important;background:transparent!important;gap:4px;padding:4px 0}
html body #root .account-layout>main .thv-account-listings .thv-promotion-inline .thv-promotion-option strong{font:600 12px/18px Roboto,Arial,sans-serif!important}
@media(min-width:1251px){html body #root .thv-account-columns,html body #root .thv-account-row-main{grid-template-columns:20px minmax(210px,1fr) 95px 65px 145px 340px;gap:12px}}
@media(max-width:1250px){html body #root .thv-account-columns{display:none}html body #root .thv-account-row-main{grid-template-columns:20px minmax(180px,2fr) 1fr 1fr}html body #root .thv-account-visibility{grid-column:3}html body #root .thv-account-prices{grid-column:2/-1}html body #root .thv-account-mobile-label{display:block}html body #root .thv-account-prices .thv-promotion-inline{max-width:430px}}
@media(max-width:760px){html body #root .thv-account-row-main{grid-template-columns:20px minmax(0,1fr)}html body #root .thv-account-status,html body #root .thv-account-seen,html body #root .thv-account-visibility,html body #root .thv-account-prices{grid-column:2;min-width:0}html body #root .thv-account-prices .thv-promotion-inline{grid-template-columns:1fr;width:100%}html body #root .thv-promotion-inline .thv-promotion-option,html body #root .thv-promotion-inline .thv-promotion-option[data-promotion-kind=bump]{grid-column:1;grid-row:auto}}

/* Put direct bump above the Topper choices for a quieter overview. */
html body #root .thv-account-prices .thv-promotion-inline{grid-template-columns:minmax(0,1fr);gap:10px;max-width:260px}

/* The individual Topper labels already show their duration. */
html body #root .thv-promotion-toppers>small{display:none}
html body #root .thv-account-prices .thv-promotion-inline{row-gap:0}

/* Phone bump stays available independently of active Topper selections. */
html body #root .thv-account-promote-actions{display:flex;gap:4px;align-items:center}
html body #root .account-layout>main .thv-account-listings button.thv-phone-bump-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;min-width:28px;min-height:36px!important;padding:3px!important;border:0!important;background:transparent!important;cursor:pointer}
html body #root .thv-phone-bump-button img{width:22px;height:22px;max-width:none}
html body #root .thv-phone-dialog{width:400px;max-width:calc(100vw - 32px);box-sizing:border-box;max-height:85vh;overflow:auto;border:1px solid #dce2e6;border-radius:10px;padding:24px;background:#fff;color:#243e52;text-align:left;box-shadow:0 12px 48px #0003}
html body #root .thv-phone-dialog::backdrop{background:#0007}
html body #root .thv-phone-dialog header{display:flex;justify-content:space-between;align-items:center;gap:16px}
html body #root .thv-phone-dialog h2{margin:0;padding:0;font-size:21px}
html body #root .thv-phone-dialog p{font-size:14px;line-height:1.6;margin:18px 0}
html body #root .account-layout>main .thv-account-listings .thv-phone-dialog button{width:auto;min-height:38px;padding:7px 12px;font-size:14px}
@media(min-width:1251px){html body #root .thv-account-columns,html body #root .thv-account-row-main{grid-template-columns:20px minmax(185px,1fr) 95px 65px 175px 340px}}

/* Compact amounts with check marks, keeping full labels for assistive technology. */
html body #root .account-layout>main .thv-account-listings .thv-promotion-inline .thv-promotion-price-only{display:flex;align-items:center;justify-content:flex-start;gap:6px;padding:3px 0;width:max-content;max-width:100%}
html body #root .thv-promotion-price-only>span{white-space:nowrap}

/* Separate direct bump on the left from the three Topper choices on the right. */
@media(min-width:761px){
html body #root .thv-account-prices .thv-promotion-inline{grid-template-columns:90px minmax(110px,1fr);column-gap:16px;row-gap:0;max-width:260px;align-items:start}
html body #root .thv-promotion-toppers{padding-top:18px}
html body #root .thv-promotion-direct>small{display:block;line-height:18px}
}

/* The call link below the button gives way to the active Topper status. */
html body #root .thv-account-promote-actions{flex-wrap:wrap}
html body #root .account-layout>main .thv-account-listings button.thv-phone-bump-button:not(.is-compact){flex:0 0 100%;width:auto;min-width:0;justify-content:flex-start;gap:6px;min-height:30px!important;padding:0!important;font:400 13px/20px Roboto,Arial,sans-serif!important;color:#1673a0!important}
html body #root .account-layout>main .thv-account-listings button.thv-phone-bump-button.is-compact{flex:0 0 28px;width:28px}
