@import url("digital_elfit_admin_v11.css?v=20260830-world-standard-v11");

/* DIGITAL ELFIT ADMIN V1.2 FINAL POLISH
   UI/UX only. Readability, hierarchy, responsive layout and icon consistency. */
:root{--de-wine:#4a0718;--de-wine-2:#650e29;--de-wine-3:#7f1737;--de-gold:#c8953e;--de-gold-soft:#f7e9cd;--de-ivory:#fcf9f3;--de-paper:#fffefb;--de-text:#2b1d20;--de-muted:#66595c;--de-border:#e8d9c6;--de-green:#157347;--de-red:#b42318;--de-amber:#a85d0a}
body{font-size:16px!important;color:var(--de-text)!important}

/* Brand mark: same decorative mark, no random DE box. */
.v5-logo,.marketplace-admin .portal-logo-mark{position:relative!important;background:transparent!important;border:1px solid rgba(225,179,94,.72)!important;box-shadow:none!important;border-radius:13px!important;overflow:visible!important}
.v5-logo:before,.marketplace-admin .portal-logo-mark:before{content:"";position:absolute;width:17px;height:17px;border:2px solid #e5bd6b;transform:rotate(45deg);border-radius:3px;left:50%;top:50%;translate:-50% -50%}
.v5-logo:after,.marketplace-admin .portal-logo-mark:after{content:"";position:absolute;width:7px;height:7px;background:#e5bd6b;border-radius:50%;left:50%;top:50%;translate:-50% -50%}
.marketplace-admin .portal-logo{background:transparent!important;border:0!important;box-shadow:none!important;padding:10px 8px 26px!important}
.marketplace-admin .portal-logo strong{font-family:"Playfair Display",Georgia,serif!important;font-size:21px!important;letter-spacing:.055em!important;color:#ffe6a9!important}
.marketplace-admin .portal-logo small{font-size:12px!important;color:#d9ba7c!important;letter-spacing:.12em!important}

/* Consistent lightweight icons without emoji/odd Unicode for critical actions. */
.de-svg{display:inline-block!important;width:20px!important;height:20px!important;min-width:20px!important;background-color:currentColor!important;mask-repeat:no-repeat!important;mask-position:center!important;mask-size:contain!important;-webkit-mask-repeat:no-repeat!important;-webkit-mask-position:center!important;-webkit-mask-size:contain!important}
.de-svg-truck{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3z'/%3E%3Cpath d='M14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3z'/%3E%3Cpath d='M14 10h4l3 3v3h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/svg%3E")}
.de-svg-logout{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M14 3h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3Cpath d='M14 3h5a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-5'/%3E%3C/svg%3E")}
.de-svg-settings{mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06-2.83 2.83-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.1V21H9.6v-.08A1.7 1.7 0 0 0 8.2 19.4a1.7 1.7 0 0 0-1.88.34l-.06.06-2.83-2.83.06-.06A1.7 1.7 0 0 0 3.8 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 0-1.1-.4H2V9.6h.08A1.7 1.7 0 0 0 3.8 8.2a1.7 1.7 0 0 0-.34-1.88l-.06-.06 2.83-2.83.06.06A1.7 1.7 0 0 0 8.2 3.8a1.7 1.7 0 0 0 1-.6 1.7 1.7 0 0 0 .4-1.1V2h4v.08A1.7 1.7 0 0 0 15 3.8a1.7 1.7 0 0 0 1.88-.34l.06-.06 2.83 2.83-.06.06A1.7 1.7 0 0 0 19.4 8.2a1.7 1.7 0 0 0 .6 1 1.7 1.7 0 0 0 1.1.4H21v4h-.08A1.7 1.7 0 0 0 19.4 15z'/%3E%3C/svg%3E");-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06-2.83 2.83-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.1V21H9.6v-.08A1.7 1.7 0 0 0 8.2 19.4a1.7 1.7 0 0 0-1.88.34l-.06.06-2.83-2.83.06-.06A1.7 1.7 0 0 0 3.8 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 0-1.1-.4H2V9.6h.08A1.7 1.7 0 0 0 3.8 8.2a1.7 1.7 0 0 0-.34-1.88l-.06-.06 2.83-2.83.06.06A1.7 1.7 0 0 0 8.2 3.8a1.7 1.7 0 0 0 1-.6 1.7 1.7 0 0 0 .4-1.1V2h4v.08A1.7 1.7 0 0 0 15 3.8a1.7 1.7 0 0 0 1.88-.34l.06-.06 2.83 2.83-.06.06A1.7 1.7 0 0 0 19.4 8.2a1.7 1.7 0 0 0 .6 1 1.7 1.7 0 0 0 1.1.4H21v4h-.08A1.7 1.7 0 0 0 19.4 15z'/%3E%3C/svg%3E")}

/* Dashboard KPI: never squeeze money or move digits. */
.v5-kpis{grid-template-columns:repeat(3,minmax(230px,1fr))!important;gap:18px!important}
.v5-kpi{min-height:150px!important;padding:22px!important;overflow:hidden!important}
.v5-kpi .topline{align-items:flex-start!important}.v5-kpi .topline>div{min-width:0!important;flex:1!important}
.v5-kpi span{font-size:15px!important;line-height:1.4!important}.v5-kpi strong{font-size:clamp(27px,1.8vw,34px)!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important;letter-spacing:-.02em!important}.v5-kpi small{font-size:14px!important;line-height:1.45!important}

/* Dashboard information density and readability. */
.v5-att{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.v5-att a{min-height:112px!important;padding:18px!important}.v5-att strong{font-size:29px!important}.v5-att span{font-size:15px!important;line-height:1.45!important;margin-top:4px!important}.v5-att .ai{width:48px!important;height:48px!important}
.v5-live-row{grid-template-columns:minmax(220px,1.45fr) minmax(100px,.55fr) minmax(145px,.7fr) auto!important;gap:18px!important;min-height:78px!important;padding:14px 2px!important;font-size:15px!important}.v5-live-row strong{font-size:15px!important}.v5-live-row small{font-size:13px!important;line-height:1.4!important;margin-top:4px!important}.v5-live-row .v5-money{font-size:15px!important}.v5-live-row .v5-btn2{min-width:84px!important}
.v5-grid3{grid-template-columns:minmax(0,1.55fr) minmax(340px,.85fr)!important;gap:18px!important}.v5-grid3>section:first-child{grid-column:1/-1!important}.v5-grid3 .v5-card{min-height:0!important}.v5-card-head>a{font-size:14px!important;white-space:nowrap!important}

/* Charts: readable dates + useful tooltip, no giant dead area. */
.v5-chart{height:270px!important;gap:7px!important;padding:24px 2px 28px!important;border-bottom:0!important;align-items:stretch!important;background:repeating-linear-gradient(to top,#f2e9dc 0 1px,transparent 1px 25%)!important;border-radius:14px!important}
.v5-chart-item{flex:1;min-width:16px;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;position:relative;height:100%}.v5-chart-item .v5-bar{width:min(76%,28px);flex:none!important;min-height:3px;background:linear-gradient(180deg,#6d0f2b 0%,#a64e61 56%,#d5a08d 100%)!important;border-radius:7px 7px 2px 2px!important;box-shadow:0 6px 14px rgba(92,14,40,.12)}.v5-chart-item small{font-size:11px!important;color:#74676a!important;white-space:nowrap!important}.v5-bar:hover:after{font-size:12px!important;padding:7px 9px!important;border-radius:8px!important;background:#341019!important;z-index:5!important}
.v5-rank{grid-template-columns:36px 1fr auto!important;gap:12px!important;min-height:72px!important;padding:14px 2px!important}.v5-rank .num{width:32px!important;height:32px!important;font-size:13px!important}.v5-rank strong{font-size:16px!important;line-height:1.35!important}.v5-rank small{font-size:13px!important;margin-top:3px!important}.v5-rank .v5-money{font-family:"Playfair Display",Georgia,serif!important;font-size:21px!important;color:#351018!important}

/* Orders and all navigation tabs. */
.v5-subtabs{gap:8px!important;margin:18px 0!important}.v5-subtabs a{font-size:14px!important;min-height:42px!important;padding:10px 14px!important;border-radius:10px!important;color:#51464a!important;background:#fff!important}.v5-subtabs a.active{background:#fff1dd!important;color:#65112a!important;border-color:#d9aa5b!important;box-shadow:0 5px 14px rgba(86,17,42,.07)!important}.v5-summary{grid-template-columns:repeat(3,minmax(190px,1fr))!important;gap:12px!important}.v5-summary div{padding:15px!important;border-radius:13px!important}.v5-summary span{font-size:14px!important}.v5-summary strong{font-size:18px!important;line-height:1.35!important;font-variant-numeric:tabular-nums!important}.v5-summary small{font-size:13px!important}

/* Catalog/action affordance. */
.v5-details summary{font-size:14px!important;min-height:40px!important;display:inline-flex!important;align-items:center!important;gap:7px!important;padding:9px 12px!important;border:1px solid #dfc7a3!important;border-radius:10px!important;color:#5e1228!important;background:#fffaf2!important;font-weight:800!important}.v5-table td:last-child .v5-details summary:hover{background:#fff0d8!important;border-color:#c8943d!important}.v5-table td:last-child .v5-details summary .de-svg{width:17px!important;height:17px!important}.de-loss{color:var(--de-red)!important}.de-positive{color:#2e2627!important}.v5-table td:nth-child(n+2):not(:first-child){font-variant-numeric:tabular-nums}.v5-table td .v5-status{vertical-align:middle}

/* Button contrast: readable in every state. */
.v5-btn,.bc button,.bc-btn,.sfad .btn{color:#fff!important;background:linear-gradient(135deg,#75142f,#4a0718)!important;text-shadow:none!important}.v5-btn:disabled,.bc button:disabled,.bc-btn[aria-disabled="true"]{background:#d8c8c9!important;color:#66595c!important;opacity:1!important;cursor:not-allowed!important}.v5-btn2,.bc-btn.secondary{color:#431421!important;background:#fffefb!important;border:1px solid #ddc8aa!important}.bc-note{font-size:14px!important;color:#5f5356!important}.bc-tabs a{font-size:15px!important;padding:12px 16px!important}.bc-pill{font-size:13px!important;padding:7px 11px!important}.bc-kpi span{font-size:15px!important}.bc-kpi strong{font-size:32px!important;white-space:nowrap!important;font-variant-numeric:tabular-nums}.bc-card h2{font-size:27px!important}.bc-table th{font-size:13px!important}.bc-table td{font-size:14px!important}

/* Partner Control: readable helpers + consistent brand/status/action. */
.marketplace-admin .portal-menu a{font-size:15px!important;min-height:50px!important;padding:13px 14px!important}.marketplace-admin .portal-menu .nav-icon{width:24px!important;height:24px!important;display:grid!important;place-items:center!important;color:#efc46d!important}.marketplace-admin .portal-sidebar-footer a{font-size:15px!important;min-height:50px!important;gap:10px!important}.marketplace-admin .portal-topbar strong{font-size:19px!important}.marketplace-admin .portal-top-label{font-size:11px!important}.marketplace-admin .accordion-card summary strong{font-size:17px!important}.marketplace-admin .accordion-card summary small{font-size:14px!important;line-height:1.45!important;margin-top:4px!important}.marketplace-admin .mp-admin-partner-head{padding-top:14px!important}.marketplace-admin .mp-admin-partner-head h1{font-size:39px!important;line-height:1.15!important;margin-top:7px!important}.marketplace-admin .mp-admin-partner-head p{font-size:15px!important;line-height:1.5!important;color:#65595c!important}.marketplace-admin .mp-badge{font-size:13px!important;padding:7px 11px!important}.marketplace-admin .mp-tabs a{font-size:15px!important;min-height:44px!important;padding:11px 16px!important}.marketplace-admin .mp-finance-formula{font-size:14px!important;line-height:1.55!important;gap:7px!important}.marketplace-admin .mp-finance-formula strong{font-size:16px!important;margin-top:4px!important}.marketplace-admin .mp-finance-formula b{font-size:15px!important;padding:8px 10px!important;border-radius:9px!important;background:#edf8f0!important;color:#116d42!important}.marketplace-admin .mp-alert{font-size:13.5px!important;line-height:1.55!important}.marketplace-admin .de-partner-portal{background:linear-gradient(135deg,#75142f,#4a0718)!important;color:#fff!important;border-color:#75142f!important}

/* Standalone Business/Storefront top rails. */
body.de-standalone{font-size:16px!important}.de-admin-rail{font-size:15px!important}.de-rail-nav a,.de-rail-foot a{font-size:15px!important}.bc-head p,.sfad-note{font-size:15px!important}.sfad-pill{font-size:13px!important}.sfad-code{font-size:14px!important}

@media(max-width:1450px){.v5-kpis{grid-template-columns:repeat(2,minmax(240px,1fr))!important}.v5-grid3{grid-template-columns:1fr!important}.v5-grid3>section:first-child{grid-column:auto!important}.v5-att{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1050px){.v5-grid2{grid-template-columns:1fr!important}.v5-live-row{grid-template-columns:1fr auto!important}.v5-live-row>div:nth-child(3){grid-column:1/2}.v5-live-row>div:last-child{grid-column:2/3;grid-row:1/3}.v5-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v5-chart-item small{display:none}}
@media(max-width:720px){.v5-kpis,.v5-att,.v5-summary{grid-template-columns:1fr!important}.v5-kpi strong{font-size:30px!important}.v5-content{padding:20px 16px 38px!important}.v5-heading h1{font-size:34px!important}.v5-chart{height:220px!important}}

/* Standalone brand symbol consistency */
.de-brand-symbol{position:relative!important;background:transparent!important;border:1px solid rgba(225,179,94,.72)!important;color:transparent!important;box-shadow:none!important}
.de-brand-symbol:before{content:"";position:absolute;width:17px;height:17px;border:2px solid #e5bd6b;transform:rotate(45deg);border-radius:3px;left:50%;top:50%;translate:-50% -50%}.de-brand-symbol:after{content:"";position:absolute;width:7px;height:7px;background:#e5bd6b;border-radius:50%;left:50%;top:50%;translate:-50% -50%}.de-rail-foot a{display:flex!important;align-items:center!important;gap:10px!important}
