@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#292723;--muted:#85827b;--brand:#aa633e;--brand-dark:#754126;--brand-light:#f3e8de;--line:#ece9e3;--bg:#f8f8f5;--white:#fff;--green:#3d7d63;--red:#bd5b51;--amber:#ae7c2b;--shadow:0 6px 28px #2b211508;--sidebar:240px;font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);font-size:14px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #cf9e7890;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:none;border-color:#c79271;box-shadow:0 0 0 3px #bc7c4415}svg{flex-shrink:0;vertical-align:middle}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{font-family:'Manrope',sans-serif}h1{font-size:28px;font-weight:750;letter-spacing:-1px}h2{font-size:16px;font-weight:700;letter-spacing:-.3px}h3{font-size:15px;font-weight:700}small{font-size:11px}.muted{color:var(--muted)}.text-green{color:var(--green)}.text-red{color:var(--red)}.text-brand{color:var(--brand)}.text-right{text-align:right}.number-cell{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.boot{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:28px;color:var(--muted)}.boot img{width:230px}
.sidebar{width:var(--sidebar);position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);background:#fffefa;display:flex;flex-direction:column;z-index:25}.brand{height:112px;padding:23px 26px 15px}.brand img{width:163px;height:48px;object-fit:contain;object-position:left center}.brand-caption{font-size:10px;letter-spacing:3px;color:#9c8878;padding:8px 1px;text-transform:uppercase;font-weight:650}.workspace-switch{margin:3px 16px 20px;border:1px solid #e9e4db;border-radius:9px;padding:10px 12px;display:flex;align-items:center;gap:10px;font-size:12px;background:#fff}.workspace-icon{width:30px;height:30px;border-radius:7px;background:var(--brand-light);display:grid;place-items:center;color:var(--brand)}.workspace-switch strong{display:block;font-size:12px}.workspace-switch small{display:block;color:var(--muted);margin-top:2px}.workspace-switch>svg{margin-left:auto;color:var(--muted)}.side-nav{padding:0 13px;overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:#e6e0d7 transparent}.nav-group-label{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#a4a096;margin:17px 14px 8px}.nav-group-label:first-child{margin-top:0}.nav-item{display:flex;align-items:center;gap:12px;padding:9px 13px;color:#77746c;border-radius:7px;font-size:12px;margin:2px 0;font-weight:500;position:relative}.nav-item svg{width:17px;height:17px}.nav-item:hover{background:#f7f4ed;color:#3a352e}.nav-item.active{background:#f2e8dd;color:#945734;font-weight:700}.nav-item.active:before{content:'';position:absolute;left:-13px;height:22px;width:3px;border-radius:0 3px 3px 0;background:var(--brand)}.nav-count{margin-left:auto;font-size:10px;background:white;border:1px solid #e5d4c4;padding:1px 6px;border-radius:5px}.sidebar-bottom{padding:13px 18px 18px;border-top:1px solid var(--line);margin-top:12px}.preview-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#978879;padding:9px 11px 0}.preview-dot{width:6px;height:6px;border-radius:50%;background:#bc8c55;display:inline-block}.shell{margin-left:var(--sidebar);min-height:100vh}.topbar{height:73px;background:#ffffffdb;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 34px;gap:18px;position:sticky;top:0;z-index:20}.breadcrumb{display:flex;align-items:center;gap:10px;font-size:12px;white-space:nowrap;color:#9a968c}.breadcrumb strong{font-weight:550;color:#514c43}.breadcrumb svg{width:11px;color:#b5afa4}.topbar-right{display:flex;align-items:center;gap:16px;margin-left:auto}.global-search{display:flex;align-items:center;gap:8px;border:1px solid #eae7df;background:#fbfbf8;color:#aaa59c;border-radius:7px;padding:8px 10px;width:250px}.global-search input{padding:0!important;border:0!important;background:none!important;min-width:0;width:100%;font-size:11px;box-shadow:none!important}.global-search kbd{font-size:9px;border:1px solid #e7e3da;border-radius:3px;padding:1px 4px;font-family:inherit}.icon-btn{border:0;background:transparent;color:#807a70;padding:7px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center}.icon-btn:hover{background:#f1ede6;color:var(--brand)}.notification-btn{position:relative}.notification-btn:after{content:'';width:5px;height:5px;border-radius:50%;background:#bd7549;position:absolute;right:8px;top:6px;border:1px solid white}.top-divider{height:26px;width:1px;background:var(--line)}.profile{display:flex;align-items:center;gap:9px;background:none;border:0;text-align:left;padding:0}.avatar{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#efe6d9;color:#99734f;font-size:11px;font-weight:700;flex-shrink:0}.profile strong{font-size:11px;display:block}.profile small{display:block;font-size:9px;color:var(--muted);margin-top:2px}.profile>svg{margin-left:6px;color:#aba399;width:12px}.menu-mobile{display:none}.content{max-width:1660px;margin:auto;padding:29px 34px 36px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading p{font-size:12px;color:var(--muted);margin-top:7px}.page-heading .eyebrow{font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:#9a8b7c;margin-bottom:6px}.header-actions{display:flex;gap:10px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:7px;padding:10px 14px;font-size:11px;font-weight:650;white-space:nowrap;line-height:1.3}.btn-primary{background:var(--brand);color:white;border-color:var(--brand);box-shadow:0 2px 3px #7840210e}.btn-primary:hover{background:#975432}.btn-secondary{border-color:#e4e0d8;background:white;color:#625a50}.btn-secondary:hover{background:#faf8f3;border-color:#d8cbbd}.btn-ghost{background:transparent;color:var(--brand);padding:6px 0}.btn-danger{background:#fbece9;color:#ad4c3c;border-color:#f2d5cc}.btn-sm{padding:7px 10px;font-size:10px}.btn svg{width:15px;height:15px}.select-period{appearance:none;border:1px solid #e4e0d8;border-radius:7px;padding:10px 32px 10px 12px;font-size:11px;background:white;color:#655e54;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394897a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-size:12px;background-repeat:no-repeat;background-position:right 10px center}.card{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.card-header{padding:21px 23px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px}.card-header p{font-size:11px;color:var(--muted);margin-top:5px}.card-body{padding:0 23px 23px}.card-title{display:flex;align-items:center;gap:9px}.card-title small{font-size:10px;background:#f5f2eb;border:1px solid #ebe4d8;padding:2px 6px;border-radius:4px;color:#93836e;font-weight:500}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:19px 20px;box-shadow:var(--shadow);position:relative}.stat-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.stat-icon{width:30px;height:30px;background:#f6f2eb;color:#a17d5b;border-radius:8px;display:grid;place-items:center}.stat-label{font-size:11px;color:#898276;font-weight:500}.stat-value{font-family:Manrope,sans-serif;font-size:24px;font-weight:750;letter-spacing:-.8px;white-space:nowrap}.stat-value .currency{font-size:13px;font-weight:550;letter-spacing:0;color:#8e8576;margin-right:4px}.stat-meta{font-size:10px;color:#a19b90;display:flex;align-items:center;gap:6px;margin-top:10px}.stat-meta strong{font-weight:500;color:#558067;display:flex;align-items:center;gap:3px}.stat-card.featured{background:#a7603b;border-color:#a7603b;color:#fff}.featured .stat-label,.featured .stat-meta{color:#e9d7ca}.featured .stat-value .currency{color:#e7ccba}.featured .stat-icon{background:#ffffff15;color:#f1d4bf}.featured .stat-meta strong{color:#fff}.overview-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);gap:21px;margin-bottom:21px}.chart-meta{display:flex;gap:24px;padding:0 23px 12px;align-items:center}.legend{display:inline-flex;align-items:center;gap:7px;color:#90887c;font-size:10px}.legend:before{content:'';height:7px;width:7px;background:var(--brand);border-radius:50%}.legend.expenses:before{background:#d6cbb8}.legend.green:before{background:#6d8d77}.legend.grey:before{background:#ddd8cf}.chart-total{font-family:Manrope,sans-serif;font-size:23px;letter-spacing:-.6px;font-weight:750;margin-right:auto}.chart-total small{display:block;font-family:'DM Sans',sans-serif;font-size:9px;font-weight:500;letter-spacing:0;color:var(--muted);margin-top:4px}.chart-wrap{padding:0 18px 15px}.revenue-chart{width:100%;height:220px;display:block;overflow:visible}.chart-y-label{font:9px 'DM Sans',sans-serif;fill:#aaa399}.chart-grid{stroke:#efede7;stroke-dasharray:3 4}.chart-line{stroke:#ae6c48;fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.chart-line-expense{stroke:#cfc2a8;fill:none;stroke-width:2;stroke-dasharray:5 5}.chart-point{fill:#fff;stroke:#a65c35;stroke-width:2}.overview-bottom{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);gap:21px}.donut-area{display:flex;align-items:center;justify-content:center;gap:18px;padding:11px 18px 9px;position:relative}.donut{width:160px;height:160px;flex-shrink:0;position:relative}.donut svg{width:100%;height:100%;transform:rotate(-90deg)}.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-center strong{font-family:Manrope,sans-serif;font-size:22px;letter-spacing:-.6px}.donut-center small{font-size:9px;color:var(--muted);margin-top:5px}.donut-list{display:flex;flex-direction:column;gap:15px}.donut-list strong{display:block;font-size:12px;margin:4px 0 0 14px;font-weight:600}.collection-foot{margin:13px 22px 18px;padding-top:14px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#9b9286}.collection-foot strong{color:#ab7350;font-weight:650}.table-wrap{overflow-x:auto;width:100%}.data-table{border-collapse:collapse;width:100%;font-size:11px;white-space:nowrap}.data-table th{text-align:left;background:#fcfbf8;color:#a09a8e;font-size:9px;letter-spacing:.55px;text-transform:uppercase;font-weight:600;padding:12px 19px;border-top:1px solid #f0ede6;border-bottom:1px solid #eeebe4}.data-table td{padding:15px 19px;border-bottom:1px solid #f2efe9;vertical-align:middle;color:#696157}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fdfbf7}.data-table th:first-child,.data-table td:first-child{padding-left:23px}.data-table .number-cell,.data-table td.amount{color:#4d453a;font-weight:550}.item-name{color:#443c32;font-size:11px;font-weight:650;display:block}.item-sub{font-size:10px;color:#a39a8c;display:block;margin-top:4px}.table-link{color:#a06944;background:none;border:0;padding:0;font-size:11px;font-weight:550;text-align:left}.table-link:hover{text-decoration:underline}.badge{font-size:9px;font-weight:550;display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;line-height:1.1;white-space:nowrap;background:#f2f0ea;color:#8c8477}.badge:before{content:'';width:4px;height:4px;background:currentColor;border-radius:50%}.badge-success,.badge-paid,.badge-green,.badge-completed,.badge-posted{background:#eef5ed;color:#648464}.badge-warning,.badge-pending,.badge-amber,.badge-partial,.badge-low{background:#fbf3e2;color:#b28a40}.badge-danger,.badge-overdue,.badge-red,.badge-out{background:#fbefec;color:#b76d5e}.badge-info,.badge-blue{background:#edf2f7;color:#64809d}.badge-neutral{background:#f2f0eb;color:#958775}.table-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:12px 23px;font-size:10px;color:#aaa092}.product-list{padding:0 22px 8px}.product-row{display:flex;gap:13px;align-items:center;padding:13px 0;border-bottom:1px solid #f1eee8}.product-row:last-child{border:0}.product-thumb{width:44px;height:44px;background:#f5efe4;border-radius:9px;padding:4px;object-fit:contain}.product-info{flex:1;min-width:0}.product-info strong{font-size:11px;font-weight:600;display:block}.product-info small{font-size:9px;color:#a39a8b;display:block;margin-top:5px}.product-amount{text-align:right;font-size:11px;font-weight:600}.product-amount small{font-size:9px;display:block;color:#a19788;font-weight:400;margin-top:4px}.progress-bar{height:4px;width:100%;border-radius:5px;background:#f2ece2;overflow:hidden;margin-top:8px}.progress-bar span{height:100%;display:block;background:#b57d54;border-radius:5px}.dashboard-foot{display:flex;justify-content:space-between;align-items:center;margin-top:22px;font-size:10px;color:#aaa296}.dashboard-foot span{display:flex;align-items:center;gap:6px}.insight-banner{display:flex;align-items:center;gap:12px;background:#f5eee3;border:1px solid #e9ddcc;border-radius:9px;margin-bottom:21px;padding:13px 17px;font-size:11px;color:#8c6c44}.insight-banner p{flex:1;line-height:1.5}.insight-banner strong{color:#795b34;font-weight:650}.insight-banner .btn{font-size:10px;color:#8b663e}.toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap}.toolbar .search-input{min-width:220px}.toolbar-right{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.search-input,input,select,textarea{border:1px solid #e5dfd6;background:#fff;border-radius:6px;padding:9px 11px;color:#51483d;font-size:12px;max-width:100%}.search-input::placeholder,input::placeholder{color:#b4aa9b}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:19px}.tab{background:transparent;border:0;border-bottom:2px solid transparent;padding:11px 16px;color:#999080;font-size:11px;font-weight:550;white-space:nowrap}.tab.active{border-bottom-color:var(--brand);color:var(--brand)}.tabs button{background:transparent;border:0;border-bottom:2px solid transparent;padding:11px 16px;color:#999080;font-size:11px;font-weight:550}.tabs button.active{border-bottom-color:var(--brand);color:var(--brand)}.page-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:20px}.page-intro p{color:var(--muted);font-size:12px;line-height:1.7}.page-actions{display:flex;gap:10px;align-items:center}.section-grid,.split-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.recipe-card{padding:22px;background:white;border:1px solid var(--line);border-radius:11px}.recipe-card h3{margin-bottom:7px}.recipe-card p{font-size:11px;color:var(--muted);line-height:1.6}.recipe-card button{margin-top:15px}.list-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.list-row:last-child{border:0}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:20px 0}.detail-stat{border:1px solid var(--line);background:#fbfaf6;border-radius:8px;padding:15px}.detail-stat small{color:var(--muted);display:block;margin-bottom:7px}.detail-stat strong{font-size:18px}.info-row{display:flex;justify-content:space-between;gap:15px;padding:10px 0;font-size:12px;border-bottom:1px solid #f2eee7}.info-row>span:first-child{color:var(--muted)}.empty-state{padding:42px 20px;text-align:center;display:flex;align-items:center;flex-direction:column;gap:12px;color:#b4a38c}.empty-state strong{font-size:13px;color:#7c6b56}.empty-state p{font-size:11px;color:var(--muted);max-width:320px;line-height:1.6}.people-cell{display:flex;align-items:center;gap:11px}.people-cell .avatar{width:30px;height:30px;font-size:10px}.account-card{padding:23px;position:relative}.account-card .balance{font-size:27px;font-weight:700;letter-spacing:-.7px;margin:23px 0 8px}.account-card p{font-size:11px;color:#978b79}.account-card.dark{background:#493429;color:#fff;border-color:#493429}.account-card.dark p{color:#c7b2a0}.account-card.dark .stat-icon{background:#ffffff12;color:#e2c8b0}.account-card-header{display:flex;justify-content:space-between;align-items:center}.balance-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #ffffff20;margin-top:20px;padding-top:15px;font-size:10px;color:#c8b9a7}.account-card:not(.dark) .balance-row{border-color:var(--line);color:var(--muted)}.account-card .account-number{font-family:monospace;font-size:10px;letter-spacing:1px;color:#ac9c86}.settings-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}.setting-row{padding:18px 23px;border-top:1px solid var(--line);display:flex;gap:20px;justify-content:space-between;align-items:center;font-size:12px}.setting-row small{display:block;color:var(--muted);font-size:10px;margin-top:5px;line-height:1.6;max-width:400px}.notice{padding:13px 16px;border-radius:7px;border:1px solid #ebdecc;background:#fbf7ef;color:#9b7b4e;font-size:11px;line-height:1.65;margin:16px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:550;color:#81715e;margin-bottom:15px}.form-grid .form-field{margin-bottom:0}.form-field>span,.form-field>label{display:block}.form-field input,.form-field select,.form-field textarea{width:100%;font-size:12px;min-height:39px}.form-field.full,.form-grid .full{grid-column:1/-1}.form-section{margin:23px 0 13px;font-size:11px;font-weight:650;letter-spacing:.5px;text-transform:uppercase;color:#9b8b76}.form-help{font-size:10px;color:var(--muted);line-height:1.6}.modal-backdrop{position:fixed;inset:0;background:#2b221757;backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center;padding:25px}.modal{width:640px;max-width:100%;max-height:90vh;background:white;border-radius:13px;box-shadow:0 30px 100px #30211130;display:flex;flex-direction:column;overflow:hidden}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:21px 26px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:18px}.modal-body{padding:23px 26px;overflow-y:auto;max-height:65vh}.modal-footer{padding:16px 26px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;background:#fdfcf9}.modal-form{display:contents}.form-error{background:#fff1ed;color:#b4553c;border:1px solid #f2cfc2;border-radius:6px;padding:12px;font-size:12px;line-height:1.5;margin-bottom:16px;display:none}.modal .data-table th,.modal .data-table td{padding:11px 10px}.modal .data-table td:first-child,.modal .data-table th:first-child{padding-left:10px}.line-items{margin:20px 0}.invoice-line{display:grid;grid-template-columns:minmax(0,2fr) 65px 100px 30px;gap:8px;margin:8px 0;align-items:center}.invoice-line select,.invoice-line input{width:100%;font-size:11px;min-width:0}.line-labels{display:grid;grid-template-columns:minmax(0,2fr) 65px 100px 30px;gap:8px;font-size:9px;color:#9a8c78;text-transform:uppercase;letter-spacing:.7px}.invoice-summary{border-top:1px solid var(--line);display:flex;justify-content:space-between;font-size:16px;margin-top:19px;padding-top:15px}.invoice-summary strong{color:var(--brand);font-size:21px}.invoice-detail-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.invoice-detail-heading img{width:150px}.invoice-detail-heading strong{font-size:20px;color:var(--brand)}.search-results{list-style:none;padding:0;margin:0}.search-result{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--line);cursor:pointer}.search-result:hover{background:#fbf7ee}.search-result small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.search-result>svg:last-child{margin-left:auto;color:#b3a58f}.activity-list{display:flex;flex-direction:column}.activity-item{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid var(--line);align-items:flex-start}.activity-item .activity-icon{background:#f5eee3;color:#a5784e;border-radius:50%;padding:9px}.activity-item strong{display:block;font-size:12px}.activity-item p{font-size:11px;color:#9a8c79;margin:5px 0;line-height:1.6}.activity-item small{font-size:10px;color:#b2a591}.toast{position:fixed;bottom:25px;left:calc(50% + 120px);transform:translateX(-50%);background:#423528;color:white;border:1px solid #6d5440;padding:14px 20px;border-radius:9px;box-shadow:0 8px 40px #27180924;z-index:200;display:flex;align-items:center;gap:10px;font-size:12px;max-width:90vw;animation:toastIn .2s ease-out}.toast svg{color:#c9ddbe}@keyframes toastIn{from{opacity:0;bottom:15px}to{opacity:1;bottom:25px}}.preview-note{display:flex;align-items:center;gap:8px;font-size:10px;color:#9a8b78}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.report-tile{border:1px solid var(--line);background:white;border-radius:9px;padding:18px;text-align:left}.report-tile:hover,.report-tile.active{border-color:#c99c78;background:#fcf6ee}.report-total{font-weight:700;background:#faf5ed}.financial-report{max-width:900px;margin:0 auto}.financial-report h2{text-align:center}.financial-report .report-subtitle{text-align:center;color:var(--muted);font-size:11px;margin:8px 0 25px}.financial-report td,.financial-report th{font-size:12px}.financial-report .total-row td{font-weight:700;color:#51412e;border-top:1px solid #d6c5ae;background:#fbf7f0}.financial-report .grand-total td{font-weight:750;background:#efe4d4;font-size:15px}.row-label{font-weight:600}.report-actions{display:flex;gap:10px}.report-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.report-filters label{font-size:10px;color:var(--muted)}.report-filters input{margin-left:5px}.balance-check{padding:12px 18px;background:#eef5ed;border:1px solid #d8e6d3;border-radius:7px;font-size:11px;color:#5c7d58}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:20px}.fin-summary{display:flex;gap:24px;flex-wrap:wrap;padding:18px 22px}.fin-summary>div{flex:1}.fin-summary small{display:block;color:var(--muted);font-size:10px}.fin-summary strong{display:block;font-size:21px;margin-top:7px}.report-title{padding:25px 25px 15px}.report-section{padding:10px 25px}.status-dot{width:7px;height:7px;border-radius:50%;background:var(--green);display:inline-block}.allocation-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:10px 0}.nav-overlay{display:none}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.ops-stats .stat-value{display:block;margin:13px 0 10px;font-size:21px}.stat-detail{font-size:10px;line-height:1.6;display:block}.stat-card>.stat-label+.stat-value{margin-top:12px}.toolbar-left{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ops-search{display:flex}.recipe-card-top{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.product-symbol{width:38px;height:38px;display:grid;place-items:center;background:#f5ecdf;border-radius:9px;color:#a67a4c}.recipe-cost{display:flex;justify-content:space-between;gap:12px;margin:18px 0 6px;font-size:11px;color:#9a8971}.recipe-cost strong{font-size:16px;color:#85532e}.card-actions{display:flex;gap:10px;align-items:center;margin-top:18px;flex-wrap:wrap}.contact-cell{display:flex;align-items:center;gap:10px}.amount-attention{color:#a57543}.text-button{border:0;background:none;color:#a26942;font-size:11px;padding:3px 0;text-align:left}.text-button:hover{text-decoration:underline}.modal-intro{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:20px}.modal-section-heading{font-size:12px;color:#8c765b;margin:23px 0 12px}.detail-stat>.muted{display:block;font-size:10px;margin-bottom:10px}.detail-stat>strong{font-size:16px}.numeric{text-align:right!important;font-variant-numeric:tabular-nums}.field{font-size:11px;color:#81715e}.card>.card-body>p{line-height:1.7}.toolbar>.tabs{margin:0}.ops-stats .stat-card.warning{border-color:#ecdab6;background:#fffcf5}
@media(min-width:1600px){:root{--sidebar:260px}.content{padding-top:34px}.stat-value{font-size:28px}.revenue-chart{height:255px}.nav-item{font-size:13px;padding:10px 13px}.topbar{height:80px}}
@media(max-width:1250px){:root{--sidebar:215px}.brand{padding-left:22px}.brand img{width:150px}.topbar{padding:0 24px}.content{padding:25px 24px}.global-search{width:200px}.stat-card{padding:16px}.stat-value{font-size:21px}.donut-area{gap:5px}.donut{width:135px;height:135px}.donut-center strong{font-size:19px}.overview-grid,.overview-bottom{grid-template-columns:minmax(0,1.7fr) minmax(255px,1fr)}.data-table th,.data-table td{padding:13px}.profile .profile-text{display:none}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid,.overview-bottom{grid-template-columns:1fr}.donut-area{gap:45px}.donut{width:175px;height:175px}.donut-list{gap:20px}.donut-list strong{font-size:16px}.donut-list .legend{font-size:12px}.chart-wrap{padding-right:25px}.page-heading{align-items:flex-start}.global-search{width:175px}.profile{display:none}.top-divider{display:none}.section-grid,.split-layout,.settings-grid{grid-template-columns:1fr}}
@media(max-width:760px){:root{--sidebar:240px}.sidebar{transform:translateX(-100%);transition:transform .18s}.sidebar.open{transform:translateX(0)}.shell{margin-left:0}.menu-mobile{display:inline-flex}.topbar{height:62px;padding:0 16px;gap:10px}.topbar-right{gap:5px}.breadcrumb{font-size:11px;gap:5px}.breadcrumb>span:first-child,.breadcrumb>svg{display:none}.global-search{width:auto;border:0;background:none;padding:6px}.global-search input{width:90px;font-size:10px}.global-search kbd{display:none}.topbar-right .profile{display:none}.content{padding:23px 16px}.page-heading{flex-direction:column;align-items:stretch;gap:18px;margin-bottom:21px}h1{font-size:25px}.header-actions{justify-content:space-between}.header-actions .btn,.header-actions select{flex:1}.stats-grid{gap:11px;margin-bottom:18px}.stat-card{padding:15px 13px}.stat-value{font-size:21px}.stat-label{font-size:10px}.stat-icon{width:26px;height:26px}.stat-meta{font-size:8px;gap:4px}.stat-top{margin-bottom:10px}.card-header{padding:18px}.chart-total{font-size:21px}.chart-meta{padding-left:18px;gap:12px}.card-header h2{font-size:14px}.data-table td,.data-table th{font-size:10px;padding:13px}.data-table th{font-size:8px}.insight-banner{align-items:flex-start}.insight-banner .btn{padding-top:0;align-self:center}.insight-banner p{font-size:10px}.table-footer{padding:12px 18px}.dashboard-foot{align-items:flex-start;gap:12px;line-height:1.6}.dashboard-foot>span{font-size:8px}.dashboard-foot .preview-note svg{display:none}.toolbar{align-items:stretch}.toolbar .search-input{width:100%}.toolbar-right{width:100%;justify-content:space-between}.tabs{overflow:auto}.tab{padding:11px 12px}.recipe-grid{grid-template-columns:1fr}.page-intro{flex-direction:column}.modal-backdrop{padding:12px}.modal{max-height:94vh}.modal-body{padding:20px 18px}.modal-header,.modal-footer{padding:16px 18px}.modal-body{max-height:71vh}.form-grid{grid-template-columns:1fr;gap:14px}.detail-grid{grid-template-columns:1fr 1fr}.detail-stat strong{font-size:16px}.invoice-line,.line-labels{grid-template-columns:minmax(0,1.6fr) 50px 80px 25px;gap:4px}.invoice-line select,.invoice-line input{font-size:10px;padding:9px 6px}.toast{left:50%;min-width:240px;font-size:11px}.nav-overlay.open{display:block;position:fixed;inset:0;background:#22180f55;z-index:24}.report-grid{grid-template-columns:1fr 1fr}.metric-grid{grid-template-columns:1fr 1fr}.settings-grid .setting-row{padding:17px;gap:12px}.settings-grid .setting-row .btn{font-size:9px;padding:9px}.report-filters{gap:10px}.report-filters input{max-width:140px}.fin-summary{gap:16px}.fin-summary strong{font-size:17px}}
@media print{.sidebar,.topbar,.header-actions,.toolbar,.tabs,.btn,.toast,.modal-footer,.modal-header .icon-btn,.dashboard-foot{display:none!important}.shell{margin:0}.content{padding:0}.card{box-shadow:none;break-inside:avoid}.modal-backdrop{position:static;display:block;background:none;padding:0}.modal{max-width:none;width:100%;max-height:none;box-shadow:none;border:0}.modal-body{max-height:none;overflow:visible}.modal-open #app{display:none}.modal-open .modal{display:block}.modal-open .modal-header{border:0}.data-table{white-space:normal}.page-heading{margin:20px 0}body{background:white}}

/* Consistent brand scale and compact layouts across the review screens. */
.brand{padding-top:14px}.brand img{width:173px;height:66px;object-fit:cover;object-position:center}.brand-caption{font-size:9px;letter-spacing:2px;padding-top:3px;white-space:nowrap}.stat-card>.stat-value{font-variant-numeric:tabular-nums}.numeric{font-size:11px}
@media(max-width:1250px){.brand{padding-left:18px}.brand img{width:173px}.brand-caption{letter-spacing:1.65px}}
@media(max-width:600px){.stats-grid[style]{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ops-stats .stat-value{font-size:17px;letter-spacing:-.5px}.toolbar-left{width:100%}.toolbar-left .ops-search{width:100%}.toolbar-left input{width:100%}.detail-grid{grid-template-columns:1fr 1fr}.report-grid{grid-template-columns:1fr 1fr}.stat-card>.stat-value{font-size:18px}.toolbar>div[style]{flex-wrap:wrap}.page-actions{flex-wrap:wrap}}

/* Compound journals retain a clear account/amount pair on every screen size. */
.modal.journal-modal{width:940px}
.journal-sides{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin:20px 0}
.journal-side{border:1px solid var(--line);border-radius:9px;padding:16px;min-width:0;background:#fdfcf9}
.journal-side-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}
.journal-side-heading h3{font-size:14px;margin:0}
.journal-side-heading>span{font-size:10px;color:var(--muted)}
.journal-line{display:grid;grid-template-columns:minmax(0,1fr) 106px 24px;gap:8px;align-items:end;margin-bottom:15px}
.journal-line label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:10px;color:#81715e}
.journal-line select,.journal-line input{width:100%;min-width:0;font-size:11px;padding:9px 8px;height:38px}
.journal-line input{text-align:right;font-variant-numeric:tabular-nums}
.journal-remove{width:24px;height:38px;font-size:21px;color:#a48a74;padding:0}
.journal-add{font-size:11px;margin-top:2px}
.journal-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border-top:1px solid var(--line);padding-top:17px}
.journal-totals>div{display:flex;flex-direction:column;gap:7px}
.journal-totals span{font-size:11px;color:var(--muted)}
.journal-totals strong{font-size:18px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.journal-status{margin:16px 0 9px;padding:11px 13px;border-radius:6px;background:#fbf3e2;color:#996e32;font-size:12px;line-height:1.5}
.journal-status.is-balanced{background:#eef5ed;color:#52734d}
.journal-modal button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.journal-sides{grid-template-columns:1fr;gap:12px}.journal-side{padding:13px}.journal-line{grid-template-columns:minmax(0,1fr) 102px 22px;gap:6px}.journal-totals{gap:8px}.journal-totals strong{font-size:15px}.journal-totals span{font-size:10px}}
.modal.opening-modal{width:820px}
.opening-section{border:1px solid var(--line);border-radius:8px;margin:14px 0;padding:0 15px}
.opening-section>summary{cursor:pointer;padding:15px 0;font-size:12px;font-weight:650;color:#6b513b}
.opening-section>p{margin-bottom:12px}
.opening-section-body{padding-bottom:15px}
.opening-detail-row{border-top:1px solid var(--line);padding-top:15px;margin-top:15px}
.opening-detail-row:first-child{border-top:0;padding-top:0;margin-top:0}
.opening-detail-row h4{font-size:12px;margin:0 0 12px}
.opening-detail-row h4 small{font-size:10px;color:var(--muted);font-weight:400}
.opening-repeat-row{border:1px solid var(--line);border-radius:7px;background:#fdfcf9;padding:14px;margin-bottom:12px}
.opening-repeat-row>.text-button{margin-top:12px}
.opening-modal .journal-totals{margin-top:23px}
.opening-modal button:disabled{opacity:.45;cursor:not-allowed}

/* Workspace setup and sign-in */
.setup-banner{display:flex;gap:12px;align-items:center;border:1px solid #dfc8ac;background:#fff9ee;color:#755634;border-radius:12px;padding:14px 18px;margin-bottom:22px;font-size:12px;line-height:1.6}.setup-banner strong{white-space:nowrap}.setup-banner span{flex:1}.setup-banner a{font-weight:700;white-space:nowrap}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f8f5ef}.auth-card{width:min(100%,440px);padding:40px;background:white;border:1px solid #e8e1d7;border-radius:20px;box-shadow:0 16px 50px #4029120a}.auth-card>img{width:200px;display:block;margin:0 auto 30px}.auth-card h1{font-size:26px;line-height:1.2;margin:20px 0 12px}.auth-card p{color:#766f66;font-size:14px;line-height:1.7;margin-bottom:22px}.auth-card form{display:grid;gap:16px}.auth-card small{font-size:12px;color:#80776d}.auth-card #auth-message{margin-top:18px}.profile-text strong{max-width:180px;overflow:hidden;text-overflow:ellipsis;display:block}.setup-banner a:hover{text-decoration:underline}@media(max-width:700px){.setup-banner{flex-wrap:wrap}.setup-banner strong{width:100%}.auth-card{padding:26px}}
.staff-card{margin-top:20px}
.staff-card .card-header{gap:14px;flex-wrap:wrap}
.staff-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.staff-email{white-space:normal!important;overflow-wrap:anywhere}
.staff-revoke{color:#a7523d}
.staff-empty,.staff-foot{padding:18px 23px;font-size:12px;color:var(--muted);line-height:1.7}
.staff-foot{border-top:1px solid var(--line)}
.staff-foot small{display:block;margin-top:8px;font-size:11px}
.staff-invitation{margin:18px 23px;padding:18px;border:1px solid #d8e6d3;background:#f4f8f1;border-radius:8px;font-size:12px;line-height:1.7}
.staff-invitation>p{margin:7px 0 13px}
.staff-invitation .form-field{margin-top:14px}
.staff-invitation>button{margin-right:14px}
.staff-invitation .form-help{margin:12px 0}
.staff-card button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.staff-card .card-header,.staff-empty,.staff-foot{padding:16px}.staff-invitation{margin:16px;padding:14px}.staff-card .staff-actions{gap:9px}.staff-card .btn{font-size:11px;padding:9px 11px}}
