:root{
  --bg:#f5f6fa;--surface:#fff;--surface2:#fafaff;--text:#11131a;--muted:#737887;
  --purple:#7357ff;--purple2:#9b86ff;--purpleSoft:#eeeaff;--green:#1fa76d;--greenSoft:#e8f8f0;
  --orange:#e89417;--orangeSoft:#fff3dd;--red:#d84e4b;--redSoft:#ffe9e7;--blue:#3478db;--blueSoft:#eaf2ff;
  --border:#e7e9f0;--shadow:0 16px 44px rgba(31,27,62,.09);--radius:22px;
}
*{box-sizing:border-box}html{background:#eef0f5}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:linear-gradient(180deg,#f8f8fc 0,#eef0f5 100%);min-height:100vh}
button,input,textarea,select{font:inherit}.app{width:min(100%,480px);margin:0 auto;min-height:100vh;background:var(--bg);position:relative;overflow:hidden;border-left:1px solid var(--border);border-right:1px solid var(--border)}
.topbar{height:68px;padding:15px 18px 10px;display:flex;align-items:center;justify-content:space-between;background:rgba(245,246,250,.92);backdrop-filter:blur(18px);position:sticky;top:0;z-index:30}.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:21px;letter-spacing:-.5px}.logo{width:35px;height:35px;border-radius:12px;background:linear-gradient(145deg,#8469ff,#6243e8);display:grid;place-items:center;color:white;font-size:21px;box-shadow:0 8px 22px rgba(115,87,255,.28)}
.iconbtn{border:1px solid var(--border);background:var(--surface);width:40px;height:40px;border-radius:14px;box-shadow:0 5px 18px rgba(28,28,42,.06);font-size:20px;cursor:pointer;color:var(--text)}
main{padding:6px 16px calc(112px + env(safe-area-inset-bottom))}.view{display:none;animation:fade .18s ease}.view.active{display:block}@keyframes fade{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:none}}
.hello{margin:8px 2px 16px}.hello h1{font-size:29px;line-height:1.1;margin:0 0 7px;letter-spacing:-.9px}.hello p,.lead{margin:0;color:var(--muted);font-size:14px;line-height:1.45}
.hero{background:linear-gradient(145deg,#111422,#252346);border-radius:29px;padding:22px;color:white;box-shadow:var(--shadow);margin-bottom:17px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;width:190px;height:190px;border-radius:50%;background:rgba(115,87,255,.38);right:-85px;top:-75px}.hero:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.05);right:60px;bottom:-90px}.hero>*{position:relative;z-index:1}.hero h2{font-size:24px;line-height:1.12;margin:0 0 8px;letter-spacing:-.5px}.hero p{margin:0;color:#cfd0df;font-size:14px;line-height:1.48;max-width:330px}.dropBtn{margin-top:18px;border:0;background:white;color:#19182b;border-radius:16px;padding:14px 17px;font-weight:850;font-size:15px;display:inline-flex;gap:10px;align-items:center;cursor:pointer}.plus{width:24px;height:24px;border-radius:9px;background:var(--purple);color:white;display:grid;place-items:center;font-size:18px}
.microline{margin-top:14px;display:flex;align-items:center;gap:7px;color:#c8cada;font-size:12px}.microline b{color:white}
.heroActions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:18px}
.heroActions .dropBtn{margin-top:0}
.voiceHeroBtn{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.10);color:white;border-radius:16px;padding:14px 16px;font-weight:850;font-size:14px;display:inline-flex;gap:8px;align-items:center;cursor:pointer;backdrop-filter:blur(8px)}
.topActions{display:flex;align-items:center;gap:8px}.voiceTopBtn{font-size:18px;background:#f0edff;color:#5e43dc}
.voiceChoice{grid-column:1/-1;background:linear-gradient(135deg,#f3efff,#fbfaff);border-color:#d8cffd;display:flex;align-items:center;gap:12px;min-height:88px}.voiceChoice .ci{width:46px;height:46px;border-radius:15px;background:var(--purple);color:white;display:grid;place-items:center;flex:0 0 auto}.voiceChoice strong{margin-top:0}.voiceChoice small{display:block;margin-top:3px}
.voicePanel{text-align:center;padding:4px 0 2px}.voiceOrb{width:88px;height:88px;border-radius:30px;margin:8px auto 14px;background:linear-gradient(145deg,#856cff,#5d3fe0);color:white;display:grid;place-items:center;font-size:38px;box-shadow:0 18px 42px rgba(105,75,224,.28);position:relative}.voiceOrb.listening:before,.voiceOrb.listening:after{content:"";position:absolute;inset:-9px;border:2px solid rgba(115,87,255,.27);border-radius:36px;animation:voicePulse 1.45s infinite}.voiceOrb.listening:after{inset:-18px;animation-delay:.35s}@keyframes voicePulse{0%{opacity:.8;transform:scale(.92)}70%{opacity:0;transform:scale(1.08)}100%{opacity:0}}
.voiceState{font-size:13px;font-weight:850;margin-bottom:5px}.voiceHint{font-size:11.5px;color:var(--muted);line-height:1.45;margin:0 auto 14px;max-width:330px}.voiceRecordBtn{width:100%;border:0;border-radius:17px;background:#171827;color:white;padding:14px 16px;font-weight:900;cursor:pointer}.voiceRecordBtn.recording{background:#d94e50}.voiceTranscript{width:100%;min-height:96px;border:1px solid var(--border);border-radius:17px;padding:12px 13px;margin-top:12px;font-size:13px;line-height:1.45;resize:vertical;outline:none}.voiceTranscript:focus{border-color:#bfb2ff;box-shadow:0 0 0 3px rgba(115,87,255,.08)}
.voiceExamples{display:flex;gap:7px;overflow:auto;margin:10px 0 12px;scrollbar-width:none}.voiceExamples::-webkit-scrollbar{display:none}.voiceExample{border:1px solid var(--border);background:#fff;border-radius:999px;padding:8px 10px;white-space:nowrap;font-size:10.5px;font-weight:800;cursor:pointer}
.voicePrivacy{background:#f4f1ff;color:#5a46b8;border-radius:14px;padding:10px 11px;font-size:10.5px;line-height:1.4;text-align:left;margin-top:10px}
.voiceAssistantReply{border:1px solid #ddd7ff;background:linear-gradient(145deg,#faf9ff,#f3f0ff);border-radius:18px;padding:13px 14px;margin-bottom:9px}.voiceAssistantReply>strong{display:block;font-size:13px;color:#30285f}.voiceAssistantReply>p{margin:5px 0 0;color:#625d75;font-size:11px;line-height:1.5}.voiceAssistantSection{margin-top:10px;padding-top:9px;border-top:1px solid rgba(104,82,211,.10)}.voiceAssistantSection>b{display:block;font-size:10px;color:#554a92;margin-bottom:5px}.voiceAssistantLine{display:flex;gap:7px;align-items:flex-start;font-size:10.5px;line-height:1.4;color:#34313e;margin-top:4px}.voiceAssistantLine time{min-width:38px;color:#7468b8;font-weight:850}.voiceAssistantActions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.voiceAssistantActions button{border:1px solid #d8d2f5;background:#fff;color:#5c4ac3;border-radius:999px;padding:8px 11px;font-size:9.5px;font-weight:900}.voiceAssistantActions button.primary{background:#6650d6;border-color:#6650d6;color:#fff}.voiceSensitiveCardV2{margin-top:10px;border:1px solid rgba(101,80,214,.13);background:rgba(255,255,255,.72);border-radius:14px;padding:10px 11px}.voiceSensitiveCardV2 small{display:block;color:var(--muted);font-size:8.5px;font-weight:850}.voiceSensitiveCardV2 b{display:block;margin-top:4px;font-size:14px;letter-spacing:.6px;color:var(--text)}.voiceAssistantContextV2{margin-top:7px;color:var(--muted);font-size:8.5px;line-height:1.4}

/* AdminMind Voice 6.9.121 — Person-aware document matching */
.choices{align-items:stretch}
.voiceChoice{order:-1;grid-column:1/-1!important;min-height:112px!important;padding:18px!important;border:1px solid rgba(115,87,255,.16)!important;background:linear-gradient(145deg,#ffffff,#f8f7ff)!important;color:#171827!important;box-shadow:0 14px 34px rgba(38,31,82,.08)!important;border-radius:24px!important}
.voiceChoice .ci{width:54px!important;height:54px!important;border-radius:18px!important;background:linear-gradient(145deg,#8b70ff,#5d42df)!important;box-shadow:0 12px 28px rgba(104,74,226,.34)!important;font-size:24px!important}
.voiceChoice strong{color:#171827!important;font-size:16px!important;font-weight:800!important;letter-spacing:-.2px;opacity:1!important;text-shadow:none!important}.voiceChoice small{color:#6f7482!important;font-size:11px!important;font-weight:400!important;line-height:1.4!important;max-width:290px;opacity:1!important;text-shadow:none!important}
.choices>.choice:not(.voiceChoice){min-height:72px!important;padding:11px!important;border-radius:18px!important;box-shadow:none!important;background:rgba(255,255,255,.76)!important}
.choices>.choice:not(.voiceChoice) .ci{width:34px!important;height:34px!important;border-radius:11px!important;font-size:17px!important}
.choices>.choice:not(.voiceChoice) strong{font-size:11.5px!important}.choices>.choice:not(.voiceChoice) small{font-size:8.8px!important;line-height:1.25!important}
#voiceSheet .sheet{background:radial-gradient(circle at 50% 0,rgba(117,88,255,.09),transparent 30%),linear-gradient(180deg,#fbfbff,#f4f5fa)!important}
.voicePanel{padding-top:0!important}.voicePremiumBadge{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid rgba(115,87,255,.13);background:rgba(255,255,255,.72);border-radius:999px;color:#6552c7;font-size:8.8px;font-weight:900;letter-spacing:.04em;margin:2px auto 8px}
.voiceOrb{width:76px!important;height:76px!important;border-radius:50%!important;margin:6px auto 12px!important;font-size:31px!important;background:radial-gradient(circle at 32% 25%,#9f8cff 0,#7557f4 42%,#4f39bf 100%)!important;box-shadow:0 18px 45px rgba(91,64,199,.26),inset 0 1px 0 rgba(255,255,255,.3)!important}
#voiceSheet h3{font-size:22px!important;letter-spacing:-.6px!important;margin:5px 0 5px!important}.voiceState{font-size:12px!important}.voiceHint{font-size:10.8px!important;max-width:310px!important;margin-bottom:12px!important}
.voiceRecordBtn{min-height:50px!important;border-radius:18px!important;background:linear-gradient(145deg,#171b31,#262b50)!important;box-shadow:0 10px 25px rgba(30,34,66,.14)!important}.voiceRecordBtn.recording{background:linear-gradient(145deg,#d95158,#b93d47)!important}
.voiceTranscript{min-height:68px!important;max-height:112px!important;background:rgba(255,255,255,.78)!important;border-color:rgba(114,105,149,.13)!important;border-radius:18px!important;font-size:12px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important}
.voiceExamples{margin:9px 0 10px!important}.voiceExample{background:rgba(255,255,255,.72)!important;border-color:rgba(114,105,149,.13)!important;color:#6255ad!important;font-size:9.7px!important;padding:7px 9px!important}
#voiceUnderstandBtn{min-height:46px!important;border-radius:17px!important;background:linear-gradient(135deg,#7658ff,#5e45da)!important;box-shadow:0 12px 25px rgba(105,77,218,.17)!important}
.voiceAssistantReply{border:1px solid rgba(108,86,214,.12)!important;background:linear-gradient(145deg,rgba(255,255,255,.93),rgba(246,244,255,.90))!important;border-radius:21px!important;padding:14px 15px!important;box-shadow:0 14px 35px rgba(48,38,92,.08)!important}
.voiceAssistantReply>strong{font-size:13.5px!important;color:#25223a!important}.voiceAssistantReply>p{font-size:10.8px!important;color:#69657a!important;line-height:1.5!important}
.voiceAssistantActions button{min-height:34px!important;padding:7px 11px!important;border-color:rgba(101,80,207,.12)!important;background:rgba(255,255,255,.82)!important}.voiceAssistantActions button.primary{background:#6650d6!important;color:#fff!important}
.voicePrivacy{background:transparent!important;color:#8a8d99!important;padding:8px 3px!important;font-size:8.8px!important;text-align:center!important}
html[data-theme="dark"] #voiceSheet .sheet{background:radial-gradient(circle at 50% 0,rgba(117,88,255,.13),transparent 30%),linear-gradient(180deg,#111622,#0f141f)!important}
html[data-theme="dark"] .choices>.choice:not(.voiceChoice),html[data-theme="dark"] .voiceTranscript,html[data-theme="dark"] .voiceExample{background:rgba(255,255,255,.04)!important;border-color:rgba(255,255,255,.07)!important}

.voiceMatches{display:none;margin-top:13px;text-align:left}.voiceMatches.show{display:block}.voiceMatches>small{display:block;color:var(--muted);font-size:11px;margin-bottom:8px}.voiceMatch{width:100%;border:1px solid var(--border);background:white;border-radius:16px;padding:11px 12px;display:flex;align-items:center;gap:10px;text-align:left;margin-bottom:7px;cursor:pointer}.voiceMatch .vmIcon{width:38px;height:38px;border-radius:12px;background:var(--purpleSoft);display:grid;place-items:center;font-size:18px}.voiceMatch .vmMain{flex:1;min-width:0}.voiceMatch b{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.voiceMatch small{display:block;color:var(--muted);font-size:10.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.section-title{display:flex;justify-content:space-between;align-items:end;margin:19px 2px 10px}.section-title h3{margin:0;font-size:18px;letter-spacing:-.25px}.section-title small{display:block;color:var(--muted);margin-top:3px;font-weight:500}.linkbtn{background:none;border:0;color:var(--purple);font-weight:800;cursor:pointer;padding:4px}
.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:15px;min-height:105px;box-shadow:0 8px 24px rgba(41,39,62,.04)}.stat .n{font-size:28px;font-weight:900;margin:7px 0 1px;letter-spacing:-.7px}.stat .l{font-size:12.5px;color:var(--muted)}
.smartBrief{margin-top:12px;background:linear-gradient(135deg,#15162a,#29244d);color:#fff;border-radius:23px;padding:16px;box-shadow:0 13px 30px rgba(30,27,62,.16)}
.smartBriefTop{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.smartBriefTop small{display:block;color:#c9c8dd;font-size:10.5px;font-weight:750;margin-bottom:4px}.smartBriefTop h3{font-size:17px;margin:0;letter-spacing:-.2px}.smartBriefBadge{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.11);border-radius:999px;padding:6px 8px;font-size:9.5px;font-weight:850;white-space:nowrap}
.smartBriefText{font-size:11.5px;color:#d8d7e7;line-height:1.45;margin:8px 0 12px}.smartBriefChips{display:flex;gap:6px;flex-wrap:wrap}.smartBriefChip{background:rgba(255,255,255,.09);border-radius:999px;padding:6px 8px;font-size:9.5px;font-weight:800}
.smartBriefItems{display:grid;gap:7px;margin-top:12px}.smartBriefItem{border:0;background:rgba(255,255,255,.09);color:white;border-radius:14px;padding:10px 11px;display:flex;gap:9px;align-items:center;text-align:left;cursor:pointer}.smartBriefItem .sbiIcon{width:34px;height:34px;border-radius:11px;background:rgba(255,255,255,.12);display:grid;place-items:center;flex:0 0 auto}.smartBriefItem .sbiMain{flex:1;min-width:0}.smartBriefItem b{display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.smartBriefItem small{display:block;color:#c7c6da;font-size:9.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.smartSearchBox{margin-top:12px;background:#fff;border:1px solid var(--border);border-radius:20px;padding:12px;box-shadow:0 8px 24px rgba(41,39,62,.04)}.smartSearchHead{display:flex;align-items:center;gap:8px;margin-bottom:9px}.smartSearchHead b{font-size:12.5px}.smartSearchHead small{margin-left:auto;color:var(--muted);font-size:9.5px}
.smartSearchInput{width:100%;border:0;background:#f5f5f8;border-radius:14px;padding:11px 12px;font-size:12.5px;outline:none}.smartSearchInput:focus{box-shadow:0 0 0 3px rgba(115,87,255,.09)}
.smartSearchResults{display:grid;gap:6px;margin-top:8px}.smartSearchResult{border:1px solid var(--border);background:#fff;border-radius:14px;padding:9px 10px;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.smartSearchResult .ssrIcon{width:34px;height:34px;border-radius:11px;background:var(--purpleSoft);display:grid;place-items:center}.smartSearchResult .ssrMain{flex:1;min-width:0}.smartSearchResult b{display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.smartSearchResult small{display:block;color:var(--muted);font-size:9.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.smartSearchEmpty{font-size:10.5px;color:var(--muted);padding:5px 2px}
.smartAdvice{background:linear-gradient(135deg,#f2efff,#fbfaff);border:1px solid #ddd5ff;border-radius:17px;padding:12px;margin-bottom:11px}.smartAdvice b{display:block;font-size:12px;color:#5541b6;margin-bottom:4px}.smartAdvice p{margin:0;font-size:11.5px;color:#4f5060;line-height:1.45}
.duplicateCompare{background:#f7f6fb;border:1px solid var(--border);border-radius:17px;padding:12px;margin:10px 0}.duplicateCompare small{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.duplicateCompare b{display:block;font-size:13px}.duplicateCompare p{margin:4px 0 0;color:#626371;font-size:10.5px;line-height:1.4}
.duplicateActions{display:grid;gap:8px;margin-top:12px}.duplicateActions button{width:100%;border-radius:15px;padding:12px 13px;font-weight:850;cursor:pointer}.duplicateReplace{border:0;background:#c74649;color:white}.duplicateKeep{border:1px solid var(--border);background:white;color:#222}.duplicateOpen{border:0;background:#171827;color:white}
.permanentDelete{margin-top:9px;border:1px solid #efc9ca!important;background:#fff7f7!important;color:#b63c40!important}
.feedbackStars{display:flex;gap:7px;margin:12px 0}.feedbackStar{border:1px solid var(--border);background:white;border-radius:12px;width:44px;height:42px;font-size:20px;cursor:pointer}.feedbackStar.on{background:#fff7d8;border-color:#ecd87a}
.feedbackBox{width:100%;min-height:110px;border:1px solid var(--border);border-radius:16px;padding:12px;font:inherit;font-size:12.5px;resize:vertical;outline:none}.feedbackBox:focus{border-color:#bfb2ff;box-shadow:0 0 0 3px rgba(115,87,255,.08)}
.betaPrivacy{margin-top:10px;background:#f5f3ff;color:#5d567a;border-radius:14px;padding:10px 11px;font-size:10.5px;line-height:1.45}
.planStatusCard{margin-top:12px;border:1px solid #ded8ff;background:linear-gradient(135deg,#f5f2ff,#fff);border-radius:20px;padding:13px;display:flex;gap:11px;align-items:center;cursor:pointer;box-shadow:0 8px 24px rgba(41,39,62,.035)}
.planStatusIcon{width:42px;height:42px;border-radius:14px;background:#6b50df;color:white;display:grid;place-items:center;font-size:20px;flex:0 0 auto}.planStatusMain{flex:1;min-width:0}.planStatusMain b{display:block;font-size:12.8px}.planStatusMain small{display:block;color:var(--muted);font-size:10.5px;margin-top:2px;line-height:1.35}.planStatusRight{font-size:10px;font-weight:850;color:#5c47bf;white-space:nowrap}

/* FIX mobile — carte abonnement : aucune superposition avec Family */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.planStatusCard{width:100%;box-sizing:border-box;min-height:70px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;column-gap:11px;row-gap:4px;align-items:center}
.planStatusIcon{grid-column:1;grid-row:1 / span 2}
.planStatusMain{grid-column:2;grid-row:1 / span 2;min-width:0;overflow:hidden}
.planStatusMain b,.planStatusMain small{max-width:100%;overflow-wrap:anywhere;word-break:normal}
.planStatusRight{grid-column:3;grid-row:1 / span 2;align-self:center;justify-self:end}
@media(max-width:520px){
  .planStatusCard{grid-template-columns:42px minmax(0,1fr);padding:12px;min-height:72px}
  .planStatusIcon{grid-column:1;grid-row:1 / span 2}
  .planStatusMain{grid-column:2;grid-row:1}
  .planStatusRight{grid-column:2;grid-row:2;justify-self:start;align-self:start;margin-top:1px}
  .planStatusMain small{font-size:10px;line-height:1.3}
}
.planQuota{height:6px;background:#eae7f6;border-radius:999px;overflow:hidden;margin-top:7px}.planQuota span{display:block;height:100%;background:linear-gradient(90deg,#7257ff,#9a83ff);border-radius:999px}.planStatusCard.free{border-color:#e5e5ea;background:#fff}.planStatusCard.free .planStatusIcon{background:#777887}.planStatusCard.plus{border-color:#d7f0e3;background:linear-gradient(135deg,#f0fbf5,#fff);color:var(--text)}.planStatusCard.plus .planStatusMain b{color:var(--text)}.planStatusCard.plus .planStatusMain small{color:var(--muted)}.planStatusCard.plus .planStatusRight{color:#5c47bf}.planStatusCard.plus .planStatusIcon{background:#169b67}.planStatusCard.expired{border-color:#f0d9b5;background:#fff9ef}.planStatusCard.expired .planStatusIcon{background:#c78122}
.planHero{background:linear-gradient(145deg,#171827,#372d66);color:white;border-radius:23px;padding:17px;margin:7px 0 13px}.planHeroBadge{display:inline-flex;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12);padding:5px 7px;border-radius:999px;font-size:9px;font-weight:850}.planHero h4{font-size:20px;margin:9px 0 5px}.planHero p{color:#d4d0e5;font-size:11.5px;line-height:1.45;margin:0}.planFeatures{display:grid;gap:7px;margin:12px 0}.planFeature{display:flex;gap:9px;align-items:flex-start;border:1px solid var(--border);background:#fbfbfe;border-radius:14px;padding:10px}.planFeature span{font-size:17px}.planFeature b{display:block;font-size:11.5px}.planFeature small{display:block;color:var(--muted);font-size:9.8px;margin-top:2px;line-height:1.35}.priceGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.priceBtn{border:1px solid #d8d1ff;background:#f6f3ff;border-radius:16px;padding:12px;text-align:left;cursor:pointer}.priceBtn b{display:block;font-size:17px;color:#5d47c4}.priceBtn small{display:block;font-size:9.5px;color:var(--muted);margin-top:2px}.priceBtn.best{background:#6b50df;color:white;border-color:#6b50df}.priceBtn.best b,.priceBtn.best small{color:white}.betaPayNote{background:#fff8e9;border:1px solid #f2dfac;color:#72591d;border-radius:14px;padding:10px;font-size:10.3px;line-height:1.4;margin-top:10px}.lockedTag{display:inline-flex;background:#fff0dc;color:#a9650f;border-radius:999px;padding:4px 6px;font-size:8.5px;font-weight:850;margin-left:5px}
/* V4.7.26 TEST — choix Free / Plus / Pro / Pro+ */
.planAudienceTabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0 12px}.planAudienceTab{border:1px solid var(--border);background:var(--surface);color:var(--muted);border-radius:13px;padding:10px 8px;font-size:10px;font-weight:900;cursor:pointer}.planAudienceTab.active{background:var(--purpleSoft);color:var(--purple);border-color:#cfc5ff}.planChoiceGrid{display:grid;gap:9px;margin:8px 0 11px}.planChoiceCard{border:1px solid var(--border);background:var(--surface);border-radius:18px;padding:13px;position:relative;overflow:hidden}.planChoiceCard.recommended{border:1.5px solid #7258e8;box-shadow:0 8px 24px rgba(100,76,214,.10)}.planChoiceCard.proplus{background:linear-gradient(145deg,#17142f,#2b2358);border-color:#6652c8;color:#fff}.planChoiceTop{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.planChoiceName small{display:block;color:var(--muted);font-size:8px;font-weight:900;letter-spacing:.55px;text-transform:uppercase;margin-bottom:3px}.planChoiceName b{display:block;font-size:17px;letter-spacing:-.2px}.planChoicePrice{text-align:right;white-space:nowrap}.planChoicePrice b{display:block;font-size:18px;color:var(--purple)}.planChoicePrice small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.planChoiceCard.proplus .planChoiceName small,.planChoiceCard.proplus .planChoicePrice small,.planChoiceCard.proplus .planChoiceList{color:#c8c1e8}.planChoiceCard.proplus .planChoicePrice b{color:#fff}.planChoiceBadge{display:inline-flex;margin:8px 0 0;background:var(--purpleSoft);color:var(--purple);border-radius:999px;padding:5px 7px;font-size:8px;font-weight:900}.planChoiceCard.proplus .planChoiceBadge{background:rgba(255,255,255,.12);color:#fff}.planChoiceList{display:grid;gap:4px;color:var(--muted);font-size:9px;line-height:1.35;margin:10px 0}.planChoiceList span{display:block}.planChoiceActions{display:grid;gap:7px;margin-top:10px}.planChoiceActions.two{grid-template-columns:1fr 1fr}.planChoiceAction{border:1px solid var(--border);background:#f7f5ff;color:#5c47bd;border-radius:12px;padding:9px 7px;font-size:9px;font-weight:900;cursor:pointer}.planChoiceAction.primaryChoice{background:#6b50df;color:#fff;border-color:#6b50df}.planChoiceCard.proplus .planChoiceAction{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.18)}.planChoiceCard.proplus .planChoiceAction.primaryChoice{background:#8068ff;border-color:#8068ff}.planCurrentNote{font-size:9px;color:var(--muted);line-height:1.4;margin:7px 2px 3px}.planBetaLine{background:#f7f5ff;color:#5c4f8a;border:1px solid #e2dcff;border-radius:13px;padding:9px 10px;font-size:9px;line-height:1.4;margin:9px 0}.planChoiceCard .miniMuted{font-size:8px;color:var(--muted);line-height:1.35;margin-top:7px}.planChoiceCard.proplus .miniMuted{color:#c8c1e8}html[data-theme="dark"] .planAudienceTab,html[data-theme="dark"] .planChoiceCard{background:#171b24;border-color:#2a3040}html[data-theme="dark"] .planAudienceTab.active{background:#292246;color:#cfc6ff;border-color:#5c4db0}html[data-theme="dark"] .planChoiceAction{background:#221d38;color:#cfc6ff;border-color:#3f3565}html[data-theme="dark"] .planBetaLine{background:#211d38;color:#c9c1ed;border-color:#3e3563}html[data-theme="dark"] .planChoiceCard.proplus{background:linear-gradient(145deg,#17142f,#292250);border-color:#6652c8}


.pill{display:inline-flex;align-items:center;padding:6px 8px;border-radius:999px;font-size:10.5px;font-weight:850}.purple{background:var(--purpleSoft);color:#6344df}.green{background:var(--greenSoft);color:#157f50}.orange{background:var(--orangeSoft);color:#a46806}.blue{background:var(--blueSoft);color:#2d70cd}.red{background:var(--redSoft);color:#bd3e3b}
.demoDiscovery{margin:18px 0 4px;border:1px solid #e2ddfb;background:linear-gradient(135deg,#faf8ff,#fff);border-radius:21px;padding:14px;transition:.2s}.demoDiscovery.compact{padding:12px}.demoDiscoveryHead{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:10px}.demoDiscoveryHead h3{font-size:17px;margin:6px 0 2px;letter-spacing:-.25px}.demoDiscoveryHead small{display:block;color:var(--muted);font-size:10.8px;line-height:1.4}.demoFictionBadge{display:inline-flex;align-items:center;background:#eee9ff;color:#6047cc;border-radius:999px;padding:5px 7px;font-size:8.5px;font-weight:950;letter-spacing:.45px}.demoStrip{display:flex;gap:8px;overflow:auto;padding:1px 2px 2px;scrollbar-width:none}.demoStrip::-webkit-scrollbar{display:none}.demoChip{flex:0 0 auto;border:1px solid var(--border);background:white;border-radius:999px;padding:9px 12px;font-size:11.5px;font-weight:800;cursor:pointer;box-shadow:0 5px 16px rgba(41,39,62,.035)}
.cards{display:flex;flex-direction:column;gap:9px}.card{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:14px;display:flex;align-items:center;gap:12px;box-shadow:0 7px 18px rgba(41,39,62,.035);cursor:pointer}.card:hover{border-color:#ddd9fb}.cardIcon{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;font-size:22px;flex:0 0 auto}.cardMain{min-width:0;flex:1}.cardMain b{display:block;font-size:14.5px;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cardMain small{display:block;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{font-size:10.5px;font-weight:850;border-radius:999px;padding:7px 8px;white-space:nowrap}.urgent{background:var(--redSoft);color:#be3e3b}.soon{background:var(--orangeSoft);color:#9f6303}.done{background:var(--greenSoft);color:#16794d}.info{background:var(--blueSoft);color:#2c6fc9}.pending{background:var(--purpleSoft);color:#6548d8}
/* Swipe actions mobile — glisser la carte vers la gauche */
.swipeWrap{position:relative;overflow:hidden;border-radius:20px;touch-action:pan-y;transition:opacity .12s ease,max-height .16s ease,margin .16s ease}.swipeWrap.removing{opacity:0;max-height:0!important;margin:0!important;pointer-events:none}.swipeActions{position:absolute;inset:0 0 0 auto;display:flex;justify-content:flex-end;align-items:stretch;z-index:0}.swipeAction{width:86px;border:0;color:#fff;font:inherit;font-size:11px;font-weight:850;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer}.swipeAction .saIcon{font-size:20px;line-height:1}.swipeAction.doneAction{background:#159668}.swipeAction.restoreAction{background:#6b50df}.swipeAction.deleteAction{background:#c8474c}.swipeCard{position:relative;z-index:1;margin:0;transition:transform .18s ease;will-change:transform;user-select:none;-webkit-user-select:none}.swipeWrap.open .swipeCard{transform:translateX(-172px)}.swipeWrap.singleSwipe.open .swipeCard{transform:translateX(-86px)}@media (hover:hover){.swipeAction:hover{filter:brightness(.97)}}








.view h2{font-size:28px;margin:12px 2px 5px;letter-spacing:-.7px}.toolbar{display:flex;gap:8px;overflow:auto;padding:8px 0 13px;scrollbar-width:none}.toolbar::-webkit-scrollbar{display:none}.filter{border:1px solid var(--border);background:white;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer}.filter.active{background:#171827;color:white;border-color:#171827}.typeTag{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:4px 7px;background:var(--surface2);border:1px solid var(--border);font-size:10px;font-weight:800;margin-right:4px}.reminderPlan{margin-top:9px;padding:10px 12px;border:1px solid var(--border);border-radius:14px;background:#fafaff;font-size:11.5px;color:var(--muted);line-height:1.55}.reminderPlan b{color:var(--text)}
.ticketVaultModal{position:fixed;inset:0;z-index:1200;background:#08090d;display:none;flex-direction:column;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}
.ticketVaultModal.show{display:flex}
.ticketVaultBar{height:64px;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px;background:#0d0f15;color:white;border-bottom:1px solid rgba(255,255,255,.12)}
.ticketVaultBar b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:55vw}
.ticketVaultBar button{appearance:none;border:0;border-radius:999px;background:rgba(255,255,255,.12);color:white;font-weight:850;padding:10px 13px;font-size:13px}
.ticketVaultViewer{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;padding:10px;background:#08090d}
.ticketVaultViewer.qrMode{background:white}
.ticketVaultViewer img{display:block;max-width:100%;max-height:100%;object-fit:contain;border-radius:8px}
.ticketVaultViewer.qrMode img{width:min(82vw,520px);height:auto;max-height:82vh;image-rendering:auto}
.ticketVaultViewer iframe{width:100%;height:100%;border:0;background:white;border-radius:8px}
.ticketVaultInfo{flex:0 0 auto;padding:10px 16px 14px;background:#0d0f15;color:#c8cad4;font-size:11.5px;line-height:1.45;text-align:center}
.ticketVaultActions{display:flex;gap:8px;justify-content:center;margin-top:8px}
.ticketVaultActions button{appearance:none;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);color:white;border-radius:999px;padding:9px 12px;font-weight:850;font-size:12px}
.ticketVaultActions{flex-wrap:wrap}.ticketVaultActions .strong{background:#7257ff;border-color:#7257ff}

.ticketFolderCard{border-color:#ded7ff;background:linear-gradient(135deg,#fbfaff,#f6f3ff);position:relative;overflow:hidden}.ticketFolderCard:after{content:'';position:absolute;right:-24px;top:-26px;width:90px;height:90px;border-radius:28px;background:rgba(114,87,255,.07);transform:rotate(18deg)}.ticketFolderCard .cardIcon{background:#eee9ff!important}.ticketFolderCount{background:#6f55e9;color:#fff;z-index:1}.ticketFolderCard small{white-space:normal;line-height:1.35}.ticketFolderHint{display:inline-block;margin-left:5px;color:#7257ff;font-weight:850}
.ticketGroupModal{position:fixed;inset:0;z-index:1350;background:#050609;display:none;flex-direction:column;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);overscroll-behavior:none}.ticketGroupModal.show{display:flex}.ticketGroupBar{height:68px;flex:0 0 auto;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:8px 13px;background:#0d0f15;color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}.ticketGroupBar button{border:0;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-weight:850;padding:10px 12px;font-size:12px}.ticketGroupBarTitle{min-width:0;text-align:center}.ticketGroupBarTitle b{display:block;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ticketGroupBarTitle small{display:block;margin-top:2px;color:#b7bac6;font-size:10.5px}.ticketGroupCounter{min-width:52px;text-align:center;border-radius:999px;background:#7257ff;padding:8px 10px;font-size:12px;font-weight:950}.ticketGroupViewer{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden;padding:12px;touch-action:pan-y}.ticketGroupViewer img{display:block;width:min(88vw,560px);max-width:100%;max-height:82vh;height:auto;object-fit:contain}.ticketGroupViewer img.fullTicketFallback{width:100%;max-height:100%;object-fit:contain;border-radius:8px}.ticketGroupViewer iframe{width:100%;height:100%;border:0;background:#fff;border-radius:8px}.ticketGroupBottom{flex:0 0 auto;background:#0d0f15;color:#fff;padding:11px 14px max(14px,env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.12)}.ticketGroupMeta{text-align:center;min-height:38px}.ticketGroupMeta b{display:block;font-size:13px}.ticketGroupMeta small{display:block;color:#b9bdc8;font-size:10.5px;line-height:1.35;margin-top:3px}.ticketGroupNav{display:grid;grid-template-columns:74px 1fr 74px;gap:8px;margin-top:9px}.ticketGroupNav button{border:1px solid rgba(255,255,255,.17);background:rgba(255,255,255,.09);color:#fff;border-radius:14px;padding:12px 8px;font-weight:900;font-size:12px}.ticketGroupNav button.scanDone{background:#7257ff;border-color:#7257ff}.ticketGroupNav button:disabled{opacity:.35}.ticketGroupProgress{height:4px;background:rgba(255,255,255,.11);border-radius:999px;overflow:hidden;margin-top:9px}.ticketGroupProgress span{display:block;height:100%;background:#8f79ff;border-radius:999px;transition:width .2s ease}.ticketGroupDelete{width:100%;margin-top:10px;border:1px solid rgba(255,120,120,.28);background:rgba(200,71,76,.13);color:#ffaaa7;border-radius:14px;padding:11px 10px;font-weight:900;font-size:11.5px;cursor:pointer}.ticketGroupDelete:active{transform:scale(.99)}
html[data-theme="dark"] .ticketFolderCard{background:linear-gradient(135deg,#211d38,#181725);border-color:#453a74}.ticketFolderMini{margin-top:8px;padding:9px 10px;border-radius:13px;background:#f4f1ff;border:1px solid #e1dbff;color:#5d45d8;font-size:11px;font-weight:850}.ticketFolderMini button{margin-top:8px}
.docActionHero{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-radius:17px;background:#faf9ff;margin:8px 0 12px}.docActionHero span{width:46px;height:46px;border-radius:14px;background:#eee9ff;display:grid;place-items:center;font-size:22px;flex:0 0 auto}.docActionHero b{display:block;font-size:14px}.docActionHero small{display:block;color:var(--muted);font-size:10.5px;line-height:1.35;margin-top:3px}.docActionGrid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.docActionBtn{border:1px solid var(--border);background:white;border-radius:17px;padding:14px 11px;text-align:left;cursor:pointer;min-height:86px}.docActionBtn span{font-size:22px;display:block;margin-bottom:7px}.docActionBtn b{display:block;font-size:12.5px}.docActionBtn small{display:block;color:var(--muted);font-size:9.5px;line-height:1.3;margin-top:2px}.docActionBtn.primaryAction{background:linear-gradient(135deg,#6e52e8,#7d5cff);border-color:#7054ea;color:white}.docActionBtn.primaryAction small{color:#e8e2ff}
.docInlinePanel{display:none}
.docInlinePanel.show{display:block}
.docInlineToolbar{display:flex;gap:8px;align-items:center;margin:4px 0 10px}
.docInlineToolbar button{border:1px solid var(--border);background:#f4f2fb;color:var(--text);border-radius:12px;padding:9px 11px;font-size:10px;font-weight:900;cursor:pointer}
.docInlineStatus{border:1px solid var(--border);border-radius:16px;padding:16px;background:#faf9fd;text-align:center;color:var(--muted);font-size:11px;line-height:1.5}
.docInlineStatus b{display:block;color:var(--text);font-size:13px;margin-bottom:4px}
.docInlineViewer{max-height:62dvh;overflow:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--border);border-radius:16px;padding:5px;background:#0b0d12}
.docInlineViewer canvas{display:block;max-width:100%;height:auto!important;margin:0 auto 5px;border-radius:5px;background:white}
.docInlineViewer img{display:block;max-width:100%;height:auto;margin:0 auto;border-radius:6px;background:white}
.docInlineError{padding:22px 14px;text-align:center;color:#d6d9e3}
.docInlineError b{display:block;color:#fff;font-size:14px;margin-bottom:5px}
html[data-theme="dark"] .docInlineToolbar button{background:#171b24;border-color:#303746;color:#f2f3f7}
html[data-theme="dark"] .docInlineStatus{background:#171b24;border-color:#303746}
.docDeleteTrigger{margin-top:10px;border:1px solid #ffd5d5;background:#fff5f5;color:#d83a3a}.docDeleteConfirmHero{padding:14px;border:1px solid #ffd5d5;border-radius:17px;background:#fff8f8;margin:10px 0 12px}.docDeleteConfirmHero b{display:block;font-size:14px;color:#a92929}.docDeleteConfirmHero small{display:block;color:var(--muted);font-size:11px;line-height:1.4;margin-top:4px}.docDeleteWarning{font-size:11px;line-height:1.45;color:#8d4b4b;background:#fff1f1;border-radius:14px;padding:11px;margin:10px 0}
.vaultBadge{display:inline-flex;align-items:center;gap:5px;background:#ede9ff;color:#5d45df;border-radius:999px;padding:5px 8px;font-size:10.5px;font-weight:850;margin-top:6px}
.authGate{position:fixed;inset:0;z-index:2000;background:linear-gradient(180deg,#f7f4ff 0%,#fff 38%,#f7f8fb 100%);display:none;overflow:auto;padding:max(28px,env(safe-area-inset-top)) 18px max(28px,env(safe-area-inset-bottom))}
.authGate.show{display:block}
.authShell{width:min(100%,460px);margin:0 auto;min-height:calc(100vh - 56px);display:flex;flex-direction:column;justify-content:center}
.authBrand{text-align:center;margin-bottom:28px}
.authLogo{width:72px;height:72px;border-radius:24px;margin:0 auto 14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#7b5cff,#5539d6);color:white;font-size:29px;font-weight:950;box-shadow:0 16px 35px rgba(91,64,218,.25)}
.authBrand h1{margin:0;font-size:32px;letter-spacing:-1.2px}
.authBrand p{margin:7px 0 0;color:var(--muted);font-size:14px}
.authCard{background:white;border:1px solid var(--border);border-radius:24px;padding:18px;box-shadow:0 16px 45px rgba(27,20,61,.08)}
.authBtn{width:100%;min-height:52px;border-radius:15px;border:1px solid var(--border);background:white;font-size:14px;font-weight:850;display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:10px}
.authBtn.apple{background:#09090b;color:white;border-color:#09090b}
.authBtn.google{color:#202124}
.authBtn.faceid{background:#171827;color:#fff;border-color:#171827}
.authBtn.faceid:disabled{opacity:.5}
.authBtn.email{background:#f7f5ff;color:#5b43d7;border-color:#e4defd}
.authBtn.guest{background:transparent}
.authDivider{display:flex;align-items:center;gap:10px;color:#aaa;font-size:11px;margin:15px 0}
.authDivider:before,.authDivider:after{content:"";height:1px;background:var(--border);flex:1}
.authEmailBox{display:none;margin-top:10px;padding-top:12px;border-top:1px solid var(--border)}
.authEmailBox.show{display:block}
.authEmailBox input{width:100%;height:50px;border:1px solid var(--border);border-radius:14px;padding:0 14px;font-size:15px;outline:none}
.authEmailBox input:focus{border-color:#8a73f1;box-shadow:0 0 0 3px rgba(123,92,255,.10)}
.authFine{font-size:10.5px;color:var(--muted);line-height:1.5;text-align:center;margin:15px 6px 0}
.authState{text-align:center;margin-top:12px;color:var(--muted);font-size:11.5px;min-height:18px}
.accountCard{margin:12px 0;padding:14px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(135deg,#f8f6ff,#fff)}
.accountRow{display:flex;align-items:center;gap:12px}
.accountAvatar{width:44px;height:44px;border-radius:14px;background:#ece7ff;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:900;color:#6047d9}
.accountText{min-width:0;flex:1}.accountText b{display:block;font-size:13px}.accountText small{display:block;color:var(--muted);font-size:10.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.accountPill{display:inline-flex;margin-top:7px;border-radius:999px;padding:4px 8px;background:#efecff;color:#624bd8;font-size:10px;font-weight:850}
.docVaultCard{margin:12px 0;padding:13px;border:1px solid var(--border);border-radius:17px;background:linear-gradient(135deg,#f7f5ff,#fff)}
.docVaultCard b{display:block;font-size:13px;margin-bottom:4px}
.docVaultCard small{display:block;color:var(--muted);font-size:11px;line-height:1.45}
.docVaultBtns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.docVaultBtns .full{grid-column:1/-1}


.vaultCard{margin:12px 0;padding:13px;border:1px solid var(--border);border-radius:17px;background:linear-gradient(135deg,#f8f6ff,#fff)}
.vaultCard b{display:block;font-size:13px;margin-bottom:4px}.vaultCard small{display:block;color:var(--muted);font-size:11px;line-height:1.45}
.search{width:100%;border:1px solid var(--border);background:white;border-radius:16px;padding:13px 14px;font-size:13px;outline:none;margin:14px 0 10px}.search:focus,.field input:focus,.field textarea:focus,.field select:focus{border-color:#bfb2ff;box-shadow:0 0 0 3px rgba(115,87,255,.08)}
.empty{background:white;border:1px dashed #d5d9e4;border-radius:20px;padding:25px;text-align:center;color:var(--muted);font-size:13px}.empty .big{font-size:30px;margin-bottom:7px}.subsection{margin-top:17px}.subsection h4{margin:0 2px 8px;font-size:14px}
.sheetWrap,.modalWrap{position:absolute;inset:0;background:rgba(14,15,25,.46);display:none;align-items:flex-end;z-index:70;backdrop-filter:blur(2px)}.sheetWrap.show,.modalWrap.show{display:flex}.sheet,.modal{width:100%;background:white;border-radius:28px 28px 0 0;padding:11px 17px calc(132px + env(safe-area-inset-bottom));box-shadow:0 -20px 60px rgba(20,18,40,.2);max-height:91vh;overflow:auto}.sheetWrap.show .sheet,.modalWrap.show .modal{animation:dropSheetIn .16s cubic-bezier(.2,.8,.2,1)}@keyframes dropSheetIn{from{transform:translateY(14px);opacity:.94}to{transform:translateY(0);opacity:1}}button,.setting,.familyHomeCard,.planStatusCard{touch-action:manipulation}.handle{width:43px;height:5px;border-radius:99px;background:#ddd;margin:2px auto 16px}.sheet h3,.modal h3{font-size:23px;margin:0 0 6px;letter-spacing:-.45px}.sheet>p,.modal>p{color:var(--muted);font-size:13px;margin:0 0 17px;line-height:1.45}.choices{display:grid;grid-template-columns:1fr 1fr;gap:9px}.choice{border:1px solid var(--border);background:#fafaff;border-radius:18px;padding:15px;text-align:left;cursor:pointer;min-height:105px}.choice:hover{border-color:#cfc6ff}.choice strong{display:block;margin-top:7px;font-size:14px}.choice small{color:var(--muted);font-size:11px;line-height:1.35}.choice .ci{font-size:25px}
.scenarios{display:grid;gap:9px}.scenario{border:1px solid var(--border);background:white;border-radius:18px;padding:13px;display:flex;gap:11px;align-items:center;cursor:pointer}.scenario:hover{background:#faf9ff}.scenario .si{width:42px;height:42px;border-radius:14px;background:var(--purpleSoft);display:grid;place-items:center;font-size:20px}.scenario div:nth-child(2){flex:1}.scenario b{display:block;font-size:13.5px}.scenario small{color:var(--muted);font-size:11px}.scenario .arrow{color:#aaa;font-size:18px}
.processing{padding:28px 4px 14px;text-align:center}.orb{width:82px;height:82px;border-radius:26px;background:linear-gradient(145deg,#8167ff,#6546e9);margin:0 auto 18px;display:grid;place-items:center;color:white;font-size:37px;box-shadow:0 15px 40px rgba(115,87,255,.3);animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.055)}}.processing h3{font-size:23px;margin:0 0 7px}.processing p{color:var(--muted);font-size:13px;margin:0 auto 22px;max-width:300px}.steps{display:grid;gap:8px;text-align:left}.step{border:1px solid var(--border);background:#fafbfe;border-radius:14px;padding:11px 12px;display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.step .dot{width:22px;height:22px;border-radius:50%;background:#e8eaf0;display:grid;place-items:center;font-size:11px}.step.active{color:var(--text);font-weight:700}.step.active .dot{background:var(--purpleSoft);color:var(--purple)}.step.doneStep .dot{background:var(--greenSoft);color:var(--green)}
.analysisBox{background:white;border:1px solid var(--border);border-radius:24px;padding:17px;box-shadow:var(--shadow);margin-top:13px}#review{padding-bottom:calc(210px + env(safe-area-inset-bottom))}#review .analysisBox{margin-bottom:calc(118px + env(safe-area-inset-bottom))}#review .actions{position:relative;z-index:2}.analysisHead{display:flex;align-items:center;gap:11px;margin-bottom:15px}.check{width:46px;height:46px;border-radius:16px;background:var(--greenSoft);color:var(--green);display:grid;place-items:center;font-size:23px;flex:0 0 auto}.analysisHead b{font-size:15px}.confidence{color:var(--muted);font-size:11.5px;margin-top:3px}.confidenceBar{height:6px;background:#eeeff4;border-radius:99px;margin-top:6px;overflow:hidden}.confidenceBar span{display:block;height:100%;background:linear-gradient(90deg,#7357ff,#1fa76d);border-radius:99px}.field{margin-bottom:11px}.field label{display:block;font-size:10px;color:var(--muted);text-transform:uppercase;font-weight:850;letter-spacing:.4px;margin:0 0 5px 2px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--border);background:#fbfbfe;border-radius:14px;padding:11px 12px;font-size:13px;outline:none;color:var(--text)}.field textarea{min-height:70px;resize:vertical}.two{display:grid;grid-template-columns:1fr 1fr;gap:9px}.actions{display:grid;grid-template-columns:1fr 1.15fr;gap:9px;margin-top:15px}.primary,.secondary,.dangerBtn{border:0;border-radius:15px;padding:13px;font-weight:850;cursor:pointer}.primary{background:var(--purple);color:white}.secondary{background:#f0f1f6;color:#4f5363}.dangerBtn{background:var(--redSoft);color:var(--red)}.full{width:100%;margin-top:9px}.successHero{text-align:center;padding:24px 3px 10px}.successIcon{width:76px;height:76px;border-radius:26px;background:var(--greenSoft);color:var(--green);display:grid;place-items:center;font-size:37px;margin:0 auto 15px}.successHero h3{font-size:25px;margin:0 0 7px}.successHero p{font-size:13px;color:var(--muted);line-height:1.45;margin:0 auto 18px;max-width:310px}.receipt{border:1px solid var(--border);background:#fbfcfe;border-radius:18px;padding:13px;text-align:left}.receiptRow{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid var(--border);font-size:12px}.receiptRow:last-child{border-bottom:0}.receiptRow span:first-child{color:var(--muted)}.receiptRow b{text-align:right}
.detailTop{display:flex;gap:12px;align-items:center;margin-bottom:15px}.detailIcon{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;font-size:27px;background:var(--purpleSoft)}.detailTop h3{margin:0 0 3px;font-size:19px}.detailTop p{margin:0;color:var(--muted);font-size:11.5px}.detailMeta{display:grid;gap:8px}.meta{border:1px solid var(--border);background:#fbfbfe;border-radius:15px;padding:11px}.meta label{display:block;color:var(--muted);font-size:9.5px;text-transform:uppercase;font-weight:850;letter-spacing:.35px;margin-bottom:3px}.meta div{font-size:13px;font-weight:700}.detailBtns{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}
.setting{background:white;border:1px solid var(--border);border-radius:19px;padding:14px;display:flex;align-items:center;gap:11px;margin-bottom:9px}.settingIcon{width:43px;height:43px;border-radius:14px;background:var(--purpleSoft);display:grid;place-items:center;font-size:20px}.settingMain{flex:1}.settingMain b{display:block;font-size:13.5px}.settingMain small{color:var(--muted);font-size:11px}.toggle{width:46px;height:27px;border-radius:999px;background:#d9dce5;position:relative;cursor:pointer;border:0}.toggle:after{content:"";position:absolute;width:21px;height:21px;background:white;border-radius:50%;top:3px;left:3px;box-shadow:0 2px 5px rgba(0,0,0,.18);transition:.2s}.toggle.on{background:var(--purple)}.toggle.on:after{left:22px}.privacyNote{background:#f0edff;border-radius:18px;padding:13px;color:#5640bd;font-size:12px;line-height:1.45;margin:14px 0}.dangerZone{margin-top:18px}.dangerZone h4{margin:0 0 8px 2px;font-size:13px}.resetBtn{width:100%;border:1px solid #ffd3d1;background:white;color:var(--red);border-radius:15px;padding:12px;font-weight:800;cursor:pointer}

.securityHero{background:linear-gradient(145deg,#0f1720,#18312a);color:white;border-radius:24px;padding:17px;margin:6px 0 14px;box-shadow:var(--shadow)}
/* AdminMind 6.9.52 — Sécurité lisible en sombre + réserve réelle au-dessus de la barre iPhone */
#securitySheet .sheet{padding-bottom:calc(176px + env(safe-area-inset-bottom))!important;scroll-padding-bottom:calc(176px + env(safe-area-inset-bottom))}
html[data-theme="dark"] #securitySheet .sheet{background:var(--surface,#111722);color:var(--text,#f5f7fb)}
html[data-theme="dark"] .securityItem{background:var(--surface2,#171e2b)!important;border-color:var(--border,#2b3547)!important;color:var(--text,#f5f7fb)!important}
html[data-theme="dark"] .securityItem b{color:var(--text,#f5f7fb)!important}
html[data-theme="dark"] .securityItem small{color:var(--muted,#a9b2c4)!important}
html[data-theme="dark"] .securityFooter{background:var(--surface2,#171e2b)!important;color:var(--muted,#a9b2c4)!important;border:1px solid var(--border,#2b3547)}
html[data-theme="dark"] .securityFooter b{color:var(--text,#f5f7fb)!important}
html[data-theme="dark"] .dataAction{background:var(--surface2,#171e2b)!important;color:var(--text,#f5f7fb)!important;border-color:var(--border,#2b3547)!important}
.securityTag.checking{background:var(--blueSoft);color:var(--blue)}
.securityTag.warn{background:var(--orangeSoft);color:#9d6209}
.securityTag.error{background:var(--redSoft);color:var(--red)}
.vaultRetryBtn{margin-top:9px!important}
.vaultSyncDetail{display:block;margin-top:5px;color:var(--muted);font-size:10px;line-height:1.35}
.securityHero .shield{width:46px;height:46px;border-radius:15px;background:rgba(255,255,255,.12);display:grid;place-items:center;font-size:24px;margin-bottom:11px}.securityHero h4{font-size:18px;margin:0 0 5px}.securityHero p{font-size:12px;line-height:1.45;color:#cbd8d3;margin:0}.securityGrid{display:grid;gap:9px}.securityItem{border:1px solid var(--border);border-radius:17px;padding:12px;background:#fbfcfd;display:flex;gap:10px;align-items:flex-start}.securityItem .si2{width:34px;height:34px;border-radius:11px;background:var(--greenSoft);display:grid;place-items:center;flex:0 0 auto}.securityItem b{display:block;font-size:12.5px;margin-bottom:3px}.securityItem small{display:block;color:var(--muted);font-size:10.8px;line-height:1.4}.securityTag{display:inline-flex;margin-top:6px;padding:5px 7px;border-radius:999px;background:var(--greenSoft);color:#15784e;font-weight:850;font-size:9.5px}.securityTag.plan{background:var(--orangeSoft);color:#9d6209}.securityTag.local{background:var(--blueSoft);color:#2d6fc7}.securityFooter{background:#f4f6f9;border-radius:16px;padding:12px;margin-top:12px;color:var(--muted);font-size:10.8px;line-height:1.45}.securityFooter b{color:var(--text)}.dataActions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.dataAction{border:1px solid var(--border);background:white;border-radius:14px;padding:11px;font-size:11px;font-weight:800;cursor:pointer}.dataAction.danger{border-color:#ffd0cf;color:var(--red)}
.toast{position:absolute;left:16px;right:16px;bottom:96px;background:#171827;color:white;border-radius:16px;padding:12px 14px;display:flex;gap:9px;align-items:center;z-index:100;box-shadow:0 18px 45px rgba(0,0,0,.18);transform:translateY(25px);opacity:0;pointer-events:none;transition:.25s}.toast.show{transform:none;opacity:1}.toast .ti{width:30px;height:30px;border-radius:10px;background:#2c2e40;display:grid;place-items:center}.toast b{font-size:12.5px;display:block}.toast small{font-size:10.5px;color:#c4c6d0}.banner{border:1px solid #dcd7ff;background:#f4f1ff;border-radius:18px;padding:12px 13px;display:flex;gap:10px;align-items:center;margin-bottom:12px}.banner .bi{font-size:21px}.banner b{font-size:12.5px;display:block}.banner small{font-size:10.5px;color:#6554b0}.progressMini{height:6px;border-radius:99px;background:#e8e9ef;overflow:hidden;margin-top:7px}.progressMini span{display:block;height:100%;width:68%;background:var(--purple);border-radius:99px}
@media(min-width:700px){body{padding:20px 0}.app{min-height:900px;border-radius:30px;box-shadow:0 35px 90px rgba(30,28,56,.14);overflow:hidden}}

.liveBadge{display:inline-flex;align-items:center;gap:6px;background:var(--greenSoft);color:#14784c;font-size:10.5px;font-weight:850;padding:6px 9px;border-radius:999px;margin-bottom:11px}.liveDot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px rgba(31,167,109,.12)}
.modeTabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;background:#f1f2f6;border-radius:14px;padding:4px;margin:3px 0 16px}.modeTabs button{border:0;background:transparent;border-radius:11px;padding:9px;font-size:11.5px;font-weight:800;color:var(--muted);cursor:pointer}.modeTabs button.active{background:white;color:var(--text);box-shadow:0 3px 12px rgba(30,30,55,.07)}
.inputPanel{display:grid;gap:11px}.dropzone{border:1.5px dashed #cfc8f7;background:#faf9ff;border-radius:20px;padding:18px;text-align:center;cursor:pointer;transition:.2s}.dropzone:hover,.dropzone.drag{background:#f3f0ff;border-color:var(--purple)}.dropzone .dzIcon{font-size:30px;margin-bottom:7px}.dropzone b{display:block;font-size:13.5px}.dropzone small{display:block;color:var(--muted);font-size:11px;margin-top:4px;line-height:1.4}.fileMeta{display:none;border:1px solid var(--border);background:white;border-radius:16px;padding:12px;gap:10px;align-items:center}.fileMeta.show{display:flex}.fileThumb{width:44px;height:44px;border-radius:12px;background:var(--purpleSoft);display:grid;place-items:center;font-size:20px;overflow:hidden}.fileThumb img{width:100%;height:100%;object-fit:cover}.fileMeta div:nth-child(2){min-width:0;flex:1}.fileMeta b{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fileMeta small{color:var(--muted);font-size:10.5px}
.textInput{width:100%;min-height:135px;border:1px solid var(--border);border-radius:18px;padding:13px 14px;resize:vertical;outline:none;font-size:13px;line-height:1.45;background:#fff}.textInput:focus{border-color:#bfb2ff;box-shadow:0 0 0 3px rgba(115,87,255,.08)}
.helperSamples{display:flex;gap:7px;overflow:auto;scrollbar-width:none}.helperSamples::-webkit-scrollbar{display:none}.sampleBtn{border:1px solid var(--border);background:white;border-radius:999px;padding:8px 10px;white-space:nowrap;font-size:10.5px;font-weight:750;cursor:pointer}
.analyzeBtn{width:100%;border:0;border-radius:16px;background:linear-gradient(145deg,#795eff,#6546e9);color:white;padding:14px 16px;font-weight:850;cursor:pointer;box-shadow:0 10px 24px rgba(115,87,255,.24)}.analyzeBtn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.ghostBtn{width:100%;border:1px solid var(--border);background:white;border-radius:15px;padding:12px;font-size:12px;font-weight:800;cursor:pointer}
.ocrStatus{display:none;background:#f7f8fb;border:1px solid var(--border);border-radius:14px;padding:11px 12px;font-size:11.5px;color:var(--muted);line-height:1.4}.ocrStatus.show{display:block}.ocrStatus b{color:var(--text)}
.detectedSignals{display:flex;flex-wrap:wrap;gap:6px;margin:9px 0 3px}.signal{font-size:10.5px;background:#f2f3f7;border-radius:999px;padding:6px 8px;color:#5f6471}.sourcePreview{border:1px solid var(--border);background:#fbfbfd;border-radius:16px;padding:11px;margin-bottom:12px;font-size:11px;color:var(--muted);max-height:90px;overflow:auto;line-height:1.45;white-space:pre-wrap}.sourcePreview b{color:var(--text)}
.techNote{background:#f3f1ff;color:#5543ad;border-radius:16px;padding:11px 12px;font-size:10.5px;line-height:1.45;margin-top:11px}


.installCard{display:none;background:linear-gradient(135deg,#ede9ff,#fff);border:1px solid #dcd4ff;border-radius:21px;padding:13px 14px;margin:0 0 15px;align-items:center;gap:11px;box-shadow:0 8px 24px rgba(115,87,255,.08)}.installCard.show{display:flex}.installCard .ic{width:44px;height:44px;border-radius:15px;background:var(--purple);color:#fff;display:grid;place-items:center;font-size:22px;font-weight:900;box-shadow:0 8px 20px rgba(115,87,255,.22)}.installCard .im{flex:1;min-width:0}.installCard b{font-size:13.5px;display:block}.installCard small{font-size:11px;color:var(--muted);line-height:1.35;display:block;margin-top:2px}.installNow,.smallAction{border:0;background:#171827;color:#fff;border-radius:12px;padding:9px 11px;font-size:11px;font-weight:850;cursor:pointer;white-space:nowrap}.smallAction{background:var(--purple)}.installSteps{display:grid;gap:9px;margin:15px 0}.installStep{display:flex;gap:11px;align-items:flex-start;background:#f8f8fc;border:1px solid var(--border);border-radius:16px;padding:12px}.installStep .num{width:27px;height:27px;border-radius:9px;background:var(--purpleSoft);color:var(--purple);display:grid;place-items:center;font-weight:900;font-size:12px;flex:0 0 auto}.installStep b{font-size:12.5px;display:block;margin-bottom:2px}.installStep small{color:var(--muted);font-size:11.5px;line-height:1.4}.pwaStatus{font-size:11px;padding:7px 9px;border-radius:999px;background:var(--greenSoft);color:var(--green);font-weight:850;white-space:nowrap}.offlineBadge{display:none;position:fixed;top:max(9px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:120;background:#171827;color:#fff;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;box-shadow:0 8px 25px rgba(0,0,0,.18)}.offlineBadge.show{display:block}.shareHint{background:#eef6ff;border:1px solid #d9e9ff;border-radius:16px;padding:11px 12px;margin:11px 0;color:#285f9f;font-size:11.5px;line-height:1.4}.shareHint b{display:block;color:#1e4f8d;margin-bottom:2px}
.reviewFamilyShare{display:none;align-items:center;gap:12px;border:1px solid var(--border);background:#faf9ff;border-radius:16px;padding:12px 13px;margin:12px 0 14px}
.reviewFamilyShare.show{display:flex}.reviewFamilyShareIcon{width:38px;height:38px;border-radius:12px;background:#eee9ff;display:grid;place-items:center;font-size:18px;flex:0 0 auto}
.reviewFamilyShareMain{flex:1;min-width:0}.reviewFamilyShareMain b{display:block;font-size:12.5px}.reviewFamilyShareMain small{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-top:2px}
.reviewFamilySwitch{position:relative;width:46px;height:28px;flex:0 0 auto}.reviewFamilySwitch input{position:absolute;opacity:0;pointer-events:none}
.reviewFamilySwitch span{position:absolute;inset:0;border-radius:999px;background:#d9dbe4;transition:.16s ease;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}
.reviewFamilySwitch span:after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:.16s ease}
.reviewFamilySwitch input:checked+span{background:#7357ff}.reviewFamilySwitch input:checked+span:after{transform:translateX(18px)}

.betaInviteAuthNote{background:#f5f2ff;border:1px solid #ded6ff;color:#625891;border-radius:15px;padding:11px 12px;font-size:11px;line-height:1.45;text-align:left}
.betaGateHero{background:linear-gradient(135deg,#171827,#352c64);color:#fff;border-radius:22px;padding:18px;margin-bottom:13px}.betaGateHero small{display:inline-block;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;letter-spacing:.4px}.betaGateHero h3{font-size:21px;margin:11px 0 6px}.betaGateHero p{color:#d9d6e8!important;margin:0!important;font-size:12px!important;line-height:1.5!important}
.betaCodeInput{width:100%;border:1px solid var(--border);background:#f7f6fa;border-radius:16px;padding:14px;text-transform:uppercase;letter-spacing:1.3px;font-size:16px;font-weight:850;text-align:center;outline:none}.betaCodeInput:focus{border-color:#a996ff;box-shadow:0 0 0 3px rgba(115,87,255,.09)}
.betaGateState{min-height:18px;color:var(--muted);font-size:10.5px;line-height:1.4;margin:8px 2px}.betaGateState.error{color:#b64146}.betaGateState.ok{color:#24764f}
.betaBlocked{background:#fff0f1;color:#a7373e;border:1px solid #f2c9cc;border-radius:15px;padding:11px 12px;font-size:11px;line-height:1.45;margin-top:10px}


/* V4.7.26 — iPhone sheets : contenu scrollable, fond verrouillé, nav masquée */
.sheetWrap,.modalWrap{
  z-index:220!important;
  height:100dvh!important;
  min-height:100dvh!important;
  overscroll-behavior:contain;
}
.sheetWrap .sheet,.modalWrap .modal{
  max-height:calc(100dvh - max(12px,env(safe-area-inset-top)))!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  padding-bottom:calc(26px + env(safe-area-inset-bottom))!important;
}
/* V4.4.2 — iPhone beta gate viewport fix */
.sheetWrap,.modalWrap{
  position:fixed;
  top:0;
  bottom:0;
  left:50%;
  right:auto;
  width:min(100%,480px);
  transform:translateX(-50%);
}


/* V4.4 — Seller onboarding */
.authShell{max-width:500px}
.authBrand{margin-bottom:14px}
.authBrand .authLogo{box-shadow:0 16px 35px rgba(104,79,223,.24)}
.authPitch{background:linear-gradient(140deg,#171827 0%,#27224d 62%,#654ad7 140%);color:#fff;border-radius:28px;padding:22px 20px;margin:8px 0 14px;box-shadow:0 20px 45px rgba(32,28,69,.16);position:relative;overflow:hidden}
.authPitch:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-75px;top:-70px;background:rgba(133,100,255,.38)}
.authPitch>*{position:relative;z-index:1}.authPitchEyebrow{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.13);border-radius:999px;padding:6px 9px;font-size:9.5px;font-weight:900;letter-spacing:.4px}
.authPitch h2{font-size:28px;line-height:1.08;letter-spacing:-.8px;margin:15px 0 9px}.authPitch p{color:#d9d7e8;font-size:13px;line-height:1.55;margin:0}
.authExamples{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}.authExample{background:rgba(255,255,255,.1);border-radius:999px;padding:7px 9px;font-size:9.5px;font-weight:800}
.authBenefits{display:grid;grid-template-columns:1fr;gap:8px;margin:12px 0}.authBenefit{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--border);background:#fff;border-radius:16px;padding:11px}.authBenefitIcon{width:38px;height:38px;border-radius:12px;background:#f1edff;display:grid;place-items:center;font-size:18px;flex:0 0 auto}.authBenefit b{display:block;font-size:11.5px;margin-top:1px}.authBenefit small{display:block;color:var(--muted);font-size:10px;line-height:1.4;margin-top:2px}
.trialPromise{background:#f5f2ff;border:1px solid #ded6ff;border-radius:16px;padding:12px;text-align:center;margin-bottom:11px}.trialPromise b{display:block;color:#5f47c7;font-size:12.5px}.trialPromise small{display:block;color:#77718f;font-size:9.5px;margin-top:3px}
.authConnectTitle{font-size:12px;font-weight:900;text-align:center;margin:5px 0 9px}.authFineSeller{font-size:9px!important;line-height:1.5!important}
.welcomePlusHero{background:linear-gradient(140deg,#171827,#392f70);color:#fff;border-radius:24px;padding:19px;margin-bottom:12px}.welcomePlusHero small{display:inline-block;background:rgba(255,255,255,.11);border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900}.welcomePlusHero h3{font-size:23px;margin:11px 0 6px}.welcomePlusHero p{color:#d9d6e8!important;font-size:11.5px!important;line-height:1.5!important;margin:0!important}
.welcomeFeatureGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 12px}.welcomeFeature{border:1px solid var(--border);background:#fff;border-radius:15px;padding:11px}.welcomeFeature span{font-size:19px}.welcomeFeature b{display:block;font-size:10.5px;margin-top:5px}.welcomeFeature small{display:block;color:var(--muted);font-size:9px;margin-top:2px}
.testerStartCard{border:1px solid #d9d1ff;background:linear-gradient(135deg,#f4f1ff,#fff);border-radius:19px;padding:14px;margin:11px 0}.testerStartHead{display:flex;gap:11px;align-items:flex-start}.testerStartIcon{width:43px;height:43px;border-radius:14px;background:#7357ff;color:#fff;display:grid;place-items:center;font-size:21px;flex:0 0 auto}.testerStartCopy{flex:1;min-width:0}.testerStartCopy b{display:block;font-size:13.5px;line-height:1.25}.testerStartCopy small{display:block;color:var(--muted);font-size:10.5px;line-height:1.4;margin-top:3px}.testerStartStatus{display:inline-flex;margin-top:8px;border-radius:999px;padding:5px 8px;background:#eee9ff;color:#6047cc;font-size:9px;font-weight:900}.testerStartStatus.ok{background:#e8f7ef;color:#1c7a51}.testerChecklist{display:grid;gap:7px;margin:11px 0 13px}.testerCheck{display:flex;align-items:center;gap:9px;border:1px solid var(--border);background:#fbfbfe;border-radius:14px;padding:10px 11px}.testerCheck span{width:27px;height:27px;border-radius:9px;background:var(--purpleSoft);display:grid;place-items:center;font-size:13px}.testerCheck div{min-width:0}.testerCheck b{display:block;font-size:11px}.testerCheck small{display:block;color:var(--muted);font-size:9.5px;margin-top:1px;line-height:1.3}.betaWelcomeActions{display:grid;gap:8px}.betaWelcomeHint{font-size:9.5px;color:var(--muted);text-align:center;line-height:1.35;margin-top:9px}
.firstDropIdeas{font-size:10px;color:var(--muted);text-align:center;margin:10px 0 2px;line-height:1.5}
@media(min-width:430px){.authBenefits{grid-template-columns:1fr 1fr}}


/* V4.5 — E-mail + mot de passe */
.authEmailBox{padding-top:10px}
.authModeTabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:#f3f1f8;border-radius:12px;padding:4px;margin-bottom:10px}
.authModeTab{border:0;background:transparent;border-radius:9px;padding:9px 8px;font-size:10.5px;font-weight:900;color:#7a7788;cursor:pointer}
.authModeTab.active{background:#fff;color:#171821;box-shadow:0 2px 8px rgba(26,23,48,.08)}
.authInputWrap{position:relative;margin-top:8px}
.authInputWrap input{padding-right:52px}
.authPassToggle{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#6753ca;font-size:10px;font-weight:900;padding:8px;cursor:pointer}
.authPasswordHelp{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 2px 0;font-size:9.5px;color:var(--muted)}
.authLinkBtn{border:0;background:transparent;color:#6048d4;font:inherit;font-weight:900;padding:0;cursor:pointer}
.authSubmit{margin-top:11px}
.authPasswordNote{font-size:9px;color:var(--muted);line-height:1.45;margin:8px 2px 0}
.authRecoveryBox{display:none;background:#f8f6ff;border:1px solid #e4defd;border-radius:14px;padding:11px;margin-top:10px}
.authRecoveryBox.show{display:block}
.authRecoveryBox b{display:block;font-size:11.5px;margin-bottom:4px}
.authRecoveryBox small{display:block;color:var(--muted);font-size:9.5px;line-height:1.4}


/* V4.6.0 — AdminMind Family stale-invite login fix */
/* V4.5 — AdminMind Family */
.familyHomeCard{margin:12px 0;border:1px solid #ddd7ff;background:linear-gradient(135deg,#fbfaff,#f2efff);border-radius:22px;padding:15px;display:flex;gap:12px;align-items:center;cursor:pointer}
.familyHomeCard{position:relative}
.familyActivityBadge{
  position:absolute;top:-7px;right:-6px;min-width:25px;height:25px;padding:0 7px;
  border-radius:999px;background:#6f52e8;color:#fff;border:3px solid var(--card);
  display:none;align-items:center;justify-content:center;font-size:9px;font-weight:950;
  box-shadow:0 7px 18px rgba(91,65,200,.25);z-index:3
}
.familyActivityBadge.show{display:flex}
.familyActivityDot{
  width:9px;height:9px;border-radius:999px;background:#7a5cff;display:none;
  box-shadow:0 0 0 4px rgba(122,92,255,.12);flex:0 0 auto
}
.familyActivityDot.show{display:block}


/* HOME V2 — accueil centré sur l'usage, pas sur les réglages */
.homeHero{padding:18px 18px 16px;margin-bottom:12px}
.homeHero h2{font-size:22px;margin-bottom:6px}
.homeHero p{font-size:13px;line-height:1.42;max-width:315px}
.homeHero .heroActions{margin-top:14px}
.homeHero .dropBtn,.homeHero .voiceHeroBtn{padding:12px 14px}
.homeHero .microline{margin-top:12px;font-size:10.8px;opacity:.92}
.homeBlockTitle{display:flex;align-items:flex-end;justify-content:space-between;margin:17px 2px 9px}
.homeBlockTitle b{font-size:16px;letter-spacing:-.15px}
.homeBlockTitle small{font-size:10.5px;color:var(--muted)}
.familyHomeCard.homeCompact{padding:12px 13px;border-radius:18px;margin:14px 0 0}
.familyHomeCard.homeCompact .familyHomeIcon{width:42px;height:42px;border-radius:14px;font-size:20px}
.familyHomeCard.homeCompact .familyHomeMain small{font-size:8.5px}
.familyHomeCard.homeCompact .familyHomeMain b{font-size:12.8px;margin-top:2px}
.familyHomeCard.homeCompact .familyHomeMain span{font-size:10px;margin-top:2px;line-height:1.3}
.profileSectionLabel{font-size:10px;font-weight:900;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);margin:18px 4px 8px}

.familyHomeIcon{width:50px;height:50px;border-radius:16px;background:linear-gradient(145deg,#7860ec,#513bc1);color:#fff;display:grid;place-items:center;font-size:24px;flex:0 0 auto;box-shadow:0 12px 24px rgba(98,74,205,.18)}
.familyHomeMain{flex:1;min-width:0}.familyHomeMain small{display:block;color:#684fd2;font-size:9px;font-weight:950;letter-spacing:.4px;text-transform:uppercase}.familyHomeMain b{display:block;font-size:13.5px;margin-top:3px}.familyHomeMain span{display:block;color:var(--muted);font-size:9.8px;line-height:1.4;margin-top:3px}.familyHomeArrow{font-size:20px;color:#6953d4}
.familyHero{background:linear-gradient(140deg,#181728 0%,#2d2658 60%,#6c51dc 140%);color:#fff;border-radius:24px;padding:18px;position:relative;overflow:hidden;margin-bottom:11px}
.familyHero:after{content:"";position:absolute;width:170px;height:170px;border-radius:50%;right:-78px;top:-75px;background:rgba(143,111,255,.32)}
.familyHero>*{position:relative;z-index:1}.familyHero small{display:inline-flex;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:5px 8px;font-size:8.8px;font-weight:950;letter-spacing:.4px}.familyHero h3{font-size:23px;line-height:1.1;margin:11px 0 7px}.familyHero p{font-size:10.8px!important;line-height:1.5!important;color:#dedbea!important;margin:0!important}
.familySection{border:1px solid var(--border);background:#fff;border-radius:18px;padding:13px;margin-top:9px}.familySectionHead{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}.familySectionHead b{font-size:12px}.familySectionHead small{font-size:9px;color:var(--muted)}
.familyCreateName,.familyInviteEmail{width:100%;border:1px solid var(--border);background:#f8f7fb;border-radius:13px;padding:12px;font-size:12px;outline:none}.familyCreateName:focus,.familyInviteEmail:focus{border-color:#8e7be9;box-shadow:0 0 0 3px rgba(108,82,216,.09)}
.familyMember{display:flex;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #efedf4}.familyMember:last-child{border-bottom:0}.familyMemberAvatar{width:34px;height:34px;border-radius:11px;background:#eee9ff;display:grid;place-items:center;font-size:12px;font-weight:950;color:#6148cb}.familyMemberMain{flex:1;min-width:0}.familyMemberMain b{display:block;font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.familyMemberMain small{display:block;font-size:8.8px;color:var(--muted);margin-top:2px}.familyRole{font-size:8px;font-weight:950;padding:5px 7px;border-radius:999px;background:#f1eeff;color:#634ccc}
.familyChildAdd{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:9px}.familyChildAdd input{min-width:0;width:100%;border:1px solid var(--border);background:#f8f7fb;color:var(--text);border-radius:12px;padding:10px 11px;font-size:10px;outline:none}.familyChildAdd button{border:0;border-radius:12px;background:#6750d4;color:#fff;padding:9px 11px;font-size:9px;font-weight:900;cursor:pointer;white-space:nowrap}.familyChildAvatar{background:#eaf5ff!important;color:#3577a5!important}.familyRole.child{background:#eaf5ff;color:#3577a5}html[data-theme="dark"] .familyChildAdd input{background:#151b26;border-color:#303746;color:#f2f3f7}
.familyDoc{border:1px solid var(--border);border-radius:15px;padding:11px;margin-top:8px;background:#fff}.familyDocTop{display:flex;gap:9px;align-items:center}.familyDocIcon{width:38px;height:38px;border-radius:12px;background:#f4f1ff;display:grid;place-items:center;font-size:18px}.familyDocMain{flex:1;min-width:0}.familyDocMain b{display:block;font-size:10.8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.familyDocMain small{display:block;color:var(--muted);font-size:8.8px;margin-top:2px}.familyDocActions{display:flex;gap:6px;margin-top:8px}.familyDocActions button{flex:1;border:0;border-radius:10px;padding:8px;font-size:9px;font-weight:900;cursor:pointer}.familyOpen{background:#191827;color:#fff}.familyRemove{background:#fff0f0;color:#b54444}
.familyEmpty{text-align:center;padding:16px 8px;color:var(--muted);font-size:10px;line-height:1.5}.familyEmpty span{display:block;font-size:28px;margin-bottom:7px}
.familyInviteResult{display:none;margin-top:9px;background:#f5f2ff;border:1px solid #ddd5ff;border-radius:14px;padding:10px}.familyInviteResult.show{display:block}.familyInviteResult b{font-size:10px}.familyInviteResult small{display:block;font-size:8.8px;color:var(--muted);line-height:1.45;margin-top:4px;word-break:break-word}
.familyShareBadge{display:inline-flex;align-items:center;gap:4px;background:#f2edff;color:#6248cd;border-radius:999px;padding:5px 7px;font-size:8.5px;font-weight:950;margin-top:6px}
.familyReadOnlyMeta{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:10px 0}.familyReadOnlyMeta>div{background:#f7f6fa;border-radius:12px;padding:9px}.familyReadOnlyMeta label{display:block;color:var(--muted);font-size:7.8px;font-weight:850;text-transform:uppercase}.familyReadOnlyMeta b{display:block;font-size:9.8px;margin-top:3px}
.familyPrivacy{font-size:8.8px;line-height:1.5;color:var(--muted);margin-top:9px;padding:10px;background:#f8f7fa;border-radius:12px}


/* AdminMind Family — Emploi du temps intelligent */
.familyPlanningLaunch{border:1px solid #d9d2ff;background:linear-gradient(135deg,#f8f6ff,#eef8ff);border-radius:18px;padding:13px;margin-top:9px;display:flex;align-items:center;gap:11px;cursor:pointer;position:relative;overflow:hidden}
.familyPlanningLaunch:after{content:"";position:absolute;width:96px;height:96px;border-radius:50%;right:-42px;top:-48px;background:rgba(91,84,222,.09)}
.familyPlanningLaunchIcon{width:43px;height:43px;border-radius:14px;background:linear-gradient(145deg,#6e55e5,#268ec9);color:#fff;display:grid;place-items:center;font-size:20px;box-shadow:0 9px 22px rgba(75,76,194,.18);flex:0 0 auto}
.familyPlanningLaunchMain{flex:1;min-width:0;position:relative;z-index:1}.familyPlanningLaunchMain small{display:block;color:#6150c5;font-size:8px;font-weight:950;text-transform:uppercase;letter-spacing:.45px}.familyPlanningLaunchMain b{display:block;font-size:11.5px;margin-top:3px}.familyPlanningLaunchMain span{display:block;color:var(--muted);font-size:8.8px;line-height:1.4;margin-top:3px}.familyPlanningLaunchArrow{font-size:18px;color:#6654c9;position:relative;z-index:1}
.familyPlanningHero{background:linear-gradient(140deg,#161827 0%,#29265b 58%,#287fae 140%);color:#fff;border-radius:23px;padding:17px;margin-bottom:10px;position:relative;overflow:hidden}.familyPlanningHero:after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;right:-65px;top:-72px;background:rgba(73,192,214,.22)}.familyPlanningHero>*{position:relative;z-index:1}.familyPlanningHero small{display:inline-flex;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:5px 8px;font-size:8px;font-weight:950;letter-spacing:.4px}.familyPlanningHero h3{font-size:22px;line-height:1.1;margin:10px 0 6px}.familyPlanningHero p{font-size:10px!important;line-height:1.5!important;color:#dde7ef!important;margin:0!important}
.familyPlanningToolbar{display:flex;gap:7px;margin:9px 0}.familyPlanningToolbar button{border:0;border-radius:12px;padding:10px 11px;font-size:9px;font-weight:900;cursor:pointer}.familyPlanningToolbar .scan{flex:1;background:linear-gradient(135deg,#6d54e5,#348bc9);color:#fff}.familyPlanningToolbar .manual{background:#f0edff;color:#5d49c0}
.familyPlanningWeekNav{display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid var(--border);background:#fff;border-radius:15px;padding:7px 8px;margin:8px 0}.familyPlanningWeekNav button{width:31px;height:31px;border:0;border-radius:10px;background:#f3f1fb;color:#5f4bc2;font-weight:950;cursor:pointer}.familyPlanningWeekNav b{font-size:10px;text-align:center}.familyPlanningWeekNav small{display:block;color:var(--muted);font-size:7.8px;margin-top:2px;text-align:center}
.familyPlanningMembers{display:flex;gap:6px;overflow:auto;padding:1px 0 7px;scrollbar-width:none}.familyPlanningMembers::-webkit-scrollbar{display:none}.familyPlanningChip{border:1px solid var(--border);background:#fff;border-radius:999px;padding:7px 9px;font-size:8.5px;font-weight:900;white-space:nowrap;cursor:pointer;color:#656272}.familyPlanningChip.on{background:#25233d;color:#fff;border-color:#25233d}
.familyPlanningDays{display:grid;grid-template-columns:repeat(7,minmax(78px,1fr));gap:6px;overflow-x:auto;padding:1px 0 8px;scrollbar-width:none}.familyPlanningDays::-webkit-scrollbar{display:none}.familyPlanningDay{border:1px solid var(--border);background:#fff;border-radius:15px;padding:8px;min-height:122px}.familyPlanningDay.today{border-color:#9b8cf2;box-shadow:0 0 0 2px rgba(115,87,255,.06)}.familyPlanningDayHead{text-align:center;margin-bottom:7px}.familyPlanningDayHead b{display:block;font-size:8.8px;text-transform:capitalize}.familyPlanningDayHead small{display:block;color:var(--muted);font-size:7.5px;margin-top:2px}.familyPlanningShift{border-radius:10px;background:#f0edff;border-left:3px solid #7056e1;padding:7px 6px;margin-top:5px;cursor:pointer}.familyPlanningShift.mine{background:#eaf8fb;border-left-color:#2f99ae}.familyPlanningShift.off{background:#f4f4f6;border-left-color:#a4a3ad}.familyPlanningShift b{display:block;font-size:8.3px}.familyPlanningShift small{display:block;color:#6f6b7c;font-size:7.3px;line-height:1.3;margin-top:2px}.familyPlanningDayEmpty{font-size:7.6px;color:#aaa6b3;text-align:center;padding:17px 2px}
.familyPlanningSummary{display:flex;gap:7px;margin:2px 0 9px}.familyPlanningKpi{flex:1;border:1px solid var(--border);background:#fff;border-radius:13px;padding:9px}.familyPlanningKpi b{display:block;font-size:15px}.familyPlanningKpi small{display:block;color:var(--muted);font-size:7.6px;margin-top:2px}
.familyPlanningFileBox{border:1px dashed #cfc8e9;background:#faf9ff;border-radius:17px;padding:15px;text-align:center;margin:9px 0}.familyPlanningFileBox .big{font-size:28px}.familyPlanningFileBox b{display:block;font-size:11px;margin-top:5px}.familyPlanningFileBox small{display:block;color:var(--muted);font-size:8.7px;line-height:1.45;margin-top:4px}.familyPlanningFileName{margin-top:8px;padding:8px 9px;border-radius:11px;background:#f0edff;color:#5f4abd;font-size:8.5px;font-weight:850;display:none}.familyPlanningFileName.show{display:block}
.familyPlanningForm label{display:block;font-size:7.8px;font-weight:900;text-transform:uppercase;color:var(--muted);margin:9px 0 4px 2px}.familyPlanningForm input,.familyPlanningForm select{width:100%;border:1px solid var(--border);background:#fff;border-radius:12px;padding:10px;font:inherit;font-size:10px;outline:none}.familyPlanningForm input:focus,.familyPlanningForm select:focus{border-color:#9987ed;box-shadow:0 0 0 3px rgba(115,87,255,.07)}.familyPlanningFormGrid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.familyPlanningAiNote{background:#eef8ff;border:1px solid #d3eaf7;border-radius:14px;padding:10px;font-size:8.7px;line-height:1.45;color:#3d6277;margin:9px 0}.familyPlanningAiState{display:none;border-radius:13px;padding:10px;margin:9px 0;font-size:9px;line-height:1.4}.familyPlanningAiState.show{display:block}.familyPlanningAiState.loading{display:block;background:#f0edff;border:1px solid #dad3ff;color:#5948b0}.familyPlanningAiState.error{display:block;background:#fff0f0;border:1px solid #efd0d0;color:#a54848}.familyPlanningAiState.ok{display:block;background:#edf9f3;border:1px solid #cce9da;color:#276d4c}
.familyPlanningReviewRow{border:1px solid var(--border);border-radius:14px;padding:9px;margin-top:7px;background:#fff}.familyPlanningReviewTop{display:flex;align-items:center;gap:7px}.familyPlanningReviewTop input[type=checkbox]{width:17px;height:17px;accent-color:#6952d6}.familyPlanningReviewTop b{font-size:9.5px;flex:1}.familyPlanningReviewTop span{font-size:7.5px;font-weight:900;border-radius:999px;padding:4px 6px;background:#eef9f3;color:#2b704e}.familyPlanningReviewGrid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:5px;margin-top:7px}.familyPlanningReviewGrid input{width:100%;min-width:0;border:1px solid var(--border);border-radius:9px;padding:7px;font-size:8.2px}.familyPlanningReviewTitle{width:100%;border:1px solid var(--border);border-radius:9px;padding:7px;font-size:8.2px;margin-top:5px}.familyPlanningReviewOff{color:var(--muted);font-size:8px;margin-top:6px}.familyPlanningFooterNote{font-size:8.2px;color:var(--muted);line-height:1.45;margin:8px 1px}
html[data-theme="dark"] .familySection,html[data-theme="dark"] .familyPlanningWeekNav,html[data-theme="dark"] .familyPlanningDay,html[data-theme="dark"] .familyPlanningKpi,html[data-theme="dark"] .familyPlanningChip,html[data-theme="dark"] .familyPlanningReviewRow{background:#171b24;border-color:#2a3040}html[data-theme="dark"] .familyPlanningLaunch{background:linear-gradient(135deg,#1b192b,#15242d);border-color:#383154}html[data-theme="dark"] .familyPlanningForm input,html[data-theme="dark"] .familyPlanningForm select,html[data-theme="dark"] .familyPlanningReviewGrid input,html[data-theme="dark"] .familyPlanningReviewTitle{background:#121620;border-color:#303746;color:#f2f3f7}html[data-theme="dark"] .familyPlanningChip.on{background:#7860e5;border-color:#7860e5}html[data-theme="dark"] .familyPlanningShift{background:#292440}html[data-theme="dark"] .familyPlanningShift.mine{background:#17303a}html[data-theme="dark"] .familyPlanningShift.off{background:#24262c}


/* V4.5.3 — Invitation Family robuste */
.familyInviteGateHero{background:linear-gradient(140deg,#171727,#30275d 62%,#6d52db);color:#fff;border-radius:24px;padding:18px;margin-bottom:11px}
.familyInviteGateHero small{display:inline-flex;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:5px 8px;font-size:8.8px;font-weight:950;letter-spacing:.35px}
.familyInviteGateHero h3{font-size:23px;line-height:1.1;margin:11px 0 7px}.familyInviteGateHero p{font-size:10.8px!important;line-height:1.5!important;color:#ddd9eb!important;margin:0!important}
.familyInviteWho{border:1px solid var(--border);background:#fff;border-radius:16px;padding:12px;margin:9px 0}
.familyInviteWho label{display:block;color:var(--muted);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.3px}
.familyInviteWho b{display:block;font-size:11.5px;margin-top:3px;word-break:break-word}
.familyInviteWarning{background:#fff5e8;border:1px solid #f0d6a9;border-radius:14px;padding:10px;font-size:9.5px;line-height:1.45;color:#7c5a22;margin:9px 0}
.familyInviteOk{background:#effaf5;border:1px solid #ccebdc;border-radius:14px;padding:10px;font-size:9.5px;line-height:1.45;color:#246a4a;margin:9px 0}


/* V4.7.12 — Correctif actions document Personnel + suppression sécurisée */
/* V4.7.12 — ordre d’empilement des actions document */
#documentActionSheet{z-index:180}
#proClassifySheet{z-index:185}
#documentDeleteConfirmSheet{z-index:190}

/* V4.7.16 — barre principale toujours accessible, même après un long scroll */

/* Garde le dernier contenu au-dessus de la barre fixe, y compris sur iPhone. */
main{padding-bottom:calc(104px + env(safe-area-inset-bottom));}

.proHero{background:linear-gradient(145deg,#111422,#26234c);border-radius:28px;padding:20px;color:#fff;box-shadow:var(--shadow);position:relative;overflow:hidden;margin:8px 0 14px}
.proHero:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-95px;top:-85px;background:rgba(115,87,255,.4)}
.proHero>*{position:relative;z-index:1}.proEyebrow{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:6px 9px;font-size:9px;font-weight:950;letter-spacing:.5px}.proHero h2{font-size:24px;margin:11px 0 6px;letter-spacing:-.6px}.proHero p{margin:0;color:#d4d3e4;font-size:11.5px;line-height:1.5;max-width:335px}.proHeroActions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.proHeroBtn{border:0;border-radius:14px;padding:11px 12px;font-size:10.5px;font-weight:900;cursor:pointer}.proHeroBtn.primaryPro{background:#fff;color:#1b1931}.proHeroBtn.ghostPro{background:rgba(255,255,255,.11);color:#fff;border:1px solid rgba(255,255,255,.14)}
.proAiNote{margin:10px 0 12px;background:#f1eeff;border:1px solid #ded7ff;border-radius:18px;padding:12px;display:flex;gap:10px;align-items:flex-start}.proAiIcon{width:38px;height:38px;border-radius:12px;background:#6e52e8;color:#fff;display:grid;place-items:center;flex:0 0 auto}.proAiNote b{display:block;font-size:11px}.proAiNote small{display:block;color:#716d80;font-size:9.5px;line-height:1.45;margin-top:3px}
.proStats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}.proStats.autoStatus{grid-template-columns:repeat(2,1fr)}.proStat{background:#fff;border:1px solid var(--border);border-radius:17px;padding:11px;min-width:0}.proStat b{display:block;font-size:21px;letter-spacing:-.5px}.proStat small{display:block;color:var(--muted);font-size:8.5px;line-height:1.3;margin-top:2px}.proStockBar{display:flex;gap:7px;flex-wrap:wrap;margin:-2px 0 12px}.proStockChip{background:#f7f6fa;border:1px solid var(--border);border-radius:999px;padding:7px 9px;font-size:8.7px;font-weight:850;color:#666373}.proStockChip b{color:#252433}
.proSectionHead{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:18px 2px 9px}.proSectionHead h3{font-size:17px;margin:0}.proSectionHead small{display:block;color:var(--muted);font-size:9.5px;margin-top:2px}.proMiniBtn{border:0;background:#ece8ff;color:#5e47c7;border-radius:10px;padding:8px 9px;font-size:9px;font-weight:900;cursor:pointer;white-space:nowrap}
.proModules{display:grid;grid-template-columns:1fr 1fr;gap:8px}.proModule{border:1px solid var(--border);background:#fff;border-radius:17px;padding:12px;text-align:left;cursor:pointer;min-height:76px}.proModule.active{border-color:#b9adff;box-shadow:0 0 0 2px rgba(115,87,255,.07);background:#faf9ff}.proModule span{font-size:19px}.proModule b{display:block;font-size:10.5px;margin-top:5px}.proModule small{display:block;color:var(--muted);font-size:8.5px;margin-top:2px}
.proEntityList,.proDocList{display:grid;gap:8px}.proEntity{width:100%;border:1px solid var(--border);background:#fff;border-radius:18px;padding:12px;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer}.proEntityIcon{width:44px;height:44px;border-radius:14px;background:#f0edff;display:grid;place-items:center;font-size:21px;flex:0 0 auto}.proEntityMain{flex:1;min-width:0}.proEntityMain b{display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.proEntityMain small{display:block;color:var(--muted);font-size:9px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.proEntityStatus{font-size:8px;font-weight:950;border-radius:999px;padding:5px 7px;background:#edf8f2;color:#277052}.proEntityStatus.preparing{background:#fff3df;color:#9a6719}.proEntityStatus.reserved{background:#edf1ff;color:#5268b4}.proEntityStatus.sold{background:#f1f1f4;color:#747583}.proVehicleCreateWays{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:2px 0 4px}.proVehicleWay{border:1px solid #ddd8f2;background:#faf9ff;border-radius:15px;padding:11px;text-align:left;cursor:pointer}.proVehicleWay span{font-size:20px;display:block}.proVehicleWay b{display:block;font-size:10.5px;margin-top:5px}.proVehicleWay small{display:block;color:var(--muted);font-size:8.4px;line-height:1.35;margin-top:2px}.proVehicleAiState{display:none;border-radius:14px;padding:10px;margin:1px 0 3px;font-size:9px;line-height:1.45}.proVehicleAiState.show{display:block}.proVehicleAiState.loading{background:#f2efff;border:1px solid #ded7ff;color:#5c49b6}.proVehicleAiState.ok{background:#edf9f3;border:1px solid #cfeadc;color:#246c4a}.proVehicleAiState.error{background:#fff1f1;border:1px solid #efd2d2;color:#a54545}.proPrivacyMini{font-size:8.3px;color:var(--muted);line-height:1.45;background:#f7f7fa;border-radius:12px;padding:9px}.proStatusChooser{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.proStatusBtn{border:1px solid var(--border);background:#fff;border-radius:12px;padding:9px 8px;font-size:9px;font-weight:900;cursor:pointer}.proStatusBtn.on{border-color:#9685ed;background:#f3f0ff;color:#5e48c4}
.proDoc{border:1px solid var(--border);background:#fff;border-radius:17px;padding:9px;display:flex;align-items:center;gap:8px}.proDocOpen{border:0;background:transparent;padding:2px;display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-align:left;cursor:pointer;color:inherit}.proDocEdit{border:1px solid #e2ddf6;background:#f8f6ff;color:#6650c8;border-radius:12px;padding:7px 8px;font-size:8.2px;font-weight:950;white-space:nowrap;cursor:pointer}.proDocViewHint{display:block;color:#6d55d1!important;font-weight:850;margin-top:3px!important}.proDocIcon{width:40px;height:40px;border-radius:13px;background:#f6f4ff;display:grid;place-items:center;font-size:18px;flex:0 0 auto}.proDocMain{flex:1;min-width:0}.proDocMain b{display:block;font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.proDocMain small{display:block;color:var(--muted);font-size:8.6px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.proDocTag{font-size:7.8px;font-weight:900;background:#eeeaff;color:#654fc9;border-radius:999px;padding:5px 6px;white-space:nowrap}.proDocTag.pending{background:#fff2dc;color:#9b681c}.proMatchHint{margin:8px 0 2px;padding:9px 10px;border-radius:13px;background:#fff7e8;border:1px solid #f0dfb9;color:#805c1a;font-size:8.7px;line-height:1.45}.proMatchHint.ok{background:#edf9f3;border-color:#cfeadc;color:#246c4a}.proCreateExplain{font-size:8.5px;color:var(--muted);line-height:1.45;margin:2px 0 4px}.proQuickManual{margin-top:8px;background:#fff7e8;border:1px solid #f0dfb9;color:#7e5a17}
.proEmpty{background:#fff;border:1px dashed #d9d9e3;border-radius:18px;padding:18px;text-align:center;color:var(--muted);font-size:10px;line-height:1.5}.proEmpty span{display:block;font-size:28px;margin-bottom:7px}
.proSetupHero{background:linear-gradient(145deg,#161727,#332b64);color:#fff;border-radius:23px;padding:18px;margin-bottom:11px}.proSetupHero small{display:inline-flex;background:rgba(255,255,255,.11);border-radius:999px;padding:5px 8px;font-size:8.5px;font-weight:950}.proSetupHero h3{font-size:22px;margin:10px 0 6px}.proSetupHero p{font-size:10.5px!important;line-height:1.5!important;color:#dad8e7!important;margin:0!important}.proActivityGrid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.proActivity{border:1px solid var(--border);background:#fff;border-radius:16px;padding:12px;text-align:left;cursor:pointer;min-height:84px}.proActivity span{font-size:22px}.proActivity b{display:block;font-size:10.5px;margin-top:6px}.proActivity small{display:block;color:var(--muted);font-size:8.5px;line-height:1.3;margin-top:2px}.proCustomBox{margin-top:10px;border:1px solid var(--border);background:#faf9ff;border-radius:16px;padding:11px}.proCustomBox input{width:100%;border:1px solid var(--border);border-radius:12px;padding:11px;background:#fff;font-size:11px;outline:none}.proCustomBox input:focus{border-color:#a896ff;box-shadow:0 0 0 3px rgba(115,87,255,.08)}

.proVehicleKpis{display:grid;grid-template-columns:repeat(2,1fr);gap:7px;margin-top:10px}.proVehicleKpi{background:#fff;border:1px solid var(--border);border-radius:14px;padding:10px}.proVehicleKpi small{display:block;color:var(--muted);font-size:7.7px;font-weight:900;text-transform:uppercase}.proVehicleKpi b{display:block;font-size:14px;margin-top:4px}.proVehicleKpi.good b{color:#159b67}.proVehicleKpi.bad b{color:#c65058}.proVehicleKpi.hero{background:#171827;color:#fff;border-color:#171827}.proVehicleKpi.hero small{color:#c8c7d5}.proVehicleKpi.hero b{color:#fff}.proVehicleFinance{margin-top:10px;background:#f7f6fa;border-radius:16px;padding:11px}.proVehicleFinance h4,.proVehicleChecklist h4{margin:0 0 8px;font-size:11px}.proVehicleFinanceGrid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.proVehicleFinance label{display:block;font-size:7.5px;font-weight:900;text-transform:uppercase;color:var(--muted);margin:0 0 4px 2px}.proVehicleFinance input{width:100%;border:1px solid var(--border);border-radius:11px;padding:9px;background:#fff;font:inherit;font-size:10px}.proVehicleChecklist{margin-top:10px;border:1px solid var(--border);border-radius:16px;padding:11px;background:#fff}.proChecklistHead{display:flex;justify-content:space-between;align-items:center;gap:8px}.proChecklistPct{font-size:9px;font-weight:950;background:#eeeaff;color:#6049c5;border-radius:999px;padding:5px 8px}.proChecklistRow{display:flex;align-items:center;gap:8px;padding:7px 0;border-top:1px solid #efedf3}.proChecklistRow:first-of-type{border-top:0}.proChecklistIcon{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:950;background:#edf8f2;color:#277052}.proChecklistIcon.missing{background:#fff3df;color:#9a6719}.proChecklistText{flex:1;min-width:0}.proChecklistText b{display:block;font-size:9.5px}.proChecklistText small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.proVehicleHint{font-size:8.2px;color:var(--muted);line-height:1.4;margin-top:7px}
.proForm{display:grid;gap:9px}.proField label{display:block;font-size:8.5px;color:var(--muted);font-weight:900;text-transform:uppercase;margin:0 0 4px 2px}.proField input,.proField select,.proField textarea{width:100%;border:1px solid var(--border);border-radius:13px;background:#f9f9fb;padding:11px;font-size:11px;outline:none}.proField textarea{min-height:78px;resize:vertical}.proTwo{display:grid;grid-template-columns:1fr 1fr;gap:8px}.proEntityHero{background:#171827;color:#fff;border-radius:21px;padding:16px}.proEntityHero small{font-size:8.5px;color:#c8c7d5}.proEntityHero h3{font-size:20px;margin:6px 0}.proEntityHero p{margin:0!important;color:#d5d3e0!important;font-size:10px!important}.proEntityMeta{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.proEntityMeta>div{background:#f7f6fa;border-radius:12px;padding:9px}.proEntityMeta label{display:block;color:var(--muted);font-size:7.5px;text-transform:uppercase;font-weight:900}.proEntityMeta b{display:block;font-size:9.5px;margin-top:3px}.proImportItem{width:100%;border:1px solid var(--border);background:#fff;border-radius:15px;padding:10px;display:flex;align-items:center;gap:9px;text-align:left;margin-bottom:7px;cursor:pointer}.proImportItem b{display:block;font-size:10px}.proImportItem small{display:block;font-size:8.5px;color:var(--muted);margin-top:2px}.proSetupFooter{font-size:8.8px;line-height:1.45;color:var(--muted);padding:10px;background:#f7f7fa;border-radius:13px;margin-top:10px}


/* V5 — Mes documents : recherche intelligente + classement automatique */
.documentsTop{margin:8px 2px 12px}.documentsTop h2{margin:0;font-size:29px;letter-spacing:-.8px}.documentsTop p{margin:5px 0 0;color:var(--muted);font-size:13px;line-height:1.45}
.docsSearchShell{background:var(--surface);border:1px solid var(--border);border-radius:22px;padding:11px;box-shadow:0 10px 28px rgba(37,46,78,.05);position:relative;overflow:hidden}
.docsSearchShell:before{content:"";position:absolute;width:130px;height:130px;border-radius:50%;right:-72px;top:-88px;background:rgba(115,87,255,.09);pointer-events:none}
.docsSearchRow{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;position:relative;z-index:1}.docsSearchInput{width:100%;border:0;outline:none;background:var(--surface2);color:var(--text);border-radius:15px;padding:13px 13px;font-size:13px;font-weight:650}.docsSearchInput::placeholder{color:var(--muted);font-weight:550}.docsSearchInput:focus{box-shadow:0 0 0 3px rgba(115,87,255,.10)}
.docsVoiceBtn{border:0;border-radius:15px;background:linear-gradient(145deg,#8068ff,#6447e7);color:white;font-size:18px;display:grid;place-items:center;cursor:pointer;box-shadow:0 8px 20px rgba(100,71,231,.20)}
.docsSearchHint{display:flex;gap:6px;align-items:flex-start;color:var(--muted);font-size:9.5px;margin:8px 2px 0;position:relative;z-index:1;line-height:1.35}.docsSearchHint b{color:var(--purple);white-space:nowrap}
.docsQuickActions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 2px}.docsQuickAction{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:15px;padding:10px 11px;font-size:10.5px;font-weight:850;cursor:pointer;text-align:left}.docsQuickAction span{margin-right:6px}.docsQuickAction.primary{background:#171827;color:white;border-color:#171827}
.docsSectionHead{display:flex;justify-content:space-between;align-items:end;margin:19px 2px 9px}.docsSectionHead h3{margin:0;font-size:17px;letter-spacing:-.2px}.docsSectionHead small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.docsSectionHead button{border:0;background:none;color:var(--purple);font-size:10px;font-weight:900;cursor:pointer;padding:4px}
.docsFolderGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.docsFolder{min-width:0;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:17px;padding:11px 9px;text-align:left;cursor:pointer;min-height:82px;position:relative;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease}.docsFolder:active{transform:scale(.98)}.docsFolder.active{border-color:#8b76ff;background:linear-gradient(145deg,var(--surface),var(--purpleSoft));box-shadow:0 8px 22px rgba(115,87,255,.10)}.docsFolderIcon{font-size:21px;display:block;margin-bottom:6px}.docsFolder b{display:block;font-size:10.5px;line-height:1.12;white-space:normal}.docsFolder small{display:block;color:var(--muted);font-size:8.5px;margin-top:3px}.docsFolderCount{position:absolute;right:8px;top:8px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--surface2);border:1px solid var(--border);display:grid;place-items:center;font-size:8px;font-weight:900;color:var(--muted)}.docsFolder.active .docsFolderCount{background:var(--purple);color:white;border-color:var(--purple)}
.docsResultList{display:grid;gap:8px}.docsResult{width:100%;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:17px;padding:10px 11px;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.docsResultIcon{width:42px;height:42px;border-radius:13px;background:var(--surface2);display:grid;place-items:center;font-size:20px;flex:0 0 auto}.docsResultMain{flex:1;min-width:0}.docsResultMain b{display:block;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.docsResultMain small{display:block;color:var(--muted);font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.docsResultTag{font-size:8px;font-weight:900;color:var(--purple);background:var(--purpleSoft);border-radius:999px;padding:5px 7px;white-space:nowrap}.docsEmpty{border:1px dashed var(--border);border-radius:18px;padding:22px 14px;text-align:center;color:var(--muted);font-size:11px;line-height:1.45}.docsEmpty span{display:block;font-size:28px;margin-bottom:7px}.docsSmartLine{margin:10px 0 0;padding:9px 10px;border-radius:14px;background:var(--purpleSoft);color:var(--muted);font-size:9.5px;line-height:1.4}.docsSmartLine b{color:var(--purple)}
@media(max-width:355px){.docsFolderGrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
html[data-theme="dark"] .docsQuickAction.primary{background:#f3f4f8;color:#171827;border-color:#f3f4f8}html[data-theme="dark"] .docsVoiceBtn{box-shadow:0 8px 24px rgba(128,104,255,.18)}


/* V6.1 — Dossier express : sélection, aperçu, lecture plein écran, envoi, impression et PDF unique */
.docsSelectBtn{border:0;background:var(--purpleSoft);color:var(--purple);border-radius:11px;padding:8px 10px;font-size:10px;font-weight:950;cursor:pointer;white-space:nowrap}
.docsSelectBtn.cancel{background:var(--surface2);color:var(--muted)}
.docsResult.selection{padding-left:9px}.docsResult.selection.unavailable{opacity:.58}
.docsCheck{width:25px;height:25px;border-radius:50%;border:1.5px solid var(--border);background:var(--surface2);display:grid;place-items:center;flex:0 0 auto;font-size:12px;font-weight:950;color:transparent;transition:.16s}
.docsResult.selected{border-color:#8d78ff;background:linear-gradient(145deg,var(--surface),var(--purpleSoft));box-shadow:0 8px 22px rgba(115,87,255,.09)}
.docsResult.selected .docsCheck{background:var(--purple);border-color:var(--purple);color:#fff}
.docsNoOriginal{font-size:7.4px;font-weight:950;color:var(--muted);background:var(--surface2);border:1px solid var(--border);border-radius:999px;padding:5px 6px;white-space:nowrap}
.docsSelectionBar{position:fixed;left:50%;bottom:calc(82px + env(safe-area-inset-bottom));transform:translateX(-50%) translateY(18px);width:min(calc(100% - 24px),456px);z-index:68;background:rgba(24,25,39,.96);color:white;border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:9px 10px 9px 13px;display:flex;align-items:center;gap:10px;box-shadow:0 16px 38px rgba(18,18,28,.24);opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease;backdrop-filter:blur(18px)}
.docsSelectionBar.show{opacity:1;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.docsSelectionCount{flex:1;min-width:0}.docsSelectionCount b{display:block;font-size:11.5px}.docsSelectionCount small{display:block;color:#babdcc;font-size:8.8px;margin-top:1px}
.docsSelectionActions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.docsSelectionGhostBtn,.docsSelectionDeleteBtn,.docsSelectionPreviewBtn{border:0;border-radius:12px;padding:10px 12px;font-size:10px;font-weight:950;cursor:pointer;white-space:nowrap}.docsSelectionGhostBtn{background:rgba(255,255,255,.08);color:#fff}.docsSelectionDeleteBtn{background:rgba(205,71,71,.18);color:#ffb7b7;border:1px solid rgba(255,112,112,.22)}.docsSelectionPreviewBtn{background:#8068ff;color:#fff}
.docsSavedBundles{display:grid;gap:8px;margin:0 0 2px}.docsSavedBundle{width:100%;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:16px;padding:10px 11px;display:flex;align-items:center;gap:10px;text-align:left;cursor:pointer}.docsSavedBundleIcon{width:39px;height:39px;border-radius:12px;background:var(--purpleSoft);display:grid;place-items:center;font-size:18px}.docsSavedBundleMain{flex:1;min-width:0}.docsSavedBundleMain b{display:block;font-size:10.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.docsSavedBundleMain small{display:block;color:var(--muted);font-size:8.8px;margin-top:2px}.docsSavedBundleDelete{border:0;background:var(--surface2);color:var(--muted);border-radius:10px;width:30px;height:30px;font-size:13px;cursor:pointer}

/* Aperçu dossier */
.bundleSheet{max-height:94vh;padding-bottom:calc(22px + env(safe-area-inset-bottom))}
.bundleHead{display:flex;align-items:flex-start;gap:10px;margin-bottom:5px}.bundleHeadMain{flex:1;min-width:0}.bundleHeadMain h3{margin:0;font-size:23px}.bundleHeadMain p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.4}.bundleCountBadge{background:var(--purpleSoft);color:var(--purple);border-radius:999px;padding:6px 8px;font-size:9px;font-weight:950;white-space:nowrap}
.bundleIdentityWarning{display:none;margin:9px 0 11px;padding:10px 11px;border-radius:14px;background:#fff7e9;border:1px solid #f0ddb2;color:#795918;font-size:9.5px;line-height:1.4}.bundleIdentityWarning.show{display:block}
.bundleList{display:grid;gap:9px;margin:11px 0 12px}.bundleRow{border:1px solid var(--border);background:var(--surface);border-radius:18px;padding:9px;display:grid;grid-template-columns:64px minmax(0,1fr) 34px;gap:9px;align-items:center}
.bundleThumb{width:64px;height:82px;border-radius:10px;background:var(--surface2);border:1px solid var(--border);overflow:hidden;display:grid;place-items:center;color:var(--muted);font-size:22px;position:relative}.bundleThumb img,.bundleThumb canvas{width:100%;height:100%;object-fit:cover;display:block}.bundleThumbPdf{position:absolute;right:4px;bottom:4px;background:rgba(20,20,30,.78);color:#fff;border-radius:6px;padding:3px 4px;font-size:6.8px;font-weight:900}
.bundleRowMain{min-width:0}.bundleRowMain b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bundleRowMain small{display:block;color:var(--muted);font-size:8.8px;line-height:1.35;margin-top:3px}.bundleOrder{display:grid;gap:5px}.bundleOrder button{width:32px;height:30px;border:0;border-radius:9px;background:var(--surface2);color:var(--text);font-weight:950;cursor:pointer}.bundleOrder button:disabled{opacity:.35}.bundleRemove{margin-top:6px;border:0;background:transparent;color:#c94c54;font-size:8.5px;font-weight:900;padding:0;cursor:pointer}
.bundleRowTools{display:flex;align-items:center;gap:8px;margin-top:10px;flex-wrap:wrap}.bundleView{border:1px solid color-mix(in srgb,var(--purple) 45%,transparent);background:var(--purpleSoft);color:var(--purple);border-radius:12px;padding:10px 12px;font-size:10.5px;font-weight:950;cursor:pointer;white-space:nowrap;min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:6px}.bundleView:active{transform:scale(.98)}.bundleThumb.bundleOpenable{cursor:pointer;position:relative}.bundleThumb.bundleOpenable:after{content:'👁';position:absolute;right:5px;bottom:5px;width:25px;height:25px;border-radius:9px;display:grid;place-items:center;background:rgba(18,19,30,.78);color:#fff;font-size:11px;box-shadow:0 4px 12px rgba(0,0,0,.18)}.bundleRowMain .bundleTitleOpen{border:0;background:transparent;color:var(--text);padding:0;text-align:left;font:inherit;font-weight:inherit;cursor:pointer;max-width:100%;display:block}.bundlePreviewHint{margin:7px 0 2px;padding:8px 10px;border-radius:12px;background:var(--purpleSoft);color:var(--muted);font-size:9px;line-height:1.35}.bundlePreviewHint b{color:var(--purple)}
.bundleActionPrimary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0 8px}.bundleActionBtn{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:15px;padding:11px 8px;text-align:center;cursor:pointer;font-size:9.5px;font-weight:950}.bundleActionBtn span{display:block;font-size:20px;margin-bottom:4px}.bundleActionBtn.primary{background:linear-gradient(135deg,#6d50e7,#8068ff);border-color:#7054ea;color:#fff}.bundleActionBtn:disabled{opacity:.55}
.bundleSaveLine{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bundlePrivacy{font-size:8.8px;line-height:1.4;color:var(--muted);text-align:center;margin-top:9px}.bundleBusy{display:none;margin:8px 0;padding:10px;border-radius:13px;background:var(--purpleSoft);color:var(--purple);font-size:9.5px;font-weight:850;text-align:center}.bundleBusy.show{display:block}
.bundleSaveBox{padding:2px 0 4px}.bundleSaveBox label{display:block;font-size:9px;font-weight:900;color:var(--muted);text-transform:uppercase;margin:0 0 5px 2px}.bundleSaveBox input{width:100%;border:1px solid var(--border);background:var(--surface2);color:var(--text);border-radius:14px;padding:12px 13px;font-size:12px;outline:none}.bundleSaveBox input:focus{border-color:#8a73f1;box-shadow:0 0 0 3px rgba(123,92,255,.10)}
html[data-theme="dark"] .bundleIdentityWarning{background:#362b16;border-color:#5a4520;color:#edc97b}
@media(max-width:355px){.bundleRow{grid-template-columns:56px minmax(0,1fr) 32px}.bundleThumb{width:56px;height:74px}.bundleActionPrimary{grid-template-columns:1fr}}


/* V6.3 — Aperçu fiable + partage natif sans fusion PDF automatique */
.bundleFilePreviewModal{position:fixed;inset:0;z-index:1450;background:#080a0f;color:#fff;display:none;flex-direction:column;padding:max(8px,env(safe-area-inset-top)) 0 max(8px,env(safe-area-inset-bottom));overscroll-behavior:none}
.bundleFilePreviewModal.show{display:flex}
.bundleFilePreviewBar{flex:0 0 auto;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 12px;border-bottom:1px solid rgba(255,255,255,.12);background:#10131b}
.bundleFilePreviewBar button{border:1px solid rgba(255,255,255,.14);background:#1a1e29;color:#fff;border-radius:12px;padding:10px 12px;font-size:11px;font-weight:900;cursor:pointer}
.bundleFilePreviewTitle{min-width:0;text-align:center}.bundleFilePreviewTitle b{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bundleFilePreviewTitle small{display:block;color:#aeb5c4;font-size:8.5px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bundleFilePreviewViewer{flex:1;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:12px;background:#0b0d12;display:block}
.bundleFilePreviewViewer>img{display:block;max-width:100%;height:auto;max-height:none;margin:0 auto;border-radius:8px;background:#fff}
.bundlePdfPage{display:block;width:100%;height:auto;margin:0 auto 12px;border-radius:6px;background:#fff;box-shadow:0 6px 22px rgba(0,0,0,.28)}
.bundlePreviewLoading{min-height:55vh;display:grid;place-items:center;text-align:center;color:#c6cad5;font-size:12px;line-height:1.5;padding:30px}.bundlePreviewLoading span{display:block;font-size:30px;margin-bottom:8px}
.bundlePreviewLimit{margin:10px auto 20px;max-width:380px;padding:11px 12px;border-radius:13px;background:#171b25;color:#c8cedb;text-align:center;font-size:9.5px;line-height:1.4}

/* V4.7.12 — Thème clair / sombre */
.themeChoice{display:flex;gap:6px;background:#f1f2f6;border:1px solid var(--border);padding:4px;border-radius:12px;flex:0 0 auto}
.themeBtn{appearance:none;border:0;background:transparent;color:var(--muted);font-size:11px;font-weight:850;padding:7px 9px;border-radius:9px;cursor:pointer}
.themeBtn.active{background:var(--surface);color:var(--text);box-shadow:0 2px 8px rgba(24,25,38,.08)}

html[data-theme="dark"]{
  --bg:#0d1017;--surface:#171b24;--surface2:#1c202b;--text:#f4f6fb;--muted:#9aa2b3;
  --purple:#8068ff;--purple2:#a593ff;--purpleSoft:#282241;--green:#42c98a;--greenSoft:#17372b;
  --orange:#f2ad45;--orangeSoft:#3a2d17;--red:#ff7470;--redSoft:#3a2022;--blue:#6aa4ff;--blueSoft:#1b2d48;
  --border:#2a3040;--shadow:0 16px 44px rgba(0,0,0,.28);
  background:#090b10;color-scheme:dark;
}
html[data-theme="dark"] body{background:linear-gradient(180deg,#0b0e14 0,#090b10 100%);color:var(--text)}
html[data-theme="dark"] .app{background:var(--bg);border-color:var(--border)}
html[data-theme="dark"] .topbar{background:rgba(13,16,23,.92)}

html[data-theme="dark"] .iconbtn,
html[data-theme="dark"] .stat,
html[data-theme="dark"] .setting,
html[data-theme="dark"] .accountCard,
html[data-theme="dark"] .analysisBox,
html[data-theme="dark"] .search,
html[data-theme="dark"] .sheet,
html[data-theme="dark"] .modal,
html[data-theme="dark"] .empty,
html[data-theme="dark"] .filter,
html[data-theme="dark"] .smartSearchBox,
html[data-theme="dark"] .smartSearchResult,
html[data-theme="dark"] .voiceMatch,
html[data-theme="dark"] .voiceExample,
html[data-theme="dark"] .fileMeta,
html[data-theme="dark"] .textInput,
html[data-theme="dark"] .sampleBtn,
html[data-theme="dark"] .ghostBtn,
html[data-theme="dark"] .authCard,
html[data-theme="dark"] .authBenefit,
html[data-theme="dark"] .welcomeFeature,
html[data-theme="dark"] .familySection,
html[data-theme="dark"] .familyDoc,
html[data-theme="dark"] .familyInviteWho,
html[data-theme="dark"] .proStat,
html[data-theme="dark"] .proModule,
html[data-theme="dark"] .proEntity,
html[data-theme="dark"] .proDoc,
html[data-theme="dark"] .proEmpty,
html[data-theme="dark"] .proActivity,
html[data-theme="dark"] .proVehicleKpi,
html[data-theme="dark"] .proVehicleChecklist,
html[data-theme="dark"] .proImportItem,
html[data-theme="dark"] .docActionBtn,
html[data-theme="dark"] .scenario,
html[data-theme="dark"] .dataAction,
html[data-theme="dark"] .resetBtn{background:var(--surface)!important;color:var(--text);border-color:var(--border)!important}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{background:#121620;color:var(--text);border-color:var(--border)}
html[data-theme="dark"] .smartSearchInput{background:#121620;color:var(--text)}
html[data-theme="dark"] .themeChoice{background:#0f131b;border-color:var(--border)}
html[data-theme="dark"] .themeBtn.active{background:#272d3a;color:#fff;box-shadow:none}
html[data-theme="dark"] .privacyNote,
html[data-theme="dark"] .techNote,
html[data-theme="dark"] .trialPromise,
html[data-theme="dark"] .shareHint,
html[data-theme="dark"] .betaInviteAuthNote{background:#171b27!important;color:#bbc2d2!important;border-color:var(--border)!important}
html[data-theme="dark"] .banner{background:#15251f!important;border-color:#294337!important;color:var(--text)}
html[data-theme="dark"] .testerStartCard{background:linear-gradient(135deg,#211c37,#171a24)!important;border-color:#342d55!important;color:var(--text)!important}
html[data-theme="dark"] .testerStartStatus{background:#2a2344!important;color:#c8bcff!important}
html[data-theme="dark"] .testerStartStatus.ok{background:#18352a!important;color:#76d9ad!important}
html[data-theme="dark"] .testerCheck{background:#171b24!important;border-color:#2a3040!important}
html[data-theme="dark"] .installCard{background:linear-gradient(135deg,#211c37,#171a24);border-color:#342d55}
html[data-theme="dark"] .installStep{background:#121620;border-color:var(--border)}
html[data-theme="dark"] .proCustomBox input,html[data-theme="dark"] .proVehicleFinance input{background:#121620!important;color:var(--text)!important;border-color:var(--border)!important}
html[data-theme="dark"] .planStatusCard.free{background:var(--surface)!important;border-color:var(--border)!important}
html[data-theme="dark"] .familyHomeCard{background:linear-gradient(135deg,#171b24,#211c37)!important;border-color:#342d55!important;color:var(--text)!important}
html[data-theme="dark"] .familyHomeMain b{color:var(--text)!important}
html[data-theme="dark"] .familyHomeMain span{color:var(--muted)!important}
html[data-theme="dark"] .familyHomeMain small,html[data-theme="dark"] .familyHomeArrow{color:#9b87ff!important}
html[data-theme="dark"] .familyActivityBadge{border-color:#0f1219}
html[data-theme="dark"] .modeTabs button.active,html[data-theme="dark"] .authModeTab.active{background:#272d3a!important;color:#fff!important}
html[data-theme="dark"] .ticketVaultViewer iframe{background:#fff}
html[data-theme="dark"] .docActionBtn.primaryAction{background:linear-gradient(145deg,#7c61ff,#6449e8)!important;color:#fff!important;border-color:transparent!important}
html[data-theme="dark"] .dropBtn{background:#f6f7fb;color:#151720}
html[data-theme="dark"] .toggle:after{background:#fff}
html[data-theme="dark"] .sourcePreview,html[data-theme="dark"] .ocrStatus{background:#121620;border-color:var(--border);color:var(--muted)}


/* V4.7.13 — CONTRASTE SOMBRE RENFORCÉ
   Règle : surface sombre = texte clair / surface claire = texte foncé.
   Les cartes d'information pastel du thème clair ont une vraie variante sombre. */
html[data-theme="dark"] .proAiNote{
  background:#171a29!important;
  border-color:#39345b!important;
  color:#f5f7fb!important;
}
html[data-theme="dark"] .proAiNote b{color:#f7f8fc!important}
html[data-theme="dark"] .proAiNote small{color:#b8bfd0!important}
html[data-theme="dark"] .proAiIcon{background:#765cff!important;color:#fff!important}

html[data-theme="dark"] .proStockChip{
  background:#171b24!important;border-color:#303748!important;color:#aeb6c7!important
}
html[data-theme="dark"] .proStockChip b{color:#f5f7fb!important}
html[data-theme="dark"] .proMiniBtn{background:#2a2443!important;color:#c1b6ff!important}
html[data-theme="dark"] .proModule.active{background:#211d31!important;border-color:#6254a8!important}
html[data-theme="dark"] .proEntityIcon,
html[data-theme="dark"] .proDocIcon{background:#27223a!important;color:#fff!important}
html[data-theme="dark"] .proVehicleWay{background:#171b24!important;border-color:#34394b!important;color:#f5f7fb!important}
html[data-theme="dark"] .proPrivacyMini,
html[data-theme="dark"] .proVehicleFinance,
html[data-theme="dark"] .proSetupFooter,
html[data-theme="dark"] .proCustomBox{background:#141820!important;color:#b6becd!important;border-color:#2d3444!important}
html[data-theme="dark"] .proStatusBtn{background:#171b24!important;color:#f5f7fb!important;border-color:#303748!important}
html[data-theme="dark"] .proStatusBtn.on{background:#2b2447!important;color:#c7bcff!important;border-color:#715fd1!important}
html[data-theme="dark"] .proDocEdit{background:#29233f!important;color:#c5b9ff!important;border-color:#463c70!important}
html[data-theme="dark"] .proDocViewHint{color:#b8a9ff!important}
html[data-theme="dark"] .proDocTag{background:#2a2443!important;color:#c6b9ff!important}
html[data-theme="dark"] .proDocTag.pending{background:#3a2d17!important;color:#f2bd69!important}
html[data-theme="dark"] .proMatchHint,
html[data-theme="dark"] .proQuickManual{background:#332817!important;border-color:#594422!important;color:#e6bb72!important}
html[data-theme="dark"] .proMatchHint.ok{background:#173126!important;border-color:#28543e!important;color:#7edbb0!important}
html[data-theme="dark"] .proEntityMeta>div{background:#141820!important}
html[data-theme="dark"] .proChecklistPct{background:#2a2443!important;color:#c2b5ff!important}
html[data-theme="dark"] .proChecklistRow{border-color:#2b3140!important}

/* Personnel / cartes conseils / éléments pastel */
html[data-theme="dark"] .smartAdvice,
html[data-theme="dark"] .voiceChoice,
html[data-theme="dark"] .demoDiscovery{
  background:linear-gradient(135deg,#211d33,#171b24)!important;
  border-color:#39345a!important;
  color:#f5f7fb!important;
}
html[data-theme="dark"] .voiceChoice strong{color:#f5f7fb!important}
html[data-theme="dark"] .voiceChoice small{color:#c6cad8!important}
html[data-theme="dark"] .smartAdvice b{color:#c5b8ff!important}
html[data-theme="dark"] .smartAdvice p{color:#bdc4d2!important}
html[data-theme="dark"] .voicePrivacy,
html[data-theme="dark"] .betaPrivacy{background:#1d1930!important;color:#bdb5df!important}
html[data-theme="dark"] .duplicateCompare,
html[data-theme="dark"] .reminderPlan,
html[data-theme="dark"] .planFeature,
html[data-theme="dark"] .demoChip{
  background:#171b24!important;
  border-color:#2e3545!important;
  color:#f5f7fb!important;
}
html[data-theme="dark"] .duplicateCompare p{color:#aeb6c7!important}
html[data-theme="dark"] .priceBtn{background:#1c1a2b!important;border-color:#403867!important;color:#f5f7fb!important}
html[data-theme="dark"] .priceBtn b{color:#b9aaff!important}
html[data-theme="dark"] .priceBtn.best{background:#6b50df!important;color:#fff!important;border-color:#6b50df!important}
html[data-theme="dark"] .betaPayNote{background:#342a19!important;border-color:#584523!important;color:#e7c17a!important}
html[data-theme="dark"] .planStatusCard,
html[data-theme="dark"] .planStatusCard.free,
html[data-theme="dark"] .planStatusCard.plus,
html[data-theme="dark"] .planStatusCard.expired{
  background:#171b24!important;border-color:#2e3545!important;color:#f5f7fb!important
}
html[data-theme="dark"] .demoFictionBadge{background:#29223f!important;color:#c1b3ff!important}

/* Badges : garder une couleur lisible sans flash blanc */
html[data-theme="dark"] .pill.purple,
html[data-theme="dark"] .pending{background:#2a2443!important;color:#c6b9ff!important}
html[data-theme="dark"] .pill.green,
html[data-theme="dark"] .done{background:#17372b!important;color:#7eddb2!important}
html[data-theme="dark"] .pill.orange,
html[data-theme="dark"] .soon{background:#3a2d17!important;color:#f4bd66!important}
html[data-theme="dark"] .pill.blue,
html[data-theme="dark"] .info{background:#1b2d48!important;color:#8db9ff!important}
html[data-theme="dark"] .pill.red,
html[data-theme="dark"] .urgent{background:#3a2022!important;color:#ff9b98!important}

/* Boutons clairs intentionnels : texte toujours foncé */
html[data-theme="dark"] .proHeroBtn.primaryPro,
html[data-theme="dark"] .dropBtn{background:#f7f8fb!important;color:#151720!important}

/* Placeholders / labels / sous-textes : minimum de contraste */
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{color:#7f8899!important;opacity:1}
html[data-theme="dark"] .proModule small,
html[data-theme="dark"] .proEntityMain small,
html[data-theme="dark"] .proDocMain small,
html[data-theme="dark"] .proSectionHead small,
html[data-theme="dark"] .proVehicleWay small,
html[data-theme="dark"] .proChecklistText small{color:#a3acbd!important}


/* V4.7.16 — Navigation fixe + factures globales
   Corrige la carte d'identité du document restée claire dans la feuille d'actions. */
html[data-theme="dark"] .docActionHero{
  background:#141820!important;
  border-color:#303748!important;
  color:#f5f7fb!important;
}
html[data-theme="dark"] .docActionHero span{
  background:#29233f!important;
  color:#fff!important;
}
html[data-theme="dark"] .docActionHero b{color:#f5f7fb!important}
html[data-theme="dark"] .docActionHero small{color:#aeb6c7!important}
html[data-theme="dark"] .docDeleteConfirmHero{
  background:#211719!important;
  border-color:#5a2c31!important;
}
html[data-theme="dark"] .docDeleteConfirmHero b{color:#ff9b98!important}
html[data-theme="dark"] .docDeleteConfirmHero small{color:#bbc2d2!important}
html[data-theme="dark"] .docDeleteWarning{
  background:#2a1a1d!important;
  color:#e8a2a0!important;
}
html[data-theme="dark"] .docDeleteTrigger{
  background:#3a2022!important;
  color:#ff7470!important;
  border-color:#5b3034!important;
}


/* V4.7.19 — vrai correctif contraste fiche document en mode sombre.
   Le bloc V4.7.17 avait été injecté dans le HTML d'impression au lieu de la feuille globale. */
html[data-theme="dark"] #detailSheet .modal,
html[data-theme="dark"] #detailContent{
  color:#f4f6fb!important;
}
html[data-theme="dark"] #detailContent .docVaultCard,
html[data-theme="dark"] #detailContent .vaultCard,
html[data-theme="dark"] #detailContent .detailMeta .meta{
  background:#171b24!important;
  border-color:#303748!important;
  color:#f4f6fb!important;
  box-shadow:none!important;
}
html[data-theme="dark"] #detailContent .docVaultCard b,
html[data-theme="dark"] #detailContent .vaultCard b,
html[data-theme="dark"] #detailContent .detailMeta .meta div{
  color:#f4f6fb!important;
}
html[data-theme="dark"] #detailContent .docVaultCard small,
html[data-theme="dark"] #detailContent .vaultCard small,
html[data-theme="dark"] #detailContent .detailMeta .meta label{
  color:#a3acbd!important;
}
html[data-theme="dark"] #detailContent .smartAdvice{
  background:linear-gradient(135deg,#211d33,#171b24)!important;
  border-color:#39345a!important;
}
html[data-theme="dark"] #detailContent .detailIcon{
  background:#29233f!important;
  color:#fff!important;
}
html[data-theme="dark"] #detailContent .secondary{
  background:#202530!important;
  border-color:#343b4b!important;
  color:#f4f6fb!important;
}
html[data-theme="dark"] #detailContent .permanentDelete{
  background:#2a1a1d!important;
  border-color:#5a2c31!important;
  color:#ff8f8b!important;
}


/* V4.7.19 — contraste écran succès + statut Pro en attente de rattachement */
html[data-theme="dark"] #success .receipt{
  background:#171b24!important;
  border-color:#303748!important;
  color:#f4f6fb!important;
  box-shadow:none!important;
}
html[data-theme="dark"] #success .receiptRow{border-color:#2a3040!important}
html[data-theme="dark"] #success .receiptRow span:first-child{color:#a3acbd!important}
html[data-theme="dark"] #success .receiptRow b{color:#f4f6fb!important}
html[data-theme="dark"] #success .secondary{
  background:#202530!important;
  color:#f4f6fb!important;
  border-color:#343b4b!important;
}
html[data-theme="dark"] #success .proQuickManual{
  background:#332817!important;
  color:#f2bd69!important;
  border:1px solid #594422!important;
}


/* V4.7.21 — ONBOARDING TESTEUR : installation écran d’accueil + parcours guidé */
html[data-theme="dark"] #successReceipt,
html[data-theme="dark"] #success .receipt,
html[data-theme="dark"] .successHero .receipt{
  background:#171B24!important;
  border:1px solid #2A3040!important;
  color:#F4F6FB!important;
  box-shadow:none!important;
}
html[data-theme="dark"] #successReceipt .receiptRow,
html[data-theme="dark"] #success .receiptRow{
  border-bottom-color:#2A3040!important;
  color:#F4F6FB!important;
}
html[data-theme="dark"] #successReceipt .receiptRow span,
html[data-theme="dark"] #success .receiptRow span{
  color:#A3ACBD!important;
}
html[data-theme="dark"] #successReceipt .receiptRow b,
html[data-theme="dark"] #successReceipt .receiptRow strong,
html[data-theme="dark"] #success .receiptRow b,
html[data-theme="dark"] #success .receiptRow strong{
  color:#F4F6FB!important;
}
html[data-theme="dark"] #success .successHero h3{color:#F4F6FB!important}
html[data-theme="dark"] #success .successHero>p{color:#AEB6C7!important}
html[data-theme="dark"] #success .secondary{
  background:#202530!important;
  color:#F4F6FB!important;
  border:1px solid #343B4B!important;
}

/* V4.7.26 — navigation iPhone : la barre est ancrée au viewport, pas au conteneur scrollé */


/* V4.7.22 — correctif mobile : barre fixe et cartes Pro toujours dans le cadre */
html,body{max-width:100%;overflow-x:hidden}


/* Les actions des documents Pro passent sur une ligne dédiée si l’écran est étroit. */
@media (max-width:420px){
  .proDoc{flex-wrap:wrap;min-width:0;overflow:hidden}
  .proDocOpen{flex:1 1 100%;width:100%;min-width:0}
  .proDocMain{min-width:0}
  .proDocTag{flex:0 0 auto;max-width:92px;overflow:hidden;text-overflow:ellipsis}
  .proDocEdit{margin-left:auto;flex:0 0 auto}
}

/* V4.7.26 — AdminMind Pro+ · lecture comptable instantanée */
.proPlusAccountingBtn{background:linear-gradient(135deg,#7357ff,#4f3bd1)!important;color:#fff!important;border-color:transparent!important}
.accHero{background:linear-gradient(145deg,#17142f,#2b2358);color:#fff;border-radius:20px;padding:18px;margin-bottom:12px;position:relative;overflow:hidden}.accHero:after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;right:-52px;top:-58px;background:rgba(126,98,255,.28)}.accHero>*{position:relative;z-index:1}.accHero small{display:block;color:#c9c4e9;font-size:10px;font-weight:800;letter-spacing:.4px}.accHero h3{margin:6px 0;font-size:23px}.accHero p{margin:0;color:#dedaf4;font-size:11px;line-height:1.45}.accPeriod{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:11px 0}.accPeriod button{border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:12px;padding:9px 5px;font-size:9px;font-weight:900}.accPeriod button.active{background:var(--purple);color:#fff;border-color:var(--purple)}.accGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.accCard{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:12px;min-width:0}.accCard b{display:block;font-size:18px;letter-spacing:-.3px}.accCard small{display:block;color:var(--muted);font-size:9px;margin-top:4px;line-height:1.35}.accCard.good b{color:#129766}.accCard.warn b{color:#c27b00}.accWide{grid-column:1/-1}.accSection{margin:16px 0 8px}.accSectionHead{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-bottom:8px}.accSectionHead h4{margin:0;font-size:16px}.accSectionHead small{color:var(--muted);font-size:9px}.accDoc{display:flex;gap:9px;align-items:flex-start;padding:10px;border:1px solid var(--border);border-radius:14px;background:var(--surface);margin-bottom:7px}.accDocMain{flex:1;min-width:0}.accDocMain b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.accDocMain small{display:block;color:var(--muted);font-size:8.5px;line-height:1.35;margin-top:3px}.accBadge{font-size:8px;font-weight:900;border-radius:999px;padding:5px 7px;background:var(--purpleSoft);color:var(--purple)}.accBadge.sale{background:#e8f8ef;color:#168558}.accBadge.pending{background:#fff1cf;color:#a66b00}.accActions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.accActions button{min-height:47px}.accFoot{margin-top:9px;padding:10px;border-radius:12px;background:var(--surface);color:var(--muted);font-size:8.5px;line-height:1.45}.accAiFlag{display:flex;gap:8px;padding:10px;border-radius:13px;background:var(--purpleSoft);color:#3e3479;font-size:9px;line-height:1.35;margin:10px 0}.accAiFlag b{display:block;margin-bottom:2px}.accMoneyTitle{margin:14px 2px 7px;font-size:11px;font-weight:900;letter-spacing:.2px;color:var(--text)}.accMoneySummary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 10px}.accMoneyCard,.accMoneyTotal{border:1px solid var(--border);background:var(--surface);border-radius:16px;padding:12px;min-width:0}.accMoneyCard small{display:block;font-size:8px;font-weight:900;letter-spacing:.5px;text-transform:uppercase;margin-bottom:4px}.accMoneyCard b{display:block;font-size:21px;letter-spacing:-.5px;line-height:1.1}.accMoneyCard span{display:block;color:var(--muted);font-size:8.5px;line-height:1.3;margin-top:5px}.accMoneyCard.confirmed small,.accMoneyCard.confirmed b{color:#129766}.accMoneyCard.pending small,.accMoneyCard.pending b{color:#c27b00}.accMoneyTotal{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px}.accMoneyTotal span{color:var(--muted);font-size:9px;font-weight:800}.accMoneyTotal b{font-size:17px;white-space:nowrap}.accMoneyHint{grid-column:1/-1;color:var(--muted);font-size:8px;line-height:1.35;padding:0 2px}.accAiFlag b{display:block;margin-bottom:2px}html[data-theme="dark"] .accMoneyCard,html[data-theme="dark"] .accMoneyTotal{background:#171b24;border-color:#2a3040}html[data-theme="dark"] .accMoneyCard.confirmed small,html[data-theme="dark"] .accMoneyCard.confirmed b{color:#72d6ad}html[data-theme="dark"] .accMoneyCard.pending small,html[data-theme="dark"] .accMoneyCard.pending b{color:#ffc86a}html[data-theme="dark"] .accHero{background:linear-gradient(145deg,#17142f,#292250)}html[data-theme="dark"] .accCard,html[data-theme="dark"] .accDoc{background:#171b24;border-color:#2a3040}html[data-theme="dark"] .accPeriod button{background:#171b24;border-color:#2a3040;color:#aeb6c7}html[data-theme="dark"] .accPeriod button.active{background:#8068ff;color:#fff;border-color:#8068ff}html[data-theme="dark"] .accAiFlag{background:#211d3d;color:#d8d1ff}html[data-theme="dark"] .accFoot{background:#151923;color:#a3acbd}html[data-theme="dark"] .accBadge.sale{background:#123326;color:#72d6ad}html[data-theme="dark"] .accBadge.pending{background:#3c2c12;color:#ffc86a}
@media(max-width:390px){.accPeriod{grid-template-columns:repeat(2,1fr)}.accActions{grid-template-columns:1fr}}


/* AdminMind rebrand — logo only, no functional/UI redesign */
.authLogo img,.logo img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}

/* AdminMind Family Modern V2 — UI simplifiée, claire/sombre et dynamique */
:root{
  --am-accent:#5b66f2;--am-accent2:#36a6d9;--am-navy:#0d1630;--am-glass:rgba(255,255,255,.78);
  --shadow:0 18px 50px rgba(29,42,79,.10);--radius:24px;
}
body{background:radial-gradient(circle at 18% -5%,rgba(91,102,242,.11),transparent 29%),radial-gradient(circle at 90% 8%,rgba(54,166,217,.10),transparent 25%),linear-gradient(180deg,#f8faff 0,#edf1f7 100%)}
.app{background:linear-gradient(180deg,rgba(247,249,253,.96),var(--bg));box-shadow:0 0 70px rgba(20,32,66,.08)}
:root{--adminmind-safe-area-top:0px}
@supports (padding:env(safe-area-inset-top)){
  :root{--adminmind-safe-area-top:env(safe-area-inset-top)}
}
.topbar{height:calc(72px + var(--adminmind-safe-area-top));padding:calc(15px + var(--adminmind-safe-area-top)) 18px 10px;background:rgba(248,250,254,.82);border-bottom:1px solid rgba(221,226,238,.72);backdrop-filter:blur(24px) saturate(1.25)}
.brand{font-size:20px}.logo{box-shadow:0 10px 26px rgba(83,93,226,.22)}
.quickThemeBtn{font-size:18px;background:var(--surface2);color:#3b4668}.addTopBtn{background:linear-gradient(145deg,var(--am-accent),#7662f7)!important;color:#fff!important;border-color:transparent!important;box-shadow:0 8px 22px rgba(91,102,242,.25)}
.voiceTopBtn{position:relative;background:linear-gradient(145deg,#edf1ff,#eefaff);border-color:#dce2fa;color:#5863dc}.voiceTopBtn:after{content:"";position:absolute;inset:-3px;border-radius:17px;border:1px solid rgba(91,102,242,.18);animation:amSoftPulse 2.4s ease-out infinite}
@keyframes amSoftPulse{0%,100%{opacity:.25;transform:scale(.96)}50%{opacity:.75;transform:scale(1.05)}}
.hello{margin-top:12px}.hello h1{font-size:31px}.hello p{max-width:390px}
.homeHero{background:linear-gradient(145deg,#0d1832 0%,#18254a 54%,#305f86 130%);padding:24px;border-radius:30px;box-shadow:0 22px 52px rgba(20,35,78,.20);isolation:isolate}
.homeHero:before{width:230px;height:230px;background:radial-gradient(circle,rgba(105,116,255,.45),rgba(105,116,255,0) 68%);right:-75px;top:-92px;animation:amFloat 7s ease-in-out infinite}
.homeHero:after{width:180px;height:180px;background:radial-gradient(circle,rgba(55,190,218,.22),rgba(55,190,218,0) 70%);right:35px;bottom:-125px;animation:amFloat 9s ease-in-out infinite reverse}
.homeHeroGlow{position:absolute!important;inset:auto -10% -70% auto;width:230px;height:230px;border-radius:50%;background:rgba(78,173,211,.18);filter:blur(16px);z-index:0!important}
@keyframes amFloat{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(-9px,11px,0)}}
.homeHeroEyebrow{display:inline-flex;padding:6px 8px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);border-radius:999px;font-size:8px;font-weight:950;letter-spacing:.6px;color:#dfe5ff;margin-bottom:11px}
.homeHero h2{font-size:26px;max-width:350px}.homeHero p{color:#d7dfef;max-width:380px}
.homeHero .dropBtn{background:#fff;color:#111a32;box-shadow:0 10px 25px rgba(0,0,0,.14)}
.voiceHeroBtn{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.19);min-height:52px}.voiceLiveDot{width:8px;height:8px;border-radius:50%;background:#76e4ff;box-shadow:0 0 0 6px rgba(118,228,255,.11);animation:voiceDot 1.8s ease-in-out infinite}@keyframes voiceDot{50%{box-shadow:0 0 0 10px rgba(118,228,255,0)}}
.familyHomeCard{border-radius:22px!important;box-shadow:0 11px 30px rgba(48,54,94,.06);transition:transform .18s ease,box-shadow .18s ease}.familyHomeCard:active{transform:scale(.985)}
.stat,.smartSearchBox,.setting,.accountCard{box-shadow:0 10px 28px rgba(37,46,78,.045)}


.familyHeroV2{background:linear-gradient(140deg,#101a36 0%,#253269 60%,#287fae 145%)!important;border-radius:25px!important;padding:19px!important;box-shadow:0 18px 42px rgba(21,36,82,.17)}
.familyWelcomeGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:10px 0}.familyWelcomeTile{border:1px solid var(--border);background:var(--surface);border-radius:17px;padding:12px 9px;min-width:0}.familyWelcomeTile span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:var(--purpleSoft);font-size:16px;margin-bottom:8px}.familyWelcomeTile b{display:block;font-size:9.5px}.familyWelcomeTile small{display:block;color:var(--muted);font-size:7.5px;line-height:1.35;margin-top:3px}
.familyHubGrid{display:grid;gap:8px;margin:10px 0}.familyHubCard{width:100%;border:1px solid var(--border);background:var(--surface);border-radius:19px;padding:12px;display:flex;align-items:center;gap:11px;text-align:left;cursor:pointer;color:var(--text);box-shadow:0 8px 24px rgba(38,45,75,.04);transition:transform .16s ease,box-shadow .16s ease}.familyHubCard:active{transform:scale(.985)}.familyHubIcon{width:43px;height:43px;border-radius:14px;display:grid;place-items:center;font-size:20px;flex:0 0 auto}.familyHubCard.planning .familyHubIcon{background:linear-gradient(145deg,#eeeaff,#e5f6ff)}.familyHubCard.docs .familyHubIcon{background:#eaf3ff}.familyHubCard.todo .familyHubIcon{background:#eaf8f1;color:#14855b}.familyHubText{flex:1;min-width:0}.familyHubText small{display:block;color:var(--muted);font-size:7.5px;font-weight:950;letter-spacing:.45px}.familyHubText b{display:block;font-size:13px;margin-top:2px}.familyHubText em{display:block;font-style:normal;color:var(--muted);font-size:8.4px;margin-top:2px}.familyHubArrow{font-size:20px;color:#7b8190}
.familyPlanningLaunchV2{box-shadow:0 11px 28px rgba(74,71,159,.08);margin:10px 0 12px!important}
.familyPrimarySection{scroll-margin-top:82px}.familyTodoRow{width:100%;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);padding:10px 2px;display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer}.familyTodoRow:last-child{border-bottom:0}.familyTodoCheck{width:31px;height:31px;border-radius:10px;background:var(--greenSoft);color:var(--green);display:grid;place-items:center;font-weight:950}.familyTodoMain{flex:1;min-width:0}.familyTodoMain b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.familyTodoMain small{display:block;color:var(--muted);font-size:8.4px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.familyTodoArrow{color:var(--muted);font-size:17px}.familyEmpty.compact{padding:12px 4px!important}
.familyManagePanel{border:1px solid var(--border);background:var(--surface);border-radius:18px;margin:10px 0;overflow:hidden}.familyManagePanel summary{list-style:none;display:grid;grid-template-columns:34px 1fr auto auto;align-items:center;gap:8px;padding:12px;cursor:pointer}.familyManagePanel summary::-webkit-details-marker{display:none}.familyManagePanel summary>span{width:34px;height:34px;border-radius:11px;background:var(--surface2);display:grid;place-items:center}.familyManagePanel summary>b{font-size:10.5px}.familyManagePanel summary>small{color:var(--muted);font-size:8px}.familyManagePanel summary>i{font-style:normal;color:var(--muted);font-size:18px;transition:transform .18s}.familyManagePanel[open] summary>i{transform:rotate(90deg)}.familyManageBody{padding:0 9px 9px}.familyManageSection{box-shadow:none!important;margin:6px 0!important}
.familyCreateV2{margin-top:10px!important}
.voiceOrb{border-radius:50%!important;background:linear-gradient(145deg,#6370ff,#39a9d6)!important;box-shadow:0 18px 50px rgba(76,96,230,.30)!important}
.voiceRecordBtn{background:linear-gradient(135deg,#19233f,#28365f)!important}

html[data-theme="dark"] body{background:radial-gradient(circle at 10% -5%,rgba(91,102,242,.16),transparent 30%),linear-gradient(180deg,#080d18,#0d1320)!important}
html[data-theme="dark"] .app{background:linear-gradient(180deg,#0b111d,#0d131f)!important;border-color:#1e2737!important}
html[data-theme="dark"] .topbar{background:rgba(10,15,25,.84)!important;border-color:#202b3b!important}
html[data-theme="dark"] .quickThemeBtn{background:#151d2b!important;color:#d8def0!important;border-color:#273246!important}
html[data-theme="dark"] .voiceTopBtn{background:linear-gradient(145deg,#171e34,#142a36)!important;border-color:#2e3952!important;color:#aeb8ff!important}

html[data-theme="dark"] .familyHubCard,html[data-theme="dark"] .familyWelcomeTile,html[data-theme="dark"] .familyManagePanel{background:#151b26!important;border-color:#293244!important;color:#f2f5fb!important}
html[data-theme="dark"] .familyHubCard.planning .familyHubIcon{background:linear-gradient(145deg,#282341,#15313c)!important}html[data-theme="dark"] .familyHubCard.docs .familyHubIcon{background:#16283c!important}html[data-theme="dark"] .familyHubCard.todo .familyHubIcon{background:#143126!important;color:#78ddb1!important}
html[data-theme="dark"] .familyManagePanel summary>span{background:#202838!important}.familyHeroV2{color:#fff}
html[data-theme="dark"] .familyTodoRow{border-color:#293244!important;color:#f3f5f9!important}
html[data-theme="dark"] .homeHero{background:linear-gradient(145deg,#0b1429 0%,#182149 62%,#24546f 135%)!important}
@media (prefers-reduced-motion:reduce){
  .homeHero:before,.homeHero:after,.voiceTopBtn:after,.voiceLiveDot{animation:none!important}
  .familyHomeCard,.familyHubCard{animation:none!important;transition:none!important}
}
@media(max-width:360px){.familyWelcomeGrid{grid-template-columns:1fr}.familyWelcomeTile{display:grid;grid-template-columns:36px 1fr;column-gap:8px}.familyWelcomeTile span{grid-row:1/3;margin:0}.familyWelcomeTile small{grid-column:2}}


/* Partage Family à la confirmation — compatibilité historique */
.smartBriefCompact{padding:14px 15px!important;margin-bottom:14px!important}
.smartBriefCompact .smartBriefTop{align-items:center!important;margin-bottom:0!important}
.smartBriefCompact .smartBriefTop h3{font-size:16px!important;margin-top:2px!important}
.smartBriefCompact .smartBriefText{margin-top:8px!important;font-size:12px!important}
.smartBriefCompact .smartBriefChips,.smartBriefCompact .smartBriefItems{display:none!important}
.processing .aiDocStage{position:relative;width:min(330px,88vw);height:158px;margin:0 auto 18px;display:grid;place-items:center;overflow:hidden}
.processing .aiDocSheet{width:116px;height:142px;border-radius:16px;background:linear-gradient(180deg,#fff,#f5f4ff);box-shadow:0 18px 50px rgba(42,29,108,.20);position:relative;transform:translateZ(0);animation:aiDocFloat 2.2s ease-in-out infinite}
.processing .aiDocSheet:before{content:'';position:absolute;left:17px;right:17px;top:31px;height:7px;border-radius:999px;background:#cfc7ff;box-shadow:0 18px 0 #e1ddff,0 36px 0 #ece9ff,0 54px 0 #ddd7ff}
.processing .aiDocSheet:after{content:'✦';position:absolute;right:12px;top:10px;color:#7055ee;font-size:20px}
.processing .aiScanLine{position:absolute;width:146px;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent,#9178ff,transparent);box-shadow:0 0 18px rgba(126,96,255,.72);animation:aiScan 1.35s ease-in-out infinite}
.processing .aiOrbit{position:absolute;width:210px;height:118px;border:1px solid rgba(126,96,255,.22);border-radius:50%;animation:aiOrbit 4s linear infinite}
.processing .aiOrbit:before,.processing .aiOrbit:after{content:'';position:absolute;width:8px;height:8px;border-radius:50%;background:#8167ff;box-shadow:0 0 14px rgba(129,103,255,.65)}
.processing .aiOrbit:before{left:14px;top:30px}.processing .aiOrbit:after{right:18px;bottom:22px}
.processing .aiLiveLabel{position:absolute;bottom:2px;padding:6px 10px;border-radius:999px;background:var(--purpleSoft);color:var(--purple);font-size:10px;font-weight:800;letter-spacing:.3px}
.processing .steps{max-width:430px;margin:0 auto}
.processing .step{transition:.22s ease}
.processing .step.active{transform:translateX(3px);box-shadow:0 8px 24px rgba(116,88,244,.10)}
@keyframes aiDocFloat{0%,100%{transform:translateY(2px) rotate(-1deg)}50%{transform:translateY(-5px) rotate(1deg)}}
@keyframes aiScan{0%,100%{transform:translateY(-54px);opacity:.2}50%{transform:translateY(54px);opacity:1}}
@keyframes aiOrbit{to{transform:rotate(360deg)}}

/* Cohérence visuelle sombre sur Ajouter / Analyse / Family */
html[data-theme="dark"] .choice{
  background:#171b24!important;
  color:#f4f6fb!important;
  border-color:#2a3040!important;
}
html[data-theme="dark"] .choice small{color:#9aa2b3!important}
html[data-theme="dark"] .choice:hover{border-color:#5d4ec2!important}

html[data-theme="dark"] .step{
  background:#171b24!important;
  color:#9aa2b3!important;
  border-color:#2a3040!important;
}
html[data-theme="dark"] .step .dot{
  background:#242a37!important;
  color:#9aa2b3!important;
}
html[data-theme="dark"] .step.active{
  background:#1d1a2d!important;
  color:#f4f6fb!important;
  border-color:#5c4db0!important;
}
html[data-theme="dark"] .step.active .dot{
  background:#2f2850!important;
  color:#a996ff!important;
}
html[data-theme="dark"] .step.doneStep{
  background:#15251f!important;
  border-color:#294337!important;
}
html[data-theme="dark"] .step.doneStep .dot{
  background:#18352a!important;
  color:#76d9ad!important;
}

.reviewFamilyShare{
  background:linear-gradient(145deg,#171b24,#1d1a2d)!important;
  border:1px solid #34394b!important;
  box-shadow:none!important;
}
.reviewFamilyShareIcon{
  background:#27223a!important;
  color:#f4f6fb!important;
}
.reviewFamilyShareMain b{color:#f4f6fb!important}
.reviewFamilyShareMain small{color:#9aa2b3!important}
.reviewFamilySwitch span{
  background:#303645!important;
  box-shadow:inset 0 0 0 1px #41485b!important;
}
.reviewFamilySwitch span:after{background:#f7f8fc!important}
.reviewFamilySwitch input:checked+span{
  background:linear-gradient(135deg,#765cff,#6b4fe5)!important;
  box-shadow:0 0 0 1px rgba(139,118,255,.32),0 6px 16px rgba(115,87,255,.20)!important;
}

.batchHint{
  display:none;margin:8px 0 0;padding:9px 11px;border-radius:13px;
  background:var(--purpleSoft);color:var(--purple);font-size:10.5px;font-weight:850;
  border:1px solid rgba(115,87,255,.18)
}
.batchHint.show{display:block}
html[data-theme="dark"] .batchHint{
  background:#211d38;color:#cfc6ff;border-color:#3f3565
}


/* Ancien test discret « Votre tranquillité » — masqué */
.tranquilityCard{
  display:none;align-items:center;gap:12px;margin:12px 0 2px;padding:13px 14px;
  border:1px solid var(--border);border-radius:19px;background:var(--card);
  cursor:pointer;transition:transform .16s ease,border-color .16s ease;
}
.tranquilityCard.show{display:flex}
.tranquilityCard:active{transform:scale(.99)}
.tranquilityRing{
  --score:0deg;width:54px;height:54px;border-radius:50%;flex:0 0 auto;
  display:grid;place-items:center;position:relative;
  background:conic-gradient(#5ce0b5 0deg,#56cce8 calc(var(--score)*.55),#7357ff var(--score),rgba(120,128,150,.17) var(--score));
}
.tranquilityRing:before{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--card)}
.tranquilityRing b{position:relative;z-index:1;font-size:13px}
.tranquilityMain{flex:1;min-width:0}
.tranquilityMain small{display:block;color:var(--purple);font-weight:900;font-size:8.5px;letter-spacing:.5px;text-transform:uppercase}
.tranquilityMain b{display:block;font-size:13.5px;margin-top:2px}
.tranquilityMain span{display:block;color:var(--muted);font-size:10px;line-height:1.35;margin-top:2px}
.tranquilityArrow{font-size:21px;color:var(--purple);font-weight:900}
.tranquilitySheetHero{
  border:1px solid var(--border);border-radius:22px;padding:17px;background:linear-gradient(145deg,var(--card),var(--purpleSoft));
  margin:8px 0 13px
}
.tranquilitySheetTop{display:flex;align-items:center;gap:14px}
.tranquilitySheetRing{width:76px;height:76px}
.tranquilitySheetRing:before{inset:7px;background:var(--card)}
.tranquilitySheetRing b{font-size:18px}
.tranquilitySheetHero h3{margin:0;font-size:18px}
.tranquilitySheetHero p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.4}
.tranquilityMetrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}
.tranquilityMetric{border:1px solid var(--border);background:var(--card);border-radius:16px;padding:11px 8px;text-align:center}
.tranquilityMetric b{display:block;font-size:20px}
.tranquilityMetric span{display:block;font-size:9px;color:var(--muted);line-height:1.3;margin-top:2px}
.tranquilityAchievements{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.tranquilityBadge{border:1px solid var(--border);background:var(--card);border-radius:16px;padding:11px}
.tranquilityBadge.locked{opacity:.45}
.tranquilityBadge .ico{font-size:20px;margin-bottom:5px}
.tranquilityBadge b{display:block;font-size:11px}
.tranquilityBadge small{display:block;font-size:9px;color:var(--muted);line-height:1.3;margin-top:3px}
html[data-theme="dark"] .tranquilityCard,
html[data-theme="dark"] .tranquilityMetric,
html[data-theme="dark"] .tranquilityBadge{background:#151b27!important;border-color:#2b3447!important}
html[data-theme="dark"] .tranquilitySheetHero{background:linear-gradient(145deg,#151b27,#201b3a)!important;border-color:#343250!important}
html[data-theme="dark"] .tranquilityRing:before,
html[data-theme="dark"] .tranquilitySheetRing:before{background:#151b27!important}
@media (prefers-reduced-motion:reduce){.tranquilityCard{transition:none!important}}


/* Planning codé / assistant de légende */
.familyPlanningChat{
  margin:10px 0;border:1px solid var(--border);background:var(--surface);
  border-radius:17px;padding:11px
}
.familyPlanningChatTitle{font-size:8px;font-weight:950;letter-spacing:.45px;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.familyPlanningChat textarea{
  width:100%;min-height:118px;resize:none;border:1px solid var(--border);
  background:var(--card);color:var(--text);border-radius:13px;padding:12px;font:inherit;
  /* 16px empêche le zoom automatique Safari/iOS au focus. */
  font-size:16px!important;line-height:1.42;outline:none;
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  scroll-margin-top:90px;scroll-margin-bottom:180px;
  caret-color:currentColor;touch-action:pan-y
}
.familyPlanningChat textarea:focus{border-color:#9987ed;box-shadow:0 0 0 3px rgba(115,87,255,.07)}
.familyPlanningChat small{display:block;color:var(--muted);font-size:8px;line-height:1.4;margin-top:6px}
.familyPlanningUnknown{
  display:none;margin:9px 0;padding:10px 11px;border:1px solid #e9d69a;
  background:#fff8df;color:#7c631d;border-radius:14px;font-size:9px;line-height:1.45
}
.familyPlanningUnknown.show{display:block}
.familyPlanningCodePill{
  display:inline-flex;align-items:center;border-radius:999px;padding:3px 6px;margin:2px 3px 2px 0;
  background:#f0edff;color:#5e4bbe;font-size:8px;font-weight:900
}
.familyPlanningReviewCode{
  display:inline-flex;border-radius:999px;padding:3px 6px;background:#f0edff;color:#5e4bbe;
  font-size:7.5px;font-weight:900;margin-left:4px
}
html[data-theme="dark"] .familyPlanningChat{background:#171b24;border-color:#2a3040}
html[data-theme="dark"] .familyPlanningChat textarea{background:#121620;border-color:#303746;color:#f2f3f7}
html[data-theme="dark"] .familyPlanningUnknown{background:#302a19;border-color:#5c4e24;color:#f1d982}
html[data-theme="dark"] .familyPlanningCodePill,
html[data-theme="dark"] .familyPlanningReviewCode{background:#292440;color:#cbbfff}


/* Couleurs automatiques des postes/plannings */
.familyAgendaRow.shiftColored{
  border-left:4px solid var(--shift-accent,#7357ff)!important;
  background:linear-gradient(90deg,var(--shift-bg,rgba(115,87,255,.09)),transparent 38%),var(--card)!important;
}
.familyAgendaRow.shiftColored .familyAgendaIcon{
  background:var(--shift-bg,rgba(115,87,255,.12))!important;
  color:var(--shift-accent,#7357ff)!important;
  box-shadow:inset 0 0 0 1px var(--shift-border,rgba(115,87,255,.22));
}
.familyAgendaRow.shiftColored .familyAgendaChip.shiftCode{
  background:var(--shift-bg,rgba(115,87,255,.12))!important;
  color:var(--shift-text,#5c49c4)!important;
}
.familyPlanningShift.shiftColored{
  background:var(--shift-bg,rgba(115,87,255,.12))!important;
  border-left-color:var(--shift-accent,#7357ff)!important;
  box-shadow:inset 0 0 0 1px var(--shift-border,rgba(115,87,255,.16));
}
.familyPlanningShift.shiftColored b{color:var(--shift-text,#4f3fb1)!important}
html[data-theme="dark"] .familyAgendaRow.shiftColored{
  background:linear-gradient(90deg,var(--shift-bg-dark,rgba(115,87,255,.16)),transparent 45%),#171b24!important;
}
html[data-theme="dark"] .familyPlanningShift.shiftColored{
  background:var(--shift-bg-dark,rgba(115,87,255,.18))!important;
}
html[data-theme="dark"] .familyPlanningShift.shiftColored b,
html[data-theme="dark"] .familyAgendaRow.shiftColored .familyAgendaChip.shiftCode{
  color:var(--shift-text-dark,#d8d0ff)!important;
}
