@font-face{font-family:Nunito;src:url("/static/fonts/nunito.1f0e8654e8e5.ttf") format('truetype');font-weight:200 900;font-style:normal;font-display:swap}
:root{--accent:#6c5b9e;--tint:#efebf7;--ink:#302d3b;--muted:#635e6e;--bg:#f8f7f3;--line:#e9e6e1;--sage:#e9f0e9;--peach:#faede4;--sky:#e7f0f8;--radius:22px;--shadow:0 4px 18px #38302b03}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--bg);color:var(--ink);font-family:Nunito,'Segoe UI',sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,3vw,40px);line-height:1.2;letter-spacing:-1.3px;font-weight:750;margin-bottom:10px}h2{font-size:21px;line-height:1.35;letter-spacing:-.35px;font-weight:750;margin-bottom:12px}h3{font-size:17px;line-height:1.4;font-weight:750;margin-bottom:5px}p{margin-bottom:16px}small,.small-text{font-size:12px}.muted{color:var(--muted)}.block{display:block}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.inline{display:flex;align-items:center;gap:12px}.row-between{display:flex;align-items:center;justify-content:space-between;gap:16px}.spaced{margin-top:28px}.spaced-bottom{margin-bottom:20px}.full{width:100%;justify-content:center}.full-grid{grid-column:1/-1}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.icon{width:19px;height:19px;flex-shrink:0;vertical-align:middle}.skip-link{position:fixed;top:8px;left:16px;padding:12px;background:var(--ink);color:#fff;z-index:100;transform:translateY(-200%)}.skip-link:focus{transform:none}:focus-visible{outline:3px solid var(--accent);outline-offset:4px;border-radius:5px}
.site-header{background:#fffdfb;border-bottom:1px solid var(--line)}.header-inner{max-width:1400px;margin:auto;min-height:94px;padding:18px 40px;display:flex;align-items:center;gap:32px}.brand{display:flex;align-items:center;gap:11px;font-size:19px;font-weight:800;line-height:1.15;white-space:nowrap}.brand-mark{font-size:34px;line-height:44px;background:var(--tint);border-radius:15px;width:47px;height:47px;text-align:center;color:var(--accent);letter-spacing:-4px;padding-right:4px}.brand-mark span{color:#aa92c4}.brand-caption{display:block;font-size:12px;font-weight:600;color:var(--muted);letter-spacing:.2px;margin-top:4px}.main-nav{display:flex;align-items:center;justify-content:center;gap:5px;flex:1}.nav-link{padding:10px 11px;border-radius:11px;color:var(--muted);font-size:13px;font-weight:700;display:flex;align-items:center;gap:7px;white-space:nowrap;transition:background .18s,color .18s}.nav-link .icon{width:17px;height:17px}.nav-link:hover,.nav-link.active{color:var(--accent);background:var(--tint)}.header-actions{display:flex;align-items:center;gap:11px}.header-actions form{display:flex}.header-note{margin-left:auto;color:var(--muted);font-size:13px}.menu-button{display:none!important}.avatar{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:16px;background:var(--tint);color:var(--accent);font-size:20px;font-weight:800;flex-shrink:0}.small-avatar{height:35px;width:35px;border-radius:50%;font-size:15px}.large-avatar{height:60px;width:60px;font-size:26px;border-radius:20px}.main-container{max-width:1240px;padding:42px 32px 64px;margin:auto;min-height:calc(100vh - 170px)}.site-footer{max-width:1240px;margin:auto;padding:23px 32px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:15px}.demo-strip{background:#eae5d8;color:#62563f;font-size:11px;line-height:1.4;padding:6px 32px;display:flex;align-items:center;justify-content:center;gap:24px}.demo-switch{display:flex;gap:8px}.demo-switch button{border:0;background:transparent;font-size:11px;text-decoration:underline;text-underline-offset:3px;color:inherit;padding:1px 5px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:var(--muted);margin-bottom:10px;display:block}.subtitle{font-size:15px;color:var(--muted);margin:0}.date-label{text-align:right;font-weight:750;font-size:16px;white-space:nowrap}.date-label .muted{font-size:12px;font-weight:500}.greeting-dot{color:#d5b26f;font-size:28px}.card{padding:28px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:10px 19px;background:var(--accent);border:1px solid var(--accent);border-radius:11px;color:#fff;font-size:13px;line-height:1.4;font-weight:750;transition:background .18s,transform .18s;white-space:normal}.button:hover{filter:brightness(.96);transform:translateY(-1px)}.button.ghost{background:transparent;color:var(--accent);border-color:#dcd6e8}.button.small{padding:9px 13px;min-height:39px;font-size:12px}.button.tiny{padding:5px 8px;min-height:31px;font-size:11px}.button.danger{background:#99554e;border-color:#99554e;color:white}.button.danger.ghost{color:#99554e;background:transparent;border-color:#e6ceca}.icon-button{background:transparent;border:0;border-radius:9px;min-width:36px;min-height:36px;padding:7px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);transition:background .15s}.icon-button:hover{background:var(--tint);color:var(--accent)}.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--accent);font-weight:750;font-size:13px}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.back-link{display:inline-block;color:var(--muted);font-size:13px;margin-bottom:18px}.back-link:hover{color:var(--accent)}.text-button{border:0;background:none;padding:0;font-size:12px;color:var(--accent)}.danger-text{color:#9a4e47}.icon-tile{height:49px;width:49px;display:inline-flex;align-items:center;justify-content:center;border-radius:16px;background:var(--tint);color:var(--accent);flex-shrink:0}.icon-tile .icon{height:24px;width:24px}.small-tile{height:37px;width:37px;border-radius:11px}.small-tile .icon{height:20px;width:20px}.sage{background:var(--sage);color:#446c5c}.peach{background:var(--peach);color:#92523d}.sky{background:var(--sky);color:#39678c}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:24px}.section-heading h2{margin:0;font-size:18px}.section-heading .eyebrow{margin-bottom:5px}.count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:27px;background:var(--tint);color:var(--accent);border-radius:9px;font-size:12px;font-weight:800}.badge,.tag{font-size:11px;line-height:1.4;font-weight:750;padding:5px 9px;border-radius:7px;display:inline-flex;align-items:center;white-space:normal}.badge{background:#f0eef4;color:#655b79}.tag{background:#f5f4f1;color:#716959}.badge.done,.badge.completed,.badge.approved,.badge.active,.badge.closed{background:#e9f0e9;color:#446c5c}.badge.working,.badge.sent,.badge.seen{background:#edf0f8;color:#45658d}.badge.revision,.badge.paused{background:#faeee0;color:#90653c}.badge.cancelled,.badge.archived{background:#f6e9e5;color:#97534d}.overdue-label{color:#9b5746;font-size:12px}.pill{display:inline-flex;align-items:center;gap:8px;font-size:11px;background:#fff9;border:1px solid #fff9;padding:7px 11px;border-radius:8px;font-weight:700}
.dashboard-grid{display:grid;grid-template-columns:1.12fr 1fr;gap:24px}.lesson-hero{background:var(--tint);border-color:var(--tint);position:relative;overflow:hidden;padding:30px 32px;min-height:350px}.hero-grid{position:absolute;right:-50px;top:100px;width:250px;height:250px;transform:rotate(-18deg);background-image:linear-gradient(#9e8bb11b 1px,transparent 1px),linear-gradient(90deg,#9e8bb11b 1px,transparent 1px);background-size:25px 25px;border-radius:50%;mask-image:radial-gradient(circle,#0009,transparent 68%);pointer-events:none}.lesson-hero>*:not(.hero-grid){position:relative}.hero-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.hero-symbol{font-family:Georgia,serif;color:var(--accent);opacity:.3;font-size:65px;line-height:36px;transform:rotate(12deg)}.hero-date{font-size:14px;margin-bottom:4px}.hero-time{font-size:40px;font-weight:750;letter-spacing:-1px;margin-bottom:0}.hero-time span{font-size:26px;font-weight:500;color:var(--muted)}.timezone-label{font-size:11px;color:var(--muted);margin-bottom:18px}.hero-note{font-size:13px;color:var(--muted);max-width:380px}.hero-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:25px}.task-list{margin-bottom:21px}.task-row{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #f1eeea}.task-row:last-child{border-bottom:none}.task-row strong{font-size:14px;font-weight:750}.task-row .muted{font-size:12px;margin-top:3px}.task-row>.icon{margin-left:auto;color:#a8a2b5}.task-row:hover strong{color:var(--accent)}.task-check{height:22px;width:22px;border:1.5px solid #d8d2e2;border-radius:7px;flex-shrink:0;display:grid;place-items:center;color:var(--accent)}.task-check.working{background:var(--tint);font-size:27px;line-height:18px}.progress-total{font-size:26px;font-weight:800;color:var(--accent)}.progress-total small{font-size:14px;font-weight:500}.topic-mini{padding:14px 0;border-top:1px solid #f0eeeb}.topic-mini strong{font-size:13px;font-weight:700}.topic-mini .muted{font-size:11px}.stars{display:inline-flex;gap:6px;line-height:1;font-size:21px;margin:10px 0 3px;white-space:nowrap}.stars .filled{color:#9a753e}.stars .unfilled{color:#dfd9ce}.goal-card{background:#fdfaf5}.goal-card .eyebrow{margin:0}.goal-card h2{font-size:24px;margin-top:24px;max-width:330px}.goal-card p{font-size:13px;max-width:330px}.goal-progress{display:flex;align-items:center;gap:14px;margin:22px 0 24px;font-size:12px;color:var(--muted)}.progress-track{height:7px;border-radius:8px;background:#eae6e0;overflow:hidden;flex:1}.progress-track span{display:block;height:100%;background:var(--accent);border-radius:8px}.encouragement{display:flex;align-items:center;gap:12px;margin-top:28px;font-size:12px;color:var(--muted);padding:14px 0}.encouragement>.icon{color:#b49a6d}.encouragement a{margin-left:auto;color:var(--accent);font-weight:700;white-space:nowrap}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:30px}.stat-card{border:1px solid var(--line);border-radius:18px;background:white;display:flex;justify-content:space-between;align-items:center;padding:20px;gap:10px;transition:border-color .2s}.stat-card:hover{border-color:#c6b9df}.stat-card .muted{font-size:12px}.stat-card strong{display:block;font-size:34px;line-height:1.3;font-weight:750}.stat-card .icon-tile{width:42px;height:42px;border-radius:13px}.teacher-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:24px;align-items:start}.lesson-row{display:flex;align-items:center;gap:15px;padding:19px 0;border-top:1px solid #f0ece7}.lesson-row:first-child{border-top:0}.lesson-time{font-size:16px;font-weight:750;width:65px;flex-shrink:0;line-height:1.3}.lesson-time span{display:block;font-size:11px;font-weight:500;color:var(--muted);margin-top:3px}.lesson-time span.date-short{color:var(--accent);font-size:12px;font-weight:700;margin-bottom:5px}.lesson-line{height:40px;width:3px;border-radius:3px;background:#c2b6d8;flex-shrink:0}.lesson-row .muted{font-size:12px}.lesson-row .badge{font-size:10px}.lesson-row h3{font-size:14px}.lesson-row p{margin:4px 0 0}.review-row{display:flex;align-items:center;gap:12px;padding:17px 0;border-top:1px solid #f0ece7}.review-row strong{font-size:13px}.review-row .muted{font-size:12px}.review-row>.icon{color:#a8a2b5}.review-row:hover strong{color:var(--accent)}.inquiry-preview{padding:12px 0}.inquiry-preview h3{font-size:16px}.inquiry-preview p{font-size:13px}.student-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.student-card{transition:transform .2s,border-color .2s}.student-card:hover{transform:translateY(-3px);border-color:#c9bfdc}.student-card h2{margin-top:22px;margin-bottom:4px}.student-card p{font-size:13px}.student-next{border-top:1px solid var(--line);padding:16px 0;display:flex;gap:9px;align-items:center;font-size:12px;color:var(--muted)}.student-context{padding:0 0 26px;margin-bottom:28px;border-bottom:1px solid var(--line)}.student-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.student-heading strong{font-size:19px}.student-heading .muted{font-size:12px}.student-tabs{display:flex;gap:5px;flex-wrap:wrap;margin-top:23px}.student-tabs a{font-size:12px;padding:8px 13px;border-radius:9px;color:var(--muted);font-weight:700}.student-tabs a:hover,.student-tabs a.selected{background:var(--tint);color:var(--accent)}
.grid-three{display:grid;grid-template-columns:repeat(3,1fr);gap:23px}.grid-two{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.stack{display:flex;flex-direction:column;gap:22px}.empty{padding:45px 18px;text-align:center;color:var(--muted)}.empty>.icon{width:34px;height:34px;color:#a699b5;margin-bottom:19px}.empty h2,.empty h3{color:var(--ink);margin-bottom:8px}.empty h2{font-size:22px}.empty p{font-size:13px;max-width:360px;margin:0 auto 20px}.empty.compact{padding:20px 8px}.empty.compact>.icon{width:26px;height:26px;margin-bottom:12px}.empty.compact h3{font-size:16px}.empty.compact p{margin-bottom:6px}.material-card{display:flex;flex-direction:column}.material-card h2{font-size:19px;margin-top:20px}.material-card .muted{font-size:13px;overflow-wrap:anywhere}.record-actions{display:flex;justify-content:flex-end;gap:3px;margin-top:14px}.topic-card h2{margin-bottom:17px;font-size:19px}.topic-card p{font-size:13px;margin-top:16px}.score-label{font-size:26px;color:var(--accent)}.score-label span{font-size:13px;color:var(--muted);font-weight:500}.info-line{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--muted);margin-bottom:27px}.assignment-list-card h2{font-size:21px;margin-top:16px;margin-bottom:7px}.assignment-list-card p{font-size:13px}.table-card{padding:12px 24px}.results-table{width:100%;border-collapse:collapse;text-align:left}.results-table th{font-size:11px;color:var(--muted);font-weight:750;padding:15px 12px;border-bottom:1px solid var(--line);white-space:nowrap}.results-table td{padding:19px 12px;font-size:13px;border-bottom:1px solid #f0ece7;vertical-align:top;overflow-wrap:anywhere}.results-table tr:last-child td{border-bottom:0}.results-table .record-actions{margin:0;justify-content:flex-start}.results-table .muted{font-size:11px}.goal-detail h2{margin-top:20px}.goal-detail p{font-size:13px}.goal-steps{margin-bottom:15px}.step-row{display:flex;align-items:center;gap:10px;padding:11px 0;font-size:13px;border-bottom:1px solid #f1eeea}.step-check{height:21px;width:21px;border:1px solid #cfc7dc;border-radius:50%;flex-shrink:0}.step-check.completed{background:var(--accent);color:white;border-color:var(--accent);display:grid;place-items:center;font-size:11px}.completed-text{color:var(--muted)}.step-form input{min-width:0;flex:1}.messages-grid{display:grid;grid-template-columns:.9fr 1.2fr;gap:24px;align-items:start}.question-form h2{margin-top:18px}.question-form p{font-size:13px}.inquiry-card h2{margin-top:16px;font-size:19px}.inquiry-card p{font-size:14px}.reply-box{padding:18px;background:var(--tint);border-radius:13px;margin-top:20px}.reply-box p{margin-bottom:0}.inquiry-card details{margin-top:20px}.inquiry-card details form{margin-top:18px}.assignment-layout{display:grid;grid-template-columns:1.45fr 1fr;gap:24px;align-items:start}.assignment-description{font-size:15px;margin:22px 0}.status-form{padding-top:20px;margin-top:20px;border-top:1px solid var(--line)}.status-form select{flex:1;min-width:0}.submission{border-top:1px solid var(--line);padding:20px 0}.submission:last-child{padding-bottom:0}.submission p{font-size:14px;margin-top:15px}.attachment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:15px}.attachment{min-width:0;border:1px solid var(--line);border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:6px}.attachment img{width:100%;height:130px;object-fit:cover;border-radius:6px;background:#f4f2ee}.attachment-name{font-size:11px;font-weight:700;overflow-wrap:anywhere}.attachment-name:hover{color:var(--accent)}.pdf-icon{height:120px;display:grid;place-items:center;background:var(--tint)}.pdf-icon .icon{height:35px;width:35px;color:var(--accent)}.review-form{margin-top:18px}.review-form textarea{margin-bottom:12px}.comment{padding:16px 0;border-bottom:1px solid var(--line)}.comment p{margin-bottom:0;margin-top:9px;font-size:14px}.comment:last-of-type{margin-bottom:20px}.upload-card h2{margin-top:18px}.upload-card>.muted{font-size:13px}.upload-zone{display:flex;align-items:center;flex-direction:column;gap:8px;text-align:center;padding:22px 12px;border:1.5px dashed #cdc2df;border-radius:14px;margin:18px 0 12px;cursor:pointer;background:#faf8fd;overflow:hidden}.upload-zone .icon{color:var(--accent);height:26px;width:26px}.upload-zone strong{font-size:13px}.upload-zone span{font-size:11px;color:var(--muted)}.upload-zone input{font-size:11px;background:transparent;border:0;padding:4px;max-width:100%}.upload-zone .selected-files{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--accent);max-width:100%}.upload-card .stack{gap:10px;margin-top:20px}.submission-info h2{margin-top:20px}.submission-info p,.help-card p{font-size:13px}.help-card h3{margin-top:18px}
label{display:block;font-weight:700;font-size:13px;margin-bottom:7px}input:not([type=checkbox]):not([type=hidden]),select,textarea{width:100%;border:1px solid #ddd8e4;border-radius:10px;min-height:44px;padding:10px 12px;background:#fff;color:var(--ink);outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #6c5b9e15}textarea{resize:vertical;line-height:1.6}input::placeholder,textarea::placeholder{color:#96909d;font-size:12px}input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px}input[type=color]{padding:5px!important;max-width:120px;cursor:pointer}.form-field{margin-bottom:22px}.checkbox-field{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.checkbox-field label{margin:0}.checkbox-field .field-help{flex-basis:100%}.form-field ul{list-style:none;padding:0}.form-field #id_students{display:grid;grid-template-columns:1fr 1fr;gap:8px}.form-field #id_students label{font-size:13px;font-weight:500;display:flex;align-items:center;gap:8px}.required{color:var(--accent);font-size:12px}.field-help{font-size:11px;color:var(--muted);margin:6px 0 0;font-weight:500}.field-error{font-size:12px;color:#a34f45;margin:6px 0 0;font-weight:700}.notice{display:flex;align-items:center;gap:10px;padding:13px 17px;background:#eaf2eb;color:#456d50;border-radius:12px;margin-bottom:19px;font-size:13px}.notice.error{background:#faebe7;color:#965148}.notifications{margin-bottom:20px}.form-actions{display:flex;align-items:center;gap:12px;margin-top:26px;flex-wrap:wrap}.editor-layout{display:grid;grid-template-columns:.65fr 1fr;gap:60px;align-items:start;max-width:1020px;margin:auto}.editor-intro{padding-top:22px}.editor-intro h1{font-size:32px}.editor-intro p{font-size:14px}.editor-card{padding:32px}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:28px;flex-wrap:wrap}.toolbar input{min-height:41px}.toolbar select{width:auto;min-width:170px;max-width:100%}.search-field{position:relative;display:flex;align-items:center;gap:9px;background:white;border:1px solid #e1dce7;border-radius:11px;margin:0;flex:1;max-width:450px;padding-left:13px}.search-field .icon{color:var(--muted);width:17px;height:17px}.search-field input{border:0!important;background:transparent!important;box-shadow:none!important}.segmented{display:inline-flex;gap:4px;border:1px solid var(--line);padding:4px;background:#eeece7;border-radius:11px}.segmented a{display:flex;align-items:center;gap:7px;padding:7px 15px;font-size:12px;font-weight:750;border-radius:8px;color:var(--muted)}.segmented a.selected{background:white;color:var(--accent);box-shadow:0 1px 4px #00000007}.toolbar .muted{font-size:11px;margin-left:auto}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:26px;font-size:12px}.export-tools{margin-top:32px;color:var(--muted);font-size:12px}.export-tools summary{display:inline-flex;align-items:center;gap:8px;cursor:pointer;list-style:none}.filter-row{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:16px;padding:18px;background:white;border:1px solid var(--line);border-radius:13px}.filter-row label{font-size:11px;min-width:145px;flex:1;margin:0}.filter-row input,.filter-row select{margin-top:5px;min-height:38px;font-size:12px}.filter-row button{min-width:120px}.calendar-card{padding:25px}.calendar-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.calendar-heading h2{font-size:21px;margin:0;text-transform:capitalize}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);padding-bottom:12px;font-size:11px;color:var(--muted);text-align:right}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.calendar-day{padding:10px 8px;min-height:115px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}.day-number{display:block;text-align:right;font-size:12px;margin-bottom:7px}.calendar-day.today .day-number{font-weight:800;color:var(--accent)}.calendar-day.today{background:#faf8fd}.calendar-day.other-month{background:#faf9f6;color:#756d7c}.calendar-event{border-radius:5px;padding:5px 6px;margin-top:5px;background:var(--tint);color:var(--accent);font-size:10px;line-height:1.5;overflow-wrap:anywhere}.calendar-event strong{display:block;font-size:11px}.calendar-event.cancelled{background:#f7e9e5;color:#97534d;text-decoration:line-through}.calendar-event a:hover{text-decoration:underline}.mobile-date{display:none}.palette-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:27px}.palette-option{border:1px solid var(--line);background:white;border-radius:12px;padding:12px 8px;font-size:11px;color:var(--muted);font-weight:700}.palette-option>span{display:flex;align-items:center;justify-content:center;width:45px;height:36px;border-radius:10px;margin:0 auto 7px}.palette-option i{height:17px;width:17px;border-radius:50%}.palette-option.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);color:var(--accent)}.theme-preview{height:fit-content;color:var(--ink)}.theme-preview h2{margin-top:12px;font-size:25px}.preview-lesson{background:var(--tint);padding:25px;border-radius:15px;margin-top:25px}.preview-lesson h3{margin-top:18px}.preview-lesson p{font-size:13px}.theme-preview .topic-mini{margin-top:25px;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.invitation-result{margin-top:22px;padding:18px;background:var(--tint);border-radius:13px}.invitation-result textarea{font-size:11px;margin:8px 0 12px}.invitation-history{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:10px 0;font-size:11px}
.login-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:100px;align-items:center;max-width:1030px;margin:30px auto}.login-intro h1{font-size:clamp(38px,4.5vw,58px);font-weight:750;letter-spacing:-2px;line-height:1.15;margin-top:24px;margin-bottom:22px}.login-intro>p:not(.eyebrow){color:var(--muted);font-size:16px;line-height:1.8}.login-card{padding:35px;max-width:430px}.login-card h2{font-size:27px;margin:22px 0 12px}.login-card>.muted{font-size:13px;margin-bottom:28px}.login-card .form-field{margin-bottom:18px}.security-note{display:flex;justify-content:center;align-items:center;gap:7px;font-size:10px;color:var(--muted);margin:21px 0 0}.security-note .icon{height:13px;width:13px}.math-art{height:260px;max-width:430px;position:relative;margin-top:25px}.math-circle{height:168px;width:168px;border:1px solid #c9bcdb;background:#eee8f56e;border-radius:50%;position:absolute;left:104px;top:36px;display:grid;place-items:center;font-family:Georgia,serif;font-size:62px;color:#8f7ba9;font-style:italic;transform:rotate(-12deg)}.math-grid{width:195px;height:175px;position:absolute;left:185px;top:72px;border-radius:4px;transform:rotate(17deg);background-image:linear-gradient(#ac9bb534 1px,transparent 1px),linear-gradient(90deg,#ac9bb534 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(90deg,transparent,#000)}.math-symbol{font-family:Georgia,serif;color:#a4a990;position:absolute}.symbol-one{font-size:65px;left:30px;top:100px;transform:rotate(-12deg)}.symbol-two{font-size:54px;right:24px;top:5px;transform:rotate(12deg);color:#bc9e8b}.math-label{position:absolute;left:210px;bottom:3px;color:#aa94bb;font-size:12px;transform:rotate(-8deg)}.intro-note{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px;margin-top:20px}.intro-note .icon{color:#b0959f;height:17px;width:17px}.centered-card{max-width:560px;margin:45px auto;padding:40px;text-align:center}.centered-card .icon-tile{margin-bottom:20px}.centered-card h1{font-size:29px}.centered-card>.muted{font-size:14px}.centered-card form{text-align:left;margin-top:25px}.centered-card .form-actions{justify-content:center}.centered-card form button.full{margin-top:18px}.otp-qr{max-width:240px;width:100%;display:block;margin:20px auto}
@media(min-width:1350px){body:has(.main-nav .nav-link:nth-child(8)) .header-inner{gap:20px;padding-left:28px;padding-right:28px}.nav-link{padding-left:9px;padding-right:9px}}
@media(max-width:1200px){.header-inner{padding:18px 24px;gap:20px}.main-nav{gap:1px}.nav-link{padding:9px;font-size:12px}.nav-link .icon{display:none}.header-actions{gap:7px}.brand{font-size:17px}.board-button{padding:7px 9px!important}.stats-grid{gap:12px}.stat-card{padding:17px}.stat-card .muted{font-size:11px}}
@media(max-width:1000px){.header-inner{min-height:83px;flex-wrap:wrap;gap:16px}.brand{margin-right:auto}.menu-button{display:inline-flex!important;order:2}.header-actions{order:1}.main-nav{display:none;order:3;flex-basis:100%;justify-content:flex-start;flex-wrap:wrap;padding-top:10px;border-top:1px solid var(--line)}.main-nav.open{display:flex}.nav-link .icon{display:block}.nav-link{padding:10px 13px;font-size:13px}.main-container{padding:33px 25px 50px}.teacher-grid{grid-template-columns:1.3fr 1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}.student-grid,.grid-three{grid-template-columns:repeat(2,1fr)}.login-layout{gap:50px}.login-intro h1{font-size:43px}.math-art{transform:scale(.8);transform-origin:left center;max-width:340px}.editor-layout{gap:30px;grid-template-columns:.7fr 1fr}.encouragement{align-items:flex-start}.encouragement a{white-space:normal}.assignment-layout{grid-template-columns:1.2fr 1fr}.card{padding:24px}.lesson-hero{padding:28px}.hero-bottom .text-link{font-size:12px}.hero-time{font-size:36px}.hero-time span{font-size:24px}}
@media(max-width:760px){h1{font-size:31px}.main-container{padding:28px 20px 45px}.page-heading{margin-bottom:25px;align-items:flex-start;flex-wrap:wrap}.page-heading>.button{font-size:12px;min-height:39px}.date-label{display:none}.dashboard-grid,.teacher-grid,.grid-two,.messages-grid,.assignment-layout,.editor-layout{grid-template-columns:1fr;gap:20px}.lesson-hero{min-height:310px}.hero-time{font-size:43px}.hero-time span{font-size:28px}.teacher-grid>.card{min-width:0}.grid-three,.student-grid{gap:17px}.student-heading{align-items:flex-start;flex-wrap:wrap}.student-context{margin-bottom:25px;padding-bottom:20px}.student-tabs{gap:3px}.student-tabs a{padding:7px 10px}.editor-intro{padding-top:0}.editor-intro .back-link{margin-bottom:0}.editor-card{padding:25px}.assignment-layout aside{order:-1}.assignment-layout:has(.upload-card) aside{order:1}.upload-zone{padding:26px}.assignment-description{font-size:14px}.attachment-grid{grid-template-columns:repeat(3,1fr)}.table-card{padding:12px 20px}.results-table thead{display:none}.results-table,.results-table tbody,.results-table tr,.results-table td{display:block;width:100%}.results-table tr{padding:16px 0;border-bottom:1px solid var(--line)}.results-table tr:last-child{border:0}.results-table td{border:0;padding:7px 0;display:flex;gap:14px;flex-wrap:wrap}.results-table td:before{content:attr(data-label);color:var(--muted);font-size:11px;min-width:80px;flex-shrink:0}.results-table td .block{flex-basis:100%;padding-left:94px}.results-table td .record-actions{margin-left:85px}.results-table td:has(.empty):before{display:none}.calendar-card{padding:18px}.calendar-weekdays{display:none}.calendar-grid{display:block;border:0}.calendar-day{min-height:0;border:0;border-bottom:1px solid var(--line);padding:12px 0}.calendar-day.other-month{display:none}.calendar-day:not(:has(.calendar-event)){display:none}.calendar-day .day-number{display:none}.mobile-date{display:block;font-size:12px;color:var(--muted);text-transform:capitalize}.calendar-day.today{background:transparent}.calendar-event{padding:10px 12px;font-size:13px;margin:8px 0}.calendar-event strong{font-size:13px;display:inline;margin-right:8px}.calendar-event small{margin-left:8px}.calendar-grid:not(:has(.calendar-event)):after{content:'В этом месяце занятий пока нет';display:block;color:var(--muted);text-align:center;padding:40px 15px;font-size:13px}.login-layout{display:block;max-width:460px;margin:0 auto}.login-intro{padding:20px 5px 30px}.login-intro .math-art{display:none}.login-intro h1{font-size:40px;margin-top:18px}.login-intro .intro-note{display:none}.login-intro p br{display:none}.login-card{max-width:none}.login-card h2{font-size:25px}.centered-card{margin:15px auto;padding:30px}.encouragement{flex-wrap:wrap;margin-top:20px}.encouragement a{margin-left:30px}.header-note{font-size:11px}.site-footer{padding:20px;font-size:11px}.theme-preview{order:-1}.preview-lesson{padding:20px}.theme-preview h2{font-size:24px}.question-form{position:static}}
@media(max-width:480px){.header-inner{padding:15px 18px;gap:9px}.brand{font-size:16px;gap:8px}.brand-mark{height:40px;width:40px;line-height:38px;font-size:31px;border-radius:12px}.brand-caption{font-size:10px}.header-actions{gap:3px}.header-actions .small-avatar{display:none}.board-button{font-size:11px!important;min-height:34px!important;padding:6px 8px!important}.board-button .icon{height:15px;width:15px}.menu-button{min-height:32px;min-width:32px}.main-container{padding:25px 16px 38px}.card{padding:21px;border-radius:18px}h1{font-size:28px;letter-spacing:-.8px}.subtitle{font-size:13px}.eyebrow{font-size:10px;letter-spacing:1px}.dashboard-grid{gap:17px}.lesson-hero{padding:25px;min-height:300px}.hero-time{font-size:39px}.hero-time span{font-size:25px}.hero-top{margin-bottom:22px}.hero-bottom{gap:15px}.stats-grid{gap:12px;margin-bottom:22px}.stat-card{padding:15px;gap:5px}.stat-card .muted{font-size:10px}.stat-card strong{font-size:29px}.stat-card .icon-tile{height:32px;width:32px;border-radius:10px}.stat-card .icon-tile .icon{height:18px;width:18px}.student-grid,.grid-three{grid-template-columns:1fr}.student-card{padding:23px}.student-heading .inline.wrap{gap:7px}.student-tabs a{font-size:11px;padding:7px 8px}.lesson-row{gap:9px;flex-wrap:wrap}.lesson-row .avatar{display:none}.lesson-row .lesson-time{width:47px;font-size:15px}.lesson-row .badge{margin-left:auto;max-width:93px}.lesson-row .icon-button{min-height:32px;min-width:32px;padding:6px}.lesson-row>.icon{display:none}.section-heading{gap:8px}.section-heading h2{font-size:17px}.section-heading .text-link{font-size:11px}.section-heading .inline{gap:9px}.small-tile{height:31px;width:31px;border-radius:9px}.stars{font-size:19px;gap:5px}.topic-card .stars{gap:4px}.topic-card .score-label{font-size:23px}.toolbar{gap:9px}.toolbar select{min-width:0;flex:1;font-size:12px}.search-field{flex-basis:100%;max-width:none}.segmented a{padding:7px 12px}.toolbar .muted{font-size:10px}.step-row{gap:7px;font-size:12px}.step-row .icon-button{min-width:29px;width:29px;min-height:29px;height:29px}.step-row .icon{width:16px;height:16px}.form-actions{gap:9px}.form-actions .button{padding:10px 15px}.attachment-grid{grid-template-columns:repeat(2,1fr)}.attachment img{height:150px}.demo-strip{padding:6px 12px;font-size:9px;gap:8px;justify-content:space-between}.demo-switch{gap:4px}.demo-switch button{font-size:10px;padding:3px}.demo-strip>span{max-width:180px}.site-footer{font-size:10px;gap:8px}.header-note{max-width:110px;text-align:right;font-size:10px}.theme-preview{order:0}.login-card{padding:26px}.login-intro h1{font-size:36px}.login-intro>.eyebrow{font-size:9px}.centered-card{padding:26px}.centered-card h1{font-size:25px}.centered-card>.muted{font-size:13px}.info-line{font-size:12px}.encouragement{font-size:11px}.export-tools{font-size:11px}.filter-row{padding:15px}.filter-row label{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}.button:hover,.student-card:hover{transform:none}}

.brand-mark{display:inline-flex;align-items:center;justify-content:center;letter-spacing:normal;padding-right:0}.brand-mark .icon{height:25px;width:25px}.link-card h2{font-size:19px;margin:0}.personal-link-row{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin-top:22px}.personal-link-row label{min-width:220px;margin:0}.personal-link-row textarea{font-size:12px;margin-top:6px;overflow-wrap:anywhere}.personal-link-row .button{margin-bottom:4px}@media(max-width:480px){.personal-link-row label{min-width:0;flex-basis:100%}.personal-link-row .button{margin:0}}

.lesson-dialog{width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 48px);padding:28px;border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--ink);box-shadow:0 24px 80px #302d3b30;overflow-y:auto}.lesson-dialog::backdrop{background:#302d3b66;backdrop-filter:blur(3px)}.lesson-dialog .section-heading{margin-bottom:14px}.lesson-create-form{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.lesson-create-form .form-field:has(#id_student),.lesson-create-form .form-field:has(#id_title),.lesson-create-form .form-field:has(#id_note),.lesson-create-form .form-field:has(#id_repeat_until),.lesson-create-form .notice,.lesson-create-form .form-actions{grid-column:1/-1}.lesson-create-form .form-actions{margin-top:5px}.lesson-dialog label{font-size:13px}@media(max-width:480px){.lesson-dialog{padding:21px;border-radius:18px;max-height:calc(100dvh - 32px)}.lesson-create-form{grid-template-columns:1fr}.lesson-dialog .section-heading h2{font-size:20px}}

/* Usability improvements: readable secondary text and task-first layouts. */
.field-help,.small-text,.date-short,.timezone-label,.badge,.eyebrow,.student-tabs a{font-size:12px}
input,select,textarea{font-size:16px}
.updates-panel{margin-bottom:24px;padding:18px 22px}
.updates-panel summary{cursor:pointer;font-weight:750;color:var(--ink)}
.updates-panel .stack{margin-top:18px;max-height:340px;overflow:auto}
.updates-panel form{border-top:1px solid var(--line);padding-top:12px}
.schedule-date{font-size:18px;margin:24px 0 8px;text-transform:capitalize}
.badge.revision{background:#f8e6df;color:#853f32}
.badge.paused{background:#faeee0;color:#79512d}
.badge.draft{background:#edf0fa;color:#425783}
.badge.new{background:#efebf7;color:#594580}
.draft-hint{margin-top:14px}
@media(max-width:760px){
 .assignment-layout{display:grid;grid-template-columns:minmax(0,1fr)}
 .assignment-content{display:contents}
 .assignment-content>section:first-child{grid-row:1}
 .assignment-layout aside,.assignment-layout:has(.upload-card) aside{order:0;grid-row:2}
 .solution-history{grid-row:3}.comment-history{grid-row:4}
 .assignment-layout .help-card{padding:16px}.assignment-layout .help-card .icon-tile{display:none}
 .lesson-hero{min-height:0;padding:22px}.hero-top{margin-bottom:14px}.hero-bottom{margin-top:18px}
 .dashboard-grid .card{padding:22px}.dashboard-grid{gap:16px}
 .main-container{padding-top:22px}.page-heading{margin-bottom:20px}
 .schedule-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;padding:18px 0}
 .schedule-row .lesson-time{grid-column:1/-1;display:flex;gap:12px;align-items:center;width:auto;font-size:17px}
 .schedule-row .lesson-time .date-short{display:none}
 .schedule-row .lesson-time span{font-size:14px}
 .schedule-row .lesson-line{display:none}
 .schedule-row .grow{grid-column:1/-1;width:100%;min-width:0}
 .schedule-row .grow h3{font-size:17px;line-height:1.45}
 .schedule-row .badge{margin:0;max-width:none;justify-self:start}
 .schedule-row .icon-button{min-height:40px;min-width:40px}
 .student-tabs{gap:6px}.student-tabs a{padding:10px 12px;font-size:13px}
 .stat-card .muted,.section-heading .text-link,.toolbar .muted,.site-footer,.field-help{font-size:12px}
 .stats-grid .stat-card{padding:16px}.stats-grid .stat-card .icon-tile{display:none}
 .header-actions .icon-button,.menu-button{min-height:40px;min-width:40px}
}

/* Shared controls and readable layouts across desktop, tablet and phone. */
:root{--shadow:0 3px 16px #302d3b04}
body{overflow-wrap:anywhere}
main:focus{outline:none}
fieldset{min-width:0;border:0;padding:0}
legend,label{font-size:14px;font-weight:750}
legend{margin-bottom:8px}
.page-heading>div,.row-between>div,.student-heading>.inline{min-width:0}
.page-heading{align-items:flex-start}
.page-heading>.inline{flex-shrink:0;max-width:100%}
.card h2{line-height:1.4}
.assignment-condition-title{margin-top:18px}
.button,.button.small{font-size:14px;min-height:44px}
.button.tiny{font-size:13px;min-height:36px}
.icon-button{min-height:40px;min-width:40px}
.text-link,.back-link,.text-button{font-size:14px;line-height:1.6}
.text-link,.back-link{padding-block:3px}
.back-link{margin-bottom:14px}
.text-button{min-height:32px;text-align:left}
.badge,.tag,.field-help,.small-text,.timezone-label,.site-footer{font-size:13px}
.task-row strong,.review-row strong,.lesson-row h3{font-size:15px}
.task-row strong{display:block;margin-bottom:4px}
.task-row .muted,.review-row .muted,.lesson-row .muted,.student-next,.student-card p{font-size:13px}
.lesson-row .badge{font-size:12px}
.topic-mini strong,.topic-mini .muted,.goal-card p,.goal-detail p,.assignment-list-card p,.material-card .muted{font-size:14px}
.section-heading .text-link,.stat-card .muted,.toolbar .muted,.filter-row label{font-size:13px}
.topic-mini .row-between{flex-wrap:wrap}
.search-field:focus-within{outline:2px solid var(--accent);outline-offset:2px}
input:not([type=checkbox]):not([type=hidden]),select,textarea{min-width:0;font-size:16px}
input::placeholder,textarea::placeholder{font-size:14px;color:#716b7b;opacity:1}
input[type=checkbox]{flex-shrink:0}
.checkbox-field label,.form-field #id_students label{min-height:36px;align-content:center}
.form-field #id_students label{font-size:14px}
.error-summary{display:block;scroll-margin-top:24px}
.error-summary ul{list-style:disc;margin:8px 0 0;padding-left:22px}
.error-summary a{text-decoration:underline;text-underline-offset:3px}
.error-summary>span{display:block;margin-top:8px}
.error-summary:focus{outline:3px solid #965148;outline-offset:4px}
[aria-invalid=true]{border-color:#a34f45!important}
.password-field{display:flex;gap:8px;align-items:center}
.password-toggle{background:var(--tint);color:var(--accent);border:0;border-radius:9px;min-height:44px;padding:8px 10px;font-size:13px;font-weight:750}
.schedule-periods{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.schedule-periods a{padding:9px 14px;border:1px solid var(--line);border-radius:10px;font-size:14px;background:#fff;color:var(--muted)}
.schedule-periods a[aria-current]{background:var(--tint);color:var(--accent);border-color:var(--accent);font-weight:750}
.calendar-weekdays,.day-number,.calendar-event,.calendar-event strong{font-size:13px}
.calendar-event a{display:block;padding-block:3px}
.calendar-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-heading{gap:10px}
.calendar-heading .icon-button{flex-shrink:0}
.upload-zone input{font-size:13px!important;padding:8px!important;background:#fff!important}
.upload-zone input::file-selector-button{border:0;border-radius:6px;background:var(--tint);color:var(--accent);padding:8px;margin-right:8px;font:inherit}
.upload-zone span,.upload-zone .selected-files{font-size:13px}
.upload-zone:focus-within{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:2px}
.attachment-name{font-size:13px}
.inquiry-card:target{border-color:var(--accent);box-shadow:0 0 0 2px var(--tint)}
.inquiry-card summary{cursor:pointer;min-height:44px}
.inquiry-card .reply-box{border-left:3px solid var(--accent)}
.export-tools summary{min-height:44px;font-size:13px}
.updates-panel summary{min-height:28px}
.updates-panel form .text-button{width:100%;padding:6px 0}
.form-actions{border-top:1px solid var(--line);padding-top:20px}
.editor-card .form-field:last-of-type{margin-bottom:0}
@media(min-width:761px){.editor-intro{position:sticky;top:24px}.theme-preview{position:sticky;top:24px}}
@media(max-width:1000px){
  .main-nav.open{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .nav-link{white-space:normal;min-height:44px}
  .page-heading>.inline{flex-shrink:1}
}
@media(max-width:760px){
  .button.small,.button.tiny,.icon-button,.header-actions .icon-button,.menu-button,.lesson-row .icon-button,.step-row .icon-button{min-height:44px;min-width:44px}
  .button.small,.button.tiny{font-size:13px}
  .main-nav.open{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nav-link{font-size:14px;padding:11px}
  .header-inner{padding:12px 16px;min-height:76px}
  .header-actions{gap:2px}
  .student-context{margin-bottom:20px;padding-bottom:18px}
  .student-context .back-link{margin-bottom:12px}
  .student-heading{gap:14px}
  .student-tabs{margin-top:16px;gap:4px}
  .student-tabs a{min-height:44px;padding:10px 12px;font-size:14px}
  .editor-layout{gap:14px}
  .editor-intro h1{font-size:28px;letter-spacing:-.7px}
  .editor-intro p{margin-bottom:10px}
  .editor-intro .eyebrow{margin-bottom:8px}
  .editor-card{padding:22px}
  .form-actions .button{flex:1}
  .toolbar{align-items:stretch}
  .toolbar select{flex-basis:160px;font-size:16px}
  .toolbar .button{flex-grow:1}
  .toolbar>.muted{margin-left:0;align-self:center}
  .schedule-periods{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .schedule-periods a{text-align:center;padding:10px 8px;font-size:13px}
  .schedule-row .lesson-time{font-size:18px}
  .schedule-row .lesson-time span{font-size:15px}
  .teacher-grid a.lesson-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px 12px}
  .teacher-grid a.lesson-row .lesson-time{grid-column:1;grid-row:1 / span 2;width:auto;align-self:start;padding-top:3px}
  .teacher-grid a.lesson-row .lesson-line,.teacher-grid a.lesson-row .avatar,.teacher-grid a.lesson-row>.icon{display:none}
  .teacher-grid a.lesson-row .grow{grid-column:2;grid-row:1}
  .teacher-grid a.lesson-row .badge{grid-column:2;grid-row:2;max-width:none;margin:0;justify-self:start}
  .calendar-event a{padding-block:6px}
  .calendar-heading h2{font-size:19px}
  .results-table td:before{font-size:13px}
  .step-row{flex-wrap:wrap;font-size:14px}
  .step-row>.grow{flex-basis:calc(100% - 40px)}
  .step-row form:first-of-type{margin-left:28px}
  .attachment img{height:120px}
  .form-field #id_students{grid-template-columns:1fr}
  .encouragement{font-size:13px}
  .encouragement a{margin-left:0}
  .security-note{font-size:12px}
  .site-footer{font-size:12px;flex-wrap:wrap}
}
@media(max-width:360px){
  .header-inner{padding-inline:12px;gap:4px}
  .brand{gap:6px;font-size:15px}
  .brand-mark{height:34px;width:34px}
  .header-actions .board-button{padding:6px!important;font-size:12px!important}
  .header-actions .board-button .icon{display:none}
  .hero-time{font-size:35px}.hero-time span{font-size:23px}
  .dashboard-grid .card,.card{padding:18px}
  .section-heading{flex-wrap:wrap}
  .palette-options{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Attachments remain readable with long names on narrow screens. */
.record-files { display: grid; gap: .6rem; margin-block: 1rem; min-width: 0; }
.record-file { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.file-download { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.file-download > span:not(.file-size) { flex: 1; min-width: 0; }
.file-size { display: block; flex-basis: 100%; font-size: .8rem; color: var(--muted, #635e6e); }
.file-download .icon { flex-shrink: 0; }
.pending-file { display: flex; align-items: baseline; justify-content: space-between; gap: .6rem; margin-block: .4rem; }
.pending-file > span { overflow-wrap: anywhere; min-width: 0; }
.pending-file > button { flex-shrink: 0; }
input[type="file"] { max-width: 100%; min-width: 0; }
.selected-files { overflow-wrap: anywhere; white-space: normal; }
