/* Sealink Rates' own look (11/10/2026; Daniel, 3:14 pm: "Sealink color scheme please, and here is their logo").
   Loaded after app.css on Sealink's site only (brand.py "css"); GB's and ClearStream's sites never load it. The logo's
   two colours: the link block's steel blue #4F88B7 for what you press and what is open, the plate's warm charcoal
   #46413F for the bar and the type. Archivo, set wide on the headings and the bar the way the logo's SEA LINK letters
   are; the sign-in card stands on MAERSK ANTARES at APM Terminals, seen from the air. Archivo: SIL Open Font License
   (fonts/OFL Archivo.txt). */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/static/fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/static/fonts/archivo-latin-wdth-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --bg: #eef1f4; --panel: #ffffff; --ink: #2b2725; --muted: #5b646d; --faint: #89929b; --line: #dce2e8; --soft: #f5f7f9;
  --brand: #4f88b7; --brand-hover: #3f739e; --link: #36699a; --chip: #e4ecf3; --plate-line: #dce2e8;
  --charcoal: #46413f; --steel: #4f88b7; --steel-light: #a7c5df;
  --shadow: 0 1px 2px rgba(70,65,63,.06), 0 2px 8px rgba(70,65,63,.05);
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --cond: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --r: 6px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121416; --panel: #1b1e21; --ink: #e9ecee; --muted: #a4adb5; --faint: #78818a; --line: #2c3237;
          --soft: #202428; --chip: #263038; --link: #8fbadf; --brand: #5b95c4; --brand-hover: #7fb0d8; --charcoal: #2c2928;
          --plate-line: #ffffff; --shadow: none; }
}
html, body { font: 14px/1.5 var(--sans); font-stretch: 100%; }
::selection { background: #d3e3f1; }
h1 { font-size: 24px; font-weight: 650; font-stretch: 112%; letter-spacing: -.005em; }
h2 { font-size: 17px; font-weight: 650; font-stretch: 108%; }
h3 { font-stretch: 104%; }

/* the bar: the logo's charcoal plate, its blue link block, the open page underlined in that blue */
header.top { background: var(--charcoal); border-bottom: 0; }
header.top .brand { color: #ffffff; font: 700 17px/1 var(--sans); font-stretch: 118%; letter-spacing: .015em; }
header.top .brand img { width: auto; height: 26px; }
header.top nav a { color: #d9d3cf; font-family: var(--sans); font-size: 14px; font-stretch: 96%; padding: 0 7px; }
header.top nav a:hover { color: #ffffff; box-shadow: inset 0 -3px 0 rgba(79,136,183,.45); }
header.top nav a.on { color: #ffffff; box-shadow: inset 0 -3px 0 var(--steel); }
header.top :focus-visible { outline-color: var(--steel-light); }
.me > summary { color: #efebe8; }
.me .av { background: var(--steel); color: #ffffff; }
.me .menu { color: var(--ink); }

/* the logo's rounded plates: medium corners; tags rather than round pills */
.panel, .btn, .flash, pre.copy, details.more .morebox { border-radius: var(--r); }
input:not([type]), input[type=text], input[type=date], input[type=number], input[type=email], input[type=search],
input[type=url], input[type=password], select, textarea { border-radius: var(--r); }
input:focus, select:focus, textarea:focus { box-shadow: 0 0 0 3px rgba(79,136,183,.22); }
.chip, .pill span, button.pill, .boxes label { border-radius: 4px; }
.pill input:checked + span, button.pill.on { background: var(--charcoal); color: #ffffff; }
@media (prefers-color-scheme: dark) { .pill input:checked + span, button.pill.on { background: var(--steel); color: #ffffff; } }
form.search2 .swap { border-radius: var(--r); }
th { background: #e8edf2; color: #4c555e; font-stretch: 104%; }
@media (prefers-color-scheme: dark) { th { background: var(--soft); color: var(--muted); } }
.total { font-family: var(--sans); font-stretch: 108%; font-variant-numeric: tabular-nums; }
.drop { border-color: #a9bccd; background: #f7f9fb; border-radius: var(--r); }
.drop.over { border-color: var(--steel); background: #eaf1f7; }
@media (prefers-color-scheme: dark) { .drop { background: var(--soft); } .drop.over { background: #1d2a35; } }

/* where a rate comes from when it isn't Sealink's own contract: GB's, copied in from GB Rates every night */
.src-gb { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; font-size: 11.5px; font-weight: 600;
  font-stretch: 104%; letter-spacing: .02em; color: var(--charcoal); background: #ece7e3; border: 1px solid #d9d1cb;
  vertical-align: 1px; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .src-gb { color: #e9e3de; background: #35302d; border-color: #4a433f; } }

/* Search: MAERSK ANTARES at its berth, darkening toward the form that sits on its foot */
.hero-photo { height: 300px; border-radius: var(--r); background: #6f8aa3; position: relative; }
.hero-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(70,65,63,0) 40%, rgba(46,42,40,.55) 100%); }
.hero-form { margin: -92px 22px 0; }
.hero-form > .panel { border-top: 3px solid var(--steel); box-shadow: 0 14px 36px rgba(40,36,34,.22); }

/* Sign in: the card stands on APM Terminals seen from the air, filling the screen under the bar */
.signin2 { grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - var(--hdr) - 90px); background: none; border: 0;
  box-shadow: none; overflow: visible; align-items: center; justify-items: end; border-radius: 0; }
.signin-photo { position: fixed; inset: var(--hdr) 0 0 0; min-height: 0; z-index: 0; background: #5f7f9c; }
.signin-photo img { object-position: 30% 50%; }
.signin-photo::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(40,36,34,0) 35%, rgba(40,36,34,.5) 100%); }
.signin-forms { position: relative; z-index: 1; width: min(440px, 100%); background: var(--panel); border-radius: 8px;
  padding: 26px 32px 30px; box-shadow: 0 24px 60px rgba(30,26,24,.42); border-top: 4px solid var(--steel); }
.card-logo img { display: block; width: 210px; height: auto; margin: 0 0 18px -2px; }
main > .flash { position: relative; z-index: 1; }
@media (max-width: 860px) {
  .signin2 { min-height: 0; justify-items: stretch; align-items: start; }
  .signin-photo { position: relative; inset: auto; height: 210px; margin: -16px -14px 0; }
  .signin-photo::after { background: linear-gradient(180deg, rgba(40,36,34,0) 50%, rgba(40,36,34,.35) 100%); }
  .signin-forms { width: auto; margin: -40px 4px 0; padding: 22px 18px; }
  .hero-form { margin: -60px 10px 0; }
}

/* Contracts: the three upload steps above the drop box (Sealink's uploader may be new to it) */
.upsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 12px; padding: 0;
  list-style: none; counter-reset: up; }
.upsteps li { counter-increment: up; background: var(--soft); border: 1px solid var(--line); border-radius: var(--r);
  padding: 10px 12px 10px 44px; position: relative; font-size: 13.5px; }
.upsteps li::before { content: counter(up); position: absolute; left: 12px; top: 10px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--steel); color: #ffffff; font: 650 12.5px/22px var(--sans); text-align: center; }
.upsteps b { display: block; margin-bottom: 2px; }
@media (max-width: 860px) { .upsteps { grid-template-columns: minmax(0, 1fr); } }
