/* V65 — interfaccia compatta mobile first */
#v65Dashboard{margin:12px 0 18px;display:grid;gap:10px}#v65Dashboard .v65-head{border-radius:16px;padding:17px;background:linear-gradient(135deg,#172e40,#234e62);color:white;display:grid;gap:12px}#v65Dashboard .v65-head span{font-size:10px;letter-spacing:.1em;opacity:.75}#v65Dashboard .v65-head h2{margin:4px 0;font-size:22px;color:white}#v65Dashboard .v65-head p{margin:0;font-size:13px;color:#e4eff5}#v65Dashboard .v65-head button{background:white;color:#142b3d;border:0;border-radius:10px;padding:12px;font-weight:700}#v65Dashboard .v65-dash-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#v65Dashboard .v65-dash-actions button{min-width:0;white-space:normal;min-height:52px;border-radius:12px;padding:10px;font-weight:650}#home #v64PlannerHero{display:none!important}#menu>.v35-menulist{display:none!important}#v65Menu{display:grid;gap:9px}#v65Menu .v65-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 8px}#v65Menu .v65-switch button{font-size:13px;min-width:0;white-space:normal;padding:12px 7px;background:#f0f3f5;color:#223645;border:1px solid #d9e1e5;border-radius:12px}#v65Menu .v65-switch button.selected{background:#17384a;color:white;border-color:#17384a}#v65Menu h3{font-size:14px;margin:13px 0 1px}#v65Menu .v65-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#v65Menu .v65-menu-grid button{display:flex;align-items:center;gap:9px;text-align:left;min-width:0;min-height:60px;border:1px solid #dce5e8;border-radius:13px;padding:9px;background:#fff;color:#1c3440;font-size:13px;font-weight:650;white-space:normal;overflow-wrap:anywhere}#v65Menu .v65-icon{font-size:23px;flex:none}#v65Personnel input{box-sizing:border-box;max-width:100%;width:100%;font-size:16px;padding:12px;margin:10px 0}#v65People{display:grid;gap:9px}#v65People .v65-person{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dce3e7;border-radius:12px;padding:12px;min-width:0}#v65People .v65-person>div{min-width:0;overflow-wrap:anywhere}#v65People small{display:block;color:#66757d;margin-top:4px}#v65People button{flex:none;border-radius:10px;padding:9px;font-size:13px}#v65People button.archive{background:#fff5f4;color:#a12525;border:1px solid #e5c1c1}#v65People button.restore{background:#e6f5ec;color:#15663a;border:1px solid #b2d8c3}@media(max-width:400px){#v65Menu .v65-menu-grid button{font-size:12px;gap:6px}#v65Menu .v65-icon{font-size:20px}}
#home #homeAvailability24 {
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 22px;
  align-items:center;
  gap:12px;
  min-height:64px;
  margin:0 0 14px;
  padding:10px 14px;
  border-radius:12px;
  background:#174868;
  color:#fff;
  text-align:left;
  font-size:1rem;
}
#home #homeAvailability24 svg:first-child {
  width:44px;
  height:44px;
  padding:8px;
  border-radius:10px;
  background:#ffffff24;
}
#home #homeAvailability24 .availability-chevron {width:22px;height:22px}
#home .v35-shortcuts button > svg {
  width:48px!important;
  height:48px!important;
  padding:7px;
  border-radius:12px;
  background:#edf3fa;
  color:#123e61!important;
  stroke:currentColor!important;
}
#home .v35-shortcuts button[data-view="squads"] > svg {
  background:#e8f3ef;
  color:#185d48!important;
}
#home .v35-shortcuts button[data-view="notices"] > svg {
  background:#fff0db;
  color:#764300!important;
}
#home .v35-shortcuts button[data-view="interventions"] > svg,
#home .v35-shortcuts button[data-view="emergency"] > svg {
  background:#fce9e9;
  color:#902535!important;
}
#home #homeAvailability24:focus-visible,
#home .v35-shortcuts button:focus-visible {
  outline:3px solid #1b6c9d;
  outline-offset:2px;
}
#home #antilloPushPanel {
  padding:14px;
  background:#f3f7fa;
  border:1px solid #d8e4ed;
}
#home #antilloPushPanel h3 {color:#174868}
#home #antilloPushPanel p {margin:6px 0 10px}
#home #antilloEnablePush {margin-right:0}
#home #antilloPushMsg:empty {display:none}
.antillo-icon-defs{position:absolute;pointer-events:none}
#v65Menu .v65-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:10px;background:#edf3fa;color:#174868}
#v65Menu .v65-icon svg{width:27px;height:27px}
#v65Menu [data-go="emergency"] .v65-icon{background:#fce9e9;color:#902535}
#v65Menu [data-go="calendar"] .v65-icon,#v65Menu [data-go="squads"] .v65-icon{background:#e8f3ef;color:#185d48}
#v65Menu .v65-switch button,#home #antilloPushPanel h3{display:flex;align-items:center;gap:8px}
#v65Menu .v65-switch svg,#home #antilloPushPanel h3 svg{width:22px;height:22px;flex:none}
#home #homeAvailability24{background:#b7192d}
#home #homeAvailability24 strong,#home #homeAvailability24 small{display:block}
#home #homeAvailability24 small{margin-top:3px;font-size:.78rem;color:#fff4f5}
#home .v55-detail-date{grid-column:1/-1;font-size:.9rem}
#home .v55-turn-code.v55-active{background:#a6efb9;color:#104c29}
#home #v39EmergencyAlert:not([hidden]) {
  background:#ffe8ec;
  border-color:#a8132a;
  animation:antillo-emergency-pulse 2s ease-in-out infinite;
}
#home #v39EmergencyAlert .v39-pulse{animation:none}
@keyframes antillo-emergency-pulse {
  50% {background:#ffc6d0;box-shadow:0 0 0 5px #bd193544}
}
@media(prefers-reduced-motion:reduce) {
  #home #v39EmergencyAlert:not([hidden]){animation:none}
}
.emergency-live{border-left:4px solid #16814a;background:#f3faf6}
.emergency-live-summary{margin:4px 0;color:#28543d}
.emergency-live-list{margin:8px 0;padding-left:27px}
.emergency-live-list:empty{display:none}
.emergency-live-list li{padding:7px 0;border-top:1px solid #d8e6dd}
.emergency-live-list strong{overflow-wrap:anywhere}
.emergency-live-list span{display:inline-block;margin:0 6px;color:#425668;font-size:.9rem}
.emergency-live-list time{display:inline-block;color:#28543d;font-variant-numeric:tabular-nums;font-weight:750}
#emergencyComposer .emergency-select-member {
  display:grid;
  grid-template-columns:22px minmax(0,1fr) auto;
  align-items:center;
  gap:4px 8px;
  cursor:pointer;
  min-height:44px;
}
.emergency-select-member input {width:20px;height:20px;margin:0;grid-row:span 2}
.emergency-select-member strong {overflow-wrap:anywhere}
.emergency-select-member span {grid-row:2;grid-column:2}
.emergency-select-member small {grid-row:1;grid-column:3;font-variant-numeric:tabular-nums}
.composition-summary{padding:9px 11px;border-radius:8px;background:#fff4e3;color:#673900;font-weight:750}
.composition-summary[data-ready="true"]{background:#d9f3e4;color:#164b2c}
#squadEditor .squad-person-choice{min-height:44px;margin:0;cursor:pointer}
#squadEditor #v38Assist{margin-bottom:12px}
#v38SuggestMsg:empty{display:none}
#loginForm .login-primary {
  width:100%;
  min-height:54px;
  margin-top:4px;
  font-size:1.14rem;
  background:#af1429;
  color:#fff;
}
#loginHelp {
  display:grid;
  gap:10px;
  margin-top:28px;
  padding-top:16px;
  border-top:1px solid #dce5ed;
}
#loginHelp h3{margin:0;color:#40586d;font-size:.94rem}
#loginHelp button{
  width:100%;
  min-height:44px;
  background:#edf3f8;
  color:#173a56;
  border:1px solid #d5e1eb;
}
#loginForm .login-primary:focus-visible,#loginHelp button:focus-visible {
  outline:3px solid #225d88;
  outline-offset:2px;
}
#home .admin-planner-shortcut{margin:12px 0}
#home .admin-planner-shortcut button{min-height:44px;background:#edf3f8;color:#173a56}
#emergencyAdminList summary{cursor:pointer;font-weight:750;padding:8px 0}
#v65ReadyTeams{border-left:4px solid #16814a;background:#f3faf6}
#v65ReadyTeams p{margin:4px 0 10px;color:#385a48}
.ready-team-list details{border-top:1px solid #d7e6dd;padding:8px 0}
.ready-team-list summary{cursor:pointer;font-weight:750;padding:5px 0;min-height:36px}
.ready-team-list ol{padding-left:24px}
.ready-team-list li{margin:6px 0;overflow-wrap:anywhere}
.menu-operational-turn{border-left:4px solid #16814a;background:#e8f7ee;color:#164b2c}
.menu-operational-turn p{margin:5px 0 0}
#squadRoster .squad-person-choice,#squadRoster .squad-role-label,#squadRoster .person-info{min-width:0}
#squadRoster .person-info{overflow-wrap:anywhere}
#squadRoster .squad-role-select{max-width:100%}
#squadRoster .squad-person:not(.checked) .squad-role-label{display:none}
@media(max-width:650px){
  #squadRoster .squad-person{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  #squadRoster .squad-role-label{margin:0}
  #squadRoster .squad-role-select{width:100%;min-height:44px;font-size:16px}
}
.fuel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fuel-grid input,.fuel-grid select,#fuelReceipt{min-width:0;max-width:100%;font-size:16px}
.fuel-reserve{display:flex;align-items:center;gap:8px;min-height:44px}
.fuel-reserve input{width:20px;height:20px;margin:0}
.fuel-report-scroll{overflow-x:auto}
.fuel-report-scroll table{min-width:640px}
#mealSummaryContent .meal-summary-table th:not(:first-child),
#mealSummaryContent .meal-summary-table td:not(:first-child){text-align:right}
#mealSummaryContent .meal-summary-table tfoot{font-weight:750;background:#edf4f8}
