*{box-sizing:border-box} :root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#233d37;background:#e8ebe6;font-size:16px;line-height:1.5;--green:#1d5a51;--light:#edf3e9;--border:#dce3da;--muted:#65736b}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ca8b38;outline-offset:3px}button{min-height:44px;border:0;border-radius:12px;background:transparent;color:inherit;padding:10px 14px}button:hover{background:#e7eee7}h1,h2,h3,p{margin-top:0}h1{font-size:1.9rem;line-height:1.16;letter-spacing:-.045em;margin-bottom:15px}h2{font-size:1.35rem;letter-spacing:-.025em}h3{font-size:1rem;margin-bottom:6px}p{margin-bottom:16px}.testbar{max-width:1120px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:16px 24px;color:#58685e;font-size:.85rem;gap:12px}.testbar button{border:1px solid #cad3c7;background:#f9fbf7;font-size:.8rem}.phone{max-width:414px;margin:12px auto 40px;border:1px solid #cbd4c9;border-radius:30px;box-shadow:0 24px 70px #2f48351c;overflow:hidden;background:#fafbf7;min-height:810px}.phone.wide{max-width:1050px;border-radius:20px}.top{height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;border-bottom:1px solid var(--border)}.brand{font-weight:800;letter-spacing:.1em;font-size:.85rem;display:flex;align-items:center;gap:9px}.mark{display:inline-grid;place-items:center;background:var(--green);color:white;border-radius:9px;width:30px;height:30px;font-size:19px}.pill{font-size:.7rem;border:1px solid var(--border);border-radius:20px;padding:4px 9px;color:var(--muted)}main{padding:26px 22px 32px;max-width:760px;margin:auto}.eyebrow{font-size:.7rem;text-transform:uppercase;letter-spacing:.13em;color:var(--green);font-weight:750;margin-bottom:12px}.muted{color:var(--muted)}.small{font-size:.82rem}.hero{height:135px;display:flex;align-items:center;justify-content:center;background:#edf2e5;border-radius:20px;margin-bottom:26px;color:var(--green)}.hero svg{width:160px;height:110px}.steps{display:flex;gap:6px;margin-bottom:26px}.steps span{height:4px;background:#dfe7da;flex:1;border-radius:5px}.steps .on{background:var(--green)}label.field{display:block;font-weight:600;font-size:.9rem;margin-bottom:18px}input:not([type=checkbox]),select,textarea{display:block;width:100%;min-width:0;border:1px solid #bfcbbc;border-radius:12px;background:#fff;padding:12px;margin-top:7px;min-height:48px;color:#233d37}input[type=checkbox]{width:21px;height:21px;accent-color:var(--green);flex:none}.primary{background:var(--green);color:#fff;font-weight:650;width:100%;min-height:50px}.primary:hover{background:#17473f}.secondary{background:var(--light);border:1px solid var(--border);width:100%}.text-button{color:var(--green);text-decoration:underline;text-underline-offset:4px}.note{padding:13px 15px;background:#f0f3e9;border-radius:14px;font-size:.82rem;color:#526448;margin:18px 0}.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}.asset-card{position:relative;display:flex;flex-direction:column;gap:9px;border:1px solid var(--border);background:white;border-radius:17px;padding:16px 12px;cursor:pointer;font-size:.86rem;font-weight:600;min-height:118px}.asset-card:has(input:checked){border:2px solid var(--green);padding:15px 11px;background:#f0f6ef}.asset-card input{position:absolute;right:10px;top:10px}.asset-icon{font-size:28px;line-height:1.2;width:40px}.bottom-actions{display:grid;gap:10px;margin-top:22px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:24px 0 12px}.section-title h2{margin:0}.switch{display:flex;gap:4px;border-radius:14px;padding:4px;background:#e9eee4;margin:22px 0}.switch button{flex:1;font-size:.88rem}.switch .active{background:white;box-shadow:0 2px 6px #233d3710;font-weight:700}.monthnav{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-bottom:12px}.monthnav h2{font-size:1.1rem;margin:0;text-transform:capitalize}.monthnav button{padding:6px 12px;font-size:23px}.calendar{background:white;border:1px solid var(--border);border-radius:20px;padding:12px 8px}.week,.days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center}.week span{font-size:.69rem;color:var(--muted);padding:8px 0}.day{position:relative;min-width:0;padding:5px 0 12px;border-radius:12px;min-height:44px;font-size:.85rem;margin:2px 0}.day.today{font-weight:850;box-shadow:inset 0 0 0 1px #b4c5af}.day.selected{background:var(--green);color:white}.dot{position:absolute;bottom:5px;left:calc(50% - 2px);width:4px;height:4px;background:currentColor;border-radius:50%}.legend{margin:10px 0 0;font-size:.72rem;color:var(--muted)}.task{display:flex;gap:12px;padding:16px 0;border-bottom:1px solid var(--border);align-items:flex-start}.task-mark{width:8px;height:8px;border-radius:50%;background:#719264;margin-top:9px;flex:none}.task h3{overflow-wrap:anywhere}.task .metadata{font-size:.75rem;color:var(--muted)}.empty{padding:22px 16px;border:1px dashed #c7d3c0;border-radius:17px;text-align:center;background:#f6f8f1;color:var(--muted);font-size:.87rem}.empty p{margin-bottom:10px}.shortcut-row{display:flex;gap:8px;margin:18px 0;flex-wrap:wrap}.shortcut-row button{border:1px solid var(--border);background:white;flex:1;font-size:.8rem;white-space:nowrap}.period-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.period-row select{width:auto;font-size:.85rem;margin:0}.property-card{display:block;width:100%;text-align:left;border:1px solid var(--border);background:white;margin-bottom:10px;padding:16px}.property-card.current{border:2px solid var(--green)}.footer-note{font-size:.72rem;color:#7b8679;text-align:center;margin:24px 0 0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px}.toolbar h1{margin:0;font-size:1.75rem}.icon-button{font-size:21px;border:1px solid var(--border);background:white}.property-name{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.navmenu{display:grid;gap:6px}.navmenu button{text-align:left;padding:14px}.navmenu button:hover{background:var(--light)}dialog{padding:24px;border:1px solid var(--border);border-radius:23px;color:#233d37;background:#fafbf7;width:calc(100% - 28px);max-width:430px;max-height:calc(100dvh - 28px);overflow:auto;box-shadow:0 25px 90px #0003}dialog::backdrop{background:#142b2659}dialog.drawer{margin:0 auto 0 0;border-radius:0 24px 24px 0;height:100dvh;max-height:100dvh;max-width:320px}.dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.dialog-head h2{margin:0}.tutorial-item{display:flex;gap:12px;padding:15px 0}.tutorial-number{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:#e5eddd;font-weight:700;color:var(--green)}.tutorial-item p{font-size:.88rem;color:var(--muted);margin-bottom:0}details{margin:16px 0}summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600;font-size:.9rem}.check-row{display:flex;align-items:center;gap:10px;min-height:44px;font-size:.9rem}#toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#233d37;color:#fff;border-radius:12px;padding:12px 18px;font-size:.85rem;max-width:90%;z-index:5;display:none}#toast.show{display:block}.warning{color:#8b4e16;background:#fff1da;padding:12px;border-radius:12px;font-size:.85rem}.no-margin{margin:0}@media(min-width:700px){.wide .card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.wide .calendar{padding:16px}.wide .day{min-height:58px}.wide main{padding:32px}}@media(max-width:480px){:root{background:#fafbf7}.testbar{padding:8px 14px;font-size:.65rem}.testbar button{font-size:.72rem;padding:6px 9px;min-height:36px}.phone,.phone.wide{border:0;border-radius:0;box-shadow:none;margin:0;max-width:none;min-height:calc(100dvh - 60px)}main{padding:24px 18px}dialog{padding:20px}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}
/* Dossiers and task directory: compact, keyboard accessible and touch friendly. */
.property-folder{position:relative;background:#eaf1e4;border-color:#c6d6be;padding:20px 40px 20px 18px}.property-folder strong{font-size:1.25rem;display:block;margin:8px 0;overflow-wrap:anywhere}.property-folder .eyebrow{display:block;margin:0}.property-folder .small{display:block;color:#596e51}.folder-arrow{margin-left:auto;font-size:23px;align-self:center}.property-folder .folder-arrow{position:absolute;right:17px;top:50%}.asset-folder{display:flex;gap:12px;align-items:center}.asset-folder .small{display:block;margin-top:4px}.asset-folder strong{overflow-wrap:anywhere}.asset-folder>span:nth-child(2){min-width:0}.folder-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:24px 0;background:#e9eee4;padding:5px;border-radius:15px}.folder-tabs button{font-size:.85rem;padding:10px 6px}.folder-tabs .active{background:white;box-shadow:0 2px 5px #233d3710;font-weight:700}.info-card{background:white;border:1px solid var(--border);border-radius:16px;padding:18px;margin-bottom:16px}dl{margin:0}dt{font-size:.75rem;color:var(--muted);margin-bottom:4px}dd{margin:0 0 18px;overflow-wrap:anywhere}dd:last-child{margin-bottom:0}.task-details{margin-bottom:22px}.preserve-lines{white-space:pre-wrap}.wrap-anywhere{overflow-wrap:anywhere}.task-copy{min-width:0;flex:1}.task-copy strong{display:block;overflow-wrap:anywhere}.task-copy .metadata{display:block;margin-top:5px}.task-link{border-radius:0;width:100%;text-align:left;min-height:70px}.task-link:hover{background:#edf3e9}.task-controls{display:grid;grid-template-columns:1fr;gap:0}.task-controls .field{margin-bottom:8px}.linked-asset{margin:5px 0}.back-button{padding-left:0;font-size:.85rem;margin-bottom:18px}.file-label input{font-size:.8rem;padding:12px 8px}.file-label input::file-selector-button{border:0;background:var(--green);color:white;padding:10px;border-radius:8px;margin-right:8px;cursor:pointer}.document-card{display:flex;align-items:flex-start;gap:12px;background:white;border:1px solid var(--border);border-radius:15px;padding:15px;margin:12px 0}.document-card>div{min-width:0;flex:1}.document-card h3{overflow-wrap:anywhere}.document-card p{margin:5px 0 0}.document-card button{padding-left:0}.document-icon{font-size:25px;color:var(--green)}.document-preview{display:block;max-width:100%;max-height:50dvh;object-fit:contain;margin:12px auto}.pdf-preview{display:block;width:100%;height:45dvh;border:1px solid var(--border);border-radius:8px}.text-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:45dvh;overflow:auto;padding:14px;background:white;border:1px solid var(--border);border-radius:12px;font:inherit;font-size:.85rem}.download-link{display:block;text-align:center;text-decoration:none;padding:13px;margin-top:16px}.history-row{border-left:2px solid #c9d7be;padding:0 0 12px 14px;margin:14px 0}.history-row p{margin:5px 0;overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:700px){.wide .folder-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.wide .task-controls{grid-template-columns:2fr 1fr;gap:12px}}
.top{height:auto;min-height:76px}.context-switch{min-width:0;flex:1;text-align:left;padding:6px 8px}.context-switch span{display:block;font-size:.65rem;color:var(--muted);font-weight:500;letter-spacing:.04em}.context-switch strong{display:block;font-size:.9rem;overflow-wrap:anywhere}.menu-property{border:1px solid #c6d6be;background:#eaf1e4;border-radius:16px;padding:16px;margin-bottom:18px}.menu-property>span{display:block;font-size:.75rem;color:var(--muted)}.menu-property strong{display:block;font-size:1.2rem;margin:6px 0;overflow-wrap:anywhere}.menu-property button{padding-left:0;font-size:.85rem}.recurrence-box{min-width:0;border:1px solid var(--border);border-radius:14px;padding:14px;margin:0 0 16px}.recurrence-box legend{font-size:.85rem;font-weight:650;padding:0 5px}.date-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:10px}.date-pair .field{min-width:0}.task-scope-note{font-size:.8rem;padding:10px 12px;background:#edf3e9;border-radius:10px;color:var(--green)}.asset-picker{border:1px solid var(--border);border-radius:12px;padding:0 12px}.asset-picker summary{font-size:.85rem}.asset-picker .check-row{padding:6px 0}

.property-options{display:grid;gap:5px;margin:8px 0}.property-options button{text-align:left;overflow-wrap:anywhere;padding:10px 12px;border:1px solid var(--border);background:white}.property-options button[aria-pressed="true"]{background:var(--green);color:white}

.maintenance-sheet{margin:24px 0}.maintenance-sheet li{margin-bottom:10px}.maintenance-sheet ul,.maintenance-sheet ol{padding-left:22px}.maintenance-sheet h3{margin-top:24px}#bike-complete button,#dialog [data-complete-bike]{margin-top:12px}

.switch[aria-label="Filtrer les tâches"]{display:flex;flex-wrap:wrap}.switch[aria-label="Filtrer les tâches"] button{flex:1 1 40%}

.calendar-add{width:auto;flex-shrink:0;font-size:.85rem}.toolbar:has(.calendar-add){flex-wrap:wrap}

.conservation{margin-top:32px;padding-top:18px;border-top:1px solid var(--border)}.danger-text{color:#a12a26;border:1px solid #d7a3a0}.quick-sort{margin-top:14px;font-size:.85rem}

.day.available{background:#dcefd9;color:#25492d}.day.unavailable{background:#f8dedc;color:#702f2b}.day.vacation{background:#fff0bf;color:#624a13}.day.selected{background:var(--green);color:#fff;box-shadow:inset 0 0 0 2px var(--green)}


.availability-legend{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:12px;font-size:.72rem;color:var(--muted)}.availability-legend span{display:flex;align-items:center;gap:5px}.swatch{display:inline-block;width:16px;height:16px;border:1px solid #98a69b;border-radius:4px}.swatch.available{background:#dcefd9}.swatch.unavailable{background:#f8dedc}.swatch.vacation{background:#fff0bf}


.choice-stack{display:grid;gap:10px;margin:20px 0}.choice-card{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--border);border-radius:16px;background:white;cursor:pointer;min-height:64px}.choice-card:has(input:checked){background:#eaf2e6;border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}.choice-card input[type=radio]{display:inline-block;width:22px;height:22px;min-height:22px;margin:0;padding:0;flex:none;accent-color:var(--green)}.choice-card .small{display:block;margin-top:4px}.rhythm-summary{border-left:3px solid var(--green);padding:12px;background:#edf3e9;border-radius:8px;margin:12px 0;font-size:.9rem}.selection-panel{padding:16px;background:#edf3e9;border-radius:16px;margin:16px 0}.selection-panel h2{font-size:1.1rem}.navmenu .nav-options{margin-top:20px;border-top:1px solid var(--border);border-radius:0}.monthnav input[type=month]{font-size:.9rem;padding:8px;max-width:215px}.rhythm-times{margin-top:0} [hidden]{display:none!important}

.rhythm-hours{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:12px}.choice-detail{padding:0 10px 8px;border-left:3px solid #d4e0cd}.day.vacation-selected{background:#a8323d;color:white;box-shadow:inset 0 0 0 2px #7e1b28}.day.vacation-selected:hover{background:#85222d}.vacation-period-title{font-size:1.1rem;margin-top:24px}

.calendar-summary{margin-top:20px}.calendar-summary h2{font-size:1.1rem;margin-bottom:10px}.calendar-summary .note{font-size:.8rem;padding:10px;margin-bottom:8px}.calendar-task{border-bottom:1px solid var(--border);padding-bottom:12px}.calendar-task .task{border:0;padding:10px 0}.quick-task-actions{display:flex;gap:8px}.quick-task-actions button{font-size:.8rem;padding:8px 14px;min-height:44px}.overdue-label{font-size:.75rem;color:#873b24;margin:4px 0 10px}.assets-directory>.field{margin-bottom:10px}.assets-directory .toolbar h1{font-size:1.35rem}.assets-directory .switch{margin:10px 0}.asset-list-tools{display:flex;align-items:center;gap:10px;margin:0 0 12px}.asset-list-tools>button{font-size:.8rem;min-height:44px;padding:8px 12px}.asset-list-tools .quick-sort{display:flex;align-items:center;gap:6px;flex:1;min-width:0;margin:0;font-size:.75rem;white-space:nowrap}.asset-list-tools select{min-width:0;margin:0;padding:8px;font-size:.8rem}.assets-directory .asset-folder{padding:12px;margin-bottom:8px}.assets-directory .asset-folder strong{font-size:.95rem}

.asset-list-tools>button{width:auto;flex:0 0 auto}.asset-list-tools select{width:100%;flex:1}.asset-list-tools .quick-sort{width:auto}

.asset-heading{display:flex;align-items:center;gap:12px}.asset-heading h1{min-width:0;flex:1;margin:0}.photo-button{padding:0;flex:0 0 76px;width:76px;height:76px;border:1px solid var(--border);overflow:hidden;border-radius:14px;background:white}.photo-button img{width:100%;height:100%;object-fit:cover}.photo-button span{font-size:.7rem}.related-task-link{margin:6px 0;text-align:left}

/* Photo directement accessible à droite du nom, sur tous les onglets. */
.asset-heading{align-items:center;gap:14px}.asset-photo-slot{flex:0 0 108px;width:108px;text-align:center}.asset-photo-slot .photo-button{display:block;width:108px;height:96px}.asset-photo-slot .add-photo{width:108px;min-height:96px;border:1px dashed #9bab9a;background:#edf3e9;font-size:.78rem;padding:8px;line-height:1.3}.add-photo span{display:block;font-size:1.5rem;line-height:1.2;margin-bottom:4px}.asset-photo-slot .remove-photo{color:#a13c35;font-size:.75rem;text-decoration:underline;min-height:44px;padding:6px 10px}.asset-photo-slot input[hidden]{display:none}

.asset-info-actions{margin:4px 0 16px}.asset-info-actions .note{margin:8px 0}.asset-info-actions .danger-text{padding-left:0}

.day.can-drag{touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}.day.dragging{opacity:.55;cursor:grabbing}.day.drop-target{outline:3px solid #1d5a51;outline-offset:-3px;background:#d5ead5}

.asset-selection-list{display:grid;gap:10px}.asset-selection{border:1px solid var(--border);border-radius:14px;overflow:hidden;background:white}.asset-selection .asset-card{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;min-height:62px;border:0;border-radius:0;padding:12px;text-align:left}.asset-selection .asset-card input{position:static;margin:0;flex:none}.asset-selection .asset-icon{font-size:1.3rem;margin:0}.asset-task-choices{padding:0 14px 10px;border-top:1px solid var(--border)}.asset-task-choice{padding:10px 0;border-bottom:1px solid var(--border)}.asset-task-choice .check-row{margin:0;align-items:flex-start}.asset-task-choice small{display:block;font-size:.75rem;color:var(--muted);margin-top:4px}.asset-task-choice p{margin:6px 0 0;font-size:.75rem}.asset-task-choice .text-button{padding:4px 8px;font-size:.8rem;min-height:44px}.contact-card{border:1px solid var(--border);border-radius:14px;padding:12px;margin:10px 0;background:white}.contact-name{text-align:left;display:grid;gap:4px;width:100%;padding:4px;overflow-wrap:anywhere}.contact-card p{margin:4px 0 8px}.contact-card .secondary{font-size:.8rem;padding:8px}.library-instructions{margin-top:20px}.library-instructions li{margin-bottom:8px}

/* Accueil SawaKeep : une identité, une promesse, une action. */
.welcome-screen{min-height:620px;min-height:min(700px,calc(100svh - 150px));display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:44px 0;gap:40px}.welcome-brand{display:flex;flex-direction:column;align-items:center;gap:14px;color:var(--green);font-size:2.6rem;font-weight:750;letter-spacing:-.055em}.welcome-mark{display:grid;place-items:center;width:66px;height:66px;border-radius:22px;background:#edf3e9}.welcome-mark svg{width:44px;height:44px}.welcome-screen h1{font-size:clamp(1.55rem,6.8vw,2rem);line-height:1.3;letter-spacing:-.035em;font-weight:550;margin:0}.welcome-screen .primary{max-width:320px;min-height:54px}.wide .welcome-screen{min-height:620px}@media(max-width:360px){.welcome-screen{gap:32px;padding:30px 0}.welcome-brand{font-size:2.3rem}}

/* Les tâches restent repérables sur toutes les couleurs de disponibilité. */
.day.has-tasks{font-weight:800;outline:2px solid var(--green);outline-offset:-2px}.day.has-tasks.selected{outline:2px solid #102f2a}.day.has-tasks.drop-target{outline:3px solid var(--green);outline-offset:-3px}

.welcome-options{display:flex;justify-content:flex-end;padding:8px 16px 0}.welcome-options button{font-size:.8rem;color:var(--muted)}
.prep-choice{display:block;width:100%;text-align:left;padding:16px;margin:10px 0;border:1px solid #bdcdc0;border-radius:16px;background:#fff;color:var(--ink,#183739)}
.prep-choice strong,.prep-choice span{display:block}.prep-choice span{font-size:.86rem;margin-top:4px;color:#597174}
.prep-choice:first-of-type{background:#e9f2e6;border:2px solid #245e54}
.prep-chips{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.prep-chips label{position:relative;display:block}.prep-chips label input{position:absolute;opacity:0;width:1px;height:1px}.prep-chips span,.prep-chips button{display:inline-block;border:1px solid #b9cabc;border-radius:13px;background:white;padding:11px 13px;font-size:.9rem;cursor:pointer}.prep-chips input:checked+span,.prep-chips button[aria-expanded="true"]{background:#1e5c53;color:white;border-color:#1e5c53}.prep-chips input:focus-visible+span{outline:3px solid #dca638;outline-offset:2px}
.prep-steps{display:flex;gap:5px}.prep-steps button{flex:1;font-size:.8rem;border-radius:12px;padding:10px 5px;border:1px solid #bbcbbb}.prep-steps [aria-current="step"]{background:#1e5c53;color:white}
.prep-save{position:sticky;bottom:-1px;background:#fafbf6;padding:12px 0 4px;z-index:2;border-top:1px solid #dce5d9;margin-top:16px}.prep-save button{width:100%}
.prep-photo img,.prep-result-photo{display:block;max-width:100%;max-height:240px;object-fit:contain;border-radius:12px}.preparation-result{padding:16px;background:#eef4ea;border-radius:16px;margin:16px 0}.preparation-result h2{font-size:1.2rem}.preparation-result h3{font-size:1rem;margin-bottom:5px}.preparation-result p{margin-top:0}.guided-task [hidden]{display:none!important}.guided-task section{scroll-margin-top:12px}
.basis-choices{display:grid;gap:10px}.basis-choices label{display:flex;gap:10px;align-items:flex-start;padding:13px;border:1px solid #bdcdc0;border-radius:14px;cursor:pointer}.basis-choices input{margin-top:5px;accent-color:#1e5c53}.basis-choices strong,.basis-choices small{display:block}.basis-choices small{margin-top:5px;color:#526b67}.basis-choices label:has(input:checked){background:#e7f1e4;border:2px solid #1e5c53}.basis-choices label:focus-within{outline:2px solid #dca638}
.basis-choices input[type=radio]{display:inline-block;width:22px;height:22px;min-height:22px;padding:0;flex:none}.basis-choices span{min-width:0}

/* Home: compact onboarding and optional, generic equipment information. */
.home-welcome:not(.seen) .welcome-brand{animation:home-appear .35s both}
.home-welcome:not(.seen) h1{animation:home-appear .35s .3s both}
.home-welcome:not(.seen) .primary{animation:home-appear .35s .8s both}
@keyframes home-appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.home-property-form .field{margin:12px 0}.home-property-form [data-location-picker]>.small{font-size:.75rem;line-height:1.4;margin:8px 0}
.home-property-form input,.home-property-form select{min-height:48px;padding:10px 12px}
.home-property-form .primary{margin-top:14px}.home-property-form [data-city-results] .note{padding:8px;margin:8px 0}
.home-asset-selection .asset-card{padding:12px;min-height:54px}.home-asset-selection .asset-selection{margin-bottom:8px}
.home-asset-selection .asset-task-choices{padding:0 12px 10px}.home-asset-selection .asset-task-choices>p{margin:7px 0}
.home-asset-selection .asset-task-choice{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center;padding:8px 0}
.home-asset-selection .asset-task-choice .check-row{margin:0;padding:0;min-width:0}.home-asset-selection .asset-task-choice .text-button{min-height:44px;padding:6px;font-size:.85rem}
.home-asset-selection .asset-task-choice small{font-size:.75rem}.home-asset-selection input[type=checkbox]{flex:none}
.home-characteristic{border:1px solid #bdcdc0;border-radius:14px;padding:12px;min-width:0;margin:12px 0;background:white}
.home-characteristic legend{font-weight:600;font-size:.9rem}.home-characteristic .field{margin:10px 0}
.home-value-unit{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px}
.home-origin{margin:8px 0}.home-origin summary{font-size:.85rem;color:#395f58;min-height:44px;display:list-item;padding:10px 0}
.home-origin .check-row{font-size:.85rem}.home-asset-details{margin:14px 0}.home-asset-details dd{overflow-wrap:anywhere;margin-bottom:14px}
.home-source-link{display:block;font-size:.85rem;min-height:44px}.home-demo-documents{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
#home-folder-form details>summary{min-height:44px;padding:10px 0}#home-folder-form input,#home-folder-form select{max-width:100%;min-width:0}
.home-value-unit .field,.home-origin .field{min-width:0}.document-card .text-button{min-height:44px}
@media(prefers-reduced-motion:reduce){.home-welcome:not(.seen) .welcome-brand,.home-welcome:not(.seen) h1,.home-welcome:not(.seen) .primary{animation:none}}
@media(max-width:360px){.home-asset-selection .asset-task-choice{gap:3px}.home-asset-selection .asset-task-choice .text-button{font-size:.78rem;padding:4px}.home-value-unit{gap:6px}}
.closure-point{min-width:0;border:1px solid #c7d4c8;border-radius:16px;padding:14px;margin:18px 0;background:#fff}.closure-point legend{font-weight:700;font-size:.95rem;padding:0 6px;max-width:100%}.closure-results{display:flex;gap:6px}.closure-results label{flex:1;min-width:0;position:relative;cursor:pointer}.closure-results input,.learning-topics input{position:absolute;opacity:0;width:1px;height:1px;padding:0;min-height:0}.closure-results span{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid #bbcbbb;border-radius:10px;font-size:.8rem;text-align:center;padding:6px}.closure-results input:checked+span{background:#1e5c53;color:#fff;border-color:#1e5c53}.closure-results input[value=non_conforme]:checked+span{background:#883e31;border-color:#883e31}.closure-results input[value=non_inspecte]:checked+span{background:#526366;border-color:#526366}.closure-results input:focus-visible+span,.learning-topics input:focus-visible+span{outline:3px solid #dca638;outline-offset:2px}.closure-point select{width:100%;font-size:.87rem}.closure-point .note{padding:10px}.closure-point details{margin:12px 0}.closure-learning{margin-top:20px}.learning-topics{display:flex;flex-wrap:wrap;gap:8px}.learning-topics label{position:relative;cursor:pointer}.learning-topics span{display:block;border:1px solid #b9cabc;border-radius:12px;padding:12px;font-size:.86rem;background:white}.learning-topics input:checked+span{background:#e3efdf;border-color:#1e5c53}.closure-history article{border-bottom:1px solid #d9e1d5;padding:12px 0}.closure-history article p{margin:5px 0}.result-non_conforme{color:#883e31;font-weight:700}.result-conforme{color:#1e5c53;font-weight:700}.result-non_inspecte{color:#526366}#task-close-form [hidden]{display:none!important}

.time-summary{display:grid;gap:6px;padding:12px;border:1px solid #cbd6c8;border-radius:14px;margin:12px 0;font-size:.9rem}.time-summary small{color:#58696a}.group-choice{margin:12px 0}.group-choice button{white-space:normal;width:100%;margin-top:8px}

.rhythm-summary.vacation-summary{background:#fff0f0;border-left-color:#bd5b64}

/* The hidden app stays measurable during initialization, without painting. */
#device[hidden]{display:block;visibility:hidden}
html[data-startup-state="pending"] body>:not(.testbar):not(#startup-status):not(#support-rescue):not(#support-dialog):not(script):not(link):not(style),html[data-startup-state="failed"] body>:not(.testbar):not(#startup-status):not(#support-rescue):not(#support-dialog):not(script):not(link):not(style){visibility:hidden}
#startup-status{max-width:760px;margin:16px auto;padding:0 18px;color:#233d37;font-size:.9rem}
#startup-status a{display:inline-block;margin-left:8px;padding:8px 0;color:#245e8b}
