:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}html,body{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}#root{max-width:760px;margin:0 auto;padding:12px}.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:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:10px 14px;display:flex}.topbar-left,.topbar-right{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.brand{font-size:1.05rem;font-weight:700}.org-name{color:#52525b;text-overflow:ellipsis;white-space:nowrap;min-width:0;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;padding:2px 10px;font-size:.75rem}.email{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.85rem;overflow:hidden}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{color:#fff;cursor:pointer;background:#2563eb;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:#2563eb;background:0 0;min-height:0;padding:8px 10px;font-size:.9rem}button.link.danger{color:#dc2626}button.danger-btn{background:#dc2626}.row{justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.row h1{overflow-wrap:anywhere;min-width:0}.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{color:#fff;background:#2563eb}.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{color:#fff;background:#2563eb;border-color:#2563eb}.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}@media (width<=560px){#root{padding:10px}.card{padding:14px}.form-row{flex-direction:column}.topbar{gap:8px}.email{flex-basis:100%}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}.stat-grid{grid-template-columns:1fr 1fr;gap:10px;margin:14px 0;display:grid}.stat{border-radius:12px;min-width:0;padding:14px 16px}.stat-num{font-size:1.6rem;font-weight:700;line-height:1}.stat-label{color:#52525b;margin-top:4px;font-size:.85rem}.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}.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{color:#fff;background:#2563eb;border-color:#2563eb}.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}
