@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#173842;background:#f4f6f4;font-synthesis:none;--navy:#082b36;--navy2:#103e4a;--ink:#173842;--muted:#657b80;--gold:#b89155;--line:#dce5e3;--paper:#fff;--soft:#edf2f0;--focus:#bb9353}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a,button{transition:background .18s ease,color .18s ease,border-color .18s ease}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:3px}::selection{background:#c6a66c;color:#082b36}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Manrope,sans-serif;letter-spacing:-.025em}h1{font-size:2rem;line-height:1.2}h2{font-size:1.12rem;line-height:1.4}small{font-size:.78rem}.button{border:1px solid transparent;border-radius:8px;min-height:44px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;gap:14px;font-weight:700;font-size:.87rem;text-decoration:none}.button.primary{background:var(--navy);color:#fff}.button.primary:hover{background:#174e5b}.button.secondary{background:#fff;border-color:#cbdad7;color:var(--ink)}.button.secondary:hover{background:#eef4f2}.button.wide{width:100%;justify-content:space-between}.languages{display:inline-flex;gap:3px;padding:3px;background:#e8efed;border-radius:7px}.languages button{border:0;background:transparent;color:#6a7d80;border-radius:5px;padding:6px 8px;font-size:.67rem;font-weight:800;letter-spacing:.05em}.languages button.active{background:#fff;color:var(--ink);box-shadow:0 2px 5px #0b313018}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.02fr) minmax(420px,.98fr)}.auth-story{background:var(--navy);color:#fff;padding:40px 60px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;inset:30% -45% -50% -35%;border-radius:50%;border:1px solid #50757a;box-shadow:0 0 0 80px #ffffff05,0 0 0 160px #ffffff05,0 0 0 240px #ffffff04;pointer-events:none}.auth-brand,.brand{display:flex;align-items:center;gap:15px;position:relative;z-index:1}.auth-brand img{width:112px;height:auto;filter:none}.auth-brand span{border-left:1px solid #709096;padding-left:15px;font:700 .78rem Manrope,sans-serif;letter-spacing:.12em;text-transform:uppercase}.story-content{position:relative;z-index:1;max-width:550px;margin-top:90px}.story-content h1{font-size:clamp(3rem,5vw,5.2rem);max-width:12ch;line-height:1.07;margin-bottom:24px}.story-content p{max-width:37ch;color:#bfd0d2;font-size:1.05rem;line-height:1.7}.horizon-mark{height:70px;display:flex;align-items:center;margin-bottom:38px}.horizon-mark:before{content:"";width:50px;height:50px;border:1px solid #b89155;border-radius:50%;transform:translateY(-15px)}.horizon-mark span{width:180px;height:1px;background:#b89155;transform:translateX(-50px)}.story-footer{position:relative;z-index:1;color:#aac2c5;font-size:.67rem;letter-spacing:.17em}.story-footer span{color:var(--gold);margin:0 12px}.auth-side{background:#f9faf8;display:flex;flex-direction:column;padding:35px 42px}.auth-top{display:flex;justify-content:flex-end}.auth-form{width:min(100%,390px);margin:auto;display:flex;flex-direction:column;gap:21px;padding-bottom:25px}.form-heading{margin-bottom:14px}.form-heading h2{font-size:2rem;margin:14px 0 6px}.form-heading p{color:var(--muted);font-size:.9rem;margin:0}.auth-symbol{color:var(--gold);font-size:1.6rem}.auth-form label,.field-grid label,.form-section>label{display:flex;flex-direction:column;gap:8px;font-size:.78rem;font-weight:700;color:#35535a}.auth-form input,.field-grid input,.field-grid select,.form-section textarea{width:100%;border:1px solid #cbd8d6;border-radius:7px;background:#fff;color:var(--ink);padding:12px 13px;min-height:45px}.auth-form input:hover,.field-grid input:hover,.field-grid select:hover,.form-section textarea:hover{border-color:#9eb5b3}.auth-form label small{color:var(--muted);font-weight:400;min-height:1em}.text-button{border:0;background:none;color:#385f68;font-size:.84rem;font-weight:700;padding:5px}.text-button:hover{text-decoration:underline}.form-error,.notice{background:#fff3ed;border:1px solid #e7c4b3;color:#873d29;border-radius:8px;padding:11px 14px;font-size:.85rem}.notice{margin-bottom:20px}.app-shell{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.sidebar{background:var(--navy);color:#fff;padding:30px 19px;display:flex;flex-direction:column;min-height:100vh}.brand{padding:2px 14px 30px;gap:11px}.brand img{width:89px;filter:none}.brand span{border-left:1px solid #537984;padding-left:11px;font:700 .68rem Manrope,sans-serif;letter-spacing:.09em;text-transform:uppercase}.sidebar nav{display:flex;flex-direction:column;gap:5px;margin-top:23px}.nav-link{border:0;background:transparent;color:#bfd0d2;width:100%;display:flex;align-items:center;gap:13px;text-align:left;padding:12px 15px;border-radius:7px;font-size:.87rem;font-weight:600}.nav-link:hover{background:#16414d;color:#fff}.nav-link.selected{background:#214d57;color:#fff}.nav-dot{width:8px;height:8px;border:1px solid #8dabb0;border-radius:50%}.selected .nav-dot{background:var(--gold);border-color:var(--gold)}.sidebar-bottom{margin-top:auto}.sidebar-guide{font-size:.66rem;letter-spacing:.1em;color:#91afb3;padding:20px 13px;border-bottom:1px solid #31545d}.profile{padding:24px 10px 15px;display:flex;align-items:center;gap:10px;min-width:0}.avatar{width:37px;height:37px;border-radius:50%;background:#385f69;color:#fff;display:grid;place-items:center;font:700 .9rem Manrope}.profile>div:last-child{min-width:0}.profile strong,.profile small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile strong{font-size:.82rem}.profile small{color:#aac0c2;margin-top:3px;font-size:.68rem}.logout{background:none;border:0;color:#a7c0c2;padding:10px 14px;width:100%;display:flex;justify-content:space-between;font-size:.78rem}.logout:hover{color:#fff}.workspace{min-width:0}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--line);padding:0 45px;display:flex;align-items:center;justify-content:flex-end}.topbar-right{display:flex;align-items:center;gap:18px}.mobile-brand{display:none}.main{max-width:1280px;margin:0 auto;padding:43px 46px 80px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:34px}.page-heading h1{margin-bottom:8px}.page-heading p,.form-intro p{color:var(--muted);font-size:.91rem;margin:0}.heading-coordinates{color:#7b9296;font-size:.75rem;text-transform:capitalize;padding-bottom:5px}.summary{display:grid;grid-template-columns:1.7fr 1fr 1fr;background:var(--navy);color:#fff;border-radius:13px;overflow:hidden;min-height:188px}.summary>div{padding:30px 32px;display:flex;flex-direction:column;justify-content:space-between}.summary>div+div{border-left:1px solid #31515a}.summary span{color:#b9cdd0;font-size:.79rem}.summary strong{font:700 2.4rem Manrope,sans-serif;letter-spacing:-.04em;line-height:1.1}.summary strong small{font-size:.83rem;color:#c5d5d6;letter-spacing:0}.summary-main{position:relative}.summary-main strong{font-size:2.8rem}.summary-line{height:1px;width:100%;background:linear-gradient(90deg,var(--gold),#31515a);margin-top:12px}.content-section{margin-top:42px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-head h2{margin:0}.inline-link{border:0;background:none;color:#456c72;font-weight:700;font-size:.8rem}.inline-link:hover{text-decoration:underline}.voyage-list{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.voyage-row{width:100%;border:0;border-bottom:1px solid #e7eeec;background:#fff;display:grid;grid-template-columns:38px minmax(145px,2fr) minmax(75px,1fr) minmax(85px,.8fr) minmax(80px,.7fr) 20px;align-items:center;text-align:left;gap:17px;padding:19px 22px;color:var(--ink)}.voyage-row:last-child{border-bottom:0}.voyage-row:hover{background:#f4f8f6}.voyage-icon{width:36px;height:36px;border-radius:8px;background:#e6efed;display:grid;place-items:center;color:#3d6870}.voyage-primary{display:flex;flex-direction:column;min-width:0;gap:4px}.voyage-primary strong{font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voyage-primary small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.voyage-vessel{font-size:.82rem;color:#526d71;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status{display:inline-flex;align-items:center;gap:6px;width:max-content;padding:6px 10px;border-radius:20px;font-size:.71rem;font-weight:700;white-space:nowrap}.status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.status-planned{background:#edf0ef;color:#536970}.status-underway{background:#e5f0f1;color:#326873}.status-completed{background:#ecf1e7;color:#55744c}.voyage-distance{font:700 .9rem Manrope;white-space:nowrap}.voyage-distance small{color:#82979a;font-size:.66rem}.row-arrow{color:#7b999d}.empty-state{background:#fff;border:1px solid var(--line);border-radius:12px;text-align:center;padding:65px 25px}.empty-symbol{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#e8f0ee;color:var(--gold);font-size:1.5rem;margin:0 auto 20px}.empty-state h2{font-size:1.35rem;margin-bottom:10px}.empty-state p{max-width:440px;color:var(--muted);margin:0 auto 24px;font-size:.9rem;line-height:1.6}.back-link{border:0;background:none;color:#5d7b80;padding:0;font-size:.81rem;font-weight:700;margin-bottom:28px}.back-link:hover{color:var(--navy)}.detail-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:30px}.detail-heading h1{margin-bottom:14px}.detail-sub{display:flex;align-items:center;gap:16px;color:#70878b;font-size:.79rem;flex-wrap:wrap}.detail-actions{display:flex;gap:9px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(275px,.85fr);gap:18px}.route-panel,.timeline-panel,.notes-section,.form-section{background:#fff;border:1px solid var(--line);border-radius:11px;padding:25px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.panel-heading h2,.timeline-panel h2,.notes-section h2,.form-section h2{margin-bottom:17px}.panel-heading strong{font:800 1.45rem Manrope}.panel-heading strong small{font-size:.7rem;color:#778e91}.map-panel{background-color:#103c4a;background-image:linear-gradient(#ffffff09 1px,transparent 1px),linear-gradient(90deg,#ffffff09 1px,transparent 1px);background-size:24px 24px;border-radius:8px;min-height:270px;overflow:hidden}.route-svg{width:100%;height:270px;display:block}.map-empty{height:270px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#b4ccce;font-size:.8rem;gap:15px}.map-empty-ring{height:40px;width:40px;border:1px solid var(--gold);border-radius:50%}.map-caption{font-size:.75rem;line-height:1.5;color:#748b8e;margin:15px 0 0}.timeline{list-style:none;padding:0;margin:5px 0 0}.timeline li{display:flex;gap:13px;padding:0 0 26px;position:relative}.timeline li:last-child{padding-bottom:0}.timeline li:not(:last-child):before{content:"";position:absolute;left:16px;top:33px;bottom:3px;width:1px;background:#d4e0dd}.timeline-index{width:33px;height:33px;flex:0 0 33px;background:#e9f0ee;color:#53777b;border-radius:50%;display:grid;place-items:center;font:700 .67rem Manrope}.timeline li>div:last-child{display:flex;flex-direction:column;gap:3px}.timeline small{color:#8a9e9f;font-size:.67rem;text-transform:uppercase;letter-spacing:.08em}.timeline strong{font-size:.86rem}.timeline span{color:#71898b;font-size:.72rem}.timeline code{color:#789094;font:500 .71rem 'DM Sans',sans-serif;margin-top:3px}.notes-section{margin-top:18px}.notes-section p{margin:0;color:#516970;line-height:1.7;white-space:pre-wrap;font-size:.88rem}.danger-zone{margin-top:28px}.danger-link{border:0;background:none;color:#a35141;padding:0;font-size:.78rem;font-weight:700}.danger-link:hover{text-decoration:underline}.form-page{max-width:760px}.form-intro{margin-bottom:27px}.form-intro h1{margin-bottom:9px}.form-section{margin-bottom:16px}.form-section h2{font-size:1rem}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.field-wide{grid-column:1/-1}.field-grid em{font-style:normal;font-weight:400;color:#8ba0a3}.field-help{color:var(--muted);font-size:.78rem;margin:-7px 0 20px}.point-card{border:1px solid #dce7e4;border-radius:9px;padding:20px;margin-bottom:12px;background:#fbfcfb}.point-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.point-heading strong{font-size:.84rem}.point-heading strong span{font:700 .74rem Manrope;color:#b68f52;margin-right:10px}.remove-link{border:0;background:none;color:#9b5348;font-size:.72rem}.add-point{border:1px dashed #a9c1bc;color:#406a6f;background:#f5faf8;border-radius:8px;padding:13px;width:100%;font-size:.79rem;font-weight:700}.add-point:hover{background:#e9f2ef}.form-section textarea{resize:vertical;min-height:125px;line-height:1.6}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}@media(max-width:1050px){.detail-grid{grid-template-columns:1fr}.summary{grid-template-columns:1.3fr 1fr 1fr}.main{padding:35px 30px}.topbar{padding:0 30px}.voyage-row{grid-template-columns:38px minmax(130px,2fr) minmax(80px,.8fr) minmax(75px,.7fr) 20px}.voyage-vessel{display:none}}@media(max-width:760px){.app-shell{display:block}.sidebar{min-height:auto;padding:12px 16px;display:block}.brand,.sidebar-bottom{display:none}.sidebar nav{margin:0;flex-direction:row}.nav-link{width:auto;padding:9px 12px;font-size:.77rem}.topbar{height:65px;padding:0 19px;justify-content:space-between}.mobile-brand{display:block;font:800 .85rem Manrope}.topbar-right{gap:9px}.top-new{padding:8px 10px;font-size:.72rem;min-height:36px}.main{padding:28px 19px 65px}.page-heading{display:block;margin-bottom:25px}.heading-coordinates{margin-top:14px}.summary{grid-template-columns:1fr 1fr;min-height:auto}.summary-main{grid-column:1/-1}.summary>div{padding:21px 23px;gap:15px}.summary>div+div{border-left:0;border-top:1px solid #31515a}.summary>div:last-child{border-left:1px solid #31515a}.summary-main strong{font-size:2.3rem}.summary-item strong{font-size:1.8rem}.content-section{margin-top:30px}.voyage-row{grid-template-columns:34px minmax(0,1fr) auto;gap:10px;padding:15px}.voyage-row .status,.voyage-row .row-arrow{display:none}.voyage-distance{font-size:.78rem}.detail-heading{display:block}.detail-actions{margin-top:23px}.auth-shell{display:block}.auth-story{min-height:260px;padding:26px 25px}.auth-brand img{width:90px}.story-content{margin-top:32px}.story-content h1{font-size:2.3rem;margin-bottom:10px}.story-content p{font-size:.85rem}.story-footer,.horizon-mark{display:none}.auth-side{min-height:calc(100vh - 260px);padding:18px 25px}.auth-form{padding:35px 0}.detail-sub{gap:9px}.route-panel,.timeline-panel,.notes-section,.form-section{padding:20px}.field-grid{grid-template-columns:1fr}.field-wide{grid-column:auto}.form-actions{justify-content:stretch}.form-actions .button{flex:1}}@media print{body{background:#fff;color:#000}.sidebar,.topbar,.back-link,.detail-actions,.danger-zone,.notice{display:none!important}.app-shell{display:block}.main{padding:10px;max-width:none}.detail-grid{grid-template-columns:1fr 1fr;gap:10px}.route-panel,.timeline-panel,.notes-section{break-inside:avoid;border:1px solid #bbb}.map-panel{-webkit-print-color-adjust:exact;print-color-adjust:exact}.detail-heading:before{content:'SUR LA MER · JOURNAL DE BORD';display:block;font-size:10px;letter-spacing:.15em;color:#666;position:absolute;top:0}.detail-heading{padding-top:27px}.detail-heading:after{content:'Rapport de traversée';position:absolute;top:0;right:0;font-size:10px;color:#666}.notes-section{margin-top:10px}}

.report-meta{display:none}@media print{.report-meta{display:flex;justify-content:space-between;gap:16px;border-top:1px solid #aaa;border-bottom:1px solid #aaa;padding:9px 0;margin-bottom:15px;font-size:11px}.detail-heading:after{display:none}}
.map-panel{height:320px;background:#dce5e2}
.map-panel .leaflet-control-attribution{font-size:10px}
.route-marker-wrap{background:transparent;border:0}
.route-marker{display:grid;place-items:center;width:28px;height:28px;border:2px solid #fff;border-radius:50%;background:#103c4a;color:#fff;font-size:12px;font-weight:800;box-shadow:0 2px 8px #082b3670}
.leaflet-container .leaflet-control-zoom a:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
@media print{.map-panel{height:270px}}

.overview-actions{display:flex;justify-content:flex-end;margin-top:18px}
.overview-actions .button{display:inline-flex;align-items:center;gap:12px;text-decoration:none}
.coffee-block{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:22px;margin-top:34px;padding:24px 28px;border-radius:12px;background:#103c4a;color:#f7f4e9}
.coffee-cup{width:68px;height:68px;display:grid;place-items:center;position:relative;color:#d6ae71;background:#1b4b57;border-radius:50%}
.coffee-cup svg{width:40px;height:40px}
.coffee-steam{position:absolute;width:2px;height:15px;top:1px;left:35px;border-radius:50%;background:#d6ae71;transform:rotate(12deg)}
.coffee-copy h2{font-size:1.1rem;margin:0 0 6px;color:#fff}
.coffee-copy p{margin:0 0 7px;line-height:1.5;color:#e1edeb;font-size:.86rem}
.coffee-copy small{color:#b6d0d0;font-size:.72rem}
.coffee-button{background:#dfba80;color:#173a42;text-decoration:none;white-space:nowrap;font-weight:800}
.coffee-button:hover{background:#efcf9c}
.coffee-button:focus-visible,.overview-actions .button:focus-visible{outline:3px solid #dfba80;outline-offset:3px}
@media(max-width:760px){.coffee-block{grid-template-columns:56px minmax(0,1fr);gap:14px;padding:20px}.coffee-cup{width:54px;height:54px}.coffee-cup svg{width:34px;height:34px}.coffee-button{grid-column:1/-1;justify-content:center}.overview-actions .button{width:100%;justify-content:center}}
@media print{.overview-actions,.coffee-block{display:none!important}}
