:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--accent:#949598}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}html,body{overscroll-behavior-y:none;width:100%;max-width:100%}body{color:#18181b;-webkit-text-size-adjust:100%;background:#f4f4f5;margin:0;font-family:-apple-system,system-ui,sans-serif}body:before{content:"";height:env(safe-area-inset-top);z-index:50;pointer-events:none;background:#f4f4f5;position:fixed;top:0;left:0;right:0}#root{max-width:760px;padding-top:calc(12px + env(safe-area-inset-top));padding-right:calc(12px + env(safe-area-inset-right));padding-bottom:calc(68px + env(safe-area-inset-bottom));padding-left:calc(12px + env(safe-area-inset-left));margin:0 auto}.card{background:#fff;border:1px solid #e4e4e7;border-radius:12px;padding:16px;box-shadow:0 1px 3px #0000000f}h1{margin:0;font-size:1.35rem;line-height:1.2}.muted{color:#71717a;font-size:.9rem}.error{color:#dc2626;margin-top:12px;font-size:.9rem}.app-shell{flex-direction:column;gap:12px;display:flex}.topbar{background:#fff;border:1px solid #e4e4e7;border-radius:12px;flex-wrap:nowrap;align-items:center;gap:12px;padding:10px 14px;display:flex}.brand-logo{flex:none;width:auto;height:40px;display:block}.topbar-org{flex-direction:column;flex:auto;gap:2px;min-width:0;display:flex}.topbar-orgline{flex-wrap:nowrap;flex:auto;align-items:center;gap:8px;min-width:0;display:flex}.org-name{color:#18181b;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.88rem;font-weight:600;overflow:hidden}.org-switcher{border:1px solid #d4d4d8;border-radius:8px;max-width:100%;padding:6px 8px;font-size:.9rem}.role-badge{color:#3730a3;text-transform:capitalize;white-space:nowrap;background:#eef2ff;border-radius:999px;flex:none;padding:2px 10px;font-size:.75rem}.topbar-email{color:#a1a1aa;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.78rem;overflow:hidden}.signout-btn{color:#52525b;background:#f4f4f5;border:1px solid #e4e4e7;border-radius:8px;flex:none;min-height:0;padding:6px 10px;font-size:.78rem}form{flex-direction:column;gap:10px;display:flex}input,select,textarea{border:1px solid #d4d4d8;border-radius:8px;width:100%;max-width:100%;padding:12px;font-family:inherit;font-size:16px}textarea{resize:vertical}button{background:var(--accent);color:#fff;cursor:pointer;border:0;border-radius:8px;min-height:44px;padding:11px 16px;font-size:.95rem}button:disabled{opacity:.6;cursor:default}button.secondary{color:#18181b;background:#e4e4e7}button.link{color:var(--accent);background:0 0;min-height:0;padding:8px 10px;font-size:.9rem}button.link.danger{color:#dc2626}button.danger-btn{background:#dc2626}.row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 8px;margin-bottom:10px;display:flex}.row h1{min-width:0}.row>div{flex-wrap:wrap}.list{margin:8px 0 0;padding:0;list-style:none}.list li{border-top:1px solid #f0f0f0;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;padding:14px 0;display:flex}.list-main{flex-wrap:wrap;flex:auto;align-items:center;gap:8px;min-width:0;display:flex}.list-main strong{overflow-wrap:anywhere}.list-actions{flex:none;gap:4px;display:flex}.tag{color:#52525b;white-space:nowrap;background:#f4f4f5;border:1px solid #e4e4e7;border-radius:999px;padding:2px 10px;font-size:.8rem}.status{white-space:nowrap;border-radius:999px;padding:2px 10px;font-size:.8rem}.status-active{color:#166534;background:#dcfce7}.status-maintenance{color:#854d0e;background:#fef9c3}.status-retired,.status-lost{color:#991b1b;background:#fee2e2}.modal-overlay{z-index:100;background:#0006;justify-content:center;align-items:flex-start;padding:12px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal{background:#fff;border-radius:12px;flex-direction:column;width:100%;max-width:520px;max-height:calc(100vh - 24px);margin:12px auto;display:flex;box-shadow:0 10px 40px #0003}.modal-header{border-bottom:1px solid #f0f0f0;justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;display:flex}.modal-header h2{overflow-wrap:anywhere;min-width:0;margin:0;font-size:1.1rem}.modal-close{color:#71717a;background:0 0;min-height:0;padding:0 6px;font-size:1.5rem;line-height:1}.modal-body{padding:16px;overflow-y:auto}.asset-form label{color:#52525b;flex-direction:column;gap:4px;font-size:.85rem;display:flex}.form-row{gap:10px;display:flex}.form-row label{flex:1;min-width:0}.form-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.tabs{background:#fff;border:1px solid #e4e4e7;border-radius:12px;gap:4px;padding:4px;display:flex}.tab{color:#52525b;background:0 0;border-radius:8px;flex:1 1 0;min-width:0;min-height:0;padding:10px 8px;font-size:.95rem}.tab-on{background:var(--accent);color:#fff}.bottom-nav{z-index:40;max-width:760px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e4e4e7;margin:0 auto;display:flex;position:fixed;bottom:0;left:0;right:0}.bnav-btn{color:#a1a1aa;cursor:pointer;-webkit-tap-highlight-color:transparent;background:0 0;border:none;flex-direction:column;flex:1 1 0;align-items:center;gap:3px;min-height:0;padding:9px 4px 7px;font-size:.7rem;font-weight:500;display:flex}.bnav-icon{line-height:0;display:flex}.bnav-label{line-height:1}.bnav-on{color:#ff6a00}.more-list{flex-direction:column;gap:2px;margin:10px 0 0;padding:0;list-style:none;display:flex}.more-row{text-align:left;color:#18181b;cursor:pointer;background:0 0;border:none;border-radius:12px;align-items:center;gap:12px;width:100%;min-height:0;padding:10px;display:flex}.more-row:hover:not(:disabled){background:#f4f4f5}.more-row:disabled{cursor:default;opacity:.5}.more-ic{color:#52525b;background:#f4f4f5;border-radius:10px;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:flex}.more-tx{flex-direction:column;flex:auto;min-width:0;display:flex}.more-tt{color:#18181b;align-items:center;gap:8px;font-size:.95rem;font-weight:600;display:flex}.more-ds{color:#71717a;margin-top:1px;font-size:.82rem;line-height:1.3}.more-ch{color:#c4c4cc;flex:none;align-items:center;display:flex}.questions{flex-direction:column;gap:18px;margin-top:12px;display:flex}.question{flex-direction:column;gap:6px;display:flex}.question-label{overflow-wrap:anywhere;font-size:.95rem;font-weight:600}.question-help{color:#71717a;margin:0;font-size:.82rem}.req{color:#dc2626}.choice-row{flex-wrap:wrap;gap:8px;display:flex}.choice{color:#18181b;background:#f4f4f5;border:1px solid #d4d4d8;border-radius:8px;min-height:44px;padding:10px 22px}.choice-on{background:var(--accent);color:#fff;border-color:var(--accent)}.checks{flex-direction:column;gap:8px;display:flex}.check{align-items:center;gap:8px;font-size:.95rem;font-weight:400;display:flex}.check input{width:auto}.capture-stub{text-align:center;color:#71717a;background:#fafafa;border:1px dashed #d4d4d8;border-radius:8px;padding:16px;font-size:.9rem}.signature{flex-direction:column;gap:6px;display:flex}.signature-canvas{touch-action:none;cursor:crosshair;background:#fff;border:1px solid #d4d4d8;border-radius:8px;width:100%;max-width:100%;height:180px;display:block}.signature-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.photo-q{flex-direction:column;gap:8px;display:flex}.photo-btn{color:#18181b;background:#f4f4f5;border:1px dashed #d4d4d8;border-radius:8px;min-height:44px;padding:16px}.photo-preview img{border:1px solid #e4e4e7;border-radius:8px;max-width:100%;max-height:240px;display:block}.photo-actions{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.syncbar{border:1px solid #e4e4e7;border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 14px;font-size:.85rem;display:flex}.syncbar-ok{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.syncbar-warn{color:#854d0e;background:#fffbeb;border-color:#fde68a}.syncbar-off{color:#991b1b;background:#fef2f2;border-color:#fecaca}.dot{border-radius:999px;flex:none;width:8px;height:8px;display:inline-block}.dot-ok{background:#22c55e}.dot-warn{background:#f59e0b}.dot-off{background:#ef4444}.syncbar .link{margin-left:auto}.syncdot{flex:none;width:10px;height:10px}.syncbadge{border:1px solid;border-radius:999px;flex:none;align-items:center;gap:6px;min-height:0;padding:5px 10px;font-size:.72rem;font-weight:600;line-height:1;display:inline-flex}.syncbadge-text{white-space:nowrap}.syncbadge-warn{color:#854d0e;cursor:pointer;background:#fffbeb;border-color:#fde68a}.syncbadge-off{color:#991b1b;cursor:default;background:#fef2f2;border-color:#fecaca}@media (width<=560px){#root{padding-top:calc(10px + env(safe-area-inset-top));padding-right:calc(10px + env(safe-area-inset-right));padding-bottom:calc(66px + env(safe-area-inset-bottom));padding-left:calc(10px + env(safe-area-inset-left))}.card{padding:14px}.form-row{flex-direction:column}.topbar{gap:8px}h1{font-size:1.25rem}}.list-row{border-top:1px solid #f0f0f0;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 0;display:flex}.list-text{flex-direction:column;flex:auto;gap:4px;min-width:0;display:flex}.list-titleline{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.list-titleline strong{overflow-wrap:anywhere}.list-desc{color:#71717a;overflow-wrap:anywhere;margin:0;font-size:.85rem}.list-row .list-actions{flex:none}.list li.list-row{flex-wrap:nowrap}.stat-grid{grid-template-columns:1fr 1fr;gap:10px;margin:14px 0;display:grid}.stat{min-width:0;font:inherit;color:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;border:2px solid #0000;border-radius:12px;width:100%;min-height:0;padding:14px 16px;transition:transform 60ms}.stat:active{transform:scale(.97)}.stat-on{box-shadow:0 2px 8px #00000012}.stat-today.stat-on{border-color:#2563eb}.stat-overdue.stat-on{border-color:#dc2626}.stat-upcoming.stat-on{border-color:#d97706}.stat-resolved.stat-on{border-color:#16a34a}.stat-num{font-size:1.8rem;font-weight:700;line-height:1}.stat-label{color:#3f3f46;margin-top:5px;font-size:.9rem;font-weight:600}.stat-today{background:#eff6ff}.stat-today .stat-num{color:#2563eb}.stat-overdue{background:#fef2f2}.stat-overdue .stat-num{color:#dc2626}.stat-upcoming{background:#fffbeb}.stat-upcoming .stat-num{color:#b45309}.stat-resolved{background:#f0fdf4}.stat-resolved .stat-num{color:#16a34a}.seg{background:#f1f5f9;border-radius:10px;gap:4px;margin:10px 0;padding:4px;display:inline-flex}.seg-btn{color:#71717a;cursor:pointer;background:0 0;border:none;border-radius:7px;min-height:0;padding:8px 16px;font-size:.9rem;font-weight:500}.seg-on{color:#18181b;background:#fff;font-weight:600;box-shadow:0 1px 3px #0000001f}.filter-row{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.filter-pill{color:#52525b;background:#f4f4f5;border:1px solid #e4e4e7;border-radius:999px;min-height:0;padding:7px 12px;font-size:.85rem}.filter-on{background:var(--accent);color:#fff;border-color:var(--accent)}.prio{white-space:nowrap;text-transform:capitalize;border-radius:999px;padding:2px 10px;font-size:.75rem}.prio-low{color:#475569;background:#f1f5f9}.prio-medium{color:#4338ca;background:#eef2ff}.prio-high{color:#c2410c;background:#fff7ed}.prio-urgent{color:#b91c1c;background:#fef2f2}.empty-state{text-align:center;padding:32px 16px}.empty-check{color:#16a34a;border:2px solid #d4d4d8;border-radius:999px;width:48px;height:48px;margin:0 auto 12px;font-size:1.4rem;line-height:48px}.label-preview{background:#fff;border:1px solid #e4e4e7;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;padding:16px;display:flex}.label-info{min-width:0}.label-info strong{font-size:1.05rem}.label-info p{margin:2px 0 0;font-size:.82rem}.label-qr{flex:none;width:96px;height:96px}.label-barcode{background:#fff;border:1px solid #f0f0f0;border-radius:8px;width:100%;max-width:320px;margin:0 auto 8px;padding:8px;display:block}.label-preview code,.card code{word-break:break-all;background:#f4f4f5;border-radius:4px;padding:1px 5px;font-size:.8rem}.cal-head{justify-content:space-between;align-items:center;gap:8px;margin:6px 0 12px;display:flex}.cal-title{color:#18181b;min-width:0;font-size:1.05rem;font-weight:700}.cal-nav{flex:none;align-items:center;gap:4px;display:flex}.cal-navbtn{color:#18181b;cursor:pointer;background:#f4f4f5;border:1px solid #e4e4e7;border-radius:8px;min-height:0;padding:6px 12px;font-size:1.05rem;line-height:1}.cal-navbtn:active{background:#e4e4e7}.cal-weekdays{grid-template-columns:repeat(7,1fr);gap:2px;margin-bottom:4px;display:grid}.cal-weekday{text-align:center;color:#a1a1aa;padding:4px 0;font-size:.7rem;font-weight:600}.cal-grid{grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.cal-cell{aspect-ratio:1;cursor:pointer;color:#18181b;-webkit-tap-highlight-color:transparent;background:0 0;border:none;border-radius:10px;flex-direction:column;align-items:center;gap:3px;min-height:0;padding:4px 0 0;display:flex}.cal-cell-empty{visibility:hidden;cursor:default}.cal-cell:not(.cal-cell-empty):hover{background:#f4f4f5}.cal-daynum{border-radius:999px;justify-content:center;align-items:center;width:1.95em;height:1.95em;font-size:.9rem;line-height:1;display:flex}.cal-today .cal-daynum{box-shadow:inset 0 0 0 2px var(--accent);font-weight:700}.cal-selected .cal-daynum{background:var(--accent);color:#fff;box-shadow:none;font-weight:700}.cal-dots{justify-content:center;align-items:center;gap:3px;height:6px;display:flex}.cal-dot{border-radius:999px;width:5px;height:5px}.tone-overdue{background:#dc2626}.tone-today{background:#2563eb}.tone-upcoming{background:#d97706}.tone-done{background:#16a34a}.tone-neutral{background:#a1a1aa}.cal-dayhead{color:#18181b;flex-wrap:wrap;align-items:baseline;gap:8px;margin:16px 0 2px;font-size:.95rem;font-weight:600;display:flex}.cal-daycount{color:#a1a1aa;font-size:.82rem;font-weight:500}.cal-empty-day{color:#71717a;padding:10px 0 2px;font-size:.9rem}.cal-item{border-top:1px solid #f0f0f0;align-items:stretch;gap:10px;padding:12px 0;display:flex}.cal-item-rule{border-radius:999px;flex:none;width:4px}.cal-item-body{flex-direction:column;flex:auto;gap:3px;min-width:0;display:flex}.cal-item-title{color:#18181b;overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;font-size:.92rem;font-weight:600;display:flex}.cal-item-sub{color:#71717a;overflow-wrap:anywhere;font-size:.82rem}.cal-kind{text-transform:uppercase;letter-spacing:.03em;border-radius:999px;flex:none;padding:1px 7px;font-size:.68rem;font-weight:600}.cal-kind-task{color:#1d4ed8;background:#eff6ff}.cal-kind-event{color:#15803d;background:#f0fdf4}.cal-kind-timeline{color:#52525b;background:#f4f4f5}
