*{box-sizing:border-box}body{margin:0;background:#f7f5ef;color:#283d34;font:15px/1.55 "Nirmala UI","Segoe UI",Mangal,Arial,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}header{display:flex;gap:24px;align-items:center;padding:16px 28px;background:#fffdf7;border-bottom:1px solid #d6ded3}.brand{font:bold 23px "Segoe UI",sans-serif;letter-spacing:1px;color:#344b40;text-decoration:none}.brand span{color:#809176;font-weight:400}.identity{margin-left:auto;display:flex;gap:16px;align-items:center}.context{display:flex;justify-content:space-between;gap:16px;padding:10px 28px;background:#edf0e7;color:#56644f;font-size:13px}.panel{background:#fffefa;border:1px solid #d7ded3;border-radius:18px;box-shadow:0 12px 36px #303e3312;padding:32px}.eyebrow,.nav-heading{font:700 11px "Segoe UI",sans-serif;letter-spacing:1.8px;color:#79856a}h1{font-size:29px;line-height:1.5;margin:8px 0 12px}h2{font-size:19px}p{max-width:900px}label{display:block;font-weight:600;font-size:14px;margin-bottom:7px}input,textarea{width:100%;border:1px solid #cbd6c7;border-radius:8px;background:#fffefa;padding:10px 12px;color:#283d34}input[readonly]{background:#eeefe8}input:focus,textarea:focus{outline:3px solid #9cb79555;border-color:#65836b}textarea{min-height:140px;resize:vertical}.app-layout{display:grid;grid-template-columns:290px minmax(0,1fr);min-height:calc(100vh - 130px)}nav{background:#f0f1e9;border-right:1px solid #d7ded3;padding:24px 16px}nav details{margin:10px 0}nav summary{cursor:pointer;font-weight:600;font-size:14px}nav ul{list-style:none;margin:8px 0;padding-left:12px}nav li{margin:5px 0}.tree-leaf{background:#dde8d5;border:1px solid #becdb4;border-radius:6px;padding:8px 10px;text-align:left;color:#283d34;width:100%}.pending-option{display:flex;gap:8px;align-items:center;font-size:13px;color:#74806d;padding:5px 0}.pending-option small{margin-left:auto;font-size:10px;background:#e3e6da;border-radius:4px;padding:2px 4px}.nav-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.workspace{padding:28px;min-width:0}.welcome{padding:40px}.welcome h1{font-size:38px}.stats{display:flex;gap:40px;margin:32px 0;padding:26px;background:#f1f3e9;border-radius:12px}.stats strong{display:block;font-size:33px;color:#3d5f48}.stats span,.muted{font-size:13px;color:#737e6c}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.search-bar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:24px 0}.search-bar label{margin:0}.search-bar input{width:260px}.city-grid,.lookup-grid{overflow:auto;max-height:370px;border:1px solid #d7ded3;border-radius:10px}table{width:100%;border-collapse:collapse;background:#fffefa}th,td{text-align:left;padding:12px;border-bottom:1px solid #e1e6dc}th{background:#e9eee3;position:sticky;top:0;font-size:13px}tbody tr:hover{background:#f2f5ec}tr.selected{background:#dce9d4!important;color:#283d34}td.empty{padding:36px;text-align:center;color:#7a856e}.paging,.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:16px 0}.entry-fields{display:grid;grid-template-columns:1fr 1fr 160px;gap:20px;padding:24px 0}.lookup-field{display:flex;gap:8px}.lookup-field input{min-width:0}.actions{border-top:1px solid #d7ded3;padding-top:22px}.modal-shade{position:fixed;inset:0;z-index:100;background:#21352a66;display:grid;place-items:center;padding:20px}.lookup{width:min(700px,100%);background:#fffefa;border:1px solid #cbd6c7;border-radius:16px;padding:24px;box-shadow:0 24px 60px #17271f44}.lookup-grid{margin-top:16px}.unicode-sample{padding:24px;background:#edf2e7;border-radius:10px;font-size:26px;overflow-wrap:anywhere;margin-top:20px}.loading{padding:32px}:focus-visible{outline:3px solid #94732c;outline-offset:4px}@media(max-width:900px){.app-layout{grid-template-columns:220px minmax(0,1fr)}.workspace{padding:16px}.entry-fields{grid-template-columns:1fr}.stats{gap:20px;flex-wrap:wrap}.context{flex-wrap:wrap}}@media(max-width:650px){header{flex-wrap:wrap;padding:14px}.app-layout{display:block}nav{border-bottom:1px solid #d7ded3}.workspace{padding:12px}.panel{padding:20px}.identity{margin-left:0}.stats{padding:16px}.lookup-field{flex-wrap:wrap}.welcome h1{font-size:29px}}

.master-list,.bulk-grid,.stock-grid{overflow:auto;max-height:42vh;margin:16px 0}.master-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.master-tabs [aria-selected=true]{outline:3px solid #719a7c;outline-offset:2px}.master-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:20px 0}.master-field{min-width:0}.master-field label{display:block;font-weight:600;margin-bottom:5px}.master-field input,.master-field select,.master-field textarea{width:100%;box-sizing:border-box}.master-field small{display:block;margin-top:5px;color:#526758}.master-field-wide{grid-column:1/-1}.master-field textarea{min-height:140px}.lookup-field{display:flex;align-items:center;gap:7px}.lookup-field input{min-width:0;flex:1}.lookup-field button{flex-shrink:0}.paging{display:flex;align-items:center;gap:10px;margin:14px 0;flex-wrap:wrap}.bulk-grid input{min-width:160px}.stock-grid input{width:125px}.master-list .selected{background:#dcebd8}.master-list tr{cursor:pointer}.master-workbench td{vertical-align:top}.master-workbench th{white-space:nowrap}

.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}

.pavti-search{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:20px 0}.pavti-search input,.pavti-search select{min-height:44px;width:auto;max-width:100%}.pavti-search select{border:1px solid #cbd6c7;border-radius:8px;padding:10px;background:#fffefa;color:#283d34}.pavti-search>div{min-width:140px;flex:1}.pavti-search input{width:100%}.pavti-document{display:flex;align-items:center;justify-content:space-between;background:#edf2e7;padding:14px 18px;border-radius:10px;gap:16px;flex-wrap:wrap}.pavti-total{font-size:24px;font-weight:700}.pavti-list{max-height:230px}.money{text-align:right;white-space:nowrap}.pavti-workbench{padding:24px}.pavti-workbench .master-fields{gap:14px}.pavti-workbench input,.pavti-workbench select{padding:8px 10px}.pavti-workbench h1{font-size:25px}@media(max-width:650px){.pavti-workbench{padding:16px}.pavti-search>div{flex:1 1 45%}.pavti-workbench .master-fields{grid-template-columns:minmax(0,1fr)}}

/* Pavti follows Delta Product / Engineering Master desktop geometry. */
body .pavti-workbench{padding:12px 14px;font-size:13px}
body .pavti-workbench>.section-heading{gap:10px;flex-shrink:0}
body .pavti-workbench .eyebrow{font-size:10px}
body .pavti-workbench h1{font-size:20px;line-height:1.3;margin:3px 0 6px}
body .pavti-workbench label{font-size:13px;margin-bottom:3px}
body .pavti-workbench :is(input,select){height:28px;min-height:28px;padding:3px 7px;font-size:13px}
body .pavti-workbench [data-ui-button][data-ui-button][data-ui-button]{min-height:32px;padding:6px 10px;border-radius:9px;gap:5px}
body .pavti-workbench .pavti-search{gap:6px 10px;margin:8px 0;flex-shrink:0}
body .pavti-workbench .pavti-search>div{min-width:120px}
body .pavti-workbench .pavti-list{max-height:120px;margin:6px 0;flex-shrink:0}
body .pavti-workbench :is(th,td){padding:5px 8px}
body .pavti-workbench td.empty{padding:12px}
body .pavti-workbench .paging{gap:8px;padding:5px 0 10px;margin:0;flex-shrink:0}
body .pavti-workbench .pavti-document{padding:5px 10px;gap:10px;flex-shrink:0}
body .pavti-workbench .pavti-total{font-size:20px}
body .pavti-workbench .master-tabs{gap:6px;margin:8px 0 10px;flex-shrink:0}
body .pavti-workbench .master-fields{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px 12px;margin:0;padding:3px 4px 8px;align-content:start}
body .pavti-workbench .master-field small{font-size:11px;margin-top:2px}
body .pavti-workbench .master-field small:empty{display:none}
body .pavti-workbench .master-field textarea{height:54px;min-height:54px;padding:5px 7px;font-size:13px}
body .pavti-workbench .actions{gap:8px;margin:6px 0 0;padding:8px 0 10px;flex-shrink:0}
body .pavti-workbench>.muted{font-size:11px;line-height:1.35;margin:4px 0 0;flex-shrink:0}
@media(min-width:851px){
 body .pavti-workbench{height:654px;min-height:0;display:flex;flex-direction:column}
 body .pavti-workbench .pavti-editor{display:flex;flex-direction:column;flex:1;min-height:0}
 body .pavti-workbench .master-fields{flex:1;min-height:0;overflow:auto}
}
@media(max-width:850px){
 body .pavti-workbench{height:auto}
 body .pavti-workbench .pavti-list{max-height:160px}
 body .pavti-workbench .master-fields{overflow:visible}
}
@media(max-width:650px){
 body .pavti-workbench .master-fields{grid-template-columns:minmax(0,1fr)}
 body .pavti-workbench .pavti-search>div{min-width:0;flex:1 1 45%}
}

/* DonaRece: original SCX field geometry; Delta Product Master action treatment. */
body .donarece-window{width:964px;max-width:100%;height:654px;display:flex;flex-direction:column;border:1px solid #b8c2b3;border-radius:12px;background:#f7f5ef;box-shadow:0 10px 28px #303e331a;overflow:hidden;font:13px/1.35 "Nirmala UI","Segoe UI",Mangal,sans-serif}
body .donarece-title{position:relative;min-height:42px;flex:0 0 42px;background:#303c50;color:white;display:flex;justify-content:center;align-items:center;padding:6px 12px}
body .donarece-title h1{font:700 19px/1.3 "Segoe UI","Nirmala UI",sans-serif;margin:0}
body .donarece-title>span{position:absolute;right:12px;font-size:12px;font-style:italic;max-width:27%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .donarece-body{flex:1;min-height:0;overflow:auto}
body .donarece-canvas{position:relative;width:100%;min-width:870px;height:520px}
body .donarece-label{position:absolute;display:flex;align-items:center;justify-content:flex-end;text-align:right;font-size:12px;font-weight:600;line-height:1.25;margin:0;white-space:normal}
body .donarece-control{position:absolute;min-width:0}
body .donarece-control :is(input,select){display:block;width:100%;max-width:100%;min-width:0;height:100%;min-height:0;padding:3px 6px;border:1px solid #c0c9b9;border-radius:4px;background:#fffefa;color:#283d34;font:13px/1.3 "Nirmala UI","Segoe UI",Mangal,sans-serif}
body .donarece-control input[readonly]{background:#eeefe8}
body .donarece-control input:focus:not([readonly]),body .donarece-control select:focus{background:#f5e2eb;color:#162f58;border-color:#65836b}
body .donarece-number input[readonly]{background:#00ff00;color:#172d1b;font-weight:700}
body .donarece-amount input{text-align:right;font-weight:700}
body .donarece-type{height:100%;display:flex;gap:4px;align-items:stretch}
body .donarece-type input{flex:1;min-width:0}
body .donarece-type [data-ui-button][data-ui-button][data-ui-button]{flex:0 0 28px;min-height:28px;min-width:28px;padding:4px;border-radius:6px;gap:0}
body .donarece-actions.vfp-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;margin:0;border:0;border-top:1px solid #d0d8c8;border-radius:0;background:#eef1ec;padding:8px 10px 14px}
body .donarece-actions [data-ui-button][data-ui-button][data-ui-button]{flex:1 0 auto;min-height:32px;min-width:70px;padding:6px 9px;border-radius:9px;gap:5px;font-size:13px}
body .donarece-search-dialog{width:min(1000px,96vw);padding:20px;max-height:92vh;overflow:auto}
body .donarece-search-criteria{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:12px 0}
body .donarece-search-criteria>div{flex:1;min-width:135px}
body .donarece-search-criteria :is(input,select){width:100%;height:32px;min-height:32px;padding:4px 7px;border:1px solid #cbd6c7;border-radius:6px;background:#fffefa}
body .donarece-search-dialog :is(th,td){padding:7px 9px}
body .donarece-search-dialog .lookup-grid{max-height:320px}
@media(max-width:850px){body .donarece-window{height:auto}body .donarece-body{overflow:auto}body .donarece-title>span{display:none}body .donarece-actions [data-ui-button][data-ui-button][data-ui-button]{flex:0 1 auto}}

/* Accounts entry workflow adapted from Delta's voucher components; scoped to Accounts. */
.cash-entry{width:100%;max-width:1100px;height:654px;max-height:calc(100vh - 130px);display:flex;flex-direction:column;background:#fffdf4;border:1px solid #b7c4b3;border-radius:8px;overflow:hidden;box-shadow:0 9px 28px #243c2220}.cash-entry .closepo-content{padding:10px 14px;overflow:auto;flex:1}.vfp-title{background:#303c50;color:white;padding:9px 12px;display:flex;justify-content:space-between;align-items:center;min-height:34px;font-weight:600}.vfp-title button{min-width:28px}.vfp-title button:empty:after{content:'×'}
.cash-actions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.cash-summary{font-size:12px;color:#566952;margin:5px 0 10px}.cash-header{display:grid;grid-template-columns:1fr 1fr 1.2fr 1.8fr;gap:7px 12px}.cash-header label{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:600}.cash-wide{grid-column:1/-1}.cash-header input,.cash-header select{width:100%;min-width:0;box-sizing:border-box}.cash-entry input,.cash-entry select{min-height:29px;padding:4px 6px}.cash-entry textarea{padding:4px 6px}.cash-entry .closepo-picker{display:flex;gap:3px;min-width:0}.closepo-picker input{flex:1;min-width:0}.closepo-picker button:empty:after{content:'⌕'}.cash-entry button:empty{min-width:25px}.cash-entry button[aria-label^="Remove"]:after{content:'×'}.cash-entry button[aria-label^="Clear"]:after{content:'×'}
.cash-lines{overflow:auto;margin-top:10px;max-height:260px;border:1px solid #c8d3be}.cash-lines table{width:100%;min-width:1080px;table-layout:fixed;border-collapse:collapse}.cash-lines th:first-child{width:30px}.cash-lines th:nth-child(2){width:200px}.cash-lines th:nth-child(3){width:140px}.cash-lines th:nth-child(4){width:190px}.cash-lines th:nth-child(5),.cash-lines th:nth-child(6){width:100px}.cash-lines th:nth-child(7),.cash-lines th:nth-child(8){width:110px}.cash-lines td,.cash-lines th{padding:6px;border-bottom:1px solid #dce1d1;vertical-align:top;font-size:12px}.cash-lines th{background:#e7eddf;position:sticky;top:0;z-index:1;text-align:left}.cash-lines input,.cash-lines textarea{width:100%;min-width:0;box-sizing:border-box}.cash-lines textarea{min-height:45px}.cash-lines small{display:block;margin-top:4px;color:#52644f}.cash-totals{display:flex;justify-content:flex-end;gap:14px;align-items:center;flex-wrap:wrap;padding:8px}.cash-totals button{margin-right:auto}.cash-posting{margin-top:8px;padding:8px;background:#f5f7ec;border:1px solid #d1d9c8;border-radius:5px}.cash-posting table{width:100%;border-collapse:collapse}.cash-posting td,.cash-posting th{font-size:12px;padding:4px 8px;text-align:left;border-bottom:1px solid #dbe1d1}.cash-posting .number{text-align:right}.cash-warning{padding:8px;background:#fff0c9}.bank-cheque{margin-top:6px;border-top:1px solid #d5ddcb}.bank-cheque label{display:block;font-size:12px;margin-top:5px}.journal-entry .cash-narration{grid-column:2/-1}.cash-narration textarea{min-height:45px;width:100%}
.ma-overlay{position:fixed;inset:0;z-index:1000;background:#16241e77;display:grid;place-items:center;padding:20px}.ma-dialog,.accounts-lookup,.accounts-preview{background:#fffdf4;border:1px solid #a7b79f;border-radius:7px;overflow:hidden;width:min(1150px,96vw);max-height:90vh;box-shadow:0 12px 45px #0005}.ma-body{padding:12px;overflow:auto}.cash-reference-dialog table{width:100%;table-layout:fixed}.cash-reference-dialog td,.cash-reference-dialog th{padding:5px;font-size:12px}.cash-reference-dialog input,.cash-reference-dialog select{width:100%;box-sizing:border-box}.cash-reference-dialog th:nth-child(2){width:28%}.accounts-lookup{width:min(900px,94vw)}.accounts-lookup form{display:flex;align-items:end;gap:10px;padding:12px}.accounts-lookup label{display:grid;gap:4px;flex:1}.accounts-lookup .lookup-scroll{height:350px;overflow:auto}.accounts-lookup table{width:100%;border-collapse:collapse}.accounts-lookup td,.accounts-lookup th{padding:8px;border-bottom:1px solid #d3ddcb;text-align:left}.accounts-lookup th{position:sticky;top:0;background:#e8eddf}.accounts-lookup tr.selected{background:#d5e6cb;outline:1px solid #6c9a57;outline-offset:-1px}.accounts-lookup tr{cursor:pointer}.accounts-lookup footer,.accounts-preview footer{display:flex;gap:8px;padding:10px;justify-content:flex-end}.accounts-lookup footer span{margin-right:auto}.accounts-preview{height:90vh;display:flex;flex-direction:column}.accounts-preview iframe{border:0;flex:1;background:white;width:100%}
.cash-entry button,.ma-overlay button{font-size:12px;min-height:30px;padding:4px 10px;border-radius:5px;border:1px solid #819c76;color:#243e2a;background:linear-gradient(#f7fff0,#cddfc0);box-shadow:0 2px 2px #233b2226,inset 0 1px #fff}.cash-entry button:active,.ma-overlay button:active{transform:translateY(1px);box-shadow:inset 0 1px 3px #304b3038}.cash-entry button:disabled,.ma-overlay button:disabled{opacity:.45;cursor:default}.cash-entry button:hover:enabled,.ma-overlay button:hover:enabled{background:linear-gradient(#fff,#bcd3ad)}
@media(max-width:850px){.cash-header{grid-template-columns:1fr 1fr}.cash-entry{max-height:none;height:auto;min-height:580px}.journal-entry .cash-narration{grid-column:1/-1}.cash-reference-dialog .ma-body{overflow:auto}.cash-reference-dialog table{min-width:950px}}

.accounts-dependency{padding:8px 10px;border-left:3px solid #ba933a;background:#fff5d8;font-size:12px}.purchase-header{grid-template-columns:repeat(4,minmax(0,1fr))}.purchase-header label:nth-child(5){grid-column:2/4}.purchase-header label:last-child{grid-column:1/-1}.purchase-lines table{min-width:3100px;table-layout:auto}.purchase-lines th:first-child{width:120px}.purchase-lines th:nth-child(3){width:200px}.purchase-bottom{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:15px;margin-top:12px}.purchase-extra label{display:flex;justify-content:space-between;gap:6px;font-size:12px;align-items:center;margin-bottom:5px}.purchase-extra input{width:55%;min-width:0}.purchase-bottom table{font-size:12px;width:100%;border-collapse:collapse}.purchase-bottom th,.purchase-bottom td{padding:5px;text-align:left;border-bottom:1px solid #d2daca}

body .cash-entry [data-ui-button][data-ui-button][data-ui-button],body .accounts-lookup [data-ui-button][data-ui-button][data-ui-button],body .cash-reference-dialog [data-ui-button][data-ui-button][data-ui-button]{min-height:32px;min-width:0;padding:5px 9px;font-size:12px;gap:4px;border-radius:7px}body .cash-entry [data-ui-button] svg,body .accounts-lookup [data-ui-button] svg{width:15px;height:15px}.bill-actions{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.bill-header{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 12px}.bill-header label{font-size:12px;font-weight:600}.bill-header input,.bill-header select,.bill-header textarea{width:100%;min-width:0;box-sizing:border-box}.bill-wide{grid-column:span 2}.bill-picker{display:flex;gap:4px}.bill-grid{overflow:auto;border:1px solid #ccd5bf;max-height:250px;margin:8px 0}.bill-grid table{border-collapse:collapse;min-width:1300px;width:100%}.bill-grid th{background:#e7eddf;position:sticky;top:0}.bill-grid td,.bill-grid th{padding:5px;font-size:12px;vertical-align:top;text-align:left;border-bottom:1px solid #d4ddcb}.bill-grid input,.bill-grid select{width:110px;box-sizing:border-box}.bill-grid textarea{width:230px;min-height:45px}.bill-grid small{display:block;white-space:nowrap}.bill-totals{display:flex;flex-wrap:wrap;gap:18px;justify-content:flex-end;padding:8px;background:#f0f3e5}.bill-totals div{display:grid;font-size:12px}.bill-workbench{height:654px}.bill-workbench>.ma-body{overflow:auto;flex:1}.bill-picker input{flex:1;min-width:0}.bill-workbench .delta-status{font-size:12px;color:#5a6d52}

/* Payment voucher uses the original control positions with a taller details area. */
body .pcashvou-window{width:100%;max-width:964px;height:575px;max-height:calc(100dvh - 72px);min-height:430px;background:#fffdf4;border:1px solid #bcc9b6;border-radius:9px;box-shadow:0 10px 30px #253a2520;overflow:hidden;display:flex;flex-direction:column}
body .pcashvou-canvas{position:relative;width:100%;min-width:870px;height:428px}
body .pcashvou-label{position:absolute;display:flex;align-items:center;justify-content:flex-end;text-align:right;font-size:11px;font-weight:600;line-height:1.15;margin:0}
body .pcashvou-control{position:absolute;min-width:0}
body .pcashvou-control :is(input,select,textarea){display:block;width:100%;height:100%;max-width:100%;min-width:0;min-height:0;padding:3px 6px;border:1px solid #c0c9b9;border-radius:4px;background:#fffefa;color:#283d34;font:13px/1.3 "Nirmala UI","Segoe UI",Mangal,sans-serif;box-sizing:border-box}
body .pcashvou-control input[readonly],body .pcashvou-control textarea[readonly]{background:#eeefe8}
body .pcashvou-control input:focus:not([readonly]),body .pcashvou-control textarea:focus:not([readonly]),body .pcashvou-control select:focus{background:#f5e2eb;color:#162f58;border-color:#65836b}
body .entry-screen.pcashvou-window .pcashvou-legacy-text {
    font-family: "PamtsoftMarathi", "Nirmala UI", Mangal, sans-serif !important;
    line-height: 1.45;
}

.pcashvou-narration-tip {
    position: absolute;
    inset: auto auto 100% 0;
    z-index: 3;
    width: max-content;
    max-width: min(100%, 36rem);
    padding: 8px 12px;
    border-radius: 6px;
    background: #253a30;
    color: #fff;
    box-shadow: 0 4px 12px #1d312940;
    font-size: var(--form-size, 13px);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    visibility: hidden; pointer-events: none;
}

.pcashvou-control > textarea:focus + .pcashvou-narration-tip:not(.tip-dismissed) {
    visibility: visible;
}
body .pcashvou-number input[readonly]{background:#00ff00;color:#172d1b;font-weight:700}
body .pcashvou-amount input{text-align:right;font-weight:700;font-size:16px}
body .pcashvou-picker{display:flex;height:100%;gap:3px}
body .pcashvou-picker input{flex:1;min-width:0}
body .pcashvou-picker button[data-ui-button][data-ui-button][data-ui-button]{flex:0 0 27px;min-height:25px;min-width:27px;padding:3px;gap:0;border-radius:5px}
body .pcashvou-actions{flex:0 0 45px;display:flex;gap:6px;justify-content:center;align-items:center;border-top:1px solid #d0d8c8;background:#eef1ec;margin:0;padding:6px 10px 8px}
body .pcashvou-actions [data-ui-button][data-ui-button][data-ui-button]{min-height:32px;min-width:105px;padding:5px 9px;font-size:12px;gap:5px;border-radius:8px}
body .pcashvou-search-dialog{width:min(930px,96vw);height:520px;max-height:90vh;padding:10px;display:flex;flex-direction:column;background:#f4f8e8;overflow:hidden}
body .pcashvou-search-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:9px}
body .pcashvou-search-top label{font-size:12px;font-weight:700;white-space:nowrap}
body .pcashvou-search-top input{flex:1;min-width:200px;height:30px;min-height:30px;padding:4px 7px}
body .pcashvou-search-top [data-ui-button][data-ui-button][data-ui-button],body .pcashvou-search-footer [data-ui-button][data-ui-button][data-ui-button]{min-height:32px;min-width:75px;padding:5px 9px;font-size:12px}
body .pcashvou-search-dialog .lookup-grid{flex:1;max-height:none;min-height:0;overflow:auto;border:1px solid #c7d2bb}
body .pcashvou-search-dialog table{width:100%;table-layout:fixed;border-collapse:collapse}
body .pcashvou-search-dialog th,body .pcashvou-search-dialog td{font-size:12px;padding:5px 7px;border-bottom:1px solid #dae1d0;overflow-wrap:anywhere}
body .pcashvou-search-dialog th{position:sticky;top:0;background:#e3ecd9;text-align:left}
body .pcashvou-search-dialog th:nth-child(1){width:30%}
body .pcashvou-search-dialog th:nth-child(2){width:29%}
body .pcashvou-search-dialog th:nth-child(3){width:13%}
body .pcashvou-search-dialog th:nth-child(4),body .pcashvou-search-dialog th:nth-child(5){width:14%}
body .pcashvou-search-dialog tr.selected{background:#d4e5c8;outline:1px solid #668d53;outline-offset:-1px}
body .pcashvou-search-dialog mark{color:#b45b08;background:transparent;font-weight:700}
body .pcashvou-search-footer{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding-top:9px;font-size:12px}
body .pcashvou-search-footer span{margin-right:auto}
@media(max-width:850px){body .pcashvou-window{max-height:none}body .pcashvou-window .donarece-title h1{font-size:16px}body .pcashvou-window .donarece-title>span{display:none}body .pcashvou-actions{justify-content:flex-start;overflow:auto}body .pcashvou-actions [data-ui-button][data-ui-button][data-ui-button]{min-width:90px}body .pcashvou-search-dialog table{min-width:780px}}

body .pcashvou-window .pcashvou-actions.vfp-actions{height:45px;min-height:45px;flex:0 0 45px;padding:5px 10px 7px;box-sizing:border-box}



/* Owner screenshot, 17 October: Delta Product Master chrome and full-size actions.
   Entry UI only; original native report assets and print geometry are untouched. */
body .entry-screen.entry-screen {background:#f7f5ef;border-color:#d7ded3;border-radius:16px;color:#182c30}
body .entry-screen.entry-screen > :is(.vfp-title,.donarece-title),
body .entry-screen.master-workbench > .section-heading {background:linear-gradient(110deg,#344b40,#50664f);color:#fff;min-height:50px;flex-shrink:0;padding:8px 20px;gap:12px;justify-content:space-between}
body .entry-screen.entry-screen > .donarece-title h1 {font:600 19px/1.35 "Segoe UI","Nirmala UI",sans-serif;text-align:left}
body .entry-screen.master-workbench {padding:0;overflow:hidden}
body .entry-screen.master-workbench > .section-heading h1 {font-size:20px;margin:0;color:#fff}
body .entry-screen.master-workbench > .section-heading .eyebrow {display:none}
body .entry-screen.master-workbench > :is(.search-bar,.master-list,.paging,.master-tabs,.master-fields,p) {margin-left:16px;margin-right:16px}
body .entry-screen.master-workbench > .master-fields,
body .entry-screen.entry-screen .cash-header,
body .entry-screen.entry-screen .bill-header {background:#fffefa;border:1px solid #d7ded3;border-radius:13px;padding:14px;gap:10px 16px}
body .entry-screen.master-workbench > .master-fields {padding:16px}
body .entry-screen.entry-screen :is(.cash-actions,.delta-form-actions,.donarece-actions,.pcashvou-actions),
body .entry-screen.master-workbench > .actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px;flex:0 0 auto;min-height:66px;height:auto;margin:0;padding:10px 15px 14px;border:0;border-top:1px solid #d7ded3;border-radius:0;background:#e9eee3;box-sizing:border-box}
body .entry-screen.entry-screen :is(.cash-actions,.delta-form-actions,.donarece-actions,.pcashvou-actions) > button,
body .entry-screen.master-workbench > .actions > button {flex:1 0 auto;min-width:105px;white-space:nowrap}
body .entry-screen.entry-screen [data-ui-button][data-ui-button]::before {flex-basis:20px;width:20px;height:20px}
body .entry-screen.entry-screen [data-ui-action=add] {--entry-button-icon:#279d35}
body .entry-screen.entry-screen [data-ui-action=print] {--entry-button-icon:#3275bd}
body .entry-screen.entry-screen [data-ui-action=close] {--entry-button-icon:#c13c2e}
body .entry-screen.entry-screen [data-ui-compact=true][data-ui-button][data-ui-button] {min-height:28px;min-width:28px;padding:5px;gap:0;font-size:0;flex:0 0 auto}
body .entry-screen.entry-screen [data-ui-compact=true]::before {flex-basis:16px;width:16px;height:16px}
body .entry-screen.entry-screen > .vfp-title button:empty:after {content:none}
body .entry-screen.entry-screen :is(.closepo-picker,.bill-picker) > button {min-width:28px}
body .entry-screen.entry-screen :is(.closepo-content,.ma-body) {min-height:0}
body .entry-screen.entry-screen .master-tabs [aria-selected=true] {outline:2px solid #719a7c;outline-offset:2px}
body .pcashvou-window.pcashvou-window .pcashvou-actions.vfp-actions {height:auto;min-height:66px;flex:0 0 auto;padding:10px 15px 14px}
body .entry-screen.entry-screen .pcashvou-picker [data-ui-button][data-ui-button] {min-height:25px;min-width:27px;padding:3px;flex:0 0 27px}
body .entry-screen.entry-screen .pcashvou-picker [data-ui-button]::before {width:16px;height:16px;flex-basis:16px}
body .entry-screen.entry-screen .cash-lines button:not([data-ui-compact=true]) {font-size:13px;min-height:36px;padding:7px 10px}
@media(max-width:850px) {
 body .entry-screen.entry-screen :is(.cash-actions,.delta-form-actions,.donarece-actions,.pcashvou-actions) > button {flex:1 0 auto;min-width:105px}
 body .pcashvou-window.pcashvou-window .pcashvou-actions {overflow:visible}
}

body .entry-screen.entry-screen :is(.closepo-picker button:empty,button[aria-label^="Remove"],button[aria-label^="Clear"])::after {content:none}
body .entry-screen.cash-entry {max-width:1394px}

body .entry-screen.entry-screen > .vfp-title {font:600 19px/1.35 "Segoe UI","Nirmala UI",sans-serif}
body .entry-screen.entry-screen :is(.cash-actions,.delta-form-actions,.donarece-actions,.pcashvou-actions) > [data-ui-button][data-ui-button][data-ui-button] {flex:1 1 auto;min-width:80px;padding:11px 12px}

/* Sales Invoice keeps the existing entry theme with a focused item grid. */
.sales-invoice .bill-grid table{min-width:950px}.sales-invoice .bill-grid th:first-child{width:26%}.sales-invoice .bill-grid td:last-child{min-width:140px}.sales-invoice .bill-totals strong{font-size:16px}.sales-invoice .bill-actions{align-items:center}.sales-invoice .bill-header textarea{min-height:58px}@media(max-width:700px){.sales-invoice .bill-header{grid-template-columns:1fr}.sales-invoice .bill-wide{grid-column:auto}}

/* Compact Account Master: Delta MASTER.SCX pages, scoped to this form. */
body .entry-screen.master-workbench.account-master{width:min(900px,100%);height:min(680px,calc(100dvh - 170px));min-height:460px;margin-inline:auto;display:flex;flex-direction:column;border-radius:7px;font-size:12px;box-shadow:0 8px 24px #243a2920}
body .entry-screen.master-workbench.account-master>.section-heading{min-height:38px;padding:4px 12px}
body .entry-screen.master-workbench.account-master>.section-heading h1{font-size:17px;line-height:1.3}
body .entry-screen.master-workbench.account-master>.search-bar{flex:none;margin:7px 10px 4px;gap:7px}
body .account-master .search-bar label{font-size:12px}
body .entry-screen.master-workbench.account-master>.master-list{flex:0 1 88px;min-height:42px;max-height:88px;overflow:auto;margin:0 10px;border:1px solid #c8d3c1}
body .account-master :is(th,td){font-size:12px;padding:3px 7px}
body .entry-screen.master-workbench.account-master>.paging{flex:none;margin:0 10px;padding:4px 0;gap:5px}
body .entry-screen.master-workbench.account-master>p{flex:none;margin:2px 10px;font-size:11px}
body .entry-screen.master-workbench.account-master>.master-tabs{flex:none;margin:4px 10px 0;gap:3px;border-bottom:1px solid #a7b99f;padding:0 3px 3px}
body .entry-screen.master-workbench.account-master>.master-fields{flex:1;min-height:0;overflow:auto;margin:0 10px 7px;padding:8px 10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 16px;align-content:start;border:1px solid #c8d3c1;border-radius:2px;background:#fffef9}
body .account-master .master-field{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:3px 7px}
body .account-master .master-field label{font-size:12px;text-align:right;line-height:1.2;margin:0}
body .account-master .master-field small{grid-column:2;font-size:10px;line-height:1.2;margin:0}
body .account-master .master-field small:empty{display:none}
body .account-master .lookup-field{gap:3px;flex-wrap:nowrap}
body .entry-screen.account-master :is(input:not([type=checkbox]),select){height:27px;min-height:27px;padding:3px 6px;border-radius:3px;font-size:12px;line-height:1.2}
body .account-master input[type=checkbox]{width:15px;height:15px;margin:0}
body .account-master .account-opening-more{flex:none;margin:0 10px 6px;max-height:145px;overflow:auto;border:1px solid #c8d3c1;padding:4px 8px}
body .account-master .account-opening-more summary{cursor:pointer;font-weight:600}
body .account-master .account-opening h2{font-size:14px;margin:4px 0}
body .account-master .account-opening p{margin:4px 0;font-size:11px}
body .entry-screen.master-workbench.account-master>.actions{flex:none;min-height:46px;padding:6px 10px;margin-top:auto;gap:6px;justify-content:center}
body .entry-screen.master-workbench.account-master [data-ui-button][data-ui-button][data-ui-button]{min-height:30px;padding:4px 9px;font-size:12px;line-height:1.25;gap:5px;border-radius:4px}
body .entry-screen.account-master>.actions>button{flex:0 1 118px;min-width:82px}
body .entry-screen.account-master .lookup-field button[data-ui-button][data-ui-button][data-ui-button]{min-height:27px;padding:3px 6px;font-size:11px}
body .entry-screen.account-master .master-tabs [aria-selected=true]{outline:none;background:#dce8d5;border-color:#719a7c;font-weight:700}
@media(max-width:720px){body .entry-screen.master-workbench.account-master{height:660px;min-height:0;max-height:calc(100dvh - 35px)}body .entry-screen.master-workbench.account-master>.master-fields{grid-template-columns:minmax(0,1fr);gap:5px}body .account-master .master-field-wide{grid-column:auto}body .account-master .search-bar input{flex:1;min-width:80px;width:auto}body .account-master .master-field{grid-template-columns:100px minmax(0,1fr)}body .account-master .lookup-field button[data-ui-button]::before{display:none}}

/* Shared controls for every financial and daily report grid. */
.report-grid-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:14px 0}.report-grid-controls label{display:flex;flex-direction:column;gap:6px;font-size:13px;min-width:115px}.report-grid-controls select,.report-grid-controls input{padding:8px;min-height:38px;border:1px solid #b8c8b3;border-radius:6px;background:#fffefa;color:#283d34}.report-grid-filter{flex:1;min-width:160px}.financial-grid table,.daily-grid table{width:100%;border-collapse:collapse}.financial-grid th,.daily-grid th{position:sticky;top:0;background:#e5eddf;border:1px solid #c5d1bf}.financial-grid td,.daily-grid td{padding:8px 10px;border:1px solid #d6decd}.financial-grid tbody tr:nth-child(even),.daily-grid tbody tr:nth-child(even){background:#f3f6ef}body .financial-workbench button.report-column-sort,body .daily-reports button.report-column-sort{display:inline-flex;align-items:center;gap:6px;min-width:0;min-height:0;padding:4px 2px;background:transparent;color:#283d34;border:0;box-shadow:none;border-radius:0;font:inherit;font-weight:700;cursor:pointer;transform:none}.report-column-sort:focus-visible{outline:2px solid #276844;outline-offset:2px}

.report-criteria{margin:16px 0;border:1px solid #d6decd;border-radius:8px;padding:12px}.report-criteria summary{cursor:pointer;font-weight:600;color:#34513e}.report-grid-controls input{width:100%}.report-grid-controls button{font-size:13px}

.grid-excel-export{display:flex;align-items:center;gap:10px;padding:10px 0}.grid-excel-export button{font-size:12px}.grid-excel-export small{color:#66745d;font-size:12px}
