:root{
  font-family:var(--brand-font);
  color:var(--brand-ink);
  background:var(--brand-cloud);
  font-synthesis:none;
  --navy:var(--brand-navy);
  --ocean:var(--brand-ocean);
  --line:var(--brand-line);
  --muted:var(--brand-muted)}

*{
  box-sizing:border-box}
body{
  margin:0}
button,input,select,textarea{
  font:inherit}
button,a,input,select,textarea{
  -webkit-tap-highlight-color:transparent}
button,a{
  touch-action:manipulation}
button{
  cursor:pointer}
button:disabled{
  opacity:.6;
  cursor:wait}
button:focus-visible,a:focus-visible{
  outline:3px solid #31a8e6;
  outline-offset:4px}
[hidden]{
  display:none!important}
a{
  color:inherit}
h1,h2,h3,p{
  margin-top:0}
h2{
  font-size:30px;
  letter-spacing:-1px}
h3{
  font-size:20px}
p{
  line-height:1.6}
.wordmark{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-size:17px;
  letter-spacing:2px;
  text-decoration:none;
  font-weight:400}
.brand-symbol{
  width:42px;
  height:42px;
  flex-shrink:0;
  color:var(--ocean)}
.login-story .brand-symbol{color:var(--brand-sky)}
.brand-name{white-space:nowrap}
.eyebrow{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:2px;
  font-weight:650;
  color:var(--ocean);
  margin-bottom:14px}
.muted{
  color:var(--muted)}
.small{
  font-size:12px}
.login{
  min-height:100dvh;
  display:grid;
  grid-template-columns:1.1fr 1fr}
.login-story{
  background:var(--brand-navy);
  color:#fff;
  position:relative;
  overflow:hidden;
  min-height:700px;
  padding:50px 10%;
  display:flex;
  flex-direction:column;
  justify-content:space-between}
.login-story .eyebrow{
  color:var(--brand-sky)}
.story-copy{
  position:relative;
  z-index:1;
  padding:90px 0}
.story-copy h1{
  font-size:clamp(35px,4vw,66px);
  font-weight:450;
  line-height:1.13;
  letter-spacing:-2.5px}
.story-copy em{
  font-style:normal;
  color:var(--brand-sky)}
.story-copy>p:last-child{
  color:#c1d1d8;
  max-width:320px;
  font-size:16px}
.story-foot{
  font-size:12px;
  color:#a6bdc5;
  position:relative;
  z-index:1}
.horizon{
  position:absolute;
  width:120%;
  height:45%;
  bottom:-50px;
  left:-10%;
  background:radial-gradient(ellipse at 60% 90%,#164b76,transparent 68%);
  transform:rotate(-8deg)}
.horizon i{
  position:absolute;
  inset:25% -20%;
  border:1px solid #79c7ff30;
  border-radius:50%}
.horizon i:nth-child(2){
  inset:35% -20%}
.horizon i:nth-child(3){
  inset:45% -20%}
.login-form{
  display:grid;
  place-items:center;
  padding:48px}
.form-wrap{
  width:min(380px,100%)}
.form-wrap h2{
  font-size:36px}
.form-wrap form{
  margin-top:38px}
.form-wrap .primary{
  width:100%;
  display:flex;
  justify-content:space-between;
  margin-top:8px}
label{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:13px;
  font-weight:550;
  margin-bottom:20px}
input,select,textarea{
  width:100%;
  min-height:46px;
  background:#fff;
  border:1px solid #c5d5e0;
  border-radius:7px;
  padding:11px 12px;
  font-size:16px;
  color:#17343f}
textarea{
  min-height:95px;
  resize:vertical}
input:focus,select:focus,textarea:focus{
  outline:2px solid #369ed5;
  outline-offset:1px}
input[type=checkbox]{
  width:19px;
  min-height:19px;
  margin:0;
  accent-color:var(--ocean)}
.checkbox{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px}
.primary,.quiet,.secondary{
  border:0;
  border-radius:6px;
  padding:12px 18px;
  font-size:13px;
  font-weight:600;
  min-height:42px}
.primary{
  background:var(--ocean);
  color:white}
.secondary{
  background:#e5eff7;
  color:#174966}
.quiet{
  background:transparent;
  color:#345e78}
.primary:hover{
  background:#075988}
.message{
  font-size:13px;
  color:#8b3a25;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  min-height:20px}
.topbar{
  height:80px;
  padding:0 40px;
  background:white;
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center}
.topbar>div{
  display:flex;
  gap:22px;
  align-items:center}
.layout{
  display:grid;
  grid-template-columns:230px 1fr;
  min-height:calc(100dvh - 80px)}
.sidebar{
  padding:36px 20px;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  background:#edf3f8}
.sidebar .eyebrow{
  padding-left:14px;
  font-size:10px}
.nav{
  background:none;
  border:0;
  text-align:left;
  padding:14px 16px;
  border-radius:6px;
  color:#456176;
  margin-bottom:8px;
  font-size:13px}
.nav.active{
  background:#dcecf8;
  color:#164f77;
  font-weight:650}
.sidebar-foot{
  margin-top:auto;
  padding:50px 14px 12px;
  font-size:12px;
  line-height:1.8;
  color:#667f90}
.content{
  padding:24px 48px 60px;
  max-width:1500px;
  width:100%}
.page-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin:14px 0 30px}
.page-head h1{
  font-size:36px;
  letter-spacing:-1.4px;
  margin-bottom:8px}
.page-head p{
  margin:0}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:22px}
.card{
  border:1px solid var(--line);
  background:white;
  border-radius:12px;
  padding:26px;
  box-shadow:0 5px 20px #12355010}
.card h3{
  margin:16px 0 8px}
.card p{
  font-size:13px}
.card .primary,.card .secondary{
  margin:8px 8px 0 0}
.vessel-art{
  height:90px;
  color:#28678d;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(140deg,#eef6fc,#d5e8f6);
  border-radius:7px;
  margin-bottom:20px}
.vessel-art svg{
  width:150px;
  height:60px}
.badge{
  display:inline-block;
  border-radius:20px;
  padding:5px 9px;
  font-size:10px;
  letter-spacing:.4px;
  background:#e5eff8;
  color:#355e7c}
.badge.online{
  background:#dcefe1;
  color:#21653b}
.badge.offline{
  background:#f7e8da;
  color:#8b5d34}
.section-title{
  font-size:16px;
  margin:32px 0 16px}
.empty{
  padding:40px;
  border:1px dashed #b9cfde;
  border-radius:10px;
  color:var(--muted);
  line-height:1.7}
.toolbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:16px 0 24px}
.toolbar select{
  width:auto;
  min-width:180px}
.table-wrap{
  overflow-x:auto;
  background:white;
  border:1px solid var(--line);
  border-radius:10px}
table{
  border-collapse:collapse;
  width:100%;
  font-size:13px;
  text-align:left}
th,td{
  padding:16px;
  border-bottom:1px solid #e4ecf3;
  vertical-align:top}
th{
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:#50697d;
  background:#f8fafc}
td .quiet{
  padding:5px 8px;
  min-height:36px}
tr:last-child td{
  border-bottom:0}
.low{
  color:#a24127;
  font-weight:600}
.back{
  display:inline-block;
  margin-bottom:18px;
  border:0;
  background:none;
  color:var(--ocean);
  padding:0;
  min-height:40px}
dialog{
  padding:0;
  border:1px solid var(--line);
  border-radius:14px;
  width:min(560px,calc(100% - 28px));
  max-height:90dvh;
  color:var(--brand-ink)}
dialog::backdrop{
  background:#081b29a6;
  backdrop-filter:blur(4px)}
dialog form{
  padding:28px}
dialog header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start}
dialog h2{
  font-size:25px}
dialog footer{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:18px}
.field-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px}
.link-box{
  background:#e7f2fa;
  padding:18px;
  border-radius:8px;
  overflow-wrap:anywhere;
  font-size:13px}
.records-note{
  font-size:12px;
  color:var(--muted)}

@media(max-width:900px){
  .login-story{
  padding:35px;
  min-height:600px}
.content{
  padding:22px}
.layout{
  grid-template-columns:180px 1fr}
.topbar{
  padding:0 22px}
.topbar .small{
  display:none}
.page-head h1{
  font-size:29px}
}

@media(max-width:640px){
  .login{
  display:block}
.login-story{
  min-height:260px;
  padding:28px}
.story-copy{
  padding:30px 0 0}
.story-copy h1{
  font-size:35px;
  letter-spacing:-1px}
.story-copy>p:last-child,.story-foot{
  display:none}
.login-form{
  padding:36px 28px}
.login-form h2{
  font-size:28px}
.form-wrap form{
  margin-top:24px}
.layout{
  display:block}
.sidebar{
  padding:10px;
  flex-direction:row;
  gap:6px;
  overflow-x:auto;
  border-right:0;
  border-bottom:1px solid var(--line)}
.sidebar .eyebrow,.sidebar-foot{
  display:none}
.nav{
  white-space:nowrap;
  margin:0;
  padding:10px}
.content{
  padding:10px 20px 40px}
.topbar{
  height:70px;
  padding:0 20px}
.wordmark{
  font-size:13px}
.brand-symbol{width:34px;height:34px}
.page-head{
  align-items:flex-start;
  flex-direction:column}
.page-head h1{
  font-size:30px}
.grid{
  grid-template-columns:1fr}
.field-pair{
  grid-template-columns:1fr;
  gap:0}
dialog form{
  padding:22px}
.topbar>div{
  gap:4px}
}

/* Keep management actions separate even when vessel feature lists wrap. */
td a.quiet{display:inline-flex;align-items:center;white-space:nowrap;text-decoration:none}
td a.quiet:hover{background:#e5eff7}

/* Vessel management follows the ocean glass surfaces in the brand guide. */
.vessel-hub{max-width:1180px;margin:auto}
.vessel-hub .back{text-decoration:none;font-size:13px}
.vessel-hero{display:flex;align-items:center;gap:24px;padding:32px;border:1px solid #ffffff70;border-radius:24px;background:radial-gradient(ellipse at 10% 0%,#387a9b55,transparent 65%),linear-gradient(120deg,#112f40,#183c51);color:#effaff;box-shadow:inset 0 1px 0 #ffffff20,0 18px 48px #12354e16}
.vessel-emblem{width:128px;height:96px;display:grid;place-items:center;border:1px solid #a9ddff35;border-radius:20px;background:#c4e7ff0c;color:#9ad9ff;flex-shrink:0}
.vessel-emblem svg{width:108px}
.vessel-heading{flex:1;min-width:0}.vessel-heading h1{font-size:40px;letter-spacing:-1.5px;margin:6px 0;overflow-wrap:anywhere}.vessel-heading p{margin:0;color:#b7cfdc}.vessel-heading .eyebrow{color:#9ad9ff}
.vessel-tabs{display:flex;gap:6px;padding:6px;margin:24px 0;width:fit-content;max-width:100%;background:#ffffff70;border:1px solid #ffffff;border-radius:15px;box-shadow:0 4px 18px #193c5010;backdrop-filter:blur(18px)}
.vessel-tabs button{border:0;background:transparent;color:#567084;padding:12px 20px;border-radius:10px;font-size:14px;font-weight:600}.vessel-tabs button.active{background:#fff;color:#124a6c;box-shadow:0 3px 12px #193c5012}.vessel-tabs span{font-size:11px;margin-left:7px;background:#e4eff6;padding:3px 7px;border-radius:8px}
.vessel-detail-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}
.vessel-glass,.vessel-fleet .card{border:1px solid #ffffffd9;border-radius:22px;background:linear-gradient(125deg,#ffffffd9,#ffffff70);box-shadow:inset 0 1px 0 #fff,0 12px 36px #193c500c;backdrop-filter:blur(22px);padding:28px}
.vessel-glass h2{font-size:21px;letter-spacing:-.5px;margin:0 0 8px}.vessel-glass .eyebrow{font-size:10px;margin-bottom:8px}.vessel-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.vessel-section-head p{margin:0;font-size:13px}.vessel-section-head .eyebrow{margin-bottom:8px}
.vessel-specs{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:28px 0 4px}.vessel-specs dt{font-size:12px;color:#657f90;margin-bottom:7px}.vessel-specs dd{margin:0;font-size:17px;font-weight:600;overflow-wrap:anywhere}
.vessel-products>div{display:flex;align-items:center;gap:12px;padding:18px 0;border-bottom:1px solid #90aec525}.vessel-products>div:last-child{border:0}.vessel-products b{font-size:14px}.vessel-products p{font-size:12px;color:#627c8e;margin:5px 0 0}.vessel-products .badge{margin-left:auto}.vessel-product-mark{display:grid;place-items:center;border:1px solid #9cc7e455;border-radius:12px;background:#dceef870;width:38px;height:38px;flex-shrink:0;color:#227caa;font-size:24px}
.vessel-person{display:flex;align-items:center;gap:16px;padding:20px 0;border-top:1px solid #93aebc30}.vessel-person-avatar{width:44px;height:44px;border:1px solid #fff;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#d8f1ff,#c2dae9);color:#23516d;font-size:13px;font-weight:600;flex-shrink:0}.vessel-person-identity{flex:1;min-width:0}.vessel-person-identity b{font-size:14px;font-weight:600;overflow-wrap:anywhere}.vessel-person-identity small{display:block;font-size:12px;color:#627c8e;margin-top:5px}.vessel-access-note{font-size:12px;color:#627c8e;width:115px;text-align:center}.vessel-footnote{font-size:12px;color:#627c8e;margin:18px 0 0}.vessel-hub .primary,.vessel-hub .secondary,.vessel-hub .quiet,.vessel-fleet .primary,.vessel-fleet .secondary{border-radius:12px;white-space:nowrap}.vessel-manage{display:inline-flex;text-decoration:none}
#editor{border:1px solid #ffffffb0;border-radius:24px;background:linear-gradient(130deg,#ffffffed,#edf5faed);backdrop-filter:blur(30px);box-shadow:0 28px 100px #09253640}#editor input,#editor select,#editor textarea{border-radius:12px;background:#ffffff90;border-color:#b2cadb80}#editor button{border-radius:12px}.vessel-add-choice{display:flex;gap:8px;margin-bottom:24px}
@media(max-width:850px){.vessel-detail-grid{grid-template-columns:1fr}.vessel-emblem{width:90px}.vessel-emblem svg{width:80px}.vessel-hero{gap:18px;padding:24px}}
@media(max-width:580px){.vessel-hero{flex-wrap:wrap;padding:22px}.vessel-emblem{display:none}.vessel-heading h1{font-size:32px}.vessel-glass{padding:20px}.vessel-section-head{align-items:flex-start;flex-wrap:wrap}.vessel-person{gap:10px;flex-wrap:wrap}.vessel-person-identity{flex-basis:65%}.vessel-access-note{width:auto}.vessel-tabs button{padding:12px}.vessel-tabs{width:100%}.vessel-tabs button{flex:1}.vessel-person .quiet{margin-left:auto}.vessel-add-choice{flex-wrap:wrap}}
.vessel-add-choice button[aria-pressed=true]{background:#164f77;color:white;box-shadow:0 3px 12px #193c501c}
