@font-face{font-family:Inter;src:url('/assets/inter-latin.woff2') format('woff2');font-style:normal;font-weight:400 750;font-display:swap}

:root{font-family:Inter,system-ui,sans-serif;color:#192821;background:#f5f7f6;line-height:1.5;--bg:#f5f7f6;--panel:#fff;--text:#192821;--muted:#53645c;--soft:#61736a;--line:#e4ebe7;--green:#107a58;--green-dark:#075840;--green-light:#e9f4ef;--sidebar:244px;--top:72px;--radius:14px;color-scheme:light}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:320px;min-height:100vh;font-size:1rem}
button,input,textarea,select{font:inherit;color:inherit}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:not-allowed}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,dl,dd{margin:0}
svg{vertical-align:middle;flex:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid #168765;outline-offset:3px}
[hidden]{display:none!important}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip:focus{position:fixed;left:12px;top:12px;background:white;color:var(--green-dark);z-index:20;padding:12px;border-radius:8px}
.loading,.error-screen{padding:40px;text-align:center}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);display:flex;flex-direction:column;z-index:5;background:var(--panel);border-right:1px solid var(--line);overflow-y:auto;padding:0 16px 17px}
.brand{display:inline-flex;align-items:center;min-width:0}
.brand-logo{display:block;width:clamp(9.75rem,24vw,12.5rem);max-width:100%;height:auto}
.sidebar .brand{height:var(--top);padding:0 9px;flex:none}
.sidebar .brand-logo{width:11rem}
.workspace-label{display:flex;gap:10px;align-items:center;min-height:62px;margin:4px 0 23px;padding:9px;border:1px solid var(--line);border-radius:11px;background:#fafcfb}
.workspace-icon,.connector-icon{display:grid;place-items:center;flex:none;width:34px;height:34px;background:#eaf4ef;border-radius:8px;color:var(--green)}
.workspace-label strong,.connector strong{display:block;font-size:.86rem;line-height:1.22;font-weight:700}
.workspace-label small,.connector small{display:block;color:var(--muted);font-size:.75rem;margin-top:3px;white-space:nowrap}
.sidebar nav section{margin-bottom:20px}
.sidebar nav h2{padding:0 10px;margin:0 0 6px;color:#697971;font-size:.71rem;font-weight:700;letter-spacing:.075em}
.nav-link{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 10px;border-radius:8px;margin-bottom:2px;color:#46594f;font-size:.875rem;font-weight:540;white-space:nowrap}
.nav-link svg{color:#596d62}
.nav-link:hover{color:var(--green-dark);background:#f0f6f3}
.nav-link.active{background:#e3f2eb;color:var(--green-dark);font-weight:720}
.nav-link.active svg{color:var(--green)}
.sidebar-footer{margin-top:auto;padding-top:15px}
.connector{border:1px solid var(--line);padding:9px;display:flex;gap:9px;align-items:center;border-radius:10px;background:#f8fbf9}
.connector-icon{width:32px;height:32px}
.shell{min-height:100vh}
.has-sidebar{margin-left:var(--sidebar)}
.topbar,.public-header{height:var(--top);background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 31px;gap:16px;position:sticky;top:0;z-index:4}
.public-header{padding-inline:max(24px,calc((100vw - 1230px)/2))}
.public-header>div{display:flex;gap:9px}
.crumb,.top-actions{display:flex;align-items:center;gap:10px;min-width:0;white-space:nowrap}
.crumb{font-size:.875rem;color:#596c61}
.crumb strong{font-weight:670;color:var(--text);overflow:hidden;text-overflow:ellipsis}
.crumb svg{color:#687b70}
.top-actions{position:relative;gap:14px}
.global-search{position:relative;width:clamp(155px,22vw,285px)}
.input-with-icon{display:flex;align-items:center;gap:8px;min-width:150px;padding:0 10px;height:40px;background:#fff;border:1px solid #dce6e0;border-radius:8px;color:#66796d}
.input-with-icon:focus-within{border-color:var(--green);box-shadow:0 0 0 2px #1281601a}
.input-with-icon input{width:100%;padding:0;border:0;font-size:.875rem;min-width:0;outline:none;background:none}
.input-with-icon input:focus-visible{outline:none}
.input-with-icon input::placeholder{color:#63766b}
.global-search .input-with-icon{background:#f7f9f8}
kbd{font-family:inherit;border:1px solid #dde7e1;border-radius:4px;background:#fff;font-size:.75rem;padding:0 5px;line-height:1.3;color:#5d7065}
.icon-button{flex:none;display:inline-grid;place-items:center;width:38px;height:38px;border:0;border-radius:8px;background:transparent;color:#596e61;padding:0}
.icon-button:hover,.profile-button:hover{background:#edf5f0;color:var(--green-dark)}
.notification-button{position:relative;border:1px solid var(--line);background:white}
.notification-button i{position:absolute;right:7px;top:7px;background:#dd8d37;width:8px;height:8px;border:2px solid #fff;border-radius:50%}
.top-divider{width:1px;height:29px;background:var(--line)}
.profile-button{border:0;background:transparent;border-radius:9px;display:flex;align-items:center;gap:9px;text-align:left;padding:3px;color:#53675b}
.top-avatar,.row-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#ddefe6;color:#0b6549;font-size:.75rem;font-weight:730}
.profile-meta strong,.profile-meta small{display:block;line-height:1.25}
.profile-meta strong{font-size:.825rem;color:var(--text);font-weight:680;max-width:152px;overflow:hidden;text-overflow:ellipsis}
.profile-meta small{font-size:.74rem;color:var(--muted);margin-top:2px}
.profile-button>svg{margin-left:2px}
.popover{padding:10px;min-width:235px;background:white;box-shadow:0 12px 30px #19352920;border:1px solid var(--line);border-radius:12px;position:absolute;z-index:9;white-space:normal}
.popover strong{display:block;font-size:.865rem}
.popover>p{font-size:.83rem;color:var(--muted);margin:4px 4px 8px;overflow-wrap:anywhere}
.popover ul{list-style:none;padding:0;margin:5px 0 0}
.popover li button,.profile-menu button{display:flex;align-items:center;gap:9px;padding:8px;width:100%;border:0;border-radius:7px;background:#fff;text-align:left;font-size:.875rem}
.popover button:hover{background:#eaf4ef;color:var(--green-dark)}
.popover button small{display:block;font-size:.77rem;color:var(--muted)}
.dropdown{right:0;top:calc(100% + 11px);width:250px}
.search-results{left:0;right:0;top:calc(100% + 6px)}
.menu-label{display:block;margin:10px 5px 4px;color:var(--muted);font-size:.75rem}
.profile-menu>strong,.notifications>strong{margin:2px 5px}
.mobile-toggle,.mobile-scrim{display:none}
.main{max-width:1580px;margin:0 auto;padding:29px 31px 38px;outline:none}
.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:22px}
.page-heading h1,.page-heading h2{font-size:clamp(1.68rem,2.35vw,2.12rem);font-weight:750;letter-spacing:-.045em;line-height:1.2}
.page-heading p,.panel-title p{color:var(--muted);margin-top:5px;font-size:.922rem}
.heading-actions,.action-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 13px;border:1px solid transparent;border-radius:8px;font-size:.875rem;font-weight:655;line-height:1.22;white-space:nowrap;background:white}
.button.primary{color:#fff;background:var(--green);border-color:var(--green);box-shadow:0 1px 2px #163c2920}
.button.primary:hover:not(:disabled){background:var(--green-dark);border-color:var(--green-dark)}
.button.secondary{color:#294237;border-color:#dce6e0;background:#fff;box-shadow:0 1px 2px #163c2907}
.button.secondary:hover:not(:disabled){color:var(--green-dark);border-color:#a4c8b5;background:#f4faf7}
.button.danger{color:#a73938;border-color:#ecd1d1;background:#fff9f9}
.button.danger:hover{background:#ffeaea}
.button.light{background:#e6f4eb;color:#0e503a;border-color:#dcece2}
.button.light:hover{background:#fff}
.button svg{opacity:.94}
.period-control{display:flex;align-items:center;color:#536b5f;position:relative}
.period-control>svg{position:absolute;left:11px;z-index:1;pointer-events:none}
.period-control .select-label select{padding-left:36px}
.select-label{position:relative;display:block}
.select-label>svg{color:#60776a;position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none}
select{appearance:none;padding-right:30px!important}
.select-label select{background:#fff;min-height:40px;padding:8px 11px;min-width:135px;border:1px solid #dce6e0;border-radius:8px;font-size:.875rem}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 1px 2px #1a332710;min-width:0}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}
.stat-card{padding:15px 15px 14px;min-height:126px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;gap:9px}
.stat-top{display:flex;align-items:center;gap:8px;white-space:nowrap;min-width:0}
.stat-top>span+span{font-size:.868rem;font-weight:580;color:#4f6258;white-space:normal;line-height:1.25}
.stat-icon{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;flex:none}
.stat-icon.green{background:#e3f3eb;color:#087657}
.stat-icon.blue{background:#e9effa;color:#305f9a}
.stat-icon.amber{background:#fcf1dc;color:#976221}
.stat-icon.purple{background:#efeafb;color:#6e50a6}
.stat-card>strong{font-size:clamp(1.18rem,1.82vw,1.65rem);line-height:1.15;letter-spacing:-.055em;font-weight:750;white-space:nowrap;font-variant-numeric:tabular-nums}
.stat-detail{display:flex;align-items:center;gap:7px;line-height:1.25;font-size:.75rem;color:var(--muted);min-height:17px;flex-wrap:wrap}
.change{display:inline-flex;align-items:center;gap:3px;font-weight:700;color:#075d42;background:#e9f5ed;padding:2px 5px;border-radius:4px;white-space:nowrap}
.change.negative{color:#8b5047;background:#fff0ea}
.change.negative svg{transform:scaleY(-1)}
.chart-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr);gap:16px;margin-bottom:18px}
.chart-panel{padding:17px 17px 13px;min-height:315px}
.panel-title{display:flex;justify-content:space-between;align-items:flex-start;gap:11px}
.panel-title h2,.integration-banner h2{font-size:1.09rem;line-height:1.3;letter-spacing:-.025em;font-weight:730}
.panel-title p{margin-top:3px;font-size:.85rem}
.chart-key{color:var(--muted);white-space:nowrap;font-size:.78rem;display:inline-flex;align-items:center;gap:6px;padding-top:4px}
.chart-key i,.legend i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#14815e;flex:none}
.bar-chart{margin-top:14px;max-width:860px;display:grid;place-content:center;grid-template-columns:minmax(0,1fr);height:236px}
.bar-chart svg{width:100%;max-height:232px;overflow:visible}
.axis-line{stroke:#e7eeea;stroke-width:1}
.axis-label{font-family:Inter,system-ui,sans-serif;fill:#607367;font-size:12.5px}
.bar{fill:#a5d4bd;transition:fill .15s}
.bar.current,.bar:hover{fill:#147e5c}
.distribution .panel-title>svg{color:#71887b}
.donut{width:132px;height:132px;margin:7px auto 5px;position:relative;display:grid;place-items:center}
.donut svg{position:absolute;inset:0;width:100%;height:100%}
.donut div{z-index:1;text-align:center;display:grid;gap:1px;line-height:1.13}
.donut strong{font-size:1.65rem;font-weight:750;letter-spacing:-.06em}
.donut span{font-size:.78rem;color:var(--muted)}
.legend{margin:0;padding:0;list-style:none;display:grid}
.legend li{padding:5px 0;border-bottom:1px solid #edf1ee;display:flex;justify-content:space-between;color:#4a6155;font-size:.84rem}
.legend li:last-child{border-bottom:0}
.legend li span{display:flex;gap:8px;align-items:center}
.legend li b{color:var(--text);font-weight:670}
.legend .legend-1{background:#85c6aa}
.legend .legend-2{background:#c5d2cb}
.recent{overflow:hidden}
.recent>.panel-title,.filter-bar{padding:15px 17px;align-items:center}
.recent>.panel-title .button{min-height:35px;font-size:.826rem}
.filter-bar,.pagination{display:flex;gap:10px;align-items:center;justify-content:space-between}
.filter-bar .input-with-icon{min-width:230px}
.table-scroll{overflow-x:auto}
table{width:100%;text-align:left;border-collapse:collapse;font-size:.875rem}
th{background:#f5f8f6;color:#52675b;font-size:.78rem;font-weight:700;white-space:nowrap;border-top:1px solid var(--line);padding:9px 13px}
td{border-top:1px solid #edf1ee;padding:8px 13px;min-height:46px;vertical-align:middle}
th:first-child,td:first-child{padding-left:17px}
th:last-child,td:last-child{padding-right:16px}
td small{display:block;color:var(--muted);font-size:.75rem}
tr:hover td{background:#f9fcfa}
td strong{font-weight:650}
.person-cell{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.row-avatar{width:27px;height:27px;font-size:.64rem}
.order-table tr:nth-child(3n+2) .row-avatar{background:#e7effa;color:#355f92}
.order-table tr:nth-child(3n+3) .row-avatar{background:#f1ecfa;color:#6e50a0}
.text-button{border:0;background:none;color:var(--green-dark);font-weight:690;padding:0;text-align:left}
.text-button:hover{text-decoration:underline;text-underline-offset:3px}
.order-id{white-space:nowrap}
.row-action{width:33px;height:31px;display:block;margin-left:auto}
.row-action.edit-action{display:grid;width:36px;height:36px;background:#eaf4ef;color:var(--green-dark)}
.row-action.edit-action:hover{background:#dceee5}
.ellipsis{display:block;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tabular{font-variant-numeric:tabular-nums;white-space:nowrap}
.muted-nowrap{color:var(--muted);white-space:nowrap}
.muted{color:var(--muted)}
.badge{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;min-height:24px;border-radius:25px;font-size:.73rem;font-weight:680;line-height:1.1;white-space:nowrap}
.badge::before{content:'';background:currentColor;width:5px;height:5px;border-radius:50%;opacity:.9}
.badge.green{background:#e7f5ec;color:#126249}
.badge.amber{background:#fff2d9;color:#835019}
.badge.blue{background:#eaf1fc;color:#305b8b}
.badge.red{background:#fcebec;color:#9d363e}
.badge.neutral{background:#eef2ef;color:#4f6558}
.pagination{border-top:1px solid var(--line);font-size:.86rem;padding:13px 17px;color:var(--muted)}
.pagination>div{display:flex;align-items:center;gap:10px}
.pagination .button{min-height:33px;font-size:.8rem}
.empty{padding:42px 18px;text-align:center;display:grid;justify-items:center;gap:8px}
.empty>span{width:50px;height:50px;border-radius:13px;background:#e8f3ed;color:var(--green);display:grid;place-items:center;margin-bottom:2px}
.empty strong{font-size:1.03rem;font-weight:720}
.empty p{color:var(--muted);font-size:.88rem;max-width:400px}
.finance-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.integration-banner{display:flex;align-items:center;gap:12px;padding:17px;margin-bottom:18px}
.integration-banner p{font-size:.88rem;color:var(--muted);margin-top:4px}
.integration-banner>.badge{margin-left:auto}
.market-main{padding-bottom:50px}
.public-shell .market-main{max-width:1290px}
.market-hero{min-height:335px;display:flex;align-items:center;background:#102c20 url('/assets/clinica-vertix.png') center 51%/cover no-repeat;border-radius:18px;position:relative;overflow:hidden;color:#fff}
.market-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0e281ef2 0%,#142d23dd 30%,#142d2355 63%,transparent 100%)}
.market-hero>div{position:relative;z-index:1;padding:28px 42px;max-width:620px}
.market-hero h1{font-size:clamp(2rem,4.1vw,3.35rem);font-weight:740;line-height:1.04;letter-spacing:-.065em;max-width:530px}
.market-hero p:not(.hero-tag){margin:15px 0 20px;color:#e4f1e9;max-width:455px}
.hero-tag{display:flex;align-items:center;gap:7px;font-size:.87rem;font-weight:650;color:#b9e1cd;margin-bottom:9px}
.catalog-list{margin-top:27px;scroll-margin-top:90px}
.category-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #dce6e0;background:white;border-radius:22px;min-height:34px;padding:6px 12px;color:#486254;font-size:.83rem;font-weight:620}
.chip:hover,.chip.selected{color:#086446;background:#e5f4ec;border-color:#abceb9}
.product-grid{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}
.product-card{overflow:hidden;display:flex;flex-direction:column}
.product-picture{display:grid;place-items:center;width:100%;height:150px;padding:0;border:0;color:#22765a;background:#e8f2ed;overflow:hidden}
.product-picture img{width:100%;height:100%;object-fit:cover}
.product-picture:hover{filter:brightness(.96)}
.product-picture.tone-0,.product-picture.tone-4{background:#e9edf5;color:#516b99}
.product-picture.tone-2,.product-picture.tone-5{background:#eeedf6;color:#6b5890}
.product-picture.tone-3{background:#e1f0ec;color:#247b68}
.product-body{padding:14px 15px 16px;display:grid;flex:1;grid-template-rows:auto 1fr auto auto;gap:8px}
.product-category{font-size:.76rem;font-weight:650;color:#476b58}
.product-body h3{font-size:1.02rem;line-height:1.28;font-weight:720;letter-spacing:-.025em}
.product-body h3 button{color:var(--text);font-size:inherit;font-weight:inherit}
.product-body>strong{font-size:1.22rem;letter-spacing:-.04em}
.product-body>div{display:flex;gap:7px;flex-wrap:wrap;margin-top:3px}
.product-body .button{min-height:35px;font-size:.81rem}
.detail-image{display:block;width:100%;max-height:250px;object-fit:contain;background:#f1f6f3;border-radius:9px;margin-bottom:13px}
dialog{padding:0;border:0;border-radius:15px;max-width:min(96vw,860px);max-height:91vh;color:var(--text);box-shadow:0 20px 70px #0c201b4d;margin:auto}
dialog::backdrop{background:#132e255e;backdrop-filter:blur(2px)}
.modal{width:min(94vw,500px);background:#fff}
.modal-wide{width:min(94vw,730px)}
.modal-head{position:sticky;top:0;z-index:1;background:#fff;padding:18px 21px 14px;display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid var(--line)}
.modal-head h2{font-size:1.33rem;font-weight:750;letter-spacing:-.045em;line-height:1.25;overflow-wrap:anywhere}
.modal-head p{font-size:.875rem;color:var(--muted);margin-top:3px}
.modal-head .icon-button{height:34px;width:35px;margin:-4px -5px 0 0}
.modal-content{padding:17px 21px 22px}
.modal-content>p{color:#435a4d;overflow-wrap:anywhere;margin-bottom:13px}
.form-grid,.details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;row-gap:12px}
.details-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:4px 0 6px}
.details-grid dt{font-size:.78rem;color:var(--muted)}
.details-grid dd{overflow-wrap:anywhere;font-size:.9rem;font-weight:650}
.field{display:grid;align-content:start;gap:5px;font-size:.86rem;font-weight:650;min-width:0}
.field>span:first-child b{color:var(--green)}
.field.wide{grid-column:1/-1}
.field input,.field select,.field textarea{width:100%;min-height:41px;min-width:0;border:1px solid #d9e5dd;border-radius:8px;padding:8px 9px;background:#fff;font-weight:450;font-size:.875rem}
.field input[readonly]{background:#f4f7f5;color:var(--muted)}
.field textarea{resize:vertical}
.field input[type=file]{padding:6px}
.form-footer{padding-top:15px;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.form-switch{font-size:.88rem;color:var(--muted);margin-top:13px}
.form-error{color:#972e34;background:#fff1f1;border:1px solid #f1d6d6;border-radius:8px;padding:8px 10px;margin:12px 0 0;font-size:.88rem}
.checkbox-line{display:flex;align-items:flex-start;gap:8px;font-size:.865rem;color:#334e41;margin-top:13px;line-height:1.45}
.checkbox-line input{margin-top:4px;width:16px;height:16px;accent-color:var(--green);flex:none}
.callout,.preapproval-result{padding:9px 10px;font-size:.86rem;border-radius:8px;background:#ebf5ef;color:#24563f;border:1px solid #dfeee4;margin:13px 0 0}
.callout{display:flex;align-items:flex-start;gap:8px}
.callout svg{margin-top:1px}
.order-badges{display:flex;gap:7px;flex-wrap:wrap;padding-bottom:10px}
.order-section{border-top:1px solid var(--line);margin-top:13px;padding-top:13px}
.order-section h3{font-size:.98rem;margin-bottom:7px}
.order-section .action-row,.modal-content>.action-row{margin-top:9px}
.offer-summary{border:1px solid var(--line);border-radius:9px;padding:11px;margin-top:12px;background:#fbfdfb}
.bank-details{margin-top:12px;color:#355448;font-size:.87rem}
.bank-details summary{cursor:pointer;margin-bottom:9px}
.toast{position:fixed;right:18px;bottom:19px;z-index:20;background:#153e2e;color:white;border-radius:9px;padding:11px 16px;box-shadow:0 4px 15px #152e2350;max-width:min(84vw,440px);font-size:.9rem;font-weight:630}
.draft-prompt { position:fixed; z-index:12; top:calc(var(--top) + 12px); right:18px; width:min(415px,calc(100vw - 28px));
  display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; padding:15px 40px 15px 15px;
  background:var(--panel); border:1px solid #c8e2d5; border-radius:12px; box-shadow:0 8px 26px #143e2d28; }
.draft-prompt h2 { font-size:1rem; margin:0 0 4px; letter-spacing:-.012em; }
.draft-prompt p { font-size:.86rem; color:var(--muted); margin:0 0 10px; }
.draft-prompt-icon { height:34px; width:34px; display:grid; place-items:center; background:var(--green-light); color:var(--green); border-radius:9px; }
.draft-prompt-actions { display:flex; flex-wrap:wrap; gap:7px; }
.draft-prompt .draft-dismiss { position:absolute; top:8px; right:7px; width:28px; min-width:28px; height:28px; }

@media(max-width:1150px){:root{--sidebar:217px}.topbar{padding-inline:22px}.main{padding-inline:22px}.sidebar{padding-inline:13px}.stats{gap:10px}.stat-card{padding-inline:11px}.stat-icon{width:34px;height:34px}.stat-top>span+span{font-size:.805rem}.chart-grid{gap:11px}.ellipsis{max-width:190px}}
@media(max-height:840px) and (min-width:851px){.sidebar nav section{margin-bottom:14px}.nav-link{min-height:38px}.workspace-label{margin-bottom:17px}}
@media(max-width:900px){.chart-grid{grid-template-columns:minmax(0,1.55fr) minmax(225px,1fr)}.stat-card>strong{font-size:1.26rem}.stat-top{gap:6px}.stat-top>span+span{font-size:.785rem}.topbar{padding-inline:18px}.main{padding-inline:18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.has-sidebar{margin-left:0}.sidebar{transform:translateX(-100%);transition:transform .2s;z-index:8;width:255px}.sidebar.sidebar-open{transform:translateX(0)}.mobile-toggle{display:inline-grid;margin-left:-7px}.mobile-scrim{position:fixed;inset:0;z-index:7;background:#10271b63;border:0;display:block}.top-actions{gap:8px}.global-search{width:170px}.topbar,.public-header{height:62px}.main{padding-top:20px}}
@media(max-width:650px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{min-height:107px}.chart-grid{grid-template-columns:1fr}.chart-panel{min-height:unset}.bar-chart{height:auto;min-height:163px}.distribution{padding-bottom:14px}.donut{width:117px;height:117px}.global-search,.top-divider,.profile-meta{display:none}.profile-button>svg{margin-left:0}.top-avatar{width:34px;height:34px}.page-heading{align-items:flex-start;flex-direction:column}.recent>.panel-title{align-items:flex-start}.main{padding-inline:14px}.heading-actions{gap:6px}.heading-actions .button,.heading-actions select{font-size:.8rem}.market-hero{min-height:285px}.market-hero>div{padding:21px;max-width:95%}.market-hero::before{background:linear-gradient(90deg,#0e281ef7,#142d23ce 53%,#142d2366)}.market-hero p:not(.hero-tag){font-size:.91rem}.filter-bar .input-with-icon{min-width:0;flex:1}.order-table th,.order-table td{white-space:nowrap}.details-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-picture{height:105px}.product-body{padding:10px}.product-body>div{gap:5px}.product-body .button{padding-inline:7px}.form-grid{column-gap:9px}}
@media(max-width:373px){.product-grid{grid-template-columns:1fr}.period-control select{min-width:120px}.recent>.panel-title .button{white-space:normal}.modal-head,.modal-content{padding-inline:13px}.public-header{padding-inline:13px}.public-header>div{gap:5px}.public-header .button{padding-inline:7px}}
.order-intake { padding:clamp(16px,3vw,38px); }
.order-intake>h2 { margin:20px 0 8px; font-size:clamp(1.35rem,2.3vw,1.85rem); letter-spacing:-.04em; }
.intake-steps { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; list-style:none; padding:0 0 17px; margin:0; border-bottom:1px solid var(--line); }
.intake-steps li { display:flex; align-items:center; gap:8px; color:var(--muted); min-width:0; font-size:.85rem; }
.intake-steps li>span { display:grid; place-items:center; flex:0 0 24px; height:24px; border-radius:50%; background:var(--bg); font-variant-numeric:tabular-nums; }
.intake-steps li.current,.intake-steps li.done { color:var(--green-dark); }
.intake-steps li.current>span { color:white; background:var(--green); }
.intake-steps li.done>span { background:var(--green-light); }
.intake-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(230px,.55fr); gap:24px; align-items:start; }
.intake-copy,.intake-card p { margin:0 0 17px; color:var(--muted); font-size:.9rem; }
.intake-card { border:1px solid var(--line); border-radius:11px; padding:16px; min-width:0; }
.intake-card h3 { margin:0 0 12px; font-weight:730; font-size:1rem; }
.intake-credit { background:#eff8f3; border-color:#cbe8d8; }
.intake-credit + .intake-card { margin-top:12px; }
.intake-preview-form { border:1px solid var(--line); padding:14px; border-radius:10px; margin:12px 0; }
.intake-preview-form h3 { font-size:.95rem; margin:0 0 11px; }
.intake-preview-head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.intake-preview-head p { color:var(--muted); font-size:.9rem; }
.intake-choices { border:0; margin:0 0 13px; padding:0; min-width:0; }
.intake-choices legend { font-size:.82rem; font-weight:720; color:var(--muted); margin-bottom:6px; }
.customer-additional { margin:16px 0 0; }
.intake-deposits { display:flex; flex-wrap:wrap; gap:8px; }
.intake-installments { display:grid; gap:7px; max-height:360px; overflow:auto; padding:2px; }
@media(min-width:721px) {
  .intake-columns-offers { align-items:stretch; }
  .intake-columns-offers>div { display:flex; flex-direction:column; min-height:0; }
  .intake-installment-field { flex:1; min-height:0; position:relative; margin-bottom:0; }
  .intake-installment-field .intake-installments { position:absolute; inset:0; max-height:none; align-content:start; }
}
.intake-address { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.intake-address strong,.intake-address span { display:block; }
.intake-deposit,.intake-installment { display:flex; align-items:center; gap:8px; cursor:pointer; border:1px solid var(--line);
  border-radius:9px; padding:9px 11px; background:var(--bg); font-size:.87rem; }
.intake-deposit input,.intake-installment input { accent-color:var(--green); flex:none; }
.intake-deposit:has(input:checked),.intake-installment:has(input:checked) { background:var(--green-light); border-color:#83beaa; }
.intake-deposit:has(input:focus-visible),.intake-installment:has(input:focus-visible) { outline:2px solid var(--green); outline-offset:1px; }
.intake-installment-copy,.intake-installment-cost { display:grid; gap:2px; }
.intake-installment-copy small,.intake-installment-cost small,.intake-estimate span { color:var(--muted); }
.intake-installment-cost { text-align:right; margin-left:auto; color:var(--green-dark); }
.intake-estimate>div>strong { color:var(--green-dark); font-size:1.3rem; font-variant-numeric:tabular-nums; }
.intake-estimate p { margin:7px 0 0; }
.intake-credit>strong { display:block; color:var(--green-dark); font-size:1.55rem; font-variant-numeric:tabular-nums; }
.intake-credit p { margin:8px 0 0; }
.intake-values>div { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--line); font-size:.88rem; }
.intake-values>div:last-child { border-bottom:0; }
.intake-values dt { color:var(--muted); }
.intake-values dd { margin:0; font-weight:650; text-align:right; overflow-wrap:anywhere; }
.intake-address { margin:0 0 16px; background:var(--bg); border:1px solid var(--line); border-radius:8px; padding:12px; color:var(--green-dark); }
.intake-item { display:grid; grid-template-columns:minmax(180px,2fr) minmax(90px,.7fr) minmax(100px,.9fr) auto; align-items:end; gap:12px; margin-bottom:14px; }
.intake-item-price { display:grid; gap:4px; align-self:center; font-size:.87rem; }
.intake-item-price span,.intake-item-footer { color:var(--muted); }
.intake-item-footer,.intake-actions,.intake-card-head { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.intake-item-footer>div { text-align:right; }
.intake-item-footer strong { color:var(--text); white-space:nowrap; }
.intake-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.intake-card-head h3 { margin:0; }
.intake-file,.intake-checks { margin-top:16px; padding:12px 14px; border:1px solid var(--line); border-radius:9px; }
.intake-file small { color:var(--muted); }
.intake-file .button { margin:5px 0 0 8px; min-height:30px; padding:3px 8px; }
.intake-checks .checkbox-line { margin:4px 0; }
.intake-actions { margin-top:23px; padding-top:16px; border-top:1px solid var(--line); flex-wrap:wrap; }
@media(max-width:720px) {
  .intake-columns,.intake-summary { grid-template-columns:1fr; gap:12px; }
  .intake-steps li { flex-direction:column; align-items:center; text-align:center; gap:4px; font-size:.7rem; }
  .intake-steps li>span { flex:none; width:22px; height:22px; }
  .intake-item { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .intake-item .field:first-child { grid-column:1/-1; }
  .intake-item-footer { align-items:flex-start; flex-wrap:wrap; }
  .intake-item-footer>div { text-align:left; }
}
@media(max-width:420px) {
  .intake-installment { flex-wrap:wrap; }
  .intake-installment-cost { width:100%; text-align:left; padding-left:21px; }
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
