:root{--pwa-safe-top:env(safe-area-inset-top,0px);--pwa-safe-right:env(safe-area-inset-right,0px);--pwa-safe-bottom:env(safe-area-inset-bottom,0px);--pwa-safe-left:env(safe-area-inset-left,0px)}
html{min-width:0;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{min-width:0;padding-bottom:var(--pwa-safe-bottom)}
body>header{padding-left:max(1rem,var(--pwa-safe-left));padding-right:max(1rem,var(--pwa-safe-right));padding-top:max(.75rem,var(--pwa-safe-top));position:relative;z-index:60}
button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,.btn,[role="button"],summary{touch-action:manipulation}
.pwa-footer{max-width:1240px;margin:20px auto 30px;padding:14px max(20px,var(--pwa-safe-right)) calc(14px + var(--pwa-safe-bottom)) max(20px,var(--pwa-safe-left));display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap;color:#607086;font-size:.8rem;text-align:center}
.pwa-install-button{position:fixed;z-index:110;right:max(18px,var(--pwa-safe-right));bottom:max(18px,calc(var(--pwa-safe-bottom) + 12px));min-height:46px;border:1px solid #1769aa;border-radius:999px;padding:10px 18px;background:#1769aa;color:#fff;font:inherit;font-weight:800;cursor:pointer;box-shadow:0 12px 32px #071b2d38}.pwa-install-button:hover{background:#12598f}.pwa-install-button:focus-visible{outline:3px solid #8dc9f1;outline-offset:3px}.pwa-install-button[hidden]{display:none!important}.pwa-install-state:empty{display:none}
.pwa-install-help{width:min(92vw,560px);border:0;border-radius:16px;padding:0;background:#fff;color:#193047;box-shadow:0 24px 70px #071b2d55}.pwa-install-help::backdrop{background:#071b2d88}.pwa-install-help-content{padding:24px}.pwa-install-help-content h2{margin:.25rem 0 .8rem}.pwa-install-help-content p{line-height:1.55}.pwa-install-help-actions{display:flex;justify-content:flex-end;margin-top:18px}.pwa-install-help-actions button{min-height:44px;border:0;border-radius:10px;padding:9px 18px;background:#1769aa;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.pwa-nav-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;border:1px solid #ffffff45;border-radius:11px;background:#ffffff16;color:#fff;font:inherit;font-size:1.25rem;cursor:pointer}.pwa-nav-toggle:hover{background:#ffffff26}.pwa-nav-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.pwa-nav-backdrop{position:fixed;inset:0;z-index:78;background:#071b2d85;backdrop-filter:blur(2px)}.pwa-nav-backdrop[hidden]{display:none}
.pwa-toast{position:fixed;z-index:120;left:50%;bottom:max(18px,calc(var(--pwa-safe-bottom) + 10px));translate:-50% 0;width:min(92vw,620px);display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid #b8cbd8;border-radius:13px;background:#fff;color:#193047;box-shadow:0 16px 45px #071b2d38}
.pwa-toast[hidden]{display:none}.pwa-toast p{margin:0;line-height:1.35}.pwa-toast-actions{display:flex;gap:8px;flex:0 0 auto}.pwa-toast button{min-height:42px;border:0;border-radius:9px;padding:8px 12px;background:#1769aa;color:#fff;font:inherit;font-weight:750;cursor:pointer}.pwa-toast button[data-pwa-later]{background:#edf3f7;color:#36536b}
.pwa-connection{position:fixed;z-index:125;top:max(10px,calc(var(--pwa-safe-top) + 8px));left:50%;translate:-50% 0;max-width:calc(100vw - 24px);padding:9px 14px;border-radius:999px;background:#8f2c26;color:#fff;font-size:.85rem;font-weight:750;box-shadow:0 8px 24px #071b2d30}.pwa-connection.is-online{background:#18794e}.pwa-connection[hidden]{display:none}
.pwa-notification-center{position:fixed;z-index:135;top:max(84px,calc(var(--pwa-safe-top) + 72px));right:max(18px,var(--pwa-safe-right));font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.pwa-notification-button{position:relative;width:48px;height:48px;border:1px solid #bed0dc;border-radius:50%;background:#fff;color:#153b57;font-size:1.15rem;cursor:pointer;box-shadow:0 10px 28px #071b2d30}.pwa-notification-button:hover,.pwa-notification-button:focus-visible{border-color:#2a7eb4;outline:3px solid #82c8f255}.pwa-notification-button.has-unread{background:#eaf6fd;border-color:#2a7eb4}.pwa-notification-button b{position:absolute;top:-5px;right:-5px;min-width:21px;height:21px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#c23632;color:#fff;font-size:.68rem;line-height:17px;text-align:center}.pwa-notification-panel{position:absolute;top:57px;right:0;width:min(390px,calc(100vw - 24px));max-height:min(70dvh,620px);overflow:hidden;border:1px solid #c6d5df;border-radius:16px;background:#fff;color:#193047;box-shadow:0 22px 60px #071b2d45}.pwa-notification-panel[hidden]{display:none}.pwa-notification-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 17px;border-bottom:1px solid #dde7ed;background:#f7fafc;color:#193047}.pwa-notification-panel>header div{display:grid;gap:2px}.pwa-notification-panel>header small{color:#657b8d}.pwa-notification-panel>header button,.pwa-notification-dismiss{width:36px;height:36px;border:0;border-radius:50%;background:#edf3f7;color:#36536b;font-size:1.35rem;cursor:pointer}.pwa-notification-tools{display:flex;gap:8px;padding:10px 12px;border-bottom:1px solid #e4ebef;overflow:auto}.pwa-notification-tools button{min-height:38px;border:1px solid #bdd0dc;border-radius:9px;padding:7px 10px;background:#fff;color:#20516f;font:inherit;font-size:.76rem;font-weight:750;white-space:nowrap;cursor:pointer}.pwa-notification-tools button:disabled{opacity:.55;cursor:not-allowed}.pwa-notification-status{margin:0;padding:0 13px;color:#547084;font-size:.75rem}.pwa-notification-status:not(:empty){padding-block:8px;border-bottom:1px solid #e4ebef}.pwa-notification-list{max-height:440px;overflow:auto;overscroll-behavior:contain}.pwa-notification-item{display:grid;grid-template-columns:1fr auto;gap:5px;padding:4px 5px 4px 0;border-bottom:1px solid #e4ebef;background:#fff}.pwa-notification-item.is-unread{background:#eef7fd}.pwa-notification-content{display:grid;gap:4px;width:100%;border:0;padding:11px 8px 11px 14px;background:transparent;color:#193047;text-align:left;cursor:pointer}.pwa-notification-content strong{font-size:.9rem}.pwa-notification-content span{color:#445f72;font-size:.82rem;line-height:1.35}.pwa-notification-content small{color:#748897;font-size:.72rem}.pwa-notification-dismiss{align-self:center;flex:0 0 auto}.pwa-notification-empty{margin:0;padding:26px 18px;color:#60778a;text-align:center}.pwa-notification-toast{position:fixed;z-index:145;right:max(20px,var(--pwa-safe-right));bottom:max(22px,calc(var(--pwa-safe-bottom) + 14px));width:min(410px,calc(100vw - 24px));display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;border:1px solid #9bc7e1;border-radius:14px;background:#fff;color:#193047;box-shadow:0 18px 48px #071b2d45}.pwa-notification-toast>div:first-child{display:grid;gap:4px}.pwa-notification-toast span{color:#486579;font-size:.83rem;line-height:1.35}.pwa-notification-toast>div:last-child{display:flex;gap:7px}.pwa-notification-toast button{min-height:38px;border:0;border-radius:9px;padding:7px 12px;background:#1769aa;color:#fff;font:inherit;font-size:.8rem;font-weight:750;cursor:pointer}.pwa-notification-toast button:last-child{background:#edf3f7;color:#36536b}
html[data-ledama-theme="dark"] :is(.pwa-notification-panel,.pwa-notification-toast,.pwa-notification-button){background:#182733;color:#e7eff5;border-color:#405769}html[data-ledama-theme="dark"] .pwa-notification-panel>header{background:#203441;color:#edf5fa;border-color:#405769}html[data-ledama-theme="dark"] .pwa-notification-panel>header small,html[data-ledama-theme="dark"] :is(.pwa-notification-content span,.pwa-notification-content small,.pwa-notification-status,.pwa-notification-toast span){color:#afc0cc}html[data-ledama-theme="dark"] .pwa-notification-item{background:#182733;border-color:#344957}html[data-ledama-theme="dark"] .pwa-notification-item.is-unread{background:#173346}html[data-ledama-theme="dark"] .pwa-notification-content{color:#edf5fa}html[data-ledama-theme="dark"] .pwa-notification-tools{border-color:#344957}html[data-ledama-theme="dark"] .pwa-notification-tools button,html[data-ledama-theme="dark"] :is(.pwa-notification-panel>header button,.pwa-notification-dismiss){background:#223746;color:#dce8ef;border-color:#405769}
dialog{max-width:min(92vw,720px);max-height:min(88dvh,760px);border:0;border-radius:16px;padding:0;box-shadow:0 24px 70px #071b2d55}dialog::backdrop{background:#071b2d88}dialog>form,dialog>.dialog-content{max-height:88dvh;overflow:auto;padding:20px}
@media(display-mode:standalone){body>header{padding-top:max(.75rem,var(--pwa-safe-top))}.pwa-footer{padding-bottom:max(18px,var(--pwa-safe-bottom))}.pwa-install-button{display:none!important}}
@media(max-width:900px){
  body>header{position:sticky;top:0;min-height:64px;align-items:center!important;flex-direction:row!important;gap:10px!important;padding-bottom:.7rem!important}
  body>header .brand,body>header .vertical-brand{min-width:0;flex:1}body>header .brand strong,body>header .vertical-brand strong{font-size:1rem!important;line-height:1.15}body>header .brand small,body>header .vertical-brand small{font-size:.7rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:54vw}
  body>header .header-account{min-width:0;max-width:48%;gap:8px}body>header .header-context{max-width:185px}body>header .account-name{display:none}
  .pwa-nav-toggle{display:inline-flex;order:20}.pwa-nav-target{position:fixed!important;z-index:90!important;top:0;bottom:0;left:0;width:min(88vw,340px);margin:0!important;padding:max(82px,calc(var(--pwa-safe-top) + 74px)) 14px calc(24px + var(--pwa-safe-bottom))!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:6px!important;overflow-y:auto!important;overscroll-behavior:contain;background:#fff!important;box-shadow:12px 0 38px #071b2d42;transform:translateX(-106%);transition:transform .2s ease}
  .pwa-nav-target.is-open{transform:translateX(0)}.pwa-nav-target a{display:flex!important;align-items:center!important;width:100%!important;min-height:44px!important;margin:0!important;padding:10px 12px!important;border-radius:9px!important;background:transparent!important;color:#27455e!important;text-align:left!important;font-size:.94rem!important;font-weight:720!important;text-decoration:none!important;white-space:normal!important}.pwa-nav-target a:hover,.pwa-nav-target a.active{background:#edf5fa!important;color:#125b8d!important}
  body.pwa-nav-open{overflow:hidden}.wrap,body>main{padding-left:max(12px,var(--pwa-safe-left))!important;padding-right:max(12px,var(--pwa-safe-right))!important}
  input:not([type="checkbox"]):not([type="radio"]),select,textarea{min-height:44px;font-size:16px!important}button,.btn,[role="button"]{min-height:44px}input[type="checkbox"],input[type="radio"]{min-width:20px!important;min-height:20px!important}
  label{line-height:1.35}textarea{min-height:120px}details>summary{min-height:44px;display:flex;align-items:center}
  .card{max-width:100%;overflow-wrap:anywhere}.grid,.form-grid{grid-template-columns:1fr!important}.wide,.field-wide{grid-column:auto!important}
  .table-shell{max-width:100%;overflow:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.table-shell table:not(.data-table){min-width:680px}.table-shell th{position:sticky;top:0;z-index:2}
  .pwa-toast{align-items:stretch;flex-direction:column;bottom:max(12px,calc(var(--pwa-safe-bottom) + 8px))}.pwa-toast-actions{display:grid;grid-template-columns:1fr 1fr}.pwa-toast button{width:100%}
  .pwa-footer{margin-top:12px;padding-inline:16px}.pwa-install-button{right:max(12px,var(--pwa-safe-right));bottom:max(12px,calc(var(--pwa-safe-bottom) + 8px));width:auto;max-width:calc(100vw - 24px)}
  .pwa-notification-center{top:max(72px,calc(var(--pwa-safe-top) + 64px));right:max(10px,var(--pwa-safe-right))}.pwa-notification-panel{position:fixed;top:max(72px,calc(var(--pwa-safe-top) + 64px));right:10px;left:10px;width:auto;max-height:calc(100dvh - 88px)}.pwa-notification-list{max-height:calc(100dvh - 270px)}.pwa-notification-toast{right:12px;bottom:max(12px,calc(var(--pwa-safe-bottom) + 8px));flex-direction:column;align-items:stretch}.pwa-notification-toast>div:last-child{display:grid;grid-template-columns:1fr 1fr}.pwa-notification-toast button{width:100%}
  dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}dialog>form,dialog>.dialog-content{max-height:calc(100dvh - 20px);padding:16px}
}
@media(max-width:380px){body>header .brand small,body>header .vertical-brand small{display:none}.pwa-nav-target{width:92vw}.pwa-toast{width:calc(100vw - 16px)}}
@media print{.pwa-footer,.pwa-nav-toggle,.pwa-nav-backdrop,.pwa-toast,.pwa-connection,.pwa-notification-center,.pwa-notification-toast{display:none!important}}
