* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; color: #000; font-family: Arial, Helvetica, sans-serif; }
body { font-size: 18px; }
.hidden { display: none !important; }
main { max-width: 1024px; margin: 0 auto; padding: 20px 24px 12px; }
header { display: table; width: 100%; padding-bottom: 13px; border-bottom: 3px solid #000; }
.place, .clock { display: table-cell; vertical-align: middle; }
.place { font-size: 20px; font-weight: bold; letter-spacing: 2px; }
.place span { display: block; font-size: 15px; font-weight: normal; letter-spacing: 0; margin-top: 6px; }
.clock { font-size: 64px; line-height: 1; font-weight: bold; text-align: right; letter-spacing: -3px; }
.eyebrow { font-size: 12px; font-weight: bold; letter-spacing: 1.5px; }
.weather { padding: 17px 0 12px; }
.current-row { display: table; width: 100%; }
.current, .today { display: table-cell; vertical-align: middle; }
.current { width: 50%; }
#temperature { font-size: 82px; line-height: 1.1; font-weight: bold; letter-spacing: -5px; }
.degree { font-size: 30px; vertical-align: top; display: inline-block; margin: 12px 0 0 8px; }
#conditions { font-size: 16px; margin-top: 2px; }
.today { border-left: 1px solid #000; padding-left: 24px; }
.range { font-size: 28px; font-weight: bold; margin: 9px 0; }
.small { font-size: 12px; margin-top: 9px; }
table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.hourly { margin-top: 18px; border-top: 1px solid #000; border-bottom: 1px solid #000; }
.hourly td { text-align: center; padding: 9px 2px; border-right: 1px solid #aaa; font-size: 13px; }
.hourly td:last-child { border-right: 0; }
.hourly strong, .hourly span { display: block; margin-top: 5px; }
.hourly strong { font-size: 22px; }
.daily { margin-top: 9px; }
.daily td { text-align: center; padding: 6px 3px; border-right: 1px solid #aaa; font-size: 13px; }
.daily td:last-child { border-right: 0; }
.daily strong { display: block; font-size: 16px; margin-bottom: 4px; }
.light { padding-top: 12px; border-top: 3px solid #000; }
.section-title { display: table; width: 100%; margin-bottom: 8px; }
h1 { font-size: 25px; margin: 0; }
.section-title h1, .section-title span { display: table-cell; vertical-align: middle; }
.section-title span { text-align: right; font-size: 14px; }
.buttons { border-collapse: separate; border-spacing: 7px; width: calc(100% + 14px); margin: -7px; }
.buttons td { padding: 0; }
button { border: 2px solid #000; border-radius: 5px; background: #fff; color: #000; font-size: 18px; font-weight: bold; font-family: inherit; cursor: pointer; min-height: 54px; -webkit-appearance: none; }
.buttons button { width: 100%; }
button.active, button.pressed { background: #000; color: #fff; }
button:disabled { opacity: .55; cursor: wait; }
.power button { font-size: 22px; }
.brightness button { font-size: 25px; }
.label { margin: 12px 0 9px; }
.feedback { min-height: 20px; font-size: 13px; margin: 10px 0 4px; }
footer { border-top: 1px solid #000; margin-top: 6px; padding-top: 8px; font-size: 11px; }
footer a { color: #000; }
footer button { min-height: 30px; font-size: 12px; margin: 0 10px 0 20px; padding: 4px 12px; border-width: 1px; }
.sample { border: 1px solid #000; padding: 5px; margin-bottom: 10px; text-align: center; font-size: 12px; font-weight: bold; }
.login { max-width: 500px; margin: 90px auto; padding: 24px; }
.login h1 { font-size: 38px; margin-top: 25px; }
.login p { line-height: 1.5; }
.login label { display: block; margin-top: 30px; }
.login input { display: block; width: 100%; height: 52px; border: 2px solid #000; padding: 8px; font-size: 22px; margin: 9px 0 14px; }
.login button { width: 100%; }
@media (min-width: 850px) and (max-height: 800px) {
  main { padding: 13px 20px; }
  header { padding-bottom: 9px; }
  .clock { font-size: 52px; }
  .weather { display: inline-block; width: 49%; vertical-align: top; padding-right: 18px; }
  .light { display: inline-block; width: 49%; vertical-align: top; border-top: 0; border-left: 2px solid #000; padding: 17px 0 0 18px; }
  .current { width: 45%; }
  .today { padding-left: 13px; }
  #temperature { font-size: 65px; }
  .range { font-size: 23px; }
  button { min-height: 48px; font-size: 15px; }
  .power button { font-size: 19px; }
  footer { margin-top: 16px; }
}
@media (max-width: 500px) {
  main { padding: 15px; }
  .clock { font-size: 46px; }
  .place { font-size: 17px; }
  .today { padding-left: 13px; }
  .range { font-size: 23px; }
  button { font-size: 14px; }
}
