/* MIGUI workspace · calm surfaces, clear figures, touch-first controls */
:root{--red:#cf3c43;--ink:#203b3a;--muted:#667674;--line:#dde4de;--green:#287263;--studio-bg:#f2f4ef;--forest:#173e39;--soft-green:#e5eee5;--coral:#fcf0e8}
body{background:var(--studio-bg);font-family:"Segoe UI Variable","Segoe UI",system-ui,sans-serif;font-size:15px;color:var(--ink);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #da8352;outline-offset:3px}
h1{font-size:clamp(28px,3vw,38px);font-weight:720;letter-spacing:-1.25px;line-height:1.15}h2{font-size:20px;font-weight:690;letter-spacing:-.45px}h3{font-size:16px;letter-spacing:-.2px}strong,b{font-weight:680}svg{flex-shrink:0}input,textarea,select{font-variant-numeric:tabular-nums}
.sidebar{width:220px;background:var(--forest);border:0;padding:34px 14px 22px;color:#fff}.brand{gap:12px;margin-bottom:36px;padding:0 13px}.brand-mark{width:44px;height:44px;border-radius:16px;background:#eb645b;color:#fff;box-shadow:0 4px 18px #102f3826}.brand strong{color:#fff;font-size:20px;letter-spacing:1.8px}.brand span{color:#b9d0c7;font-size:12px}.nav{gap:5px}.nav button{min-height:48px;padding:12px 16px;gap:12px;font-size:13px;color:#bfd2cb;font-weight:550;border-radius:11px;transition:background .15s,color .15s}.nav button svg{width:20px;height:20px}.nav button:hover{background:#ffffff0d;color:white}.nav button.active{background:#e7f0e9;color:#214e43;font-weight:720}.nav button.active:after{background:#d94d49;width:6px;height:6px}.sidebar-bottom{padding:20px 12px 0}.sidebar-bottom .btn{color:#dce9e2;justify-content:flex-start;padding-left:0}.sidebar-note{font-size:12px;color:#a3bfb3;line-height:1.75}
.main{margin-left:220px;padding:0 36px 30px;max-width:1740px}.topbar{height:84px;margin-bottom:32px;border-color:#dbe3da}.breadcrumb{font-size:12px;color:#77847d}.breadcrumb b{font-size:12px;color:#476157}.top-tools{gap:14px}.date{color:#6d8076;font-size:12px}.avatar{background:#e6e1d4;color:#5e6757;width:36px;height:36px;font-size:11px}.topbar .btn{background:#ffffffa6;border-color:#e3e8df;font-size:12px}
.btn{border-color:#d9e1da;border-radius:11px;min-height:47px;padding:13px 18px;font-size:13px;font-weight:650;box-shadow:0 2px 2px #1c403603;transition:background .15s,transform .15s}.btn svg{width:19px;height:19px}.btn.primary{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 4px 10px #aa303415}.btn:hover{filter:none;background:#f1f6ef}.btn.primary:hover{background:#b72d36;border-color:#b72d36}.btn.ghost{box-shadow:none}.btn.ghost:hover{background:#e7eee4}.btn.small{min-height:42px;font-size:12px;padding:10px 13px}.btn.danger{background:#fff0ee;color:#af3c40;border-color:#f1cfca}.page-title{align-items:center;margin-bottom:27px;gap:24px}.page-title .subtitle{max-width:650px}.eyebrow{font-size:10px;letter-spacing:1.75px;font-weight:750;color:#6a8276;margin-bottom:9px}.subtitle{font-size:13px;line-height:1.7;color:#697b72;margin-top:8px}.title-dot{color:#d74746}.dashboard-title h1{font-size:36px;letter-spacing:-1.15px}.dashboard-title>.btn{min-height:50px}.dashboard-title .subtitle{font-size:14px}
.dashboard-finances{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));gap:16px;margin-bottom:22px}.finance-main{background:var(--forest);border-radius:18px;color:white;padding:25px 27px;position:relative;overflow:hidden}.finance-main:after{content:'';position:absolute;right:-30px;top:-64px;width:170px;height:170px;border:32px solid #ffffff05;border-radius:50%;pointer-events:none}.finance-label{display:flex;align-items:center;gap:10px;font-size:12px;color:#d0e2d7}.finance-label svg{width:19px;height:19px;color:#bcd6c6}.finance-amount{font-size:42px;letter-spacing:-1.6px;font-weight:650;line-height:1.2;margin:18px 0 22px;font-variant-numeric:tabular-nums}.finance-amount>span{font-size:20px;letter-spacing:0;margin-right:6px;color:#b9d0c4;font-weight:450}.finance-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px;color:#c0d6c8}.finance-pill{font-size:10px;background:#ffffff13;border:1px solid #ffffff15;padding:5px 8px;border-radius:6px;color:#e6f0e8;line-height:1.2}.finance-secondary{background:#fff;border:1px solid #dfe5dc;border-radius:18px;padding:22px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.finance-secondary>span:not(.stat-icon){font-size:12px;color:#687e71;margin-top:15px}.finance-secondary>strong{font-size:27px;letter-spacing:-.9px;font-weight:680;margin-top:7px;white-space:nowrap;font-variant-numeric:tabular-nums}.finance-secondary>small{color:#829087;font-size:11px;margin-top:7px}.stat-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:11px}.stat-icon svg{width:18px;height:18px}.stat-icon.coral{background:#fff0e7;color:#b87348}.stat-icon.mint{background:#eaf3eb;color:#488567}
.workspace-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:32px}.workspace-shortcuts>.btn{display:flex;justify-content:flex-start;gap:12px;text-align:left;padding:15px;background:#fcfdf9;box-shadow:none;border-color:#dbe4d8}.workspace-shortcuts>.btn>svg:first-child{color:#5a7e6a;width:20px;height:20px}.workspace-shortcuts>.btn>svg:last-child{width:16px;margin-left:auto;color:#8a9d8e}.workspace-shortcuts .btn>span{font-size:12px;font-weight:680;line-height:1.3}.workspace-shortcuts small{display:block;font-size:10px;color:#829284;font-weight:400;margin-top:4px}.workspace-shortcuts .btn:hover{background:#e8f0e5}
.section-heading{margin-bottom:16px;gap:16px}.section-heading .eyebrow{font-size:9px;letter-spacing:1.5px;margin:0 0 7px}.section-heading h2{font-size:18px}.compact-select{font-size:12px;max-width:195px;min-height:41px;background:#fcfdf9;border-color:#d7e0d4}.product-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:32px}.product-tile{padding:21px 22px;border-radius:16px;border:1px solid #dce3e4;background:#f3f8fa;text-align:left;transition:transform .15s,box-shadow .15s}.product-tile:hover{transform:translateY(-2px);box-shadow:0 6px 20px #1f443409}.product-tile-head{display:flex;gap:11px;align-items:center;font-size:13px;font-weight:700;color:#3c606b}.product-tile-head>svg{margin-left:auto;color:#8aabb4;width:16px;height:16px}.product-symbol{height:33px;width:33px;background:#e1edf1;border-radius:10px;display:grid;place-items:center;color:#608491}.product-symbol svg{width:21px;height:21px}.product-tile>strong{font-size:32px;font-weight:650;letter-spacing:-1px;display:block;margin:18px 0 14px;font-variant-numeric:tabular-nums;color:#274752}.product-tile>strong small{font-size:13px;font-weight:450;letter-spacing:0;margin-left:7px;color:#6d8890}.product-tile-foot{display:flex;gap:7px;flex-wrap:wrap;font-size:11px;color:#7b9499;border-top:1px solid #dce7e9;padding-top:13px}.product-tile-foot span:first-child{font-weight:700;color:#4e6d77}.product-1{background:#edf4f0;border-color:#d8e3d9}.product-1 .product-tile-head{color:#486b59}.product-1 .product-symbol{background:#dfece3;color:#648b73}.product-1>strong{color:#375d49}.product-1>strong small{color:#72907c}.product-1 .product-tile-foot{border-color:#dce6db;color:#84998a}.product-1 .product-tile-foot span:first-child{color:#5c7d64}.product-2{background:#faf5e8;border-color:#e8dfc9}.product-2 .product-tile-head{color:#867143}.product-2 .product-symbol{background:#eee5ce;color:#a08a53}.product-2>strong{color:#7c683f}.product-2>strong small{color:#a08c5f}.product-2 .product-tile-foot{border-color:#e9dfc5;color:#a29576}.product-2 .product-tile-foot span:first-child{color:#8a7a54}
.panel{border-color:#dce3d9;border-radius:15px;box-shadow:0 3px 8px #243a2702}.overview-grid{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px}.dashboard-bottom{margin-top:4px}.dashboard-bottom>section{min-width:0}.supplier-row{padding:20px;border-color:#eaf0e6;gap:14px}.supplier-initials{background:#edf0e7;color:#647957;width:40px;height:43px;border-radius:12px;font-size:12px}.supplier-open{padding:0;background:none;text-align:left;display:block;font-size:13px;font-weight:700;color:#284d3a;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.7}.supplier-open:hover{text-decoration:underline}.supplier-data strong{font-size:13px}.supplier-data span{font-size:11px;color:#859486}.supplier-value strong{display:block;font-size:15px;font-variant-numeric:tabular-nums}.supplier-value .btn{min-height:28px;padding:4px 0;margin-top:4px;color:#5e7d62;font-size:10px}.date-link{font-size:11px;color:#ae7b4a;min-height:29px;line-height:1.5}.date-link.agreed{color:#48886e}.activity-row{padding:20px;border-color:#eaf0e6;gap:11px}.activity-text strong{font-size:11px;line-height:1.6;font-weight:600}.activity-text span{color:#88968a;font-size:10px}.activity-amount{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.6}.activity-icon{background:#f8eee3;color:#b18761}.activity-icon.payment{background:#eaf3eb;color:#6c9375}.count{background:#e5ecdf;color:#7b8c70;border-radius:6px;font-size:11px;padding:3px 7px}.badge{font-size:10px;border-radius:5px;padding:5px 7px;line-height:1.3}.badge.green{background:#e5f1e7;color:#467d56}.badge.blue{background:#e7eff3;color:#587c8b}.badge.red{background:#fbe8e7;color:#bc5757}.badge.corrected{background:#fff0d9;color:#927038;display:table;margin-top:5px}.muted{color:#7d8c80}.empty{padding:42px 24px}.empty h3{font-size:15px}.empty p{font-size:12px;line-height:1.75;color:#869282}.empty .empty-icon{background:#f1f4e9;color:#a2af8e}.bottom-note{color:#8c9b8a;font-size:10px;margin-top:32px}.bottom-note svg{width:13px;height:13px}
.tabs{background:#e4ebdf;border:1px solid #dce5d6;border-radius:12px;padding:5px}.tabs button{font-size:13px;border-radius:8px;min-height:44px}.tabs button.selected{background:#fff;color:#416444}.group-top{padding:24px;border-radius:16px;border:1px solid #dce5d5;background:#f9fcf5}.group-description{font-size:13px;color:#7a8a75}.balance-box{background:#eaf0e3;padding:18px 23px;border-radius:12px}.balance-box small{color:#7b8c6b;font-size:12px}.balance-box strong{color:#426346;font-size:28px}.payment-plan{background:#faf6e9;border:1px solid #e8e0c5;padding:23px;border-radius:14px}.payment-plan span{font-size:12px;color:#9c8b62}.payment-plan strong{font-size:21px;color:#6d6447}.payment-plan p{font-size:12px;color:#998d6d}.product-report-grid{gap:16px}.product-report-grid h2.quantity-big{font-size:31px}.product-report-grid .panel{background:#fcfdf9}.product-report-grid .eyebrow{color:#82926e}.quantity-big{font-size:31px;font-variant-numeric:tabular-nums}.quantity-big small{font-size:13px}.quantity-line{font-size:14px;color:#507056}.product-report-grid.group-products{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.panel-pad{padding:25px}.summary-strip{gap:16px;margin-bottom:25px;grid-template-columns:repeat(3,minmax(0,1fr))}.mini-stat{padding:22px;border-color:#dce5d5;border-radius:14px;min-width:0}.mini-stat span{font-size:12px;line-height:1.65;color:#829173}.mini-stat strong{font-size:27px;color:#385d3c;margin-top:9px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.mini-stat.emphasis{background:#e9f0e1;border-color:#d9e4ca}.statement-summary .mini-stat strong{font-size:24px}.statement-controls{border-color:#dce5d5;border-radius:14px;background:#fbfdf8}.cost-track>div{background:#557b50}.cost-track{background:#e9eee2}
table{font-size:13px}th{font-size:10px;letter-spacing:.6px;background:#f7f9f2;color:#8a9880;padding:15px 20px;border-color:#e3e9db}td{padding:19px 20px;border-color:#edf1e7}td strong{font-size:12px}td .muted{font-size:11px;line-height:1.6}.table-scroll{max-width:100%}tbody tr:hover{background:#fcfdf9}.toolbar{gap:12px}.search-wrap{min-width:200px}.search-wrap svg{top:15px}.input,select,textarea,input[type=date]{border-color:#d7e1d2;border-radius:10px;min-height:48px;padding:12px 14px;font-size:15px;background:#fff;color:#344f39}input:focus,select:focus,textarea:focus,.input:focus{border-color:#7ba774;box-shadow:0 0 0 3px #58824c12}.field{margin-bottom:20px}label{font-size:13px;color:#657d5d;font-weight:600;margin-bottom:8px}.field small{font-size:11px;color:#8e9b82}.form-grid{gap:0 18px}.line-fields{gap:12px}.line-fields input,.line-fields select{font-size:15px;padding:11px}.line-fields label{font-size:11px;line-height:1.5}.line-item{background:#f8faf3;border-color:#e1e8d8;border-radius:12px;padding:19px}.line-heading{font-size:14px;color:#5e7c50}.line-optional{font-size:11px;color:#8e9e80}.total-box{background:#e9f0e1;color:#557647;border-radius:11px;padding:17px 19px;gap:15px}.total-box strong{font-size:26px;white-space:nowrap;font-variant-numeric:tabular-nums}.total-box span{font-size:12px;line-height:1.6}.note{background:#f1f4e9;color:#7c896b;border-radius:10px;font-size:13px;line-height:1.8}.note.info{background:#eaf0ed;color:#6d8678}.note.warning{background:#fbf3e0;color:#9a8252}.banner{background:#fbf2df;border-color:#e8d8ae;color:#978047;border-radius:12px;font-size:12px}.banner .btn{background:#fffdf6}.dialog-error{font-size:13px;background:#fff0ed;color:#af4f46;border-radius:9px}.product-settings-card{background:#f9fbf5;border-color:#e1e8d8}.product-settings-card .input{font-size:24px;color:#42683b}.product-settings-card label{font-size:12px}.backup-card{border-color:#dce5d5;border-radius:15px}.backup-card p{color:#849078}.detail-header{margin-bottom:0}.detail-header h1{font-size:29px}.detail-list{font-size:14px;gap:20px}.detail-list span{font-size:12px;color:#8d9b81}.receipt-name strong{font-size:13px}.receipt-name span{font-size:11px}.receipt-row{border-color:#e1e8d8}.receipt-preview{border-color:#dce5d5;background:#f8faf3}input[readonly]{background:#f2f5eb;color:#829274}.agenda-tabs button{min-height:46px;font-size:12px;border-color:#d8e2d1;color:#7e9271;border-radius:9px}.agenda-tabs button.selected{background:#e6efdd;border-color:#bacfac;color:#557745}.agenda-tabs .count{background:#dce8d1;color:#728e60}.agenda-tabs{gap:9px}
dialog{border-radius:20px;width:min(640px,calc(100vw - 32px));box-shadow:0 25px 90px #15372633;color:#385339}dialog::backdrop{background:#183b2b66;backdrop-filter:blur(4px)}.dialog-head{padding:22px 26px 18px;border-color:#e1e8d8;background:#fbfdf7}.dialog-head h2{font-size:22px;font-weight:680}.dialog-body{padding:25px 26px}.dialog-foot{padding:18px 26px;background:#fafcf6;border-color:#e1e8d8}.icon-button{color:#8e9e80}.dialog-body .subtitle{font-size:13px}.check-label{font-size:13px;min-height:48px;line-height:1.7}.check-label input{accent-color:#5e844e}#toast{background:#234e37;font-size:13px;padding:16px 23px;border-radius:11px;line-height:1.5}
.login-art{background:var(--forest);padding:64px}.login-art h1{font-weight:650;letter-spacing:-2px;font-size:52px}.login-art p{color:#b6cdbb;font-size:16px}.login-art .brand span{color:#b6cdbb}.login-art .brand-mark{background:#e16e5d;color:white}.login-form{background:#f8faf4}.login-form h2{font-size:29px;color:#3c613f}.login-form p{font-size:14px;color:#87977c}.login-form .eyebrow{font-size:11px;color:#9fae93;letter-spacing:1.8px}
.account-cuts{margin:28px 0}.cuts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:18px;margin-bottom:26px}.cut-card{padding:23px;border:1px solid #dbe5d1;background:#fff;border-radius:16px;min-width:0}.cut-card>h3{margin-top:21px;font-size:18px;color:#496a42}.cut-card .subtitle{font-size:12px;margin-top:6px}.cut-card .muted{font-size:11px;color:#9aa88b}.cut-card-amount{border-top:1px solid #e8eedf;padding-top:19px;margin:21px 0}.cut-card-amount span{display:block;font-size:11px;color:#8d9c7e}.cut-card-amount strong{display:block;font-size:30px;letter-spacing:-.9px;margin-top:7px;font-variant-numeric:tabular-nums;color:#466d3c}.cut-card.paid{background:#f6faf1}.cut-card.cancelled{background:#f5f6f0;opacity:.85}.correction-hint{display:flex;align-items:center;gap:7px;font-size:11px;color:#a18c54;margin:-7px 0 18px}.correction-hint svg{width:14px;height:14px}.cut-preview-list{max-height:240px;overflow:auto;padding-top:6px}.cut-preview-list>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;font-size:12px;border-bottom:1px solid #e6eddc;color:#8a9b79}.cut-preview-list b{color:#627f52;white-space:nowrap}.corrections-history{margin-top:28px}.corrections-history>h3{margin-bottom:18px}.corrections-history>article{border:1px solid #e2e9d8;border-radius:12px;padding:18px;margin-bottom:14px}.corrections-history article>.flex{font-size:11px;color:#90a07b}.corrections-history article>p{font-size:13px;margin:14px 0;color:#71865f;line-height:1.7}.correction-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px}.correction-compare>div{padding:14px;background:#f7f9f1;border-radius:9px}.correction-compare>div:last-child{background:#edf3e4}.correction-compare span{font-size:10px;color:#8e9e7c}.correction-compare strong{display:block;font-size:20px;letter-spacing:-.5px;margin-top:7px;color:#6a8555}.correction-compare p{font-size:11px;line-height:1.7;margin-top:8px;color:#8d9c7c}.correction-compare small{display:block;font-size:10px;line-height:1.7;color:#99a68b;margin-top:7px}
@media(min-width:761px) and (max-width:1150px){.sidebar{width:184px;padding:28px 12px 20px}.brand{padding:0 8px;gap:9px}.brand strong{font-size:17px}.brand-mark{width:38px;height:40px}.nav button{font-size:12px;padding:12px 14px;gap:10px}.main{margin-left:184px;padding:0 25px 28px}.dashboard-finances{grid-template-columns:1.4fr 1fr 1fr;gap:12px}.finance-main{padding:22px}.finance-secondary{padding:18px}.finance-amount{font-size:35px}.finance-secondary>strong{font-size:23px}.finance-secondary>small{font-size:10px}.finance-footer{font-size:10px}.finance-pill{font-size:9px}.workspace-shortcuts{gap:10px}.workspace-shortcuts>.btn{padding:13px 11px;gap:9px}.workspace-shortcuts small{font-size:9px}.workspace-shortcuts .btn>span{font-size:11px}.product-tile{padding:19px}.product-tile>strong{font-size:29px}.product-tile>strong small{font-size:12px}.dashboard-bottom{grid-template-columns:1fr}.dashboard-bottom>section:last-child.panel{display:block}.dashboard-title h1{font-size:31px}.summary-strip .mini-stat{padding:18px}.mini-stat strong{font-size:24px}.date{display:none}.page-title{flex-wrap:wrap}.page-title h1{font-size:30px}.toolbar{gap:9px}}
@media(max-width:760px){.sidebar{width:auto;position:fixed;top:auto;bottom:0;left:0;right:0;height:auto;padding:8px 10px max(8px,env(safe-area-inset-bottom));background:#fffffff5;backdrop-filter:blur(14px);border-top:1px solid #dae4d4;z-index:10;box-shadow:0 -4px 18px #173f2710}.sidebar>.brand,.sidebar-bottom{display:none}.nav{flex-direction:row;gap:3px;justify-content:space-around}.nav button{flex:1;min-width:0;flex-direction:column;gap:5px;font-size:9px;padding:9px 2px;min-height:52px;border-radius:9px;color:#92a380;text-align:center;font-weight:550}.nav button svg{width:20px;height:20px}.nav button.active{background:#eaf1e2;color:#638347}.nav button.active:after{display:none}.nav button[data-nav=cuts],.nav button[data-nav=agenda],.nav button[data-nav=reports]{display:none}.main{margin-left:0;padding:0 18px 110px;max-width:100%;width:auto}.topbar{height:73px;margin-bottom:23px;gap:12px}.topbar .breadcrumb{font-size:10px}.topbar .breadcrumb b{font-size:10px}.top-tools{gap:8px}.top-tools .btn{font-size:10px;min-height:35px;padding:8px 10px}.top-tools .btn svg{width:15px;height:15px}.avatar{width:31px;height:31px;font-size:9px}.date{display:none}.banner{font-size:10px;padding:12px;border-radius:10px;gap:10px}.banner .btn{font-size:10px;min-height:37px;padding:9px;flex-shrink:0}.page-title{gap:17px;flex-wrap:wrap;align-items:center;margin-bottom:23px}.page-title h1{font-size:29px;letter-spacing:-.9px}.page-title .subtitle{font-size:12px}.page-title>.btn{min-height:45px;font-size:12px}.dashboard-title{display:block}.dashboard-title h1{font-size:31px}.dashboard-title .subtitle{font-size:12px}.dashboard-title>.btn{margin-top:19px;min-height:46px;width:100%;justify-content:center}.eyebrow{font-size:9px;letter-spacing:1.6px}.dashboard-finances{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:17px}.finance-main{grid-column:1/-1;padding:24px;border-radius:16px}.finance-amount{font-size:42px;margin:17px 0 23px}.finance-amount>span{font-size:21px}.finance-label{font-size:12px}.finance-footer{font-size:10px}.finance-secondary{padding:17px;border-radius:13px;min-height:156px}.finance-secondary>span:not(.stat-icon){font-size:10px;margin-top:14px}.finance-secondary>strong{font-size:23px;letter-spacing:-.8px}.finance-secondary>small{font-size:9px;margin-top:6px}.stat-icon{width:31px;height:31px}.stat-icon svg{width:16px;height:16px}.workspace-shortcuts{grid-template-columns:1fr;gap:8px;margin-bottom:28px}.workspace-shortcuts>.btn{padding:13px 16px;min-height:55px;border-radius:10px;gap:13px}.workspace-shortcuts>.btn>svg:first-child{width:18px;height:18px}.workspace-shortcuts .btn>span{font-size:12px;flex:1;display:flex;align-items:center;justify-content:space-between;gap:10px}.workspace-shortcuts small{font-size:9px;margin:0;text-align:right}.workspace-shortcuts>.btn>svg:last-child{margin-left:3px;width:14px;height:14px}.section-heading{gap:12px;margin-bottom:14px}.section-heading h2{font-size:17px;line-height:1.5}.section-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.compact-select,.section-heading .compact-select{font-size:10px;max-width:145px;min-height:40px;padding:10px}.product-overview{grid-template-columns:1fr;gap:11px;margin-bottom:28px}.product-tile{padding:18px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:9px 15px;border-radius:13px}.product-tile-head{font-size:13px;grid-column:1;gap:10px}.product-tile-head>svg{display:none}.product-symbol{width:31px;height:33px;border-radius:9px}.product-tile>strong{grid-row:1;grid-column:2;margin:0;font-size:29px;letter-spacing:-1px;text-align:right}.product-tile>strong small{display:block;font-size:11px;margin:1px 0 0}.product-tile-foot{grid-column:1/-1;padding-top:12px;margin-top:3px;justify-content:space-between;font-size:11px}.product-tile .subtitle{grid-column:1/-1;font-size:11px;margin-top:0}.overview-grid,.dashboard-bottom{grid-template-columns:1fr;gap:27px}.overview-grid>section:last-child.panel{display:block}.supplier-row{padding:17px 15px;gap:10px}.supplier-initials{width:35px;height:39px;font-size:10px}.supplier-open{font-size:12px;max-width:165px}.supplier-data span{font-size:10px}.supplier-value strong{font-size:13px}.supplier-value .btn{font-size:9px}.date-link{font-size:10px}.activity-row{padding:16px;gap:10px}.activity-text strong{font-size:11px}.activity-text span{font-size:10px}.activity-amount{font-size:11px}.bottom-note{display:block;font-size:9px;margin-top:27px}.bottom-note>span:last-child{display:block;margin-top:10px}.summary-strip{gap:10px;grid-template-columns:1fr;margin-bottom:22px}.mini-stat{padding:17px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-radius:12px}.mini-stat span{font-size:12px;line-height:1.6}.mini-stat strong{font-size:25px;margin:0;white-space:nowrap;letter-spacing:-.9px}.statement-summary{grid-template-columns:1fr 1fr;gap:10px}.statement-summary .mini-stat{display:block;padding:15px}.statement-summary .mini-stat span{font-size:10px}.statement-summary .mini-stat strong{font-size:23px;margin-top:10px}.panel{border-radius:13px}.panel-pad{padding:21px}.product-report-grid,.product-report-grid.group-products{grid-template-columns:1fr}.quantity-big{font-size:31px}.quantity-big small{font-size:13px}.report-price{font-size:24px}.note{font-size:12px;padding:16px;line-height:1.85}.payment-plan{padding:19px;flex-direction:column;align-items:stretch;gap:15px}.payment-plan strong{font-size:20px}.payment-plan p{font-size:11px}.payment-plan .btn{width:100%}.group-top{grid-template-columns:1fr;padding:20px}.group-description{font-size:12px}.balance-box{width:100%;padding:17px 20px;min-width:0}.balance-box strong{font-size:29px}.toolbar .search-wrap{flex-basis:100%;min-width:0}.toolbar>.btn{flex:1}.tabs{width:100%}.tabs>button{flex:1;justify-content:center;font-size:12px;padding:10px 13px}.detail-header{margin:0}.detail-header h1{font-size:26px}.detail-header .supplier-initials{width:46px;height:51px;font-size:15px}.detail-header p{font-size:11px}.detail-list{font-size:13px;gap:20px 13px}.detail-list span{font-size:11px}.filter-grid{grid-template-columns:1fr 1fr;gap:13px}.filter-grid label{font-size:11px}.filter-grid input,.filter-grid select{font-size:13px}th{font-size:9px;padding:14px 16px}td{padding:16px;font-size:12px}td strong{font-size:12px}.table-scroll table{min-width:640px}.agenda-tabs{gap:7px}.agenda-tabs button{min-height:44px;padding:10px;font-size:11px}.statement-controls{padding:17px}.statement-controls .form-grid{grid-template-columns:1fr}.statement-controls .field{margin-bottom:15px}.statement-controls .btn{font-size:10px;min-height:39px;padding:10px}.product-settings-grid,.backup-grid{grid-template-columns:1fr}.product-settings-card{padding:20px}.product-settings-card label{font-size:12px}.settings-save{flex-direction:column;align-items:stretch}.settings-save .btn{width:100%}.account-cuts .section-heading{align-items:flex-start;flex-wrap:wrap}.cuts-grid{grid-template-columns:1fr;gap:13px}.cut-card{padding:21px}.cut-card>h3{font-size:19px;margin-top:18px}.cut-card-amount strong{font-size:32px}.cut-card .btn{flex:1;min-height:44px}.cut-card-amount{margin:19px 0}.cut-preview-list{max-height:210px}.cut-preview-list>div{font-size:11px;gap:14px}.corrections-history>article{padding:15px}.correction-compare{gap:9px}.correction-compare>div{padding:12px}.correction-compare strong{font-size:18px}.correction-compare p{font-size:10px}.correction-compare small{font-size:9px}.corrections-history article>p{font-size:12px}.receipt-row .btn{font-size:10px;min-height:41px}.receipt-name strong{font-size:11px}.receipt-name span{font-size:10px}dialog{width:calc(100vw - 24px);border-radius:16px;max-height:calc(100dvh - 24px)}.dialog-head{padding:19px 20px 15px}.dialog-head h2{font-size:21px}.dialog-body{padding:21px 20px;max-height:calc(100dvh - 205px)}.dialog-foot{padding:16px 20px;gap:10px}.dialog-foot>.btn{flex:1;font-size:12px;padding:13px 11px}.form-grid{grid-template-columns:1fr}.line-fields{grid-template-columns:1fr 1fr}.line-fields>div:first-child{grid-column:1/-1}.line-fields label{font-size:11px}.line-fields input{font-size:16px}.line-optional{font-size:10px}.line-item{padding:17px}.field label{font-size:12px}.field input,.field select,.field textarea{font-size:16px}.total-box{padding:16px;gap:13px}.total-box strong{font-size:24px}.total-box span{font-size:11px}.login{display:block}.login-art{padding:35px 24px;min-height:265px}.login-art .brand{position:static;margin-bottom:27px}.login-art h1{font-size:36px;letter-spacing:-1.4px}.login-art p{display:none}.login-form{padding:34px 24px;min-height:calc(100dvh - 265px)}.login-form h2{font-size:28px}.login-form .eyebrow{font-size:10px}#toast{bottom:92px;font-size:12px;min-width:240px;text-align:center}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}.product-tile:hover{transform:none}}
/* Reading sizes and contrast for day-to-day tablet use. */
.finance-label{font-size:13px}.finance-footer{font-size:12px}.finance-pill{font-size:11px}.finance-secondary>span:not(.stat-icon){font-size:13px}.finance-secondary>small{font-size:12px;color:#687c6e}.workspace-shortcuts .btn>span{font-size:13px}.workspace-shortcuts small{font-size:11px;color:#677e6a}.product-tile-head{font-size:14px}.product-tile-foot{font-size:12px}.product-tile>strong small{font-size:14px}.supplier-open,.supplier-data strong{font-size:14px}.supplier-data span{font-size:12px;color:#6b7e6a}.date-link{font-size:12px}.activity-text strong,.activity-amount{font-size:12px}.activity-text span{font-size:11px;color:#70826d}.mini-stat span{font-size:13px;color:#667a5e}.detail-list span{color:#718269}.note{color:#687858}.note.info{color:#546f60}.note.warning{color:#856936}.field small{color:#6a7f5e}.line-optional{color:#6a805e}.product-settings-card .subtitle{color:#6a7f5e}.correction-compare span,.correction-compare p,.correction-compare small{color:#697e57}.correction-compare p{font-size:12px}.correction-compare small{font-size:11px}.corrections-history article>.flex{font-size:12px;color:#6c805b}.cut-card .muted,.cut-card-amount span{color:#6b7f5c;font-size:12px}.cut-preview-list>div{color:#6d815d}.cut-card .subtitle{font-size:13px}.badge{font-size:11px}th{font-size:11px;color:#6d805e}td strong{font-size:13px}td .muted{font-size:12px}.bottom-note{color:#6d8064;font-size:11px}.login-info{color:#718069!important}.payment-plan span{color:#7d6a41}.payment-plan p{color:#7d7050}.sidebar-note{color:#b9cdc1}.empty p{color:#6c7e62}.group-description{color:#687b60}
@media(min-width:761px) and (max-width:1150px){.nav button{font-size:13px}.finance-secondary>span:not(.stat-icon){font-size:12px}.finance-secondary>small{font-size:11px}.finance-footer{font-size:11px}.finance-pill{font-size:10px}.workspace-shortcuts .btn>span{font-size:12px}.workspace-shortcuts small{font-size:10px}}
@media(max-width:760px){.finance-label{font-size:13px}.finance-footer{font-size:11px}.finance-pill{font-size:10px}.finance-secondary>span:not(.stat-icon){font-size:11px}.finance-secondary>small{font-size:10px}.workspace-shortcuts .btn>span{font-size:13px}.workspace-shortcuts small{font-size:10px}.product-tile-head{font-size:14px}.product-tile>strong small{font-size:12px}.product-tile-foot{font-size:12px}.supplier-open,.supplier-data strong{font-size:13px}.supplier-data span{font-size:11px}.date-link{font-size:11px}.activity-text strong,.activity-amount{font-size:12px}.mini-stat span{font-size:12px}.correction-compare p{font-size:11px}.correction-compare small{font-size:10px}.cut-card .muted,.cut-card-amount span{font-size:12px}.badge{font-size:10px}.bottom-note{font-size:10px}th{font-size:10px}td strong{font-size:12px}.page-title .subtitle{font-size:13px}}
@media(max-width:760px){.table-scroll{overflow:visible}.table-scroll table{display:block;min-width:0;width:100%}.table-scroll thead{display:none}.table-scroll tbody{display:block}.table-scroll tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:17px 16px;padding:20px 18px;border-bottom:1px solid #e1e9d8}.table-scroll tr:last-child{border:0}.table-scroll td{display:block;padding:0;border:0;min-width:0;text-align:left;white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.7}.table-scroll td::before{content:attr(data-label);display:block;font-size:10px;line-height:1.5;text-transform:uppercase;letter-spacing:.7px;color:#849775;margin-bottom:5px;font-weight:550}.table-scroll td[data-label=DETALLE],.table-scroll td[data-label=PROVEEDOR],.table-scroll td[data-label=Detalle],.table-scroll td[data-label=Proveedor]{grid-column:1/-1}.table-scroll td[data-label=Acciones]{grid-column:1/-1;display:flex;justify-content:flex-end;gap:9px}.table-scroll td[data-label=Acciones]::before{display:none}.table-scroll td[data-label=Acciones]>.btn{min-height:44px;padding:12px 16px;font-size:12px}.table-scroll td[data-label=Acciones]>.flex{width:100%;display:flex;flex-wrap:wrap;gap:9px}.table-scroll td[data-label=Acciones] .flex>.btn{flex:1;min-height:44px;font-size:12px}.table-scroll td .muted{font-size:12px}.table-scroll td strong{font-size:13px}.table-scroll td .text-link{font-size:14px;padding:0}.table-scroll td .date-link{min-height:34px;font-size:12px}.table-scroll td .badge{font-size:10px}.dialog-body .table-scroll tr{padding:18px 0}.dialog-body .table-scroll tr:first-child{padding-top:0}}
