
:root{--bg:#f7f7fc;--surface:#fff;--ink:#252435;--muted:#7e7b92;--line:#eeecf4;--purple:#7858e7;--soft:#eee9ff;--orange:#ed9878;--blue:#5caac9;--green:#488f7a;--radius:24px;--shadow:0 6px 28px #3e316b06;font-family:Manrope,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:16px;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{border:0;color:inherit;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #b19bed;outline-offset:4px}button:disabled{cursor:default;opacity:.5}svg.icon{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:36px;letter-spacing:-1.4px;line-height:1.2;font-weight:800}h2{font-size:22px;letter-spacing:-.6px}h3{font-size:17px;line-height:1.45;font-weight:750}p{line-height:1.6}.muted{color:var(--muted)}.tiny{font-size:13px}.small{font-size:14px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted)}.stack{display:flex;flex-direction:column;gap:16px}.row{display:flex;align-items:center;gap:10px}.between{display:flex;justify-content:space-between;align-items:center;gap:12px}.grow{flex:1}.purple{color:var(--purple)}.pill{font-size:12px;font-weight:800;letter-spacing:.5px;padding:5px 9px;border-radius:8px;color:var(--purple);background:var(--soft);display:inline-flex;align-items:center;gap:5px}.pill.orange{background:#fff1e9;color:#bb775c}.pill.blue{background:#eaf6fc;color:#3f91b4}.pill.green{background:#eaf5ee;color:#48856c}.pill.gray{background:#f0f0f4;color:#7d7a8b}.pill svg.icon{width:14px;height:14px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:9px;padding:13px 18px;border-radius:15px;font-size:14px;font-weight:750;min-height:46px;transition:.15s}.btn:hover{filter:brightness(.97);transform:translateY(-1px)}.primary{background:var(--purple);color:white;box-shadow:0 6px 14px #7858e71a}.secondary{background:var(--soft);color:var(--purple)}.white{background:white;border:1px solid var(--line)}.ghost{color:var(--muted);background:transparent}.danger{color:#c4686d;background:#fff0f0}.full{width:100%}.iconbtn{width:40px;height:40px;border-radius:13px;background:white;border:1px solid var(--line);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.iconbtn:hover{background:var(--soft);color:var(--purple)}.prototypebar{height:42px;background:#292639;color:#e9e5fa;display:flex;justify-content:space-between;align-items:center;padding:0 26px;font-size:12px;letter-spacing:.1px}.prototypebar button{color:#fff;font-size:12px;font-weight:700;display:flex;gap:7px;align-items:center}.prototypebar svg.icon{width:15px;height:15px}.prototype-dot{width:6px;height:6px;background:#b8a3ff;display:inline-block;border-radius:50%;margin-right:7px}.shell{display:flex;min-height:calc(100vh - 42px)}.sidebar{width:234px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:34px 23px 24px;display:flex;flex-direction:column;position:sticky;top:0;height:calc(100vh - 42px)}.brand{display:flex;gap:11px;align-items:center;padding:0 9px;margin-bottom:45px}.brandmark{width:39px;height:39px;background:var(--purple);color:#fff;display:flex;align-items:center;justify-content:center;border-radius:13px}.brandmark svg.icon{width:24px;height:24px}.brandname{font-size:24px;font-weight:800;letter-spacing:-1px}.brand-sub{font-size:11px;color:var(--muted);letter-spacing:.2px}.side-nav{display:flex;flex-direction:column;gap:8px}.side-link{display:flex;align-items:center;gap:12px;padding:14px 15px;border-radius:14px;font-size:14px;font-weight:700;color:#848095;text-align:left}.side-link.active{color:var(--purple);background:var(--soft)}.side-link:hover{background:#f7f5fe}.navcount{background:var(--purple);color:#fff;font-size:11px;padding:1px 6px;border-radius:6px;margin-left:auto}.sidebar-bottom{margin-top:auto}.groupcard{padding:17px 14px;border-radius:17px;background:#f8f7fc;margin-bottom:20px}.groupcard strong{font-size:14px}.avatar{height:38px;width:38px;background:#eae3ff;color:var(--purple);border-radius:50%;font-weight:800;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.profile{padding:0 8px}.profile .tiny{font-size:12px}.workspace{flex:1;min-width:0;max-width:1450px;margin:0 auto;padding:38px 48px 42px}.topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px}.breadcrumb{font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px}.top-actions{display:flex;gap:12px;align-items:center}.status-sync{color:var(--muted);font-size:12px}.status-sync svg.icon{width:14px;height:14px;color:var(--green)}.desktop-date{font-size:13px;color:var(--muted)}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:25px;gap:15px}.page-heading .muted{margin-top:7px;font-size:15px}.weekbadge{border:1px solid #e7e2f0;background:#fff;border-radius:22px;padding:9px 13px;display:inline-flex;gap:7px;align-items:center;font-size:13px;font-weight:700;white-space:nowrap;margin-top:7px}.week-dot{height:12px;width:12px;border-radius:50%;background:white;border:1.5px solid #c8bfdf}.week-dot.gray{background:#9d9aa9;border-color:#8c899b}.view-switch{display:flex;gap:3px;background:#eeecf5;border-radius:13px;padding:4px}.view-switch button{padding:8px 15px;border-radius:10px;font-size:13px;font-weight:700;color:var(--muted)}.view-switch button.active{background:white;color:var(--ink);box-shadow:0 2px 6px #30234d07}.day-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:12px}.week-strip{display:flex;gap:10px;align-items:center;margin-bottom:20px}.week-strip .iconbtn{width:35px;height:62px;background:transparent;border:0}.day-chip{flex:1;min-width:42px;max-width:94px;background:white;border:1px solid #eeebf4;border-radius:17px;padding:10px 4px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px}.day-chip .weekday{font-size:12px;color:var(--muted);font-weight:600}.day-chip .daynum{font-size:21px;font-weight:800;letter-spacing:-.5px}.day-chip .dot{height:4px;width:4px;background:#c5b4fa;border-radius:50%;margin-top:3px}.day-chip.active{background:var(--purple);border-color:var(--purple);color:white;box-shadow:0 6px 15px #7858e723}.day-chip.active .weekday{color:#e1d7ff}.day-chip.active .dot{background:white}.day-chip.today:not(.active){border-color:#b9a6ef}.content-columns{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:30px}.lesson-list{display:flex;flex-direction:column;gap:14px}.day-summary{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin:4px 0 18px}.day-summary svg.icon{height:16px;width:16px}.lesson{position:relative;display:flex;text-align:left;width:100%;background:white;border-radius:22px;padding:23px 23px 22px 22px;box-shadow:var(--shadow);gap:22px;border:1px solid #fff;transition:.18s;overflow:hidden}.lesson:before{content:'';position:absolute;left:0;top:21px;bottom:21px;width:4px;background:var(--purple);border-radius:6px}.lesson.orange:before{background:var(--orange)}.lesson.blue:before{background:var(--blue)}.lesson.practice:before{background:var(--green)}.lesson:hover{border-color:#dfd5fb;transform:translateY(-2px);box-shadow:0 8px 25px #39216609}.lesson-time{width:59px;flex-shrink:0;padding-top:2px;display:flex;flex-direction:column;gap:4px}.lesson-time strong{font-size:23px;line-height:1.1;font-weight:800;letter-spacing:-.7px}.lesson-time span{font-size:14px;color:var(--muted);font-weight:600}.lesson-main{flex:1;min-width:0}.lesson h3{margin:9px 0 12px}.lesson-meta{font-size:13px;display:flex;flex-wrap:wrap;gap:6px 14px;color:var(--muted)}.lesson-meta .row{gap:4px}.lesson-meta svg.icon{height:14px;width:14px}.lesson-foot{border-top:1px solid var(--line);padding-top:11px;margin-top:13px;font-size:12px;display:flex;align-items:center;gap:6px;color:var(--purple);line-height:1.4}.lesson-foot svg.icon{height:15px;width:15px}.lesson-foot.no-task{color:#a39eaf}.spacer{height:10px}.side-panel{display:flex;flex-direction:column;gap:23px}.panel{background:#fff;border:1px solid var(--line);padding:22px;border-radius:22px}.panel h3{font-size:15px;margin-bottom:14px}.panel .muted{font-size:13px}.progress-line{height:5px;background:var(--soft);border-radius:20px;overflow:hidden;margin:14px 0 9px}.progress-line span{background:var(--purple);height:100%;display:block;border-radius:20px}.mini-task{padding:13px 0;display:flex;gap:10px;border-bottom:1px solid var(--line)}.mini-task:last-of-type{border:0}.check{display:flex;width:21px;height:21px;border:1.5px solid #dcd5ed;border-radius:7px;flex-shrink:0;align-items:center;justify-content:center;color:var(--purple)}.check.checked{background:var(--purple);color:white;border-color:var(--purple)}.check svg.icon{width:14px;height:14px}.mini-task strong{font-size:13px;font-weight:700;line-height:1.4;display:block}.mini-task .tiny{font-size:11px;margin-top:4px}.textlink{color:var(--purple);font-size:13px;font-weight:750;padding:10px 0 0;display:flex;align-items:center;gap:6px}.bot-panel{background:#ece7ff;border-color:transparent;position:relative;overflow:hidden}.bot-panel .bot-icon{height:37px;width:37px;border-radius:12px;color:var(--purple);background:#fff9;display:flex;align-items:center;justify-content:center;margin-bottom:15px}.bot-panel p{font-size:13px;color:#817599;margin:7px 0 13px}.bottomnav{display:none}.mobile-brand{display:none}.note{background:#f0edf8;color:#847999;border-radius:15px;padding:13px 16px;font-size:12px;line-height:1.6;display:flex;align-items:flex-start;gap:9px}.note svg.icon{width:17px;height:17px;flex-shrink:0;margin-top:1px}.note.success{color:#528a74;background:#eaf5ef}.note.warning{background:#fff5e9;color:#aa8152}.section-title{font-size:14px;font-weight:800;margin:23px 0 14px;display:flex;align-items:center;justify-content:space-between}.backlink{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin-bottom:21px}.backlink svg.icon{width:17px;height:17px}.sheet-layout{max-width:760px}.sheet-layout.narrow{max-width:610px}.detail-hero{padding:27px;background:white;border-radius:24px;border:1px solid var(--line)}.detail-hero h1{font-size:27px;letter-spacing:-.9px;margin:14px 0 23px;line-height:1.35}.detail-facts{display:grid;grid-template-columns:1fr 1fr;gap:21px;margin-top:8px}.detail-fact{display:flex;gap:10px;align-items:flex-start}.detail-fact svg.icon{color:#9b8abf;margin-top:2px}.detail-fact .tiny{color:var(--muted);font-size:12px;margin-bottom:4px}.detail-fact strong{font-size:14px;font-weight:700}.detail-actions{display:flex;gap:10px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.task-detail{padding:23px;background:white;border-radius:21px;border:1px solid var(--line)}.task-detail p{font-size:14px;margin:12px 0;color:#625d74}.attachment{display:flex;gap:10px;align-items:center;border:1px solid var(--line);padding:12px;border-radius:13px;background:#fbfaff;text-align:left;width:100%;font-size:13px}.attachment svg.icon{color:var(--purple)}.attachment .tiny{font-size:11px}.task-detail .between strong{font-size:14px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:19px}.field label{font-size:13px;font-weight:750}.field input,.field textarea,.field select{width:100%;background:white;border:1px solid #e6e1ef;border-radius:13px;min-height:48px;padding:12px 14px;color:var(--ink);font-size:14px}.field textarea{resize:vertical;min-height:128px;line-height:1.7}.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237e7b92' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:35px}.field-hint{font-size:12px;color:var(--muted);line-height:1.5}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-surface{background:white;border:1px solid var(--line);border-radius:23px;padding:26px}.radio-option{display:flex;align-items:flex-start;gap:10px;padding:14px 0;font-size:13px;line-height:1.5}.radio-option input{accent-color:var(--purple);margin-top:3px}.radio-option .tiny{display:block;margin-top:3px;color:var(--muted);font-size:12px}.form-buttons{display:flex;gap:10px;margin-top:21px}.form-buttons .primary{flex:1}.tabs{display:flex;gap:8px;margin:23px 0 21px;overflow:auto}.tab{font-size:13px;font-weight:750;border-radius:11px;padding:10px 15px;color:var(--muted);white-space:nowrap;background:#f0eef7}.tab.active{background:var(--purple);color:white}.task-row{display:flex;align-items:flex-start;gap:13px;padding:21px 0;border-bottom:1px solid var(--line)}.task-row:last-child{border:0}.task-row .check{margin-top:3px;width:23px;height:23px}.task-row h3{font-size:15px;margin-bottom:7px}.task-row .subject{font-size:12px;color:var(--purple);margin-bottom:8px}.task-row .task-bottom{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted)}.task-row .task-bottom svg.icon{height:14px;width:14px}.task-row.done h3{text-decoration:line-through;color:#9c97aa}.task-row .iconbtn{border:0;background:transparent;width:28px;height:28px}.tasks-surface{background:white;padding:0 23px;border:1px solid var(--line);border-radius:22px}.toggle{background:#ddd9e6;width:43px;height:26px;border-radius:20px;position:relative;flex-shrink:0;transition:.2s}.toggle:after{content:'';width:20px;height:20px;border-radius:50%;position:absolute;top:3px;left:3px;background:white;box-shadow:0 1px 4px #0001;transition:.2s}.toggle.on{background:var(--purple)}.toggle.on:after{left:20px}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 0;border-bottom:1px solid var(--line);text-align:left;width:100%}.setting-row:last-child{border:0}.setting-row strong{font-size:14px;font-weight:700;display:block}.setting-row .muted{font-size:12px;margin-top:4px;line-height:1.5}.setting-row .value{font-size:13px;color:var(--muted)}.setting-row svg.icon{color:#9d91b5}.setting-row input[type=time]{border:1px solid var(--line);padding:7px;border-radius:9px;font-size:13px;width:91px;background:#faf9fd;color:var(--ink)}.settings-profile{display:flex;gap:15px;align-items:center;padding:22px;background:white;border:1px solid var(--line);border-radius:21px}.settings-profile .avatar{width:52px;height:52px;font-size:19px}.settings-profile h3{font-size:18px}.settings-profile .muted{font-size:13px;margin-top:3px}.settings-panel{padding:0 22px;background:white;border:1px solid var(--line);border-radius:21px}.cal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.week-grid{display:grid;grid-template-columns:repeat(6,minmax(130px,1fr));gap:10px;overflow:auto;padding-bottom:12px}.week-column{min-height:430px;border-radius:17px;background:#f0edf8;padding:10px}.week-column.today{background:#ece5fc}.week-column-head{display:flex;align-items:center;justify-content:space-between;padding:5px 2px 14px;font-size:12px;color:var(--muted)}.week-column-head strong{font-size:18px;color:var(--ink)}.week-column.today .week-column-head{color:var(--purple)}.week-event{display:block;background:#fff;padding:12px;border-radius:12px;margin-bottom:10px;text-align:left;width:100%;border-left:3px solid #b29bed}.week-event .time{font-size:12px;font-weight:800;margin-bottom:6px;color:var(--purple)}.week-event h3{font-size:12px;line-height:1.5;font-weight:750;margin-bottom:6px}.week-event .muted{font-size:11px}.week-event .tiny{font-size:11px;color:var(--green);margin-top:6px}.practice-event{background:#eef6f1;border-color:#8fbca5}.no-lessons{text-align:center;padding:22px 2px;color:#9d94b0;font-size:12px}.cal-foot{margin-top:22px;display:flex;gap:18px;align-items:center;font-size:12px;color:var(--muted)}.month-calendar{background:#fff;border-radius:23px;padding:23px;border:1px solid var(--line)}.month-weekdays,.month-row{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.month-weekdays span{text-align:center;font-size:12px;font-weight:700;color:var(--muted);padding-bottom:16px}.month-day{min-height:78px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;font-size:14px}.month-day:hover{background:var(--soft)}.month-day.today{background:var(--purple);color:#fff}.month-day.selected{border-color:var(--purple)}.month-day.other{color:#c5c0ce}.month-day.grayweek{background:#f4f3f6}.month-day.today.grayweek{background:var(--purple)}.month-day .dots{height:5px;display:flex;gap:3px}.month-day .dots i{height:4px;width:4px;border-radius:50%;background:#b09cd7}.month-day.today .dots i{background:white}.month-preview{margin-top:23px}.telegram-layout{display:grid;grid-template-columns:minmax(300px,1fr) 350px;gap:35px;align-items:start;max-width:1000px}.tg-hero{background:var(--soft);padding:28px;border-radius:24px;margin-bottom:20px}.tg-hero .brandmark{background:#fff;color:var(--purple);width:51px;height:51px;border-radius:17px;margin-bottom:18px}.tg-hero h2{font-size:23px;margin-bottom:10px}.tg-hero p{color:#86789e;font-size:14px}.chat{background:#e9e8f0;border:1px solid #dedce8;border-radius:25px;overflow:hidden}.chat-header{padding:17px;display:flex;align-items:center;gap:11px;background:white;border-bottom:1px solid #ddd9e7}.chat-header .avatar{height:37px;width:37px}.chat-header strong{font-size:14px}.chat-header .tiny{font-size:11px;color:var(--muted)}.chat-body{padding:17px 13px;min-height:460px;background-image:radial-gradient(#beb4cc35 .8px,transparent .8px);background-size:19px 19px}.chat-date{text-align:center;font-size:10px;color:#90859f;margin:0 auto 15px;background:#dcd7e5;width:max-content;padding:4px 10px;border-radius:9px}.bubble{background:white;border-radius:5px 15px 15px 15px;padding:15px 13px;max-width:96%;font-size:12px;line-height:1.65;box-shadow:0 2px 4px #00000004;margin-bottom:8px}.bubble strong{font-weight:800}.chat-lesson{margin-top:13px}.chat-lesson .muted{font-size:11px}.chat-time{text-align:right;color:#aaa0b7;font-size:10px;margin-top:5px}.chat-buttons{max-width:96%;display:grid;grid-template-columns:1fr 1fr;gap:5px}.chat-buttons button{background:#fff9;padding:11px 3px;border-radius:8px;font-size:11px;color:#6e5e88;font-weight:700}.chat-buttons button.wide{grid-column:span 2}.chat-bottom{padding:13px;background:#fff;color:#b3acbd;font-size:12px;display:flex;gap:9px;align-items:center}.chat-bottom svg.icon{width:17px;height:17px}.upload-area{border:1.5px dashed #cbbcea;border-radius:18px;background:#faf8ff;padding:32px 20px;display:flex;flex-direction:column;align-items:center;gap:13px;text-align:center;cursor:pointer}.upload-area svg.icon{width:33px;height:33px;color:var(--purple)}.upload-area strong{font-size:15px}.upload-area .muted{font-size:12px}.file-chip{display:flex;align-items:center;gap:13px;padding:18px;background:#f4f0ff;border-radius:16px;margin:18px 0}.file-chip svg.icon{color:var(--purple);width:27px;height:27px}.file-chip strong{font-size:13px}.file-chip .tiny{font-size:12px;color:var(--muted);margin-top:5px}.diff-row{padding:16px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.6}.diff-row:last-child{border:0}.diff-row .pill{margin-bottom:7px;font-size:10px}.history-item{position:relative;display:flex;gap:14px;padding:19px 0;border-bottom:1px solid var(--line);font-size:13px}.history-icon{width:34px;height:34px;background:var(--soft);color:var(--purple);border-radius:11px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.history-icon svg.icon{height:17px;width:17px}.history-item strong{font-size:13px;display:block;margin-bottom:6px}.history-item .muted{font-size:12px;line-height:1.6}.history-item time{font-size:11px;color:#aca4ba;display:block;margin-top:8px}.history-item .textlink{font-size:12px;padding-top:8px}.empty-state{padding:35px 22px;text-align:center;background:white;border-radius:22px;border:1px solid var(--line)}.empty-state .empty-icon{height:60px;width:60px;border-radius:21px;background:var(--soft);color:var(--purple);display:flex;align-items:center;justify-content:center;margin:0 auto 20px}.empty-state h2{font-size:21px;margin-bottom:9px}.empty-state p{font-size:14px;color:var(--muted);max-width:350px;margin:0 auto 20px}.welcome{min-height:calc(100vh - 42px);display:grid;grid-template-columns:1fr 1fr;background:white}.welcome-art{background:#ede7ff;padding:70px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.welcome-art:before{content:'';width:480px;height:480px;background:#e5ddfa;border-radius:50%;position:absolute;right:-210px;top:-150px}.welcome-art h2{font-size:44px;line-height:1.2;letter-spacing:-1.8px;max-width:410px;margin-top:35px;position:relative}.welcome-art p{font-size:16px;color:#8c7ca7;max-width:350px;margin-top:20px;position:relative}.welcome-mini{margin-top:40px;transform:rotate(-4deg);max-width:350px;background:white;padding:23px;border-radius:22px;box-shadow:0 15px 35px #735a9f17}.welcome-mini .pill{font-size:10px}.welcome-mini h3{margin:12px 0 16px}.welcome-main{display:flex;justify-content:center;align-items:center;padding:50px}.welcome-form{width:360px}.welcome-form h1{font-size:31px;margin-bottom:15px}.welcome-form p{font-size:14px;color:var(--muted);margin-bottom:29px}.welcome-form .brand{padding:0;margin-bottom:42px}.welcome-form .note{margin-top:20px;font-size:11px}.welcome-form .textlink{justify-content:center;margin-top:7px}.gallery{padding:36px max(22px,calc((100vw - 1370px)/2)) 65px;background:#f2f0f8;min-height:100vh}.gallery-title{max-width:1360px;margin:0 auto 36px}.gallery-title h1{font-size:36px;margin:16px 0 10px}.gallery-title p{font-size:14px;color:var(--muted);max-width:660px}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px 24px;max-width:1360px;margin:auto}.artboard{min-width:0}.artboard-caption{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.artboard-caption h2{font-size:13px;letter-spacing:0;font-weight:750}.artboard-caption span{font-size:10px;color:#9f94b1}.artboard-screen{width:100%;height:600px;position:relative;overflow:hidden;border-radius:22px;background:#fff;box-shadow:0 5px 20px #4933680b;border:1px solid #e4ddeb;display:block;padding:0}.artboard-screen iframe{border:0;width:390px;height:844px;transform-origin:top left;pointer-events:none;position:absolute;left:0;top:0}.artboard-screen:hover{box-shadow:0 8px 27px #7858e725;border-color:#b29ae9}.gallery-desktop{max-width:1360px;margin:40px auto 0}.gallery-desktop h2{font-size:18px;margin-bottom:15px}.desktop-board{height:640px;position:relative;overflow:hidden;border:1px solid #e4ddeb;border-radius:20px;background:white}.desktop-board iframe{border:0;width:1440px;height:900px;transform-origin:top left}.demo-hint{font-size:11px;color:#aca4ba;margin-top:22px;line-height:1.6}.demo-hint svg.icon{width:12px;height:12px;vertical-align:-2px;margin-right:3px}#toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#302c42;color:#fff;padding:13px 20px;border-radius:15px;box-shadow:0 8px 30px #35234425;font-size:13px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100vw - 32px);text-align:center}#toast.show{opacity:1;transform:translate(-50%,0)}.preview-only .prototypebar,.preview-only .sidebar,.preview-only .topline,.preview-only .demo-hint{display:none}.preview-only .shell{min-height:100vh}.preview-only .workspace{padding-top:24px}.preview-only .bottomnav{position:fixed}.preview-only .welcome{min-height:100vh}.preview-only{background:#f5f3fc}.upload-preview{display:none}.upload-preview.visible{display:block}.cancelled{opacity:.55}.cancelled h3{text-decoration:line-through}.saved-badge{font-size:11px;color:var(--green);display:flex;align-items:center;gap:4px}.hidden{display:none!important}
@media(min-width:1600px){.workspace{padding-left:65px;padding-right:65px}.lesson{padding:25px}.lesson h3{font-size:18px}.gallery-grid{gap:36px}}
@media(max-width:1200px){.workspace{padding:30px}.sidebar{width:210px;padding-left:15px;padding-right:15px}.content-columns{grid-template-columns:minmax(0,1fr) 245px;gap:22px}.lesson{gap:15px;padding:21px 19px}.lesson-time strong{font-size:21px}.side-panel .panel{padding:19px}.telegram-layout{grid-template-columns:minmax(250px,1fr) 310px;gap:22px}.gallery-grid{grid-template-columns:repeat(3,1fr)}.gallery{padding-left:35px;padding-right:35px}.week-grid{grid-template-columns:repeat(6,minmax(125px,1fr))}}
@media(max-width:1000px){.content-columns{grid-template-columns:1fr}.side-panel{display:none}.telegram-layout{grid-template-columns:1fr}.telegram-layout .chat{max-width:390px;width:100%;margin:auto}.week-grid{grid-template-columns:repeat(6,minmax(130px,1fr))}.sidebar{width:192px}.workspace{padding:29px}.welcome-art{padding:45px}.welcome-art h2{font-size:35px}.welcome-main{padding:35px}.gallery-grid{grid-template-columns:repeat(2,1fr);max-width:660px}.gallery-title{max-width:660px}.gallery-title h1{font-size:31px}.gallery-desktop{max-width:660px}.desktop-board{height:420px}}
@media(max-width:700px){:root{--radius:21px}.prototypebar{height:37px;padding:0 17px;font-size:10px}.prototypebar button{font-size:11px}.prototypebar .proto-long{display:none}.shell{min-height:calc(100vh - 37px)}.sidebar{display:none}.workspace{padding:23px 19px 105px;width:100%;background:linear-gradient(155deg,#f2edff 0,#f7f6fc 440px)}.topline{display:none}.mobile-brand{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.mobile-brand .eyebrow{font-size:10px;letter-spacing:1.5px}.mobile-brand .avatar{height:30px;width:30px;font-size:12px}.mobile-brand .brand-word{font-weight:800;font-size:19px;letter-spacing:-.7px;color:var(--purple)}h1{font-size:30px;letter-spacing:-1.1px}.page-heading{margin-bottom:24px;gap:7px}.page-heading .muted{font-size:14px;margin-top:6px}.weekbadge{font-size:11px;padding:8px 10px;gap:6px;margin-top:4px}.week-dot{height:10px;width:10px}.day-toolbar{margin-bottom:17px}.view-switch button{font-size:12px;padding:8px 13px}.day-toolbar .btn{font-size:12px;min-height:38px;padding:8px 13px;border-radius:12px}.week-strip{gap:7px;margin-bottom:16px}.week-strip .iconbtn{width:19px;height:55px;padding:0}.week-strip .iconbtn svg.icon{width:17px;height:17px}.day-chip{min-width:0;border-radius:15px;padding:9px 0 7px}.day-chip .weekday{font-size:11px}.day-chip .daynum{font-size:20px}.day-summary{font-size:12px;margin-bottom:15px}.lesson{border-radius:21px;padding:20px 17px 18px 18px;gap:14px}.lesson-time{width:50px;padding-top:3px}.lesson-time strong{font-size:21px}.lesson-time span{font-size:13px}.lesson h3{font-size:15px;margin-top:9px;margin-bottom:11px;line-height:1.45}.lesson-meta{font-size:12px;gap:6px 10px}.lesson .pill{font-size:10px;padding:4px 7px;letter-spacing:.6px}.lesson-foot{font-size:11px;padding-top:10px;margin-top:12px}.lesson:before{top:19px;bottom:19px;width:4px}.lesson-list{gap:13px}.bottomnav{display:flex;position:fixed;bottom:0;left:0;right:0;height:76px;padding:9px 13px max(10px,env(safe-area-inset-bottom));justify-content:space-around;background:#fffffff5;border-top:1px solid #eee9f4;backdrop-filter:blur(16px);z-index:40}.bottomnav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:72px;color:#a39ab3;font-size:10px;font-weight:650}.bottomnav button.active{color:var(--purple)}.bottomnav button.active .nav-icon{background:var(--soft)}.nav-icon{padding:4px 17px;border-radius:12px;height:30px;display:flex;align-items:center}.bottomnav svg.icon{width:21px;height:21px}.content-columns{display:block}.sheet-layout{max-width:none}.backlink{margin-bottom:21px;font-size:12px}.detail-hero{padding:22px 20px;border-radius:22px}.detail-hero h1{font-size:24px;line-height:1.4;margin-top:14px}.detail-facts{gap:20px 12px}.detail-fact{gap:8px}.detail-fact svg.icon{height:18px;width:18px}.detail-fact .tiny{font-size:11px}.detail-fact strong{font-size:12px}.detail-actions{gap:8px;margin-top:22px;padding-top:18px}.detail-actions .btn{padding:10px 12px;font-size:12px;min-height:43px}.task-detail{padding:19px}.task-detail p{font-size:13px}.task-detail .between strong{font-size:13px}.task-detail .pill{font-size:10px}.task-detail .attachment{font-size:12px}.section-title{font-size:13px;margin-top:23px}.form-surface{padding:21px 18px}.field{margin-bottom:17px}.field label{font-size:12px}.field input,.field textarea,.field select{font-size:13px;min-height:46px}.field-hint{font-size:11px}.radio-option{font-size:12px}.radio-option .tiny{font-size:11px}.note{font-size:11px;padding:13px}.tabs{gap:7px;margin:20px 0}.tab{font-size:12px;padding:10px 12px}.tasks-surface{padding:0 17px}.task-row{padding:19px 0;gap:10px}.task-row h3{font-size:14px}.task-row .subject{font-size:11px}.task-row .task-bottom{font-size:11px;gap:6px}.task-row .iconbtn{width:25px}.settings-panel{padding:0 18px}.setting-row{padding:16px 0}.setting-row strong{font-size:13px}.setting-row .muted{font-size:11px}.setting-row .value{font-size:12px}.settings-profile{padding:19px}.settings-profile h3{font-size:17px}.settings-profile .muted{font-size:12px}.settings-profile .avatar{width:46px;height:46px;font-size:17px}.page-heading .btn{padding:10px;min-height:41px;font-size:12px}.page-heading .btn svg.icon{width:17px;height:17px}.cal-head .btn{padding:9px 13px;min-height:40px;font-size:12px}.cal-head h2{font-size:18px}.cal-foot{gap:13px;font-size:10px;flex-wrap:wrap;margin-top:15px}.month-calendar{padding:17px 10px}.month-day{min-height:54px;font-size:13px;border-radius:10px;gap:7px}.month-row,.month-weekdays{gap:2px}.month-weekdays span{font-size:11px}.month-preview{margin-top:20px}.week-grid{grid-template-columns:repeat(6,145px);gap:9px;margin-right:-19px;padding-right:19px}.week-column{min-height:400px}.week-event h3{font-size:12px}.telegram-layout{gap:24px}.tg-hero{padding:24px}.tg-hero h2{font-size:23px}.tg-hero p{font-size:13px}.telegram-layout .chat{border-radius:21px}.chat-body{min-height:420px}.welcome{display:block;background:linear-gradient(155deg,#ede7ff,#f8f7fc);min-height:calc(100vh - 37px)}.welcome-art{display:none}.welcome-main{padding:45px 26px;min-height:calc(100vh - 37px);align-items:center}.welcome-form{width:100%;max-width:370px}.welcome-form h1{font-size:33px;line-height:1.25;margin-bottom:17px}.welcome-form p{font-size:14px;line-height:1.8}.welcome-form .brand{margin-bottom:65px}.welcome-form .brandmark{height:44px;width:44px;border-radius:15px}.welcome-form .brandname{font-size:29px}.welcome-form .brand-sub{font-size:12px}.welcome-form .note{margin-top:22px;font-size:11px;background:#eae4f8}.welcome-form .btn{font-size:13px;min-height:49px}.welcome-form .field{margin-bottom:24px}.gallery{padding:25px 18px 45px}.gallery-title h1{font-size:29px}.gallery-title p{font-size:13px}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 12px}.artboard-caption h2{font-size:11px}.artboard-caption span{display:none}.artboard-screen{border-radius:12px}.gallery-desktop{margin-top:30px}.gallery-desktop h2{font-size:16px}.desktop-board{border-radius:12px}.demo-hint{font-size:10px;margin-top:20px}.empty-state{padding:29px 18px}.empty-state h2{font-size:20px}.empty-state p{font-size:13px}#toast{bottom:90px;font-size:12px}.preview-only .workspace{padding-top:21px}.preview-only .mobile-brand{margin-bottom:23px}.preview-only .telegram-layout{gap:20px}.preview-only .tg-hero{padding:20px}.preview-only .tg-hero h2{font-size:21px}.preview-only .chat-body{min-height:380px}.preview-only .welcome-main{min-height:100vh}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.preview-only{scrollbar-width:none}.preview-only::-webkit-scrollbar{display:none}.preview-only .week-grid::-webkit-scrollbar{height:0}.bot-preview-page{max-width:430px;margin:28px auto;box-shadow:var(--shadow)}.bot-preview-page .chat-body{min-height:570px}.preview-only .bot-preview-page{margin:0;max-width:none}.preview-only .bot-preview-page .chat{border:0;border-radius:0;min-height:100vh}.preview-only .bot-preview-page .chat-header{padding:20px}.preview-only .bot-preview-page .chat-body{min-height:calc(100vh - 125px);padding:24px 19px}.diff-compare{display:flex;align-items:center;gap:22px;background:#f7f5fc;border-radius:15px;padding:19px;margin-top:19px}.diff-compare>div{flex:1;display:flex;flex-direction:column;gap:7px}.diff-compare span{font-size:12px;color:var(--muted)}.diff-compare strong{font-size:25px}.diff-compare svg.icon{color:#b0a3c5}.setting-row input[data-setting]{border:1px solid var(--line);padding:9px;border-radius:10px;font-size:13px;width:80px;background:#faf9fd;color:var(--ink);text-align:center}.gallery-title .brand{margin-bottom:15px}
@media(max-width:700px){.bot-preview-page{margin:0;max-width:none}.bot-preview-page .chat{border:0;border-radius:0;min-height:calc(100vh - 37px)}.bot-preview-page .chat-body{min-height:calc(100vh - 156px);padding:23px 18px}.bot-preview-page .bubble{font-size:13px;line-height:1.7;padding:18px 15px}.bot-preview-page .chat-buttons button{font-size:12px}.bot-preview-page .chat-header strong{font-size:15px}.diff-compare{padding:18px;gap:16px}}

/* 2026-11-27: длинные заголовки не расширяют телефонную страницу. */
.workspace,.lesson-body,.grow{min-width:0} .lesson h3{overflow-wrap:anywhere} .week-grid{max-width:100%} .sync-status{padding:10px 18px;font-size:13px;background:#ede7ff} button{touch-action:manipulation}

/* 2026-11-27: компактные декоративные эмодзи без изменения палитры. */
.ui-emoji{display:inline-block;margin-inline-end:.35em;font-size:.9em;line-height:1;vertical-align:baseline}.page-heading{flex-wrap:wrap}.page-heading h1{overflow-wrap:anywhere}
