:root {
    --ink: #0d111c;
    --ink-soft: #8b93a7;
    --accent: #27348b;
    --accent-hover: #1d2870;
    --line: #e4e7ee;
    --surface: #f1f3f8;
    --danger: #dd2a1b;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
    font-family: 'Onest', 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}
.page {
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: 100vh;
}
.brand {
    background: var(--ink);
    color: #fff;
    padding: 40px 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.brand-head { display: flex; align-items: center; gap: 16px; }
.brand-head img { width: 44px; height: 44px; object-fit: contain; }
.brand-head .num { font-size: 28px; font-weight: 700; line-height: 1; }
.brand-head .org { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }
.brand-body h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; font-weight: 700; max-width: 520px; }
.brand-body p { font-size: 18px; line-height: 1.5; color: var(--ink-soft); margin: 0; max-width: 520px; }
.brand-foot { font-size: 13px; color: var(--ink-soft); }
.panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    overflow: hidden;
}
.panel::before {
    content: "";
    position: absolute;
    width: 640px;
    height: 640px;
    background: url('/img/logo.png') center / contain no-repeat;
    opacity: .05;
    filter: grayscale(1);
    pointer-events: none;
}
.card { position: relative; width: 100%; max-width: 400px; }
.lang { display: flex; justify-content: flex-end; gap: 16px; font-size: 14px; margin-bottom: 8px; }
.lang button { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--accent); }
.lang button.active { color: var(--ink); font-weight: 700; cursor: default; }
.card h2 { font-size: 34px; margin: 8px 0 24px; font-weight: 700; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border-radius: 12px; padding: 4px; margin-bottom: 20px; }
.tab { border: 0; background: transparent; padding: 12px; border-radius: 9px; font: inherit; font-size: 15px; color: #4a5168; cursor: pointer; }
.tab.active { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 3px rgba(12, 17, 29, .08); }
.view { display: none; }
.view.active { display: block; }
.ecp-box { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fff; margin-bottom: 18px; }
.ecp-box .title { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.ecp-box .title svg { color: var(--accent); flex: none; }
.ecp-box .text { color: #5a6177; font-size: 14.5px; line-height: 1.45; }
.btn { width: 100%; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font: inherit; font-size: 17px; font-weight: 600; padding: 17px; cursor: pointer; transition: background-color .15s; }
.btn:hover { background: var(--accent-hover); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.input-wrap { position: relative; }
.input-wrap input { width: 100%; padding: 14px 44px 14px 16px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: 16px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.input-wrap input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(40, 53, 147, .12); }
.toggle { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; cursor: pointer; font-size: 18px; color: #6b7388; padding: 4px; }
.help { margin-top: 18px; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.notice { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.4; background: #fff8e1; color: #7a5b00; border: 1px solid #ffe08a; }
.notice.show { display: block; }
.alert { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; background: #fdecea; color: var(--danger); border: 1px solid #f5c2bd; }
.alert.info { background: #e8f0fe; color: var(--accent); border-color: #c5d3f7; }
@media (max-width: 900px) {
    .page { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .brand { padding: 24px; gap: 24px; }
    .brand-body h1 { font-size: 26px; }
    .brand-body p { font-size: 15px; }
    .brand-foot { display: none; }
    .panel::before { width: 420px; height: 420px; }
}
