:root {
  color-scheme: light;
  --bg: #f6f4f1;
  --panel: #fff;
  --panel-muted: #faf9f7;
  --ink: #24211f;
  --muted: #756e68;
  --muted-light: #928a83;
  --line: #e8e3de;
  --line-dark: #d8d0c8;
  --coffee: #76543c;
  --coffee-dark: #4b3426;
  --coffee-soft: #f2ece7;
  --green: #397253;
  --red: #a4473f;
  --amber: #926326;
  --radius: 12px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--ink); font: 14px/1.5 var(--font); background: var(--bg); }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .62; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #c6a88f; outline-offset: 2px; }
a { color: inherit; text-decoration: none; }
::selection { color: #fff; background: var(--coffee); }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 5; inset: 0 auto 0 0; display: flex; width: 244px; flex-direction: column; padding: 28px 18px 18px; border-right: 1px solid var(--line); background: var(--panel); }
.brand { display: flex; align-items: center; gap: 11px; margin: 0 0 48px 6px; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 9px; color: #fff; background: var(--coffee); font-size: 21px; font-weight: 600; letter-spacing: -.07em; }
.brand strong { display: block; font-size: 17px; font-weight: 650; letter-spacing: -.055em; line-height: 1.05; }
.brand small { display: block; margin-top: 4px; color: var(--muted-light); font-size: 9px; font-weight: 600; letter-spacing: .12em; }
.side-label, .section-kicker, .eyebrow, .table-head, .page-footer, .topbar-right, .login-panel-top, .login-panel-foot { letter-spacing: .09em; }
.side-label { padding: 0 12px; color: var(--muted-light); font-size: 10px; font-weight: 650; }
.side-nav { display: grid; gap: 5px; margin-top: 12px; }
.nav-item { position: relative; display: flex; height: 43px; align-items: center; gap: 12px; padding: 0 12px; border-radius: 8px; color: var(--muted); font-size: 13px; transition: background .16s ease, color .16s ease; }
.nav-item:hover { color: var(--ink); background: var(--panel-muted); }
.nav-item.active { color: var(--coffee-dark); background: var(--coffee-soft); font-weight: 600; }
.nav-item.active::before { position: absolute; top: 9px; bottom: 9px; left: -18px; width: 3px; border-radius: 0 3px 3px 0; background: var(--coffee); content: ''; }
.nav-icon { width: 19px; color: var(--muted-light); font-size: 17px; text-align: center; }
.active .nav-icon { color: var(--coffee); }
.nav-count { display: grid; min-width: 23px; height: 21px; place-items: center; margin-left: auto; border-radius: 6px; color: var(--muted); background: #fff; font: 10px var(--mono); }
.side-bottom { margin-top: auto; }
.profile-copy strong, .profile-copy small { display: block; }

.profile-button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 12px 7px 4px; border: 0; border-top: 1px solid var(--line); color: var(--ink); background: transparent; text-align: left; }
.avatar { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 9px; color: var(--coffee-dark); background: var(--coffee-soft); font-size: 10px; font-weight: 700; }
.profile-copy { flex: 1; }.profile-copy strong { font-size: 11px; font-weight: 600; }.profile-copy small { margin-top: 2px; color: var(--muted-light); font-size: 9px; }
.logout-icon { color: var(--muted-light); font-size: 15px; }
.main-content { max-width: 1600px; min-height: 100vh; margin-left: 244px; padding: 0 48px 20px; }
.topbar { display: flex; min-height: 64px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--muted-light); font-size: 12px; }
.breadcrumbs i { color: #c2bbb4; font-style: normal; }.breadcrumbs strong { color: var(--ink); font-weight: 550; }
.topbar-right { display: flex; align-items: center; gap: 14px; color: var(--muted-light); font-size: 9px; font-weight: 600; }
.live-pill { color: var(--coffee); }.top-divider { width: 1px; height: 16px; background: var(--line-dark); }.clock { min-width: 64px; font: 10px var(--mono); letter-spacing: 0; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 33px 0 23px; }
.eyebrow { display: flex; align-items: center; gap: 7px; color: var(--coffee); font-size: 10px; font-weight: 700; }
.eyebrow-line { width: 16px; height: 1px; background: var(--coffee); }
.page-heading h1 { margin: 7px 0 3px; font-size: clamp(27px,3vw,34px); font-weight: 600; letter-spacing: -.055em; line-height: 1.2; }
.page-heading h1 span { color: var(--coffee); font-weight: 450; }.page-heading p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line-dark); border-radius: 7px; color: var(--ink); background: #fff; font-size: 12px; font-weight: 600; transition: background .16s, border-color .16s, transform .16s; }
.button:hover { border-color: #b9aa9d; background: #faf8f6; }.button:active { transform: translateY(1px); }
.button-primary { border-color: var(--coffee); color: #fff; background: var(--coffee); }
.button-primary:hover { border-color: var(--coffee-dark); background: var(--coffee-dark); }
.button-plus { font-size: 18px; font-weight: 400; line-height: 1; }.button-search { min-width: 96px; border-color: var(--coffee); color: #fff; background: var(--coffee); }.button-search:hover { background: var(--coffee-dark); }
.button-quiet { border-color: transparent; background: transparent; }.button-quiet:hover { border-color: var(--line); background: var(--panel-muted); }.button-small { min-height: 33px; padding: 0 11px; font-size: 11px; }
.button-spinner { width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.search-panel { display: flex; min-height: 82px; align-items: center; gap: 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 2px 5px rgba(40,30,20,.025); }
.search-symbol { display: grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; border-radius: 8px; color: var(--coffee); background: var(--coffee-soft); }.search-symbol svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.search-field { position: relative; min-width: 0; flex: 1; }.search-field label { display: block; margin-bottom: 3px; color: var(--muted-light); font-size: 9px; font-weight: 700; letter-spacing: .08em; }.search-field input { width: 100%; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; }.search-field input::placeholder { color: #aaa29a; }.search-field input:focus { outline: 0; }
.search-hint { display: none; }.search-shortcut { display: flex; gap: 3px; }.search-shortcut kbd, kbd { display: inline-grid; min-width: 20px; height: 20px; place-items: center; padding: 0 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); background: var(--panel-muted); font: 10px var(--mono); }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; margin-top: 29px; }
.results-column { min-width: 0; }.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }.section-kicker { color: var(--muted-light); font-size: 9px; font-weight: 700; }.section-heading h2, .profile-section-head h3 { margin: 4px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -.03em; }.result-total { margin-left: 5px; color: var(--muted-light); font: 10px var(--mono); }.sort-label { display: flex; align-items: center; gap: 6px; padding-bottom: 3px; color: var(--muted); font-size: 10px; }.sort-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--coffee); }
.results-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 2px 5px rgba(40,30,20,.025); }.table-head { display: grid; grid-template-columns: minmax(180px,1.15fr) minmax(150px,1fr) 92px 18px; gap: 13px; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted-light); background: var(--panel-muted); font-size: 9px; font-weight: 700; }
.client-results { min-height: 240px; }.client-row { display: grid; min-height: 65px; grid-template-columns: minmax(180px,1.15fr) minmax(150px,1fr) 92px 18px; align-items: center; gap: 13px; padding: 10px 16px; border-bottom: 1px solid #f0edea; cursor: pointer; transition: background .15s; }.client-row:last-child { border-bottom: 0; }.client-row:hover { background: #fcfaf8; }
.client-name-wrap { display: flex; min-width: 0; align-items: center; gap: 10px; }.client-avatar { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 9px; color: var(--coffee-dark); background: var(--coffee-soft); font-size: 10px; font-weight: 700; }.client-name { overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.client-code { display: block; margin-top: 3px; color: var(--muted-light); font: 9px var(--mono); }.contact-cell { overflow: hidden; color: #514b46; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.contact-cell small { display: block; overflow: hidden; margin-top: 3px; color: var(--muted-light); font-size: 10px; text-overflow: ellipsis; }
.status-badge { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 4px 8px; border: 1px solid #dce9df; border-radius: 99px; color: var(--green); background: #f2f7f3; font-size: 10px; font-weight: 550; white-space: nowrap; }.status-badge::before { width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ''; }.status-badge.blocked { border-color: #f0d9d6; color: var(--red); background: #fbf2f1; }.status-badge.review { border-color: #eee1c8; color: var(--amber); background: #fbf7ee; }
.row-arrow { color: #aaa098; font-size: 17px; transition: color .15s, transform .15s; }.client-row:hover .row-arrow { color: var(--coffee); transform: translateX(2px); }
.empty-state { display: flex; min-height: 240px; flex-direction: column; align-items: center; justify-content: center; padding: 25px; text-align: center; }.empty-state strong { margin-top: 13px; color: var(--ink); font-size: 13px; font-weight: 600; }.empty-state p { max-width: 320px; margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }.empty-mark { position: relative; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; background: var(--panel-muted); }.empty-mark::before { width: 13px; height: 13px; border: 1.5px solid var(--coffee); border-radius: 50%; content: ''; }.empty-mark::after { position: absolute; top: 24px; left: 24px; width: 7px; height: 1.5px; background: var(--coffee); content: ''; transform: rotate(45deg); }.empty-mark i { display: none; }
.results-foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 3px; color: var(--muted-light); font-size: 10px; }.results-foot > span:first-child { display: inline-flex; align-items: center; gap: 7px; }.foot-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.insight-column { display: grid; align-content: start; gap: 12px; padding-top: 1px; }.insight-card { min-height: 277px; padding: 19px; border-radius: var(--radius); color: #fff; background: var(--coffee-dark); }.insight-top { display: flex; align-items: center; justify-content: space-between; }.insight-card .section-kicker { color: #d7c5b7; }.insight-number { color: #c7ad99; font: 10px var(--mono); }.insight-card h3 { margin: 27px 0 10px; font-size: 22px; font-weight: 550; letter-spacing: -.045em; line-height: 1.22; }.insight-card > p { max-width: 225px; margin: 0; color: #ddcfc4; font-size: 11px; line-height: 1.7; }.insight-steps { display: grid; gap: 9px; margin-top: 22px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); }.insight-steps span { color: #f4ede7; font-size: 10px; }.insight-steps b { margin-right: 9px; color: #c8ad98; font: 9px var(--mono); }
.tip-card { display: flex; gap: 11px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }.tip-icon { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border-radius: 7px; color: var(--coffee); background: var(--coffee-soft); font-size: 13px; }.tip-card strong { color: var(--ink); font-size: 11px; font-weight: 600; }.tip-card p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }.tip-card kbd { min-width: 17px; height: 17px; font-size: 9px; }
.page-footer { display: flex; justify-content: space-between; margin-top: 31px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted-light); font-size: 9px; font-weight: 600; }.page-footer i { color: #b4a497; font-style: normal; }

.modal { width: min(540px, calc(100vw - 28px)); max-height: min(90vh, 850px); padding: 0; overflow: auto; border: 1px solid var(--line-dark); border-radius: 14px; color: var(--ink); background: var(--panel); box-shadow: 0 20px 70px rgba(33,25,19,.2); }.modal::backdrop { background: rgba(35,29,25,.42); backdrop-filter: blur(2px); }.modal-form, .profile-modal-content, .account-modal-content { padding: 25px; }.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }.modal-head h2, .profile-modal-head h2 { margin: 5px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -.04em; }.icon-button { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #fff; font-size: 20px; line-height: 1; }.icon-button:hover { border-color: var(--line-dark); color: var(--ink); background: var(--panel-muted); }.modal-intro { margin: 10px 0 20px; color: var(--muted); font-size: 12px; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }.field { display: block; min-width: 0; }.field > span { display: block; margin-bottom: 6px; color: #514b46; font-size: 11px; font-weight: 600; }.field > span b { color: var(--coffee); font-weight: 600; }.field input, .field select { width: 100%; height: 41px; padding: 0 11px; border: 1px solid var(--line-dark); border-radius: 7px; outline: none; color: var(--ink); background: #fff; font-size: 12px; transition: border-color .16s, box-shadow .16s; }.field input::placeholder { color: #aaa29a; }.field input:focus, .field select:focus { border-color: var(--coffee); box-shadow: 0 0 0 3px rgba(118,84,60,.11); }.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #766c64 50%),linear-gradient(135deg, #766c64 50%, transparent 50%); background-position: calc(100% - 14px) 18px,calc(100% - 10px) 18px; background-repeat: no-repeat; background-size: 4px 4px,4px 4px; }.field-full { grid-column: 1 / -1; }.form-error { min-height: 17px; margin-top: 9px; color: var(--red); font-size: 11px; }.form-error:empty { min-height: 5px; margin-top: 0; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 15px; border-top: 1px solid var(--line); }
.modal-wide { width: min(810px, calc(100vw - 28px)); }.profile-modal-head { display: flex; align-items: flex-start; justify-content: space-between; }.profile-ident { display: flex; align-items: center; gap: 14px; }.profile-avatar { display: grid; width: 55px; height: 55px; place-items: center; border-radius: 13px; color: var(--coffee-dark); background: var(--coffee-soft); font-size: 17px; font-weight: 700; }.profile-modal-head h2 { font-size: 21px; }.mono-text { margin: 4px 0 0; color: var(--muted-light); font: 10px var(--mono); letter-spacing: .02em; }.profile-meta { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin: 22px 0 24px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel-muted); }.meta-item span { display: block; margin-bottom: 4px; color: var(--muted-light); font-size: 9px; font-weight: 700; text-transform: uppercase; }.meta-item strong { overflow: hidden; display: block; color: #403a35; font-size: 11px; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }.profile-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }.profile-section-head h3 { font-size: 16px; }.account-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.account-card { position: relative; overflow: hidden; min-height: 116px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; color: inherit; background: #fff; text-align: left; transition: border-color .16s, transform .16s; }.account-card:hover { border-color: #bba591; transform: translateY(-1px); }.account-card-top, .account-card-bottom { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; }.account-type { color: var(--ink); font-size: 11px; font-weight: 600; }.account-currency { color: var(--muted-light); font: 9px var(--mono); }.account-number { margin: 13px 0 11px; color: var(--muted); font: 10px var(--mono); letter-spacing: .04em; }.account-balance { color: var(--coffee-dark); font: 15px var(--mono); }.account-status { color: var(--green); font-size: 9px; font-weight: 600; text-transform: uppercase; }.no-accounts { grid-column: 1/-1; padding: 25px 12px; border: 1px dashed var(--line-dark); border-radius: 9px; color: var(--muted); font-size: 11px; text-align: center; }.profile-bottom-note { display: flex; align-items: center; gap: 7px; margin-top: 17px; color: var(--muted); font-size: 10px; }
.account-summary { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 17px 0 18px; padding: 16px; border: 1px solid #e2d8cf; border-radius: 10px; background: var(--coffee-soft); }.summary-type { color: #5f5044; font-size: 11px; font-weight: 600; }.summary-number { margin-top: 5px; color: var(--muted); font: 10px var(--mono); letter-spacing: .05em; }.summary-balance-label { color: var(--muted); font-size: 9px; font-weight: 650; text-align: right; text-transform: uppercase; }.summary-balance { margin-top: 3px; color: var(--coffee-dark); font: 23px var(--mono); letter-spacing: -.04em; text-align: right; }.account-actions { display: grid; grid-template-columns: minmax(250px,.82fr) minmax(280px,1.18fr); gap: 12px; }.operation-form, .history-panel { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }.operation-form-title, .history-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 13px; }.operation-form-title h3, .history-heading h3 { margin: 4px 0 0; font-size: 13px; font-weight: 600; }.action-lock { color: var(--green); font-size: 9px; font-weight: 650; }.operation-fields { display: grid; gap: 10px; }.amount-input { position: relative; }.amount-input span { position: absolute; top: 12px; left: 10px; color: var(--muted); font: 9px var(--mono); }.amount-input input { padding-left: 42px; }.destination-field[hidden] { display: none; }.operation-submit { width: 100%; min-height: 38px; margin-top: 3px; }.history-live { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; font-weight: 600; }.history-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }.operation-list { max-height: 235px; overflow: auto; }.operation-item { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid #f0edea; }.operation-icon { display: grid; width: 29px; height: 29px; flex: 0 0 29px; place-items: center; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: var(--panel-muted); font: 13px var(--mono); }.operation-icon.in { border-color: #dce9df; color: var(--green); background: #f2f7f3; }.operation-icon.out { border-color: #eee1c8; color: var(--amber); background: #fbf7ee; }.operation-copy { flex: 1; min-width: 0; }.operation-copy strong { display: block; overflow: hidden; color: #403a35; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.operation-copy small { display: block; margin-top: 3px; color: var(--muted-light); font: 9px var(--mono); }.operation-amount { color: var(--ink); font: 10px var(--mono); white-space: nowrap; }.operation-amount.in { color: var(--green); }.history-empty { padding: 20px 5px; color: var(--muted); font-size: 11px; text-align: center; }.account-modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted-light); font: 9px var(--mono); }.button-danger-quiet { border-color: transparent; color: var(--red); background: transparent; }.button-danger-quiet:hover { border-color: #f0d9d6; background: #fbf2f1; }
.toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 9px; padding: 12px 16px 12px 12px; border: 1px solid var(--line-dark); border-radius: 9px; color: var(--ink); background: #fff; box-shadow: 0 8px 26px rgba(33,25,19,.13); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .2s ease; }.toast.show { opacity: 1; transform: translateY(0); }.toast-icon { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 11px; }.toast.error { border-color: #e8c9c5; }.toast.error .toast-icon { background: var(--red); }.loading-shimmer { height: 55px; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, transparent 25%, #f4f1ee 50%, transparent 75%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }@keyframes shimmer { to { background-position: -200% 0; } }

.login-page { display: grid; min-height: 100vh; place-items: center; padding: 32px; background: var(--bg); }.login-shell { display: grid; width: min(1050px, 100%); min-height: 650px; grid-template-columns: 1.05fr .95fr; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); box-shadow: 0 12px 42px rgba(43,33,25,.08); }.login-visual { position: relative; display: flex; min-height: 650px; flex-direction: column; padding: 32px; overflow: hidden; color: #fff; background: var(--coffee-dark); }.login-brand { position: relative; z-index: 2; margin: 0; }.login-brand .brand-mark { color: var(--coffee-dark); background: #fff; }.login-brand strong { color: #fff; }.login-brand small { color: #d1bdae; }.login-art { position: absolute; top: 105px; right: 31px; left: 31px; display: grid; align-content: center; gap: 10px; }.service-preview { display: flex; min-height: 62px; align-items: center; gap: 13px; padding: 11px 13px; border: 1px solid rgba(255,255,255,.17); border-radius: 8px; background: rgba(255,255,255,.07); }.preview-index { color: #ceb8a7; font: 10px var(--mono); }.preview-copy { flex: 1; }.preview-copy strong, .preview-copy small { display: block; }.preview-copy strong { color: #fff; font-size: 11px; font-weight: 600; }.preview-copy small { margin-top: 3px; color: #d1c1b5; font-size: 9px; }.preview-arrow { color: #d3bfaf; font-size: 15px; }.preview-caption { margin-top: 3px; color: #c9b6a7; font-size: 8px; font-weight: 650; letter-spacing: .09em; }.login-visual-copy { position: relative; z-index: 1; margin-top: auto; }.login-visual-copy .eyebrow { color: #d7c3b3; }.login-visual-copy .eyebrow-line { background: #d7c3b3; }.login-visual-copy h1 { margin: 14px 0 11px; font-size: clamp(30px,4vw,44px); font-weight: 500; letter-spacing: -.06em; line-height: 1.11; }.login-visual-copy h1 em { color: #d4b9a4; font-style: normal; }.login-visual-copy p { margin: 0; color: #d1c1b5; font-size: 12px; }.login-visual-foot { display: flex; justify-content: space-between; margin-top: 27px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.18); color: #c9b6a7; font-size: 9px; font-weight: 600; }.login-panel { display: flex; flex-direction: column; padding: 32px; background: #fff; }.login-panel-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; font-weight: 650; }.login-panel-note { color: var(--muted-light); }.login-form-wrap { width: min(340px,100%); margin: auto; padding: 20px 0; }.login-form-wrap h2 { margin: 8px 0 6px; font-size: 26px; font-weight: 600; letter-spacing: -.045em; }.login-lede { margin: 0 0 25px; color: var(--muted); font-size: 13px; }.login-form { display: grid; gap: 16px; }.login-form .field input { height: 45px; font-size: 13px; }.login-submit { width: 100%; margin-top: 6px; }.login-notice, .login-error { margin: 0 0 15px; padding: 10px 11px; border: 1px solid #dce9df; border-radius: 7px; color: var(--green); background: #f2f7f3; font-size: 11px; }.login-error { border-color: #f0d9d6; color: var(--red); background: #fbf2f1; }.login-panel-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: 0; }

@media (max-width: 1120px) { .main-content { padding: 0 30px; }.content-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }.sidebar { width: 220px; }.main-content { margin-left: 220px; }.table-head, .client-row { grid-template-columns: minmax(150px,1.1fr) minmax(120px,1fr) 82px 14px; gap: 9px; padding-right: 12px; padding-left: 12px; } }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; }.insight-column { grid-template-columns: 1fr 1fr; }.insight-card { min-height: 245px; }.insight-card h3 { margin-top: 18px; }.login-shell { min-height: 600px; }.login-visual { min-height: 600px; } }
@media (max-width: 650px) { .sidebar { position: static; width: auto; height: auto; padding: 14px 18px; border-right: 0; border-bottom: 1px solid var(--line); }.brand { margin: 0; }.side-label, .side-nav, .side-bottom { display: none; }.main-content { margin-left: 0; padding: 0 18px 18px; }.topbar { min-height: 54px; }.topbar-right { gap: 8px; font-size: 8px; }.page-heading { align-items: flex-start; flex-direction: column; padding: 25px 0 18px; }.page-heading .button { align-self: stretch; }.search-panel { gap: 10px; padding: 10px; }.search-symbol { width: 32px; height: 32px; flex-basis: 32px; }.search-shortcut { display: none; }.button-search { min-width: 76px; padding: 0 10px; }.content-grid { margin-top: 22px; }.insight-column { grid-template-columns: 1fr; }.insight-card { min-height: unset; }.insight-card h3 { margin-top: 18px; }.tip-card { order: -1; }.table-head { grid-template-columns: minmax(115px,1fr) minmax(95px,.9fr) 72px 12px; gap: 7px; padding: 10px 8px; font-size: 8px; }.client-row { grid-template-columns: minmax(115px,1fr) minmax(95px,.9fr) 72px 12px; gap: 7px; padding: 9px 8px; }.client-avatar { width: 30px; height: 30px; flex-basis: 30px; }.client-name-wrap { gap: 7px; }.client-name { font-size: 10px; }.client-code, .contact-cell, .contact-cell small { font-size: 9px; }.status-badge { padding: 3px 5px; font-size: 8px; }.results-foot { align-items: flex-start; flex-direction: column; gap: 5px; }.page-footer { margin-top: 20px; font-size: 8px; }.login-page { display: block; padding: 0; background: #fff; }.login-shell { display: block; width: 100%; min-height: 100vh; border: 0; border-radius: 0; box-shadow: none; }.login-visual { min-height: 0; padding: 22px 22px 20px; }.login-art { display: none; }.login-visual-copy { margin-top: 42px; }.login-visual-copy h1 { font-size: 32px; }.login-visual-foot { margin-top: 22px; }.login-panel { min-height: 460px; padding: 23px 22px; }.login-form-wrap { margin: 22px auto; }.login-panel-foot { margin-top: auto; } }
@media (max-width: 430px) { .breadcrumbs { gap: 7px; font-size: 11px; }.topbar-right .top-divider, .topbar-right .clock { display: none; }.table-head { grid-template-columns: minmax(115px,1fr) 72px 12px; }.table-head span:nth-child(2) { display: none; }.client-row { grid-template-columns: minmax(115px,1fr) 72px 12px; }.client-row .contact-cell { display: none; }.profile-meta { grid-template-columns: 1fr; gap: 9px; }.account-list, .account-actions { grid-template-columns: 1fr; }.modal-form, .profile-modal-content, .account-modal-content { padding: 19px; }.form-grid { grid-template-columns: 1fr; }.field-full { grid-column: auto; }.account-summary { align-items: flex-start; flex-direction: column; }.summary-balance-label, .summary-balance { text-align: left; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

#staffNav[hidden] { display: none; }
.staff-section { margin-top: 29px; }
.employee-table-head, .employee-row { grid-template-columns: minmax(180px,1.4fr) 110px 100px 125px 76px; }
.employee-table-head { gap: 12px; }
.employee-row { display: grid; min-height: 66px; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid #f0edea; }
.employee-row:last-child { border-bottom: 0; }
.employee-name-wrap { display: flex; min-width: 0; align-items: center; gap: 10px; }
.employee-avatar { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 9px; color: var(--coffee-dark); background: var(--coffee-soft); font-size: 10px; font-weight: 700; }
.employee-name-copy { min-width: 0; }.employee-name-copy strong { display: block; overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.employee-id { display: block; overflow: hidden; margin-top: 3px; color: var(--muted-light); font: 8px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.employee-role { color: #514b46; font-size: 11px; }.employee-created { color: var(--muted); font-size: 10px; }.employee-disable { color: var(--red); }.employee-disable:hover { border-color: #f0d9d6; background: #fbf2f1; }
@media (max-width: 900px) { .employee-table-head, .employee-row { grid-template-columns: minmax(150px,1fr) 90px 90px 100px 68px; gap: 8px; padding-right: 10px; padding-left: 10px; } }
@media (max-width: 650px) { .employee-table-head, .employee-row { grid-template-columns: minmax(115px,1fr) 75px 78px 58px; gap: 6px; padding-right: 8px; padding-left: 8px; }.employee-table-head span:nth-child(4), .employee-created { display: none; }.employee-avatar { width: 30px; height: 30px; flex-basis: 30px; }.employee-name-wrap { gap: 7px; }.employee-name-copy strong { font-size: 10px; }.employee-id { display: none; }.employee-role { font-size: 9px; }.employee-table-head { font-size: 8px; }.employee-toggle { min-height: 30px; padding: 0 7px; font-size: 9px; } }
@media (max-width: 430px) { .employee-table-head, .employee-row { grid-template-columns: minmax(105px,1fr) 67px 70px 54px; gap: 4px; }.employee-table-head span:nth-child(2) { display: block; }.employee-role { overflow: hidden; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }.employee-toggle { padding: 0 5px; font-size: 8px; } }
@media (max-width: 650px) { .side-label, .side-bottom { display: none; }.side-nav { display: flex; gap: 6px; margin: 12px 0 0; }.nav-item.active::before { top: auto; right: 12px; bottom: 2px; left: 12px; width: auto; height: 2px; } }
.account-status.closed { color: var(--muted); }
.search-hint { display: block; margin-top: 2px; color: var(--muted-light); font-size: 9px; }
.search-shortcut { display: none; }
.profile-menu-modal { width: min(440px, calc(100vw - 28px)); }
.profile-menu-modal .modal-form { padding: 25px; }
.profile-menu-modal .modal-head h2 { max-width: 300px; line-height: 1.25; }
.profile-menu-choices { display: grid; gap: 9px; }
.profile-menu-choice { display: flex; width: 100%; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; text-align: left; transition: border-color .16s, background .16s, transform .16s; }
.profile-menu-choice:hover { transform: translateY(-1px); border-color: var(--line-dark); background: var(--panel-muted); }
.profile-menu-choice[hidden] { display: none; }
.profile-choice-icon { display: grid; width: 36px; height: 36px; flex: 0 0 36px; place-items: center; border-radius: 9px; color: var(--coffee); background: var(--coffee-soft); font-size: 16px; }
.profile-menu-choice > span:nth-child(2) { display: grid; gap: 3px; }
.profile-menu-choice strong { font-size: 12px; font-weight: 600; }
.profile-menu-choice small { color: var(--muted); font-size: 10px; }
.profile-choice-arrow { margin-left: auto; color: var(--muted-light); font-size: 16px; }
.profile-menu-signout .profile-choice-icon { color: var(--red); background: #fbf2f1; }
@media (max-width: 650px) { .side-bottom { display: block; margin-top: 0; }.profile-button { padding: 8px 0 0; } }
.client-row { width: 100%; border: 0; border-bottom: 1px solid #f0edea; border-radius: 0; color: inherit; background: transparent; text-align: left; appearance: none; }
.client-row .status-badge { max-width: none; justify-self: center; overflow-wrap: normal; white-space: nowrap; }
.client-table-head span:nth-child(3) { text-align: center; }
.table-head, .client-row { grid-template-columns: minmax(180px,1.15fr) minmax(150px,1fr) 180px; }
@media (max-width: 1120px) { .table-head, .client-row { grid-template-columns: minmax(100px,1fr) minmax(90px,1fr) 140px; gap: 8px; padding-right: 10px; padding-left: 10px; }.client-row .status-badge { font-size: 9px; } }
@media (max-width: 650px) { .table-head, .client-row { grid-template-columns: minmax(110px,1.05fr) minmax(90px,.95fr) 142px; }.client-row .status-badge { font-size: 8px; } }
@media (max-width: 430px) { .table-head, .client-row { grid-template-columns: minmax(0,1fr) 142px; } }
.verification-action { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -8px 0 22px; padding: 14px 16px; border: 1px solid #ead8b9; border-radius: 9px; background: #fffaf1; }
.verification-action[hidden] { display: none; }
.verification-action strong { color: #805816; font-size: 12px; }
.verification-action p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
@media (max-width: 520px) { .verification-action { align-items: flex-start; flex-direction: column; } }
