*{box-sizing:border-box}body{color:#172b4d;background:#f4f5f7;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}header{color:#fff;background:#1a1f36;justify-content:space-between;align-items:center;padding:12px 20px;display:flex}header h1{margin:0;font-size:18px}.header-mark{flex-shrink:0;width:28px;height:28px;margin:0 2px;display:block}header button{color:#fff;cursor:pointer;background:#4c6ef5;border:none;border-radius:6px;padding:8px 14px;font-size:14px}.board{gap:16px;padding:20px;display:flex;overflow-x:auto}.column{background:#ebecf0;border-radius:8px;width:260px;min-width:260px;padding:10px}.column h2{text-transform:uppercase;letter-spacing:.03em;color:#5e6c84;margin:4px 6px 10px;font-size:13px}.card{background:#fff;border-left:4px solid #dfe1e6;border-radius:6px;margin-bottom:8px;padding:10px 12px;box-shadow:0 1px 2px #091e4240}.card.status-todo{border-left-color:#6b778c}.card.status-in_progress{border-left-color:#4c6ef5}.card.status-blocked{border-left-color:#e03131}.card.status-review{border-left-color:#ae3ec9}.card.status-done{border-left-color:#2f9e44}.subtask-row{box-sizing:border-box;grid-template-columns:18px 1fr 20px;align-items:start;gap:8px;width:100%;padding:4px 0;font-size:13px;display:grid}.subtask-row input[type=checkbox]{margin-top:2px}.subtask-row .subtask-text{overflow-wrap:break-word;word-break:break-word;min-width:0}.subtask-row .subtask-text.done{color:#8592a6;text-decoration:line-through}.subtask-row .subtask-delete{color:#c92a2a;cursor:pointer;background:0 0;border:none;font-size:12px}#subtask-list{box-sizing:border-box;width:100%;overflow-x:hidden}.subtask-progress{color:#5e6c84;font-size:11px}textarea.modal-textarea{resize:vertical;border:1px solid #dfe1e6;border-radius:4px;width:100%;min-height:60px;padding:8px;font-family:inherit;font-size:14px}.card-title{margin-bottom:6px;font-size:14px;font-weight:600}.card-meta{color:#5e6c84;flex-wrap:wrap;gap:6px;margin-bottom:8px;font-size:12px;display:flex}.badge{background:#dfe1e6;border-radius:3px;padding:2px 6px}.badge.blocked{color:#c92a2a;background:#ffe3e3}.badge.material{color:#1971c2;background:#e7f5ff}.card select{border:1px solid #dfe1e6;border-radius:4px;width:100%;padding:4px;font-size:12px}.overlay{z-index:10000;box-sizing:border-box;background:#091e4280;justify-content:center;align-items:center;padding:12px;display:flex;position:fixed;inset:0;overflow-y:auto}.modal{overscroll-behavior:contain;box-sizing:border-box;background:#fff;border-radius:8px;width:360px;max-width:90vw;max-height:calc(100dvh - 24px);padding:20px;overflow:auto}.modal h2{margin-top:0;font-size:16px}.modal label{color:#5e6c84;margin-top:10px;margin-bottom:4px;font-size:12px;display:block}.modal input,.modal select{border:1px solid #dfe1e6;border-radius:4px;width:100%;padding:8px;font-size:14px}.modal-actions{justify-content:flex-end;gap:8px;margin-top:16px;display:flex}.modal-actions button{cursor:pointer;border:none;border-radius:6px;padding:8px 14px;font-size:14px}.btn-primary{color:#fff;background:#4c6ef5}.btn-secondary{color:#172b4d;background:#ebecf0}.center-screen{box-sizing:border-box;flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:100vh;padding:24px 16px;display:flex}.brand-logo{margin:0 0 8px;line-height:0}.brand-logo img{width:220px;max-width:70vw;height:auto;display:block}.project-list{flex-direction:column;gap:6px;min-width:240px;display:flex}.project-list button{cursor:pointer;text-align:left;background:#fff;border:1px solid #dfe1e6;border-radius:6px;padding:10px}.ms-dropdown-panel,.action-menu-panel{max-width:calc(100vw - 24px);max-height:60vh;overflow-y:auto}.mi-session-row>span{overflow-wrap:anywhere;min-width:0}.sub-tabs{scrollbar-width:thin;overflow-x:auto}.sub-tabs>button{white-space:nowrap;flex-shrink:0}.sticky-toolbar{z-index:15;background:#f4f5f7;padding-top:8px;padding-bottom:8px;position:sticky;top:0;box-shadow:0 6px 6px -6px #091e4233}.hamburger-btn{display:none}#nav-drawer{z-index:10003;position:fixed;inset:0}.nav-drawer-backdrop{opacity:0;background:#091e4280;transition:opacity .2s;position:absolute;inset:0}.nav-drawer-panel{color:#172b4d;box-sizing:border-box;background:#fff;width:min(300px,85vw);padding:14px 10px 24px;transition:transform .2s;position:absolute;top:0;bottom:0;left:0;overflow-y:auto;transform:translate(-100%);box-shadow:4px 0 16px #0003}#nav-drawer.open .nav-drawer-backdrop{opacity:1}#nav-drawer.open .nav-drawer-panel{transform:translate(0)}.modal-close-bar{z-index:5;justify-content:flex-end;height:0;display:flex;position:sticky;top:20px}.modal-close-x{color:#5e6c84;cursor:pointer;background:#ffffffeb;border:none;border-radius:50%;flex-shrink:0;width:36px;height:36px;margin:-12px -12px 0 0;font-size:24px;line-height:1}.modal-close-x:hover{color:#172b4d;background:#ebecf0}.modal-close-bar+h2,.modal-close-bar+* h2:first-child{padding-right:32px}.bottom-tabs,.toolbar-phone,.fab{display:none}.add-item-round{color:#fff;cursor:pointer;background:#2f9e44;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-size:20px;font-weight:600;line-height:1;display:inline-flex;box-shadow:0 1px 3px #2f9e4466}.add-item-round:hover{background:#2b8a3e}@media (width>=701px){.show-on-phone{display:none!important}}.board-status-tabs,.detail-settings-toggle{display:none}#tap-tip-bubble{z-index:10010;color:#fff;white-space:pre-line;pointer-events:none;background:#1a1f36;border-radius:6px;max-width:min(280px,100vw - 16px);padding:8px 10px;font-size:13px;line-height:1.35;position:fixed;box-shadow:0 4px 12px #00000040}@media (hover:none){.tap-tip{cursor:pointer;text-underline-offset:3px;-webkit-text-decoration:underline dotted #a5adba;text-decoration:underline dotted #a5adba}.tap-tip.info-dot{text-decoration:none}}.info-dot{color:#5e6c84;cursor:help;border:1px solid #a5adba;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-family:Georgia,serif;font-size:11px;font-style:italic;font-weight:700;display:inline-flex}@media (pointer:coarse){button:not(.doc-clip):not(.badge),select{min-height:36px}input[type=checkbox],input[type=radio]{min-width:20px;width:20px!important;height:20px!important}}@media (width>=701px) and (width<=1100px){header.app-header{padding:10px 14px;flex-wrap:nowrap!important}.app-header-left{flex:1}.app-nav{flex-shrink:0;flex-wrap:nowrap!important;gap:4px!important}.app-nav .nav-tab{padding:7px 10px;font-size:13px}}.phone-sort{display:none}@media (width<=700px){body{padding-bottom:calc(var(--tabbar-h,56px) + 84px)}header.app-header{padding:8px 10px;flex-wrap:nowrap!important}.app-header-left{flex:1}header.app-header h1{font-size:16px}.header-mark{width:24px;height:24px}.app-nav .nav-tab{display:none}.app-nav{flex-shrink:0;flex-wrap:nowrap!important}header button{padding:8px 10px}.logs-layout{flex-direction:column}.logs-sidebar{border-bottom:1px solid #dfe1e6;border-right:none!important;width:100%!important}.logs-sidebar.collapsed{height:36px}#logs-category-list{overflow-x:auto;flex-direction:row!important;padding-bottom:6px!important}#logs-category-list>button{flex-shrink:0}.form-grid{grid-template-columns:1fr!important}.overlay{align-items:flex-end;padding:24px 0 0}.modal{border-radius:14px 14px 0 0;padding:16px 16px 0;width:100%!important;max-width:100%!important;max-height:calc(100dvh - 24px)!important}.modal>:last-child:not(.modal-actions){margin-bottom:16px}.modal-close-bar{top:16px}.modal-close-x{width:40px;height:40px;margin:-10px -8px 0 0}.modal-actions{z-index:4;background:#fff;border-top:1px solid #ebecf0;flex-wrap:wrap;margin:16px -16px 0;padding:10px 16px 12px;position:sticky;bottom:0}.modal-actions>button,.modal-actions>div>button,.modal-actions>span>button{flex:auto;min-height:44px}.modal-actions>div,.modal-actions>span{flex-wrap:wrap;flex:auto;gap:8px;display:flex}.modal-danger-row{border-top:1px dashed #dfe1e6;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:12px;display:flex}.modal-danger-row button{cursor:pointer;border:none;border-radius:6px;min-height:40px;padding:8px 14px;font-size:14px}.sticky-toolbar{flex-wrap:nowrap!important}.sticky-toolbar .ms-dropdown,.sticky-toolbar .toolbar-clear,.sticky-toolbar .toolbar-extra,.sticky-toolbar .toolbar-new,.sticky-toolbar .toolbar-hint{display:none!important}.scan-photo-btn{flex-shrink:0;min-width:44px;min-height:44px}.scan-photo-btn .scan-photo-label{display:none}.sticky-toolbar input[type=text]{flex:auto;min-height:40px;min-width:0!important}.cost-code-fix-btn,.bulk-cost-code-scope,.amt-btn,.amt-show-row{min-height:44px}.search-close-hint-text{display:none}.toolbar-phone{flex-shrink:0;gap:8px;display:flex}.toolbar-filters-btn,.toolbar-more-btn{color:#172b4d;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dfe1e6;border-radius:6px;min-height:40px;padding:0 14px;font-size:14px}.toolbar-more-btn{min-width:44px;padding:0 10px;font-size:18px;font-weight:700;line-height:1}.toolbar-filters-btn.active{color:#4c6ef5;background:#eef1ff;border-color:#4c6ef5;font-weight:600}.sticky-toolbar:has(.schedule-source){flex-wrap:wrap!important}.lists-toolbar{box-shadow:none!important;padding:0!important}.lists-toolbar #combine-bar{margin:8px 0}.filter-sheet-group{margin-bottom:16px}.filter-sheet-label{color:#5e6c84;text-transform:uppercase;letter-spacing:.03em;margin-bottom:8px;font-size:12px;font-weight:600}.filter-sheet-options{flex-wrap:wrap;gap:8px;display:flex}.modal label.filter-chip{color:#172b4d;cursor:pointer;background:#fff;border:1px solid #dfe1e6;border-radius:20px;align-items:center;gap:8px;min-height:40px;margin:0;padding:6px 14px 6px 10px;font-size:14px;display:inline-flex}.modal label.filter-chip:has(input:checked){color:#4c6ef5;background:#eef1ff;border-color:#4c6ef5;font-weight:600}.modal label.filter-chip input{margin:0}.more-sheet-list{flex-direction:column;gap:4px;display:flex}.more-sheet-item{color:#172b4d;text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:10px 12px;font-size:15px;display:flex}.more-sheet-item:active{background:#ebecf0}.more-sheet-item.active{color:#4c6ef5;font-weight:600}.fab{right:16px;bottom:calc(var(--tabbar-h,56px) + 16px);z-index:9001;color:#fff;cursor:pointer;background:#4c6ef5;border:none;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;font-size:30px;line-height:1;display:flex;position:fixed;box-shadow:0 4px 12px #4c6ef573}.fab:active{transform:scale(.95)}.board-status-tabs{scrollbar-width:none;gap:6px;padding:4px 12px 0;display:flex;overflow-x:auto}.board-status-tab{color:#172b4d;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #dfe1e6;border-radius:20px;flex-shrink:0;align-items:center;gap:6px;min-height:40px;padding:0 14px;font-size:14px;display:inline-flex}.board-status-tab.active{color:#fff;background:#1a1f36;border-color:#1a1f36;font-weight:600}.board-status-count{color:#5e6c84;text-align:center;background:#ebecf0;border-radius:10px;min-width:20px;padding:1px 6px;font-size:12px;font-weight:600}.board-status-tab.active .board-status-count{color:#fff;background:#fff3}.board .column{display:none}.board .column.phone-active{background:0 0;width:100%;min-width:0;padding:0;display:block}.board .column h2{display:none}.board .column [id^=col-]:empty:after{content:"No tasks here.";text-align:center;color:#8592a6;padding:24px 0;font-size:14px;display:block}.board .card{padding:12px 14px}.card-table,.card-table tbody{display:block}.card-table thead{display:none}.card-table tr{grid-template-columns:1fr 1fr;gap:8px 12px;padding:12px 14px;display:grid}.card-table td{overflow-wrap:anywhere;display:block;white-space:normal!important;min-width:0!important;max-width:none!important;padding:0!important}.card-table td select{max-width:100%}.card-table td:before{content:attr(data-label);color:#8592a6;text-transform:uppercase;letter-spacing:.03em;margin-bottom:2px;font-size:11px;font-weight:400;text-decoration:none;display:block}.card-table td:first-child{grid-column:1/-1;font-size:15px}.card-table td:first-child:before,.card-table td.cell-empty{display:none}.phone-sort{align-items:center;gap:8px;margin-bottom:10px;display:flex}.card-table tr:has(>td.card-select){position:relative}.card-table td.card-select{position:absolute;top:12px;right:14px;width:auto!important}.card-table td.card-select:before{display:none}.card-table td.card-select+td{grid-column:1/-1;font-size:15px;padding-right:32px!important}.card-table td.card-select+td:before{display:none}.card-table td[data-label=Notes]{-webkit-line-clamp:4;-webkit-box-orient:vertical;grid-column:1/-1;display:-webkit-box;overflow:hidden}.detail-items-head{align-items:center;min-width:0!important;display:flex!important}.detail-items-head>span{display:none}.detail-items-head>span:first-of-type{display:inline}.detail-item-row{grid-template-columns:24px minmax(0,1fr) auto!important;align-items:start!important;row-gap:2px!important;min-width:0!important;padding:10px 0!important}.detail-item-row>:first-child{grid-area:1/1/span 4;margin-top:6px}.detail-item-row>:nth-child(2){grid-area:1/2;align-self:center;font-weight:600}.detail-item-row>:nth-child(3),.detail-item-row>:nth-child(4),.detail-item-row>:nth-child(5){grid-column:2;font-size:13px}.detail-item-row>:nth-child(5):before{content:"Cost code ";color:#8592a6}.detail-item-row>:nth-child(6){grid-area:1/3}.detail-item-row>:nth-child(7){text-align:right;grid-area:2/3/span 2}.detail-item-row>:nth-child(8){grid-area:4/3;justify-self:end}.detail-item-row .is-empty{display:none}.detail-qty-input{width:48px!important}.detail-actions{left:0;right:0;bottom:var(--tabbar-h,56px);z-index:8999;background:#fff;border-top:1px solid #dfe1e6;padding:8px 12px;position:fixed;box-shadow:0 -2px 8px #091e4214;flex-wrap:nowrap!important}.detail-actions>button{white-space:nowrap;flex:1 1 0;min-width:0;min-height:44px;font-size:14px!important}.detail-actions .action-menu-toggle{min-width:44px;min-height:44px}.detail-actions .action-menu-panel{bottom:calc(100% + 4px);top:auto!important}body:has(.detail-actions) #sync-status-indicator{bottom:calc(var(--tabbar-h,56px) + 70px)!important}body:has(.detail-actions) .undo-bar{bottom:calc(var(--tabbar-h,56px) + 110px)!important}body:has(.detail-actions){padding-bottom:calc(var(--tabbar-h,56px) + 124px)}.hide-on-phone,.add-item-round{display:none}.detail-settings-toggle{color:#4c6ef5;cursor:pointer;background:0 0;border:none;align-items:center;gap:6px;min-height:40px;padding:0;font-size:14px;display:inline-flex}.detail-settings{margin-top:4px;display:none!important}.detail-settings.open{display:flex!important}.bottom-tabs{z-index:9000;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #dfe1e6;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -2px 8px #091e4214}.bottom-tab{color:#5e6c84;cursor:pointer;background:0 0;border:none;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2px;min-width:0;min-height:56px;padding:6px 2px;font-size:11px;display:flex}.bottom-tab.active{color:#4c6ef5;font-weight:600}.bottom-tab span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}#sync-status-indicator{left:16px;bottom:calc(var(--tabbar-h,56px) + 10px)!important;right:auto!important}#schedule-scroll{max-height:calc(100dvh - 250px)!important}input,select,textarea{font-size:16px!important}td button,td select,.requested-control button,.quote-row-control button,.list-card-actions button,.action-menu-toggle,.ms-dropdown-toggle,.detail-qty-down,.detail-qty-up,.detail-delete-item-btn,.qd-remove-attachment,.rd-remove-ticket,.delete-cat-btn,.team-remove-btn,.mi-session-remove-btn,.key-date-row,.overview-bucket-toggle,.logs-category-item{min-width:36px;min-height:36px}td button,.requested-control button,.quote-row-control button{padding:6px 10px!important;font-size:13px!important}.detail-qty-input{min-height:36px}input[type=checkbox],input[type=radio]{min-width:22px;width:22px!important;height:22px!important}.action-menu-panel button,.ms-dropdown-panel label{align-items:center;min-height:40px;display:flex!important}.undo-bar{bottom:calc(var(--tabbar-h,56px) + 80px)!important}.board{padding:12px}}#update-banner{top:calc(env(safe-area-inset-top,0px) + 64px);z-index:9998;box-sizing:border-box;color:#fff;background:#1b2a3a;border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px 12px;width:max-content;max-width:min(560px,100vw - 32px);padding:10px 12px 10px 14px;font-size:13px;line-height:1.35;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 4px 14px #00000040}.update-banner-text{flex:220px;min-width:0}.update-banner-actions{gap:8px;margin-left:auto;display:flex}.update-banner-actions button{color:#fff;cursor:pointer;background:0 0;border:1px solid #fff6;border-radius:6px;min-height:36px;padding:6px 14px;font-size:13px}.update-banner-actions .update-banner-reload{color:#1b2a3a;background:#fff;border-color:#fff;font-weight:600}@media (width<=700px){#update-banner{width:calc(100vw - 32px)}.update-banner-actions{width:100%}.update-banner-actions button{flex:1;min-height:44px}}.held-writes-modal{width:520px}@media (width<=700px){.held-writes-modal{width:100%;max-width:100%}.held-write button{min-height:44px}}.task-select-modal{width:480px}.task-select-list{border:1px solid #ebecf0;border-radius:6px;max-height:50dvh;overflow-y:auto}.task-select-group{text-transform:uppercase;color:#5e6c84;background:#f4f5f7;padding:6px 10px;font-size:11px;font-weight:700;position:sticky;top:0}.modal label.task-select-row{color:#172b4d;cursor:pointer;border-top:1px solid #ebecf0;align-items:center;gap:10px;margin:0;padding:8px 10px;font-size:13px;display:flex}.modal .task-select-row input{flex:none;width:auto;margin:0}.task-select-title{overflow-wrap:anywhere;flex:1;min-width:0}.task-select-due{color:#5e6c84;white-space:nowrap;font-size:12px}@media (width<=700px){.task-select-modal{width:100%}.modal label.task-select-row{min-height:44px}}.search-close-hint{color:#e67700;white-space:nowrap;cursor:help;flex-shrink:0;font-size:12px;font-weight:600}.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;display:grid}.catalog-family,.catalog-card{text-align:left;color:#172b4d;cursor:pointer;background:#fff;border:1px solid #dfe1e6;border-radius:8px;flex-direction:column;gap:4px;min-width:0;padding:8px;font-size:13px;line-height:1.3;display:flex}.catalog-family:hover,.catalog-card:hover{border-color:#4c6ef5;box-shadow:0 1px 4px #091e4226}.catalog-family strong,.catalog-card strong{overflow-wrap:anywhere;font-weight:600}.catalog-thumb{background:#f4f5f7;border-radius:6px;justify-content:center;align-items:center;height:110px;display:flex;overflow:hidden}.catalog-thumb img{object-fit:contain;background:#fff;max-width:100%;max-height:100%}.catalog-meta{color:#5e6c84;overflow-wrap:anywhere;font-size:11px}.catalog-chips{flex-wrap:wrap;gap:6px;display:flex}.catalog-chip{color:#172b4d;cursor:pointer;background:#fff;border:1px solid #dfe1e6;border-radius:18px;min-height:36px;padding:6px 12px;font-size:13px}.catalog-chip.active{color:#fff;background:#4c6ef5;border-color:#4c6ef5}@media (width<=600px){.catalog-chip{min-height:44px}.catalog-thumb{height:96px}}
