@font-face {
    font-family: "Arial Auction";
    src: local("Arial");
    font-display: swap;
}

:root {
    --ink: #101214;
    --ink-2: #202429;
    --paper: #f4f4f2;
    --white: #fff;
    --line: #deded9;
    --muted: #70736f;
    --green: #168465;
    --green-light: #dff1ea;
    --amber: #b87c27;
    --amber-light: #f5e9d4;
    --red: #b3453f;
    --red-light: #f6e2df;
    --shadow: 0 22px 60px rgba(15, 18, 20, .09);
    --font: "Arial Auction", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
main { min-height: 100vh; }

.topbar {
    height: 64px; padding: 0 34px; display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 25px; position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.97); border-bottom: 1px solid #e2e2df; backdrop-filter: blur(15px);
}
.brand { display: inline-flex; align-items: baseline; gap: 7px; width: max-content; letter-spacing: -.04em; }
.brand span { font-size: 20px; font-weight: 850; }
.brand b { padding: 3px 5px; color: #fff; background: var(--ink); font-size: 8px; letter-spacing: .13em; }
.topbar nav { justify-self: center; height: 100%; display: flex; align-items: stretch; gap: 30px; }
.topbar nav a { display: flex; align-items: center; position: relative; color: #5f625f; font-size: 12px; }
.topbar nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ink); transform: scaleX(0); transition: .2s; }
.topbar nav a:hover, .topbar nav a.active { color: var(--ink); }
.topbar nav a.active::after { transform: scaleX(1); }
.topbar nav i { min-width: 18px; height: 18px; margin-left: 6px; display: grid; place-items: center; color: #fff; background: var(--red); border-radius: 50%; font-size: 9px; font-style: normal; }
.userbox { justify-self: end; display: flex; align-items: center; gap: 9px; }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #ebebe8; font-size: 10px; font-weight: 800; }
.userbox b, .userbox small { display: block; max-width: 170px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.userbox b { font-size: 11px; }
.userbox small { color: #858783; font-size: 9px; }
.userbox form { margin-left: 5px; }
.userbox button { width: 31px; height: 31px; border: 1px solid #d0d1cd; border-radius: 50%; background: none; color: #666; }

.page { width: min(1480px, calc(100% - 64px)); margin: 0 auto; padding: 34px 0 90px; }
.page.narrow { width: min(850px, calc(100% - 40px)); }
.eyebrow { display: block; color: #737672; font-size: 9px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,255,255,.58); }
.button { min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 750; transition: .2s; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: #fff; background: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.button.dark { color: #fff; background: var(--ink); }
.button.outline-dark { border-color: #b9bbb6; background: transparent; color: var(--ink); }
.button.wide { width: 100%; }
.status { padding: 6px 9px; display: inline-flex; align-items: center; color: #555; background: #eee; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.status.live { color: #12664f; background: var(--green-light); }
.status.scheduled { color: #805714; background: var(--amber-light); }
.status.sold { color: #fff; background: #333; }
.status.no_bids, .status.cancelled { color: #7d3834; background: var(--red-light); }
.status.large { padding: 9px 13px; }
.toasts { position: fixed; right: 24px; top: 82px; z-index: 100; display: grid; gap: 8px; }
.toast { max-width: 440px; padding: 14px 18px; color: #fff; background: var(--ink); box-shadow: var(--shadow); }
.toast.error { background: #8f3732; }
.toast.success { background: #1f6f59; }

/* Authentication */
.login-page { background: var(--ink); }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(620px, 1.5fr) minmax(410px, .7fr); }
.login-visual { position: relative; min-height: 700px; overflow: hidden; color: #fff; background: radial-gradient(circle at 75% 35%, #41505a 0, #172027 32%, #090c0f 72%); }
.login-visual::before { content: ""; position: absolute; width: 720px; height: 280px; right: -50px; top: 44%; border-radius: 55% 44% 25% 20%; background: linear-gradient(150deg, #51616d, #10161b 56%, #080b0d); transform: skewX(-8deg); box-shadow: 0 40px 90px rgba(0,0,0,.65); opacity: .9; }
.login-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,8,10,.9), transparent 72%), linear-gradient(0deg, rgba(0,0,0,.5), transparent 55%); }
.login-noise { position: absolute; inset: 0; opacity: .15; background-image: repeating-linear-gradient(115deg, transparent 0 80px, rgba(255,255,255,.05) 81px 82px); }
.login-copy { width: 690px; position: absolute; z-index: 2; left: 7vw; top: 47%; transform: translateY(-50%); }
.login-copy h1 { margin: 20px 0 24px; font-size: clamp(54px, 5.2vw, 88px); line-height: .98; letter-spacing: -.055em; font-weight: 450; }
.login-copy h1 em { color: #d2ccc2; font-weight: 320; }
.login-copy p { width: 500px; color: rgba(255,255,255,.66); font-size: 17px; line-height: 1.7; }
.login-proof { position: absolute; z-index: 2; left: 7vw; bottom: 42px; display: flex; align-items: center; gap: 13px; color: rgba(255,255,255,.52); font-size: 9px; letter-spacing: .12em; }
.login-proof span { color: #7fd0b3; font-size: 16px; }
.login-panel { padding: 42px 4vw 30px; display: grid; grid-template-rows: auto 1fr auto; background: #fff; }
.login-brand { font-size: 20px; }
.login-form-wrap { width: 100%; max-width: 400px; margin: auto; }
.login-form-wrap h2 { margin: 11px 0 6px; font-size: 40px; line-height: 1.05; letter-spacing: -.04em; font-weight: 480; }
.login-form-wrap > p { margin: 0 0 30px; color: var(--muted); }
.login-panel footer { color: #999; font-size: 9px; letter-spacing: .1em; }
.stack-form label, .editor-form label, .schedule-form > label { display: block; margin-bottom: 16px; color: #353735; font-size: 10px; font-weight: 800; }
.stack-form input, .stack-form select, .stack-form textarea, .editor-form input, .editor-form select, .editor-form textarea, .schedule-form input {
    width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #d3d4d0; border-radius: 3px; background: #fff; outline: none;
}
.stack-form input:focus, .editor-form input:focus, .editor-form textarea:focus, .editor-form select:focus { border-color: #555; box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
.stack-form ul.errorlist, .editor-form ul.errorlist { margin: 5px 0; padding: 0; list-style: none; color: var(--red); font-size: 10px; }
.secure-note { margin-top: 24px !important; text-align: center; font-size: 10px; }
.form-error { margin-bottom: 16px; padding: 12px; color: #7e322e; background: var(--red-light); }
.auth-page { background: #11171c; }
.auth-shell { min-height: 100vh; padding: 60px 20px; display: grid; place-items: center; background: radial-gradient(circle at 70% 15%, #36444c, #11171c 55%); }
.auth-card { width: min(600px, 100%); padding: 48px 55px; background: #f8f8f6; box-shadow: 0 35px 100px rgba(0,0,0,.4); }
.auth-card.compact { width: 500px; }
.auth-card .brand { margin-bottom: 50px; }
.auth-card .step { color: var(--green); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.auth-card h1 { margin: 9px 0 10px; font-size: 38px; line-height: 1.08; letter-spacing: -.04em; font-weight: 480; }
.auth-card > p { margin: 0 0 28px; color: var(--muted); }
.secret-box { margin: 24px 0; padding: 18px; position: relative; background: #fff; border: 1px solid var(--line); }
.secret-box small, .secret-box code { display: block; }
.secret-box code { margin-top: 8px; font-size: 16px; letter-spacing: .08em; word-break: break-all; }
.secret-box button { position: absolute; right: 12px; top: 12px; border: 0; background: none; color: var(--green); font-size: 10px; }
.mfa-qr { margin: 24px 0; display: grid; justify-items: center; gap: 12px; }
.mfa-qr img { width: 250px; height: 250px; padding: 12px; background: #fff; border: 1px solid var(--line); }
.mfa-qr small { color: var(--muted); text-align: center; }
.auth-card details { margin-bottom: 22px; color: #777; }
.auth-card .uri { display: block; margin-top: 8px; word-break: break-all; font-size: 9px; }
.recovery-grid { margin: 25px 0; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: #fff; border: 1px solid var(--line); }
.recovery-grid code { font-size: 15px; text-align: center; }

/* Catalog */
.auction-hero { min-height: 285px; padding: 45px 52px; display: grid; grid-template-columns: 1fr 310px; align-items: end; color: #fff; background: linear-gradient(125deg, #0d1013, #263038 65%, #101417); }
.auction-hero h1 { margin: 15px 0 16px; font-size: 54px; line-height: 1; letter-spacing: -.05em; font-weight: 430; }
.auction-hero h1 em { color: #c7c2ba; font-weight: 300; }
.auction-hero p { margin: 0; color: rgba(255,255,255,.58); }
.hero-stat { min-height: 165px; padding: 25px; display: flex; flex-direction: column; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.hero-stat span, .hero-stat small { color: rgba(255,255,255,.55); font-size: 9px; letter-spacing: .12em; }
.hero-stat strong { margin: 7px 0; font-size: 52px; line-height: 1; font-weight: 400; }
.catalog-tools { margin: 26px 0; padding: 14px; display: grid; grid-template-columns: minmax(300px, 1fr) auto auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 10px; }
.search span { font-size: 23px; }
.search input { width: 100%; padding: 11px 0; border: 0; outline: 0; }
.status-tabs { display: flex; gap: 3px; padding: 3px; background: #f0f0ed; }
.status-tabs a { padding: 9px 14px; color: #666; font-size: 10px; font-weight: 700; }
.status-tabs a.active { color: #111; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.lot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lot-card { position: relative; background: #fff; border: 1px solid var(--line); transition: .25s; }
.lot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-hit { position: absolute; inset: 0; z-index: 2; }
.lot-media { height: 270px; position: relative; overflow: hidden; background: #e9e9e5; }
.lot-media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.lot-card:hover .lot-media img { transform: scale(1.025); }
.lot-media .status { position: absolute; left: 15px; top: 15px; }
.timer { position: absolute; right: 15px; top: 15px; padding: 7px 10px; color: #fff; background: rgba(12,14,16,.82); font-size: 11px; font-variant-numeric: tabular-nums; }
.photo-empty { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 10px; color: #777; background: linear-gradient(145deg, #efefec, #d7d8d3); }
.photo-empty span { font-size: 42px; font-weight: 300; letter-spacing: -.05em; }
.photo-empty small { font-size: 8px; letter-spacing: .15em; }
.lot-body { padding: 23px; }
.lot-body h2 { margin: 6px 0 14px; font-size: 24px; line-height: 1.1; letter-spacing: -.035em; font-weight: 570; }
.lot-body h2 em { display: block; margin-top: 4px; color: #787a76; font-size: 12px; font-style: normal; font-weight: 450; }
.quick-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.quick-specs span { padding: 5px 8px; background: #f2f2ef; color: #656762; font-size: 9px; }
.price-row { margin-top: 22px; padding-top: 18px; display: flex; align-items: end; justify-content: space-between; border-top: 1px solid #e8e8e4; }
.price-row small, .price-row b { display: block; }
.price-row small { color: #858781; font-size: 8px; letter-spacing: .12em; }
.price-row b { margin-top: 3px; font-size: 20px; }
.price-row > span { font-size: 20px; }
.empty { min-height: 180px; padding: 40px; display: grid; place-items: center; align-content: center; color: #777; background: #fff; border: 1px dashed #ccc; grid-column: 1 / -1; text-align: center; }
.empty > span { font-size: 40px; }
.empty h3 { margin: 8px 0 2px; color: #333; }
.empty p { margin: 0; }

/* Detail */
.breadcrumbs { margin-bottom: 24px; display: flex; gap: 9px; color: #858783; font-size: 10px; }
.breadcrumbs b { color: #333; }
.detail-head { margin-bottom: 25px; display: flex; align-items: end; justify-content: space-between; }
.detail-head h1 { margin: 7px 0 3px; font-size: 48px; line-height: 1; letter-spacing: -.05em; font-weight: 480; }
.detail-head h1 em { color: #737672; font-size: 22px; font-style: normal; font-weight: 350; }
.detail-head p { margin: 0; color: #858783; font-size: 10px; letter-spacing: .08em; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; background: #ddd; }
.gallery figure { height: 270px; margin: 0; position: relative; overflow: hidden; background: #ddd; }
.gallery figure.main { height: 520px; grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 8px; color: #fff; background: rgba(0,0,0,.65); font-size: 9px; }
.gallery .photo-empty.large { height: 520px; }
.spec-panel, .condition-panel, .options-panel, .notes-panel { margin-top: 22px; padding: 32px; background: #fff; border: 1px solid var(--line); }
.section-title h2 { margin: 6px 0 22px; font-size: 29px; line-height: 1.1; letter-spacing: -.04em; font-weight: 480; }
.spec-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-grid div { min-height: 82px; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-grid small, .spec-grid b { display: block; }
.spec-grid small, .condition-copy small, .notes-panel small { color: #8a8c87; font-size: 8px; letter-spacing: .12em; }
.spec-grid b { margin-top: 7px; font-size: 13px; }
.condition-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.condition-copy > div { padding: 22px; background: #fafaf8; }
.condition-copy p, .notes-panel p { margin: 8px 0 0; color: #555854; font-size: 12px; line-height: 1.7; }
.condition-panel h3 { margin: 28px 0 14px; font-size: 15px; }
.damage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.damage-grid article { min-height: 145px; display: grid; grid-template-columns: 150px 1fr; background: #f5f5f2; }
.damage-grid img { width: 150px; height: 100%; object-fit: cover; }
.damage-grid article > div { padding: 16px; }
.damage-grid h4 { margin: 7px 0 4px; font-size: 12px; }
.damage-grid p { margin: 0; color: #6e706d; font-size: 10px; }
.severity { color: #5d635f; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.severity.medium { color: var(--amber); }
.severity.major { color: var(--red); }
.option-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.option-list span { padding: 13px 16px; background: #fafaf8; font-size: 11px; }
.notes-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.bid-panel { padding: 28px; position: sticky; top: 88px; color: #fff; background: #15191d; box-shadow: 0 25px 60px rgba(0,0,0,.2); }
.bid-panel .eyebrow { color: rgba(255,255,255,.5); }
.bid-timer { margin: 18px 0; padding: 21px; background: #20262b; border: 1px solid #30363b; }
.bid-timer small, .bid-timer strong, .bid-timer span { display: block; }
.bid-timer small, .current-price small { color: rgba(255,255,255,.45); font-size: 8px; letter-spacing: .13em; }
.bid-timer strong { margin: 6px 0; font-size: 34px; font-weight: 400; font-variant-numeric: tabular-nums; }
.bid-timer span { color: rgba(255,255,255,.48); font-size: 9px; }
.current-price { padding: 22px 0; border-top: 1px solid #363b3f; border-bottom: 1px solid #363b3f; }
.current-price b, .current-price span { display: block; }
.current-price b { margin: 5px 0; font-size: 32px; letter-spacing: -.03em; }
.current-price span { color: rgba(255,255,255,.48); font-size: 10px; }
.bid-panel form { margin: 20px 0; }
.bid-panel .button.primary { color: #111; background: #fff; box-shadow: none; }
.leading { margin: 20px 0; padding: 15px; color: #b5ead8; background: rgba(66,171,136,.16); border: 1px solid rgba(100,210,173,.24); text-align: center; font-weight: 700; }
.bid-warning { margin: 20px 0; padding: 14px; color: #f0d29d; background: rgba(184,124,39,.15); font-size: 10px; }
.bid-rules { margin: 20px 0; padding: 14px 0; border-bottom: 1px solid #363b3f; }
.bid-rules b { font-size: 10px; }
.bid-rules p { margin: 5px 0 0; color: rgba(255,255,255,.48); font-size: 9px; }
.bid-history h3 { margin: 0 0 10px; font-size: 12px; }
.bid-history > div { padding: 10px 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; border-top: 1px solid #2b3034; }
.bid-history span { color: rgba(255,255,255,.6); font-size: 10px; }
.bid-history b { font-size: 11px; }
.bid-history small { grid-column: 1 / -1; color: rgba(255,255,255,.35); font-size: 8px; }
.bid-history > p { color: rgba(255,255,255,.42); font-size: 10px; }
.internal-history { margin-top: 22px; padding-top: 18px; border-top: 1px solid #3a3f43; }
.internal-history h3 { font-size: 11px; }
.internal-history > div { padding: 8px 0; display: grid; border-top: 1px solid #2b3034; }
.internal-history b { font-size: 10px; }
.internal-history span, .internal-history small { color: rgba(255,255,255,.48); font-size: 8px; }
.internal-history input { width: 100%; padding: 11px; border: 0; }
.button.outline { color: #fff; border-color: #555; background: transparent; }

/* Lists and manager */
.page-title { margin: 25px 0 30px; }
.page-title h1 { margin: 6px 0; font-size: 48px; letter-spacing: -.05em; line-height: 1; font-weight: 480; }
.page-title p { color: var(--muted); }
.table-list { background: #fff; border: 1px solid var(--line); }
.table-list > a { min-height: 88px; padding: 15px 20px; display: grid; grid-template-columns: 120px 1fr 180px 20px; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.table-list small, .table-list b { display: block; }
.table-list small { color: #858783; font-size: 9px; }
.table-list b { font-size: 14px; }
.table-list > a > span:not(.status) { text-align: right; font-weight: 800; }
.table-list i { font-style: normal; }
.notification-list { display: grid; gap: 8px; }
.notification-list a { padding: 20px 23px; display: block; background: #fff; border: 1px solid var(--line); }
.notification-list time { color: #8c8e8a; font-size: 9px; }
.notification-list h3 { margin: 4px 0; font-size: 15px; }
.notification-list p { margin: 0; color: #696b68; font-size: 11px; }
.manager-head { margin-bottom: 28px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.manager-head h1 { margin: 6px 0 0; font-size: 44px; line-height: 1; letter-spacing: -.05em; font-weight: 480; }
.manager-head p { margin: 9px 0 0; color: var(--muted); }
.manager-summary { margin-bottom: 30px; display: grid; grid-template-columns: repeat(4, 1fr); background: #16191c; }
.manager-summary div { min-height: 120px; padding: 24px; color: #fff; border-right: 1px solid #303438; }
.manager-summary small, .manager-summary strong { display: block; }
.manager-summary small { color: rgba(255,255,255,.5); font-size: 8px; letter-spacing: .14em; }
.manager-summary strong { margin-top: 8px; font-size: 38px; font-weight: 400; }
.manager-section { margin-top: 35px; }
.manager-list { background: #fff; border: 1px solid var(--line); }
.manager-list article { min-height: 94px; padding: 18px 22px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.manager-list article > div:not(.row-actions) { flex: 1; }
.manager-list h3 { margin: 2px 0; font-size: 15px; }
.manager-list small, .manager-list p { margin: 0; color: #81837f; font-size: 9px; }
.row-actions { display: flex; gap: 8px; }
.row-actions a, .manager-list article > a { padding: 9px 12px; border: 1px solid #c9cac6; font-size: 10px; }
.row-actions a.primary-link { color: #fff; background: var(--ink); border-color: var(--ink); }
.editor-form, .schedule-form { padding: 28px; background: #fff; border: 1px solid var(--line); }
.editor-form section { margin-bottom: 30px; }
.editor-form h2, .editor-box h2 { margin: 0 0 18px; font-size: 20px; letter-spacing: -.03em; }
.form-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.form-grid.textareas { grid-template-columns: 1fr 1fr; }
.form-grid label { margin: 0; }
.form-grid textarea { min-height: 120px; resize: vertical; }
.editor-columns { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.editor-box { padding: 25px; background: #fff; border: 1px solid var(--line); }
.media-admin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.media-admin figure { margin: 0; position: relative; background: #eee; }
.media-admin img { width: 100%; height: 120px; object-fit: cover; }
.media-admin figcaption { padding: 7px; font-size: 8px; }
.media-admin form { position: absolute; right: 5px; top: 5px; }
.media-admin button, .damage-admin button, .user-actions button { padding: 5px 7px; border: 0; background: rgba(0,0,0,.72); color: #fff; font-size: 8px; }
.compact-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.compact-form p { margin: 0 0 10px; color: #444; font-size: 9px; font-weight: 700; }
.compact-form p input, .compact-form p select, .compact-form p textarea { margin-top: 5px; }
.damage-admin { display: grid; gap: 8px; }
.damage-admin article { display: grid; grid-template-columns: 100px 1fr; background: #f2f2ef; }
.damage-admin img { width: 100px; height: 100%; object-fit: cover; }
.damage-admin article > div { padding: 11px; }
.damage-admin b { font-size: 10px; }
.damage-admin p { margin: 3px 0 6px; color: #777; font-size: 8px; }
.schedule-summary { margin-bottom: 16px; display: grid; grid-template-columns: 2fr 1fr 1fr; background: #16191c; color: #fff; }
.schedule-summary div { padding: 20px; border-right: 1px solid #34383c; }
.schedule-summary small, .schedule-summary b { display: block; }
.schedule-summary small { color: rgba(255,255,255,.5); font-size: 8px; letter-spacing: .12em; }
.schedule-summary b { margin-top: 5px; }
.schedule-form fieldset { margin: 20px 0; padding: 18px; border: 1px solid var(--line); }
.schedule-form legend { padding: 0 8px; font-size: 10px; font-weight: 800; }
.company-checks > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.company-checks label { padding: 10px; display: flex; gap: 8px; background: #f5f5f2; font-size: 10px; }
.publish-warning { margin: 18px 0; padding: 16px; background: var(--amber-light); }
.publish-warning p { margin: 3px 0 0; font-size: 10px; }
.partner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.partner-grid > section { background: #fff; border: 1px solid var(--line); }
.partner-head { padding: 22px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.partner-head small, .partner-head p { color: #81837f; font-size: 9px; }
.partner-head h2 { margin: 3px 0; font-size: 20px; }
.partner-head p { margin: 0; }
.partner-head strong { font-size: 32px; font-weight: 400; }
.partner-users article { min-height: 72px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.partner-users article.disabled { opacity: .45; }
.partner-users b, .partner-users span, .partner-users small { display: block; }
.partner-users b { font-size: 11px; }
.partner-users span { color: #777; font-size: 9px; }
.telegram-ok { color: var(--green); font-size: 8px; }
.user-actions { display: flex; gap: 4px; }
.editor-form.simple { max-width: 620px; }

@media (max-width: 1100px) {
    .topbar { grid-template-columns: auto 1fr auto; padding: 0 18px; }
    .topbar nav { justify-self: start; gap: 16px; }
    .userbox > span:not(.avatar) { display: none; }
    .page { width: min(100% - 32px, 1000px); }
    .lot-grid { grid-template-columns: 1fr 1fr; }
    .detail-layout { grid-template-columns: 1fr; }
    .bid-panel { position: relative; top: auto; }
    .spec-grid { grid-template-columns: repeat(3, 1fr); }
    .login-shell { grid-template-columns: 1fr 420px; }
    .form-grid { grid-template-columns: repeat(2, 1fr); }
    .editor-columns, .partner-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    .topbar { height: auto; padding: 12px 14px; grid-template-columns: 1fr auto; }
    .topbar nav { grid-column: 1 / -1; grid-row: 2; width: 100%; overflow-x: auto; gap: 22px; }
    .topbar nav a { min-height: 36px; white-space: nowrap; }
    .page { width: calc(100% - 20px); padding-top: 18px; }
    .login-shell { display: block; }
    .login-visual { min-height: 420px; }
    .login-copy { width: auto; left: 24px; right: 24px; }
    .login-copy h1 { font-size: 48px; }
    .login-copy p { width: auto; }
    .login-proof { left: 24px; right: 24px; flex-wrap: wrap; }
    .login-panel { min-height: 620px; padding: 30px 24px; }
    .auth-card { padding: 35px 24px; }
    .auction-hero { padding: 30px 24px; grid-template-columns: 1fr; gap: 25px; }
    .auction-hero h1 { font-size: 42px; }
    .catalog-tools { grid-template-columns: 1fr; gap: 10px; }
    .status-tabs { overflow-x: auto; }
    .lot-grid { grid-template-columns: 1fr; }
    .detail-head { align-items: start; gap: 15px; }
    .detail-head h1 { font-size: 36px; }
    .detail-head h1 em { display: block; margin-top: 7px; }
    .gallery figure.main, .gallery .photo-empty.large { height: 340px; }
    .gallery figure { height: 160px; }
    .spec-panel, .condition-panel, .options-panel, .notes-panel { padding: 20px; }
    .spec-grid { grid-template-columns: 1fr 1fr; }
    .condition-copy, .damage-grid, .option-list, .notes-panel { grid-template-columns: 1fr; }
    .damage-grid article { grid-template-columns: 110px 1fr; }
    .damage-grid img { width: 110px; }
    .table-list > a { grid-template-columns: 1fr auto; }
    .table-list .status, .table-list i { display: none; }
    .manager-head { align-items: start; flex-direction: column; }
    .manager-summary { grid-template-columns: 1fr 1fr; }
    .manager-list article { align-items: start; flex-direction: column; }
    .form-grid, .form-grid.textareas, .schedule-summary { grid-template-columns: 1fr; }
    .company-checks > div { grid-template-columns: 1fr; }
    .recovery-grid { grid-template-columns: 1fr; }
}
