/* Shared AuctionPRO calendar palette and type. Loaded after legacy styles. */
.ap-calendar-panel,.home-dashboard{font-family:Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic",sans-serif}
body.ap-calendar-view .as-main{max-width:1600px!important}
.ap-calendar-panel .ap-calendar-workspace{display:grid;grid-template-columns:400px minmax(0,1fr);gap:20px;align-items:start}
.ap-calendar-panel .ap-month-side{grid-column:1;grid-row:1;padding:22px;border-radius:14px;box-shadow:0 4px 20px #263a6807}
.ap-calendar-panel .ap-day-results{grid-column:2;grid-row:1;min-width:0}
.ap-calendar-panel .ap-month-side-title h2{font-size:21px;font-weight:800;color:#111c41;margin:0 0 20px;letter-spacing:-.04em}
.ap-calendar-panel .ap-month-side-title label{font-size:13px;font-weight:600}
.ap-calendar-panel .ap-month-side-title select{height:38px;padding:5px 10px;border-color:#dfe5f2;border-radius:7px;font-family:inherit;font-size:13px}
.ap-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;margin-top:18px;isolation:isolate}
.ap-month-grid .ap-weekday{font-size:12px;font-weight:650;color:#68779b;text-align:center;padding:9px 0 12px}
.ap-month-grid .ap-weekday[data-weekday="0"]{color:#e74868}
.ap-month-grid .ap-weekday[data-weekday="6"]{color:#4b68ff}
:is(html body .ap-calendar-panel,html body.home-dashboard) .ap-month-grid button{min-width:0;min-height:77px;padding:11px 1px 9px!important;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:9px;border:1px solid #edf0f7!important;border-radius:5px!important;background:linear-gradient(#fff,#fbfcff)!important;color:#151e3e!important;font-family:inherit;line-height:1.2;white-space:nowrap;box-shadow:none}
.ap-month-grid button>b{font-size:15px;font-weight:750;line-height:1.1}
.ap-month-grid button>strong{display:flex;align-items:center;justify-content:center;gap:3px;max-width:100%;color:#4e68ff;font-size:14px;font-weight:700;letter-spacing:-.045em;white-space:nowrap;line-height:1.2;font-variant-numeric:tabular-nums}
.ap-month-grid button strong i{width:4px;height:4px;background:currentColor;border-radius:50%;flex:none}
.ap-month-grid button[data-weekday="0"]>b{color:#e34868}
.ap-month-grid button[data-weekday="6"]>b{color:#4b68ff}
:is(html body .ap-calendar-panel,html body.home-dashboard) .ap-month-grid button[aria-pressed="true"]{background:linear-gradient(145deg,#5267ff,#293b98)!important;border-color:#5267ff!important;color:#fff!important;box-shadow:0 4px 9px #3b51dd24}
.ap-month-grid button[aria-pressed="true"] :is(b,strong){color:#fff!important}
.ap-month-grid button[aria-current="date"]:not([aria-pressed="true"]){outline:1px solid #ff718b;outline-offset:-3px}
.ap-month-grid button:hover:not([aria-pressed="true"]){background:#f0f4ff!important}
.ap-adjacent-day{display:flex;align-items:flex-start;justify-content:center;min-height:77px;padding:11px 0;color:#afb7cf;font-size:14px;border:1px solid #f2f4fa;background:#fcfdff}
.ap-calendar-legend{display:flex;align-items:center;gap:15px;margin:17px 0 10px;font-size:11px;color:#6c7c9f}
.ap-calendar-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.ap-calendar-legend i{width:7px;height:7px;border-radius:50%;background:#4e68ff}.ap-calendar-legend .today-dot{background:#e74868}
.ap-calendar-panel .ap-month-side>p{font-size:11px!important;color:#7a88a6!important;line-height:1.65}
.ap-calendar-panel .ap-day-heading{padding:22px 24px;border:1px solid #e4e9f4!important;border-radius:14px!important;box-shadow:0 4px 20px #263a6805}
.ap-calendar-panel .ap-day-heading h2{font-size:20px;font-weight:800;color:#111c41;margin:0 0 7px}
.ap-calendar-panel .ap-day-heading>div>strong{font-size:37px;line-height:1.2;font-weight:800;color:#4e63ff}
.ap-calendar-panel .ap-day-controls>div{background:#fff;border-color:#e7ebf6;border-radius:9px}
.ap-calendar-panel .ap-day-controls button{padding:10px 12px!important;font-size:12px!important;font-family:inherit}
.ap-calendar-panel .ap-day-controls button[aria-pressed="true"]{background:#4e63ff!important;border-radius:7px!important}
.ap-calendar-panel .as-table-wrap{border:1px solid #e0e6f3!important;border-radius:12px!important}
.ap-calendar-panel .as-auction-list{font-family:inherit;min-width:780px!important;font-size:12px!important}
html body.ap-calendar-view .ap-calendar-panel .as-auction-list th{background:#f3f5fb!important;color:#596b93!important;font-weight:650;font-size:11px;padding:12px 9px}
html body.ap-calendar-view .ap-calendar-panel .as-auction-list td{padding:12px 9px;border-bottom:1px solid #e9edf6!important;background:white!important;color:#202e56!important;font-size:12px!important}
.ap-calendar-panel .as-auction-list th:nth-child(2){width:88px}.ap-calendar-panel .as-auction-list th:nth-child(3){width:132px}.ap-calendar-panel .as-auction-list th:nth-child(5){width:124px}
.ap-calendar-panel .as-auction-list .as-photo{width:74px;height:58px;border-radius:7px}
.ap-calendar-panel .as-auction-list a{font-weight:650;line-height:1.5;font-size:12px!important}
.ap-calendar-panel .as-item-number{display:inline-block!important;margin-left:2px;font-size:10px;background:#f0f3ff;border-radius:4px;padding:0 3px}
.ap-calendar-panel .as-auction-list small{font-size:10px!important;color:#7482a5!important;line-height:1.5}
.ap-calendar-panel .as-status{display:inline-block;padding:4px 8px;border-radius:12px;background:#edf3ff;color:#4c69fa;font-size:11px;font-weight:700;white-space:nowrap}
.ap-calendar-panel .as-status[data-status="failed"],.ap-calendar-panel .as-status[data-status="many"]{background:#fcecf1;color:#e3587a}
.ap-calendar-panel .as-list-trade{font-size:10px;line-height:1.4;margin-top:3px}.ap-calendar-panel .as-trade-label{display:none}.ap-calendar-panel .as-trade-amount{font-size:10px;color:#7d8bab}
.ap-calendar-panel .as-minimum{color:#4d63ff!important;font-size:13px!important}.ap-calendar-panel .as-price-ratio{color:#4e68ff;font-size:11px;font-weight:600}.ap-calendar-panel .as-countdown{font-size:10px;color:#7b89a7}
@media(min-width:1650px){.ap-calendar-panel .ap-calendar-workspace{grid-template-columns:430px minmax(0,1fr)}.ap-calendar-panel .ap-month-grid :is(button,.ap-adjacent-day){min-height:85px}.ap-calendar-panel .ap-month-grid button>strong{font-size:16px}}
@media(max-width:1200px){.ap-calendar-panel .ap-calendar-workspace{grid-template-columns:350px minmax(0,1fr);gap:14px}.ap-calendar-panel .ap-month-side{padding:17px}}
@media(max-width:850px){.ap-calendar-panel .ap-calendar-workspace{display:flex;flex-direction:column}.ap-calendar-panel .ap-month-side,.ap-calendar-panel .ap-day-results{position:static;width:100%;box-sizing:border-box}.ap-calendar-panel .ap-month-grid :is(button,.ap-adjacent-day){min-height:68px}.ap-calendar-panel .ap-month-grid button>strong{font-size:15px}}

/* Compact sale calendar: keep the results list wide. */
html body.ap-calendar-view .ap-calendar-panel .ap-calendar-workspace{grid-template-columns:300px minmax(0,1fr);gap:18px}
html body.ap-calendar-view .ap-calendar-panel .ap-month-side{padding:14px;box-sizing:border-box}
html body.ap-calendar-view .ap-calendar-panel .ap-month-side-title h2{font-size:16px;margin:0 0 12px}
html body.ap-calendar-view .ap-calendar-panel .ap-month-side-title label{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:11px}
html body.ap-calendar-view .ap-calendar-panel .ap-month-side-title select{height:32px;padding:4px 7px;font-size:11px;min-width:0}
html body.ap-calendar-view .ap-calendar-panel .ap-month-grid{margin-top:10px;gap:0}
html body.ap-calendar-view .ap-calendar-panel .ap-month-grid .ap-weekday{font-size:10px;padding:6px 0}
html body.ap-calendar-view .ap-calendar-panel .ap-month-grid button{min-height:48px!important;height:48px;box-sizing:border-box;padding:6px 1px!important;gap:4px}
html body.ap-calendar-view .ap-calendar-panel .ap-month-grid button>b{font-size:12px;line-height:1.1}
html body.ap-calendar-view .ap-calendar-panel .ap-month-grid button>strong{font-size:10px;gap:2px;line-height:1.1;letter-spacing:-.04em}
html body.ap-calendar-view .ap-calendar-panel .ap-month-grid button strong i{width:3px;height:3px}
html body.ap-calendar-view .ap-calendar-panel .ap-adjacent-day{min-height:48px;height:48px;box-sizing:border-box;padding:6px 0;font-size:11px}
html body.ap-calendar-view .ap-calendar-panel .ap-calendar-legend{font-size:10px;gap:12px;margin:10px 0 6px}
html body.ap-calendar-view .ap-calendar-panel .ap-month-side>p{font-size:10px!important;line-height:1.5;margin:6px 0 0}
@media(max-width:1100px) and (min-width:851px){html body.ap-calendar-view .ap-calendar-panel .ap-calendar-workspace{grid-template-columns:280px minmax(0,1fr);gap:12px}}
@media(max-width:850px){html body.ap-calendar-view .ap-calendar-panel .ap-calendar-workspace{display:flex;flex-direction:column}html body.ap-calendar-view .ap-calendar-panel .ap-month-side{width:100%;max-width:360px;align-self:center}html body.ap-calendar-view .ap-calendar-panel .ap-day-results{width:100%}}
