.boat-detail-heading{margin:16px 0}.boat-detail-heading p{color:#086981;font-size:.75rem;letter-spacing:.16em;font-weight:800;margin:0}.boat-detail-heading h1{margin:4px 0 0}
.boat-detail-top{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:14px;align-items:start}
.boat-detail-top .boat-profile,.boat-detail-top .boat-calendar{margin:0}.boat-detail-top .boat-profile:not(.boat-facts){grid-column:2}.boat-facts h3,.compact-gallery h3{font-size:1.15rem}
.compact-calendar{padding:16px}.compact-calendar h2{font-size:1.18rem;margin:0 0 7px}.compact-calendar p{font-size:.81rem;margin:0 0 8px;color:#375568}
.legend-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-left:6px}.legend-dot.busy{background:#63ad80}.legend-dot.selected{background:#efbd30}
.compact-calendar nav{flex-wrap:nowrap;font-size:.8rem}.compact-calendar nav a{padding:5px 6px;border:1px solid #d3e5ed;border-radius:7px;text-decoration:none;white-space:nowrap}
.compact-calendar table{min-width:0;table-layout:fixed;border-spacing:2px}.compact-calendar td{height:auto;padding:0;background:#f0f5f7;border-radius:5px}.compact-calendar th{font-size:.72rem;padding:3px}
.compact-calendar td button{display:block;width:100%;min-height:34px;padding:3px;border:none;background:transparent;color:inherit;font-size:.83rem}
.compact-calendar td button:hover:not(:disabled){box-shadow:inset 0 0 0 1px #087e99;background:#e6f5f9}.compact-calendar td button:disabled{cursor:not-allowed}
.compact-calendar td.pick{background:#ffdf70;color:#533b00}.compact-calendar td.pick button:hover{background:#ffe995}
.compact-calendar form.compact-dates{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;padding:8px 0 0;border:0;gap:6px}
.compact-dates label{min-width:0;font-size:.76rem}.compact-dates input,.compact-dates button{min-width:0;max-width:100%;padding:6px;font-size:.78rem}.calendar-feedback:empty{display:none}
.compact-gallery div{grid-template-columns:repeat(auto-fill,minmax(94px,132px));gap:9px}.compact-gallery a{display:block;border:1px solid #dbe7ec}.compact-gallery img{height:89px;aspect-ratio:auto;object-fit:cover}.compact-gallery a:first-child img{object-fit:cover}
#boat-photo-dialog{position:fixed;width:min(970px,calc(100vw - 22px));max-height:calc(100vh - 25px);border:0;border-radius:15px;padding:13px;color:#fff;background:#102e42;box-shadow:0 24px 80px #00152188}
#boat-photo-dialog::backdrop{background:#091724d9}
#boat-photo-dialog img{display:block;width:100%;height:min(69vh,650px);object-fit:contain;border-radius:8px;background:#091f2d}
.photo-dialog-head{display:flex;justify-content:flex-end;gap:8px;align-items:center;margin-bottom:8px}.photo-dialog-head span{margin-right:auto;font-weight:700}.photo-dialog-head button{background:#244f65;border-color:#406f83}#boat-photo-dialog p{margin:8px 0 1px}
@media(max-width:760px){.boat-detail-top{grid-template-columns:minmax(0,1fr)}.boat-detail-top .boat-profile:not(.boat-facts){grid-column:auto}.compact-calendar{max-width:430px}.compact-gallery div{grid-template-columns:repeat(auto-fill,minmax(83px,112px))}}
@media(max-width:385px){.compact-calendar form.compact-dates{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-calendar form.compact-dates button{grid-column:1/-1}}
