/* Touquet Demandes — responsive design system. Aucun CDN, aucun framework JS. */
:root{--navy:#183b56;--navy-deep:#102b43;--navy-mid:#28516b;--sand:#cbb58d;--sand-light:#f3eee5;--ink:#1a3445;--muted:#728391;--line:#e6ecef;--canvas:#f6f8fa;--white:#fff;--green:#277b64;--green-bg:#e8f5ef;--orange:#aa6f26;--orange-bg:#fff3db;--red:#a74647;--red-bg:#fcebec;--blue-bg:#e9f0f6;--purple:#77589c;--purple-bg:#f1ecf8;--shadow:0 4px 26px rgba(18,48,68,.045);--r:16px;--rs:10px;--top:72px;--sidebar:264px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--canvas);color:var(--ink);font-family:Inter,'Segoe UI',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.025em}h1{font-size:32px;line-height:1.23;font-weight:730}h2{font-size:18px;line-height:1.4;font-weight:700}h3{font-size:15px;font-weight:720}p{line-height:1.65}svg.ico{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}svg.ico use{pointer-events:none}strong{font-weight:680}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:#9b815e}.required{color:var(--red)}.optional{color:var(--muted);font-size:11px;font-weight:500;margin-left:3px}
/* Application shell */
.app-shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;flex:none;width:var(--sidebar);height:100vh;background:var(--navy-deep);color:#e6edf2;padding:27px 14px 17px}.brand{display:flex;align-items:center;gap:11px;padding:2px 11px 32px}.brand-mark{width:39px;height:39px;background:#c9b48e;color:#183b56;display:grid;place-items:center;border-radius:11px}.brand-mark .ico{width:25px;height:25px}.brand-text{display:flex;flex-direction:column;gap:5px}.brand-text strong{color:white;font-size:13px;letter-spacing:.06em}.brand-text strong span{font-weight:350}.brand-text small{font-size:8px;letter-spacing:.135em;color:#b0c3d1}.sidebar-label{font-size:9px;font-weight:800;color:#7694a6;letter-spacing:.15em;margin:6px 14px 15px}.sidebar-nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:14px;border-radius:9px;padding:13px 15px;color:#becdd8;font-weight:560;transition:.2s;background:transparent}.nav-item .ico{width:19px;height:19px;color:#a2b4c0}.nav-item:hover{background:#254a64;color:white}.nav-item.active{background:#335771;color:white;box-shadow:inset 3px 0 0 #cfba94}.nav-item.active .ico{color:#e0caa2}.sidebar-spacer{flex:1}.sidebar-user{display:flex;align-items:center;gap:10px;padding:14px 5px 0;border-top:1px solid #29465a;margin-top:18px}.sidebar-user>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.sidebar-user strong{font-size:12px;color:white;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user small{font-size:10px;color:#aabdc9}.avatar{display:grid;place-items:center;background:#d9c39a;color:#30495c;font-weight:700;border-radius:50%;width:36px;height:36px;flex:none}.icon-btn{background:transparent;border:0;color:#a6becf;padding:5px;display:flex}.icon-btn:hover{color:white}.work-area{flex:1;min-width:0}.topbar{height:var(--top);padding:0 35px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);background:white}.topbar-context{font-size:12px;color:var(--muted);letter-spacing:.012em}.topbar-dot{color:#cbb58d;margin:0 8px}.topbar-actions{display:flex;align-items:center;gap:18px}.topbar-search{display:grid;place-items:center;color:#6d8190}.top-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--sand-light);color:var(--navy);font-weight:800}.mobile-brand{display:none}.bottom-nav{display:none}.main-content{max-width:1512px;margin:0 auto;padding:37px 36px 35px}.app-footer{font-size:11px;color:#9aabb6;text-align:center;padding:36px 0 6px}.app-footer span{margin:0 7px}
/* Headings / common components */
.page-heading{margin-bottom:27px}.page-heading h1{margin-top:7px;margin-bottom:6px}.page-heading p{color:var(--muted);font-size:13px}.heading-actions{display:flex;justify-content:space-between;align-items:flex-end;gap:15px}.heading-wave{font-size:24px;color:var(--sand);vertical-align:2px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 17px;border-radius:9px;border:1px solid transparent;font-weight:650;font-size:12px;white-space:nowrap;transition:background .15s,box-shadow .15s,transform .15s}.btn:hover{transform:translateY(-1px)}.btn .ico{width:16px;height:16px}.btn-primary{background:var(--navy);color:white;border-color:var(--navy)}.btn-primary:hover{background:#285674;box-shadow:0 5px 16px #1b496030}.btn-outline{background:white;border-color:#d8e2e7;color:var(--navy)}.btn-outline:hover{background:#f0f5f7}.btn-quiet{background:#f1f5f7;border-color:#edf1f3;color:#425d70}.btn-success{background:#23735b;color:white}.btn-success:hover{background:#195b47}.btn-wide{width:100%}.btn-sm{min-height:36px;padding:8px 12px;font-size:11px}.panel{background:var(--white);border:1px solid #e9eef1;border-radius:var(--r);box-shadow:var(--shadow)}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:23px 24px 17px;gap:10px}.panel-header p{color:var(--muted);font-size:11px;margin-top:2px}.panel-header h2{font-size:17px}.text-link{display:inline-flex;align-items:center;gap:2px;color:var(--navy-mid);font-weight:700;font-size:12px}.text-link .ico{width:15px;height:15px}.flash-stack{display:grid;gap:8px;margin-bottom:19px}.flash{border-radius:10px;padding:12px 15px;font-size:12px;background:#eaf3fa;color:#28516b;border:1px solid #cddfe9;display:flex;align-items:center;justify-content:space-between;gap:10px}.flash.success{background:var(--green-bg);color:var(--green);border-color:#cdeadd}.flash.error{background:var(--red-bg);color:var(--red);border-color:#f4d3d4}.flash button{background:transparent;border:0;color:inherit;font-size:19px}.status-badge{display:inline-flex;align-items:center;gap:4px;width:max-content;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:740;line-height:1.05;background:#edf2f6;color:#476376;white-space:nowrap}.status-nouveau,.status-a_completer,.status-a_examiner{background:var(--orange-bg);color:var(--orange)}.status-a_affecter,.status-affecte,.status-pris_en_compte{background:var(--blue-bg);color:#3d6685}.status-en_cours{background:#e9f2fa;color:#2b6a9d}.status-en_attente,.status-reporte{background:var(--purple-bg);color:var(--purple)}.status-a_valider{background:#e9f4ee;color:#3b795b}.status-cloture,.status-termine{background:var(--green-bg);color:var(--green)}.status-refuse{background:var(--red-bg);color:var(--red)}.task-en_cours{background:#e9f2fa;color:#2b6a9d}.task-en_attente{background:var(--orange-bg);color:var(--orange)}.task-termine{background:var(--green-bg);color:var(--green)}.priority-pill{font-size:10px;font-weight:760;border-radius:6px;padding:6px 9px;background:var(--blue-bg);color:#436a87;white-space:nowrap}.priority-pill.P1{background:var(--red-bg);color:var(--red)}.priority-pill.P2{background:var(--orange-bg);color:var(--orange)}.priority-pill.P3{background:var(--blue-bg);color:var(--navy-mid)}.priority-pill.P4{background:#f1f3f4;color:#6d7e88}.micro-tag{font-size:10px;color:#6d7f8a;background:#f0f4f6;border-radius:5px;padding:5px 8px;white-space:nowrap}
/* Dashboard */
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.stat-card{background:white;border:1px solid #e9eef1;border-radius:var(--r);box-shadow:var(--shadow);padding:21px 22px;min-width:0;display:flex;flex-direction:column;gap:4px}.a.stat-card:hover,.stat-card[href]:hover{border-color:#c8d9e1;transform:translateY(-1px)}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:625;color:#526c7e}.stat-icon{height:32px;width:32px;border-radius:9px;display:grid;place-items:center;background:#e9f0f5;color:#4d7794}.stat-icon .ico{height:17px;width:17px}.stat-icon.amber{background:#fff4df;color:#bf833a}.stat-icon.green{background:#e6f4ec;color:#39896c}.stat-icon.purple{background:#f0ebfa;color:#8a6ab0}.stat-number{font-size:34px;line-height:1.23;letter-spacing:-.04em;font-weight:770;color:var(--navy);margin:5px 0}.stat-foot{color:#90a0ab;font-size:10px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 295px;align-items:start;gap:22px}.ticket-feed{display:flex;flex-direction:column}.feed-item{display:flex;align-items:center;gap:12px;padding:18px 22px;border-top:1px solid #f0f3f5;min-width:0;transition:background .15s}.feed-item:hover{background:#fafcfd}.feed-kind{display:grid;place-items:center;background:#edf3f7;color:#5a7890;border-radius:11px;width:38px;height:38px;flex:none}.feed-kind .ico{width:17px;height:17px}.feed-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.feed-title{font-size:12px;font-weight:690;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.feed-meta{font-size:10px;color:#8c9ba5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.feed-meta>span{color:#c1cbd1;margin:0 4px}.feed-chevron{color:#a5b5be;width:14px!important;height:14px!important}.dashboard-side{display:flex;flex-direction:column;gap:20px}.attention-card{background:var(--navy);border-radius:var(--r);color:white;padding:23px;min-height:224px;position:relative;overflow:hidden}.attention-card:after{content:'';width:180px;height:180px;border:1px solid #ffffff22;border-radius:50%;position:absolute;right:-96px;top:-30px;pointer-events:none}.attention-heading{display:flex;align-items:center;gap:9px;color:#e7edf0;font-size:12px;font-weight:650}.attention-heading .ico{width:18px;color:#dfc495}.attention-number{font-size:46px;line-height:1.1;font-weight:730;margin:19px 0 4px}.attention-card p{font-size:11px;color:#baccd6;line-height:1.6}.attention-card a{font-size:11px;font-weight:700;color:#f0d5a9;display:inline-flex;align-items:center;gap:4px;margin-top:21px}.attention-card a .ico{height:14px;width:14px}.mini-panel{padding:21px}.shortcut-list{display:flex;flex-direction:column;margin-top:11px}.shortcut-list a{display:flex;align-items:center;gap:10px;padding:13px 0;border-top:1px solid #edf1f3;font-size:11px;font-weight:600;color:#456273}.shortcut-list a .ico{width:17px;height:17px;color:#7794a3}.shortcut-list a .end{margin-left:auto;height:14px;width:14px}.empty-state{text-align:center;padding:55px 22px;display:flex;flex-direction:column;align-items:center;gap:9px;color:var(--ink)}.empty-state p{font-size:12px;color:var(--muted)}.empty-circle{width:55px;height:55px;border-radius:50%;background:#edf3f6;color:#6b8aa0;display:grid;place-items:center;margin-bottom:9px}.empty-circle .ico{height:23px;width:23px}.empty-state .btn{margin-top:10px}.mobile-fab{display:none}
/* Lists and filters */
.filters{display:flex;gap:11px;align-items:center;flex-wrap:wrap;margin-bottom:19px}.search-field{position:relative;display:flex;align-items:center;flex:1;min-width:250px}.search-field .ico{position:absolute;left:13px;color:#8fa3b0;width:17px;height:17px}.search-field input{padding-left:42px!important}.filters input,.filters select{height:42px;background:#fff;border:1px solid #e2e8ec;border-radius:9px;padding:0 11px;min-width:0;font-size:11px;outline:none;color:var(--ink)}.filters input:focus,.filters select:focus{border-color:#88a6b9;box-shadow:0 0 0 3px #c5dce955}.filters .search-field input{width:100%;font-size:12px}.filter-selects{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filter-selects select{max-width:165px}.list-panel{overflow:hidden}.list-head{display:flex;justify-content:space-between;align-items:center;padding:19px 22px;font-size:12px;gap:10px}.list-head>span{font-size:11px;color:var(--muted)}.ticket-row{gap:15px;min-height:78px}.ticket-row .feed-title{font-size:13px}.ticket-row .feed-meta{font-size:11px}.priority-rail{width:3px;height:40px;background:#a4b7c6;border-radius:5px;flex:none}.priority-rail.priority-P1{background:#d65c5c}.priority-rail.priority-P2{background:#dfaa5e}.priority-rail.priority-P3{background:#658da7}.priority-rail.priority-P4{background:#a9b9c0}.feed-end{display:flex;align-items:center;gap:12px}.priority-label{color:var(--muted);font-size:10px;font-weight:750}.extra-meta{margin-top:2px}.feed-description{font-size:11px;color:#647f8f;overflow:hidden;text-overflow:ellipsis}.pagination{display:flex;justify-content:center;align-items:center;gap:22px;border-top:1px solid var(--line);padding:17px;font-size:11px}.pagination>a{color:var(--navy);font-weight:700}.pagination>span{color:var(--muted)}.tip-banner{display:flex;align-items:start;gap:11px;padding:15px 18px;border-radius:11px;background:#edf4f6;border:1px solid #dae9ee;margin-bottom:19px}.tip-banner .ico{width:17px;height:17px;color:#5b8098}.tip-banner p{color:#567184;font-size:12px}.report-filters{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px;gap:12px}.report-filters label{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted)}.report-filters label input{max-width:155px}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.bar-row{display:grid;grid-template-columns:128px 1fr 25px;gap:12px;align-items:center;padding:9px 0;font-size:11px}.bar-row span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#617685}.bar-row strong{text-align:right}.bar-track{height:9px;border-radius:50px;background:#edf2f4;overflow:hidden}.bar-fill{height:100%;border-radius:50px;background:#507a95;width:0;transition:width .6s}.bar-fill.sand{background:#c9b08b}.stat-number.compact-number{font-size:24px;letter-spacing:-.035em}.stat-unit{font-size:15px;color:var(--muted)}
/* Forms */
.back-link{margin:-7px 0 18px;font-size:11px;font-weight:680;color:#668095}.back-link>a{display:inline-flex;align-items:center;gap:5px}.back-link .ico{height:15px;width:15px}.form-page{max-width:880px;display:grid;gap:17px}.form-panel{padding:26px 29px}.form-section-head{display:flex;gap:15px;align-items:flex-start;margin-bottom:23px}.step-dot{width:33px;height:33px;background:#eef2f4;display:grid;place-items:center;border-radius:9px;flex:none;color:#61798b;font-size:10px;font-weight:800}.form-section-head h2{font-size:17px}.form-section-head p{color:var(--muted);font-size:11px;margin-top:3px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1 / -1}.field,.form-stack>label:not(.check-inline){display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:690;color:#4b6475}.field input,.field select,.field textarea,.form-stack input:not([type=checkbox]),.form-stack select,.form-stack textarea,.admin-add input{width:100%;border:1px solid #dce6eb;background:#fff;border-radius:9px;outline:none;min-height:42px;padding:11px 12px;font-size:12px;font-weight:450;color:var(--ink);transition:border-color .15s,box-shadow .15s}.field textarea,.form-stack textarea{resize:vertical;line-height:1.55;min-height:92px}.field input:focus,.field select:focus,.field textarea:focus,.form-stack input:focus,.form-stack select:focus,.form-stack textarea:focus,.admin-add input:focus{border-color:#83a5b8;box-shadow:0 0 0 3px #bddce63b}.field input::placeholder,.field textarea::placeholder{color:#a2b0b9}.field input[type=file]{padding:9px;min-height:42px;font-size:10px}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding:11px 0 17px}.form-stack{display:flex;flex-direction:column;gap:14px}.form-stack .btn{align-self:flex-start}.form-stack .btn-wide{align-self:stretch}.helper-text{font-size:10px;color:#899aa6;line-height:1.6}.check-inline{display:flex;align-items:center;gap:8px;font-size:11px;color:#657b8a;line-height:1.4;cursor:pointer}.check-inline input{accent-color:var(--navy);width:15px;height:15px}.check-list{display:grid;gap:8px}.check-list label{display:flex;align-items:center;gap:9px;padding:8px 9px;background:#f7fafb;border-radius:7px;font-size:11px;color:#456072;cursor:pointer}.check-list input{accent-color:var(--navy);height:16px;width:16px}.field-label{font-weight:670;font-size:11px}
/* Ticket detail */
.ticket-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin:8px 0 25px}.ticket-hero-main{min-width:0;flex:1}.ref-line{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.ticket-hero h1{font-size:29px;margin-bottom:13px}.ticket-hero-meta{display:flex;gap:19px;align-items:center;flex-wrap:wrap;color:#8596a0;font-size:11px}.ticket-hero-meta span{display:inline-flex;align-items:center;gap:5px}.ticket-hero-meta .ico{height:14px;width:14px}.ticket-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.ticket-hero-actions .status-badge{padding:9px 12px}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;align-items:start}.detail-main,.detail-side{display:flex;flex-direction:column;gap:18px;min-width:0}.content-panel{padding:24px 26px}.side-panel{padding:22px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.section-title h2{font-size:17px}.description-text{white-space:pre-line;color:#3e596a;font-size:12px;line-height:1.85;margin-bottom:21px}.mini-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;border-top:1px solid #edf1f3;padding-top:19px}.mini-info-grid>div{display:flex;flex-direction:column;gap:5px;min-width:0}.mini-info-grid small{font-size:10px;color:#8d9ea9}.mini-info-grid strong{font-size:11px;white-space:normal}.note-inline{display:flex;align-items:center;gap:9px;background:#edf4f8;padding:11px;border-radius:8px;font-size:11px;margin-top:15px}.note-inline .ico{color:#5a819a;width:15px}.note-inline a{color:#204f72;font-weight:700}.next-step{display:flex;align-items:center;gap:14px;padding:17px 18px;background:#e9f1f5;border:1px solid #d8e5eb;border-radius:13px}.next-step.complete{background:#e9f5ef;border-color:#d2e7d8}.next-step-icon{display:grid;place-items:center;flex:none;width:39px;height:39px;border-radius:11px;background:#d4e5ee;color:#416f8a}.next-step.complete .next-step-icon{background:#cfe7d8;color:#24745b}.next-step>div{flex:1}.next-step strong{font-size:12px}.next-step p{font-size:10px;color:#6c8390;margin-top:2px;line-height:1.6}.next-step .btn{flex:none}.task-list{display:flex;flex-direction:column;gap:11px}.task-card{border:1px solid #e7edf0;padding:14px;border-radius:11px;background:#fcfdfd}.task-card-top{display:flex;align-items:center;gap:10px}.service-symbol{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:9px;background:#e8f0f4;color:#5b7e94;font-weight:800}.task-heading{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}.task-heading strong{font-size:12px}.task-heading small{font-size:10px;color:#8799a5}.task-note{font-size:11px;color:#546c7c;margin:10px 0 4px;white-space:pre-line}.task-cost{font-size:10px;font-weight:700;color:#54798c}.inline-accordion{margin-top:12px;border-top:1px solid #edf1f3;padding-top:11px}.inline-accordion summary,.action-accordion summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:5px;font-weight:710;font-size:11px;color:var(--navy-mid)}.inline-accordion summary::-webkit-details-marker,.action-accordion summary::-webkit-details-marker,.admin-row summary::-webkit-details-marker,.create-panel summary::-webkit-details-marker{display:none}.inline-accordion summary .ico,.action-accordion summary .ico{width:16px;height:16px;transition:transform .2s}.inline-accordion[open] summary .ico,.action-accordion[open] summary .ico{transform:rotate(90deg)}.inset-form{padding-top:17px}.inset-form .btn{align-self:stretch}.soft-empty{padding:16px;background:#f7fafb;border-radius:9px;color:#8b9da7;text-align:center;font-size:11px}.timeline{margin:11px 0 18px 4px}.timeline-item{position:relative;display:flex;gap:16px;min-height:64px}.timeline-item:not(:last-child):before{content:'';position:absolute;top:17px;left:5px;bottom:-3px;width:1px;background:#dce7ec}.timeline-dot{height:11px;width:11px;flex:none;border-radius:50%;border:3px solid #b0c6d2;background:white;margin-top:6px;position:relative;z-index:1}.timeline-dot.emphasis{border-color:#bba575}.timeline-body{padding:1px 0 17px;min-width:0;flex:1}.timeline-head{display:flex;align-items:center;justify-content:space-between;gap:7px}.timeline-head strong{font-size:11px}.timeline-head time{font-size:9px;color:#9cabb5;white-space:nowrap}.timeline-body p{font-size:11px;color:#647986;white-space:pre-line;margin-top:6px;line-height:1.7}.public-label{display:inline-block;margin-top:7px;font-size:9px;color:#30856b;background:#e7f5ee;padding:4px 7px;border-radius:5px}.comment-form{border-top:1px solid #eef1f3;padding-top:20px}.comment-actions{display:flex;gap:15px;justify-content:space-between;align-items:center;margin-top:12px;flex-wrap:wrap}.attachment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:15px}.attachment{border:1px solid #e6ecef;display:flex;flex-direction:column;overflow:hidden;border-radius:9px;min-width:0}.attachment img{height:100px;width:100%;object-fit:cover;background:#eff3f5}.attachment-pdf{background:#f0f4f7;height:100px;display:grid;place-items:center;color:#6b869a}.attachment-pdf .ico{height:29px;width:29px}.attachment-label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:10px}.attachment-label small{font-size:9px;color:#8d9da8;font-weight:450}.upload-form{display:grid;grid-template-columns:1fr 120px auto;gap:10px;align-items:end;margin-top:18px}.upload-form .btn{margin-bottom:0}.side-panel>h3{margin-bottom:18px}.key-value{margin:0;display:flex;flex-direction:column;gap:13px}.key-value div{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px}.key-value dt{color:#80939f;flex:none}.key-value dd{margin:0;min-width:0;text-align:right;overflow-wrap:anywhere;font-weight:660}.key-value dd a{color:#356784}.private-tag{background:#f3f5f6;color:#7c8990;border-radius:4px;padding:4px 6px;font-size:9px;font-weight:500;margin-left:5px}.action-panel h3{margin-bottom:5px}.action-panel>p{margin-bottom:14px}.action-accordion{border-top:1px solid #edf1f3;padding:15px 0}.action-accordion summary{color:#304f64;font-size:12px}.action-accordion>.form-stack{padding:17px 0 2px}.action-panel .form-stack .field{margin-top:0}.validation-panel{border-color:#cfe7d6}.validation-panel p{margin:-8px 0 13px}.validation-panel .form-stack .btn{width:100%}
/* Reports + Admin */
.settings-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(310px,1fr);gap:20px;align-items:start}.settings-side{display:grid;gap:20px}.admin-list{border-top:1px solid var(--line)}.admin-row{border-bottom:1px solid #edf1f3}.admin-row summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:13px 0;list-style:none}.small-avatar{width:31px;height:31px;font-size:12px}.admin-row-main{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}.admin-row-main strong{font-size:11px}.admin-row-main small{font-size:10px;color:#8296a3;overflow:hidden;text-overflow:ellipsis}.admin-edit{padding:14px 0 20px 40px}.create-panel{margin-top:20px;border:1px dashed #a8c0ce;border-radius:9px;padding:12px}.create-panel summary{font-weight:700;font-size:12px;color:#456c84;cursor:pointer}.create-panel .admin-edit{padding:19px 0 5px}.plain-list{display:flex;flex-direction:column;gap:0;margin-bottom:18px}.plain-list>span{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #edf2f4;padding:9px 0;font-size:11px;color:#506b7c}.plain-list>span small{color:#92a0aa}.admin-add{display:flex;gap:9px;align-items:center}.admin-add input{min-width:0;flex:1}.admin-add .btn{flex:none}.text-danger{color:var(--red);background:transparent;border:0;font-size:10px;font-weight:750}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;max-width:1000px}.profile-identity{display:flex;gap:17px;align-items:center}.profile-identity h2{font-size:21px}.profile-identity p{font-size:12px;color:var(--muted);margin:4px 0 11px}.huge-avatar{width:65px;height:65px;font-size:23px}.soft-divider{border:0;border-top:1px solid var(--line);margin:24px 0}.mobile-logout{display:none}.key-panel{max-width:700px;display:flex;flex-wrap:wrap;gap:12px}.key-code{display:block;width:100%;overflow-wrap:anywhere;white-space:normal;background:#f1f5f7;border-radius:9px;padding:18px;font-size:12px;color:#274b66}.warning-text{font-size:12px;color:#8a653e}.error-state{padding:12vh 0}.error-state h1{font-size:23px}
/* Authentication */
.auth-layout{background:#fff}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-visual{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;padding:10%;background:linear-gradient(165deg,#204a65 0%,#112f48 76%);color:white}.auth-watermark{position:absolute;font:800 360px/1 Georgia,serif;letter-spacing:-.15em;transform:rotate(-13deg);color:#ffffff05;left:-40px;top:7%}.auth-copy{position:relative;z-index:2;max-width:510px}.auth-eyebrow{color:#dac6a0;letter-spacing:.17em;font-size:11px;font-weight:750;margin-bottom:23px}.auth-copy h1{font:normal 46px/1.26 Georgia,'Times New Roman',serif;letter-spacing:-.025em}.auth-copy h1 em{color:#e0caa3;font-weight:normal}.auth-copy p{color:#c3d3df;margin-top:24px;font-size:14px;max-width:365px}.auth-scenery{position:absolute;bottom:-120px;left:-20%;right:-20%;height:260px;transform:rotate(-7deg);opacity:.55}.auth-scenery span{position:absolute;width:120%;height:100px;left:-10%;border-radius:50%;border-top:1px solid #cdb98d88}.auth-scenery span:nth-child(1){top:2px}.auth-scenery span:nth-child(2){top:35px;left:0}.auth-scenery span:nth-child(3){top:80px;left:-19%}.auth-form-wrap{display:grid;place-items:center;padding:45px 35px}.auth-form{max-width:395px;width:100%}.auth-form>.eyebrow{display:block;margin-bottom:13px}.auth-form h2{font-size:29px;letter-spacing:-.04em}.auth-form>p.muted{margin:12px 0 33px;font-size:13px}.auth-form .form-stack{gap:21px}.auth-form .form-stack label{font-size:12px}.auth-form .form-stack input{min-height:48px}.auth-form .btn{min-height:48px;font-size:13px;margin-top:8px;justify-content:space-between}.auth-footnote{font-size:11px;color:#a3b0b9;text-align:center;margin-top:30px}.auth-mobile-brand{display:none}
/* Screen reader, interaction */
:focus-visible{outline:3px solid #98b9ce;outline-offset:3px}html{scroll-padding-top:100px}input[type=checkbox]{accent-color:var(--navy)}.work-area button:active{transform:scale(.99)}.mobile-brand .mini-mark{width:33px;height:33px;border-radius:9px;background:#e8d5b1;color:var(--navy);display:grid;place-items:center}.mini-mark .ico{width:22px;height:22px}
@media(max-width:1270px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 265px}.detail-grid{grid-template-columns:minmax(0,1fr) 300px}.stats-grid{gap:11px}.stat-card{padding:18px}.topbar{padding:0 24px}.main-content{padding:29px 25px}}
@media(max-width:1050px){:root{--sidebar:219px}.brand-text strong{font-size:11px}.brand-text small{font-size:7px}.sidebar{padding-left:10px;padding-right:10px}.nav-item{padding:12px}.dashboard-grid{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:1fr 1fr}.attention-card{min-height:190px}.stats-grid{grid-template-columns:repeat(2,1fr)}.detail-grid{grid-template-columns:1fr}.detail-side{display:grid;grid-template-columns:1fr 1fr}.action-panel{grid-column:1/-1;order:-1}.validation-panel{grid-column:1/-1;order:-2}.settings-layout{grid-template-columns:1fr}.settings-side{grid-template-columns:1fr 1fr}.settings-side #api{grid-column:1/-1}.filters .search-field{flex-basis:100%}}
@media(max-width:767px){
 :root{--top:62px}.sidebar{display:none}.app-shell{display:block}.topbar{height:62px;padding:0 19px;border-bottom:1px solid #edf1f4}.topbar-context{display:none}.mobile-brand{display:flex;align-items:center;gap:9px}.mobile-brand>span:nth-child(2){display:flex;flex-direction:column;gap:2px}.mobile-brand strong{font-size:11px;letter-spacing:.08em;color:var(--navy)}.mobile-brand small{font-size:9px;color:#96a7b1}.top-avatar{height:31px;width:31px}.topbar-actions{gap:17px}.main-content{padding:25px 16px 112px}.app-footer{padding:35px 0 8px;font-size:9px}.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:40;height:calc(66px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e2e9ee;box-shadow:0 -8px 26px #1c3f5010}.bottom-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:#8396a3;font-size:9px;font-weight:600;min-width:0}.bottom-item .ico{height:20px;width:20px}.bottom-item.active{color:var(--navy);font-weight:800}.bottom-item.active:before{content:'';width:27px;height:3px;border-radius:0 0 3px 3px;background:var(--sand);position:absolute;top:0}.page-heading{margin-bottom:21px}.page-heading h1{font-size:27px;line-height:1.24;margin-top:8px;margin-bottom:8px}.page-heading p{font-size:12px;line-height:1.6}.page-heading .eyebrow{font-size:9px}.heading-actions{align-items:flex-start}.heading-actions .desktop-create{display:none}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:15px}.stat-card{padding:16px;min-height:133px;border-radius:13px}.stat-top{font-size:10px;align-items:flex-start}.stat-icon{width:28px;height:28px;border-radius:8px}.stat-icon .ico{height:15px;width:15px}.stat-number{font-size:33px;margin:2px 0 0}.stat-foot{font-size:9px;line-height:1.45}.dashboard-grid{gap:15px}.panel{border-radius:13px}.panel-header{padding:19px 16px 13px}.panel-header h2{font-size:15px}.panel-header p{font-size:10px}.feed-item{padding:16px 15px;gap:9px}.feed-kind{height:34px;width:34px}.feed-title{font-size:11px}.feed-meta{font-size:10px}.feed-chevron{display:none}.status-badge{font-size:9px;padding:5px 7px}.dashboard-side{display:flex;flex-direction:column;gap:13px}.attention-card{min-height:170px;padding:20px}.attention-number{font-size:38px;margin:10px 0 1px}.attention-card a{margin-top:13px}.mini-panel{padding:17px}.mobile-fab{position:fixed;bottom:calc(86px + env(safe-area-inset-bottom));right:18px;background:var(--navy);color:#fff;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;z-index:25;box-shadow:0 6px 20px #1f40564b}.mobile-fab .ico{height:25px;width:25px}.filters{display:flex;flex-direction:column;align-items:stretch;gap:8px}.search-field{min-width:0;width:100%;flex:auto}.filter-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.filter-selects select{max-width:none;width:100%;font-size:10px}.filter-selects .btn{width:100%;grid-column:2}.filters input,.filters select{min-height:43px}.list-head{padding:15px}.list-head>span{display:none}.ticket-row{min-height:74px;gap:9px}.ticket-row .feed-title{font-size:12px}.ticket-row .feed-meta{font-size:10px}.priority-label{display:none}.feed-end{align-items:flex-end}.priority-rail{height:47px}.report-filters{display:grid;grid-template-columns:1fr 1fr;padding:12px}.report-filters label{display:flex;align-items:stretch;flex-direction:column;gap:5px}.report-filters label:nth-child(3){grid-column:1}.report-filters label select{width:100%}.report-filters .btn{align-self:end}.report-grid{grid-template-columns:1fr;gap:12px}.bar-row{grid-template-columns:100px 1fr 22px}.stat-number.compact-number{font-size:19px}.form-page{gap:12px}.form-panel{padding:19px 16px}.form-section-head{margin-bottom:19px;gap:11px}.form-section-head h2{font-size:16px}.form-section-head p{font-size:11px}.form-grid{grid-template-columns:1fr;gap:15px}.form-actions{position:sticky;bottom:calc(65px + env(safe-area-inset-bottom));margin:0 -16px;padding:12px 16px;background:#fff;border-top:1px solid var(--line);z-index:12;box-shadow:0 -5px 14px #183b560a;display:grid;grid-template-columns:1fr 2fr;gap:9px}.form-actions .btn{padding:9px;white-space:normal}.ticket-hero{flex-direction:column;gap:13px;margin:0 0 21px}.ticket-hero h1{font-size:25px;margin-bottom:12px;overflow-wrap:anywhere}.ticket-hero-meta{gap:9px;font-size:10px}.ticket-hero-actions{width:100%;gap:7px}.ticket-hero-actions .status-badge{margin-right:auto}.ticket-hero-actions .btn{min-height:34px;padding:6px 9px;font-size:10px}.ticket-hero-actions .btn .ico{height:14px;width:14px}.detail-grid{display:flex;flex-direction:column;gap:14px}.detail-main,.detail-side{display:contents}.detail-main>.next-step{order:1}.detail-main>.content-panel:nth-of-type(1){order:2}.detail-side>.validation-panel{order:3}.detail-side>.action-panel{order:3}.detail-main>.content-panel:nth-of-type(2){order:4}.detail-main>.content-panel:nth-of-type(3){order:5}.detail-main>.content-panel:nth-of-type(4){order:6}.detail-side>.side-panel:not(.action-panel):not(.validation-panel){order:7}.next-step{padding:13px;gap:9px;flex-wrap:wrap}.next-step-icon{height:33px;width:33px}.next-step>div{flex-basis:calc(100% - 45px)}.next-step strong{font-size:11px}.next-step p{font-size:10px}.next-step .btn{width:100%;margin-left:43px}.content-panel{padding:20px 17px}.side-panel{padding:19px 17px;width:100%}.section-title h2{font-size:16px}.description-text{font-size:12px}.mini-info-grid{gap:15px}.mini-info-grid strong{font-size:11px}.task-card{padding:12px}.task-heading strong{font-size:11px}.timeline-head{align-items:flex-start}.timeline-head time{font-size:9px}.comment-actions{align-items:stretch}.comment-actions .btn{width:100%}.attachment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.upload-form{grid-template-columns:1fr 1fr}.upload-form .field:first-of-type{grid-column:1/-1}.upload-form .btn{height:42px;align-self:end}.settings-layout,.settings-side,.profile-grid{display:flex;flex-direction:column;gap:15px}.settings-side #api{grid-column:auto}.admin-add{flex-direction:column;align-items:stretch}.admin-add input{width:100%}.admin-edit{padding-left:0}.profile-identity h2{font-size:18px}.mobile-logout{display:block;border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.auth-page{display:block;min-height:100vh}.auth-visual{display:none}.auth-form-wrap{min-height:100vh;display:flex;align-items:center;padding:34px 25px 45px}.auth-form{margin:auto}.auth-mobile-brand{display:flex;align-items:center;gap:9px;margin-bottom:55px;font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--navy)}.auth-form h2{font-size:27px}.auth-form>p.muted{margin-bottom:30px}.auth-footnote{margin-top:28px}.error-state{padding:15vh 15px}
}
@media(max-width:390px){.main-content{padding-left:13px;padding-right:13px}.stat-card{padding:13px;min-height:127px}.stat-number{font-size:30px}.feed-kind{display:none}.ticket-row .status-badge{font-size:8px}.auth-form-wrap{padding:25px 19px}.ref-line{gap:6px}.ticket-hero h1{font-size:23px}}
@media(min-width:768px){.detail-main>.next-step{scroll-margin:90px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}
/* Activity notifications */
.bell-link{position:relative}.bell-count{position:absolute;right:-7px;top:-9px;display:grid;place-items:center;min-width:15px;height:15px;background:#b85f56;color:white;font-size:9px;border-radius:20px;padding:1px 3px;border:2px solid white}.nav-count{margin-left:auto;background:#d4bd96;color:#193b55;border-radius:7px;font-size:10px;font-weight:800;padding:2px 7px}.notification-row.unread{background:#f7fafc}.unread-dot{height:8px;width:8px;flex:none;border-radius:50%;background:#4c86ad;margin-right:8px}
/* Cartographic location is optional and user-initiated. */
.geo-picker{flex-direction:row;align-items:center;gap:12px;flex-wrap:wrap}.geo-picker .btn{font-size:11px}.geo-picker .helper-text{max-width:360px}.map-link{display:inline-flex;align-items:center;gap:7px;color:#396c8b;background:#f1f7fa;font-size:11px;font-weight:700;border-radius:8px;margin-top:16px;padding:11px 13px}.map-link .ico{width:15px;height:15px}.secondary-reports{margin-top:18px}
@media(max-width:767px){.geo-picker{align-items:stretch}.geo-picker .btn{width:100%}.map-link{width:100%;justify-content:center}.secondary-reports{margin-top:12px}}

/* V1.1 — parcours de saisie et traitement guidés, zéro bibliothèque JS. */
.compact-heading{margin-bottom:19px}.compact-heading h1{max-width:770px}.capture-wizard{max-width:790px;gap:16px;scroll-margin-top:20px}.capture-wizard .wizard-panel{min-width:0}.capture-wizard.js-enhanced .wizard-panel[hidden],.wizard-actions [hidden],.address-suggestions[hidden],[data-review-date][hidden]{display:none!important}.wizard-progress{display:flex;align-items:center;gap:9px;padding:9px 2px 7px}.wizard-progress-item{border:0;background:none;display:flex;align-items:center;gap:9px;color:#7891a0;cursor:pointer;min-width:0;text-align:left;padding:6px 3px}.wizard-progress-item>span{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:50%;background:#e9eff3;color:#698292;font-size:11px;font-weight:800;border:1px solid #dfe8ed}.wizard-progress-item strong{font-size:12px;font-weight:720;white-space:nowrap}.wizard-progress-item.active{color:var(--navy)}.wizard-progress-item.active>span{background:var(--navy);border-color:var(--navy);color:white;box-shadow:0 3px 12px #193b5630}.wizard-progress-line{height:1px;background:#dbe5eb;flex:1;min-width:8px}.wizard-panel-head{margin-bottom:25px}.wizard-panel-head h2{font-size:23px;margin:7px 0 5px;letter-spacing:-.02em;color:var(--navy-deep)}.wizard-panel-head p{font-size:12px;color:var(--muted);line-height:1.6}.wizard-number{font-size:10px;letter-spacing:.12em;color:#a08961;font-weight:800}.comfy-grid{gap:20px 17px}.comfy-grid .field input,.comfy-grid .field textarea,.comfy-grid .field select{min-height:46px}.field-hint{display:block;margin-top:6px;color:#8295a0;font-size:10px;line-height:1.5}.kind-fieldset,.route-fieldset,.service-fieldset{padding:0;margin:0 0 22px;border:0;min-width:0}.kind-fieldset legend,.route-fieldset legend,.service-fieldset legend{color:var(--ink);font-size:12px;font-weight:750;margin-bottom:12px}.kind-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.kind-tile{border:1px solid #e5ecef;border-radius:13px;padding:17px 10px 12px;background:#fbfcfd;text-align:center;cursor:pointer;display:flex;align-items:center;flex-direction:column;gap:10px;position:relative;min-width:0;transition:border-color .17s,background .17s}.kind-tile input,.route-option input,.service-choice input,.decision-option input{position:absolute;opacity:0;pointer-events:none}.kind-tile:has(input:checked){border-color:#9eafaf;background:#f2f5f1;box-shadow:inset 0 0 0 1px #d4b889}.kind-tile:has(input:focus-visible){outline:3px solid #98b9ce;outline-offset:2px}.kind-tile>span:last-of-type{font-weight:700;font-size:11px;color:#405d70}.kind-visual{width:42px;height:42px;display:grid;place-items:center;background:#eaf1f5;color:#45708a;border-radius:12px}.kind-visual .ico{width:21px;height:21px}.kind-tile:has(input:checked) .kind-visual{background:var(--navy);color:white}.tile-check{position:absolute;right:8px;top:8px;width:12px;height:12px;color:#aa9267;opacity:0}.kind-tile:has(input:checked) .tile-check{opacity:1}.wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:2px}.wizard-actions .btn{min-width:156px}.wizard-actions [data-wizard-next],.wizard-actions [data-wizard-save]{margin-left:auto}.wizard-error{color:#a74647;font-size:12px}.wizard-tip{display:flex;align-items:flex-start;gap:11px;background:#f3f7f8;border:1px solid #e1ebee;border-radius:12px;padding:15px;color:#617987;margin-top:19px}.wizard-tip .ico{width:18px;height:18px;flex:none}.wizard-tip p{font-size:11px;line-height:1.6;margin:0}.optional{font-weight:450;color:#8495a0;font-size:10px}.light-optional{border:1px solid #e6ecef;border-radius:12px;padding:0;background:#fff;margin:0 0 12px}.light-optional summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:11px;min-height:60px;padding:13px 16px;font-size:12px;font-weight:720;color:#36536a}.light-optional summary::-webkit-details-marker{display:none}.light-optional summary>.ico{width:19px;height:19px;color:#608298;flex:none}.light-optional summary>span{color:#8999a4;font-size:10px;font-weight:500;margin-left:auto}.light-optional[open] summary{border-bottom:1px solid #ebf0f3}.light-optional>.form-grid,.light-optional>form,.light-optional>small{padding:17px;display:grid}.capture-summary{border-radius:13px;background:#f7f9fa;padding:18px 19px;margin-top:22px}.capture-summary>strong{font-size:12px;color:var(--navy)}.capture-summary dl{margin:12px 0 0}.capture-summary dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;padding:9px 0;border-top:1px solid #e8edf0;font-size:11px}.capture-summary dt{color:#7c919e}.capture-summary dd{margin:0;color:#2f4d61;font-weight:700;overflow-wrap:anywhere}.address-input-wrap{position:relative}.address-input-wrap>.ico{position:absolute;left:14px;top:15px;width:18px;height:18px;color:#718f9e;pointer-events:none}.address-field .address-input-wrap input{width:100%;padding-left:43px!important}.address-suggestions{position:absolute;z-index:25;left:0;right:0;top:calc(100% + 5px);border:1px solid #cddde5;background:white;border-radius:12px;box-shadow:0 14px 28px #183b5623;max-height:270px;overflow:auto;padding:5px}.address-option{border:0;display:block;width:100%;background:white;text-align:left;padding:12px;font-size:12px;color:#274960;border-radius:8px;cursor:pointer;min-height:44px}.address-option:hover,.address-option.focused{background:#eef4f7}.address-field{position:relative}.address-field>.field-hint{min-height:15px}
/* Une page par étape, plutôt qu'un bloc d'accordéons dans la fiche ticket. */
.process-layout{display:grid;grid-template-columns:200px minmax(0,1fr) 230px;gap:18px;align-items:start}.process-stepper{display:grid;gap:9px;position:sticky;top:25px}.process-step{display:flex;align-items:center;gap:11px;padding:15px 13px;border-radius:11px;color:#678092;background:#fff;border:1px solid #e7edf1;transition:background .16s}.process-step.selected{border-color:#d5bd96;background:#fffaf1;color:var(--navy);box-shadow:0 4px 12px #183b560a}.process-bubble{display:grid;place-items:center;border:1px solid #d9e3e8;background:#f4f7f9;color:#78909d;border-radius:50%;width:31px;height:31px;font-size:11px;font-weight:800;flex:none}.process-step.selected .process-bubble{background:var(--navy);color:#fff;border-color:var(--navy)}.process-step strong,.process-step small{display:block}.process-step strong{font-size:12px}.process-step small{color:#8596a2;font-size:9px;margin-top:3px}.process-main{min-width:0}.process-card{padding:26px 29px}.process-card-head{display:flex;gap:14px;align-items:flex-start;border-bottom:1px solid #ecf0f2;padding-bottom:20px;margin-bottom:23px}.process-card-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:13px;background:#edf3f6;color:var(--navy);flex:none}.process-card-icon .ico{width:22px;height:22px}.process-card-head h2{font-size:21px;margin:5px 0 5px;line-height:1.2}.process-card-head p{font-size:12px;color:var(--muted);line-height:1.5}.process-form{gap:19px}.route-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.route-option{min-width:0;position:relative;cursor:pointer}.route-option-content{border:1px solid #e3ebef;border-radius:12px;padding:15px;min-height:135px;display:flex;flex-direction:column;gap:8px;background:#fbfcfd}.route-option:has(input:checked) .route-option-content{background:#f2f5f1;border-color:#cdb68e;box-shadow:inset 0 0 0 1px #cfbd9c}.route-option:has(input:focus-visible) .route-option-content,.service-choice:has(input:focus-visible),.decision-option:has(input:focus-visible) span{outline:3px solid #98b9ce;outline-offset:2px}.route-option-content .ico{width:23px;height:23px;color:var(--navy)}.route-option-content strong{font-size:12px}.route-option-content small{font-size:10px;line-height:1.5;color:#7f929e}.process-submit{width:100%;margin-top:4px;font-size:12px;min-height:48px}.process-bottom{display:flex;justify-content:flex-start;margin-top:19px}.process-side{min-width:0}.process-summary{padding:22px}.process-summary h3{font-size:13px}.process-summary>p{font-size:10px;margin:12px 0 4px}.process-summary>strong{font-size:13px;line-height:1.4;display:block}.process-summary .key-value{margin-top:15px}.process-ticket-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.process-ticket-title .status-badge{font-size:10px}.process-notice{background:#f6f8fa;border:1px solid #e5edf1;padding:20px;border-radius:11px;font-size:12px;line-height:1.7;color:#536e80;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.service-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.service-choice{cursor:pointer;position:relative;min-width:0;display:flex;align-items:center;gap:9px;padding:12px;border:1px solid #e4ebef;border-radius:11px;background:#fff;color:#36556b;font-weight:650;font-size:11px;line-height:1.25}.service-choice:has(input:checked){background:#f2f6f3;border-color:#cdb58b}.service-initial{display:grid;place-items:center;background:#ebf1f4;border-radius:9px;width:29px;height:29px;flex:none;color:#557388;font-size:12px}.service-choice:has(input:checked) .service-initial{background:var(--navy);color:white}.service-check{width:14px;height:14px;flex:none;margin-left:auto;opacity:0}.service-choice:has(input:checked) .service-check{opacity:1;color:#ad8854}.decision-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.decision-option{cursor:pointer;position:relative}.decision-option>span{display:flex;align-items:center;gap:10px;padding:16px 12px;border-radius:11px;border:1px solid #e3ebee;background:#fff;font-size:12px;font-weight:700}.decision-option .ico{width:19px;height:19px;color:#6d8698}.decision-option:has(input:checked)>span{border-color:#ceb88f;background:#f6f3ed;color:var(--navy)}.decision-option:has(input:checked) .ico{color:var(--navy)}.process-invite h3{margin:8px 0}.process-invite p{font-size:11px;color:var(--muted);line-height:1.6;margin-bottom:16px}
@media(max-width:1150px){.process-layout{grid-template-columns:185px minmax(0,1fr)}.process-side{display:none}}
@media(max-width:767px){
 .compact-heading h1{font-size:27px}.wizard-progress{margin:0 -1px;gap:4px;padding:1px 0 6px}.wizard-progress-item{display:flex;flex:0 1 auto;flex-direction:column;align-items:center;gap:5px;padding:6px 0;min-width:61px}.wizard-progress-item>span{width:28px;height:28px}.wizard-progress-item strong{font-size:9px}.wizard-progress-line{align-self:flex-start;margin-top:19px;min-width:4px}.form-page.capture-wizard{gap:12px}.capture-wizard .wizard-panel{padding:22px 18px;border-radius:16px}.wizard-panel-head{margin-bottom:19px}.wizard-panel-head h2{font-size:21px}.wizard-panel-head p{font-size:11px}.kind-grid{gap:7px}.kind-tile{padding:12px 5px 11px;gap:8px;min-height:92px}.kind-visual{width:34px;height:34px;border-radius:10px}.kind-visual .ico{width:19px;height:19px}.kind-tile>span:last-of-type{font-size:10px;overflow-wrap:anywhere}.tile-check{right:4px;top:4px;width:10px;height:10px}.wizard-actions{position:sticky;bottom:calc(65px + env(safe-area-inset-bottom));padding:10px 16px;margin:0 -16px;display:flex;gap:10px;box-shadow:0 -7px 25px #102b4314;background:#fff;z-index:15;border-top:1px solid #e2e9ed}.wizard-actions .btn{min-width:0;flex:1;min-height:47px;white-space:normal;text-align:center}.wizard-actions [data-wizard-save]{flex:2}.light-optional summary{min-height:56px}.capture-summary{padding:15px}.process-layout{display:flex;flex-direction:column;gap:14px}.process-stepper{position:static;display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.process-step{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;padding:13px 5px;min-height:91px}.process-step small{font-size:9px}.process-bubble{width:28px;height:28px}.process-main{width:100%}.process-card{padding:21px 17px}.process-card-head{gap:11px}.process-card-icon{width:38px;height:38px}.process-card-head h2{font-size:18px}.process-card-head p{font-size:11px}.route-options{gap:8px}.route-option-content{min-height:129px;padding:12px}.route-option-content strong{font-size:11px}.route-option-content small{font-size:10px}.service-choice-grid{grid-template-columns:1fr}.decision-options{gap:8px}.decision-option>span{padding:13px 9px;font-size:10px}.process-bottom .btn{width:100%}.detail-side>.process-invite{order:2}.ticket-hero-actions{flex-wrap:wrap}.ticket-hero-actions .btn-primary{margin-right:auto}.process-ticket-title .status-badge{font-size:9px}
}
@media(max-width:355px){.wizard-progress-item{min-width:54px}.kind-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kind-tile{min-height:82px}.process-step strong{font-size:10px}.process-step small{font-size:8px}}

/* V1.2 — traçabilité de la réception, sans informations cachées. */
.intake-recorder{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid #dbe8e9;border-radius:13px;background:#f2f7f6;margin-bottom:23px;min-width:0}
.intake-recorder-icon,.origin-symbol{width:41px;height:41px;border-radius:12px;display:grid;place-items:center;color:var(--navy);background:#e0eae8;flex:none}
.intake-recorder-icon .ico,.origin-symbol .ico{width:20px;height:20px}
.intake-recorder-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
.intake-recorder-copy>span,.intake-recorder-copy>small{color:#637e89;font-size:11px;line-height:1.4}
.intake-recorder-copy>strong{font-size:15px;line-height:1.3;color:var(--navy);overflow-wrap:anywhere}
.intake-lock{margin-left:auto;width:17px;height:17px;color:#4d8e77;flex:none}
.form-group-heading{display:flex;flex-direction:column;gap:5px;padding:1px 0 0}
.form-group-heading strong{font-size:13px;color:var(--navy)}
.form-group-heading small{font-size:11px;color:#738895;line-height:1.5}
.intake-form .field.full{grid-column:1 / -1}
.origin-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}
.origin-card{display:flex;gap:10px;align-items:flex-start;background:#f5f8f8;border:1px solid #e3ebed;border-radius:12px;padding:15px;min-width:0}
.origin-card>div:last-child{display:flex;flex-direction:column;gap:6px;min-width:0}
.origin-card small{font-size:10px;color:#6a8290;line-height:1.4}
.origin-card strong{font-size:12px;color:var(--navy);line-height:1.35;overflow-wrap:anywhere}
.origin-card a{font-size:11px;color:#416c88;overflow-wrap:anywhere}
.origin-card .private-tag{font-size:9px;margin-left:3px}
.origin-subline{font-size:10px;color:#688492;overflow-wrap:anywhere}
@media(max-width:1100px){.origin-cards{grid-template-columns:1fr}}
@media(max-width:767px){.intake-recorder{padding:13px;gap:10px;margin-bottom:20px}.intake-recorder-icon{width:35px;height:35px}.intake-recorder-copy>strong{font-size:13px}.intake-recorder-copy>span,.intake-recorder-copy>small{font-size:10px}.intake-form .field{grid-column:1/-1}.origin-cards{grid-template-columns:1fr;gap:8px;margin:17px 0}.origin-card{padding:12px}.origin-symbol{width:35px;height:35px}.origin-card strong{font-size:12px}}
@media(max-width:767px){.wizard-actions{margin-left:-13px;margin-right:-13px}}

/* V1.3 — administration lisible PC / smartphone */
.mgmt-heading{max-width:960px}.mgmt-heading h1{letter-spacing:-.025em}.mgmt-heading-actions{display:flex;align-items:end;justify-content:space-between;gap:20px}.mgmt-heading-actions>div{min-width:0}.mgmt-add-button{min-height:45px}.mgmt-add-button .ico{height:17px;width:17px}.mgmt-hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px}.mgmt-hub-card{display:flex;align-items:flex-start;gap:17px;padding:28px;min-width:0;transition:transform .15s,box-shadow .15s,border-color .15s}.mgmt-hub-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px #14364e10;border-color:#d6e2e8}.mgmt-icon{height:46px;width:46px;display:grid;place-items:center;border-radius:14px;background:#e8f0f4;color:var(--navy);flex:none}.mgmt-icon.sand{background:#f5eee1;color:#947243}.mgmt-icon .ico{height:23px;width:23px}.mgmt-hub-main{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:7px}.mgmt-hub-main>strong{font-size:19px;color:var(--navy);line-height:1.3}.mgmt-hub-main>small{font-size:12px;color:#718693;line-height:1.65}.mgmt-hub-eyebrow{font-size:10px;letter-spacing:.11em;color:#9a805c;font-weight:800}.mgmt-hub-stats{font-size:11px;font-weight:700;color:#4b6e82;margin-top:5px}.mgmt-hub-stats span{padding:0 6px;color:#b3bec5}.mgmt-hub-arrow{height:18px;width:18px;color:#92a5b0;margin-top:11px;flex:none}.mgmt-secondary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.mgmt-secondary-grid .content-panel{padding:25px;min-width:0}.mgmt-section-desc{line-height:1.6;margin:10px 0 18px}.mgmt-chip-list{display:flex;flex-wrap:wrap;gap:7px;margin:15px 0 20px}.mgmt-chip{padding:8px 11px;border-radius:8px;background:#f1f5f6;border:1px solid #e5edef;color:#44667b;font-size:11px;font-weight:650}.mgmt-add-form{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.mgmt-add-grow{flex:1;min-width:175px}.mgmt-add-form .btn{height:42px}.mgmt-add-form label{font-size:11px}.mgmt-api-list{display:grid;gap:10px;margin-bottom:18px}.mgmt-api-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border-radius:10px;background:#f7f9fa}.mgmt-api-item span{min-width:0}.mgmt-api-item strong,.mgmt-api-item small{display:block;font-size:11px;overflow-wrap:anywhere}.mgmt-api-item small{color:#7f909a;margin-top:3px}.mgmt-text-danger{color:#a34444;border:0;background:transparent;font-weight:650;font-size:11px;cursor:pointer}.mgmt-audit{margin-top:20px;padding:25px}.mgmt-audit-list{display:grid}.mgmt-audit-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--line)}.mgmt-audit-row>div{flex:1;min-width:0}.mgmt-audit-row strong,.mgmt-audit-row small{display:block}.mgmt-audit-row strong{font-size:12px}.mgmt-audit-row small{color:#728795;font-size:11px;margin-top:4px;line-height:1.5;overflow-wrap:anywhere}.mgmt-audit-mark{background:#edf3f4;color:var(--navy);width:30px;height:30px;display:grid;place-items:center;border-radius:50%;flex:none}.mgmt-audit-mark .ico{width:14px;height:14px}.mgmt-audit-meta{text-align:right;color:#7b909b;font-size:10px;line-height:1.6}.mgmt-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 0 21px}.mgmt-metric{border:1px solid #e9eef1;background:#fff;box-shadow:var(--shadow);padding:16px 20px;border-radius:var(--r);display:flex;flex-direction:column;gap:5px}.mgmt-metric span{font-size:11px;color:#738995;font-weight:650}.mgmt-metric strong{font-size:27px;color:var(--navy);line-height:1.2;letter-spacing:-.03em}.mgmt-list-panel{padding:25px}.mgmt-filters{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:23px}.mgmt-search{position:relative;flex:1 1 275px;min-width:180px}.mgmt-search input,.mgmt-filters select{height:43px;background:#f9fbfc;border:1px solid #dae5eb;border-radius:9px;font-size:12px;padding:10px 12px;color:#36536a;outline:none;max-width:100%;width:100%}.mgmt-search input{padding-left:41px}.mgmt-search .ico{position:absolute;left:13px;top:13px;height:17px;width:17px;color:#8aa0ae}.mgmt-filters label:not(.mgmt-search){flex:0 1 170px;min-width:125px}.mgmt-filters select:focus,.mgmt-search input:focus{border-color:#8bb4c8;box-shadow:0 0 0 3px #8dbaca28}.mgmt-list-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 2px 14px;color:#657f90;font-size:11px;font-weight:680}.mgmt-list-heading a{color:#2a5875;font-weight:700}.mgmt-list-heading>strong{font-size:13px;color:var(--navy)}.mgmt-list-heading>small{font-size:11px;color:#8296a2}.mgmt-users-list{border-top:1px solid #e9eef1}.mgmt-user-row{display:flex;align-items:center;gap:14px;padding:15px 5px;border-bottom:1px solid #edf1f3;transition:background .15s}.mgmt-user-row:hover{background:#f8fafb}.mgmt-user-avatar{height:38px;width:38px;font-size:14px;flex:none}.mgmt-user-identity{flex:1.3;min-width:0;display:flex;flex-direction:column;gap:5px}.mgmt-user-identity strong{font-size:12px;color:var(--ink);line-height:1.3}.mgmt-user-identity small{color:#7e929f;font-size:11px;overflow-wrap:anywhere}.mgmt-you{color:#8c744d;font-size:9px;font-weight:700;padding:3px 6px;background:#f5eee3;border-radius:5px;margin-left:3px;white-space:nowrap}.mgmt-role{flex:1;min-width:0;font-size:11px;color:#416276}.mgmt-service-name{flex:1;min-width:0;font-size:11px;color:#718591}.mgmt-row-arrow{width:16px;height:16px;flex:none;color:#b0c0c9}.mgmt-empty{padding:45px 15px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.mgmt-empty>.ico{height:35px;width:35px;color:#9cb0bb}.mgmt-empty strong{color:var(--navy)}.mgmt-empty p{font-size:12px;color:#8197a2}.mgmt-pagination{padding:18px 0 0;display:flex;align-items:center;justify-content:center;gap:12px;font-size:11px;color:#738895}.mgmt-help{display:flex;gap:11px;align-items:flex-start;margin:17px 0;padding:15px 17px;border-radius:11px;background:#eaf2f5;color:#507184;font-size:11px;line-height:1.6}.mgmt-help .ico{width:17px;height:17px;flex:none}.mgmt-edit-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px, .8fr);gap:20px;align-items:start;max-width:1160px}.mgmt-form-panel{padding:30px}.mgmt-form-stack{display:flex;flex-direction:column;gap:21px}.mgmt-form-title{display:flex;flex-direction:column;gap:5px;margin-top:2px}.mgmt-form-title:not(:first-child){padding-top:22px;border-top:1px solid #edf1f3}.mgmt-form-title strong{font-size:14px;color:var(--navy)}.mgmt-form-title small{font-size:11px;color:#8093a0;line-height:1.6}.mgmt-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.mgmt-field-grid>.field{min-width:0}.mgmt-form-panel .field{font-size:11px;line-height:1.5}.mgmt-form-panel .field input,.mgmt-form-panel .field select{font-size:13px;min-height:45px}.mgmt-field-hint{font-size:10px;color:#81949e;line-height:1.5;margin-top:4px}.mgmt-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:19px;border-top:1px solid #edf1f3;flex-wrap:wrap}.mgmt-user-intro{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e9eef1;padding-bottom:20px;margin-bottom:24px}.mgmt-user-intro>span:nth-child(2){flex:1;min-width:0}.mgmt-user-intro strong,.mgmt-user-intro small{display:block}.mgmt-user-intro strong{font-size:14px}.mgmt-user-intro small{font-size:11px;color:#8196a2;margin-top:4px}.mgmt-edit-aside{display:flex;flex-direction:column;gap:18px}.mgmt-note-card,.mgmt-danger-zone{padding:24px}.mgmt-note-card h3,.mgmt-danger-zone h3{font-size:14px;margin:17px 0 10px;color:var(--navy)}.mgmt-note-card p,.mgmt-danger-zone p{font-size:12px;color:#738994;line-height:1.7;margin:10px 0}.mgmt-note-card a{font-weight:750;color:var(--navy);text-decoration:underline}.mgmt-danger-zone{border-color:#f2e5e2}.mgmt-danger-zone h3{margin:0;color:#963e41}.mgmt-danger-btn{color:#9e4347;background:#fff5f4;border-color:#edcecc;min-height:41px}.mgmt-danger-btn:hover{background:#fbeae8}.mgmt-danger-btn:disabled{opacity:.4;cursor:not-allowed}.mgmt-services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.mgmt-service-card{border:1px solid #e7eef1;background:#fff;border-radius:12px;padding:20px 17px;display:flex;align-items:flex-start;gap:12px;min-width:0;transition:border-color .15s,background .15s}.mgmt-service-card:hover{border-color:#c4d6df;background:#f9fbfc}.mgmt-service-mark{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;background:#edf3f5;color:#395d72}.mgmt-service-mark .ico{height:18px;width:18px}.mgmt-service-content{min-width:0;flex:1;display:flex;flex-direction:column;gap:12px}.mgmt-service-content>strong{font-size:13px;color:var(--navy);line-height:1.3;overflow-wrap:anywhere}.mgmt-service-pills{display:flex;flex-wrap:wrap;gap:7px}.mgmt-service-pills>span{font-size:10px;color:#78909c;background:#f1f5f6;padding:5px 8px;border-radius:6px}.mgmt-service-card .status-badge{font-size:9px}.mgmt-side-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:14px 0;border-bottom:1px solid #e9eef1}.mgmt-side-stats>div{display:flex;flex-direction:column;gap:5px}.mgmt-side-stats strong{font-size:24px;color:var(--navy)}.mgmt-side-stats small{font-size:10px;color:#8397a2}
@media(max-width:1180px){.mgmt-hub-grid{grid-template-columns:1fr 1fr}.mgmt-secondary-grid{grid-template-columns:1fr}.mgmt-edit-grid{grid-template-columns:minmax(0,1fr) 260px}.mgmt-user-row{gap:9px}.mgmt-role,.mgmt-service-name{font-size:10px}}
@media(max-width:900px){.mgmt-hub-grid{grid-template-columns:1fr}.mgmt-edit-grid{grid-template-columns:1fr}.mgmt-edit-aside{display:grid;grid-template-columns:1fr 1fr}.mgmt-user-row .mgmt-service-name{display:none}.mgmt-filters label:not(.mgmt-search){flex:1 1 150px}}
@media(max-width:767px){.mgmt-heading{margin-bottom:18px}.mgmt-heading h1{font-size:27px}.mgmt-heading-actions{align-items:stretch;flex-direction:column;gap:13px}.mgmt-add-button{width:100%}.mgmt-hub-grid{gap:11px;margin-bottom:12px}.mgmt-hub-card{padding:17px 16px;gap:12px}.mgmt-hub-main>strong{font-size:16px}.mgmt-hub-main>small{font-size:11px;line-height:1.5}.mgmt-icon{height:39px;width:39px;border-radius:11px}.mgmt-icon .ico{height:19px;width:19px}.mgmt-hub-arrow{display:none}.mgmt-secondary-grid{gap:13px}.mgmt-secondary-grid .content-panel,.mgmt-audit{padding:18px}.mgmt-metrics{gap:8px;margin-bottom:13px}.mgmt-metric{padding:13px 12px;border-radius:11px}.mgmt-metric strong{font-size:24px}.mgmt-metric span{font-size:10px}.mgmt-list-panel{padding:16px 13px}.mgmt-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:16px}.mgmt-search{grid-column:1/-1;min-width:0}.mgmt-filters label:not(.mgmt-search){min-width:0}.mgmt-filters select{font-size:11px;padding:9px}.mgmt-filters>.btn{grid-column:1/-1;width:100%}.mgmt-user-row{display:grid;grid-template-columns:35px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:6px 10px;padding:13px 2px}.mgmt-user-avatar{height:35px;width:35px}.mgmt-user-identity{grid-column:2;grid-row:1;min-width:0}.mgmt-user-row .mgmt-role{grid-column:2;grid-row:2;font-size:10px}.mgmt-user-row .status-badge{grid-column:3;grid-row:1;align-self:start;font-size:9px}.mgmt-user-row .mgmt-row-arrow{grid-column:3;grid-row:2;justify-self:end}.mgmt-edit-aside{display:flex;flex-direction:column}.mgmt-form-panel{padding:20px 17px}.mgmt-field-grid{grid-template-columns:1fr}.mgmt-form-actions{align-items:stretch;gap:9px}.mgmt-form-actions .btn{flex:1;white-space:normal;text-align:center}.mgmt-services-grid{grid-template-columns:1fr;gap:9px}.mgmt-service-card{padding:15px 12px;gap:9px}.mgmt-service-mark{height:35px;width:35px}.mgmt-service-content>strong{font-size:12px}.mgmt-service-card .status-badge{font-size:9px}.mgmt-service-pills>span{font-size:9px}.mgmt-audit-row{align-items:flex-start}.mgmt-audit-meta{min-width:75px;font-size:9px}.mgmt-note-card,.mgmt-danger-zone{padding:19px}.mgmt-api-item{align-items:flex-start}.mgmt-pagination{gap:8px}}

.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.mgmt-top-shortcut .ico{width:19px;height:19px}.mgmt-top-shortcut:hover{color:var(--navy)}


/* V1.4 - Budget & suppression, compatibles avec la charte bleu marine/sable */
.budget-panel{scroll-margin-top:22px}.budget-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.budget-figure{background:#f5f8f9;border:1px solid #e9eff2;border-radius:13px;padding:18px;min-width:0;display:flex;flex-direction:column;gap:7px}
.budget-figure small{font-size:11px;color:#6a808e;font-weight:700}.budget-figure strong{font-size:26px;line-height:1.2;color:#183b56;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.budget-figure>span{font-size:11px;line-height:1.5;color:#728b97}
.budget-figure-actual{background:#f7f4ee;border-color:#e9dfcf}.budget-help{font-size:12px;line-height:1.7;color:#667f8b;margin:12px 0}
.budget-service-list{border-top:1px solid #e9eff2;margin-top:14px}.budget-service-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:16px;align-items:center;padding:16px 0;border-bottom:1px solid #e9eff2;min-width:0}
.budget-service-info{display:flex;flex-direction:column;gap:6px;min-width:0}.budget-service-info strong{color:#183b56;font-size:13px;overflow-wrap:anywhere}.budget-service-info small{font-size:11px;color:#788d9a;line-height:1.5}.budget-edit-form{display:flex;flex-wrap:wrap;gap:10px;align-items:end;justify-content:flex-end;min-width:0}
.budget-cost-field,.budget-correction-field{display:flex;flex-direction:column;gap:6px;min-width:125px}.budget-cost-field>span,.budget-correction-field>span{font-size:10px;color:#697e8a;font-weight:650}
.budget-cost-field input,.budget-correction-field input{border:1px solid #dce6eb;border-radius:9px;height:42px;padding:8px 11px;background:#fff;color:#183b56;max-width:100%;font:inherit;font-size:14px}
.budget-cost-field input{width:150px;font-variant-numeric:tabular-nums}.budget-correction-field{flex:1;min-width:145px}.budget-readonly{color:#183b56;font-size:15px;text-align:right}
.budget-edit-form .btn{height:42px;white-space:nowrap}.budget-empty{display:flex;align-items:flex-start;gap:10px;background:#f4f8f9;border-radius:10px;padding:13px;color:#587387;font-size:12px;line-height:1.5}
.budget-empty .ico{flex:none;width:16px;height:16px}.budget-edit-link{font-size:12px;color:#6b8490}.budget-edit-link a{font-weight:700;color:#183b56;text-decoration:underline}
.ticket-admin-danger{border-color:#f0ddda;scroll-margin-top:20px}.ticket-admin-danger summary{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:750;color:#933e42;font-size:13px;list-style:none}.ticket-admin-danger summary::-webkit-details-marker{display:none}.ticket-admin-danger summary .ico{height:17px;width:17px}.ticket-admin-danger p{font-size:12px;color:#7b6665;line-height:1.7;margin:13px 0}.ticket-delete-form{margin-top:13px}.ticket-delete-form .field{font-size:12px}.ticket-delete-form input{width:100%}
@media(max-width:767px){.budget-overview{gap:9px}.budget-figure{padding:13px}.budget-figure strong{font-size:22px}.budget-figure>span{font-size:10px}.budget-service-row{grid-template-columns:1fr;gap:9px}.budget-edit-form{justify-content:stretch;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.budget-cost-field input{width:100%;min-width:0}.budget-correction-field{grid-column:1/-1}.budget-edit-form .btn{align-self:end}.ticket-admin-danger summary{font-size:12px}}
@media(max-width:360px){.budget-figure strong{font-size:19px}}

/* V1.5 : répertoire des domaines dans la charte Administration. */
@media(min-width:1181px){.mgmt-hub-grid.mgmt-hub-three{grid-template-columns:repeat(3,minmax(0,1fr))}}
.mgmt-domain-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:22px}.mgmt-domain-filters .field{flex:1;min-width:150px;font-size:11px}.mgmt-domain-filters .field:first-child{flex:2;min-width:180px}.mgmt-domain-filters .btn{min-height:44px}.mgmt-single-stat{grid-template-columns:1fr}
@media(max-width:767px){.mgmt-domain-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mgmt-domain-filters .field,.mgmt-domain-filters .field:first-child{min-width:0}.mgmt-domain-filters .field:first-child{grid-column:1/-1}.mgmt-domain-filters .btn{grid-column:1/-1;width:100%}}

/* V1.6 · Profils et matrice de droits — reprend le langage visuel Touquet */
.profile-list{display:flex;flex-direction:column;gap:0}.profile-row{display:flex;align-items:center;gap:16px;padding:17px 3px;border-bottom:1px solid var(--line)}.profile-row:last-child{border-bottom:0}.profile-row>.mgmt-icon{flex:0 0 auto}.profile-row-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.profile-row-info strong{font-size:13px;color:var(--navy)}.profile-row-info small{color:var(--muted);font-size:11px;overflow-wrap:anywhere}.profile-row-meta{font-size:10px;color:#8193a0}.profile-row>.btn{flex-shrink:0}.profile-permission-group{border:1px solid #e5ecef;border-radius:14px;padding:13px 15px 16px;margin:0 0 14px}.profile-permission-group legend{padding:0 8px;color:var(--navy);font-size:13px;font-weight:800}.profile-permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.profile-permission{display:flex;align-items:flex-start;gap:11px;padding:12px;border:1px solid #e7edf1;border-radius:10px;background:#fafcfd;cursor:pointer;min-width:0}.profile-permission:has(input:checked){border-color:#a6bac6;background:#f0f5f8}.profile-permission input{width:18px;height:18px;accent-color:#183b56;flex:0 0 18px;margin:1px 0 0}.profile-permission-label{min-width:0;display:flex;flex-direction:column;gap:4px}.profile-permission-label strong{font-size:11px;line-height:1.45;color:var(--navy)}.profile-permission-label small{font-size:9px;line-height:1.3;color:#82939f;overflow-wrap:anywhere}.profile-edit-layout{align-items:start}
@media(max-width:900px){.profile-permission-grid{grid-template-columns:1fr}}
@media(max-width:767px){.profile-row{gap:10px;flex-wrap:wrap;padding:16px 0}.profile-row>.mgmt-icon{width:38px;height:38px}.profile-row-info{flex:1 1 calc(100% - 70px)}.profile-row>.status-badge{margin-left:48px}.profile-row>.btn{margin-left:auto}.profile-permission-group{padding:13px 10px}.profile-permission{min-height:55px;padding:12px}.profile-permission-label strong{font-size:12px}.profile-permission-label small{font-size:9px}}

/* V1.7 : réunions, demandes de complément, bilan des échéances. */
.complement-fields{border:1px solid #dbe5e9;background:#f5f9fa;border-radius:14px;padding:16px;display:grid;gap:13px}
.complement-fields[hidden],.completion-fields[hidden],[data-complement-other][hidden]{display:none!important}
.complement-fields>strong{color:var(--navy);font-size:14px}
.completion-fields{display:grid;gap:13px;padding:15px;background:#f5f9fa;border-radius:12px;border:1px solid #e1ebef}
.completion-fields .check-inline{align-items:flex-start;line-height:1.5;color:#304e62}
.completion-fields .check-inline input{margin-top:2px;width:18px;height:18px;flex:0 0 18px;accent-color:#183b56}
.completion-fields .helper-text{margin:0}
.workflow-report{margin:22px 0}.workflow-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.workflow-metrics>div{display:flex;flex-direction:column;gap:8px;padding:15px;background:#f6f9fa;border:1px solid #e5ecef;border-radius:12px}
.workflow-metrics small{font-size:11px;color:#607b8c}.workflow-metrics strong{font-size:24px;color:var(--navy)}
.workflow-late-list{display:grid;gap:0}.workflow-late-list>div{display:flex;justify-content:space-between;gap:12px;padding:10px 2px;border-bottom:1px solid #e9edf0;font-size:13px}.workflow-late-list>div:last-child{border-bottom:none}
.report-export-actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:900px){.workflow-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.workflow-report{margin:15px 0}.workflow-metrics{gap:8px}.workflow-metrics>div{padding:12px}.workflow-metrics strong{font-size:20px}.complement-fields{padding:12px}.completion-fields{padding:12px}.report-export-actions{width:100%;justify-content:flex-start}.report-export-actions .btn{min-height:42px}}


/* V1.7.1 — Correction de la reunion : la page n'a pas de colonne stepper.
   Conserve les trois colonnes sur le parcours de qualification/affectation/decision. */
.meeting-layout {
  grid-template-columns: minmax(0, 1fr) 280px;
  max-width: 1120px;
  gap: 20px;
}
.meeting-layout .process-main {min-width:0; width:100%}
.meeting-layout .process-side {min-width:0}
.meeting-layout .process-card {min-width:0}
.meeting-layout .process-card-head > div:last-child {min-width:0}
.meeting-layout .process-form .field {min-width:0}
.meeting-layout .process-submit {white-space:normal; text-align:center; overflow-wrap:anywhere}
@media (max-width:1150px) {
  .meeting-layout {grid-template-columns:minmax(0,1fr); max-width:820px}
  .meeting-layout .process-side {display:none}
}
@media (max-width:767px) {
  .meeting-layout {display:flex; flex-direction:column; gap:14px; width:100%}
  .meeting-layout .process-main {width:100%}
  .meeting-layout .process-card {padding:21px 17px}
}

/* V1.8 — espace dossier : un écran par étape, sans page interminable. */
.case-header{display:flex;justify-content:space-between;gap:22px;align-items:flex-start;margin:0 0 22px;min-width:0}
.case-heading{min-width:0}.case-heading h1{font-size:clamp(22px,2.3vw,32px);line-height:1.19;letter-spacing:-.035em;margin:10px 0 12px;overflow-wrap:anywhere;color:var(--navy)}
.case-kicker,.case-header-actions,.case-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.case-meta{gap:15px;font-size:12px;color:#6c8290}.case-meta>span{display:inline-flex;align-items:center;gap:5px}.case-meta .ico{height:14px;width:14px}
.case-header-actions{justify-content:flex-end;flex-shrink:0}.case-header-actions .status-badge{font-size:11px;padding:8px 11px}
.case-nav{display:flex;gap:5px;align-items:center;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;margin:0 0 20px;padding:5px;border:1px solid #e6edef;border-radius:15px;background:#fff;max-width:100%;box-shadow:0 7px 19px rgba(27,58,80,.035)}
.case-tab{display:inline-flex;flex:1 0 auto;align-items:center;justify-content:center;gap:8px;padding:13px 13px;border-radius:11px;color:#657c8b;font-size:12px;font-weight:750;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}
.case-tab:hover{background:#f2f6f8;color:#183b56}.case-tab.current{background:#183b56;color:#fff;box-shadow:0 2px 7px #1a3f6028}.case-tab .ico{width:16px;height:16px}.case-tab em{font-style:normal;font-size:10px;background:#e8eef2;color:#496677;padding:2px 6px;border-radius:30px}.case-tab.current em{background:#3f5f75;color:#fff}
.case-overview-grid,.case-journal-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:18px;align-items:start}.case-primary,.case-aside{display:flex;flex-direction:column;gap:18px;min-width:0}
.case-panel{padding:25px 27px;min-width:0}.case-panel h2,.case-lead h2{font-size:20px;letter-spacing:-.025em;color:var(--navy);margin:4px 0 0}.case-panel h3{font-size:15px;margin:0 0 16px;color:var(--navy)}.case-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.case-section-head h2,.case-section-head h3{margin:0}
.case-journey{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:9px 0 22px}.case-milestone{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;font-size:10px;min-width:0;color:#91a2ac}
.case-milestone:before{content:"";height:3px;width:100%;background:#e5ecf0;border-radius:8px}.case-milestone.done:before,.case-milestone.active:before{background:#c7b18c}.case-milestone>span{display:grid;place-items:center;width:29px;height:29px;border:1px solid #dce6ea;border-radius:50%;font-weight:750;background:#f6f9fa;color:#79909e;font-size:11px}.case-milestone.done>span{background:#e8f5ef;border-color:#cee8da;color:#277b64}.case-milestone.active>span{background:#183b56;border-color:#183b56;color:#fff}.case-milestone strong{font-weight:650;line-height:1.35;overflow-wrap:break-word}.case-milestone.active strong{color:#183b56}.case-milestone.done strong{color:#506c7e}
.case-next{display:flex;align-items:center;gap:15px;padding:19px;background:linear-gradient(125deg,#f3f7f9,#f8f5ee);border:1px solid #e3e8e9;border-radius:14px}.case-next-mark{display:grid;place-items:center;width:44px;height:44px;background:#e3ebee;color:#183b56;border-radius:12px;flex:none}.case-next-mark .ico{width:22px;height:22px}.case-next>div{min-width:0;flex:1}.case-next small{color:#9a7e51;letter-spacing:.1em;font-size:10px;font-weight:750}.case-next strong{display:block;font-size:15px;color:#183b56;margin:5px 0 3px}.case-next p{font-size:12px;line-height:1.5;color:#708797;margin:0}.case-next>.btn{white-space:nowrap;flex-shrink:0;min-height:44px}
.case-soft-note{display:flex;align-items:flex-start;gap:12px;border:1px solid #e2e9ec;border-radius:12px;background:#f6f9fa;padding:15px;margin-top:17px;color:#425d6e}.case-soft-note>.ico{width:19px;height:19px;flex:none;margin-top:2px}.case-soft-note>div{flex:1;min-width:0}.case-soft-note strong{color:#183b56;font-size:13px}.case-soft-note p{font-size:12px;line-height:1.65;margin:5px 0 0;overflow-wrap:anywhere}.case-soft-note a{color:#1a5674;font-weight:750;text-decoration:underline;font-size:12px}.case-description{white-space:pre-wrap;font-size:14px;line-height:1.8;color:#354d5c;margin:0 0 20px;overflow-wrap:anywhere}
.case-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.case-facts>div{display:flex;flex-direction:column;gap:5px;min-width:0;padding:14px;background:#f7f9fa;border:1px solid #edf1f2;border-radius:10px}.case-facts small{color:#78909a;font-size:10px}.case-facts strong{font-size:12px;line-height:1.5;color:var(--navy);overflow-wrap:anywhere}.case-facts a{font-size:11px;color:#326783;overflow-wrap:anywhere}
.case-text-link{display:inline-flex;align-items:center;gap:5px;font-weight:750;font-size:12px;color:#27506b;white-space:nowrap}.case-text-link .ico{width:13px;height:13px}.case-kpi{border-top:1px solid var(--line);padding:16px 0 13px;display:flex;flex-direction:column;gap:7px}.case-kpi small,.case-brief-event small{color:#8b9aa3;font-size:10px}.case-kpi strong{font-size:22px;color:var(--navy);font-variant-numeric:tabular-nums}.case-brief-event{display:flex;flex-direction:column;gap:5px;border-bottom:1px solid #edf1f3;padding:11px 0}.case-brief-event strong{font-size:11px;color:#28465c}.case-brief-event span{font-size:11px;line-height:1.55;overflow-wrap:anywhere;color:#526e7d}.case-aside .case-text-link{margin-top:14px}
.case-admin-danger{margin-top:18px;max-width:750px;padding:18px 24px;border:1px solid #f0ddda}.case-admin-danger summary{cursor:pointer;color:#a7484d;font-size:12px;font-weight:800}.case-admin-danger p{font-size:12px;color:#7d6870;line-height:1.6}
.case-lead{display:flex;justify-content:space-between;gap:15px;align-items:center;margin:0 0 19px}.case-lead h2{font-size:24px;margin:6px 0 7px}.case-lead p{margin:0;color:#708593;font-size:12px;max-width:680px;line-height:1.6}.case-number{font-size:11px;font-weight:750;color:#3e647d;background:#e8eff3;border-radius:30px;padding:9px 12px;white-space:nowrap}
.case-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.case-task{padding:20px;min-width:0}.case-task-head{display:flex;align-items:center;gap:10px;min-width:0}.case-task-symbol{display:grid;place-items:center;width:42px;height:42px;background:#e8eef0;border-radius:12px;font-size:18px;font-weight:800;color:#183b56;flex:none}.case-task-name{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.case-task-name strong{font-size:14px;color:var(--navy);overflow-wrap:anywhere}.case-task-name small{font-size:10px;color:#748a99}.case-task-head .status-badge{max-width:40%;text-align:center;flex:none}
.case-task-route{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:20px 0 13px;gap:5px}.case-task-route span{display:flex;flex-direction:column;gap:8px;text-align:center;font-size:9px;color:#98a8b0;line-height:1.35;min-width:0}.case-task-route span:before{content:"";height:5px;border-radius:10px;background:#e6edef}.case-task-route span.done:before{background:#6f9b88}.case-task-route span.done{color:#3e725e}.case-task-note{background:#f6f8fa;border-radius:10px;padding:12px;font-size:12px;color:#4f6471;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.case-task-meta{display:flex;gap:12px;flex-wrap:wrap;color:#82949d;font-size:10px}.case-task-meta span{display:flex;gap:5px;align-items:center}.case-task-meta .ico{width:13px;height:13px}.case-task-actions{margin-top:17px;padding-top:15px;border-top:1px solid #e7edf0}.case-task-actions h3{margin:0 0 10px;font-size:12px}.case-quick-buttons{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start}.case-quick-buttons form{margin:0}.case-quick-buttons .btn{min-height:42px;display:inline-flex;align-items:center;gap:7px;font-size:11px;white-space:normal;text-align:center}.case-quick-buttons .btn .ico{width:14px;height:14px}
.case-quick-expand{display:block;min-width:0}.case-quick-expand>summary{cursor:pointer;list-style:none}.case-quick-expand>summary::-webkit-details-marker{display:none}.case-quick-expand[open]{flex-basis:100%;width:100%;background:#f6f9fa;border:1px solid #e7edef;padding:12px;border-radius:12px}.case-quick-expand[open]>summary{border:none;background:transparent;padding:5px 0;color:#183b56;font-weight:800}.case-quick-expand form{margin-top:13px}.case-quick-expand .field{font-size:12px}.case-quick-expand .helper-text{font-size:10px;line-height:1.6}.case-complete-alert{margin-top:18px}.case-done-hint{display:flex;gap:8px;align-items:flex-start;color:#277b64;font-size:12px;margin:16px 0 0;line-height:1.5}.case-done-hint .ico{height:16px;width:16px;flex:none}
.case-journal-layout{grid-template-columns:minmax(0,1fr) 245px}.case-note-compose{margin-bottom:16px}.case-note-footer{display:flex;gap:10px;align-items:center;justify-content:space-between}.case-note-footer .check-inline{font-size:11px}.case-journal-filters{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 22px}.case-filter{border:1px solid #dfe8ed;background:#fff;border-radius:30px;padding:9px 13px;color:#6c8290;font-size:11px;font-weight:750;cursor:pointer}.case-filter.active,.case-filter:hover{background:#183b56;color:white;border-color:#183b56}
.case-date-separator{display:flex;align-items:center;gap:13px;margin:20px 0;color:#9a7e51;font-weight:800;font-size:11px}.case-date-separator:after{content:"";height:1px;background:#e9edf1;flex:1}.case-event{display:grid;grid-template-columns:35px minmax(0,1fr);gap:10px;margin-bottom:14px}.case-event-icon{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#e9f0f4;color:#42657a}.case-event.is-note .case-event-icon{background:#f6efe3;color:#9b7c47}.case-event-icon .ico{height:16px;width:16px}.case-event-body{border:1px solid #e9eff1;border-radius:12px;padding:14px 16px;min-width:0;background:#fff}.case-event.is-note .case-event-body{border-left:3px solid #cbb58d}.case-event-top{display:flex;justify-content:space-between;align-items:baseline;gap:10px}.case-event-top strong{color:#183b56;font-size:12px}.case-event-top time{font-size:10px;color:#9baab4;white-space:nowrap}.case-event-body p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;color:#476171;margin:9px 0 11px}.case-event-bottom{display:flex;gap:10px;flex-wrap:wrap;color:#80939d;font-size:10px}.case-event-bottom>span{display:inline-flex;gap:4px;align-items:center}.case-event-bottom .ico{width:12px;height:12px}.case-public{background:#edf5f0;color:#497e64;padding:3px 7px;border-radius:20px}.case-empty{padding:24px;text-align:center;color:#8296a1;font-size:12px}.case-journal [hidden],.case-empty[hidden]{display:none!important}
.case-control{max-width:900px}.case-control-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #edf1f4}.case-control-row>div{display:flex;flex-direction:column;gap:5px}.case-control-row strong{font-size:12px;color:var(--navy)}.case-control-row small{font-size:10px;color:#7e909a}.case-control-form{max-width:620px;margin-top:24px}.case-control-form .btn{min-height:44px}
@media(max-width:1150px){.case-overview-grid,.case-journal-layout{grid-template-columns:1fr}.case-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.case-task-grid{grid-template-columns:1fr}.case-tab{flex:0 0 auto}}
@media(max-width:767px){
  .case-header{flex-direction:column;gap:12px;margin-bottom:18px}.case-heading h1{font-size:25px;margin:8px 0 10px}.case-header-actions{justify-content:space-between;width:100%}.case-meta{gap:7px 14px;font-size:11px}
  .case-nav{margin:0 -14px 18px;padding:5px 14px;gap:5px;border-radius:0;border-left:0;border-right:0;box-shadow:none;scroll-padding-left:14px}.case-tab{padding:11px 12px;gap:6px;font-size:11px;min-height:44px}.case-tab .ico{width:15px;height:15px}
  .case-panel{padding:19px 16px}.case-panel h2{font-size:18px}.case-aside{grid-template-columns:1fr;gap:14px}.case-primary{gap:14px}.case-journey{gap:4px}.case-milestone{font-size:8px;gap:6px}.case-milestone>span{height:26px;width:26px}.case-milestone strong{font-size:8px}.case-next{flex-wrap:wrap;padding:15px;gap:10px}.case-next-mark{width:37px;height:37px}.case-next>div{flex:1 1 calc(100% - 52px)}.case-next>.btn{width:100%;justify-content:center}
  .case-facts{gap:8px}.case-facts>div{padding:12px}.case-description{font-size:13px}.case-lead{align-items:flex-start;flex-direction:column;gap:10px}.case-lead h2{font-size:22px}.case-number{padding:6px 10px}.case-task{padding:17px 14px}.case-task-symbol{height:36px;width:36px;font-size:15px}.case-task-head{gap:8px}.case-task-name strong{font-size:12px}.case-task-head .status-badge{font-size:9px;max-width:36%}
  .case-quick-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.case-quick-buttons form,.case-quick-expand{min-width:0}.case-quick-buttons .btn{width:100%;justify-content:center;min-height:44px;font-size:11px}.case-quick-expand[open]{grid-column:1/-1}.case-quick-expand[open]>.btn{width:auto}.case-task-route span{font-size:8px}.case-note-footer{align-items:stretch;flex-direction:column}.case-note-footer .btn{width:100%}.case-event-top{flex-direction:column;gap:3px}.case-event-body{padding:12px}.case-event{grid-template-columns:30px minmax(0,1fr)}.case-event-icon{width:30px;height:30px}.case-journal-filters{gap:6px}.case-filter{font-size:10px;padding:8px 10px}
}
@media(max-width:380px){.case-heading h1{font-size:22px}.case-milestone strong{font-size:7px}.case-facts{grid-template-columns:1fr}.case-kicker .priority-pill{font-size:9px}}

.case-tab-hint{display:none;color:#79909d;font-size:10px;margin:-10px 0 16px}
@media(max-width:767px){.case-tab-hint{display:block;margin:-10px 0 14px}}

/* V1.8.1 · Installation PWA Android / iOS / Windows */
.pwa-install-page{max-width:1140px;margin:0 auto}.pwa-install-page .pwa-back-link{display:inline-block;margin-bottom:20px;color:#496c82;font-weight:750;font-size:12px}.pwa-install-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);background:#fff;border:1px solid #e8edf0;border-radius:20px;box-shadow:var(--shadow);overflow:hidden;min-height:315px}.pwa-install-hero-copy{padding:43px 43px 35px}.pwa-install-hero h1{font-size:clamp(26px,3.6vw,42px);margin:11px 0 15px;line-height:1.18;color:var(--navy)}.pwa-install-hero h1 em{color:#a68c62;font-style:normal;font-weight:550}.pwa-install-hero-copy>p{font-size:13px;line-height:1.8;color:#617b8c;max-width:580px}.pwa-install-art{display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 35%,#2d536b 0%,#183b56 70%);padding:27px}.pwa-art-halo{width:175px;height:175px;display:grid;place-items:center;border:1px solid #6a8392;border-radius:44px;background:#183b56;box-shadow:0 22px 48px #071b2755}.pwa-art-halo img{width:166px;height:166px;object-fit:contain;border-radius:40px}.pwa-art-caption{margin-top:24px;text-align:center;color:#d6c7ae;font-size:9px;font-weight:780;letter-spacing:.14em}.pwa-art-caption span{padding:0 5px;color:#eee}.pwa-install-status{display:flex;gap:9px;align-items:center;background:#f4f7f8;border-radius:10px;padding:11px 13px;color:#416176;font-size:12px;margin-top:18px;line-height:1.45}.pwa-status-dot{width:8px;height:8px;flex:none;background:#42866d;border-radius:50%}.pwa-install-action{margin-top:15px;min-height:46px}.pwa-install-action[hidden],.pwa-https-warning[hidden]{display:none!important}.pwa-https-warning{padding:13px 15px;margin-top:14px;border-radius:10px;border:1px solid #efdbb9;background:#fff8ed}.pwa-https-warning strong{font-size:12px;color:#855e26}.pwa-https-warning p{font-size:12px;color:#946d35;line-height:1.6;margin-top:4px}.pwa-section-heading{margin:33px 0 17px}.pwa-section-heading h2{font-size:23px;margin:6px 0 4px}.pwa-section-heading p{color:#748894;font-size:12px}.pwa-platform-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.pwa-platform{min-width:0;padding:24px 22px}.pwa-platform-top{display:flex;align-items:center;gap:11px;min-width:0}.pwa-platform-icon{display:grid;place-items:center;height:42px;min-width:42px;padding:0 4px;border-radius:12px;background:#e9eff3;color:#183b56;font-size:14px;font-weight:850}.pwa-platform-top>div{min-width:0}.pwa-platform-top h3{font-size:15px;white-space:nowrap}.pwa-platform-top small{font-size:10px;color:#8595a0}.pwa-detect{display:none;font-size:9px;font-weight:800;color:#39735a;background:#e3f2e9;border-radius:30px;padding:6px 8px;white-space:nowrap;margin-left:auto}.pwa-platform-current{border-color:#b7c9c3;box-shadow:0 6px 24px #2d66551c}.pwa-platform-current .pwa-detect{display:block}.pwa-platform ol{margin:22px 0 0;padding-left:18px;display:grid;gap:13px}.pwa-platform li{font-size:12px;line-height:1.7;color:#647b88;padding-left:2px}.pwa-platform li strong{color:#274e67;font-weight:750}.pwa-privacy-note{display:flex;gap:13px;align-items:flex-start;padding:19px 22px;margin-top:18px;background:#fdfefe}.pwa-privacy-note>.ico{width:23px;height:23px;color:#5c8b78}.pwa-privacy-note strong{font-size:12px}.pwa-privacy-note p{font-size:11px;margin-top:5px;line-height:1.65;color:#758996}.pwa-install-end{margin:24px 0 12px}.pwa-public-shell{padding:36px 20px 55px;min-height:100vh}.pwa-public-shell .pwa-install-page{max-width:1100px}.pwa-login-link{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:18px;font-size:12px;color:#375d77;font-weight:700}.pwa-login-link>.ico{width:16px;height:16px}.pwa-profile-entry{display:flex;align-items:center;gap:15px;padding:18px 22px;margin-bottom:20px}.pwa-profile-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eaf0f2;color:#1e4965}.pwa-profile-entry>div{flex:1;min-width:0}.pwa-profile-entry strong{font-size:13px}.pwa-profile-entry p{font-size:11px;color:#748997}.pwa-update-banner{position:fixed;z-index:99999;bottom:calc(env(safe-area-inset-bottom,0px) + 20px);left:50%;transform:translateX(-50%);width:min(520px,calc(100vw - 24px));background:#183b56;color:#fff;border:1px solid #416079;border-radius:13px;box-shadow:0 10px 30px #1532455c;padding:13px;display:flex;align-items:center;gap:12px;font-size:12px;line-height:1.4}.pwa-update-banner span{flex:1}.pwa-update-banner button{border:0;border-radius:7px;background:#cbb58d;color:#16354a;font-size:11px;font-weight:800;padding:9px 12px}.pwa-update-banner button.pwa-update-dismiss{background:transparent;color:#fff;font-size:19px;padding:4px}.pwa-https-warning,.pwa-platform,.pwa-install-hero{overflow-wrap:anywhere}
@media(max-width:950px){.pwa-platform-grid{grid-template-columns:1fr}.pwa-platform{padding:20px}.pwa-install-hero{grid-template-columns:1fr 245px}.pwa-install-hero-copy{padding:30px}.pwa-platform ol{margin-top:15px;gap:7px}}
@media(max-width:650px){.pwa-install-hero{grid-template-columns:1fr}.pwa-install-hero-copy{padding:27px 22px 25px}.pwa-install-hero h1{font-size:28px}.pwa-install-art{min-height:135px;flex-direction:row;gap:15px;padding:20px}.pwa-art-halo{width:85px;height:85px;border-radius:22px;box-shadow:none}.pwa-art-halo img{width:80px;height:80px;border-radius:18px}.pwa-art-caption{font-size:8px;margin:0;line-height:1.7;text-align:left;max-width:160px}.pwa-section-heading{margin:26px 0 13px}.pwa-section-heading h2{font-size:21px}.pwa-platform-grid{gap:10px}.pwa-platform{padding:18px}.pwa-public-shell{padding:17px 14px 30px}.pwa-profile-entry{padding:16px;flex-wrap:wrap}.pwa-profile-entry .btn{width:100%}.pwa-update-banner{bottom:calc(env(safe-area-inset-bottom,0px) + 78px)}.pwa-install-end .btn{width:100%}}
