:root {
    --ink: #20242b;
    --muted: #737981;
    --line: #e8e8e4;
    --paper: #f8f8f5;
    --white: #ffffff;
    --coral: #ee775d;
    --blue: #cfe4ed;
    --yellow: #f3d67f;
    --mint: #cfe7d8;
    --purple: #d9d1ee;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: 'DM Sans', sans-serif; font-size: 14px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 238px; padding: 32px 18px 20px; background: #f1f2ed; border-right: 1px solid #e7e8e3; display: flex; flex-direction: column; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 10px; margin: 0 16px 72px; font: 800 23px 'Manrope', sans-serif; letter-spacing: -1.2px; }
.brand-mark { width: 24px; height: 24px; display: flex; align-items: end; gap: 3px; transform: rotate(-5deg); }
.brand-mark span { width: 6px; background: var(--coral); display: block; border-radius: 2px; }
.brand-mark span:nth-child(1) { height: 13px; }.brand-mark span:nth-child(2) { height: 20px; }.brand-mark span:nth-child(3) { height: 16px; }
.sidebar-label { padding: 0 16px; margin-bottom: 13px; color: #9a9e9b; font-size: 10px; letter-spacing: 1.2px; font-weight: 700; text-transform: uppercase; }
.sidebar-label-bottom { margin-top: 45px; }
.main-nav { display: grid; gap: 5px; }
.nav-item { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 9px; color: #777d7b; font-weight: 600; transition: .2s ease; }
.nav-item:hover, .nav-item.is-active { color: var(--ink); background: #e6e7e1; }
.nav-item.is-active:before { content: ''; position: absolute; left: -18px; width: 3px; height: 21px; background: var(--coral); border-radius: 0 3px 3px 0; }
.nav-icon { width: 17px; color: #878c89; font-size: 18px; line-height: 1; text-align: center; font-weight: 400; }.nav-item.is-active .nav-icon { color: var(--coral); }
.nav-count { margin-left: auto; display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 50%; color: #fff; background: var(--coral); font-size: 10px; }
.sidebar-help { margin: auto 10px 25px; padding: 19px 17px 16px; border: 1px solid #dedfd9; border-radius: 10px; background: #f7f7f3; }
.help-spark { color: var(--coral); font-size: 24px; margin-bottom: 12px; }.sidebar-help strong { font-size: 12px; }.sidebar-help p { color: #868b88; font-size: 11px; line-height: 1.6; margin: 7px 0 15px; }.sidebar-help a { color: var(--coral); font-weight: 700; font-size: 11px; }.sidebar-help a span { margin-left: 6px; font-size: 15px; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 15px 9px 0; border-top: 1px solid #dedfd9; }.sidebar-user strong { display: block; font-size: 12px; }.sidebar-user small { display: block; color: #999e9a; font-size: 11px; margin-top: 3px; }.avatar { width: 32px; height: 32px; display: grid; place-items: center; background: #d2dee2; color: #536b75; border-radius: 50%; font: 700 10px 'Manrope'; }.more-button { margin-left: auto; border: 0; background: transparent; color: #9da19e; letter-spacing: 1px; }
.main-content { min-width: 0; width: calc(100% - 238px); padding: 0 5.5%; }.topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.breadcrumb { color: #969a98; font-size: 12px; }.breadcrumb span { color: var(--ink); font-weight: 700; }.breadcrumb b { padding: 0 9px; font-weight: 400; color: #c2c5c1; }.topbar-actions { display: flex; align-items: center; gap: 22px; }.icon-button { position: relative; border: 0; background: transparent; color: #777e7a; font-size: 23px; transform: rotate(45deg); }.notification-dot { position: absolute; top: 1px; right: -2px; width: 5px; height: 5px; background: var(--coral); border-radius: 50%; }.profile-chip { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; }.profile-chip b { color: #9da19e; font-size: 15px; margin-left: 4px; }.avatar-small { width: 28px; height: 28px; font-size: 9px; }
.hero-section { display: grid; grid-template-columns: 45% 55%; min-height: 390px; padding: 64px 0 45px; border-bottom: 1px solid var(--line); }.eyebrow { margin: 0 0 14px; color: var(--coral); font-size: 10px; letter-spacing: 1.5px; font-weight: 800; }.hero-copy h1, .page-intro h1 { margin: 0; font: 800 clamp(42px, 5vw, 68px)/.98 'Manrope', sans-serif; letter-spacing: -3.5px; }.hero-copy h1 em { color: var(--coral); font-style: normal; }.hero-description { max-width: 325px; margin: 25px 0 25px; color: var(--muted); line-height: 1.65; font-size: 13px; }.primary-button { display: inline-flex; align-items: center; gap: 20px; border: 0; border-radius: 5px; padding: 14px 16px; color: #fff; background: var(--ink); font-weight: 700; font-size: 12px; transition: .2s ease; }.primary-button:hover { background: var(--coral); transform: translateY(-2px); }.primary-button span { font-size: 18px; line-height: 12px; }
.hero-visual { position: relative; min-height: 290px; }.visual-orbit { position: absolute; border: 1px solid #e5e6e2; border-radius: 50%; transform: rotate(-23deg); }.orbit-one { width: 410px; height: 230px; top: 32px; left: 10%; }.orbit-two { width: 430px; height: 200px; top: 35px; left: 4%; transform: rotate(28deg); }.hero-card { position: absolute; overflow: hidden; }.hero-card-main { top: 36px; left: 25%; width: 232px; height: 248px; padding: 25px; color: #fff; background: var(--coral); transform: rotate(-7deg); box-shadow: 13px 15px 0 rgba(238,119,93,.13); }.hero-card-main:after { content: ''; position: absolute; width: 140px; height: 140px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; right: -62px; top: -30px; box-shadow: 0 0 0 18px rgba(255,255,255,.11), 0 0 0 35px rgba(255,255,255,.08); }.card-kicker { position: relative; z-index: 1; display: block; font-size: 9px; letter-spacing: 1px; opacity: .8; }.hero-card-main strong { position: relative; z-index: 1; display: block; margin-top: 34px; font: 700 22px/1.08 'Manrope'; letter-spacing: -1px; }.hero-card-line { position: relative; z-index: 1; width: 35px; height: 2px; margin: 19px 0 10px; background: #fff; }.hero-card-main small { position: relative; z-index: 1; font-size: 10px; line-height: 1.4; opacity: .85; }.play-button { position: absolute; right: 22px; bottom: 20px; z-index: 2; width: 33px; height: 33px; display: grid; place-items: center; background: #fff; color: var(--coral); border-radius: 50%; font-size: 10px; padding-left: 2px; }.hero-floating { position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: #fff; box-shadow: 0 7px 22px rgba(35,40,38,.07); }.hero-floating-top { top: 25px; right: 4%; transform: rotate(8deg); }.hero-floating-bottom { bottom: 20px; left: 13%; transform: rotate(5deg); }.hero-floating span { color: var(--coral); font: 700 23px Georgia; }.hero-floating strong { color: var(--coral); font: 800 19px 'Manrope'; }.hero-floating small { color: #777d7a; font-size: 9px; line-height: 1.2; }.math-scribble { position: absolute; right: 2%; bottom: 22px; color: #b8bcb7; font: italic 15px Georgia; transform: rotate(-8deg); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr) 1.45fr; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }.stat-item { display: flex; align-items: center; gap: 12px; border-right: 1px solid var(--line); }.stat-item strong { font: 700 25px 'Manrope'; }.stat-item span { color: var(--muted); font-size: 10px; line-height: 1.35; }.continue-card { display: flex; justify-content: space-between; align-items: center; padding-left: 12px; }.mini-label { display: block; color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: 1px; margin-bottom: 6px; }.continue-card strong { font: 700 13px/1.25 'Manrope'; }.continue-card a, .material-bottom a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--ink); font-size: 17px; transition: .2s; }.continue-card a:hover, .material-bottom a:hover { background: var(--coral); }
.section-block { padding: 45px 0; }.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 21px; }.section-heading h2 { margin: 0; font: 700 25px 'Manrope'; letter-spacing: -1.3px; }.text-link { color: var(--coral); font-size: 11px; font-weight: 700; }.text-link span { margin-left: 10px; font-size: 16px; }.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.material-card { min-width: 0; background: #fff; border: 1px solid #ebebe7; border-radius: 7px; overflow: hidden; transition: .25s ease; }.material-card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px rgba(42,47,44,.08); }.material-cover { position: relative; height: 155px; overflow: hidden; padding: 15px; }.cover-coral { background: var(--coral); color: #fff; }.cover-blue { background: var(--blue); color: #405a65; }.cover-yellow { background: var(--yellow); color: #605129; }.cover-mint { background: var(--mint); color: #436452; }.cover-purple { background: var(--purple); color: #5f557e; }.material-tag { position: relative; z-index: 2; display: inline-block; padding: 5px 8px; border-radius: 2px; background: rgba(255,255,255,.65); color: inherit; font-size: 9px; font-weight: 700; }.cover-mark { position: absolute; right: 16px; top: 14px; font-size: 21px; }.cover-equation { position: absolute; left: 18px; bottom: 17px; font: italic 24px Georgia; }.cover-equation sup { font-size: 12px; }.cover-grid-line { position: absolute; right: -30px; bottom: -65px; width: 180px; height: 180px; border: 1px solid currentColor; border-radius: 50%; opacity: .4; box-shadow: 0 0 0 17px rgba(255,255,255,.08), 0 0 0 34px rgba(255,255,255,.08); }.material-body { padding: 17px 17px 15px; }.material-meta { display: flex; gap: 7px; color: #999e9a; font-size: 9px; text-transform: uppercase; letter-spacing: .7px; }.material-body h3 { margin: 10px 0 8px; font: 700 16px 'Manrope'; letter-spacing: -.5px; }.material-body p { height: 34px; overflow: hidden; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }.material-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }.material-bottom strong { font-size: 12px; }.material-bottom a { width: 25px; height: 25px; font-size: 14px; }
.page-intro { padding: 58px 0 30px; }.page-intro h1 { font-size: clamp(35px, 4vw, 52px); }.page-intro p:last-child { max-width: 420px; color: var(--muted); line-height: 1.6; }.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 27px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }.category-tabs { display: flex; gap: 19px; flex-wrap: wrap; }.category-tab { padding-bottom: 9px; color: #969b98; font-size: 11px; font-weight: 700; border-bottom: 2px solid transparent; }.category-tab.is-active { color: var(--ink); border-color: var(--coral); }.search-box { display: flex; align-items: center; width: 180px; border-bottom: 1px solid #cfd2ce; }.search-box input { width: 100%; border: 0; outline: 0; padding: 7px 0; background: transparent; font-size: 11px; }.search-box button { border: 0; background: transparent; font-size: 20px; color: #777; }.catalog-grid { grid-template-columns: repeat(3, 1fr); }.empty-state { text-align: center; padding: 60px 0; color: var(--muted); }.empty-state span { display: block; color: var(--coral); font-size: 30px; }.empty-state strong { display: block; color: var(--ink); margin: 10px 0 5px; }
.admin-layout { display: grid; grid-template-columns: minmax(300px, 1.25fr) minmax(240px, .75fr); gap: 28px; max-width: 900px; }.material-form { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: 7px; }.material-form label { display: block; margin-bottom: 18px; color: #777d79; font-size: 11px; font-weight: 700; }.material-form input, .material-form textarea, .material-form select { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #e0e2dd; border-radius: 4px; outline-color: var(--coral); background: #fcfcfa; color: var(--ink); font-size: 12px; resize: vertical; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.material-form .primary-button { margin-top: 4px; }.admin-note { align-self: start; padding: 25px; background: var(--ink); color: #fff; border-radius: 7px; }.note-symbol { color: var(--coral); font-size: 29px; }.admin-note h3 { margin: 42px 0 12px; font: 700 20px 'Manrope'; letter-spacing: -.7px; }.admin-note p { color: #b2b8b6; font-size: 12px; line-height: 1.6; }.note-line { width: 42px; height: 2px; margin: 22px 0 15px; background: var(--coral); }.admin-note small { color: #8f9894; font-size: 10px; line-height: 1.5; }.admin-list { max-width: 900px; }.material-total { color: #9a9e9b; font-size: 11px; }.compact-list { border-top: 1px solid var(--line); }.compact-item { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }.compact-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 5px; font-size: 16px; }.accent-coral { background: #f9d9d1; color: var(--coral); }.accent-blue { background: var(--blue); color: #557986; }.accent-yellow { background: var(--yellow); color: #725d20; }.accent-mint { background: var(--mint); color: #47705a; }.accent-purple { background: var(--purple); color: #695b8b; }.compact-item strong { display: block; font-size: 12px; }.compact-item small { display: block; margin-top: 4px; color: #9a9e9b; font-size: 10px; }.compact-arrow { margin-left: auto; color: var(--coral); font-size: 18px; }.flash-message { position: fixed; top: 24px; right: 30px; z-index: 10; padding: 12px 16px; background: var(--ink); color: #fff; border-left: 3px solid var(--coral); border-radius: 4px; font-size: 12px; animation: fade-out 4s forwards; }.footer { display: flex; justify-content: space-between; gap: 10px; padding: 27px 0; color: #a0a5a1; font-size: 10px; border-top: 1px solid var(--line); }.footer a { color: var(--coral); }@keyframes fade-out { 0%,75% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
@media (max-width: 1050px) { .sidebar { width: 205px; }.main-content { width: calc(100% - 205px); padding: 0 4%; }.material-grid, .catalog-grid { grid-template-columns: repeat(2, 1fr); }.hero-section { grid-template-columns: 48% 52%; }.hero-card-main { left: 17%; } }
@media (max-width: 760px) { .app-shell { display: block; }.sidebar { width: 100%; height: auto; padding: 18px 17px 10px; border-right: 0; border-bottom: 1px solid #e7e8e3; }.brand { margin: 0 0 17px; }.sidebar-label, .sidebar-label-bottom, .sidebar-help, .sidebar-user { display: none; }.main-nav { display: flex; overflow-x: auto; gap: 4px; }.nav-item { padding: 9px 11px; font-size: 11px; white-space: nowrap; }.nav-item.is-active:before { display: none; }.main-content { width: 100%; padding: 0 20px; }.topbar { height: 65px; }.profile-chip span:not(.avatar) { display: none; }.hero-section { display: block; padding: 43px 0 22px; }.hero-copy h1 { font-size: 51px; }.hero-visual { min-height: 315px; margin-top: 25px; }.hero-card-main { left: 18%; }.orbit-one { left: 5%; }.orbit-two { left: 0; }.hero-floating-top { right: 0; }.stats-row { grid-template-columns: repeat(3, 1fr); gap: 10px; }.stat-item { gap: 7px; }.stat-item strong { font-size: 19px; }.stat-item span { font-size: 9px; }.continue-card { grid-column: 1 / -1; padding: 15px 0 0; border-top: 1px solid var(--line); }.featured-block { padding-top: 32px; }.section-heading h2 { font-size: 21px; }.material-grid, .catalog-grid { grid-template-columns: 1fr; }.material-cover { height: 165px; }.catalog-toolbar { display: block; }.category-tabs { gap: 13px; margin-bottom: 18px; }.search-box { width: 100%; }.admin-layout { grid-template-columns: 1fr; }.page-intro { padding-top: 40px; }.footer { flex-wrap: wrap; }.footer span:nth-child(2) { display: none; } }
