/* the laytime and demurrage calculator page (17 Nov 2026): a calm form in the look of the public content pages */
.ltwrap{max-width:860px}
.ltform fieldset{border:1px solid var(--line);border-radius:14px;padding:18px 18px 16px;margin:0 0 16px;min-width:0}
.ltform legend{font-size:15px;font-weight:600;padding:0 8px;color:var(--fg)}
.ltopt{font-weight:400;color:var(--muted);font-size:13px}
.ltreq{color:#b42318;margin-left:2px}
.ltgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.ltf{display:flex;flex-direction:column;gap:6px;min-width:0}
.ltf label{font-size:14px;font-weight:500;color:var(--fg)}
.ltf small{font-size:12.5px;line-height:1.45;color:var(--muted)}
.ltf input,.ltf select{height:44px;border:1px solid var(--line);border-radius:10px;padding:0 12px;font:inherit;font-size:15px;color:var(--fg);background:#fff;width:100%;box-sizing:border-box}
.ltf input:focus,.ltf select:focus{outline:2px solid var(--signal);outline-offset:1px;border-color:var(--signal)}
.ltcheck{display:flex;align-items:center;gap:10px;margin-top:14px;font-size:14.5px;cursor:pointer}
.ltcheck input{width:18px;height:18px;accent-color:#273246}
.ltradio{display:flex;gap:22px;flex-wrap:wrap;margin:0 0 14px}
.ltradio label{display:flex;align-items:center;gap:8px;font-size:14.5px;cursor:pointer}
.ltradio input{accent-color:#273246}
.ltnote{font-size:13.5px;line-height:1.5;color:var(--muted);margin:0 0 12px}
.ltstop{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end;margin-bottom:12px}
.ltbtn{display:inline-flex;align-items:center;justify-content:center;height:44px;min-width:132px;padding:0 22px;border-radius:10px;border:1px solid #273246;background:#273246;color:#fff;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.ltbtn:hover{opacity:.92}
.ltbtn:focus-visible{outline:3px solid #273246;outline-offset:2px}
.ltghost{background:#fff;color:#273246}
.ltsmall{height:44px;min-width:0;padding:0 16px}
.ltactions{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:6px 0 22px}
.ltleft{justify-content:flex-start;margin:14px 0 6px}
.lterror{border:1px solid #f1c2bd;background:#fdf0ee;color:#8f1d12;border-radius:10px;padding:12px 14px;font-size:14.5px;margin:0 0 18px}
.ltresult{border:1px solid var(--line);border-left:3px solid var(--signal);border-radius:14px;padding:20px 20px 16px;margin:0 0 34px;background:#fbfcfd}
.ltheadline{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap}
.ltheadline span{font-size:14px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-weight:600}
.ltheadline b{font-size:clamp(26px,4vw,34px);font-weight:500}
.ltsub{margin:4px 0 14px;color:var(--muted);font-size:14px}
.lttable{width:100%;min-width:0;border-collapse:collapse;font-size:14.5px;table-layout:fixed}
.lttable th,.lttable td{overflow-wrap:anywhere;padding:9px 6px;border-top:1px solid var(--line);text-align:left;vertical-align:top}
.lttable th{font-weight:400;color:var(--muted);width:56%;background:none;text-transform:none;letter-spacing:0;font-size:14.5px;white-space:normal}
.lttable td{font-weight:500;background:none;white-space:normal}
.lttable .ltstrong th,.lttable .ltstrong td{color:var(--fg);font-weight:600}
.ltcopied{font-size:13.5px;color:var(--muted)}
.ltdisc{margin:12px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted)}
@media (max-width:640px){
  .ltgrid{grid-template-columns:1fr}
  .ltstop{grid-template-columns:1fr}
  .ltstop .ltbtn{width:100%}
  .ltactions .ltbtn{flex:1}
  .ltform fieldset{padding:16px 14px 14px}
  .lttable th{width:50%}
}
/* the hire calculator: a bunker row (17 Nov 2026) */
.hrbun{border-top:1px solid var(--line);padding:14px 0;display:grid;gap:12px}
.hrbun:first-of-type{border-top:0;padding-top:0}
.hrbungrid{grid-template-columns:repeat(4,minmax(0,1fr))}
.hrbun .ltbtn{justify-self:start}
@media (max-width:760px){.hrbungrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.hrbungrid{grid-template-columns:1fr}}
.hrbungrid .ltf{justify-content:flex-end}
/* the steps and questions under the calculators (17 Nov 2026) */
.ltsteps{margin:8px 0 14px;padding-left:22px;font-size:16px;line-height:1.7}
.ltsteps li{margin:0 0 6px}
.ltq{font-size:16.5px;font-weight:600;margin:16px 0 4px;color:var(--fg)}
/* the TCE form: three columns (18 Nov 2026) */
.tcgrid3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:760px){.tcgrid3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.tcgrid3{grid-template-columns:1fr}}

/* members' laytime page (18 Nov 2026) */
.lvline{display:grid;grid-template-columns:1fr 1.4fr auto;gap:12px;align-items:end;margin-bottom:12px}
.lvnote{margin-top:14px}
.lvref{margin-top:6px}
.lvhead{text-align:left;background:#f3f5f8;font-size:14px;padding:8px 12px}
.lvlock{border:1px solid var(--line);border-radius:14px;padding:20px;margin:0 0 20px;background:#f8f9fb}
.lvlock p{margin:0 0 14px}
.lvprint{display:none;margin:0 0 10px}
@media (max-width:640px){.lvline{grid-template-columns:1fr;}}
@media print{
  .lvnoprint,.ltform,.seohead,.crumbs,.lterror,.seolead,h1,footer,.topline{display:none!important}
  .lvprint{display:block}
  .ltresult{border:0;box-shadow:none;padding:0}
}

/* sea distance calculator (18 Nov 2026) */
.sdbox{position:relative}
.sdlist{position:absolute;left:0;right:0;top:100%;z-index:20;margin:4px 0 0;padding:4px 0;list-style:none;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(39,50,70,.14);max-height:280px;overflow:auto}
.sdlist li{padding:10px 14px;font-size:15px;cursor:pointer}
.sdlist li:hover{background:#eef3f8}
.sdnote{margin:14px 0 8px}
.sdswap{align-self:end;min-width:0;width:100%}
.sdmap{display:block;width:100%;height:auto;border-radius:12px;margin:0 0 16px;border:1px solid var(--line)}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .sdlist{background:#1b2735}:root:not([data-theme="light"]) .sdlist li:hover{background:#253447}}

/* a route of three to five ports: the port boxes one under the other, + Add port (18 Nov 2026, user) */
.sdstack{display:flex;flex-direction:column;gap:14px;max-width:560px}
.sdmore{display:flex;flex-direction:column;gap:14px}
.sdrow{display:flex;gap:10px;align-items:stretch}
.sdrow input{flex:1;min-width:0}
.sdbtns{display:flex;gap:10px;flex-wrap:wrap}
.sdadd,.sdbtns .sdswap{width:auto;min-width:0;align-self:auto}
.sdspeed{max-width:220px}

.rcgate{border:1px solid var(--line);border-radius:14px;padding:22px 22px 8px;margin:0 0 28px}
.rcgate h2{font-size:22px;font-weight:500;margin:0 0 10px}.rcgate p{font-size:16px;line-height:1.65;margin:0 0 12px}

/* the confirmation window of Recapmatic: the same look and the same two buttons as the one of the site (19 Nov 2026, user: no more browser boxes) */
.sf-ask{position:fixed;inset:0;z-index:2000;background:rgba(39,50,70,.45);display:flex;align-items:center;justify-content:center;padding:16px;animation:sfAskIn .15s ease-out}
.sf-ask-box{width:100%;max-width:480px;background:#fff;border-radius:12px;box-shadow:0 24px 64px rgba(39,50,70,.3);padding:22px 24px 20px}
.sf-ask-title{margin:0 0 10px;font-size:18px;font-weight:600;color:#273246}
.sf-ask-text{margin:0 0 20px;font-size:15px;line-height:1.55;color:#3d4a5a}
.sf-ask-actions{display:flex;justify-content:flex-end;gap:10px}
.sf-ask-no,.sf-ask-yes{height:42px;min-width:96px;padding:0 20px;border-radius:10px;border:1px solid #273246;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.sf-ask-no{background:#fff;color:#273246}
.sf-ask-yes{background:#273246;color:#fff}
.sf-ask-yes:focus-visible,.sf-ask-no:focus-visible{outline:3px solid #7f8da3;outline-offset:2px}
@keyframes sfAskIn{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.sf-ask{animation:none}}
