/* Additional generic controls use the copied shell, forms, panels and tables. */
.brand-logo{background-image:url('/mark.svg')}.brand-lockup.compact .brand-logo{width:50px;height:50px}.brand-lockup.compact strong{font-family:inherit}.app-shell{grid-template-columns:244px minmax(0,1fr)}.workspace{min-width:0}.workspace-header h1{overflow-wrap:anywhere}.workspace-header>div:first-child{min-width:0}.workspace-header p{max-width:65rem}.workspace-header .eyebrow{margin:0}.side-nav button{text-align:left}.sidebar-footer .company-name{font-size:.8rem;color:#e4e6e7;margin-bottom:.4rem}.side-nav .nav-group-label{display:block}.side-nav button em{font-style:normal}.office-mobile-header{display:none}.sidebar .office-mobile-drawer-close{display:none}.office-mobile-backdrop{display:none}.local-context{display:flex;justify-content:flex-end;align-items:center;gap:.6rem;flex-wrap:wrap;margin:0 0 1.25rem;color:var(--muted);font-size:.75rem}.local-context .secondary-button{margin:0}.page-tools{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}.muted-copy{color:var(--muted);font-size:.8rem;line-height:1.5}.empty-message{padding:1.3rem;color:var(--muted);font-size:.85rem}.empty-message p{margin:.4rem 0}.dashboard-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:1rem}.dashboard-metrics a{color:inherit;text-decoration:none}.dashboard-panel{overflow:hidden}.dashboard-panel>header{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:1rem;border-bottom:1px solid var(--line)}.dashboard-panel>header h2{font-size:1rem;margin:.2rem 0}.dashboard-panel>header span{font-size:.8rem;color:var(--muted)}.attention-list{display:grid}.attention-item{display:grid;grid-template-columns:minmax(0,1fr) auto;text-align:left;gap:.25rem .75rem;width:100%;padding:.9rem 1rem;border:0;border-bottom:1px solid var(--line);background:#fff;color:var(--ink)}.attention-item:hover{background:#f7f9f8}.attention-item strong{font-size:.83rem}.attention-item small{font-size:.75rem;color:var(--muted);grid-column:1}.attention-item time{grid-column:2;grid-row:1/3;font-size:.75rem;color:var(--muted)}.overview-attention-grid{gap:1rem}.record-workspace-header h1{font-size:1.6rem;margin:.25rem 0}.record-workspace-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem;padding:1.2rem;background:#fff;border:1px solid var(--line);border-radius:12px}.record-workspace-tabs{display:flex;gap:0;overflow:auto;background:#fff;border-bottom:1px solid var(--line);margin:0 0 1rem}.record-workspace-tabs button{padding:.85rem 1rem;border:0;border-bottom:3px solid transparent;white-space:nowrap;background:transparent;color:#59615f;font-size:.82rem;font-weight:700}.record-workspace-tabs button.active{border-bottom-color:var(--orange);color:var(--ink)}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.workspace-content-card{padding:1.15rem;margin-bottom:1rem}.workspace-content-card h2{font-size:1.05rem;margin:0 0 .8rem}.detail-list{display:grid;grid-template-columns:145px minmax(0,1fr);gap:.8rem;margin:0;font-size:.85rem}.detail-list dt{color:var(--muted)}.detail-list dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.job-tabs-tools{display:flex;align-items:center;justify-content:space-between;gap:.7rem;flex-wrap:wrap;margin-bottom:1rem}.job-tabs-tools h2{margin:0;font-size:1.05rem}.register-panel{margin-top:0}.register-toolbar input{max-width:450px}.register-table{min-width:760px}.register-table th:first-child,.register-table td:first-child{position:static;min-width:180px}.register-table td small{display:block;margin-top:.2rem;color:var(--muted)}.register-table .number-cell{white-space:nowrap}.schedule-table{min-width:850px}.schedule-table th:nth-child(1),.schedule-table td:nth-child(1),.schedule-table th:nth-child(2),.schedule-table td:nth-child(2){position:static;box-shadow:none}.status-badge{display:inline-block;padding:.28rem .5rem;border-radius:99px;font-size:.68rem;font-weight:750;background:#edf0ee;color:#4a5c50;white-space:nowrap}.status-in_progress,.status-approved,.status-paid{background:#e9f4ec;color:#276443}.status-delayed,.status-urgent{background:#fff0e1;color:#89551c}.status-draft,.status-not_started{background:#eef0f2;color:#5c6266}.status-completed{background:#e8f0ee;color:#315a4b}.status-cancelled,.status-inactive{background:#f8e9e7;color:#853d35}.materials-sections{display:grid;gap:1.2rem}.material-section{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.material-section>header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid var(--line)}.material-section h3{font-size:.95rem;margin:0}.material-section table{min-width:850px}.item-actions{display:flex;gap:.4rem;align-items:center;flex-wrap:wrap}.link-button{padding:0;border:0;background:transparent;color:#505f65;text-decoration:underline;text-underline-offset:3px;font-size:.8rem}.activity-items article{padding:.85rem 0;border-bottom:1px solid var(--line)}.activity-items p{margin:0 0 .35rem;white-space:pre-wrap;overflow-wrap:anywhere}.activity-items small{color:var(--muted)}.file-name{overflow-wrap:anywhere}.team-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;padding:.75rem;border:1px solid var(--line);border-radius:8px}.team-checks label{display:flex!important;gap:.5rem;align-items:center;font-weight:400;font-size:.8rem}.team-checks input{width:auto!important}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.form-row .wide{grid-column:1/-1}.job-form textarea{resize:vertical;min-height:80px}.job-form{display:grid;gap:1rem}.job-form fieldset{min-width:0;margin:0;padding:0;border:0}.job-form legend{margin-bottom:.5rem;font-size:.82rem;font-weight:700;color:#40515e}.form-help{margin:0;color:var(--muted);font-size:.76rem;line-height:1.5}.settings-form{max-width:880px}.settings-form .form-actions{justify-content:flex-start}.auth-tabs{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.2rem}.auth-tabs button{font-size:.8rem}.auth-notes{margin-top:1rem;font-size:.78rem;color:var(--muted);line-height:1.5}.auth-notes p{margin:.4rem 0}.auth-notes code{font-size:.76rem}.login-panel>.brand-lockup{margin-bottom:1.3rem}.login-panel .brand-lockup h1{font-size:1.5rem}.login-panel .brand-byline{color:var(--muted)}.login-page .login-panel{max-width:500px}.login-page .login-art{min-height:100vh;display:flex;align-items:center;justify-content:center}.login-art .art-message{position:relative;inset:auto;margin:3rem;max-width:500px;color:#fff}.login-art .art-message h2{font-size:2.8rem;line-height:1.15}.login-art .art-message p{color:#d3d8d7;line-height:1.7}.auth-form-title{margin:0;font-size:1.1rem}.auth-form-title small{display:block;margin-top:.4rem;font-size:.8rem;font-weight:400;color:var(--muted)}.login-form input,.login-form select{width:100%}.login-form .form-error:empty{display:none}dialog#editor{width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 36px);padding:0;border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 90px #15231d40;color:var(--ink);background:#fff}dialog#editor::backdrop{background:#10231c80}dialog#editor>.dialog-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid var(--line);background:#fff}dialog#editor h2{font-size:1.15rem;margin:0}dialog#editor>.job-form,dialog#editor>.dialog-content{padding:1.2rem}dialog#editor .form-actions{position:sticky;bottom:-1.2rem;margin:0 -1.2rem -1.2rem;padding:1rem 1.2rem;background:#f7f8f7;border-top:1px solid var(--line)}.document-lines{display:grid;gap:.7rem}.document-line{display:grid;grid-template-columns:minmax(130px,1fr) 75px 70px 90px 32px;gap:.45rem;align-items:end}.document-line label{font-size:.72rem}.document-line input{padding:.5rem;min-width:0}.document-line .icon-button{height:36px;width:32px}.table-empty{padding:1.2rem!important;text-align:center;color:var(--muted)}#notice:not(:empty){position:fixed;bottom:20px;right:20px;z-index:100;padding:.85rem 1.2rem;border:1px solid #bfcfc5;border-radius:10px;background:#f0f8f1;color:#254c36;box-shadow:var(--shadow);max-width:min(450px,calc(100vw - 40px));font-size:.85rem}.inline-error{padding:.8rem;border:1px solid #e3bcb4;background:#fff1ee;border-radius:8px;color:#853d35}.no-wrap{white-space:nowrap}.invite-link{display:block;overflow-wrap:anywhere;background:#f5f7f5;border:1px solid var(--line);border-radius:8px;padding:1rem;font-size:.85rem}.job-select{min-width:200px}.list-filters{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem}.list-filters input{flex:1;min-width:160px}.list-filters select{width:auto;min-width:150px}.checkbox-label{display:flex!important;align-items:center;gap:.5rem}.checkbox-label input{width:auto}.print-total{font-weight:750}.local-sample{font-size:.73rem;color:var(--muted);padding:.2rem 0}.auth-actions{display:flex;gap:.6rem;flex-wrap:wrap}.form-error{white-space:pre-wrap}.timesheet-actions{display:flex;gap:.5rem}.job-status-form{margin-top:1rem}.login-form details summary{cursor:pointer}.login-form details p{font-size:.76rem}.settings-help{max-width:650px;line-height:1.6}.header-actions{flex-wrap:wrap}.office-mobile-header .brand-logo{width:34px;height:34px}
.record-workspace-header{color:#fff;background:linear-gradient(135deg,var(--navy-dark),var(--navy))}.record-workspace-header .eyebrow{color:#bfc2c4}.record-workspace-header .status-badge{color:#4a5c50}.record-workspace-header .status-delayed{color:#89551c}
@media(max-width:1000px){.dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.overview-attention-grid{grid-template-columns:1fr}.workspace-header{flex-wrap:wrap}.detail-list{grid-template-columns:125px minmax(0,1fr)}}
@media(max-width:800px){.app-shell{display:block}.sidebar{position:fixed;z-index:60;top:0;left:0;width:244px;transform:translateX(-110%);transition:transform .15s}.sidebar.mobile-open{transform:translateX(0)}.sidebar .office-mobile-drawer-close{display:block;align-self:flex-end;color:white;border:0;background:transparent;font-size:1.5rem}.office-mobile-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#fff;border-bottom:1px solid var(--line)}.office-mobile-header strong{font-size:.8rem}.office-mobile-menu{border:0;background:transparent;font-size:1.35rem}.office-mobile-backdrop.visible{display:block;position:fixed;inset:0;z-index:50;border:0;background:#10231c80}.workspace{padding:1.1rem!important}.local-context{margin-bottom:1rem}.workspace-header h1{font-size:1.7rem}.record-workspace-header{padding:1rem}.record-workspace-header h1{font-size:1.3rem}.record-workspace-header{flex-wrap:wrap}.login-page{display:block}.login-art{display:none!important}.login-panel{width:calc(100% - 36px);padding:2rem 0!important;margin:0 auto;max-width:500px}.form-row{grid-template-columns:1fr}.form-row .wide{grid-column:auto}.team-checks{grid-template-columns:1fr}.document-line{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) 32px;padding:.7rem 0;border-bottom:1px solid var(--line)}.document-line label:first-child{grid-column:1/-1}.document-line .icon-button{grid-column:4}.record-workspace-tabs button{padding:.75rem .8rem}.workspace-header .header-actions{width:100%}.workspace-header .header-actions button{flex:1}.overview-group{padding:.7rem}.detail-list{grid-template-columns:1fr;gap:.3rem}.detail-list dd{margin-bottom:.65rem}.dashboard-metrics article{padding:.8rem}.dashboard-metrics strong{font-size:1.2rem}.register-toolbar{flex-wrap:wrap}.register-toolbar .search-field{flex-basis:100%}.job-tabs-tools>.page-tools{width:100%}.auth-tabs{gap:.65rem}.workspace-header p{font-size:.85rem}}

.record-workspace-header>div{min-width:0}.record-workspace-header h1{overflow-wrap:anywhere}
body{min-width:0}

.demo-sign-in{display:block;text-align:center;text-decoration:none}

/* Supplied KM identity on the public sign-in page. */
.login-page .brand-lockup>.brand-logo{background-image:url('/km-logo.png');width:150px;height:51px;border-radius:0;background-color:transparent;background-size:contain}
@media(max-width:760px){.login-page .brand-lockup{display:block}.login-page .brand-lockup>.brand-logo{width:170px;height:57px;margin-bottom:20px}.login-page .brand-lockup h1{font-size:28px}.login-page .login-intro{font-size:17px;line-height:1.5}.login-page .login-panel{padding:24px 20px}.login-page .brand-lockup .eyebrow,.login-page .brand-byline{display:none}}
