:root{--app-bg:#f7faff;--surface:#ffffffe0;--surface-strong:#fff;--text:#071a3d;--subtle:#61708c;--line:#dfe8f6;--blue:#2563eb;--blue-soft:#eaf2ff;--green:#15a66a;--nav-w:15.5rem;--radius:18px;--design-shadow:0 18px 50px #15295617}*{box-sizing:border-box}body{background:var(--app-bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.app-shell{grid-template-columns:var(--nav-w) minmax(0,1fr);background:radial-gradient(circle at 80% 0%, #2563eb14, transparent 28rem), var(--app-bg);width:100%;min-height:100vh;margin:0;padding:0;display:grid}.app-shell[data-theme=dark]{--app-bg:#071321;--surface:#0b1b2edb;--surface-strong:#0d1f35;--text:#eef6ff;--subtle:#8aa0bc;--line:#1b3859;--blue-soft:#0c2a55;--design-shadow:0 18px 60px #00000052;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.app-content{min-width:0;padding:2rem 2.25rem 3rem}.app-sidebar{border-right:1px solid var(--line);background:color-mix(in srgb, var(--surface-strong) 82%, transparent);flex-direction:column;gap:1rem;height:100vh;padding:1.5rem 1rem;display:flex;position:sticky;top:0;box-shadow:12px 0 35px #0f23460a}.brand-mark{min-height:2.5rem;color:var(--text);letter-spacing:-.04em;align-items:center;gap:.55rem;font-size:1.45rem;font-weight:900;display:flex}.sail-logo{color:var(--blue);font-size:1.8rem;display:inline-block;transform:rotate(-8deg)}.module-tabs{gap:.35rem;margin:1rem 0 0;display:grid}.module-tabs button{all:unset;min-height:2.6rem;color:var(--text);cursor:pointer;border-radius:10px;align-items:center;gap:.75rem;padding:0 .85rem;font-size:.92rem;font-weight:750;display:flex}.module-tabs button span{width:1.25rem;color:var(--text);opacity:.8;text-align:center}.module-tabs button.active{background:var(--blue-soft);color:var(--blue)}.module-tabs button.active span{color:var(--blue);opacity:1}.sidebar-spacer{flex:1}.sync-card,.profile-card,.theme-toggle{border:1px solid var(--line);background:var(--surface);color:var(--text);box-shadow:var(--design-shadow);border-radius:14px}.sync-card{gap:.35rem;padding:1rem;font-size:.85rem;display:grid}.sync-card span{color:var(--blue);font-size:1.2rem}.sync-card small{color:var(--subtle);line-height:1.4}.sync-card em{color:var(--green);font-size:.75rem;font-style:normal;font-weight:800}.theme-toggle{min-height:2.65rem;font-weight:800}.profile-card{text-align:left;grid-template-columns:2.2rem 1fr;align-items:center;gap:.1rem .65rem;padding:.8rem;display:grid}.profile-card span{color:#fff;background:#0b2758;border-radius:50%;grid-row:1/3;place-items:center;width:2rem;height:2rem;font-size:.75rem;font-weight:900;display:grid}.profile-card small{color:var(--subtle);text-overflow:ellipsis;overflow:hidden}.top-actions{z-index:15;background:color-mix(in srgb, var(--bg) 82%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:999px;justify-content:flex-end;align-items:center;gap:.7rem;width:fit-content;min-height:2.4rem;margin:0 0 1rem auto;padding:.25rem;display:flex;position:sticky;top:1rem}.primary-action,.secondary-action,.edit-chip,.ghost-button,.sidebar button,.table-header button,.sidebar-header button,.optional-card button{box-shadow:var(--design-shadow);border:1px solid var(--line)!important;border-radius:10px!important;min-height:2.25rem!important;padding:.55rem .85rem!important;font-weight:850!important}.primary-action{background:var(--blue)!important;color:#fff!important}.secondary-action,.ghost-button,.edit-chip{background:var(--surface-strong)!important;color:var(--text)!important}.save-error{color:#991b1b;background:#fee2e2;border-radius:12px;margin:0 auto 0 0;padding:.7rem 1rem;font-weight:800}.page-heading,.table-header,.sidebar-header{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}h1{letter-spacing:-.04em;margin:0 0 .45rem;font-size:1.8rem;line-height:1.1}h2{letter-spacing:-.03em;font-size:1.25rem}h3{color:var(--text)}p,small,dd{color:var(--subtle)}.sync-pill,.status-pill{color:var(--green);background:#15a66a1a;border-radius:999px;padding:.5rem .8rem;font-size:.8rem;font-weight:900}.stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem;margin-bottom:1.25rem;display:grid}.stat-grid article,.chart-card,.compliance-summary,.workspace,.sheet-title-row,.paper-header,.info-card,.map-card,.table-card,.compliance-card,.manager-list button,.sheet-card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid var(--line)!important;background:var(--surface)!important;color:var(--text)!important;box-shadow:var(--design-shadow)!important}.stat-grid article{border-radius:16px;grid-template-columns:auto 1fr;gap:.2rem .75rem;padding:1.1rem;display:grid}.stat-grid i{background:var(--blue-soft);width:2.7rem;height:2.7rem;color:var(--blue);border-radius:50%;grid-row:1/4;place-items:center;font-size:1.2rem;font-style:normal;display:grid}.stat-grid span{color:var(--subtle);font-size:.78rem}.stat-grid strong{color:var(--text);font-size:1.45rem}.stat-grid small{grid-column:2;font-size:.76rem}.dashboard-grid{grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:1rem;display:grid}.chart-card,.compliance-summary{border-radius:18px;padding:1.25rem}.chart-legend{color:var(--subtle);justify-content:center;gap:2rem;font-size:.8rem;display:flex}.chart-legend span:before{content:"";background:var(--blue);vertical-align:middle;border-radius:99px;width:18px;height:3px;margin-right:.4rem;display:inline-block}.chart-legend span+span:before{background:#5eb5ff}.line-chart svg{width:100%;height:240px}.grid-line{stroke:var(--line);stroke-width:1px}.sail-line,.motor-line{fill:none;stroke:var(--blue);stroke-width:4px;stroke-linecap:round}.motor-line{stroke:#58b7ff;stroke-width:3px}.progress-layout{grid-template-columns:150px 1fr;align-items:center;gap:1.2rem;display:grid}.progress-ring{background:conic-gradient(var(--blue) 0 72%, var(--line) 72%);border-radius:50%;align-content:center;place-items:center;width:138px;height:138px;display:grid;position:relative}.progress-ring:after{content:"";background:var(--surface-strong);border-radius:50%;position:absolute;inset:12px}.progress-ring strong,.progress-ring span{z-index:1;position:relative}.progress-ring strong{font-size:1.8rem}.progress-ring span{color:var(--subtle);font-size:.8rem}.workspace{border-radius:18px;padding:1rem;display:block}.module-workspace{padding:0;box-shadow:none!important;background:0 0!important;border:0!important}.sheet-detail{gap:1rem;display:grid}.detail-grid,.bottom-grid,.voyage-layout,.manager-split{gap:1rem}.table-scroll{border:1px solid var(--line);border-radius:14px}table{background:var(--surface-strong);color:var(--text)}th{color:var(--subtle)}td{color:var(--text);border-bottom-color:var(--line)}input,select,textarea{background:var(--surface-strong)!important;color:var(--text)!important;border-color:var(--line)!important}.picture-thumb{background:linear-gradient(#143c6e1a,#143c6e40),url(/design/759fb082-6e10-42c2-93ec-4067b3be55a1.png) 50%/cover}.auth-shell{background:radial-gradient(circle at 20% 0%, #2563eb2e, transparent 32rem), var(--app-bg);min-height:100vh;color:var(--text);place-items:center;padding:1rem;display:grid}.auth-card{border:1px solid var(--line);background:var(--surface);width:min(100%,440px);box-shadow:var(--design-shadow);border-radius:24px;gap:1rem;padding:2rem;display:grid}.auth-card label{gap:.45rem;font-weight:850;display:grid}.auth-card input{border-radius:12px;padding:.9rem 1rem}.auth-card button{background:var(--blue);color:#fff;border:0;border-radius:12px;padding:.95rem 1rem;font-weight:900}.auth-error{color:#991b1b;background:#fee2e2;border-radius:12px;padding:.8rem 1rem;font-weight:800}.auth-success{color:#166534;background:#dcfce7;border-radius:12px;padding:.8rem 1rem;font-weight:800}.auth-footer{text-align:center;color:var(--subtle)}@media (max-width:1000px){.app-shell{grid-template-columns:1fr;padding-bottom:5rem}.app-sidebar{z-index:20;border-right:0;border-top:1px solid var(--line);grid-template-columns:1fr;height:auto;padding:.5rem;display:grid;position:fixed;inset:auto 0 0}.brand-mark,.sync-card,.profile-card,.theme-toggle{display:none}.module-tabs{grid-template-columns:repeat(6,1fr);margin:0;display:grid}.module-tabs button{justify-content:center;padding:.45rem .2rem;font-size:.68rem}.module-tabs button span{width:auto;display:block}.app-content{padding:1rem 1rem 6rem}.top-actions{margin:0 0 1rem}.stat-grid,.dashboard-grid{grid-template-columns:1fr}}@media (max-width:720px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-grid article:last-child{grid-column:1/-1}.paper-header,.voyage-layout,.detail-grid,.bottom-grid{grid-template-columns:1fr!important}}.logbook-scanner-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;margin:-.5rem 0 1rem;display:flex}.scanner-boat-selector{color:var(--subtle);align-items:center;gap:.5rem;font-weight:800;display:flex}.scanner-boat-selector select{border-radius:10px;min-height:2.5rem;padding:.55rem .8rem}.logbook-scanner-empty{color:var(--subtle);flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;margin:-.5rem 0 1rem;display:flex}.logbook-scanner-empty p{margin:0;font-weight:800}.scanner-upload-status{border:1px solid color-mix(in srgb, var(--blue) 28%, var(--line));color:var(--text);box-shadow:var(--design-shadow);background:linear-gradient(135deg,#2563eb1a,#2563eb0a);border-radius:16px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.25rem .8rem;margin:-.25rem 0 1rem;padding:.85rem 1rem;display:grid}.scanner-upload-spinner{border:3px solid color-mix(in srgb, var(--blue) 22%, transparent);border-top-color:var(--blue);border-radius:50%;grid-row:1/3;width:2rem;height:2rem;animation:.8s linear infinite scanner-spin}.scanner-upload-copy{gap:.15rem;min-width:0;display:grid}.scanner-upload-copy strong{font-size:.95rem}.scanner-upload-copy p{color:var(--subtle);margin:0;font-size:.85rem;font-weight:700}.scanner-upload-progress{background:color-mix(in srgb, var(--blue) 14%, var(--line));border-radius:999px;grid-column:2;height:.45rem;overflow:hidden}.scanner-upload-progress span{border-radius:inherit;background:linear-gradient(90deg, var(--blue), #5eb5ff);width:45%;height:100%;animation:1.25s ease-in-out infinite scanner-progress;display:block}@keyframes scanner-spin{to{transform:rotate(360deg)}}@keyframes scanner-progress{0%{transform:translate(-110%)}to{transform:translate(240%)}}@media (prefers-reduced-motion:reduce){.scanner-upload-spinner,.scanner-upload-progress span{animation:none}.scanner-upload-progress span{width:100%}}.logbook-toolbar{grid-template-columns:minmax(220px,1fr) 160px 140px;gap:.75rem;margin-bottom:1rem;display:grid}.logbook-toolbar input,.logbook-toolbar select{border-radius:10px;min-height:2.5rem;padding:.55rem .8rem}.compliance-board{grid-template-columns:minmax(280px,.65fr) minmax(0,1.35fr);gap:1rem;display:grid}.requirement-panel,.mileage-breakdown article{border:1px solid var(--line);background:var(--surface);box-shadow:var(--design-shadow);border-radius:18px;padding:1.25rem}.requirement-row{border-bottom:1px solid var(--line);grid-template-columns:1.5rem 1fr 210px;align-items:center;gap:.75rem;padding:.75rem 0;display:grid}.requirement-row:last-child{border-bottom:0}.requirement-row span{color:var(--green);font-weight:900}.requirement-row progress{width:100%;height:.45rem;accent-color:var(--green)}.mileage-breakdown{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.mileage-breakdown article{gap:.25rem;display:grid}.mileage-breakdown span{color:var(--blue);font-size:1.3rem}.mileage-breakdown b{font-size:1.25rem}@media (max-width:900px){.logbook-toolbar,.compliance-board,.mileage-breakdown{grid-template-columns:1fr}.requirement-row{grid-template-columns:1.5rem 1fr}.requirement-row progress{grid-column:2}}.logbook-page{gap:1rem;display:grid}.logbook-overview-layout{grid-template-columns:minmax(0,1.35fr) minmax(22rem,.65fr);align-items:start;gap:1rem;display:grid}.logbook-list-card{padding:0;overflow:hidden}.logbook-list-heading{padding:1rem 1rem 0}.logbook-list-heading h3{margin:0}.logbook-table{min-width:860px}.table-link-button{all:unset;color:var(--text);cursor:pointer;align-items:center;gap:.65rem;font-weight:850;display:flex}.table-link-button .picture-thumb{border-radius:.45rem;width:2.35rem;height:2.35rem}.pagination-mock{color:var(--subtle);justify-content:center;gap:.45rem;padding:1rem;display:flex}.pagination-mock span{border:1px solid #0000;border-radius:.55rem;place-items:center;width:2rem;height:2rem;display:grid}.pagination-mock .active{color:var(--blue);border-color:var(--blue);background:var(--blue-soft)}.entry-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;display:grid}.entry-metrics article{border:1px solid var(--line);background:var(--surface);box-shadow:var(--design-shadow);border-radius:16px;padding:1rem}.entry-metrics span{color:var(--subtle);font-size:.78rem;font-weight:800;display:block}.entry-metrics strong{color:var(--text);font-size:1.25rem}.entry-tabs{border-bottom:1px solid var(--line);color:var(--subtle);gap:1.5rem;font-size:.88rem;font-weight:850;display:flex}.entry-tabs span{padding:.75rem 0}.entry-tabs .active{color:var(--blue);border-bottom:2px solid var(--blue)}.manager-split.vertical{grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);align-items:start}.manager-list{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.manager-list button{align-content:start;min-height:8.5rem;grid-template-columns:1fr!important}.manager-list .picture-thumb{border-radius:12px;width:100%;height:7rem}@media (max-width:900px){.entry-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.manager-split.vertical{grid-template-columns:1fr}}@media (max-width:1100px){.logbook-overview-layout{grid-template-columns:1fr}}@media (max-width:620px){.entry-metrics{grid-template-columns:1fr}.entry-tabs{white-space:nowrap;overflow:auto}}.table-title-button{all:unset;color:var(--text);cursor:pointer;font-weight:900}.table-vessel{color:var(--text);align-items:center;gap:.65rem;font-weight:850;display:flex}.table-vessel .picture-thumb{border-radius:.45rem;width:2.35rem;height:2.35rem}.module-tabs .tab-icon{place-items:center;width:1.25rem;display:inline-grid}@media (min-width:1001px){.app-shell{grid-template-columns:var(--nav-w) minmax(0,1fr)}.app-sidebar{height:100vh;width:var(--nav-w);position:sticky;top:0;left:0}.module-tabs button{flex-direction:row;justify-content:flex-start}}@media (max-width:1000px){.app-shell{padding-bottom:5.8rem;display:block}.app-sidebar{z-index:50;height:5.2rem;padding:.45rem .7rem calc(.45rem + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface-strong) 92%, transparent);border-right:0;position:fixed;inset:auto 0 0;box-shadow:0 -18px 40px #0f23461f}.app-sidebar .brand-mark,.app-sidebar .sync-card,.app-sidebar .profile-card,.app-sidebar .theme-toggle,.sidebar-spacer{display:none}.module-tabs{grid-template-columns:repeat(6,minmax(0,1fr));gap:.25rem;height:100%;margin:0;display:grid}.module-tabs button{border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:.22rem;min-height:0;padding:.3rem .15rem;font-size:.67rem;line-height:1;display:flex}.module-tabs .tab-icon{border-radius:999px;width:1.85rem;height:1.85rem;font-size:1rem}.module-tabs button.active .tab-icon{color:#fff;background:var(--blue);box-shadow:0 8px 22px #2563eb47}.module-tabs .nav-label{display:none}.app-content{padding:1rem 1rem 6.5rem}.top-actions{margin:0 0 1rem}}@media (orientation:landscape) and (max-width:1000px){.app-shell{grid-template-columns:var(--nav-w) minmax(0,1fr);padding-bottom:0;display:grid}.app-sidebar{z-index:auto;width:var(--nav-w);border-top:0;border-right:1px solid var(--line);background:color-mix(in srgb, var(--surface-strong) 82%, transparent);height:100vh;padding:1rem .85rem;position:sticky;inset:0 auto auto 0;box-shadow:12px 0 35px #0f23460a}.app-sidebar .brand-mark,.app-sidebar .profile-card,.app-sidebar .theme-toggle,.sidebar-spacer{display:flex}.app-sidebar .sync-card{display:grid}.module-tabs{grid-template-columns:1fr;gap:.35rem;height:auto;margin:1rem 0 0;display:grid}.module-tabs button{border-radius:10px;flex-direction:row;justify-content:flex-start;gap:.65rem;min-height:2.45rem;padding:0 .75rem;font-size:.88rem;line-height:1.2}.module-tabs .tab-icon{width:1.25rem;height:1.25rem;box-shadow:none;background:0 0;border-radius:0;font-size:1rem}.module-tabs button.active .tab-icon{color:var(--blue);box-shadow:none;background:0 0}.module-tabs .nav-label{display:block}.app-content{padding:1.25rem 1.5rem 2rem}.app-sidebar .profile-card{display:grid}}.logout-chip{border:1px solid var(--line);background:var(--surface-strong);min-height:2.35rem;color:var(--text);border-radius:10px;font-weight:850}.profile-card.active{border-color:var(--blue);box-shadow:inset 0 0 0 1px var(--blue), var(--design-shadow)}.mobile-nav-actions{display:none}.profile-grid{grid-template-columns:minmax(280px,.9fr) minmax(0,1.1fr);gap:1rem;display:grid}.profile-hero-card{border:1px solid var(--line);background:var(--surface);box-shadow:var(--design-shadow);border-radius:18px;align-items:center;gap:1rem;padding:1.25rem;display:flex}.profile-avatar{color:#fff;background:#0b2758;border-radius:50%;place-items:center;width:4rem;height:4rem;font-weight:900;display:grid}@media (max-width:1000px){.mobile-nav-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem;display:grid}.mobile-nav-actions button{min-height:0;color:var(--text);background:0 0;border:0;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:.22rem;padding:.3rem .15rem;font-size:.67rem;font-weight:750;display:flex}.mobile-nav-actions span{border-radius:999px;place-items:center;width:1.85rem;height:1.85rem;display:grid}.mobile-profile-action.active span{color:#fff;background:var(--blue);box-shadow:0 8px 22px #2563eb47}.module-tabs{grid-template-columns:repeat(6,minmax(0,1fr)) repeat(2,minmax(0,.8fr))}}@media (orientation:landscape) and (max-width:1000px){.mobile-nav-actions{display:none}.logout-chip{display:block}}@media (max-width:760px){.profile-grid{grid-template-columns:1fr}}@media (max-width:1000px){.app-sidebar{grid-template-columns:minmax(0,1fr) minmax(4.5rem,.28fr);align-items:stretch;gap:.25rem;display:grid}.logout-chip{display:none}.module-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (orientation:landscape) and (max-width:1000px){.app-sidebar{display:flex}.logout-chip{display:block}.app-sidebar .profile-card{display:grid}}.module-tabs .nav-label{text-align:left;width:auto;min-width:0}@media (min-width:1001px){.module-tabs{grid-template-columns:1fr}.module-tabs button{white-space:nowrap;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;display:flex}}@media (max-width:1000px){.module-tabs button{gap:0}.module-tabs .nav-label,.mobile-nav-actions small{display:none}.module-tabs .tab-icon,.mobile-nav-actions span{width:2rem;height:2rem}}@media (orientation:landscape) and (max-width:1000px){.module-tabs button{gap:.65rem}.module-tabs .nav-label{width:auto;display:block}}.brand-row{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.nav-slim-toggle{border:1px solid var(--line);background:var(--surface-strong);width:2rem;height:2rem;color:var(--text);border-radius:10px;place-items:center;font-weight:900;display:grid}.app-shell[data-nav=slim]{--nav-w:5.75rem}.app-shell[data-nav=slim] .app-sidebar{align-items:center;padding-inline:.65rem}.app-shell[data-nav=slim] .brand-mark strong,.app-shell[data-nav=slim] .module-tabs .nav-label,.app-shell[data-nav=slim] .sync-card,.app-shell[data-nav=slim] .profile-card strong,.app-shell[data-nav=slim] .profile-card small,.app-shell[data-nav=slim] .theme-toggle,.app-shell[data-nav=slim] .logout-chip{display:none}.app-shell[data-nav=slim] .module-tabs{width:100%}.app-shell[data-nav=slim] .module-tabs button{justify-content:center;padding-inline:0}.app-shell[data-nav=slim] .module-tabs .tab-icon{border-radius:12px;width:2.15rem;height:2.15rem}.app-shell[data-nav=slim] .profile-card{grid-template-columns:1fr;padding:.55rem;display:grid}@media (orientation:landscape) and (max-width:1000px){.module-tabs{grid-template-columns:1fr}.app-shell[data-nav=slim]{--nav-w:5.75rem}}@media (max-width:1000px){.brand-row,.nav-slim-toggle{display:none}}.app-sidebar{scrollbar-width:thin;overflow:hidden auto}.nav-slim-toggle{grid-auto-flow:column;gap:.3rem;width:auto;min-width:3.75rem;padding:0 .55rem}.nav-slim-toggle-label{font-size:.72rem;line-height:1}.app-shell[data-nav=slim] .nav-slim-toggle{min-width:2.5rem;padding:0 .35rem}.app-shell[data-nav=slim] .nav-slim-toggle-label{display:none}@media (max-width:1000px){.app-sidebar{overflow:visible}}@media (min-width:1001px){.app-sidebar{overscroll-behavior:contain;height:100dvh;min-height:0;max-height:100dvh;position:fixed;inset:0 auto 0 0;overflow-y:auto}.app-content{grid-column:2}}@media (orientation:landscape) and (max-width:1000px){.app-sidebar{overscroll-behavior:contain;height:100dvh;min-height:0;max-height:100dvh;position:fixed;inset:0 auto 0 0;overflow-y:auto}.app-content{grid-column:2}}.sidebar-control-row{grid-template-columns:1fr auto;align-items:center;gap:.5rem;display:grid}.sidebar-control-row .theme-toggle{width:100%}.app-shell[data-nav=slim] .sidebar-control-row{grid-template-columns:1fr}.app-shell[data-nav=slim] .sidebar-control-row .theme-toggle{display:none}@media (max-width:1000px){.sidebar-control-row{display:none}}@media (orientation:landscape) and (max-width:1000px){.sidebar-control-row,.nav-slim-toggle{display:grid}}.deviation-table-field{gap:.75rem;display:grid}.deviation-table{min-width:320px}.deviation-table input{min-width:8rem}.group-tags{flex-wrap:wrap;gap:.35rem;margin:.5rem 0;display:flex}.group-tags span{border:1px solid var(--line);background:var(--surface-strong);color:var(--text);border-radius:999px;align-items:center;padding:.2rem .55rem;font-size:.8rem;font-weight:850;display:inline-flex}.demo-login-button,.secondary-auth-button{color:var(--blue)!important;border:1px solid var(--blue)!important;background:0 0!important}.logbook-table input{border:1px solid var(--line);background:var(--surface);width:100%;min-width:14rem;color:var(--text);border-radius:10px;padding:.55rem .7rem}@media (max-width:1000px){.app-sidebar{grid-template-columns:minmax(0,1fr) auto;align-items:stretch}.module-tabs{grid-template-columns:repeat(6,minmax(0,1fr));min-width:0}.module-tabs.has-admin-tab{grid-template-columns:repeat(7,minmax(0,1fr))}.mobile-nav-actions{grid-template-columns:repeat(2,2.35rem);align-items:stretch}.module-tabs button,.mobile-nav-actions button{min-width:0;height:100%}}@media (orientation:landscape) and (max-width:1000px){.module-tabs,.module-tabs.has-admin-tab{grid-template-columns:1fr}}.tag-editor{gap:.5rem;min-width:min(24rem,60vw);display:grid}.tag-editor-tags{flex-wrap:wrap;gap:.35rem;display:flex}.tag-editor-tags span{border:1px solid var(--line);background:var(--blue-soft);color:var(--text);border-radius:999px;align-items:center;gap:.3rem;padding:.18rem .25rem .18rem .6rem;font-size:.8rem;font-weight:850;display:inline-flex}.tag-editor-tags button{all:unset;cursor:pointer;width:1.25rem;height:1.25rem;color:var(--subtle);border-radius:999px;place-items:center;font-weight:900;display:grid}.tag-editor-tags button:hover{background:var(--surface-strong);color:var(--text)}.tag-editor-add{grid-template-columns:minmax(12rem,1fr) auto;align-items:center;gap:.4rem;display:grid}.tag-editor-tags button:disabled{cursor:not-allowed;opacity:.45}.module-tabs button,.mobile-nav-actions button,.theme-toggle,.profile-card,.sync-icon-card{box-shadow:none!important;border:0!important}.module-tabs .tab-icon,.mobile-nav-actions span,.profile-card span{width:2.15rem;height:2.15rem;color:var(--text);background:0 0;border:0;border-radius:0;flex:0 0 2.15rem;place-items:center;display:grid}.module-tabs .tab-icon img,.profile-card img,.mobile-profile-action img{object-fit:contain;mix-blend-mode:multiply;width:1.55rem;height:1.55rem;display:block}.app-shell[data-theme=dark] .module-tabs .tab-icon img,.app-shell[data-theme=dark] .profile-card img,.app-shell[data-theme=dark] .mobile-profile-action img{filter:invert()hue-rotate(180deg)brightness(1.65)contrast(.9);mix-blend-mode:screen}.module-tabs button.active{background:color-mix(in srgb, var(--blue) 12%, transparent)}.module-tabs button.active .tab-icon{box-shadow:none!important;background:0 0!important}.sync-card{display:none!important}.sync-icon-card{min-height:2.65rem;color:var(--text);background:0 0;border-radius:10px;align-items:center;gap:.75rem;padding:0 .85rem;font-weight:850;display:flex}.sync-icon,.nav-edge-toggle-icon{background:currentColor;width:1.55rem;height:1.55rem;display:inline-block;-webkit-mask:url(/icons/icon_cloud_sync.svg) 50%/contain no-repeat;mask:url(/icons/icon_cloud_sync.svg) 50%/contain no-repeat}.sync-status-text{color:var(--subtle);white-space:nowrap;font-size:.82rem}.sidebar-control-row{display:block}.theme-toggle{width:100%;color:var(--text);text-align:left;background:0 0;align-items:center;gap:.75rem;display:flex;padding:0 .85rem!important}.theme-icon{flex:0 0 2.15rem;place-items:center;width:2.15rem;height:2.15rem;font-size:1.25rem;display:grid}.profile-card{background:0 0;grid-template-columns:2.15rem 1fr;padding:.55rem .85rem}.profile-card span{background:0 0;border-radius:0;grid-row:1/3}.profile-card.active{background:color-mix(in srgb, var(--blue) 12%, transparent);box-shadow:none!important}.nav-slim-toggle{display:none!important}.nav-edge-toggle{z-index:2;background:var(--surface-strong);width:1.7rem;height:3.2rem;color:var(--text);cursor:pointer;border:0;border-radius:999px;place-items:center;display:grid;position:absolute;top:50%;right:-.85rem;transform:translateY(-50%);box-shadow:0 10px 24px #0f234629}.nav-edge-toggle-icon{transition:transform .18s;-webkit-mask-image:url(/icons/icon_chevron.svg);mask-image:url(/icons/icon_chevron.svg)}.app-shell[data-nav=slim] .nav-edge-toggle-icon{transform:rotate(180deg)}@media (min-width:1001px){.app-sidebar{padding-inline:.85rem;overflow:visible}.module-tabs button,.theme-toggle,.sync-icon-card,.profile-card{min-height:2.65rem!important;padding-left:.85rem!important;padding-right:.85rem!important}.app-shell[data-nav=slim] .app-sidebar{padding-inline:.85rem}.app-shell[data-nav=slim] .module-tabs button,.app-shell[data-nav=slim] .theme-toggle,.app-shell[data-nav=slim] .sync-icon-card,.app-shell[data-nav=slim] .profile-card{justify-content:flex-start;padding-left:.85rem!important;padding-right:.85rem!important}.app-shell[data-nav=slim] .sync-status-text{display:none}.app-shell[data-nav=slim] .sync-icon-card{justify-content:center}}@media (max-width:1000px){.nav-edge-toggle{display:none}.app-sidebar{grid-template-columns:minmax(0,1fr) auto;align-items:center;height:5.4rem}.module-tabs button,.mobile-nav-actions button{justify-content:center;align-items:center}.mobile-nav-actions{grid-template-columns:repeat(3,2.35rem);align-items:center}.mobile-nav-actions button{color:var(--text);background:0 0}.mobile-sync-action{opacity:1}.module-tabs .tab-icon,.mobile-nav-actions span{flex-basis:2.15rem;width:2.15rem;height:2.15rem}}@media (orientation:landscape) and (max-width:1000px){.nav-edge-toggle{display:grid}.sync-icon-card{display:flex}.app-shell[data-nav=slim] .sync-status-text{display:none}}@media (min-width:1001px){.app-shell[data-nav=slim] .sidebar-control-row{display:block}.app-shell[data-nav=slim] .sidebar-control-row .theme-toggle,.app-shell[data-nav=slim] .theme-toggle{justify-content:center;display:flex}.app-shell[data-nav=slim] .theme-toggle span:last-child{display:none}}@media (orientation:landscape) and (max-width:1000px){.app-shell[data-nav=slim] .sidebar-control-row{display:block}.app-shell[data-nav=slim] .sidebar-control-row .theme-toggle,.app-shell[data-nav=slim] .theme-toggle{justify-content:center;display:flex}.app-shell[data-nav=slim] .theme-toggle span:last-child{display:none}}.password-input-wrap{border:1px solid var(--line);background:var(--surface-strong);border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid;overflow:hidden}.password-input-wrap input{min-width:0;background:0 0!important;border:0!important;border-radius:0!important}.password-visibility-toggle{border:0;border-left:1px solid var(--line);width:2.75rem;height:100%;min-height:2.5rem;color:var(--text);cursor:pointer;background:0 0;place-items:center;display:grid}.password-visibility-toggle:hover,.password-visibility-toggle:focus-visible{background:var(--blue-soft);outline:none}.toast-notification{z-index:80;border:1px solid color-mix(in srgb, var(--green) 45%, var(--line));background:color-mix(in srgb, var(--surface-strong) 92%, transparent);max-width:min(24rem,100vw - 2rem);color:var(--green);box-shadow:var(--design-shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border-radius:14px;padding:.85rem 1rem;font-weight:900;position:fixed;top:1rem;right:1rem}@media (max-width:720px){.toast-notification{inset:auto 1rem calc(6rem + env(safe-area-inset-bottom)) 1rem;max-width:none}}:root{--nav-w:13.75rem;--design-shadow:0 10px 28px #15295612}.app-content{padding:1rem 1.15rem 2rem}.app-sidebar{gap:.55rem;padding:1rem .75rem}.module-tabs{flex:none;gap:.18rem;min-height:0;margin:.45rem 0 0;overflow:visible}.module-tabs button{gap:.55rem;min-height:2.35rem;padding:0 .55rem}.sidebar-spacer{flex:.25rem;min-height:.25rem}.profile-card,.logout-chip{flex:none}.logout-chip{z-index:1;position:sticky;bottom:.25rem}.page-heading{margin-bottom:.85rem}.page-heading,.table-header,.sidebar-header{gap:.65rem}h1{margin-bottom:.25rem;font-size:1.45rem}h2{font-size:1.12rem}h3{margin-block:.25rem .55rem}.stat-grid,.dashboard-grid,.detail-grid,.bottom-grid,.voyage-layout,.manager-split,.sheet-detail,.logbook-page,.entry-metrics,.compliance-board,.mileage-breakdown{gap:.7rem}.workspace,.chart-card,.compliance-summary,.requirement-panel,.mileage-breakdown article,.entry-metrics article,.auth-card{padding:.85rem}.info-card,.map-card,.table-card,.compliance-card,.sheet-title-row{padding:.85rem!important}.top-actions{display:none!important}.sync-icon-card{justify-content:center;padding:0 .55rem}.sync-status-text{display:none!important}.module-tabs button.active,.profile-card.active,.mobile-profile-action.active span{box-shadow:none!important;background:0 0!important}.module-tabs button.active .tab-icon,.mobile-profile-action.active span,.profile-card.active span{outline:2px solid var(--blue);outline-offset:2px;border-radius:12px}.module-tabs button.active .nav-label{color:var(--blue)}.module-tabs button.active .tab-icon img{filter:sepia()saturate(4)hue-rotate(185deg)brightness(.9)}.app-shell[data-theme=dark] .module-tabs button.active .tab-icon img{filter:invert(48%)sepia(88%)saturate(1801%)hue-rotate(204deg)brightness(108%)contrast(96%)}@media (min-width:1001px),(orientation:landscape) and (max-width:1000px){.app-shell{min-height:100dvh}.app-sidebar{height:100dvh;min-height:100dvh;max-height:100dvh}}@media (orientation:landscape) and (max-width:1000px){.app-shell{grid-template-columns:var(--nav-w) minmax(0,1fr);padding-bottom:0;display:grid}.app-sidebar{width:var(--nav-w);padding:.75rem .65rem;position:fixed;inset:0 auto 0 0}.app-content{grid-column:2;padding:.8rem 1rem 1.5rem}}@media (max-width:1000px){.app-content{padding:.75rem .75rem 6rem}.app-sidebar{overscroll-behavior-x:contain;scrollbar-width:none;overflow:auto hidden}.app-sidebar::-webkit-scrollbar{display:none}.module-tabs{width:max-content;min-width:max-content;display:flex}.module-tabs button{flex:0 0 2.85rem;width:2.85rem;padding:.2rem!important}.mobile-nav-actions{flex:none}}@media (max-width:720px){.app-content{padding:.6rem .6rem 6rem}h1{font-size:1.32rem}}:root{--nav-w:12.5rem}.app-shell{background:var(--app-bg)}.app-sidebar{box-shadow:none;border-right:0}.module-tabs .tab-icon,.mobile-nav-actions span,.profile-card span,.module-tabs button.active .tab-icon,.mobile-profile-action.active span,.profile-card.active span{box-shadow:none!important;background:0 0!important}.module-tabs .tab-icon img,.profile-card img,.mobile-profile-action img{mix-blend-mode:multiply}.app-shell[data-theme=dark] .module-tabs .tab-icon img,.app-shell[data-theme=dark] .profile-card img,.app-shell[data-theme=dark] .mobile-profile-action img{mix-blend-mode:screen}.module-tabs button.active,.profile-card.active,.mobile-profile-action.active span{background:0 0!important}@media (min-width:1001px){.app-shell[data-nav=slim]{--nav-w:4.3rem}.app-shell[data-nav=slim] .app-sidebar{padding-inline:.45rem}.app-sidebar{width:var(--nav-w);padding:.75rem .55rem}.module-tabs{grid-template-columns:1fr;width:100%;display:grid}.module-tabs button{width:100%;min-height:2.35rem!important;padding-inline:.45rem!important}.app-shell[data-nav=slim] .module-tabs button,.app-shell[data-nav=slim] .sync-icon-card,.app-shell[data-nav=slim] .theme-toggle,.app-shell[data-nav=slim] .profile-card{justify-content:center;padding-inline:.25rem!important}}@media (max-width:1000px){.app-shell{padding-bottom:4.35rem}.app-sidebar{height:4.25rem;padding:.3rem .45rem calc(.3rem + env(safe-area-inset-bottom))}.module-tabs{gap:1.05rem}.module-tabs button{flex:0 0 2.15rem;width:2.15rem;height:2.8rem}.module-tabs .tab-icon,.mobile-nav-actions span{flex-basis:2rem;width:2rem;height:2rem}.mobile-nav-actions{grid-template-columns:repeat(3,2.15rem);gap:1.05rem}.app-content{padding:.45rem .45rem 5rem}}@media (orientation:landscape) and (max-width:1000px){.app-shell{--nav-w:12.5rem;grid-template-columns:var(--nav-w) minmax(0,1fr);padding-bottom:0}.app-sidebar{width:var(--nav-w);height:100dvh;min-height:100dvh;max-height:100dvh;padding:.65rem .5rem;overflow:hidden auto}.module-tabs,.module-tabs.has-admin-tab{grid-template-columns:1fr;gap:.2rem;width:100%;min-width:0;display:grid}.module-tabs button{flex:initial;flex-direction:row;justify-content:flex-start;gap:.5rem;width:100%;height:auto;min-height:2.35rem!important;padding-inline:.45rem!important}.mobile-nav-actions{display:none}}.app-shell[data-theme=dark] .manager-list button,.app-shell[data-theme=dark] .table-card,.app-shell[data-theme=dark] .logbook-list-card,.app-shell[data-theme=dark] .info-card,.app-shell[data-theme=dark] .sheet-card,.app-shell[data-theme=dark] .profile-hero-card,.app-shell[data-theme=dark] .workspace,.app-shell[data-theme=dark] table,.app-shell[data-theme=dark] .table-scroll{color:var(--text)!important;background:#0d1f35!important;border-color:#1b3859!important}.app-shell[data-theme=dark] .primary-action,.app-shell[data-theme=dark] .secondary-action,.app-shell[data-theme=dark] .edit-chip,.app-shell[data-theme=dark] .ghost-button,.app-shell[data-theme=dark] .logout-chip,.app-shell[data-theme=dark] .table-header button,.app-shell[data-theme=dark] .manager-list button{color:var(--text)!important;box-shadow:none!important;background:#102a48!important;border-color:#24496f!important}.password-field{color:var(--text);gap:.45rem;font-weight:850;display:grid}.auth-card .password-field,.inline-edit-grid .password-field{min-width:0}.mobile-bottom-nav{display:none}.side-navigation{display:flex}@media (max-width:1000px) and (orientation:portrait){.app-shell{padding-bottom:4.35rem;display:block}.side-navigation{display:none!important}.mobile-bottom-nav{z-index:50;height:4.15rem;padding:.28rem .32rem calc(.28rem + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:color-mix(in srgb, var(--surface-strong) 94%, transparent);grid-template-columns:repeat(11,minmax(0,1fr));align-items:center;gap:.12rem;display:grid;position:fixed;inset:auto 0 0;overflow:hidden;box-shadow:0 -10px 28px #0f23461a}.mobile-bottom-nav.has-admin-tab{grid-template-columns:repeat(12,minmax(0,1fr))}.mobile-bottom-nav button,.mobile-bottom-nav .mobile-locale-action{all:unset;min-width:0;height:3.25rem;min-height:0;color:var(--text);cursor:pointer;place-items:center;display:grid}.mobile-bottom-nav button:disabled{cursor:default;opacity:1}.mobile-bottom-nav .mobile-locale-action{isolation:isolate;position:relative}.mobile-bottom-nav .mobile-locale-action select{opacity:0;cursor:pointer;border:0;width:100%;height:100%;position:absolute;inset:0}.mobile-bottom-nav .tab-icon,.mobile-bottom-nav .mobile-sync-action .sync-icon,.mobile-bottom-nav .mobile-locale-action>span,.mobile-bottom-nav .mobile-theme-action>span,.mobile-bottom-nav .mobile-profile-action>span{place-items:center;width:1.85rem;height:1.85rem;margin:auto;display:grid;box-shadow:none!important;background:0 0!important}.mobile-bottom-nav .tab-icon img,.mobile-bottom-nav .mobile-profile-action img{object-fit:contain;width:1.42rem;height:1.42rem}.mobile-bottom-nav .nav-label,.mobile-bottom-nav small{display:none!important}.mobile-bottom-nav .mobile-locale-action>span{border:1px solid color-mix(in srgb, var(--text) 20%, transparent);letter-spacing:.03em;border-radius:999px;font-size:.62rem;font-weight:900}.mobile-bottom-nav .mobile-locale-action:focus-within>span{outline:2px solid var(--blue);outline-offset:2px}.mobile-bottom-nav button.active .tab-icon,.mobile-bottom-nav .mobile-profile-action.active>span{outline:2px solid var(--blue);outline-offset:2px;border-radius:10px}.app-content{padding:.45rem .45rem 4.7rem}}@media (min-width:1001px),(max-width:1000px) and (orientation:landscape){.mobile-bottom-nav{display:none!important}.side-navigation{display:flex!important}}@media (max-width:360px) and (orientation:portrait){.mobile-bottom-nav{gap:.05rem;height:3.85rem;padding-inline:.2rem}.mobile-bottom-nav button{height:3rem}.mobile-bottom-nav .tab-icon,.mobile-bottom-nav .mobile-sync-action .sync-icon,.mobile-bottom-nav .mobile-locale-action>span,.mobile-bottom-nav .mobile-theme-action>span,.mobile-bottom-nav .mobile-profile-action>span{width:1.7rem;height:1.7rem}.mobile-bottom-nav .tab-icon img,.mobile-bottom-nav .mobile-profile-action img{width:1.3rem;height:1.3rem}}.open-seamap-view{border:1px solid var(--line);background:var(--surface);min-height:22rem;color:var(--text);box-shadow:var(--design-shadow);border-radius:18px;gap:.75rem;padding:1rem;display:grid;position:relative;overflow:hidden}.open-seamap-map{border:1px solid var(--line);isolation:isolate;background:#b9def4;border-radius:14px;min-height:20rem;overflow:hidden}.open-seamap-empty{border:1px dashed var(--line);background:color-mix(in srgb, var(--blue-soft) 54%, transparent);min-height:14rem;color:var(--subtle);text-align:center;border-radius:14px;place-items:center;padding:1rem;font-weight:850;display:grid}.open-seamap-map .leaflet-control-attribution{background:color-mix(in srgb, var(--surface-strong) 86%, transparent);color:var(--subtle);font-size:.68rem;font-weight:800}.open-seamap-map .leaflet-control-attribution a{color:var(--blue)}.open-seamap-map .leaflet-popup-content-wrapper,.open-seamap-map .leaflet-popup-tip{background:var(--surface-strong);color:var(--text)}.open-seamap-popup{min-width:12rem;color:var(--text);gap:.25rem;font-size:.82rem;display:grid}.open-seamap-popup strong{font-size:.9rem}.open-seamap-popup span{color:var(--subtle)}.open-seamap-detail .open-seamap-map{min-height:20rem}.open-seamap-overview{min-height:18rem}.open-seamap-overview .open-seamap-map{min-height:16rem}.open-seamap-route-targets{gap:.65rem;display:grid}.open-seamap-route-targets-title{color:var(--primary-dark);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:900}.open-seamap-route-targets ul{grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.open-seamap-route-targets button{border:1px solid var(--border);width:100%;min-height:3rem;color:var(--primary-dark);text-align:left;background:#f8fbfd;border-radius:.85rem;gap:.2rem;padding:.7rem .85rem;font-weight:900;display:grid}.open-seamap-route-targets button small{color:var(--muted);font-size:.78rem;font-weight:700}.entity-image{border-color:color-mix(in srgb, var(--blue) 22%, var(--line));background:linear-gradient(135deg, color-mix(in srgb, var(--blue) 14%, transparent), color-mix(in srgb, var(--green) 10%, transparent));color:var(--blue)}.manager-list button{align-content:center;grid-template-columns:auto minmax(0,1fr)!important}.manager-list .entity-image--list{width:3.5rem;height:3.5rem}.table-vessel .entity-image--thumb{border-radius:.45rem;width:2.35rem;height:2.35rem}.sheet-master-header{grid-template-columns:auto minmax(0,1fr) auto}
.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;top:0;left:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:0 0}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{-webkit-transform-origin:0 0;width:1600px;height:1600px}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{width:auto;padding:0;max-width:none!important;max-height:none!important}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:#33b5e566}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{box-sizing:border-box;z-index:800;width:0;height:0}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{z-index:800;pointer-events:visiblePainted;pointer-events:auto;position:relative}.leaflet-top,.leaflet-bottom{z-index:1000;pointer-events:none;position:absolute}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{outline-offset:1px;background:#ddd}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{background:#ffffff80;border:2px dotted #38f}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:.75rem;line-height:1.5}.leaflet-bar{border-radius:4px;box-shadow:0 1px 5px #000000a6}.leaflet-bar a{text-align:center;color:#000;background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;text-decoration:none;display:block}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom:none;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.leaflet-bar a.leaflet-disabled{cursor:default;color:#bbb;background-color:#f4f4f4}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{text-indent:1px;font:700 18px Lucida Console,Monaco,monospace}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{background:#fff;border-radius:5px;box-shadow:0 1px 5px #0006}.leaflet-control-layers-toggle{background-image:url(../media/layers.3muxcl8sz6330.png);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(../media/layers-2x.23wrxu3xxu9-i.png);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{color:#333;background:#fff;padding:6px 10px 6px 6px}.leaflet-control-layers-scrollbar{padding-right:5px;overflow:hidden scroll}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{font-size:1.08333em;display:block}.leaflet-control-layers-separator{border-top:1px solid #ddd;height:0;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(../media/marker-icon.1le94j_pe_ih1.png)}.leaflet-container .leaflet-control-attribution{background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{color:#333;padding:0 5px;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{width:1em;height:.6669em;vertical-align:baseline!important;display:inline!important}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{white-space:nowrap;box-sizing:border-box;text-shadow:1px 1px #fff;background:#fffc;border:2px solid #777;border-top:none;padding:2px 5px 1px;line-height:1.1}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{background-clip:padding-box;border:2px solid #0003}.leaflet-popup{text-align:center;margin-bottom:20px;position:absolute}.leaflet-popup-content-wrapper{text-align:left;border-radius:12px;padding:1px}.leaflet-popup-content{min-height:1px;margin:13px 24px 13px 20px;font-size:1.08333em;line-height:1.3}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{pointer-events:none;width:40px;height:20px;margin-top:-1px;margin-left:-20px;position:absolute;left:50%;overflow:hidden}.leaflet-popup-tip{pointer-events:auto;width:17px;height:17px;margin:-10px auto 0;padding:1px;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{color:#333;background:#fff;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{text-align:center;color:#757575;background:0 0;border:none;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;text-decoration:none;position:absolute;top:0;right:0}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";width:24px;filter:progid:DXImageTransform.Microsoft.Matrix(M11=.707107, M12=.707107, M21=-.707107, M22=.707107);margin:0 auto}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{color:#222;white-space:nowrap;-webkit-user-select:none;user-select:none;pointer-events:none;background-color:#fff;border:1px solid #fff;border-radius:3px;padding:6px;position:absolute;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{pointer-events:none;content:"";background:0 0;border:6px solid #0000;position:absolute}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{margin-left:-6px;left:50%}.leaflet-tooltip-top:before{border-top-color:#fff;margin-bottom:-12px;bottom:0}.leaflet-tooltip-bottom:before{border-bottom-color:#fff;margin-top:-12px;margin-left:-6px;top:0}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{margin-top:-6px;top:50%}.leaflet-tooltip-left:before{border-left-color:#fff;margin-right:-12px;right:0}.leaflet-tooltip-right:before{border-right-color:#fff;margin-left:-12px;left:0}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#eef4f8;--foreground:#102033;--muted:#617083;--card:#ffffffe6;--border:#cfdae5;--primary:#0f6b8f;--primary-dark:#0b4c68;--accent:#f4b942;--success:#087f5b;--shadow:0 24px 70px #10203324;--shadow-soft:0 14px 36px #1020331a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:radial-gradient(circle at top left, #0f6b8f38, transparent 34rem), linear-gradient(135deg, #f7fbfd 0%, var(--background) 100%);min-height:100vh;color:var(--foreground);margin:0;font-family:Arial,Helvetica,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}.app-shell{width:calc(100% - 1rem);margin:0 auto;padding:clamp(1rem,3vw,2rem) 0 4rem}.hero-panel,.workspace,.info-card,.map-card,.table-card,.compliance-card,.optional-card{background:var(--card);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid #cfdae5e6}.hero-panel{border-radius:2rem;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);align-items:stretch;gap:clamp(1rem,3vw,2rem);margin-bottom:1rem;padding:clamp(1rem,3vw,2rem);display:grid}.eyebrow{color:var(--primary-dark);letter-spacing:.12em;text-transform:uppercase;margin:0 0 .55rem;font-size:.75rem;font-weight:800}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.06em;max-width:880px;margin-bottom:.8rem;font-size:clamp(2rem,5.6vw,4.6rem);line-height:.98}h2{letter-spacing:-.04em;margin-bottom:.35rem;font-size:clamp(1.6rem,4vw,2.8rem);line-height:1}h3{margin-bottom:.8rem}.hero-text{max-width:820px;color:var(--muted);margin-bottom:0;font-size:clamp(1rem,2vw,1.2rem);line-height:1.65}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-content:end;gap:.65rem;display:grid}.stat-grid article{color:#fff;box-shadow:var(--shadow-soft);background:linear-gradient(135deg,#102033,#0f6b8f);border-radius:1.2rem;padding:.9rem}.stat-grid span{opacity:.75;margin-bottom:.35rem;display:block}.stat-grid strong{font-size:clamp(1.35rem,2.8vw,2.25rem)}.workspace{border-radius:2rem;grid-template-columns:320px minmax(0,1fr);gap:1rem;padding:1rem;display:grid}.module-tabs{flex-wrap:wrap;gap:.6rem;margin-bottom:1rem;display:flex}.module-tabs button{border:1px solid var(--border);min-height:2.75rem;color:var(--primary-dark);box-shadow:var(--shadow-soft);background:#ffffffe6;border-radius:999px;padding:.75rem 1rem;font-weight:900}.module-tabs button.active{border-color:var(--primary);background:var(--primary);color:#fff}.module-workspace{grid-template-columns:1fr}.module-panel{width:100%}.sidebar{flex-direction:column;align-self:start;gap:.75rem;max-height:calc(100vh - 2rem);display:flex;position:sticky;top:1rem}.sheet-list{gap:.65rem;min-height:0;padding-right:.15rem;display:grid;overflow-y:auto}.sidebar-header,.sheet-title-row,.table-header,.map-card,.compliance-card{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.table-actions{flex-wrap:wrap;justify-content:flex-end;gap:.5rem;display:flex}.sidebar button,.table-header button,.sidebar-header button,.optional-card button{background:var(--primary);color:#fff;border:0;border-radius:999px;min-height:2.75rem;padding:.75rem 1rem;font-weight:800}.sheet-button{text-align:left;gap:.35rem;width:100%;display:grid;border:1px solid var(--border)!important;color:var(--foreground)!important;background:#fff!important;border-radius:1.1rem!important}.sheet-button.active{box-shadow:inset 0 0 0 2px #0f6b8f29;border-color:var(--primary)!important}.sheet-button span{font-weight:800}.sheet-button small,dd,.sheet-title-row p,.stack-list span,.stack-list small{color:var(--muted)}.sheet-detail{gap:1rem;min-width:0;display:grid}.voyage-layout{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);align-items:stretch;gap:1rem;display:grid}.sheet-title-row,.detail-grid,.bottom-grid,.map-card,.table-card,.compliance-card,.optional-card{border-radius:1.5rem;padding:clamp(1rem,2vw,1.5rem)}.status-pill{color:var(--success);white-space:nowrap;background:#e6f6ef;border-radius:999px;align-self:flex-start;padding:.55rem .8rem;font-weight:800}.detail-grid,.bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:0;display:grid}.info-card{border-radius:1.5rem;padding:clamp(1rem,2vw,1.5rem)}dl{gap:.65rem;margin:0;display:grid}dl div{grid-template-columns:140px minmax(0,1fr);gap:.75rem;display:grid}dt{color:var(--primary-dark);font-weight:800}dd{margin:0}.open-seamap-view{border:1px solid var(--border);background:#d7edf4;border-radius:1.25rem;width:100%;height:22rem;min-height:22rem;overflow:hidden}.open-seamap-detail{flex:1}.open-seamap-overview{height:30rem;min-height:30rem}.open-seamap-container,.open-seamap-view .leaflet-container{width:100%;min-height:inherit;height:100%;font:inherit}.open-seamap-empty{border:1px dashed var(--border);width:100%;min-height:18rem;color:var(--muted);text-align:center;background:#f4f8fb;border-radius:1.25rem;place-items:center;padding:1.5rem;font-weight:800;display:grid}.open-seamap-marker{background:0 0;border:0;place-items:center;display:grid}.open-seamap-marker span{background:var(--accent);color:#102033;border:3px solid #fff;border-radius:50%;place-items:center;width:1.9rem;height:1.9rem;font-size:.78rem;font-weight:900;display:grid;box-shadow:0 8px 20px #10203338}.open-seamap-marker-start span{background:var(--success);color:#fff}.open-seamap-marker-end span{background:var(--primary);color:#fff}.open-seamap-clickable-route{cursor:pointer}.open-seamap-route-targets{gap:.65rem;display:grid}.open-seamap-route-targets-title{color:var(--primary-dark);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:900}.open-seamap-route-targets ul{grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:.65rem;margin:0;padding:0;list-style:none;display:grid}.open-seamap-route-targets button{border:1px solid var(--border);width:100%;min-height:3rem;color:var(--primary-dark);text-align:left;background:#f8fbfd;border-radius:.85rem;gap:.2rem;padding:.7rem .85rem;font-weight:900;display:grid}.open-seamap-route-targets button small{color:var(--muted);font-size:.78rem;font-weight:700}.leaflet-popup-content{gap:.25rem;margin:.85rem 1rem;display:grid}.leaflet-popup-content strong,.leaflet-popup-content span,.leaflet-popup-content small{display:block}.logbook-overview-layout{grid-template-columns:minmax(0,1.35fr) minmax(22rem,.65fr);align-items:start;gap:1rem;display:grid}.logbook-overview-map-card{gap:1rem;display:grid}.logbook-list-heading{padding:clamp(1rem,2vw,1.5rem) clamp(1rem,2vw,1.5rem) 0}.logbook-list-heading h3{margin:0}.logbook-overview-map-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.logbook-overview-map-heading p:last-child{max-width:26rem;margin:0}@media (max-width:1100px){.logbook-overview-layout{grid-template-columns:1fr}}.table-card{min-width:0}.table-scroll{border:1px solid var(--border);border-radius:1rem;overflow-x:auto}table{border-collapse:collapse;background:#fff;width:100%;min-width:980px}table.with-course-columns{min-width:1420px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #e5edf3;padding:.85rem}th{color:var(--primary-dark);text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}td{color:#28384b;line-height:1.45}.optional-course-cell{color:var(--muted);text-align:center}.course-tooltip-header{overflow:visible}.course-tooltip{justify-content:center;align-items:center;display:inline-flex;position:relative}.course-tooltip-trigger{min-height:1.8rem;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;background:0 0;border:0;border-radius:999px;align-items:center;gap:.25rem;padding:.2rem .35rem;display:inline-flex}.course-tooltip-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.course-tooltip-icon{width:1rem;height:1rem;color:var(--primary);background:#e8f1f7;border-radius:999px;place-items:center;font-size:.65rem;font-weight:900;line-height:1;display:inline-grid}.course-tooltip-bubble{z-index:1000;top:var(--course-tooltip-top);left:clamp(7rem, var(--course-tooltip-left), calc(100vw - 7rem));border:1px solid var(--border);width:max-content;max-width:min(14rem,72vw);box-shadow:var(--shadow);color:#fff;letter-spacing:.01em;text-align:center;text-transform:none;pointer-events:none;background:#102033;border-radius:.7rem;padding:.55rem .65rem;font-size:.78rem;font-weight:800;line-height:1.25;position:fixed;transform:translate(-50%)}.stack-list,.check-list,.compliance-card ul{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.stack-list li,.check-list li,.compliance-card li{background:#f4f8fb;border-radius:.95rem;padding:.8rem}.stack-list strong,.stack-list span,.stack-list small{display:block}.check-list li:before,.compliance-card li:before{content:"✓";color:var(--success);margin-right:.55rem;font-weight:900}.compliance-card{align-items:stretch}.compliance-card>div{max-width:320px}.compliance-card ul{flex:1}.optional-card button{background:#102033}.course-table{grid-template-columns:repeat(4,1fr);gap:.5rem;margin-top:1rem;display:grid}.course-table span,.course-table strong{background:#f4f8fb;border-radius:.8rem;padding:.8rem}.course-table span{color:var(--muted);font-size:.85rem}.card-title-row,.inline-edit-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.inline-edit-card{grid-template-columns:minmax(0,1fr) auto;align-items:end;display:grid}.inline-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;width:100%;display:grid}.inline-edit-grid .eyebrow,.inline-edit-grid .wide-field{grid-column:1/-1}.inline-edit-grid label{color:var(--primary-dark);letter-spacing:.04em;text-transform:uppercase;gap:.25rem;font-size:.78rem;font-weight:900;display:grid}.inline-edit-grid input,.inline-edit-grid select,.inline-edit-grid textarea,.inline-line-row input{border:1px solid var(--border);width:100%;color:var(--foreground);letter-spacing:normal;text-transform:none;background:#f8fbfd;border-radius:.75rem;padding:.65rem .75rem;font-size:.95rem;font-weight:600}.inline-edit-grid textarea{resize:vertical;min-height:5rem}.preference-group{border:1px solid var(--border);border-radius:1rem;gap:.75rem;padding:.85rem;display:grid}.preference-group legend{color:var(--primary);letter-spacing:.08em;text-transform:uppercase;padding:0 .35rem;font-size:.78rem;font-weight:900}.preference-group-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;display:grid}.inline-edit-actions button,.inline-line-row button{background:var(--primary);color:#fff;border:0;border-radius:999px;min-height:2.5rem;padding:.65rem .9rem;font-weight:900}.coordinate-inputs{grid-template-columns:repeat(2,minmax(5rem,1fr));gap:.4rem;display:grid}.inline-line-row td{background:#f8fbfd}@media (max-width:1050px){.hero-panel,.workspace,.detail-grid,.bottom-grid,.map-card,.compliance-card{grid-template-columns:1fr;display:grid}.sidebar{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;display:grid;position:static}.sheet-list{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));padding-right:0;overflow:visible}.sidebar-header{grid-column:1/-1}}@media (max-width:680px){.app-shell{width:min(100% - 1rem,1440px)}.hero-panel,.workspace{border-radius:1.25rem}.stat-grid,.sidebar,.sheet-list,dl div,.course-table{grid-template-columns:1fr}.sheet-title-row,.table-header,.inline-edit-card{grid-template-columns:1fr;display:grid}.module-tabs{display:grid}.table-actions{justify-content:stretch}.table-actions button,.inline-edit-actions button{width:100%}.inline-edit-grid,.preference-group-grid{grid-template-columns:1fr}h1{font-size:clamp(2rem,14vw,3.2rem)}}.paper-header{box-shadow:var(--shadow);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffeb;border:1px solid #cfdae5e6;border-radius:1.5rem;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;display:grid;overflow:hidden}.paper-header div{border-right:1px solid var(--border);border-bottom:1px solid var(--border);min-width:0;padding:.95rem}.paper-header div:nth-last-child(-n+2){grid-column:span 2}.paper-header span{color:var(--primary-dark);letter-spacing:.08em;text-transform:uppercase;margin-bottom:.35rem;font-size:.75rem;font-weight:900;display:block}.paper-header strong{font-size:1rem;display:block}@media (max-width:1050px){.paper-header,.voyage-layout{grid-template-columns:1fr}.paper-header div:nth-last-child(-n+2){grid-column:auto}}.manager-toggle{border:1px solid var(--border)!important;background:#102033!important}.form-card,.line-form{border:1px solid var(--border);background:#fff;border-radius:1.25rem;gap:.75rem;padding:1rem;display:grid}.form-card h3{margin-bottom:0}.form-card label,.line-form label{color:var(--primary-dark);letter-spacing:.04em;text-transform:uppercase;gap:.25rem;font-size:.78rem;font-weight:900;display:grid}.form-card input,.form-card select,.form-card textarea,.line-form input{border:1px solid var(--border);width:100%;color:var(--foreground);letter-spacing:normal;text-transform:none;background:#f8fbfd;border-radius:.8rem;padding:.7rem .8rem;font-size:.95rem;font-weight:600}.form-card textarea{resize:vertical;min-height:5rem}.form-card button,.line-form button{background:var(--success);color:#fff;border:0;border-radius:999px;min-height:2.75rem;padding:.75rem 1rem;font-weight:900}.boat-list{flex-wrap:wrap;gap:.4rem;display:flex}.boat-list span{color:var(--primary-dark);background:#eff6ff;border-radius:999px;padding:.45rem .65rem;font-size:.82rem;font-weight:800}.line-form{grid-template-columns:repeat(4,minmax(0,1fr));margin:1rem 0}.line-form button{align-self:end}@media (max-width:900px){.line-form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.line-form{grid-template-columns:1fr}}.sheet-button-row{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:.45rem;display:grid}.sheet-button-row.active .sheet-button{box-shadow:inset 0 0 0 2px #0f6b8f29;border-color:var(--primary)!important}.edit-chip,.ghost-button,.boat-list button{border:1px solid var(--border)!important;color:var(--primary-dark)!important;background:#eff6ff!important;border-radius:999px!important;font-weight:900!important}.edit-chip{min-height:auto!important;padding:.55rem .75rem!important}.ghost-button{background:#f8fbfd!important}.boat-list button{font-size:.82rem;min-height:auto!important;padding:.45rem .65rem!important}.manager-split{grid-template-columns:minmax(260px,.45fr) minmax(0,.55fr);gap:1rem;display:grid}.manager-split.horizontal{grid-template-columns:1fr}.manager-list{gap:.7rem;margin:0;padding:0;list-style:none;display:grid}.manager-list button,.sheet-card{text-align:left;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;width:100%;display:grid;border:1px solid var(--border)!important;color:var(--foreground)!important;background:#fff!important;border-radius:1rem!important;padding:.75rem!important}.manager-list button.active{box-shadow:inset 0 0 0 2px #0f6b8f29;border-color:var(--primary)!important}.picture-thumb{width:3.25rem;height:3.25rem;box-shadow:var(--shadow-soft);background:linear-gradient(135deg,#0f6b8fe6,#f4b942d9);border-radius:.85rem}.manager-list strong,.manager-list small,.sheet-card span,.sheet-card small{display:block}@media (max-width:900px){.manager-split{grid-template-columns:1fr}}.logbook-section{width:100%}.sheet-title-row.logbook-section{grid-template-columns:minmax(0,1fr) auto;align-items:start;display:grid}.header-details{grid-column:1/-1;width:100%}.header-details div{grid-template-columns:minmax(8rem,.3fr) minmax(0,1fr)}.sheet-title-row.logbook-section>.edit-chip:last-child{justify-self:start}.header-details div{grid-column:span 1}.header-details div:nth-child(-n+2){grid-column:span 2}.sheet-support-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:1rem;display:grid}.sheet-support-grid .map-card{min-width:0}.logbook-sheet-map-section{grid-template-columns:1fr;align-items:stretch;display:grid}.logbook-sheet-map-section .open-seamap-detail{width:100%}.logbook-map-heading,.logbook-map-modal-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.logbook-map-heading h3,.logbook-map-modal-heading h2{margin:0}.logbook-map-modal{z-index:50;background:#0c1826b8;padding:1rem;display:grid;position:fixed;inset:0;overflow:hidden}.scanner-privacy-modal{z-index:60;background:#0c1826b8;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.scanner-privacy-panel{background:var(--card);width:min(100%,36rem);box-shadow:var(--shadow);border-radius:1.5rem;gap:1rem;padding:clamp(1rem,2vw,1.5rem);display:grid}.scanner-privacy-heading h2,.scanner-privacy-heading p{margin:0}.scanner-privacy-heading{gap:.45rem;display:grid}.scanner-privacy-list{gap:.6rem;margin:0;padding-left:1.25rem;display:grid}.scanner-privacy-actions{flex-wrap:wrap;justify-content:flex-end;gap:.75rem;display:flex}.logbook-map-modal-panel{background:var(--card);width:100%;height:calc(100dvh - 2rem);min-height:0;max-height:calc(100dvh - 2rem);box-shadow:var(--shadow);border-radius:1.5rem;grid-template-rows:auto minmax(0,1fr);gap:1rem;padding:clamp(1rem,2vw,1.5rem);display:grid;overflow:hidden}.open-seamap-expanded,.open-seamap-expanded .open-seamap-map{height:100%;min-height:0}.open-seamap-expanded .open-seamap-container,.open-seamap-expanded .leaflet-container{min-height:0}@media (max-width:1050px){.header-details div,.header-details div:nth-child(-n+2),.sheet-support-grid{grid-column:auto}.sheet-support-grid{grid-template-columns:1fr}}.compact-header-details{grid-template-columns:1fr}.compact-header-details div,.compact-header-details div:nth-child(-n+2){grid-column:auto}.compact-header-details dd{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.header-edit-row,.crew-assignment-fields{grid-template-columns:5rem minmax(0,1fr) minmax(0,1fr);align-items:end;gap:.5rem;display:grid}.header-edit-row{grid-column:1/-1}.header-edit-row>span,.crew-assignment-fields>span{color:var(--primary-dark);font-weight:900}.crew-assignment-list li{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:.75rem;display:grid}.crew-assignment-main,.crew-assignment-actions{gap:.5rem;display:grid}.crew-assignment-actions{grid-auto-flow:column;align-items:start}@media (max-width:680px){.header-edit-row,.crew-assignment-fields,.crew-assignment-list li{grid-template-columns:1fr}.crew-assignment-actions{grid-auto-flow:row}}.inline-value-button{color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:.75rem;padding:.3rem .45rem}.inline-value-button:not(:disabled):hover,.inline-value-button:not(:disabled):focus-visible{background:#0d5f8a1a;outline:2px solid #0d5f8a40}.inline-value-button:disabled{cursor:default}.inline-value-editor{align-items:center;gap:.35rem;width:100%;display:flex}.inline-value-editor input,.inline-value-editor select{border:1px solid var(--border);width:100%;min-width:0;color:var(--foreground);font:inherit;background:#f8fbfd;border-radius:.75rem;padding:.55rem .65rem}.inline-value-actions{gap:.25rem;display:flex}.inline-value-actions button{cursor:pointer;background:#0d5f8a1a;border:0;border-radius:999px;min-width:2rem;min-height:2rem}.sheet-master-header{grid-template-columns:minmax(0,1fr) auto;align-items:start;position:relative}.sheet-master-title,.sheet-master-title h2{min-width:0}.sheet-master-title .inline-value-editor-title{align-items:stretch}.sheet-master-actions{justify-content:flex-end;gap:.45rem}.compact-chip{min-height:2rem;padding:.4rem .65rem}.icon-chip{text-align:center;min-width:2.25rem;min-height:2.25rem;padding:.45rem;line-height:1}.header-edit-row>span{grid-column:1/-1}.header-table{border-radius:1.5rem;grid-column:1/-1;grid-template-columns:1fr;display:grid;overflow:hidden}.header-table-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(5rem,.25fr) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:.75rem;padding:.95rem;display:grid}.header-table-row:last-child{border-bottom:0}.header-table-row>span{color:var(--primary-dark);text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;font-weight:900}.header-table-row>.edit-chip{justify-self:start}.header-edit-row{grid-template-columns:minmax(5rem,.25fr) minmax(0,1fr) minmax(0,1fr)}.header-edit-row>span{grid-column:auto;align-self:center}@media (max-width:680px){.sheet-master-header{grid-template-columns:minmax(0,1fr);padding-top:2.4rem}.sheet-master-actions{position:absolute;top:.75rem;right:.75rem}.sheet-master-actions .status-pill{padding:.35rem .55rem;font-size:.7rem}.sheet-master-actions .compact-chip{min-height:1.8rem;padding:.3rem .5rem;font-size:.75rem}.sheet-master-title .inline-value-editor-title{grid-template-columns:minmax(0,1fr) auto;display:grid}.header-table-row,.header-edit-row{grid-template-columns:1fr}}.log-lines-table{font-size:.82rem}.log-lines-table th,.log-lines-table td{padding:.45rem .5rem}.log-lines-table input,.log-lines-table select{padding:.45rem .5rem;font-size:.8rem}.labeled-inputs label{gap:.2rem;min-width:4.5rem;display:grid}.labeled-inputs span{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;font-size:.68rem;font-weight:800}.dms-inputs label{gap:.2rem;min-width:3.5rem;display:grid}.dms-inputs span{color:var(--muted);font-size:.68rem;font-weight:800}.scanner-draft-notice{color:#92400e;background:#fffbeb;border:1px solid #f59e0b;border-radius:1.25rem;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.85rem;padding:clamp(1rem,2vw,1.25rem);display:grid;box-shadow:0 16px 40px #92400e24}.scanner-draft-notice h3,.scanner-draft-notice p,.scanner-draft-notice ul{margin:0}.scanner-draft-notice h3{color:#78350f}.scanner-draft-notice ul{margin-top:.55rem;padding-left:1.25rem}.scanner-draft-notice p{color:#92400e;margin-top:.55rem;font-weight:700}.scanner-draft-notice-icon{background:#fef3c7;border-radius:999px;place-items:center;width:2.5rem;height:2.5rem;font-size:1.3rem;display:grid}.onboarding-card{gap:1rem;display:grid}.onboarding-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.onboarding-heading h3{margin:.1rem 0 .35rem}.onboarding-heading p:last-child{color:var(--muted);margin:0}.onboarding-progress{min-width:3rem;min-height:3rem;color:var(--primary);background:#0f6b8f1f;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.onboarding-task-list{gap:.75rem;margin:0;padding:0;list-style:none;display:grid}.onboarding-task-list li{border:1px solid var(--border);background:#f8fbfd;border-radius:1rem;justify-content:space-between;align-items:center;gap:.75rem;padding:.8rem;display:flex}.onboarding-task-list li.complete{background:#19875414;border-color:#19875459}.onboarding-task-list label{align-items:flex-start;gap:.75rem;display:flex}.onboarding-task-list input{width:1.15rem;height:1.15rem;accent-color:var(--primary);margin-top:.2rem}.onboarding-task-list span{gap:.2rem;display:grid}.onboarding-task-list small{color:var(--muted)}.onboarding-task-list em{color:var(--success);font-size:.82rem;font-style:normal;font-weight:800}.onboarding-card.compact{margin-bottom:1rem}@media (max-width:720px){.onboarding-heading,.onboarding-task-list li{flex-direction:column;align-items:stretch}}.flag-chooser-field{align-self:start}.inline-edit-grid .flag-chooser{min-height:2.65rem;padding-inline:.75rem 2rem;font-size:1.25rem;line-height:1.1}.image-form-field{gap:.6rem;display:grid}.image-preview-frame{border:1px dashed var(--border);min-height:12rem;color:var(--muted);text-transform:none;background:#f8fbfd;border-radius:1rem;place-items:center;font-size:.9rem;font-weight:800;display:grid;overflow:hidden}.image-preview-frame img{object-fit:contain;width:100%;max-height:18rem;display:block}.image-actions{flex-wrap:wrap;gap:.5rem;display:flex}.visually-hidden-file-input{clip:rect(0, 0, 0, 0);white-space:nowrap;position:absolute;overflow:hidden;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important}.entity-image{width:3.25rem;height:3.25rem;color:var(--primary);box-shadow:var(--shadow-soft);object-fit:cover;background:linear-gradient(135deg,#0f6b8f1f,#f4b94229);border:1px solid #0f6b8f29;border-radius:.85rem;flex:none;place-items:center;font-size:1.35rem;font-weight:900;line-height:1;display:inline-grid;overflow:hidden}img.entity-image{object-fit:cover}.entity-image--crew{border-radius:999px}.entity-image--thumb{border-radius:.45rem;width:2.35rem;height:2.35rem;font-size:1rem}.entity-image--list{width:3.5rem;height:3.5rem}.entity-image--preview{border-radius:inherit;width:100%;height:100%;min-height:12rem;box-shadow:none;object-fit:contain;border:0;font-size:2.5rem}img.entity-image--preview{object-fit:contain}.entity-image--header{width:4.25rem;height:4.25rem;font-size:1.8rem}.entity-image--fallback span{transform:translateY(-1px)}
