@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:Arial, Helvetica, sans-serif;--default-mono-font-family:"SFMono-Regular", Consolas, "Liberation Mono", monospace}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.table{display:table}.h-full{height:100%}.min-h-full{min-height:100%}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-col{flex-direction:column}.rounded{border-radius:.25rem}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--bg:#171717;--card:#242424;--card2:#2b2b2b;--text:#f5f5f5;--muted:#b9b9b9;--orange:#ff5a12;--orange2:#ff8a00;--green:#35d07f;--red:#ff4f4f;--yellow:#ffd166;--line:#ffffff1f;--shadow:0 18px 48px #00000059;--radius:15px;--background:var(--bg);--foreground:var(--text)}*{box-sizing:border-box}html{background:var(--bg);min-height:100%}body{background:radial-gradient(circle at 18% 12%, #ff5a122b, transparent 32%), radial-gradient(circle at 88% 18%, #35d07f1a, transparent 29%), var(--bg);min-height:100vh;color:var(--text);margin:0;font-family:Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}.app-shell{width:min(1480px,100%);margin:0 auto;padding:10px}.topbar{align-items:center;gap:10px;margin-bottom:6px;display:flex}.tabs{border:1px solid var(--line);background:#ffffff14;border-radius:14px;gap:4px;padding:4px;display:flex;overflow-x:auto}.tab{min-height:30px;color:var(--text);white-space:nowrap;background:0 0;border-radius:10px;padding:7px 10px;font-size:13px;font-weight:900}.tab.active{background:linear-gradient(135deg, var(--orange), var(--orange2));color:#1c100a}.top-section-title{color:var(--orange2);background:#ff5a1214;border:1px solid #ff5a1247;border-radius:12px;margin-left:auto;padding:6px 10px;font-size:16px;font-weight:900}.google-sync-pill{border:1px solid var(--line);max-width:360px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;background:#ffffff12;border-radius:12px;align-items:center;gap:8px;padding:7px 10px;font-size:12px;font-weight:900;display:inline-flex;overflow:hidden}.google-sync-pill a{color:inherit;text-underline-offset:2px;text-decoration:underline}.google-sync-pill.ready{color:var(--muted);border-color:#ffffff29}.google-sync-pill.pending{color:var(--yellow);border-color:#ffd16673}.google-sync-pill.success{color:var(--green);border-color:#35d07f73}.google-sync-pill.error{color:var(--red);border-color:#ff4f4f8c}.account-pill{border:1px solid var(--line);background:#ffffff12;border-radius:12px;align-items:center;gap:8px;max-width:340px;padding:4px;display:flex}.account-pill span{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;padding-left:7px;font-size:12px;font-weight:900;overflow:hidden}.top-refresh-btn{white-space:nowrap;min-height:34px}.storage-pill{border:1px solid var(--line);color:var(--muted);white-space:nowrap;background:#ffffff12;border-radius:8px;padding:6px 9px;font-size:12px;font-weight:800}.storage-pill.saving,.storage-pill.local{color:var(--yellow);border-color:#ffd16673}.storage-pill.saved{color:var(--green);border-color:#35d07f73}.storage-pill.error{color:var(--red);border-color:#ff4f4f8c}.save-error-banner{z-index:30;background:#392525;border:1px solid #ff4f4f8c;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;padding:12px;display:flex;position:sticky;top:0;box-shadow:0 8px 24px #00000059}.save-error-message{color:#fff0f0;gap:3px;min-width:0;font-size:13px;display:grid}.save-error-message span{overflow-wrap:anywhere}.save-error-actions{flex-wrap:wrap;flex-shrink:0;gap:8px;display:flex}@media (max-width:640px){.save-error-banner{flex-direction:column;align-items:stretch}.save-error-actions .btn{flex:140px}}.view.active{display:block}.grid{grid-template-columns:minmax(0,1.7fr) minmax(300px,.62fr);align-items:start;gap:10px;display:grid}.panel{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:#242424eb;overflow:hidden}.panel-head{border-bottom:1px solid var(--line);background:#ffffff09;justify-content:space-between;align-items:center;gap:14px;padding:10px 12px;display:flex}.schedule-head-compact{display:none}.panel-title{margin:0;font-size:17px;line-height:1.1}.panel-body{padding:10px}.trial-history-head{flex-wrap:wrap;align-items:center;padding:16px}.trial-history-head p{color:var(--muted);margin:6px 0 0;font-size:13px}.trial-history-head input{width:min(340px,100%)}.trial-history-list{margin:0;padding:0;list-style:none}.trial-history-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) 120px minmax(160px,220px);align-items:center;gap:20px;padding:14px 16px;display:grid}.trial-history-row:last-child{border-bottom:0}.trial-history-person{gap:5px;min-width:0;display:grid}.trial-history-person strong{overflow-wrap:anywhere}.trial-history-person span,.trial-history-row label span{color:var(--muted);font-size:12px}.trial-history-row time{font-variant-numeric:tabular-nums}.trial-history-row label{gap:4px;display:grid}.trial-history-row select{width:100%}.trial-history-row .trial-history-status{font-weight:800}.trial-history-row .trial-history-status.planned{color:#d5deea;background:#303740;border-color:#718096}.trial-history-row .trial-history-status.signed{color:#a9ffd0;background:#203b2d;border-color:#35d07f}.trial-history-row .trial-history-status.thinking{color:#ffe6a3;background:#423923;border-color:#ffd166}.trial-history-row .trial-history-status.refused{color:#ffc1c1;background:#472b2d;border-color:#ff7070}.trial-history-row .trial-history-status.moved{color:#b8d8ff;background:#27394c;border-color:#55a6ff}.trial-history-row .trial-history-status.cancelled{color:#ffca91;background:#493323;border-color:#ff8a00}.trial-history-empty{color:var(--muted);margin:0;padding:24px 16px}@media (max-width:600px){.trial-history-head input{width:100%}.trial-history-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.trial-history-row label{grid-column:1/-1}}.editor.new-mode{background:#242424eb}.editor.editing{box-shadow:0 0 0 2px #ff5a122e, var(--shadow);background:linear-gradient(#ff5a122e,#242424f0 35%);border-color:#ff5a12bf}.date-row{grid-template-columns:auto 1fr auto;align-items:center;gap:6px;margin-bottom:8px;display:grid}.date-box{border:1px solid var(--line);background:var(--card2);text-align:center;border-radius:12px;padding:8px 10px;font-size:15px;font-weight:900}.btn,.icon-btn{border:1px solid var(--line);min-height:34px;color:var(--text);background:#ffffff14;border-radius:10px;padding:7px 10px;font-size:13px;font-weight:900}.btn.pause{color:var(--yellow);background:#ffd1661a;border-color:#ffd1664d}.btn:disabled,.icon-btn:disabled{cursor:not-allowed;opacity:.48}.icon-btn{width:38px;font-size:20px}.primary{background:linear-gradient(135deg, var(--orange), var(--orange2));color:#1c100a;border:0}.green{color:#a9ffd0;background:#35d07f29;border:1px solid #35d07f59}.danger{color:#ffb0b0;background:#ff4f4f26;border:1px solid #ff4f4f59}.small{min-height:30px;padding:6px 9px;font-size:12px}.calendar-tools{grid-template-columns:1fr 220px;align-items:end;gap:8px;margin-bottom:8px;display:grid}.view-switch{border:1px solid var(--line);background:#ffffff0f;border-radius:12px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.view-btn{min-height:30px;color:var(--text);background:0 0;border-radius:9px;padding:6px 9px;font-size:12px;font-weight:900}.view-btn.active{background:linear-gradient(135deg, var(--orange), var(--orange2));color:#1c100a}.jump-row{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;display:grid}.stats{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:8px;display:grid}.insight-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.distribution-card{min-width:0}.distribution-bar{border:1px solid var(--line);background:#ffffff0f;border-radius:999px;height:14px;margin:8px 0 10px;display:flex;overflow:hidden}.distribution-bar span{min-width:2px}.distribution-list,.source-duration-list,.student-flow-list{gap:6px;display:grid}.distribution-row,.source-duration-row{min-width:0;color:var(--muted);grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;font-size:12px;display:grid}.source-duration-row{grid-template-columns:minmax(0,1fr) auto minmax(92px,auto)}.distribution-row span,.source-duration-row span{min-width:0;color:var(--text);text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:7px;font-weight:900;display:inline-flex;overflow:hidden}.distribution-row i,.source-duration-row i{border-radius:999px;flex:none;width:9px;height:9px}.distribution-row strong,.source-duration-row strong{color:var(--text)}.student-flow-card{gap:8px;display:grid}.student-flow-stats{grid-template-columns:1fr 1fr;gap:8px;display:grid}.student-flow-stats>div{border:1px solid var(--line);background:#ffffff0e;border-radius:10px;padding:8px}.student-flow-stats span,.student-flow-list span{color:var(--muted);font-size:11px;font-weight:900;display:block}.student-flow-stats strong{margin-top:4px;font-size:22px;line-height:1;display:block}.student-flow-list p{color:var(--text);margin:2px 0 0;font-size:12px;line-height:1.35}.stat{border:1px solid var(--line);background:var(--card2);border-radius:12px;min-height:60px;padding:10px}.stat-label{color:var(--muted);margin-bottom:5px;font-size:11px}.stat-value{font-size:19px;font-weight:900;line-height:1}.income-summary-grid .stat:first-child{background:linear-gradient(135deg,#35d07f24,#ffffff0b);border-color:#35d07f57}.income-summary-grid .stat:nth-child(2){background:linear-gradient(135deg,#55a6ff24,#ffffff0b);border-color:#55a6ff57}.income-summary-grid .stat:nth-child(3){background:linear-gradient(135deg,#ff707024,#ffffff0b);border-color:#ff707057}.form,.student-list,.income-table{gap:8px;display:grid}.student-list{gap:10px}.field{flex-direction:column;gap:4px;display:flex}label{color:var(--muted);font-size:11px;font-weight:900}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--text);background:#ffffff14;border-radius:10px;outline:none;padding:8px 10px;font-size:13px}input:focus,select:focus,textarea:focus{border-color:#ff5a12b3;box-shadow:0 0 0 2px #ff5a1229}select option{color:#111}.lesson-status-select{font-weight:900}.lesson-status-select.planned{color:#ffb15f;border-color:#ff8a0080}.lesson-status-select.done{color:#a9ffd0;border-color:#35d07f80}.lesson-status-select.cancelled{color:#ffc1c1;border-color:#ff70708c}.lesson-status-select.moved{color:#b8d8ff;border-color:#55a6ff8c}.trial-btn{color:#fff;background:#ff8a002e;border-color:#ffffff5c;font-weight:900}textarea{resize:vertical;min-height:56px}.two{grid-template-columns:1fr 1fr;gap:8px;display:grid}.three{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.four{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.check-row{align-items:center;gap:8px;display:flex}.check-row input{width:auto}.notification-form-card{background:linear-gradient(#55a6ff14,#55a6ff09),#ffffff09;border:1px solid #55a6ff38;border-radius:12px;gap:9px;padding:10px;display:grid}.notification-form-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.notification-form-head>div{gap:3px;min-width:0;display:grid}.notification-form-head strong{font-size:13px;line-height:1.1}.notification-form-head span{color:var(--muted);font-size:11px;font-weight:900}.notification-form-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.reminder-toggle-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.recipient-form-list{gap:8px;display:grid}.recipient-form-card{background:#0000001f;border:1px solid #ffffff17;border-radius:10px;gap:8px;padding:9px;display:grid}.recipient-form-top{grid-template-columns:minmax(95px,.55fr) minmax(0,1fr);gap:8px;display:grid}.recipient-form-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.recipient-form-actions .btn{margin-left:auto}.recipient-form-empty{color:var(--muted);text-align:center;border:1px dashed #ffffff1a;border-radius:10px;padding:12px;font-size:12px;font-weight:900}.recipient-form-empty.compact{text-align:left;padding:8px;font-size:11px}.empty{border:1px dashed var(--line);color:var(--muted);text-align:center;background:#ffffff0a;border-radius:12px;padding:20px}.payment-reminders{background:linear-gradient(#ffd16624,#ffd1660e),#ffd1660f;border:1px solid #ffd16670;border-radius:12px;gap:12px;margin-bottom:14px;padding:12px;display:grid;box-shadow:inset 0 0 0 1px #ffd16614}.payment-reminders-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.payment-reminders-head>div{gap:3px;min-width:0;display:grid}.payment-reminders-head strong{color:#ffe1a1;font-size:15px;line-height:1.2;display:block}.payment-reminders-head small{color:var(--muted);font-size:11px;font-weight:800;line-height:1.25;display:block}.payment-reminders-head span{min-width:74px;min-height:22px;color:var(--yellow);white-space:nowrap;background:#ffd1661a;border:1px solid #ffd16647;border-radius:999px;justify-content:center;align-items:center;padding:3px 9px;font-size:11px;font-weight:900;line-height:1;display:inline-flex}.telegram-receipts-panel{background:linear-gradient(135deg,#35d07f1f,#ff8a000b),#ffffff09;border:1px solid #35d07f57;border-radius:12px;gap:12px;margin-bottom:14px;padding:12px;display:grid;box-shadow:inset 0 0 0 1px #35d07f12}.telegram-receipts-head{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;display:grid}.telegram-receipts-head>div:first-child{gap:3px;min-width:0;display:grid}.telegram-receipts-head strong{color:#caffdf;font-size:15px;font-weight:900;line-height:1.2}.telegram-receipts-head small{color:var(--muted);font-size:11px;font-weight:800;line-height:1.25}.telegram-receipts-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.telegram-receipts-actions span{color:#a7f0c3;white-space:nowrap;background:#35d07f1a;border:1px solid #35d07f47;border-radius:999px;justify-content:center;align-items:center;min-height:24px;padding:4px 9px;font-size:11px;font-weight:900;line-height:1;display:inline-flex}.telegram-receipts-state{border-radius:10px;gap:5px;padding:10px 11px;font-size:12px;line-height:1.35;display:grid}.telegram-receipts-state strong{font-size:13px;font-weight:900;line-height:1.2}.telegram-receipts-state span{color:#ffffffb8;font-weight:750}.telegram-receipts-state.success{color:#caffdf;background:#35d07f17;border:1px solid #35d07f47}.telegram-receipts-state.warning{color:#ffd79a;background:#ffb84d17;border:1px solid #ffb84d52}.telegram-receipts-state.error{color:#ffc2c2;background:#ff6b6b1a;border:1px solid #ff6b6b5c}.telegram-receipts-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:9px;display:grid}.telegram-receipt-card{background:linear-gradient(90deg,#35d07f30,#0000 9px),#35d07f14;border:1px solid #35d07f40;border-radius:10px;gap:9px;min-width:0;padding:10px;display:grid}.telegram-receipt-main{background:#ffffff0e;border:1px solid #ffffff14;border-radius:9px;gap:5px;min-width:0;padding:9px 10px;display:grid}.telegram-receipt-main strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:900;line-height:1.1;overflow:hidden}.telegram-receipt-main small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800;line-height:1.2;overflow:hidden}.telegram-receipt-fields{grid-template-columns:.9fr 1fr 1fr;gap:7px;display:grid}.telegram-receipt-fields span{background:#00000021;border:1px solid #ffffff17;border-radius:9px;align-content:center;gap:4px;min-width:0;min-height:48px;padding:8px;display:grid}.telegram-receipt-fields small{color:var(--muted);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:10px;font-weight:900;line-height:1;overflow:hidden}.telegram-receipt-fields b{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900;line-height:1.1;overflow:hidden}.telegram-receipt-text,.telegram-receipt-hint{color:var(--muted);background:#0000001a;border:1px solid #ffffff14;border-radius:9px;margin:0;padding:8px 9px;font-size:12px;font-weight:700;line-height:1.35}.telegram-receipt-text{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.telegram-receipt-hint{color:#ffe1a1}.telegram-receipt-payment{background:#35d07f14;border:1px solid #35d07f38;border-radius:10px;grid-template-columns:1fr 1.2fr;gap:8px;padding:9px;display:grid}.telegram-receipt-payment .field{min-width:0}.telegram-receipt-payment input{min-height:34px;font-weight:900}.telegram-receipt-buttons{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.telegram-receipts-empty{background:#35d07f0e;border:1px dashed #35d07f3d;border-radius:10px;gap:5px;padding:12px;display:grid}.telegram-receipts-empty strong{color:#caffdf;font-size:13px;line-height:1.2}.telegram-receipts-empty span{color:var(--muted);font-size:12px;font-weight:700;line-height:1.35}.payment-dashboard{background:linear-gradient(135deg,#ff8a001f,#35d07f12),#ffffff09;border-color:#ff8a0061;gap:14px}.payment-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.payment-dashboard-section{background:#0000001f;border:1px solid #ffd16633;border-radius:11px;align-content:start;gap:10px;min-width:0;padding:10px;display:grid}.payment-dashboard-section.debt-section{background:linear-gradient(#ff5f5f14,#0000),#00000021;border-color:#ff5f5f47}.payment-dashboard-section-head{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;display:grid}.payment-dashboard-section-head strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900;line-height:1.1;overflow:hidden}.payment-dashboard-section-head span{min-height:24px;color:var(--muted);white-space:nowrap;background:#ffffff0f;border:1px solid #ffffff1a;border-radius:999px;justify-content:center;align-items:center;padding:4px 8px;font-size:11px;font-weight:900;line-height:1;display:inline-flex}.payment-empty-card{background:#35d07f11;border:1px dashed #35d07f42;border-radius:10px;gap:5px;min-height:92px;padding:12px;display:grid}.payment-empty-card.debt-empty{background:#ffffff0b;border-color:#ffffff1f}.payment-empty-card strong{color:#caffdf;font-size:13px;line-height:1.2}.payment-empty-card span{color:var(--muted);font-size:12px;font-weight:700;line-height:1.35}.student-section-label{background:linear-gradient(90deg,#35d07f2e,#0000 58%),#35d07f12;border:1px solid #35d07f47;border-radius:12px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:46px;padding:10px 12px;display:grid}.student-section-label.archive{background:linear-gradient(90deg,#ff8a0033,#0000 58%),#ff8a0012;border-color:#ff8a0057;margin-top:8px}.student-section-label.paused{background:linear-gradient(90deg,#55a6ff38,#0000 58%),#55a6ff12;border-color:#55a6ff5c;margin-top:8px}.student-section-label span{gap:3px;min-width:0;display:grid}.student-section-label strong{color:#caffdf;font-size:15px;line-height:1.1}.student-section-label.archive strong{color:#ffd18a}.student-section-label.paused strong{color:#b8d9ff}.student-section-label small{color:var(--muted);font-size:11px;font-weight:800;line-height:1.2}.student-section-label b{min-width:34px;min-height:28px;color:var(--text);background:#00000029;border:1px solid #ffffff1a;border-radius:999px;justify-content:center;align-items:center;padding:4px 9px;font-size:12px;font-weight:900;display:inline-flex}.payment-reminders-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px;display:grid}.payment-reminder-card{border:1px solid var(--line);min-height:92px;color:var(--text);text-align:left;cursor:pointer;background:#ffffff0e;border-radius:10px;gap:8px;padding:10px;display:grid}.payment-reminder-card *{min-width:0}.payment-reminder-card:hover{background:#ffffff14;border-color:#ffffff2e}.payment-reminder-card.urgent{background:linear-gradient(90deg,#ff4f4f38,#0000 9px),#ff4f4f21;border-color:#ff4f4f61}.payment-reminder-card.warning{background:linear-gradient(90deg,#ffd16638,#0000 9px),#ffd1661a;border-color:#ffd1665c}.payment-reminder-name{background:#ffffff0f;border:1px solid #ffffff14;border-radius:9px;gap:6px;min-width:0;padding:9px 10px;display:grid}.payment-reminder-label{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:900;line-height:1;display:block}.payment-reminder-student{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:900;line-height:1.1;display:block;overflow:hidden}.payment-reminder-bottom{grid-template-columns:96px minmax(0,1fr);gap:8px;display:grid}.payment-reminder-value{background:#0000001f;border:1px solid #ffffff1a;border-radius:9px;align-content:center;justify-items:center;gap:4px;padding:8px;display:grid}.payment-reminder-value>span:last-child{color:var(--text);font-size:18px;font-weight:900;line-height:1}.payment-reminder-status{text-align:center;border-radius:9px;justify-content:center;align-items:center;min-height:44px;padding:7px 10px;font-size:12px;font-weight:900;line-height:1.15;display:inline-flex}.payment-reminder-card.urgent .payment-reminder-status{color:#ffc4c4;background:#ff4f4f29;border:1px solid #ff4f4f57}.payment-reminder-card.warning .payment-reminder-status{color:var(--yellow);background:#ffd16624;border:1px solid #ffd16657}.debt-reminders-list{gap:8px;display:grid}.debt-reminder-card{min-width:0;min-height:116px;color:var(--text);text-align:left;cursor:pointer;background:linear-gradient(90deg,#ff5f5f38,#0000 9px),#ff5f5f1c;border:1px solid #ff5f5f52;border-radius:10px;gap:9px;padding:10px;display:grid}.debt-reminder-card:hover{background:linear-gradient(90deg,#ff5f5f47,#0000 9px),#ff5f5f26;border-color:#ff7e7e7a}.debt-reminder-main{background:#ffffff0e;border:1px solid #ffffff14;border-radius:9px;gap:6px;min-width:0;padding:9px 10px;display:grid}.debt-reminder-main strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:900;line-height:1.1;overflow:hidden}.debt-reminder-fields{grid-template-columns:1.25fr .85fr .95fr;gap:7px;display:grid}.debt-reminder-fields span{background:#00000024;border:1px solid #ffffff17;border-radius:9px;align-content:center;gap:4px;min-width:0;min-height:48px;padding:8px;display:grid}.debt-reminder-fields small{color:var(--muted);text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:10px;font-weight:900;line-height:1;overflow:hidden}.debt-reminder-fields b{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900;line-height:1.1;overflow:hidden}.debt-telegram-status{text-align:center;border-radius:9px;justify-content:center;align-items:center;min-height:30px;padding:6px 9px;font-size:12px;font-weight:900;line-height:1.15;display:inline-flex}.debt-telegram-status.ready{color:#a7f0c3;background:#35d07f1f;border:1px solid #35d07f47}.debt-telegram-status.missing{color:var(--yellow);background:#ffd1661f;border:1px solid #ffd16652}.calendar-grid{gap:8px;display:grid}.week-grid{grid-template-columns:repeat(7,minmax(120px,1fr))}.month-grid{grid-template-columns:repeat(7,minmax(95px,1fr))}.day-cell{border:1px solid var(--line);background:#2b2b2be6;border-radius:13px;min-height:170px;padding:7px;transition:all .14s}.week-grid .day-cell{min-height:360px}.month-grid .day-cell{min-height:105px}.day-cell:hover{background:#ff5a1214;border-color:#ff5a1273}.day-cell.today{box-shadow:0 0 0 2px #35d07f40}.day-cell.outside{opacity:.42}.day-cell-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:5px;display:flex}.day-number{color:var(--text);font-size:13px;font-weight:900}.day-week{color:var(--muted);font-size:10px;font-weight:900}.mini-event{border:1px solid var(--line);width:100%;color:var(--text);text-align:left;background:#ffffff14;border-radius:9px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px;margin-top:4px;padding:5px 6px;display:grid;position:relative}.mini-event-main{gap:4px;min-width:0;display:grid}.mini-event-top{align-items:center;gap:4px;min-width:0;display:flex}.mini-event.selected{background:linear-gradient(135deg,#ff5a1280,#ff8a0038);border-color:#ff5a12cc}.mini-event-name{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;min-width:0;font-size:13px;font-weight:900;line-height:1.1;display:flex;overflow:hidden}.more-events{color:var(--muted);margin-top:4px;font-size:11px;font-weight:900}.day-timeline{grid-template-columns:54px 1fr;gap:6px;display:grid;position:relative}.today-button{border:1px solid var(--line);margin-left:auto}.calendar-now-line{z-index:7;pointer-events:none;background:#ff5151;height:2px;position:absolute}.calendar-now-line>span{color:#fff;background:#db3939;border-radius:5px;padding:2px 4px;font-size:10px;font-weight:800;line-height:1;position:absolute;top:50%;left:0;transform:translateY(-50%)}.day-now-line{left:0;right:0}.day-now-line>span{left:4px}.week-timeline-scroll{border:1px solid var(--line);background:var(--card);border-radius:12px;min-height:340px;max-height:min(72vh,780px);overflow:auto}.week-timeline{min-width:0}.week-timeline-head,.week-timeline-body{grid-template-columns:42px repeat(7,minmax(0,1fr));display:grid}.rolling-week-timeline{--week-strip-day-width:86px;overflow-anchor:none;overscroll-behavior-inline:contain;container-type:inline-size}.rolling-week-timeline .week-timeline{min-width:0;width:calc(42px + var(--week-strip-day-width) * var(--week-strip-days))}.rolling-week-timeline .week-timeline-head,.rolling-week-timeline .week-timeline-body{grid-template-columns:42px repeat(var(--week-strip-days), var(--week-strip-day-width))}.week-timeline-head{z-index:10;border-bottom:1px solid var(--line);background:var(--card);position:sticky;top:0}.week-timeline-head>span{z-index:2;background:var(--card);position:sticky;left:0}.week-timeline-day{border-left:1px solid var(--line);min-width:0;min-height:45px;color:var(--text);background:0 0;justify-content:center;align-items:center;gap:5px;font-size:12px;display:flex}.week-timeline-day strong{border-radius:50%;place-items:center;width:26px;height:26px;display:grid}.week-timeline-day.today strong{color:#fff;background:#d83d3d}.week-timeline-body{position:relative}.week-time-labels{z-index:8;background:var(--card);color:var(--muted);text-align:right;font-variant-numeric:tabular-nums;font-size:10px;position:sticky;left:0}.week-time-labels>div{padding:3px 4px 0 0}.week-current-label{color:#fff;background:#db3939;border-radius:5px;padding:2px 4px;font-size:10px;font-weight:800;line-height:1;position:absolute;left:1px;transform:translateY(-50%)}.week-timeline-column{border-left:1px solid var(--line);min-width:0;position:relative}.week-time-slot{border-bottom:1px dotted #ffffff14;height:28px}.week-time-slot:nth-child(2n){border-bottom:1px solid #ffffff24}.timeline-event.week-timeline-event{cursor:pointer;border-radius:5px;padding:2px 4px;font-size:11px;display:block}.week-timeline-event.week-touch-source{opacity:.45}.week-touch-preview{z-index:6;border:2px solid var(--orange);color:#fff;pointer-events:none;background:#ff7a0059;border-radius:5px;padding:2px 4px;font-size:11px;font-weight:800;position:absolute;left:1px;right:1px}.week-event-label{flex-direction:column;gap:2px;min-width:0;line-height:1.15;display:flex;overflow:hidden}.week-event-label strong,.week-event-label span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.week-event-label span{color:#fffc;font-size:10px}.week-timeline-event>.week-event-actions{background:var(--card);border-radius:5px;gap:2px;display:none;position:absolute;bottom:1px;right:1px}.week-event-actions button{min-width:24px;height:24px;color:var(--text);background:0 0}@media (hover:hover){.week-timeline-event:hover .week-event-actions,.week-timeline-event:focus-within .week-event-actions{display:flex}}.week-now-line{left:42px;right:0}.week-now-line>i{background:#ff5151;border-radius:50%;width:8px;height:8px;position:absolute;top:-3px}@media (max-width:700px){.week-timeline-scroll{scrollbar-width:thin;max-height:70dvh}.week-timeline{min-width:650px}.week-timeline-day{flex-direction:column;gap:0;font-size:10px}.timeline-event.week-timeline-event{padding:2px;font-size:10px}.week-event-label span{font-size:9px}.week-timeline-event .week-event-actions{display:none!important}}.timeline-hours{grid-template-rows:repeat(14,44px);display:grid}.timeline-hour-label{color:var(--muted);text-align:right;padding-top:5px;font-size:12px;font-weight:900}.timeline-area{background:#ffffff06;border:1px solid #ffffff14;border-radius:14px;min-height:616px;position:relative;overflow:hidden}.timeline-slot{pointer-events:none;background:#ffffff05;border-bottom:1px dashed #ffffff1f;height:44px;position:absolute;left:0;right:0}.timeline-half-slot{background:0 0;border-bottom:1px dotted #ffffff0e;height:22px;transition:all .12s;position:absolute;left:0;right:0}.timeline-half-slot:hover{background:#ff5a121a}.timeline-half-slot.drag-over,.day-cell.drag-over{outline-offset:-2px;background:#ff5a1221;outline:2px solid #ff5a12bf}.timeline-event{z-index:3;color:var(--text);text-align:left;background:linear-gradient(135deg,#ff5a1257,#2b2b2bf5);border:1px solid #ff8a0073;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;padding:4px 7px;transition:transform .16s cubic-bezier(.23,1,.32,1);display:grid;position:absolute;overflow:hidden;box-shadow:0 8px 20px #00000038}.timeline-event.touch-dragging{z-index:5;transition:none}.mobile-day-drag-target,.mobile-calendar-date,.day-carousel-page.neighbor{display:none}.timeline-area.mobile-drag-active{overflow:visible}.lesson-editor-dialog{overscroll-behavior:contain;background:var(--card);width:min(560px,100% - 16px);max-width:calc(100% - 16px);max-height:calc(100dvh - 16px);color:var(--text);box-shadow:var(--shadow);border:1px solid #ff5a1273;border-radius:15px;margin:auto;padding:0;position:fixed;inset:0;overflow:auto}.lesson-editor-dialog::backdrop{background:#000000b8}body:has(.lesson-editor-dialog[open]){overflow:hidden}.lesson-editor-dialog .panel{box-shadow:none;border:0}.lesson-editor-dialog .panel-head{z-index:2;background:var(--card);flex-direction:row;align-items:center;position:sticky;top:0}.lesson-editor-dialog input,.lesson-editor-dialog select,.lesson-editor-dialog textarea,.lesson-editor-dialog .btn{min-height:44px;font-size:16px}.timeline-event>*,.mini-event>*{z-index:1;position:relative}.timeline-event,.mini-event{cursor:grab;-webkit-user-select:none;user-select:none}.timeline-event:active,.mini-event:active{cursor:grabbing}.timeline-event.selected{border-color:#ff5a12f2;box-shadow:0 0 0 2px #ff5a1247,0 8px 20px #00000040}.timeline-event-main{gap:4px;min-width:0;display:grid}.timeline-event-top{align-items:center;gap:4px;min-width:0;display:flex}.timeline-event-name{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;min-width:0;font-size:15px;font-weight:900;line-height:1.1;display:flex;overflow:hidden}.event-student-name{text-overflow:ellipsis;min-width:0;display:inline-block;overflow:hidden}.event-subscription-scale{width:min(420px,100%);display:block}.event-subscription-segments{gap:3px;display:grid}.event-subscription-segments span{background:#ffffff1a;border:1px solid #ffffff21;border-radius:3px;height:7px;display:block}.event-subscription-segments span.past{background:linear-gradient(135deg, var(--orange), var(--orange2));border-color:#ff8a00b3}.event-subscription-segments span.current{background:linear-gradient(135deg, #28c978, var(--green));border-color:#35d07fd1}.mini-event .event-subscription-segments{gap:2px}.mini-event .event-subscription-segments span{height:5px}.timeline-event.short{grid-template-columns:minmax(0,1fr) auto;padding:2px 6px}.timeline-event.short .timeline-event-main{align-items:center;gap:6px;min-width:0;display:flex}.timeline-event.short .timeline-event-top{display:none}.timeline-event.short .timeline-event-name{min-width:0;font-size:12px;line-height:1;display:flex}.timeline-event.short .event-subscription-scale{flex:none;width:clamp(58px,18vw,120px);display:block}.timeline-event.short .event-subscription-segments{gap:2px}.timeline-event.short .event-subscription-segments span{border-radius:2px;height:5px}.event-actions{justify-content:flex-end;align-items:center;gap:5px;display:inline-flex}.event-action-btn{border:1px solid var(--line);width:28px;height:28px;color:var(--text);background:#ffffff17;border-radius:8px;place-items:center;font-size:17px;font-weight:900;line-height:1;display:grid}.event-action-btn.done{color:#a9ffd0;border-color:#35d07f59}.event-action-btn.done.active{color:#fff;background:#35d07f52;border-color:#35d07fc7}.event-action-btn.cancel{color:#ffb0b0;border-color:#ff4f4f61}.event-action-btn.cancel.active{color:#fff;background:#ff4f4f47;border-color:#ff4f4fc7}.event-action-btn.thinking{color:#ffd166;border-color:#ffd16673}.event-action-btn.thinking.active{color:#fff2c2;background:#ffd16642;border-color:#ffd166e6}.mini-event .event-actions{gap:4px}.mini-event .event-action-btn{border-radius:7px;width:24px;height:24px;font-size:15px}.timeline-event.short .event-action-btn{border-radius:6px;width:22px;height:20px;font-size:13px}.timeline-event.done-event{background:linear-gradient(135deg,#35d07f57,#2b2b2bf5);border-color:#35d07fb3}.timeline-event.cancelled-event{background:linear-gradient(135deg,#ff4f4f47,#2b2b2bf5);border-color:#ff4f4fb8}.timeline-event.done-event .timeline-event-name,.mini-event.done-event .mini-event-name{color:#d9ffe9}.timeline-event.cancelled-event .timeline-event-name,.mini-event.cancelled-event .mini-event-name{color:#ffd1d1}.mini-event.done-event{background:linear-gradient(135deg,#35d07f52,#2b2b2beb);border-color:#35d07fa6}.mini-event.cancelled-event{background:linear-gradient(135deg,#ff4f4f42,#2b2b2beb);border-color:#ff4f4fa6}.timeline-event.trial-event,.mini-event.trial-event{background:linear-gradient(135deg,#ff8a0038,#2b2b2bf5);border-color:#ffffff85}.timeline-event.trial-event:before,.mini-event.trial-event:before{z-index:0;pointer-events:none;content:"";background:repeating-linear-gradient(135deg,#d2d2d21f 0 5px,#0000 5px 15px);position:absolute;inset:0}.timeline-event.trial-signed,.mini-event.trial-signed{border-color:#35d07fb8}.timeline-event.trial-thinking,.mini-event.trial-thinking{border-color:#ffd166cc}.timeline-event.trial-refused,.mini-event.trial-refused{border-color:#ff4f4fc7}.trial-event-meta{color:#ffffffc2;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:800;display:block;overflow:hidden}.event-status-badge{border:1px solid var(--line);border-radius:999px;flex:none;align-items:center;width:fit-content;min-height:14px;margin:0;padding:1px 5px;font-size:8px;font-weight:900;line-height:1;display:inline-flex}.timeline-event-name .event-status-badge,.mini-event-name .event-status-badge{margin-left:auto}.event-status-badge.cancelled{color:#ffd1d1;background:#ff4f4f33;border-color:#ff4f4f80}.event-status-badge.moved{color:#e3d7ff;background:#b48cff29;border-color:#b48cff6b}.event-status-badge.trial{color:#fff;background:#ffffff29;border-color:#ffffff6b}.student-card,.income-row,.settings-card{border:1px solid var(--line);background:var(--card2);border-radius:12px;padding:10px}.student-card{align-items:stretch;gap:0;padding:0;transition:all .14s;display:grid;overflow:hidden}.student-card.expanded{background:linear-gradient(180deg, #ff5a1221, var(--card2) 132px);border-color:#ff8a009e;box-shadow:inset 0 0 0 1px #ff8a001f}.student-card.expanded .student-disclosure{background:linear-gradient(135deg,#ff8a0052,#35d07f1f),#ffffff0e}.student-card.expanded .student-name-line b{color:#fff0d9;font-size:19px}.student-card.expanded .student-compact-meta span{color:#ffe2a3;background:#ffd1661a;border-color:#ffd16638}.student-card.expanded .student-compact-meta .student-city-chip,.student-compact-meta .student-city-chip{color:#c5ebff;background:#74caff24;border-color:#74caff80}.student-card.expanded .student-compact-meta .student-city-chip.nsk,.student-compact-meta .student-city-chip.nsk{color:#bbffd8;background:#35d07f29;border-color:#35d07f80}.student-card.expanded .student-compact-meta .student-city-chip.msk,.student-compact-meta .student-city-chip.msk{color:#ffc6c6;background:#ff707029;border-color:#ff707085}.student-card.expanded .student-compact-meta .student-city-chip.spb,.student-compact-meta .student-city-chip.spb{color:#d4d9ff;background:#8897ff29;border-color:#8897ff85}.student-card.expanded .student-compact-meta .student-city-chip.ekb,.student-compact-meta .student-city-chip.ekb{color:#ffe8ab;background:#ffd16629;border-color:#ffd16680}.student-card.expanded .student-compact-meta .student-city-chip.kazan,.student-compact-meta .student-city-chip.kazan{color:#ffd2a3;background:#ff8a0029;border-color:#ff8a0085}.student-card.expanded .student-compact-meta .student-source-chip,.student-compact-meta .student-source-chip{color:#dbe3ef;background:#94a3b829;border-color:#94a3b880}.student-card.expanded .student-compact-meta .student-source-chip.profi,.student-compact-meta .student-source-chip.profi{color:#f4f4f5;background:#00000059;border-color:#000000bd}.student-card.expanded .student-compact-meta .student-source-chip.avito,.student-compact-meta .student-source-chip.avito{color:#a5f3fc;background:#22d3ee2e;border-color:#22d3ee99}.student-card.expanded .student-compact-meta .student-source-chip.youtube,.student-compact-meta .student-source-chip.youtube{color:#ffc4c4;background:#ff38382e;border-color:#ff38389e}.student-card.expanded .student-compact-meta .student-source-chip.instagram,.student-compact-meta .student-source-chip.instagram{color:#fed7aa;background:#fb923c2e;border-color:#fb923c9e}.student-card.expanded .student-compact-meta .student-source-chip.telegram,.student-compact-meta .student-source-chip.telegram{color:#bae6fd;background:#38bdf82e;border-color:#38bdf89e}.student-card.expanded .student-compact-meta .student-source-chip.referral,.student-compact-meta .student-source-chip.referral{color:#fed7aa;background:#92400e3d;border-color:#92400ea3}.student-card.expanded .student-compact-meta .student-hourly-chip.high,.student-compact-meta .student-hourly-chip.high{color:#a9ffd0;background:#35d07f2e;border-color:#35d07f8c}.student-card.expanded .student-compact-meta .student-hourly-chip.medium,.student-compact-meta .student-hourly-chip.medium{color:#ffd0a3;background:#ff8a002e;border-color:#ff8a008f}.student-card.expanded .student-compact-meta .student-hourly-chip.low,.student-compact-meta .student-hourly-chip.low{color:#ffc1c1;background:#ff707029;border-color:#ff70708f}.student-compact-meta .student-subscription-progress-chip,.student-card.expanded .student-compact-meta .student-subscription-progress-chip{color:#bfffd9;background:#35d07f29;border-color:#35d07f7a}.student-card.archived-card .student-study-duration{color:#ffd6ad;background:#ff8a0024;border-color:#ff8a0057}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-1,.student-compact-meta .student-study-duration.duration-year-1{color:#b8ffd8;background:#35d07f2e;border-color:#35d07f94}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-2,.student-compact-meta .student-study-duration.duration-year-2{color:#c1ffd0;background:#49d3742e;border-color:#49d3748f}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-3,.student-compact-meta .student-study-duration.duration-year-3{color:#caffc5;background:#5ed5692e;border-color:#5ed5698c}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-4,.student-compact-meta .student-study-duration.duration-year-4{color:#d3ffbd;background:#76d75e2e;border-color:#76d75e8a}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-5,.student-compact-meta .student-study-duration.duration-year-5{color:#ddffb5;background:#8fd9522e;border-color:#8fd95287}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-6,.student-compact-meta .student-study-duration.duration-year-6{color:#e8ffad;background:#a6da482e;border-color:#a6da4885}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-7,.student-compact-meta .student-study-duration.duration-year-7{color:#f1ffa6;background:#bedb402e;border-color:#bedb4085}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-8,.student-compact-meta .student-study-duration.duration-year-8{color:#fbffa3;background:#d3db3a2e;border-color:#d3db3a85}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-9,.student-compact-meta .student-study-duration.duration-year-9{color:#fff69f;background:#e5d7372e;border-color:#e5d73785}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-10,.student-compact-meta .student-study-duration.duration-year-10{color:#ffef9d;background:#f1d2362e;border-color:#f1d23685}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-11,.student-compact-meta .student-study-duration.duration-year-11{color:#ffe89b;background:#f9ca352e;border-color:#f9ca358a}.student-card.expanded .student-compact-meta .student-study-duration.duration-year-12,.student-compact-meta .student-study-duration.duration-year-12,.student-card.expanded .student-compact-meta .student-study-duration.duration-long-1,.student-compact-meta .student-study-duration.duration-long-1{color:#ffe6a3;background:#ffd1662e;border-color:#ffd1668c}.student-card.expanded .student-compact-meta .student-study-duration.duration-long-2,.student-compact-meta .student-study-duration.duration-long-2{color:#ffd890;background:#ffbb4b2e;border-color:#ffbb4b8f}.student-card.expanded .student-compact-meta .student-study-duration.duration-long-3,.student-compact-meta .student-study-duration.duration-long-3{color:#ffc77f;background:#ffa43b2e;border-color:#ffa43b91}.student-card.expanded .student-compact-meta .student-study-duration.duration-long-4,.student-compact-meta .student-study-duration.duration-long-4{color:#ffb873;background:#ff8a372e;border-color:#ff8a3794}.student-card.expanded .student-compact-meta .student-study-duration.duration-long-5,.student-compact-meta .student-study-duration.duration-long-5{color:#ffa076;background:#ff693d2e;border-color:#ff693d99}.student-card.expanded .student-compact-meta .student-study-duration.duration-long-6,.student-compact-meta .student-study-duration.duration-long-6{color:#ffc0c0;background:#ff525233;border-color:#ff52529e}.student-card.paused-card{background:linear-gradient(90deg, #55a6ff14, transparent 120px), var(--card2);opacity:.88;border-color:#55a6ff2e}.student-card.archived-card{background:linear-gradient(90deg, #ff8a0014, transparent 120px), var(--card2);opacity:.82;border-color:#ff8a002e}.student-disclosure{width:100%;color:var(--text);text-align:left;background:0 0;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 14px;display:grid}.student-disclosure:hover{background:#ffffff0b}.student-disclosure-main{gap:6px;min-width:0;display:grid}.student-name-line{align-items:center;gap:8px;min-width:0;display:flex}.student-name-line b{text-overflow:ellipsis;white-space:nowrap;font-size:17px;overflow:hidden}.student-compact-meta{flex-wrap:wrap;gap:6px;display:flex}.student-compact-meta span,.student-summary-chip{min-height:24px;color:var(--muted);white-space:nowrap;background:#ffffff0f;border:1px solid #ffffff17;border-radius:8px;align-items:center;padding:4px 8px;font-size:11px;font-weight:900;display:inline-flex}.student-summary-chip{color:#a9ffd0;background:#35d07f1f;border-color:#35d07f57}.student-caret{border:1px solid var(--line);width:28px;height:28px;color:var(--text);background:#ffffff12;border-radius:8px;place-items:center;font-size:12px;font-weight:900;display:grid}.student-details{border-top:1px solid #ffffff14;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:0 14px 14px;display:grid}.student-details-main{gap:10px;min-width:0;display:grid}.student-info-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:12px;display:grid}.homework-field{align-content:end}.homework-check{border:1px solid var(--line);background:#ffffff0e;border-radius:10px;justify-content:flex-start;min-height:46px;padding:0 12px;font-size:16px}.roster-stat{background:#35d07f14;border-color:#35d07f3d}.roster-stats-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.roster-income-stat{--income-accent:255, 79, 79;--income-label:#ffb3b3;--income-text:#ffd1d1;border-color:rgba(var(--income-accent), .46);background:rgba(var(--income-accent), .12)}.roster-income-stat[data-income-level=medium]{--income-accent:255, 209, 102;--income-label:#ffe4a3;--income-text:#fff0c7}.roster-income-stat[data-income-level=high]{--income-accent:53, 208, 127;--income-label:#a8efc8;--income-text:#d1f9e3}.roster-income-stat .stat-label{color:var(--income-label)}.roster-income-stat .stat-value{color:var(--income-text)}.roster-income-toggle{width:100%;color:var(--income-text);cursor:pointer;background:#ffffff14;border:1px solid #ffffff1f;border-radius:8px;margin-top:8px;padding:6px 8px;font-size:11px;font-weight:900}.roster-income-list{gap:5px;margin-top:8px;display:grid}.roster-income-row{background:#0000001f;border:1px solid #ffffff14;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(74px,auto) minmax(72px,auto);align-items:center;gap:6px;min-width:0;padding:6px 7px;display:grid}.roster-income-row span,.roster-income-row small,.roster-income-row strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.roster-income-row span{color:var(--text);font-size:11px;font-weight:900}.roster-income-row small{color:var(--income-label);font-size:10px;font-weight:800}.roster-income-row strong{color:var(--income-text);font-size:11px}.student-info-strip>div,.student-contact-line{background:#ffffff0e;border:1px solid #ffffff17;border-radius:10px;min-width:0;padding:8px 10px}.student-info-strip span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:900;display:block;overflow:hidden}.student-info-strip strong{text-overflow:ellipsis;white-space:nowrap;margin-top:4px;font-size:13px;display:block;overflow:hidden}.student-contact-line{color:var(--muted);margin:0;font-size:12px;line-height:1.4}.student-details .actions{align-content:start;padding-top:12px}.student-editor-panel{max-height:calc(100vh - 20px);position:sticky;top:10px;overflow-y:auto}.income-row strong{font-size:16px}.student-subscription p,.note{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.5}.muted-card{opacity:.58}.student-card.archived-card.muted-card{opacity:.82}.badge{border:1px solid var(--line);background:#ffffff14;border-radius:999px;align-items:center;min-height:22px;margin-left:8px;padding:3px 7px;font-size:11px;font-weight:900;display:inline-flex}.badge.inactive{color:#ffb0b0}.badge.paused{color:#b8d9ff;background:#55a6ff1f;border-color:#55a6ff57}.badge.archived{color:#ffd6ad;background:#ff8a001f;border-color:#ff8a0057}.error-note{color:#ffb0b0}.success-note{color:#a9ffd0}.actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.subscription-presets{flex-wrap:wrap;gap:6px;display:flex}.subscription-count-row{grid-template-columns:minmax(0,1fr) 84px;align-items:center;gap:8px;display:grid}.student-lesson-settings-row{align-items:end}.student-subscription{background:#35d07f11;border:1px solid #35d07f33;border-radius:10px;gap:8px;margin-top:0;padding:10px;display:grid}.student-telegram-card{background:#55a6ff11;border:1px solid #55a6ff38;border-radius:10px;gap:8px;margin-top:0;padding:10px;display:grid}.student-telegram-head{width:100%;color:var(--text);background:linear-gradient(90deg,#55a6ff33,#0000 72%),#55a6ff14;border:1px solid #55a6ff4d;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:8px 9px;display:flex}.student-telegram-head strong{text-align:left;flex:1;font-size:13px}.student-telegram-head span{border-radius:999px;align-items:center;min-height:22px;padding:3px 7px;font-size:11px;font-weight:900;display:inline-flex}.student-telegram-head span.ready{color:#a9ffd0;background:#35d07f1f;border:1px solid #35d07f52}.student-telegram-head span.pending{color:var(--yellow);background:#ffd1661a;border:1px solid #ffd16647}.student-telegram-head b{color:#b8d9ff;font-size:12px}.section-disclosure-head{cursor:pointer}.student-recipients-body{gap:8px;display:grid}.student-telegram-card p{color:var(--muted);margin:0;font-size:12px;line-height:1.45}.student-lessons-panel{background:#35d07f0e;border:1px solid #35d07f38;border-radius:10px;gap:8px;padding:10px;display:grid}.student-lessons-head{background:linear-gradient(90deg,#35d07f2e,#0000 72%),#35d07f14;border:1px solid #35d07f47;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;padding:8px 9px;display:flex}.student-lessons-head strong{font-size:13px;display:block}.student-lessons-head span{color:var(--muted);font-size:12px;font-weight:900}.student-lessons-list{gap:6px;max-height:260px;display:grid;overflow:auto}.student-lesson-row{background:#ffffff0e;border:1px solid #ffffff14;border-radius:9px;grid-template-columns:8px minmax(0,1fr) auto;align-items:start;gap:8px;padding:8px;display:grid}.student-lesson-row.cancelled{background:#ff606014;border-color:#ff60603d}.student-lesson-row.moved{background:#ff8a0014;border-color:#ff8a003d}.student-lesson-row>div{gap:2px;min-width:0;display:grid}.student-lesson-row strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:900;overflow:hidden}.student-lesson-row small,.student-lessons-panel p{color:var(--muted);margin:0;font-size:11px;line-height:1.3}.student-lesson-actions{flex-wrap:wrap;grid-column:2/-1;gap:6px;display:flex}.student-lesson-actions .btn{min-height:28px;padding:5px 8px;font-size:11px}.student-recipients-card{background:linear-gradient(135deg,#55a6ff1a,#35d07f0f),#55a6ff0b;border-color:#55a6ff47}.student-recipient-list{gap:7px;display:grid}.student-recipient-chip{background:#ffffff0e;border:1px solid #ffffff17;border-radius:9px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px;display:grid}.student-recipient-chip>div:first-child{gap:2px;min-width:0;display:grid}.student-recipient-chip strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;line-height:1.1;overflow:hidden}.student-recipient-chip span{color:var(--muted);font-size:10px;font-weight:900}.recipient-channel-tags{flex-wrap:wrap;justify-content:flex-end;gap:5px;display:flex}.recipient-channel-tags span,.recipient-channel-tags b{color:#b8d9ff;background:#55a6ff1a;border:1px solid #55a6ff3d;border-radius:999px;min-height:20px;padding:3px 6px;font-size:10px;font-weight:900;line-height:1.1}.recipient-channel-tags b{color:#a9ffd0;background:#35d07f1c;border-color:#35d07f42}.lesson-reminder-summary{background:#ffd16613;border:1px solid #ffd16638;border-radius:9px;justify-content:space-between;align-items:center;gap:8px;padding:8px;display:flex}.lesson-reminder-summary span{color:var(--muted);font-size:11px;font-weight:900}.lesson-reminder-summary strong{color:var(--yellow);font-size:12px;font-weight:900}.student-telegram-actions{grid-template-columns:auto minmax(180px,1fr) auto;align-items:center;gap:8px;display:grid}.student-telegram-actions select{min-height:30px;padding:6px 9px;font-size:12px;font-weight:900}.student-subscription-head{background:linear-gradient(90deg,#35d07f2e,#0000 72%),#35d07f14;border:1px solid #35d07f47;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;max-width:520px;padding:8px 9px;display:flex}.student-subscription-head strong{font-size:13px}.student-subscription-head span{color:var(--muted);font-size:12px;font-weight:900}.subscription-progress-grid{grid-template-columns:repeat(auto-fill,minmax(30px,1fr));gap:6px;width:min(420px,100%);display:grid}.subscription-progress-grid span{border:1px solid var(--line);background:#ffffff1a;border-radius:6px;min-height:18px;display:block}.subscription-progress-grid span.filled{background:linear-gradient(135deg, var(--orange), var(--orange2));border-color:#ff8a00b3}.subscription-stack,.subscription-create{gap:8px;display:grid}.subscription-item,.subscription-create{background:#ffffff0e;border:1px solid #ffffff17;border-radius:10px;padding:9px}.subscription-item.finished{opacity:.82;background:#ffffff09;border-color:#ffffff14}.subscription-item-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:8px;display:flex}.subscription-item-head strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.subscription-item-head span{color:#a9ffd0;white-space:nowrap;background:#35d07f1a;border:1px solid #35d07f47;border-radius:999px;align-items:center;min-height:22px;padding:3px 7px;font-size:11px;font-weight:900;display:inline-flex}.subscription-item-actions{align-items:center;gap:6px;display:inline-flex}.subscription-delete-btn,.subscription-edit-btn,.payment-history-delete{color:#ffadad;background:#ff4f4f1a;border:1px solid #ff4f4f57;border-radius:8px;place-items:center;width:24px;height:24px;font-size:18px;font-weight:900;line-height:1;display:inline-grid}.subscription-edit-btn{border-color:var(--line);background:var(--card2);color:var(--text);padding:0}.subscription-edit-btn:hover,.subscription-edit-btn[aria-expanded=true]{border-color:var(--orange2)}.subscription-edit-btn:focus-visible{outline:2px solid var(--orange2);outline-offset:2px}.subscription-count-editor{gap:8px;margin:8px 0;display:grid}.subscription-count-editor input{max-width:10rem}.subscription-count-editor [role=alert]{color:#ffb1ab}.subscription-count-editor-actions{flex-wrap:wrap;gap:6px;display:flex}.subscription-item .subscription-count-editor-actions .btn{margin-top:0}.subscription-item.finished .subscription-item-head span{color:var(--muted);background:#ffffff0f;border-color:#ffffff1f}.subscription-item .btn,.subscription-create .btn{margin-top:8px}.subscription-limit-note{color:var(--yellow);background:#ffd16614;border:1px solid #ffd16638;border-radius:9px;padding:8px 10px}.student-history{background:#ff8a000e;border:1px solid #ff8a002e;border-radius:10px;gap:8px;margin-top:0;padding:10px;display:grid}.student-history-head{background:linear-gradient(90deg,#ff8a0030,#0000 72%),#ff8a0014;border:1px solid #ff8a0047;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;max-width:none;padding:8px 9px;display:flex}.student-history-head strong{font-size:13px}.student-history-head span{color:var(--muted);font-size:12px;font-weight:900}.history-disclosure{width:100%;color:var(--text);text-align:left;background:#ffffff12;border:1px solid #ffffff1a;border-radius:9px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px 10px;display:grid}.history-disclosure span:first-child{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:900;overflow:hidden}.history-disclosure small{color:var(--muted);white-space:nowrap;font-size:11px;font-weight:900}.student-history-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr));align-items:start;gap:10px;display:grid}.payment-history-section,.receipt-history-section{grid-column:span 2}.student-history-section{background:#0000001f;border:1px solid #ffffff17;border-radius:10px;min-width:0;padding:8px}.history-section-title{justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;display:flex}.student-history-section h3{color:var(--muted);margin:0;font-size:11px;font-weight:900}.history-section-title span{min-width:24px;min-height:22px;color:var(--muted);background:#ffffff12;border:1px solid #ffffff17;border-radius:999px;justify-content:center;align-items:center;padding:2px 6px;font-size:11px;font-weight:900;display:inline-flex}.student-history-section ul{gap:5px;margin:0;padding:0;list-style:none;display:grid}.student-history-section li{background:#ffffff0e;border:1px solid #ffffff12;border-radius:9px;grid-template-columns:8px minmax(0,1fr);align-items:start;gap:8px;min-width:0;padding:8px;display:grid}.student-history-section li:first-child{border-top:1px solid #ffffff12;padding-top:8px}.lesson-history-text{gap:2px;min-width:0;display:grid}.lesson-history-text strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:900;overflow:hidden}.student-history-section small,.student-history-section p{color:var(--muted);margin:0;font-size:11px;line-height:1.3}.history-dot{background:var(--muted);border-radius:999px;width:8px;height:8px;margin-top:4px}.history-dot.done{background:var(--green)}.history-dot.cancelled{background:var(--red)}.history-dot.moved{background:#b48cff}.payment-history-table{gap:5px;display:grid}.payment-history-header,.payment-history-row{grid-template-columns:minmax(48px,1fr) minmax(54px,1fr) 36px minmax(50px,1fr) 52px;align-items:center;gap:6px;display:grid}.payment-history-header{color:var(--muted);padding:0 8px;font-size:10px;font-weight:900}.payment-history-row{background:#ffffff0e;border:1px solid #ffffff12;border-radius:9px;min-height:34px;padding:7px 8px}.payment-history-row.cancelled{background:#ff4f4f17;border-color:#ff4f4f3d}.payment-history-row.finished{opacity:.76}.payment-history-row.working{background:#35d07f14;border-color:#35d07f47}.payment-history-row span,.payment-history-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:900;overflow:hidden}.payment-history-row span{color:var(--muted)}.payment-history-row strong{color:var(--text)}.payment-history-delete{border-radius:7px;width:22px;height:22px;font-size:16px}.payment-history-actions{justify-content:flex-end;align-items:center;gap:4px;display:flex}.receipt-history-list{gap:6px;display:grid}.receipt-history-row{background:#ffffff0e;border:1px solid #ffffff12;border-radius:9px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:8px;display:grid}.receipt-history-row>div{gap:2px;min-width:0;display:grid}.receipt-history-row strong,.receipt-history-row small,.receipt-history-row p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.receipt-history-row strong{color:var(--text);font-size:12px;font-weight:900}.subscription-payment-fields{grid-template-columns:90px minmax(110px,1fr) minmax(130px,1fr);align-items:end;gap:8px;display:grid}.subscription-date-field{margin:8px 0}.income-row{grid-template-columns:1fr auto;align-items:center;gap:10px;display:grid}.settings-card{margin-bottom:8px}.income-block{--block-accent:#ff8a00;border:1px solid var(--block-accent);gap:8px;margin-bottom:10px;padding:10px;display:grid}@supports (color:color-mix(in lab, red, red)){.income-block{border:1px solid color-mix(in srgb, var(--block-accent) 34%, transparent)}}.income-block{background:linear-gradient(135deg, var(--block-accent), #ffffff09), #0000001a;border-radius:12px}@supports (color:color-mix(in lab, red, red)){.income-block{background:linear-gradient(135deg, color-mix(in srgb, var(--block-accent) 14%, transparent), #ffffff09), #0000001a}}.income-block>.settings-card,.income-block .settings-card{background:#0000001f;margin-bottom:0}.income-block-period{--block-accent:#55a6ff}.income-block-acquisition{--block-accent:#35d07f}.income-block-trials{--block-accent:#ffd166}.income-block-roster{--block-accent:#ff7070}.income-block-lessons{--block-accent:#b48cff}.income-block-students{--block-accent:#ff8a00}.settings-card h3,.section-subtitle{background:linear-gradient(135deg, var(--block-accent,var(--orange)), #ffffff38);color:#17110d;border-radius:999px;width:fit-content;margin:0 0 5px;padding:4px 9px;font-size:15px;font-weight:900;line-height:1.1}.income-block .settings-card h3{background:var(--block-accent)}@supports (color:color-mix(in lab, red, red)){.income-block .settings-card h3{background:color-mix(in srgb, var(--block-accent) 72%, #fff)}}.income-block .settings-card h3{color:#17110d}.settings-action{margin-top:10px}.telegram-settings-action{background:#ffffff0e;border:1px solid #ffffff17;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;padding:10px;display:flex}.telegram-settings-action span{color:var(--muted);font-size:12px;font-weight:900}.telegram-settings-action strong{color:var(--text)}.telegram-settings-action .settings-action{margin-top:0}.telegram-auto-card{background:#35d07f14;border:1px solid #35d07f3d;border-radius:10px;gap:3px;margin-top:8px;padding:9px 10px;display:grid}.telegram-auto-card strong{color:#a9ffd0;font-size:12px;line-height:1.2}.telegram-auto-card span{color:var(--muted);font-size:11px;font-weight:800;line-height:1.25}.telegram-student-auto-card{background:#55a6ff12;border:1px solid #55a6ff3d;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:10px;padding:10px;display:grid}.telegram-student-auto-card.enabled{background:#35d07f14;border-color:#35d07f47}.telegram-student-auto-card>span{gap:3px;min-width:0;display:grid}.telegram-student-auto-card strong{color:var(--text);font-size:12px;line-height:1.2}.telegram-student-auto-card small{color:var(--muted);font-size:11px;font-weight:800;line-height:1.25}.telegram-student-auto-card .settings-action{margin-top:0}.telegram-chat-list{gap:6px;margin-top:8px;display:grid}.telegram-chat-row{background:#35d07f14;border:1px solid #35d07f3d;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 10px;display:grid}.telegram-chat-row span{gap:2px;min-width:0;display:grid}.telegram-chat-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.telegram-chat-row small{color:var(--muted);font-size:10px;font-weight:900}.telegram-chat-row code{color:#a9ffd0;background:#0003;border:1px solid #ffffff1a;border-radius:8px;padding:5px 7px;font-size:12px;font-weight:900}.telegram-schedule-card{background:#ff8a0014;border:1px solid #ff8a003d;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:10px;padding:10px;display:grid}.telegram-schedule-card>span{gap:3px;min-width:0;display:grid}.telegram-schedule-card strong{color:var(--text);font-size:12px;line-height:1.2}.telegram-schedule-card small{color:var(--muted);font-size:11px;font-weight:800;line-height:1.25}.telegram-schedule-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.telegram-schedule-actions .settings-action{margin-top:0}.telegram-workspace{background:#202020;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(290px,350px) minmax(0,1fr);height:min(780px,100dvh - 86px);min-height:480px;display:grid}.telegram-workspace-sidebar,.telegram-workspace-conversation{flex-direction:column;min-width:0;min-height:0;display:flex}.telegram-workspace-sidebar{border-right:1px solid var(--line)}.telegram-workspace-sidebar-head,.telegram-workspace-conversation-head{border-bottom:1px solid var(--line);background:#292929;align-items:center;gap:12px;min-height:68px;padding:12px 16px;display:flex}.telegram-workspace-sidebar-head{justify-content:space-between}.telegram-workspace-sidebar-head h2{margin:0;font-size:18px}.telegram-workspace-sidebar-head span,.telegram-workspace-identity small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.telegram-workspace-search{border-bottom:1px solid var(--line);padding:10px 12px}.telegram-workspace-search input{border:1px solid var(--line);background:var(--card2);width:100%;min-width:0;color:var(--text);border-radius:7px;outline:none;padding:10px 12px}.telegram-workspace-search input:focus{border-color:var(--orange2)}.telegram-workspace-chats,.telegram-workspace-messages{min-height:0;overflow-y:auto}.telegram-workspace-chat{width:100%;min-width:0;color:var(--text);text-align:left;background:0 0;border-bottom:1px solid #ffffff0f;align-items:center;gap:11px;padding:13px 12px;display:flex}.telegram-workspace-chat:hover,.telegram-workspace-chat.selected{background:#ff8a001f}.telegram-workspace-chat.selected{box-shadow:inset 3px 0 var(--orange2)}.telegram-workspace-avatar{width:42px;height:42px;color:var(--orange2);background:#ff8a0038;border-radius:50%;flex:0 0 42px;place-items:center;font-size:18px;font-weight:900;display:grid}.telegram-workspace-chat-main,.telegram-workspace-identity{flex:1;min-width:0;display:block}.telegram-workspace-chat-top{justify-content:space-between;gap:8px;min-width:0;display:flex}.telegram-workspace-chat-top strong,.telegram-workspace-identity strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.telegram-workspace-chat-top time{color:var(--muted);flex:none;font-size:11px}.telegram-workspace-chat-main small,.telegram-workspace-preview{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:3px;font-size:11px;display:block;overflow:hidden}.telegram-workspace-preview{color:#dedede;font-size:12px}.telegram-workspace-identity small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.telegram-workspace-messages{background:#1d1d1d;flex:1;padding:18px 22px}.telegram-workspace-message-group{display:flow-root}.telegram-workspace-day{color:#d6d6d6;background:#333;border-radius:7px;width:fit-content;margin:12px auto 18px;padding:5px 10px;font-size:11px}.telegram-workspace-bubble{overflow-wrap:anywhere;background:#343434;border:1px solid #ffffff14;border-radius:8px 8px 8px 2px;width:fit-content;max-width:min(75%,540px);margin:0 auto 8px 0;padding:9px 12px 7px}.telegram-workspace-bubble.outgoing{background:#2b4b3a;border-color:#35d07f38;border-radius:8px 8px 2px;margin-left:auto;margin-right:0}.telegram-workspace-bubble strong,.telegram-workspace-file{color:#aaf0c9;margin-bottom:5px;font-size:11px;display:block}.telegram-workspace-file{color:var(--yellow)}.telegram-workspace-bubble p{white-space:pre-wrap;margin:0;font-size:13px;line-height:1.45}.telegram-workspace-bubble time{color:#c2c2c2;text-align:right;margin-top:4px;font-size:10px;display:block}.telegram-workspace-empty{color:var(--muted);margin:20px;font-size:13px}.telegram-workspace-error{color:var(--red);border-top:1px solid #ff4f4f59;grid-column:1/-1;padding:9px 14px;font-size:12px}.telegram-workspace-back{display:none}@media (max-width:700px){.calendar-panel-body{flex-direction:column;display:flex}.calendar-panel-body>.calendar-tools{order:0}.calendar-panel-body>.date-row{order:1}.calendar-panel-body>:not(.date-row):not(.calendar-tools){order:2}.calendar-day-view>.date-row,.calendar-tools label,.schedule-section-title{display:none}.topbar .tabs{scrollbar-width:none}.topbar .tabs::-webkit-scrollbar{display:none}.day-carousel{width:100%;overflow:hidden}.day-carousel-track{grid-template-columns:repeat(3,100%);width:100%;display:grid;transform:translate(-100%)}.day-carousel-page.neighbor,.mobile-calendar-date{display:grid}.day-carousel-page{min-width:0}.topbar .tabs{width:100%;min-width:0;max-width:100%}.telegram-workspace{flex-direction:column;height:min(760px,100dvh - 210px);min-height:450px;display:flex}.telegram-workspace-sidebar,.telegram-workspace-conversation{flex:1}.telegram-workspace.conversation-open .telegram-workspace-sidebar,.telegram-workspace:not(.conversation-open) .telegram-workspace-conversation{display:none}.telegram-workspace-back{display:inline-flex}.telegram-workspace-messages{padding:12px}.telegram-workspace-bubble{max-width:88%}}.auth-shell{place-items:center;min-height:100vh;display:grid}.auth-panel{width:min(460px,100%)}.sync-panel{gap:14px;padding:22px;display:grid}.sync-actions{gap:10px;display:grid}.sync-actions .btn{width:100%}.auth-head{align-items:flex-start}.auth-kicker{color:var(--orange2);margin:0 0 4px;font-size:12px;font-weight:900}.auth-switch{border:1px solid var(--line);background:#ffffff0f;border-radius:12px;gap:4px;padding:4px;display:flex}.auth-form{gap:10px;display:grid}.auth-submit{width:100%;margin-top:4px}.auth-link-button{width:fit-content;color:var(--orange2);text-underline-offset:3px;background:0 0;border-radius:8px;justify-self:center;padding:4px 8px;font-size:12px;font-weight:900;text-decoration:underline}.auth-link-button:disabled{cursor:not-allowed;opacity:.5}.auth-loading{text-align:center}.toast{z-index:50;border:1px solid var(--line);box-shadow:var(--shadow);opacity:0;pointer-events:none;background:#111;border-radius:14px;padding:13px 16px;font-weight:900;transition:all .2s;position:fixed;bottom:24px;left:50%;transform:translate(-50%)translateY(80px)}.toast.show{opacity:1;transform:translate(-50%)translateY(0)}.modal{z-index:40;background:#0000009e;place-items:center;padding:18px;display:none;position:fixed;inset:0}.modal.show{display:grid}.modal-card{width:min(520px,100%);box-shadow:var(--shadow);background:#202020;border:1px solid #ff5a1259;border-radius:16px;padding:14px}.modal-card h3{margin:0 0 8px;font-size:19px}.modal-card p{color:var(--muted);line-height:1.5}.modal-actions{gap:10px;margin-top:14px;display:grid}.receipt-preview-backdrop{z-index:60;background:#000000b8;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.receipt-preview-modal{width:min(980px,96vw);height:min(860px,92vh);box-shadow:var(--shadow);background:#1f1f1f;border:1px solid #35d07f57;border-radius:16px;grid-template-rows:auto minmax(0,1fr);display:grid;overflow:hidden}.receipt-preview-head{border-bottom:1px solid var(--line);background:#35d07f14;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:11px 12px;display:flex}.receipt-preview-head>div:first-child{gap:3px;min-width:0;display:grid}.receipt-preview-actions{flex-shrink:0;gap:8px;display:flex}.receipt-preview-head span{color:#a9ffd0;text-transform:uppercase;font-size:11px;font-weight:900;line-height:1}.receipt-preview-head strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:900;line-height:1.15;overflow:hidden}.receipt-preview-body{background:#0000003d;min-height:0;padding:12px;display:grid}.receipt-preview-body object,.receipt-preview-body iframe{background:#fff;border:0;border-radius:10px;width:100%;height:100%;min-height:0}.receipt-preview-fallback{border:1px dashed var(--line);text-align:center;background:#ffffff0a;border-radius:12px;place-content:center;justify-items:center;gap:10px;min-height:260px;display:grid}.receipt-preview-fallback span{color:var(--muted);font-size:12px;font-weight:800}.public-view-shell{width:min(1180px,100%);margin:0 auto;padding:12px}.public-view-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.public-view-title>div{min-width:0}.public-view-title span{color:var(--orange2);text-transform:uppercase;font-size:12px;font-weight:900}.public-view-title h1{margin:2px 0 0;font-size:34px;font-weight:1000;line-height:1.1}.public-view-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);align-items:start;gap:10px;display:grid}.student-schedule-body{gap:14px;display:grid}.student-day-picker{gap:6px;padding-bottom:4px;display:flex;overflow-x:auto}.student-day-picker button{border:1px solid var(--line);background:var(--card2);color:var(--text);cursor:pointer;font:inherit;border-radius:6px;flex:none;padding:8px 10px}.student-day-picker button.selected{border-color:var(--orange);color:var(--orange)}.student-slot-grid{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:6px;display:grid}.student-slot{border:1px solid var(--line);background:var(--card2);border-radius:6px;flex-wrap:wrap;align-items:center;gap:4px 8px;min-height:46px;padding:8px 10px;font-size:12px;display:flex}.student-slot time{color:var(--muted);font-variant-numeric:tabular-nums}.student-slot strong{font-size:12px}.student-slot span{color:var(--muted);flex-basis:100%;margin-left:40px}.student-slot.free strong{color:#87d5a6}.student-slot.own{background:#d77c2729;border-color:#d77c27}.student-slot.busy{color:#fecaca;background:#7f1d1d47;border-color:#ef4444b3}.student-slot.busy strong{color:#fca5a5}.student-slot.past{opacity:.48}.student-profile{width:min(760px,100% - 24px);color:var(--text);margin:24px auto 60px}.student-profile-header{padding:8px 0 20px}.student-profile-header span{color:var(--orange);font-size:12px;font-weight:800}.student-profile-header h1{margin:4px 0;font-size:30px}.student-profile-header p{color:var(--muted);margin:0 0 18px}.student-profile-section{border-top:1px solid var(--line);padding:20px 0}.student-profile-section h2{margin:0 0 12px;font-size:18px}.student-profile-section p{color:var(--muted)}.student-profile-row{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:10px 0;font-size:14px;display:flex}.student-profile-row span{color:var(--muted);text-align:right}.student-card-template-fields{background:#ff8a000e;border:1px solid #ff8a0047;border-radius:12px;gap:10px;padding:12px;display:grid}.form-section-title{font-weight:900}.form-section-note{color:var(--muted);margin:-3px 0 2px;font-size:12px;line-height:1.4}.student-card-page{width:min(820px,100% - 28px);margin:0 auto;padding:38px 0 68px}.student-card-hero{border-bottom:1px solid var(--line);padding:0 0 28px}.student-card-hero span{color:var(--orange2);letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:900}.student-card-hero h1{letter-spacing:-.03em;margin:8px 0 4px;font-size:clamp(32px,6vw,52px);line-height:1}.student-card-hero p{color:var(--muted);margin:0}.student-portal-access{border-bottom:1px solid var(--line);gap:10px;padding:10px 0;display:grid}.student-portal-access h3{margin:0;font-size:14px}.student-portal-access .form-section-note{margin:4px 0 0}.student-portal-copy-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.student-portal-copy-row input{flex:12rem;min-width:0}.student-portal-copy-row .btn{min-height:36px}.student-portal-login{max-width:420px}.student-portal-login .student-card-hero h1{margin-bottom:12px}.student-portal-login .student-card-hero p{line-height:1.5}.student-portal-login-form{gap:14px;padding-top:22px;display:grid}.student-portal-login-form input{min-height:44px;font-size:16px}.student-portal-login-form .btn{min-height:44px}.student-portal-error{color:#ffb1ab;margin:0;line-height:1.45}.student-portal-sign-out{margin-top:14px}.student-card-section{border-bottom:1px solid var(--line);padding:26px 0}.student-card-section h2{letter-spacing:-.015em;margin:0 0 16px;font-size:21px}.student-recording-consent,.student-recordings{gap:12px;display:grid}.student-recording-consent p,.student-recordings p{margin:0;line-height:1.5}.student-recording-consent label{cursor:pointer;align-items:center;gap:10px;font-size:1rem;line-height:1.4;display:flex}.student-recording-consent input{accent-color:#47a878;width:18px;height:18px}.student-recordings ul{gap:10px;margin:0;padding:0;list-style:none;display:grid}.student-recordings li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.student-recordings li div{gap:4px;display:grid}.student-recordings video{background:#000;border-radius:8px;width:100%}.student-recording-consent button,.student-recordings button{border:1px solid var(--line);background:var(--card2);width:fit-content;min-height:40px;color:var(--text);cursor:pointer;font:inherit;border-radius:10px;padding:8px 12px}.student-recording-consent button:focus-visible,.student-recordings button:focus-visible,.student-recording-consent input:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.student-recording-consent button:disabled,.student-recordings button:disabled{opacity:.6;cursor:wait}.student-recordings [role=status]:empty,.student-recording-consent [role=status]:empty{display:none}.student-card-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;display:grid}.student-card-facts div{border:1px solid var(--line);background:#ffffff0b;border-radius:12px;min-width:0;padding:14px}.student-card-facts dt{color:var(--muted);margin-bottom:7px;font-size:12px;font-weight:700}.student-card-facts dd{overflow-wrap:anywhere;margin:0;font-weight:850;line-height:1.32}.student-card-schedule{gap:7px;margin:0;padding:0;list-style:none;display:grid}.student-card-schedule li{border-bottom:1px solid var(--line);justify-content:space-between;gap:12px;padding:12px 0;display:flex}.student-card-schedule li:last-child{border-bottom:0}.student-card-schedule span,.student-card-muted{color:var(--muted)}.student-card-muted{margin:0}.student-card-subscription{gap:14px;padding:14px;display:grid}.student-card-subscription .student-subscription-head{max-width:none}.student-card-subscription-dates{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;display:grid}.student-card-subscription-dates h3{margin:0 0 8px;font-size:14px}.student-card-subscription-dates ul{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}.student-card-subscription-dates li{border:1px solid var(--line);border-radius:8px;padding:5px 9px;font-size:13px}.student-card-programs{flex-wrap:wrap;gap:8px;margin:0 0 14px;display:flex}.student-card-programs a{border:1px solid var(--line);min-height:42px;color:var(--text);border-radius:9px;align-items:center;padding:9px 14px;font-weight:750;line-height:1.25;text-decoration:none;display:inline-flex}.student-card-programs a:hover{border-color:var(--orange2)}.student-card-programs a[aria-current=page]{border-color:var(--orange2);color:var(--orange2);background:#ff8a0029}.student-card-programs a:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.student-learning-map.learning-map{border:1px solid #355343;border-radius:12px;margin:0;padding:14px}.student-map-intro{color:#c2d1c6;margin:0 0 12px;font-size:13px;line-height:1.45}.student-map-board.lm-canvas{border:1px solid #355343;border-radius:8px;width:100%;height:460px;overflow:hidden}.student-map-board .react-flow__controls{bottom:14px}.student-map-detail{color:#f4efe6;background:#0e2d22;border:1px solid #496b55;border-radius:10px;margin-top:12px;padding:18px;position:relative}.student-map-detail>span{color:#c5d8ca;padding-right:30px;font-size:12px;display:block}.student-map-detail h3{margin:8px 0 10px;font-size:21px}.student-map-detail p{overflow-wrap:anywhere;margin:0 0 12px;line-height:1.5}.student-map-content{white-space:pre-wrap}.student-map-detail img{object-fit:contain;border-radius:6px;max-width:100%;max-height:360px;margin:12px 0;display:block}.student-map-file{color:#ffbd8b;overflow-wrap:anywhere;text-underline-offset:3px;margin-top:10px;display:block}.student-map-close{color:#f4efe6;background:#214636;border-radius:6px;width:32px;height:32px;font-size:24px;line-height:1;position:absolute;top:10px;right:10px}.student-map-close:focus-visible,.student-map-file:focus-visible{outline-offset:3px;outline:2px solid #ff7a00}.student-card-links{flex-wrap:wrap;gap:9px;display:flex}.student-card-links a{min-height:40px;color:var(--text);background:#ff8a001c;border:1px solid #ff8a0080;border-radius:10px;align-items:center;padding:9px 12px;font-weight:850;text-decoration:none;display:inline-flex}.student-card-links a:hover{border-color:var(--orange2);background:#ff8a0030}.student-card-links a:focus-visible{outline:3px solid var(--yellow);outline-offset:3px}.video-connections{max-width:1100px}.video-connections-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:16px;display:flex}.video-connections-head label{gap:4px;min-width:min(260px,100%);display:grid}.video-connections-head label span{color:var(--muted);font-size:12px}.video-connections-list{margin:0;padding:0;list-style:none}.video-connections-list>li{border-top:1px solid var(--line)}.video-connection-row{justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;display:flex}.video-connection-student{gap:4px;min-width:0;display:grid}.video-connection-student strong{overflow-wrap:anywhere}.video-connection-student span{color:var(--muted);font-size:12px}.video-connections-actions{flex-wrap:wrap;gap:8px;display:flex}.video-recordings-toggle{justify-content:center;align-items:center;gap:4px;display:inline-flex}.video-recordings-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.video-connections-status{color:var(--muted);padding:0 16px;font-size:13px;display:block}.video-connections-status:empty{display:none}.video-connections-empty{color:var(--muted);margin:0;padding:18px 16px}.video-recordings{border:1px solid var(--line);border-radius:12px;margin:0 16px 14px;padding:16px}.video-recordings-row{justify-content:space-between;align-items:center;gap:12px;display:flex}.video-recordings p{color:var(--muted)}.video-recordings ul{margin:0;padding:0;list-style:none}.video-recordings li+li{border-top:1px solid var(--line);margin-top:14px;padding-top:14px}.video-recordings-tags{gap:6px;margin-top:10px;display:grid}.video-recordings-tags label{color:var(--muted);font-size:13px}.video-recordings-tags>div{flex-wrap:wrap;gap:8px;display:flex}.video-recordings-tags input{flex:180px;min-width:0}.video-recordings video{background:#000;border-radius:8px;width:100%;max-height:520px;margin-top:12px;display:block}.video-recordings [role=status]{color:var(--muted);margin-top:8px;display:block}.video-recordings [role=status]:empty{display:none}@media (max-width:600px){.video-connection-row{flex-direction:column;align-items:flex-start;gap:9px}.video-connections-actions{width:100%}.video-connections-actions .btn{flex:auto}}@media (max-width:700px){.student-card-page{width:min(100% - 24px,820px);padding-top:26px}.student-card-facts{grid-template-columns:1fr}.student-card-schedule li{gap:4px;display:grid}.student-learning-map.learning-map{padding:8px}.student-map-board.lm-canvas{height:min(67dvh,540px);min-height:360px}}.public-side,.public-list{gap:10px;display:grid}.public-view-panel{box-shadow:var(--shadow)}.public-section-head{background:linear-gradient(135deg,#35d07f47,#35d07f1f);border-bottom-color:#35d07f57}.public-section-head .panel-title{color:#c8ffdf;font-size:24px;font-weight:1000}.public-day-group{gap:7px;display:grid}.public-day-label{background:linear-gradient(135deg, var(--orange), var(--orange2));color:#1c100a;text-transform:uppercase;border-radius:10px;width:fit-content;padding:7px 12px;font-size:13px;font-weight:1000;line-height:1}.public-day-lessons{gap:7px;display:grid}.public-timezone-note{width:fit-content;max-width:100%;color:var(--muted);background:#ffffff0e;border:1px solid #ffffff1a;border-radius:9px;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 9px;font-size:12px;font-weight:900;line-height:1.25;display:flex}.public-timezone-note select{width:auto;max-width:min(100%,280px);min-height:28px;padding:4px 26px 4px 8px;font-size:12px;font-weight:800}.calendar-share{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.calendar-share span{color:var(--muted);font-size:12px}.calendar-share a{color:var(--orange2);overflow-wrap:anywhere}.overdue-planned-button{border:1px solid var(--line)}.overdue-planned-panel{border:1px solid var(--line);border-radius:12px;grid-column:1/-1;overflow:hidden}.overdue-planned-panel>p{color:var(--muted);margin:0;padding:12px}.overdue-planned-list{max-height:15rem;margin:0;padding:0;list-style:none;overflow-y:auto}.overdue-planned-list li+li{border-top:1px solid var(--line)}.overdue-planned-lesson{width:100%;color:var(--text);text-align:left;background:0 0;border:0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;padding:10px 12px;display:flex}.overdue-planned-lesson:hover{background:#ffffff12}.overdue-planned-lesson:focus-visible{outline:2px solid var(--orange2);outline-offset:-2px}.overdue-planned-lesson span{color:var(--muted)}@media (max-width:700px){.overdue-planned-button,.overdue-planned-panel{display:none}}.public-calendar-controls{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.public-calendar-scroll{--public-hour-height:56px}.public-calendar-day-hidden,.public-timezone-mobile{display:none}.public-calendar-nav{align-items:center;gap:6px;display:flex}.public-calendar-nav strong{text-align:center;min-width:170px;font-size:12px}.public-calendar-legend{color:var(--muted);flex-wrap:wrap;gap:10px;font-size:12px;display:flex}.public-calendar-legend span{align-items:center;gap:5px;display:inline-flex}.public-calendar-legend i{background:#444;border-radius:2px;width:10px;height:10px}.public-calendar-legend i.free{background:#286e4a}.public-calendar-legend i.busy{background:#893838}.public-calendar-column{background:#ffffff06}.public-calendar .week-timeline-day{text-align:center;padding:6px 2px;line-height:1.2}.public-calendar .week-timeline-day.today{color:var(--orange2);font-weight:800}.public-calendar-slot{overflow-wrap:anywhere;border-radius:3px;align-items:flex-start;padding:4px;font-size:11px;line-height:1.15;display:flex;position:absolute;left:1px;right:1px;overflow:hidden}.public-calendar-slot.free{color:#d3f5df;background:#214e35}.public-calendar-slot.busy{color:#fdd;background:#713535}.public-calendar-slot.past{color:#b4c1b9;background:#333b37}@media (max-width:700px){.public-view-shell:not(.student-public-view) .public-view-title h1{display:none}.public-view-shell:not(.student-public-view) .public-view-title{margin-bottom:4px}.public-timezone-note:has(.public-timezone-mobile){flex-wrap:nowrap;width:100%;min-width:0;display:flex}.public-timezone-note .public-timezone-desktop{display:none}.public-timezone-note .public-timezone-mobile{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;display:block;overflow:hidden}.public-timezone-note:has(.public-timezone-mobile) select{width:130px;min-width:0}.public-calendar-controls{display:none}.public-calendar-scroll{--public-hour-height:36px}.public-calendar{min-width:1890px}.public-calendar .week-timeline-head,.public-calendar .week-timeline-body{grid-template-columns:42px repeat(21,88px)}.public-calendar .public-calendar-day-hidden{display:block}.public-calendar .week-time-slot{height:calc(var(--public-hour-height) / 2)}.public-calendar-slot{padding:2px 3px;font-size:9px}}.public-filter-note{background:#35d07f14;border:1px solid #35d07f2e;border-radius:12px;align-items:center;gap:8px;width:fit-content;max-width:100%;padding:6px;display:flex}.public-filter-note button{border:1px solid var(--line);min-height:30px;color:var(--text);cursor:pointer;background:#ffffff0f;border-radius:9px;padding:6px 10px;font-size:12px;font-weight:1000}.public-schedule-item,.public-subscription-item{border:1px solid var(--line);background:var(--card2);border-radius:10px;gap:10px;padding:11px;display:grid}.public-schedule-item{grid-template-columns:minmax(135px,.44fr) minmax(0,1fr);align-items:center}.public-schedule-item div,.public-subscription-item{min-width:0}.public-schedule-item strong,.public-subscription-item strong,.public-empty strong{font-size:14px;line-height:1.2;display:block}.public-schedule-item span,.public-subscription-item span,.public-empty span,.public-payment-details span{color:var(--muted);margin-top:4px;font-size:12px;font-weight:800;line-height:1.35;display:block}.public-subscription-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.public-subscription-head span{color:#a9ffd0;margin-top:0}.public-subscription-stack{gap:4px;display:grid}.public-student-badge{border:1px solid var(--student-color,var(--green));background:var(--student-color,var(--green));border-radius:10px;align-items:center;width:fit-content;max-width:100%;min-height:30px;padding:6px 10px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.public-student-badge{background:color-mix(in srgb, var(--student-color,var(--green)) 24%, transparent)}}.public-student-badge{color:var(--text);font-size:14px;font-weight:1000;line-height:1.1}.public-student-filter{cursor:pointer;text-align:left;font-family:inherit}.public-student-filter:hover,.public-filter-note button:hover,.public-copy-button:hover{border-color:var(--student-color,#ffffff57);filter:brightness(1.1)}.public-payment-details summary{background:linear-gradient(135deg, var(--orange), var(--orange2));color:#1c100a;cursor:pointer;border-radius:10px;align-items:center;min-height:34px;padding:7px 10px;font-size:13px;font-weight:900;list-style:none;display:inline-flex}.public-payment-details summary::-webkit-details-marker{display:none}.public-payment-details div,.public-payment-details>span{border:1px solid var(--line);background:#ffffff0f;border-radius:10px;gap:2px;margin-top:10px;padding:10px;display:grid}.public-payment-details .public-payment-line{color:var(--muted);justify-content:space-between;align-items:center;gap:10px;margin-top:0;display:flex}.public-payment-details .public-payment-line>span{min-width:0;color:inherit;font:inherit;margin-top:0}.public-copy-button{cursor:pointer;background:#ffffff14;border:1px solid #fff3;border-radius:9px;flex:none;width:30px;height:30px;position:relative}.public-copy-button span{border:2px solid var(--text);background:var(--card2);border-radius:3px;width:12px;height:12px;margin-top:0;display:block;position:absolute}.public-copy-button span:first-child{top:10px;left:8px}.public-copy-button span:last-child{top:7px;left:11px}.public-empty{border:1px dashed var(--line);background:#ffffff0a;border-radius:10px;padding:14px}@media (max-width:980px){.app-shell{padding:8px}.grid,.public-view-grid,.calendar-tools,.stats,.three,.week-grid,.month-grid{grid-template-columns:1fr}.week-grid .day-cell{min-height:auto}.student-details{grid-template-columns:1fr}.student-editor-panel{max-height:none;position:static;overflow-y:visible}.student-details .actions{justify-content:flex-start;padding-top:0}.student-info-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.student-recipient-chip,.recipient-form-top,.student-telegram-actions{grid-template-columns:1fr}.recipient-channel-tags{justify-content:flex-start}.student-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-history-section,.receipt-history-section{grid-column:1/-1}}@media (max-width:700px){.schedule-view-grid>.editor,.calendar-jump-date-label,.calendar-jump-date,.compact-stats{display:none}.jump-row{grid-template-columns:repeat(2,minmax(0,1fr))}.jump-row .btn{width:100%;min-height:44px}.date-row .icon-btn{width:44px;min-height:44px}.timeline-event{-webkit-user-drag:none;-webkit-touch-callout:none}.mobile-day-drag-target{right:8px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:30;border:1px solid var(--orange);background:var(--card);width:fit-content;max-width:calc(100% - 16px);color:var(--text);box-shadow:var(--shadow);pointer-events:none;border-radius:10px;margin:0 auto;padding:10px 14px;font-size:14px;font-weight:900;display:block;position:fixed;left:8px}.topbar{flex-direction:column;align-items:flex-start}.top-section-title,.google-sync-pill,.account-pill,.top-refresh-btn,.storage-pill{width:100%;margin-left:0}.auth-head{flex-direction:column;gap:10px}.auth-switch{width:100%}.auth-switch .view-btn{flex:1}}@media (prefers-reduced-motion:reduce){.timeline-event{transition:none}}@media (max-width:900px){.payment-dashboard-grid{grid-template-columns:1fr}}@media (max-width:560px){.two,.four,.insight-grid,.subscription-count-row,.subscription-payment-fields,.student-telegram-actions,.income-row,.debt-reminder-fields,.telegram-receipt-fields,.telegram-receipt-payment,.telegram-receipts-head,.payment-reminder-bottom,.telegram-student-auto-card,.telegram-schedule-card{grid-template-columns:1fr}.telegram-receipts-actions{justify-content:flex-start}.telegram-receipts-list,.payment-reminders-list{grid-template-columns:1fr}.payment-reminder-status,.payment-reminder-value{justify-content:flex-start;justify-items:flex-start}.student-disclosure{grid-template-columns:minmax(0,1fr) auto}.student-summary-chip{grid-column:1;width:fit-content}.student-info-strip{grid-template-columns:1fr}.panel-head{flex-direction:column;align-items:flex-start}.actions{justify-content:flex-start}.student-history-grid{grid-template-columns:1fr}}.lesson-month{border-top:1px solid var(--line,#53615b);padding:8px 0}.lesson-month>summary{cursor:pointer;text-transform:capitalize;padding:10px 4px;font-weight:600}.lesson-month>summary:focus-visible{outline-offset:2px;outline:2px solid}.lesson-homework{min-width:0}.lesson-homework:has(.lesson-homework-editor){grid-column:1/-1;width:100%}.lesson-homework-editor{border:1px solid var(--line,#53615b);border-radius:12px;gap:12px;margin-top:8px;padding:12px;display:grid}.lesson-homework-editor label{gap:6px;display:grid}.lesson-homework-editor textarea{resize:vertical;width:100%;min-width:0}.homework-file{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.homework-file button{white-space:normal;overflow-wrap:anywhere;max-width:100%}.student-lesson-row>.lesson-homework{grid-column:2/-1}.call-history-row{grid-template-columns:minmax(0,1fr) auto}.call-history-row strong{white-space:normal}.call-history-row>.lesson-homework{grid-column:auto}.call-history-row>.lesson-homework:has(.lesson-homework-editor){grid-column:1/-1}.student-card-homework{padding:12px 0}.student-card-homework+.student-card-homework{border-top:1px solid var(--line,#53615b)}.student-card-homework h3{margin:0 0 6px;font-size:1rem}.student-card-homework p{white-space:pre-wrap;overflow-wrap:anywhere}.student-card-homework button{white-space:normal;overflow-wrap:anywhere;margin:4px 8px 4px 0}.calendar-video-status{min-width:0;color:var(--muted);margin:0 0 8px;font-size:13px}.calendar-video-status:empty{display:none}.calendar-video-link{width:100%;margin-bottom:8px}.schedule-video-actions{flex:none;align-items:center;gap:2px;display:flex}.schedule-video-button{color:var(--text);background:var(--card);cursor:pointer;flex-shrink:0}.schedule-video-button:hover,.schedule-video-button:focus-visible{border-color:var(--orange)}.schedule-video-button svg{max-width:66%;max-height:75%}.week-event-top{justify-content:space-between;align-items:flex-start;gap:2px;display:flex}.week-event-top .schedule-video-button{border-radius:6px;width:24px;height:24px;scroll-margin:46px 0 0 42px}@media (hover:hover) and (min-width:701px){.week-compact-event:has(.schedule-video-actions):is(:hover,:focus-within){z-index:9;overflow:visible}.week-compact-event .week-event-top:has(.schedule-video-actions)+.week-event-actions{top:-25px;bottom:auto}}.personal-calendar-shell{width:min(100% - 24px,1440px);margin-inline:auto}.personal-calendar-header{justify-content:space-between}.personal-calendar-header h1{margin:0;font-size:clamp(18px,2vw,24px)}.personal-calendar-status{flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;display:flex}.personal-calendar-status p{margin:0}.timeline-event.calendar-personal-event,.mini-event.calendar-personal-event{color:#f8f5ff;background:#43366f;border-color:#9c8ef5}.timeline-event.calendar-context-event,.mini-event.calendar-context-event{opacity:.25;cursor:default}.personal-event-fields{gap:12px;display:grid}.personal-event-timing{grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr));gap:10px;display:grid}.personal-event-timing .field,.personal-event-timing input{min-width:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
