/* Segolene colour studio: native CSS artwork, responsive layouts and accessible motion. */
body:not(.customer-theme){--ink:#172b4d;--green:#165e68;--lime:#85eee0;--bg:#f2f5fc;--muted:#64748b;--line:#e1e8f3;background:radial-gradient(ellipse at 95% 0,#e8e8ff 0,transparent 45%),radial-gradient(ellipse at 15% 80%,#e1f6f2 0,transparent 40%),#f2f5fc}
.shell .sidebar{background:radial-gradient(ellipse at 0 0,#174b64 0,transparent 55%),linear-gradient(170deg,#152740,#171e35);box-shadow:8px 0 35px #172b4d0b;color:#edf5ff}
.sidebar .brand img{border-color:#6fcfc982;background:#ffffff0c}.sidebar .brand small{color:#8fd6d4}.sidebar .nav-label{color:#899ebc}.sidebar .nav{gap:6px;padding:4px 2px;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#647993 transparent}.sidebar .nav button{color:#bbcae0;border-radius:11px;position:relative;min-height:41px}.sidebar .nav button .ico{color:#91aacd}.sidebar .nav button[data-nav=customers] .ico{color:#83b9ff}.sidebar .nav button[data-nav=rewards] .ico{color:#c3a5ff}.sidebar .nav button[data-nav=alerts] .ico{color:#f6bd70}.sidebar .nav button[data-nav=marketing] .ico{color:#fa9ebc}.sidebar .nav button[data-nav=wallet] .ico{color:#7fe0d1}.sidebar .nav button.active{background:linear-gradient(110deg,#54d8cd,#a1edce);color:#102f41;box-shadow:0 5px 20px #24bbab26}.sidebar .nav button.active .ico{color:#123c50}.sidebar .nav button:hover:not(.active){background:#ffffff10;color:white}.sidebar .side-user{border-color:#ffffff1b}.sidebar .side-user small{color:#a4b5d0}.sidebar .side-card{background:#ffffff07;border-color:#ffffff16;color:#adc1d6}.sidebar .side-card strong{color:#b5f2e5}.sidebar .company-back{background:#ffffff0c;border:1px solid #ffffff26;color:#d9edf6;border-radius:10px;margin:5px 6px 14px;max-width:calc(100% - 12px)}
.topbar{background:#ffffffc9;backdrop-filter:blur(18px);border-color:#e1e8f3;height:74px}.top-actions .avatar{background:linear-gradient(135deg,#dbedff,#e8ddff);color:#4654a0}.icon-button{border-color:#dee5f1;color:#4c5b7a;box-shadow:0 3px 10px #21366205}.live-dot{background:#1caf9b}.breadcrumb{color:#78859e}.content{padding-top:26px}.page-head h1{font-weight:680;color:#1a3153}.page-head .eyebrow{color:#7767ad}.button{border-radius:10px;background:linear-gradient(120deg,#176a75,#21847d);border-color:transparent;box-shadow:0 5px 14px #116e7520}.button.secondary{background:#fff;color:#334768;border-color:#dce4f0;box-shadow:0 3px 12px #20345905}.text-button{color:#5264ba;font-weight:600}.button:focus-visible,.nav button:focus-visible,.text-button:focus-visible{outline:3px solid #8c93f4;outline-offset:4px}
.dashboard-hero{isolation:isolate;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #ffffff55;border-radius:24px;padding:30px 32px;margin-bottom:22px;color:#fff;background:linear-gradient(115deg,#142c50 5%,#284d79 50%,#4e3d84 100%);box-shadow:0 14px 36px #283e6b20;min-height:210px}
.dashboard-hero:before,.dashboard-hero:after{content:'';position:absolute;pointer-events:none;border-radius:50%;z-index:-1}.dashboard-hero:before{width:330px;height:330px;background:radial-gradient(circle,#48d3cd4a,transparent 68%);left:35%;top:-210px}.dashboard-hero:after{width:400px;height:400px;right:-110px;bottom:-280px;background:radial-gradient(circle,#b9a0ff60,transparent 70%)}
.hero-copy{position:relative;z-index:2;max-width:68%}.hero-kicker{display:flex;align-items:center;gap:8px;font-size:9px;font-weight:650;letter-spacing:2.1px;color:#aad9ea;margin-bottom:12px}.hero-kicker:before{content:'';width:20px;height:2px;background:#7ce2d4;border-radius:4px}.dashboard-hero h1{font-size:clamp(26px,2.7vw,42px);letter-spacing:-1.3px;line-height:1.16;color:white;margin:0 0 10px;font-weight:650}.dashboard-hero h1 em{font-style:normal;color:#8af0d8}.dashboard-hero p{font-size:12px;line-height:1.6;color:#d7e2f6;margin-bottom:18px;max-width:440px}.hero-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hero-actions .button{background:#ecfff9;color:#173d59;border-color:#c0f3e9;box-shadow:0 5px 15px #001a3820}.hero-actions .button.secondary{background:#ffffff0b;border:1px solid #ffffff40;color:#f1f4ff;box-shadow:none}.hero-company{margin-top:17px;display:flex;gap:8px;align-items:center;font-size:10px;color:#b9cde9}.hero-company>span{padding-left:9px;border-left:1px solid #ffffff30}.hero-status{display:flex;align-items:center;gap:6px;position:absolute;right:22px;top:20px;background:#ffffff12;border:1px solid #ffffff26;border-radius:20px;padding:6px 10px;font-size:9px;color:#d6f8f0;z-index:2}.hero-status i{width:5px;height:5px;border-radius:50%;background:#7be5bc}
.hero-art{width:180px;height:170px;position:relative;flex:0 0 180px;display:grid;place-items:center;margin-right:14px;pointer-events:none}.hero-orbit{position:absolute;inset:1px;border:1px solid #ffffff24;border-radius:50%;transform:rotate(-25deg)}.hero-orbit:before{content:'';width:9px;height:9px;border:3px solid #a0eade;background:#55d0ca;position:absolute;top:22px;left:16px;border-radius:50%;box-shadow:0 0 18px #61e4d2}.hero-orbit.inner{inset:24px;border-style:dashed;border-color:#ffffff28;transform:rotate(35deg)}.hero-membership{width:142px;height:94px;border-radius:15px;padding:15px;border:1px solid #ffffff63;box-shadow:0 20px 38px #07183145;transform:rotate(-10deg);background:linear-gradient(130deg,#ffffff2b,#b8dcff12);backdrop-filter:blur(8px);position:relative;overflow:hidden}.hero-membership small{color:#d7e8ff;font-size:7px;letter-spacing:1.6px;display:block}.hero-membership strong{font-size:11px;letter-spacing:1.3px;display:block;margin-top:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hero-membership .ico{color:#9df2da;width:24px;height:24px;margin-top:10px}.hero-art-badge{position:absolute;right:-4px;bottom:26px;width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#76e6cf,#c0ffe1);color:#21566d;box-shadow:0 8px 20px #0e214a44;transform:rotate(10deg)}
.content>.banner{border-radius:13px;border-color:#d3e6f7;background:linear-gradient(100deg,#eaf6fc,#f0f1fe);color:#536a84;padding:12px 16px;font-size:10px;margin-bottom:21px}.content>.banner strong{color:#294e74}.content>.banner>.ico{color:#5387b3}
.stats{gap:15px}.stats>.stat{border:1px solid #ffffff40;border-radius:18px;padding:21px 20px 19px;min-height:148px;color:#fff;overflow:hidden;box-shadow:0 10px 25px #1c41651a;isolation:isolate;background:linear-gradient(130deg,#116572,#106b72)}.stats>.stat:nth-child(2){background:linear-gradient(130deg,#2859ad,#2c61ae)}.stats>.stat:nth-child(3){background:linear-gradient(130deg,#6542a6,#7750b9)}.stats>.stat:nth-child(4){background:linear-gradient(130deg,#9c4a23,#9b4c24)}.stats>.stat:before{content:'';position:absolute;width:130px;height:130px;border:22px solid #ffffff0b;border-radius:50%;right:-45px;bottom:-65px;z-index:-1}.stats>.stat:after{content:'';position:absolute;inset:-50% -100%;background:linear-gradient(110deg,transparent 35%,#ffffff13 48%,transparent 61%);pointer-events:none;transform:translateX(-30%)}.stats>.stat .label,.stats>.stat.feature .label{color:#f0f6ff;font-size:10px;line-height:1.5;gap:6px;align-items:start}.stats>.stat .label>.ico,.stats>.stat.feature .label>.ico{color:#fff;background:#ffffff21;border:1px solid #ffffff1f;width:34px;height:34px;padding:8px;border-radius:11px;margin-top:-3px}.stats>.stat .value{font-size:31px;font-weight:620;letter-spacing:-1px;margin:12px 0 10px;color:#fff}.stats>.stat .foot,.stats>.stat.feature .foot{color:#f0f4fc;font-size:9px;line-height:1.5;position:relative;z-index:1;opacity:.93}
.panel,.card{border-color:#e1e8f3;border-radius:18px;box-shadow:0 6px 24px #263e6806}.panel-head{padding:22px 23px 17px}.panel-head h2{color:#22395c;font-size:15px;font-weight:650}.panel-head p{color:#71819a}.grid-main>.panel{position:relative}.grid-main>.panel:before{content:'';position:absolute;left:23px;top:0;width:45px;height:3px;background:linear-gradient(90deg,#24b4a2,#8adbd6);border-radius:0 0 4px 4px}.grid-main>.panel:nth-child(2):before{background:linear-gradient(90deg,#8c6cdb,#c8a2ef)}.grid-main>.panel:nth-child(2) .panel-head>.ico{background:#f0eafd;color:#9571cd;padding:7px;width:32px;height:32px;border-radius:11px}.pill{color:#526bb5;background:#edf1ff;border:1px solid #e1e8fa;border-radius:20px;padding:6px 9px;font-size:8px;font-weight:650}.chart{background:repeating-linear-gradient(to top,transparent 0,transparent 36px,#eaf0f9 37px,#eaf0f9 38px)}.chart-bar{background:linear-gradient(to top,#189c95,#69d5c7);border-radius:6px 6px 0 0;box-shadow:0 3px 7px #26b2a21c}.chart-bar.shop{background:linear-gradient(to top,#8460c8,#c0a2ee)}.chart-legend i{background:#29b6a5}.chart-legend i.shop{background:#9a76d7}.chart-labels{color:#7d8aa1}.chart-legend{color:#6c7b96}.ring{background:conic-gradient(#38b9ab calc(var(--percent)*1%),#eeebf8 0);box-shadow:0 0 0 7px #f8f7fc}.ring-inner{background:linear-gradient(135deg,#fff,#fbfaff)}.ring strong{color:#4e548c}.ring small{color:#8b84a5}.key-row span:before{background:#26b7a3}.key-row:nth-child(2) span:before{background:#e5a856}.key-row:nth-child(3) span:before{background:#db7c98}.key-row{color:#5f6c85}.note-strip{background:#fff7ec;border-color:#f4e5cf;color:#956228;border-radius:11px}.note-strip .text-button{color:#9a622b}.note-strip>.ico{color:#cd9046}
th{background:#f7f9fe;color:#7d8aa3;border-color:#e5ebf4}td{color:#53627e;border-color:#ecf0f7}td small{color:#7d89a1}.mini .avatar{background:#e7f4f7;color:#258a96;border-radius:10px}.badge{border-radius:7px;background:#e5f7f1;color:#247c65}.badge.pending{background:#fff1d7;color:#925d10}.badge.red{background:#fdeaf0;color:#aa4c68}.badge.blue{background:#e9efff;color:#4c69b0}.table-foot{border-color:#e5ebf4;color:#7b88a0}.footer-note{color:#7c89a3}.field label{color:#596a85}.field input,.field select,.field textarea{border-color:#dbe3f0;border-radius:10px}.field input:focus,.field textarea:focus,.field select:focus{outline-color:#83b9df}.filters input,.filters select{border-color:#dbe4f1;border-radius:9px;color:#51617c}
.owner-app{color:#1b3355}.owner-header{border-color:#dce4f1}.owner-header .brand strong{color:#203a61}.owner-header .brand small{color:#6c7aa0}.owner-intro{position:relative;background:linear-gradient(115deg,#172e51,#3f4983);padding:32px;border-radius:24px;color:#fff;box-shadow:0 12px 32px #203b681b;overflow:hidden}.owner-intro:after{content:'';position:absolute;right:12%;top:-100px;width:250px;height:250px;border:42px solid #ffffff08;border-radius:50%;pointer-events:none}.owner-intro h1{font-size:42px;font-weight:620;letter-spacing:-1.5px;margin:8px 0 12px}.owner-intro p{color:#cfddf3;font-size:14px}.owner-intro .eyebrow{color:#9fdfdd}.owner-intro>.button{background:#85e4d6;color:#173c54;z-index:1}.owner-summary{background:transparent;border:0;gap:15px;overflow:visible}.owner-summary>div{border-radius:16px;background:#e3f5f3;color:#176f70;border:1px solid #ccebe8;box-shadow:0 5px 15px #2b5a7d04}.owner-summary>div:nth-child(2){background:#e7efff;color:#345c9f;border-color:#d7e3fa}.owner-summary>div:nth-child(3){background:#f0e9fb;color:#7852a2;border-color:#e4d9f5}.owner-summary>div:nth-child(4){background:#fff0e4;color:#985c34;border-color:#f4e0cf}.owner-summary span{color:inherit;opacity:.85}.owner-person,.owner-footer{color:#75839e}.company-card{border-color:#dfe7f4;box-shadow:0 8px 30px #213c6a08}.company-monogram{background:linear-gradient(130deg,#d5f0ec,#dce7fb);color:#326785;box-shadow:0 6px 14px #407e9a12}.company-card dt,.company-card>p,.company-address{color:#72829d}.company-card dd{color:#2f4770}.company-card h2{color:#223e64;font-weight:600}.company-open{background:linear-gradient(115deg,#237e88,#4765a7)}
@keyframes studio-rise{from{opacity:0;transform:translateY(22px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes studio-orbit{to{transform:rotate(335deg)}}
@keyframes studio-float{0%,100%{transform:translateY(0) rotate(-10deg)}50%{transform:translateY(-7px) rotate(-7deg)}}
@keyframes studio-halo{0%,100%{opacity:.55;transform:translate(0,0)}50%{opacity:1;transform:translate(18px,12px)}}
@keyframes studio-sheen{0%,65%{transform:translateX(-40%);opacity:0}70%{opacity:1}90%,100%{transform:translateX(50%);opacity:0}}
@keyframes studio-beacon{0%,100%{box-shadow:0 0 0 0 #76e4bd00}45%{box-shadow:0 0 0 4px #76e4bd22}}
@media(prefers-reduced-motion:no-preference){
 .dashboard-hero{animation:studio-rise .7s cubic-bezier(.16,1,.3,1) backwards}.dashboard-hero:before,.dashboard-hero:after{animation:studio-halo 12s ease-in-out infinite alternate}.dashboard-hero:after{animation-delay:-6s}.hero-copy>*,.hero-status{animation:workspace-enter .7s ease both}.hero-copy h1{animation-delay:90ms}.hero-copy p{animation-delay:160ms}.hero-actions{animation-delay:230ms}.hero-company{animation-delay:300ms}.hero-orbit{animation:studio-orbit 36s linear infinite}.hero-orbit.inner{animation-duration:50s;animation-direction:reverse}.hero-membership{animation:studio-float 7s ease-in-out infinite}.hero-status i,.topbar .live-dot{animation:studio-beacon 3s ease-in-out infinite}
 .stats>.stat{animation:studio-rise .75s cubic-bezier(.16,1,.3,1) backwards;animation-delay:100ms}.stats>.stat:nth-child(2){animation-delay:180ms}.stats>.stat:nth-child(3){animation-delay:260ms}.stats>.stat:nth-child(4){animation-delay:340ms}.stats>.stat:after{animation:studio-sheen 14s ease-in-out infinite}.stats>.stat:nth-child(2):after{animation-delay:1s}.stats>.stat:nth-child(3):after{animation-delay:2s}.stats>.stat:nth-child(4):after{animation-delay:3s}
 .grid-main>.panel,.content>.panel{animation:studio-rise .8s cubic-bezier(.16,1,.3,1) backwards;animation-delay:280ms}.grid-main>.panel:nth-child(2){animation-delay:380ms}.content>.panel{animation-delay:440ms}.chart-bar{animation-duration:1.15s}.nav button{transition:transform .25s ease,background-color .25s ease,color .25s ease,box-shadow .25s ease}.company-card{animation-fill-mode:backwards}.nav button.active .ico{animation:status-arrive .4s ease-out}.panel,.icon-button,.stat .ico,.company-monogram{transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}tbody tr{transition:background-color .2s ease}
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.stats>.stat:hover{transform:translateY(-6px);box-shadow:0 17px 32px #263f6b27}.stats>.stat:hover .ico{transform:rotate(-8deg) scale(1.08)}.sidebar .nav button:hover{transform:translateX(3px)}.panel:hover{border-color:#cbd9ec;box-shadow:0 10px 30px #263f6b0a}.company-card:hover .company-monogram{transform:rotate(-5deg) scale(1.06)}tbody tr:hover{background:#f4f8fe}.icon-button:hover{transform:translateY(-2px);box-shadow:0 5px 16px #263f6b13}}
@media(min-width:1500px){.dashboard-hero{padding:36px 42px}.hero-art{margin-right:45px}.stats>.stat{min-height:160px}}
@media(max-width:1100px){.dashboard-hero{padding:25px;gap:10px}.hero-art{flex-basis:135px;width:135px;height:145px;margin-right:0}.hero-membership{width:123px;height:86px;padding:12px}.hero-status{right:16px;top:15px}.hero-art-badge{right:-4px;bottom:15px}.stats>.stat{padding:18px 16px}.stats>.stat .value{font-size:28px}.hero-company{font-size:9px}}
@media(max-width:760px){.dashboard-hero{padding:25px 22px;min-height:230px;border-radius:20px;align-items:center}.hero-copy{max-width:100%}.dashboard-hero h1{font-size:30px;max-width:85%;line-height:1.18}.dashboard-hero p{max-width:84%;font-size:11px}.hero-art{display:none}.hero-status{position:static;display:none}.hero-actions .button{padding:10px 12px;font-size:10px}.hero-company{flex-wrap:wrap;font-size:9px}.hero-kicker{font-size:8px;letter-spacing:1.5px}.stats{gap:12px}.stats>.stat{min-height:144px;padding:17px 15px}.stats>.stat .label{font-size:10px}.stats>.stat .label>.ico{width:29px;height:29px;padding:6px}.stats>.stat .value{font-size:28px}.stats>.stat .foot{font-size:9px}.panel-head{padding:20px 19px 16px}.owner-intro{padding:26px}.owner-intro h1{font-size:34px}.owner-summary{gap:12px}.owner-summary>div{padding:20px}.owner-header .brand strong{font-size:14px}.owner-header .brand small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.dashboard-hero,.dashboard-hero *,.dashboard-hero:before,.dashboard-hero:after,.stats>.stat:after,.topbar .live-dot{animation:none!important;transition:none!important}.stats>.stat:after{display:none}}
/* Keep the existing customer dark preference legible with the new shared accents. */
body.customer-theme{--ink:#172b4d;--green:#176575;--lime:#85e4d6;--bg:#f2f5fc;--muted:#64748b;--line:#e1e8f3;background:radial-gradient(ellipse at 100% 0,#e9e7fd,transparent 48%),#f2f5fc}
.customer-theme .page-head h1{font-size:30px;letter-spacing:-1px}.customer-theme .wallet-hero{isolation:isolate;position:relative;overflow:hidden;padding:26px;border-radius:24px;border:1px solid #ffffff50;background:linear-gradient(120deg,#142c50,#354d7e 65%,#4e3d84);box-shadow:0 12px 30px #223b6a22}.customer-member-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px;letter-spacing:2px;color:#c3deef;margin-bottom:27px}.customer-member-brand>.ico{width:23px;height:23px;color:#8ae6d1}.customer-theme .wallet-hero .eyebrow{color:#badde9;font-size:9px;letter-spacing:1.5px;position:relative;z-index:1}.customer-theme .wallet-hero .balance{font-size:clamp(36px,5vw,52px);line-height:1.1;margin:13px 0 14px;font-weight:650;color:#fff;position:relative;z-index:1;font-variant-numeric:tabular-nums}.customer-theme .wallet-hero>p{color:#deebfb;font-size:11px;position:relative;z-index:1}.customer-theme .wallet-hero .actions{position:relative;z-index:1;margin-top:21px}.customer-theme .wallet-hero .button.lime{background:#ddfbf0;border-color:#bdebdc;color:#173f56}.customer-theme .wallet-hero .button.secondary{background:#ffffff0e;border-color:#ffffff3b;color:#f1f5ff}.customer-wallet-art{position:absolute;right:28px;top:62px;width:155px;height:145px;z-index:-1;opacity:.65;pointer-events:none}.customer-wallet-art .hero-membership{position:absolute;top:25px;left:5px}.customer-theme .stats>.stat .label{font-size:10px}.customer-theme .content>.banner.warning{background:#fff3e2;border-color:#eed7b7;color:#8b5b28}.customer-theme .page-head p{color:var(--muted)}
@media(prefers-reduced-motion:no-preference){.customer-theme .wallet-hero{animation:studio-rise .7s cubic-bezier(.16,1,.3,1) backwards}.customer-wallet-art .hero-orbit{animation:studio-orbit 36s linear infinite}.customer-wallet-art .hero-membership{animation:studio-float 7s ease-in-out infinite}.customer-theme .wallet-hero .balance,.customer-theme .wallet-hero .actions{animation:workspace-enter .65s ease-out backwards;animation-delay:140ms}}
@media(max-width:760px){.customer-theme .content{padding-top:20px}.customer-theme .page-head{margin-bottom:21px}.customer-theme .page-head h1{font-size:28px}.customer-theme .wallet-hero{padding:23px}.customer-theme .wallet-hero .balance{font-size:40px}.customer-member-brand{margin-bottom:24px}.customer-wallet-art{right:9px;top:61px;width:119px;height:136px;opacity:.35}.customer-wallet-art .hero-membership{width:116px;height:85px;padding:12px}.customer-theme .wallet-hero .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.customer-theme .wallet-hero .actions>.button:last-child{grid-column:1/-1}.customer-theme .wallet-hero .button{padding:12px 10px;font-size:11px}.customer-theme .stats>.stat .value{font-size:26px}}
@media(prefers-reduced-motion:reduce){.customer-theme .wallet-hero,.customer-theme .wallet-hero *{animation:none!important;transition:none!important}}
@media(prefers-color-scheme:dark){body.customer-theme .page-head h1,body.customer-theme .panel-head h2,body.customer-theme td,body.customer-theme .key-row{color:#dbe7f6}body.customer-theme .page-head .eyebrow,body.customer-theme .panel-head p,body.customer-theme td small,body.customer-theme .chart-legend,body.customer-theme .chart-labels,body.customer-theme .breadcrumb,body.customer-theme .table-foot{color:#aabed7}body.customer-theme .text-button{color:#aab9ff}body.customer-theme .panel,body.customer-theme .card{border-color:#3c5360}body.customer-theme .stats>.stat:nth-child(2){background:linear-gradient(130deg,#2859ad,#2c61ae)}body.customer-theme .stats>.stat:nth-child(3){background:linear-gradient(130deg,#6542a6,#7750b9)}body.customer-theme .stats>.stat:nth-child(4){background:linear-gradient(130deg,#9c4a23,#9b4c24)}}

@media(prefers-color-scheme:dark){body.customer-theme{--ink:#dbe7f6;--muted:#aabed7;--bg:#101c2f;--green:#176575;--line:#3c5360;background:#101c2f}body.customer-theme .panel,body.customer-theme .card{background:#1d2c44}body.customer-theme th{background:#243a57;color:#b5c5da}body.customer-theme .field input,body.customer-theme .field select,body.customer-theme .field textarea{background:#1d2c44;color:#dbe7f6;border-color:#3c5360}}
