/* Partner application. Loaded after /join/styles.css and /brand.css. */
@media screen {
  :root {
    --ink: #081722;
    --slate: #143544;
    --cyan: #77dfd0;
    --paper: #f5f8f8;
    --muted: #adc1c8;
    --line: #294452;
    --join-gold: #ffd057;
  }
  body {
    background: radial-gradient(ellipse 80% 600px at 95% -15%,#144653a6,transparent),var(--ink);
  }
  .topbar { height: 74px; background: #091b27f2; border-color: var(--line); }
  .brand .elgatec-partner-logo { width: 54px; height: 54px; }
  .environment { color: #bef0e6; border-color: #365856; background: #102d33; }
  main { width: min(1190px,calc(100% - 48px)); padding: clamp(28px,4vw,65px) 0 64px; }
  .access-grid { grid-template-columns: minmax(0,1.07fr) minmax(0,1fr); gap: clamp(20px,3vw,40px); }
  .intro, .workspace-head {
    position: relative; isolation: isolate; overflow: hidden;
    background-color: #123541;
    background-image: linear-gradient(115deg,#11303e,#133c45 70%,#13454a);
    border: 1px solid #376068; border-radius: 20px;
  }
  .intro::before, .workspace-head::before {
    content: ""; pointer-events: none; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(#9accc611 1px,transparent 1px),linear-gradient(90deg,#9accc611 1px,transparent 1px);
    background-size: 30px 30px; mask-image: linear-gradient(95deg,transparent,#000);
  }
  .intro { padding: clamp(24px,3.3vw,48px); }
  .eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .16em; }
  .eyebrow::before { content:""; width: 21px; height: 2px; background: var(--join-gold); }
  .intro h1 { font-size: clamp(36px,3.7vw,58px); letter-spacing: -.06em; line-height: 1.05; margin: 17px 0 18px; }
  .intro > p:not(.eyebrow) { color: #c8dade; font-size: 16px; line-height: 1.6; }
  .steps { margin-top: 28px; padding-top: 18px; border-top: 1px solid #477078; gap: 11px; }
  .steps li { color: #c5d6d9; font-size: 14px; }
  .steps li::before { border-color: #55737a; color: #bed1d4; font-variant-numeric: tabular-nums; }
  .steps li.active::before { background: #ffd05712; border-color: #c9aa5b; color: var(--join-gold); }
  .panel { border-color: var(--line); border-radius: 17px; background: #102735; box-shadow: 0 10px 32px #03121a36; }
  .auth-panel, .section-card, .review-card, .workspace-head { padding: clamp(22px,2.8vw,38px); }
  .workspace-head { margin-bottom: 18px; }
  .workspace-head h1 { font-size: clamp(32px,3.6vw,52px); line-height: 1.1; overflow-wrap: anywhere; }
  .section-title > span { border-color: #3d666a; background: #163941; color: var(--cyan); }
  .status-block strong { color: var(--cyan); }
  h2 { line-height: 1.18; letter-spacing: -.042em; }
  .auth-panel h2 { font-size: clamp(26px,2.3vw,34px); }
  .two, .option-grid, .document-row { min-width: 0; }
  label { min-width: 0; color: #d8e5e9; font-size: 14px; }
  label small { font-size: 12px; line-height: 1.55; }
  input { min-width: 0; font-size: 16px; border-color: #3a5867; background: #0c2230; border-radius: 10px; }
  .primary { color: #17252b; background: var(--join-gold); }
  .primary:enabled:hover { background: #ffe18a; }
  .secondary { border-color: #42616d; color: #d9efed; }
  .section-card button.secondary { margin-top: 3px; }
  button { border-radius: 10px; font-size: 13px; }
  .quiet, .link-button { min-height: 40px; }
  :is(.choice,.days label,.option-grid label) { position: relative; }
  :is(.choice,.days label,.option-grid label) input { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; margin: 0; overflow: hidden; clip-path: inset(50%); }
  a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--join-gold); outline-offset: 3px; }
  :is(.choice,.days label,.option-grid label) input:focus-visible + span { outline: 2px solid var(--join-gold); outline-offset: 2px; }
  .choice input:checked + span, .option-grid input:checked + span { color: #e4fffa; background: #163e42; border-color: #75cabc; }
  .days input:checked + span { background: var(--cyan); color: #082b30; }
  .review-card { border-color: #49646d; }
  footer { color: #a7bec6; }
  @media (prefers-reduced-motion: no-preference) {
    #access .intro::before, .workspace-head::before { animation: pv-join-grid 1s ease-out both; }
    @keyframes pv-join-grid { from { opacity: .25; transform: translateY(7px); } to { opacity: 1; transform: none; } }
  }
  @media (max-width: 820px) {
    .access-grid { grid-template-columns: minmax(0,1fr); gap: 18px; }
    main { width: min(700px,calc(100% - 30px)); }
    .intro { padding: 23px; }
    .intro h1 { margin: 12px 0; font-size: clamp(30px,5vw,39px); }
    .intro > p:not(.eyebrow) { font-size: 14px; margin: 0; }
    .steps { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 16px; padding-top: 13px; }
    .steps li { align-items: flex-start; flex-direction: column; gap: 4px; font-size: 12px; }
    .steps li::before { padding: 0; border: 0; background: none; font-weight: 700; }
    .workspace-head { gap: 13px; }
    .status-block { display: flex; gap: 10px; align-items: baseline; }
  }
  @media (max-width: 560px) {
    .topbar { height: 62px; padding-inline: 17px; }
    .brand .elgatec-partner-logo { width: 43px; height: 43px; }
    .environment { display: inline-block; font-size: 9px; }
    main { padding-top: 16px; }
    .auth-panel, .section-card, .review-card, .workspace-head { padding: 20px; }
    .form-heading { flex-wrap: wrap; gap: 0; align-items: start; }
    .actions .primary { min-width: 0; }
    .document-row > * { min-width: 0; overflow-wrap: anywhere; }
    .section-title { grid-template-columns: 33px minmax(0,1fr); gap: 12px; }
    .section-title > span { width: 33px; height: 33px; }
  }
}
