/* Anbr Alabeer — elegant feminine theme (Nov 2026).
   Loaded after each page's own <style>. Colours, type, softer shapes, florals and motion only —
   no layout or logic changes. Remove the <link> to go back to the previous look. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,400;1,500;1,600&display=swap');

:root{
  --navy:#3E1E36; --navy2:#7A3E5F; --plum:#3E1E36; --plum2:#7A3E5F; --accent:#3E1E36;
  --gold:#A35E52; --gold-soft:#EBB8AE; --gs:#EBB8AE;
  --cream:#FBE9E6; --navy-fg:#FBE9E6;
  --bg:#FDF5F3; --soft:#FDF5F3; --surface:#FFFFFF; --surface-2:#FAEAE8; --line:#F1D3CC;
  --ink:#2A1224; --fg:#2A1224; --muted:#7A5A6A;
  --radius:20px;
  --fx-rose:linear-gradient(120deg,#FBE3E1 0%,#F6D6CC 45%,#E8A3A6 100%);
  --fx-hero:radial-gradient(60% 55% at 85% 8%,rgba(234,164,170,.45),transparent 70%),radial-gradient(55% 50% at 8% 100%,rgba(246,214,204,.3),transparent 70%),linear-gradient(160deg,#2A1224 0%,#3E1E36 38%,#7A3E5F 78%,#B05C78 100%);
  --fx-flower:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg fill='%23F4C3C8' fill-opacity='.38'%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14'/%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14' transform='rotate(60 30 30)'/%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14' transform='rotate(120 30 30)'/%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14' transform='rotate(180 30 30)'/%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14' transform='rotate(240 30 30)'/%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14' transform='rotate(300 30 30)'/%3E%3C/g%3E%3Ccircle cx='30' cy='30' r='5' fill='%23F6D6CC'/%3E%3C/svg%3E");
  --fx-flower-soft:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cg fill='%23E8A3A6' fill-opacity='.16'%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14'/%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14' transform='rotate(60 30 30)'/%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14' transform='rotate(120 30 30)'/%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14' transform='rotate(180 30 30)'/%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14' transform='rotate(240 30 30)'/%3E%3Cellipse cx='30' cy='15' rx='7.5' ry='14' transform='rotate(300 30 30)'/%3E%3C/g%3E%3C/svg%3E");
}
/* staff app keeps a dark mode: aubergine night */
@media (prefers-color-scheme:dark){html[data-fx="app"]:not([data-theme="light"]){
  --bg:#1C0C18; --surface:#28121F; --surface-2:#341929; --line:#4D2A40;
  --fg:#FBE9E6; --muted:#C9AAB6; --navy:#170A13; --navy-fg:#FBE9E6;
  --gold:#EBB8AE; --gold-soft:#EBB8AE; --accent:#EBB8AE;
}}

body{background:var(--bg)}

/* ---- headers / bars ---- */
.bar,.top{background:linear-gradient(100deg,#2A1224 0%,#3E1E36 45%,#7A3E5F 100%)}

/* ---- display type: soft italic serif ---- */
h1,.section h3,.brand-en{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-weight:500}
[dir="rtl"] h1,[dir="rtl"] .section h3{font-family:'Amiri','IBM Plex Sans Arabic',serif;font-style:normal;font-weight:700}
.mv-card p,.goal::before{font-weight:500}

/* ---- hero: aubergine → rose with florals ---- */
.hero{background:var(--fx-hero);border-radius:30px;box-shadow:0 22px 44px -26px rgba(122,62,95,.7)}
.hero::before{border-color:rgba(246,214,204,.35);border-radius:22px}
.hero::after{content:"";position:absolute;inset:auto;width:130px;height:130px;top:-28px;inset-inline-end:-28px;
  background:var(--fx-flower) center/contain no-repeat;pointer-events:none;opacity:1;height:130px}
.hero p,.hero .tag{color:#F6DCD6}
.hero .dl,.hero-rule{color:#F6D6CC}
.hero-rule span{background:linear-gradient(90deg,transparent,#EBB8AE,transparent)}
.hero h1{background:linear-gradient(100deg,#F6D6CC 0%,#FFFFFF 25%,#EAA4AA 50%,#F6D6CC 75%,#FFFFFF 100%);background-size:200% auto;
  -webkit-background-clip:text;background-clip:text;color:transparent}
.hero img{filter:drop-shadow(0 10px 22px rgba(42,18,36,.45))}
.hero img.logo-script{width:min(270px,80%);height:auto;max-height:none;margin:14px auto 4px;filter:drop-shadow(0 4px 14px rgba(42,18,36,.5))}

/* ---- cards: rounder, blush borders, a faint flower in the corner ---- */
.card,.section,.mv-card,.panel,.kpi,.p{border-radius:24px;border-color:var(--line)}
.section,.mv-card{background-image:var(--fx-flower-soft);background-repeat:no-repeat;background-size:120px;background-position:calc(100% + 34px) -34px;
  box-shadow:0 14px 34px -26px rgba(122,62,95,.55)}
[dir="rtl"] .section,[dir="rtl"] .mv-card{background-position:-34px -34px}
.mv-card::before{background:linear-gradient(90deg,#EBB8AE,#B05C78,#EBB8AE,#B05C78);background-size:300% 100%}
.mv-ic{background:linear-gradient(135deg,#3E1E36,#7A3E5F);color:#F6D6CC;box-shadow:0 0 0 5px rgba(235,184,174,.25)}
.pillar{border-radius:20px}
.pillar:hover,.p:hover{transform:translateY(-3px);box-shadow:0 16px 30px -20px rgba(122,62,95,.55)}
.p{transition:transform .25s,box-shadow .25s}
.p .ic{background:radial-gradient(circle at 50% 40%,#FFFFFF 0%,rgba(255,255,255,0) 60%),linear-gradient(140deg,#FBE3E1,#F2C1C4);border-radius:18px}
.search,.in{border-radius:999px}
textarea.in{border-radius:18px}
.cats button[aria-pressed=true],.seg button[aria-pressed="true"]{box-shadow:0 8px 18px -10px rgba(62,30,54,.6)}

/* ---- filled accents: rose-gold with aubergine text (readable) ---- */
.chip .n,.badge,.cartbar button,.btn.primary,.viewsw button[aria-pressed="true"],.pubbar .btn,.doc-bar .btn.primary,
.stocksec button[aria-selected="true"] b{background:var(--fx-rose);color:#3E1E36;border-color:#E8A3A6}
.cartbar button{border-radius:999px;box-shadow:0 12px 30px -12px rgba(176,92,120,.7);position:relative;overflow:hidden}
.add,.btn{border-radius:999px}
.progress>div{background:linear-gradient(90deg,#EBB8AE,#B05C78)}
.kinds button[aria-pressed=true],.seg button[aria-pressed=true]{border-color:#E8A3A6}
.kinds button[aria-pressed=true]{background:#FBEDEB;box-shadow:inset 0 0 0 1px #E8A3A6}

/* ---- motion ---- */
@keyframes fx-up{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes fx-spin{to{transform:rotate(360deg)}}
@keyframes fx-shimmer{to{background-position:200% center}}
@keyframes fx-breathe{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes fx-glow{0%,100%{box-shadow:0 12px 30px -12px rgba(176,92,120,.6)}50%{box-shadow:0 14px 40px -8px rgba(234,164,170,.95)}}
@keyframes fx-line{to{background-position:300% 0}}
@keyframes fx-sheen{0%{transform:translateX(-160%) skewX(-18deg)}55%,100%{transform:translateX(420%) skewX(-18deg)}}
@keyframes fx-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}

@media (prefers-reduced-motion:no-preference){
  .hero::after{animation:fx-spin 34s linear infinite}
  .hero::before{animation:fx-breathe 6s ease-in-out infinite}
  .hero h1{animation:fx-shimmer 7s linear infinite}
  .hero img{animation:fx-float 5s ease-in-out infinite}
  .mv-card::before{animation:fx-line 8s linear infinite}
  .cartbar button,.btn.primary{animation:fx-glow 3s ease-in-out infinite}
  .cartbar button::after{content:"";position:absolute;top:0;bottom:0;left:0;width:60px;
    background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.6),rgba(255,255,255,0));animation:fx-sheen 5s ease-in-out infinite;pointer-events:none}
  .chip .n{transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
  /* entrance — only during the first moments after a page opens (see theme-feminine.js) */
  html.fx-on:not(.fx-done) :is(.hero,.season,.finder,.section,.mv-card,.goal,.pillar,main>.card,.p,.kpi,.panel){animation:fx-up .8s cubic-bezier(.2,.7,.2,1) both}
  html.fx-on:not(.fx-done) :is(.section,.mv-card,.goal,.pillar,main>.card,.p,.kpi,.panel):nth-child(2){animation-delay:.1s}
  html.fx-on:not(.fx-done) :is(.section,.mv-card,.goal,.pillar,main>.card,.p,.kpi,.panel):nth-child(3){animation-delay:.2s}
  html.fx-on:not(.fx-done) :is(.section,.mv-card,.goal,.pillar,main>.card,.p,.kpi,.panel):nth-child(4){animation-delay:.3s}
  html.fx-on:not(.fx-done) :is(.section,.mv-card,.goal,.pillar,main>.card,.p,.kpi,.panel):nth-child(5){animation-delay:.4s}
  html.fx-on:not(.fx-done) :is(.section,.mv-card,.goal,.pillar,main>.card,.p,.kpi,.panel):nth-child(n+6){animation-delay:.5s}
}
