:root {
    --ink: #243c35;
    --muted: #6c7d75;
    --green: #277961;
    --line: #e1e7e0;
    --bg: #f5f6f1;
    --orange: #de8553;
    --shadow: 0 5px 20px #223c2b05;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 14px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #7ab59d; outline-offset: 4px; }
button { cursor: pointer; }
.icon { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 242px; background: #142b24; padding: 35px 22px 23px; display: flex; flex-direction: column; color: #f4f7ee; z-index: 10; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 700; letter-spacing: -.6px; color: inherit; }
.brand-light { font-weight: 450; }
.brand-icon { display: grid; place-items: center; background: #d3e7b2; border-radius: 11px; width: 37px; height: 37px; flex-shrink: 0; }
.brand-icon img { width: 21px; height: 21px; opacity: .75; }
.workspace-label, .nav-label { font-size: 9px; font-weight: 600; letter-spacing: 1.5px; color: #a1b3a8; }
.workspace-label { margin: 53px 13px 17px; }
.nav-label { margin: 35px 13px 15px; }
.sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 7px; margin: 5px 0; color: #b7c8bc; font-size: 12px; font-weight: 500; transition: background .2s, color .2s; }
.sidebar nav .icon { filter: invert(1); opacity: .65; width: 17px; height: 17px; }
.sidebar nav a:hover { background: #ffffff0b; color: #fff; }
.sidebar nav a.active { background: #d5e7b4; color: #1b3d29; font-weight: 650; box-shadow: 0 3px 10px #00000008; }
.sidebar nav a.active .icon { filter: none; opacity: .75; }
.sidebar-caption { margin: auto 13px 30px; padding-top: 60px; }
.sidebar-caption span { font-size: 7px; letter-spacing: 1px; color: #91a798; }
.sidebar-caption p { margin-top: 13px; font-size: 23px; line-height: 1.4; letter-spacing: -.7px; font-weight: 400; color: #c6d6c6; }
.sidebar-bottom { display: flex; gap: 11px; align-items: center; border-top: 1px solid #ffffff15; padding-top: 23px; }
.sidebar-bottom strong { display: block; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.sidebar-bottom small { display: block; font-size: 9px; margin-top: 3px; color: #9aae9e; }
.account-name { min-width: 0; }
.sidebar-bottom form { margin-left: auto; }
.avatar { width: 34px; height: 34px; border-radius: 50%; color: #d9e6d3; background: #344a39; border: 1px solid #61795a66; display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.logout { display: grid; place-items: center; background: none; border: 0; padding: 7px; border-radius: 6px; }
.logout:hover { background: #ffffff12; }
.logout .icon { filter: invert(1); opacity: .65; width: 16px; }
.shell { margin-left: 242px; }
.topbar { height: 70px; border-bottom: 1px solid var(--line); padding: 0 40px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; background: #fafbf7; }
.breadcrumb { display: flex; align-items: center; gap: 13px; color: var(--muted); }
.breadcrumb .icon { width: 13px; height: 13px; opacity: .4; }
.breadcrumb strong { color: var(--ink); font-weight: 500; }
.connection { display: flex; align-items: center; gap: 7px; color: #586b5b; font-size: 10px; }
.connection i { width: 5px; height: 5px; border-radius: 50%; background: #5a9369; box-shadow: 0 0 0 3px #5a93690d; }
main { max-width: 1510px; margin: auto; padding: 34px 40px 32px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.eyebrow { color: #6e8066; font-size: 9px; font-weight: 650; letter-spacing: 1.5px; margin-bottom: 8px; }
h1 { font-size: clamp(26px,2.5vw,36px); font-weight: 550; line-height: 1.2; letter-spacing: -1.3px; margin: 0 0 10px; }
h2 { font-size: 18px; font-weight: 600; line-height: 1.4; letter-spacing: -.5px; margin: 0 0 6px; }
h3 { font-weight: 550; }
p { margin: 0; line-height: 1.65; }
.muted { color: var(--muted); }
.page-heading p { font-size: 12px; }
.title-dot { color: #76a55a; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; background: var(--green); border: 1px solid var(--green); border-radius: 7px; padding: 11px 17px; min-height: 42px; color: white; font-size: 11px; font-weight: 600; white-space: nowrap; box-shadow: 0 2px 2px #142b2408; transition: background .2s, box-shadow .2s; }
.button .icon { filter: invert(1); width: 15px; height: 15px; }
.button:hover { background: #1a654f; box-shadow: 0 4px 10px #27796125; }
.button:disabled { opacity: .55; cursor: wait; }
.button.secondary { color: #365b46; border-color: #cddcc8; background: #edf2e7; box-shadow: none; }
.button.secondary:hover { background: #dfe9d6; }
.stats { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 17px; margin-bottom: 25px; }
.stats article { border: 1px solid var(--line); background: #fff; border-radius: 11px; padding: 20px 22px; box-shadow: var(--shadow); }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: #6c7c6d; font-size: 11px; }
.stat-icon { background: #eff4e9; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; }
.stat-icon img { width: 14px; height: 14px; opacity: .6; }
.stat-icon.blue { background: #edf3f7; }
.stats strong { display: block; font-size: 34px; line-height: 1.2; font-weight: 550; letter-spacing: -1.3px; margin: 11px 0 9px; font-variant-numeric: tabular-nums; }
.stats small { color: #7c8b7b; font-size: 11px; font-weight: 400; letter-spacing: 0; margin-left: 7px; }
.stat-note { color: #7b8976; font-size: 10px; }
.stats .period-card { background: #e9efd9; border-color: #dce4ce; }
.period-card .stat-top { color: #55664a; height: 29px; }
.period-card .stat-top>.icon { opacity: .5; width: 17px; }
.stats .period { font-size: 24px; letter-spacing: -.8px; margin: 17px 0 13px; }
.period span { color: #879772; padding: 0 5px; font-weight: 400; }
.period-card .stat-note { color: #677d4c; display: flex; align-items: center; gap: 6px; }
.period-card .stat-note i { width: 5px; height: 5px; border-radius: 50%; background: #7b9754; }
.filters { display: flex; align-items: end; gap: 14px; margin-bottom: 27px; }
.filters label { margin: 0; font-size: 10px; font-weight: 500; color: #697967; }
.filters .search-label { flex: 1; }
.input-icon { display: block; position: relative; }
.input-icon>.icon { position: absolute; left: 12px; top: 13px; width: 15px; height: 15px; opacity: .45; }
.input-icon input { padding-left: 36px; }
label { display: block; margin-bottom: 20px; font-size: 12px; font-weight: 500; }
input, select { display: block; width: 100%; min-height: 42px; border: 1px solid #dce3d6; border-radius: 7px; padding: 10px 12px; background: #fff; color: var(--ink); margin-top: 7px; font-size: 12px; }
input::placeholder { color: #929e8e; }
input:hover, select:hover { border-color: #b6c6ae; }
input:focus, select:focus { outline: 2px solid #86bda060; border-color: #659376; }
label small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; font-weight: 400; }
.reset { font-size: 11px; padding: 12px 4px; color: #697d62; text-decoration: underline; text-underline-offset: 3px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; margin-bottom: 24px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; padding: 25px 27px 18px; gap: 20px; }
.section-heading .eyebrow { font-size: 8px; color: #7b8a70; }
.section-heading p { font-size: 11px; color: var(--muted); }
.chart-panel .section-heading h2 { font-size: 20px; letter-spacing: -.6px; }
.subtle-divider { color: #bfccba; padding: 0 6px; }
.chart-picker { min-width: 200px; max-width: 290px; }
.chart-picker label { font-size: 10px; color: var(--muted); margin: 0; }
.chart-picker select { min-height: 37px; background: #f8faf5; font-size: 11px; }
.chart-meta { display: flex; justify-content: space-between; align-items: center; padding: 0 27px 5px; gap: 15px; }
.latest-price { display: flex; align-items: baseline; gap: 12px; }
.latest-price strong { font-size: 29px; letter-spacing: -1px; font-weight: 550; }
.latest-price span { font-size: 10px; color: var(--muted); }
.chart-legend { font-size: 10px; color: #6f7f67; }
.chart-legend i { display: inline-block; width: 17px; height: 3px; background: var(--green); margin-right: 7px; vertical-align: middle; border-radius: 2px; }
.chart { position: relative; margin: 0 20px; height: 246px; }
.chart svg { width: 100%; height: 100%; overflow: visible; display: block; }
.chart-point { cursor: crosshair; }
.chart-point:hover, .chart-point:focus { r: 16; }
.chart-point:focus { outline: none; }
.chart-note { display: flex; align-items: center; gap: 8px; padding: 13px 27px; border-top: 1px solid #eff1eb; font-size: 9px; color: #7a8970; background: #fcfdf9; }
.note-dot { width: 4px; height: 4px; border-radius: 50%; background: #8ba276; flex-shrink: 0; }
.pill { display: inline-block; background: #eff3e9; border: 1px solid #e4ebd9; font-size: 10px; padding: 5px 10px; border-radius: 20px; color: #667b55; white-space: nowrap; }
.table-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: #cbd5c1 transparent; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; text-align: left; }
th { padding: 13px 26px; background: #f8faf5; color: #7b8972; font-size: 9px; font-weight: 600; letter-spacing: .7px; border-block: 1px solid #e9ede2; }
td { padding: 14px 26px; border-bottom: 1px solid #eef1e9; font-size: 11px; transition: background .15s; }
td:first-child { font-weight: 550; }
td a { display: flex; align-items: center; gap: 10px; color: inherit; }
tr.selected { background: #f0f6e7; }
tr.selected td:first-child { box-shadow: inset 3px 0 #5b8f54; }
tbody tr:not(.selected):hover { background: #fafcf7; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.row-dot { width: 5px; height: 5px; background: #c9d4c2; border-radius: 50%; flex-shrink: 0; }
.selected .row-dot { background: #51815a; }
.row-arrow { margin-left: auto; width: 12px; height: 12px; opacity: 0; }
.selected .row-arrow, tr:hover .row-arrow, td a:focus .row-arrow { opacity: .45; }
.unit { display: inline-block; padding: 2px 6px; background: #f1f4ed; border: 1px solid #e6ecdf; border-radius: 4px; font-size: 9px; font-weight: 500; color: #7c8873; }
.table-foot { display: flex; justify-content: space-between; gap: 15px; padding: 14px 26px; font-size: 9px; color: #829077; }
.legend-dot { display: inline-block; width: 5px; height: 5px; background: #63965b; border-radius: 50%; margin-right: 5px; }
.data-note { display: flex; justify-content: space-between; gap: 16px; font-size: 9px; color: #7b8972; }
.data-note>span:first-child { display: flex; align-items: center; gap: 6px; }
.data-note .icon { width: 12px; height: 12px; opacity: .4; }
footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; padding: 20px 40px; font-size: 9px; color: #88947d; }
footer b { padding: 0 8px; font-weight: 400; opacity: .5; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); white-space: normal; }
.empty h3 { color: var(--ink); font-size: 16px; }
.empty-icon { width: 30px; height: 30px; opacity: .3; }
.notice { padding: 16px 20px; border: 1px solid; border-radius: 8px; margin-bottom: 22px; font-size: 12px; }
.notice ul { margin-bottom: 0; padding-left: 18px; }
.success { background: #edf5e9; color: #3a6535; border-color: #d6e8cc; }
.error { background: #fff2ed; color: #913b29; border-color: #f2d9cf; }
.import-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.upload-panel, .import-help { padding: 34px; }
.upload-icon { display: grid; place-items: center; width: 53px; height: 53px; background: #edf3e6; border: 1px solid #e2eada; border-radius: 14px; margin-bottom: 24px; }
.upload-icon img { width: 24px; height: 24px; opacity: .65; }
.file-field { padding: 26px; background: #fafcf6; border: 1px dashed #c1d1b3; border-radius: 9px; margin-top: 25px; }
.file-field input { border: 0; background: none; padding: 7px 0; font-size: 11px; }
input::file-selector-button { border: 1px solid #cddac2; border-radius: 5px; background: white; color: #47613e; padding: 6px 10px; cursor: pointer; margin-right: 12px; }
.full { width: 100%; justify-content: space-between; }
.import-help { background: #f9fbf5; }
.import-help ol { padding-left: 18px; font-size: 12px; line-height: 1.8; color: #66775d; }
.import-help li { padding: 7px 0 7px 6px; }
.import-help p { font-size: 11px; color: #7b8972; }
.actions { display: flex; gap: 18px; align-items: center; }
.actions a { color: var(--green); }
.danger-link { background: none; border: 0; color: #ac604e; font-size: 11px; padding: 0; }
.status-active { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.status-active::before { content: ''; width: 5px; height: 5px; background: #659b59; border-radius: 50%; }
.account-form { padding: 30px; max-width: 900px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 25px; }
.form-actions { display: flex; justify-content: end; gap: 18px; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.back-link { display: inline-block; font-size: 11px; margin-bottom: 24px; }
.pagination { padding: 10px 25px; }
.pagination ul { display: flex; list-style: none; gap: 20px; padding: 0; font-size: 11px; }
.guest-shell { min-height: 100vh; background: #f2f4ec; }
.guest-shell main { max-width: 1120px; padding: 70px 40px; }
.login-grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 660px; border-radius: 18px; overflow: hidden; background: white; box-shadow: 0 18px 65px #23452a0b; border: 1px solid #dce5d4; }
.login-intro { background: #17392c; color: white; padding: 46px; }
.login-intro .brand { color: #eef5e6; margin-bottom: 76px; }
.login-intro .eyebrow { color: #b9d394; font-size: 8px; }
.login-intro h1 { font-size: 43px; font-weight: 450; line-height: 1.18; margin: 22px 0; letter-spacing: -1.5px; }
.login-intro em { font-style: normal; color: #d1e7a9; }
.login-intro p { color: #b7cbb2; max-width: 320px; font-size: 12px; }
.login-intro>small { color: #96b08e; font-size: 9px; }
.login-feature { display: flex; gap: 15px; align-items: center; margin: 42px 0 20px; padding-top: 28px; border-top: 1px solid #ffffff1a; font-size: 11px; color: #d6e5cc; }
.login-feature>.icon { filter: invert(1); opacity: .7; width: 27px; height: 27px; }
.login-feature small { color: #9db792; font-size: 10px; }
.login-card { padding: 117px 46px 50px; }
.login-card h2 { font-size: 24px; letter-spacing: -.8px; margin-bottom: 12px; }
.login-card>p { font-size: 12px; }
.login-card form { margin-top: 35px; }
.login-card label { font-size: 11px; }
.login-card input { padding-block: 12px; }
.login-note { margin-top: 24px; text-align: center; color: var(--muted); }
@media (min-width: 1550px) { main { padding-top: 44px; } .chart { height: 280px; } }
@media (max-width: 1180px) {
    .sidebar { width: 210px; padding-inline: 16px; }
    .shell { margin-left: 210px; }
    .brand { font-size: 16px; gap: 8px; }
    .brand-icon { width: 31px; height: 31px; }
    .topbar { padding-inline: 28px; }
    main { padding: 28px; }
    .stats { gap: 12px; }
    .stats article { padding: 17px; }
    .stats .period { font-size: 20px; margin-block: 19px 14px; }
    .filters { gap: 10px; flex-wrap: wrap; }
    .filters .search-label { min-width: 100%; }
    .filters label:not(.search-label) { flex: 1; }
    .import-grid { gap: 16px; }
    .upload-panel, .import-help { padding: 25px; }
}
@media (max-width: 760px) {
    .sidebar { position: static; width: 100%; padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 18px 12px; }
    .sidebar .brand { font-size: 17px; }
    .workspace-label, .nav-label, .sidebar-caption { display: none; }
    .sidebar nav { grid-row: 2; grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
    .sidebar nav a { padding: 9px 11px; font-size: 10px; margin: 0; gap: 7px; }
    .sidebar nav .icon { width: 14px; height: 14px; }
    .sidebar-bottom { grid-row: 1; grid-column: 2; border: 0; padding: 0; gap: 8px; }
    .sidebar-bottom .avatar { width: 29px; height: 29px; }
    .sidebar-bottom .account-name { display: none; }
    .shell { margin: 0; }
    .topbar { height: 50px; padding: 0 20px; font-size: 10px; }
    .connection { font-size: 9px; }
    main { padding: 26px 20px; }
    .page-heading { align-items: start; gap: 12px; margin-bottom: 23px; }
    h1 { font-size: 27px; max-width: 340px; }
    .page-heading .eyebrow { font-size: 8px; }
    .page-heading p { font-size: 11px; }
    .button { padding: 10px 13px; font-size: 10px; min-height: 39px; }
    .stats { grid-template-columns: 1fr 1fr; margin-bottom: 22px; }
    .stats article:last-child { grid-column: 1 / -1; }
    .stats strong { font-size: 30px; }
    .stat-top { font-size: 10px; }
    .stats .period { font-size: 22px; margin: 10px 0; }
    .period-card .stat-top { height: 18px; }
    .stat-note { font-size: 9px; }
    .filters { margin-bottom: 22px; }
    .filters label:not(.search-label) { min-width: 120px; }
    .section-heading { padding: 21px 20px 17px; }
    .chart-panel .section-heading { align-items: start; gap: 16px; }
    .chart-panel .section-heading h2 { font-size: 17px; }
    .chart-picker { min-width: 150px; max-width: 45%; }
    .chart-picker select { font-size: 10px; padding: 9px; }
    .chart-meta { padding: 0 20px 5px; }
    .latest-price strong { font-size: 26px; }
    .latest-price { gap: 8px; }
    .latest-price span, .chart-legend { font-size: 9px; }
    .chart { margin-inline: 10px; height: 235px; }
    .chart-note { padding: 12px 20px; font-size: 8px; }
    h2 { font-size: 16px; }
    th, td { padding: 13px 18px; }
    .table-foot { padding: 13px 18px; font-size: 8px; }
    .table-scroll td:first-child, .table-scroll th:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 2px 0 5px #21391705; }
    .table-scroll th:first-child { background: #f8faf5; }
    .table-scroll tr.selected td:first-child { background: #f0f6e7; box-shadow: inset 3px 0 #5b8f54; }
    .row-arrow { display: none; }
    .data-note { flex-wrap: wrap; font-size: 8px; gap: 7px; }
    .import-grid, .form-grid { grid-template-columns: 1fr; }
    .import-grid { gap: 0; }
    footer { padding: 18px 20px; font-size: 8px; }
    .login-grid { grid-template-columns: 1fr; }
    .guest-shell main { padding: 20px; }
    .login-intro { padding: 30px; }
    .login-intro .brand { margin-bottom: 34px; }
    .login-intro h1 { font-size: 37px; }
    .login-feature, .login-intro>small { display: none; }
    .login-card { padding: 36px 30px; }
}
@media (max-width: 420px) {
    .sidebar { padding: 17px 14px; }
    .sidebar nav { gap: 5px; }
    .sidebar nav a { padding-inline: 9px; font-size: 9px; }
    main { padding: 24px 14px; }
    .topbar { padding-inline: 14px; }
    .page-heading { flex-wrap: wrap; }
    h1 { font-size: 27px; }
    .page-heading .button { margin-top: 2px; }
    .stats article { padding: 15px; }
    .stats small { font-size: 9px; margin-left: 4px; }
    .stat-icon { width: 25px; height: 25px; }
    .chart-panel .section-heading { flex-wrap: wrap; }
    .chart-picker { max-width: none; width: 100%; }
    .chart-meta { align-items: start; }
    .latest-price { flex-direction: column; gap: 0; }
    .chart-legend { margin-top: 10px; }
    .chart { height: 215px; }
    .section-heading { padding-inline: 17px; }
    .table-foot { flex-direction: column; gap: 5px; }
    footer span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* Keep both native month inputs readable on narrow phones. */
@media (max-width: 420px) {
    .filters label:not(.search-label) { flex: 1 1 calc(50% - 5px); min-width: 0; }
    .filters .button { flex: 1; }
    .filters .reset { padding-inline: 12px; }
}

/* Reference-inspired blue area chart, scoped to the material spotlight. */
.chart-panel { border-color: #edf0f3; box-shadow: 0 4px 18px #253d5410, 0 1px 3px #253d5408; }
.chart-panel .eyebrow { color: #8e9aa4; }
.chart-panel .latest-price strong { color: #4a9fd8; font-weight: 400; }
.chart-panel .latest-price span, .chart-panel .chart-legend { color: #929da5; }
.chart-panel .chart-legend i { background: #4a9fd8; height: 2px; }
.chart-panel .chart { height: 300px; margin: 0 28px 12px; }
.chart-panel .chart-note { background: #fff; color: #8d99a3; border-top-color: #f3f5f7; }
.chart-panel .note-dot { background: #7eb8df; }
.chart-panel .chart-picker select { background: #fff; border-color: #e8edf1; box-shadow: 0 2px 7px #294e6810; }
@media (max-width: 760px) { .chart-panel .chart { height: 270px; margin-inline: 12px; } }
@media (max-width: 420px) { .chart-panel .chart { height: 245px; margin-inline: 8px; } }

/* AME identity: teal, orange and architectural photography. */
:root { --ink: #193943; --muted: #70828c; --green: #007f90; --line: #e3eaf0; --bg: #f3f6f9; --orange: #f47735; --shadow: 0 5px 24px #14384505; }
:focus-visible { outline-color: #27a6b6; }
.sidebar { background: #102e3a; background-image: linear-gradient(165deg,#163c48 0%,#102e3a 65%); }
.sidebar .brand, .login-intro .brand { align-items: flex-start; flex-direction: column; gap: 14px; }
.ame-logo { width: 116px; height: auto; display: block; }
.brand-descriptor { font-size: 8px; letter-spacing: 2px; font-weight: 500; color: #b6cfd6; }
.workspace-label, .nav-label { color: #88a7b2; }
.sidebar nav a { color: #b6cdd6; font-size: 12px; border: 1px solid transparent; }
.sidebar nav a.active { background: #ffffff10; border-color: #ffffff16; color: #fff; box-shadow: inset 3px 0 #f47735; }
.sidebar nav a.active .icon { filter: invert(1); opacity: 1; }
.sidebar-caption span { color: #91b2bd; font-size: 8px; }
.sidebar-caption p { color: #e0edf1; font-size: 23px; }
.sidebar-caption::before { content: ''; display: block; width: 29px; height: 3px; background: #f47735; margin-bottom: 19px; }
.sidebar-bottom small { color: #94b4bf; }
.avatar { color: #bcebf0; background: #22515d; border-color: #3b6570; }
.topbar { background: #ffffffd9; }
.connection { color: #647e89; }
.connection i { background: #079dad; box-shadow: 0 0 0 3px #079dad12; }
h1 { font-weight: 600; letter-spacing: -1.3px; }
.eyebrow, .section-heading .eyebrow { color: #648995; }
.title-dot { color: #f47735; }
.button { border-radius: 9px; font-size: 12px; }
.button:hover { background: #006a7b; box-shadow: 0 5px 15px #007f9025; }
.button.secondary { color: #006f80; background: #e7f3f5; border-color: #d1e6ea; }
.button.secondary:hover { background: #d7edf0; }
.project-banner { position: relative; isolation: isolate; min-height: 163px; overflow: hidden; border-radius: 15px; margin-bottom: 24px; padding: 29px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: white; background: #153e4d url('../brand/ame-ipark.jpg') center 53% / cover; }
.project-banner::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#102e3af7 0%,#133d4dde 35%,#123b4e35 74%,#0b263950); }
.project-kicker { font-size: 8px; letter-spacing: 2px; color: #a7dce2; }
.project-banner h2 { font-size: 25px; margin: 8px 0; font-weight: 500; letter-spacing: -.8px; }
.project-banner p { font-size: 11px; color: #bed6de; }
.project-location { align-self: end; border-left: 2px solid #f47735; padding-left: 12px; font-size: 10px; text-shadow: 0 1px 6px #000; }
.project-location span { display: block; font-size: 8px; margin-top: 4px; letter-spacing: 1px; }
.stats article { border-radius: 13px; }
.stat-top, .stat-note, .stats small { color: #70838c; }
.stat-icon { background: #e9f5f6; }
.stats .period-card { background: #e7f2f5; border-color: #d7e8ed; }
.period-card .stat-top, .period-card .stat-note { color: #517987; }
.period span { color: #79a1ae; }
.period-card .stat-note i { background: #159cab; }
.filters label, .reset { color: #687e89; }
input, select { border-color: #dce6eb; border-radius: 8px; }
input::placeholder { color: #98a6af; }
input:hover, select:hover { border-color: #a5c3cf; }
input:focus, select:focus { outline: 2px solid #28a4b52b; border-color: #2299aa; }
.panel { border-radius: 14px; }
.pill { color: #397987; background: #edf7f8; border-color: #dceef1; }
th { background: #f6f9fb; color: #738893; border-color: #e7edf1; }
td { font-size: 12px; border-color: #edf1f4; }
tr.selected { background: #edf7f9; }
tr.selected td:first-child { box-shadow: inset 3px 0 #0494a4; }
tbody tr:not(.selected):hover { background: #f7fafc; }
.row-dot { background: #c5d7df; }
.selected .row-dot, .legend-dot { background: #1199a8; }
.unit { color: #78919c; background: #f0f5f7; border-color: #e2ebef; }
.table-foot, .data-note, footer { color: #7c929c; }
.upload-icon { background: #eaf5f7; border-color: #d8e9ee; }
.file-field { background: #f7fbfc; border-color: #b9d4de; }
input::file-selector-button { border-color: #c6dde5; color: #387483; }
.import-help { background: #f7fafc; }
.import-help ol, .import-help p { color: #68838e; }
.status-active::before { background: #189aa7; }
.guest-shell { background: #edf2f6; }
.guest-shell main { max-width: 1220px; padding-top: 55px; padding-bottom: 55px; }
.login-grid { min-height: 690px; border-color: #e0e8ed; border-radius: 23px; box-shadow: 0 24px 80px #183f5010; }
.login-intro { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 44px; background: #153e4d url('../brand/ame-ipark.jpg') 59% center / cover; }
.login-intro::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,#102e3aed 0%,#102e3aaf 55%,#102e3a70); }
.login-intro .brand { margin-bottom: 70px; }
.login-intro .eyebrow { color: #a6d9df; letter-spacing: 2px; }
.login-intro h1 { font-size: clamp(35px,4vw,49px); font-weight: 500; }
.login-intro em { color: #75d2df; }
.login-intro p { color: #dae8ed; font-size: 13px; max-width: 330px; }
.login-location { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 65px; font-size: 11px; }
.login-location small { display: block; color: #c7dce4; font-size: 9px; margin-top: 3px; }
.location-mark { width: 3px; height: 30px; background: #f47735; }
.login-card { padding: 65px 48px 35px; }
.login-ame-logo { width: 99px; height: auto; margin-bottom: 45px; }
.login-card h2 { font-size: 34px; letter-spacing: -1.2px; margin-bottom: 10px; }
.login-card .eyebrow { font-size: 8px; letter-spacing: 1.6px; }
.login-card label { font-size: 12px; }
.login-card input { min-height: 48px; background: #fbfcfd; }
.login-card .button { min-height: 48px; margin-top: 8px; }
.login-note { font-size: 11px !important; }
.login-card-foot { margin-top: 55px; border-top: 1px solid var(--line); padding-top: 20px; color: #96a7b0; font-size: 9px; letter-spacing: .3px; }
.login-card-foot span { color: #f47735; margin: 0 9px; }
@media (max-width: 760px) {
    .sidebar .brand { gap: 8px; }
    .sidebar .ame-logo { width: 85px; }
    .sidebar .brand-descriptor { font-size: 6px; letter-spacing: 1.5px; }
    .sidebar nav a { font-size: 10px; }
    .project-banner { min-height: 160px; padding: 24px; }
    .project-banner h2 { font-size: 23px; }
    .project-location { display: none; }
    .project-banner::before { background: linear-gradient(90deg,#102e3af2,#123b4e77); }
    .table-scroll th:first-child { background: #f6f9fb; }
    .table-scroll tr.selected td:first-child { background: #edf7f9; box-shadow: inset 3px 0 #0494a4; }
    .guest-shell main { padding: 20px; }
    .login-intro { padding: 30px; background-position: center; }
    .login-intro .brand { margin-bottom: 45px; }
    .login-intro h1 { font-size: 37px; }
    .login-location { padding-top: 35px; }
    .login-card { padding: 35px 30px; }
    .login-ame-logo { display: none; }
    .login-card h2 { font-size: 30px; }
    .login-card-foot { margin-top: 30px; }
}
