/* Large, high-contrast controls for on-site use. Keep this stylesheet last. */
:root{font-size:18px;--muted:#52634f;--border:#cdd5c8}
body{line-height:1.7}
h1{font-size:32px;line-height:1.5;letter-spacing:0}
h2{font-size:24px;line-height:1.5}
h3{font-size:20px;line-height:1.5}
p,small,.small,.muted{font-size:16px}
.eyebrow,.workspace-label,.project-number,.sidebar nav a>span{display:none}
.contractor-heading{font-size:18px;color:#465f39;margin-bottom:10px}
.brand{font-size:28px;letter-spacing:-1px}
.sidebar{width:255px;padding:30px 20px}
.sidebar nav{margin-top:35px}
.sidebar nav a{font-size:18px;padding:17px 14px;color:#c4d2ca;min-height:58px}
.sidebar nav a.active{color:#20382c}
.sidebar-bottom .local-label{color:#c4d2ca;font-size:14px}
.profile strong{font-size:16px}.profile small{font-size:14px;color:#c4d2ca}
.profile .icon-button{min-width:44px;min-height:44px}
.avatar{width:40px;height:40px;font-size:18px}
main{margin-left:255px}
.topbar{font-size:16px;padding:0 30px}.today{font-size:14px}
.content{padding:32px 30px 45px}
.page-title{align-items:center}.page-title .muted{font-size:16px}
.primary,.secondary{font-size:18px;min-height:56px;padding:13px 18px;white-space:normal;line-height:1.5}
.icon-button{font-size:28px;min-width:44px;min-height:44px}
.stats{margin-bottom:28px}.stat{padding:22px}
.stat>span{font-size:17px;color:#52634f}.stat>strong{font-size:38px}
.stat strong small{font-size:16px;color:#52634f}.stat p{font-size:15px;color:#52634f}
.section-row h2{font-size:23px}.count{font-size:16px;color:#52634f}
.filters{flex-wrap:wrap}.search{min-height:56px;min-width:240px;flex:1}
.search input,.filters select{font-size:18px;min-height:54px}.filters>.small{font-size:14px;color:#52634f}
.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.project-card{padding:24px}.card-top{margin-bottom:15px}
.badge{font-size:16px;padding:6px 10px;line-height:1.4}
.contractor{font-size:16px;color:#52634f}.project-card h2{font-size:23px;line-height:1.5;min-height:0}
.address{font-size:16px;min-height:0;color:#52634f}
.card-progress{font-size:16px;color:#52634f}.card-progress strong{font-size:30px}.card-progress small{font-size:18px}
.card-progress-meta{font-size:16px;color:#52634f;flex-wrap:wrap}.tiny-blocks{display:none}
.card-footer{font-size:15px;color:#52634f;flex-wrap:wrap}.round-arrow{width:35px;height:35px;font-size:22px}
.back{font-size:18px;min-height:44px;line-height:44px;color:#3d5931}
.project-summary span,.project-summary p{font-size:16px;color:#52634f}
.project-summary small{font-size:18px}.project-summary>div:first-child{flex-wrap:wrap;gap:10px 20px}
.tabs{gap:20px;margin:22px 0}.tabs button{font-size:18px;min-height:56px;padding:14px 8px;color:#52634f}
.tabs span{font-size:15px}.tabs .selected{font-weight:800}
.trade-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
.trade-tabs button{min-height:128px;padding:18px 13px;color:#36502c;border-width:2px}
.trade-tabs button.selected{color:white}.trade-tabs strong{font-size:24px}
.trade-tabs span,.trade-tabs small{font-size:16px;opacity:1}
.legacy-note{font-size:15px;color:#69532b;line-height:1.8}
.floor-tabs button{font-size:20px;min-height:56px;min-width:66px;padding:10px 15px;color:#465f39}
.map-panel h2{font-size:24px}.map-panel .small{font-size:16px;color:#52634f}
.legend{font-size:16px;color:#52634f;flex-wrap:wrap}.legend i{width:13px;height:13px}
.map-panel>.section-row{align-items:flex-start;flex-wrap:wrap}
.room-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.room{min-height:214px;padding:20px;color:#52634f;border-width:2px}
.room strong{font-size:26px;margin:26px 0 15px}.room-status{font-size:16px;top:10px;right:12px}
.room-person,.room small{font-size:16px;opacity:1}.room-quantity{font-size:22px}
.room.completed{background:#dfebcd;border-color:#92ad6b}.room.completed .room-status{color:#365321}
.corridor,.map-note{font-size:15px;color:#52634f}.corridor{letter-spacing:2px}
.document-section h3{font-size:20px;color:#52634f}
.document-info strong{font-size:18px}.document-info small{font-size:15px;color:#52634f}
.document-row{flex-wrap:wrap}.document-info{min-width:180px}.download-link{font-size:17px;min-height:44px;display:flex;align-items:center;color:#3d5931}
.history-row{flex-wrap:wrap}.history-row strong{font-size:18px}.history-row p,.history-row time{font-size:16px;color:#52634f}
.event-icon{width:38px;height:38px}.history-row>div{flex:1;min-width:200px}
.segmented button{font-size:18px;min-height:52px;padding:12px 24px;color:#52634f}
.calendar-nav h2{font-size:23px}.calendar-nav{flex-wrap:wrap}
.segmented[hidden]{display:none}
.gantt{min-width:1120px}.gantt-heading,.gantt-row{grid-template-columns:310px 1fr}
.gantt-heading{font-size:16px;color:#52634f}.gantt-ticks span{font-size:14px}
.gantt-row strong{font-size:18px}.gantt-row small{font-size:15px;color:#52634f}.gantt-row{min-height:150px}
.gantt-bar{top:50px;font-size:17px;height:46px}
.gantt-wrap{--site-width:310px;isolation:isolate;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.gantt-wrap .gantt{min-width:calc(var(--site-width) + var(--columns)*var(--tick-width))}
.gantt-heading,.gantt-row{grid-template-columns:var(--site-width) minmax(0,1fr)}
.gantt-heading>div:first-child,.gantt-row>a{position:sticky;left:0;z-index:2;background:#fff;border-right:2px solid #aebda6;box-shadow:4px 0 6px #213e3210;overflow-wrap:anywhere}
.gantt-heading>div:first-child{background:#f1f5ec;z-index:3}
.gantt-track{z-index:0}
.gantt-ticks>span{align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:8px 0}.gantt-ticks small{font-size:12px;line-height:1.3}
.gantt-day-shading{position:absolute;inset:0;display:grid;grid-template-columns:repeat(var(--columns),1fr);pointer-events:none}.gantt-day-shading>span{border-right:1px solid #e1e6df}
.gantt-ticks .saturday,.gantt-day-shading .saturday,.schedule-day-legend .saturday{background:#dff2fc}
.gantt-ticks .holiday,.gantt-day-shading .holiday,.schedule-day-legend .holiday{background:#fce7ed}
.gantt-track .gantt-bar{z-index:1}.schedule-day-legend{display:flex;flex-wrap:wrap;gap:10px;font-size:16px}.schedule-day-legend>span{padding:6px 10px;border-radius:4px}
.gantt-track .gantt-note{position:absolute;z-index:1;height:54px;min-height:54px;padding:0;border:0;border-bottom:5px solid #bd9bdf;border-radius:0;background:transparent;color:#553472;text-align:left;overflow:visible}
.gantt-note:after{content:'';position:absolute;bottom:-5px;left:0;right:0;height:10px;border-left:2px solid #9870bf;border-right:2px solid #9870bf}
.gantt-note span{position:absolute;bottom:9px;left:0;display:block;width:max-content;max-width:240px;padding:3px 6px;border-radius:4px;background:#f0e5fa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:1.5}
.gantt-note span.note-label-right{left:auto;right:0}.schedule-day-legend .note-legend{background:#f0e5fa;color:#553472}
.schedule-scroll-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;font-size:16px}.schedule-scroll-controls>div{display:flex;gap:8px}.schedule-scroll-controls button{min-width:52px}
@media(max-width:760px){.gantt-wrap{--site-width:156px}.gantt-row>a,.gantt-heading>div:first-child{padding:14px 10px}.gantt-row strong{font-size:17px;line-height:1.6}.gantt-row small{font-size:14px;line-height:1.6}.gantt-row{min-height:170px}.schedule-scroll-controls{align-items:flex-start}.schedule-scroll-controls>span{flex:1}}
label,legend{font-size:18px;color:#3f5635}
input,select,textarea{font-size:20px;min-height:56px;padding:12px 14px;line-height:1.5;border-color:#aebda2}
input::placeholder{color:#687a5e}textarea{min-height:140px}
.form-grid{gap:18px}.form-error{font-size:17px}
dialog{width:min(620px,calc(100% - 24px));padding:26px}.modal-heading h2{font-size:25px}
.modal-actions{gap:12px}.modal-actions button{flex:1}
.completion-card p{font-size:18px}.completion-card h3{font-size:25px}
.member-row strong{font-size:18px}.member-row small{font-size:16px;color:#52634f}
.member-checks{gap:18px}.member-checks label{min-height:44px;font-size:18px}
.member-checks input{width:24px;height:24px}.member-checks+small,fieldset>small{font-size:16px;color:#52634f}
.day-summary strong{font-size:24px}.day-summary span{font-size:16px;color:#52634f}
.day-description{font-size:20px;line-height:1.9}.day-card h3{font-size:20px}
.day-file strong{font-size:17px}.day-file>div:last-child{font-size:18px;flex-wrap:wrap}
.day-file>div:last-child a{min-height:44px;display:inline-flex;align-items:center}
.day-files>.muted{font-size:16px}.pdf-tile{font-size:30px}.day-file img{height:170px}
.login-form>div{width:420px}.login-form h2{font-size:32px}.login-form .muted{font-size:18px}
.login-note{font-size:16px;color:#52634f}.login-brand p:not(.eyebrow){font-size:18px;color:#c4d2ca}
.login-brand>small{font-size:14px;color:#c4d2ca}.login-form form{margin-top:25px}
#toast{font-size:18px;line-height:1.7}footer,footer span{font-size:13px;color:#52634f}
@media(max-width:1100px){.sidebar{width:220px}.sidebar .brand{font-size:25px}main{margin-left:220px}.content{padding:25px 20px}.topbar{padding:0 20px}.trade-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:1fr}.stat{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.stat+.stat{border-left:0;border-top:1px solid var(--border)}.stat>strong{margin:0}.stat .progress{width:100%;max-width:none;margin:0}.stat p{margin:0}.project-grid{grid-template-columns:1fr}}
@media(max-width:760px){
  .sidebar{position:relative;width:100%;height:auto;flex-direction:column;padding:14px 16px;gap:12px;align-items:flex-start}
  .sidebar .brand{font-size:26px}.sidebar nav{margin:0;width:100%;display:flex;gap:6px}
  .sidebar nav a{font-size:17px;min-height:52px;padding:12px 6px;flex:1;justify-content:center;white-space:nowrap}
  .sidebar-bottom{display:none}main{margin-left:0}.topbar{font-size:14px;height:auto;min-height:48px;padding:10px 16px}
  .content{padding:22px 16px 35px}.page-title{flex-direction:column;align-items:stretch;gap:14px}
  .page-title h1{font-size:28px}.page-title .muted{font-size:16px}.page-title .primary,.page-title .secondary{font-size:18px;min-height:56px}
  .stats{margin-bottom:25px}.stat{padding:18px}.stat>span{font-size:17px}.stat>strong{font-size:32px}.stat strong small{font-size:16px;margin-left:8px}.stat p{font-size:15px}
  .section-row{flex-wrap:wrap}.section-row h2{font-size:23px}.section-row>.small{font-size:15px}
  .filters{flex-direction:column}.search{width:100%;min-width:0}.search input{font-size:18px}.filters select{width:100%;font-size:18px;padding:12px}.filters>.small{display:none}
  .project-card h2{font-size:23px}.address{font-size:16px}.card-footer{font-size:15px}
  .project-summary span{font-size:16px}.project-summary strong{font-size:32px}.project-summary p{font-size:16px}
  .tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;overflow:visible;border:0}.tabs button{font-size:18px;padding:12px 6px;background:white;border:1px solid #cdd5c8;border-radius:6px}.tabs button.selected{background:#213e32;color:white;border-color:#213e32}.trade-tabs button{min-height:123px;padding:14px 10px}.trade-tabs strong{font-size:23px}.trade-tabs span,.trade-tabs small{font-size:16px}
  .map-panel{padding:14px}.map-panel h2{font-size:23px}.map-panel .small{font-size:16px}.legend{font-size:15px;gap:12px}
  .room-grid{gap:10px}.room{padding:12px;min-height:214px}.room strong{font-size:24px;margin-top:33px}.room-status{font-size:15px;right:8px}.room-person,.room small{font-size:16px}.room-person{overflow-wrap:anywhere}.room-quantity{font-size:21px}
  .map-note,.legacy-note{font-size:15px}.document-info strong{font-size:18px}.download-link{font-size:17px}.document-info small{font-size:15px}
  .history-row strong{font-size:18px}.history-row time{font-size:16px}.history-row>div{min-width:180px}
  .calendar-nav h2{font-size:22px}.calendar-nav .secondary{min-width:52px}.calendar-toolbar>button{align-self:stretch}
  .segmented button{font-size:18px;min-height:52px}.settings-card .section-row .primary{font-size:17px;padding:12px}
  .form-grid{grid-template-columns:1fr;gap:0}dialog{padding:20px}.modal-heading h2{font-size:24px}.modal-actions{flex-direction:column-reverse}
  .day-card .section-row h3{font-size:20px}.day-card .section-row .secondary{font-size:18px;padding:12px;width:100%}.day-files{grid-template-columns:1fr}.day-file img{height:200px}
  .day-summary{align-items:flex-start;gap:8px}.day-summary span{font-size:16px}.day-card{padding:18px}
  .login-brand h1{font-size:27px}.login-form{padding:28px 20px}.login-form h2{font-size:30px}.login-form>div{width:100%}.login-note{font-size:16px}
  footer{font-size:13px;flex-direction:column;gap:6px}footer span{font-size:13px}
}

.room-planned{display:block;margin-top:10px;padding:8px 4px;font-size:21px;font-weight:700;background:#edf3e8;border-radius:6px;color:#294421;line-height:1.5}
.quantity-changed,.room.completed .quantity-changed,.quantity-changed small{color:#b42318!important;font-weight:700}
.quantity-changed small{display:block;font-size:16px}
input.quantity-changed{border:2px solid #b42318;background:#fff8f7}
.building-scroll{overflow-x:auto;border:1px solid #bfcabd;border-radius:8px;margin:20px 0;background:#eef2eb}
.building-grid{min-width:calc(80px + var(--rooms)*190px);padding:12px}
.building-floor{display:grid;grid-template-columns:64px repeat(var(--rooms),minmax(180px,1fr));gap:8px;margin-bottom:10px;align-items:stretch}
.building-floor>h3{position:sticky;left:0;background:#213e32;color:white;display:flex;align-items:center;justify-content:center;font-size:20px;margin:0;border-radius:6px;z-index:1}
.building-room{background:white;border:2px solid #bfcabd;border-radius:6px;padding:14px;min-width:0}
.building-room h4{font-size:25px;margin:0 0 8px;color:#213e32}
.building-type{font-size:16px;margin:0 0 12px;color:#53614d}
.building-room dl{margin:0}.building-room dl>div{border-top:1px solid #d9dfd5;padding:10px 0}
.building-room dt{font-size:16px;color:#53614d}.building-room dd{font-size:22px;font-weight:700;margin:5px 0 0;overflow-wrap:anywhere;color:#213e32}
.building-room.building-complete{background:#d9f2ff;border-color:#7bbbdc}
.building-room dl>div.building-work-complete{background:#d9f2ff;border-radius:5px;padding:10px 8px}
.building-work-complete dt,.building-work-complete dd{color:#16465e}
.blocks-view-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.blocks-view-controls h2{margin:0}
.blocks-overview{position:fixed;inset:0;z-index:50;background:#f5f6f2;padding:12px;display:flex;flex-direction:column;height:100dvh;box-sizing:border-box}
.blocks-overview>p{margin:8px 0;font-size:16px;line-height:1.4}
.overview-floors{display:grid;grid-template-rows:repeat(var(--floors),minmax(0,1fr));gap:3px;flex:1;min-height:0}
.overview-floor{display:grid;grid-template-columns:42px repeat(var(--rooms),minmax(0,1fr));gap:3px;min-height:0}
.overview-floor>strong{display:flex;align-items:center;justify-content:center;background:#213e32;color:white;font-size:14px;border-radius:3px}
.overview-room{min-height:0!important;min-width:0;padding:1px!important;border:1px solid #bac6b5;background:white;border-radius:3px;display:flex;flex-direction:column;justify-content:center;align-items:stretch;overflow:hidden;font-size:15px!important;line-height:1.1}
.overview-room>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.overview-marks{display:flex;gap:2px;justify-content:center}.overview-marks i{font-style:normal;font-size:10px;flex:1;background:#f0f0ed;color:#354338;border-radius:2px}.overview-marks i.finished,.overview-complete,.overview-worker.building-work-complete{background:#c3eaff;color:#16465e}
.overview-worker{padding:12px;margin:10px 0;border-radius:6px}
.monthly-filters{display:flex;gap:20px;flex-wrap:wrap}.monthly-filters label{min-width:220px;flex:1}.monthly-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:#eef3eb;padding:14px}.monthly-totals p{margin:0}.settings-card summary{font-size:18px;cursor:pointer;padding:12px 0}
.report-switch{display:flex;gap:10px;margin-bottom:18px}.report-switch button{flex:1;min-height:56px}
.compact-reports{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.compact-room{background:white;border:1px solid #c5d0c0;border-radius:8px;padding:14px}.compact-room h3{font-size:24px;margin:0 0 10px}
.compact-trade{width:100%;display:grid;grid-template-columns:85px 1fr;gap:4px 8px;text-align:left;padding:10px;min-height:64px;margin:6px 0;border:1px solid #d5ded0;border-radius:5px;background:#fafbf8;font-size:18px}
.compact-trade small{grid-column:1/-1;font-size:16px}.compact-trade.is-complete{background:#d9f2ff;border-color:#7bbbdc}.compact-trade span{text-align:right}
.group-report-field{padding:12px 0;border-top:1px solid #d5ded0}.group-report-field p{margin:6px 0}.group-report-field small{font-size:16px}.group-report-field label{margin-bottom:6px}
@media(max-width:760px){.compact-reports{grid-template-columns:1fr}.report-switch button{font-size:18px;padding:10px 6px}.compact-room{padding:12px}.compact-trade{min-height:64px}}
@media(max-width:760px){.sidebar nav{display:grid;grid-template-columns:1fr 1fr}.monthly-totals{grid-template-columns:1fr}.monthly-filters label{min-width:0;width:100%}}
@media(max-width:760px){.blocks-overview{padding:6px}.blocks-view-controls h2{font-size:21px}.overview-floor{grid-template-columns:30px repeat(var(--rooms),minmax(0,1fr));gap:2px}.overview-floor>strong{font-size:11px}.overview-room{font-size:12px!important}.blocks-overview>p{font-size:14px}}
.quantity-hint{background:#fff8e8;border:1px solid #ded3b9;border-radius:6px;color:#66552f;font-size:16px;padding:12px;line-height:1.8}
.quantity-source{background:#fff;border:1px solid #cdd5c8;padding:22px;border-radius:10px;margin:20px 0}
.quantity-source strong{font-size:20px}.quantity-source p{font-size:16px}.quantity-source details{margin-top:20px}.quantity-source summary{cursor:pointer;min-height:44px;font-size:18px}.quantity-source li{font-size:16px;margin-bottom:8px}
.quantity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}
.quantity-card{background:white;border:1px solid #cdd5c8;border-radius:10px;padding:22px}
.quantity-card h3{font-size:23px}.quantity-line{display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e1e6df;padding:13px 0;font-size:18px}.quantity-line strong{white-space:nowrap}.quantity-line span{text-align:right}
.trade-tabs button{min-height:150px}.trade-tabs small{line-height:1.7}
@media(max-width:760px){.quantity-grid{grid-template-columns:1fr}.quantity-card{padding:18px}.quantity-card h3{font-size:22px}.quantity-line{font-size:18px}.quantity-source{padding:18px}.room-grid .room{min-height:255px}.trade-tabs button{min-height:164px}}
