.notam-integrated{--ink:#182838;--muted:#627789;--sea:#007f86;--sea-d:#006b72;--bg:#f5f8fa;--border:#dfebed;--card:#fff;--radius:18px;--shade:#ecf5f5;--warn:#80571b}.notam-integrated,.notam-integrated *{box-sizing:border-box}.notam-integrated{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--ink)}.notam-integrated{margin:0}.notam-integrated button,.notam-integrated input,.notam-integrated textarea{font:inherit}.notam-integrated a{color:inherit}.notam-integrated button{cursor:pointer}.notam-integrated button:disabled{cursor:wait;opacity:.7}.page{max-width:1120px;margin:0 auto;padding:0 28px}.site-head{display:flex;justify-content:space-between;align-items:center;padding:29px 0;border-bottom:1px solid var(--border)}.brand{text-decoration:none;display:inline-flex;align-items:center;gap:9px}.brand-mark{display:grid;place-items:center;width:35px;height:35px;background:#058690;color:#fff;border-radius:11px}.brand-mark svg{width:22px}.brand-name{font-size:25px;letter-spacing:-1.5px;font-weight:790}.brand-name span{color:var(--sea)}.top-right{display:flex;align-items:center;gap:22px}.lab-chip{font-size:10px;letter-spacing:1.5px;font-weight:800;padding:9px 12px;color:#20747b;background:#e0f0f1;border:1px solid #bce0e1;border-radius:50px}.back{font-size:13px;text-decoration:none;color:var(--muted);font-weight:600}.back:hover{text-decoration:underline}.intro{max-width:780px;margin:61px 0 38px}.eyebrow{font-size:11px;letter-spacing:2.1px;font-weight:800;color:var(--sea);display:flex;align-items:center;gap:11px}.line{width:23px;height:2px;background:var(--sea)}.notam-integrated h1{font-size:clamp(35px,5.4vw,62px);line-height:1.09;letter-spacing:-2.65px;margin:18px 0;color:#182838;font-weight:820}h1 em{font-style:normal;color:var(--sea)}.intro p{font-size:16px;line-height:1.7;max-width:680px;color:var(--muted);margin:0}.notam-widget{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 15px 45px rgba(26,68,80,.055);overflow:hidden}.widget-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:30px 32px 23px}.mini-label{font-size:10px;color:var(--sea);font-weight:850;letter-spacing:1.45px;margin:0 0 8px}.widget-heading h2{font-size:24px;letter-spacing:-.7px;margin:0}.state-pill{font-size:11px;font-weight:700;color:#7b6686;background:#f3f0f7;padding:9px 12px;border-radius:100px;display:flex;align-items:center;gap:8px;white-space:nowrap}.state-dot{height:7px;width:7px;border-radius:50%;background:#9972aa}.state-pill.off{color:#896021;background:#fff4db}.state-pill.off .state-dot{background:#d49635}.state-pill.on{color:#126c48;background:#e3f7ec}.state-pill.on .state-dot{background:#20a66c}.search-line{margin:0 32px;padding:21px 24px 20px;background:#f2f7f8;border-radius:12px;border:1px solid #e4edef}.search-line>label{font-size:12px;font-weight:750;display:block;margin-bottom:10px}.search-controls{display:flex;gap:10px}.field-wrap{flex:1;display:flex;align-items:center;background:#fff;border:1px solid #cbdbdd;border-radius:9px;gap:10px;padding-left:15px;min-width:0}.field-wrap svg{width:19px;color:#8aa0aa}.field-wrap input{border:0;outline:none;width:100%;height:47px;font-size:21px;font-weight:750;letter-spacing:3px;text-transform:uppercase;color:#1a3845;background:transparent}.field-wrap:focus-within{outline:2px solid #3fbbc1;outline-offset:1px}.search-controls>button,#parse-button{border:0;display:flex;align-items:center;justify-content:center;gap:16px;padding:0 23px;border-radius:9px;background:var(--sea);color:#fff;font-weight:700;font-size:14px;min-height:47px;transition:background .15s}.search-controls>button:hover,#parse-button:hover{background:var(--sea-d)}.search-controls>button svg{width:18px}.presets{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:14px}.presets>span{font-size:12px;color:#78909c;margin-right:3px}.presets>button{background:#fff;border:1px solid #d5e2e5;border-radius:6px;padding:4px 9px;color:#536e7d;font-size:11px;font-weight:700;letter-spacing:.5px}.presets>button:hover{border-color:var(--sea);color:var(--sea)}.notice{display:flex;gap:13px;margin:24px 32px;padding:16px 18px;border:1px solid #dce8f5;background:#f2f7fd;border-radius:10px;color:#32516d;font-size:13px;line-height:1.55}.notice.error{border-color:#f5d9d9;background:#fff5f3;color:#88473c}.notice.ok{border-color:#d1eadd;background:#f0faf5;color:#226547}.notice.warn{border-color:#f3e2bc;background:#fff8e8;color:#7d5a21}.notice-symbol{height:20px;width:20px;flex-shrink:0;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;font-weight:850;font-size:12px}.notice strong{display:block;margin-bottom:3px}.notice p{margin:0;word-break:break-word}.results-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:2px 32px 21px;border-bottom:1px solid var(--border)}.results-head h3{font-size:20px;letter-spacing:-.45px;margin:0 0 5px}.results-head p:not(.mini-label){font-size:12px;color:var(--muted);margin:0}.count{min-width:54px;padding:9px 12px;text-align:center;background:#edf4f5;border-radius:9px;font-size:19px;color:var(--sea);font-weight:850}.results{min-height:188px;max-height:620px;overflow-y:auto}.empty{text-align:center;padding:28px 22px 45px}.empty-icon{height:55px;width:55px;margin:auto;display:grid;place-items:center;background:#f0f6f7;border-radius:50%;font-size:25px;color:#74aeb4}.empty h4{font-size:16px;margin:15px 0 6px}.empty p{font-size:13px;color:var(--muted);margin:0}.notam-item{padding:24px 32px;border-bottom:1px solid #e8eff1}.notam-item:last-child{border-bottom:none}.notam-top{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.notam-id{font-size:15px;letter-spacing:.3px;font-weight:800}.notam-place{font-size:11px;color:var(--sea);border:1px solid #b9dcdf;border-radius:6px;padding:5px 8px;font-weight:700}.notam-period{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.6}.notam-body{font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7fafb;border-radius:7px;padding:12px 14px;margin:14px 0 0}.notam-item details{margin-top:12px;font-size:12px;color:var(--muted)}.notam-item summary{cursor:pointer;color:var(--sea);font-weight:700}.notam-item pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow-y:auto;background:#edf4f5;color:var(--ink);padding:16px;border-radius:8px;font-size:12px;line-height:1.5}.source-footer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:17px 32px;background:#fafcfc;border-top:1px solid var(--border);font-size:11px;color:var(--muted)}.source-footer a{color:var(--sea);font-weight:750;text-decoration:none}.secondary-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.tool-card{background:#fff;border:1px solid var(--border);border-radius:13px;padding:21px;display:grid;grid-template-columns:35px 1fr;gap:0 14px;align-items:start}.tool-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d3e8e9;background:#ebf6f6;border-radius:8px;font-size:17px;color:var(--sea)}.tool-card h3{font-size:14px;margin:1px 0 7px}.tool-card p{font-size:12px;line-height:1.6;color:var(--muted);margin:0}.outline-button{grid-column:2;justify-self:start;margin-top:15px;padding:9px 13px;text-decoration:none;color:var(--sea);background:#fff;border:1px solid #b8dadc;border-radius:7px;font-weight:750;font-size:12px}.outline-button span{margin-left:15px}.outline-button:hover{background:#e9f5f5}.import-panel{margin-bottom:20px;background:#fff;border:1px solid var(--border);border-radius:13px;padding:24px}.import-panel h2{font-size:20px;margin:0}.import-panel p{color:var(--muted);font-size:13px;line-height:1.6}.import-panel>label{font-size:12px;font-weight:700;display:block;margin:21px 0 7px}.import-panel textarea{font-size:12px;line-height:1.55;padding:14px;border-radius:8px;border:1px solid #cadae0;width:100%;min-height:140px;resize:vertical;outline-color:var(--sea)}.import-actions{display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin-top:14px}.file-upload{cursor:pointer;color:var(--sea);font-size:12px;font-weight:750}.file-upload input{display:none}.import-feedback{margin:12px 0 0;min-height:15px}.warning{display:flex;gap:15px;background:#fff9ec;border:1px solid #f2e2b9;border-radius:12px;padding:19px 20px;margin:0 0 32px}.warn-symbol{display:grid;place-items:center;flex-shrink:0;font-size:13px;font-weight:850;width:25px;height:25px;border:1.5px solid #a47c2d;color:#a47c2d;border-radius:50%}.warning p{font-size:12px;color:#856331;line-height:1.7;margin:0}.site-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--border);padding:26px 0 36px;color:#879ba6;font-size:11px}@media(max-width:700px){.page{padding:0 16px}.site-head{padding:19px 0}.top-right{gap:8px}.back{display:none}.intro{margin:42px 0 26px}.intro p{font-size:14px}h1{letter-spacing:-1.65px}.widget-heading{padding:23px 18px 17px;align-items:flex-start;flex-direction:column}.widget-heading h2{font-size:22px}.search-line{margin:0 16px;padding:16px}.search-controls{flex-direction:column}.search-controls>button{height:46px}.notice{margin:17px 16px;padding:13px}.results-head{padding:6px 16px 17px}.results-head h3{font-size:18px}.notam-item{padding:19px 16px}.source-footer{padding:16px}.secondary-grid{grid-template-columns:1fr}.site-footer{flex-direction:column;gap:6px}.lab-chip{font-size:9px}}
body.embed .site-head,body.embed .intro,body.embed .secondary-grid,body.embed .import-panel,body.embed .warning,body.embed .site-footer{display:none!important}body.embed .page{max-width:none;padding:0}body.embed .notam-widget{border-radius:12px;box-shadow:none}body.embed{background:transparent}

/* V4 — identité visuelle AVIACLUB Logbook (adaptation des écrans fournis) */
.notam-integrated{--ink:#1f2b40;--muted:#61748e;--sea:#2862ec;--sea-d:#1b4ab8;--bg:#f6f9fc;--border:#dce4ef;--shade:#f1f5fa;--radius:12px}
.notam-integrated{font-family:Arial,"Helvetica Neue",system-ui,sans-serif;background:var(--bg)}
.page{max-width:1170px}
.site-head{background:#455367;color:white;border:0;padding:13px 24px;margin:0 -28px;min-height:58px}
.brand-name{font-size:20px;letter-spacing:-.65px;font-weight:800;color:#fff}.brand-name span{color:#ffbe2d}.brand-name small{font-size:18px;letter-spacing:0;font-weight:400;color:#d9e2f0}
.lab-chip{color:#c6d9ff;background:#354258;border-color:#5a6d89;border-radius:5px;letter-spacing:.5px}.back{color:#e5ebf6}
.intro{margin:40px 0 27px;max-width:860px}.intro h1{font-size:37px;letter-spacing:-1.15px;margin:12px 0}.intro h1 em{color:var(--sea)}.intro p{font-size:14px;line-height:1.6}.eyebrow,.mini-label{color:#647b9b;letter-spacing:.8px}.line{background:#2c61eb}
.notam-widget{box-shadow:0 2px 7px #22324b12}.widget-heading{background:#223e89;padding:21px 25px;color:#fff}.widget-heading h2{font-size:20px;letter-spacing:0}.widget-heading .mini-label{color:#d1ddff}.state-pill.on{border-radius:5px}
.search-line{margin:20px 25px 0;background:#f4f7fb;border-color:#e1e8f2;padding:17px}.search-line>label{color:#4c5e78}.field-wrap,.field-wrap input{border-radius:5px}.field-wrap:focus-within{outline-color:#2862ec}.search-controls>button,#parse-button{border-radius:5px;background:#2862ec}.search-controls>button:hover,#parse-button:hover{background:#194fbf}
.presets>button{border-radius:4px;color:#325b91}.notice{margin:18px 25px;border-radius:6px}.notice.ok{color:#236548}
.view-toolbar{padding:19px 25px 10px}.view-tabs{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid #dce4ee}.view-tabs button{border:0;background:transparent;color:#5e718b;font-weight:700;font-size:13px;padding:11px 13px;border-bottom:3px solid transparent;cursor:pointer}.view-tabs button.active{color:#235ddd;border-bottom-color:#2862ec}.view-tabs button:hover{color:#194fbf}.view-tabs span{font-size:11px;background:#edf2f9;color:#536581;border-radius:12px;padding:3px 7px;margin-left:5px}.view-tabs .active span{background:#dfeafe;color:#194fbf}#scope-description{font-size:12px;color:#6b7d95;line-height:1.5;margin:11px 0}
.results-head{padding:10px 25px 15px}.results-head h3{font-size:17px}.count{background:#e8efff;color:#235ddd;border-radius:6px}.results{max-height:680px}.notam-item{padding:19px 25px}.notam-id{color:#172b58}.notam-place{color:#235c9b;border-color:#cddff3;background:#edf6fe}.notam-body{background:#f5f7fb}.source-footer{background:#f5f7fb}.source-footer a,.notam-item summary{color:#2862ec}.tool-card{border-radius:9px}.tool-icon{background:#eaf1ff;border-color:#d9e5ff;color:#2862ec}.outline-button{color:#2862ec;border-color:#cbdcf8}.warning{border-radius:8px}.site-footer{color:#8090a9}
@media(max-width:700px){.site-head{margin:0 -16px;padding:14px 16px}.intro{margin:29px 0 20px}.intro h1{font-size:29px}.widget-heading{padding:18px}.search-line{margin:16px 15px 0}.notice{margin:14px 15px}.view-toolbar{padding:13px 15px 6px}.view-tabs button{padding:10px 8px;font-size:12px}.results-head{padding:10px 15px}.notam-item{padding:17px 15px}}

/* V5 — lecture opérationnelle : contenu et validité d’abord */
.v5-item{padding:22px 25px 20px;border-left:4px solid transparent}
.v5-item:has(.v5-status.future){border-left-color:#dc9b29}
.v5-item:has(.v5-status.current){border-left-color:#3473df}
.v5-meta{display:flex;align-items:center;gap:9px;justify-content:space-between;flex-wrap:wrap;margin-bottom:8px}
.v5-status{display:inline-flex;align-items:center;border-radius:5px;padding:5px 10px;background:#eef1f6;color:#4b5a70;font-size:11px;font-weight:800}
.v5-status.current{background:#e9f1ff;color:#214fb0}
.v5-status.future{background:#fff2d9;color:#8c5400}
.v5-status.permanent{background:#e8edf6;color:#44526b}
.v5-status.past{background:#f1f1f1;color:#747474}
.v5-location{font-size:11px;font-weight:750;color:#526789}
.v5-title{font-size:18px;line-height:1.25;color:#1e2c45;margin:9px 0 10px}
.v5-content{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.58;color:#1c2c42;margin-bottom:15px}
.v5-period{display:flex;gap:4px 18px;flex-wrap:wrap;padding:11px 13px;background:#f5f7fb;border-radius:7px;color:#4f607d;font-size:12px;line-height:1.5}
.v5-schedule{flex-basis:100%;color:#8d6020;font-weight:650;margin-top:5px}
.v5-details{margin-top:12px}
.v5-details summary{font-weight:650;font-size:12px}
.v5-details pre{font-size:12px;line-height:1.55}
@media(max-width:700px){.v5-item{padding:17px 15px}.v5-title{font-size:17px}.v5-content{font-size:14px}}


/* V6 — densité visuelle renforcée */
.results.has-data{padding:0}
.results-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 18px 16px}
.v5-item{padding:14px 16px 12px;border:1px solid #dce4ef;border-left:4px solid transparent;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(31,43,64,.04)}
.v5-item .v6-top{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(220px,.95fr);gap:14px;align-items:start}
.v5-meta{margin-bottom:6px;gap:8px}
.v5-status,.v5-location{line-height:1}
.v5-status{padding:4px 8px;font-size:10px;border-radius:999px}
.v5-location{font-size:10px}
.v6-category{font-size:11px;font-weight:800;letter-spacing:.3px;color:#5a6f8e;text-transform:uppercase;margin:0 0 8px}
.v5-title{display:none}
.v5-content{font-size:14px;line-height:1.42;margin-bottom:0;background:transparent;padding:0;color:#1c2c42}
.v5-period{display:grid;grid-template-columns:1fr;gap:5px;padding:10px 11px;font-size:12px;line-height:1.35;margin:0}
.v5-period span{display:block}
.v5-schedule{margin-top:2px;font-size:11px;line-height:1.35}
.v5-details{margin-top:8px}
.v5-details summary{font-size:11px}
.v5-details pre{margin-top:8px;max-height:220px}
.notam-item{border-bottom:none}
.results-head{padding-bottom:12px}
.source-footer{padding-top:14px;padding-bottom:14px}
@media (max-width: 980px){
  .results-grid{grid-template-columns:1fr;padding:10px 12px 14px}
  .v5-item .v6-top{grid-template-columns:1fr}
}
@media (max-width: 700px){
  .v5-item{padding:13px 13px 11px}
  .v5-content{font-size:13px;line-height:1.38}
  .v5-period{padding:9px 10px;font-size:11px}
  .v5-details summary{font-size:11px}
}


/* V7 — 1 NOTAM par ligne, avec 2 colonnes internes */
.results-grid{grid-template-columns:1fr;gap:10px;padding:10px 16px 14px}
.v5-item{padding:13px 15px 11px}
.v5-item .v6-top{grid-template-columns:minmax(0,1.95fr) minmax(250px,.95fr);gap:12px}
.v6-head{min-width:0}
.v6-side{min-width:0}
.v5-content{font-size:14px;line-height:1.38}
.v5-period{padding:9px 10px;font-size:11px;line-height:1.3}
.v5-details{margin-top:7px}
.v5-details summary{font-size:11px}
.v5-details pre{max-height:200px;font-size:11px;padding:12px}
.v6-category{margin-bottom:6px}
@media (max-width: 900px){
  .results-grid{padding:10px 12px 14px}
  .v5-item .v6-top{grid-template-columns:1fr;gap:10px}
}
@media (max-width: 700px){
  .results-grid{padding:8px 10px 12px}
  .v5-item{padding:12px 12px 10px}
  .v5-content{font-size:13px}
}

/* V8 — choix temporel avant une recherche unique par période choisie */
.period-select{display:flex;align-items:center;gap:12px;margin:12px 0 4px;color:#4c5e78;font-size:12px;font-weight:700}
.period-select select{border:1px solid #cbd7e7;border-radius:6px;background:white;padding:9px 12px;font:inherit;color:#1e3355;min-width:185px;cursor:pointer}
.period-select select:focus{outline:2px solid #2862ec;outline-offset:1px}
@media(max-width:700px){.period-select{align-items:stretch;flex-direction:column;gap:6px}.period-select select{width:100%}}

/* V9 — suggestions et repères aérodrome */
.search-controls{position:relative;flex-wrap:wrap}
.airport-suggestions{position:absolute;top:calc(100% + 5px);left:0;z-index:60;width:min(480px,100%);background:#fff;box-shadow:0 10px 28px #1d2b4640;border:1px solid #d7e1ef;border-radius:8px;max-height:350px;overflow:auto}
.airport-suggestions[hidden]{display:none}
.airport-option{display:flex;gap:14px;align-items:center;width:100%;border:0;border-bottom:1px solid #e8edf4;background:white;color:#24364e;text-align:left;padding:10px 12px;cursor:pointer;font-size:12px}
.airport-option:hover,.airport-option:focus{background:#eaf1ff}
.airport-option strong{font-weight:800;color:#225ad4;min-width:46px}
.selected-airport{font-size:12px;color:#526789;flex:1;min-width:110px;font-weight:650}
.v5-meta{justify-content:flex-start;gap:9px}
.v5-location{font-size:12px;color:#223c70;font-weight:800}
@media(max-width:700px){.airport-suggestions{max-height:280px}.selected-airport{min-width:100%;order:3}}


/* V10 — lecture des heures locale (Paris) et Zulu (UTC) */
.v5-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:7px}
.v5-location{font-size:12px;color:#2b405b;font-weight:750}
.v5-status.current{background:#fff0d7;color:#a54e00;border:1px solid #f9c06d}
.v5-item:has(.v5-status.current){border-left-color:#ed982b}
.v10-period{display:flex;flex-direction:column;gap:6px;background:#f4f7fb;padding:9px 12px}
.v10-period-title{font-size:10px;font-weight:800;color:#526783;letter-spacing:.55px}
.v10-time-row{display:grid;grid-template-columns:34px minmax(0,1fr) 14px minmax(0,1fr);align-items:center;column-gap:5px;font-variant-numeric:tabular-nums}
.v10-zone{border-radius:4px;padding:2px 3px;background:#e3eaf5;color:#294363;font-weight:800;font-size:10px;text-align:center}
.v10-time{font-size:12px;white-space:nowrap;color:#243a59;font-weight:600}
.v10-arrow{color:#9aacc4;text-align:center}
.v10-track{height:5px;border-radius:8px;background:#dbe4f2;overflow:hidden;margin-top:2px}
.v10-track-fill{height:100%;display:block;background:#ee9830;border-radius:8px}
.v10-note{font-size:10px;color:#7b617e}
.v10-period .v5-schedule{margin:0;font-size:10px;line-height:1.35}
@media(max-width:530px){.v10-time-row{grid-template-columns:30px minmax(0,1fr) 12px minmax(0,1fr);gap:3px}.v10-time{font-size:11px}.v10-period{padding:8px}}


/* V11 — nom discret intégré au champ et jours de semaine */
.search-controls .field-wrap{position:relative;min-width:330px;flex:1}
.search-controls .field-wrap input{padding-right:190px;text-overflow:ellipsis}
.search-controls .field-wrap .selected-airport{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:block;max-width:170px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500;color:#96a3b4;pointer-events:none;z-index:1}
.notam-link{color:#235bd7;text-decoration:underline;text-underline-offset:2px;overflow-wrap:anywhere}
.notam-link:hover{color:#ee8d18}
.v11-linked-text{white-space:pre-wrap;overflow-wrap:anywhere}
.v10-time-row{grid-template-columns:30px minmax(0,1fr) 12px minmax(0,1fr);column-gap:4px}
.v10-time{font-size:11px;white-space:normal;line-height:1.25}
@media(max-width:700px){.search-controls .field-wrap{min-width:0;width:100%}.search-controls .field-wrap input{padding-right:145px}.search-controls .field-wrap .selected-airport{max-width:130px;font-size:10px}}
@media(max-width:460px){.v10-time-row{grid-template-columns:28px minmax(0,1fr) 10px minmax(0,1fr)}.v10-time{font-size:10px}}

/* V12 — seul bandeau AVIACLUB, recherche directement dessous */
.site-head{display:flex;justify-content:flex-start;align-items:center;gap:15px;min-height:58px;padding:10px 24px;margin:0 -28px 14px;background:#455367;color:#fff;border:0;flex-wrap:nowrap}
.site-head .brand{flex-shrink:0;white-space:nowrap}
.site-head .brand-name{font-size:20px}
.site-head .brand-name small{font-size:17px}
.header-separator{height:22px;width:1px;background:#8491a5;flex:none}
.header-module{font-size:16px;font-weight:800;color:#fff;letter-spacing:.3px;white-space:nowrap}
.site-head .state-pill{margin-left:auto;font-size:11px;padding:6px 10px;white-space:nowrap}
.notam-widget{margin-top:0}
.search-line{margin:14px 18px 0}
.view-toolbar{padding-top:14px}
@media(max-width:700px){
 .site-head{margin:0 -16px 10px;padding:10px 13px;gap:8px;min-height:54px}
 .site-head .brand-name{font-size:15px;letter-spacing:-.6px}
 .site-head .brand-name small{font-size:13px}
 .header-module{font-size:13px}
 .header-separator{height:19px}
 .site-head .state-pill{padding:5px 7px;font-size:10px;gap:5px}
 .site-head .state-dot{height:6px;width:6px}
 .search-line{margin:10px 12px 0}
}

/* V12.1 — signalement prudent des fermetures AD/RWY/FATO/TWY */
.v5-item.closure-closed{border-left-color:#d93045;background:#fffafa}
.v5-item.closure-closed .v5-status.closure-red{color:#fff;background:#cb2136;border:1px solid #b31d30}
.v5-item.closure-verify{border-left-color:#d93045}
.v5-status.closure-check{color:#a31f32;background:#fff0f1;border:1px solid #e2a0a9}
.closure-caveat{font-size:11px;color:#922c3c;line-height:1.4;margin:0 0 7px}
.v5-item.closure-scheduled{border-left-color:#dba14c}
.v5-item.closure-past{border-left-color:#b7c0ce}

/* V12.2 — champ OACI et bouton Recherche rapprochés */
.search-controls{
  width:100%;
  max-width:610px;
  flex-wrap:nowrap;
  align-items:stretch;
  gap:8px;
}
.search-controls .field-wrap{
  flex:1 1 auto;
  width:auto;
  min-width:0;
  max-width:455px;
}
.search-controls>button{
  flex:0 0 auto;
  min-width:130px;
  padding-left:16px;
  padding-right:16px;
}
@media(max-width:700px){
  .search-controls{max-width:100%;flex-direction:row;gap:7px}
  .search-controls .field-wrap{min-width:0;max-width:none;width:auto}
  .search-controls>button{min-width:105px;padding-left:10px;padding-right:10px;height:auto}
}
@media(max-width:410px){
  .search-controls>button{min-width:0;padding-left:9px;padding-right:9px;font-size:12px}
  .search-controls>button svg{display:none}
  .search-controls .field-wrap input{font-size:17px;padding-right:115px}
  .search-controls .field-wrap .selected-airport{max-width:100px;font-size:9px}
}


/* V12.3 — densité verticale : période + exemples sur une ligne, catégorie sur la ligne du statut */
.period-select,
.presets{
  display:inline-flex;
  vertical-align:middle;
}
.period-select{
  align-items:center;
  gap:10px;
  margin:10px 18px 0 0;
}
.presets{
  align-items:center;
  gap:8px;
  margin-top:10px;
}
.presets > span{margin-right:2px}

.v5-meta{
  align-items:center;
  gap:10px;
  margin-bottom:8px;
}
.v6-category{
  display:inline-flex;
  align-items:center;
  margin:0;
  font-size:10px;
  font-weight:800;
  letter-spacing:.3px;
  color:#6b7b93;
  text-transform:uppercase;
  line-height:1;
}
.v6-category::before{
  content:'•';
  margin-right:8px;
  color:#b2bdcd;
  font-size:10px;
  line-height:1;
}

@media(max-width:700px){
  .period-select,
  .presets{
    display:flex;
    width:100%;
    margin-top:10px;
    margin-right:0;
  }
  .period-select{align-items:center;gap:8px}
  .presets{flex-wrap:wrap}
  .v5-meta{gap:8px}
  .v6-category{font-size:9px}
}

/* V12.4 — Intégration au header officiel du Logbook. */
/* La navigation est produite par /header.php ; masquer toute ancienne entête autonome. */
.notam-integrated{max-width:1160px;margin:0 auto;padding:18px 18px 24px}
.notam-page-top{display:flex;align-items:center;gap:15px;margin:0 0 12px;min-height:30px}
.notam-page-top strong{font-size:17px;color:#243651;letter-spacing:.1px}
.notam-page-top .state-pill{margin-left:auto;font-size:11px;padding:6px 10px}
.notam-integrated .notam-widget{margin:0;border-radius:10px}
.notam-integrated .search-line{margin-top:10px}
.notam-integrated .site-footer{margin:15px 0 0;padding:14px 0}
/* La CSS du module ne doit pas modifier les éléments du menu commun. */
body > main:has(> .notam-integrated){display:block;width:100%;max-width:none;padding:0;margin:0}
@media(max-width:700px){
 .notam-integrated{padding:10px 9px 20px}
 .notam-page-top{padding:0 4px;margin-bottom:9px}
 .notam-page-top strong{font-size:15px}
}

/* V12.5 — alignement du module sous le bandeau partagé, sans cascade vers le menu. */
body > main:has(> .notam-integrated){box-sizing:border-box}
body > main > .notam-integrated{width:100%;box-sizing:border-box}
.notam-integrated .notam-page-top{justify-content:space-between}
.notam-integrated .notam-page-top .state-pill{margin-left:auto}


/* V12.8 : suppression des panneaux de test et recherche mobile lisible */
#notification[hidden]{display:none!important}
@media(max-width:700px){
 .notam-integrated .search-line{padding:13px;margin:10px 10px 0}
 .notam-integrated .search-controls{display:flex;flex-direction:column;max-width:none;width:100%;gap:9px}
 .notam-integrated .search-controls .field-wrap{width:100%;max-width:none;min-width:0;flex:none;min-height:48px}
 .notam-integrated .search-controls .field-wrap input{height:47px;min-width:0;font-size:19px;letter-spacing:1.5px}
 .notam-integrated .search-controls>button{width:100%;max-width:none;min-height:44px;padding:8px 12px;font-size:14px}
 .notam-integrated .period-select{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:12px 0 0}
 .notam-integrated .period-select label{min-width:55px;margin:0;text-align:left}
 .notam-integrated .period-select select{flex:1;min-width:0;width:auto;height:42px}
 .notam-integrated .presets{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:11px}
 .notam-integrated .presets>button{padding:4px 7px}
}

/* V12.9 — formulaire compact, label + nom de terrain au-dessus, tous controls alignés */
.notam-integrated .search-line{padding:15px 16px 13px}
.notam-integrated .search-line>label{display:block;margin:0 0 3px}
.notam-integrated .search-line>.selected-airport{position:static;display:block;width:auto;min-width:0;max-width:none;min-height:17px;margin:0 0 6px;color:#60738c;font-size:12px;font-weight:600;line-height:1.4;transform:none;white-space:normal;pointer-events:none}
.notam-integrated .search-controls{display:flex;flex-direction:row;align-items:stretch;width:fit-content;max-width:100%;gap:8px;flex-wrap:nowrap}
.notam-integrated .search-controls .field-wrap{flex:0 1 205px;width:205px;min-width:0;max-width:205px;padding-left:11px}
.notam-integrated .search-controls .field-wrap input{width:100%;min-width:0;height:45px;padding:0 7px 0 0;letter-spacing:1.3px;font-size:19px;text-overflow:ellipsis}
.notam-integrated .search-controls>button{flex:0 0 auto;width:auto;min-width:129px;max-width:none;height:auto;min-height:45px;padding:0 15px;gap:8px}
.notam-integrated .search-bottom{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:8px 12px;margin-top:11px}
.notam-integrated .period-select{display:flex;align-items:center;flex-direction:row;width:auto;margin:0;gap:0}
.notam-integrated .period-select select{width:107px;min-width:107px;height:35px;padding:5px 7px;font-size:12px;flex:0 0 auto}
.notam-integrated .presets{display:flex;align-items:center;flex-wrap:wrap;gap:6px;width:auto;margin:0}
.notam-integrated .presets>button{font-size:11px;padding:6px 8px;line-height:1.2}
.notam-integrated .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:700px){
 .notam-integrated .search-line{padding:12px;margin:10px 10px 0}
 .notam-integrated .search-controls{display:flex;flex-direction:row;max-width:100%;width:100%;gap:7px}
 .notam-integrated .search-controls .field-wrap{flex:1 1 auto;width:auto;max-width:none;min-width:0;min-height:44px}
 .notam-integrated .search-controls .field-wrap input{min-width:0;height:43px;font-size:17px;letter-spacing:1px}
 .notam-integrated .search-controls>button{flex:0 0 auto;width:auto;min-width:109px;max-width:none;padding:0 10px;min-height:44px;gap:5px;font-size:13px}
 .notam-integrated .search-controls>button svg{width:15px}
 .notam-integrated .search-bottom{gap:8px;margin-top:10px}
 .notam-integrated .period-select{display:flex;align-items:center;flex-direction:row;width:auto;margin:0}
 .notam-integrated .period-select select{flex:0 0 auto;width:98px;min-width:98px;height:34px;padding:4px 6px}
 .notam-integrated .presets{display:flex;align-items:center;flex-wrap:wrap;width:auto;margin:0;gap:5px}
 .notam-integrated .presets>button{padding:5px 7px}
}
@media(max-width:365px){
 .notam-integrated .search-controls>button{min-width:97px;padding:0 8px}
 .notam-integrated .search-controls>button svg{display:none}
 .notam-integrated .search-controls .field-wrap{padding-left:6px;gap:5px}
 .notam-integrated .search-controls .field-wrap svg{width:16px}
}

/* V12.10 — priorité au dossier NOTAM, sélecteurs groupés avec son titre */
.notam-integrated .search-line{
  width:auto;
  max-width:none;
  display:block;
  background:#f4f7fb;
  padding:12px 15px 14px;
  border:1px solid #e1e8f2;
}
.notam-integrated .search-line>.selected-airport{margin-bottom:5px}
.notam-integrated .search-controls{margin:0;max-width:370px}
.notam-integrated .search-controls .field-wrap{flex:0 1 200px;max-width:200px}
.notam-integrated .search-controls>button{min-width:134px}
.notam-integrated .search-bottom{margin-top:9px;gap:8px;align-items:center}
.notam-integrated .view-toolbar{display:none!important}
.notam-integrated .results-head{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  column-gap:20px;
  row-gap:10px;
  padding:17px 23px 14px;
  margin:0;
}
.notam-integrated .results-heading{flex:1 1 230px;min-width:0}
.notam-integrated .results-head h3{margin:0 0 4px;font-size:18px}
.notam-integrated .results-head p{margin:0;font-size:12px}
.notam-integrated .view-tabs{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
  flex:0 1 auto;
  border:0;
  margin:0;
}
.notam-integrated .view-tabs button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid #d9e3f4;
  border-radius:9px;
  background:#eef3fc;
  color:#536a8b;
  font-size:12px;
  font-weight:750;
  padding:11px 12px;
  min-height:42px;
  white-space:nowrap;
  cursor:pointer;
}
.notam-integrated .view-tabs button span{
  font-size:15px;
  font-weight:850;
  background:transparent;
  padding:0;
  margin:0;
  color:inherit;
}
.notam-integrated .view-tabs button.active{
  background:#e5edff;
  border-color:#adc7fc;
  color:#245cdd;
  box-shadow:inset 0 0 0 1px #adc7fc;
}
.notam-integrated #notification{
  margin:14px 22px;
  padding:10px 13px;
  font-size:12px;
  line-height:1.4;
}
.notam-integrated #notification p{margin:1px 0 0}
.notam-integrated .source-footer{padding:12px 22px}
@media(max-width:700px){
 .notam-integrated .search-line{padding:12px;margin:9px 9px 0}
 .notam-integrated .search-controls{max-width:100%;width:100%}
 .notam-integrated .search-controls .field-wrap{flex:1 1 auto;max-width:none;min-width:0}
 .notam-integrated .search-controls>button{min-width:108px}
 .notam-integrated .results-head{padding:13px 13px 12px;gap:12px}
 .notam-integrated .results-heading{flex:1 1 100%}
 .notam-integrated .view-tabs{justify-content:flex-start;gap:6px;flex-wrap:nowrap;max-width:100%;width:100%}
 .notam-integrated .view-tabs button{flex:1 1 0;min-width:0;padding:8px 5px;font-size:11px;gap:4px;min-height:40px}
 .notam-integrated .view-tabs button span{font-size:12px}
 .notam-integrated #notification{margin:12px 12px;padding:10px}
}

/* V12.11 — commandes de recherche sur la même ligne et à hauteur identique */
.notam-integrated .search-bottom{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  margin-top:10px;
}
.notam-integrated .search-bottom .period-select{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  margin:0;
  padding:0;
  height:36px;
}
.notam-integrated .search-bottom .period-select select{
  display:block;
  box-sizing:border-box;
  width:107px;
  min-width:107px;
  height:36px;
  margin:0;
  padding:0 8px;
  border-radius:6px;
  font-size:12px;
  line-height:normal;
}
.notam-integrated .search-bottom .presets{
  display:flex;
  align-items:center;
  flex:0 1 auto;
  gap:6px;
  margin:0;
  padding:0;
  min-height:36px;
}
.notam-integrated .search-bottom .presets>button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  height:36px;
  min-height:36px;
  margin:0;
  padding:0 10px;
  line-height:1;
  border-radius:6px;
}
.notam-integrated .results-head{padding-top:13px;padding-bottom:12px}
.notam-integrated .results-head h3{margin:0}
@media(max-width:700px){
  .notam-integrated .search-bottom{gap:6px;flex-wrap:wrap}
  .notam-integrated .search-bottom .period-select select{width:88px;min-width:88px}
  .notam-integrated .search-bottom .presets{gap:5px}
  .notam-integrated .search-bottom .presets>button{padding:0 7px}
}


/* V12.12 — attente neutre et saisie OACI centrée */
.notam-integrated .results:not(.has-data){min-height:90px}
.notam-integrated .results:not(.has-data) .empty{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:90px;
  padding:18px;
  text-align:center;
  font-size:13px;
  font-weight:500;
  color:#71819a;
}
.notam-integrated .search-controls .field-wrap{
  position:relative;
  padding-left:0;
  gap:0;
}
.notam-integrated .search-controls .field-wrap > svg{
  position:absolute;
  left:13px;
  top:50%;
  transform:translateY(-50%);
  z-index:1;
  pointer-events:none;
}
.notam-integrated .search-controls .field-wrap input{
  text-align:center;
  padding:0 30px;
  letter-spacing:1.5px;
}
@media(max-width:410px){
 .notam-integrated .search-controls .field-wrap > svg{left:8px}
 .notam-integrated .search-controls .field-wrap input{padding:0 21px;font-size:16px;letter-spacing:1px}
}


/* V12.13 — code OACI aligné avec le nom du terrain, sans pictogramme */
.notam-integrated .search-controls .field-wrap{padding:0 !important;gap:0 !important}
.notam-integrated .search-controls .field-wrap>svg{display:none !important}
.notam-integrated .search-controls .field-wrap input{
  text-align:left !important;
  padding:0 14px !important;
  width:100%;
  box-sizing:border-box;
}
.notam-integrated .search-line>.selected-airport{padding-left:14px}
@media(max-width:410px){
 .notam-integrated .search-controls .field-wrap input{padding:0 12px !important}
 .notam-integrated .search-line>.selected-airport{padding-left:12px}
}


/* V12.14 — nom du terrain sous le code dans un champ unique, hauteur réduite */
.notam-integrated .search-controls .field-wrap{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:center !important;
  padding:7px 12px !important;
  height:62px !important;
  min-height:62px !important;
  gap:1px !important;
  overflow:hidden;
}
.notam-integrated .search-controls .field-wrap #icao{
  height:30px !important;
  min-height:0 !important;
  flex:none !important;
  border:none !important;
  padding:0 !important;
  margin:0 !important;
  font-size:22px !important;
  line-height:30px !important;
  letter-spacing:1.5px;
  text-align:left !important;
}
.notam-integrated .search-controls .field-wrap .selected-airport{
  display:block !important;
  position:static !important;
  inset:auto !important;
  transform:none !important;
  min-width:0 !important;
  width:100% !important;
  max-width:100% !important;
  height:16px !important;
  flex:none !important;
  padding:0 !important;
  margin:0 !important;
  font-size:10px !important;
  line-height:16px !important;
  font-weight:600 !important;
  text-transform:uppercase;
  color:#73849c;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  pointer-events:none;
}
.notam-integrated .search-controls>button{height:62px !important;min-height:62px !important}
@media(max-width:700px){
 .notam-integrated .search-controls .field-wrap{height:54px !important;min-height:54px !important;padding:5px 10px !important}
 .notam-integrated .search-controls .field-wrap #icao{font-size:20px !important;height:27px !important;line-height:27px !important}
 .notam-integrated .search-controls .field-wrap .selected-airport{font-size:9px !important}
 .notam-integrated .search-controls>button{height:54px !important;min-height:54px !important}
}

/* Easy2fly public standalone: header and color accents; isolated from WP. */
body.e2f-notam-public{margin:0;background:#f6f8fa;font-family:Arial,Helvetica,sans-serif;color:#243447}
.e2f-sitebar{background:#183e54;color:#fff}
.e2f-sitebar-inner{max-width:1160px;margin:0 auto;padding:15px 20px;display:flex;align-items:center;gap:18px}
.e2f-brand{font-size:23px;font-weight:800;text-decoration:none;color:#fff;letter-spacing:-1px}
.e2f-brand span{color:#e98b63}
.e2f-sitebar-name{border-left:1px solid #668393;padding-left:18px;font-size:17px;font-weight:700}
.e2f-back{margin-left:auto;text-decoration:none;color:#e2eef4;font-size:13px}
.e2f-notam-public .notam-integrated{--sea:#17688a;--sea-d:#104b66;--border:#dfe7ed}
.e2f-notam-public .notam-integrated .view-tabs button.active{color:#155f7d;background:#e9f5f7;border-color:#b9dce6;box-shadow:none}
.e2f-notam-public .notam-integrated .search-controls>button{background:#17688a}
.e2f-notam-public .notam-integrated .search-controls>button:hover{background:#104b66}
.e2f-notam-public .notam-integrated .notam-page-top strong{color:#183e54}
.e2f-notam-public .notam-integrated .v5-status.current{background:#fff0d7;color:#a54e00}
@media(max-width:550px){.e2f-sitebar-inner{padding:12px}.e2f-back{font-size:11px}.e2f-brand{font-size:20px}.e2f-sitebar-name{font-size:14px;padding-left:12px}}

/* Easy2fly : interface réduite jusqu'à la première recherche. */
body.e2f-notam-public:not(.notam-searched) .notam-integrated .results-head,
body.e2f-notam-public:not(.notam-searched) .notam-integrated #results,
body.e2f-notam-public:not(.notam-searched) .notam-integrated .source-footer,
body.e2f-notam-public:not(.notam-searched) .notam-integrated .warning,
body.e2f-notam-public:not(.notam-searched) .notam-integrated .site-footer { display:none !important; }
