:root {
  --cinematic-navy: #03182b;
  --cinematic-navy-deep: #02111f;
  --cinematic-panel: #10263a;
  --cinematic-panel-soft: #162c40;
  --cinematic-line: rgba(203, 220, 231, .2);
  --cinematic-muted: #b7c5ce;
  --cinematic-copper: #dc682d;
  --cinematic-copper-dark: #aa461f;
  --cinematic-paper: #f4f7f8;
}

@keyframes cinematic-reveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cinematic-route {
  to { stroke-dashoffset: -52; }
}

/* Public scenes follow the approved full-bleed references. */
.site-home .scene-cta {
  display: inline-flex;
  width: max-content;
  min-width: 220px;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 13px 24px;
  color: #fff;
  border: 1px solid var(--cinematic-copper);
  border-radius: 4px;
  background: var(--cinematic-copper);
  box-shadow: 0 10px 28px rgba(164, 65, 21, .24);
  text-decoration: none;
  font-weight: 780;
}

.site-home #why,
.site-home #services,
.site-home #network,
.site-home #quotes,
.site-home #documents {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.site-home #why[hidden],
.site-home #services[hidden],
.site-home #network[hidden],
.site-home #quotes[hidden],
.site-home #documents[hidden] {
  display: none !important;
}

.site-home #why::before,
.site-home #services::before,
.site-home #quotes::before,
.site-home #documents::before {
  display: none;
}

.site-home #why > *,
.site-home #services > *,
.site-home #quotes > *,
.site-home #documents > *,
.site-home #network > * {
  position: relative;
  z-index: 1;
}

.site-home #why {
  display: grid !important;
  min-height: calc(100svh - 74px);
  grid-template-rows: minmax(0, 1fr) 280px;
  align-content: stretch;
  padding: 0;
  background-color: var(--cinematic-navy-deep);
  background-image: linear-gradient(90deg, rgba(2, 16, 30, .96) 0%, rgba(2, 16, 30, .72) 42%, rgba(2, 16, 30, .12) 72%), url("assets/design/why-port-terminal.jpg");
  background-position: center;
  background-size: cover;
}

.site-home #why::before {
  background-image: none;
}

.site-home #why .why-heading {
  display: flex;
  width: min(680px, 48vw);
  align-self: center;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  padding: 72px 48px 52px;
  animation: cinematic-reveal .65s ease both;
}

.site-home #why .why-heading > div { width: 100%; }
.site-home #why h2 { margin-bottom: 24px; font-size: clamp(2.8rem, 5vw, 4.4rem); }
.site-home #why .why-heading > p { max-width: 610px; margin: 0; color: #d2dde3; font-size: 1.04rem; line-height: 1.9; }
.site-home #why .why-grid {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border: 0;
  border-top: 1px solid var(--cinematic-line);
  min-height: 0 !important;
  background: rgba(3, 20, 36, .94);
}
.site-home #why .why-grid article {
  display: block !important;
  min-height: 0;
  padding: 30px 42px;
  border: 0 !important;
  border-right: 1px solid var(--cinematic-line) !important;
  background: transparent !important;
}
.site-home #why .why-grid article:last-child { border-right: 0 !important; }
.site-home #why .why-grid article span {
  display: block;
  width: auto;
  height: auto;
  margin-bottom: 24px;
  color: transparent;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  font-size: 3.6rem;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(232, 119, 60, .62);
  text-shadow: 0 0 24px rgba(220, 104, 45, .1);
}
.site-home #why .why-grid article h3 { margin: 0 0 14px; font-size: 1.42rem; }
.site-home #why .why-grid article h3::after { content: ""; display: block; width: 30px; height: 2px; margin-top: 14px; background: var(--cinematic-copper); }
.site-home #why .why-grid article p { margin: 0; line-height: 1.75; }

.site-home #services {
  display: flex !important;
  min-height: calc(100svh - 74px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
  background-color: var(--cinematic-navy-deep);
  background-image: linear-gradient(90deg, rgba(2, 16, 30, .98) 0%, rgba(2, 16, 30, .84) 37%, rgba(2, 16, 30, .18) 68%), url("assets/design/process-inspection-terminal.jpg");
  background-position: center;
  background-size: cover;
}
.site-home #services::before {
  background-image: none;
}
.site-home #services > .eyebrow,
.site-home #services > h2,
.site-home #services > .services-lead,
.site-home #services > .scene-cta { width: min(620px, 44vw); margin-right: 30px; margin-left: 48px; }
.site-home #services > .eyebrow { margin-top: 92px; margin-bottom: 14px; }
.site-home #services > h2 { margin-top: 0; margin-bottom: 20px; font-size: clamp(2.8rem, 4.8vw, 4.25rem); }
.site-home #services > .services-lead { max-width: 620px; margin-top: 0; color: #d0dce2; font-size: 1.04rem; line-height: 1.9; }
.site-home #services > .scene-cta { width: max-content; margin-top: 24px; }
.site-home #services .cards {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: auto 0 0;
  flex: 0 0 276px;
  border: 0;
  border-top: 1px solid var(--cinematic-line);
  background: rgba(3, 20, 36, .97);
}
.site-home #services .cards article {
  display: block !important;
  min-height: 0;
  padding: 30px 42px;
  border: 0 !important;
  border-right: 1px solid var(--cinematic-line) !important;
  background: transparent !important;
}
.site-home #services .cards article:last-child { border-right: 0 !important; }
.site-home #services .cards article span { color: var(--cinematic-copper); font-size: 1rem; }
.site-home #services .cards article h3 { margin: 22px 0 12px; font-size: 1.35rem; }
.site-home #services .cards article p { margin: 0; line-height: 1.75; }

.site-home #export {
  min-height: calc(100svh - 74px);
  padding-top: 70px;
  background-color: #061b2e;
  background-image: linear-gradient(rgba(93, 127, 148, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(93, 127, 148, .06) 1px, transparent 1px);
  background-size: 74px 74px;
}
.site-home #export .export-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-home #export .export-flow article { min-height: 230px; }
.site-home #export .export-flow article:nth-child(3n) { border-right: 0 !important; }
.site-home #export .tax-note { margin-top: 24px; padding: 28px 32px; border-radius: 0 !important; background: #10273a !important; }

.site-home #network {
  display: grid !important;
  min-height: calc(100svh - 74px);
  grid-template-rows: minmax(440px, .54fr) minmax(360px, .46fr);
  padding: 0;
  background: var(--cinematic-navy-deep);
}
.site-home #network::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 44%;
  background-image: linear-gradient(90deg, rgba(2, 15, 29, .96), rgba(2, 15, 29, .58) 46%, rgba(2, 15, 29, .12)), url("assets/design/global-port-aerial.jpg");
  background-position: center;
  background-size: cover;
}
.site-home #network .network-copy {
  display: flex;
  width: min(650px, 52vw);
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px 42px;
}
.site-home #network .network-copy h2 { margin: 10px 0 22px; font-size: clamp(2.7rem, 4.6vw, 4.1rem); }
.site-home #network .network-copy > p:last-child { max-width: 600px; color: #d2dde3; font-size: 1.03rem; line-height: 1.85; }
.site-home #network .network-map {
  display: grid;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  grid-template-rows: 1fr auto;
  background: #061b2f;
}
.site-home #network .world-map-stage {
  position: relative;
  width: 100% !important;
  max-width: none !important;
  min-height: 360px;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(2, 18, 33, .2), rgba(2, 18, 33, .52)), url("assets/design/prd-world-map-base.jpg");
  background-position: center 55%;
  background-size: cover;
}
.site-home #network .world-map-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.site-home #network .world-map-stage path { fill: none; stroke: var(--cinematic-copper); stroke-width: 2; stroke-dasharray: 9 8; opacity: .86; animation: cinematic-route 12s linear infinite; }
.site-home #network .world-point { position: absolute; z-index: 3; display: grid; grid-template-columns: 14px auto; gap: 7px; align-items: center; color: #f4f7f8; white-space: nowrap; font-size: .8rem; text-shadow: 0 2px 8px #000; }
.site-home #network .world-point i { width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: #0b273c; box-shadow: 0 0 0 4px rgba(255, 255, 255, .08); }
.site-home #network .point-guangzhou i,
.site-home #network .point-hongkong i { border-color: #ff9c62; background: var(--cinematic-copper); }
.site-home #network .point-guangzhou { left: 17%; top: 45%; }
.site-home #network .point-hongkong { left: 28%; top: 58%; }
.site-home #network .point-madrid { left: 62%; top: 35%; }
.site-home #network .point-dubai { left: 61%; top: 61%; }
.site-home #network .point-singapore { left: 72%; top: 74%; }
.site-home #network .point-newyork { left: 85%; top: 39%; }
.site-home #network .point-saopaulo { left: 84%; top: 84%; }
.site-home #network figcaption { padding: 18px 48px 24px; color: #92a7b4; border-top: 1px solid var(--cinematic-line); font-size: .78rem; }

.site-home #quotes {
  display: grid;
  min-height: calc(100svh - 74px);
  grid-template-rows: minmax(500px, 1fr) auto auto;
  padding: 0;
  background-color: var(--cinematic-navy-deep);
  background-image: linear-gradient(90deg, rgba(2, 16, 30, .97), rgba(2, 16, 30, .77) 42%, rgba(2, 16, 30, .12)), url("assets/design/quotes-procurement-desk.jpg");
  background-position: center;
  background-size: cover;
}
.site-home #quotes::before {
  background-image: none;
}
.site-home #quotes .quotes-heading {
  display: block;
  width: min(1320px, calc(100% - 96px));
  align-self: center;
  justify-self: center;
  margin: 0;
  padding: 64px 0 40px;
}
.site-home #quotes .quotes-heading > div,
.site-home #quotes .quotes-heading > p { width: min(680px, 50%); }
.site-home #quotes .quotes-heading h2 { font-size: clamp(2.8rem, 4.8vw, 4.2rem); }
.site-home #quotes .quote-toolbar {
  display: grid;
  width: min(1320px, calc(100% - 96px));
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 36px;
  justify-self: center;
  margin: 0;
  padding: 26px 0 30px !important;
  color: #fff;
  border: 0 !important;
  border-top: 1px solid var(--cinematic-line) !important;
  border-bottom: 1px solid var(--cinematic-line) !important;
  border-radius: 0;
  background: transparent !important;
}
.site-home #quotes .quote-toolbar label { display: grid; min-width: 0; gap: 10px; color: #f4f7f8; font-size: .82rem; font-weight: 800; }
.site-home #quotes .quote-toolbar input,
.site-home #quotes .quote-toolbar select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 12px 2px;
  color: #f4f7f8;
  border: 0;
  border-bottom: 2px solid transparent;
  border-image: var(--action-line) 1;
  border-radius: 0;
  outline: 0;
  background: rgba(3, 20, 35, .68);
  box-shadow: none;
}
.site-home #quotes .quote-toolbar input::placeholder { color: #8fa3b0; opacity: 1; }
.site-home #quotes .quote-toolbar input:focus,
.site-home #quotes .quote-toolbar select:focus { border-color: transparent; outline: 2px solid rgba(242, 164, 94, .32); outline-offset: 3px; }
.site-home #quotes .quote-grid {
  display: grid;
  width: min(1320px, calc(100% - 96px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  justify-self: center;
  background: rgba(3, 20, 35, .88);
}
.site-home #quotes .quote-card { min-height: 220px; padding: 30px; color: #d9e2e7; border: 0; border-right: 1px solid var(--cinematic-line); border-bottom: 1px solid var(--cinematic-line); border-radius: 0; background: transparent; box-shadow: none; }
.site-home #quotes .quote-empty {
  width: min(1320px, calc(100% - 96px));
  justify-self: center;
  margin: 0;
  padding: 28px 0 34px;
  color: #b8c6ce;
  border: 0;
  text-align: center;
  background: rgba(3, 20, 35, .88);
}

/* Fee actions share one baseline and one visual rhythm. */
.site-home #fees .section-cta {
  display: grid;
  width: min(560px, 100%);
  max-width: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
  justify-content: start;
  margin: 28px 0 0;
}
.site-home #fees .section-cta a {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 58px;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 0 12px;
  font-size: 1.04rem;
  font-weight: 850;
  line-height: 1.35;
  white-space: normal;
}

.site-home #documents {
  display: grid;
  min-height: calc(100svh - 74px);
  grid-template-columns: 1fr;
  grid-template-rows: minmax(470px, 1fr) auto;
  gap: 0;
  padding: 0;
  background-color: var(--cinematic-navy-deep);
  background-image: linear-gradient(90deg, rgba(2, 16, 30, .97), rgba(2, 16, 30, .76) 42%, rgba(2, 16, 30, .12)), url("assets/design/documents-review-port.jpg");
  background-position: center;
  background-size: cover;
}
.site-home #documents::before {
  background-image: none;
}
.site-home #documents .documents-copy { display: flex; width: min(650px, 50vw); flex-direction: column; justify-content: center; padding: 64px 48px 42px; }
.site-home #documents .documents-copy h2 { font-size: clamp(2.8rem, 4.8vw, 4.2rem); }
.site-home #documents .document-list,
.site-home #documents .page-deck-shell { width: 100%; padding: 0; background: rgba(3, 20, 35, .97); }
.site-home #documents .document-list article,
.site-home #documents .page-deck article {
  min-height: 230px !important;
  padding: 34px 48px 28px !important;
  color: #d7e1e6;
  border: 0 !important;
  border-top: 1px solid var(--cinematic-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.site-home #documents .page-deck-controls { margin: 0 !important; padding: 0 48px 24px; background: rgba(3, 20, 35, .97); }

.site-home #fees,
.site-home #terms,
.site-home #request,
.site-home #privacy,
.site-home #policies {
  background-color: #061b2e !important;
  background-image: linear-gradient(rgba(92, 126, 148, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 126, 148, .05) 1px, transparent 1px) !important;
  background-size: 70px 70px !important;
}
.site-home #fees .fee-group,
.site-home #fees .vip-panel,
.site-home #terms .terms-note {
  border-radius: 0 !important;
  box-shadow: none !important;
}
.site-home #request .request-form { max-width: 1080px; border-radius: 4px; box-shadow: 0 24px 60px rgba(0, 8, 17, .2); }

/* Client center: light operations workspace from the selected reference. */
.client-portal .portal-sidebar { width: 270px; background: #041b33; }
.client-portal .portal-brand {
  min-height: 154px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 22px 34px;
}
.client-portal .portal-brand .brand-mark { width: 58px; height: 58px; flex: 0 0 58px; margin-bottom: 8px; }
.client-portal .portal-brand strong { font-size: 1.08rem; line-height: 1.2; }
.client-portal .portal-brand small { color: #9db0bd; }
.client-portal .portal-sidebar nav button svg { width: 20px; height: 20px; color: #b8c9d4; }
.client-portal .portal-sidebar nav button.active svg { color: var(--cinematic-copper); }
.client-portal .portal-main { margin-left: 270px; background: #f2f6f8; }
.client-portal .portal-topbar { min-height: 86px; padding: 14px 32px; background: rgba(255, 255, 255, .98); }
.client-portal .portal-topbar h1 { margin: 0 auto 0 0; color: #071b2b; font-size: 1.25rem; }
.client-portal .portal-account { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.client-portal .portal-account svg { width: 20px; height: 20px; color: #071b2b; }
.client-portal .portal-account strong { max-width: 270px; color: #1a2d38; font-size: .84rem; }
.client-portal .portal-topbar > a { margin-left: 18px; }
.client-portal .sidebar-toggle svg { width: 20px; height: 20px; }
.client-portal .portal-view { padding: 36px; }
.client-portal .welcome-panel {
  min-height: 310px;
  align-items: center;
  padding: 54px 66px;
  border: 1px solid #b8c7d0;
  border-radius: 6px;
  background-image: linear-gradient(90deg, rgba(246, 249, 250, .96), rgba(246, 249, 250, .75) 45%, rgba(246, 249, 250, .04) 72%), url("assets/design/homepage-cinematic-background.png");
  background-position: center;
  background-size: cover;
}
.client-portal .welcome-panel::after { display: none; }
.client-portal .welcome-panel > div,
.client-portal .welcome-panel h1 { color: #071f3a; }
.client-portal .welcome-panel span { max-width: 620px; color: #29445b; font-size: 1.04rem; }
.client-portal .metric-grid { gap: 16px; }
.client-portal .metric-grid article,
.client-portal .portal-card,
.client-portal .portal-empty.large { border: 1px solid #becbd4; border-radius: 5px; background: #fff; box-shadow: 0 8px 28px rgba(18, 48, 70, .04); }
.client-portal .metric-grid article { min-height: 128px; align-content: center; text-align: center; }
.client-portal .tracking-line { padding: 14px 10px 4px; }
.client-portal .tracking-line li {
  min-height: 58px;
  padding-top: 30px;
  color: #536b79;
  letter-spacing: 0;
}
.client-portal .tracking-line li::before {
  content: "STEP " counter(track, decimal-leading-zero);
  top: 0;
  width: auto;
  height: auto;
  color: var(--cinematic-copper);
  border-radius: 0;
  background: transparent;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .09em;
}
.client-portal .tracking-line li::after {
  top: 10px;
  left: 62px;
  background: linear-gradient(90deg, rgba(199, 101, 48, .7), rgba(139, 158, 169, .32));
}
.client-portal .card-heading > span {
  padding: 6px 0;
  color: #a6542a;
  border-bottom: 1px solid #c76530;
  border-radius: 0;
  background: transparent;
  letter-spacing: .04em;
}
.client-portal .portal-topbar > a,
.client-portal .portal-empty a {
  position: relative;
  padding: 8px 0;
  color: #132d3e;
  border-radius: 0;
  background: transparent;
  font-weight: 850;
  text-decoration: none;
}
.client-portal .portal-topbar > a::after,
.client-portal .portal-empty a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: #c76530;
  transform-origin: left;
  transition: transform .2s ease;
}
.client-portal .portal-topbar > a:hover::after,
.client-portal .portal-empty a:hover::after { transform: scaleX(.62); }
.client-portal .sidebar-toggle {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.client-portal .settings-card button {
  padding: 9px 0;
  color: #8f332e;
  border: 0;
  border-bottom: 1px solid #a9473f;
  border-radius: 0;
  background: transparent;
}

/* Supplier center: warehouse-led dark workspace. */
.supplier-portal .portal-view:not([hidden]) { grid-template-columns: 238px minmax(0, 1fr); min-height: 100svh; }
.supplier-portal .portal-sidebar { padding: 30px 20px; background: #031a31; }
.supplier-portal .portal-content { padding: 0 28px 38px; background: #091d30; }
.supplier-portal .supplier-welcome {
  min-height: 330px;
  margin: 0 -28px 24px;
  padding: 52px 60px;
  align-content: center;
  background-image: linear-gradient(90deg, rgba(3, 18, 32, .9), rgba(3, 18, 32, .24)), url("assets/design/supplier-warehouse-banner.png");
  background-position: center;
  background-size: cover;
}
.supplier-portal .profile-entry-grid { margin-top: 26px; }
.supplier-portal .profile-entry-grid > a { min-height: 86px; border-radius: 4px; background: rgba(4, 22, 38, .7); }
.supplier-portal form[data-profile-form],
.supplier-portal .profile-entry-grid > a { border-color: rgba(199, 217, 228, .26); box-shadow: 0 14px 36px rgba(0, 7, 16, .14); }
.supplier-portal .portal-sidebar nav button svg { width: 20px; height: 20px; color: #c6d4dd; }
.supplier-portal .portal-sidebar nav button.active svg { color: #e58a55; }
.supplier-portal .supplier-overview {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr .85fr;
  gap: 16px;
  margin: 0 0 28px;
}
.supplier-portal .supplier-overview > article {
  min-height: 310px;
  padding: 24px;
  color: #dce5ea;
  border: 1px solid #31485a;
  border-radius: 5px;
  background: linear-gradient(145deg, rgba(28, 43, 56, .96), rgba(18, 31, 43, .96));
}
.supplier-portal .supplier-panel-heading p { margin: 0; color: #c98256; font-size: .7rem; font-weight: 850; letter-spacing: .08em; }
.supplier-portal .supplier-panel-heading h2 { margin: 4px 0 16px; color: #fff; font-size: 1.25rem; }
.supplier-portal .supplier-readiness ul,
.supplier-portal .supplier-requirements ul { margin: 0; padding: 0; list-style: none; }
.supplier-portal .supplier-readiness li { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: center; min-height: 42px; border-top: 1px solid #334856; }
.supplier-portal .supplier-readiness li svg { width: 19px; color: #b8c6ce; }
.supplier-portal .supplier-readiness li b { color: #dd8956; font-size: .8rem; }
.supplier-portal .supplier-empty { display: grid; min-height: 220px; place-items: center; align-content: center; gap: 10px; color: #82939d; text-align: center; }
.supplier-portal .supplier-empty svg { width: 54px; height: 54px; stroke-width: 1.2; }
.supplier-portal .supplier-empty strong { color: #adb9c0; font-size: 1.05rem; }
.supplier-portal .supplier-empty span { max-width: 260px; font-size: .82rem; }
.supplier-portal .supplier-requirements li { position: relative; padding: 13px 0 13px 22px; border-top: 1px solid #334856; }
.supplier-portal .supplier-requirements li::before { content: ""; position: absolute; top: 21px; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: #d78050; }

/* Admin: dense dark console, with the existing behavior preserved. */
.admin-app .dashboard {
  display: grid;
  min-height: 100svh;
  grid-template-columns: 250px minmax(0, 1fr) 310px;
  grid-template-rows: 82px auto minmax(0, 1fr);
  background: #05192d;
}
.admin-app .admin-header { grid-column: 2 / -1; grid-row: 1; min-height: 82px; padding: 14px 28px; background: #04182c; }
.admin-app .admin-header .admin-brand .brand-mark { display: none !important; }
.admin-app .admin-header .admin-brand small { display: none; }
.admin-app .admin-header .admin-brand strong { font-size: 1.12rem; }
.admin-app .admin-header > div:last-child { display: flex; align-items: center; gap: 10px; }
.admin-app .admin-header > div:last-child > * { display: inline-flex; min-height: 38px; align-items: center; gap: 8px; padding: 8px 13px; color: #d8e4e9; border: 1px solid #426075; background: transparent; text-decoration: none; }
.admin-app .admin-header .admin-primary-action { color: #fff !important; border-color: #d47c47 !important; background: linear-gradient(90deg, #a95b36, #d47c47) !important; }
.admin-app .admin-header svg { width: 17px; height: 17px; }
.admin-app .workspace-tabs {
  position: sticky;
  top: 0;
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: start;
  display: flex;
  height: 100svh;
  flex-direction: column;
  gap: 4px;
  padding: 26px 14px;
  background: #041b33;
}
.admin-app .admin-side-brand {
  display: flex;
  min-height: 134px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: -12px 8px 14px;
  padding: 18px 14px 22px;
  color: #fff;
  border-bottom: 1px solid rgba(220, 104, 45, .54);
  text-decoration: none;
}
.admin-app .admin-side-brand .brand-mark { width: 58px; height: 58px; margin-bottom: 10px; }
.admin-app .admin-side-brand strong { font-size: 1.08rem; }
.admin-app .admin-side-brand small { margin-top: 3px; color: #9db0bd; }
.admin-app .workspace-tabs::before { content: "业务模块"; padding: 0 14px 14px; color: #7891a1; font-size: .72rem; font-weight: 800; }
.admin-app .workspace-tabs::before { display: none; }
.admin-app .workspace-tabs button { min-width: 0; min-height: 50px; padding: 12px 16px; text-align: left; }
.admin-app .workspace-tabs button { display: flex; align-items: center; gap: 12px; }
.admin-app .workspace-tabs button svg { width: 20px; height: 20px; color: #bccbd4; }
.admin-app .workspace-tabs button.active svg { color: #e58a55; }
.admin-app .workspace-tabs button.active { color: #fff; background: #142f49; box-shadow: inset 4px 0 var(--cinematic-copper); }
.admin-app .stats { grid-column: 2 / -1; grid-row: 2; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; padding: 20px 26px 18px; border: 0; background: #05192d; }
.admin-app .stat { min-height: 124px; align-content: center; padding: 20px 24px; border: 1px solid #385167; border-radius: 5px; background: #10263a; }
.admin-app .service-status { grid-column: 3; grid-row: 3; align-self: start; display: flex; flex-direction: column; align-items: stretch; margin: 0 26px 26px 0; padding: 0; border: 1px solid #385167; border-radius: 5px; background: #0a2034; overflow: hidden; }
.admin-app .service-status::before { content: "服务状态"; padding: 18px 20px; color: #fff; border-bottom: 1px solid #385167; font-size: 1rem; font-weight: 800; }
.admin-app .service-item { width: 100%; min-height: 52px; border: 0; border-bottom: 1px solid #385167; border-radius: 0; background: transparent; }
.admin-app .service-item:last-child { border-bottom: 0; }
.admin-app .workspace { grid-column: 2; grid-row: 3; min-height: calc(100svh - 270px); margin: 0 16px 26px 26px; overflow: hidden; border: 1px solid #385167; border-radius: 5px; background: #0a2034; }
.admin-app .record-list-panel,
.admin-app .detail-panel { background: #0a2034; }
.admin-app .record-row,
.admin-app .detail-grid div,
.admin-app .business-form,
.admin-app .order-form,
.admin-app .review-form,
.admin-app .quote-form,
.admin-app .payment-form,
.admin-app .payment-quick-list { border-color: #385167; border-radius: 4px; background: #10263a; }
.admin-app .admin-empty-overview { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.2fr); gap: 14px; align-content: end; min-height: 100%; padding: 24px; }
.admin-app .admin-empty-overview > article { min-height: 158px; padding: 22px; border: 1px solid #385167; background: #0d2438; }
.admin-app .admin-empty-overview > article > strong { display: block; margin-bottom: 18px; color: #fff; font-size: 1rem; }
.admin-app .admin-empty-overview article > div:first-child { display: flex; align-items: center; gap: 12px; }
.admin-app .admin-empty-overview article > div:first-child svg { width: 34px; height: 34px; color: #8fa5b3; }
.admin-app .admin-empty-overview article > div:first-child div { display: grid; gap: 3px; }
.admin-app .admin-empty-overview article > div:first-child strong { color: #fff; }
.admin-app .admin-empty-overview article > div:first-child span,
.admin-app .admin-empty-overview article p { color: #8da0ac; font-size: .8rem; }
.admin-app .admin-quick-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.admin-app .admin-quick-links button { display: flex; min-height: 44px; align-items: center; gap: 8px; justify-content: flex-start; padding: 10px 12px; color: #d9e4e9; border: 1px solid #3b5669; background: #102b41; }
.admin-app .admin-quick-links svg { width: 18px; height: 18px; color: #d8824f; }

/* Supporting supplier tools use the same dark system. */
.supplier-upload-page .side-panel,
.supplier-review-page header,
.supplier-review-page aside { background: #041b33; }
.supplier-upload-page .workspace,
.supplier-review-page main > section { background: #091d30; }

@media (max-width: 1100px) {
  .site-home #why .why-grid,
  .site-home #services .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-home #why .why-grid article:nth-child(2n),
  .site-home #services .cards article:nth-child(2n) { border-right: 0 !important; }
  .site-home #export .export-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-home #export .export-flow article:nth-child(3n) { border-right: 1px solid var(--cinematic-line) !important; }
  .site-home #export .export-flow article:nth-child(2n) { border-right: 0 !important; }
  .admin-app .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admin-app .dashboard { grid-template-columns: 250px minmax(0, 1fr); }
  .admin-app .admin-header,
  .admin-app .stats { grid-column: 2; }
  .admin-app .workspace { grid-column: 2; grid-row: 3; margin-right: 26px; }
  .admin-app .service-status { grid-column: 2; grid-row: 4; margin: 0 26px 26px; }
}

@media (max-width: 840px) {
  .site-home #why,
  .site-home #services,
  .site-home #network,
  .site-home #quotes,
  .site-home #documents { min-height: auto; }
  .site-home #why { grid-template-rows: minmax(620px, 82svh) auto; }
  .site-home #why::before { background-image: linear-gradient(180deg, rgba(2, 16, 30, .28), rgba(2, 16, 30, .93) 70%), url("assets/design/why-port-terminal.jpg"); background-position: 68% center; }
  .site-home #why .why-heading,
  .site-home #quotes .quotes-heading,
  .site-home #documents .documents-copy,
  .site-home #network .network-copy { width: 100%; padding: 48px 22px; }
  .site-home #why .why-heading { align-self: end; }
  .site-home #why .why-grid,
  .site-home #services .cards { grid-template-columns: 1fr; }
  .site-home #why .why-grid article,
  .site-home #services .cards article { min-height: 170px; padding: 26px 22px; border-right: 0 !important; }
  .site-home #why .why-grid article span { margin-bottom: 12px; font-size: 2.6rem; }
  .site-home #services { display: flex; min-height: auto; flex-direction: column; align-items: stretch; padding: 0; }
  .site-home #services::before { background-image: linear-gradient(180deg, rgba(2, 16, 30, .3), rgba(2, 16, 30, .96) 66%), url("assets/design/process-inspection-terminal.jpg"); background-position: 66% top; }
  .site-home #services > .eyebrow,
  .site-home #services > h2,
  .site-home #services > .services-lead,
  .site-home #services > .scene-cta { width: auto; margin-right: 22px; margin-left: 22px; }
  .site-home #services > .scene-cta { width: max-content; }
  .site-home #services > .eyebrow { margin-top: 360px; }
  .site-home #services > .scene-cta { margin-bottom: 42px; }
  .site-home #export .export-flow { grid-template-columns: 1fr; }
  .site-home #export .export-flow article { border-right: 0 !important; }
  .site-home #network { grid-template-rows: minmax(520px, auto) auto; }
  .site-home #network::before { inset: 0 0 48%; background-image: linear-gradient(180deg, rgba(2, 15, 29, .25), rgba(2, 15, 29, .96) 72%), url("assets/design/global-port-aerial.jpg"); background-position: 68% center; }
  .site-home #network .network-copy { align-self: end; }
  .site-home #network .world-map-stage { min-height: 430px; background-position: 38% center; }
  .site-home #network figcaption { padding: 16px 22px 22px; }
  .site-home #quotes { grid-template-rows: minmax(560px, 82svh) auto auto; }
  .site-home #quotes::before { background-image: linear-gradient(180deg, rgba(2, 16, 30, .25), rgba(2, 16, 30, .95) 72%), url("assets/design/quotes-procurement-desk.jpg"); background-position: 68% center; }
  .site-home #quotes .quotes-heading {
    width: calc(100% - 44px);
    align-self: end;
    padding: 48px 0;
  }
  .site-home #quotes .quotes-heading > div,
  .site-home #quotes .quotes-heading > p { width: 100%; }
  .site-home #quotes .quote-toolbar {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 0 28px !important;
  }
  .site-home #quotes .quote-grid { grid-template-columns: 1fr; }
  .site-home #quotes .quote-grid,
  .site-home #quotes .quote-empty { width: calc(100% - 44px); }
  .site-home #documents { grid-template-rows: minmax(560px, 82svh) auto; }
  .site-home #documents::before { background-image: linear-gradient(180deg, rgba(2, 16, 30, .24), rgba(2, 16, 30, .95) 72%), url("assets/design/documents-review-port.jpg"); background-position: 66% center; }
  .site-home #documents .documents-copy { align-self: end; }
  .site-home #documents .document-list article,
  .site-home #documents .page-deck article { padding: 28px 22px !important; }
  .site-home #documents .page-deck-controls { padding: 0 22px 22px; }
  .client-portal .portal-main { margin-left: 0; }
  .client-portal .portal-main { background: #f2f6f8; }
  .client-portal .portal-view { padding: 0 0 max(24px, env(safe-area-inset-bottom)); }
  .client-portal .portal-topbar h1 { font-size: 1rem; }
  .client-portal .portal-account strong { max-width: 26vw; }
  .client-portal .welcome-panel {
    min-height: 320px;
    padding: 34px 22px;
    border: 0;
    border-bottom: 1px solid #b8c7d0;
    border-radius: 0;
    background-position: 66% center;
    box-shadow: none;
  }
  .client-portal .welcome-panel h1 { max-width: 12ch; font-size: clamp(2.1rem, 9vw, 3.1rem); }
  .client-portal .welcome-panel span { max-width: 28rem; }
  .client-portal .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid #bdcbd4;
    background: #fff;
  }
  .client-portal .metric-grid article {
    min-height: 122px;
    padding: 20px 18px;
    border: 0;
    border-right: 1px solid #bdcbd4;
    border-bottom: 1px solid #bdcbd4;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .client-portal .metric-grid article:nth-child(2n) { border-right: 0; }
  .client-portal .metric-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
  .client-portal .portal-card,
  .client-portal .portal-empty.large {
    width: 100%;
    margin: 0;
    padding: 30px 22px;
    border: 0;
    border-bottom: 1px solid #bdcbd4;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
  }
  .client-portal .portal-card .portal-empty {
    margin: 24px -22px -30px;
    padding: 28px 22px;
    border: 0;
    border-top: 1px solid #d4dde2;
    border-radius: 0;
    background: #f7f9fa;
  }
  .client-portal .tracking-line {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 10px;
    margin: 24px 0 6px;
    padding: 0;
  }
  .client-portal .tracking-line li { min-width: 0; }
  .client-portal .page-heading {
    margin: 0;
    padding: 40px 22px 28px;
    border-bottom: 1px solid #bdcbd4;
    background: #f2f6f8;
  }
  .client-portal .page-heading h1 { font-size: clamp(2.35rem, 11vw, 3.5rem); }
  .client-portal .portal-empty.large {
    min-height: calc(100svh - 256px);
    justify-items: start;
    align-content: center;
    text-align: left;
  }
  .client-portal .settings-card { max-width: none; }
  .supplier-portal .portal-view:not([hidden]) { grid-template-columns: 1fr; }
  .supplier-portal .portal-content { padding: 0 14px 24px; }
  .supplier-portal .supplier-welcome { margin: 0 -14px 20px; padding: 42px 20px; }
  .supplier-portal .supplier-overview { grid-template-columns: 1fr; }
  .supplier-portal .supplier-overview > article { min-height: 0; }
  .admin-app .dashboard { display: block; }
  .admin-app .admin-header { position: sticky; z-index: 30; top: 0; }
  .admin-app .workspace-tabs { position: sticky; z-index: 29; top: 82px; display: flex; width: 100%; height: auto; flex-direction: row; overflow-x: auto; padding: 8px 12px; }
  .admin-app .workspace-tabs::before { display: none; }
  .admin-app .admin-side-brand { display: none; }
  .admin-app .workspace-tabs button { min-width: 118px; text-align: center; }
  .admin-app .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px; }
  .admin-app .service-status { padding: 6px 14px 14px; }
  .admin-app .workspace { margin: 0 14px 20px; min-height: auto; }
  .admin-app .admin-empty-overview { grid-template-columns: 1fr; min-height: 520px; }
}

@media (max-width: 520px) {
  .site-home .brand-supplier-entry { min-height: 34px; padding: 7px 9px; font-size: .76rem; }
  .site-home #why h2,
  .site-home #services > h2,
  .site-home #network .network-copy h2,
  .site-home #quotes .quotes-heading h2,
  .site-home #documents .documents-copy h2 { font-size: 2.15rem; }
  .site-home #network .world-map-stage { min-height: 360px; }
  .site-home #network .world-point { font-size: .65rem; }
  .site-home #network .point-newyork { left: 78%; }
  .site-home #network .point-saopaulo { left: 74%; }
  .site-home #fees .section-cta { grid-template-columns: 1fr; gap: 18px; }
  .client-portal .welcome-panel { min-height: 350px; }
  .client-portal .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-portal .metric-grid article { min-height: 116px; padding: 18px 12px; }
  .client-portal .metric-grid strong { font-size: 1.7rem; }
  .client-portal .metric-grid span { font-size: .74rem; }
  .client-portal .card-heading { display: flex; align-items: flex-start; }
  .client-portal .card-heading > span { flex: 0 0 auto; border-radius: 0; }
  .client-portal .tracking-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-portal .tracking-line li { min-height: 54px; padding: 27px 4px 0 0; }
  .client-portal .tracking-line li::after { display: none; }
  .client-portal .portal-account { display: none; }
  .client-portal .portal-topbar > a { margin-left: 0; }
  .admin-app .stats { grid-template-columns: 1fr; }
  .admin-app .workspace { margin-inline: 8px; }
  .admin-app .admin-header > div:last-child .admin-primary-action,
  .admin-app .admin-header > div:last-child [data-header-contracts],
  .admin-app .admin-header > div:last-child a { display: none; }
  .admin-app .admin-quick-links { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .site-home #network .world-map-stage path { animation: none; }
}

/* 2026-07-22 cardless maritime pass: logbook indices, continuous bands, precise type. */
.site-home,
.client-portal,
.supplier-portal,
.supplier-upload-page,
.admin-app {
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}
.site-home h1, .site-home h2, .site-home h3,
.client-portal h1, .client-portal h2,
.supplier-portal h1, .supplier-portal h2,
.supplier-upload-page h1, .supplier-upload-page h2,
.admin-app h1, .admin-app h2 { letter-spacing: 0; text-wrap: balance; }
.site-home p, .site-home li,
.client-portal p, .client-portal li,
.supplier-portal p, .supplier-portal li,
.supplier-upload-page p, .supplier-upload-page li,
.admin-app p, .admin-app li { letter-spacing: 0; text-wrap: pretty; }

/* Public request and deck navigation use logbook marks instead of round steps. */
.site-home .form-progress {
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--vt-line);
  border-bottom: 1px solid var(--vt-line);
  background: transparent;
}
.site-home .form-progress button {
  justify-content: flex-start;
  min-height: 58px;
  padding: 12px 18px;
  color: #b9c8d0;
  border: 0;
  border-right: 1px solid var(--vt-line);
  border-radius: 0;
  background: transparent;
}
.site-home .form-progress button:last-child { border-right: 0; }
.site-home .form-progress button.active { color: #fff; border-color: var(--vt-line); background: rgba(255, 255, 255, .04); }
.site-home .form-progress span,
.site-home .form-progress button.active span {
  display: inline;
  width: auto;
  height: auto;
  color: var(--cinematic-copper);
  border-radius: 0;
  background: transparent;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.site-home .page-deck-controls button {
  width: 38px;
  height: 38px;
  color: #fff;
  border: 0;
  border-bottom: 1px solid var(--cinematic-copper);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.site-home .portal-login-dialog,
.site-home .portal-login-card { border-radius: 0 !important; box-shadow: none !important; }

/* Client center: one continuous operational sheet, without tile surfaces. */
.client-portal .welcome-panel { border-radius: 0; box-shadow: none; }
.client-portal .metric-grid {
  gap: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid #b9c8d1;
  border-bottom: 1px solid #b9c8d1;
  background: rgba(250, 252, 253, .92);
}
.client-portal .metric-grid article {
  border: 0;
  border-right: 1px solid #b9c8d1;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.client-portal .metric-grid article:last-child { border-right: 0; }
.client-portal .portal-card,
.client-portal .portal-empty,
.client-portal .portal-empty.large {
  border: 0;
  border-bottom: 1px solid #b9c8d1;
  border-radius: 0;
  background: rgba(250, 252, 253, .92);
  box-shadow: none;
}
.client-portal .portal-card { border-top: 0; }
.client-portal .portal-card .portal-empty { border-top: 1px solid #d1dbe0; }

/* Supplier center: rows and dividers replace floating profile cards. */
.supplier-portal .auth-points { gap: 0; border-top: 1px solid rgba(199, 217, 228, .28); border-bottom: 1px solid rgba(199, 217, 228, .28); }
.supplier-portal .auth-points span { padding: 10px 14px; border: 0; border-right: 1px solid rgba(199, 217, 228, .28); border-radius: 0; background: transparent; }
.supplier-portal .auth-points span:last-child { border-right: 0; }
.supplier-portal .auth-panel { border: 0; border-top: 1px solid rgba(199, 217, 228, .3); border-bottom: 1px solid rgba(199, 217, 228, .3); border-radius: 0; background: transparent; box-shadow: none; }
.supplier-portal .auth-tabs { gap: 0; padding: 0; border-radius: 0; background: transparent; }
.supplier-portal .auth-tabs button,
.supplier-portal .auth-tabs button.active,
.supplier-portal .auth-methods button,
.supplier-portal .auth-methods button.active { border-radius: 0; background: transparent; box-shadow: inset 0 -1px transparent; }
.supplier-portal .auth-tabs button.active,
.supplier-portal .auth-methods button.active { color: #fff; box-shadow: inset 0 -1px var(--cinematic-copper); }
.supplier-portal .profile-status { padding: 4px 0; border: 0; border-bottom: 1px solid #d78050; border-radius: 0; background: transparent; }
.supplier-portal .profile-entry-grid { gap: 0; border-top: 1px solid rgba(199, 217, 228, .3); border-bottom: 1px solid rgba(199, 217, 228, .3); }
.supplier-portal .profile-entry-grid > a {
  min-height: 150px;
  padding: 26px 28px;
  border: 0;
  border-right: 1px solid rgba(199, 217, 228, .3);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.supplier-portal .profile-entry-grid > a:last-child { border-right: 0; }
.supplier-portal .profile-entry-grid > a > span {
  align-self: start;
  width: auto;
  height: auto;
  padding: 5px 0;
  color: #d78050;
  border: 0;
  border-bottom: 1px solid #d78050;
  border-radius: 0;
  background: transparent;
  font-size: .66rem;
  letter-spacing: .08em;
}
.supplier-portal .supplier-overview {
  gap: 0;
  border-top: 1px solid #31485a;
  border-bottom: 1px solid #31485a;
}
.supplier-portal .supplier-overview > article {
  border: 0;
  border-right: 1px solid #31485a;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.supplier-portal .supplier-overview > article:last-child { border-right: 0; }
.supplier-portal .supplier-empty svg { display: none; }
.supplier-portal .supplier-requirements li::before { width: 14px; height: 1px; border-radius: 0; }
.supplier-portal form[data-profile-form] { padding-inline: 0; border: 0; border-top: 1px solid #31485a; border-radius: 0; background: transparent; box-shadow: none; }
.supplier-portal .toggle,
.supplier-portal .authorization,
.supplier-portal .privacy-note { border-radius: 0; background: transparent; }

/* Supplier upload: a technical dossier, not stacked cards. */
.supplier-upload-page .identity {
  padding: 16px 0;
  border: 0;
  border-top: 1px solid #526c7d;
  border-bottom: 1px solid #526c7d;
  border-radius: 0;
  background: transparent;
}
.supplier-upload-page .identity span { padding: 4px 0; border: 0; border-bottom: 1px solid #d78050; border-radius: 0; }
.supplier-upload-page .side-panel li { border: 0; border-left: 2px solid transparent; border-radius: 0; background: transparent; }
.supplier-upload-page .side-panel li.active { border-color: #d78050; background: transparent; }
.supplier-upload-page .progress div { height: 3px; border-radius: 0; }
.supplier-upload-page form {
  padding: 30px 0;
  border: 0;
  border-top: 1px solid #385167;
  border-bottom: 1px solid #385167;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.supplier-upload-page .toggle,
.supplier-upload-page .authorization,
.supplier-upload-page .notice,
.supplier-upload-page .requirements { border-radius: 0; background: transparent; }
.supplier-upload-page .requirements { padding-inline: 0; border-inline: 0; }
.supplier-upload-page .requirements div { border: 0; border-right: 1px solid #385167; border-radius: 0; background: transparent; }
.supplier-upload-page .requirements div:last-child { border-right: 0; }
.supplier-upload-page .upload-box,
.supplier-upload-page .media-item { border-radius: 0; background: transparent; box-shadow: none; }
.supplier-upload-page .upload-box:hover { transform: none; background: rgba(255, 255, 255, .03); }
.supplier-upload-page .form-actions { background: #091d30; }
.supplier-upload-page .success-dialog { border: 1px solid #385167; border-radius: 0; box-shadow: none; }
.supplier-upload-page .account-close { border: 0; border-bottom: 1px solid #385167; border-radius: 0; }

/* Admin: dense strips, tables, and rules replace dashboard cards. */
.admin-app .login-panel { border-radius: 0; box-shadow: none; }
.admin-app .stats { gap: 0; border-top: 1px solid #385167 !important; border-bottom: 1px solid #385167 !important; }
.admin-app .stat {
  min-height: 112px;
  border: 0;
  border-right: 1px solid #385167;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.admin-app .stat:last-child { border-right: 0; }
.admin-app .service-status,
.admin-app .workspace { border: 0; border-top: 1px solid #385167; border-bottom: 1px solid #385167; border-radius: 0; background: transparent; box-shadow: none; }
.admin-app .record-list-panel,
.admin-app .detail-panel { background: transparent; }
.admin-app .record-row {
  border: 0;
  border-bottom: 1px solid #385167;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.admin-app .record-row.active { border-color: #385167; background: rgba(255, 255, 255, .04); box-shadow: inset 3px 0 var(--cinematic-copper); }
.admin-app .panel-heading > span,
.admin-app .panel-actions > span {
  display: block;
  min-width: 0;
  height: auto;
  padding: 4px 0;
  color: #d78050;
  border: 0;
  border-bottom: 1px solid #d78050;
  border-radius: 0;
  background: transparent !important;
}
.admin-app .status-badge { padding: 5px 0; border-radius: 0; background: transparent; border-bottom: 1px solid currentColor; }
.admin-app .detail-heading { padding: 20px 0; border-radius: 0; border-top: 1px solid #385167; border-bottom: 1px solid #385167; background: transparent; }
.admin-app .detail-grid div {
  border: 0;
  border-bottom: 1px solid #385167;
  border-radius: 0;
  background: transparent;
}
.admin-app .business-form,
.admin-app .order-form,
.admin-app .review-form,
.admin-app .quote-form,
.admin-app .payment-form,
.admin-app .payment-quick-list {
  border: 0;
  border-top: 1px solid #385167;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.admin-app .admin-empty-overview { gap: 0; padding: 0; }
.admin-app .admin-empty-overview > article { padding: 28px; border: 0; border-right: 1px solid #385167; background: transparent; }
.admin-app .admin-empty-overview > article:last-child { border-right: 0; }
.admin-app .admin-empty-overview article > div:first-child svg { display: none; }
.admin-app .admin-quick-links { grid-template-columns: 1fr; gap: 0; width: 100%; }
.admin-app .admin-quick-links button { border: 0; border-bottom: 1px solid #385167; border-radius: 0; background: transparent; }

@media (max-width: 840px) {
  .site-home .form-progress button { padding-inline: 12px; }
  .client-portal .metric-grid article:nth-child(2n) { border-right: 0; }
  .supplier-portal .profile-entry-grid > a { border-right: 0; border-bottom: 1px solid rgba(199, 217, 228, .3); }
  .supplier-portal .profile-entry-grid > a:last-child { border-bottom: 0; }
  .supplier-portal .supplier-overview > article { border-right: 0; border-bottom: 1px solid #31485a; }
  .supplier-portal .supplier-overview > article:last-child { border-bottom: 0; }
  .supplier-upload-page .requirements div { border-right: 0; border-bottom: 1px solid #385167; }
  .supplier-upload-page .requirements div:last-child { border-bottom: 0; }
  .admin-app .stat:nth-child(2n) { border-right: 0; }
  .admin-app .admin-empty-overview > article { border-right: 0; border-bottom: 1px solid #385167; }
  .admin-app .admin-empty-overview > article:last-child { border-bottom: 0; }
}

@media (max-width: 520px) {
  .site-home .form-progress button { min-width: 0; padding: 11px 8px; }
  .site-home .form-progress span { font-size: .63rem; }
  .site-home .form-progress b { display: inline; min-width: 0; font-size: .75rem; white-space: normal; }
  .client-portal .metric-grid article { border-bottom: 1px solid #b9c8d1; }
  .client-portal .metric-grid article:nth-last-child(-n + 2) { border-bottom: 0; }
  .supplier-portal .auth-points { display: grid; grid-template-columns: 1fr; }
  .supplier-portal .auth-points span { border-right: 0; border-bottom: 1px solid rgba(199, 217, 228, .28); }
  .supplier-portal .auth-points span:last-child { border-bottom: 0; }
  .supplier-upload-page form { padding: 24px 0; }
  .supplier-upload-page .form-actions { margin-inline: 0; padding-inline: 0; }
  .admin-app .stats { grid-template-columns: 1fr; padding-inline: 20px; }
  .admin-app .stat { border-right: 0; border-bottom: 1px solid #385167; }
  .admin-app .stat:last-child { border-bottom: 0; }
  .admin-app .admin-header h1,
  .admin-app .panel-heading h1,
  .supplier-upload-page .workspace-heading h2,
  .supplier-portal .supplier-welcome h1 { overflow-wrap: normal; word-break: normal; }
}

/* 2026-07-22 type-fit pass: protect real copy at every supported viewport. */
.site-home .hero h1,
.client-portal .welcome-panel h1,
.client-portal .page-heading h1,
.supplier-portal .supplier-welcome h1,
.supplier-upload-page .workspace-heading h2 {
  overflow: visible;
  padding-bottom: .06em;
  line-height: 1.08;
}
.site-home .hero h1 {
  width: min(100%, 920px);
  max-width: none;
  font-size: clamp(3.7rem, 5.25vw, 5.25rem);
}
.client-portal .welcome-panel h1 { max-width: 18ch; }
.supplier-portal .profile-entry-grid > a > span {
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}
.admin-app .admin-quick-links button {
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.admin-app .admin-quick-links button svg { flex: 0 0 auto; }

@media (max-width: 840px) {
  .site-home .hero h1 {
    width: 100%;
    font-size: clamp(2.55rem, 11vw, 4rem);
    line-height: 1.04;
  }
  .client-portal .welcome-panel h1 {
    max-width: 11ch;
    line-height: 1.05;
  }
  .supplier-upload-page .workspace-heading h2 { line-height: 1.08; }
}

@media (max-width: 520px) {
  .supplier-portal .profile-entry-grid > a > span {
    width: max-content;
    min-width: 0;
    font-size: .61rem;
  }
  .admin-app .admin-quick-links button { white-space: normal; }
}

/* 2026-07-22 gradient-underline actions: controls float on the scene, never in boxes. */
:where(.site-home, .client-portal, .supplier-portal, .supplier-upload-page, .admin-app) {
  --action-line: linear-gradient(90deg, #c85f35 0%, #f2a45e 48%, rgba(242, 164, 94, .08) 100%);
  --action-glow: linear-gradient(90deg, rgba(210, 99, 51, .16), rgba(242, 164, 94, .06) 58%, transparent 100%);
}
:where(.site-home, .client-portal, .supplier-portal, .supplier-upload-page, .admin-app) button,
.site-home .hero-actions a,
.site-home .scene-cta,
.site-home .section-cta a,
.client-portal .portal-topbar > a,
.client-portal .portal-empty a,
.supplier-upload-page header nav a,
.admin-app .admin-header a {
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-image: var(--action-line) 1 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: none;
  transition: color .22s ease, background-color .22s ease, filter .22s ease, transform .22s ease;
}
:where(.site-home, .client-portal, .supplier-portal, .supplier-upload-page, .admin-app) button:hover,
.site-home .hero-actions a:hover,
.site-home .scene-cta:hover,
.site-home .section-cta a:hover,
.client-portal .portal-topbar > a:hover,
.client-portal .portal-empty a:hover,
.supplier-upload-page header nav a:hover,
.admin-app .admin-header a:hover {
  background: var(--action-glow) !important;
  filter: brightness(1.12);
}
:where(.site-home, .client-portal, .supplier-portal, .supplier-upload-page, .admin-app) button:focus-visible,
.site-home .hero-actions a:focus-visible,
.site-home .scene-cta:focus-visible,
.site-home .section-cta a:focus-visible,
.client-portal .portal-topbar > a:focus-visible,
.client-portal .portal-empty a:focus-visible,
.supplier-upload-page header nav a:focus-visible,
.admin-app .admin-header a:focus-visible {
  outline: 2px solid rgba(242, 164, 94, .82);
  outline-offset: 4px;
}
.site-home .language-menu summary {
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-image: var(--action-line) 1 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.site-home .language-options,
.site-home .account-menu {
  border: 0;
  border-top: 1px solid rgba(242, 164, 94, .56);
  border-bottom: 1px solid rgba(242, 164, 94, .56);
  border-radius: 0;
  box-shadow: none;
}
.site-home .hero-actions a,
.site-home .scene-cta,
.site-home .section-cta a { color: #fff !important; }
.client-portal button,
.client-portal .portal-topbar > a,
.client-portal .portal-empty a { color: #09243c; }
.supplier-portal button,
.supplier-upload-page button,
.supplier-upload-page header nav a,
.admin-app button,
.admin-app .admin-header a { color: #eef4f6; }
.client-portal .portal-sidebar nav button.active,
.supplier-portal .portal-sidebar nav button.active,
.admin-app .workspace-tabs button.active,
.site-home .language-options button.active,
.supplier-portal .auth-tabs button.active,
.supplier-portal .auth-methods button.active {
  background: var(--action-glow) !important;
  box-shadow: none !important;
}
.site-home .topbar .auth-entry-button,
.admin-app .admin-header .admin-primary-action,
.client-portal .portal-sidebar nav button.active,
.supplier-portal .portal-sidebar nav button.active,
.admin-app .workspace-tabs button.active {
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-image: var(--action-line) 1 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.site-home .topbar .auth-entry-button:hover,
.admin-app .admin-header .admin-primary-action:hover,
.client-portal .portal-sidebar nav button.active:hover,
.supplier-portal .portal-sidebar nav button.active:hover,
.admin-app .workspace-tabs button.active:hover {
  background: var(--action-glow) !important;
}
.client-portal .portal-sidebar nav button,
.supplier-portal .portal-sidebar nav button,
.admin-app .workspace-tabs button {
  border-right: 0 !important;
  border-left: 0 !important;
}
.site-home .form-progress button,
.site-home .form-progress button:last-child {
  border-right: 0 !important;
}
.site-home .account-close,
.supplier-portal .account-close,
.supplier-upload-page .account-close {
  width: 34px;
  height: 34px;
  padding: 0;
}
@media (max-width: 520px) {
  :where(.site-home, .client-portal, .supplier-portal, .supplier-upload-page, .admin-app) button,
  .site-home .hero-actions a,
  .site-home .scene-cta,
  .site-home .section-cta a,
  .client-portal .portal-topbar > a,
  .client-portal .portal-empty a,
  .supplier-upload-page header nav a,
  .admin-app .admin-header a { min-height: 44px; }
}

/* 2026-07-22 editorial-safe pass: readable bands, protected image copy, no legacy cards. */
.site-home #export .export-flow,
.site-home #terms .terms-grid,
.site-home #fees .fee-groups,
.site-home #fees .vip-panel,
.site-home #documents .document-list {
  min-width: 0;
}

/* Order process: each entry is a compact editorial band, not a squeezed three-column card. */
.site-home #export .export-flow {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-top: 1px solid var(--cinematic-line);
}
.site-home #export .export-flow article {
  display: grid !important;
  min-width: 0 !important;
  min-height: 0 !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  grid-template-areas: "index title" "index body" !important;
  column-gap: 22px !important;
  row-gap: 10px !important;
  align-content: start !important;
  padding: 30px 34px 32px !important;
  border: 0 !important;
  border-right: 1px solid var(--cinematic-line) !important;
  border-bottom: 1px solid var(--cinematic-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.site-home #export .export-flow article:nth-child(2n) { border-right: 0 !important; }
.site-home #export .export-flow article::after { display: none !important; }
.site-home #export .export-flow article > span {
  grid-area: index;
  width: auto !important;
  height: auto !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  color: var(--cinematic-copper) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: .78rem !important;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.25;
}
.site-home #export .export-flow article > span::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-top: 11px;
  background: linear-gradient(90deg, var(--cinematic-copper), transparent);
}
.site-home #export .export-flow article > h3 {
  grid-area: title;
  min-width: 0;
  margin: 0 !important;
  color: #f7fafb;
  font-size: 1.22rem;
  line-height: 1.35;
}
.site-home #export .export-flow article > p {
  grid-area: body;
  width: auto !important;
  min-width: 0 !important;
  max-width: 58ch !important;
  margin: 0 !important;
  color: #b8c9d3;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

/* Commercial terms: stable gutters and a quiet copper rail prevent edge clipping. */
.site-home #terms .terms-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin-top: 34px;
  border-top: 1px solid var(--cinematic-line);
  border-left: 1px solid rgba(211, 142, 79, .44);
}
.site-home #terms .terms-grid article {
  position: relative;
  min-width: 0;
  min-height: 0 !important;
  padding: 30px 34px 32px !important;
  border: 0 !important;
  border-right: 1px solid var(--cinematic-line) !important;
  border-bottom: 1px solid var(--cinematic-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.site-home #terms .terms-grid article::before {
  top: 30px !important;
  bottom: auto !important;
  left: 0 !important;
  width: 3px !important;
  height: 38px !important;
  background: linear-gradient(180deg, var(--cinematic-copper), rgba(211, 142, 79, .08)) !important;
}
.site-home #terms .terms-grid h3 {
  margin: 0 0 14px !important;
  color: #f5f8fa;
  font-size: 1.15rem;
  line-height: 1.4;
}
.site-home #terms .terms-grid p {
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  color: #b7c8d2;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

/* Image-backed copy always occupies a dedicated safe zone. */
.site-home #network::before {
  background-image: linear-gradient(90deg, rgba(2, 15, 29, .99) 0%, rgba(2, 15, 29, .96) 35%, rgba(2, 15, 29, .76) 49%, rgba(2, 15, 29, .12) 70%), url("assets/design/global-port-aerial.jpg");
}
.site-home #network .network-copy,
.site-home #documents .documents-copy {
  justify-self: left !important;
  align-self: center !important;
  width: min(620px, 49vw) !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 64px clamp(32px, 4.4vw, 72px) 44px !important;
  text-align: left;
}
.site-home #network .network-copy h2,
.site-home #documents .documents-copy h2 {
  max-width: 12ch;
  text-wrap: balance;
}
.site-home #network .network-copy > p:last-child,
.site-home #documents .documents-copy > p:last-child {
  max-width: 54ch;
  overflow-wrap: anywhere;
}
.site-home #documents {
  background-image: linear-gradient(90deg, rgba(2, 16, 30, .99) 0%, rgba(2, 16, 30, .96) 36%, rgba(2, 16, 30, .73) 51%, rgba(2, 16, 30, .08) 72%), url("assets/design/documents-review-port.jpg");
}

/* Document pages retain the cinematic band without circular badges or detached controls. */
.site-home #documents .document-list article,
.site-home #documents .page-deck article {
  display: grid !important;
  min-height: 210px !important;
  grid-template-columns: 74px minmax(0, 1fr) !important;
  grid-template-areas: "index title" "index body" "index link" !important;
  column-gap: 24px;
  align-content: center;
}
.site-home #documents .document-list article > span,
.site-home #documents .page-deck article > span {
  grid-area: index;
  align-self: start;
  width: auto !important;
  height: auto !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  color: var(--cinematic-copper) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: .82rem !important;
  letter-spacing: .14em;
}
.site-home #documents .document-list article > span::after,
.site-home #documents .page-deck article > span::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--cinematic-copper), transparent);
}
.site-home #documents .document-list article > h3,
.site-home #documents .page-deck article > h3 { grid-area: title; margin: 0 0 10px; }
.site-home #documents .document-list article > p,
.site-home #documents .page-deck article > p { grid-area: body; max-width: 70ch; margin: 0; line-height: 1.7; }
.site-home #documents .document-list article > a,
.site-home #documents .page-deck article > a { grid-area: link; justify-self: start; margin-top: 16px; }
.site-home #documents .page-deck-shell {
  display: grid;
  grid-template-rows: auto auto;
}
.site-home #documents .page-deck-controls {
  position: static !important;
  inset: auto !important;
  justify-content: flex-end !important;
  gap: 18px;
  padding: 0 48px 24px !important;
}

/* Fee schedule: line-led editorial groups and a continuous volume-rate rail. */
.site-home #fees .fee-groups {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-top: 1px solid var(--cinematic-line);
}
.site-home #fees .fee-group {
  position: relative;
  display: block !important;
  min-width: 0;
  padding: 34px 38px 38px 94px !important;
  border: 0 !important;
  border-right: 1px solid var(--cinematic-line) !important;
  border-bottom: 1px solid var(--cinematic-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.site-home #fees .fee-group:nth-child(2n) { border-right: 0 !important; }
.site-home #fees .fee-group::before {
  top: 34px !important;
  bottom: 34px !important;
  left: 72px !important;
  width: 1px !important;
  background: linear-gradient(180deg, var(--cinematic-copper), rgba(211, 142, 79, .08)) !important;
}
.site-home #fees .fee-number {
  position: absolute;
  top: 38px;
  left: 24px;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  color: var(--cinematic-copper) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: .76rem !important;
  font-weight: 800;
  letter-spacing: .12em;
}
.site-home #fees .fee-group h3 { margin: 0 0 26px !important; }
.site-home #fees .fee-tier {
  grid-template-columns: minmax(155px, .62fr) minmax(0, 1fr) !important;
  gap: 22px !important;
  min-width: 0;
}
.site-home #fees .fee-tier span,
.site-home #fees .fee-group > p,
.site-home #fees .inspection-grid p,
.site-home #fees .payment-parts p { overflow-wrap: anywhere; }

.site-home #fees .vip-panel {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(330px, 1.55fr) repeat(4, minmax(128px, .72fr)) !important;
  gap: 0 !important;
  margin-top: 56px;
  border-top: 1px solid var(--cinematic-line);
  border-bottom: 1px solid var(--cinematic-line);
  background: transparent !important;
}
.site-home #fees .vip-panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 36%;
  height: 2px;
  background: linear-gradient(90deg, var(--cinematic-copper), rgba(242, 164, 94, .08));
}
.site-home #fees .vip-panel > div {
  position: relative;
  min-width: 0;
  min-height: 248px;
  padding: 34px 30px !important;
  border: 0 !important;
  border-right: 1px solid var(--cinematic-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.site-home #fees .vip-panel > div:last-child { border-right: 0 !important; }
.site-home #fees .vip-panel > div:first-child { grid-column: auto !important; }
.site-home #fees .vip-panel .vip-rate {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.site-home #fees .vip-panel .vip-rate::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 29px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--cinematic-copper);
  background: #061b2e;
  transform: rotate(45deg);
}
.site-home #fees .vip-rate strong {
  color: #f6f9fa;
  font-size: clamp(2.2rem, 3.2vw, 3.5rem);
  line-height: 1;
}
.site-home #fees .vip-rate span {
  display: block;
  margin-top: 18px;
  color: #b8c9d2;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.site-home #fees .lifetime-rate { background: linear-gradient(180deg, rgba(211, 142, 79, .08), transparent) !important; }
.site-home #fees .fee-disclaimer {
  margin-top: 28px;
  padding: 24px 0 24px 30px !important;
  border: 0 !important;
  border-left: 2px solid var(--cinematic-copper) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Remove the last illustrated badge/card remnants from service and inspection details. */
.site-home #services .cards article > span {
  display: inline-block;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--cinematic-copper) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: .78rem !important;
  font-weight: 800;
  letter-spacing: .12em;
}
.site-home #services .cards article > span::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin: 0 0 3px 12px;
  background: linear-gradient(90deg, var(--cinematic-copper), transparent);
}
.site-home #services .cards article h3 { margin-top: 18px; }
.site-home #fees :is(.inspection-grid, .payment-parts) {
  gap: 0 !important;
  border-top: 1px solid var(--cinematic-line);
  border-left: 1px solid var(--cinematic-line);
}
.site-home #fees :is(.inspection-grid, .payment-parts) > div {
  min-width: 0;
  padding: 22px 18px !important;
  border: 0 !important;
  border-right: 1px solid var(--cinematic-line) !important;
  border-bottom: 1px solid var(--cinematic-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Navigation keeps a visible keyboard focus without restoring a boxed control. */
.site-home .main-nav :is(a, button):focus-visible {
  outline: 0 !important;
  background: var(--action-glow) !important;
  box-shadow: 0 10px 24px rgba(204, 100, 51, .14) !important;
}

[dir="rtl"] .site-home #network .network-copy,
[dir="rtl"] .site-home #documents .documents-copy {
  justify-self: left !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  text-align: right;
}
[dir="rtl"] .site-home #network::before {
  background-image: linear-gradient(90deg, rgba(2, 15, 29, .99) 0%, rgba(2, 15, 29, .96) 35%, rgba(2, 15, 29, .76) 49%, rgba(2, 15, 29, .12) 70%), url("assets/design/global-port-aerial.jpg");
}
[dir="rtl"] .site-home #documents {
  background-image: linear-gradient(90deg, rgba(2, 16, 30, .99) 0%, rgba(2, 16, 30, .96) 36%, rgba(2, 16, 30, .73) 51%, rgba(2, 16, 30, .08) 72%), url("assets/design/documents-review-port.jpg");
}
[dir="rtl"] .site-home #why .why-heading,
[dir="rtl"] .site-home #quotes .quotes-heading {
  justify-self: left !important;
  margin-right: auto !important;
  margin-left: 0 !important;
  text-align: right;
}
[dir="rtl"] .site-home #why .why-heading { align-items: flex-end; }
[dir="rtl"] .site-home #services > .eyebrow,
[dir="rtl"] .site-home #services > h2,
[dir="rtl"] .site-home #services > .services-lead,
[dir="rtl"] .site-home #services > .scene-cta {
  align-self: flex-start !important;
  margin-right: auto !important;
  margin-left: 48px !important;
  text-align: right;
}
[dir="rtl"] .site-home #export .export-flow article > span::after,
[dir="rtl"] .site-home #documents .document-list article > span::after,
[dir="rtl"] .site-home #documents .page-deck article > span::after {
  background: linear-gradient(270deg, var(--cinematic-copper), transparent);
}
[dir="rtl"] .site-home #terms .terms-grid article::before { right: 0 !important; left: auto !important; }

@media (max-width: 1040px) {
  .site-home #fees .vip-panel {
    grid-template-columns: minmax(300px, 1.35fr) repeat(2, minmax(150px, 1fr)) !important;
  }
  .site-home #fees .vip-panel > div:first-child { grid-row: span 2; }
  .site-home #fees .vip-panel > div:nth-child(3) { border-right: 0 !important; }
  .site-home #fees .vip-panel > div:nth-child(n+4) { border-top: 1px solid var(--cinematic-line) !important; }
}

@media (max-width: 840px) {
  .site-home #export .export-flow,
  .site-home #terms .terms-grid,
  .site-home #fees .fee-groups { grid-template-columns: 1fr !important; }
  .site-home #export .export-flow article,
  .site-home #terms .terms-grid article,
  .site-home #fees .fee-group { border-right: 0 !important; }
  .site-home #export .export-flow article { padding: 26px 22px 28px !important; }
  .site-home #network .network-copy,
  .site-home #documents .documents-copy {
    align-self: end !important;
    width: 100% !important;
    padding: 112px 22px 42px !important;
    background: linear-gradient(180deg, transparent, rgba(2, 16, 30, .96) 34%, rgba(2, 16, 30, 1));
  }
  .site-home #network .network-copy h2,
  .site-home #documents .documents-copy h2 { max-width: 13ch; }
  .site-home #documents .document-list article,
  .site-home #documents .page-deck article {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    padding: 28px 22px 24px !important;
  }
  .site-home #documents .page-deck-controls { padding: 0 22px 20px !important; }
  .site-home #fees .fee-group { padding: 30px 22px 32px 78px !important; }
  .site-home #fees .fee-group::before { left: 58px !important; }
  .site-home #fees .fee-number { left: 18px; }
  .site-home #fees .fee-tier { grid-template-columns: 1fr !important; gap: 8px !important; }
  .site-home #fees .vip-panel {
    display: block !important;
    padding-left: 28px;
    border-left: 1px solid rgba(211, 142, 79, .42);
  }
  .site-home #fees .vip-panel::before { width: 100%; }
  .site-home #fees .vip-panel > div {
    min-height: 0;
    padding: 28px 18px 30px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--cinematic-line) !important;
  }
  .site-home #fees .vip-panel .vip-rate::before {
    top: 32px;
    left: -33px;
  }
  .site-home #fees .vip-panel .vip-rate { text-align: left; }
  [dir="rtl"] .site-home #services > .eyebrow,
  [dir="rtl"] .site-home #services > h2,
  [dir="rtl"] .site-home #services > .services-lead,
  [dir="rtl"] .site-home #services > .scene-cta {
    margin-right: 22px !important;
    margin-left: 22px !important;
  }
}

/* Pure typography layout: no visual dividers or framed content regions. */
.site-home :is(
  #why .why-grid,
  #why .why-grid article,
  #services .cards,
  #services .cards article,
  #export .export-flow,
  #export .export-flow article,
  #export .tax-note,
  #fees .fee-groups,
  #fees .fee-group,
  #fees .vip-panel,
  #fees .vip-panel > div,
  #fees .fee-disclaimer,
  #quotes .quote-grid,
  #quotes .quote-card,
  #quotes .quote-empty,
  #terms .terms-grid,
  #terms .terms-grid article,
  #terms .terms-note,
  #documents .document-list,
  #documents .document-list article,
  #documents .page-deck-shell,
  #documents .page-deck article,
  #documents .page-deck-controls,
  #request .request-form,
  #privacy .privacy-grid,
  #privacy .privacy-grid > *,
  #policies .policy-grid,
  #policies .policy-grid > *
) {
  border: 0 !important;
  box-shadow: none !important;
}

.site-home :is(
  #why .why-grid,
  #services .cards,
  #export .export-flow,
  #fees .fee-groups,
  #fees .vip-panel,
  #quotes .quote-grid,
  #terms .terms-grid,
  #documents .document-list,
  #documents .page-deck-shell,
  #privacy .privacy-grid,
  #policies .policy-grid
) > *::before,
.site-home :is(
  #why .why-grid,
  #services .cards,
  #export .export-flow,
  #fees .fee-groups,
  #fees .vip-panel,
  #quotes .quote-grid,
  #terms .terms-grid,
  #documents .document-list,
  #documents .page-deck-shell,
  #privacy .privacy-grid,
  #policies .policy-grid
) > *::after,
.site-home #fees .fee-group::before,
.site-home #fees .vip-panel::before,
.site-home #fees .vip-rate::before,
.site-home #terms .terms-grid article::before {
  display: none !important;
  content: none !important;
}

.site-home #fees .fee-group {
  padding-left: 46px !important;
  padding-right: 24px !important;
}

.site-home #fees .fee-number {
  left: 0 !important;
}

.site-home #fees .vip-panel {
  gap: clamp(20px, 2.4vw, 40px) !important;
}

.site-home #fees .vip-panel > div {
  padding-inline: 0 !important;
}

.site-home #fees :is(
  .fee-summary,
  .fee-summary > *,
  .fee-tier,
  .inspection-grid,
  .inspection-grid > *,
  .payment-parts,
  .payment-parts > *
) {
  border: 0 !important;
  box-shadow: none !important;
}

.site-home #fees .fee-summary {
  gap: clamp(24px, 4vw, 64px) !important;
}

.site-home #fees .fee-summary > div,
.site-home #fees .fee-group .fee-tier,
.site-home #fees .inspection-grid > div,
.site-home #fees .payment-parts > div,
.site-home #fees .vip-panel > div {
  border: 0 !important;
  box-shadow: none !important;
}

.site-home #fees .vip-panel > div:nth-child(n) {
  border: 0 !important;
}

.site-home #fees .fee-tier + .fee-tier {
  margin-top: 6px !important;
}

@media (max-width: 840px) {
  .site-home #fees .fee-group {
    padding-left: 42px !important;
    padding-right: 0 !important;
  }

  .site-home #fees .vip-panel {
    padding-left: 0 !important;
  }
}

/* Documents: preserve the inspection scene and keep copy in a translucent safe zone. */
@media (min-width: 841px) {
  .site-home #documents {
    background-position: center;
  }

  .site-home #documents .document-list,
  .site-home #documents .page-deck-shell {
    justify-self: start;
    width: min(1080px, 64vw) !important;
    margin: 0 0 42px clamp(28px, 4.4vw, 72px);
    overflow: hidden;
    border-top: 1px solid rgba(186, 205, 216, .22);
    border-bottom: 1px solid rgba(186, 205, 216, .18);
    background: rgba(3, 20, 35, .56) !important;
    -webkit-backdrop-filter: blur(9px) saturate(.88);
    backdrop-filter: blur(9px) saturate(.88);
  }

  .site-home #documents .page-deck-controls {
    background: transparent !important;
  }
}

@media (max-width: 840px) {
  .site-home #documents {
    background-color: var(--cinematic-navy-deep);
    background-image: none !important;
  }

  .site-home #documents::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    display: block;
    height: max(560px, 82svh);
    background-image: linear-gradient(180deg, rgba(2, 16, 30, .18), rgba(2, 16, 30, .34) 48%, rgba(2, 16, 30, .96) 92%), linear-gradient(90deg, rgba(2, 16, 30, .88), rgba(2, 16, 30, .18) 78%), url("assets/design/documents-review-port.jpg");
    background-position: 74% center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .site-home #documents .document-list,
  .site-home #documents .page-deck-shell {
    width: calc(100% - 28px) !important;
    margin: 0 14px 24px;
    border-top: 1px solid rgba(186, 205, 216, .2);
    border-bottom: 1px solid rgba(186, 205, 216, .16);
    background: rgba(3, 20, 35, .8) !important;
    -webkit-backdrop-filter: blur(8px) saturate(.9);
    backdrop-filter: blur(8px) saturate(.9);
  }

  .site-home #documents .page-deck-controls {
    background: transparent !important;
  }
}

@media (max-width: 520px) {
  .site-home #export .export-flow article {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    column-gap: 14px !important;
  }
  .site-home #terms .terms-grid article { padding: 26px 20px 28px 24px !important; }
  .site-home #network .network-copy h2,
  .site-home #documents .documents-copy h2 { font-size: 2.1rem; }
  .site-home #documents .document-list article,
  .site-home #documents .page-deck article {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    column-gap: 14px;
  }
}
/* Fully transparent cinematic content layers */
.site-home #why .why-grid,
.site-home #services .cards,
.site-home #quotes .quote-grid,
.site-home #quotes .quote-empty,
.site-home #documents .document-list,
.site-home #documents .page-deck-shell,
.site-home #documents .page-deck-controls,
.site-home #export .tax-note,
.site-home #terms .terms-note,
.site-home #fees .fee-group,
.site-home #fees .vip-panel,
.site-home #fees .vip-panel > div,
.site-home #fees .fee-disclaimer,
.site-home #privacy .privacy-grid,
.site-home #privacy .privacy-grid > *,
.site-home #policies .policy-grid,
.site-home #policies .policy-grid > *,
.site-home #request .request-form,
.site-home #request .form-progress,
.site-home #request .form-step,
.site-home #request .form-grid {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.site-home #why .why-grid,
.site-home #services .cards,
.site-home #documents .document-list,
.site-home #documents .page-deck-shell,
.site-home #quotes .quote-grid,
.site-home #request .request-form {
  border: 0 !important;
  border-top: 1px solid rgba(224, 232, 238, 0.24) !important;
  border-bottom: 1px solid rgba(224, 232, 238, 0.18) !important;
}

.site-home #why .why-grid article,
.site-home #services .cards article,
.site-home #documents .document-list article,
.site-home #documents .page-deck article,
.site-home #quotes .quote-card,
.site-home #privacy .privacy-grid > *,
.site-home #policies .policy-grid > * {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.site-home #why .why-grid :is(h3, p),
.site-home #services .cards :is(h3, p),
.site-home #documents .document-list :is(h3, p, a),
.site-home #documents .page-deck :is(h3, p, a) {
  text-shadow: 0 2px 12px rgba(0, 10, 20, 0.7);
}

.site-home #quotes .quote-toolbar input,
.site-home #quotes .quote-toolbar select,
.site-home #request :is(input, select, textarea) {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(224, 232, 238, 0.42) !important;
  border-radius: 0 !important;
}

.site-home #request :is(input, select, textarea):focus,
.site-home #quotes .quote-toolbar :is(input, select):focus {
  border-bottom-color: var(--cinematic-copper, #d96b2b) !important;
  outline: none !important;
}

.site-home #export .tax-note,
.site-home #terms .terms-note,
.site-home #fees .fee-disclaimer {
  border: 0 !important;
  border-left: 2px solid rgba(217, 107, 43, 0.78) !important;
}

@media (max-width: 720px) {
  .site-home #documents .document-list,
  .site-home #documents .page-deck-shell,
  .site-home #why .why-grid,
  .site-home #services .cards {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* Compact fee schedule: preserve the editorial lines without oversized gaps. */
.site-home #fees {
  row-gap: clamp(20px, 2.4vw, 34px) !important;
}

.site-home #fees .section-heading,
.site-home #fees .fee-summary {
  margin-bottom: 0 !important;
}

.site-home #fees .fee-group {
  padding: 24px 28px 26px 82px !important;
}

.site-home #fees .fee-group::before {
  top: 24px !important;
  bottom: 24px !important;
  left: 62px !important;
}

.site-home #fees .fee-number {
  top: 27px !important;
  left: 20px !important;
}

.site-home #fees .fee-group h3 {
  margin: 0 0 16px !important;
}

.site-home #fees .fee-tier {
  gap: 14px !important;
  padding-block: 9px !important;
}

.site-home #fees .fee-group > p {
  margin-top: 14px !important;
  line-height: 1.55 !important;
}

.site-home #fees :is(.inspection-grid, .payment-parts) {
  gap: 10px 18px !important;
  margin-top: 14px !important;
}

.site-home #fees :is(.inspection-grid, .payment-parts) > div {
  padding-block: 10px !important;
}

.site-home #fees .vip-panel {
  margin-top: 32px !important;
}

.site-home #fees .vip-panel > div {
  min-height: 176px !important;
  padding: 24px 22px !important;
}

.site-home #fees .vip-rate strong {
  font-size: clamp(2rem, 2.8vw, 3rem) !important;
}

.site-home #fees .vip-rate span {
  margin-top: 12px !important;
  line-height: 1.45 !important;
}

.site-home #fees .fee-disclaimer {
  margin-top: 18px !important;
  padding: 16px 0 16px 24px !important;
}

.site-home #fees .section-cta {
  margin-top: 12px !important;
}

@media (max-width: 840px) {
  .site-home #fees .fee-group {
    padding: 22px 18px 24px 66px !important;
  }

  .site-home #fees .fee-group::before {
    left: 49px !important;
  }

  .site-home #fees .fee-number {
    left: 14px !important;
  }

  .site-home #fees .vip-panel {
    margin-top: 24px !important;
    padding-left: 22px !important;
  }

  .site-home #fees .vip-panel > div {
    padding: 20px 14px 22px !important;
  }
}
