:root{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue",sans-serif;
  color:var(--ink);
  background:var(--bg);
  font-synthesis:none
}
*{
  box-sizing:border-box
}
body{
  margin:0;
  font-size:14px;
  line-height:1.6
}
button,input,select,textarea{
  font:inherit
}
button,a,input,select,textarea{
  -webkit-tap-highlight-color:transparent
}
button{
  cursor:pointer
}
button,a{
  touch-action:manipulation
}
button{
  color:inherit
}
a{
  color:var(--green);
  text-decoration:none
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid var(--green);
  outline-offset:3px
}
button:disabled{
  opacity:.45;
  cursor:default
}
[hidden]{
  display:none!important
}
h1,h2,p{
  margin:0
}
h1{
  font-size:30px;
  letter-spacing:-.8px;
  font-weight:650;
  line-height:1.4
}
h2{
  font-size:17px;
  font-weight:600
}
input,textarea,select{
  font-size:16px;
  color:var(--ink);
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--card);
  padding:12px;
  width:100%;
  min-height:46px
}
textarea{
  resize:vertical
}
label{
  display:block
}
small{
  display:block
}
button{
  border:0;
  background:none;
  min-height:44px
}

.app-shell{
  max-width:1800px;
  margin:auto
}

.sidebar{
  width:230px;
  position:fixed;
  top:0;
  bottom:0;
  border-right:1px solid var(--line);
  padding:42px 24px;
  background:var(--sidebar-bg);
  z-index:20;
  display:flex;
  flex-direction:column
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
  font-size:23px;
  letter-spacing:-.6px;
  font-weight:650;
  color:var(--ink)
}

.brand small{
  font-size:10px;
  color:var(--muted);
  letter-spacing:1.5px;
  font-weight:400;
  margin-top:1px
}

.brand-icon{
  height:42px;
  width:42px;
  display:flex;
  position:relative;
  align-items:center;
  justify-content:center;
  background:var(--green);
  border-radius:13px;
  color:var(--on-accent);
  font-size:36px;
  font-weight:700;
  line-height:1
}

.brand-icon span{
  font-size:18px;
  position:absolute;
  right:3px;
  top:1px
}

.navigation{
  margin-top:52px;
  display:grid;
  gap:10px
}

.navigation button{
  width:100%;
  padding:12px 16px;
  text-align:left;
  border-radius:10px;
  font-weight:500;
  color:var(--muted);
  display:flex;
  gap:16px;
  align-items:center
}

.navigation button span{
  font-size:20px;
  width:22px
}

.navigation button.active{
  background:var(--soft);
  color:var(--green)
}

.sidebar-foot{
  margin-top:auto;
  font-size:11px;
  color:var(--muted);
  padding:20px 0
}

.sidebar-foot small{
  font-size:10px;
  margin:12px 0 0 11px
}

.local-dot{
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--green);
  margin-right:6px
}

.workspace{
  margin-left:230px
}

.topbar{
  height:84px;
  border-bottom:1px solid var(--line);
  padding:0 46px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:var(--bg)
}

.breadcrumb{
  font-size:12px;
  color:var(--muted)
}

.breadcrumb span{
  margin:0 15px;
  color:var(--muted)
}

.breadcrumb strong{
  font-weight:400;
  color:var(--muted)
}

.topbar-right{
  display:flex;
  align-items:center;
  gap:20px
}

.connection{
  font-size:11px;
  color:var(--muted)
}

.avatar{
  border:1px solid var(--line);
  background:var(--soft);
  border-radius:50%;
  width:36px;
  min-height:36px;
  font-size:12px
}

.mobile-brand{
  display:none
}
main{
  max-width:1240px;
  margin:auto;
  padding:42px 46px 20px
}

.page-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:32px
}

.eyebrow{
  font-size:10px;
  letter-spacing:2px;
  color:var(--muted);
  margin-bottom:10px
}

.subtitle{
  color:var(--muted);
  font-size:13px;
  margin-top:10px
}

.heading-dot{
  color:var(--green)
}

.button{
  min-height:46px;
  padding:11px 21px;
  border-radius:9px;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-weight:500;
  white-space:nowrap
}

.primary{
  background:var(--green);
  color:var(--on-accent)
}

.primary:hover,.dark:hover{
  background:var(--green)
}

.secondary{
  background:var(--surface);
  border:1px solid var(--line)
}

.dark{
  background:var(--green);
  color:var(--on-accent)
}

.daily-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:22px;
  margin-bottom:32px
}

.intention-card{
  border-radius:15px;
  padding:25px 28px;
  background:var(--soft);
  overflow:hidden;
  position:relative
}

.intention-card:after{
  content:"";
  width:170px;
  height:170px;
  border:1px solid var(--line);
  border-radius:50%;
  position:absolute;
  right:-60px;
  bottom:-115px;
  pointer-events:none
}

.card-overline{
  font-size:11px;
  display:flex;
  align-items:center;
  gap:8px;
  justify-content:space-between;
  color:var(--muted)
}

.tiny-icon{
  font-size:20px
}

.intention-card .pill{
  margin-left:auto
}

.pill{
  font-size:9px;
  background:var(--card);
  color:var(--muted);
  border-radius:20px;
  padding:3px 9px;
  font-weight:400
}

.intention-card h2{
  font-size:20px;
  margin:13px 0 12px
}

.intention-card input{
  background:transparent;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  font-size:13px;
  padding:8px 0;
  min-height:40px
}

.intention-card input::placeholder{
  color:var(--muted)
}

.intention-bottom{
  display:flex;
  justify-content:space-between;
  color:var(--muted);
  font-size:10px;
  margin-top:17px
}

.intention-bottom>span:last-child{
  font-size:22px;
  line-height:1
}

.progress-card{
  padding:28px;
  border:1px solid var(--line);
  border-radius:15px;
  background:var(--card)
}

.progress-card .card-overline{
  color:var(--muted)
}

.progress-numbers{
  display:flex;
  gap:10px;
  align-items:baseline;
  margin:16px 0 17px
}

.progress-numbers>strong{
  font-size:40px;
  font-weight:500;
  letter-spacing:-2px;
  line-height:1.2
}

.progress-numbers>span{
  font-size:11px;
  color:var(--muted)
}
progress{
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  height:6px;
  border:0;
  border-radius:8px;
  overflow:hidden;
  background:var(--surface)
}
progress::-webkit-progress-bar{
  background:var(--surface)
}
progress::-webkit-progress-value{
  background:var(--green);
  border-radius:8px
}
progress::-moz-progress-bar{
  background:var(--green)
}

.progress-footer{
  display:flex;
  justify-content:space-between;
  gap:5px;
  font-size:10px;
  color:var(--muted);
  margin-top:17px
}

.progress-footer b{
  color:var(--muted);
  font-weight:500
}

.content-grid{
  display:grid;
  grid-template-columns:1.8fr 1fr;
  gap:25px
}

.tasks-panel{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:15px;
  padding:23px 24px;
  align-self:start
}

.section-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px
}

.section-heading h2{
  display:flex;
  gap:9px;
  align-items:center
}

.count-badge{
  font-size:10px;
  background:var(--surface);
  color:var(--muted);
  border-radius:6px;
  min-width:22px;
  text-align:center;
  padding:1px 5px
}

.text-button{
  color:var(--muted);
  font-size:12px;
  min-height:44px;
  padding:5px 8px
}

.filters{
  display:flex;
  gap:23px;
  margin:8px 0 10px;
  border-bottom:1px solid var(--line)
}

.filters button{
  font-size:11px;
  color:var(--muted);
  padding:9px 0;
  position:relative
}

.filters .selected{
  color:var(--green)
}

.filters .selected:after{
  position:absolute;
  content:"";
  height:2px;
  background:var(--green);
  bottom:-1px;
  left:0;
  right:0
}

.task-row{
  padding:19px 0;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:flex-start;
  gap:13px
}

.task-toggle{
  border:1.5px solid var(--line);
  border-radius:50%;
  width:22px;
  min-height:22px;
  height:22px;
  margin-top:3px;
  padding:0;
  flex-shrink:0;
  position:relative
}

.task-toggle:before{
  content:"";
  position:absolute;
  inset:-11px
}

.task-row.done .task-toggle{
  background:var(--green);
  color:var(--on-accent)
}

.task-content{
  flex:1;
  min-width:0
}

.task-title{
  font-weight:500;
  font-size:14px;
  overflow-wrap:anywhere
}

.task-row.done .task-title{
  text-decoration:line-through;
  color:var(--muted)
}

.task-step{
  font-size:11px;
  color:var(--muted);
  margin-top:6px;
  overflow-wrap:anywhere
}

.task-meta{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  align-items:center;
  font-size:9px;
  color:var(--muted);
  margin-top:10px
}

.tag{
  padding:2px 8px;
  border-radius:4px;
  background:var(--soft);
  color:var(--muted)
}

.tag[data-category="学习"]{
  background:var(--soft);
  color:var(--green)
}

.tag[data-category="健康"]{
  background:var(--soft);
  color:var(--muted)
}

.priority{
  color:var(--green)
}

.task-controls{
  display:flex;
  gap:0;
  align-items:center;
  flex-shrink:0
}

.task-controls button{
  font-size:12px;
  width:32px;
  padding:0;
  color:var(--muted);
  min-width:32px
}

.list-footer{
  font-size:9px;
  color:var(--muted);
  margin-top:20px
}

.right-column{
  display:grid;
  gap:20px;
  align-self:start
}

.focus-card{
  background:var(--soft);
  border-radius:15px;
  padding:25px;
  position:relative;
  overflow:hidden
}

.focus-card h2{
  font-size:23px;
  font-weight:500;
  line-height:1.6;
  margin:19px 0 8px
}

.focus-card>p{
  font-size:11px;
  color:var(--muted)
}

.mini-clock{
  font-size:43px;
  font-weight:300;
  letter-spacing:-2px;
  margin:20px 0 17px
}

.mini-clock span{
  color:var(--muted)
}

.focus-card .button{
  width:100%;
  justify-content:space-between
}

.focus-card>small{
  font-size:9px;
  color:var(--muted);
  text-align:center;
  margin-top:12px
}

.quote-card{
  border:1px solid var(--line);
  background:var(--card);
  border-radius:13px;
  padding:19px 24px
}

.quote-mark{
  color:var(--muted);
  font-size:34px;
  line-height:1
}

.quote-card p{
  font-size:12px;
  color:var(--muted);
  line-height:1.9
}

.quote-card>span:last-child{
  display:block;
  font-size:9px;
  color:var(--muted);
  margin-top:12px
}

.reflection-card{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:30px;
  margin-top:26px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:14px;
  padding:25px 28px;
  align-items:center
}

.reflection-card h2{
  font-size:17px
}

.reflection-card p:not(.eyebrow){
  font-size:11px;
  color:var(--muted);
  margin-top:7px
}

.reflection-input textarea{
  font-size:12px;
  background:var(--card);
  border-color:var(--line);
  min-height:82px
}

.reflection-input>span{
  display:block;
  text-align:right;
  font-size:9px;
  color:var(--muted);
  margin-top:4px
}

.page-footer{
  display:flex;
  gap:11px;
  align-items:center;
  margin:36px 0 5px;
  font-size:9px;
  color:var(--muted)
}

.page-footer>span{
  font-size:11px;
  color:var(--muted);
  font-weight:600
}

.page-footer>a{
  margin-left:auto;
  color:var(--muted)
}

.empty-state{
  text-align:center;
  padding:45px 15px;
  color:var(--muted)
}

.empty-symbol{
  font-size:30px;
  color:var(--muted);
  margin-bottom:10px
}

.empty-state h3{
  color:var(--muted);
  font-weight:500;
  font-size:14px;
  margin:5px
}

.empty-state p{
  font-size:11px;
  margin-bottom:15px
}

.timer-card{
  max-width:650px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:20px;
  padding:32px;
  text-align:center;
  margin:0 auto
}

.segmented{
  display:inline-flex;
  padding:4px;
  background:var(--surface);
  border-radius:10px;
  margin-bottom:24px
}

.segmented button{
  min-width:100px;
  border-radius:7px;
  font-size:13px
}

.segmented button.selected{
  background:var(--card);
  box-shadow:0 2px 7px var(--shadow)
}

.timer-card label{
  font-size:11px;
  color:var(--muted);
  margin-bottom:7px
}

.timer-card select{
  max-width:350px;
  font-size:14px
}

.timer-ring{
  width:270px;
  height:270px;
  border:9px solid var(--line);
  border-top-color:var(--green);
  border-radius:50%;
  margin:30px auto;
  display:flex;
  align-items:center;
  justify-content:center
}

.timer-ring span,.timer-ring small{
  font-size:11px;
  color:var(--muted)
}
#timer-display{
  font-variant-numeric:tabular-nums;
  font-size:62px;
  font-weight:300;
  letter-spacing:-3px;
  line-height:1.5
}

.duration-options{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-bottom:22px
}

.duration-options button{
  font-size:12px;
  border:1px solid var(--line);
  border-radius:8px;
  padding:8px 13px
}

.duration-options .selected{
  background:var(--soft);
  border-color:var(--line)
}

.timer-actions{
  display:flex;
  gap:12px;
  justify-content:center
}

.timer-actions .primary{
  min-width:160px
}

.timer-note{
  font-size:10px;
  color:var(--muted);
  margin-top:22px;
  line-height:1.9
}

.stat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-bottom:24px
}

.stat-grid article,.panel{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  padding:25px
}

.stat-grid article>span{
  font-size:12px;
  color:var(--muted)
}

.stat-grid strong{
  font-size:37px;
  display:block;
  margin-top:10px;
  font-weight:500
}

.stat-grid strong small{
  display:inline;
  font-size:11px;
  color:var(--muted);
  margin-left:9px;
  font-weight:400
}

.panel{
  margin-bottom:24px
}

.panel>p{
  font-size:13px;
  color:var(--muted);
  margin-top:15px;
  line-height:1.9
}

.week-chart{
  display:grid;
  grid-template-columns:repeat(7,1fr);
  gap:16px;
  height:210px;
  margin-top:30px
}

.chart-day{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  color:var(--muted);
  font-size:10px
}

.chart-day meter{
  width:100%;
  max-width:45px;
  height:135px;
  appearance:none;
  background:none;
  writing-mode:vertical-lr;
  direction:rtl
}

.chart-day meter::-webkit-meter-bar{
  background:var(--surface);
  border:0;
  border-radius:8px
}

.chart-day meter::-webkit-meter-optimum-value{
  background:var(--green);
  border-radius:8px
}

.chart-day meter::-moz-meter-bar{
  background:var(--green);
  border-radius:8px
}

.chart-day.today{
  color:var(--green);
  font-weight:600
}

.journal-entry{
  padding:18px 0;
  border-bottom:1px solid var(--line)
}

.journal-entry time{
  font-size:10px;
  color:var(--muted)
}

.journal-entry p{
  white-space:pre-wrap;
  font-size:13px;
  margin-top:8px;
  overflow-wrap:anywhere
}

.muted{
  color:var(--muted);
  font-size:11px
}

.settings-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:22px 0;
  border-bottom:1px solid var(--line)
}

.settings-row:last-child{
  border:0;
  padding-bottom:0
}

.settings-row strong{
  font-weight:500;
  font-size:13px
}

.settings-row small{
  font-size:11px;
  color:var(--muted);
  margin-top:5px
}

.danger{
  color:var(--danger)
}

.import-label{
  cursor:pointer;
  position:relative
}

.import-label input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer
}

.about-links{
  display:flex;
  gap:24px;
  margin-top:22px;
  font-size:12px
}
dialog{
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px;
  width:min(480px,calc(100% - 30px));
  max-height:calc(100dvh - 40px);
  overflow:auto;
  color:var(--ink);
  background:var(--card)
}
dialog::backdrop{
  background:var(--backdrop);
  backdrop-filter:blur(3px)
}

.dialog-heading{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:15px
}

.icon-button{
  font-size:26px;
  width:44px
}
dialog label{
  font-size:12px;
  margin:13px 0 7px;
  color:var(--muted)
}
dialog input,dialog select{
  font-size:16px
}

.form-columns{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px
}

.checkbox-label{
  display:flex;
  gap:10px;
  align-items:center;
  min-height:44px
}

.checkbox-label input{
  width:18px;
  min-height:18px;
  accent-color:var(--green)
}

.full-width{
  width:100%;
  margin-top:12px
}

.toast{
  position:fixed;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  max-width:calc(100% - 30px);
  width:max-content;
  background:var(--green);
  color:var(--on-accent);
  padding:12px 20px;
  border-radius:10px;
  z-index:100;
  font-size:13px;
  box-shadow:0 8px 30px var(--shadow)
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap
}

.legal-page{
  max-width:760px;
  margin:auto;
  padding:35px 24px calc(40px + env(safe-area-inset-bottom))
}

.legal-page h1{
  font-size:29px;
  margin:25px 0 8px
}

.legal-page h2{
  margin:27px 0 10px
}

.legal-page p,.legal-page li{
  color:var(--muted);
  font-size:14px;
  margin:10px 0;
  overflow-wrap:anywhere
}

.legal-page .panel{
  margin-top:24px
}

.legal-page textarea{
  min-height:120px
}

.legal-page label{
  margin:16px 0 8px
}

.back-link{
  display:inline-flex;
  align-items:center;
  min-height:44px
}

.feedback-result{
  margin-top:15px;
  white-space:pre-wrap
}

.honeypot{
  display:none
}

@media(min-width:1800px){
  .sidebar{
  left:calc((100vw - 1800px)/2)
}

}

@media(max-width:1150px){
  .sidebar{
  width:195px;
  padding:35px 17px
}

.workspace{
  margin-left:195px
}

.topbar{
  padding:0 28px
}
main{
  padding:32px 28px 20px
}

.brand{
  font-size:20px
}

.daily-grid{
  gap:16px
}

.intention-card,.progress-card{
  padding:23px
}

.content-grid{
  gap:18px
}

.tasks-panel{
  padding:18px
}

.focus-card{
  padding:22px
}

.task-controls{
  flex-direction:column
}

.task-controls button{
  min-height:30px
}

.task-row{
  gap:11px
}

}

@media(max-width:850px){
  .sidebar{
  width:78px;
  padding:30px 12px
}

.brand>span:last-child,.navigation button{
  font-size:0
}

.brand{
  justify-content:center
}

.navigation button{
  padding:10px;
  justify-content:center
}

.navigation button span{
  font-size:22px
}

.sidebar-foot{
  display:none
}

.workspace{
  margin-left:78px
}
main{
  padding:28px 23px 18px
}
h1{
  font-size:25px
}

.page-heading{
  gap:15px
}

.daily-grid{
  grid-template-columns:1.25fr 1fr
}

.intention-card .pill{
  display:none
}

.content-grid{
  grid-template-columns:1.5fr 1fr
}

.focus-card h2{
  font-size:21px
}

.reflection-card{
  padding:23px;
  gap:20px
}

}

@media(max-width:650px){
  body{
  font-size:14px
}

.sidebar{
  top:auto;
  bottom:0;
  left:0;
  right:0;
  width:100%;
  height:calc(67px + env(safe-area-inset-bottom));
  padding:5px 8px env(safe-area-inset-bottom);
  border-right:0;
  border-top:1px solid var(--line);
  background:var(--sidebar-bg);
  backdrop-filter:blur(18px)
}

.sidebar>.brand{
  display:none
}

.navigation{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  margin:0;
  gap:3px
}

.navigation button{
  font-size:10px;
  padding:4px 0;
  display:flex;
  flex-direction:column;
  gap:0;
  border-radius:9px;
  min-height:55px;
  line-height:1.6
}

.navigation button span{
  font-size:22px;
  line-height:1.5
}

.navigation button.active{
  background:var(--soft)
}

.workspace{
  margin:0
}

.topbar{
  height:calc(65px + env(safe-area-inset-top));
  padding:env(safe-area-inset-top) 22px 0;
  position:relative
}

.breadcrumb{
  display:none
}

.mobile-brand{
  display:block;
  color:var(--ink);
  font-size:22px;
  font-weight:650;
  letter-spacing:-.6px
}

.mobile-brand span{
  color:var(--green);
  margin-left:2px
}

.topbar-right{
  gap:12px
}

.connection{
  font-size:9px
}
main{
  padding:26px 20px calc(92px + env(safe-area-inset-bottom));
  
}

.page-heading{
  align-items:flex-start;
  flex-wrap:wrap;
  margin-bottom:24px;
  gap:18px
}
h1{
  font-size:25px;
  letter-spacing:-1px
}

.subtitle{
  font-size:11px;
  margin-top:8px
}

.eyebrow{
  font-size:9px;
  margin-bottom:9px
}

.page-heading>.button{
  padding:8px 14px;
  min-height:42px;
  font-size:12px
}

.daily-grid{
  grid-template-columns:1fr;
  gap:14px;
  margin-bottom:25px
}

.intention-card{
  padding:22px 23px
}

.intention-card .pill{
  display:inline
}

.intention-card h2{
  font-size:19px
}

.progress-card{
  padding:19px 22px
}

.progress-numbers{
  margin:10px 0
}

.progress-numbers>strong{
  font-size:32px
}

.progress-footer{
  margin-top:10px
}

.content-grid{
  grid-template-columns:1fr;
  gap:20px
}

.tasks-panel{
  padding:18px 20px
}

.task-row{
  padding:19px 0;
  gap:13px
}

.task-controls{
  flex-direction:row
}

.task-controls button{
  width:30px;
  min-width:30px;
  min-height:40px
}

.task-title{
  font-size:14px
}

.task-step{
  font-size:11px
}

.task-meta{
  font-size:10px
}

.right-column{
  grid-template-columns:1fr;
  gap:15px
}

.focus-card{
  padding:23px
}

.focus-card h2{
  font-size:22px
}

.focus-card h2 br{
  display:none
}

.focus-card>p{
  font-size:12px
}

.mini-clock{
  margin:12px 0;
  font-size:39px
}

.quote-card{
  display:none
}

.reflection-card{
  grid-template-columns:1fr;
  gap:18px;
  margin-top:22px;
  padding:22px
}

.reflection-input textarea{
  font-size:16px
}

.page-footer{
  font-size:8px;
  gap:7px;
  flex-wrap:wrap;
  margin-top:26px
}

.page-footer>a{
  margin-left:auto
}

.toast{
  bottom:calc(83px + env(safe-area-inset-bottom))
}

.timer-card{
  padding:24px 16px
}

.timer-ring{
  width:245px;
  height:245px;
  margin:25px auto
}
#timer-display{
  font-size:57px
}

.duration-options{
  gap:7px
}

.duration-options button{
  font-size:11px;
  padding:8px 11px
}

.timer-actions{
  gap:9px
}

.timer-actions .primary{
  min-width:140px
}

.stat-grid{
  gap:10px;
  margin-bottom:18px
}

.stat-grid article{
  padding:18px 11px
}

.stat-grid article>span{
  font-size:10px
}

.stat-grid strong{
  font-size:27px
}

.stat-grid strong small{
  font-size:9px;
  margin-left:5px
}

.panel{
  padding:22px 20px;
  margin-bottom:18px
}

.week-chart{
  gap:8px
}

.settings-row{
  gap:12px;
  align-items:flex-start;
  flex-wrap:wrap
}

.settings-row .button{
  font-size:12px;
  padding:9px 16px
}

.about-links{
  gap:16px;
  font-size:11px
}

.legal-page{
  padding-top:env(safe-area-inset-top,20px)
}

.legal-page h1{
  font-size:26px
}

}

@media(max-width:360px){
  main{
  padding-left:15px;
  padding-right:15px
}
h1{
  font-size:23px
}

.intention-card .pill{
  font-size:8px
}

.task-controls{
  flex-direction:column
}

.timer-ring{
  width:220px;
  height:220px
}

.timer-actions .primary{
  min-width:120px
}

}

@media(prefers-reduced-motion:no-preference){
  .button,.navigation button{
  transition:background .18s
}

.view{
  animation:appear .2s ease
}

@keyframes appear{
  from{
  opacity:.6;
  transform:translateY(3px)
}
to{
  opacity:1;
  transform:translateY(0)
}

}

}

@media print{
  .sidebar,.topbar,.page-footer,.task-controls,.button{
  display:none
}

.workspace{
  margin:0
}
main{
  padding:0
}

.view[hidden]{
  display:none
}

}

