
:root{color-scheme:light;--cream:#fcfbf8;--card:#fefdfa;--gold:#b98b35;--gold-soft:#d7b36a;--line:#e8dcc4;--ink:#30343b;--muted:#626873;--amber:#fcf6e9}
*{box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;margin:0;background:var(--cream);color:var(--ink);line-height:1.55}.wrap{max-width:1280px;margin:0 auto;padding:28px 32px 48px}.brand{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:4px 0 23px;margin-bottom:22px;border-bottom:1px solid var(--line)}.brand-name{font-family:Georgia,serif;font-size:28px;letter-spacing:3px;color:var(--gold)}.brand small{display:block;font-size:10px;letter-spacing:2.4px;text-transform:uppercase;color:var(--muted)}.brand-tag{font-size:12px;color:var(--muted);border:1px solid var(--line);border-radius:30px;padding:7px 13px}
h1,h2{font-family:inherit;font-weight:500;color:var(--ink);line-height:1.25}h1{font-size:34px;margin:28px 0 20px}h2{font-size:25px;margin:0 0 22px}p{margin:12px 0 20px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:26px;margin:18px 0;box-shadow:0 5px 20px rgb(84 62 23 / 3%)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid .card{border-top:3px solid var(--gold-soft)}.grid h2{font-family:inherit;color:var(--ink);font-size:30px;font-weight:600;margin:14px 0 0;font-variant-numeric:tabular-nums}.muted{color:var(--muted)}
button{font:inherit;font-size:14px;font-weight:600;cursor:pointer;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:10px 14px;min-height:44px;transition:background .15s,border-color .15s,box-shadow .15s}button:hover{background:var(--amber);border-color:var(--gold)}.btn{background:var(--gold);color:#211b12;border:1px solid var(--gold);border-radius:10px;padding:11px 18px}.btn:hover{background:var(--gold-soft);border-color:var(--gold-soft)}.light{background:var(--card);color:var(--ink);border:1px solid var(--line)}.light:hover{background:var(--amber)}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #805c1c;outline-offset:3px}.tabs{display:flex;gap:7px;flex-wrap:wrap;padding:8px;background:var(--card);border:1px solid var(--line);border-radius:15px}.tabs button{background:transparent;border-color:transparent;font-weight:500;color:var(--muted)}.tabs button:hover{color:var(--ink);background:var(--amber)}.tabs .active{background:var(--gold);color:#211b12;border-color:var(--gold);font-weight:600;box-shadow:0 2px 6px rgb(105 74 23 / 12%)}.hidden{display:none!important}
input,select,textarea{width:100%;font:inherit;color:var(--ink);background:var(--cream);padding:12px 14px;border:1px solid var(--line);border-radius:10px;margin-top:7px;margin-bottom:18px;min-height:46px}input::placeholder,textarea::placeholder{color:var(--muted)}textarea{min-height:110px;resize:vertical}label{font-size:13px;font-weight:600}#leaveForm,#timeForm{max-width:740px}#login{max-width:480px;margin:60px auto;padding:36px;border-top:3px solid var(--gold)}#login h1{margin-top:0}#login .btn{width:100%}.row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;border-bottom:1px solid var(--line)}.row:last-child{border-bottom:0}.row span{font-variant-numeric:tabular-nums}.red{background:#f8e9df;border:1px solid #d9b49a;border-left:4px solid #a64e32;color:#803b28;padding:17px 20px;border-radius:10px}.error{color:#903f2b}.callout,.calendar-note,#payrollRows>p{border:1px solid var(--line);border-left:3px solid var(--gold);background:var(--amber);padding:15px 18px;border-radius:0 10px 10px 0;font-size:13px;line-height:1.65}.callout::before,.calendar-note::before,#payrollRows>p::before{content:'À noter';display:block;color:#73521b;font-weight:700;margin-bottom:4px}#logout{color:var(--muted);background:transparent}#app>.card:last-child{background:transparent;border:0;box-shadow:none;padding:10px 0}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.calendar-toolbar h2{margin:0;text-transform:capitalize}.calendar-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.calendar-controls input{width:auto;margin:0}.legend{display:flex;gap:18px;flex-wrap:wrap;margin:22px 0;font-size:12px;color:var(--muted)}.legend span{display:inline-flex;align-items:center;gap:7px}.dot{width:11px;height:11px;border-radius:4px;display:inline-block}.conge{background:#deecff;color:#174f91}.recovery{background:#ece5fa;color:#603e8b}.absent{background:#ffead9;color:#924414}.calendar-scroll{overflow:auto;border:1px solid var(--line);border-radius:12px;max-height:600px;scrollbar-color:var(--gold-soft) var(--cream)}.calendar{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;font-variant-numeric:tabular-nums}.calendar th,.calendar td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 6px;text-align:center;min-width:44px;height:48px}.calendar th{font-weight:600}.calendar thead th{position:sticky;top:0;background:#f4f5f6;color:#404854;z-index:2}.calendar th:first-child{position:sticky;left:0;min-width:135px;text-align:left;padding:14px;background:var(--card);z-index:1}.calendar thead th:first-child{z-index:3;background:#f4f5f6}.calendar tbody tr:nth-child(even) td{background:var(--cream)}.calendar .weekend,.calendar tbody tr:nth-child(even) td.weekend{background:#eef0f2}.calendar .current-day{box-shadow:inset 0 3px var(--gold)}.calendar .day-label{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.calendar .badge{display:block;border-radius:6px;font-size:11px;padding:6px 4px;margin:2px 0;white-space:nowrap}.calendar .count-alert{color:#8c3826;background:#f8e9df;font-weight:bold}.calendar-note{margin-bottom:0}.calendar-state{padding:10px 0;color:var(--muted)}#calendarDetail{margin-top:14px;line-height:1.6}.calendar td[data-detail]{cursor:pointer}.calendar td[data-detail]:hover{outline:2px solid var(--gold);outline-offset:-2px}#payrollRows .calendar th,#payrollRows .calendar td,#cpTeamRows .calendar td{min-width:120px;padding:15px 12px}#payrollMsg,#leaveMsg,#timeMsg,#loginMsg,#reviewMsg{font-size:14px;color:var(--muted);margin-top:12px}
@media(max-width:700px){.wrap{padding:18px 14px 30px}.brand{padding-bottom:17px;margin-bottom:16px}.brand-name{font-size:23px}.brand-tag{display:none}.grid{grid-template-columns:1fr;gap:0}.grid .card{margin:7px 0}.card{padding:18px;border-radius:14px}.row{align-items:flex-start;flex-direction:column;gap:5px;padding:14px 0}.tabs{gap:4px;padding:5px}.tabs button{padding:9px 10px;font-size:12px;flex:1 0 auto}h1{font-size:28px;margin:23px 0 17px}h2{font-size:23px}.calendar-toolbar{align-items:flex-start}.calendar-toolbar h2{font-size:23px}.calendar-controls{gap:6px}.calendar-controls input{max-width:170px}.calendar th:first-child{min-width:100px;padding:10px}#login{margin:26px auto;padding:24px}.brand small{font-size:9px}}
@media(prefers-reduced-motion:reduce){button{transition:none}}

/* Finition claire : la couleur guide la lecture, l’or souligne la marque. */
.brand{padding:0 0 17px;align-items:center}.brand-logo{width:170px;height:96px;overflow:hidden}.brand-logo img{display:block;width:170px;height:auto;mix-blend-mode:multiply}.brand small{font-size:9px;letter-spacing:2px;text-align:center}.brand-tag{border:0;background:transparent;color:#727781;font-weight:400}
h1{font-size:29px;letter-spacing:-.6px;margin:30px 0 22px}h2{font-size:22px;letter-spacing:-.3px}.card{box-shadow:0 3px 16px rgb(30 40 50 / 2%);border-color:#ece8df;border-radius:13px}.grid .card{border-top:2px solid #e5d4b1}.grid .muted{font-size:13px}.grid h2{font-size:28px}
.tabs{border:0;border-bottom:1px solid #e8e5de;border-radius:0;background:transparent;padding:0;gap:8px}.tabs button{position:relative;border:0;border-radius:6px 6px 0 0;padding:13px 15px;font-size:13px;font-weight:500;color:#656b73;min-height:46px}.tabs .active{background:#f8f2e5;color:#76551f;box-shadow:none;font-weight:600}.tabs .active::after{content:'';position:absolute;bottom:0;height:2px;left:14px;right:14px;background:var(--gold)}.tabs button:hover{background:#f8f5ed}
.btn{background:#fcf7eb;color:#74531c;border:1px solid #d8bf8e;box-shadow:none;font-weight:500;border-radius:8px}.btn:hover{background:#f5ecd8;border-color:var(--gold)}.light{background:var(--card);color:#4d5560;border-color:#e5e3dc}.light:hover{background:#f5f5f2}button{font-weight:500;border-radius:8px}input,select,textarea{background:var(--card);border-color:#dedfdc;border-radius:8px;color:#30343b;font-weight:400}select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23636b75' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:40px}label{font-weight:500;color:#414852}
.calendar-scroll{border-color:#dfe3e8;border-radius:9px}.calendar th,.calendar td{border-color:#e1e5e9}.calendar tbody td{background:var(--card)}.calendar tbody tr:nth-child(even) td{background:#fafbfc}.calendar tbody th:first-child{background:#f9fafb;color:#303945}.calendar thead th:first-child{background:#f4f5f6}.calendar .weekend,.calendar tbody tr:nth-child(even) td.weekend{background:#eef0f2}.calendar .current-day{box-shadow:inset 0 2px var(--gold)}.calendar .badge{font-weight:500;border-radius:5px;padding:7px 4px}.calendar .badge.conge{border:1px solid #bed6f6}.calendar .badge.absent{border:1px solid #f4c9a9}.calendar .badge.recovery{border:1px solid #d9c8f2}.calendar .count-alert{background:#fce6e3;color:#a33024}.calendar-toolbar h2{font-size:22px}.calendar-state:empty{padding:0}.calendar-note,.callout,#payrollRows>p{border-top:0;border-right:0;border-bottom:0;background:#fcf7eb;color:#66645f;font-size:12px;padding:12px 16px}.row{border-color:#e9e9e4}.calendar td[data-detail]:hover{outline-color:#859dbc}.legend{color:#59616d}
@media(max-width:700px){h1{font-size:25px}.brand-logo{width:145px;height:82px}.brand-logo img{width:145px}.tabs{gap:3px}.tabs button{padding:10px 9px;font-size:12px}.card{padding:16px}.calendar th:first-child{min-width:105px}}
.brand-logo{height:auto;overflow:visible}.brand-logo img{height:auto;max-width:100%}@media(max-width:700px){.brand-logo{height:auto}}
.punct-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid #e8e9e6}.punct-person{display:flex;gap:14px;align-items:center}.punct-icon{width:22px;height:22px;flex-shrink:0}.punct-person>.punct-icon{color:#9b7b40}.punct-description{display:block;font-size:12px;color:#66717b;margin-top:4px}.punct-metrics{display:flex;align-items:flex-end;flex-direction:column;gap:7px}.punct-pill{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:5px 11px;font-size:12px;font-weight:500}.punct-pill.calm{background:#edf5f0;color:#38644d}.punct-pill.watch{background:#fff1df;color:#875623}.punct-pill.attention{background:#fbe9e5;color:#973f31}.punct-pill .punct-icon{width:15px;height:15px}.punct-balance{font-size:12px;color:#64707b}.punct-footnote{font-size:12px;margin:20px 0 0}@media(max-width:700px){.punct-row{align-items:flex-start;flex-direction:column;gap:12px}.punct-metrics{align-items:flex-start;padding-left:36px}}

/* Contraintes de largeur, notamment pour les champs date de Safari iOS. */
*,*::before,*::after{box-sizing:border-box}
.wrap,#app,.panel,.card,form,.grid,.grid>*,.row>*,.punct-row>*,.calendar-toolbar>*,.calendar-controls{min-width:0}
.card,form,.panel{max-width:100%}
label{display:block;min-width:0;max-width:100%}
input,select,textarea{display:block;box-sizing:border-box;min-width:0;max-width:100%;width:100%}
input[type="date"],input[type="month"],input[type="time"],input[type="datetime-local"]{appearance:none;-webkit-appearance:none;min-width:0;min-inline-size:0;max-width:100%;width:100%;text-align:left}
input::-webkit-date-and-time-value{text-align:left;min-width:0}
input::-webkit-datetime-edit{min-width:0;padding:0}
.calendar-controls input[type="month"]{width:170px;max-width:100%;flex:0 1 170px}
.calendar-scroll{max-width:100%;min-width:0;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.row>span,.punct-description,.muted{overflow-wrap:anywhere}
button{max-width:100%;white-space:normal}
@media(max-width:700px){
 .wrap{width:100%;max-width:100%}
 input,select,textarea{font-size:16px}
 .calendar-controls{width:100%;max-width:100%}
 .row>form{width:100%}
 .tabs button{min-width:0;overflow-wrap:anywhere}
}
.phone-only{display:none}
@media(max-width:700px){
 body{font-size:15px;-webkit-text-size-adjust:100%;text-size-adjust:100%}.wrap{padding:12px max(12px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left))}.brand{margin-bottom:12px;padding-bottom:12px}.brand-logo{width:112px}.brand-logo img{width:112px}.brand small{font-size:8px;letter-spacing:1.1px}.brand-tag{display:block;font-size:11px;padding:0}.tabs{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;gap:3px;padding-bottom:3px}.tabs button{flex:0 0 auto;white-space:nowrap;font-size:13px;padding:12px;min-height:46px}.panel>h1{font-size:24px;line-height:1.25;margin:22px 0 15px}button{min-height:44px;touch-action:manipulation}input,select,textarea{font-size:16px;min-height:48px}.card{padding:16px;margin:14px 0}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid .card{margin:0;padding:14px}.grid .card:last-child{grid-column:1/-1}.grid h2{font-size:23px}.row{gap:10px}.row>span:last-child{display:flex;gap:8px;flex-wrap:wrap}.punct-metrics{max-width:100%}
 .phone-only{display:block}#planning>.card{padding:12px}.calendar-toolbar{display:block}.calendar-toolbar h2{font-size:22px;margin-bottom:12px}.calendar-controls{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:7px}.calendar-controls input[type=month]{width:100%;max-width:100%;min-width:0;font-size:16px}.calendar-controls button{padding:8px}#currentMonth{grid-column:1/3}#reloadCalendar{grid-column:3;font-size:11px;padding:3px}#planning .legend{gap:12px;font-size:11px;margin:16px 0}.phone-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:14px 0 18px}.phone-weekday{text-align:center;color:#737c86;font-size:11px;padding:5px}.phone-day{height:48px;min-width:0;padding:4px 0;border:1px solid #edeef0;border-radius:8px;background:#fdfcf9;color:#414953;font-size:14px;line-height:1.1}.phone-day.phone-today{border-color:#b98b35}.phone-day.phone-selected{background:#f6eedc;border-color:#b98b35;color:#674b1a;font-weight:700}.phone-dots{height:8px;display:flex;gap:2px;justify-content:center;margin-top:5px}.phone-dots i{width:5px;height:5px;border-radius:50%}.phone-dots .conge{background:#4389d0}.phone-dots .absent{background:#db7b37}.phone-dots .recovery{background:#9063c6}.phone-day-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:20px 0 12px}.phone-day-heading h3{font-size:15px;font-weight:600;line-height:1.3;margin:0;text-align:center;text-transform:capitalize}.phone-day-heading button{flex:0 0 40px;padding:5px}.phone-employee{padding:15px 13px;margin:9px 0;border:1px solid #e3e7eb;border-radius:11px;background:#fefdfa}.phone-employee-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.phone-employee-top>div{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.phone-status{padding:4px 8px;font-size:11px;border-radius:6px;font-weight:500}.phone-hours{font-variant-numeric:tabular-nums;font-size:17px;color:#39434f;margin-top:9px}.phone-pause{font-size:12px;color:#65717e;margin-top:4px}.phone-caption{font-size:11px;color:#76808b;margin-top:7px;line-height:1.4}#phoneToday,#phoneTableToggle{width:100%;margin-top:9px}.phone-table-hint{font-size:11px;color:#697580}#planning #team,#planning #calendarDetail{display:none}#planning.phone-show-table #team,#planning.phone-show-table #calendarDetail{display:block}#planning #team{margin-top:12px;max-height:65vh}.calendar-note{font-size:11px;line-height:1.5}
 #cpTeamRows,#payrollRows{min-width:0}#cpTeamRows .calendar-scroll,#payrollRows .calendar-scroll{border:0;max-height:none;overflow:visible}.phone-report,.phone-report tbody{display:block;width:100%}.phone-report thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.phone-report tbody tr{display:block;border:1px solid #e1e5e9;border-radius:11px;margin:12px 0;overflow:hidden}.phone-report tbody th:first-child{display:block;position:static;min-width:0;width:100%;height:auto;padding:13px 14px!important;background:#f3f5f7;font-size:15px;border:0}.phone-report tbody td{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:14px;align-items:center;width:100%;min-width:0!important;height:auto;min-height:44px;padding:11px 14px!important;text-align:right;border-right:0;border-bottom:1px solid #edf0f2;overflow-wrap:anywhere;background:#fefdfa!important}.phone-report tbody td::before{content:attr(data-label);text-align:left;font-size:12px;color:#66717d;line-height:1.4}.phone-report tbody td:last-child{border-bottom:0}.phone-report td strong{font-size:15px}.phone-cell-value{min-width:0;overflow-wrap:anywhere}.phone-report td br{display:initial}
}
#sickForm{max-width:760px}.sick-dates{display:grid;grid-template-columns:1fr 1fr;gap:14px}.sick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.sick-actions h2{flex:1}.sick-picker{display:inline-flex;align-items:center;justify-content:center;margin:0;cursor:pointer;min-height:46px}.sick-selection{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:16px 0}.sick-preview{border:1px solid var(--line);border-radius:12px;padding:12px;overflow-wrap:anywhere}.sick-preview img{width:100%;height:130px;object-fit:contain}.sick-preview p{font-size:13px}.sick-doc-files{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.sick-state{display:inline-block;border-radius:8px;padding:5px 10px;background:#edf3f9;color:#245c87;font-size:13px}.sick-state.sent{background:#edf5ed;color:#326047}.sick-state.uncertain,.sick-state.failed{background:#fbede2;color:#8c4626}.sick-dialog{border:1px solid var(--line);border-radius:16px;background:var(--card,#fefdfa);color:var(--ink);padding:24px;width:620px;max-width:calc(100vw - 28px);max-height:85dvh;overflow:auto;box-sizing:border-box}.sick-dialog::backdrop{background:rgb(25 30 35 / 40%)}.sick-dialog pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere}.sick-dialog img{display:block;max-width:100%;max-height:60vh;margin:auto}.sick-dialog iframe{width:100%;height:55vh;border:0}.sick-dialog a{display:inline-block;text-decoration:none;margin-top:16px}.sick-dialog p{overflow-wrap:anywhere}
@media(max-width:600px){.sick-dates{grid-template-columns:1fr;gap:0}.sick-actions>.sick-picker{flex:1 1 100%}.sick-dialog{padding:18px}.sick-doc-files button{width:100%;text-align:left;overflow-wrap:anywhere}.sick-selection{grid-template-columns:1fr 1fr}}

.supply-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:20px}.supply-group{min-width:0;margin:0;padding:16px;border:1px solid #e8dcc4;border-radius:14px}.supply-group legend{font-weight:600;padding:0 6px}.supply-choice{display:flex!important;align-items:center;gap:12px;min-height:48px;padding:8px 0;cursor:pointer;font-weight:400!important}.supply-choice input[type=checkbox]{appearance:auto!important;width:22px!important;height:22px!important;min-width:22px!important;margin:0!important;padding:0!important;accent-color:#b98b35;flex:0 0 22px}.supply-choice span{overflow-wrap:anywhere}.supply-confirm{margin-top:20px}.supply-choice:has(input:checked){color:#79551c}.supply-choice:focus-within{outline:2px solid #b98b35;outline-offset:3px}@media(max-width:600px){.supply-grid{grid-template-columns:1fr}.supply-group{padding:12px}#supplySend{width:100%}}
.tabs-supplies{display:flex;align-items:stretch;flex:0 0 auto;border-left:2px solid #d7b36a;margin-left:8px;padding-left:12px}@media(max-width:700px){.tabs-supplies{margin-left:6px;padding-left:9px}}

.pack-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:14px}.pack-item{border:1px solid #e8dcc4;border-radius:14px;padding:18px;background:#fbfaf6;min-width:0}.pack-item label{margin:0 0 12px;line-height:1.45}.pack-item small{display:block;color:#626971;margin:6px 0 14px}.pack-stepper{display:flex;align-items:center;gap:10px}.pack-stepper input{width:76px;min-width:0;text-align:center;margin:0;padding:10px;font-size:16px}.pack-stepper button{width:44px;height:44px;min-width:44px;padding:0;font-size:22px}.pack-total{margin:12px 0 0;color:#626971;font-size:14px}.pack-actions{margin-top:22px}.pack-confirm{display:flex;align-items:flex-start;gap:12px}.pack-confirm input{width:20px;flex:0 0 20px;margin-top:4px}.pack-group-title{margin:26px 0 14px}.pack-actions button{margin:8px 8px 8px 0;min-height:44px}.pack-status{padding:14px;border-left:3px solid #b98b35;background:#fbf5e8;border-radius:8px;overflow-wrap:anywhere}@media(max-width:600px){.pack-actions button{width:100%;margin-right:0}.pack-item{padding:16px}}

#tabs{display:flex;flex-direction:column;align-items:stretch;gap:0;overflow:visible;white-space:normal;padding:0;border-bottom:0}.nav-group{display:flex;flex-direction:column;min-width:0;padding:12px 0;border-bottom:1px solid #e8dcc4}.nav-group-title{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#85652f;margin:0 12px 6px}.nav-group-items{display:flex;flex-wrap:wrap;gap:4px;min-width:0}.photo-trigger{width:100%;min-height:48px;margin:6px 0}input[type=file][hidden]{display:none!important}@media(max-width:680px){#tabs .nav-group-items{flex-wrap:nowrap;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}#tabs .nav-group-items button{flex:0 0 auto;white-space:nowrap;min-height:44px}.nav-group{padding:9px 0}}

.pack-status.franco-ok{color:#17613a;background:#edf7ef;border-left-color:#2c8550;font-weight:600}.pack-status.franco-no{color:#a12525;background:#fff0ed;border-left-color:#bb3434;font-weight:600}.pack-product-photo{float:right;width:96px;height:120px;object-fit:contain;mix-blend-mode:multiply;margin:0 0 12px 16px}.pack-illustrated{display:flow-root}.pack-illustrated .pack-stepper{clear:both}@media(max-width:420px){.pack-product-photo{width:76px;height:100px;margin-left:10px}}


.daily-process-card{border-left:4px solid #b98b35!important;background:#fbf9f3!important;margin-bottom:24px}
.daily-eyebrow{color:#98722e;font-size:13px;font-weight:700;letter-spacing:.09em;margin-top:0}
.daily-process-card>h2{font-size:clamp(24px,3vw,32px);line-height:1.25;margin:10px 0 16px}.daily-intro{max-width:1000px;line-height:1.65}
.daily-process{list-style:none!important;padding:0!important;margin:28px 0!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.process-step{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:start;gap:15px;background:#fdfbf6;border:1px solid #e8dcc4;border-radius:14px;padding:22px;min-width:0;margin:0!important}
.step-number{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#f1e5ca;border:1px solid #d7b36a;color:#765319;font-size:21px;font-weight:750;line-height:1;flex-shrink:0}
.process-step h3,.daily-principles h3{display:flex;align-items:center;gap:10px;font-size:18px;line-height:1.4;margin:8px 0 12px;color:#715321}.process-step h3 span,.daily-principles h3 span{min-width:0}
.process-icon{width:23px;height:23px;flex:0 0 23px;color:#a47a2d;overflow:visible}.process-step p,.daily-principles p{margin:0;line-height:1.65;overflow-wrap:anywhere}
.process-critical{grid-column:1/-1;background:#fcf4e1;border:2px solid #b98b35;padding:21px}.process-critical .step-number{background:#b98b35;border-color:#b98b35;color:#fff}.process-critical h3{font-size:21px}
.process-alert{margin-top:16px!important;padding:12px 16px;border-left:3px solid #a76d16;background:#fffaf0;border-radius:0 8px 8px 0}.process-alert strong{display:block;margin-bottom:4px;color:#815718;font-size:14px}
.process-detail{margin-top:12px!important;font-size:14px;color:#61676b}.daily-permanent{padding-top:24px;border-top:1px solid #e8dcc4}.daily-permanent>h2{font-size:23px;margin:0 0 20px}.daily-principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.daily-principles article{min-width:0}.daily-principles h3{align-items:flex-start;margin:0 0 12px}.daily-principles .process-icon{margin-top:2px}
#tabs .nav-group-title{display:flex;align-items:center;gap:9px}#tabs .section-title-icon{width:20px;height:20px;flex:0 0 20px;stroke:currentColor;opacity:.95}
@media(max-width:1000px){.daily-principles{grid-template-columns:1fr;gap:20px}.daily-principles article+article{border-top:1px solid #e8dcc4;padding-top:18px}}
@media(max-width:680px){.daily-process-card{padding:18px!important}.daily-process{grid-template-columns:1fr;gap:14px}.process-step{grid-template-columns:36px minmax(0,1fr);gap:11px;padding:16px}.step-number{width:36px;height:36px;font-size:18px}.process-critical{padding:15px}.process-step h3,.process-critical h3{font-size:17px;margin-top:5px;align-items:flex-start;gap:8px}.process-icon{width:20px;height:20px;flex-basis:20px}.process-step h3 .process-icon{margin-top:2px}.process-step p,.daily-principles p{font-size:15px}.daily-permanent>h2{font-size:21px}.process-alert{padding:10px 12px}.daily-process-card>h2{font-size:25px}#tabs .nav-group-title{gap:8px}#tabs .section-title-icon{width:18px;height:18px;flex-basis:18px}}


.followup-filter{display:flex;flex-direction:column;gap:5px;min-width:170px;flex:1}.followup-filter[hidden]{display:none!important}.v22-board-filter{align-items:end;gap:12px}.v22-board-filter>select{flex:1;min-width:145px}.followup-check{display:flex;align-items:center;gap:8px;min-height:46px}.followup-check input{width:auto}.followup-heading{display:flex;align-items:start;justify-content:space-between;gap:15px}.followup-heading h2{margin:0 0 12px}.followup-category{font-size:13px;color:#84632a;margin:0 0 7px;letter-spacing:.035em}.followup-meta{display:flex;flex-wrap:wrap;gap:12px 25px;border-top:1px solid #e8dcc4;padding-top:12px;margin:16px 0}.followup-edit{margin-top:16px;border-top:1px solid #e8dcc4;padding-top:16px}.followup-edit summary{cursor:pointer;color:#765319;font-weight:600}.followup-form{margin-top:16px}.followup-form label{display:block}.followup-form input,.followup-form select,.followup-form textarea{width:100%;box-sizing:border-box}.followup-ticket{overflow-wrap:anywhere}.followup-form .v22-grid{align-items:start}.followup-form>.v22-grid+label,.followup-form>label{margin:14px 0}.followup-link{margin:16px 0}.v22-photos[hidden]{display:none!important}
@media(max-width:680px){.followup-heading{display:block}.followup-heading .v22-badge{display:inline-block;margin:0 0 12px}.v22-board-filter{display:grid;grid-template-columns:minmax(0,1fr)}.followup-filter,.v22-board-filter>select{min-width:0;width:100%;max-width:100%}.followup-meta{display:grid;gap:7px}.followup-form .v22-grid{grid-template-columns:minmax(0,1fr)}}

.followup-latest{background:#f5f8f1;border:1px solid #cbd8bd;border-left:4px solid #687d4d;border-radius:12px;padding:18px;margin:20px 0}.followup-latest h3{margin:0 0 8px;font-size:1rem;color:#40502f}.followup-reply-author{font-size:.85rem;color:#5b6355}.followup-reply-text{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:0}.followup-ticket .v22-view{white-space:normal;max-width:100%}

.v22-form{max-width:920px}.v22-form label{display:block;margin:16px 0 8px}.v22-form input,.v22-form select,.v22-form textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0;font-size:16px}.v22-form input[type=checkbox]{width:22px;height:22px;margin-right:10px}.v22-form .v22-consent{display:flex;align-items:flex-start;gap:8px}.v22-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.v22-search-results{display:grid;gap:6px;margin-top:8px}.v22-result{display:flex;align-items:center;gap:12px;text-align:left;width:100%;background:#fffdf8;border:1px solid #e4d6bb;border-radius:12px;padding:12px;min-height:56px;color:#30343a}.v22-result img{width:48px;height:54px;object-fit:contain;flex-shrink:0}.v22-result span{min-width:0;overflow-wrap:anywhere}.v22-selected{display:grid;gap:8px;margin:14px 0}.v22-selected article{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:12px;border:1px solid #e6dac3;border-radius:12px}.v22-selected article>span{flex:1;min-width:160px;overflow-wrap:anywhere}.v22-selected input{width:88px}.v22-preview{display:block;max-height:260px;max-width:100%;object-fit:contain;margin:12px 0}.v22-note{background:#f6f0e3;border:1px solid #dfcda8;padding:16px;border-radius:12px;overflow-wrap:anywhere}.v22-ticket{padding:18px;margin:12px 0;border:1px solid #ded5c4;border-radius:16px;background:#fffdf9;overflow-wrap:anywhere}.v22-ticket h2{font-size:20px;margin:0 0 8px}.v22-ticket .btn{margin:6px 6px 6px 0}.v22-ticket small{display:block;color:#626a72}.v22-badge{display:inline-block;padding:5px 10px;border-radius:20px;background:#fbe9df;color:#8b3419;margin:8px 0}.v22-badge.progress{background:#fff2cd;color:#705400}.v22-badge.resolved{background:#e6f4e8;color:#17613a}.v22-ticket select,.v22-ticket textarea{font-size:16px;max-width:100%;box-sizing:border-box}.v22-ticket textarea{display:block;width:100%;margin:8px 0}.v22-history{border-left:3px solid #d7be86;padding-left:14px;margin:12px 0}.v22-muted{color:#656d75;font-size:14px}.v22-message{white-space:pre-line;overflow-wrap:anywhere}.v22-error{color:#a12525}.v22-success{color:#17613a}.v22-photos img{max-width:100%;max-height:480px;display:block;margin:12px 0}.v22-board-filter{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.v22-board-filter select{width:auto;max-width:100%;min-height:44px}.v22-hidden{display:none!important}@media(max-width:680px){.v22-grid{grid-template-columns:1fr}.v22-form{padding:16px}.v22-ticket{padding:14px}.v22-selected article>span{min-width:100%;}.v22-ticket select{width:100%}}



#pilotage .board-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0 12px}
#pilotage .board-stage{border:1px solid #d7c7a7;border-radius:12px;padding:15px 10px;background:#fffdf8;color:#51432c;font:inherit;font-weight:600;cursor:pointer;min-width:0}
#pilotage .board-stage[aria-pressed="true"]{background:#ede2cb;border-color:#a17a33;color:#493817;box-shadow:inset 0 -3px #a17a33}
#pilotage .board-stage:hover{background:#f2e9d8}
#pilotage .board-guide{color:#626873;font-size:14px;line-height:1.6;margin-bottom:20px}
#pilotage .board-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 8px}
#pilotage .board-actions .btn{min-height:44px;white-space:normal}
#pilotage .followup-ticket{padding:20px;margin-bottom:16px}
#pilotage .followup-heading h2{font-size:20px;margin-bottom:7px}
#pilotage .followup-latest{margin:12px 0;padding:12px 16px}
#pilotage .ticket-products{margin:12px 0;color:#555}
#pilotage .ticket-products summary{cursor:pointer;font-weight:600}
#pilotage .v22-badge.archived{background:#eceef1;color:#535963}
@media(max-width:600px){#pilotage .board-stages{gap:6px}#pilotage .board-stage{padding:12px 5px;font-size:13px}#pilotage .followup-ticket{padding:16px}#pilotage .board-actions .btn{flex:1}}


.time-guidance{margin:0 0 24px;padding:12px 0;color:#687078;line-height:1.6;font-size:14px;border-bottom:1px solid #e8dcc4}
.time-balance-card{background:#f7f5ef;border:1px solid #e3d9c7;border-radius:16px;padding:24px;margin:0 0 20px}
.time-balance-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.time-balance-heading h2{font-size:28px;line-height:1.2;margin:8px 0;color:#3b443e}.time-balance-heading p{margin:7px 0}.time-eyebrow{font-size:13px;color:#687078;letter-spacing:.03em}
.time-balance-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid #e3d9c7;margin-top:18px;padding-top:18px}.time-balance-metrics span{display:flex;flex-direction:column;gap:6px;color:#666;font-size:14px}.time-balance-metrics strong{font-size:20px;color:#3b443e}
.time-impact{padding:14px 16px;background:#f3f6f3;border-radius:10px;color:#46564a;line-height:1.6;min-height:48px}.time-recoveries p{border-left:2px solid #b4c4b5;padding-left:12px;margin:12px 0}.time-recoveries small{display:block;color:#757575}.time-remaining{color:#516454}.time-history-ticket{padding:18px!important}.time-balance-card .muted{font-size:13px;margin-bottom:0}
@media(max-width:650px){.time-balance-card{padding:18px}.time-balance-heading{display:block}.time-balance-heading h2{font-size:25px}.time-balance-heading .btn{width:100%;margin-top:12px}.time-balance-metrics{gap:12px}.time-balance-metrics span{font-size:12px}.time-impact{font-size:14px}}


.time-person-picker{margin:20px 0}.time-person-picker select{width:100%}.time-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:24px}.time-actions button{padding:16px;text-align:left;border:1px solid #d9d4c9;background:#fffdf9;color:#424b46;border-radius:12px;cursor:pointer;font:inherit}.time-actions strong,.time-actions span{display:block}.time-actions span{font-size:13px;margin-top:6px;color:#6c746d}.time-actions button[aria-pressed=true]{border:2px solid #6c8874;background:#edf3ed;padding:15px}.time-actions button:hover{background:#f2f5ef}.time-duration{border:0;padding:0;margin:16px 0 24px}.time-duration legend{font-weight:600;margin-bottom:10px}.time-duration-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.time-duration-fields input{width:100%;font-size:22px!important}.time-presets{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.time-presets button{border:1px solid #d9d4c9;background:#faf8f2;border-radius:8px;padding:10px 18px;color:#514b3b;cursor:pointer;font:inherit}.time-overview{display:grid;grid-template-columns:2fr 1fr;gap:28px}.time-extra{border-left:1px solid #ddd7cb;padding-left:24px}.time-extra strong{font-size:28px;display:block;color:#4b637c}.time-extra small{display:block;margin-top:8px;color:#67707b}.time-extra p{font-size:14px}.time-recovery h2{margin-top:4px}.time-recovery label{font-size:14px}.time-recovery progress{display:block;width:100%;height:18px;appearance:none;border:0;border-radius:20px;overflow:hidden;margin:16px 0 10px;background:#e2e6df}.time-recovery progress::-webkit-progress-bar{background:#e2e6df;border-radius:20px}.time-recovery progress::-webkit-progress-value{background:#7c9984;border-radius:20px}.time-recovery progress::-moz-progress-bar{background:#7c9984;border-radius:20px}.gauge-labels{display:flex;justify-content:space-between;gap:12px;font-size:14px;margin-bottom:20px}.time-guidance{font-size:14px}#time label[hidden],#time [hidden]{display:none!important}@media(max-width:600px){.time-overview{grid-template-columns:1fr;gap:20px}.time-extra{border-left:0;border-top:1px solid #ddd7cb;padding:16px 0 0}.time-actions button{padding:13px}.time-actions button[aria-pressed=true]{padding:12px}.time-actions strong{font-size:15px}.time-presets button{flex:1;padding:10px}.time-balance-card{padding:18px}}

#timeActionDialog{width:min(92vw,520px);max-height:85dvh;overflow:auto;box-sizing:border-box;border:1px solid #ded6c7;border-radius:18px;padding:22px;background:#fffdf9;color:#424b46}#timeActionDialog::backdrop{background:rgba(30,36,31,.4)}#timeActionDialog h2{font-size:21px;margin:0 0 20px}#timeActionDialog .time-actions{grid-template-columns:1fr}#timeActionDialog button{min-height:48px}#timeActionDialog .time-actions button:focus-visible{outline:3px solid #a78038;outline-offset:2px}
