/* Droply Motors dashboard — the approved Motors console design (concept v2).
   Every selector is scoped under .mxd, the root MotorsShell renders, so this
   file matches nothing on the Marketplace dashboard, the public Motors site or
   the Getting-in screens (sign in, sign up, onboarding, /platforms).
   Ported from the prototype by a script: container queries became media
   queries, overlays became position:fixed, keyframes are prefixed mx-. */
/* The palette comes from the Motors card on the Platform page (/platforms): a
   navy slab with teal accents. Navy commits: primary buttons, dark surfaces
   (bulk bar, toast, preview cards) and text ink. Teal signals: where you are
   (the nav tile), what is checked, what is unread, focus and data. The
   neutrals lean to the card's navy hue so the two read as one family.
   Small-text teal stays at --teal-600/--teal-700; the card's own #1CB1C9
   carries navy content (7.2:1), never white. */
.mxd{--navy:#0B1325; --navy-2:#0E172D; --navy-3:#1A2540; --navy-soft:#AAB4C5;
  --ground:#F3F5F8; --surface:#FFFFFF; --surface-2:#F8F9FC; --sunken:#EDF0F5; --hover:#F2F5F9;
  --line:#E1E6EE; --line-2:#D2D9E3;
  --control:#8590A1;
  --icon:#8893A3;
  --ink:#0B1325; --text:#334155; --muted:#5E6A7D; --faint:#657186;
  /* Navy as a material, not a flat near-black: every navy fill (Open Motors,
     the bulk bar, the toast) is this gradient, lighter at the top so it reads
     as navy. Buttons themselves are white: a primary carries its label and
     icon in --navy behind a --navy-edge outline, a secondary in --ink-2
     (12.8:1) with --slate icons (7.4:1). */
  --ink-2:#24324D;
  --navy-fill:linear-gradient(180deg,#1B2A48 0%,#0E1A33 100%);
  --navy-fill-hover:linear-gradient(180deg,#223458 0%,#13213F 100%);
  --navy-edge:#101C36;
  --teal:#1CB1C9;
  --teal-500:#179AAF;
  --teal-600:#0E7F91;
  --teal-700:#086B7C;
  --teal-50:#EAF7F9; --teal-100:#CDEDF3;
  --green:#15784A; --green-bg:#E5F4EB;
  --amber:#945006; --amber-bg:#FCF0DB;
  --red:#B3263D; --red-bg:#FBE9EC; --red-line:#EBC3CA;
  --indigo:#4943BF; --indigo-bg:#ECECFB;
  --brown:#7A5B35; --brown-bg:#F3EDE5;
  --slate:#4A5669; --slate-bg:#ECEFF4;
  --r-xs:4px; --r-sm:8px; --r-md:10px; --r-lg:14px;
  --h:40px; --h-sm:32px; --h-lg:44px;
  --sh-1:0 1px 2px rgba(11,19,37,.05);
  --sh-2:0 1px 2px rgba(11,19,37,.04),0 8px 24px -10px rgba(11,19,37,.16);
  --sh-pop:0 24px 56px -16px rgba(11,19,37,.30),0 2px 6px rgba(11,19,37,.06);
  --sh-teal:0 6px 14px -6px rgba(28,177,201,.7);
  --f-ui:var(--droply-font-ui);
  --f-display:var(--droply-font-ui);
  --f-mono:"JetBrains Mono",ui-monospace,Consolas,monospace;
  --ease:cubic-bezier(.2,.8,.2,1);
  --chrome:#0B1325; --chrome-2:#1A2540; --chrome-text:#AAB4C5;}
.mxd *,.mxd *::before,.mxd *::after{box-sizing:border-box}
.mxd button,.mxd input,.mxd select,.mxd textarea{font:inherit;color:inherit}
.mxd button{cursor:pointer}
.mxd h1,.mxd h2,.mxd h3,.mxd h4,.mxd p{margin:0}
.mxd h1,.mxd h2,.mxd h3{text-wrap:balance}
.mxd table{font-size:inherit}
.mxd ::selection{background:#BFE6EE;color:var(--ink)}
.mxd :focus-visible{outline:2px solid var(--teal-600);outline-offset:2px}
.mxd{font-family:var(--f-ui);caret-color:var(--teal-600);scrollbar-color:#C2CAD6 transparent;scrollbar-width:thin}
.mxd .ms{font-family:"Material Symbols Outlined";font-weight:400;font-style:normal;font-size:20px;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;direction:ltr;display:inline-block;flex:none;user-select:none;font-variation-settings:"FILL" 0,"wght" 400,"opsz" 24;font-feature-settings:"liga"}
.mxd .ms.fill{font-variation-settings:"FILL" 1,"wght" 400,"opsz" 24}
[dir="rtl"] .mxd .flip{transform:scaleX(-1)}
.mxd .num{font-variant-numeric:tabular-nums}
.mxd .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mxd .muted{color:var(--muted)}
.mxd .ink{color:var(--ink)}
.mxd .strong{font-weight:700;color:var(--ink)}
.mxd .small{font-size:13px}
.mxd .code{font-family:var(--f-mono);font-size:13px;letter-spacing:0}
[dir="rtl"] .mxd *{letter-spacing:0 !important;text-transform:none !important}
.mxd{position:relative;width:100%;height:100%;background:var(--ground);overflow:hidden;display:flex}
.mxd .shell{flex:1;min-width:0;display:grid;grid-template-columns:256px minmax(0,1fr);height:100%}
.mxd .shell[hidden]{display:none}
.mxd .side{background:var(--surface);border-inline-end:1px solid var(--line);display:flex;flex-direction:column;min-height:0}
.mxd .side__top{padding:16px 14px 8px;display:flex;flex-direction:column;gap:12px}
.mxd .brandrow{display:flex;align-items:center;gap:10px;padding:2px 4px}
.mxd .brand{display:flex;align-items:center;gap:10px}
.mxd .brand__logo{width:32px;height:32px;border-radius:9px;background:var(--ink);display:grid;place-items:center;color:var(--teal);flex:none}
.mxd .brand__logo .ms{font-size:19px}
.mxd .brand__txt{display:flex;flex-direction:column;line-height:1.15;min-width:0}
.mxd .brand__name{font-family:var(--f-ui);font-weight:700;font-size:13px;letter-spacing:.06em;color:var(--ink);text-transform:uppercase}
.mxd .brand__plat{font-size:12px;color:var(--muted);font-weight:600}
.mxd .platsw{display:grid;grid-template-columns:1fr 1fr;gap:2px;padding:2px;border-radius:var(--r-sm);background:var(--sunken)}
.mxd .platsw button{border:0;background:transparent;height:30px;border-radius:6px;font-size:13px;font-weight:600;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:6px}
.mxd .platsw button .ms{font-size:17px}
/* The current platform reads as a raised white segment on the sunken track,
   with a navy label and icon — the Marketplace switcher's shape, and the same
   white-with-navy treatment the buttons now use. */
.mxd .platsw button.on{background:var(--surface);color:var(--navy);box-shadow:0 1px 2px rgba(11,19,37,.12),inset 0 0 0 1px var(--line-2)}
.mxd .platsw button.on .ms{color:var(--navy)}
.mxd .acct{display:flex;align-items:center;gap:10px;padding:8px 6px}
.mxd .acct__av{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-weight:700;font-size:12px;color:var(--teal);background:linear-gradient(135deg,var(--navy-3),var(--navy));flex:none}
.mxd .acct__txt{min-width:0;display:flex;flex-direction:column;line-height:1.25}
.mxd .acct__name{font-weight:700;color:var(--ink);font-size:14px;display:flex;align-items:center;gap:4px;min-width:0}
.mxd .acct__name bdi{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .acct__name .ms{font-size:16px;color:var(--teal-600)}
.mxd .acct__kind{font-size:12px;color:var(--muted)}
.mxd .nav{flex:1;min-height:0;overflow:auto;padding:4px 10px 12px;display:flex;flex-direction:column;gap:16px}
.mxd .nav__grp{display:flex;flex-direction:column;gap:2px}
.mxd .nav__h{font-size:12px;font-weight:600;color:var(--muted);padding:4px 10px}
.mxd .nav__i{display:flex;align-items:center;gap:8px;padding:0 6px;height:38px;border-radius:var(--r-sm);border:0;background:transparent;color:var(--text);font-weight:600;font-size:14px;text-align:start;width:100%}
.mxd .nav__i .ms{font-size:20px;color:var(--icon);width:28px;height:28px;display:grid;place-items:center;border-radius:8px;transition:background-color .15s var(--ease),color .15s var(--ease),box-shadow .15s var(--ease)}
.mxd .nav__i:hover{background:var(--hover);color:var(--ink)}
.mxd .nav__i:hover .ms{color:var(--text)}
/* Selected nav item (2026-09-23, user request): the whole row is brand teal,
   with a white label and a white icon — it was a teal WASH behind a teal icon
   chip with a navy glyph. Same contrast note as .btn--brand: white on
   #1CB1C9 is 2.4:1. The row keeps its teal on hover because this rule is read
   after .nav__i:hover at equal weight. */
.mxd .nav__i.on{background:var(--teal);color:#fff;font-weight:700;box-shadow:var(--sh-teal)}
[dir="rtl"] .mxd .nav__i.on{background:var(--teal)}
.mxd .nav__i.on .ms{background:transparent;color:#fff;box-shadow:none;font-variation-settings:"FILL" 1,"wght" 500,"opsz" 24}
.mxd .nav__i.on .nav__c{color:rgba(255,255,255,.88)}
.mxd .nav__i.on .nav__b{background:#fff;color:var(--teal-700)}
.mxd .nav__i .lbl{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .nav__c{font-size:13px;color:var(--muted);font-weight:600;font-variant-numeric:tabular-nums}
.mxd .nav__b{min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:var(--teal);color:var(--navy);font-size:12px;font-weight:700;display:grid;place-items:center;font-variant-numeric:tabular-nums}
.mxd .side__cta{padding:0 14px 6px}
.mxd .side__foot{border-top:1px solid var(--line);padding:8px 10px}
.mxd .main{display:flex;flex-direction:column;min-width:0;min-height:0;position:relative;background:radial-gradient(640px 300px at 100% 0,rgba(28,177,201,.08),rgba(28,177,201,0) 70%) no-repeat,var(--ground)}
[dir="rtl"] .mxd .main{background:radial-gradient(640px 300px at 0 0,rgba(28,177,201,.08),rgba(28,177,201,0) 70%) no-repeat,var(--ground)}
.mxd .top{flex:none;height:60px;display:flex;align-items:center;gap:10px;padding-inline:28px;background:transparent;border-bottom:1px solid transparent;position:relative;z-index:5}
.mxd .top.scrolled{border-bottom-color:var(--line)}
.mxd .top .top__menu{display:none}
.mxd .crumbs{display:flex;align-items:center;gap:4px;min-width:0;font-size:14px;color:var(--muted);font-weight:600}
.mxd .crumbs button{color:var(--muted);border:0;background:none;padding:4px 6px;border-radius:6px;font-weight:600;white-space:nowrap}
.mxd .crumbs button:hover{color:var(--ink);background:var(--sunken)}
.mxd .crumbs .ms{font-size:16px;color:var(--icon)}
[dir="rtl"] .mxd .crumbs .ms{transform:scaleX(-1)}
.mxd .crumbs .cur{color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-inline:6px}
.mxd .top__sp{flex:1}
.mxd .gsearch{display:flex;align-items:center;gap:8px;height:38px;width:min(320px,26vw);padding-inline:12px;border:1px solid var(--line-2);background:var(--surface);border-radius:var(--r-sm);color:var(--muted);font-size:14px;text-align:start}
.mxd .gsearch:hover{border-color:var(--control)}
.mxd .gsearch .ms{font-size:19px;color:var(--icon)}
.mxd .gsearch .t{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .kbd{font-size:12px;font-weight:600;color:var(--muted);border:1px solid var(--line-2);border-bottom-width:2px;border-radius:5px;padding:0 5px;background:var(--surface-2);white-space:nowrap;font-family:var(--f-mono)}
.mxd .iconbtn{width:38px;height:38px;display:grid;place-items:center;border-radius:var(--r-sm);border:1px solid transparent;background:transparent;color:var(--muted);position:relative;flex:none}
.mxd .iconbtn:hover{background:var(--surface);border-color:var(--line);color:var(--ink)}
.mxd .iconbtn .dot{position:absolute;top:8px;inset-inline-end:9px;width:8px;height:8px;border-radius:50%;background:var(--teal-500);box-shadow:0 0 0 2px var(--ground)}
.mxd .me{width:36px;height:36px;border-radius:50%;background:#DCE8EB;color:var(--teal-700);font-weight:700;font-size:12px;display:grid;place-items:center;border:0;flex:none}
.mxd .scroll{flex:1;min-height:0;overflow:auto;scroll-behavior:smooth}
.mxd .page{max-width:1240px;margin:0 auto;padding:8px 28px 48px;display:flex;flex-direction:column;gap:20px}
.mxd .page--wide{max-width:1440px}
.mxd .page.has-bulk{padding-bottom:110px}
.mxd .tabbar{display:none}
.mxd .ph{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;padding-top:16px}
.mxd .ph__txt{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:6px}
.mxd .ph__title{font-family:var(--f-display);font-weight:700;font-size:28px;line-height:1.15;color:var(--ink);letter-spacing:-.01em}
.mxd .ph__sub{color:var(--muted);font-size:14px;max-width:72ch}
.mxd .ph__act{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.mxd .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:var(--h);padding:0 14px;border-radius:var(--r-sm);border:1px solid var(--line-2);background:var(--surface);color:var(--ink-2);font-weight:600;font-size:14px;white-space:nowrap;transition:background-color .15s var(--ease),border-color .15s var(--ease),color .15s,box-shadow .15s var(--ease)}
.mxd .btn .ms{font-size:19px;color:var(--slate)}
.mxd .btn:hover{background:var(--surface-2);border-color:var(--control)}
.mxd .btn:active{transform:translateY(.5px)}
/* Primary button (2026-09-23, user request): white, with navy label and navy
   icon — the sidebar's own treatment. It still outranks a secondary button,
   through the navy edge and the heavier label rather than a fill: beside
   .btn's --line-2 hairline and --ink-2 label, the navy outline is what the
   eye lands on. Same height, padding, radius and hover motion as every other
   button. Open Motors is the one navy fill left in the console. */
.mxd .btn--primary{background:var(--surface);border-color:var(--navy-edge);color:var(--navy);font-weight:700;box-shadow:0 1px 2px rgba(11,19,37,.10)}
.mxd .btn--primary .ms{color:var(--navy)}
.mxd .btn--primary:hover{background:var(--hover);color:var(--navy);border-color:var(--navy-edge);box-shadow:0 8px 18px -12px rgba(11,19,37,.45)}
.mxd .btn--ghost{border-color:transparent;background:transparent;color:var(--text)}
.mxd .btn--ghost:hover{background:var(--sunken);border-color:transparent}
/* Icons in a coloured button take the button's own colour. */
.mxd .btn--danger .ms,.mxd .btn--danger-solid .ms{color:inherit}
/* Teal button (2026-09-23, user request): the Motors card's own #1CB1C9,
   carrying NAVY content — navy on teal is 7.2:1, white on it is 2.4:1, so the
   label and icon are navy and never white. Used for the listing's visibility
   and availability actions (Take out of archive, Mark as available / sold
   out), which are a seller's switches rather than a commitment; navy stays
   for the rest. */
/* Brand-teal button with WHITE content (2026-09-23, user request): Open
   Motors and Logout. Asked for explicitly, and noted here because white on
   #1CB1C9 is 2.4:1 — under the 4.5:1 text minimum — where the navy-on-teal
   button below is 7.2:1. Deepening the fill to --teal-600 would take white
   to 4.6:1 if we ever want it to pass. */
.mxd .btn--brand{background:var(--teal);border-color:var(--teal-500);color:#fff;box-shadow:0 1px 2px rgba(11,19,37,.18),inset 0 1px 0 rgba(255,255,255,.18)}
.mxd .btn--brand .ms{color:#fff}
.mxd .btn--brand:hover{background:var(--teal-500);color:#fff;border-color:var(--teal-600);box-shadow:var(--sh-teal)}
.mxd .btn--brand[disabled],.mxd .btn--brand.is-disabled{background:var(--sunken);border-color:var(--sunken)}

.mxd .btn--teal{background:linear-gradient(180deg,#2BC0D7 0%,#1CB1C9 100%);border-color:#179AAF;color:var(--navy);box-shadow:0 1px 2px rgba(11,19,37,.18),inset 0 1px 0 rgba(255,255,255,.28)}
.mxd .btn--teal .ms{color:var(--navy)}
.mxd .btn--teal:hover{background:linear-gradient(180deg,#1CB1C9 0%,#179AAF 100%);color:var(--navy);border-color:#0E7F91;box-shadow:var(--sh-teal)}
.mxd .btn--teal:disabled{opacity:.55}

.mxd .btn--danger{color:var(--red);border-color:var(--red-line)}
.mxd .btn--danger:hover{background:var(--red-bg);border-color:#DFA3AE}
.mxd .btn--danger-solid{background:var(--red);border-color:var(--red);color:#fff}
.mxd .btn--danger-solid:hover{background:#971D31;border-color:#971D31}
.mxd .btn--sm{height:var(--h-sm);padding:0 11px;font-size:13px;gap:5px}
.mxd .btn--sm .ms{font-size:17px}
.mxd .btn--lg{height:var(--h-lg);padding:0 18px;font-size:15px}
.mxd .btn--icon{width:var(--h);padding:0}
.mxd .btn--sm.btn--icon{width:var(--h-sm)}
.mxd .btn--block{width:100%}
.mxd .btn[disabled],.mxd .btn.is-disabled{background:var(--sunken);border-color:var(--sunken);color:#6F7B83;cursor:not-allowed;transform:none;box-shadow:none}
.mxd .btn[disabled] .ms,.mxd .btn.is-disabled .ms{color:inherit}
.mxd .spin{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;animation:mx-spin .7s linear infinite}
@keyframes mx-spin{to{transform:rotate(360deg)}}
.mxd .link{color:var(--teal-700);font-weight:600;font-size:14px;border:0;background:none;padding:0;display:inline-flex;align-items:center;gap:3px;white-space:nowrap;text-decoration:none;cursor:pointer}
.mxd .link:hover{text-decoration:underline;text-underline-offset:3px}
.mxd .link .ms{font-size:17px}
.mxd .fld{display:flex;flex-direction:column;gap:6px;min-width:0}
.mxd .lbl{font-size:13px;font-weight:600;color:var(--ink);display:flex;align-items:center;gap:6px}
.mxd .lbl-opt{font-weight:500;color:var(--muted);font-size:12px}
.mxd .lbl-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.mxd .req{color:var(--red)}
.mxd .hint{font-size:13px;color:var(--muted)}
.mxd .inp,.mxd .sel,.mxd .txa{width:100%;height:var(--h);border:1px solid var(--control);background:var(--surface);border-radius:var(--r-sm);padding:0 12px;font-size:15px;color:var(--ink);transition:border-color .15s,box-shadow .15s}
.mxd .inp::placeholder,.mxd .txa::placeholder{color:var(--faint)}
.mxd .inp:hover,.mxd .sel:hover,.mxd .txa:hover{border-color:var(--muted)}
.mxd .inp:focus,.mxd .sel:focus,.mxd .txa:focus{outline:none;border-color:var(--teal-500);box-shadow:0 0 0 3px rgba(28,177,201,.24)}
.mxd .sel{appearance:none;padding-inline-end:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%235E6A7D'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center;text-align:start}
[dir="rtl"] .mxd .sel{background-position:left 8px center}
.mxd .sel:disabled,.mxd .inp:disabled,.mxd .sel[disabled]{background-color:var(--sunken);border-color:var(--line-2);color:var(--muted);cursor:not-allowed}
.mxd .txa{height:auto;min-height:150px;padding:10px 12px;line-height:1.6;resize:vertical}
.mxd .is-err .inp,.mxd .is-err .sel,.mxd .is-err .txa{border-color:var(--red);box-shadow:0 0 0 3px rgba(179,38,61,.12)}
.mxd .is-err .seg,.mxd .is-err .tiles,.mxd .is-err .up-drop{box-shadow:0 0 0 1px var(--red),0 0 0 4px rgba(179,38,61,.12);border-radius:var(--r-md)}
.mxd .ferr{display:flex;align-items:center;gap:5px;color:var(--red);font-size:13px;font-weight:600}
.mxd .ferr .ms{font-size:16px}
.mxd .fwarn{display:flex;align-items:flex-start;gap:6px;color:var(--amber);font-size:13px;font-weight:600}
.mxd .fwarn .ms{font-size:17px}
.mxd .affix{position:relative;display:flex;align-items:stretch;direction:ltr}
.mxd .affix .inp{padding-inline-end:56px}
.mxd .affix .unit{position:absolute;right:1px;top:1px;bottom:1px;display:grid;place-items:center;min-width:44px;padding-inline:10px;color:var(--muted);font-weight:600;font-size:13px;border-left:1px solid var(--line);background:var(--surface-2);border-radius:0 7px 7px 0}
.mxd .affix--pre .inp{padding-inline-end:12px;padding-left:64px}
.mxd .affix--pre .unit{right:auto;left:1px;border-left:0;border-right:1px solid var(--line);border-radius:7px 0 0 7px}
.mxd .affix .unit .ms{font-size:18px}
.mxd .unit--btn{border:0;cursor:pointer}
.mxd .unit--btn:hover{color:var(--ink)}
.mxd .inp.num{font-variant-numeric:tabular-nums}
.mxd .inp.lg{font-size:17px;font-weight:600}
.mxd .combo__btn{display:flex;align-items:center;gap:10px;text-align:start}
.mxd .combo__logo{width:26px;height:26px;border-radius:7px;background:var(--sunken);display:grid;place-items:center;font-size:12px;font-weight:700;color:var(--slate);flex:none}
.mxd .cbx{appearance:none;width:18px;height:18px;flex:none;border:1.5px solid var(--control);border-radius:5px;background:var(--surface);display:inline-grid;place-items:center;margin:0;cursor:pointer;vertical-align:middle}
.mxd .cbx:checked,.mxd .cbx:indeterminate{background:var(--teal);border-color:var(--teal-500)}
.mxd .cbx:checked::after{content:"";width:9px;height:5px;border:2px solid var(--navy);border-top:0;border-right:0;transform:rotate(-45deg) translate(1px,-1px)}
.mxd .cbx:indeterminate::after{content:"";width:8px;height:2px;background:var(--navy);border-radius:2px}
.mxd .check{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:var(--text);cursor:pointer}
.mxd .check .cbx{margin-top:1px}
.mxd .check > span{display:flex;flex-direction:column;gap:1px}
.mxd .seg{display:inline-flex;flex-wrap:wrap;gap:4px;padding:3px;border:1px solid var(--line-2);border-radius:var(--r-sm);background:var(--surface-2);align-self:flex-start;max-width:100%}
.mxd .seg button{border:0;background:transparent;height:32px;padding:0 12px;border-radius:6px;font-weight:600;font-size:14px;color:var(--text);display:flex;align-items:center;gap:6px;white-space:nowrap}
.mxd .seg button .ms{font-size:18px;color:var(--icon)}
.mxd .seg button:hover{background:var(--surface);color:var(--ink)}
.mxd .seg button.on{background:var(--teal-50);color:var(--teal-700);box-shadow:inset 0 0 0 1px var(--teal-500)}
.mxd .seg button.on .ms{color:var(--teal-600)}
.mxd .seg--sm button{height:28px;font-size:13px;padding:0 10px}
.mxd .tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.mxd .tile{border:1px solid var(--line-2);background:var(--surface);border-radius:var(--r-md);padding:10px 6px 8px;display:flex;flex-direction:column;align-items:center;gap:4px;font-weight:600;font-size:13px;color:var(--text);min-width:0}
.mxd .tile svg{width:60px;height:26px;color:var(--icon)}
.mxd .tile:hover{border-color:var(--control)}
.mxd .tile.on{border-color:var(--teal-500);box-shadow:inset 0 0 0 1px var(--teal-500);background:var(--teal-50);color:var(--teal-700)}
.mxd .tile.on svg{color:var(--teal-600)}
.mxd .sw{display:flex;flex-wrap:wrap;gap:8px}
.mxd .sw button{display:flex;align-items:center;gap:8px;height:36px;padding:0 12px 0 6px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);font-size:13px;font-weight:600;color:var(--text)}
[dir="rtl"] .mxd .sw button{padding:0 6px 0 12px}
.mxd .sw i{width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(11,19,37,.2);display:block}
.mxd .sw button:hover{border-color:var(--control)}
.mxd .sw button.on{border-color:var(--teal-500);box-shadow:inset 0 0 0 1px var(--teal-500);background:var(--teal-50);color:var(--teal-700)}
.mxd .chip{display:inline-flex;align-items:center;gap:6px;height:var(--h-sm);padding:0 12px;border-radius:999px;border:1px solid var(--line-2);background:var(--surface);font-weight:600;font-size:13px;color:var(--text);white-space:nowrap}
.mxd .chip .ms{font-size:17px;color:var(--icon)}
.mxd .chip:hover{border-color:var(--control);color:var(--ink)}
.mxd .chip.on{background:var(--teal-50);border-color:var(--teal-500);box-shadow:inset 0 0 0 1px var(--teal-500);color:var(--teal-700)}
.mxd .chip.on .ms{color:var(--teal-600)}
.mxd .chip__n{font-variant-numeric:tabular-nums;opacity:.8}
.mxd .switch{position:relative;flex:none;width:40px;height:24px;border-radius:999px;border:0;padding:0;background:#97A1B1;transition:background-color .18s var(--ease)}
.mxd .switch__k{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(11,19,37,.3);transition:transform .18s var(--ease)}
.mxd .switch[aria-checked="true"]{background:var(--teal-500)}
.mxd .switch[aria-checked="true"] .switch__k{transform:translateX(16px)}
[dir="rtl"] .mxd .switch{transform:scaleX(-1)}
.mxd .fgrp{display:inline-flex;align-items:stretch;height:var(--h);border-radius:var(--r-sm);border:1px dashed var(--control);background:transparent;white-space:nowrap;flex:none}
.mxd .fgrp:hover{border-style:solid;background:var(--surface)}
.mxd .fgrp.set{border:1px solid var(--teal-500);background:var(--teal-50)}
.mxd .fbtn{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;padding:0 12px;font-weight:600;font-size:14px;color:var(--text);border-radius:inherit}
.mxd .fbtn .ms{font-size:18px;color:var(--icon)}
.mxd .fgrp.set .fbtn{color:var(--teal-700);padding-inline-end:6px}
.mxd .fgrp.set .fbtn .ms{color:var(--teal-600)}
.mxd .fbtn b{font-weight:700}
.mxd .fx{display:grid;place-items:center;width:30px;border:0;background:transparent;color:var(--teal-700);border-radius:0 7px 7px 0}
[dir="rtl"] .mxd .fx{border-radius:7px 0 0 7px}
.mxd .fx:hover{background:rgba(28,177,201,.16)}
.mxd .fx .ms{font-size:16px}
.mxd .pill{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px 0 8px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;line-height:1}
[dir="rtl"] .mxd .pill{padding:0 8px 0 10px}
.mxd .pill i{width:7px;height:7px;border-radius:50%;background:currentColor;flex:none}
.mxd .pill .ms{font-size:15px}
.mxd .st-live{background:var(--green-bg);color:var(--green)}
.mxd .st-review{background:var(--amber-bg);color:var(--amber)}
.mxd .st-review i{background:transparent;box-shadow:inset 0 0 0 2px currentColor}
.mxd .st-draft{background:var(--slate-bg);color:var(--slate)}
.mxd .st-draft i{background:transparent;box-shadow:inset 0 0 0 1.5px currentColor;border-radius:2px}
.mxd .st-rejected{background:var(--red-bg);color:var(--red)}
.mxd .st-expired{background:var(--brown-bg);color:var(--brown)}
.mxd .st-sold{background:var(--indigo-bg);color:var(--indigo)}
/* "Active / Sold out" in one pill: the slash is quieter than the words it
   separates, so the two halves still read as two facts. */
.mxd .pill.is-sold em{font-style:normal;opacity:.5;margin:0 1px;font-weight:600}
.mxd .st-archived,.mxd .st-plain{background:transparent;color:var(--muted);box-shadow:inset 0 0 0 1px var(--line-2)}
.mxd .st-archived i{border-radius:2px}
.mxd .tag{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:var(--slate);height:22px;padding:0 8px;border-radius:6px;background:var(--sunken);white-space:nowrap}
.mxd .tag .ms{font-size:14px}
.mxd .tag--teal{background:var(--teal-50);color:var(--teal-700)}
.mxd .tag--amber{background:var(--amber-bg);color:var(--amber)}
.mxd .tag--red{background:var(--red-bg);color:var(--red)}
.mxd .tag--green{background:var(--green-bg);color:var(--green)}
.mxd .tag--feat{background:#FFF4D6;color:#7A5200}
.mxd .tag--feat .ms{color:#C58A00}
.mxd .card,.mxd .surface{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);min-width:0}
.mxd .card__h{display:flex;align-items:center;gap:10px;padding:16px 18px 0;flex-wrap:wrap}
.mxd .card__t{font-weight:700;color:var(--ink);font-size:15px}
.mxd .card__s{color:var(--muted);font-size:13px}
.mxd .card__b{padding:14px 18px 18px}
.mxd .card__sp{flex:1}
.mxd .surface__h{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.mxd .surface__h--col{flex-direction:column;align-items:stretch}
.mxd .surface__hint{color:var(--muted);font-size:13px;max-width:70ch;flex:1 1 320px}
.mxd .divider{height:1px;background:var(--line);border:0;margin:0}
.mxd .subt{font-size:14px;font-weight:700;color:var(--ink)}
.mxd .subt-row{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.mxd .thumb{position:relative;width:88px;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:var(--sunken);flex:none;max-width:100%}
.mxd .thumb svg{display:block;width:100%;height:100%}
.mxd .thumb__n{position:absolute;inset-inline-end:4px;bottom:4px;background:rgba(11,19,37,.8);color:#fff;font-size:12px;font-weight:600;border-radius:5px;padding:1px 8px;display:flex;align-items:center;gap:2px;line-height:18px}
.mxd .thumb__n .ms{font-size:13px}
.mxd .thumb--none{display:grid;place-items:center;color:var(--icon);border:1px dashed var(--line-2);background:var(--surface-2)}
.mxd .thumb--none .ms{font-size:22px}
.mxd .banner{display:flex;gap:12px;padding:12px 14px;border-radius:var(--r-md);align-items:flex-start;flex-wrap:wrap}
.mxd .banner > .ms{font-size:20px;margin-top:1px}
.mxd .banner > div{flex:1 1 240px;min-width:0}
.mxd .banner--err{background:var(--red-bg);color:#7D1A2B}
.mxd .banner--err > .ms{color:var(--red)}
.mxd .banner--info{background:var(--teal-50);color:var(--ink);box-shadow:inset 0 0 0 1px var(--teal-100)}
.mxd .banner--info > .ms{color:var(--teal-600)}
.mxd .banner--warn{background:var(--amber-bg);color:#5C3304}
.mxd .banner--warn > .ms{color:var(--amber)}
.mxd .banner__t{font-weight:700}
.mxd .banner__d{font-size:13px;margin-top:2px}
.mxd .banner__a{flex:none;align-self:center}
.mxd .empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:52px 24px}
.mxd .empty__ic{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:var(--sunken);color:var(--muted);margin-bottom:4px}
.mxd .empty__ic .ms{font-size:26px}
.mxd .empty__ic--ok{background:var(--green-bg);color:var(--green)}
.mxd .empty__ic--teal{background:var(--teal);color:var(--navy);box-shadow:var(--sh-teal);border-radius:16px}
.mxd .empty__art{width:120px;height:72px;margin-bottom:4px;color:#C2CAD6}
.mxd .empty__t{font-weight:700;font-size:18px;color:var(--ink)}
.mxd .empty__d{color:var(--muted);max-width:46ch}
.mxd .empty .btn{margin-top:6px}
.mxd .skel{background:linear-gradient(90deg,#E8ECF2 0%,#F4F6F9 40%,#E8ECF2 80%);background-size:200% 100%;animation:mx-shim 1.3s linear infinite;border-radius:6px;display:block;max-width:100%}
@keyframes mx-shim{to{background-position:-200% 0}}
.mxd .kv{display:flex;flex-direction:column}
.mxd .kv__r{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--line);font-size:14px}
.mxd .kv__r:first-child{border-top:0}
.mxd .kv__k{color:var(--muted)}
.mxd .kv__v{color:var(--ink);font-weight:600;text-align:end}
.mxd .readonly{display:flex;align-items:center;gap:8px;min-height:var(--h);padding:0 12px;border-radius:var(--r-sm);background:var(--sunken);color:var(--ink);font-weight:600}
.mxd .readonly .ms{font-size:18px;color:var(--icon)}
.mxd .readonly--ok{background:var(--green-bg);color:var(--green)}
.mxd .readonly--ok .ms{color:var(--green)}
.mxd .readonly--muted{color:var(--muted);font-weight:500}
.mxd .price{font-weight:700;color:var(--ink);font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap;direction:ltr;unicode-bidi:isolate}
.mxd .price small{font-size:12px;color:var(--muted);font-weight:600;margin-left:4px}
.mxd .price--none{color:var(--muted);font-size:13px;font-weight:500;white-space:nowrap}
.mxd .progress{height:6px;border-radius:999px;background:var(--sunken);overflow:hidden}
.mxd .progress span{display:block;height:100%;background:linear-gradient(90deg,var(--teal-500),var(--teal));border-radius:999px;transform-origin:left}
.mxd .progress--time span{background:var(--slate)}
.mxd .ov-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:stretch}
.mxd .attn{display:flex;flex-direction:column;margin-top:6px}
.mxd .attn__i{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 18px;border-top:1px solid var(--line)}
.mxd .attn__i:first-child{border-top:0}
.mxd .attn__ic{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;flex:none}
.mxd .attn__ic .ms{font-size:20px}
.mxd .attn__t{font-weight:700;color:var(--ink)}
.mxd .attn__d{color:var(--muted);font-size:13px}
.mxd .attn__i .btn{min-width:124px}
.mxd .kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.mxd .kpi{padding:16px 18px;display:flex;flex-direction:column;gap:4px;border-inline-start:1px solid var(--line);min-width:0}
.mxd .kpi:first-child{border-inline-start:0}
.mxd .kpi__l{font-size:13px;font-weight:600;color:var(--muted)}
.mxd .kpi__v{font-weight:700;font-size:26px;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.01em;line-height:1.15}
.mxd .kpi__v small{font-size:14px;color:var(--muted);font-weight:600;margin-inline-start:4px}
.mxd .kpi__d{font-size:13px;color:var(--muted)}
.mxd .up{color:var(--green);font-weight:700}
.mxd .chart{width:100%;height:auto;display:block;overflow:visible}
.mxd .chart text{fill:var(--muted);font-size:12px;font-family:var(--f-ui);direction:ltr}
.mxd .chart .hit{fill:transparent}
.mxd .chart .hit:hover + .dotv{opacity:1}
.mxd .chart .dotv{opacity:0;transition:opacity .12s}
.mxd .legend{display:flex;gap:14px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.mxd .legend span{display:flex;align-items:center;gap:6px;white-space:nowrap}
.mxd .legend i{width:16px;height:3px;border-radius:2px;background:var(--teal-500)}
.mxd .legend i.prev{background:repeating-linear-gradient(90deg,#8893A3 0 4px,transparent 4px 7px)}
.mxd .pipe{display:flex;height:10px;border-radius:999px;overflow:hidden;gap:2px}
.mxd .pipe span{display:block;height:100%}
.mxd .pipe-l{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 20px;margin-top:14px}
.mxd .pipe-l button{display:flex;align-items:center;gap:8px;border:0;background:none;padding:6px 4px;font-size:14px;color:var(--text);text-align:start;border-radius:6px}
.mxd .pipe-l button:hover{background:var(--hover)}
.mxd .pipe-l i{width:10px;height:10px;border-radius:3px;flex:none}
.mxd .pipe-l .n{font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;margin-inline-start:2px}
.mxd .mini{display:flex;flex-direction:column;margin-top:8px}
.mxd .mini__i{display:flex;align-items:center;gap:12px;padding:10px 18px;border:0;border-top:1px solid var(--line);background:none;text-align:start;width:100%;color:inherit}
.mxd .mini__i:first-child{border-top:0}
.mxd .mini__i:hover{background:var(--hover)}
.mxd .mini .thumb{width:64px;border-radius:6px}
.mxd .mini__t{font-weight:700;color:var(--ink);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.mxd .mini__d{color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.mxd .col{display:flex;flex-direction:column;gap:20px;min-width:0}
.mxd .stabs{display:flex;gap:2px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none;align-items:stretch}
.mxd .stabs::-webkit-scrollbar{display:none}
.mxd .stab{border:0;background:transparent;display:flex;align-items:center;gap:7px;height:44px;padding:0 12px;font-weight:600;color:var(--muted);font-size:14px;position:relative;white-space:nowrap;flex:none}
.mxd .stab:hover{color:var(--ink)}
.mxd .stab .c{font-size:13px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.mxd .stab.on{color:var(--ink);font-weight:700}
.mxd .stab.on::after{content:"";position:absolute;inset-inline:8px;bottom:-1px;height:2px;background:linear-gradient(90deg,var(--teal-500),var(--teal));border-radius:2px}
.mxd .stab.on .c{color:var(--teal-700)}
.mxd .stab .alert{width:7px;height:7px;border-radius:50%;background:var(--red)}
.mxd .stabs-row{display:flex;align-items:flex-end;gap:12px;border-bottom:1px solid var(--line)}
.mxd .stabs-row .stabs{border-bottom:0;flex:1;min-width:0}
.mxd .stabs-row__end{display:flex;align-items:center;gap:8px;padding-bottom:6px;flex:none}
.mxd .tbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.mxd .search{position:relative;flex:0 1 360px;min-width:220px;display:block}
.mxd .search > .ms{position:absolute;top:50%;left:12px;transform:translateY(-50%);font-size:19px;color:var(--icon);pointer-events:none}
[dir="rtl"] .mxd .search > .ms{left:auto;right:12px}
.mxd .search .inp{padding-inline-start:40px;font-size:14px}
.mxd .search .clr{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:28px;height:28px;border-radius:6px;border:0;background:transparent;color:var(--muted);display:grid;place-items:center}
[dir="rtl"] .mxd .search .clr{right:auto;left:6px}
.mxd .search .clr .ms{font-size:17px}
.mxd .search .clr:hover{background:var(--sunken)}
.mxd .search--full{flex:1 1 auto;min-width:0;max-width:none}
.mxd .search--sm .inp{height:var(--h-sm);font-size:13px}
.mxd .fscroll{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.mxd .sortsel{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--muted)}
.mxd .sortsel .sel{height:var(--h-sm);width:auto;font-size:13px;font-weight:600;border-color:var(--line-2)}
.mxd .viewtog{display:flex;border:1px solid var(--line-2);border-radius:var(--r-sm);overflow:hidden;background:var(--surface)}
.mxd .viewtog button{border:0;background:transparent;width:32px;height:30px;display:grid;place-items:center;color:var(--muted)}
.mxd .viewtog button + button{border-inline-start:1px solid var(--line-2)}
.mxd .viewtog button.on{background:var(--teal-50);color:var(--teal-700)}
.mxd .viewtog .ms{font-size:18px}
.mxd .fsum{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--muted);min-height:20px}
.mxd .tblw{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.mxd .tblscroll{overflow-x:auto}
.mxd table.tbl{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}
.mxd .tbl th{background:var(--surface-2);text-align:start;font-size:13px;font-weight:600;color:var(--muted);padding:0 14px;height:42px;border-bottom:1px solid var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .tbl th button{border:0;background:none;padding:0;font:inherit;color:inherit;display:inline-flex;align-items:center;gap:3px}
.mxd .tbl th button:hover{color:var(--ink)}
.mxd .tbl th button .ms{font-size:15px}
.mxd .tbl th.r,.mxd .tbl td.r{text-align:end}
.mxd .tbl td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:middle;overflow:hidden}
.mxd .tbl tr:last-child td{border-bottom:0}
.mxd .tbl tbody tr{transition:background-color .12s}
.mxd .tbl tbody tr[data-a]:hover{background:var(--hover);cursor:pointer}
.mxd .tbl tbody tr.sel{background:#F0F9FB}
.mxd .tbl .cb{width:48px;padding-inline-end:0}
.mxd .tbl td.act,.mxd .tbl th.act{position:sticky;inset-inline-end:0;background:var(--surface);width:60px;padding-inline:8px;text-align:end;box-shadow:-1px 0 0 var(--line)}
[dir="rtl"] .mxd .tbl td.act,[dir="rtl"] .mxd .tbl th.act{box-shadow:1px 0 0 var(--line)}
.mxd .tbl th.act{background:var(--surface-2)}
.mxd .tbl tbody tr:hover td.act{background:var(--hover)}
.mxd .tbl tbody tr.sel td.act{background:#F0F9FB}
.mxd .veh{display:flex;align-items:center;gap:14px;min-width:0}
.mxd .veh > div{min-width:0}
.mxd .veh__t{font-weight:700;color:var(--ink);font-size:14px;display:flex;align-items:center;gap:6px;min-width:0}
.mxd .veh__t bdi{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .veh__trim{font-weight:500;color:var(--muted)}
.mxd .veh__m{color:var(--muted);font-size:13px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .stcell{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.mxd .stcell__n{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.mxd .stcell__n.warn{color:var(--amber);font-weight:600}
.mxd .stcell__n.err{color:var(--red);font-weight:600}
.mxd .stcell__n.ok{color:var(--teal-700);font-weight:600}
.mxd .stcell .link{font-size:13px}
.mxd .perf{display:flex;flex-direction:column;gap:3px;font-size:13px;color:var(--text);min-width:0}
.mxd .perf__main{white-space:nowrap}
.mxd .perf__main b{color:var(--ink);font-weight:700}
.mxd .perf__rate{display:flex;align-items:center;gap:6px;color:var(--muted);white-space:nowrap}
.mxd .perf--none{color:var(--muted);font-size:13px}
.mxd .when{color:var(--muted);font-size:13px;white-space:nowrap}
.mxd .tfoot{display:flex;align-items:center;gap:12px;padding:10px 14px;border-top:1px solid var(--line);background:var(--surface-2);flex-wrap:wrap;font-size:13px;color:var(--muted)}
.mxd .pager{display:flex;align-items:center;gap:4px;margin-inline-start:auto}
.mxd .pager button{min-width:36px;height:36px;border-radius:8px;border:1px solid transparent;background:transparent;font-weight:600;color:var(--text);display:grid;place-items:center;font-size:13px}
.mxd .pager button:hover:not([disabled]){background:var(--surface);border-color:var(--line)}
.mxd .pager button.on{background:var(--teal-50);border-color:var(--teal-500);color:var(--teal-700);font-weight:700}
.mxd .pager button[disabled]{opacity:.4;cursor:not-allowed}
.mxd .pager .ms{font-size:18px}
.mxd .bulk{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;background:var(--navy-fill);color:#fff;border-radius:12px;padding:6px 6px 6px 16px;box-shadow:var(--sh-pop),inset 0 0 0 1px rgba(28,177,201,.2);z-index:20;white-space:nowrap}
[dir="rtl"] .mxd .bulk{padding:6px 16px 6px 6px}
.mxd .bulk b{font-variant-numeric:tabular-nums;color:var(--teal)}
.mxd .bulk .btn{height:34px;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.12);color:#fff;font-size:13px}
.mxd .bulk .btn .ms{color:var(--teal)}
.mxd .bulk .btn:hover{background:rgba(255,255,255,.13);border-color:rgba(28,177,201,.5)}
.mxd .bulk .btn--x{background:transparent;border-color:transparent;color:var(--navy-soft)}
.mxd .bulk .btn--x .ms{color:inherit}
.mxd .bulk .btn--x:hover{background:rgba(255,255,255,.1);border-color:transparent;color:#fff}
.mxd .bulk .sep{width:1px;height:20px;background:rgba(255,255,255,.14);margin-inline:4px}
.mxd .bulk__note{font-size:13px;color:var(--navy-soft);padding-inline:6px}
.mxd .grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.mxd .vcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;display:flex;flex-direction:column;text-align:start;padding:0;color:inherit;transition:box-shadow .18s var(--ease),border-color .18s}
.mxd .vcard:hover{box-shadow:var(--sh-2);border-color:var(--line-2)}
.mxd .vcard__img{position:relative;aspect-ratio:16/10;background:var(--sunken);max-width:100%}
.mxd .vcard__img svg{width:100%;height:100%;display:block}
.mxd .vcard__img .pill{position:absolute;top:10px;inset-inline-start:10px;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.mxd .vcard__img .st-archived{background:#fff}
.mxd .vcard__b{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px}
.mxd .vcard__row{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.mxd .cardlist{display:none;flex-direction:column;gap:10px}
.mxd .mrow{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px;text-align:start;width:100%;color:inherit}
.mxd .mrow .thumb{width:96px}
.mxd .mrow--flat{display:flex;align-items:flex-start;gap:12px;padding:14px}
.mxd .mrow__t{font-weight:700;color:var(--ink);font-size:15px;line-height:1.3;display:block}
.mxd .mrow__m{font-size:13px;color:var(--muted);margin-top:2px;display:block}
.mxd .mrow__n{font-size:13px;margin-top:4px;display:block}
.mxd .mrow__f{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;flex-wrap:wrap}
.mxd .mfoot{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--muted);padding-top:4px}
.mxd .ed{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.mxd .ed__main{display:flex;flex-direction:column;gap:16px;min-width:0}
.mxd .sec{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);scroll-margin-top:12px}
.mxd .sec__h{display:flex;align-items:center;gap:12px;padding:18px 22px 0}
.mxd .sec__t{font-weight:700;font-size:17px;color:var(--ink)}
.mxd .sec__s{color:var(--muted);font-size:13px;margin-top:2px}
.mxd .sec__b{padding:18px 22px 22px;display:flex;flex-direction:column;gap:20px}
.mxd .sec__need{font-size:13px;font-weight:600;color:var(--muted);white-space:nowrap}
.mxd .sec__need.err{color:var(--red)}
.mxd .g12{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px}
.mxd .c2{grid-column:span 2}
.mxd .c3{grid-column:span 3}
.mxd .c4{grid-column:span 4}
.mxd .c5{grid-column:span 5}
.mxd .c6{grid-column:span 6}
.mxd .c7{grid-column:span 7}
.mxd .c8{grid-column:span 8}
.mxd .c9{grid-column:span 9}
.mxd .c12{grid-column:span 12}
/* Text a seller typed, shown as typed (the listing description, in the
   editor and wherever it is read): every line takes the direction of its own
   words, so Arabic reads right to left and English left to right on either
   page language. An empty box and its placeholder follow the page; a line
   with no letters at all (a lone "2019") reads left to right. Measured in
   Edge 2026-09-21. */
.mxd .bidi-plain{unicode-bidi:plaintext;text-align:start}
.mxd .txa-foot{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;font-size:13px;color:var(--muted);margin-top:6px}
.mxd .txa-foot .count{white-space:nowrap;font-variant-numeric:tabular-nums}
.mxd .up-drop{position:relative;border:1.5px dashed var(--control);border-radius:var(--r-lg);background:var(--surface-2);padding:30px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;transition:border-color .15s,background .15s}
.mxd .up-drop:hover,.mxd .up-drop.drag{border-color:var(--teal-500);background:var(--teal-50)}
.mxd .up-drop__ic{width:52px;height:52px;border-radius:16px;background:var(--teal);box-shadow:var(--sh-teal);display:grid;place-items:center;color:var(--navy);margin-bottom:4px}
.mxd .up-drop__ic .ms{font-size:28px}
.mxd .up-drop__t{font-weight:700;color:var(--ink);font-size:15px}
.mxd .up-drop__t button{border:0;background:none;padding:0;color:var(--teal-700);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.mxd .up-drop__d{color:var(--muted);font-size:13px}
.mxd .up-drop--slim{flex-direction:row;padding:12px 16px;gap:12px;text-align:start;justify-content:flex-start}
.mxd .up-drop--slim .up-drop__ic{width:40px;height:40px;border-radius:12px;margin:0;box-shadow:0 4px 10px -5px rgba(28,177,201,.65)}
.mxd .up-drop--slim .up-drop__ic .ms{font-size:22px}
.mxd .up-drop--slim .up-drop__t{font-size:14px}
.mxd .up-drop__meter{margin-inline-start:auto;display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:120px}
.mxd .up-meter{width:120px;height:6px;border-radius:999px;background:var(--line);overflow:hidden}
.mxd .up-meter span{display:block;height:100%;background:linear-gradient(90deg,var(--teal-500),var(--teal));border-radius:999px}
.mxd .up-count{font-size:13px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.mxd .shots{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.mxd .shot{position:relative;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:var(--sunken);border:1px solid var(--line);max-width:100%}
.mxd .shot svg,.mxd .shot img{width:100%;height:100%;display:block;object-fit:cover}
.mxd .shot.cover{grid-column:span 2;grid-row:span 2;border:2px solid var(--teal-500)}
.mxd .shot.dragging{opacity:.45}
.mxd .shot.over{box-shadow:0 0 0 2px var(--teal),0 12px 24px -12px rgba(11,19,37,.4)}
.mxd .shot__cover{position:absolute;top:8px;inset-inline-start:8px;display:flex;align-items:center;gap:4px;background:var(--teal);color:var(--navy);font-size:12px;font-weight:700;padding:3px 8px 3px 6px;border-radius:6px}
.mxd .shot__cover .ms{font-size:14px}
.mxd .shot__idx{position:absolute;top:6px;inset-inline-start:6px;min-width:22px;height:22px;padding:0 6px;border-radius:6px;background:rgba(255,255,255,.94);color:var(--ink);font-size:12px;font-weight:700;display:grid;place-items:center;font-variant-numeric:tabular-nums}
.mxd .shot__grip{position:absolute;top:6px;inset-inline-end:6px;width:32px;height:32px;border-radius:7px;border:0;background:rgba(255,255,255,.94);display:grid;place-items:center;color:var(--muted);cursor:grab;opacity:0;transition:opacity .15s}
.mxd .shot__grip .ms{font-size:18px}
.mxd .shot__acts{position:absolute;inset-inline:6px;bottom:6px;display:flex;gap:4px;justify-content:flex-end;opacity:0;transition:opacity .15s}
.mxd .shot:hover .shot__acts,.mxd .shot:hover .shot__grip,.mxd .shot:focus-within .shot__acts,.mxd .shot:focus-within .shot__grip{opacity:1}
@media (hover:none){
  .mxd .shot__acts,.mxd .shot__grip{opacity:1}
}
.mxd .shot__b{height:32px;min-width:32px;padding:0 8px;border-radius:7px;border:0;background:rgba(11,19,37,.8);color:#fff;display:flex;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:600}
.mxd .shot__b .ms{font-size:17px}
.mxd .shot__b:hover{background:var(--ink)}
.mxd .shot__b.danger:hover{background:var(--red)}
.mxd .shot__prog{position:absolute;inset:0;background:rgba(243,245,248,.76);display:flex;flex-direction:column;justify-content:flex-end;padding:10px;gap:6px}
.mxd .shot__prog b{font-size:12px;color:var(--ink);font-variant-numeric:tabular-nums}
.mxd .shot__bar{height:4px;border-radius:999px;background:rgba(11,19,37,.14);overflow:hidden}
.mxd .shot__bar span{display:block;height:100%;width:100%;background:linear-gradient(90deg,var(--teal-500),var(--teal));border-radius:999px;transform-origin:left;transition:transform .2s linear}
[dir="rtl"] .mxd .shot__bar span{transform-origin:right}
.mxd .shot--err{border-color:var(--red-line);background:#FDF4F6}
.mxd .shot__errw{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;padding:8px;color:var(--red);font-size:12px;font-weight:600}
.mxd .shot__errw .ms{font-size:22px}
.mxd .shot__errw .fn{color:var(--muted);font-weight:500;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .shot--add{border:1.5px dashed var(--control);background:var(--surface-2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--teal-700);font-weight:700;font-size:13px}
.mxd .shot--add:hover{border-color:var(--teal-500);background:var(--teal-50)}
.mxd .shot--add .ms{font-size:24px}
.mxd .shot--hint{border:1.5px dashed var(--line-2);background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--muted);font-size:12px;font-weight:600;text-align:center;padding:6px}
.mxd .shot--hint .ms{font-size:20px;color:var(--icon)}
.mxd .rail{position:sticky;top:12px;display:flex;flex-direction:column;gap:14px}
.mxd .prev{overflow:hidden}
.mxd .prev__img{aspect-ratio:16/10;background:var(--sunken);position:relative;max-width:100%;border-radius:10px;overflow:hidden}
.mxd .prev__img svg,.mxd .prev__img img{width:100%;height:100%;display:block;object-fit:cover}
.mxd .prev__none{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);text-align:center;font-size:13px}
.mxd .prev__none .ms{font-size:28px;display:block;margin:0 auto 4px;color:var(--icon)}
.mxd .prev__b{padding:12px 16px 16px;display:flex;flex-direction:column;gap:3px}
.mxd .checks{display:flex;flex-direction:column;gap:2px;padding:6px 8px 8px}
.mxd .checks button{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:8px;border-radius:8px;text-align:start;font-size:14px;color:var(--text);font-weight:600}
.mxd .checks button:hover{background:var(--hover)}
.mxd .checks .ci{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;flex:none}
.mxd .checks .ci .ms{font-size:14px;font-variation-settings:"wght" 700}
.mxd .checks .ok .ci{background:var(--teal);color:var(--navy)}
.mxd .checks .miss .ci{box-shadow:inset 0 0 0 1.5px var(--control)}
.mxd .checks .miss.err .ci{box-shadow:inset 0 0 0 2px var(--red)}
.mxd .checks .optl .ci{box-shadow:inset 0 0 0 1.5px var(--line-2)}
.mxd .checks .val{margin-inline-start:auto;font-size:13px;color:var(--muted);font-weight:500;white-space:nowrap}
.mxd .checks .miss .val{color:var(--ink);font-weight:600}
.mxd .checks .miss.err .val{color:var(--red)}
.mxd .life{display:flex;align-items:flex-start}
.mxd .life__s{display:flex;flex-direction:column;align-items:center;gap:6px;flex:1;position:relative;font-size:12px;font-weight:600;color:var(--muted);text-align:center;min-width:0}
.mxd .life__s::before{content:"";position:absolute;top:6px;inset-inline-start:-50%;width:100%;height:2px;background:var(--line-2)}
.mxd .life__s:first-child::before{display:none}
.mxd .life__d{width:14px;height:14px;border-radius:50%;background:var(--surface);box-shadow:inset 0 0 0 2px var(--control);position:relative;z-index:1}
.mxd .life__s.done .life__d{background:var(--teal-500);box-shadow:none}
.mxd .life__s.done::before,.mxd .life__s.now::before{background:var(--teal-500)}
.mxd .life__s.now{color:var(--ink)}
.mxd .life__s.now .life__d{box-shadow:inset 0 0 0 4px var(--teal-500)}
.mxd .life__s.bad{color:var(--red)}
.mxd .life__s.bad .life__d{box-shadow:inset 0 0 0 4px var(--red)}
.mxd .actbar{position:sticky;bottom:0;z-index:6;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-top:1px solid var(--line);box-shadow:0 -8px 24px -18px rgba(11,19,37,.3)}
.mxd .actbar__in{max-width:1240px;margin:0 auto;padding:12px 28px;display:flex;align-items:center;gap:10px}
.mxd .actbar__st{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);min-width:0}
.mxd .actbar__st .ms{font-size:18px;color:var(--green)}
.mxd .actbar__st .pulse{width:8px;height:8px;border-radius:50%;background:#D08A1C;flex:none}
.mxd .actbar__prog{display:none}
.mxd .actbar__sp{flex:1}
.mxd .dt{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.mxd .dt__main{display:flex;flex-direction:column;gap:20px;min-width:0}
.mxd .dt__side{display:flex;flex-direction:column;gap:16px;position:sticky;top:12px;min-width:0}
.mxd .dt-head{display:flex;gap:16px;align-items:flex-end;flex-wrap:wrap;padding-top:16px}
.mxd .dt-head__t{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:8px}
.mxd .dt-title{font-family:var(--f-display);font-weight:700;font-size:28px;line-height:1.15;color:var(--ink);letter-spacing:-.01em;text-wrap:balance}
.mxd .dt-title .yr{font-weight:500;color:var(--muted);margin-inline-end:8px}
.mxd .dt-title .trim{font-weight:500;color:var(--muted)}
.mxd .dt-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.mxd .dt-meta .sep{width:3px;height:3px;border-radius:50%;background:var(--icon)}
.mxd .gal{display:grid;gap:10px}
.mxd .gal__main{position:relative;aspect-ratio:16/9;border-radius:var(--r-lg);overflow:hidden;background:var(--sunken);max-width:100%}
.mxd .gal__main > svg{width:100%;height:100%;display:block}
.mxd .gal__nav{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.94);box-shadow:var(--sh-2);display:grid;place-items:center;color:var(--ink)}
.mxd .gal__nav.p{inset-inline-start:12px}
.mxd .gal__nav.n{inset-inline-end:12px}
.mxd .gal__cnt{position:absolute;bottom:12px;inset-inline-end:12px;background:rgba(11,19,37,.76);color:#fff;font-size:12px;font-weight:600;padding:4px 9px;border-radius:999px;font-variant-numeric:tabular-nums}
.mxd .gal__none{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:var(--muted);text-align:center}
.mxd .gal__none .ms{font-size:32px;color:var(--icon)}
.mxd .gal__strip{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
.mxd .gal__t{position:relative;aspect-ratio:4/3;border-radius:8px;overflow:hidden;border:2px solid transparent;padding:0;background:var(--sunken);max-width:100%}
.mxd .gal__t svg{width:100%;height:100%;display:block}
.mxd .gal__t.on{border-color:var(--teal-500)}
.mxd .gal__more{position:absolute;inset:0;display:grid;place-items:center;background:rgba(11,19,37,.55);color:#fff;font-weight:700;font-size:14px}
.mxd .specs{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));border-top:1px solid var(--line);margin-top:12px}
.mxd .spec{padding:14px 18px;display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid var(--line);min-width:0}
.mxd .spec .ms{font-size:20px;color:var(--icon);margin-top:1px}
.mxd .spec__l{font-size:13px;color:var(--muted)}
.mxd .spec__v{font-weight:600;color:var(--ink);font-size:14px;display:flex;align-items:center;gap:6px}
.mxd .spec__v i{width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}
.mxd .specs-wrap{overflow:hidden;border-radius:0 0 var(--r-lg) var(--r-lg);margin-bottom:-1px}
.mxd .desc{color:var(--text);line-height:1.7;max-width:68ch;font-size:15px}
.mxd .pricecard__v{font-weight:700;font-size:30px;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.01em;line-height:1.1;direction:ltr;unicode-bidi:isolate;display:inline-block}
.mxd .pricecard__v small{font-size:14px;color:var(--muted);font-weight:600;margin-left:6px}
.mxd .stats3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.mxd .stat{padding:2px 12px;border-inline-start:1px solid var(--line)}
.mxd .stat:first-child{border-inline-start:0;padding-inline-start:0}
.mxd .stat__v{font-weight:700;font-size:20px;color:var(--ink);font-variant-numeric:tabular-nums}
.mxd .stat__l{font-size:13px;color:var(--muted)}
.mxd .insight{display:flex;gap:10px;font-size:13px;line-height:1.5;color:var(--text)}
.mxd .insight > .ms{font-size:20px;color:var(--teal-600)}
.mxd .insight--warn > .ms{color:var(--amber)}
.mxd .insight--box{padding:12px;border-radius:10px;background:var(--teal-50);color:var(--ink)}
.mxd .tl{display:flex;flex-direction:column}
.mxd .tl__i{display:grid;grid-template-columns:24px 1fr;gap:10px;padding-bottom:14px;position:relative}
.mxd .tl__i::before{content:"";position:absolute;inset-inline-start:11px;top:24px;bottom:2px;width:2px;background:var(--line)}
.mxd .tl__i:last-child{padding-bottom:0}
.mxd .tl__i:last-child::before{display:none}
.mxd .tl__d{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--sunken)}
.mxd .tl__d .ms{font-size:15px}
.mxd .tl__t{font-weight:600;color:var(--ink);font-size:14px}
.mxd .tl__m{font-size:13px;color:var(--muted)}
.mxd .inbox{display:grid;grid-template-columns:380px minmax(0,1fr);background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;min-height:600px}
.mxd .inbox__list{border-inline-end:1px solid var(--line);display:flex;flex-direction:column;min-width:0}
.mxd .inbox__list .stabs{padding-inline:8px}
.mxd .lead{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;padding:14px 16px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:start;width:100%;position:relative;color:inherit}
.mxd .lead:hover{background:var(--hover)}
.mxd .lead.on{background:var(--teal-50)}
.mxd .lead__ic{width:40px;height:40px;border-radius:10px;display:grid;place-items:center}
.mxd .lead__ic .ms{font-size:20px}
.mxd .ic-msg{background:var(--teal-50);color:var(--teal-700)}
.mxd .lead.on .ic-msg{background:#fff}
.mxd .ic-rev{background:var(--slate-bg);color:var(--slate)}
.mxd .ic-wa{background:#E3F6EA;color:#157A46}
.mxd .lead__n{font-weight:600;color:var(--text);font-size:14px;display:flex;align-items:center;gap:6px;min-width:0}
.mxd .lead__n bdi{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .lead.unread .lead__n{font-weight:700;color:var(--ink)}
.mxd .lead__dot{width:8px;height:8px;border-radius:50%;background:var(--teal-500);flex:none}
.mxd .lead__p{color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px;display:block}
.mxd .lead__car{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted);margin-top:4px;white-space:nowrap;overflow:hidden}
.mxd .lead__car .ms{font-size:15px;color:var(--icon)}
.mxd .lead__w{font-size:12px;color:var(--muted);white-space:nowrap}
.mxd .read{display:flex;flex-direction:column;min-width:0}
.mxd .read__h{padding:16px 24px;border-bottom:1px solid var(--line);display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.mxd .read__b{padding:22px 24px;display:flex;flex-direction:column;gap:20px;max-width:760px}
.mxd .carctx{display:flex;align-items:center;gap:12px;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);text-align:start;color:inherit;width:100%}
.mxd .carctx:hover{border-color:var(--line-2)}
.mxd .bubble{background:var(--surface-2);border:1px solid var(--line);border-radius:4px 14px 14px 14px;padding:14px 16px;max-width:60ch;line-height:1.65;color:var(--ink);font-size:15px}
[dir="rtl"] .mxd .bubble{border-radius:14px 4px 14px 14px}
.mxd .contact{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}
.mxd .contact .btn{height:52px;justify-content:flex-start;padding:0 14px;min-width:0}
.mxd .contact .btn .s{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2;min-width:0}
.mxd .contact .btn small{font-size:13px;font-weight:500;color:var(--muted);direction:ltr}
/* The sub-label under a contact action. It was --navy-soft for a navy fill;
   on the white primary it reads as the same muted grey as its siblings. */
.mxd .contact .btn--primary small{color:var(--muted)}
.mxd .mod{display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-areas:"queue queue" "review decide";background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.mxd .mod__q{grid-area:queue;border-bottom:1px solid var(--line);display:flex;flex-direction:column;min-width:0}
.mxd .mod__qh{display:flex;align-items:center;gap:10px;padding:12px 16px;flex-wrap:wrap}
.mxd .mod__qh .search{flex:0 1 280px}
.mxd .qstrip{display:flex;gap:8px;overflow-x:auto;padding:0 16px 14px;scrollbar-width:thin}
.mxd .qi{flex:none;width:260px;display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;padding:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);text-align:start;color:inherit}
.mxd .qi:hover{border-color:var(--control)}
.mxd .qi.on{background:var(--teal-50);border-color:var(--teal-500);box-shadow:inset 0 0 0 1px var(--teal-500)}
.mxd .qi .thumb{width:72px}
.mxd .qi__t{font-weight:700;color:var(--ink);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.mxd .qi__s{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden;margin-top:1px}
.mxd .qi__s bdi{overflow:hidden;text-overflow:ellipsis}
.mxd .qi__s .ms{font-size:15px;color:var(--teal-600)}
.mxd .qi__f{display:flex;gap:5px;margin-top:6px;flex-wrap:wrap}
.mxd .mod__r{grid-area:review;padding:20px 24px 24px;display:flex;flex-direction:column;gap:18px;min-width:0}
.mxd .mod__d{grid-area:decide;padding:20px;display:flex;flex-direction:column;gap:16px;background:var(--surface-2);border-inline-start:1px solid var(--line);min-width:0}
.mxd .mod__head{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}
.mxd .mod__price{font-weight:700;font-size:20px;color:var(--ink);font-variant-numeric:tabular-nums;direction:ltr;unicode-bidi:isolate;white-space:nowrap}
.mxd .mod__price small{font-size:13px;color:var(--muted);font-weight:600;margin-left:4px}
.mxd .seller{display:flex;align-items:center;gap:12px;min-width:0}
.mxd .seller__av{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:var(--slate);background:var(--sunken);flex:none}
.mxd .reasons{display:flex;flex-direction:column}
.mxd .reason{display:flex;align-items:center;gap:10px;min-height:40px;padding:6px 8px;border:0;border-radius:8px;background:transparent;font-size:14px;color:var(--text);text-align:start}
.mxd .reason:hover{background:var(--sunken)}
.mxd .reason .rb{width:18px;height:18px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--control);flex:none;background:var(--surface)}
.mxd .reason.on{color:var(--ink);font-weight:600}
.mxd .reason.on .rb{box-shadow:inset 0 0 0 5px var(--red)}
.mxd .selfnote{display:flex;gap:8px;align-items:flex-start;font-size:13px;color:var(--muted);padding:0 16px 14px}
.mxd .selfnote .ms{font-size:17px;color:var(--icon)}
.mxd .flagbox{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:10px;background:var(--amber-bg);color:#5C3304;font-size:13px}
.mxd .flagbox__t{display:flex;align-items:center;gap:6px;font-weight:700}
.mxd .flagbox__t .ms{font-size:18px;color:var(--amber)}
.mxd mark.flag{background:#FBDDA6;color:inherit;border-radius:3px;padding:0 2px}
.mxd .pop{position:fixed;z-index:40;background:var(--surface);border:1px solid var(--line);border-radius:12px;box-shadow:var(--sh-pop);width:300px;max-width:calc(100% - 24px);overflow:auto;animation:mx-pop .16s var(--ease)}
@keyframes mx-pop{from{opacity:0;transform:translateY(-4px)}}
.mxd .pop__h{padding:12px 14px 0;display:flex;align-items:center;justify-content:space-between;gap:10px}
.mxd .pop__t{font-weight:700;color:var(--ink);font-size:14px;display:flex;align-items:center;gap:8px}
.mxd .pop__b{padding:12px 14px;display:flex;flex-direction:column;gap:10px}
.mxd .pop__f{padding:10px 14px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:8px;background:var(--surface-2)}
.mxd .optlist{display:flex;flex-direction:column;max-height:260px;overflow:auto;margin-inline:-6px}
.mxd .opt{display:flex;align-items:center;gap:10px;min-height:38px;padding:6px 8px;border-radius:8px;border:0;background:transparent;text-align:start;font-size:14px;color:var(--text);width:100%}
.mxd .opt:hover,.mxd .opt:focus-visible{background:var(--hover)}
.mxd .opt > .ms{font-size:19px;color:var(--icon)}
.mxd .opt .n{margin-inline-start:auto;color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.mxd .opt[aria-selected="true"]{color:var(--teal-700);font-weight:600}
.mxd .opt--danger{color:var(--red)}
.mxd .opt--danger > .ms{color:var(--red)}
.mxd .presets{display:flex;flex-wrap:wrap;gap:6px}
.mxd .range2{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}
.mxd .range2 > span{color:var(--muted)}
.mxd .scrim{position:fixed;inset:0;background:rgba(11,19,37,.44);z-index:50;animation:mx-fade .18s ease;display:flex;align-items:center;justify-content:center;padding:16px}
@keyframes mx-fade{from{opacity:0}}
.mxd .dlg{background:var(--surface);border-radius:16px;box-shadow:var(--sh-pop);width:460px;max-width:100%;animation:mx-pop .2s var(--ease);overflow:hidden;display:flex;flex-direction:column;max-height:calc(100dvh - 32px)}
.mxd .dlg__b{padding:22px;display:flex;flex-direction:column;gap:12px;overflow:auto;min-height:0}
.mxd .dlg__ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center}
.mxd .dlg__ic .ms{font-size:24px}
.mxd .dlg__t{font-weight:700;font-size:19px;color:var(--ink);line-height:1.3}
.mxd .dlg__d{color:var(--muted);font-size:14px;line-height:1.55}
.mxd .dlg__list{display:flex;flex-direction:column;gap:6px;max-height:180px;overflow:auto}
.mxd .dlg__f{padding:14px 22px;display:flex;justify-content:flex-end;gap:8px;background:var(--surface-2);border-top:1px solid var(--line);flex-wrap:wrap}
.mxd .sheet{position:fixed;top:0;bottom:0;inset-inline-end:0;width:480px;max-width:100%;background:var(--surface);z-index:51;box-shadow:var(--sh-pop);display:flex;flex-direction:column;animation:mx-slide .24s var(--ease)}
@keyframes mx-slide{from{transform:translateX(24px);opacity:0}}
[dir="rtl"] .mxd .sheet{animation-name:mx-slideR}
@keyframes mx-slideR{from{transform:translateX(-24px);opacity:0}}
.mxd .sheet--start{inset-inline-end:auto;inset-inline-start:0;width:292px}
.mxd .sheet__h{display:flex;align-items:flex-start;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line)}
.mxd .sheet__t{font-size:18px;font-weight:700;color:var(--ink);line-height:1.3}
.mxd .sheet__b{flex:1;overflow:auto;padding:20px;display:flex;flex-direction:column;gap:18px}
.mxd .sheet__f{display:flex;align-items:center;gap:8px;padding:14px 20px;border-top:1px solid var(--line);background:var(--surface-2);flex-wrap:wrap}
.mxd .btn--danger-text{color:var(--red)}
.mxd .btn--danger-text:hover{background:var(--red-bg);color:var(--red)}
.mxd .toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:60;background:var(--navy-fill);color:#fff;border-radius:10px;padding:10px 12px;display:flex;align-items:center;gap:12px;font-weight:600;font-size:14px;box-shadow:var(--sh-pop);animation:mx-fade .2s ease;max-width:calc(100% - 32px)}
.mxd .toast > .ms{color:var(--teal);font-size:20px}
.mxd .toast .undo{border:0;background:rgba(28,177,201,.14);color:var(--teal);font-weight:700;height:30px;padding:0 10px;border-radius:7px}
.mxd .toast .undo:hover{background:rgba(28,177,201,.24)}
.mxd .palette{position:fixed;top:72px;left:50%;transform:translateX(-50%);width:600px;max-width:calc(100% - 32px);background:var(--surface);border-radius:14px;box-shadow:var(--sh-pop);z-index:52;overflow:hidden;animation:mx-pop .16s var(--ease)}
.mxd .palette__in{display:flex;align-items:center;gap:10px;padding:0 16px;height:56px;border-bottom:1px solid var(--line)}
.mxd .palette__in .ms{color:var(--icon)}
.mxd .palette__in input{flex:1;border:0;outline:0;font-size:16px;background:transparent;color:var(--ink);height:100%}
.mxd .palette__b{max-height:420px;overflow:auto;padding:8px}
.mxd .palette__g{font-size:12px;font-weight:600;color:var(--muted);padding:8px 10px 4px}
.mxd .palette__f{display:flex;gap:16px;padding:10px 16px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);background:var(--surface-2)}
.mxd .palette .opt[aria-selected="true"]{background:var(--teal-50);color:var(--ink);font-weight:600}
.mxd .palette .opt[aria-selected="true"] > .ms{color:var(--teal-600)}
.mxd .names__main,.mxd .names__sub,.mxd .names__miss,.mxd .tritem__src > span{text-align:left}
[dir="rtl"] .mxd .names__main,[dir="rtl"] .mxd .names__sub,[dir="rtl"] .mxd .names__miss,[dir="rtl"] .mxd .tritem__src > span{text-align:right}
.mxd .tritem__src{align-items:stretch}
.mxd .stcell__n.err{white-space:normal}
.mxd .dt-title .yr{margin-inline-end:0}
.mxd .nav{gap:12px}
.mxd .nav__i{height:36px}
.mxd .qdetail .arow__name{flex:1 1 auto}
.mxd .qdetail .arow .tag{flex:none}
.mxd .mchip{max-width:100%}
.mxd .mchip span{overflow:hidden;text-overflow:ellipsis}
@media (min-width:1560px){
  .mxd .mod{grid-template-columns:300px minmax(0,1fr) 340px;grid-template-areas:"queue review decide"}
  .mxd .mod__q{border-bottom:0;border-inline-end:1px solid var(--line)}
  .mxd .qstrip{flex-direction:column;overflow:visible;padding:0 12px 12px}
  .mxd .qi{width:auto}
}
@media (max-width:1180px){
  .mxd .ed{grid-template-columns:minmax(0,1fr) 270px}
  .mxd .dt{grid-template-columns:minmax(0,1fr) 300px}
  .mxd .inbox{grid-template-columns:320px minmax(0,1fr)}
}
@media (max-width:1080px){
  .mxd .shell{grid-template-columns:minmax(0,1fr)}
  .mxd .shell > .side{display:none}
  .mxd .top{padding-inline:20px}
  .mxd .top .top__menu{display:grid}
  .mxd .page{padding:4px 20px 40px}
  .mxd .actbar__in{padding:12px 20px}
  .mxd .ov-grid{grid-template-columns:minmax(0,1fr)}
  .mxd .dt{grid-template-columns:minmax(0,1fr)}
  .mxd .dt__side{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .mxd .mod{grid-template-columns:minmax(0,1fr);grid-template-areas:"queue" "review" "decide"}
  .mxd .mod__d{border-inline-start:0;border-top:1px solid var(--line)}
  .mxd .gsearch{width:240px}
}
@media (max-width:900px){
  .mxd .stabs-row{flex-direction:column;align-items:stretch;border-bottom:0;gap:8px}
  .mxd .stabs-row .stabs{border-bottom:1px solid var(--line)}
  .mxd .stabs-row__end{justify-content:flex-end;padding-bottom:0}
  .mxd .ed{grid-template-columns:minmax(0,1fr)}
  .mxd .rail{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .mxd .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mxd .kpi:nth-child(3){border-inline-start:0}
  .mxd .kpi:nth-child(n+3){border-top:1px solid var(--line)}
  .mxd .shots{grid-template-columns:repeat(4,minmax(0,1fr))}
  .mxd .tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mxd .gal__strip{grid-template-columns:repeat(6,minmax(0,1fr))}
  .mxd .gal__strip .gal__t:nth-child(n+7){display:none}
  .mxd .tblw.is-table{display:none}
  .mxd .cardlist{display:flex}
  .mxd .grid-cards{display:none}
  .mxd .inbox{grid-template-columns:minmax(0,1fr);min-height:0}
  .mxd .inbox.has-sel .inbox__list{display:none}
  .mxd .inbox:not(.has-sel) .read{display:none}
  .mxd .stabs-row__end .viewtog{display:none}
}
@media (max-width:720px){
  .mxd .main.no-tabbar .tabbar{display:none !important}
  .mxd .top{height:56px;padding-inline:8px;gap:4px;background:var(--surface);border-bottom-color:var(--line)}
  .mxd .gsearch{display:none}
  .mxd .top .gsearch-m{display:grid !important}
  .mxd .crumbs > :not(.cur){display:none}
  .mxd .crumbs .cur{font-weight:700;font-size:16px;opacity:0;transition:opacity .15s}
  .mxd .top.scrolled .crumbs .cur{opacity:1}
  .mxd .page{padding:4px 16px 28px;gap:16px}
  .mxd .ph{padding-top:10px;gap:12px}
  .mxd .ph__title,.mxd .dt-title{font-size:24px}
  .mxd .ph__sub{font-size:13px}
  .mxd .tabbar{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);flex:none;background:var(--surface);border-top:1px solid var(--line);padding:4px 6px calc(4px + env(safe-area-inset-bottom,0px))}
  .mxd .tabbar button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;font-size:12px;font-weight:600;color:var(--muted);position:relative}
  .mxd .tabbar button .ms{font-size:22px}
  .mxd .tabbar button.on{color:var(--ink);font-weight:700}
  .mxd .tabbar button.on .ms{font-variation-settings:"FILL" 1,"wght" 500,"opsz" 24;background:var(--teal);color:#fff;box-shadow:var(--sh-teal)}
  .mxd .tabbar .tb-new .ms{background:var(--teal);color:var(--navy) !important;border-radius:11px;width:44px;height:30px;display:grid;place-items:center;font-size:22px}
  .mxd .tabbar .b{position:absolute;top:4px;left:calc(50% + 6px);min-width:18px;height:18px;border-radius:999px;background:var(--teal);color:var(--navy);font-size:12px;font-weight:700;display:grid;place-items:center;padding:0 4px;box-shadow:0 0 0 2px var(--surface)}
  [dir="rtl"] .mxd .tabbar .b{left:auto;right:calc(50% + 6px)}
  .mxd .btn{height:var(--h-lg)}
  .mxd .btn--sm{height:40px}
  .mxd .btn--icon{width:var(--h-lg)}
  .mxd .btn--sm.btn--icon{width:40px}
  .mxd .iconbtn{width:44px;height:44px}
  .mxd .inp,.mxd .sel{height:var(--h-lg);font-size:16px}
  .mxd .seg button{height:38px}
  .mxd .chip{height:40px}
  .mxd .fgrp{height:var(--h-lg)}
  .mxd .stab{height:48px}
  .mxd .pager button{min-width:44px;height:44px}
  .mxd .opt{min-height:44px}
  .mxd .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mxd .kpi{padding:12px 14px}
  .mxd .kpi__v{font-size:22px}
  .mxd .attn__i{grid-template-columns:40px minmax(0,1fr);padding:12px 14px}
  .mxd .attn__i .btn{grid-column:2;justify-self:start;min-width:0;height:40px}
  .mxd .chart text{font-size:22px}
  .mxd .chart .mid{display:none}
  .mxd .stabs-row{border-bottom:0;flex-direction:column;align-items:stretch;gap:8px}
  .mxd .stabs-row .stabs{border-bottom:1px solid var(--line)}
  .mxd .stabs-row__end{padding-bottom:0;justify-content:space-between}
  .mxd .stabs,.mxd .fscroll{-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
  [dir="rtl"] .mxd .stabs,[dir="rtl"] .mxd .fscroll{-webkit-mask-image:linear-gradient(270deg,#000 88%,transparent);mask-image:linear-gradient(270deg,#000 88%,transparent)}
  .mxd .tbar{gap:8px}
  .mxd .search{flex:1 1 100%;max-width:none;min-width:0}
  .mxd .fscroll{flex-wrap:nowrap;overflow-x:auto;flex:1 1 100%;margin-inline:-16px;padding-inline:16px;scrollbar-width:none}
  .mxd .fscroll::-webkit-scrollbar{display:none}
  .mxd .bulk{bottom:84px}
  .mxd .g12{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 12px}
  .mxd .c2,.mxd .c3{grid-column:span 3}
  .mxd .c4,.mxd .c5,.mxd .c6,.mxd .c7,.mxd .c8,.mxd .c9,.mxd .c12{grid-column:span 6}
  .mxd .sec__h{padding:16px 16px 0}
  .mxd .sec__b{padding:14px 16px 18px;gap:18px}
  .mxd .seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .mxd .seg.seg--3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mxd .seg button{justify-content:center;white-space:normal;text-align:center;line-height:1.2}
  .mxd .rail{grid-template-columns:minmax(0,1fr)}
  .mxd .rail .prev{display:none}
  .mxd .shots{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .mxd .shot:not(.cover) .shot__b span:not(.ms){display:none}
  .mxd .shot:not(.cover) .shot__grip{display:none}
  .mxd .shot__acts,.mxd .shot__grip{opacity:1}
  .mxd .up-drop{padding:22px 16px}
  .mxd .up-drop--slim{flex-wrap:wrap}
  .mxd .up-drop__meter{margin-inline-start:0;align-items:flex-start;flex-basis:100%}
  .mxd .actbar__in{padding:10px 12px;gap:8px;flex-wrap:wrap}
  .mxd .actbar__st{display:none}
  .mxd .actbar__prog{display:flex;align-items:center;gap:8px;flex-basis:100%;font-size:13px;color:var(--muted);border:0;background:none;padding:0 2px;text-align:start}
  .mxd .actbar__prog b{color:var(--ink)}
  .mxd .actbar .btn{flex:1}
  .mxd .actbar .btn--ghost{flex:0 0 auto}
  .mxd .dt__side{grid-template-columns:minmax(0,1fr)}
  .mxd .gal__main{border-radius:12px}
  .mxd .gal__strip{grid-template-columns:repeat(5,minmax(0,1fr))}
  .mxd .gal__strip .gal__t:nth-child(n+6){display:none}
  .mxd .gal__nav{display:none}
  .mxd .dt-head .ph__act{width:100%}
  .mxd .dt-head .ph__act .btn:not(.btn--icon){flex:1}
  .mxd .read__h,.mxd .read__b{padding:16px}
  .mxd .contact{grid-template-columns:minmax(0,1fr)}
  .mxd .mod__r,.mxd .mod__d{padding:16px}
  .mxd .mod__q{border-bottom:1px solid var(--line)}
  .mxd .qi{width:230px}
  .mxd .toast{bottom:84px;width:calc(100% - 32px);justify-content:space-between}
  .mxd .pop.as-sheet{position:fixed;left:0;right:0;bottom:0;top:auto;width:auto;max-width:none;border-radius:16px 16px 0 0;animation:mx-sheetup .22s var(--ease)}
  .mxd .dlg{align-self:flex-end;border-radius:16px 16px 12px 12px}
  .mxd .dlg__f .btn{flex:1}
  .mxd .palette{top:12px}
}
@keyframes mx-sheetup{from{transform:translateY(24px);opacity:0}}
.mxd .gsearch-m{display:none !important}
@media (min-width:721px){
  .mxd .m-only{display:none !important}
}
@media (max-width:720px){
  .mxd .d-only{display:none !important}
}
@media (prefers-reduced-motion:reduce){
  .mxd *,.mxd *::before,.mxd *::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
}
.mxd .names{display:flex;flex-direction:column;min-width:0;line-height:1.3}
.mxd .names__main{font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .names__sub{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .names__miss{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:var(--amber)}
.mxd .names__miss .ms{font-size:14px}
.mxd .grip{display:grid;place-items:center;width:20px;color:var(--icon);cursor:grab;flex:none;opacity:0;transition:opacity .15s}
.mxd .grip .ms{font-size:18px}
.mxd .lrow:hover .grip,.mxd .arow:hover .grip,.mxd .qitem:hover .grip,.mxd .lrow:focus-within .grip,.mxd .arow:focus-within .grip{opacity:1}
.mxd .mono{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;border-radius:8px;background:var(--sunken);color:var(--slate);font-weight:700;font-size:12px;letter-spacing:.02em}
.mxd .mono--off{opacity:.5}
.mxd .mono--xl{width:56px;height:56px;border-radius:14px;font-size:18px}
.mxd .chev{color:var(--icon);font-size:20px}
.mxd .is-off .names__main,.mxd .is-off .strong{color:var(--muted)}
.mxd .is-off .avis,.mxd .is-off .mono{opacity:.55}
.mxd .panes{display:grid;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;min-height:560px}
.mxd .panes--3{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(0,.95fr)}
.mxd .panes--2{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}
.mxd .pane{display:flex;flex-direction:column;min-width:0;border-inline-start:1px solid var(--line)}
.mxd .pane:first-child{border-inline-start:0}
.mxd .pane__h{display:flex;align-items:center;gap:8px;min-height:60px;padding:10px 14px 10px 16px}
[dir="rtl"] .mxd .pane__h{padding:10px 16px 10px 14px}
.mxd .pane__t{font-size:15px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .pane__n{font-size:13px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
.mxd .pane__s{padding:0 12px 8px}
.mxd .pane__b{flex:1;overflow:auto;padding:0 6px 8px}
.mxd .pane__empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:32px 24px;text-align:center;color:var(--muted);font-size:13px}
.mxd .pane__empty .ms{font-size:24px;color:var(--icon)}
.mxd .pane__foot,.mxd .pane__note{display:flex;align-items:center;gap:8px;padding:10px 16px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);background:var(--surface-2)}
.mxd .pane__note{border-top:0;border-bottom:1px solid var(--line);background:var(--amber-bg);color:var(--amber);font-weight:600}
.mxd .pane__foot .ms,.mxd .pane__note .ms{font-size:16px}
.mxd .lrow{display:flex;align-items:center;gap:2px;border-radius:9px;padding-inline-end:4px;transition:background-color .12s}
.mxd .lrow:hover{background:var(--hover)}
.mxd .lrow.on{background:var(--teal-50)}
.mxd .lrow.on .names__main{color:var(--teal-700)}
.mxd .lrow__main{flex:1;min-width:0;display:flex;align-items:center;gap:10px;min-height:52px;padding:6px 8px 6px 2px;border:0;background:transparent;text-align:start;border-radius:9px;color:inherit}
[dir="rtl"] .mxd .lrow__main{padding:6px 2px 6px 8px}
.mxd .lrow__main--static{cursor:default}
.mxd .lrow__main .names{flex:1}
.mxd .lrow__n{font-size:13px;color:var(--muted);font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.mxd .lrow .switch{margin-inline:6px}
.mxd .who{display:flex;align-items:center;gap:12px;min-width:0}
.mxd .avatar{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:#DDE8EB;color:var(--teal-700);font-weight:700;font-size:12px}
.mxd .avatar--lg{width:44px;height:44px;font-size:14px}
.mxd .avatar--xl{width:72px;height:72px;font-size:22px}
.mxd .mchips{display:flex;flex-wrap:wrap;gap:6px}
.mxd .mchip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px 0 8px;border-radius:7px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);font-size:13px;font-weight:600;color:var(--text);white-space:nowrap}
[dir="rtl"] .mxd .mchip{padding:0 8px 0 10px}
.mxd .mchip .ms{font-size:16px;color:var(--icon)}
.mxd .mchip b{font-weight:700;color:var(--muted)}
.mxd .alist{display:flex;flex-direction:column;padding:6px}
.mxd .alist--flat{padding:0;gap:2px}
.mxd .arow{display:flex;align-items:center;gap:12px;min-height:60px;padding:6px 8px 6px 4px;border-radius:10px;transition:background-color .12s}
[dir="rtl"] .mxd .arow{padding:6px 4px 6px 8px}
.mxd .arow:hover{background:var(--hover)}
.mxd .arow__name{flex:1 1 220px;min-width:0;display:flex;border:0;background:transparent;padding:4px 0;text-align:start;color:inherit}
.mxd .arow__name:hover .names__main{color:var(--teal-700);text-decoration:underline;text-underline-offset:3px}
.mxd .arow__set{flex:1 1 200px;font-size:13px;color:var(--text);min-width:0}
.mxd .arow__use{flex:0 0 120px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:end}
.mxd .arow--add{border:1.5px dashed var(--line-2);background:transparent;color:var(--teal-700);font-weight:700;justify-content:center;gap:6px;margin-top:6px;min-height:48px}
.mxd .arow--add:hover{border-color:var(--teal-500);background:var(--teal-50)}
.mxd .avis{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:10px;background:var(--sunken);color:var(--slate)}
.mxd .avis .ms{font-size:20px}
.mxd .avis--body svg{width:30px;height:14px;color:var(--slate)}
.mxd .swatch{display:block;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(11,19,37,.2)}
.mxd .qwrap{display:grid;grid-template-columns:360px minmax(0,1fr);gap:16px;align-items:start}
.mxd .qitems{list-style:none;margin:0;padding:6px;display:flex;flex-direction:column;gap:2px}
.mxd .qitem{display:flex;align-items:center;gap:4px;border-radius:10px;padding-inline-end:8px}
.mxd .qitem:hover{background:var(--hover)}
.mxd .qitem.on{background:var(--teal-50)}
.mxd .qitem__main{flex:1;min-width:0;display:flex;align-items:flex-start;gap:10px;padding:10px 6px;border:0;background:transparent;text-align:start;color:inherit}
.mxd .qitem__n{flex:none;width:24px;height:24px;border-radius:7px;background:var(--sunken);display:grid;place-items:center;font-size:12px;font-weight:700;color:var(--slate)}
.mxd .qitem.on .qitem__n{background:var(--teal);color:var(--navy)}
.mxd .qitem__txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.mxd .qitem__t{font-weight:700;color:var(--ink);font-size:14px;line-height:1.35}
.mxd .qitem__m{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.mxd .warn-txt{color:var(--amber);display:inline-flex;align-items:center;gap:3px;font-weight:700}
.mxd .warn-txt .ms{font-size:14px}
.mxd .qdetail{display:flex;flex-direction:column}
.mxd .qdetail__h{display:flex;align-items:flex-start;gap:10px;padding:18px 20px;border-bottom:1px solid var(--line)}
.mxd .qdetail__t{font-size:19px;font-weight:700;color:var(--ink);line-height:1.3;text-wrap:balance}
.mxd .qdetail > .banner{margin:16px 20px 0}
.mxd .qdetail__grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;padding:18px 20px 22px}
.mxd .subt .muted{font-weight:600}
.mxd .rangecard{padding:16px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.mxd .rangecard__bar{position:relative;height:6px;border-radius:999px;background:linear-gradient(90deg,var(--teal) 0%,var(--teal) var(--p,40%),var(--sunken) var(--p,40%));margin:14px 8px 10px;background:var(--sunken)}
.mxd .rangecard__bar span{position:absolute;top:50%;width:18px;height:18px;margin-inline-start:-9px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px var(--teal-500),0 2px 4px rgba(11,19,37,.2);transform:translateY(-50%)}
.mxd .rangecard__l{display:flex;justify-content:space-between;font-size:13px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.mxd .qpreview{display:flex;flex-direction:column;gap:10px;position:sticky;top:12px}
.mxd .qpreview__top{display:flex;align-items:center;justify-content:space-between}
.mxd .dots{display:flex;gap:4px}
.mxd .dots i{width:18px;height:4px;border-radius:999px;background:var(--line-2)}
.mxd .dots i.on{background:var(--teal-500)}
.mxd .qpreview__card{position:relative;isolation:isolate;overflow:hidden;padding:18px;border-radius:14px;background:var(--navy);box-shadow:inset 0 0 0 1px var(--navy-2),0 18px 40px -24px rgba(11,19,37,.7);color:#F1F5F9;display:flex;flex-direction:column;gap:12px}
.mxd .qpreview__card::before,.mxd .paycard::before{content:"";position:absolute;z-index:-1;top:-118px;inset-inline-end:-128px;width:220px;height:220px;border-radius:44px;background:rgba(28,177,201,.1);transform:rotate(14deg);pointer-events:none}
[dir="rtl"] .mxd .qpreview__card::before,[dir="rtl"] .mxd .paycard::before{transform:rotate(-14deg)}
.mxd .qpreview__card.is-off{opacity:.55}
.mxd .qpreview__q{font-family:var(--f-display);font-size:18px;font-weight:700;line-height:1.25;color:#fff}
.mxd .qpreview__s{font-size:13px;color:var(--navy-soft)}
.mxd .qpreview__val{font-size:22px;font-weight:700;color:#fff;font-variant-numeric:tabular-nums}
.mxd .qpreview__card .rangecard__bar{background:rgba(255,255,255,.18);margin-inline:8px}
.mxd .qpreview__opts{display:flex;flex-wrap:wrap;gap:6px}
.mxd .qopt{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border-radius:9px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14);font-size:13px;font-weight:600}
.mxd .qopt .ms{font-size:17px;color:var(--teal)}
.mxd .qopt.on{background:var(--teal);box-shadow:none;color:var(--navy)}
.mxd .qopt.on .ms{color:var(--navy)}
.mxd .ph__meta{display:flex;flex-direction:column;align-items:flex-end;gap:0}
[dir="rtl"] .mxd .ph__meta{align-items:flex-start}
.mxd .big-n{font-size:28px;font-weight:700;color:var(--ink);line-height:1.1}
.mxd .trwrap{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}
.mxd .trnav{display:flex;flex-direction:column;gap:14px;position:sticky;top:12px}
.mxd .trnav__g{display:flex;flex-direction:column;gap:1px}
.mxd .trnav__g .nav__h{padding-inline:10px}
.mxd .trnav__i{display:flex;align-items:center;justify-content:space-between;gap:8px;height:36px;padding:0 10px;border:0;border-radius:8px;background:transparent;font-weight:600;color:var(--text);font-size:14px;text-align:start}
.mxd .trnav__i:hover{background:var(--surface)}
.mxd .trnav__i.on{background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--line)}
.mxd .ok-ic{font-size:17px;color:var(--green)}
.mxd .trhead{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mxd .progress--inline{flex:1 1 120px;max-width:220px}
.mxd .trlist{display:flex;flex-direction:column}
.mxd .tritem{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr) 120px;gap:16px;align-items:center;padding:10px 16px;border-top:1px solid var(--line)}
.mxd .trlist .tritem:first-child{border-top:0}
.mxd .tritem__src{display:flex;flex-direction:column;min-width:0}
.mxd .tritem__src .strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mxd .tritem__fields{display:flex;flex-direction:column;gap:8px}
.mxd .trfield{display:flex;flex-direction:column;gap:4px}
.mxd .trfield__l{font-size:12px;font-weight:700;color:var(--muted)}
.mxd .trfield__in{position:relative;display:flex;align-items:center}
.mxd .trfield__in .inp{height:38px;font-size:14px}
.mxd .inp.is-empty{background:#FFFBF3;border-style:dashed}
.mxd .saved{position:absolute;inset-inline-start:8px;display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:700;color:var(--green);background:var(--surface);padding:0 4px;pointer-events:none}
.mxd .saved .ms{font-size:15px}
.mxd .tritem__st{justify-self:end}
.mxd .price-stack{display:inline-flex;align-items:center;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.mxd .price-stack s{font-size:13px}
.mxd .tbl tr.is-off td{color:var(--muted)}
.mxd .plans-preview{display:flex;flex-direction:column;gap:4px;margin-top:4px}
.mxd .plancards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.mxd .plancard{position:relative;display:flex;flex-direction:column;gap:8px;padding:20px;border-radius:14px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.mxd .plancard--pick{box-shadow:inset 0 0 0 2px var(--teal-500),0 14px 30px -20px rgba(28,177,201,.6)}
.mxd .plancard__tag{position:absolute;top:-11px;inset-inline-start:16px;background:var(--teal);color:var(--navy)}
.mxd .plancard__n{font-weight:700;color:var(--ink)}
.mxd .plancard__p{display:flex;align-items:baseline;gap:6px}
.mxd .plancard__v{font-size:28px;font-weight:700;color:var(--ink);letter-spacing:-.01em}
.mxd .plancard__v small{font-size:13px;color:var(--muted);font-weight:700}
.mxd .plancard__l{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--text)}
.mxd .plancard__l li{display:flex;gap:8px;align-items:flex-start}
.mxd .plancard__l .ms{font-size:17px;color:var(--teal-600)}
.mxd .kpis--plain .kpi{gap:6px}
.mxd .cardno{font-size:13px;color:var(--text);font-variant-numeric:tabular-nums;white-space:nowrap}
.mxd .cardno b{font-weight:700}
.mxd .txhero{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.mxd .paycard{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-radius:12px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(135deg,var(--navy-3),var(--navy));color:#F1F5F9;font-size:15px;font-weight:600;letter-spacing:.06em;font-variant-numeric:tabular-nums}
.mxd .paycard__brand{font-weight:700;font-style:italic;letter-spacing:0}
.mxd .settings{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:start}
.mxd .setnav{display:flex;flex-direction:column;gap:2px;position:sticky;top:12px}
.mxd .setnav button{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border:0;border-radius:9px;background:transparent;font-weight:600;color:var(--text);text-align:start}
.mxd .setnav button .ms{font-size:20px;color:var(--icon)}
.mxd .setnav button:hover{background:var(--surface)}
.mxd .setnav button.on{background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--line)}
.mxd .setnav button.on .ms{color:var(--teal-600)}
.mxd .setbody{padding:24px}
.mxd .setsec{display:flex;flex-direction:column;gap:18px}
.mxd .setsec__t{font-size:17px;font-weight:700;color:var(--ink)}
.mxd .setsec__d{color:var(--muted);margin-top:-12px}
.mxd .avrow{display:flex;align-items:center;gap:16px}
.mxd .avrow__b{display:flex;flex-direction:column;gap:6px}
.mxd .btnrow{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.mxd .btnrow--split{justify-content:space-between}
.mxd .affix--lock .inp{background:var(--sunken);border-color:var(--line-2);color:var(--muted)}
.mxd .affix--lock .unit{background:transparent;border:0}
.mxd .meter{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;margin-top:4px}
.mxd .meter i{height:4px;border-radius:999px;background:var(--sunken)}
.mxd .meter i.on.s1{background:var(--red)}
.mxd .meter i.on.s2{background:#D08A1C}
.mxd .meter i.on.s3{background:var(--green)}
.mxd .rules{list-style:none;margin:2px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--muted)}
.mxd .rules li{display:inline-flex;align-items:center;gap:4px}
.mxd .rules .ms{font-size:15px}
.mxd .rules li.ok{color:var(--green)}
.mxd .devlist{display:flex;flex-direction:column;border-radius:12px;box-shadow:inset 0 0 0 1px var(--line)}
.mxd .devrow{display:flex;align-items:center;gap:12px;padding:12px 14px;border-top:1px solid var(--line)}
.mxd .devrow:first-child{border-top:0}
.mxd .dangerrow{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px;border-radius:12px;background:#FDF5F6;box-shadow:inset 0 0 0 1px #F0CDD3}
.mxd .setlist{display:flex;flex-direction:column}
.mxd .setrow{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--line)}
.mxd .setlist .setrow:first-child{border-top:0;padding-top:0}
.mxd .setrow--boxed{padding:14px 16px;border:0;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line)}
.mxd .ntlist{display:flex;flex-direction:column;max-height:380px;overflow:auto;padding:4px 6px}
.mxd .ntrow{display:flex;align-items:flex-start;gap:10px;padding:10px 8px;border:0;border-radius:10px;background:transparent;text-align:start;color:inherit;position:relative}
.mxd .ntrow:hover{background:var(--hover)}
.mxd .ntrow.unread{background:#F2FAFB}
.mxd .ntrow > span:nth-child(2){display:flex;flex-direction:column;gap:2px}
.mxd .ntrow__t{font-weight:600;color:var(--text);font-size:13px;line-height:1.35}
.mxd .ntrow.unread .ntrow__t{font-weight:700;color:var(--ink)}
.mxd .ntrow__b{font-size:13px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mxd .ntrow__w{font-size:12px;color:var(--muted)}
.mxd .ntrow__dot{flex:none;width:8px;height:8px;border-radius:50%;background:var(--teal-500);margin-top:6px}
.mxd .logofield{display:flex;align-items:center;gap:16px}
.mxd .logofield__img{display:grid;place-items:center;width:64px;height:64px;border-radius:14px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);color:var(--icon)}
.mxd .colorfield{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;align-items:start}
.mxd .colorfield__prev{aspect-ratio:16/10;border-radius:12px;overflow:hidden;max-width:100%}
.mxd .colorfield__prev svg{width:100%;height:100%;display:block}
.mxd .hexrow{display:flex;gap:8px;align-items:center}
.mxd .hexrow input[type="color"]{width:48px;height:42px;padding:3px;border-radius:var(--r-sm);border:1px solid var(--control);background:var(--surface);cursor:pointer}
.mxd .hexrow .inp{max-width:140px}
.mxd .readout{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:10px;background:var(--teal-50);color:var(--ink);font-size:14px}
.mxd .readout .ms{color:var(--teal-600);font-size:19px}
.mxd .rte{border:1px solid var(--control);border-radius:var(--r-sm);overflow:hidden;background:var(--surface)}
.mxd .rte__bar{display:flex;gap:2px;padding:4px;border-bottom:1px solid var(--line);background:var(--surface-2)}
.mxd .rte__bar button{width:32px;height:32px;border:0;border-radius:6px;background:transparent;color:var(--muted);display:grid;place-items:center}
.mxd .rte__bar button:hover{background:var(--sunken);color:var(--ink)}
.mxd .rte__area{min-height:110px;padding:10px 14px;font-size:14px;line-height:1.6;color:var(--ink);outline:none}
.mxd .rte__area ul{margin:0;padding-inline-start:18px}
.mxd .rte:focus-within{border-color:var(--teal-500);box-shadow:0 0 0 3px rgba(28,177,201,.24)}
.mxd .docrow{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--line)}
.mxd .docrow .ms{color:var(--red)}
@media (max-width:1180px){
  .mxd .qwrap{grid-template-columns:300px minmax(0,1fr)}
  .mxd .qdetail__grid{grid-template-columns:minmax(0,1fr)}
  .mxd .qpreview{position:static}
  .mxd .panes--3{grid-template-columns:repeat(3,minmax(0,1fr))}
  .mxd .arow__use{display:none}
}
@media (max-width:900px){
  .mxd .panes--3,.mxd .panes--2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .mxd .panes--3 .pane--trim{grid-column:1/-1;border-inline-start:0;border-top:1px solid var(--line)}
  .mxd .qwrap{grid-template-columns:minmax(0,1fr)}
  .mxd .trwrap,.mxd .settings{grid-template-columns:minmax(0,1fr)}
  .mxd .trnav,.mxd .setnav{position:static}
  .mxd .setnav{flex-direction:row;overflow-x:auto;scrollbar-width:none}
  .mxd .setnav button{flex:none}
  .mxd .tritem{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}
  .mxd .tritem__st{grid-column:1/-1;justify-self:start}
  .mxd .arow__set{display:none}
}
@media (max-width:720px){
  .mxd .panes{min-height:0;border-radius:12px}
  .mxd .panes--3,.mxd .panes--2{grid-template-columns:minmax(0,1fr)}
  .mxd .panes > .pane{display:none;border:0}
  .mxd .panes.lvl-make > .pane--make,.mxd .panes.lvl-model > .pane--model,.mxd .panes.lvl-trim > .pane--trim{display:flex}
  .mxd .lrow__main{min-height:56px}
  .mxd .grip{display:none}
  .mxd .qwrap:not(.has-sel) .qdetail{display:none}
  .mxd .qwrap.has-sel .qlist{display:none}
  .mxd .qdetail__h{padding:14px 16px;flex-wrap:wrap}
  .mxd .qdetail__grid{padding:14px 16px 18px}
  .mxd .tritem{grid-template-columns:minmax(0,1fr);gap:8px;padding:12px 14px}
  .mxd .setbody{padding:18px 16px}
  .mxd .colorfield{grid-template-columns:minmax(0,1fr)}
  .mxd .sheet{width:100%}
  .mxd .arow{min-height:64px}
  .mxd .ph__meta{align-items:flex-start}
  .mxd .mrow--flat{grid-template-columns:auto minmax(0,1fr);display:flex;gap:12px;align-items:flex-start}
}
.mxd .shot img{width:100%;height:100%;object-fit:cover;display:block}
[dir="rtl"] .mxd .toast{animation-name:mx-fade}
.mxd .pop .optlist .opt .ms{font-size:18px;color:var(--muted)}
.mxd .pop .optlist .opt[aria-selected="true"]{color:var(--ink);font-weight:700}
.mxd .pop .optlist .opt[aria-selected="true"] .ms{color:var(--teal-600)}
@media (max-width:1080px){
  .mxd .side__top .btn{width:42px;height:42px;padding:0}
  .mxd .side__top .btn .lbl{display:none}
}
@media (max-width:720px){
  .mxd .tabbar{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
  .mxd .tabbar button[data-s="editor"] .ms{background:var(--teal);color:var(--navy);border-radius:11px;width:42px;height:30px;display:grid;place-items:center;font-size:21px;font-variation-settings:"FILL" 0,"wght" 500,"opsz" 24}
  .mxd .tabbar button[data-s="editor"].on .ms{color:var(--navy)}
  .mxd .dt-head .ph__act .btn:not(.keep-m){display:inline-flex}
  .mxd .dt-head .ph__act .btn--icon{flex:0 0 38px}
  .mxd .read__h .btn--sm{display:none}
  .mxd .ed__main{gap:14px}
  .mxd .mod__d .btn--lg{height:46px}
}
.mxd .drawer .brand__txt,.mxd .drawer .acct__txt{display:flex}
.mxd .drawer .nav__h{display:block}
.mxd .drawer .nav__i .lbl,.mxd .drawer .nav__c,.mxd .drawer .side__foot .lbl,.mxd .drawer .side__top .btn .lbl{display:inline}
.mxd .drawer .ms.caret{display:inline-block}
.mxd .drawer .side__top{align-items:stretch;padding:16px 14px 10px}
.mxd .drawer .side__top .btn{width:100%;height:38px;padding:0 14px}
.mxd .drawer .acct{width:100%;padding:10px;border:1px solid var(--line);background:var(--surface-2)}
.mxd .drawer .nav{padding:6px 10px 12px;gap:14px}
.mxd .drawer .nav__i{justify-content:flex-start;padding:0 6px;height:40px}
.mxd .drawer .nav__b{position:static;min-width:20px;height:20px;font-size:12px;padding:0 6px}
.mxd .drawer .nav__grp + .nav__grp{border-top:0;padding-top:0}

/* ============================================================
   App layer — what the prototype's frame did, done for the real
   page: a full-height shell, links styled as the controls they
   stand in for, file inputs laid over drop zones, fixed overlays.
   ============================================================ */
.mxd{height:100vh;height:100dvh;color:var(--text);font-size:14px;line-height:1.45;-webkit-font-smoothing:antialiased;text-align:start}
.mxd a{color:inherit;text-decoration:none}
.mxd a.btn,.mxd a.nav__i,.mxd a.link{text-decoration:none}
.mxd a.link:hover{text-decoration:underline;text-underline-offset:3px}
.mxd .ms.material-symbols-outlined{font-size:20px}
.mxd h1:focus,.mxd h2:focus{outline:none}
.mxd .scroll{scroll-behavior:auto}
.mxd .crumbs a{color:var(--muted);padding:4px 6px;border-radius:6px;font-weight:600;white-space:nowrap}
.mxd .crumbs a:hover{color:var(--ink);background:var(--sunken)}
.mxd .platsw a,.mxd .platsw span{border:0;background:transparent;height:30px;border-radius:6px;font-size:13px;font-weight:600;color:var(--muted);display:flex;align-items:center;justify-content:center;gap:6px}
.mxd .platsw a:hover{color:var(--ink)}
.mxd .platsw .on{background:var(--surface);color:var(--navy);box-shadow:0 1px 2px rgba(11,19,37,.12),inset 0 0 0 1px var(--line-2)}
.mxd .platsw .on .ms{color:var(--navy)}
.mxd .platsw .ms{font-size:17px}
.mxd .platsw--one{grid-template-columns:1fr}
.mxd .popscrim{position:fixed;inset:0;z-index:39;background:transparent;border:0;padding:0;cursor:default}
.mxd .popscrim--dim{background:rgba(11,19,37,.35)}
.mxd .pop{z-index:40}
.mxd .pop[data-placed="false"]{visibility:hidden}
.mxd .me{overflow:hidden;padding:0}
.mxd .me img,.mxd .acct__av img,.mxd .avatar img{width:100%;height:100%;object-fit:cover;display:block}
.mxd .acct__av{overflow:hidden}
.mxd .brand{color:inherit}
.mxd .brand__logo svg{width:20px;height:20px;display:block}
.mxd .tabbar a{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;font-size:12px;font-weight:600;color:var(--muted);position:relative}
.mxd .tabbar a .ms,.mxd .tabbar button .ms{font-size:22px;width:52px;height:28px;display:grid;place-items:center;border-radius:999px;transition:background-color .15s var(--ease),color .15s var(--ease)}
.mxd .tabbar a.on{color:var(--ink);font-weight:700}
.mxd .tabbar a.on .ms{font-variation-settings:"FILL" 1,"wght" 500,"opsz" 24;background:var(--teal);color:#fff;box-shadow:var(--sh-teal)}
.mxd .tabbar .tb-new .ms{background:var(--teal);color:var(--navy) !important;border-radius:11px;width:44px;height:30px;display:grid;place-items:center;font-size:22px}
.mxd .drawer-side{display:flex;height:100%;border:0}
.mxd .up-drop,.mxd .shot--add{overflow:hidden}
.mxd .up-drop input[type=file],.mxd .shot--add input[type=file],.mxd .filepick input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}
.mxd .filepick{position:relative;overflow:hidden}
.mxd .up-drop__t,.mxd .up-drop__d,.mxd .up-drop__ic,.mxd .up-drop__meter{position:relative;pointer-events:none}
.mxd .tile svg{width:64px;height:40px}
.mxd .avis--body svg{width:34px;height:24px}
.mxd .thumb img,.mxd .vcard__img img,.mxd .gal__main img,.mxd .gal__t img,.mxd .prev__img img,.mxd .qi .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.mxd .thumb svg,.mxd .gal__main > svg{width:100%;height:100%}
.mxd .gal__main{display:block}
.mxd .spin--dark{border-color:rgba(11,19,37,.18);border-top-color:var(--teal-500)}
.mxd .toast{border:0;box-shadow:var(--sh-pop),inset 0 0 0 1px rgba(28,177,201,.2)}
.mxd .toast--err > .ms{color:#F7A9B6}
.mxd .page--narrow{max-width:960px}
.mxd .inp[readonly]{background:var(--sunken)}
.mxd .tbl tbody tr.is-link:hover{background:var(--hover);cursor:pointer}
.mxd .tbl tbody tr.is-link:hover td.act{background:var(--hover)}
.mxd .stab{text-decoration:none}
.mxd .mini a.mini__i{color:inherit}
.mxd .loadbar{position:fixed;top:0;inset-inline:0;height:2px;background:linear-gradient(90deg,transparent,var(--teal),transparent);background-size:50% 100%;animation:mx-shim 1s linear infinite;z-index:70}
.mxd .field-note{font-size:13px;color:var(--muted)}
.mxd .errline{display:flex;gap:6px;align-items:flex-start;color:var(--red);font-size:13px;font-weight:600}
.mxd .errline .ms{font-size:16px}
.mxd .optlist .opt input.cbx{pointer-events:none}
.mxd .combo__logo img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
.mxd .mono img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
.mxd .logofield__img img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
@media (max-width:1080px){
  .mxd .drawer-side .side__top .btn{width:100%;height:var(--h);padding:0 14px}
  .mxd .drawer-side .side__top .btn .lbl{display:inline}
}
.mxd .pop{width:var(--pop-w,300px)}
@media (max-width:720px){
  .mxd .popscrim--sheet{background:rgba(11,19,37,.35)}
  .mxd .pop.as-sheet{max-height:82% !important}
}
/* Enquiries: the inbox shows one pane up to 900px (tablets as well as phones),
   so its Back-to-list button follows that breakpoint, not the phone-only m-only. */
.mxd .inbox-back{display:none}
@media (max-width:900px){.mxd .inbox-back{display:inline-flex}}

/* ── Shell revision (2026-09-17): the Droply mark, the Marketplace account area,
   Open Motors. ─────────────────────────────────────────────────────────── */
.mxd .brand__mark{width:38px;height:38px;border-radius:50%;display:block;flex:none}
.mxd .brand__txt{display:flex;flex-direction:column;line-height:1.1}
.mxd .brand__name{font-family:var(--f-ui);text-transform:none;letter-spacing:-.02em;font-size:21px;font-weight:800;color:var(--ink)}
.mxd .brand__plat{margin-top:3px;font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--teal-600)}

.mxd .side__foot{padding:14px;display:flex;flex-direction:column;gap:12px}
.mxd .usercard{display:flex;align-items:center;gap:10px;min-width:0}
.mxd .usercard__av,.mxd .acctbtn__av{position:relative;flex:none;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--navy);color:var(--teal);font-weight:700}
.mxd .usercard__av{width:40px;height:40px;font-size:14px}
.mxd .usercard__av img,.mxd .acctbtn__av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.mxd .usercard__txt{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}
.mxd .usercard__name{font-size:14px;font-weight:700;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mxd .usercard__mail{font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start}
.mxd .usercard__acts{display:flex;gap:8px}
.mxd .usercard__acts form{flex:1;display:flex;margin:0}
.mxd .usercard__acts .btn{height:38px}
.mxd .usercard__acts form .btn{flex:1;justify-content:center}

/* Open Motors (2026-09-23, user request): brand teal with white label and
   white icons — the same fill as the Logout button and the selected nav item.
   See .btn--brand for the contrast note. The arrow badge is a translucent
   white disc now that the button itself is teal, and keeps its hover nudge. */
.mxd .viewsite{display:inline-flex;align-items:center;gap:6px;height:38px;padding-inline:12px;border:1px solid var(--teal-500);border-radius:var(--r-sm);background:var(--teal);color:#fff;font-size:13px;font-weight:600;white-space:nowrap;flex:none;box-shadow:0 1px 2px rgba(11,19,37,.18),inset 0 1px 0 rgba(255,255,255,.18);transition:border-color .15s,background .15s,box-shadow .15s}
.mxd .viewsite .ms{font-size:18px;color:#fff}
.mxd .viewsite .viewsite__ext{display:grid;place-items:center;width:22px;height:22px;margin-inline-end:-5px;border-radius:50%;background:rgba(255,255,255,.22);color:#fff;font-size:15px;font-variation-settings:"FILL" 0,"wght" 600,"opsz" 20;transition:transform .2s var(--ease)}
[dir="rtl"] .mxd .viewsite .viewsite__ext{transform:scaleX(-1)}
.mxd .viewsite:hover{background:var(--teal-500);border-color:var(--teal-600);box-shadow:var(--sh-teal)}
.mxd .viewsite:hover .viewsite__ext{transform:translate(2px,-2px)}
[dir="rtl"] .mxd .viewsite:hover .viewsite__ext{transform:scaleX(-1) translate(2px,-2px)}
.mxd .top .langbtn{display:none}
@media (max-width:1080px){.mxd .top .langbtn{display:grid}}

.mxd .acctbtn{display:inline-flex;align-items:center;gap:8px;height:42px;padding-block:3px;padding-inline:3px 10px;border:1px solid var(--line-2);border-radius:999px;background:var(--surface);color:var(--ink);flex:none;max-width:250px;text-align:start}
.mxd .acctbtn:hover{background:var(--surface-2);border-color:var(--control)}
.mxd .acctbtn[aria-expanded="true"]{border-color:var(--teal-500);box-shadow:0 0 0 3px rgba(28,177,201,.16)}
.mxd .acctbtn__av{width:34px;height:34px;font-size:12px}
.mxd .acctbtn__txt{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.mxd .acctbtn__name{font-size:12px;font-weight:700;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mxd .acctbtn__role{font-size:11px;color:var(--muted);max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mxd .acctbtn .acctbtn__chev{font-size:18px;color:var(--muted)}
.mxd .acctmenu__id{display:flex;flex-direction:row;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}
.mxd .acctmenu__role{display:inline-flex;align-items:center;gap:4px;margin-top:2px;font-size:11px;font-weight:700;color:var(--teal-700)}
.mxd .acctmenu__role .ms{font-size:13px}
@media (max-width:900px){
  .mxd .acctbtn{padding:3px;gap:0}
  .mxd .acctbtn__txt,.mxd .acctbtn .acctbtn__chev{display:none}
}
@media (max-width:720px){
  /* Phones keep the navy tile — icon-only, but the same button. */
  .mxd .viewsite{width:44px;height:44px;padding:0;justify-content:center}
  .mxd .viewsite .viewsite__t,.mxd .viewsite .viewsite__ext{display:none}
  .mxd .viewsite .ms{font-size:22px}
}

/* ── Enquiry thread + reply (seller side, 2026-09-23) ────────────────────── */
/* The buyer's messages and the seller's replies in one column: theirs on the
   start side, the seller's own on the end side, both following the page
   direction so Arabic reads the way Arabic reads. */
.mxd .thread{display:flex;flex-direction:column;gap:8px;max-height:340px;overflow-y:auto;padding:2px}
.mxd .thread__r{display:flex}
.mxd .thread__r.mine{justify-content:flex-end}
.mxd .thread__r .bubble{max-width:min(30rem,84%);margin:0}
.mxd .thread__r.mine .bubble{background:var(--teal-50);border-color:rgba(28,177,201,.32)}
.mxd .bubble__w{display:block;margin-top:4px;font-size:11px;font-weight:600;color:var(--muted)}
.mxd .replybox{display:flex;flex-direction:column;gap:8px;margin-top:4px}
.mxd .replybox .inp{min-height:64px;height:auto;padding:10px 12px;resize:vertical}
.mxd .replybox__f{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}

/* Log detail: a stack trace or a JSON snapshot, wrapped rather than scrolling
   sideways, and capped so one long trace cannot own the screen. */
.mxd .logpre{margin:6px 0 0;padding:12px;border-radius:10px;background:var(--surface-2);border:1px solid var(--line);font-family:"JetBrains Mono",ui-monospace,monospace;font-size:12px;line-height:1.6;white-space:pre-wrap;word-break:break-word;max-height:16rem;overflow:auto}
.mxd .rowx__b{padding:14px;display:flex;flex-direction:column;gap:10px}

/* Error and audit logs: the Motors skin of the consoles shared with the
   Marketplace (2026-09-24). Paths, emails, type names and IDs read left to
   right in Arabic too, yet stay lined up with their column: dir="ltr" alone
   would pin them to the left edge of a right-aligned Arabic column. */
.mxd .ltrcell{direction:ltr;unicode-bidi:isolate;text-align:left}
[dir="rtl"] .mxd .ltrcell{text-align:right}
.mxd .kv__v.brk{min-width:0;overflow-wrap:anywhere}
.mxd .clip{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* An error opens in place under its row, as on the Marketplace console: the
   same parts in the same order (heading, message, resolution, context, stack
   trace, inner exception), in this console's tokens. The open/close keyframes
   animate grid rows 0fr↔1fr, so the panel grows to its own height with no JS
   measuring; the close length must stay CloseAnimMs (ErrorLogConsole, 260ms). */
.mxd .tbl td.xcell{padding:0;background:var(--surface-2);overflow:visible}
.mxd .errx-anim{display:grid;grid-template-rows:1fr}
.mxd .errx-anim > div{min-height:0;overflow:hidden}
.mxd .errx-anim.is-open{animation:mx-errx-in .32s cubic-bezier(.16,1,.3,1) both}
.mxd .errx-anim.is-closing{animation:mx-errx-out .26s cubic-bezier(.4,0,1,1) both;pointer-events:none}
@keyframes mx-errx-in{from{grid-template-rows:0fr;opacity:0}to{grid-template-rows:1fr;opacity:1}}
@keyframes mx-errx-out{from{grid-template-rows:1fr;opacity:1}to{grid-template-rows:0fr;opacity:0}}
.mxd .errx{max-width:900px;margin:0 auto;padding:28px 24px 32px;display:flex;flex-direction:column;gap:16px;scroll-margin-top:84px}
.mxd .errx--card{margin-top:6px;padding:18px 14px 20px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px;scroll-margin-top:12px}
.mxd .errx__head{display:flex;align-items:flex-start;gap:14px;flex-wrap:wrap}
.mxd .errx__ic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--teal);color:#fff;box-shadow:var(--sh-teal);flex:none}
.mxd .errx__ic .ms{font-size:20px}
.mxd .errx__ttl{flex:1;min-width:0}
.mxd .errx__t{margin:0;font-size:19px;font-weight:700;color:var(--ink);line-height:1.25}
.mxd .errx__s{margin:4px 0 0;font-size:13px;color:var(--muted)}
.mxd .errx__s .code{color:var(--ink)}
.mxd .errx__card{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(11,19,37,.05)}
.mxd .errx__ch{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:11px 18px;border-bottom:1px solid var(--line);background:var(--surface-2)}
.mxd .errx__cic{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:var(--teal-50);color:var(--teal-700);flex:none}
.mxd .errx__cic .ms{font-size:15px}
.mxd .errx__cic--ok{background:var(--green-bg);color:var(--green)}
.mxd .errx__cic--err{background:var(--red-bg);color:var(--red)}
.mxd .errx__cl{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.mxd .errx__cm{font-size:12px;color:var(--muted)}
.mxd .errx__cm b{color:var(--ink);font-weight:700}
.mxd .errx__msg{padding:14px 18px;font-size:15px;line-height:1.6;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}
.mxd .errx__note{padding:14px 18px;font-size:14px;line-height:1.6;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;unicode-bidi:plaintext;text-align:start}
.mxd .errx__dl{margin:0}
.mxd .errx__dr{display:grid;grid-template-columns:minmax(0,190px) minmax(0,1fr);gap:6px 16px;padding:11px 18px;border-top:1px solid var(--line);align-items:center}
.mxd .errx__dr:first-child{border-top:0}
.mxd .errx__dt{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.mxd .errx__dt .ms{font-size:17px;color:var(--teal-600)}
.mxd .errx__dd{margin:0;font-size:14px;color:var(--ink);overflow-wrap:anywhere;min-width:0}
.mxd .errx__dd.code{font-size:13px}
.mxd .errx__dd.is-none{color:var(--faint)}
.mxd .errx__dd.is-yes{color:var(--green);font-weight:600;display:inline-flex;align-items:center;gap:6px}
.mxd .errx__act{display:flex;justify-content:flex-end}
.mxd .trace{max-height:420px;overflow:auto;background:var(--navy);font-family:var(--f-mono);font-size:12.5px;line-height:1.65;padding:8px 0;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}
.mxd .trace__r{display:grid;grid-template-columns:2.5rem 1.25rem minmax(0,1fr);gap:8px;padding:3px 18px}
.mxd .trace__r:hover{background:rgba(255,255,255,.05)}
.mxd .trace__n{color:#7A879F;text-align:right;user-select:none}
.mxd .trace__at{color:var(--teal);font-weight:500}
.mxd .trace__f{word-break:break-all;color:rgba(255,255,255,.9)}
.mxd .trace__ns{color:#9AA6BC}
.mxd .trace__m{color:var(--teal);font-weight:500}
.mxd .trace--raw{margin:0;padding:16px 18px;white-space:pre-wrap;overflow-wrap:anywhere;color:#F6CDD4;max-height:280px}
@media (max-width:720px){
  .mxd .errx__dr{grid-template-columns:minmax(0,1fr)}
  .mxd .errx__t{font-size:17px}
}
@media (prefers-reduced-motion:reduce){
  .mxd .errx-anim.is-open,.mxd .errx-anim.is-closing{animation:none}
}

/* ── Listing details (2026-09-24) ──────────────────────────────────────────
   The editor's Features, Damage & paperwork, Chassis inspection and Documents
   sections, the admin's grouped attribute lists, and the details card on the
   seller's and admin's listing pages. Approved mockup:
   mockups/motors-listing-details. Class names were checked against both Motors
   sheets: a state class is is-*, never a short word (.pop here is the fixed
   popover, and a point that borrowed it left the car). */

/* Chips that pick from an admin list: they wrap, so a list an admin grows
   never overflows a row. Single choices are radios with a tick when chosen;
   features are toggles showing + or a tick, so "pick several" reads first. */
.mxd .chips{display:flex;flex-wrap:wrap;gap:8px}
.mxd .chip{cursor:pointer}
.mxd .chip.num{min-width:48px;justify-content:center;font-variant-numeric:tabular-nums;padding:0 10px}
.mxd .fhint{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}
.mxd .fhint .ms{font-size:17px;color:var(--slate)}

/* Features */
.mxd .feat{display:flex;flex-direction:column;gap:12px}
.mxd .feat+.feat{border-top:1px solid var(--line);padding-top:18px}
.mxd .feat__h{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:32px}
.mxd .feat__t{font-size:14px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:8px}
.mxd .feat__n{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--teal);color:var(--navy);font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.mxd .feat__n.is-zero{background:var(--sunken);color:var(--muted)}
.mxd .feat__sp{flex:1}
.mxd .fsearch{flex:1 1 240px;max-width:360px}
.mxd .feat__none{font-size:13px;color:var(--muted);padding:6px 0}

/* Chassis inspection. Sized by the section, not the window: beside the
   editor's rail the section is about 580px at a 1280px window, too narrow for
   the drawing and the list side by side. */
.mxd .insp-host{container-type:inline-size}
.mxd .insp{display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:28px;align-items:start}
@container (max-width:659px){
  .mxd .insp{grid-template-columns:minmax(0,1fr);gap:18px}
  .mxd .insp .chz{width:100%;max-width:380px;margin-inline:auto}
}
.mxd .insp__side{display:flex;flex-direction:column;gap:16px;min-width:0}
.mxd .insp__help{font-size:13px;color:var(--muted);line-height:1.5;max-width:60ch}
.mxd .insp__empty{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:10px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);font-size:13px;color:var(--text);line-height:1.5}
.mxd .insp__empty .ms{color:var(--teal-600)}

/* The drawing never mirrors: a car's left is its left in either language. */
.mxd .chz{direction:ltr;display:flex;flex-direction:column;align-items:center;gap:2px;border-radius:14px;padding:10px 8px 12px;border:1px solid var(--line);background:linear-gradient(180deg,var(--surface-2),var(--surface) 60%)}
.mxd .chz__end{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.mxd .chz__end .ms{font-size:16px}
[dir="rtl"] .mxd .chz__end{font-size:12px}
.mxd .chz__car{position:relative;width:100%;max-width:300px;aspect-ratio:300/372}
.mxd .chz__car svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.mxd .chz .iz{fill:transparent;transition:fill .22s var(--ease)}
.mxd .chz .iz.on{fill:rgba(28,177,201,.22)}
.mxd .chz__side{font-size:11px;color:var(--faint);margin-top:4px;text-align:center}

/* A point: the star badge sits on the wheel arch with its name under it; the
   whole thing is one button of 92 × ~70px. Physical right on the note
   badge: the stage is always left to right. */
.mxd .ipt{position:absolute;display:flex;flex-direction:column;align-items:center;gap:5px;width:92px;transform:translate(-50%,-22px);padding:0;border:0;background:none;color:var(--ink-2);-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.mxd .ipt__b{position:relative;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:1.5px dashed var(--control);color:#6B7688;box-shadow:var(--sh-1);transition:transform .16s var(--ease),background .16s,border-color .16s,box-shadow .16s}
.mxd .ipt__b .ms{font-size:24px}
.mxd .ipt__l{font-size:12px;font-weight:700;line-height:1.25;text-align:center;padding:1px 6px;border-radius:6px;background:rgba(255,255,255,.92);max-width:100%}
.mxd button.ipt:hover .ipt__b{border-color:var(--teal-500);color:var(--teal-600)}
.mxd button.ipt:active .ipt__b{transform:scale(.92)}
.mxd button.ipt:focus-visible{outline:none}
.mxd button.ipt:focus-visible .ipt__b{outline:2px solid var(--teal-600);outline-offset:3px}
.mxd .ipt.on .ipt__b{background:var(--teal);border:1.5px solid var(--teal-500);color:var(--navy);box-shadow:var(--sh-teal)}
.mxd .ipt.on .ipt__b .ms{font-variation-settings:"FILL" 1,"wght" 500,"opsz" 24}
.mxd .ipt.on .ipt__l{color:var(--teal-700)}
.mxd .ipt.is-flash .ipt__b{animation:mx-ipt .32s var(--ease)}
@keyframes mx-ipt{0%{transform:scale(.8)}60%{transform:scale(1.08)}100%{transform:scale(1)}}
.mxd .ipt__note{position:absolute;top:-5px;right:-7px;width:20px;height:20px;border-radius:50%;background:var(--navy);color:#fff;display:grid;place-items:center;border:2px solid #fff}
.mxd .ipt__note .ms{font-size:12px;font-variation-settings:"FILL" 1,"wght" 400,"opsz" 20}

/* Score. Teal stars, not gold: gold reads as a customer rating, and Motors has
   none. They fill from the reading start, so they follow the page. */
.mxd .stars{display:inline-flex;gap:1px;align-items:center}
.mxd .stars .s{font-size:26px;color:var(--control)}
.mxd .stars .s.on{color:var(--teal-500);font-variation-settings:"FILL" 1,"wght" 400,"opsz" 24}
.mxd .stars.sm .s{font-size:18px}
.mxd .score{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.mxd .score__v{font-size:26px;font-weight:800;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.01em;line-height:1}
.mxd .score__v small{font-size:15px;font-weight:700;color:var(--muted)}
.mxd .score__d{font-size:13px;color:var(--muted);flex-basis:100%}

/* The four points as a list, in the car's order: the text alternative to the
   drawing, and where the notes live. */
.mxd .ipl{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.mxd .ipr{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding-block:8px;padding-inline:8px 10px;min-height:60px}
.mxd .ipr+.ipr{border-top:1px solid var(--line)}
.mxd .ipr__tog{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;border:1.5px dashed var(--control);background:var(--surface);color:#6B7688;transition:background .15s,border-color .15s}
.mxd .ipr__tog:hover{border-color:var(--teal-500);color:var(--teal-600)}
.mxd .ipr__tog .ms{font-size:22px}
.mxd .ipr.on .ipr__tog{background:var(--teal);border:1.5px solid var(--teal-500);color:var(--navy)}
.mxd .ipr.on .ipr__tog .ms{font-variation-settings:"FILL" 1,"wght" 500,"opsz" 24}
.mxd .ipr__n{font-weight:700;color:var(--ink);font-size:14px}
.mxd .ipr__s{font-size:12px;font-weight:600;color:var(--muted)}
.mxd .ipr.on .ipr__s{color:var(--teal-700)}
.mxd .ipr__note{margin-top:3px;font-size:13px;color:var(--text);line-height:1.45;unicode-bidi:plaintext;text-align:start;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mxd .ipr__a{display:flex;gap:4px}

/* Note dialog: a small car beside the title says which corner. */
.mxd .dlg__loc{display:flex;align-items:center;gap:12px}
.mxd .dlg__mini{width:60px;height:80px;flex:none;border-radius:10px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);padding:4px;direction:ltr}
.mxd .dlg__mini svg{width:100%;height:100%;display:block}
.mxd .dlg__mini .iz.on{fill:rgba(28,177,201,.6)}
.mxd .dlg__sub{font-size:13px;color:var(--muted)}
.mxd .dlg .txa.txa--note{min-height:120px}
.mxd .dlg__f .grow{flex:1}

/* Documents */
.mxd .docs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.mxd .doc{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 12px;padding:14px 14px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.mxd .doc__ic,.mxd .fic{grid-row:span 2;width:40px;height:48px;border-radius:6px 12px 6px 6px;background:var(--sunken);box-shadow:inset 0 0 0 1px var(--line-2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;color:var(--slate)}
.mxd .doc__ic .ms,.mxd .fic .ms{font-size:20px}
.mxd .doc__ic b,.mxd .fic b{font-size:9px;font-weight:800;letter-spacing:.06em;color:var(--ink-2)}
/* A seller's name in either language: its own direction, aligned by the page
   (start would follow the name and break the column). */
.mxd .doc__n{font-weight:700;color:var(--ink);font-size:14px;line-height:1.35;overflow-wrap:anywhere;unicode-bidi:plaintext;text-align:left;align-self:end}
[dir="rtl"] .mxd .doc__n{text-align:right}
.mxd .doc__m{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.mxd .doc__a{grid-column:1/-1;display:flex;align-items:center;gap:4px;border-top:1px solid var(--line);padding-top:8px;margin-top:8px}
.mxd .doc__a .grow{flex:1}
.mxd .doc__tag{font-size:12px;font-weight:700;color:var(--amber)}
.mxd .docadd{display:flex;align-items:center;justify-content:center;gap:8px;min-height:96px;border:1.5px dashed var(--line-2);border-radius:12px;background:transparent;color:var(--ink-2);font-weight:700;font-size:14px}
.mxd .docadd:hover{border-color:var(--teal-500);background:var(--teal-50);color:var(--teal-700)}
.mxd .docadd .ms{color:var(--teal-600)}
.mxd .docs-empty{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1.5px dashed var(--line-2);border-radius:12px;background:var(--surface-2)}
.mxd .docs-empty__ic{width:48px;height:48px;border-radius:12px;background:var(--teal);color:var(--navy);display:grid;place-items:center;flex:none}
.mxd .docs-empty__t{font-weight:700;color:var(--ink);font-size:14px}
.mxd .docs-empty__d{font-size:13px;color:var(--muted);margin-top:2px;line-height:1.45}
.mxd .docs-empty .btn{margin-inline-start:auto;flex:none}
.mxd .fdrop{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;gap:4px;padding:20px 16px;border:1.5px dashed var(--control);border-radius:12px;background:var(--surface-2);text-align:center;cursor:pointer}
.mxd .fdrop:hover{border-color:var(--teal-500);background:var(--teal-50)}
.mxd .fdrop .ms{font-size:26px;color:var(--teal-600)}
.mxd .fdrop__t{font-weight:700;font-size:14px;color:var(--ink)}
.mxd .fdrop__d{font-size:12px;color:var(--muted)}
.mxd .fdrop.is-err{border-color:var(--red);background:#FFFBFB}
.mxd .fdrop input[type=file],.mxd .frow__pick input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:0}
.mxd .frow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:4px 12px;align-items:center;padding:10px 12px;border:1px solid var(--line-2);border-radius:12px;background:var(--surface)}
.mxd .frow .fic{grid-row:auto;width:36px;height:42px}
.mxd .frow__n{font-weight:700;font-size:14px;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:start}
.mxd .frow__m{font-size:12px;color:var(--muted)}
.mxd .frow.is-err{border-color:var(--red)}
.mxd .frow__pick{position:relative;overflow:hidden}

/* Admin: the attribute lists, grouped in a side list (a picker on phones). */
.mxd .attrs{display:grid;grid-template-columns:248px minmax(0,1fr);gap:20px;align-items:start}
.mxd .anav{position:sticky;top:12px;display:flex;flex-direction:column;gap:14px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:10px 8px}
.mxd .anav__h{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);padding:4px 10px 2px}
.mxd .anav__g{display:flex;flex-direction:column;gap:2px}
.mxd .anav__i{display:flex;align-items:center;gap:8px;min-height:36px;padding:0 10px;border-radius:8px;border:0;background:transparent;font-size:14px;font-weight:600;color:var(--text);text-align:start;width:100%}
.mxd .anav__i:hover{background:var(--hover)}
.mxd .anav__i .c{margin-inline-start:auto;font-size:12px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
.mxd .anav__i.on{background:var(--teal-50);color:var(--teal-700);box-shadow:inset 0 0 0 1px var(--teal-100)}
.mxd .anav__i.on .c{color:var(--teal-700)}
.mxd .anav__i .warn{color:var(--amber);font-size:17px}
.mxd .anav-m{display:none}
.mxd .avis--txt{font-size:12px;font-weight:800;color:var(--ink-2);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.mxd .avis--num{font-size:16px;font-weight:800;color:var(--ink-2)}
.mxd .ccprev{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;background:var(--surface-2);box-shadow:inset 0 0 0 1px var(--line);font-size:13px;color:var(--muted)}
.mxd .ccprev b{color:var(--ink);font-size:15px}

/* The details card on the seller's and admin's listing pages. */
.mxd .xgrp{display:flex;flex-direction:column;gap:10px;padding:14px 18px;border-top:1px solid var(--line)}
.mxd .xgrp__t{font-size:13px;font-weight:700;color:var(--muted)}
.mxd .xtags{display:flex;flex-wrap:wrap;gap:6px}
.mxd .xpts{display:flex;flex-direction:column;gap:8px}
.mxd .xpt{display:flex;gap:8px;align-items:flex-start;font-size:14px;color:var(--text)}
.mxd .xpt .ms{font-size:18px;color:var(--muted)}
.mxd .xpt.on .ms{color:var(--teal-600);font-variation-settings:"FILL" 1,"wght" 400,"opsz" 24}
.mxd .xpt.on b{color:var(--ink)}
.mxd .xpt__note{display:block;margin-top:2px;font-size:13px;color:var(--text);unicode-bidi:plaintext;text-align:start}
.mxd .xdocs{display:flex;flex-direction:column;gap:6px}
.mxd .xdoc{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;box-shadow:inset 0 0 0 1px var(--line);color:inherit}
.mxd .xdoc:hover{background:var(--hover)}
.mxd .xdoc .ms{color:var(--slate)}
.mxd .xdoc__n{flex:1;min-width:0;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;unicode-bidi:plaintext;text-align:left}
[dir="rtl"] .mxd .xdoc__n{text-align:right}

@media (max-width:900px){
  .mxd .attrs{grid-template-columns:minmax(0,1fr)}
  .mxd .anav{display:none}
  .mxd .anav-m{display:flex;flex-direction:column;gap:6px}
}
@media (max-width:720px){
  .mxd .docs{grid-template-columns:minmax(0,1fr)}
  .mxd .fsearch{flex-basis:100%;max-width:none}
  .mxd .docs-empty{flex-direction:column;align-items:flex-start}
  .mxd .docs-empty .btn{margin-inline-start:0;width:100%}
}
@media (prefers-reduced-motion:reduce){
  .mxd .ipt__b,.mxd .ipt.is-flash .ipt__b,.mxd .chz .iz{animation:none;transition:none}
}
