:root{--navy: #0a2945;--turquoise: #0e7c7b;--turquoise-soft: #c8f0ed;--coral: #d44d3e;--coral-soft: #ffdad4;--amber: #d9822b;--amber-soft: #ffecce;--emerald: #1b8a5a;--emerald-soft: #cff4e1;--sand: #faf8f4;--sand-card: #f3efe8;--sand-deep: #e7e1d7;--ink: #121c26;--muted: #52606d;--border: #d9d4cb}*{box-sizing:border-box}body{margin:0;background:var(--sand);color:var(--ink);font-family:Plus Jakarta Sans,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased}h1,h2,h3,.serif{font-family:Playfair Display,Georgia,serif;margin:0}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{background:linear-gradient(135deg,#081f38,#0f3d5e 60%,#0e7c7b);color:#fff;padding:18px 24px;position:sticky;top:0;z-index:20;box-shadow:0 6px 24px #0a29452e}.topbar-inner{max-width:1200px;margin:0 auto;display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between}.brand-eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8ff5ee}.brand-title{font-size:26px;line-height:1.15}.nav-pills{display:flex;gap:8px;flex-wrap:wrap}.nav-pill{border:1px solid rgba(255,255,255,.22);background:#ffffff14;color:#e4ecf4;padding:9px 16px;border-radius:999px;font-size:13px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:7px;transition:all .15s ease}.nav-pill.active{background:#fff;color:var(--navy);border-color:#fff}.badge-count{background:var(--coral);color:#fff;font-size:11px;font-weight:700;padding:2px 7px;border-radius:999px}.main-content{max-width:1200px;width:100%;margin:0 auto;padding:22px 20px 64px;display:flex;flex-direction:column;gap:18px}.sync-banner{background:#fff;border:1px solid var(--border);border-radius:16px;padding:12px 16px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.search-input{flex:1;min-width:240px;padding:11px 14px;border-radius:12px;border:1px solid var(--border);background:#fff;font-size:14px;font-family:inherit}.chip-row{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:7px 14px;border-radius:999px;border:1px solid var(--border);background:#fff;color:var(--ink);font-size:12.5px;font-weight:600;cursor:pointer}.chip.selected{background:var(--navy);color:#fff;border-color:var(--navy)}.chip.teal.selected{background:var(--turquoise);border-color:var(--turquoise)}.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:16px}.card{background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 10px #0a29450a}.card-body{padding:18px;display:flex;flex-direction:column;gap:12px;flex:1}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;font-size:11.5px;font-weight:700}.status-pill .dot{width:8px;height:8px;border-radius:50%}.status-DOCKED,.status-TENDERING{background:var(--emerald-soft);color:#0a4d2f}.status-DOCKED .dot,.status-TENDERING .dot{background:var(--emerald);animation:pulse 1.4s infinite}.status-BERTHING{background:var(--coral-soft);color:#410a05}.status-BERTHING .dot{background:var(--coral);animation:pulse 1.1s infinite}.status-APPROACHING_PILOT{background:var(--amber-soft);color:#5d3504}.status-APPROACHING_PILOT .dot{background:var(--amber);animation:pulse 1.3s infinite}.status-EN_ROUTE{background:#d4e4f7;color:#061b30}.status-EN_ROUTE .dot{background:var(--navy)}.status-DEPARTED{background:#e7ecef;color:var(--muted)}.status-DEPARTED .dot{background:var(--muted)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.25}}.telemetry-strip{background:var(--sand-card);border-radius:12px;padding:10px 12px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stat-label{font-size:11px;color:var(--muted)}.stat-value{font-size:13.5px;font-weight:700}.btn{border:none;border-radius:11px;padding:9px 14px;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.btn:disabled{opacity:.48;cursor:not-allowed}.btn-primary{background:var(--navy);color:#fff}.btn-secondary{background:var(--turquoise);color:#fff}.btn-outline{background:transparent;color:var(--navy);border:1px solid var(--border)}.port-hero{padding:20px 18px;color:#fff;min-height:120px;display:flex;flex-direction:column;justify-content:flex-end}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0814228c;display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}.modal-card{background:#fff;border-radius:22px;max-width:560px;width:100%;max-height:90vh;overflow-y:auto;padding:22px;display:flex;flex-direction:column;gap:14px}.field{display:flex;flex-direction:column;gap:5px}.field label{font-size:12px;font-weight:700;color:var(--muted)}.field input,.field select,.field textarea{padding:10px 12px;border-radius:10px;border:1px solid var(--border);font-family:inherit;font-size:14px}.weather-panel{background:var(--sand-card);border:1px solid var(--sand-deep);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px}.weather-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.weather-pill{background:#fff;border-radius:9px;padding:6px 8px;font-size:12px;font-weight:600;display:flex;align-items:center;gap:5px}.weather-tip{font-size:12px;font-weight:600;color:var(--navy)}
