/* Statistics follow the original Cruise Logbook, scoped to this view. */
.travel-logbook .cruise-statistics{min-width:0;color:#315e73}
.travel-logbook .statistics-period{margin:0 0 16px}
.travel-logbook .statistics-intro{display:grid;grid-template-columns:1.65fr 1fr;gap:16px;margin-bottom:20px}
.travel-logbook .statistics-intro article{border:1px solid #dce9ed;border-radius:16px;padding:30px 28px;min-width:0}
.travel-logbook .statistics-story{background:linear-gradient(120deg,#e4f4fa,#f2fafc 70%,#fcf7ee)}
.travel-logbook .statistics-intro small{display:block;font-size:10px;letter-spacing:1.5px;color:#597889}
.travel-logbook .statistics-story h2{font:500 clamp(26px,2.5vw,34px)/1.25 Georgia,"Palatino Linotype",serif;margin:18px 0 12px}
.travel-logbook .statistics-story p{max-width:460px;font-size:13px;margin:0 0 24px;color:#587789}
.travel-logbook .statistics-story>strong{display:block;font-size:21px;color:#287899}
.travel-logbook .statistics-story>span{font-size:11px;color:#587789}
.travel-logbook .statistics-country{display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(130deg,#fffdf8,#fbf3e6);border-color:#e9dfcd!important;text-align:center}
.travel-logbook .statistics-country small{color:#887a64}
.travel-logbook .statistics-country .statistics-flag{width:62px;height:44px;margin:18px 0}
.travel-logbook .statistics-country h2{margin:0 0 10px;font-size:26px;color:#756a57}
.travel-logbook .statistics-country p{font-size:12px;margin:0;color:#7c796f}
.travel-logbook .statistics-flag{display:block;width:38px;height:28px;object-fit:contain}
.travel-logbook .cruise-statistics .cruise-stat-metrics{gap:10px;margin-bottom:18px}
.travel-logbook .cruise-statistics .cruise-stat-metric{position:relative;text-align:left;align-items:flex-start;gap:7px;padding:20px 16px 16px;border-radius:16px;border-top:3px solid #bdd9e4;min-height:94px}
.travel-logbook .cruise-statistics .cruise-stat-metric>span{position:absolute;right:15px;top:15px;color:#7c99a5;width:16px;height:16px}
.travel-logbook .cruise-statistics .cruise-stat-metric>span svg{width:16px;height:16px}
.travel-logbook .cruise-statistics .cruise-stat-metric strong{color:#287899;font-size:25px;padding-right:18px}
.travel-logbook .cruise-statistics .cruise-stat-metric small{font-size:11px;color:#6b808b}
.travel-logbook .cruise-statistics .cruise-stat-averages,.travel-logbook .cruise-statistics .cruise-discoveries{gap:12px;margin-bottom:20px}
.travel-logbook .cruise-statistics .cruise-stat-averages .card,.travel-logbook .cruise-statistics .cruise-discoveries .card{padding:20px;gap:10px;border-radius:16px}
.travel-logbook .cruise-statistics .cruise-stat-averages strong{font-size:24px;color:#287899}
.travel-logbook .cruise-statistics .cruise-discoveries strong{font-size:18px;color:#315e73}
.travel-logbook .cruise-statistics small{color:#647f8c;font-size:12px}
.travel-logbook .cruise-statistics .cruise-discoveries .statistics-flag{width:36px;height:24px}
.travel-logbook .cruise-statistics .card{border-radius:16px;background:linear-gradient(120deg,#fff,#fcfeff);border-color:#e0ebf0;box-shadow:0 2px 10px #315e7303}
.travel-logbook .cruise-statistics .cruise-stat-panel h2{margin-bottom:8px;font-size:23px}
.travel-logbook .cruise-statistics .cruise-stat-panel>.hint{margin-top:0}
.travel-logbook .statistics-lines{display:grid;gap:12px;margin-top:18px}
.travel-logbook .statistics-lines article{display:flex;align-items:center;gap:18px;border:1px solid #e0ebef;border-radius:12px;background:#f7fbfd;padding:14px}
.travel-logbook .statistics-line-logo{display:block;width:74px;height:42px;flex:0 0 74px;object-fit:contain;background:transparent;mix-blend-mode:multiply}
.travel-logbook .statistics-lines article>div{min-width:0}
.travel-logbook .statistics-lines article>div:last-child{margin-left:auto;text-align:right}
.travel-logbook .statistics-lines strong{display:block;font-size:14px}
.travel-logbook .statistics-lines small{display:block;font-size:11px}
.travel-logbook .statistics-lines b{font-size:24px;color:#287899}
.travel-logbook .statistics-sea-content{display:flex;align-items:center;justify-content:center;gap:26px;flex-wrap:wrap}
.travel-logbook .cruise-statistics .cruise-sea-ring{background:conic-gradient(#77b4cc var(--sea-share),#efdfc4 0);flex-shrink:0;margin:20px 0}
.travel-logbook .cruise-statistics .cruise-sea-ring strong{color:#315e73;background:#fff;font-size:25px}
.travel-logbook .statistics-years{display:flex;align-items:end;gap:12px;min-height:180px;padding:20px 0 14px;overflow-x:auto}
.travel-logbook .statistics-years>div{display:flex;flex:1;min-width:36px;flex-direction:column;align-items:center;gap:6px}
.travel-logbook .statistics-years>div>div{height:110px;width:100%;display:flex;align-items:end;justify-content:center}
.travel-logbook .statistics-years i{display:block;width:min(100%,44px);border-radius:5px 5px 0 0;background:linear-gradient(#7db8cf,#b7d7e5)}
.travel-logbook .statistics-years strong{font-size:13px;color:#315e73}
.travel-logbook .statistics-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
.travel-logbook .statistics-highlights>.card{display:flex;flex-direction:column;gap:14px;padding:22px}
.travel-logbook .statistics-highlights strong{font-size:22px;color:#287899}
.travel-logbook button.statistics-trip-link{background:transparent;color:#315e73;border:0;border-radius:6px;text-align:left;padding:6px 0;white-space:normal;min-width:0;width:100%}
.travel-logbook .statistics-trip-link strong{font-size:13px;display:block}
.travel-logbook .statistics-trip-link span{font-size:12px;color:#647f8c;display:block;margin-top:3px}
.travel-logbook .statistics-trip-link:hover{color:#287899;background:#edf6fa}
.travel-logbook .cruise-statistics .cruise-table-scroll th,.travel-logbook .cruise-statistics .cruise-table-scroll td{padding:12px 10px;font-weight:400;font-size:12px;color:#526f7e}
.travel-logbook .cruise-statistics .cruise-table-scroll thead th{font-weight:600;background:#f6fafc}
.travel-logbook .cruise-statistics .cruise-table-scroll tbody th{text-align:left;min-width:100px}
.travel-logbook .cruise-statistics .cruise-table-scroll .link{font-size:12px;white-space:normal;text-align:left;padding:0}
.travel-logbook .statistics-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 16px}
.travel-logbook .statistics-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#f5fafc;border:1px solid #e0ebef;color:#315e73;font:550 14px/1.35 var(--ui-font);padding:10px 16px;min-height:44px}
.travel-logbook .statistics-tabs button span{font-size:12px;color:#647f8c;margin:0;line-height:1.35;font-variant-numeric:tabular-nums}
.travel-logbook .statistics-tabs button[aria-pressed=true]{background:#e1f0f6;border-color:#a9cbdc}
.travel-logbook .statistics-tabs button:hover{background:#e9f4f8}
.travel-logbook .statistics-search{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:12px;margin-bottom:16px}
.travel-logbook .statistics-search input,.travel-logbook .statistics-search select{width:100%;min-width:0;font-size:13px}
.travel-logbook .statistics-entity{border:0;border-top:1px solid #e3ecef;background:transparent;border-radius:0;color:#315e73;width:100%;min-width:0;text-align:left}
.travel-logbook button.statistics-entity,.travel-logbook .statistics-entity summary{display:flex;align-items:center;gap:20px;padding:18px 10px;white-space:normal;cursor:pointer;list-style:none}
.travel-logbook .statistics-entity summary::-webkit-details-marker{display:none}
.travel-logbook button.statistics-entity:hover,.travel-logbook .statistics-entity summary:hover{background:#f2f8fb}
.travel-logbook .statistics-entity summary:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.travel-logbook .statistics-visual{flex:0 0 160px;width:160px;aspect-ratio:16/9;border-radius:8px;background:#edf3f6;overflow:hidden;display:grid;place-items:center}
.travel-logbook .statistics-visual>img{display:block;width:100%;height:100%;object-fit:contain}
.travel-logbook .statistics-small-visual{flex-basis:80px;width:80px;background:transparent;aspect-ratio:auto}
.travel-logbook .statistics-small-visual>.statistics-flag{width:42px;height:30px}
.travel-logbook .statistics-copy{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.travel-logbook .statistics-copy>strong{font-size:14px;font-weight:650;overflow-wrap:anywhere}
.travel-logbook .statistics-copy>small,.travel-logbook .statistics-copy>span{font-size:12px;color:#647f8c;line-height:1.5}
.travel-logbook .statistics-dates{display:flex;flex-direction:column;gap:3px;flex:0 0 135px;font-size:12px}
.travel-logbook .statistics-dates small{font-size:10px;margin-top:3px}
.travel-logbook .statistics-expand{color:#698fa0;font-size:18px}
.travel-logbook details[open] .statistics-expand{transform:rotate(180deg)}
.travel-logbook .statistics-related{padding:0 20px 20px 110px;display:grid;gap:6px}
.travel-logbook .statistics-related>strong{font-size:12px;margin-bottom:6px}
.travel-logbook .statistics-related .statistics-trip-link{background:#f3f8fb;padding:10px 14px;border:1px solid #e0ebef;border-radius:8px}
.travel-logbook .statistics-empty{padding:20px;text-align:center}
.travel-logbook .statistics-trip .statistics-dates{flex-basis:170px}
.travel-logbook .statistics-date-range{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px;line-height:1.5;font-variant-numeric:tabular-nums}
.travel-logbook .statistics-dates time{white-space:nowrap;font-variant-numeric:tabular-nums}
.travel-logbook .statistics-date-group{display:flex;flex-direction:column;gap:3px}
.travel-logbook .statistics-entity .statistics-line-logo{align-self:center;overflow:hidden}
@media(max-width:1050px){.travel-logbook .statistics-entity .statistics-line-logo{display:none}.travel-logbook .statistics-visual{width:130px;flex-basis:130px}.travel-logbook .statistics-small-visual{width:60px;flex-basis:60px}.travel-logbook .statistics-related{padding-left:90px}}
@media(max-width:650px){.travel-logbook .statistics-intro{grid-template-columns:1fr;gap:12px}.travel-logbook .statistics-intro article{padding:24px}.travel-logbook .statistics-story h2{font-size:26px}.travel-logbook .cruise-statistics .cruise-stat-metric{padding:18px 12px;min-height:94px}.travel-logbook .statistics-highlights{grid-template-columns:1fr}.travel-logbook .statistics-search{grid-template-columns:1fr}.travel-logbook button.statistics-entity,.travel-logbook .statistics-entity summary{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;padding:16px 0}.travel-logbook .statistics-visual{width:80px;aspect-ratio:16/9}.travel-logbook .statistics-small-visual{width:80px}.travel-logbook .statistics-dates{grid-column:2;flex-direction:row;flex-wrap:wrap;gap:4px 8px}.travel-logbook .statistics-expand{grid-column:1;grid-row:2;justify-self:center}.travel-logbook .statistics-related{padding:0 0 16px}.travel-logbook .statistics-copy>span{font-size:11px}.travel-logbook .statistics-lines article{gap:12px}.travel-logbook .statistics-line-logo{width:60px;flex-basis:60px}.travel-logbook .statistics-lines strong{font-size:12px}.travel-logbook .statistics-tabs{gap:6px}.travel-logbook .statistics-tabs button{padding:9px 10px;font-size:12px}}
@media(max-width:1050px){.travel-logbook .statistics-entity .statistics-line-logo{display:block;width:60px;height:36px;flex-basis:60px}}
@media(max-width:650px){.travel-logbook .statistics-entity .statistics-line-logo{grid-column:1;grid-row:2;justify-self:center}.travel-logbook .statistics-entity .statistics-dates{display:flex;flex-direction:column;gap:8px;min-width:0}.travel-logbook .statistics-entity summary:has(.statistics-line-logo) .statistics-expand{grid-row:3}}
.travel-logbook .cruise-statistics button{font-family:var(--ui-font);line-height:1.4}.travel-logbook .cruise-statistics button.link{min-height:36px;padding:6px 0;font-size:13px;white-space:normal;text-align:left}.travel-logbook .cruise-statistics .statistics-trip-link{min-height:44px}.travel-logbook .statistics-copy>strong,.travel-logbook .statistics-trip-link strong{font-size:14px;line-height:1.4}.travel-logbook .statistics-dates{line-height:1.5}.travel-logbook .statistics-entity{font-family:var(--ui-font)}
@media(max-width:650px){.travel-logbook .statistics-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.travel-logbook .statistics-tabs button{font-size:14px;padding:10px 12px;min-height:44px}.travel-logbook .statistics-search input,.travel-logbook .statistics-search select{font-size:16px;min-height:44px}.travel-logbook .statistics-copy>span{font-size:12px;line-height:1.55}}
.travel-logbook .cruise-statistics .cruise-discoveries button.statistics-leg-link{display:block;align-self:stretch;width:100%;min-width:0;min-height:36px;margin:0;padding:6px 0;border:0;border-radius:0;background:transparent;text-align:left;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
