:root {
    --green: #a8e63d;
    --black: #111511;
    --bg: #f2f4ef;
    --line: #e3e7de;
    --muted: #5e675a;
    --soft: #e5f5cf;
    --red: #a43833;
    --radius: 22px;
    font-family: "DM Sans", sans-serif;
    color: var(--black);
    background: var(--bg);
    font-synthesis: none;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
button,
input,
select,
textarea {
    font: inherit;
}
button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}
button,
a {
    touch-action: manipulation;
}
button {
    cursor: pointer;
}
a {
    color: inherit;
    text-decoration: none;
}
button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #6b9824;
    outline-offset: 4px;
}
h1,
h2,
h3,
p {
    margin: 0;
}
h1,
h2,
h3,
.amount,
.brand {
    font-family: "Manrope", "DM Sans", sans-serif;
}
h1 {
    font-size: 36px;
    letter-spacing: -1.6px;
    line-height: 1.25;
    font-weight: 750;
}
h2 {
    font-size: 22px;
    letter-spacing: -0.65px;
    font-weight: 750;
}
h3 {
    font-size: 17px;
    letter-spacing: -0.3px;
}
p {
    line-height: 1.65;
}
small {
    font-size: 12px;
}
.muted {
    color: var(--muted);
}
.eyebrow {
    font-size: 11px;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    font-weight: 700;
}
.brand {
    font-size: 26px;
    letter-spacing: -1.4px;
    font-weight: 800;
}
.brand b {
    color: var(--green);
}
.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    background: white;
    padding: 16px;
}
.skip-link:focus {
    top: 10px;
}
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 234px;
    background: var(--black);
    color: white;
    padding: 42px 22px 24px;
    display: flex;
    flex-direction: column;
    z-index: 30;
}
.sidebar .brand {
    padding: 0 17px;
    margin-bottom: 58px;
}
.nav {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 19px;
    border-radius: 12px;
    color: #b9c0b5;
    min-height: 50px;
    font-size: 14px;
    font-weight: 550;
    transition: background 0.15s;
}
.nav a:hover {
    background: #242a22;
    color: white;
}
.nav a.active {
    background: var(--green);
    color: var(--black);
    font-weight: 700;
}
.nav-icon {
    width: 21px;
    font-size: 21px;
    text-align: center;
    line-height: 1;
}
.sidebar-bottom {
    margin-top: auto;
}
.sidebar-bottom .nav {
    border-top: 1px solid #30352c;
    padding-top: 20px;
}
.sidebar-note {
    margin: 24px 16px 0;
    color: #8b9585;
    font-size: 11px;
    line-height: 1.7;
}
.sidebar-note i {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    margin-right: 7px;
}
.shell {
    margin-left: 234px;
    min-height: 100vh;
}
.topbar {
    height: 88px;
    padding: 0 46px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.72);
}
.crumb {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 12px;
}
.crumb strong {
    color: var(--black);
    font-weight: 550;
}
.top-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}
.workspace {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}
.workspace select {
    background: transparent;
    border: 0;
    padding: 10px 5px;
    max-width: 130px;
}
.header-button {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 12px;
}
.avatar {
    height: 40px;
    width: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--soft);
    font-weight: 700;
    font-size: 13px;
}
.demo-tag {
    background: #e9ede4;
    border-radius: 7px;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
}
.badge-count {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    font-size: 10px;
    border-radius: 50%;
    background: var(--green);
    margin-left: 5px;
}
main {
    padding: 36px 46px 56px;
    max-width: 1600px;
    margin: auto;
}
.page-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
    margin-bottom: 30px;
}
.page-head p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 8px;
}
.date-label {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    padding-bottom: 4px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border-radius: 11px;
    padding: 12px 20px;
    border: 1px solid transparent;
    background: var(--black);
    color: white;
    font-size: 13px;
    font-weight: 650;
    transition:
        transform 0.15s,
        background 0.15s;
}
.btn:hover {
    background: #2c3626;
    transform: translateY(-1px);
}
.btn.green {
    background: var(--green);
    color: var(--black);
}
.btn.green:hover {
    background: #b5ee51;
}
.btn.white {
    background: white;
    color: var(--black);
    border-color: var(--line);
}
.btn.ghost {
    background: transparent;
    color: var(--black);
    border-color: var(--line);
}
.btn.small {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 12px;
}
.btn.danger {
    background: #fbe9e7;
    color: var(--red);
}
.link {
    font-size: 12px;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.spacer {
    height: 24px;
}
.overview {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(290px, 0.92fr) minmax(390px, 1.45fr);
    gap: 23px;
}
.balance-card {
    background: var(--black);
    color: white;
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
    min-height: 270px;
    display: flex;
    flex-direction: column;
}
.balance-card:after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border: 1px solid #ffffff0a;
    box-shadow:
        0 0 0 25px #ffffff03,
        0 0 0 50px #ffffff03;
    border-radius: 50%;
    right: -130px;
    top: 20px;
    pointer-events: none;
}
.balance-card .muted {
    color: #adb5a6;
}
.balance-card .amount {
    font-size: 40px;
    letter-spacing: -2px;
    line-height: 1.2;
    margin: 20px 0 8px;
    font-weight: 650;
}
.balance-card .balance-note {
    font-size: 11px;
    color: #a4b09a;
}
.balance-movement {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: auto;
    padding-top: 24px;
}
.movement-label {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 11px;
    color: #abb4a2;
}
.movement-value {
    font-size: 20px;
    font-weight: 600;
    margin-top: 8px;
    letter-spacing: -0.5px;
}
.circle-icon {
    display: inline-grid;
    place-items: center;
    background: #29351e;
    color: var(--green);
    border-radius: 50%;
    width: 23px;
    height: 23px;
}
.chart-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    min-width: 0;
}
.financial-chart .section-top { align-items: flex-start; flex-wrap: wrap; }
.chart-eyebrow { margin: 0 0 8px; color: #69745f; font-size: 10px; letter-spacing: 1.4px; font-weight: 650; }
.chart-periods { display: flex; gap: 4px; background: #eef2e8; padding: 4px; border-radius: 999px; }
.chart-periods button { border: 0; border-radius: 999px; background: transparent; color: #58674b; font-size: 11px; min-width: 38px; min-height: 32px; cursor: pointer; }
.chart-periods button[aria-pressed="true"] { background: #263b1b; color: #edffdf; }
.chart-summary { display: flex; align-items: baseline; gap: 8px 15px; flex-wrap: wrap; margin: 14px 0 8px; }
.chart-summary strong { font-family: "Manrope", sans-serif; font-size: clamp(23px, 2.5vw, 28px); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.chart-summary span { font-size: 12px; }
.positive { color: #3d6a20; }
.negative { color: #a43833; }
.chart-basis { color: #6d775f; font-size: 11px; margin: 12px 0; line-height: 1.6; }
.chart-basis i { display: inline-block; width: 16px; height: 3px; background: #527c27; margin-right: 7px; vertical-align: middle; }
.chart-records { margin-top: 12px; color: #526149; font-size: 12px; }
.chart-records summary { cursor: pointer; padding: 6px 0; }
.chart-table-wrap { overflow: auto; max-height: 250px; margin-top: 10px; }
.chart-table-wrap table { width: 100%; border-collapse: collapse; font-size: 11px; font-variant-numeric: tabular-nums; }
.chart-table-wrap th, .chart-table-wrap td { padding: 9px 7px; text-align: right; white-space: nowrap; border-bottom: 1px solid #e4e9dd; }
.chart-table-wrap th:first-child, .chart-table-wrap td:first-child { text-align: left; }
.chart-table-wrap thead { position: sticky; top: 0; background: #f3f6ef; }
.chart-wrap .chart-tip { max-width: 240px; white-space: pre-line; line-height: 1.6; pointer-events: none; }
.financial-chart .chart-wrap { height: 140px; margin-top: 10px; }
.panel .chart-wrap { height: 245px; }
.ai-impact { padding: 22px 24px; border: 1px solid #c3d5b0; border-radius: 20px; background: #e9f1df; margin-bottom: 22px; }
.ai-impact-heading { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ai-impact-heading > span:first-child { font-size: 30px; color: #436927; }
.ai-impact-heading h2 { font-size: 18px; margin: 0; }
.ai-impact-heading p { color: #5b6b4d; font-size: 12px; margin: 5px 0 0; }
.ai-impact-heading > a { margin-left: auto; font-size: 12px; color: #31541a; font-weight: 650; text-underline-offset: 4px; }
.ai-impact-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 21px; }
.ai-impact-figures a { display: grid; gap: 6px; text-decoration: none; border-left: 2px solid #a9c48d; padding-left: 13px; }
.ai-impact-figures strong { font-size: 20px; letter-spacing: -0.5px; }
.ai-impact-figures span, .ai-impact-note { color: #5c6f4c; font-size: 11px; line-height: 1.6; }
.ai-impact-note { margin: 18px 0 0; }
.ai-privacy-link { color: #385d22; font-size: 12px; }
.transparency-hero { border-radius: 24px; padding: 34px; background: #172018; color: #edf6e5; margin-bottom: 24px; }
.transparency-hero .eyebrow { color: #b2d38f; }
.transparency-hero h2 { font-size: clamp(27px, 4vw, 42px); margin: 18px 0; letter-spacing: -1px; line-height: 1.2; }
.transparency-hero p { max-width: 650px; color: #c2d2b5; line-height: 1.8; font-size: 14px; margin-bottom: 20px; }
#privacy-controls > p { margin: 16px 0; font-size: 13px; line-height: 1.8; }
.privacy-state { color: #3c6227; font-weight: 650; }
#privacy-controls form { border-block: 1px solid #d4deca; padding: 16px 0; margin: 16px 0; }
.privacy-explainer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 22px; }
.privacy-explainer h3 { font-size: 14px; }
.privacy-explainer p { color: #627057; font-size: 13px; line-height: 1.8; margin-top: 10px; }
.public-scan { max-width: 820px; margin: auto; padding: 35px 24px; }
.public-scan > .brand { display: inline-block; margin-bottom: 35px; }
.scan-entry { max-width: 700px; }
.scan-label { font-size: 10px; color: #5b714c; letter-spacing: 1.4px; margin-bottom: 18px; font-weight: 650; }
.scan-entry .notice { margin-bottom: 20px; }
.scan-entry textarea { min-height: 145px; overflow-wrap: anywhere; font-size: 13px; }
.scan-entry .field-hint { line-height: 1.8; margin-top: 18px; }
.scan-entry .actions { margin-top: 18px; }
@media (max-width: 700px) {
    .ai-impact { padding: 19px; }
    .ai-impact-figures, .privacy-explainer { grid-template-columns: 1fr; gap: 15px; }
    .ai-impact-figures a { grid-template-columns: minmax(90px, auto) 1fr; align-items: center; }
    .ai-impact-figures strong { font-size: 17px; }
    .transparency-hero { padding: 25px; }
    .financial-chart { padding: 21px 18px; }
}
.section-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}
.period {
    border: 1px solid var(--line);
    background: white;
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 11px;
    color: #5c6555;
}
.chart-wrap {
    position: relative;
    height: 208px;
    margin-top: 15px;
}
.chart-wrap canvas {
    width: 100%;
    height: 100%;
}
.chart-tip {
    position: absolute;
    pointer-events: none;
    background: var(--black);
    color: white;
    border-radius: 7px;
    padding: 8px;
    font-size: 11px;
    display: none;
}
.reconciliation {
    font-size: 11px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    padding-top: 12px;
    text-align: center;
}
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 22px;
}
.quick-action {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 23px;
    min-height: 88px;
    transition: border 0.15s;
}
.quick-action:hover {
    border-color: #b2ce88;
}
.quick-icon {
    background: var(--soft);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 22px;
}
.quick-action h3 {
    font-size: 14px;
}
.quick-action p {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}
.arrow {
    margin-left: auto;
    font-size: 20px;
}
.home-bottom {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 23px;
    margin-top: 32px;
}
.focus-card {
    background: var(--soft);
    border-radius: var(--radius);
    padding: 27px 29px;
}
.focus-card h2 {
    margin: 19px 0 8px;
    font-size: 23px;
    max-width: 430px;
}
.focus-card p {
    color: #61734c;
    font-size: 13px;
    margin-bottom: 20px;
    max-width: 430px;
}
.focus-icon {
    height: 25px;
    width: 25px;
    border: 1px solid #b5d391;
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.ask-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ask-card .ask-symbol {
    font-size: 30px;
}
.ask-card h2 {
    margin: 12px 0 10px;
}
.ask-card p {
    font-size: 13px;
    color: var(--muted);
}
.ask-card a {
    margin-top: 20px;
    font-size: 13px;
    font-weight: 650;
}
.bottom-note {
    margin-top: 25px;
    font-size: 11px;
    color: #5e675a;
    display: flex;
    gap: 7px;
    align-items: center;
}
.panel {
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 20px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tile {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    min-height: 205px;
    gap: 13px;
    transition:
        transform 0.15s,
        border-color 0.15s;
}
.tile:hover {
    transform: translateY(-3px);
    border-color: #bdd89d;
}
.tile-icon {
    font-size: 26px;
    height: 42px;
    color: #6f8f42;
}
.tile p {
    font-size: 13px;
    color: var(--muted);
}
.tile .tile-link {
    margin-top: auto;
    font-size: 12px;
    font-weight: 650;
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
}
.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.stat {
    background: white;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 23px;
}
.stat .amount {
    font-size: 29px;
    letter-spacing: -1px;
    margin-top: 10px;
    font-weight: 700;
}
.stat p {
    font-size: 12px;
    color: var(--muted);
}
.tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.tabs a {
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    background: white;
    border: 1px solid var(--line);
}
.tabs a.active {
    background: var(--black);
    color: white;
    border-color: var(--black);
}
.list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.list-row:last-child {
    border-bottom: 0;
}
.list-row h3 {
    font-size: 14px;
}
.list-row p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px;
}
.list-leading {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}
.list-leading > div:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
}
.list-amount {
    font-size: 16px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}
.status {
    display: inline-block;
    padding: 5px 9px;
    font-size: 10px;
    border-radius: 6px;
    background: var(--soft);
    color: #49632f;
    font-weight: 650;
}
.status.warn {
    background: #fff0d3;
    color: #8e681f;
}
.positive {
    color: #588126;
}
.negative {
    color: var(--red);
}
.empty {
    padding: 60px 25px;
    text-align: center;
    background: white;
    border: 1px dashed #cfd6c6;
    border-radius: var(--radius);
}
.empty h2 {
    font-size: 21px;
    margin-bottom: 10px;
}
.empty p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 22px;
}
.notice {
    padding: 16px 18px;
    border-radius: 12px;
    background: #edf3e6;
    font-size: 13px;
    line-height: 1.7;
    margin: 18px 0;
}
.notice.warn {
    background: #fff3dc;
    color: #80601c;
}
.notice.error {
    background: #fae9e7;
    color: var(--red);
}
.detail-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 22px;
}
.detail-kv {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.detail-kv span {
    color: var(--muted);
}
.detail-kv strong {
    text-align: right;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.timeline {
    border-left: 2px solid var(--line);
    padding-left: 22px;
    margin-left: 8px;
}
.timeline-item {
    position: relative;
    padding: 0 0 24px;
}
.timeline-item:before {
    content: "";
    position: absolute;
    left: -29px;
    top: 4px;
    width: 10px;
    height: 10px;
    border: 2px solid white;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 1px #bac5ae;
}
.timeline-item p {
    font-size: 13px;
}
.timeline-item small {
    color: var(--muted);
}
.progress-track {
    height: 8px;
    background: var(--bg);
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 0;
}
.progress-track > div {
    height: 100%;
    background: var(--green);
    border-radius: 5px;
}
.search {
    max-width: 340px;
    margin-bottom: 22px;
}
table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
}
td,
th {
    text-align: left;
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
}
th {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--muted);
}
.table-wrap {
    overflow: auto;
}
.table-wrap td {
    white-space: nowrap;
}
.store-banner {
    background: var(--black);
    color: white;
    border-radius: 24px;
    padding: 36px 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.store-banner h2 {
    font-size: 30px;
    max-width: 420px;
    margin: 12px 0;
}
.store-banner p {
    font-size: 12px;
    color: #b8c2af;
}
.store-banner .store-orb {
    border: 1px solid #5d7937;
    border-radius: 50%;
    height: 120px;
    width: 120px;
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 50px;
}
.product {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: white;
    display: flex;
    flex-direction: column;
}
.product-image {
    height: 192px;
    background: #e9ece5;
    overflow: hidden;
    display: block;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.product:hover img {
    transform: scale(1.04);
}
.product-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.product-content h3 {
    font-size: 15px;
}
.product-content p {
    font-size: 12px;
    color: var(--muted);
}
.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 15px;
}
.product-price {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.6px;
}
.cart-line {
    display: grid;
    grid-template-columns: 1fr 80px 110px;
    gap: 16px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}
.cart-line h3 {
    font-size: 14px;
}
.cart-line p {
    font-size: 12px;
    color: var(--muted);
}
.qr-box {
    background: white;
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--line);
}
.qr-box img {
    width: 220px;
    max-width: 100%;
    image-rendering: pixelated;
}
.qr-token {
    font: 10px monospace;
    word-break: break-all;
    max-height: 80px;
    overflow: auto;
    padding: 10px;
    background: var(--bg);
    margin: 14px 0;
}
.video {
    width: 100%;
    max-height: 300px;
    background: #111;
    border-radius: 14px;
}
.chat {
    max-width: 820px;
    margin: auto;
}
.chat-intro {
    text-align: center;
    padding: 32px 0;
}
.chat-intro h1 {
    margin: 14px 0;
}
.chat-intro p {
    font-size: 14px;
    color: var(--muted);
}
.prompts {
    display: flex;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
    margin: 25px 0;
}
.prompts button {
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 12px;
    padding: 13px 16px;
    color: var(--black);
}
.message {
    max-width: 85%;
    padding: 20px 23px;
    border-radius: 18px;
    margin: 18px 0;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre-wrap;
}
.message.user {
    margin-left: auto;
    background: var(--black);
    color: white;
}
.message.assistant {
    background: transparent;
    border: 0;
    border-top: 1px solid #cbd3c3;
    border-radius: 0;
    padding: 24px 0;
    max-width: 100%;
    white-space: normal;
}
.chat .chat-intro { text-align: left; }
.chat .chat-intro .ask-symbol { color: #557b2b; }
.chat .prompts { justify-content: flex-start; gap: 10px; }
.chat .prompts button { background: transparent; color: #34472a; border: 1px solid #bcccae; border-radius: 999px; padding: 9px 15px; white-space: normal; text-align: left; }
.chat .prompts button:hover { background: #e5efd9; }
.chat .message.user { background: #e3ebdb; color: #22331a; border-radius: 14px 14px 2px 14px; padding: 13px 18px; width: fit-content; }
.answer-byline { display: flex; gap: 9px; align-items: center; color: #314724; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.answer-byline > span:last-child { color: #65735a; font-size: 11px; font-weight: 400; margin-left: auto; }
.answer-copy { white-space: pre-wrap; font-size: 15px; line-height: 1.9; overflow-wrap: anywhere; }
.answer-context { border-left: 3px solid #92b56d; padding-left: 16px; margin-top: 24px; color: #43533a; }
.answer-context p { margin: 8px 0; }
.answer-details { margin-top: 24px; border-block: 1px solid #cbd3c3; }
.answer-details > summary { cursor: pointer; padding: 15px 0; color: #254416; font-weight: 650; }
.answer-details > summary span { color: #4e6043; font-size: 12px; font-weight: 400; margin-left: 12px; }
.answer-proof { padding-bottom: 20px; overflow-wrap: anywhere; }
.answer-proof h3 { font-size: 16px; margin: 26px 0 12px; }
.answer-proof h4 { font-size: 13px; margin: 12px 0 4px; }
.answer-proof p { margin: 6px 0; }
.answer-snapshot, .answer-basis { color: #63715a; font-size: 12px; }
.answer-calculation { padding: 12px 0; border-bottom: 1px dashed #c9d2c1; font-variant-numeric: tabular-nums; }
.answer-calculation strong { font-size: 12px; color: #4f6242; }
.answer-records { list-style: none; padding: 0; margin: 0; }
.answer-records li { padding: 13px 0; border-bottom: 1px solid #d7dfd0; }
.answer-records li > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; }
.answer-records a, .answer-source-link { color: #355b1b; text-underline-offset: 4px; }
.answer-records p { color: #617058; font-size: 12px; }
.answer-records strong { white-space: nowrap; font-variant-numeric: tabular-nums; }
.answer-proof ul:not(.answer-records) { padding-left: 20px; color: #526248; }
.message .actions {
    margin-top: 15px;
}
.chat-form {
    position: sticky;
    bottom: 20px;
    background: #e8efdf;
    border: 1px solid #d4dbcb;
    box-shadow: 0 10px 40px #1115110d;
    border-radius: 16px;
    padding: 9px;
    display: flex;
    gap: 8px;
    margin-top: 30px;
}
.chat-form input {
    border: 0;
    background: transparent;
    flex: 1;
    min-width: 0;
}
.chat-form .btn {
    padding: 12px 16px;
}
label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}
input,
select,
textarea {
    width: 100%;
    border: 1px solid #dce2d5;
    background: white;
    border-radius: 10px;
    padding: 13px 14px;
    min-height: 48px;
    color: var(--black);
}
textarea {
    min-height: 110px;
    resize: vertical;
}
.form-field {
    margin-bottom: 19px;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 0;
    line-height: 1.6;
    font-size: 13px;
    cursor: pointer;
    font-weight: 400;
}
.form-check input {
    width: 19px;
    height: 19px;
    min-height: 19px;
    margin-top: 2px;
    accent-color: #81b72c;
    flex-shrink: 0;
}
.form-check span {
    flex: 1;
}
.field-hint {
    font-size: 11px;
    color: var(--muted);
    margin-top: 7px;
}
.back {
    font-size: 12px;
    color: var(--muted);
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.loading {
    min-height: 50vh;
    display: grid;
    place-items: center;
    color: var(--muted);
    font-size: 14px;
}
.error-page {
    padding: 70px 20px;
    text-align: center;
}
.error-page p {
    margin: 15px 0;
    color: var(--muted);
}
dialog {
    border: 1px solid var(--line);
    border-radius: 22px;
    width: min(570px, calc(100vw - 30px));
    padding: 28px;
    box-shadow: 0 20px 100px #0003;
    max-height: 90vh;
    overflow: auto;
}
dialog::backdrop {
    background: #11151170;
    backdrop-filter: blur(4px);
}
dialog h2 {
    margin-bottom: 12px;
}
dialog p {
    font-size: 13px;
    color: var(--muted);
}
dialog .actions {
    margin-top: 22px;
}
#toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: var(--black);
    color: white;
    font-size: 13px;
    padding: 14px 22px;
    border-radius: 12px;
    box-shadow: 0 8px 30px #0002;
    display: none;
    max-width: 90vw;
}
.offline-banner {
    background: #fff0d3;
    color: #80601c;
    text-align: center;
    font-size: 12px;
    padding: 11px;
}
.welcome {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
}
.welcome-art {
    background: var(--black);
    color: white;
    padding: 60px 65px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.welcome-art h1 {
    font-size: 65px;
    font-weight: 650;
    letter-spacing: -3px;
    line-height: 1.12;
    max-width: 450px;
}
.welcome-art h1 span {
    color: var(--green);
}
.welcome-art p {
    color: #aab6a0;
    font-size: 15px;
    max-width: 360px;
    margin: 26px 0;
}
.welcome-art .orb {
    height: 170px;
    width: 170px;
    border: 1px solid #92be57;
    border-radius: 50%;
    box-shadow:
        0 0 0 30px #a8e63d08,
        0 0 0 60px #a8e63d04;
    margin: 35px 50px;
    display: grid;
    place-items: center;
    font-size: 70px;
    color: var(--green);
}
.welcome-art .welcome-flow {
    display: grid;
    gap: 0;
    margin: 32px 0 20px;
    max-width: 420px;
    border-top: 1px solid #334130;
}
.welcome-flow > div {
    padding: 15px 0;
    border-bottom: 1px solid #334130;
}
.welcome-flow strong {
    color: #e8f4dc;
    font-size: 16px;
    font-weight: 600;
}
.welcome-art .welcome-flow p {
    margin: 5px 0 0;
    font-size: 13px;
    line-height: 1.5;
}
.tara-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 24px;
    margin-bottom: 22px;
    border: 1px solid #c6dbb2;
    border-radius: var(--radius);
    background: linear-gradient(110deg, #e9f6db, #f7faf2);
}
.tara-welcome p {
    color: #526148;
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.6;
}
.checkout-summary {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f5f8f1;
}
.checkout-summary p { margin: 0 0 6px; color: var(--muted); font-size: 13px; }
.checkout-summary strong { font-size: 30px; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.checkout-summary .status { margin-left: auto; }
.payment-detail {
    padding: 18px;
    margin: 15px 0;
    background: #f7f9f4;
    border: 1px solid var(--line);
    border-radius: 16px;
}
.payment-detail p { margin: 8px 0 14px; color: #5d6854; font-size: 13px; line-height: 1.65; }
.demo-instruments { display: flex; flex-wrap: wrap; gap: 9px; }
.demo-instrument {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 13px;
    background: white;
    border: 1px solid #cfd8c6;
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
}
.demo-instrument:has(input:checked) { border-color: #6b9b3d; background: #eaf6dd; }
.demo-instrument input { width: auto; accent-color: #517f2d; }
.checkout-footnote { margin-top: 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.welcome-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}
.welcome-content {
    width: 100%;
    max-width: 440px;
}
.welcome-content h2 {
    font-size: 30px;
    margin: 18px 0 12px;
}
.welcome-content > p {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 25px;
}
.persona {
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px;
    margin: 12px 0;
    background: white;
    width: 100%;
    text-align: left;
}
.persona:hover,
.persona.selected {
    border-color: #86b948;
    background: #f5faef;
}
.persona h3 {
    font-size: 14px;
}
.persona p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 5px;
}
.persona .avatar {
    width: 42px;
    flex-shrink: 0;
}
.onboard {
    max-width: 650px;
    margin: 60px auto;
    padding: 35px;
}
.onboard .brand {
    margin-bottom: 50px;
}
.onboard h1 {
    font-size: 31px;
    margin: 24px 0;
}
.onboard .steps {
    display: flex;
    gap: 8px;
}
.onboard .steps span {
    height: 4px;
    flex: 1;
    background: #dfe5d8;
    border-radius: 4px;
}
.onboard .steps span.done {
    background: var(--green);
}
.choices {
    display: grid;
    gap: 12px;
}
.choice {
    padding: 19px 20px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: white;
    text-align: left;
    font-size: 14px;
}
.choice.selected {
    border-color: #87b94c;
    background: var(--soft);
}
.onboard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.mobile-nav {
    display: none;
}
.hide {
    display: none !important;
}
@media (min-width: 1550px) {
    main {
        padding-top: 50px;
    }
    .overview {
        gap: 28px;
    }
    .balance-card {
        min-height: 270px;
    }
    .chart-wrap {
        height: 245px;
    }
}
@media (max-width: 1180px) {
    .sidebar {
        width: 205px;
        padding-left: 14px;
        padding-right: 14px;
    }
    .shell {
        margin-left: 205px;
    }
    .topbar {
        padding: 0 28px;
    }
    main {
        padding: 28px;
    }
    .overview {
        grid-template-columns: 1fr 1.25fr;
    }
    .balance-card {
        padding: 25px;
    }
    .balance-card .amount {
        font-size: 37px;
    }
    .movement-value {
        font-size: 17px;
    }
    .grid {
        gap: 14px;
    }
    .tile {
        padding: 22px;
    }
    .welcome-art {
        padding: 45px;
    }
    .welcome-art h1 {
        font-size: 54px;
    }
}
@media (max-width: 960px) {
    .overview {
        grid-template-columns: 1fr;
    }
    .balance-card {
        min-height: 270px;
    }
    .balance-card .amount {
        font-size: 40px;
    }
    .home-bottom {
        grid-template-columns: 1fr;
    }
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .top-actions {
        gap: 7px;
    }
    .header-button {
        padding: 10px;
    }
    .header-button .label {
        display: none;
    }
    .welcome-art h1 {
        font-size: 46px;
    }
    .welcome-form {
        padding: 35px;
    }
    .stat .amount {
        font-size: 23px;
    }
    .date-label {
        display: none;
    }
}
@media (max-width: 700px) {
    .sidebar {
        display: none;
    }
    .shell {
        margin-left: 0;
    }
    .topbar {
        height: 72px;
        padding: 0 18px;
    }
    .crumb {
        font-size: 12px;
    }
    .crumb .crumb-prefix {
        display: none;
    }
    .top-actions .demo-tag {
        display: none;
    }
    main {
        padding: 27px 18px 105px;
    }
    h1 {
        font-size: 29px;
        letter-spacing: -1px;
    }
    .page-head {
        margin-bottom: 24px;
        align-items: flex-start;
    }
    .page-head p {
        font-size: 12px;
    }
    .page-head .btn {
        padding: 10px 12px;
        font-size: 11px;
    }
    .balance-card {
        padding: 26px;
        min-height: 280px;
    }
    .balance-card .amount {
        font-size: 43px;
    }
    .overview {
        gap: 17px;
    }
    .chart-card {
        padding: 22px 18px;
    }
    .chart-wrap {
        height: 190px;
    }
    .reconciliation {
        font-size: 10px;
    }
    .quick-actions {
        gap: 11px;
    }
    .quick-action {
        padding: 17px 13px;
        gap: 9px;
        flex-wrap: wrap;
    }
    .quick-icon {
        width: 36px;
        height: 36px;
        font-size: 19px;
    }
    .quick-action h3 {
        font-size: 12px;
    }
    .quick-action p {
        font-size: 10px;
    }
    .quick-action .arrow {
        display: none;
    }
    .focus-card,
    .ask-card {
        padding: 24px;
    }
    .home-bottom {
        gap: 17px;
        margin-top: 23px;
    }
    .grid,
    .grid.two {
        grid-template-columns: 1fr;
    }
    .tile {
        min-height: 160px;
    }
    .stat-row {
        gap: 10px;
        grid-template-columns: 1fr;
    }
    .stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 19px;
    }
    .stat .amount {
        font-size: 25px;
        margin: 0;
    }
    .panel {
        padding: 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .list-row {
        gap: 10px;
    }
    .list-amount {
        font-size: 14px;
    }
    .list-leading {
        gap: 10px;
    }
    .detail-kv {
        font-size: 12px;
    }
    .store-banner {
        padding: 26px;
    }
    .store-banner h2 {
        font-size: 26px;
    }
    .store-orb {
        display: none !important;
    }
    .product-image {
        height: 230px;
    }
    .cart-line {
        grid-template-columns: 1fr 60px 80px;
        gap: 9px;
    }
    .cart-line input {
        padding: 9px;
    }
    .cart-line .list-amount {
        font-size: 13px;
    }
    .welcome {
        grid-template-columns: 1fr;
    }
    .welcome-art {
        padding: 30px;
        min-height: 310px;
    }
    .welcome-art h1 {
        font-size: 42px;
        margin-top: 38px;
        max-width: 340px;
    }
    .welcome-art .orb,
    .welcome-art .eyebrow {
        display: none;
    }
    .welcome-art p {
        font-size: 12px;
        margin: 15px 0 0;
    }
    .welcome-form {
        padding: 35px 25px;
    }
    .welcome-art .welcome-flow { margin: 18px 0 0; }
    .welcome-flow > div { padding: 10px 0; }
    .welcome-flow strong { font-size: 14px; }
    .welcome-art .welcome-flow p { display: none; }
    .onboard {
        margin: 0 auto;
        padding: 27px 23px;
    }
    .onboard .brand {
        margin-bottom: 35px;
    }
    .onboard h1 {
        font-size: 26px;
    }
    .mobile-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 76px;
        padding: 8px 8px max(8px, env(safe-area-inset-bottom));
        display: flex;
        overflow-x: auto;
        justify-content: space-around;
        background: #111511;
        z-index: 40;
        border-radius: 18px 18px 0 0;
    }
    .mobile-nav a {
        color: #a9b39f;
        display: flex;
        flex-direction: column;
        gap: 5px;
        align-items: center;
        justify-content: center;
        min-width: 54px;
        min-height: 50px;
        border-radius: 11px;
        font-size: 10px;
        padding: 7px;
    }
    .mobile-nav a.active {
        background: var(--green);
        color: var(--black);
    }
    .mobile-nav .nav-icon {
        font-size: 20px;
    }
    .chat-form {
        bottom: 90px;
    }
    .chat-intro {
        padding: 12px 0;
    }
    .message {
        max-width: 95%;
        font-size: 13px;
    }
    .prompts {
        gap: 7px;
    }
    .prompts button {
        font-size: 11px;
        padding: 11px;
    }
    #toast {
        bottom: 92px;
    }
    .workspace {
        gap: 2px;
    }
    .workspace select {
        font-size: 11px;
        max-width: 100px;
    }
    .tabs {
        gap: 6px;
    }
    .tabs a {
        padding: 11px 12px;
        font-size: 11px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
.bill-import {
  padding: 16px;
  margin: 16px 0 20px;
  border-radius: 12px;
  background: #f2f6ed;
}

.bill-import textarea {
  resize: vertical;
  margin-top: 8px;
}

.payment-methods {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 20px 0 8px;
  padding: 0;
  border: 0;
}

.payment-methods legend {
  font-weight: 700;
  margin-bottom: 10px;
}

.payment-method {
  display: grid;
  grid-template-columns: auto 52px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid #d6ded0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.payment-method:has(input:checked) {
  border-color: #6d9435;
  background: #f2f9e7;
}

.payment-method input[type="radio"] {
  height: 17px;
  width: 17px;
  margin: 0;
  accent-color: #517924;
}

.payment-icon {
  display: grid;
  place-items: center;
  min-height: 30px;
  color: #34472a;
  font-size: 20px;
}

.payment-method small {
  display: block;
  color: #4d5945;
  margin-top: 2px;
}

#mock-payment-options {
  margin: 8px 0 14px;
}

.checkout-merchant-mark { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:var(--lime, #aceb32); color:#111; font-size:26px; font-weight:800; flex-shrink:0; }

/* Keep the summary row balanced; expand supporting records only when needed. */
.financial-chart .chart-basis { margin: 8px 0; font-size: 10px; }
.financial-chart .chart-records { margin-top: 6px; }
.ai-impact-heading { cursor: pointer; list-style: none; }
.ai-impact-heading::-webkit-details-marker { display: none; }
.ai-impact-toggle { margin-left: auto; font-size: 12px; color: #31541a; border: 1px solid #b7cda2; border-radius: 8px; padding: 8px 12px; }
.ai-impact-toggle::after { content: "Minimize −"; }
.ai-impact:not([open]) .ai-impact-toggle::after { content: "Expand +"; }
.ai-impact:not([open]) { padding-block: 14px; }
.ai-impact-note a { margin-left: 8px; text-decoration: underline; }

.decision-card {margin:12px 0 20px;padding:18px 22px;border-left:4px solid #6b9824;background:#e7f2d7;border-radius:12px;color:#213b15;}
.decision-card > strong {font-size:23px;}.decision-card ul{margin:8px 0 0;padding-left:20px;}
.retrieval-badge {font-size:12px;color:#345421;margin-top:14px;}.retrieval-proof {margin:12px 0;}.retrieval-proof summary{cursor:pointer;font-weight:600;}
#csv-text{font-family:ui-monospace,monospace;font-size:13px;min-height:220px;}#csv-preview{margin-top:22px;overflow-wrap:anywhere;}
