:root {
  color-scheme: light;
  --forest: #0b1f3b;
  --forest-deep: #081a34;
  --lime: #22c55e;
  --canvas: #f5f7fa;
  --surface: #fff;
  --ink: #12243c;
  --muted: #52647a;
  --line: #e0e7f0;
  --green: #266346;
  --green-soft: #e6f9ee;
  --amber: #78500d;
  --amber-soft: #fff3db;
  --red: #a13937;
  --red-soft: #fceceb;
  --radius: 18px;
  --sidebar-width: 226px;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 300px; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .48; cursor: default; }
button, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #3c7955; outline-offset: 3px; }
[data-icon] { display: inline-flex; flex: none; align-items: center; justify-content: center; }
[data-icon] svg { display: block; width: 19px; height: 19px; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 1; width: var(--sidebar-width);
  padding: 27px 17px 20px; display: flex; flex-direction: column;
  background: var(--forest-deep); color: #f5f7fa;
}
.brand { display: flex; align-items: center; gap: 11px; padding-left: 7px; font-size: 21px; font-weight: 500; letter-spacing: -.9px; white-space: nowrap; }
.brand strong { font-weight: 800; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--lime); display: inline-flex; align-items: end; justify-content: center; gap: 4px; padding-bottom: 10px; flex: none; }
.brand-mark i { width: 3px; border-radius: 5px; background: var(--forest); }
.brand-mark i:nth-child(1) { height: 7px; }
.brand-mark i:nth-child(2) { height: 12px; }
.brand-mark i:nth-child(3) { height: 17px; }
.nav { display: grid; gap: 6px; margin-top: 49px; }
.nav button { display: flex; align-items: center; gap: 11px; width: 100%; border: 1px solid transparent; padding: 11px 12px; min-height: 46px; border-radius: 10px; background: transparent; color: #bbcadb; text-align: left; font-weight: 600; font-size: 14px; }
.nav button:hover { background: #14314e; color: #fff; }
.nav button[aria-current] { background: #172f4d; color: var(--lime); border-color: #294767; }
.nav button:focus-visible { outline-color: var(--lime); }
.storage { margin-top: auto; border-top: 1px solid #263b56; display: flex; align-items: center; gap: 10px; padding: 18px 5px 0; }
.storage-icon { width: 33px; height: 33px; background: #183553; color: #c5d4e3; border-radius: 9px; }
.storage-icon svg { width: 16px; height: 16px; }
.storage strong, .storage small { display: block; }
.storage strong { font-size: 11.5px; color: #e0e9f4; font-weight: 700; }
.storage small { font-size: 11px; color: #aabbce; margin-top: 2px; }
.workspace { margin-left: var(--sidebar-width); }
.topbar { height: 64px; display: flex; justify-content: space-between; align-items: center; padding: 0 36px; background: var(--surface); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.section-name { display: inline-flex; gap: 8px; align-items: center; color: #3d5548; font-weight: 650; }
.section-name svg { width: 17px; height: 17px; }
main { max-width: 1450px; margin: auto; padding: 33px 36px 22px; }
main:focus { outline: none; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 25px; }
h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 700; letter-spacing: -.055em; }
.page-heading p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; border: 1px solid transparent; min-height: 43px; padding: 9px 15px; font-weight: 700; font-size: 13px; line-height: 1.3; white-space: nowrap; }
.button.primary { color: var(--lime); background: var(--forest); box-shadow: 0 2px 3px #11282015; }
.button.primary:hover { background: #173d5e; }
.button.secondary { color: #30493b; border-color: var(--line); background: white; }
.button.secondary:hover { background: #f1f5ee; }
.button.destructive { color: white; background: #9b3331; }
.button.destructive:hover { background: #7f2927; }
.month-strip { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.month-title, .month-tools { display: flex; align-items: center; gap: 12px; min-width: 0; }
.month-icon { background: #e6eef9; color: #385648; width: 40px; height: 40px; border-radius: 10px; }
.period-label { display: block; font-size: 11px; font-weight: 650; color: var(--muted); line-height: 1.3; }
.month-title h2 { font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.035em; }
.month-nav { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 2px; flex: none; }
.month-nav strong { padding: 0 6px; font-size: 15px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: transparent; color: #3d5548; border: 0; border-radius: 7px; padding: 0; }
.icon-button svg { width: 17px; height: 17px; }
.icon-button:hover { background: #edf2eb; color: var(--ink); }
.text-button { color: #315d46; font-size: 13px; font-weight: 700; background: none; border: none; border-radius: 7px; padding: 7px 8px; white-space: nowrap; }
.text-button:hover { background: #eef4ed; }
.metrics { display: grid; grid-template-columns: 1.17fr 1fr 1fr; gap: 14px; margin: 16px 0 21px; }
.metric { min-width: 0; min-height: 137px; position: relative; overflow: hidden; isolation: isolate; padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.metric-heading { display: flex; align-items: center; gap: 8px; }
.metric-heading > span { width: 32px; height: 32px; border-radius: 8px; }
.metric-heading svg { width: 17px; height: 17px; }
.metric h2 { font-weight: 710; font-size: 13px; }
.metric > strong { display: block; margin-top: 11px; font-size: clamp(19px, 2.55vw, 32px); font-weight: 700; letter-spacing: -.055em; line-height: 1.08; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric p { color: var(--muted); font-size: 12px; margin-top: 6px; }
.metric-total { background: var(--forest); color: #f5faef; border-color: var(--forest); }
.metric-total .metric-heading > span { background: #214463; color: var(--lime); }
.metric-total h2 { color: #e2ecf8; }
.metric-total > strong { color: var(--lime); }
.metric-total p { color: #bed0e3; }
.metric-paid-icon { color: var(--green); background: var(--green-soft); }
.metric-open-icon { color: var(--amber); background: var(--amber-soft); }
.metric-pattern { position: absolute; z-index: -1; width: 155px; height: 155px; right: -38px; bottom: -54px; opacity: .45; }
.metric-pattern i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #3fcb7b; }
.metric-pattern i:nth-child(2) { inset: 13px; }
.metric-pattern i:nth-child(3) { inset: 26px; }
.metric-pattern i:nth-child(4) { inset: 39px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: 0 2px 5px #1b3b2505; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 13px; padding: 20px 19px 14px; }
.panel-heading h2 { font-size: 20px; font-weight: 700; letter-spacing: -.045em; }
.panel-heading p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.search { display: flex; align-items: center; flex: 0 1 200px; gap: 8px; min-height: 37px; padding: 0 9px; border: 1px solid var(--line); border-radius: 9px; color: #596e60; }
.search svg { width: 15px; height: 15px; }
.search input { background: transparent; border: 0; min-width: 0; width: 100%; padding: 7px 0; font-size: 13px; color: var(--ink); outline: none; }
.search:focus-within { outline: 2px solid #3c7955; outline-offset: 2px; }
.filters { display: flex; padding: 0 19px 13px; align-items: center; gap: 5px; overflow-x: auto; }
.filters button { display: inline-flex; align-items: center; gap: 6px; min-height: 31px; padding: 4px 9px; background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.filters button:hover { background: #f0f4ef; }
.filters button[aria-pressed="true"] { background: #e9f3e6; color: #28563c; border-color: #e0ecdd; }
.filters button span { padding: 1px 5px; border-radius: 5px; background: #dcebd9; color: #2e553d; font-size: 10px; }
.empty { border-top: 1px solid var(--line); text-align: center; padding: 22px 16px 26px; }
.empty-art { position: relative; display: grid; place-items: center; height: 70px; width: 98px; margin: 0 auto 10px; }
.empty-art::before { content: ""; position: absolute; inset: 0 7px; border: 1px dashed #c6d7c7; border-radius: 50%; background: #f6faf4; }
.empty-art .paper { position: absolute; display: grid; place-items: center; width: 42px; height: 52px; border: 1px solid #b1c8b4; background: #fff; color: #426750; border-radius: 9px; box-shadow: 0 4px 8px #183c2920; transform: translate(-2px, 0) rotate(-10deg); }
.empty-art .paper svg { width: 25px; height: 25px; }
.empty-art .seal { position: absolute; right: 16px; bottom: 8px; width: 23px; height: 23px; border: 2px solid white; border-radius: 50%; background: var(--lime); color: var(--forest); }
.empty-art .seal svg { width: 13px; height: 13px; }
.empty h3 { font-size: 16px; font-weight: 700; letter-spacing: -.025em; }
.empty p { margin: 5px 0 12px; color: var(--muted); font-size: 13px; }
.empty .button { min-height: 37px; font-size: 12px; }
.empty.compact { padding: 38px 16px; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { padding: 11px 12px; background: #f3f6f0; color: #53635a; text-align: left; font-size: 11px; font-weight: 700; white-space: nowrap; }
td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
th:first-child, td:first-child { padding-left: 19px; }
th:last-child, td:last-child { padding-right: 19px; }
tbody tr:hover { background: #fafcf9; }
th.align-right, td.align-right { text-align: right; }
.cell-acct { display: flex; align-items: center; gap: 9px; }
.cell-acct strong, .cell-acct small { display: block; }
.cell-acct strong, .cell-acct small, td .row-bank { overflow-wrap: anywhere; }
.cell-acct small, .row-subtext { color: var(--muted); font-size: 11px; }
.account-icon { width: 31px; height: 31px; color: #45614e; background: #edf3eb; border-radius: 8px; }
.account-icon svg { width: 16px; height: 16px; }
.row-amount { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.row-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.status-cell { white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 4px; border: 0; padding: 4px 7px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.status svg { width: 13px; height: 13px; }
.status.paid { background: var(--green-soft); color: var(--green); }
.status.open { background: var(--amber-soft); color: var(--amber); }
.status.late { background: var(--red-soft); color: var(--red); }
.status-cell .row-subtext { display: block; margin-top: 3px; }
.pay-check { display: inline-grid; place-items: center; padding: 0; width: 30px; height: 30px; background: #f5f8f3; border: 1px solid #dfe8dd; border-radius: 7px; color: #3c5a48; }
.pay-check:hover { background: #e7f0e1; border-color: #b8d0b6; }
.pay-check[aria-pressed="true"] { background: #e0efdf; border-color: #cee5cd; color: #245c40; }
.pay-check svg { width: 16px; height: 16px; }
.history-heading { padding-bottom: 19px; }
.history-list { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.history-row { display: grid; grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 1fr)) auto; align-items: center; gap: 13px; border: 0; background: white; min-height: 72px; padding: 11px 18px; color: var(--ink); text-align: left; }
.history-row:hover { background: #f8fbf7; }
.history-row:focus-visible { outline-offset: -3px; }
.history-row > span { display: block; min-width: 0; }
.history-row strong, .history-row small { display: block; overflow-wrap: anywhere; }
.history-row strong { letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.history-row small { color: var(--muted); font-size: 11px; }
.history-row .history-arrow { display: inline-flex; }
.history-row .history-month { display: flex; gap: 9px; align-items: center; }
footer { display: none; text-align: center; color: var(--muted); font-size: 11px; padding: 17px 0 0; }
dialog { max-height: calc(100dvh - 24px); width: min(510px, calc(100% - 24px)); padding: 0; border: 1px solid #e3ebe1; border-radius: 17px; color: var(--ink); background: white; box-shadow: 0 14px 60px #0d231b30; overflow: auto; }
dialog::backdrop { background: #0a1d15a3; }
.dialog-heading { display: flex; align-items: center; gap: 11px; padding: 16px 17px; border-bottom: 1px solid var(--line); }
.dialog-heading h2 { font-size: 20px; font-weight: 700; letter-spacing: -.045em; }
.dialog-heading p { margin-top: 2px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.dialog-icon { height: 37px; width: 37px; background: #eaf3e7; color: #365f46; border-radius: 10px; }
.dialog-close { margin-left: auto; flex: none; }
.form-fields { display: grid; gap: 12px; padding: 16px 17px; }
.form-fields label { display: block; font-size: 13px; font-weight: 700; min-width: 0; }
.form-fields label small { color: var(--muted); font-weight: 550; }
.form-fields input:not([type="checkbox"]), .form-fields select { display: block; width: 100%; min-width: 0; min-height: 41px; padding: 8px 10px; margin-top: 5px; border: 1px solid #d8e3d8; border-radius: 8px; color: var(--ink); background: var(--surface); font-size: 14px; font-weight: 500; }
.form-fields input::placeholder { color: #67746c; opacity: 1; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.money-field { position: relative; display: block; }
.money-field > span { position: absolute; top: 10px; left: 10px; color: var(--muted); font-weight: 700; }
.money-field input:not([type="checkbox"]) { padding-left: 32px; }
.form-fields .check-field { display: flex; align-items: flex-start; gap: 9px; padding: 9px 10px; border-radius: 8px; background: #f2f6ef; cursor: pointer; }
.check-field input { flex: none; accent-color: #2e6648; width: 17px; height: 17px; margin: 2px 0 0; }
.check-field strong, .check-field small { display: block; }
.check-field small { margin-top: 2px; }
.dialog-footer { display: flex; flex-wrap: wrap; justify-content: end; align-items: center; gap: 7px; padding: 12px 17px; border-top: 1px solid var(--line); }
.dialog-footer .danger { margin-right: auto; }
.dialog-error { margin: 0 17px 12px; padding: 8px 10px; border-radius: 8px; background: var(--red-soft); color: var(--red); font-size: 13px; }
.danger { color: var(--red); }
.danger:hover { background: var(--red-soft); }
.payment-preview { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px; background: #f1f5ee; border-radius: 8px; }
.payment-preview strong { overflow-wrap: anywhere; min-width: 0; }
.payment-preview strong:last-child { flex: none; }
.remove-message { color: var(--muted); font-size: 14px; }
#month-dialog { max-width: 360px; }
.month-picker { padding: 12px 17px 17px; }
.picker-year { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; }
.picker-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.picker-grid button { border: 1px solid var(--line); background: #f7f9f5; color: var(--ink); border-radius: 8px; padding: 8px 3px; font-size: 13px; }
.picker-grid button:hover { background: #e8f2e5; }
.picker-grid button[aria-pressed="true"] { background: var(--forest); color: var(--lime); border-color: var(--forest); }
.toast { position: fixed; z-index: 2; bottom: 15px; right: 15px; padding: 10px 14px; max-width: calc(100% - 30px); background: var(--forest); color: #f4faef; box-shadow: 0 4px 20px #0b1f3b35; font-size: 14px; font-weight: 650; border-radius: 9px; }

@media (max-width: 1050px) {
  :root { --sidebar-width: 188px; }
  .topbar { padding-inline: 23px; }
  main { padding-inline: 23px; }
  .brand { font-size: 18px; padding-left: 2px; gap: 8px; }
  .sidebar { padding-inline: 12px; }
}
@media (max-width: 820px) {
  :root { --sidebar-width: 159px; }
  .topbar, main { padding-inline: 17px; }
  .sidebar { padding-inline: 9px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 32px; height: 32px; padding-bottom: 8px; }
  .nav button { gap: 7px; padding-inline: 8px; }
  .metric { padding-inline: 12px; }
  .metrics { gap: 8px; }
  th, td { padding-inline: 7px; }
}
@media (max-width: 700px) {
  .sidebar { position: static; inset: auto; width: auto; padding: 10px 14px; flex-direction: row; align-items: center; justify-content: space-between; gap: 5px; }
  .brand { padding: 0; }
  .nav { display: flex; gap: 4px; margin: 0; }
  .nav button { width: auto; min-height: 36px; padding: 5px 7px; font-size: 11px; gap: 4px; white-space: nowrap; }
  .nav button svg { width: 14px; height: 14px; }
  .storage { display: none; }
  footer { display: block; }
  .workspace { margin: 0; }
  .topbar { height: 41px; font-size: 11px; padding-inline: 14px; }
  .section-name svg { width: 14px; height: 14px; }
  main { padding: 18px 12px 16px; }
  .page-heading { align-items: start; margin-bottom: 16px; gap: 8px; }
  h1 { font-size: clamp(26px, 6.8vw, 35px); }
  .page-heading p { font-size: 12px; margin-top: 4px; }
  .page-heading .button { gap: 4px; min-height: 36px; font-size: 11px; padding-inline: 7px; }
  .page-heading .button svg { width: 15px; height: 15px; }
  .month-strip { padding: 8px 9px; }
  .month-title, .month-tools { gap: 6px; }
  .month-icon { width: 31px; height: 31px; }
  .month-icon svg { width: 16px; height: 16px; }
  .month-title h2 { font-size: 14px; }
  .month-nav .icon-button { width: 28px; height: 30px; }
  .month-tools .text-button { font-size: 11px; padding-inline: 3px; }
  .metrics { margin: 9px 0 13px; grid-template-columns: 1fr 1fr; }
  .metric { min-height: 106px; padding: 10px; border-radius: 12px; }
  .metric-total { grid-column: 1 / -1; }
  .metric-heading > span { width: 26px; height: 26px; }
  .metric-heading svg { width: 14px; height: 14px; }
  .metric h2 { font-size: 12px; }
  .metric > strong { font-size: 22px; margin-top: 6px; }
  .metric p { font-size: 11px; margin-top: 3px; }
  .panel { border-radius: 12px; }
  .panel-heading { padding: 13px 10px 10px; align-items: start; gap: 6px; }
  .panel-heading h2 { font-size: 17px; }
  .panel-heading p { font-size: 11px; }
  .search { flex: 0 1 125px; min-height: 33px; padding-inline: 5px; }
  .search input { font-size: 12px; }
  .filters { padding: 0 9px 8px; gap: 2px; }
  .filters button { padding-inline: 6px; min-height: 29px; font-size: 11px; }
  .table-wrap { overflow: visible; }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  tbody tr { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 6px 9px; border-top: 1px solid var(--line); padding: 9px; }
  td, td:first-child, td:last-child { padding: 0; border: 0; }
  td:nth-child(1) { grid-column: 1; grid-row: 1 / 3; align-self: center; }
  td:nth-child(2) { grid-column: 2; grid-row: 1; }
  td:nth-child(3) { grid-column: 2; grid-row: 3; }
  td:nth-child(4) { grid-column: 2; grid-row: 2; }
  td:nth-child(5) { grid-column: 3; grid-row: 1; }
  td:nth-child(6) { grid-column: 3; grid-row: 2 / 4; text-align: right; }
  td:nth-child(7) { grid-column: 4; grid-row: 1 / 3; align-self: center; }
  .cell-acct .account-icon { display: none; }
  .cell-acct strong, .row-amount { font-size: 12px; }
  .row-date, .row-bank { font-size: 11px; }
  .bank-break { display: none; }
  .bank-break + .row-subtext::before { content: " · "; }
  .bank-break + .row-subtext { display: inline; }
  .history-row { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, .9fr) auto; gap: 6px; padding: 9px; font-size: 11px; }
  .history-row .history-open { display: none; }
  .history-row small { font-size: 10px; }
  .history-row .account-icon { display: none; }
  .empty { padding-block: 16px 20px; }
  .form-fields input:not([type="checkbox"]), .form-fields select { font-size: 16px; }
}
@media (max-width: 370px) {
  .month-title .month-icon { display: none; }
  .topbar .today { font-size: 10px; }
  .history-heading p { max-width: 140px; }
}
@media (prefers-reduced-motion: no-preference) {
  button { transition: background-color 120ms, color 120ms; }
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter.woff2") format("woff2");
}

.brand { font-weight: 720; letter-spacing: -.065em; }
.brand strong, .portal-wordmark strong { color: var(--lime); }
.brand-mark { display: inline-block; width: 38px; height: 38px; border-radius: 11px; padding: 0; background: #102a49 url("/favicon.svg") center / cover no-repeat; }
.button.primary { color: #092b1b; background: #22c55e; border-color: #17ae51; }
.button.primary:hover { background: #3cdb75; }
.top-actions { display: flex; gap: 10px; align-items: center; }
.top-actions a { text-decoration: none; }
.demo-notice { margin-bottom: 16px; padding: 10px 12px; border: 1px solid #c7dbef; border-radius: 9px; color: #284a6b; background: #edf4fc; font-size: 13px; }
.metric-total > strong { color: #75eda6; }

.portal { display: grid; min-height: 100vh; place-items: center; background: #eef3f8; padding: 24px; }
.portal .portal-layout { display: grid; grid-template-columns: 1.15fr 1fr; width: min(1020px, 100%); padding: 0; margin: 0; border: 1px solid #dde6ef; border-radius: 24px; background: white; box-shadow: 0 22px 65px #0b1f3b18; overflow: hidden; }
.portal-brand { position: relative; display: grid; gap: 38px; padding: clamp(25px, 5.5vw, 54px); color: #f5f7fa; isolation: isolate; background: radial-gradient(ellipse at 112% 95%, #15634c 0%, transparent 61%), linear-gradient(148deg,#07172d,#0b2445); }
.portal-brand::after { position: absolute; z-index: -1; content: ""; width: 500px; height: 500px; background: radial-gradient(ellipse, #22c55e27, transparent 59%); border: 1px solid #4dc58840; border-radius: 50%; bottom: -330px; right: -140px; pointer-events: none; }
.portal-wordmark { display: flex; align-items: center; gap: 0; font-size: 30px; font-weight: 750; letter-spacing: -.065em; }
.portal-wordmark .brand-mark { margin-right: 9px; }
.portal-copy h1 { font-size: clamp(32px, 5vw, 57px); letter-spacing: -.072em; font-weight: 760; }
.portal-copy h1 span { color: #a7edc3; }
.portal-copy p { margin-top: 14px; color: #c2d3e6; font-size: 15px; line-height: 1.55; max-width: 32ch; }
.portal-illustration { display: grid; gap: 8px; max-width: 350px; margin-bottom: 5px; padding: 14px; border: 1px solid #6caeaa58; border-radius: 15px; background: #12314f; box-shadow: 0 15px 26px #030d2145; }
.poster-head, .poster-line { display: flex; justify-content: space-between; align-items: center; gap: 9px; }
.poster-head { color: #cbdbe9; font-size: 12px; font-weight: 700; }
.poster-mark { display: grid; place-items: center; width: 25px; height: 25px; color: #0d2a22; background: #91e5b2; border-radius: 6px; }
.poster-metric { display: grid; gap: 3px; padding: 11px; background: #224661; border-radius: 8px; }
.poster-metric span { color: #c2d6e8; font-size: 11px; }
.poster-metric strong { font-size: 24px; letter-spacing: -.05em; }
.poster-line { padding: 8px 2px 1px; border-top: 1px solid #365473; font-size: 12px; color: #dfe9f4; }
.poster-line strong { color: #9ee6b8; }
.poster-line:last-child strong { color: #ffe5ad; }
.portal-entry { display: grid; align-content: center; padding: clamp(25px, 5.5vw, 54px); }
.entry-content h2 { font-size: clamp(23px, 4vw, 33px); font-weight: 750; letter-spacing: -.05em; }
.entry-content > p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.portal-entry form { margin-top: 24px; }
.portal-entry .google-entry, .portal-entry .demo-entry { min-height: 46px; width: 100%; justify-content: center; }
.google-entry { color: #f5f7fa; background: #0b1f3b; }
.google-entry:hover:enabled { background: #193a61; }
.google-letter { display: inline-grid; place-items: center; background: #f5f7fa; color: #244371; width: 20px; height: 20px; border-radius: 5px; font-weight: 760; }
.entry-content .portal-message { min-height: 42px; margin: 10px 0; font-size: 13px; }
.portal-entry .demo-entry { text-decoration: none; }
@media (max-width: 700px) {
  .brand-mark { width: 32px; height: 32px; }
  .top-actions { gap: 3px; }
  .top-actions .text-button { font-size: 11px; }
  .portal { align-items: start; padding: 12px; }
  .portal .portal-layout { grid-template-columns: 1fr; border-radius: 16px; }
  .portal-brand { gap: 20px; }
  .portal-illustration { display: none; }
}
