/* Prestataire module: every selector is scoped; no shared token override. Visual reference: Aura, 19/11/2026. */
.ysi-prestataire{--presta-bg:#F7F5F1;--presta-card:#FFFEFB;--presta-border:#E6E0D8;--presta-ink:#2B2A27;--presta-muted:#7A746B;--presta-sage:#6F8A6A;--presta-deep:#6F8A6A;--presta-alert:#7D4F50;--presta-alert-soft:#F6EEEC;--presta-sage-soft:#EEF2EC;font:16px/1.5 'Avenir Next',Avenir,system-ui,sans-serif;color:var(--presta-ink);background:var(--presta-bg);min-height:100%;color-scheme:light;-webkit-tap-highlight-color:transparent}
.ysi-prestataire *{box-sizing:border-box}
.ysi-prestataire .presta-shell{max-width:880px;margin:auto;padding:16px 16px 0;overflow-wrap:anywhere;display:flex;flex-direction:column;min-height:100%}
.ysi-prestataire h1{font-size:28px;line-height:1.15;margin:2px 0 6px;letter-spacing:-.5px;font-weight:600}
.ysi-prestataire h2{font-size:19px;line-height:1.25;margin:0 0 10px;font-weight:600;letter-spacing:-.2px}
.ysi-prestataire h3{font-size:16px;margin:12px 0 4px;font-weight:600}
.ysi-prestataire h4{font-size:15px;margin:0;font-weight:600}
.ysi-prestataire p{margin:6px 0}
.ysi-prestataire .presta-icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ysi-prestataire .presta-with-icon{display:flex;align-items:center;gap:8px}
.ysi-prestataire .presta-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ysi-prestataire .presta-eyebrow{font-size:12px;font-weight:600;letter-spacing:.4px;color:var(--presta-muted);margin:0}
.ysi-prestataire .presta-eyebrow::first-letter{text-transform:uppercase}
.ysi-prestataire .presta-muted{color:var(--presta-muted);font-size:14px}
.ysi-prestataire .presta-header{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:8px}
.ysi-prestataire .presta-context select{min-height:40px;font-size:14px;padding:6px 30px 6px 12px;border-radius:999px;max-width:240px}
.ysi-prestataire .presta-topbar{position:sticky;top:0;z-index:3;margin:-16px -16px 8px;padding:6px 8px;background:color-mix(in srgb,var(--presta-bg) 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--presta-border)}
.ysi-prestataire .presta-back{border:0;background:none;display:inline-flex;align-items:center;gap:8px;color:var(--presta-muted);font-weight:500}
/* Cards */
.ysi-prestataire .presta-card{background:var(--presta-card);border:1px solid var(--presta-border);border-radius:18px;padding:18px;margin:12px 0;box-shadow:0 1px 2px #28303308}
.ysi-prestataire .presta-card-head{display:flex;gap:12px;align-items:flex-start;justify-content:space-between}
.ysi-prestataire .presta-card-head h3{margin:2px 0 0;font-size:17px}
.ysi-prestataire .presta-slot{margin:0;font-size:13px;color:var(--presta-deep);font-weight:600}
.ysi-prestataire .presta-slot::first-letter{text-transform:uppercase}
.ysi-prestataire .presta-mission.is-quiet{opacity:.78}
.ysi-prestataire .presta-pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;white-space:nowrap;background:#F0EEE9;color:var(--presta-muted)}
.ysi-prestataire .presta-dot{width:7px;height:7px;border-radius:50%;background:currentColor}
.ysi-prestataire .presta-pill.is-todo,.ysi-prestataire .presta-pill.is-warn{background:var(--presta-alert-soft);color:var(--presta-alert)}
.ysi-prestataire .presta-pill.is-progress{background:#F3EFE4;color:#7A6232}
.ysi-prestataire .presta-pill.is-done{background:var(--presta-sage-soft);color:var(--presta-deep)}
.ysi-prestataire .presta-hours{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 14px;margin:12px 0;background:var(--presta-bg);border-radius:12px;color:var(--presta-muted);font-size:13px}
.ysi-prestataire .presta-hours strong{display:block;font-size:16px;color:var(--presta-ink);font-weight:600}
.ysi-prestataire .presta-tags{list-style:none;padding:0;margin:0 0 4px;display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--presta-muted)}
.ysi-prestataire .presta-tags li{display:flex;gap:8px;align-items:flex-start}
.ysi-prestataire .presta-tags .presta-icon{width:18px;height:18px;margin-top:2px;color:var(--presta-sage)}
/* Controls */
.ysi-prestataire button,.ysi-prestataire input,.ysi-prestataire select,.ysi-prestataire textarea{font:inherit;color:inherit}
.ysi-prestataire button{min-height:44px;border:1px solid var(--presta-border);border-radius:12px;background:var(--presta-card);padding:10px 14px;cursor:pointer;touch-action:manipulation;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.ysi-prestataire button:hover:not(:disabled){border-color:var(--presta-sage)}
.ysi-prestataire button:disabled{opacity:.5;cursor:default}
.ysi-prestataire .presta-primary{background:var(--presta-deep);border-color:var(--presta-deep);color:#fff;font-weight:600;width:100%;margin:10px 0 0}
.ysi-prestataire .presta-primary:hover:not(:disabled){background:#5E7759;border-color:#5E7759}
.ysi-prestataire .presta-secondary{font-weight:600}
.ysi-prestataire .presta-ghost{background:transparent;font-weight:500;margin:6px 6px 0 0}
.ysi-prestataire .presta-icon-btn{width:44px;padding:0;flex-shrink:0}
.ysi-prestataire :focus-visible{outline:3px solid var(--presta-deep);outline-offset:2px}
.ysi-prestataire .presta-field{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-size:14px}
.ysi-prestataire .presta-label{font-weight:600;font-size:14px;margin:0}
.ysi-prestataire .presta-hint{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--presta-muted);margin:4px 0 0}
.ysi-prestataire input:not([type=checkbox]),.ysi-prestataire textarea,.ysi-prestataire select{min-width:0;max-width:100%;width:100%;min-height:46px;border:1px solid var(--presta-border);border-radius:12px;background:#fff;padding:10px 12px;font-size:16px;font-weight:400}
.ysi-prestataire textarea{resize:vertical;min-height:84px}
.ysi-prestataire [aria-invalid=true]{border-color:var(--presta-alert)}
.ysi-prestataire .presta-check{display:flex;gap:12px;align-items:center;min-height:48px;font-size:15px;margin-top:6px}
.ysi-prestataire input[type=checkbox]{width:22px;height:22px;accent-color:var(--presta-deep);flex-shrink:0}
.ysi-prestataire .presta-error{color:var(--presta-alert);font-size:14px}
.ysi-prestataire .presta-alert{padding:14px 16px;background:var(--presta-alert-soft);color:var(--presta-alert);border-radius:14px;margin:8px 0;font-size:15px}
.ysi-prestataire .presta-alert button{display:flex;margin-top:10px}
.ysi-prestataire .presta-banner{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:#F3EFE4;color:#6A5530;font-size:14px;margin:6px 0}
.ysi-prestataire .presta-status{font-size:14px;color:var(--presta-deep);white-space:pre-line}
.ysi-prestataire .presta-status:empty{display:none}
.ysi-prestataire .presta-row{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.ysi-prestataire .presta-row h2,.ysi-prestataire .presta-row h3{margin:0}
.ysi-prestataire .presta-count{font-size:13px;color:var(--presta-muted)}
.ysi-prestataire .presta-inline{display:flex;flex-wrap:wrap;gap:6px}
.ysi-prestataire .presta-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ysi-prestataire .presta-grid2 .presta-field{margin-bottom:0}
/* Toolbar, chips, segments */
.ysi-prestataire .presta-toolbar{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin:4px 0 6px}
.ysi-prestataire .presta-toolbar .presta-field{flex:1;min-width:150px;margin:0}
.ysi-prestataire .presta-toolbar .presta-field .presta-label{font-size:12px;color:var(--presta-muted);font-weight:500}
.ysi-prestataire .presta-chip-btn{border-radius:999px;padding:8px 16px;font-weight:500;color:var(--presta-muted)}
.ysi-prestataire .presta-chip-btn[aria-pressed=true]{background:var(--presta-ink);border-color:var(--presta-ink);color:#fff}
.ysi-prestataire .presta-segment{display:flex;border:1px solid var(--presta-border);border-radius:12px;padding:3px;gap:3px;background:var(--presta-card)}
.ysi-prestataire .presta-segment button{border:0;min-height:44px;font-size:14px}
.ysi-prestataire .presta-segment [aria-pressed=true]{background:var(--presta-ink);color:#fff}
.ysi-prestataire .presta-chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.ysi-prestataire .presta-chip{position:relative;cursor:pointer}
.ysi-prestataire .presta-chip input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}
.ysi-prestataire .presta-chip span{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--presta-border);border-radius:999px;font-size:14px;background:#fff}
.ysi-prestataire .presta-chip input:checked+span{background:var(--presta-sage-soft);border-color:var(--presta-sage);color:var(--presta-deep);font-weight:600}
.ysi-prestataire .presta-chip input:checked+span::before{content:'✓';margin-right:6px}
.ysi-prestataire .presta-chip input:focus-visible+span{outline:3px solid var(--presta-deep);outline-offset:2px}
.ysi-prestataire .presta-chip input:disabled+span{opacity:.6}
/* Report steps */
.ysi-prestataire .presta-step{border-top:1px solid var(--presta-border);padding:16px 0 4px;margin-top:12px}
.ysi-prestataire .presta-step-title{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:17px}
.ysi-prestataire .presta-step-num{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:var(--presta-bg);border:1px solid var(--presta-border);font-size:13px;font-weight:600;color:var(--presta-muted)}
.ysi-prestataire .presta-save{display:inline-flex;align-items:center;gap:6px;font-size:13px;margin:0;color:var(--presta-muted)}
.ysi-prestataire .presta-save .presta-icon{width:16px;height:16px}
.ysi-prestataire .presta-save.is-ok{color:var(--presta-deep)}
.ysi-prestataire .presta-save.is-warn{color:#7A6232}
.ysi-prestataire .presta-callout{background:var(--presta-bg);border:1px solid var(--presta-border);border-radius:14px;padding:12px 14px;margin:10px 0}
.ysi-prestataire .presta-callout.is-alert{background:var(--presta-alert-soft);border-color:#E8D6D2}
.ysi-prestataire .presta-callout.is-alert .presta-hint{color:var(--presta-alert)}
.ysi-prestataire .presta-callout ul{margin:6px 0 0;padding-left:20px;color:var(--presta-alert);font-size:14px}
.ysi-prestataire .presta-callout .presta-field{margin:4px 0}
/* Stars */
.ysi-prestataire .presta-rating{text-align:center;margin:6px 0 4px}
.ysi-prestataire .presta-rating .presta-label{text-align:left}
.ysi-prestataire .presta-stars{display:flex;justify-content:center;gap:4px;margin:8px 0 0;border:0;padding:0;min-width:0}
.ysi-prestataire .presta-star{border:0;background:none;width:56px;height:56px;padding:6px;border-radius:14px;color:var(--presta-border)}
@media(hover:hover){.ysi-prestataire .presta-star:not(.is-on):hover:not(:disabled){color:var(--presta-sage)}}
.ysi-prestataire .presta-star.is-on{color:var(--presta-deep)}
.ysi-prestataire .presta-star-icon{width:40px;height:40px;fill:currentColor;stroke:currentColor;stroke-width:1;stroke-linejoin:round}
.ysi-prestataire .presta-stars[aria-invalid=true] .presta-star:not(.is-on){color:#E8D6D2}
.ysi-prestataire .presta-rating-value{font-size:14px;color:var(--presta-muted);margin:2px 0 0}
@media(prefers-reduced-motion:no-preference){.ysi-prestataire .presta-star{transition:transform .15s,color .15s}.ysi-prestataire .presta-star:active:not(:disabled){transform:scale(.88)}.ysi-prestataire .presta-star.is-on .presta-star-icon{animation:presta-pop .25s ease-out}}
@keyframes presta-pop{0%{transform:scale(.8)}60%{transform:scale(1.12)}100%{transform:scale(1)}}
/* Photos */
.ysi-prestataire .presta-photo-group{margin:14px 0 6px}
.ysi-prestataire .presta-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
.ysi-prestataire .presta-tile{position:relative;min-height:116px;border-radius:12px;border:1px solid var(--presta-border);background:var(--presta-bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px;text-align:center;overflow:hidden}
.ysi-prestataire .presta-tile-icon{width:24px;height:24px;fill:none;stroke:var(--presta-sage);stroke-width:1.6}
.ysi-prestataire .presta-tile-name{font-size:11px;color:var(--presta-muted);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ysi-prestataire .presta-tile-state{font-size:12px;font-weight:600}
.ysi-prestataire .presta-tile-badge{position:absolute;top:6px;right:6px;width:22px;height:22px;border-radius:50%;background:var(--presta-deep);color:#fff;display:flex;align-items:center;justify-content:center}
.ysi-prestataire .presta-tile-badge .presta-icon{width:14px;height:14px;stroke-width:2.4}
.ysi-prestataire .presta-tile.is-failed{border-color:#E8D6D2;background:var(--presta-alert-soft);color:var(--presta-alert)}
.ysi-prestataire .presta-tile.is-failed .presta-tile-icon{stroke:var(--presta-alert)}
.ysi-prestataire .presta-tile-actions{display:flex;gap:4px;margin-top:6px;width:100%}
.ysi-prestataire .presta-tile-actions button{flex:1;min-height:44px;padding:2px 4px;font-size:13px;border-radius:10px}
.ysi-prestataire .presta-progress{position:absolute;left:8px;right:8px;bottom:8px;height:4px;border-radius:4px;background:var(--presta-border);overflow:hidden}
.ysi-prestataire .presta-progress::after{content:'';position:absolute;inset:0;width:40%;background:var(--presta-sage);border-radius:4px;animation:presta-slide 1.1s ease-in-out infinite}
@keyframes presta-slide{0%{transform:translateX(-100%)}100%{transform:translateX(260%)}}
@media(prefers-reduced-motion:reduce){.ysi-prestataire .presta-progress::after{animation:none;width:100%;opacity:.6}}
.ysi-prestataire .presta-empty-photos{display:flex;align-items:center;justify-content:center;gap:8px;min-height:72px;border:1.5px dashed var(--presta-border);border-radius:14px;color:var(--presta-muted);font-size:14px;margin:10px 0}
.ysi-prestataire .presta-pickers{display:grid;gap:6px}
.ysi-prestataire .presta-picker{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:12px;cursor:pointer;font-weight:600;font-size:15px}
.ysi-prestataire .presta-picker-main{border:1px solid var(--presta-sage);background:var(--presta-sage-soft);color:var(--presta-deep)}
.ysi-prestataire .presta-picker-alt{color:var(--presta-muted);font-weight:500;min-height:44px}
.ysi-prestataire .presta-picker.is-disabled{opacity:.5;cursor:default}
.ysi-prestataire .presta-file{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;min-height:0;border:0;padding:0}
.ysi-prestataire .presta-picker:focus-within{outline:3px solid var(--presta-deep);outline-offset:2px}
/* Needs */
.ysi-prestataire .presta-subhead{margin:14px 0 0;color:var(--presta-muted);font-size:13px;font-weight:600}
.ysi-prestataire details.presta-need{border-bottom:1px solid var(--presta-border)}
.ysi-prestataire summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;cursor:pointer;min-height:48px;font-size:15px;list-style:none}
.ysi-prestataire summary::-webkit-details-marker{display:none}
.ysi-prestataire summary::after{content:'';width:8px;height:8px;border-right:1.6px solid var(--presta-muted);border-bottom:1.6px solid var(--presta-muted);transform:rotate(45deg);margin:0 6px 4px auto}
.ysi-prestataire details[open]>summary::after{transform:rotate(-135deg);margin-bottom:-4px}
.ysi-prestataire .presta-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--presta-sage-soft);color:var(--presta-deep);font-size:12px;font-weight:700}
/* Recovery */
.ysi-prestataire .presta-recovery{margin:14px 0;border:1px dashed var(--presta-border);border-radius:14px;padding:0 14px}
.ysi-prestataire .presta-recovery[open]{padding-bottom:12px}
.ysi-prestataire .presta-recovery summary{color:var(--presta-muted);font-size:14px}
.ysi-prestataire .presta-recovery.is-waiting{border-style:solid;border-color:#E6D9B8;background:#FBF8F0}
.ysi-prestataire .presta-recovery.is-waiting summary{color:#6A5530;font-weight:600}
.ysi-prestataire .presta-recovery h3{margin-top:0}
.ysi-prestataire .presta-recovery-item{border-top:1px solid var(--presta-border);padding:10px 0}
/* Review */
.ysi-prestataire .presta-submit{border-top:1px solid var(--presta-border);margin-top:16px;padding-top:16px;scroll-margin-top:64px}
.ysi-prestataire .presta-submit h3{margin:2px 0 10px;font-size:19px}
.ysi-prestataire .presta-review{display:grid;grid-template-columns:auto minmax(0,1fr);margin:0 0 10px;font-size:14px}
.ysi-prestataire .presta-review dt,.ysi-prestataire .presta-review dd{padding:10px 0;border-bottom:1px solid var(--presta-border);margin:0}
.ysi-prestataire .presta-review dt{color:var(--presta-muted);padding-right:16px}
.ysi-prestataire .presta-review dd{font-weight:600;text-align:right}
/* Mission */
.ysi-prestataire .presta-info{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--presta-border)}
.ysi-prestataire .presta-info .presta-icon{color:var(--presta-sage);margin-top:2px}
.ysi-prestataire .presta-info h3{margin:0;font-size:14px;color:var(--presta-muted);font-weight:600}
.ysi-prestataire .presta-info p{margin:2px 0 0}
.ysi-prestataire .presta-preline{white-space:pre-line}
.ysi-prestataire .presta-message{border-left:3px solid #C6D3CF;padding:6px 14px;margin:12px 0;white-space:pre-line}
.ysi-prestataire .presta-form{margin-top:10px}
.ysi-prestataire .presta-list{list-style:none;padding:0;margin:6px 0}
.ysi-prestataire .presta-list li{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--presta-border);font-size:15px}
.ysi-prestataire .presta-viewer{position:fixed;inset:0;z-index:20;background:#283033F2;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;gap:12px}
.ysi-prestataire .presta-viewer .presta-ghost{color:#fff;border-color:#ffffff66}
.ysi-prestataire .presta-private-photo{display:block;max-width:100%;max-height:80vh;object-fit:contain;border-radius:12px}
.ysi-prestataire .presta-empty{text-align:center;padding:28px 12px;color:var(--presta-muted)}
.ysi-prestataire .presta-empty h2{color:var(--presta-ink);font-size:17px;margin:8px 0 2px}
.ysi-prestataire .presta-empty-icon{width:36px;height:36px;fill:none;stroke:var(--presta-sage);stroke-width:1.4}
/* Calendar */
.ysi-prestataire .presta-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:10px 0 4px}
.ysi-prestataire .presta-calendar button{min-height:64px;padding:6px 0;flex-direction:column;gap:0;border-radius:12px}
.ysi-prestataire .presta-calendar small{font-size:11px;color:var(--presta-muted);text-transform:capitalize}
.ysi-prestataire .presta-calendar strong{font-size:16px;line-height:1.2}
.ysi-prestataire .presta-cal-count{font-size:11px;color:var(--presta-border);font-weight:700;line-height:1.2}
.ysi-prestataire .presta-cal-count.has{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;border-radius:9px;background:var(--presta-sage);color:#fff}
.ysi-prestataire .presta-calendar .has-missions{border-color:var(--presta-sage)}
.ysi-prestataire .presta-calendar [aria-pressed=true]{background:var(--presta-ink);border-color:var(--presta-ink);color:#fff}
.ysi-prestataire .presta-calendar [aria-pressed=true] small{color:#fff}
.ysi-prestataire .presta-calendar-nav{display:flex;gap:8px;justify-content:space-between}
.ysi-prestataire .presta-calendar-nav .presta-ghost{margin:0}
/* Bottom bars: sticky inside the module, never over the host navigation */
.ysi-prestataire .presta-nav,.ysi-prestataire .presta-actionbar{position:sticky;bottom:0;z-index:4;margin:auto -16px 0;padding:8px 12px calc(8px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--presta-card) 94%,transparent);backdrop-filter:blur(10px);border-top:1px solid var(--presta-border)}
.ysi-prestataire .presta-missions{margin-bottom:16px}
.ysi-prestataire .presta-nav{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.ysi-prestataire .presta-nav button{border:0;background:none;flex-direction:column;gap:2px;min-height:52px;padding:4px;font-size:12px;font-weight:500;color:var(--presta-muted)}
.ysi-prestataire .presta-nav .presta-icon{width:24px;height:24px}
.ysi-prestataire .presta-nav [aria-current=page]{color:var(--presta-deep);font-weight:700}
.ysi-prestataire .presta-actionbar{display:grid;grid-template-columns:auto 1fr;gap:8px}
.ysi-prestataire .presta-actionbar .presta-primary{margin:0}
@media(max-width:360px){.ysi-prestataire .presta-star{width:50px;height:50px}.ysi-prestataire .presta-star-icon{width:34px;height:34px}.ysi-prestataire .presta-actionbar{grid-template-columns:1fr}}
@media(min-width:650px){.ysi-prestataire .presta-shell{padding:28px 24px 0}.ysi-prestataire .presta-card{padding:22px}.ysi-prestataire .presta-missions{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.ysi-prestataire .presta-pickers{grid-template-columns:1fr 1fr}.ysi-prestataire .presta-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.ysi-prestataire .presta-nav,.ysi-prestataire .presta-actionbar{margin:auto -24px 0}.ysi-prestataire .presta-topbar{margin:-28px -24px 8px}}
/* Retour du 24/11 : sur ordinateur, « Préparer l'intervention » puis le rapport en dessous, chacun sur toute la largeur. */
@media(min-width:1000px){.ysi-prestataire .presta-shell.is-mission{max-width:1180px}.ysi-prestataire .presta-shell.is-mission>.presta-actionbar{grid-template-columns:auto minmax(0,320px);justify-content:end}.ysi-prestataire .presta-shell.is-mission .presta-tiles{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(prefers-reduced-motion:no-preference){.ysi-prestataire button{transition:background .12s,border-color .12s,color .12s}}
/* Inside the pilot: its own bottom navigation stays first. Module tabs move to the top, the report bar sits above the pilot bar. */
.recipe-module-host .ysi-prestataire .presta-nav{position:static;order:-1;margin:0 0 10px;padding:4px;border:1px solid var(--presta-border);border-radius:14px;background:var(--presta-card);backdrop-filter:none}
.recipe-module-host .ysi-prestataire .presta-nav button{flex-direction:row;min-height:44px;font-size:13px}
.recipe-module-host .ysi-prestataire .presta-nav [aria-current=page]{background:var(--presta-sage-soft)}
@media(max-width:700px){.recipe-module-host .ysi-prestataire .presta-actionbar{bottom:calc(76px + env(safe-area-inset-bottom));border:1px solid var(--presta-border);border-radius:16px;margin:12px 0 0;box-shadow:0 4px 16px #28303314}.recipe-module-host .ysi-prestataire .presta-nav button{flex-direction:column;gap:0;font-size:11px}}
.recipe-module-host .ysi-prestataire .presta-header{order:-2}

/* Harmonisation Aura du 21/11 (« Référence Aura - Espace prestataire - 2026-11-21.html ») : sauge, cartes ivoire, navigation
   à quatre entrées, progression du rapport, écrans Notifications, Plus, Congés, Linge et « Un imprévu ? ». */
.ysi-prestataire .presta-primary{border-radius:14px;min-height:50px;font-size:16px}
.ysi-prestataire .presta-card{border-radius:20px}
.ysi-prestataire .presta-progress-steps{margin:6px 0 12px}
.ysi-prestataire .presta-progress-head{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--presta-muted)}
.ysi-prestataire .presta-progress-head strong{color:var(--presta-sage);font-weight:600}
.ysi-prestataire .presta-progress-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:6px}
.ysi-prestataire .presta-progress-bar span{height:4px;border-radius:999px;background:#E6E0D8}
.ysi-prestataire .presta-progress-bar span.is-on{background:var(--presta-sage)}
.ysi-prestataire .presta-nav-dot{position:absolute;top:8px;margin-left:14px;width:7px;height:7px;border-radius:50%;background:#C08A5B}
.ysi-prestataire .presta-nav button{position:relative}
.ysi-prestataire .presta-feed{display:flex;flex-direction:column;gap:10px;margin:10px 0}
.ysi-prestataire .presta-notif,.ysi-prestataire .presta-leave{display:flex;align-items:flex-start;gap:12px;margin:0}
.ysi-prestataire .presta-notif>div,.ysi-prestataire .presta-leave>div{flex:1;min-width:0}
.ysi-prestataire .presta-notif h3,.ysi-prestataire .presta-leave h3{margin:0 0 2px}
.ysi-prestataire .presta-notif-icon{flex:0 0 40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--presta-sage-soft);color:var(--presta-sage)}
.ysi-prestataire .presta-notif-icon.is-rapport-manquant{background:#F5EEE3;color:#9A6F3A}
.ysi-prestataire .presta-time{font-size:12px;color:var(--presta-muted);margin:4px 0 0}
.ysi-prestataire .presta-tiles-list{display:flex;flex-direction:column;gap:10px;margin:10px 0}
.ysi-prestataire .presta-tilebtn{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:var(--presta-card);border:1px solid var(--presta-border);border-radius:18px;padding:14px 16px;min-height:64px;color:var(--presta-ink);font:inherit}
.ysi-prestataire .presta-tile-ico{flex:0 0 40px;height:40px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--presta-sage-soft);color:var(--presta-sage)}
.ysi-prestataire .presta-tile-txt{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.ysi-prestataire .presta-tile-txt span{font-size:13px;color:var(--presta-muted)}
.ysi-prestataire .presta-linen{display:grid;grid-template-columns:1fr;gap:8px;margin:10px 0 4px}
.ysi-prestataire .presta-linen-box{border-radius:14px;padding:10px 12px}
.ysi-prestataire .presta-linen-box p{margin:4px 0 0;font-size:14px;color:var(--presta-muted)}
.ysi-prestataire .presta-linen-box.is-take{background:var(--presta-sage-soft)}
.ysi-prestataire .presta-linen-box.is-drop{background:#F5EEE3}
@media(min-width:560px){.ysi-prestataire .presta-linen{grid-template-columns:1fr 1fr}}
.ysi-prestataire .presta-nav button span:not(.presta-nav-dot){white-space:nowrap;font-size:11px}
.ysi-prestataire .presta-toolbar .presta-chip-btn{border-radius:12px}
.ysi-prestataire .presta-grid2>*{min-width:0}
.ysi-prestataire .presta-grid2 input{width:100%;min-width:0;max-width:100%}

/* Retours d'Edwige du 22/11 : Aujourd'hui sur le modèle de la conciergerie, cartes synthétiques, planning Semaine/Mois
   avec calendrier, rapports paginés, rapport plus compact. Sélecteurs limités au module prestataire. */
.ysi-prestataire .presta-small{min-height:36px;padding:4px 12px;font-size:13px;margin:0}
.ysi-prestataire .presta-section{font-size:15px;margin:18px 0 8px;color:var(--presta-ink)}
.ysi-prestataire .presta-section.is-today{color:var(--presta-deep)}
.ysi-prestataire .presta-section::first-letter{text-transform:uppercase}
.ysi-prestataire .presta-section-row{align-items:center;margin-top:12px}
.ysi-prestataire .presta-section-row .presta-section{margin:0}
.ysi-prestataire .presta-section-row .presta-segment button{min-height:34px;padding:0 12px;font-size:13px}
.ysi-prestataire .presta-metrics{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:8px;margin:8px 0 4px}
.ysi-prestataire .presta-metric{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:var(--presta-card);border:1px solid var(--presta-border);border-radius:16px;padding:12px;min-height:72px;color:var(--presta-ink);font:inherit}
.ysi-prestataire .presta-metric strong{font-size:24px;line-height:1.1;font-weight:600}
.ysi-prestataire .presta-metric span{font-size:12px;color:var(--presta-muted);line-height:1.25}
.ysi-prestataire .presta-metric.is-on{border-color:var(--presta-sage);box-shadow:inset 0 0 0 1px var(--presta-sage)}
.ysi-prestataire .presta-metric.is-warn strong{color:var(--presta-alert)}
.ysi-prestataire .presta-tasks{display:flex;flex-direction:column;gap:6px}
.ysi-prestataire .presta-task{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:var(--presta-card);border:1px solid var(--presta-border);border-radius:14px;padding:10px 12px;min-height:56px;color:var(--presta-ink);font:inherit}
.ysi-prestataire .presta-task .presta-tile-txt{flex:1;min-width:0;display:flex;flex-direction:column}
.ysi-prestataire .presta-task .presta-tile-txt span{font-size:13px;color:var(--presta-muted)}
.ysi-prestataire .presta-task .presta-tile-ico.is-warn{color:var(--presta-alert)}
.ysi-prestataire .presta-missions{display:flex;flex-direction:column;gap:6px}
.ysi-prestataire .presta-mcard{display:grid;grid-template-columns:56px 1fr auto 18px;align-items:center;gap:10px;width:100%;text-align:left;background:var(--presta-card);border:1px solid var(--presta-border);border-radius:14px;padding:10px 12px;min-height:60px;color:var(--presta-ink);font:inherit;cursor:pointer}
.ysi-prestataire .presta-mcard.is-quiet{opacity:.7}
.ysi-prestataire .presta-mcard-time{display:flex;flex-direction:column;align-items:center;line-height:1.1;border-right:1px solid var(--presta-border);padding-right:8px}
.ysi-prestataire .presta-mcard-time strong{font-size:17px}
.ysi-prestataire .presta-mcard-time small{font-size:11px;color:var(--presta-muted)}
.ysi-prestataire .presta-mcard-body{display:flex;flex-direction:column;min-width:0}
.ysi-prestataire .presta-mcard-body strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ysi-prestataire .presta-mcard-sub{font-size:13px;color:var(--presta-muted)}
.ysi-prestataire .presta-mcard-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px}
.ysi-prestataire .presta-mcard-tags span{font-size:11px;background:var(--presta-sage-soft);color:var(--presta-deep);border-radius:999px;padding:1px 8px}
.ysi-prestataire .presta-mcard-go{width:16px;height:16px;color:var(--presta-muted)}
@media (max-width:520px){.ysi-prestataire .presta-mcard{grid-template-columns:50px 1fr 16px}.ysi-prestataire .presta-mcard .presta-pill{grid-column:2;justify-self:start;padding:2px 8px;font-size:11px}.ysi-prestataire .presta-mcard-go{grid-column:3;grid-row:1}}
.ysi-prestataire .presta-empty.is-small{padding:18px 8px}
.ysi-prestataire .presta-plan-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0 8px}
.ysi-prestataire .presta-plan-bar .presta-segment button{min-height:36px;padding:0 14px;font-size:13px}
.ysi-prestataire .presta-plan-bar .presta-field{margin:0;flex:1;min-width:180px}
.ysi-prestataire .presta-plan-nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.ysi-prestataire .presta-plan-nav .presta-icon-btn{width:36px;height:36px;min-height:36px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;margin:0}
.ysi-prestataire .presta-plan-label{font-size:14px;min-width:110px;text-align:center}
.ysi-prestataire .presta-plan-label::first-letter{text-transform:uppercase}
.ysi-prestataire .presta-mcal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin:6px 0}
.ysi-prestataire .presta-mcal-head{font-size:11px;color:var(--presta-muted);text-align:center;padding:2px 0}
.ysi-prestataire .presta-mcal-cell{display:flex;flex-direction:column;align-items:stretch;gap:2px;min-height:64px;padding:4px;border:1px solid var(--presta-border);border-radius:8px;background:var(--presta-card);font:inherit;color:var(--presta-ink);text-align:left;overflow:hidden;cursor:pointer}
.ysi-prestataire .presta-mcal-cell.is-out{background:transparent;border-color:transparent;cursor:default}
.ysi-prestataire .presta-mcal-cell.is-today{border-color:var(--presta-sage);box-shadow:inset 0 0 0 1px var(--presta-sage)}
.ysi-prestataire .presta-mcal-cell[aria-pressed=true]{background:var(--presta-sage-soft)}
.ysi-prestataire .presta-mcal-num{font-size:12px;font-weight:600}
.ysi-prestataire .presta-mcal-chip{font-size:10.5px;line-height:1.3;background:var(--presta-sage-soft);color:var(--presta-deep);border-radius:4px;padding:1px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ysi-prestataire .presta-mcal-chip.is-warn{background:var(--presta-alert-soft);color:var(--presta-alert)}
.ysi-prestataire .presta-mcal-chip.is-done{background:#F0EEE9;color:var(--presta-muted)}
.ysi-prestataire .presta-mcal-more{font-size:10px;color:var(--presta-muted)}
@media (min-width:900px){.ysi-prestataire .presta-mcal-cell{min-height:92px}.ysi-prestataire .presta-mcal-chip{font-size:12px}}
.ysi-prestataire .presta-pager{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px 0;font-size:14px}
.ysi-prestataire .presta-pager .presta-icon-btn{width:40px;height:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;margin:0}
.ysi-prestataire .presta-inset{border:1px solid var(--presta-border);border-radius:14px;padding:12px;margin:10px 0;background:var(--presta-bg)}
.ysi-prestataire .presta-inset h3{margin-top:0}
.ysi-prestataire .presta-maint{margin-top:10px}
.ysi-prestataire .presta-prepare .presta-row{align-items:center}
.ysi-prestataire .presta-prepare .presta-row h2{margin:0}
.ysi-prestataire .presta-select{min-height:44px;border:1px solid var(--presta-border);border-radius:12px;padding:8px 12px;font:inherit;background:#fff;color:var(--presta-ink)}
.ysi-prestataire .presta-file-inline{font-size:14px}
.ysi-prestataire .presta-leave-actions{display:flex;flex-direction:column;gap:6px;margin-left:auto}
.ysi-prestataire .presta-linen-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--presta-border)}
.ysi-prestataire .presta-linen-row:first-of-type{border-top:0}
.ysi-prestataire .presta-linen-row>div{flex:1;min-width:0}
.ysi-prestataire .presta-linen-row p{margin:0}
/* Gestion du linge (retour du 23/11) : vignette du logement et nom seul ; le détail s'ouvre par la flèche. */
.ysi-prestataire .presta-linen-row.is-home{min-height:44px}
.ysi-prestataire .presta-linen-row .presta-thumb{flex:0 0 44px}
.ysi-prestataire .presta-linen-head{display:flex;align-items:center;gap:12px;margin-bottom:8px}
.ysi-prestataire .presta-linen-head h2{margin:0}
.ysi-prestataire .presta-linen-head .presta-thumb{width:56px;height:56px;border-radius:14px;flex:0 0 56px}
/* Rapport compacté (retour du 22/11) : moins d'espace entre les lignes et les parties. */
.ysi-prestataire .presta-step{padding:10px 0 2px;margin-top:6px}
.ysi-prestataire .presta-step-title{margin:0 0 4px;font-size:16px}
.ysi-prestataire .presta-step .presta-field{margin:6px 0}
.ysi-prestataire details.presta-need summary{padding:8px 0;min-height:0}
.ysi-prestataire details.presta-need .presta-chips{gap:5px;margin:2px 0 8px}
.ysi-prestataire details.presta-need .presta-chip span{padding:5px 10px;min-height:32px;font-size:13px}
.ysi-prestataire .presta-other{display:flex;gap:6px;align-items:center;margin:0 0 10px}
.ysi-prestataire .presta-other input{flex:1;min-width:0;min-height:36px;border:1px solid var(--presta-border);border-radius:10px;padding:6px 10px;font:inherit;font-size:14px}
@media (max-width:899px){.ysi-prestataire .presta-mcal-t{display:none}.ysi-prestataire .presta-mcal-chip{font-size:9.5px;padding:1px 3px}}
/* Réassort (maquette Aura validée le 22/11) : bouton dans Mes logements, page à part en trois étapes, confirmation. */
.ysi-prestataire .presta-restock-open{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:12px -18px -18px;width:calc(100% + 36px);border:0;border-top:1px solid var(--presta-border);border-radius:0 0 18px 18px;background:var(--presta-bg);padding:12px 18px;min-height:52px;color:var(--presta-deep);font-weight:500}
.ysi-prestataire .presta-restock-count{display:inline-flex;align-items:center;gap:8px;color:var(--presta-muted)}
.ysi-prestataire .presta-restock-none{margin-top:12px}
.ysi-prestataire .presta-restock-back{width:auto;align-self:flex-start;margin:0 0 4px}
.ysi-prestataire .presta-restock-head{padding:14px 18px}
.ysi-prestataire .presta-restock-head .presta-building-code{margin:10px 0 0}
.ysi-prestataire .presta-progress-bar.is-3{grid-template-columns:repeat(3,1fr)}
.ysi-prestataire .presta-restock-step .presta-step-title{margin:0 0 2px}
.ysi-prestataire .presta-restock-step .presta-hint{margin:0 0 8px 36px;font-size:13px;color:var(--presta-muted)}
.ysi-prestataire .presta-step-num.is-on{background:var(--presta-sage);border-color:var(--presta-sage);color:#fff}
.ysi-prestataire .presta-restock-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--presta-border);cursor:pointer}
.ysi-prestataire .presta-restock-row:first-child{border-top:0}
.ysi-prestataire .presta-restock-row input{width:20px;height:20px;accent-color:var(--presta-sage);flex:0 0 auto}
.ysi-prestataire .presta-restock-name{flex:1;min-width:0}
.ysi-prestataire .presta-restock-name small{display:block;font-size:11px;color:var(--presta-muted)}
.ysi-prestataire .presta-restock-row.is-on .presta-restock-label{text-decoration:line-through;color:var(--presta-muted)}
.ysi-prestataire .presta-qty{border-radius:8px;background:#F2EFE8;padding:2px 8px;font-size:12px;white-space:nowrap}
.ysi-prestataire .presta-qty.is-unknown{background:none;color:var(--presta-muted);font-style:italic}
.ysi-prestataire .presta-restock-state{font-size:12px;color:var(--presta-muted);min-width:56px;text-align:right}
.ysi-prestataire .presta-restock-row.is-on .presta-restock-state{color:var(--presta-deep)}
.ysi-prestataire .presta-restock-items{display:flex;flex-direction:column;gap:8px;padding:0 0 12px}
.ysi-prestataire .presta-restock-pick{display:flex;align-items:center;gap:8px}
.ysi-prestataire .presta-restock-item-btn{flex:1;justify-content:flex-start;text-align:left;gap:8px;font-size:14px}
.ysi-prestataire .presta-restock-item-btn.is-on{border-color:var(--presta-sage);background:var(--presta-sage-soft);color:var(--presta-deep)}
.ysi-prestataire .presta-stepper{display:inline-flex;align-items:center;border:1px solid var(--presta-border);border-radius:10px;background:#fff}
.ysi-prestataire .presta-stepper button{border:0;min-height:40px;width:40px;padding:0;justify-content:center;font-size:18px;color:var(--presta-deep);background:none}
.ysi-prestataire .presta-stepper-val{width:28px;text-align:center;font-weight:600;font-size:14px}
.ysi-prestataire .presta-restock-other{margin-top:12px;padding:12px;border-radius:12px;background:var(--presta-bg)}
.ysi-prestataire .presta-restock-other .presta-label{font-size:12px;font-weight:500;color:var(--presta-muted);margin:0 0 6px}
.ysi-prestataire .presta-restock-other .presta-inline{display:flex;gap:8px}
.ysi-prestataire .presta-restock-other input{flex:1;min-width:0;min-height:44px;border:1px solid var(--presta-border);border-radius:12px;padding:6px 12px;background:#fff}
.ysi-prestataire .presta-restock-other .presta-select{margin-top:8px;width:100%}
.ysi-prestataire .presta-restock-done{display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:32px}
.ysi-prestataire .presta-restock-done .presta-card{width:100%;text-align:left}
.ysi-prestataire .presta-restock-done-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:18px;background:var(--presta-sage-soft);color:var(--presta-sage)}
.ysi-prestataire .presta-restock-done-icon .presta-icon{width:32px;height:32px}
/* Vignettes du logement (retour du 22/11) : cartes mission et en-tête de la fiche. */
.ysi-prestataire .presta-thumb{display:block;width:44px;height:44px;border-radius:10px;object-fit:cover;background:var(--presta-sage-soft)}
.ysi-prestataire .presta-mcard.has-thumb{grid-template-columns:56px 44px 1fr auto 18px}
.ysi-prestataire .presta-header-thumb{width:56px;height:56px;border-radius:14px;flex:0 0 auto}
.ysi-prestataire .presta-header:has(.presta-header-thumb){justify-content:flex-start;align-items:center}
@media (max-width:520px){.ysi-prestataire .presta-mcard.has-thumb{grid-template-columns:50px 40px 1fr 16px}.ysi-prestataire .presta-mcard.has-thumb .presta-thumb{width:40px;height:40px}.ysi-prestataire .presta-mcard.has-thumb .presta-pill{grid-column:3}.ysi-prestataire .presta-mcard.has-thumb .presta-mcard-go{grid-column:4}}
/* Retour du 24/11 : vignettes des photos du rapport (chargées une à une) et rapport fait en lecture. */
.ysi-prestataire .presta-tile.has-img{padding:0;justify-content:flex-end}
.ysi-prestataire .presta-tile-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.ysi-prestataire .presta-tile.has-img .presta-tile-actions{position:relative;padding:6px;margin:0;background:linear-gradient(transparent,#0000004d)}
.ysi-prestataire .presta-amend{display:grid;gap:6px;margin-top:14px}

/* Retour du 25/11 : titres du linge avec pastille, vignettes dans Mes logements et le réassort. */
.ysi-prestataire .presta-linen-title{display:flex;align-items:center;gap:12px}
.ysi-prestataire .presta-linen-title .presta-tile-ico{flex:0 0 36px;height:36px;border-radius:11px}
.ysi-prestataire .presta-home-head{display:flex;align-items:center;gap:12px}
.ysi-prestataire .presta-home-head>.presta-thumb{flex:0 0 44px;width:44px;height:44px;border-radius:10px;object-fit:cover}
.ysi-prestataire .presta-home-head>h3{flex:1;min-width:0}
.ysi-prestataire .presta-restock-home{display:inline-flex;align-items:center;gap:8px}
.ysi-prestataire .presta-restock-home>.presta-thumb{width:28px;height:28px;border-radius:7px;object-fit:cover}
