/* Martaland Perfume Dashboard — isolated, RTL-first styles */
.mlpd-dashboard{--mlpd-ink:#18343a;--mlpd-muted:#60767a;--mlpd-line:#e5eeec;--mlpd-accent:#12665f;box-sizing:border-box;width:100%;max-width:960px;margin:32px auto;color:var(--mlpd-ink);font-family:Vazirmatn,"Vazir",Tahoma,"Noto Sans Arabic",Arial,sans-serif;background:#fff;border:1px solid #dce9e6;border-radius:22px;overflow:hidden;box-shadow:0 14px 38px rgba(19,59,57,.09);direction:rtl;line-height:1.7;isolation:isolate}
.mlpd-dashboard *{box-sizing:border-box;min-width:0}.mlpd-dashboard h2,.mlpd-dashboard h3,.mlpd-dashboard p{font-family:inherit}.mlpd-head{position:relative;padding:24px 30px 20px;background:radial-gradient(ellipse at 8% 0%,rgba(255,255,255,.18),transparent 42%),linear-gradient(115deg,#123f4b,#12665f);color:#fff}.mlpd-head h2{font-size:clamp(21px,3vw,26px);line-height:1.45;margin:5px 0 0;color:#fff;font-weight:800}.mlpd-kicker{font-size:10px;letter-spacing:1.7px;opacity:.9;direction:ltr;display:inline-block}.mlpd-head-mark{position:absolute;left:27px;top:18px;font-size:29px;color:#c4e6d8;opacity:.9}.mlpd-content{padding:5px 28px 15px}.mlpd-section{padding:19px 1px 20px;border-bottom:1px solid var(--mlpd-line)}.mlpd-section:last-child{border-bottom:0}.mlpd-section h3{margin:0 0 14px;font-size:16px;font-weight:800;color:#173f43;display:flex;align-items:center;gap:9px}.mlpd-section h3:before{content:"";width:4px;height:19px;background:#178074;border-radius:5px;display:inline-block}
.mlpd-season-grid,.mlpd-taste-grid,.mlpd-temper-grid,.mlpd-gender-grid{display:grid;gap:12px}.mlpd-season-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mlpd-season{--mlpd-color:#398568;min-width:0;padding:14px 14px 13px;border:1px solid #dcebe3;background:linear-gradient(145deg,#fff,#f4faf6);border-radius:15px;transition:transform .2s,box-shadow .2s}.mlpd-season:hover,.mlpd-temper:hover,.mlpd-aroma:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(20,65,59,.10)}.mlpd-season-summer{--mlpd-color:#b67b26;border-color:#efe6d4;background:linear-gradient(145deg,#fff,#fdf9f0)}.mlpd-season-autumn{--mlpd-color:#ad6042;border-color:#f0e2da;background:linear-gradient(145deg,#fff,#fcf6f2)}.mlpd-season-winter{--mlpd-color:#397899;border-color:#dce9ef;background:linear-gradient(145deg,#fff,#f3f8fb)}.mlpd-season-icon{display:block;font-size:21px;color:var(--mlpd-color);line-height:1.1}.mlpd-season b,.mlpd-season strong{display:block}.mlpd-season b{font-size:13px;margin:8px 0 2px}.mlpd-season strong,.mlpd-taste strong{font-size:21px;font-variant-numeric:tabular-nums;color:#183c40;line-height:1.4}.mlpd-season strong small,.mlpd-taste strong small,.mlpd-temper strong small,.mlpd-ring small{font-size:11px;margin-right:2px;color:var(--mlpd-muted)}.mlpd-track{height:8px;display:block;border-radius:8px;background:#e7eeeb;overflow:hidden}.mlpd-track i{height:100%;display:block;background:linear-gradient(90deg,#1b746b,var(--mlpd-color,#278478));border-radius:inherit;transition:width .7s ease}.mlpd-season .mlpd-track{margin-top:9px}
.mlpd-taste-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mlpd-taste{--mlpd-color:#19766e;text-align:center;padding:8px 9px 12px;border-radius:14px;background:#fff;border:1px solid #e3ece9}.mlpd-taste-sweet{--mlpd-color:#a74e76}.mlpd-taste-spicy{--mlpd-color:#b76535}.mlpd-taste-bitter{--mlpd-color:#677244}.mlpd-taste-sour{--mlpd-color:#47814d}.mlpd-taste svg{display:block;width:100%;max-width:150px;height:72px;margin:0 auto;overflow:visible}.mlpd-arc-bg,.mlpd-arc{fill:none;stroke-width:10;stroke-linecap:round}.mlpd-arc-bg{stroke:#e8efed}.mlpd-arc{stroke:var(--mlpd-color);transition:stroke-dashoffset .7s ease}.mlpd-taste b,.mlpd-taste strong{display:block}.mlpd-taste b{font-size:13px;margin-top:-1px;color:#29464a}
.mlpd-temper-grid,.mlpd-gender-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mlpd-temper{--mlpd-color:#a75d40;padding:15px 17px;border-radius:15px;border:1px solid #efdfd7;background:linear-gradient(130deg,#fff9f5,#fff);transition:transform .2s,box-shadow .2s}.mlpd-temper-cool{--mlpd-color:#397899;border-color:#dce9ef;background:linear-gradient(130deg,#f3f9fc,#fff)}.mlpd-temper>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.mlpd-temper b{font-size:14px}.mlpd-temper strong{font-size:21px;color:#183c40}.mlpd-temper .mlpd-track{height:8px}.mlpd-temper-cool .mlpd-track{background:#e5eef2}.mlpd-gender{display:flex;align-items:center;justify-content:center;gap:13px;padding:11px;border-radius:15px;background:#fff;border:1px solid var(--mlpd-line)}.mlpd-ring{--mlpd-color:#176f69;width:72px;height:72px;flex:0 0 72px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--mlpd-color) var(--mlpd-value),#e8efed 0);position:relative}.mlpd-ring:before{content:"";position:absolute;inset:7px;background:#fff;border-radius:50%}.mlpd-ring b{position:relative;font-size:16px;font-variant-numeric:tabular-nums;color:#183c40}.mlpd-gender-female .mlpd-ring{--mlpd-color:#a74e76}.mlpd-gender strong{font-size:14px;color:#29464a}.mlpd-aroma-list{display:flex;flex-wrap:wrap;gap:9px}.mlpd-aroma{--mlpd-color:#28765e;display:flex;align-items:center;gap:8px;max-width:100%;padding:8px 13px;border-radius:6px 12px 12px 6px;color:#23433a;background:#f0f7f3;border-right:4px solid var(--mlpd-color);font-size:13px;transition:transform .2s,box-shadow .2s;overflow-wrap:anywhere}.mlpd-aroma span{color:var(--mlpd-color);flex:0 0 auto}.mlpd-aroma-step-2{--mlpd-color:#756093;background:#f5f2f8}.mlpd-aroma-step-3{--mlpd-color:#a36a37;background:#faf5ee}.mlpd-aroma-step-4{--mlpd-color:#39728c;background:#f0f6f8}.mlpd-aroma-step-5{--mlpd-color:#98546c;background:#faf2f5}.mlpd-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 29px;background:#f3f8f6;color:#516b68;font-size:11px}.mlpd-foot span:last-child{font-size:19px;color:#147267}
/* Admin settings and product editor */
.mlpd-product-list{max-height:270px;overflow:auto;max-width:560px;padding:7px 12px;border:1px solid #c3c4c7;background:#fff}.mlpd-product-list label{display:block;padding:6px;border-bottom:1px solid #eee}.mlpd-product-list label small{color:#666}.mlpd-product-search{max-width:560px;width:100%;margin:0 0 8px}.mlpd-admin-fields fieldset{border:1px solid #d5dfdc;padding:12px;margin:14px 0}.mlpd-admin-fields legend{font-weight:700;padding:0 6px}.mlpd-admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.mlpd-admin-grid label{display:flex;align-items:center;justify-content:space-between;gap:8px}.mlpd-admin-grid input{width:76px}.mlpd-aroma-label{display:block;font-weight:600}.mlpd-aroma-label span{font-weight:400;color:#666}
@media(max-width:760px){.mlpd-dashboard{margin:22px auto;border-radius:18px}.mlpd-content{padding-right:19px;padding-left:19px}.mlpd-season-grid,.mlpd-taste-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mlpd-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.mlpd-dashboard{margin:18px 0;border-radius:15px}.mlpd-head{padding:19px 16px 16px}.mlpd-head h2{font-size:21px}.mlpd-head-mark{left:15px;top:15px}.mlpd-content{padding:2px 12px 10px}.mlpd-section{padding:16px 0}.mlpd-season,.mlpd-temper{padding:11px}.mlpd-temper-grid,.mlpd-gender-grid{gap:8px}.mlpd-gender{gap:7px;padding:8px 5px;flex-direction:column;text-align:center}.mlpd-ring{width:64px;height:64px;flex-basis:64px}.mlpd-gender strong{font-size:12px}.mlpd-foot{padding:10px 14px}.mlpd-aroma{padding:7px 10px;font-size:12px}}
@media(prefers-reduced-motion:reduce){.mlpd-dashboard *{transition:none!important;scroll-behavior:auto!important}}
