/* B4 tile-only semantic glass. No form fields or long tables. */
:root{--t3d-clear:linear-gradient(150deg,rgba(255,255,255,.78),rgba(255,255,255,.38));--t3d-deep:linear-gradient(160deg,rgba(15,61,46,.92),rgba(11,42,32,.78));--t3d-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(15,61,46,.06),inset 0 0 0 1px rgba(255,255,255,.55),0 0 0 1px rgba(15,61,46,.07),0 2px 6px rgba(15,61,46,.06),0 26px 60px rgba(15,61,46,.18);--t3d-deep-shadow:inset 0 0 0 1px rgba(232,205,143,.35),0 26px 60px rgba(15,61,46,.18);--t3d-edge:radial-gradient(260px circle at var(--x,50%) var(--y,50%),rgba(255,255,255,.95),rgba(232,205,143,.5) 35%,transparent 65%);--t3d-reflection:radial-gradient(380px circle at var(--x,50%) var(--y,50%),rgba(255,255,255,.9),transparent 55%);--t3d-mask:linear-gradient(#fff 0 0);--b4-late:#A62B32;--b4-late-bg:#FBE7E5}
.t3d-scene{perspective:1100px}
@media(max-width:760px){html body .b4-task-card b{grid-column:1!important;grid-row:1!important;font-size:14px}html body .b4-task-card .b4-task-amount{grid-column:2!important;grid-row:1!important}html body .b4-task-card small,html body .b4-task-card .b4-task-state{grid-row:2!important}}
html body.b4-embedded-qc header.topbar{display:none!important}html body.b4-embedded-qc #b3QcLive{position:static!important;display:block!important;width:100%;box-sizing:border-box;margin:16px 0}html body .b4-preview{display:grid;gap:8px;font-size:13px}html body .b4-preview>div{display:flex;justify-content:space-between;gap:12px}html body .b4-preview dd{margin:0;text-align:right}
html body :is(.b4-doc-empty,.b4-reference,.b4-qc-empty){display:block!important;width:100%!important;height:auto!important;margin-right:0!important;box-sizing:border-box;vertical-align:initial}html body .b4-reference-grid{min-width:0}html body .b4-reference{width:auto!important}
html body.dn-layout .dn-owned-view>a.b4-task-card{display:grid!important;width:100%!important;min-width:0!important;box-sizing:border-box;align-items:start!important;min-height:100px;font-weight:400;color:var(--lm-heading)}html body.dn-layout .dn-owned-view>a.b4-task-card b{font-weight:700}
html body.dn-new-view #view-home>#b4Manual{display:block!important}html body.dn-new-view #view-home #addDlg.b4-inline .importbox,html body.dn-new-view #view-home #addDlg.b4-inline #pasteBox{display:none!important}
html body:has(#obRoot){overflow-anchor:none}html body #b4Manual{padding:0!important}html body #addDlg.b4-inline{margin-top:14px!important}html body #addDlg.b4-inline .b3-steps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px;overflow:visible!important}html body #addDlg.b4-inline .b3-steps button{min-width:0;white-space:normal;overflow-wrap:normal;flex-direction:column;justify-content:center;text-align:center;font-size:12px!important}html body #addDlg.b4-inline .b3-steps button span{flex:none}html body .b4-task-card{height:auto!important;min-height:120px!important;overflow:visible!important}
html body .lm-owned-links a{display:flex!important;flex:none!important;width:auto!important;min-width:0!important;overflow-wrap:normal!important;word-break:normal!important}html body .dn-owned-tools[role=group]{display:flex!important;gap:8px;flex-wrap:nowrap}html body .dn-owned-tools[role=group] button{flex:none;min-width:58px}
html body .t3d{position:relative;isolation:isolate;background:var(--t3d-clear)!important;backdrop-filter:blur(28px) saturate(170%)!important;box-shadow:var(--t3d-shadow)!important;border-radius:28px!important;transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .45s cubic-bezier(.2,.8,.2,1);touch-action:pan-y;min-width:0}
html body .t3d.dg{background:var(--t3d-deep)!important;box-shadow:var(--t3d-deep-shadow)!important}
.t3d::before,.t3d::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2}
.t3d::before{padding:1px;opacity:.35;background:var(--t3d-edge);mask:var(--t3d-mask) content-box,var(--t3d-mask);mask-composite:exclude;-webkit-mask:var(--t3d-mask) content-box,var(--t3d-mask);-webkit-mask-composite:xor}
.t3d::after{background:var(--t3d-reflection);mix-blend-mode:soft-light;opacity:0;transition:opacity .3s}
.t3d.t3d-active{will-change:transform;transition:transform .08s linear}.t3d.t3d-active::after{opacity:.25}
.t3d:focus-visible{outline:2px solid var(--lm-gold)!important;outline-offset:5px}
.t3d> :not(.t3d){transform:none}
@supports not (backdrop-filter:blur(1px)){html body .t3d{background:var(--lm-white)!important}html body .t3d.dg{background:var(--lm-heading)!important}}
@media(prefers-reduced-motion:reduce){html body .t3d,html body .t3d *{transform:none!important;transition:none!important;animation:none!important;will-change:auto!important}.t3d::after{display:none}}
/* Static shell and display corrections, shared by every internal page. */
html body .b4-legacy{display:none!important}html body .b4-shell-sidebar{position:fixed;left:22px;top:22px;bottom:22px;width:240px;padding:20px 16px;border-radius:30px;background:var(--lm-deep);color:var(--lm-ivory);z-index:90;box-sizing:border-box}
html body .b4-static-header>.top-actions{display:none!important}.b4-qc-frame{display:block;width:100%;height:1000px;border:0;border-radius:28px;background:#F4EEE1}.b4-embedded-qc header,.b4-embedded-qc #darniaSidebar,.b4-embedded-qc #darniaNavToggle,.b4-embedded-qc #b4QcExtras{display:none!important}html body.b4-embedded-qc{padding:0!important}html body.b4-embedded-qc main{margin:0!important;padding:12px!important;max-width:none!important}.b4-embedded-qc .qc-wrap{display:block!important}
html body .b4-static-header>.lm-mobile-brand{display:block}html body .b4-static-header>.lm-mobile-brand img{width:112px;height:44px;object-fit:contain}html body .b4-static-header>.lm-top-account{display:flex;justify-self:end}
html body .b4-static-header{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:12px}html body .b4-static-header>.b4-title{grid-column:1/-1!important;grid-row:2!important}html body .b4-static-header .b4-title h1{white-space:normal!important;overflow:visible!important}
html body .b4-static-header>.lm-mobile-brand{grid-column:1!important;grid-row:1!important}html body .b4-static-header>.lm-top-account{grid-column:2!important;grid-row:1!important}
html body :is(.dn-content-tabs,.dn-settings-tabs){display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;max-width:100%;min-width:0;white-space:nowrap;overscroll-behavior-x:contain}html body :is(.dn-content-tabs,.dn-settings-tabs) a{flex:none}
html body .lm-owned-links{display:flex;flex-wrap:nowrap;gap:6px;padding:4px;width:fit-content;max-width:100%;border:1px solid var(--lm-border);border-radius:999px;background:var(--lm-clear)}html body .lm-owned-links a{padding:8px 14px;white-space:nowrap;min-height:44px;box-sizing:border-box;text-decoration:none}html body .lm-owned-links a[aria-current=page]{background:var(--lm-button);color:var(--lm-ivory);border-radius:999px}
html body .b4-task-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:18px;margin:0 0 12px;text-decoration:none;color:var(--lm-heading);background:var(--lm-clear);border:1px solid var(--lm-clear-border);border-radius:22px;box-shadow:var(--lm-shadow)}.b4-task-card b{overflow-wrap:anywhere}.b4-task-card small{grid-column:1;color:var(--lm-muted)}.b4-task-amount{font-weight:700;white-space:nowrap}.b4-task-state{grid-column:2;grid-row:2;align-self:start;padding:4px 9px;border-radius:999px;font-size:12px;background:var(--lm-verdict-bg)}.b4-task-state.late{color:var(--b4-late);background:var(--b4-late-bg)}.b4-task-month{margin:24px 0 14px}
html body .dn-tax-group{padding:22px;margin:16px 0;background:var(--lm-clear);border:1px solid var(--lm-clear-border);border-radius:26px;box-shadow:var(--lm-shadow)}.dn-tax-group dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 16px}.dn-tax-group dd{text-align:right;margin:0;font-variant-numeric:tabular-nums}.dn-tax-group dt{min-width:0}.b4-doc-empty{padding:26px;margin:16px 0;text-align:center}.b4-doc-empty .btn{display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;margin-top:12px}
html body #pfRoot.pf-wrap{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;min-width:0;overflow-anchor:none}html body #pfAvatarPrev{display:grid;place-items:center;width:80px;height:80px;flex:none}html body #pfAvatarPrev :is(img,span){width:80px!important;height:80px!important;object-fit:cover;border-radius:50%}html body .pf-photo{display:flex;gap:16px;align-items:center;margin-bottom:14px}.pf-photo-actions{min-width:0}.pf-photo-buttons{display:flex;gap:8px;flex-wrap:wrap}html body #pfRoot .pf-photo-buttons :is(.upl,#pfRmPhoto){min-width:0!important;width:auto!important;white-space:nowrap!important;margin:0!important;padding:10px 12px!important;font-size:13px!important;box-sizing:border-box}
.b4-qc-extras{margin-top:28px}.b4-reference-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.b4-reference{padding:22px}.b4-reference p{font-size:14px;color:var(--lm-muted)}.b4-reference a{min-height:44px;display:inline-flex;align-items:center}.b4-qc-empty{padding:22px}.b4-inline-entry{padding:22px;margin-top:20px;min-width:0}
html body #addDlg.b4-inline{display:block!important;position:static!important;inset:auto!important;max-width:100%!important;width:100%!important;max-height:none!important;margin:20px 0!important;padding:22px!important;box-sizing:border-box;overflow:visible!important;transform:none!important}html body #addDlg.b4-inline #addForm{display:block!important;padding-bottom:0!important}html body #addDlg.b4-inline .b3-live{position:static!important;margin-top:20px!important;display:block!important}html body #addDlg.b4-inline .dlg-actions{position:static!important}.b4-inline [data-b4-group][hidden]{display:none!important}html body #view-home .b4-inline .dn-questions{grid-column:1/-1}
@media(max-width:760px){html body:has(.lm-mobile-nav){padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}html body .b4-shell-sidebar{display:none}html body .b4-static-header{margin:0!important;padding:16px!important;min-height:108px!important}html body:has(#pfRoot) main{margin:0!important;padding:0 16px!important;width:100%!important;box-sizing:border-box}html body #pfRoot .pf-main{padding:20px!important}html body .pf-photo{flex-direction:column;align-items:flex-start}.pf-photo-actions{width:100%}.pf-photo-buttons{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}html body #pfRoot .pf-photo-buttons :is(.upl,#pfRmPhoto){width:100%!important;justify-content:center;display:flex}.b4-reference-grid{grid-template-columns:1fr}.b4-task-card{grid-template-columns:minmax(0,1fr) auto;padding:16px}.b4-task-card b{grid-column:1/-1}.b4-task-amount{grid-column:2;grid-row:2;font-size:14px}.b4-task-card small{grid-row:3;grid-column:1}.b4-task-state{grid-row:3}.dn-tax-group dl{grid-template-columns:minmax(0,1fr) auto;font-size:13px}.lm-owned-links{overflow-x:auto}html body #addDlg.b4-inline{padding:16px!important}html body #addDlg.b4-inline .inputs.form{grid-template-columns:minmax(0,1fr)!important}html body #addDlg.b4-inline .b3-steps{overflow-x:auto;display:flex}.b3-steps button{flex:none}html body .rm-reminder{display:flex!important;flex-direction:column-reverse!important;align-items:stretch!important;gap:8px!important;padding:16px!important;background:var(--lm-clear)!important;border:1px solid var(--lm-clear-border)!important;border-radius:22px!important;margin-bottom:12px!important;box-shadow:var(--lm-shadow)}html body .rm-reminder time{display:flex;justify-content:space-between;gap:12px!important;white-space:normal!important;width:100%!important}html body .rm-reminder-title{white-space:normal!important;text-align:left!important;overflow-wrap:anywhere;width:100%;padding:0!important}html body .rm-reminder time .rm-reminder-name{color:var(--b4-late);background:var(--b4-late-bg);padding:4px 8px;border-radius:999px}html body .rm-reminder>div{min-width:0;width:100%}html body .b4-static-header .b4-title h1{font-size:32px!important}html body:has(#mkRoot) .b4-title h1{font-size:30px!important;white-space:nowrap!important}}
@media(min-width:761px){html body .b4-static-header>.lm-mobile-brand{display:none}html body .b4-static-header>.b4-title{grid-row:1!important;grid-column:1!important}html body .b4-static-header>.lm-top-account{grid-row:1!important}}
html body .rm-currency-group h3{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:nowrap}html body .b4-currency-badge{font-family:var(--lm-font);font-size:12px;font-weight:500;white-space:nowrap;letter-spacing:0;text-transform:none;padding:4px 9px;border:1px solid var(--lm-gold);border-radius:999px;color:var(--lm-muted)}html body #hzRoot .b4-converted,html body #mkRoot .b4-converted{font-size:12px!important;font-weight:400!important;color:var(--lm-muted)!important;text-transform:none!important;letter-spacing:0!important;line-height:1.5}
html body #hzRoot .b4-converted,html body #mkRoot .b4-converted{display:block!important;width:100%;margin-top:4px;white-space:normal}
