/* Inline rendering of the original accounting module; no duplicate accounting business rules. */
.hv695InlineAccounting{padding:0!important;min-width:0}
.hv695Accounting{min-width:0;color:var(--text,#142744);font-size:12px;line-height:1.35}
.hv695Accounting *{box-sizing:border-box}
.hv695Accounting .card{background:white;border:1px solid #d3e0ed;border-radius:8px;margin:5px 0;padding:9px;min-width:0}
.hv695Accounting h2{font-size:14px;margin:0 0 8px}.hv695Accounting h3{font-size:13px;margin:9px 0 5px}
.hv695Accounting label{font-size:11px;font-weight:650;display:grid;gap:4px;min-width:0}
.hv695Accounting input,.hv695Accounting select{width:100%;min-width:0;padding:6px;border:1px solid #aec2d4;border-radius:6px;background:white;font:inherit}
.hv695Accounting button{border:1px solid #9cbcd6;background:#eff7ff;color:#15527d;padding:5px 7px;border-radius:6px;font:inherit;font-weight:700;min-height:30px;cursor:pointer}
.hv695Accounting button.primary{background:#166293;border-color:#166293;color:#fff}
.hv695Accounting .tabs{display:flex;gap:5px;flex-wrap:wrap}
.hv695Accounting .grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(128px,1fr));gap:8px}
.hv695Accounting .num{font-size:clamp(13px,3vw,18px);font-weight:750;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.hv695Accounting .meta{font-size:11px;color:#596f83}
.hv695Accounting .line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:5px;padding:7px 0;border-bottom:1px solid #edf2f7;overflow-wrap:anywhere}
.hv695Accounting .hidden{display:none!important}
.hv695Accounting .msg{padding:8px;border-radius:6px;background:#e3f3eb}.hv695Accounting .error{background:#ffe9e7;color:#8d251d}
.hv695Accounting .notice{background:#fff8e7;border-left:3px solid #d8a32a;padding:7px}.hv695Accounting .stack{display:grid;gap:6px}
.hv695Accounting .pill{display:inline-block;padding:2px 6px;border-radius:20px;background:#e6f2fc}.hv695Accounting .warn{color:#a33b23;font-weight:700}
@media(max-width:390px){.hv695Accounting .card{padding:7px}.hv695Accounting .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.hv695Accounting .tabs button{flex:1 1 auto;font-size:10px!important}.hv695Accounting .line>*{min-width:0}}

/* The management role heading is the ONLY heading in this area. */
.hv695ManagementScreen #accountWorkspaceTitle{display:none!important}
.hv695ManagementScreen #rolePanel{padding-top:8px!important}
.hv695ManagementScreen #roleWorkspace>.section-title:first-child{margin:0 0 5px!important;padding:0!important;font-size:16px;line-height:1.15}
.hv695ManagementScreen #rolePanel .roleBox{margin-top:0!important}

/* Restored management route may bypass openAccountArea: suppress duplicate heading there, too. */
#rolePanel:has(#roleWorkspace>.section-title) > #accountWorkspaceTitle{display:none!important}

/* v7.05 – hierarchical accounting menu and voucher forms */
.hv695Accounting .hv705AdminMenu{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}
.hv695Accounting .hv705AdminMenu button{padding:6px 2px;font-size:11px}
.hv695Accounting .hv705Channels{display:flex;flex-wrap:wrap;gap:5px}
.hv695Accounting .hv705Channels button{flex:1 1 60px}
.hv695Accounting .hv705Check{display:flex;align-items:center;gap:7px;margin:9px 0}
.hv695Accounting .hv705Check input{width:17px;height:17px}
.hv695Accounting .hv705VoucherList{max-height:470px;overflow:auto}
@media(max-width:390px){.hv695Accounting .hv705AdminMenu button{font-size:10px!important;min-height:34px}.hv695Accounting .hv705AdminMenu{gap:3px}}
