:root{color-scheme:light;--red:#c41b31;--red-dark:#a81128;--ink:#17212b;--muted:#7b8390;--line:#e8ebef;--bg:#f7f8fa;--white:#fff;--green:#16866e;--radius:16px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #ee8b99;outline-offset:2px}.hidden{display:none!important}.app-shell{min-height:100vh;display:flex}.sidebar{width:264px;position:sticky;top:0;height:100vh;background:#161c25;color:white;display:flex;flex-direction:column;flex-shrink:0;padding:31px 17px 22px}.brand{display:flex;align-items:center;gap:11px;padding:0 10px 50px}.brand-symbol{width:39px;height:39px;border-radius:12px;background:var(--red);display:flex;align-items:center;justify-content:center;color:white;flex-shrink:0}.brand-symbol svg{width:26px}.brand strong{display:block;font-size:17px;letter-spacing:.065em;font-weight:850}.brand span{display:block;font-size:9px;letter-spacing:.18em;color:#a7aebc;margin-top:4px;font-weight:700}.nav-caption{font-size:10px;letter-spacing:.15em;color:#798496;font-weight:800;margin:0 12px 13px}.side-nav{display:grid;gap:6px}.nav-item{width:100%;border:0;background:transparent;color:#a8b0bd;display:flex;align-items:center;text-align:left;gap:14px;padding:13px 13px;border-radius:10px;font-size:13px;font-weight:650;transition:background .15s,color .15s}.nav-item:hover{background:#242d39;color:#fff}.nav-item.active{background:#30323e;color:white}.nav-item.active:before{content:"";position:absolute;background:#f2465a;width:3px;height:24px;transform:translateX(-13px);border-radius:10px}.nav-icon{font-size:21px;width:21px;text-align:center;line-height:1}.nav-count{margin-left:auto;color:#fff;background:#464d5a;border-radius:6px;padding:3px 7px;font-size:11px}.side-lower{margin-top:auto}.tip-card{padding:21px 18px 17px;border-radius:13px;background:#272f3b;margin-bottom:20px}.tip-emoji{display:block;font-size:24px;margin-bottom:11px}.tip-card strong{font-size:12.5px;line-height:1.5;display:block}.tip-card p{font-size:11.5px;line-height:1.65;color:#aab3c0;margin:8px 0 0}.settings-nav{border-top:1px solid #303946;border-radius:0;padding-top:22px}.main-area{display:flex;min-width:0;flex:1;flex-direction:column}.top-bar{height:77px;padding:0 46px;border-bottom:1px solid #e9edf1;display:flex;align-items:center;justify-content:space-between;background:#fff}.top-eyebrow{display:flex;align-items:center;gap:8px;color:#667181;font-size:10px;letter-spacing:.095em;font-weight:800}.dot{display:inline-block;width:7px;height:7px;background:#55bfa4;border-radius:50%}.divider-dot{font-size:13px;color:#c9cdd4}.top-right{display:flex;align-items:center;gap:25px}.saved-indicator{font-size:11px;color:#8d95a2}.btn{border:0;border-radius:9px;font-weight:750;font-size:12.5px;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:12px 17px;min-height:42px;transition:background .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.btn-dark{background:#1f2834;color:#fff}.btn-dark:hover{background:#344151}.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:var(--red-dark)}.btn-light{background:#fff;color:#1d2936}.btn-outline{border:1px solid #dce1e7;background:#fff;color:#263341}.btn-delete{background:#fff0f2;color:#b52237}.main-content{width:100%;max-width:1440px;margin:0 auto;padding:42px 46px 75px;flex:1}.view{display:none}.view.active{display:block}.heading-line{display:flex;align-items:flex-end;gap:24px;justify-content:space-between}.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--red);font-weight:850;margin-bottom:12px}h1{font-size:clamp(29px,3.1vw,41px);font-weight:850;letter-spacing:-.044em;line-height:1.16;margin:0}.red-period{color:var(--red)}.lead{font-size:13px;color:#8a92a0;line-height:1.7;margin:11px 0 0}.week-switch{background:#fff;border:1px solid #e7eaef;border-radius:12px;display:flex;align-items:center;justify-content:space-between;min-width:246px;height:62px;box-shadow:0 2px 7px #17212b07}.week-switch>button{border:0;background:none;color:#647080;font-size:26px;width:38px;height:100%;font-weight:300}.week-switch>button:disabled{opacity:.25;cursor:not-allowed}.week-switch>div{text-align:center}.week-switch small{font-size:9px;letter-spacing:.14em;font-weight:800;color:#999fab;display:block;margin-bottom:5px}.week-switch strong{font-size:13px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:35px 0 34px}.stat-box{background:#fff;border:1px solid #edf0f3;box-shadow:0 4px 12px #19243205;border-radius:13px;min-height:148px;padding:18px 20px 17px;position:relative}.stat-icon{display:flex;align-items:center;justify-content:center;font-size:21px;border-radius:9px;width:36px;height:36px;margin-bottom:15px;font-weight:500}.stat-icon-dark{background:#edf0f5;color:#243b56}.stat-icon-red{background:#fff0f2;color:#c52238}.stat-icon-green{background:#e5f8f1;color:#1b936f}.stat-icon-purple{background:#f0edff;color:#7051b5}.stat-caption{position:absolute;top:30px;left:65px;font-size:11px;color:#8b93a0;font-weight:600}.stat-box strong{font-size:29px;letter-spacing:-.04em;line-height:1}.stat-sub{font-size:11px;color:#9aa1ac;margin-left:10px}.stat-progress strong{display:block}.progress-track{height:6px;border-radius:999px;background:#eceef2;overflow:hidden;margin-top:12px}.progress-track div{background:var(--red);height:100%;border-radius:999px;transition:width .4s}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 23px}.section-head h2{font-size:20px;letter-spacing:-.027em;margin:0 0 7px}.section-head p{color:#949da9;font-size:12px;margin:0}.h2-count{display:inline-block;color:#7e8896;font-size:12px;font-weight:700;border:1px solid #e4e8ee;border-radius:6px;padding:2px 7px;vertical-align:3px;margin-left:5px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}.filters{display:flex;gap:5px;background:#eceff3;border-radius:9px;padding:4px}.filter{border:0;background:none;padding:8px 12px;border-radius:7px;font-size:11px;color:#9098a4;font-weight:750;white-space:nowrap}.filter.active{background:#fff;color:#1f2b38;box-shadow:0 1px 4px #19243210}.filter span{color:#a9afb9;font-size:10px;margin-left:5px}.search-box{border:1px solid #e2e6ec;background:#fff;border-radius:9px;display:flex;align-items:center;gap:8px;padding:0 12px;height:40px;width:224px}.search-box span{font-size:22px;color:#b2bac5}.search-box input{width:100%;border:0;outline:none;font-size:11px;color:#1d2936}.task-list{display:flex;flex-direction:column;gap:9px}.task-card{border:1px solid #edf0f3;background:#fff;box-shadow:0 2px 7px #19243205;border-radius:12px;display:flex;align-items:center;gap:13px;padding:15px 17px;min-height:78px;position:relative}.task-card:hover{border-color:#d5dbe4}.task-check{width:22px;height:22px;flex:0 0 22px;border:2px solid #ccd1da;border-radius:7px;background:#fff;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:13px}.task-card.is-done .task-check{background:#1b9a75;border-color:#1b9a75}.task-copy{flex:1;min-width:0;border:0;background:transparent;text-align:left;padding:0;display:block}.task-copy strong{font-size:13px;color:#27313e;line-height:1.4;display:block;overflow-wrap:anywhere}.task-card.is-done .task-copy strong{text-decoration:line-through;color:#9ba3ae}.task-copy span{font-size:11px;color:#9aa2ac;display:block;margin-top:7px;white-space:normal}.task-copy .overdue{color:#ca293c;font-weight:700}.task-priority{padding:7px 10px;border-radius:7px;font-size:10px;font-weight:800;white-space:nowrap}.priority-urgent{background:#fff0f2;color:#c32a3d}.priority-normal{background:#eef3fd;color:#6077a0}.priority-low{background:#f2f3f5;color:#8d96a3}.task-menu{font-size:23px;border:0;background:none;color:#acb5c1;padding:7px}.task-due{font-size:10px;color:#8490a0;white-space:nowrap}.empty-state{text-align:center;background:#fff;border:1px dashed #dbe1e7;border-radius:13px;padding:44px 16px}.empty-state .empty-icon{font-size:33px;background:#f6f7fa;width:66px;height:66px;border-radius:17px;display:flex;align-items:center;justify-content:center;margin:0 auto 15px}.empty-state strong{font-size:15px}.empty-state p{color:#929aa6;font-size:12px;line-height:1.6;max-width:330px;margin:8px auto 17px}.inline-bottom{display:flex;justify-content:space-between;gap:10px;margin-top:18px;color:#a9aeba;font-size:10px}.quiet-button{color:#b32a3c;font-weight:750;border:0;background:transparent;font-size:11px;padding:0}.notice-banner{background:#fff8e9;border:1px solid #f3ddad;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:15px 19px;border-radius:12px;font-size:12px;margin-bottom:24px;color:#705723}.notice-banner strong{display:block;margin-bottom:4px;font-size:13px}.notice-banner button{border:0;border-radius:7px;background:#735a21;color:#fff;font-size:11px;font-weight:800;padding:11px 15px}.daily-banner{background:linear-gradient(125deg,#c72038,#921a2c);border-radius:16px;min-height:167px;padding:26px 30px;display:flex;align-items:center;gap:19px;margin:35px 0 35px;color:#fff}.daily-icon{width:62px;height:62px;display:flex;align-items:center;justify-content:center;background:#ffffff22;border-radius:15px;font-size:31px;flex:0 0 auto}.daily-banner h2{font-size:23px;letter-spacing:-.035em;margin:7px 0}.daily-banner p{font-size:12px;color:#fff9;line-height:1.6;margin:0}.daily-kicker{font-size:9px;font-weight:850;letter-spacing:.18em;color:#ffd2d9}.daily-banner .btn{margin-left:auto}.today-section{margin-top:40px}.secondary-heading{font-size:11px;letter-spacing:.12em;color:#89939f;font-weight:850;margin:33px 0 15px}.day-checks{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.day-check{border:1px solid #e8ebef;background:#fff;border-radius:11px;text-align:center;padding:17px 8px}.day-check strong{display:block;font-size:12px;margin-bottom:8px}.day-check span{display:flex;align-items:center;justify-content:center;margin:auto;background:#f3f5f7;border-radius:50%;color:#9ca5b0;width:30px;height:30px}.day-check.checked span{background:#dff7ef;color:#168866}.day-check.today{border-color:#f2b3bc}.archive-list{margin-top:32px;display:grid;gap:12px}.archive-item{background:#fff;border:1px solid #e9edf0;border-radius:12px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:14px}.archive-item h3{margin:0 0 8px;font-size:15px}.archive-item p{margin:0;color:#8c97a4;font-size:11px}.archive-item button{border:1px solid #e0e5eb;border-radius:8px;padding:10px 14px;color:#283748;background:#fff;font-size:11px;font-weight:800}.settings-panel{border-radius:15px;border:1px solid #e7ebef;background:#fff;margin-top:30px;overflow:hidden}.settings-line{padding:25px 27px;display:flex;align-items:center;gap:18px;border-bottom:1px solid #edf0f4}.settings-icon{display:flex;align-items:center;justify-content:center;width:43px;height:43px;background:#fff0f2;border-radius:12px;font-size:21px;flex-shrink:0}.settings-text{flex:1}.settings-panel h3{font-size:15px;margin:0 0 7px;letter-spacing:-.02em}.settings-panel p{font-size:12px;color:#8b95a2;line-height:1.6;margin:0}.settings-line input{width:112px;padding:10px 8px;border:1px solid #dae1e9;border-radius:9px;background:#fafbfc;color:#2c3845;font-weight:750}.settings-action{padding:26px 27px;background:#fbfcfd}.settings-action .btn{margin:18px 0 12px}.settings-action small{display:block;color:#a1a9b4;font-size:11px;line-height:1.55}.data-panel{padding:27px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px}.data-buttons{display:flex;gap:9px;flex-wrap:wrap}.privacy-note{display:flex;gap:10px;color:#8e98a4;font-size:11px;margin-top:23px;line-height:1.55}.footer{font-size:9px;letter-spacing:.1em;font-weight:700;color:#b0b8c2;display:flex;justify-content:space-between;gap:10px;padding:20px 46px;border-top:1px solid #e7ebef}.mobile-nav{display:none}.modal-overlay{position:fixed;inset:0;background:#17202c9c;z-index:15;display:flex;justify-content:center;align-items:center;padding:18px;backdrop-filter:blur(3px)}.modal{width:100%;max-width:570px;max-height:calc(100dvh - 30px);overflow-y:auto;background:#fff;border-radius:17px;padding:27px 29px;box-shadow:0 25px 80px #08121a55}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.modal-head h2{margin:0;font-size:26px;letter-spacing:-.045em}.icon-button{width:34px;height:34px;border:0;border-radius:9px;background:#f1f3f6;color:#6f7b89}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;min-width:0}.field>span{font-size:11px;font-weight:780;color:#5d6876}.field b{color:#ce233a}.field input,.field textarea,.field select{width:100%;border-radius:9px;border:1px solid #dde3e9;background:#fff;padding:12px 12px;color:#253343;font-size:13px;outline-offset:1px}.field input::placeholder,.field textarea::placeholder{color:#b6bdc6}.field textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.modal-actions{display:flex;align-items:center;gap:8px;margin-top:25px;padding-top:20px;border-top:1px solid #e8edf2}.action-spacer{flex:1}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,140px);background:#1b2734;color:#fff;font-size:12px;font-weight:700;padding:13px 20px;border-radius:10px;box-shadow:0 8px 25px #0003;z-index:30;transition:transform .25s;max-width:90%;text-align:center}.toast.show{transform:translate(-50%,0)}@media(max-width:1100px){.sidebar{width:218px}.main-content{padding:32px 26px 65px}.top-bar{padding:0 26px}.footer{padding:20px 26px}.stat-box{padding:14px}.stat-caption{left:58px}.stat-sub{display:block;margin:8px 0 0}.stats-grid{gap:10px}.nav-item{gap:10px}.data-panel{display:block}.data-buttons{margin-top:18px}}@media(max-width:780px){.app-shell{display:block}.sidebar{display:none}.main-area{min-height:100dvh}.top-bar{height:57px;padding:0 19px}.top-eyebrow{font-size:9px}.top-right{display:none}.main-content{padding:30px 18px 117px}.heading-line{display:block}.eyebrow{font-size:9px}h1{font-size:31px}.lead{font-size:12px}.week-switch{margin-top:23px;max-width:100%;min-width:unset}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:23px 0 30px}.stat-box{min-height:132px;padding:13px}.stat-icon{width:33px;height:33px;font-size:19px}.stat-caption{left:54px;top:25px;font-size:10px}.stat-box strong{font-size:27px}.stat-sub{display:block;margin:7px 0 0}.section-head{align-items:flex-end}.section-head h2{font-size:18px}.section-head p{font-size:11px;line-height:1.5}.section-head .btn{padding:11px;font-size:11px}.toolbar{display:block}.filters{display:flex;width:100%;justify-content:space-between}.filter{flex:1;padding:8px 4px;font-size:10px}.search-box{width:100%;margin-top:11px}.task-card{gap:9px;padding:13px 11px}.task-priority{padding:7px 6px;font-size:9px}.task-copy strong{font-size:12px}.task-copy span{font-size:10px}.task-menu{font-size:20px;padding:3px}.task-due{display:none}.inline-bottom{display:block;line-height:2.2}.inline-bottom>span{display:block}.mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e7ebef;box-shadow:0 -7px 25px #17212b0b;z-index:10}.mobile-nav button{border:0;background:none;color:#9ba3ad;font-size:9px;font-weight:700;display:flex;flex-direction:column;align-items:center;gap:5px;padding:7px 0}.mobile-nav button.active{color:var(--red)}.mobile-nav button span{font-size:21px;line-height:21px}.mobile-nav .mobile-plus{border-radius:50%;background:var(--red);color:#fff;width:37px;height:37px;display:flex;align-items:center;justify-content:center;font-size:27px;margin-top:-16px;box-shadow:0 5px 10px #c41b3152}.footer{display:none}.daily-banner{padding:20px;gap:12px;flex-wrap:wrap}.daily-banner h2{font-size:20px}.daily-icon{width:48px;height:48px;font-size:24px}.daily-banner>div:nth-child(2){flex:1}.daily-banner .btn{width:100%;margin-left:0}.day-checks{gap:5px}.day-check{padding:13px 3px}.day-check strong{font-size:10px}.settings-line{padding:19px 14px;gap:10px}.settings-icon{width:36px;height:36px;font-size:17px}.settings-panel h3{font-size:13px}.settings-panel p{font-size:11px}.settings-line input{width:90px;font-size:12px}.settings-action,.data-panel{padding:20px 17px}.settings-action .btn{width:100%;white-space:normal}.data-buttons .btn{width:100%}.modal{padding:21px 18px}.modal-head h2{font-size:23px}.form-row{grid-template-columns:1fr;gap:0}.modal-actions{flex-wrap:wrap}.modal-actions .btn{flex:1}.modal-actions .btn-delete{flex:auto;width:100%}.notice-banner{display:block}.notice-banner button{margin-top:13px}.archive-item{padding:17px}.archive-item button{padding:10px}.toast{bottom:98px}}@media(max-width:390px){h1{font-size:28px}.task-card{gap:6px}.task-copy strong{font-size:11.5px}.task-priority{font-size:8px}.week-switch{height:56px}}

/* Branding officiel fourni par l'utilisateur - V2 */
.brand{display:block;padding:0 8px 30px}
.brand-logo-card{background:#fff;border-radius:14px;padding:11px 9px;display:flex;align-items:center;justify-content:center;box-shadow:0 7px 22px #00000024}
.brand-logo-card img{display:block;width:100%;max-width:212px;height:auto;aspect-ratio:1241/634;object-fit:contain}
.brand-caption{text-align:center;padding:16px 0 0}
.brand-caption strong{display:block;font-size:16px;letter-spacing:.11em;font-weight:850;color:#fff}
.brand-caption span{display:block;margin-top:5px;font-size:9px;color:#d3b16c;letter-spacing:.13em;font-weight:750}
.top-bar-identity{display:flex;align-items:center;gap:13px;min-width:0}
.mobile-brand-logo{display:none;width:87px;height:auto;flex-shrink:0;object-fit:contain}
@media(max-width:780px){
  .mobile-brand-logo{display:block;width:70px}
  .top-bar-identity{gap:10px}
  .top-eyebrow{letter-spacing:.025em;font-size:8.5px;gap:5px;flex-wrap:wrap;row-gap:2px}
  .divider-dot{display:none}
}
@media(max-width:390px){.mobile-brand-logo{width:60px}.top-eyebrow{font-size:8px}}

/* Version Netlify V3 : accueil et aide des rappels */
.reminder-intro{display:flex;align-items:center;gap:15px;border:1px solid #f3dbab;border-radius:14px;background:linear-gradient(110deg,#fff9ea,#fffdf7);padding:15px 17px;margin:25px 0 -10px;box-shadow:0 5px 17px #83652e09;position:relative}
.reminder-bell{font-size:24px;background:#fff1cb;border-radius:12px;width:45px;height:45px;display:grid;place-items:center;flex:0 0 auto}
.reminder-intro-copy{flex:1;min-width:0}.reminder-intro-copy strong{display:block;font-size:12px;color:#5a4214}.reminder-intro-copy p{font-size:10.5px;line-height:1.6;color:#806a47;margin:5px 0 0}
.btn-reminder{background:#fff;color:#866521;border:1px solid #ebd6a4;flex:0 0 auto;font-size:11px;padding:11px 12px}
.btn-reminder:hover{background:#ffefc6}.intro-close{border:0;background:transparent;color:#9b875f;padding:4px 5px;font-size:11px;align-self:flex-start}
.install-panel{display:flex;gap:17px;background:#fff;border-radius:13px;border:1px solid #e9edf3;padding:21px 24px;margin:20px 0}.install-emoji{font-size:29px}.install-panel strong{font-size:14px}.install-panel p{font-size:12px;color:#778294;line-height:1.6;margin:8px 0 0}
@media(max-width:1100px){.reminder-intro{flex-wrap:wrap}.btn-reminder{margin-left:60px}}
@media(max-width:780px){.reminder-intro{margin:20px 0 -8px;padding:15px 12px;gap:11px}.reminder-bell{width:38px;height:38px;font-size:20px}.reminder-intro-copy{padding-right:13px}.reminder-intro-copy strong{font-size:11.5px}.reminder-intro-copy p{font-size:10px}.btn-reminder{margin:0 0 0 49px;font-size:10px}.intro-close{position:absolute;right:7px;top:7px}.install-panel{padding:17px;gap:11px}}
@media(max-width:780px){
  .reminder-intro{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:start;gap:10px;}
  .reminder-bell{grid-column:1;grid-row:1}
  .reminder-intro-copy{grid-column:2;grid-row:1;padding-right:0;}
  .intro-close{grid-column:3;grid-row:1;position:static;padding:0;}
  .btn-reminder{grid-column:2 / 4;grid-row:2;justify-self:start;margin:0;}
}
