/* Composants premium. Surfaces calmes, accents signature, informations explicites. */
.pt-help{color:var(--secondary);font-size:12px;line-height:1.8}.small-text{font-size:11px}.muted{color:var(--muted)}.badge{display:inline-flex;align-items:center;gap:6px;align-self:center;font-size:9px;line-height:1.4;letter-spacing:.04em;border:1px solid #ffffff16;background:#ffffff04;color:#c2c6d5;padding:6px 9px;border-radius:7px;white-space:normal}.badge.success{background:#8ce0bf0b;color:var(--success);border-color:#8ce0bf25}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 16px}.section-heading h2{font-size:15px}.cockpit-hero{display:grid;grid-template-columns:1.25fr 1fr;position:relative;overflow:hidden;padding:32px 40px;border:1px solid #ff113325;border-radius:24px;background:radial-gradient(ellipse at 85% 40%,#ff113312,transparent 62%),linear-gradient(115deg,#1c1d29,#14141e);min-height:300px}.hero-copy{position:relative;z-index:1}.hero-kicker{font-size:9px;letter-spacing:.18em;color:#c7c4d0;display:flex;align-items:center;gap:8px}.hero-kicker i{width:5px;height:5px;background:#ff556f;border-radius:50%}.hero-copy h2{font-size:36px;line-height:1.14;font-weight:620;letter-spacing:-.045em;margin:17px 0 16px}.hero-copy h2 span{color:#a5a9be}.hero-copy>p{max-width:400px;color:#bec1d2;font-size:12px;line-height:1.8;margin-bottom:22px}.hero-footnote{font-size:9px;color:var(--muted);display:flex;align-items:center;gap:6px;margin-top:15px}.hero-footnote svg{width:12px;height:12px}.hero-visual{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative}.hero-visual::before{content:"";width:300px;height:180px;border:1px solid #ffffff04;position:absolute;border-radius:50%;transform:rotate(-35deg)}.progress-orbit{padding:7px;width:205px;height:205px;border-radius:50%;background:conic-gradient(from 210deg,#ff1133 calc(var(--rate)*1%),#ffffff08 0);box-shadow:0 0 0 15px #ffffff02,0 0 0 16px #ffffff03;transform:rotate(0deg)}.progress-orbit>div{background:#1b1723;border:1px solid #ffffff06;border-radius:50%;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.progress-orbit .eyebrow{font-size:7px;letter-spacing:.13em}.progress-orbit strong{font-size:48px;letter-spacing:-.06em;font-weight:650;line-height:1.5}.progress-orbit small{color:var(--secondary);font-size:10px}.orbit-caption{font-size:7px;letter-spacing:.18em;color:var(--muted);margin-top:30px}.kpi-top{display:flex;gap:10px;justify-content:space-between;align-items:center;color:#d3d6e2;font-size:11px}.kpi-icon{background:#ffffff04;border:1px solid var(--border);border-radius:8px;width:30px;height:30px;display:grid;place-items:center;color:#a9afc3}.kpi-icon svg{width:16px;height:16px}.sg-kpi-value em{font-size:14px;font-weight:450;color:var(--muted);font-style:normal;letter-spacing:0;margin-left:7px}.sg-kpi .sg-progress{margin-top:14px;height:3px}.chart-caption{display:flex;gap:12px;justify-content:space-between;font-size:10px;color:var(--secondary);margin-bottom:24px}.legend-dot{display:inline-block;width:5px;height:5px;background:var(--primary);border-radius:50%;margin-right:6px}.chart-area{position:relative;padding-left:35px}.chart-grid{position:absolute;inset:0 0 22px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.chart-grid span{font-size:8px;color:var(--muted);position:relative}.chart-grid span::after{content:"";height:1px;background:#ffffff05;position:absolute;left:35px;right:0;top:50%}.monthly-chart{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;height:198px;position:relative}.chart-column{min-width:0;display:flex;flex-direction:column;justify-content:end;text-align:center;position:relative}.bar-space{height:168px;display:flex;align-items:end;justify-content:center;position:relative}.chart-bar{display:block;width:70%;min-height:3px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#f03450,#7a182d);border:1px solid #ff788c25;animation:bar-enter .45s ease-out;transform-origin:bottom}.chart-column.selected .chart-bar{background:linear-gradient(180deg,#ff4c67,#bf0b2b);box-shadow:0 3px 20px #ff113312}.chart-bar.no-data{background:#ffffff0a;border:0}.bar-value{position:absolute;top:-20px;font-size:9px;color:#d7d9e5}.bar-month{font-size:8px;color:var(--muted);padding-top:12px}.chart-column.selected .bar-month{color:#ff8497}.chart-note{font-size:10px;color:var(--muted);margin:22px 0 0}.rank-row{display:grid;grid-template-columns:25px minmax(0,1fr);gap:10px;padding:13px 0;border-bottom:1px solid #ffffff06}.rank-row:first-child{padding-top:0}.rank-row:last-child{border:0}.rank-number{font-size:10px;color:var(--muted);padding-top:3px}.rank-name{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px;font-size:12px}.rank-name strong{overflow-wrap:anywhere}.rank-name span{white-space:nowrap;font-variant-numeric:tabular-nums}.rank-row small{color:var(--muted);font-size:9px;display:block;margin-top:7px}.empty-state{padding:18px 0;text-align:center;max-width:350px;margin:auto}.empty-state h3{font-size:16px;margin:18px 0 12px}.empty-state p{font-size:12px;color:var(--secondary);line-height:1.8}.empty-icon,.next-step-icon,.highlight-icon,.comparison-icon,.data-action-icon{display:inline-grid;place-items:center;width:43px;height:43px;border:1px solid #ff113325;background:#ff11330a;color:#ff8a9d;border-radius:13px;margin-bottom:14px}.calendar-collection{display:grid;grid-template-columns:1fr}.calendar-label{display:flex;justify-content:space-between;font-size:11px;margin:8px 0 18px}.calendar-label span{color:var(--muted);font-size:9px}.contribution-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.weekday{text-align:center;font-size:9px;color:var(--muted);margin-bottom:3px}.contribution{position:relative;border-radius:7px;background:#ffffff03;border:1px solid #ffffff07;min-height:38px;display:flex;align-items:center;justify-content:center;font-size:10px;color:#afb4c6;font-variant-numeric:tabular-nums}.contribution.complete{color:#ffd3dc;background:#ff11332c;border-color:#ff113345}.contribution.partial{background:#ff113313;color:#ff9eaf;border-color:#ff113328}.contribution.missed{background:#ffffff08;color:#c4c8d6}.contribution.unplanned{border-style:dashed;background:transparent;color:#999fb3}.contribution.future{background:transparent;color:#737b92;border-color:#ffffff05}.contribution.today{outline:1px solid #f5f5f788;outline-offset:2px}.contribution i{font-style:normal;font-size:7px;position:absolute;right:4px;top:2px}.calendar-legend{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;font-size:9px;color:var(--secondary)}.calendar-legend span{display:flex;align-items:center;gap:5px}.calendar-legend i{width:7px;height:7px;border-radius:2px;display:inline-block;border:1px solid #ffffff30}.calendar-legend .complete{background:#ff113380}.calendar-legend .partial{background:#ff113330}.calendar-legend .missed{background:#ffffff20}.calendar-legend .unplanned{border-style:dashed}.calendar-legend .future{border-color:#ffffff12}.calendar-collection.annual{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.calendar-collection.annual .calendar-label{grid-column:auto}.calendar-collection.annual{display:block}.calendar-collection.annual .contribution-calendar{margin-bottom:26px}.next-step-icon{margin-bottom:18px}.sg-bottom-grid h3{margin-bottom:13px;line-height:1.5}.calculation-note{border-top:1px solid var(--border);margin-top:22px;padding-top:16px;color:var(--secondary);font-size:11px}.calculation-note summary{cursor:pointer;color:#d4d7e2;min-height:30px}.calculation-note p{font-size:11px;line-height:1.9;margin-top:10px}.tracking-command{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.day-navigation{display:flex;align-items:center;gap:14px}.day-navigation h2{font-size:18px;margin-top:5px;text-transform:capitalize}.day-navigation .eyebrow{font-size:8px}.icon-button{font-size:23px;padding:0;min-width:44px}.pt-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.pt-toolbar label{max-width:190px}.pt-toolbar .sg-select,.pt-toolbar .sg-input{font-size:11px;min-height:44px}.pt-toolbar .view-label{max-width:155px}.day-summary{border:1px solid var(--border);border-radius:14px;padding:16px 20px;background:#ffffff02;display:flex;gap:13px;align-items:center;margin-bottom:22px}.day-summary strong{font-size:12px}.day-summary small{display:block;font-size:10px;color:var(--secondary);margin-top:4px}.day-summary-icon{display:grid;place-items:center;width:35px;height:35px;flex-shrink:0;color:var(--secondary)}.day-summary.day-complete{background:#8ce0bf05;border-color:#8ce0bf22}.day-complete .day-summary-icon{color:var(--success)}.tracking-stack{display:grid;gap:18px}.tracking-card{padding:24px}.tracking-card.is-complete{border-color:#8ce0bf28;background:linear-gradient(130deg,#192326,#14171f)}.habit-heading{display:flex;gap:13px;align-items:center;margin-bottom:22px}.habit-symbol{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border:1px solid var(--border);border-radius:12px;background:#ffffff04;color:#d7dae6}.habit-heading>div{flex:1;min-width:0}.habit-heading h2{font-size:16px;overflow-wrap:anywhere}.habit-heading p{font-size:10px;color:var(--secondary);margin:5px 0 0}.habit-progress{display:flex;gap:15px;justify-content:space-between;font-size:12px;margin-bottom:10px}.habit-progress span{color:var(--secondary)}.habit-progress span strong{color:var(--foreground)}.pt-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:22px}.pt-calendar.day{grid-template-columns:1fr}.pt-day{min-width:0;padding:12px;border:1px solid #ffffff09;border-radius:12px;background:#0e101740;display:flex;flex-direction:column;justify-content:space-between;gap:14px}.pt-calendar.day .pt-day{flex-direction:row;align-items:center;padding:16px 18px}.day-cell-date strong{font-size:10px;display:block}.day-cell-date small{display:block;font-size:9px;color:var(--secondary);margin-top:5px}.pt-calendar.day .day-cell-date strong{font-size:12px}.pt-day.done{border-color:#8ce0bf20;background:#8ce0bf04}.pt-day.future{background:#ffffff02}.pt-day.future .day-cell-date{opacity:.6}.pt-day .sg-btn{font-size:10px;padding:10px 7px;min-width:0}.pt-day .sg-btn svg{width:15px;height:15px}.pt-calendar.day .sg-btn{min-width:180px;font-size:12px;padding:12px 18px}.completed-button{color:var(--success);border-color:#8ce0bf30;background:#8ce0bf09}.number-entry{font-size:9px;color:var(--secondary);display:grid;gap:6px}.number-entry input{font-size:15px;width:100%}.pt-calendar.day .number-entry{width:190px}.note-details{margin-top:20px;border-top:1px solid var(--border);padding-top:13px}.note-details summary{font-size:11px;color:var(--secondary);cursor:pointer;min-height:32px}.note-details summary span{float:right;font-size:9px;color:var(--muted)}.note-details small{font-size:9px;color:var(--muted)}.no-action{grid-column:1/-1}.habits-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px}.pt-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.pt-form label{display:grid;gap:8px;font-size:11px;color:#e4e5ed;min-width:0}.pt-form small{font-size:10px;line-height:1.75;color:var(--secondary)}.wide{grid-column:1/-1}.form-section-label{font-size:10px;color:#ff8a9d;display:flex;align-items:center;gap:10px;margin:3px 0}.form-section-label span{color:var(--secondary)}.pt-form fieldset{min-width:0;margin:0;border:1px solid var(--border);border-radius:12px;padding:16px}.pt-form legend{padding:0 8px;color:var(--secondary);font-size:10px}.weekday-options{display:flex;gap:7px;flex-wrap:wrap}.weekday-options label{position:relative;display:block}.weekday-options input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.weekday-options span{display:grid;place-items:center;min-width:42px;height:44px;border-radius:9px;border:1px solid #ffffff20;font-size:10px}.weekday-options input:checked+span{background:#ff113319;border-color:#ff11334d;color:#ffa1b0}.weekday-options input:focus-visible+span{outline:2px solid #fff;outline-offset:3px}.weekdays-field .pt-help{margin:12px 0 0;font-size:10px}.pt-banner{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid #ffffff0c;border-radius:10px;background:#ffffff03;font-size:10px;color:var(--secondary);line-height:1.8}.pt-banner svg{margin-top:2px;width:17px;height:17px;color:#aab1c8}.pt-banner strong{color:#e7e9f3}.habit-list-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;padding:18px 0;border-bottom:1px solid var(--border)}.habit-list-item:first-child{padding-top:0}.habit-list-item:last-child{border:0}.habit-list-copy h3{overflow-wrap:anywhere;font-size:13px}.habit-list-copy p{font-size:10px;color:var(--secondary);margin:7px 0 0}.habit-list-item>.sg-btn{grid-column:2/4;justify-self:start;padding:9px 13px;font-size:10px}.scheduled-change{display:block;color:#e7acb7;font-size:10px;margin-top:12px}.scheduled-change svg{display:inline;width:11px;height:11px;vertical-align:middle;margin-right:3px}.quiet-tip{display:flex;gap:10px;color:var(--secondary);font-size:11px;padding:4px 8px}.quiet-tip svg{width:16px;color:var(--muted)}.report-hero{display:flex;justify-content:space-between;gap:28px;border:1px solid #ff11331f;border-radius:22px;padding:30px 34px;margin-bottom:22px;background:radial-gradient(ellipse at right,#ff11330d,transparent 70%),#161823}.report-hero h2{font-size:30px;line-height:1.2;margin:14px 0}.report-hero p{font-size:12px;color:var(--secondary);max-width:440px;margin:0}.report-hero .eyebrow{font-size:8px}.report-score{display:flex;flex-direction:column;justify-content:center;text-align:right;flex-shrink:0}.report-score strong{font-size:52px;letter-spacing:-.05em;line-height:1.3}.report-score span{font-size:12px}.report-score small{font-size:10px;color:var(--secondary);margin-top:5px}.report-highlights,.data-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.highlight-icon{width:34px;height:34px;float:right;margin-left:15px}.sg-report-table-wrap{overflow-x:auto}.sg-report-table{border-collapse:collapse;width:100%;text-align:left;min-width:560px;font-size:11px}.sg-report-table th{font-size:9px;font-weight:500;color:var(--muted);padding:0 12px 15px;white-space:nowrap;border-bottom:1px solid var(--border)}.sg-report-table td{padding:18px 12px;border-bottom:1px solid #ffffff06;vertical-align:middle}.sg-report-table td:first-child{max-width:230px;overflow-wrap:anywhere}.sg-report-table td small{display:block;color:var(--muted);font-size:9px;margin-top:5px}.sg-report-table .sg-progress{margin-top:8px;width:80px;height:3px}.advice-item{display:flex;gap:16px;margin-bottom:22px}.advice-item:last-child{margin:0}.advice-item>b{font-size:11px;flex-shrink:0;color:#ff8296;background:#ff11330b;border-radius:8px;width:30px;height:30px;display:grid;place-items:center}.advice-item h3{font-size:13px;margin:4px 0 8px}.advice-item p{font-size:11px;color:var(--secondary);line-height:1.9;margin:0}.comparison-icon{width:38px;height:38px}.sg-bottom-grid>.sg-panel>p{font-size:12px;color:var(--secondary);line-height:1.8}.privacy-banner{display:flex;gap:17px;align-items:center;border:1px solid #8ce0bf18;border-radius:18px;padding:24px;margin-bottom:22px;background:#8ce0bf04}.privacy-banner>span:first-child{color:var(--success)}.privacy-banner>div{flex:1}.privacy-banner h2{font-size:18px;margin-bottom:8px}.privacy-banner p{font-size:12px;color:var(--secondary);margin:0}.action-footnote{display:block;font-size:9px;color:var(--secondary);margin-top:14px}.storage-facts{list-style:none;margin:0 0 24px;padding:0;display:grid;gap:18px}.storage-facts li{font-size:11px;color:var(--secondary);display:flex;gap:12px;line-height:1.8}.storage-facts svg{width:16px;height:16px;color:#bfc5d8;margin-top:2px}.danger-zone{margin-top:10px;padding:24px;border:1px solid #ff113325;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:30px}.danger-zone .eyebrow{color:#e596a4;font-size:8px}.danger-zone h2{font-size:17px;margin:9px 0}.danger-zone p{font-size:11px;color:var(--secondary);max-width:490px;margin:0}.danger-zone button{flex-shrink:0}.pt-alert{padding:16px 20px;border:1px solid #ff829655;background:#ff11330c;border-radius:12px;color:#ffc5d0;font-size:12px;margin-bottom:22px}.welcome-guide{border:1px solid #ffffff17;background:linear-gradient(100deg,#1b1e2a,#141721);border-radius:18px;margin-bottom:24px;padding:18px 22px}.welcome-guide>summary{display:flex;gap:12px;align-items:center;cursor:pointer;list-style:none}.welcome-guide>summary::-webkit-details-marker{display:none}.welcome-guide>summary strong{display:block;font-size:13px}.welcome-guide>summary small{display:block;color:var(--secondary);font-size:10px;margin-top:4px}.welcome-guide>summary b{margin-left:auto;color:var(--muted)}.welcome-guide img{border-radius:10px}.welcome-guide ol{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;padding:22px 0;margin:0}.welcome-guide li>span{color:#ff8296;font-size:10px;display:block;margin-bottom:10px}.welcome-guide li strong{font-size:12px}.welcome-guide li p{font-size:10px;color:var(--secondary);margin:7px 0 0;line-height:1.8}.guide-bottom{border-top:1px solid var(--border);padding-top:15px;display:flex;align-items:center;justify-content:space-between;gap:20px}.guide-bottom p{font-size:10px;color:var(--secondary);margin:0}.guide-bottom button{flex-shrink:0}
@keyframes bar-enter{from{transform:scaleY(.1)}to{transform:scaleY(1)}}@keyframes confirmation{from{opacity:.7;transform:scale(.98)}to{opacity:1;transform:scale(1)}}.completed-button{animation:confirmation .2s ease-out}
@media(max-width:1200px){.cockpit-hero{padding:28px}.hero-copy h2{font-size:32px}.progress-orbit{width:180px;height:180px}.progress-orbit strong{font-size:43px}.hero-kicker{font-size:8px}.orbit-caption{font-size:6px}.monthly-chart{gap:7px}.habits-layout{grid-template-columns:1fr}.habit-list-item{grid-template-columns:auto minmax(0,1fr) auto auto}.habit-list-item>.sg-btn{grid-column:auto}.pt-calendar.week,.pt-calendar.month{grid-template-columns:repeat(4,minmax(0,1fr))}.welcome-guide ol{gap:12px}}
@media(max-width:950px){.cockpit-hero{grid-template-columns:1.2fr .8fr;padding:24px}.hero-copy h2{font-size:28px}.progress-orbit{width:150px;height:150px}.progress-orbit strong{font-size:34px}.progress-orbit .eyebrow{font-size:6px}.hero-visual::before{width:190px;height:125px}.orbit-caption{display:none}.hero-copy .sg-btn{font-size:11px}.report-hero h2{font-size:24px}.report-score strong{font-size:40px}.welcome-guide ol{grid-template-columns:repeat(3,minmax(0,1fr))}.report-highlights,.data-actions-grid{gap:16px}.report-hero{padding:24px}.danger-zone{align-items:flex-start;flex-direction:column;gap:18px}.habit-list-item{grid-template-columns:auto minmax(0,1fr) auto}.habit-list-item>.sg-btn{grid-column:2/4}.pt-calendar.month,.pt-calendar.week{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.cockpit-hero{grid-template-columns:1fr;padding:26px 22px;border-radius:20px;min-height:0}.hero-copy h2{font-size:32px}.hero-copy>p{font-size:12px;max-width:none}.hero-copy .sg-btn{width:100%;font-size:12px;min-height:48px}.hero-visual{display:none}.hero-footnote{font-size:9px;justify-content:center}.hero-kicker{font-size:8px}.kpi-top{font-size:10px}.kpi-icon{width:25px;height:25px}.kpi-icon svg{width:13px;height:13px}.sg-kpi-value em{font-size:12px}.sg-kpi small{font-size:9px}.section-heading{margin:23px 0 14px}.section-heading h2{font-size:13px}.section-heading .badge{font-size:8px}.chart-caption{font-size:9px}.monthly-chart{gap:5px;height:175px}.bar-space{height:148px}.bar-month{font-size:7px}.bar-value{font-size:8px;top:-16px}.chart-area{padding-left:27px}.chart-grid span::after{left:27px}.chart-grid span{font-size:7px}.chart-note{font-size:9px}.chart-bar{width:78%}.contribution{min-height:33px;font-size:10px}.contribution-calendar{gap:6px}.calendar-legend{gap:10px;font-size:8px}.tracking-command{gap:18px}.day-navigation{width:100%;justify-content:space-between;gap:10px}.day-navigation>div{text-align:center}.day-navigation h2{font-size:17px}.pt-toolbar{display:grid;grid-template-columns:1fr 1.2fr;width:100%;gap:8px}.pt-toolbar label,.pt-toolbar .view-label{max-width:none;min-width:0}.pt-toolbar .sg-btn{grid-column:1/-1;min-height:40px}.tracking-card{padding:18px}.habit-heading{gap:10px;flex-wrap:wrap}.habit-heading h2{font-size:15px}.habit-heading>div{flex-basis:calc(100% - 60px)}.habit-heading>.badge{margin-left:52px}.habit-symbol{width:38px;height:38px;border-radius:10px}.habit-heading p{font-size:10px}.pt-calendar.day .pt-day{flex-direction:column;align-items:stretch;padding:15px}.pt-calendar.day .sg-btn{min-height:48px}.pt-calendar.day .number-entry{width:100%}.pt-calendar.day .day-cell-date{display:flex;justify-content:space-between;align-items:center;gap:10px}.pt-calendar.day .day-cell-date small{margin:0}.pt-calendar.week,.pt-calendar.month{grid-template-columns:repeat(2,minmax(0,1fr))}.pt-day{padding:12px;gap:12px}.pt-day .sg-btn{flex-direction:column;font-size:10px;padding:10px 6px}.pt-calendar.day .sg-btn{flex-direction:row}.day-cell-date strong{font-size:10px;line-height:1.6}.pt-day .number-entry{font-size:9px}.day-summary{padding:14px;gap:8px}.day-summary strong{font-size:11px}.day-summary small{font-size:10px}.day-summary-icon{width:27px}.pt-form{grid-template-columns:1fr;gap:18px}.wide{grid-column:auto}.weekday-options{gap:6px}.weekday-options span{min-width:34px;font-size:9px}.pt-form fieldset{padding:12px}.form-section-label{font-size:9px}.pt-form .sg-actions>.sg-btn{width:100%}.pt-banner{font-size:10px;padding:12px}.habit-list-item{gap:10px;grid-template-columns:auto minmax(0,1fr)}.habit-list-item>.badge{grid-column:2;justify-self:start}.habit-list-item>.sg-btn{grid-column:2;justify-self:start}.habit-list-copy h3{font-size:14px}.report-hero{display:block;padding:24px 20px}.report-hero h2{font-size:27px}.report-hero .eyebrow{font-size:7px}.report-score{text-align:left;margin-top:24px;padding-top:18px;border-top:1px solid var(--border)}.report-score strong{font-size:46px}.report-highlights,.data-actions-grid{grid-template-columns:1fr;gap:0}.report-highlights h3{font-size:15px}.sg-report-table{min-width:530px}.sg-report-table td{padding:15px 9px}.privacy-banner{padding:20px;align-items:flex-start;flex-wrap:wrap}.privacy-banner h2{font-size:17px}.privacy-banner>div{min-width:180px}.privacy-banner>.badge{margin-left:37px}.privacy-banner p{font-size:11px}.data-actions-grid .sg-btn{width:100%}.danger-zone{padding:20px}.danger-zone button{width:100%}.welcome-guide{padding:16px}.welcome-guide>summary strong{font-size:12px}.welcome-guide>summary small{font-size:9px}.welcome-guide ol{grid-template-columns:1fr;gap:16px}.welcome-guide li{display:flex;gap:14px;align-items:flex-start}.welcome-guide li>span{margin:3px 0 0}.welcome-guide li p{margin:4px 0 0}.guide-bottom{display:block}.guide-bottom button{margin-top:15px;width:100%}.welcome-guide summary img{width:36px}.empty-state{padding:12px 0}.empty-state h3{font-size:15px}.empty-state p{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Finitions après contrôle de la structure annuelle. */
.calendar-collection.annual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.calendar-month{min-width:0}.calendar-collection.annual .contribution{min-height:25px;font-size:8px}.calendar-collection.annual .contribution-calendar{gap:4px;margin-bottom:0}.calendar-collection.annual .calendar-label{margin-bottom:12px}.calendar-collection.annual .calendar-label span{display:none}.bar-value{top:auto;margin-bottom:6px}.rank-list{max-height:380px;overflow-y:auto;padding-right:5px;scrollbar-width:thin}.habit-list-copy,.hero-copy,.day-cell-date{min-width:0}h2,h3,.rank-name strong{overflow-wrap:anywhere}
@media(max-width:760px){.calendar-collection.annual{grid-template-columns:1fr;gap:22px}.calendar-collection.annual .contribution{min-height:30px;font-size:9px}.rank-list{max-height:none;overflow:visible}}
/* Lisibilité tactile : éviter le zoom automatique des champs sur iPhone. */
@media(max-width:760px){.sg-input,.sg-select,.sg-textarea,.sg-filters .sg-select,.pt-toolbar .sg-input,.pt-toolbar .sg-select{font-size:16px}.pt-toolbar{grid-template-columns:1fr}.pt-toolbar .view-label{max-width:none}.pt-toolbar .sg-btn{grid-column:auto}}
/* Rouge légèrement assombri pour le contraste du libellé blanc ; signature #FF1133 conservée. */
.sg-btn-primary{background:#e40b2e;border-color:#e40b2e}.sg-btn-primary:hover{background:#cb0928;border-color:#cb0928}
@media(max-width:760px){.weekday-options span{min-width:44px;min-height:44px}}
