:root{--mobile-gold:#946b26;--mobile-ink:#292d30;--mobile-border:#e8dfcf;--mobile-paper:#fbfaf7}
html{scroll-padding-top:80px}body{background:var(--mobile-paper);color:var(--mobile-ink);font-size:16px;line-height:1.55;-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}[hidden]{display:none!important}.hidden{display:none!important}button{cursor:pointer}button,input,select,textarea{font-size:1rem;min-height:48px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #906722;outline-offset:3px}svg{flex-shrink:0}h1,h2,h3,p{overflow-wrap:break-word}h1{font-size:1.7rem;line-height:1.25;letter-spacing:-.025em}h2{font-size:1.25rem}h3{font-size:1.05rem}h1:focus{outline:none}.wrap{max-width:960px;margin:0 auto;padding:0 20px calc(108px + env(safe-area-inset-bottom))}.brand{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;min-height:78px;margin:0 -20px 18px;padding:10px 20px;background:rgba(251,250,247,.97);border-bottom:1px solid var(--mobile-border)}.brand-logo,.brand-logo img{width:108px;max-height:62px;object-fit:contain}.brand-tag{margin:0;padding:0;font-size:.78rem;text-transform:uppercase;letter-spacing:.1em;color:#76613c}.mobile-header-actions{margin-left:auto;display:flex;gap:8px}.mobile-header-actions button{width:44px;min-height:44px;padding:10px;background:white;border:1px solid var(--mobile-border);border-radius:12px;color:var(--mobile-gold)}.mobile-header-actions svg{width:22px;height:22px}#tabs{display:none!important}.panel>h1{margin:16px 0 8px}.panel>p{margin-top:0;color:#5d6269}.card{padding:20px;border:1px solid var(--mobile-border);box-shadow:none;border-radius:18px;background:#fff}.mobile-lead{font-size:1rem;color:#676b70;margin:4px 0 26px}.mobile-menu-group{margin:24px 0}.mobile-menu-group h2{display:flex;align-items:center;gap:10px;color:#856123;letter-spacing:.055em;text-transform:uppercase;font-size:.83rem;margin:0 0 12px;font-weight:700}.mobile-menu-group h2 svg{width:21px;height:21px}.mobile-menu-item{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:18px;text-align:left;background:#fff;border:1px solid var(--mobile-border);border-radius:14px;margin:9px 0;color:var(--mobile-ink);min-width:0}.mobile-menu-item strong{display:block;font-size:1rem;font-weight:650;line-height:1.35}.mobile-menu-item small{display:block;margin-top:5px;font-size:.875rem;color:#77766e;font-weight:400;line-height:1.45}.mobile-menu-item>svg{width:18px;height:18px;color:#a1885c}.mobile-menu-item:active,.mobile-quick button:active{background:#f7f0e2}.mobile-bottom{position:fixed;z-index:40;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,960px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--mobile-border);background:rgba(255,255,255,.98);padding:8px 8px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -3px 20px #2b220509}.mobile-bottom button{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;min-height:58px;border:0;border-radius:12px;background:transparent;color:#77756f;padding:7px 2px;font-size:.79rem;line-height:1.2;white-space:normal}.mobile-bottom svg{height:23px;width:23px}.mobile-bottom button.selected{background:#f6eedf;color:#79551b;font-weight:700}.mobile-breadcrumb{margin:0 0 12px}.mobile-breadcrumb button{display:flex;align-items:center;gap:8px;padding:6px 0;border:0;background:transparent;color:#8c682d;font-size:.94rem}.mobile-breadcrumb svg{width:19px;height:19px}.mobile-date{color:#80745e;font-size:.94rem;text-transform:capitalize}.mobile-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.mobile-quick button{display:flex;align-items:center;gap:10px;text-align:left;padding:15px;border:1px solid #dccaab;border-radius:14px;background:#f8f1e2;color:#77521a;font-size:.92rem;font-weight:600;line-height:1.35}.mobile-quick svg{width:23px;height:23px}.mobile-daily-reminders{border:1px solid var(--mobile-border);border-radius:16px;background:white;padding:16px 18px;margin:20px 0}.mobile-daily-reminders>summary{font-weight:650;color:#79581f;cursor:pointer;min-height:28px}.mobile-daily-reminders .daily-permanent{margin:12px 0 0;padding:0;border:0}.daily-principles{display:grid;grid-template-columns:1fr;gap:14px}.daily-principles article{padding:14px 0 0;border-top:1px solid #eee6d8}.daily-principles p{font-size:.94rem;margin-bottom:0}.daily-principles h3{margin:0 0 6px;font-size:1rem}.daily-process-card{padding:20px 16px!important;border-left:0!important;background:transparent!important;border:0!important}.daily-eyebrow{font-size:.78rem!important;letter-spacing:.09em!important;margin:0!important;color:#886731}.daily-process-card>h2{font-size:1.45rem;line-height:1.3;margin:8px 0 10px}.daily-intro{font-size:.94rem!important}.daily-process{display:grid;grid-template-columns:1fr!important;gap:0!important;margin:24px 0 0;padding:0;list-style:none}.process-step,.process-step.process-critical{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;grid-column:auto;padding:0 0 24px!important;margin:0;border:0!important;border-radius:0;background:transparent!important}.step-number{display:flex;align-items:center;justify-content:center;position:relative;width:32px;height:32px;border:0;border-radius:50%;background:#ad812f;color:white;font-weight:700;font-size:1rem;line-height:1;flex-shrink:0}.process-step-content h3{display:flex;align-items:flex-start;gap:8px;margin:3px 0 8px;color:#5b4826;font-size:1rem}.process-step-content p{font-size:.94rem;line-height:1.6;margin-top:6px}.process-icon{width:20px;height:20px}.process-alert{padding:12px 14px;background:#f4e9d3!important;border-left:3px solid #b88a31;border-radius:8px;font-size:.875rem!important}.process-alert strong{display:block;margin-bottom:6px;color:#704b12}.mobile-account-actions{display:flex;flex-direction:column;gap:10px;margin:26px 0}.mobile-account-actions button{display:flex;align-items:center;justify-content:center;gap:10px;background:white;border:1px solid var(--mobile-border);border-radius:12px}.mobile-account-actions svg{width:20px;height:20px}#personalCards{grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}#personalCards .card{padding:16px}#personalCards .card:last-child{grid-column:1/-1}#personalCards h2{font-size:1.25rem;margin:5px 0}#login{max-width:430px;margin:38px auto}#login h1{font-size:1.7rem}#login label{font-size:.94rem}#login button{width:100%;border-radius:12px}#login input{border-radius:12px;background:white}#phoneLogin{margin:20px 0}.mobile-private{margin:22px 0 0;color:#867b68;font-size:.875rem}.mobile-network{position:sticky;top:0;z-index:60;padding:12px 18px;background:#f8e9c5;border-bottom:1px solid #d9b15e;color:#6d4b19;font-size:.875rem}.mobile-dialog{width:min(440px,calc(100% - 28px));max-height:85dvh;border:1px solid var(--mobile-border);border-radius:20px;padding:22px;color:var(--mobile-ink);background:var(--mobile-paper)}.mobile-dialog::backdrop{background:#19161077}.mobile-dialog-close{float:right;padding:8px 12px;background:white;border:1px solid var(--mobile-border);border-radius:10px}.mobile-dialog h2{clear:both;padding-top:20px}.mobile-dialog h3{color:#785823}.mobile-update{position:fixed;z-index:55;left:50%;bottom:calc(88px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(440px,calc(100% - 24px));padding:16px;border:1px solid #dccaab;border-radius:14px;background:#fff8e7;box-shadow:0 8px 24px #33281122;font-size:.94rem}.mobile-update span{display:block;margin-bottom:10px}.mobile-update button{margin:0 8px 0 0;padding:8px 12px;border-radius:10px}fieldset{min-width:0!important}img{max-width:100%}.v22-ticket,.followup-ticket{overflow-wrap:anywhere}dialog{max-width:calc(100vw - 24px)}.v22-photos img,.journal-photo img{object-fit:contain}.panel{min-width:0}#mobileManage.hidden{display:none!important}#journalGrid{gap:14px}.v22-grid,.pack-grid{gap:12px}textarea{min-height:120px}
@media(max-width:700px){.wrap{padding:0 16px calc(106px + env(safe-area-inset-bottom))}.brand{margin:0 -16px 18px;padding:10px 16px}.panel>h1{font-size:1.55rem}.card{padding:17px}.v22-grid,.pack-grid{grid-template-columns:1fr!important}.v22-form fieldset{padding:14px!important}.v22-form fieldset button{font-size:.875rem}.v22-form .btn{max-width:100%}#personalCards .card:last-child{grid-column:1/-1}.process-step-content h3 .process-icon{display:none}.daily-process-card{padding:12px 0!important}.phone-status,.phone-caption,.phone-weekday,.phone-pause{font-size:.8rem}.phone-month{gap:3px}.phone-day{height:47px}.calendar-controls{grid-template-columns:44px minmax(0,1fr) 44px}.journal-grid{grid-template-columns:1fr!important}.followup-filters{grid-template-columns:1fr!important}.mobile-header-actions{gap:6px}.brand-logo,.brand-logo img{width:93px}.brand-tag{font-size:.7rem}.row{align-items:flex-start;flex-wrap:wrap}.row>span:last-child{max-width:100%}#approvals button{font-size:.94rem}#mobilePersonalPunct .punct-metrics{gap:8px}.mobile-quick button{flex-direction:column;align-items:flex-start}.mobile-menu-item{padding:16px}.mobile-menu-item small{font-size:.875rem}}
@media(min-width:701px){.mobile-quick{max-width:560px}.mobile-hub{max-width:740px;margin:auto}.mobile-daily-reminders .daily-principles{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.daily-process-card{max-width:720px;margin:auto}.mobile-bottom{border-radius:18px 18px 0 0}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Keep every follow-up control in its own grid cell, after all legacy styles. */
#pilotage .v22-board-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:18px;margin:24px 0;min-width:0}
#pilotage .v22-board-filter>.followup-filter{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0;width:100%;max-width:100%;font-size:1rem;line-height:1.45}
#pilotage .v22-board-filter select{display:block;width:100%;min-width:0;max-width:100%;min-height:52px;margin:0;padding:12px 36px 12px 14px;font-size:1rem;box-sizing:border-box}
#pilotage .v22-board-filter .followup-check{display:flex;align-items:center;justify-content:flex-start;gap:12px;margin:0;min-width:0;min-height:48px;line-height:1.45}
#pilotage .followup-check input[type=checkbox]{flex:0 0 24px;width:24px;height:24px;min-height:24px;min-width:24px;margin:0}
#boardRefresh{width:100%;max-width:100%;min-height:52px;margin:0}
#pilotage .followup-heading>div{min-width:0}
#pilotage .followup-form .v22-grid>label{min-width:0}
@media(max-width:700px){#pilotage .v22-board-filter{grid-template-columns:minmax(0,1fr);gap:18px}#pilotage .followup-heading{display:block}#pilotage .followup-heading .v22-badge{display:inline-block;max-width:100%;white-space:normal}#pilotage .followup-meta{display:grid;gap:8px}#pilotage .followup-form .v22-grid{grid-template-columns:minmax(0,1fr)}}
