:root{
  --ink:#232531;
  --muted:#626779;
  --line:#e9eaf0;
  --canvas:#f7f8fb;
  --purple:#6651d9;
  --purple-soft:#f0edff;
  --green:#168064;
  --amber:#a96616;
  --radius:14px;
  --shadow:0 2px 3px #20203303,0 12px 30px #20203303;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:14px;
  color:var(--ink);
  background:var(--canvas);
  font-synthesis:none
}
*{
  box-sizing:border-box
}
body{
  margin:0
}
button,input,select{
  font:inherit
}
button,a,select,input{
  -webkit-tap-highlight-color:transparent
}
button{
  cursor:pointer
}
a{
  color:inherit;
  text-decoration:none
}
button:disabled{
  cursor:default;
  opacity:.45
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{
  outline:3px solid #9180ec;
  outline-offset:3px
}
button{
  color:inherit
}
svg{
  flex-shrink:0;
  vertical-align:middle
}
h1,h2,h3,p{
  margin:0
}
h1{
  font-size:34px;
  font-weight:650;
  letter-spacing:-1.2px;
  line-height:1.25
}
h2{
  font-size:16px;
  font-weight:650;
  letter-spacing:-.3px
}
h3{
  font-size:15px
}
small{
  display:block
}
code{
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace;
  font-size:14px;
  overflow-wrap:anywhere
}
kbd{
  font:11px ui-monospace,SFMono-Regular,monospace;
  border:1px solid #e3e3eb;
  border-bottom-width:2px;
  border-radius:5px;
  padding:2px 5px;
  color:#676775;
  background:#fff
}
.sr-only{
  left:0;
  top:0;
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.skip-link{
  position:fixed;
  z-index:100;
  top:12px;
  left:12px;
  background:#fff;
  padding:12px;
  transform:translateY(-160%);
  border:2px solid var(--purple);
  border-radius:8px
}
.skip-link:focus{
  transform:translateY(0)
}
.sidebar{
  position:fixed;
  top:0;
  left:0;
  bottom:0;
  width:232px;
  background:#fff;
  border-right:1px solid var(--line);
  padding:28px 17px 16px;
  display:flex;
  flex-direction:column;
  z-index:20
}
.brand{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:9px;
  padding:0;
  font-size:23px;
  font-weight:700;
  letter-spacing:-.7px
}
.brand-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--purple);
  color:white;
  width:36px;
  height:36px;
  border-radius:11px;
  box-shadow:0 5px 10px #6651d927
}
.brand-mark svg{
  width:25px;
  stroke-width:2.3
}
.brand-sub{
  display:block;
  font-size:12px;
  letter-spacing:2.7px;
  color:var(--muted);
  text-transform:uppercase;
  margin-top:1px;
  font-weight:500
}
.brand .brand-sub{padding-left:14px}
.brand-logo-frame{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  border:1px solid #293342;
  border-radius:10px;
  background:#111620;
  max-width:100%
}
.brand-logo{display:block;width:100%;height:auto;object-fit:contain}
.boot .brand-logo-frame{width:240px}
.mobile-brand{display:none}
.workspace{
  display:flex;
  gap:9px;
  align-items:center;
  margin:30px 0 30px;
  background:#fafafd;
  border:1px solid var(--line);
  padding:11px 9px;
  border-radius:10px
}
.workspace-avatar{
  border:1px solid #ded9f6;
  background:#eeebfa;
  color:var(--purple);
  padding:6px 8px;
  border-radius:7px;
  font-size:13px;
  font-weight:700
}
.workspace strong{
  font-size:13px;
  white-space:nowrap
}
.workspace small{
  font-size:12px;
  color:var(--muted);
  margin-top:4px
}
.workspace-demo{
  font-size:11px;
  font-weight:650;
  letter-spacing:.8px;
  color:#7a6539;
  margin-left:auto
}
.nav-label{
  font-size:11px;
  letter-spacing:1.7px;
  font-weight:600;
  color:#666773;
  padding-left:12px;
  margin-bottom:12px
}
.sidebar nav{
  display:grid;
  gap:6px
}
.sidebar nav a{
  padding:12px 13px;
  border-radius:9px;
  display:flex;
  gap:11px;
  align-items:center;
  color:#646678;
  font-size:14px;
  font-weight:550;
  transition:background .15s
}
.sidebar nav a:hover{
  background:#f7f7fb
}
.sidebar nav a[aria-current]{
  background:var(--purple-soft);
  color:var(--purple)
}
.sidebar nav svg{
  width:18px
}
.nav-count{
  margin-left:auto;
  font-size:12px;
  border-radius:5px;
  padding:2px 6px;
  background:#e6e0ff
}
.sidebar-bottom{
  margin-top:auto
}
.safe-note{
  margin:30px 8px 16px;
  border-radius:10px;
  background:#f8f9fc;
  padding:14px 11px
}
.safe-note svg{
  display:block;
  color:#666774;
  width:18px;
  margin-bottom:10px
}
.safe-note strong{
  font-size:13px
}
.safe-note p{
  font-size:12px;
  color:var(--muted);
  line-height:1.6;
  margin-top:5px
}
.help-button{
  display:flex;
  align-items:center;
  gap:8px;
  border:0;
  background:none;
  width:100%;
  padding:12px 10px;
  font-size:13px;
  color:#626576
}
.help-button svg{
  width:17px
}
.help-button kbd{
  margin-left:auto
}
.profile{
  border-top:1px solid var(--line);
  margin-top:11px;
  display:flex;
  gap:10px;
  padding:17px 9px 0;
  align-items:center
}
.avatar{
  height:32px;
  width:32px;
  background:#eeebfa;
  color:#6c5e96;
  border:1px solid #dfd9ee;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:650;
  flex-shrink:0
}
.avatar.small{
  height:28px;
  width:28px;
  font-size:11px
}
.profile strong{
  font-size:12px
}
.profile small{
  font-size:12px;
  color:var(--muted);
  margin-top:4px
}
.main-shell{
  margin-left:232px
}
.topbar{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 40px;
  background:#fff;
  border-bottom:1px solid var(--line)
}
.breadcrumb{
  font-size:13px;
  color:#646672;
  display:flex;
  gap:13px
}
.breadcrumb strong{
  color:#565969;
  font-weight:500
}
.breadcrumb span{
  color:#66676d
}
.topbar-right{
  display:flex;
  align-items:center;
  gap:18px
}
.demo-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid #eadfc0;
  border-radius:30px;
  font-size:12px;
  padding:6px 10px;
  color:#816225;
  background:#fffcf3
}
.demo-pill .dot{
  background:#c2a65a;
  width:5px;
  height:5px
}
.icon-button{
  width:30px;
  height:30px;
  border:none;
  background:transparent;
  border-radius:7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#656772;
  padding:4px
}
.icon-button:hover{
  background:#f0eef8;
  color:var(--purple)
}
.icon-button svg{
  width:17px
}
.mobile-menu{
  display:none
}
.demo-banner{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  padding:12px 40px;
  background:#f0eef9;
  color:#6b657c;
  border-bottom:1px solid #e7e2f5;
  line-height:1.5
}
.demo-banner>svg{
  width:15px;
  color:#6e6288
}
.demo-banner strong{
  font-weight:600;
  color:#716382
}
.demo-banner a{
  font-size:12px;
  color:#6e608d;
  margin-left:auto;
  display:flex;
  gap:6px;
  white-space:nowrap
}
.demo-banner a svg{
  width:13px
}
.page-content{
  padding:35px 40px 24px;
  max-width:1680px;
  margin:auto
}
.page-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:27px
}
.eyebrow{
  font-size:11px;
  letter-spacing:1.7px;
  font-weight:650;
  color:#666673;
  margin-bottom:10px
}
.lede{
  font-size:14px;
  color:var(--muted);
  line-height:1.7;
  margin-top:9px
}
.heading-actions{
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap
}
.button{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:7px;
  font-size:13px;
  font-weight:550;
  padding:10px 13px;
  border:1px solid transparent;
  border-radius:8px;
  line-height:1.2;
  min-height:36px
}
.button svg{
  width:15px;
  height:15px
}
.button.secondary{
  background:#fff;
  border-color:#e2e3eb;
  color:#66697c;
  box-shadow:0 2px 3px #20203303
}
.button.secondary:hover:not(:disabled){
  border-color:#c7bfec;
  background:#faf9ff
}
.button.primary{
  background:var(--purple);
  color:white;
  box-shadow:0 3px 8px #6651d927
}
.button.primary:hover:not(:disabled){
  background:#5540c7
}
.button.compact{
  padding:8px 11px;
  min-height:31px;
  font-size:12px
}
.overview-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
  gap:12px;
  font-size:12px
}
.snapshot-label{
  display:flex;
  align-items:center;
  gap:7px;
  color:#656672
}
.snapshot-label .dot{
  background:#b8b4c9
}
.snapshot-label strong{
  font-size:12px;
  font-weight:500;
  color:#686b7d;
  margin-left:5px
}
.quiet{
  color:var(--muted);
  font-size:13px;
  line-height:1.6
}
.metric-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-bottom:30px
}
.metric{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:21px 23px;
  box-shadow:var(--shadow)
}
.metric-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  font-weight:550;
  color:#686b7e
}
.metric-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:#f4f2fe;
  color:#6a608f;
  width:28px;
  height:28px
}
.metric-icon svg{
  width:16px;
  height:16px
}
.metric-icon.green{
  background:#eef8f3;
  color:#476f5f
}
.metric-icon.amber{
  background:#fff5e4;
  color:#82632f
}
.metric-value{
  font-size:34px;
  letter-spacing:-1px;
  font-weight:650;
  margin:10px 0 13px;
  display:flex;
  align-items:baseline;
  gap:8px
}
.metric-value small{
  font-size:13px;
  letter-spacing:0;
  color:#65666f;
  font-weight:400
}
.metric p{
  font-size:12px;
  color:#656772;
  margin-top:12px;
  line-height:1.5
}
.metric p strong{
  font-weight:500
}
.metric a{
  font-size:12px;
  color:#666672;
  display:flex;
  gap:6px;
  align-items:center;
  margin-top:12px
}
.metric a svg{
  width:12px;
  height:12px
}
.attention-metric{
  background:#fffdf9;
  border-color:#f0e8d9
}
.attention-metric a{
  color:#81622f
}
.mini-track{
  display:flex;
  gap:3px;
  height:6px;
  margin-top:6px
}
.mini-track span{
  flex:1;
  border-radius:2px
}
.mini-track .matched{
  background:#aba0e1
}
.mini-track .attention{
  background:#e4c68a
}
.mini-track .pending{
  background:#e4e2ed
}
.green-text{
  color:var(--green)
}
.amber-text{
  color:var(--amber)
}
.section-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px
}
.section-header p,.panel-heading p{
  font-size:12px;
  color:#666671;
  margin-top:6px;
  line-height:1.6
}
.section-tag{
  font-size:11px;
  letter-spacing:1px;
  color:#676872;
  font-weight:600;
  white-space:nowrap
}
.currency-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  margin-bottom:28px
}
.currency-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:11px;
  padding:16px;
  box-shadow:var(--shadow)
}
.currency-card>div:first-child{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:5px
}
.currency-code{
  font-size:12px;
  font-weight:650;
  border:1px solid #e9e6ef;
  background:#fbfaff;
  border-radius:5px;
  padding:4px 6px;
  color:#6e6382
}
.currency-card .quiet{
  font-size:11px
}
.money-value{
  font-size:22px;
  letter-spacing:-.6px;
  font-weight:600;
  margin:18px 0
}
.money-value small{
  display:inline;
  margin-left:4px;
  font-size:11px;
  color:#666670;
  font-weight:400;
  letter-spacing:0
}
.currency-bottom{
  border-top:1px solid #f0f0f5;
  padding-top:12px;
  display:grid;
  gap:5px;
  font-size:11px;
  color:#666874
}
.currency-bottom span:nth-child(2){
  color:#646879
}
.overview-secondary{
  display:grid;
  grid-template-columns:1.45fr 1fr;
  gap:18px;
  margin-bottom:28px
}
.panel{
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden
}
.panel-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:23px 24px;
  gap:12px
}
.count-pill{
  color:#7e6231;
  background:#fcf3e2;
  padding:4px 8px;
  font-size:12px;
  border-radius:6px
}
.review-row{
  display:flex;
  align-items:center;
  gap:13px;
  border:none;
  background:#fff;
  border-top:1px solid #f0f0f5;
  width:100%;
  text-align:left;
  padding:18px 24px
}
.review-row:hover{
  background:#fcfbff
}
.review-icon{
  width:32px;
  height:32px;
  background:#fcf6ea;
  color:#806339;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0
}
.review-icon svg{
  width:16px
}
.review-row>span:nth-child(2){
  flex:1
}
.review-row strong{
  font-size:13px;
  font-weight:550
}
.review-row small{
  font-size:12px;
  color:#666772;
  line-height:1.6;
  margin-top:4px
}
.review-row>svg{
  width:14px;
  color:#696773
}
.health-flow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 32px;
  gap:12px
}
.provider-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  font-size:21px;
  font-weight:750;
  border-radius:10px;
  flex-shrink:0
}
.provider-icon.stripe{
  background:#f1eeff;
  color:#695cad
}
.provider-icon.fakturoid{
  background:#fff2e5;
  color:#84623e
}
.processor-icon{
  background:#f7f6fa;
  border:1px solid #ebe9f3;
  width:38px;
  height:38px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#6f618f
}
.flow-line{
  display:flex;
  justify-content:space-around;
  align-items:center;
  flex:1;
  border-bottom:1px solid #ece9f3;
  height:1px
}
.flow-line span{
  width:4px;
  height:4px;
  background:#c4badf;
  border-radius:50%
}
.health-labels{
  display:flex;
  justify-content:space-between;
  margin:8px 29px 16px;
  font-size:11px;
  color:#666670
}
.health-stats{
  margin:0 24px 14px
}
.health-stats>div{
  display:flex;
  justify-content:space-between;
  padding:7px 0;
  font-size:12px
}
.health-stats dt{
  color:#656671
}
.health-stats dd{
  margin:0;
  color:#64677a;
  font-variant-numeric:tabular-nums
}
.text-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#6b608d;
  background:none;
  border:none;
  padding:0
}
.text-link svg{
  width:13px;
  height:13px
}
.health-panel>.text-link{
  margin:0 24px 20px
}
.text-link:hover{
  text-decoration:underline
}
.filter-bar{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  padding:0 24px 18px
}
.search-field{
  display:flex;
  align-items:center;
  border:1px solid #e5e5ec;
  border-radius:8px;
  padding:8px 10px;
  gap:8px;
  flex:1;
  min-width:250px;
  background:#fcfcfe
}
.search-field svg{
  width:15px;
  color:#646671
}
.search-field input{
  border:0;
  outline:none;
  background:transparent;
  width:100%;
  font-size:13px;
  min-width:0;
  color:#5c5f70
}
.search-field:focus-within{
  outline:2px solid #b9adeb;
  outline-offset:1px
}
.search-field input:focus-visible{
  outline:none
}
.search-field input::placeholder{
  color:#666873
}
.filter-bar select{
  border:1px solid #e5e5ec;
  background:#fff;
  color:#626577;
  padding:8px 23px 8px 10px;
  border-radius:7px;
  font-size:12px;
  min-height:35px;
  max-width:155px
}
.reset-button{
  background:none;
  border:0;
  color:var(--purple);
  font-size:12px;
  padding:9px
}
.table-scroll{
  overflow:auto;
  overscroll-behavior-x:contain
}
.invoice-table{
  border-collapse:collapse;
  width:100%;
  text-align:left;
  min-width:650px;
  table-layout:auto
}
.invoice-table thead{
  font-size:11px;
  color:#676872;
  font-weight:500;
  background:#fafafd;
  border-top:1px solid #f0f0f5
}
.invoice-table th{
  padding:12px 18px;
  white-space:nowrap;
  font-weight:500
}
.invoice-table th:first-child{
  padding-left:24px;
  width:32%
}
.invoice-table th:last-child{
  padding-right:24px
}
.invoice-table th button{
  background:transparent;
  border:0;
  color:inherit;
  padding:0;
  text-align:left;
  width:100%;
  display:flex;
  gap:12px;
  align-items:center;
  font-size:11px
}
.invoice-table th button span{
  color:#696575
}
.invoice-table td{
  padding:13px 18px;
  border-top:1px solid #f0f0f5;
  font-size:12px;
  color:#626576;
  vertical-align:middle;
  white-space:nowrap
}
.invoice-table td:first-child{
  padding-left:24px
}
.invoice-table td:last-child{
  text-align:right;
  padding-right:24px
}
.invoice-table tr:hover td{
  background:#fdfcff
}
.invoice-open{
  display:grid;
  text-align:left;
  gap:5px;
  border:0;
  background:none;
  padding:4px 0;
  width:100%
}
.invoice-open strong{
  font-size:13px;
  font-weight:550;
  color:#626277;
  letter-spacing:.1px;
  font-variant-numeric:tabular-nums
}
.invoice-open span{
  font-size:12px;
  color:#666671
}
.invoice-table td small{
  font-size:11px;
  color:#676871;
  margin-top:5px
}
.invoice-table .amount strong{
  font-size:13px;
  font-weight:500;
  color:#63667a;
  font-variant-numeric:tabular-nums
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
  border-radius:5px;
  padding:4px 7px;
  font-size:11px;
  line-height:1.2;
  font-weight:500;
  background:#f4f4f8;
  color:#666672
}
.dot{
  display:inline-block;
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
  flex-shrink:0
}
.badge.matched,.badge.paid,.badge.completed{
  background:#eef7f2;
  color:#4c6f5c
}
.badge.attention,.badge.failed{
  background:#fff5e8;
  color:#796342
}
.badge.pending,.badge.waiting,.badge.received{
  background:#f2f0fa;
  color:#6c6380
}
.badge.open{
  background:#f3f1fb;
  color:#6c6282
}
.pagination{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--line);
  padding:15px 24px;
  gap:12px;
  color:#65666f;
  font-size:12px
}
.pagination>div{
  display:flex;
  align-items:center;
  gap:13px
}
.footnote{
  color:#666772;
  font-size:12px;
  margin-top:14px;
  line-height:1.6
}
.page-footer{
  display:flex;
  justify-content:space-between;
  gap:15px;
  font-size:11px;
  color:#676872;
  margin-top:30px
}
.page-footer span span{
  margin:0 7px
}
.empty-state{
  padding:60px 24px;
  text-align:center;
  color:#656774
}
.empty-state>svg{
  color:#6c6379;
  width:30px;
  height:30px;
  margin-bottom:14px
}
.empty-state h3,.empty-state h2{
  color:#64687a;
  margin-bottom:10px
}
.empty-state p{
  font-size:14px;
  line-height:1.7;
  margin-bottom:20px
}
.callout{
  display:flex;
  gap:11px;
  border:1px solid #eae6f2;
  border-radius:9px;
  padding:14px;
  font-size:13px;
  line-height:1.7;
  background:#f9f7fc;
  color:#6c6578;
  margin-bottom:22px
}
.callout>svg{
  width:17px;
  height:17px;
  margin-top:3px
}
.callout strong{
  font-weight:550
}
.callout p{
  margin-top:7px
}
.callout.warning{
  background:#fff9ef;
  border-color:#eee1ca;
  color:#806231
}
.callout.success{
  background:#f4faf7;
  border-color:#dfefe5;
  color:#526d5c
}
.activity-list{
  list-style:none;
  margin:0;
  padding:0
}
.activity-list li{
  display:flex;
  gap:15px;
  padding:20px 24px;
  border-top:1px solid #f1f1f6
}
.event-icon{
  height:28px;
  width:28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  color:#6a637a;
  background:#f4f1fa
}
.event-icon svg{
  width:14px;
  height:14px
}
.event-icon.completed{
  background:#eff8f2;
  color:#566c5d
}
.event-icon.failed{
  background:#fff5e7;
  color:#7d633e
}
.event-content{
  flex:1
}
.event-content>div{
  display:flex;
  gap:10px;
  align-items:center
}
.event-content strong{
  font-size:13px;
  font-weight:550
}
.event-content p{
  font-size:12px;
  color:#656874;
  margin:8px 0;
  line-height:1.7
}
.activity-list time{
  font-size:11px;
  color:#666772;
  white-space:nowrap
}
.connection-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-bottom:24px
}
.connection-card{
  padding:27px
}
.connection-card h2{
  margin-top:16px
}
.connection-card>p{
  font-size:13px;
  color:#656672;
  margin:8px 0 17px;
  line-height:1.7
}
.connection-rule{
  border-top:1px solid var(--line);
  padding-top:19px;
  margin-top:21px
}
.connection-rule strong{
  font-size:13px;
  font-weight:500
}
.connection-rule p{
  font-size:13px;
  color:#636672;
  line-height:1.8;
  margin-top:7px;
  max-width:400px
}
.contract-panel{
  padding-bottom:12px
}
.capabilities{
  margin:0 24px 24px
}
.capabilities>div{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:16px 0;
  border-bottom:1px solid #f0f0f5;
  font-size:13px;
  line-height:1.8
}
.capabilities dt{
  color:#646677
}
.capabilities dd{
  margin:0;
  color:#686470;
  text-align:right
}
.capabilities dd.green-text{
  color:#566d5e
}
.numbering-note{
  display:flex;
  gap:16px;
  background:#f9f8fd;
  padding:20px 24px;
  margin:0 24px 24px;
  border-radius:9px
}
.numbering-note h3{
  font-size:14px;
  color:#6e627d
}
.numbering-note p{
  display:flex;
  gap:15px;
  align-items:center;
  margin:12px 0;
  color:#706281
}
.numbering-note p svg{
  width:16px
}
.numbering-note small{
  font-size:12px;
  color:#6a6576;
  line-height:1.7
}
.advanced{
  margin:18px 24px;
  padding:14px 0;
  border-top:1px solid var(--line);
  color:#696775;
  font-size:13px;
  line-height:1.8
}
.advanced summary{
  cursor:pointer;
  color:#6b627c;
  font-size:13px
}
.advanced p{
  margin:12px 0 0
}
.advanced pre{
  background:#f9f9fc;
  border-radius:8px;
  padding:18px;
  font-size:12px;
  overflow:auto;
  white-space:pre-wrap;
  line-height:1.8
}
.detail-dialog{
  position:fixed;
  inset:0 0 0 auto;
  margin:0;
  height:100dvh;
  max-height:100dvh;
  width:min(760px,calc(100vw - 20px));
  max-width:100vw;
  border:0;
  border-left:1px solid #e2dfec;
  padding:0;
  box-shadow:-12px 0 70px #27203918;
  background:#fff;
  color:var(--ink);
  overflow:hidden
}
.detail-dialog[open]{
  display:flex;
  flex-direction:column;
  animation:slide-in .2s ease-out
}
dialog::backdrop{
  background:#30294844;
  backdrop-filter:blur(2px)
}
.detail-header{
  padding:27px 30px 23px;
  display:flex;
  justify-content:space-between;
  gap:15px;
  border-bottom:1px solid var(--line)
}
.detail-header h2{
  font-size:25px;
  letter-spacing:-.5px;
  color:#555567
}
.detail-header p:last-child{
  font-size:13px;
  color:#67656f;
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:14px
}
.detail-header .icon-button{
  background:#f6f5f9
}
.detail-tabs{
  display:flex;
  gap:24px;
  padding:0 30px;
  border-bottom:1px solid var(--line);
  flex-shrink:0
}
.detail-tabs button{
  background:none;
  border:0;
  border-bottom:2px solid transparent;
  padding:17px 0 14px;
  font-size:13px;
  color:#6a6672;
  display:flex;
  align-items:center;
  gap:6px
}
.detail-tabs button[aria-selected=true]{
  color:#715e97;
  border-bottom-color:#b4a2d5;
  font-weight:550
}
.detail-tabs button span{
  padding:2px 5px;
  background:#f4f0fa;
  border-radius:4px;
  font-size:11px
}
.detail-body{
  flex:1;
  overflow:auto;
  padding:24px 30px;
  outline-offset:-3px
}
.detail-kpis{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  border:1px solid #eae8f0;
  border-radius:10px;
  padding:16px 0;
  margin-bottom:23px
}
.detail-kpis>div{
  padding:0 17px;
  border-left:1px solid #eeecf3
}
.detail-kpis>div:first-child{
  border:0
}
.detail-kpis>div>span:first-child{
  display:block;
  font-size:11px;
  color:#69656f;
  margin-bottom:10px
}
.detail-kpis strong{
  font-size:14px;
  color:#6a6474;
  letter-spacing:-.2px;
  font-weight:550
}
.detail-section-title{
  font-size:14px;
  color:#6c6476;
  margin:25px 0 14px
}
.identity-pair{
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:18px
}
.identity-pair>div{
  position:relative;
  flex:1;
  padding:14px;
  background:#faf9fd;
  border:1px solid #efedf5;
  border-radius:8px
}
.identity-pair span{
  display:block;
  color:#6c6672;
  font-size:11px;
  margin-bottom:8px
}
.identity-pair strong{
  font-size:14px;
  font-weight:500;
  color:#6f627b
}
.identity-pair>svg{
  color:#6b6572;
  width:17px
}
.identity-pair .copy-button{
  position:absolute;
  right:7px;
  top:12px
}
.copy-button{
  display:inline-flex;
  background:transparent;
  border:0;
  border-radius:5px;
  color:#6a6472;
  padding:4px
}
.copy-button svg{
  height:13px;
  width:13px
}
.copy-button:hover{
  color:var(--purple);
  background:#f1edf9
}
.comparison-wrap{
  overflow:auto;
  border:1px solid #eae7f0;
  border-radius:9px
}
.comparison-table{
  border-collapse:collapse;
  width:100%;
  font-size:12px;
  text-align:left;
  min-width:520px
}
.comparison-table thead{
  background:#f9f8fc;
  color:#6b6375
}
.comparison-table th,.comparison-table td{
  padding:12px;
  border-bottom:1px solid #eeeaf3;
  font-weight:400
}
.comparison-table tbody th{
  font-size:12px;
  color:#6c6375
}
.comparison-table td{
  color:#716378;
  font-variant-numeric:tabular-nums
}
.comparison-table tr:last-child>*{
  border-bottom:0
}
.comparison-table .difference{
  background:#fff9ef
}
.comparison-result svg{
  width:14px;
  height:14px
}
.comparison-result.green-text{
  color:#5a6c61
}
.comparison-result.amber-text{
  color:#766449
}
.line-items{
  border-bottom:1px solid var(--line);
  margin-top:15px
}
.line-items>div{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 0;
  gap:10px;
  border-top:1px solid #f2eef7
}
.line-items strong{
  font-size:13px;
  font-weight:500;
  color:#6f6275
}
.line-items small{
  font-size:11px;
  color:#6c6371;
  margin-top:6px;
  line-height:1.7
}
.line-items>div>strong{
  white-space:nowrap
}
.invoice-totals{
  max-width:300px;
  margin:20px 0 10px auto;
  font-size:12px;
  color:#6d6374
}
.invoice-totals>div{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:8px 0
}
.invoice-totals dd{
  margin:0;
  font-variant-numeric:tabular-nums
}
.invoice-totals .grand-total{
  border-top:1px solid #eee8f4;
  margin-top:8px;
  font-size:14px;
  color:#74627e;
  font-weight:550;
  padding-top:15px
}
.detail-footer{
  border-top:1px solid var(--line);
  padding:15px 30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  flex-shrink:0;
  background:#fefeff
}
.detail-footer>span{
  display:flex;
  gap:6px;
  align-items:center;
  font-size:11px;
  color:#6c6374
}
.detail-footer>span svg{
  width:13px;
  height:13px
}
.detail-footer .button{
  color:#6f6377;
  border-color:#eae3f1
}
.detail-timeline{
  list-style:none;
  margin:25px 0 10px;
  padding:0
}
.detail-timeline li{
  display:flex;
  gap:16px;
  padding-bottom:30px;
  position:relative
}
.detail-timeline li:not(:last-child):before{
  content:"";
  position:absolute;
  width:1px;
  background:#eee9f3;
  left:13px;
  top:31px;
  bottom:4px
}
.detail-timeline li>div{
  flex:1
}
.timeline-title{
  display:flex;
  gap:12px;
  align-items:center
}
.timeline-title strong{
  font-size:13px;
  color:#71627c
}
.detail-timeline time{
  font-size:11px;
  color:#6e6375;
  display:block;
  margin-top:8px
}
.detail-timeline p{
  font-size:13px;
  color:#716379;
  margin:13px 0;
  line-height:1.8
}
.detail-timeline code{
  font-size:11px;
  color:#6f6477
}
.diagnostics-list{
  margin:22px 0
}
.diagnostics-list>div{
  padding:14px 0;
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid #f1ecf6
}
.diagnostics-list dt{
  font-size:12px;
  color:#6f6378;
  line-height:1.8
}
.diagnostics-list dd{
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
  text-align:right;
  color:#6f6279
}
.diagnostics-list code{
  font-size:12px
}
.detail-body .advanced{
  margin:20px 0;
  color:#74627b
}
.detail-body .advanced summary{
  color:#75627b
}
.help-dialog{
  width:min(520px,calc(100vw - 24px));
  border:1px solid var(--line);
  border-radius:16px;
  padding:0 25px 25px;
  color:#65667a;
  box-shadow:0 20px 100px #37304f22
}
.help-dialog .panel-heading{
  padding:23px 0
}
.help-dialog>p{
  font-size:14px;
  line-height:1.8;
  color:#696677
}
.help-shortcuts{
  margin:18px 0 22px
}
.help-shortcuts>div{
  display:flex;
  justify-content:space-between;
  padding:10px 0;
  font-size:13px;
  border-bottom:1px solid #f1eef6
}
.help-shortcuts dd{
  margin:0
}
.boot{
  height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:20px;
  color:var(--muted);
  font-size:14px
}
.skeleton>div{
  height:12px;
  background:#f1f0f6;
  border-radius:6px;
  margin:10px 0;
  animation:shimmer 1.2s ease-in-out infinite
}
.skeleton>div:nth-child(2){
  height:36px;
  width:40%
}
.skeleton.large{
  height:360px;
  background:linear-gradient(90deg,#fff,#f4f3f8,#fff);
  background-size:200%;
  animation:shimmer 1.2s ease-in-out infinite
}
#toast{
  position:fixed;
  bottom:25px;
  left:calc(50% + 116px);
  transform:translate(-50%,20px);
  background:#514967;
  color:#69666d;
  border-radius:9px;
  padding:13px 19px;
  font-size:13px;
  box-shadow:0 8px 30px #42345425;
  z-index:100;
  opacity:0;
  pointer-events:none;
  max-width:calc(100vw - 40px);
  transition:opacity .2s,transform .2s
}
#toast.visible{
  opacity:1;
  transform:translate(-50%,0)
}
@keyframes slide-in{
  from{
    transform:translateX(24px);
    opacity:.4
  }
  to{
    transform:translateX(0);
    opacity:1
  }
}
@keyframes shimmer{
  50%{
    opacity:.5
  }
}
@media(min-width:1500px){
  .page-content{
    padding:40px 55px
  }
  .topbar{
    padding:0 55px
  }
  .demo-banner{
    padding-left:55px;
    padding-right:55px
  }
  .currency-card{
    padding:20px
  }
  .money-value{
    font-size:25px
  }
  .metric{
    padding:24px 28px
  }
  .metric-value{
    font-size:39px
  }
}
@media(max-width:1200px){
  .sidebar{
    width:210px;
    padding-left:12px;
    padding-right:12px
  }
  .main-shell{
    margin-left:210px
  }
  .topbar{
    padding:0 25px
  }
  .demo-banner{
    padding:12px 25px
  }
  .page-content{
    padding:30px 25px 24px
  }
  .currency-grid{
    grid-template-columns:repeat(3,1fr)
  }
  .currency-grid .currency-card:last-child{
    grid-column:auto
  }
  .metric{
    padding:18px
  }
  .metric-value{
    font-size:29px
  }
  .metric-label{
    font-size:12px
  }
  .overview-secondary{
    grid-template-columns:1.2fr 1fr
  }
  .review-row{
    padding:17px 18px
  }
  .panel-heading{
    padding:21px 18px
  }
  .heading-actions .button{
    font-size:12px;
    padding:10px
  }
  .lede{
    max-width:480px;
    font-size:13px
  }
  .page-heading h1{
    font-size:30px
  }
  .demo-banner a{
    display:none
  }
  .currency-bottom{
    display:flex;
    justify-content:space-between;
    gap:8px
  }
  .filter-bar{
    padding-left:18px;
    padding-right:18px
  }
  #toast{
    left:calc(50% + 105px)
  }
}
@media(max-width:960px){
  .page-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:18px
  }
  .overview-secondary{
    grid-template-columns:1fr
  }
  .health-flow{
    max-width:380px;
    margin:0 auto
  }
  .health-labels{
    max-width:400px;
    margin:8px auto 18px;
    padding:0 14px
  }
  .health-stats{
    display:flex;
    gap:20px;
    justify-content:space-between
  }
  .health-stats>div{
    display:grid;
    gap:7px
  }
  .health-panel>.text-link{
    margin-top:10px
  }
  .metric-grid{
    gap:10px
  }
  .metric{
    padding:16px 13px
  }
  .metric-icon{
    width:23px;
    height:23px
  }
  .metric-value{
    font-size:29px
  }
  .metric p{
    font-size:11px
  }
  .metric a{
    font-size:11px
  }
  .overview-strip>.quiet{
    display:none
  }
  .currency-bottom{
    display:grid
  }
  .activity-list time{
    white-space:normal;
    max-width:75px;
    line-height:1.8
  }
  .capabilities>div{
    font-size:12px
  }
  .connection-card{
    padding:21px
  }
}
@media(max-width:720px){
  .topbar{gap:8px;padding-left:14px;padding-right:14px}
  .topbar .breadcrumb{display:none}
  .mobile-brand{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
    width:112px;
    flex-shrink:0;
    padding:7px 8px;
    border-radius:7px;
    background:#111620;
    color:#e2e8f1;
    margin-right:auto
  }
  .mobile-brand span{font-size:8px;line-height:1;letter-spacing:1.6px;text-transform:uppercase}
  .sidebar{
    display:none;
    width:250px;
    box-shadow:10px 0 40px #44345f1a;
    padding-top:23px
  }
  .sidebar.open{
    display:flex
  }
  .main-shell{
    margin-left:0
  }
  .topbar{
    height:60px;
    padding:0 18px;
    position:relative;
    z-index:21
  }
  .mobile-menu{
    display:inline-flex
  }
  .breadcrumb{
    font-size:12px;
    margin-right:auto;
    gap:8px
  }
  .breadcrumb>span,.breadcrumb>strong{
    display:none
  }
  .topbar-right{
    gap:12px
  }
  .topbar-right>.icon-button{
    display:none
  }
  .topbar-right>.avatar{
    display:none
  }
  .demo-pill{
    font-size:11px;
    padding:5px 8px
  }
  .demo-banner{
    padding:11px 18px;
    font-size:11px;
    align-items:flex-start;
    gap:8px
  }
  .demo-banner>svg{
    margin-top:2px
  }
  .page-content{
    padding:25px 18px 21px
  }
  .page-heading{
    margin-bottom:23px;
    gap:18px
  }
  .page-heading h1{
    font-size:28px;
    letter-spacing:-.8px
  }
  .eyebrow{
    font-size:11px;
    margin-bottom:9px
  }
  .lede{
    font-size:13px;
    line-height:1.8;
    margin-top:8px
  }
  .heading-actions{
    width:100%
  }
  .heading-actions .button{
    flex:1;
    min-height:38px
  }
  .overview-strip{
    font-size:11px;
    margin-bottom:14px
  }
  .snapshot-label{
    gap:5px;
    flex-wrap:wrap
  }
  .snapshot-label strong{
    font-size:11px
  }
  .metric-grid{
    grid-template-columns:1fr;
    gap:9px;
    margin-bottom:25px
  }
  .metric{
    padding:16px 18px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:4px 15px;
    position:relative
  }
  .metric-label{
    font-size:13px;
    grid-column:1
  }
  .metric-icon{
    display:none
  }
  .metric-value{
    grid-column:2;
    grid-row:1/3;
    font-size:30px;
    margin:0;
    display:flex;
    flex-direction:column;
    gap:3px;
    align-items:flex-end;
    line-height:1.2
  }
  .metric-value small{
    font-size:11px
  }
  .metric p{
    grid-column:1;
    font-size:11px;
    margin-top:3px
  }
  .metric a{
    grid-column:1;
    font-size:11px;
    margin-top:5px
  }
  .mini-track{
    grid-column:1;
    margin-top:7px;
    height:4px;
    max-width:180px
  }
  .section-header h2{
    font-size:15px
  }
  .section-header p{
    font-size:11px;
    max-width:270px;
    line-height:1.7
  }
  .section-header .section-tag{
    display:none
  }
  .currency-grid{
    grid-template-columns:1fr 1fr;
    gap:9px;
    margin-bottom:24px
  }
  .currency-card{
    padding:14px
  }
  .currency-card:last-child{
    grid-column:1/-1
  }
  .currency-card:last-child .currency-bottom{
    display:flex;
    justify-content:space-between
  }
  .currency-card .quiet{
    font-size:11px
  }
  .money-value{
    font-size:20px;
    margin:15px 0
  }
  .currency-bottom{
    font-size:11px;
    padding-top:10px
  }
  .overview-secondary{
    gap:14px;
    margin-bottom:24px
  }
  .panel-heading{
    padding:20px 17px;
    align-items:flex-start
  }
  .panel-heading h2{
    font-size:14px
  }
  .panel-heading p{
    font-size:11px;
    line-height:1.7
  }
  .panel-heading .text-link{
    font-size:11px;
    white-space:nowrap;
    padding-top:2px
  }
  .review-row{
    padding:16px 17px;
    gap:10px
  }
  .review-row strong{
    font-size:12px
  }
  .review-row small{
    font-size:11px
  }
  .review-icon{
    width:29px;
    height:29px
  }
  .health-flow{
    margin:0 25px;
    max-width:none
  }
  .health-labels{
    margin:8px 20px 12px;
    padding:0
  }
  .health-stats{
    margin:0 17px 13px;
    gap:10px
  }
  .health-stats>div{
    font-size:11px;
    line-height:1.7
  }
  .health-panel>.text-link{
    margin:0 17px 20px
  }
  .invoice-table th:first-child,.invoice-table td:first-child{
    position:sticky;
    left:0;
    background:#fff;
    z-index:1;
    width:180px;
    min-width:180px;
    box-shadow:4px 0 6px #34304304;
    padding-left:17px
  }
  .invoice-table thead th:first-child{
    background:#fafafd
  }
  .invoice-table tr:hover td:first-child{
    background:#fdfcff
  }
  .invoice-table td{
    padding-top:15px;
    padding-bottom:15px
  }
  .invoice-open strong{
    font-size:13px
  }
  .invoice-open span{
    font-size:11px
  }
  .table-scroll{
    border-bottom:1px solid #f1eff6
  }
  .filter-bar{
    gap:7px;
    padding:0 17px 18px
  }
  .search-field{
    flex-basis:100%;
    min-width:100%;
    padding:10px
  }
  .filter-bar>label:not(.search-field){
    flex:1 1 40%
  }
  .filter-bar select{
    font-size:12px;
    width:100%;
    max-width:none;
    min-height:37px
  }
  .filter-bar kbd{
    display:none
  }
  .reset-button{
    flex:1 1 100%;
    text-align:left;
    padding:4px 0
  }
  .pagination{
    align-items:flex-start;
    flex-direction:column;
    gap:13px;
    padding:15px 17px;
    font-size:11px
  }
  .pagination>div{
    width:100%;
    justify-content:space-between
  }
  .pagination .button{
    min-height:35px
  }
  .page-footer{
    font-size:11px;
    display:grid;
    gap:7px;
    margin-top:24px
  }
  .connection-grid{
    grid-template-columns:1fr;
    gap:14px
  }
  .connection-card{
    padding:24px
  }
  .capabilities{
    margin:0 17px 18px
  }
  .capabilities>div{
    display:grid;
    gap:5px;
    padding:14px 0
  }
  .capabilities dd{
    text-align:left;
    font-size:12px
  }
  .numbering-note{
    margin:0 17px 18px;
    padding:16px 14px;
    gap:9px
  }
  .numbering-note>.metric-icon{
    display:none
  }
  .numbering-note h3{
    font-size:13px
  }
  .numbering-note code{
    font-size:12px
  }
  .numbering-note small{
    font-size:11px
  }
  .advanced{
    margin:15px 17px;
    font-size:12px
  }
  .activity-list li{
    padding:17px;
    gap:10px;
    flex-wrap:wrap
  }
  .activity-list time{
    margin-left:38px;
    max-width:none;
    font-size:11px;
    flex-basis:100%
  }
  .event-content{
    flex-basis:calc(100% - 40px)
  }
  .event-content strong{
    font-size:12px
  }
  .event-content .badge{
    font-size:11px
  }
  .event-content p{
    font-size:11px
  }
  .callout{
    font-size:12px;
    padding:13px;
    gap:8px
  }
  .detail-dialog{
    width:100vw;
    border:0
  }
  .detail-header{
    padding:23px 18px 20px
  }
  .detail-header h2{
    font-size:24px
  }
  .detail-header p:last-child{
    font-size:12px;
    gap:10px
  }
  .detail-tabs{
    padding:0 18px;
    gap:23px
  }
  .detail-tabs button{
    font-size:12px;
    padding:16px 0 13px
  }
  .detail-body{
    padding:20px 18px
  }
  .detail-kpis{
    padding:14px 0;
    grid-template-columns:1.35fr .8fr 1fr
  }
  .detail-kpis>div{
    padding:0 10px
  }
  .detail-kpis>div>span:first-child{
    font-size:11px;
    margin-bottom:9px
  }
  .detail-kpis strong{
    font-size:13px
  }
  .detail-kpis .badge{
    font-size:11px
  }
  .identity-pair{
    gap:6px;
    align-items:stretch
  }
  .identity-pair>div{
    padding:12px 9px
  }
  .identity-pair>svg{
    align-self:center;
    width:13px
  }
  .identity-pair strong{
    font-size:12px
  }
  .identity-pair span{
    font-size:11px;
    min-height:18px;
    margin-bottom:7px
  }
  .identity-pair .copy-button{
    position:static;
    display:block;
    margin-top:8px;
    padding:0
  }
  .comparison-table{
    min-width:500px;
    font-size:11px
  }
  .comparison-table tbody th{
    font-size:11px
  }
  .detail-footer{
    padding:12px 18px;
    gap:8px
  }
  .detail-footer>span{
    font-size:11px;
    gap:4px
  }
  .detail-footer .button{
    font-size:11px;
    min-height:35px;
    padding:8px
  }
  .detail-footer .button svg{
    width:12px
  }
  .detail-timeline{
    margin-top:22px
  }
  .timeline-title{
    gap:8px
  }
  .timeline-title strong{
    font-size:12px
  }
  .diagnostics-list>div{
    display:grid;
    gap:8px;
    padding:13px 0
  }
  .diagnostics-list dd{
    text-align:left;
    justify-content:space-between
  }
  .detail-section-title{
    font-size:13px
  }
  .line-items strong{
    font-size:12px
  }
  .line-items small{
    font-size:11px
  }
  .invoice-totals{
    font-size:11px;
    max-width:260px
  }
  .invoice-totals .grand-total{
    font-size:13px
  }
  #toast{
    left:50%;
    bottom:18px;
    font-size:12px;
    width:max-content
  }
  .help-dialog{
    padding:0 18px 20px
  }
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
/* Legible secondary text and touch targets at all sizes. */
.sidebar nav a{
  font-size:13px
}
.workspace{
  flex-wrap:wrap
}
.workspace-demo{
  margin-left:auto
}
.safe-note p{
  font-size:12px
}
.sidebar .nav-label{
  font-size:10px
}
.currency-code{
  font-size:12px
}
.currency-card .quiet{
  font-size:11px
}
.demo-pill{
  font-size:11px
}
.topbar .breadcrumb{
  font-size:12px
}
.badge{
  font-size:11px;
  padding:5px 8px
}
.review-row strong{
  font-size:13px
}
.review-row small{
  font-size:12px
}
.currency-bottom{
  font-size:11px
}
.money-value small{
  font-size:11px
}
.invoice-table{
  min-width:750px
}
.invoice-table th{
  font-size:12px
}
.invoice-table th button{
  font-size:12px
}
.invoice-open strong{
  font-size:13px
}
.invoice-open span{
  font-size:12px
}
.invoice-table td{
  font-size:12px
}
.invoice-table td small{
  font-size:11px
}
.invoice-table .amount strong{
  font-size:13px
}
.icon-button{
  min-width:32px;
  min-height:32px
}
.event-content p{
  font-size:12px
}
.comparison-table{
  font-size:12px
}
.comparison-table tbody th{
  font-size:12px
}
.identity-pair strong{
  font-size:13px
}
.detail-header p:last-child{
  font-size:13px
}
.detail-body .quiet{
  font-size:12px
}
.detail-section-title{
  font-size:14px
}
.detail-kpis strong{
  font-size:16px
}
.detail-footer>span{
  font-size:11px
}
.timeline-title strong{
  font-size:13px
}
.detail-timeline p{
  font-size:13px
}
.diagnostics-list dt,.diagnostics-list code{
  font-size:12px
}
.detail-kpis>div>span:first-child{
  font-size:12px
}
.line-items strong{
  font-size:13px
}
.line-items small{
  font-size:11px
}
.invoice-totals{
  font-size:12px
}
.invoice-totals .grand-total{
  font-size:14px
}
.detail-tabs button{
  font-size:13px
}
.detail-tabs button span{
  font-size:11px
}
.identity-pair span{
  font-size:11px
}
.comparison-table{
  min-width:580px
}
.detail-header h2{
  font-size:26px
}
.details,.advanced summary{
  font-size:13px
}
.overview-strip,.snapshot-label strong{
  font-size:12px
}
.section-header h2,.panel-heading h2{
  font-size:17px
}
.section-header p,.panel-heading p{
  font-size:12px
}
.metric p,.metric a{
  font-size:12px
}
.health-stats>div{
  font-size:12px
}
.health-labels{
  font-size:11px
}
.text-link{
  font-size:12px
}
.section-tag{
  font-size:10px
}
.heading-actions .button{
  font-size:12px
}
.demo-banner{
  font-size:12px
}
.demo-banner a{
  font-size:12px
}
.eyebrow{
  font-size:10px
}
.pagination{
  font-size:12px
}
.pagination .button{
  font-size:12px
}
.footnote{
  font-size:12px
}
.filter-bar select,.search-field input{
  font-size:12px
}
.brand-sub{
  color:#626779
}
.nav-label{
  color:#697085
}
.snapshot-label{
  color:#697085
}
.safe-note svg{
  color:#697085
}
.demo-banner strong{
  color:#625071
}
.demo-banner{
  color:#666078
}
.green-text{
  color:#227555
}
.amber-text{
  color:#8c601e
}
.metric-icon{
  color:#7b60a6
}
.metric-icon.green{
  color:#347b62
}
.metric-icon.amber{
  color:#986b25
}
.badge.matched,.badge.paid,.badge.completed{
  color:#347657
}
.badge.attention,.badge.failed{
  color:#956519
}
.badge.pending,.badge.waiting,.badge.received{
  color:#77618f
}
.badge.open{
  color:#77618f
}
.review-icon{
  color:#996b27
}
.comparison-result.green-text{
  color:#347657
}
.comparison-result.amber-text{
  color:#956519
}
.event-icon.completed{
  color:#347657
}
.event-icon.failed{
  color:#956519
}
.event-icon{
  color:#77618f
}
.callout.success{
  color:#397455
}
.callout.warning{
  color:#90671f
}
.callout.neutral{
  color:#706079
}
.metric-icon,.review-icon,.event-icon{
  opacity:1
}
.profile strong{
  font-size:12px
}
.profile small{
  font-size:11px
}
.sidebar nav a,.sidebar .help-button{
  min-height:42px
}
.detail-timeline code{
  font-size:11px
}
.page-footer{
  font-size:11px
}
.topbar-right>.icon-button{
  color:#696273
}
@media(max-width:720px){
  .page-heading h1{
    font-size:28px
  }
  .page-heading .lede{
    font-size:13px
  }
  .demo-banner{
    font-size:11px
  }
  .metric-label{
    font-size:13px
  }
  .metric-value small{
    font-size:11px
  }
  .currency-card .quiet{
    font-size:11px
  }
  .currency-card .money-value{
    font-size:22px
  }
  .currency-bottom{
    font-size:11px
  }
  .section-header p{
    max-width:100%
  }
  .review-row small{
    font-size:11px
  }
  .health-stats{
    flex-wrap:wrap;
    row-gap:7px
  }
  .health-stats>div{
    font-size:11px
  }
  .health-labels{
    font-size:11px
  }
  .overview-strip,.snapshot-label strong{
    font-size:11px
  }
  .panel-heading{
    flex-wrap:wrap
  }
  .panel-heading h2{
    font-size:16px
  }
  .panel-heading p{
    font-size:12px
  }
  .panel-heading .text-link{
    font-size:12px
  }
  .invoice-table th:first-child,.invoice-table td:first-child{
    min-width:180px
  }
  .detail-kpis strong{
    font-size:13px
  }
  .detail-kpis>div>span:first-child{
    font-size:10px
  }
  .detail-tabs{
    gap:18px
  }
  .detail-tabs button{
    font-size:12px
  }
  .identity-pair strong{
    font-size:12px
  }
  .identity-pair span{
    font-size:11px
  }
  .detail-footer>span{
    font-size:10px
  }
  .detail-footer .button{
    font-size:11px
  }
  .detail-footer{
    flex-wrap:wrap
  }
  .diagnostics-list dt,.diagnostics-list code{
    font-size:12px
  }
  .detail-header .eyebrow{
    font-size:10px
  }
  .comparison-table,.comparison-table tbody th{
    font-size:12px
  }
  .line-items strong{
    font-size:12px
  }
  .line-items small{
    font-size:11px
  }
  .detail-timeline p{
    font-size:13px
  }
  .timeline-title strong{
    font-size:12px
  }
  .topbar{
    gap:9px
  }
  .demo-pill{
    font-size:11px
  }
  .help-button{
    font-size:12px
  }
  .safe-note strong{
    font-size:12px
  }
  .activity-list time{
    font-size:11px
  }
  .capabilities>div{
    font-size:12px
  }
  .capabilities dd{
    font-size:12px
  }
}
.workspace-demo{
  display:none
}
.table-hint,.mobile-comparisons,.menu-backdrop{
  display:none
}
@media(max-width:720px){
  .topbar{
    position:sticky;
    top:0;
    z-index:30
  }
  .sidebar.open{
    top:60px;
    z-index:25;
    overflow:auto
  }
  .menu-backdrop{
    display:block;
    position:fixed;
    inset:60px 0 0 0;
    border:0;
    background:#30294844;
    z-index:24
  }
  .table-hint{
    display:block;
    padding:0 17px 12px;
    color:#626779;
    font-size:11px;
    line-height:1.7
  }
  .comparison-wrap{
    display:none
  }
  .mobile-comparisons{
    display:grid;
    gap:9px
  }
  .mobile-compare{
    border:1px solid #eae7f0;
    border-radius:9px;
    padding:12px;
    background:#fcfbfe
  }
  .mobile-compare.difference{
    background:#fff9ef;
    border-color:#eedfc6
  }
  .mobile-compare h4{
    font-size:12px;
    font-weight:550;
    color:#626074;
    margin:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px
  }
  .mobile-compare h4 svg{
    width:14px;
    height:14px
  }
  .mobile-compare dl{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin:11px 0 0
  }
  .mobile-compare dt{
    font-size:10px;
    color:#696273;
    margin-bottom:8px
  }
  .mobile-compare dd{
    font-size:12px;
    color:#514957;
    margin:0;
    overflow-wrap:anywhere;
    line-height:1.6;
    font-variant-numeric:tabular-nums
  }
}
body:has(dialog[open]){
  overflow:hidden
}
.detail-dialog{
  overflow:clip
}
.detail-header{
  flex-shrink:0
}
.detail-body{
  min-height:0;
  overscroll-behavior:contain
}
.detail-dialog>section{
  min-height:0
}

/* Public login shell contains no account or financial data. */
.sign-in-shell { min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.sign-in-panel { width: min(100%, 520px); padding: 40px; }
.sign-in-panel .brand-logo-frame { width: 240px; margin-bottom: 28px; }
.sign-in-panel h1 { font-size: clamp(28px, 5vw, 40px); margin-bottom: 16px; }
.sign-in-panel .button { margin: 24px 0; }
@media (max-width: 420px) { .sign-in-panel { padding: 24px; } }
@media (max-width: 720px) {
  /* Keep the operator's sign-out control and original logo usable on a phone.
     The adjacent read-only banner already states the private workspace mode. */
  .topbar-right:has(> [data-action="logout"]) .demo-pill { display: none; }
}
