.form-grid{align-items:start}.field{align-content:start}.field input,.field select{height:40px}.field textarea{height:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mobile-menu-toggle,.mobile-studio-switch{display:none}
.calendar-mobile-date{display:none}
@media(min-width:701px) and (max-width:920px){.content{padding:28px 24px}.editor-grid{grid-template-columns:minmax(0,1fr) 285px;gap:20px}}
@media(max-width:920px){
 .sidebar{position:sticky;top:0;min-height:64px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;padding:12px 16px;gap:0;z-index:30}
 .sidebar .brand{margin:0;display:block}.sidebar .brand img{width:125px}.sidebar .nav{display:none;flex:none;width:100%;padding-top:12px;overflow:visible}
 .sidebar.menu-open .nav{display:grid;grid-template-columns:1fr 1fr;gap:4px}.sidebar .nav button{width:100%;justify-content:flex-start;min-height:46px;padding:10px 12px;font-size:13px}
 .sidebar.menu-open .nav .icon{display:block}.mobile-menu-toggle{display:flex;align-items:center;gap:9px;min-height:42px;padding:0 12px;background:#ffffff08;border:1px solid #ffffff20;border-radius:7px;color:#d5e4d9;font-size:12px}.mobile-menu-toggle span{font-size:20px}
 .field input,.field select,.field textarea,.score-row input{font-size:16px;min-height:46px}.field input,.field select{height:46px}.btn{min-height:43px}.btn.small{min-height:39px}
 .tabs{overflow-x:auto;white-space:nowrap;scrollbar-width:thin}.tabs button{flex-shrink:0}
 dialog{max-height:calc(100dvh - 24px)}.modal-body{max-height:calc(100dvh - 185px);overscroll-behavior:contain}.modal-foot{padding-bottom:calc(17px + env(safe-area-inset-bottom,0px))}
 .score-row input{font-variant-numeric:tabular-nums}.check{min-height:40px;align-items:center}.check input{width:17px;height:17px;flex-shrink:0}
}
@media(max-width:700px){
 .topbar{height:62px}.topbar .crumb b{margin-left:5px}.content{padding-top:24px}.page-head{flex-wrap:wrap}.page-head>.btn{width:100%}
 .mobile-studio-switch{display:flex;position:sticky;top:72px;order:-2;width:100%;background:#e8eee2;border:1px solid #dfe7d7;border-radius:8px;padding:4px;gap:4px;z-index:12;margin-bottom:12px;box-shadow:0 4px 12px #142a1010}
 .mobile-studio-switch button{flex:1;border:0;background:transparent;border-radius:5px;min-height:42px;font-size:13px;color:#73836b;font-weight:600}.mobile-studio-switch button.active{background:white;color:#36532d;box-shadow:0 1px 4px #0000000e}
 .editor-grid[data-mobile-pane="edit"] .preview-panel{display:none}.editor-grid[data-mobile-pane="preview"] .editor-column{display:none}
 .preview-panel{padding:4px 8px 20px}.phone{max-width:280px}.preview-caption{display:block;max-width:310px;max-height:220px;font-size:12px}.preview-options label{font-size:11px;min-height:32px}.preview-tools{max-width:310px;min-height:43px}
 .form-section{padding:20px 16px}.form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 10px}.field{min-width:0}.score-row{grid-template-columns:20px minmax(0,1fr) 102px;gap:7px}.score-row input{padding:10px 8px;font-size:16px}
 .calendar-day{min-height:48px;padding:9px 14px}.calendar-date{display:flex;align-items:center;gap:10px}.calendar-day strong{width:29px;height:29px;margin:0;justify-content:center;flex-shrink:0;font-size:13px}.calendar-mobile-date{display:inline;font-size:12px;color:#7e9077}.calendar-day.today .calendar-mobile-date{font-weight:600;color:#466f38}.calendar-day button{font-size:12px;padding:9px 12px;min-height:44px;margin:7px 0 2px;overflow-wrap:anywhere}.calendar-day.has-posts .calendar-mobile-date{color:#3c5931}
 .studio-footer{display:grid;grid-template-columns:1fr 1fr;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));gap:8px}.studio-footer .spacer{display:none}.studio-footer .btn{padding:0 9px;min-height:45px}
 .post-table,.post-table tbody{display:block;width:100%}.post-table thead{display:none}.post-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 6px;padding:12px 10px;border-bottom:1px solid #e8eee1}.post-table td{display:block;border:0!important;padding:6px 4px!important;min-width:0}.post-table td:nth-child(1){grid-column:1;grid-row:1}.post-table td:nth-child(2){grid-column:2;grid-row:1;align-self:center}.post-table td:nth-child(3){display:block;grid-column:1;grid-row:2;font-size:11px;color:#819174;align-self:center}.post-table td:nth-child(4){grid-column:2;grid-row:2}.post-title{gap:9px}.post-title b{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.post-title small{font-size:10px}.post-title img{width:32px;height:48px;flex:none}.post-table .badge{font-size:9px;padding:5px 7px}.post-table tr:last-child{border:0}
 .template-card{grid-template-columns:124px minmax(0,1fr);gap:14px;padding:12px}.template-card .body{padding-top:9px}.template-card h3{font-size:14px}.template-card .btn{padding:0 9px;font-size:11px;white-space:normal}.template-card canvas{align-self:start}
 .rule{flex-wrap:wrap;padding:17px;gap:12px}.rule>.spacer{display:none}.rule>div:nth-child(2){flex:1;min-width:190px}.rule .btn{margin-left:auto}
 .settings-grid .panel{padding:20px 17px}.code{font-size:11px;line-height:1.7}.login-card h2{font-size:25px}.login-form{padding-bottom:calc(30px + env(safe-area-inset-bottom,0px))}
}
