.sec_app_integration {
  padding: 84px 40px;
  background: #fff;

  .wrap {
    margin: 0 auto;
    max-width: 1360px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    @media (max-width: 850px) { grid-template-columns: 1fr; }
  }

  .panel {
    padding: 32px;
    min-width: 0;
    border: 1px solid var(--app-line);
    border-radius: 10px;
    background: linear-gradient(155deg, #fff, #f8fbff);

    .kicker { margin-bottom: 7px; }
    h2 { color: #0b2344; font-size: 30px; font-weight: 800; line-height: 1.45em; letter-spacing: -.03em; }
    .lead { margin-top: 8px; color: #1769df; font-size: 15px; font-weight: 700; line-height: 1.6em; }
    > p:not(.kicker, .lead, .footnote) { margin-top: 13px; min-height: 76px; color: #667e99; font-size: 13px; line-height: 1.8em; }
    .footnote { margin-top: 17px; color: #7088a1; font-size: 11px; line-height: 1.7em; }
    @media (max-width: 600px) { padding: 23px; h2 { font-size: 25px; } > p:not(.kicker, .lead, .footnote) { min-height: 0; } }
  }

  .diagram {
    margin-top: 22px;
    padding: 22px;
    min-height: 296px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    border: 1px solid #d8e7fa;
    border-radius: 8px;
    background: #f8fbff;

    .sources, .outputs { display: grid; gap: 12px; }
    .sources span, .outputs span { padding: 11px 7px; min-height: 48px; display: grid; place-items: center; border: 1px solid #cfe1f6; border-radius: 6px; color: #285985; background: #fff; font-size: 11px; font-weight: 700; text-align: center; }
    .arrow { color: #2a86ee; font-size: 22px; line-height: 1em; }
    .core { padding: 21px 9px; min-height: 125px; display: grid; align-content: center; justify-items: center; gap: 9px; border: 1px solid #93c2fa; border-radius: 8px; color: #0e3c76; background: #eaf5ff; text-align: center; .symbol { color: #1470eb; font-size: 32px; line-height: 1em; } strong { font-size: 13px; line-height: 1.5em; } }
    @media (max-width: 600px) { padding: 13px; min-height: 236px; gap: 5px; .sources span, .outputs span { min-height: 40px; font-size: 10px; } .core { padding: 12px 4px; strong { font-size: 10px; } } .arrow { font-size: 15px; } }
  }

  .access {
    margin-top: 22px;
    padding: 25px;
    min-height: 296px;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 17px;
    border: 1px solid #14478e;
    border-radius: 8px;
    background: radial-gradient(circle at 10% 90%, #245bc7, transparent 52%), linear-gradient(115deg, #04162f, #0c2b5d);
    box-shadow: inset 0 0 50px #388fff1b;

    .login { padding: 19px 15px; display: grid; justify-items: stretch; gap: 8px; border: 1px solid #2677d1; border-radius: 8px; color: #d6ebff; background: #102d5d; box-shadow: 0 16px 29px #010c2199; text-align: center; }
    .lock { color: #59bbff; font-size: 27px; line-height: 1em; }
    .login strong { font-family: var(--font-en); font-size: 12px; letter-spacing: .1em; }
    .field { padding: 6px 10px; border: 1px solid #24528c; border-radius: 3px; color: #84a7cc; background: #17396e; font-size: 10px; text-align: left; }
    .button { padding: 6px; border-radius: 4px; color: #fff; background: #106de7; font-size: 10px; font-weight: 700; }
    .roles { display: grid; gap: 8px; div { padding: 8px 10px; display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 0 7px; border: 1px solid #2f65a2; border-radius: 5px; color: #e8f4ff; background: #183c70b8; span { grid-row: span 2; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #80c8ff; background: #1c548c; font-family: var(--font-en); font-size: 9px; } strong { font-size: 11px; } small { color: #a9c8e9; font-size: 9px; } } }
    @media (max-width: 600px) { padding: 13px; min-height: 236px; gap: 7px; .login { padding: 12px 7px; } .roles div { padding: 6px; grid-template-columns: 20px 1fr; gap: 0 3px; span { width: 18px; height: 18px; font-size: 8px; } strong { font-size: 10px; } small { font-size: 8px; } } }
  }

  @media (max-width: 800px) { padding: 69px 28px; }
  @media (max-width: 600px) { padding: 58px 18px; }
}
