/* FNPR Finance: quick-entry v2, original user-focused layout */
.body-quick{--quick-ink:#163129;--quick-muted:#71847a;--quick-line:#e5ece7}
.body-quick .sidebar{background:#fff;color:#143227;border-left:1px solid #e4eee7;box-shadow:0 4px 30px #17422b06}
.body-quick .brand{color:#143328;border-bottom:1px solid #e5ece7}
.body-quick .brand:hover{color:#143328}
.body-quick .brand-logo{background:linear-gradient(150deg,#16ad7e,#087254);color:#fff}
.body-quick .brand small{color:#769486}
.body-quick .side-nav a{color:#526e60}
.body-quick .side-nav a:hover{color:#0d7959;background:#eff7f2}
.body-quick .side-nav a.selected{color:#075c41;background:#def5eb;box-shadow:inset -3px 0 #13a576;font-weight:700}
.body-quick .side-bottom{border-color:#e5ece7}
.body-quick .side-bottom small{color:#799088}
.body-quick .logout{color:#3b8267}
.body-quick .main-content{max-width:1580px;padding-top:25px}
.quick-page{--emerald:#0d8b66;--emerald-deep:#096e53}
.quick-page-heading{display:flex;align-items:center;gap:15px;margin-bottom:20px;min-width:0}
.quick-page-heading>div:nth-child(2){flex:1;min-width:0}
.quick-page-heading h1{font-size:27px;color:#17352b;margin:3px 0}
.quick-page-heading p{font-size:13px;color:#6d8277}
.quick-page-icon{width:52px;height:52px;display:grid;place-items:center;background:#e0f5eb;color:#0c9269;border-radius:16px;font-size:29px;flex-shrink:0}
.quick-kicker{color:#1a9971;font-size:11px;font-weight:700}
.quick-status{display:inline-flex;align-items:center;gap:7px;border:1px solid #dbede2;background:#f8fcf9;color:#398765;border-radius:40px;padding:7px 11px;font-size:11px;white-space:nowrap}
.status-dot{width:7px;height:7px;background:#17b783;border-radius:50%}
.quick-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:18px}
.quick-tabs a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;padding:11px 9px;border:1px solid #e3ebe7;border-radius:12px;background:#fff;color:#63766d;white-space:nowrap;font-size:12px;font-weight:700}
.quick-tabs a>span{font-size:19px;font-family:Arial,Tahoma,sans-serif;font-weight:400}
.quick-tabs a:hover{border-color:#99d8bd;color:#0a805c}
.quick-tabs a.is-current{color:#fff;background:linear-gradient(130deg,#129b71,#086b50);border-color:#0d8a64;box-shadow:0 5px 15px #13866517}
.quick-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:18px;align-items:start}
.quick-card{background:#fff;border:1px solid #e4ece6;border-radius:20px;box-shadow:0 10px 38px #1b4f3210;padding:28px 30px;min-width:0}
.quick-card-top{display:flex;align-items:start;justify-content:space-between;gap:15px;border-bottom:1px solid #ebf1ec;padding-bottom:17px;margin-bottom:25px}
.quick-card-top h2{font-size:18px;color:#16392b}
.quick-card-top p{font-size:12px;color:#82958a;margin-top:3px}
.quick-form-label{font-size:11px;color:#678e7a;background:#f2faf5;border-radius:40px;padding:6px 10px;white-space:nowrap}
.quick-form-label span{font-size:7px;color:#18a978;vertical-align:middle}
.quick-form{display:grid;grid-template-columns:1fr;gap:22px}
.quick-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.quick-label{font-size:12px;font-weight:700;color:#314e3e;display:block}
.quick-label em{color:#da5861;font-style:normal}
.quick-label .optional-label{font-size:11px;color:#9aac9d;font-weight:500}
.quick-hint{font-size:10.5px;line-height:1.8;color:#85988b;display:block}
.quick-form input:not([type=radio]):not([type=checkbox]):not([type=file]),.quick-form select,.quick-form textarea{border:1px solid #dce6df;background:#fff;border-radius:11px;outline:none;min-height:49px;padding:11px 15px;font-size:13px;font-weight:500;width:100%;color:#233c2e;transition:border-color .15s,box-shadow .15s}
.quick-form input:focus,.quick-form select:focus,.quick-form textarea:focus{border-color:#37ab81!important;box-shadow:0 0 0 3px #dcf4e8!important}
.quick-form input::placeholder,.quick-form textarea::placeholder{color:#a0afa6;font-weight:400}
.quick-form textarea{resize:vertical;min-height:77px;max-height:260px;line-height:1.9}
.quick-amount-wrap{position:relative;display:flex;align-items:center}
.quick-amount-wrap input{font-size:27px!important;font-weight:800!important;min-height:68px!important;letter-spacing:.15px;padding:11px 45px 11px 83px!important;text-align:right;direction:ltr;font-variant-numeric:tabular-nums}
.quick-field-icon{position:absolute;right:15px;color:#13a376;font-size:24px;pointer-events:none;z-index:1}
.quick-unit{position:absolute;left:11px;border-radius:8px;padding:8px 11px;background:#eef4ef;border:1px solid #e7eee9;font-size:11px;color:#738778;pointer-events:none}
.quick-identity-row,.quick-options-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:19px;align-items:start}
.quick-options-row{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}
.quick-date-input{position:relative}
.quick-date-input input{padding-left:38px!important;direction:ltr;text-align:right}
.quick-date-icon{position:absolute;left:14px;top:12px;color:#718c80;pointer-events:none;font-size:22px}
.quick-divider{height:1px;background:#eaf0ec}
.quick-pay-methods{display:flex;border:1px solid #dce7df;padding:4px;background:#f6f9f7;border-radius:12px;min-height:49px;gap:4px;align-items:stretch}
.quick-pay-choice{position:relative;min-width:0;flex:1;cursor:pointer}
.quick-pay-choice input{position:absolute;opacity:0;pointer-events:none}
.quick-pay-choice span{display:flex;align-items:center;gap:5px;justify-content:center;color:#697e70;background:transparent;font-size:11.5px;font-weight:700;height:100%;padding:8px 5px;border-radius:9px;white-space:nowrap;transition:.15s}
.quick-pay-choice span b{font-family:Arial,Tahoma,sans-serif;font-size:16px;font-weight:500}
.quick-pay-choice input:checked+span{color:white;background:#0e8a66;box-shadow:0 4px 11px #14875e20}
.quick-pay-choice input:focus-visible+span{outline:2px solid #4bb78c;outline-offset:2px}
.quick-check-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#f8fbf9;border-radius:12px;border:1px solid #e2eee5;padding:16px}
.quick-check-fields[hidden],.quick-field[hidden]{display:none!important}
.quick-check-status{grid-column:1/-1;display:flex;align-items:center;gap:9px;color:#607e6e;font-size:12px;cursor:pointer}
.quick-check-status input{accent-color:#108a64;width:17px;height:17px}
.quick-missing-account{border-radius:11px;padding:12px 15px;border:1px solid #f1d5b2;background:#fff9ed;color:#8c5f25;font-size:12px}
.quick-missing-account a{text-decoration:underline;font-weight:800}
.smart-combo{position:relative;display:flex;align-items:center;border:1px solid #dce6df;background:#fff;border-radius:11px;min-height:49px}
.smart-combo:focus-within{border-color:#37ab81;box-shadow:0 0 0 3px #dcf4e8}
.smart-combo input:not([type=hidden]){padding:10px 9px!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:47px!important;flex:1;min-width:0}
.smart-search-icon{font-size:22px;color:#90a699;line-height:1;padding:0 11px 0 2px}
.smart-add{color:#108967;border:0;background:#ebf8f0;font-size:11px;font-weight:800;white-space:nowrap;border-radius:8px;padding:7px 10px;margin-left:7px}
.smart-add:hover{background:#d6efe3}
.smart-options{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:45;max-height:290px;overflow:auto;border:1px solid #dbe9e0;background:white;border-radius:12px;padding:6px;box-shadow:0 16px 40px #17422f24}
.smart-options[hidden]{display:none!important}
.smart-option{display:flex;align-items:center;gap:9px;width:100%;padding:10px 9px;text-align:right;background:#fff;border:0;color:#1f3a2b;border-radius:8px;font-size:12px}
.smart-option:hover,.smart-option.is-focused{background:#edf8f1}
.smart-option[hidden]{display:none!important}
.smart-option small{font-size:10px;color:#8ba298;margin-right:auto}
.smart-option-avatar{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;background:#eff7f1;color:#1e9670;font-size:16px}
.smart-create{border-top:1px solid #edf1ee;margin-top:5px;color:#118e68;font-weight:700}
.quick-upload{border:1px dashed #b8d6c7;background:linear-gradient(145deg,#f9fdfa,#f5fbf7);border-radius:12px;padding:18px;display:flex;align-items:center;gap:14px;cursor:pointer}
.quick-upload:hover{background:#f0faf4;border-color:#52b991}
.quick-upload-icon{width:48px;height:48px;background:#e0f4e7;color:#0e956c;font:26px Arial;display:grid;place-items:center;border-radius:13px;flex-shrink:0}
.quick-upload strong{font-size:12px;color:#40624f;display:block}
.quick-upload small{display:block;font-size:10px;color:#8fa398;margin-top:2px}
.quick-upload-button{padding:8px 14px;border:1px solid #bfdeca;color:#117e5b;background:#fff;border-radius:9px;margin-right:auto;font-size:11px;font-weight:800;white-space:nowrap}
.quick-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.quick-upload-names{display:flex;flex-wrap:wrap;gap:6px}
.quick-upload-names>span{border-radius:9px;background:#eaf6ee;border:1px solid #d5eadd;color:#227453;padding:4px 9px;font-size:11px}
.quick-accounting-notice{font-size:11px;line-height:1.8;padding:11px 14px;color:#497764;background:#f3faf6;border-radius:10px;border:1px solid #e3f2e9}
.quick-actions{border-top:1px solid #e9f1eb;display:flex;align-items:center;gap:10px;padding-top:18px;flex-wrap:wrap}
.quick-actions .quick-submit{min-width:174px}
.quick-actions .btn-ghost{min-width:180px}
.quick-shortcut{margin-right:auto;color:#9ba99f;font-size:10px}
.quick-shortcut kbd{font:11px Arial;padding:3px 5px;border:1px solid #e3eae4;border-radius:5px;color:#728779;background:#f9faf9}
.quick-side{display:flex;flex-direction:column;gap:16px}
.quick-preview-card,.quick-side-card{border:1px solid #e1ebe4;border-radius:18px;background:#fff;padding:20px;box-shadow:0 4px 25px #1a4b2d07;min-width:0}
.quick-preview-card{background:linear-gradient(155deg,#f0fcf4,#fbfffc);border-color:#d5eadc}
.quick-preview-card h3,.quick-side-card h3{color:#1f513a;font-size:16px;margin:5px 0 14px}
.quick-preview-value{font-size:21px;font-weight:800;color:#0a865e;overflow-wrap:anywhere;border:1px solid #d8eedf;background:#fff;border-radius:13px;padding:9px;margin-bottom:13px}
.quick-preview-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e2efe5;gap:11px;padding:9px 0}
.quick-preview-row span{color:#728d7c;font-size:11px;white-space:nowrap}
.quick-preview-row b{color:#285e45;font-size:11px;text-align:left;overflow-wrap:anywhere}
.quick-preview-notice{background:#e4f6eb;border:1px solid #d5ecdf;padding:12px;border-radius:11px;color:#407d60;font-size:11px;margin-top:15px;line-height:1.9}
.quick-side-card h3{margin:0 0 5px}
.quick-side-card p{font-size:11px;color:#80978b;margin-bottom:12px}
.quick-favorites{display:flex;flex-wrap:wrap;gap:7px}
.quick-favorites a,.quick-recent-party{padding:7px 10px;border-radius:9px;border:1px solid #dfebe2;background:#f6fbf7;font-size:11px;color:#317a55}
.quick-favorites a:hover,.quick-recent-party:hover{background:#e1f4e8}
.quick-recent-parties{display:flex;flex-wrap:wrap;gap:7px}
.quick-recent-party{cursor:pointer;font-family:inherit}
.quick-side-empty{font-size:11px;color:#82988a}
@media(max-width:1150px){.quick-layout{grid-template-columns:minmax(0,1fr) 240px;gap:13px}.quick-card{padding:22px}.quick-tabs{gap:6px}.quick-tabs a{font-size:11px;padding:8px 5px}.quick-identity-row,.quick-options-row{gap:12px}}
@media(max-width:970px){.quick-layout{grid-template-columns:1fr}.quick-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.quick-preview-card{grid-row:span 2}}
@media(max-width:720px){.body-quick .main-content{padding:18px 12px 110px}.quick-page-heading{margin-bottom:17px;gap:10px}.quick-page-heading h1{font-size:21px}.quick-page-heading p{font-size:11px}.quick-page-icon{width:42px;height:42px;border-radius:13px;font-size:24px}.quick-kicker{font-size:10px}.quick-status{display:none}.quick-tabs{display:flex;overflow:auto;scrollbar-width:none;gap:7px;padding-bottom:5px;margin-bottom:11px}.quick-tabs::-webkit-scrollbar{display:none}.quick-tabs a{flex:0 0 auto;min-width:112px;min-height:43px;padding:8px 11px;font-size:11px}.quick-card{border-radius:15px;padding:18px 15px}.quick-card-top{margin-bottom:20px;padding-bottom:14px}.quick-card-top h2{font-size:16px}.quick-card-top p{font-size:11px}.quick-form-label{display:none}.quick-form{gap:18px}.quick-amount-wrap input{font-size:23px!important;min-height:60px!important}.quick-identity-row{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:9px}.quick-options-row{grid-template-columns:1fr;gap:16px}.quick-identity-row .quick-form input{min-width:0}.smart-combo{min-width:0}.smart-search-icon{font-size:17px;padding:0 7px}.smart-add{font-size:9px;padding:6px 7px;margin-left:4px}.smart-combo input:not([type=hidden]){font-size:11px!important;padding:6px!important}.quick-date-input input{font-size:11px!important;padding:7px 8px 7px 26px!important}.quick-date-icon{left:7px;top:14px;font-size:14px}.quick-hint{font-size:10px}.quick-upload{flex-wrap:wrap;padding:15px 13px;gap:10px}.quick-upload-icon{width:39px;height:39px}.quick-upload strong{font-size:11px}.quick-upload-button{margin-right:0}.quick-actions{gap:9px}.quick-actions .btn{flex:1;min-width:0;font-size:11px}.quick-shortcut{display:none}.quick-side{grid-template-columns:1fr}.quick-preview-card{grid-row:auto}.quick-preview-row span,.quick-preview-row b{font-size:11px}.quick-check-fields{gap:9px;padding:12px}.quick-check-fields .quick-field input{font-size:11px!important}}
@media(max-width:360px){.quick-identity-row{grid-template-columns:1fr}.quick-amount-wrap input{font-size:21px!important}.quick-tabs a{min-width:101px}.smart-combo input:not([type=hidden]){font-size:12px!important}}
@media print{.body-quick .sidebar,.quick-tabs,.quick-actions,.quick-upload,.quick-side-card,.quick-status,.quick-recent-parties{display:none!important}.quick-layout{display:block}.quick-card{box-shadow:none;border:none}}

.auth-return{display:block;text-align:center;margin-top:20px;font-weight:700;font-size:12px;color:#117959;text-decoration:none}
.auth-return:hover{text-decoration:underline}

/* Independent operation classification and obligation-only entry */
.quick-tabs{grid-template-columns:repeat(7,minmax(0,1fr))}
.quick-tabs a{font-size:11.5px;gap:5px;letter-spacing:-.15px}
.quick-noncash{display:flex;align-items:center;gap:10px;padding:10px 13px;min-height:49px;color:#326d57;background:#edf9f0;border:1px solid #cbe9d8;border-radius:11px;font-size:12px;font-weight:700}
.quick-noncash span{font-size:19px}
[data-method-cash-check][hidden]{display:none!important}
@media(max-width:720px){.quick-tabs{display:flex}.quick-tabs a{min-width:105px}}

/* 2026-11-04: requested compact input order: amount | party | date; description next row. */
.quick-primary-row{
 display:grid;
 grid-template-columns:minmax(180px,1.02fr) minmax(205px,1.28fr) minmax(152px,.87fr);
 gap:15px;
 align-items:start;
 min-width:0;
}
.quick-primary-row > .quick-field{min-width:0}
.quick-primary-row .quick-amount-wrap input{
 font-size:20px!important;
 min-height:49px!important;
 padding-right:35px!important;
 padding-left:69px!important;
 text-align:right;
}
.quick-primary-row .quick-amount-wrap .quick-unit{font-size:10px;padding:6px 8px;left:6px}
.quick-primary-row .quick-amount-wrap .quick-field-icon{right:10px;font-size:18px}
.quick-primary-row .smart-combo{min-width:0}
.quick-primary-row .smart-combo input:not([type=hidden]){min-width:0;font-size:12px!important}
.quick-primary-row .quick-hint{font-size:10px}
.quick-primary-row .quick-date-input input{min-width:0;font-size:12px}
.quick-primary-row .quick-field:not(.qparty) .quick-hint{min-height:19px}
@media(max-width:1250px) and (min-width:721px){
 .quick-primary-row{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr)}
 .quick-primary-row .quick-date-field{grid-column:1 / -1;max-width:350px}
}
@media(max-width:720px){
 .quick-primary-row{grid-template-columns:1fr;gap:15px}
 .quick-primary-row .quick-date-field{grid-column:auto;max-width:none}
 .quick-primary-row .quick-amount-wrap input{font-size:22px!important;min-height:58px!important}
 .quick-primary-row .smart-combo input:not([type=hidden]){font-size:12px!important}
}

/* Mobile finishing pass: forms, popups and touch targets. */
.quick-page,.quick-card,.quick-form,.quick-primary-row,.quick-options-row{max-width:100%;min-width:0}
.quick-form .quick-field{max-width:100%;min-width:0}
.quick-form .quick-field select,.quick-form .quick-field textarea,.quick-form .quick-field input:not([type=radio]):not([type=checkbox]):not([type=file]){max-width:100%;min-width:0}
.smart-options{overflow-x:hidden;overscroll-behavior:contain}
.smart-option{min-height:44px;max-width:100%}
.smart-option span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.quick-upload strong,.quick-upload small{overflow-wrap:anywhere}
@media(max-width:720px){
 .quick-page-heading h1{font-size:clamp(19px,5.7vw,23px)}
 .quick-form .quick-field input:not([type=radio]):not([type=checkbox]):not([type=file]),
 .quick-form .quick-field select,.quick-form .quick-field textarea,
 .quick-primary-row .smart-combo input:not([type=hidden]),
 .quick-primary-row .quick-date-input input{font-size:16px!important}
 .quick-form .quick-field select,.quick-form .quick-field input:not([type=radio]):not([type=checkbox]):not([type=file]){min-height:48px}
 .quick-primary-row .quick-amount-wrap input{font-size:24px!important;min-height:60px!important}
 .smart-add{min-height:36px;font-size:12px;padding:7px 10px}
 .quick-primary-row .smart-combo{min-height:50px}
 .quick-primary-row .smart-combo input:not([type=hidden]){min-height:48px!important}
 .quick-date-input input{padding-right:12px!important}
 .quick-upload{gap:10px}
 .quick-upload>span:nth-child(2){min-width:0;flex:1 1 170px}
 .quick-upload-button{min-height:39px;display:inline-flex;align-items:center;justify-content:center}
 .quick-actions{display:grid;grid-template-columns:1fr;gap:9px;align-items:stretch}
 .quick-actions .btn{width:100%;min-height:50px;font-size:13px;white-space:normal;line-height:1.6}
 .quick-actions .quick-submit{min-width:0}
 .quick-actions .btn-ghost{min-width:0}
 .quick-pay-choice span{min-height:44px;font-size:12px}
 .quick-check-fields{grid-template-columns:1fr}
 .quick-check-status{grid-column:auto;min-height:44px}
 .quick-shortcut{display:none}
 .smart-options{max-height:min(40vh,280px)}
 .calendar-flyout{padding:14px 10px;border-radius:18px}
 .calendar-days button{min-height:39px;font-size:13px}
 .calendar-header button{min-width:44px;min-height:40px;font-size:16px}
 .quick-preview-card,.quick-side-card{padding:18px}
}
@media(max-width:390px){
 .quick-card{padding:16px 12px}
 .quick-page-icon{display:none}
 .quick-page-heading{padding-inline:4px}
 .quick-form{gap:16px}
 .quick-tabs a{min-width:100px}
 .quick-primary-row{gap:13px}
 .quick-upload{display:grid;grid-template-columns:40px 1fr;align-items:center}
 .quick-upload-icon{width:40px;height:40px}
 .quick-upload-button{grid-column:1/-1}
 .smart-option small{font-size:10px;max-width:90px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media(prefers-reduced-motion:reduce){.quick-page *, .quick-page *::before, .quick-page *::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}


/* Consistent control heights and three settlement choices */
.quick-primary-row .quick-amount-wrap input,
.quick-primary-row .smart-combo,
.quick-primary-row .quick-date-input input{height:54px!important;min-height:54px!important;max-height:54px!important;box-sizing:border-box}
.quick-primary-row .smart-combo input:not([type=hidden]){height:52px!important;min-height:52px!important;max-height:52px!important}
.quick-primary-row .quick-amount-wrap input{font-size:20px!important}
.quick-options-row{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);align-items:start}
.quick-options-row .quick-field>select,
.quick-options-row .quick-pay-methods{height:54px!important;min-height:54px!important;box-sizing:border-box}
.quick-options-row .quick-field>select{padding-block:8px}
.quick-pay-choice span{height:100%;font-size:12px}
.quick-check-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}
.quick-check-description{grid-column:1/-1}
.quick-check-endorsement{grid-column:1/-1;padding:11px 13px;background:#fff;border:1px solid #e0eae2;border-radius:10px}
.quick-check-endorsement .quick-check-status{min-height:34px}
.quick-check-endorsement .quick-field{margin-top:9px}
.quick-check-endorsement .quick-field[hidden]{display:none!important}
.quick-check-endorsement select{width:100%;max-width:100%;min-height:49px}
@media(max-width:720px){
 .quick-primary-row .quick-amount-wrap input,
 .quick-primary-row .smart-combo,
 .quick-primary-row .quick-date-input input{height:54px!important;min-height:54px!important;max-height:54px!important}
 .quick-primary-row .smart-combo input:not([type=hidden]){height:52px!important;min-height:52px!important;max-height:52px!important}
 .quick-options-row{grid-template-columns:1fr;gap:14px}
 .quick-options-row .quick-field>select,.quick-options-row .quick-pay-methods{height:54px!important;min-height:54px!important}
 .quick-pay-choice span{font-size:11px;gap:4px;padding:8px 3px}
 .quick-check-fields{grid-template-columns:1fr}
 .quick-check-description,.quick-check-endorsement{grid-column:1}
}


/* Quick-create party popup */
.quick-modal[hidden]{display:none!important}
.quick-modal{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:16px}
.quick-modal-backdrop{position:absolute;inset:0;background:rgba(12,32,22,.62);backdrop-filter:blur(4px)}
.quick-modal-dialog{position:relative;z-index:1;width:min(100%,510px);max-height:min(90dvh,760px);overflow:auto;overscroll-behavior:contain;background:#fff;border-radius:20px;box-shadow:0 24px 90px #001d113d;padding:24px}
.quick-modal-open{overflow:hidden}
.quick-modal-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.quick-modal-heading h2{font-size:19px;color:#144b35;margin:0}
.quick-modal-heading p{font-size:12px;color:#7c9485;margin:4px 0 0}
.quick-modal-x{display:grid;place-items:center;border:1px solid #dceae0;background:#f4faf5;border-radius:10px;width:38px;height:38px;font-size:26px;color:#496b55;cursor:pointer;flex-shrink:0}
.quick-modal-form{display:grid;gap:14px}
.quick-modal-form .quick-field{display:grid;gap:6px;min-width:0}
.quick-modal-form input,.quick-modal-form select,.quick-modal-form textarea{width:100%;max-width:100%;min-width:0;min-height:46px;border:1px solid #d5e5d9;border-radius:10px;padding:10px 13px;font:inherit;font-size:14px;background:#fff;color:#203d2c}
.quick-modal-form textarea{resize:vertical;line-height:1.9}
.quick-modal-form input:focus,.quick-modal-form select:focus,.quick-modal-form textarea:focus{outline:2px solid #78c8a0;outline-offset:1px}
.quick-modal-error{padding:9px 12px;border-radius:9px;background:#fff1ef;color:#a33c30;font-size:12px}
.quick-modal-error[hidden]{display:none}
.quick-modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:5px}
.quick-modal-actions .btn{min-height:46px}
@media(max-width:600px){
 .quick-modal{padding:0;align-items:end}
 .quick-modal-dialog{width:100%;max-height:94dvh;border-radius:20px 20px 0 0;padding:20px 16px max(20px,env(safe-area-inset-bottom))}
 .quick-modal-form input,.quick-modal-form select,.quick-modal-form textarea{font-size:16px}
 .quick-modal-actions{display:grid;grid-template-columns:1fr 1fr}
 .quick-modal-actions .btn{width:100%;font-size:12px}
}


/* Stronger mobile quick-entry readability */
@media(max-width:720px){
 .body-quick .quick-kicker{font-size:12px;font-weight:800;color:#087b5a}
 .body-quick .quick-hero p,.body-quick .quick-intro,.body-quick .quick-help,.body-quick .quick-note{font-size:13px!important;font-weight:600!important;color:#526d5d!important;line-height:1.9}
 .body-quick .quick-label{font-size:14px;font-weight:800;color:#193d2c}
 .body-quick .quick-form input:not([type=radio]):not([type=checkbox]):not([type=file]),.body-quick .quick-form select,.body-quick .quick-form textarea{font-size:16px;font-weight:600}
 .body-quick .quick-form input::placeholder,.body-quick .quick-form textarea::placeholder{color:#647c6e!important;font-weight:500!important;opacity:1}
 .body-quick .quick-tabs a{font-size:13px;font-weight:800;color:#365a49}
}

/* Local previews of selected attachments before saving a transaction */
.quick-upload-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;margin-top:7px}
.quick-preview-file{min-width:0;overflow:hidden;background:#f7faf8;border:1px solid #d9e9df;border-radius:12px;padding:6px;text-align:center}
.quick-preview-file>a{display:block}
.quick-preview-file img{display:block;width:100%;height:105px;object-fit:contain;border-radius:8px;background:#fff}
.quick-preview-file small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#526b5d;margin-top:6px}
.quick-preview-pdf{min-height:105px;display:grid;place-items:center;border-radius:8px;background:#f1f3f6;color:#5b6b76;font-size:20px;font-weight:800}
@media(max-width:720px){.quick-upload-previews{grid-template-columns:repeat(auto-fill,minmax(92px,1fr))}.quick-preview-file img{height:96px}}
