:root {
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #dbe4ee;
  --line-strong: #cbd5e1;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --primary-soft: #ccfbf1;
  --accent: #0284c7;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --warning: #d97706;
  --warning-soft: #fef3c7;
  --success: #15803d;
  --success-soft: #dcfce7;
  --shadow: 0 12px 30px rgba(15, 23, 42, .08);
  --radius: 16px;
  --radius-sm: 10px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); }
body { min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.nowrap { white-space: nowrap; }
.boot { min-height: 100vh; display: grid; place-content: center; text-align: center; color: var(--muted); }
.spinner { width: 42px; height: 42px; margin: 0 auto; border: 4px solid #cbd5e1; border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.public-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr); }
.hero-panel { position: relative; overflow: hidden; color: #fff; padding: clamp(32px, 6vw, 84px); background: linear-gradient(145deg, #0f766e 0%, #0f4c5c 55%, #0b3455 100%); display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; }
.hero-panel::before, .hero-panel::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero-panel::before { width: 520px; height: 520px; right: -260px; top: -160px; }
.hero-panel::after { width: 360px; height: 360px; left: -180px; bottom: -120px; }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 13px; font-weight: 800; letter-spacing: -.02em; }
.brand img { width: 48px; height: 48px; }
.brand-name { font-size: 1.15rem; }
.hero-copy { position: relative; z-index: 1; max-width: 700px; }
.hero-copy h1 { font-size: clamp(2.3rem, 5vw, 5rem); line-height: .98; letter-spacing: -.055em; margin: 0 0 24px; }
.hero-copy p { max-width: 620px; line-height: 1.7; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.hero-features { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 32px; }
.hero-feature { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); padding: 16px; border-radius: 14px; backdrop-filter: blur(8px); }
.hero-feature strong { display: block; margin-bottom: 6px; }
.hero-feature span { font-size: .84rem; color: rgba(255,255,255,.7); }
.hero-foot { position: relative; z-index: 1; font-size: .8rem; color: rgba(255,255,255,.6); }
.auth-panel { min-height: 100vh; background: var(--surface); padding: clamp(28px, 5vw, 72px); display: grid; align-content: center; }
.auth-card { width: min(100%, 520px); margin: 0 auto; }
.auth-card h2 { margin: 0 0 8px; font-size: 2rem; letter-spacing: -.035em; }
.auth-card > p { margin: 0 0 28px; color: var(--muted); line-height: 1.6; }
.auth-switch { margin-top: 18px; text-align: center; font-size: .9rem; color: var(--muted); }
.link-btn { border: 0; background: transparent; color: var(--primary); padding: 0; font-weight: 700; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 262px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; background: #0f172a; color: #e2e8f0; padding: 22px 16px; display: flex; flex-direction: column; z-index: 30; }
.sidebar .brand { padding: 0 10px 22px; }
.sidebar .brand img { width: 40px; height: 40px; }
.nav-list { display: grid; gap: 5px; }
.nav-button { width: 100%; display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 0; border-radius: 10px; background: transparent; color: #cbd5e1; text-align: left; font-weight: 650; }
.nav-button:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-button.active { background: #134e4a; color: #fff; box-shadow: inset 3px 0 #2dd4bf; }
.nav-icon { width: 20px; text-align: center; font-size: 1.1rem; }
.sidebar-spacer { flex: 1; }
.user-chip { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 8px 0; }
.user-chip strong { display: block; color: #fff; font-size: .9rem; }
.user-chip span { display: block; margin-top: 3px; color: #94a3b8; font-size: .77rem; overflow: hidden; text-overflow: ellipsis; }
.main-shell { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; height: 68px; background: rgba(255,255,255,.93); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; padding: 0 26px; }
.mobile-menu { display: none; }
.topbar-title { font-weight: 800; letter-spacing: -.02em; }
.topbar-subtitle { color: var(--muted); font-size: .82rem; }
.topbar-spacer { flex: 1; }
.content { padding: 26px; max-width: 1700px; margin: 0 auto; }
.page-head { display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.page-head h1 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.04em; }
.page-head p { margin: 7px 0 0; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15,23,42,.03); }
.card-pad { padding: 20px; }
.card-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-title h2, .card-title h3 { margin: 0; letter-spacing: -.025em; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin-bottom: 22px; }
.stat-card { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat-label { color: var(--muted); font-size: .82rem; font-weight: 650; }
.stat-value { display: block; margin-top: 8px; font-size: 2rem; font-weight: 850; letter-spacing: -.04em; }
.stat-foot { margin-top: 8px; font-size: .76rem; color: var(--muted); }

.btn { border: 1px solid transparent; border-radius: 10px; padding: 10px 14px; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; min-height: 40px; transition: .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 6px 16px rgba(15,118,110,.18); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: white; border-color: var(--line-strong); color: #334155; }
.btn-secondary:hover { background: var(--surface-soft); }
.btn-danger { background: var(--danger); color: white; }
.btn-warning { background: var(--warning); color: white; }
.btn-soft { background: var(--primary-soft); color: var(--primary-dark); }
.btn-sm { min-height: 32px; padding: 6px 10px; font-size: .78rem; border-radius: 8px; }
.btn-icon { width: 40px; padding: 0; }

.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 15px; }
.field { grid-column: span 4; min-width: 0; }
.field.span-2 { grid-column: span 2; }
.field.span-3 { grid-column: span 3; }
.field.span-4 { grid-column: span 4; }
.field.span-6 { grid-column: span 6; }
.field.span-8 { grid-column: span 8; }
.field.span-12 { grid-column: span 12; }
.field label { display: block; margin-bottom: 7px; font-size: .78rem; color: #475569; font-weight: 750; }
.input, .select, .textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; background: white; color: var(--text); padding: 10px 11px; outline: none; min-height: 42px; }
.input:focus, .select:focus, .textarea:focus { border-color: #2dd4bf; box-shadow: 0 0 0 3px rgba(45,212,191,.16); }
.textarea { min-height: 110px; resize: vertical; }
.input-unit { position: relative; }
.input-unit .input { padding-right: 50px; }
.input-unit span { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .78rem; }
.checkline { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.checkline input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); }
.form-note { padding: 12px 14px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; color: #1e3a8a; font-size: .85rem; line-height: 1.55; }
.warning-note { background: var(--warning-soft); border-color: #fde68a; color: #92400e; }
.danger-note { background: var(--danger-soft); border-color: #fecaca; color: #991b1b; }
.success-note { background: var(--success-soft); border-color: #bbf7d0; color: #166534; }

.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
th { position: sticky; top: 0; z-index: 1; background: #f8fafc; color: #475569; font-size: .76rem; text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
td { padding: 10px 12px; border-bottom: 1px solid #edf2f7; font-size: .86rem; vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f8fafc; }
td .input, td .select { min-height: 35px; padding: 7px 8px; border-radius: 8px; min-width: 76px; }
.empty-state { padding: 48px 20px; text-align: center; color: var(--muted); }
.empty-state strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: 7px; }

.badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 5px 9px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.badge-draft { background: #e2e8f0; color: #475569; }
.badge-ready { background: #dbeafe; color: #1d4ed8; }
.badge-running { background: #fef3c7; color: #92400e; }
.badge-completed { background: #dcfce7; color: #166534; }
.badge-approved { background: #ede9fe; color: #6d28d9; }
.badge-sent { background: #ccfbf1; color: #115e59; }
.badge-archived { background: #f1f5f9; color: #64748b; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.wizard-shell { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 18px; align-items: start; }
.wizard-nav { position: sticky; top: 88px; padding: 10px; }
.wizard-step { width: 100%; border: 0; background: transparent; display: flex; align-items: center; gap: 11px; padding: 11px; border-radius: 10px; text-align: left; color: #475569; font-weight: 700; }
.wizard-step:hover { background: #f1f5f9; }
.wizard-step.active { background: var(--primary-soft); color: var(--primary-dark); }
.step-number { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e2e8f0; font-size: .76rem; flex: 0 0 auto; }
.wizard-step.active .step-number { background: var(--primary); color: white; }
.wizard-content { min-width: 0; }
.wizard-card { padding: 22px; }
.wizard-footer { display: flex; justify-content: space-between; gap: 10px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.section-block + .section-block { margin-top: 22px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; }
.section-heading h3 { margin: 0; font-size: 1rem; }

.people-grid { display: grid; gap: 10px; }
.person-row { display: grid; grid-template-columns: 1fr 1fr 1.6fr 38px; gap: 9px; }
.profile-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 18px; }
.profile-picker { display: grid; gap: 9px; align-content: start; }
.profile-preview { min-height: 250px; background: linear-gradient(#e0f2fe, #f8fafc 60%, #dbeafe 60%); border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; overflow: hidden; }
.profile-preview img { max-width: 100%; max-height: 260px; object-fit: contain; }
.ship-shape { width: min(90%, 640px); height: 130px; border: 5px solid #0f172a; border-top-left-radius: 24px; border-top-right-radius: 45px; clip-path: polygon(0 15%, 22% 15%, 31% 50%, 77% 50%, 80% 25%, 95% 25%, 100% 95%, 0 95%); background: rgba(255,255,255,.8); }

.group-summary { display: grid; grid-template-columns: repeat(8, minmax(70px,1fr)); gap: 8px; }
.group-chip { padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; text-align: center; }
.group-chip strong { display: block; font-size: 1rem; }
.group-chip span { font-size: .7rem; color: var(--muted); }
.positions-grid { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 18px; }
.vessel-map { position: relative; min-height: 510px; border: 1px solid var(--line); border-radius: 16px; background: #f8fafc; overflow: hidden; padding: 24px; }
.vessel-outline { position: absolute; inset: 24px 55px; border: 2px solid #334155; border-radius: 48% 48% 18% 18% / 12% 12% 6% 6%; background: linear-gradient(90deg, rgba(239,68,68,.12) 0 50%, rgba(34,197,94,.12) 50%); }
.centerline { position: absolute; top: 28px; bottom: 28px; left: 50%; width: 1px; background: #64748b; }
.position-slot { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin: 29px 0; }
.position-side { display: flex; align-items: center; gap: 8px; }
.position-side.port { justify-content: flex-end; }
.position-side.starboard { justify-content: flex-start; }

.live-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; }
.live-value { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #f8fafc; }
.live-value .label { color: var(--muted); font-size: .75rem; font-weight: 700; }
.live-value .value { display: block; margin-top: 5px; font-size: 1.7rem; font-weight: 850; letter-spacing: -.04em; }
.connection-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 12px; margin-bottom: 14px; }
.connection-banner.connected { background: var(--success-soft); color: #166534; }
.connection-banner.disconnected { background: var(--danger-soft); color: #991b1b; }
.connection-banner .pulse { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.connection-banner.connected .pulse { animation: pulse 1.5s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 8px transparent; } }
.measurement-console { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 18px; }
.big-angle { min-height: 230px; border-radius: 20px; color: white; background: linear-gradient(135deg, #0f766e, #0369a1); display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); }
.big-angle span { font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 900; line-height: 1; letter-spacing: -.07em; }
.big-angle small { margin-top: 10px; opacity: .8; }
.capture-panel { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: white; }
.capture-panel h3 { margin: 0 0 10px; }
.countdown { font-size: 3rem; font-weight: 900; color: var(--primary); letter-spacing: -.05em; }
.progress { height: 9px; background: #e2e8f0; border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--primary); width: 0; transition: width .25s linear; }
.chart-box { min-height: 340px; border: 1px solid var(--line); border-radius: 14px; background: white; padding: 12px; }
.chart-box canvas { width: 100%; height: 310px; display: block; }

.report-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 18px; }
.signature-wrap { border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: white; }
.signature-wrap canvas { width: 100%; height: 180px; display: block; touch-action: none; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 11px; }
.photo-card { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #f8fafc; min-height: 130px; }
.photo-card img { width: 100%; height: 135px; object-fit: cover; display: block; }
.photo-card button { position: absolute; right: 7px; top: 7px; }
.approval-panel { position: sticky; top: 88px; padding: 18px; }
.approval-panel .btn { width: 100%; margin-top: 9px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(15,23,42,.58); display: grid; place-items: center; padding: 20px; }
.modal { width: min(100%, 560px); max-height: 90vh; overflow: auto; background: white; border-radius: 18px; box-shadow: 0 30px 80px rgba(15,23,42,.35); padding: 24px; }
.modal h2 { margin: 0 0 8px; }

#toast-root { position: fixed; z-index: 200; right: 18px; bottom: 18px; display: grid; gap: 10px; width: min(380px, calc(100vw - 36px)); }
.toast { background: #0f172a; color: white; border-radius: 12px; padding: 13px 15px; box-shadow: var(--shadow); animation: toast-in .22s ease; line-height: 1.45; font-size: .87rem; }
.toast.success { background: #166534; }
.toast.error { background: #991b1b; }
.toast.warning { background: #92400e; }
@keyframes toast-in { from { transform: translateY(12px); opacity: 0; } }

@media (max-width: 1180px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .live-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .measurement-console, .report-grid { grid-template-columns: 1fr; }
  .approval-panel { position: static; }
  .positions-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .public-shell { grid-template-columns: 1fr; }
  .hero-panel { min-height: auto; padding: 32px 24px; }
  .hero-copy { margin: 70px 0; }
  .hero-features { grid-template-columns: 1fr; }
  .auth-panel { min-height: auto; padding: 42px 22px; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; transform: translateX(-105%); transition: .2s ease; width: 270px; box-shadow: 18px 0 50px rgba(15,23,42,.3); }
  .sidebar.open { transform: translateX(0); }
  .mobile-menu { display: inline-flex; }
  .wizard-shell { grid-template-columns: 1fr; }
  .wizard-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding: 8px; }
  .wizard-step { min-width: 190px; }
  .field, .field.span-2, .field.span-3, .field.span-4 { grid-column: span 6; }
  .field.span-6, .field.span-8, .field.span-12 { grid-column: span 12; }
  .profile-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar { padding: 0 14px; height: 60px; }
  .content { padding: 16px 12px 30px; }
  .page-head { flex-direction: column; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .stat-card { padding: 14px; }
  .stat-value { font-size: 1.55rem; }
  .card-pad, .wizard-card { padding: 15px; }
  .field, .field.span-2, .field.span-3, .field.span-4, .field.span-6, .field.span-8, .field.span-12 { grid-column: span 12; }
  .person-row { grid-template-columns: 1fr; border: 1px solid var(--line); padding: 10px; border-radius: 10px; }
  .group-summary { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .live-grid { grid-template-columns: 1fr 1fr; }
  .live-value .value { font-size: 1.35rem; }
  .position-slot { gap: 22px; }
  .wizard-footer { position: sticky; bottom: 0; background: rgba(255,255,255,.96); margin: 18px -15px -15px; padding: 12px 15px; z-index: 5; }
}

/* Sürekli görünür deney sekmeleri ve cihaz bağlantı alanı */
.wizard-shell-horizontal { display: block; }
.wizard-tabs {
  position: sticky;
  top: 72px;
  z-index: 18;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding: 9px;
  margin-bottom: 14px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 7px 24px rgba(15,23,42,.08);
}
.wizard-tabs .wizard-step {
  width: auto;
  min-width: 158px;
  flex: 0 0 auto;
  padding: 9px 11px;
  white-space: nowrap;
}
.wizard-tabs .wizard-step strong { font-size: .78rem; }

.device-bar { padding: 16px; margin-bottom: 14px; border-left: 5px solid #dc2626; transition: border-color .2s ease, background .2s ease; }
.device-bar.connected { border-left-color: #16a34a; background: linear-gradient(135deg, #f0fdf4, #fff 58%); }
.device-bar.disconnected { background: linear-gradient(135deg, #fff7ed, #fff 58%); }
.device-main { display: grid; grid-template-columns: minmax(250px,1fr) minmax(320px,480px); gap: 18px; align-items: end; }
.device-title { display: flex; align-items: center; gap: 11px; }
.device-title .pulse { width: 12px; height: 12px; border-radius: 50%; background: #dc2626; flex: 0 0 auto; }
.device-bar.connected .device-title .pulse { background: #16a34a; animation: pulse 1.5s ease-out infinite; }
.device-title strong { display: block; font-size: 1rem; }
.device-title span:not(.pulse) { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; }
.device-connect label { display: block; margin-bottom: 6px; color: var(--muted); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.device-connect-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.device-live-strip { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.device-live-strip > div { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; background: rgba(255,255,255,.88); min-width: 0; }
.device-live-strip span { display: block; color: var(--muted); font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.device-live-strip strong { display: block; margin-top: 3px; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.raw-data { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.raw-data summary { cursor: pointer; color: var(--muted); font-size: .74rem; font-weight: 700; }
.raw-data code { display: block; margin-top: 8px; padding: 10px; border-radius: 9px; background: #111827; color: #e5e7eb; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }

.export-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 18px; align-items: start; }
.export-preview { box-shadow: none; }
.report-summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.report-summary-grid > div { border: 1px solid var(--line); border-radius: 11px; padding: 12px; background: #f8fafc; }
.report-summary-grid span { display: block; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.report-summary-grid strong { display: block; margin-top: 5px; }

@media (max-width: 1000px) {
  .device-main { grid-template-columns: 1fr; }
  .device-live-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .export-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wizard-tabs { top: 60px; margin-left: -12px; margin-right: -12px; border-radius: 0; }
  .wizard-tabs .wizard-step { min-width: 145px; }
  .device-bar { padding: 13px; }
  .device-connect-row { grid-template-columns: 1fr; }
  .device-live-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}


/* v1.2.0 – sade cihaz bağlantısı, daraltılabilir panel ve tema */
:root[data-theme="dark"] {
  --bg: #0b1220;
  --surface: #111b2e;
  --surface-soft: #17233a;
  --line: #263650;
  --line-strong: #344762;
  --text: #e5edf7;
  --muted: #94a3b8;
  --primary: #14b8a6;
  --primary-dark: #0f9488;
  --primary-soft: #123d3a;
  --danger-soft: #3f1d24;
  --warning-soft: #422d16;
  --success-soft: #153923;
  --shadow: 0 12px 30px rgba(0,0,0,.28);
  color-scheme: dark;
}
:root[data-theme="dark"] .topbar,
:root[data-theme="dark"] .wizard-tabs { background: rgba(17,27,46,.94); }
:root[data-theme="dark"] .btn-secondary,
:root[data-theme="dark"] .input,
:root[data-theme="dark"] .select,
:root[data-theme="dark"] .textarea,
:root[data-theme="dark"] .capture-panel,
:root[data-theme="dark"] .chart-box,
:root[data-theme="dark"] .signature-wrap,
:root[data-theme="dark"] .modal { background: var(--surface); color: var(--text); }
:root[data-theme="dark"] .live-value,
:root[data-theme="dark"] .report-summary-grid > div,
:root[data-theme="dark"] .photo-card { background: var(--surface-soft); }
:root[data-theme="dark"] .field label { color: #b8c5d8; }
:root[data-theme="dark"] .device-bar.connected { background: linear-gradient(135deg, #123328, var(--surface) 58%); }
:root[data-theme="dark"] .device-bar.disconnected { background: linear-gradient(135deg, #36281b, var(--surface) 58%); }
:root[data-theme="dark"] .device-live-strip > div { background: rgba(23,35,58,.9); }
:root[data-theme="dark"] .wizard-footer { background: rgba(17,27,46,.96); }

.app-shell { transition: grid-template-columns .2s ease; }
.app-shell.sidebar-collapsed { grid-template-columns: 78px minmax(0,1fr); }
.sidebar { transition: width .2s ease, padding .2s ease; overflow: visible; }
.sidebar-ear { position: absolute; right: -17px; top: 86px; width: 34px; height: 50px; border: 1px solid #334155; border-left: 0; border-radius: 0 12px 12px 0; background: #0f172a; color: #e2e8f0; font-weight: 900; z-index: 35; }
.sidebar-collapsed .sidebar { padding-left: 10px; padding-right: 10px; }
.sidebar-collapsed .brand { justify-content: center; padding-left: 0; padding-right: 0; }
.sidebar-collapsed .brand-copy,
.sidebar-collapsed .nav-text,
.sidebar-collapsed .user-chip { display: none; }
.sidebar-collapsed .nav-button { justify-content: center; padding-left: 8px; padding-right: 8px; }
.sidebar-collapsed .nav-icon { width: auto; }
.theme-toggle { font-size: 1.1rem; }
.raw-terminal { margin: 8px 0 0; max-height: 180px; overflow: auto; padding: 12px; border-radius: 10px; background: #090d14; color: #d8f7ef; font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-all; }
#toast-root { pointer-events: none; }
.toast { pointer-events: auto; }

@media (max-width: 900px) {
  .app-shell.sidebar-collapsed { grid-template-columns: 1fr; }
  .sidebar-ear { display: none; }
}

/* v1.3.0 – yerel cihaz bağlantısı, otomatik ağ taraması ve tanılama */
.device-connect-row { grid-template-columns: minmax(180px,1fr) auto auto; align-items: stretch; }
.device-connect-row .btn { white-space: nowrap; }
.device-suggestions { display: flex; flex-wrap: wrap; gap: 7px; min-height: 24px; margin-top: 8px; }
.ip-suggestion { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; font: inherit; text-align: left; }
.ip-suggestion:hover { border-color: var(--primary); transform: translateY(-1px); }
.ip-suggestion strong { font-size: .78rem; }
.ip-suggestion span { color: var(--muted); font-size: .68rem; }
.ip-suggestion.device-found { border-color: #16a34a; background: var(--success-soft); }
.connector-diagnostics { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.connector-diagnostics summary { cursor: pointer; color: var(--muted); font-size: .74rem; font-weight: 800; }
.diagnostic-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.diagnostic-grid > div, .diagnostic-error { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; background: var(--surface-soft); min-width: 0; }
.diagnostic-grid span, .diagnostic-error span { display: block; color: var(--muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.diagnostic-grid strong, .diagnostic-error strong { display: block; margin-top: 3px; font-size: .78rem; overflow-wrap: anywhere; }
.diagnostic-error { margin-top: 8px; }
.connector-log { margin: 8px 0 0; max-height: 210px; overflow: auto; padding: 10px; border-radius: 9px; background: #090d14; color: #d8f7ef; font: 11px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; }
.connector-install-modal { max-width: 570px; }
.connector-install-actions { margin-top: 16px; }
:root[data-theme="dark"] .ip-suggestion { background: var(--surface-soft); }

@media (max-width: 760px) {
  .device-connect-row { grid-template-columns: 1fr 1fr; }
  .device-connect-row .input { grid-column: 1 / -1; }
  .diagnostic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 440px) {
  .device-connect-row { grid-template-columns: 1fr; }
  .device-connect-row .input { grid-column: auto; }
  .diagnostic-grid { grid-template-columns: 1fr; }
}


/* v1.5.1 Telefon Cihaz Köprüsü */
.mobile-bridge-modal{max-width:720px}
.mobile-code-box{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:18px;margin:14px 0;background:linear-gradient(135deg,#0b2944,#0d3b50);border:1px solid rgba(87,215,186,.35);border-radius:16px}
.mobile-code-box span,.mobile-code-box small{grid-column:1/-1;color:var(--muted)}
.mobile-code-box strong{font-size:38px;letter-spacing:10px;color:#72ebc7;font-variant-numeric:tabular-nums}
.mobile-steps{display:grid;gap:10px;padding-left:24px;line-height:1.55}
.mobile-steps a{color:#72ebc7;font-weight:700}
@media(max-width:720px){.device-connect-row{flex-wrap:wrap}.device-connect-row .btn{flex:1 1 145px}.mobile-code-box{grid-template-columns:1fr}.mobile-code-box strong{font-size:32px;letter-spacing:7px}.mobile-code-box .btn{width:100%}}

/* v1.5.1 — 6 haneli kodsuz doğrudan telefon köprüsü */
.device-primary-actions{display:grid;grid-template-columns:1.25fr 1fr;gap:8px}
.device-primary-actions .btn{min-height:42px;white-space:nowrap}
.device-advanced{margin-top:8px;border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:var(--surface-soft)}
.device-advanced summary{cursor:pointer;color:var(--muted);font-size:.74rem;font-weight:800}
.device-advanced .device-connect-row{margin-top:9px;grid-template-columns:minmax(180px,1fr) auto}
.mobile-direct-box{display:grid;gap:7px;padding:18px;margin:14px 0;background:linear-gradient(135deg,#0b2944,#0d3b50);border:1px solid rgba(87,215,186,.35);border-radius:16px}
.mobile-direct-box span,.mobile-direct-box small{color:var(--muted)}
.mobile-direct-box strong{font-size:1.35rem;color:#72ebc7;overflow-wrap:anywhere}
@media(max-width:640px){.device-primary-actions{grid-template-columns:1fr}.device-primary-actions .btn{width:100%}.device-advanced .device-connect-row{grid-template-columns:1fr}}

/* v1.8.0 — Master cihaz, paralel operatörler ve kompakt operasyon paneli */
.mode-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;font-size:.72rem;font-weight:900;white-space:nowrap;border:1px solid var(--line)}
.mode-pill.operator{background:var(--success-soft);color:#28c89b}.mode-pill.observer{background:#182941;color:#8fc5ff}
.dashboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin:0 0 12px}.dashboard-head h1{margin:2px 0 4px;font-size:clamp(1.55rem,2.6vw,2.35rem)}.dashboard-head p{margin:0;color:var(--muted)}
.eyebrow{font-size:.68rem;letter-spacing:.14em;font-weight:900;color:var(--primary)}
.home-live-panel{border:1px solid var(--line);border-left:5px solid #ef4444;border-radius:14px;background:linear-gradient(135deg,var(--warning-soft),var(--surface) 55%);padding:12px;margin-bottom:12px;box-shadow:var(--shadow)}
.home-live-panel.connected{border-left-color:#20b96f;background:linear-gradient(135deg,var(--success-soft),var(--surface) 55%)}
.home-live-head,.home-live-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-live-meta{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.76rem}.home-live-grid{display:grid;grid-template-columns:minmax(220px,.85fr) 1.6fr;gap:10px;margin-top:10px}
.live-angle-hero{display:flex;flex-direction:column;justify-content:center;min-height:130px;padding:14px;border-radius:12px;background:linear-gradient(135deg,#118f84,#0877a9);color:white}.live-angle-hero span{font-size:.72rem;font-weight:800;opacity:.9;text-transform:uppercase}.live-angle-hero strong{font-size:clamp(2.6rem,7vw,5.2rem);line-height:1;font-variant-numeric:tabular-nums;margin:7px 0}.live-angle-hero small{opacity:.85;overflow-wrap:anywhere}
.home-live-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-live-values>div{border:1px solid var(--line);border-radius:11px;padding:10px 12px;background:var(--surface-soft);min-width:0}.home-live-values span{display:block;font-size:.66rem;text-transform:uppercase;color:var(--muted);font-weight:900}.home-live-values strong{display:block;font-size:1.35rem;margin-top:5px;overflow-wrap:anywhere}.home-live-foot{border-top:1px solid var(--line);margin-top:10px;padding-top:9px;font-size:.76rem;color:var(--muted)}
.dashboard-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px}.summary-card{border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:var(--surface);min-width:0}.summary-card span,.summary-card small{display:block;color:var(--muted);font-size:.7rem}.summary-card strong{display:block;font-size:1.65rem;margin:4px 0}.summary-card.attention{border-color:#e4a33c;background:var(--warning-soft)}
.dashboard-section{border:1px solid var(--line);border-radius:14px;background:var(--surface);padding:11px;margin-bottom:12px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.section-head h2{margin:0;font-size:1.05rem}.section-head p{margin:2px 0 0;color:var(--muted);font-size:.76rem}.active-experiment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.active-experiment-card{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:11px;padding:10px;background:var(--surface-soft);min-width:0}.active-experiment-card.capturing{border-color:#23c986;box-shadow:inset 3px 0 #23c986}.active-experiment-card>div:first-child{display:grid;gap:3px;min-width:0}.active-experiment-card strong,.active-experiment-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.active-experiment-card small{color:var(--muted)}.active-experiment-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.btn-xs{padding:6px 8px;font-size:.68rem;min-height:30px}.live-tag{color:#20bd7b;font-weight:900;font-size:.72rem}.compact-card{padding:10px}.compact-search{min-width:210px;max-width:280px}.empty-state.compact{padding:18px}
.presence-bar{display:flex;align-items:center;gap:10px;margin:8px 0;padding:7px 9px;border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:auto}.presence-bar>span{font-size:.68rem;text-transform:uppercase;color:var(--muted);font-weight:900;white-space:nowrap}.presence-bar>div{display:flex;gap:6px}.presence-chip{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:var(--surface-soft);border:1px solid var(--line);font-size:.68rem;white-space:nowrap}.presence-chip.operator{border-color:#1aa982;color:#39d5a7}.presence-chip.observer{border-color:#3d78ab;color:#9acbff}.read-only-mode .wizard-content{box-shadow:inset 0 0 0 1px #497fb0}.read-only-mode input:disabled,.read-only-mode select:disabled,.read-only-mode textarea:disabled{opacity:.78;cursor:not-allowed}
.content{padding:10px 12px}.page-head{margin-bottom:10px}.card-pad{padding:12px}.wizard-card{padding:10px}.wizard-tabs{margin-bottom:8px}.device-bar{padding:10px}.form-grid{gap:8px}.field{gap:4px}.field label{font-size:.68rem}.input,.select,.textarea{min-height:38px;padding:8px 10px}.btn{min-height:38px;padding:8px 12px}.table-wrap table th,.table-wrap table td{padding:8px 9px}.wizard-footer{padding:8px 0 0;margin-top:9px}
.native-app-mode .device-connect{display:none}.native-app-mode .connector-diagnostics{display:none}
@media(max-width:1100px){.dashboard-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.active-experiment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.content{padding:8px}.dashboard-head{align-items:flex-start;flex-direction:column}.home-live-grid{grid-template-columns:1fr}.home-live-head,.home-live-foot{align-items:flex-start;flex-direction:column}.dashboard-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.active-experiment-grid{grid-template-columns:1fr}.active-experiment-card{align-items:flex-start;flex-direction:column}.active-experiment-actions{justify-content:flex-start}.compact-search{min-width:0;width:100%}.mode-pill{display:none}.live-angle-hero{min-height:112px}.home-live-values strong{font-size:1.12rem}}
@media(max-width:430px){.dashboard-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-live-values{grid-template-columns:repeat(2,minmax(0,1fr))}.home-live-panel{padding:9px}.summary-card{padding:8px}.active-experiment-card{padding:8px}.content{padding:6px}.card-pad,.wizard-card,.device-bar{padding:8px}.page-head h1{font-size:1.45rem}.page-head .actions{gap:5px}.page-head .btn{padding:7px 9px}.topbar{padding:7px 8px}.topbar-title{font-size:1rem}}


/* v1.8.0 — Premium mobil, hotspot ayarları, güvenli alanlar ve modern gemi profilleri */
body{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px);padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
.native-app-mode body{padding:0}
.hero-grid-lines{position:absolute;inset:0;opacity:.12;background-image:linear-gradient(rgba(255,255,255,.25) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.25) 1px,transparent 1px);background-size:56px 56px;mask-image:linear-gradient(to bottom,transparent,black 20%,black 80%,transparent)}
.hero-kicker,.auth-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:7px 11px;border-radius:999px;font-size:.67rem;letter-spacing:.12em;font-weight:900}.hero-kicker{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);margin-bottom:18px}.auth-badge{background:var(--primary-soft);color:var(--primary-dark);margin-bottom:12px}
.hero-instrument{display:grid;grid-template-columns:minmax(220px,.9fr) 1.25fr;gap:12px;margin:24px 0 4px}.hero-gauge{border:1px solid rgba(255,255,255,.22);background:linear-gradient(145deg,rgba(2,132,199,.32),rgba(15,118,110,.42));border-radius:20px;padding:18px;box-shadow:0 20px 45px rgba(0,0,0,.18)}.hero-gauge span,.hero-gauge small{display:block;color:rgba(255,255,255,.72);font-size:.72rem}.hero-gauge strong{display:block;font-size:clamp(2.6rem,6vw,4.8rem);line-height:1;margin:9px 0;font-variant-numeric:tabular-nums}.hero-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hero-mini-grid>div{padding:13px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);border-radius:14px}.hero-mini-grid span{display:block;font-size:.67rem;color:rgba(255,255,255,.65);text-transform:uppercase;font-weight:900}.hero-mini-grid strong{display:block;margin-top:5px;font-size:.92rem}
.auth-card{border:1px solid var(--line);border-radius:22px;padding:clamp(20px,4vw,38px);background:var(--surface);box-shadow:0 30px 70px rgba(15,23,42,.12)}.auth-switch-cta{display:grid;gap:9px;padding-top:18px;border-top:1px solid var(--line)}.auth-switch-cta span{font-weight:800;color:var(--text)}.auth-switch-cta small{font-size:.72rem}.btn-application{width:100%;background:linear-gradient(135deg,#f59e0b,#ea580c);color:white;box-shadow:0 10px 24px rgba(234,88,12,.25)}
.profile-preview{background:linear-gradient(180deg,#e7f6ff 0%,#f8fbff 70%,#d9effc 70%,#eef9ff 100%);padding:12px}.vessel-profile-svg{width:min(100%,900px);height:auto;max-height:280px;color:#0b1f33;filter:drop-shadow(0 9px 12px rgba(15,23,42,.16))}.profile-stroke{fill:none;stroke:#081827;stroke-width:7;stroke-linecap:round;stroke-linejoin:round}.hull-fill{fill:#ffffff;stroke:none}.deck-fill{fill:#cfe8f6;stroke:none}.window-fill{fill:#0f6a8c;stroke:none}.sail-fill{fill:#ffffff;stroke:#081827;stroke-width:5;stroke-linejoin:round}.sail-fill.alt{fill:#d9effa}.water-line{stroke:#0ea5e9;stroke-width:4;stroke-dasharray:12 8}.water-wave{fill:none;stroke:#38bdf8;stroke-width:3}
.settings-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:10px}.settings-card{padding:12px}.settings-card.span-all{grid-column:1/-1}.settings-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.native-device-results{display:grid;gap:7px;margin-top:10px}.native-device-card{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;text-align:left;border:1px solid var(--line);background:var(--surface-soft);border-radius:11px;padding:9px;color:var(--text)}.native-device-card:hover{border-color:var(--primary)}.native-device-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:var(--primary-soft);color:var(--primary);font-size:1.3rem}.native-device-card strong,.native-device-card small{display:block}.native-device-card small{color:var(--muted);margin-top:2px}.display-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.display-mode-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;padding:12px;text-align:left;color:var(--text)}.display-mode-card.active{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary);background:var(--primary-soft)}.display-mode-card strong,.display-mode-card span{display:block}.display-mode-card span{color:var(--muted);font-size:.72rem;margin-top:4px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid var(--line);margin-top:10px}.setting-row strong,.setting-row span{display:block}.setting-row>div span{color:var(--muted);font-size:.74rem;margin-top:4px}.toggle-button{display:inline-flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:999px;padding:6px 10px;background:var(--surface-soft);color:var(--muted);font-weight:800}.toggle-button span{width:18px;height:18px;border-radius:50%;background:#94a3b8}.toggle-button.active{background:var(--success-soft);color:var(--success);border-color:#86efac}.toggle-button.active span{background:#22c55e}.quick-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.quick-flow>div{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;padding:10px;background:var(--surface-soft)}.quick-flow b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:white}.help-modal{max-width:620px}.help-copy{font-size:1rem;line-height:1.7;color:var(--text)}.help-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
html.ui-mode-phone .app-shell{grid-template-columns:1fr}html.ui-mode-phone .sidebar{position:fixed;transform:translateX(-110%)}html.ui-mode-phone .sidebar.open{transform:translateX(0)}html.ui-mode-phone .mobile-menu{display:inline-flex}html.ui-mode-phone .content{padding:6px}html.ui-mode-phone .settings-grid{grid-template-columns:1fr}html.ui-mode-phone .quick-flow{grid-template-columns:1fr 1fr}html.ui-mode-phone .form-grid{gap:7px}html.ui-mode-phone .field{grid-column:1/-1}
html.ui-mode-tablet .app-shell{grid-template-columns:84px minmax(0,1fr)}html.ui-mode-tablet .sidebar{padding-inline:10px}html.ui-mode-tablet .sidebar .brand-copy,html.ui-mode-tablet .nav-text,html.ui-mode-tablet .user-chip{display:none}html.ui-mode-tablet .nav-button{justify-content:center}html.ui-mode-tablet .content{padding:10px}html.ui-mode-tablet .settings-grid{grid-template-columns:1fr}
html.ui-mode-desktop .content{max-width:1900px}
@media(max-width:900px){.hero-instrument{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.quick-flow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.public-shell{min-height:100dvh}.hero-panel{min-height:auto;padding:24px 18px 28px}.hero-copy h1{font-size:clamp(2.1rem,11vw,3.5rem)}.hero-instrument{display:none}.hero-features{grid-template-columns:1fr;margin-top:20px}.auth-panel{min-height:auto;padding:18px 12px 28px}.auth-card{padding:18px}.settings-card{padding:9px}.display-mode-grid{grid-template-columns:1fr 1fr}.wizard-footer{padding-bottom:max(8px,env(safe-area-inset-bottom))}}
@media(max-width:430px){.quick-flow{grid-template-columns:1fr}.display-mode-grid{grid-template-columns:1fr}.settings-actions .btn{width:100%}.hero-feature{padding:12px}}

/* v1.8.0: collapsible professional sections and touch-first profile editor */
.section-heading{position:relative;padding-right:34px}
.section-collapse-button{position:absolute;right:0;top:50%;transform:translateY(-50%);width:28px;height:28px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);color:var(--muted);font-weight:900;line-height:1;cursor:pointer}
.section-collapse-button:hover{border-color:var(--primary);color:var(--primary)}
.section-block.collapsed>:not(.section-heading){display:none!important}
.section-block.collapsed .section-heading{margin-bottom:0}
.profile-editor-modal{width:min(96vw,1040px);max-width:none;padding:16px}
.profile-editor-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:12px 0}
.profile-editor-toolbar .btn.active{background:var(--primary);color:white;border-color:var(--primary)}
.profile-width-label{display:flex;align-items:center;gap:8px;margin-left:auto;color:var(--muted);font-size:.78rem;font-weight:800}
.profile-width-label input{width:130px}
.profile-editor-stage{border:1px solid var(--line-strong);border-radius:14px;overflow:hidden;background:linear-gradient(180deg,#edf8ff,#fff 75%);padding:8px}
.profile-editor-stage canvas{display:block;width:100%;height:auto;min-height:220px;max-height:55vh;background:#fff;touch-action:none;cursor:crosshair;border-radius:9px}
.profile-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
@media(max-width:640px){.profile-editor-modal{padding:10px}.profile-editor-toolbar .btn{flex:1 1 125px}.profile-width-label{width:100%;margin-left:0;justify-content:space-between}.profile-width-label input{flex:1}.profile-editor-stage{padding:4px}.profile-editor-stage canvas{min-height:250px}.profile-editor-actions .btn{flex:1}}


/* v1.8.0 — compact professional operations UI */
.premium-hero-panel{background:radial-gradient(circle at 82% 12%,rgba(34,211,238,.26),transparent 26%),radial-gradient(circle at 12% 84%,rgba(99,102,241,.24),transparent 28%),linear-gradient(145deg,#071426 0%,#0b3553 48%,#0f766e 100%)}
.premium-hero-panel::before,.premium-hero-panel::after{display:none}.hero-orbit{position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%;pointer-events:none}.orbit-one{width:620px;height:620px;right:-250px;top:-260px}.orbit-two{width:420px;height:420px;left:-240px;bottom:-220px}.premium-hero-copy{max-width:850px}.premium-hero-copy h1 em{font-style:normal;color:#67e8f9}.premium-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:24px}.premium-feature-card{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.075);backdrop-filter:blur(12px)}.feature-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:1.35rem;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}.tone-cyan .feature-icon{background:linear-gradient(135deg,#06b6d4,#0284c7)}.tone-violet .feature-icon{background:linear-gradient(135deg,#8b5cf6,#6366f1)}.tone-blue .feature-icon{background:linear-gradient(135deg,#3b82f6,#2563eb)}.tone-amber .feature-icon{background:linear-gradient(135deg,#f59e0b,#ea580c)}.tone-green .feature-icon{background:linear-gradient(135deg,#22c55e,#0f766e)}.tone-rose .feature-icon{background:linear-gradient(135deg,#f43f5e,#be123c)}.premium-feature-card strong{display:block;font-size:.91rem}.premium-feature-card p{margin:4px 0 0!important;font-size:.76rem!important;line-height:1.4!important;color:rgba(255,255,255,.7)!important}.hero-foot{display:flex;gap:10px}.login-submit{width:100%;font-size:1rem;min-height:48px;background:linear-gradient(135deg,#0f766e,#0284c7)}
.connection-led{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line-strong);background:var(--surface-soft);flex:0 0 auto}.connection-led i{width:11px;height:11px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 5px rgba(148,163,184,.15)}.connection-led.connected i{background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.18),0 0 16px rgba(34,197,94,.75)}.topbar-device-meta{display:flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);font-size:.72rem}.topbar-device-meta span{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.topbar-device-meta b{font-variant-numeric:tabular-nums}.topbar-new{min-height:36px;padding:7px 11px}.topbar-copy{min-width:0}.topbar-title,.topbar-subtitle{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.experiment-live-hud{position:sticky;top:68px;z-index:19;display:grid;grid-template-columns:auto minmax(145px,.7fr) minmax(145px,.9fr) minmax(240px,1.35fr);align-items:stretch;gap:7px;padding:7px;margin:0 -2px 8px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);box-shadow:0 6px 18px rgba(15,23,42,.08)}.experiment-live-hud .hud-status{display:flex;align-items:center;gap:6px;padding:0 8px;font-size:.66rem;font-weight:900;color:var(--muted)}.experiment-live-hud .pulse{width:10px;height:10px;border-radius:50%;background:#94a3b8}.experiment-live-hud.connected .pulse{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.15)}.hud-primary{display:flex;align-items:baseline;justify-content:space-between;gap:7px;border-radius:10px;padding:8px 11px;color:#fff}.hud-primary.heel{background:linear-gradient(135deg,#0f766e,#0891b2)}.hud-primary.depth{background:linear-gradient(135deg,#1d4ed8,#4f46e5)}.hud-primary span{font-size:.68rem;font-weight:900;letter-spacing:.08em}.hud-primary strong{font-size:1.32rem;font-variant-numeric:tabular-nums;white-space:nowrap}.hud-meta{display:grid;grid-template-columns:1.5fr .8fr .8fr;gap:5px}.hud-meta>span{min-width:0;padding:7px 8px;border-radius:9px;background:var(--surface-soft);border:1px solid var(--line)}.hud-meta small,.hud-meta b{display:block}.hud-meta small{font-size:.58rem;color:var(--muted);font-weight:900;letter-spacing:.05em}.hud-meta b{font-size:.75rem;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wizard-tabs{top:126px;margin-bottom:8px;padding:6px;scroll-behavior:smooth}.wizard-tabs .wizard-step{min-width:max-content;padding:7px 9px}.wizard-tabs .wizard-step strong{font-size:.72rem}.compact-page-head{margin:10px 0}.compact-page-head h1{font-size:clamp(1.45rem,2.3vw,2rem)}.presence-bar{margin-bottom:8px}.wizard-card{padding:12px}.guided-step-title{margin-bottom:8px}.step-title-actions{display:flex;align-items:center;gap:8px}.guided-instruction{display:flex;gap:9px;align-items:flex-start;margin:0 0 10px;padding:8px 10px;border-radius:10px;background:var(--primary-soft);color:var(--primary-dark)}.guided-instruction>span{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:white;font-size:.7rem;font-weight:900;flex:0 0 auto}.guided-instruction p{margin:0;font-size:.76rem;line-height:1.45}
.home-command-panel{padding:14px}.home-priority-grid{display:grid;grid-template-columns:1fr 1fr minmax(230px,.7fr);gap:10px}.priority-reading{min-height:140px;border-radius:18px;padding:18px;color:#fff;display:flex;flex-direction:column;justify-content:center}.priority-reading.heel{background:linear-gradient(135deg,#0f766e,#0891b2)}.priority-reading.depth{background:linear-gradient(135deg,#1d4ed8,#6d28d9)}.priority-reading span{font-size:.72rem;font-weight:900;letter-spacing:.13em}.priority-reading strong{font-size:clamp(2.6rem,5vw,5.3rem);line-height:1;font-variant-numeric:tabular-nums;margin:8px 0}.priority-reading small{opacity:.78}.home-station-meta{display:grid;gap:7px}.home-station-meta>div{padding:11px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.home-station-meta span,.home-station-meta strong{display:block}.home-station-meta span{font-size:.65rem;color:var(--muted);font-weight:900}.home-station-meta strong{margin-top:4px}.home-live-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;color:var(--muted);font-size:.77rem}
.professional-profile{background:linear-gradient(180deg,#dff4ff 0%,#f7fbff 62%,#bfe8fa 62%,#e9f8ff 100%);border:1px solid #b6d9e8}.professional-profile .vessel-profile-svg{max-height:245px}.profile-stroke{stroke-width:6}.hull-fill{fill:#fff;stroke:#071426;stroke-width:1}.deck-fill{fill:#b9e2f4}.compact-data-table{width:max-content;min-width:100%;table-layout:fixed}.compact-data-table th,.compact-data-table td{padding:6px 7px}.compact-data-table td .input,.compact-data-table td .select{min-width:0;width:100%;padding:6px;min-height:34px}.compact-data-table .w-label{width:150px}.compact-data-table .w-place{width:82px}.compact-data-table .w-number{width:105px}.compact-data-table .w-sign{width:54px}.compact-data-table .w-note{width:180px}.compact-data-table .w-action{width:62px}.compact-data-table .w-coordinate{width:86px}.compact-data-table .w-code{width:58px}.compact-data-table .w-group{width:92px}.hydro-two-column{gap:9px}.hydro-two-column .field{grid-column:span 6}.hydro-two-column .textarea{min-height:42px}.section-block{margin-bottom:10px}.section-heading{margin-bottom:8px}.form-grid{gap:9px}.field label{margin-bottom:4px}.input,.select,.textarea{min-height:38px;padding:8px 9px}.textarea{min-height:74px}.card-pad{padding:12px}
.positions-grid{grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:12px}.vessel-map-professional{position:relative;min-height:430px;max-height:520px;display:grid;place-items:center;border:1px solid var(--line);border-radius:16px;background:radial-gradient(circle at 50% 42%,#fff,#e7f4fa);overflow:hidden}.vessel-map-professional svg{height:100%;max-height:500px;width:auto}.modern-vessel-hull{fill:#071426}.modern-vessel-deck{stroke:#071426;stroke-width:4}.modern-centerline{stroke:#fff;stroke-width:3;stroke-dasharray:9 8}.vessel-map-professional text{fill:var(--muted);font-size:16px;font-weight:900}.position-overlay{position:absolute;inset:9% 18% 11%;display:flex;flex-direction:column;justify-content:space-evenly}.position-slot{display:grid;grid-template-columns:1fr 1fr;gap:24px}.position-side{display:flex;align-items:center}.position-side.port{justify-content:flex-end}.position-side.starboard{justify-content:flex-start}.position-side span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#071426;border:3px solid #071426;font-weight:900;box-shadow:0 4px 12px rgba(0,0,0,.2)}
.modern-measurement-console{grid-template-columns:minmax(300px,1.25fr) minmax(310px,.75fr);gap:10px}.compact-big-angle{min-height:170px;aspect-ratio:auto}.compact-big-angle .big-angle-label{font-size:.72rem;letter-spacing:.15em;font-weight:900;opacity:.75}.compact-big-angle strong{font-size:clamp(3.7rem,8vw,6.5rem);line-height:.95}.compact-capture-panel{padding:12px}.capture-heading{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.capture-heading h3{font-size:.9rem;margin:3px 0 0}.capture-settings-grid{display:grid;grid-template-columns:1fr 105px;gap:8px;align-items:end;margin:9px 0}.countdown{font-size:2.6rem;line-height:1}.countdown-caption{display:block;margin-top:5px}.capture-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.capture-action{min-height:64px;font-size:.92rem}.chart-box{min-height:280px}.chart-box canvas{height:255px}
.report-review-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:10px}.report-review-main,.report-next-step{padding:14px}.report-next-step{background:linear-gradient(145deg,var(--primary-soft),var(--surface));border-color:#86d8cc}.report-next-step p{color:var(--muted);line-height:1.5}.report-next-step .btn{width:100%}.report-readiness{display:flex;gap:10px;align-items:flex-start;margin-top:12px;padding:12px;border-radius:12px;background:var(--warning-soft);color:#92400e}.report-readiness.ready{background:var(--success-soft);color:#166534}.report-readiness>span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:currentColor;color:white;font-weight:900}.report-readiness p{margin:4px 0 0;font-size:.78rem}.evidence-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:10px}.finalization-stack>.section-block,.evidence-grid>.section-block{padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
@media(max-width:1000px){.experiment-live-hud{grid-template-columns:auto 1fr 1fr}.hud-meta{grid-column:1/-1}.home-priority-grid{grid-template-columns:1fr 1fr}.home-station-meta{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.report-review-grid,.evidence-grid{grid-template-columns:1fr}.positions-grid{grid-template-columns:1fr}.vessel-map-professional{min-height:380px}.modern-measurement-console{grid-template-columns:1fr}}
@media(max-width:760px){.premium-feature-grid{grid-template-columns:1fr}.premium-hero-copy h1{font-size:clamp(2.3rem,12vw,4.2rem)}.topbar-new{display:none}.experiment-live-hud{top:60px;grid-template-columns:1fr 1fr;padding:5px;margin-left:-6px;margin-right:-6px;border-radius:0}.experiment-live-hud .hud-status{position:absolute;right:4px;top:4px;padding:3px 5px;border-radius:999px;background:rgba(255,255,255,.86);z-index:2}.hud-primary{padding:8px}.hud-primary strong{font-size:1.18rem}.hud-meta{grid-column:1/-1;grid-template-columns:1.4fr .8fr .8fr}.wizard-tabs{top:151px;margin-left:-6px;margin-right:-6px;border-radius:0}.wizard-tabs .wizard-step{min-width:max-content}.compact-page-head{margin-top:8px}.compact-page-head .actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.guided-step-title{align-items:flex-start}.step-title-actions{flex-direction:column;align-items:flex-end}.home-priority-grid{grid-template-columns:1fr}.home-station-meta{grid-template-columns:1fr 1fr 1fr}.priority-reading{min-height:115px}.priority-reading strong{font-size:3rem}.capture-actions{grid-template-columns:1fr 1fr}.capture-action{min-height:58px}.hydro-two-column .field{grid-column:span 6}.topbar-device-meta{display:none}.mode-pill{display:none}.content{padding-top:6px}.wizard-card{padding:8px}.section-block{margin-bottom:8px}}
@media(max-width:430px){.hydro-two-column .field{grid-column:span 6}.hud-meta{font-size:.68rem}.hud-meta>span{padding:5px}.home-station-meta{grid-template-columns:1fr}.capture-heading{grid-template-columns:1fr auto}.capture-settings-grid{grid-template-columns:1fr 85px}.capture-actions{grid-template-columns:1fr 1fr}.capture-action{padding:8px 5px}.premium-feature-card{padding:11px}.topbar-new{display:none}}


/* Medeci v1.9.0 — mobile-first compact operation */
.topbar-experiment-link{appearance:none;border:0;background:transparent;color:inherit;padding:0;text-align:left;min-width:0;cursor:pointer;display:grid;gap:1px}.topbar-experiment-link strong,.topbar-experiment-link span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-experiment-link strong{font-size:.88rem}.topbar-experiment-link span{font-size:.66rem;color:var(--muted)}
.topbar-device-meta{gap:5px;padding:4px 7px}.topbar-device-meta span,.topbar-device-meta b{padding:3px 6px;border-radius:7px;background:var(--surface);border:1px solid var(--line);font-size:.66rem;white-space:nowrap}.topbar-device-meta span{max-width:120px;color:var(--text);font-weight:800}.topbar-device-meta b{color:var(--muted)}
.wizard-tabs .wizard-step{gap:5px;padding:7px 8px}.wizard-tabs .wizard-step strong{font-size:.69rem}.wizard-tabs .step-number{width:24px;height:24px;font-size:.68rem}
.wizard-footer{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-items:stretch}.wizard-footer .btn{width:100%;min-height:48px;padding:8px 6px}.wizard-footer .footer-save{font-weight:900}
.presence-bottom{margin:10px 0 0;padding:6px 8px}.presence-bottom>span{font-size:.62rem}.presence-bottom .presence-chip{font-size:.64rem;padding:4px 7px}
.compact-lock-note{margin:0 0 8px}
.guided-step-title h2{margin-bottom:2px}.guided-step-title .eyebrow{font-size:.62rem}
.experiment-menu-modal{max-width:430px}.experiment-menu-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}

/* Auto-fit: all experiment tables use content-driven widths */
.compact-data-table{table-layout:auto;width:max-content;min-width:100%}.compact-data-table col{width:auto!important}.compact-data-table th{white-space:nowrap}.compact-data-table th,.compact-data-table td{width:auto;padding:5px 6px}.compact-data-table td .input,.compact-data-table td .select{width:auto;min-width:68px;max-width:180px;padding:6px 7px}.compact-data-table td:first-child .input{min-width:78px;max-width:125px}.compact-data-table .w-label,.compact-data-table .w-place,.compact-data-table .w-number,.compact-data-table .w-sign,.compact-data-table .w-note,.compact-data-table .w-action,.compact-data-table .w-coordinate,.compact-data-table .w-code,.compact-data-table .w-group{width:auto!important}.freeboard-table td:nth-child(2) .select{min-width:66px;max-width:78px}.freeboard-table td:nth-child(4) .select{min-width:44px;max-width:48px}.liquid-table td:first-child .input{min-width:74px;max-width:100px}.weight-change-table td:first-child .input{min-width:82px;max-width:118px}.weight-change-table td:nth-child(6) .input{min-width:105px;max-width:150px}.test-weight-table td:nth-child(3) .input{min-width:90px;max-width:130px}.position-table td .input,.position-table td .select{min-width:60px;max-width:82px}.measurement-table td{white-space:nowrap}

/* Competitor-inspired live trend + stable-to-record indicator */
.heel-insight-card{overflow:hidden}.heel-insight-grid{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(280px,1.1fr);gap:12px;align-items:stretch}.heel-3d-stage{position:relative;min-height:250px;border-radius:16px;overflow:hidden;background:linear-gradient(180deg,#dff4ff 0 53%,#7dd3fc 53% 58%,#0e7490 58% 100%);perspective:800px;border:1px solid #9bd5e9}.heel-horizon{position:absolute;left:0;right:0;top:55%;height:2px;background:rgba(255,255,255,.9);box-shadow:0 0 18px rgba(255,255,255,.9)}.heel-model{--heel:0deg;position:absolute;left:50%;top:53%;width:62%;height:96px;transform:translate(-50%,-50%) rotateZ(var(--heel)) rotateX(5deg);transform-origin:center;transition:transform .35s ease}.heel-hull{position:absolute;inset:12px 0 0;clip-path:polygon(7% 0,93% 0,80% 78%,62% 100%,38% 100%,20% 78%);background:linear-gradient(180deg,#f8fafc,#94a3b8 72%,#334155);border:3px solid #0f172a;box-shadow:0 18px 24px rgba(15,23,42,.28)}.heel-hull span{position:absolute;left:50%;top:0;width:2px;height:100%;background:#0f172a}.heel-deck{position:absolute;left:8%;right:8%;top:4px;height:12px;border-radius:8px;background:#0f172a;box-shadow:0 -8px 0 -3px #38bdf8}.heel-centerline{position:absolute;left:50%;top:-38px;width:2px;height:130px;background:rgba(239,68,68,.82);transform:translateX(-50%)}.heel-axis-label{position:absolute;bottom:9px;font-size:.62rem;font-weight:900;letter-spacing:.1em;color:rgba(255,255,255,.8)}.heel-axis-label.port{left:12px}.heel-axis-label.starboard{right:12px}.heel-insight-data{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-content:start}.heel-insight-data>div{padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.heel-insight-data span,.heel-insight-data strong{display:block}.heel-insight-data span{font-size:.64rem;color:var(--muted);font-weight:900;text-transform:uppercase}.heel-insight-data strong{font-size:1.2rem;margin-top:3px}.heel-insight-data canvas{grid-column:1/-1;width:100%;height:92px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.heel-insight-data small{grid-column:1/-1;color:var(--muted);line-height:1.45}.stability-chip{padding:6px 9px;border-radius:999px;font-size:.67rem;font-weight:900;border:1px solid var(--line);background:var(--surface-soft)}.stability-chip.stable{background:#dcfce7;color:#166534;border-color:#86efac}.stability-chip.settling{background:#e0f2fe;color:#075985;border-color:#7dd3fc}.stability-chip.moving{background:#ffedd5;color:#9a3412;border-color:#fdba74}.stability-chip.offline{background:#fee2e2;color:#991b1b;border-color:#fca5a5}

@media(max-width:760px){
  .topbar{gap:5px;padding-left:max(8px,env(safe-area-inset-left));padding-right:max(8px,env(safe-area-inset-right))}.topbar-copy{max-width:112px}.topbar-experiment-link span{display:none}.topbar-device-meta{display:flex;flex:1;justify-content:flex-end;min-width:0;overflow:hidden}.topbar-device-meta span{max-width:92px}.topbar-device-meta b{font-size:.62rem}.connection-led{width:31px;height:31px}.connection-led i{width:9px;height:9px}.topbar .btn-icon{width:35px;min-width:35px;padding:6px}.topbar .mobile-menu{flex:0 0 auto}.topbar-spacer{display:none}.topbar-new,.mode-pill{display:none}
  .wizard-tabs{top:151px}.wizard-tabs .wizard-step{padding:6px 7px}.wizard-tabs .wizard-step strong{font-size:.66rem}.wizard-tabs .step-number{width:22px;height:22px}
  .wizard-footer{position:sticky;bottom:0;margin:10px -8px -8px;padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:rgba(255,255,255,.96);z-index:9;border-top:1px solid var(--line)}:root[data-theme="dark"] .wizard-footer{background:rgba(17,27,46,.96)}
  .compact-data-table{font-size:.7rem}.compact-data-table th,.compact-data-table td{padding:4px 5px}.compact-data-table td .input,.compact-data-table td .select{min-height:32px;min-width:58px;max-width:120px;font-size:.72rem;padding:5px}.compact-data-table td:first-child .input{min-width:66px;max-width:96px}.weight-change-table td:nth-child(6) .input{min-width:92px;max-width:112px}.table-wrap{margin-left:-2px;margin-right:-2px}
  .heel-insight-grid{grid-template-columns:1fr}.heel-3d-stage{min-height:210px}.heel-insight-data canvas{height:76px}.experiment-menu-actions{grid-template-columns:1fr}
}
@media(max-width:430px){
  .topbar-copy{max-width:84px}.topbar-device-meta{gap:3px;padding:0;border:0;background:transparent}.topbar-device-meta span,.topbar-device-meta b{padding:3px 4px;font-size:.58rem}.topbar-device-meta span{max-width:72px}.topbar .theme-toggle,.topbar [data-action="open-help"]{display:none}.wizard-tabs .wizard-step strong{font-size:.62rem}.wizard-footer .btn{font-size:.76rem;min-height:46px}.guided-step-title{gap:5px}.step-title-actions{gap:4px}.step-title-actions .small{font-size:.59rem}.presence-bottom{overflow-x:auto}.heel-insight-data strong{font-size:1rem}
}

.wizard-tabs{scroll-behavior:auto}


/* v1.9.0 bottom dock and deduplicated live strip */
.experiment-live-hud{grid-template-columns:auto minmax(145px,1fr) minmax(145px,1fr)}
.wizard-bottom-dock{margin-top:10px}.wizard-bottom-dock .presence-bottom{margin:0 0 6px}.wizard-bottom-dock .wizard-footer{margin:0;padding:7px 0 0}
@media(max-width:760px){.experiment-live-hud{grid-template-columns:1fr 1fr}.wizard-bottom-dock{position:sticky;bottom:0;z-index:10;margin:10px -8px -8px;padding:6px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:rgba(255,255,255,.97);border-top:1px solid var(--line);box-shadow:0 -8px 20px rgba(15,23,42,.08)}:root[data-theme="dark"] .wizard-bottom-dock{background:rgba(17,27,46,.97)}.wizard-bottom-dock .wizard-footer{position:static!important;bottom:auto;margin:0;padding:0;background:transparent!important;border-top:0}.wizard-bottom-dock .presence-bottom{margin:0 0 6px}}

/* v1.13.0 — compact mobile UX */
.compact-topbar{height:58px;gap:7px;padding:0 11px}
.compact-device-bar{min-width:0;flex:1}
.compact-device-bar .topbar-experiment-link{display:flex;align-items:center;min-width:0;padding:0;background:transparent;border:0}
.device-code-link strong{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem}
.minimal-icon-strip{display:flex;align-items:center;gap:5px;padding:0;background:transparent;border:0}
.minimal-icon-strip b{padding:5px 7px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);font-size:.72rem;white-space:nowrap}
.compact-live-hud{margin:0;padding:6px 8px;gap:6px;border-radius:14px 14px 0 0;box-shadow:none}
.compact-live-hud .hud-primary{position:relative;min-height:68px;padding:10px 14px}
.compact-live-hud .hud-primary strong{font-size:1.45rem}
.hud-connection-badge{position:absolute;top:7px;right:7px;display:inline-flex;align-items:center;gap:5px;padding:3px 7px;border-radius:999px;background:rgba(255,255,255,.9);color:#7c2d12;font-size:.64rem;font-weight:900;line-height:1}
.hud-connection-badge.connected{background:#dcfce7;color:#166534}
.hud-connection-badge.disconnected{background:#fff7ed;color:#9a3412}
.wizard-tabs{position:sticky;top:58px;z-index:22;display:flex;gap:4px;overflow-x:auto;margin:0 0 7px;padding:4px 6px;border:1px solid var(--line);border-top:0;border-radius:0 0 14px 14px;background:var(--surface);box-shadow:none;scrollbar-width:none}
.wizard-tabs::-webkit-scrollbar{display:none}
.wizard-tabs .wizard-step{position:relative;flex:0 0 auto;min-width:auto;padding:7px 9px;gap:6px;border-radius:10px}
.wizard-tabs .wizard-step strong{font-size:.69rem;white-space:nowrap}
.wizard-step.complete .step-done{position:absolute;right:3px;top:1px;color:#16a34a;font-size:.58rem;font-weight:900}
.compact-guided-title{margin-bottom:7px;align-items:flex-start}
.compact-guided-title h2{margin:0;font-size:1.28rem}
.freeboard-stats-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 9px}
.freeboard-stats-row>div{padding:9px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}
.freeboard-stats-row span,.freeboard-stats-row strong{display:block}
.freeboard-stats-row span{font-size:.64rem;font-weight:800;color:var(--muted)}
.freeboard-stats-row strong{margin-top:3px;font-size:.86rem}
.content-fit-table{width:max-content;min-width:100%;table-layout:auto}
.content-fit-table th,.content-fit-table td{width:1%;white-space:nowrap}
.content-fit-table th:last-child,.content-fit-table td:last-child{width:auto}
.compact-data-table td .input,.compact-data-table td .select{width:auto;min-width:58px;max-width:118px;padding-left:7px;padding-right:7px}
.freeboard-table td:last-child .input,.weight-change-table td:nth-last-child(2) .input{min-width:110px;max-width:180px}
.compact-capture-btn{min-width:38px;padding-left:8px;padding-right:8px}
.compact-positions-grid{gap:9px;align-items:start}
.compact-plan-note{margin-top:8px}
.plan-chip-row{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.plan-chip-row span{display:inline-flex;padding:5px 7px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft);font-size:.7rem}
.compact-vessel-map{min-height:320px;max-height:370px;padding:8px}
.heel-insight-card{margin-top:9px}
.heel-insight-card .section-heading{margin-bottom:7px}
.single-line-summary>div,.report-summary-inline>div{min-height:62px;padding:10px}
.gps-inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.gps-inline-fields label{display:block;margin-bottom:4px;color:var(--muted);font-size:.7rem;font-weight:800}
.gps-meta-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:7px 0 9px;color:var(--muted);font-size:.76rem}
.gps-meta-line strong{color:var(--text)}
.gps-map-frame,.gps-map-placeholder{min-height:160px;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--surface-soft)}
.gps-map-frame iframe{display:block;width:100%;height:160px;border:0}
.gps-map-placeholder{display:grid;place-items:center;padding:12px;text-align:center;color:var(--muted)}
.compact-evidence-grid{gap:9px}
.compact-export-layout{grid-template-columns:minmax(0,1fr) 290px;gap:10px}
.report-summary-inline{grid-template-columns:repeat(3,minmax(0,1fr))}
.report-summary-inline>div span{font-size:.64rem}
.report-summary-inline>div strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-approval-panel{padding:13px}
.two-up-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}
.two-up-actions .btn{width:100%;margin:0;min-width:0;padding-left:8px;padding-right:8px}
.wizard-bottom-dock .presence-bottom{margin-bottom:4px}
.wizard-bottom-dock .wizard-footer{padding-top:0}
.wizard-footer .btn{min-height:43px}
:root[data-theme='dark'] .hud-connection-badge.disconnected{background:#431407;color:#fed7aa}
:root[data-theme='dark'] .hud-connection-badge.connected{background:#052e16;color:#bbf7d0}

@media (max-width:760px){
  .compact-topbar{padding-left:max(7px,env(safe-area-inset-left));padding-right:max(7px,env(safe-area-inset-right))}
  .device-code-link strong{max-width:88px;font-size:.7rem}
  .minimal-icon-strip{gap:3px}
  .minimal-icon-strip b{padding:4px 5px;font-size:.59rem}
  .connection-led{width:31px;height:31px;min-width:31px}
  .compact-live-hud{margin-left:-6px;margin-right:-6px;padding:0 5px 3px;border-radius:0}
  .compact-live-hud .hud-primary{min-height:58px;padding:7px 8px;border-radius:0}
  .compact-live-hud .hud-primary strong{font-size:1.12rem}
  .hud-connection-badge{top:4px;right:4px;padding:3px 5px}
  .hud-connection-badge .badge-text{display:none}
  .wizard-tabs{top:118px;margin-left:-6px;margin-right:-6px;margin-bottom:5px;padding:3px 5px;border-radius:0}
  .wizard-tabs .wizard-step{padding:7px 8px}
  .wizard-tabs .wizard-step strong{display:none}
  .wizard-step.complete .step-done{right:2px;top:0}
  .compact-guided-title h2{font-size:1.13rem}
  .freeboard-stats-row{gap:5px}
  .freeboard-stats-row>div{padding:7px 6px}
  .freeboard-stats-row span{font-size:.56rem}
  .freeboard-stats-row strong{font-size:.74rem}
  .compact-data-table td .input,.compact-data-table td .select{min-width:52px;max-width:88px}
  .freeboard-table td:last-child .input,.weight-change-table td:nth-last-child(2) .input{min-width:88px;max-width:112px}
  .position-table td .input,.position-table td .select{min-width:48px;max-width:62px}
  .compact-positions-grid{gap:6px}
  .compact-vessel-map{min-height:250px;max-height:285px;padding:5px}
  .heel-insight-grid{gap:7px}
  .heel-3d-stage{min-height:210px}
  .compact-export-layout{grid-template-columns:1fr}
  .report-summary-inline,.single-line-summary{grid-template-columns:1fr 1fr}
  .single-line-summary>div,.report-summary-inline>div{min-height:54px;padding:8px}
  .gps-map-frame iframe{height:148px}
  .gps-map-frame,.gps-map-placeholder{min-height:148px}
}

@media (max-width:430px){
  .device-code-link strong{max-width:78px;font-size:.64rem}
  .minimal-icon-strip b{font-size:.54rem;padding:3px 4px}
  .compact-topbar .btn-icon{width:34px;min-width:34px;height:34px;padding:0}
  .compact-live-hud .hud-primary strong{font-size:1.02rem}
  .two-up-actions{grid-template-columns:1fr 1fr}
}


/* v1.13.0 — ultra compact phone/tablet layout */
.compact-topbar{height:54px;gap:4px;padding:0 5px}
.compact-device-bar{flex:0 1 auto;min-width:0}
.device-code-link strong{max-width:none;font-size:.68rem;letter-spacing:-.025em}
.minimal-icon-strip{gap:3px}
.minimal-icon-strip b{padding:4px 5px;font-size:.78rem;line-height:1;border-radius:8px}
.topbar-connection-status{width:34px;min-width:34px;height:34px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);font-size:1rem;line-height:1}
.topbar-connection-status.connected{color:#16a34a;background:#dcfce7;border-color:#86efac}
.topbar-connection-status.waiting{color:#92400e;background:#fef3c7;border-color:#fcd34d}
:root[data-theme='dark'] .topbar-connection-status.connected{background:#052e16;color:#86efac;border-color:#166534}
:root[data-theme='dark'] .topbar-connection-status.waiting{background:#422006;color:#fde68a;border-color:#92400e}
.compact-topbar .btn-icon{width:34px;min-width:34px;height:34px;padding:0}
.compact-live-hud{padding:2px 4px 3px;gap:4px}
.compact-live-hud .hud-primary{min-height:56px;padding:7px 9px}
.wizard-tabs{top:110px;margin-bottom:4px;padding:3px 4px;gap:3px}
.wizard-tabs .wizard-step{padding:6px 7px;gap:4px}
.wizard-tabs .wizard-step strong{display:inline!important;font-size:.63rem}
.wizard-tabs .step-number{width:23px;height:23px;font-size:.67rem}
.wizard-step.complete .step-done{display:none!important}
.people-add-button{min-width:132px;white-space:nowrap;justify-content:center}
.basic-compact-grid,.basic-check-grid{gap:7px}
.content-fit-table,.compact-data-table{width:max-content!important;min-width:0!important;table-layout:auto!important}
.compact-data-table col{width:auto!important}
.compact-data-table th,.compact-data-table td{width:auto!important;max-width:none!important;padding:5px 6px;white-space:nowrap}
.compact-data-table td .input,.compact-data-table td .select{width:auto!important;min-width:0!important;max-width:none!important;padding:5px 6px}
.liquid-table td:nth-child(1) .input{width:11ch!important}.liquid-table td:nth-child(2) .input{width:7ch!important}.liquid-table td:nth-child(3) .input{width:8ch!important}.liquid-table td:nth-child(4){min-width:8ch}.liquid-table td:nth-child(5){width:42px!important}
.test-weight-table td:nth-child(1) .input{width:6ch!important}.test-weight-table td:nth-child(2) .input{width:8ch!important}.test-weight-table td:nth-child(3) .input{width:12ch!important}.test-weight-table td:nth-child(4) .select{width:9ch!important}.test-weight-table td:nth-child(5){width:42px!important}
.weight-change-table td:nth-child(1) .input{width:12ch!important}.weight-change-table td:nth-child(2) .input{width:8ch!important}.weight-change-table td:nth-child(3) .input,.weight-change-table td:nth-child(4) .input,.weight-change-table td:nth-child(5) .input{width:7ch!important}.weight-change-table td:nth-child(6) .input{width:15ch!important}.weight-change-table td:nth-child(7){width:42px!important}
.freeboard-table td:nth-child(2) .input{width:7ch!important}.freeboard-table td:nth-child(3) .input,.freeboard-table td:nth-child(5) .input,.freeboard-table td:nth-child(6) .input{width:7ch!important}.freeboard-table td:nth-child(4) .select{width:4ch!important}.freeboard-table td:nth-child(7){min-width:7ch}.freeboard-table td:nth-child(9) .input{width:14ch!important}
.position-table td:nth-child(2) .input,.position-table td:nth-child(3) .input,.position-table td:nth-child(4) .input{width:7ch!important}.position-table td:nth-child(5) .select,.position-table td:nth-child(6) .select{width:5ch!important}.position-table td:nth-child(7){width:42px!important}
.measurement-table th,.measurement-table td{padding-left:6px;padding-right:6px}
.compact-heel-visual .heel-3d-stage{min-height:230px}
.heel-angle-overlay{position:absolute;left:50%;top:10px;z-index:5;transform:translateX(-50%);display:flex;align-items:baseline;gap:8px;padding:5px 9px;border-radius:10px;background:rgba(255,255,255,.9);color:#0f172a;box-shadow:0 4px 12px rgba(15,23,42,.12)}
.heel-angle-overlay span{font-size:.62rem;font-weight:900;letter-spacing:.06em}.heel-angle-overlay strong{font-size:1.25rem}
.heel-stage-status{position:absolute;left:10px;bottom:8px;z-index:5;display:flex;align-items:center;gap:6px;padding:4px 7px;border-radius:9px;background:rgba(255,255,255,.88);color:#0f172a;font-size:.67rem}.heel-stage-status span{font-weight:800}.heel-stage-status strong{font-size:.72rem}
.heel-compact-trend{display:block;width:100%;height:64px;margin-top:7px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
:root[data-theme='dark'] .heel-angle-overlay,:root[data-theme='dark'] .heel-stage-status{background:rgba(15,23,42,.9);color:#e5edf7}

@media(max-width:760px){
  .compact-topbar{padding-left:max(4px,env(safe-area-inset-left));padding-right:max(4px,env(safe-area-inset-right))}
  .device-code-link strong{max-width:84px;font-size:.57rem}
  .minimal-icon-strip b{padding:4px 4px;font-size:.66rem}
  .compact-topbar .theme-toggle,.compact-topbar [data-action='open-help']{display:inline-flex!important}
  .topbar-connection-status{width:32px;min-width:32px;height:32px;font-size:.9rem}
  .compact-topbar .btn-icon{width:32px;min-width:32px;height:32px}
  .content{padding:4px}
  .compact-live-hud{margin-left:-4px;margin-right:-4px}
  .wizard-tabs{top:106px;margin-left:-4px;margin-right:-4px}
  .wizard-tabs .wizard-step{padding:5px 6px}
  .wizard-tabs .wizard-step strong{font-size:.56rem}
  .wizard-tabs .step-number{width:22px;height:22px;font-size:.64rem}
  .basic-compact-grid .field.span-3,.basic-compact-grid .field.span-4,.basic-compact-grid .field.span-6,.basic-compact-grid .field.span-8{grid-column:span 6!important}
  .basic-compact-grid .field.span-12{grid-column:1/-1!important}
  .basic-check-grid .field{grid-column:span 6!important}
  .person-row{grid-template-columns:1fr 1fr 38px!important;gap:6px;padding:7px}
  .person-row>input:nth-child(3){grid-column:1/3}
  .person-row>button{grid-column:3;grid-row:1/3;height:100%}
  .section-heading{gap:6px}
  .people-add-button{min-width:122px;padding-left:10px;padding-right:10px}
  .table-wrap{margin-left:-4px;margin-right:-4px;padding-left:4px;padding-right:4px}
  .compact-data-table th,.compact-data-table td{padding:4px 5px;font-size:.7rem}
  .compact-data-table td .input,.compact-data-table td .select{min-height:32px;font-size:.72rem;padding:4px 5px}
  .compact-heel-visual .heel-3d-stage{min-height:205px}
  .heel-angle-overlay{top:7px;padding:4px 7px}.heel-angle-overlay strong{font-size:1.08rem}
  .heel-compact-trend{height:54px}
}
@media(max-width:430px){
  .device-code-link strong{max-width:78px;font-size:.54rem}
  .minimal-icon-strip b{font-size:.64rem;padding:4px 3px}
  .wizard-tabs .wizard-step strong{font-size:.54rem}
  .wizard-tabs .wizard-step{padding:5px}
}

/* =========================================================
   v1.13.0 — Fleet management + responsive layout hardening
   ========================================================= */
:root{--medeci-topbar-h:54px;--medeci-hud-h:56px;--medeci-tabs-h:42px}
.compact-topbar{height:var(--medeci-topbar-h)!important;min-height:var(--medeci-topbar-h);gap:4px!important;padding:0 7px!important}
.device-code-link strong{font-size:.68rem!important;letter-spacing:-.02em;max-width:116px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.minimal-icon-strip{gap:4px!important;padding:2px 4px!important}
.minimal-icon-strip b{font-size:.72rem!important;line-height:1;min-height:30px;display:flex;align-items:center;padding:4px 6px!important}
.topbar-connection-status{width:32px!important;min-width:32px!important;height:32px!important}
.compact-topbar .btn-icon{width:32px!important;min-width:32px!important;height:32px!important;padding:0!important}
.experiment-live-hud{top:var(--medeci-topbar-h)!important;margin:0!important;border-radius:0!important;padding:3px!important;gap:2px!important;min-height:var(--medeci-hud-h);box-shadow:none!important}
.experiment-live-hud .hud-primary{border-radius:4px!important;padding:6px 9px!important;min-height:48px}
.experiment-live-hud .hud-primary.heel,.experiment-live-hud .hud-primary.depth{display:grid!important;grid-template-columns:auto 1fr;align-items:center;column-gap:7px}
.experiment-live-hud .hud-primary span{justify-self:start;font-size:.64rem!important}
.experiment-live-hud .hud-primary strong{justify-self:center;font-size:1.25rem!important;margin-right:0}
.wizard-tabs{top:calc(var(--medeci-topbar-h) + var(--medeci-hud-h))!important;margin:0 0 5px!important;border-radius:0 0 10px 10px!important;padding:3px 5px!important;min-height:var(--medeci-tabs-h);z-index:21!important}
.wizard-tabs .wizard-step{padding:5px 7px!important;gap:4px!important}
.wizard-tabs .wizard-step strong{font-size:.61rem!important}
.wizard-tabs .step-number{width:22px!important;height:22px!important;font-size:.64rem!important}

/* Every table uses all available width, but never exceeds content safely. */
.table-wrap{width:100%;max-width:100%;overflow:auto!important}
.table-wrap>table,.responsive-data-table,.compact-data-table,.content-fit-table{width:max-content!important;min-width:100%!important;max-width:none!important;table-layout:auto!important;border-collapse:collapse}
.table-wrap>table col,.compact-data-table col,.content-fit-table col{width:auto!important}
.table-wrap>table th,.table-wrap>table td{width:auto!important;min-width:0!important;max-width:none!important;white-space:nowrap}
.table-wrap>table td .input,.table-wrap>table td .select{width:100%!important;min-width:54px!important;max-width:none!important;box-sizing:border-box}
.liquid-table td:nth-child(1) .input{min-width:74px!important}.liquid-table td:nth-child(2) .input{min-width:54px!important}.liquid-table td:nth-child(3) .input{min-width:62px!important}.liquid-table td:nth-child(4){min-width:66px!important}
.test-weight-table td:nth-child(1) .input{min-width:42px!important}.test-weight-table td:nth-child(2) .input{min-width:62px!important}.test-weight-table td:nth-child(3) .input{min-width:92px!important}.test-weight-table td:nth-child(4) .select{min-width:68px!important}
.position-table td .input,.position-table td .select{min-width:56px!important}.freeboard-table td .input,.freeboard-table td .select{min-width:58px!important}

/* Dashboard + management pages */
.dashboard-nav-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.summary-link{border:1px solid var(--line);text-align:left;cursor:pointer;color:inherit;font:inherit}.summary-link:hover{border-color:var(--primary);transform:translateY(-1px)}
.recent-activity-list{display:grid;gap:6px}.recent-activity-list button{display:grid;grid-template-columns:auto minmax(120px,.35fr) 1fr;align-items:center;gap:8px;width:100%;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--text);text-align:left}.recent-activity-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
.compact-list-head .actions{display:flex;align-items:center;gap:8px}.table-actions{flex-wrap:nowrap}.responsive-data-table th,.responsive-data-table td{padding:8px 9px}
.fleet-feature-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px}.fleet-feature-strip>div{padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.fleet-feature-strip b,.fleet-feature-strip span{display:block}.fleet-feature-strip span{margin-top:4px;font-size:.7rem;color:var(--muted)}
.fleet-status{font-size:.72rem;font-weight:900}.fleet-status.online{color:#16a34a}.fleet-status.offline{color:#94a3b8}
.platform-settings-card{margin-bottom:14px}.feature-toggle-grid{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.feature-toggle-grid label{display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft);font-size:.76rem}.align-end{justify-content:flex-end;margin-top:10px}
.fleet-editor-modal{max-width:980px}.code-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;min-height:110px}.fleet-history{margin-top:12px}.fleet-history>button,.detail-split section>button{display:flex;justify-content:space-between;gap:10px;width:100%;padding:8px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);text-align:left}.fleet-history span,.detail-split span{font-size:.7rem;color:var(--muted)}
.detail-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.detail-kpis>div{padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.detail-kpis span,.detail-kpis strong{display:block}.detail-kpis span{font-size:.68rem;color:var(--muted)}.detail-kpis strong{font-size:1.4rem;margin-top:3px}.detail-split{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.detail-split section{border:1px solid var(--line);border-radius:12px;padding:10px;max-height:360px;overflow:auto}

/* Heel visual: label left, number centered, compact and readable. */
.heel-angle-overlay{left:8px!important;right:8px!important;top:8px!important;display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;padding:0!important;background:transparent!important;box-shadow:none!important;color:#0f172a!important}
.heel-angle-overlay span{justify-self:start;padding:5px 7px;border-radius:8px;background:rgba(15,23,42,.82);color:#fff;font-size:.62rem!important;font-weight:900}
.heel-angle-overlay strong{grid-column:2;justify-self:center;padding:5px 10px;border-radius:9px;background:rgba(15,23,42,.88);color:#fff;font-size:1.08rem!important}
.heel-stage-status{left:8px!important;bottom:8px!important}.heel-stage-status.hidden{display:none!important}.heel-stage-status strong{font-size:.65rem!important}
.heel-3d-stage{width:100%;max-width:980px;margin-inline:auto;min-height:230px!important}.heel-model{width:min(62%,680px)!important}

/* Position plan: high contrast and no markers outside frame. */
.compact-plan-note{background:#eef6ff!important;color:#0f2450!important;border-color:#b8d5f0!important}.compact-plan-note strong{color:#102a5c!important}.plan-chip-row span{background:#112647!important;color:#f5f9ff!important;border-color:#294b75!important;opacity:1!important}
.vessel-map-professional{overflow:hidden!important;max-width:520px;margin-inline:auto}.position-overlay{inset:12% 19% 13%!important;overflow:hidden}.position-slot{gap:14px!important;margin:0!important}.position-side span{width:30px!important;height:30px!important;border-width:2px!important;font-size:.82rem!important;box-sizing:border-box}

/* GPS always has a visible map. */
.gps-map-frame{position:relative;background:#dbeafe!important}.gps-map-frame iframe{background:#dbeafe}.gps-map-default span{position:absolute;left:8px;bottom:8px;padding:5px 7px;border-radius:7px;background:rgba(15,23,42,.82);color:#fff;font-size:.65rem;pointer-events:none}

/* Avoid sticky headers colliding after orientation/viewport changes. */
.main-shell,.content{min-width:0}.content{overflow:visible}.wizard-card{position:relative;z-index:1}.topbar{z-index:30!important}.experiment-live-hud{z-index:26!important}.wizard-tabs{z-index:25!important}

@media(max-width:1100px){.dashboard-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-feature-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-split{grid-template-columns:1fr}.vessel-map-professional{max-width:440px}.heel-model{width:min(72%,620px)!important}}
@media(max-width:760px){:root{--medeci-topbar-h:54px;--medeci-hud-h:55px}.device-code-link strong{font-size:.61rem!important;max-width:91px}.minimal-icon-strip b{font-size:.68rem!important;padding:3px 4px!important}.experiment-live-hud{margin-left:-6px!important;margin-right:-6px!important}.wizard-tabs{margin-left:-6px!important;margin-right:-6px!important}.wizard-tabs .wizard-step strong{display:inline!important;font-size:.55rem!important}.dashboard-nav-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fleet-feature-strip{grid-template-columns:1fr 1fr}.compact-list-head{align-items:stretch}.compact-list-head .actions{display:grid;grid-template-columns:auto 1fr;width:100%}.responsive-data-table th,.responsive-data-table td{padding:5px 6px;font-size:.7rem}.table-actions{gap:4px}.table-actions .btn{padding:5px 7px;min-height:31px;font-size:.67rem}.detail-kpis{grid-template-columns:1fr 1fr}.feature-toggle-grid{display:grid;grid-template-columns:1fr 1fr}.vessel-map-professional{max-width:100%;min-height:250px!important;max-height:290px!important}.position-overlay{inset:11% 20% 12%!important}.position-side span{width:28px!important;height:28px!important}.heel-3d-stage{min-height:205px!important;max-width:100%}.heel-model{width:66%!important;max-width:310px}.heel-angle-overlay strong{font-size:.95rem!important}.heel-angle-overlay span{font-size:.56rem!important}.report-summary-grid{gap:6px}}
@media(max-width:430px){.compact-topbar{padding:0 4px!important;gap:3px!important}.device-code-link strong{font-size:.56rem!important;max-width:78px}.minimal-icon-strip b{font-size:.62rem!important}.wizard-tabs .wizard-step{padding:5px!important}.wizard-tabs .wizard-step strong{font-size:.5rem!important}.dashboard-nav-grid{grid-template-columns:1fr 1fr}.fleet-feature-strip{grid-template-columns:1fr}.feature-toggle-grid{grid-template-columns:1fr}.recent-activity-list button{grid-template-columns:auto 1fr}.recent-activity-list small{grid-column:2}.position-overlay{inset:12% 18% 13%!important}.position-slot{gap:10px!important}.position-side span{width:26px!important;height:26px!important;font-size:.72rem!important}}
@media(max-width:760px){
  .compact-positions-grid .section-heading{align-items:stretch;flex-wrap:wrap;padding-right:0!important}
  .compact-positions-grid .section-heading h3{width:100%}
  .compact-positions-grid .section-heading .actions{display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:100%}
  .compact-positions-grid .section-heading .actions .btn{width:100%;min-width:0}
  .compact-positions-grid>div{min-width:0;max-width:100%}
}

/* v1.13.0 final responsive corrections */
.experiment-live-hud{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
.heel-angle-overlay{transform:none!important;width:auto!important}
@media(min-width:761px){.heel-model{width:min(52%,580px)!important}}

/* =========================================================
   v1.13.0 Guided Operations + Fleet / Weather / Help
   ========================================================= */
:root{
  --medeci-topbar-h:58px;
  --medeci-hud-h:62px;
  --medeci-tabs-h:38px;
  --accent-orange:#f97316;
  --accent-orange-dark:#c2410c;
  --soft-green:#e8f7ef;
}
.ui-svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.nav-icon .ui-svg{width:18px;height:18px}
.compact-topbar{height:var(--medeci-topbar-h)!important;min-height:var(--medeci-topbar-h)!important;gap:6px!important;padding:4px 8px!important;align-items:center!important}
.compact-topbar>*{align-self:center}
.compact-topbar .btn-icon,.topbar-state-icon{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;max-width:42px!important;max-height:42px!important;padding:0!important;border-radius:12px!important;display:grid!important;place-items:center!important;line-height:1!important;box-sizing:border-box}
.compact-topbar .btn-icon .ui-svg,.topbar-state-icon .ui-svg{width:21px;height:21px}
.topbar-state-icon{border:1px solid var(--line);background:var(--surface);color:#94a3b8;transition:.2s ease}
.topbar-state-icon.online{color:#16a34a;border-color:rgba(22,163,74,.45);background:rgba(22,163,74,.11)}
.topbar-state-icon.offline{color:#ef4444;border-color:rgba(239,68,68,.38);background:rgba(239,68,68,.08)}
.device-code-link strong{font-size:.72rem!important;letter-spacing:-.015em;max-width:128px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.minimal-icon-strip{display:flex!important;gap:5px!important;align-items:center!important}
.minimal-icon-strip b{height:36px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px;padding:0 8px!important;font-size:.82rem!important;border-radius:10px!important;white-space:nowrap}
.topbar-copy.compact-device-bar{min-width:64px!important;max-width:150px!important;flex:0 1 auto!important}
.topbar-spacer{flex:1}

/* Sticky bars are mathematically adjacent; no oscillating pixel gap. */
.experiment-live-hud{top:var(--medeci-topbar-h)!important;margin:0!important;border-radius:0!important;border-top:0!important;border-bottom:0!important;padding:4px!important;min-height:var(--medeci-hud-h)!important;height:var(--medeci-hud-h)!important;box-sizing:border-box!important;gap:2px!important;box-shadow:none!important}
.experiment-live-hud .hud-primary{border-radius:7px!important;padding:5px 10px!important;min-height:calc(var(--medeci-hud-h) - 8px)!important}
.experiment-live-hud .hud-primary strong{font-size:1.58rem!important;line-height:1!important}
.experiment-live-hud .hud-primary span{font-size:.7rem!important}
.wizard-tabs{top:calc(var(--medeci-topbar-h) + var(--medeci-hud-h))!important;margin:0 0 6px!important;border-radius:0 0 10px 10px!important;min-height:var(--medeci-tabs-h)!important;padding:3px 5px!important;box-sizing:border-box!important}
.wizard-tabs .wizard-step{padding:5px 8px!important;gap:5px!important;min-height:30px!important}
.wizard-tabs .wizard-step strong{font-size:.72rem!important;color:#8390a6!important;font-weight:800!important}
.wizard-tabs .wizard-step.active strong{color:var(--primary)!important}
.wizard-tabs .step-number{width:23px!important;height:23px!important;font-size:.68rem!important}

/* Header/footer buttons */
.wizard-footer .footer-save{background:linear-gradient(135deg,var(--accent-orange),#fb923c)!important;color:white!important;border-color:var(--accent-orange-dark)!important}
.wizard-footer .footer-save:hover{filter:brightness(.96)}
.wizard-footer .btn[data-action="wizard-prev"]{background:var(--soft-green)!important;color:#166534!important;border-color:#b7e4ca!important}
:root[data-theme="dark"] .wizard-footer .btn[data-action="wizard-prev"]{background:rgba(22,163,74,.14)!important;color:#86efac!important;border-color:rgba(22,163,74,.36)!important}

/* Dashboard connection flow */
.home-live-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.master-connect-button{min-width:140px;display:inline-flex!important;gap:8px;align-items:center;justify-content:center}
.master-connect-button .ui-svg{width:18px;height:18px}
.master-connect-status{margin:8px 0 10px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);font-size:.78rem;color:var(--muted)}

/* Selected table rows retain high contrast. */
.selectable-table tbody tr{transition:background .15s,color .15s}
.selectable-table tbody tr:hover{background:rgba(249,115,22,.15)!important;color:var(--text)!important;box-shadow:inset 4px 0 0 var(--accent-orange)}
.selectable-table tbody tr:hover td{color:var(--text)!important}
.experiment-state-pill{display:inline-flex;margin:0 5px 3px 0;padding:3px 7px;border-radius:999px;font-size:.62rem;font-weight:900;white-space:nowrap}
.experiment-state-pill.done{background:#dcfce7;color:#166534}.experiment-state-pill.unfinished{background:#ffedd5;color:#9a3412}
.compact-filter{min-width:130px}

/* Content-aware tables: minimum content width + proportional free-space use. */
.table-wrap{width:100%;max-width:100%;overflow-x:auto!important;overscroll-behavior-x:contain}
.table-wrap>table,.responsive-data-table,.compact-data-table,.content-fit-table{width:100%!important;min-width:max-content!important;table-layout:auto!important;border-collapse:collapse!important}
.table-wrap>table th,.table-wrap>table td{white-space:nowrap!important;width:auto!important;padding:6px 7px!important}
.table-wrap>table th{text-align:center!important}
.table-wrap>table td .input,.table-wrap>table td .select{width:100%!important;min-width:48px!important;max-width:none!important;box-sizing:border-box!important}
.liquid-table th:nth-child(1),.liquid-table td:nth-child(1){min-width:82px}.liquid-table th:nth-child(2),.liquid-table td:nth-child(2){min-width:58px}.liquid-table th:nth-child(3),.liquid-table td:nth-child(3){min-width:70px}.liquid-table th:nth-child(4),.liquid-table td:nth-child(4){min-width:74px}
.test-weight-table th:nth-child(1),.test-weight-table td:nth-child(1){min-width:46px}.test-weight-table th:nth-child(2),.test-weight-table td:nth-child(2){min-width:72px}.test-weight-table th:nth-child(3),.test-weight-table td:nth-child(3){min-width:105px}.test-weight-table th:nth-child(4),.test-weight-table td:nth-child(4){min-width:76px}
.position-table th:nth-child(1),.position-table td:nth-child(1){min-width:38px}.position-table th:nth-child(2),.position-table td:nth-child(2),.position-table th:nth-child(3),.position-table td:nth-child(3),.position-table th:nth-child(4),.position-table td:nth-child(4){min-width:66px}.position-table th:nth-child(5),.position-table td:nth-child(5),.position-table th:nth-child(6),.position-table td:nth-child(6){min-width:78px;text-align:center}
.position-table td:nth-child(5) .select,.position-table td:nth-child(6) .select{min-width:62px!important;text-align:center}
.freeboard-table th,.freeboard-table td{min-width:60px}.measurement-table th,.measurement-table td{min-width:66px}
.vessel-notes-textarea{font-size:.75rem!important;line-height:1.35!important;min-height:84px!important}

/* Group summary contrast */
.group-summary{grid-template-columns:repeat(auto-fit,minmax(96px,1fr))!important}
.group-chip{background:linear-gradient(145deg,#eef6ff,#dbeafe)!important;border-color:#9fc5e8!important;color:#102a43!important}
.group-chip strong{color:#0f3d66!important;font-size:1.08rem!important}.group-chip span{color:#42627d!important}
:root[data-theme="dark"] .group-chip{background:linear-gradient(145deg,#142a46,#18375a)!important;border-color:#365d85!important;color:#f1f7ff!important}
:root[data-theme="dark"] .group-chip strong{color:#fff!important}:root[data-theme="dark"] .group-chip span{color:#bad1e8!important}

/* Positions plan */
.plan-refresh-title{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#102a5c;padding:0;cursor:pointer}.plan-refresh-title .ui-svg{width:16px;height:16px}
.position-side span.empty{visibility:hidden}.position-side span.filled{background:#fff;color:#0f172a}
.vessel-side-label{font-size:15px;font-weight:900;letter-spacing:.08em;fill:#64748b}
.compact-vessel-map{max-width:390px!important;min-height:315px!important;max-height:360px!important;margin-inline:auto!important}
.position-overlay{inset:13% 19% 16%!important}

/* Guided measurement flow */
.measurement-guidance-panel{margin-bottom:10px;padding:12px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,var(--surface),var(--surface-soft))}
.measurement-guidance-head h3{margin:3px 0 10px;font-size:1rem}.movement-reference{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;padding:12px;border-radius:12px;background:var(--primary-soft)}.movement-reference>span{grid-row:1/3;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:var(--primary);color:#fff;font-weight:900}.movement-reference small{color:var(--muted)}.movement-reference.completed{background:#dcfce7;color:#166534}
.movement-animation{position:relative;display:grid;grid-template-columns:1fr auto auto 1fr;align-items:center;gap:12px;min-height:100px;padding:14px;border-radius:14px;background:linear-gradient(90deg,rgba(239,68,68,.12),rgba(34,197,94,.12));overflow:hidden}.movement-side{height:68px;display:grid;place-items:center;border:1px dashed var(--line-strong);border-radius:12px;font-size:.75rem;font-weight:900}.movement-side.port{color:#dc2626}.movement-side.starboard{color:#16a34a}.moving-weight{z-index:2;display:grid;place-items:center;min-width:74px}.moving-weight b{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#0f172a;color:#fff;font-size:1.3rem;box-shadow:0 8px 18px rgba(15,23,42,.25);animation:weightPulse 1.25s ease-in-out infinite}.moving-weight small{margin-top:5px;font-weight:800;white-space:nowrap}.movement-arrow{font-size:2.1rem;color:var(--primary);animation:arrowPulse 1s ease-in-out infinite}.capture-status-line{margin-top:9px;padding:8px 10px;border-radius:9px;background:#eef6ff;color:#17436b;font-size:.78rem;font-weight:800}.duration-chip{margin-top:5px;border:1px solid var(--line-strong);border-radius:10px;background:var(--surface);color:var(--text);padding:8px 12px;font-size:1.12rem;font-weight:900;cursor:pointer}.repeat-experiment-button{width:100%;margin-top:8px}
@keyframes weightPulse{50%{transform:scale(1.08)}}@keyframes arrowPulse{50%{transform:translateX(4px)}}

/* Weather + help */
.weather-card{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:9px;padding:9px;border:1px dashed var(--line-strong);border-radius:12px;color:var(--muted)}.weather-card.ready{border-style:solid;background:var(--surface-soft)}.weather-card>div{padding:7px;border-radius:9px;background:var(--surface)}.weather-card span,.weather-card strong{display:block}.weather-card span{font-size:.65rem;color:var(--muted)}.weather-card strong{font-size:.82rem;margin-top:2px}.weather-card>small{grid-column:1/-1}
.help-page-head .btn{display:inline-flex;align-items:center;gap:7px}.help-hero{display:grid;grid-template-columns:minmax(320px,1.2fr) minmax(260px,.8fr);gap:18px;padding:18px;margin-bottom:12px}.help-vessel-diagram{display:grid;place-items:center;border-radius:14px;background:linear-gradient(180deg,#e0f2fe,#bae6fd);overflow:hidden}.help-vessel-diagram svg{width:100%;max-height:280px}.help-water{stroke:#0284c7;stroke-width:7}.help-vessel path:first-child{fill:#fff;stroke:#0f172a;stroke-width:8}.help-vessel path:last-child{stroke:#ef4444;stroke-width:4}.help-weights circle{fill:#f97316;stroke:#7c2d12;stroke-width:4}.help-weights path{fill:none;stroke:#f97316;stroke-width:7}.help-vessel-diagram text{font-size:22px;font-weight:900;fill:#0f2942}.help-warning{margin-top:10px;padding:9px;border-radius:10px;background:#fff7ed;color:#9a3412;font-size:.75rem}.help-step-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.help-step-card{display:grid;grid-template-columns:auto 1fr;gap:12px;padding:14px}.help-step-card>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:#fff;font-weight:900}.help-step-card h3{margin:0 0 5px}.help-step-card p{margin:0;color:var(--muted);line-height:1.55}.help-reference{margin-top:12px}.help-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.help-rule-grid>div{padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.help-rule-grid strong,.help-rule-grid span{display:block}.help-rule-grid span{margin-top:4px;color:var(--muted);font-size:.75rem}

/* Device reported vs editable data */
.device-reported-panel,.device-management-panel{margin-bottom:12px;padding:12px;border:1px solid var(--line);border-radius:14px}.device-reported-panel{background:linear-gradient(135deg,var(--surface-soft),var(--surface))}.reported-device-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.reported-device-grid>div{min-width:0;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.reported-device-grid span,.reported-device-grid strong{display:block}.reported-device-grid span{font-size:.62rem;color:var(--muted);font-weight:800}.reported-device-grid strong{margin-top:3px;font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media(max-width:1000px){
  .help-hero{grid-template-columns:1fr}.reported-device-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.weather-card{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-vessel-map{max-width:350px!important}
}
@media(max-width:760px){
  :root{--medeci-topbar-h:54px;--medeci-hud-h:58px;--medeci-tabs-h:36px}
  .compact-topbar{gap:3px!important;padding:3px 4px!important}.compact-topbar .btn-icon,.topbar-state-icon{width:37px!important;height:37px!important;min-width:37px!important;min-height:37px!important;border-radius:10px!important}.compact-topbar .btn-icon .ui-svg,.topbar-state-icon .ui-svg{width:19px;height:19px}.device-code-link strong{font-size:.57rem!important;max-width:87px!important}.topbar-copy.compact-device-bar{max-width:92px!important}.minimal-icon-strip b{height:32px!important;font-size:.66rem!important;padding:0 5px!important}
  .experiment-live-hud .hud-primary strong{font-size:1.38rem!important}.wizard-tabs .wizard-step strong{font-size:.61rem!important;color:#9aa7ba!important}.wizard-tabs .wizard-step{padding:4px 6px!important}.wizard-tabs .step-number{width:22px!important;height:22px!important}
  .home-live-head{align-items:flex-start}.home-live-actions{width:100%;justify-content:stretch}.master-connect-button{width:100%}.active-experiment-label{width:100%;text-align:center}
  .table-wrap>table th,.table-wrap>table td{padding:5px 5px!important;font-size:.7rem}.table-wrap>table td .input,.table-wrap>table td .select{min-height:34px!important;padding:5px 6px!important;font-size:.72rem!important}
  .compact-vessel-map{max-width:100%!important;min-height:265px!important;max-height:300px!important}.position-overlay{inset:12% 18% 17%!important}.position-side span{width:25px!important;height:25px!important;font-size:.72rem!important}
  .movement-animation{grid-template-columns:1fr auto auto 1fr;gap:6px;padding:9px}.movement-side{height:58px;font-size:.64rem}.moving-weight{min-width:55px}.moving-weight b{width:40px;height:40px}.movement-arrow{font-size:1.6rem}.measurement-guidance-head h3{font-size:.86rem}
  .help-step-grid{grid-template-columns:1fr}.help-rule-grid{grid-template-columns:1fr 1fr}.reported-device-grid{grid-template-columns:1fr 1fr}.weather-card{grid-template-columns:1fr 1fr}.fleet-editor-modal{width:min(96vw,980px)}
  .group-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.group-chip{min-height:78px;display:grid;align-content:center}
}
@media(max-width:430px){
  .compact-topbar .btn-icon,.topbar-state-icon{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}.device-code-link strong{font-size:.53rem!important;max-width:76px!important}.minimal-icon-strip b{font-size:.59rem!important;padding:0 4px!important}.topbar-copy.compact-device-bar{max-width:78px!important}
  .experiment-live-hud .hud-primary strong{font-size:1.28rem!important}.wizard-tabs .wizard-step strong{font-size:.55rem!important}.help-rule-grid{grid-template-columns:1fr}.reported-device-grid{grid-template-columns:1fr 1fr}.weather-card{grid-template-columns:1fr 1fr}.movement-side span{writing-mode:vertical-rl;transform:rotate(180deg)}
}


/* v1.13.1 — dashboard, table hover and report contrast hotfix */
.dashboard-head h1{margin:0 0 5px}.dashboard-head p{margin:0}.dashboard-primary-actions{align-items:center}.dashboard-primary-actions .master-connect-button{min-width:144px}

/* Every interactive data row keeps readable contrast in light and dark themes. */
.table-wrap tbody tr,.responsive-data-table tbody tr,.compact-data-table tbody tr{transition:background-color .14s ease,box-shadow .14s ease,color .14s ease}
.table-wrap tbody tr:hover,.responsive-data-table tbody tr:hover,.compact-data-table tbody tr:hover{
  background:rgba(249,115,22,.18)!important;
  color:var(--text)!important;
  box-shadow:inset 4px 0 0 #f97316;
}
.table-wrap tbody tr:hover td,.responsive-data-table tbody tr:hover td,.compact-data-table tbody tr:hover td{
  color:var(--text)!important;
}
:root[data-theme="dark"] .table-wrap tbody tr:hover,
:root[data-theme="dark"] .responsive-data-table tbody tr:hover,
:root[data-theme="dark"] .compact-data-table tbody tr:hover{
  background:rgba(249,115,22,.28)!important;
}

/* Step 8 readiness box: stronger warning contrast. */
.report-readiness{border:1px solid #fdba74;background:#ffedd5!important;color:#7c2d12!important}
.report-readiness>span{background:#f97316!important;color:#fff!important}
.report-readiness strong,.report-readiness p{color:inherit!important}
.report-readiness.ready{border-color:#86efac;background:#dcfce7!important;color:#166534!important}
.report-readiness.ready>span{background:#16a34a!important}
:root[data-theme="dark"] .report-readiness{border-color:#c2410c;background:#4a2612!important;color:#ffedd5!important}
:root[data-theme="dark"] .report-readiness>span{background:#fb923c!important;color:#111827!important}
:root[data-theme="dark"] .report-readiness.ready{border-color:#15803d;background:#12351f!important;color:#dcfce7!important}
:root[data-theme="dark"] .report-readiness.ready>span{background:#22c55e!important;color:#052e16!important}

@media(max-width:760px){.dashboard-primary-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.dashboard-primary-actions .btn{width:100%;min-width:0}.dashboard-head{align-items:stretch}}


/* v1.13.2 — compact identity, placement validation and report workflow */
.device-code-stack{display:flex;flex-direction:column;align-items:flex-start;min-width:0;line-height:1.05}.device-code-stack strong{font-size:.9rem!important;letter-spacing:.005em;max-width:100%;overflow:hidden;text-overflow:ellipsis}.device-code-stack small{font-size:.61rem;color:var(--muted);font-weight:800;margin-top:3px;white-space:nowrap}.compact-priority-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px}.compact-priority-grid .priority-reading{min-width:0}.single-status-pill{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:6px 10px;font-size:.72rem;font-weight:900;border:1px solid transparent}.single-status-pill.status-draft{background:#fff7ed;color:#9a3412;border-color:#fdba74}.single-status-pill.status-ready{background:#eff6ff;color:#1d4ed8;border-color:#93c5fd}.single-status-pill.status-completed{background:#ecfdf5;color:#047857;border-color:#6ee7b7}.home-live-head .single-status-pill{margin-left:auto}.profile-title small{font-size:.68rem;color:var(--muted);font-weight:700}.position-plan-warning{margin:8px 0 0}.single-capture-console{grid-template-columns:1fr!important}.heel-angle-overlay-large{min-width:210px!important;padding:9px 16px!important}.heel-angle-overlay-large span{font-size:.74rem!important}.heel-angle-overlay-large strong{font-size:1.6rem!important}.report-step-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:12px}.report-chart-box{min-height:360px}.report-next-button{width:100%;margin-top:12px}.gps-inline-actions,.compact-evidence-grid .section-heading .actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.compact-evidence-grid .section-heading .actions .btn{width:100%;white-space:nowrap}.presence-bottom>span{white-space:nowrap}.home-priority-grid .home-station-meta{display:none!important}.master-connect-status{display:none!important}.table-wrap tbody tr:focus-within:not(:hover),.responsive-data-table tbody tr:focus-within:not(:hover),.compact-data-table tbody tr:focus-within:not(:hover){background:transparent!important;box-shadow:none!important}.content-fit-table{width:100%!important}.content-fit-table th,.content-fit-table td{width:auto}.position-table select{min-width:62px}.position-table input{min-width:54px}.heel-insight-card{order:-1}.measurement-guidance-panel{margin-top:10px}
@media (max-width:760px){.device-code-stack strong{font-size:.76rem!important}.device-code-stack small{font-size:.54rem;max-width:105px;overflow:hidden;text-overflow:ellipsis}.compact-priority-grid{grid-template-columns:1fr 1fr!important}.compact-priority-grid .priority-reading{min-height:94px;padding:13px}.compact-priority-grid .priority-reading strong{font-size:2.15rem}.home-live-head{align-items:flex-start}.single-status-pill{font-size:.65rem;padding:5px 8px}.report-step-grid{grid-template-columns:1fr}.report-chart-box{min-height:285px}.heel-angle-overlay-large{min-width:190px!important}.heel-angle-overlay-large strong{font-size:1.45rem!important}.compact-evidence-grid .section-heading{align-items:center}.compact-evidence-grid .section-heading .actions{width:100%;grid-template-columns:1fr 1fr}.profile-title small{display:inline}.position-plan-warning{font-size:.72rem}}

/* v1.13.3 — compact field flow, deterministic row selection, environment evidence */
.dashboard-connect-hint{font-size:.72rem!important}
.home-live-panel{position:relative}.home-live-head{padding-right:70px}.home-live-head .single-status-pill{position:absolute!important;right:10px;top:10px;margin:0!important;z-index:2}

/* One-pixel overlap prevents sub-pixel seams while the two sticky headers scroll. */
.experiment-live-hud{top:calc(var(--medeci-topbar-h) - 1px)!important}
.wizard-tabs{top:calc(var(--medeci-topbar-h) + var(--medeci-hud-h) - 2px)!important}

.wizard-card>.section-block{margin-bottom:7px}.wizard-card .section-heading{margin-bottom:6px}.hydro-two-column{gap:7px!important}
.vessel-notes-field{align-self:start}.vessel-notes-textarea{min-height:50px!important;height:50px;padding-top:7px!important;padding-bottom:7px!important;resize:vertical}.vessel-notes-field+*{margin-top:0!important}
.test-weight-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:end;margin-bottom:7px}.test-weight-controls label{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;align-items:center;color:var(--muted);font-size:.72rem}.test-weight-controls .btn{width:100%;height:38px}.test-weight-controls .select{min-height:38px}

/* Touch devices must not keep a stale :hover row. Selection is explicit in JS. */
.table-wrap tbody tr.row-selected,.responsive-data-table tbody tr.row-selected,.compact-data-table tbody tr.row-selected,
.table-wrap tbody tr.row-selected:focus-within:not(:hover),.responsive-data-table tbody tr.row-selected:focus-within:not(:hover),.compact-data-table tbody tr.row-selected:focus-within:not(:hover){background:rgba(249,115,22,.20)!important;color:var(--text)!important;box-shadow:inset 4px 0 0 #f97316!important}
.table-wrap tbody tr.row-selected td,.responsive-data-table tbody tr.row-selected td,.compact-data-table tbody tr.row-selected td{color:var(--text)!important}
@media(hover:none){.table-wrap tbody tr:hover:not(.row-selected),.responsive-data-table tbody tr:hover:not(.row-selected),.compact-data-table tbody tr:hover:not(.row-selected){background:transparent!important;box-shadow:none!important}}

.measurement-console-under-vessel{margin:5px 0 7px!important;padding:8px!important}.measurement-console-under-vessel .compact-capture-panel{padding:8px!important}.single-duration-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;grid-template-columns:none!important}.single-duration-heading .duration-chip{margin:0!important;min-width:82px}.countdown-duration-chip{font-variant-numeric:tabular-nums}.measurement-console-under-vessel .progress{margin-top:7px}.measurement-console-under-vessel .capture-actions{margin-top:7px}.measurement-console-under-vessel .capture-action{min-height:52px}.measurement-console-under-vessel .repeat-experiment-button{margin-top:6px}

.signal-filter-panel{padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface)}.signal-analysis-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(210px,.5fr);gap:9px}.signal-chart-wrap{position:relative;min-width:0;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface)}.signal-chart-wrap canvas{display:block;width:100%;height:190px}.signal-legend{position:absolute;right:8px;top:7px;display:flex;gap:8px;font-size:.64rem;font-weight:800}.signal-legend span::before{content:'';display:inline-block;width:13px;height:3px;margin-right:4px;vertical-align:middle}.signal-legend .raw::before{background:#f97316}.signal-legend .filtered::before{background:#0f766e}.signal-kpis{display:grid;grid-template-columns:1fr 1fr;gap:6px}.signal-kpis>div{padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft)}.signal-kpis span,.signal-kpis strong{display:block}.signal-kpis span{font-size:.62rem;color:var(--muted);font-weight:800}.signal-kpis strong{font-size:.74rem;margin-top:3px;overflow-wrap:anywhere}.signal-quality{padding:5px 8px;border-radius:999px;font-size:.68rem;font-weight:900}.signal-quality.good{background:#dcfce7;color:#166534}.signal-quality.caution{background:#fef3c7;color:#92400e}.signal-quality.poor{background:#fee2e2;color:#991b1b}.signal-quality.collecting{background:var(--surface-soft);color:var(--muted)}.signal-validation-note{margin-top:7px!important;padding:7px 9px!important;font-size:.7rem!important}

.environment-evidence{margin-top:0;padding:11px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.environment-heading{align-items:flex-start}.environment-refresh-actions{display:grid;grid-template-columns:repeat(3,auto);gap:6px}.environment-refresh{border:1px solid #fbbf24;border-radius:9px;background:rgba(250,204,21,.18);color:#854d0e;padding:7px 10px;font-weight:850;cursor:pointer;white-space:nowrap}.environment-refresh b{font-size:1rem;margin-left:3px}.environment-refresh:hover{background:rgba(250,204,21,.3)}
.environment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.environment-card{min-width:0;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.environment-card>span,.environment-card>strong,.environment-card>small{display:block}.environment-card>span{font-size:.62rem;color:var(--muted);font-weight:900;text-transform:uppercase}.environment-card>strong{font-size:.8rem;margin-top:3px}.environment-card>small{font-size:.65rem;color:var(--muted);margin-top:3px}.field-observation .select{min-height:34px;margin-top:4px;font-size:.74rem;padding:5px 7px}
.environment-assessment{margin-top:8px;padding:9px 10px;border-radius:10px;border:1px solid var(--line)}.environment-assessment>strong{display:block;font-size:.82rem}.environment-assessment>span{display:block;margin-top:4px;font-size:.72rem}.environment-assessment ul{margin:5px 0 0;padding-left:18px;font-size:.71rem}.environment-assessment.suitable{background:#ecfdf5;border-color:#86efac;color:#166534}.environment-assessment.caution{background:#fffbeb;border-color:#fcd34d;color:#92400e}.environment-assessment.unsuitable{background:#fff1f2;border-color:#fda4af;color:#9f1239}.environment-decision-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.environment-override-note{display:grid;gap:2px;margin-top:8px;padding-top:7px;border-top:1px solid currentColor}.environment-override-note span,.environment-override-note small{font-size:.68rem}.environment-source-note{margin-top:7px;color:var(--muted);font-size:.65rem;line-height:1.4}.approval-evidence-grid{grid-template-columns:1fr!important}

:root[data-theme="dark"] .environment-refresh{color:#fde68a;border-color:#ca8a04;background:rgba(202,138,4,.17)}

@media(max-width:760px){.home-live-head{padding-right:58px}.home-live-head .single-status-pill{right:8px;top:8px}.wizard-card>.section-block{margin-bottom:6px}.vessel-notes-textarea{min-height:48px!important;height:48px}.test-weight-controls{grid-template-columns:1fr 1fr}.signal-analysis-grid{grid-template-columns:1fr}.environment-heading{display:grid!important;gap:7px}.environment-refresh-actions{grid-template-columns:repeat(3,1fr);width:100%}.environment-refresh{padding:7px 5px}.environment-grid{grid-template-columns:1fr 1fr}.environment-decision-actions{grid-template-columns:1fr 1fr}.measurement-console-under-vessel .capture-action{min-height:48px}}
@media(max-width:430px){.environment-grid{grid-template-columns:1fr 1fr}.environment-card{padding:7px}.signal-kpis{grid-template-columns:1fr 1fr}}

/* v1.14.0 — multi-project center, private usage analytics, Smart Buoy demo */
.portfolio-shell{min-height:100vh;background:linear-gradient(135deg,#071526 0%,#0d2239 46%,#0b3040 100%);color:#eef8ff}
.portfolio-topbar{position:sticky;top:0;z-index:30;height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 26px;background:rgba(5,17,31,.86);backdrop-filter:blur(16px);border-bottom:1px solid rgba(148,197,224,.17)}
.portfolio-brand{display:flex;align-items:center;gap:11px;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left;padding:0}.portfolio-brand>span:last-child{display:flex;flex-direction:column}.portfolio-brand strong{font-size:.95rem}.portfolio-brand small{font-size:.69rem;color:#9fc5d9;margin-top:2px}.portfolio-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-weight:950;font-size:1.05rem;background:linear-gradient(145deg,#06b6d4,#0f766e);box-shadow:0 10px 30px rgba(6,182,212,.22)}
.portfolio-top-actions{display:flex;align-items:center;gap:8px}.portfolio-top-actions .btn{border-color:rgba(203,232,246,.16);background:rgba(255,255,255,.06);color:#eef8ff}.portfolio-top-actions .btn:hover{background:rgba(255,255,255,.12)}.portfolio-user{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#afd0e1;font-size:.75rem;font-weight:800;margin-right:3px}
.portfolio-content{width:min(1500px,calc(100% - 44px));margin:0 auto;padding:30px 0 46px}.portfolio-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;padding:34px 36px;margin-bottom:22px;border-radius:24px;border:1px solid rgba(113,201,222,.22);background:radial-gradient(circle at 90% 10%,rgba(21,192,190,.18),transparent 34%),linear-gradient(135deg,rgba(15,57,84,.92),rgba(11,40,62,.72));box-shadow:0 25px 70px rgba(0,0,0,.18)}
.portfolio-hero:after{content:'';position:absolute;width:280px;height:280px;border:1px solid rgba(107,221,225,.12);border-radius:50%;right:-80px;bottom:-175px}.portfolio-hero .eyebrow,.project-page-head .eyebrow{color:#69dce1;letter-spacing:.16em;font-size:.66rem;font-weight:950}.portfolio-hero h1,.project-page-head h1{margin:8px 0 9px;font-size:clamp(2rem,4vw,3.35rem);line-height:1.02}.portfolio-hero p,.project-page-head p{margin:0;max-width:820px;color:#b9d3e1;font-size:.94rem;line-height:1.6}.portfolio-summary{display:flex;flex-direction:column;align-items:flex-end;min-width:120px}.portfolio-summary strong{font-size:3.5rem;line-height:.88;color:#68e3df}.portfolio-summary span{text-transform:uppercase;letter-spacing:.12em;font-size:.68rem;font-weight:950;margin-top:7px}.portfolio-summary small{color:#8bb2c6;font-size:.66rem;margin-top:5px;white-space:nowrap}
.portfolio-project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.portfolio-project-card{--project-accent:#22c55e;position:relative;min-height:235px;padding:20px;border-radius:20px;border:1px solid rgba(148,197,224,.18);background:linear-gradient(155deg,rgba(255,255,255,.075),rgba(255,255,255,.025));color:#eef8ff;text-align:left;cursor:pointer;overflow:hidden;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease}.portfolio-project-card:after{content:'';position:absolute;width:160px;height:160px;border-radius:50%;right:-75px;bottom:-80px;background:color-mix(in srgb,var(--project-accent) 18%,transparent)}.portfolio-project-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--project-accent) 55%,transparent);background:linear-gradient(155deg,rgba(255,255,255,.105),rgba(255,255,255,.035));box-shadow:0 18px 38px rgba(0,0,0,.16)}.portfolio-project-card.tone-teal{--project-accent:#14b8a6}.portfolio-project-card.tone-blue{--project-accent:#3b82f6}.portfolio-project-card.tone-cyan{--project-accent:#06b6d4}.portfolio-project-card.tone-violet{--project-accent:#8b5cf6}.portfolio-project-card.tone-orange{--project-accent:#f97316}.portfolio-project-card.tone-rose{--project-accent:#f43f5e}.portfolio-project-card.tone-green{--project-accent:#22c55e}.portfolio-card-top{display:flex;justify-content:space-between;align-items:center}.portfolio-project-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:color-mix(in srgb,var(--project-accent) 78%,#071526);font-size:1.45rem;box-shadow:0 9px 25px color-mix(in srgb,var(--project-accent) 20%,transparent)}.portfolio-status{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.075);color:#a9c5d6;border:1px solid rgba(255,255,255,.1);font-size:.58rem;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.portfolio-status.active{background:rgba(34,197,94,.16);color:#98f0b3;border-color:rgba(34,197,94,.28)}.portfolio-status.demo{background:rgba(249,115,22,.17);color:#fdba74;border-color:rgba(249,115,22,.3)}.portfolio-project-number{position:absolute;right:18px;bottom:36px;color:rgba(255,255,255,.035);font-size:4.5rem;font-weight:950;line-height:1}.portfolio-project-card h2{margin:22px 0 7px;font-size:1.2rem;position:relative;z-index:1}.portfolio-project-card p{position:relative;z-index:1;min-height:55px;margin:0;color:#a8c4d4;font-size:.77rem;line-height:1.5}.portfolio-open{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:#e9fbff;font-size:.71rem;font-weight:900}.portfolio-open b{color:var(--project-accent);font-size:1rem}
.project-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:22px 4px 20px}.project-page-head h1{font-size:2.45rem}.project-stage-badge{display:inline-flex;padding:7px 11px;border-radius:999px;border:1px solid rgba(147,197,253,.25);background:rgba(59,130,246,.11);color:#bfdbfe;font-size:.62rem;font-weight:950;letter-spacing:.09em;white-space:nowrap}.project-stage-badge.demo{background:rgba(249,115,22,.14);border-color:rgba(249,115,22,.28);color:#fdba74}.project-kpi-grid,.analytics-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.project-kpi{display:flex;align-items:center;gap:12px;padding:16px 17px;border-radius:17px;border:1px solid rgba(148,197,224,.17);background:rgba(255,255,255,.955);color:#132238;box-shadow:0 12px 30px rgba(0,0,0,.07)}.project-kpi>span{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#e8f5f5;color:#087f8f;font-size:1.25rem}.project-kpi>div{min-width:0}.project-kpi small,.project-kpi strong,.project-kpi em{display:block}.project-kpi small{font-size:.65rem;font-weight:850;color:#627188}.project-kpi strong{font-size:1.24rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-kpi em{font-size:.6rem;color:#8491a3;font-style:normal;margin-top:2px}.project-demo-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.7fr);gap:14px}.portfolio-shell .card{background:rgba(255,255,255,.97);color:#142238;border:1px solid rgba(207,221,231,.9);box-shadow:0 12px 35px rgba(0,0,0,.08)}.project-demo-main,.project-module-list{padding:18px;border-radius:18px}.demo-bars{height:290px;display:flex;align-items:flex-end;gap:8px;padding:28px 8px 0;border-bottom:1px solid #dbe5eb;background:linear-gradient(to top,rgba(6,182,212,.035),transparent)}.demo-bars i{flex:1;min-width:6px;border-radius:8px 8px 2px 2px;background:linear-gradient(to top,#0891b2,#3dd5c7);opacity:.88}.project-demo-axis{display:flex;justify-content:space-between;color:#8290a1;font-size:.61rem;padding:7px 5px}.project-module-list h2{margin:0 0 8px}.project-module-row{display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;padding:12px 4px;border-top:1px solid #e4ebf0}.project-module-row>b{color:#09a5ae;font-size:.72rem}.project-module-row span{display:flex;flex-direction:column}.project-module-row strong{font-size:.77rem}.project-module-row small{color:#738294;font-size:.67rem;line-height:1.4;margin-top:3px}.project-coming-note{display:flex;align-items:center;gap:12px;margin-top:14px;padding:13px 16px;border:1px dashed rgba(125,211,252,.3);border-radius:14px;background:rgba(14,116,144,.12);color:#c7eaf5}.project-coming-note strong{white-space:nowrap;font-size:.75rem}.project-coming-note span{font-size:.7rem;color:#a9cad9}
.smart-buoy-live{display:grid;grid-template-columns:minmax(0,1fr) 345px;gap:14px}.smart-buoy-main{display:grid;gap:14px;min-width:0}.smart-buoy-side{display:grid;gap:14px;align-content:start}.smart-buoy-sensor-card,.smart-current-card,.smart-camera-card,.connection-summary,.environment-risk,.smart-power{padding:17px;border-radius:18px}.smart-buoy-sensor-card .card-title{margin-bottom:12px}.smart-sensor-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.smart-sensor{padding:12px;border:1px solid #dce6ec;border-radius:13px;background:#f8fafc}.smart-sensor span,.smart-sensor strong,.smart-sensor small{display:block}.smart-sensor span{font-size:.59rem;color:#66758a;font-weight:850}.smart-sensor strong{font-size:.94rem;margin-top:5px}.smart-sensor small{font-size:.58rem;color:#8a96a7;margin-top:3px}.smart-live-grid{display:grid;grid-template-columns:minmax(250px,.7fr) minmax(330px,1.3fr);gap:14px}.current-compass{display:grid;place-items:center;padding:8px 0 4px}.compass-ring{width:160px;height:160px;position:relative;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#0891b2 calc(var(--deg)*1deg),#e2edf3 0);box-shadow:inset 0 0 0 18px white}.compass-ring:after{content:'';position:absolute;inset:24px;border-radius:50%;background:white}.compass-ring b,.compass-ring span{position:relative;z-index:1}.compass-ring b{font-size:1.55rem}.compass-ring span{position:absolute;margin-top:40px;color:#66758a;font-size:.68rem}.compass-arrow{position:absolute;z-index:2;top:8px;left:50%;width:3px;height:72px;transform-origin:50% 72px;transform:translateX(-50%) rotate(calc(var(--deg)*1deg));background:linear-gradient(#f97316,#f97316 18px,transparent 18px);border-radius:4px}.camera-box{min-height:235px;border-radius:13px;overflow:hidden;background:linear-gradient(145deg,#0f2236,#091626);display:grid;place-items:center}.camera-box img{width:100%;height:100%;object-fit:cover}.camera-placeholder{text-align:center;color:#a9c8d8;padding:30px}.camera-placeholder strong{display:block;color:#eef8ff;margin-bottom:6px}.camera-placeholder span{font-size:.69rem}.connection-summary h2,.environment-risk h2,.smart-power h2,.smart-current-card h2,.smart-camera-card h2{margin:0 0 5px}.connection-row{display:flex;gap:9px;align-items:center;padding:10px 0;border-top:1px solid #e7edf1}.connection-row>span{width:9px;height:9px;border-radius:50%;flex:0 0 auto}.connection-row.ok>span{background:#10b981;box-shadow:0 0 0 4px #d1fae5}.connection-row.bad>span{background:#ef4444;box-shadow:0 0 0 4px #fee2e2}.connection-row div{display:flex;flex-direction:column}.connection-row strong{font-size:.72rem}.connection-row small{font-size:.59rem;color:#7d8b9b;margin-top:2px}.risk-score{display:flex;flex-direction:column;padding:14px;border-radius:14px;margin:10px 0}.risk-score.normal{background:#0e9f87;color:white}.risk-score.warning{background:#f59e0b;color:#1f2937}.risk-score.danger{background:#dc2626;color:white}.risk-score span{font-size:.65rem;font-weight:900}.risk-score strong{font-size:2rem;line-height:1.05}.risk-score small{font-size:.59rem;margin-top:5px}.risk-line{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #e3eaf0;font-size:.68rem}.risk-line span{color:#718095}.smart-demo-tag{display:inline-flex;padding:5px 8px;border-radius:999px;background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;font-size:.58rem;font-weight:950}
.analytics-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:14px;margin-bottom:14px}.analytics-card{padding:17px;border-radius:18px}.route-bars{display:grid;gap:10px}.route-bars>div{display:grid;grid-template-columns:160px minmax(100px,1fr) 38px;align-items:center;gap:9px}.route-bars span{font-size:.66rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.route-bars i{height:8px;background:#e7eef3;border-radius:999px;overflow:hidden}.route-bars i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0891b2,#14b8a6)}.route-bars strong{text-align:right;font-size:.7rem}.action-cloud{display:flex;flex-wrap:wrap;gap:7px}.action-cloud span{display:inline-flex;align-items:center;gap:7px;padding:7px 9px;border-radius:10px;background:#f1f5f9;border:1px solid #e2e8f0}.action-cloud b{font-size:.62rem}.action-cloud em{font-style:normal;font-size:.59rem;color:#64748b}.analytics-users{margin-bottom:14px}.analytics-feed{display:grid}.analytics-feed>div{display:grid;grid-template-columns:62px 150px minmax(180px,1fr) 150px;gap:9px;align-items:center;padding:8px 0;border-top:1px solid #e5ecf0;font-size:.65rem}.analytics-feed strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.analytics-feed small{color:#728195;text-align:right}.analytics-kind{display:inline-flex;justify-content:center;padding:4px 5px;border-radius:999px;font-size:.52rem;font-weight:950}.analytics-kind.view{background:#e0f2fe;color:#0369a1}.analytics-kind.action{background:#dcfce7;color:#15803d}
.unsaved-experiment-note{display:inline-flex;align-items:center;gap:6px;color:#c2410c;font-weight:850}
@media(max-width:1180px){.portfolio-project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.smart-buoy-live{grid-template-columns:1fr}.smart-buoy-side{grid-template-columns:repeat(3,minmax(0,1fr))}.project-kpi-grid,.analytics-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.portfolio-topbar{padding:0 14px;height:64px}.portfolio-user{display:none}.portfolio-content{width:min(100% - 24px,1500px);padding-top:18px}.portfolio-hero{grid-template-columns:1fr;padding:24px}.portfolio-summary{align-items:flex-start}.portfolio-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-page-head{align-items:flex-start;flex-direction:column}.project-demo-grid,.analytics-grid,.smart-live-grid{grid-template-columns:1fr}.smart-sensor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-buoy-side{grid-template-columns:1fr}.analytics-feed>div{grid-template-columns:58px 1fr 120px}.analytics-feed>div>span:nth-of-type(2){grid-column:2/4}.route-bars>div{grid-template-columns:120px 1fr 30px}}
@media(max-width:520px){.portfolio-top-actions .btn:not(.btn-icon){font-size:.62rem;padding:7px}.portfolio-brand strong{font-size:.78rem}.portfolio-brand small{font-size:.58rem}.portfolio-project-grid{grid-template-columns:1fr}.portfolio-project-card{min-height:195px}.portfolio-hero h1,.project-page-head h1{font-size:1.8rem}.project-kpi-grid,.analytics-summary{grid-template-columns:1fr 1fr}.project-kpi{padding:11px;gap:8px}.project-kpi>span{width:36px;height:36px}.project-kpi strong{font-size:1rem}.smart-sensor-grid{grid-template-columns:1fr 1fr}.analytics-feed>div{grid-template-columns:52px 1fr}.analytics-feed small{grid-column:1/3;text-align:left}.analytics-feed>div>span:nth-of-type(2){grid-column:2}.project-coming-note{align-items:flex-start;flex-direction:column}.project-coming-note strong{white-space:normal}}
.smart-buoy-top-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.smart-buoy-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 355px;gap:14px}.smart-buoy-left,.smart-buoy-right{display:grid;gap:14px;align-content:start;min-width:0}.smart-weather-card,.smart-camera-card,.smart-current-card,.connection-summary,.environment-risk,.smart-power{padding:17px;border-radius:18px}.smart-weather-card .card-title,.smart-camera-card .card-title{margin-bottom:12px}.smart-sensor{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;align-items:center;padding:11px;border:1px solid #dce6ec;border-radius:13px;background:#f8fafc}.smart-sensor>span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#e8f3f5}.smart-sensor div{min-width:0}.smart-sensor small,.smart-sensor strong{display:block}.smart-sensor small{font-size:.59rem;color:#66758a;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.smart-sensor strong{font-size:.78rem;margin-top:3px}.smart-camera-frame{min-height:260px;border-radius:13px;overflow:hidden;background:linear-gradient(145deg,#0f2236,#091626);display:grid;place-items:center}.smart-buoy-camera-image{width:100%;height:260px;object-fit:cover;display:block}.current-gauge{display:grid;grid-template-columns:200px minmax(0,1fr);align-items:center;gap:18px;padding:12px}.current-compass{position:relative;width:160px;height:160px;border-radius:50%;margin:auto;display:grid;place-items:center;background:radial-gradient(circle at center,#fff 0 56%,transparent 57%),conic-gradient(#0ea5a8 0 22%,#dceaf0 22% 100%);border:1px solid #d6e2e8}.current-compass strong{font-size:1.45rem;color:#142238}.current-compass small{position:absolute;top:98px;color:#65758a;font-weight:850}.current-arrow{position:absolute;top:17px;left:calc(50% - 10px);transform-origin:10px 63px;color:#f97316;font-size:1.5rem;font-weight:950}.current-reading span,.current-reading strong,.current-reading em{display:block}.current-reading span{font-size:.68rem;color:#69798d;font-weight:850}.current-reading strong{font-size:2.1rem;line-height:1.05;margin-top:5px}.current-reading strong small{font-size:.75rem}.current-reading em{font-style:normal;color:#0f8b8d;font-size:.65rem;font-weight:850;margin-top:7px}.connection-dot{width:10px;height:10px;border-radius:50%;display:inline-block}.connection-dot.online{background:#10b981;box-shadow:0 0 0 4px #d1fae5}.connection-dot.offline{background:#ef4444;box-shadow:0 0 0 4px #fee2e2}
@media(max-width:1180px){.smart-buoy-main-grid{grid-template-columns:1fr}.smart-buoy-right{grid-template-columns:repeat(3,minmax(0,1fr))}.smart-buoy-top-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.smart-buoy-right{grid-template-columns:1fr}.current-gauge{grid-template-columns:1fr}.smart-buoy-top-grid{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.smart-buoy-top-grid{grid-template-columns:1fr}.smart-sensor-grid{grid-template-columns:1fr 1fr}.current-reading{text-align:center}}

/* v1.15.0 — Smart Buoy command center + account security */
.portfolio-project-icon img{width:34px;height:34px;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.18))}.buoy-wifi-icon{width:29px;height:29px;display:block}.portfolio-project-icon .buoy-wifi-icon{width:31px;height:31px}.auth-secondary-link{text-align:center}.text-button{border:0;background:transparent;color:#0f8b8d;font-weight:800;cursor:pointer;padding:4px 8px}.text-button:hover{text-decoration:underline}
.smart-buoy-commandbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 14px;padding:14px 17px;border:1px solid rgba(138,197,221,.24);border-radius:17px;background:linear-gradient(135deg,rgba(6,182,212,.08),rgba(20,184,166,.05));color:#eaf7ff}.smart-buoy-commandbar>div:first-child{display:flex;flex-direction:column;min-width:0}.smart-buoy-commandbar strong{font-size:1rem}.smart-buoy-commandbar small{color:#9fc1d1;margin-top:3px}.smart-buoy-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin-bottom:14px}.smart-buoy-kpi-grid .project-kpi{min-width:0}.smart-buoy-kpi-grid .project-kpi strong{font-size:1.15rem}
.smart-map-fleet-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.7fr);gap:14px;margin-bottom:14px}.smart-map-card,.smart-fleet-card,.smart-compare-card,.marine-risk-card,.marine-future-card,.smart-network-card,.smart-hazard-card,.smart-source-card{padding:17px;border-radius:18px}.smart-buoy-map{height:470px;border-radius:14px;overflow:hidden;background:#dce8ef;border:1px solid #d7e3e9;position:relative}.smart-map-card:fullscreen{background:#fff;padding:14px}.smart-map-card:fullscreen .smart-buoy-map{height:calc(100vh - 100px)}.map-unavailable{height:100%;display:grid;place-items:center;align-content:center;gap:6px;color:#52677b;text-align:center;padding:25px}.smart-map-legend{display:flex;gap:15px;flex-wrap:wrap;margin-top:10px;font-size:.64rem;color:#64748b}.smart-map-legend span{display:flex;align-items:center;gap:6px}.smart-map-legend i{width:10px;height:10px;border-radius:50%;display:inline-block}.legend-prototype{background:#0ea5a8}.legend-demo{background:#64748b}.legend-hazard{background:#f97316}.legend-risk{background:#14b8a6;box-shadow:0 0 0 5px rgba(20,184,166,.11)}.smart-map-marker-wrap{background:transparent!important;border:0!important}.smart-map-marker{width:42px;height:42px;border-radius:50% 50% 48% 48%;display:grid;place-items:center;color:#fff;background:#0ea5a8;border:3px solid #fff;box-shadow:0 7px 18px rgba(10,54,74,.3)}.smart-map-marker.demo{background:#536b7c}.smart-map-marker.alarm{background:#dc2626;animation:smartPulse 1.2s infinite}.smart-map-marker .buoy-wifi-icon{width:25px;height:25px}@keyframes smartPulse{0%,100%{box-shadow:0 0 0 0 rgba(220,38,38,.35),0 7px 18px rgba(10,54,74,.3)}50%{box-shadow:0 0 0 12px rgba(220,38,38,0),0 7px 18px rgba(10,54,74,.3)}}
.smart-fleet-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.smart-fleet-filters button{border:1px solid #dbe5ea;border-radius:999px;background:#f7fafc;color:#617386;padding:6px 9px;font-size:.62rem;font-weight:850;cursor:pointer}.smart-fleet-filters button.active{background:#0f8b8d;color:white;border-color:#0f8b8d}.smart-fleet-list{display:grid;gap:7px;max-height:410px;overflow:auto}.smart-fleet-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border:1px solid #e0e8ed;border-radius:12px;background:#f9fbfc}.smart-fleet-row.alarm{border-color:#fecaca;background:#fff7f7}.smart-fleet-main{display:grid;grid-template-columns:37px minmax(0,1fr);gap:9px;align-items:center;text-align:left;padding:10px;border:0;background:transparent;cursor:pointer;color:#17263b}.smart-fleet-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#e9f6f5;color:#0f8b8d}.smart-fleet-icon .buoy-wifi-icon{width:22px;height:22px}.smart-fleet-main strong,.smart-fleet-main small{display:block}.smart-fleet-main small{color:#7d8b9c;font-size:.57rem;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.smart-fleet-actions{display:flex;gap:4px;padding-right:8px}.smart-fleet-actions button{width:28px;height:28px;border:1px solid #d9e4e9;border-radius:8px;background:#fff;cursor:pointer;color:#5b6e7f}.smart-fleet-actions button:hover{background:#eef7f7;color:#0f8b8d}
.smart-data-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:14px;margin-bottom:14px}.smart-compare-head,.smart-compare-row{display:grid;grid-template-columns:minmax(145px,1.4fr) repeat(3,minmax(90px,.7fr));gap:8px;align-items:center}.smart-compare-head{padding:8px 11px;font-size:.59rem;text-transform:uppercase;letter-spacing:.05em;color:#8190a0;font-weight:900}.smart-compare-row{padding:10px 11px;border-top:1px solid #e8eef2;font-size:.7rem}.smart-compare-row>span{color:#5e7184;font-weight:800}.smart-compare-row strong{font-size:.76rem}.smart-compare-row em{font-style:normal;color:#0f8b8d;font-weight:900}.marine-risk-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.marine-risk-metrics>div,.smart-network-grid>div{padding:9px;border-radius:10px;background:#f7fafc;border:1px solid #e2eaf0}.marine-risk-metrics span,.smart-network-grid span{display:block;color:#738396;font-size:.56rem;font-weight:850}.marine-risk-metrics strong,.smart-network-grid strong{display:block;margin-top:4px;font-size:.78rem}
.marine-future-card{margin-bottom:14px}.marine-forecast-strip{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(128px,1fr);gap:8px;overflow-x:auto;padding:3px 0 10px}.marine-forecast-item{min-height:175px;border-radius:13px;border:1px solid #dfe8ed;background:#f8fafc;padding:11px;display:flex;flex-direction:column;align-items:center;text-align:center}.marine-forecast-item time{font-size:.68rem;font-weight:900;color:#2e4054}.forecast-symbol{font-size:1.4rem;margin:5px 0}.marine-forecast-item strong{font-size:.78rem;margin-top:4px}.marine-forecast-item span{font-size:.54rem;color:#78899b}.marine-forecast-item em{margin-top:auto;padding:4px 7px;border-radius:999px;background:#e7f7f3;color:#0f766e;font-size:.56rem;font-weight:900;font-style:normal}.marine-forecast-item.risk-warning em{background:#fff4cc;color:#92400e}.marine-forecast-item.risk-danger em{background:#fee2e2;color:#991b1b}.future-alert-summary{display:flex;flex-direction:column;align-items:flex-end}.future-alert-summary strong{font-size:.72rem;color:#0f8b8d}.future-alert-summary span{font-size:.58rem;color:#7c8d9e}.smart-risk-chart{width:100%;height:150px;display:block;border-top:1px solid #e7edf1;margin-top:6px}
.smart-media-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:14px;margin-bottom:14px}.smart-media-grid .smart-camera-frame{min-height:330px}.smart-media-grid .smart-buoy-camera-image{height:330px}.camera-radar{display:grid!important;place-items:center;margin:0 auto 10px;width:56px;height:56px;border-radius:50%;background:radial-gradient(circle,#2dd4bf 0 8%,transparent 9% 30%,rgba(45,212,191,.25) 31% 33%,transparent 34% 55%,rgba(45,212,191,.17) 56% 58%,transparent 59%);color:#2dd4bf;font-size:1rem!important}.current-model-note{margin-top:13px!important;padding:8px 10px;border-radius:9px;background:#eef7f7;color:#537075!important;font-size:.61rem!important}.smart-ops-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:14px;margin-bottom:14px}.smart-network-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.smart-hazard-source-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:14px;margin-bottom:14px}.smart-hazard-list{display:grid;gap:7px}.smart-hazard-row{display:grid;grid-template-columns:28px 1fr;gap:8px;align-items:center;padding:9px;border-radius:10px;background:#f8fafc;border:1px solid #e3eaf0}.smart-hazard-row>span{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#fff1e8;color:#f97316}.smart-hazard-row.tsunami{background:#fff5f5;border-color:#fecaca}.smart-hazard-row.tsunami>span{background:#fee2e2;color:#dc2626}.smart-hazard-row strong,.smart-hazard-row small{display:block}.smart-hazard-row strong{font-size:.7rem}.smart-hazard-row small{color:#7b8b9a;font-size:.57rem;margin-top:2px}.smart-source-grid{display:grid;gap:7px}.smart-source-grid>div{display:flex;justify-content:space-between;gap:8px;padding:10px;border-bottom:1px solid #e7edf1;font-size:.67rem}.smart-source-grid>div span{color:#6f8092}.smart-source-grid strong{display:flex;align-items:center;gap:6px}.smart-source-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.smart-source-dot.ok{background:#10b981;box-shadow:0 0 0 3px #d1fae5}.smart-source-dot.off{background:#f59e0b;box-shadow:0 0 0 3px #fef3c7}
.smart-call-backdrop{backdrop-filter:blur(7px)}.smart-call-modal{text-align:center;max-width:480px}.incoming-call-pulse{width:92px;height:92px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#0ea5a8,#0f766e);color:white;box-shadow:0 0 0 0 rgba(14,165,168,.35);animation:incomingCall 1.3s infinite}.incoming-call-pulse .buoy-wifi-icon{width:54px;height:54px}@keyframes incomingCall{50%{box-shadow:0 0 0 22px rgba(14,165,168,0)}}.smart-call-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:17px 0}.smart-call-metrics span{padding:9px;border-radius:10px;background:#f5f8fa;color:#66798c;font-size:.62rem}.smart-call-metrics b{display:block;color:#18283b;font-size:.82rem;margin-top:4px}.smart-call-modal .actions{justify-content:center;margin:14px 0}
@media(max-width:1280px){.smart-buoy-kpi-grid{grid-template-columns:repeat(3,1fr)}.smart-map-fleet-grid,.smart-data-grid,.smart-hazard-source-grid{grid-template-columns:1fr}.smart-ops-grid{grid-template-columns:repeat(2,1fr)}.smart-fleet-list{max-height:280px}.smart-buoy-map{height:420px}}
@media(max-width:820px){.smart-buoy-commandbar{align-items:flex-start;flex-direction:column}.smart-buoy-kpi-grid{grid-template-columns:repeat(2,1fr)}.smart-media-grid,.smart-ops-grid{grid-template-columns:1fr}.marine-risk-metrics{grid-template-columns:repeat(2,1fr)}.smart-compare-head,.smart-compare-row{grid-template-columns:1.3fr .8fr .8fr}.smart-compare-head em,.smart-compare-row em{display:none}.smart-buoy-map{height:360px}}
@media(max-width:520px){.smart-buoy-kpi-grid{grid-template-columns:1fr 1fr}.smart-buoy-commandbar .actions{width:100%}.smart-buoy-commandbar .btn{flex:1}.smart-buoy-map{height:320px}.smart-call-metrics{grid-template-columns:1fr}.marine-risk-metrics,.smart-network-grid{grid-template-columns:1fr 1fr}.smart-compare-row{font-size:.63rem}.smart-compare-row strong{font-size:.68rem}}
.smart-data-attribution{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:12px;padding-top:10px;border-top:1px solid rgba(148,163,184,.22);font-size:10px;color:#7b899a}.smart-data-attribution a{color:inherit;text-decoration:underline;text-underline-offset:2px}

/* v1.16.0 smart buoy refresh */
.compact-smart-head{margin-bottom:10px}.compact-smart-head>div p{font-size:.95rem;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.smart-buoy-head.project-page-head{padding:0 2px 8px}.compact-smart-commandbar{margin:0 0 10px;padding:12px 14px}.compact-smart-commandbar strong{font-size:1.02rem}.smart-panel-toolbar{display:grid;gap:10px;margin:0 0 12px}.smart-toolbar-group{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.smart-toolbar-group>span{font-size:.67rem;font-weight:900;color:#648193}.smart-chip{border:1px solid #d6e3e9;background:#f7fbfc;color:#587084;border-radius:999px;padding:6px 10px;font-size:.63rem;font-weight:850;cursor:pointer}.smart-chip.active{background:#0f8b8d;color:#fff;border-color:#0f8b8d;box-shadow:0 6px 15px rgba(15,139,141,.15)}.compact-smart-kpis{margin-bottom:12px}.smart-operation-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(330px,.8fr);gap:14px;margin-bottom:14px}.smart-map-side-stack{display:grid;gap:14px;align-content:start}.smart-map-priority .smart-buoy-map{height:560px}.smart-priority-card{min-height:270px}.smart-map-inline-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.smart-map-inline-badges span{padding:6px 9px;border-radius:999px;background:#f5fafb;border:1px solid #dce7ec;font-size:.61rem;color:#5f7385}.smart-map-inline-badges b{color:#10243c}.smart-fleet-row.selected{border-color:#0f8b8d;background:#f0fbfb}.smart-fleet-main strong em{font-style:normal;color:#0f8b8d;font-size:.64rem;font-weight:900}.smart-map-marker.selected{box-shadow:0 0 0 5px rgba(15,139,141,.22),0 7px 18px rgba(10,54,74,.3)}.smart-map-info-wrap{background:transparent!important;border:0!important}.smart-map-info-pill{min-width:100px;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:6px;align-items:center;padding:6px 8px;border-radius:12px;background:rgba(255,255,255,.95);border:1px solid #dce8ef;box-shadow:0 8px 22px rgba(15,23,42,.12)}.smart-map-info-pill b{grid-row:1/span 2;font-size:.95rem;color:#0f8b8d}.smart-map-info-pill span{font-size:.56rem;color:#66758a;font-weight:800}.smart-map-info-pill strong{font-size:.65rem;color:#10243c}.wide-smart-card{margin-bottom:14px}.smart-demo-video{position:relative;width:100%;height:330px;border-radius:14px;overflow:hidden;background:linear-gradient(180deg,#06263f 0%,#0b3558 38%,#0f6c8e 100%)}.smart-demo-video-overlay{position:absolute;inset:0;display:grid;place-items:center;align-content:center;gap:6px;text-align:center;color:#ecfeff;z-index:3;padding:18px}.smart-demo-wave{position:absolute;left:-8%;width:120%;height:42%;background:rgba(255,255,255,.12);border-radius:48% 52% 58% 42%/55% 50% 50% 45%;bottom:-10%;animation:smartWaveMove 9s linear infinite}.smart-demo-wave.two{bottom:6%;background:rgba(125,211,252,.14);animation-duration:13s;animation-direction:reverse}.smart-demo-sweep{position:absolute;inset:-30%;background:conic-gradient(from 280deg,transparent 0 82%,rgba(45,212,191,.28) 87%,transparent 92%);animation:smartSweep 4s linear infinite;mix-blend-mode:screen}.smart-quality-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}.smart-quality-grid>div{padding:10px;border-radius:12px;background:#f8fbfc;border:1px solid #dce6ec}.smart-quality-grid span,.smart-quality-grid strong{display:block}.smart-quality-grid span{font-size:.6rem;color:#6d7f91;font-weight:850}.smart-quality-grid strong{font-size:.84rem;margin-top:4px}.smart-hazard-source-grid{grid-template-columns:1fr}.smart-source-card{padding:16px 17px}.smart-buoy-map:fullscreen,.smart-map-card:fullscreen{background:#fff;padding:16px}.smart-buoy-map:fullscreen,.smart-map-card:fullscreen .smart-buoy-map{height:calc(100vh - 120px)}@keyframes smartWaveMove{0%{transform:translateX(0) translateY(0)}50%{transform:translateX(-3%) translateY(-6px)}100%{transform:translateX(0) translateY(0)}}@keyframes smartSweep{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.platform-settings-inline{display:grid;grid-template-columns:minmax(260px,2.3fr) repeat(4,minmax(130px,.7fr));gap:12px;align-items:end}.platform-settings-inline .field{margin:0}.platform-settings-inline .field:last-child{grid-column:1/-1}
.device-code-stack strong{max-width:132px}.device-code-stack small{max-width:140px;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1400px){.smart-operation-grid{grid-template-columns:1fr}.smart-map-side-stack{grid-template-columns:1fr 1fr}.compact-smart-head>div p{white-space:normal}.platform-settings-inline{grid-template-columns:1fr 1fr 1fr}.platform-settings-inline .field:first-child{grid-column:1/-1}.platform-settings-inline .field:last-child{grid-column:1/-1}}
@media(max-width:880px){.smart-map-priority .smart-buoy-map{height:430px}.smart-map-side-stack{grid-template-columns:1fr}.smart-quality-grid{grid-template-columns:1fr 1fr}.smart-toolbar-group{align-items:flex-start}.platform-settings-inline{grid-template-columns:1fr 1fr}.platform-settings-inline .field:first-child,.platform-settings-inline .field:last-child{grid-column:1/-1}}
@media(max-width:560px){.smart-chip{font-size:.58rem;padding:5px 8px}.smart-quality-grid{grid-template-columns:1fr}.compact-smart-commandbar .actions{width:100%}.compact-smart-commandbar .actions .btn{flex:1}.smart-map-priority .smart-buoy-map{height:340px}.smart-demo-video{height:260px}.compact-smart-head>div p{font-size:.84rem}}
.table-link-button{background:none;border:0;padding:0;margin:0;color:#0f8b8d;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:2px}.table-link-button:hover{color:#0a6574}.device-firmware-log{display:grid;gap:8px;margin-top:12px}.device-firmware-log>div{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:9px 11px;border:1px solid #dfe8ec;border-radius:12px;background:#f8fbfc}.device-firmware-log span{font-size:.7rem;font-weight:800;color:#0f8b8d}.device-firmware-log small{color:#708090}.firmware-status-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:6px 0 14px}.firmware-status-strip>div{padding:11px 12px;border-radius:12px;background:#f7fbfc;border:1px solid #dde8ec}.firmware-status-strip span,.firmware-status-strip strong{display:block}.firmware-status-strip span{font-size:.62rem;color:#708195;font-weight:850}.firmware-status-strip strong{margin-top:4px}.firmware-modal{max-width:920px}

/* v1.16.2 — Smart Buoy dense 3-column operations workspace */
.portfolio-content:has(.smart-buoy-head){width:min(1780px,calc(100% - 18px));padding:12px 0 28px}
.project-page-head.smart-buoy-head.ultra-compact{padding:4px 4px 8px;margin:0;align-items:center}
.project-page-head.smart-buoy-head.ultra-compact h1{font-size:2rem;margin:4px 0 2px}
.project-page-head.smart-buoy-head.ultra-compact p{font-size:.78rem;line-height:1.25;white-space:nowrap;max-width:none;overflow:hidden;text-overflow:ellipsis}
.smart-buoy-commandbar.ultra-compact{padding:9px 12px;margin:0 0 9px;border-radius:13px;min-height:0}
.smart-buoy-commandbar.ultra-compact strong{font-size:.91rem}.smart-buoy-commandbar.ultra-compact small{font-size:.59rem}.smart-buoy-commandbar.ultra-compact .actions{gap:5px}.smart-buoy-commandbar.ultra-compact .btn{padding:7px 9px;font-size:.65rem}
.smart-buoy-kpi-grid.compact-smart-kpis{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:9px}.smart-buoy-kpi-grid.compact-smart-kpis .project-kpi{padding:10px 11px;border-radius:13px;gap:8px}.smart-buoy-kpi-grid.compact-smart-kpis .project-kpi>span{width:34px;height:34px;border-radius:10px;font-size:1rem}.smart-buoy-kpi-grid.compact-smart-kpis .project-kpi strong{font-size:.96rem}.smart-buoy-kpi-grid.compact-smart-kpis .project-kpi small{font-size:.57rem}.smart-buoy-kpi-grid.compact-smart-kpis .project-kpi em{font-size:.53rem}
.smart-primary-three{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr) minmax(0,.92fr);gap:9px;margin-bottom:9px;align-items:stretch}.smart-primary-card,.smart-side-card,.smart-secondary-grid>.card{padding:12px;border-radius:15px;min-width:0}.smart-primary-card .card-title,.smart-side-card .card-title,.compact-card .card-title{margin-bottom:8px}.card-title.compact h2{font-size:1rem;margin:0}.card-title.compact p{margin:2px 0 0;font-size:.58rem;line-height:1.3}.smart-primary-side{display:grid;grid-template-rows:minmax(0,.8fr) minmax(0,1.2fr);gap:9px;min-width:0}.smart-side-card{overflow:hidden}.smart-fleet-list.compact{max-height:270px}.smart-hazard-list.compact{max-height:190px;overflow:auto}.smart-hazard-list.compact .smart-hazard-row{width:100%;border:1px solid #e3eaf0;text-align:left;cursor:pointer}.smart-hazard-list.compact .smart-hazard-row:hover{border-color:#94c8d2;background:#f3fbfb}
.smart-map-wrap{position:relative}.smart-map-priority,.smart-map-card{min-width:0}.smart-map-card .smart-buoy-map{height:510px;border-radius:12px}.smart-camera-frame.tall{height:510px;min-height:510px}.smart-camera-frame.tall .smart-buoy-camera-image,.smart-camera-frame.tall .smart-demo-video{height:510px}.smart-camera-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:8px}.smart-camera-metrics span{padding:6px 7px;border-radius:9px;background:#f5f9fb;border:1px solid #e1e8ed;font-size:.56rem;color:#718195}.smart-camera-metrics b{color:#10243c;display:block;margin-top:2px;font-size:.66rem}
.smart-map-fab-stack{position:absolute;z-index:650;left:10px;top:10px;display:flex;flex-direction:column;gap:5px}.smart-map-fab-stack button{width:36px;height:36px;border:1px solid rgba(255,255,255,.22);border-radius:10px;background:rgba(9,30,48,.92);color:#eefaff;display:grid;place-items:center;font-size:.82rem;font-weight:900;cursor:pointer;box-shadow:0 5px 14px rgba(0,0,0,.22);backdrop-filter:blur(8px)}.smart-map-fab-stack button:hover,.smart-map-fab-stack button.active{background:#0b91a0;color:#fff;border-color:#5eead4}.smart-map-statusbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:7px 2px 0;font-size:.55rem;color:#708296}.smart-map-statusbar span{display:flex;gap:5px;align-items:center}.smart-map-statusbar i{width:8px;height:8px;border-radius:50%;display:inline-block}
.smart-map-drawer{position:absolute;z-index:700;left:52px;top:10px;width:min(320px,calc(100% - 70px));max-height:485px;overflow:auto;padding:12px;border-radius:14px;background:rgba(7,24,39,.97);color:#eefaff;border:1px solid rgba(94,234,212,.24);box-shadow:0 22px 55px rgba(0,0,0,.38);transform:translateX(-10px);opacity:0;pointer-events:none;transition:.18s ease}.smart-map-drawer.open{transform:none;opacity:1;pointer-events:auto}.smart-drawer-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding-bottom:8px;border-bottom:1px solid rgba(255,255,255,.11)}.smart-drawer-head strong,.smart-drawer-head small{display:block}.smart-drawer-head strong{font-size:.8rem}.smart-drawer-head small{font-size:.54rem;color:#9ec2d1;margin-top:2px}.smart-drawer-head button{width:28px;height:28px;border-radius:8px;border:1px solid rgba(255,255,255,.14);background:#102b42;color:#fff;cursor:pointer}.smart-map-drawer section{padding:9px 0;border-bottom:1px solid rgba(255,255,255,.08)}.smart-map-drawer section:last-child{border-bottom:0}.smart-map-drawer h4{font-size:.61rem;text-transform:uppercase;letter-spacing:.08em;color:#70dfe1;margin:0 0 7px}.smart-layer-option{display:grid;grid-template-columns:18px 28px 1fr;gap:6px;align-items:center;padding:5px 3px;cursor:pointer}.smart-layer-option.compact{grid-template-columns:18px 1fr}.smart-layer-option input{accent-color:#14b8a6}.smart-layer-option span strong,.smart-layer-option span small{display:block}.smart-layer-option span strong{font-size:.65rem}.smart-layer-option span small{font-size:.51rem;color:#8fb0c1;margin-top:1px}.smart-layer-icon{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#11344e}.smart-base-switch{display:flex;gap:5px}.smart-base-switch button{border:1px solid rgba(255,255,255,.15);background:#102b42;color:#b8d4df;border-radius:999px;padding:5px 9px;font-size:.58rem;font-weight:850;cursor:pointer}.smart-base-switch button.active{background:#0f9c9b;color:#fff;border-color:#2dd4bf}.smart-module-check-grid{display:grid;grid-template-columns:1fr 1fr;gap:2px 7px}
.smart-weather-value-wrap,.smart-vector-wrap{background:transparent!important;border:0!important}.smart-weather-value{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:20px;padding:0 5px;border-radius:999px;background:rgba(7,24,39,.82);color:white;font-size:.55rem;font-weight:900;border:1px solid rgba(255,255,255,.25);box-shadow:0 3px 9px rgba(0,0,0,.18)}.smart-vector-wrap{text-align:center}.smart-vector{font-size:1.08rem;font-weight:950;transform-origin:50% 50%}.smart-vector.wind{color:#0f766e;text-shadow:0 1px 2px white}.smart-vector.current{color:#ea580c;text-shadow:0 1px 2px white}.smart-vector-wrap small{display:block;font-size:.47rem;background:rgba(255,255,255,.88);border-radius:5px;padding:1px 3px;color:#1e293b;width:max-content;margin:auto}
.smart-secondary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:9px;align-items:start}.smart-secondary-grid>.card{margin:0!important}.smart-secondary-grid .smart-compare-row{padding:6px 0;font-size:.61rem}.smart-secondary-grid .smart-compare-head{font-size:.54rem}.risk-score.compact{padding:10px;margin:6px 0}.risk-score.compact strong{font-size:1.4rem}.risk-score.compact small{font-size:.52rem}.marine-risk-metrics.compact{grid-template-columns:repeat(3,1fr);gap:5px}.marine-risk-metrics.compact>div{padding:7px}.marine-risk-metrics.compact span{font-size:.52rem}.marine-risk-metrics.compact strong{font-size:.67rem}.marine-forecast-strip.compact{gap:5px;overflow:hidden}.marine-forecast-strip.compact .marine-forecast-item{min-width:0;padding:7px 5px}.marine-forecast-strip.compact time{font-size:.54rem}.marine-forecast-strip.compact strong{font-size:.66rem}.marine-forecast-strip.compact span{font-size:.47rem}.marine-forecast-strip.compact em{font-size:.48rem}.smart-risk-chart.mini{height:82px!important;margin-top:4px}.current-gauge.compact{grid-template-columns:120px 1fr;padding:5px;gap:8px}.current-gauge.compact .current-compass{width:108px;height:108px}.current-gauge.compact .current-compass small{top:68px}.current-gauge.compact .current-reading strong{font-size:1.4rem}.smart-quality-grid.compact{grid-template-columns:repeat(3,1fr);gap:5px;margin-top:8px}.smart-quality-grid.compact>div{padding:7px}.smart-quality-grid.compact span{font-size:.5rem}.smart-quality-grid.compact strong{font-size:.67rem}.smart-network-grid.compact{grid-template-columns:repeat(3,1fr);gap:5px}.smart-network-grid.compact>div{padding:8px!important}.smart-source-grid.compact{grid-template-columns:1fr 1fr;gap:0 8px}.smart-data-attribution{display:flex;gap:8px;flex-wrap:wrap;font-size:.5rem;margin-top:7px;color:#7b8b9d}
.smart-map-card:fullscreen{padding:10px;background:#061626}.smart-map-card:fullscreen .smart-buoy-map{height:calc(100vh - 86px)}.smart-map-card:fullscreen .smart-map-statusbar{color:#d9edf7}.smart-map-card:fullscreen .card-title{color:#fff}.smart-map-card:fullscreen .card-title .muted{color:#aac9d7}
@media(max-width:1450px){.smart-primary-three{grid-template-columns:1.2fr 1fr}.smart-primary-side{grid-column:1/-1;grid-template-columns:1fr 1fr;grid-template-rows:auto}.smart-primary-side .smart-side-card{min-height:0}.smart-buoy-kpi-grid.compact-smart-kpis{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1050px){.smart-primary-three,.smart-secondary-grid{grid-template-columns:1fr}.smart-primary-side{grid-template-columns:1fr 1fr}.smart-camera-frame.tall,.smart-camera-frame.tall .smart-buoy-camera-image,.smart-camera-frame.tall .smart-demo-video{height:390px}.smart-map-card .smart-buoy-map{height:430px}}
@media(max-width:700px){.portfolio-content:has(.smart-buoy-head){width:calc(100% - 10px)}.project-page-head.smart-buoy-head.ultra-compact p{white-space:normal}.smart-primary-side{grid-template-columns:1fr}.smart-buoy-kpi-grid.compact-smart-kpis{grid-template-columns:repeat(2,1fr)}.smart-camera-metrics{grid-template-columns:1fr 1fr}.smart-map-card .smart-buoy-map{height:360px}.smart-map-drawer{left:50px;width:calc(100% - 62px)}.smart-module-check-grid{grid-template-columns:1fr}}

/* v1.17.0 — marine weather map layers, radar playback, seamarks */
.smart-radar-player{display:grid;grid-template-columns:32px 32px 32px 1fr;gap:5px;align-items:center;margin-top:8px;padding-top:8px;border-top:1px solid rgba(255,255,255,.08)}.smart-radar-player button{width:32px;height:29px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:#102b42;color:#fff;cursor:pointer;font-size:.62rem}.smart-radar-player button:hover{background:#0f8b8d}.smart-radar-player span{text-align:right;font-size:.55rem;color:#9ec2d1}.smart-weather-legend{position:absolute;z-index:640;right:10px;bottom:10px;width:170px;padding:8px 9px;border-radius:11px;background:rgba(7,24,39,.88);color:#eefaff;border:1px solid rgba(255,255,255,.14);box-shadow:0 8px 22px rgba(0,0,0,.22);backdrop-filter:blur(8px);display:grid;grid-template-columns:repeat(3,1fr);gap:4px}.smart-weather-legend strong{grid-column:1/-1;font-size:.58rem}.smart-weather-legend i{grid-column:1/-1;height:7px;border-radius:999px;background:linear-gradient(90deg,#2563eb,#22c55e,#eab308,#f97316,#dc2626)}.smart-weather-legend.rain i{background:linear-gradient(90deg,#bae6fd,#38bdf8,#2563eb,#7e22ce)}.smart-weather-legend.cloud i{background:linear-gradient(90deg,#e2e8f0,#94a3b8,#475569)}.smart-weather-legend.waves i{background:linear-gradient(90deg,#22d3ee,#0ea5e9,#2563eb,#7c3aed)}.smart-weather-legend.fog i{background:linear-gradient(90deg,#e2e8f0,#94a3b8,#475569)}.smart-weather-legend.current i{background:linear-gradient(90deg,#2dd4bf,#0d9488,#ea580c)}.smart-weather-legend span{font-size:.49rem;color:#c5dce6;text-align:center}.smart-map-fab-stack button[title='Deniz işaretleri']{font-size:.9rem}

/* v1.18.0 — maritime intelligence + superinno command center */
.smart-maritime-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:9px;margin-bottom:9px}.smart-maritime-card,.smart-maritime-grid>.card{padding:12px;border-radius:15px;min-width:0}.smart-maritime-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-bottom:8px}.smart-maritime-summary>div{padding:8px;border-radius:10px;background:#f6fafb;border:1px solid #e0e9ed}.smart-maritime-summary span,.smart-maritime-summary strong{display:block}.smart-maritime-summary span{font-size:.52rem;color:#718194;font-weight:850}.smart-maritime-summary strong{font-size:.79rem;margin-top:3px}.smart-ais-list{display:grid;gap:5px}.smart-ais-list>button{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;align-items:center;width:100%;padding:7px 8px;border-radius:10px;border:1px solid #e2e8f0;background:#f8fbfc;text-align:left;color:#10243c;cursor:pointer}.smart-ais-list>button:hover{border-color:#7dd3fc;background:#f0f9ff}.smart-ais-list>button.ais-warning{border-color:#fed7aa;background:#fffaf3}.smart-ais-list>button.ais-danger{border-color:#fecaca;background:#fff5f5}.smart-ais-ship{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#e8f5f5}.smart-ais-list strong,.smart-ais-list small{display:block}.smart-ais-list strong{font-size:.68rem}.smart-ais-list small{font-size:.52rem;color:#7b8b9a;margin-top:2px}.smart-cpa{text-align:right}.smart-cpa b{display:block;font-size:.61rem}.smart-cpa small{font-size:.49rem}.smart-drift-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:8px}.smart-drift-strip span{display:flex;flex-direction:column;padding:7px;border-radius:9px;background:#f5f3ff;border:1px solid #ddd6fe;font-size:.53rem;color:#6d5c8c}.smart-drift-strip b{font-size:.6rem;color:#6d28d9;margin-bottom:2px}.smart-demo-disclaimer{display:block;margin-top:7px;font-size:.49rem!important}.smart-ais-marker-wrap{background:transparent!important;border:0!important}.smart-ais-marker{width:28px;height:28px;display:grid;place-items:center;color:#2563eb;font-size:1rem;filter:drop-shadow(0 2px 3px rgba(0,0,0,.25));transform-origin:50% 50%}.smart-ais-marker.warning{color:#f59e0b}.smart-ais-marker.danger{color:#dc2626;animation:aisPulse 1.15s infinite}@keyframes aisPulse{50%{filter:drop-shadow(0 0 8px rgba(220,38,38,.7))}}
.superinno-head{padding-top:10px}.superinno-head-actions{display:flex;gap:8px;align-items:center}.superinno-head-actions .select{width:110px;min-width:110px;background:rgba(255,255,255,.96)}.superinno-summary{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.superinno-summary .project-kpi{padding:12px}.superinno-grid{display:grid;gap:9px;margin-bottom:9px}.superinno-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.superinno-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.superinno-grid>.card{padding:12px;border-radius:15px;min-width:0}.super-live-list{display:grid;gap:6px;max-height:280px;overflow:auto}.super-live-list>div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:7px;align-items:center;padding:7px;border-bottom:1px solid #e8eef2}.super-live-list .pulse{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px #d1fae5}.super-live-list strong,.super-live-list small{display:block}.super-live-list strong{font-size:.67rem}.super-live-list small,.super-live-list time{font-size:.5rem;color:#7a8a9b}.super-project-bars{display:grid;gap:7px}.super-project-bar{display:grid;grid-template-columns:110px 1fr 28px;gap:7px;align-items:center;font-size:.58rem}.super-project-bar>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.super-project-bar i{height:7px;border-radius:999px;background:#e5edf1;overflow:hidden}.super-project-bar i b{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0891b2,#14b8a6)}.super-project-bar strong{text-align:right}.super-funnel{display:flex;flex-direction:column;align-items:center;gap:4px}.super-funnel>div{min-width:28%;height:28px;display:flex;align-items:center;justify-content:space-between;padding:0 9px;border-radius:7px;background:linear-gradient(90deg,#0f8b8d,#22c3b6);color:#fff;font-size:.54rem;transition:.15s}.super-funnel>div:nth-child(2n){background:linear-gradient(90deg,#2563eb,#0ea5e9)}.super-funnel b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.super-mini-chart{height:170px;display:flex;align-items:flex-end;gap:5px;padding:8px 2px 0}.super-mini-bar{flex:1;min-width:0;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:3px}.super-mini-bar i{width:min(18px,72%);min-height:2px;border-radius:4px 4px 1px 1px;background:linear-gradient(#0ea5e9,#14b8a6)}.super-mini-bar span{font-size:.45rem;color:#718194;transform:rotate(-35deg);transform-origin:center}.super-mini-bar small{font-size:.43rem;color:#94a3b8}.super-mini-chart.hours{gap:2px}.super-mini-chart.hours .super-mini-bar i{width:65%;background:linear-gradient(#6366f1,#0ea5e9)}.super-mini-chart.hours .super-mini-bar span{transform:none;font-size:.4rem}.super-org-list{display:grid;gap:5px}.super-org-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;padding:7px;border-bottom:1px solid #e8eef2}.super-org-list strong{font-size:.65rem}.super-org-list span{font-size:.5rem;color:#7a8a9b}.super-org-list b{grid-column:2;grid-row:1/3;align-self:center;font-size:.54rem;color:#0f8b8d}
@media(max-width:1250px){.smart-maritime-grid{grid-template-columns:1fr}.superinno-grid.three{grid-template-columns:1fr 1fr}.superinno-summary{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.smart-maritime-summary{grid-template-columns:1fr 1fr}.smart-drift-strip{grid-template-columns:1fr 1fr 1fr}.superinno-grid.three,.superinno-grid.two{grid-template-columns:1fr}.superinno-summary{grid-template-columns:1fr 1fr}.superinno-head-actions{width:100%;justify-content:space-between}}
.smart-mode-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.smart-mode-option{position:relative;display:grid;grid-template-columns:26px 1fr;gap:6px;align-items:center;padding:7px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#102b42;cursor:pointer}.smart-mode-option input{position:absolute;opacity:0;pointer-events:none}.smart-mode-option>span{width:25px;height:25px;display:grid;place-items:center;border-radius:8px;background:#173d5a;color:#9cc9d8}.smart-mode-option strong{font-size:.55rem;color:#b8d4df}.smart-mode-option.active{background:#0f6f78;border-color:#2dd4bf}.smart-mode-option.active>span{background:#0f9c9b;color:#fff}.smart-mode-option.active strong{color:#fff}@media(max-width:520px){.smart-mode-grid{grid-template-columns:1fr 1fr}}
/* v1.18 meteo intelligence */
.smart-storm-marker-wrap{background:transparent!important;border:0!important}.smart-storm-marker{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:rgba(245,158,11,.92);color:#fff;border:2px solid rgba(255,255,255,.94);box-shadow:0 6px 16px rgba(15,23,42,.24);font-size:1rem;animation:stormGlow 1.9s ease-in-out infinite}.smart-storm-marker.severe{background:rgba(220,38,38,.95);animation-duration:1.1s}@keyframes stormGlow{0%,100%{box-shadow:0 0 0 0 rgba(245,158,11,.28),0 6px 16px rgba(15,23,42,.24)}50%{box-shadow:0 0 0 9px rgba(245,158,11,0),0 6px 16px rgba(15,23,42,.24)}}
.smart-weather-value.pressure{background:#eef2ff;color:#4338ca}.smart-weather-value.seaTemperature{background:#ecfeff;color:#0e7490}.smart-weather-value.airQuality{background:#f0fdf4;color:#166534}

/* v1.19.0 — Alert & Mission Command */
.smart-advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}.smart-ops-card{padding:13px;border-radius:16px;min-width:0}.smart-rule-grid,.smart-command-list,.smart-incident-list{display:grid;gap:6px}.smart-rule{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;padding:8px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0}.smart-rule>span{color:#f59e0b}.smart-rule div strong,.smart-rule div small{display:block}.smart-rule div strong{font-size:.68rem}.smart-rule div small{font-size:.56rem;color:#708090}.smart-rule em{font-style:normal;font-size:.58rem;font-weight:850;color:#0f8b8d}.smart-command-list>div{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding:8px;border-bottom:1px solid #e6edf2;font-size:.62rem}.smart-command-list span{font-weight:850;color:#0f8b8d}.smart-incident-list button{display:grid;grid-template-columns:auto 1fr;gap:8px;text-align:left;padding:8px;border-radius:10px;border:1px solid #e2e8f0;background:#fff;cursor:pointer}.smart-incident-list button.critical{border-color:#fecaca;background:#fff7f7}.smart-incident-list strong,.smart-incident-list small{display:block}.smart-incident-list strong{font-size:.68rem}.smart-incident-list small{font-size:.56rem;color:#708090}@media(max-width:1050px){.smart-advanced-grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){.smart-advanced-grid{grid-template-columns:1fr}}

/* v1.20.0 — Ocean Analytics */
.smart-analytics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0}.smart-analytics-card{padding:13px;min-width:0}.smart-trend-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.smart-trend-row>div{padding:9px;border:1px solid #e2e8f0;border-radius:11px;overflow:hidden}.smart-trend-row span,.smart-trend-row strong{display:block}.smart-trend-row span{font-size:.58rem;color:#708090}.smart-trend-row strong{font-size:.86rem;margin:2px 0}.smart-spark{width:100%;height:34px;color:#0f8b8d}.wave-spectrum{height:90px;display:flex;align-items:end;gap:5px;padding:8px;border-radius:12px;background:linear-gradient(180deg,#f8fbfc,#eef7f8)}.wave-spectrum i{flex:1;min-height:5px;background:linear-gradient(180deg,#22d3ee,#0f8b8d);border-radius:5px 5px 1px 1px}.smart-spectrum-meta{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.smart-spectrum-meta span{font-size:.59rem;padding:5px 7px;background:#f8fafc;border-radius:8px}.direction-rose{width:112px;height:112px;border-radius:50%;margin:3px auto;display:grid;place-items:center;position:relative;background:repeating-conic-gradient(#e2e8f0 0 2deg,transparent 2deg 45deg),radial-gradient(circle,#fff 0 54%,#edf7f8 55% 100%)}.direction-rose i{position:absolute;width:3px;height:47px;background:#0f8b8d;transform-origin:50% 47px;top:9px}.direction-rose b{font-size:1.2rem}.direction-rose span{position:absolute;bottom:20px;font-size:.52rem;color:#708090;font-weight:900}@media(max-width:980px){.smart-analytics-grid{grid-template-columns:1fr 1fr}}@media(max-width:650px){.smart-analytics-grid,.smart-trend-row{grid-template-columns:1fr}}
/* v1.21.0 — Fleet Reliability */
.smart-reliability-grid{display:grid;grid-template-columns:1fr 2fr;gap:10px;margin:10px 0}.smart-reliability-card{padding:13px}.smart-reliability-card.span-2{min-width:0}.reliability-gauge{display:grid;place-items:center;position:relative;width:126px;height:126px;margin:4px auto}.reliability-gauge i{position:absolute;inset:0;border-radius:50%;background:conic-gradient(#0f8b8d calc(var(--score)*1%),#e6eef2 0);mask:radial-gradient(circle,transparent 54%,#000 55%)}.reliability-gauge div{text-align:center}.reliability-gauge strong{display:block;font-size:1.55rem}.reliability-gauge span{font-size:.55rem;color:#718095;font-weight:900}.reliability-mini{display:grid;gap:6px}.reliability-mini span{display:flex;justify-content:space-between;gap:8px;font-size:.62rem;padding:6px 0;border-top:1px solid #e7edf1}.fleet-health-list{display:grid;gap:6px}.fleet-health-row{display:grid;grid-template-columns:minmax(160px,1.4fr) 70px 90px 110px;gap:8px;align-items:center;padding:8px 9px;border:1px solid #e3eaf0;border-radius:10px}.fleet-health-row strong,.fleet-health-row small{display:block}.fleet-health-row small{font-size:.56rem;color:#718095}.fleet-health-row>b{font-size:.68rem}.health-good{color:#059669}.health-warn{color:#d97706}.health-bad{color:#dc2626}.fleet-health-row>span{font-size:.59rem;color:#66758a}@media(max-width:920px){.smart-reliability-grid{grid-template-columns:1fr}.fleet-health-row{grid-template-columns:1fr 60px 80px 95px}}@media(max-width:600px){.fleet-health-row{grid-template-columns:1fr auto}.fleet-health-row>span{display:none}}
/* v1.22.0 — Incident Replay */
.smart-replay-grid{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin:10px 0}.smart-replay-card{padding:13px;min-width:0}.replay-timeline{height:52px;position:relative;margin:8px 4px 4px;border-bottom:3px solid #cbd5e1}.replay-timeline>div{position:absolute;bottom:-6px;transform:translateX(-50%);text-align:center}.replay-timeline i{display:block;width:10px;height:10px;border-radius:50%;background:#0f8b8d;border:2px solid #fff;box-shadow:0 0 0 2px #0f8b8d;margin:auto}.replay-timeline span{display:block;font-size:.5rem;color:#64748b;margin-top:4px}.replay-metrics{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:14px}.replay-metrics span{font-size:.56rem;padding:6px;background:#f8fafc;border-radius:8px}.replay-event-list{display:grid;gap:7px}.replay-event-list>div{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center}.replay-event-list>div>span{width:9px;height:9px;border-radius:50%;background:#94a3b8}.replay-event-list>div>span.warning{background:#f59e0b}.replay-event-list>div>span.critical{background:#dc2626}.replay-event-list strong,.replay-event-list small{display:block}.replay-event-list strong{font-size:.66rem}.replay-event-list small{font-size:.55rem;color:#718095}@media(max-width:860px){.smart-replay-grid{grid-template-columns:1fr}.replay-metrics{grid-template-columns:1fr}}
/* v1.23.0 — Spatial Intelligence */
.smart-spatial-grid{display:grid;grid-template-columns:1fr 2fr;gap:10px;margin:10px 0}.smart-spatial-card{padding:13px;min-width:0}.spatial-kpis{display:grid;grid-template-columns:1fr 1fr;gap:7px}.spatial-kpis>div{padding:9px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0}.spatial-kpis span,.spatial-kpis strong{display:block}.spatial-kpis span{font-size:.56rem;color:#718095}.spatial-kpis strong{font-size:.82rem;margin-top:3px}.spatial-table{display:grid;gap:4px}.spatial-table .head,.spatial-table button{display:grid;grid-template-columns:1.4fr repeat(4,.8fr);gap:8px;align-items:center}.spatial-table .head{padding:5px 8px;font-size:.56rem;color:#64748b}.spatial-table button{border:1px solid #e5edf1;background:#fff;border-radius:9px;padding:7px 8px;font-size:.6rem;text-align:left;cursor:pointer}.spatial-table button:hover{border-color:#0f8b8d;background:#f2fbfb}@media(max-width:900px){.smart-spatial-grid{grid-template-columns:1fr}.spatial-table{overflow:auto}.spatial-table .head,.spatial-table button{min-width:610px}}
/* v1.24.0 — Remote Configuration */
.smart-remote-grid{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin:10px 0}.smart-remote-card{padding:13px}.remote-form{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:9px}.remote-form label{font-size:.56rem;color:#64748b;font-weight:800}.remote-form select{display:block;width:100%;margin-top:4px;padding:7px;border:1px solid #dbe5ea;border-radius:9px;background:#fff}.remote-command-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.remote-command-grid button{border:1px solid #dce7ec;background:#f8fbfc;border-radius:9px;padding:9px;font-size:.62rem;font-weight:800;cursor:pointer}.remote-command-grid button:hover{border-color:#0f8b8d;color:#0f8b8d}@media(max-width:880px){.smart-remote-grid{grid-template-columns:1fr}.remote-form{grid-template-columns:1fr 1fr}}@media(max-width:520px){.remote-form,.remote-command-grid{grid-template-columns:1fr}}
/* v1.25.0 — Anchor Watch */
.smart-anchor-grid{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin:10px 0}.smart-anchor-card{padding:13px}.anchor-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.anchor-kpis>div{padding:8px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc}.anchor-kpis span,.anchor-kpis strong{display:block}.anchor-kpis span{font-size:.55rem;color:#718095}.anchor-kpis strong{font-size:.82rem;margin-top:3px}.anchor-track{height:16px;position:relative;margin:12px 4px 8px;background:linear-gradient(90deg,#d1fae5,#fef3c7,#fee2e2);border-radius:999px}.anchor-track i{position:absolute;top:-4px;width:4px;height:24px;background:#0f172a;border-radius:2px}.anchor-track span{position:absolute;top:18px;font-size:.52rem;color:#64748b}.anchor-track span:last-child{right:0}.mooring-health{display:grid;gap:7px}.mooring-health span{display:flex;justify-content:space-between;padding:8px;border-bottom:1px solid #e7edf1;font-size:.62rem}@media(max-width:850px){.smart-anchor-grid{grid-template-columns:1fr}.anchor-kpis{grid-template-columns:1fr 1fr}}
/* v1.26.0 — Operation Window */
.smart-window-grid{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin:10px 0}.smart-window-card{padding:13px;min-width:0}.window-strip{display:flex;gap:3px;height:72px;align-items:end;overflow:hidden}.window-strip>div{flex:1;min-width:10px;border-radius:5px 5px 2px 2px;height:52%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:3px 1px;color:#fff}.window-strip .go{background:#10b981;height:42%}.window-strip .caution{background:#f59e0b;height:64%}.window-strip .no-go{background:#dc2626;height:88%}.window-strip span{font-size:.42rem}.window-strip b{font-size:.55rem}.best-window{display:grid;gap:5px;padding:12px;border-radius:12px;background:#ecfdf5;border:1px solid #a7f3d0}.best-window strong{font-size:.82rem}.best-window span{font-size:.63rem;color:#54706a}.best-window b{font-size:1.15rem;color:#047857}.window-rules{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.window-rules span{font-size:.54rem;padding:5px 7px;background:#f8fafc;border-radius:8px}@media(max-width:850px){.smart-window-grid{grid-template-columns:1fr}}
/* v1.27.0 — Maritime Watch */
.smart-vessel-grid{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin:10px 0}.smart-vessel-card{padding:13px;min-width:0}.vessel-watch-list{display:grid;gap:5px}.vessel-watch-list button{display:grid;grid-template-columns:auto 1.2fr .8fr auto;gap:8px;align-items:center;border:1px solid #e3eaf0;background:#fff;border-radius:9px;padding:7px;text-align:left;cursor:pointer}.vessel-watch-list button.warning{border-color:#fde68a;background:#fffbeb}.vessel-watch-list button.critical{border-color:#fecaca;background:#fff7f7}.vessel-watch-list strong,.vessel-watch-list small{display:block}.vessel-watch-list small{font-size:.53rem;color:#718095}.vessel-watch-list em{font-style:normal;font-size:.52rem;font-weight:900;color:#64748b}.guard-zone-ring{width:116px;height:116px;margin:4px auto;position:relative;border:2px dashed #f59e0b;border-radius:50%;display:grid;place-items:center;text-align:center}.guard-zone-ring:before{content:'';position:absolute;inset:24px;border:2px dashed #dc2626;border-radius:50%}.guard-zone-ring b{font-size:1.5rem}.guard-zone-ring span{position:absolute;top:68px;font-size:.52rem;font-weight:900}.guard-zone-list{display:grid;gap:5px}.guard-zone-list span{display:flex;justify-content:space-between;font-size:.6rem;padding:5px 0;border-top:1px solid #edf2f5}@media(max-width:850px){.smart-vessel-grid{grid-template-columns:1fr}.vessel-watch-list button{grid-template-columns:auto 1fr auto}.vessel-watch-list em{display:none}}
/* v1.28.0 — Digital Twin & Data Confidence */
.smart-twin-grid{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin:10px 0}.smart-twin-card{padding:13px;min-width:0}.twin-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr;gap:6px;align-items:center}.twin-flow>div{padding:10px;border:1px solid #dfe8ec;border-radius:11px;background:linear-gradient(180deg,#fff,#f7fbfc)}.twin-flow>div span,.twin-flow>div b,.twin-flow>div small{display:block}.twin-flow>div span{font-size:.52rem;color:#0f8b8d;font-weight:900}.twin-flow>div b{font-size:.7rem;margin:2px 0}.twin-flow>div small{font-size:.51rem;color:#718095}.twin-flow>i{font-style:normal;color:#0f8b8d}.twin-bottom{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.twin-bottom span{font-size:.55rem;padding:5px 7px;background:#f8fafc;border-radius:8px}.confidence-score{text-align:center;padding:8px}.confidence-score strong{display:block;font-size:2rem;color:#0f8b8d}.confidence-score span{font-size:.55rem;font-weight:900;color:#718095}.confidence-checks{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-bottom:8px}.confidence-checks span{display:flex;gap:6px;align-items:center;font-size:.58rem;padding:6px;border-radius:8px;background:#f8fafc}.confidence-checks i{font-style:normal;width:18px;height:18px;border-radius:50%;display:grid;place-items:center}.confidence-checks .ok i{background:#d1fae5;color:#047857}.confidence-checks .bad i{background:#fee2e2;color:#b91c1c}.btn.full{width:100%}@media(max-width:980px){.smart-twin-grid{grid-template-columns:1fr}.twin-flow{grid-template-columns:1fr}.twin-flow>i{transform:rotate(90deg);text-align:center}}

/* v1.28.1 — Smart Buoy map clarity + fullscreen stability */
.smart-weather-surface{pointer-events:none;filter:saturate(1.08) contrast(.96)}
.smart-map-fab-stack{display:grid!important;grid-template-columns:36px 36px!important;grid-auto-rows:36px!important;gap:5px!important;max-height:none!important}
.smart-map-drawer{left:92px!important;max-height:min(500px,calc(100% - 20px))!important}
.smart-map-card .leaflet-control-zoom{border:0!important;box-shadow:0 5px 14px rgba(0,0,0,.18)!important}
.smart-map-card .leaflet-control-zoom a{background:rgba(255,255,255,.95)!important;color:#0f2638!important;border-color:#dbe7ed!important}
.smart-map-card .leaflet-control-attribution{background:rgba(255,255,255,.82)!important;border-radius:8px 0 0 0;font-size:9px!important}
.smart-map-card:fullscreen{width:100vw!important;height:100vh!important;box-sizing:border-box!important;border-radius:0!important;overflow:hidden!important}
.smart-map-card:fullscreen .smart-map-wrap{height:calc(100vh - 76px)!important}
.smart-map-card:fullscreen .smart-buoy-map{height:100%!important;min-height:0!important}
.smart-map-card:fullscreen .smart-map-fab-stack{top:12px!important;left:12px!important}
.smart-map-card:fullscreen .smart-map-drawer{top:12px!important;left:96px!important;max-height:calc(100vh - 24px)!important}
.smart-map-card:fullscreen .smart-weather-legend{right:12px!important;bottom:12px!important}
.smart-map-card:fullscreen .smart-map-statusbar{position:absolute;z-index:620;left:110px;bottom:14px;padding:6px 10px;border-radius:10px;background:rgba(7,24,39,.78);color:#e6f5fb!important;backdrop-filter:blur(8px);max-width:calc(100% - 310px)}
.smart-weather-value{box-shadow:0 2px 8px rgba(0,0,0,.16)!important}
.smart-vector-wrap small{box-shadow:0 2px 6px rgba(0,0,0,.12)}
@media(max-width:700px){.smart-map-fab-stack{grid-template-columns:34px!important;grid-auto-rows:34px!important}.smart-map-drawer{left:50px!important}.smart-map-card:fullscreen .smart-map-drawer{left:50px!important}.smart-map-card:fullscreen .smart-map-statusbar{left:52px;max-width:calc(100% - 64px);bottom:8px;gap:7px}}

/* v1.28.2 — professional map control center */
.smart-map-fab-stack.compact{grid-template-columns:36px!important;grid-auto-rows:36px!important;max-width:36px!important}.smart-map-hud{position:absolute;z-index:635;right:10px;top:10px;min-width:210px;max-width:280px;padding:9px 10px;border-radius:12px;background:rgba(7,24,39,.88);color:#eefaff;border:1px solid rgba(255,255,255,.14);box-shadow:0 8px 22px rgba(0,0,0,.22);backdrop-filter:blur(8px)}.smart-map-hud-main{display:grid;grid-template-columns:1fr auto;gap:1px 8px;align-items:end}.smart-map-hud-main span{grid-column:1/-1;font-size:.49rem;letter-spacing:.11em;color:#76dfe1;font-weight:900}.smart-map-hud-main strong{font-size:.72rem}.smart-map-hud-main em{font-size:.75rem;font-style:normal;font-weight:950;color:#fff}.smart-map-hud-metrics{display:grid;grid-template-columns:1fr 1fr;gap:4px 8px;margin-top:7px;padding-top:7px;border-top:1px solid rgba(255,255,255,.1)}.smart-map-hud-metrics span{font-size:.54rem;color:#bfd9e4}.smart-map-hud-metrics b{color:#fff}.smart-map-hud>small{display:block;margin-top:6px;font-size:.47rem;color:#8eb4c4;text-align:right}.smart-preset-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:5px}.smart-map-preset{display:grid;place-items:center;gap:3px;min-height:48px;padding:5px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#102b42;color:#bdd8e3;cursor:pointer}.smart-map-preset span{font-size:.9rem}.smart-map-preset strong{font-size:.54rem}.smart-map-preset.active,.smart-map-preset:hover{background:#0f8b8d;color:#fff;border-color:#5eead4}.smart-layer-two-col{display:grid;grid-template-columns:1fr 1fr;gap:0 7px}.smart-opacity-control{display:grid;gap:5px;margin-top:9px}.smart-opacity-control span{display:flex;justify-content:space-between;font-size:.55rem;color:#a8c8d5}.smart-opacity-control input{width:100%;accent-color:#14b8a6}.smart-map-drawer{width:min(390px,calc(100% - 70px))!important}.smart-map-drawer.open{overscroll-behavior:contain}.smart-weather-surface{mix-blend-mode:multiply}.smart-map-card:fullscreen .smart-map-hud{top:12px;right:12px}.smart-map-card:fullscreen .smart-map-fab-stack.compact{left:12px!important}.smart-map-card:fullscreen .smart-map-drawer{left:58px!important}.smart-map-card:fullscreen .smart-buoy-map{height:calc(100vh - 78px)!important}.smart-map-card:fullscreen .smart-map-statusbar{left:56px!important;max-width:calc(100% - 300px)!important}.smart-map-card:fullscreen .smart-weather-legend{right:12px!important;bottom:12px!important}
@media(max-width:900px){.smart-map-hud{min-width:185px;max-width:220px}.smart-layer-two-col{grid-template-columns:1fr}.smart-preset-grid{grid-template-columns:1fr 1fr}.smart-map-drawer{width:min(340px,calc(100% - 58px))!important}.smart-map-card:fullscreen .smart-map-statusbar{max-width:calc(100% - 70px)!important}}
@media(max-width:620px){.smart-map-hud{right:7px;top:7px;min-width:160px;max-width:180px;padding:7px}.smart-map-hud-metrics{grid-template-columns:1fr}.smart-map-hud-metrics span:nth-child(n+3){display:none}.smart-map-fab-stack.compact{left:7px!important;top:7px!important;grid-template-columns:34px!important;grid-auto-rows:34px!important;max-width:34px!important}.smart-map-drawer{left:47px!important;width:calc(100% - 54px)!important}.smart-map-card:fullscreen .smart-map-drawer{left:47px!important}.smart-map-card:fullscreen .smart-map-hud{right:7px;top:7px}.smart-map-card:fullscreen .smart-map-statusbar{left:48px!important;bottom:7px!important}}

/* v1.28.3 — dense three-column operations layout + selection sync polish */
.portfolio-content:has(.smart-buoy-head){width:min(1860px,calc(100% - 8px));padding-top:8px}
.smart-primary-three{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-bottom:7px!important;align-items:stretch!important}
.smart-primary-card,.smart-side-card,.smart-secondary-grid>.card{padding:10px!important;border-radius:14px!important}
.smart-primary-card .card-title,.smart-side-card .card-title,.compact-card .card-title{margin-bottom:6px!important}
.smart-map-card .smart-buoy-map{height:455px!important}
.smart-camera-frame.tall,.smart-camera-frame.tall .smart-buoy-camera-image,.smart-camera-frame.tall .smart-demo-video{height:455px!important;min-height:455px!important}
.smart-primary-side{grid-template-rows:1fr 1fr!important;gap:7px!important;min-height:0!important}
.smart-primary-side .smart-side-card{min-height:0!important;height:100%;display:flex;flex-direction:column}
.smart-primary-side .smart-hazard-list.compact,.smart-primary-side .smart-fleet-list.compact{max-height:none!important;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.smart-primary-side .smart-hazard-list.compact{flex:1}.smart-primary-side .smart-fleet-list.compact{flex:1}
.smart-primary-side .smart-fleet-filters.compact{margin-bottom:6px!important;flex:0 0 auto}
.smart-fleet-row{border-radius:10px!important}.smart-fleet-main{padding:7px 8px!important}.smart-fleet-main small{font-size:.52rem!important}.smart-fleet-icon{width:30px!important;height:30px!important}
.smart-hazard-row{padding:7px!important}.smart-hazard-row strong{font-size:.64rem!important}.smart-hazard-row small{font-size:.51rem!important}
.smart-camera-metrics{gap:4px!important;margin-top:6px!important}.smart-camera-metrics span{padding:5px 6px!important}
.smart-secondary-grid{gap:7px!important;margin-bottom:7px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.smart-maritime-grid,.smart-advanced-grid,.smart-analytics-grid,.smart-reliability-grid,.smart-replay-grid,.smart-spatial-grid,.smart-remote-grid,.smart-anchor-grid,.smart-vessel-grid,.smart-twin-grid{margin-top:7px!important;margin-bottom:7px!important;gap:7px!important}
.smart-map-fab-stack.compact{grid-template-columns:34px!important;grid-auto-rows:34px!important;max-width:34px!important;gap:4px!important}.smart-map-fab-stack button{width:34px!important;height:34px!important;border-radius:9px!important}
.smart-map-hud{min-width:205px!important;padding:8px 9px!important}.smart-map-hud-station{display:grid;grid-template-columns:8px auto 1fr;gap:5px;align-items:center;padding-bottom:6px;margin-bottom:6px;border-bottom:1px solid rgba(255,255,255,.11)}.smart-map-hud-station i{width:7px;height:7px;border-radius:50%;background:#2dd4bf;box-shadow:0 0 0 3px rgba(45,212,191,.16)}.smart-map-hud-station span{font-size:.45rem;letter-spacing:.08em;color:#8fb9c8;font-weight:900}.smart-map-hud-station strong{font-size:.57rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff;text-align:right}
.smart-map-statusbar{gap:8px!important;padding-top:5px!important}.smart-map-statusbar span{font-size:.52rem!important}
.smart-map-drawer{width:min(360px,calc(100% - 62px))!important;left:50px!important;top:8px!important;max-height:calc(100% - 16px)!important}
.smart-weather-legend{width:155px!important;padding:7px 8px!important;right:8px!important;bottom:8px!important}
.smart-buoy-commandbar.ultra-compact{padding:8px 10px!important;margin-bottom:7px!important}.smart-buoy-commandbar.ultra-compact small{font-size:.56rem!important}.smart-buoy-kpi-grid.compact-smart-kpis{gap:7px!important;margin-bottom:7px!important}.smart-buoy-kpi-grid.compact-smart-kpis .project-kpi{padding:9px!important}
@media(max-width:1220px){.smart-primary-three{grid-template-columns:1fr 1fr!important}.smart-primary-side{grid-column:1/-1;grid-template-columns:1fr 1fr!important;grid-template-rows:auto!important}.smart-primary-side .smart-side-card{max-height:300px}.smart-map-card .smart-buoy-map,.smart-camera-frame.tall,.smart-camera-frame.tall .smart-buoy-camera-image,.smart-camera-frame.tall .smart-demo-video{height:410px!important;min-height:410px!important}}
@media(max-width:820px){.smart-primary-three,.smart-secondary-grid{grid-template-columns:1fr!important}.smart-primary-side{grid-template-columns:1fr!important}.smart-map-card .smart-buoy-map,.smart-camera-frame.tall,.smart-camera-frame.tall .smart-buoy-camera-image,.smart-camera-frame.tall .smart-demo-video{height:360px!important;min-height:360px!important}.portfolio-content:has(.smart-buoy-head){width:calc(100% - 6px)}}

/* v1.28.13 — historical feature restoration + dense modular workspace */
.portfolio-content:has(.smart-buoy-head){width:min(1900px,calc(100% - 6px))!important}
.smart-map-fab-stack.restored{position:absolute;z-index:640;left:8px;top:8px;display:grid;grid-template-columns:34px 34px;grid-auto-rows:34px;gap:4px;max-height:calc(100% - 16px);overflow:auto;padding:4px;border-radius:13px;background:rgba(7,24,39,.72);border:1px solid rgba(255,255,255,.12);box-shadow:0 8px 22px rgba(0,0,0,.2);backdrop-filter:blur(7px);scrollbar-width:none}.smart-map-fab-stack.restored::-webkit-scrollbar{display:none}.smart-map-fab-stack.restored button{width:34px!important;height:34px!important;display:grid;place-items:center;border:1px solid rgba(168,210,224,.28);border-radius:9px;background:rgba(8,35,54,.9);color:#e7f8ff;cursor:pointer;font-size:.74rem;font-weight:900;box-shadow:0 3px 9px rgba(0,0,0,.12)}.smart-map-fab-stack.restored button:hover{background:#13415e;border-color:#6bd7de}.smart-map-fab-stack.restored button.active{background:#0f9c9b;border-color:#5eead4;color:#fff}.smart-map-fab-stack.restored .primary-tool{grid-column:1/-1;width:72px!important;background:#0d3048}.smart-map-drawer{left:88px!important}.smart-map-card:fullscreen .smart-map-fab-stack.restored{left:10px!important;top:10px!important;max-height:calc(100vh - 20px)}.smart-map-card:fullscreen .smart-map-drawer{left:92px!important}.smart-map-card:fullscreen .smart-map-statusbar{left:94px!important}.smart-drawer-help{margin:-2px 0 7px;font-size:.5rem;line-height:1.35;color:#8fb3c1}.smart-module-check-grid{grid-template-columns:1fr 1fr!important;gap:5px!important}

.smart-core-masonry{columns:3 420px;column-gap:7px;margin:0 0 7px}.smart-core-masonry>.card{display:inline-block;width:100%;box-sizing:border-box;margin:0 0 7px;padding:10px!important;border-radius:14px!important;break-inside:avoid;vertical-align:top}.smart-core-masonry .marine-future-card{overflow:hidden}.smart-core-masonry .marine-forecast-strip.compact{grid-template-columns:repeat(4,minmax(76px,1fr))!important;gap:4px!important}.smart-core-masonry .marine-forecast-item{padding:6px!important}.smart-core-masonry .smart-risk-chart.mini{height:72px!important;margin-top:4px!important}.smart-core-masonry .current-gauge.compact{padding:4px!important;gap:7px!important}.smart-core-masonry .current-gauge.compact .current-compass{width:112px!important;height:112px!important}.smart-core-masonry .current-reading strong{font-size:1.5rem!important}.smart-core-masonry .smart-maritime-card{margin-bottom:7px!important}.smart-core-masonry .smart-ais-list{max-height:190px;overflow:auto;scrollbar-width:thin}

.smart-feature-deck-head{display:flex;justify-content:space-between;gap:12px;align-items:end;padding:8px 10px;margin:5px 0 7px;border:1px solid rgba(111,180,205,.2);border-radius:13px;background:linear-gradient(135deg,rgba(8,145,178,.08),rgba(15,139,141,.05));color:#dff5ff}.smart-feature-deck-head h2{margin:1px 0 0;font-size:1rem}.smart-feature-deck-head p{margin:3px 0 0;color:#8fb3c1;max-width:880px}.smart-feature-masonry{columns:3 390px;column-gap:7px;margin-bottom:7px}.smart-feature-module{display:inline-block;width:100%;box-sizing:border-box;break-inside:avoid;margin:0 0 7px;border:1px solid rgba(124,175,198,.22);border-radius:13px;background:#f8fbfc;overflow:hidden;vertical-align:top}.smart-feature-module>summary{list-style:none;display:grid;grid-template-columns:30px minmax(0,1fr) 18px;gap:8px;align-items:center;padding:9px 10px;cursor:pointer;background:#fff}.smart-feature-module>summary::-webkit-details-marker{display:none}.smart-feature-module>summary:hover{background:#f1f8fa}.smart-feature-module>summary .smart-feature-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#e8f5f5;color:#0b7f81;font-weight:900}.smart-feature-module>summary strong,.smart-feature-module>summary small{display:block}.smart-feature-module>summary strong{font-size:.72rem;color:#13263b}.smart-feature-module>summary small{font-size:.52rem;line-height:1.3;color:#728397;margin-top:2px}.smart-feature-module>summary em{font-style:normal;color:#7890a0;transition:.15s}.smart-feature-module[open]>summary{border-bottom:1px solid #dfe9ed}.smart-feature-module[open]>summary em{transform:rotate(180deg)}.smart-feature-content{padding:7px;background:#f4f8fa}.smart-feature-content>section{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;margin:0!important}.smart-feature-content .span-2{grid-column:auto!important}.smart-feature-content .card{padding:9px!important;border-radius:11px!important;box-shadow:none!important}.smart-feature-content .card-title{margin-bottom:6px!important}.smart-feature-content h2{font-size:.82rem!important}.smart-feature-content .small{font-size:.52rem!important}.smart-feature-content .smart-trend-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}.smart-feature-content .fleet-health-row{grid-template-columns:minmax(0,1fr) auto auto!important}.smart-feature-content .twin-flow{overflow:auto}.smart-feature-content .window-strip{overflow:auto}.smart-feature-content .vessel-watch-list{max-height:260px;overflow:auto}.smart-feature-content .smart-incident-list,.smart-feature-content .smart-command-list,.smart-feature-content .fleet-health-list{max-height:240px;overflow:auto}

.smart-primary-three{gap:6px!important;margin-bottom:6px!important}.smart-primary-card,.smart-side-card{padding:9px!important}.smart-primary-side{gap:6px!important}.smart-buoy-kpi-grid.compact-smart-kpis{gap:6px!important;margin-bottom:6px!important}.smart-buoy-commandbar.ultra-compact{margin-bottom:6px!important}.smart-map-statusbar{min-height:20px;align-items:center}.smart-primary-side .smart-side-card{overflow:hidden}.smart-primary-side .smart-hazard-list.compact,.smart-primary-side .smart-fleet-list.compact{padding-right:2px}.smart-source-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}.smart-data-attribution{gap:5px!important;flex-wrap:wrap}.smart-data-attribution span{font-size:.48rem!important}.smart-secondary-grid{display:none!important}

@media(max-width:1380px){.smart-core-masonry{columns:2 380px}.smart-feature-masonry{columns:2 360px}.smart-map-fab-stack.restored{grid-template-columns:32px 32px;grid-auto-rows:32px}.smart-map-fab-stack.restored button{width:32px!important;height:32px!important}.smart-map-fab-stack.restored .primary-tool{width:68px!important}.smart-map-drawer{left:82px!important}}
@media(max-width:900px){.smart-core-masonry,.smart-feature-masonry{columns:1}.smart-feature-deck-head{align-items:flex-start;flex-direction:column}.smart-feature-deck-head .btn{width:100%}.smart-map-fab-stack.restored{grid-template-columns:32px;max-width:40px}.smart-map-fab-stack.restored .primary-tool{grid-column:auto;width:32px!important}.smart-map-drawer{left:48px!important}.smart-map-card:fullscreen .smart-map-drawer{left:48px!important}.smart-map-card:fullscreen .smart-map-statusbar{left:50px!important}.smart-map-hud{right:7px!important;max-width:180px!important}.smart-core-masonry .marine-forecast-strip.compact{grid-template-columns:repeat(2,minmax(72px,1fr))!important}}
@media(max-width:620px){.smart-map-fab-stack.restored{left:6px;top:6px;max-height:calc(100% - 12px)}.smart-map-fab-stack.restored button:nth-child(n+10):not(:last-child){display:none}.smart-map-drawer{left:45px!important;width:calc(100% - 52px)!important}.smart-module-check-grid{grid-template-columns:1fr!important}}

/* v1.28.13 — map control offset + fit-height primary cards + dense balanced core grid */
.smart-primary-card,.smart-side-card{display:flex;flex-direction:column;min-height:0}
.smart-map-card,.smart-camera-card{height:100%}
.smart-map-wrap{position:relative;display:flex;flex:1 1 auto;min-height:0}
.smart-map-card .smart-buoy-map{flex:1 1 auto;height:auto!important;min-height:565px!important}
.smart-camera-card{display:flex;flex-direction:column}
.smart-camera-frame.tall{display:grid;align-items:stretch;flex:1 1 auto;height:auto!important;min-height:565px!important}
.smart-camera-frame.tall .smart-buoy-camera-image,.smart-camera-frame.tall .smart-demo-video{height:100%!important;min-height:565px!important}
.smart-camera-metrics{margin-top:6px!important}

/* keep Leaflet zoom separate from the custom rail */
.smart-map-fab-stack.restored{left:54px!important;top:8px!important}
.smart-map-drawer{left:134px!important}
.smart-map-card:fullscreen .smart-map-fab-stack.restored{left:56px!important;top:10px!important}
.smart-map-card:fullscreen .smart-map-drawer{left:138px!important}
.smart-map-card:fullscreen .smart-map-statusbar{left:140px!important}

/* dense balanced lower workspace without large dead zones */
.smart-core-masonry{display:grid!important;columns:unset!important;grid-template-columns:repeat(12,minmax(0,1fr));gap:7px;align-items:start}
.smart-core-masonry>.card{display:flex!important;width:auto!important;box-sizing:border-box;margin:0!important;break-inside:auto!important;vertical-align:top;grid-column:span 4;min-height:0}
.smart-core-masonry .module-compare,.smart-core-masonry .module-risk,.smart-core-masonry .module-forecast,.smart-core-masonry .module-quality,.smart-core-masonry .module-network,.smart-core-masonry .smart-maritime-card{grid-column:span 4}
.smart-core-masonry .module-sources{grid-column:1 / -1}
.smart-core-masonry .module-sources .smart-source-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.smart-core-masonry .module-sources .smart-data-attribution{margin-top:10px!important}

/* slightly tighter right rail lists */
.smart-primary-side .smart-hazard-card,.smart-primary-side .smart-fleet-card{min-height:0}
.smart-primary-side .smart-hazard-list.compact{max-height:210px}
.smart-primary-side .smart-fleet-list.compact{max-height:320px}

@media(max-width:1480px){
  .smart-map-card .smart-buoy-map,.smart-camera-frame.tall,.smart-camera-frame.tall .smart-buoy-camera-image,.smart-camera-frame.tall .smart-demo-video{min-height:500px!important}
  .smart-core-masonry{grid-template-columns:repeat(8,minmax(0,1fr))!important}
  .smart-core-masonry>.card,.smart-core-masonry .module-compare,.smart-core-masonry .module-risk,.smart-core-masonry .module-forecast,.smart-core-masonry .module-quality,.smart-core-masonry .module-network,.smart-core-masonry .smart-maritime-card{grid-column:span 4}
  .smart-core-masonry .module-sources{grid-column:1 / -1}
}
@media(max-width:1180px){
  .smart-map-fab-stack.restored{left:50px!important}
  .smart-map-drawer{left:126px!important}
  .smart-core-masonry{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .smart-core-masonry>.card,.smart-core-masonry .module-compare,.smart-core-masonry .module-risk,.smart-core-masonry .module-forecast,.smart-core-masonry .module-quality,.smart-core-masonry .module-network,.smart-core-masonry .smart-maritime-card,.smart-core-masonry .module-sources{grid-column:span 1}
  .smart-core-masonry .module-sources .smart-source-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:820px){
  .smart-map-fab-stack.restored{left:46px!important}
  .smart-map-drawer,.smart-map-card:fullscreen .smart-map-drawer{left:44px!important;width:calc(100% - 50px)!important}
  .smart-map-card:fullscreen .smart-map-statusbar{left:46px!important}
  .smart-map-card .smart-buoy-map,.smart-camera-frame.tall,.smart-camera-frame.tall .smart-buoy-camera-image,.smart-camera-frame.tall .smart-demo-video{min-height:360px!important}
  .smart-core-masonry{grid-template-columns:1fr!important}
  .smart-core-masonry>.card,.smart-core-masonry .module-compare,.smart-core-masonry .module-risk,.smart-core-masonry .module-forecast,.smart-core-masonry .module-quality,.smart-core-masonry .module-network,.smart-core-masonry .smart-maritime-card,.smart-core-masonry .module-sources{grid-column:1 / -1}
}

/* v1.28.13 — balanced smart-buoy workspace + premium project center + account/settings polish */
/* Smart Buoy: restore natural vertical card flow; no squeezed horizontal content. */
.smart-core-masonry{display:none!important}
.smart-core-balanced{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-items:start;margin:0 0 7px}
.smart-core-column{display:grid;gap:7px;align-content:start;min-width:0}
.smart-core-column:empty{display:none}
.smart-core-balanced .card{display:block!important;min-width:0;width:100%;box-sizing:border-box;margin:0!important;padding:10px!important;border-radius:14px!important}
.smart-core-balanced .card-title{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:8px!important}
.smart-core-balanced .smart-compare-head,.smart-core-balanced .smart-compare-row{grid-template-columns:minmax(92px,1.25fr) repeat(3,minmax(62px,.7fr))!important;gap:5px!important}
.smart-core-balanced .smart-compare-head{padding:5px 2px!important}.smart-core-balanced .smart-compare-row{padding:7px 2px!important}
.smart-core-balanced .marine-risk-metrics.compact,.smart-core-balanced .smart-quality-grid.compact,.smart-core-balanced .smart-network-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.smart-core-balanced .marine-forecast-strip.compact{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:5px!important;overflow:visible!important;padding-bottom:4px!important}
.smart-core-balanced .marine-forecast-item{min-height:132px!important;padding:6px 4px!important}
.smart-core-balanced .smart-risk-chart.mini{display:block!important;width:100%!important;height:74px!important;margin-top:5px!important}
.smart-core-balanced .current-gauge.compact{grid-template-columns:118px minmax(0,1fr)!important;gap:8px!important;padding:4px!important}
.smart-core-balanced .smart-source-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 7px!important}
.smart-core-balanced .smart-maritime-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
.smart-core-balanced .smart-drift-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.smart-core-balanced .smart-ais-list{max-height:185px;overflow:auto;scrollbar-width:thin}
.smart-core-balanced .module-sources .smart-data-attribution{margin-top:6px!important}

/* Map controls: Leaflet zoom owns the first 42px; custom rail starts after it. */
.smart-map-fab-stack.restored{left:60px!important}
.smart-map-drawer{left:140px!important}
.smart-map-card:fullscreen .smart-map-fab-stack.restored{left:62px!important}
.smart-map-card:fullscreen .smart-map-drawer{left:144px!important}
.smart-map-card:fullscreen .smart-map-statusbar{left:146px!important}

/* Super / platform settings: five top fields stay on one row on normal desktop. */
.super-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;margin-bottom:12px!important}
.platform-settings-inline{grid-template-columns:minmax(300px,2.2fr) repeat(4,minmax(112px,.72fr))!important;gap:9px!important;align-items:end!important}
.platform-settings-inline .field:first-child,.platform-settings-inline .field:last-child{grid-column:auto!important}
.super-security-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:10px;margin-top:10px}
.super-password-inline{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:8px;align-items:end}.super-password-inline .field{margin:0}.super-password-inline .btn{height:42px;white-space:nowrap}
.super-timezone-inline{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}.super-security-card{min-width:0}

/* Portfolio home is theme-aware. Dark remains the default; light is a real alternative. */
.portfolio-top-actions{display:flex;align-items:center;gap:7px}.portfolio-settings-button{font-size:1rem!important}.portfolio-user{font-weight:800;font-size:.72rem;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portfolio-hero-premium{grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr)!important;align-items:stretch!important;padding:30px 32px!important}
.portfolio-hero-copy{display:flex;flex-direction:column;justify-content:center}.portfolio-hero-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:18px}.portfolio-hero-chips span{padding:7px 10px;border-radius:999px;border:1px solid rgba(114,217,222,.2);background:rgba(8,31,49,.32);font-size:.62rem;font-weight:800;color:#bfe7ef}
.portfolio-command-panel{display:grid;align-content:start;border:1px solid rgba(117,213,219,.2);border-radius:18px;padding:15px;background:linear-gradient(160deg,rgba(5,23,38,.72),rgba(13,53,67,.42));box-shadow:inset 0 1px rgba(255,255,255,.04)}
.portfolio-command-head,.portfolio-command-row,.portfolio-command-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.portfolio-command-head{padding-bottom:11px;border-bottom:1px solid rgba(255,255,255,.1)}.portfolio-command-head>span{font-size:.55rem;letter-spacing:.1em;font-weight:900;color:#8db4c4}.portfolio-command-head strong{font-size:.66rem;color:#9ef0bd}.portfolio-command-head i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#22c55e;margin-right:5px;box-shadow:0 0 0 4px rgba(34,197,94,.12)}
.portfolio-command-row{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:.67rem;color:#b9d1dd}.portfolio-command-row b{font-size:.58rem;letter-spacing:.06em;color:#8ff0bc}.portfolio-command-row b.demo{color:#fdba74}.portfolio-command-foot{padding-top:11px;font-size:.58rem;color:#8dafbf}.portfolio-command-foot strong{color:#e6f7ff}
.portfolio-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:22px 2px 10px}.portfolio-section-head h2{margin:3px 0 2px;font-size:1.25rem}.portfolio-section-head p{margin:0;color:#89aabd;font-size:.67rem}.portfolio-section-head>span{padding:6px 9px;border:1px solid rgba(125,211,252,.15);border-radius:999px;color:#9fc5d8;font-size:.58rem;font-weight:850}.portfolio-section-head .eyebrow{color:#5ad9dc;font-size:.57rem;letter-spacing:.13em;font-weight:950}
.portfolio-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.portfolio-feature-card{--project-accent:#14b8a6;position:relative;overflow:hidden;text-align:left;min-height:280px;padding:20px;border:1px solid rgba(148,197,224,.19);border-radius:20px;background:linear-gradient(150deg,rgba(255,255,255,.085),rgba(255,255,255,.025));color:#eefaff;cursor:pointer;box-shadow:0 18px 44px rgba(0,0,0,.11);transition:.18s ease}.portfolio-feature-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--project-accent) 58%,transparent);box-shadow:0 24px 55px rgba(0,0,0,.18)}.portfolio-feature-card.tone-teal{--project-accent:#14b8a6}.portfolio-feature-card.tone-orange{--project-accent:#f97316}.portfolio-feature-glow{position:absolute;width:260px;height:260px;border-radius:50%;right:-110px;top:-120px;background:color-mix(in srgb,var(--project-accent) 17%,transparent);filter:blur(2px)}.portfolio-project-icon.large{width:52px;height:52px}.portfolio-feature-index{position:absolute;right:18px;top:65px;font-size:4.3rem;font-weight:950;color:rgba(255,255,255,.035)}.portfolio-feature-kicker,.portfolio-catalog-long{display:block;margin-top:16px;color:#75a7bb;font-size:.57rem;font-weight:800}.portfolio-feature-card h2{margin:4px 0 6px;font-size:1.35rem;position:relative}.portfolio-feature-card p{margin:0;max-width:620px;color:#a9c7d5;font-size:.72rem;line-height:1.5;position:relative}.portfolio-capability-row{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}.portfolio-capability-row span{font-size:.55rem;font-weight:800;padding:5px 7px;border-radius:8px;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.08);color:#c8e3ec}.portfolio-feature-metrics{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}.portfolio-feature-metrics span{font-size:.55rem;color:#8fb1c0}.portfolio-feature-metrics b{color:#eefaff;font-size:.61rem}.portfolio-feature-footer{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:11px;border-top:1px solid rgba(255,255,255,.08);font-size:.66rem;font-weight:900}.portfolio-feature-footer b{font-size:1rem;color:var(--project-accent)}
.portfolio-project-grid.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.portfolio-project-card.compact{min-height:215px;padding:16px}.portfolio-project-card.compact h2{margin:6px 0 6px;font-size:1.03rem}.portfolio-project-card.compact p{min-height:52px;font-size:.68rem}.portfolio-project-card.compact .portfolio-open{margin-top:12px}.portfolio-project-card.compact .portfolio-project-number{font-size:3.7rem;bottom:26px}

:root[data-theme="light"] .portfolio-shell{background:linear-gradient(135deg,#eef5f8 0%,#e8f1f5 48%,#eaf7f6 100%);color:#10243a}
:root[data-theme="light"] .portfolio-topbar{background:rgba(248,252,253,.9);border-bottom-color:#d7e5eb;color:#13263b}
:root[data-theme="light"] .portfolio-brand small,:root[data-theme="light"] .portfolio-user{color:#597386}
:root[data-theme="light"] .portfolio-topbar .btn-secondary{background:#fff;color:#243a50;border-color:#d6e3e9}
:root[data-theme="light"] .portfolio-hero{border-color:#c9e0e8;background:radial-gradient(circle at 90% 8%,rgba(20,184,166,.12),transparent 35%),linear-gradient(135deg,#f8fcfd,#eaf6f7);box-shadow:0 20px 55px rgba(32,73,91,.08)}
:root[data-theme="light"] .portfolio-hero h1,:root[data-theme="light"] .portfolio-section-head h2{color:#11263b}:root[data-theme="light"] .portfolio-hero p,:root[data-theme="light"] .portfolio-section-head p{color:#5b7487}
:root[data-theme="light"] .portfolio-hero-chips span{background:#f5fbfc;border-color:#cde6e9;color:#426a78}
:root[data-theme="light"] .portfolio-command-panel{background:linear-gradient(160deg,#f6fbfc,#e9f5f6);border-color:#cbe2e7}.portfolio-command-panel{}:root[data-theme="light"] .portfolio-command-row{color:#526f80;border-bottom-color:#d9e8ec}:root[data-theme="light"] .portfolio-command-head{border-bottom-color:#d9e8ec}:root[data-theme="light"] .portfolio-command-head>span,:root[data-theme="light"] .portfolio-command-foot{color:#688695}:root[data-theme="light"] .portfolio-command-foot strong{color:#18384c}
:root[data-theme="light"] .portfolio-feature-card,:root[data-theme="light"] .portfolio-project-card{background:linear-gradient(150deg,#ffffff,#f5fafc);border-color:#d7e5eb;color:#14283d;box-shadow:0 12px 34px rgba(32,73,91,.07)}:root[data-theme="light"] .portfolio-feature-card p,:root[data-theme="light"] .portfolio-project-card p{color:#5f788a}:root[data-theme="light"] .portfolio-capability-row span{background:#eef6f8;border-color:#dce9ed;color:#476677}:root[data-theme="light"] .portfolio-feature-metrics b,:root[data-theme="light"] .portfolio-feature-footer{color:#183247}:root[data-theme="light"] .portfolio-feature-footer{border-top-color:#dfeaec}:root[data-theme="light"] .portfolio-project-number,:root[data-theme="light"] .portfolio-feature-index{color:rgba(25,66,86,.055)}:root[data-theme="light"] .portfolio-open{color:#1d4055}

@media(max-width:1450px){.portfolio-project-grid.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.smart-core-balanced{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-core-column:last-child{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}.super-security-grid{grid-template-columns:1fr}.super-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:1100px){.portfolio-hero-premium{grid-template-columns:1fr!important}.portfolio-feature-grid{grid-template-columns:1fr}.portfolio-project-grid.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-core-balanced{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-core-column:last-child{grid-column:auto;grid-template-columns:1fr}.super-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.platform-settings-inline{grid-template-columns:repeat(2,minmax(0,1fr))!important}.platform-settings-inline .field:first-child{grid-column:1/-1!important}.super-password-inline{grid-template-columns:1fr 1fr}.super-password-inline .btn{grid-column:1/-1}.super-timezone-inline{grid-template-columns:1fr auto}.super-timezone-inline .btn:last-child{grid-column:1/-1}}
@media(max-width:760px){.portfolio-user{display:none}.portfolio-project-grid.catalog-grid{grid-template-columns:1fr}.portfolio-feature-card{min-height:245px}.portfolio-hero-premium{padding:22px!important}.smart-core-balanced{grid-template-columns:1fr}.smart-core-column:last-child{grid-template-columns:1fr}.smart-core-balanced .marine-forecast-strip.compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}.super-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.platform-settings-inline{grid-template-columns:1fr!important}.platform-settings-inline .field{grid-column:1/-1!important}.super-password-inline{grid-template-columns:1fr}.super-timezone-inline{grid-template-columns:1fr}.portfolio-top-actions{gap:4px}.portfolio-top-actions .btn{padding:7px}.portfolio-section-head{align-items:flex-start}.portfolio-section-head>span{display:none}}

/* v1.28.13 — unified organization/application management + larger sidebar */
.sidebar .nav-button{font-size:.93rem!important;font-weight:720!important;min-height:43px}
.sidebar .nav-button .nav-text{font-size:.93rem!important;line-height:1.2;letter-spacing:.005em}
.sidebar .nav-icon{font-size:1rem;min-width:23px;text-align:center}
.sidebar-project-center{margin:0 0 7px;border:1px solid rgba(94,234,212,.16)!important;background:rgba(15,118,110,.11)!important;color:#ccfbf1!important}
.sidebar-project-center:hover{background:rgba(15,118,110,.24)!important}
.user-chip{padding-top:13px!important}
.user-chip strong{font-size:.96rem!important}.user-chip span{font-size:.8rem!important}
.organization-filter-grid .organization-stat-filter,.super-stat-link{appearance:none;text-align:left;color:var(--text);cursor:pointer;transition:.15s ease;min-width:0}
.organization-filter-grid .organization-stat-filter:hover,.super-stat-link:hover{transform:translateY(-1px);border-color:#4da8bd;box-shadow:0 7px 18px rgba(4,31,49,.13)}
.organization-filter-grid .organization-stat-filter.active{border-color:#14b8a6;box-shadow:inset 0 0 0 1px rgba(20,184,166,.35),0 8px 20px rgba(15,139,141,.11);background:linear-gradient(135deg,var(--surface),rgba(20,184,166,.07))}
.organization-stat-filter small,.super-stat-link small{display:block;margin-top:7px;color:var(--muted);font-size:.66rem;font-weight:650}
.organization-list-card{margin-bottom:10px}
.organization-applications-card{margin-top:0!important;padding:13px!important}
.application-filter-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 9px}
.application-filter-tabs .btn.active{background:#0f8b8d;color:white;border-color:#0f8b8d}
.application-detail-modal{max-width:780px}.application-detail-kpis{margin-top:8px}.application-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}.application-detail-grid>div{padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.application-detail-grid span,.application-detail-grid strong{display:block}.application-detail-grid span{font-size:.65rem;color:var(--muted)}.application-detail-grid strong{font-size:.78rem;margin-top:3px;overflow-wrap:anywhere}.application-message{margin-top:10px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.application-message span{display:block;font-size:.64rem;color:var(--muted);font-weight:800}.application-message p{margin:5px 0 0;font-size:.76rem;line-height:1.45}.application-message.review{border-color:#f3d39a;background:rgba(245,158,11,.06)}
.super-application-shortcut{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.super-application-shortcut .card-title{margin:0;flex:1}.super-application-shortcut>.btn{white-space:nowrap}
#organization-list-rows tr[hidden],#organization-application-rows tr[hidden]{display:none!important}
@media(max-width:760px){.sidebar .nav-button .nav-text{font-size:.9rem!important}.application-detail-grid{grid-template-columns:1fr}.super-application-shortcut{align-items:stretch;flex-direction:column}.super-application-shortcut>.btn{width:100%}}

/* v1.28.13 — fullscreen interaction stability */
.smart-map-card:fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;margin:0!important;border-radius:0!important;overflow:hidden!important}
.smart-map-card:fullscreen .smart-map-wrap{height:calc(100vh - 58px)!important;min-height:0!important}
.smart-map-card:fullscreen .smart-buoy-map{height:100%!important;min-height:0!important}
.smart-map-card:fullscreen .smart-map-drawer{max-height:calc(100vh - 84px)!important}
.smart-map-card:fullscreen button,.smart-map-card:fullscreen input,.smart-map-card:fullscreen label{pointer-events:auto}

/* v1.28.13 — native fullscreen shell: interactions never destroy the fullscreen element */
.smart-map-fullscreen-shell{min-width:0;display:flex;align-items:stretch}
.smart-map-fullscreen-shell>.smart-map-card{width:100%;height:100%}
.smart-map-fullscreen-shell:fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;background:#061626!important;overflow:hidden!important}
.smart-map-fullscreen-shell:fullscreen>.smart-map-card{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;border-radius:0!important;overflow:hidden!important;padding:10px!important;background:#061626!important;box-sizing:border-box!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-wrap{height:calc(100vh - 58px)!important;min-height:0!important}
.smart-map-fullscreen-shell:fullscreen .smart-buoy-map{height:100%!important;min-height:0!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored{left:62px!important;top:10px!important;max-height:calc(100vh - 20px)!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-drawer{left:144px!important;top:8px!important;max-height:calc(100vh - 84px)!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-statusbar{position:absolute!important;z-index:620!important;left:146px!important;bottom:8px!important;padding:6px 10px!important;border-radius:10px!important;background:rgba(7,24,39,.78)!important;color:#e6f5fb!important;backdrop-filter:blur(8px);max-width:calc(100% - 310px)!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-hud{top:10px!important;right:10px!important}
.smart-map-fullscreen-shell:fullscreen .smart-weather-legend{right:10px!important;bottom:10px!important}
.smart-map-fullscreen-shell:fullscreen .card-title{color:#fff!important}
.smart-map-fullscreen-shell:fullscreen .card-title .muted{color:#aac9d7!important}
.smart-map-fullscreen-shell:fullscreen button,.smart-map-fullscreen-shell:fullscreen input,.smart-map-fullscreen-shell:fullscreen label{pointer-events:auto}
@media(max-width:900px){
  .smart-map-fullscreen-shell:fullscreen .smart-map-drawer{left:48px!important;width:calc(100% - 56px)!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-statusbar{left:50px!important;max-width:calc(100% - 64px)!important}
}

/* v1.28.13 — viewport-filling environmental surfaces + grouped quick rail */
.smart-map-fab-stack.restored.grouped{
  left:8px!important;top:8px!important;display:flex!important;flex-direction:column!important;
  width:84px!important;max-width:84px!important;gap:5px!important;padding:4px!important;
  background:rgba(6,25,40,.72)!important;overflow:auto!important;max-height:calc(100% - 16px)!important;
}
.smart-map-fab-stack.restored.grouped .smart-quick-group{
  display:grid;grid-template-columns:repeat(2,34px);gap:4px;padding:4px;border:1px solid rgba(126,191,211,.22);
  border-radius:10px;background:rgba(9,36,54,.56);position:relative
}
.smart-map-fab-stack.restored.grouped .smart-quick-group-label{
  grid-column:1/-1;font-size:7px;line-height:1.1;letter-spacing:.06em;text-transform:uppercase;
  color:#8db8c7;font-weight:900;text-align:center;padding:0 1px 2px;white-space:nowrap
}
.smart-map-fab-stack.restored.grouped .smart-quick-primary{padding:0;border:0;background:transparent}
.smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{grid-column:1/-1;width:72px!important}
.smart-map-fab-stack.restored.grouped .smart-quick-exclusive{border-color:rgba(45,212,191,.28)}
.smart-map-fab-stack.restored.grouped .smart-quick-exclusive button.active{box-shadow:inset 0 0 0 1px rgba(153,246,228,.55),0 3px 9px rgba(0,0,0,.12)}
.smart-map-fab-stack.restored.grouped .smart-quick-multi{border-color:rgba(96,165,250,.22)}
.smart-map-fab-stack.restored.grouped .smart-quick-actions{border-color:rgba(148,163,184,.24)}
.smart-map-drawer{left:100px!important}

/* Leaflet zoom is deliberately separated from the app toolbar. */
.smart-map-card .leaflet-bottom.leaflet-left .leaflet-control-zoom,
.smart-map-fullscreen-shell:fullscreen .leaflet-bottom.leaflet-left .leaflet-control-zoom{
  margin-left:10px!important;margin-bottom:12px!important;box-shadow:0 5px 16px rgba(0,0,0,.24)!important
}
.smart-map-card .leaflet-control-zoom a{width:34px!important;height:34px!important;line-height:34px!important;font-size:22px!important}

/* Fullscreen: controls grow modestly; geographic viewport stays the priority. */
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped{
  left:10px!important;top:10px!important;width:98px!important;max-width:98px!important;max-height:calc(100vh - 20px)!important;padding:5px!important;gap:6px!important
}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-group{
  grid-template-columns:repeat(2,40px);gap:5px;padding:5px;border-radius:11px
}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped button{width:40px!important;height:40px!important;font-size:.84rem!important;border-radius:10px!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{width:85px!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-group-label{font-size:8px!important;padding-bottom:3px}
.smart-map-fullscreen-shell:fullscreen .smart-map-drawer{
  left:118px!important;width:min(430px,calc(100% - 136px))!important;max-height:calc(100vh - 72px)!important;padding:14px!important
}
.smart-map-fullscreen-shell:fullscreen .smart-map-drawer h4{font-size:.68rem!important;margin-bottom:9px!important}
.smart-map-fullscreen-shell:fullscreen .smart-layer-option span strong{font-size:.72rem!important}
.smart-map-fullscreen-shell:fullscreen .smart-layer-option span small{font-size:.56rem!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-preset{min-height:52px!important;font-size:.62rem!important}
.smart-map-fullscreen-shell:fullscreen .smart-base-switch button{font-size:.64rem!important;padding:6px 11px!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-hud{min-width:230px!important;padding:10px 11px!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-hud-station span{font-size:.5rem!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-hud-station strong{font-size:.64rem!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-hud-main strong{font-size:.86rem!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-hud-main em{font-size:1.18rem!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-hud-metrics span{font-size:.58rem!important}
.smart-map-fullscreen-shell:fullscreen .smart-weather-legend{transform:scale(1.08);transform-origin:right bottom}
.smart-map-fullscreen-shell:fullscreen .smart-map-statusbar{left:118px!important;max-width:calc(100% - 310px)!important;font-size:.58rem!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-card .leaflet-control-zoom a{width:40px!important;height:40px!important;line-height:40px!important;font-size:25px!important}

@media(max-width:900px){
  .smart-map-fab-stack.restored.grouped{width:46px!important;max-width:46px!important}
  .smart-map-fab-stack.restored.grouped .smart-quick-group{grid-template-columns:34px!important}
  .smart-map-fab-stack.restored.grouped .smart-quick-group-label{display:none}
  .smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{grid-column:auto;width:34px!important}
  .smart-map-drawer{left:58px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped{width:52px!important;max-width:52px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-group{grid-template-columns:40px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{width:40px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-drawer{left:64px!important;width:calc(100% - 72px)!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-statusbar{left:64px!important;max-width:calc(100% - 78px)!important}
}

/* v1.28.13 — compact grouped map rail; reserve bottom-left for Leaflet zoom */
.smart-map-fab-stack.restored.grouped{
  left:7px!important;
  top:7px!important;
  width:72px!important;
  max-width:72px!important;
  max-height:calc(100% - 104px)!important;
  gap:3px!important;
  padding:3px!important;
  box-sizing:border-box!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
}
.smart-map-fab-stack.restored.grouped .smart-quick-group{
  grid-template-columns:repeat(2,30px)!important;
  gap:3px!important;
  padding:3px!important;
  border-radius:9px!important;
  box-sizing:border-box!important;
  min-width:0!important;
  overflow:hidden!important;
}
.smart-map-fab-stack.restored.grouped button{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  border-radius:8px!important;
  font-size:.66rem!important;
  line-height:1!important;
  padding:0!important;
}
.smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{
  width:63px!important;
  min-width:63px!important;
  height:31px!important;
  grid-column:1/-1!important;
}
.smart-map-fab-stack.restored.grouped .smart-quick-group-label{
  grid-column:1/-1!important;
  width:100%!important;
  max-width:62px!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  font-size:6.2px!important;
  line-height:1.05!important;
  letter-spacing:.035em!important;
  padding:0 0 1px!important;
}
.smart-map-drawer{left:86px!important}

/* Zoom lives in its own reserved lower-left zone and never overlaps the rail. */
.smart-map-card .leaflet-bottom.leaflet-left,
.smart-map-fullscreen-shell:fullscreen .leaflet-bottom.leaflet-left{
  z-index:760!important;
}
.smart-map-card .leaflet-bottom.leaflet-left .leaflet-control-zoom,
.smart-map-fullscreen-shell:fullscreen .leaflet-bottom.leaflet-left .leaflet-control-zoom{
  margin-left:9px!important;
  margin-bottom:10px!important;
}
.smart-map-card .leaflet-control-zoom a{
  width:32px!important;
  height:32px!important;
  line-height:32px!important;
  font-size:20px!important;
}

/* Fullscreen stays slightly larger than normal, but compact enough to fit without collisions. */
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped{
  left:8px!important;
  top:8px!important;
  width:78px!important;
  max-width:78px!important;
  max-height:calc(100vh - 112px)!important;
  padding:3px!important;
  gap:4px!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-group{
  grid-template-columns:repeat(2,33px)!important;
  gap:3px!important;
  padding:3px!important;
  border-radius:9px!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped button{
  width:33px!important;
  height:33px!important;
  min-width:33px!important;
  min-height:33px!important;
  font-size:.72rem!important;
  border-radius:8px!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{
  width:69px!important;
  min-width:69px!important;
  height:33px!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-group-label{
  max-width:68px!important;
  font-size:6.6px!important;
  line-height:1.05!important;
  padding-bottom:1px!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-drawer{
  left:92px!important;
  width:min(430px,calc(100% - 108px))!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-statusbar{
  left:92px!important;
  max-width:calc(100% - 284px)!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-card .leaflet-control-zoom a{
  width:34px!important;
  height:34px!important;
  line-height:34px!important;
  font-size:22px!important;
}

@media(max-width:900px){
  .smart-map-fab-stack.restored.grouped{
    width:39px!important;
    max-width:39px!important;
    max-height:calc(100% - 96px)!important;
  }
  .smart-map-fab-stack.restored.grouped .smart-quick-group{
    grid-template-columns:29px!important;
    padding:2px!important;
  }
  .smart-map-fab-stack.restored.grouped button{
    width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important
  }
  .smart-map-fab-stack.restored.grouped .smart-quick-group-label{display:none!important}
  .smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{
    width:29px!important;min-width:29px!important;height:30px!important;grid-column:auto!important
  }
  .smart-map-drawer{left:48px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped{
    width:42px!important;max-width:42px!important;max-height:calc(100vh - 102px)!important
  }
  .smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-group{grid-template-columns:32px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped button{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{width:32px!important;min-width:32px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-drawer{left:50px!important;width:calc(100% - 58px)!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-statusbar{left:50px!important;max-width:calc(100% - 62px)!important}
}

/* v1.28.13 — ONLY compact the icon button frames; keep glyphs readable */
.smart-map-fab-stack.restored.grouped{
  width:68px!important;
  max-width:68px!important;
}
.smart-map-fab-stack.restored.grouped .smart-quick-group{
  grid-template-columns:repeat(2,28px)!important;
  gap:2px!important;
  padding:2px!important;
  border-radius:8px!important;
}
.smart-map-fab-stack.restored.grouped button{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  border-radius:7px!important;
  font-size:.74rem!important;
}
.smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{
  width:58px!important;
  min-width:58px!important;
  height:29px!important;
  font-size:.78rem!important;
}
.smart-map-fab-stack.restored.grouped .smart-quick-group-label{
  max-width:58px!important;
  font-size:6.2px!important;
}
.smart-map-drawer{left:82px!important}

.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped{
  width:70px!important;
  max-width:70px!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-group{
  grid-template-columns:repeat(2,29px)!important;
  gap:2px!important;
  padding:2px!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped button{
  width:29px!important;
  height:29px!important;
  min-width:29px!important;
  min-height:29px!important;
  border-radius:7px!important;
  font-size:.76rem!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{
  width:60px!important;
  min-width:60px!important;
  height:30px!important;
  font-size:.8rem!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-group-label{
  max-width:60px!important;
  font-size:6.3px!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-drawer{
  left:84px!important;
}
.smart-map-fullscreen-shell:fullscreen .smart-map-statusbar{
  left:84px!important;
}

@media(max-width:900px){
  .smart-map-fab-stack.restored.grouped{width:37px!important;max-width:37px!important}
  .smart-map-fab-stack.restored.grouped .smart-quick-group{grid-template-columns:27px!important;padding:2px!important}
  .smart-map-fab-stack.restored.grouped button{width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important;font-size:.72rem!important}
  .smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{width:27px!important;min-width:27px!important;height:28px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped{width:39px!important;max-width:39px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-group{grid-template-columns:29px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped button{width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important}
  .smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{width:29px!important;min-width:29px!important}
}

/* v1.29.0 — Entegre saha cihazı: sensörler + kamera */
.integrated-device-head{align-items:flex-end}.integrated-summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:9px}.integrated-summary-strip>div{padding:11px 12px;border:1px solid var(--line);border-radius:13px;background:var(--surface);min-width:0}.integrated-summary-strip span,.integrated-summary-strip strong,.integrated-summary-strip small{display:block}.integrated-summary-strip span{font-size:.61rem;color:var(--muted);font-weight:850}.integrated-summary-strip strong{font-size:.86rem;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.integrated-summary-strip small{font-size:.56rem;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.integrated-device-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:start}.integrated-panel{padding:13px;border-radius:15px;min-width:0}.integrated-status{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:.55rem;font-weight:950;letter-spacing:.03em}.integrated-status.online{background:#d1fae5;color:#047857}.integrated-status.offline{background:#e8edf2;color:#64748b}.integrated-primary-reading{display:flex;align-items:end;justify-content:space-between;padding:13px;border-radius:13px;background:linear-gradient(135deg,#eafafa,#f7fbfc);border:1px solid #d7e9eb;margin-bottom:8px}.integrated-primary-reading span{font-size:.63rem;color:#66808f;font-weight:850}.integrated-primary-reading strong{font-size:1.65rem;color:#0f5862}.integrated-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.integrated-metric-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.integrated-metric-grid>div,.weather-live-grid>div{padding:8px 9px;border-radius:10px;background:var(--surface-soft);border:1px solid var(--line);min-width:0}.integrated-metric-grid span,.integrated-metric-grid strong,.weather-live-grid span,.weather-live-grid strong{display:block}.integrated-metric-grid span,.weather-live-grid span{font-size:.55rem;color:var(--muted);font-weight:850}.integrated-metric-grid strong{font-size:.76rem;margin-top:4px;overflow:hidden;text-overflow:ellipsis}.integrated-vector-row{display:grid;grid-template-columns:auto repeat(3,1fr);gap:6px;align-items:center;margin-top:8px;padding:8px;border:1px solid var(--line);border-radius:10px;font-size:.58rem}.integrated-vector-row span{color:var(--muted);font-weight:850}.integrated-vector-row b{text-align:center}.integrated-distance{min-height:115px;display:grid;place-items:center;align-content:center;border-radius:14px;background:radial-gradient(circle at center,rgba(20,184,166,.12),transparent 65%),var(--surface-soft);border:1px solid var(--line);margin-bottom:8px}.integrated-distance strong{font-size:2rem;color:#0f7778}.integrated-distance span{font-size:.73rem;color:var(--muted);margin-top:2px}.integrated-weather{grid-column:span 2}.weather-live-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.weather-live-grid strong{font-size:.77rem;margin-top:4px}.integrated-read-counters{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px;font-size:.57rem;color:var(--muted)}.integrated-read-counters b{color:var(--text)}.integrated-camera{grid-column:span 1}.integrated-camera-frame{height:320px;border-radius:13px;overflow:hidden;background:linear-gradient(145deg,#071827,#0b2e45);display:grid;place-items:center;position:relative}.integrated-camera-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none}.integrated-camera-frame img.visible{display:block}.integrated-camera-frame>div{display:grid;place-items:center;align-content:center;text-align:center;color:#b8d7e5;padding:20px}.integrated-camera-frame>div span{font-size:2rem}.integrated-camera-frame>div strong{color:#fff;margin-top:8px}.integrated-camera-frame>div small{font-size:.6rem;margin-top:4px;max-width:260px}.integrated-camera-time{margin-top:7px;text-align:right}.integrated-error{margin-top:8px;padding:7px 9px;border-radius:9px;background:#fff1f2;color:#9f1239;font-size:.58rem;border:1px solid #fecdd3}.integrated-empty{padding:45px;text-align:center}.integrated-empty-icon{font-size:2.4rem;color:#14b8a6}.integrated-empty h2{margin:8px 0 4px}.integrated-empty p{color:var(--muted);max-width:720px;margin:auto}.hidden{display:none!important}
@media(max-width:1180px){.integrated-summary-strip{grid-template-columns:repeat(3,1fr)}.integrated-device-grid{grid-template-columns:repeat(2,1fr)}.integrated-weather{grid-column:1/-1}.integrated-camera{grid-column:auto}.weather-live-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.integrated-summary-strip,.integrated-device-grid{grid-template-columns:1fr}.integrated-weather,.integrated-camera{grid-column:1}.integrated-metric-grid,.weather-live-grid{grid-template-columns:repeat(2,1fr)}.integrated-camera-frame{height:260px}.integrated-vector-row{grid-template-columns:1fr 1fr}.integrated-device-head{align-items:flex-start}}

/* v1.29.1 — Akıllı Şamandıra yerel HD-MCWSU-02 + Mesafe sensörü sensör alanı */
.smart-local-sensor-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:7px;margin-bottom:7px;align-items:stretch}
.smart-local-sensor-layout>.card{margin:0;min-width:0;height:100%}
.smart-local-weather-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.smart-local-weather-item{display:grid;grid-template-columns:30px minmax(0,1fr);gap:7px;align-items:center;padding:8px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft);min-width:0}
.smart-local-weather-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(14,165,233,.08);font-size:.95rem;font-weight:900;color:#0f7778}
.smart-local-weather-item small,.smart-local-weather-item strong,.smart-local-weather-item em{display:block;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.smart-local-weather-item small{font-size:.53rem;color:var(--muted);font-weight:850;text-transform:uppercase;letter-spacing:.02em}
.smart-local-weather-item strong{font-size:.82rem;margin-top:2px;color:var(--text)}
.smart-local-weather-item em{font-size:.48rem;color:var(--muted);font-style:normal;margin-top:1px}
.smart-local-weather-foot{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:7px;padding-top:6px;border-top:1px dashed var(--line);font-size:.54rem;color:var(--muted)}
.smart-local-weather-foot b{color:var(--text)}.smart-local-weather-foot .warn{color:#b45309}
.smart-maxbotix-card{display:flex;flex-direction:column}
.smart-maxbotix-primary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;align-items:end;padding:10px 11px;border-radius:12px;border:1px solid #cce9e7;background:linear-gradient(135deg,rgba(20,184,166,.10),rgba(14,165,233,.05))}
.smart-maxbotix-primary span{font-size:.58rem;color:var(--muted);font-weight:850}.smart-maxbotix-primary strong{grid-column:2;grid-row:1/3;font-size:1.55rem;color:#0f7778;line-height:1}.smart-maxbotix-primary small{font-size:.5rem;color:var(--muted)}
.smart-maxbotix-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px}
.smart-maxbotix-grid>div{padding:7px 8px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft);min-width:0}
.smart-maxbotix-grid span,.smart-maxbotix-grid strong,.smart-maxbotix-grid small{display:block}.smart-maxbotix-grid span{font-size:.52rem;color:var(--muted);font-weight:800}.smart-maxbotix-grid strong{font-size:.72rem;margin-top:3px}.smart-maxbotix-grid small{font-size:.44rem;color:var(--muted);margin-top:1px}
.smart-wave-note{margin:6px 0 0!important;font-size:.49rem!important;line-height:1.35}
@media(max-width:1280px){.smart-local-weather-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.smart-local-sensor-layout{grid-template-columns:minmax(0,1.55fr) minmax(290px,1fr)}}
@media(max-width:980px){.smart-local-sensor-layout{grid-template-columns:1fr}.smart-local-weather-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.smart-maxbotix-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.smart-local-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-maxbotix-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-local-weather-item{grid-template-columns:27px minmax(0,1fr);padding:7px}.smart-local-weather-icon{width:27px;height:27px}}

/* v1.29.3 — Akıllı Şamandıra operasyon ekranı baştan sona düzenleme */
.smart-buoy-workspace.v1293{display:grid;gap:8px;min-width:0}
.smart-buoy-workspace.v1293 .smart-workspace-section{display:grid;gap:6px;min-width:0}
.smart-buoy-workspace.v1293 .smart-section-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;padding:3px 3px 0}
.smart-buoy-workspace.v1293 .smart-section-heading>div{display:flex;align-items:baseline;gap:9px;min-width:0}
.smart-buoy-workspace.v1293 .smart-section-heading .eyebrow{font-size:.52rem;letter-spacing:.1em;color:#0f8b8d;font-weight:950;white-space:nowrap}
.smart-buoy-workspace.v1293 .smart-section-heading h2{margin:0;font-size:.92rem;color:var(--text)}
.smart-buoy-workspace.v1293 .smart-section-heading>small{font-size:.54rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.smart-buoy-workspace.v1293 .smart-mission-command{margin:0!important;padding:9px 12px!important;border-radius:14px!important}
.smart-buoy-workspace.v1293 .smart-mission-command strong{font-size:.92rem}
.smart-buoy-workspace.v1293 .smart-mission-command small{font-size:.55rem;margin-top:2px}
.smart-buoy-workspace.v1293 .smart-command-status{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.smart-buoy-workspace.v1293 .smart-command-status .actions{gap:5px}
.smart-buoy-workspace.v1293 .smart-command-status .btn{padding:6px 9px;font-size:.58rem}
.smart-buoy-workspace.v1293 .smart-mission-kpis{gap:6px!important;margin:0!important}
.smart-buoy-workspace.v1293 .smart-mission-kpis .project-kpi{padding:8px 10px!important;min-height:58px!important;border-radius:12px!important}
.smart-buoy-workspace.v1293 .smart-mission-kpis .project-kpi span{font-size:.52rem!important}
.smart-buoy-workspace.v1293 .smart-mission-kpis .project-kpi strong{font-size:.9rem!important;margin-top:2px!important}
.smart-buoy-workspace.v1293 .smart-mission-kpis .project-kpi small{font-size:.49rem!important;margin-top:1px!important}

/* Yerel hava istasyonu boydan boya, tam iki satır. Mesafe sensörü ayrı kompakt şerit. */
.smart-buoy-workspace.v1293 .smart-local-sensor-layout{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;margin:0!important;align-items:start!important}
.smart-buoy-workspace.v1293 .smart-local-sensor-layout>.card{height:auto!important;min-height:0!important;margin:0!important;padding:8px 10px!important;border-radius:13px!important}
.smart-buoy-workspace.v1293 .smart-local-weather-card .card-title,.smart-buoy-workspace.v1293 .smart-maxbotix-card .card-title{margin-bottom:5px!important}
.smart-buoy-workspace.v1293 .smart-local-weather-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:5px!important}
.smart-buoy-workspace.v1293 .smart-local-weather-item{grid-template-columns:27px minmax(0,1fr)!important;gap:6px!important;padding:6px 7px!important;border-radius:9px!important;min-height:48px!important}
.smart-buoy-workspace.v1293 .smart-local-weather-icon{width:27px!important;height:27px!important;border-radius:8px!important;font-size:.82rem!important}
.smart-buoy-workspace.v1293 .smart-local-weather-item small{font-size:.48rem!important}
.smart-buoy-workspace.v1293 .smart-local-weather-item strong{font-size:.72rem!important;margin-top:1px!important}
.smart-buoy-workspace.v1293 .smart-local-weather-item em{font-size:.43rem!important}
.smart-buoy-workspace.v1293 .smart-local-weather-foot{margin:4px 0 0!important;padding-top:4px!important;gap:9px!important;font-size:.48rem!important;min-height:0!important}
.smart-buoy-workspace.v1293 .smart-local-wave-strip{display:grid!important;grid-template-columns:minmax(210px,.9fr) minmax(0,3.1fr);grid-template-rows:auto auto;column-gap:8px;align-items:start}
.smart-buoy-workspace.v1293 .smart-local-wave-strip>.card-title{grid-column:1/-1}
.smart-buoy-workspace.v1293 .smart-maxbotix-body{grid-column:1/-1;display:grid;grid-template-columns:minmax(210px,.9fr) minmax(0,3.1fr);gap:6px;align-items:stretch}
.smart-buoy-workspace.v1293 .smart-maxbotix-primary{margin:0!important;padding:7px 9px!important;min-height:46px!important;border-radius:10px!important}
.smart-buoy-workspace.v1293 .smart-maxbotix-primary strong{font-size:1.2rem!important}
.smart-buoy-workspace.v1293 .smart-maxbotix-grid{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important;margin:0!important}
.smart-buoy-workspace.v1293 .smart-maxbotix-grid>div{padding:6px 7px!important;border-radius:9px!important}
.smart-buoy-workspace.v1293 .smart-maxbotix-grid span{font-size:.47rem!important}
.smart-buoy-workspace.v1293 .smart-maxbotix-grid strong{font-size:.67rem!important;margin-top:2px!important}
.smart-buoy-workspace.v1293 .smart-wave-note{grid-column:1/-1;margin:3px 0 0!important;font-size:.44rem!important;line-height:1.25!important}

/* Ana görsel çalışma alanı: önceki yüksekliğin yaklaşık yarısı. */
.smart-buoy-workspace.v1293 .smart-primary-three{grid-template-columns:minmax(0,1.38fr) minmax(0,1fr) minmax(280px,.78fr)!important;gap:6px!important;margin:0!important;height:330px!important;min-height:0!important;align-items:stretch!important}
.smart-buoy-workspace.v1293 .smart-map-fullscreen-shell,.smart-buoy-workspace.v1293 .smart-map-fullscreen-shell>.smart-map-card,.smart-buoy-workspace.v1293 .smart-camera-card,.smart-buoy-workspace.v1293 .smart-primary-side{height:330px!important;min-height:0!important}
.smart-buoy-workspace.v1293 .smart-primary-card,.smart-buoy-workspace.v1293 .smart-side-card{padding:8px!important;border-radius:12px!important}
.smart-buoy-workspace.v1293 .smart-primary-card .card-title,.smart-buoy-workspace.v1293 .smart-side-card .card-title{margin-bottom:4px!important;min-height:34px}
.smart-buoy-workspace.v1293 .smart-map-card .smart-map-wrap{display:flex!important;flex:1 1 auto!important;min-height:0!important}
.smart-buoy-workspace.v1293 .smart-map-card .smart-buoy-map{height:100%!important;min-height:0!important;border-radius:9px!important}
.smart-buoy-workspace.v1293 .smart-map-statusbar{margin-top:4px!important;min-height:17px!important;font-size:.46rem!important;gap:7px!important;overflow:hidden}
.smart-buoy-workspace.v1293 .smart-camera-frame.tall{height:auto!important;min-height:0!important;flex:1 1 auto!important;border-radius:9px!important}
.smart-buoy-workspace.v1293 .smart-camera-frame.tall .smart-buoy-camera-image,.smart-buoy-workspace.v1293 .smart-camera-frame.tall .smart-demo-video{height:100%!important;min-height:0!important}
.smart-buoy-workspace.v1293 .smart-camera-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important;margin-top:4px!important}
.smart-buoy-workspace.v1293 .smart-camera-metrics span{padding:4px 5px!important;font-size:.48rem!important;border-radius:7px!important}
.smart-buoy-workspace.v1293 .smart-camera-metrics b{font-size:.58rem!important;margin-top:1px!important}
.smart-buoy-workspace.v1293 .smart-primary-side{grid-template-rows:minmax(0,.82fr) minmax(0,1.18fr)!important;gap:6px!important}
.smart-buoy-workspace.v1293 .smart-primary-side .smart-side-card{height:100%!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.smart-buoy-workspace.v1293 .smart-primary-side .smart-hazard-list.compact,.smart-buoy-workspace.v1293 .smart-primary-side .smart-fleet-list.compact{flex:1 1 auto!important;max-height:none!important;min-height:0!important;overflow:auto!important}
.smart-buoy-workspace.v1293 .smart-primary-side .smart-fleet-filters.compact{margin-bottom:4px!important;flex:0 0 auto}
.smart-buoy-workspace.v1293 .smart-primary-side .smart-fleet-row{padding:5px!important}
.smart-buoy-workspace.v1293 .smart-primary-side .smart-fleet-main small{font-size:.44rem!important}
.smart-buoy-workspace.v1293 .smart-primary-side .smart-hazard-row{padding:6px!important}

/* Analiz kartları daha ritmik ve aynı yoğunlukta. */
.smart-buoy-workspace.v1293 .smart-core-balanced{gap:6px!important;margin:0!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
.smart-buoy-workspace.v1293 .smart-core-column{gap:6px!important}
.smart-buoy-workspace.v1293 .smart-core-balanced .card{padding:9px!important;border-radius:12px!important}
.smart-buoy-workspace.v1293 .smart-core-balanced .card-title{margin-bottom:5px!important}
.smart-buoy-workspace.v1293 .risk-score.compact{margin:5px 0!important;padding:9px!important}
.smart-buoy-workspace.v1293 .risk-score.compact strong{font-size:1.45rem!important}
.smart-buoy-workspace.v1293 .marine-risk-metrics.compact,.smart-buoy-workspace.v1293 .smart-quality-grid.compact,.smart-buoy-workspace.v1293 .smart-network-grid.compact{gap:4px!important}
.smart-buoy-workspace.v1293 .marine-risk-metrics.compact>div,.smart-buoy-workspace.v1293 .smart-quality-grid.compact>div,.smart-buoy-workspace.v1293 .smart-network-grid.compact>div{padding:6px!important;border-radius:8px!important}
.smart-buoy-workspace.v1293 .marine-forecast-item{min-height:116px!important}
.smart-buoy-workspace.v1293 .smart-risk-chart.mini{height:62px!important}

/* Gelişmiş modüller korunur; ilk bakışta daha temiz, açıldığında eski fonksiyonların tamamı erişilebilir. */
.smart-buoy-workspace.v1293 .smart-feature-deck-head{margin:4px 2px 0!important;padding-top:4px;border-top:1px solid var(--line)}
.smart-buoy-workspace.v1293 .smart-feature-masonry{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;columns:unset!important}
.smart-buoy-workspace.v1293 .smart-feature-module{margin:0!important;break-inside:auto!important;border-radius:12px!important;overflow:hidden}
.smart-buoy-workspace.v1293 .smart-feature-module>summary{padding:9px 10px!important;min-height:52px!important}
.smart-buoy-workspace.v1293 .smart-feature-content{padding:6px!important}

/* Fullscreen harita her zaman gerçek viewport yüksekliğini kullanır. */
.smart-map-fullscreen-shell:fullscreen{height:100vh!important;min-height:100vh!important}
.smart-map-fullscreen-shell:fullscreen>.smart-map-card{height:100%!important;min-height:0!important;max-height:none!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-wrap{height:calc(100vh - 58px)!important;min-height:0!important;flex:1 1 auto!important}
.smart-map-fullscreen-shell:fullscreen .smart-buoy-map{height:100%!important;min-height:0!important}

@media(max-width:1450px){
  .smart-buoy-workspace.v1293 .smart-primary-three{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;height:auto!important}
  .smart-buoy-workspace.v1293 .smart-map-fullscreen-shell,.smart-buoy-workspace.v1293 .smart-map-fullscreen-shell>.smart-map-card,.smart-buoy-workspace.v1293 .smart-camera-card{height:320px!important}
  .smart-buoy-workspace.v1293 .smart-primary-side{grid-column:1/-1;grid-template-columns:1fr 1fr!important;grid-template-rows:auto!important;height:210px!important}
  .smart-buoy-workspace.v1293 .smart-primary-side .smart-side-card{height:210px!important}
}
@media(max-width:1100px){
  .smart-buoy-workspace.v1293 .smart-mission-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .smart-buoy-workspace.v1293 .smart-core-balanced{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .smart-buoy-workspace.v1293 .smart-core-column:last-child{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
  .smart-buoy-workspace.v1293 .smart-maxbotix-body{grid-template-columns:1fr}
  .smart-buoy-workspace.v1293 .smart-maxbotix-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
  .smart-buoy-workspace.v1293 .smart-section-heading{align-items:flex-start;flex-direction:column;gap:1px}
  .smart-buoy-workspace.v1293 .smart-section-heading>div{align-items:flex-start;flex-direction:column;gap:0}
  .smart-buoy-workspace.v1293 .smart-section-heading>small{white-space:normal}
  .smart-buoy-workspace.v1293 .smart-mission-command{align-items:flex-start!important;flex-direction:column!important}
  .smart-buoy-workspace.v1293 .smart-command-status{width:100%;justify-content:space-between}
  .smart-buoy-workspace.v1293 .smart-local-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .smart-buoy-workspace.v1293 .smart-primary-three{grid-template-columns:1fr!important}
  .smart-buoy-workspace.v1293 .smart-map-fullscreen-shell,.smart-buoy-workspace.v1293 .smart-map-fullscreen-shell>.smart-map-card,.smart-buoy-workspace.v1293 .smart-camera-card{height:300px!important}
  .smart-buoy-workspace.v1293 .smart-primary-side{grid-column:auto;grid-template-columns:1fr!important;height:auto!important}
  .smart-buoy-workspace.v1293 .smart-primary-side .smart-side-card{height:220px!important}
  .smart-buoy-workspace.v1293 .smart-core-balanced{grid-template-columns:1fr!important}
  .smart-buoy-workspace.v1293 .smart-core-column:last-child{grid-column:auto;grid-template-columns:1fr}
  .smart-buoy-workspace.v1293 .smart-feature-masonry{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .smart-buoy-workspace.v1293 .smart-mission-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .smart-buoy-workspace.v1293 .smart-maxbotix-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .smart-buoy-workspace.v1293 .smart-local-weather-item{grid-template-columns:24px minmax(0,1fr)!important;padding:5px!important}
  .smart-buoy-workspace.v1293 .smart-local-weather-icon{width:24px!important;height:24px!important}
}


/* v1.29.6 — Akıllı Şamandıra: tek başlık + tek satır yerel hava istasyonu */
.portfolio-content:has(.smart-buoy-workspace.v1294){padding-top:8px}
.smart-buoy-loading-card{margin-top:8px}

/* Sayfa başlığı, istasyon bilgisi ve operasyon butonları tek satır / tek blok. */
.smart-buoy-workspace.v1294 .smart-unified-head{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:16px!important;margin:0!important;padding:10px 12px!important;border-radius:14px!important;
}
.smart-buoy-workspace.v1294 .smart-unified-title{
  display:flex!important;align-items:baseline!important;gap:10px!important;min-width:0!important;flex:1 1 auto!important;
  white-space:nowrap!important;overflow:hidden!important;
}
.smart-buoy-workspace.v1294 .smart-unified-title h1{
  flex:0 0 auto;margin:0!important;font-size:1.28rem!important;line-height:1.1!important;letter-spacing:-.02em!important;color:#eefaff!important;
}
.smart-buoy-workspace.v1294 .smart-unified-station{
  flex:0 0 auto;font-size:.82rem!important;font-weight:900!important;color:#d8f2f5!important;padding-left:10px;border-left:1px solid rgba(185,226,238,.28);
}
.smart-buoy-workspace.v1294 .smart-unified-title small{
  min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:.65rem!important;color:#9fc7d8!important;margin:0!important;
}
.smart-buoy-workspace.v1294 .smart-command-status{flex:0 0 auto!important;flex-wrap:nowrap!important;gap:8px!important}
.smart-buoy-workspace.v1294 .smart-command-status .actions{display:flex!important;flex-wrap:nowrap!important;gap:5px!important}
.smart-buoy-workspace.v1294 .smart-command-status .btn{padding:7px 10px!important;font-size:.64rem!important;white-space:nowrap!important}
.smart-buoy-workspace.v1294 .smart-command-status .badge{font-size:.6rem!important;white-space:nowrap!important}

/* HD-MCWSU-02: 10 sensör masaüstünde tek satır. Kutular içerik kadar sıkı ve yazılar okunaklı. */
.smart-buoy-workspace.v1294 .smart-local-weather-card{padding:9px 10px!important}
.smart-buoy-workspace.v1294 .smart-local-weather-card .card-title{margin-bottom:6px!important}
.smart-buoy-workspace.v1294 .smart-local-weather-card .card-title h2{font-size:.9rem!important}
.smart-buoy-workspace.v1294 .smart-local-weather-card .card-title p{font-size:.56rem!important}
.smart-buoy-workspace.v1294 .smart-local-weather-grid{
  grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:5px!important;
}
.smart-buoy-workspace.v1294 .smart-local-weather-item{
  grid-template-columns:30px minmax(0,1fr)!important;gap:6px!important;padding:7px 7px!important;
  min-height:52px!important;border-radius:9px!important;
}
.smart-buoy-workspace.v1294 .smart-local-weather-icon{width:30px!important;height:30px!important;font-size:.9rem!important}
.smart-buoy-workspace.v1294 .smart-local-weather-item small{font-size:.54rem!important;letter-spacing:.01em!important}
.smart-buoy-workspace.v1294 .smart-local-weather-item strong{font-size:.82rem!important;line-height:1.05!important;margin-top:2px!important}
.smart-buoy-workspace.v1294 .smart-local-weather-item em{font-size:.49rem!important;margin-top:2px!important}
.smart-buoy-workspace.v1294 .smart-local-weather-foot{font-size:.53rem!important;margin-top:5px!important;padding-top:5px!important}

/* Üstteki altı KPI da önceki sürüm kadar minik görünmesin. */
.smart-buoy-workspace.v1294 .smart-mission-kpis .project-kpi{min-height:62px!important;padding:9px 11px!important}
.smart-buoy-workspace.v1294 .smart-mission-kpis .project-kpi>span{font-size:.66rem!important}
.smart-buoy-workspace.v1294 .smart-mission-kpis .project-kpi small{font-size:.56rem!important}
.smart-buoy-workspace.v1294 .smart-mission-kpis .project-kpi strong{font-size:.98rem!important}
.smart-buoy-workspace.v1294 .smart-mission-kpis .project-kpi em{font-size:.52rem!important}

@media(max-width:1380px){
  .smart-buoy-workspace.v1294 .smart-local-weather-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:1180px){
  .smart-buoy-workspace.v1294 .smart-unified-head{align-items:flex-start!important;flex-direction:column!important;gap:7px!important}
  .smart-buoy-workspace.v1294 .smart-unified-title{width:100%!important}
  .smart-buoy-workspace.v1294 .smart-command-status{width:100%!important;justify-content:space-between!important}
}
@media(max-width:820px){
  .smart-buoy-workspace.v1294 .smart-unified-title{align-items:flex-start!important;flex-wrap:wrap!important;white-space:normal!important;gap:5px 8px!important}
  .smart-buoy-workspace.v1294 .smart-unified-title h1{font-size:1.12rem!important}
  .smart-buoy-workspace.v1294 .smart-unified-station{border-left:0;padding-left:0;font-size:.78rem!important}
  .smart-buoy-workspace.v1294 .smart-unified-title small{width:100%;font-size:.6rem!important}
  .smart-buoy-workspace.v1294 .smart-command-status{align-items:flex-start!important;flex-direction:column!important}
  .smart-buoy-workspace.v1294 .smart-command-status .actions{width:100%!important;overflow-x:auto!important;padding-bottom:2px}
  .smart-buoy-workspace.v1294 .smart-local-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
  .smart-buoy-workspace.v1294 .smart-local-weather-grid{grid-template-columns:1fr!important}
}

/* v1.29.6 — Akıllı Şamandıra: daha kompakt üst başlık, iki satır hava istasyonu, yüksek harita */
.portfolio-content:has(.smart-buoy-workspace.v1295){padding-top:8px}

.smart-buoy-workspace.v1295 .smart-unified-head{
  padding:10px 14px!important;
  gap:12px!important;
  align-items:center!important;
}
.smart-buoy-workspace.v1295 .smart-unified-title{
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
.smart-buoy-workspace.v1295 .smart-unified-title h1{
  margin:0!important;
  font-size:1.5rem!important;
  line-height:1.05!important;
  flex:0 0 auto!important;
}
.smart-buoy-workspace.v1295 .smart-unified-title small{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  font-size:.8rem!important;
  color:#a9cfdd!important;
}
.smart-buoy-workspace.v1295 .smart-command-status .badge{font-size:.68rem!important}
.smart-buoy-workspace.v1295 .smart-command-status .btn{font-size:.67rem!important;padding:8px 12px!important}

.smart-buoy-workspace.v1295 .smart-local-weather-card{
  padding:8px 10px!important;
}
.smart-buoy-workspace.v1295 .smart-local-weather-card .card-title{
  margin-bottom:7px!important;
  align-items:flex-start!important;
}
.smart-buoy-workspace.v1295 .smart-local-weather-card .card-title h2{font-size:1.02rem!important}
.smart-buoy-workspace.v1295 .smart-local-weather-card .card-title p{
  font-size:.62rem!important;
  line-height:1.4!important;
  margin-top:2px!important;
  white-space:normal!important;
}
.smart-buoy-workspace.v1295 .smart-local-weather-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:6px!important;
}
.smart-buoy-workspace.v1295 .smart-local-weather-item{
  grid-template-columns:30px minmax(0,1fr)!important;
  min-height:54px!important;
  padding:7px 8px!important;
}
.smart-buoy-workspace.v1295 .smart-local-weather-item small{font-size:.54rem!important}
.smart-buoy-workspace.v1295 .smart-local-weather-item strong{font-size:.86rem!important}
.smart-buoy-workspace.v1295 .smart-local-weather-item em{font-size:.49rem!important}

.smart-buoy-workspace.v1295 .smart-maxbotix-card .card-title{margin-bottom:6px!important}
.smart-buoy-workspace.v1295 .smart-maxbotix-card .card-title h2{font-size:1rem!important}
.smart-buoy-workspace.v1295 .smart-wave-note{display:none!important}

.smart-buoy-workspace.v1295 .smart-primary-three{
  height:495px!important;
}
.smart-buoy-workspace.v1295 .smart-map-fullscreen-shell,
.smart-buoy-workspace.v1295 .smart-map-fullscreen-shell>.smart-map-card,
.smart-buoy-workspace.v1295 .smart-camera-card,
.smart-buoy-workspace.v1295 .smart-primary-side{
  height:495px!important;
}
.smart-buoy-workspace.v1295 .smart-primary-side{grid-template-rows:minmax(0,.9fr) minmax(0,1.1fr)!important}
.smart-buoy-workspace.v1295 .smart-map-card .smart-buoy-map{height:100%!important;min-height:0!important}
.smart-buoy-workspace.v1295 .smart-camera-frame.tall,.smart-buoy-workspace.v1295 .smart-camera-frame.tall .smart-buoy-camera-image,.smart-buoy-workspace.v1295 .smart-camera-frame.tall .smart-demo-video{height:100%!important;min-height:0!important}

.smart-buoy-workspace.v1295 .smart-quality-panel{
  display:grid!important;
  grid-template-columns:minmax(230px,.95fr) minmax(0,1.05fr)!important;
  gap:10px!important;
  align-items:stretch!important;
}
.smart-buoy-workspace.v1295 .current-gauge.compact{
  grid-template-columns:130px minmax(0,1fr)!important;
  gap:10px!important;
  padding:4px!important;
  align-items:center!important;
}
.smart-buoy-workspace.v1295 .current-gauge.compact .current-compass{
  width:118px!important;height:118px!important;
}
.smart-buoy-workspace.v1295 .current-gauge.compact .current-arrow{top:12px!important}
.smart-buoy-workspace.v1295 .current-reading strong{font-size:1.85rem!important}
.smart-buoy-workspace.v1295 .current-reading span{font-size:.8rem!important}
.smart-buoy-workspace.v1295 .current-reading em{font-size:.72rem!important}
.smart-buoy-workspace.v1295 .smart-quality-grid.two-by-three{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  align-content:start!important;
}
.smart-buoy-workspace.v1295 .smart-quality-grid.two-by-three>div{min-height:54px!important}

@media(max-width:1450px){
  .smart-buoy-workspace.v1295 .smart-primary-three{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;height:auto!important}
  .smart-buoy-workspace.v1295 .smart-map-fullscreen-shell,
  .smart-buoy-workspace.v1295 .smart-map-fullscreen-shell>.smart-map-card,
  .smart-buoy-workspace.v1295 .smart-camera-card{height:450px!important}
  .smart-buoy-workspace.v1295 .smart-primary-side{grid-column:1/-1;grid-template-columns:1fr 1fr!important;grid-template-rows:auto!important;height:240px!important}
  .smart-buoy-workspace.v1295 .smart-primary-side .smart-side-card{height:240px!important}
}
@media(max-width:1180px){
  .smart-buoy-workspace.v1295 .smart-unified-head{align-items:flex-start!important;flex-direction:column!important}
  .smart-buoy-workspace.v1295 .smart-unified-title{width:100%!important;white-space:normal!important;flex-wrap:wrap!important}
  .smart-buoy-workspace.v1295 .smart-command-status{width:100%!important;justify-content:space-between!important}
  .smart-buoy-workspace.v1295 .smart-quality-panel{grid-template-columns:1fr!important}
}
@media(max-width:820px){
  .smart-buoy-workspace.v1295 .smart-local-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .smart-buoy-workspace.v1295 .smart-primary-three{grid-template-columns:1fr!important}
  .smart-buoy-workspace.v1295 .smart-map-fullscreen-shell,
  .smart-buoy-workspace.v1295 .smart-map-fullscreen-shell>.smart-map-card,
  .smart-buoy-workspace.v1295 .smart-camera-card{height:340px!important}
  .smart-buoy-workspace.v1295 .smart-primary-side{grid-column:auto;grid-template-columns:1fr!important;height:auto!important}
  .smart-buoy-workspace.v1295 .smart-primary-side .smart-side-card{height:220px!important}
}
@media(max-width:560px){
  .smart-buoy-workspace.v1295 .smart-local-weather-grid{grid-template-columns:1fr!important}
  .smart-buoy-workspace.v1295 .smart-quality-grid.two-by-three{grid-template-columns:1fr!important}
}

/* v1.29.6 — Yerel ölçümler: masaüstünde tek sıra, gereksiz bölüm başlığı kaldırıldı */
.smart-buoy-workspace.v1296 .smart-local-section{padding-top:0!important;margin-top:0!important}
.smart-buoy-workspace.v1296 .smart-local-sensor-layout{margin-top:0!important}
.smart-buoy-workspace.v1296 .smart-local-weather-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:6px!important}
.smart-buoy-workspace.v1296 .smart-local-weather-card{padding:8px 10px!important}
.smart-buoy-workspace.v1296 .smart-local-weather-card .card-title{margin-bottom:6px!important}
.smart-buoy-workspace.v1296 .smart-local-weather-card .card-title p{margin-top:1px!important;line-height:1.2!important}
@media(max-width:1380px){
  .smart-buoy-workspace.v1296 .smart-local-weather-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(max-width:820px){
  .smart-buoy-workspace.v1296 .smart-local-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .smart-buoy-workspace.v1296 .smart-local-weather-grid{grid-template-columns:1fr!important}
}

/* v1.31.0 — Meyil Deneyi / Draft Survey eğitim ve bağlamsal yardım */
.inclining-reference-note{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;margin:10px 0 0;padding:10px 12px;border:1px solid #b9dce8;border-radius:11px;background:linear-gradient(135deg,#f4fbfd,#eef8fb);color:#18364a;font-size:.72rem;line-height:1.45}
.inclining-reference-note strong{white-space:nowrap;color:#0c6071;font-size:.72rem}
.inclining-reference-note span{min-width:0}
.inclining-reference-note b{color:#0b7285}
.inclining-reference-note.compact{grid-template-columns:auto minmax(0,1fr);margin:8px 0}

.help-academy-intro{margin-top:12px;display:grid;gap:12px}
.help-academy-intro h2{margin:2px 0 6px}
.help-academy-intro p{margin:0;color:var(--muted);line-height:1.6}
.help-relation-flow{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;padding:10px;border-radius:12px;background:linear-gradient(135deg,#062235,#0b3b4d);color:#eafaff}
.help-relation-flow span{padding:6px 9px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.07);font-size:.67rem;font-weight:850}
.help-relation-flow b{color:#55d6d0}
.help-academy-grid{display:grid;gap:8px;margin-top:10px}
.help-academy-module{overflow:hidden;border-radius:14px}
.help-academy-module>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:linear-gradient(180deg,#fff,#f7fafc)}
.help-academy-module>summary::-webkit-details-marker{display:none}
.help-academy-module>summary>div{display:grid;grid-template-columns:auto 1fr;column-gap:9px;align-items:center}
.help-academy-module>summary strong{font-size:.92rem;color:var(--text)}
.help-academy-module>summary small{grid-column:2;color:var(--muted);font-size:.62rem;margin-top:2px}
.help-academy-module>summary em{font-style:normal;font-size:1rem;color:var(--muted);transition:transform .18s ease}
.help-academy-module[open]>summary em{transform:rotate(180deg)}
.help-topic-no{grid-row:1/span 2;display:grid;place-items:center;min-width:42px;height:36px;padding:0 7px;border-radius:10px;background:#083349;color:#6ee7df;font-size:.62rem;font-weight:950;letter-spacing:.04em}
.help-academy-body{padding:12px 14px 14px;border-top:1px solid var(--line)}
.help-academy-body>p{margin:0 0 10px;line-height:1.58;color:var(--muted)}
.help-academy-body h3{margin:12px 0 6px;font-size:.85rem}
.help-learning-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.help-learning-grid article{padding:11px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft)}
.help-learning-grid h3{margin:0 0 6px;color:var(--text)}
.help-learning-grid p{margin:0 0 7px;color:var(--muted);font-size:.7rem;line-height:1.55}
.help-learning-grid p:last-child{margin-bottom:0}
.help-formula-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px}
.help-formula{display:grid;gap:4px;padding:10px 11px;border:1px solid #cfe1e8;border-radius:11px;background:#f7fbfc}
.help-formula span{font-size:.58rem;font-weight:900;color:#547184;text-transform:uppercase;letter-spacing:.03em}
.help-formula code{display:block;overflow-x:auto;padding:7px 8px;border-radius:8px;background:#08283b;color:#e7fbff;font-size:.75rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:nowrap}
.help-formula small{font-size:.6rem;color:#71869a;line-height:1.4}
.help-sign-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:8px}
.help-sign-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.help-sign-grid>div{display:grid;gap:3px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}
.help-sign-grid strong{font-size:.68rem;color:var(--text)}
.help-sign-grid span{font-size:.63rem;color:var(--muted)}
.help-report-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.help-report-flow>div{display:grid;grid-template-columns:29px 1fr;column-gap:7px;padding:9px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}
.help-report-flow b{grid-row:1/span 2;width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:#0b7285;color:white;font-size:.67rem}
.help-report-flow span{font-size:.68rem;font-weight:900;color:var(--text)}
.help-report-flow small{font-size:.57rem;color:var(--muted);margin-top:2px}
.help-source-note{margin:10px 0 0!important;padding:9px 10px;border-radius:10px;background:#fff8e8;color:#77560b!important;font-size:.68rem}
.help-field-check{margin-top:10px}

@media(max-width:1050px){
  .inclining-reference-note{grid-template-columns:1fr}.inclining-reference-note strong{white-space:normal}.inclining-reference-note .btn{justify-self:start}
  .help-learning-grid{grid-template-columns:1fr}
  .help-sign-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
  .help-report-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .help-formula-grid,.help-sign-grid,.help-sign-grid.four,.help-report-flow{grid-template-columns:1fr}
  .help-academy-module>summary{padding:10px}.help-academy-body{padding:10px}
  .help-relation-flow{justify-content:flex-start}
}

/* v1.31.0 — Smart Buoy: v1.29.6 sonrasındaki saha patchlerini kalıcılaştır. */
/* HD-MCWSU-02: masaüstünde 10 ölçüm tek satır; responsive sadece gerçek dar ekranlarda kırılır. */
@media(min-width:1000px){
  body .smart-buoy-workspace.v1296 .smart-local-weather-card .smart-local-weather-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important;gap:5px!important}
}
@media(max-width:999px){body .smart-buoy-workspace.v1296 .smart-local-weather-card .smart-local-weather-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:650px){body .smart-buoy-workspace.v1296 .smart-local-weather-card .smart-local-weather-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
body .smart-buoy-workspace.v1296 .smart-local-weather-item{min-width:0!important;padding:6px 5px!important;grid-template-columns:26px minmax(0,1fr)!important;gap:5px!important}
body .smart-buoy-workspace.v1296 .smart-local-weather-icon{width:26px!important;height:26px!important;min-width:26px!important;font-size:.75rem!important}
body .smart-buoy-workspace.v1296 .smart-local-weather-item small,body .smart-buoy-workspace.v1296 .smart-local-weather-item strong,body .smart-buoy-workspace.v1296 .smart-local-weather-item em{white-space:nowrap!important}

/* Harita hızlı araçları: üç sütunlu kısa panel. */
.smart-map-fab-stack.restored.grouped{width:100px!important;max-width:100px!important;padding:4px!important;gap:3px!important;max-height:calc(100% - 12px)!important;overflow-y:auto!important;overflow-x:hidden!important;left:8px!important;top:6px!important}
.smart-map-fab-stack.restored.grouped .smart-quick-group{display:grid!important;grid-template-columns:repeat(3,28px)!important;gap:3px!important;padding:3px!important;width:auto!important}
.smart-map-fab-stack.restored.grouped .smart-quick-group-label{grid-column:1/-1!important;width:100%!important;max-width:none!important;text-align:center!important;font-size:6px!important;line-height:1.05!important;padding:1px 0 2px!important}
.smart-map-fab-stack.restored.grouped button{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;padding:0!important;border-radius:7px!important;font-size:.70rem!important}
.smart-map-fab-stack.restored.grouped .smart-quick-primary{grid-template-columns:repeat(3,28px)!important}
.smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{grid-column:1/-1!important;width:90px!important;min-width:90px!important;height:29px!important}
.smart-map-drawer{left:114px!important}

/* Gerçek browser fullscreen: 495px normal harita yüksekliğinin fullscreen'i kısıtlamasını engeller. */
.smart-buoy-workspace.v1296 .smart-map-fullscreen-shell:fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;min-width:100vw!important;min-height:100vh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;display:flex!important;align-items:stretch!important;overflow:hidden!important;background:#061626!important;z-index:2147483647!important}
.smart-buoy-workspace.v1296 .smart-map-fullscreen-shell:fullscreen>.smart-map-card{position:relative!important;width:100%!important;height:100vh!important;min-height:100vh!important;max-height:none!important;margin:0!important;padding:8px!important;display:flex!important;flex-direction:column!important;border-radius:0!important;box-sizing:border-box!important;overflow:hidden!important;background:#061626!important}
.smart-buoy-workspace.v1296 .smart-map-fullscreen-shell:fullscreen .smart-map-card>.card-title{flex:0 0 auto!important;margin-bottom:5px!important}
.smart-buoy-workspace.v1296 .smart-map-fullscreen-shell:fullscreen .smart-map-wrap{position:relative!important;flex:1 1 0!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
.smart-buoy-workspace.v1296 .smart-map-fullscreen-shell:fullscreen .smart-buoy-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;border-radius:8px!important}
.smart-buoy-workspace.v1296 .smart-map-fullscreen-shell:fullscreen .smart-map-statusbar{position:absolute!important;left:120px!important;right:auto!important;bottom:8px!important;z-index:650!important;margin:0!important;max-width:calc(100% - 300px)!important;background:rgba(7,24,39,.82)!important;color:#e6f5fb!important;border-radius:9px!important;padding:5px 9px!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped{width:106px!important;max-width:106px!important;left:8px!important;top:8px!important;max-height:calc(100vh - 16px)!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-group{grid-template-columns:repeat(3,30px)!important;gap:3px!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped button{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;font-size:.73rem!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-fab-stack.restored.grouped .smart-quick-primary .primary-tool{width:96px!important;min-width:96px!important;height:31px!important}
.smart-map-fullscreen-shell:fullscreen .smart-map-drawer{left:120px!important}

/* ========================================================================== */
/* v1.31.0 — Cihaz Test & Karşılaştırma Laboratuvarı                          */
/* ========================================================================== */
.lab-page-head{margin-bottom:10px}.lab-page-head h1{margin-bottom:3px}.lab-page-head p{max-width:1100px}
.lab-intro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.lab-intro-grid .card{border-top:3px solid #0f8b8d}.lab-intro-grid h2{margin:0 0 6px;font-size:1rem}.lab-intro-grid p{margin:0;color:var(--muted);font-size:.72rem;line-height:1.55}
.device-lab-layout{display:grid;grid-template-columns:minmax(285px,330px) minmax(0,1fr);gap:10px;align-items:start}.lab-control-rail{display:grid;gap:9px;position:sticky;top:68px;max-height:calc(100vh - 78px);overflow:auto;scrollbar-width:thin;padding-right:2px}.lab-control-card{padding:11px!important;border-radius:14px!important}.lab-control-card h2,.lab-control-card h3{margin:0}.lab-control-card .card-title{margin-bottom:8px}.lab-label,.lab-control-card .field label{font-size:.59rem;font-weight:900;color:var(--muted);letter-spacing:.02em}.lab-control-actions{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}.lab-control-actions .btn:only-child{grid-column:1/-1}.lab-control-actions .btn{font-size:.63rem;padding:7px 8px}.lab-info-pairs{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:8px}.lab-info-pairs span{display:flex;flex-direction:column;padding:6px 7px;border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;font-size:.51rem;color:var(--muted)}.lab-info-pairs b{font-size:.64rem;color:var(--text);margin-top:2px}.two-input{display:grid;grid-template-columns:1fr 1fr;gap:6px}.lab-control-card .field{margin-bottom:6px}.lab-control-card .input,.lab-control-card .select{min-height:34px;padding:6px 8px;font-size:.68rem}.lab-control-card .input-unit span{font-size:.58rem}.lab-status{display:inline-flex;align-items:center;justify-content:center;min-width:66px;padding:5px 8px;border-radius:999px;font-size:.54rem;font-weight:950;text-transform:uppercase;letter-spacing:.04em}.lab-status.draft{background:#e2e8f0;color:#475569}.lab-status.running{background:#d1fae5;color:#047857}.lab-status.paused{background:#fef3c7;color:#a16207}.lab-status.completed{background:#dbeafe;color:#1d4ed8}
.lab-stage-list{display:grid;gap:4px;margin-top:8px;max-height:150px;overflow:auto}.lab-stage-row{display:grid;grid-template-columns:22px minmax(0,1fr);gap:6px;align-items:center;padding:5px 6px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft)}.lab-stage-row>span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#e2edf3;color:#38556a;font-size:.55rem;font-weight:900}.lab-stage-row strong,.lab-stage-row small{display:block}.lab-stage-row strong{font-size:.62rem}.lab-stage-row small{font-size:.49rem;color:var(--muted);margin-top:1px}.lab-stage-row.active{border-color:#14b8a6;background:rgba(20,184,166,.08)}.lab-stage-row.active>span{background:#0f8b8d;color:#fff}
.lab-analysis-main{min-width:0;display:grid;gap:9px}.lab-live-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:7px}.lab-device-live{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:8px 9px;min-width:0}.lab-device-head{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:7px;align-items:center}.lab-device-dot{width:9px;height:9px;border-radius:50%;background:var(--lab-color);box-shadow:0 0 0 4px color-mix(in srgb,var(--lab-color) 14%, transparent)}.lab-device-head strong,.lab-device-head small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-device-head strong{font-size:.72rem}.lab-device-head small{font-size:.48rem;color:var(--muted);margin-top:1px}.lab-device-head .fleet-status{font-size:.47rem;padding:4px 6px}.lab-live-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:7px}.lab-live-values div{padding:5px 6px;background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;min-width:0}.lab-live-values span,.lab-live-values b{display:block}.lab-live-values span{font-size:.47rem;color:var(--muted);font-weight:850}.lab-live-values b{font-size:.66rem;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lab-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.lab-kpi-grid>div{padding:8px 9px;border:1px solid var(--line);background:var(--surface);border-radius:11px;min-width:0}.lab-kpi-grid span,.lab-kpi-grid strong,.lab-kpi-grid small{display:block}.lab-kpi-grid span{font-size:.51rem;color:var(--muted);font-weight:850}.lab-kpi-grid strong{font-size:.83rem;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-kpi-grid small{font-size:.47rem;color:var(--muted);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lab-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.lab-chart-card{padding:9px!important;border-radius:13px!important;min-width:0;overflow:hidden}.lab-chart-card.span-2{grid-column:1/-1}.lab-chart-card .card-title{margin-bottom:4px}.lab-chart-card h2{font-size:.82rem!important}.lab-chart-card p{font-size:.51rem!important}.lab-chart-card canvas{display:block;width:100%;height:auto;min-width:0}
.lab-stat-table th,.lab-stat-table td{white-space:nowrap;font-size:.57rem;padding:7px}.lab-stat-table td strong,.lab-stat-table td small{display:block}.lab-stat-table td small{color:var(--muted);font-size:.46rem;margin-top:1px}.lab-ranking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.lab-rank-row{display:grid;grid-template-columns:24px minmax(110px,1fr) auto;grid-template-areas:'rank name score' 'rank detail detail';gap:2px 7px;align-items:center;padding:6px 8px;border:1px solid var(--line);border-radius:9px;background:var(--surface-soft)}.lab-rank-row>span{grid-area:rank;width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:#e2e8f0;color:#475569;font-size:.58rem;font-weight:950}.lab-rank-row>div{grid-area:name;min-width:0}.lab-rank-row strong,.lab-rank-row small{display:block}.lab-rank-row strong{font-size:.61rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-rank-row small{font-size:.48rem;color:var(--muted)}.lab-rank-row>b{grid-area:score;font-size:.63rem}.lab-rank-row>em{grid-area:detail;font-style:normal;font-size:.48rem;color:var(--muted)}.lab-rank-row.top{border-color:#2dd4bf;background:rgba(20,184,166,.06)}.lab-rank-row.top>span{background:#0f8b8d;color:#fff}
.lab-protocol-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.lab-protocol-grid>div{display:flex;flex-direction:column;padding:9px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.lab-protocol-grid strong{font-size:.68rem}.lab-protocol-grid span{font-size:.55rem;color:var(--muted);line-height:1.45;margin-top:3px}
.lab-new-modal{width:min(1050px,94vw)!important;max-height:92vh;overflow:auto}.lab-device-select-list{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:10px 0}.lab-device-select{display:grid;grid-template-columns:auto minmax(150px,1fr) 120px minmax(130px,.7fr);gap:7px;align-items:center;padding:8px;border:1px solid var(--line);background:var(--surface-soft);border-radius:10px}.lab-device-select>input[type=checkbox]{width:18px;height:18px}.lab-device-select-main{min-width:0}.lab-device-select-main strong,.lab-device-select-main small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-device-select-main strong{font-size:.67rem}.lab-device-select-main small{font-size:.5rem;color:var(--muted);margin-top:2px}.lab-device-select .select,.lab-device-select .input{min-height:34px;font-size:.61rem}.lab-modal-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:10px}.lab-modal-foot span{max-width:650px;line-height:1.5}

@media(max-width:1450px){.device-lab-layout{grid-template-columns:270px minmax(0,1fr)}.lab-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.lab-live-values{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-ranking-grid{grid-template-columns:1fr}}
@media(max-width:1100px){.device-lab-layout{grid-template-columns:1fr}.lab-control-rail{position:static;max-height:none;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible}.lab-chart-grid{grid-template-columns:1fr}.lab-chart-card.span-2{grid-column:auto}.lab-protocol-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-device-select-list{grid-template-columns:1fr}}
@media(max-width:760px){.lab-intro-grid,.lab-control-rail,.lab-kpi-grid,.lab-protocol-grid{grid-template-columns:1fr}.lab-device-select{grid-template-columns:auto minmax(0,1fr)}.lab-device-select .select,.lab-device-select .input{grid-column:2}.lab-modal-foot{align-items:stretch;flex-direction:column}.lab-control-actions{grid-template-columns:1fr}.lab-live-strip{grid-template-columns:1fr}.lab-live-values{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.lab-live-values{grid-template-columns:repeat(2,minmax(0,1fr))}.two-input{grid-template-columns:1fr}}

/* ========================================================================== */
/* v1.32.2 — Cihaz laboratuvarı GUI / veri akışı / sağlamlık iyileştirmeleri  */
/* ========================================================================== */
.lab-runtime-bar{display:grid;grid-template-columns:minmax(190px,.7fr) minmax(0,2.3fr);grid-template-areas:'title metrics' 'devices devices';gap:7px 10px;align-items:center;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0}
.lab-runtime-title{grid-area:title;display:flex;align-items:center;gap:8px;min-width:0}.lab-runtime-title>div{min-width:0}.lab-runtime-title strong,.lab-runtime-title small{display:block}.lab-runtime-title strong{font-size:.72rem}.lab-runtime-title small{font-size:.49rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}.lab-runtime-pulse{width:9px;height:9px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.13);animation:labPulse 1.6s ease-in-out infinite}@keyframes labPulse{0%,100%{opacity:.55}50%{opacity:1;box-shadow:0 0 0 7px rgba(16,185,129,.04)}}
.lab-runtime-metrics{grid-area:metrics;display:grid;grid-template-columns:repeat(6,minmax(74px,1fr));gap:4px;min-width:0}.lab-runtime-metrics>span{display:flex;flex-direction:column;padding:5px 7px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);min-width:0;color:var(--muted);font-size:.45rem}.lab-runtime-metrics b{color:var(--text);font-size:.68rem;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-runtime-metrics small{font-size:.42rem;margin-top:1px;white-space:nowrap}
.lab-runtime-devices{grid-area:devices;display:flex;gap:5px;flex-wrap:wrap;min-width:0}.lab-runtime-devices>span{display:grid;grid-template-columns:7px auto minmax(0,1fr);align-items:center;gap:5px;padding:4px 7px;border:1px solid var(--line);border-radius:999px;background:var(--surface-soft);min-width:0;max-width:360px}.lab-runtime-devices i{width:7px;height:7px;border-radius:50%;background:var(--lab-color)}.lab-runtime-devices b{font-size:.5rem;white-space:nowrap}.lab-runtime-devices em{font-style:normal;font-size:.45rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lab-advanced-selects{margin-top:4px;padding-top:7px;border-top:1px dashed var(--line)}
.lab-control-card>.btn[data-action="device-lab-apply-analysis"]{width:100%;margin-top:3px}
.lab-stat-table tbody:empty:after{content:'Veri bekleniyor';display:table-row;color:var(--muted)}
#device-lab-data-quality td:nth-child(n+2),#device-lab-stats td:nth-child(n+2){font-variant-numeric:tabular-nums}

@media(max-width:1450px){.lab-runtime-bar{grid-template-columns:1fr;grid-template-areas:'title' 'metrics' 'devices'}.lab-runtime-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.lab-runtime-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-runtime-devices{display:grid;grid-template-columns:1fr}.lab-runtime-devices>span{max-width:none}.lab-runtime-bar{padding:7px}}

/* v1.32.2 QA polish — okunabilirlik, canlı akış durumu ve tablet yerleşimi */
.lab-runtime-bar.has-error{border-color:#ef4444;background:color-mix(in srgb,#ef4444 5%,var(--surface))}.lab-runtime-bar.has-error .lab-runtime-pulse{background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.13)}
.lab-runtime-bar.is-warning{border-color:#f59e0b}.lab-runtime-bar.is-warning .lab-runtime-pulse{background:#f59e0b;box-shadow:0 0 0 4px rgba(245,158,11,.13)}
.lab-runtime-bar.is-idle .lab-runtime-pulse{background:#94a3b8;box-shadow:0 0 0 4px rgba(148,163,184,.12);animation:none}
.lab-control-card .field label,.lab-label{font-size:.62rem}.lab-control-card .input,.lab-control-card .select{font-size:.72rem}.lab-info-pairs span{font-size:.55rem}.lab-info-pairs b{font-size:.68rem}.lab-stage-row strong{font-size:.66rem}.lab-stage-row small{font-size:.52rem}.lab-device-head strong{font-size:.76rem}.lab-device-head small{font-size:.52rem}.lab-live-values span{font-size:.5rem}.lab-live-values b{font-size:.7rem}.lab-runtime-title strong{font-size:.76rem}.lab-runtime-title small{font-size:.52rem}.lab-runtime-metrics>span{font-size:.48rem}.lab-runtime-metrics b{font-size:.72rem}.lab-runtime-metrics small{font-size:.45rem}.lab-stat-table th,.lab-stat-table td{font-size:.6rem}.lab-chart-card h2{font-size:.88rem!important}.lab-chart-card p{font-size:.55rem!important}

@media(max-width:900px){
  .lab-control-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .lab-control-rail>.lab-control-card:last-child{grid-column:1/-1}
  .lab-runtime-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:680px){
  .lab-control-rail{grid-template-columns:1fr!important}
  .lab-control-rail>.lab-control-card:last-child{grid-column:auto}
  .lab-live-values{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lab-runtime-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ========================================================================== */
/* v1.32.2 — Lab tam GUI: inline cihaz, metod/filtre matrisi, zaman kontrolleri */
/* ========================================================================== */
.lab-inline-setup{margin-bottom:10px;overflow:hidden}
.lab-inline-setup .card-title{margin-bottom:8px}
.lab-inline-setup-top{display:grid;grid-template-columns:minmax(240px,1.6fr) minmax(150px,.55fr) auto;gap:8px;align-items:end}
.lab-inline-setup-top .field{margin:0}.lab-inline-setup-top .btn{min-height:38px;white-space:nowrap}
.lab-device-select-list.inline{grid-template-columns:repeat(auto-fit,minmax(440px,1fr));margin:9px 0 0}
.lab-setup-device{display:grid;grid-template-columns:auto auto minmax(180px,1fr) 110px minmax(115px,.7fr);gap:8px;align-items:center;padding:9px;border:1px solid var(--line);border-radius:11px;background:var(--surface-soft);min-width:0;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s}
.lab-setup-device:hover{border-color:#f59e0b;box-shadow:0 5px 15px rgba(15,23,42,.06);transform:translateY(-1px)}
.lab-setup-device.online{border-color:color-mix(in srgb,#10b981 35%,var(--line))}.lab-setup-device>input[type=checkbox]{width:18px;height:18px;accent-color:#0f8b8d}.lab-setup-status{display:inline-flex;align-items:center;gap:4px;font-size:.5rem;font-weight:950;color:var(--muted);white-space:nowrap}.lab-setup-status i{width:7px;height:7px;border-radius:50%;background:#94a3b8}.lab-setup-device.online .lab-setup-status{color:#047857}.lab-setup-device.online .lab-setup-status i{background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.12)}
.lab-setup-device-main{min-width:0}.lab-setup-device-main>strong,.lab-setup-device-main>small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-setup-device-main>strong{font-size:.7rem}.lab-setup-device-main>small{font-size:.51rem;color:var(--muted);margin-top:2px}.lab-setup-live{display:flex;gap:8px;flex-wrap:wrap;margin-top:5px}.lab-setup-live span{font-size:.49rem;color:var(--muted)}.lab-setup-live b{color:var(--text);font-size:.62rem}.lab-setup-device>.select,.lab-setup-device>.input{min-height:34px;font-size:.62rem;padding:6px 7px}

.device-lab-layout{grid-template-columns:minmax(360px,430px) minmax(0,1fr)}
.lab-control-rail.wide{position:sticky;top:68px;max-height:calc(100vh - 78px);overflow:auto;align-content:start}
.lab-signal-control{overflow:visible}
.lab-method-columns{display:grid;grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr);gap:8px;margin-top:8px}.lab-method-columns>div{min-width:0;border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;padding:7px}.lab-subhead{display:flex;align-items:baseline;justify-content:space-between;gap:7px;margin-bottom:5px}.lab-subhead strong{font-size:.65rem}.lab-subhead small{font-size:.46rem;color:var(--muted);text-align:right}
.lab-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;max-height:248px;overflow:auto;padding-right:2px;scrollbar-width:thin}.lab-check-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));max-height:248px}.lab-check-row{display:flex;align-items:center;gap:5px;min-width:0;padding:5px 6px;border:1px solid var(--line);border-radius:7px;background:var(--surface);cursor:pointer;user-select:none}.lab-check-row:hover{border-color:#0f8b8d;background:color-mix(in srgb,#0f8b8d 5%,var(--surface))}.lab-check-row input{width:14px;height:14px;flex:0 0 auto;accent-color:#0f8b8d}.lab-check-row span{font-size:.52rem;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lab-parameter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:8px;padding-top:8px;border-top:1px dashed var(--line)}.lab-parameter-grid .field{margin:0}.lab-parameter-grid label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-parameter-grid .input{width:100%}
.lab-range{width:100%;accent-color:#0f8b8d;margin-top:5px}.lab-range-labels{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:.47rem;margin-top:1px}.lab-toggle-row{display:flex;align-items:center;gap:7px;margin:7px 0;padding:6px 7px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);font-size:.57rem;font-weight:800}.lab-toggle-row input{accent-color:#0f8b8d}
.lab-method-plan-status{padding:7px;border:1px solid color-mix(in srgb,#0f8b8d 30%,var(--line));background:color-mix(in srgb,#0f8b8d 4%,var(--surface));border-radius:10px;margin:7px 0}.lab-plan-current{display:grid;grid-template-columns:auto 1fr auto;gap:6px;align-items:center}.lab-plan-current span{font-size:.48rem;color:var(--muted);font-weight:850}.lab-plan-current strong{font-size:.68rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-plan-current small{font-size:.47rem;color:var(--muted);white-space:nowrap}.lab-plan-progress{height:4px;background:var(--line);border-radius:999px;overflow:hidden;margin:5px 0}.lab-plan-progress i{display:block;height:100%;background:linear-gradient(90deg,#0f8b8d,#2dd4bf);border-radius:inherit}.lab-plan-sequence{display:flex;gap:4px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.lab-plan-sequence span{display:flex;align-items:center;gap:4px;flex:0 0 auto;padding:3px 5px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-size:.46rem;color:var(--muted)}.lab-plan-sequence span.active{background:#0f8b8d;color:white;border-color:#0f8b8d}.lab-plan-sequence b{font-size:.42rem;opacity:.8}
.lab-advanced-selects{display:grid;grid-template-columns:1fr 1fr;gap:6px}.lab-advanced-selects>.field{margin:0}.lab-advanced-selects>.two-input,.lab-advanced-selects>.form-note{grid-column:1/-1}

.lab-chart-toolbar{padding:8px 9px!important;border-radius:12px!important;display:grid;grid-template-columns:auto minmax(280px,1fr);grid-template-areas:'tools nav' 'hint hint';gap:6px 10px;align-items:center;position:sticky;top:62px;z-index:7;box-shadow:0 6px 18px rgba(15,23,42,.06)}.lab-chart-tools{grid-area:tools;display:flex;gap:4px;flex-wrap:wrap}.lab-chart-tools .btn{padding:6px 8px;font-size:.55rem;min-width:34px}.lab-chart-nav{grid-area:nav;display:grid;grid-template-columns:minmax(120px,1fr) 110px 78px minmax(130px,auto);gap:6px;align-items:center}.lab-chart-nav input[type=range]{width:100%;accent-color:#0f8b8d}.lab-chart-nav .select{min-height:32px;padding:5px 6px;font-size:.57rem}.lab-chart-nav>span{font-size:.5rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-chart-toolbar>small{grid-area:hint;color:var(--muted);font-size:.48rem}.lab-chart-card canvas[data-lab-time-chart]{cursor:crosshair}
.lab-pair-summary:empty{display:none}.lab-pair-summary{padding:9px 10px!important}.lab-pair-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.lab-pair-metrics>div{padding:7px;border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;min-width:0}.lab-pair-metrics span,.lab-pair-metrics strong{display:block}.lab-pair-metrics span{font-size:.49rem;color:var(--muted);font-weight:850}.lab-pair-metrics strong{font-size:.75rem;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}

/* Dark mode: Yardım akademik kartları ve Lab açık yüzeylerinde kontrast */
:root[data-theme="dark"] .help-academy-module{background:var(--surface)!important;border-color:var(--line)!important;color:var(--text)!important}
:root[data-theme="dark"] .help-academy-module>summary{background:linear-gradient(180deg,#17243a,#131e31)!important;color:#f2f7ff!important}
:root[data-theme="dark"] .help-academy-module>summary strong{color:#f4f8ff!important}
:root[data-theme="dark"] .help-academy-module>summary small,:root[data-theme="dark"] .help-academy-module>summary em{color:#b9c8dc!important}
:root[data-theme="dark"] .help-academy-body{background:var(--surface)!important;color:#dbe7f5!important}
:root[data-theme="dark"] .help-academy-body p,:root[data-theme="dark"] .help-source-note{color:#c8d5e5!important}
:root[data-theme="dark"] .help-formula,:root[data-theme="dark"] .help-sign-grid>div,:root[data-theme="dark"] .help-report-flow>div{background:#121f33!important;border-color:#30435e!important;color:#eef5ff!important}
:root[data-theme="dark"] .help-formula small,:root[data-theme="dark"] .help-sign-grid span,:root[data-theme="dark"] .help-report-flow small{color:#b6c7da!important}
:root[data-theme="dark"] .lab-check-row,:root[data-theme="dark"] .lab-method-columns>div,:root[data-theme="dark"] .lab-setup-device,:root[data-theme="dark"] .lab-method-plan-status,:root[data-theme="dark"] .lab-chart-toolbar{border-color:#32445f}
:root[data-theme="dark"] .lab-status.draft{background:#26354a;color:#d5e2f2}:root[data-theme="dark"] .lab-status.running{background:#0b3d31;color:#9ef0d2}:root[data-theme="dark"] .lab-status.paused{background:#4b3411;color:#fde68a}:root[data-theme="dark"] .lab-status.completed{background:#173568;color:#bfdbfe}

@media(max-width:1550px){.device-lab-layout{grid-template-columns:minmax(340px,390px) minmax(0,1fr)}.lab-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-parameter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-pair-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1180px){.device-lab-layout{grid-template-columns:1fr}.lab-control-rail.wide{position:static;max-height:none;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr))!important}.lab-control-rail.wide>.lab-signal-control{grid-column:1/-1}.lab-chart-toolbar{position:static;grid-template-columns:1fr;grid-template-areas:'tools' 'nav' 'hint'}.lab-inline-setup-top{grid-template-columns:1fr 180px auto}.lab-device-select-list.inline{grid-template-columns:1fr}}
@media(max-width:820px){.lab-control-rail.wide{grid-template-columns:1fr!important}.lab-control-rail.wide>.lab-signal-control{grid-column:auto}.lab-method-columns{grid-template-columns:1fr}.lab-check-grid,.lab-check-grid.compact{grid-template-columns:repeat(3,minmax(0,1fr));max-height:210px}.lab-chart-nav{grid-template-columns:1fr 100px 70px}.lab-chart-nav>span{grid-column:1/-1}.lab-inline-setup-top{grid-template-columns:1fr 1fr}.lab-inline-setup-top .btn{grid-column:1/-1}.lab-setup-device{grid-template-columns:auto auto minmax(0,1fr)}.lab-setup-device>.select,.lab-setup-device>.input{grid-column:3}.lab-pair-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.lab-check-grid,.lab-check-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-parameter-grid,.lab-advanced-selects{grid-template-columns:1fr}.lab-chart-nav{grid-template-columns:1fr 1fr}.lab-chart-nav input[type=range],.lab-chart-nav>span{grid-column:1/-1}.lab-pair-metrics{grid-template-columns:1fr}.lab-inline-setup-top{grid-template-columns:1fr}.lab-setup-device{grid-template-columns:auto minmax(0,1fr)}.lab-setup-status{grid-column:2}.lab-setup-device-main{grid-column:2}.lab-setup-device>.select,.lab-setup-device>.input{grid-column:2}}

/* v1.32.2 — gizli /superinno kullanım analizi */
.superinno-summary.expanded{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.superinno-summary.expanded .project-kpi{min-width:0;padding:11px 12px}
.superinno-summary.expanded .project-kpi>span{width:38px;height:38px;font-size:1rem}
.superinno-summary.expanded .project-kpi strong{font-size:1.03rem}
.analytics-duration-notice{margin:0 0 9px;padding:9px 12px;border-radius:11px;border:1px solid #bae6fd;background:#f0f9ff;color:#075985;font-size:.65rem;font-weight:750}
.analytics-duration-notice.warn{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
.super-project-bar.rich{grid-template-columns:115px minmax(80px,1fr) 72px;grid-template-rows:auto auto}
.super-project-bar.rich>small{grid-column:1/-1;color:#7a8a9b;font-size:.47rem;margin-top:-3px}
.super-route-detail{margin-bottom:9px}
.analytics-inline-bar{width:110px;max-width:100%;height:7px;border-radius:999px;background:#e5edf1;overflow:hidden}
.analytics-inline-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#0891b2,#14b8a6)}
.action-cloud.detailed span{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:145px}
.action-cloud.detailed em{font-size:.5rem}
.super-org-list.rich>div{grid-template-columns:minmax(0,1fr) auto}
.super-org-list.rich b{white-space:nowrap}
.analytics-search{width:220px!important;max-width:42vw!important;height:34px!important;font-size:.65rem!important}
.analytics-users .table-wrap{max-height:520px;overflow:auto}
.analytics-users table{min-width:1050px}
.analytics-users thead th{position:sticky;top:0;z-index:2}
.superinno-head p{max-width:900px}

[data-theme="dark"] .analytics-duration-notice{background:#092c3b;border-color:#155e75;color:#bae6fd}
[data-theme="dark"] .analytics-duration-notice.warn{background:#3b2410;border-color:#9a5a16;color:#fed7aa}
[data-theme="dark"] .analytics-inline-bar{background:#203548}
[data-theme="dark"] .action-cloud.detailed span{background:#10273a;border-color:#28455b}

@media(max-width:1500px){.superinno-summary.expanded{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1050px){.superinno-summary.expanded{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-search{width:180px!important}}
@media(max-width:620px){.superinno-summary.expanded{grid-template-columns:1fr 1fr}.analytics-search{width:100%!important;max-width:none!important}.analytics-users .card-title{align-items:flex-start;flex-direction:column}}

/* v1.32.2 — Cihaz Test Lab GUI doğrulama, grafik kontrolleri ve tam eksenler */
.lab-chart-card{position:relative!important}
.lab-chart-title{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;min-height:40px}
.lab-chart-title>div:first-child{min-width:0;flex:1 1 auto}
.lab-chart-title h2{margin:0!important}
.lab-chart-title p{margin-top:2px!important}
.lab-mini-chart-tools{display:flex;align-items:center;justify-content:flex-end;gap:2px;flex-wrap:wrap;max-width:330px;flex:0 0 auto}
.lab-mini-chart-tools button{width:25px;height:24px;min-width:25px;padding:0;border:1px solid var(--line);border-radius:6px;background:var(--surface-soft);color:var(--text);font-size:.56rem;font-weight:900;cursor:pointer;line-height:1}
.lab-mini-chart-tools button:hover{background:var(--primary-soft);border-color:color-mix(in srgb,var(--primary) 45%,var(--line));color:var(--primary)}
.lab-canvas-shell{position:relative;min-width:0;border:1px solid color-mix(in srgb,var(--line) 82%,transparent);border-radius:9px;overflow:hidden;background:var(--surface)}
.lab-canvas-shell canvas{display:block;width:100%;height:auto;cursor:crosshair}
.lab-chart-tooltip{position:absolute;z-index:8;display:none;pointer-events:none;min-width:95px;padding:5px 7px;border-radius:7px;background:rgba(7,24,39,.94);color:#e9f7fb;border:1px solid rgba(151,205,219,.25);box-shadow:0 8px 20px rgba(0,0,0,.22);font-size:.52rem;line-height:1.3;white-space:nowrap}
.lab-chart-tooltip.show{display:flex;flex-direction:column}
.lab-chart-tooltip b{font-size:.57rem;color:#fff}.lab-chart-tooltip span{color:#a9d1dc;margin-top:1px}
.lab-chart-card:fullscreen{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:12px!important;border-radius:0!important;background:var(--surface)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important}
.lab-chart-card:fullscreen .lab-chart-title{flex:0 0 auto!important;padding-bottom:6px!important}
.lab-chart-card:fullscreen .lab-canvas-shell{flex:1 1 auto!important;min-height:0!important;border-radius:10px!important}
.lab-chart-card:fullscreen canvas{width:100%!important;height:auto!important}
.lab-chart-card:fullscreen .lab-mini-chart-tools button{width:31px;height:30px;font-size:.67rem}
.lab-live-strip{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important}
.lab-device-live{box-shadow:0 4px 14px rgba(15,23,42,.035)}
.lab-device-live .lab-live-values b{font-variant-numeric:tabular-nums}
.lab-chart-toolbar{border:1px solid var(--line)!important}
.lab-analysis-main .lab-kpi-grid>div{box-shadow:0 3px 10px rgba(15,23,42,.03)}
:root[data-theme="dark"] .lab-mini-chart-tools button{background:#14243a;border-color:#34465f;color:#dcecf5}
:root[data-theme="dark"] .lab-mini-chart-tools button:hover{background:#173b49;border-color:#2ec9c6;color:#bff8f5}
:root[data-theme="dark"] .lab-canvas-shell{border-color:#314258;background:#101d2f}

@media(max-width:980px){
  .lab-chart-title{flex-direction:column;gap:5px!important}
  .lab-mini-chart-tools{max-width:none;width:100%;justify-content:flex-start}
}

/* ========================================================================== */
/* v1.32.3 — Meyil Deneyi cihaz seçici + Lab bağımsız başlangıç sıfırlaması   */
/* ========================================================================== */
.device-picker-trigger{display:flex!important;align-items:center!important;gap:5px!important;padding:3px 6px!important;margin:-3px -6px!important;border-radius:8px!important;transition:background .15s,border-color .15s;outline:none}
.device-picker-trigger:hover,.device-picker-trigger:focus-visible{background:color-mix(in srgb,var(--primary) 9%,transparent)!important}
.device-picker-trigger .device-code-stack{min-width:0;display:block!important}.device-picker-trigger .device-code-stack strong,.device-picker-trigger .device-code-stack small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-picker-trigger .device-code-stack small{font-size:.48rem;color:var(--muted);font-weight:750;margin-top:1px}
.device-picker-chevron{display:inline-grid!important;place-items:center;flex:0 0 auto;width:15px;height:15px;border-radius:5px;background:var(--surface-soft);border:1px solid var(--line);color:var(--muted)!important;font-size:.55rem!important;line-height:1}
.experiment-device-picker{position:fixed;z-index:1300;max-height:min(520px,calc(100vh - 80px));overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line-strong);border-radius:14px;background:var(--surface);box-shadow:0 22px 60px rgba(2,12,27,.28);color:var(--text)}
.experiment-device-picker-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px 9px;border-bottom:1px solid var(--line);background:var(--surface-soft)}
.experiment-device-picker-head>div{min-width:0}.experiment-device-picker-head span,.experiment-device-picker-head strong{display:block}.experiment-device-picker-head span{font-size:.48rem;letter-spacing:.13em;color:var(--primary);font-weight:950}.experiment-device-picker-head strong{font-size:.76rem;margin-top:2px}.experiment-device-picker-head button{width:27px;height:27px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text);font-size:1rem;cursor:pointer}
.experiment-device-picker-list{padding:7px;overflow:auto;display:grid;gap:5px;scrollbar-width:thin}
.experiment-device-option{width:100%;display:grid;grid-template-columns:16px minmax(0,1fr) auto 18px;gap:7px;align-items:center;text-align:left;padding:8px 9px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);color:var(--text);cursor:pointer;min-width:0}
.experiment-device-option:hover:not(:disabled){border-color:color-mix(in srgb,var(--primary) 48%,var(--line));background:color-mix(in srgb,var(--primary) 6%,var(--surface))}.experiment-device-option.selected{border-color:var(--primary);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 55%,transparent)}.experiment-device-option:disabled{opacity:.55;cursor:not-allowed}.device-option-state{font-size:.65rem;color:#94a3b8}.experiment-device-option.online .device-option-state{color:#10b981;text-shadow:0 0 9px rgba(16,185,129,.42)}
.device-option-main{min-width:0}.device-option-main strong,.device-option-main small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.device-option-main strong{font-size:.67rem}.device-option-main small{font-size:.48rem;color:var(--muted);margin-top:2px}.device-option-values{text-align:right;min-width:76px}.device-option-values b,.device-option-values small{display:block;font-variant-numeric:tabular-nums}.device-option-values b{font-size:.64rem}.device-option-values small{font-size:.46rem;color:var(--muted);margin-top:1px}.device-option-check{color:var(--primary);font-size:.75rem;font-weight:950}
.experiment-device-picker-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 11px;border-top:1px solid var(--line);background:var(--surface-soft)}.experiment-device-picker-foot span{font-size:.47rem;color:var(--muted);line-height:1.35}.experiment-device-picker-foot .text-button{font-size:.5rem;white-space:nowrap}

.lab-zero-hint{margin-top:7px;padding:7px 8px;border:1px dashed color-mix(in srgb,var(--primary) 42%,var(--line));border-radius:8px;background:color-mix(in srgb,var(--primary) 5%,var(--surface));color:var(--muted);font-size:.52rem;line-height:1.35}
.lab-zero-offsets{margin-top:7px;padding:7px 8px;border:1px solid color-mix(in srgb,#10b981 34%,var(--line));border-radius:8px;background:color-mix(in srgb,#10b981 5%,var(--surface));display:grid;grid-template-columns:auto 1fr;gap:4px 8px;align-items:center}.lab-zero-offsets>strong{grid-column:1/-1;font-size:.55rem;color:#0f8b6d}.lab-zero-offsets>span{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding-top:3px;border-top:1px dashed color-mix(in srgb,#10b981 20%,var(--line));min-width:0}.lab-zero-offsets em{font-style:normal;font-size:.5rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lab-zero-offsets b{font-size:.59rem;font-variant-numeric:tabular-nums;color:var(--text)}
.lab-zeroed-reading{position:relative}.lab-zeroed-reading>small{display:block;margin-top:2px;color:var(--muted);font-size:.42rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.lab-zeroed-reading>b{color:var(--primary)!important}
:root[data-theme="dark"] .experiment-device-picker{background:#0f1b2c;border-color:#38506d;box-shadow:0 24px 72px rgba(0,0,0,.48)}
:root[data-theme="dark"] .experiment-device-picker-head,:root[data-theme="dark"] .experiment-device-picker-foot{background:#142238;border-color:#30445e}:root[data-theme="dark"] .experiment-device-option{background:#132137;border-color:#30445e}:root[data-theme="dark"] .experiment-device-option:hover:not(:disabled){background:#173247;border-color:#2bc6c3}
:root[data-theme="dark"] .lab-zero-hint{color:#b9c8dc}:root[data-theme="dark"] .lab-zero-offsets>strong{color:#91edd0}
@media(max-width:520px){.experiment-device-picker{left:8px!important;right:8px!important;width:auto!important;max-height:calc(100vh - 66px)}.experiment-device-option{grid-template-columns:14px minmax(0,1fr) auto 16px;padding:8px 7px}.device-option-values{min-width:64px}.experiment-device-picker-foot{align-items:flex-start;flex-direction:column}.device-picker-trigger .device-picker-chevron{display:none!important}}

/* v1.32.3 — Lab sağ ayar çekmecesi */
.device-lab-layout{grid-template-columns:minmax(0,1fr) minmax(360px,430px)!important;position:relative}
.device-lab-layout>.lab-analysis-main{grid-column:1;min-width:0}.device-lab-layout>.lab-control-rail.wide{grid-column:2;grid-row:1;position:sticky;top:68px;max-height:calc(100vh - 78px);overflow:auto;align-content:start}
.lab-right-ear{position:fixed;right:0;top:44%;z-index:92;width:31px;height:64px;border:1px solid var(--line-strong);border-right:0;border-radius:12px 0 0 12px;background:var(--primary);color:white;font-size:.68rem;font-weight:950;box-shadow:0 9px 22px rgba(2,12,27,.2);cursor:pointer}.lab-right-ear:hover{filter:brightness(1.08)}
.device-lab-layout.lab-panel-closed{grid-template-columns:minmax(0,1fr)!important}.device-lab-layout.lab-panel-closed>.lab-control-rail{display:none!important}.device-lab-layout.lab-panel-closed>.lab-analysis-main{grid-column:1!important}
:root[data-theme="dark"] .lab-right-ear{border-color:#3d5976;box-shadow:0 12px 26px rgba(0,0,0,.38)}
@media(max-width:1180px){.device-lab-layout{grid-template-columns:minmax(0,1fr)!important}.device-lab-layout>.lab-control-rail.wide{position:fixed!important;z-index:91;right:0;top:62px;bottom:0;width:min(430px,calc(100vw - 44px));max-height:none!important;overflow:auto!important;padding:8px;background:var(--bg);box-shadow:-16px 0 38px rgba(2,12,27,.18);grid-template-columns:1fr!important}.device-lab-layout.lab-panel-closed>.lab-control-rail{display:none!important}.device-lab-layout>.lab-control-rail.wide>.lab-signal-control{grid-column:auto!important}.lab-right-ear{top:42%}}
/* v1.33.0 — Cihaz Test Lab bilimsel profil kısa yolları */
.lab-profile-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:end;padding:8px;border:1px solid color-mix(in srgb,#0f8b8d 28%,var(--line));background:color-mix(in srgb,#0f8b8d 4%,var(--surface));border-radius:10px;margin-bottom:8px}.lab-profile-box .field{margin:0}.lab-profile-box .btn{min-height:34px}.lab-profile-box>small{grid-column:1/-1;color:var(--muted);font-size:.49rem;line-height:1.4}.lab-check-row input[value^="new_"]+span{font-weight:950;color:#0f8b8d}.lab-control-card .form-note{font-size:.51rem;line-height:1.45}
:root[data-theme="dark"] .lab-profile-box{border-color:#36536b;background:rgba(15,139,141,.08)}


/* v1.35.0 — Akıllı Liman Gözlem birleşik liman özeti + tek proje demo kullanıcıları */
.smart-liman-summary-section{margin-bottom:6px}
.smart-liman-summary-card{padding:9px 10px!important;border-radius:14px!important}
.smart-liman-summary-card .card-title{margin-bottom:6px!important}
.smart-liman-summary-card .card-title h2{font-size:1rem!important}
.smart-liman-summary-card .card-title p{font-size:.56rem!important;line-height:1.25!important}
.smart-liman-merged-grid{grid-template-columns:repeat(13,minmax(0,1fr))!important;gap:5px!important}
.smart-liman-summary-item{min-height:58px!important;padding:6px 7px!important;border-radius:10px!important}
.smart-liman-summary-item .smart-local-weather-icon{width:28px!important;height:28px!important;border-radius:8px!important;font-size:.84rem!important;color:#0f6f74!important;background:rgba(15,118,110,.08)!important}
.smart-liman-summary-item small{font-size:.47rem!important}
.smart-liman-summary-item strong{font-size:.72rem!important;margin-top:1px!important;color:var(--text)!important}
.smart-liman-summary-item em{font-size:.44rem!important;color:var(--muted)!important}
:root[data-theme="dark"] .smart-liman-summary-card,
:root[data-theme="dark"] .smart-liman-summary-item{color:var(--text)!important}
@media(max-width:1700px){.smart-liman-merged-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}}
@media(max-width:1180px){.smart-liman-merged-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:700px){.smart-liman-merged-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* v1.35.1 — restricted demo users + readability fixes */
.smart-liman-summary-card{background:var(--card, #ffffff)!important;border:1px solid var(--border, #dce7ec)!important;box-shadow:0 8px 24px rgba(15,23,42,.06)!important}
.smart-liman-summary-card .card-title h2{color:#18324a!important}
.smart-liman-summary-card .card-title p,
.smart-liman-summary-card .card-title .small,
.smart-liman-summary-card .card-title .muted{color:#6f8397!important}
.smart-liman-summary-card .badge{align-self:flex-start}
.smart-liman-merged-grid{grid-template-columns:repeat(10,minmax(0,1fr))!important}
.smart-liman-summary-item{background:#172b4d!important;border:1px solid rgba(87,115,167,.22)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.smart-liman-summary-item small{color:#e6eef8!important}
.smart-liman-summary-item strong{color:#ffffff!important}
.smart-liman-summary-item em{color:#b6c4d8!important}
.smart-liman-summary-item .smart-local-weather-icon{color:#0e8d93!important;background:rgba(16,185,201,.12)!important}

.smart-hazard-card,.smart-fleet-card,.smart-map-card,.smart-compare-card,.marine-risk-card,.marine-future-card,.smart-network-card,.smart-source-card,.smart-side-card,.smart-primary-card,.smart-secondary-grid>.card,.smart-feature-module{background:var(--card, #ffffff)!important;color:var(--text, #13263b)!important}
.smart-hazard-card .card-title h2,.smart-hazard-card .card-title p,.smart-hazard-card .card-title .muted,
.smart-fleet-card .card-title h2,.smart-fleet-card .card-title p,.smart-fleet-card .card-title .muted,
.smart-map-card .card-title h2,.smart-map-card .card-title p,.smart-map-card .card-title .muted,
.smart-side-card .card-title h2,.smart-side-card .card-title p,.smart-side-card .card-title .muted,
.smart-primary-card .card-title h2,.smart-primary-card .card-title p,.smart-primary-card .card-title .muted{color:inherit!important}
.smart-hazard-list.compact .smart-hazard-row{background:#f8fbfd!important;border:1px solid #dbe5ec!important;color:#16314a!important}
.smart-hazard-row strong{color:#17324a!important}
.smart-hazard-row small{color:#667b90!important}
.smart-hazard-row span{color:#f97316!important}
.smart-hazard-list.compact .smart-hazard-row:hover{background:#eef7fb!important;border-color:#8bbccc!important}

:root[data-theme="dark"] .smart-liman-summary-card{background:#0d1c2d!important;border-color:#27455f!important;box-shadow:none!important}
:root[data-theme="dark"] .smart-liman-summary-card .card-title h2{color:#eef6ff!important}
:root[data-theme="dark"] .smart-liman-summary-card .card-title p,
:root[data-theme="dark"] .smart-liman-summary-card .card-title .small,
:root[data-theme="dark"] .smart-liman-summary-card .card-title .muted{color:#a6bdd4!important}
:root[data-theme="dark"] .smart-liman-summary-item{background:#142845!important;border-color:#27466d!important}
:root[data-theme="dark"] .smart-liman-summary-item small{color:#dce9f9!important}
:root[data-theme="dark"] .smart-liman-summary-item strong{color:#ffffff!important}
:root[data-theme="dark"] .smart-liman-summary-item em{color:#a6bdd4!important}
:root[data-theme="dark"] .smart-hazard-card,
:root[data-theme="dark"] .smart-fleet-card,
:root[data-theme="dark"] .smart-map-card,
:root[data-theme="dark"] .smart-compare-card,
:root[data-theme="dark"] .marine-risk-card,
:root[data-theme="dark"] .marine-future-card,
:root[data-theme="dark"] .smart-network-card,
:root[data-theme="dark"] .smart-source-card,
:root[data-theme="dark"] .smart-side-card,
:root[data-theme="dark"] .smart-primary-card,
:root[data-theme="dark"] .smart-secondary-grid>.card,
:root[data-theme="dark"] .smart-feature-module{background:#0d1c2d!important;color:#eef6ff!important;border-color:#27455f!important}
:root[data-theme="dark"] .smart-hazard-list.compact .smart-hazard-row{background:#13273e!important;border-color:#2a4965!important;color:#e9f3ff!important}
:root[data-theme="dark"] .smart-hazard-row strong{color:#f3f8ff!important}
:root[data-theme="dark"] .smart-hazard-row small{color:#abc0d3!important}
:root[data-theme="dark"] .smart-hazard-list.compact .smart-hazard-row:hover{background:#17334f!important;border-color:#4a7396!important}

@media(max-width:1700px){.smart-liman-merged-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}}
@media(max-width:980px){.smart-liman-merged-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:640px){.smart-liman-merged-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* v1.36.0 — Liman kopyası + sağ panel yönetimi */
.smart-module-drawer{position:fixed;z-index:1900;right:14px;top:72px;width:min(390px,calc(100vw - 28px));max-height:calc(100vh - 88px);overflow:auto;padding:14px;border-radius:16px;background:rgba(7,24,39,.985);color:#eefaff;border:1px solid rgba(94,234,212,.24);box-shadow:0 24px 70px rgba(0,0,0,.45);transform:translateX(calc(100% + 32px));opacity:0;pointer-events:none;transition:.2s ease;scrollbar-width:thin}
.smart-module-drawer.open{transform:none;opacity:1;pointer-events:auto}
.smart-module-drawer-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.11)}
.smart-module-drawer-head strong,.smart-module-drawer-head small{display:block}.smart-module-drawer-head strong{font-size:.9rem}.smart-module-drawer-head small{font-size:.56rem;line-height:1.4;color:#9ec2d1;margin-top:3px}.smart-module-drawer-head button{width:30px;height:30px;border-radius:8px;border:1px solid rgba(255,255,255,.16);background:#102b42;color:#fff;cursor:pointer}
.smart-module-drawer-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px 0}.smart-module-drawer-actions button{border:1px solid rgba(94,234,212,.24);background:#102b42;color:#dff8ff;border-radius:9px;padding:8px;font-size:.62rem;font-weight:900;cursor:pointer}.smart-module-drawer-actions button:hover{background:#0f8b8d;color:#fff}
.smart-module-drawer section{padding:9px 0;border-top:1px solid rgba(255,255,255,.08)}.smart-module-drawer h4{margin:0 0 6px;font-size:.62rem;letter-spacing:.08em;text-transform:uppercase;color:#70dfe1}.smart-module-option{display:grid;grid-template-columns:20px minmax(0,1fr);gap:7px;align-items:center;padding:7px 5px;border-radius:9px;cursor:pointer}.smart-module-option:hover{background:rgba(255,255,255,.05)}.smart-module-option input{accent-color:#14b8a6}.smart-module-option strong,.smart-module-option small{display:block}.smart-module-option strong{font-size:.67rem;color:#f2f8ff}.smart-module-option small{font-size:.51rem;color:#91adbe;margin-top:1px}
.smart-project-switch{border-color:rgba(94,234,212,.28)!important}
:root[data-theme="light"] .smart-module-drawer{background:#ffffff;color:#17324a;border-color:#cadce7;box-shadow:0 24px 65px rgba(15,23,42,.2)}
:root[data-theme="light"] .smart-module-drawer-head{border-bottom-color:#dfe8ee}:root[data-theme="light"] .smart-module-drawer-head small{color:#687d91}:root[data-theme="light"] .smart-module-drawer-head button{background:#eef5f8;color:#17324a;border-color:#d8e4ea}:root[data-theme="light"] .smart-module-drawer-actions button{background:#f3f8fa;color:#214057;border-color:#cadce7}:root[data-theme="light"] .smart-module-drawer section{border-top-color:#e2eaf0}:root[data-theme="light"] .smart-module-drawer h4{color:#0f7e83}:root[data-theme="light"] .smart-module-option strong{color:#18324a}:root[data-theme="light"] .smart-module-option small{color:#708396}:root[data-theme="light"] .smart-module-option:hover{background:#f1f7f9}
@media(max-width:650px){.smart-module-drawer{right:7px;top:64px;width:calc(100vw - 14px);max-height:calc(100vh - 72px)}}


/* v1.36.1 — Liman route fix + interactive map explanations */
.smart-seamark-tooltip.leaflet-tooltip{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.smart-seamark-tooltip:before{display:none!important}
.smart-seamark-tooltip-content{display:flex;flex-direction:column;gap:2px;min-width:190px;max-width:300px;padding:9px 11px;border-radius:11px;background:rgba(8,25,43,.96);border:1px solid rgba(93,188,203,.38);box-shadow:0 10px 28px rgba(0,0,0,.28);color:#edf8ff;line-height:1.3}
.smart-seamark-tooltip-content strong{font-size:.72rem;color:#fff}
.smart-seamark-tooltip-content span{font-size:.61rem;color:#70e1e4;font-weight:800}
.smart-seamark-tooltip-content small{font-size:.56rem;color:#c5d7e6}
.smart-seamark-tooltip-content em{margin-top:3px;padding-top:4px;border-top:1px solid rgba(148,190,210,.18);font-size:.48rem;color:#8faabe;font-style:normal}
:root[data-theme="light"] .smart-seamark-tooltip-content{background:rgba(255,255,255,.98);border-color:#b8d6df;color:#18324a;box-shadow:0 10px 28px rgba(15,23,42,.18)}
:root[data-theme="light"] .smart-seamark-tooltip-content strong{color:#142b40}
:root[data-theme="light"] .smart-seamark-tooltip-content span{color:#087f8f}
:root[data-theme="light"] .smart-seamark-tooltip-content small{color:#536d82}
:root[data-theme="light"] .smart-seamark-tooltip-content em{color:#73899b;border-color:#dbe7ec}


/* v1.36.2 — Liman/Şamandıra bağımsız ayarlar ve üst-bar geçiş düğmesi */
.marine-project-switch-button{width:40px!important;min-width:40px!important;height:36px;display:grid!important;place-items:center!important;padding:0!important}
.marine-project-switch-icon{width:27px;height:17px;display:block;color:#d9f5fb}
.marine-project-switch-button:hover .marine-project-switch-icon{color:#ffffff}
.marine-settings-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:22px 4px 16px}
.marine-settings-head h1{margin:3px 0 6px;font-size:2rem;color:#eff8ff}
.marine-settings-head p{margin:0;max-width:780px;color:#9fbfd0;font-size:.78rem;line-height:1.55}
.marine-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-bottom:24px}
.marine-settings-card{padding:17px!important;border-radius:17px!important;min-width:0}
.marine-settings-card .card-title h2{font-size:1rem;margin:0}
.marine-setting-choice-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:10px}
.marine-setting-choice{border:1px solid #d8e4ea;background:#f6fafb;color:#385166;border-radius:11px;min-height:42px;font-weight:850;cursor:pointer}
.marine-setting-choice.active{background:#0f8b8d;color:#fff;border-color:#0f8b8d;box-shadow:0 6px 18px rgba(15,139,141,.16)}
.marine-settings-toggle-list{display:grid;gap:7px;margin-top:10px}
.marine-settings-module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.marine-settings-check{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;padding:9px 10px;border:1px solid #dce6ec;border-radius:11px;background:#f8fbfc;cursor:pointer;min-width:0}
.marine-settings-check input{margin-top:2px;accent-color:#0f8b8d}
.marine-settings-check strong,.marine-settings-check small{display:block}
.marine-settings-check strong{font-size:.7rem;color:#183148}
.marine-settings-check small{font-size:.55rem;color:#718498;margin-top:2px;line-height:1.3}
.marine-settings-check.compact{padding:8px 9px}
.marine-settings-note{margin-top:9px;padding:8px 10px;border-radius:10px;background:#eef8f8;color:#48697a;font-size:.6rem}
:root[data-theme="dark"] .marine-setting-choice{background:#14263b;border-color:#2d4862;color:#cfe2f1}
:root[data-theme="dark"] .marine-setting-choice.active{background:#0f7778;border-color:#22b8b8;color:#fff}
:root[data-theme="dark"] .marine-settings-check{background:#122338;border-color:#2a455f}
:root[data-theme="dark"] .marine-settings-check strong{color:#eef7ff}
:root[data-theme="dark"] .marine-settings-check small{color:#9db4c8}
:root[data-theme="dark"] .marine-settings-note{background:#102b35;color:#b7d5df}
@media(max-width:850px){.marine-settings-grid{grid-template-columns:1fr}.marine-settings-head{align-items:flex-start;flex-direction:column}.marine-settings-head h1{font-size:1.65rem}}
@media(max-width:560px){.marine-settings-module-grid{grid-template-columns:1fr}.marine-setting-choice-row{grid-template-columns:1fr 1fr 1fr}.marine-project-switch-button{width:36px!important;min-width:36px!important}.marine-project-switch-icon{width:24px}}

/* v1.37.0 — Akıllı Liman Gözlem: kaptan odaklı bağımsız operasyon ekranı */
.liman-workspace{display:grid;gap:10px;min-width:0;padding-bottom:18px}
.liman-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:15px 18px;border:1px solid rgba(36,168,181,.26);border-radius:18px;background:linear-gradient(135deg,rgba(8,72,96,.96),rgba(7,42,66,.96));color:#effbff;box-shadow:0 10px 30px rgba(3,19,34,.12)}
.liman-hero .eyebrow{color:#62e6ec}.liman-hero h1{margin:3px 0 2px;font-size:1.75rem;line-height:1.08}.liman-hero p{margin:0;color:#b6d2df;font-size:.72rem}.liman-hero-right{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.liman-hero time{font-size:.72rem;font-weight:850;color:#d7edf5;white-space:nowrap;margin-right:5px}
.liman-main-metrics{display:grid;grid-template-columns:minmax(255px,1.45fr) repeat(5,minmax(150px,1fr));gap:7px}
.liman-metric{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;align-items:center;min-width:0;padding:9px 10px;border:1px solid #d9e5ec;border-radius:13px;background:#fff;color:#172d43;box-shadow:0 5px 16px rgba(15,23,42,.04)}
.liman-metric-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#eaf7f8;color:#087f86;font-size:.92rem;font-weight:950}.liman-metric>div{min-width:0}.liman-metric small,.liman-metric strong,.liman-metric em{display:block}.liman-metric small{font-size:.54rem;color:#657a8f;font-weight:900;text-transform:uppercase;letter-spacing:.02em}.liman-metric strong{font-size:.88rem;line-height:1.18;margin-top:2px;color:#13283c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.liman-metric em{font-size:.49rem;color:#8090a1;font-style:normal;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.liman-source{position:absolute;top:6px;right:7px;padding:2px 5px;border-radius:999px;font-size:.4rem;font-weight:950;letter-spacing:.04em;background:#edf2f6;color:#607287}.liman-source.demo{background:#fff3cd;color:#955800}.liman-source.sensor{background:#dcfce7;color:#08783e}.liman-source.internet{background:#dff4ff;color:#05658a}.liman-source.muted{background:#e8edf2;color:#657488}
.liman-wind-metric{padding-right:9px}.liman-wind-metric>div{padding-right:35px}.liman-unit-switch{display:flex!important;gap:3px;margin-top:5px}.liman-unit-switch button{border:1px solid #cbdbe4;background:#f4f8fa;color:#52697d;border-radius:7px;padding:3px 6px;font-size:.48rem;font-weight:900;cursor:pointer}.liman-unit-switch button.active{background:#0f8b8d;color:#fff;border-color:#0f8b8d}
.liman-core-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(330px,.75fr);gap:9px}.liman-camera-card,.liman-local-card,.liman-section-card,.liman-map-card,.liman-hazard-card{padding:12px 13px;border-radius:16px;min-width:0}.liman-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px;position:relative}.liman-section-head .eyebrow{font-size:.5rem;letter-spacing:.08em;color:#0b8f94;font-weight:950}.liman-section-head h2{margin:1px 0 0;font-size:1rem;color:#172d43}.liman-section-head p{margin:2px 0 0;font-size:.55rem;color:#73869a;line-height:1.35}.liman-section-head>.liman-source{position:static;flex:none;margin-top:1px}
.liman-camera-frame{height:300px;border-radius:13px;overflow:hidden;background:#071a2a;border:1px solid #244259;position:relative}.liman-camera-frame .smart-buoy-camera-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.liman-camera-frame .camera-placeholder{height:100%;display:grid;place-items:center;align-content:center;color:#c9dfe8;text-align:center}.liman-camera-demo{position:relative;height:100%;display:grid;place-items:center;background:linear-gradient(180deg,#062033,#0a4563 62%,#0a657a);overflow:hidden}.liman-camera-demo>div{z-index:3;display:grid;place-items:center;color:#eafcff;text-align:center}.liman-camera-demo span{font-size:2.1rem}.liman-camera-demo strong{font-size:1rem;margin-top:5px}.liman-camera-demo small{font-size:.58rem;color:#add6e3;margin-top:4px}.liman-camera-demo i{position:absolute;width:120%;height:34%;left:-10%;bottom:-12%;border-radius:45%;background:rgba(137,224,238,.12);transform:rotate(-2deg)}.liman-camera-demo i:last-child{bottom:3%;background:rgba(255,255,255,.08);transform:rotate(2deg)}
.liman-local-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:6px}.liman-local-mini-grid .liman-metric{box-shadow:none;padding:8px}.liman-bf-note{margin-top:8px;padding:9px 10px;border:1px solid #d9e6ec;border-radius:11px;background:#f5fafb;font-size:.59rem;color:#526a7e}.liman-bf-note strong{color:#0a7f82}.liman-bf-note span{display:block;margin-top:3px;color:#7f8fa0;font-size:.51rem}
.liman-chart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.liman-chart-grid>div{padding:8px 9px;border:1px solid #dde7ed;border-radius:12px;background:#f9fbfc;min-width:0}.liman-chart-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.liman-chart-title strong{font-size:.65rem;color:#253c52}.liman-chart-title span{font-size:.48rem;color:#73869a}.liman-mini-chart svg{width:100%;height:90px;margin-top:4px}.liman-mini-chart svg line{stroke:#e0e9ee;stroke-width:1}.liman-mini-chart svg polyline{fill:none;stroke:#0f8b8d;stroke-width:2.3;vector-effect:non-scaling-stroke}.liman-mini-chart>div{display:flex!important;justify-content:space-between;font-size:.47rem;color:#7b8d9f}.liman-mini-chart>div strong{color:#0a7277;font-size:.55rem}.liman-chart-empty{height:90px;display:grid;place-items:center;color:#8797a8;font-size:.56rem}
.liman-optional-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.liman-optional-grid .liman-metric,.liman-internet-grid .liman-metric,.liman-system-grid .liman-metric{box-shadow:none;background:#f9fbfc}.liman-internet-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.liman-system-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.liman-forecast-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(135px,1fr);gap:6px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.liman-forecast-cell{display:flex;flex-direction:column;gap:3px;padding:8px 9px;border:1px solid #dbe6ec;border-radius:11px;background:#f9fbfc;min-height:88px}.liman-forecast-cell time{font-size:.5rem;font-weight:900;color:#5e758a}.liman-forecast-cell strong{font-size:.68rem;color:#16344b}.liman-forecast-cell span{font-size:.53rem;color:#667d91}
.liman-map-hazard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.65fr);gap:9px}.liman-map-wrap{position:relative}.liman-map-wrap .smart-buoy-map{height:470px}.liman-map-rail{position:absolute;z-index:710;top:10px;right:10px;display:flex;flex-direction:column;gap:5px;padding:5px;border-radius:12px;background:rgba(5,25,42,.88);backdrop-filter:blur(8px);box-shadow:0 8px 24px rgba(0,0,0,.2)}.liman-map-rail button{width:34px;height:34px;border-radius:9px;border:1px solid #315069;background:#122d43;color:#d9f2f6;cursor:pointer;font-weight:900}.liman-map-rail button.active,.liman-map-rail button:hover{background:#0f8b8d;color:#fff;border-color:#28c5c4}.liman-hazard-card .smart-hazard-list{max-height:430px!important;overflow:auto}.liman-hazard-card .smart-hazard-row{background:#f8fbfc!important;color:#17344b!important;border-color:#dbe6ec!important}.liman-hazard-card .smart-hazard-row strong{color:#17344b!important}.liman-hazard-card .smart-hazard-row small{color:#6e8397!important}
.liman-source-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.liman-source-grid>div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:7px;align-items:center;padding:8px 9px;border:1px solid #dce6ec;border-radius:11px;background:#f9fbfc}.liman-source-grid i{width:8px;height:8px;border-radius:50%;background:#94a3b8}.liman-source-grid i.ok{background:#10b981;box-shadow:0 0 0 4px #d1fae5}.liman-source-grid i.bad{background:#ef4444;box-shadow:0 0 0 4px #fee2e2}.liman-source-grid strong,.liman-source-grid small{display:block}.liman-source-grid strong{font-size:.62rem}.liman-source-grid small{font-size:.49rem;color:#718498;margin-top:2px}.liman-source-grid b{font-size:.48rem;color:#527084}
.liman-panel-drawer .smart-module-option{margin-bottom:4px}.liman-map-drawer{z-index:780}.marine-settings-savebar{position:sticky;bottom:10px;z-index:30;display:flex;align-items:center;gap:12px;margin-top:12px;padding:10px 12px;border:1px solid #cfe1e7;border-radius:13px;background:rgba(255,255,255,.94);box-shadow:0 10px 28px rgba(15,23,42,.12);backdrop-filter:blur(10px)}.marine-settings-savebar span{font-size:.58rem;color:#667b8e}

:root[data-theme="dark"] .liman-metric,:root[data-theme="dark"] .liman-chart-grid>div,:root[data-theme="dark"] .liman-forecast-cell,:root[data-theme="dark"] .liman-source-grid>div,:root[data-theme="dark"] .liman-optional-grid .liman-metric,:root[data-theme="dark"] .liman-internet-grid .liman-metric,:root[data-theme="dark"] .liman-system-grid .liman-metric{background:#13243a;color:#eef7ff;border-color:#29445f;box-shadow:none}
:root[data-theme="dark"] .liman-metric small{color:#a9bed1}:root[data-theme="dark"] .liman-metric strong{color:#f5fbff}:root[data-theme="dark"] .liman-metric em{color:#91a9bd}:root[data-theme="dark"] .liman-metric-icon{background:#14384b;color:#61dfe1}
:root[data-theme="dark"] .liman-section-head h2{color:#edf7ff}:root[data-theme="dark"] .liman-section-head p{color:#9ab2c5}:root[data-theme="dark"] .liman-chart-title strong{color:#e7f4fb}:root[data-theme="dark"] .liman-chart-title span{color:#91a8ba}
:root[data-theme="dark"] .liman-mini-chart svg line{stroke:#29435a}:root[data-theme="dark"] .liman-mini-chart svg polyline{stroke:#38d4d3}:root[data-theme="dark"] .liman-mini-chart>div{color:#91a8ba}:root[data-theme="dark"] .liman-mini-chart>div strong{color:#5ee2df}
:root[data-theme="dark"] .liman-bf-note{background:#102238;border-color:#29445f;color:#b9ccdb}:root[data-theme="dark"] .liman-bf-note strong{color:#55dedc}:root[data-theme="dark"] .liman-bf-note span{color:#8fa7bb}
:root[data-theme="dark"] .liman-forecast-cell time{color:#a7bbcd}:root[data-theme="dark"] .liman-forecast-cell strong{color:#eef7ff}:root[data-theme="dark"] .liman-forecast-cell span{color:#a4b9ca}
:root[data-theme="dark"] .liman-hazard-card .smart-hazard-row{background:#13243a!important;color:#eef7ff!important;border-color:#29445f!important}:root[data-theme="dark"] .liman-hazard-card .smart-hazard-row strong{color:#f5fbff!important}:root[data-theme="dark"] .liman-hazard-card .smart-hazard-row small{color:#a6bbcc!important}
:root[data-theme="dark"] .liman-source-grid strong{color:#eef7ff}:root[data-theme="dark"] .liman-source-grid small{color:#9db4c6}:root[data-theme="dark"] .liman-source-grid b{color:#b4cada}:root[data-theme="dark"] .marine-settings-savebar{background:rgba(13,28,45,.95);border-color:#29445f}:root[data-theme="dark"] .marine-settings-savebar span{color:#a9bfd0}

@media(max-width:1500px){.liman-main-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.liman-wind-metric{grid-column:span 1}.liman-internet-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.liman-system-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.liman-core-grid,.liman-map-hazard-grid{grid-template-columns:1fr}.liman-chart-grid{grid-template-columns:1fr}.liman-optional-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.liman-internet-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.liman-source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.liman-camera-frame{height:340px}}
@media(max-width:700px){.liman-hero{align-items:flex-start;flex-direction:column}.liman-hero-right{justify-content:flex-start}.liman-main-metrics{grid-template-columns:1fr 1fr}.liman-wind-metric{grid-column:1/-1}.liman-core-grid{grid-template-columns:1fr}.liman-local-mini-grid,.liman-optional-grid,.liman-internet-grid,.liman-system-grid,.liman-source-grid{grid-template-columns:1fr 1fr}.liman-camera-frame{height:250px}.liman-map-wrap .smart-buoy-map{height:360px}}
@media(max-width:480px){.liman-main-metrics,.liman-local-mini-grid,.liman-optional-grid,.liman-internet-grid,.liman-system-grid,.liman-source-grid{grid-template-columns:1fr}.liman-hero h1{font-size:1.4rem}.liman-metric strong{font-size:.82rem}}


/* v1.37.1 — Liman: sade operasyon görünümü, büyük başlıklar, kompakt boşluklar */
:root[data-theme="light"] .portfolio-shell:has(.liman-workspace){background:#ffffff!important;color:#14263a!important}
:root[data-theme="light"] .portfolio-content:has(.liman-workspace){background:#ffffff!important}
.liman-workspace{gap:6px!important;padding-bottom:10px!important}
.liman-hero{gap:10px!important;padding:9px 12px!important;border-radius:13px!important}
.liman-hero h1{font-size:1.95rem!important;margin:1px 0 0!important}
.liman-hero p{font-size:.66rem!important;margin-top:1px!important}
.liman-hero-right{gap:5px!important}
.liman-main-metrics{gap:5px!important}
.liman-metric{padding:7px 8px!important;border-radius:10px!important;gap:7px!important}
.liman-metric small{font-size:.57rem!important}
.liman-metric strong{font-size:.94rem!important}
.liman-metric em{font-size:.50rem!important}
.liman-core-grid{gap:6px!important;grid-template-columns:minmax(0,1.55fr) minmax(300px,.65fr)!important}
.liman-camera-card,.liman-local-card,.liman-section-card,.liman-map-card,.liman-hazard-card{padding:8px 10px!important;border-radius:12px!important}
.liman-section-head{gap:8px!important;margin-bottom:4px!important}
.liman-section-head .eyebrow{font-size:.53rem!important}
.liman-section-head h2{font-size:1.22rem!important;line-height:1.1!important;margin:0!important}
.liman-section-head p{font-size:.56rem!important;line-height:1.25!important;margin:1px 0 0!important}
.liman-camera-frame{width:100%!important;height:auto!important;aspect-ratio:16/9!important;border-radius:10px!important}
.liman-camera-demo strong{font-size:1.08rem!important}
.liman-camera-demo small{font-size:.58rem!important}
.liman-local-mini-grid{gap:5px!important}
.liman-local-mini-grid .liman-metric{padding:7px!important}
.liman-bf-note{margin-top:5px!important;padding:7px 8px!important;border-radius:9px!important}
.liman-chart-grid,.liman-optional-grid,.liman-internet-grid,.liman-system-grid{gap:5px!important}
.liman-chart-grid>div{padding:6px 7px!important;border-radius:9px!important}
.liman-chart-title strong{font-size:.72rem!important}
.liman-map-hazard-grid{gap:6px!important}

:root[data-theme="dark"] .portfolio-shell:has(.liman-workspace){background:#071522!important;color:#eef7ff!important}
:root[data-theme="dark"] .portfolio-content:has(.liman-workspace){background:#071522!important}
:root[data-theme="dark"] .liman-camera-card,
:root[data-theme="dark"] .liman-local-card,
:root[data-theme="dark"] .liman-section-card,
:root[data-theme="dark"] .liman-map-card,
:root[data-theme="dark"] .liman-hazard-card{background:#0d2134!important;color:#eef7ff!important;border-color:#27465e!important;box-shadow:none!important}
:root[data-theme="dark"] .liman-section-head h2{color:#f4fbff!important}
:root[data-theme="dark"] .liman-section-head .eyebrow{color:#53d9dc!important}
:root[data-theme="dark"] .liman-section-head p{color:#a9bfce!important}

@media(max-width:1100px){.liman-core-grid{grid-template-columns:1fr!important}.liman-camera-frame{aspect-ratio:16/9!important;height:auto!important}}
@media(max-width:700px){.liman-camera-frame{aspect-ratio:16/9!important;height:auto!important}.liman-section-head h2{font-size:1.08rem!important}}


/* v1.37.2 liman compact redesign */
.liman-hero{align-items:center!important;padding:7px 10px!important;gap:8px!important;min-height:0!important}
.liman-hero .eyebrow{font-size:.44rem!important;line-height:1!important}
.liman-hero h1{font-size:1.52rem!important;line-height:1.02!important;margin:0!important}
.liman-hero p{display:none!important}
.liman-hero time{font-size:.66rem!important}
.liman-main-metrics.compact-top{gap:6px!important}
.liman-main-metrics .liman-metric{min-height:96px}
.liman-wind-card{padding-right:92px!important;position:relative;overflow:hidden}
.liman-metric-tools{position:absolute;top:6px;right:6px;display:flex;flex-direction:column;align-items:flex-end;gap:5px;z-index:2}
.liman-unit-switch.inline-right{display:flex;gap:3px;justify-content:flex-end;flex-wrap:nowrap}
.liman-unit-switch.inline-right button{min-width:34px;height:22px;padding:0 6px;border-radius:999px}
.liman-core-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,.62fr)!important;align-items:stretch}
.liman-side-stack{display:grid;grid-template-rows:auto 1fr;gap:8px;min-height:0}
.liman-section-head.single-line{align-items:center!important;margin-bottom:6px!important}
.liman-section-head.single-line .eyebrow,.liman-section-head.single-line p{display:none!important}
.liman-camera-card .liman-section-head h2,.liman-local-card .liman-section-head h2,.liman-hazard-card .liman-section-head h2,.liman-map-card .liman-section-head h2{font-size:1.28rem!important;margin:0!important}
.liman-camera-frame{aspect-ratio:16/9!important;min-height:0!important}
.liman-local-card,.liman-hazard-card{display:flex;flex-direction:column}
.liman-local-mini-grid{grid-template-columns:1fr 1fr!important;gap:6px!important}
.liman-local-mini-grid .liman-metric{min-height:0!important}
.liman-bf-note{margin-top:6px!important;padding:7px 9px!important}
.liman-hazard-card .smart-hazard-list{max-height:none!important;overflow:auto;display:grid;gap:6px}
.liman-hazard-card .smart-hazard-row{padding:8px!important}
.liman-hazard-card .smart-hazard-row strong{font-size:.75rem!important}
.liman-hazard-card .smart-hazard-row small{font-size:.58rem!important}
.liman-map-grid{display:block}
.liman-map-card{padding:8px 10px!important}
.liman-map-wrap .smart-buoy-map{height:440px!important}
@media(max-width:1100px){.liman-core-grid{grid-template-columns:1fr!important}.liman-side-stack{grid-template-rows:auto auto!important}.liman-map-wrap .smart-buoy-map{height:390px!important}}
@media(max-width:700px){.liman-main-metrics .liman-metric{min-height:0}.liman-wind-card{padding-right:8px!important}.liman-metric-tools{position:static;align-items:flex-start;margin-top:6px}.liman-local-mini-grid{grid-template-columns:1fr 1fr!important}.liman-map-wrap .smart-buoy-map{height:340px!important}}


/* v1.37.3 liman interactive map + compact layout */
.liman-main-metrics{gap:6px!important;margin:6px 0 8px!important}
.liman-main-metrics .liman-metric{padding:8px 10px!important;min-height:84px!important}
.liman-main-metrics .liman-metric > div{display:flex;flex-direction:column;gap:2px}
.liman-main-metrics .liman-metric small{font-size:.66rem!important;line-height:1.05!important}
.liman-main-metrics .liman-metric strong{font-size:1.05rem!important;line-height:1.08!important;margin-top:1px!important}
.liman-main-metrics .liman-metric em{font-size:.60rem!important;line-height:1.05!important;margin-top:1px!important}
.liman-wind-card{padding-right:96px!important}
.liman-metric-tools{top:6px!important;right:8px!important;align-items:flex-end!important}
.liman-metric-tools .liman-source{margin:0 0 2px auto!important}
.liman-unit-switch.inline-right{margin-left:auto!important;justify-content:flex-end!important}
.liman-unit-switch.inline-right button{font-size:.62rem!important}
.liman-core-grid{grid-template-columns:minmax(0,1.7fr) minmax(320px,.85fr)!important;gap:8px!important;align-items:stretch!important}
.liman-camera-card,.liman-side-stack > .card{padding:8px 10px!important}
.liman-camera-card{display:flex;flex-direction:column}
.liman-camera-frame{flex:1 1 auto;aspect-ratio:auto!important;min-height:0!important;height:100%!important}
.liman-side-stack{display:grid;grid-template-rows:minmax(116px,auto) minmax(240px,1fr) minmax(118px,auto);gap:8px;height:100%}
.liman-side-stack .liman-map-card{min-height:0;display:flex;flex-direction:column}
.liman-map-card.embedded .liman-map-wrap.embedded{flex:1 1 auto;min-height:0}
.liman-map-card.embedded .smart-buoy-map{height:100%!important;min-height:220px!important}
.liman-local-card .liman-section-head,.liman-hazard-card .liman-section-head,.liman-map-card .liman-section-head,.liman-camera-card .liman-section-head{margin-bottom:4px!important}
.liman-local-mini-grid{gap:5px!important}
.liman-local-mini-grid .liman-metric{padding:7px 8px!important;min-height:0!important}
.liman-local-mini-grid .liman-metric strong{font-size:1rem!important}
.liman-hazard-card .smart-hazard-list{display:grid;gap:5px;height:100%;align-content:start}
.liman-hazard-card .smart-hazard-row{padding:7px 8px!important;border-radius:12px!important}
.liman-hazard-card .smart-hazard-row strong{font-size:.74rem!important;line-height:1.05}
.liman-hazard-card .smart-hazard-row small{font-size:.59rem!important;line-height:1.05}
.liman-map-card.embedded .liman-map-rail{top:10px!important;right:10px!important}
.liman-map-card.embedded .smart-map-drawer{top:10px!important;right:64px!important;max-height:calc(100% - 20px)!important}
.smart-weather-value.waves{background:rgba(10,31,54,.96)!important;border-color:rgba(93,241,255,.35)!important;color:#eafcff!important;font-size:.62rem!important;display:flex;gap:4px;align-items:center}
@media(max-width:1180px){.liman-core-grid{grid-template-columns:1fr!important}.liman-side-stack{grid-template-rows:auto 280px auto;height:auto}.liman-camera-frame{min-height:330px!important}}


/* v1.37.4 liman compact refinements */
.liman-side-stack{grid-template-rows:minmax(88px,auto) minmax(280px,1fr) minmax(96px,auto)!important}
.liman-map-card.embedded .smart-buoy-map{min-height:270px!important}
.liman-local-mini-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.liman-local-mini-grid .liman-metric{display:flex;align-items:center;gap:8px;padding:6px 8px!important}
.liman-local-mini-grid .liman-metric > div{gap:1px!important}
.liman-local-mini-grid .liman-metric small{font-size:.58rem!important}
.liman-main-metrics .liman-metric{padding:7px 10px!important;min-height:78px!important}
.liman-main-metrics .liman-metric strong{font-size:1.02rem!important}
.liman-main-metrics .liman-metric em{font-size:.57rem!important}
.liman-wind-card{padding-top:7px!important;padding-bottom:7px!important;padding-right:90px!important}
.liman-metric-tools{top:10px!important;right:8px!important}
.liman-metric-tools .liman-source{font-size:.56rem!important}
.liman-unit-switch.inline-right{margin-top:6px!important}
.liman-unit-switch.inline-right button{padding:3px 7px!important;font-size:.58rem!important}
.smart-hazard-list{gap:4px!important}
.smart-hazard-row{padding:7px 8px!important;display:grid!important;grid-template-columns:12px 1fr 14px!important;align-items:start!important;gap:8px!important;text-align:left}
.smart-hazard-row .hazard-dot{font-size:.9rem;line-height:1;margin-top:2px}
.smart-hazard-row .hazard-body{display:flex;flex-direction:column;gap:2px;min-width:0}
.smart-hazard-row strong{font-size:.74rem!important;line-height:1.1!important;white-space:normal!important}
.smart-hazard-row .hazard-inline{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:.60rem!important;line-height:1.05!important;color:#b7c9da!important}
.smart-hazard-row .hazard-inline span{white-space:nowrap}
.smart-hazard-row .hazard-note{font-size:.59rem!important;line-height:1.12!important;color:#dce8f4!important;margin-top:1px}
.smart-hazard-row .hazard-caret{font-size:.72rem;color:#8cc9ff;align-self:center}
.smart-hazard-row.open{background:rgba(19,47,77,.9)!important}
.liman-map-card.embedded .liman-map-rail button{width:36px!important;height:36px!important;font-size:1rem!important;border-radius:12px!important}
.liman-map-card.embedded .liman-map-rail{gap:6px!important;right:8px!important;top:8px!important}
.liman-map-card.embedded .smart-map-drawer{right:50px!important;top:8px!important}
.liman-map-card.embedded .smart-map-wrap.embedded{min-height:0!important}
.liman-map-card.embedded .smart-map-hud{padding:7px 9px!important;font-size:.72rem!important}
.liman-map-card.embedded .smart-weather-value{font-size:.56rem!important;padding:2px 5px!important;border-radius:8px!important}
.liman-map-card.embedded .smart-vector-wrap small{font-size:.50rem!important}
.liman-map-card.embedded .smart-vector{font-size:1rem!important;width:22px!important;height:22px!important}
.liman-map-card.embedded .leaflet-control-zoom a{width:28px!important;height:28px!important;line-height:28px!important;font-size:18px!important}
@media (max-width:1180px){.liman-local-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.liman-side-stack{grid-template-rows:auto 280px auto!important}}

/* v1.37.5 — liman map/alerts/layout follow-up refinements */
.portfolio-brand .portfolio-mark{font-size:1.1rem}
.liman-hero .eyebrow{display:none!important}
.liman-main-metrics{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}
.liman-main-metrics .liman-metric{min-height:86px!important}
.liman-wind-card{padding-right:94px!important}
.liman-wind-card>div{padding-right:8px!important}
.liman-metric-tools{top:8px!important;right:8px!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:3px!important}
.liman-metric-tools .liman-source{margin:0 0 1px auto!important}
.liman-unit-switch.inline-right{display:flex!important;justify-content:flex-end!important;flex-wrap:nowrap!important;width:100%!important;margin-top:8px!important;margin-left:auto!important}
.liman-unit-switch.inline-right button{min-width:36px!important;height:22px!important;padding:0 7px!important;font-size:.58rem!important}
.liman-core-grid{grid-template-columns:minmax(0,1.95fr) minmax(270px,.68fr)!important;gap:8px!important;align-items:stretch!important}
.liman-side-stack{grid-template-rows:minmax(82px,auto) minmax(335px,1fr) minmax(100px,auto)!important;gap:8px!important}
.liman-map-wrap .smart-buoy-map{height:520px!important}
.liman-map-card .leaflet-control-scale{margin:0 12px 12px 0!important}
.liman-map-card .leaflet-control-scale-line{border-color:rgba(17,37,58,.75)!important;background:rgba(255,255,255,.9)!important;color:#17324a!important;font-weight:800!important}
.liman-map-wrap .smart-map-drawer,
.liman-map-card .smart-map-drawer,
.liman-map-card.embedded .smart-map-drawer,
.liman-map-card .liman-map-drawer{left:auto!important;right:58px!important;top:10px!important;max-width:310px!important;max-height:min(72vh,620px)!important;overflow:auto!important}
.liman-map-card:fullscreen .smart-map-drawer,
.smart-map-fullscreen-shell:fullscreen .liman-map-card .smart-map-drawer,
.smart-map-fullscreen-shell:fullscreen .liman-map-card .liman-map-drawer{left:auto!important;right:60px!important;top:12px!important;max-height:min(78vh,720px)!important}
.liman-map-rail button{width:32px!important;height:32px!important;font-size:.94rem!important}
.liman-map-card.embedded .liman-map-rail button{width:32px!important;height:32px!important;font-size:.94rem!important;border-radius:10px!important}
.smart-hazard-list.compact{display:grid!important;gap:8px!important}
.smart-hazard-row{width:100%!important;display:grid!important;grid-template-columns:12px minmax(0,1fr) 14px!important;align-items:start!important;gap:8px!important;white-space:normal!important}
.smart-hazard-row .hazard-body{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important;width:100%!important}
.smart-hazard-row strong,.smart-hazard-row small,.smart-hazard-row span{white-space:normal!important;word-break:normal!important;overflow-wrap:anywhere!important}
.smart-hazard-row .hazard-inline{display:flex!important;flex-wrap:wrap!important;gap:4px 10px!important;line-height:1.18!important}
.liman-hazard-card .smart-hazard-list{max-height:350px!important;overflow:auto!important}
.smart-weather-value.waves,.smart-weather-value.seaTemperature{cursor:help}
@media(max-width:1180px){
  .liman-core-grid{grid-template-columns:1fr!important}
  .liman-side-stack{grid-template-rows:auto 300px auto!important;height:auto!important}
  .liman-map-wrap .smart-buoy-map{height:420px!important}
}


/* v1.37.6 — Liman 4. bölüm genişletme + 5–8 tek satır başlık */
.liman-core-grid{
  grid-template-columns:minmax(0,1.48fr) minmax(430px,1fr)!important;
  gap:8px!important;
}
.liman-camera-card{min-width:0!important}
.liman-side-stack{
  grid-template-rows:minmax(74px,auto) minmax(360px,1fr) minmax(84px,auto)!important;
  gap:6px!important;
}
.liman-local-card,.liman-hazard-card{padding:6px 8px!important}
.liman-local-card .liman-section-head,.liman-hazard-card .liman-section-head{margin-bottom:3px!important}
.liman-local-card .liman-section-head h2,.liman-hazard-card .liman-section-head h2{font-size:.92rem!important;line-height:1.05!important}
.liman-local-mini-grid{gap:4px!important}
.liman-local-mini-grid .liman-metric{padding:4px 5px!important;gap:5px!important;border-radius:9px!important}
.liman-local-mini-grid .liman-metric-icon{width:24px!important;height:24px!important;min-width:24px!important;font-size:.72rem!important}
.liman-local-mini-grid .liman-metric small{font-size:.48rem!important;line-height:1!important}
.liman-local-mini-grid .liman-metric strong{font-size:.78rem!important;line-height:1!important}
.liman-local-mini-grid .liman-metric em{font-size:.45rem!important;line-height:1!important}
.liman-hazard-card .liman-source{font-size:.46rem!important;padding:2px 5px!important}
.liman-hazard-card .smart-hazard-list{gap:4px!important;max-height:135px!important;overflow:auto!important}
.liman-hazard-card .smart-hazard-row{padding:5px 6px!important;gap:5px!important;grid-template-columns:9px minmax(0,1fr) 10px!important;border-radius:9px!important}
.liman-hazard-card .smart-hazard-row .hazard-dot{font-size:.66rem!important}
.liman-hazard-card .smart-hazard-row strong{font-size:.58rem!important;line-height:1.08!important}
.liman-hazard-card .smart-hazard-row .hazard-inline{font-size:.49rem!important;line-height:1.05!important;gap:2px 6px!important}
.liman-hazard-card .smart-hazard-row .hazard-note{font-size:.48rem!important;line-height:1.08!important}
.liman-hazard-card .smart-hazard-row .hazard-caret{font-size:.54rem!important}

/* Map is the dominant middle block; no extra card/header around it. */
.liman-map-card.liman-map-plain{
  padding:0!important;
  border:0!important;
  border-radius:11px!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden!important;
  min-height:0!important;
}
.liman-map-card.liman-map-plain .liman-map-wrap{height:100%!important;min-height:360px!important;border-radius:11px!important;overflow:hidden!important}
.liman-map-card.liman-map-plain .smart-buoy-map{height:100%!important;min-height:360px!important;border-radius:11px!important}

/* Sections 5–8: exactly one compact heading row. */
.liman-section-card{padding-top:7px!important}
.liman-section-head.liman-simple-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  margin-bottom:6px!important;
  min-height:22px!important;
}
.liman-section-head.liman-simple-head h2{
  margin:0!important;
  font-size:1.05rem!important;
  line-height:1.08!important;
  color:inherit!important;
  white-space:nowrap!important;
}
.liman-section-head.liman-simple-head .liman-source{margin:0!important;flex:none!important}
.liman-chart-grid,.liman-optional-grid,.liman-internet-grid{margin-top:0!important}

@media(max-width:1350px){
  .liman-core-grid{grid-template-columns:minmax(0,1.38fr) minmax(390px,1fr)!important}
}
@media(max-width:1180px){
  .liman-core-grid{grid-template-columns:1fr!important}
  .liman-side-stack{grid-template-rows:auto 330px auto!important}
  .liman-map-card.liman-map-plain .liman-map-wrap,.liman-map-card.liman-map-plain .smart-buoy-map{min-height:330px!important}
}


/* v1.37.7 — warning icons removed + maritime map coverage */
.liman-hazard-card .smart-hazard-row,
.smart-hazard-list.compact .smart-hazard-row{grid-template-columns:minmax(0,1fr)!important;padding:6px 8px!important;min-height:0!important}
.smart-hazard-row .hazard-body{width:100%!important;min-width:0!important}
.smart-hazard-row .hazard-inline{display:flex!important;flex-wrap:wrap!important;gap:3px 10px!important;font-size:.56rem!important;line-height:1.15!important}
.smart-hazard-row .hazard-note{font-size:.56rem!important;line-height:1.22!important;margin-top:3px!important}
.smart-hazard-row strong{font-size:.68rem!important;line-height:1.15!important}
.smart-hazard-row.fire{border-color:rgba(239,68,68,.35)!important}
.smart-hazard-row.fire strong{color:#fecaca!important}
.smart-seamark-tooltip-content{max-width:285px!important}
.smart-seamark-tooltip-content strong{font-size:.72rem!important}
.smart-seamark-tooltip-content span,.smart-seamark-tooltip-content small{display:block;line-height:1.25}
.smart-seamark-tooltip-content small{font-size:.61rem!important}
.smart-seamark-popup .leaflet-popup-content{margin:9px 11px!important}

/* v1.37.8 — liman regression fixes */
.liman-wind-card{position:relative!important;padding-right:118px!important}
.liman-wind-card>div:not(.liman-metric-tools){padding-right:0!important}
.liman-metric-tools{position:absolute!important;right:8px!important;top:7px!important;width:104px!important;display:grid!important;grid-template-rows:18px 24px!important;justify-items:end!important;align-content:start!important;row-gap:10px!important}
.liman-metric-tools>.liman-source{grid-row:1!important;margin:0!important;align-self:start!important;justify-self:end!important}
.liman-unit-switch.inline-right{grid-row:2!important;margin:0!important;width:auto!important;display:flex!important;gap:4px!important;justify-content:flex-end!important;align-items:center!important}
.liman-unit-switch.inline-right button{height:22px!important;min-width:31px!important;padding:0 6px!important;line-height:20px!important;font-size:.56rem!important}
.smart-seamark-tooltip{pointer-events:none!important}
.smart-seamark-tooltip-content{max-width:300px!important;white-space:normal!important}
@media(max-width:700px){.liman-wind-card{padding-right:8px!important}.liman-metric-tools{position:static!important;width:auto!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;margin-left:auto!important}.liman-unit-switch.inline-right{margin-top:5px!important}}


/* v1.37.9 — local map data footprint + wind metric width */
.liman-main-metrics{
  grid-template-columns:minmax(0,1.28fr) repeat(5,minmax(0,1fr))!important;
}
.liman-wind-card{min-width:0!important}
@media(max-width:1180px){
  .liman-main-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .liman-wind-card{grid-column:span 1!important}
}
@media(max-width:760px){
  .liman-main-metrics{grid-template-columns:1fr 1fr!important}
  .liman-wind-card{grid-column:1/-1!important}
}

/* v1.38.0 — active pier map table + map performance */
.liman-map-station-panel{
  position:absolute;z-index:705;right:10px;bottom:42px;width:min(310px,42%);
  border:1px solid rgba(72,112,145,.58);border-radius:12px;
  background:rgba(7,27,45,.93);color:#edf8ff;backdrop-filter:blur(9px);
  box-shadow:0 8px 24px rgba(0,0,0,.24);overflow:hidden;pointer-events:auto
}
.liman-map-station-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border-bottom:1px solid rgba(124,171,204,.18)}
.liman-map-station-head>div{min-width:0}.liman-map-station-head small{display:block;font-size:.45rem;letter-spacing:.09em;color:#63d9dc;font-weight:950}.liman-map-station-head strong{display:block;font-size:.72rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.liman-map-station-head>span{font-size:.45rem;font-weight:950;padding:3px 6px;border-radius:999px;background:#0f8b8d;color:white}.liman-map-station-head>span.demo{background:#f2b84b;color:#422800}
.liman-map-station-grid{display:grid;grid-template-columns:1fr;padding:3px 7px}
.liman-map-station-row{display:grid;grid-template-columns:minmax(78px,.8fr) minmax(90px,1fr) 42px;align-items:center;gap:5px;padding:4px 2px;border-bottom:1px solid rgba(124,171,204,.10)}
.liman-map-station-row:last-child{border-bottom:0}.liman-map-station-row span{font-size:.52rem;color:#a9c7da}.liman-map-station-row strong{font-size:.61rem;color:#fff;text-align:right;white-space:nowrap}.liman-map-station-row em{font-style:normal;font-size:.42rem;font-weight:900;color:#65d9dd;text-align:right}
.liman-map-confidence{display:grid;grid-template-columns:1fr auto;gap:1px 8px;align-items:center;padding:6px 9px;background:rgba(15,139,141,.14);border-top:1px solid rgba(79,213,214,.18)}
.liman-map-confidence span{font-size:.52rem;font-weight:850}.liman-map-confidence strong{font-size:.82rem;color:#72edf0}.liman-map-confidence small{grid-column:1/-1;font-size:.42rem;color:#93b4c8}
:root[data-theme="light"] .liman-map-station-panel{background:rgba(255,255,255,.96);color:#14304a;border-color:#bdd2df}.liman-map-station-row strong{color:inherit}:root[data-theme="light"] .liman-map-station-row span{color:#637d92}:root[data-theme="light"] .liman-map-station-row em{color:#087b7d}:root[data-theme="light"] .liman-map-confidence{background:#ecfbfb}
.smart-vector-wind-wrap{transform:translateY(-7px)}.smart-vector-current-wrap{transform:translateY(7px)}
@media(max-width:900px){.liman-map-station-panel{width:min(280px,55%);right:8px;bottom:40px}}
@media(max-width:620px){.liman-map-station-panel{width:calc(100% - 84px);max-width:270px}.liman-map-station-row{grid-template-columns:72px 1fr 38px}}


/* v1.38.1 — compact active pier tab, traffic density, fullscreen-safe context menu */
.liman-map-station-panel{left:10px!important;right:auto!important;top:10px!important;bottom:auto!important;width:42px!important;max-width:none!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;backdrop-filter:none!important}
.liman-map-station-tab{display:flex;width:42px;height:76px;padding:5px 3px;border:1px solid rgba(87,142,177,.62);border-radius:0 11px 11px 0;background:rgba(7,27,45,.94);color:#eaf8ff;align-items:center;justify-content:center;flex-direction:column;gap:4px;cursor:pointer;box-shadow:0 5px 15px rgba(0,0,0,.22)}
.liman-map-station-tab span{font-size:.45rem;font-weight:900;writing-mode:vertical-rl;transform:rotate(180deg);letter-spacing:.04em}
.liman-map-station-body{display:none;width:310px;border:1px solid rgba(72,112,145,.58);border-radius:12px;background:rgba(7,27,45,.95);color:#edf8ff;backdrop-filter:blur(9px);box-shadow:0 8px 24px rgba(0,0,0,.24);overflow:hidden;position:absolute;left:48px;top:0}
.liman-map-station-panel.open .liman-map-station-body{display:block}
.liman-map-forecast-confidence{display:grid;grid-template-columns:1fr auto;gap:1px 8px;align-items:center;padding:6px 9px;background:rgba(23,116,180,.17);border-top:1px solid rgba(86,167,222,.22)}
.liman-map-forecast-confidence span{font-size:.52rem;font-weight:900}.liman-map-forecast-confidence strong{font-size:.84rem;color:#8cddff}.liman-map-forecast-confidence small{grid-column:1/-1;font-size:.42rem;color:#a5c8db;line-height:1.25}
:root[data-theme="light"] .liman-map-station-tab{background:rgba(255,255,255,.96);color:#17324a;border-color:#b8d0df}
:root[data-theme="light"] .liman-map-station-body{background:rgba(255,255,255,.97);color:#14304a;border-color:#bdd2df}
:root[data-theme="light"] .liman-map-forecast-confidence{background:#edf8ff}:root[data-theme="light"] .liman-map-forecast-confidence strong{color:#08719f}:root[data-theme="light"] .liman-map-forecast-confidence small{color:#5d7a8d}
.liman-map-card:fullscreen .liman-map-station-panel{width:42px!important}
.liman-map-card:fullscreen .liman-map-station-body{display:block!important;width:320px}
.liman-map-card:fullscreen .liman-map-station-tab{display:none!important}
.liman-map-context-menu{position:absolute;z-index:980;width:220px;padding:9px;border:1px solid rgba(83,129,162,.72);border-radius:11px;background:rgba(7,27,45,.97);color:#edf8ff;box-shadow:0 12px 32px rgba(0,0,0,.34);display:grid;gap:7px}
.liman-map-context-menu strong{font-size:.78rem}.liman-map-context-menu small{font-size:.56rem;color:#a8c4d6}.liman-map-context-menu input{height:32px;font-size:.72rem;background:#102b43;color:#fff;border-color:#31526b}.liman-map-context-menu>div{display:flex;gap:6px;justify-content:flex-end}.liman-map-context-menu button{border:1px solid #365b74;background:#173950;color:#e8f7ff;border-radius:8px;padding:5px 9px;font-size:.64rem;font-weight:850;cursor:pointer}.liman-map-context-menu button.primary{background:#0d8f91;border-color:#20bfc1;color:#fff}.liman-map-context-menu button.danger{background:#9f2830;border-color:#d24c54;color:#fff}
:root[data-theme="light"] .liman-map-context-menu{background:#fff;color:#183149;border-color:#bdd2df}:root[data-theme="light"] .liman-map-context-menu small{color:#637e93}:root[data-theme="light"] .liman-map-context-menu input{background:#fff;color:#183149;border-color:#bcd0dd}


/* v1.38.2 — liman üst sol logo */
.portfolio-mark.is-logo{padding:0;background:#ffffff;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.18)}
.portfolio-mark.is-logo img{width:100%;height:100%;display:block;object-fit:cover;border-radius:12px}
:root[data-theme="light"] .portfolio-mark.is-logo{box-shadow:0 8px 24px rgba(15,23,42,.12)}


/* v1.38.3 — liman tooltip + kulakçık + logo iyileştirmeleri */
.smart-weather-value-wrap,.smart-vector-wrap{pointer-events:auto!important}
.smart-weather-value-wrap .smart-weather-value,.smart-vector-wrap .smart-vector,.smart-vector-wrap small{pointer-events:auto!important}
.leaflet-tooltip.smart-seamark-tooltip,.leaflet-tooltip.smart-map-mini-tooltip{pointer-events:none}
.smart-map-mini-popup .leaflet-popup-content{margin:8px 10px;font-size:.72rem;line-height:1.25}
.smart-map-mini-popup .leaflet-popup-content-wrapper{border-radius:10px}
.portfolio-mark.is-logo{padding:1px;background:#fff}
.portfolio-mark.is-logo img{width:114%;height:114%;object-fit:cover;transform:scale(1.08);transform-origin:center center}
.liman-map-station-panel{left:10px!important;right:auto!important;top:10px!important;bottom:auto!important;width:34px!important;max-width:none!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;backdrop-filter:none!important}
.liman-map-station-tab{display:flex;width:34px;height:62px;padding:4px 2px;border:1px solid rgba(87,142,177,.52);border-radius:0 10px 10px 0;background:rgba(7,27,45,.92);color:#eaf8ff;align-items:center;justify-content:center;flex-direction:column;gap:4px;cursor:pointer;box-shadow:0 5px 15px rgba(0,0,0,.20)}
.liman-map-station-tab img{width:24px;height:24px;display:block;object-fit:cover;border-radius:8px;background:#fff;padding:1px}
.liman-map-station-tab span{font-size:.52rem;font-weight:900;line-height:1;writing-mode:horizontal-tb;transform:none;letter-spacing:0;color:#b7dff0}
.liman-map-station-body{display:none;width:300px;border:1px solid rgba(72,112,145,.58);border-radius:12px;background:rgba(7,27,45,.95);color:#edf8ff;backdrop-filter:blur(9px);box-shadow:0 8px 24px rgba(0,0,0,.24);overflow:hidden;position:absolute;left:40px;top:0}
.liman-map-station-panel.open .liman-map-station-body{display:block}
:root[data-theme="light"] .liman-map-station-tab{background:rgba(255,255,255,.96);color:#17324a;border-color:#b8d0df}
:root[data-theme="light"] .liman-map-station-body{background:rgba(255,255,255,.97);color:#14304a;border-color:#bdd2df}
.liman-map-card:fullscreen .liman-map-station-panel,.smart-map-fullscreen-shell:fullscreen .liman-map-card .liman-map-station-panel{width:34px!important}
.liman-map-card:fullscreen .liman-map-station-body,.smart-map-fullscreen-shell:fullscreen .liman-map-card .liman-map-station-body{display:none!important;width:308px;left:40px}
.liman-map-card:fullscreen .liman-map-station-panel.open .liman-map-station-body,.smart-map-fullscreen-shell:fullscreen .liman-map-card .liman-map-station-panel.open .liman-map-station-body{display:block!important}
.liman-map-card:fullscreen .liman-map-station-tab,.smart-map-fullscreen-shell:fullscreen .liman-map-card .liman-map-station-tab{display:flex!important}
@media(max-width:900px){.liman-map-station-body{width:min(280px,calc(100vw - 92px))}}

/* v1.38.7 — compact secure reverse SSH modal + analytics readability */
.device-connect-modal{width:min(96vw,860px);max-height:min(90vh,780px);padding:18px 20px;overflow-x:hidden}
.remote-connect-title{margin-bottom:10px;align-items:flex-start}
.remote-connect-title h2{margin:1px 0 0;font-size:1.35rem}
.remote-access-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:11px}
.remote-access-kpis>div{min-width:0;padding:9px 10px}
.remote-access-kpis span{font-size:.59rem;font-weight:800;letter-spacing:.01em}
.remote-access-kpis strong{font-size:.83rem;line-height:1.22;margin-top:4px;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.remote-access-kpis .fleet-status{font-size:.95rem;white-space:nowrap}
.remote-command-list{display:grid;gap:8px;margin-top:3px}
.remote-command-field{display:grid;gap:4px;min-width:0}
.remote-command-field>label{font-size:.62rem;font-weight:850;color:var(--muted)}
.remote-command-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;min-width:0}
.remote-command-input{height:36px!important;min-height:36px!important;padding:6px 9px!important;font-size:.69rem!important;line-height:1.2;resize:none;white-space:nowrap;overflow-x:auto}
.remote-copy-btn{min-height:36px!important;height:36px;padding:6px 11px;font-size:.65rem;white-space:nowrap}
.remote-security-note{margin-top:10px!important;padding:8px 10px!important;font-size:.58rem!important;line-height:1.35}
.remote-modal-actions{margin-top:9px!important}

.superinno-summary.expanded .project-kpi strong{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.08}
.superinno-summary.expanded .project-kpi em{line-height:1.25}
.analytics-users table td,.analytics-users table th{vertical-align:middle}
.analytics-users table td strong{white-space:nowrap}
.super-project-bar.rich strong{white-space:nowrap}

[data-theme="dark"] .remote-command-input{background:#0b1f31;border-color:#29465e;color:#e7f3f8}

@media(max-width:700px){
  .device-connect-modal{width:min(98vw,680px);padding:15px;max-height:92vh}
  .remote-access-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .remote-command-row{grid-template-columns:1fr}
  .remote-copy-btn{width:100%}
  .remote-command-input{font-size:.64rem!important}
}


/* v1.39.0 — e-Pendulum çoklu cihaz kontrol paneli. Liman/Şamandıra sınıflarından bağımsızdır. */
.dashboard-multi-live{display:grid;gap:10px;margin-bottom:12px}
.dashboard-live-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.dashboard-live-actions .small{flex:1;min-width:240px}
.dashboard-device-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px}
.dashboard-device-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"select action" "values values";gap:8px;border:1px solid var(--line);border-radius:12px;padding:10px;background:var(--surface)}
.dashboard-device-card.selected{border-color:var(--primary);box-shadow:inset 3px 0 0 var(--primary)}.dashboard-device-card.offline{opacity:.72}
.dashboard-device-select{grid-area:select;display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;text-align:left;border:0;background:transparent;color:var(--text);cursor:pointer;min-width:0;padding:0}.dashboard-device-select>span{grid-row:1/3;font-size:1rem;color:var(--primary)}.dashboard-device-select strong,.dashboard-device-select small{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-device-select small{color:var(--muted);font-size:.68rem;margin-top:2px}
.dashboard-device-card>.btn{grid-area:action;align-self:start}.dashboard-device-values{grid-area:values;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.dashboard-device-values>div{border:1px solid var(--line);border-radius:9px;padding:7px;background:var(--surface-soft);min-width:0}.dashboard-device-values span,.dashboard-device-values b{display:block}.dashboard-device-values span{font-size:.59rem;color:var(--muted)}.dashboard-device-values b{font-size:.82rem;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px){.dashboard-device-grid{grid-template-columns:1fr}.dashboard-device-values{grid-template-columns:1fr 1fr}.dashboard-device-values>div:last-child{grid-column:1/-1}.dashboard-live-actions .btn{flex:1 1 auto}.dashboard-live-actions .small{flex-basis:100%;min-width:0}}

/* v1.39.0 — yalnız uzak SSH modalını kompaktlaştırır. */
.device-connect-modal{width:min(720px,calc(100vw - 24px))!important;max-width:720px!important}
.device-connect-modal .remote-command-input{min-height:38px!important;height:38px!important;max-height:38px!important;resize:none!important;line-height:1.25!important;padding:9px 10px!important;font-size:.78rem!important;white-space:nowrap;overflow-x:auto;overflow-y:hidden}
.device-connect-modal .remote-access-kpis strong{font-size:.78rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;display:block}
@media(max-width:620px){.device-connect-modal{width:calc(100vw - 12px)!important}.remote-access-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.device-connect-modal .remote-command-input{font-size:.7rem!important}}

/* v1.39.2 - kullanıcı/firma proje ve modül yetki editörü */
.user-access-modal{width:min(920px,94vw);max-height:90vh;overflow:auto}
.organization-editor-modal{width:min(900px,94vw);max-height:90vh;overflow:auto}
.access-editor-section{border:1px solid var(--line);border-radius:14px;padding:14px;margin:12px 0;background:color-mix(in srgb,var(--panel) 92%,transparent)}
.access-editor-section .section-heading{margin-bottom:10px}
.access-master-toggle{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;background:var(--panel-soft)}
.access-master-toggle span{display:flex;flex-direction:column;gap:3px}
.access-master-toggle small{font-size:11px;color:var(--muted)}
.access-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.access-choice{display:flex;align-items:flex-start;gap:9px;padding:10px 11px;border:1px solid var(--line);border-radius:11px;background:var(--panel-soft);min-width:0}
.access-choice input{margin-top:3px;flex:0 0 auto}
.access-choice span{display:flex;flex-direction:column;gap:2px;min-width:0}
.access-choice strong{font-size:13px;line-height:1.25}
.access-choice small{font-size:10.5px;line-height:1.25;color:var(--muted);white-space:normal}
.access-choice.disabled{opacity:.52}
.user-access-summary{display:block;max-width:340px;font-size:11px;line-height:1.35;color:var(--muted)}
.organization-project-grid{margin-top:4px}
@media(max-width:720px){.access-choice-grid{grid-template-columns:1fr}.user-access-modal,.organization-editor-modal{width:96vw}}

/* v1.39.4 device identity diagnostics */
.warning-text { color: #f7b955; }

/* v1.39.5 — firma talebi, birleşik cihaz merkezi ve Portinno çift kamera */
.application-request-head{max-width:760px;margin:0 auto 18px;text-align:center}.application-request-head h2{margin:5px 0 6px;font-size:clamp(1.45rem,2.6vw,2rem)}.application-request-head p{margin:0;color:var(--muted);font-size:.92rem;line-height:1.55}.application-request-form{max-width:880px;margin:0 auto}.application-request-form .field{min-width:0}.application-username-preview{margin-top:7px;padding:9px 11px;border:1px solid color-mix(in srgb,var(--accent) 28%,var(--border));border-radius:10px;background:color-mix(in srgb,var(--accent) 7%,transparent);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.78rem}.application-username-preview span{color:var(--muted)}.application-username-preview strong{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9rem;letter-spacing:.01em;color:var(--text)}
.device-project-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.device-project-filters{display:flex;gap:7px;flex-wrap:wrap}.device-project-filters button{border:1px solid var(--border);background:var(--panel);color:var(--muted);border-radius:999px;padding:7px 11px;font:inherit;font-size:.8rem;cursor:pointer;transition:.15s ease}.device-project-filters button b{margin-left:5px;color:var(--text)}.device-project-filters button:hover,.device-project-filters button.active{border-color:color-mix(in srgb,var(--accent) 55%,var(--border));background:color-mix(in srgb,var(--accent) 12%,var(--panel));color:var(--text)}.device-project-badge{display:inline-flex;align-items:center;width:max-content;margin:0 7px 5px 0;padding:3px 7px;border-radius:999px;font-size:.68rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.device-project-badge.ep{background:rgba(24,187,168,.12);color:#31cbb8}.device-project-badge.portinno{background:rgba(43,146,255,.12);color:#65b5ff}.unified-device-table td:first-child{min-width:245px}
.portinno-device-modal{width:min(1060px,94vw);max-height:92vh;overflow:auto}.portinno-device-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.portinno-test-section{margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}.portinno-test-section .section-heading{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-bottom:9px}.portinno-test-section h3{margin:0;font-size:1rem}.portinno-test-grid,.portinno-management-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.portinno-management-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.portinno-test-metric{border:1px solid var(--border);background:color-mix(in srgb,var(--panel) 94%,transparent);border-radius:11px;padding:10px;min-width:0}.portinno-test-metric span,.portinno-test-metric small{display:block;color:var(--muted);font-size:.7rem}.portinno-test-metric strong{display:block;margin:3px 0;font-size:.92rem;overflow-wrap:anywhere}.portinno-test-camera-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.portinno-test-camera{border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--panel)}.portinno-test-camera>div:first-child{display:flex;align-items:center;gap:8px;padding:9px 10px}.portinno-test-camera>div:first-child small{margin-left:auto;color:var(--muted)}.portinno-test-camera-frame{aspect-ratio:16/9;position:relative;background:#07121c;display:grid;place-items:center}.portinno-test-camera-frame img{width:100%;height:100%;object-fit:cover}.portinno-test-camera-frame .camera-placeholder{position:absolute;inset:0}
.liman-camera-titlebar{gap:12px}.liman-camera-titlebar p{margin:3px 0 0}.liman-camera-controls{display:flex;align-items:center;gap:5px;margin-left:auto}.liman-camera-controls button{height:31px;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:var(--muted);padding:0 9px;font:inherit;font-size:.73rem;cursor:pointer;white-space:nowrap}.liman-camera-controls button span,.camera-number{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:6px;background:rgba(255,255,255,.08);font-weight:800}.liman-camera-controls button.active{border-color:color-mix(in srgb,var(--accent) 55%,var(--border));background:color-mix(in srgb,var(--accent) 13%,var(--panel));color:var(--text)}.liman-camera-controls button.fullscreen{width:31px;padding:0;font-size:1rem}.liman-camera-frame{min-height:0}.liman-camera-wall{display:grid;grid-template-columns:1fr;gap:8px;width:100%}.liman-camera-wall.camera-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}.liman-camera-channel{min-width:0;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#07121c}.liman-camera-channel-head{height:38px;padding:0 8px;display:flex;align-items:center;gap:7px;background:color-mix(in srgb,var(--panel) 96%,black)}.liman-camera-channel-head>div{min-width:0;display:grid}.liman-camera-channel-head strong{font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.liman-camera-channel-head small{font-size:.64rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.liman-camera-channel-head button{margin-left:auto;width:28px;height:28px;padding:0}.liman-camera-view{position:relative;aspect-ratio:16/9;min-height:180px;display:grid;place-items:center;overflow:hidden}.liman-camera-view .smart-buoy-camera-image{width:100%;height:100%;object-fit:cover}.liman-camera-view .camera-placeholder{position:absolute;inset:0}.liman-camera-sensor-overlay{position:absolute;left:8px;right:8px;bottom:8px;z-index:3;display:flex;flex-wrap:wrap;gap:5px;pointer-events:none}.liman-camera-sensor-overlay span{display:flex;gap:5px;padding:5px 7px;border-radius:7px;background:rgba(2,10,18,.70);backdrop-filter:blur(5px);color:#eef7ff;font-size:.64rem;box-shadow:0 2px 9px rgba(0,0,0,.18)}.liman-camera-sensor-overlay b{color:#88d8ce;font-weight:700}.liman-camera-wall:fullscreen,.liman-camera-channel:fullscreen{background:#03080d;padding:12px;width:100vw;height:100vh}.liman-camera-wall:fullscreen{align-content:center}.liman-camera-wall:fullscreen .liman-camera-view,.liman-camera-channel:fullscreen .liman-camera-view{height:calc(100vh - 70px);aspect-ratio:auto}.liman-camera-wall.camera-count-2:fullscreen .liman-camera-view{height:min(70vh,calc(100vh - 70px))}.liman-camera-wall:fullscreen .liman-camera-sensor-overlay span,.liman-camera-channel:fullscreen .liman-camera-sensor-overlay span{font-size:.78rem;padding:7px 10px}
@media(max-width:900px){.liman-camera-wall.camera-count-2{grid-template-columns:1fr}.portinno-test-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portinno-management-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portinno-device-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.liman-camera-wall.camera-count-2:fullscreen{grid-template-columns:1fr;overflow:auto}.liman-camera-wall.camera-count-2:fullscreen .liman-camera-view{height:43vh}.device-project-toolbar{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.application-request-form .span-6,.application-request-form .span-4{grid-column:span 12}.application-username-preview{align-items:flex-start;flex-direction:column;gap:3px}.portinno-test-grid,.portinno-management-grid,.portinno-test-camera-grid{grid-template-columns:1fr}.liman-camera-titlebar{align-items:flex-start;flex-direction:column}.liman-camera-controls{margin-left:0;width:100%;overflow:auto}.liman-camera-controls button:not(.fullscreen){flex:1}.liman-camera-sensor-overlay{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.liman-camera-sensor-overlay span{min-width:0}}
.application-fixed-admin{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700;background:color-mix(in srgb,var(--panel) 92%,var(--accent) 8%)}.application-username-preview-wide{margin-top:-1px;padding:11px 13px}.application-username-preview-wide strong{font-size:1rem}


/* v1.39.9 — Portinno canlı/demo ayrımı ve çift kamera */
.liman-data-mode-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft);align-items:center}
.liman-data-mode-switch button{border:0;background:transparent;color:var(--muted);font:inherit;font-size:.68rem;font-weight:850;padding:5px 9px;border-radius:7px;cursor:pointer}
.liman-data-mode-switch button.active.live{background:rgba(20,184,166,.16);color:#0f9f94;box-shadow:inset 0 0 0 1px rgba(20,184,166,.3)}
.liman-data-mode-switch button.active.demo{background:rgba(245,158,11,.16);color:#d97706;box-shadow:inset 0 0 0 1px rgba(245,158,11,.3)}
.demo-camera-placeholder{min-height:210px;background:radial-gradient(circle at 40% 45%,rgba(20,184,166,.12),transparent 35%),linear-gradient(135deg,rgba(15,23,42,.06),rgba(14,165,233,.08))}
.liman-camera-view img{object-fit:contain;background:#05080d}
.liman-camera-channel:fullscreen .liman-camera-view,.liman-camera-wall:fullscreen .liman-camera-view{min-height:calc(100vh - 90px)}
.liman-camera-channel:fullscreen img,.liman-camera-wall:fullscreen img{width:100%;height:100%;max-height:calc(100vh - 90px);object-fit:contain}
@media(max-width:760px){.liman-hero-right{gap:6px;flex-wrap:wrap}.liman-data-mode-switch button{padding:5px 7px}}


/* v1.41.1 SAFE — Portinno tek başlık: mevcut ana çalışma alanına dokunmaz */
.portfolio-liman-live-actions{display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0;margin-left:auto;padding-right:2px}
.portfolio-liman-live-actions time{font-size:.64rem;font-weight:850;color:#d7edf5;white-space:nowrap}
.portfolio-liman-live-actions>.badge{font-size:.58rem;padding:4px 8px;white-space:nowrap}
.portfolio-liman-live-actions .liman-data-mode-switch{height:30px}
.portfolio-liman-live-actions .liman-data-mode-switch button{padding:4px 7px;font-size:.58rem}
.portfolio-liman-live-actions .btn{padding:6px 9px!important;font-size:.6rem!important;white-space:nowrap}
.portfolio-topbar{gap:10px}
.portfolio-top-actions{min-width:0}
:root[data-theme="light"] .portfolio-liman-live-actions time{color:#456274}
@media(max-width:1450px){.portfolio-user{display:none}.portfolio-liman-live-actions time{display:none}}
@media(max-width:1120px){.portfolio-liman-live-actions .btn{padding:6px!important}.portfolio-projects-button{display:none}}
@media(max-width:900px){.portfolio-liman-live-actions{gap:3px}.portfolio-liman-live-actions>.badge{display:none}.portfolio-liman-live-actions .btn{padding:6px!important;font-size:.55rem!important}.portfolio-brand small{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}


/* v1.42.0 SAFE: compact Portinno top spacing + device manager */
.portfolio-content:has(.liman-workspace){padding-top:2px!important}
.liman-main-metrics{margin-top:0!important}
.liman-optional-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.liman-device-modal{width:min(880px,calc(100vw - 28px));max-width:880px}
.liman-device-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.liman-device-status-grid>div{border:1px solid var(--line);background:var(--panel-soft);border-radius:12px;padding:10px;min-width:0;display:flex;flex-direction:column;gap:3px}
.liman-device-status-grid span{font-size:.62rem;color:var(--muted);font-weight:800}.liman-device-status-grid strong{font-size:.88rem}.liman-device-status-grid small{font-size:.56rem;color:var(--muted);line-height:1.3}
.liman-device-actions{display:flex;gap:7px;flex-wrap:wrap;margin:8px 0}.liman-device-note{font-size:.62rem;line-height:1.45;color:var(--muted);padding:9px 10px;border:1px dashed var(--line);border-radius:10px}.liman-device-note code{font-weight:900;color:var(--text)}
.liman-command-history{margin-top:12px}.liman-command-history h3{font-size:.78rem;margin:0 0 6px}.liman-command-history>div{display:grid;grid-template-columns:1fr 110px 160px;gap:8px;padding:6px 8px;border-top:1px solid var(--line);font-size:.62rem}.liman-command-history>div small{text-align:right;color:var(--muted)}
.ok-text{color:#16a34a!important}.warn-text{color:#d97706!important}
@media(max-width:800px){.liman-device-status-grid{grid-template-columns:1fr 1fr}.liman-command-history>div{grid-template-columns:1fr auto}.liman-command-history>div small{grid-column:1/-1;text-align:left}}
@media(max-width:520px){.liman-device-status-grid,.liman-optional-grid-three{grid-template-columns:1fr!important}}


/* v1.42.1 Portinno live module health */
.liman-top-module-strip{display:flex;align-items:center;gap:5px;flex-wrap:wrap;max-width:430px}
.liman-top-module{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border:1px solid var(--line);border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap;background:color-mix(in srgb,var(--panel) 88%,transparent)}
.liman-top-module i,.portinno-device-module>i,.camera-health-dot{width:7px;height:7px;border-radius:50%;display:inline-block;flex:0 0 auto;background:#64748b;box-shadow:0 0 0 2px rgba(100,116,139,.12)}
.liman-top-module.online i,.portinno-device-module.online>i,.camera-health-dot.online{background:#22c55e;box-shadow:0 0 0 2px rgba(34,197,94,.17)}
.liman-top-module.offline{opacity:.55}
.camera-health-dot{margin-right:1px}
.portinno-device-live-summary{display:grid;grid-template-columns:repeat(2,minmax(190px,1fr));gap:5px;margin-top:7px;max-width:650px}
.portinno-device-module{display:flex;align-items:flex-start;gap:7px;padding:5px 7px;border:1px solid var(--line);border-radius:8px;background:color-mix(in srgb,var(--panel) 90%,transparent);min-width:0}
.portinno-device-module>i{margin-top:4px}
.portinno-device-module span{display:flex;flex-direction:column;min-width:0}
.portinno-device-module b{font-size:10px;line-height:1.2}
.portinno-device-module small{font-size:9px;line-height:1.25;color:var(--muted);white-space:normal}
.portinno-device-module.offline{opacity:.58}
@media(max-width:1200px){.liman-top-module-strip{display:none}.portinno-device-live-summary{grid-template-columns:1fr}}

/* v1.43.0 Portinno professional operations polish */
.portfolio-topbar.liman-topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;height:72px;overflow:visible}
.portfolio-topbar.liman-topbar .portfolio-brand{justify-self:start}
.portfolio-topbar.liman-topbar .liman-top-module-strip{justify-self:center;min-width:0;max-width:100%;overflow:hidden}
.portfolio-topbar.liman-topbar .portfolio-top-actions{justify-self:end;min-width:0}
.liman-top-module-strip{display:flex;align-items:center;gap:4px;flex-wrap:nowrap!important;white-space:nowrap;max-width:none!important;overflow:hidden}
.liman-top-module{font-size:9px;padding:3px 6px;flex:0 0 auto}
.liman-top-module.priority-future{opacity:.48}
.liman-top-module.priority-optional.offline{opacity:.42}
@media(max-width:1600px){.liman-top-module.priority-future{display:none}.liman-top-module{font-size:8.5px;padding:3px 5px}}
@media(max-width:1420px){.liman-top-module.priority-optional{display:none}}
@media(max-width:1260px){.liman-top-module.priority-high{display:none}.portfolio-liman-live-actions time{display:none}}
@media(max-width:1100px){.portfolio-topbar.liman-topbar{grid-template-columns:auto 1fr auto}.liman-top-module-strip{display:none!important}}

/* Leaflet must stay inside its card; all modal/drawer UI is above it. */
.liman-map-card,.liman-map-wrap{position:relative;z-index:0!important;isolation:isolate}
.liman-map-wrap .smart-buoy-map,.liman-map-wrap .leaflet-container{position:relative;z-index:0!important}
.liman-map-rail{z-index:20!important}.liman-map-drawer{z-index:30!important}.liman-map-context-menu{z-index:40!important}
.modal-backdrop{z-index:6000!important}.liman-device-backdrop{z-index:6100!important}
.smart-module-drawer{z-index:6200!important}
#toast-root{z-index:7000!important}

/* Super-only Portinno management drawer */
.liman-admin-drawer{position:fixed;z-index:6250;right:12px;top:72px;width:min(410px,calc(100vw - 24px));max-height:calc(100vh - 84px);overflow:auto;padding:14px;border:1px solid rgba(94,234,212,.25);border-radius:16px;background:rgba(7,24,39,.985);box-shadow:0 24px 70px rgba(0,0,0,.48);transform:translateX(calc(100% + 28px));opacity:0;pointer-events:none;transition:.2s ease;color:#eefaff}
.liman-admin-drawer.open{transform:none;opacity:1;pointer-events:auto}
.liman-admin-drawer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.1)}
.liman-admin-drawer-head strong,.liman-admin-drawer-head small{display:block}.liman-admin-drawer-head strong{font-size:.95rem}.liman-admin-drawer-head small{font-size:.58rem;line-height:1.4;color:#9ec2d1;margin-top:3px}
.liman-admin-drawer-head button{width:30px;height:30px;border:1px solid rgba(255,255,255,.15);border-radius:8px;background:#102b42;color:#fff;cursor:pointer}
.liman-admin-summary{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:11px 0}.liman-admin-summary>div{border:1px solid rgba(148,197,224,.16);border-radius:10px;padding:8px;background:rgba(255,255,255,.03)}.liman-admin-summary span,.liman-admin-summary strong{display:block}.liman-admin-summary span{font-size:.55rem;color:#8fafbf}.liman-admin-summary strong{font-size:.72rem;margin-top:2px}
.liman-admin-actions{display:grid;gap:7px;margin:9px 0}.liman-admin-actions .btn{justify-content:flex-start}
:root[data-theme="light"] .liman-admin-drawer{background:#fff;color:#17324a;border-color:#c9dde6;box-shadow:0 24px 65px rgba(15,23,42,.2)}
:root[data-theme="light"] .liman-admin-drawer-head{border-bottom-color:#dfe8ee}:root[data-theme="light"] .liman-admin-drawer-head small{color:#687d91}

/* Four-slot camera selector: dot=connection, checkbox=shown/hidden. */
.liman-camera-controls{gap:4px;overflow:hidden}
.liman-camera-controls button:not(.fullscreen){display:inline-flex;align-items:center;gap:5px;padding:0 7px!important;min-width:0}
.liman-camera-controls button b{font-size:.68rem;font-weight:800;white-space:nowrap}
.liman-camera-controls .camera-select-box{display:inline-grid!important;place-items:center!important;width:17px!important;height:17px!important;border-radius:5px!important;border:1px solid #4b6275;background:rgba(255,255,255,.035)!important;color:#7c8d9c;font-size:10px;font-weight:900}
.liman-camera-controls button.active .camera-select-box{border-color:#34d399;background:rgba(34,197,94,.16)!important;color:#6ee7a7}
.liman-camera-controls button.active{box-shadow:inset 0 0 0 1px rgba(52,211,153,.15)}
.liman-camera-controls button.future{opacity:.42;cursor:not-allowed}
.liman-camera-controls button.future .camera-select-box{color:#607486}
@media(max-width:1000px){.liman-camera-controls button b{font-size:.61rem}.liman-camera-controls button:not(.fullscreen){padding:0 5px!important}}

/* Clear calibration empty-state instead of a misleading blank chart. */
.liman-chart-empty{padding:18px 10px;text-align:center;color:var(--muted);font-size:.66rem;line-height:1.35}


/* v1.43.2 — Portinno settings hierarchy + exact-root navigation polish */
.marine-settings-head{align-items:center;padding:24px 4px 18px}
.marine-settings-head h1{font-size:2.15rem;line-height:1.08;margin:4px 0 7px;letter-spacing:-.02em}
.marine-settings-head p{font-size:.82rem;line-height:1.55;max-width:900px}
.marine-settings-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"location location" "wind map" "calibration calibration" "panels panels" "time security";gap:14px;align-items:start;padding-bottom:28px}
.marine-settings-card{align-self:start;padding:19px!important;border-radius:16px!important}
.marine-settings-card.settings-location{grid-area:location}.marine-settings-card.settings-wind{grid-area:wind}.marine-settings-card.settings-map{grid-area:map}.marine-settings-card.settings-calibration{grid-area:calibration}.marine-settings-card.settings-panels{grid-area:panels}.marine-settings-card.settings-time{grid-area:time}.marine-settings-card.settings-security{grid-area:security}
.marine-settings-card .card-title{margin-bottom:12px;align-items:flex-start}
.marine-settings-card .card-title h2{font-size:1.08rem;line-height:1.2;font-weight:900;letter-spacing:-.01em}
.marine-settings-card .card-title p.small{font-size:.68rem;line-height:1.45;margin-top:5px}
.marine-settings-card .field label{font-size:.67rem;font-weight:850;line-height:1.3;margin-bottom:5px}
.marine-settings-card .input,.marine-settings-card .select{min-height:42px;font-size:.79rem;border-radius:9px}
.marine-settings-card .btn{min-height:38px;font-size:.72rem}
.marine-setting-choice-row{gap:9px;margin-top:4px}.marine-setting-choice{min-height:44px;font-size:.76rem;border-radius:10px}
.marine-settings-note{font-size:.65rem;line-height:1.4;padding:9px 11px}
.marine-settings-check{grid-template-columns:19px minmax(0,1fr);gap:9px;padding:10px 11px}
.marine-settings-check strong{font-size:.74rem}.marine-settings-check small{font-size:.6rem;line-height:1.35;margin-top:3px}
.marine-settings-module-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:4px}
.marine-settings-savebar{padding:11px 13px;gap:14px}.marine-settings-savebar .btn{font-size:.74rem;min-height:40px}.marine-settings-savebar span{font-size:.62rem;line-height:1.35}
.liman-admin-actions{grid-template-columns:1fr}.liman-admin-actions .btn{min-height:38px;font-size:.7rem}
@media(max-width:1100px){.marine-settings-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.marine-settings-grid{grid-template-columns:1fr;grid-template-areas:"location" "wind" "map" "calibration" "panels" "time" "security"}.marine-settings-head{align-items:flex-start}.marine-settings-head h1{font-size:1.8rem}.marine-settings-card{padding:16px!important}}
@media(max-width:620px){.marine-settings-module-grid{grid-template-columns:1fr}.marine-settings-card .form-grid>.span-4,.marine-settings-card .form-grid>.span-6{grid-column:1/-1}.marine-settings-head p{font-size:.74rem}}

/* v1.43.3 — Portinno isolated four-camera DEMO wall; LIVE camera rules remain unchanged */
.liman-camera-wall.camera-count-4{grid-template-columns:repeat(2,minmax(0,1fr))}
.liman-camera-wall.camera-count-4 .liman-camera-view{min-height:155px}
.liman-camera-controls button.demo-static{cursor:default}
.demo-camera-channel .smart-buoy-camera-image{display:block}
@media(max-width:900px){.liman-camera-wall.camera-count-4{grid-template-columns:1fr}.liman-camera-wall.camera-count-4:fullscreen{grid-template-columns:1fr;overflow:auto}.liman-camera-wall.camera-count-4:fullscreen .liman-camera-view{height:43vh}}
@media(min-width:901px){.liman-camera-wall.camera-count-4:fullscreen{grid-template-columns:repeat(2,minmax(0,1fr));align-content:center}.liman-camera-wall.camera-count-4:fullscreen .liman-camera-view{height:42vh;aspect-ratio:auto}}

/* v1.43.6 — camera label cleanup + remembered session + responsive 1/2/3/4 camera wall */
.auth-remember-line{align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:color-mix(in srgb,var(--panel) 92%,transparent)}
.auth-remember-line>span{display:grid;gap:2px}.auth-remember-line strong{font-size:.86rem}.auth-remember-line small{font-size:.70rem;color:var(--muted);line-height:1.35}
.liman-camera-wall.camera-count-3{grid-template-columns:repeat(2,minmax(0,1fr))}.liman-camera-wall.camera-count-3 .liman-camera-channel:first-child{grid-column:1/-1}
.liman-camera-wall.camera-count-1 .liman-camera-view{min-height:320px}.liman-camera-controls button.fallback-only{border-style:dashed}.fallback-camera .liman-camera-channel-head small{color:#f59e0b}
@media(max-width:900px){.liman-camera-wall.camera-count-3{grid-template-columns:1fr}.liman-camera-wall.camera-count-3 .liman-camera-channel:first-child{grid-column:auto}.liman-camera-wall.camera-count-1 .liman-camera-view{min-height:220px}}
