[hidden]{display:none!important}.auth-screen{min-height:100vh;display:grid;grid-template-columns:46% 54%;background:var(--panel)}.auth-story{background:var(--brand2);color:white;padding:46px 58px;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:500px;height:500px;right:-270px;top:27%;border:1px solid #ffffff0b;border-radius:50%;box-shadow:0 0 0 70px #ffffff03,0 0 0 140px #ffffff02;pointer-events:none}.auth-wordmark{display:flex;gap:14px;align-items:center;width:fit-content;font-size:19px;font-weight:650;z-index:1}.auth-wordmark small{display:block;font-size:8px;font-weight:450;letter-spacing:2.1px;margin-top:6px;opacity:.6}.auth-monogram{display:grid;place-items:center;width:43px;height:43px;border:1px solid #ffffff4d;border-radius:12px;font-family:Georgia,serif;font-size:29px;font-weight:400}.auth-story-copy{margin:auto 0;padding:70px 0 35px;max-width:480px;z-index:1}.auth-story .eyebrow{color:#d7b681;font-size:10px;letter-spacing:2.1px}.auth-story h1{font-size:clamp(40px,4.1vw,70px);line-height:1.12;letter-spacing:-2.4px;margin:24px 0;color:white;font-weight:600}.auth-story h1 em{font-family:Georgia,serif;font-weight:400;color:#e1c59e;letter-spacing:-2px}.auth-story-copy p{max-width:330px;font-size:13px;line-height:1.9;color:#ffffffa8;margin-top:26px}.auth-building{max-width:345px;margin-top:40px}.auth-building svg{width:100%;height:auto;stroke-width:.65;stroke:#e1c59e;opacity:.58}.auth-story-foot{display:flex;flex-direction:column;gap:12px;font-size:10px;color:#ffffff84;z-index:1}.auth-story-foot>span:first-child{color:#e6d9df}.auth-story-foot i{display:inline-block;background:#c9a368;width:5px;height:5px;border-radius:50%;margin-right:7px}.auth-side{display:flex;flex-direction:column;padding:31px 55px;min-width:0}.auth-tools{display:flex;align-items:center;justify-content:space-between;font-size:9px;letter-spacing:1.4px;color:var(--muted)}.auth-form-wrap{width:100%;max-width:410px;margin:auto;padding:65px 0}.auth-kicker{font-size:9px;font-weight:600;letter-spacing:1.5px;color:var(--brand2);display:flex;align-items:center;gap:8px}.auth-kicker>span{height:5px;width:5px;background:var(--gold);border-radius:50%}.auth-form-wrap h2{font-size:34px;letter-spacing:-1.2px;margin:18px 0 12px;line-height:1.2}.auth-intro{color:var(--muted);font-size:12px;line-height:1.9;max-width:350px;margin-bottom:34px}.auth-form-wrap label{display:block;font-size:11px;font-weight:600;margin:0 0 9px}.auth-label-row{display:flex;justify-content:space-between;gap:10px;margin-top:23px}.auth-input{display:flex;align-items:center;gap:12px;border:1px solid var(--line);background:var(--paper);border-radius:8px;padding:0 14px;min-height:50px}.auth-input:focus-within{border-color:var(--brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 6%,transparent)}.auth-input>span{display:flex;color:var(--muted)}.auth-input svg{width:17px;height:17px;stroke-width:1.5}.auth-input input{border:0;background:transparent;padding:15px 0;outline:none;box-shadow:none;min-width:0;width:100%;font-size:12px;color:var(--ink)}.auth-input input:focus-visible{outline:none}.auth-input button{padding:5px;background:transparent;color:var(--muted);display:grid;place-items:center;border-radius:4px}.auth-text-link{font-size:10px;color:var(--brand2);background:none;padding:0;cursor:pointer}.auth-submit{margin-top:28px;min-height:49px;justify-content:space-between;padding:0 19px!important;border-radius:8px!important;font-size:12px!important}.auth-help{text-align:center;font-size:10px!important;color:var(--muted);line-height:1.85;margin-top:17px}.auth-reassurance{display:flex;gap:13px;padding-top:25px;margin-top:30px;border-top:1px solid var(--line);align-items:flex-start}.auth-reassurance>span{color:var(--brand2);background:var(--soft);border-radius:8px;width:34px;height:34px;display:grid;place-items:center;flex-shrink:0}.auth-reassurance svg{width:17px;height:17px}.auth-reassurance strong{display:block;font-size:11px;font-weight:600}.auth-reassurance div>span{font-size:10px;color:var(--muted);display:block;line-height:1.7;margin-top:5px;max-width:290px}.auth-footer{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:var(--muted);padding:15px 0 0;border:0}.auth-error{background:#b33b3b0b;border:1px solid #b33b3b30;border-radius:7px;padding:11px;color:var(--red);font-size:11px;line-height:1.7;margin:17px 0 0}.auth-back{display:block;margin:22px auto 0}.session-tag{display:flex;align-items:center;gap:6px;font-size:9px;color:var(--muted)}.session-tag i{width:5px;height:5px;background:var(--green);border-radius:50%}.logout-button{font-size:10px!important;padding:8px 10px!important}.brand strong{overflow-wrap:anywhere;font-size:17px}.brand img{object-fit:contain;background:white}.sidebar-foot strong{max-width:140px;overflow-wrap:anywhere}.brand-control{margin:0 0 19px;display:flex;align-items:center;gap:12px;font-size:11px;color:var(--muted)}.brand-control select{max-width:360px;min-width:0;width:100%;background:var(--panel)}.client-message-link{margin-top:13px}.client-card .stepper{margin-top:13px}.client-card .activity-list{padding:0}.client-photos{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}.client-photos img{width:130px;height:95px;object-fit:cover;border:1px solid var(--line);border-radius:6px}.client-photos a:focus-visible{outline:2px solid var(--gold)}.client-filters{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:17px}.client-filters .chip{font-size:10px}.client-card .proof{line-height:1.8}.button.primary,.step.done i{color:var(--on-brand,#fff)}.client-error{padding:30px}.client-empty{padding:36px}.client-card button.record-title{background:none;padding:0;text-align:left;font-weight:600;font-size:14px;margin:10px 0}.login-loading{text-align:center;color:var(--muted);font-size:12px}
[data-theme=dark] .auth-kicker,[data-theme=dark] .auth-text-link{color:#deb8c7}[data-theme=dark] .auth-reassurance>span{color:#deb8c7}
@media(min-width:1600px){.auth-story{padding:55px 80px}.auth-story-copy{max-width:530px}.auth-story h1{font-size:76px}.auth-form-wrap{max-width:430px}.auth-form-wrap h2{font-size:38px}}
@media(max-width:1000px){.auth-screen{grid-template-columns:42% 58%}.auth-story{padding:36px 30px}.auth-story h1{font-size:44px;letter-spacing:-1.5px}.auth-side{padding:26px 30px}.auth-wordmark{font-size:16px}.auth-wordmark small{font-size:7px;letter-spacing:1px}.auth-form-wrap h2{font-size:29px}}
@media(max-width:700px){.auth-screen{display:block}.auth-story{min-height:0;padding:24px}.auth-wordmark{font-size:17px}.auth-story-copy{padding:32px 0 6px;margin:0;max-width:100%}.auth-story h1{font-size:34px;line-height:1.16;letter-spacing:-1px;margin:16px 0}.auth-story h1 br:nth-of-type(2){display:none}.auth-story h1 em{letter-spacing:-1px}.auth-story-copy>p,.auth-building,.auth-story-foot{display:none}.auth-side{padding:24px}.auth-tools{font-size:8px}.auth-form-wrap{padding:34px 0;max-width:430px}.auth-form-wrap h2{font-size:29px}.auth-intro{font-size:11px;margin-bottom:28px}.auth-kicker{font-size:8px}.auth-reassurance{margin-top:25px}.auth-footer{font-size:8px}.brand-control{align-items:start;flex-direction:column;gap:8px}.client-filters{margin-top:8px}.logout-button{padding:7px!important}.session-tag{display:none}.client-layout{grid-template-columns:1fr}.client-home{padding:20px}.client-home>svg{max-height:90px}.client-message-link{min-height:40px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Shared touch layout; desktop keeps the existing charter and workspace. */
.nav-mobile-label,.mobile-stage-filter{display:none}
.people-checks{border:1px solid var(--line);border-radius:9px;padding:12px;margin:0 0 17px;min-width:0}
.people-checks legend{font-size:12px;font-weight:600;padding:0 5px}
.dialog-body .people-checks label{display:flex;align-items:center;gap:12px;min-height:48px;margin:0;padding:8px;border-radius:6px;cursor:pointer}
.people-checks label:has(input:checked){background:var(--soft)}
.dialog-body .people-checks input{width:20px;height:20px;min-height:20px;flex:none;accent-color:var(--brand);margin:0}
.people-checks span{overflow-wrap:anywhere}
@media(max-width:780px){
 html{scroll-padding-bottom:100px}
 body:has(#workspace:not([hidden])){padding-bottom:calc(78px + env(safe-area-inset-bottom))}
 .sidebar{padding:12px 16px;border:0;background:var(--panel)}
 .brand{margin:0;gap:10px;align-items:center;min-height:42px}
 .brand img{width:38px;height:38px;flex:none}
 .brand strong{font-size:13px;line-height:1.4;letter-spacing:0}
 .brand small{font-size:7px;letter-spacing:1.2px;margin-top:3px}
 #navigation{position:fixed;inset:auto 0 0;z-index:30;margin:0;display:flex;gap:4px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--panel);box-shadow:0 -6px 24px #25172008}
 #navigation a{flex:1;min-width:0;min-height:56px;padding:7px 2px;gap:5px;border-radius:10px;font-size:10px;font-weight:550;line-height:1.3}
 #navigation a svg{width:21px;height:21px}
 #navigation .nav-desktop-label{display:none}
 #navigation .nav-mobile-label{display:block}
 #navigation a.active{color:var(--brand2);background:var(--soft)}
 .topbar{height:auto;min-height:52px;padding:4px 16px;border-top:1px solid var(--line);gap:10px}
 .breadcrumbs{min-width:0;max-width:none;font-size:12px;overflow-wrap:anywhere}
 .breadcrumbs>span{display:none}
 .breadcrumbs{font-size:0}
 .breadcrumbs>strong{font-size:12px;line-height:1.5}
 .top-actions{flex:none;gap:8px}
 .topbar .logout-button{font-size:11px!important;min-height:44px;padding:10px!important}
 .icon-button{min-width:44px;min-height:44px}
 main{padding:20px 16px 12px}
 h1{font-size:25px;line-height:1.25;letter-spacing:-.6px}
 .heading{display:block;margin-bottom:18px}
 .heading .eyebrow{display:none}
 .heading p{font-size:13px;line-height:1.7;max-width:none;margin:10px 0 0}
 .heading>.button-row{margin-top:16px;display:flex;flex-wrap:wrap;gap:8px}
 .heading .button-row .button:not(.primary){display:inline-flex}
 .heading .button.primary{flex:1}
 .button,.record-actions .button,.native-kanban .record-actions .button{min-height:48px;font-size:12px;padding:11px 12px;white-space:normal;line-height:1.4;justify-content:center}
 .button svg{width:17px;height:17px}
 input:not([type=checkbox]):not([type=radio]),select,textarea,.dialog-body input:not([type=checkbox]),.dialog-body select,.dialog-body textarea,.auth-input input{min-height:48px;font-size:16px;min-width:0}
 input[type=file]{width:100%;font-size:13px!important;padding:10px 6px}
 input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:var(--brand)}
 .button-row{flex-wrap:wrap;gap:8px}
 .residence-control{margin:0 0 16px;gap:8px}
 .residence-context>span:last-child{display:none}
 .residence-picker summary{min-height:64px;padding:9px 11px}
 .residence-selected strong{font-size:12px}
 .residence-selected small{font-size:11px}
 .residence-option{min-height:64px}
 .hero:has(.hero-residence){display:grid;grid-template-columns:minmax(0,1fr) 90px;padding:15px;gap:12px;min-height:0;margin-bottom:18px;align-items:stretch}
 .hero:has(.hero-residence) .hero-copy>.eyebrow,.hero:has(.hero-residence) .hero-copy>p{display:none}
 .hero:has(.hero-residence) h2{font-size:16px;line-height:1.5;letter-spacing:0;margin:0 0 8px}
 .hero:has(.hero-residence) .hero-link{font-size:11px;min-height:44px;display:inline-flex;align-items:center;margin:0}
 .hero:has(.hero-residence) .hero-residence{width:90px;height:auto;min-height:100px;max-width:none;margin:0;flex:none;border-radius:8px}
 .hero:has(.hero-residence) figcaption{display:none}
 .metrics{gap:10px;margin-bottom:18px}
 .metric{padding:13px;min-height:120px}
 .metric-top{font-size:12px;line-height:1.5;align-items:start}
 .metric-icon{width:24px;height:24px;flex:none}
 .metric-value{font-size:28px;margin:4px 0}
 .metric-note{font-size:11px;line-height:1.5;display:block}
 .panel-head{padding:16px;align-items:flex-start;flex-wrap:wrap}
 .panel-head h2{font-size:16px;line-height:1.4}
 .panel-head p{font-size:12px;line-height:1.6}
 .panel-head .button{font-size:12px}
 .toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px}
 .toolbar .search-box{grid-column:1/-1;width:100%;min-width:0}
 .toolbar>button[type=submit]{grid-column:2;grid-row:2}
 .toolbar>select{grid-column:1;grid-row:2;width:100%;max-width:100%;min-width:0}
 .toolbar .view-switch{grid-column:1/-1;display:flex;width:100%;min-height:48px;padding:3px;gap:8px}
 .view-switch button{flex:1;width:auto;min-height:44px;display:flex;gap:8px;align-items:center;justify-content:center;font-size:12px}
 .view-switch button[data-view=list]:after{content:'Liste'}
 .view-switch button[data-view=kanban]:after{content:'Par étapes'}
 .mobile-stage-filter{display:grid;gap:7px;padding:0 12px 14px;border-bottom:1px solid var(--line)}
 .mobile-stage-filter label{font-size:12px;font-weight:600}
 .mobile-stage-filter select{width:100%;font-size:14px}
 .workflow-chips{display:none}
 .table-wrap{padding:0 12px 12px}
 .table-wrap tbody{gap:14px}
 .table-wrap tr{padding:14px;gap:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .table-wrap td:first-child{grid-column:1/-1}
 .record-button .ref{font-size:11px}
 .table-wrap .record-button{min-height:48px}
 .table-wrap .record-button strong{font-size:15px;line-height:1.5}
 .table-wrap td strong{font-size:13px;overflow-wrap:anywhere}
 .table-wrap td small,.table-wrap .record-button small{font-size:12px;line-height:1.5}
 .table-wrap td:nth-child(2):before,.table-wrap td:nth-child(5):before{font-size:10px}
 .table-wrap td:nth-child(4){display:block}
 .table-wrap td:nth-child(4):before{content:'PRIORITÉ';display:block;color:var(--muted);font-size:10px;margin-bottom:5px}
 .table-wrap td:last-child{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px}
 .assignee{max-width:none;font-size:12px;line-height:1.5}
 .record-actions,.native-kanban .record-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .record-actions .button,.native-kanban .record-actions .button{flex-direction:column;padding:9px 4px;gap:5px;font-size:11px;min-height:58px}
 .record-actions .button svg{width:18px;height:18px}
 .badge,.table-wrap td .badge,.native-kanban .badge{font-size:12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere}
 .table-footer{padding:12px;font-size:12px;display:grid;gap:12px}
 .table-footer>.button-row{display:grid;grid-template-columns:1fr 1fr}
 .kanban-workflows{padding:12px}
 .kanban-workflow-head{flex-wrap:wrap}
 .kanban-workflow-head h3,.kanban-column-head h4{font-size:14px}
 .native-kanban .record-button strong{font-size:15px}
 .native-kanban .kanban-card p,.kanban-empty,.workflow-source{font-size:12px;line-height:1.6}
 .native-kanban .kanban-card .ref{font-size:11px}
 .detail-summary{padding:16px}
 .detail-summary h2{font-size:20px;line-height:1.4;overflow-wrap:anywhere}
 .detail-summary p,.staff-content p{font-size:14px;line-height:1.7}
 .detail-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
 .detail-meta>div{min-width:0;overflow-wrap:anywhere}
 .detail-meta small{font-size:11px}
 .detail-meta strong{font-size:13px;line-height:1.6}
 .dossier-actions{display:grid;grid-template-columns:1fr;margin-bottom:0}
 .dossier-actions .button{width:100%}
 .detail-back .button{width:100%;justify-content:flex-start}
 .staff-content{padding:16px}
 .staff-content select{font-size:16px}
 .staff-calendar{grid-template-columns:1fr;padding:12px;gap:12px}
 .staff-day{min-height:0;padding:14px}
 .staff-day h3{font-size:14px;margin:0 0 12px;text-transform:capitalize}
 .staff-day .kanban-card strong{font-size:14px}
 .staff-day .kanban-card p{font-size:12px;line-height:1.7}
 .staff-day .form-help{font-size:12px;margin:0}
 .staff-day .kanban-card .button{width:100%}
 .panel-head>.button-row{display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}
 .panel-head>.button-row .button:nth-child(2):nth-last-child(2){grid-column:1/-1;grid-row:2}
 .pending-list .button-row,.intervention-list .button-row{display:grid;grid-template-columns:1fr;width:100%}
 .pending-list h3,.intervention-list h3{font-size:15px;line-height:1.5}
 .pending-list p,.intervention-list p{font-size:13px;line-height:1.6}
 .right-stack{grid-template-columns:1fr}
 .activity p,.activity small,.activity .record-button{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
 .next-visit h3{font-size:14px;line-height:1.5}
 .visit-date p,.section-label,.progress-panel p{font-size:12px;line-height:1.6}
 dialog{width:100%;max-width:100%;max-height:100dvh;height:100dvh;margin:0;padding:0;border:0;border-radius:0;overscroll-behavior:contain}
 #dialog-content{min-height:100%;display:flex;flex-direction:column}
 .dialog-head{padding:14px 16px;position:sticky;top:0;background:var(--panel);z-index:2;align-items:flex-start}
 .dialog-head h2{font-size:19px;line-height:1.4}
 .dialog-head p{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
 #dialog-content>form{flex:1;display:flex;flex-direction:column;min-width:0}
 .dialog-body{padding:18px 16px;flex:1}
 .dialog-body .fields{grid-template-columns:1fr;gap:16px}
 .dialog-body label{font-size:13px;line-height:1.5}
 .form-help,.auth-error{font-size:12px;line-height:1.7}
 .dialog-footer{position:sticky;bottom:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--panel);z-index:2;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;box-shadow:0 -5px 18px #25172008}
 .dialog-footer .button{font-size:13px}
 .toast{bottom:calc(90px + env(safe-area-inset-bottom));font-size:13px;max-width:calc(100% - 24px);width:max-content;line-height:1.6;padding:12px 16px}
 body:has(dialog[open]){overflow:hidden}
 body:has(dialog[open]) .toast{bottom:90px;z-index:101}
 .client-card{padding:16px}
 .client-card-head{flex-wrap:wrap;gap:10px}
 .client-card h3{font-size:17px;line-height:1.5;overflow-wrap:anywhere}
 .client-card p,.client-card small,.proof{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
 .client-message-link .button{width:100%}
 .client-filters{display:grid;grid-template-columns:1fr;gap:8px}
 .client-filters .chip{min-height:44px;font-size:13px;text-align:left;padding:12px;border:1px solid var(--line);border-radius:8px}
 .client-cards>div:last-child>.button.primary{width:100%}
 .client-card .step{font-size:11px;line-height:1.5;min-width:0}
 .client-card .step i{width:30px;height:30px;font-size:12px}
 .auth-screen{min-height:100dvh}
 .auth-story{padding:20px 24px}
 .auth-story-copy{display:none}
 .auth-side{padding:16px 24px}
 .auth-form-wrap{padding:24px 0}
 .auth-form-wrap h2{font-size:28px}
 .auth-intro,.auth-help,.auth-reassurance div>span{font-size:13px!important}
 .auth-form-wrap label{font-size:13px}
 .auth-input{min-height:52px;padding:0 12px;gap:8px}
 .auth-input #show-password{min-width:44px;min-height:44px}
 .auth-text-link{min-height:44px;display:inline-flex;align-items:center;font-size:12px;text-align:left}
 .auth-label-row{align-items:center;margin-top:12px}
 .auth-label-row label{margin:0}
 .auth-submit{font-size:15px!important;min-height:52px}
 .auth-footer{font-size:10px;flex-wrap:wrap;line-height:1.6}
 footer{padding:18px 16px;font-size:11px;line-height:1.7}
}
@media(max-width:359px){
 main{padding-left:12px;padding-right:12px}
 .hero:has(.hero-residence){grid-template-columns:minmax(0,1fr) 72px;padding:12px;gap:10px}
 .hero:has(.hero-residence) .hero-residence{width:72px}
 .metric{padding:11px}.metric-top{font-size:11px}.metric-note{font-size:10px}
 .metric-icon{display:none}
 .dialog-footer{grid-template-columns:1fr}
 .auth-side{padding:16px}.auth-story{padding:16px}
}
@media print{#navigation{display:none!important}}

@media(max-width:780px){
 .brand strong{color:var(--ink)}
 body[data-page=claims] .metrics,body[data-page=reserves] .metrics{display:none}
}

/* Keep the company hue readable on dark surfaces, including fixed navigation. */
[data-theme=dark] .brand strong{color:var(--ink)}
[data-theme=dark] .eyebrow,[data-theme=dark] nav a.active,[data-theme=dark] .metric-icon,[data-theme=dark] .section-label,[data-theme=dark] .record-button .ref,[data-theme=dark] .chip.active,[data-theme=dark] .badge.new,[data-theme=dark] .badge.open,[data-theme=dark] .residence-placeholder{color:color-mix(in srgb,var(--brand) 35%,#fff)}
.client-stage-list{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}.client-stage-list span{padding:6px 9px;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:10px}.client-stage-list .current{color:var(--ink);background:var(--soft);border-color:var(--brand);font-weight:650}.client-interventions{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.client-interventions>h4,.client-resolution h4{font-size:13px;margin:0 0 12px}.client-intervention{padding:16px;border:1px solid var(--line);border-radius:9px;margin-top:12px;min-width:0}.client-intervention-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.client-intervention-head>div{min-width:0}.client-intervention h4{font-size:13px;line-height:1.6;overflow-wrap:anywhere;margin:6px 0}.client-intervention p{overflow-wrap:anywhere}.client-intervention .badge{white-space:normal;line-height:1.6}.client-review,.client-resolution{margin-top:16px;padding:14px;background:var(--paper);border:1px solid var(--line);border-radius:8px}.client-review>strong{font-size:12px}.client-rating{display:flex;gap:8px;flex-wrap:wrap;padding:14px;border:1px solid var(--line);border-radius:8px}.client-rating legend{font-size:12px;padding:0 5px}.client-rating label{flex:1;min-width:60px;text-align:center;cursor:pointer}.client-rating input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.client-rating span{display:block;padding:12px 8px;border:1px solid var(--line);border-radius:7px;font-size:13px}.client-rating input:checked+span{border-color:var(--brand);background:var(--soft);color:var(--ink);font-weight:700}.client-rating input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px}.client-card>.pre-line,.pre-line{white-space:pre-line;overflow-wrap:anywhere}.photo-thumb{border:1px solid var(--line);border-radius:8px;padding:8px;background:var(--panel);text-align:left;min-width:0;max-width:100%}.photo-thumb img{width:180px;height:140px;max-width:100%;object-fit:contain;background:var(--paper);border-radius:6px}.photo-thumb span{display:block;font-size:11px;color:var(--muted);margin-top:8px;overflow-wrap:anywhere}.photo-view{padding:20px;text-align:center}.photo-view img{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:auto}@media(max-width:700px){.client-intervention-head{flex-direction:column}.client-intervention{padding:12px}.client-rating{gap:5px;padding:10px}.client-rating label{min-width:36px}.client-rating span{padding:10px 5px;font-size:11px}.client-resolution .button{flex:1 1 100%;white-space:normal}.client-photos{display:flex;flex-wrap:wrap;gap:10px}}