/* HDS light admin theme inspired by the supplied dashboard reference. */
:root{--ink:#343747;--muted:#858a9b;--line:#edf0f5;--blue:#6c6df4;--nav:#fff;--bg:#f4f5f8;--teal:#eeedff}
body{color:var(--ink);background:var(--bg);font-size:14px}a{color:#6366e8}.sidebar{width:250px;padding:26px 16px 18px;background:#fff;color:#616675;border-right:1px solid #eef0f5;z-index:1100;transition:transform .2s ease}.brand{display:flex;align-items:center;gap:12px;color:#252638;font-size:25px;font-weight:650;letter-spacing:2px;line-height:1.15;padding:0 10px;margin-bottom:18px}.brand span{color:#6c6df4}.brand small{font-size:9px;letter-spacing:1.6px;color:#999dab;font-weight:500;margin:6px 0 0}.brand-mark{width:39px;height:39px;display:grid;place-items:center;background:#eeedff;border-radius:12px;color:#6c6df4;flex-shrink:0}.brand-mark svg{width:25px;height:25px}.nav-caption{color:#a2a5b3;font-size:9px;letter-spacing:1.4px;margin:22px 13px 10px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:6px;color:#646977;font-size:13px;font-weight:500;margin-bottom:4px}.sidebar nav a:hover,.sidebar nav a.selected{color:#696bf1;background:#f0f0ff}.nav-icon{height:18px;width:18px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.sidebar-foot{border-top:1px solid var(--line);margin-top:30px;padding:20px 12px 0;color:#565969}.sidebar-foot small{color:#a0a3b1}.sidebar-foot a,.sidebar-foot button{color:#74798d}.main{margin-left:250px;min-width:0;transition:margin-left .2s ease}.topbar{height:76px;border:0;box-shadow:0 5px 22px #25283d08;padding:0 30px;gap:18px;position:sticky;top:0;z-index:1000;background:#fff}.topbar-left,.topbar-right{display:flex;align-items:center;gap:18px;min-width:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border:0;background:transparent;border-radius:8px;color:#717586}.icon-button:hover{background:#f1f0ff;color:#6c6df4}.icon-button svg{width:20px;height:20px}.top-search{display:flex;align-items:center;position:relative;width:250px;margin:0}.top-search input{margin:0;padding-right:42px;border:0;background:#f1f2ff;min-height:42px;font-size:12px}.top-search button{position:absolute;right:4px;top:3px}.header-dates{display:flex;flex-direction:column;gap:2px;text-align:right;line-height:1.4;font-variant-numeric:tabular-nums;color:#777c8f;font-size:11px}.header-dates strong{font-size:12px;color:#565b70;font-weight:550}.user-menu{position:relative}.user-menu>summary{list-style:none;display:flex;align-items:center;gap:9px;padding:5px;cursor:pointer;color:#595d70}.user-menu>summary::-webkit-details-marker{display:none}.user-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#ecebff;color:#6c6df4;font-size:14px;font-weight:650}.user-name{font-size:12px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-dropdown{position:absolute;right:0;top:48px;width:210px;border-radius:9px;background:#fff;border:1px solid var(--line);box-shadow:0 10px 35px #30334d24;padding:10px}.user-dropdown small{display:block;padding:8px 10px 14px;color:#9498a8;font-size:10px;text-transform:uppercase;letter-spacing:1px}.user-dropdown a,.user-dropdown button{display:block;text-align:left;width:100%;padding:10px;border:0;background:none;font-size:12px;color:#6b6f80;border-radius:5px}.user-dropdown a:hover,.user-dropdown button:hover{background:#f5f5fc;text-decoration:none}.user-dropdown button{color:#ef6376}.content{padding:30px;max-width:1660px}.page-head{margin:0 0 24px;gap:16px}h1{font-size:25px;font-weight:650;letter-spacing:-.5px;margin:6px 0}h2{font-size:16px;font-weight:600}.eyebrow{color:#989dad;font-size:9px;font-weight:550;letter-spacing:1.5px}.card{border:0;box-shadow:0 4px 22px #30344e09;border-radius:11px;padding:24px}.metrics{gap:22px}.metric{position:relative;border:0;border-radius:12px;box-shadow:0 6px 20px #30344e10;padding:24px;min-height:148px;border-top:3px solid #8482f6;overflow:hidden}.metric:nth-child(2){border-top-color:#52c5b3}.metric:nth-child(3){border-top-color:#efa655}.metric:nth-child(4){border-top-color:#899deb}.metric span{font-size:13px;color:#5b6073;font-weight:550}.metric strong{font-size:27px;font-weight:650;color:#343747}.metric small{font-size:10px;color:#9297a6}.metric.accent{background:#fff}.metric.accent strong{color:#6c6df4}.button{background:#6c6df4;border-radius:7px;box-shadow:0 3px 8px #6c6df425;font-size:12px}.button:hover{background:#595bd8}.button.secondary{background:#fff;color:#777b90;border-color:#e4e6ef;box-shadow:none}.button.secondary:hover{background:#f6f5ff;border-color:#d8d6fa}.action{background:#fff;border-color:#ecedf5;color:#656b80;padding:16px;border-radius:8px}.action:hover{background:#f5f4ff;border-color:#dcdafb;text-decoration:none}.action span{color:#9f9af4}th{background:#f7f8fc;color:#8990a2;font-size:10px;padding:15px 13px}td{padding:15px 13px;border-bottom-color:#f0f1f6;color:#626779}tbody tr:hover{background:#fcfcff}.badge{background:#f0efff;color:#7875d5;border-radius:5px}.section-head{margin-bottom:22px}.form-grid{gap:0 20px}label{color:#676d7f;font-weight:500;font-size:12px}input,select,textarea{border-color:#e0e3ed;color:#53596d;border-radius:6px;min-height:42px}input:focus,select:focus,textarea:focus{outline:2px solid #7776f433;outline-offset:0;border-color:#8482f5}.entry-control{border-color:#e0e3ed;border-radius:6px;color:#53596d}.entry-control:focus-within,.entry-control:has([aria-expanded="true"]){border-color:#8482f5;box-shadow:0 0 0 2px #7776f41a}.alert.success{background:#e7f7f0;color:#3b8f70}.footer{color:#a3a7b5}.guest{background:#f2f2fa}.login-card{border:0;box-shadow:0 12px 50px #4042710f}.sidebar-backdrop{display:none}.sidebar-collapsed .sidebar{transform:translateX(-100%)}.sidebar-collapsed .main{margin-left:0}
/* Keep each date pair together; reset generic filter-label minimum widths. */
.dual-date{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px;border:0;border-radius:0;background:transparent;padding:0;margin:0 0 18px;min-width:0;align-content:start;flex:1 1 320px}.dual-date legend{font-size:12px;font-weight:500;color:#676d7f;padding:0;margin-bottom:6px;float:none;width:100%}.dual-date label,.filters .dual-date label{min-width:0;width:100%;margin:0;flex:none;font-size:10px;color:#9297a8;display:block}.dual-date input{width:100%;min-width:0;min-height:42px;margin:4px 0 0;padding:10px;font-size:13px;letter-spacing:.1px}.dual-date [data-ad-input]{background:#f8f9fc;color:#7e8597}.dual-date input:focus{outline:2px solid #7776f433;border-color:#8482f5}.dual-date .calendar-mode{grid-column:1/-1;display:flex;gap:10px;align-items:center;font-size:11px}.dual-date .calendar-mode select{width:80px;min-height:30px;margin:0;padding:4px 8px}.dual-date.date-enhanced .calendar-mode{display:none}.dual-date>[data-date-message]{grid-column:1/-1;min-height:16px;font-size:10px;font-weight:400;line-height:1.5;margin:0;color:#969cab}.form-grid.three>.dual-date{grid-column:span 2}.filters>.dual-date{max-width:420px;margin-bottom:0}.filters>.dual-date~.button{margin-bottom:23px}.bs-picker{border-color:#e4e5f0;border-radius:9px;box-shadow:0 10px 34px #33375924;padding:10px}.bs-picker-selects select{color:#64697c}.bs-picker-days>button.bs-selected{background:#6c6df4}.bs-picker-days>button.bs-selected:hover{background:#5b5dde}.bs-picker-days>button.bs-today:not(.bs-selected){box-shadow:inset 0 0 0 1px #8582f5}.bs-picker-foot button{color:#6c6df4}
@media(max-width:1150px){.top-search{width:190px}.topbar{padding:0 24px;gap:12px}.user-name{display:none}.metrics{gap:16px}.content{padding:24px}.topbar-left,.topbar-right{gap:12px}}
@media(max-width:900px){.sidebar{position:fixed;inset:0 auto 0 0;transform:translateX(-100%);padding:26px 16px 18px;width:250px;display:flex}.sidebar nav{display:block}.sidebar nav a{padding:12px 14px;font-size:13px}.sidebar .nav-caption{display:block}.sidebar-foot{display:block;margin-top:30px;padding:20px 12px 0;border-color:var(--line)}.sidebar-foot small{display:block}.sidebar-foot a{margin-top:14px}.main{margin-left:0}.sidebar-open .sidebar{transform:translateX(0)}.sidebar-open .sidebar-backdrop{display:block;position:fixed;inset:0;z-index:1050;background:#25284466;border:0}.topbar{height:70px}.brand small{margin-bottom:0}}
@media(max-width:600px){.content{padding:18px 14px}.topbar{padding:0 12px;gap:8px}.top-search{width:150px}.topbar-left,.topbar-right{gap:8px}.header-dates{font-size:9px}.header-dates strong{font-size:10px}.user-menu>summary{padding:0}.user-avatar{width:30px;height:32px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.metric{padding:16px;min-height:134px}.metric strong{font-size:22px;overflow-wrap:anywhere}.metric span{font-size:11px}.card{padding:18px}.form-grid.three>.dual-date{grid-column:1/-1}.dual-date{gap:5px 10px}.filters>.dual-date{max-width:none;flex-basis:100%}.filters>.dual-date~.button{margin-bottom:0}.dual-date input{font-size:12px;padding:9px 7px}.page-head{align-items:flex-start}.user-dropdown{right:0}}
@media(max-width:380px){.top-search{width:118px}.header-dates{display:none}}
@media(prefers-reduced-motion:reduce){.sidebar,.main{transition:none}}
@media print{.sidebar,.topbar,.sidebar-backdrop,.user-dropdown{display:none!important}.main,.sidebar-collapsed .main{margin:0!important}.content{padding:0}.card,.metric{box-shadow:none;border:0;border-radius:0}body{background:#fff;color:#000}.bs-picker{display:none!important}td{color:#000}}
@media(min-width:601px) and (max-width:760px){.form-grid.three>.dual-date{grid-column:1/-1}}
@media print{a{color:inherit}}
/* Controls v2: consistent field rows, usable compact navigation and appearance. */
.form-grid,.form-grid.three{align-items:start;row-gap:18px}.form-grid>label{margin:0;line-height:18px;min-width:0}.form-grid>label>input,.form-grid>label>select,.form-grid>label>.entry-control{margin-top:6px}.dual-date{margin:0;gap:6px 12px}.dual-date label,.filters .dual-date label{font-size:12px;line-height:18px;color:#676d7f}.dual-date input{margin-top:6px;height:42px;padding:10px 11px;font-size:13px}.dual-date .calendar-mode{margin-top:0}.dual-date>[data-date-message]{font-size:10px;line-height:16px}.filters{align-items:flex-start}.filters>label{line-height:18px}.filters>.button,.filters>.dual-date~.button{margin-top:24px;margin-bottom:0;height:42px}.form-grid.three>.dual-date{grid-column:span 2}.form-grid label>small{line-height:16px}.transaction-form [data-lines] input,.transaction-form [data-lines] select,.transaction-form [data-lines] .entry-control{margin-top:0;min-height:42px}.transaction-form [data-lines] output{display:block;line-height:42px}.entry-control{min-width:0;min-height:42px}.entry-balance{min-width:0}.profile-photo{width:112px;height:112px;object-fit:cover;border-radius:20px;margin-bottom:20px}.user-avatar{object-fit:cover}.profile-remove{margin-top:16px}.top-search{flex-shrink:1;min-width:110px}.live-search-results{position:absolute;top:calc(100% + 10px);left:0;width:430px;max-width:calc(100vw - 24px);max-height:65vh;overflow:auto;padding:8px;background:#fff;box-shadow:0 12px 34px #33375924;border:1px solid #e4e5f0;border-radius:9px;z-index:1200}.live-search-results p{margin:4px 10px 8px;font-size:12px;color:#858a9b}.live-search-results a{display:flex;flex-direction:column;gap:3px;padding:10px;border-radius:6px;color:#575d72;font-size:12px}.live-search-results a:hover,.live-search-results a:focus{background:#f1f0ff;text-decoration:none}.live-search-results small{font-size:10px;color:#858a9b}.live-search-results .search-all{color:#6c6df4}.icon-button[aria-pressed="true"]{background:#eeedff;color:#6c6df4}
@media(min-width:901px){.sidebar-collapsed .sidebar{transform:none;width:78px;padding:26px 10px 18px}.sidebar-collapsed .main{margin-left:78px}.sidebar-collapsed .sidebar .brand{padding:0;justify-content:center}.sidebar-collapsed .sidebar .brand>div,.sidebar-collapsed .sidebar .nav-label,.sidebar-collapsed .sidebar .nav-caption,.sidebar-collapsed .sidebar .sidebar-foot{display:none}.sidebar-collapsed .sidebar nav a{justify-content:center;padding:13px 8px}.sidebar-collapsed .sidebar nav .nav-icon{height:21px;width:21px}}
@media(max-width:760px){.form-grid.three>.dual-date{grid-column:1/-1}}
@media(max-width:600px){.topbar{flex-wrap:wrap;height:auto;min-height:70px;padding:10px 12px;gap:10px}.topbar-left{flex:1;gap:5px}.topbar-right{gap:5px}.header-dates{display:none}.top-search{width:auto;flex:1}.live-search-results{position:fixed;top:70px;left:12px;width:calc(100vw - 24px)}.filters>.button,.filters>.dual-date~.button{margin-top:0}.dual-date label,.filters .dual-date label{font-size:11px}}
/* Dark appearance covers shared forms, dropdowns, reports and calendar. */
html[data-theme="dark"]{color-scheme:dark;--ink:#e4e6ef;--muted:#a1a8bc;--line:#363a50;--bg:#1b1d2b;--nav:#252838}
html[data-theme="dark"] body,html[data-theme="dark"] .guest{background:#1b1d2b;color:#e4e6ef}
html[data-theme="dark"] :is(.sidebar,.topbar,.card,.metric,.metric.accent,.login-card,.user-dropdown,.live-search-results,.entry-menu,.entry-dialog,.bs-picker){background:#252838;color:#e4e6ef;border-color:#363a50}
html[data-theme="dark"] :is(h1,h2,.brand,.metric strong,.metric.accent strong,.metric span,.header-dates strong){color:#e4e6ef}
html[data-theme="dark"] :is(label,.dual-date label,.filters .dual-date label,td,.sidebar-foot,.user-menu>summary){color:#b8bfd1}
html[data-theme="dark"] :is(input,select,textarea,.dual-date [data-ad-input],.entry-control,.entry-menu input,.bs-picker-selects select){background:#1e2130;color:#d7dced;border-color:#43495e}
html[data-theme="dark"] :is(.sidebar nav a,.user-dropdown a,.live-search-results a){color:#b8bfd1}
html[data-theme="dark"] :is(.sidebar nav a:hover,.sidebar nav a.selected,.user-dropdown a:hover,.user-dropdown button:hover,.live-search-results a:hover,.live-search-results a:focus,.icon-button:hover,.entry-options .is-active,.entry-options [role="option"]:hover){background:#363653;color:#c2bcff}
html[data-theme="dark"] :is(th,.badge,.button.secondary,.action,.top-search input,.brand-mark,.icon-button[aria-pressed="true"]){background:#30344b;color:#c6c8ef;border-color:#43495e}
html[data-theme="dark"] tbody tr:hover{background:#292d41}html[data-theme="dark"] td{border-color:#363a50}
html[data-theme="dark"] .entry-options [aria-selected="true"]{background:#413d64;color:#ddd6ff}
html[data-theme="dark"] .bs-picker-days>button:hover:not(:disabled){background:#3c3b59}html[data-theme="dark"] .bs-picker-days>button.bs-selected{background:#6c6df4;color:#fff}
html[data-theme="dark"] :is(.bs-picker-head,.bs-picker-foot,.form-footer){border-color:#43495e}
html[data-theme="dark"] :is(.help,.muted,td small,.metric small,.eyebrow,.bs-picker-title small,.live-search-results small){color:#a1a8bc}
html[data-theme="dark"] .entry-balance{color:#87d9ba}html[data-theme="dark"] a{color:#aaa2ff}
html[data-theme="dark"] .alert.success{background:#243e38;color:#9ee2c7}html[data-theme="dark"] .alert.error{background:#482c35;color:#ffbec5;border-color:#804150}
/* Tax invoice paper and printed reports always remain legible on white paper. */
html[data-theme="dark"] .tax-invoice{background:#fff;color:#111}
@media print{html[data-theme="dark"]{color-scheme:light}html[data-theme="dark"] body,html[data-theme="dark"] :is(.card,.metric,.tax-invoice){background:#fff!important;color:#111!important}html[data-theme="dark"] :is(h1,h2,label,td,th,a,.help,.muted){color:#111!important}html[data-theme="dark"] th{background:#f3f3f3!important}.sidebar-collapsed .main{margin-left:0}.live-search-results{display:none!important}}
.entry-control{height:42px}.entry-trigger,.entry-add{min-height:40px}
html[data-theme="dark"] .bill-paper{color-scheme:light;background:#fff;color:#111}html[data-theme="dark"] .bill-paper :is(h2,td,th,a,small){color:#111!important}html[data-theme="dark"] .bill-paper :is(th,tr:hover){background:#fff}html[data-theme="dark"] .bill-paper td{border-color:#777}
.catalog-control{display:flex;align-items:stretch;gap:6px;margin-top:6px}.catalog-control input{margin:0;min-width:0}.catalog-control button{padding:5px 12px;font-size:20px;box-shadow:none}.stock-unit{display:inline-block;margin-right:14px;font-variant-numeric:tabular-nums}.stock-actions{display:flex;gap:10px;margin-bottom:18px}.stock-branch{border:1px solid var(--line);border-radius:6px;margin:10px 0}.stock-branch>summary{display:list-item;list-style-position:inside;padding:12px;color:var(--ink);background:var(--bg);cursor:pointer}.stock-branch>summary>span{margin:0 20px}.stock-category{margin:10px 12px}.stock-branch>summary>strong:last-child{float:right}.stock-branch table{margin:0}.stock-branch summary::after{content:'';display:block;clear:both}@media(max-width:600px){.stock-branch>summary>strong:last-child{float:none;display:block}.stock-branch>summary>span{display:block;margin:4px 0}}@media print{.stock-actions{display:none}.stock-branch{break-inside:auto}.stock-branch>summary{background:#fff;color:#000}}
.catalog-control{position:relative;display:flex;width:100%;min-width:0}.catalog-control>input{flex:1;min-width:0}.catalog-control>.button{flex:none;padding:5px 9px}.catalog-menu{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:1500;background:#fff;border:1px solid #dce0ed;border-radius:7px;padding:5px;box-shadow:0 8px 24px #20254022;max-height:220px;overflow:auto}.catalog-menu button{display:block;width:100%;padding:9px 10px;border:0;background:transparent;color:#53596d;text-align:left;font:inherit;border-radius:4px}.catalog-menu button:hover,.catalog-menu button.is-active{background:#eeedff;color:#6563d8}.catalog-menu p{padding:8px;font-size:12px;margin:0}.catalog-dialog{max-width:430px}.catalog-dialog::backdrop{background:#15182966}html[data-theme="dark"] :is(.catalog-menu,.catalog-dialog){background:#252838;color:#e4e6ef;border-color:#43495e}html[data-theme="dark"] .catalog-menu button{color:#d7dced}html[data-theme="dark"] .catalog-menu button:hover,html[data-theme="dark"] .catalog-menu button.is-active{background:#3c3b59}@media print{.catalog-menu,.catalog-dialog{display:none!important}}
/* Product master: creation above a full-width, paginated item register. */
.product-master{display:flex;flex-direction:column;gap:0;min-width:0}.product-master>.card{width:100%}.product-master .product-create>.form-grid,.product-master .product-create>form>.form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.product-create-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;padding:14px 0 18px;border-bottom:1px solid var(--line);margin-bottom:22px}.product-create-tools>label{flex:1;min-width:220px;margin:0}.product-create-tools>.help{flex-basis:100%;margin:0}.product-master #product-list,.product-master #master-create{scroll-margin-top:96px}.product-master #product-list nav a{display:inline;color:#6366e8;background:transparent;margin:0;border-radius:0}.product-master #product-list>.filters{align-items:end}.product-master #product-list>.filters>a{padding-bottom:10px}.product-master #product-list>.filters>button{margin:0}.product-master .pagination{margin:14px 0}.product-master .product-create>form>.help{margin-top:16px}.product-master td>form{margin:0}html[data-theme="dark"] .product-master #product-list nav a{color:#aaa2ff}@media(max-width:1150px){.product-master .product-create>form>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.product-master .product-create>form>.form-grid{grid-template-columns:1fr}.product-create-tools{align-items:stretch;flex-direction:column}.product-create-tools>label{min-width:0;width:100%}.product-master .section-head{flex-wrap:wrap}}@media print{.product-create-tools,.product-master #product-list>.filters{display:none}}

/* Fiscal-year controls align with the existing header on desktop and mobile. */
.fiscal-switch{margin:0;min-width:170px}.fiscal-switch label{display:block;font-size:11px;margin:0 0 3px}.fiscal-switch>div{display:flex;align-items:center;gap:5px}.fiscal-switch select{min-height:34px;height:34px;padding:4px 8px;width:145px}.fiscal-switch .button{min-height:34px;padding:5px 10px}.fiscal-context{padding:10px 14px;margin-bottom:18px;border-radius:8px;background:var(--surface-soft,#eef0ff);color:var(--text,#313652);font-size:13px}
@media(max-width:1100px){.topbar{flex-wrap:wrap;gap:8px;height:auto!important;min-height:74px}.topbar-right{flex-wrap:wrap}.header-dates{display:none}.top-search{max-width:220px}}
@media(max-width:640px){.topbar-left,.topbar-right{width:100%;justify-content:space-between}.fiscal-switch{flex:1}.fiscal-switch select{width:100%}.fiscal-switch>div{max-width:260px}}

/* Keep the sales item picker readable as description and amount columns grow. */
.transaction-form .sales-entry-lines{width:100%;min-width:1060px;table-layout:fixed}
.sales-entry-lines th:nth-child(1){width:34%}
.sales-entry-lines th:nth-child(2){width:21%}
.sales-entry-lines th:nth-child(3){width:10%}
.sales-entry-lines th:nth-child(4){width:12%}
.sales-entry-lines th:nth-child(5){width:13%}
.sales-entry-lines th:nth-child(6){width:10%}
.transaction-form .sales-entry-lines input,.transaction-form .sales-entry-lines select,.transaction-form .sales-entry-lines .entry-control{width:100%;min-width:0;box-sizing:border-box}
.sales-entry-lines .entry-caption{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.sales-entry-lines td{vertical-align:top}
.sales-entry-lines td:nth-child(3) input,.sales-entry-lines td:nth-child(4) input{text-align:right;padding-left:8px;padding-right:8px}

.transaction-form .purchase-entry-lines{width:100%;min-width:820px;table-layout:fixed}.purchase-entry-lines th:nth-child(1){width:56%}.purchase-entry-lines th:nth-child(2){width:15%}.purchase-entry-lines th:nth-child(3){width:17%}.purchase-entry-lines th:nth-child(4){width:12%}.purchase-entry-lines .entry-control,.purchase-entry-lines select,.purchase-entry-lines input{width:100%;min-width:0;box-sizing:border-box}.purchase-entry-lines .entry-caption{white-space:normal;overflow-wrap:anywhere;line-height:1.4}
.account-voucher-grid,.settlement-voucher-grid{width:100%;min-width:1000px;table-layout:fixed}.account-voucher-grid th:nth-child(1),.settlement-voucher-grid th:nth-child(1){width:5%}.account-voucher-grid th:nth-child(2),.settlement-voucher-grid th:nth-child(2){width:5%}.account-voucher-grid th:nth-child(3),.settlement-voucher-grid th:nth-child(3){width:31%}.account-voucher-grid th:nth-child(4),.account-voucher-grid th:nth-child(5),.settlement-voucher-grid th:nth-child(4),.settlement-voucher-grid th:nth-child(5){width:13%}.account-voucher-grid th:nth-child(6){width:25%}.account-voucher-grid th:nth-child(7){width:8%}.transaction-form :is(.account-voucher-grid,.settlement-voucher-grid) :is(input,select,.entry-control){width:100%;min-width:0;margin:0;box-sizing:border-box}.account-voucher-grid td,.settlement-voucher-grid td{vertical-align:top;padding:9px 7px}.account-voucher-grid .entry-caption,.settlement-voucher-grid .entry-caption{white-space:normal;overflow-wrap:anywhere}.account-voucher-grid input[inputmode=decimal],.settlement-voucher-grid input[inputmode=decimal]{text-align:right}.account-voucher-grid output,.settlement-voucher-grid output{display:block;padding:10px 0;font-variant-numeric:tabular-nums}.transaction-form .notes{margin-top:20px}
