:root{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#264840;background:#f5faf9;font-size:13px;font-synthesis:none;--primary:#08755f;--muted:#85a4a1;--border:#e9f3f0;--green:#22977c;--red:#dc786f}*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button,input,select,textarea{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;border:1px solid transparent;border-radius:7px;background:var(--primary);color:#fff;min-height:38px;padding:10px 15px;font-weight:600;transition:background .15s,box-shadow .15s}button:hover{background:#065b4b}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #caf0e6;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}svg{width:18px;height:18px;flex-shrink:0}input,select,textarea{min-height:39px;border:1px solid #dfeeea;border-radius:7px;background:#fff;color:#335b51;padding:10px 12px;max-width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #ccf0e7;outline-offset:1px;border-color:#93e0cd}input::placeholder,textarea::placeholder{color:#a1bab8}select{cursor:pointer}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-.85px;font-weight:650;line-height:1.25}h2{font-size:23px;letter-spacing:-.5px}h3{font-size:14px;font-weight:650;color:#2b5047}p{color:#89a7a4;line-height:1.7}small{font-size:11px}label{display:block}b,strong{font-weight:650}.secondary{background:white;border-color:#e0eeeb;color:#658986}.secondary:hover{background:#f7fdfb;border-color:#c3ede2;color:#08755f}.text-button{background:none;color:var(--primary);padding:4px;min-height:28px;font-size:11px}.text-button:hover{background:#f6fcfb}.text-button svg{width:13px;height:13px}.text-danger{background:none;color:#c46262}.text-danger:hover{background:#fff1f1}.danger{background:#cc5860}.danger:hover{background:#b5444c}.actions{display:flex;gap:9px;flex-wrap:wrap}aside{position:fixed;inset:0 auto 0 0;width:238px;background:#082029;color:#b0ccca;display:flex;flex-direction:column;padding:30px 18px 20px;z-index:10}.brand{display:flex;align-items:center;gap:11px;color:white;font-size:19px;font-weight:750;letter-spacing:.1px;margin:0 14px}.brand-symbol{display:inline-flex;align-items:center;justify-content:center;background:#85dbc6;border-radius:10px;width:35px;height:35px;color:#fff;font-size:30px;line-height:1;letter-spacing:-2px;padding-bottom:6px}.brand-light{font-size:12px;font-weight:400;margin-left:4px;letter-spacing:-.2px;color:#b4d0ce}.company{display:flex;align-items:center;gap:10px;border:1px solid #304d4b;border-radius:8px;padding:12px;margin:34px 7px 30px;color:#e5f4f0;font-size:12px}.company small{display:block;color:#7fa4a1;font-size:10px;margin-top:4px}.company-icon{display:grid;place-items:center;width:30px;height:30px;background:#30504d;border-radius:7px;color:#cdf1e8;font-weight:600}.company-dot{width:6px;height:6px;background:#62bf9a;border-radius:50%;margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.6px;color:#688e8b;margin:0 15px 15px;font-weight:650}nav{display:grid;gap:5px}.nav{justify-content:flex-start;background:none;color:#93b9b6;font-size:12px;font-weight:450;border-radius:7px;padding:13px 14px;gap:13px;min-height:43px;position:relative}.nav:hover{background:#22443c;color:#f2fbf9}.nav.active{background:#5cffc4;color:white;box-shadow:0 5px 16px #07191426}.nav svg{width:17px;height:17px}.sidebar-note{margin:auto 12px 28px;padding:24px 8px 0;font-size:11px;line-height:1.8;color:#739b98}.sidebar-note b{color:#a6c7c4;font-weight:450}.note-lines{display:flex;align-items:end;gap:5px;height:45px;margin-top:13px;opacity:.45}.note-lines i{width:19px;background:#3e6a5f;border-radius:3px 3px 0 0;height:45%}.note-lines i:nth-child(2){height:65%}.note-lines i:nth-child(3){height:50%}.note-lines i:nth-child(4){height:85%;background:#74d7be}.note-lines i:nth-child(5){height:100%;background:#74d7be}.aside-bottom{border-top:1px solid #2c4b43;padding:20px 6px 0;display:flex;align-items:center;gap:10px;font-size:11px;color:#e0efeb}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#345250;color:#d0f1e9;font-weight:600}.aside-bottom small{display:block;color:#739c99;margin-top:4px;font-size:10px}.aside-bottom button{margin-left:auto;background:none;padding:5px;color:#83aaa7;min-height:30px}.aside-bottom button:hover{color:white}main{margin-left:238px;min-height:100vh}header{height:72px;background:#fff;border-bottom:1px solid var(--border);padding:0 38px;display:flex;align-items:center;justify-content:space-between}.breadcrumb{display:flex;gap:14px;align-items:center;font-size:11px;color:#8eacaa}.breadcrumb svg{width:11px;height:11px;color:#b4c9c7}.breadcrumb b{font-weight:450;color:#456e6b}.header-end{display:flex;align-items:center;gap:20px}.today{font-size:11px;color:#8baaa7}.header-divider{width:1px;height:24px;background:#e9f2f0}.header-avatar{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#eefaf7;color:#68d3b8;font-size:11px;font-weight:600}section{max-width:1680px;margin:auto;padding:34px 38px 24px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-kicker{font-size:9px;letter-spacing:1.5px;color:#8fadab;font-weight:600;margin-bottom:9px}.heading p{font-size:12px;margin-top:9px}.heading .actions button{font-size:11px;white-space:nowrap}.heading .actions svg{width:15px;height:15px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:25px 0 22px}.period-picker{display:flex;align-items:center;background:#fff;border:1px solid #e4f0ed;border-radius:7px;padding:0 11px;gap:9px;color:#7fa09d;font-size:11px}.period-picker svg{width:14px;height:14px}.period-picker select{border:0;background:transparent;font-weight:550;font-size:11px;padding:10px 5px;max-width:210px;min-height:36px}.period-picker label{border-right:1px solid #e5efee;padding-right:11px}#period-note{font-size:10px;color:#92b1ae}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.metric{background:white;border:1px solid var(--border);border-radius:10px;padding:20px 21px;min-width:0}.metric-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#7d9f9c;font-size:11px}.metric-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:8px;background:#f1fbf8;color:#7edac3;font-size:17px}.metric:nth-child(2) .metric-icon{background:#fff0eb;color:#db9274}.metric:nth-child(3) .metric-icon{background:#eaf6f1;color:#63aa90}.metric:nth-child(4) .metric-icon{background:#fff5e6;color:#cca76f}.metric strong{display:block;font-size:25px;letter-spacing:-.8px;font-variant-numeric:tabular-nums;margin:14px 0 10px;line-height:1.1;white-space:nowrap}.metric small{display:flex;align-items:center;gap:5px;color:#99b2b0;font-size:10px;line-height:1.4}.metric small em{font-style:normal;color:#569b88}.metric.featured{background:#0b5148;border-color:#0b5148;color:#fff;box-shadow:0 6px 18px #5ed0b41a}.metric.featured .metric-head{color:#e0f6f0}.metric.featured .metric-icon{background:#7cd9c2;color:#fff}.metric.featured small{color:#d5f3eb}.metric.featured small em{color:#fff}article{background:#fff;border:1px solid var(--border);border-radius:11px;padding:24px;min-width:0}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.panel-title p{font-size:10px;margin-top:6px}.panel-title>svg{color:#a9ddd0;width:22px;height:22px}.chart-period,.report-tag{border:1px solid #e6efee;border-radius:5px;padding:6px 9px;color:#9ab5b3;font-size:9px;white-space:nowrap}.chart-totals{display:flex;gap:35px;margin:0 0 12px}.chart-totals span{display:block;color:#91b0ad;font-size:10px;margin-bottom:7px}.chart-totals b{font-size:17px;letter-spacing:-.4px;font-variant-numeric:tabular-nums;font-weight:600}.chart-totals i{width:5px;height:5px;margin-right:6px;display:inline-block;border-radius:50%}.trend-svg{display:block;width:100%;height:auto;min-height:170px;max-height:245px}.trend-svg text{font-size:10px;fill:#a0b9b7;font-family:inherit}.chart-legend{display:flex;justify-content:center;gap:23px;font-size:10px;color:#8dadaa;margin-top:12px}.chart-legend span{display:flex;align-items:center;gap:7px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;flex-shrink:0}.purple{background:#86dcc6}.coral{background:#f0b09d}.health-number{font-size:28px;font-weight:650;letter-spacing:-1px;margin:6px 0 7px;color:#345b51}.health-caption{color:#98b4b2;font-size:10px}.health-progress{display:flex;gap:4px;margin:22px 0 18px;height:7px;border-radius:10px;overflow:hidden;background:#edf9f6}.health-progress i{display:block;background:#a0e3d2;border-radius:10px}.health-progress i+ i{background:#f0b09d}.health-row{display:flex;align-items:center;justify-content:space-between;padding:11px 0;font-size:11px;color:#9bb6b4}.health-row span{display:flex;align-items:center;gap:7px}.health-row b{color:#5b807d;font-weight:550}.health-note{border-top:1px solid #eff5f4;margin-top:12px;padding-top:12px;color:#9ab5b3;font-size:9px;line-height:1.7}.attention-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin:22px 0}.attention{background:transparent;border:1px solid #e2efec;color:#5f8380;display:block;text-align:left;padding:16px 19px;position:relative}.attention:after{content:'↗';position:absolute;right:16px;top:16px;color:#acc4c2;font-size:14px}.attention:hover{background:#fff;border-color:#bfece1;box-shadow:0 3px 12px #254a4105}.attention span{font-size:10px;font-weight:450}.attention strong{display:block;font-size:18px;margin:10px 0;font-variant-numeric:tabular-nums;color:#456d6a;letter-spacing:-.3px}.attention small{display:block;color:#a0b9b7;font-size:9px;font-weight:400}.attention.late strong{color:#c57a70}.dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr);gap:22px}.agenda-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #eff6f4;padding:16px 0;font-size:11px}.agenda-row:last-child{border:0;padding-bottom:0}.agenda-date{flex-shrink:0;display:grid;place-items:center;gap:3px;min-width:43px;min-height:44px;background:#f4faf8;border-radius:7px;color:#749996;font-size:15px;font-weight:600}.agenda-date small{font-size:8px;text-transform:uppercase;color:#93afad;font-weight:400}.agenda-date.overdue{color:#c98176;background:#fff1ec}.agenda-description{min-width:0;flex:1}.agenda-description b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;font-weight:550;max-width:310px}.agenda-description small{display:block;color:#a3bab8;margin-top:5px;font-size:9px}.agenda-row>b{font-weight:600;font-size:11px;white-space:nowrap}.agenda-row button{font-size:10px;padding:6px 9px;min-height:28px}.agenda-row .edit-agenda{padding:5px;color:#a2bebc;background:none}.donut-wrap{display:flex;align-items:center;justify-content:center;margin:9px auto 24px}.donut{height:144px;width:144px;border-radius:50%;display:grid;place-items:center;position:relative}.donut-hole{background:#fff;border-radius:50%;width:111px;height:111px;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-hole small{font-size:9px;color:#9fb7b5}.donut-hole strong{font-size:17px;font-weight:600;letter-spacing:-.5px;margin-top:6px}.category{display:flex;align-items:center;gap:9px;padding:10px 0;border-top:1px solid #f1f6f6;font-size:10px}.category-name{flex:1;min-width:0;color:#81a4a1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.category b{font-size:10px;color:#5d8582;font-weight:550}.category em{font-style:normal;color:#a8bdbb;font-size:9px;min-width:29px;text-align:right}.empty{padding:48px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;color:#95b4b1;font-size:11px;line-height:1.7}.empty svg{width:33px;height:33px;color:#addfd2;margin-bottom:2px}.empty b{font-weight:550;color:#709a96;font-size:12px}.empty button{font-size:11px}.empty-chart{min-height:180px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,#f2f8f6 44px,#f2f8f6 45px);border-radius:5px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 24px;border-bottom:1px solid var(--border)}.list-toolbar h3{margin-bottom:5px}.list-toolbar span{font-size:10px;color:#9ab7b5}.list-filters{display:flex;align-items:center;gap:10px}.search-wrap{position:relative}.search-wrap svg{position:absolute;left:11px;top:11px;color:#a1c0bd;width:15px;height:15px}.search-wrap input{padding-left:33px;background:#fcfefe;width:225px;font-size:11px}.list-filters select{font-size:11px;max-width:190px;background:#fcfefe}#revenue-panel{padding:0;overflow:hidden}.table-wrap{overflow-x:auto;min-height:150px}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}th{background:#fafefd;color:#9ab8b6;font-size:10px;font-weight:500;padding:14px 20px;white-space:nowrap;border-bottom:1px solid #eff6f4}td{padding:17px 20px;border-bottom:1px solid #f0f7f5;color:#6b928f}tbody tr:hover{background:#fdfefe}td:first-child{min-width:210px;max-width:330px;color:#446d6a}td .row-description{font-size:11px;font-weight:550;display:block;line-height:1.5}td small{display:block;margin-top:6px;font-size:9px;color:#a2bdbb}.align-right{text-align:right}.money-cell{font-variant-numeric:tabular-nums;font-size:12px;font-weight:650;white-space:nowrap;color:#436c69}.expense-value{color:#cb8074}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:5px 8px;background:#fff8ea;color:#b0955d;font-size:9px;font-weight:500;white-space:nowrap}.badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.badge.settled{background:#ecf7f1;color:#6da28c}.badge.late{background:#fff0ec;color:#cd8c7d}.category-tag{font-size:9px;line-height:1.6;color:#7ca09d;display:inline-block;max-width:160px}.row-actions{display:flex;gap:8px;justify-content:flex-end}.row-actions button{font-size:10px;padding:7px 10px;min-height:29px}.row-actions .settle-button{background:#ecfaf6;color:#7fcab7;border-color:transparent}.row-actions .settle-button:hover{background:#e1f6f1}.table-footer{padding:16px 24px;font-size:10px;color:#9ab8b6;display:flex;justify-content:space-between}.table-footer b{color:#648d8a;font-weight:550}.flow-table th,.flow-table td{padding-left:16px;padding-right:16px}.flow-table{min-width:580px}.flow-bar{height:4px;background:#f0faf7;border-radius:5px;margin-top:9px;min-width:100px;max-width:220px;overflow:hidden}.flow-bar i{display:block;height:100%;background:#96e0ce;border-radius:5px}.flow-bar.out i{background:#efb39e}.cashflow-scroll{overflow:auto}.control-note{font-size:10px;margin-top:20px;line-height:1.7;color:#9cb7b5}.report-tag{font-size:8px;letter-spacing:.8px}.import-callout{display:flex;gap:17px;align-items:center;background:#f7fdfb;border:1px dashed #d9f4ed;padding:22px;border-radius:8px;margin-bottom:20px}.import-callout>svg{width:24px;height:24px;color:#97dfcd}.import-callout b{color:#649f9a;font-size:12px;font-weight:550}.import-callout p{font-size:10px;margin-top:5px}.import-callout button{margin-left:auto;font-size:11px}.history-row{display:flex;align-items:center;justify-content:space-between;padding:20px 4px;border-bottom:1px solid #eff6f4;color:#69928f;font-size:11px;gap:15px}.history-row small{display:block;color:#9bb7b5;margin-top:6px;font-size:10px}.history-row>span{color:#91c0b4;font-size:10px}.history-icon{display:grid;place-items:center;width:36px;height:40px;background:#f2fbf9;border-radius:7px;color:#94d8c7;margin-right:12px}.history-info{display:flex;align-items:center}footer{max-width:1680px;margin:auto;padding:17px 38px 28px;display:flex;justify-content:space-between;color:#b1c7c5;font-size:9px}.footer-dot{margin:0 8px}.login{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.login-brand{position:relative;background:#082029;color:#fff;display:flex;flex-direction:column;padding:50px 60px;overflow:hidden}.login-brand .brand{margin:0}.login-message{margin:auto 0}.login-message .eyebrow{color:#5cffc4}.login-message h1{font-size:52px;letter-spacing:-2px;line-height:1.2;margin:25px 0}.login-message p{font-size:14px;color:#8bb0ad;line-height:1.9}.login-brand>small{font-size:9px;letter-spacing:2px;color:#5f8582}.login-visual{margin-top:40px;width:265px;height:137px;border:1px solid #416360;border-radius:12px;background:linear-gradient(125deg,#32504e99,#304f4c55);padding:20px 23px;transform:rotate(-3deg)}.login-visual>span{color:#adcec6;font-size:11px}.login-visual>b{float:right;font-size:20px;font-weight:400;color:#5cffc4}.visual-bars{display:flex;gap:9px;align-items:end;height:65px}.visual-bars i{background:#5cffc4;border-radius:4px 4px 0 0;flex:1;height:30%;opacity:.5}.visual-bars i:nth-child(2){height:50%;opacity:.7}.visual-bars i:nth-child(3){height:45%}.visual-bars i:nth-child(4){height:70%;opacity:.6}.visual-bars i:nth-child(5){height:60%}.visual-bars i:nth-child(6){height:80%;opacity:.8}.visual-bars i:nth-child(7){height:100%;opacity:1}#auth{width:355px;max-width:80%;margin:auto}#auth .eyebrow{font-size:9px;font-weight:600;letter-spacing:1.8px;color:#94d7c6}#auth h2{margin:16px 0 12px;font-size:28px}#auth>p{font-size:12px}#auth label{margin-top:26px;font-size:11px;color:#688f8c}#auth input{display:block;width:100%;margin-top:10px;height:44px}#auth button{width:100%;margin-top:30px;height:44px;font-size:12px}#auth button svg{margin-left:auto;width:17px}#auth-error{color:#c66d6d;margin-top:15px}.auth-footnote{font-size:9px;display:block;text-align:center;color:#a8c1bf;margin-top:32px}dialog{border:0;border-radius:12px;color:#335d52;width:520px;max-width:95vw;max-height:90dvh;padding:28px;box-shadow:0 24px 80px #10312926}dialog::backdrop{background:#0d2e2655;backdrop-filter:blur(3px)}dialog .panel-title{margin-bottom:20px}dialog h2{font-size:20px;line-height:1.3}dialog p{font-size:11px}dialog label{margin:20px 0;font-size:11px;color:#789e9b}dialog input[type=month],dialog input[type=date]{display:block;width:100%;margin-top:9px}dialog .panel-title>button{font-weight:400;font-size:17px;background:#f5faf9;border:0;padding:5px 10px;color:#96b1af;min-height:28px}.drop{border:1.5px dashed #bcebdf;border-radius:9px;background:#fbfefd;padding:27px;text-align:center;color:#8cdac6;font-size:25px}.drop strong{display:block;font-size:12px;margin:10px 0;color:#7ab8a8}.drop span{display:block;font-size:10px;color:#a4c8c5;margin:10px 0}.drop input{font-size:11px;width:100%;margin-top:12px;border:0;background:transparent;padding:0;min-height:27px}.drop input::file-selector-button{border:0;border-radius:5px;padding:8px;background:#e9f9f5;color:#80baac;margin-right:12px}#confirm-import{width:100%;margin-top:20px}#preview-summary{font-size:12px;color:#66b9a4;margin:15px 0}#preview-message{font-size:11px}#entry-dialog{position:fixed;inset:0 0 0 auto;margin:0;border-radius:0;width:510px;max-width:100vw;max-height:100dvh;height:100dvh;padding:28px 30px;overflow-y:auto;box-shadow:-10px 0 60px #112d2615}#entry-dialog::backdrop{background:#14362d44}#entry-dialog .panel-title{margin-bottom:10px}.drawer-intro{font-size:11px;color:#a0bab8;margin-bottom:27px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px 15px}.form-grid label{margin:0;font-size:10px;color:#7ea19e}.form-grid input,.form-grid select,.form-grid textarea{display:block;width:100%;margin-top:8px;font-size:12px}.form-grid .full{grid-column:1/-1}.form-grid input[name=amount]{font-size:19px;color:#5dbaa3;font-weight:550;min-height:44px}.form-grid .actions{margin-top:0}.form-grid .actions button{font-size:9px;padding:8px;min-height:30px}textarea{resize:vertical}.advanced{border-top:1px solid #ecf4f2;border-bottom:1px solid #ecf4f2;padding:16px 0}.advanced summary{cursor:pointer;color:#85bfb0;font-size:11px;list-style-position:inside}.advanced[open] .form-grid{margin-top:22px}#repeat-help{font-size:9px;color:#a9c1bf;line-height:1.8;margin-top:-6px}#entry-error,#settle-error{color:#c66a6a;margin:16px 0;font-size:11px}.drawer-footer{position:sticky;bottom:-28px;background:#fff;border-top:1px solid #eef5f3;margin:24px -30px -28px;padding:18px 25px;display:flex;align-items:center;justify-content:space-between;gap:10px;z-index:1}.drawer-footer button{font-size:11px}.drawer-extra{display:flex;gap:7px}.drawer-extra button{font-size:10px;padding:8px}#delete-dialog p{margin:20px 0}#delete-dialog .actions,#settle-form .actions{justify-content:flex-end}#settle-date{margin-bottom:22px}#toast{position:fixed;right:26px;bottom:25px;z-index:100;background:#274d44;color:#f1fbf8;border:1px solid #41625f;border-radius:9px;padding:16px 23px;font-size:12px;box-shadow:0 8px 30px #183b3222;max-width:calc(100vw - 40px)}
@media(min-width:1650px){.dashboard-grid{grid-template-columns:minmax(0,1fr) 350px}.trend-svg{max-height:280px}.metric strong{font-size:30px}}
@media(max-width:1250px){aside{width:214px;padding-left:13px;padding-right:13px}main{margin-left:214px}section{padding:28px 26px}header{padding:0 26px}.brand{font-size:17px}.brand-light{font-size:11px}.heading{align-items:flex-start}.heading .actions{max-width:280px;justify-content:flex-end}.heading h1{font-size:26px}.metrics{gap:12px}.metric{padding:17px 16px}.metric strong{font-size:22px}.metric small{font-size:9px}.dashboard-grid{grid-template-columns:minmax(0,1fr) 280px;gap:16px}.dashboard-bottom{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.agenda-row{gap:9px}.agenda-description b{max-width:160px}.attention-grid{gap:12px}.attention{padding:15px}.list-toolbar{align-items:flex-start;gap:12px}.list-filters{flex-wrap:wrap;justify-content:flex-end}.search-wrap input{width:190px}th,td{padding-left:15px;padding-right:15px}article{padding:20px}.chart-totals{gap:22px}}
@media(max-width:1000px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1fr}.health-card{display:grid;grid-template-columns:1fr 2fr;gap:20px}.health-card .panel-title{align-items:flex-start}.health-card .health-progress{margin-top:10px}.dashboard-bottom{grid-template-columns:1fr}.category-panel #categories{display:grid;grid-template-columns:160px 1fr;gap:0 20px;align-items:center}.donut-wrap{grid-row:1/span 7;margin:0}.category{grid-column:2}.agenda-description b{max-width:330px}.attention-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.heading .actions{max-width:210px}.heading .actions button{padding:9px 10px;font-size:10px}.today{font-size:10px}.login-brand{padding:40px}.login-message h1{font-size:40px}.login-message p{font-size:12px}.import-callout{flex-wrap:wrap}.import-callout button{margin-left:0}.chart-card .trend-svg{max-height:260px}}
@media(max-width:720px){aside{position:relative;width:100%;padding:17px 18px 0;inset:auto;border:0}.brand{margin:0;font-size:17px}.brand-symbol{width:29px;height:29px;font-size:24px}.company,.nav-label,.sidebar-note,.aside-bottom{display:none}nav{display:flex;gap:4px;margin-top:19px;padding-bottom:12px;overflow-x:auto;scrollbar-width:none}.nav{font-size:10px;padding:10px;gap:7px;white-space:nowrap;min-height:35px;flex-shrink:0}.nav svg{width:14px;height:14px}.nav.active{box-shadow:none}main{margin:0}header{height:53px;padding:0 20px}.header-end{gap:12px}.today{display:none}section{padding:25px 18px}.heading{flex-wrap:wrap;gap:18px}.heading .actions{max-width:none;width:100%;justify-content:flex-start;gap:7px}.heading .actions button{font-size:10px;flex:1;padding:10px 8px}.heading .actions button svg{width:13px}.heading p{font-size:11px}.heading h1{font-size:26px}.page-kicker{font-size:8px}.toolbar{margin:21px 0 18px}#period-note{font-size:8px;max-width:85px;text-align:right}.period-picker{gap:7px;padding-left:8px}.period-picker select{max-width:175px;font-size:10px}.period-picker label{font-size:10px;padding-right:6px}.metric{padding:16px 14px}.metric strong{font-size:23px}.metric-head{font-size:10px}.metric-icon{width:25px;height:25px;font-size:15px}.metrics{gap:11px}.metric small{font-size:8px}.dashboard-grid,.dashboard-bottom{gap:17px}.chart-totals b{font-size:16px}.chart-totals{gap:30px}.chart-period{font-size:8px}.panel-title p{font-size:9px}.chart-legend{gap:18px;font-size:9px}.health-card{display:block}.health-card #health{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.health-card .health-note{grid-column:1/-1}.health-card .health-number{font-size:26px}.health-card .health-progress{grid-column:1/-1;order:2}.health-row{font-size:10px}.health-caption{font-size:9px}.attention-grid{gap:10px;margin:18px 0}.attention{padding:14px}.attention strong{font-size:18px}.attention span{font-size:10px}.attention small{font-size:8px}.category-panel #categories{grid-template-columns:130px 1fr;gap:0 12px}.donut{width:115px;height:115px}.donut-hole{width:88px;height:88px}.donut-hole strong{font-size:14px}.category{font-size:9px;gap:6px}.category b{font-size:9px}.category em{display:none}.agenda-description b{max-width:180px;font-size:10px}.agenda-description small{font-size:8px}.agenda-row>b{font-size:10px}.agenda-row{gap:9px}.agenda-row .edit-agenda{display:none}.agenda-row button{font-size:9px;padding:5px 7px}.agenda-date{min-width:35px;min-height:38px;font-size:13px}.agenda-date small{font-size:7px}.list-toolbar{flex-direction:column;padding:20px}.list-filters{justify-content:flex-start;width:100%}.search-wrap{flex:1;min-width:130px}.search-wrap input{width:100%;font-size:10px}.list-filters select{font-size:10px;max-width:145px}.table-wrap table{min-width:780px}.table-footer{padding:16px;font-size:9px}.table-footer b{white-space:nowrap}footer{padding:10px 18px 23px;font-size:8px}footer>span:last-child{display:none}.login{grid-template-columns:1fr}.login-brand{padding:24px}.login-brand .login-message,.login-brand>small{display:none}#auth{padding:55px 0;min-height:70vh}.form-grid{gap:17px 13px}.drawer-footer{bottom:-22px;padding:15px;margin-left:-22px;margin-right:-22px;margin-bottom:-22px}#entry-dialog{padding:22px}dialog{padding:24px}.import-callout{padding:18px}.import-callout p{font-size:9px}.history-row{font-size:10px}.history-row>span{font-size:9px;max-width:95px;text-align:right}.history-row small{font-size:9px}.history-info{min-width:0}.history-info>div{min-width:0;overflow-wrap:anywhere}.history-icon{flex-shrink:0}.health-card .health-caption{grid-column:1}.health-card .health-row{grid-column:2}.health-card .health-note{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.billing-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid var(--border);padding:25px;border-radius:11px;margin-bottom:22px}.billing-heading h3{font-size:19px;margin:16px 0 8px}.billing-heading p{font-size:11px}.billing-heading label{font-size:11px;color:#8caca9}.billing-heading input{display:block;margin-top:8px}.bill-tabs{display:flex;gap:8px;border-bottom:1px solid #e1eeeb;margin-bottom:20px;padding-bottom:13px}.bill-tabs button{background:transparent;color:#87aaa7;font-size:11px}.bill-tabs button.active{background:#ebf9f6;color:#66c1aa}.bill-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.bill-source-grid article>input[type=file]{width:100%;font-size:11px;margin:15px 0}.bill-source-grid article>button{margin-top:15px;font-size:11px}.bill-source-grid details{margin-top:17px;font-size:11px;color:#83a7a4}.bill-source-grid details label{display:block;margin:15px 0}.bill-source-grid details input{display:block;width:100%;margin-top:8px}.bill-client-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.bill-client{border:1px solid #e5f2ef;border-radius:8px;padding:17px;min-width:0}.bill-check{display:flex!important;align-items:flex-start;gap:10px;font-size:12px}.bill-check input[type=checkbox]{width:16px;min-height:16px;height:16px;flex-shrink:0;margin:2px 0;accent-color:var(--primary)}.bill-check small{display:block;color:#99b5b3;font-size:9px;line-height:1.8;margin-top:7px}.bill-client-info{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;font-size:10px;color:#91b0ad}.bill-client-info button{font-size:10px;padding:6px 9px;min-height:29px}.bill-gpt-item{padding:18px 0;border-bottom:1px solid #eef5f3}.bill-gpt-item b,.bill-gpt-item small,.bill-gpt-item strong{display:block}.bill-gpt-item small{font-size:9px;color:#8eaeab;margin:7px 0}.bill-gpt-item strong{font-size:13px;color:#67bba6}.bill-gpt-item strong span{font-size:10px;font-weight:400;color:#8eaeab}.bill-gpt-item button{font-size:10px;padding:6px;margin-top:7px;min-height:25px}#bill-mapping{margin-top:25px}#bill-mapping .form-grid{gap:17px 12px}#bill-mapping>button{margin-top:20px}#bill-sample{overflow:auto;max-height:220px;background:#f6fbfa;padding:15px;font-size:10px;white-space:pre}#bill-notice{color:#68ae9c;font-size:12px;padding:0 5px;line-height:1.7}.bill-history-row{width:100%;display:flex;justify-content:space-between;text-align:left;background:transparent;border-bottom:1px solid #edf5f3;color:#7b9f9c;font-size:11px;border-radius:0;padding:16px 0}.bill-history-row:hover{background:#f7fdfb}.bill-history-row small{display:block;margin-top:6px;font-size:9px;font-weight:400}.bill-history-row b{font-size:10px;color:#93c8bb}.bill-post{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:24px 0}.bill-post label{font-size:11px;color:#8eaeab}.bill-post label input{display:block;margin-top:8px}.bill-post p{width:100%;margin:0}.bill-email{border-top:1px solid #e9f3f0;padding-top:20px}.bill-email summary{font-size:13px;color:#68b2a0;cursor:pointer;margin-bottom:20px}.bill-email label{font-size:11px;color:#8aaba8}.bill-email input{display:block;width:100%;margin:9px 0 15px}.bill-email .actions{margin-bottom:20px}.bill-email iframe{width:100%;height:550px;border:1px solid #e4f1ee;border-radius:8px;background:white}.button-link{display:inline-flex;text-decoration:none;color:#fff;background:var(--primary);padding:11px 15px;border-radius:7px;font-size:11px}.bill-source-grid .form-grid{margin-top:20px}#bill-client-dialog input{display:block;width:100%;margin-top:10px}#bill-client-dialog .actions{justify-content:flex-end;margin-top:20px}#bill-client-error{color:#b35e5e;font-size:11px;margin-top:15px}#bill-result{margin-top:20px}#bill-client-search{width:100%;font-size:12px}@media(max-width:1100px){.bill-source-grid{grid-template-columns:1fr}.bill-client-list{grid-template-columns:1fr}}@media(max-width:720px){.billing-heading{flex-wrap:wrap}.bill-tabs{overflow:auto}.bill-tabs button{white-space:nowrap;font-size:10px;padding:8px}.bill-client-info{flex-wrap:wrap}.bill-email iframe{height:400px}.bill-post{gap:12px}#bill-result .panel-title{flex-wrap:wrap}}
#bill-tickets-dialog{width:760px}.bill-ticket-form{padding:20px 0;border-bottom:1px solid #e9f3f0}.bill-ticket-form>b{font-size:12px}.bill-ticket-form>small{display:block;color:#99b4b2;margin-top:8px}.bill-ticket-form input,.bill-ticket-form textarea{width:100%;display:block;margin-top:8px}.bill-ticket-form button{font-size:11px}#bill-tickets-error{font-size:12px;color:#6bb6a3;margin-top:15px}.bill-client-info{flex-wrap:wrap}

/* Identidade visual compartilhada com o sistema de vendas. */
.brand{flex-direction:column;align-items:flex-start;gap:0}.brand-logo{display:block;width:174px;max-width:100%;height:auto}.brand-light{margin:0 0 0 59px;font-size:10px;letter-spacing:1.5px;text-transform:uppercase}.login-brand .brand-logo{width:234px}.login-brand .brand-light{margin-left:79px}.company-icon{object-fit:contain;padding:3px}@media(max-width:720px){.brand{flex-direction:row;align-items:center;gap:12px}.brand-logo,.login-brand .brand-logo{width:156px}.brand-light,.login-brand .brand-light{margin:0;font-size:9px}}

/* Paleta PYE: petróleo, menta e superfícies neutras. */
:root{--primary:#08755f;--muted:#657d79;--border:#e1eae7;--green:#08755f;color:#203c3a;background:#f5f8f7}
.nav.active{color:#082029;background:#5cffc4}.nav.active:hover{background:#43eab0}
#auth>button[type="submit"]{background:#5cffc4;color:#082029}#auth>button[type="submit"]:hover{background:#43eab0}
.login-brand,.brand-logo{background:#082029}.login-message p{color:#afc9c4}.login-brand>small{color:#91b3ad}.brand-light{color:#afc9c4}
.login-visual{border-color:#2b5a55;background:linear-gradient(125deg,#174a4299,#0b302e55)}.login-visual>span{color:#c5e6dd}
#auth .eyebrow{color:#08755f}#auth label{color:#496b64}
.metric.featured .metric-icon{background:#246c5e;color:#5cffc4}.metric.featured .metric-head,.metric.featured small{color:#d0ede5}
button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#13866b}input:focus,select:focus,textarea:focus{outline-color:#8be6c8;border-color:#08755f}

.collection-journey{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--border);border-radius:12px;background:white;margin-bottom:24px;overflow:hidden}.collection-journey>div{padding:20px 24px;border-right:1px solid var(--border)}.collection-journey .current{background:#e7faf2;border-top:3px solid #08755f}.collection-journey small{display:block;color:#54776c;font-size:9px;letter-spacing:1px;margin-bottom:10px}.collection-journey b{display:block}.collection-journey p{font-size:11px;margin-top:6px}.collection-workspace{padding:24px}.collection-tabs{display:flex;gap:8px;overflow-x:auto;padding:20px 0;border-bottom:1px solid var(--border)}.collection-tabs button{white-space:nowrap;font-size:11px}.collection-tabs span{opacity:.8}.collection-row{display:grid;grid-template-columns:minmax(220px,2fr) 100px 125px minmax(150px,1fr) 155px;gap:20px;align-items:center;padding:24px 0;border-bottom:1px solid var(--border)}.collection-row:last-child{border:0}.collection-client{display:flex;gap:12px;align-items:flex-start;min-width:0}.collection-client p{font-size:12px;overflow-wrap:anywhere;margin:5px 0}.collection-row small{display:block;color:#627c76;font-size:10px;line-height:1.6}.collection-row b{display:block;line-height:1.5}.collection-monogram{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:10px;background:#e7faf2;color:#08755f}.collection-actions{display:grid;gap:6px}.collection-actions button{font-size:10px;min-height:30px}.collection-state small{margin-top:8px}.collection-notice{padding:16px;background:#eff8f4;border:1px solid #c7e8db;border-radius:8px;margin:20px 0}.collection-notice p{font-size:12px;color:#496b64}#collection-dialog{max-width:680px;width:95%}#collection-dialog h3{margin:20px 0 14px}#collection-description{margin:15px 0;color:#496b64}#collection-error{color:#b5444c;margin-bottom:12px}@media(max-width:1200px){.collection-row{grid-template-columns:2fr 1fr 1fr}.collection-state{grid-column:1/3}.collection-actions{grid-column:3}}@media(max-width:720px){.collection-journey{grid-template-columns:1fr}.collection-journey>div{padding:12px 16px}.collection-workspace{padding:16px}.collection-workspace .panel-title{display:grid;gap:15px}.collection-row{grid-template-columns:1fr 1fr;gap:15px}.collection-client,.collection-state,.collection-actions{grid-column:1/-1}.collection-actions{grid-template-columns:1fr 1fr}.collection-actions .text-button{grid-column:1/-1}}
