/* All styling is scoped to this plugin. No site header/footer or seller dashboard overrides. */
.hma-card-cta-compact{display:none}
.hma-page{margin:0;background:#fafcfe;color:#161b22;font-family:Tahoma,Arial,sans-serif}
.hma-app{width:100%;min-height:100vh}
.hma-wrap{box-sizing:border-box;--hma-red:#ed0914;--hma-border:#e7edf3;--hma-muted:#616977;--hma-ink:#132b46;width:100%;max-width:1440px;margin:auto;padding:20px 28px 32px;color:#171a20;font-family:Tahoma,Arial,sans-serif;font-size:14px;line-height:1.65}
.hma-wrap *,.hma-wrap *:before,.hma-wrap *:after{box-sizing:border-box}
.hma-wrap [hidden]{display:none!important}
.hma-wrap h1,.hma-wrap h2,.hma-wrap h3,.hma-wrap p,.hma-wrap dl{margin:0}
.hma-wrap button,.hma-wrap input,.hma-wrap select,.hma-wrap textarea{font:inherit;color:inherit;max-width:100%}
.hma-wrap button,.hma-wrap a{touch-action:manipulation}
.hma-wrap a{color:var(--hma-ink);text-decoration:none}
.hma-wrap button{cursor:pointer}
.hma-wrap button:disabled{opacity:.6;cursor:wait}
.hma-wrap :focus-visible{outline:3px solid #ed091480;outline-offset:3px}
.hma-icon{width:23px;height:23px;flex-shrink:0;vertical-align:middle}
.hma-detail-nav{display:flex;align-items:center;gap:10px;min-height:48px;margin-bottom:14px;padding:8px;background:#fff;border:1px solid var(--hma-border);border-radius:10px;font-size:12px;color:var(--hma-muted)}
.hma-detail-nav a{display:flex;align-items:center;gap:6px;color:var(--hma-muted)}
.hma-detail-nav .hma-icon{width:15px;height:15px}
.hma-detail-nav a{min-height:40px;padding:8px 12px;border-radius:7px;white-space:nowrap}
.hma-detail-nav a.hma-return-link{background:#132b46;color:#fff;font-weight:700}
.hma-nav-wallet{color:#a34800}
.hma-detail-layout{display:grid;grid-template-columns:minmax(0,1.43fr) minmax(0,1fr);grid-template-areas:"gallery auction" "facts auction" "specs auction" "more more";gap:12px 20px;align-items:start;direction:ltr}
.hma-detail-layout> *{direction:rtl;min-width:0}
.hma-media-area{grid-area:gallery}
.hma-auction-area{grid-area:auction;display:grid;gap:10px;align-self:start}
.hma-facts-area{grid-area:facts}
.hma-specs-area{grid-area:specs}
.hma-more-area{grid-area:more;display:grid;gap:16px;margin-top:12px}
.hma-gallery,.hma-auction-card,.hma-panel,.hma-fact{background:#fff;border:1px solid var(--hma-border);border-radius:12px}
.hma-gallery{padding:9px;position:relative;overflow:hidden}
.hma-live-frame{position:absolute;inset:0;width:100%;height:100%;color:var(--hma-red);z-index:2;pointer-events:none;display:none}
.hma-gallery.is-live .hma-live-frame{display:block}
.hma-live-frame rect{stroke-dasharray:20 80;animation:hma-snake 5s linear infinite}
@keyframes hma-snake{to{stroke-dashoffset:-100}}
.hma-gallery-main{position:relative;aspect-ratio:1.72;background:#f3f5f7;border-radius:8px;overflow:hidden;isolation:isolate;direction:ltr}
.hma-gallery-main>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .45s ease;pointer-events:none}
.hma-gallery-main>img.is-active{opacity:1}
.hma-gallery-zoom{position:absolute;inset:0;z-index:1;display:block;cursor:zoom-in}
.hma-gallery-zoom>span{position:absolute;left:10px;bottom:10px;display:flex;align-items:center;gap:6px;border-radius:6px;background:#132b46e6;color:#fff;padding:5px 9px;font-size:12px;direction:rtl}
.hma-gallery-zoom .hma-icon{width:17px;height:17px}
.hma-gallery-main .hma-gallery-arrow,.hma-gallery-counter,.hma-photo-live{z-index:3}
.hma-photo-live{position:absolute;left:14px;top:14px;display:flex;align-items:center;gap:10px;border:1px solid #ffb6bb;border-radius:8px;background:#ffffffed;color:var(--hma-red);padding:8px 14px;font-size:17px;font-weight:700;direction:rtl;box-shadow:0 4px 18px #c91c2820}
.hma-photo-live i{display:block;width:13px;height:13px;border-radius:50%;background:var(--hma-red);animation:hma-pulse 1.6s infinite}
@keyframes hma-pulse{0%,100%{box-shadow:0 0 0 0 #ed091430}60%{box-shadow:0 0 0 7px #ed091400}}
.hma-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;min-height:0;padding:0;border:1px solid #dae0e4;border-radius:50%;background:#fffffff2;box-shadow:0 2px 8px #0001;color:#161b22;font:32px/1 Arial,sans-serif;display:grid;place-items:center;z-index:1}
.hma-prev{left:12px}.hma-next{right:12px}
.hma-gallery-counter{position:absolute;right:10px;bottom:10px;display:flex;align-items:center;gap:6px;color:white;background:#000a;padding:3px 10px;border-radius:6px;font:14px/1.7 Arial,sans-serif}
.hma-gallery-counter .hma-icon{width:17px;height:17px}
.hma-gallery-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:9px;direction:ltr}
.hma-gallery-thumbs button{padding:0;border:2px solid transparent;overflow:hidden;aspect-ratio:1.5;border-radius:6px;background:#f3f5f7;line-height:0}
.hma-gallery-thumbs button.is-active{border-color:var(--hma-red)}
.hma-gallery-thumbs img{height:100%;width:100%;object-fit:cover}
.hma-auction-card{padding:14px;box-shadow:0 5px 16px #16345003}
.hma-auction-eyebrow{display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--hma-muted);font-size:13px;margin-bottom:8px}
.hma-status-badge{padding:5px 10px;border-radius:5px;background:#f1f4f7;color:#45576f;display:flex;align-items:center;gap:7px;font-weight:bold;font-size:13px}
.hma-detail[data-status="live"] .hma-status-badge{background:var(--hma-red);color:white}
.hma-status-badge .hma-icon{width:20px;height:20px}
.hma-auction-card h1{font-size:clamp(23px,2.2vw,34px);line-height:1.35;letter-spacing:-.6px;font-weight:800;margin:4px 0 6px;color:#0d1117}
.hma-vehicle-line{color:#596371;min-height:17px;font-size:14px;margin-bottom:12px!important}
.hma-price-box{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;padding:12px;border:1px solid #ffd2d6;border-radius:7px;background:#fff7f8;gap:14px}
.hma-price-box>div>span{display:flex;align-items:center;gap:6px;color:var(--hma-red);font-size:15px}
.hma-price-box strong{display:block;color:var(--hma-red);font-family:Arial,Tahoma,sans-serif;font-size:clamp(27px,3.4vw,43px);font-weight:800;line-height:1.25;margin-top:3px;white-space:nowrap;letter-spacing:-.7px}
.hma-highest{border-right:1px solid #f6dce0;padding-right:12px;min-width:0}
.hma-price-box .hma-highest>span{color:var(--hma-muted);font-size:12px}
.hma-highest b{font-size:14px;display:flex;gap:6px;align-items:center;margin-top:8px;overflow-wrap:anywhere}
.hma-highest b .hma-icon{color:#f3a000;width:24px}
.hma-clock-box{margin-top:8px;padding:10px;border:1px solid #ffe0e3;border-radius:7px;background:#fff6f7}
.hma-clock-box h2{display:flex;gap:7px;justify-content:center;align-items:center;font-size:14px;font-weight:700;margin-bottom:9px}
.hma-clock-box h2 .hma-icon{color:var(--hma-red);width:20px}
.hma-clock{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;direction:rtl;text-align:center}
.hma-clock>div{background:white;padding:4px 2px;border-radius:7px}
.hma-clock strong{display:block;color:var(--hma-red);font:700 26px/1.25 Arial,sans-serif;font-variant-numeric:tabular-nums}
.hma-clock span{font-size:12px;color:var(--hma-muted)}
.hma-step-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--hma-border);border-radius:7px;margin:8px 0;padding:7px 10px}
.hma-step-row>span{display:flex;gap:6px;align-items:center;color:var(--hma-muted);font-size:12px}
.hma-step-row .hma-icon{color:var(--hma-red);width:20px}
.hma-step-row strong{font:bold 19px Arial,sans-serif;white-space:nowrap}.hma-step-row small{color:var(--hma-red);font:700 12px Tahoma,sans-serif}
.hma-bid-state{font-size:11px;color:#237245;background:#edf8f0;border-radius:5px;padding:4px 8px;margin-bottom:6px}
.hma-bid-box,.hma-entry-box{background:#fff6f7;border:1px solid #ffe0e3;border-radius:7px;padding:11px}
.hma-bid-box h3,.hma-entry-box h3{display:flex;align-items:center;gap:7px;color:var(--hma-red);font-size:18px;line-height:1.4;margin-bottom:10px}
.hma-quick-bids{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:9px;direction:ltr}
.hma-quick-bids button{background:white;color:var(--hma-red);border:1px solid #f4a3ab;border-radius:6px;padding:7px;font:700 18px Arial,sans-serif}
.hma-quick-bids button small{font:11px Tahoma,sans-serif}
.hma-quick-bids .is-selected{border-color:var(--hma-red);background:#ffebed;box-shadow:inset 0 0 0 1px var(--hma-red)}
.hma-amount-label{display:block;font-size:11px;color:var(--hma-muted);margin-bottom:4px}
.hma-amount-field{display:flex;direction:ltr;align-items:center;border:1px solid #d9e1e9;border-radius:7px;background:#edf1f5;overflow:hidden}
.hma-amount-field input{min-width:0;border:0;border-left:1px solid #e3e8ef;padding:7px 13px;width:100%;outline:none;background:white;font:700 24px/1.4 Arial,sans-serif;direction:ltr}
.hma-amount-field span{padding:0 18px;font-weight:bold;white-space:nowrap;order:-1}
.hma-bid-box>small{display:block;font-size:10px;color:#646b76;line-height:1.6;margin:6px 0}
.hma-confirm{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;border:0;border-radius:6px;background:linear-gradient(110deg,#f0111b,#d8000b);color:white!important;font-weight:700;font-size:19px;padding:10px;line-height:1.35;min-height:45px;box-shadow:0 4px 8px #db071414}
.hma-confirm:hover{background:#cc0610}
.hma-bid-disclaimer{color:#707781;font-size:10px;text-align:center;margin-top:7px!important}
.hma-antisnipe{color:#d70613;font-size:11px;text-align:center;line-height:1.55;margin-top:5px!important}
.hma-live-metrics{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--hma-muted);padding-top:9px}
.hma-live-metrics span:last-child{font-size:10px}
.hma-ajax-msg:empty{display:none}.hma-ajax-msg{padding:8px;border-radius:6px;font-size:12px;margin-top:6px;background:#f3f5f9;color:#31425c}.hma-ajax-msg.is-error{background:#fff0f0;color:#ab0712}.hma-ajax-msg.is-success{background:#eef8f0;color:#19663c}
.hma-panel{padding:14px}
.hma-panel>h2,.hma-feed-panel h2{display:flex;align-items:center;gap:8px;font-size:18px;line-height:1.4;font-weight:700;margin-bottom:12px}
.hma-panel>h2 .hma-icon{color:var(--hma-red);width:24px}
.hma-feed-panel{padding:12px}
.hma-feed{overflow:auto;max-height:300px}
.hma-feed table{width:100%;border-collapse:collapse;text-align:right;font-size:11px;white-space:nowrap}
.hma-feed th{font-weight:500;background:#f0f2f5;color:#606976;padding:6px}
.hma-feed td{padding:6px;border-bottom:1px solid #edf0f4;color:#515b69}
.hma-feed td:nth-child(3){color:var(--hma-red);font-weight:bold}.hma-feed td:first-child{width:25px}.hma-feed tr:last-child td{border-bottom:0}
.hma-rules-panel ol{list-style:none;counter-reset:rules;padding:0;margin:0;display:grid;gap:7px}
.hma-rules-panel li{counter-increment:rules;position:relative;padding-right:27px;font-size:11px;line-height:1.8;color:#5a6370}
.hma-rules-panel li:before{content:counter(rules);position:absolute;right:0;top:0;width:19px;height:19px;background:var(--hma-red);color:white;border-radius:50%;display:grid;place-items:center;font:12px Arial,sans-serif}
.hma-rules-panel>a{display:block;font-size:11px;margin-top:9px;color:var(--hma-red)}
.hma-facts-area{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.hma-fact{padding:11px 7px;text-align:center;align-self:stretch;min-width:0}
.hma-fact h2{font-size:11px;display:flex;align-items:center;justify-content:center;gap:5px;margin-bottom:8px}
.hma-fact h2>span{background:#f5f7f9;padding:5px;border-radius:7px;display:flex}.hma-fact:first-child h2>span{background:#fff0f1;color:var(--hma-red)}
.hma-fact .hma-icon{width:20px;height:20px}.hma-fact strong{display:block;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.hma-fact small{display:block;font-size:10px;line-height:1.8;color:var(--hma-muted);margin-top:5px}
.hma-specs-area>h2{border-bottom:1px solid var(--hma-border);padding-bottom:10px}
.hma-spec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px;margin:0}
.hma-spec-grid>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #edf0f4;min-width:0;font-size:13px}
.hma-spec-grid dt,.hma-spec-grid>div>span{color:var(--hma-muted)}.hma-spec-grid dd{margin:0;font-weight:500;overflow-wrap:anywhere;text-align:left}.hma-spec-grid strong{font-size:13px}
.hma-main-note{padding:14px 0 0;font-size:12px;color:#5c6676;line-height:1.9}
.hma-media-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hma-section-head,.hma-damage-heading{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:14px}.hma-section-head span,.hma-damage-heading span{color:var(--hma-muted);font-size:11px}.hma-section-head h2,.hma-damage-heading h2{font-size:17px}.hma-section-head b{font-size:10px;color:#a34800}
.hma-video-panel video{width:100%;max-height:360px;border-radius:8px;background:#10151c}
.hma-report-preview{display:block}.hma-report-preview img{width:100%;height:260px;object-fit:contain}.hma-report-preview span{display:block;text-align:center;font-size:12px;margin-top:8px}
.hma-report-file{display:flex;align-items:center;gap:15px;padding:40px;border:1px dashed #c6d3e2;border-radius:8px}.hma-report-file strong{color:var(--hma-red)}
.hma-damage-keygrid{display:grid;grid-template-columns:1fr 1fr 2fr;gap:12px}.hma-damage-keygrid>div,.hma-core-health>div{background:#f6f8fb;border-radius:7px;padding:10px}.hma-damage-keygrid span,.hma-core-health span{display:block;color:var(--hma-muted);font-size:11px}.hma-damage-keygrid strong,.hma-core-health strong{font-size:13px}
.hma-core-health{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-top:12px}
.hma-report{display:grid;gap:16px}.hma-report h3{font-size:14px;margin-bottom:9px}.hma-report-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.hma-condition{padding:8px;border:1px solid var(--hma-border);border-radius:6px}.hma-condition span{display:block;font-size:11px;color:var(--hma-muted)}.hma-condition strong{font-size:12px}.hma-condition-ok strong{color:#227945}.hma-condition-severe strong,.hma-condition-damaged strong,.hma-condition-missing strong,.hma-condition-deployed strong{color:#c32635}
.hma-note+ .hma-note{border-top:1px solid var(--hma-border);padding-top:10px;margin-top:10px}.hma-note h3{font-size:13px}.hma-note p{font-size:12px;color:#616977}
.hma-extra-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.hma-extra-photos>a{display:block;border-radius:8px;border:1px solid var(--hma-border);overflow:hidden}.hma-extra-photos img{width:100%;height:190px;object-fit:contain;background:#f2f4f6;display:block}.hma-extra-photos span{display:flex;gap:6px;justify-content:center;align-items:center;font-size:11px;padding:7px;color:var(--hma-muted)}
#hma-photo-viewer,#hma-photo-viewer *{box-sizing:border-box}
#hma-photo-viewer{width:min(1040px,calc(100vw - 24px));max-width:calc(100vw - 24px);min-width:0;height:min(860px,calc(100vh - 24px));height:min(860px,calc(100dvh - 24px));max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);margin:auto;border:1px solid #ffffff25;border-radius:14px;padding:0;background:#101820;color:#fff;overflow:hidden;font:14px/1.6 Tahoma,Arial,sans-serif;direction:rtl}
#hma-photo-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#hma-photo-viewer:not([open]),#hma-photo-viewer [hidden]{display:none!important}
#hma-photo-viewer::backdrop{background:#07111de0}
#hma-photo-viewer .hma-lightbox-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #ffffff20;background:#101820}
#hma-photo-viewer .hma-lightbox-close{position:static;display:grid;place-items:center;flex:0 0 auto;--hma-control-size:44px;border:0;box-shadow:none;font:30px/1 Arial,sans-serif;cursor:pointer}
#hma-photo-viewer .hma-lightbox-stage{position:relative;min-width:0;min-height:0;margin:8px;direction:ltr}
#hma-photo-viewer [data-hma-lightbox-image]{display:block;width:100%;height:100%;min-width:0;max-width:100%;max-height:100%;object-fit:contain;touch-action:pan-x pan-y pinch-zoom}
#hma-photo-viewer .hma-gallery-arrow{--hma-control-size:40px;position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;border:0;font:30px/1 Arial,sans-serif;cursor:pointer;z-index:2;box-shadow:0 2px 12px #0004}
#hma-photo-viewer .hma-lightbox-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:8px 14px 12px;font-size:12px;border-top:1px solid #ffffff20}
#hma-photo-viewer .hma-lightbox-foot a{color:#fff;text-decoration:underline;padding:6px;cursor:pointer}
#hma-photo-viewer .hma-lightbox-foot small{flex-basis:100%;text-align:center;color:#ccd7e5;font-size:11px}
#hma-photo-viewer [data-hma-lightbox-counter]{direction:ltr;font-variant-numeric:tabular-nums}
#hma-photo-viewer :focus-visible{outline:3px solid #f47a20;outline-offset:2px}
.hma-upload-previews{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.hma-upload-previews:empty{display:none}
.hma-upload-preview{display:block;min-width:0;border:1px solid var(--hma-border);border-radius:8px;overflow:hidden;background:#f6f8fb;text-align:center}
.hma-upload-preview img{display:block;width:100%;height:150px;object-fit:contain}
.hma-upload-preview span{display:block;padding:6px;font-size:11px;overflow-wrap:anywhere}
.hma-info,.hma-warning,.hma-notice,.hma-empty{padding:16px;background:#f3f6fa;border:1px solid var(--hma-border);border-radius:10px;font-size:13px;line-height:1.9}.hma-notice{margin-bottom:16px;background:#edf8f0}.hma-warning{background:#fff6e7}.hma-empty{padding:25px;text-align:center}.hma-entry-box p{font-size:12px;margin-bottom:9px}.hma-check{display:flex!important;align-items:flex-start;gap:8px;font-size:12px;margin:10px 0}.hma-check input{flex:0 0 auto;margin:4px 0 0;accent-color:var(--hma-red);width:18px;height:18px}.hma-check a{color:var(--hma-red);text-decoration:underline}
.hma-seller-decision h3,.hma-repair-offer h3{font-size:17px;margin-bottom:8px}.hma-seller-decision p,.hma-repair-offer p{font-size:12px;margin-bottom:10px}.hma-seller-decision button{margin-top:8px}.hma-repair-offer label{display:grid;gap:5px;margin:10px 0}.hma-staff-private{background:#fffdf2;border-color:#f5e5bc}.hma-staff-private p{font-size:11px;overflow-wrap:anywhere;margin:8px 0}
/* Marketplace, seller forms and staff management are included in the same package. */
.hma-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;background:#132b46;color:white;padding:24px;border-radius:14px;margin-bottom:18px}.hma-hero h1{font-size:28px}.hma-hero p{font-size:13px;color:#d7e0eb}.hma-hero>div>span{color:#ff9b4b;font-size:12px}.hma-rules{display:grid;gap:5px;font-size:11px}.hma-topnav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.hma-topnav a,.hma-wallet{border:1px solid var(--hma-border);background:white;border-radius:7px;padding:8px 12px;font-size:12px}.hma-topnav a.is-active{background:#132b46;color:white}.hma-wallet{margin-right:auto;color:#a34800}
.hma-primary,.hma-secondary,.hma-danger,.hma-card-cta{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid transparent;border-radius:8px;padding:10px 16px;font-weight:700;font-size:13px;line-height:1.4}.hma-primary,.hma-card-cta{background:#f47a20;color:#fff!important}.hma-secondary{background:#f1f4f8;border-color:#d9e2ec;color:#132b46}.hma-danger{background:#b91c1c;color:white!important}.hma-full{width:100%}
.hma-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hma-card{border:1px solid var(--hma-border);border-radius:14px;overflow:hidden;background:white}.hma-card-media{display:block;position:relative;background:#f0f3f6;aspect-ratio:1.4;overflow:hidden}.hma-card-slides{position:absolute;inset:0}.hma-card-slides img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .5s}.hma-card-slides img.is-active{opacity:1}.hma-card-body{padding:16px}.hma-card h3{font-size:19px;line-height:1.5;margin:7px 0}.hma-card-topline{display:flex;justify-content:space-between;gap:8px;align-items:center}.hma-status,.hma-damage-level{font-size:10px;padding:3px 7px;border-radius:5px;background:#f1f4f8;color:#506279}.hma-damage-severe{background:#feecee;color:#bc222f}.hma-live-badge,.hma-featured-badge{position:absolute;top:10px;right:10px;background:var(--hma-red);color:white;padding:4px 9px;border-radius:6px;font-size:11px}.hma-live-badge i{display:inline-block;width:8px;height:8px;border-radius:50%;background:white;margin-left:5px;animation:hma-pulse 1.6s infinite}.hma-featured-badge{right:auto;left:10px;background:#ffe4ba;color:#8f4f00}.hma-featured-large{font-size:11px;color:#9b5300;background:#fff1d8;padding:5px 8px;border-radius:6px}
.hma-damage-summary{display:grid;grid-template-columns:1fr 2fr;gap:8px;padding:10px 0}.hma-damage-summary span{display:block;font-size:10px;color:var(--hma-muted)}.hma-damage-summary strong{font-size:11px}.hma-price-label{font-size:11px;color:var(--hma-muted)}.hma-card-price{font-size:25px;font-weight:bold;color:#f47a20}.hma-card-metrics{display:flex;flex-wrap:wrap;justify-content:space-between;font-size:11px;padding:9px 0;color:var(--hma-muted)}.hma-card-cta{display:block;text-align:center;margin-top:8px}
.hma-noimg{display:grid;place-items:center;min-height:200px;color:#697b8d}.hma-list,.hma-staff-list{display:grid;gap:14px}.hma-list-card{display:flex;gap:14px;justify-content:space-between;align-items:center;padding:16px;border:1px solid var(--hma-border);background:white;border-radius:10px}.hma-list-card h3{font-size:18px;margin:5px 0}.hma-list-card p{font-size:12px;color:var(--hma-muted)}
.hma-stats,.hma-fee-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.hma-stats>div,.hma-fee-summary>div{background:#fff;border:1px solid var(--hma-border);padding:15px;border-radius:10px}.hma-stats span,.hma-fee-summary span{display:block;color:var(--hma-muted);font-size:12px}.hma-stats strong{font-size:25px}.hma-fee-summary{grid-template-columns:repeat(3,1fr)}
.hma-staff-card{display:grid;grid-template-columns:150px minmax(0,1fr) 290px;gap:20px;padding:20px;border:1px solid var(--hma-border);border-radius:12px;background:white}.hma-staff-cover img{width:100%;max-height:160px;object-fit:contain;border-radius:8px}.hma-staff-main h3{font-size:20px;margin:8px 0}.hma-staff-main p{font-size:12px;overflow-wrap:anywhere;margin-bottom:6px}.hma-staff-actions form{display:grid;gap:8px;margin-top:10px}.hma-staff-actions label{display:grid;gap:4px;font-size:12px}.hma-staff-media-links{display:flex;gap:10px;margin-top:10px;font-size:12px}
.hma-wrap input:not([type=checkbox]):not([data-hma-custom]),.hma-wrap select,.hma-wrap textarea{width:100%;border:1px solid #d7e0ea;border-radius:7px;background:white;padding:10px 12px;min-height:42px}.hma-wrap input[type=file]{font-size:12px;min-height:0}.hma-form-grid,.hma-condition-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hma-form-grid label,.hma-condition-grid label{display:grid;gap:6px;font-size:13px}.hma-form-grid small{font-size:10px;color:var(--hma-muted)}.hma-sell-form .hma-panel{padding:24px}.hma-panel-title{display:flex;align-items:center;gap:12px;margin-bottom:22px}.hma-panel-title b{display:grid;place-items:center;background:#fff0e3;color:#b65308;width:42px;height:42px;border-radius:12px}.hma-panel-title h2{font-size:21px}.hma-panel-title p{font-size:12px;color:var(--hma-muted)}.hma-upload{display:grid;gap:12px;padding:24px;border:1px dashed #c8d6e7;border-radius:12px;background:#fafcfe}.hma-upload small{font-size:11px;color:var(--hma-muted)}.hma-upload em{font-style:normal;color:#236547;font-size:12px}.hma-wizard-progress{height:26px;background:#e8eef4;border-radius:6px;position:relative;overflow:hidden;margin-bottom:18px}.hma-wizard-progress-bar{position:absolute;inset:0 auto 0 0;background:#fbb274;width:10%}.hma-wizard-progress span{position:relative;display:block;text-align:center;font-size:12px;line-height:26px}.hma-wizard.is-enhanced .hma-wizard-step{display:none}.hma-wizard.is-enhanced .hma-wizard-step.is-active{display:block}.hma-wizard-actions{display:flex;justify-content:space-between;gap:12px;margin-top:16px}.hma-submit-status{padding:14px;background:#eef5ff;border-radius:7px;font-size:12px}.hma-submit-status progress{width:100%;accent-color:#f47a20}.hma-terms-box p{font-size:13px;margin-bottom:10px}.hma-submit-auction{margin-top:12px}
@media(min-width:1600px){.hma-wrap{max-width:1480px}.hma-gallery-main{aspect-ratio:1.65}}
@media(max-width:1050px) and (min-width:801px){.hma-wrap{padding:16px}.hma-detail-layout{gap:12px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.hma-gallery-main{aspect-ratio:1.3}.hma-facts-area{grid-template-columns:repeat(3,1fr)}.hma-price-box{grid-template-columns:1fr;gap:8px}.hma-highest{border:0;border-top:1px solid #f6dce0;padding:7px 0 0}.hma-highest b{margin-top:2px}.hma-price-box strong{font-size:33px}.hma-staff-card{grid-template-columns:100px 1fr}.hma-staff-actions{grid-column:1/-1}}
@media(max-width:800px){.hma-wrap{padding:12px}.hma-detail-nav{font-size:10px;gap:12px;flex-wrap:wrap;margin-bottom:9px}.hma-nav-wallet{display:none}.hma-detail-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"gallery" "auction" "facts" "specs" "more";gap:12px}.hma-gallery{padding:6px;border-radius:10px}.hma-gallery-main{aspect-ratio:1.32}.hma-gallery-thumbs{gap:5px;margin-top:6px}.hma-gallery-thumbs button{aspect-ratio:1.3}.hma-photo-live{top:10px;left:10px;font-size:13px;padding:5px 10px;gap:8px}.hma-photo-live i{width:10px;height:10px}.hma-gallery-arrow{width:36px;height:36px;font-size:27px}.hma-prev{left:8px}.hma-next{right:8px}.hma-auction-card{padding:13px}.hma-auction-eyebrow{font-size:11px}.hma-status-badge{font-size:11px;padding:4px 7px}.hma-auction-card h1{font-size:27px;letter-spacing:-.4px}.hma-vehicle-line{font-size:12px}.hma-price-box{padding:10px;gap:10px;grid-template-columns:1.35fr 1fr}.hma-price-box strong{font-size:33px}.hma-price-box>div>span{font-size:12px}.hma-highest{padding-right:9px}.hma-price-box .hma-highest>span{font-size:10px}.hma-highest b{font-size:12px}.hma-highest b .hma-icon{width:20px}.hma-clock strong{font-size:25px}.hma-clock-box h2{font-size:12px}.hma-clock{gap:7px}.hma-clock-box{padding:9px}.hma-confirm{font-size:18px}.hma-bid-box{padding:10px}.hma-bid-box h3{font-size:17px}.hma-quick-bids button{padding:9px}.hma-amount-field input{font-size:24px;padding:9px}.hma-live-metrics{font-size:10px}.hma-facts-area{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hma-fact:first-child{grid-column:1/-1}.hma-fact{padding:12px;text-align:right}.hma-fact h2{justify-content:flex-start;font-size:12px}.hma-fact strong{font-size:14px}.hma-fact small{font-size:11px}.hma-panel{padding:13px}.hma-panel>h2{font-size:17px}.hma-spec-grid{column-gap:15px}.hma-spec-grid>div{font-size:11px;gap:6px}.hma-media-panels{grid-template-columns:1fr;gap:12px}.hma-core-health{grid-template-columns:repeat(2,1fr)}.hma-damage-keygrid{grid-template-columns:1fr 1fr}.hma-damage-keygrid .hma-wide{grid-column:1/-1}.hma-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hma-extra-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hma-extra-photos img{height:150px}.hma-more-area{gap:12px;margin-top:0}.hma-hero{padding:18px;flex-direction:column;align-items:flex-start}.hma-hero h1{font-size:25px}.hma-rules{grid-template-columns:1fr 1fr;gap:10px}.hma-grid{grid-template-columns:1fr 1fr;gap:12px}.hma-card-body{padding:12px}.hma-card h3{font-size:16px}.hma-stats{grid-template-columns:1fr 1fr}.hma-staff-card{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:14px}.hma-staff-actions{grid-column:1/-1}.hma-list-card{padding:12px}.hma-list-card h3{font-size:15px}.hma-topnav{gap:6px}.hma-topnav a,.hma-wallet{font-size:11px;padding:7px 9px}.hma-wallet{margin:0}.hma-sell-form .hma-panel{padding:16px}.hma-form-grid,.hma-condition-grid{grid-template-columns:1fr;gap:14px}.hma-panel-title h2{font-size:18px}.hma-upload{padding:16px}.hma-fee-summary{gap:7px}.hma-fee-summary>div{padding:9px}.hma-fee-summary span{font-size:10px}.hma-fee-summary strong{font-size:12px}}
@media(max-width:380px){.hma-wrap{padding:8px}.hma-auction-card h1{font-size:24px}.hma-price-box strong{font-size:28px}.hma-highest b{font-size:10px}.hma-price-box .hma-highest>span{font-size:9px}.hma-feed table{font-size:10px}.hma-grid{grid-template-columns:1fr}.hma-spec-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.hma-live-frame rect,.hma-photo-live i,.hma-live-badge i{animation:none}.hma-gallery-main>img{transition:none}}

/* Final mobile order follows the user's portrait reference. */
@media(max-width:800px){
 .hma-wrap:has(.hma-detail){padding:12px 8px 20px;display:flex;flex-direction:column}
 .hma-wrap:has(.hma-detail) .hma-detail-nav{order:0;margin:0 0 12px;position:sticky;top:0;z-index:20;gap:5px;padding:6px;box-shadow:0 3px 10px #132b4610}
 .hma-detail-nav a{font-size:11px;padding:7px 9px}
 body.admin-bar.hma-page .hma-detail-nav{top:46px}
 .hma-detail-layout{grid-template-areas:"gallery" "auction" "facts" "feed" "rules" "specs" "private" "more";gap:9px}
 .hma-auction-area{display:contents}
 .hma-auction-card{grid-area:auction;position:relative;border:0;background:transparent;border-radius:0;padding:0 2px}
 .hma-feed-panel{grid-area:feed}
 .hma-rules-panel{grid-area:rules}
 .hma-staff-private{grid-area:private}
 .hma-auction-eyebrow{position:absolute;top:7px;left:3px;display:block;margin:0;font-size:10px}
 .hma-auction-eyebrow .hma-status-badge{display:none}
 .hma-auction-card h1{font-size:22px;padding-left:88px;margin:0 0 3px;min-height:30px}
 .hma-vehicle-line{font-size:11px;margin-bottom:7px!important}
 .hma-gallery{padding:0;border-radius:8px;border-color:transparent;background:transparent}
 .hma-gallery-main{aspect-ratio:auto;height:40vh;height:40svh;min-height:280px;--hma-control-size:36px}
 .hma-gallery-thumbs{display:flex;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:5px;margin-top:5px}
 .hma-gallery-thumbs::-webkit-scrollbar{display:none}
 .hma-gallery-thumbs button{flex:0 0 calc((100% - 10px)/3);aspect-ratio:2.12;scroll-snap-align:start}
 .hma-photo-live{top:7px;left:7px;font-size:13px;padding:5px 10px}
 .hma-gallery-arrow{width:36px;height:36px;font-size:26px}
 .hma-gallery-counter{font-size:11px;padding:2px 7px;bottom:7px;right:7px}
 .hma-facts-area{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .hma-fact{padding:9px 6px;text-align:center}
 .hma-fact h2{justify-content:center;font-size:10px;gap:4px;margin-bottom:4px}
 .hma-fact h2>span{padding:3px}
 .hma-fact strong{font-size:12px;line-height:1.45}
 .hma-fact small{font-size:9px;line-height:1.7;margin-top:3px}
 .hma-fact:nth-child(3){grid-row:1;grid-column:1}
 .hma-fact:nth-child(4){grid-row:1;grid-column:2}
 .hma-fact:nth-child(5){grid-row:1;grid-column:3}
 .hma-fact:nth-child(1){grid-row:2;grid-column:1/span 2}
 .hma-fact:nth-child(2){grid-row:2;grid-column:3}
 .hma-bid-state{padding:3px 7px;margin:6px 0}
 .hma-panel.hma-feed-panel,.hma-panel.hma-rules-panel{padding:11px}
 .hma-specs-area{margin-top:3px}
 .hma-upload-previews{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hma-upload-preview img{height:140px}
}
@media(max-width:600px){body.admin-bar.hma-page .hma-detail-nav{top:0}}
@media(max-width:380px){.hma-auction-card h1{font-size:20px;padding-left:78px}.hma-auction-eyebrow{font-size:9px}.hma-fact h2{font-size:9px}.hma-fact .hma-icon{width:17px;height:17px}.hma-fact strong{font-size:11px}}

/* Compact mobile marketplace rows; keep the detail gallery independent. */
@media(max-width:767px){
 :is(#hm-auction-app,.hma-wrap) [data-hma-market]{grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding-bottom:calc(136px + env(safe-area-inset-bottom,0px));scroll-padding-bottom:136px}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card{display:grid;grid-template-columns:clamp(96px,30vw,124px) minmax(0,1fr);align-items:stretch;direction:rtl;border-radius:14px!important;min-width:0;scroll-margin-bottom:calc(136px + env(safe-area-inset-bottom,0px))}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card-media{width:100%;height:100%!important;min-height:138px;aspect-ratio:auto;align-self:stretch;border-radius:0;background:#edf1f6}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card-slides img{width:100%;height:100%;object-fit:contain}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card-body{min-width:0;display:flex;flex-direction:column;gap:4px;padding:8px 10px!important}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card h3{font-size:14px!important;line-height:1.4;margin:0!important;overflow-wrap:anywhere}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card-topline{justify-content:flex-start;gap:5px;flex-wrap:wrap}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-status,:is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-damage-level{font-size:9px;padding:2px 5px;line-height:1.4}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-damage-summary,:is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-price-label{display:none}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hm-auction-pricebox{background:transparent;border-radius:0;padding:0;margin:0;gap:2px}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card-price{font-size:17px!important;line-height:1.4;margin:0!important;color:#102342!important}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card-metrics{padding:0;margin:0;min-height:0}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card-metrics>span:not([data-hma-card-timer]):not([data-hma-card-start]){display:none}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] [data-hma-card-timer],:is(#hm-auction-app,.hma-wrap) [data-hma-market] [data-hma-card-start]{font-size:10px!important;line-height:1.5;direction:rtl;color:#69768a;background:none!important;padding:0!important;margin:0!important;white-space:normal;overflow-wrap:anywhere}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card-cta{min-height:32px;height:auto;width:100%;padding:6px 10px;font-size:11px;line-height:1.4;margin-top:auto;flex-shrink:0}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card-cta-full{display:none}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-card-cta-compact{display:inline}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-live-badge{top:6px;right:5px;left:auto;padding:3px 5px;font-size:8px;line-height:1.4}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-live-badge i{width:5px;height:5px;margin-left:3px}
 :is(#hm-auction-app,.hma-wrap) [data-hma-market] .hma-featured-badge{top:auto;bottom:6px;left:5px;right:5px;font-size:8px;padding:3px;text-align:center}
}
@media(max-width:767px){body.hm-auction-app #hma-app>#hm-auction-app:has([data-hma-market]){padding:80px 12px 12px!important}}


/* إخفاء صندوق طلب السيارة من صفحات المزادات فقط */
body.hm-auction-app #hmcr-request-cta,
body.hm-auction-app #hmcr-request-dialog { display:none !important; }

/* Keep wizard controls hidden in the standalone auction layout as well. */
.hma-sell-form [hidden]{display:none!important}

/* Auction room phase 1: detail pages only. */
body.hma-page:has(.hma-detail){background:#eaf0f7!important;scrollbar-gutter:stable}
body.hma-page:has(.hma-detail) #hm-site-header{display:none!important}
body.hma-page:has(.hma-detail) .hma-app{background:radial-gradient(ellipse at top right,#dce8f6 0,transparent 65%),#eaf0f7;min-height:100vh}
.hma-detail-nav{box-shadow:0 6px 22px #132b4609}
.hma-detail .hma-gallery,.hma-detail .hma-auction-card,.hma-detail .hma-panel,.hma-detail .hma-fact{box-shadow:0 6px 22px #132b4606}
.hma-detail .hma-gallery.is-live .hma-live-frame{display:none}
.hma-detail .hma-price-box{position:relative;isolation:isolate;border-radius:12px;font-variant-numeric:tabular-nums}
.hma-detail[data-status="live"] .hma-auction-card h1:before{content:"";display:inline-block;width:10px;height:10px;margin-left:10px;vertical-align:middle;background:#ed0914;border-radius:50%;animation:hma-room-pulse 1.8s ease-out infinite}
@property --hma-room-angle{syntax:"<angle>";initial-value:0deg;inherits:false}
.hma-detail[data-status="live"] .hma-price-box:before{content:"";position:absolute;inset:-2px;border-radius:inherit;padding:2px;background:conic-gradient(from var(--hma-room-angle),transparent 0deg 245deg,#ffb1b7 285deg,#ed0914 330deg,transparent 360deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;animation:hma-room-border 4s linear infinite}
.hma-detail .hma-price-box.is-price-updated{animation:hma-room-price .9s ease-out}
.hma-detail .hma-feed{height:260px;max-height:260px;overflow:auto;overflow-anchor:none}
.hma-detail .hma-feed table{table-layout:fixed;white-space:normal}
.hma-detail .hma-feed td,.hma-detail .hma-feed th{overflow-wrap:anywhere}
.hma-detail .hma-gallery-main{overflow-anchor:none}
.hma-detail .hma-auction-card{overflow-anchor:none}
@media(min-width:801px){.hma-detail-layout{grid-template-rows:min-content min-content 1fr min-content}.hma-media-area,.hma-facts-area,.hma-specs-area{align-self:start}}
@media(max-width:800px){.hma-detail .hma-feed{height:210px;max-height:210px}.hma-detail .hma-auction-card{padding:12px;background:#fff;border:1px solid #dce5ef;border-radius:12px}.hma-detail .hma-auction-eyebrow{position:static;display:flex;margin-bottom:8px}.hma-detail .hma-auction-eyebrow .hma-status-badge{display:flex}.hma-detail .hma-auction-card h1{padding-left:0}.hma-detail .hma-gallery-main{height:38svh;min-height:240px;max-height:420px}}
@keyframes hma-room-border{to{--hma-room-angle:360deg}}
@keyframes hma-room-pulse{0%{box-shadow:0 0 0 0 #ed091455}75%,100%{box-shadow:0 0 0 8px #ed091400}}
@keyframes hma-room-price{0%{background:#ffe0e4}100%{background:#fff7f8}}
@media(prefers-reduced-motion:reduce){.hma-detail[data-status="live"] .hma-price-box:before,.hma-detail[data-status="live"] .hma-auction-card h1:before,.hma-detail .hma-price-box.is-price-updated{animation:none}}

/* Three-state vehicle report and confirmed-bid announcement. */
.hma-report-tri{gap:20px}.hma-report-tri>section{padding:16px;background:#f7f9fc;border:1px solid #e2e8f0;border-radius:12px}.hma-report-tri h3{font-size:16px;color:#132b46;margin-bottom:12px}.hma-report-tri .hma-report-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hma-report-tri .hma-condition{background:#fff;padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:8px}.hma-report-tri .hma-condition>span{font-size:12px;color:#334155}.hma-report-tri strong{display:flex;align-items:center;gap:7px}.hma-report-tri strong i{width:9px;height:9px;display:inline-block;border-radius:50%;background:currentColor;flex-shrink:0}.hma-tone-ok strong{color:#16854d}.hma-tone-minor strong{color:#d97706}.hma-tone-damaged strong{color:#dc2626}.hma-damage-link{font-size:11px!important;color:#244c7a!important;text-decoration:underline!important;margin-top:auto}
.hma-detail .hma-gallery-thumbs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.hma-detail .hma-gallery-thumbs button{min-width:0;aspect-ratio:1.25}
.hma-bid-pop{position:fixed;inset:0;z-index:99980;pointer-events:none;display:grid;place-items:center;background:#0b1c3533}.hma-bid-pop>div{padding:22px 30px;background:#fff;border:2px solid #ed0914;border-radius:20px;box-shadow:0 16px 60px #132b4633;text-align:center;animation:hma-bid-arrive 1.3s ease both}.hma-bid-pop small{display:block;color:#64748b;font-size:16px}.hma-bid-pop strong{display:block;color:#ed0914;font:bold clamp(30px,6vw,68px)/1.4 Arial,sans-serif;font-variant-numeric:tabular-nums}
@keyframes hma-bid-arrive{0%{transform:scale(.6);opacity:0}20%,65%{transform:scale(1);opacity:1}100%{transform:translate(var(--hma-bid-x,0px),var(--hma-bid-y,0px)) scale(.2);opacity:0}}
@media(max-width:800px){.hma-detail .hma-gallery-thumbs{display:flex}.hma-detail .hma-gallery-thumbs button{flex:0 0 25%;aspect-ratio:1.4}.hma-report-tri .hma-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hma-report-tri>section{padding:12px}.hma-bid-pop>div{max-width:90vw;padding:18px}}
@media(prefers-reduced-motion:reduce){.hma-bid-pop>div{animation:none}}

/* Company navigation, right-to-left. */
.hma-company-nav{display:grid!important;grid-template-columns:auto minmax(0,1fr) 44px;direction:rtl;gap:12px!important;position:relative;z-index:30;overflow:visible!important}
.hma-company-name{text-align:center;font-size:18px;line-height:1.4;color:#132b46;overflow-wrap:anywhere}
.hma-nav-menu{position:relative;justify-self:end}.hma-nav-menu summary{width:44px;height:44px;display:grid;place-items:center;cursor:pointer;list-style:none;border:1px solid #dce5ee;border-radius:10px;background:#f3f6fa;color:#132b46}.hma-nav-menu summary::-webkit-details-marker{display:none}.hma-nav-menu[open] summary{background:#132b46;color:#fff}.hma-nav-dropdown{position:absolute;left:0;top:52px;min-width:190px;padding:7px;background:#fff;border:1px solid #dce5ee;box-shadow:0 12px 35px #132b4625;border-radius:12px;z-index:100;text-align:right}.hma-nav-dropdown a{display:flex!important;min-height:44px!important;color:#132b46!important;font-size:13px!important;border-radius:8px}.hma-nav-dropdown a:hover{background:#eef3f9}
@media(max-width:600px){.hma-company-nav{grid-template-columns:auto minmax(0,1fr) 40px;gap:7px!important;padding:6px!important}.hma-company-nav .hma-return-link{font-size:10px;padding:8px!important;gap:3px;min-height:40px}.hma-company-nav .hma-return-link svg{width:13px}.hma-company-name{font-size:14px}.hma-nav-menu summary{width:40px;height:40px}.hma-nav-dropdown{top:47px}}

/* Auction company identity card. */
.hma-company-nav .hma-company-name{justify-self:center;display:block;background:#132b46;color:#fff;padding:9px 22px;border:1px solid #294562;border-radius:12px;box-shadow:0 4px 12px #132b4615;max-width:100%;line-height:1.4}
.hma-company-nav .hma-company-name:before{display:none;content:none}
@media(max-width:600px){.hma-company-nav .hma-company-name{padding:9px 10px;font-size:13px;border-radius:9px;min-height:40px;display:flex;align-items:center;justify-content:center;text-align:center;overflow-wrap:anywhere;box-sizing:border-box}.hma-company-nav .hma-company-name:before{display:none;content:none}}

/* Confirmed live room states and mobile bidding controls. */
.hma-room-status,.hma-result-card,.hma-auction-disclosure{border:1px solid #dce5ee;border-radius:12px;padding:12px 14px;margin:12px 0;background:#f5f8fc;color:#17314e;line-height:1.8}
.hma-room-status:empty{display:none}.hma-room-status.is-leading{background:#edf9f1;color:#146638;border-color:#bce5ca}.hma-room-status.is-outbid{background:#fff2f2;color:#ac202e;border-color:#f1b9c0}.hma-room-status.is-waiting{background:#fff8e8;color:#835800;border-color:#f1dcaa}
.hma-live-metrics [data-hma-connection]{display:inline-flex;align-items:center;gap:5px}.hma-live-metrics [data-hma-connection]:before{content:'';width:7px;height:7px;border-radius:50%;background:#d79b32;flex:none}.hma-detail[data-connection=connected] [data-hma-connection]:before{background:#209955}.hma-detail[data-connection=offline] [data-hma-connection]:before{background:#d93649}.hma-detail[data-connection=offline] [data-hma-connection]{color:#b3263b}
.hma-clock-box.is-urgent{background:#fff0f1!important;border-color:#ec5363!important;box-shadow:0 0 0 2px #ef354518}.hma-clock-box.is-urgent h2:after{content:'آخر دقيقة';margin-inline-start:8px;font-size:11px;color:#b02032}.hma-clock-box.is-urgent strong{color:#cc2034!important}
.hma-extension-note{padding:10px 12px;border-radius:9px;background:#fff6df;color:#795300;border:1px solid #f2da9b;margin:10px 0;font-size:12px}.hma-extension-note[hidden],.hma-result-card[hidden],.hma-mobile-bidbar[hidden]{display:none!important}
.hma-result-card h3{font-size:18px;margin:0 0 6px;color:#132b46}.hma-result-card strong{display:block;font-size:24px;color:#132b46}.hma-result-card p{margin:5px 0;font-size:13px}.hma-auction-disclosure{font-size:12px}.hma-auction-disclosure strong{font-size:13px;display:block}.hma-auction-disclosure p{margin:4px 0}.hma-company-avatar{width:30px;height:30px;border-radius:7px;object-fit:contain;vertical-align:middle;margin-inline-end:7px;background:#fff}
.hma-mobile-bidbar{display:none}.hma-detail button:disabled{cursor:not-allowed;opacity:.55}.hma-detail [data-hma-highest-state]{transition:background .2s,color .2s}.hma-detail [data-hma-highest-state].is-leading{background:#edf9f1;color:#146638}.hma-detail [data-hma-highest-state].is-outbid{background:#fff0f1;color:#ac202e}
@media(max-width:767px){.hma-detail.has-mobile-bidbar{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}.hma-mobile-bidbar{position:fixed;inset:auto 0 0;z-index:10001;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;align-items:center;padding:10px 14px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #dce5ee;box-shadow:0 -5px 24px #132b461a;direction:rtl}.hma-mobile-bidbar small{display:block;color:#61758d;font-size:10px}.hma-mobile-bidbar strong{display:block;font-size:18px;color:#132b46;line-height:1.3}.hma-mobile-bidbar button{width:auto!important;min-height:44px!important;padding:9px 16px!important;border:0;border-radius:9px;background:#f77912;color:#132b46;font-weight:700;font-size:13px}.hma-mobile-bidbar [data-hma-bar-next]{font-size:11px;color:#48617d}.hma-mobile-bidbar [data-hma-bar-state]{font-size:10px;color:#536c85;grid-column:1/-1;line-height:1.2}.hma-auction-disclosure{padding:10px 12px}.hma-auction-area{scroll-margin-bottom:125px}}
@media(prefers-reduced-motion:reduce){.hma-clock-box.is-urgent{animation:none}}

.hma-detail[data-connection] [data-hma-highest-state]{display:none}

.hma-quick-bids [data-hma-quick-total]{display:block;font-size:11px;font-weight:600;margin-top:5px;line-height:1.5}.hma-quick-bids button small{display:block;font-size:11px;line-height:1.5}

/* Live price projection: transparent controls and no surrounding card. */
.hma-price-box{position:relative;padding-bottom:30px!important}.hma-price-box .hma-price-expand{position:absolute!important;left:7px!important;bottom:5px!important;display:grid!important;place-items:center!important;width:26px!important;min-width:26px!important;max-width:26px!important;height:26px!important;min-height:26px!important;padding:3px!important;margin:0!important;border:1px solid #ee7b8844!important;border-radius:6px!important;background:transparent!important;color:#c91d36!important;z-index:3;cursor:pointer}.hma-price-expand:hover{box-shadow:0 0 0 2px #ef334020}.hma-price-expand:focus-visible{outline:2px solid #132b46;outline-offset:2px}
.hma-price-stage{position:fixed!important;inset:0!important;margin:auto!important;width:calc(100vw - 24px)!important;max-width:1400px!important;max-height:95vh!important;padding:70px 10px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#ff1434!important;overflow:visible!important;text-align:center;direction:rtl}.hma-price-stage:not([open]){display:none!important}.hma-price-stage[open]{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:18px}.hma-price-stage::backdrop{background:rgba(10,26,45,.36);backdrop-filter:blur(6px)}.hma-price-stage [data-hma-stage-price]{font-size:clamp(48px,12vw,200px)!important;font-weight:900!important;line-height:1.25;white-space:nowrap;color:#ff1434!important;text-shadow:0 2px 3px #fff,0 0 28px #ffffffb3;max-width:100%;font-variant-numeric:tabular-nums}.hma-price-stage.is-stale [data-hma-stage-price]{opacity:.65}.hma-price-stage [data-hma-stage-hint]{font-size:14px;color:#fff;background:#132b46dd;border-radius:8px;padding:6px 12px}.hma-price-stage [data-hma-stage-hint][hidden]{display:none!important}.hma-price-stage .hma-stage-close{position:fixed!important;left:20px!important;top:20px!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;display:grid!important;place-items:center!important;border:1px solid #ffffff88!important;border-radius:50%!important;background:#ffffffcc!important;color:#132b46!important;font-size:28px!important;cursor:pointer}.hma-stage-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}

/* Seller price acceptance and buyer consent. */
.hma-seller-actions{margin-top:12px}.hma-seller-actions small,.hma-proceed-box>small{display:block;margin-top:8px;color:#61758d;font-size:11px;line-height:1.8}.hma-seller-actions>.hma-confirm{background:#167347!important;color:#fff!important}.hma-proceed-box{padding:15px;border-radius:12px;border:1px solid #c1dfce;background:#f1faf5;color:#183c2b;line-height:1.9}.hma-proceed-box h3{margin:0 0 9px;font-size:17px}.hma-proceed-box p{margin:7px 0}.hma-proceed-box .hma-check{margin:12px 0}.hma-proceed-box .hma-confirm{width:100%;white-space:normal!important;line-height:1.8}.hma-seller-confirm-dialog{width:calc(100vw - 32px)!important;max-width:520px!important;padding:24px!important;border:1px solid #dce5ee!important;border-radius:16px!important;background:#fff!important;color:#132b46;box-shadow:0 20px 80px #132b4640!important;direction:rtl;line-height:1.9}.hma-seller-confirm-dialog:not([open]){display:none!important}.hma-seller-confirm-dialog::backdrop{background:#0b1e32a6;backdrop-filter:blur(4px)}.hma-seller-confirm-dialog h3{font-size:20px;margin:0 0 15px}.hma-seller-confirm-dialog p{font-size:13px;margin:9px 0}.hma-seller-quote{display:block;font-size:34px;color:#167347;font-weight:800}.hma-seller-dialog-actions{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:18px}.hma-seller-dialog-actions button{min-height:46px;white-space:normal!important}.hma-seller-dialog-actions .hma-confirm{background:#167347!important;color:#fff!important}.hma-seller-warning{padding:10px;background:#fff5df;color:#805500;border-radius:8px}.hma-seller-warning[hidden]{display:none!important}.hma-seller-confirm-dialog [data-hma-seller-error]{color:#b32135;font-weight:600}
@media(max-width:600px){.hma-seller-confirm-dialog{padding:18px!important}.hma-seller-dialog-actions{grid-template-columns:1fr}.hma-seller-confirm-dialog h3{font-size:18px}.hma-seller-quote{font-size:30px}}

/* Reopened rounds and recorded handover progress. */
.hma-reopen-controls{padding:16px;background:#fff;border:1px solid #dce5ee;border-radius:12px;margin:12px 0;color:#132b46;line-height:1.8}.hma-reopen-controls summary{cursor:pointer;font-weight:700;padding:8px 0;color:#173e67}.hma-reopen-controls details[open]>summary{margin-bottom:10px}.hma-reopen-controls form{display:grid;gap:10px}.hma-reopen-controls label{display:grid;gap:5px;font-size:13px}.hma-reopen-controls .hma-check{display:flex;align-items:flex-start;gap:8px}.hma-reopen-controls input:not([type=checkbox]),.hma-reopen-controls select,.hma-reopen-controls textarea{width:100%;max-width:100%;box-sizing:border-box;padding:10px;border:1px solid #d5dfeb;border-radius:8px;background:#fff;color:#132b46}.hma-reopen-controls p,.hma-reopen-controls small{font-size:12px}.hma-round-history{margin-top:14px;border-top:1px solid #e1e8ef;padding-top:8px}.hma-round-history article{padding:10px 0;border-bottom:1px solid #e1e8ef}.hma-round-message,.hma-free-reentry{padding:10px 12px;margin:10px 0;background:#edf8f1;border:1px solid #c4e6cf;border-radius:9px;font-size:12px;color:#1e673b;line-height:1.8}.hma-round-message[hidden]{display:none!important}
.hma-handover-panel{padding:16px;background:#fff;border:1px solid #cbdfea;border-radius:12px;margin-top:12px;color:#132b46;line-height:1.9}.hma-handover-panel h3{font-size:17px;margin:0 0 10px}.hma-handover-panel p{font-size:13px}.hma-handover-panel>small{display:block;color:#61758d;font-size:11px;margin-top:12px}.hma-handover-steps{display:grid;gap:8px;padding:0!important;margin:12px 0!important;list-style:none!important}.hma-handover-steps li{padding:10px 12px;border:1px solid #dce5ee;border-radius:9px;background:#f6f8fb;font-size:12px}.hma-handover-steps li.is-done{background:#eef9f2;border-color:#bfe5cc;color:#176336}.hma-handover-steps li small{display:block;color:#60788c;font-size:10px}.hma-handover-panel .hma-check{margin:12px 0;font-size:12px}.hma-handover-panel [data-hma-handover-kind]{width:100%;white-space:normal!important;min-height:46px}
