
:is(#tutor-rhythm,.auth-screen){--r-bg:light-dark(#f7f5f1,#19191e);--r-paper:light-dark(#fffefc,#25252e);--r-ink:light-dark(#302c3c,#f2eef5);--r-soft:light-dark(#777282,#b7b1c3);--r-line:light-dark(#ebe7ee,#3b3746);--r-accent:light-dark(#79639b,#c8b7e8);--r-accent-ink:light-dark(#ffffff,#292232);--r-lilac:light-dark(#eee7f7,#393046);--r-rose:light-dark(#f9e8e1,#4b322e);--r-coral:light-dark(#8f4e3a,#e9ab94);--r-field:light-dark(#76706a,#8a948c);--r-green:light-dark(#367a65,#a0d4bf);--r-mint:light-dark(#e7f3ec,#293e34);--r-gold:light-dark(#956622,#e2bf7a);--r-sand:light-dark(#fbf1da,#443921);--r-shadow:light-dark(#43335317,#00000055);--r-radius:18px;--r-panel:440px;font:400 14px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--r-ink);color-scheme:light dark}
#tutor-rhythm *{box-sizing:border-box}
#tutor-rhythm button,#tutor-rhythm input,#tutor-rhythm textarea,#tutor-rhythm select{font:inherit;color:inherit}
#tutor-rhythm button{display:inline-flex;justify-content:center;align-items:center;gap:7px;border:1px solid var(--r-line);background:var(--r-paper);border-radius:11px;padding:9px 12px;transition:background .15s,transform .15s}
#tutor-rhythm button:hover{background:var(--r-bg)}
#tutor-rhythm button:active{transform:translateY(1px)}
#tutor-rhythm button.primary{background:var(--r-accent);color:var(--r-accent-ink);border-color:transparent;box-shadow:0 4px 12px var(--r-shadow)}
#tutor-rhythm button.softbtn{background:var(--r-lilac);color:var(--r-accent);border-color:transparent}
#tutor-rhythm button svg{width:16px;height:16px;flex-shrink:0}
#tutor-rhythm h2{font-size:25px;letter-spacing:-.8px;font-weight:500;margin:0}
#tutor-rhythm h3{font-size:16px;font-weight:500;margin:0 0 12px}
#tutor-rhythm p{margin:0}
#tutor-rhythm .soft{color:var(--r-soft)}
#tutor-rhythm .small{font-size:12px}
#tutor-rhythm .row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#tutor-rhythm .shell{display:grid;grid-template-columns:166px minmax(0,1fr);background:var(--r-bg);border:1px solid var(--r-line);border-radius:22px;overflow:hidden}
#tutor-rhythm .sidebar{background:var(--r-paper);border-right:1px solid var(--r-line);padding:25px 12px;display:flex;flex-direction:column;gap:7px}
#tutor-rhythm .brand{display:flex;align-items:center;gap:10px;padding:0 9px 27px;font-size:22px;letter-spacing:-.8px}
#tutor-rhythm .brandmark{display:flex;align-items:center;justify-content:center;background:var(--r-lilac);color:var(--r-accent);width:35px;height:35px;border-radius:13px;transform:rotate(-7deg)}
#tutor-rhythm .brandmark svg{width:21px;height:21px}
#tutor-rhythm .nav{justify-content:flex-start;border:0;background:transparent;color:var(--r-soft);padding:12px;gap:10px}
#tutor-rhythm .nav[aria-pressed=true]{background:var(--r-lilac);color:var(--r-accent)}
#tutor-rhythm .navcount{margin-left:auto;background:var(--r-rose);color:var(--r-coral);border-radius:7px;min-width:20px;text-align:center;font-size:11px;padding:2px}
#tutor-rhythm .library{margin-top:24px}
#tutor-rhythm .sidefoot{margin-top:auto;padding:20px 10px 0;color:var(--r-soft);font-size:12px}
#tutor-rhythm .workspace{min-width:0;display:grid}
#tutor-rhythm .page{grid-area:1/1;min-width:0;min-height:850px;padding:25px 22px 22px}
#tutor-rhythm .top{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:23px}
#tutor-rhythm .top p{color:var(--r-soft);font-size:12px;margin-top:5px}
#tutor-rhythm .actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
#tutor-rhythm .controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:15px}
#tutor-rhythm .period{font-size:19px;font-weight:500;margin-right:auto}
#tutor-rhythm .segments{display:flex;gap:3px;background:var(--r-line);padding:3px;border-radius:12px}
#tutor-rhythm .segments button{border:0;background:transparent;font-size:12px;padding:6px 11px}
#tutor-rhythm .segments button[aria-pressed=true]{background:var(--r-paper);box-shadow:0 2px 5px var(--r-shadow);color:var(--r-accent)}
#tutor-rhythm .legend{display:flex;gap:15px;flex-wrap:wrap;align-items:center;margin:0 0 16px;font-size:11px;color:var(--r-soft)}
#tutor-rhythm .legend span{display:inline-flex;gap:5px;align-items:center}
#tutor-rhythm .dot{width:7px;height:7px;border-radius:50%;background:var(--r-accent)}
#tutor-rhythm .dot.one{background:var(--r-coral)}
#tutor-rhythm .dot.done{background:var(--r-green)}
#tutor-rhythm .dot.moved{background:var(--r-gold)}
#tutor-rhythm .month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
#tutor-rhythm .weekday{padding:6px;text-align:center;font-size:12px;color:var(--r-soft)}
#tutor-rhythm .day{min-height:115px;background:var(--r-paper);border:1px solid var(--r-line);border-radius:12px;padding:7px;min-width:0}
#tutor-rhythm .day.outside{background:transparent}
#tutor-rhythm .day.today{border-color:var(--r-accent);box-shadow:0 0 0 2px var(--r-lilac)}
#tutor-rhythm .datebtn{border:0;background:transparent;padding:0 2px 5px;font-size:12px;gap:0;justify-content:flex-start}
#tutor-rhythm .today .datebtn{color:var(--r-accent)}
#tutor-rhythm .event{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:3px;margin:3px 0;padding:7px 6px;border:0;border-left:3px solid var(--r-accent);border-radius:8px;text-align:left;background:var(--r-lilac);min-width:0}
#tutor-rhythm .event.one{background:var(--r-rose);border-left-color:var(--r-coral)}
#tutor-rhythm .event.done{background:var(--r-mint);border-left-color:var(--r-green)}
#tutor-rhythm .event.moved{background:var(--r-sand);border-left:3px dashed var(--r-gold)}
#tutor-rhythm .event strong{font-size:11px;font-weight:500;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tutor-rhythm .event small{font-size:13px;color:var(--r-soft);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tutor-rhythm .event.selected{box-shadow:0 0 0 2px var(--r-accent)}
#tutor-rhythm .event:hover{filter:brightness(.98);background:var(--r-lilac)}
#tutor-rhythm .event.done:hover{background:var(--r-mint)}
#tutor-rhythm .event.one:hover{background:var(--r-rose)}
#tutor-rhythm .event.moved:hover{background:var(--r-sand)}
#tutor-rhythm .hint{font-size:11px;color:var(--r-soft);margin-top:15px}
#tutor-rhythm .timeline{display:grid;background:var(--r-paper);border:1px solid var(--r-line);border-radius:var(--r-radius);overflow:hidden;grid-template-columns:40px repeat(7,minmax(0,1fr))}
#tutor-rhythm .timeline.single{grid-template-columns:40px minmax(0,1fr)}
#tutor-rhythm .timehead{padding:9px 2px;text-align:center;font-size:12px;border-bottom:1px solid var(--r-line)}
#tutor-rhythm .hours div{height:72px;font-size:11px;color:var(--r-soft);text-align:center;padding-top:3px}
#tutor-rhythm .lane{height:570px;border-left:1px solid var(--r-line);position:relative;cursor:pointer;background:repeating-linear-gradient(to bottom,transparent 0,transparent 71px,var(--r-line) 71px,var(--r-line) 72px)}
#tutor-rhythm .lane .event{position:absolute;left:3px;width:calc(100% - 6px);margin:0;overflow:hidden}
#tutor-rhythm .drawer{grid-area:1/1;width:min(var(--r-panel),calc(100% - 60px));justify-self:end;align-self:stretch;background:var(--r-paper);z-index:3;padding:23px;border-left:1px solid var(--r-line);box-shadow:-12px 0 32px var(--r-shadow);min-width:0;overflow:auto;max-height:100vh}
#tutor-rhythm .drawerhead{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:16px}
#tutor-rhythm .drawerhead h2{font-size:22px;margin-top:4px}
#tutor-rhythm .close{padding:5px 10px;font-size:20px;min-width:35px}
#tutor-rhythm .times{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:13px 15px;background:var(--r-lilac);border-radius:var(--r-radius);margin-bottom:14px}
#tutor-rhythm .times strong{display:block;font-size:22px;font-weight:500;font-variant-numeric:tabular-nums}
#tutor-rhythm .badge{display:inline-flex;align-items:center;gap:4px;font-size:11px;background:var(--r-lilac);color:var(--r-accent);padding:5px 8px;border-radius:7px}
#tutor-rhythm .badge.paid{background:var(--r-mint);color:var(--r-green)}
#tutor-rhythm .badge.debt{background:var(--r-rose);color:var(--r-coral)}
#tutor-rhythm .badge.moved{background:var(--r-sand);color:var(--r-gold)}
#tutor-rhythm .paymentline{background:var(--r-mint);padding:12px 14px;border-radius:var(--r-radius);margin-top:13px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
#tutor-rhythm .paymentline.unpaid{background:var(--r-rose)}
#tutor-rhythm .previous{background:var(--r-bg);border-radius:var(--r-radius);padding:13px 14px;margin:13px 0}
#tutor-rhythm .previous p{margin-top:4px;font-size:12px}
#tutor-rhythm .tabs{display:flex;gap:2px;flex-wrap:wrap;border-bottom:1px solid var(--r-line);margin:14px 0 17px}
#tutor-rhythm .tabs button{border:0;background:transparent;border-bottom:2px solid transparent;border-radius:0;padding:9px 7px;font-size:12px}
#tutor-rhythm .tabs button[aria-selected=true]{color:var(--r-accent);border-bottom-color:var(--r-accent)}
#tutor-rhythm label{display:block;font-size:12px;color:var(--r-soft);margin-bottom:12px}
#tutor-rhythm input:not([type=checkbox]),#tutor-rhythm select,#tutor-rhythm textarea{display:block;background:var(--r-bg);border:1px solid var(--r-field);border-radius:16px;padding:10px 12px;width:100%;max-width:100%;margin-top:5px;font-size:14px}
#tutor-rhythm input:not([type=checkbox]):focus,#tutor-rhythm select:focus,#tutor-rhythm textarea:focus{outline:2px solid var(--r-accent);outline-offset:2px;box-shadow:none}
#tutor-rhythm textarea{resize:none;min-height:66px}
#tutor-rhythm textarea.letter{overflow:hidden;line-height:1.5;min-height:140px}
#tutor-rhythm #rv-feedback{min-height:320px}
#tutor-rhythm input[type=checkbox]{accent-color:var(--r-accent);width:16px;height:16px;flex-shrink:0}
#tutor-rhythm .formgrid{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
#tutor-rhythm .wide{grid-column:1/-1}
#tutor-rhythm .formgrid .wide.small{margin:0 0 12px}
#tutor-rhythm .editbox{margin-top:15px;background:var(--r-bg);padding:12px;border-radius:var(--r-radius)}
#tutor-rhythm .switchline{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border:1px solid var(--r-line);border-radius:12px;margin:4px 0 12px;background:var(--r-paper)}
#tutor-rhythm .switchline strong{display:block;color:var(--r-ink);font-size:14px;font-weight:500}
#tutor-rhythm .switchline input{appearance:none;width:42px;height:24px;margin:0;border:0;border-radius:999px;background:#d5ddd2;position:relative;cursor:pointer}
#tutor-rhythm .switchline input::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .15s ease}
#tutor-rhythm .switchline input:checked{background:var(--r-accent)}
#tutor-rhythm .switchline input:checked::after{transform:translateX(18px)}
#tutor-rhythm .switchline input:focus-visible{outline:2px solid var(--r-accent);outline-offset:2px}
#tutor-rhythm input:disabled{color:var(--r-ink);background:var(--r-bg)}
#tutor-rhythm .check{display:flex;align-items:flex-start;gap:9px;padding:12px;background:var(--r-bg);border-radius:12px;margin-bottom:8px}
#tutor-rhythm .check strong{display:block;color:var(--r-ink);font-size:14px;font-weight:500}
#tutor-rhythm .note{font-size:12px;color:var(--r-accent);padding-top:12px;min-height:28px}
#tutor-rhythm .answer{margin-top:14px;background:var(--r-lilac);padding:14px;border-radius:var(--r-radius)}
#tutor-rhythm .search{margin-bottom:17px;position:relative}
#tutor-rhythm .avatar{width:44px;height:44px;border-radius:50%;background:var(--r-lilac);display:flex;align-items:center;justify-content:center;color:var(--r-accent);font-weight:600;flex:none}
#tutor-rhythm .studentname{border:0;background:transparent;padding:0;justify-content:flex-start;font-size:15px;font-weight:500;text-align:left}
#tutor-rhythm .back{border:0;background:transparent;padding:0;color:var(--r-soft);font-size:12px;margin-bottom:18px}
#tutor-rhythm .profilehero{background:var(--r-paper);border:1px solid var(--r-line);border-radius:var(--r-radius);padding:20px;display:flex;align-items:center;gap:15px;flex-wrap:wrap}
#tutor-rhythm .profilehero .avatar{width:48px;height:48px;font-size:18px}
#tutor-rhythm .profilehero .actions{margin-left:auto}
#tutor-rhythm .booklead{margin:0 0 14px}
#tutor-rhythm .bookcreate{display:flex;flex-direction:column;gap:8px;margin-top:16px;padding:16px;border:1px solid var(--r-line);border-radius:16px;background:var(--r-paper)}
#tutor-rhythm .bookcreate h3{margin-bottom:4px}
#tutor-rhythm .bookhead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}
#tutor-rhythm .bookhead h3{margin:0}
#tutor-rhythm .bookfiles{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
#tutor-rhythm .bookfile{display:flex;flex-direction:column;gap:2px;padding:10px 12px;border-radius:14px;background:var(--r-bg);color:inherit;text-decoration:none}
#tutor-rhythm #rv-book-student{background-color:var(--r-paper);border:1px solid var(--r-field);border-radius:14px;padding:12px 42px 12px 14px;font-size:16px;font-weight:600;color:var(--r-ink);appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23777282' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;box-shadow:0 8px 18px -16px var(--r-shadow)}
#tutor-rhythm #rv-book-student:hover{border-color:var(--r-accent)}
#tutor-rhythm .attach{position:relative;display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid var(--r-line);border-radius:11px;background:var(--r-paper);cursor:pointer}
#tutor-rhythm .attach input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0;height:100%}
#tutor-rhythm .bookfile{display:inline-flex;align-items:center;gap:8px}
#tutor-rhythm .bookfile a{color:inherit;text-decoration:none;display:flex;flex-direction:column;gap:2px}
#tutor-rhythm .bookfile button{padding:4px 8px}
#tutor-rhythm .thread{display:flex;flex-direction:column;gap:10px;max-height:46vh;overflow:auto}
#tutor-rhythm .bubble{border-radius:16px;padding:12px 14px;border:1px solid var(--r-line);background:var(--r-paper)}
#tutor-rhythm .bubble p{white-space:pre-wrap}
#tutor-rhythm .bubble.mine{background:var(--r-lilac);border-color:transparent;margin-left:12%}
#tutor-rhythm .sourcelinks{display:flex;flex-direction:column;gap:4px;margin-top:8px;font-size:12px}
#tutor-rhythm .sourcelinks a,#tutor-rhythm .bookfile:hover{color:var(--r-accent)}
#tutor-rhythm .composer{display:flex;flex-direction:column;gap:8px;margin-top:12px}
#tutor-rhythm .composer textarea{margin-top:0}
#tutor-rhythm .drawer .bookadd{grid-template-columns:1fr}
#tutor-rhythm .drawer .bubble.mine{margin-left:0}
@media(max-width:560px){#tutor-rhythm .bookadd{grid-template-columns:1fr}}
#tutor-rhythm .cardlist{display:flex;flex-direction:column;gap:10px}
#tutor-rhythm .pile{display:flex;flex-direction:column;gap:12px;min-width:0}
#tutor-rhythm .pile header{display:flex;justify-content:space-between;align-items:center;gap:8px}
#tutor-rhythm .pile h3,#tutor-rhythm .stackhead{margin:0;font-size:17px;font-weight:600;letter-spacing:-.03em}
#tutor-rhythm .stackhead{margin:22px 0 12px}
#tutor-rhythm .piece{display:flex;align-items:center;justify-content:flex-start;gap:14px;padding:16px;background:var(--r-paper);border:1px solid var(--r-line);border-radius:16px;box-shadow:0 12px 24px -18px var(--r-shadow);min-width:0;text-align:left}
#tutor-rhythm .piece>:last-child{margin-left:auto}
#tutor-rhythm button.piece{width:100%;font-size:15px;border-radius:16px;padding:16px}
#tutor-rhythm button.piece:hover{background:color-mix(in srgb,var(--r-lilac) 62%,var(--r-paper))}
#tutor-rhythm button:focus-visible{outline:2px solid var(--r-accent);outline-offset:2px}
#tutor-rhythm .piecemain{display:flex;flex-direction:column;gap:3px;min-width:0}
#tutor-rhythm .piece strong{display:block;font-weight:600;font-size:16px;letter-spacing:-.02em}
#tutor-rhythm .pieceside{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0;flex-wrap:wrap}
#tutor-rhythm .piecemoney{font-variant-numeric:tabular-nums;font-size:18px;font-weight:600;letter-spacing:-.03em}
#tutor-rhythm .piece.refund .piecemoney{color:var(--r-coral)}
#tutor-rhythm .metric strong .small{display:block;margin-top:6px;font-weight:400;font-size:12px}
#tutor-rhythm .when{display:flex;flex-direction:column;gap:2px;width:108px;flex:none}
#tutor-rhythm .studentpiece:nth-child(even) .avatar{background:var(--r-rose);color:var(--r-coral)}
#tutor-rhythm .welcome{background:linear-gradient(120deg,var(--r-lilac),var(--r-rose));border-radius:22px;padding:22px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}
#tutor-rhythm .welcome h3{font-size:20px;margin:0 0 5px;letter-spacing:-.4px}
#tutor-rhythm .progressgroup{width:180px;flex-shrink:0}
#tutor-rhythm .track{height:8px;background:var(--r-paper);border-radius:10px;overflow:hidden;margin-top:7px}
#tutor-rhythm .track div{height:100%;background:var(--r-accent);border-radius:10px;transition:width .3s}
#tutor-rhythm .todaygrid{display:grid;grid-template-columns:1fr 1fr;gap:22px 18px}
#tutor-rhythm .sectionbox{background:var(--r-paper);border:1px solid var(--r-line);border-radius:var(--r-radius);padding:17px;min-width:0}
#tutor-rhythm .sectionbox header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
#tutor-rhythm .sectionbox h3{margin:0}
#tutor-rhythm .financegrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:20px}
#tutor-rhythm input[type=number]{-moz-appearance:textfield;appearance:textfield}
#tutor-rhythm input[type=number]::-webkit-outer-spin-button,#tutor-rhythm input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
#tutor-rhythm .metric{background:var(--r-paper);padding:17px;border-radius:var(--r-radius);border:1px solid var(--r-line)}
#tutor-rhythm .metric strong{font-size:23px;font-weight:500;display:block;margin-top:5px;font-variant-numeric:tabular-nums}
#tutor-rhythm .metric strong.remainder{font-size:16px;line-height:1.35;font-variant-numeric:normal}
#tutor-rhythm .metric.debt{background:var(--r-rose);border-color:transparent}
#tutor-rhythm .regularrow{display:grid;grid-template-columns:minmax(0,1fr) 105px 36px;gap:8px;align-items:center;margin-bottom:8px}
#tutor-rhythm .regularrow input,#tutor-rhythm .regularrow select{margin:0}
#tutor-rhythm .regularrow button{padding:8px}
#tutor-rhythm .goals{margin-top:16px;padding:17px;background:var(--r-paper);border:1px solid var(--r-line);border-radius:var(--r-radius)}
#tutor-rhythm .chips{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
#tutor-rhythm .chips button{padding:7px 10px;border-radius:20px;font-size:12px;background:var(--r-bg);border-color:transparent}
#tutor-rhythm .chips button[aria-pressed=true]{background:var(--r-mint);color:var(--r-green)}
#tutor-rhythm .goalinput{display:flex;gap:8px;align-items:center}
#tutor-rhythm .goalinput input{margin-top:0;min-width:0}
#tutor-rhythm .reportcontrols{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px;margin-bottom:15px}
#tutor-rhythm .reporthero{background:linear-gradient(110deg,var(--r-lilac),var(--r-rose),var(--r-sand));border-radius:var(--r-radius);padding:20px;margin:18px 0}
#tutor-rhythm .reportlesson{padding:13px 0;border-bottom:1px solid var(--r-line)}
#tutor-rhythm .reportlesson p{font-size:12px;margin-top:5px}
#tutor-rhythm .settingsgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
:is(#tutor-rhythm,.auth-screen)[data-palette=sage]{--r-accent:light-dark(#436f64,#a0d4c6);--r-accent-ink:light-dark(#ffffff,#18332c);--r-lilac:light-dark(#e5eee9,#2a3b33);--r-bg:light-dark(#f5f5f0,#181e1c);--r-rose:light-dark(#f8e9de,#47342b)}
:is(#tutor-rhythm,.auth-screen)[data-palette=ocean]{--r-accent:light-dark(#3e7188,#9bcfe1);--r-accent-ink:light-dark(#ffffff,#18313c);--r-lilac:light-dark(#e5eef4,#283b47);--r-bg:light-dark(#f3f5f5,#181d21);--r-rose:light-dark(#f8e9e1,#46332d)}
:is(#tutor-rhythm,.auth-screen)[data-palette=sunset]{--r-accent:light-dark(#a76548,#ebbc9f);--r-accent-ink:light-dark(#ffffff,#40281b);--r-lilac:light-dark(#f5e8df,#443126);--r-bg:light-dark(#f8f4ed,#211c18);--r-rose:light-dark(#f4e4e1,#472e2a)}
:is(#tutor-rhythm,.auth-screen)[data-palette=lilac]{--r-accent:light-dark(#79639b,#c8b7e8);--r-accent-ink:light-dark(#ffffff,#292232);--r-lilac:light-dark(#eee7f7,#393046);--r-bg:light-dark(#f7f5f1,#19191e);--r-rose:light-dark(#f9e8e1,#4b322e)}
:is(#tutor-rhythm,.auth-screen)[data-palette=rose]{--r-accent:light-dark(#a84b6a,#f0b4c8);--r-accent-ink:light-dark(#ffffff,#3a1824);--r-lilac:light-dark(#f8e6ec,#3d2832);--r-bg:light-dark(#f8f3f5,#1d181b);--r-rose:light-dark(#f6ddd4,#4a302c)}
:is(#tutor-rhythm,.auth-screen)[data-palette=amber]{--r-accent:light-dark(#8a5a12,#f0c56a);--r-accent-ink:light-dark(#ffffff,#3a2a10);--r-lilac:light-dark(#f8efd8,#3d3420);--r-bg:light-dark(#f7f4ec,#1e1b16);--r-rose:light-dark(#f6e4d4,#463428)}
:is(#tutor-rhythm,.auth-screen)[data-palette=ink]{--r-accent:light-dark(#2f4f8a,#b7c9f2);--r-accent-ink:light-dark(#ffffff,#1a2440);--r-lilac:light-dark(#e6ebf6,#2a3348);--r-bg:light-dark(#f3f4f7,#171a21);--r-rose:light-dark(#f6e6e0,#46322e)}
:is(#tutor-rhythm,.auth-screen)[data-palette=coral]{--r-accent:light-dark(#c45c45,#f2b5a4);--r-accent-ink:light-dark(#ffffff,#3d2218);--r-lilac:light-dark(#fbeae4,#432e28);--r-bg:light-dark(#f8f4f1,#201b19);--r-rose:light-dark(#f8e0d8,#4a322c)}
:is(#tutor-rhythm,.auth-screen)[data-palette=moss]{--r-accent:light-dark(#5c6b2a,#c9d98a);--r-accent-ink:light-dark(#ffffff,#242c12);--r-lilac:light-dark(#eef2dc,#323828);--r-bg:light-dark(#f5f6ef,#1a1d16);--r-rose:light-dark(#f6eadc,#463628)}
:is(#tutor-rhythm,.auth-screen)[data-palette=slate]{--r-accent:light-dark(#4d5968,#c5ced8);--r-accent-ink:light-dark(#ffffff,#1c242e);--r-lilac:light-dark(#e8ecef,#2e363f);--r-bg:light-dark(#f3f4f5,#181b1f);--r-rose:light-dark(#f4e6e0,#42332e)}
#tutor-rhythm .month{gap:0;border-top:1px solid var(--r-line);border-bottom:1px solid var(--r-line)}
#tutor-rhythm .day,#tutor-rhythm .day.outside{background:transparent;border:0;border-top:1px solid var(--r-line);border-right:1px solid var(--r-line);border-radius:0;min-height:185px;padding:9px 7px}
#tutor-rhythm .day.today{border-color:var(--r-line);box-shadow:none}
#tutor-rhythm .today .datebtn{color:var(--r-accent);font-weight:500}
#tutor-rhythm .daycount{font-size:11px;color:var(--r-soft)}
#tutor-rhythm .daytop{display:flex;align-items:center;justify-content:space-between;gap:4px;padding-bottom:4px}
#tutor-rhythm .more{border:0;background:transparent;padding:6px 2px;font-size:11px;color:var(--r-accent);justify-content:flex-start;width:100%}
#tutor-rhythm .palettechoices{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 20px}
#tutor-rhythm .palettechoices button{font-size:13px;background:var(--r-bg);border:1px solid var(--r-line);white-space:nowrap}
#tutor-rhythm .palettechoices button[aria-pressed=true]{border-color:var(--r-accent);background:var(--r-lilac);color:var(--r-accent)}
#tutor-rhythm .palettedot,#tutor-rhythm .swatch{width:12px;height:12px;border-radius:50%;display:inline-block;flex:none}
#tutor-rhythm .palettedot.sage,#tutor-rhythm .swatch.sage{background:light-dark(#436f64,#a0d4c6)}
#tutor-rhythm .palettedot.ocean,#tutor-rhythm .swatch.ocean{background:light-dark(#3e7188,#9bcfe1)}
#tutor-rhythm .palettedot.sunset,#tutor-rhythm .swatch.sunset{background:light-dark(#a76548,#ebbc9f)}
#tutor-rhythm .palettedot.lilac,#tutor-rhythm .swatch.lilac{background:light-dark(#79639b,#c8b7e8)}
#tutor-rhythm .palettedot.rose,#tutor-rhythm .swatch.rose{background:light-dark(#a84b6a,#f0b4c8)}
#tutor-rhythm .palettedot.amber,#tutor-rhythm .swatch.amber{background:light-dark(#8a5a12,#f0c56a)}
#tutor-rhythm .palettedot.ink,#tutor-rhythm .swatch.ink{background:light-dark(#2f4f8a,#b7c9f2)}
#tutor-rhythm .palettedot.coral,#tutor-rhythm .swatch.coral{background:light-dark(#c45c45,#f2b5a4)}
#tutor-rhythm .palettedot.moss,#tutor-rhythm .swatch.moss{background:light-dark(#5c6b2a,#c9d98a)}
#tutor-rhythm .palettedot.slate,#tutor-rhythm .swatch.slate{background:light-dark(#4d5968,#c5ced8)}
@media(max-width:560px){#tutor-rhythm .reportcontrols,#tutor-rhythm .settingsgrid{grid-template-columns:1fr}}
#tutor-rhythm [hidden]{display:none!important}
@media(max-width:800px){#tutor-rhythm .shell{grid-template-columns:1fr}#tutor-rhythm .sidebar{flex-direction:row;flex-wrap:wrap;padding:13px;border-right:0;border-bottom:1px solid var(--r-line);gap:3px}#tutor-rhythm .brand{width:100%;padding:0 7px 8px;font-size:20px}#tutor-rhythm .brandmark{width:29px;height:29px}#tutor-rhythm .nav{padding:8px;font-size:12px}#tutor-rhythm .library{margin:0}#tutor-rhythm .sidefoot{display:none}#tutor-rhythm .page{padding:20px 15px;min-height:0}#tutor-rhythm .drawer{grid-area:auto;width:100%;border-left:0;border-top:1px solid var(--r-line);box-shadow:none;min-height:0}#tutor-rhythm .workspace{grid-template-columns:minmax(0,1fr)}#tutor-rhythm .month{gap:5px}#tutor-rhythm .day{padding:5px;min-height:105px}#tutor-rhythm .piece{align-items:flex-start;flex-wrap:wrap}#tutor-rhythm .pieceside{width:100%;margin-left:0;justify-content:flex-start}}
@media(max-width:560px){#tutor-rhythm .datebtn{font-size:12px}#tutor-rhythm .event strong{font-size:12px}#tutor-rhythm .welcome{flex-direction:column;align-items:flex-start}#tutor-rhythm .progressgroup{width:100%}#tutor-rhythm .todaygrid,#tutor-rhythm .financegrid{grid-template-columns:1fr}#tutor-rhythm .piece{padding:14px}#tutor-rhythm .when{width:auto}#tutor-rhythm .historypiece{flex-wrap:wrap}#tutor-rhythm .piecemoney{font-size:16px}#tutor-rhythm .timeline{grid-template-columns:40px minmax(0,1fr)}#tutor-rhythm .timehead:not(.mobileday),#tutor-rhythm .lane:not(.mobileday){display:none}#tutor-rhythm .controls .period{width:100%}#tutor-rhythm .top h2{font-size:23px}#tutor-rhythm .formgrid{grid-template-columns:1fr}#tutor-rhythm .drawer{padding:19px 16px}#tutor-rhythm .regularrow{grid-template-columns:minmax(0,1fr) 95px 34px}#tutor-rhythm .profilehero{padding:16px}#tutor-rhythm .profilehero .actions{margin-left:0}}
@media(pointer:coarse){#tutor-rhythm button{min-height:44px}#tutor-rhythm input,#tutor-rhythm textarea,#tutor-rhythm select{font-size:16px!important}}
@media(max-width:800px){#tutor-rhythm[data-panel-open=true] .page{display:block}}
@media(max-width:800px){#tutor-rhythm .month{gap:0}#tutor-rhythm .day{padding:8px 5px;min-height:185px}}
@media(max-width:560px){#tutor-rhythm .day{min-height:150px}#tutor-rhythm .month{border-top:0}#tutor-rhythm .daycount{display:none}}
@media(prefers-reduced-motion:reduce){#tutor-rhythm *{transition:none!important}}

#tutor-rhythm{min-height:100vh;font-size:15px} body{margin:0;font-family:system-ui,sans-serif;background:#f5f5f0} [hidden]{display:none!important}.login{max-width:360px;margin:12vh auto;padding:28px}.login input{display:block;padding:12px;box-sizing:border-box;width:100%;margin:10px 0}.login button{padding:12px 20px}.sources a{color:var(--r-accent)} .sidefoot button{margin-top:12px}.event.cancelled,.event.missed{opacity:.6;text-decoration:line-through}.paymentform{max-width:480px}.financeperiod{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px} .bookanswer{white-space:pre-wrap}.empty{padding:30px 0;color:var(--r-soft)}
