/* _content/AlSayegh.Platform.Web/Components/Account/Pages/Manage/Index.razor.rz.scp.css */
.account-print-settings-cards[b-69sce3tqsx]{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:30px}.account-print-settings-cards>a[b-69sce3tqsx]{display:flex;align-items:center;gap:15px;padding:24px;border:1px solid #dce5dc;border-radius:15px;background:#fff;color:#214a3a;text-decoration:none;transition:border-color .15s,box-shadow .15s}.account-print-settings-cards>a:hover[b-69sce3tqsx]{border-color:#b28b37;box-shadow:0 7px 22px #193d3010}.settings-card-icon[b-69sce3tqsx]{width:50px;height:50px;display:grid;place-items:center;flex-shrink:0;background:#f8f1df;color:#ac8126;border-radius:13px;font-size:22px}.account-print-settings-cards h2[b-69sce3tqsx]{font-size:17px;margin:0 0 7px;font-weight:800}.account-print-settings-cards p[b-69sce3tqsx]{font-size:12px;color:#7c887e;line-height:1.8;margin:0}.account-print-settings-cards>a>i[b-69sce3tqsx]{margin-inline-start:auto;color:#a2af9f;font-size:12px}h3[b-69sce3tqsx]{font-size:20px;margin-bottom:20px}@media(max-width:800px){.account-print-settings-cards[b-69sce3tqsx]{grid-template-columns:1fr}.account-print-settings-cards>a[b-69sce3tqsx]{padding:20px}}
/* _content/AlSayegh.Platform.Web/Components/Account/Shared/ManageLayout.razor.rz.scp.css */
.account-settings-heading[b-7r7wruopl8]{margin:8px 0 25px}.account-settings-heading>span[b-7r7wruopl8]{font-size:11px;color:#aa8027;font-weight:700}.account-settings-heading h1[b-7r7wruopl8]{font-size:32px;margin:7px 0;color:#153e34;font-weight:800}.account-settings-heading p[b-7r7wruopl8]{font-size:13px;color:#7a8780;margin:0;line-height:1.8}.account-settings-shell[b-7r7wruopl8]{min-width:0}.account-settings-nav[b-7r7wruopl8]{margin-bottom:24px;padding:10px;background:#fff;border:1px solid #e0e7e2;border-radius:14px}.account-settings-nav[b-7r7wruopl8]  .nav{display:flex;flex-direction:row!important;flex-wrap:wrap;gap:5px;margin:0;padding:0;list-style:none}.account-settings-nav[b-7r7wruopl8]  .nav-link{padding:10px 14px;font-size:12px;border-radius:9px;color:#597164;font-weight:600;text-decoration:none;display:block}.account-settings-nav[b-7r7wruopl8]  .nav-link.active{background:#174638;color:#fff}.account-settings-nav[b-7r7wruopl8]  .nav-link:hover{background:#eef3ed;color:#194a36}.account-settings-nav[b-7r7wruopl8]  .nav-link.active:hover{background:#174638;color:#fff}.account-settings-body[b-7r7wruopl8]{min-width:0}.account-settings-body[b-7r7wruopl8] >.module-heading h2{font-size:24px;margin:0 0 6px;font-weight:800}.account-settings-body[b-7r7wruopl8] >.module-heading p{font-size:12px;color:#7b8880;margin:0}.account-settings-body[b-7r7wruopl8]  .document-preview-panel{top:85px}@media(max-width:600px){.account-settings-heading h1[b-7r7wruopl8]{font-size:27px}.account-settings-nav[b-7r7wruopl8]{padding:7px}.account-settings-nav[b-7r7wruopl8]  .nav-link{padding:9px 10px;font-size:11px}}
/* _content/AlSayegh.Platform.Web/Components/Layout/MainLayout.razor.rz.scp.css */
.app-shell[b-pz1or2pmmt] { min-height: 100vh; display: grid; grid-template-columns: 72px minmax(0, 1fr); direction: rtl; }
.guest-shell[b-pz1or2pmmt] { width:100%; min-height:100vh; margin:0; padding:clamp(1rem,3vw,2.5rem); background:var(--canvas); }
.sidebar[b-pz1or2pmmt] { min-height: 100vh; background: linear-gradient(180deg, #073f32 0%, #052f26 100%); border-left: 1px solid rgba(255,255,255,.08); color: #fff; position: sticky; top: 0; align-self: start; height: 100vh; overflow: hidden; z-index: 30; }
.workspace[b-pz1or2pmmt] { min-width: 0; isolation: isolate; }
.topbar[b-pz1or2pmmt] { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem clamp(1.25rem, 2vw, 1.9rem); background: rgba(255, 255, 255, .96); border-bottom: 1px solid #dde3df; backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 20; }
.workspace-context[b-pz1or2pmmt] { display:flex; align-items:center; gap:.7rem; }
.context-icon[b-pz1or2pmmt] { width:40px; height:40px; display:grid; place-items:center; border-radius:10px; color:var(--gold-dark); background:var(--gold-pale); font-size:.95rem; }
.eyebrow[b-pz1or2pmmt] { margin: 0 0 .05rem; color: var(--ink-muted); font-size: .72rem; font-weight: 700; }
.welcome[b-pz1or2pmmt] { margin: 0; font-size: 1rem; font-weight: 800; }
.topbar-actions[b-pz1or2pmmt] { display: flex; align-items: center; gap: .9rem; direction: rtl; }
.secure-status[b-pz1or2pmmt] { display: inline-flex; align-items: center; gap: .4rem; color: #2f6b52; background:#edf6f1; border:1px solid #d5e8de; border-radius:99px; padding:.4rem .7rem; font-size: .74rem; font-weight: 750; }
.secure-status i[b-pz1or2pmmt] { font-size:.66rem; }
.live-status[b-pz1or2pmmt] { display:inline-flex; align-items:center; gap:.5rem; min-height:36px; padding-inline:.75rem; border-left:1px solid #e1e6e3; color:#63736b; font-size:.78rem; font-weight:700; }
.live-status > span[b-pz1or2pmmt] { width:10px; height:10px; border-radius:50%; background:#20a35f; box-shadow:0 0 0 4px #e7f6ed; }
.profile-link[b-pz1or2pmmt] { display: flex; align-items: center; gap: .65rem; color: var(--ink); padding:.2rem .3rem .2rem .55rem; border:1px solid transparent; border-radius:10px; }
.profile-link:hover[b-pz1or2pmmt] { color:var(--ink); background:#f7f8f6; border-color:var(--line); }
.avatar[b-pz1or2pmmt] { width: 40px; height: 40px; display: grid; place-items: center; color: #66746d; background: #e7ece9; border-radius: 50%; font-size: 1rem; }
.profile-copy[b-pz1or2pmmt] { display: flex; flex-direction: column; max-width: 170px; }
.profile-copy strong[b-pz1or2pmmt] { font-size: .84rem; }
.profile-copy small[b-pz1or2pmmt] { color: var(--ink-muted); font-size: .7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-chevron[b-pz1or2pmmt] { color:#9aa39d; font-size:.58rem; margin-right:.15rem; }
.header-login[b-pz1or2pmmt] { padding: .6rem .9rem; border-radius: 9px; background: var(--green); color: #fff; font-size: .8rem; font-weight: 800; }
.content-shell[b-pz1or2pmmt] { width:100%; max-width: none; margin: 0 auto; padding: clamp(1.2rem, 1.7vw, 1.75rem); }

#blazor-error-ui[b-pz1or2pmmt] { color-scheme: light only; background: #fff6d8; bottom: 0; box-shadow: 0 -4px 30px rgba(0,0,0,.12); display: none; left: 0; padding: .8rem 1.25rem; position: fixed; width: 100%; z-index: 1000; }
#blazor-error-ui .dismiss[b-pz1or2pmmt] { cursor: pointer; position: absolute; left: .85rem; top: .6rem; }
#blazor-error-ui .reload[b-pz1or2pmmt] { font-weight: 800; margin-right: .5rem; }

@media (max-width: 900px) {
    .app-shell[b-pz1or2pmmt] { display: block; }
    .sidebar[b-pz1or2pmmt] { min-height: auto; height: auto; position: relative; overflow: visible; z-index: 40; }
    .topbar[b-pz1or2pmmt] { top: 72px; min-height: 70px; }
}

@media (min-width: 901px) {
    /* Reserve only the collapsed rail; expansion paints over the workspace. */
    .sidebar[b-pz1or2pmmt] { width:72px; justify-self:start; transition:width .52s cubic-bezier(.16,1,.3,1); transition-delay:.06s; }
    .sidebar:hover[b-pz1or2pmmt],
    .sidebar:focus-within[b-pz1or2pmmt] { width:260px; transition-delay:.12s; }

    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .brand-copy,
    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .nav-text,
    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .nav-label,
    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .sidebar-note { max-width:0; opacity:0; transform:translateX(12px); pointer-events:none; }
    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .brand-copy,
    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .nav-text { width:0; min-width:0; flex-basis:0; }
    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .brand-row { padding-inline:.7rem; }
    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .brand { gap:0; }
    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .nav { padding-inline:.5rem; }
    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .nav-item .nav-link { justify-content:center; gap:0; padding-inline:.3rem; }
    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .nav-glyph { width:38px; height:38px; flex:0 0 38px; opacity:1; visibility:visible; font-size:.88rem; }
    .sidebar:not(:hover):not(:focus-within)[b-pz1or2pmmt]  .nav-glyph i { display:inline-block; opacity:1; visibility:visible; }

}

@media (max-width: 600px) {
    .topbar[b-pz1or2pmmt] { padding: .8rem 1rem; }
    .secure-status[b-pz1or2pmmt], .profile-copy[b-pz1or2pmmt] { display: none; }
    .content-shell[b-pz1or2pmmt] { padding: 1rem; }
    .guest-shell[b-pz1or2pmmt] { padding:1rem; }
}
/* _content/AlSayegh.Platform.Web/Components/Layout/NavMenu.razor.rz.scp.css */
.brand-row[b-3lnv63hb8j] { height: 76px; display: flex; align-items: center; padding: 0 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand[b-3lnv63hb8j] { display: flex; align-items: center; gap: .7rem; color: #fff; }
.brand:hover[b-3lnv63hb8j] { color: #fff; }
.brand-mark[b-3lnv63hb8j] { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: #b78627; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 8px 20px rgba(0,0,0,.18); font: 800 1.2rem var(--font-display); }
.brand-copy[b-3lnv63hb8j] { display: flex; flex-direction: column; min-width:145px; max-width:160px; opacity:1; transform:translateX(0); overflow:hidden; transition:max-width .42s cubic-bezier(.16,1,.3,1),opacity .22s ease .16s,transform .38s cubic-bezier(.16,1,.3,1); }
.brand-copy strong[b-3lnv63hb8j] { font: 800 1rem var(--font-display); letter-spacing: -.02em; }
.brand-copy small[b-3lnv63hb8j] { color: #9ab2a7; font-size: .67rem; margin-top: .08rem; }
.navbar-toggler[b-3lnv63hb8j] { appearance: none; cursor: pointer; width: 42px; height: 42px; color: #fff; position: absolute; top: 15px; left: 1rem; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: linear-gradient(#fff,#fff) center 13px/18px 2px no-repeat, linear-gradient(#fff,#fff) center 20px/18px 2px no-repeat, linear-gradient(#fff,#fff) center 27px/18px 2px no-repeat; display: none; }
.nav-scrollable[b-3lnv63hb8j] { height: calc(100vh - 76px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }
.nav[b-3lnv63hb8j] { min-height: 100%; padding: .8rem .7rem; }
.nav-label[b-3lnv63hb8j] { padding: 0 .65rem; margin: .85rem 0 .35rem; color: #91aa9f; font-size: .7rem; font-weight: 800; letter-spacing: .02em; max-width:190px; opacity:1; transform:translateX(0); overflow:hidden; white-space:nowrap; transition:max-width .4s cubic-bezier(.16,1,.3,1),opacity .2s ease .15s,transform .36s cubic-bezier(.16,1,.3,1); }
.nav-label:first-child[b-3lnv63hb8j] { margin-top: 0; }
.nav-item[b-3lnv63hb8j] { margin-bottom: .12rem; }
.nav-item[b-3lnv63hb8j]  .nav-link { width: 100%; min-height: 46px; display: flex; align-items: center; gap: .7rem; padding: .42rem .55rem; color: #bdcbc4; background: transparent; border: 1px solid transparent; border-radius: 10px; font-size: .84rem; font-weight: 700; text-align: right; white-space:nowrap; overflow:hidden; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.nav-item[b-3lnv63hb8j]  button.nav-link { cursor: pointer; }
.nav-item[b-3lnv63hb8j]  .nav-link:hover { color: #fff; background: rgba(255,255,255,.06); transform: translateX(-2px); }
.nav-item[b-3lnv63hb8j]  .nav-link.active { color: #fff; background: rgba(183,134,39,.19); border-color: rgba(222,185,109,.24); box-shadow: inset -3px 0 #cda44f; }
.nav-glyph[b-3lnv63hb8j] { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,.05); color: #d1ad63; font-size: .84rem; }
.nav-text[b-3lnv63hb8j] { display:block; min-width:150px; max-width:175px; opacity:1; transform:translateX(0); overflow:hidden; white-space:nowrap; transition:max-width .42s cubic-bezier(.16,1,.3,1),opacity .2s ease .16s,transform .38s cubic-bezier(.16,1,.3,1); }
.nav-glyph i[b-3lnv63hb8j] { width: 1.1rem; text-align: center; }
.nav-item[b-3lnv63hb8j]  .active .nav-glyph { background: #a97b29; color: #fff; box-shadow: none; }
.nav-spacer[b-3lnv63hb8j] { flex: 1; min-height: 1.5rem; }
.sidebar-note[b-3lnv63hb8j] { width:calc(100% - .1rem); max-width:220px; margin-top: .8rem; padding: .75rem; color: #9baaa2; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.055); border-radius: 10px; opacity:1; transform:translateX(0); overflow:hidden; transition:max-width .45s cubic-bezier(.16,1,.3,1),opacity .2s ease .18s,transform .4s cubic-bezier(.16,1,.3,1),padding .38s ease; }
.sidebar-note span[b-3lnv63hb8j] { color: #d8e0dc; font-size: .72rem; font-weight: 700; }
.sidebar-note span i[b-3lnv63hb8j] { color: #67b686; margin-left: .4rem; }
.sidebar-note small[b-3lnv63hb8j] { display: block; margin-top: .25rem; font-size: .64rem; line-height: 1.65; }

@media (max-width: 900px) {
    .brand-row[b-3lnv63hb8j] { height: 72px; }
    .navbar-toggler[b-3lnv63hb8j] { display: block; }
    .nav-scrollable[b-3lnv63hb8j] { display: none; height: auto; max-height: calc(100vh - 72px); }
    .navbar-toggler:checked ~ .nav-scrollable[b-3lnv63hb8j] { display: block; }
    .nav[b-3lnv63hb8j] { min-height: auto; }
    .nav-spacer[b-3lnv63hb8j] { display: none; }
}
/* _content/AlSayegh.Platform.Web/Components/Layout/OnboardingLayout.razor.rz.scp.css */
.onboarding-layout[b-l9g6hsrv4w] { min-height:100vh; background:#f5f4ef; color:#14231d; }
.onboarding-topbar[b-l9g6hsrv4w] { min-height:68px; padding:.7rem clamp(1rem,4vw,4.5rem); display:flex; align-items:center; justify-content:flex-start; border-bottom:1px solid #dce2de; background:rgba(255,255,255,.94); backdrop-filter:blur(16px); }
.onboarding-brand[b-l9g6hsrv4w] { display:inline-flex; align-items:center; gap:.7rem; color:#123c31; }
.onboarding-brand span[b-l9g6hsrv4w] { width:40px; height:40px; border-radius:12px; display:grid; place-items:center; color:#9b6814; background:#fff5db; border:1px solid #eeddb4; }
.onboarding-brand strong[b-l9g6hsrv4w] { font-size:1.05rem; font-weight:900; }
.onboarding-body[b-l9g6hsrv4w] { width:min(1760px,calc(100% - clamp(2rem,7vw,9rem))); margin-inline:auto; padding:clamp(1.25rem,3vw,2.5rem) 0 3rem; }
#blazor-error-ui[b-l9g6hsrv4w] { display:none; }
@media(max-width:600px){.onboarding-topbar[b-l9g6hsrv4w]{min-height:60px}.onboarding-body[b-l9g6hsrv4w]{width:calc(100% - 1rem);padding-top:.75rem}}
/* _content/AlSayegh.Platform.Web/Components/Pages/AccountDetails.razor.rz.scp.css */
.account-document-summary[b-9s5zn02adt] { min-height: 120px; overflow: hidden; border: 1px solid #d9c98f; border-radius: 8px; background: #fff; box-shadow: 0 5px 18px rgba(28, 48, 40, .05); }
.account-details-heading[b-9s5zn02adt] { display: grid; min-height: 118px; grid-template-columns: 68px minmax(360px, 1fr) minmax(310px, auto) auto; align-items: stretch; gap: 0; margin: 0; padding: 0; border-bottom: 1px solid #e7e1d4; background: linear-gradient(180deg, #fff 0%, #fbfcfa 100%); }
.account-profile-avatar[b-9s5zn02adt] { width: 68px; min-height: 82px; display: grid; place-items: center; align-self: stretch; color: #fff; background: radial-gradient(circle at 35% 28%, #27715e 0%, #075142 42%, #06372e 100%); border-inline-end: 4px solid #d4a324; font-size: 1.35rem; }
.account-profile-avatar i[b-9s5zn02adt] { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.12); }
.account-primary-identity[b-9s5zn02adt] { min-width: 0; display: grid; align-content: center; gap: .42rem; padding: .65rem 1rem; }
.account-details-heading h1[b-9s5zn02adt] { margin: 0; color: #102b24; font-size: clamp(1.35rem, 1.65vw, 1.75rem); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-header-facts[b-9s5zn02adt] { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.account-header-facts > span[b-9s5zn02adt] { min-width: 110px; display: grid; grid-template-columns: auto auto; align-items: baseline; justify-content: start; gap: .35rem; padding-inline: .7rem; border-inline-start: 1px solid #dde3df; }
.account-header-facts > span:first-child[b-9s5zn02adt] { padding-inline-start: 0; border-inline-start: 0; }
.account-header-facts small[b-9s5zn02adt] { color: #7b8983; font-size: .66rem; font-weight: 750; }
.account-header-facts strong[b-9s5zn02adt] { color: #314a41; font-size: .76rem; font-weight: 850; white-space: nowrap; }
.account-party-karat-setting[b-9s5zn02adt] { min-width: 310px; display: grid; grid-template-columns: minmax(110px, 145px) auto; align-content: center; align-items: center; gap: .35rem .5rem; padding: .55rem .85rem; border-inline-start: 1px solid #e0e5e2; background: #fbfaf5; }
.account-party-karat-setting label[b-9s5zn02adt] { grid-column: 1 / -1; color: #6a5a2e; font-size: .68rem; font-weight: 850; }
.account-party-karat-setting .form-control[b-9s5zn02adt] { min-height: 38px; border-color: #d7c27c; border-radius: 8px; background: #fff; font-size: .88rem; font-weight: 900; }
.account-party-karat-setting .btn-outline[b-9s5zn02adt] { min-height: 38px; padding-inline: .8rem; border-color: #d7c27c; border-radius: 8px; color: #6c5012; background: #fff9e7; font-size: .74rem; }
.account-back[b-9s5zn02adt] { min-width: 68px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .32rem; padding: .55rem; color: #52665e; border-inline-start: 1px solid #e0e5e2; background: #f6f8f7; font-size: .68rem; font-weight: 850; }
.account-back i[b-9s5zn02adt] { color: #a97714; font-size: .9rem; }
.account-back:hover[b-9s5zn02adt] { color: #fff; background: #075142; }
.account-back:hover i[b-9s5zn02adt] { color: #fff; }
.account-ledger-card[b-9s5zn02adt] { padding: 0; overflow: hidden; }
.customer-lists-card[b-9s5zn02adt] { padding: 0; margin-bottom: 1rem; overflow: hidden; }
.embedded-accounting-host[b-9s5zn02adt] { margin-bottom: 1rem; }
.legacy-customer-lists[b-9s5zn02adt] { display: none; }
.customer-list-count[b-9s5zn02adt] { padding: .35rem .7rem; border-radius: 999px; background: #f6eedc; color: #8a6418; font-size: .72rem; font-weight: 800; }
.customer-list-message[b-9s5zn02adt] { margin: .8rem 1.1rem 0; padding: .7rem .85rem; border-radius: 10px; background: #eaf7ef; color: #216844; font-size: .75rem; font-weight: 750; }
.customer-list-stack[b-9s5zn02adt] { display: grid; gap: .65rem; padding: 1rem; background: #faf9f5; }
.customer-list-item[b-9s5zn02adt] { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.customer-list-item.is-reversed[b-9s5zn02adt] { opacity: .72; }
.customer-list-item summary[b-9s5zn02adt] { display: grid; grid-template-columns: 22px .55fr 1fr .5fr 1.2fr auto; align-items: center; gap: .8rem; padding: .85rem 1rem; cursor: pointer; list-style: none; }
.customer-list-item summary[b-9s5zn02adt]::-webkit-details-marker { display: none; }
.customer-list-item summary span:not(.list-status)[b-9s5zn02adt] { min-width: 0; }
.customer-list-item summary small[b-9s5zn02adt], .customer-list-lines small[b-9s5zn02adt] { display: block; color: var(--ink-muted); font-size: .62rem; font-weight: 700; }
.customer-list-item summary strong[b-9s5zn02adt] { display: block; margin-top: .15rem; font-size: .76rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-toggle[b-9s5zn02adt] { color: var(--gold); transition: transform .2s ease; }
.customer-list-item[open] .list-toggle[b-9s5zn02adt] { transform: rotate(-90deg); }
.list-status[b-9s5zn02adt] { padding: .25rem .55rem; border-radius: 999px; font-size: .66rem; font-weight: 850; }
.list-status.posted[b-9s5zn02adt] { color: #216844; background: #eaf7ef; }
.list-status.reversed[b-9s5zn02adt] { color: #8f3c35; background: #fff0ec; }
.list-status.draft[b-9s5zn02adt] { color: #765719; background: #fff4d8; }
.customer-list-body[b-9s5zn02adt] { padding: .9rem 1rem 1rem; border-top: 1px solid var(--line); background: #fffdf8; }
.inline-edit-notice[b-9s5zn02adt] { display: flex; align-items: center; gap: .45rem; margin-bottom: .7rem; padding: .6rem .75rem; border: 1px solid #ead7aa; border-radius: 9px; color: #775719; background: #fff8e8; font-size: .7rem; font-weight: 750; }
.customer-list-note[b-9s5zn02adt] { margin-bottom: .7rem; padding: .55rem .7rem; border-radius: 9px; color: var(--ink-muted); background: #f6f3ea; font-size: .72rem; }
.customer-list-lines[b-9s5zn02adt] { display: grid; gap: .45rem; }
.customer-list-lines article[b-9s5zn02adt] { display: grid; grid-template-columns: 28px minmax(170px, 1fr) repeat(4, minmax(80px, auto)); align-items: center; gap: .65rem; padding: .6rem .7rem; border: 1px solid #ece6d9; border-radius: 10px; background: white; }
.customer-list-lines article > span strong[b-9s5zn02adt] { display: block; margin-top: .1rem; font-size: .72rem; }
.line-number[b-9s5zn02adt] { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green-deep); color: white; font-size: .65rem; font-weight: 850; }
.line-name strong[b-9s5zn02adt] { display: block; font-size: .76rem; }
.line-name small[b-9s5zn02adt] { margin-top: .1rem; }
.editable-lines[b-9s5zn02adt] { overflow-x: auto; }
.customer-list-lines .editable-line[b-9s5zn02adt] { grid-template-columns: 28px 145px 145px 85px 105px 85px 95px 110px 115px 115px minmax(170px, 1fr) 34px; min-width: 1280px; padding: .65rem; }
.editable-line label[b-9s5zn02adt] { min-width: 0; }
.editable-line .form-control[b-9s5zn02adt], .editable-line .form-select[b-9s5zn02adt] { width: 100%; min-height: 36px; padding: .35rem .45rem; font-size: .68rem; }
.editable-line input[type="number"][b-9s5zn02adt] { direction: ltr; text-align: right; }
.remove-edit-line[b-9s5zn02adt] { display: grid; width: 32px; height: 32px; place-items: center; align-self: end; border: 1px solid #efc7c1; border-radius: 8px; color: #963a32; background: #fff4f2; }
.remove-edit-line:disabled[b-9s5zn02adt] { cursor: not-allowed; opacity: .4; }
.add-edit-line[b-9s5zn02adt] { display: inline-flex; align-items: center; gap: .4rem; margin-top: .65rem; border: 1px dashed #baa46e; border-radius: 9px; padding: .5rem .75rem; color: var(--green-deep); background: #fff; font-size: .7rem; font-weight: 800; }
.customer-list-actions[b-9s5zn02adt] { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .85rem; }
.customer-list-actions .btn-outline[b-9s5zn02adt], .customer-list-actions .btn-quiet[b-9s5zn02adt], .btn-danger-outline[b-9s5zn02adt] { min-height: 34px; padding: .4rem .7rem; font-size: .7rem; }
.btn-danger-outline[b-9s5zn02adt] { border: 1px solid #d8a29b; border-radius: 9px; color: #963a32; background: #fff7f5; font-weight: 800; }
.cancel-confirm[b-9s5zn02adt] { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; padding: .45rem .6rem; border-radius: 9px; background: #fff0ec; color: #8f3c35; font-size: .68rem; font-weight: 750; }
.cancel-confirm button[b-9s5zn02adt] { border: 0; border-radius: 7px; padding: .35rem .55rem; background: #963a32; color: white; font-weight: 800; }
.cancel-confirm button.quiet[b-9s5zn02adt] { background: white; color: #6f514d; }
.account-ledger-head[b-9s5zn02adt] { display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding: 1.1rem; border-bottom: 1px solid var(--line); }
.account-ledger-head h2[b-9s5zn02adt] { margin-bottom: 0; }
.account-ledger-filters[b-9s5zn02adt] { display: grid; grid-template-columns: 145px 160px minmax(210px, 1fr); gap: .6rem; }
.account-ledger-table[b-9s5zn02adt] { min-width: 880px; }
.ledger-amount[b-9s5zn02adt] { font-weight: 800; font-variant-numeric: tabular-nums; }
.direction-pill[b-9s5zn02adt] { display: inline-flex; padding: .25rem .6rem; border-radius: 99px; font-size: .68rem; font-weight: 800; }
.direction-pill.debit[b-9s5zn02adt] { color: #963a32; background: #fff0ec; }
.direction-pill.credit[b-9s5zn02adt] { color: #216844; background: #eaf7ef; }
.account-details-empty[b-9s5zn02adt] { min-height: 55vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; color: var(--ink-muted); text-align: center; }
.account-details-empty > i[b-9s5zn02adt] { color: var(--gold); font-size: 2rem; }
@media (max-width: 1050px) { .account-details-heading[b-9s5zn02adt] { grid-template-columns: 62px minmax(280px, 1fr) auto; } .account-party-karat-setting[b-9s5zn02adt] { grid-column: 2 / 4; border-top: 1px solid #e0e5e2; border-inline-start: 0; } .account-back[b-9s5zn02adt] { grid-column: 3; grid-row: 1; } }
@media (max-width: 900px) { .account-ledger-head[b-9s5zn02adt] { align-items: stretch; flex-direction: column; } .customer-list-item summary[b-9s5zn02adt] { grid-template-columns: 22px .7fr 1fr auto; } .customer-list-item summary .list-result[b-9s5zn02adt], .customer-list-item summary span:nth-child(4)[b-9s5zn02adt] { display: none; } .customer-list-lines article[b-9s5zn02adt] { grid-template-columns: 28px 1fr 1fr; } }
@media (max-width: 640px) { .account-details-heading[b-9s5zn02adt] { grid-template-columns: 54px minmax(0, 1fr) 54px; } .account-profile-avatar[b-9s5zn02adt] { width:54px; min-height:72px; } .account-profile-avatar i[b-9s5zn02adt] { width:36px; height:36px; } .account-primary-identity[b-9s5zn02adt] { padding:.55rem .65rem; } .account-details-heading h1[b-9s5zn02adt] { font-size:1.2rem; } .account-header-facts > span[b-9s5zn02adt] { min-width:auto; padding-inline:.45rem; } .account-header-facts > span:nth-child(4)[b-9s5zn02adt] { display:none; } .account-party-karat-setting[b-9s5zn02adt] { min-width:0; grid-column:1 / -1; padding:.5rem; } .account-back[b-9s5zn02adt] { min-width:54px; } .account-back span[b-9s5zn02adt] { display:none; } .account-ledger-filters[b-9s5zn02adt] { grid-template-columns: 1fr; } .customer-list-item summary[b-9s5zn02adt] { grid-template-columns: 20px 1fr auto; } .customer-list-item summary span:nth-child(3)[b-9s5zn02adt] { display: none; } .customer-list-lines article[b-9s5zn02adt] { grid-template-columns: 24px 1fr; } .customer-list-lines article > span:not(.line-number)[b-9s5zn02adt] { grid-column: 2; } }

@media (min-width: 1180px) and (min-height: 700px) {
    .account-details-workspace[b-9s5zn02adt] {
        display: block;
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .account-details-heading[b-9s5zn02adt] {
        min-height: 0;
        margin: 0;
    }

    .account-details-heading h1[b-9s5zn02adt] { font-size: 1.55rem; }

    .embedded-accounting-host[b-9s5zn02adt] {
        min-height: 0;
        margin: 0;
        overflow: visible;
    }
}
/* _content/AlSayegh.Platform.Web/Components/Pages/AccountingListPrint.razor.rz.scp.css */
.receipt-preview[b-kk96pzxz9l]{max-width:1000px;margin:0 auto}
.receipt-toolbar[b-kk96pzxz9l]{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}
.receipt-toolbar h2[b-kk96pzxz9l]{margin:0;font-size:1.25rem;color:var(--green)}
.receipt-toolbar p[b-kk96pzxz9l]{margin:.2rem 0 0;color:var(--ink-muted);font-size:.85rem}
.receipt-toolbar nav[b-kk96pzxz9l]{display:flex;gap:.6rem;flex-wrap:wrap}
.receipt-toolbar button[b-kk96pzxz9l],.receipt-toolbar a[b-kk96pzxz9l]{min-height:44px}
.receipt-paper[b-kk96pzxz9l]{background:white;max-width:fit-content;min-width:min(100%,400px);padding:clamp(1rem,3vw,2.5rem);margin:0 auto;box-shadow:0 12px 45px #143c3214;border:1px solid #dedbd0}
.receipt-secondary[b-kk96pzxz9l]{display:flex;justify-content:space-between;gap:1rem;margin:1.25rem auto;font-size:.85rem}
.receipt-secondary a[b-kk96pzxz9l]{color:var(--green);text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.receipt-state[b-kk96pzxz9l]{display:flex;min-height:45vh;align-items:center;justify-content:center;flex-direction:column;gap:1rem}
@media(max-width:620px){.receipt-toolbar[b-kk96pzxz9l]{align-items:stretch;flex-direction:column}.receipt-paper[b-kk96pzxz9l]{padding:1rem}.receipt-secondary[b-kk96pzxz9l]{flex-wrap:wrap}}
@media print{.receipt-preview[b-kk96pzxz9l]{max-width:none;margin:0}.receipt-paper[b-kk96pzxz9l]{border:0;box-shadow:none;padding:0;max-width:none;min-width:0;margin:0}.no-print[b-kk96pzxz9l]{display:none!important}}
/* _content/AlSayegh.Platform.Web/Components/Pages/AccountingLists.razor.rz.scp.css */
.kimia-entry-table[b-ozqr2m4w3y] {
    min-width: 1600px;
}

.kimia-document-bar[b-ozqr2m4w3y] {
    --document-bar-radius: .85rem;
    display: grid;
    grid-template-columns: minmax(250px, 1.3fr) minmax(145px, .7fr) minmax(165px, .75fr) minmax(240px, 1.1fr);
    gap: 1px;
    position: relative;
    overflow: visible;
    margin-bottom: .8rem;
    border: 1px solid #d8c895;
    border-radius: var(--document-bar-radius);
    background: #d8c895;
}

.kimia-document-bar:focus-within[b-ozqr2m4w3y] {
    z-index: 90;
}

.kimia-document-bar > div[b-ozqr2m4w3y] {
    min-width: 0;
    background: #fffdf6;
    padding: .72rem .9rem;
}

.kimia-document-bar > div:first-child[b-ozqr2m4w3y] {
    border-start-start-radius: calc(var(--document-bar-radius) - 1px);
    border-end-start-radius: calc(var(--document-bar-radius) - 1px);
}

.kimia-document-bar > div:last-child[b-ozqr2m4w3y] {
    border-start-end-radius: calc(var(--document-bar-radius) - 1px);
    border-end-end-radius: calc(var(--document-bar-radius) - 1px);
}

.kimia-document-bar span[b-ozqr2m4w3y],
.kimia-document-bar strong[b-ozqr2m4w3y],
.kimia-document-bar small[b-ozqr2m4w3y] {
    display: block;
}

.kimia-document-bar span[b-ozqr2m4w3y] {
    color: #78633a;
    font-size: .66rem;
    font-weight: 850;
}

.kimia-document-bar strong[b-ozqr2m4w3y] {
    margin-top: .15rem;
    overflow: hidden;
    color: #183d31;
    font-size: .92rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kimia-document-bar small[b-ozqr2m4w3y] {
    margin-top: .12rem;
    color: #64748b;
    font-size: .62rem;
    font-weight: 650;
}

.kimia-gold-price-input[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-top: .2rem;
}

.kimia-gold-price-input[b-ozqr2m4w3y]  .form-control {
    min-width: 0;
    height: 2.25rem;
    border-color: #d7b66f;
    background: #fff;
    color: #173f33;
    font-weight: 900;
}

.kimia-gold-price-input strong[b-ozqr2m4w3y] {
    flex: 0 0 auto;
    margin: 0;
    color: #8a6419;
    font-size: .72rem;
}

.kimia-document-party[b-ozqr2m4w3y] {
    box-shadow: inset -4px 0 0 #b98924;
}

.kimia-entry-table th[b-ozqr2m4w3y] {
    padding: .7rem .55rem;
    background: #f8fafc;
    color: #334155;
    font-size: .74rem;
}

.kimia-entry-table td[b-ozqr2m4w3y] {
    padding: .42rem .35rem;
}

.kimia-entry-table .accounting-cell[b-ozqr2m4w3y],
.kimia-entry-table select.accounting-cell[b-ozqr2m4w3y] {
    min-height: 2.85rem;
    height: 2.85rem;
    max-height: 2.85rem;
    border-radius: .65rem;
    font-size: .78rem;
}

.kimia-entry-table .movement-select[b-ozqr2m4w3y] {
    min-width: 125px;
    font-size: .82rem;
}

.kimia-entry-table .detail-select[b-ozqr2m4w3y] {
    min-width: 210px;
    font-weight: 700;
}

.settlement-detail-stack[b-ozqr2m4w3y] {
    display: grid;
    min-width: 240px;
    gap: .28rem;
}

.settlement-detail-stack .counterparty-select[b-ozqr2m4w3y] {
    min-width: 240px;
    border-color: #d7b66f;
    background: #fffbea;
}

.settlement-detail-stack > small[b-ozqr2m4w3y] {
    color: #64748b;
    font-size: .62rem;
    font-weight: 750;
    line-height: 1.35;
}

.kimia-entry-table td:nth-child(4)[b-ozqr2m4w3y] { width: 90px; }
.kimia-entry-table td:nth-child(5)[b-ozqr2m4w3y] { width: 100px; }
.kimia-entry-table td:nth-child(6)[b-ozqr2m4w3y] { width: 90px; }
.kimia-entry-table td:nth-child(7)[b-ozqr2m4w3y] { width: 92px; }
.kimia-entry-table td:nth-child(8)[b-ozqr2m4w3y] { width: 105px; }
.kimia-entry-table td:nth-child(9)[b-ozqr2m4w3y] { width: 70px; }
.kimia-entry-table td:nth-child(10)[b-ozqr2m4w3y] { width: 110px; }
.kimia-entry-table td:nth-child(11)[b-ozqr2m4w3y] { width: 125px; }
.kimia-entry-table td:nth-child(12)[b-ozqr2m4w3y] { width: 88px; }
.kimia-entry-table td:nth-child(13)[b-ozqr2m4w3y] { width: 72px; }
.kimia-entry-table td:nth-child(14)[b-ozqr2m4w3y] { min-width: 125px; }

.custom-karat-input[b-ozqr2m4w3y] { margin-top: .3rem; }

.equivalent-875-cell[b-ozqr2m4w3y] {
    display: flex;
    min-height: 2.85rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7b66f;
    border-radius: .65rem;
    background: #fffbea;
    color: #713f12;
    font-size: .78rem;
    font-weight: 850;
    direction: ltr;
}

.accounting-fixed-detail[b-ozqr2m4w3y] {
    display: flex;
    min-height: 2.85rem;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: .65rem;
    background: #f8fafc;
    padding: 0 .75rem;
    color: #334155;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.total-cell[b-ozqr2m4w3y] {
    border-color: #d7b66f !important;
    background: #fffbea !important;
    font-weight: 800 !important;
    color: #713f12 !important;
}

.wage-cell[b-ozqr2m4w3y] {
    color: #0f4938 !important;
    font-weight: 750 !important;
}

.direction-pill[b-ozqr2m4w3y] {
    display: inline-flex;
    min-width: 2.7rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .35rem .6rem;
    font-size: .72rem;
    font-weight: 800;
}

.direction-for-us[b-ozqr2m4w3y] {
    background: #fff1f2;
    color: #be123c;
    border: 1px solid #fecdd3;
}

.direction-for-them[b-ozqr2m4w3y] {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.direction-neutral[b-ozqr2m4w3y] {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.accounting-summary[b-ozqr2m4w3y] {
    grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
}

.accounting-summary .gold-flow[b-ozqr2m4w3y] {
    grid-column: 1 / -1;
}

.summary-for-us[b-ozqr2m4w3y] {
    border-right: 4px solid #e11d48;
}

.summary-for-them[b-ozqr2m4w3y] {
    border-right: 4px solid #059669;
}

.summary-net[b-ozqr2m4w3y] {
    border-right: 4px solid #d7b66f;
}

.accounting-summary-card > small[b-ozqr2m4w3y],
.equivalent-weight[b-ozqr2m4w3y] {
    display: block;
    margin-top: .3rem;
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
}

.settlement-summary[b-ozqr2m4w3y] {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.settlement-summary .gold-flow[b-ozqr2m4w3y] {
    grid-column: auto;
}

.summary-currency[b-ozqr2m4w3y] {
    display: flex;
    flex-direction: column;
}

.settlement-card-actions[b-ozqr2m4w3y] {
    display: grid;
    gap: .45rem;
    margin-top: auto;
}

.settlement-card-actions .settlement-add-button[b-ozqr2m4w3y] {
    margin-top: .55rem;
}

.settlement-card-actions .settlement-add-button + .settlement-add-button[b-ozqr2m4w3y] {
    margin-top: 0;
}

.account-balance-comparison[b-ozqr2m4w3y] {
    display: grid;
    gap: .75rem;
    margin-top: .75rem;
}

.account-balance-row[b-ozqr2m4w3y] {
    display: grid;
    grid-template-columns: minmax(210px, 1.1fr) repeat(2, minmax(170px, .9fr)) minmax(240px, 1.2fr);
    gap: .75rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
}

.account-balance-heading[b-ozqr2m4w3y],
.account-balance-item[b-ozqr2m4w3y] {
    border-radius: .75rem;
    padding: .8rem 1rem;
}

.account-balance-heading[b-ozqr2m4w3y] {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.account-balance-heading > span[b-ozqr2m4w3y],
.account-balance-heading > small[b-ozqr2m4w3y],
.account-balance-item > span[b-ozqr2m4w3y],
.account-balance-item > strong[b-ozqr2m4w3y] {
    display: block;
}

.account-balance-heading > span[b-ozqr2m4w3y] {
    color: #0f172a;
    font-weight: 850;
}

.account-balance-heading > small[b-ozqr2m4w3y] {
    margin-top: .2rem;
    color: #64748b;
    font-size: .7rem;
    font-weight: 650;
}

.account-balance-item[b-ozqr2m4w3y] {
    border: 1px solid #e2e8f0;
    background: #fff;
}

.account-balance-item > span[b-ozqr2m4w3y] {
    margin-bottom: .25rem;
    color: #64748b;
    font-size: .7rem;
    font-weight: 750;
}

.account-balance-item > strong[b-ozqr2m4w3y] {
    font-size: .95rem;
    font-weight: 800;
}

.account-balance-item > strong small[b-ozqr2m4w3y] {
    color: #94a3b8;
    font-size: .65rem;
}

.gold-account-balance > strong + strong[b-ozqr2m4w3y],
.account-gold-settlement + .account-gold-settlement[b-ozqr2m4w3y] {
    margin-top: .3rem;
}

.account-gold-settlement > strong[b-ozqr2m4w3y] {
    display: block;
    font-size: .82rem;
    font-weight: 800;
}

.balance-settlement-button[b-ozqr2m4w3y] {
    width: 100%;
    margin-top: .65rem;
    justify-content: center;
}

.total-settlement-button[b-ozqr2m4w3y] {
    border-color: #d7b66f;
    background: #fffdf5;
}

.conversion-amount-wrap > small[b-ozqr2m4w3y] {
    display: block;
    margin-top: .25rem;
    color: #0f5b44;
    font-size: .62rem;
    font-weight: 800;
    direction: ltr;
    white-space: nowrap;
}

.conversion-rate-input[b-ozqr2m4w3y],
.converted-amount-input[b-ozqr2m4w3y] {
    min-width: 124px;
}

.conversion-direction-detail[b-ozqr2m4w3y],
.conversion-field-wrap[b-ozqr2m4w3y] {
    display: grid;
    gap: .22rem;
}

.conversion-direction-detail[b-ozqr2m4w3y] {
    min-width: 150px;
    border: 1px solid #bfdbfe;
    border-radius: .65rem;
    background: #eff6ff;
    padding: .45rem .55rem;
}

.conversion-direction-detail strong[b-ozqr2m4w3y] {
    color: #1e3a8a;
    font-size: .73rem;
    white-space: nowrap;
}

.conversion-direction-detail small[b-ozqr2m4w3y],
.conversion-field-wrap small[b-ozqr2m4w3y] {
    color: #64748b;
    font-size: .6rem;
    font-weight: 800;
    white-space: nowrap;
}

.conversion-field-wrap .form-control[b-ozqr2m4w3y],
.conversion-rate-input .form-control[b-ozqr2m4w3y] {
    border-color: #93c5fd;
    background: #f8fbff;
}

.wage-input-wrap.conversion-rate-input[b-ozqr2m4w3y] {
    display: grid;
    gap: .22rem;
}

.wage-input-wrap.conversion-rate-input .wage-cell[b-ozqr2m4w3y] {
    padding-inline: .5rem;
    direction: ltr;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.wage-input-wrap.conversion-rate-input > small[b-ozqr2m4w3y] {
    position: static;
    display: block;
    color: #64748b;
    font-size: .6rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    direction: ltr;
    white-space: nowrap;
    transform: none;
}

.total-balance-row[b-ozqr2m4w3y] {
    border-color: #d7b66f;
    background: #fffbeb;
}

.total-balance-row .account-balance-heading[b-ozqr2m4w3y] {
    border-color: #d7b66f;
    background: #0f4938;
}

.total-balance-row .account-balance-heading > span[b-ozqr2m4w3y] {
    color: #fff;
}

.total-balance-row .account-balance-heading > small[b-ozqr2m4w3y] {
    color: rgba(255, 255, 255, .72);
}

.exchange-rate-control[b-ozqr2m4w3y] {
    display: grid;
    gap: .3rem;
    margin-top: .7rem;
    border-radius: .7rem;
    background: #f8fafc;
    padding: .55rem;
}

.exchange-rate-control label[b-ozqr2m4w3y] {
    color: #475569;
    font-size: .66rem;
    font-weight: 850;
}

.exchange-rate-control .form-control[b-ozqr2m4w3y] {
    min-height: 2.25rem;
    border-color: #cbd5e1;
    font-size: .78rem;
    font-weight: 850;
}

.exchange-rate-control small[b-ozqr2m4w3y] {
    color: #64748b;
    font-size: .65rem;
    font-weight: 750;
}

.exchange-rate-control .exchange-rate-warning[b-ozqr2m4w3y] {
    color: #b45309;
}

.partial-conversion-control[b-ozqr2m4w3y] {
    display: grid;
    gap: .35rem;
    margin-top: .7rem;
    border: 1px solid #bfdbfe;
    border-radius: .7rem;
    background: #f8fbff;
    padding: .6rem;
}

.partial-conversion-control > label[b-ozqr2m4w3y] {
    color: #1e3a8a;
    font-size: .68rem;
    font-weight: 850;
}

.partial-conversion-inputs[b-ozqr2m4w3y] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .4rem;
}

.partial-conversion-inputs .form-control[b-ozqr2m4w3y] {
    min-width: 0;
    min-height: 2.25rem;
    border-color: #bfdbfe;
    padding-inline: .45rem;
    font-size: .74rem;
    font-weight: 800;
}

.partial-conversion-control > small[b-ozqr2m4w3y] {
    color: #475569;
    font-size: .64rem;
    font-weight: 750;
}

.partial-conversion-control .settlement-add-button[b-ozqr2m4w3y] {
    margin-top: .1rem;
}

.settlement-add-button.exchange-button[b-ozqr2m4w3y] {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.settlement-add-button.exchange-button:hover[b-ozqr2m4w3y],
.settlement-add-button.exchange-button:focus-visible[b-ozqr2m4w3y] {
    border-color: #60a5fa;
    background: #dbeafe;
}

.settlement-add-button.allowance-button[b-ozqr2m4w3y] {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.settlement-add-button[b-ozqr2m4w3y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    width: 100%;
    margin-top: .7rem;
    border: 1px solid #d7b66f;
    border-radius: .65rem;
    background: #fffbea;
    padding: .45rem .6rem;
    color: #713f12;
    font-size: .68rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, transform .15s;
}

.settlement-add-button:hover[b-ozqr2m4w3y],
.settlement-add-button:focus-visible[b-ozqr2m4w3y] {
    border-color: #b98924;
    background: #fdf3d3;
    outline: none;
    transform: translateY(-1px);
}

.gold-settlement-row + .gold-settlement-row[b-ozqr2m4w3y] {
    margin-top: .65rem;
    border-top: 1px solid #e2e8f0;
    padding-top: .65rem;
}

.gold-settlement-row .gold-karat-flow[b-ozqr2m4w3y],
.gold-settlement-row .gold-karat-flow small[b-ozqr2m4w3y] {
    display: block;
}

.kimia-gold-flow[b-ozqr2m4w3y],
.kimia-balance-matrix[b-ozqr2m4w3y] {
    overflow: hidden;
    margin-top: .8rem;
    border: 1px solid #ddd1ad;
    border-radius: 1rem;
    background: #fff;
}

.kimia-summary-heading[b-ozqr2m4w3y] {
    display: flex;
    min-height: 4.4rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #e8dfc5;
    background: #fffcf3;
    padding: .7rem 1rem;
}

.kimia-summary-heading > div:first-child[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.kimia-summary-heading strong[b-ozqr2m4w3y],
.kimia-summary-heading small[b-ozqr2m4w3y] {
    display: block;
}

.kimia-summary-heading strong[b-ozqr2m4w3y] {
    color: #173d31;
    font-size: .88rem;
    font-weight: 900;
}

.kimia-summary-heading small[b-ozqr2m4w3y] {
    margin-top: .12rem;
    color: #6b7280;
    font-size: .68rem;
    font-weight: 650;
}

.kimia-875-totals[b-ozqr2m4w3y] {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

.kimia-875-totals span[b-ozqr2m4w3y] {
    border: 1px solid #dcc682;
    border-radius: 999px;
    background: #fff;
    padding: .35rem .65rem;
    color: #78633a;
    font-size: .68rem;
    font-weight: 750;
}

.kimia-875-totals strong[b-ozqr2m4w3y] {
    display: inline;
    color: #173d31;
    font-size: .72rem;
}

.kimia-summary-scroll[b-ozqr2m4w3y] {
    overflow-x: auto;
}

.kimia-gold-flow-table[b-ozqr2m4w3y],
.kimia-balance-table[b-ozqr2m4w3y] {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.kimia-gold-flow-table[b-ozqr2m4w3y] {
    min-width: 820px;
}

.kimia-balance-table[b-ozqr2m4w3y] {
    min-width: 680px;
}

.kimia-gold-flow-table th[b-ozqr2m4w3y],
.kimia-gold-flow-table td[b-ozqr2m4w3y],
.kimia-balance-table th[b-ozqr2m4w3y],
.kimia-balance-table td[b-ozqr2m4w3y] {
    border-bottom: 1px solid #ece7d8;
    border-left: 1px solid #ece7d8;
    padding: .65rem .75rem;
    font-size: .72rem;
    font-weight: 750;
    white-space: nowrap;
}

.kimia-gold-flow-table thead th[b-ozqr2m4w3y],
.kimia-balance-table thead th[b-ozqr2m4w3y] {
    background: #f8f5e9;
    color: #5f5130;
    font-size: .68rem;
    font-weight: 900;
}

.kimia-gold-flow-table tbody th[b-ozqr2m4w3y],
.kimia-balance-table tbody th[b-ozqr2m4w3y] {
    background: #fcfbf7;
    color: #173d31;
}

.kimia-balance-table tbody th strong[b-ozqr2m4w3y],
.kimia-balance-table tbody th small[b-ozqr2m4w3y] {
    display: block;
}

.kimia-balance-table tbody th small[b-ozqr2m4w3y] {
    margin-top: .15rem;
    color: #7c8797;
    font-size: .6rem;
}

.kimia-gold-flow-table tr:last-child > *[b-ozqr2m4w3y],
.kimia-balance-table tr:last-child > *[b-ozqr2m4w3y] {
    border-bottom: 0;
}

.kimia-gold-flow-table .flow-in[b-ozqr2m4w3y] {
    color: #047857;
}

.kimia-gold-flow-table .flow-out[b-ozqr2m4w3y] {
    color: #be123c;
}

.kimia-summary-empty[b-ozqr2m4w3y] {
    height: 3.5rem;
    color: #8792a2;
    text-align: center;
}

.kimia-balance-table .list-balance-row > *[b-ozqr2m4w3y] {
    background: #f8fbff;
}

.kimia-balance-table .total-balance-row > *[b-ozqr2m4w3y] {
    border-bottom: 0;
    background: #fff9e8;
}

.balance-detail-trigger[b-ozqr2m4w3y] {
    width: 100%;
    min-height: 36px;
    border: 1px solid transparent;
    border-radius: .55rem;
    background: transparent;
    padding: .35rem .55rem;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.balance-detail-trigger:hover[b-ozqr2m4w3y],
.balance-detail-trigger:focus-visible[b-ozqr2m4w3y] {
    transform: translateY(-1px);
    border-color: rgba(15, 73, 56, .22);
    background: rgba(15, 73, 56, .07);
    outline: none;
}

.balance-details-backdrop[b-ozqr2m4w3y] {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(4, 24, 18, .52);
    backdrop-filter: blur(5px);
}

.balance-details-dialog[b-ozqr2m4w3y] {
    width: min(560px, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border: 1px solid rgba(15, 73, 56, .15);
    border-radius: 1.25rem;
    background: #fff;
    padding: 1.15rem;
    box-shadow: 0 28px 70px rgba(4, 24, 18, .3);
}

.balance-details-dialog > header[b-ozqr2m4w3y] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.balance-details-dialog h3[b-ozqr2m4w3y] {
    margin: .2rem 0;
    color: #123b2e;
    font-size: 1.25rem;
}

.balance-details-dialog header p[b-ozqr2m4w3y] {
    margin: 0;
    color: #64748b;
    font-size: .72rem;
}

.balance-details-close[b-ozqr2m4w3y] {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid #dbe4e0;
    border-radius: 11px;
    background: #f7faf8;
    color: #315c4e;
    cursor: pointer;
}

.balance-details-close:hover[b-ozqr2m4w3y] {
    background: #eaf3ef;
}

.balance-details-amount[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid #dce9e4;
    border-radius: .9rem;
    background: #f7fbf9;
    padding: .85rem 1rem;
}

.balance-details-amount span[b-ozqr2m4w3y] {
    color: #64748b;
    font-size: .75rem;
    font-weight: 800;
}

.balance-details-amount strong[b-ozqr2m4w3y] {
    font-size: 1.05rem;
}

.balance-details-conversion[b-ozqr2m4w3y] {
    margin-top: .85rem;
}

.balance-details-actions[b-ozqr2m4w3y] {
    margin-top: .85rem;
}

.balance-details-settled[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    margin-top: .85rem;
    border-radius: .8rem;
    background: #ecfdf5;
    padding: .85rem;
    color: #047857;
}

.matrix-actions-cell[b-ozqr2m4w3y] {
    display: flex;
    min-width: 185px;
    gap: .3rem;
    flex-wrap: wrap;
}

.matrix-actions-cell button[b-ozqr2m4w3y] {
    border: 1px solid #d5bd76;
    border-radius: .45rem;
    background: #fffdf6;
    padding: .3rem .48rem;
    color: #72500f;
    font-size: .61rem;
    font-weight: 850;
    cursor: pointer;
}

.matrix-actions-cell button:hover[b-ozqr2m4w3y],
.matrix-actions-cell button:focus-visible[b-ozqr2m4w3y] {
    border-color: #ad7d20;
    background: #fff5d8;
    outline: none;
}

.matrix-actions-cell span[b-ozqr2m4w3y],
.matrix-action-note[b-ozqr2m4w3y] {
    color: #758091;
    font-size: .62rem;
    font-weight: 700;
}

@media (max-width: 1050px) {
    .kimia-document-bar[b-ozqr2m4w3y] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .accounting-summary[b-ozqr2m4w3y] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .settlement-summary[b-ozqr2m4w3y] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-balance-row[b-ozqr2m4w3y] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .kimia-document-bar[b-ozqr2m4w3y] {
        grid-template-columns: 1fr;
    }

    .kimia-summary-heading[b-ozqr2m4w3y] {
        align-items: flex-start;
        flex-direction: column;
    }

    .accounting-summary[b-ozqr2m4w3y] {
        grid-template-columns: 1fr;
    }

    .accounting-summary .gold-flow[b-ozqr2m4w3y] {
        grid-column: auto;
    }

    .settlement-summary[b-ozqr2m4w3y] {
        grid-template-columns: 1fr;
    }

    .account-balance-row[b-ozqr2m4w3y] {
        grid-template-columns: 1fr;
    }
}


.accounting-history-title[b-ozqr2m4w3y] {
    align-items: flex-end;
}

.accounting-history-title h2[b-ozqr2m4w3y] {
    margin-bottom: .2rem;
}

.accounting-history-title p[b-ozqr2m4w3y] {
    margin: 0;
    color: var(--ink-muted);
    font-size: .82rem;
}

.history-count[b-ozqr2m4w3y] {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    gap: .5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--canvas);
    padding: .45rem .85rem;
    color: var(--ink-soft);
    font-size: .78rem;
    font-weight: 800;
}

.accounting-history-list[b-ozqr2m4w3y] {
    display: grid;
    gap: .8rem;
}

.accounting-history-card[b-ozqr2m4w3y] {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--surface);
    box-shadow: 0 3px 14px rgba(17, 31, 23, .035);
}

.accounting-history-card[open][b-ozqr2m4w3y] {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-soft);
}

.accounting-history-card.is-reversed[b-ozqr2m4w3y] {
    opacity: .76;
}

.accounting-history-card > summary[b-ozqr2m4w3y] {
    display: grid;
    grid-template-columns: 2rem 105px minmax(150px, 1.25fr) 90px 120px minmax(230px, 1fr);
    min-height: 6rem;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    cursor: pointer;
    list-style: none;
    transition: background .2s ease;
}

.accounting-history-card > summary[b-ozqr2m4w3y]::-webkit-details-marker {
    display: none;
}

.accounting-history-card > summary:hover[b-ozqr2m4w3y] {
    background: var(--gold-pale);
}

.accounting-history-card[open] > summary[b-ozqr2m4w3y] {
    border-bottom: 1px solid var(--line);
    background: color-mix(in srgb, var(--gold-pale) 52%, var(--surface));
}

.history-chevron[b-ozqr2m4w3y] {
    display: grid;
    width: 1.9rem;
    height: 1.9rem;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--gold-dark);
    transition: transform .2s ease;
}

.accounting-history-card[open] .history-chevron[b-ozqr2m4w3y] {
    transform: rotate(-90deg);
}

.history-list-number[b-ozqr2m4w3y],
.history-party[b-ozqr2m4w3y],
.history-meta-item[b-ozqr2m4w3y] {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .2rem;
}

.accounting-history-card summary small[b-ozqr2m4w3y],
.history-line small[b-ozqr2m4w3y],
.history-final-balance small[b-ozqr2m4w3y] {
    color: var(--ink-muted);
    font-size: .68rem;
    font-weight: 750;
}

.history-list-number strong[b-ozqr2m4w3y] {
    color: var(--gold-dark);
    font-size: 1.12rem;
}

.history-party strong[b-ozqr2m4w3y] {
    overflow: hidden;
    color: var(--ink);
    font-size: .9rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-party i[b-ozqr2m4w3y] {
    margin-left: .3rem;
    color: var(--ink-muted);
}

.history-meta-item strong[b-ozqr2m4w3y] {
    color: var(--ink-soft);
    font-size: .82rem;
}

.history-date span[b-ozqr2m4w3y] {
    color: var(--ink-muted);
    font-size: .7rem;
}

.history-settlement[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem;
    flex-wrap: wrap;
}

.history-balance-pill[b-ozqr2m4w3y],
.history-status[b-ozqr2m4w3y] {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: .3rem .65rem;
    font-size: .72rem;
    font-weight: 850;
    white-space: nowrap;
}

.history-balance-pill.net-positive[b-ozqr2m4w3y] {
    border: 1px solid #fecdd3;
    background: #fff1f2;
}

.history-balance-pill.net-negative[b-ozqr2m4w3y] {
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
}

.history-balance-pill.settled[b-ozqr2m4w3y] {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.history-status[b-ozqr2m4w3y] {
    border: 1px solid var(--line);
    background: var(--canvas);
    color: var(--ink-soft);
}

.history-status.reversed[b-ozqr2m4w3y] {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}
.history-status.draft[b-ozqr2m4w3y] { color: #765719; background: #fff4d8; border-color: #ead29a; }

.history-card-body[b-ozqr2m4w3y] {
    padding: 1rem;
    background: color-mix(in srgb, var(--canvas) 60%, var(--surface));
}

.history-list-note[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: .9rem;
    border: 1px solid #eadbb8;
    border-radius: 11px;
    background: var(--gold-pale);
    padding: .7rem .85rem;
    color: var(--ink-soft);
    font-size: .8rem;
    font-weight: 700;
}

.history-list-note i[b-ozqr2m4w3y] {
    color: var(--gold-dark);
}

.history-list-note span[b-ozqr2m4w3y] {
    display: flex;
    flex-direction: column;
}

.history-list-note small[b-ozqr2m4w3y] {
    color: var(--gold-dark);
    font-size: .64rem;
}

.history-lines-heading[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .65rem;
}

.history-lines-heading > div[b-ozqr2m4w3y] {
    display: flex;
    flex-direction: column;
}

.history-lines-heading strong[b-ozqr2m4w3y] {
    font-size: .9rem;
}

.history-lines-heading small[b-ozqr2m4w3y],
.history-lines-heading > span[b-ozqr2m4w3y] {
    color: var(--ink-muted);
    font-size: .7rem;
}

.history-lines[b-ozqr2m4w3y] {
    display: grid;
    gap: .55rem;
}

.history-line[b-ozqr2m4w3y] {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(300px, 1.75fr) minmax(140px, .75fr);
    align-items: center;
    gap: .9rem;
    border: 1px solid var(--line);
    border-right: 4px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface);
    padding: .7rem .8rem;
}

.history-line.movement-out[b-ozqr2m4w3y] {
    border-right-color: #e11d48;
}

.history-line.movement-in[b-ozqr2m4w3y] {
    border-right-color: #059669;
}

.history-line.movement-cash[b-ozqr2m4w3y] {
    border-right-color: var(--gold);
}

.history-line-main[b-ozqr2m4w3y] {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .7rem;
}

.history-line-main > div[b-ozqr2m4w3y] {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.history-line-main strong[b-ozqr2m4w3y] {
    font-size: .85rem;
}

.history-line-main div > span[b-ozqr2m4w3y] {
    overflow: hidden;
    color: var(--ink-muted);
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.history-line-sequence[b-ozqr2m4w3y] {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 9px;
    background: var(--canvas);
    color: var(--ink-soft);
    font-size: .75rem;
    font-weight: 850;
}

.history-line-facts[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
}

.history-line-facts > span[b-ozqr2m4w3y] {
    display: flex;
    min-width: 76px;
    flex-direction: column;
    border-right: 1px solid var(--line);
    padding-right: .55rem;
}

.history-line-facts strong[b-ozqr2m4w3y] {
    color: var(--ink-soft);
    font-size: .75rem;
}

.history-line-total[b-ozqr2m4w3y] {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: .2rem .5rem;
    text-align: left;
}

.history-line-total > small[b-ozqr2m4w3y] {
    grid-column: 1 / -1;
}

.history-line-total > strong[b-ozqr2m4w3y] {
    color: var(--ink);
    font-size: .92rem;
}

.history-line-total > strong span[b-ozqr2m4w3y] {
    color: var(--ink-muted);
    font-size: .65rem;
}

.history-line-note[b-ozqr2m4w3y] {
    grid-column: 1 / -1;
    border-top: 1px dashed var(--line);
    padding-top: .45rem;
    color: var(--ink-muted);
    font-size: .7rem;
}

.history-card-footer[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .9rem;
    border-top: 1px solid var(--line);
    padding-top: .9rem;
}

.history-final-balance[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
}

.history-final-balance strong[b-ozqr2m4w3y] {
    font-size: .82rem;
}

.history-reverse-button[b-ozqr2m4w3y] {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff;
    padding: .45rem .75rem;
    color: #991b1b;
    font-size: .76rem;
    font-weight: 800;
}
.history-draft-button[b-ozqr2m4w3y] { display: inline-flex; align-items: center; gap: .4rem; min-height: 34px; border: 1px solid #d7bd7f; border-radius: 9px; padding: .4rem .7rem; color: #725317; background: #fff8e7; font-size: .68rem; font-weight: 800; cursor: pointer; }
.history-draft-button:hover[b-ozqr2m4w3y] { background: #f9edcd; }
.history-draft-button.edit-draft[b-ozqr2m4w3y] { color: #fff; background: var(--green); border-color: var(--green); }
.draft-confirm[b-ozqr2m4w3y] { border-color: #ead29a; color: #725317; background: #fff8e7; }

.history-reverse-button.confirm[b-ozqr2m4w3y] {
    background: #991b1b;
    color: #fff;
}

.history-reverse-button.cancel[b-ozqr2m4w3y] {
    border-color: var(--line);
    color: var(--ink-soft);
}

.history-reverse-confirm[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.history-reverse-confirm > span[b-ozqr2m4w3y] {
    color: #991b1b;
    font-size: .75rem;
    font-weight: 800;
}

@media (max-width: 1050px) {
    .accounting-history-card > summary[b-ozqr2m4w3y] {
        grid-template-columns: 2rem 90px minmax(140px, 1fr) 80px minmax(200px, 1fr);
    }

    .history-date[b-ozqr2m4w3y] {
        display: none;
    }

    .history-line[b-ozqr2m4w3y] {
        grid-template-columns: minmax(150px, 1fr) minmax(260px, 1.5fr) minmax(130px, .7fr);
    }
}

@media (max-width: 760px) {
    .accounting-history-title[b-ozqr2m4w3y] {
        align-items: stretch;
    }

    .history-count[b-ozqr2m4w3y] {
        align-self: flex-start;
    }

    .accounting-history-card > summary[b-ozqr2m4w3y] {
        grid-template-columns: 2rem 70px minmax(0, 1fr);
        min-height: auto;
        gap: .6rem;
    }

    .history-meta-item[b-ozqr2m4w3y] {
        display: none;
    }

    .history-settlement[b-ozqr2m4w3y] {
        grid-column: 2 / -1;
        justify-content: flex-start;
    }

    .history-line[b-ozqr2m4w3y] {
        grid-template-columns: 1fr;
    }

    .history-line-facts[b-ozqr2m4w3y] {
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
        padding: .55rem 0;
    }

    .history-line-total[b-ozqr2m4w3y] {
        text-align: right;
    }

    .history-card-footer[b-ozqr2m4w3y] {
        align-items: stretch;
        flex-direction: column;
    }

    .history-reverse-button[b-ozqr2m4w3y] {
        width: 100%;
    }
}

.searchable-dropdown[b-ozqr2m4w3y] {
    position: relative;
    width: 100%;
}

.searchable-dropdown-input[b-ozqr2m4w3y] {
    padding-left: 2.2rem !important;
    border-color: #cbd5e1;
    background: #fff;
    font-weight: 700;
}

.searchable-dropdown-input:focus[b-ozqr2m4w3y],
.detail-dropdown .detail-select:focus[b-ozqr2m4w3y] {
    border-color: #0f4938;
    box-shadow: 0 0 0 3px rgba(15, 73, 56, .12);
}

.searchable-dropdown-chevron[b-ozqr2m4w3y] {
    position: absolute;
    top: 50%;
    left: .8rem;
    z-index: 2;
    transform: translateY(-50%);
    color: #64748b;
    font-size: .72rem;
    pointer-events: none;
}

.searchable-dropdown-menu[b-ozqr2m4w3y] {
    position: absolute;
    z-index: 80;
    top: calc(100% + .35rem);
    right: 0;
    left: 0;
    max-height: 20rem;
    overflow-y: auto;
    border: 1px solid #cbd5e1;
    border-radius: .85rem;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
    padding: .35rem;
}

.searchable-dropdown-option[b-ozqr2m4w3y] {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    border-radius: .65rem;
    background: transparent;
    padding: .65rem .75rem;
    text-align: right;
    color: #1e293b;
    cursor: pointer;
}

.searchable-dropdown-option:hover[b-ozqr2m4w3y],
.searchable-dropdown-option:focus[b-ozqr2m4w3y] {
    background: #ecfdf5;
    color: #0f4938;
    outline: none;
}

.searchable-dropdown-option span[b-ozqr2m4w3y],
.searchable-dropdown-option strong[b-ozqr2m4w3y],
.searchable-dropdown-option small[b-ozqr2m4w3y] {
    display: block;
}

.searchable-dropdown-option strong[b-ozqr2m4w3y] {
    font-size: .82rem;
}

.searchable-dropdown-option small[b-ozqr2m4w3y] {
    margin-top: .15rem;
    color: #64748b;
    font-size: .68rem;
}

.party-kind-badge[b-ozqr2m4w3y] {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #f1f5f9;
    padding: .25rem .55rem;
    color: #475569;
    font-size: .65rem;
    font-weight: 800;
}

.searchable-dropdown-create[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: .25rem;
    border-top: 1px solid #e2e8f0;
    padding: .7rem .75rem .4rem;
    color: #0f4938;
    font-size: .75rem;
}

.searchable-dropdown-create kbd[b-ozqr2m4w3y] {
    border: 1px solid #d7b66f;
    border-bottom-width: 3px;
    border-radius: .4rem;
    background: #fffbea;
    padding: .2rem .45rem;
    color: #713f12;
    font-family: inherit;
    font-size: .7rem;
    font-weight: 900;
}

.searchable-dropdown-empty[b-ozqr2m4w3y] {
    padding: .8rem;
    text-align: center;
    color: #94a3b8;
    font-size: .75rem;
    font-weight: 700;
}

.detail-menu[b-ozqr2m4w3y] {
    min-width: 250px;
}

.detail-picker-floating[b-ozqr2m4w3y] {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 380px;
    max-height: 320px;
    visibility: hidden;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: .75rem;
    background: #fff;
    opacity: 0;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .2);
    transition: opacity .1s ease;
}

.detail-picker-results[b-ozqr2m4w3y] {
    max-height: 320px;
    overflow-y: auto;
    padding: .3rem;
}

.detail-picker-floating .searchable-dropdown-option[b-ozqr2m4w3y] {
    min-height: 3.2rem;
    padding: .55rem .7rem;
}

.detail-picker-floating .searchable-dropdown-create[b-ozqr2m4w3y] {
    position: sticky;
    bottom: 0;
    margin: .25rem -.05rem -.05rem;
    border-top: 1px solid #dbe3ea;
    background: #f8fafc;
    padding: .55rem .65rem;
}

.wage-input-wrap[b-ozqr2m4w3y] {
    position: relative;
    min-width: 112px;
}

.wage-input-wrap .wage-cell[b-ozqr2m4w3y] {
    padding-inline-end: 2.75rem;
}

.wage-input-wrap > small[b-ozqr2m4w3y] {
    position: absolute;
    top: 50%;
    inset-inline-end: .55rem;
    color: #64748b;
    font-size: .65rem;
    font-weight: 850;
    pointer-events: none;
    transform: translateY(-50%);
}

.detail-dialog-backdrop[b-ozqr2m4w3y] {
    position: fixed;
    z-index: 5000;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, .58);
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.detail-create-dialog[b-ozqr2m4w3y] {
    width: min(620px, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border: 1px solid rgba(197, 145, 31, .28);
    border-radius: 1.2rem;
    background: #fff;
    padding: 1.3rem;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .28);
}

.detail-dialog-head[b-ozqr2m4w3y] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .8rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.detail-dialog-icon[b-ozqr2m4w3y] {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: .9rem;
    background: var(--gold-pale);
    color: var(--gold-dark);
    font-size: 1.15rem;
}

.detail-dialog-head small[b-ozqr2m4w3y],
.detail-dialog-field > label[b-ozqr2m4w3y] {
    color: #64748b;
    font-size: .75rem;
    font-weight: 850;
}

.detail-dialog-head h3[b-ozqr2m4w3y] {
    margin: .15rem 0 0;
    color: #163c31;
    font-size: 1.15rem;
}

.detail-dialog-close[b-ozqr2m4w3y] {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
}

.detail-dialog-field[b-ozqr2m4w3y] {
    margin-top: 1.15rem;
}

.detail-dialog-field > label[b-ozqr2m4w3y] {
    display: block;
    margin-bottom: .55rem;
    color: #173f33;
}

.detail-choice-grid[b-ozqr2m4w3y] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
}

.detail-choice[b-ozqr2m4w3y] {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: .7rem;
    border: 1px solid #dbe3ea;
    border-radius: .85rem;
    background: #fff;
    padding: .75rem;
    color: #334155;
    text-align: start;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.detail-choice > i[b-ozqr2m4w3y] {
    width: 1.5rem;
    color: #8a6419;
    text-align: center;
}

.detail-choice span[b-ozqr2m4w3y] {
    display: grid;
    gap: .2rem;
}

.detail-choice strong[b-ozqr2m4w3y] { color: #173f33; font-size: .82rem; }
.detail-choice small[b-ozqr2m4w3y] { color: #64748b; font-size: .67rem; }

.detail-choice.selected[b-ozqr2m4w3y] {
    border-color: #bd861e;
    background: #fff9e9;
    box-shadow: 0 0 0 3px rgba(189, 134, 30, .12);
}

.detail-dialog-example[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    border-radius: .7rem;
    background: #f0fdf7;
    padding: .7rem .8rem;
    color: #176c4b;
    font-size: .73rem;
    font-weight: 750;
}

.detail-dialog-actions[b-ozqr2m4w3y] {
    display: flex;
    justify-content: flex-end;
    gap: .6rem;
    margin-top: 1.2rem;
}

@media (max-width: 560px) {
    .detail-choice-grid[b-ozqr2m4w3y] { grid-template-columns: 1fr; }
    .detail-dialog-actions[b-ozqr2m4w3y] { align-items: stretch; flex-direction: column-reverse; }
    .detail-dialog-actions button[b-ozqr2m4w3y] { width: 100%; }
}

@media (max-width: 700px) {
    .detail-picker-floating[b-ozqr2m4w3y] {
        max-width: calc(100vw - 24px);
    }
}

.accounting-notice[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.accounting-notice > span[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .55rem;
}

.accounting-notice > span i[b-ozqr2m4w3y] {
    color: #168052;
}

.accounting-notice-print[b-ozqr2m4w3y] {
    flex: 0 0 auto;
    text-decoration: none;
}

.history-card-actions[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .55rem;
    flex-wrap: wrap;
}

.history-print-button[b-ozqr2m4w3y] {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid #d7b66f;
    border-radius: 10px;
    background: var(--gold-pale);
    padding: .45rem .8rem;
    color: var(--gold-dark);
    font-size: .76rem;
    font-weight: 850;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.history-print-button:hover[b-ozqr2m4w3y] {
    border-color: var(--gold);
    background: #fff8e7;
    color: #6f4c10;
    transform: translateY(-1px);
}

@media (max-width: 760px) {
    .accounting-notice[b-ozqr2m4w3y] {
        align-items: stretch;
        flex-direction: column;
    }

    .accounting-notice-print[b-ozqr2m4w3y],
    .history-card-actions[b-ozqr2m4w3y],
    .history-print-button[b-ozqr2m4w3y] {
        width: 100%;
    }

    .history-card-actions[b-ozqr2m4w3y] {
        align-items: stretch;
        flex-direction: column;
    }
}

.history-summary-print[b-ozqr2m4w3y] {
    display: inline-flex;
    min-height: 2rem;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    border: 1px solid #d7b66f;
    border-radius: 999px;
    background: var(--gold-pale);
    padding: .3rem .65rem;
    color: var(--gold-dark);
    font-size: .7rem;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

.history-summary-print:hover[b-ozqr2m4w3y],
.history-summary-print:focus-visible[b-ozqr2m4w3y] {
    border-color: var(--gold);
    background: #fff8e7;
    color: #6f4c10;
    outline: none;
}

@media (max-width: 760px) {
    .history-summary-print span[b-ozqr2m4w3y] {
        display: none;
    }

    .history-summary-print[b-ozqr2m4w3y] {
        width: 2rem;
        padding: 0;
    }
}
.accounting-embedded[b-ozqr2m4w3y] { display: flex; flex-direction: column; gap: 1rem; }
.accounting-embedded .accounting-page-heading[b-ozqr2m4w3y] { display: none; }
.accounting-embedded .accounting-history[b-ozqr2m4w3y] { order: 1; margin: 0; padding: 0; overflow: hidden; }
.accounting-embedded .accounting-editor[b-ozqr2m4w3y] { order: 2; margin: 0; }
.accounting-embedded .accounting-notice[b-ozqr2m4w3y] { order: 3; margin: 0; }
.accounting-embedded .accounting-history-title[b-ozqr2m4w3y] { padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.accounting-embedded .accounting-history-title p[b-ozqr2m4w3y] { display: none; }
.accounting-embedded .accounting-history-strip[b-ozqr2m4w3y] { display: flex; direction: ltr; align-items: stretch; gap: .6rem; padding: .65rem; background: #faf9f5; }
.accounting-embedded .accounting-history-list[b-ozqr2m4w3y] { display: flex; flex: 1 1 auto; min-width: 0; direction: rtl; gap: .55rem; overflow-x: auto; padding: 0; background: transparent; scrollbar-width: thin; }
.accounting-embedded .accounting-history-card[b-ozqr2m4w3y] { flex: 0 0 430px; min-height: 72px; border-radius: 11px; box-shadow: none; background: #fff; }
.accounting-embedded .accounting-history-card > summary[b-ozqr2m4w3y] { grid-template-columns: 20px 92px minmax(0, 1fr); min-height: 72px; gap: .7rem; padding: .5rem .75rem; }
.accounting-embedded .accounting-history-card .history-party[b-ozqr2m4w3y],
.accounting-embedded .accounting-history-card .history-meta-item[b-ozqr2m4w3y] { display: none; }
.accounting-embedded .embedded-list-identity[b-ozqr2m4w3y] { display: flex; min-width: 0; flex-direction: column; justify-content: center; gap: .12rem; }
.accounting-embedded .embedded-list-identity strong[b-ozqr2m4w3y] { color: var(--green-deep); font-size: .88rem; }
.accounting-embedded .embedded-list-identity small[b-ozqr2m4w3y] { color: var(--ink-muted); font-size: .62rem; white-space: nowrap; }
.accounting-embedded .embedded-list-balance[b-ozqr2m4w3y] { align-self: center; min-width: 0; overflow: hidden; color: var(--ink); font-size: .72rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.accounting-embedded .accounting-history-card .history-summary-print[b-ozqr2m4w3y] { display: none; }
.accounting-embedded .accounting-history-card .history-card-body[b-ozqr2m4w3y] { display: none; }
.accounting-embedded .accounting-history-card.is-active[b-ozqr2m4w3y] { border-color: #b98525; background: #fff; box-shadow: inset 0 -3px 0 #b98525; }
.accounting-embedded .accounting-history-card.is-active .history-chevron[b-ozqr2m4w3y] { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; color: #fff; background: #b98525; transform: rotate(-90deg); }
.list-edit-notice[b-ozqr2m4w3y] { display: flex; align-items: center; gap: .55rem; margin: 0 .65rem .65rem; padding: .65rem .8rem; border: 1px solid #e2c57c; border-radius: 10px; color: #6f4d0b; background: #fffaf0; font-size: .78rem; font-weight: 700; }
.list-edit-notice i[b-ozqr2m4w3y] { flex: 0 0 auto; color: #b98525; }
.accounting-embedded .embedded-account-lock[b-ozqr2m4w3y] { display: none; }
.accounting-embedded .accounting-meta-grid[b-ozqr2m4w3y] { grid-template-columns: 1fr; }
.accounting-embedded .embedded-account-document-header[b-ozqr2m4w3y] { flex: 0 0 auto; margin: .6rem .6rem 0; }
.accounting-embedded .accounting-editor-form-slot[b-ozqr2m4w3y]  .accounting-editor-form {
    padding: 0 .6rem .45rem;
}
.accounting-embedded .kimia-document-bar[b-ozqr2m4w3y] {
    grid-template-columns: minmax(145px, .7fr) minmax(190px, .85fr) minmax(260px, 1.2fr);
    min-height: 106px;
    border-start-start-radius: 0;
    border-start-end-radius: 0;
    box-shadow: 0 5px 18px rgba(28, 48, 40, .05);
}
.accounting-embedded .kimia-document-bar > div[b-ozqr2m4w3y] {
    display: flex;
    min-height: 103px;
    flex-direction: column;
    justify-content: center;
    padding: .55rem .85rem;
}
.accounting-embedded .kimia-document-bar span[b-ozqr2m4w3y] { font-size: .68rem; }
.accounting-embedded .kimia-document-bar strong[b-ozqr2m4w3y] { font-size: .86rem; }
.accounting-embedded .kimia-gold-price-input[b-ozqr2m4w3y]  .form-control {
    height: 38px;
    min-height: 38px;
    border-radius: 8px;
    font-size: .88rem;
}
.accounting-meta-after-lines[b-ozqr2m4w3y] { margin-top: .8rem; }
.accounting-meta-after-lines .accounting-list-note[b-ozqr2m4w3y] { max-width: none; }
.embedded-new-list-card[b-ozqr2m4w3y] { display: flex; flex: 0 0 165px; min-height: 72px; direction: rtl; flex-direction: row; align-items: center; justify-content: center; gap: .45rem; border: 1px dashed #bca66f; border-radius: 11px; color: var(--green-deep); background: #fff; cursor: pointer; }
.embedded-new-list-card i[b-ozqr2m4w3y] { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: #fff; background: var(--green); }
.embedded-new-list-card strong[b-ozqr2m4w3y] { font-size: .74rem; }
.embedded-new-list-card small[b-ozqr2m4w3y] { color: var(--ink-muted); font-size: .6rem; }
.embedded-new-list-card:hover[b-ozqr2m4w3y] { border-style: solid; background: #f8f2e2; }

.accounting-editor-fields[b-ozqr2m4w3y] {
    min-width: 0;
    border: 0;
    padding: 0;
}

.accounting-editor-fields:disabled[b-ozqr2m4w3y] {
    opacity: .82;
}

.standalone-account-lock[b-ozqr2m4w3y] {
    display: none;
}

.standalone-party-picker[b-ozqr2m4w3y] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .4rem;
    margin-top: .25rem;
}

.standalone-party-picker .searchable-dropdown[b-ozqr2m4w3y] {
    min-width: 0;
}

.standalone-party-picker .form-control[b-ozqr2m4w3y] {
    height: 2.25rem;
    min-height: 2.25rem;
    border-color: #d7b66f;
    border-radius: .65rem;
    padding-inline: .65rem 1.8rem;
    font-size: .72rem;
}

.quick-party-toggle[b-ozqr2m4w3y] {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    justify-content: center;
    gap: .3rem;
    border: 1px solid #d7b66f;
    border-radius: .65rem;
    background: #fff;
    padding: .35rem .55rem;
    color: #6f4c10;
    cursor: pointer;
    font-size: .65rem;
    font-weight: 850;
    white-space: nowrap;
}

.quick-party-dialog[b-ozqr2m4w3y] {
    width: min(580px, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    margin: auto;
    border: 1px solid #d9e3dd;
    border-radius: 16px;
    background: #fff;
    padding: 0;
    color: #173d31;
    box-shadow: 0 24px 80px rgba(15, 35, 25, .25);
}

.quick-party-dialog[b-ozqr2m4w3y]::backdrop {
    background: rgba(15, 30, 23, .48);
    backdrop-filter: blur(3px);
}

.quick-party-dialog-card[b-ozqr2m4w3y] { padding: 1.5rem; }
.quick-party-dialog-head[b-ozqr2m4w3y] {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.quick-party-dialog-icon[b-ozqr2m4w3y],
.quick-party-dialog-close[b-ozqr2m4w3y] {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 10px;
}
.quick-party-dialog-icon[b-ozqr2m4w3y] { background: #fbf3df; color: #946b1e; }
.quick-party-dialog-head h2[b-ozqr2m4w3y] { margin: .1rem 0 .4rem; font-size: 1.25rem; font-weight: 850; }
.quick-party-dialog-head p[b-ozqr2m4w3y] { margin: 0; color: #65766e; font-size: .85rem; line-height: 1.7; }
.quick-party-dialog-close[b-ozqr2m4w3y] { border: 0; background: #f0f4f1; color: #52665a; cursor: pointer; }
.quick-party-dialog-close:hover:not(:disabled)[b-ozqr2m4w3y] { background: #e3ece6; }

.quick-party-dialog-fields[b-ozqr2m4w3y] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1rem;
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
}
.quick-party-dialog-fields > div[b-ozqr2m4w3y] { min-width: 0; }
.quick-party-dialog-fields label[b-ozqr2m4w3y] {
    display: block;
    margin-bottom: .45rem;
    font-size: .9rem;
    font-weight: 800;
}
.quick-party-dialog-fields label > span[b-ozqr2m4w3y] { color: #a97720; }
.quick-party-dialog-fields label > small[b-ozqr2m4w3y] { margin-inline-start: .25rem; color: #78877f; font-size: .75rem; font-weight: 500; }
.quick-party-dialog[b-ozqr2m4w3y]  .form-control,
.quick-party-dialog[b-ozqr2m4w3y]  .form-select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #c8d5cd;
    border-radius: 8px;
    background-color: #fff;
    padding: .6rem .75rem;
    color: #173d31;
    font-size: .95rem;
}
.quick-party-dialog[b-ozqr2m4w3y]  .form-select { padding-inline-end: 2rem; }
.quick-party-dialog[b-ozqr2m4w3y]  .form-control:focus,
.quick-party-dialog[b-ozqr2m4w3y]  .form-select:focus {
    border-color: #087158;
    outline: 2px solid rgba(8, 113, 88, .2);
    outline-offset: 1px;
}
.quick-party-dialog[b-ozqr2m4w3y]  .validation-message,
.quick-party-dialog-error[b-ozqr2m4w3y] { color: #a92b3d; font-size: .85rem; }
.quick-party-dialog-error[b-ozqr2m4w3y] { margin-top: 1rem; border-radius: 8px; background: #fff0f2; padding: .75rem; }
.quick-party-dialog-actions[b-ozqr2m4w3y] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    margin-top: 1.5rem;
    border-top: 1px solid #e5ece7;
    padding-top: 1rem;
}
.quick-party-dialog-actions button[b-ozqr2m4w3y] { min-width: 120px; min-height: 44px; font-size: .9rem; }
.quick-party-dialog button:focus-visible[b-ozqr2m4w3y] { outline: 2px solid #087158; outline-offset: 2px; }
.quick-party-dialog button:disabled[b-ozqr2m4w3y] { cursor: not-allowed; opacity: .55; }

@media (max-width: 520px) {
    .quick-party-dialog-card[b-ozqr2m4w3y] { padding: 1rem; }
    .quick-party-dialog-fields[b-ozqr2m4w3y] { grid-template-columns: 1fr; }
    .quick-party-dialog-head[b-ozqr2m4w3y] { gap: .5rem; }
    .quick-party-dialog-icon[b-ozqr2m4w3y] { display: none; }
    .quick-party-dialog-head[b-ozqr2m4w3y] { grid-template-columns: 1fr auto; }
    .quick-party-dialog-actions button[b-ozqr2m4w3y] { flex: 1; }
}

.quick-party-dialog[b-ozqr2m4w3y]  .validation-message {
    margin-top: .35rem;
}

.accounting-record-navigator[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin: 0 1rem .8rem;
    border: 1px solid #e1d4ad;
    border-radius: 12px;
    background: #fffdf6;
    padding: .55rem;
}

.record-scope-groups[b-ozqr2m4w3y] {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: .35rem;
}

.record-scope-control[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid #d9dee5;
    border-radius: 9px;
    background: #fff;
    padding: .25rem;
    color: #475569;
    font-size: .7rem;
    font-weight: 800;
}

.record-scope-control > span[b-ozqr2m4w3y] {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding-inline: .35rem;
    white-space: nowrap;
}

.record-scope-control > div[b-ozqr2m4w3y] {
    display: flex;
    direction: rtl;
    gap: .18rem;
}

.record-scope-control button[b-ozqr2m4w3y] {
    display: grid;
    width: 34px;
    min-height: 34px;
    place-items: center;
    border: 0;
    border-radius: 7px;
    background: #f1f5f9;
    color: #334155;
    cursor: pointer;
}

.record-scope-control.is-active[b-ozqr2m4w3y] {
    border-color: #b98924;
    background: #f8edcf;
    color: #6f4c10;
    box-shadow: inset 0 -2px #b98924;
}

.record-scope-control button:disabled[b-ozqr2m4w3y] {
    cursor: not-allowed;
    opacity: .42;
}

.record-position[b-ozqr2m4w3y] {
    display: grid;
    min-width: 116px;
    text-align: center;
}

.record-position strong[b-ozqr2m4w3y],
.record-position small[b-ozqr2m4w3y] {
    display: block;
}

.record-position strong[b-ozqr2m4w3y] {
    color: #173d31;
    font-size: .75rem;
}

.record-position small[b-ozqr2m4w3y] {
    margin-top: .08rem;
    color: #64748b;
    font-size: .58rem;
    font-weight: 700;
}

@media (max-width: 760px) {
    .accounting-record-navigator[b-ozqr2m4w3y] {
        align-items: stretch;
        flex-direction: column;
    }

    .record-scope-groups[b-ozqr2m4w3y] {
        align-items: stretch;
        flex-direction: column;
    }

    .record-scope-control[b-ozqr2m4w3y] {
        justify-content: space-between;
    }

    .standalone-party-picker[b-ozqr2m4w3y] {
        grid-template-columns: 1fr;
    }
}

/* Keep the embedded account editor inside its card on desktop. The standalone
   operations screen and narrow viewports retain horizontal scrolling. */
@media (min-width: 1180px) {
    .accounting-standalone .accounting-grid-scroll[b-ozqr2m4w3y] {
        overflow-x: clip;
    }

    .accounting-standalone .kimia-entry-table[b-ozqr2m4w3y] {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .accounting-standalone .kimia-entry-table th[b-ozqr2m4w3y],
    .accounting-standalone .kimia-entry-table td[b-ozqr2m4w3y] {
        min-width: 0;
        padding-inline: .18rem;
    }

    .accounting-standalone .kimia-entry-table .accounting-cell[b-ozqr2m4w3y],
    .accounting-standalone .kimia-entry-table select.accounting-cell[b-ozqr2m4w3y],
    .accounting-standalone .movement-select[b-ozqr2m4w3y],
    .accounting-standalone .detail-select[b-ozqr2m4w3y],
    .accounting-standalone .settlement-detail-stack[b-ozqr2m4w3y],
    .accounting-standalone .settlement-detail-stack .counterparty-select[b-ozqr2m4w3y],
    .accounting-standalone .conversion-rate-input[b-ozqr2m4w3y],
    .accounting-standalone .converted-amount-input[b-ozqr2m4w3y],
    .accounting-standalone .accounting-description[b-ozqr2m4w3y] {
        width: 100%;
        min-width: 0;
    }

    .accounting-standalone .accounting-fixed-detail[b-ozqr2m4w3y] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .accounting-embedded .accounting-grid-scroll[b-ozqr2m4w3y] {
        overflow-x: clip;
    }

    .accounting-embedded .kimia-entry-table[b-ozqr2m4w3y] {
        width: 100%;
        min-width: 0;
        table-layout: fixed;
    }

    .accounting-embedded .kimia-entry-table th[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td[b-ozqr2m4w3y] {
        min-width: 0;
        padding-inline: .18rem;
    }

    .accounting-embedded .kimia-entry-table th[b-ozqr2m4w3y] {
        font-size: .66rem;
    }

    .accounting-embedded .kimia-entry-table .accounting-cell[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table select.accounting-cell[b-ozqr2m4w3y] {
        min-width: 0;
        padding-inline: .38rem;
        font-size: .7rem;
    }

    .accounting-embedded .kimia-entry-table select.accounting-cell[b-ozqr2m4w3y] {
        padding-left: 1.35rem;
        background-position: left .3rem center;
    }

    .accounting-embedded .movement-select[b-ozqr2m4w3y],
    .accounting-embedded .detail-select[b-ozqr2m4w3y],
    .accounting-embedded .settlement-detail-stack[b-ozqr2m4w3y],
    .accounting-embedded .settlement-detail-stack .counterparty-select[b-ozqr2m4w3y],
    .accounting-embedded .conversion-rate-input[b-ozqr2m4w3y],
    .accounting-embedded .converted-amount-input[b-ozqr2m4w3y],
    .accounting-embedded .accounting-description[b-ozqr2m4w3y] {
        width: 100%;
        min-width: 0;
    }

    .accounting-embedded .accounting-fixed-detail[b-ozqr2m4w3y] {
        min-width: 0;
        overflow: hidden;
        padding-inline: .4rem;
        text-overflow: ellipsis;
    }

    .accounting-embedded .direction-pill[b-ozqr2m4w3y] {
        width: 100%;
        min-width: 0;
        padding-inline: .25rem;
    }

    .accounting-embedded .kimia-entry-table th:nth-child(1)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(1)[b-ozqr2m4w3y] { width: 2%; }
    .accounting-embedded .kimia-entry-table th:nth-child(2)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(2)[b-ozqr2m4w3y] { width: 7.5%; }
    .accounting-embedded .kimia-entry-table th:nth-child(3)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(3)[b-ozqr2m4w3y] { width: 15%; }
    .accounting-embedded .kimia-entry-table th:nth-child(4)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(4)[b-ozqr2m4w3y] { width: 6.5%; }
    .accounting-embedded .kimia-entry-table th:nth-child(5)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(5)[b-ozqr2m4w3y] { width: 7.5%; }
    .accounting-embedded .kimia-entry-table th:nth-child(6)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(6)[b-ozqr2m4w3y] { width: 6%; }
    .accounting-embedded .kimia-entry-table th:nth-child(7)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(7)[b-ozqr2m4w3y] { width: 9%; }
    .accounting-embedded .kimia-entry-table th:nth-child(8)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(8)[b-ozqr2m4w3y] { width: 7%; }
    .accounting-embedded .kimia-entry-table th:nth-child(9)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(9)[b-ozqr2m4w3y] { width: 8%; }
    .accounting-embedded .kimia-entry-table th:nth-child(10)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(10)[b-ozqr2m4w3y] { width: 9%; }
    .accounting-embedded .kimia-entry-table th:nth-child(11)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(11)[b-ozqr2m4w3y] { width: 6%; }
    .accounting-embedded .kimia-entry-table th:nth-child(12)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(12)[b-ozqr2m4w3y] { width: 6.5%; }
    .accounting-embedded .kimia-entry-table th:nth-child(13)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(13)[b-ozqr2m4w3y] { width: 6%; }
    .accounting-embedded .kimia-entry-table th:nth-child(14)[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table td:nth-child(14)[b-ozqr2m4w3y] { width: 9%; }
}

@media (min-width: 1180px) and (min-height: 700px) {
    .accounting-embedded[b-ozqr2m4w3y] {
        height: 100%;
        min-height: 0;
        gap: .5rem;
        overflow: hidden;
    }

    .accounting-embedded .accounting-history[b-ozqr2m4w3y] {
        flex: 0 0 72px;
        min-height: 72px;
    }

    .accounting-embedded .accounting-history-title[b-ozqr2m4w3y] {
        display: none;
    }

    .accounting-embedded .accounting-history-strip[b-ozqr2m4w3y] {
        height: 72px;
        gap: .35rem;
        padding: .3rem;
    }

    .accounting-embedded .accounting-history-list[b-ozqr2m4w3y] {
        gap: .35rem;
        scrollbar-width: none;
    }

    .accounting-embedded .accounting-history-list[b-ozqr2m4w3y]::-webkit-scrollbar,
    .accounting-embedded .accounting-grid-scroll[b-ozqr2m4w3y]::-webkit-scrollbar {
        display: none;
    }

    .accounting-embedded .accounting-history-card[b-ozqr2m4w3y] {
        flex-basis: 315px;
        min-height: 60px;
    }

    .accounting-embedded .accounting-history-card > summary[b-ozqr2m4w3y] {
        min-height: 60px;
        padding: .35rem .55rem;
    }

    .accounting-embedded .embedded-new-list-card[b-ozqr2m4w3y] {
        flex-basis: 135px;
        min-height: 60px;
    }

    .accounting-embedded .accounting-editor[b-ozqr2m4w3y] {
        display: flex;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
    }

    .accounting-embedded .accounting-editor-form-slot[b-ozqr2m4w3y] {
        display: flex;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
    }

    .accounting-embedded .accounting-editor-head[b-ozqr2m4w3y] {
        flex: 0 0 auto;
        padding: .4rem .75rem;
    }

    .accounting-embedded .accounting-editor-head h2[b-ozqr2m4w3y] {
        margin-top: .05rem;
        font-size: .95rem;
    }

    .accounting-embedded .accounting-editor-head p[b-ozqr2m4w3y] {
        display: none;
    }

    .accounting-embedded .accounting-draft-badge[b-ozqr2m4w3y] {
        padding: .25rem .55rem;
        font-size: .62rem;
    }

    .accounting-embedded .accounting-editor form[b-ozqr2m4w3y] {
        display: flex;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
        padding: 0 .6rem .45rem;
    }

    .accounting-embedded .accounting-editor-fields[b-ozqr2m4w3y] {
        display: flex;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
    }

    .accounting-embedded .kimia-document-bar[b-ozqr2m4w3y] {
        flex: 0 0 auto;
        min-height: 106px;
        margin-bottom: .4rem;
    }

    .accounting-embedded .kimia-document-bar > div[b-ozqr2m4w3y] {
        min-height: 103px;
        padding: .55rem .85rem;
    }

    .accounting-embedded .kimia-document-bar > div > small[b-ozqr2m4w3y],
    .accounting-embedded .kimia-gold-price-card > small[b-ozqr2m4w3y] {
        display: none;
    }

    .accounting-embedded .kimia-document-bar strong[b-ozqr2m4w3y] {
        margin-top: .1rem;
        font-size: .86rem;
    }

    .accounting-embedded .kimia-gold-price-input[b-ozqr2m4w3y] {
        margin-top: .08rem;
    }

    .accounting-embedded .kimia-gold-price-input[b-ozqr2m4w3y]  .form-control {
        height: 38px;
        min-height: 38px;
    }

    .accounting-embedded .accounting-grid-shell[b-ozqr2m4w3y] {
        display: flex;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
        border-radius: .75rem;
    }

    .accounting-embedded .accounting-grid-title[b-ozqr2m4w3y] {
        flex: 0 0 auto;
        padding: .3rem .55rem;
    }

    .accounting-embedded .accounting-grid-title p[b-ozqr2m4w3y] {
        display: none;
    }

    .accounting-embedded .accounting-grid-title h3[b-ozqr2m4w3y] {
        font-size: .78rem;
    }

    .accounting-embedded .accounting-grid-title .btn-outline[b-ozqr2m4w3y] {
        min-height: 32px;
        padding: .3rem .55rem;
        font-size: .65rem;
    }

    .accounting-embedded .accounting-grid-scroll[b-ozqr2m4w3y] {
        min-height: 0;
        flex: 1 1 auto;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .accounting-embedded .kimia-entry-table th[b-ozqr2m4w3y] {
        padding-block: .35rem;
    }

    .accounting-embedded .kimia-entry-table td[b-ozqr2m4w3y] {
        padding-block: .22rem;
    }

    .accounting-embedded .kimia-entry-table .accounting-cell[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table select.accounting-cell[b-ozqr2m4w3y] {
        height: 2.35rem;
        min-height: 2.35rem;
        max-height: 2.35rem;
    }

    .accounting-embedded .accounting-meta-after-lines[b-ozqr2m4w3y] {
        flex: 0 0 auto;
        margin: .35rem 0 0;
    }

    .accounting-embedded .accounting-list-note label[b-ozqr2m4w3y] {
        display: none;
    }

    .accounting-embedded .accounting-list-note .form-control[b-ozqr2m4w3y] {
        min-height: 34px;
    }

    .accounting-embedded .accounting-actions[b-ozqr2m4w3y] {
        flex: 0 0 auto;
        margin-top: .35rem;
        padding-top: .35rem;
    }

    .accounting-embedded .accounting-actions button[b-ozqr2m4w3y] {
        min-height: 34px;
        padding-block: .35rem;
        font-size: .68rem;
    }
}

/* Standalone operations workspace: one fixed desktop viewport.  The document
   remains usable with many lines by containing overflow inside the editor,
   while the browser page itself never needs a scrollbar. */
@media (min-width: 1180px) and (min-height: 700px) {
    .accounting-standalone[b-ozqr2m4w3y] {
        display: flex;
        height: 100%;
        min-height: 0;
        flex-direction: column;
        gap: .4rem;
        overflow: hidden;
    }

    .accounting-standalone .accounting-page-heading[b-ozqr2m4w3y] {
        min-height: 32px;
        flex: 0 0 32px;
        align-items: center;
        justify-content: flex-start;
        gap: .55rem;
        margin: 0;
        padding-inline: .25rem;
    }

    .accounting-standalone .accounting-page-heading .section-kicker[b-ozqr2m4w3y],
    .accounting-standalone .accounting-page-heading p[b-ozqr2m4w3y] {
        display: none;
    }

    .accounting-standalone .accounting-page-heading h1[b-ozqr2m4w3y] {
        margin: 0;
        font-size: 1.08rem;
        line-height: 1.1;
    }

    .accounting-standalone .accounting-page-heading .btn-gold[b-ozqr2m4w3y] {
        min-height: 31px;
        padding: .25rem .65rem;
        font-size: .66rem;
    }

    .accounting-standalone .accounting-notice[b-ozqr2m4w3y] {
        flex: 0 0 auto;
        margin: 0;
        padding-block: .4rem;
    }

    .accounting-standalone .accounting-editor[b-ozqr2m4w3y] {
        display: grid;
        min-height: 0;
        flex: 1 1 auto;
        grid-template-columns: 185px minmax(0, 1fr);
        grid-template-rows: 40px minmax(0, 1fr);
        margin: 0;
        border-radius: 12px;
    }

    .accounting-standalone .accounting-editor-head[b-ozqr2m4w3y] {
        min-width: 185px;
        min-height: 40px;
        grid-column: 1 / 2;
        grid-row: 1;
        gap: .5rem;
        border-left: 1px solid var(--line);
        padding: .28rem .6rem;
    }

    .accounting-standalone .accounting-editor-head .section-kicker[b-ozqr2m4w3y],
    .accounting-standalone .accounting-editor-head p[b-ozqr2m4w3y] {
        display: none;
    }

    .accounting-standalone .accounting-editor-head h2[b-ozqr2m4w3y] {
        margin: 0;
        font-size: .9rem;
    }

    .accounting-standalone .accounting-draft-badge[b-ozqr2m4w3y] {
        padding: .22rem .5rem;
        font-size: .58rem;
    }

    .accounting-standalone .accounting-record-navigator[b-ozqr2m4w3y] {
        min-height: 40px;
        grid-column: 2 / 3;
        grid-row: 1;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: #fffdf7;
        padding: .2rem .4rem;
    }

    .accounting-standalone .record-scope-control[b-ozqr2m4w3y] {
        min-height: 32px;
        padding: .12rem;
        font-size: .62rem;
    }

    .accounting-standalone .record-scope-control button[b-ozqr2m4w3y] {
        width: 28px;
        min-height: 28px;
    }

    .accounting-standalone .record-position strong[b-ozqr2m4w3y] { font-size: .67rem; }
    .accounting-standalone .record-position small[b-ozqr2m4w3y] { font-size: .52rem; }

    .accounting-standalone .accounting-editor-form-slot[b-ozqr2m4w3y] {
        min-height: 0;
        min-width: 0;
        grid-column: 1 / 3;
        grid-row: 2;
    }

    .accounting-standalone .accounting-editor-form-slot[b-ozqr2m4w3y]  .accounting-editor-form {
        display: flex;
        width: 100%;
        height: 100%;
        min-height: 0;
        min-width: 0;
        flex: 1 1 auto;
        flex-direction: column;
        padding: .3rem .45rem;
    }

    .accounting-standalone .accounting-editor-fields[b-ozqr2m4w3y] {
        display: flex;
        min-height: 0;
        flex: 1 1 auto;
        flex-direction: column;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .accounting-standalone .accounting-editor-fields[b-ozqr2m4w3y]::-webkit-scrollbar,
    .accounting-standalone .accounting-grid-scroll[b-ozqr2m4w3y]::-webkit-scrollbar,
    .accounting-standalone .accounting-history-list[b-ozqr2m4w3y]::-webkit-scrollbar {
        display: none;
    }

    .accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] {
        --document-bar-radius: .65rem;
        min-height: 49px;
        flex: 0 0 49px;
        margin-bottom: .22rem;
    }

    .accounting-standalone .kimia-document-bar > div[b-ozqr2m4w3y] {
        padding: .2rem .45rem;
    }

    .accounting-standalone .kimia-document-bar > div > small[b-ozqr2m4w3y],
    .accounting-standalone .kimia-gold-price-card > small[b-ozqr2m4w3y] {
        display: none;
    }

    .accounting-standalone .kimia-document-bar span[b-ozqr2m4w3y] { font-size: .56rem; }
    .accounting-standalone .kimia-document-bar strong[b-ozqr2m4w3y] { margin-top: .04rem; font-size: .72rem; }

    .accounting-standalone .standalone-party-picker[b-ozqr2m4w3y] { margin-top: .08rem; }
    .accounting-standalone .standalone-party-picker .form-control[b-ozqr2m4w3y],
    .accounting-standalone .quick-party-toggle[b-ozqr2m4w3y],
    .accounting-standalone .kimia-gold-price-input[b-ozqr2m4w3y]  .form-control {
        height: 1.75rem;
        min-height: 1.75rem;
    }

    .accounting-standalone .kimia-gold-price-input[b-ozqr2m4w3y] { margin-top: .05rem; }

    .accounting-standalone .accounting-grid-shell[b-ozqr2m4w3y] {
        flex: 0 0 auto;
        border-radius: .65rem;
    }

    .accounting-standalone .accounting-grid-title[b-ozqr2m4w3y] {
        min-height: 31px;
        padding: .14rem .42rem;
    }

    .accounting-standalone .accounting-grid-title p[b-ozqr2m4w3y] { display: none; }
    .accounting-standalone .accounting-grid-title h3[b-ozqr2m4w3y] { font-size: .72rem; }
    .accounting-standalone .accounting-grid-title .invoice-step[b-ozqr2m4w3y] { width: 1.45rem; height: 1.45rem; }

    .accounting-standalone .accounting-grid-title .btn-outline[b-ozqr2m4w3y] {
        min-height: 26px;
        padding: .16rem .45rem;
        font-size: .62rem;
    }

    .accounting-standalone .accounting-grid-scroll[b-ozqr2m4w3y] {
        max-height: 18rem;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .accounting-standalone .kimia-entry-table th[b-ozqr2m4w3y] {
        padding-block: .2rem;
        font-size: .58rem;
    }

    .accounting-standalone .kimia-entry-table td[b-ozqr2m4w3y] { padding-block: .1rem; }

    .accounting-standalone .kimia-entry-table .accounting-cell[b-ozqr2m4w3y],
    .accounting-standalone .kimia-entry-table select.accounting-cell[b-ozqr2m4w3y],
    .accounting-standalone .equivalent-875-cell[b-ozqr2m4w3y],
    .accounting-standalone .accounting-fixed-detail[b-ozqr2m4w3y] {
        height: 1.9rem;
        min-height: 1.9rem;
        max-height: 1.9rem;
        border-radius: .5rem;
        font-size: .64rem;
    }

    .accounting-standalone .invoice-add-row-mobile[b-ozqr2m4w3y] { display: none; }

    .accounting-standalone .conversion-field-wrap > small[b-ozqr2m4w3y],
    .accounting-standalone .conversion-amount-wrap > small[b-ozqr2m4w3y],
    .accounting-standalone .settlement-detail-stack > small[b-ozqr2m4w3y] {
        display: none;
    }

    .accounting-standalone .conversion-field-wrap[b-ozqr2m4w3y],
    .accounting-standalone .conversion-amount-wrap[b-ozqr2m4w3y],
    .accounting-standalone .settlement-detail-stack[b-ozqr2m4w3y] {
        gap: 0;
    }

    .accounting-standalone .accounting-meta-after-lines[b-ozqr2m4w3y] {
        flex: 0 0 auto;
        margin: .18rem 0 0;
    }

    .accounting-standalone .accounting-list-note[b-ozqr2m4w3y] {
        display: flex;
        align-items: center;
        gap: .45rem;
    }

    .accounting-standalone .accounting-list-note label[b-ozqr2m4w3y] {
        flex: 0 0 auto;
        margin: 0;
        font-size: .62rem;
    }

    .accounting-standalone .accounting-list-note .form-control[b-ozqr2m4w3y] {
        height: 1.8rem;
        min-height: 1.8rem;
        font-size: .67rem;
    }

    .accounting-standalone .kimia-balance-matrix[b-ozqr2m4w3y] {
        flex: 0 0 auto;
        margin-top: .2rem;
        border-radius: .65rem;
    }

    .accounting-standalone .kimia-summary-heading[b-ozqr2m4w3y] {
        min-height: 31px;
        padding: .16rem .45rem;
    }

    .accounting-standalone .kimia-summary-heading small[b-ozqr2m4w3y] { display: none; }
    .accounting-standalone .kimia-balance-table th[b-ozqr2m4w3y],
    .accounting-standalone .kimia-balance-table td[b-ozqr2m4w3y] { padding: .24rem .4rem; font-size: .6rem; }

    .accounting-standalone .accounting-actions[b-ozqr2m4w3y] {
        min-height: 35px;
        flex: 0 0 35px;
        margin-top: .18rem;
        padding-top: .18rem;
    }

    .accounting-standalone .accounting-actions button[b-ozqr2m4w3y] {
        min-height: 29px;
        padding-block: .2rem;
        font-size: .66rem;
    }

    .accounting-standalone .accounting-history[b-ozqr2m4w3y] {
        display: grid;
        min-height: 62px;
        flex: 0 0 62px;
        grid-template-columns: 94px minmax(0, 1fr);
        margin: 0;
        overflow: hidden;
        padding: .3rem;
        border-radius: 12px;
    }

    .accounting-standalone .accounting-history-title[b-ozqr2m4w3y] {
        display: flex;
        align-items: center;
        border-left: 1px solid var(--line);
        padding: 0 .45rem;
    }

    .accounting-standalone .accounting-history-title .section-kicker[b-ozqr2m4w3y],
    .accounting-standalone .accounting-history-title p[b-ozqr2m4w3y],
    .accounting-standalone .history-count[b-ozqr2m4w3y] { display: none; }

    .accounting-standalone .accounting-history-title h2[b-ozqr2m4w3y] {
        margin: 0;
        font-size: .7rem;
    }

    .accounting-standalone .accounting-history-strip[b-ozqr2m4w3y] {
        display: flex;
        min-width: 0;
        align-items: stretch;
        padding-inline-start: .35rem;
    }

    .accounting-standalone .accounting-history-list[b-ozqr2m4w3y] {
        display: flex;
        min-width: 0;
        flex: 1 1 auto;
        gap: .35rem;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .accounting-standalone .accounting-history-card[b-ozqr2m4w3y] {
        min-height: 52px;
        flex: 0 0 245px;
        border-radius: 9px;
        box-shadow: none;
    }

    .accounting-standalone .accounting-history-card > summary[b-ozqr2m4w3y] {
        min-height: 52px;
        grid-template-columns: 18px 72px minmax(0, 1fr);
        gap: .32rem;
        padding: .25rem .4rem;
    }

    .accounting-standalone .accounting-history-card .history-card-body[b-ozqr2m4w3y] { display: none; }
    .accounting-standalone .embedded-list-identity[b-ozqr2m4w3y],
    .accounting-standalone .embedded-list-balance[b-ozqr2m4w3y] { display: block; }
    .accounting-standalone .embedded-list-identity strong[b-ozqr2m4w3y] { font-size: .72rem; }
    .accounting-standalone .embedded-list-identity small[b-ozqr2m4w3y],
    .accounting-standalone .embedded-list-balance[b-ozqr2m4w3y] { font-size: .56rem; }
.accounting-standalone .list-edit-notice[b-ozqr2m4w3y] { display: none; }
}

/* Readable accounting grid: keep transaction context visible while the wide
   gold and money columns scroll, including inside the account detail view. */
.visually-hidden[b-ozqr2m4w3y] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.accounting-column-groups th[b-ozqr2m4w3y] {
    border-bottom: 1px solid #d9e3de;
    background: #edf4f0;
    color: #184737;
    padding: .45rem .75rem;
    font-size: .75rem;
    font-weight: 850;
}

.accounting-column-groups th:nth-child(2)[b-ozqr2m4w3y] { background: #f5f0df; color: #785718; }
.accounting-column-groups th:nth-child(3)[b-ozqr2m4w3y] { background: #eaf2f7; color: #28536e; }
.accounting-column-groups th:nth-child(4)[b-ozqr2m4w3y] { background: #f4f5f6; color: #536171; }

.accounting-grid-legend[b-ozqr2m4w3y] {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem 1.25rem;
    border-top: 1px solid #e4e9e7;
    background: #fbfcfb;
    padding: .55rem .85rem;
    color: #40534a;
    font-size: .74rem;
    font-weight: 700;
}

.accounting-grid-legend i[b-ozqr2m4w3y] { margin-inline-end: .3rem; font-size: .5rem; }
.accounting-legend-us[b-ozqr2m4w3y] { color: #be123c; }
.accounting-legend-them[b-ozqr2m4w3y] { color: #047857; }

.accounting-grid-scroll[b-ozqr2m4w3y] {
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: #899e94 #edf2ee;
}

.accounting-grid-scroll[b-ozqr2m4w3y]::-webkit-scrollbar { display: block; width: 10px; height: 10px; }
.accounting-grid-scroll[b-ozqr2m4w3y]::-webkit-scrollbar-thumb { border-radius: 999px; background: #899e94; }

.kimia-entry-table[b-ozqr2m4w3y] {
    width: 100%;
    min-width: 1810px;
    table-layout: auto;
}

.kimia-entry-table thead tr:last-child th[b-ozqr2m4w3y] {
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 2px solid #c8d9d0;
    background: #f8faf9;
    color: #34493f;
    padding: .68rem .45rem;
    font-size: .75rem;
}

.kimia-entry-table tbody tr[b-ozqr2m4w3y] { background: #fff; }
.kimia-entry-table tbody tr:nth-child(even)[b-ozqr2m4w3y] { background: #f8faf9; }
.kimia-entry-table tbody tr:focus-within[b-ozqr2m4w3y] { background: #fffaf0; }
.kimia-entry-table td[b-ozqr2m4w3y] { border-bottom-color: #e4eae6; padding: .42rem .35rem; }
.kimia-entry-table td:nth-child(4)[b-ozqr2m4w3y],
.kimia-entry-table td:nth-child(11)[b-ozqr2m4w3y] { border-inline-start: 2px solid #dce8e1; }
.kimia-entry-table td:nth-child(8)[b-ozqr2m4w3y],
.kimia-entry-table td:nth-child(11)[b-ozqr2m4w3y] { background: #fffdf7; }

.kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell,
.kimia-entry-table select.accounting-cell[b-ozqr2m4w3y] {
    width: 100%;
    min-width: 0;
    height: 2.55rem;
    min-height: 2.55rem;
    max-height: none;
    border-radius: .5rem;
    font-size: .8rem;
}

.kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell:disabled {
    border-color: transparent;
    background: transparent;
    color: #87948e;
    opacity: 1;
}

.kimia-entry-table .movement-select[b-ozqr2m4w3y],
.kimia-entry-table .detail-select[b-ozqr2m4w3y],
.kimia-entry-table .settlement-detail-stack[b-ozqr2m4w3y],
.kimia-entry-table .settlement-detail-stack .counterparty-select[b-ozqr2m4w3y] {
    min-width: 0;
}

.kimia-entry-table .accounting-sequence[b-ozqr2m4w3y] { width: 42px; }
.kimia-entry-table tr > :nth-child(2)[b-ozqr2m4w3y] { min-width: 165px; }
.kimia-entry-table tr > :nth-child(3)[b-ozqr2m4w3y] { min-width: 250px; }
.kimia-entry-table tr > :nth-child(4)[b-ozqr2m4w3y] { min-width: 108px; }
.kimia-entry-table tr > :nth-child(5)[b-ozqr2m4w3y] { min-width: 95px; }
.kimia-entry-table tr > :nth-child(6)[b-ozqr2m4w3y] { min-width: 105px; }
.kimia-entry-table tr > :nth-child(7)[b-ozqr2m4w3y] { min-width: 105px; }
.kimia-entry-table tr > :nth-child(8)[b-ozqr2m4w3y] { min-width: 145px; }
.kimia-entry-table tr > :nth-child(9)[b-ozqr2m4w3y] { min-width: 118px; }
.kimia-entry-table tr > :nth-child(10)[b-ozqr2m4w3y] { min-width: 128px; }
.kimia-entry-table tr > :nth-child(11)[b-ozqr2m4w3y] { min-width: 145px; }
.kimia-entry-table tr > :nth-child(12)[b-ozqr2m4w3y] { min-width: 95px; }
.kimia-entry-table tr > :nth-child(13)[b-ozqr2m4w3y] { min-width: 94px; }
.kimia-entry-table tr > :nth-child(14)[b-ozqr2m4w3y] { min-width: 145px; }
.kimia-entry-table thead tr.accounting-column-groups > th[b-ozqr2m4w3y] { min-width: 0; }

.kimia-balance-table th[b-ozqr2m4w3y],
.kimia-balance-table td[b-ozqr2m4w3y] { font-size: .8rem; }
.kimia-balance-table thead th[b-ozqr2m4w3y] { font-size: .74rem; }
.kimia-balance-table .total-balance-row > *[b-ozqr2m4w3y] { border-top: 2px solid #d2b56f; }
.kimia-balance-table .balance-detail-trigger[b-ozqr2m4w3y] { text-align: right; }

@media (min-width: 900px) {
    .accounting-standalone .accounting-grid-scroll[b-ozqr2m4w3y],
    .accounting-embedded .accounting-grid-scroll[b-ozqr2m4w3y] { overflow-x: auto; }

    .accounting-standalone .kimia-entry-table[b-ozqr2m4w3y],
    .accounting-embedded .kimia-entry-table[b-ozqr2m4w3y] {
        width: 100%;
        min-width: 1810px;
        table-layout: auto;
    }

    .kimia-entry-table thead tr:last-child th:first-child[b-ozqr2m4w3y],
    .kimia-entry-table tbody td:first-child[b-ozqr2m4w3y] {
        position: sticky;
        right: 0;
        z-index: 4;
        width: 42px;
        min-width: 42px;
        background: #f2f6f3;
    }

    .kimia-entry-table thead tr:last-child th:nth-child(2)[b-ozqr2m4w3y],
    .kimia-entry-table tbody td:nth-child(2)[b-ozqr2m4w3y] {
        position: sticky;
        right: 42px;
        z-index: 3;
        min-width: 165px;
        border-left: 2px solid #b9cec1;
        background: #fbfdfb;
    }

    .kimia-entry-table thead tr:last-child th:first-child[b-ozqr2m4w3y],
    .kimia-entry-table thead tr:last-child th:nth-child(2)[b-ozqr2m4w3y] { z-index: 5; }

    .kimia-entry-table tbody tr:focus-within td:nth-child(-n+2)[b-ozqr2m4w3y] { background: #fff4d8; }
}

@media (min-width: 1180px) and (min-height: 700px) {
    .accounting-standalone[b-ozqr2m4w3y] { display: block; height: auto; overflow: visible; }
    .accounting-standalone .accounting-page-heading[b-ozqr2m4w3y] { min-height: 0; margin-bottom: .7rem; }
    .accounting-standalone .accounting-editor[b-ozqr2m4w3y] { display: block; height: auto; margin-bottom: .8rem; }
    .accounting-standalone .accounting-editor-head[b-ozqr2m4w3y] {
        min-height: 0;
        border-left: 0;
        padding: .7rem 1rem;
    }
    .accounting-standalone .accounting-record-navigator[b-ozqr2m4w3y] {
        min-height: 0;
        border-block: 1px solid #e8e6dd;
        padding: .5rem .75rem;
    }
    .accounting-standalone .accounting-editor-form-slot[b-ozqr2m4w3y]  .accounting-editor-form {
        display: block;
        height: auto;
        padding: .8rem;
    }
    .accounting-standalone .accounting-editor-fields[b-ozqr2m4w3y] {
        display: block;
        overflow: visible;
    }
    .accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] {
        min-height: 0;
        margin-bottom: .75rem;
    }
    .accounting-standalone .kimia-document-bar > div[b-ozqr2m4w3y] { padding: .55rem .7rem; }
    .accounting-standalone .kimia-document-bar span[b-ozqr2m4w3y] { font-size: .7rem; }
    .accounting-standalone .kimia-document-bar strong[b-ozqr2m4w3y] { font-size: .9rem; }
    .accounting-standalone .standalone-party-picker .form-control[b-ozqr2m4w3y],
    .accounting-standalone .quick-party-toggle[b-ozqr2m4w3y],
    .accounting-standalone .kimia-gold-price-input[b-ozqr2m4w3y]  .form-control {
        height: 2.4rem;
        min-height: 2.4rem;
        font-size: .78rem;
    }
    .accounting-standalone .accounting-grid-shell[b-ozqr2m4w3y] { display: block; }
    .accounting-standalone .accounting-grid-title[b-ozqr2m4w3y] { padding: .65rem .85rem; }
    .accounting-standalone .accounting-grid-title h3[b-ozqr2m4w3y] { font-size: .93rem; }
    .accounting-standalone .accounting-grid-title p[b-ozqr2m4w3y] { display: block; font-size: .73rem; }
    .accounting-standalone .accounting-grid-title .btn-outline[b-ozqr2m4w3y] { min-height: 38px; font-size: .76rem; }
    .accounting-standalone .accounting-grid-scroll[b-ozqr2m4w3y] {
        max-height: 48vh;
        overflow: auto;
        scrollbar-width: thin;
    }
    .accounting-standalone .kimia-entry-table thead tr:last-child th[b-ozqr2m4w3y] { padding: .68rem .45rem; font-size: .75rem; }
    .accounting-standalone .kimia-entry-table td[b-ozqr2m4w3y] { padding: .42rem .35rem; }
    .accounting-standalone .kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell,
    .accounting-standalone .kimia-entry-table select.accounting-cell[b-ozqr2m4w3y],
    .accounting-standalone .equivalent-875-cell[b-ozqr2m4w3y],
    .accounting-standalone .accounting-fixed-detail[b-ozqr2m4w3y] {
        height: 2.55rem;
        min-height: 2.55rem;
        max-height: none;
        font-size: .8rem;
    }
    .accounting-standalone .conversion-field-wrap > small[b-ozqr2m4w3y],
    .accounting-standalone .conversion-amount-wrap > small[b-ozqr2m4w3y],
    .accounting-standalone .settlement-detail-stack > small[b-ozqr2m4w3y] { display: block; }
    .accounting-standalone .conversion-field-wrap[b-ozqr2m4w3y],
    .accounting-standalone .conversion-amount-wrap[b-ozqr2m4w3y],
    .accounting-standalone .settlement-detail-stack[b-ozqr2m4w3y] { gap: .28rem; }
    .accounting-standalone .accounting-meta-after-lines[b-ozqr2m4w3y] { margin: .75rem 0; }
    .accounting-standalone .accounting-list-note label[b-ozqr2m4w3y] { font-size: .75rem; }
    .accounting-standalone .accounting-list-note .form-control[b-ozqr2m4w3y] { min-height: 2.5rem; font-size: .8rem; }
    .accounting-standalone .kimia-balance-matrix[b-ozqr2m4w3y] { margin-top: .75rem; }
    .accounting-standalone .kimia-summary-heading[b-ozqr2m4w3y] { min-height: 0; padding: .65rem .85rem; }
    .accounting-standalone .kimia-summary-heading small[b-ozqr2m4w3y] { display: block; }
    .accounting-standalone .kimia-balance-table th[b-ozqr2m4w3y],
    .accounting-standalone .kimia-balance-table td[b-ozqr2m4w3y] { padding: .5rem .65rem; font-size: .8rem; }
    .accounting-standalone .accounting-actions[b-ozqr2m4w3y] { min-height: 0; margin-top: .7rem; padding-top: .7rem; }
    .accounting-standalone .accounting-actions button[b-ozqr2m4w3y] { min-height: 40px; font-size: .78rem; }
    .accounting-standalone .accounting-history[b-ozqr2m4w3y] { display: block; min-height: 0; padding: .5rem; }
    .accounting-standalone .accounting-history-title[b-ozqr2m4w3y] { border-left: 0; padding: .45rem .65rem; }
    .accounting-standalone .accounting-history-title h2[b-ozqr2m4w3y] { font-size: .88rem; }
    .accounting-standalone .accounting-history-strip[b-ozqr2m4w3y] { padding: .3rem; }
    .accounting-standalone .accounting-history-list[b-ozqr2m4w3y] { scrollbar-width: thin; }
}

@media (min-width: 1180px) {
    .accounting-embedded .accounting-grid-scroll[b-ozqr2m4w3y] { scrollbar-width: thin; }
    .accounting-embedded .kimia-entry-table th[b-ozqr2m4w3y] { font-size: .75rem; }
    .accounting-embedded .kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell,
    .accounting-embedded .kimia-entry-table select.accounting-cell[b-ozqr2m4w3y] { font-size: .8rem; }
}

/* Completed rows read like a ledger. Inputs appear only for the row in edit. */
.kimia-entry-table .accounting-row-display td[b-ozqr2m4w3y] {
    height: 3.2rem;
    color: #23392f;
    font-size: .82rem;
    line-height: 1.45;
}

.accounting-row-operation[b-ozqr2m4w3y] { color: #154936; font-weight: 850; }
.accounting-row-detail[b-ozqr2m4w3y] { font-weight: 700; }
.accounting-row-number[b-ozqr2m4w3y] {
    direction: ltr;
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.accounting-row-money[b-ozqr2m4w3y] { color: #153e31 !important; font-weight: 900; }
.accounting-row-note[b-ozqr2m4w3y] { color: #53635a; }
.accounting-note-actions[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .35rem;
    min-width: 8rem;
}
.accounting-note-actions[b-ozqr2m4w3y]  .accounting-description {
    flex: 1 1 auto;
    min-width: 5rem;
}
.accounting-note-actions .accounting-row-note[b-ozqr2m4w3y] {
    flex: 1 1 auto;
    min-width: 0;
}
.accounting-note-actions.transfer-note-actions[b-ozqr2m4w3y] {
    flex-direction: column;
    align-items: stretch;
}
.transfer-note-actions .accounting-row-note[b-ozqr2m4w3y] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.6;
}
.transfer-note-actions .transfer-source-link[b-ozqr2m4w3y] {
    justify-content: center;
    white-space: nowrap;
    padding: .4rem .5rem;
    font-size: .8rem;
}
.accounting-operation-display[b-ozqr2m4w3y] { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.accounting-operation-editor[b-ozqr2m4w3y] { display: grid; gap: .2rem; }
.accounting-operation-editor .movement-select[b-ozqr2m4w3y] { width: 100%; }

.accounting-row-actions[b-ozqr2m4w3y] { display: flex; align-items: center; gap: .35rem; }
.accounting-keyboard-action[b-ozqr2m4w3y] { display: none; }
.accounting-row-edit[b-ozqr2m4w3y] {
    min-width: 3.5rem;
    min-height: 2.1rem;
    border: 1px solid #b8d3c3;
    border-radius: .45rem;
    background: #edf6f0;
    padding: .3rem .55rem;
    color: #12543d;
    cursor: pointer;
    font-size: .76rem;
    font-weight: 800;
}
.accounting-row-edit:hover[b-ozqr2m4w3y],
.accounting-row-edit:focus-visible[b-ozqr2m4w3y] { border-color: #187357; background: #dceee2; outline: 2px solid #187357; outline-offset: 2px; }

.accounting-row-editing[b-ozqr2m4w3y] { background: #fffaf0 !important; }
.accounting-row-editing td[b-ozqr2m4w3y] { border-bottom: 2px solid #d8bf83; }
.accounting-row-editing[b-ozqr2m4w3y]  .accounting-cell,
.accounting-row-editing select.accounting-cell[b-ozqr2m4w3y] {
    border-color: transparent;
    background-color: transparent;
    box-shadow: none;
}
.accounting-row-editing[b-ozqr2m4w3y]  .accounting-cell:hover:not(:disabled),
.accounting-row-editing select.accounting-cell:hover:not(:disabled)[b-ozqr2m4w3y] {
    border-color: #b8cfc0;
    background-color: #fff;
}
.accounting-row-editing[b-ozqr2m4w3y]  .accounting-cell:focus,
.accounting-row-editing select.accounting-cell:focus[b-ozqr2m4w3y] {
    border-color: #187357;
    background-color: #fff;
    outline: 2px solid #187357;
    outline-offset: 1px;
}

/* Clear 2026 workspace: the workflow is unchanged; only hierarchy, spacing and
   readability are normalized to the shared application shell. */
.accounting-standalone[b-ozqr2m4w3y] {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
    gap: 1rem;
    overflow: visible !important;
}

.accounting-standalone .accounting-page-heading[b-ozqr2m4w3y] {
    min-height: auto !important;
    flex: 0 0 auto !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    margin: 0 0 .25rem !important;
    padding: 0 .2rem !important;
}

.accounting-standalone .accounting-page-heading .section-kicker[b-ozqr2m4w3y],
.accounting-standalone .accounting-page-heading p[b-ozqr2m4w3y] { display: block !important; }
.accounting-standalone .accounting-page-heading h1[b-ozqr2m4w3y] { margin: .15rem 0 .2rem !important; font-size: clamp(1.9rem, 2.5vw, 2.5rem) !important; line-height: 1.2 !important; }
.accounting-standalone .accounting-page-heading p[b-ozqr2m4w3y] { margin: 0 !important; color: var(--ink-muted); font-size: .9rem; }
.accounting-standalone .accounting-page-heading .btn-gold[b-ozqr2m4w3y] { min-height: 46px !important; padding: .65rem 1rem !important; font-size: .9rem !important; }

.accounting-standalone .accounting-notice[b-ozqr2m4w3y] { margin: 0 !important; padding: .7rem 1rem !important; border-radius: 10px; font-size: .88rem; }
.accounting-standalone .accounting-editor[b-ozqr2m4w3y] { display: block !important; min-height: 0 !important; height: auto !important; margin: 0 !important; border-radius: 14px !important; overflow: visible !important; }
.accounting-standalone .accounting-editor-head[b-ozqr2m4w3y] {
    min-width: 0 !important;
    min-height: 62px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    border-left: 0 !important;
    padding: .85rem 1.15rem !important;
}
.accounting-standalone .accounting-editor-head .section-kicker[b-ozqr2m4w3y] { display: block !important; font-size: .72rem !important; }
.accounting-standalone .accounting-editor-head p[b-ozqr2m4w3y] { display: block !important; margin: .2rem 0 0 !important; color: var(--ink-muted); font-size: .8rem !important; }
.accounting-standalone .accounting-editor-head h2[b-ozqr2m4w3y] { margin: 0 !important; font-size: 1.15rem !important; }
.accounting-standalone .accounting-draft-badge[b-ozqr2m4w3y] { min-height: 34px; padding: .35rem .7rem !important; font-size: .72rem !important; }

.accounting-standalone .accounting-record-navigator[b-ozqr2m4w3y] {
    min-height: 52px !important;
    margin: 0 !important;
    border: 0 !important;
    border-block: 1px solid #e7e9e5 !important;
    border-radius: 0 !important;
    background: #fffdf7 !important;
    padding: .45rem .75rem !important;
}
.accounting-standalone .record-scope-control[b-ozqr2m4w3y] { min-height: 38px !important; padding: .18rem !important; font-size: .74rem !important; }
.accounting-standalone .record-scope-control button[b-ozqr2m4w3y] { width: 34px !important; min-height: 34px !important; }
.accounting-standalone .record-position strong[b-ozqr2m4w3y] { font-size: .78rem !important; }
.accounting-standalone .record-position small[b-ozqr2m4w3y] { font-size: .75rem !important; }

.accounting-standalone .accounting-editor-form-slot[b-ozqr2m4w3y] { min-width: 0 !important; min-height: 0 !important; }
.accounting-standalone .accounting-editor-form-slot[b-ozqr2m4w3y]  .accounting-editor-form { display: block !important; width: 100% !important; height: auto !important; padding: 1rem !important; }
.accounting-standalone .accounting-editor-fields[b-ozqr2m4w3y] { display: block !important; min-height: 0 !important; overflow: visible !important; }

.accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] { min-height: 78px !important; margin-bottom: .9rem !important; border-radius: 11px !important; }
.accounting-standalone .kimia-document-bar > div[b-ozqr2m4w3y] { padding: .7rem .9rem !important; }
.accounting-standalone .kimia-document-bar > div > small[b-ozqr2m4w3y],
.accounting-standalone .kimia-gold-price-card > small[b-ozqr2m4w3y] { display: block !important; }
.accounting-standalone .kimia-document-bar span[b-ozqr2m4w3y] { font-size: .76rem !important; }
.accounting-standalone .kimia-document-bar strong[b-ozqr2m4w3y] { margin-top: .12rem !important; font-size: .98rem !important; }
.accounting-standalone .standalone-party-picker[b-ozqr2m4w3y] { margin-top: .22rem !important; }
.accounting-standalone .standalone-party-picker .form-control[b-ozqr2m4w3y],
.accounting-standalone .quick-party-toggle[b-ozqr2m4w3y],
.accounting-standalone .kimia-gold-price-input[b-ozqr2m4w3y]  .form-control { height: 44px !important; min-height: 44px !important; font-size: .86rem !important; }

.accounting-standalone .accounting-grid-shell[b-ozqr2m4w3y] { display: block !important; border-radius: 12px !important; overflow: hidden; }
.accounting-standalone .accounting-grid-title[b-ozqr2m4w3y] { min-height: 58px !important; padding: .65rem .9rem !important; }
.accounting-standalone .accounting-grid-title h3[b-ozqr2m4w3y] { font-size: 1rem !important; }
.accounting-standalone .accounting-grid-title p[b-ozqr2m4w3y] { display: block !important; margin-top: .2rem; font-size: .78rem !important; }
.accounting-standalone .accounting-grid-title .invoice-step[b-ozqr2m4w3y] { width: 2rem !important; height: 2rem !important; }
.accounting-standalone .accounting-grid-title .btn-outline[b-ozqr2m4w3y] { min-height: 40px !important; padding: .45rem .75rem !important; font-size: .8rem !important; }
.accounting-standalone .accounting-grid-scroll[b-ozqr2m4w3y] { max-height: 52vh !important; overflow: auto !important; scrollbar-width: thin !important; }

.accounting-standalone .kimia-entry-table[b-ozqr2m4w3y] { min-width: 1710px !important; }
.accounting-standalone .accounting-column-groups th[b-ozqr2m4w3y] { padding: .55rem .7rem !important; font-size: .78rem !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child th[b-ozqr2m4w3y] { padding: .72rem .5rem !important; font-size: .78rem !important; }
.accounting-standalone .kimia-entry-table td[b-ozqr2m4w3y] { padding: .45rem .38rem !important; }
.accounting-standalone .kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell,
.accounting-standalone .kimia-entry-table select.accounting-cell[b-ozqr2m4w3y],
.accounting-standalone .equivalent-875-cell[b-ozqr2m4w3y],
.accounting-standalone .accounting-fixed-detail[b-ozqr2m4w3y] { height: 44px !important; min-height: 44px !important; max-height: none !important; border-radius: 8px !important; font-size: .86rem !important; }
.accounting-standalone .kimia-entry-table .accounting-row-display td[b-ozqr2m4w3y] { height: 56px !important; font-size: .88rem !important; }
.accounting-standalone .conversion-field-wrap > small[b-ozqr2m4w3y],
.accounting-standalone .conversion-amount-wrap > small[b-ozqr2m4w3y],
.accounting-standalone .settlement-detail-stack > small[b-ozqr2m4w3y] { display: block !important; }
.accounting-standalone .conversion-field-wrap[b-ozqr2m4w3y],
.accounting-standalone .conversion-amount-wrap[b-ozqr2m4w3y],
.accounting-standalone .settlement-detail-stack[b-ozqr2m4w3y] { gap: .3rem !important; }

.accounting-standalone .accounting-grid-legend[b-ozqr2m4w3y] { padding: .65rem .9rem; font-size: .78rem; }
.accounting-standalone .accounting-meta-after-lines[b-ozqr2m4w3y] { margin: .9rem 0 0 !important; }
.accounting-standalone .accounting-list-note[b-ozqr2m4w3y] { display: block !important; }
.accounting-standalone .accounting-list-note label[b-ozqr2m4w3y] { margin-bottom: .4rem !important; font-size: .8rem !important; }
.accounting-standalone .accounting-list-note .form-control[b-ozqr2m4w3y] { height: 46px !important; min-height: 46px !important; font-size: .9rem !important; }

.accounting-standalone .kimia-balance-matrix[b-ozqr2m4w3y] { margin-top: .9rem !important; border-radius: 12px !important; }
.accounting-standalone .kimia-summary-heading[b-ozqr2m4w3y] { min-height: 58px !important; padding: .65rem .9rem !important; }
.accounting-standalone .kimia-summary-heading small[b-ozqr2m4w3y] { display: block !important; }
.accounting-standalone .kimia-balance-table th[b-ozqr2m4w3y],
.accounting-standalone .kimia-balance-table td[b-ozqr2m4w3y] { padding: .65rem .75rem !important; font-size: .86rem !important; }
.accounting-standalone .accounting-actions[b-ozqr2m4w3y] { min-height: 58px !important; margin-top: .8rem !important; padding-top: .8rem !important; }
.accounting-standalone .accounting-actions button[b-ozqr2m4w3y] { min-height: 44px !important; font-size: .86rem !important; }

.accounting-standalone .accounting-history[b-ozqr2m4w3y] { display: block !important; min-height: 0 !important; margin: 0 !important; padding: .7rem !important; border-radius: 14px !important; overflow: hidden !important; }
.accounting-standalone .accounting-history-title[b-ozqr2m4w3y] { display: flex !important; align-items: center !important; border-left: 0 !important; padding: .45rem .6rem .7rem !important; }
.accounting-standalone .accounting-history-title .section-kicker[b-ozqr2m4w3y],
.accounting-standalone .accounting-history-title p[b-ozqr2m4w3y],
.accounting-standalone .history-count[b-ozqr2m4w3y] { display: block !important; }
.accounting-standalone .accounting-history-title h2[b-ozqr2m4w3y] { margin: 0 !important; font-size: 1rem !important; }
.accounting-standalone .accounting-history-strip[b-ozqr2m4w3y] { padding: .2rem !important; }
.accounting-standalone .accounting-history-list[b-ozqr2m4w3y] { gap: .55rem !important; overflow-x: auto !important; scrollbar-width: thin !important; }
.accounting-standalone .accounting-history-card[b-ozqr2m4w3y] { min-height: 64px !important; flex: 0 0 270px !important; border-radius: 10px !important; }
.accounting-standalone .accounting-history-card > summary[b-ozqr2m4w3y] { min-height: 62px !important; padding: .45rem .55rem !important; }
.accounting-standalone .embedded-list-identity strong[b-ozqr2m4w3y] { font-size: .78rem !important; }
.accounting-standalone .embedded-list-identity small[b-ozqr2m4w3y],
.accounting-standalone .embedded-list-balance[b-ozqr2m4w3y] { font-size: .63rem !important; }

@media (max-width: 900px) {
    .accounting-standalone[b-ozqr2m4w3y] { gap: .75rem; }
    .accounting-standalone .accounting-page-heading[b-ozqr2m4w3y] { align-items: stretch !important; }
    .accounting-standalone .accounting-page-heading p[b-ozqr2m4w3y] { display: none !important; }
    .accounting-standalone .accounting-editor-form-slot[b-ozqr2m4w3y]  .accounting-editor-form { padding: .7rem !important; }
    .accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] { min-height: auto !important; }
}

/* Pixel direction taken from the approved accounting mockup. */
.accounting-standalone[b-ozqr2m4w3y] {
    gap: .75rem !important;
}

.accounting-standalone .accounting-page-heading[b-ozqr2m4w3y] {
    align-items: center !important;
    margin: 0 0 .2rem !important;
    padding: .3rem .1rem !important;
}

.accounting-breadcrumb[b-ozqr2m4w3y] {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .55rem;
    color: #66756e;
    font-size: .86rem;
    font-weight: 650;
}

.accounting-breadcrumb i[b-ozqr2m4w3y] { color: #829089; }
.accounting-breadcrumb b[b-ozqr2m4w3y] { color: #bdc6c1; }
.accounting-title-line[b-ozqr2m4w3y] { display: flex; align-items: center; gap: .8rem; }
.accounting-title-icon[b-ozqr2m4w3y] { width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid #b78627; border-radius: 8px; color: #9a6c17; font-size: 1.4rem; }
.accounting-standalone .accounting-page-heading h1[b-ozqr2m4w3y] { margin: 0 !important; font-size: clamp(2.05rem, 2.45vw, 2.55rem) !important; line-height:1.15 !important; font-weight: 900 !important; }
.accounting-standalone .accounting-page-heading > .btn-gold[b-ozqr2m4w3y] { display:none !important; }

.accounting-standalone .accounting-editor[b-ozqr2m4w3y] {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.accounting-standalone .accounting-editor-head[b-ozqr2m4w3y] { display: none !important; }
.accounting-standalone .accounting-record-navigator[b-ozqr2m4w3y] {
    min-height: 48px !important;
    justify-content: flex-start !important;
    margin: 0 0 .75rem !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}

.accounting-standalone .record-scope-groups[b-ozqr2m4w3y] { gap: .55rem; }
.accounting-standalone button.record-scope-control[b-ozqr2m4w3y] {
    min-width: 136px;
    min-height: 44px !important;
    justify-content: center;
    gap: .55rem;
    border: 1px solid #d9e0dc;
    border-radius: 7px;
    background: #f8faf9;
    padding: .55rem .95rem !important;
    color: #34453d;
    cursor: pointer;
    font-size: .96rem !important;
    font-weight: 800;
}
.accounting-standalone button.record-scope-control.is-active[b-ozqr2m4w3y] { border-color: #b78627; background: linear-gradient(135deg,#c79831,#ad7917); color: #fff; box-shadow: 0 5px 14px rgba(139,100,27,.16); }
.accounting-standalone button.record-scope-control:disabled[b-ozqr2m4w3y] { cursor: not-allowed; opacity: .48; }

.accounting-standalone .record-scope-groups[b-ozqr2m4w3y] { flex-wrap: wrap; }
.accounting-standalone .record-scope-group[b-ozqr2m4w3y] {
    display: flex;
    min-width: 0;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #d9e0dc;
    border-radius: 7px;
    background: #f8faf9;
}
.accounting-standalone .record-scope-group.is-active[b-ozqr2m4w3y] { border-color: #b78627; }
.accounting-standalone .record-scope-group .record-scope-control[b-ozqr2m4w3y] {
    flex: 1;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.accounting-standalone .record-scope-arrow[b-ozqr2m4w3y] {
    display: grid;
    flex: 0 0 44px;
    min-height: 44px;
    place-items: center;
    border: 0;
    background: transparent;
    color: #34453d;
    cursor: pointer;
}
.accounting-standalone .record-scope-arrow:hover:not(:disabled)[b-ozqr2m4w3y] { background: #e7efe9; color: #07513f; }
.accounting-standalone .record-scope-arrow:disabled[b-ozqr2m4w3y] { cursor: not-allowed; opacity: .35; }
.accounting-standalone .record-scope-arrow:focus-visible[b-ozqr2m4w3y],
.accounting-standalone .record-scope-group .record-scope-control:focus-visible[b-ozqr2m4w3y] {
    outline: 2px solid #07513f;
    outline-offset: -3px;
}
.accounting-standalone .accounting-record-navigator[b-ozqr2m4w3y] { flex-wrap: wrap; }
.accounting-standalone .record-position[b-ozqr2m4w3y] { margin-inline-start: auto; }

.accounting-standalone .accounting-editor-form-slot[b-ozqr2m4w3y]  .accounting-editor-form { padding: 0 !important; }
.accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] {
    grid-template-columns: minmax(300px,1.25fr) minmax(170px,.62fr) minmax(220px,.8fr) minmax(240px,.85fr) !important;
    min-height: 100px !important;
    margin-bottom: .85rem !important;
    border: 1px solid #dfe5e1 !important;
    border-radius: 8px !important;
    background: #dfe5e1 !important;
    box-shadow: 0 4px 16px rgba(20,46,34,.035);
}
.accounting-standalone .kimia-document-bar > div[b-ozqr2m4w3y] { display: flex; flex-direction: column; justify-content: center; background: #fff !important; padding: .75rem 1.15rem !important; }
.accounting-standalone .kimia-document-party[b-ozqr2m4w3y] { box-shadow: none !important; }
.accounting-standalone .kimia-document-bar span[b-ozqr2m4w3y] { color: #273a31 !important; font-size: .92rem !important; font-weight:800; }
.accounting-standalone .kimia-document-bar strong[b-ozqr2m4w3y] { font-size: 1.08rem !important; }
.accounting-standalone .kimia-document-bar small[b-ozqr2m4w3y] { display: none !important; }
.accounting-standalone .standalone-party-picker .form-control[b-ozqr2m4w3y],
.accounting-standalone .quick-party-toggle[b-ozqr2m4w3y],
.accounting-standalone .kimia-gold-price-input[b-ozqr2m4w3y]  .form-control { height: 48px !important; min-height: 48px !important; font-size: 1rem !important; }

.accounting-standalone .accounting-grid-shell[b-ozqr2m4w3y] {
    border: 1px solid #dde4e0 !important;
    border-radius: 8px !important;
    background: #fff;
    box-shadow: 0 4px 16px rgba(20,46,34,.035);
}
.accounting-standalone .accounting-grid-title[b-ozqr2m4w3y] { min-height: 58px !important; border-bottom: 1px solid #e2e7e4; background: #fff !important; padding: .7rem 1rem !important; }
.accounting-standalone .accounting-grid-title p[b-ozqr2m4w3y],
.accounting-standalone .accounting-grid-title > .btn-outline[b-ozqr2m4w3y] { display: none !important; }
.accounting-standalone .accounting-grid-title h3[b-ozqr2m4w3y] { font-size: 1.22rem !important; }
.accounting-standalone .accounting-grid-title .invoice-step[b-ozqr2m4w3y] { display:grid !important; width:28px !important; height:28px !important; border:0 !important; background:transparent !important; color:#52655b !important; font-size:.95rem !important; }

.accounting-standalone .accounting-grid-scroll[b-ozqr2m4w3y] { max-height: 55vh !important; }
.accounting-standalone .kimia-entry-table[b-ozqr2m4w3y] { min-width: 1390px !important; table-layout: fixed !important; }
.accounting-standalone .accounting-column-groups th[b-ozqr2m4w3y] { height: 40px; padding: .5rem .55rem !important; font-size: .88rem !important; font-weight:850 !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child th[b-ozqr2m4w3y] { height: 44px; padding: .55rem .38rem !important; font-size: .84rem !important; font-weight:850 !important; color:#24362e !important; }
.accounting-standalone .kimia-entry-table td[b-ozqr2m4w3y] { height: 54px; padding: .34rem .3rem !important; border-inline-start: 1px solid #e1e7e3; font-size:.9rem !important; }
.accounting-standalone .kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell,
.accounting-standalone .kimia-entry-table select.accounting-cell[b-ozqr2m4w3y],
.accounting-standalone .equivalent-875-cell[b-ozqr2m4w3y],
.accounting-standalone .accounting-fixed-detail[b-ozqr2m4w3y] { height: 42px !important; min-height: 42px !important; border: 1px solid #dce3df !important; border-radius: 6px !important; background: #f9fbfa !important; font-size: .9rem !important; }
.accounting-standalone .kimia-entry-table tr > :nth-child(1)[b-ozqr2m4w3y] { width: 42px; min-width: 42px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(2)[b-ozqr2m4w3y] { width: 130px; min-width: 130px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(3)[b-ozqr2m4w3y] { width: 180px; min-width: 180px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(4)[b-ozqr2m4w3y] { width: 82px; min-width: 82px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(5)[b-ozqr2m4w3y] { width: 82px; min-width: 82px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(6)[b-ozqr2m4w3y] { width: 92px; min-width: 92px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(7)[b-ozqr2m4w3y] { width: 92px; min-width: 92px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(8)[b-ozqr2m4w3y] { width: 105px; min-width: 105px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(9)[b-ozqr2m4w3y] { width: 92px; min-width: 92px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(10)[b-ozqr2m4w3y] { width: 110px; min-width: 110px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(11)[b-ozqr2m4w3y] { width: 112px; min-width: 112px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(12)[b-ozqr2m4w3y] { width: 78px; min-width: 78px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(13)[b-ozqr2m4w3y] { width: 76px; min-width: 76px; }
.accounting-standalone .kimia-entry-table tr > :nth-child(14)[b-ozqr2m4w3y] { width: 125px; min-width: 125px; }
.accounting-standalone .kimia-entry-table tbody tr:focus-within td[b-ozqr2m4w3y] { background: #fffaf0 !important; border-block: 1px solid #d9b45d; }
.accounting-standalone .invoice-add-row-mobile[b-ozqr2m4w3y] { display: inline-flex !important; align-items: center; gap: .5rem; min-height: 44px; margin: .85rem; border: 1px solid #0a5a47; border-radius: 7px; background: #fff; padding: .5rem .9rem; color: #074c3c; font-size: .92rem; font-weight: 850; }
.accounting-standalone .invoice-add-row-mobile i[b-ozqr2m4w3y] { font-size: 1rem; }
.accounting-standalone .accounting-grid-legend[b-ozqr2m4w3y] { border-top: 1px solid #e2e7e4; background: #fafcfb; }
.accounting-standalone .accounting-meta-after-lines[b-ozqr2m4w3y] { display: none !important; }

.accounting-standalone .kimia-balance-matrix[b-ozqr2m4w3y] { margin-top: .8rem !important; border: 1px solid #dde4e0 !important; border-radius: 8px !important; background: #fff; box-shadow: 0 4px 16px rgba(20,46,34,.035); padding-bottom:70px; }
.accounting-standalone .kimia-summary-heading[b-ozqr2m4w3y] { min-height: 54px !important; border-bottom: 0 !important; padding: .75rem 1rem .25rem !important; }
.accounting-standalone .kimia-summary-heading > div[b-ozqr2m4w3y] { display:flex; align-items:center; gap:.65rem; }
.accounting-standalone .summary-heading-icon[b-ozqr2m4w3y] { color:#52655b; font-size:1rem; }
.accounting-standalone .kimia-summary-heading strong[b-ozqr2m4w3y] { font-size: 1.05rem; }
.accounting-standalone .kimia-summary-heading small[b-ozqr2m4w3y] { display:none !important; }
.account-balance-cards[b-ozqr2m4w3y] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; padding:.65rem 1rem 1rem; }
.account-balance-card[b-ozqr2m4w3y] { min-width:0; min-height:94px; border:1px solid #dfe5e1; border-radius:7px; background:#fff; padding:.75rem 1rem; }
.account-balance-card > header[b-ozqr2m4w3y] { display:flex; align-items:center; gap:.65rem; border-bottom:1px solid #edf0ee; padding-bottom:.55rem; }
.account-balance-card > header > span[b-ozqr2m4w3y] { color:#b78627; font-size:1.2rem; }
.account-balance-card > header small[b-ozqr2m4w3y],.account-balance-card > header strong[b-ozqr2m4w3y] { display:block; }
.account-balance-card > header small[b-ozqr2m4w3y] { color:#5f6d66; font-size:.8rem; }
.account-balance-card > header strong[b-ozqr2m4w3y] { margin-top:.05rem; color:#263a31; font-size:.94rem; }
.balance-card-values[b-ozqr2m4w3y] { display:grid; grid-template-columns:repeat(auto-fit,minmax(105px,1fr)); gap:.4rem .7rem; align-items:center; min-height:42px; padding-top:.55rem; }
.balance-card-values .balance-detail-trigger[b-ozqr2m4w3y] { display:grid; gap:.05rem; border:0; background:transparent; padding:0; text-align:right; font-size:1.04rem; font-weight:900; }
.balance-card-values .balance-detail-trigger small[b-ozqr2m4w3y] { color:#78847e; font-size:.62rem; font-weight:650; }

.accounting-standalone .accounting-actions[b-ozqr2m4w3y] { position:relative; z-index:2; justify-content:flex-end !important; gap:.65rem; min-height:70px !important; margin-top:.8rem !important; padding:12px 1rem 14px !important; border-top:1px solid #e5e9e7; }
.accounting-standalone .accounting-editor-form:has(.kimia-balance-matrix) .accounting-actions[b-ozqr2m4w3y] { margin-top:-70px !important; }
.accounting-standalone .accounting-actions .btn-quiet[b-ozqr2m4w3y] { display:none; }
.accounting-standalone .accounting-actions .btn-gold[b-ozqr2m4w3y] { background:#07513f; border-color:#064636; }
.accounting-standalone .accounting-history[b-ozqr2m4w3y] { margin-top:.15rem !important; }

/* Deliberate interaction language for the rebuilt accounting workspace.
   Each state is intentionally high-contrast so data-entry status is never ambiguous. */
.accounting-standalone .kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell:not(:disabled),
.accounting-standalone .kimia-entry-table select.accounting-cell:not(:disabled)[b-ozqr2m4w3y] {
    border-color: #bfcfc7 !important;
    background: #ffffff !important;
    color: #14271f !important;
    box-shadow: 0 1px 2px rgba(14, 47, 35, .04) !important;
}

.accounting-standalone .kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell:hover:not(:disabled),
.accounting-standalone .kimia-entry-table select.accounting-cell:hover:not(:disabled)[b-ozqr2m4w3y] {
    border-color: #4b8b76 !important;
    background: #f6fcf9 !important;
}

.accounting-standalone .kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell:focus:not(:disabled),
.accounting-standalone .kimia-entry-table select.accounting-cell:focus:not(:disabled)[b-ozqr2m4w3y] {
    border-color: #006b52 !important;
    background: #ffffff !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(0, 107, 82, .18) !important;
}

.accounting-standalone .kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell:disabled,
.accounting-standalone .kimia-entry-table select.accounting-cell:disabled[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell[readonly] {
    border-color: #d5ddd9 !important;
    background: #e9eeeb !important;
    color: #84928b !important;
    opacity: 1 !important;
    cursor: not-allowed !important;
    box-shadow: inset 0 1px 2px rgba(31, 52, 43, .055) !important;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing td[b-ozqr2m4w3y] {
    border-block: 1px solid #d7aa43 !important;
    background: #fff9e8 !important;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing td:first-child[b-ozqr2m4w3y] {
    border-inline-end: 3px solid #c69223 !important;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-display td[b-ozqr2m4w3y] {
    background: #ffffff !important;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-display:hover td[b-ozqr2m4w3y] {
    background: #f4f9f6 !important;
}

.accounting-standalone .direction-for-us[b-ozqr2m4w3y] {
    border-color: #9cdec5 !important;
    background: #dff7ed !important;
    color: #056346 !important;
}

.accounting-standalone .direction-for-them[b-ozqr2m4w3y] {
    border-color: #ffc0c7 !important;
    background: #ffe5e8 !important;
    color: #c51d34 !important;
}

.accounting-standalone .direction-neutral[b-ozqr2m4w3y] {
    border-color: #d7dfdb !important;
    background: #eef2f0 !important;
    color: #5e6d66 !important;
}

.accounting-standalone tr.movement-out .movement-select:not(:disabled)[b-ozqr2m4w3y],
.accounting-standalone tr.movement-out .accounting-operation-display[b-ozqr2m4w3y] {
    border-color: #9cdec5 !important;
    background: #dff7ed !important;
    color: #056346 !important;
    font-weight: 850 !important;
}

.accounting-standalone tr.movement-in .movement-select:not(:disabled)[b-ozqr2m4w3y],
.accounting-standalone tr.movement-in .accounting-operation-display[b-ozqr2m4w3y] {
    border-color: #ffc0c7 !important;
    background: #ffe5e8 !important;
    color: #c51d34 !important;
    font-weight: 850 !important;
}

.accounting-standalone tr.movement-cash .movement-select:not(:disabled)[b-ozqr2m4w3y],
.accounting-standalone tr.movement-cash .accounting-operation-display[b-ozqr2m4w3y] {
    border-color: #cbd5d0 !important;
    background: #eef3f1 !important;
    color: #31483e !important;
    font-weight: 850 !important;
}

.accounting-standalone .accounting-actions .btn-gold[b-ozqr2m4w3y] {
    min-width: 190px;
    background: linear-gradient(135deg, #08634d, #034737) !important;
    border-color: #034737 !important;
    box-shadow: 0 8px 18px rgba(3, 71, 55, .16);
}

.accounting-standalone .accounting-actions .btn-outline[b-ozqr2m4w3y] {
    min-width: 220px;
    border-color: #0c6b55 !important;
    color: #07513f !important;
    background: #ffffff !important;
}

.accounting-standalone .account-balance-card:nth-child(1) .balance-card-values[b-ozqr2m4w3y] {
    color: #c51d34;
}

.accounting-standalone .account-balance-card:nth-child(2) .balance-card-values[b-ozqr2m4w3y],
.accounting-standalone .account-balance-card:nth-child(3) .balance-card-values[b-ozqr2m4w3y] {
    color: #056346;
}

@media (max-width: 1100px) {
    .account-balance-cards[b-ozqr2m4w3y] { grid-template-columns:1fr; }
}

/* Final readability pass: the ledger must breathe instead of squeezing controls
   into the viewport. Horizontal scrolling is deliberate for a 14-column ledger. */
.accounting-standalone .accounting-grid-scroll[b-ozqr2m4w3y] {
    overflow-x: auto !important;
    overflow-y: auto !important;
    scrollbar-gutter: stable;
}

.accounting-standalone .kimia-entry-table[b-ozqr2m4w3y] {
    width: 100% !important;
    min-width: 1480px !important;
    table-layout: fixed !important;
}

.accounting-standalone .kimia-entry-table .ledger-col-sequence[b-ozqr2m4w3y] { width: 44px; }
.accounting-standalone .kimia-entry-table .ledger-col-operation[b-ozqr2m4w3y] { width: 112px; }
.accounting-standalone .kimia-entry-table .ledger-col-detail[b-ozqr2m4w3y] { width: 185px; }
.accounting-standalone .kimia-entry-table .ledger-col-weight[b-ozqr2m4w3y] { width: 82px; }
.accounting-standalone .kimia-entry-table .ledger-col-karat[b-ozqr2m4w3y] { width: 76px; }
.accounting-standalone .kimia-entry-table .ledger-col-party-karat[b-ozqr2m4w3y] { width: 98px; }
.accounting-standalone .kimia-entry-table .ledger-col-equivalent[b-ozqr2m4w3y] { width: 102px; }
.accounting-standalone .kimia-entry-table .ledger-col-workmanship[b-ozqr2m4w3y] { width: 115px; }
.accounting-standalone .kimia-entry-table .ledger-col-result[b-ozqr2m4w3y] { width: 105px; }
.accounting-standalone .kimia-entry-table .ledger-col-gold-price[b-ozqr2m4w3y] { width: 112px; }
.accounting-standalone .kimia-entry-table .ledger-col-amount[b-ozqr2m4w3y] { width: 135px; }
.accounting-standalone .kimia-entry-table .ledger-col-currency[b-ozqr2m4w3y] { width: 85px; }
.accounting-standalone .kimia-entry-table .ledger-col-direction[b-ozqr2m4w3y] { width: 82px; }
.accounting-standalone .kimia-entry-table .ledger-col-note[b-ozqr2m4w3y] { width: 137px; }

.accounting-standalone .accounting-column-groups th[b-ozqr2m4w3y] {
    height: 44px !important;
    padding: .65rem .75rem !important;
    font-size: .94rem !important;
    line-height: 1.35 !important;
    white-space: nowrap;
}

.accounting-standalone .kimia-entry-table thead tr:last-child th[b-ozqr2m4w3y] {
    height: 50px !important;
    padding: .7rem .55rem !important;
    font-size: .91rem !important;
    line-height: 1.35 !important;
    white-space: nowrap;
    text-align: center;
    border-inline-start: 1px solid #d7e1dc;
}

.accounting-standalone .kimia-entry-table thead tr:last-child th small[b-ozqr2m4w3y] {
    display: block;
    margin-top: .12rem;
    color: #7a8881;
    font-size: .68rem;
    line-height: 1.2;
}

.accounting-standalone .kimia-entry-table td[b-ozqr2m4w3y] {
    height: 60px !important;
    padding: .42rem .38rem !important;
    font-size: .94rem !important;
    line-height: 1.45 !important;
    vertical-align: middle;
}

.accounting-standalone .kimia-entry-table input.accounting-cell[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table .accounting-row-number[b-ozqr2m4w3y] {
    direction: ltr;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.accounting-standalone .kimia-entry-table .movement-select[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table .detail-select[b-ozqr2m4w3y] {
    padding-inline-end: .75rem !important;
    font-weight: 800;
}

.accounting-standalone .kimia-entry-table[b-ozqr2m4w3y]  .accounting-cell,
.accounting-standalone .kimia-entry-table select.accounting-cell[b-ozqr2m4w3y],
.accounting-standalone .equivalent-875-cell[b-ozqr2m4w3y],
.accounting-standalone .accounting-fixed-detail[b-ozqr2m4w3y] {
    width: 100% !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding-inline: .55rem !important;
    border-radius: 3px !important;
    font-size: .94rem !important;
    line-height: 1.3 !important;
}

.accounting-standalone .kimia-entry-table select.accounting-cell[b-ozqr2m4w3y] {
    padding-inline-start: 2rem !important;
}

.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(1)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(1)[b-ozqr2m4w3y] { width: 44px !important; min-width: 44px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(2)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(2)[b-ozqr2m4w3y] { width: 112px !important; min-width: 112px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(3)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(3)[b-ozqr2m4w3y] { width: 185px !important; min-width: 185px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(4)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(4)[b-ozqr2m4w3y] { width: 82px !important; min-width: 82px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(5)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(5)[b-ozqr2m4w3y] { width: 76px !important; min-width: 76px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(6)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(6)[b-ozqr2m4w3y] { width: 98px !important; min-width: 98px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(7)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(7)[b-ozqr2m4w3y] { width: 102px !important; min-width: 102px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(8)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(8)[b-ozqr2m4w3y] { width: 115px !important; min-width: 115px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(9)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(9)[b-ozqr2m4w3y] { width: 105px !important; min-width: 105px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(10)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(10)[b-ozqr2m4w3y] { width: 112px !important; min-width: 112px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(11)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(11)[b-ozqr2m4w3y] { width: 135px !important; min-width: 135px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(12)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(12)[b-ozqr2m4w3y] { width: 85px !important; min-width: 85px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(13)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(13)[b-ozqr2m4w3y] { width: 82px !important; min-width: 82px !important; }
.accounting-standalone .kimia-entry-table thead tr:last-child > th:nth-child(14)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr > td:nth-child(14)[b-ozqr2m4w3y] { width: 137px !important; min-width: 137px !important; }

.accounting-standalone .accounting-operation-editor[b-ozqr2m4w3y],
.accounting-standalone .settlement-detail-stack[b-ozqr2m4w3y],
.accounting-standalone .conversion-field-wrap[b-ozqr2m4w3y],
.accounting-standalone .conversion-amount-wrap[b-ozqr2m4w3y],
.accounting-standalone .accounting-row-actions[b-ozqr2m4w3y] {
    min-width: 0;
}

.accounting-standalone .accounting-operation-display[b-ozqr2m4w3y],
.accounting-standalone .accounting-fixed-detail[b-ozqr2m4w3y],
.accounting-standalone .accounting-row-display td[b-ozqr2m4w3y] {
    font-size: .96rem !important;
}

/* The previous compact desktop mode left a 62px flex-basis on this section,
   which clipped the title and every history card. Reset it completely. */
.accounting-standalone .accounting-history[b-ozqr2m4w3y] {
    display: block !important;
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 190px !important;
    margin-top: 1rem !important;
    padding: 1rem !important;
    overflow: visible !important;
    border-radius: 10px !important;
}

.accounting-standalone .accounting-history-title[b-ozqr2m4w3y] {
    display: flex !important;
    min-height: 62px !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    padding: .25rem .25rem 1rem !important;
    border: 0 !important;
}

.accounting-standalone .accounting-history-title h2[b-ozqr2m4w3y] {
    margin: .15rem 0 !important;
    font-size: 1.3rem !important;
    line-height: 1.35 !important;
}

.accounting-standalone .accounting-history-title p[b-ozqr2m4w3y] {
    font-size: .86rem !important;
    line-height: 1.5 !important;
}

.accounting-standalone .history-count[b-ozqr2m4w3y] {
    flex: 0 0 auto;
    padding: .48rem .75rem;
    border: 1px solid #d7e1dc;
    border-radius: 999px;
    background: #f6f9f7;
    font-size: .82rem;
}

.accounting-standalone .accounting-history-strip[b-ozqr2m4w3y] {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 96px !important;
    padding: 0 !important;
    overflow: visible !important;
}

.accounting-standalone .accounting-history-list[b-ozqr2m4w3y] {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)) !important;
    width: 100% !important;
    height: auto !important;
    min-height: 88px !important;
    gap: .75rem !important;
    padding: 0 !important;
    overflow: visible !important;
}

.accounting-standalone .accounting-history-card[b-ozqr2m4w3y] {
    width: auto !important;
    min-width: 0 !important;
    min-height: 84px !important;
    flex: none !important;
    overflow: hidden !important;
    border: 1px solid #dce4df !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 3px 10px rgba(16, 48, 35, .045) !important;
}

.accounting-standalone .accounting-history-card > summary[b-ozqr2m4w3y] {
    display: grid !important;
    grid-template-columns: 24px 90px minmax(0, 1fr) !important;
    min-height: 84px !important;
    gap: .7rem !important;
    padding: .75rem .8rem !important;
    align-items: center !important;
}

.accounting-standalone .embedded-list-identity strong[b-ozqr2m4w3y] {
    font-size: .94rem !important;
}

.accounting-standalone .embedded-list-identity small[b-ozqr2m4w3y],
.accounting-standalone .embedded-list-balance[b-ozqr2m4w3y] {
    font-size: .8rem !important;
    line-height: 1.55 !important;
}

@media (max-width: 900px) {
    .accounting-standalone .accounting-history-list[b-ozqr2m4w3y] {
        grid-template-columns: 1fr !important;
    }
}

/* Account details reuse the exact accounting workspace design.  Embedded mode
   only contributes the selected-party header and omits the party picker; it no
   longer maintains a second compact visual language. */
.accounting-standalone.accounting-embedded[b-ozqr2m4w3y] {
    display: flex !important;
    height: auto !important;
    gap: .75rem !important;
    overflow: visible !important;
}

.accounting-standalone.accounting-embedded .accounting-page-heading[b-ozqr2m4w3y] {
    display: none !important;
}

.accounting-standalone.accounting-embedded .accounting-editor[b-ozqr2m4w3y],
.accounting-standalone.accounting-embedded .accounting-history[b-ozqr2m4w3y] {
    order: initial;
}

.accounting-standalone.accounting-embedded .embedded-account-document-header[b-ozqr2m4w3y] {
    width: 100%;
    margin: 0 0 .85rem;
}

.accounting-standalone.accounting-embedded .account-document-summary[b-ozqr2m4w3y] {
    min-height: 120px;
    border-radius: 8px;
}

.accounting-standalone.accounting-embedded .account-details-heading[b-ozqr2m4w3y] {
    min-height: 118px;
}

.accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] {
    height: 120px !important;
    min-height: 120px !important;
}

.accounting-standalone.accounting-embedded .kimia-document-bar[b-ozqr2m4w3y] {
    grid-template-columns: minmax(170px, .62fr) minmax(220px, .8fr) minmax(240px, .85fr) !important;
}

@media (max-width: 900px) {
    .accounting-standalone.accounting-embedded .kimia-document-bar[b-ozqr2m4w3y] {
        grid-template-columns: 1fr !important;
    }
}

/* Cell-first ledger editing: the table cell is the field. This removes the
   nested input-card look, reduces row height, and keeps state contrast clear. */
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing td[b-ozqr2m4w3y] {
    height: 52px !important;
    padding: 0 !important;
    border-block: 1px solid #cbd8d1 !important;
    border-inline-start: 1px solid #cbd8d1 !important;
    background: #ffffff !important;
    transition: background-color .15s ease, box-shadow .15s ease;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing td:has(.accounting-cell:disabled)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing td:has(.accounting-cell[readonly])[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing td:has(.accounting-fixed-detail)[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing td:has(.equivalent-875-cell)[b-ozqr2m4w3y] {
    background: #e9efec !important;
    color: #75847d !important;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing td:focus-within[b-ozqr2m4w3y] {
    z-index: 6;
    background: #e5f4ed !important;
    box-shadow: inset 0 0 0 2px #087158 !important;
}

/* The first two columns are sticky; relative positioning would apply their
   sticky right offset again when a control receives focus. */
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing td:nth-child(n + 3):focus-within[b-ozqr2m4w3y] {
    position: relative;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .accounting-cell[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing select.accounting-cell[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .equivalent-875-cell[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .accounting-fixed-detail[b-ozqr2m4w3y] {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: .5rem .6rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    color: #14271f !important;
    font-size: .94rem !important;
    font-weight: 750;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .accounting-cell:disabled[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .accounting-cell[readonly][b-ozqr2m4w3y] {
    background-color: transparent !important;
    color: #75847d !important;
    opacity: 1 !important;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .accounting-cell[b-ozqr2m4w3y]::placeholder {
    color: #91a099;
    opacity: 1;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .conversion-field-wrap[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .conversion-amount-wrap[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .settlement-detail-stack[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .accounting-operation-editor[b-ozqr2m4w3y] {
    width: 100%;
    height: 100%;
    gap: 0 !important;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .conversion-field-wrap > small[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .conversion-amount-wrap > small[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .settlement-detail-stack > small[b-ozqr2m4w3y] {
    margin: -.2rem .55rem .15rem;
    color: #65766e;
    font-size: .63rem;
}

.accounting-standalone .kimia-entry-table tbody tr.movement-out.accounting-row-editing td:nth-child(2)[b-ozqr2m4w3y] {
    background: #dff7ed !important;
    color: #056346 !important;
}

.accounting-standalone .kimia-entry-table tbody tr.movement-in.accounting-row-editing td:nth-child(2)[b-ozqr2m4w3y] {
    background: #ffe5e8 !important;
    color: #c51d34 !important;
}

.accounting-standalone .kimia-entry-table tbody tr.movement-cash.accounting-row-editing td:nth-child(2)[b-ozqr2m4w3y] {
    background: #edf2ef !important;
    color: #31483e !important;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing td:has(.direction-for-us)[b-ozqr2m4w3y] {
    background: #dff7ed !important;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing td:has(.direction-for-them)[b-ozqr2m4w3y] {
    background: #ffe5e8 !important;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .movement-select[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .direction-for-us[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .direction-for-them[b-ozqr2m4w3y],
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .direction-neutral[b-ozqr2m4w3y] {
    border: 0 !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    box-shadow: none !important;
    font-weight: 900 !important;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing .accounting-note-actions[b-ozqr2m4w3y] {
    min-height: 50px;
    padding-inline: .25rem;
}

/* InputNumber/InputText render through child components, so the deep variant
   applies the same cell-first styling to their generated controls. */
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing[b-ozqr2m4w3y]  .accounting-cell {
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: .5rem .6rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #14271f !important;
    font-size: .94rem !important;
    font-weight: 750;
}

.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing[b-ozqr2m4w3y]  .accounting-cell:disabled,
.accounting-standalone .kimia-entry-table tbody tr.accounting-row-editing[b-ozqr2m4w3y]  .accounting-cell[readonly] {
    background: #e9efec !important;
    color: #75847d !important;
    opacity: 1 !important;
}
.accounting-item-barcode[b-ozqr2m4w3y] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    color: #075b4b;
    font-size: .73rem;
    font-weight: 800;
}


.account-document-actions[b-ozqr2m4w3y]{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.account-document-actions .btn-outline[b-ozqr2m4w3y],.account-document-actions .btn-gold[b-ozqr2m4w3y]{font-size:12px;white-space:nowrap}@media(max-width:900px){.accounting-page-heading[b-ozqr2m4w3y]{flex-wrap:wrap;gap:14px}.account-document-actions[b-ozqr2m4w3y]{justify-content:flex-start;width:100%}}

/* Account selection and its karat are one group, in reading order. */
.accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] {
    grid-template-columns: minmax(450px,1.55fr) minmax(130px,.5fr) minmax(200px,.75fr) minmax(220px,.8fr) !important;
    height: auto !important;
}
.accounting-standalone .standalone-party-picker[b-ozqr2m4w3y] {
    grid-template-columns: minmax(120px,1fr) 148px auto;
    gap: .6rem;
    align-items: center;
    margin-top: .45rem !important;
}
.party-karat-control[b-ozqr2m4w3y] {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1fr) 32px;
    align-items: center;
    gap: 3px;
    min-width: 0;
    min-height: 48px;
    padding: 3px 5px;
    border: 1px solid #d9c596;
    border-radius: 9px;
    background: #faf8f0;
    transition: border-color .15s, box-shadow .15s;
}
.party-karat-control:focus-within[b-ozqr2m4w3y] { border-color: #b38a32; box-shadow: 0 0 0 3px #b38a3214; }
.party-karat-control.is-disabled[b-ozqr2m4w3y] { opacity: .55; }
.party-karat-control label[b-ozqr2m4w3y] {
    position: absolute;
    inset-block-start: -.7rem;
    inset-inline-start: .6rem;
    padding-inline: .3rem;
    background: #fff;
    color: #8c6b22;
    font-size: .66rem;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}
.accounting-standalone .party-karat-control[b-ozqr2m4w3y]  .form-control {
    width: 100%;
    min-width: 0;
    height: 38px !important;
    min-height: 38px !important;
    padding: .2rem .25rem;
    border: 0;
    border-radius: 5px;
    background: transparent;
    box-shadow: none;
    color: #244b3c;
    font-size: .9rem !important;
    font-weight: 850;
    text-align: center;
    direction: ltr;
}
.party-karat-save[b-ozqr2m4w3y] {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #ded6bf;
    border-radius: 7px;
    background: #fff;
    color: #987326;
    cursor: pointer;
    transition: color .15s, background .15s;
}
.party-karat-save:hover:not(:disabled)[b-ozqr2m4w3y] { color: #fff; background: #987326; }
.party-karat-save:disabled[b-ozqr2m4w3y] { cursor: default; opacity: .5; }
.party-karat-save:focus-visible[b-ozqr2m4w3y] { outline: 2px solid #987326; outline-offset: 2px; }
.party-karat-message[b-ozqr2m4w3y] { margin: 0 0 .7rem; padding: .5rem .8rem; border-radius: 7px; background: #eaf6ef; color: #206143; font-size: .75rem; font-weight: 700; }
.party-view-row[b-ozqr2m4w3y] { display: flex; justify-content: space-between; gap: .8rem; align-items: center; }
.party-karat-readonly[b-ozqr2m4w3y] { flex-shrink: 0; padding: .4rem .6rem; border: 1px solid #e1d5b6; border-radius: 7px; color: #8b6b29; font-size: .75rem; }
.party-karat-readonly b[b-ozqr2m4w3y] { margin-inline-start: .4rem; color: #244b3c; }
@media (max-width: 1250px) {
    .accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
    .accounting-standalone .kimia-document-party[b-ozqr2m4w3y] { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] { grid-template-columns: 1fr !important; }
    .accounting-standalone .standalone-party-picker[b-ozqr2m4w3y] { grid-template-columns: minmax(0,1fr) auto; row-gap: .85rem; }
    .standalone-party-picker > .searchable-dropdown[b-ozqr2m4w3y] { grid-column: 1 / -1; }
    .party-karat-control[b-ozqr2m4w3y] { width: 100%; }
    .party-view-row[b-ozqr2m4w3y] { flex-wrap: wrap; }
}

/* Document controls use the same clear type and proportions as the ledger. */
.report-source-notice[b-ozqr2m4w3y] { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; padding: .85rem 1rem; border: 1px solid #e1c781; border-radius: 9px; background: #fff9e7; color: #806021; font-weight: 750; }
.report-source-notice a[b-ozqr2m4w3y] { margin-inline-start: auto; color: #145a41; text-decoration: none; }
.accounting-standalone .kimia-entry-table tbody tr.report-highlight-row td[b-ozqr2m4w3y] { background: #fff0b5 !important; border-block: 2px solid #c28a18 !important; color: #604509 !important; }
.accounting-standalone .kimia-entry-table tbody tr.report-highlight-row td:first-child[b-ozqr2m4w3y] { border-inline-start: 4px solid #a76b03 !important; }
.closing-karat-picker[b-ozqr2m4w3y] { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.accounting-standalone .scrap-fixed-karat[b-ozqr2m4w3y] { display: flex !important; flex-direction: column; justify-content: center; gap: .15rem; line-height: 1.1 !important; }
.scrap-fixed-karat small[b-ozqr2m4w3y] { color: #7c8b83; font-size: .63rem; font-weight: 650; }
.accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] {
    min-height: 150px !important;
    border: 1px solid #cbd9d2 !important;
    border-block-start: 3px solid #b88b2f !important;
}
.accounting-standalone .kimia-document-bar > div[b-ozqr2m4w3y] { padding: 1rem !important; gap: .4rem; }
.accounting-standalone .kimia-document-bar > div > span[b-ozqr2m4w3y] { font-size: 1rem !important; font-weight: 800; color: #355548; }
.accounting-standalone .kimia-document-bar > div > strong[b-ozqr2m4w3y] { font-size: 1.4rem !important; font-weight: 900; }
.accounting-standalone .kimia-document-bar > div > small[b-ozqr2m4w3y] { display: block !important; font-size: .76rem !important; line-height: 1.6; }
.accounting-standalone .kimia-document-bar .form-control[b-ozqr2m4w3y],
.accounting-standalone .kimia-document-bar[b-ozqr2m4w3y]  .form-control {
    height: 56px !important;
    min-height: 56px !important;
    font-size: 1.2rem !important;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.accounting-standalone .kimia-document-bar .quick-party-toggle[b-ozqr2m4w3y] { min-height: 56px !important; font-size: .92rem !important; }
.accounting-standalone .kimia-document-bar .party-karat-control[b-ozqr2m4w3y] { min-height: 56px; }
.accounting-standalone .kimia-document-bar .party-karat-control[b-ozqr2m4w3y]  .form-control { height: 44px !important; min-height: 44px !important; }
.accounting-standalone .party-karat-control label[b-ozqr2m4w3y] { font-size: .8rem; }
.accounting-standalone .kimia-document-number .document-date[b-ozqr2m4w3y] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    direction: ltr;
    align-self: flex-start;
    color: #52695d;
    font-size: 1rem;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.accounting-standalone .document-date > span[b-ozqr2m4w3y] { display: flex; align-items: center; gap: .5rem; font-size: 1rem !important; }
.document-date i[b-ozqr2m4w3y] { color: #9a7d3c; font-size: .9rem; }
.accounting-standalone .accounting-grid-title[b-ozqr2m4w3y] {
    justify-content: flex-start !important;
    flex-wrap: wrap;
    gap: 1.25rem !important;
}
.accounting-grid-title .accounting-document-print-actions[b-ozqr2m4w3y] {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    align-items: center;
}
.accounting-document-print[b-ozqr2m4w3y] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 52px;
    padding: .65rem 1rem;
    border: 1px solid #bfd4ca;
    border-radius: 9px;
    background: #f2f8f5;
    color: #07533f;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}
.accounting-document-print i[b-ozqr2m4w3y] { font-size: 1.4rem; }
.gold-document-print[b-ozqr2m4w3y] { border-color: #e4d3a9; color: #85601b; background: #fcf8ed; }
.accounting-document-print:hover[b-ozqr2m4w3y] { border-color: currentColor; filter: brightness(.97); }
.accounting-document-print:focus-visible[b-ozqr2m4w3y] { outline: 3px solid #b78b2f; outline-offset: 3px; }

/* The measured space keeps the final row reachable above the fixed footer. */
.accounting-standalone[b-ozqr2m4w3y] { padding-bottom: calc(var(--accounting-footer-height, 110px) + 1rem) !important; }
.accounting-page-footer[b-ozqr2m4w3y] {
    position: fixed;
    left: var(--accounting-footer-left, 1rem);
    width: var(--accounting-footer-width, calc(100% - 104px));
    bottom: 0;
    z-index: 15;
    display: flex;
    flex-direction: column;
    max-height: 48dvh;
    border: 1px solid #cbd9d2;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    background: #fff;
    box-shadow: 0 -6px 28px #103a2914;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.accounting-footer-balances[b-ozqr2m4w3y] { min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; overflow-y: auto; }
.compact-account-balance[b-ozqr2m4w3y] { background: #fff; }
.account-balance-bar[b-ozqr2m4w3y] { display: flex; align-items: center; gap: 1.25rem; padding: .85rem 1rem; }
.account-balance-heading[b-ozqr2m4w3y] { display: flex; align-items: center; gap: .65rem; flex: 0 0 125px; min-width: 0; color: #183f33; }
.account-balance-heading > div[b-ozqr2m4w3y] { min-width: 0; }
.account-balance-heading > i[b-ozqr2m4w3y] { color: #b78627; font-size: 1.25rem; }
.account-balance-heading strong[b-ozqr2m4w3y] { display: block; font-size: 1rem; }
.account-balance-heading small[b-ozqr2m4w3y] { display: block; margin-top: .15rem; color: #738078; font-size: .78rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.account-balance-totals[b-ozqr2m4w3y] { display: grid; flex: 1; grid-template-columns: minmax(0,1fr); gap: .6rem; min-width: 0; }
.account-asset-group[b-ozqr2m4w3y] { display: grid; grid-template-columns: 75px minmax(0,1fr); align-items: center; gap: .65rem; }
.account-asset-group + .account-asset-group[b-ozqr2m4w3y] { border-top: 1px solid #e3eae5; padding-top: .6rem; }
.account-balance-totals .account-asset-group-title[b-ozqr2m4w3y] { display: flex; align-items: center; gap: .4rem; color: #496458; font-size: .85rem; }
.account-asset-group-title i[b-ozqr2m4w3y] { color: #b78627; }
.account-asset-slots[b-ozqr2m4w3y] { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(155px,1fr); grid-auto-rows: 72px; overflow-x: auto; scrollbar-width: thin; min-width: 0; }
.account-asset-slots > button + button[b-ozqr2m4w3y] { border-inline-start: 1px solid #e4ebe6 !important; border-radius: 0; }
.account-balance-totals .balance-detail-trigger[b-ozqr2m4w3y] { display: grid; align-content: center; gap: .15rem; width: 100%; min-width: 0; padding: .25rem .6rem; text-align: right; }
.account-balance-totals small[b-ozqr2m4w3y] { color: #6b7972; font-size: .73rem; font-weight: 600; }
.account-balance-totals strong[b-ozqr2m4w3y] { font-size: 1.25rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.gold-asset-group .balance-detail-trigger strong[b-ozqr2m4w3y] { font-size: 1.05rem; }
.gold-asset-group .account-asset-slots[b-ozqr2m4w3y] { grid-auto-flow: row; grid-template-columns: minmax(0,1fr); }
.account-gold-equivalent-note[b-ozqr2m4w3y] { margin: .75rem 0; padding: .65rem; border-radius: 6px; background: #fff7df; color: #755b22; font-size: .85rem; }
.compact-account-balance .balance-detail-trigger:disabled[b-ozqr2m4w3y] { opacity: 1; cursor: default; transform: none; background: transparent; border-color: transparent; }
.account-balance-toggle[b-ozqr2m4w3y] { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; flex: 0 0 auto; min-height: 42px; border: 1px solid #dce5df; border-radius: 7px; padding: .45rem .8rem; background: #f7faf8; color: #285747; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.account-balance-toggle:hover[b-ozqr2m4w3y] { background: #edf4ef; }
.account-balance-toggle:focus-visible[b-ozqr2m4w3y] { outline: 2px solid #b78627; outline-offset: 2px; }
.account-balance-toggle i[b-ozqr2m4w3y] { font-size: .7rem; }
.account-balance-empty[b-ozqr2m4w3y] { flex: 1; color: #537467; font-weight: 700; }
.account-balance-breakdown[b-ozqr2m4w3y] { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: .75rem 1.5rem; border-top: 1px solid #e2eae5; padding: .75rem 1rem; background: #f8fbf9; }
.account-balance-asset[b-ozqr2m4w3y] { min-width: 0; }
.account-balance-asset > strong[b-ozqr2m4w3y] { display: block; margin-bottom: .35rem; color: #41594d; font-size: .8rem; }
.account-balance-asset > div[b-ozqr2m4w3y] { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.account-balance-asset > div > span[b-ozqr2m4w3y] { flex-shrink: 0; font-size: .8rem; color: #748078; }
.account-balance-asset .balance-detail-trigger[b-ozqr2m4w3y] { width: auto; min-height: 30px; text-align: left; font-size: .9rem; font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
    .account-balance-bar[b-ozqr2m4w3y] { flex-wrap: wrap; gap: .5rem; padding: .65rem; }
    .account-balance-heading[b-ozqr2m4w3y] { flex: 1; }
    .account-balance-totals[b-ozqr2m4w3y] { order: 3; flex-basis: 100%; grid-template-columns: 1fr; gap: .2rem; }
    .account-asset-group[b-ozqr2m4w3y] { grid-template-columns: minmax(0,1fr); gap: .25rem; }
    .account-asset-slots[b-ozqr2m4w3y] { grid-auto-flow: row; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-columns: auto; gap: .4rem; overflow-x: visible; }
    .account-balance-totals .balance-detail-trigger[b-ozqr2m4w3y] { padding: .25rem .4rem; }
    .account-balance-totals strong[b-ozqr2m4w3y] { font-size: 1.05rem; }
    .account-balance-toggle[b-ozqr2m4w3y] { min-height: 38px; font-size: .78rem; }
    .account-balance-breakdown[b-ozqr2m4w3y] { grid-template-columns: 1fr; padding: .6rem; }
}
.accounting-standalone .accounting-page-footer .account-information-summary[b-ozqr2m4w3y] { margin: 0 !important; border: 0 !important; border-radius: 12px 12px 0 0 !important; }
.accounting-standalone .accounting-page-footer .kimia-summary-heading[b-ozqr2m4w3y] { min-height: 0 !important; padding: .6rem 1rem !important; }
.accounting-standalone .accounting-page-footer .kimia-summary-heading small[b-ozqr2m4w3y] { display: block !important; }
.accounting-standalone .accounting-page-footer .account-balance-cards[b-ozqr2m4w3y] { grid-template-columns: repeat(3,minmax(0,1fr)); gap: .75rem; padding: .2rem .85rem .65rem; }
.accounting-standalone .accounting-page-footer .account-balance-card[b-ozqr2m4w3y] { min-height: 0; padding: .6rem .8rem; }
.accounting-standalone .accounting-page-footer .account-information-empty[b-ozqr2m4w3y] { margin: 0 .85rem .65rem; }
.accounting-standalone .accounting-page-footer .accounting-actions[b-ozqr2m4w3y] {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center;
    flex-wrap: wrap;
    flex: none;
    direction: rtl;
    gap: .65rem !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: .75rem 1rem !important;
    border-top: 1px solid #dfe8e2;
    background: #f8fbf9;
}
.accounting-standalone .accounting-page-footer .accounting-actions :is(button,a)[b-ozqr2m4w3y] { min-height: 48px !important; font-size: .95rem !important; }
@media (min-width: 1251px) and (max-width: 1550px) {
    .accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] { grid-template-columns: minmax(0,1.4fr) minmax(0,.8fr) minmax(0,1fr) !important; }
    .accounting-standalone .kimia-document-party[b-ozqr2m4w3y] { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .accounting-standalone .kimia-document-bar[b-ozqr2m4w3y] { min-height: 0 !important; }
    .accounting-standalone .kimia-document-bar > div[b-ozqr2m4w3y] { padding: .9rem !important; }
    .accounting-standalone .accounting-grid-title[b-ozqr2m4w3y] { padding: .85rem !important; gap: .75rem !important; }
    .accounting-grid-title .accounting-document-print-actions[b-ozqr2m4w3y] { width: 100%; }
    .accounting-document-print[b-ozqr2m4w3y] { flex: 1; min-width: 0; padding: .6rem; font-size: .9rem; }
    .accounting-page-footer[b-ozqr2m4w3y] { max-height: 48dvh; }
    .accounting-standalone .accounting-page-footer .account-balance-cards[b-ozqr2m4w3y] { grid-template-columns: repeat(3,minmax(210px,1fr)); overflow-x: auto; }
    .accounting-standalone .accounting-page-footer .accounting-actions[b-ozqr2m4w3y] { gap: .4rem !important; padding: .6rem !important; }
    .accounting-standalone .accounting-page-footer .accounting-actions :is(button,a)[b-ozqr2m4w3y] { flex: 1 1 130px; width: auto !important; min-width: 0; font-size: .82rem !important; }
    .accounting-standalone .accounting-page-footer .accounting-actions .btn-quiet[b-ozqr2m4w3y] { flex: 0 0 auto; min-width: 42px; }
}
@media print {
    .accounting-page-footer[b-ozqr2m4w3y] { display: none !important; }
    .accounting-standalone[b-ozqr2m4w3y] { padding-bottom: 0 !important; }
}

/* Accounting actions and record navigation share the sidebar palette. */
.accounting-standalone .accounting-page-heading.accounting-topbar[b-ozqr2m4w3y] {
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 1rem !important;
    margin: 0 0 .85rem !important;
    padding: 1.25rem 1.4rem !important;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: linear-gradient(180deg,#073f32 0%,#052f26 100%);
    color: #fff;
    box-shadow: 0 7px 22px rgba(5,47,38,.12);
}
.accounting-toolbar-row[b-ozqr2m4w3y] { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }
.accounting-toolbar-title[b-ozqr2m4w3y] { text-align: end; }
.accounting-topbar .accounting-breadcrumb[b-ozqr2m4w3y] { color: #b9cec5; }
.accounting-topbar .accounting-breadcrumb :is(i,b)[b-ozqr2m4w3y] { color: #b9cec5; }
.accounting-topbar .accounting-title-line[b-ozqr2m4w3y] { justify-content: flex-end; }
.accounting-standalone .accounting-topbar h1[b-ozqr2m4w3y] { color: #fff; font-size: clamp(1.4rem,2vw,2rem) !important; }
.accounting-topbar .accounting-title-icon[b-ozqr2m4w3y] { color: #e3bf75; border-color: rgba(227,191,117,.45); background: rgba(255,255,255,.06); }
.accounting-topbar .accounting-primary-actions[b-ozqr2m4w3y] { justify-content: flex-start; gap: .6rem; width: auto; }
.accounting-toolbar-print[b-ozqr2m4w3y] { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .65rem .95rem; border: 1px solid rgba(255,255,255,.25); border-radius: 7px; background: rgba(255,255,255,.07); color: #fff; font-size: .9rem; font-weight: 800; white-space: nowrap; }
.accounting-toolbar-print:hover[b-ozqr2m4w3y] { background: rgba(255,255,255,.15); color: #fff; }
.accounting-toolbar-print i[b-ozqr2m4w3y] { color: #e3bf75; }
.accounting-standalone .accounting-topbar .accounting-record-navigator[b-ozqr2m4w3y] {
    width: 100%; min-height: 0 !important; margin: 0 !important;
    padding: 1rem 0 0 !important; border: 0 !important;
    border-top: 1px solid rgba(255,255,255,.13) !important; background: transparent !important;
    gap: 1rem;
}
.accounting-topbar .record-scope-groups[b-ozqr2m4w3y] { gap: .8rem; }
.accounting-standalone .accounting-topbar .record-scope-group[b-ozqr2m4w3y] { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); border-radius: 8px; }
.accounting-standalone .accounting-topbar .record-scope-group.is-active[b-ozqr2m4w3y] { border-color: #cda44f; }
.accounting-standalone .accounting-topbar .record-scope-control[b-ozqr2m4w3y] { min-width: 195px; min-height: 48px !important; background: transparent; color: #fff; }
.accounting-standalone .accounting-topbar .record-scope-control.is-active[b-ozqr2m4w3y] { background: #b78627; color: #fff; }
.record-scope-count[b-ozqr2m4w3y] { display: inline-block; min-width: 4.2rem; margin-inline-start: .25rem; padding: .2rem .45rem; border-radius: 5px; background: rgba(0,0,0,.18); color: #fff; font-size: 1.05rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.accounting-standalone .accounting-topbar .record-scope-arrow[b-ozqr2m4w3y] { color: #fff; flex-basis: 44px; }
.accounting-standalone .accounting-topbar .record-scope-arrow:hover:not(:disabled)[b-ozqr2m4w3y] { background: rgba(255,255,255,.12); color: #f0d7a4; }
.accounting-topbar :is(button,a):focus-visible[b-ozqr2m4w3y] { outline: 2px solid #f1d292; outline-offset: 3px; }
.accounting-navigation-hint[b-ozqr2m4w3y] { margin-inline-start: auto; color: #c5d7cf; font-size: .8rem; white-space: nowrap; }
.accounting-navigation-hint i[b-ozqr2m4w3y] { color: #e3bf75; margin-inline-end: .35rem; }
@media (max-width: 1000px) {
    .accounting-toolbar-row[b-ozqr2m4w3y] { flex-wrap: wrap; gap: 1rem; }
    .accounting-toolbar-title[b-ozqr2m4w3y] { order: -1; width: 100%; text-align: start; }
    .accounting-topbar .accounting-title-line[b-ozqr2m4w3y] { justify-content: flex-start; }
    .accounting-topbar .accounting-primary-actions[b-ozqr2m4w3y] { width: 100%; }
}
@media (max-width: 650px) {
    .accounting-standalone .accounting-page-heading.accounting-topbar[b-ozqr2m4w3y] { padding: 1rem !important; }
    .accounting-topbar .record-scope-groups[b-ozqr2m4w3y] { width: 100%; }
    .accounting-topbar .record-scope-group[b-ozqr2m4w3y] { width: 100%; }
    .accounting-standalone .accounting-topbar .record-scope-control[b-ozqr2m4w3y] { min-width: 0; padding-inline: .4rem !important; font-size: .85rem !important; }
    .accounting-standalone .accounting-topbar .record-scope-arrow[b-ozqr2m4w3y] { flex-basis: 36px; }
    .accounting-navigation-hint[b-ozqr2m4w3y] { margin-inline-start: 0; }
    .accounting-topbar .accounting-primary-actions > :is(button,a)[b-ozqr2m4w3y] { flex: 1 1 135px; }
}
@media print { .accounting-standalone .accounting-page-heading.accounting-topbar[b-ozqr2m4w3y] { display: none !important; } }

.full-detail-trigger[b-ozqr2m4w3y]{display:flex;align-items:center;justify-content:space-between;gap:.5rem;cursor:pointer;text-align:right}.full-detail-trigger i[b-ozqr2m4w3y]{font-size:.7rem;color:#71877e}
/* _content/AlSayegh.Platform.Web/Components/Pages/Accounts.razor.rz.scp.css */
.accounts-heading[b-9ypfnnafhc] { align-items: center; }
.accounts-stats[b-9ypfnnafhc] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-bottom: 1rem; }
.accounts-stats article[b-9ypfnnafhc] { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.accounts-stats span[b-9ypfnnafhc], .accounts-stats small[b-9ypfnnafhc] { display: block; color: var(--ink-muted); font-size: .72rem; font-weight: 700; }
.accounts-stats strong[b-9ypfnnafhc] { display: block; margin: .25rem 0; color: var(--green-deep); font-size: 1.65rem; }
.accounts-filter-card[b-9ypfnnafhc] { padding: .9rem 1rem; }
.accounts-filters[b-9ypfnnafhc] { display: grid; grid-template-columns: minmax(260px, 1fr) 190px 190px; align-items: end; gap: .8rem; }
.accounts-filters label[b-9ypfnnafhc] { margin-bottom: .35rem; }
.accounts-search[b-9ypfnnafhc] { position: relative; }
.accounts-search i[b-9ypfnnafhc] { position: absolute; right: .9rem; top: 50%; color: var(--ink-muted); transform: translateY(-50%); }
.accounts-search input[b-9ypfnnafhc] { padding-right: 2.5rem; }
.accounts-grid[b-9ypfnnafhc] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.account-card[b-9ypfnnafhc] { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); }
.account-card > header[b-9ypfnnafhc] { display: flex; align-items: center; gap: .9rem; padding: 1.1rem; }
.account-avatar[b-9ypfnnafhc] { width: 48px; height: 48px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(145deg, var(--green), var(--green-deep)); font-size: 1.15rem; font-weight: 800; }
.account-card h2[b-9ypfnnafhc] { margin: .12rem 0; font-size: 1.08rem; }
.account-card header small[b-9ypfnnafhc] { color: var(--ink-muted); }
.account-kind[b-9ypfnnafhc] { color: var(--gold-dark); font-size: .67rem; font-weight: 800; }
.account-balance-split[b-9ypfnnafhc] { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); background: #fafbf9; }
.account-balance-split > div[b-9ypfnnafhc] { min-width: 0; padding: .9rem 1rem; }
.account-balance-split > div + div[b-9ypfnnafhc] { border-right: 1px solid var(--line); }
.account-balance-split span[b-9ypfnnafhc], .account-balance-split strong[b-9ypfnnafhc] { display: block; }
.account-balance-split span[b-9ypfnnafhc] { margin-bottom: .35rem; font-size: .68rem; font-weight: 800; }
.account-balance-split strong[b-9ypfnnafhc] { min-height: 2.5rem; font-size: .78rem; line-height: 1.8; }
.for-us span[b-9ypfnnafhc] { color: #9b3e34; }
.for-them span[b-9ypfnnafhc] { color: #24704b; }
.account-card footer[b-9ypfnnafhc] { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem .8rem; padding: .8rem 1rem; color: var(--ink-muted); font-size: .68rem; }
.account-card footer a[b-9ypfnnafhc] { grid-column: 1 / -1; justify-self: end; color: var(--green); font-size: .78rem; font-weight: 800; }
.accounts-empty[b-9ypfnnafhc] { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; border: 1px dashed var(--line-strong); border-radius: 20px; color: var(--ink-muted); background: var(--surface); text-align: center; }
.accounts-empty > i[b-9ypfnnafhc] { color: var(--gold); font-size: 2rem; }
.accounts-empty strong[b-9ypfnnafhc] { color: var(--ink); font-size: 1.05rem; }
@media (max-width: 900px) { .accounts-grid[b-9ypfnnafhc] { grid-template-columns: 1fr; } .accounts-filters[b-9ypfnnafhc] { grid-template-columns: 1fr 1fr; } .accounts-search[b-9ypfnnafhc] { grid-column: 1 / -1; } }
@media (max-width: 640px) { .accounts-stats[b-9ypfnnafhc], .accounts-filters[b-9ypfnnafhc] { grid-template-columns: 1fr; } .accounts-search[b-9ypfnnafhc] { grid-column: auto; } .account-balance-split[b-9ypfnnafhc] { grid-template-columns: 1fr; } .account-balance-split > div + div[b-9ypfnnafhc] { border-top: 1px solid var(--line); border-right: 0; } }
/* _content/AlSayegh.Platform.Web/Components/Pages/AccountStatementView.razor.rz.scp.css */
.statement-sheet[b-qup4i6dz1v] { min-width: 0; border: 1px solid #d5dfda; border-top: 2px solid #b68a2d; border-radius: 8px; overflow: hidden; background: #fff; }
.statement-sheet-tools[b-qup4i6dz1v] { display: flex; align-items: center; gap: 1rem; min-height: 52px; padding: .55rem .8rem; border-bottom: 1px solid #dfe6e1; background: #fff; }
.statement-sheet-tools strong[b-qup4i6dz1v] { font-size: 1rem; white-space: nowrap; color: #163c32; }
.statement-sheet-tools input[b-qup4i6dz1v] { width: 165px; min-height: 34px; margin-inline-start: auto; font-size: .85rem; }
.statement-scope[b-qup4i6dz1v] { max-width: 44%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #7c8a81; font-size: .73rem; }
.statement-scroll[b-qup4i6dz1v] { width: 100%; overflow: auto; min-height: min(45vh,480px); max-height: calc(100dvh - 380px); background: #fffdf4; }
.statement-table[b-qup4i6dz1v] { width: 100%; min-width: 1500px; border-spacing: 0; border-collapse: separate; table-layout: fixed; font-size: .92rem; color: #173b32; text-align: center; }
.statement-table .col-index[b-qup4i6dz1v] { width: 40px; }.statement-table .col-date[b-qup4i6dz1v] { width: 116px; }.statement-table .col-list[b-qup4i6dz1v] { width: 72px; }.statement-table .col-sequence[b-qup4i6dz1v] { width: 48px; }.statement-table .col-detail[b-qup4i6dz1v] { width: 250px; }.statement-table .col-weight[b-qup4i6dz1v] { width: 95px; }.statement-table .col-balance[b-qup4i6dz1v] { width: 126px; }.statement-table .col-currency[b-qup4i6dz1v] { width: 60px; }.statement-table .col-open[b-qup4i6dz1v] { width: 45px; }
.statement-table th[b-qup4i6dz1v],.statement-table td[b-qup4i6dz1v] { padding: .65rem .45rem; border-inline-end: 1px solid #dfe6e1; border-bottom: 1px solid #dce4de; vertical-align: middle; overflow-wrap: anywhere; }
.statement-table thead[b-qup4i6dz1v] { position: sticky; top: 0; z-index: 3; }
.statement-table thead th[b-qup4i6dz1v] { background: #edf3ef; color: #305447; font-size: .83rem; font-weight: 850; white-space: nowrap; padding-block: .8rem; }
.statement-table thead th:nth-child(7)[b-qup4i6dz1v],.statement-table thead th:nth-child(8)[b-qup4i6dz1v],.statement-table thead th:nth-child(9)[b-qup4i6dz1v] { background: #f5efdc; color: #886925; }
.statement-table tbody td[b-qup4i6dz1v] { background: #fff; }
.statement-table tbody tr:nth-child(even) td[b-qup4i6dz1v] { background: #fafcfb; }
.statement-table .statement-us[b-qup4i6dz1v] { background: #eaf2fc; color: #315b91; }
.statement-table .statement-them[b-qup4i6dz1v] { background: #fff0f1; color: #b34b58; }
.statement-table tbody tr:nth-child(even) .statement-us[b-qup4i6dz1v] { background: #e5eef9; }.statement-table tbody tr:nth-child(even) .statement-them[b-qup4i6dz1v] { background: #ffe9ec; }
.statement-table .statement-running[b-qup4i6dz1v] { font-weight: 850; color: #164838; }
.statement-table small[b-qup4i6dz1v] { display: block; font-size: .68rem; line-height: 1.55; font-weight: 500; color: #7b8d82; }
.statement-number[b-qup4i6dz1v] { direction: ltr; font-variant-numeric: tabular-nums; font-weight: 750; white-space: nowrap; }
.statement-date[b-qup4i6dz1v] { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .82rem; font-weight: 750; }
.statement-reference[b-qup4i6dz1v] { color: #957124; font-variant-numeric: tabular-nums; font-weight: 850; background: #fffaf0!important; }
.statement-index[b-qup4i6dz1v] { color: #92a297; font-size: .8rem; }.statement-details[b-qup4i6dz1v] { text-align: right; line-height: 1.65; }.statement-details strong[b-qup4i6dz1v] { font-weight: 800; }.statement-details small[b-qup4i6dz1v] { line-height: 1.6; }
.statement-metric[b-qup4i6dz1v] { display: flex; flex-direction: column; justify-content: center; min-height: 37px; }
.statement-metric + .statement-metric[b-qup4i6dz1v] { border-top: 1px solid #dbe3df; margin-top: .2rem; padding-top: .2rem; }
.statement-currency[b-qup4i6dz1v] { direction: ltr; font-weight: 750; font-size: .82rem; }
.statement-open[b-qup4i6dz1v] { display: inline-grid; place-items: center; width: 30px; height: 32px; border: 1px solid #cedfd5; background: #f2f8f4; color: #19664d; border-radius: 5px; text-decoration: none; font-size: .83rem; }
.statement-open:hover[b-qup4i6dz1v] { background: #dfefe5; }
.statement-table tbody .statement-selected td[b-qup4i6dz1v] { background: #fff1b8!important; border-bottom-color: #c09536; border-top: 1px solid #c09536; }
.statement-table tbody .statement-draft td[b-qup4i6dz1v] { opacity: .7; }.statement-table tbody .statement-reversed td[b-qup4i6dz1v] { color: #9b8383; text-decoration: line-through; }.statement-table .statement-status[b-qup4i6dz1v] { color: #ad7827; font-weight: 700; }
.statement-table .statement-opening td[b-qup4i6dz1v] { background: #f4f6f5; font-weight: 750; font-size: .8rem; }
.statement-table tfoot[b-qup4i6dz1v] { position: sticky; bottom: 0; z-index: 2; box-shadow: 0 -2px 5px #203d3210; }
.statement-table tfoot th[b-qup4i6dz1v],.statement-table tfoot td[b-qup4i6dz1v] { padding-block: .5rem; background: #f6f8f6; border-top: 1px solid #cbd9cf; font-size: .84rem; font-weight: 850; }
.statement-table tfoot th[b-qup4i6dz1v] { text-align: right; padding-inline: 1rem; background: #fff9e8; }.statement-table tfoot td:nth-last-child(2)[b-qup4i6dz1v] { white-space: nowrap; font-size: .75rem; }
.statement-table tfoot .statement-us[b-qup4i6dz1v] { background: #e3edfb; }.statement-table tfoot .statement-them[b-qup4i6dz1v] { background: #ffe9ec; }
.statement-table .statement-empty[b-qup4i6dz1v] { height: 240px; color: #8b988f; background: #fffdf5; }
.statement-footer[b-qup4i6dz1v] { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem .8rem; border-top: 1px solid #d9e3dc; background: #fff; }
.statement-footer > span[b-qup4i6dz1v] { font-size: .75rem; color: #849287; }.statement-footer > div[b-qup4i6dz1v] { display: flex; align-items: center; gap: .5rem; }.statement-footer b[b-qup4i6dz1v] { direction: ltr; font-size: .8rem; }.statement-footer button[b-qup4i6dz1v] { min-width: 30px; min-height: 30px; padding: .3rem; }.statement-footer select[b-qup4i6dz1v] { width: 60px; min-height: 32px; font-size: .8rem; }
a:focus-visible[b-qup4i6dz1v],button:focus-visible[b-qup4i6dz1v],.statement-scroll:focus-visible[b-qup4i6dz1v] { outline: 2px solid #b18a32; outline-offset: -2px; }
@media(min-width:1900px) { .statement-table[b-qup4i6dz1v] { font-size: 1rem; }.statement-table .col-detail[b-qup4i6dz1v] { width: 320px; } }
@media(max-width:760px) { .statement-sheet-tools[b-qup4i6dz1v] { flex-wrap: wrap; gap: .5rem; }.statement-sheet-tools strong[b-qup4i6dz1v] { font-size: .88rem; }.statement-sheet-tools input[b-qup4i6dz1v] { width: 110px; }.statement-scope[b-qup4i6dz1v] { max-width: 100%; width: 100%; font-size: .65rem; }.statement-scroll[b-qup4i6dz1v] { max-height: 63vh; min-height: 300px; }.statement-footer[b-qup4i6dz1v] { gap: .4rem; flex-wrap: wrap; } }
/* _content/AlSayegh.Platform.Web/Components/Pages/BalanceAgingPage.razor.rz.scp.css */
.aging-heading[b-5oxbis5y1s]{align-items:center}.aging-heading .inline-actions[b-5oxbis5y1s]{flex-wrap:wrap}.aging-filters[b-5oxbis5y1s]{padding:1.1rem}.aging-filter-grid[b-5oxbis5y1s]{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}.aging-filter-grid label[b-5oxbis5y1s]{display:grid;gap:.4rem;min-width:0;font-size:.85rem}.aging-filter-grid[b-5oxbis5y1s]  :is(input,select){min-width:0;width:100%;min-height:44px}.aging-search[b-5oxbis5y1s]{grid-column:span 2}.aging-filters footer[b-5oxbis5y1s]{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}.aging-filters footer>span[b-5oxbis5y1s]{font-size:.8rem;color:var(--ink-muted)}.aging-filters footer .inline-actions[b-5oxbis5y1s]{flex-wrap:wrap}.aging-scope[b-5oxbis5y1s]{display:flex;justify-content:space-between;gap:1rem;align-items:center;color:var(--ink-muted);font-size:.85rem;margin:1rem 0}.aging-scope strong[b-5oxbis5y1s]{color:var(--gold-dark);white-space:nowrap}.aging-sheet[b-5oxbis5y1s]{min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow-soft)}.aging-scroll[b-5oxbis5y1s]{width:100%;min-width:0;max-width:100%;max-height:65vh;overflow:auto}.aging-table[b-5oxbis5y1s]{width:100%;min-width:1730px;border-collapse:separate;border-spacing:0;text-align:center;font-size:.9rem}.aging-table th[b-5oxbis5y1s]{position:sticky;top:0;z-index:3;background:#f1f4f2;color:#315445;padding:.85rem .6rem;border-bottom:1px solid #c8d8cd;white-space:nowrap;font-weight:800}.aging-table th small[b-5oxbis5y1s]{display:block;font-size:.65rem;font-weight:500;color:#7c8c81}.aging-table td[b-5oxbis5y1s]{padding:.75rem .6rem;border-bottom:1px solid #e2e8e3;border-inline-end:1px solid #edf0ed;vertical-align:middle}.aging-table tbody tr:nth-child(even)[b-5oxbis5y1s]{background:#fbfcf8}.aging-table th:first-child[b-5oxbis5y1s],.aging-table td:first-child[b-5oxbis5y1s]{width:45px;position:sticky;right:0;background:#f9faf7;z-index:1}.aging-table th:first-child[b-5oxbis5y1s]{z-index:4}.aging-name[b-5oxbis5y1s]{position:sticky;right:45px;background:white;min-width:170px;max-width:240px;text-align:right;z-index:1}.aging-table th.aging-name[b-5oxbis5y1s]{z-index:4}.aging-table tbody tr:hover td[b-5oxbis5y1s]{background:#fff9df}.aging-table .numeric[b-5oxbis5y1s]{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:750;min-width:110px}.us[b-5oxbis5y1s]{color:#315f9a}.them[b-5oxbis5y1s]{color:#b13c50}.aging-table .us[b-5oxbis5y1s]{background:#edf3ff}.aging-table .them[b-5oxbis5y1s]{background:#fff1f3}.age-days[b-5oxbis5y1s]{font-weight:800;min-width:70px;font-variant-numeric:tabular-nums}.aging-parts[b-5oxbis5y1s]{min-width:210px;max-width:330px}.age-chips[b-5oxbis5y1s]{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:center}.age-chip[b-5oxbis5y1s]{display:inline-flex;align-items:center;gap:.35rem;background:#fff0bb;border:1px solid #f2e1a1;color:#756015;border-radius:99px;padding:.2rem .5rem;font-size:.78rem;white-space:nowrap}.cash-parts .age-chip[b-5oxbis5y1s]{background:#ddf2e5;border-color:#c9e7d5;color:#2e694b}.age-chip small[b-5oxbis5y1s]{font-size:.65rem}.aging-open[b-5oxbis5y1s]{display:grid;place-items:center;width:34px;height:34px;border:1px solid #cbded1;border-radius:7px;background:#f0f7f2;color:#22684c}.aging-open:hover[b-5oxbis5y1s]{background:#e0efe5}.aging-empty[b-5oxbis5y1s]{text-align:center;padding:2rem!important;color:var(--ink-muted)}.aging-pagination[b-5oxbis5y1s]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border-top:1px solid var(--line);font-size:.78rem;color:var(--ink-muted)}.aging-pagination>div[b-5oxbis5y1s]{display:flex;align-items:center;gap:.6rem;flex-shrink:0}.aging-pagination label[b-5oxbis5y1s]{display:flex;align-items:center;gap:.5rem}.aging-pagination select[b-5oxbis5y1s]{width:75px}.aging-pagination button[b-5oxbis5y1s]{padding:.5rem;min-width:35px}.aging-totals[b-5oxbis5y1s]{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1rem}.aging-totals>div[b-5oxbis5y1s]{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;border:1px solid #e1d7b8;border-radius:9px;background:#fffcf2;padding:.8rem 1rem;font-size:.85rem}.aging-totals bdi[b-5oxbis5y1s]{font-weight:800;font-variant-numeric:tabular-nums}.aging-method[b-5oxbis5y1s]{font-size:.78rem;color:var(--ink-muted);line-height:1.9;margin-top:1rem}.aging-heading a:focus-visible[b-5oxbis5y1s],.aging-open:focus-visible[b-5oxbis5y1s]{outline:3px solid var(--gold);outline-offset:3px}@media(max-width:1200px){.aging-filter-grid[b-5oxbis5y1s]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.aging-filter-grid[b-5oxbis5y1s]{grid-template-columns:repeat(2,minmax(0,1fr))}.aging-heading[b-5oxbis5y1s]{align-items:flex-start}.aging-scope[b-5oxbis5y1s],.aging-pagination[b-5oxbis5y1s]{align-items:flex-start;flex-direction:column}.aging-pagination>div[b-5oxbis5y1s]{flex-wrap:wrap;flex-shrink:1}.aging-totals>div[b-5oxbis5y1s]{width:100%}.aging-filters[b-5oxbis5y1s]{padding:1rem}.aging-filters footer .inline-actions[b-5oxbis5y1s]{width:100%}.aging-filters footer button[b-5oxbis5y1s]{flex:1}.aging-scope strong[b-5oxbis5y1s]{white-space:normal}}

.age-chip[b-5oxbis5y1s]{direction:ltr;unicode-bidi:isolate}
@media(max-width:760px){.aging-heading .inline-actions[b-5oxbis5y1s]{display:flex;flex-direction:row;width:100%;gap:.5rem}.aging-heading .inline-actions>a[b-5oxbis5y1s]{flex:1;justify-content:center;white-space:nowrap}.aging-table .aging-name[b-5oxbis5y1s],.aging-table th:first-child[b-5oxbis5y1s],.aging-table td:first-child[b-5oxbis5y1s]{position:static}}
/* _content/AlSayegh.Platform.Web/Components/Pages/Customers.razor.rz.scp.css */
.account-type-field[b-82fhnu6tvv] {
    position: relative;
    z-index: 30;
}

.searchable-dropdown[b-82fhnu6tvv] {
    position: relative;
    width: 100%;
}

.searchable-dropdown-input[b-82fhnu6tvv] {
    padding-left: 2.5rem;
    border-color: #cbd5e1;
    background: #fff;
    font-weight: 700;
}

.searchable-dropdown-input:focus[b-82fhnu6tvv] {
    border-color: #0f4938;
    box-shadow: 0 0 0 3px rgba(15, 73, 56, .12);
}

.searchable-dropdown-chevron[b-82fhnu6tvv] {
    position: absolute;
    top: 1.5rem;
    left: .9rem;
    z-index: 2;
    transform: translateY(-50%);
    color: #64748b;
    font-size: .72rem;
    pointer-events: none;
}

.searchable-dropdown-menu[b-82fhnu6tvv] {
    position: absolute;
    z-index: 100;
    top: calc(100% + .4rem);
    right: 0;
    left: 0;
    max-height: 18rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #cbd5e1;
    border-radius: .9rem;
    background: #fff;
    padding: .4rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, .2), 0 4px 12px rgba(15, 23, 42, .08);
}

.searchable-dropdown-option[b-82fhnu6tvv] {
    display: flex;
    width: 100%;
    min-height: 2.75rem;
    align-items: center;
    border: 0;
    border-radius: .7rem;
    background: transparent;
    padding: .65rem .8rem;
    text-align: right;
    color: #1e293b;
    cursor: pointer;
}

.searchable-dropdown-option:hover[b-82fhnu6tvv],
.searchable-dropdown-option:focus-visible[b-82fhnu6tvv] {
    background: #ecfdf5;
    color: #0f4938;
    outline: none;
}

.searchable-dropdown-option strong[b-82fhnu6tvv] {
    display: block;
    font-size: .84rem;
}

.searchable-dropdown-create[b-82fhnu6tvv] {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: .3rem;
    border-top: 1px solid #e2e8f0;
    padding: .75rem .75rem .4rem;
    color: #0f4938;
    font-size: .75rem;
}

.searchable-dropdown-create kbd[b-82fhnu6tvv] {
    flex: 0 0 auto;
    border: 1px solid #d7b66f;
    border-bottom-width: 3px;
    border-radius: .4rem;
    background: #fffbea;
    padding: .2rem .45rem;
    color: #713f12;
    font-family: inherit;
    font-size: .7rem;
    font-weight: 900;
}

@media (max-width: 700px) {
    .searchable-dropdown-menu[b-82fhnu6tvv] {
        max-height: 14rem;
    }
}

.accounts-page[b-82fhnu6tvv] { width: 100%; min-width: 0; }
.accounts-heading[b-82fhnu6tvv] { align-items: center; }

.accounts-stats[b-82fhnu6tvv] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin-bottom: 1rem;
}

.accounts-stats article[b-82fhnu6tvv] {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.accounts-stats span[b-82fhnu6tvv],
.accounts-stats small[b-82fhnu6tvv] { display: block; color: var(--ink-muted); font-size: .72rem; font-weight: 700; }
.accounts-stats strong[b-82fhnu6tvv] { display: block; margin: .25rem 0; color: var(--green-deep); font-size: 1.65rem; }
.accounts-filter-card[b-82fhnu6tvv] { padding: .9rem 1rem; }

.accounts-filters[b-82fhnu6tvv] {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 190px 190px;
    align-items: end;
    gap: .8rem;
}

.accounts-filters label[b-82fhnu6tvv] { margin-bottom: .35rem; }
.accounts-search[b-82fhnu6tvv] { position: relative; }
.accounts-search i[b-82fhnu6tvv] { position: absolute; right: .9rem; top: 50%; color: var(--ink-muted); transform: translateY(-50%); }
.accounts-search input[b-82fhnu6tvv] { padding-right: 2.5rem; }

.accounts-table[b-82fhnu6tvv] { width: 68%; min-width: min(100%, 980px); margin-inline: auto; margin-bottom: 1rem; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-card); overflow: hidden; }
.accounts-table-head[b-82fhnu6tvv], .account-table-row[b-82fhnu6tvv] { display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 1fr)) 24px; align-items: center; gap: 1rem; }
.accounts-table-head[b-82fhnu6tvv] { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); background: #f7f8f5; font-size: 1rem; font-weight: 800; }
.account-table-row[b-82fhnu6tvv] { position: relative; padding: 1.15rem 1.25rem; min-height: 112px; border-bottom: 1px solid #e8ede9; color: var(--ink); transition: background .16s ease, box-shadow .16s ease; }
.account-table-row:last-child[b-82fhnu6tvv] { border-bottom: 0; }
.account-table-row:hover[b-82fhnu6tvv], .account-table-row:focus-visible[b-82fhnu6tvv] { color: var(--ink); background: #fbf8ef; box-shadow: inset -4px 0 var(--gold); }
.account-table-row:focus-visible[b-82fhnu6tvv] { outline: 2px solid var(--green); outline-offset: -2px; }
.account-table-row > span[b-82fhnu6tvv] { min-width: 0; }
.account-row-person[b-82fhnu6tvv] { display: flex; align-items: center; gap: .85rem; }
.account-row-avatar[b-82fhnu6tvv] { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg, var(--green), var(--green-deep)); font-size: 1.2rem; font-weight: 800; }
.account-row-identity[b-82fhnu6tvv] { display: block; min-width: 0; }
.account-row-identity > strong[b-82fhnu6tvv] { display: block; font-size: 1.15rem; overflow-wrap: anywhere; line-height: 1.7; }
.account-row-meta[b-82fhnu6tvv] { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .7rem; color: var(--ink-muted); font-size: .86rem; margin-top: .15rem; }
.account-type[b-82fhnu6tvv] { border-radius: 6px; padding: .1rem .45rem; background: #eef3f0; color: var(--green-deep); font-weight: 700; }
.account-row-identity small[b-82fhnu6tvv] { display: block; margin-top: .35rem; color: var(--ink-muted); font-size: .78rem; }
.position-cell[b-82fhnu6tvv] { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .45rem; align-self: stretch; border-radius: 10px; padding: .7rem .85rem; }
.for-us[b-82fhnu6tvv] { color: #a12d45; }
.for-them[b-82fhnu6tvv] { color: #12654f; }
.position-cell.for-us[b-82fhnu6tvv] { background: #fff3f5; }
.position-cell.for-them[b-82fhnu6tvv] { background: #edf8f3; }
.position-label[b-82fhnu6tvv] { display: none; font-size: .82rem; font-weight: 700; }
.asset-amount[b-82fhnu6tvv] { display: block; font-size: 1.08rem; line-height: 1.6; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.balance-empty[b-82fhnu6tvv] { color: #89958e; font-size: 1.1rem; }
.open-row[b-82fhnu6tvv] { color: var(--gold-dark); text-align: left; transition: transform .16s ease; }
.account-table-row:hover .open-row[b-82fhnu6tvv] { transform: translateX(-3px); }
.accounts-empty[b-82fhnu6tvv] { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; border: 1px dashed var(--line-strong); border-radius: 20px; color: var(--ink-muted); background: var(--surface); text-align: center; }
.accounts-empty > i[b-82fhnu6tvv] { color: var(--gold); font-size: 2rem; }
.accounts-empty strong[b-82fhnu6tvv] { color: var(--ink); font-size: 1.1rem; }
.accounts-page[b-82fhnu6tvv]  .form-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1200px) { .accounts-table[b-82fhnu6tvv] { width: 100%; min-width: 0; } }
@media (max-width: 760px) {
    .accounts-heading[b-82fhnu6tvv] { align-items: flex-start; flex-direction: column; }
    .accounts-filters[b-82fhnu6tvv] { grid-template-columns: 1fr 1fr; }
    .accounts-search[b-82fhnu6tvv] { grid-column: 1 / -1; }
    .accounts-table-head[b-82fhnu6tvv] { display: none; }
    .account-table-row[b-82fhnu6tvv] { grid-template-columns: repeat(2, minmax(0, 1fr)) 16px; gap: .8rem; padding: 1rem; }
    .account-row-person[b-82fhnu6tvv] { grid-column: 1 / 3; }
    .position-cell[b-82fhnu6tvv] { grid-row: 2; }
    .position-label[b-82fhnu6tvv] { display: block; }
    .open-row[b-82fhnu6tvv] { grid-column: 3; grid-row: 1 / 3; }
    .asset-amount[b-82fhnu6tvv] { font-size: 1rem; }
    .accounts-page[b-82fhnu6tvv]  .form-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .accounts-stats[b-82fhnu6tvv] { gap: .5rem; }
    .accounts-stats article[b-82fhnu6tvv] { padding: .8rem .6rem; border-radius: 12px; }
    .accounts-stats span[b-82fhnu6tvv] { font-size: .78rem; }
    .accounts-stats small[b-82fhnu6tvv] { display: none; }
    .accounts-stats strong[b-82fhnu6tvv] { font-size: 1.7rem; }
    .accounts-filter-card[b-82fhnu6tvv] { padding: .85rem; }
    .accounts-filters[b-82fhnu6tvv] { gap: .7rem; }
    .position-cell[b-82fhnu6tvv] { padding: .6rem; }
    .accounts-page[b-82fhnu6tvv]  .form-grid-4 { grid-template-columns: 1fr; }
}
/* _content/AlSayegh.Platform.Web/Components/Pages/Dashboard.razor.rz.scp.css */
.summary-heading[b-ap37183pu6] { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1rem; }
.summary-heading h1[b-ap37183pu6] { margin: .15rem 0 .2rem; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); }
.summary-heading p[b-ap37183pu6] { margin: 0; color: var(--ink-muted); }
.updated-at[b-ap37183pu6] { min-width: 128px; height: 46px; display: flex; align-items: center; gap: .55rem; border: 1px solid var(--line); border-radius: 12px; padding: 0 .8rem; background: #fff; color: var(--ink-muted); }
.updated-at > i[b-ap37183pu6] { color: var(--gold-dark); }
.updated-at span[b-ap37183pu6], .updated-at strong[b-ap37183pu6] { display: block; font-size: .62rem; }
.updated-at strong[b-ap37183pu6] { color: var(--ink); font-size: .75rem; }
.grand-totals[b-ap37183pu6] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: .8rem; }
.grand-card[b-ap37183pu6] { --tone: #9a6b18; --tint: #fbefd1; min-height: 128px; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: start; gap: .7rem; border: 1px solid var(--line); border-radius: 17px; background: #fff; padding: 1rem; box-shadow: var(--shadow-soft); transition: transform .15s ease, border-color .15s ease; }
.grand-card:hover[b-ap37183pu6] { transform: translateY(-2px); border-color: #d9bd80; }
.grand-card.cash-iqd[b-ap37183pu6] { --tone: #16734c; --tint: #dcf5e7; }
.grand-card.cash-usd[b-ap37183pu6] { --tone: #276a8a; --tint: #e3f3fa; }
.grand-card.accounts[b-ap37183pu6] { --tone: #76519b; --tint: #f0e9f8; }
.grand-icon[b-ap37183pu6] { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--tone); }
.grand-card > span:nth-child(2)[b-ap37183pu6], .grand-card small[b-ap37183pu6], .grand-card strong[b-ap37183pu6] { display: block; min-width: 0; }
.grand-card small[b-ap37183pu6] { color: var(--ink-muted); font-size: .64rem; font-weight: 750; }
.grand-card strong[b-ap37183pu6] { margin: .45rem 0 .12rem; color: var(--ink); font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.55rem); white-space: nowrap; }
.grand-card strong em[b-ap37183pu6] { color: var(--tone); font-family: var(--font-body); font-size: .65rem; font-style: normal; }
.grand-card > i[b-ap37183pu6] { margin-top: .35rem; color: #bdc5c0; font-size: .62rem; }
.breakdown-grid[b-ap37183pu6] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; margin-bottom: .8rem; }
.summary-panel[b-ap37183pu6] { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-soft); }
.panel-title[b-ap37183pu6] { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #f0eee8; padding: .8rem 1rem; }
.panel-title h2[b-ap37183pu6] { margin: .08rem 0 0; font-family: var(--font-display); font-size: 1.08rem; }
.panel-title a[b-ap37183pu6] { color: var(--green); font-size: .68rem; font-weight: 850; white-space: nowrap; }
.karat-totals[b-ap37183pu6] { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem 1.1rem; padding: 1rem; }
.karat-total > span[b-ap37183pu6], .karat-total > strong[b-ap37183pu6] { display: flex; align-items: center; justify-content: space-between; }
.karat-total > span[b-ap37183pu6] { justify-content: flex-start; gap: .35rem; color: var(--ink-muted); font-size: .67rem; font-weight: 800; }
.karat-total > span i[b-ap37183pu6] { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.karat-total > strong[b-ap37183pu6] { margin: .18rem 0 .35rem; color: var(--ink); font-family: var(--font-display); font-size: 1rem; }
.karat-total > strong small[b-ap37183pu6] { color: var(--gold-dark); font-family: var(--font-body); font-size: .58rem; }
.karat-bar[b-ap37183pu6] { height: 5px; overflow: hidden; border-radius: 99px; background: #f1eee7; }
.karat-bar i[b-ap37183pu6] { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); }
.inventory-panel footer[b-ap37183pu6] { display: flex; justify-content: space-between; border-top: 1px solid #f0eee8; padding: .7rem 1rem; background: #fcfbf8; color: var(--ink-muted); font-size: .72rem; font-weight: 800; }
.inventory-panel footer strong[b-ap37183pu6] { color: var(--ink); }
.ledger-currency-grid[b-ap37183pu6] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: .85rem; }
.ledger-currency-grid > div[b-ap37183pu6] { border-left: 1px solid #f0eee8; padding: .3rem .7rem; }
.ledger-currency-grid > div:last-child[b-ap37183pu6] { border-left: 0; }
.ledger-currency-grid span[b-ap37183pu6], .ledger-currency-grid strong[b-ap37183pu6], .ledger-currency-grid small[b-ap37183pu6] { display: block; }
.ledger-currency-grid span[b-ap37183pu6] { color: var(--ink-muted); font-size: .59rem; }
.ledger-currency-grid strong[b-ap37183pu6] { margin: .2rem 0; font-family: var(--font-display); font-size: .95rem; }
.ledger-currency-grid small[b-ap37183pu6] { color: var(--ink-muted); font-size: .56rem; }
.gold-ledger-totals[b-ap37183pu6] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #f0eee8; padding: .75rem .85rem; background: #fcfbf8; }
.gold-ledger-totals > div[b-ap37183pu6] { padding: 0 .55rem; }
.gold-ledger-totals span[b-ap37183pu6], .gold-ledger-totals strong[b-ap37183pu6], .gold-ledger-totals small[b-ap37183pu6] { display: block; }
.gold-ledger-totals span[b-ap37183pu6] { color: var(--ink-muted); font-size: .58rem; }
.gold-ledger-totals strong[b-ap37183pu6] { margin: .18rem 0; font-size: .72rem; }
.gold-ledger-totals small[b-ap37183pu6] { color: var(--ink-muted); font-size: .54rem; }
.due-us[b-ap37183pu6] { color: #14764c !important; }
.due-them[b-ap37183pu6] { color: #b14f40 !important; }
.balanced[b-ap37183pu6] { color: #7c8781 !important; }
.accounts-badge[b-ap37183pu6] { border-radius: 99px; background: var(--gold-pale); padding: .3rem .6rem; color: var(--gold-dark); font-size: .65rem; font-weight: 900; }
.accounts-table-wrap[b-ap37183pu6] { max-height: 390px; overflow: auto; }
.accounts-total-table[b-ap37183pu6] { width: 100%; min-width: 900px; border-collapse: collapse; }
.accounts-total-table th[b-ap37183pu6], .accounts-total-table td[b-ap37183pu6] { border-bottom: 1px solid #f0eee8; padding: .72rem .8rem; text-align: right; }
.accounts-total-table thead th[b-ap37183pu6] { position: sticky; top: 0; z-index: 1; background: #f8faf9; color: var(--ink-muted); font-size: .65rem; }
.accounts-total-table tbody tr:hover[b-ap37183pu6] { background: #fdfaf3; }
.accounts-total-table td:first-child[b-ap37183pu6] { min-width: 170px; }
.accounts-total-table td a strong[b-ap37183pu6], .accounts-total-table td a small[b-ap37183pu6], .accounts-total-table td > strong[b-ap37183pu6], .accounts-total-table td > small[b-ap37183pu6] { display: block; }
.accounts-total-table td a strong[b-ap37183pu6] { color: var(--ink); font-size: .74rem; }
.accounts-total-table td a small[b-ap37183pu6] { color: var(--ink-muted); font-size: .58rem; }
.accounts-total-table td > strong[b-ap37183pu6] { font-size: .71rem; white-space: nowrap; }
.accounts-total-table td > small[b-ap37183pu6] { margin-top: .08rem; color: var(--ink-muted); font-size: .53rem; white-space: nowrap; }
.accounts-total-table tfoot[b-ap37183pu6] { position: sticky; bottom: 0; background: #f5f2e9; }
.accounts-total-table tfoot th[b-ap37183pu6], .accounts-total-table tfoot td[b-ap37183pu6] { border-bottom: 0; color: var(--ink); font-size: .7rem; font-weight: 900; }
.accounts-total-table tfoot small[b-ap37183pu6] { color: var(--ink-muted); font-size: .52rem; }
.balance-note[b-ap37183pu6] { margin: 0; border-top: 1px solid #f0eee8; padding: .65rem 1rem; background: #fcfbf8; color: var(--ink-muted); font-size: .61rem; }
.balance-note i[b-ap37183pu6] { color: var(--gold-dark); margin-left: .2rem; }
.balance-note strong[b-ap37183pu6] { color: var(--ink); }
.compact-empty[b-ap37183pu6] { min-height: 120px; display: flex; align-items: center; justify-content: center; gap: .6rem; color: var(--ink-muted); font-size: .75rem; }
.compact-empty i[b-ap37183pu6] { color: var(--gold-dark); font-size: 1.2rem; }
.loading-panel[b-ap37183pu6], .summary-empty[b-ap37183pu6] { min-height: 55vh; display: grid; place-items: center; align-content: center; gap: .8rem; color: var(--ink-muted); text-align: center; }
.loading-panel i[b-ap37183pu6], .summary-empty i[b-ap37183pu6] { color: var(--gold-dark); font-size: 1.8rem; }

@media (max-width: 1100px) {
    .grand-totals[b-ap37183pu6] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .breakdown-grid[b-ap37183pu6] { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .summary-heading[b-ap37183pu6] { align-items: stretch; flex-direction: column; }
    .updated-at[b-ap37183pu6] { align-self: flex-start; }
    .grand-totals[b-ap37183pu6] { grid-template-columns: 1fr; }
    .grand-card[b-ap37183pu6] { min-height: 108px; }
    .karat-totals[b-ap37183pu6] { grid-template-columns: 1fr; }
    .ledger-currency-grid[b-ap37183pu6], .gold-ledger-totals[b-ap37183pu6] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 0; }
    .ledger-currency-grid > div:nth-child(2)[b-ap37183pu6], .gold-ledger-totals > div:nth-child(2)[b-ap37183pu6] { border-left: 0; }
}
/* _content/AlSayegh.Platform.Web/Components/Pages/DocumentSettings.razor.rz.scp.css */
.document-settings-layout[b-yjrrmv1s8w]{display:grid;grid-template-columns:minmax(380px,1fr) minmax(350px,.9fr);gap:24px;align-items:start}.document-settings-controls[b-yjrrmv1s8w]{display:grid;gap:18px}.document-card[b-yjrrmv1s8w]{padding:24px;background:#fff;border:1px solid #dfe6e1;border-radius:18px;box-shadow:0 5px 22px #113e3306}.document-card>header[b-yjrrmv1s8w]{display:flex;gap:12px;align-items:center;margin-bottom:22px}.document-card h2[b-yjrrmv1s8w]{font-size:18px;margin:0 0 4px}.document-card p[b-yjrrmv1s8w]{font-size:12px;color:#75827d;margin:0;line-height:1.8}.document-step[b-yjrrmv1s8w]{background:#f7f1df;color:#a88027;border-radius:12px;padding:12px;font-size:16px;font-weight:700}.document-card fieldset[b-yjrrmv1s8w]{border:0;margin:0;padding:0;min-width:0}.document-card label[b-yjrrmv1s8w]{display:grid;gap:8px;font-size:13px;font-weight:600}.logo-picker[b-yjrrmv1s8w]{display:flex;align-items:center;gap:18px;margin:22px 0}.logo-picker img[b-yjrrmv1s8w],.logo-placeholder[b-yjrrmv1s8w]{width:80px;height:80px;object-fit:contain;border:1px dashed #ccd8cf;border-radius:12px;padding:8px}.logo-placeholder[b-yjrrmv1s8w]{display:grid;place-items:center;color:#b38a29;font-size:28px}.logo-picker small[b-yjrrmv1s8w]{font-size:10px;color:#7c8880;display:block;margin-top:8px}.logo-picker input[b-yjrrmv1s8w]{max-width:100%;font-size:12px}.text-button[b-yjrrmv1s8w]{border:0;background:transparent;color:#956448;font-size:12px;margin-top:6px;cursor:pointer}.document-fields[b-yjrrmv1s8w]{display:grid;grid-template-columns:1fr 1fr;gap:18px}.document-checks[b-yjrrmv1s8w]{display:grid;gap:14px;margin-top:22px}.document-checks label[b-yjrrmv1s8w],.column-option label[b-yjrrmv1s8w]{display:flex;align-items:center;gap:9px;font-weight:500}.document-card input[type=checkbox][b-yjrrmv1s8w]{accent-color:#927126;width:16px;height:16px}.column-options[b-yjrrmv1s8w]{display:grid;grid-template-columns:1fr 1fr;gap:9px}.column-option[b-yjrrmv1s8w]{display:flex;justify-content:space-between;align-items:center;border:1px solid #e5eae6;border-radius:9px;padding:10px;min-height:44px}.column-option button[b-yjrrmv1s8w]{background:#f2f5f2;border:0;border-radius:4px;color:#426153;margin:0 2px;width:24px;cursor:pointer}.column-option button:disabled[b-yjrrmv1s8w]{opacity:.25}.document-save[b-yjrrmv1s8w]{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.document-preview-panel[b-yjrrmv1s8w]{position:sticky;top:86px;min-width:0}.preview-caption[b-yjrrmv1s8w]{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:0 5px 14px;color:#597369}.preview-caption b[b-yjrrmv1s8w]{font-size:10px;color:#998b68}.paper-preview[b-yjrrmv1s8w]{background:white;border:1px solid #e2e3d9;box-shadow:0 14px 40px #163c3210;padding:28px 20px;min-height:480px;border-radius:3px;overflow:hidden}.paper-preview header[b-yjrrmv1s8w]{display:flex;gap:12px;align-items:center;padding-bottom:18px;border-bottom:2px solid #b48a2b}.paper-preview header img[b-yjrrmv1s8w]{width:55px;height:55px;object-fit:contain}.paper-preview h2[b-yjrrmv1s8w]{font-size:22px;margin:2px 0;color:#163e33}.paper-preview small[b-yjrrmv1s8w]{font-size:9px;color:#a38232}.paper-preview p[b-yjrrmv1s8w]{margin:4px 0;font-size:12px}.sample-account[b-yjrrmv1s8w]{display:flex;justify-content:space-between;gap:10px;background:#f4f7f3;margin:18px 0;padding:10px;font-size:11px}.sample-account span[b-yjrrmv1s8w]{color:#8b978d;font-size:9px}.sample-table-wrap[b-yjrrmv1s8w]{overflow-x:auto}.paper-preview table[b-yjrrmv1s8w]{width:100%;border-collapse:collapse;font-size:9px;white-space:nowrap}.paper-preview th[b-yjrrmv1s8w]{padding:10px 6px;background:#173f34;color:#fff;font-weight:500}.paper-preview td[b-yjrrmv1s8w]{padding:13px 6px;border-bottom:1px solid #e6eae5}.paper-preview tbody tr:nth-child(even)[b-yjrrmv1s8w]{background:#f6f8f5}.sample-summary[b-yjrrmv1s8w]{margin-top:28px;padding:14px;border:1px solid #dcd2b7;border-radius:7px}.sample-summary strong[b-yjrrmv1s8w]{font-size:12px}.sample-summary p[b-yjrrmv1s8w]{font-size:11px}.paper-preview footer[b-yjrrmv1s8w]{font-size:9px;color:#809085;margin-top:55px;border-top:1px solid #e6e9e2;padding-top:14px}.preview-hint[b-yjrrmv1s8w]{font-size:11px;color:#7e8b80;line-height:1.9;margin:18px 5px}.document-info[b-yjrrmv1s8w]{display:flex;gap:14px;padding:20px;border-radius:13px;background:#ebf2ec;color:#305b43}.document-info>i[b-yjrrmv1s8w]{color:#aa822b;font-size:21px}.document-info strong[b-yjrrmv1s8w]{font-size:13px}.document-info p[b-yjrrmv1s8w]{font-size:11px;line-height:1.9;margin:6px 0 0}.paper-preview.narrow[b-yjrrmv1s8w]{max-width:310px;margin:auto}@media(max-width:1100px){.document-settings-layout[b-yjrrmv1s8w]{grid-template-columns:1fr}.document-preview-panel[b-yjrrmv1s8w]{position:static}.paper-preview[b-yjrrmv1s8w]{max-width:760px;margin:auto}}@media(max-width:600px){.document-fields[b-yjrrmv1s8w],.column-options[b-yjrrmv1s8w]{grid-template-columns:1fr}.document-card[b-yjrrmv1s8w]{padding:18px}.logo-picker[b-yjrrmv1s8w]{flex-wrap:wrap}.document-save>*[b-yjrrmv1s8w]{width:100%}.preview-caption[b-yjrrmv1s8w]{flex-wrap:wrap}}

.report-print-info[b-yjrrmv1s8w] { margin-bottom: 1rem; }
.report-print-info a[b-yjrrmv1s8w] { display: inline-flex; align-items: center; gap: .5rem; margin-top: .5rem; font-size: .8rem; font-weight: 700; color: #305b43; }
/* _content/AlSayegh.Platform.Web/Components/Pages/ExistingSummaryDetails.razor.rz.scp.css */
.trace-backdrop[b-477gk392lk]{position:fixed;inset:0;z-index:1200;background:#0a221f85;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(3px)}.trace-dialog[b-477gk392lk]{width:min(1700px,100%);max-height:92vh;display:flex;flex-direction:column;background:white;border:1px solid #dce5dc;border-radius:12px;overflow:hidden;box-shadow:0 20px 80px #08231f40;color:#173f32}.trace-dialog>header[b-477gk392lk]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;background:#f7faf7;border-bottom:1px solid #dce5dd}.trace-dialog header span[b-477gk392lk]{font-size:.78rem;color:#987226}.trace-dialog h2[b-477gk392lk]{font-size:1.15rem;line-height:1.6;margin:0}.trace-tools[b-477gk392lk]{display:flex;align-items:center;gap:.5rem}.trace-close[b-477gk392lk]{width:36px;height:36px;font-size:1.7rem;border:1px solid #d5dfd6;background:#fff;color:#516c5a;border-radius:6px;cursor:pointer}.trace-note[b-477gk392lk]{margin:0;padding:.65rem 1.2rem;font-size:.78rem;line-height:1.8;color:#6e7e6f}.trace-scroll[b-477gk392lk]{overflow:auto;max-height:65vh}.trace-scroll table[b-477gk392lk]{width:100%;min-width:2400px;border-collapse:separate;border-spacing:0;text-align:center;font-size:.85rem}.trace-scroll th[b-477gk392lk],.trace-scroll td[b-477gk392lk]{padding:.65rem .5rem;border-bottom:1px solid #dce5dc;border-inline-end:1px solid #e4eae3;vertical-align:middle}.trace-scroll th[b-477gk392lk]{position:sticky;top:0;z-index:1;background:#edf3ee;font-size:.78rem;white-space:nowrap}.trace-scroll bdi[b-477gk392lk]{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:700}.trace-scroll .us[b-477gk392lk]{background:#edf4ff;color:#315b91}.trace-scroll .them[b-477gk392lk]{background:#fff0f2;color:#b43c51}.trace-scroll .trace-detail[b-477gk392lk]{min-width:300px;text-align:right;line-height:1.7}.trace-scroll small[b-477gk392lk]{display:block;color:#728075;font-size:.74rem}.trace-scroll .allocation td:not(.us):not(.them)[b-477gk392lk]{background:#fffbef}.trace-dialog>footer[b-477gk392lk]{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.7rem;padding:.8rem 1.2rem;background:#f6faf5;border-top:1px solid #d6e2d7;font-size:.85rem}.trace-link[b-477gk392lk]{padding:.35rem .7rem;background:#f2faf5;border:1px solid #bdd4c4;border-radius:5px;color:#0d6748;text-decoration:none}.trace-message[b-477gk392lk]{padding:2rem;text-align:center}@media(max-width:760px){.trace-backdrop[b-477gk392lk]{padding:8px}.trace-dialog[b-477gk392lk]{max-height:96vh}.trace-dialog>header[b-477gk392lk]{align-items:flex-start;padding:.7rem;flex-wrap:wrap}.trace-dialog h2[b-477gk392lk]{font-size:.95rem}.trace-note[b-477gk392lk]{padding:.5rem .7rem}.trace-scroll[b-477gk392lk]{max-height:66vh}.trace-dialog footer[b-477gk392lk]{font-size:.75rem}}
.trace-scroll th:last-child[b-477gk392lk],.trace-scroll td:last-child[b-477gk392lk]{position:sticky;left:0;z-index:2;background:#f3f9f5;min-width:65px;border-right:1px solid #c6d8ca}.trace-scroll th:last-child[b-477gk392lk]{z-index:3}
/* _content/AlSayegh.Platform.Web/Components/Pages/ExistingSummaryView.razor.rz.scp.css */
.existing-summary[b-mn3z6dpcib]{min-width:0;max-width:100%;border:1px solid #d5e1da;border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 4px 16px #123b2d06}.existing-summary>header[b-mn3z6dpcib]{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 1rem;color:#597065;font-size:.82rem;border-bottom:1px solid #dce5df}.existing-scroll[b-mn3z6dpcib]{width:100%;min-width:0;max-width:100%;overflow:auto;min-height:360px;max-height:none}.existing-table[b-mn3z6dpcib]{width:100%;min-width:950px;border-collapse:separate;border-spacing:0;table-layout:fixed;text-align:center;font-variant-numeric:tabular-nums;font-size:.94rem}.number-column[b-mn3z6dpcib]{width:42px}.detail-column[b-mn3z6dpcib]{width:32%}.currency-column[b-mn3z6dpcib]{width:75px}.existing-table th[b-mn3z6dpcib],.existing-table td[b-mn3z6dpcib]{padding:.85rem .6rem;border-bottom:1px solid #dce3de;border-inline-end:1px solid #dce3de;vertical-align:middle}.existing-table thead th[b-mn3z6dpcib]{position:sticky;top:0;z-index:1;background:#f1f4f1;font-size:.82rem;color:#284737;line-height:1.6}.existing-table tbody tr:nth-child(even)[b-mn3z6dpcib]{background:#fafaf4}.existing-table .detail[b-mn3z6dpcib]{text-align:right;line-height:1.7;font-weight:650;overflow-wrap:anywhere}.existing-table .for-us[b-mn3z6dpcib]{background:#edf4ff;color:#275991}.existing-table .for-them[b-mn3z6dpcib]{background:#fff0f2;color:#b43d52}.existing-table bdi[b-mn3z6dpcib]{white-space:nowrap;font-weight:750;direction:ltr}.existing-table small[b-mn3z6dpcib]{display:block;color:#77867b;font-size:.75rem;font-weight:500}.existing-table .totals tr[b-mn3z6dpcib]{background:#fffbec}.existing-table .totals td[b-mn3z6dpcib],.existing-table .totals th[b-mn3z6dpcib]{border-top:1px solid #d5ddcc;font-weight:750}.gold-equivalent strong[b-mn3z6dpcib]{font-size:1.2rem;color:#0d6647}.existing-table .net td[b-mn3z6dpcib]{padding:.4rem .6rem}.existing-summary>footer[b-mn3z6dpcib]{padding:.7rem 1rem;border-top:1px solid #dce3de;background:#fafcf9}.existing-summary footer p[b-mn3z6dpcib]{color:#6e8073;font-size:.76rem;line-height:1.8;margin:0}.existing-summary footer .valuation-unavailable[b-mn3z6dpcib]{color:#9b6a18}.empty[b-mn3z6dpcib]{padding:2rem;color:#758777}@media(max-width:760px){.existing-summary>header[b-mn3z6dpcib]{flex-direction:column;gap:.3rem}.existing-scroll[b-mn3z6dpcib]{max-height:none}}
.action-column[b-mn3z6dpcib]{width:78px}.trace-open[b-mn3z6dpcib]{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:35px;padding:.4rem .65rem;border:1px solid #bfd8cb;background:#f3faf6;color:#116348;border-radius:6px;font:inherit;font-size:.8rem;font-weight:750;cursor:pointer}.trace-open:hover[b-mn3z6dpcib]{background:#e6f4eb}.trace-open:disabled[b-mn3z6dpcib]{opacity:.5;cursor:wait}
/* _content/AlSayegh.Platform.Web/Components/Pages/Home.razor.rz.scp.css */
.hero-section[b-5sx0nvi6w0] { min-height: 660px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 6vw, 7rem); padding: clamp(1rem, 4vw, 4rem) 0; }
.hero-copy h1[b-5sx0nvi6w0] { font: 700 clamp(3rem, 6vw, 5.8rem)/1.05 var(--font-display); letter-spacing: -.055em; margin: .55rem 0 1.25rem; max-width: 720px; }
.hero-copy h1 em[b-5sx0nvi6w0] { color: var(--gold-dark); font-style: normal; }
.hero-copy > p[b-5sx0nvi6w0] { max-width: 610px; color: var(--ink-muted); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 2; }
.hero-actions[b-5sx0nvi6w0] { display: flex; align-items: center; gap: .55rem; margin-top: 1.7rem; flex-wrap: wrap; }
.trust-row[b-5sx0nvi6w0] { display: flex; gap: 1.2rem; flex-wrap: wrap; color: #59665e; font-size: .76rem; margin-top: 1.7rem; }
.trust-row i[b-5sx0nvi6w0] { width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 8px; background: #e5f0e8; color: #367052; font-size: .72rem; margin-left: .3rem; }
.gold-visual[b-5sx0nvi6w0] { min-height: 470px; position: relative; display: grid; place-items: center; isolation: isolate; }
.visual-glow[b-5sx0nvi6w0] { position: absolute; width: 390px; height: 390px; border-radius: 50%; background: radial-gradient(circle, rgba(230,190,102,.34), rgba(230,190,102,0) 70%); filter: blur(7px); z-index: -1; }
.gold-card[b-5sx0nvi6w0] { position: absolute; overflow: hidden; border: 1px solid rgba(255,255,255,.5); box-shadow: 0 35px 70px rgba(60,43,12,.2); }
.gold-card[b-5sx0nvi6w0]::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.45) 42%, transparent 62%); transform: translateX(55%); }
.card-front[b-5sx0nvi6w0] { width: min(410px, 90%); aspect-ratio: 1.58; border-radius: 26px; padding: 1.6rem; background: linear-gradient(145deg, #f0d58d 0%, #c89031 54%, #f0ce75 100%); color: #32240c; transform: rotate(-5deg); display: flex; flex-direction: column; justify-content: space-between; z-index: 2; }
.card-front strong[b-5sx0nvi6w0] { font: 700 clamp(3.5rem, 8vw, 6rem)/.8 var(--font-display); letter-spacing: -.06em; }
.card-front p[b-5sx0nvi6w0] { font-size: .75rem; font-weight: 800; margin: .5rem 0; }
.card-top[b-5sx0nvi6w0], .card-bottom[b-5sx0nvi6w0] { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 800; }
.card-back[b-5sx0nvi6w0] { width: 250px; aspect-ratio: 1.5; border-radius: 22px; padding: 1.3rem; background: linear-gradient(135deg, #143724, #28523a); color: #e2c271; transform: translate(45px,-105px) rotate(12deg); z-index: 1; }
.card-back span[b-5sx0nvi6w0] { font: 700 2rem var(--font-display); }
.card-back small[b-5sx0nvi6w0] { display: block; color: #b7c4bb; }
.card-back b[b-5sx0nvi6w0] { position: absolute; left: 1.2rem; bottom: 1rem; font: 700 3rem var(--font-display); opacity: .2; }
.market-pill[b-5sx0nvi6w0] { position: absolute; bottom: 32px; right: 8%; z-index: 4; background: rgba(255,255,255,.92); border: 1px solid #fff; border-radius: 99px; padding: .7rem 1rem; box-shadow: 0 15px 35px rgba(37,51,42,.13); color: var(--ink-soft); font-size: .75rem; font-weight: 800; backdrop-filter: blur(10px); }
.market-pill i[b-5sx0nvi6w0] { display: inline-block; width: 7px; height: 7px; background: #4a9a68; border-radius: 50%; box-shadow: 0 0 0 4px rgba(74,154,104,.12); margin-left: .35rem; }
.capabilities[b-5sx0nvi6w0] { padding: 5rem 0 2rem; border-top: 1px solid var(--line); }
.section-heading[b-5sx0nvi6w0] { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2[b-5sx0nvi6w0] { font: 700 clamp(2rem, 4vw, 3.3rem)/1.2 var(--font-display); max-width: 620px; margin: .35rem 0 0; }
.section-heading > p[b-5sx0nvi6w0] { color: var(--ink-muted); max-width: 430px; line-height: 1.8; font-size: .9rem; }
.capability-grid[b-5sx0nvi6w0] { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.capability-grid article[b-5sx0nvi6w0] { min-height: 220px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.7); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.capability-grid article:hover[b-5sx0nvi6w0] { transform: translateY(-4px); border-color: #d8c79e; box-shadow: 0 18px 38px rgba(37,51,42,.07); }
.capability-icon[b-5sx0nvi6w0] { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: var(--gold-dark); background: var(--gold-pale); font-size: 1.15rem; }
.capability-grid h3[b-5sx0nvi6w0] { font: 700 1.4rem var(--font-display); margin: 2rem 0 .5rem; }
.capability-grid p[b-5sx0nvi6w0] { color: var(--ink-muted); line-height: 1.8; font-size: .84rem; margin: 0; }

@media (max-width: 1000px) {
    .hero-section[b-5sx0nvi6w0] { grid-template-columns: 1fr; }
    .hero-copy[b-5sx0nvi6w0] { text-align: center; }
    .hero-copy > p[b-5sx0nvi6w0] { margin-inline: auto; }
    .hero-actions[b-5sx0nvi6w0], .trust-row[b-5sx0nvi6w0] { justify-content: center; }
    .gold-visual[b-5sx0nvi6w0] { min-height: 400px; }
}
@media (max-width: 700px) {
    .hero-section[b-5sx0nvi6w0] { min-height: auto; padding-top: 2rem; }
    .hero-copy h1[b-5sx0nvi6w0] { font-size: clamp(2.8rem, 14vw, 4.3rem); }
    .gold-visual[b-5sx0nvi6w0] { min-height: 340px; }
    .card-front[b-5sx0nvi6w0] { width: 300px; }
    .card-back[b-5sx0nvi6w0] { width: 190px; transform: translate(34px,-82px) rotate(12deg); }
    .market-pill[b-5sx0nvi6w0] { right: 0; bottom: 10px; }
    .section-heading[b-5sx0nvi6w0] { align-items: start; flex-direction: column; }
    .capability-grid[b-5sx0nvi6w0] { grid-template-columns: 1fr; }
}
/* _content/AlSayegh.Platform.Web/Components/Pages/Inventory/InventoryBalances.razor.rz.scp.css */
.inventory-heading[b-7op3krdsfo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.35rem;
}

.inventory-title[b-7op3krdsfo] { display: flex; align-items: center; gap: .9rem; }
.page-icon[b-7op3krdsfo] { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--green); box-shadow: 0 10px 24px rgba(15,73,56,.16); font-size: 1.05rem; }
.inventory-heading h1[b-7op3krdsfo] { font: 780 clamp(1.8rem, 3vw, 2.45rem)/1.2 var(--font-display); margin: .12rem 0 .16rem; }
.inventory-heading p[b-7op3krdsfo] { color: var(--ink-muted); font-size: .82rem; margin: 0; }

.total-weight[b-7op3krdsfo] { min-width: 230px; display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.total-icon[b-7op3krdsfo] { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 11px; color: var(--gold-dark); background: var(--gold-pale); font-size: .9rem; }
.total-weight small[b-7op3krdsfo] { display: block; color: var(--ink-muted); font-size: .65rem; font-weight: 650; }
.total-weight strong[b-7op3krdsfo] { display: inline-block; direction: ltr; font: 780 1.55rem/1.25 var(--font-display); color: var(--ink); margin: .05rem 0 0 .25rem; font-variant-numeric: tabular-nums; }
.total-weight div > span[b-7op3krdsfo] { color: var(--ink-muted); font-size: .68rem; }

.karat-summary[b-7op3krdsfo] { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.karat-summary-card[b-7op3krdsfo] { padding: .8rem .9rem; border: 1px solid #eddfbc; border-radius: 14px; background: linear-gradient(145deg, #fffdf7, var(--gold-pale)); box-shadow: var(--shadow-card); }
.karat-summary-card span[b-7op3krdsfo], .karat-summary-card small[b-7op3krdsfo] { display: block; color: var(--ink-muted); font-size: .66rem; }
.karat-summary-card strong[b-7op3krdsfo] { display: block; direction: ltr; text-align: right; margin: .18rem 0; color: var(--green); font: 780 1.2rem/1.35 var(--font-display); font-variant-numeric: tabular-nums; }

.inventory-panel[b-7op3krdsfo] { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; }
.inventory-panel > header[b-7op3krdsfo] { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.05rem; border-bottom: 1px solid var(--line); background: #fff; }
.panel-heading-copy[b-7op3krdsfo] { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.panel-icon[b-7op3krdsfo] { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 10px; color: var(--gold-dark); background: var(--gold-pale); font-size: .78rem; }
.inventory-panel h2[b-7op3krdsfo] { font: 750 1.02rem/1.35 var(--font-display); margin: .06rem 0 0; }
.inventory-panel .inline-actions[b-7op3krdsfo] { display: flex; align-items: center; gap: .5rem; }
.inventory-panel .search-box[b-7op3krdsfo] { width: 210px; max-width: 100%; min-height: 40px; }
.row-count[b-7op3krdsfo] { white-space: nowrap; padding: .3rem .58rem; border-radius: 99px; background: #f0f3f0; color: var(--ink-muted); font-size: .65rem; font-weight: 700; }

.empty-balance[b-7op3krdsfo] { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.empty-balance > span[b-7op3krdsfo] { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--gold-dark); background: var(--gold-pale); font-size: 1.15rem; }
.empty-balance h3[b-7op3krdsfo] { font: 750 1.08rem var(--font-display); margin: .9rem 0 .25rem; }
.empty-balance p[b-7op3krdsfo] { color: var(--ink-muted); font-size: .76rem; max-width: 340px; margin: 0; }

.balance-table-wrap[b-7op3krdsfo] { overflow-x: auto; }
table[b-7op3krdsfo] { width: 100%; border-collapse: collapse; min-width: 520px; }
th[b-7op3krdsfo], td[b-7op3krdsfo] { padding: .82rem 1.05rem; text-align: right; border-bottom: 1px solid #edf0ed; }
th[b-7op3krdsfo] { color: var(--ink-muted); background: #fafbfa; font-size: .68rem; font-weight: 700; }
td[b-7op3krdsfo] { font-size: .8rem; }
tbody tr[b-7op3krdsfo] { transition: background .16s ease; }
tbody tr:hover[b-7op3krdsfo] { background: #fafbf9; }
tbody tr:last-child td[b-7op3krdsfo] { border-bottom: 0; }
.karat-badge[b-7op3krdsfo] { min-width: 34px; display: inline-grid; place-items: center; padding: .22rem .4rem; border: 1px solid #eddfbc; border-radius: 7px; background: var(--gold-pale); color: var(--gold-dark); font-weight: 750; }
.weight-cell[b-7op3krdsfo] { direction: ltr; text-align: right; font-weight: 750; color: var(--green); font-variant-numeric: tabular-nums; }

.opening-panel[b-7op3krdsfo]  form { padding: 1.1rem; }
.field-group[b-7op3krdsfo] { margin-bottom: .85rem; }
.field-group > label[b-7op3krdsfo] { display: flex; align-items: center; justify-content: space-between; margin-bottom: .32rem; color: var(--ink-soft); font-size: .71rem; font-weight: 700; }
.field-group label small[b-7op3krdsfo] { color: var(--ink-muted); font-weight: 450; }
.form-grid[b-7op3krdsfo] { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.form-control[b-7op3krdsfo], .form-select[b-7op3krdsfo] { min-height: 42px; }
textarea.form-control[b-7op3krdsfo] { min-height: 82px; resize: vertical; }
.weight-input[b-7op3krdsfo] { position: relative; }
.weight-input .form-control[b-7op3krdsfo] { padding-left: 3rem; direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }
.weight-input span[b-7op3krdsfo] { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--ink-muted); font-size: .68rem; }
.submit-button[b-7op3krdsfo] { width: 100%; border: 0; }
.submit-button:disabled[b-7op3krdsfo] { opacity: .65; cursor: wait; }
.form-note[b-7op3krdsfo] { color: var(--ink-muted); text-align: center; font-size: .61rem; margin: .55rem 0 0; }

.movement-panel[b-7op3krdsfo] { margin-top: 0; }

.inventory-alert[b-7op3krdsfo] { display: flex; align-items: center; padding: .72rem .9rem; border-radius: 11px; margin-bottom: 1rem; font-size: .76rem; }
.inventory-alert.success[b-7op3krdsfo] { background: #e9f5ed; color: #286243; border: 1px solid #cfe8d7; }
.inventory-alert.error[b-7op3krdsfo], .error-state[b-7op3krdsfo] { background: #fff0f0; color: #922b33; border: 1px solid #f0cfd1; }
.inventory-state[b-7op3krdsfo] { min-height: 60vh; display: grid; place-items: center; border-radius: 16px; background: #fff; color: var(--ink-muted); }
[b-7op3krdsfo] .validation-message { display: block; margin-top: .25rem; font-size: .65rem; }

@media (max-width: 760px) {
    .inventory-heading[b-7op3krdsfo] { align-items: stretch; flex-direction: column; }
    .total-weight[b-7op3krdsfo] { min-width: 0; }
    .karat-summary[b-7op3krdsfo] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .inventory-panel > header[b-7op3krdsfo] { align-items: stretch; flex-direction: column; }
    .inventory-panel .inline-actions[b-7op3krdsfo] { width: 100%; }
    .inventory-panel .search-box[b-7op3krdsfo] { width: 100%; }
    .form-grid[b-7op3krdsfo] { grid-template-columns: 1fr; gap: 0; }
}
/* _content/AlSayegh.Platform.Web/Components/Pages/Inventory/InventoryIdentification.razor.rz.scp.css */
.item-heading[b-kdcotkqysc] { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:1.15rem 0 1.4rem; }
.item-heading h1[b-kdcotkqysc] { margin:.2rem 0 0; font-size:clamp(1.8rem,3vw,2.65rem); font-weight:950; letter-spacing:-.05em; }
.identification-nav[b-kdcotkqysc] { display:flex; gap:.3rem; padding:.35rem; background:#eaf0ec; border:1px solid #dce5df; border-radius:14px; }
.identification-nav[b-kdcotkqysc]  a { display:flex; align-items:center; justify-content:center; gap:.55rem; min-height:44px; padding:.55rem 1.1rem; border-radius:10px; color:#61716a; font-size:.83rem; font-weight:800; text-decoration:none; transition:background .15s,color .15s,box-shadow .15s; }
.identification-nav[b-kdcotkqysc]  a.active { background:#fff; color:#124e3d; box-shadow:0 2px 8px #143d2310; }
.identification-nav[b-kdcotkqysc]  a.active i { color:var(--gold-dark); }
.identification-nav[b-kdcotkqysc]  a:hover { color:#124e3d; }
h2[b-kdcotkqysc] { margin:.1rem 0; font-size:1.08rem; font-weight:900; }
.definition-layout[b-kdcotkqysc] { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr); align-items:start; gap:1.1rem; }
.definition-card[b-kdcotkqysc],.coverage-card[b-kdcotkqysc] { overflow:hidden; border:1px solid var(--line); border-radius:18px; background:#fff; box-shadow:var(--shadow-card); }
.definition-card > header[b-kdcotkqysc],.coverage-card > header[b-kdcotkqysc] { display:flex; align-items:center; gap:.8rem; min-height:80px; padding:1.1rem 1.25rem; border-bottom:1px solid var(--line); }
.coverage-card > header[b-kdcotkqysc] { justify-content:space-between; }
.card-icon[b-kdcotkqysc] { width:42px; height:42px; display:grid; place-items:center; border-radius:12px; background:var(--gold-pale); color:var(--gold-dark); }
.coverage-icon[b-kdcotkqysc] { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#f0f5f1; color:#3d7159; }
header p[b-kdcotkqysc] { margin:.2rem 0 0; color:var(--ink-muted); font-size:.76rem; }
.definition-card[b-kdcotkqysc]  form { padding:1.25rem; }
.definition-grid[b-kdcotkqysc] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.definition-grid label[b-kdcotkqysc] { display:block; min-width:0; }
.definition-grid label > span[b-kdcotkqysc] { display:flex; justify-content:space-between; gap:.5rem; margin-bottom:.4rem; font-size:.78rem; font-weight:850; }
.definition-grid small[b-kdcotkqysc] { color:var(--ink-muted); font-weight:650; }
.definition-grid .wide[b-kdcotkqysc] { grid-column:1/-1; }
.definition-grid[b-kdcotkqysc]  .form-control,.definition-grid[b-kdcotkqysc]  .form-select { min-height:48px; border-color:#ccd8d2; font-weight:750; }
.definition-grid[b-kdcotkqysc]  .barcode-input { text-align:right; }
.unit-input[b-kdcotkqysc] { position:relative; }
.unit-input[b-kdcotkqysc]  input { padding-left:3rem; }
.unit-input b[b-kdcotkqysc] { position:absolute; left:1rem; top:50%; translate:0 -50%; color:var(--ink-muted); font-size:.75rem; }
.photo-field[b-kdcotkqysc] { padding:.9rem; border:1px dashed #b9cac2; border-radius:12px; background:#f8fbf9; }
.photo-field[b-kdcotkqysc]  input { width:100%; font-size:.8rem; }
.photo-field em[b-kdcotkqysc] { display:block; margin-top:.4rem; color:#39715d; font-size:.7rem; overflow-wrap:anywhere; }
.auto-print[b-kdcotkqysc] { display:flex; align-items:center; gap:.6rem; width:fit-content; margin-top:1.15rem; font-size:.8rem; color:#375c4a; cursor:pointer; }
.auto-print input[b-kdcotkqysc] { width:17px; height:17px; accent-color:#176047; }
.auto-print span[b-kdcotkqysc] { display:flex; align-items:center; gap:.45rem; }
.create-button[b-kdcotkqysc] { width:100%; margin-top:.85rem; border:0; min-height:50px; }
.coverage-list[b-kdcotkqysc] { max-height:600px; overflow:auto; padding:.85rem; }
.coverage-row[b-kdcotkqysc] { display:block; width:100%; margin-bottom:.65rem; padding:.85rem; border:1px solid #e4ebe6; border-radius:13px; background:#fff; text-align:right; transition:border-color .15s,background .15s; }
.coverage-row:last-child[b-kdcotkqysc] { margin-bottom:0; }
.coverage-row:hover[b-kdcotkqysc],.coverage-row.selected[b-kdcotkqysc] { border-color:#b8cbbf; background:#fcfdfb; }
.coverage-category[b-kdcotkqysc] { display:flex; align-items:center; justify-content:space-between; margin-bottom:.8rem; gap:.5rem; }
.coverage-category strong[b-kdcotkqysc] { font-size:.88rem; }
.coverage-category > span[b-kdcotkqysc] { padding:.18rem .5rem; border-radius:6px; color:#6e592c; background:#f6f0e1; font-size:.65rem; font-weight:750; }
.coverage-metrics[b-kdcotkqysc] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.5rem; }
.metric[b-kdcotkqysc] { display:flex; flex-direction:column; gap:.25rem; padding:.5rem .6rem; border-radius:8px; background:#f0f6f2; }
.metric small[b-kdcotkqysc] { color:#557464; font-size:.65rem; font-weight:750; }
.metric b[b-kdcotkqysc] { color:#164a35; font-size:1.02rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.metric b em[b-kdcotkqysc] { font-size:.62rem; font-weight:600; font-style:normal; }
.metric.remaining[b-kdcotkqysc] { background:#fcf7eb; }
.metric.remaining small[b-kdcotkqysc] { color:#877246; }
.metric.remaining b[b-kdcotkqysc] { color:#92650e; }
.coverage-empty[b-kdcotkqysc] { padding:2rem 1rem; color:var(--ink-muted); text-align:center; font-size:.85rem; }
.created-piece[b-kdcotkqysc] { display:flex; align-items:center; gap:1rem; padding:1rem 1.25rem; margin-bottom:1.1rem; border:1px solid #c9dfd1; border-radius:16px; background:#f2f9f4; }
.created-check[b-kdcotkqysc] { display:grid; place-items:center; flex-shrink:0; width:38px; height:38px; border-radius:50%; background:#d9eedf; color:#216142; }
.created-copy[b-kdcotkqysc] { margin-inline-end:auto; }
.created-copy .section-kicker[b-kdcotkqysc] { color:#397054; font-size:.66rem; }
.created-copy h2[b-kdcotkqysc] { font-size:.95rem; }
.created-copy p[b-kdcotkqysc] { margin:0; color:#64816f; font-size:.75rem; }
.created-barcode[b-kdcotkqysc] { width:190px; text-align:center; }
.created-barcode[b-kdcotkqysc]  .barcode-svg { display:block; width:100%; height:50px; }
.created-barcode strong[b-kdcotkqysc] { font:700 .78rem monospace; letter-spacing:.15em; }
.created-piece .btn-gold[b-kdcotkqysc] { min-height:44px; font-size:.8rem; }
.registry-shell[b-kdcotkqysc] { overflow:hidden; border:1px solid #d8e1d9; border-radius:22px; background:#f8faf7; box-shadow:0 10px 35px #173d2910; }
.registry-heading[b-kdcotkqysc] { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.65rem 1.7rem; border-bottom:3px solid #b78a35; background:linear-gradient(115deg,#194e3b,#103b2d); color:#fff; }
.registry-title[b-kdcotkqysc] { display:flex; align-items:center; gap:1rem; }
.registry-mark[b-kdcotkqysc] { width:56px; height:56px; display:grid; place-items:center; border:1px solid #c2a5654d; border-radius:16px; background:#ffffff0a; color:#e6c784; font-size:1.4rem; }
.registry-heading .section-kicker[b-kdcotkqysc] { color:#d7bd83; font-size:.69rem; }
.registry-heading h2[b-kdcotkqysc] { margin:.3rem 0; font-size:1.4rem; }
.registry-heading p[b-kdcotkqysc] { color:#b6cbbf; font-size:.75rem; }
.registry-add[b-kdcotkqysc] { display:flex; align-items:center; gap:.6rem; min-height:44px; padding:.65rem 1rem; border:1px solid #d9c19175; border-radius:10px; background:#f5ebd6; color:#5d451b; font-size:.8rem; font-weight:850; text-decoration:none; }
.registry-add:hover[b-kdcotkqysc] { background:#fff8e8; }
.registry-body[b-kdcotkqysc] { padding:1.3rem; }
.registry-toolbar[b-kdcotkqysc] { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding-bottom:1rem; }
.status-filters[b-kdcotkqysc] { display:flex; align-items:center; gap:.35rem; padding:.3rem; background:#eaf0e9; border-radius:12px; }
.status-filters button[b-kdcotkqysc] { display:flex; align-items:center; gap:.55rem; padding:.6rem .85rem; min-height:44px; border:0; border-radius:9px; background:transparent; color:#667769; font-size:.78rem; font-weight:800; }
.status-filters button span[b-kdcotkqysc] { min-width:22px; padding:.07rem .35rem; border-radius:5px; background:#dfe8df; font-size:.67rem; font-variant-numeric:tabular-nums; }
.status-filters button.active[b-kdcotkqysc] { background:#fff; color:#194f37; box-shadow:0 2px 8px #143d2310; }
.status-filters button.active span[b-kdcotkqysc] { background:#e9f2e8; }
.registry-search[b-kdcotkqysc] { position:relative; width:clamp(230px,35%,420px); }
.registry-search i[b-kdcotkqysc] { position:absolute; inset-inline-start:1rem; top:50%; translate:0 -50%; color:#8b9d91; font-size:.85rem; }
.registry-search input[b-kdcotkqysc] { width:100%; height:46px; padding:.7rem 2.6rem .7rem .9rem; border:1px solid #dbe5db; border-radius:10px; background:#fff; color:var(--ink); font:inherit; font-size:.78rem; }
.registry-search input:focus[b-kdcotkqysc] { border-color:#71987e; outline:2px solid #d5e6d8; outline-offset:1px; }
.registry-results[b-kdcotkqysc] { display:flex; justify-content:space-between; align-items:center; gap:.8rem; min-height:40px; margin-bottom:.9rem; padding-top:.7rem; border-top:1px solid #e1e8df; color:#7e8c80; font-size:.72rem; }
.registry-results strong[b-kdcotkqysc] { color:#315a42; }
.print-all[b-kdcotkqysc] { display:flex; align-items:center; gap:.5rem; min-height:38px; border:0; padding:.4rem .2rem; background:none; color:#557155; font-size:.74rem; font-weight:800; }
.print-all:hover:not(:disabled)[b-kdcotkqysc] { color:#9b731e; }
button:disabled[b-kdcotkqysc] { opacity:.5; cursor:not-allowed; }
.items-grid[b-kdcotkqysc] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.item-tile[b-kdcotkqysc] { min-width:0; padding:1rem; border:1px solid #e0e6dc; border-radius:16px; background:#fff; box-shadow:0 3px 9px #1d3e2704; transition:box-shadow .15s,border-color .15s; }
.item-tile:hover[b-kdcotkqysc] { border-color:#cbb88d; box-shadow:0 6px 18px #4e52200c; }
.item-topline[b-kdcotkqysc] { display:flex; justify-content:space-between; align-items:center; gap:.6rem; margin-bottom:1rem; }
.item-topline time[b-kdcotkqysc] { color:#96a297; font-size:.6rem; font-variant-numeric:tabular-nums; }
.item-state-pill[b-kdcotkqysc] { display:inline-flex; align-items:center; gap:.35rem; padding:.23rem .55rem; border-radius:7px; background:#edf6ee; color:#3d7c4d; font-size:.63rem; font-weight:850; }
.issued .item-state-pill[b-kdcotkqysc] { color:#7d7464; background:#f0eee8; }
.item-detail[b-kdcotkqysc] { display:flex; align-items:center; gap:.85rem; }
.item-photo[b-kdcotkqysc] { flex-shrink:0; width:72px; height:78px; display:grid; place-items:center; overflow:hidden; border:1px solid #edf0e8; border-radius:12px; background:linear-gradient(145deg,#f7f5ed,#edf3eb); color:#b89856; font-size:1.5rem; }
.item-photo img[b-kdcotkqysc] { width:100%; height:100%; object-fit:cover; }
.item-copy[b-kdcotkqysc] { min-width:0; }
.item-copy h3[b-kdcotkqysc] { margin:0; font-size:1rem; font-weight:850; }
.item-copy p[b-kdcotkqysc] { margin:.3rem 0 .5rem; color:#8a9588; font-size:.72rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.item-copy > div[b-kdcotkqysc] { display:flex; align-items:center; gap:.75rem; color:#325f44; font-size:.8rem; }
.item-copy b[b-kdcotkqysc] { font-variant-numeric:tabular-nums; }
.item-copy small[b-kdcotkqysc] { font-size:.66rem; font-weight:600; }
.item-copy > div > span[b-kdcotkqysc] { padding-inline-start:.75rem; border-inline-start:1px solid #dce5d7; color:#7b805e; font-size:.7rem; }
.mini-barcode[b-kdcotkqysc] { margin:1rem 0 .8rem; padding:.8rem .3rem .5rem; border:1px solid #edf0e8; border-radius:10px; background:#fcfdfb; text-align:center; }
.mini-barcode[b-kdcotkqysc]  .barcode-svg { display:block; width:100%; max-width:265px; height:58px; margin:0 auto .3rem; }
.mini-barcode strong[b-kdcotkqysc] { display:block; font:700 .8rem monospace; letter-spacing:.16em; color:#3c4939; overflow-wrap:anywhere; }
.print-piece[b-kdcotkqysc] { display:flex; align-items:center; justify-content:center; gap:.6rem; width:100%; min-height:40px; padding:.5rem; border:1px solid #e6dfcd; border-radius:9px; background:#fbf8f0; color:#8a6927; font-size:.76rem; font-weight:800; }
.print-piece:hover:not(:disabled)[b-kdcotkqysc] { border-color:#c5a75d; background:#f7efda; }
.registry-empty[b-kdcotkqysc] { padding:3.5rem 1rem 4rem; text-align:center; }
.registry-empty > span[b-kdcotkqysc] { display:grid; place-items:center; width:72px; height:72px; margin:0 auto 1.1rem; border:1px solid #e4e0ce; border-radius:21px; color:#ad8d49; background:#f1eee3; font-size:1.75rem; }
.registry-empty h3[b-kdcotkqysc] { margin:0 0 .4rem; color:#39583e; font-size:1.1rem; }
.registry-empty p[b-kdcotkqysc] { margin:0 0 1.25rem; color:#8a9687; font-size:.8rem; }
.registry-empty .btn-gold[b-kdcotkqysc],.registry-empty .btn-outline[b-kdcotkqysc] { display:inline-flex; align-items:center; gap:.7rem; min-height:44px; }
.item-alert[b-kdcotkqysc] { margin-bottom:1rem; padding:.85rem 1rem; border-radius:11px; font-size:.8rem; font-weight:750; }
.item-alert.error[b-kdcotkqysc] { color:#9a2b25; background:#fff0ee; border:1px solid #f1cfca; }
.item-state[b-kdcotkqysc] { min-height:40vh; display:grid; place-items:center; color:var(--ink-muted); }
@media(max-width:1100px) { .definition-layout[b-kdcotkqysc] { grid-template-columns:minmax(0,1fr) minmax(300px,.75fr); } .items-grid[b-kdcotkqysc] { grid-template-columns:repeat(2,minmax(0,1fr)); } .registry-toolbar[b-kdcotkqysc] { align-items:stretch; flex-direction:column; } .registry-search[b-kdcotkqysc] { width:100%; } .status-filters[b-kdcotkqysc] { align-self:flex-start; } }
@media(max-width:850px) { .definition-layout[b-kdcotkqysc] { grid-template-columns:1fr; } .coverage-list[b-kdcotkqysc] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; } .coverage-row[b-kdcotkqysc] { margin-bottom:0; } .created-piece[b-kdcotkqysc] { flex-wrap:wrap; } .created-piece .btn-gold[b-kdcotkqysc] { margin-inline-start:auto; } }
@media(max-width:650px) { .item-heading[b-kdcotkqysc] { align-items:stretch; flex-direction:column; gap:.85rem; } .identification-nav[b-kdcotkqysc] { align-self:stretch; } .identification-nav[b-kdcotkqysc]  a { flex:1; padding:.55rem .6rem; } .definition-grid[b-kdcotkqysc],.items-grid[b-kdcotkqysc],.coverage-list[b-kdcotkqysc] { grid-template-columns:1fr; } .registry-heading[b-kdcotkqysc] { padding:1.15rem; flex-wrap:wrap; } .registry-heading h2[b-kdcotkqysc] { font-size:1.2rem; } .registry-mark[b-kdcotkqysc] { width:44px; height:48px; } .registry-add[b-kdcotkqysc] { margin-inline-start:auto; } .registry-body[b-kdcotkqysc] { padding:.85rem; } .status-filters[b-kdcotkqysc] { width:100%; } .status-filters button[b-kdcotkqysc] { flex:1; justify-content:center; padding:.55rem .5rem; font-size:.72rem; } .created-barcode[b-kdcotkqysc] { width:100%; } .created-piece .btn-gold[b-kdcotkqysc] { width:100%; justify-content:center; } .registry-results[b-kdcotkqysc] { flex-wrap:wrap; } }
/* _content/AlSayegh.Platform.Web/Components/Pages/Inventory/InventoryLabelPrinter.razor.rz.scp.css */
.label-designer[b-95az9me2yz] { margin:0 0 1.2rem; border:1px solid #dbe4dd; border-radius:18px; overflow:hidden; background:#fff; box-shadow:var(--shadow-card); }
.designer-heading[b-95az9me2yz] { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.25rem; border-bottom:1px solid #e5ebe5; }
.designer-heading h2[b-95az9me2yz] { margin:.15rem 0; font-size:1.08rem; font-weight:900; }
.designer-heading p[b-95az9me2yz] { margin:0; color:var(--ink-muted); font-size:.73rem; }
.design-saved[b-95az9me2yz] { display:flex; align-items:center; gap:.5rem; color:#64816a; font-size:.68rem; }
.designer-layout[b-95az9me2yz] { display:grid; grid-template-columns:minmax(0,1fr) 285px; }
.designer-main[b-95az9me2yz] { min-width:0; padding:1rem 1.2rem; }
.label-designer label[b-95az9me2yz] { display:flex; flex-direction:column; gap:.4rem; color:#52705d; font-size:.7rem; font-weight:800; min-width:0; }
.label-designer input:not([type=checkbox])[b-95az9me2yz],.label-designer select[b-95az9me2yz] { width:100%; min-width:0; height:39px; padding:.4rem .65rem; border:1px solid #d7e0d6; border-radius:8px; background:#fff; color:#223d2a; font:inherit; font-size:.76rem; }
.label-designer input[type=number][b-95az9me2yz] { direction:ltr; text-align:right; font-variant-numeric:tabular-nums; }
.label-designer input:focus[b-95az9me2yz],.label-designer select:focus[b-95az9me2yz] { outline:2px solid #e1d5ad; outline-offset:1px; }
.roll-settings[b-95az9me2yz] { display:grid; grid-template-columns:1.2fr repeat(3,1fr); gap:.65rem; }
.tag-designer-board[b-95az9me2yz] { min-height:165px; margin:1rem 0 .55rem; padding:1rem; display:flex; align-items:center; justify-content:center; border:1px solid #e6e2d5; border-radius:12px; background-color:#f6f6ef; background-image:radial-gradient(#d9dfcf .75px,transparent .75px); background-size:10px 10px; overflow:hidden; }
.tag-designer-stage[b-95az9me2yz] { direction:ltr; flex-shrink:0; position:relative; width:calc(var(--tag-width) * var(--preview-scale,2)); height:calc(var(--tag-height) * var(--preview-scale,2)); }
.tag-designer-stage[b-95az9me2yz]  .tag-preview { transform:scale(var(--preview-scale,2)); transform-origin:top left; }
.preview-caption[b-95az9me2yz] { display:flex; align-items:center; justify-content:space-between; gap:.7rem; color:#8c8e78; font-size:.64rem; }
.preview-caption span[b-95az9me2yz] { display:flex; align-items:center; gap:.4rem; }
.preview-caption b[b-95az9me2yz] { font-family:monospace; font-weight:500; white-space:nowrap; }
.piece-print-settings[b-95az9me2yz] { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:.65rem; margin-top:1rem; padding-top:.9rem; border-top:1px solid #edf0e9; }
.price-help[b-95az9me2yz] { margin:.6rem 0 0; color:#939885; font-size:.63rem; line-height:1.7; }
.element-editor[b-95az9me2yz] { min-width:0; padding:1rem; border-inline-start:1px solid #e6ece3; background:#fafbf7; }
.element-visible[b-95az9me2yz] { flex-direction:row!important; align-items:center; gap:.5rem!important; margin:.8rem 0; }
.element-visible input[b-95az9me2yz] { width:15px; height:15px; accent-color:#356c47; }
.element-properties[b-95az9me2yz] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; }
.element-properties .wide[b-95az9me2yz] { grid-column:1/-1; }
.copies-field[b-95az9me2yz] { margin-top:.8rem; }
.alignment-settings[b-95az9me2yz] { margin-top:1rem; padding-top:.65rem; border-top:1px solid #e1e6db; color:#758267; font-size:.7rem; }
.alignment-settings summary[b-95az9me2yz] { cursor:pointer; margin-bottom:.7rem; }
.reset-design[b-95az9me2yz] { display:flex; align-items:center; justify-content:center; gap:.5rem; width:100%; margin-top:.8rem; padding:.5rem; min-height:36px; border:1px solid #e1ddcb; border-radius:8px; background:#fffdf7; color:#927132; font-size:.7rem; font-weight:750; }
.designer-footer[b-95az9me2yz] { display:flex; align-items:center; gap:.65rem; padding:.8rem 1.2rem; background:#f5f7f1; border-top:1px solid #e5e9df; color:#77876f; font-size:.67rem; line-height:1.7; }
.label-validation[b-95az9me2yz] { margin:0; padding:.75rem 1.2rem; color:#9b4534; background:#fff3ed; font-size:.75rem; }
@media(max-width:1150px) { .designer-layout[b-95az9me2yz] { grid-template-columns:minmax(0,1fr) 250px; } .roll-settings[b-95az9me2yz] { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:800px) { .designer-layout[b-95az9me2yz] { grid-template-columns:1fr; } .element-editor[b-95az9me2yz] { border-inline-start:0; border-top:1px solid #e6ece3; } .element-properties[b-95az9me2yz] { grid-template-columns:repeat(2,minmax(0,1fr)); } .element-editor[b-95az9me2yz] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; } .element-editor > .element-properties[b-95az9me2yz],.alignment-settings[b-95az9me2yz],.reset-design[b-95az9me2yz] { grid-column:1/-1; } .element-visible[b-95az9me2yz] { margin:0; align-self:end; padding-bottom:.5rem; } .copies-field[b-95az9me2yz] { margin-top:0; } }
@media(max-width:500px) { .designer-heading[b-95az9me2yz] { align-items:flex-start; flex-direction:column; gap:.6rem; padding:.9rem; } .designer-main[b-95az9me2yz] { padding:.85rem; } .piece-print-settings[b-95az9me2yz] { grid-template-columns:repeat(2,minmax(0,1fr)); } .preview-piece[b-95az9me2yz] { grid-column:1/-1; } .preview-caption[b-95az9me2yz] { flex-direction:column; align-items:flex-start; } .designer-footer[b-95az9me2yz] { align-items:flex-start; padding:.75rem .9rem; } .tag-designer-board[b-95az9me2yz] { min-height:125px; } }
.label-job-dialog[b-95az9me2yz]{border:1px solid #dce5dc;border-radius:18px;padding:24px;width:min(520px,calc(100vw - 30px));max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 20px 80px #0b302c36;color:#173e33;background:#fff}.label-job-dialog[b-95az9me2yz]::backdrop{background:#102c2366;backdrop-filter:blur(3px)}.label-job-dialog>header[b-95az9me2yz]{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e6ece4;padding-bottom:18px;margin-bottom:20px}.label-job-dialog h2[b-95az9me2yz]{margin:6px 0 0;font-size:22px;font-weight:800}.job-close[b-95az9me2yz]{border:0;background:#f0f4ee;border-radius:8px;width:34px;height:34px;font-size:23px;color:#5d7562}.job-fields[b-95az9me2yz]{display:grid;grid-template-columns:1fr 1fr;gap:16px}.job-fields label[b-95az9me2yz]{display:grid;gap:8px;font-size:12px;font-weight:600;min-width:0}.job-fields input[b-95az9me2yz],.job-fields select[b-95az9me2yz]{border:1px solid #cdd9ce;border-radius:8px;min-width:0;width:100%;height:42px;background:#fff;padding:8px;color:#234933}.job-fields input[b-95az9me2yz]{direction:ltr;text-align:right}.job-wide[b-95az9me2yz]{grid-column:1/-1}.job-help[b-95az9me2yz]{font-size:11px;line-height:1.9;color:#7e8a7c;margin:16px 0}.label-job-dialog>footer[b-95az9me2yz]{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e6ece4;padding-top:18px;margin-top:20px}@media(max-width:500px){.label-job-dialog[b-95az9me2yz]{padding:18px}.job-fields[b-95az9me2yz]{grid-template-columns:1fr}}
/* _content/AlSayegh.Platform.Web/Components/Pages/Inventory/InventoryMovements.razor.rz.scp.css */
.inventory-heading[b-gswuvj3kpa] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.35rem;
}

.inventory-title[b-gswuvj3kpa] { display: flex; align-items: center; gap: .9rem; }
.page-icon[b-gswuvj3kpa] { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--green); box-shadow: 0 10px 24px rgba(15,73,56,.16); font-size: 1.05rem; }
.inventory-heading h1[b-gswuvj3kpa] { font: 780 clamp(1.8rem, 3vw, 2.45rem)/1.2 var(--font-display); margin: .12rem 0 .16rem; }
.inventory-heading p[b-gswuvj3kpa] { color: var(--ink-muted); font-size: .82rem; margin: 0; }

.total-weight[b-gswuvj3kpa] { min-width: 230px; display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.total-icon[b-gswuvj3kpa] { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 11px; color: var(--gold-dark); background: var(--gold-pale); font-size: .9rem; }
.total-weight small[b-gswuvj3kpa] { display: block; color: var(--ink-muted); font-size: .65rem; font-weight: 650; }
.total-weight strong[b-gswuvj3kpa] { display: inline-block; direction: ltr; font: 780 1.55rem/1.25 var(--font-display); color: var(--ink); margin: .05rem 0 0 .25rem; font-variant-numeric: tabular-nums; }
.total-weight div > span[b-gswuvj3kpa] { color: var(--ink-muted); font-size: .68rem; }

.inventory-panel[b-gswuvj3kpa] { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; }
.inventory-panel > header[b-gswuvj3kpa] { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.05rem; border-bottom: 1px solid var(--line); background: #fff; }
.panel-heading-copy[b-gswuvj3kpa] { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.panel-icon[b-gswuvj3kpa] { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 10px; color: var(--gold-dark); background: var(--gold-pale); font-size: .78rem; }
.inventory-panel h2[b-gswuvj3kpa] { font: 750 1.02rem/1.35 var(--font-display); margin: .06rem 0 0; }
.inventory-panel .inline-actions[b-gswuvj3kpa] { display: flex; align-items: center; gap: .5rem; }
.inventory-panel .search-box[b-gswuvj3kpa] { width: 210px; max-width: 100%; min-height: 40px; }
.row-count[b-gswuvj3kpa] { white-space: nowrap; padding: .3rem .58rem; border-radius: 99px; background: #f0f3f0; color: var(--ink-muted); font-size: .65rem; font-weight: 700; }

.empty-balance[b-gswuvj3kpa] { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.empty-balance > span[b-gswuvj3kpa] { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--gold-dark); background: var(--gold-pale); font-size: 1.15rem; }
.empty-balance h3[b-gswuvj3kpa] { font: 750 1.08rem var(--font-display); margin: .9rem 0 .25rem; }
.empty-balance p[b-gswuvj3kpa] { color: var(--ink-muted); font-size: .76rem; max-width: 340px; margin: 0; }

.balance-table-wrap[b-gswuvj3kpa] { overflow-x: auto; }
table[b-gswuvj3kpa] { width: 100%; border-collapse: collapse; min-width: 520px; }
th[b-gswuvj3kpa], td[b-gswuvj3kpa] { padding: .82rem 1.05rem; text-align: right; border-bottom: 1px solid #edf0ed; }
th[b-gswuvj3kpa] { color: var(--ink-muted); background: #fafbfa; font-size: .68rem; font-weight: 700; }
td[b-gswuvj3kpa] { font-size: .8rem; }
tbody tr[b-gswuvj3kpa] { transition: background .16s ease; }
tbody tr:hover[b-gswuvj3kpa] { background: #fafbf9; }
tbody tr:last-child td[b-gswuvj3kpa] { border-bottom: 0; }
.karat-badge[b-gswuvj3kpa] { min-width: 34px; display: inline-grid; place-items: center; padding: .22rem .4rem; border: 1px solid #eddfbc; border-radius: 7px; background: var(--gold-pale); color: var(--gold-dark); font-weight: 750; }
.weight-cell[b-gswuvj3kpa] { direction: ltr; text-align: right; font-weight: 750; color: var(--green); font-variant-numeric: tabular-nums; }

.opening-panel[b-gswuvj3kpa]  form { padding: 1.1rem; }
.field-group[b-gswuvj3kpa] { margin-bottom: .85rem; }
.field-group > label[b-gswuvj3kpa] { display: flex; align-items: center; justify-content: space-between; margin-bottom: .32rem; color: var(--ink-soft); font-size: .71rem; font-weight: 700; }
.field-group label small[b-gswuvj3kpa] { color: var(--ink-muted); font-weight: 450; }
.form-grid[b-gswuvj3kpa] { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.form-control[b-gswuvj3kpa], .form-select[b-gswuvj3kpa] { min-height: 42px; }
textarea.form-control[b-gswuvj3kpa] { min-height: 82px; resize: vertical; }
.weight-input[b-gswuvj3kpa] { position: relative; }
.weight-input .form-control[b-gswuvj3kpa] { padding-left: 3rem; direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }
.weight-input span[b-gswuvj3kpa] { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--ink-muted); font-size: .68rem; }
.submit-button[b-gswuvj3kpa] { width: 100%; border: 0; }
.submit-button:disabled[b-gswuvj3kpa] { opacity: .65; cursor: wait; }
.form-note[b-gswuvj3kpa] { color: var(--ink-muted); text-align: center; font-size: .61rem; margin: .55rem 0 0; }

.movement-panel[b-gswuvj3kpa] { margin-top: 0; }

.inventory-alert[b-gswuvj3kpa] { display: flex; align-items: center; padding: .72rem .9rem; border-radius: 11px; margin-bottom: 1rem; font-size: .76rem; }
.inventory-alert.success[b-gswuvj3kpa] { background: #e9f5ed; color: #286243; border: 1px solid #cfe8d7; }
.inventory-alert.error[b-gswuvj3kpa], .error-state[b-gswuvj3kpa] { background: #fff0f0; color: #922b33; border: 1px solid #f0cfd1; }
.inventory-state[b-gswuvj3kpa] { min-height: 60vh; display: grid; place-items: center; border-radius: 16px; background: #fff; color: var(--ink-muted); }
[b-gswuvj3kpa] .validation-message { display: block; margin-top: .25rem; font-size: .65rem; }

@media (max-width: 760px) {
    .inventory-heading[b-gswuvj3kpa] { align-items: stretch; flex-direction: column; }
    .total-weight[b-gswuvj3kpa] { min-width: 0; }
    .inventory-panel > header[b-gswuvj3kpa] { align-items: stretch; flex-direction: column; }
    .inventory-panel .inline-actions[b-gswuvj3kpa] { width: 100%; }
    .inventory-panel .search-box[b-gswuvj3kpa] { width: 100%; }
    .form-grid[b-gswuvj3kpa] { grid-template-columns: 1fr; gap: 0; }
}
/* _content/AlSayegh.Platform.Web/Components/Pages/Inventory/InventoryPhotoPicker.razor.rz.scp.css */
.photo-picker[b-38jjm72v8l] { border: 1px dashed #b9cac2; border-radius: 12px; background: #f8fbf9; padding: 1rem; }
.photo-heading[b-38jjm72v8l] { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .8rem; }
.photo-heading strong[b-38jjm72v8l] { color: #234c3c; font-size: .9rem; }
.photo-heading small[b-38jjm72v8l], .photo-help[b-38jjm72v8l] { color: #687c70; font-size: .78rem; }
.photo-sources[b-38jjm72v8l] { display: flex; flex-wrap: wrap; gap: .65rem; }
.photo-source[b-38jjm72v8l] { display: inline-flex; position: relative; min-height: 46px; align-items: center; justify-content: center; gap: .6rem; border: 1px solid #bdcec3; border-radius: 9px; background: #fff; padding: .65rem 1rem; color: #194e3a; cursor: pointer; font-size: .9rem; font-weight: 800; }
.photo-source:hover:not(:disabled):not(.is-disabled)[b-38jjm72v8l] { background: #edf5ef; border-color: #6a927b; }
.photo-source:focus-visible[b-38jjm72v8l], .file-source:focus-within[b-38jjm72v8l] { outline: 2px solid #087158; outline-offset: 2px; }
.photo-source:disabled[b-38jjm72v8l], .photo-source.is-disabled[b-38jjm72v8l] { cursor: not-allowed; opacity: .5; }
.photo-source[b-38jjm72v8l]  .photo-file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.photo-source[b-38jjm72v8l]  .photo-file-input:disabled { cursor: not-allowed; }
.photo-help[b-38jjm72v8l] { display: block; margin-top: .65rem; }
.photo-preview[b-38jjm72v8l] { margin: .9rem 0 0; overflow: hidden; border: 1px solid #d9e3dc; border-radius: 10px; background: #fff; }
.photo-preview img[b-38jjm72v8l] { display: block; width: 100%; height: 220px; object-fit: contain; background: #f0f3f0; }
.photo-preview figcaption[b-38jjm72v8l] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .4rem .8rem; }
.photo-preview figcaption span[b-38jjm72v8l] { min-width: 0; overflow-wrap: anywhere; color: #4e6e5a; font-size: .8rem; }
.photo-preview button[b-38jjm72v8l] { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; border: 0; border-radius: 6px; background: transparent; padding: .4rem .6rem; color: #9b3642; cursor: pointer; font-size: .8rem; font-weight: 750; }
.photo-preview button:focus-visible[b-38jjm72v8l] { outline: 2px solid #087158; }
.photo-error[b-38jjm72v8l] { margin: .75rem 0 0; border-radius: 8px; background: #fff0f1; padding: .7rem .8rem; color: #a12d3e; font-size: .85rem; line-height: 1.7; }
.photo-status[b-38jjm72v8l] { margin-top: .65rem; color: #3f6d52; font-size: .85rem; }
.photo-camera-dialog[b-38jjm72v8l] { width: min(680px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; margin: auto; border: 1px solid #d5e0d8; border-radius: 16px; background: #fff; padding: 0; color: #173d31; box-shadow: 0 24px 80px #0f231940; }
.photo-camera-dialog[b-38jjm72v8l]::backdrop { background: #0f1e177a; backdrop-filter: blur(3px); }
.camera-card[b-38jjm72v8l] { padding: 1.25rem; }
.camera-card header[b-38jjm72v8l] { display: flex; align-items: start; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.camera-card h2[b-38jjm72v8l] { margin: 0; font-size: 1.2rem; font-weight: 850; }
.camera-card header p[b-38jjm72v8l] { margin: .35rem 0 0; color: #65796b; font-size: .85rem; }
.camera-close[b-38jjm72v8l] { display: grid; flex: 0 0 44px; height: 44px; place-items: center; border: 0; border-radius: 9px; background: #edf3ee; color: #3f6150; cursor: pointer; }
.camera-viewport[b-38jjm72v8l] { position: relative; overflow: hidden; aspect-ratio: 4/3; border-radius: 10px; background: #17261f; }
.camera-viewport video[b-38jjm72v8l] { display: block; width: 100%; height: 100%; object-fit: contain; }
.camera-status[b-38jjm72v8l] { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; color: #fff; text-align: center; font-size: .9rem; }
.camera-card footer[b-38jjm72v8l] { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.camera-card footer button[b-38jjm72v8l] { min-height: 44px; min-width: 120px; font-size: .9rem; }
.camera-card button:focus-visible[b-38jjm72v8l] { outline: 2px solid #087158; outline-offset: 2px; }
.camera-card button:disabled[b-38jjm72v8l] { cursor: not-allowed; opacity: .5; }
@media (max-width: 520px) { .photo-source[b-38jjm72v8l] { flex: 1 1 100%; } .camera-card[b-38jjm72v8l] { padding: 1rem; } .camera-card footer button[b-38jjm72v8l] { flex: 1; } }
/* _content/AlSayegh.Platform.Web/Components/Pages/Inventory/InventoryStocktake.razor.rz.scp.css */
.inventory-heading[b-hvvidx02wk] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.35rem;
}

.inventory-title[b-hvvidx02wk] { display: flex; align-items: center; gap: .9rem; }
.page-icon[b-hvvidx02wk] { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--green); box-shadow: 0 10px 24px rgba(15,73,56,.16); font-size: 1.05rem; }
.inventory-heading h1[b-hvvidx02wk] { font: 780 clamp(1.8rem, 3vw, 2.45rem)/1.2 var(--font-display); margin: .12rem 0 .16rem; }
.inventory-heading p[b-hvvidx02wk] { color: var(--ink-muted); font-size: .82rem; margin: 0; }

.total-weight[b-hvvidx02wk] { min-width: 230px; display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.total-icon[b-hvvidx02wk] { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 11px; color: var(--gold-dark); background: var(--gold-pale); font-size: .9rem; }
.total-weight small[b-hvvidx02wk] { display: block; color: var(--ink-muted); font-size: .65rem; font-weight: 650; }
.total-weight strong[b-hvvidx02wk] { display: inline-block; direction: ltr; font: 780 1.55rem/1.25 var(--font-display); color: var(--ink); margin: .05rem 0 0 .25rem; font-variant-numeric: tabular-nums; }
.total-weight div > span[b-hvvidx02wk] { color: var(--ink-muted); font-size: .68rem; }

.inventory-panel[b-hvvidx02wk] { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; }
.inventory-panel > header[b-hvvidx02wk] { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.05rem; border-bottom: 1px solid var(--line); background: #fff; }
.panel-heading-copy[b-hvvidx02wk] { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.panel-icon[b-hvvidx02wk] { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 10px; color: var(--gold-dark); background: var(--gold-pale); font-size: .78rem; }
.inventory-panel h2[b-hvvidx02wk] { font: 750 1.02rem/1.35 var(--font-display); margin: .06rem 0 0; }
.inventory-panel .inline-actions[b-hvvidx02wk] { display: flex; align-items: center; gap: .5rem; }
.inventory-panel .search-box[b-hvvidx02wk] { width: 210px; max-width: 100%; min-height: 40px; }
.row-count[b-hvvidx02wk] { white-space: nowrap; padding: .3rem .58rem; border-radius: 99px; background: #f0f3f0; color: var(--ink-muted); font-size: .65rem; font-weight: 700; }

.empty-balance[b-hvvidx02wk] { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.empty-balance > span[b-hvvidx02wk] { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--gold-dark); background: var(--gold-pale); font-size: 1.15rem; }
.empty-balance h3[b-hvvidx02wk] { font: 750 1.08rem var(--font-display); margin: .9rem 0 .25rem; }
.empty-balance p[b-hvvidx02wk] { color: var(--ink-muted); font-size: .76rem; max-width: 340px; margin: 0; }

.balance-table-wrap[b-hvvidx02wk] { overflow-x: auto; }
table[b-hvvidx02wk] { width: 100%; border-collapse: collapse; min-width: 520px; }
th[b-hvvidx02wk], td[b-hvvidx02wk] { padding: .82rem 1.05rem; text-align: right; border-bottom: 1px solid #edf0ed; }
th[b-hvvidx02wk] { color: var(--ink-muted); background: #fafbfa; font-size: .68rem; font-weight: 700; }
td[b-hvvidx02wk] { font-size: .8rem; }
tbody tr[b-hvvidx02wk] { transition: background .16s ease; }
tbody tr:hover[b-hvvidx02wk] { background: #fafbf9; }
tbody tr:last-child td[b-hvvidx02wk] { border-bottom: 0; }
.karat-badge[b-hvvidx02wk] { min-width: 34px; display: inline-grid; place-items: center; padding: .22rem .4rem; border: 1px solid #eddfbc; border-radius: 7px; background: var(--gold-pale); color: var(--gold-dark); font-weight: 750; }
.weight-cell[b-hvvidx02wk] { direction: ltr; text-align: right; font-weight: 750; color: var(--green); font-variant-numeric: tabular-nums; }

.opening-panel[b-hvvidx02wk]  form { padding: 1.1rem; }
.field-group[b-hvvidx02wk] { margin-bottom: .85rem; }
.field-group > label[b-hvvidx02wk] { display: flex; align-items: center; justify-content: space-between; margin-bottom: .32rem; color: var(--ink-soft); font-size: .71rem; font-weight: 700; }
.field-group label small[b-hvvidx02wk] { color: var(--ink-muted); font-weight: 450; }
.form-grid[b-hvvidx02wk] { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.form-control[b-hvvidx02wk], .form-select[b-hvvidx02wk] { min-height: 42px; }
textarea.form-control[b-hvvidx02wk] { min-height: 82px; resize: vertical; }
.weight-input[b-hvvidx02wk] { position: relative; }
.weight-input .form-control[b-hvvidx02wk] { padding-left: 3rem; direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }
.weight-input span[b-hvvidx02wk] { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--ink-muted); font-size: .68rem; }
.submit-button[b-hvvidx02wk] { width: 100%; border: 0; }
.submit-button:disabled[b-hvvidx02wk] { opacity: .65; cursor: wait; }
.form-note[b-hvvidx02wk] { color: var(--ink-muted); text-align: center; font-size: .61rem; margin: .55rem 0 0; }

.movement-panel[b-hvvidx02wk] { margin-top: 0; }

.inventory-alert[b-hvvidx02wk] { display: flex; align-items: center; padding: .72rem .9rem; border-radius: 11px; margin-bottom: 1rem; font-size: .76rem; }
.inventory-alert.success[b-hvvidx02wk] { background: #e9f5ed; color: #286243; border: 1px solid #cfe8d7; }
.inventory-alert.error[b-hvvidx02wk], .error-state[b-hvvidx02wk] { background: #fff0f0; color: #922b33; border: 1px solid #f0cfd1; }
.inventory-state[b-hvvidx02wk] { min-height: 60vh; display: grid; place-items: center; border-radius: 16px; background: #fff; color: var(--ink-muted); }
[b-hvvidx02wk] .validation-message { display: block; margin-top: .25rem; font-size: .65rem; }

@media (max-width: 760px) {
    .inventory-heading[b-hvvidx02wk] { align-items: stretch; flex-direction: column; }
    .total-weight[b-hvvidx02wk] { min-width: 0; }
    .inventory-panel > header[b-hvvidx02wk] { align-items: stretch; flex-direction: column; }
    .inventory-panel .inline-actions[b-hvvidx02wk] { width: 100%; }
    .inventory-panel .search-box[b-hvvidx02wk] { width: 100%; }
    .form-grid[b-hvvidx02wk] { grid-template-columns: 1fr; gap: 0; }
}
.stocktake-modes[b-hvvidx02wk] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.stocktake-modes button[b-hvvidx02wk] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #d5dfdc;
    border-radius: 14px;
    background: #fff;
    color: #20483f;
    text-align: right;
}
.stocktake-modes button.active[b-hvvidx02wk] { border-color: #08705c; background: #edf9f5; box-shadow: inset 0 0 0 1px #08705c; }
.stocktake-modes i[b-hvvidx02wk] { font-size: 1.3rem; color: #b77b13; }
.stocktake-modes span[b-hvvidx02wk] { display: grid; gap: 2px; }
.stocktake-modes small[b-hvvidx02wk] { color: #6b7f7a; }

.stocktake-scanner[b-hvvidx02wk] {
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(230px, 2fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #b9d8cf;
    border-radius: 14px;
    background: #f2faf7;
}
.stocktake-scanner > div:first-child[b-hvvidx02wk] { display: grid; }
.stocktake-scanner small[b-hvvidx02wk] { color: #647a74; }
.scan-total[b-hvvidx02wk] { font-weight: 800; color: #075b4b; white-space: nowrap; }
.scanned-list[b-hvvidx02wk] { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; }
.scanned-list span[b-hvvidx02wk] { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 8px; background: #fff; border: 1px solid #ccddd8; }
.scanned-list button[b-hvvidx02wk] { border: 0; background: transparent; color: #ba3535; }

@media (max-width: 760px) {
    .stocktake-modes[b-hvvidx02wk] { grid-template-columns: 1fr; }
    .stocktake-scanner[b-hvvidx02wk] { grid-template-columns: 1fr; }
    .scanned-list[b-hvvidx02wk] { grid-column: 1; }
}
/* _content/AlSayegh.Platform.Web/Components/Pages/Inventory/InventoryTabs.razor.rz.scp.css */
.inventory-tabs[b-zk7o63j3ms] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .7rem;
    padding: .7rem;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(15, 73, 56, .045), rgba(190, 145, 51, .055));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.inventory-tabs[b-zk7o63j3ms]  .inv-tab {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .7rem;
    min-height: 64px;
    padding: .65rem .75rem;
    border-radius: 14px;
    font-size: .86rem;
    font-weight: 800;
    color: var(--ink-muted);
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
    border: 1px solid rgba(15, 73, 56, .1);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 3px 10px rgba(15, 35, 28, .045);
    position: relative;
}

.inventory-tabs[b-zk7o63j3ms]  .inv-tab:hover {
    transform: translateY(-2px);
    background: #fff;
    color: var(--green);
    border-color: rgba(15, 73, 56, .25);
    box-shadow: 0 8px 20px rgba(15, 73, 56, .1);
}

.inventory-tabs[b-zk7o63j3ms]  .inv-tab.active {
    background: linear-gradient(135deg, var(--green), #176c52);
    color: #fff;
    border-color: var(--green);
    box-shadow: 0 9px 22px rgba(15, 73, 56, .22);
}

.inv-tab-icon[b-zk7o63j3ms] {
    display: inline-grid;
    place-items: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: var(--green);
    background: rgba(15, 73, 56, .08);
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.inv-tab-icon i[b-zk7o63j3ms] {
    font-size: .9rem;
}

.inventory-tabs[b-zk7o63j3ms]  .inv-tab:hover .inv-tab-icon {
    transform: scale(1.04);
    background: rgba(15, 73, 56, .12);
}

.inventory-tabs[b-zk7o63j3ms]  .inv-tab.active .inv-tab-icon {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}

@media (max-width: 1050px) {
    .inventory-tabs[b-zk7o63j3ms] {
        display: flex;
        gap: .6rem;
        padding: .6rem;
        overflow-x: auto;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }

    .inventory-tabs[b-zk7o63j3ms]  .inv-tab {
        flex: 0 0 auto;
        min-width: 156px;
        scroll-snap-align: start;
    }
}

@media (max-width: 480px) {
    .inventory-tabs[b-zk7o63j3ms] {
        border-radius: 16px;
    }

    .inventory-tabs[b-zk7o63j3ms]  .inv-tab {
        min-width: 142px;
        min-height: 58px;
        padding: .55rem .65rem;
        font-size: .8rem;
    }

    .inv-tab-icon[b-zk7o63j3ms] {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }
}
/* _content/AlSayegh.Platform.Web/Components/Pages/Inventory/InventoryTransfer.razor.rz.scp.css */
.inventory-heading[b-96uk34v9fs] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.35rem;
}

.inventory-title[b-96uk34v9fs] { display: flex; align-items: center; gap: .9rem; }
.page-icon[b-96uk34v9fs] { width: 52px; height: 52px; flex: 0 0 52px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--green); box-shadow: 0 10px 24px rgba(15,73,56,.16); font-size: 1.05rem; }
.inventory-heading h1[b-96uk34v9fs] { font: 780 clamp(1.8rem, 3vw, 2.45rem)/1.2 var(--font-display); margin: .12rem 0 .16rem; }
.inventory-heading p[b-96uk34v9fs] { color: var(--ink-muted); font-size: .82rem; margin: 0; }

.total-weight[b-96uk34v9fs] { min-width: 230px; display: flex; align-items: center; gap: .75rem; padding: .75rem .9rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.total-icon[b-96uk34v9fs] { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 11px; color: var(--gold-dark); background: var(--gold-pale); font-size: .9rem; }
.total-weight small[b-96uk34v9fs] { display: block; color: var(--ink-muted); font-size: .65rem; font-weight: 650; }
.total-weight strong[b-96uk34v9fs] { display: inline-block; direction: ltr; font: 780 1.55rem/1.25 var(--font-display); color: var(--ink); margin: .05rem 0 0 .25rem; font-variant-numeric: tabular-nums; }
.total-weight div > span[b-96uk34v9fs] { color: var(--ink-muted); font-size: .68rem; }

.inventory-panel[b-96uk34v9fs] { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; }
.inventory-panel > header[b-96uk34v9fs] { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.05rem; border-bottom: 1px solid var(--line); background: #fff; }
.panel-heading-copy[b-96uk34v9fs] { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.panel-icon[b-96uk34v9fs] { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; border-radius: 10px; color: var(--gold-dark); background: var(--gold-pale); font-size: .78rem; }
.inventory-panel h2[b-96uk34v9fs] { font: 750 1.02rem/1.35 var(--font-display); margin: .06rem 0 0; }
.inventory-panel .inline-actions[b-96uk34v9fs] { display: flex; align-items: center; gap: .5rem; }
.inventory-panel .search-box[b-96uk34v9fs] { width: 210px; max-width: 100%; min-height: 40px; }
.row-count[b-96uk34v9fs] { white-space: nowrap; padding: .3rem .58rem; border-radius: 99px; background: #f0f3f0; color: var(--ink-muted); font-size: .65rem; font-weight: 700; }

.empty-balance[b-96uk34v9fs] { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; }
.empty-balance > span[b-96uk34v9fs] { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--gold-dark); background: var(--gold-pale); font-size: 1.15rem; }
.empty-balance h3[b-96uk34v9fs] { font: 750 1.08rem var(--font-display); margin: .9rem 0 .25rem; }
.empty-balance p[b-96uk34v9fs] { color: var(--ink-muted); font-size: .76rem; max-width: 340px; margin: 0; }

.balance-table-wrap[b-96uk34v9fs] { overflow-x: auto; }
table[b-96uk34v9fs] { width: 100%; border-collapse: collapse; min-width: 520px; }
th[b-96uk34v9fs], td[b-96uk34v9fs] { padding: .82rem 1.05rem; text-align: right; border-bottom: 1px solid #edf0ed; }
th[b-96uk34v9fs] { color: var(--ink-muted); background: #fafbfa; font-size: .68rem; font-weight: 700; }
td[b-96uk34v9fs] { font-size: .8rem; }
tbody tr[b-96uk34v9fs] { transition: background .16s ease; }
tbody tr:hover[b-96uk34v9fs] { background: #fafbf9; }
tbody tr:last-child td[b-96uk34v9fs] { border-bottom: 0; }
.karat-badge[b-96uk34v9fs] { min-width: 34px; display: inline-grid; place-items: center; padding: .22rem .4rem; border: 1px solid #eddfbc; border-radius: 7px; background: var(--gold-pale); color: var(--gold-dark); font-weight: 750; }
.weight-cell[b-96uk34v9fs] { direction: ltr; text-align: right; font-weight: 750; color: var(--green); font-variant-numeric: tabular-nums; }

.opening-panel[b-96uk34v9fs]  form { padding: 1.1rem; }
.field-group[b-96uk34v9fs] { margin-bottom: .85rem; }
.field-group > label[b-96uk34v9fs] { display: flex; align-items: center; justify-content: space-between; margin-bottom: .32rem; color: var(--ink-soft); font-size: .71rem; font-weight: 700; }
.field-group label small[b-96uk34v9fs] { color: var(--ink-muted); font-weight: 450; }
.form-grid[b-96uk34v9fs] { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.form-control[b-96uk34v9fs], .form-select[b-96uk34v9fs] { min-height: 42px; }
textarea.form-control[b-96uk34v9fs] { min-height: 82px; resize: vertical; }
.weight-input[b-96uk34v9fs] { position: relative; }
.weight-input .form-control[b-96uk34v9fs] { padding-left: 3rem; direction: ltr; text-align: right; font-variant-numeric: tabular-nums; }
.weight-input span[b-96uk34v9fs] { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--ink-muted); font-size: .68rem; }
.submit-button[b-96uk34v9fs] { width: 100%; border: 0; }
.submit-button:disabled[b-96uk34v9fs] { opacity: .65; cursor: wait; }
.form-note[b-96uk34v9fs] { color: var(--ink-muted); text-align: center; font-size: .61rem; margin: .55rem 0 0; }

.movement-panel[b-96uk34v9fs] { margin-top: 0; }

.inventory-alert[b-96uk34v9fs] { display: flex; align-items: center; padding: .72rem .9rem; border-radius: 11px; margin-bottom: 1rem; font-size: .76rem; }
.inventory-alert.success[b-96uk34v9fs] { background: #e9f5ed; color: #286243; border: 1px solid #cfe8d7; }
.inventory-alert.error[b-96uk34v9fs], .error-state[b-96uk34v9fs] { background: #fff0f0; color: #922b33; border: 1px solid #f0cfd1; }
.inventory-state[b-96uk34v9fs] { min-height: 60vh; display: grid; place-items: center; border-radius: 16px; background: #fff; color: var(--ink-muted); }
[b-96uk34v9fs] .validation-message { display: block; margin-top: .25rem; font-size: .65rem; }

@media (max-width: 760px) {
    .inventory-heading[b-96uk34v9fs] { align-items: stretch; flex-direction: column; }
    .total-weight[b-96uk34v9fs] { min-width: 0; }
    .inventory-panel > header[b-96uk34v9fs] { align-items: stretch; flex-direction: column; }
    .inventory-panel .inline-actions[b-96uk34v9fs] { width: 100%; }
    .inventory-panel .search-box[b-96uk34v9fs] { width: 100%; }
    .form-grid[b-96uk34v9fs] { grid-template-columns: 1fr; gap: 0; }
}
/* _content/AlSayegh.Platform.Web/Components/Pages/PrintSettingsHub.razor.rz.scp.css */
.print-settings-options[b-i6cov52o3j] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.print-settings-options > a[b-i6cov52o3j] { display: flex; align-items: center; gap: 1rem; min-width: 0; padding: 1.75rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: var(--shadow-soft); transition: border-color .15s, background .15s; }
.print-settings-options > a:hover[b-i6cov52o3j] { border-color: var(--gold); background: #fffdf7; }
.print-settings-options > a:focus-visible[b-i6cov52o3j] { outline: 3px solid var(--gold); outline-offset: 3px; }
.print-option-icon[b-i6cov52o3j] { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 14px; background: var(--gold-pale); color: var(--gold-dark); font-size: 1.5rem; }
.print-settings-options h2[b-i6cov52o3j] { font-size: 1.15rem; font-weight: 800; margin: 0 0 .65rem; line-height: 1.7; }
.print-settings-options p[b-i6cov52o3j] { font-size: .9rem; color: var(--ink-muted); margin: 0; line-height: 1.8; }
.print-settings-options small[b-i6cov52o3j] { display: block; font-size: .78rem; color: var(--gold-dark); margin-top: .7rem; }
.print-settings-options > a > i[b-i6cov52o3j] { margin-inline-start: auto; color: var(--gold-dark); }
@media (max-width: 1000px) { .print-settings-options[b-i6cov52o3j] { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .print-settings-options > a[b-i6cov52o3j] { padding: 1.1rem; gap: .8rem; } .print-option-icon[b-i6cov52o3j] { width: 44px; height: 44px; flex-basis: 44px; font-size: 1.2rem; } .print-settings-options h2[b-i6cov52o3j] { font-size: 1rem; } .print-settings-options p[b-i6cov52o3j] { font-size: .8rem; } }
/* _content/AlSayegh.Platform.Web/Components/Pages/Repairs.razor.rz.scp.css */
.repairs-stats[b-g3awcj9aaq] {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .85rem;
    margin-bottom: 1rem;
}

.repairs-stats article[b-g3awcj9aaq] {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}

.repairs-stats span[b-g3awcj9aaq],
.repairs-stats small[b-g3awcj9aaq] {
    display: block;
    color: var(--ink-muted);
    font-size: .72rem;
    font-weight: 700;
}

.repairs-stats strong[b-g3awcj9aaq] {
    display: block;
    margin: .25rem 0;
    color: var(--green-deep);
    font-size: 1.65rem;
}

.repairs-stats .repair-stat-alert[b-g3awcj9aaq] {
    border-color: #e8c79f;
    background: #fff9f1;
}

.repairs-stats .repair-stat-alert strong[b-g3awcj9aaq],
.repair-overdue-text[b-g3awcj9aaq] {
    color: #a94a27;
}

.repairs-filter-card[b-g3awcj9aaq] {
    padding: .8rem;
}

.accounts-filters[b-g3awcj9aaq] {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 220px;
    align-items: end;
    gap: .8rem;
}

.accounts-filters label[b-g3awcj9aaq] {
    margin-bottom: .35rem;
}

.accounts-search[b-g3awcj9aaq] {
    position: relative;
}

.accounts-search i[b-g3awcj9aaq] {
    position: absolute;
    right: .9rem;
    top: 50%;
    color: var(--ink-muted);
    transform: translateY(-50%);
}

.accounts-search input[b-g3awcj9aaq] {
    padding-right: 2.5rem;
}

.repairs-list-card[b-g3awcj9aaq] {
    margin-top: 1rem;
}

.repairs-table td[b-g3awcj9aaq] {
    vertical-align: top;
}

.repairs-table .repair-row-overdue td[b-g3awcj9aaq] {
    background: #fffaf4;
}

.repair-balance[b-g3awcj9aaq] {
    color: var(--green-deep);
    font-weight: 800;
}

.status-select:disabled[b-g3awcj9aaq] {
    cursor: not-allowed;
    opacity: .75;
}

@media (max-width: 900px) {
    .repairs-stats[b-g3awcj9aaq] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .accounts-filters[b-g3awcj9aaq] { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .repairs-stats[b-g3awcj9aaq] { grid-template-columns: 1fr; }
}
/* _content/AlSayegh.Platform.Web/Components/Pages/ReportCenter.razor.rz.scp.css */
.report-center[b-twm3kpgzw1] { display: grid; gap: 1.25rem; min-width: 0; color: #173d32; }
.reports-heading[b-twm3kpgzw1] { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: .3rem .65rem; }
.reports-heading h1[b-twm3kpgzw1] { margin: .3rem 0; font-size: clamp(1.8rem,2.3vw,2.6rem); font-weight: 900; }
.reports-heading p[b-twm3kpgzw1] { margin: 0; color: #77867e; }
.reports-header-actions[b-twm3kpgzw1] { display: flex; gap: .6rem; flex-wrap: wrap; }
.reports-header-actions a[b-twm3kpgzw1] { min-height: 46px; }
.report-tabs[b-twm3kpgzw1] { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: .4rem; border: 1px solid #dce5df; border-radius: 15px; background: #eaf0ec; gap: .4rem; }
.report-tabs button[b-twm3kpgzw1] { display: flex; align-items: center; justify-content: center; gap: 1rem; border: 0; padding: 1rem; border-radius: 11px; background: transparent; color: #60776b; text-align: right; cursor: pointer; }
.report-tabs button > i[b-twm3kpgzw1] { font-size: 1.5rem; }
.report-tabs button span[b-twm3kpgzw1] { font-size: 1.12rem; font-weight: 850; }
.report-tabs small[b-twm3kpgzw1] { display: block; margin-top: .2rem; font-size: .77rem; font-weight: 500; }
.report-tabs button.is-active[b-twm3kpgzw1] { color: #fff; background: #07543f; box-shadow: 0 5px 12px #07543f22; }
.report-tabs button.is-active > i[b-twm3kpgzw1] { color: #e2c47e; }
.report-filters[b-twm3kpgzw1],.report-results-summary[b-twm3kpgzw1],.report-movement-summary[b-twm3kpgzw1],.report-lines[b-twm3kpgzw1],.report-party-picker[b-twm3kpgzw1] { min-width: 0; border: 1px solid #dce5df; border-radius: 13px; background: #fff; box-shadow: 0 5px 17px #143f2c05; overflow: hidden; }
.report-center section > header[b-twm3kpgzw1] { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; border-bottom: 1px solid #e4ebe6; }
.report-center h2[b-twm3kpgzw1] { margin: .2rem 0 0; font-size: 1.13rem; font-weight: 850; }
.report-center section > header > span[b-twm3kpgzw1] { color: #7a8c80; font-size: .84rem; }
.report-filters h2 i[b-twm3kpgzw1] { margin-inline-end: .5rem; color: #b38b32; }
.report-presets[b-twm3kpgzw1] { display: flex; flex-wrap: wrap; gap: .4rem; }
.report-presets button[b-twm3kpgzw1] { padding: .4rem .7rem; border: 1px solid #dce5df; border-radius: 7px; color: #586e60; background: #f8faf8; font-size: .78rem; cursor: pointer; }
.report-filter-grid[b-twm3kpgzw1] { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1rem; padding: 1.2rem 1.3rem; }
.report-filter-grid > label[b-twm3kpgzw1] { display: grid; gap: .4rem; min-width: 0; font-size: .83rem; color: #516c5d; font-weight: 750; }
.report-filter-grid[b-twm3kpgzw1]  :is(input,select) { min-width: 0; width: 100%; min-height: 46px; font-size: .92rem; }
.report-filters > footer[b-twm3kpgzw1] { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem 1.3rem; border-top: 1px solid #e9eee9; background: #fbfcfa; }
.report-status-filters[b-twm3kpgzw1],.report-apply[b-twm3kpgzw1] { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.report-status-filters label[b-twm3kpgzw1] { display: flex; align-items: center; gap: .4rem; font-size: .83rem; }
.report-status-filters input[b-twm3kpgzw1] { accent-color: #07543f; }
.report-status-filters small[b-twm3kpgzw1] { color: #869088; font-size: .75rem; }
.report-apply button[b-twm3kpgzw1] { min-height: 44px; }
.report-applied-scope[b-twm3kpgzw1] { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .81rem; color: #718177; padding-inline: .3rem; }
.report-applied-scope span[b-twm3kpgzw1] { display: flex; align-items: center; gap: .5rem; line-height: 1.8; }
.report-applied-scope strong[b-twm3kpgzw1] { flex: none; color: #8f6b21; }
.report-results-summary > header[b-twm3kpgzw1] { background: #fffdf6; }
.report-balance-grid[b-twm3kpgzw1] { display: grid; grid-template-columns: repeat(auto-fit,minmax(265px,1fr)); gap: 1rem; padding: 1.2rem; }
.report-balance-card[b-twm3kpgzw1] { min-width: 0; border: 1px solid #dce6de; border-radius: 11px; overflow: hidden; }
.report-balance-card > header[b-twm3kpgzw1] { display: flex; align-items: center; gap: .65rem; padding: .85rem 1rem; background: #f8faf7; }
.report-asset-icon[b-twm3kpgzw1] { display: grid; place-items: center; width: 34px; height: 34px; color: #b38729; background: #f5edda; border-radius: 8px; }
.report-balance-card h3[b-twm3kpgzw1] { font-size: .97rem; margin: 0; }
.report-owed[b-twm3kpgzw1] { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: 1rem; }
.report-owed > div[b-twm3kpgzw1] { padding: .7rem .5rem; border-radius: 8px; min-width: 0; }
.report-for-us[b-twm3kpgzw1] { color: #067450; background: #eff9f3; }.report-for-them[b-twm3kpgzw1] { color: #bc3e4d; background: #fff2f1; }
.report-owed small[b-twm3kpgzw1] { display: block; margin-bottom: .2rem; font-size: .8rem; }
.report-owed strong[b-twm3kpgzw1] { font-size: clamp(.95rem,1.1vw,1.35rem); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.report-balance-card dl[b-twm3kpgzw1] { margin: 0; padding: .2rem 1rem .8rem; }
.report-balance-card dl > div[b-twm3kpgzw1] { display: flex; justify-content: space-between; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid #eff2ed; font-size: .79rem; }
.report-balance-card dt[b-twm3kpgzw1] { color: #7a8a80; }.report-balance-card dd[b-twm3kpgzw1] { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.report-balance-card dl > .report-closing[b-twm3kpgzw1] { padding-top: .7rem; border: 0; }
.report-closing dt[b-twm3kpgzw1] { color: #345b46; font-weight: 800; }
.report-scroll[b-twm3kpgzw1] { width: 100%; min-width: 0; overflow: auto; max-height: 70vh; }
.report-table[b-twm3kpgzw1] { width: 100%; border-collapse: separate; border-spacing: 0; text-align: right; font-size: .86rem; }
.report-table th[b-twm3kpgzw1] { position: sticky; top: 0; z-index: 2; padding: .85rem .7rem; border-block-end: 1px solid #cbdcd2; background: #f4f8f5; color: #244c39; font-size: .8rem; font-weight: 850; white-space: nowrap; }
.report-table td[b-twm3kpgzw1] { padding: .8rem .65rem; border-bottom: 1px solid #e5ece6; border-inline-end: 1px solid #edf1ed; vertical-align: middle; line-height: 1.6; }
.report-table tbody tr:nth-child(even) td[b-twm3kpgzw1] { background: #fbfcfa; }
.report-table tbody tr:hover td[b-twm3kpgzw1] { background: #f4f9f4; }
.report-table small[b-twm3kpgzw1] { display: block; color: #829186; font-size: .69rem; font-weight: 500; }
.report-cell-title[b-twm3kpgzw1] { font-weight: 800; }.report-positive[b-twm3kpgzw1] { color: #07805a; }.report-negative[b-twm3kpgzw1] { color: #b74c54; }
.numeric[b-twm3kpgzw1] { direction: ltr; text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 750; }
.movement-report-table[b-twm3kpgzw1] { min-width: 850px; }
.report-accounting-table[b-twm3kpgzw1] { min-width: 2120px; }
.report-accounting-table .report-column-groups th[b-twm3kpgzw1] { top: 0; height: 40px; padding: .6rem; background: #e8f0eb; }
.report-accounting-table .report-column-groups th:nth-child(2)[b-twm3kpgzw1] { background: #f5efdc; color: #8d6925; }
.report-accounting-table thead tr:nth-child(2) th[b-twm3kpgzw1] { top: 40px; }
.report-date[b-twm3kpgzw1] { min-width: 120px; white-space: nowrap; font-weight: 750; }.report-date small[b-twm3kpgzw1] { font-size: .78rem; }
.report-description[b-twm3kpgzw1] { min-width: 180px; max-width: 300px; }.report-description small[b-twm3kpgzw1] { line-height: 1.7; overflow-wrap: anywhere; }
.report-reference[b-twm3kpgzw1] { color: #886621; }.report-money[b-twm3kpgzw1] { min-width: 110px; font-size: .94rem; }
.report-direction[b-twm3kpgzw1] { display: inline-block; padding: .25rem .6rem; border-radius: 5px; font-weight: 850; white-space: nowrap; }
.report-direction-us[b-twm3kpgzw1] { color: #06724d; background: #e4f6ec; }.report-direction-them[b-twm3kpgzw1] { color: #bd4253; background: #ffeded; }
.report-open-list[b-twm3kpgzw1] { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .45rem .6rem; border: 1px solid #c7dacf; border-radius: 7px; color: #0a6549; text-decoration: none; background: #f1f8f3; white-space: nowrap; }
.report-open-list:hover[b-twm3kpgzw1] { background: #e4f3e9; }
.report-table .report-row-draft td[b-twm3kpgzw1] { background: #fffcef; }.report-table .report-row-reversed td[b-twm3kpgzw1] { color: #978f8e; background: #fcf2f1; }
.report-table .report-row-adjustment td[b-twm3kpgzw1] { background: #f1f5fb; }
.report-pagination[b-twm3kpgzw1] { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-top: 1px solid #dbe5dd; }
.report-pagination > span[b-twm3kpgzw1] { font-size: .78rem; color: #819083; }.report-pagination > div[b-twm3kpgzw1] { display: flex; align-items: center; gap: .7rem; }
.report-pagination button[b-twm3kpgzw1] { min-width: 38px; min-height: 38px; padding: .4rem; }.report-pagination strong[b-twm3kpgzw1] { direction: ltr; font-size: .85rem; }
.report-page-size[b-twm3kpgzw1] { display: flex; align-items: center; gap: .65rem; color: #7b8d80; font-size: .8rem; white-space: nowrap; }.report-page-size select[b-twm3kpgzw1] { width: 75px; min-height: 38px; }
.report-empty[b-twm3kpgzw1],.report-loading[b-twm3kpgzw1] { text-align: center; padding: 2.25rem 1rem; color: #859389; font-size: .9rem; }.report-loading i[b-twm3kpgzw1] { margin-inline-end: .6rem; }
.report-error[b-twm3kpgzw1] { display: flex; gap: .6rem; padding: .8rem 1rem; border: 1px solid #efc9c7; background: #fff2ef; color: #a53d3d; border-radius: 9px; }
.report-party-picker > header input[b-twm3kpgzw1] { max-width: 300px; }
.report-party-grid[b-twm3kpgzw1] { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: .8rem; padding: 1.2rem; }
.report-party-grid button[b-twm3kpgzw1] { display: flex; align-items: center; gap: .75rem; min-width: 0; padding: 1rem; border: 1px solid #dbe5de; background: #fff; color: #2c513b; border-radius: 10px; text-align: right; cursor: pointer; }
.report-party-grid button > i[b-twm3kpgzw1] { margin-inline-start: auto; color: #b08a32; }.report-party-grid button:hover[b-twm3kpgzw1] { background: #f6faf6; border-color: #a7c6b3; }
.report-party-grid small[b-twm3kpgzw1] { display: block; color: #8b9a8e; margin-top: .25rem; font-size: .75rem; }
.report-party-avatar[b-twm3kpgzw1] { display: grid; place-items: center; width: 38px; height: 38px; flex: none; background: #eff6f0; color: #74997e; border-radius: 10px; }
@media (max-width: 1250px) { .report-filter-grid[b-twm3kpgzw1] { grid-template-columns: repeat(3,minmax(0,1fr)); } .reports-heading[b-twm3kpgzw1] { align-items: flex-start; } }
@media (max-width: 760px) { .reports-heading[b-twm3kpgzw1] { flex-direction: column; }.reports-header-actions[b-twm3kpgzw1] { width: 100%; }.reports-header-actions a[b-twm3kpgzw1] { flex: 1; font-size: .8rem; }.report-tabs button[b-twm3kpgzw1] { gap: .5rem; padding: .85rem .4rem; flex-direction: column; text-align: center; }.report-tabs button span[b-twm3kpgzw1] { font-size: .85rem; }.report-tabs button small[b-twm3kpgzw1] { display: none; }.report-filter-grid[b-twm3kpgzw1] { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 1rem; gap: .8rem; }.report-center section > header[b-twm3kpgzw1] { padding: 1rem; flex-wrap: wrap; }.report-filters > footer[b-twm3kpgzw1] { padding: 1rem; }.report-apply[b-twm3kpgzw1] { width: 100%; }.report-apply button[b-twm3kpgzw1] { flex: 1; }.report-applied-scope[b-twm3kpgzw1] { align-items: flex-start; flex-direction: column; gap: .4rem; }.report-balance-grid[b-twm3kpgzw1] { padding: .8rem; }.report-owed strong[b-twm3kpgzw1] { font-size: 1.15rem; }.report-pagination[b-twm3kpgzw1] { align-items: flex-start; flex-direction: column; }.report-party-picker > header input[b-twm3kpgzw1] { max-width: none; }.report-scroll[b-twm3kpgzw1] { max-height: 65vh; } }
button:focus-visible[b-twm3kpgzw1],a:focus-visible[b-twm3kpgzw1] { outline: 3px solid #b48a32; outline-offset: 3px; }
.statement-mode[b-twm3kpgzw1] { grid-template-columns: minmax(0,1fr) auto; gap: .7rem; }
.statement-heading[b-twm3kpgzw1] { display: flex; align-items: center; gap: 1rem; grid-column: 1; grid-row: 1; min-width: 0; }
.statement-heading h1[b-twm3kpgzw1] { margin: 0; font-size: 1.4rem; font-weight: 900; }.statement-heading h1 i[b-twm3kpgzw1] { color: #b28a31; margin-inline-end: .4rem; font-size: 1.1rem; }
.statement-heading .report-export[b-twm3kpgzw1],.statement-heading .statement-print[b-twm3kpgzw1] { min-height: 36px; padding: .45rem .75rem; font-size: .82rem; }
.statement-mode > .report-tabs[b-twm3kpgzw1] { grid-column: 2; grid-row: 1; display: flex; gap: .15rem; padding: .2rem; border-radius: 7px; }
.statement-mode .report-tabs button[b-twm3kpgzw1] { padding: .5rem .65rem; gap: .4rem; border-radius: 5px; }.statement-mode .report-tabs button span[b-twm3kpgzw1] { font-size: .8rem; }.statement-mode .report-tabs button i[b-twm3kpgzw1] { font-size: .85rem; }.statement-mode .report-tabs small[b-twm3kpgzw1] { display: none; }
.statement-mode > :not(.statement-heading):not(.report-tabs)[b-twm3kpgzw1] { grid-column: 1 / -1; }
.statement-content[b-twm3kpgzw1] { min-width: 0; }
.statement-mode .report-filters[b-twm3kpgzw1] { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; border-radius: 7px; box-shadow: none; }
.statement-mode .report-filters > header[b-twm3kpgzw1] { display: none; }
.statement-mode .report-filter-grid[b-twm3kpgzw1] { grid-template-columns: minmax(180px,1.3fr) repeat(2,minmax(130px,1fr)); gap: .65rem; padding: .65rem .8rem; }
.statement-mode .report-filter-grid > label[b-twm3kpgzw1] { gap: .25rem; font-size: .73rem; }
.statement-mode .report-filter-grid > label[for="report-party"][b-twm3kpgzw1] { order: -1; }
.statement-mode .report-filter-grid[b-twm3kpgzw1]  :is(input,select) { min-height: 36px; height: 36px; font-size: .84rem; }
.statement-mode:not(.advanced-open) .statement-extra[b-twm3kpgzw1],.statement-mode:not(.advanced-open) .report-status-filters[b-twm3kpgzw1] { display: none; }
.statement-mode .report-filters > footer[b-twm3kpgzw1] { border: 0; padding: .65rem .8rem; background: #fff; }
.statement-mode .report-apply[b-twm3kpgzw1] { gap: .4rem; }.statement-mode .report-apply button[b-twm3kpgzw1] { min-height: 36px; padding: .45rem .65rem; font-size: .77rem; }
.statement-mode.advanced-open .report-filters[b-twm3kpgzw1] { grid-template-columns: 1fr; }.statement-mode.advanced-open .report-filter-grid[b-twm3kpgzw1] { grid-template-columns: repeat(5,minmax(0,1fr)); }.statement-mode.advanced-open .report-filters > footer[b-twm3kpgzw1] { border-top: 1px solid #e6ece7; }
@media(max-width:1250px) { .statement-mode .report-filters[b-twm3kpgzw1] { grid-template-columns: 1fr; }.statement-mode .report-filters > footer[b-twm3kpgzw1] { padding-top: 0; }.statement-mode.advanced-open .report-filter-grid[b-twm3kpgzw1] { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) { .statement-mode[b-twm3kpgzw1] { grid-template-columns: minmax(0,1fr); }.statement-heading[b-twm3kpgzw1] { grid-column: 1; grid-row: 1; justify-content: space-between; }.statement-mode > .report-tabs[b-twm3kpgzw1] { grid-column: 1; grid-row: 2; justify-content: space-between; }.statement-mode .report-tabs button[b-twm3kpgzw1] { flex: 1; flex-direction: row; }.statement-mode .report-filter-grid[b-twm3kpgzw1],.statement-mode.advanced-open .report-filter-grid[b-twm3kpgzw1] { grid-template-columns: repeat(2,minmax(0,1fr)); }.statement-mode .report-filter-grid label[for="report-party"][b-twm3kpgzw1] { grid-column: 1 / -1; }.statement-mode .report-apply[b-twm3kpgzw1] { width: auto; flex-wrap: wrap; }.statement-mode .report-apply button[b-twm3kpgzw1] { flex: none; }.statement-heading h1[b-twm3kpgzw1] { font-size: 1.2rem; } }
.existing-rates[b-twm3kpgzw1]{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:.7rem 1rem;background:#fffdf5;border:1px solid #e8dfc6;border-radius:7px}.existing-rates>span[b-twm3kpgzw1]{font-size:.85rem;font-weight:750;color:#93701d}.existing-rates label[b-twm3kpgzw1]{display:flex;align-items:center;gap:.6rem;font-size:.8rem;font-weight:650;color:#4c6356}.existing-rates[b-twm3kpgzw1]  input{width:150px;min-height:37px;text-align:center;direction:ltr;font-weight:750}.existing-rates small[b-twm3kpgzw1]{font-size:.73rem;color:#8b8f7c;margin-inline-start:auto}@media(max-width:760px){.existing-rates[b-twm3kpgzw1]{gap:.6rem}.existing-rates>span[b-twm3kpgzw1]{width:100%}.existing-rates label[b-twm3kpgzw1]{justify-content:space-between;width:100%}.existing-rates small[b-twm3kpgzw1]{margin:0}}
.rate-message[b-twm3kpgzw1]{width:100%;font-size:.78rem;color:#18724d}.existing-rates button[b-twm3kpgzw1]{min-height:37px;padding:.45rem .7rem;font-size:.8rem}

.report-navigation[b-twm3kpgzw1] { margin-bottom: 1rem; }
.report-navigation a[b-twm3kpgzw1] { display: inline-flex; align-items: center; gap: .6rem; }
/* _content/AlSayegh.Platform.Web/Components/Pages/ReportDirectory.razor.rz.scp.css */
.report-directory[b-k2gmt5xjta] { display: grid; gap: 1rem; max-width: 1100px; margin-inline: auto; }
.report-directory > a[b-k2gmt5xjta] { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-soft); transition: background .15s, border-color .15s; }
.report-directory > a:hover[b-k2gmt5xjta] { background: #fbf8ef; border-color: var(--gold); }
.report-directory > a:focus-visible[b-k2gmt5xjta] { outline: 3px solid var(--gold); outline-offset: 3px; }
.directory-icon[b-k2gmt5xjta] { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 58px; border-radius: 15px; background: #edf5ef; color: var(--green-deep); font-size: 1.45rem; }
.report-directory h2[b-k2gmt5xjta] { font-size: 1.25rem; margin: 0 0 .45rem; font-weight: 800; }
.report-directory p[b-k2gmt5xjta] { margin: 0; font-size: .9rem; line-height: 1.8; color: var(--ink-muted); }
.report-directory > a > i[b-k2gmt5xjta] { margin-inline-start: auto; color: var(--gold-dark); }
@media (max-width: 600px) { .report-directory > a[b-k2gmt5xjta] { padding: 1rem; gap: .85rem; } .directory-icon[b-k2gmt5xjta] { width: 44px; height: 44px; flex-basis: 44px; border-radius: 12px; font-size: 1.15rem; } .report-directory h2[b-k2gmt5xjta] { font-size: 1.08rem; } .report-directory p[b-k2gmt5xjta] { font-size: .8rem; } }
/* _content/AlSayegh.Platform.Web/Components/Pages/Reports.razor.rz.scp.css */
.report-filter[b-y80ba5rnz7] { display:flex; align-items:end; justify-content:space-between; gap:1.25rem; }
.filter-title h2[b-y80ba5rnz7] { margin:.15rem 0 0; }
.filter-controls[b-y80ba5rnz7] { display:grid; grid-template-columns:repeat(3,minmax(150px,1fr)) auto; align-items:end; gap:.75rem; flex:1; max-width:850px; }
.filter-controls label[b-y80ba5rnz7] { display:block; margin:0 0 .35rem; font-size:.82rem; font-weight:800; color:#53645e; }
.filter-controls button[b-y80ba5rnz7] { min-height:44px; }
.report-context[b-y80ba5rnz7] { display:flex; flex-wrap:wrap; gap:.65rem; margin:.85rem 0; }
.report-context span[b-y80ba5rnz7] { display:inline-flex; align-items:center; gap:.45rem; padding:.48rem .72rem; border:1px solid #dce7e1; border-radius:999px; background:#fff; color:#52635d; font-size:.82rem; font-weight:750; }
.report-context i[b-y80ba5rnz7] { color:#ad791c; }
.report-kpis[b-y80ba5rnz7] { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.9rem; margin-bottom:.9rem; }
.report-kpis article[b-y80ba5rnz7] { display:grid; grid-template-columns:auto 1fr; gap:.08rem .7rem; padding:1rem; border:1px solid #dce6e1; border-radius:18px; background:linear-gradient(145deg,#fff,#f7faf8); box-shadow:0 5px 18px rgba(20,55,43,.05); }
.report-kpis i[b-y80ba5rnz7] { grid-row:1/4; display:grid; place-items:center; width:42px; height:42px; border-radius:13px; color:#a87319; background:#fbf3df; }
.report-kpis span[b-y80ba5rnz7],.report-kpis small[b-y80ba5rnz7] { color:#6a7974; font-size:.78rem; }
.report-kpis strong[b-y80ba5rnz7] { font-size:1.55rem; color:#123c30; line-height:1.2; }
.report-columns[b-y80ba5rnz7] { display:grid; grid-template-columns:1.2fr .8fr; gap:.9rem; margin-bottom:.9rem; }
.report-panel[b-y80ba5rnz7] { margin-bottom:.9rem; }
.report-columns .report-panel[b-y80ba5rnz7] { margin-bottom:0; }
.report-panel>header[b-y80ba5rnz7] { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1rem; }
.report-panel h2[b-y80ba5rnz7] { margin:.12rem 0 0; font-size:1.15rem; }
.report-panel header a[b-y80ba5rnz7] { color:#0b6048; font-size:.82rem; font-weight:800; text-decoration:none; }
.panel-note[b-y80ba5rnz7] { color:#71807b; font-size:.78rem; }
.operation-grid[b-y80ba5rnz7] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.55rem; }
.operation-grid div[b-y80ba5rnz7] { padding:.75rem; border:1px solid #e2eae6; border-radius:13px; background:#fafcfb; }
.operation-grid span[b-y80ba5rnz7] { display:block; color:#53645e; font-size:.78rem; min-height:2.2em; }
.operation-grid strong[b-y80ba5rnz7] { font-size:1.35rem; color:#153e32; }
.operation-grid small[b-y80ba5rnz7] { margin-inline-start:.25rem; color:#8a9692; }
.currency-cards[b-y80ba5rnz7],.balance-list[b-y80ba5rnz7] { display:grid; gap:.6rem; }
.currency-cards>div[b-y80ba5rnz7],.balance-list>div[b-y80ba5rnz7] { display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:.75rem; padding:.78rem; border:1px solid #e1e9e5; border-radius:13px; background:#fafcfb; }
.currency-cards strong small[b-y80ba5rnz7],.balance-list strong small[b-y80ba5rnz7] { color:#8a9692; }
.currency-cards span[b-y80ba5rnz7],.balance-list span[b-y80ba5rnz7] { font-size:.82rem; font-weight:800; }
.positive[b-y80ba5rnz7] { color:#07835e!important; }
.negative[b-y80ba5rnz7] { color:#bd2850!important; }
.gold-report-grid[b-y80ba5rnz7] { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.75rem; }
.gold-report-card[b-y80ba5rnz7] { padding:1rem; border:1px solid #eadfbd; border-radius:16px; background:linear-gradient(145deg,#fffdf7,#fbf5e8); }
.gold-report-card>span[b-y80ba5rnz7] { color:#81672c; font-size:.8rem; font-weight:800; }
.gold-report-card>strong[b-y80ba5rnz7] { display:block; margin:.32rem 0 .65rem; color:#193f34; font-size:1.35rem; }
.gold-report-card strong small[b-y80ba5rnz7] { font-size:.72rem; }
.gold-report-card>div[b-y80ba5rnz7] { display:flex; justify-content:space-between; gap:.5rem; }
.gold-report-card em[b-y80ba5rnz7] { font-style:normal; font-size:.76rem; font-weight:800; }
.report-footnote[b-y80ba5rnz7] { margin:1rem 0 0; color:#697974; font-size:.78rem; }
.repair-statuses[b-y80ba5rnz7] { display:flex; flex-wrap:wrap; gap:.55rem; margin-bottom:.85rem; }
.repair-statuses div[b-y80ba5rnz7] { display:flex; align-items:center; gap:.55rem; padding:.5rem .7rem; border-radius:12px; background:#f2f6f4; color:#53645e; font-size:.8rem; }
.repair-statuses strong[b-y80ba5rnz7] { color:#123c30; }
.report-table[b-y80ba5rnz7] { min-width:760px; }
.report-empty[b-y80ba5rnz7] { padding:1.2rem; text-align:center; border:1px dashed #ccd8d2; border-radius:14px; color:#74827d; background:#fafcfb; }
.recent-list-grid[b-y80ba5rnz7] { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.65rem; }
.recent-list-grid a[b-y80ba5rnz7] { display:flex; flex-direction:column; gap:.3rem; padding:.8rem; border:1px solid #dce6e1; border-radius:14px; color:inherit; text-decoration:none; background:#fff; }
.recent-list-grid a:hover[b-y80ba5rnz7] { border-color:#b88629; box-shadow:0 5px 14px rgba(20,55,43,.07); }
.recent-list-grid span[b-y80ba5rnz7] { color:#a3721b; font-size:.75rem; font-weight:800; }
.recent-list-grid strong[b-y80ba5rnz7] { color:#153e32; }
.recent-list-grid small[b-y80ba5rnz7] { color:#788681; font-size:.72rem; line-height:1.6; }
@media (max-width:1100px) { .report-kpis[b-y80ba5rnz7],.gold-report-grid[b-y80ba5rnz7] { grid-template-columns:repeat(2,minmax(0,1fr)); } .recent-list-grid[b-y80ba5rnz7] { grid-template-columns:repeat(2,minmax(0,1fr)); } .filter-controls[b-y80ba5rnz7] { grid-template-columns:repeat(2,minmax(150px,1fr)); } }
@media (max-width:760px) { .report-filter[b-y80ba5rnz7],.report-panel>header[b-y80ba5rnz7] { align-items:stretch; flex-direction:column; } .filter-controls[b-y80ba5rnz7],.report-columns[b-y80ba5rnz7],.report-kpis[b-y80ba5rnz7],.gold-report-grid[b-y80ba5rnz7],.recent-list-grid[b-y80ba5rnz7] { grid-template-columns:1fr; max-width:none; width:100%; } .operation-grid[b-y80ba5rnz7] { grid-template-columns:repeat(2,minmax(0,1fr)); } .currency-cards>div[b-y80ba5rnz7],.balance-list>div[b-y80ba5rnz7] { grid-template-columns:1fr; gap:.35rem; } }
@media print { .report-context[b-y80ba5rnz7] { margin:.5rem 0; } .report-kpis[b-y80ba5rnz7],.gold-report-grid[b-y80ba5rnz7] { grid-template-columns:repeat(4,1fr); } .report-columns[b-y80ba5rnz7] { grid-template-columns:1fr 1fr; } .report-panel[b-y80ba5rnz7] { break-inside:avoid; } .recent-list-grid[b-y80ba5rnz7] { grid-template-columns:repeat(4,1fr); } }
/* _content/AlSayegh.Platform.Web/Components/Pages/Setup.razor.rz.scp.css */
.setup-loading[b-6dq500xnbw] { min-height:65vh; display:grid; place-content:center; justify-items:center; gap:.8rem; color:#3e5c50; font-weight:850; }
.setup-loading i[b-6dq500xnbw] { font-size:1.8rem; color:#b27b1d; }
.setup-error[b-6dq500xnbw] { min-height:55vh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.85rem; text-align:center; }
.setup-error i[b-6dq500xnbw] { font-size:2rem; color:#b42318; }.setup-error button[b-6dq500xnbw]{border:1px solid #cbd6d0;background:#fff;border-radius:10px;padding:.65rem 1rem;font-weight:800}
.setup-progress[b-6dq500xnbw] { display:grid; grid-template-columns:repeat(4,1fr); gap:.6rem; margin-bottom:1rem; }
.setup-step[b-6dq500xnbw] { min-width:0; display:flex; align-items:center; gap:.65rem; padding:.72rem .85rem; color:#7d8983; border:1px solid #dce2de; border-radius:13px; background:rgba(255,255,255,.66); }
.setup-step>span[b-6dq500xnbw] { flex:0 0 32px; width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:#edf0ee; font-size:.78rem; font-weight:900; }
.setup-step div[b-6dq500xnbw] { display:flex; flex-direction:column; min-width:0; }.setup-step strong[b-6dq500xnbw]{font-size:.8rem}.setup-step small[b-6dq500xnbw]{font-size:.66rem;white-space:nowrap}
.setup-step.active[b-6dq500xnbw] { color:#103d31; border-color:#c4d8ce; background:#fff; box-shadow:0 10px 30px rgba(22,51,41,.06); }.setup-step.active>span[b-6dq500xnbw]{color:#fff;background:#0b5947}
.setup-step.done[b-6dq500xnbw] { color:#4a6a5d; }.setup-step.done>span[b-6dq500xnbw]{color:#fff;background:#55a37f}
.setup-card[b-6dq500xnbw] { min-height:500px; overflow:hidden; border:1px solid #dbe2de; border-radius:22px; background:#fff; box-shadow:0 22px 70px rgba(22,44,36,.09); }
.setup-welcome[b-6dq500xnbw] { min-height:610px; display:grid; grid-template-columns:minmax(0,47%) minmax(0,53%); }
.setup-welcome-copy[b-6dq500xnbw] { align-self:center; padding:clamp(2rem,5vw,4.5rem); }.setup-kicker[b-6dq500xnbw]{display:block;margin-bottom:.6rem;color:#9b6814;font-size:.78rem;font-weight:900}
.setup-welcome h1[b-6dq500xnbw],.setup-section-heading h1[b-6dq500xnbw],.setup-finish h1[b-6dq500xnbw]{margin:0;color:#10271f;font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.28;font-weight:950;letter-spacing:-.03em}
.setup-welcome p[b-6dq500xnbw],.setup-section-heading p[b-6dq500xnbw],.setup-finish>p[b-6dq500xnbw]{max-width:620px;margin:1rem 0;color:#607068;font-size:.96rem;line-height:2;font-weight:600}
.setup-hero[b-6dq500xnbw] { min-height:610px; position:relative; overflow:hidden; background:#123d32; }.setup-hero img[b-6dq500xnbw]{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.setup-hero[b-6dq500xnbw]::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 65%,rgba(255,255,255,.14))}
.setup-promises[b-6dq500xnbw] { display:flex; gap:.7rem; margin:1.5rem 0 2rem; }.setup-promises span[b-6dq500xnbw]{min-width:110px;display:grid;grid-template-columns:26px 1fr;align-items:center;gap:.1rem .45rem}.setup-promises i[b-6dq500xnbw]{grid-row:1/3;width:26px;height:26px;display:grid;place-items:center;color:#9b6814;background:#fff6df;border-radius:8px}.setup-promises b[b-6dq500xnbw]{font-size:.78rem}.setup-promises small[b-6dq500xnbw]{font-size:.66rem;color:#78857f}
.setup-primary[b-6dq500xnbw],.setup-secondary[b-6dq500xnbw],.setup-back[b-6dq500xnbw] { min-height:46px; border-radius:11px; padding:.65rem 1.2rem; display:inline-flex; align-items:center; justify-content:center; gap:.6rem; font-size:.84rem; font-weight:900; cursor:pointer; transition:transform .16s ease,box-shadow .16s ease,background .16s ease; }
.setup-primary[b-6dq500xnbw] { color:#fff; border:1px solid #074b3c; background:linear-gradient(135deg,#0a5c49,#074336); box-shadow:0 10px 24px rgba(7,75,60,.2); }.setup-primary:hover[b-6dq500xnbw]{transform:translateY(-1px);box-shadow:0 14px 28px rgba(7,75,60,.25)}
.setup-secondary[b-6dq500xnbw] { color:#0a5947; border:1px solid #8eb7a7; background:#f7fbf9; }.setup-secondary:hover[b-6dq500xnbw]{background:#eef7f3}.setup-secondary:disabled[b-6dq500xnbw],.setup-primary:disabled[b-6dq500xnbw]{opacity:.58;cursor:wait}
.setup-back[b-6dq500xnbw] { color:#52645b; border:0; background:transparent; }.setup-back:hover[b-6dq500xnbw]{background:#f1f4f2}
.setup-section-heading[b-6dq500xnbw] { display:flex; align-items:center; gap:1rem; padding:2rem clamp(1.25rem,4vw,3.5rem) 1.35rem; border-bottom:1px solid #e5e9e7; }.setup-section-heading h1[b-6dq500xnbw]{font-size:clamp(1.65rem,3vw,2.35rem)}.setup-section-heading p[b-6dq500xnbw]{margin:.35rem 0 0;line-height:1.7}
.setup-icon[b-6dq500xnbw] { flex:0 0 58px;width:58px;height:58px;display:grid;place-items:center;border-radius:17px;color:#a36e14;background:#fff6df;border:1px solid #eeddb3;font-size:1.25rem}
.setup-card[b-6dq500xnbw]  form { padding:1.75rem clamp(1.5rem,4vw,4rem) 1.35rem; }
.setup-form-grid[b-6dq500xnbw] { display:grid; gap:1.05rem; }.party-grid[b-6dq500xnbw]{grid-template-columns:repeat(3,minmax(0,1fr))}.opening-grid[b-6dq500xnbw]{grid-template-columns:repeat(5,minmax(0,1fr))}.setup-field.wide[b-6dq500xnbw]{grid-column:span 2}
.setup-field[b-6dq500xnbw]{min-width:0}.setup-field label[b-6dq500xnbw]{display:flex;justify-content:space-between;gap:.5rem;margin-bottom:.5rem;color:#263a32;font-size:.86rem;font-weight:850}.setup-field label small[b-6dq500xnbw]{color:#85918b;font-size:.7rem}
.setup-field :deep(.form-control)[b-6dq500xnbw],.setup-field :deep(.form-select)[b-6dq500xnbw]{width:100%;min-height:54px;border:1px solid #cdd8d2;border-radius:11px;background:#fff;color:#14251e;padding:.75rem 1rem;font:inherit;font-size:.95rem;font-weight:750;box-shadow:0 1px 2px rgba(15,35,27,.02)}
.setup-field :deep(.form-control:focus)[b-6dq500xnbw],.setup-field :deep(.form-select:focus)[b-6dq500xnbw]{outline:3px solid rgba(20,121,91,.11);border-color:#2c8067}
.setup-unit-field[b-6dq500xnbw]{position:relative}.setup-unit-field span[b-6dq500xnbw]{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#77867f;font-size:.72rem;font-weight:850}.setup-unit-field :deep(input)[b-6dq500xnbw]{padding-left:2.8rem}
.party-opening-section[b-6dq500xnbw]{margin-top:1.35rem;padding:1.1rem;border:1px solid #d9e3de;border-radius:15px;background:#f8faf8}.party-opening-heading[b-6dq500xnbw]{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:.85rem}.party-opening-heading .setup-kicker[b-6dq500xnbw]{margin-bottom:.15rem}.party-opening-heading h2[b-6dq500xnbw]{margin:0;color:#17342a;font-size:1.05rem;font-weight:950}.party-opening-heading p[b-6dq500xnbw]{margin:0;color:#748179;font-size:.7rem;font-weight:700}
.party-opening-grid[b-6dq500xnbw]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.party-opening-row[b-6dq500xnbw]{display:grid;grid-template-columns:minmax(145px,1fr) minmax(120px,.8fr) minmax(130px,.75fr);align-items:center;gap:.65rem;padding:.65rem;border:1px solid #dde5e1;border-radius:11px;background:#fff}.party-opening-row:last-child:nth-child(odd)[b-6dq500xnbw]{grid-column:1/-1;width:calc(50% - .35rem);justify-self:center}.party-opening-asset[b-6dq500xnbw]{min-width:0;display:grid;grid-template-columns:30px 1fr;align-items:center;gap:0 .5rem}.party-opening-asset i[b-6dq500xnbw]{grid-row:1/3;width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:#9b6814;background:#fff5dc;font-size:.78rem}.party-opening-asset strong[b-6dq500xnbw]{font-size:.81rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.party-opening-asset small[b-6dq500xnbw]{color:#87928c;font-size:.66rem}.party-opening-row :deep(.form-control)[b-6dq500xnbw],.party-opening-row :deep(.form-select)[b-6dq500xnbw]{min-width:0;min-height:44px;border:1px solid #ccd7d1;border-radius:8px;padding:.5rem .65rem;background:#fff;color:#183129;font:inherit;font-size:.8rem;font-weight:800}.party-opening-row :deep(.form-control:focus)[b-6dq500xnbw],.party-opening-row :deep(.form-select:focus)[b-6dq500xnbw]{outline:2px solid rgba(20,121,91,.12);border-color:#2c8067}.party-opening-note[b-6dq500xnbw]{margin:.7rem 0 0;color:#66756d;font-size:.7rem;font-weight:700}.party-opening-note i[b-6dq500xnbw]{color:#a36e14;margin-left:.3rem}
.setup-form-error[b-6dq500xnbw]{margin:1rem 0 0;padding:.7rem .85rem;color:#9c2118;background:#fff1f0;border:1px solid #f2ccc9;border-radius:9px;font-size:.76rem;font-weight:800}
.setup-card[b-6dq500xnbw]  form>.setup-secondary{margin-top:1.25rem}.setup-actions[b-6dq500xnbw]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem clamp(1.5rem,4vw,4rem) 1.5rem;border-top:1px solid #e8ecea;background:#fbfcfb}.setup-next-button[b-6dq500xnbw]{min-width:250px;min-height:56px;padding-inline:1.65rem;font-size:.96rem}
.setup-saved-list[b-6dq500xnbw]{display:flex;gap:.55rem;overflow-x:auto;padding:1rem clamp(1.25rem,4vw,3.5rem);border-bottom:1px solid #e7ebe9;background:#f7faf8}.setup-saved-list span[b-6dq500xnbw]{flex:0 0 auto;display:grid;grid-template-columns:24px auto;gap:0 .5rem;align-items:center;padding:.55rem .75rem;border:1px solid #d5e4dd;border-radius:10px;background:#fff}.setup-saved-list i[b-6dq500xnbw]{grid-row:1/3;width:24px;height:24px;display:grid;place-items:center;color:#fff;background:#3f956f;border-radius:50%;font-size:.65rem}.setup-saved-list strong[b-6dq500xnbw]{font-size:.74rem}.setup-saved-list small[b-6dq500xnbw]{font-size:.63rem;color:#738078}.inventory-list span[b-6dq500xnbw]{min-width:150px}
.setup-finish[b-6dq500xnbw]{max-width:850px;margin:0 auto;min-height:500px;padding:clamp(2rem,5vw,4.2rem);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.finish-mark[b-6dq500xnbw]{width:74px;height:74px;display:grid;place-items:center;margin-bottom:1.15rem;border-radius:50%;color:#fff;background:linear-gradient(135deg,#c89936,#8c5b0e);box-shadow:0 16px 34px rgba(166,111,22,.25);font-size:1.7rem}.setup-finish h1[b-6dq500xnbw]{font-size:clamp(2rem,4vw,3rem)}
.finish-summary[b-6dq500xnbw]{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem;margin:1.2rem 0 1.6rem}.finish-summary div[b-6dq500xnbw]{padding:1.1rem;border:1px solid #dce4df;border-radius:14px;background:#fafbf9}.finish-summary span[b-6dq500xnbw]{display:flex;align-items:center;justify-content:center;gap:.45rem;color:#68776f;font-size:.73rem;font-weight:800}.finish-summary span i[b-6dq500xnbw]{color:#a36e14}.finish-summary strong[b-6dq500xnbw]{display:block;margin:.45rem 0 .1rem;color:#0b5a47;font-size:1.45rem}.finish-summary small[b-6dq500xnbw]{color:#84908a;font-size:.65rem}.finish-actions[b-6dq500xnbw]{display:flex;align-items:center;gap:.8rem}.finish-button[b-6dq500xnbw]{min-width:210px}
[b-6dq500xnbw] .validation-message{display:block;margin-top:.3rem;color:#b42318;font-size:.68rem;font-weight:750}
@media(max-width:1050px){.opening-grid[b-6dq500xnbw]{grid-template-columns:repeat(3,minmax(0,1fr))}.party-opening-grid[b-6dq500xnbw]{grid-template-columns:1fr}.party-opening-row:last-child:nth-child(odd)[b-6dq500xnbw]{grid-column:auto;width:auto;justify-self:stretch}}
@media(max-width:900px){.setup-welcome[b-6dq500xnbw]{grid-template-columns:1fr}.setup-hero[b-6dq500xnbw]{min-height:280px;order:-1}.setup-welcome-copy[b-6dq500xnbw]{padding:2rem}.party-grid[b-6dq500xnbw],.opening-grid[b-6dq500xnbw]{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-progress[b-6dq500xnbw]{grid-template-columns:repeat(4,auto);overflow-x:auto}.setup-step div[b-6dq500xnbw]{display:none}.setup-step[b-6dq500xnbw]{justify-content:center;padding:.55rem}.finish-summary[b-6dq500xnbw]{grid-template-columns:1fr 1fr 1fr}}
@media(max-width:560px){.setup-card[b-6dq500xnbw]{min-height:auto;border-radius:15px}.setup-hero[b-6dq500xnbw]{min-height:210px}.setup-welcome-copy[b-6dq500xnbw]{padding:1.4rem}.setup-welcome h1[b-6dq500xnbw]{font-size:1.9rem}.setup-promises[b-6dq500xnbw]{display:grid;grid-template-columns:1fr 1fr}.party-grid[b-6dq500xnbw],.opening-grid[b-6dq500xnbw]{grid-template-columns:1fr}.setup-field.wide[b-6dq500xnbw]{grid-column:auto}.setup-section-heading[b-6dq500xnbw]{align-items:flex-start;padding:1.25rem}.setup-icon[b-6dq500xnbw]{width:44px;height:44px;flex-basis:44px;border-radius:12px}.setup-section-heading p[b-6dq500xnbw]{font-size:.78rem}.setup-actions[b-6dq500xnbw]{padding:1rem;align-items:stretch;flex-direction:column-reverse}.setup-actions button[b-6dq500xnbw]{width:100%}.party-opening-heading[b-6dq500xnbw]{align-items:flex-start;flex-direction:column}.party-opening-row[b-6dq500xnbw]{grid-template-columns:1fr 1fr}.party-opening-asset[b-6dq500xnbw]{grid-column:1/-1}.finish-summary[b-6dq500xnbw]{grid-template-columns:1fr}.setup-finish[b-6dq500xnbw]{min-height:auto}.finish-actions[b-6dq500xnbw]{width:100%;flex-direction:column-reverse}.finish-actions button[b-6dq500xnbw]{width:100%}}

.opening-gold-types[b-6dq500xnbw]{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1.2rem}.opening-gold-types button[b-6dq500xnbw]{display:flex;align-items:center;gap:.5rem;border:1px solid #d6e2da;border-radius:9px;background:#f8faf7;color:#174d3e;padding:.8rem 1rem;font:inherit;font-weight:800;cursor:pointer}.opening-gold-types button.active[b-6dq500xnbw]{background:#07513e;color:white;border-color:#07513e}.opening-gold-types small[b-6dq500xnbw]{font-size:.75rem;opacity:.8}
/* _content/AlSayegh.Platform.Web/Components/Pages/StoreReportPage.razor.rz.scp.css */
.store-report[b-bx4cfskcla]{display:flex;flex-direction:column;gap:1rem;min-width:0}.store-report-heading[b-bx4cfskcla]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 1.4rem;border-radius:12px;background:linear-gradient(180deg,#073f32,#052f26);color:#fff}.store-report-heading span[b-bx4cfskcla]{font-size:.75rem;color:#b9cec5}.store-report-heading h1[b-bx4cfskcla]{margin:.3rem 0 0;font-size:1.7rem;font-weight:900}.store-report-heading h1 i[b-bx4cfskcla]{color:#ddb463;margin-inline-end:.5rem}.store-report-actions[b-bx4cfskcla]{display:flex;gap:.5rem;flex-wrap:wrap}.store-report-actions .btn-outline[b-bx4cfskcla]{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.25);color:#fff}.store-filters[b-bx4cfskcla],.store-table-card[b-bx4cfskcla]{background:#fff;border:1px solid #dce5df;border-radius:10px;min-width:0;overflow:hidden}.store-filters[b-bx4cfskcla]{padding:1rem}.store-filters fieldset[b-bx4cfskcla]{border:0;padding:0;margin:0;min-width:0}.store-filter-line[b-bx4cfskcla]{display:flex;align-items:flex-end;flex-wrap:wrap;gap:.75rem}.store-filter-line label[b-bx4cfskcla]{display:flex;flex-direction:column;gap:.35rem;font-size:.8rem;font-weight:800;min-width:135px;flex:1}.store-filter-line .store-search[b-bx4cfskcla]{flex:1.4;min-width:190px}.store-filter-line .btn-gold[b-bx4cfskcla],.store-filter-line .btn-outline[b-bx4cfskcla]{min-height:42px}.store-extra-filters[b-bx4cfskcla]{margin-top:.8rem;border-top:1px solid #e8ede9;padding-top:.75rem}.store-extra-filters summary[b-bx4cfskcla]{cursor:pointer;font-size:.85rem;font-weight:800;color:#174d3f}.store-extra-filters summary span[b-bx4cfskcla]{font-size:.72rem;color:#7a8b81;margin-inline-start:.75rem;font-weight:500}.store-choice-groups[b-bx4cfskcla]{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.75rem;margin-top:.8rem}.store-choice-groups section[b-bx4cfskcla]{border:1px solid #e0e8e2;border-radius:8px;overflow:hidden}.store-choice-groups h3[b-bx4cfskcla]{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;background:#fbf6e9;margin:0;padding:.6rem .75rem}.store-choice-groups h3 button[b-bx4cfskcla]{background:none;border:0;cursor:pointer;color:#986e16;font:inherit;font-size:.75rem}.store-choices[b-bx4cfskcla]{max-height:220px;overflow:auto;padding:.4rem}.store-choices label[b-bx4cfskcla]{display:flex;align-items:center;gap:.5rem;padding:.4rem;font-size:.8rem;border-radius:5px;cursor:pointer}.store-choices label:hover[b-bx4cfskcla]{background:#f1f6f2}.store-choices input[b-bx4cfskcla]{accent-color:#07513f}.store-report-context[b-bx4cfskcla]{display:flex;justify-content:space-between;align-items:center;gap:1rem;color:#6d7e74;font-size:.8rem}.store-report-context strong[b-bx4cfskcla]{color:#9c741c}.store-table-scroll[b-bx4cfskcla]{overflow:auto;max-height:68vh}.store-table[b-bx4cfskcla]{width:100%;min-width:1050px;border-collapse:separate;border-spacing:0;font-size:.82rem;line-height:1.7}.store-table th[b-bx4cfskcla],.store-table td[b-bx4cfskcla]{padding:.65rem .6rem;border-inline-end:1px solid #e2e8e3;border-bottom:1px solid #e2e8e3;vertical-align:middle;white-space:pre-line}.store-table th[b-bx4cfskcla]{position:sticky;top:0;background:#edf2ee;z-index:2;text-align:right;font-size:.77rem;white-space:nowrap}.store-table td[b-bx4cfskcla]{color:#23463a}.store-table tr:nth-child(even) td[b-bx4cfskcla]{background:#fafcfb}.store-table .numeric[b-bx4cfskcla]{font-size:.92rem;font-weight:700;unicode-bidi:plaintext;font-variant-numeric:tabular-nums;min-width:85px}.store-table .for-us[b-bx4cfskcla],.store-table tr:nth-child(even) .for-us[b-bx4cfskcla]{background:#eaf0ff;color:#315b93}.store-table .for-them[b-bx4cfskcla],.store-table tr:nth-child(even) .for-them[b-bx4cfskcla]{background:#fff0f1;color:#a63243}.store-table .store-sequence[b-bx4cfskcla]{color:#9aaa9e;font-size:.72rem}.store-totals td[b-bx4cfskcla],.store-totals tr:nth-child(even) td[b-bx4cfskcla]{background:#fffaea;font-weight:800;border-top:1px solid #e1cf9c}.store-open[b-bx4cfskcla]{display:grid;place-items:center;width:32px;height:32px;border:1px solid #cdded2;border-radius:6px;background:#fff;color:#07513f;cursor:pointer}.store-open:hover[b-bx4cfskcla]{background:#e7f3eb}.store-empty[b-bx4cfskcla]{text-align:center!important;padding:3rem!important;color:#7d8d83!important}.store-pagination[b-bx4cfskcla]{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem 1rem;font-size:.75rem;color:#7a8a80}.store-pagination>div[b-bx4cfskcla]{display:flex;align-items:center;gap:.65rem}.store-pagination bdi[b-bx4cfskcla]{font-weight:800;color:#174d3f;white-space:nowrap}.store-report-notes p[b-bx4cfskcla]{font-size:.75rem;color:#7a8b80;line-height:1.8;margin:.3rem 0}.store-report-error[b-bx4cfskcla]{padding:.8rem 1rem;border:1px solid #e9bdc5;border-radius:8px;background:#fff1f3;color:#a33248}@media(max-width:850px){.store-report-heading[b-bx4cfskcla]{align-items:flex-start;flex-direction:column}.store-report-heading h1[b-bx4cfskcla]{font-size:1.4rem}.store-pagination[b-bx4cfskcla]{align-items:flex-start;flex-direction:column}.store-report-context[b-bx4cfskcla]{align-items:flex-start;flex-direction:column;gap:.3rem}}
/* _content/AlSayegh.Platform.Web/Components/Pages/Users.razor.rz.scp.css */
.users-heading[b-sqxupuxzze] { align-items: center; }
.users-stats[b-sqxupuxzze] { display: flex; gap: .75rem; }
.users-stats span[b-sqxupuxzze] { min-width: 96px; border: 1px solid #e2e8f0; border-radius: .9rem; background: #fff; padding: .7rem 1rem; color: #64748b; font-size: .72rem; font-weight: 700; text-align: center; }
.users-stats strong[b-sqxupuxzze] { display: block; color: #0f4938; font-size: 1.25rem; }
.users-layout[b-sqxupuxzze] { display: grid; grid-template-columns: minmax(320px, .85fr) minmax(480px, 1.4fr); gap: 1.25rem; align-items: start; }
.users-editor-column[b-sqxupuxzze] { display: grid; gap: 1.25rem; }
.users-list[b-sqxupuxzze] { display: grid; gap: .55rem; }
.user-list-item[b-sqxupuxzze] { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; gap: .7rem; border: 1px solid #e2e8f0; border-radius: .9rem; background: #fff; padding: .75rem; text-align: right; transition: .15s ease; }
.user-list-item:hover[b-sqxupuxzze], .user-list-item.is-selected[b-sqxupuxzze] { border-color: #c89632; background: #fdf8ed; box-shadow: 0 0 0 3px #c8963217; }
.user-avatar[b-sqxupuxzze] { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #0f4938; color: #fff; font-weight: 850; }
.user-list-copy[b-sqxupuxzze] { min-width: 0; }
.user-list-copy strong[b-sqxupuxzze], .user-list-copy small[b-sqxupuxzze] { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-list-copy strong[b-sqxupuxzze] { color: #0f172a; font-size: .86rem; }
.user-list-copy small[b-sqxupuxzze] { margin-top: .15rem; color: #64748b; font-size: .68rem; }
.user-role-badge[b-sqxupuxzze], .user-state[b-sqxupuxzze] { border-radius: 999px; padding: .3rem .55rem; font-size: .64rem; font-weight: 800; white-space: nowrap; }
.user-role-badge[b-sqxupuxzze] { background: #f1f5f9; color: #334155; }
.role-owner[b-sqxupuxzze] { background: #fdf8ed; color: #8b641b; }
.user-state.is-active[b-sqxupuxzze] { background: #ecfdf5; color: #047857; }
.user-state.is-disabled[b-sqxupuxzze] { background: #fff1f2; color: #be123c; }
.user-editor-empty[b-sqxupuxzze] { min-height: 210px; display: grid; place-items: center; align-content: center; gap: .45rem; color: #64748b; text-align: center; }
.user-editor-empty i[b-sqxupuxzze] { color: #c89632; font-size: 2rem; }
.user-editor-empty strong[b-sqxupuxzze] { color: #0f172a; }
.permission-switches[b-sqxupuxzze] { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1rem 0; }
.permission-switches > label[b-sqxupuxzze] { display: flex; align-items: flex-start; gap: .7rem; border: 1px solid #e2e8f0; border-radius: .85rem; padding: .8rem; cursor: pointer; }
.permission-switches span[b-sqxupuxzze], .permission-switches strong[b-sqxupuxzze], .permission-switches small[b-sqxupuxzze] { display: block; }
.permission-switches small[b-sqxupuxzze] { margin-top: .15rem; color: #64748b; font-size: .68rem; }
.password-reset-box[b-sqxupuxzze] { margin-bottom: 1rem; }
.create-all-branches[b-sqxupuxzze] { display: flex; align-items: center; gap: .55rem; margin: .9rem 0; }
.roles-matrix[b-sqxupuxzze] { overflow-x: auto; }
.roles-matrix-head[b-sqxupuxzze], .roles-matrix-row[b-sqxupuxzze] { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); min-width: 720px; align-items: center; text-align: center; }
.roles-matrix-head[b-sqxupuxzze] { border-radius: .75rem; background: #0f4938; color: #fff; font-size: .7rem; font-weight: 800; }
.roles-matrix-head span[b-sqxupuxzze], .roles-matrix-row > *[b-sqxupuxzze] { padding: .75rem; }
.roles-matrix-row[b-sqxupuxzze] { border-bottom: 1px solid #e2e8f0; color: #059669; font-weight: 850; }
.roles-matrix-row strong[b-sqxupuxzze] { color: #0f172a; text-align: right; }
@media (max-width: 1000px) { .users-layout[b-sqxupuxzze] { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .users-heading[b-sqxupuxzze] { align-items: stretch; } .users-stats[b-sqxupuxzze] { width: 100%; } .users-stats span[b-sqxupuxzze] { flex: 1; } .user-list-item[b-sqxupuxzze] { grid-template-columns: 40px minmax(0, 1fr) auto; } .user-state[b-sqxupuxzze] { grid-column: 2 / -1; justify-self: start; } .permission-switches[b-sqxupuxzze] { grid-template-columns: 1fr; } }
