#main:has(.sales-gauge-grid){display:flex;flex-direction:column}
#main:has(.sales-gauge-grid)>.sales-gauge-grid{order:1}
#main:has(.sales-gauge-grid)>.sales-rate-grid{order:2}
#main:has(.sales-gauge-grid)>.sales-trend-title{order:3}
#main:has(.sales-gauge-grid)>.sales-trend-grid{order:4}
.sales-gauge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-bottom:28px}
.sales-gauge{height:278px;padding:42px 38px 26px;position:relative}
.sales-gauge h3{font-size:12px;color:var(--muted)}
.sales-gauge svg{display:block;width:240px;height:150px;margin:8px auto 0;overflow:visible}
.sales-gauge path{fill:none;stroke-width:18;stroke-linecap:round}
.sales-gauge .gauge-track{stroke:#50515e}
.sales-gauge .gauge-fill{stroke:var(--primary)}
.sales-gauge text{fill:var(--text);font-size:23px;font-weight:600;font-family:inherit}
.gauge-foot{display:flex;justify-content:space-between;align-items:flex-start;font-size:13px;font-weight:600;margin-top:-2px}
.gauge-foot>span:last-child{text-align:right}
.gauge-foot small{display:block;font-size:11px;font-weight:400;margin-top:3px}
.good{color:var(--green)}.bad{color:var(--pink)}
.sales-rate-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin-bottom:30px}
.sales-rate{padding:42px 38px 36px;min-height:230px;position:relative}
.sales-rate h3{font-size:12px;margin-bottom:10px}
.sales-rate .info-dot{position:absolute;top:38px;left:150px;width:18px;height:18px;padding:0;border-radius:50%;font-size:11px;color:#171721;background:var(--muted);border:0;font-weight:700}
.sales-rate strong{font-size:27px;display:block;margin:0 0 8px}
.sales-rate .good,.sales-rate .bad{font-size:13px;font-weight:600;margin-bottom:12px}
.sales-rate .progress{margin:0 0 12px;height:8px}
.sales-rate>small{float:right;font-size:11px}
.sales-trend-title{display:flex;align-items:center;justify-content:space-between;margin:4px 0 18px}
.sales-trend-title h2{font-size:23px;font-weight:600}
.sales-trend-title select{width:120px}
.sales-trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 28px;margin-bottom:25px}
.sales-trend{padding:24px 30px 18px;margin:0}
.trend-head{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px 12px;margin-bottom:10px}
.trend-head h3{font-size:12px}
.trend-head strong{grid-column:1;grid-row:2;font-size:20px}
.trend-head span{grid-column:2;grid-row:2;color:var(--muted);font-size:12px;text-align:right}
.mini-trend{width:100%;height:128px;display:block}
.mini-trend line{stroke:#333440;stroke-width:1}
.mini-trend polyline{fill:none;stroke:var(--primary);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.mini-trend circle{fill:var(--primary)}
.team-cell:nth-child(2) strong{white-space:nowrap;font-size:21px}
.leader-table th:last-child{text-align:right;padding-right:30px}
.nav-main .icon{width:18px;height:18px}
.customer-heading{align-items:center}
.customer-heading h1{margin:0}
@media(max-width:1300px){.sales-rate-grid{gap:16px}.sales-rate{padding:34px 25px}.sales-rate .info-dot{left:auto;right:22px}.sales-gauge{padding-left:28px;padding-right:28px}}
@media(max-width:760px){.sales-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-trend-grid{grid-template-columns:1fr}}
@media(max-width:600px){.sales-gauge-grid{grid-template-columns:1fr;gap:18px}.sales-gauge{height:245px;padding:28px 24px 18px}.sales-gauge svg{height:135px;margin-top:4px}.sales-rate-grid{grid-template-columns:1fr 1fr;gap:12px}.sales-rate{min-height:190px;padding:24px 18px}.sales-rate .info-dot{top:21px;right:14px}.sales-rate strong{font-size:23px}.sales-trend-title h2{font-size:20px}.sales-trend-grid{gap:14px}.sales-trend{padding:18px}.trend-head{grid-template-columns:1fr}.trend-head span{grid-column:1;grid-row:3;text-align:left}.mini-trend{height:100px}.team-cell:nth-child(2) strong{font-size:16px;letter-spacing:-.25px}}
.sales-gauge,.sales-rate{margin-bottom:0}
.list-heading:has(#invoice-sort) .filter-anchor{display:none}
body.home-page #main>.page-head:first-child{margin-bottom:15px}
body.home-page #main>.summary-grid:nth-child(2)>.stat-card{height:222px;margin-bottom:17px;padding:40px}
body.home-page #main>.summary-grid:nth-child(2)>.stat-card strong{font-size:23px;margin:18px 0 24px}
body.home-page #main>.page-head:nth-child(3){margin-bottom:8px}
body.home-page #main>.summary-grid:nth-child(4)>.stat-card{height:241px;padding:40px}
body.home-page #main>.summary-grid:nth-child(4)>.stat-card strong{font-size:23px;margin:18px 0 24px}
.home-today-grid,.home-breakdown-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split.home-breakdown-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-day-card{min-width:0}.home-metric-card{min-width:0}.home-breakdown{padding:24px 28px;margin:0;min-width:0}.home-widget-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:18px}.home-widget-heading strong{display:block;font-size:22px;margin-top:10px}.home-widget-heading>span{font-size:12px}.home-team-lead{display:flex;align-items:center;gap:12px;background:#252532;border-radius:6px;padding:13px 15px;margin-bottom:13px}.home-team-lead .avatar{width:36px;height:36px}.home-team-lead div{display:flex;flex-direction:column;gap:3px;flex:1}.home-team-lead small{font-size:9px;letter-spacing:.06em;color:var(--muted)}.home-team-lead b{font-size:13px}.home-team-lead>strong{font-size:15px}.home-team-row{display:grid;grid-template-columns:22px 30px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--border)}.home-team-row:last-child{border-bottom:0}.home-team-row .avatar{width:27px;height:27px}.home-team-row .team-rank{font-size:11px;color:var(--muted);text-align:center}.home-team-row .team-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:13px}.home-team-row>strong{font-size:13px;font-weight:500;font-variant-numeric:tabular-nums}.home-team-row .progress{grid-column:3/5;height:5px;margin:0 0 4px}.donut-layout{display:grid;grid-template-columns:minmax(135px,180px) minmax(0,1fr);align-items:center;gap:20px}.cash-donut{width:100%;max-width:180px;overflow:visible}.cash-donut text:first-of-type{fill:var(--muted);font-size:8px;letter-spacing:.06em}.cash-donut text:last-of-type{fill:var(--text);font-size:13px;font-weight:600}.donut-legend{display:flex;flex-direction:column;gap:12px;min-width:0}.donut-legend-row{display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:12px}.donut-legend-row i{width:8px;height:8px;border-radius:50%;background:var(--slice)}.donut-legend-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}.donut-legend-row strong{font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.line-trend .trend-goal,.mini-trend .trend-goal{stroke:var(--green);stroke-width:1.5;stroke-dasharray:4 5;opacity:.9}.line-trend .trend-line,.mini-trend .trend-line{fill:none;stroke:var(--primary);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.line-trend .trend-point,.mini-trend circle{fill:var(--primary)}.spark line:first-child{stroke:var(--green);stroke-width:1.5;stroke-dasharray:2 4}.settings-tabs{display:flex;gap:22px;margin:0 0 30px;border-bottom:1px solid var(--border)}.settings-tabs button{background:none;border:0;border-radius:0;padding:0 0 9px;color:var(--muted);font-size:14px}.settings-tabs button.active{color:var(--link);font-weight:600;border-bottom:2px solid var(--link)}.settings-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:25px}.settings-heading h1{font-size:23px}.settings-heading .subtitle{margin-top:4px}.settings-heading select{width:110px}.settings-panel{padding:22px 28px;margin-bottom:22px}.settings-panel h2{font-size:15px;margin-bottom:15px}.settings-section-title{font-size:16px;margin:28px 0 15px}.settings-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:28px 0 14px}.settings-section-heading h2{margin:0}.settings-section-heading .subtitle{font-size:13px;margin-top:4px}.settings-section-heading label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px}.settings-section-heading select{width:75px}.settings-company-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 22px}.settings-company-form label{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:12px}.settings-company-form input,.settings-company-form select{width:100%;height:40px;color:var(--text)}.settings-company-form .full{grid-column:1/-1}.settings-logo-field{display:flex;flex-direction:column;gap:7px;color:var(--muted);font-size:12px}.settings-logo{width:140px;height:140px;display:grid;place-items:center;border:1px solid var(--border);border-radius:5px;background:#171721}.settings-logo img{width:112px;height:112px;object-fit:contain}.settings-address-title{grid-column:1/-1;margin-top:4px;padding-top:18px;border-top:1px solid var(--border);font-size:12px;font-weight:600;color:var(--muted)}.settings-save{grid-column:1/-1;display:flex;justify-content:flex-end;padding-top:6px}.settings-payment-grid,.settings-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.settings-payment-grid .settings-panel{display:flex;align-items:center;gap:14px}.settings-payment-grid .settings-panel div:nth-child(2){display:flex;flex-direction:column;gap:4px;flex:1}.settings-payment-grid small{font-size:11px}.payment-card-icon{width:44px;height:32px;border:1px solid var(--border);border-radius:4px;display:grid;place-items:center;color:var(--link);font-size:11px;font-weight:700}.settings-person{display:flex;align-items:center;gap:12px;min-width:210px}.settings-person .avatar{width:36px;height:36px}.settings-person span{display:flex;flex-direction:column;gap:3px}.settings-person strong{font-weight:500}.settings-person small{font-size:11px}.payout-mark{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#343440;color:var(--muted)}.payout-mark.yes{background:#283e38;color:var(--green)}.settings-edit{padding:3px;border:0;background:transparent;color:var(--muted)}.settings-edit:hover{color:var(--link);background:transparent}.settings-edit .icon{width:16px;height:16px}.goals-heading{align-items:flex-end}.goals-panel{padding:20px 28px}.goals-panel>h2{padding-bottom:12px;border-bottom:1px solid var(--border)}.settings-search{margin:0 0 15px}.settings-panel .table-wrap{margin:0 -28px -22px;border:0;border-top:1px solid var(--border);border-radius:0}.settings-panel .data-table th{padding-top:15px;padding-bottom:15px}.settings-panel .data-table td{padding-top:15px;padding-bottom:15px}.subscription-panel{display:flex;align-items:center;justify-content:space-between}.integration-empty{text-align:center;padding:60px 24px}.integration-empty-icon{width:54px;height:54px;border:1px solid var(--border);border-radius:50%;display:grid;place-items:center;margin:0 auto 18px;color:var(--muted)}.integration-empty h2{margin:0 0 8px}.integration-empty p{font-size:13px}.settings-list-heading{align-items:center}
@media(max-width:900px){.split.home-breakdown-grid,.settings-two-col,.settings-payment-grid{grid-template-columns:1fr}.home-today-grid,.home-breakdown-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-company-form{gap:16px}.donut-layout{grid-template-columns:minmax(130px,170px) minmax(0,1fr);gap:14px}}
@media(max-width:600px){.home-today-grid,.home-breakdown-grid,.settings-two-col,.settings-payment-grid{grid-template-columns:1fr}.home-breakdown{padding:18px}.donut-layout{grid-template-columns:minmax(120px,150px) minmax(0,1fr);gap:12px}.donut-legend{gap:8px}.donut-legend-row{font-size:11px}.settings-tabs{margin-bottom:22px}.settings-panel{padding:18px}.settings-company-form{grid-template-columns:1fr}.settings-company-form .full,.settings-address-title,.settings-save{grid-column:1}.settings-heading{align-items:flex-start}.settings-list-heading{display:block}.settings-list-heading .list-filters{justify-content:flex-start;flex-wrap:wrap;margin-top:15px}.settings-person{min-width:0}}
.paid-split{position:relative;display:flex}.paid-main{border-radius:5px 0 0 5px!important;padding:0 18px!important}.paid-caret{width:36px;padding:0!important;border-left:1px solid #7f8bf1!important;border-radius:0 5px 5px 0!important}.paid-caret svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}.paid-menu{position:absolute;z-index:50;right:0;top:calc(100% + 8px);width:280px;max-height:min(70vh,560px);overflow:auto;background:#20202b;border:1px solid #3c3c49;border-radius:7px;box-shadow:0 14px 32px #0008;padding:8px}.paid-menu[hidden]{display:none}.paid-menu h3{font-size:12px;text-transform:uppercase;color:var(--muted);padding:10px 10px 8px;margin:0}.paid-menu button{width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;padding:10px;border:0;background:transparent;border-radius:4px;color:var(--text)}.paid-menu button:hover{background:#30303c}.paid-menu button small{font-size:10px;color:var(--muted)}
.co-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 25px}.co-heading h1{font-size:23px}.co-heading .subtitle{margin-top:5px}.co-heading select,.co-heading .list-filters select{min-width:145px}.co-gauge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.co-gauge{padding:24px 30px}.co-gauge h2{font-size:14px;color:var(--muted);font-weight:500}.co-gauge-visual{max-width:300px;margin:12px auto 0}.co-gauge-visual svg{width:100%;overflow:visible}.co-gauge-visual path{fill:none;stroke-width:15;stroke-linecap:round}.co-gauge-visual .gauge-track{stroke:#343440}.co-gauge-visual .gauge-fill{stroke:var(--primary)}.co-gauge-visual text{fill:var(--text);font-size:25px;font-weight:600}.co-gauge-meta{display:flex;justify-content:space-between;margin-top:-8px;font-size:12px;color:var(--muted)}.co-gauge-meta .good{color:var(--green);font-weight:500}.co-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:30px}.co-stat{padding:20px 22px;display:flex;flex-direction:column;gap:13px}.co-stat>span{font-size:11px;letter-spacing:.04em;color:var(--muted)}.co-stat strong{font-size:22px}.co-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 14px}.co-section-head h2{font-size:18px}.co-section-head .subtitle{margin-top:5px}.co-trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.co-trend{padding:20px 22px}.co-trend h3,.co-cash-trend h3,.co-breakdown h3{font-size:12px;text-transform:uppercase;color:var(--muted);font-weight:500}.co-trend strong{display:block;font-size:20px;margin-top:9px}.co-spark{display:block;width:100%;height:100px;margin-top:14px;overflow:visible}.co-spark .trend-goal{stroke:var(--green);stroke-width:1.5;stroke-dasharray:4 5;opacity:.9}.co-spark .trend-line{fill:none;stroke:var(--primary);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.co-spark circle{fill:var(--primary)}.co-balance-grid,.co-bank-grid,.co-breakdown-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.co-section-title{font-size:17px;margin:24px 0 14px}.co-section-title small{font-size:12px;color:var(--muted);font-weight:400;margin-left:8px}.co-balance{padding:20px}.co-balance-head,.co-bank-head,.co-cash-trend-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.co-balance h2,.co-bank h2{font-size:15px}.co-auto{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:10px}.co-auto .switch{width:30px;height:17px;min-width:30px}.co-balance-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:22px 0}.co-balance-values div{display:flex;flex-direction:column;gap:8px}.co-balance-values span{font-size:10px;color:var(--muted)}.co-balance-values strong{font-size:14px}.co-withdraw{width:100%;height:34px}.co-cash-trend{padding:22px 26px;margin-bottom:18px}.co-cash-trend-head>div{display:flex;flex-direction:column;gap:7px}.co-cash-trend-head strong{font-size:21px}.co-cash-trend-head small{color:var(--muted);font-size:11px}.co-cash-trend .co-spark{height:180px;margin-top:20px}.co-breakdown-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}.co-breakdown{padding:22px 25px}.co-breakdown>strong{display:block;font-size:21px;margin:14px 0 18px}.co-breakdown>div:not(.co-product-mix){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:12px 0;font-size:12px;color:var(--muted)}.co-breakdown>div>b{color:var(--text);font-weight:500;font-variant-numeric:tabular-nums}.co-breakdown>div>i{height:5px;background:#343440;border-radius:5px;grid-column:1/-1;overflow:hidden}.co-breakdown>div>i em{height:100%;display:block;background:var(--primary);border-radius:5px}.co-product-mix{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:14px}.co-product-mix svg{width:100%}.co-product-mix svg text:first-of-type{fill:var(--muted);font-size:8px}.co-product-mix svg text:last-of-type{fill:var(--text);font-size:10px;font-weight:600}.co-product-mix>div{display:flex;flex-direction:column;gap:10px}.co-product-mix>div span{display:grid;grid-template-columns:8px minmax(0,1fr);gap:6px;color:var(--muted);font-size:10px}.co-product-mix>div i{width:8px;height:8px;border-radius:50%;grid-row:1;grid-column:1}.co-product-mix>div b{grid-column:2;font-size:10px;color:var(--text);font-weight:500}.co-bank-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:22px}.co-bank{padding:20px}.co-bank-head button{font-size:11px;color:var(--link);background:transparent;border:0}.co-bank-detail{display:flex;align-items:center;gap:12px;margin:22px 0 12px}.bank-mark{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#30303d;color:var(--link)}.co-bank-detail div{display:flex;flex-direction:column;gap:5px;flex:1}.co-bank-detail strong{font-size:12px}.co-bank-detail small,.co-bank>small{font-size:10px;color:var(--muted)}
@media(max-width:900px){.co-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.co-balance-grid{grid-template-columns:1fr}.co-trend-grid{grid-template-columns:1fr}}
@media(max-width:600px){.co-heading,.co-section-head{align-items:flex-start;flex-direction:column}.co-heading> :last-child,.co-section-head> :last-child{width:100%}.co-heading select{width:100%}.co-gauge-grid,.co-stats-grid,.co-breakdown-grid,.co-bank-grid{grid-template-columns:1fr}.co-gauge{padding:20px}.co-product-mix{grid-template-columns:120px minmax(0,1fr)}.paid-menu{right:-46px;width:min(280px,calc(100vw - 32px))}.co-auto{font-size:9px}}
