:root{--border:#e2e7e4;--muted:#78877f}.sidebar{width:188px;padding:27px 14px}.app{margin-left:188px}.brand{font-size:27px;padding:0 8px}.brand-sub{font-size:12px}.workspace{margin:28px 0;padding:12px 8px;cursor:default}.workspace small{font-size:12px}.nav-label{font-size:13px;letter-spacing:1px}nav button{font-size:15px;padding:13px 12px}nav button span{display:inline}.sidebar-bottom .demo-box{font-size:13px}.profile{cursor:default}header{height:57px;padding:0 28px}main{max-width:1800px;padding:27px 28px 0}.page-heading{margin-bottom:24px}.page-heading h1{font-size:27px;margin:6px 0}.eyebrow{font-size:12px;letter-spacing:1.8px}.page-heading p{font-size:14px;color:#849188}.button{padding:9px 13px;font-size:14px}.summary-strip{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);background:white;border-radius:8px;margin-bottom:21px;padding:18px 0}.summary-cell{padding:0 23px;border-right:1px solid var(--border)}.summary-cell:last-child{border:0}.summary-cell label{display:block;color:#86958b;font-size:13px}.summary-cell strong{display:inline-block;font-size:25px;font-weight:600;letter-spacing:-.6px;margin:9px 4px 0 0;color:#344e3f}.summary-cell small{font-size:13px;color:#9ca79f}.summary-cell p{font-size:12px;color:#9ba69e;margin:7px 0 0}.summary-cell.receivable strong{color:var(--green)}.ledger-shell{display:grid;grid-template-columns:215px minmax(0,1fr);background:white;border:1px solid var(--border);border-radius:9px;overflow:hidden;min-height:590px}.partner-pane{background:#fbfcfb;border-right:1px solid var(--border);position:relative;padding-bottom:45px}.partner-heading{padding:20px 17px 15px}.partner-heading h2{font-size:15px}.partner-heading h2 span{font-size:13px;color:#98a49a;margin-left:5px}.partner-heading small{display:block;font-size:12px;color:#9ca69f;margin-top:8px}.partner-search{display:flex;gap:6px;align-items:center;border:1px solid var(--border);margin:0 13px 16px;padding:7px 9px;border-radius:5px;color:#91a193;background:white}.partner-search input{width:100%;border:0;outline:0;background:transparent;font-size:13px;min-width:0}.partner-row{display:flex;align-items:flex-start;gap:9px;width:calc(100% - 16px);border:1px solid transparent;border-radius:6px;background:transparent;padding:12px 10px;text-align:left;margin:3px 8px}.partner-row.active{background:#eaf3ed;border-color:#d9e9de}.partner-avatar{width:28px;height:28px;background:#eff2ed;color:#8e9d8a;border-radius:6px;display:grid;place-items:center;font-size:14px}.partner-row.active .partner-avatar{background:#dbeadd;color:#528161}.partner-row strong{display:block;font-size:14px;font-weight:500;color:#586d5d}.partner-row small{display:block;font-size:12px;color:#a0aba1;margin-top:5px}.partner-money{margin-left:auto;align-self:center;font-size:12px;color:#638a6a;white-space:nowrap}.partner-section{font-size:12px;color:#a8b1aa;padding:15px 18px 6px;letter-spacing:1px}.partner-foot{font-size:12px;color:#a5afa7;position:absolute;bottom:16px;left:17px}.ledger-main{min-width:0}.ledger-heading{display:flex;justify-content:space-between;align-items:center;padding:20px 21px 16px}.ledger-heading h2{font-size:17px}.ledger-heading p{font-size:13px;color:#95a198;margin:7px 0 0}.ledger-filters{padding:0 21px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.tabs button{padding:7px 12px;font-size:13px}.ledger-dates{display:flex;align-items:center;gap:7px;color:#9ba79d}.ledger-dates input{font:inherit;font-size:13px;border:1px solid var(--border);padding:6px;border-radius:5px;color:#7b8b7f;background:white}.ledger-query{display:flex;align-items:center;justify-content:space-between;margin:15px 21px 13px}.ledger-query .search-box{padding:6px 9px;font-size:19px}.ledger-query .search-box input{width:210px;font-size:13px}.ledger-query>span{font-size:12px;color:#98a69b}.ledger-table-scroll{max-height:320px;min-height:260px;overflow:auto}table{font-variant-numeric:tabular-nums}thead{position:sticky;top:0;z-index:1}th{font-size:13px;padding:11px 12px;color:#89998d}td{font-size:14px;padding:12px;color:#738578;line-height:1.5}td small{font-size:12px;color:#a2ada4}.ledger-table-scroll tbody tr{cursor:pointer}.ledger-table-scroll tbody tr:hover{background:#fafcf9}.ledger-table-scroll tr.selected{background:#f0f7f1;box-shadow:inset 3px 0 #598d69}.ledger-table-scroll td.memo{max-width:180px;overflow:hidden;text-overflow:ellipsis}.row-button{border:0;background:transparent;text-align:left;padding:0;color:#4b6653;font-size:14px}.ledger-totals{border-top:1px solid var(--border);background:#fbfcfa;display:flex;justify-content:flex-end;gap:25px;padding:13px 21px;font-size:13px;color:#9aa59b}.ledger-totals strong{color:#607a65;margin-left:9px;font-weight:600}.detail-panel{border-top:1px solid var(--border);padding:19px 21px}.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.detail-heading h3{font-size:15px;font-weight:500;margin:0}.detail-heading h3 span{font-size:13px;color:#9aa89d;margin-left:10px}.detail-meta{font-size:12px;color:#98a59a;margin:9px 0 17px}.detail-panel table th{background:#f8faf7;border-top:0;font-size:12px}.detail-panel table td{font-size:13px;border-bottom:1px solid #edf1eb}.detail-panel th:first-child,.detail-panel td:first-child{padding-left:12px}.detail-amount{display:flex;align-items:center;justify-content:flex-end;gap:20px;margin-top:15px;color:#95a296;font-size:13px}.detail-amount strong{font-size:17px;color:#3b6f4a;margin-left:7px}.receipt-detail{padding:20px;background:#f6faf6;border:1px dashed #dce9dd;border-radius:6px;color:#809784;font-size:14px;line-height:2}.other-view{padding:24px;min-height:480px}.other-view h2{font-size:19px;margin-bottom:9px}.other-description{color:#91a095;font-size:14px;margin-bottom:24px;line-height:1.9}.other-view table{margin-top:20px}.other-view th{background:#f7faf6}.other-view td{padding-top:15px;padding-bottom:15px}.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:22px}.info-card{padding:23px;background:#f7faf6;border:1px solid var(--border);border-radius:7px}.info-card p{font-size:13px;color:#95a397;line-height:1.9}.trade-dialog{width:820px;max-width:calc(100% - 30px)}.trade-dialog .form-row label{flex:1;font-size:14px}.trade-dialog .form-row label:first-child{flex:1.5}.trade-dialog select,.trade-dialog input{font-size:14px}.entry-table{min-width:560px;margin:12px 0}.entry-table th{background:#f6f9f5}.entry-table td{padding:9px 6px}.entry-table td:first-child{padding-left:6px;width:42%}.entry-table td:nth-child(2){width:12%}.entry-table td:nth-child(3){width:20%}.entry-table td:last-child{padding-right:6px;width:30px}.entry-table input,.entry-table select{padding:8px 6px;margin:0}.remove-line{border:0;background:transparent;color:#9baba0;font-size:20px;padding:5px}.entry-total{background:#f4f8f2;padding:15px;border-radius:6px;font-size:14px;color:#7b8f7f;text-align:right;line-height:2}.entry-total b{font-size:22px;color:#347148;margin-left:15px}.receipt-balance{background:#f4f8f2;border:1px solid #e2ecdf;padding:15px;border-radius:6px;color:#738a77;font-size:15px}.receipt-balance b{float:right;color:var(--green)}.statement-dialog{width:760px;padding:0;max-width:calc(100% - 25px)}.statement-controls{background:#f6f8f5;border-bottom:1px solid var(--border);padding:12px 20px;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#849789}.statement-controls>div{display:flex;align-items:center;gap:15px}#statement{padding:35px;color:#324b39}#statement h2{text-align:center;font-size:28px;letter-spacing:6px;margin:12px 0 8px}.statement-sub{text-align:center;font-size:13px;color:#99a49a;margin-bottom:35px}.statement-info{display:flex;justify-content:space-between;font-size:14px;line-height:2.2;margin-bottom:25px}.statement-info strong{font-size:19px}#statement table th{background:#f3f7f0}#statement table td{padding:15px 12px}.statement-total{text-align:right;font-size:18px;border-bottom:2px solid #6d8e72;padding:22px 0}.statement-note{margin-top:25px;font-size:13px;line-height:2;color:#91a092}.toast{left:calc(50% + 94px)}footer{padding:19px 0;font-size:12px}[hidden]{display:none!important}@media(min-width:1600px){main{padding:30px 35px 0}.ledger-shell{grid-template-columns:240px minmax(0,1fr)}td{padding:14px}.ledger-table-scroll{max-height:380px}}@media(max-width:1150px){.sidebar{width:172px}.app{margin-left:172px}main{padding:22px 18px 0}.ledger-shell{grid-template-columns:185px minmax(0,1fr)}.summary-cell{padding:0 16px}.summary-cell strong{font-size:22px}.ledger-filters{gap:10px}.ledger-totals{gap:14px}.toast{left:calc(50% + 86px)}}@media(max-width:850px){.sidebar{width:65px;padding:25px 8px}.app{margin-left:65px}.brand{font-size:0;padding:0}.brand-icon{font-size:30px}.brand-sub,.workspace,.nav-label,.sidebar-bottom,nav button span{display:none}nav{margin-top:35px}nav button{padding:14px 8px}nav svg{width:21px}.ledger-shell{grid-template-columns:160px minmax(0,1fr)}.partner-row{padding:11px 6px}.partner-avatar{display:none}.summary-cell strong{font-size:19px}.summary-cell{padding:0 12px}.heading-actions{flex-direction:row}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:25px}.ledger-dates{flex-wrap:wrap}.toast{left:calc(50% + 32px)}.info-grid{grid-template-columns:1fr}.detail-heading{align-items:flex-start}.ledger-totals{flex-wrap:wrap;gap:10px}.trade-dialog .form-row{flex-wrap:wrap}.trade-dialog .form-row label{min-width:140px}}@media(max-width:600px){.ledger-shell{grid-template-columns:minmax(0,1fr)}.partner-pane{border-right:0;border-bottom:1px solid var(--border);padding-bottom:0}.partner-heading{padding:15px}.partner-heading small,.partner-search,.partner-foot,.partner-section{display:none}#partner-list{display:flex;overflow-x:auto;padding:0 8px 10px}.partner-row{width:auto;flex-shrink:0;padding:9px 10px;margin:0 3px;gap:5px}.partner-row small,.partner-money{display:none}.summary-strip{grid-template-columns:repeat(2,1fr);padding:0}.summary-cell{padding:15px;border-bottom:1px solid var(--border)}.summary-cell:nth-child(2){border-right:0}.summary-cell:nth-child(n+3){border-bottom:0}.summary-cell strong{font-size:21px}.summary-cell p{font-size:12px}.ledger-heading{padding:18px 15px}.ledger-filters{padding:0 15px}.ledger-query{margin:13px 15px}.ledger-query .search-box input{width:160px}.detail-panel{padding:18px 15px}.detail-heading h3 span{display:block;margin:5px 0}.detail-amount{flex-wrap:wrap;gap:10px}.heading-actions{gap:5px}.heading-actions .button{padding:9px;font-size:13px}.header-right{gap:10px}#statement{padding:20px}.statement-info{flex-direction:column;gap:15px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pricing-heading,.pricing-actions,.pricing-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.price-rule{background:#edf5ef;border:1px solid #d5e5da;border-radius:8px;padding:18px 20px;margin:18px 0;color:#41674e}.price-rule strong,.price-rule span{display:block}.price-rule span{font-size:14px;margin-top:9px;line-height:1.7}.price-tabs{margin:24px 0}.price-tabs button{font-size:15px;padding:12px 18px}.pricing-section-title span,.pricing-actions span{font-size:14px;color:#789080}.customer-grades{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:18px 0 28px}.customer-grades label{padding:17px;border:1px solid var(--border);border-radius:8px;background:#fafcf9}.customer-grades strong,.customer-grades small{display:block}.customer-grades small{margin:5px 0 12px;color:#7b8d7e}.customer-grades select{margin:0}.price-matrix{min-width:650px}.price-matrix input{min-width:110px;margin:0;padding:10px}.price-matrix td{padding:12px}.pricing-actions{margin:18px 0 26px}.price-editor{padding:22px;background:#f8faf7;border:1px solid var(--border);border-radius:8px;margin-bottom:22px}.price-editor h3{margin-bottom:15px}.price-editor p{font-size:14px;color:#738b7b;line-height:1.7}.price-editor .form-row label,.price-preview .form-row label{flex:1;min-width:130px}.price-preview{margin-top:28px;border-top:1px solid var(--border);padding-top:24px}.price-preview h3{margin-bottom:18px}#price-preview-result{display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:#f0f6ef;padding:18px;border-radius:7px;font-size:14px}#price-preview-result strong{font-size:26px;color:#347148}.price-restore{border:0;background:transparent;padding:4px 0;color:#477a58;font-size:12px;text-decoration:underline}.price-editor .form-row,.price-preview .form-row{flex-wrap:wrap}.other-view h3{font-size:17px}.price-matrix td:first-child{min-width:230px}@media(max-width:850px){.customer-grades{grid-template-columns:1fr}.price-rule strong{line-height:1.7}.price-editor{padding:15px}.price-tabs{display:flex;flex-wrap:wrap}.price-tabs button{padding:10px}}
.trade-dialog{width:1000px;max-height:calc(100vh - 40px)}
.barcode-section{border:1px solid #cfe1d5;background:#f4f9f5;border-radius:8px;padding:17px 18px;margin:10px 0 20px}
.scan-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;color:#3d6a4e}.scan-heading span{font-size:13px;color:#7e9584}
.scan-controls{display:flex;align-items:center;gap:10px;margin-top:13px}.scan-controls label{flex:1}.scan-controls input{font-size:19px!important;letter-spacing:1px;padding:13px!important;background:white;border:1px solid #9fc4ac}.scan-controls input:focus{outline:3px solid #c6e4d0;outline-offset:1px}.scan-controls .button{padding:14px 18px;font-size:14px}.scan-controls input:disabled{background:#edf1ed;cursor:not-allowed}.button:disabled{opacity:.5;cursor:not-allowed}
#scan-feedback{font-size:13px;color:#6e8877;margin:10px 0;min-height:20px}.barcode-section details{border-top:1px solid #dbe8df;padding-top:10px}.barcode-section summary{cursor:pointer;font-size:13px;color:#748c7c}.barcode-section details>small{display:block;font-size:12px;color:#89998e;line-height:1.7;margin-top:10px}
#sample-barcodes{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.sample-barcode{display:flex;flex-direction:column;gap:5px;text-align:left;padding:9px 12px;border:1px solid #d7e5db;background:white;border-radius:5px;font-size:12px}.sample-barcode code{font-size:12px;color:#799883}.line-barcode,[data-price-source]{display:block;font-size:12px;color:#8a9d8f;margin:6px 0 0}.entry-table td:first-child{width:43%}.entry-table td:nth-child(2){width:13%}.entry-table td:nth-child(3){width:22%}
@media(max-width:600px){.scan-heading{align-items:flex-start;flex-direction:column;gap:6px}.barcode-section{padding:14px}.scan-controls{gap:6px}.scan-controls input{font-size:16px!important;min-width:0}.scan-controls .button{padding:12px 9px;flex-shrink:0}.trade-dialog{padding:20px}.entry-table{min-width:660px}}
/* Larger type with one-line company names. */
.brand{white-space:nowrap;gap:8px;flex-wrap:nowrap}.brand-name{white-space:nowrap;flex-shrink:0}.brand-icon{flex-shrink:0}.brand-sub{font-size:8px;letter-spacing:1px}
.workspace>span:nth-child(2){min-width:0}.workspace strong{font-size:16px;white-space:nowrap}.workspace small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-icon{flex-shrink:0}
.partner-row>span:nth-child(2){min-width:0;flex:1}.partner-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.partner-money{flex-shrink:0}.partner-avatar{flex-shrink:0}
.ledger-table-scroll{max-height:390px}.ledger-table-scroll table{min-width:920px}.ledger-dates input{min-width:130px}.heading-actions{flex-wrap:wrap}.table-wrap{max-width:100%}
.toast{left:calc(50% + 112px)}
@media(min-width:1151px){.sidebar{width:224px}.app{margin-left:224px}.ledger-shell{grid-template-columns:265px minmax(0,1fr)}.brand{padding:0 5px}}
@media(min-width:851px) and (max-width:1150px){.sidebar{width:210px}.app{margin-left:210px}.brand-sub{display:none}.ledger-shell{grid-template-columns:245px minmax(0,1fr)}.toast{left:calc(50% + 105px)}}
@media(max-width:850px){.brand-name{display:none}.brand{gap:0}.ledger-shell{grid-template-columns:220px minmax(0,1fr)}.toast{left:calc(50% + 32px)}.partner-row strong{font-size:14px}.partner-money{font-size:12px}}
@media(max-width:600px){.ledger-shell{grid-template-columns:minmax(0,1fr)}.summary-cell p{font-size:12px;line-height:1.6}.ledger-query{gap:8px;flex-wrap:wrap}.ledger-dates{gap:5px}.ledger-query .search-box input{width:180px}.partner-row>span:nth-child(2){flex:initial}.heading-actions .button{font-size:13px}.detail-heading{flex-wrap:wrap}}
@media print{body>*{display:none!important}body>#statement-dialog{display:block!important;position:static;width:100%;max-width:none;max-height:none;border:0;box-shadow:none;padding:0;overflow:visible}#statement-dialog .statement-controls{display:none}#statement-dialog::backdrop{display:none}#statement{padding:0!important}#statement table{white-space:normal}#statement thead{position:static}@page{size:A4;margin:18mm}}

.cloud-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px;padding:14px 18px;border:1px solid #cfe1d5;border-radius:8px;background:#f3f8f3}.cloud-bar>span{font-size:14px;font-weight:600;color:#347148}.cloud-bar>small{font-size:13px;color:#6d8474;flex:1;min-width:220px}#auth-dialog{width:540px;max-width:calc(100% - 30px)}

#partner-list{max-height:570px;overflow-y:auto}.partner-row small{line-height:1.6}@media(max-width:600px){#partner-list{max-height:none;overflow-y:visible}}

.customer-grades{max-height:380px;overflow-y:auto}.price-matrix{min-width:850px}.stock-table{min-width:1050px}.pricing-actions label{max-width:430px;flex:1}.stock-table td:first-child{white-space:nowrap}
.pricing-actions label{display:block;font-size:14px;color:#657e6d}.pricing-actions input{display:block;width:100%;margin-top:8px;padding:11px 12px;border:1px solid var(--border);border-radius:6px;background:white;font:inherit;color:#354e3e}.pricing-actions input:focus{outline:2px solid #b6d5bf;outline-offset:1px}.stock-table td{font-size:14px}.stock-table th{font-size:13px}
.connection-status{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#688572;white-space:nowrap}.connection-status::before{content:'';width:6px;height:6px;border-radius:50%;background:#9ba99f}.connection-status[data-state=live]::before{background:#449265}.connection-status[data-state=pending]::before{background:#c49548}.account-menu{position:relative}.account-menu summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;font-size:13px;color:#526d5b}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary:focus-visible{outline:2px solid #80ab8d;outline-offset:5px;border-radius:4px}.account-dropdown{position:absolute;right:0;top:calc(100% + 14px);width:210px;padding:9px;background:white;border:1px solid var(--border);border-radius:8px;box-shadow:0 9px 30px #18392c21;z-index:20}.account-dropdown>strong{display:block;padding:10px 9px;border-bottom:1px solid var(--border);margin-bottom:5px;font-size:13px;color:#718477}.account-dropdown button{display:block;border:0;background:transparent;width:100%;padding:11px 9px;text-align:left;border-radius:5px;font-size:14px;color:#496454}.account-dropdown button:hover{background:#eef5ef}.header-right{align-items:center}@media(max-width:600px){.header-right>.header-divider,.header-right>span:not(.connection-status){display:none}.account-menu summary{gap:5px}.connection-status{font-size:11px}}

.scan-results{max-height:280px;overflow:auto;border:1px solid #cbded2;border-radius:8px;background:#fff;margin:10px 0}.scan-result{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;padding:12px;border:0;border-bottom:1px solid #e5ece7;background:white;cursor:pointer;font:inherit}.scan-result:hover,.scan-result:focus-visible{background:#edf7f0;outline:2px solid #167c60;outline-offset:-2px}.scan-result strong{display:block}.scan-result small{display:block;color:#68796f;margin-top:4px}.scan-result>span:last-child{white-space:nowrap}
/* Align controls independently of the supplementary text below each field. */
.entry-table{table-layout:fixed;width:100%;min-width:740px}
.entry-table th,.entry-table td{padding:12px;vertical-align:top}
.entry-table th:first-child,.entry-table td:first-child{width:42%}
.entry-table th:nth-child(2),.entry-table td:nth-child(2){width:12%}
.entry-table th:nth-child(3),.entry-table td:nth-child(3){width:22%}
.entry-table th:nth-child(4),.entry-table td:nth-child(4){width:18%}
.entry-table th:nth-child(5),.entry-table td:nth-child(5){width:6%}
.entry-table td input,.entry-table td select{display:block;width:100%;min-width:0;height:42px;box-sizing:border-box;margin:0}
.entry-table [data-line-total]{line-height:42px;white-space:nowrap}
.entry-table .remove-line{height:42px;margin:0;padding:0;line-height:42px}
.entry-table .line-barcode,.entry-table [data-price-source]{white-space:normal;overflow-wrap:anywhere}

.trade-partner-field{flex:1;min-width:0}.trade-partner-field label{display:block}.trade-partner-field input{width:100%;box-sizing:border-box}#trade-partner-feedback{display:block;margin-top:6px;font-size:12px;color:#68796f}#trade-partner-results{max-height:220px}.trade-partner-field .scan-result{font-size:14px}

.trade-header-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,240px);align-items:start;gap:16px}.trade-header-row label{display:flex;flex-direction:column;gap:8px;margin:0}.trade-header-row input,.trade-header-row select{display:block;height:44px;min-width:0;width:100%;box-sizing:border-box;margin:0}#scan-feedback:empty{display:none}@media(max-width:600px){.trade-header-row{grid-template-columns:1fr}}

.trade-partner-combo{display:flex;position:relative;align-items:center}.trade-partner-combo input{padding-right:42px!important}.trade-partner-combo button{position:absolute;right:1px;top:1px;width:40px;height:42px;border:0;border-left:1px solid #dce3de;background:#f8faf9;border-radius:0 5px 5px 0;font-size:18px;color:#547163}.scan-result>*{pointer-events:none}

.trade-field-label{display:block;margin-bottom:8px;font-size:14px;color:#68796f}.selected-trade-partner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:5px 10px;border:1px solid #cfe1d5;border-radius:6px;background:#f4f9f5}.selected-trade-partner>div{display:flex;align-items:center;gap:10px;min-width:0}.selected-trade-partner strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px}.selected-trade-partner .badge,.selected-trade-partner button{flex-shrink:0}.selected-trade-partner button{padding:5px 10px}.partner-cancel{border:0;background:transparent;color:#477a58;text-decoration:underline;padding:6px 0;font-size:13px}.partner-change-note{font-size:13px;line-height:1.6;color:#886426;background:#fff8e9;border-radius:5px;padding:9px 10px;margin:6px 0}

/* Shared alignment rules for every business form and toolbar. */
:root{--field-height:44px;--field-gap:8px}
.form-row:not(.trade-header-row){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));align-items:start;gap:14px}
.form-row label,form>label{min-width:0;gap:var(--field-gap);line-height:1.5}
.form-row input:not([type=hidden]),.form-row select,form>label>input,form>label>select,.customer-grades select{height:var(--field-height);min-width:0;width:100%;box-sizing:border-box;margin:0;padding:10px 12px;line-height:normal}
.trade-header-row .trade-partner-field label{line-height:1.5}
.trade-field-label{line-height:1.5}
.selected-trade-partner{height:var(--field-height);min-height:var(--field-height);padding:4px 10px}
.selected-trade-partner>div{flex:1;overflow:hidden}
.selected-trade-partner button{height:32px;min-height:32px;padding:4px 10px}
.pricing-actions{align-items:flex-end}
.pricing-actions label{min-width:140px;margin:0;line-height:1.5}
.pricing-actions input{height:var(--field-height);box-sizing:border-box}
.pricing-actions>.button,.pricing-actions>div .button{min-height:var(--field-height)}
.customer-grades label{display:flex;flex-direction:column;min-width:0}
.customer-grades strong{overflow-wrap:anywhere;line-height:1.5}
.customer-grades select{margin-top:auto}
.dialog-heading,.modal-heading,.pricing-heading,.pricing-section-title{align-items:flex-start}
.modal-heading>div,.pricing-heading>div{min-width:0}
.modal-heading .close{flex-shrink:0}
.scan-heading{align-items:flex-start;flex-wrap:wrap}
.scan-heading span{overflow-wrap:anywhere}
.scan-controls{align-items:stretch}
.scan-controls label{min-width:0}
.scan-controls input{height:54px;box-sizing:border-box}
.scan-controls .button{min-height:54px}
.scan-result>span:first-child{min-width:0;overflow-wrap:anywhere}
.scan-result small{overflow-wrap:anywhere;line-height:1.5}
.partner-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.table-wrap{min-width:0;overscroll-behavior-x:contain}
.stock-table{min-width:920px}
.entry-table th:first-child,.entry-table td:first-child{padding-left:12px}
.entry-table th:last-child,.entry-table td:last-child{padding-right:12px}
.entry-table .remove-line{width:100%;min-width:18px}
.ledger-heading{align-items:flex-start;gap:12px}
.ledger-heading>div{min-width:0}
.ledger-heading h2,.ledger-heading p,.detail-meta{overflow-wrap:anywhere}
.ledger-totals,.detail-amount{flex-wrap:wrap}
.ledger-totals>span,.detail-amount>span{white-space:nowrap}
.receipt-balance b{float:none;display:block;margin-top:6px;text-align:right}
.statement-controls{gap:12px;flex-wrap:wrap}
.statement-info>div{min-width:0;overflow-wrap:anywhere}
.statement-info{gap:20px}
#statement .table-wrap table{min-width:560px}
footer{flex-wrap:wrap;line-height:1.6}
dialog[open]{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
@media(max-width:850px){.other-view{padding:18px}.pricing-section-title{gap:8px}.ledger-query{flex-wrap:wrap;gap:10px}}
@media(max-width:600px){
 .form-row:not(.trade-header-row){grid-template-columns:minmax(0,1fr);gap:0}
 .trade-dialog .form-row label,.price-editor .form-row label,.price-preview .form-row label{min-width:0}
 .heading-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
 .heading-actions .button{padding:9px 4px!important;font-size:12px!important;min-height:42px}
 header{padding:10px 12px;gap:8px;flex-wrap:wrap;height:auto;min-height:57px}.header-right{min-width:0;gap:7px;flex-wrap:wrap;justify-content:flex-end}.header-right>span{white-space:nowrap}
 .breadcrumb{white-space:nowrap}.breadcrumb span{margin:0 5px}
 #cloud-status{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .other-view{padding:15px}.info-card{padding:18px}.pricing-actions{gap:10px}
 .pricing-actions label{flex-basis:100%;max-width:none}.pricing-actions>div{display:flex;gap:6px;flex-wrap:wrap}
 .price-tabs{display:grid;grid-template-columns:1fr;gap:4px}.price-tabs button{text-align:left;width:100%}
 .scan-controls{gap:6px}.scan-controls input{height:48px;font-size:15px!important;letter-spacing:0}.scan-controls .button{min-height:48px}
 .selected-trade-partner strong{font-size:14px}.selected-trade-partner>div{gap:6px}
 .modal-actions{flex-wrap:wrap}.modal-actions .button{min-height:42px}
 .summary-cell{min-width:0}.summary-cell strong{font-size:21px}.summary-cell p{overflow-wrap:anywhere}
 .ledger-query .search-box{max-width:100%;min-width:0}.ledger-query .search-box input{min-width:0;max-width:100%}
 .ledger-dates input{min-width:0;max-width:100%}
 #partner-list .partner-row{max-width:230px}#partner-list .partner-row>span:nth-child(2){min-width:0}
 .statement-controls>div{flex-wrap:wrap}.statement-controls .button{white-space:normal}
 .toast{left:50%;max-width:calc(100% - 24px);box-sizing:border-box;white-space:normal}
}

/* Phone workspace: bottom navigation, searchable customers and card entry rows. */
.mobile-partner-toggle{display:none}
@media(max-width:600px){
 body{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 .sidebar{inset:auto 0 0;width:100%;height:auto;padding:5px 2px calc(5px + env(safe-area-inset-bottom,0px));z-index:30;border-top:1px solid #365147}
 .sidebar .brand,.sidebar .workspace,.sidebar .nav-label,.sidebar .sidebar-bottom,.sidebar .nav-separator{display:none}
 #navigation{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;margin:0}
 #navigation button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:58px;padding:7px 1px;margin:0;border-radius:7px}
 #navigation button svg{width:20px;height:20px;flex-shrink:0}
 #navigation button span{display:block;max-width:100%;font-size:10px;letter-spacing:-.5px;white-space:nowrap;line-height:1.3}
 .app{margin-left:0}
 header{position:sticky;top:0;z-index:10;min-height:56px;flex-wrap:nowrap;background:white;padding:10px 14px}
 .breadcrumb{font-size:13px}.header-right{gap:6px}#header-date,.header-divider{display:none}#account-name{display:none}
 #cloud-status{font-size:11px;max-width:110px}.account-menu summary{padding:3px}.account-dropdown{max-width:calc(100vw - 28px)}
 main{padding:18px 14px 22px}.page-heading{gap:12px;margin-bottom:16px}.page-heading h1{font-size:24px;margin:0}.page-heading .eyebrow{display:none}
 .heading-actions{gap:7px}.heading-actions .button{font-size:13px!important;min-height:44px;border-radius:8px}
 .summary-strip{margin-bottom:16px;border-radius:10px}.summary-cell{padding:12px 14px}.summary-cell strong{margin-top:7px;font-size:23px}.summary-cell p{display:none}.summary-cell label{font-size:12px}
 .partner-pane{padding-bottom:0}.partner-heading{padding:14px}.partner-heading h2{font-size:14px;margin:0 0 10px}
 .mobile-partner-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;min-height:44px;text-align:left;white-space:normal;font-size:15px}
 .partner-pane .partner-search,.partner-pane #partner-list{display:none}
 .partner-pane.is-expanded .partner-search{display:flex;margin:0 14px 10px;padding:10px;border-radius:7px;min-height:44px}
 .partner-pane.is-expanded .partner-search input{font-size:16px}
 .partner-pane.is-expanded #partner-list{display:block;max-height:260px;overflow:auto;padding:0 8px 10px}
 #partner-list .partner-row{display:flex;align-items:center;width:calc(100% - 8px);max-width:none;margin:3px 4px;padding:12px 10px;min-height:48px}
 #partner-list .partner-row>span:nth-child(2){flex:1;min-width:0}
 #partner-list .partner-row strong{font-size:14px}#partner-list .partner-row small{display:block;font-size:11px}#partner-list .partner-money{display:block;font-size:12px;flex-shrink:0}
 .ledger-heading{padding:16px 14px 12px}.ledger-heading h2{font-size:17px}.ledger-heading p{font-size:12px;line-height:1.5}
 .ledger-filters{display:block;padding:0 14px}.ledger-filters .tabs{display:grid;grid-template-columns:repeat(4,1fr);margin-bottom:12px}.ledger-filters .tabs button{min-height:40px;padding:8px 4px}
 .ledger-dates{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px}.ledger-dates input{width:100%;height:42px;font-size:13px}
 .ledger-query{margin:12px 14px;gap:8px}.ledger-query .search-box{width:100%;min-height:44px;box-sizing:border-box}.ledger-query .search-box input{width:100%;font-size:16px}.ledger-query>span{font-size:11px}
 .ledger-table-scroll{max-height:60dvh;min-height:140px;padding:0 10px 10px}
 .ledger-table-scroll table{display:block;min-width:0;width:100%}.ledger-table-scroll thead{display:none}.ledger-table-scroll tbody{display:block}
 .ledger-table-scroll tbody tr{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px 8px;position:relative;border:1px solid var(--border);border-radius:9px;padding:12px;margin-bottom:8px}
 .ledger-table-scroll td{border:0;padding:0!important;min-width:0;white-space:normal;font-size:13px}
 .ledger-table-scroll td:nth-child(1){grid-column:span 4}.ledger-table-scroll td:nth-child(1) small{display:inline;margin-left:6px}
 .ledger-table-scroll td:nth-child(2){grid-column:span 2;text-align:right}
 .ledger-table-scroll td:nth-child(3),.ledger-table-scroll td:nth-child(4){grid-column:span 6;max-width:none}
 .ledger-table-scroll td:nth-child(n+5){grid-column:span 2;text-align:left;padding-top:8px!important;border-top:1px solid #edf1eb;overflow-wrap:anywhere}
 .ledger-table-scroll td:nth-child(n+5)::before{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}
 .ledger-table-scroll td:nth-child(5)::before{content:'매출'}.ledger-table-scroll td:nth-child(6)::before{content:'매입'}.ledger-table-scroll td:nth-child(7)::before{content:'입금'}
 .ledger-table-scroll .row-button{font-size:15px;font-weight:600}.ledger-table-scroll td.empty{grid-column:span 6;padding:24px 8px!important}
 .ledger-totals{justify-content:flex-start;gap:8px 16px;padding:12px 14px}.detail-panel{padding:16px 14px}.detail-meta{line-height:1.6}
 dialog[open]{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:calc(100dvh - 12px);border-radius:16px 16px 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom,0px))}
 dialog .modal-heading{position:sticky;top:-18px;z-index:5;background:white;padding:12px 0;margin-top:-8px}.modal-heading h2{font-size:21px}.modal-heading .close{width:44px;height:44px}
 dialog .modal-description{font-size:13px;line-height:1.6}.modal-heading .eyebrow{display:none}
 dialog input:not([type=hidden]),dialog select,.price-editor input,.price-editor select,.price-preview select,.price-preview input{font-size:16px}
 .trade-header-row{gap:12px}.trade-field-label{margin-bottom:6px}.selected-trade-partner{height:46px}.selected-trade-partner strong{font-size:15px}
 .barcode-section{padding:14px;margin:14px 0}.scan-heading{gap:5px}.scan-heading strong{font-size:15px}.scan-heading span{font-size:12px}
 .scan-controls{display:grid;grid-template-columns:minmax(0,1fr) auto}.scan-controls input{font-size:16px!important}.scan-controls .button{font-size:13px}
 .scan-results{max-height:240px}.scan-result{min-height:56px;padding:12px 10px;font-size:14px}
 .trade-dialog .table-wrap{overflow:visible}.entry-table{display:block;min-width:0;width:100%;margin:0 0 12px}.entry-table thead{display:none}.entry-table tbody{display:block}
 .entry-table tbody tr{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px;border:1px solid #dce6df;border-radius:10px;margin-bottom:12px;padding:14px;background:white}
 .entry-table td{display:block;width:auto!important;padding:0!important;border:0;min-width:0}
 .entry-table td:first-child{grid-column:span 2;padding-right:36px!important}
 .entry-table td:nth-child(2)::before,.entry-table td:nth-child(3)::before{display:block;font-size:12px;color:#68796f;margin-bottom:6px;line-height:1.5}
 .entry-table td:nth-child(2)::before{content:'수량'}.entry-table td:nth-child(3)::before{content:'단가 (원)'}
 .entry-table td input,.entry-table td select{height:44px;font-size:16px;padding:8px;max-width:100%}
 .entry-table td:nth-child(4){grid-column:span 2;display:flex;justify-content:space-between;align-items:center;line-height:1.5;padding-top:10px!important;border-top:1px solid #edf1eb;font-weight:600;font-size:16px}
 .entry-table td:nth-child(4)::before{content:'금액';font-size:13px;color:#68796f;font-weight:400}
 .entry-table td:nth-child(5){position:absolute;right:8px;top:14px;width:36px!important}.entry-table .remove-line{width:36px;height:44px;line-height:44px}
 .entry-table .line-barcode{font-size:11px}.entry-table [data-price-source]{font-size:11px}.price-restore{font-size:12px;min-height:32px}
 #add-line{width:100%;min-height:44px;margin-bottom:8px;border-style:dashed}.entry-total{font-size:13px}.entry-total b{font-size:24px}
 .modal-actions{position:sticky;bottom:-18px;z-index:4;background:white;padding:12px 0 calc(12px + env(safe-area-inset-bottom,0px));display:grid;grid-template-columns:1fr 2fr;gap:8px}
 .modal-actions .button{min-height:48px;font-size:15px}.partner-change-note{font-size:12px}
 .other-view{border-radius:10px}.customer-grades{gap:10px}.customer-grades label{padding:14px}.price-editor{padding:14px}.info-grid{gap:10px}
 #statement-dialog{padding:0}.statement-controls{position:sticky;top:0;background:white;z-index:5;padding:12px 16px}.toast{bottom:calc(84px + env(safe-area-inset-bottom,0px));font-size:13px}
}
@media(max-width:360px){#navigation button span{font-size:9px}.heading-actions .button{font-size:12px!important}.scan-controls{grid-template-columns:1fr}.scan-controls .button{min-height:44px}}

@media(max-width:600px){.header-right #cloud-status{display:inline-flex}.trade-dialog .modal-description{display:none}.trade-dialog .modal-heading{margin-bottom:8px}}

/* All phone content fits the viewport; only the bottom navigation scrolls sideways. */
@media screen and (max-width:600px){
 html,body{width:100%;max-width:100%;overflow-x:hidden;overflow-x:clip}
 .app,main,.ledger-shell,.ledger-main,.partner-pane,.other-view,.detail-panel{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
 .app{overflow-x:clip}header{width:100%;box-sizing:border-box}
 .sidebar{max-width:100%;overflow:hidden}
 #navigation{width:100%;overflow-x:auto;overscroll-behavior-x:contain;grid-template-columns:repeat(7,minmax(62px,1fr));scrollbar-width:none;touch-action:pan-x}
 #navigation::-webkit-scrollbar{display:none}#navigation button span{font-size:11px;letter-spacing:-.4px}
 .table-wrap,.ledger-table-scroll{max-width:100%;overflow-x:hidden;overflow-x:clip}
 .table-wrap table:not(.entry-table){display:block;table-layout:auto;width:100%;min-width:0!important;max-width:100%;border-collapse:separate}
 .table-wrap table:not(.entry-table) thead{display:none}
 .table-wrap table:not(.entry-table) tbody{display:block;width:100%}
 .table-wrap table:not(.entry-table) tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;padding:14px;border:1px solid var(--border);border-radius:9px;margin:0 0 12px;background:white}
 .table-wrap table:not(.entry-table) tbody td{display:block;min-width:0!important;max-width:100%;width:auto!important;margin:0;padding:0!important;border:0;text-align:left;white-space:normal;overflow-wrap:anywhere;line-height:1.5}
 .table-wrap table:not(.entry-table) tbody td::before{content:attr(data-label);display:block;font-size:11px;color:#78877f;margin-bottom:4px;font-weight:400}
 .table-wrap table:not(.entry-table) tbody td:first-child,.table-wrap table:not(.entry-table) tbody td[colspan]{grid-column:1/-1}
 .table-wrap table:not(.entry-table) tbody td[colspan]::before{display:none}
 .table-wrap table:not(.entry-table) small{white-space:normal;overflow-wrap:anywhere}
 .table-wrap table:not(.entry-table) input,.table-wrap table:not(.entry-table) select{width:100%;min-width:0;max-width:100%;height:44px;font-size:16px;box-sizing:border-box}
 .table-wrap table:not(.entry-table) .button{max-width:100%;white-space:normal;margin:2px 0;min-height:40px}
 .price-matrix td:first-child{min-width:0}.stock-table{min-width:0}
 .price-preview,.price-editor,.customer-grades,.customer-grades label,.pricing-actions,.pricing-heading,.pricing-section-title{min-width:0;max-width:100%;box-sizing:border-box}
 .pricing-actions span,.pricing-heading>div,.pricing-section-title span,.info-card,.detail-heading h3{min-width:0;overflow-wrap:anywhere}
 .form-row label,.trade-partner-field,.trade-partner-combo,.scan-controls,.scan-controls label,.scan-results,.scan-result{min-width:0;max-width:100%;box-sizing:border-box}
 input,select{max-width:100%;box-sizing:border-box}
 .partner-row strong,.selected-trade-partner strong{white-space:normal;overflow-wrap:anywhere;text-overflow:clip}
 .selected-trade-partner{height:auto;min-height:44px}.selected-trade-partner>div{flex-wrap:wrap;gap:4px 8px}
 .entry-table tbody tr,.entry-table td{min-width:0;max-width:100%;box-sizing:border-box}
 .scan-heading span,.statement-sub,.statement-total,.statement-note{overflow-wrap:anywhere;white-space:normal}
 dialog[open]{width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden;overflow-x:clip}
 .statement-controls{width:100%;box-sizing:border-box}.statement-info{flex-direction:column}
}

/* Keep the phone workspace within its parent's content box, including Safari date controls. */
@media screen and (max-width:600px){
 .app{width:100%;max-width:100%;min-width:0;margin:0;box-sizing:border-box}
 main{display:block;width:auto!important;max-width:none;margin:0;padding:18px max(14px,env(safe-area-inset-right,0px)) 22px max(14px,env(safe-area-inset-left,0px));box-sizing:border-box}
 .page-heading,.summary-strip,.ledger-shell,.other-view{width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin-left:0;margin-right:0}
 .page-heading>div,.heading-actions,.heading-actions .button{min-width:0;max-width:100%;box-sizing:border-box}
 .heading-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.heading-actions .button{width:100%;white-space:normal}
 .summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-cell{min-width:0;max-width:100%;box-sizing:border-box}
 .ledger-shell{display:block}.partner-pane,.ledger-main,.detail-panel{width:auto;min-width:0;max-width:100%;box-sizing:border-box}
 .ledger-filters,.ledger-query,.ledger-dates,.ledger-heading{min-width:0;box-sizing:border-box}
 .ledger-dates{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;max-width:100%}
 .ledger-dates>span{display:none}
 input[type=date]{display:block;min-width:0;min-inline-size:0;width:100%;max-width:100%;max-inline-size:100%;box-sizing:border-box;-webkit-appearance:none;appearance:none;font-size:16px;text-align:left}
 input[type=date]::-webkit-date-and-time-value{min-height:1.2em;text-align:left}
 .ledger-dates input{height:44px;margin:0;padding:10px 12px}
 .ledger-query .search-box{display:flex;flex:1;align-items:center;gap:8px;width:100%;min-width:0;box-sizing:border-box}
 .ledger-query .search-box input{flex:1;width:0;min-width:0;max-width:100%;box-sizing:border-box}
 .partner-heading,.partner-search,.mobile-partner-toggle{min-width:0;max-width:100%;box-sizing:border-box}
}

.ledger-dates label{display:flex;flex-direction:column;gap:5px;min-width:0;margin:0;font-size:11px;line-height:1.5}.ledger-dates>span{align-self:flex-end;padding-bottom:8px}@media screen and (max-width:600px){.ledger-dates label{width:100%}}

/* Prevent small form text from triggering iOS input-focus zoom; pinch zoom stays enabled. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
@media screen and (max-width:850px),screen and (pointer:coarse){
 input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important}
}

/* Home workspace: account, quick access and a future intranet board. */
.member-management{margin-top:28px;padding-top:26px;border-top:1px solid #dce5df;min-width:0}.member-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.member-heading h2{font-size:20px;margin:0 0 8px}.member-heading p{font-size:13px;line-height:1.8;color:#63766a;margin:0}.member-search{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:22px 0 12px}.member-search label{flex:1;min-width:180px;display:grid;gap:8px;font-size:14px;margin:0}.member-search input{min-width:0;width:100%;font-size:16px}.member-search .button{min-height:44px}.member-management #member-count{font-size:13px;color:#63766a;line-height:1.7}.member-row-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.member-row-actions .button{min-height:40px}.member-hint,.member-protected{font-size:12px;color:#63766a;line-height:1.7}.member-danger{color:#9d3838!important}.member-pager{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.member-table td{overflow-wrap:anywhere}.member-table td small{display:block;margin-top:5px;line-height:1.7}.member-dialog{width:540px;max-width:calc(100% - 28px);max-height:calc(100dvh - 36px);overflow-y:auto}.member-dialog .modal-heading h2{font-size:21px}.member-dialog input{font-size:16px;min-height:48px;width:100%;box-sizing:border-box}.member-dialog label{display:grid;gap:9px;font-size:14px}.member-target{padding:14px;background:#f3f7f2;border-radius:8px;overflow-wrap:anywhere;line-height:1.8;font-size:15px}.member-dialog .modal-description{line-height:1.9}.member-dialog .form-error{line-height:1.8}.member-management .table-wrap{max-width:100%}
@media(max-width:600px){.member-heading>.button{width:100%}.member-search label{flex-basis:100%}.member-search>.button{flex:1}.member-dialog{padding:20px}.member-dialog .modal-actions{flex-wrap:wrap}.member-dialog .modal-actions .button{flex:1;min-width:100px;white-space:normal}}
.home-view{min-width:0;max-width:100%}.home-view[hidden]{display:none}.home-view:focus{outline:none}
.home-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.home-section-heading h2,.home-menu-section>h2{font-size:18px;margin:0}.home-section-heading>span{font-size:13px;color:#63766a}.home-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.home-metric{min-width:0;padding:22px;background:white;border:1px solid #dce5df;border-radius:12px}.home-metric>span{font-size:14px;color:#63766a}.home-metric>strong{display:block;font-size:26px;line-height:1.5;margin:10px 0;overflow-wrap:anywhere;color:#244e3d}.home-metric strong small{font-size:14px;margin-left:5px;font-weight:400}.home-metric p{font-size:13px;color:#63766a;margin:0}.home-dashboard{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.8fr);gap:22px;margin-bottom:24px}.home-dashboard>*{min-width:0}.home-check{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 0;border-bottom:1px solid #edf1ed;font-size:14px}.home-check small{display:block;font-size:12px;color:#63766a;line-height:1.6;margin-top:5px}.home-check strong{flex-shrink:0;font-size:17px}.home-check-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.home-text-button{border:0;background:none;color:#1b7659;font:inherit;font-size:13px;cursor:pointer;min-height:44px;padding:6px}.home-card-note{font-size:12px;color:#63766a;line-height:1.7;margin:10px 0}.home-recent-row{display:grid;grid-template-columns:82px minmax(0,1fr) 48px minmax(70px,auto) 12px;align-items:center;gap:12px;width:100%;min-width:0;padding:16px 0;text-align:left;border:0;border-bottom:1px solid #edf1ed;background:transparent;color:#2b4034;font:inherit;font-size:14px;cursor:pointer}.home-recent-row:hover{background:#f5f8f4}.home-recent-date{font-size:12px;color:#63766a}.home-recent-party{min-width:0}.home-recent-party strong,.home-recent-party small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-recent-party small{font-size:12px;color:#63766a;margin-top:6px}.home-recent-kind{display:grid;gap:6px}.home-recent-kind>small{font-size:11px;color:#63766a}.home-recent-amount{text-align:right;overflow-wrap:anywhere}.home-recent-arrow{color:#63766a}.home-empty{font-size:14px;color:#63766a;text-align:center;padding:30px 0}.home-menu-section>h2{margin-bottom:16px}.home-recent-row:focus-visible,.home-text-button:focus-visible{outline:3px solid #258268;outline-offset:3px}
@media(max-width:1100px){.home-dashboard{grid-template-columns:minmax(0,1fr)}.home-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.home-metrics{gap:10px;margin-bottom:16px}.home-metric{padding:16px}.home-metric>strong{font-size:23px}.home-dashboard{gap:16px}.home-recent-row{grid-template-columns:minmax(0,1fr) 44px minmax(65px,auto);gap:8px;padding:14px 0}.home-recent-date{grid-column:1/-1}.home-recent-arrow{display:none}.home-recent-amount{font-size:13px}.home-section-heading>span{font-size:12px}}
.home-welcome{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:32px;border:1px solid #d9e5dd;border-radius:14px;background:linear-gradient(115deg,#eaf3eb,#fafcf8);margin-bottom:22px}
.home-kicker{font-size:12px;letter-spacing:1.5px;color:#547762;font-weight:600}.home-welcome h2{font-size:20px;line-height:1.5;margin:10px 0 8px;letter-spacing:-.4px}.home-welcome p{color:#6e7f74;font-size:14px;margin:0}
.home-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}.home-shortcuts button{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:22px;background:white;border:1px solid #dce5df;border-radius:12px;cursor:pointer;text-align:left;min-width:0;color:#283c31;font-family:inherit}.home-shortcuts button:hover{border-color:#358265;background:#f7faf7}.home-shortcuts button:focus-visible{outline:3px solid #258268;outline-offset:3px}.home-shortcuts strong{font-size:17px}.home-shortcuts small{font-size:13px;color:#7b897f;line-height:1.5}.home-shortcut-icon{font-size:24px;color:#258268;margin-bottom:6px}.home-arrow{position:absolute;right:18px;top:20px;color:#7b897f}
.home-columns{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}.home-card{border:1px solid #dce5df;border-radius:12px;padding:24px;background:white;min-width:0}.home-card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.home-card-heading h2{font-size:18px;margin:0}.home-board-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;text-align:center;gap:14px}.home-board-empty>span{font-size:32px;color:#91a899}.home-board-empty strong{font-size:16px}.home-board-empty p{font-size:14px;line-height:1.8;color:#7b897f;margin:0}
@media(max-width:1050px){.home-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.home-welcome{align-items:flex-start}.home-columns{grid-template-columns:minmax(0,1fr)}}
@media screen and (max-width:600px){#navigation{grid-template-columns:repeat(8,minmax(62px,1fr))}.home-welcome{padding:22px;flex-direction:column;gap:22px;margin-bottom:16px}.home-welcome h2{font-size:18px}.home-shortcuts{gap:10px;margin-bottom:16px}.home-shortcuts button{padding:16px;gap:7px}.home-shortcuts strong{font-size:16px}.home-shortcuts small{font-size:12px}.home-columns{grid-template-columns:minmax(0,1fr);gap:16px}.home-card{padding:20px}.home-board-empty{min-height:180px}}
.inbound-dialog .trade-partner-field,.inbound-dialog #trade-tax,.inbound-dialog .entry-table th:nth-child(3),.inbound-dialog .entry-table th:nth-child(4),.inbound-dialog .entry-table td:nth-child(3),.inbound-dialog .entry-table td:nth-child(4){display:none!important}
.inbound-dialog .entry-table th:first-child,.inbound-dialog .entry-table td:first-child{width:72%!important}.inbound-dialog .entry-table th:nth-child(2),.inbound-dialog .entry-table td:nth-child(2){width:22%!important}
.inbound-dialog .entry-table colgroup{display:none}.inbound-dialog .trade-header-row{grid-template-columns:minmax(0,1fr)}
@media screen and (max-width:600px){.inbound-dialog .entry-table td:first-child,.inbound-dialog .entry-table td:nth-child(2){width:auto!important}.inbound-dialog .entry-table td:nth-child(2){grid-column:1/-1}}
.inbound-dialog #trade-tax-label{display:none!important}.inbound-dialog .entry-table td:last-child{width:6%!important}
@media screen and (max-width:600px){.inbound-dialog .entry-table td:last-child{width:36px!important}}
.ledger-pager{display:flex;align-items:center;gap:6px;flex-shrink:0}.ledger-pager[hidden]{display:none}.legacy-marker{font-size:11px!important;padding:2px 5px!important;margin-right:6px;vertical-align:middle}.ledger-query{flex-wrap:wrap}.ledger-query #result-count{white-space:nowrap}
@media screen and (max-width:600px){.ledger-query #result-count{width:auto;flex:1}.ledger-query .ledger-pager{width:auto}.ledger-query .ledger-pager .button{min-height:40px}.ledger-table-scroll td small .legacy-marker{display:inline-block}.ledger-heading #export{white-space:normal;line-height:1.5;max-width:125px}}
/* Read-only transaction details share the entry dialog's layout. */
.detail-dialog{width:1000px;max-width:calc(100% - 30px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain}.detail-dialog .modal-heading{position:sticky;top:-28px;background:white;z-index:3;padding:12px 0;margin-bottom:16px}.detail-dialog #detail-panel{padding:0;border:0;min-width:0}.detail-dialog .detail-meta{font-size:14px;overflow-wrap:anywhere;line-height:1.7}.detail-dialog .detail-heading{align-items:flex-start;flex-wrap:wrap}.detail-dialog .detail-heading h3 span{display:block;margin:7px 0}.detail-dialog .table-wrap{max-width:100%;overflow-x:auto}.detail-dialog td,.detail-dialog th{font-size:14px}.detail-dialog h3{line-height:1.7;overflow-wrap:anywhere}.detail-dialog .detail-amount{flex-wrap:wrap;line-height:1.8}.detail-dialog .modal-actions{background:white}
@media screen and (max-width:600px){.detail-dialog{padding:18px;max-height:calc(100dvh - 12px)}.detail-dialog .modal-heading{top:-18px;padding:12px 0}.detail-dialog .modal-heading h2{font-size:21px}.detail-dialog .detail-heading .button{width:100%;min-height:44px}.detail-dialog .modal-actions{grid-template-columns:minmax(0,1fr)}.detail-dialog .table-wrap{overflow-x:clip}.detail-dialog .detail-amount{display:grid;gap:5px;text-align:right;justify-content:end}.detail-dialog .detail-amount strong{font-size:22px}}
/* Authentication is the first screen; the workspace stays hidden until DB loading succeeds. */
body.auth-locked{overflow:hidden;padding-bottom:0}#workspace[hidden],.auth-screen[hidden]{display:none!important}.auth-screen{position:fixed;inset:0;z-index:200;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:#f7f9f6;overflow-y:auto;overscroll-behavior:contain;min-width:0}.auth-brand-panel{background:#183b31;color:#eaf3e9;min-height:100dvh;padding:56px 64px;display:flex;flex-direction:column;justify-content:space-between;gap:50px}.auth-logo{display:flex;align-items:center;gap:13px;color:#9bddb9;font-size:35px;text-decoration:none}.auth-logo strong{color:white;font-size:30px;letter-spacing:-1px}.auth-kicker{font-size:12px;letter-spacing:2px;color:#95bba7}.auth-brand-panel h1{font-size:45px;letter-spacing:-1.5px;line-height:1.5;font-weight:500;margin:24px 0}.auth-brand-panel p{font-size:17px;color:#a8c3b4;line-height:1.9}.auth-brand-panel>small{font-size:11px;letter-spacing:2px;color:#739a85}.auth-card-area{min-height:100dvh;padding:48px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px;min-width:0}.auth-card{width:100%;max-width:470px;min-width:0;background:white;border:1px solid #dfe8df;border-radius:18px;padding:38px;box-shadow:0 14px 50px #183b3108}.auth-card h2{font-size:28px;margin:0 0 12px;color:#263e31;letter-spacing:-.7px}.auth-intro{font-size:14px;line-height:1.7;color:#829084;margin:0 0 28px}.auth-card form>label,.auth-card #auth-register-fields>label{display:flex;flex-direction:column;gap:9px;font-size:14px;color:#506a58;margin:0 0 20px}.auth-card input:not([type=checkbox]){width:100%;min-width:0;box-sizing:border-box;height:50px;border:1px solid #d7e1d8;border-radius:7px;padding:12px;font-size:16px;background:#fdfefd}.auth-card input:focus-visible{outline:3px solid #c8e5d4;outline-offset:1px}.auth-options{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:4px}.auth-options label{display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer;color:#5b7162}.auth-options input{width:18px;height:18px;margin:0;accent-color:#178363}.auth-option-note{font-size:12px;line-height:1.7;color:#8b978d;margin:12px 0 18px}.auth-submit{width:100%;min-height:50px;font-size:17px!important;margin-top:10px}.auth-switch{display:block;margin:23px auto 0;border:0;background:none;color:#547d60;font-size:14px;text-decoration:underline;text-underline-offset:4px;cursor:pointer;line-height:1.7}.auth-access-note{margin:22px 0 0;padding-top:18px;border-top:1px solid #edf1eb;font-size:12px;line-height:1.8;color:#95a093}.auth-notice{font-size:13px;line-height:1.8;color:#327557}.auth-card .form-error{font-size:13px;line-height:1.8}.auth-footer{font-size:12px;color:#a1aca1}.auth-mobile-logo{display:none}.auth-progress{text-align:center;padding:45px 0;min-height:290px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px}.auth-progress h2{font-size:25px;margin:0}.auth-progress p{font-size:14px;line-height:1.8;color:#7c8c7e;margin:0;overflow-wrap:anywhere}.auth-progress .button{width:100%;min-height:44px}.auth-spinner{display:block;width:54px;height:54px;border:4px solid #e7eee7;border-top-color:#178363;border-radius:50%;animation:auth-spin .85s linear infinite}.auth-success{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#e6f5e9;color:#178363;font-size:32px}.auth-screen.is-leaving{transform:translateX(-100%);transition:transform .45s ease;pointer-events:none}.workspace-enter{animation:workspace-in .45s ease}.auth-card button:disabled{opacity:.55;cursor:wait}@keyframes auth-spin{to{transform:rotate(360deg)}}@keyframes workspace-in{from{transform:translateX(100%);opacity:.4}to{transform:translateX(0);opacity:1}}
@media(max-width:1000px){.auth-brand-panel{padding:40px}.auth-brand-panel h1{font-size:36px}.auth-card{padding:30px}}
@media(max-width:850px){.auth-screen{grid-template-columns:minmax(0,1fr)}.auth-brand-panel{display:none}.auth-card-area{padding:28px 18px}.auth-card{max-width:440px;padding:28px 24px}.auth-mobile-logo{display:block;font-size:23px;font-weight:600;color:#178363;margin-bottom:32px}.auth-card h2{font-size:25px}.auth-progress{padding:28px 0}}
@media(prefers-reduced-motion:reduce){.auth-screen.is-leaving{transition:none}.workspace-enter{animation:none}.auth-spinner{animation-duration:2s}}

.stock-status-tabs{display:flex;flex-wrap:wrap;gap:4px;margin:16px 0;max-width:100%}.stock-status-tabs button{flex:1 1 100px;white-space:normal;min-width:0;padding:10px 8px}

.product-history{padding:16px;min-width:0}.product-history-heading strong,.product-history-heading small{display:block}.product-history-heading small{color:var(--muted);margin:6px 0 12px;overflow-wrap:anywhere}.product-history-box{border:1px solid var(--border);border-radius:8px;margin:14px 0;background:#fafcfb}.product-history-box summary{cursor:pointer;padding:12px 16px;font-weight:600}.product-history .tabs{margin-bottom:12px}.product-history .table-wrap{max-height:300px;overflow:auto}.product-history .row-button{font:inherit}

.product-history{padding:8px 0}.product-history-heading small{margin:4px 0 8px}.product-history-box summary{padding:9px 12px}.product-history-box .product-history{padding:0 12px 10px}.product-history .tabs{margin-bottom:8px}.history-compact{max-height:224px;overflow-y:auto;min-width:0}.history-grid{display:grid;grid-template-columns:96px minmax(0,1fr) 80px;gap:8px;align-items:center;padding:6px 10px;min-height:32px;border-bottom:1px solid var(--border);font-size:14px;line-height:1.35}.history-columns{position:sticky;top:0;background:#f3f6f4;color:var(--muted);font-size:13px}.history-customer{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-grid .number{text-align:right;white-space:nowrap}#product-history-dialog{width:660px}#product-history-dialog .modal-heading{margin-bottom:8px}
@media(max-width:600px){.history-grid{grid-template-columns:84px minmax(0,1fr) 62px;gap:6px;padding:6px 4px;font-size:13px}.history-compact{max-height:224px}.product-history-heading small{font-size:12px}}

/* Let the standalone history popup use the viewport; keep trade-entry history compact. */
#product-history-dialog{width:80vw;height:80dvh;max-width:calc(100vw - 24px);max-height:80dvh;overflow:hidden}
#product-history-dialog[open]{display:flex;flex-direction:column}
#product-history-dialog .modal-heading{position:static;flex:0 0 auto;top:auto;margin-bottom:8px}
#product-history-content{display:flex;flex-direction:column;flex:1;min-height:0;padding-bottom:0}
#product-history-content .product-history-heading{flex:0 0 auto}
#product-history-content .history-compact{flex:1;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain}
#product-history-content .history-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)}
#product-history-content .history-grid>span{text-align:center}
@media(max-width:600px){#product-history-dialog{width:calc(100vw - 24px);padding:18px}#product-history-content .history-grid{grid-template-columns:minmax(80px,1fr) minmax(0,2fr) minmax(56px,1fr)}}

@media(max-width:600px){
 #product-history-dialog[open]{inset:auto 0 0;margin:0;width:100vw;max-width:100vw;height:80dvh;max-height:80dvh;padding:18px max(16px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));box-sizing:border-box}
}

@media(max-width:600px){html:has(#product-history-dialog[open]),body:has(#product-history-dialog[open]){overflow:hidden}}

.history-clickable{cursor:pointer}.history-clickable:hover{background:#eef6f1}.history-transaction-link{border:0;background:transparent;color:var(--green);padding:0;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.history-detail-heading{flex:0 0 auto;margin-bottom:12px}.history-detail-heading h3{margin:12px 0 6px;font-size:18px;overflow-wrap:anywhere}.history-detail-heading small,.history-detail-grid small{display:block;color:var(--muted);margin-top:4px;font-size:12px;overflow-wrap:anywhere}.history-detail-heading p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.history-detail-lines{flex:1;min-height:0;overflow-y:auto;max-height:360px;overscroll-behavior:contain}.history-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:10px;align-items:center;padding:9px 10px;border-bottom:1px solid var(--border);font-size:14px}.history-detail-grid strong{font-weight:500;overflow-wrap:anywhere}.history-detail-grid .number{text-align:right;white-space:nowrap}.history-matching-product{background:#edf6f0}#product-history-content .history-detail-lines{max-height:none}.product-history-box .history-detail-lines{max-height:300px}

/* Ledger scroll ownership: a bounded desktop workspace, one page flow on phones. */
.ledger-conditions-toggle{display:none}.ledger-footer{display:flex;align-items:center;border-top:1px solid var(--border);background:#fbfcfa;min-width:0}.ledger-footer .ledger-totals{flex:1;min-width:0;border-top:0}.ledger-footer .ledger-pager{margin:10px 16px 10px 0}.ledger-table-scroll:focus-visible{outline:2px solid #6cb99c;outline-offset:-2px}
@media(min-width:601px){
 body.ledger-workspace{overflow:hidden}
 .ledger-workspace .app{height:100dvh;display:flex;flex-direction:column;overflow:hidden}
 .ledger-workspace .app>header{flex:0 0 auto}
 .ledger-workspace main{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:1800px;margin:0 auto;padding-bottom:16px;overflow:hidden}
 .ledger-workspace .page-heading,.ledger-workspace .summary-strip{flex:0 0 auto}
 .ledger-workspace .ledger-shell{flex:1;min-height:0;overflow:hidden}
 .ledger-workspace .ledger-main{display:flex;flex-direction:column;min-height:0;overflow:hidden}
 .ledger-workspace .ledger-heading,.ledger-workspace .ledger-conditions,.ledger-workspace .ledger-footer{flex:0 0 auto}
 .ledger-workspace .ledger-table-scroll{flex:1;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#7d9e8c #f0f4f1;scrollbar-width:auto}
 .ledger-workspace .partner-pane{display:flex;flex-direction:column;min-height:0;padding-bottom:0;overflow:hidden}
 .ledger-workspace .partner-heading,.ledger-workspace .partner-search{flex:0 0 auto}
 .ledger-workspace #partner-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-color:#8ca696 #f0f4f1}
 .ledger-workspace .partner-foot{position:static;flex:0 0 auto;margin:0;padding:12px 17px;border-top:1px solid var(--border);background:#fbfcfb}
}
@media(min-width:601px) and (max-height:700px){
 .ledger-workspace main{padding-top:12px;padding-bottom:10px}.ledger-workspace .page-heading{margin-bottom:10px}.ledger-workspace .summary-strip{padding:10px 0;margin-bottom:12px}.ledger-workspace .summary-cell p{display:none}.ledger-workspace .summary-cell strong{margin-top:4px}.ledger-workspace .ledger-heading{padding-top:12px;padding-bottom:10px}.ledger-workspace .ledger-query{margin-top:10px;margin-bottom:10px}
}
@media(max-width:600px){
 .ledger-conditions-toggle{display:block;margin:0 14px 12px;width:calc(100% - 28px);min-height:40px;text-align:left}
 .ledger-conditions.is-collapsed{display:none}
 .ledger-table-scroll{max-height:none;min-height:0;overflow:visible;overscroll-behavior:auto;padding-bottom:0}
 .ledger-footer{flex-wrap:wrap}.ledger-footer .ledger-totals{flex-basis:100%}.ledger-footer .ledger-pager{width:100%;margin:0;padding:8px 14px 14px;justify-content:flex-end}
}

@media(min-width:601px) and (max-height:900px){
 .ledger-workspace main{padding-top:12px;padding-bottom:10px}.ledger-workspace .page-heading{margin-bottom:10px}.ledger-workspace .page-heading .eyebrow{display:none}.ledger-workspace .page-heading h1{margin:0;font-size:24px}
 .ledger-workspace .summary-strip{padding:10px 0;margin-bottom:12px}.ledger-workspace .summary-cell strong{margin-top:4px;font-size:23px}.ledger-workspace .summary-cell p{display:none}.ledger-workspace .summary-cell.receivable p{display:block;margin-top:4px;font-size:11px;line-height:1.35}
 .ledger-workspace .ledger-heading{padding:12px 16px 10px}.ledger-workspace .ledger-query{margin-top:10px;margin-bottom:10px}
 .ledger-workspace .ledger-totals{gap:12px;padding:10px 12px;font-size:12px}.ledger-workspace .ledger-totals>span{display:flex;flex-direction:column;gap:4px}.ledger-workspace .ledger-totals strong{margin-left:0}.ledger-workspace .ledger-footer .ledger-pager{margin-right:12px}
}
@media(min-width:601px) and (max-width:1100px){
 .ledger-workspace .ledger-shell{grid-template-columns:180px minmax(0,1fr)}.ledger-workspace .partner-heading{padding:12px 10px}.ledger-workspace .partner-heading small{font-size:11px}.ledger-workspace .partner-search{margin:0 8px 10px}.ledger-workspace .partner-foot{padding:10px;font-size:11px}
}

/* Focus rings belong to keyboard navigation, across the entire application. */
html:not([data-input-mode="keyboard"]) :focus,
html:not([data-input-mode="keyboard"]) :focus-visible{outline:none!important}
:is(button,a,input,select,textarea,summary,[tabindex]){-webkit-tap-highlight-color:transparent}

/* Minimal login branding. */
@media(min-width:851px){.auth-brand-panel{display:grid;grid-template-rows:auto 1fr}}.auth-brand-title{display:grid;place-items:center}.auth-brand-title h1{color:#fff;margin:0;font-size:clamp(28px,3vw,45px);letter-spacing:-1px;text-align:left;word-break:keep-all}.auth-card #auth-title{margin-bottom:28px}

/* Keep a text caret only in editable fields, including caret browsing mode. */
body{caret-color:transparent}
input,textarea,[contenteditable="true"],[contenteditable=""]{caret-color:auto}
/* Give the desktop ledger the available width and more room for partner names. */
@media(min-width:1101px){
 .ledger-workspace main{max-width:none;padding-left:16px;padding-right:16px}
 .ledger-workspace .ledger-shell{grid-template-columns:clamp(280px,22vw,340px) minmax(0,1fr)}
}
