:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--app-primary: #2563eb;--app-primary-active: #1d4ed8;--app-primary-soft: #dbeafe;--app-primary-clarity: rgba(37, 99, 235, .16);--app-primary-inverse: #ffffff;--app-text: #071437;--app-text-muted: #4b5675;--app-text-soft: #78829d;--app-border: #dbdfe9;--app-border-soft: #f1f1f4;--app-panel: #ffffff;--app-page: #ffffff;--app-row: #f9f9f9;--app-row-hover: #f5f8ff;--app-shadow: 0 3px 4px rgba(0, 0, 0, .03);--app-radius: 10px;color:var(--app-text);background:var(--app-page);line-height:1.5}*{box-sizing:border-box}body{margin:0;min-width:320px}.login-page{min-height:100vh;display:grid;place-items:center;background:#f6f8fc;padding:24px}.login-panel{width:min(430px,100%);background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 16px 44px #1426471f;padding:28px;display:grid;gap:18px}.login-brand{display:flex;align-items:center;gap:14px;color:var(--brand)}.login-brand h1{margin:0;color:var(--ink)}.form-error{margin:0;color:#b42318;font-weight:700}.form-success{margin:0;color:#087443;font-weight:700}.link-button,.login-small-link{border:0;background:transparent;color:var(--brand);font:inherit;font-weight:700;cursor:pointer;text-align:center;text-decoration:none;padding:2px}.link-button:disabled{cursor:not-allowed;opacity:.6}.nav-logout{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:8px;padding:7px 9px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;font:inherit;font-size:12px;margin-top:8px}.nav-logout:hover{color:var(--brand);border-color:var(--brand-soft)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-shell{display:grid;grid-template-columns:260px minmax(0,1fr);height:100vh;overflow:hidden}.side-nav{background:#111820;color:#f8fafc;padding:28px 20px;display:flex;flex-direction:column;gap:28px;height:100vh;overflow:auto}.side-nav h1{margin:0;font-size:26px}.side-nav-logo{display:block;width:min(170px,100%);max-height:68px;object-fit:contain;object-position:left center}.mobile-menu-toggle,.mobile-bottom-nav,.mobile-menu-backdrop{display:none}.side-nav nav{display:grid;gap:8px}.side-nav a{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:8px;color:#dbe3ec}.side-nav a.active,.side-nav a:hover{background:#243241;color:#fff}.core-hint{margin-top:auto;display:flex;gap:10px;color:#b5c2cf;font-size:13px}.dev-user-hint{border:1px solid rgba(219,227,236,.18);border-radius:8px;background:#ffffff0f;padding:10px;display:grid;gap:3px;color:#e8eef5;font-size:13px}.dev-user-hint span,.dev-user-hint small{color:#b5c2cf}.content{padding:28px;max-width:1280px;width:100%;height:100vh;overflow:auto;position:relative;--content-header-height: 92px;scroll-padding-top:var(--content-header-height)}.app-product-logo{position:fixed;top:18px;right:26px;width:178px;max-height:54px;object-fit:contain;object-position:right center;z-index:10;pointer-events:none}.content:before{content:"";position:fixed;top:0;right:0;left:260px;height:var(--content-header-height);background:var(--app-page);border-bottom:1px solid var(--app-border-soft);z-index:9;pointer-events:none}.page-stack,.form-stack{display:grid;gap:18px}.page-header,.section-head,.card-head,.action-bar{display:flex;align-items:center;justify-content:space-between;gap:16px}.page-header h2,.panel h3,.card h3{margin:0}.page-header h2{font-size:30px}.eyebrow{margin:0 0 4px;text-transform:uppercase;letter-spacing:0;color:#668092;font-size:12px;font-weight:700}.panel,.card,.state{background:#fff;border:1px solid #dfe6ec;border-radius:8px;box-shadow:0 1px 2px #0f172a0a}.panel{padding:18px;display:grid;gap:16px}.card{padding:16px}.entry-card{display:grid;gap:12px}.kpi-grid,.project-grid,.field-grid{display:grid;gap:14px}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.project-grid,.field-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.kpi,.project-card{background:#fff;border:1px solid #dfe6ec;border-radius:8px;padding:16px}.kpi{display:grid;gap:6px}.kpi svg{color:#2f6f73}.kpi strong{font-size:28px}.kpi p,.kpi small,.muted,.note{margin:0;color:#5f7080}.kpi.warn svg{color:#b35621}.project-card{display:grid;gap:8px}.project-card:hover{border-color:#2f6f73}.btn,.icon-link,.icon-button{border:0;border-radius:8px;background:#2f6f73;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 14px}.btn.secondary{background:#dbe8e6;color:#1f4f52}.btn.danger{background:#b42318;color:#fff}.icon-link,.icon-button{width:38px;min-height:38px;padding:0}.dashboard-hero{align-items:flex-end}.dashboard-header-actions,.quick-actions,.project-card-actions,.task-health-actions,.task-row-actions,.modal-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn:disabled,.icon-button:disabled{opacity:.55;cursor:not-allowed}.task-panel{padding:0;overflow:hidden}.task-toggle{min-height:48px;width:100%;border:0;background:#f8fbff;color:#18375f;padding:0 16px;display:flex;align-items:center;justify-content:space-between;font-weight:800;cursor:pointer}.task-body{display:grid;gap:16px;padding:16px;border-top:1px solid #dfe6ec}.task-head-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.task-user-line{margin:0;color:#5f7080}.scope-toggle{border:1px solid #cbd6df;border-radius:999px;background:#eef3fa;min-height:40px;padding:3px;display:inline-flex;gap:3px;cursor:pointer}.scope-toggle span{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:0 12px;border-radius:999px;color:#315b5d;font-weight:700}.scope-toggle span.is-active{background:#2f6f73;color:#fff}.todo-overview,.project-health{display:grid;gap:12px}.task-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.task-col{display:grid;gap:10px;border:1px solid #dfe6ec;border-radius:8px;padding:12px;background:#fbfcfd}.task-col h3{margin:0;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:16px}.task-count{min-width:30px;min-height:30px;border-radius:999px;background:#dbe8e6;color:#1f4f52;display:inline-flex;align-items:center;justify-content:center;font-weight:800}.task-list{display:grid;gap:10px}.task-item{border:1px solid #dfe6ec;border-radius:8px;background:#fff;padding:11px;display:grid;gap:5px}.task-item span,.task-item p,.task-empty{margin:0;color:#5f7080;font-size:14px}.task-row-actions{justify-content:flex-end}.task-item-health{gap:10px}.task-health-main{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.task-badge{border-radius:999px;padding:5px 10px;font-weight:800;font-size:13px}.task-badge.ok{background:#dcefe7;color:#1f6b44}.task-badge.mid{background:#fff4cc;color:#80610d}.task-badge.warn{background:#fff0e8;color:#9a3412}.project-filter-panel{display:grid;gap:12px;padding:12px;border:1px solid #dfe6ec;border-radius:8px;background:#fbfcfd}.project-filter-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}.project-filter-list label{display:flex;align-items:center;gap:8px;color:#294154}.project-filter-list input{width:16px;height:16px;min-width:16px;accent-color:#2f6f73}.dashboard-project-card{align-content:start}.project-card-head{display:flex;align-items:center;gap:10px}.project-plus{width:28px;height:28px;border-radius:999px;background:#dbe8e6;color:#1f4f52;display:inline-flex;align-items:center;justify-content:center;font-weight:900}.project-card-actions{margin-top:6px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;background:#1118206b;display:grid;place-items:center;padding:18px}.modal-dialog{width:min(760px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border:1px solid #dfe6ec;border-radius:8px;box-shadow:0 18px 45px #0f172a2e;padding:18px;display:grid;gap:16px}.modal-dialog h3{margin:0}.modal-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.modal-title-row p{margin:6px 0 0}.delete-confirm-dialog{width:min(520px,100%)}.contractor-dialog{width:min(1180px,100%)}.dev-user-dialog{width:min(720px,100%)}.delete-confirm-head{display:flex;align-items:flex-start;gap:12px}.delete-confirm-head svg{color:#b42318;flex:0 0 auto}.delete-confirm-head p,.delete-confirm-warning{margin:6px 0 0;color:#5f7080}.delete-confirm-warning{padding:10px 12px;border:1px solid #fedf89;border-radius:6px;background:#fffbeb;color:#92400e;font-weight:600}.field-full{grid-column:1 / -1}.calendar-controls-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.calendar-controls-bottom{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.calendar-controls-bottom strong{min-width:150px;text-align:center;color:#1f4ea6}.calendar-mode-group{display:grid;gap:8px}.calendar-mode{display:inline-flex;gap:8px;flex-wrap:wrap}.calendar-mode .is-active,.calendar-month-span-buttons .is-active{background:#2f6f73;color:#fff}.calendar-month-count{display:flex;align-items:center;gap:8px;color:#4d5d6b;font-size:13px;font-weight:700}.calendar-month-span-buttons,.calendar-filter-row{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.btn-mini{min-height:34px;padding:0 11px}.calendar-filter-tools{display:grid;justify-items:end;gap:8px}.calendar-print-meta{display:none}.calendar-project-legend{display:flex;flex-wrap:wrap;gap:8px}.legend-item{display:inline-flex;align-items:center;gap:6px;border:1px solid #d9e4f8;border-radius:999px;padding:4px 9px;background:#fff;font-size:12px;color:#2a4577}.legend-item.is-empty{background:#f7f9fc;color:#6b7e9f}.legend-color{width:10px;height:10px;border-radius:999px;border:1px solid rgba(0,0,0,.08)}.month-grid,.year-grid{display:grid;gap:12px}.month-block,.mini-month{border:1px solid #d9e4f8;border-radius:8px;background:#fff;padding:10px}.month-block-title,.mini-month-title{margin:0 0 8px;color:#1f4ea6;font-size:15px}.month-grid-head,.month-block-grid,.mini-week-head,.mini-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.month-grid-head{gap:6px;margin-bottom:8px;color:#5f7080;font-size:12px;font-weight:700;text-align:center}.month-block-grid{gap:6px}.day-cell{min-height:58px;border:1px solid #d9e4f8;border-radius:8px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:13px;color:#1f3f73;gap:4px}.day-cell.is-outside{opacity:.35}.day-cell.is-today{border-color:#1f4ea6;box-shadow:inset 0 0 0 1px #1f4ea6;font-weight:700}.day-cell.has-entry{border-color:#1f4ea6;background:#edf3ff;font-weight:700}.day-markers,.mini-markers{min-height:10px;display:inline-flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap}.day-dot,.mini-day-dot{width:8px;height:8px;border-radius:999px;border:1px solid rgba(0,0,0,.12)}.day-dot-btn,.mini-day-dot-btn{border:0;background:transparent;padding:1px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.day-more,.mini-day-more{font-size:10px;color:#274a80;font-weight:700}.year-grid{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.mini-month-title{font-size:13px}.mini-week-head{gap:4px;margin-bottom:4px;font-size:10px;color:#6b7e9f;text-align:center;font-weight:700}.mini-grid{gap:4px}.mini-day{min-height:28px;font-size:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#46638f;border-radius:7px;padding:1px 0}.mini-day.has-entry{background:#edf3ff;color:#194a9f;border:1px solid #1f4ea6;font-weight:700}.calendar-pdf-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;background:#0f182a85;display:flex;align-items:center;justify-content:center;padding:18px}.calendar-pdf-dialog{width:min(100%,880px);max-height:min(88vh,920px);background:#fff;border:1px solid #d9e4f8;border-radius:8px;overflow:auto;display:grid;grid-template-rows:auto 1fr;box-shadow:0 18px 45px #0f172a2e}.calendar-pdf-topbar{position:sticky;top:0;z-index:1;padding:10px;display:flex;justify-content:space-between;align-items:center;background:#f4f8ff;border-bottom:1px solid #d9e4f8}.calendar-entry-preview{padding:18px;display:grid;gap:14px}.calendar-entry-preview h3,.calendar-entry-preview h4{margin:0}.calendar-entry-preview dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:0}.calendar-entry-preview dl div{border:1px solid #dfe6ec;border-radius:8px;padding:10px}.calendar-entry-preview dt{color:#5f7080;font-size:13px;font-weight:700}.calendar-entry-preview dd{margin:4px 0 0}.dev-data-form{display:grid;grid-template-columns:130px minmax(220px,1fr) minmax(220px,1fr) minmax(180px,1fr) auto;gap:12px;align-items:end}.dev-user-form{grid-template-columns:130px minmax(220px,1fr) minmax(180px,220px) minmax(300px,1.3fr) auto}.dev-user-modal-form{display:grid;grid-template-columns:130px minmax(220px,1fr) minmax(180px,220px);gap:12px;align-items:end}.dev-form-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.dev-project-checks{min-height:44px;border:1px solid #dfe6ec;border-radius:8px;background:#fbfcfd;padding:8px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.dev-project-checks label{display:inline-flex;align-items:center;gap:6px;min-height:30px;border:1px solid var(--app-border-soft);border-radius:999px;background:#fff;padding:0 10px;color:var(--app-text);cursor:pointer;font-size:13px;font-weight:600}.dev-project-checks input{width:16px;height:16px;min-width:16px;accent-color:var(--app-primary)}.dev-project-checks small{color:var(--app-text-soft);font-size:12px}.test-core-org-form{grid-template-columns:minmax(220px,1fr) minmax(160px,.5fr) minmax(320px,1.4fr)}.test-core-logo-panel{border:1px solid var(--app-border-soft);border-radius:8px;background:#fff;overflow:hidden}.test-core-logo-panel h4{margin:0;padding:16px 20px;border-bottom:1px solid var(--app-border-soft);font-size:16px}.test-core-logo-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:26px;padding:20px 28px}.test-core-logo-tile{display:grid;grid-template-columns:minmax(180px,1fr) auto;align-items:center;gap:20px}.test-core-logo-label{color:var(--app-text);font-weight:600}.test-core-logo-control{position:relative;width:70px;height:70px}.test-core-logo-drop{width:70px;height:70px;border:2px solid #17c653;border-radius:999px;background:#f9fafb;color:#8a94b4;display:grid;place-items:center;cursor:pointer;overflow:hidden}.test-core-logo-drop img{width:86%;height:86%;object-fit:contain}.test-core-logo-drop input{display:none}.test-core-logo-camera,.test-core-logo-delete{position:absolute;border-radius:999px;display:grid;place-items:center}.test-core-logo-camera{left:50%;bottom:2px;width:24px;height:24px;transform:translate(-50%);background:#ffffffe0;color:#8a94b4}.test-core-logo-delete{top:-4px;right:-4px;width:23px;height:23px;border:1px solid var(--app-border);background:#fff;color:#8a94b4;cursor:pointer}.test-core-table th:last-child,.test-core-table td:last-child{width:120px;text-align:right}.app-settings-intro{grid-template-columns:minmax(0,1fr) auto;align-items:center}.app-settings-intro svg{color:var(--app-primary)}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:16px}.settings-card{align-content:start}.settings-card-head{display:flex;align-items:center;gap:10px}.settings-card-icon{border:0;width:36px;height:36px;border-radius:8px;background:var(--app-primary-soft);color:var(--app-primary-active);display:grid;place-items:center}.settings-label-edit-trigger{cursor:pointer}.settings-label-display{border:0;background:transparent;padding:0;color:inherit;text-align:left;cursor:pointer}.settings-label-display h3{margin:0}.settings-label-edit{display:grid;grid-template-columns:minmax(180px,320px) auto auto;align-items:center;gap:8px}.settings-label-edit input{min-width:0}.settings-chip-row{display:flex;flex-wrap:wrap;gap:8px}.settings-chip-row span{border:1px solid var(--app-border);border-radius:999px;background:#fff;padding:6px 10px;color:var(--app-text-muted);font-size:13px;font-weight:600}.settings-title-grid{display:grid;gap:16px}.settings-add-section-button{justify-self:start}.settings-title-card{gap:14px}.settings-title-list{display:grid;gap:8px}.settings-title-row{display:grid;grid-template-columns:34px minmax(220px,1fr) auto auto auto;gap:8px;align-items:center}.settings-title-index{width:28px;height:28px;border-radius:999px;background:var(--app-primary-soft);color:var(--app-primary-active);display:grid;place-items:center;font-size:12px;font-weight:800}.settings-title-row input{min-width:0}.test-core-dialog{max-width:780px}.check-field{min-height:44px;display:inline-flex;align-items:center;gap:9px;color:var(--app-text);font-weight:700}.check-field input{width:18px;height:18px;accent-color:var(--app-primary)}.test-core-contact-list{display:grid;gap:10px}.test-core-contact-row{display:grid;grid-template-columns:90px minmax(170px,1fr) minmax(130px,.8fr) minmax(180px,1fr) auto;gap:8px;align-items:center}.test-core-contact-row input{min-width:0}.dev-data-list{display:grid;gap:10px}.dev-data-row{border:1px solid #dfe6ec;border-radius:8px;background:#fbfcfd;padding:12px;display:flex;justify-content:space-between;align-items:center;gap:12px}.dev-data-row div:first-child{display:grid;gap:4px}.dev-data-row span{color:#5f7080;font-size:14px}.dev-active-user{display:grid;grid-template-columns:minmax(220px,320px) minmax(220px,1fr) auto;gap:12px;align-items:end}.dev-active-preview{min-height:44px;border:1px solid #dfe6ec;border-radius:8px;background:#fbfcfd;padding:10px 12px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.dev-active-preview span{color:#5f7080;font-size:14px}.meta-row{display:flex;gap:12px;flex-wrap:wrap;color:#5f7080;font-size:14px}.meta-row span{display:inline-flex;align-items:center;gap:5px}.field{display:grid;gap:7px}.field span,.rich-field>span{font-size:13px;color:#4d5d6b;font-weight:700}.field.is-calculated input{border-color:#8eb8ff;background:#edf4ff;box-shadow:inset 0 0 0 1px #2f6fd624}.calculated-badge{display:inline-flex;align-items:center;min-height:18px;margin-left:8px;padding:0 7px;border-radius:999px;background:#dce9ff;color:#1f4ea6;font-size:11px;font-weight:700}input,select,textarea{border:1px solid #cbd6df;border-radius:8px;padding:10px 11px;background:#fbfcfd;color:#182029;min-width:0}textarea{resize:vertical}.readonly-note{min-height:0;border:0;border-radius:0;background:transparent;color:var(--app-text);padding:0;line-height:1.45;white-space:pre-wrap}.rich-field{display:grid;gap:7px}.rich-editor{border:1px solid #cbd6df;border-radius:8px;background:#fbfcfd;overflow:hidden;position:relative}.rich-toolbar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;padding:8px;border-bottom:1px solid #dbe4ec;background:#f4f7fa}.rich-toolbar button{width:32px;height:32px;border:1px solid #cad6e0;border-radius:7px;background:#fff;color:#294154;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.rich-toolbar button.is-active{background:#2f6f73;border-color:#2f6f73;color:#fff}.rich-color-control{width:42px;height:32px;border:1px solid #cad6e0;border-radius:7px;background:#fff;color:#294154;display:inline-flex;align-items:center;justify-content:center;gap:2px;cursor:pointer;position:relative}.rich-color-control input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;padding:0;min-height:0}.rich-custom-select{min-height:32px;border:1px solid #cad6e0;border-radius:7px;background:#fff;color:#294154;padding:0 8px}.rich-editor-content{min-height:130px;padding:12px;outline:none;background:#fff}.rich-editor-content p{margin:0 0 8px}.rich-editor-content ul,.rich-editor-content ol{margin:8px 0;padding-left:22px}.rich-editor-content blockquote{margin:8px 0;padding-left:12px;border-left:3px solid #91a7bd;color:#4d5d6b}.rich-editor-content hr{border:0;border-top:1px solid #cbd6df;margin:12px 0}.rich-editor-content a{color:#245fd0;text-decoration:underline}.rich-editor-content .weather-report-block{border:1px solid #d9e6f3;border-radius:8px;background:#f8fbff;padding:10px 12px;margin:8px 0}.rich-editor-content .weather-report-block p{margin:0 0 6px}.rich-editor-content .weather-report-block ul{margin:4px 0 10px;padding-left:20px}.rich-editor-content .weather-marker{color:#7b8da1;font-size:12px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace;opacity:.72}.rich-editor-content:empty:before{content:attr(data-placeholder);color:#8898a7;pointer-events:none}.compact-form{grid-template-columns:120px minmax(200px,1fr) 170px auto auto;display:grid;align-items:center;gap:12px}.compact-form-full{grid-column:1 / -1}.filters{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:10px}.count{margin:0;color:#5f7080;font-size:14px;font-weight:700}.weather-import{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;align-items:end}.weather-panel{display:grid;gap:8px;padding:10px 12px 14px;border:1px solid #cfdcef;border-radius:14px;background:#fffdf2}.journal-visit-panel{order:10}.journal-attendance-panel{order:20}.journal-notes-panel{order:30}.journal-weather-panel{order:40}.journal-todos-panel{order:50}.journal-attachments-panel{order:60}.weather-panel-toggle{width:100%;border:1px solid #b9cdf0;border-radius:10px;background:#f8fbff;color:#18375f;min-height:40px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;font-weight:800;cursor:pointer}.weather-panel-content{display:grid;gap:10px}.weather-collapsed-preview{border:1px solid #dbe7ff;border-radius:10px;background:#fff;padding:10px 12px;display:grid;gap:8px}.weather-collapsed-preview strong{color:var(--app-text);font-size:14px}.weather-collapsed-preview pre{margin:0;white-space:pre-wrap;font:inherit;color:#344865;max-height:180px;overflow:auto}.weather-required-dialog{max-width:620px}.weather-default-location{display:grid;gap:4px;border:1px solid #dbe7ff;border-radius:8px;background:#f8fbff;padding:12px}.weather-default-location span{color:#60718a;font-size:13px;font-weight:700}.weather-default-location strong{color:var(--app-text)}.weather-validation-note{border:1px solid #dbe7ff;border-radius:8px;background:#f8fbff;padding:12px;display:grid;gap:4px}.weather-validation-note span,.weather-validation-note small{color:#60718a}.weather-level-two{display:grid;gap:8px}.weather-level-two-toggle{width:100%;border:1px solid #bdd0ec;border-radius:9px;background:#f9fbff;color:#18375f;min-height:36px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:800;cursor:pointer}.weather-level-two-content{display:grid;gap:10px}.weather-live{display:grid;gap:10px;padding:10px;border:1px solid #c8d9f2;border-radius:12px;background:#f5f8ff}.weather-live-head,.weather-search-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.weather-live-head strong{color:#101d35;font-size:16px}.weather-search-row input{flex:1;min-height:44px;border-radius:12px;background:#fff}.weather-pill-button{border:1px solid #b8cbed;border-radius:999px;background:#fff;color:#245fd0;font-weight:800;min-height:42px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;white-space:nowrap}.weather-live-text{margin:0;color:#244268;font-size:14px}.weather-current-visual{display:flex;align-items:center;gap:12px;border:1px solid #d7e4f6;border-radius:12px;background:#fff;padding:10px}.weather-current-visual div{display:grid;gap:2px}.weather-current-visual span{color:#5f7080;font-size:14px}.weather-live-details{display:grid;gap:12px;padding-top:6px}.weather-chip-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.weather-choice{border:1px solid #bfd0ea;border-radius:999px;background:#eef3fa;color:#153258;min-height:44px;font-weight:800;cursor:pointer}.weather-choice.is-active{background:#2563d6;border-color:#2563d6;color:#fff}.weather-manual-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:start}.weather-manual-grid textarea,.weather-manual-grid input{border-color:#cfd8c5;border-radius:12px;background:#fff}.weather-manual-grid .field{align-self:start;grid-template-rows:auto auto auto}.weather-manual-grid .field>span{min-height:20px;display:flex;align-items:flex-end}.weather-manual-grid input,.weather-manual-grid textarea{min-height:64px}.counter{color:#476286;font-size:12px}.weather-copy-panel{display:grid;gap:9px;padding:10px;border:1px solid #c8d9f2;border-radius:10px;background:#f8fbff;color:#244268}.weather-copy-panel strong{color:#244268}.weather-copy-panel label{display:inline-flex;align-items:center;gap:8px;font-size:14px}.weather-copy-panel label.is-disabled{opacity:.55}.weather-copy-panel input[type=checkbox]{width:16px;height:16px;accent-color:#d80c8c}.weather-copy-button{justify-self:start;border:0;border-radius:999px;background:#2563d6;color:#fff;min-height:40px;padding:0 14px;font-weight:800;cursor:pointer}.weather-copy-button:disabled{background:#9fb1c7;cursor:not-allowed}.weather-copy-hint{margin:0;color:#6b7d91;font-size:13px}.status-line{margin:0;color:#5f7080;font-size:14px}.weather-preview{display:grid;gap:12px;padding:14px;border:1px solid #cbd6df;border-radius:8px;background:#f7faf9}.weather-current,.weather-subsection-head,.weather-copy-options{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.weather-current div{display:grid;gap:3px}.weather-current span,.weather-source{color:#5f7080;font-size:14px}.weather-source{border:1px solid #bfd1ce;border-radius:999px;padding:4px 9px}.weather-chips{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid #bfd1ce;border-radius:999px;background:#fff;color:#315b5d;padding:7px 12px;cursor:pointer}.chip.is-active{background:#2f6f73;color:#fff;border-color:#2f6f73}.forecast-block{display:grid;gap:8px}.forecast-block h4,.weather-subsection-head h4{margin:0}.forecast-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.weather-collapse{display:grid;gap:8px;padding-top:8px;border-top:1px solid #d5e1f2}.weather-collapse-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.weather-collapse-head button{border:1px solid #bdd0ec;border-radius:8px;background:#f9fbff;color:#18375f;min-height:34px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:800;cursor:pointer}.weather-collapse-head label{display:inline-flex;align-items:center;gap:7px;color:#244268;font-size:13px;font-weight:700}.weather-collapse-head select{border:1px solid #bdd0ec;border-radius:8px;background:#fff;min-height:34px;padding:0 8px;color:#18375f}.forecast-card{display:grid;gap:5px;border:1px solid #d7e1e7;background:#fff;border-radius:8px;padding:11px;min-height:122px}.forecast-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.weather-icon{flex:0 0 auto}.weather-icon-sun{color:#d99012}.weather-icon-cloud{color:#57718d}.weather-icon-rain{color:#2563d6}.weather-icon-snow{color:#4b9fc9}.weather-icon-storm{color:#7c3aed}.weather-icon-fog{color:#7b8794}.forecast-card span,.forecast-card small{color:#5f7080}.forecast-card p{margin:0;font-size:20px;font-weight:700}.weather-warnings{margin:0;display:grid;gap:5px;border-left:3px solid #b35621;padding-left:10px;color:#8a3f17}.weather-warnings p{margin:0}.weather-copy-options{justify-content:flex-start}.weather-copy-options label,.weather-subsection-head label{display:inline-flex;align-items:center;gap:7px;color:#4d5d6b;font-size:14px}.weather-subsection-head select{border:1px solid #cbd6df;border-radius:8px;padding:6px 8px;background:#fff}.todo-list{display:grid;gap:10px}.todo-row{border:1px solid #dfe6ec;border-radius:8px;padding:12px;display:flex;justify-content:space-between;gap:12px;align-items:center}.todo-row div{display:grid;gap:4px}.todo-row span{color:#5f7080;font-size:14px}.todo-row.done{opacity:.7}.todo-file-button{min-height:40px;border:1px solid var(--app-border);border-radius:6px;background:#fff;color:var(--app-text-muted);display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;cursor:pointer;position:relative;overflow:hidden;white-space:nowrap}.todo-file-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.todo-attachments{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:4px}.todo-attachment-row{display:inline-flex;align-items:center;gap:4px}.todo-attachments a{min-height:28px;border:1px solid var(--app-border-soft);border-radius:999px;background:#fff;color:var(--app-primary-active);display:inline-flex;align-items:center;gap:5px;padding:0 9px;font-size:12px;font-weight:600}.todo-attachment-empty{color:var(--app-text-soft);font-size:13px}.report-todo-photo-layout{display:grid;grid-template-columns:minmax(165px,.42fr) minmax(280px,1fr);gap:14px;align-items:stretch}.report-todo-photo-list{display:grid;align-content:start;gap:8px}.report-todo-inline-upload{display:grid;gap:6px;margin-top:10px}.report-todo-inline-upload .photo-tile-grid{grid-template-columns:1fr;gap:8px}.report-todo-inline-upload .photo-tile{min-height:148px;grid-template-rows:82px auto 30px}.report-todo-inline-upload .photo-tile-preview{height:82px}.report-todo-inline-upload .photo-tile-add{min-height:148px}.report-todo-inline-upload .hint{font-size:12px}.todo-attachment-preview-button{min-height:28px;border:1px solid var(--app-border-soft);border-radius:999px;background:#fff;color:var(--app-primary-active);display:inline-flex;align-items:center;gap:5px;padding:0 9px;font-size:12px;font-weight:700;cursor:pointer;text-align:left}.todo-attachment-preview-button.is-active,.todo-attachment-preview-button:hover{border-color:var(--app-primary);background:var(--app-primary-soft)}.report-todo-photo-preview{min-height:260px;border:1px solid #dfe6ec;border-radius:8px;background:#f8fbff;display:grid;place-items:center;overflow:hidden}.report-todo-photo-preview img{width:100%;height:100%;max-height:360px;object-fit:contain;display:block}.report-todo-photo-detail{display:grid;gap:8px}.report-todo-photo-caption-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.report-todo-photo-caption-row .btn{min-height:38px}.report-todo-photo-placeholder{display:grid;justify-items:center;gap:8px;color:var(--app-text-soft);font-size:13px;text-align:center;padding:18px}.print-menu-dialog{width:min(760px,100%)}.print-menu-body{display:grid;gap:14px;padding:8px 0 12px}.print-menu-label{color:var(--app-text-muted);font-size:13px;font-weight:700}.print-checkbox{display:inline-flex;align-items:center;gap:10px;color:var(--app-text);font-size:14px;cursor:pointer}.print-checkbox input{width:22px;height:22px;min-width:22px;accent-color:var(--app-primary);cursor:pointer}.print-checkbox.is-disabled{color:var(--app-text-soft);cursor:default}.print-checkbox.is-disabled input{cursor:default}.print-mode-field{max-width:340px;margin-top:4px}.state{padding:18px;color:#5f7080}.state.error{border-color:#efb5a4;background:#fff5f2;color:#9a3412}.app-shell{grid-template-columns:278px minmax(0,1fr);background:var(--app-page)}.side-nav{background:#fff;color:var(--app-text);border-right:1px solid var(--app-border-soft);padding:18px 16px;gap:24px}.side-nav h1{font-size:31px;letter-spacing:0;font-weight:800}.side-nav h1:after{content:".";color:#e11d48}.side-nav .eyebrow{display:none}.side-nav nav{gap:4px}.side-nav a{color:var(--app-text);border-radius:0;min-height:42px;padding:10px 11px;font-weight:600}.side-nav a svg{color:#8a94b4}.side-nav a.active,.side-nav a:hover{background:var(--app-row);color:var(--app-text)}.side-nav a.active svg,.side-nav a:hover svg{color:var(--app-primary)}.core-hint{color:var(--app-text-soft);font-size:12px}.dev-user-hint{border:0;border-radius:0;background:transparent;padding:0 10px;color:var(--app-text)}.dev-user-hint span,.dev-user-hint small{color:var(--app-text-soft)}.content{max-width:none;--content-header-height: 96px;padding:var(--content-header-height) 38px 24px;background:var(--app-page)}.content:before{left:278px}.page-header{min-height:104px}.page-header h2{color:var(--app-text);font-size:22px;font-weight:700}.eyebrow{color:var(--app-text-muted);text-transform:none;font-size:13px}.panel,.card,.state,.task-col,.project-filter-panel,.modal-dialog,.entry-report,.mobile-card,.mobile-capture-header{border-color:var(--app-border-soft);border-radius:var(--app-radius);box-shadow:var(--app-shadow)}.panel{padding:20px 28px}.panel h3,.card h3,.mobile-card h3{color:var(--app-text);font-size:16px;font-weight:700}.btn,.icon-link,.icon-button{min-height:40px;border:1px solid transparent;border-radius:6px;background:var(--app-primary);color:var(--app-primary-inverse);font-size:13px;font-weight:600;box-shadow:none}.btn:hover,.icon-link:hover,.icon-button:hover{background:var(--app-primary-active)}.btn.secondary{background:var(--app-primary-soft);border-color:var(--app-primary-soft);color:var(--app-primary-active)}.btn.secondary:hover{background:#c7ddff}.btn.danger{background:#b42318;border-color:#b42318;color:#fff}.btn.danger:hover{background:#912018;border-color:#912018}.icon-link,.icon-button{background:transparent;border-color:transparent;color:#78829d}.icon-link:hover,.icon-button:hover{background:var(--app-primary-soft);color:var(--app-primary-active)}input,select,textarea,.rich-editor{border-color:var(--app-border);border-radius:6px;background:#fff;color:var(--app-text)}input:focus,select:focus,textarea:focus{border-color:var(--app-primary);outline:0;box-shadow:0 0 0 3px var(--app-primary-clarity)}.field span,.rich-field>span,.calendar-mode-group,.calendar-month-count,.weather-collapse-head label{color:#78829d;font-size:12px;font-weight:500}.muted,.note,.count,.todo-row span,.task-item span,.task-item p,.task-empty,.meta-row,.dev-data-row span,.dev-active-preview span{color:var(--app-text-muted)}.kpi,.project-card,.task-item,.todo-row,.dev-data-row,.entry-report-todo{border-color:transparent;border-radius:0;box-shadow:none}.project-card,.task-item,.todo-row,.dev-data-row,.entry-report-todo{background:var(--app-row)}.revision-panel{background:#fbfdff}.revision-title-row{display:inline-flex;align-items:center;gap:14px}.revision-title-row h3{margin:0}.toggle-switch{width:48px;min-height:26px;border:0;border-radius:999px;background:#d8e0eb;padding:3px;cursor:pointer;display:inline-flex;align-items:center;justify-content:flex-start;transition:background .16s ease}.toggle-switch span{width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0f172a38;transition:transform .16s ease}.toggle-switch.is-on{background:var(--app-primary)}.toggle-switch.is-on span{transform:translate(22px)}.assistant-toggle{display:inline-flex;align-items:center;gap:10px;color:var(--app-text-muted);font-size:13px;font-weight:700}.pending-todo-suggestion-mark{text-decoration-line:underline;text-decoration-style:dotted;text-decoration-color:#d72c8d;text-decoration-thickness:2px;text-underline-offset:3px}.todo-suggestion-list{display:grid;gap:8px;border:1px solid #f0a9c8;border-radius:8px;background:#fff1f7;padding:10px 12px;margin-top:8px}.todo-suggestion-list>strong{color:#9b174f;font-size:13px;font-weight:800}.todo-suggestion-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}.todo-suggestion-item>span{color:var(--app-text);font-size:13px;line-height:1.35}.todo-suggestion-item .btn{min-height:32px;padding:0 10px;font-size:13px}.btn.ghost{background:transparent;color:#9b174f;border:1px solid #f0a9c8}.revision-list{display:grid;gap:10px}.revision-item{display:grid;gap:10px;padding:12px;background:var(--app-row);border:1px solid var(--app-border);border-radius:6px}.revision-meta{display:grid;grid-template-columns:90px minmax(140px,1fr) minmax(140px,1fr);gap:12px;align-items:center;color:var(--app-text);font-size:14px}.revision-meta span{color:var(--app-text-muted)}.revision-fields{display:flex;flex-wrap:wrap;gap:6px}.revision-fields span{padding:4px 8px;background:var(--app-primary-soft);border-radius:999px;color:var(--app-primary-active);font-size:12px;font-weight:600}.revision-details{color:var(--app-text-muted);font-size:13px}.revision-details summary{cursor:pointer;color:var(--app-primary-active);font-weight:600}.revision-details dl{display:grid;gap:8px;margin:10px 0 0}.revision-details dl>div{display:grid;grid-template-columns:190px minmax(0,1fr);gap:12px;padding-top:8px;border-top:1px solid var(--app-border)}.revision-details dt{color:var(--app-text);font-weight:700}.revision-details dd{margin:0;white-space:pre-wrap}.project-card:hover,.task-item:hover,.todo-row:hover,.dev-data-row:hover{background:var(--app-row-hover);border-color:transparent}.kpi svg,.project-card:hover,.project-plus,.mobile-capture-header svg,.mobile-photo-input svg{color:var(--app-primary)}.project-plus,.task-count,.scope-toggle span.is-active{background:var(--app-primary-soft);color:var(--app-primary-active)}.scope-toggle{background:var(--app-row);border-color:var(--app-border)}.scope-toggle span.is-active{background:var(--app-primary);color:#fff}.rich-toolbar{background:var(--app-row);border-bottom-color:var(--app-border-soft)}.rich-toolbar button.is-active,.chip.is-active,.weather-choice.is-active,.weather-copy-button,.calendar-mode .is-active,.calendar-month-span-buttons .is-active{background:var(--app-primary);border-color:var(--app-primary);color:#fff}.weather-panel,.mobile-weather-card{background:#f8fbff;border-color:#dbe7ff}.weather-panel-toggle,.weather-level-two-toggle,.weather-collapse-head button{color:var(--app-text);border-color:#dbe7ff}.weather-pill-button{color:var(--app-primary-active);border-color:#c7ddff}.calendar-controls-bottom strong,.month-block-title,.mini-month-title{color:var(--app-primary-active)}.day-cell.is-today,.day-cell.has-entry,.mini-day.has-entry{border-color:var(--app-primary)}.entry-report-page{display:grid;gap:16px}.entry-report-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.pdf-mode-select{display:inline-flex;align-items:center;gap:8px;color:var(--app-text-muted);font-size:13px;font-weight:600}.pdf-mode-select select{min-width:260px;min-height:38px}.entry-report{background:#fff;border:1px solid #dfe6ec;border-radius:8px;padding:28px;display:grid;gap:22px}.entry-report-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:2px solid #182029}.entry-report-header h1,.entry-report-header p,.entry-report-section h2{margin:0}.entry-report-header h1{font-size:30px}.entry-report-version-lines{display:grid;gap:3px;margin-top:10px;color:#4d5d6b;font-size:13px;font-weight:600}.entry-report-meta-box{min-width:190px;border:1px solid #cbd6df;border-radius:8px;padding:12px;display:grid;gap:4px;color:#4d5d6b;text-align:right}.entry-report-meta-box strong{color:#182029}.entry-report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.entry-report-grid div{border:1px solid #dfe6ec;border-radius:8px;padding:10px;background:#fbfcfd}.entry-report-grid dt{color:#5f7080;font-size:12px;font-weight:800}.entry-report-grid dd{margin:4px 0 0}.entry-report-section{display:grid;gap:8px}.entry-report-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid #dfe6ec}.entry-report-section h2{font-size:18px;padding-bottom:6px;border-bottom:0}.entry-report-revision-hint{padding-top:2px;color:var(--app-primary-active);font-size:12px;font-weight:700;text-align:right}.entry-report-previous-value{display:grid;gap:4px;padding:10px;background:#f6f9ff;border:1px solid #c7ddff;border-radius:6px;color:var(--app-text-muted);font-size:13px}.entry-report-previous-value p{margin:0;white-space:pre-wrap}.entry-report-rich{color:#182029}.entry-report-rich p{margin:0 0 8px}.entry-report-rich ul,.entry-report-rich ol{margin:8px 0;padding-left:22px}.entry-report-todo-list{display:grid;gap:8px}.entry-report-todo{border:1px solid #dfe6ec;border-radius:8px;padding:10px;display:grid;gap:4px}.entry-report-todo span,.entry-report-attachments{color:#5f7080}.entry-report-revision-list{display:grid;gap:8px}.entry-report-revision-row{display:grid;grid-template-columns:80px minmax(180px,1fr) minmax(220px,2fr);gap:12px;padding:8px 0;border-bottom:1px solid #dfe6ec;color:#4d5d6b;font-size:13px}.inline-revision{margin-top:-8px;padding:8px 10px;border:1px solid #c7ddff;border-radius:6px;background:#f6f9ff;color:var(--app-text-muted);font-size:13px}.inline-revision summary{display:flex;align-items:center;gap:8px;cursor:pointer}.inline-revision summary strong{color:var(--app-primary-active)}.inline-revision div{display:grid;gap:4px;margin-top:8px;padding-top:8px;border-top:1px solid #c7ddff}.inline-revision div>span{color:var(--app-text);font-weight:700}.inline-revision p{margin:0;white-space:pre-wrap}.report-list-wrap{width:100%;overflow-x:auto}.report-list{width:100%;min-width:980px;border-collapse:collapse;color:#1f3763;font-size:14px}.project-report-list{min-width:860px}.todo-table{min-width:1040px;table-layout:fixed}.project-todo-table{min-width:860px}.todo-col-project{width:16%}.todo-col-date,.todo-col-due{width:94px}.todo-col-owner,.todo-col-third{width:13%}.todo-col-text{width:auto}.todo-col-photo{width:72px}.todo-col-actions{width:112px}.todo-col-status{width:118px}.report-list th{padding:9px 8px;color:#78829d;font-size:13px;font-weight:500;text-align:left;white-space:nowrap}.report-list td{padding:10px 8px;border:0;vertical-align:middle;white-space:nowrap}.report-list td strong{display:block;font-weight:600}.report-list td>span{display:block;color:var(--app-text-muted);font-size:12px;margin-top:2px}.report-list tbody tr:nth-child(odd){background:var(--app-row)}.report-list tbody tr:nth-child(2n){background:#fff}.report-list tbody tr.is-clickable{cursor:pointer}.report-list tbody tr.is-clickable:hover,.report-list tbody tr.is-clickable:focus{background:var(--app-primary-soft);color:var(--app-primary-active);outline:0}.report-list th:last-child,.report-list td:last-child{text-align:right}.report-list-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px}.report-list-actions .icon-button{width:32px;min-height:32px;color:#78829d}.report-list-actions .icon-button.danger{color:#b42318}.report-list-actions .icon-button.danger:hover{background:#fee4e2;color:#912018}.attendance-grid-wrap{width:100%;overflow-x:auto}.attendance-grid{width:100%;min-width:620px;border-collapse:collapse;color:#1f3763;font-size:14px}.attendance-grid th{padding:8px 6px;color:#78829d;font-size:13px;font-weight:600;text-align:left;white-space:nowrap}.attendance-grid td{padding:4px 6px;border-top:1px solid #eef2f6;vertical-align:middle}.attendance-grid th:first-child,.attendance-grid td:first-child{width:92px}.attendance-grid th:nth-child(4),.attendance-grid td:nth-child(4){width:92px}.attendance-grid th:last-child,.attendance-grid td:last-child{width:42px;text-align:right}.attendance-grid input,.attendance-grid select{width:100%;min-height:34px;border:1px solid #d8e0eb;border-radius:6px;background:#fff;color:#1f3763;padding:6px 8px;font:inherit}.attendance-grid input:focus,.attendance-grid select:focus{border-color:var(--app-primary);box-shadow:0 0 0 3px var(--app-primary-soft);outline:0}.attendance-add-row td{padding-top:8px}.attendance-add-row button{width:100%;min-height:34px;border:1px dashed #b7c9e8;border-radius:6px;background:#f8fbff;color:var(--app-primary-active);font-weight:700;cursor:pointer}.attendance-add-row button:hover{background:var(--app-primary-soft)}.photo-tile-section,.existing-attachments{display:grid;gap:8px}.attachment-manager{display:grid;grid-template-columns:minmax(230px,.75fr) minmax(360px,1.25fr);gap:16px;align-items:start}.attachment-manager .photo-tile-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}.photo-tile-label{color:var(--app-text);font-size:13px;font-weight:700}.photo-tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.photo-tile{min-height:178px;border:1px solid #dfe6ec;border-radius:8px;background:#fbfcfd;padding:8px;display:grid;grid-template-rows:108px auto 32px;gap:8px;position:relative;color:var(--app-text);text-decoration:none}.photo-tile-preview{width:100%;height:108px;border:0;border-radius:6px;background:#eef4fb;display:grid;place-items:center;overflow:hidden;color:#78829d;cursor:default;padding:0}button.photo-tile-preview{cursor:pointer}.photo-tile-preview img{width:100%;height:100%;object-fit:cover;display:block}.photo-tile input[type=text],.photo-tile>input{width:100%;min-height:36px;border:1px solid #d8e0eb;border-radius:6px;padding:7px 8px;color:var(--app-text);font:inherit}.photo-tile-remove{position:absolute;top:6px;right:6px;width:28px;min-height:28px;background:#ffffffeb}.photo-tile-add{min-height:178px;border-style:dashed;place-items:center;text-align:center;cursor:pointer;font-weight:800;color:var(--app-primary-active)}.photo-tile-add input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.existing-photo-tile{grid-template-rows:108px auto 32px}.existing-photo-tile strong{font-size:13px;line-height:1.3}.photo-tile-caption{min-height:36px;color:var(--app-text);font-size:13px;line-height:1.3;overflow:hidden;overflow-wrap:anywhere}.photo-tile-actions{display:flex;justify-content:flex-end;gap:6px}.photo-tile-actions .icon-button{width:30px;min-height:30px}.existing-attachments.is-empty{min-height:178px;align-content:start;border:1px dashed #dfe6ec;border-radius:8px;padding:12px;background:#fbfcfd}.attachment-edit-dialog{width:min(860px,100%)}.attachment-edit-preview{min-height:340px;max-height:62vh;border:1px solid #dfe6ec;border-radius:8px;background:#f8fbff;display:grid;place-items:center;overflow:hidden}.attachment-edit-preview img{max-width:100%;max-height:62vh;object-fit:contain;display:block}.section-rich-layout{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;align-items:start}.section-rich-main{display:grid;gap:0;min-width:0}.section-photo-rail{min-height:132px;border:1px solid #dfe6ec;border-radius:8px;background:#fbfcfd;padding:8px;display:grid;align-content:start;gap:8px}.section-photo-rail.is-empty{color:#78829d;font-size:12px;place-items:center;border-style:dashed}.section-photo-mini{display:grid;gap:4px;font-size:11px;color:var(--app-text)}.section-photo-mini strong{color:var(--app-primary-active);font-size:12px}.section-photo-mini-head{display:flex;align-items:center;justify-content:space-between;gap:6px}.section-photo-mini-head span{display:inline-flex;gap:4px}.section-photo-mini-head button{width:24px;height:24px;border:1px solid #d8e0eb;border-radius:6px;background:#fff;color:var(--app-primary-active);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0}.section-photo-mini-head button:last-child{color:#b42318}.section-photo-mini-preview{width:100%;height:82px;border:1px solid #dfe6ec;border-radius:6px;background:#eef4fb;color:#78829d;cursor:pointer;display:grid;place-items:center;overflow:hidden;padding:0}.section-photo-mini-preview img,.section-photo-mini img{width:100%;height:82px;object-fit:cover}.section-photo-mini span{line-height:1.2;overflow-wrap:anywhere}.photo-marker{display:inline;color:var(--app-primary-active);font-weight:700}@media(max-width:860px){.section-rich-layout{grid-template-columns:1fr}}@media(max-width:860px){.attachment-manager{grid-template-columns:1fr}}.entry-report-attendance{width:100%;border-collapse:collapse;font-size:13px}.entry-report-attendance th,.entry-report-attendance td{padding:7px 8px;border-bottom:1px solid #e6edf5;text-align:left}.entry-report-attendance th{color:#78829d;font-weight:600}.todo-table tr.is-done{opacity:.68}.todo-table tr.is-clickable:hover,.todo-table tr.is-clickable:focus{opacity:1}.todo-photo-state{min-height:28px;color:var(--app-text-soft);display:inline-flex;align-items:center;gap:5px}.todo-photo-state.has-photo{border:1px solid var(--app-primary-soft);border-radius:999px;background:#fff;color:var(--app-primary-active);padding:0 9px;font-size:12px;font-weight:700}.todo-text-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.todo-open-state{display:inline-flex;align-items:center;gap:5px;color:var(--app-primary-active)!important;font-weight:700}.report-filter-panel{display:grid;grid-template-columns:34px repeat(5,minmax(140px,1fr)) auto;gap:12px;align-items:end;padding:12px 0 16px}.report-filter-panel>svg{color:#4b5675;align-self:center}.report-filter-panel .btn{white-space:nowrap}.contractor-form{display:grid;grid-template-columns:minmax(80px,.5fr) minmax(170px,1fr) minmax(120px,.7fr) minmax(220px,1.2fr);gap:12px;align-items:end;padding:12px 0 16px}.toggle-field{min-height:40px;display:inline-flex;align-items:center;gap:8px;color:var(--app-text-muted);font-size:13px;font-weight:700}.contractor-form-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;grid-column:1 / -1}.contractor-table{min-width:860px}.mobile-capture{width:min(100%,560px);margin:0 auto;display:grid;gap:14px}.mobile-capture-header{border:1px solid #dfe6ec;border-radius:8px;background:#fff;padding:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.mobile-capture-header h2,.mobile-capture-header p,.mobile-card h3{margin:0}.mobile-capture-header p:not(.eyebrow){color:#5f7080}.mobile-capture-header svg{color:#2f6f73;flex:0 0 auto}.mobile-form{display:grid;gap:14px}.mobile-card{border:1px solid #dfe6ec;border-radius:8px;background:#fff;padding:16px;display:grid;gap:14px}.mobile-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mobile-card input,.mobile-card select,.mobile-card textarea{min-height:48px;font-size:16px}.mobile-card textarea{line-height:1.45}.mobile-wide-button,.mobile-save-button{width:100%;min-height:52px;font-weight:800}.mobile-photo-input{min-height:88px;border:1px dashed #9fb7cc;border-radius:8px;background:#f8fbff;color:#244268;display:grid;place-items:center;gap:6px;padding:14px;text-align:center;cursor:pointer;position:relative;overflow:hidden}.mobile-photo-input input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.mobile-photo-input svg{color:#2f6f73}.mobile-photo-input span{font-weight:800}.mobile-todo-photo-input{min-height:58px;border-style:solid;background:#fff}.mobile-todo-file-count{display:inline-flex;align-items:center;gap:5px;color:var(--app-primary-active)!important;font-weight:700}.mobile-attendance-list{display:grid;gap:10px}.mobile-attendance-row{border:1px solid #dfe6ec;border-radius:8px;background:#fbfcfd;padding:10px;display:grid;gap:10px}.mobile-attendance-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.mobile-attendance-row-head strong{color:#1f3763;font-size:14px}.mobile-weather-card{background:#f8fbff;border-color:#c8d9f2}.mobile-weather-actions,.mobile-weather-search{display:grid;gap:10px}.mobile-weather-search{grid-template-columns:minmax(0,1fr) auto}.mobile-weather-card .weather-pill-button{min-height:48px}.mobile-save-bar{position:sticky;bottom:0;z-index:4;padding:10px 0 2px;background:linear-gradient(to top,#f4f6f8 75%,#f4f6f800)}@media(max-width:860px){.app-product-logo{display:none}.app-shell{grid-template-columns:1fr;height:auto;min-height:100vh;overflow:visible}.side-nav{position:sticky;top:0;z-index:30;padding:10px 14px;height:auto;overflow:visible;gap:10px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;min-height:62px;box-shadow:0 2px 8px #0714370f}.side-nav-brand{min-width:0}.side-nav-logo{width:auto;max-width:150px;max-height:42px}.side-nav h1{font-size:24px}.side-nav nav{display:none}.core-hint,.dev-user-hint{display:none}.mobile-menu-toggle{border:1px solid var(--app-border);border-radius:8px;background:#fff;color:var(--app-text);min-width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0}.mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:35;display:grid;grid-template-columns:repeat(5,1fr);background:#fffffffa;border-top:1px solid var(--app-border-soft);box-shadow:0 -4px 18px #07143714;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.mobile-bottom-nav a,.mobile-bottom-nav button{min-width:0;border:0;background:transparent;color:var(--app-text-muted);display:grid;justify-items:center;align-content:center;gap:2px;min-height:48px;padding:3px 2px;font-size:11px;font-weight:700}.mobile-bottom-nav a.active,.mobile-bottom-nav a:hover,.mobile-bottom-nav button:hover{color:var(--app-primary)}.mobile-menu-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;align-items:end;background:#07143761}.mobile-menu-sheet{background:#fff;border-radius:16px 16px 0 0;padding:16px;display:grid;gap:14px;box-shadow:0 -18px 40px #0714372e;max-height:min(80vh,560px);overflow:auto}.mobile-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mobile-menu-head div,.mobile-menu-links{display:grid;gap:4px}.mobile-menu-head span,.mobile-menu-meta{color:var(--app-text-muted);font-size:13px}.mobile-menu-links a,.mobile-menu-links button{border:1px solid var(--app-border-soft);border-radius:8px;background:#fff;color:var(--app-text);display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 12px;font-weight:700}.mobile-menu-links button{cursor:pointer}.content{padding:16px 14px calc(82px + env(safe-area-inset-bottom));height:auto;max-width:none;overflow:visible;--content-header-height: 0px}.content:before{display:none}.kpi-grid,.compact-form,.dev-active-user,.dev-data-form,.filters,.task-columns,.weather-import,.report-filter-panel,.settings-grid,.settings-title-row,.weather-search-row,.weather-live-head,.weather-manual-grid{grid-template-columns:1fr}.dashboard-hero,.task-head-row,.calendar-controls-top{align-items:stretch;flex-direction:column}.calendar-filter-tools{justify-items:stretch}.day-cell{min-height:48px;font-size:12px}.weather-search-row,.weather-live-head{align-items:stretch;flex-direction:column}.weather-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weather-collapse-head{grid-template-columns:1fr}.report-filter-panel>svg{display:none}.contractor-form{grid-template-columns:1fr}.contractor-form-actions{justify-content:stretch}.contractor-form-actions .btn{flex:1}.mobile-capture{width:100%}.mobile-weather-search{grid-template-columns:1fr}}@media(max-width:560px){.content{padding:14px 10px calc(82px + env(safe-area-inset-bottom))}.page-header h2,.mobile-capture-header h2{font-size:24px}.panel,.mobile-card,.mobile-capture-header{padding:14px}.field-grid,.mobile-two-cols{grid-template-columns:1fr}.section-head,.action-bar{align-items:stretch;flex-direction:column}.todo-row{align-items:flex-start}.entry-report{padding:16px}.entry-report-header,.entry-report-toolbar{align-items:stretch;flex-direction:column}.entry-report-meta-box{text-align:left}.entry-report-grid{grid-template-columns:1fr}.entry-report-section-title,.inline-revision summary{align-items:flex-start;flex-direction:column}.pdf-mode-select{align-items:stretch;flex-direction:column;width:100%}.pdf-mode-select select{width:100%;min-width:0}.entry-report-revision-hint{text-align:left}.entry-report-revision-row{grid-template-columns:1fr}.revision-meta,.revision-details dl>div{grid-template-columns:1fr}}@media print{.side-nav,.entry-report-toolbar,.pdf-mode-select,.dashboard-header-actions,.calendar-controls-top,.calendar-controls-bottom,.project-filter-panel,.calendar-pdf-topbar{display:none!important}.app-shell{display:block}.content{padding:0;max-width:none;height:auto;overflow:visible}.content:before,.app-product-logo{display:none!important}.entry-report-page{display:block}.entry-report{border:0;border-radius:0;box-shadow:none;padding:0}.entry-report-grid{grid-template-columns:repeat(3,1fr)}.panel,.card,.state{box-shadow:none!important;break-inside:avoid}.calendar-print-meta{display:block;margin:8px 0 0;color:#334e78;font-size:12px;font-weight:600}.calendar-pdf-overlay{position:static;display:block;background:#fff;padding:0}.calendar-pdf-dialog{width:100%;max-height:none;border:0;box-shadow:none}}
