:root{
  --navy:#082f3c;
  --navy-deep:#04232d;
  --sea:#0d6673;
  --sea-light:#2d9295;
  --foam:#eef8f6;
  --signal:#f2b84b;
  --danger:#b94747;
}
body{
  background:
    radial-gradient(circle at 85% 5%,rgba(45,146,149,.10),transparent 28rem),
    linear-gradient(180deg,#f5faf9 0%,#edf5f3 100%);
}
.sidebar{
  background:
    radial-gradient(circle at 20% 15%,rgba(45,146,149,.24),transparent 16rem),
    linear-gradient(180deg,var(--navy) 0%,var(--navy-deep) 100%)!important;
  border-right:1px solid rgba(255,255,255,.12);
}
.sidebar:after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:150px;
  pointer-events:none;
  opacity:.15;
  background:repeating-radial-gradient(ellipse at 50% 100%,transparent 0 18px,rgba(255,255,255,.55) 19px 20px,transparent 21px 36px);
}
.brand strong{letter-spacing:.12em}
.marino-mark{width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#0f5360,#0a3440);color:#dff8f6;font-weight:900;letter-spacing:.06em;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),0 10px 20px rgba(0,0,0,.18)}
.ship .logo-avatar{width:58px;height:38px;border-radius:10px;background:white;padding:5px;box-shadow:0 8px 18px rgba(0,0,0,.18)}
.ship .logo-avatar img{width:100%;height:100%;object-fit:contain;display:block}
.nav button{border-left:3px solid transparent}
.nav button:hover,.nav button.active{
  background:rgba(255,255,255,.11)!important;
  border-left-color:var(--signal);
}
.top{
  background:rgba(247,251,250,.92);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(8,47,60,.09);
}
.panel,.kpi{
  border-color:rgba(8,47,60,.12)!important;
  box-shadow:0 10px 30px rgba(8,47,60,.065)!important;
}
.heading h2:after{
  content:"";
  display:block;
  width:58px;
  height:4px;
  margin-top:10px;
  border-radius:8px;
  background:linear-gradient(90deg,var(--signal),var(--sea-light));
}
.primary{
  background:linear-gradient(135deg,var(--sea),var(--navy))!important;
  border-color:transparent!important;
}
.modeflag.frozen,.pill.frozen{background:#dcecf4!important;color:#174c68!important}
.modeflag.fresh,.pill:not(.frozen){border-color:rgba(13,102,115,.18)}
.marino-connectivity{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 11px;
  border-radius:999px;
  background:#e3f4ed;
  color:#206244;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
}
.marino-connectivity:before{content:"";width:8px;height:8px;border-radius:50%;background:#31a66b;box-shadow:0 0 0 4px rgba(49,166,107,.13)}
.marino-connectivity.offline{background:#fff0dc;color:#8d5b10}
.marino-connectivity.offline:before{background:#e69a2f}
.marino-user{
  display:flex;
  gap:7px;
  align-items:center;
  padding:6px 8px;
  border:1px solid rgba(8,47,60,.12);
  background:#fff;
  border-radius:12px;
}
.marino-user input,.marino-user select{
  min-width:0;
  height:34px;
  padding:5px 8px;
  font-size:11px;
  border-radius:8px;
}
.marino-user input{width:86px}
.marino-user select{width:118px}
.topright>.tripselect,.topright>[data-go="register"]{display:none!important}
.ops-alerts{
  margin:14px 0;
  border-top:4px solid var(--signal)!important;
}
.ops-alert-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.ops-alert-head h3{margin:0}
.ops-alert-count{padding:5px 9px;border-radius:999px;background:#fff1d7;color:#835816;font-size:11px;font-weight:800}
.ops-alert-list{display:grid;gap:8px}
.ops-alert{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border-radius:11px;background:#f3f8f7;color:#274740}
.ops-alert.warn{background:#fff4df;color:#765117}
.ops-alert.danger{background:#fdeaea;color:#873b3b}
.ops-alert.ok{background:#e9f6ef;color:#276447}
.ops-alert b{display:block;margin-bottom:2px}
.room-balance{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:0 0 14px;
}
.room-balance article{padding:13px 15px}
.room-balance small{display:block;color:var(--muted);font-weight:700}
.room-balance strong{display:block;margin-top:4px;font-size:20px;color:var(--navy)}
.pack-all-status{margin-top:12px;border-top:1px solid rgba(8,47,60,.12);padding-top:12px}
.pack-all-status h4{margin:0 0 9px}
.pack-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pack-type-card{background:#fff;border:1px solid rgba(8,47,60,.11);border-radius:11px;padding:10px 12px}
.pack-type-card strong{display:block;font-size:12px;margin-bottom:6px;color:var(--navy)}
.pack-type-values{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted)}
.pack-type-values b{color:var(--navy)}
.audit-panel{margin-top:14px}
.audit-list{display:grid;gap:8px;max-height:420px;overflow:auto;padding:2px}
.audit-row{display:grid;grid-template-columns:135px 135px 1fr;gap:12px;padding:10px 12px;background:#f5f9f8;border-radius:10px;font-size:12px}
.audit-row small{color:var(--muted)}
.report-extra-actions{display:flex;gap:8px;flex-wrap:wrap}
.archived-trips{margin-top:18px}
.archived-trip-list{display:grid;gap:8px}
.archived-trip{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 14px;border-radius:12px;background:#eff5f4}
.tripcard[data-archived="true"]{display:none}
.maritime-wave{
  height:9px;
  margin:-1px 0 15px;
  opacity:.55;
  background:radial-gradient(12px 7px at 50% 0,transparent 8px,var(--sea-light) 9px 10px,transparent 11px);
  background-size:24px 9px;
}
@media print{
  .sidebar,.top,.demo,.report-extra-actions,.marino-connectivity,.marino-user{display:none!important}
  .main{margin:0!important;padding:0!important}
  .view{display:none!important}
  #reports{display:block!important}
  .panel{box-shadow:none!important;break-inside:avoid}
}
@media(max-width:980px){
  .marino-user{display:none}
  .pack-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .audit-row{grid-template-columns:110px 1fr}
  .audit-row small:last-child{grid-column:1/-1}
}
@media(max-width:700px){
  .nav{
    position:fixed;
    left:0;right:0;bottom:0;
    z-index:60;
    display:flex!important;
    overflow-x:auto;
    gap:4px;
    padding:8px;
    background:linear-gradient(90deg,var(--navy-deep),var(--navy));
    box-shadow:0 -8px 24px rgba(4,35,45,.22);
  }
  .nav .nav-section{display:contents}
  .nav .nav-section-title{display:none}
  .nav button{flex:0 0 auto;min-width:74px;border-left:0;border-bottom:3px solid transparent;padding:9px 10px!important;font-size:10px}
  .nav button.active{border-bottom-color:var(--signal)}
  body{padding-bottom:76px}
  .room-balance{grid-template-columns:1fr}
  .pack-type-grid{grid-template-columns:1fr}
  .audit-row{grid-template-columns:1fr;gap:3px}
  .topright .primary{display:none}
}

/* Frysa project */
.freezer-heading{align-items:center}
.freezer-standalone-link{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.freezer-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.freezer-project-card{border:1px solid var(--line);padding:22px;text-align:left;display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;color:inherit;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.freezer-project-card:hover{transform:translateY(-2px);border-color:#7aa9a2;box-shadow:0 14px 30px rgba(8,48,57,.12)}
.freezer-project-card .freezer-card-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#dff4f2,#c6e8e4);color:#075868;font-size:26px}
.freezer-project-card span:nth-child(2){display:flex;flex-direction:column;gap:4px}
.freezer-project-card small{color:var(--teal);font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.freezer-project-card strong{font-size:21px}
.freezer-project-card em{font-style:normal;color:var(--muted);line-height:1.45}
.freezer-project-card b{color:var(--teal);white-space:nowrap}
@media(max-width:900px){.freezer-project-grid{grid-template-columns:1fr}.freezer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.freezer-heading{align-items:flex-start}.freezer-heading .freezer-standalone-link{width:100%}.freezer-kpis{grid-template-columns:1fr}.freezer-project-card{grid-template-columns:auto 1fr}.freezer-project-card>b{grid-column:2}}

/* Collapsible packaging types */
.pack-all-status{margin-top:12px}
.pack-types-toggle{width:100%;border:1px solid #c9ddd9;background:linear-gradient(135deg,#f5fbfa,#e9f5f3);border-radius:14px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--navy2);cursor:pointer;text-align:left;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.pack-types-toggle:hover{border-color:#72aaa2;box-shadow:0 8px 20px rgba(8,61,67,.09);transform:translateY(-1px)}
.pack-types-toggle>span{display:grid;grid-template-columns:auto auto auto;align-items:center;gap:9px}
.pack-types-toggle>span>b{width:30px;height:30px;border-radius:9px;background:#0b6872;color:#fff;display:grid;place-items:center}
.pack-types-toggle>span>strong{font-size:15px}
.pack-types-toggle>span>small{color:var(--muted);font-weight:700}
.pack-types-toggle>em{font-style:normal;color:var(--teal);font-weight:800;white-space:nowrap}
.pack-types-toggle>em i{font-style:normal;font-size:16px;margin-left:4px}
.pack-type-grid[hidden]{display:none!important}
@media(max-width:560px){.pack-types-toggle>span{grid-template-columns:auto 1fr}.pack-types-toggle>span>small{grid-column:2}.pack-types-toggle{padding:12px}}

.marino-developer-badge{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;background:linear-gradient(135deg,#f4c75b,#e59b36);color:#38260a;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.marino-developer-badge[hidden]{display:none!important}
.developer-department-switch{display:flex;align-items:center;gap:5px;flex-wrap:wrap;max-width:520px;padding:5px;border:1px solid #d8e4e2;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(15,55,64,.06)}
.developer-department-switch span{padding:0 6px;color:#6b7f83;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.developer-department-switch button{border:0;border-radius:8px;background:#edf4f2;color:#244f56;padding:7px 9px;font-size:10px;font-weight:900}
.developer-department-switch button.active{background:#092f3c;color:#fff}
.tripselect-readonly{position:relative;opacity:.86}
.tripselect-readonly select{cursor:not-allowed}
.machine-dashboard-panel{margin:0 0 14px;padding:18px 20px;border-color:#cfdde0;background:linear-gradient(135deg,#f8fbfa,#eef6f7)}
.machine-dashboard-panel[hidden]{display:none!important}
.machine-overview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:12px}
.machine-overview-grid article{border:1px solid var(--line);border-radius:15px;background:white;padding:14px;box-shadow:0 10px 24px rgba(6,31,45,.05)}
.machine-overview-grid small{display:block;color:var(--muted);font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.machine-overview-grid strong{display:block;margin-top:5px;color:var(--navy);font-size:21px}
.machine-overview-grid span{display:block;margin-top:4px;color:#557079;font-size:10px;font-weight:700}
.machine-detail-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:12px}
.machine-detail-grid article{border:1px solid var(--line);border-radius:15px;background:#fff;padding:14px}
.machine-detail-grid h4{margin:0 0 10px;color:var(--navy);font-size:13px}
.machine-mini-list{display:grid;gap:8px}
.machine-mini-list div{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #e6eeee;padding-bottom:7px;font-size:11px}
.machine-mini-list div:last-child{border-bottom:0;padding-bottom:0}
.machine-mini-list span{color:#526c72}
.machine-mini-list strong{color:var(--navy);text-align:right}
body[data-layout-theme="marineGold"] .machine-dashboard-panel{background:linear-gradient(135deg,#071f3d,#0a2b52);border-color:#8a6a3e}
body[data-layout-theme="marineGold"] .machine-overview-grid article,
body[data-layout-theme="marineGold"] .machine-detail-grid article{background:rgba(255,255,255,.94);border-color:#d8c29a}
@media(max-width:1000px){.machine-overview-grid{grid-template-columns:repeat(2,1fr)}.machine-detail-grid{grid-template-columns:1fr}}
@media(max-width:720px){.machine-overview-grid{grid-template-columns:1fr}}

/* Collapsible menu sections */
.nav-section-toggle{width:100%;border:0!important;background:transparent!important;color:#7ea6aa!important;padding:4px 11px 5px!important;border-radius:8px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;font-size:8px!important;font-weight:900!important;letter-spacing:.16em;text-transform:uppercase;box-shadow:none!important}
.nav-section-toggle:hover{background:#ffffff10!important;color:#d7e8ea!important}
.nav-section-toggle i{font-style:normal;font-size:12px;letter-spacing:0}
.nav-section.collapsed button:not(.nav-section-toggle){display:none!important}
@media(max-width:700px){.nav-section-toggle{min-width:110px!important}}

/* Chemicals */
.chemical-status{padding:18px 20px;margin-bottom:14px}
.chemical-stock-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.chemical-stock-card{display:grid;gap:8px;padding:14px;border:1px solid #c9ddd9;border-radius:13px;background:linear-gradient(135deg,#f7fbfa,#eaf5f3)}
.chemical-stock-card strong{color:var(--navy2);font-size:13px}
.chemical-stock-card span{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px;font-weight:800}
.chemical-stock-card b{color:var(--teal);white-space:nowrap}
.chemical-forms{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.chemical-log{margin-top:14px}
.chemical-documents{margin:14px 0}
.vessel-documents{margin:14px 0}
.chemical-document-form{padding:0 18px 18px}
.chemical-documents td small,.vessel-documents td small{display:block;color:#6b7b80;margin-top:3px}
.chemical-documents .mini,.vessel-documents .mini{padding:7px 10px!important;font-size:11px!important}
#chemicals .formpanel{position:relative;overflow:hidden}
#chemicals .formpanel:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#087b79,#ee713b)}
@media(max-width:1050px){.chemical-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.chemical-forms{grid-template-columns:1fr}}

/* Marineblått Marino-tema */
:root{
  --navy:#001f45;
  --navy2:#063468;
  --navy-deep:#001532;
  --sea:#0b3f78;
  --teal:#1f5f9f;
  --tealsoft:#e7f0fb;
  --orange:#2f78c4;
  --paper:#f2f6fb;
  --ink:#102844;
  --muted:#6f8197;
  --line:#d7e1ee;
  --shadow:0 10px 30px rgba(6,26,58,.09);
}
.sidebar{
  background:linear-gradient(180deg,#001f45 0%,#062f62 58%,#001532 100%)!important;
}
.marino-mark{
  background:linear-gradient(145deg,#184f93,#061a3a)!important;
  color:#edf6ff!important;
}
.brand-logo-only{
  padding:0 0 28px!important;
  justify-content:center!important;
  width:100%;
}
.brand-logo-only .marino-logo-mark{
  width:172px!important;
  height:172px!important;
  border-radius:18px;
  overflow:hidden;
  background:#001f45;
  box-shadow:0 14px 30px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.12);
}
.brand-logo-only .marino-logo-mark img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  display:block;
}
.nav button{
  color:#fff!important;
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:0;
}
.nav button:hover{
  background:rgba(255,255,255,.14)!important;
  color:#fff!important;
}
.primary{
  background:linear-gradient(135deg,#1f5f9f,#0b2f63)!important;
  box-shadow:0 8px 18px rgba(31,95,159,.24)!important;
}
.primary:hover{background:linear-gradient(135deg,#2b72b8,#123f78)!important}
.nav button.active{
  color:#061a3a!important;
  background:#f4f8ff!important;
  box-shadow:0 10px 24px rgba(3,16,37,.22)!important;
}
.nav .ico{
  background:rgba(255,255,255,.12);
  color:#eef6ff;
}
.nav button.active .ico{
  background:#dcecff!important;
  color:#1f5f9f!important;
}
.nav-section-title{
  color:#fff!important;
  opacity:.72;
  font-size:8px!important;
  letter-spacing:.16em!important;
}
.dashboard-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 14px}
.dashboard-status-card{position:relative;min-height:120px;padding:18px 18px 16px;overflow:hidden}
.dashboard-status-card>span{position:absolute;right:15px;top:14px;width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#e7f0fb;color:#1f5f9f;font-weight:900}
.dashboard-status-card p{margin:0 0 9px;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.dashboard-status-card h3{font-size:21px;padding-right:35px}
.dashboard-status-card small{display:block;margin-top:7px;color:var(--muted);font-weight:700;line-height:1.35}
.dashboard-status-card.has-alerts{border-color:#e9b17d!important;background:#fff8f0!important}
.dashboard-status-card.has-alerts>span{background:#fff0dc;color:#a6571f}
@media(max-width:1050px){.dashboard-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.dashboard-status-grid{grid-template-columns:1fr}.dashboard-status-card{min-height:104px}}
.active .ico,.kpiicon,.fish,.step,.opsicon{
  background:#e7f0fb!important;
  color:#1f5f9f!important;
}
.kpi.feature,.filters,.toast{
  background:linear-gradient(135deg,#001f45,#063468)!important;
  border-color:#063468!important;
}
.overview-command{
  background:linear-gradient(135deg,#001f45,#0b3f78)!important;
}
.overview-command .eyebrow{color:#b7d6ff!important}
.barfill,.fill{
  background:linear-gradient(180deg,#2f78c4,#123f78)!important;
}
.baritem:nth-child(2) .barfill{background:linear-gradient(180deg,#4c91d8,#1f5f9f)!important}
.baritem:nth-child(3) .barfill{background:linear-gradient(180deg,#8bbdf0,#2f78c4)!important}
.baritem:nth-child(4) .barfill{background:linear-gradient(180deg,#b7d6ff,#4c91d8)!important}
.pill,.status,.activeflag,.tonnage,.active-trip-badge{
  background:#e7f0fb!important;
  color:#1f5f9f!important;
}
.active-trip-panel{
  border-color:#1f5f9f!important;
  background:linear-gradient(135deg,#ffffff,#eaf3ff)!important;
}
.live-indicator,.active-trip-banner,.tripcard.current .tripnum{
  background:#1f5f9f!important;
}
.tripcard.current{
  border-color:#1f5f9f!important;
  box-shadow:0 10px 28px rgba(31,95,159,.18)!important;
}
.room-cell:hover,.grid input:focus,.grid select:focus,.grid textarea:focus{
  border-color:#1f5f9f!important;
  box-shadow:0 0 0 3px rgba(31,95,159,.14)!important;
}
.room-cell.filled{
  border-color:#78a8da!important;
}
.fish-heatmap{
  background:radial-gradient(circle at 50% 50%,rgba(47,120,196,.14),transparent 64%),#001f45!important;
}
.radar-row .fill{
  background:linear-gradient(90deg,#8bbdf0,#1f5f9f,#061a3a)!important;
}
.product-choice input[value="Fersk"]:checked+span,
.product-choice input[value="Frys"]:checked+span{
  background:#1f5f9f!important;
  border-color:#1f5f9f!important;
  box-shadow:0 4px 12px rgba(31,95,159,.25)!important;
}
.pack-types-toggle{
  background:linear-gradient(135deg,#f8fbff,#e7f0fb)!important;
  border-color:#c4d7ef!important;
}
.pack-types-toggle:hover{
  border-color:#78a8da!important;
}
#chemicals .formpanel:before{
  background:linear-gradient(90deg,#061a3a,#1f5f9f)!important;
}
@media(max-width:560px){.chemical-stock-grid{grid-template-columns:1fr}}

.catering-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:14px}
.catering-tools{margin-bottom:14px}
.catering-store-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:0 18px 18px}
.catering-card{border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#ffffff,#f4fbfb);padding:14px;display:grid;grid-template-columns:72px 1fr;gap:12px;align-items:center;box-shadow:0 12px 28px rgba(4,33,55,.08)}
.catering-card.low{border-color:#e7a56f;background:linear-gradient(145deg,#fff7ee,#ffffff)}
.catering-card p{margin:0 0 4px;color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.catering-card h4{margin:0 0 6px;color:var(--navy);font-size:15px}
.catering-card strong{display:block;color:var(--teal);font-size:20px}
.catering-card small{display:block;color:var(--muted);font-size:11px;margin-top:4px}
.catering-img{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:#eaf3f4;font-size:31px;overflow:hidden}
.catering-img img{width:100%;height:100%;object-fit:cover}
.catering-shop-panel{margin-bottom:14px}
.catering-shop-tools{display:grid;grid-template-columns:1fr minmax(190px,260px);gap:14px;align-items:end;padding:0 18px 18px}
.catering-shop-filter{display:flex;gap:8px;flex-wrap:wrap}
.catering-shop-filter button{border:1px solid var(--line);background:#f7fbfb;color:var(--navy);border-radius:999px;padding:9px 13px;font-weight:800;cursor:pointer}
.catering-shop-filter button.active{background:var(--navy);color:#fff;border-color:var(--navy)}
.catering-buy-row{display:flex;gap:8px;margin-top:12px;align-items:center}
.catering-buy-row input{width:68px;border:1px solid var(--line);border-radius:10px;padding:8px;text-align:center}
.catering-cart{border-top:1px solid var(--line);padding:14px 18px 18px}
.catering-cart-head{display:grid;grid-template-columns:1fr auto;gap:12px;margin-bottom:12px}
.catering-cart-head span{display:block;color:var(--muted);font-size:11px;text-transform:uppercase;font-weight:900;letter-spacing:.08em}
.catering-cart-head strong{display:block;color:var(--navy);font-size:18px}
.catering-cart-head small{display:block;color:var(--muted)}
.catering-cart-lines{display:grid;gap:8px;margin-bottom:12px}
.catering-cart-lines>div{display:grid;grid-template-columns:1fr 130px 95px 36px;gap:8px;align-items:center;border:1px solid var(--line);border-radius:12px;padding:9px;background:#fbfdfd}
.catering-cart-lines span{font-weight:800;color:var(--navy)}
.catering-cart-lines small{color:var(--muted)}
.catering-sales-panel small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.catering-scanner{margin:12px 18px 18px;padding:12px;border:1px solid var(--line);border-radius:16px;background:#f5fbfb}
.catering-scanner video{width:min(100%,420px);border-radius:14px;background:#001b2b;display:block;margin-bottom:10px}
.travel-expense-panel{margin-bottom:14px}
.travel-expense-panel form{padding:0 18px 18px}
#travelExpense .tablewrap small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
#travelExpense input[type="file"]{background:#f8fbfb;border:1px dashed var(--line);border-radius:10px;padding:8px}
.crew-dashboard-panel .secondary{padding:7px 10px;border-radius:10px}
.product-input,.product-select{min-height:34px;border:1px solid #ccd9d6;border-radius:8px;background:#fbfcfb;color:var(--ink);padding:7px 8px}
.product-select{font-size:12px}
.product-active-toggle{min-width:74px}
#prices .tablewrap{max-height:calc(100vh - 285px)}
#prices table th{position:sticky;top:0;z-index:2}
#prices .toolbar{gap:8px;flex-wrap:wrap}
#prices .toolbar select{margin-left:0}
#partsInventory .toolbar{gap:8px;flex-wrap:wrap}
#partsInventory .toolbar select{margin-left:0}
#partsInventory .search{max-width:430px}
#partsInventory .tablewrap{max-height:calc(100vh - 330px)}
#partsInventory table th{position:sticky;top:0;z-index:2}
#vesselItems .toolbar{gap:8px;flex-wrap:wrap}
#vesselItems .toolbar select{margin-left:0}
#vesselItems .search{max-width:460px}
#vesselItems .tablewrap{max-height:calc(100vh - 300px)}
#vesselItems table th{position:sticky;top:0;z-index:2}
#prices .search{max-width:430px}
#documents .toolbar{gap:8px;flex-wrap:wrap}
#documents .toolbar select{margin-left:0}
#documents .search{max-width:430px}
#documents .tablewrap{max-height:calc(100vh - 330px)}
#documents table th{position:sticky;top:0;z-index:2}
.register-status{align-self:end;padding:0 0 10px}
.marino-logo-mark img{max-width:100%;max-height:100%;object-fit:contain}
.developer-layout-button{display:inline-flex!important;align-items:center;gap:6px;margin-top:8px;padding:8px 11px!important;font-size:11px;border-radius:10px!important}
.marino-user .developer-layout-button{margin-top:0;padding:7px 9px!important;font-size:10px!important;white-space:nowrap}
.developer-layout-panel{margin:-8px 0 18px;padding:18px 20px;border-color:#b9cce2}
.developer-layout-panel[hidden]{display:none!important}
.developer-layout-grid{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:12px}
.developer-layout-grid label{font-size:10px;font-weight:900;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.developer-layout-grid select{display:block;width:100%;margin-top:6px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:9px 10px}
.developer-layout-panel .actions{padding-top:14px}

body[data-layout-text="small"]{font-size:13px}
body[data-layout-text="large"]{font-size:15px}
body[data-layout-text="large"] h1{font-size:29px}
body[data-layout-text="large"] h2{font-size:26px}
body[data-layout-text="small"] h1{font-size:23px}
body[data-layout-text="small"] h2{font-size:21px}

body[data-layout-sidebar="compact"] .sidebar{width:214px!important}
body[data-layout-sidebar="compact"] .main{margin-left:214px!important}
body[data-layout-sidebar="wide"] .sidebar{width:282px!important}
body[data-layout-sidebar="wide"] .main{margin-left:282px!important}

body[data-layout-density="compact"] .main{padding:22px 28px 44px}
body[data-layout-density="compact"] .kpi,
body[data-layout-density="compact"] .formpanel,
body[data-layout-density="compact"] .chart,
body[data-layout-density="compact"] .recent,
body[data-layout-density="compact"] .trend{padding:14px 16px}
body[data-layout-density="compact"] td{padding:9px 12px}
body[data-layout-density="compact"] th{padding:9px 12px}
body[data-layout-density="compact"] .nav button{padding:9px 10px}
body[data-layout-density="comfortable"] .main{padding:34px 46px 68px}
body[data-layout-density="comfortable"] .kpis,
body[data-layout-density="comfortable"] .dashgrid,
body[data-layout-density="comfortable"] .reportsum,
body[data-layout-density="comfortable"] .tripgrid{gap:18px}
body[data-layout-density="comfortable"] .kpi,
body[data-layout-density="comfortable"] .formpanel,
body[data-layout-density="comfortable"] .chart,
body[data-layout-density="comfortable"] .recent,
body[data-layout-density="comfortable"] .trend{padding:24px 27px}

body[data-layout-radius="soft"] .panel,
body[data-layout-radius="soft"] .kpi,
body[data-layout-radius="soft"] .nav button,
body[data-layout-radius="soft"] input,
body[data-layout-radius="soft"] select,
body[data-layout-radius="soft"] textarea,
body[data-layout-radius="soft"] .primary,
body[data-layout-radius="soft"] .secondary{border-radius:22px!important}
body[data-layout-radius="square"] .panel,
body[data-layout-radius="square"] .kpi,
body[data-layout-radius="square"] .nav button,
body[data-layout-radius="square"] input,
body[data-layout-radius="square"] select,
body[data-layout-radius="square"] textarea,
body[data-layout-radius="square"] .primary,
body[data-layout-radius="square"] .secondary{border-radius:6px!important}

@media(max-width:1100px){.catering-store-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.catering-kpis,.catering-store-grid,.catering-shop-tools,.catering-cart-head{grid-template-columns:1fr}.catering-card{grid-template-columns:58px 1fr}.catering-img{width:52px;height:52px;font-size:25px}.catering-cart-lines>div{grid-template-columns:1fr 72px 70px 32px}.catering-buy-row{flex-wrap:wrap}}

.sidebar{overflow-y:auto}

/* Menyen skal være flat. Gamle åpne/lukke-seksjoner er deaktivert helt. */
.nav-section,
.nav .nav-section{
  display:contents!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.nav-section-title,
.nav-section-toggle,
.nav .nav-section-title,
.nav .nav-section-toggle{
  display:none!important;
}
.nav-section.collapsed button,
.nav-section.collapsed button:not(.nav-section-toggle){
  display:flex!important;
}

@media(max-width:720px){
  .sidebar{height:76px;overflow-x:auto;overflow-y:hidden}
  body[data-layout-sidebar] .sidebar{width:auto!important}
  body[data-layout-sidebar] .main{margin-left:0!important}
  .nav{display:flex!important;grid-template-columns:none!important;gap:5px;overflow-x:auto;overflow-y:hidden;padding:0 4px 6px;scrollbar-width:thin}
  .nav-section{display:contents!important}
  .nav button{min-width:86px;flex:0 0 auto}
  .nav button[data-go="catering"]{min-width:96px}
  .developer-layout-grid{grid-template-columns:1fr}
  .developer-layout-panel{margin:0 0 14px}
}

/* Marine Gull-layout: matcher logo med årer/M */
body[data-layout-theme="marineGold"]{
  background:radial-gradient(circle at 82% 4%,rgba(199,173,130,.12),transparent 30rem),linear-gradient(180deg,#000f26 0%,#031733 52%,#000b1c 100%)!important;
  color:#e9edf4!important;
}
body[data-layout-theme="marineGold"] .sidebar{
  background:radial-gradient(circle at 50% 8%,rgba(199,173,130,.10),transparent 190px),radial-gradient(circle at 50% 3%,#001936 0%,#000f26 42%,transparent 72%),linear-gradient(180deg,#000f26 0%,#061b3a 58%,#000b1c 100%)!important;
  border-right:1px solid rgba(199,173,130,.22)!important;
}
body[data-layout-theme="marineGold"] .brand-logo-only{
  padding:0 0 20px!important;
  position:relative;
}
body[data-layout-theme="marineGold"] .brand-logo-only:before{
  content:"";
  position:absolute;
  left:50%;
  top:8px;
  width:210px;
  height:210px;
  transform:translateX(-50%);
  pointer-events:none;
  background:radial-gradient(circle at 50% 45%,rgba(199,173,130,.10),rgba(0,15,38,.28) 42%,transparent 72%);
  filter:blur(10px);
}
body[data-layout-theme="marineGold"] .brand-logo-only .marino-logo-mark{
  width:204px!important;
  height:204px!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  position:relative;
  z-index:1;
}
body[data-layout-theme="marineGold"] .brand-logo-only .marino-logo-mark img{
  object-fit:contain!important;
  opacity:.96;
  mix-blend-mode:screen;
  filter:drop-shadow(0 8px 14px rgba(0,0,0,.22));
  -webkit-mask-image:radial-gradient(circle at 50% 46%,#000 55%,rgba(0,0,0,.72) 72%,transparent 96%);
  mask-image:radial-gradient(circle at 50% 46%,#000 55%,rgba(0,0,0,.72) 72%,transparent 96%);
}
body[data-layout-theme="marineGold"] .nav button{color:#f3eadc!important}
body[data-layout-theme="marineGold"] .nav button:hover{background:rgba(199,173,130,.14)!important}
body[data-layout-theme="marineGold"] .nav button.active{
  background:#f3eadc!important;
  color:#000f26!important;
  box-shadow:0 10px 24px rgba(0,13,32,.28)!important;
}
body[data-layout-theme="marineGold"] .nav .ico{
  background:rgba(199,173,130,.14)!important;
  color:#f3eadc!important;
}
body[data-layout-theme="marineGold"] .nav button.active .ico,
body[data-layout-theme="marineGold"] .active .ico,
body[data-layout-theme="marineGold"] .kpiicon,
body[data-layout-theme="marineGold"] .fish,
body[data-layout-theme="marineGold"] .step,
body[data-layout-theme="marineGold"] .opsicon{
  background:#f1e7d7!important;
  color:#8a6a3e!important;
}
body[data-layout-theme="marineGold"] .top{
  background:rgba(0,15,38,.92)!important;
  border-bottom:1px solid rgba(199,173,130,.24)!important;
  color:#f3eadc!important;
  backdrop-filter:blur(14px);
}
body[data-layout-theme="marineGold"] .main{
  color:#e9edf4!important;
}
body[data-layout-theme="marineGold"] .panel,
body[data-layout-theme="marineGold"] .kpi,
body[data-layout-theme="marineGold"] .formpanel,
body[data-layout-theme="marineGold"] .tablepanel{
  background:rgba(246,242,235,.96)!important;
  color:#10233b!important;
  border-color:rgba(199,173,130,.32)!important;
}
body[data-layout-theme="marineGold"] .muted,
body[data-layout-theme="marineGold"] .panel .muted,
body[data-layout-theme="marineGold"] .kpi p,
body[data-layout-theme="marineGold"] .kpi small{
  color:#776d61!important;
}
body[data-layout-theme="marineGold"] .primary{
  background:linear-gradient(135deg,#b8925b,#000f26)!important;
  box-shadow:0 8px 18px rgba(184,146,91,.25)!important;
}
body[data-layout-theme="marineGold"] .primary:hover{background:linear-gradient(135deg,#c7ad82,#082b55)!important}
body[data-layout-theme="marineGold"] .heading h2:after,
body[data-layout-theme="marineGold"] #chemicals .formpanel:before{background:linear-gradient(90deg,#c7ad82,#082b55)!important}
body[data-layout-theme="marineGold"] .kpi.feature,
body[data-layout-theme="marineGold"] .filters,
body[data-layout-theme="marineGold"] .toast,
body[data-layout-theme="marineGold"] .overview-command{
  background:linear-gradient(135deg,#001b3a,#082b55)!important;
  border-color:#061b3a!important;
}
body[data-layout-theme="marineGold"] .overview-command .eyebrow,
body[data-layout-theme="marineGold"] .feature p{color:#e9d9bf!important}
body[data-layout-theme="marineGold"] .barfill,
body[data-layout-theme="marineGold"] .fill{background:linear-gradient(180deg,#c7ad82,#8a6a3e)!important}
body[data-layout-theme="marineGold"] .baritem:nth-child(2) .barfill{background:linear-gradient(180deg,#d8c29a,#b8925b)!important}
body[data-layout-theme="marineGold"] .baritem:nth-child(3) .barfill{background:linear-gradient(180deg,#b8925b,#7f623b)!important}
body[data-layout-theme="marineGold"] .baritem:nth-child(4) .barfill{background:linear-gradient(180deg,#e7d7ba,#c7ad82)!important}
body[data-layout-theme="marineGold"] .pill,
body[data-layout-theme="marineGold"] .status,
body[data-layout-theme="marineGold"] .activeflag,
body[data-layout-theme="marineGold"] .tonnage,
body[data-layout-theme="marineGold"] .active-trip-badge{
  background:#f1e7d7!important;
  color:#7f623b!important;
}
body[data-layout-theme="marineGold"] .active-trip-panel{
  border-color:#c7ad82!important;
  background:linear-gradient(135deg,#ffffff,#f5ecdd)!important;
}
body[data-layout-theme="marineGold"] .live-indicator,
body[data-layout-theme="marineGold"] .active-trip-banner,
body[data-layout-theme="marineGold"] .tripcard.current .tripnum{background:#8a6a3e!important}
body[data-layout-theme="marineGold"] .tripcard.current{
  border-color:#c7ad82!important;
  box-shadow:0 10px 28px rgba(184,146,91,.18)!important;
}
body[data-layout-theme="marineGold"] .room-cell:hover,
body[data-layout-theme="marineGold"] .grid input:focus,
body[data-layout-theme="marineGold"] .grid select:focus,
body[data-layout-theme="marineGold"] .grid textarea:focus{
  border-color:#c7ad82!important;
  box-shadow:0 0 0 3px rgba(199,173,130,.18)!important;
}
body[data-layout-theme="marineGold"] .fish-heatmap{
  background:radial-gradient(circle at 50% 50%,rgba(199,173,130,.16),transparent 64%),#000f26!important;
}
body[data-layout-theme="marineGold"] .radar-row .fill{background:linear-gradient(90deg,#e7d7ba,#b8925b,#000f26)!important}
body[data-layout-theme="marineGold"] .product-choice input[value="Fersk"]:checked+span,
body[data-layout-theme="marineGold"] .product-choice input[value="Frys"]:checked+span{
  background:#8a6a3e!important;
  border-color:#8a6a3e!important;
  box-shadow:0 4px 12px rgba(184,146,91,.25)!important;
}

/* Marine Gull - ekstra finish fra gullskriften i logoen */
body[data-layout-theme="marineGold"]{
  --gold:#c9b28a;
  --gold-deep:#8c7049;
  --gold-soft:#eadcc3;
  --marine-logo-bg:#000f26;
  background:
    radial-gradient(circle at 14% 9%,rgba(201,178,138,.13),transparent 18rem),
    radial-gradient(circle at 92% 5%,rgba(201,178,138,.12),transparent 24rem),
    linear-gradient(180deg,#000f26 0%,#03162f 45%,#000918 100%)!important;
}
body[data-layout-theme="marineGold"] .sidebar{
  background:
    linear-gradient(90deg,rgba(234,220,195,.16),transparent 1px,transparent calc(100% - 1px),rgba(234,220,195,.12) 100%),
    radial-gradient(circle at 50% 7%,rgba(201,178,138,.16),transparent 210px),
    linear-gradient(180deg,#000f26 0%,#061a38 55%,#000918 100%)!important;
  box-shadow:inset -1px 0 0 rgba(234,220,195,.14),18px 0 42px rgba(0,9,24,.22)!important;
}
body[data-layout-theme="marineGold"] .sidebar:before,
body[data-layout-theme="marineGold"] .sidebar:after{
  content:"";
  display:block;
  height:1px;
  margin:10px 18px;
  background:linear-gradient(90deg,transparent,var(--gold),transparent);
  opacity:.58;
}
body[data-layout-theme="marineGold"] .brand-logo-only{
  background:
    radial-gradient(circle at 50% 44%,rgba(201,178,138,.12),rgba(0,15,38,.52) 42%,transparent 72%),
    linear-gradient(180deg,rgba(0,15,38,.18),transparent)!important;
}
body[data-layout-theme="marineGold"] .nav{
  position:relative;
}
body[data-layout-theme="marineGold"] .nav:before{
  content:"";
  display:block;
  height:18px;
  margin:0 34px 8px;
  background:
    linear-gradient(90deg,transparent,var(--gold) 44%,var(--gold-soft) 50%,var(--gold) 56%,transparent),
    radial-gradient(circle,var(--gold-soft) 0 2px,transparent 3px);
  background-size:100% 1px,18px 18px;
  background-position:center,center;
  background-repeat:no-repeat;
  opacity:.62;
}
body[data-layout-theme="marineGold"] .nav button{
  border:1px solid transparent!important;
}
body[data-layout-theme="marineGold"] .nav button:hover{
  border-color:rgba(201,178,138,.24)!important;
  box-shadow:inset 0 0 0 1px rgba(234,220,195,.06)!important;
}
body[data-layout-theme="marineGold"] .nav button.active{
  background:linear-gradient(135deg,#f6edde,#c9b28a)!important;
  color:#000f26!important;
  border-color:rgba(255,255,255,.38)!important;
  box-shadow:0 12px 26px rgba(0,9,24,.28),inset 0 1px 0 rgba(255,255,255,.55)!important;
}
body[data-layout-theme="marineGold"] .top{
  background:
    linear-gradient(90deg,rgba(201,178,138,.16),transparent 22%,transparent 78%,rgba(201,178,138,.14)),
    rgba(0,15,38,.94)!important;
  box-shadow:0 12px 30px rgba(0,9,24,.18)!important;
}
body[data-layout-theme="marineGold"] .main{
  position:relative;
  background:
    radial-gradient(circle at 96% 2%,rgba(201,178,138,.10),transparent 22rem),
    radial-gradient(circle at 6% 96%,rgba(201,178,138,.08),transparent 22rem),
    linear-gradient(180deg,rgba(0,15,38,.12),rgba(0,15,38,.02))!important;
}
body[data-layout-theme="marineGold"] .main:before,
body[data-layout-theme="marineGold"] .main:after{
  content:"";
  position:fixed;
  top:96px;
  bottom:26px;
  width:1px;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(234,220,195,.55) 18%,rgba(140,112,73,.26) 52%,transparent);
}
body[data-layout-theme="marineGold"] .main:before{left:calc(var(--sidebar, 252px) + 18px)}
body[data-layout-theme="marineGold"] .main:after{right:22px}
body[data-layout-theme="marineGold"] .view,
body[data-layout-theme="marineGold"] .top{
  position:relative;
  z-index:1;
}
body[data-layout-theme="marineGold"] .panel,
body[data-layout-theme="marineGold"] .kpi,
body[data-layout-theme="marineGold"] .formpanel,
body[data-layout-theme="marineGold"] .tablepanel,
body[data-layout-theme="marineGold"] .chart,
body[data-layout-theme="marineGold"] .recent,
body[data-layout-theme="marineGold"] .trend{
  background:
    linear-gradient(135deg,rgba(255,255,255,.98),rgba(247,241,231,.96))!important;
  border:1px solid rgba(201,178,138,.38)!important;
  box-shadow:0 14px 34px rgba(0,9,24,.12),inset 0 1px 0 rgba(255,255,255,.8)!important;
  position:relative;
  overflow:hidden;
}
body[data-layout-theme="marineGold"] .panel:before,
body[data-layout-theme="marineGold"] .kpi:before,
body[data-layout-theme="marineGold"] .formpanel:before,
body[data-layout-theme="marineGold"] .tablepanel:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg,transparent,var(--gold-deep),var(--gold-soft),var(--gold-deep),transparent);
  opacity:.72;
}
body[data-layout-theme="marineGold"] .heading h2{
  color:#f7efdf!important;
  text-shadow:0 1px 0 rgba(0,0,0,.24);
}
body[data-layout-theme="marineGold"] .heading p,
body[data-layout-theme="marineGold"] .eyebrow{
  color:#d9c59f!important;
}
body[data-layout-theme="marineGold"] table th{
  background:#f3eadc!important;
  color:#4e3f2b!important;
}
body[data-layout-theme="marineGold"] input,
body[data-layout-theme="marineGold"] select,
body[data-layout-theme="marineGold"] textarea{
  border-color:rgba(201,178,138,.42)!important;
  background:#fffdfa!important;
}
body[data-layout-theme="marineGold"] .secondary{
  border-color:rgba(201,178,138,.46)!important;
  color:#6e5737!important;
  background:#fffaf1!important;
}
body[data-layout-theme="marineGold"] .primary{
  background:linear-gradient(135deg,#d8c39d,#8c7049 52%,#061b3a)!important;
  border:1px solid rgba(234,220,195,.36)!important;
  color:#fffaf1!important;
  box-shadow:0 10px 22px rgba(140,112,73,.26),inset 0 1px 0 rgba(255,255,255,.26)!important;
}
body[data-layout-theme="marineGold"] .primary:hover{
  background:linear-gradient(135deg,#eadcc3,#a88455 54%,#082b55)!important;
}

@media(max-width:720px){
  body[data-layout-theme="marineGold"] .main:before,
  body[data-layout-theme="marineGold"] .main:after{display:none}
  body[data-layout-theme="marineGold"] .nav:before{display:none}
}

/* Hovedoversikt: rundvekt skal ha samme kortfarge som sløydvekt, fangstverdi og hal */
#dashboard .kpis .kpi.feature{
  background:white!important;
  border-color:var(--line)!important;
  color:var(--ink)!important;
}
#dashboard .kpis .kpi.feature p{
  color:var(--muted)!important;
}
#dashboard .kpis .kpi.feature small{
  color:#899da0!important;
}
#dashboard .kpis .kpi.feature .kpiicon{
  background:var(--tealsoft)!important;
  color:var(--teal)!important;
}
body[data-layout-theme="marineGold"] #dashboard .kpis .kpi.feature{
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(247,241,231,.96))!important;
  color:#10233b!important;
  border-color:rgba(201,178,138,.38)!important;
}
body[data-layout-theme="marineGold"] #dashboard .kpis .kpi.feature .kpiicon{
  background:#f1e7d7!important;
  color:#8a6a3e!important;
}
/* Marineblå finpuss: roligere kontrast, tydelig meny og mer samlet uttrykk */
body[data-layout-theme="maritime"],
body:not([data-layout-theme]){
  background:
    radial-gradient(circle at 88% 0%,rgba(36,104,164,.12),transparent 29rem),
    linear-gradient(180deg,#f3f7fb 0%,#e9f1f7 100%)!important;
  color:#102844;
}
body[data-layout-theme="maritime"] .sidebar,
body:not([data-layout-theme]) .sidebar{
  background:
    radial-gradient(circle at 22% 12%,rgba(43,128,185,.20),transparent 15rem),
    linear-gradient(180deg,#001f45 0%,#061b3a 52%,#04142c 100%)!important;
}
body[data-layout-theme="maritime"] .nav button,
body:not([data-layout-theme]) .nav button{
  color:#d8e7f4!important;
  font-weight:750;
  letter-spacing:.01em;
}
body[data-layout-theme="maritime"] .nav button:hover,
body:not([data-layout-theme]) .nav button:hover{
  background:rgba(255,255,255,.10)!important;
  color:#fff!important;
}
body[data-layout-theme="maritime"] .nav button.active,
body:not([data-layout-theme]) .nav button.active{
  background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(47,120,196,.20))!important;
  color:#fff!important;
  border-left-color:#7fb7ef!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.08),0 8px 22px rgba(0,14,36,.18)!important;
}
body[data-layout-theme="maritime"] .nav .ico,
body:not([data-layout-theme]) .nav .ico{
  background:rgba(255,255,255,.08);
  color:#d9ecff;
}
body[data-layout-theme="maritime"] .nav button.active .ico,
body:not([data-layout-theme]) .nav button.active .ico{
  background:#d9ecff!important;
  color:#063468!important;
}
body[data-layout-theme="maritime"] .top,
body:not([data-layout-theme]) .top{
  background:rgba(248,251,253,.92)!important;
  border:1px solid rgba(12,50,85,.08);
  border-radius:18px;
  padding:12px 16px;
  box-shadow:0 12px 30px rgba(9,47,60,.055);
}
body[data-layout-theme="maritime"] .panel,
body[data-layout-theme="maritime"] .kpi,
body:not([data-layout-theme]) .panel,
body:not([data-layout-theme]) .kpi{
  border-color:rgba(9,47,60,.10)!important;
  box-shadow:0 12px 32px rgba(9,47,60,.07)!important;
}
body[data-layout-theme="maritime"] .kpi.feature,
body:not([data-layout-theme]) .kpi.feature{
  background:linear-gradient(135deg,#063468,#001f45)!important;
  border-color:#063468!important;
}
body[data-layout-theme="maritime"] .primary,
body:not([data-layout-theme]) .primary{
  background:linear-gradient(135deg,#2f78c4,#063468)!important;
  box-shadow:0 8px 20px rgba(47,120,196,.22)!important;
}
body[data-layout-theme="maritime"] .eyebrow,
body:not([data-layout-theme]) .eyebrow{
  color:#1f5f9f!important;
}
body[data-layout-theme="maritime"] .heading h2:after,
body:not([data-layout-theme]) .heading h2:after{
  background:linear-gradient(90deg,#2f78c4,#7fb7ef)!important;
}
body[data-layout-theme="maritime"] th,
body:not([data-layout-theme]) th{
  background:#f0f5f9!important;
  color:#5f7585!important;
}

/* Mobilmeny: samme avdelingstilgang som desktop, men mer stabil på små skjermer */
.nav button[hidden],
.nav [hidden]{
  display:none!important;
}
.fish-radar{
  min-height:340px;
  border-radius:14px;
  background:radial-gradient(circle at 50% 50%,rgba(8,123,121,.08),transparent 64%),#082f3a;
  overflow:hidden;
}
.fish-radar svg{
  display:block;
  width:100%;
  height:340px;
}
.vessel-catering-tools{
  margin:0 0 14px;
}
.vessel-catering-tools input[type="file"]{
  margin-top:8px;
}
@media(max-width:720px){
  .sidebar{
    height:70px!important;
    padding:7px 8px!important;
  }
  .nav{
    display:flex!important;
    grid-template-columns:none!important;
    gap:6px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:0 4px 4px!important;
    scrollbar-width:thin;
    -webkit-overflow-scrolling:touch;
  }
  .nav button{
    flex:0 0 auto!important;
    min-width:72px!important;
    max-width:92px!important;
    display:grid!important;
    justify-items:center!important;
    align-content:center!important;
    gap:2px!important;
    padding:6px 7px!important;
    border-radius:12px!important;
    font-size:9px!important;
    line-height:1.1!important;
    white-space:normal!important;
  }
  .nav button[hidden]{
    display:none!important;
  }
  .nav .ico{
    width:24px!important;
    height:22px!important;
    font-size:13px!important;
  }
  .fish-radar{
    min-height:300px;
  }
  .fish-radar svg{
    height:300px;
  }
}

.marino-logout{margin-left:6px;padding:6px 12px;border:1px solid rgba(11,58,92,.25);border-radius:999px;background:#fff;color:#0b3a5c;font-weight:700;cursor:pointer}.marino-logout:hover{background:#eef4f8}

