:root{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#172b26;
  background:#f6f5ef;
  font-synthesis:none;
  line-height:1.5;
  --green:#164e3d;
  --line:#d8dfd6
}
*{
  box-sizing:border-box
}
body{
  margin:0
}
button,input,select{
  font:inherit
}
button,a,input{
  touch-action:manipulation
}
button{
  cursor:pointer;
  min-height:44px;
  padding:9px 16px;
  background:#fff;
  border:1px solid #adbcb3;
  border-radius:10px;
  color:inherit;
  font-weight:600
}
button:hover{
  background:#e9eee6
}
button:disabled{
  cursor:wait;
  opacity:.6
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{
  outline:3px solid #be641c;
  outline-offset:3px
}
input,select{
  min-height:48px;
  border:1px solid #adbcb3;
  border-radius:8px;
  padding:10px 12px;
  background:#fff;
  color:inherit;
  max-width:100%;
  width:100%
}
input[type=checkbox]{
  width:24px;
  min-height:24px;
  accent-color:var(--green)
}
label{
  display:block;
  font-weight:600;
  margin-bottom:6px
}
header{
  max-width:980px;
  margin:auto;
  padding:22px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid var(--line)
}
.brand{
  text-decoration:none;
  color:inherit;
  font-weight:800;
  font-size:28px;
  letter-spacing:-1px
}
.brand span{
  font-size:12px;
  font-weight:500;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-left:12px
}
.quiet{
  background:transparent;
  border-color:var(--line)
}
main{
  max-width:860px;
  margin:auto;
  padding:0 16px 32px
}
h1{
  font-size:28px;
  line-height:1.2;
  letter-spacing:-.8px;
  margin:0 0 10px
}
h2{
  line-height:1.25;
  margin:0 0 12px
}
p{
  margin:0 0 14px
}
nav{
  display:flex;
  gap:8px;
  padding:20px 0 26px
}
nav a{
  flex:1;
  max-width:200px;
  text-align:center;
  text-decoration:none;
  border-radius:10px;
  color:#40554b;
  padding:12px 20px;
  min-height:48px;
  font-weight:650;
  background:#e9ece4
}
nav a[aria-current=page]{
  background:var(--green);
  color:white
}
.heading{
  margin:0 0 22px
}
.heading p{
  color:#58665f;
  font-size:14px;
  margin:0
}
.signal{
  padding:26px 22px;
  border-radius:18px;
  border:1px solid #c9dbcd;
  background:#dfeddf;
  margin-bottom:24px
}
.signal h2{
  font-size:28px;
  letter-spacing:-.6px;
  margin:14px 0
}
.signal p:last-child{
  margin-bottom:0
}
.eyebrow{
  font-size:11px;
  font-weight:750;
  letter-spacing:1.4px
}
.signal.offline{
  background:#e4e6e8;
  border-color:#c4c8cc;
  color:#3e4851
}
.signal.problem{
  background:#fff0dc;
  border-color:#e6b67e;
  color:#6e390d
}
.signal.maintenance{
  background:#eae5f0;
  border-color:#cbbddf;
  color:#4b3866
}
.signal.closed{
  background:#e3e9ed;
  border-color:#b9ccd5;
  color:#304c5d
}
.signal.starting{
  background:#fff5d7;
  border-color:#e5d18f;
  color:#665219
}
.details{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:0 18px;
  margin:0 0 28px
}
.details div{
  border-bottom:1px solid #e8ece5;
  padding:16px 0
}
.details div:last-child{
  border:0
}
.details dt{
  font-size:13px;
  color:#58665f
}
.details dd{
  margin:4px 0 0;
  font-weight:600;
  overflow-wrap:anywhere
}
.section-title{
  font-size:20px;
  margin-bottom:6px
}
.muted{
  font-size:13px;
  color:#58665f
}
.touches{
  display:grid;
  gap:8px
}
.touch{
  padding:12px 16px;
  background:white;
  border:1px solid var(--line);
  border-radius:10px;
  display:flex;
  justify-content:space-between;
  gap:12px
}
.touch span{
  font-size:14px
}
.touch strong{
  text-align:right;
  font-size:14px
}
.login{
  max-width:420px;
  padding:48px 4px 72px;
  margin:auto
}
.login h1{
  font-size:36px
}
.login p:not(.eyebrow):not(.error){
  color:#58665f
}
.login form{
  margin-top:30px
}
.login button{
  width:100%
}
.primary{
  background:var(--green);
  border-color:var(--green);
  color:white
}
.primary:hover{
  background:#20664f
}
.wide{
  width:100%
}
.error{
  color:#a72e21;
  font-weight:600;
  white-space:pre-line;
  overflow-wrap:anywhere;
  margin:12px 0
}
.error:empty,.saved:empty,.receipt:empty{
  display:none
}
.week{
  display:grid;
  gap:12px
}
.day{
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  background:white
}
.day-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:14px
}
.day-title h2{
  font-size:18px;
  margin:0
}
.switch{
  display:flex;
  gap:9px;
  align-items:center;
  margin:0;
  min-height:44px;
  font-size:14px
}
.day.closed-day .hours{
  opacity:.5
}
.hour-labels{
  display:flex;
  justify-content:space-between;
  font-size:15px;
  margin-bottom:6px
}
.dual-range{
  height:54px;
  position:relative;
  margin:0 0 6px
}
.dual-range input{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:54px;
  margin:0;
  padding:0;
  appearance:none;
  -webkit-appearance:none;
  pointer-events:none;
  border:0;
  background:transparent;
  outline-offset:-3px
}
.dual-range:before{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  top:24px;
  height:6px;
  border-radius:8px;
  background:#cad8cc
}
.dual-range input::-webkit-slider-runnable-track{
  height:6px;
  background:transparent
}
.dual-range input::-moz-range-track{
  height:6px;
  background:transparent
}
.dual-range input::-webkit-slider-thumb{
  appearance:none;
  -webkit-appearance:none;
  width:44px;
  height:44px;
  border:10px solid white;
  box-shadow:0 0 0 1px #748d7c;
  border-radius:50%;
  background:var(--green);
  margin-top:-19px;
  pointer-events:auto;
  cursor:grab
}
.dual-range input::-moz-range-thumb{
  width:24px;
  height:24px;
  border:10px solid white;
  border-radius:50%;
  background:var(--green);
  pointer-events:auto;
  cursor:grab
}
.range-buttons{
  display:flex;
  justify-content:space-between;
  gap:12px
}
.range-buttons>div{
  display:flex;
  align-items:center;
  gap:7px
}
.range-buttons button{
  width:44px;
  min-width:44px;
  padding:0;
  font-size:22px
}
.range-buttons span{
  font-size:12px;
  color:#58665f
}
.exceptions{
  margin-top:30px
}
.exceptions h2{
  font-size:22px;
  margin:0
}
.inline{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px
}
.exceptions>p{
  font-size:14px;
  color:#58665f
}
.exception{
  border:1px solid var(--line);
  padding:16px;
  border-radius:12px;
  background:#fff;
  margin:12px 0
}
.exception-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:12px 0
}
.exception label{
  font-size:13px
}
.exception .remove{
  margin-top:12px
}
.preview{
  padding:22px 18px;
  background:#e5ecdf;
  border:1px solid #c9d8c0;
  border-radius:14px;
  margin:28px 0 24px;
  font-size:18px;
  font-weight:650
}
.preview p:last-child{
  margin:0
}
.saved{
  background:#dfeddf;
  padding:16px;
  border-radius:10px;
  margin-top:18px
}
.receipt{
  margin-top:14px;
  font-size:14px
}
dialog{
  border:1px solid var(--line);
  border-radius:18px;
  max-width:460px;
  width:calc(100% - 32px);
  padding:26px 22px;
  color:inherit;
  background:#f6f5ef
}
dialog::backdrop{
  background:#152b2670
}
.dialog-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px
}
.dialog-actions button{
  flex:1
}
footer{
  max-width:860px;
  margin:auto;
  padding:24px 16px;
  color:#667369;
  font-size:12px;
  border-top:1px solid var(--line)
}
[hidden]{
  display:none!important
}
.admin-pre{
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  background:white;
  border:1px solid var(--line);
  padding:18px;
  border-radius:10px;
  font-size:12px
}
.admin-section{
  margin:24px 0
}
.admin-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.admin-table{
  overflow-x:auto
}
table{
  border-collapse:collapse;
  width:100%;
  font-size:13px
}
td,th{
  text-align:left;
  padding:10px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
  overflow-wrap:anywhere
}
.token{
  word-break:break-all;
  background:#fff5d7;
  padding:16px
}
.admin-nav{
  flex-wrap:wrap
}
.admin-nav a{
  max-width:none;
  flex:1 0 auto;
  font-size:14px;
  padding:10px
}
.admin-field{
  max-width:460px;
  margin:16px 0
}
@media(min-width:700px){
  main{
    padding-top:6px
  }
  .signal{
    padding:32px
  }
  .signal h2{
    font-size:36px
  }
  .details{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0 24px
  }
  .details div:nth-last-child(2){
    border:0
  }
  .touches{
    grid-template-columns:1fr 1fr
  }
  .week{
    grid-template-columns:1fr 1fr
  }
  h1{
    font-size:34px
  }
  .heading{
    margin-bottom:26px
  }
  .login{
    padding-top:72px
  }
}
@media(prefers-reduced-motion:reduce){
  *{
    scroll-behavior:auto
  }
}
.freshness{
  position:sticky;
  top:0;
  z-index:5;
  background:#f6f5ef;
  padding:10px 0;
  margin:-12px 0 12px;
  font-size:14px;
  color:#58665f
}
.stale{
  opacity: .5;
  filter: grayscale(1);
}
.stale, .stale *{
  color: #586065;
}
.adesso-actions{
  display: grid;
  gap: 10px;
  margin: 24px 0;
}
.example-banner{
  padding: 16px;
  border: 1px solid #d5b26f;
  border-radius: 10px;
  background: #fff3d9;
}
.power-order {
    margin-block: 24px;
    padding-block: 12px;
    border-top: 1px solid var(--line);
}
