* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; }
body { background: #edf0ed; color: #171c19; font-family: Arial, Helvetica, sans-serif; letter-spacing: 0; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, .home { touch-action: manipulation; }
button:focus, a:focus, input:focus { outline: 3px solid #326ecc; outline-offset: 3px; }
.display { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; height: 100%; min-height: 480px; padding: 20px 20px 10px; }
.masthead { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; -webkit-flex-shrink: 0; flex-shrink: 0; padding-bottom: 20px; border-bottom: 3px solid #78b72c; }
.brand { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-flex: 1 1 0%; flex: 1 1 0%; min-width: 0; }
.brand img { width: 84px; height: 84px; margin-right: 16px; object-fit: contain; }
.brand > div { min-width: 0; }
.eyebrow { margin: 0 0 7px; font-size: 15px; color: #4c5a50; font-weight: bold; }
h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.1; }
.view-label { font-size: 13px; font-weight: bold; text-transform: uppercase; color: #41651c; }
.overview { width: 280px; margin: 0 16px; -webkit-flex-shrink: 0; flex-shrink: 0; }
.home { display: block; min-height: 44px; padding: 10px; color: #171c19; font-size: 18px; font-weight: bold; text-align: center; text-decoration: underline; }
.metric { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; margin-top: 5px; font-size: 15px; }
.metric strong { display: block; min-width: 46px; padding: 6px 10px; margin-left: 8px; border: 1px solid #adbba7; border-radius: 4px; background: #fff; font-size: 24px; text-align: center; }
.clock { -webkit-flex: 1 1 0%; flex: 1 1 0%; min-width: 0; text-align: right; }
.clock p { margin: 0 0 3px; color: #4c5a50; font-size: 14px; }
.clock time { display: block; font-size: 64px; line-height: 1.15; font-weight: bold; font-variant-numeric: tabular-nums; white-space: nowrap; }
.seconds { color: #d32626; }
.period { margin-left: 7px; font-size: 24px; }
.clock #clock-date { margin: 6px 0 0; }
.toolbar { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; -webkit-flex-shrink: 0; flex-shrink: 0; min-height: 66px; }
.connection { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; min-width: 0; font-size: 14px; color: #4c5a50; line-height: 1.4; margin-right: 12px; }
.status-dot { -webkit-flex-shrink: 0; flex-shrink: 0; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: #879488; }
.status-dot.online { background: #40861b; }
.status-dot.error { background: #d32626; }
.tools { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-flex-shrink: 0; flex-shrink: 0; }
.scroll-toggle { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; min-height: 48px; margin-right: 16px; font-size: 15px; }
.scroll-toggle input { width: 22px; height: 22px; margin: 0 9px 0 0; accent-color: #54851c; }
.tools button { display: inline-block; width: 48px; height: 48px; margin-left: 8px; padding: 11px; border: 1px solid #b6c2b7; border-radius: 6px; background: #fff; color: #263528; cursor: pointer; }
.tools button:disabled { opacity: .5; cursor: default; }
.tools svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.board { display: -webkit-flex; display: flex; -webkit-flex: 1 1 0%; flex: 1 1 0%; min-height: 0; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
.column { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; -webkit-flex: 1 0 0%; flex: 1 0 0%; min-width: 0; margin-right: 12px; border: 1px solid #c7d2c8; background: #f7f9f7; }
.column:last-child { margin-right: 0; }
.column-heading { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; -webkit-flex-shrink: 0; flex-shrink: 0; min-height: 76px; padding: 13px 14px; color: #fff; }
.column-heading h2 { margin: 0 8px 0 0; min-width: 0; font-size: 21px; line-height: 1.15; overflow-wrap: break-word; word-wrap: break-word; }
.column-count { -webkit-flex-shrink: 0; flex-shrink: 0; min-width: 32px; padding: 6px; text-align: center; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; font-size: 18px; font-weight: bold; }
.inquiry .column-heading { background: #2265a2; }
.quotes .column-heading { background: #82529c; }
.vectored .column-heading { background: #a64361; }
.scheduled .column-heading { background: #207b79; }
.complete .column-heading { background: #4e791d; }
.jobs { -webkit-flex: 1 1 0%; flex: 1 1 0%; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.job { background: #fff; border: 1px solid #d2dbd3; border-radius: 6px; padding: 17px 14px; margin-bottom: 10px; overflow-wrap: break-word; word-wrap: break-word; }
.job:last-child { margin-bottom: 0; }
.job h3 { margin: 0; font-size: 21px; line-height: 1.3; }
.customer { margin: 9px 0 0; font-size: 18px; line-height: 1.3; color: #56625a; }
.empty { margin: 12px 2px; color: #6c786e; font-size: 17px; line-height: 1.4; text-align: center; }
footer { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-flex-shrink: 0; flex-shrink: 0; padding-top: 10px; font-size: 13px; line-height: 1.4; color: #58665c; }
footer span + span { margin-left: 16px; text-align: right; }
.noscript { padding: 20px; background: #fff; color: #a91e1e; }
@media (min-width: 2400px) {
  .display { padding: 30px; }
  .brand img { width: 120px; height: 120px; }
  h1 { font-size: 44px; }
  .clock time { font-size: 90px; }
  .overview { width: 380px; }
  .metric { font-size: 21px; }
  .home { font-size: 23px; }
  .metric strong { font-size: 32px; }
  .column-heading { min-height: 96px; }
  .column-heading h2 { font-size: 30px; }
  .column-count { font-size: 26px; }
  .job { padding: 24px; margin-bottom: 16px; }
  .job h3 { font-size: 30px; }
  .customer { font-size: 26px; }
}
@media (max-width: 1250px) {
  .brand img { width: 60px; height: 60px; margin-right: 12px; }
  h1 { font-size: 25px; }
  .clock time { font-size: 52px; }
  .period { font-size: 19px; }
  .column-heading { padding: 10px; }
  .column-heading h2 { font-size: 18px; }
  .job { padding: 14px 10px; }
  .job h3 { font-size: 19px; }
  .customer { font-size: 16px; }
}
@media (max-width: 1000px) {
  .masthead { -webkit-flex-wrap: wrap; flex-wrap: wrap; }
  .brand { -webkit-flex: 0 0 48%; flex: 0 0 48%; }
  .clock { -webkit-flex: 0 0 48%; flex: 0 0 48%; -webkit-order: 1; order: 1; }
  .overview { -webkit-order: 2; order: 2; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; width: 100%; margin: 10px 0 0; }
  .home { margin-right: 20px; }
  .metric { -webkit-flex: 1 1 0%; flex: 1 1 0%; margin: 0 0 0 20px; }
}
@media (max-width: 700px) {
  .display { padding: 12px 10px 8px; }
  .brand { -webkit-flex-basis: 100%; flex-basis: 100%; }
  .clock { -webkit-flex-basis: 100%; flex-basis: 100%; margin-top: 14px; text-align: left; }
  .clock time { font-size: 48px; }
  .overview { -webkit-flex-wrap: wrap; flex-wrap: wrap; }
  .home { width: 100%; margin-right: 0; }
  .metric { -webkit-flex: 1 0 100%; flex: 1 0 100%; margin: 3px 0 0; }
  .masthead { padding-bottom: 12px; }
  .toolbar { -webkit-flex-wrap: wrap; flex-wrap: wrap; padding: 8px 0; }
  .connection { width: 100%; margin-bottom: 8px; }
  .tools { width: 100%; -webkit-justify-content: flex-end; justify-content: flex-end; }
  .board { -webkit-flex: 1 0 300px; flex: 1 0 300px; }
  .column { -webkit-flex: 1 0 220px; flex: 1 0 220px; }
  footer { padding-bottom: 8px; }
}

[hidden] { display: none !important; }
.tools .staff-button { width: auto; min-width: 110px; padding: 10px 14px; font-size: 16px; font-weight: bold; }
.staff-mode .column { min-width: 240px; }
.design .column-heading { background: #756426; }
.deposit .column-heading { background: #936032; }
.closed .column-heading { background: #52616a; }
.job[draggable="true"] { cursor: grab; }
.move-controls { margin-top: 15px; }
.move-controls label { display: block; font-size: 14px; color: #4c5a50; }
.move-controls select { display: block; width: 100%; min-height: 44px; margin: 5px 0 8px; padding: 8px; border: 1px solid #9cae9f; background: white; font: inherit; color: #171c19; border-radius: 4px; }
.move-button, .login-actions button { min-height: 44px; padding: 10px 18px; background: #41651c; color: white; border: 0; border-radius: 4px; font: inherit; cursor: pointer; }
.move-button { width: 100%; }
button:disabled, select:disabled { opacity: .5; cursor: default; }
select:focus { outline: 3px solid #326ecc; outline-offset: 2px; }
.login-panel { position: fixed; z-index: 20; inset: 0; top: 0; right: 0; bottom: 0; left: 0; background: rgba(15,25,17,.65); display: flex; align-items: center; justify-content: center; padding: 20px; overflow: auto; }
.login-form { width: 440px; max-width: 100%; max-height: 95%; overflow: auto; padding: 28px; background: white; border-radius: 10px; box-shadow: 0 12px 60px rgba(0,0,0,.3); }
.login-form h2 { margin-top: 0; }
.login-form p { line-height: 1.5; }
.login-form label { display: block; margin: 14px 0 6px; font-weight: bold; }
.login-form input { display: block; width: 100%; min-height: 48px; padding: 10px; border: 1px solid #9cae9f; border-radius: 4px; }
#login-error { color: #ae2020; }
.login-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
#login-cancel { background: #e8ede8; color: #263528; }
@media (max-width: 700px) { .tools { flex-wrap: wrap; } .tools .staff-button { margin: 0 auto 0 0; } .scroll-toggle { margin-right: 4px; font-size: 13px; } }
