/* Kiklo · estilos. Tema escuro único, cor de destaque verde-limão (--brand), Unbounded nos títulos e no nome, Manrope no resto. Cabeçalho com a logo, navegação inferior no celular e superior no computador. */
@font-face{font-family:'Manrope';src:url('/fonts/manrope.woff') format('woff');font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:'Unbounded';src:url('/fonts/unbounded.woff') format('woff');font-weight:500 700;font-style:normal;font-display:swap}
:root{
  color-scheme:dark;
  --bg:#101210; --surface:#181B17; --raised:#1D201B; --subtle:#222620; --field:#141713;
  --line:#262A24; --line-strong:#3A4036;
  --ink:#F4F5EF; --ink-2:#CDD1C6; --muted:#A3A89D; --faint:#6F756A;
  --brand:#C6F432; --brand-hover:#D8FB6E; --brand-ink:#101210; --brand-text:#C6F432; --brand-soft:#252E12; --brand-ring:rgba(198,244,50,.28);
  --ok:#5FD49B; --ok-soft:#14291F; --warn:#F2B84B; --warn-soft:#2E2412; --danger:#FF7B6B; --danger-soft:#35191A;
  --vio:#B49CFF; --vio-soft:#231D38; --info:#7CB8FF; --info-soft:#15243A;
  --shadow:0 18px 44px rgba(0,0,0,.55);
  --sans:'Manrope',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --display:'Unbounded','Manrope',system-ui,sans-serif;
  --mono:'Manrope',system-ui,sans-serif;
  --r:20px; --r-sm:12px;
}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{-webkit-text-size-adjust:100%;background:var(--bg)}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:14.5px;line-height:1.5;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0;text-align:inherit}
h1,h2,h3,p,dl,dd{margin:0}
h1{font-family:var(--display);font-size:1.5rem;font-weight:600;letter-spacing:-.02em;line-height:1.2}
h2{font-size:1rem;font-weight:700;letter-spacing:-.005em;line-height:1.3}
h3{font-size:.92rem;font-weight:700}
img{max-width:100%}
a{color:var(--brand-text)}
::selection{background:var(--brand);color:var(--brand-ink)}
:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.num{font-variant-numeric:tabular-nums}
.mono{font-family:var(--mono);font-weight:600;font-variant-numeric:tabular-nums}
.muted{color:var(--muted)} .small{font-size:.88rem} .xs{font-size:.78rem}
.ell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;display:block}
.ic.s{width:17px;height:17px} .ic.xs{width:13px;height:13px}
.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.between{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.stack{display:flex;flex-direction:column;gap:20px;min-width:0}
.stack-s{display:flex;flex-direction:column;gap:10px;min-width:0}
.grow{flex:1 1 auto;min-width:0}
.pad{padding:16px 18px}

/* logo */
.logo{display:inline-flex;align-items:center;gap:10px;color:var(--ink);flex:none}
.kk-sym{width:36px;height:36px;flex:none;display:block}
.kk-svg{display:block;width:100%;height:100%;overflow:visible}
.kk-ring,.kk-k{fill:none;stroke-width:6;stroke-linecap:round}
.kk-ring{stroke:var(--brand);stroke-dasharray:132 200;transform-box:view-box;transform-origin:50% 50%}
.kk-k{stroke:var(--ink)}
.kk-dot{fill:var(--brand);transform-box:fill-box;transform-origin:center}
.kk-word{font-family:var(--display);font-weight:700;font-size:22px;letter-spacing:-.02em;line-height:1}
.gate .logo .kk-sym{width:44px;height:44px}
.gate .logo .kk-word{font-size:26px}

/* abertura animada: roda uma vez, quando o app abre */
.kk-splash{position:fixed;inset:0;z-index:200;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;pointer-events:none}
.kk-mark{width:116px;height:116px;flex:none}
.kk-load{font-size:.85rem;color:var(--muted);animation:kkFade .4s ease-out 2.6s both;position:absolute;top:calc(50% + 92px)}
.kk-splash.solto .kk-load{display:none}
.kk-anim .kk-stem{stroke-dasharray:28;animation:kkDraw28 .3s ease-out .15s both}
.kk-anim .kk-arm1{stroke-dasharray:22;animation:kkDraw22 .25s ease-out .35s both}
.kk-anim .kk-arm2{stroke-dasharray:20;animation:kkDraw20 .25s ease-out .5s both}
.kk-anim .kk-ring{animation:kkRing .85s cubic-bezier(.65,0,.25,1) .3s both}
.kk-anim .kk-dot{animation:kkPop .4s cubic-bezier(.3,1.6,.5,1) 1.1s both}
@keyframes kkDraw28{from{stroke-dashoffset:28}to{stroke-dashoffset:0}}
@keyframes kkDraw22{from{stroke-dashoffset:22}to{stroke-dashoffset:0}}
@keyframes kkDraw20{from{stroke-dashoffset:20}to{stroke-dashoffset:0}}
@keyframes kkRing{from{stroke-dashoffset:132;transform:rotate(-170deg)}to{stroke-dashoffset:0;transform:rotate(0deg)}}
@keyframes kkPop{0%{transform:scale(0)}100%{transform:scale(1)}}
@keyframes kkWord{from{opacity:0;transform:translateX(-10px);clip-path:inset(0 100% 0 0)}to{opacity:1;transform:translateX(0);clip-path:inset(0 0 0 0)}}
@keyframes kkRise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes kkFade{from{opacity:0}to{opacity:1}}
html.kk-intro #app{opacity:0}
html.kk-dock [data-logo] .kk-sym{visibility:hidden}
html.kk-reveal [data-logo] .kk-word{animation:kkWord .45s cubic-bezier(.2,.8,.2,1) .45s both}
html.kk-reveal .hdr-r,html.kk-reveal .hnav{animation:kkFade .5s ease-out .55s both}
html.kk-reveal .content>*,html.kk-reveal .st-c>*,html.kk-reveal .gate-in>*:not(.logo){animation:kkRise .5s cubic-bezier(.2,.8,.2,1) .6s both}
html.kk-reveal .content>:nth-child(2),html.kk-reveal .st-c>:nth-child(2),html.kk-reveal .gate-in>:nth-child(3){animation-delay:.68s}
html.kk-reveal .content>:nth-child(n+3),html.kk-reveal .st-c>:nth-child(n+3),html.kk-reveal .gate-in>:nth-child(n+4){animation-delay:.76s}
html.kk-reveal .tabbar,html.kk-reveal .stabs{animation:kkFade .5s ease-out .7s both}

/* botões */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:var(--raised);color:var(--ink);font-weight:600;font-size:.92rem;white-space:nowrap;transition:background-color .12s,border-color .12s,color .12s}
.btn:hover{background:var(--subtle);border-color:var(--line-strong)}
.btn.primary{background:var(--brand);border-color:var(--brand);color:var(--brand-ink);font-weight:700}
.btn.primary:hover{background:var(--brand-hover);border-color:var(--brand-hover)}
.btn.quiet{border-color:transparent;background:transparent;color:var(--ink-2)}
.btn.quiet:hover{background:var(--subtle);color:var(--ink)}
.btn.link{border:0;background:none;padding:0;height:auto;color:var(--brand-text);font-weight:600}
.btn.link:hover{text-decoration:underline;background:none}
.btn.danger{color:var(--danger)}
.btn.danger.armed{background:var(--danger);border-color:var(--danger);color:#1A0A08}
.btn.sm{height:32px;padding:0 12px;font-size:.86rem}
.btn.lg{height:50px;font-size:1rem}
.btn.icon{width:40px;padding:0}
.btn.icon.sm{width:32px}
.btn.wide{width:100%}
.btn[disabled]{opacity:.35;pointer-events:none}
a.btn{text-decoration:none}

/* campos */
input[type=text],input[type=email],input[type=password],input[type=tel],input[type=number],input[type=date],input[type=time],select,textarea{width:100%;min-width:0;height:42px;padding:0 12px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--field);color:var(--ink)}
select{appearance:none;-webkit-appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3A89D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;background-size:16px}
select option,select optgroup{background:var(--surface);color:var(--ink)}
input[type=date],input[type=time]{color-scheme:dark}
textarea{height:auto;min-height:92px;padding:10px 12px;resize:vertical;display:block;line-height:1.5}
input:hover,select:hover,textarea:hover{border-color:var(--line-strong)}
input:focus,select:focus,textarea:focus{outline:0;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-ring)}
input[readonly]{background:var(--subtle);color:var(--ink-2)}
input::placeholder,textarea::placeholder{color:var(--faint)}
.f{display:flex;flex-direction:column;gap:6px;min-width:0}
.f>span{font-size:.8rem;font-weight:600;color:var(--muted)}
.fgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fgrid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.span2{grid-column:span 2} .span4{grid-column:1/-1}
.search{position:relative;flex:1 1 240px;min-width:0;max-width:400px}
.search .ic{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.search input{padding-left:40px;border-radius:999px;height:44px}
.check{display:flex;align-items:center;gap:8px;font-weight:600;cursor:pointer}
.check input{width:18px;height:18px;accent-color:var(--brand);margin:0}

/* chips */
.chip{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 10px;border-radius:999px;font-size:.74rem;font-weight:700;background:var(--subtle);color:var(--ink-2);white-space:nowrap;flex:none}
.chip::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.chip.plain::before{display:none}
.chip.ok{background:var(--ok-soft);color:var(--ok)}
.chip.warn{background:var(--warn-soft);color:var(--warn)}
.chip.bad{background:var(--danger-soft);color:var(--danger)}
.chip.vio{background:var(--vio-soft);color:var(--vio)}
.chip.info{background:var(--info-soft);color:var(--info)}
.chip.brand{background:var(--brand-soft);color:var(--brand-text)}
.chip.line{background:transparent;border:1px solid var(--line-strong);color:var(--ink)}
.dot{width:7px;height:7px;border-radius:50%;background:var(--brand);display:inline-block}
.av{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:700;font-size:.78rem;letter-spacing:.02em;flex:none}
.av.sm{width:30px;height:30px;font-size:.7rem}
.av.lg{width:60px;height:60px;font-size:1.1rem}
.lt{width:30px;height:30px;border-radius:10px;background:var(--brand);color:var(--brand-ink);display:inline-grid;place-items:center;font-family:var(--display);font-weight:700;font-size:.82rem;flex:none}
.lt.xs{width:22px;height:22px;font-size:.66rem;border-radius:7px}

/* painéis */
.panel{background:var(--surface);border-radius:var(--r);overflow:hidden;min-width:0}
.panel-h{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid var(--line);min-height:56px}
.panel-b{padding:18px}
.cols{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;align-items:start}
.notice{display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--surface);border-radius:var(--r-sm);color:var(--ink-2);font-size:.9rem;flex-wrap:wrap}
.notice>span{flex:1 1 260px}
.notice .ic{color:var(--muted)}
.empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:36px 20px;color:var(--muted);font-size:.9rem}
.empty .ic{width:28px;height:28px;color:var(--faint);margin-bottom:6px}
.empty b{color:var(--ink);font-weight:700}
.callout{background:var(--surface);border-radius:var(--r-sm);padding:14px 16px;display:flex;flex-direction:column;gap:4px;box-shadow:inset 3px 0 0 var(--brand)}
.callout p{white-space:pre-wrap;overflow-wrap:anywhere}
.callout.warn{box-shadow:inset 3px 0 0 var(--warn)}
.callout .xs{color:var(--muted);font-weight:600}
.msg-err{background:var(--danger-soft);color:var(--danger);padding:10px 14px;border-radius:var(--r-sm);font-weight:600}
.kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.kv>div{min-width:0}
.kv dt{font-size:.76rem;color:var(--muted);margin-bottom:3px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}
.kv dd{font-weight:600}
.seg{display:inline-flex;padding:3px;background:var(--field);border:1px solid var(--line);border-radius:999px;gap:2px}
.seg button{height:32px;padding:0 14px;border-radius:999px;font-size:.86rem;font-weight:600;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;gap:6px}
.seg button:hover{color:var(--ink)}
.seg button[aria-pressed="true"]{background:var(--subtle);color:var(--ink)}
.seg.wide{display:flex;width:100%}
.seg.wide button{flex:1;height:38px}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.eyebrow{font-size:.8rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}

/* estrutura */
.hdr{position:sticky;top:0;z-index:15;padding-top:env(safe-area-inset-top,0px);background:color-mix(in srgb,var(--bg) 88%,transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid #1B1E1A}
.hdr-in{max-width:1260px;margin:0 auto;height:72px;padding:0 32px;display:flex;align-items:center;gap:20px}
.hnav{display:flex;gap:4px;margin:0 auto}
.nav-i{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;border-radius:999px;color:var(--muted);font-weight:600}
.nav-i:hover{color:var(--ink);background:var(--surface)}
.nav-i[aria-current="page"]{color:var(--brand-text);background:var(--surface)}
.nav-i .ic{width:19px;height:19px}
.hdr-r{display:flex;align-items:center;gap:8px;margin-left:auto;min-width:0}
.hnav+.hdr-r{margin-left:0}
.hbtn{position:relative;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#161915;color:var(--ink);display:grid;place-items:center;flex:none;font-weight:700;font-size:.86rem}
.hbtn:hover{border-color:var(--line-strong)}
.hbtn.me{border:none;background:#2A2F27}
.hbtn.me.on{box-shadow:0 0 0 2px var(--brand)}
.hbadge{position:absolute;top:-2px;right:-3px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--brand);color:var(--brand-ink);font-size:.66rem;font-weight:800;display:grid;place-items:center;box-shadow:0 0 0 2px var(--bg)}
.content{max-width:1260px;margin:0 auto;padding:28px 32px 120px;display:flex;flex-direction:column;gap:22px}
.ptitle{display:flex;align-items:flex-end;justify-content:space-between;gap:12px 16px;flex-wrap:wrap}
.ptitle h1{font-size:1.65rem}
.ptitle p{margin-top:4px}
.ptitle .row{flex-wrap:wrap}
.back{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-weight:600;height:32px;align-self:flex-start;margin:-6px 0 -8px -4px;padding:0 8px 0 2px;border-radius:999px}
.back:hover{color:var(--ink)}
.crumb{display:none}
.tabbar,.stabs{display:none}
.tab-i{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 0 6px;font-size:.7rem;font-weight:600;color:var(--muted);position:relative;min-width:0;min-height:56px}
.tab-i .ic{width:22px;height:22px}
.tab-i[aria-current="page"]{color:var(--brand-text);font-weight:700}
.badge{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--warn-soft);color:var(--warn);font-size:.72rem;display:grid;place-items:center}
.badge.b{background:var(--brand-soft);color:var(--brand-text)}
.salvo{color:var(--muted);white-space:nowrap}
.salvo.erro .btn{white-space:normal;height:auto;min-height:30px;padding:4px 12px;text-align:left;max-width:320px}

/* início */
.hero{display:flex;flex-direction:column;gap:6px}
.greet{font-family:var(--display);font-size:1.85rem;font-weight:600;letter-spacing:-.02em;line-height:1.15}
.sub-hero{color:var(--muted);font-size:.9rem}
.home{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:22px 28px;align-items:start}
.home>.stack{gap:20px}
.nextc{position:relative;display:flex;flex-direction:column;gap:14px;width:100%;padding:20px;border-radius:24px;background:var(--brand);color:var(--brand-ink);overflow:hidden;text-align:left}
button.nextc:hover{background:var(--brand-hover)}
.nextc-h{display:flex;justify-content:space-between;align-items:center;gap:10px}
.nextc-l{font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.nextc-p{font-size:.8rem;font-weight:700;background:rgba(16,18,16,.12);padding:6px 11px;border-radius:999px;white-space:nowrap}
.nextc-b{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.nextc-n{display:flex;flex-direction:column;gap:3px;min-width:0}
.nextc-n b{font-size:1.4rem;font-weight:800;letter-spacing:-.01em;line-height:1.2}
.nextc-n span{font-size:.9rem;font-weight:600;opacity:.85;overflow-wrap:anywhere}
.nextc-t{font-family:var(--display);font-weight:700;font-size:1.9rem;letter-spacing:-.02em;line-height:1;flex:none}
.nextc-bar{position:absolute;left:0;bottom:0;height:4px;background:rgba(16,18,16,.35)}
.nextc.vazio{background:var(--surface);color:var(--ink)}
.nextc.vazio .nextc-l{color:var(--muted)}
.nextc.vazio b{font-size:1.1rem;font-weight:700}
.nextc.vazio>span:last-child{color:var(--muted);font-size:.9rem}
.sec-h{display:flex;align-items:center;justify-content:space-between;gap:10px}
.sec-h h2{font-size:1rem}
.cards{display:flex;flex-direction:column;gap:10px}
.cards>.srow{background:var(--surface);border-radius:18px;border-top:0;padding:14px 16px}
.cards>.srow:hover{background:var(--raised)}
.cards .empty-c{background:var(--surface);border-radius:18px;padding:18px;color:var(--muted);font-size:.9rem}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.stat{padding:14px 16px;background:var(--surface);border-radius:18px;min-width:0;display:flex;flex-direction:column;gap:2px}
.stat .k{font-size:.78rem;color:var(--muted);font-weight:600}
.stat .v{font-family:var(--display);font-size:1.5rem;font-weight:600;letter-spacing:-.02em;line-height:1.25;font-variant-numeric:tabular-nums}
.stat .d{font-size:.78rem;color:var(--muted)}
.stat.warn .v{color:var(--warn)}
.stats.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}

/* linhas de aula */
.rows{display:flex;flex-direction:column}
.srow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 18px;border-top:1px solid var(--line);width:100%;position:relative;text-align:left}
.rows>.srow:first-child{border-top:0}
button.srow:hover{background:var(--raised)}
.srow .t{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:62px;padding:8px 10px;border-radius:12px;background:var(--subtle);line-height:1.2}
.srow .t b{font-weight:800;font-size:.9rem;color:var(--brand-text);font-variant-numeric:tabular-nums}
.srow .t span{font-size:.72rem;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.srow .t span:empty{display:none}
.srow .bar,.srow .who .av{display:none}
.srow .who{display:flex;align-items:center;gap:10px;min-width:0}
.srow .who .nm{display:flex;flex-direction:column;gap:2px;min-width:0}
.srow .nm1{display:flex;align-items:center;gap:8px;min-width:0}
.srow .who .nm b{font-weight:700;font-size:.97rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srow .who .nm>span:not(.nm1){font-size:.84rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.srow .end{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;align-items:center}
.srow .end .ic{color:var(--faint)}
.srow.rep .t b{color:var(--vio)}
.srow.ext .t b{color:var(--info)}
.srow.pend .t b{color:var(--warn)}
.srow.falta .t b{color:var(--danger)}
.srow.off .t b,.srow.done .t b{color:var(--muted)}
.srow.off .who .nm b{text-decoration:line-through;color:var(--muted)}
.srow.done .who .nm b{color:var(--ink-2)}
.srow.now{box-shadow:inset 0 0 0 1.5px var(--brand)}
.srow .prog{position:absolute;left:0;bottom:0;height:3px;background:var(--brand)}

/* agenda */
.range{font-weight:700;margin-left:6px}
.legend{display:flex;gap:16px;flex-wrap:wrap;align-items:center}
.lgd{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.lgd.b{background:var(--brand)} .lgd.v{background:var(--vio)} .lgd.g{background:var(--info)} .lgd.o{background:var(--line-strong)}
.cal{background:var(--surface);border-radius:var(--r);overflow:hidden}
.cal-h,.cal-b{display:grid;grid-template-columns:56px repeat(7,minmax(0,1fr))}
.cal-h{border-bottom:1px solid var(--line)}
.cal-d{display:flex;flex-direction:column;align-items:center;gap:3px;padding:12px 4px;border-left:1px solid var(--line);font-size:.76rem;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.05em}
.cal-d:hover{background:var(--raised)}
.cal-d b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:1.02rem;font-weight:700;color:var(--ink);letter-spacing:0}
.cal-d.hoje{color:var(--brand-text)}
.cal-d.hoje b{background:var(--brand);color:var(--brand-ink)}
.cal-b{position:relative;max-height:max(420px,calc(100vh - 290px));overflow-y:auto}
.cal-t{position:relative}
.cal-t span{position:absolute;right:8px;transform:translateY(-50%);font-size:.72rem;color:var(--faint)}
.cal-g{position:relative;border-left:1px solid var(--line);background-image:linear-gradient(to bottom,var(--line) 1px,transparent 1px)}
.cal-g.hoje{background-color:rgba(198,244,50,.03)}
.ev{position:absolute;border-radius:9px;padding:5px 7px;background:var(--brand-soft);border-left:3px solid var(--brand);overflow:hidden;font-size:.78rem;line-height:1.25;display:flex;flex-direction:column;align-items:flex-start;gap:1px;z-index:1;text-align:left}
.ev:hover{filter:brightness(1.15);z-index:3}
.ev .mono{font-size:.7rem;color:var(--brand-text);font-weight:700}
.ev b{font-weight:700;color:var(--ink);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ev em{font-style:normal;color:var(--ink-2);font-size:.74rem;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ev.rep{background:var(--vio-soft);border-left-color:var(--vio)} .ev.rep .mono{color:var(--vio)}
.ev.ext{background:var(--info-soft);border-left-color:var(--info)} .ev.ext .mono{color:var(--info)}
.ev.off{background:repeating-linear-gradient(135deg,var(--subtle) 0 5px,var(--surface) 5px 10px);border-left-color:var(--line-strong)}
.ev.off b{text-decoration:line-through;color:var(--muted)} .ev.off .mono{color:var(--muted)}
.ev.conf{box-shadow:inset 0 0 0 1.5px var(--warn)}
.nowline{position:absolute;left:0;right:0;height:2px;background:var(--danger);z-index:2;pointer-events:none}
.nowline::before{content:"";position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:var(--danger)}
.strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;background:var(--surface);border-radius:var(--r);padding:6px}
.sd{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 7px;border-radius:14px}
.sd:hover{background:var(--raised)}
.sd span{font-size:.74rem;color:var(--muted);font-weight:600}
.sd b{font-size:1.05rem;font-weight:700}
.sd i{width:5px;height:5px;border-radius:50%;background:var(--brand);visibility:hidden}
.sd i.on{visibility:visible}
.sd.hoje b{color:var(--brand-text)}
.sd[aria-pressed="true"]{background:var(--brand)}
.sd[aria-pressed="true"] span,.sd[aria-pressed="true"] b{color:var(--brand-ink)}
.sd[aria-pressed="true"] i{background:var(--brand-ink)}

/* alunos */
.uhead,.urow{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,1.3fr) minmax(0,1.4fr) 76px 100px;gap:16px;align-items:center;padding:0 18px}
.uhead{height:42px;font-size:.74rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;border-bottom:1px solid var(--line)}
.urow{width:100%;min-height:66px;border-top:1px solid var(--line);text-align:left}
#lista>.urow:first-child{border-top:0}
.urow:hover{background:var(--raised)}
.urow>span{min-width:0}
.cell-user{display:flex;align-items:center;gap:12px}
.cell-user .nm{min-width:0;display:flex;flex-direction:column}
.cell-user b{font-weight:700;display:flex;align-items:center;gap:8px;min-width:0}
.cell-user .nm>span{font-size:.8rem;color:var(--muted)}
.c-obj,.c-next{font-size:.9rem;color:var(--ink-2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.c-tr{font-weight:700}
.m-only{display:none}
.phead{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.phead .nm{flex:1 1 280px;min-width:0;display:flex;flex-direction:column;gap:4px}
.phead .nm input{font-family:var(--display);font-size:1.45rem;font-weight:600;letter-spacing:-.02em;height:44px;border-color:transparent;background:transparent;padding:0 8px;margin-left:-9px}
.phead .nm input:hover{border-color:var(--line)}
.phead .nm input:focus{background:var(--field)}
.phead .acts{display:flex;gap:8px;flex-wrap:wrap}
.meta{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;font-size:.86rem;color:var(--muted)}
.utabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:4px;background:var(--field);border:1px solid var(--line);border-radius:999px;align-self:flex-start;max-width:100%}
.utabs::-webkit-scrollbar{display:none}
.utab{height:36px;padding:0 14px;font-weight:600;color:var(--muted);border-radius:999px;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;flex:none}
.utab:hover{color:var(--ink)}
.utab[aria-selected="true"]{color:var(--brand-ink);background:var(--brand)}
.utab .n{font-size:.74rem;opacity:.7;font-weight:700}
.wlist{display:flex;flex-direction:column}
.wrow{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 18px;border-top:1px solid var(--line);font-size:.9rem}
.wlist>.wrow:first-child{border-top:0}
.wrow .wd{font-weight:700;color:var(--muted);font-size:.8rem}
.wrow.hoje{background:var(--raised)}
.wrow.hoje .wd{color:var(--brand-text)}
.wt{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}
.wt i{width:6px}

/* treinos (lista geral) */
.trow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;padding:12px 18px;border-top:1px solid var(--line);text-align:left}
.rows>.trow:first-child{border-top:0}
.trow:hover{background:var(--raised)}
.trow .nm{display:flex;flex-direction:column;min-width:0}
.trow .nm b{font-weight:700}
.trow .ic{color:var(--faint)}
.who-btn{display:flex;align-items:center;gap:12px;min-width:0;text-align:left}
.who-btn .nm{display:flex;flex-direction:column;min-width:0}
.who-btn b{font-weight:700}
.tgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px;align-items:start}

/* montagem de treino */
.wo{background:var(--surface);border-radius:var(--r);overflow:hidden}
.wo-h{display:flex;align-items:center;gap:10px;padding:14px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.wo-h>input{flex:1 1 220px;font-weight:700;width:auto}
.wo-h .days{order:2}
.wo-h .tools{order:3}
.days{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;flex:none;background:var(--field);padding:3px;gap:2px}
.days button{height:30px;min-width:38px;padding:0 6px;font-size:.78rem;font-weight:700;color:var(--muted);border-radius:999px;text-align:center}
.days button:hover{color:var(--ink)}
.days button[aria-pressed="true"]{background:var(--brand);color:var(--brand-ink)}
.tools{display:flex;gap:2px;align-items:center}
.ex-head,.ex-row{display:grid;grid-template-columns:22px minmax(0,2.6fr) 62px 90px 104px 84px minmax(0,1.4fr) 92px;gap:8px;align-items:center;padding:0 18px}
.ex-head{height:36px;font-size:.72rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--line)}
.ex-row{min-height:58px;border-bottom:1px solid var(--line)}
.ex-row input{height:36px;border-color:transparent;background:transparent;padding:0 8px}
.ex-row input:hover{border-color:var(--line)}
.ex-row input:focus{background:var(--field)}
.ex-n{font-size:.78rem;color:var(--muted);text-align:center;font-weight:700}
.ex-name{display:flex;align-items:center;gap:10px;min-width:0}
.ex-name .f{flex:1}
.thumb{width:48px;height:36px;border-radius:9px;background:var(--subtle);flex:none;display:grid;place-items:center;color:var(--muted);overflow:hidden}
.thumb:hover{box-shadow:0 0 0 2px var(--brand)}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ex-act{display:flex;justify-content:flex-end;gap:2px;opacity:.6}
.ex-row:hover .ex-act,.ex-row:focus-within .ex-act{opacity:1}
.ex-row .f>span{display:none}
.wo-f{padding:8px 12px}
.copiar select{width:auto;flex:1 1 260px;max-width:460px;border-radius:999px;height:40px}

/* horários, metas e recados */
.hrow{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;padding:14px 18px;border-top:1px solid var(--line)}
.hlist>.hrow:first-child{border-top:0}
.goal-f{padding-top:14px;margin-top:2px;border-top:1px solid var(--line);align-items:flex-end}
.barra{height:8px;border-radius:99px;background:var(--subtle);overflow:hidden}
.barra i{display:block;height:100%;background:var(--brand);border-radius:99px}
.prog{display:flex;flex-direction:column;gap:6px;min-width:0}
.prog-l{display:flex;justify-content:space-between;gap:10px;align-items:baseline}
.msgs{display:flex;flex-direction:column}
.msg{padding:14px 18px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.msgs>.msg:first-child{border-top:0}
.msg.pin{background:var(--raised)}
.msg p{white-space:pre-wrap;overflow-wrap:anywhere;max-width:68ch}
.codigo{font-family:var(--display);font-weight:600;font-size:1.5rem;letter-spacing:.06em;user-select:all;color:var(--brand-text)}
.passos{margin:0;padding-left:1.2rem;display:flex;flex-direction:column;gap:4px;max-width:65ch;color:var(--ink-2)}
.danger-zone{box-shadow:inset 0 0 0 1px rgba(255,123,107,.25)}
.danger-txt{padding-top:14px;border-top:1px solid var(--line)}

/* biblioteca */
.ftabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.ftabs::-webkit-scrollbar{display:none}
.ftab{height:34px;padding:0 14px;border-radius:999px;border:1px solid var(--line);font-size:.86rem;font-weight:600;color:var(--ink-2);white-space:nowrap;background:var(--raised);flex:none}
.ftab:hover{border-color:var(--line-strong)}
.ftab[aria-selected="true"]{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
.lib{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.lib.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lc{background:var(--surface);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;min-width:0;text-align:left;transition:background-color .12s,box-shadow .12s}
.lc:hover{background:var(--raised);box-shadow:0 0 0 1px var(--line-strong)}
.lc .img{position:relative;aspect-ratio:4/3;background:var(--subtle);display:grid;place-items:center;color:var(--muted)}
.lc .img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.lc .img .chip{position:absolute;top:8px;left:8px;background:var(--bg);color:var(--brand-text)}
.lc .tx{padding:11px 13px 13px;display:flex;flex-direction:column;gap:2px;min-width:0}
.lc b{font-weight:700;font-size:.92rem;line-height:1.3}
.lc .tx>span{font-size:.8rem;color:var(--muted)}
.demo{position:relative;border-radius:var(--r-sm);overflow:hidden;background:var(--subtle);aspect-ratio:3/2}
.demo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.demo img.b{animation:troca 2.6s infinite}
@keyframes troca{0%,42%{opacity:0}50%,92%{opacity:1}100%{opacity:0}}
.demo.par{aspect-ratio:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;background:transparent;border-radius:0}
.demo.par img{position:static;animation:none;border-radius:var(--r-sm);aspect-ratio:3/2;background:var(--subtle)}
.steps{list-style:none;counter-reset:s;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.steps li{counter-increment:s;display:grid;grid-template-columns:24px minmax(0,1fr);gap:10px;align-items:start}
.steps li::before{content:counter(s);width:24px;height:24px;border-radius:50%;background:var(--brand);color:var(--brand-ink);display:grid;place-items:center;font-size:.72rem;font-weight:800}
.bul{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:6px}
.dt{font-family:var(--display);font-size:1.15rem;font-weight:600;letter-spacing:-.015em;line-height:1.25}

/* ajustes */
.setp{padding:0 24px}
.set{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;padding:24px 0;border-top:1px solid var(--line)}
.setp>.set:first-child{border-top:0}
.set .ctl{display:flex;flex-direction:column;gap:16px;max-width:540px;min-width:0}
.set p{margin-top:4px;max-width:44ch}
.sw-row{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer}
.sw-row>span:first-child{display:flex;flex-direction:column}
.sw-row b{font-weight:600}
.sw-row small{font-size:.8rem;color:var(--muted)}
.switch input{appearance:none;-webkit-appearance:none;width:44px;height:26px;border-radius:99px;background:var(--line-strong);position:relative;cursor:pointer;transition:background-color .15s;flex:none;margin:0;display:block}
.switch input::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:var(--ink);transition:transform .15s,background-color .15s}
.switch input:checked{background:var(--brand)}
.switch input:checked::after{transform:translateX(18px);background:var(--brand-ink)}

/* gaveta, avisos */
.scrim{position:fixed;inset:0;z-index:40;background:rgba(5,6,5,.6);display:flex;justify-content:flex-end}
.drawer{width:min(480px,100%);height:100%;background:var(--surface);display:flex;flex-direction:column;box-shadow:var(--shadow);padding-top:env(safe-area-inset-top,0px)}
.drawer-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:18px 18px 16px 22px;border-bottom:1px solid var(--line);flex:none}
.drawer-b{flex:1;overflow-y:auto;padding:22px;display:flex;flex-direction:column;gap:18px}
.drawer-b>*{flex:none}
.drawer-f{padding:12px 22px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px;flex:none}
.drawer .panel,.drawer .boxed{background:var(--raised);border-radius:16px;overflow:hidden}
.drawer .srow:hover,.drawer .fb.click:hover{background:var(--subtle)}
.nrow{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--raised);border-radius:16px}
.nrow .grow{display:flex;flex-direction:column}
.nrow .grow b{font-weight:700}
.nrow>.ic{color:var(--brand-text)}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(32px + env(safe-area-inset-bottom,0px));z-index:50;background:var(--ink);color:var(--bg);padding:12px 18px;border-radius:18px;font-weight:600;font-size:.9rem;width:max-content;max-width:min(520px,calc(100vw - 32px));text-align:center;box-shadow:var(--shadow)}
.alerta{position:fixed;left:50%;transform:translateX(-50%);top:calc(12px + env(safe-area-inset-top,0px));z-index:60;width:min(460px,calc(100% - 24px));background:var(--raised);border-radius:18px;padding:14px 12px 14px 16px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;box-shadow:var(--shadow),inset 0 0 0 1px var(--brand)}
.alerta .ic{color:var(--brand-text)}
.alerta b{display:block;font-weight:700}
.previewbar{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap;padding:10px 16px;background:var(--brand);color:var(--brand-ink);font-weight:700;font-size:.9rem}
.previewbar .btn{background:var(--bg);border-color:var(--bg);color:var(--ink)}
.offbar{display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:var(--r-sm);background:var(--warn-soft);color:var(--warn);font-weight:600;font-size:.9rem}

/* app do aluno */
.st .hdr-in{max-width:640px;padding:0 20px}
.st-c{max-width:640px;margin:0 auto;padding:24px 20px calc(110px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:18px}
.sthead{display:flex;flex-direction:column;gap:4px}
.sthead h1{font-size:1.6rem}
.xl{list-style:none;margin:0;padding:0}
.xr{display:grid;grid-template-columns:58px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 18px;border-top:1px solid var(--line)}
.xthumb{width:58px;height:44px;border-radius:10px;overflow:hidden;background:var(--subtle);display:grid;place-items:center;color:var(--muted)}
.xthumb img{width:100%;height:100%;object-fit:cover;display:block}
.xinfo{min-width:0;display:flex;flex-direction:column;gap:1px;text-align:left}
.xinfo b{font-weight:700}
.xinfo .sr{font-size:.86rem;color:var(--brand-text)}
.xinfo .dt2,.xinfo em{font-size:.8rem;color:var(--muted);font-style:normal}
.xr.feito .xinfo b{text-decoration:line-through;color:var(--muted)}
.chk{width:36px;height:36px;border-radius:50%;border:1.5px solid var(--line-strong);display:grid;place-items:center;color:transparent}
.chk:hover{border-color:var(--brand)}
.chk[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
.go{color:var(--faint)}
.pbar{height:4px;background:var(--subtle)}
.pbar i{display:block;height:100%;background:var(--brand)}
details.tr summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:14px 18px;cursor:pointer;list-style:none}
details.tr summary::-webkit-details-marker{display:none}
details.tr summary .ic{color:var(--muted);transition:transform .15s}
details.tr[open] summary .ic{transform:rotate(90deg)}
details.tr[open] summary{border-bottom:1px solid var(--line)}
details.tr .xl>.xr:first-child{border-top:0}
.gate{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px 20px}
.gate-in{width:min(400px,100%);display:flex;flex-direction:column;gap:24px}
.gate h1{font-size:1.65rem}
.gate .code-in{height:52px;font-family:var(--display);font-size:1.1rem;letter-spacing:.08em;text-transform:uppercase;text-align:center}
.gate .callout{margin:0}

/* feedback */
.fbl{display:flex;flex-direction:column}
.fb{padding:14px 18px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px;width:100%;text-align:left}
.fbl>.fb:first-child{border-top:0}
.fb.click{cursor:pointer}
.fb.click:hover{background:var(--raised)}
.fb.novo{box-shadow:inset 3px 0 0 var(--brand)}
.fb-h{display:flex;align-items:center;gap:10px;justify-content:space-between;flex-wrap:wrap}
.fb-h .who{display:flex;align-items:center;gap:10px;min-width:0}
.fb-h .who .nm{display:flex;flex-direction:column;min-width:0}
.fb-h .who b{font-weight:700}
.fb-m{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;font-size:.86rem;color:var(--ink-2)}
.rpe{display:inline-flex;align-items:center;gap:8px}
.rpe i{display:inline-flex;gap:2px}
.rpe i b{width:5px;height:12px;border-radius:2px;background:var(--line-strong)}
.rpe i b.on{background:var(--rpe)}
.fb p{white-space:pre-wrap;overflow-wrap:anywhere;max-width:70ch;color:var(--ink-2)}
.f-l{font-size:.8rem;font-weight:600;color:var(--muted)}
.scale{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}
.scale button{height:42px;border-radius:10px;border:1px solid var(--line);font-weight:800;background:var(--field);text-align:center}
.scale button:hover{border-color:var(--rpe-c)}
.scale button[aria-pressed="true"]{background:var(--rpe-c);border-color:var(--rpe-c);color:var(--brand-ink)}
.opts{display:flex;flex-wrap:wrap;gap:6px}
.opts button{height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--line);font-size:.88rem;font-weight:600;background:var(--raised)}
.opts button:hover{border-color:var(--line-strong)}
.opts button[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}

/* primeiros passos */
.steps-ck{display:flex;flex-direction:column}
.ck{display:flex;align-items:center;gap:12px;padding:13px 18px;border-top:1px solid var(--line)}
.steps-ck>.ck:first-child{border-top:0}
.ck .grow{display:flex;flex-direction:column}
.ck b{font-weight:700}
.ck-i{width:28px;height:28px;border-radius:50%;border:1.5px solid var(--line-strong);display:grid;place-items:center;flex:none;font-size:.78rem;color:var(--muted)}
.ck.ok .ck-i{background:var(--brand);border-color:var(--brand);color:var(--brand-ink)}
.ck.ok b{color:var(--muted);text-decoration:line-through}

/* instalar o app */
.inst{display:flex;align-items:center;gap:14px;padding:16px;border-radius:20px;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}
.inst-ic{width:48px;height:48px;border-radius:13px;background:var(--brand);padding:9px;flex:none;display:block}
.inst-ic .kk-ring,.inst-ic .kk-k{stroke:var(--brand-ink)}
.inst-ic .kk-dot{fill:var(--brand-ink)}
.inst .tx{flex:1 1 200px;min-width:0;display:flex;flex-direction:column;gap:2px}
.inst .tx b{font-weight:700}
.inst .acts{display:flex;gap:6px;flex-wrap:wrap}
.inst-auth{align-self:flex-start;margin-top:-8px}
.ist{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ist li{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px;background:var(--raised);border-radius:16px}
.ist-n{width:30px;height:30px;border-radius:50%;background:var(--brand);color:var(--brand-ink);display:grid;place-items:center;font-weight:800;font-size:.85rem}
.ist-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.ist-t b{font-weight:700}
.ist-ic{width:40px;height:40px;border-radius:12px;background:var(--subtle);display:grid;place-items:center;color:var(--info)}
.ist-ic .ic{width:22px;height:22px}

@media (max-width:900px){
  .inst{flex-wrap:wrap}
  .inst .acts{width:100%}
  .inst .acts .btn{flex:1}
  .hdr-in{height:68px;padding:0 20px;gap:10px}
  .hnav{display:none}
  .hdr-r{margin-left:auto}
  .content{padding:20px 20px calc(112px + env(safe-area-inset-bottom,0px));gap:18px}
  .tabbar,.stabs{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:20;background:#141713;border-top:1px solid #22261F;padding:6px 8px calc(8px + env(safe-area-inset-bottom,0px))}
  .toast{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
  .ptitle h1{font-size:1.45rem}
  .home{grid-template-columns:minmax(0,1fr);gap:18px}
  .cols{grid-template-columns:minmax(0,1fr);gap:16px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stats.three .stat{padding:12px}
  .stats.three .stat .v{font-size:1.2rem}
  .greet{font-size:1.7rem}
  .srow{padding:12px 16px;gap:12px}
  .srow .end .chip{display:none}
  .srow .end .chip.keep{display:inline-flex}
  .uhead{display:none}
  .urow{grid-template-columns:minmax(0,1fr) auto;padding:0 16px}
  .c-obj,.c-next,.c-tr{display:none}
  .m-only{display:block}
  .d-only{display:none}
  .phead{gap:12px 14px}
  .phead .av.lg{width:52px;height:52px;font-size:1rem}
  .phead .nm{flex:1 1 180px}
  .phead .nm input{font-size:1.25rem}
  .phead .acts{width:100%}
  .phead .acts .btn{flex:1;width:auto}
  .utabs{align-self:stretch;border-radius:16px}
  .fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .span2,.span4{grid-column:1/-1}
  .wo-h{padding:12px 14px}
  .wo-h .tools{order:2}
  .wo-h>input{flex:1 1 120px}
  .wo-h .days{order:4;flex:1 1 100%;display:flex}
  .wo-h .days button{flex:1;min-width:0;padding:0}
  .ex-head{display:none}
  .ex-row{grid-template-columns:repeat(4,minmax(0,1fr));padding:12px 14px;gap:8px}
  .ex-n{display:none}
  .ex-row .c-nome,.ex-row .c-obs{grid-column:1/-1}
  .ex-row .f>span{display:block;font-size:.72rem}
  .ex-row input{border-color:var(--line);background:var(--field);padding:0 8px}
  .ex-act{grid-column:1/-1;opacity:1}
  .hrow{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 14px}
  .hrow .f:first-child{grid-column:1/-1}
  .setp{padding:0 18px}
  .set{grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 0}
  .scrim{align-items:flex-end}
  .drawer{height:auto;max-height:92%;border-radius:24px 24px 0 0;padding-top:0}
  .lib{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tgrid{grid-template-columns:minmax(0,1fr)}
  .range{font-size:.9rem;flex-basis:100%;margin:2px 0 0}
  .salvo{max-width:30vw;overflow:hidden;text-overflow:ellipsis;font-size:.76rem}
  .salvo.ok{display:none}
}
@media (max-width:380px){
  .kk-word{font-size:19px}
  .hbtn{width:40px;height:40px}
  .nextc-t{font-size:1.6rem}
}
@media (prefers-reduced-motion:reduce){ .demo img.b{animation:none;opacity:0} }
@media (prefers-reduced-motion:no-preference){ .barra i,.pbar i{transition:width .35s} }
