* { box-sizing: border-box; }
:root {
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #182339;
  background: #f6f8fc;
  font-synthesis: none;
  --muted: #53617a;
  --line: #e4e9f2;
  --blue: #2755da;
  --white: #fff;
}
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .55; cursor: wait; }
a { color: var(--blue); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #7999f2; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); min-height: 100vh; }
.sidebar { background: white; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 29px 17px 18px; position: sticky; top: 0; height: 100vh; }
.brand { display: flex; gap: 11px; align-items: center; padding: 2px 8px; color: #152139; text-decoration: none; font-size: 25px; font-weight: 750; line-height: 1.05; letter-spacing: -.055em; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: white; background: #2858df; }
.brand-mark svg { width: 24px; height: 24px; }
.brand small, .profile small { display: block; color: var(--muted); letter-spacing: 0; margin-top: 5px; font-size: 12px; font-weight: 550; }
.nav-group { margin-top: 45px; }
.nav-label { font-size: 12px; letter-spacing: .1em; font-weight: 750; color: var(--muted); margin: 0 10px 11px; }
nav { display: grid; gap: 4px; }
.nav-item { border: 0; padding: 11px 10px; min-height: 43px; text-align: left; border-radius: 8px; background: transparent; color: #475672; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 620; }
.nav-item:hover { background: #f2f5fa; }
.nav-item.selected { background: #eaf0ff; color: #224bc3; }
.sidebar-end { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.profile { display: flex; align-items: center; gap: 10px; padding: 0 4px; min-width: 0; }
.profile > span:last-child { min-width: 0; }
.profile strong { display: block; overflow: hidden; text-overflow: ellipsis; font-size: 14px; white-space: nowrap; }
.avatar { display: grid; place-items: center; flex: 0 0 37px; height: 37px; border-radius: 50%; background: #eaf0ff; color: #264cbd; font-weight: 750; font-size: 13px; }
svg { display: block; width: 18px; height: 18px; }
.topbar { min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px clamp(20px, 4vw, 57px); border-bottom: 1px solid var(--line); background: #ffffffd9; font-size: 14px; color: var(--muted); }
.topbar strong { color: #1a2945; }
.crumb-divider { padding: 0 12px; color: #7d8aa2; }
.currency { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 20px; padding: 6px 11px; white-space: nowrap; background: white; }
.currency svg { width: 15px; height: 15px; }
.content { max-width: 1490px; margin: auto; padding: 30px clamp(20px, 4vw, 57px) 44px; }
.hero { min-height: 209px; border-radius: 17px; display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; position: relative; isolation: isolate; overflow: hidden; padding: 33px 34px; background: radial-gradient(ellipse at 95% 105%, #3866dc 0, transparent 52%), linear-gradient(110deg, #142964, #1c387e 58%, #2549a3); color: white; }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; z-index: -1; border: 1px solid #bbceff32; border-radius: 50%; width: 540px; height: 540px; right: -175px; top: -319px; box-shadow: 0 0 0 34px #a8bfff16, 0 0 0 69px #a8bfff12, 0 0 0 108px #a8bfff0d, 0 0 0 149px #a8bfff0a; }
.hero::after { right: -353px; top: 74px; width: 495px; height: 495px; }
.hero-copy { position: relative; align-self: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #dce7ff; font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.eyebrow svg { width: 15px; height: 15px; }
h1 { font-size: clamp(33px, 4.2vw, 55px); letter-spacing: -.055em; line-height: 1.04; margin: 11px 0; }
.hero p { color: #e0e9ff; margin: 0; line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border-radius: 8px; padding: 8px 14px; border: 1px solid transparent; color: #1d3054; font-size: 14px; font-weight: 680; white-space: nowrap; }
.primary { color: white; background: var(--blue); }
.primary:hover { background: #1c46c0; }
.hero .primary { background: white; color: #1c449e; }
.hero .primary:hover { background: #eaf0ff; }
.secondary { background: white; border-color: #d8e0ee; }
.secondary:hover { background: #f2f5fa; }
.danger-outline { background: white; border-color: #f1c8ce; color: #a41e3a; }
.danger-outline:hover { background: #fff0f2; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 22px 0; }
.metric { padding: 17px; min-height: 132px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.metric-top { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; font-weight: 650; }
.metric-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.blue { color: #244dc5; background: #eaf0ff; }.amber { color: #905400; background: #fff1d8; }.violet { color: #6443a9; background: #f1edff; }.green { color: #14664b; background: #e3f6ed; }
.metric strong { display: block; font-size: clamp(20px, 2.45vw, 30px); margin-top: 8px; letter-spacing: -.045em; overflow-wrap: anywhere; }
.metric small { color: var(--muted); font-size: 13px; }
.panel { background: white; border: 1px solid var(--line); border-radius: 13px; margin-top: 22px; overflow: hidden; }
.panel-top { padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
h2 { font-size: 21px; letter-spacing: -.027em; margin: 0; }
.panel-top p, .dialog-head p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 4px 0 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 22px 16px; }
.search, .filter-select { position: relative; display: flex; align-items: center; gap: 7px; }
.search > span, .filter-select > span { position: absolute; left: 10px; color: var(--muted); pointer-events: none; }
.search input, .filter-select select { padding-left: 35px; margin: 0; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
th { background: #f5f7fb; color: #475674; font-size: 13px; font-weight: 700; }
th, td { padding: 12px 15px; border-block-start: 1px solid var(--line); }
th:first-child, td:first-child { padding-left: 22px; }
th:last-child, td:last-child { padding-right: 22px; text-align: right; }
td { font-size: 14px; }
td small { display: block; margin-top: 3px; color: var(--muted); font-size: 13px; }
.claim-name { max-width: 290px; overflow-wrap: anywhere; white-space: normal; }
.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 20px; font-weight: 650; padding: 4px 9px; font-size: 13px; }
.status::before { content: ""; background: currentColor; border-radius: 50%; width: 6px; height: 6px; }
.pending { color: #885113; background: #fff0d9; }.approved { color: #4f3b9e; background: #f0ecff; }.paid { color: #165f48; background: #e4f6ed; }.rejected { color: #9f2945; background: #ffeaf0; }.inactive { color: #53617a; background: #eef1f7; }
.link-button { background: transparent; color: var(--blue); border: none; padding: 5px 3px; font-size: 14px; font-weight: 680; }
.link-button:hover { text-decoration: underline; }
.empty { min-height: 216px; display: grid; justify-items: center; align-content: center; gap: 9px; padding: 24px; text-align: center; }
.empty-icon { display: grid; place-items: center; height: 50px; width: 50px; border-radius: 13px; color: #2857cb; background: #eaf0ff; }
.empty-icon svg { width: 24px; height: 24px; }
.empty h3 { margin: 3px 0 0; font-size: 17px; }
.empty p { color: var(--muted); margin: 0; font-size: 14px; }
.panel-footer { border-top: 1px solid var(--line); padding: 12px 22px; font-size: 13px; color: var(--muted); }
.team-hint { display: flex; align-items: flex-start; gap: 9px; color: #2d4774; background: #eff4ff; border: 1px solid #dbe6fb; border-radius: 8px; margin: 0 22px 18px; padding: 11px 13px; font-size: 14px; }
.team-hint p { margin: 0; }
.notice, .toast { background: #eef3ff; border: 1px solid #b8caf4; padding: 12px 15px; border-radius: 10px; margin-bottom: 14px; }
.toast { position: fixed; bottom: 15px; right: 20px; z-index: 3; color: #173775; box-shadow: 0 6px 22px #1c315026; }
dialog { width: min(calc(100% - 24px), 590px); max-height: 94vh; border: 1px solid var(--line); border-radius: 15px; padding: 0; color: #182339; box-shadow: 0 20px 75px #141e4a4a; }
dialog::backdrop { background: #14213cb0; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 20px 23px 17px; border-bottom: 1px solid var(--line); }
.dialog-body { padding: 19px 23px; }
.dialog-footer { padding: 13px 23px; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); }
.icon-button { display: grid; place-items: center; height: 34px; width: 34px; flex: 0 0 34px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); background: #fff; }
.icon-button:hover { background: #f2f5fa; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wide { grid-column: 1 / -1; }
label { display: block; font-size: 14px; font-weight: 650; }
label small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 4px; }
input, select, textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #cdd7e8; border-radius: 8px; padding: 8px 10px; background: white; color: #182339; }
select { appearance: none; padding-right: 29px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23475674' stroke-width='1.5'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; }
textarea { resize: vertical; }
.upload { padding: 10px 11px; background: #f7f9ff; border-radius: 8px; border: 1px dashed #ccd8ee; }
.upload input { border: 0; padding: 3px 0 0; background: transparent; }
.form-error { color: #a41e3a; margin: 0; font-size: 14px; }
.detail-top { display: flex; justify-content: space-between; align-items: center; }
.detail-amount { font-size: 29px; }
.detail-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
dt { color: var(--muted); font-size: 13px; }
dd { margin: 3px 0 0; overflow-wrap: anywhere; font-size: 15px; }
.history { padding-left: 20px; color: var(--muted); margin-bottom: 0; font-size: 14px; }
.history li { margin-top: 7px; }
.review-form { border-top: 1px solid var(--line); }
.review-form .form-error { margin-top: 6px; }
:root { color: #f5f5f5; background: #080808; --muted: #b6b6ba; --line: #303033; --blue: #f12d45; --white: #161616; }
.sidebar, .metric, .panel, .currency, dialog, input, select, textarea, .icon-button, .secondary, .danger-outline { background-color: #141416; color: #f5f5f5; }
.brand, .topbar strong { color: #fff; }
.brand-mark { background: #ed243e; }
.nav-item { color: #c5c5c8; }
.nav-item:hover, .secondary:hover, .icon-button:hover { background: #29292c; }
.nav-item.selected { background: #38171d; color: #ff8291; }
.avatar, .empty-icon { background: #38171d; color: #ff8291; }
.topbar { background: #0e0e10; }
.hero { background: radial-gradient(ellipse at 95% 105%, #641522 0, transparent 52%), linear-gradient(110deg, #121214, #241014 58%, #42131c); }
.hero::before, .hero::after { border-color: #f6465b55; box-shadow: 0 0 0 34px #f6465b12, 0 0 0 69px #f6465b0d, 0 0 0 108px #f6465b08; }
.hero p, .eyebrow { color: #f2c9ce; }
.primary { background: #e9203b; color: #fff; }
.primary:hover { background: #bd1930; }
.hero .primary { background: #fff; color: #8d1022; }
.hero .primary:hover { background: #f4dce0; }
.blue, .violet { color: #ff99a5; background: #38171d; }
.amber { color: #ffd58a; background: #3a2a12; }
.green { color: #8cdeb9; background: #123226; }
th { background: #202023; color: #d3d3d7; }
input, select, textarea, .secondary, .danger-outline, .icon-button { border-color: #49494e; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23cccccc' stroke-width='1.5'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E"); }
.danger-outline, .form-error { color: #ff8e9c; }
.danger-outline:hover { background: #421a21; }
.team-hint, .notice, .toast { background: #30171b; border-color: #65303a; color: #ffdce0; }
.upload { background: #202023; border-color: #55555a; }
.link-button, a { color: #ff8291; }
:focus-visible { outline-color: #ff8291; }
.checkbox { display: flex; align-items: center; gap: 8px; }
.checkbox input { width: auto; margin: 0; }
.audit-details { white-space: pre-wrap; overflow-wrap: anywhere; min-width: 260px; max-width: 550px; }
.audit-details summary { cursor: pointer; color: #ff8291; }
.audit-details pre { white-space: pre-wrap; font-size: 12px; }
@media (max-width: 1060px) { .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .layout { display: block; }.sidebar { position: static; height: auto; padding: 14px 16px 8px; border: 0; border-bottom: 1px solid var(--line); }.brand { font-size: 22px; padding-left: 2px; }.brand-mark { height: 34px; width: 34px; }.brand small, .nav-label, .sidebar-end { display: none; }.nav-group { margin-top: 12px; }nav { display: flex; flex-wrap: wrap; gap: 4px; }.nav-item { min-height: 36px; padding: 6px 8px; gap: 6px; }.nav-item svg { width: 15px; height: 15px; }.topbar { min-height: 49px; }.content { padding-top: 17px; }.hero { padding: 24px 20px; min-height: 182px; }.panel-top { padding: 16px; }
}
@media (max-width: 494px) {
  .hero { display: grid; gap: 15px; justify-items: start; }.content { padding-inline: 12px; }.metrics { gap: 8px; margin-block: 13px; }.metric { padding: 10px; min-height: 115px; }.metric-icon { width: 27px; height: 27px; }.metric-top { font-size: 13px; }.panel-top { align-items: flex-start; flex-wrap: wrap; }.form-grid { grid-template-columns: 1fr; }.dialog-body, .dialog-head, .dialog-footer { padding-inline: 15px; }
}
@media (prefers-reduced-motion: no-preference) { button { transition: background-color .14s ease; } }

