:root{color:#f7f8fb;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:#0b1119;font-family:Inter,Segoe UI,Roboto,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:400;line-height:1.5}*{box-sizing:border-box}body{background:radial-gradient(circle at 0 0,#4f7fa826,#0000 28%),#0b1119;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{transition:transform .18s,background .18s}button:hover{transform:translateY(-1px)}#root{width:100%;min-height:100vh}:root{--action-accent:#4f9b63;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.app-shell{box-sizing:border-box;flex-direction:column;gap:20px;min-height:100vh;padding:24px;display:flex}.topbar{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#111822d9;border:1px solid #7d99b829;border-radius:20px;justify-content:space-between;align-items:center;gap:16px;padding:20px 24px;display:flex}.eyebrow{text-transform:uppercase;letter-spacing:.2em;color:#8ea7bf;margin:0 0 4px;font-size:.76rem}.topbar h1{color:#f7f8fb;margin:0;font-size:1.6rem}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.pwa-status-stack{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pwa-status-pill{color:#dfe8f3;letter-spacing:.04em;text-transform:uppercase;background:#4f7fa824;border:1px solid #7d99b83d;border-radius:999px;align-items:center;gap:6px;padding:7px 10px;font-size:.78rem;font-weight:600;display:inline-flex}.search-field{background:#ffffff0a;border:1px solid #7d99b838;border-radius:999px;align-items:center;gap:8px;min-width:min(260px,100%);padding:10px 12px;display:flex}.search-field input{color:#f5f7fb;background:0 0;border:0;outline:none;width:100%}.assignee-filter{background:#ffffff0a;border:1px solid #7d99b838;border-radius:999px;align-items:center;gap:8px;padding:8px 12px;display:inline-flex}.assignee-filter span{color:#8ea7bf;text-transform:uppercase;letter-spacing:.08em;font-size:.8rem}.assignee-filter select,.assignee-field select,.drawer-form select{color:#f4f7fb;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:#17212d;border:0;outline:none;min-width:180px}.assignee-filter select option,.assignee-field select option,.drawer-form select option{color:#f4f7fb;background-color:#17212d}.assignee-filter select option:disabled,.assignee-field select option:disabled,.drawer-form select option:disabled{color:#8ea7bf;background-color:#17212d}.board-filter-row{flex-wrap:wrap;align-self:flex-start;align-items:center;gap:8px;margin-bottom:12px;display:flex}.board-filter-clear{padding:8px 12px;font-size:.82rem}.assignee-field{align-items:center;display:flex}.assignee-field select{width:100%;min-width:0}.search-icon{color:#8fa9c5}.primary-btn,.secondary-btn,.icon-btn{cursor:pointer;border:0;border-radius:999px;padding:10px 14px;font-size:.95rem;font-weight:600}.primary-btn{color:#fff;background:#4f7fa8}.new-order-btn,.create-order-submit-btn{background:var(--action-accent);color:#f7f8fb}.secondary-btn{color:#e4e9f0;background:#ffffff0f}.archive-toggle-btn{align-items:center;gap:8px;display:inline-flex}.archive-toggle-btn svg{fill:currentColor;width:16px;height:16px}.icon-btn{color:#f7f8fb;background:#ffffff14;width:40px;height:40px;font-size:1.25rem}.user-pill{background:#ffffff0a;border-radius:999px;align-items:center;gap:10px;padding:8px 12px;display:flex}.avatar{color:#09101b;background:#8ea7bf;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:700;display:grid}.user-pill strong,.user-pill p{display:block}.user-pill p{color:#98a8bc;margin:2px 0 0;font-size:.82rem}.status-banner{color:#f8dbdb;background:#98303029;border:1px solid #ffffff1a;border-radius:14px;padding:12px 16px}.board-footer{color:#7d92ac;letter-spacing:.08em;text-transform:uppercase;justify-content:flex-end;padding:8px 4px 0;font-size:.82rem;display:flex}.board-shell{flex:1;min-height:0}.loading-state{color:#9fb0c7;background:#0c10188f;border:1px dashed #7d99b833;border-radius:20px;place-items:center;min-height:320px;display:grid}.kanban-board{grid-template-columns:repeat(4,minmax(240px,1fr));gap:16px;min-height:100%;padding-bottom:8px;display:grid;overflow-x:auto}.kanban-column{background:#181f2bf5;border:1px solid #7d99b829;border-radius:20px;flex-direction:column;min-height:420px;padding:14px;display:flex;box-shadow:0 12px 24px #00000029}.kanban-column.droppable{border-color:#4f7fa8;box-shadow:inset 0 0 0 1px #4f7fa833}.column-header{margin-bottom:12px}.column-header h2{color:#f7f8fb;margin:0 0 4px;font-size:1rem}.column-header p{color:#8ea7bf;margin:0;font-size:.9rem}.column-body{flex-direction:column;flex:1;gap:10px;display:flex}.work-card{color:#17212b;cursor:grab;background:#fcfcfd;border:1px solid #dfe4ea;border-radius:16px;outline:none;flex-direction:column;gap:10px;padding:14px;display:flex;position:relative;overflow:hidden;box-shadow:0 8px 18px #070c1214}.priority-strip{border-radius:999px;width:100%;height:3px;margin:8px 0 10px}.priority-strip.high{background:#d86565}.priority-strip.medium{background:#d69a3b}.priority-strip.low{background:#4f9b63}.work-card.dragging{box-shadow:0 14px 30px #0000004d}.work-card:hover{border-color:#4f7fa873}.overlay-card{min-width:220px}.card-top{justify-content:space-between;align-items:flex-start;gap:8px;padding-top:4px;padding-right:4px;display:flex}.card-top h3{color:#121a24;margin:0;font-size:.98rem;font-weight:700}.card-description{color:#5d6874;margin:0;font-size:.92rem;line-height:1.5}.card-footer{justify-content:space-between;align-items:center;gap:8px;margin-top:auto;display:flex}.card-meta{color:#5d6874;flex:1;justify-content:space-between;align-items:center;gap:8px;font-size:.8rem;display:flex}.card-badges{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.comment-pill,.attachment-pill{color:#355a78;background:#4f7fa81f;border-radius:999px;align-items:center;gap:6px;padding:5px 8px;font-size:.76rem;font-weight:700;display:inline-flex}.comment-pill svg{fill:currentColor;width:14px;height:14px}.priority-badge{text-transform:capitalize;border-radius:999px;align-items:center;padding:5px 8px;font-size:.76rem;font-weight:700;display:inline-flex}.priority-badge.high{color:#a63434;background:#d6656529}.priority-badge.medium{color:#9a5c00;background:#d69a3b2e}.priority-badge.low{color:#2b6b3d;background:#4f9b6329}.empty-state{color:#8ea7bf;background:#ffffff05;border:1px dashed #7d99b833;border-radius:14px;place-items:center;min-height:96px;font-size:.92rem;display:grid}.drawer-backdrop{opacity:0;pointer-events:none;background:#03070c8a;transition:opacity .2s;position:fixed;inset:0}.drawer-backdrop.visible{opacity:1;pointer-events:auto}.detail-drawer{box-sizing:border-box;z-index:2;background:#111722;border-left:1px solid #7d99b829;width:min(460px,100%);height:100vh;padding:20px;transition:transform .22s;position:fixed;top:0;right:0;overflow-y:auto;transform:translate(100%)}.detail-drawer.open{transform:translate(0)}.drawer-header{justify-content:space-between;align-items:center;margin-bottom:18px;display:flex}.drawer-header h2{color:#f7f8fb;margin:2px 0 0}.drawer-body{flex-direction:column;gap:16px;display:flex}.drawer-summary{background:#ffffff0a;border:1px solid #7d99b829;border-radius:16px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:12px;display:grid}.summary-block{flex-direction:column;gap:4px;display:flex}.summary-label{text-transform:uppercase;letter-spacing:.14em;color:#8ea7bf;font-size:.75rem}.summary-value{text-transform:capitalize}.summary-value.high{color:#ffb0b0}.summary-value.medium{color:#ffcf93}.summary-value.low{color:#a8e2b1}.tab-switcher{background:#ffffff0a;border:1px solid #7d99b829;border-radius:999px;gap:8px;padding:4px;display:inline-flex}.tab-btn{color:#9fb0c7;cursor:pointer;background:0 0;border:0;border-radius:999px;padding:8px 12px}.tab-btn.active{background:var(--action-accent);color:#fff}.drawer-form{flex-direction:column;gap:14px;display:flex}.drawer-form label{color:#e4e9f0;flex-direction:column;gap:8px;font-size:.95rem;display:flex}.drawer-form input,.drawer-form textarea,.drawer-form select{color:#f7f8fb;font:inherit;background:#111822f5;border:1px solid #7d99b83d;border-radius:12px;padding:10px 12px}.drawer-form select{color:#f4f7fb;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;background-color:#17212d}.drawer-form textarea{resize:vertical}.form-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.drawer-actions{justify-content:flex-end;gap:10px;margin-top:8px;display:flex}.security-section{background:#ffffff08;border:1px solid #7d99b833;border-radius:16px;flex-direction:column;gap:12px;padding:14px;display:flex}.security-section-header{flex-direction:column;gap:4px;display:flex}.security-section-header h3{color:#f7f8fb;margin:0;font-size:1rem}.security-section-header p{color:#8ea7bf;margin:0;font-size:.9rem}.password-input-row{align-items:center;gap:8px;display:flex}.password-input-row input{flex:1}.password-toggle-btn{color:#e4e9f0;cursor:pointer;font:inherit;white-space:nowrap;background:#ffffff0d;border:1px solid #7d99b83d;border-radius:999px;padding:10px 12px}.security-actions{justify-content:flex-end;margin-top:0}.status-banner.success{color:#d9f7e8;background:#3b825733;border-color:#4ade803d}.work-order-footer-actions{border-top:1px solid #7d99b829;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding-top:12px;display:flex}.work-order-action-group{flex-wrap:nowrap;align-items:center;gap:8px;display:flex}.work-order-action-group--record{margin-right:auto}.work-order-action-group--form{margin-left:auto}.work-order-footer-actions .primary-btn,.work-order-footer-actions .secondary-btn,.work-order-footer-actions .danger-btn{white-space:nowrap;border-radius:10px;min-height:40px;padding:8px 12px;font-weight:600;line-height:1.1}.work-order-footer-actions .secondary-btn{color:#e4e9f0;background:#ffffff0a;border:1px solid #7d99b83d}.work-order-footer-actions .secondary-btn:hover,.work-order-footer-actions .secondary-btn:focus-visible{background:#ffffff14;border-color:#7d99b866}.work-order-footer-actions .danger-btn{color:#f2b0b0;background:#8e2a2a14;border:1px solid #c45a5a47}.work-order-footer-actions .danger-btn:hover,.work-order-footer-actions .danger-btn:focus-visible{color:#fff;background:#8e2a2a29;border-color:#c45a5a7a}.activity-panel{flex-direction:column;gap:18px;display:flex}.comment-section,.activity-section{flex-direction:column;gap:12px;display:flex}.section-heading{justify-content:space-between;align-items:center;display:flex}.section-heading h3{color:#f7f8fb;margin:0}.comment-box{flex-direction:column;gap:10px;display:flex}.timeline-list{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.timeline-item{background:#ffffff0a;border:1px solid #7d99b824;border-radius:14px;gap:10px;padding:10px 12px;display:flex}.timeline-item.comment{border-color:#4f7fa847}.timeline-item.activity{background:#4f7fa81a}.timeline-avatar{color:#07121b;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;font-size:.82rem;font-weight:700;display:grid}.timeline-content{flex-direction:column;gap:4px;display:flex}.timeline-meta{color:#8ea7bf;justify-content:space-between;align-items:center;gap:10px;font-size:.84rem;display:flex}.timeline-author{align-items:center;gap:8px;display:flex}.timeline-tag{color:#cfd9e6;text-transform:uppercase;letter-spacing:.08em;background:#ffffff14;border-radius:999px;padding:3px 7px;font-size:.72rem}.timeline-content p{color:#f2f5f9;margin:0;line-height:1.5}.empty-timeline{color:#8ea7bf;text-align:center;border:1px dashed #7d99b83d;border-radius:14px;padding:16px}.files-panel{flex-direction:column;gap:12px;display:flex}.attachments-section{background:#ffffff0a;border:1px solid #7d99b829;border-radius:16px;flex-direction:column;gap:10px;padding:12px;display:flex}.attachments-section.dragging{background:#4f7fa81f;border-color:#4f7fa8}.inline-attachment-action{align-items:center;display:inline-flex}.attachment-chip{color:#f2f5f9;cursor:pointer;background:#4f7fa824;border:1px solid #7d99b83d;border-radius:999px;align-items:center;gap:8px;padding:8px 12px;font-weight:600;display:inline-flex}.attachment-chip svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.attachment-chip:hover,.attachment-chip:focus-visible{border-color:#5aa7ff;outline:none}.upload-dropzone{background:#ffffff0a;border:1px dashed #7d99b847;border-radius:16px;padding:12px}.upload-dropzone.dragging{background:#4f7fa81f;border-color:#4f7fa8}.upload-dropzone-content{flex-direction:column;align-items:flex-start;gap:8px;padding:8px;display:flex}.upload-dropzone-content p{color:#9fb0c7;margin:0}.attachment-grid{flex-direction:column;gap:10px;display:flex}.attachment-item{background:#ffffff0a;border:1px solid #7d99b829;border-radius:14px;align-items:center;gap:10px;padding:10px;display:flex}.attachment-thumb{object-fit:cover;border-radius:10px;flex-shrink:0;width:64px;height:64px}.attachment-placeholder{color:#5aa7ff;background:#4f7fa82e;border-radius:10px;flex-shrink:0;place-items:center;width:64px;height:64px;font-weight:700;display:grid}.attachment-details{flex:1;justify-content:space-between;align-items:center;gap:10px;display:flex}.attachment-actions{gap:8px;display:flex}.attachment-action{padding:8px 10px}.attachment-details strong{color:#f7f8fb;display:block}.attachment-details p{color:#8ea7bf;margin:4px 0 0;font-size:.9rem}.attachment-remove{padding:8px 10px}.files-footer{flex-direction:column;gap:10px;margin-top:6px;display:flex}.files-meta{color:#8ea7bf;justify-content:space-between;align-items:center;gap:10px;font-size:.9rem;display:flex}.files-actions{justify-content:flex-end;gap:10px;display:flex}.files-toast{color:#a8e2b1;margin:0;font-size:.9rem}.archive-drawer{box-sizing:border-box;z-index:3;background:#111722;border-left:1px solid #7d99b829;width:min(620px,100%);height:100vh;padding:20px;transition:transform .22s;position:fixed;top:0;right:0;overflow-y:auto;transform:translate(100%)}.archive-drawer.open{transform:translate(0)}.archive-drawer-body{flex-direction:column;gap:12px;display:flex}.archive-subtitle{color:#8ea7bf;margin:0;font-size:.95rem}.archive-search{min-width:0}.archive-list{flex-direction:column;gap:10px;display:flex}.archive-card{text-align:left;color:inherit;cursor:pointer;background:#ffffff0a;border:1px solid #7d99b829;border-radius:16px;flex-direction:column;gap:8px;padding:12px 14px;display:flex}.archive-card-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.archive-card-meta{color:#8ea7bf;justify-content:space-between;align-items:center;gap:10px;font-size:.9rem;display:flex}.archive-card-meta.muted{color:#99a8bd}.modal-backdrop{z-index:4;background:#03070c94;position:fixed;inset:0}.bulk-toolbar{background:#111822f2;border:1px solid #7d99b829;border-radius:16px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:12px 14px;display:flex}.bulk-toolbar-actions{flex-wrap:wrap;gap:8px;display:flex}.confirm-input{flex-direction:column;gap:8px;margin-bottom:16px;display:flex}.confirm-input span{color:#8ea7bf;font-size:.9rem}.confirm-input input{color:#f7f8fb;background:#ffffff0a;border:1px solid #7d99b842;border-radius:10px;padding:10px 12px}.danger-btn{color:#fff;cursor:pointer;background:#8e2a2a;border:0;border-radius:999px;padding:10px 14px}.danger-btn:disabled{opacity:.62;cursor:not-allowed}.selection-toggle{color:#0000;cursor:pointer;background:0 0;border:1px solid #7d99b84d;border-radius:50%;width:24px;height:24px}.selection-toggle.selected{color:#f7f8fb;background:#4f9b63}.work-card.selected{border-color:#4f9b63a6;box-shadow:0 0 0 1px #4f9b6359}.card-title-row{align-items:center;gap:8px;min-width:0;display:flex}.card-title-row h3{margin:0}.confirm-modal{z-index:5;background:#111722;border:1px solid #7d99b82e;border-radius:18px;width:min(420px,100% - 24px);padding:20px;position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 20px 38px #00000047}.confirm-modal h3{color:#f7f8fb;margin:0 0 8px}.confirm-modal p{color:#9fb0c7;margin:0 0 16px;line-height:1.5}.toast-viewport{z-index:5;flex-direction:column;gap:10px;display:flex;position:fixed;bottom:24px;right:20px}.toast-card{color:#f7f8fb;background:#111822f5;border:1px solid #7d99b829;border-radius:14px;align-items:flex-start;gap:10px;min-width:280px;max-width:360px;padding:12px 14px;display:flex;box-shadow:0 12px 24px #0000003d}.toast-card.success{background:#133a22f5;border-color:#66b0756b}.toast-card.warning{background:#4e3814f5;border-color:#d69e416b}.toast-card.error{background:#5a1818f5;border-color:#dc60606b}.toast-card.info{background:#131f2cf5;border-color:#4f7fa857}.toast-icon{background:#ffffff24;border-radius:50%;place-items:center;width:24px;height:24px;font-weight:700;display:grid}.toast-content{flex:1}.toast-content strong{margin-bottom:2px;display:block}.toast-content p{color:#dfe6ee;margin:0;font-size:.9rem}.toast-close{color:#f7f8fb;cursor:pointer;background:0 0;border:0;font-size:1rem}.attachment-viewer-backdrop{z-index:6;background:#02060ad1;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.attachment-viewer-modal{background:#0f1722;border:1px solid #7d99b83d;border-radius:20px;flex-direction:column;width:min(980px,100%);max-height:min(92vh,960px);display:flex;overflow:hidden;box-shadow:0 20px 44px #0000005c}.attachment-viewer-header,.attachment-viewer-toolbar,.attachment-viewer-details{border-bottom:1px solid #7d99b829;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;display:flex}.attachment-viewer-header h2{color:#f7f8fb;margin:4px 0 0;font-size:1.1rem}.attachment-viewer-header-actions,.attachment-viewer-nav{align-items:center;gap:8px;display:flex}.attachment-viewer-toolbar{justify-content:center}.attachment-viewer-position{color:#8ea7bf;font-size:.92rem}.attachment-viewer-body{background:#ffffff05;flex:1;justify-content:center;align-items:center;min-height:320px;padding:18px;display:flex;overflow:auto}.attachment-viewer-media{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.attachment-viewer-image{object-fit:contain;max-width:100%;max-height:100%;display:block}.attachment-viewer-pdf{background:#fff;border:0;border-radius:12px;width:100%;min-height:60vh}.attachment-viewer-loading,.attachment-viewer-error,.attachment-viewer-empty,.attachment-viewer-fallback{color:#c3d0de;text-align:center;border:1px dashed #7d99b83d;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:220px;padding:20px;display:flex}.attachment-viewer-details{color:#dce4ee;border-bottom:0;font-size:.95rem}.attachment-viewer-meta{color:#8ea7bf;flex-wrap:wrap;gap:12px;display:flex}.attachment-viewer-header svg,.attachment-viewer-nav svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}.primary-btn:disabled{opacity:.7;cursor:wait}@media (width<=1000px){.topbar{flex-direction:column;align-items:flex-start}.topbar-actions{justify-content:flex-start;width:100%}.kanban-board{grid-template-columns:repeat(4,minmax(260px,1fr))}}@media (width<=760px){.attachment-viewer-backdrop{padding:0}.attachment-viewer-modal{border-radius:0;width:100%;max-height:100vh}.attachment-viewer-header,.attachment-viewer-toolbar,.attachment-viewer-details{flex-wrap:wrap;padding:12px 14px}.attachment-viewer-header-actions,.attachment-viewer-nav{justify-content:space-between;width:100%}.attachment-viewer-body{padding:12px}.attachment-viewer-pdf{min-height:50vh}.app-shell{padding:14px}.topbar-actions{flex-direction:column;align-items:stretch}.search-field,.user-pill,.primary-btn,.secondary-btn,.archive-toggle-btn{justify-content:center;width:100%}.user-pill{justify-content:flex-start}.kanban-board{grid-template-columns:repeat(4,minmax(240px,1fr))}.form-row{grid-template-columns:1fr}.drawer-actions,.files-actions{flex-wrap:wrap}.work-order-footer-actions{flex-direction:column;align-items:stretch}.work-order-action-group{justify-content:flex-start;width:100%}.work-order-action-group--record{margin-right:0}.work-order-action-group--form{justify-content:flex-end;margin-left:0}.work-order-footer-actions .primary-btn,.work-order-footer-actions .secondary-btn,.work-order-footer-actions .danger-btn{flex:1 1 0;justify-content:center}.toast-viewport{bottom:12px;left:12px;right:12px}.toast-card{min-width:0;max-width:none}}
