/* Одобрен модел — обща рамка, плътност и компоненти. */
:root{--model-navy:#11294a;--model-blue:#607a94;--model-coral:#cd5148;--model-teal:#168b8d;--model-cream:#fffaf4;--model-line:#dfe6e9;--model-green:#dff6e5;--model-amber:#fff0d2;--model-red:#fde0df}
html{font-size:16px}body,button,input,select,textarea{font-family:Arial,"Segoe UI",sans-serif!important}body{color:var(--model-navy)!important;background:#fbfcfb!important}.app-shell{background:linear-gradient(135deg,#fffdfa 0,#f9fcfb 62%,#fffaf5 100%)!important}
.sidebar{width:268px!important;padding:15px 16px 20px!important;border-right:1px solid #ece8e2!important;background:linear-gradient(180deg,#fffaf4 0%,#fffdfa 67%,#fff1e7 100%)!important;box-shadow:none!important}.workspace{width:calc(100% - 268px)!important;margin-left:268px!important}
.brand-mark{display:flex!important;align-items:center!important;min-height:56px!important;margin:0 4px 8px!important}.brand-mark img{width:58px!important;height:46px!important;object-fit:contain!important}.sidebar-platform-name{position:absolute!important;top:23px!important;left:83px!important;margin:0!important;padding:0!important;border:0!important}.sidebar-platform-name strong{font-size:19px!important;line-height:1.05!important;color:var(--model-navy)!important}.sidebar-platform-name small{display:block!important;margin-top:4px!important;font-size:10px!important;line-height:1.2!important;color:#657b8b!important}
.sidebar nav{margin-top:15px!important;gap:4px!important}.sidebar nav .nav-item,.sidebar-bottom>.nav-item{min-height:48px!important;padding:0 14px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#24415f!important;font-size:14px!important;font-weight:600!important}.sidebar .nav-icon{width:29px!important;height:29px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#607b92!important;font-size:15px!important}.sidebar .nav-item.active{background:linear-gradient(135deg,#d85b52,#bd443e)!important;color:#fff!important;box-shadow:0 8px 18px #c94a4327!important}.sidebar .nav-item.active .nav-icon{background:transparent!important;color:#fff!important}
.sidebar-bottom{margin-top:7px!important;padding-top:7px!important;border-top:1px solid #eadfd7!important;background:transparent!important}.sidebar-bottom>#admin-profiles{border:0!important;background:transparent!important;color:#24415f!important}.sidebar-bottom>#admin-profiles.active{background:linear-gradient(135deg,#d85b52,#bd443e)!important;color:#fff!important}.sidebar-bottom .user-card{display:none!important}.sidebar:after{position:absolute!important;left:30px!important;bottom:74px!important;width:115px!important;margin:0!important;color:var(--model-teal)!important;font-size:13px!important;line-height:1.35!important}
.topbar{height:62px!important;padding:0 28px!important;border-bottom:1px solid #eceae6!important;background:#fffefa!important;box-shadow:none!important}.topbar .search{width:min(550px,43vw)!important;height:36px!important;border:1px solid #dfe5e8!important;border-radius:7px!important;box-shadow:0 2px 5px #23384a0a!important}.topbar .search-symbol{width:34px!important;height:34px!important;background:transparent!important;color:#355a7c!important}.topbar .search input{font-size:12px!important;color:#526b83!important}.topbar kbd{font-size:9px!important}
.topbar-branch-select{display:block!important;margin-left:auto!important}.topbar-branch-select .branch-select-trigger{height:38px!important;min-width:176px!important;padding:0 12px!important;border:1px solid #e2ded8!important;border-radius:7px!important;background:#fffaf5!important}.topbar-branch-select .branch-select-copy{display:block!important}.topbar-branch-select .branch-select-copy small{display:none!important}.topbar-branch-select .branch-select-copy strong{font-size:11px!important}.topbar-branch-select .branch-color-dot{width:16px!important;height:16px!important}.icon-button{width:36px!important;height:36px!important;border:0!important;background:transparent!important;color:#65788a!important}.profile-button{min-width:190px!important;height:46px!important;padding:0 8px!important;border:0!important;background:transparent!important}.profile-button .avatar{width:36px!important;height:36px!important;background:#168b8d!important;color:#fff!important}.profile-button-copy strong{font-size:11px!important}.profile-button-copy small{font-size:9px!important;color:#60758a!important}
.content,.content:not(.calendar-home){max-width:none!important;padding:22px 24px 45px!important;background:transparent!important}.welcome-row{margin:0 0 15px!important;padding:0!important}.welcome-row .eyebrow{display:none!important}.welcome-row h1{font-size:27px!important;line-height:1.05!important;letter-spacing:-.035em!important;color:var(--model-navy)!important}.welcome-row .subtitle{font-size:13px!important;color:#647b90!important}
.primary-button{min-height:39px!important;padding:0 17px!important;border:0!important;border-radius:8px!important;background:linear-gradient(135deg,#d85b52,#bf443e)!important;font-size:12px!important;box-shadow:0 7px 16px #c4484127!important}.outline-button,.row-button,.danger-outline-button{min-height:36px!important;padding:0 13px!important;border:1px solid #dfe4e6!important;border-radius:7px!important;background:#fff!important;color:#34516d!important;font-size:11px!important}
.panel,.records-panel,.personal-info-card,.enrollment-card,.program-entry-card,.group-category,.homework-notebook,.day-status-panel,.statistics-summary-card,.feedback-controls,.parent-portal-controls{border:1px solid var(--model-line)!important;border-radius:10px!important;background:#fff!important;box-shadow:0 5px 16px #23384a0b!important}.content:not(.calendar-home)>.panel,.content:not(.calendar-home)>.records-panel{margin-top:12px!important}
.model-students-panel{overflow:hidden!important;padding:0!important}.model-panel-title{display:flex;align-items:center;gap:9px;padding:11px 14px 7px}.model-panel-title>span{color:var(--model-teal);font-size:17px}.model-panel-title strong{font-size:14px}.model-panel-title small{margin-left:auto;color:#7a8a96;font-size:10px}.model-student-filters{display:grid;grid-template-columns:minmax(210px,1.35fr) repeat(3,minmax(145px,.8fr));gap:10px;padding:7px 14px 10px}.model-student-filters input,.model-student-filters select{height:34px;padding:0 11px;border:1px solid #d9e3e9;border-radius:6px;background:#fff;color:#385673;font-size:11px}
.model-student-head,.model-student-row{display:grid;grid-template-columns:28px minmax(170px,1.35fr) .55fr .55fr .9fr .95fr .95fr .72fr;align-items:center;gap:8px}.model-student-head{padding:8px 14px;border-top:1px solid #edf0f1;border-bottom:1px solid #dfe6e9;background:#f5f8fa;color:#425d78;font-size:9px;font-weight:700}.model-student-row{width:100%;min-height:35px;padding:4px 14px;border:0;border-bottom:1px solid #e8edf0;background:#fff;color:#425a71;text-align:left;cursor:pointer}.model-student-row:hover{background:#f9fbfc}.model-student-row[hidden]{display:none}.model-student-row>span,.model-student-row>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.model-student-row>strong{color:#183654;font-size:11px}.model-check{width:13px;height:13px;border:1px solid #aec0d0;border-radius:3px;background:#fff}.model-status{display:block;padding:4px 7px;border-radius:5px;text-align:center;font-size:9px!important}.model-status:before{display:inline-grid;place-items:center;width:13px;height:13px;margin-right:5px;border-radius:50%;color:#fff;font-size:8px;font-weight:900}.model-status.ok{background:var(--model-green);color:#267243}.model-status.ok:before{content:"✓";background:#39a64f}.model-status.wait{background:var(--model-amber);color:#9a6514}.model-status.wait:before{content:"•";background:#efa522}.model-status.bad{background:var(--model-red);color:#ae3935}.model-status.bad:before{content:"!";background:#d9433d}.model-actions{color:#315979!important;text-align:center;letter-spacing:.05em}
.group-category{overflow:hidden!important}.group-category-head,.small-group-detail-head,.feedback-list-head{padding:13px 15px!important;background:#f8fafb!important}.education-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.small-group-card,.education-small-group{min-height:86px!important;padding:14px!important}.statistics-controls,.feedback-controls{padding:12px 15px!important;background:#fff!important}.statistics-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.statistics-summary-card{min-height:104px!important;padding:16px!important;border-top:1px solid var(--model-line)!important}.statistics-summary-card strong{font-size:25px!important}.statistics-chart,.stat-card{border:1px solid var(--model-line)!important;border-radius:10px!important;box-shadow:none!important}.feedback-student-row,.statistics-student-row,.group-student-row,.record-row{min-height:44px!important;padding:7px 14px!important}.feedback-list-head,.records-toolbar{min-height:42px!important}.homework-notebook-head,.day-status-head{padding:13px 15px!important}.homework-row{min-height:42px!important}.test-grade-tabs button{min-height:58px!important}.test-library-card{padding:14px!important;border-top:1px solid var(--model-line)!important}.profile-permissions{padding:13px!important}.permissions-grid{gap:9px!important}.form-grid .permission-section{padding:10px 12px!important}.modal-card{border-radius:12px!important}.modal-head h2{font-size:19px!important}.login-card{border-radius:14px!important}
@media(max-width:1100px){.sidebar{width:220px!important}.workspace{width:calc(100% - 220px)!important;margin-left:220px!important}.sidebar-platform-name{left:75px!important}.model-student-head,.model-student-row{grid-template-columns:24px minmax(150px,1.2fr) .5fr .65fr .85fr .9fr .9fr}.model-student-head>*:last-child,.model-student-row>*:last-child{display:none}}
@media(max-width:760px){.sidebar{width:205px!important}.workspace{width:calc(100% - 205px)!important;margin-left:205px!important}.model-students-panel{overflow-x:auto!important}.model-student-filters{grid-template-columns:1fr 1fr}.model-student-head,.model-student-row{min-width:820px}}
@media(max-width:520px){.workspace{width:100%!important;margin-left:0!important}.sidebar{width:min(286px,88vw)!important}.topbar-branch-select{display:none!important}}

