@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  --ink: #152d2a;
  --ink-2: #25413d;
  --green: #1d5b4f;
  --green-2: #2f806d;
  --mint: #dff3eb;
  --mint-2: #f0f8f4;
  --cream: #f6f4ed;
  --paper: #fffefd;
  --orange: #f3a65a;
  --orange-soft: #fff0df;
  --blue-soft: #e5f0fa;
  --purple-soft: #f0eafd;
  --text: #19302d;
  --muted: #6d7d7a;
  --line: #dce4e1;
  --danger: #c74d4d;
  --shadow: 0 18px 45px rgba(18, 48, 43, 0.08);
  --shadow-small: 0 7px 20px rgba(18, 48, 43, 0.07);
  --radius: 18px;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--cream); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { color: inherit; }
button, a, input, select { outline-color: var(--orange); }
.hidden { display: none !important; }

.brand { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.brand strong { font-weight: 800; }
.brand-light { color: white; position: relative; z-index: 3; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: white; background: var(--orange); box-shadow: 0 5px 15px rgba(243, 166, 90, .25); }
.brand-mark svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow { display: block; color: var(--green-2); font-size: 10px; line-height: 1.2; letter-spacing: .16em; font-weight: 800; }
.eyebrow-light { color: #b8e2d5; }
.eyebrow-warm { color: var(--orange); }

.button { border: 0; border-radius: 10px; min-height: 46px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; cursor: pointer; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); }
.primary-button { color: white; background: var(--green); box-shadow: 0 8px 18px rgba(29, 91, 79, .18); }
.primary-button:hover { background: #164c42; }
.primary-button:disabled { cursor: not-allowed; transform: none; box-shadow: none; background: #a9bab6; }
.secondary-button { color: var(--green); background: var(--mint); }
.warm-button { color: var(--ink); background: var(--orange); }
.dark-button { color: white; background: var(--ink); }
.ghost-light-button { color: white; background: transparent; border: 1px solid rgba(255,255,255,.35); }
.full-button { width: 100%; }
.compact-button { color: white; min-height: 40px; background: var(--green); }
.text-button { border: 0; padding: 0; color: var(--green-2); background: transparent; font-size: 13px; cursor: pointer; }
.text-button.strong { font-weight: 700; }
.icon-button { width: 40px; height: 40px; padding: 0; border: 0; color: var(--muted); background: transparent; display: grid; place-items: center; cursor: pointer; border-radius: 10px; }
.icon-button:hover { color: var(--green); background: var(--mint-2); }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.auth-screen { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.1fr) minmax(460px, .9fr); }
.auth-story { min-height: 100vh; padding: 42px clamp(40px, 6vw, 92px); position: relative; overflow: hidden; display: flex; flex-direction: column; color: white; background: radial-gradient(circle at 80% 18%, rgba(56, 145, 125, .75), transparent 30%), linear-gradient(145deg, #183e38 0%, #0e2a27 80%); }
.auth-story::before { content:""; width: 430px; height: 430px; position: absolute; right: -160px; bottom: -110px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.02); }
.story-copy { max-width: 620px; margin: auto 0; padding: 80px 0; position: relative; z-index: 2; }
.story-copy h1 { max-width: 590px; margin: 15px 0 22px; font-family: var(--font-display); font-size: clamp(44px, 5vw, 76px); line-height: 1.04; letter-spacing: -.045em; }
.story-copy p { max-width: 535px; margin: 0; color: #c9dbd6; font-size: 18px; line-height: 1.75; }
.story-proof { margin-top: 46px; display: flex; align-items: center; gap: 16px; }
.proof-icons { display: flex; padding-left: 8px; }
.proof-icons span { width: 38px; height: 38px; margin-left: -8px; display: grid; place-items: center; border: 3px solid #1a3d38; border-radius: 50%; color: var(--ink); background: #d6ebe4; font-size: 10px; font-weight: 800; }
.proof-icons span:nth-child(2) { background: #ffd4ad; }.proof-icons span:nth-child(3) { background: #d8d0f6; }
.story-proof > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.story-proof strong { font-size: 14px; }.story-proof span { color: #a9c3bc; font-size: 12px; }
.story-decoration .orbit { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.orbit-one { width: 260px; height: 260px; top: 16%; right: -90px; }.orbit-two { width: 100px; height: 100px; left: 8%; bottom: -35px; }
.spark { position: absolute; color: var(--orange); }.spark-one { top: 23%; right: 18%; font-size: 24px; }.spark-two { bottom: 16%; left: 12%; font-size: 14px; }
.auth-panel { padding: 40px; display: grid; place-items: center; background: var(--paper); }
.auth-card { width: min(430px, 100%); }
.mobile-brand { display: none; }
.auth-heading { margin-bottom: 30px; }
.auth-heading h2 { margin: 10px 0 8px; font-family: var(--font-display); font-size: 32px; letter-spacing: -.035em; }
.auth-heading p { margin: 0; color: var(--muted); }
.google-button { width: 100%; color: var(--text); background: white; border: 1px solid var(--line); }
.google-button:hover { box-shadow: var(--shadow-small); }
.google-button svg { width: 21px; }
.guest-button { width: 100%; margin-top: 10px; color: var(--green); background: var(--mint-2); border: 1px solid #c8dfd8; }
.guest-button:hover { background: var(--mint); box-shadow: var(--shadow-small); }
.guest-button:disabled { cursor: not-allowed; transform: none; color: #8d9b98; background: #f1f3f2; border-color: var(--line); box-shadow: none; }
.guest-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.divider { margin: 25px 0; display: flex; align-items: center; gap: 14px; color: #93a09e; font-size: 12px; }
.divider::before,.divider::after { content:""; height: 1px; flex: 1; background: var(--line); }
.field { margin-bottom: 18px; }
.field label,.option-group > label { margin-bottom: 8px; display: block; color: var(--ink-2); font-size: 13px; font-weight: 700; }
.field input,.field select,.filter-bar select { width: 100%; height: 48px; padding: 0 14px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #a3afac; }.field input:focus,.field select:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(47,128,109,.1); }
.field select:disabled { color: #9ca7a4; background: #e8ebe9; border-color: #d7ddda; cursor: not-allowed; box-shadow: none; }
.label-row { display: flex; justify-content: space-between; align-items: center; }.label-row label { margin: 0; }
.password-wrap { position: relative; }.password-wrap input { padding-right: 48px; }.password-toggle { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; border: 0; color: var(--muted); background: transparent; cursor: pointer; }.password-toggle svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.check-row { margin: 4px 0 20px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; cursor: pointer; }.check-row input { accent-color: var(--green); }
.form-error { min-height: 18px; margin: -10px 0 10px; color: var(--danger); font-size: 12px; }
.auth-switch { margin: 24px 0 0; text-align: center; color: var(--muted); font-size: 14px; }.auth-switch button { margin-left: 5px; }
.demo-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; color: #92a09d; font-size: 11px; }

.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 270px; height: 100vh; padding: 26px 20px 18px; position: fixed; z-index: 20; inset: 0 auto 0 0; display: flex; flex-direction: column; background: var(--paper); border-right: 1px solid var(--line); }
.sidebar-top { padding: 0 8px; display: flex; justify-content: space-between; align-items: center; }
.close-menu { display: none; font-size: 28px; }
.main-nav { margin-top: 42px; }.nav-label { margin: 0 12px 12px; color: #9caaa7; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.nav-item { width: 100%; height: 46px; margin-bottom: 5px; padding: 0 13px; display: flex; align-items: center; gap: 13px; color: #58706b; background: transparent; border: 0; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; text-align: left; }
.nav-item svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-item:hover { background: var(--mint-2); }.nav-item.active { color: var(--green); background: var(--mint); font-weight: 700; }
.sidebar-card { margin: auto 4px 20px; padding: 20px; border-radius: 15px; color: white; background: linear-gradient(145deg, var(--green), var(--ink)); }
.sidebar-card-icon { width: 30px; height: 30px; margin-bottom: 12px; display: grid; place-items: center; border-radius: 9px; color: var(--ink); background: var(--orange); }
.sidebar-card strong,.sidebar-card span { display: block; }.sidebar-card strong { font-size: 13px; }.sidebar-card span { margin: 6px 0 14px; color: #bdd5ce; font-size: 11px; line-height: 1.5; }.sidebar-card button { padding: 0; color: white; background: none; border: 0; font-size: 12px; font-weight: 700; cursor: pointer; }
.user-block { min-width: 0; padding: 14px 5px 0; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); }.avatar { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--green-2); font-size: 11px; font-weight: 800; }.user-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; }.user-copy strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.user-copy small { color: var(--muted); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace { min-width: 0; margin-left: 270px; flex: 1; }
.topbar { height: 88px; padding: 0 clamp(24px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; background: rgba(246,244,237,.94); border-bottom: 1px solid rgba(220,228,225,.85); backdrop-filter: blur(12px); }
.topbar-left { display: flex; align-items: center; gap: 12px; }.breadcrumb { margin: 0 0 4px; color: #9aa6a3; font-size: 9px; letter-spacing: .13em; font-weight: 700; }.breadcrumb span { margin: 0 5px; }.breadcrumb b { color: var(--green-2); }.topbar h1 { margin: 0; font-family: var(--font-display); font-size: 21px; letter-spacing: -.02em; }.topbar-actions { display: flex; align-items: center; gap: 10px; }.notification-button { position: relative; }.notification-button span { width: 6px; height: 6px; position: absolute; top: 8px; right: 9px; border-radius: 50%; background: var(--orange); border: 1px solid var(--cream); }.open-menu { display: none; }
.guest-timer { min-height: 35px; padding: 0 12px; display: inline-flex; align-items: center; gap: 5px; color: var(--green); background: var(--mint); border: 1px solid #c5dfd7; border-radius: 9px; font-size: 10px; white-space: nowrap; }
.guest-timer-dot { width: 7px; height: 7px; margin-right: 2px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px rgba(243,166,90,.16); }
.guest-timer strong { font-variant-numeric: tabular-nums; }
.content-area { max-width: 1500px; margin: 0 auto; padding: 34px clamp(24px, 4vw, 56px) 60px; }.view { display: none; animation: fade-in .28s ease; }.view.active { display: block; }@keyframes fade-in { from { opacity: 0; transform: translateY(5px); } }
.welcome-card { min-height: 272px; padding: clamp(30px, 4vw, 54px); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; border-radius: 22px; color: white; background: radial-gradient(circle at 80% 0, rgba(63,150,131,.7), transparent 33%), linear-gradient(125deg, #153b35, #1a4b43); box-shadow: var(--shadow); }
.welcome-card::after { content:""; width: 340px; height: 340px; position: absolute; right: -125px; bottom: -195px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025); }.welcome-copy { max-width: 690px; position: relative; z-index: 2; }.welcome-copy h2 { margin: 12px 0 11px; font-family: var(--font-display); font-size: clamp(27px, 3vw, 42px); letter-spacing: -.04em; }.welcome-copy p { max-width: 610px; margin: 0; color: #bed2cc; line-height: 1.65; }.welcome-actions { margin-top: 26px; display: flex; gap: 10px; }
.goal-ring { width: 150px; height: 150px; margin: 0 28px; position: relative; flex: 0 0 auto; z-index: 2; }.goal-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }.goal-ring circle { fill: none; stroke-width: 8; }.ring-track { stroke: rgba(255,255,255,.12); }.ring-progress { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 301.6; stroke-dashoffset: 96.5; }.goal-ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }.goal-ring strong { font-family: var(--font-display); font-size: 29px; }.goal-ring span { color: #b9d0c9; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.metric-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }.metric-card { padding: 21px; display: flex; align-items: center; gap: 15px; background: var(--paper); border: 1px solid rgba(220,228,225,.8); border-radius: 15px; box-shadow: var(--shadow-small); }.metric-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; }.metric-icon svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.metric-icon.mint { color: var(--green-2); background: var(--mint); }.metric-icon.orange { color: #ca7131; background: var(--orange-soft); }.metric-icon.blue { color: #4a81ae; background: var(--blue-soft); }.metric-icon.purple { color: #755baa; background: var(--purple-soft); }.metric-card > div:last-child { min-width: 0; display: flex; flex-direction: column; }.metric-card span { color: var(--muted); font-size: 11px; }.metric-card strong { margin: 2px 0; font-family: var(--font-display); font-size: 23px; letter-spacing: -.03em; }.metric-card small { color: #8b9895; font-size: 10px; }.positive { color: var(--green-2) !important; }
.dashboard-grid { margin-top: 18px; display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,.75fr); gap: 18px; }.panel { background: var(--paper); border: 1px solid rgba(220,228,225,.9); border-radius: var(--radius); box-shadow: var(--shadow-small); }.progress-panel,.recommendation-panel,.recent-panel,.performance-main,.weak-points,.discipline-report { padding: 28px; }.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.panel-heading h3,.recommendation-panel h3,.process-card h3,.weak-points h3 { margin: 7px 0 0; font-family: var(--font-display); font-size: 20px; letter-spacing: -.025em; }.subject-list { margin-top: 27px; display: grid; gap: 20px; }.subject-row { margin-bottom: 8px; display: flex; justify-content: space-between; font-size: 12px; }.subject-row span { display: flex; align-items: center; gap: 9px; }.subject-dot { width: 8px; height: 8px; border-radius: 3px; background: var(--green-2); }.blue-dot { background: #6597c4; }.orange-dot { background: var(--orange); }.purple-dot { background: #856cc2; }.progress-track { height: 7px; overflow: hidden; background: #eaf0ee; border-radius: 10px; }.progress-track span { height: 100%; display: block; background: linear-gradient(90deg,var(--green-2),#70bea8); border-radius: inherit; }
.recommendation-panel { position: relative; overflow: hidden; color: var(--ink); background: var(--orange-soft); border-color: #f4d6b7; }.recommendation-panel::after { content:""; width: 110px; height: 110px; position: absolute; right: -50px; top: -50px; border-radius: 50%; background: rgba(243,166,90,.18); }.recommendation-icon { width: 36px; height: 36px; margin-bottom: 18px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--orange); font-family: var(--font-display); font-weight: 800; }.recommendation-panel p { color: #66736f; font-size: 13px; line-height: 1.55; }.recommendation-score { margin: 19px 0; padding: 12px 0; display: flex; justify-content: space-between; border-top: 1px solid #efd8c0; border-bottom: 1px solid #efd8c0; font-size: 12px; }.recommendation-score strong { color: #bb632b; font-size: 17px; }
.recent-panel { margin-top: 18px; }.filter-chip { min-height: 34px; padding: 0 13px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 9px; font-size: 11px; cursor: pointer; }.filter-chip.active { color: var(--green); background: var(--mint-2); border-color: #c5dfd7; }.activity-table { margin-top: 18px; }.activity-row { min-height: 56px; display: grid; grid-template-columns: 1.5fr 1fr .8fr .8fr; align-items: center; gap: 15px; border-top: 1px solid #edf1f0; color: var(--muted); font-size: 11px; }.activity-row:first-child { border-top: 0; }.activity-row > span:first-child { display: flex; align-items: center; gap: 10px; color: var(--text); }.activity-row b { font-weight: 600; }.table-head { min-height: 30px; color: #99a5a2; font-size: 8px; font-weight: 800; letter-spacing: .1em; }.activity-icon { width: 29px; height: 29px; display: grid; place-items: center; color: var(--green-2); background: var(--mint); border-radius: 9px; font-style: normal; }.activity-icon.warm { color: #c66e2f; background: var(--orange-soft); }
.section-intro { margin-bottom: 25px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }.section-intro h2 { margin: 8px 0 5px; font-family: var(--font-display); font-size: 31px; letter-spacing: -.04em; }.section-intro p { max-width: 700px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }.privacy-badge { padding: 9px 13px; display: flex; align-items: center; gap: 7px; color: var(--green); background: var(--mint); border-radius: 9px; font-size: 11px; font-weight: 700; }.privacy-badge svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.upload-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(290px,.65fr); gap: 20px; align-items: stretch; }.upload-panel { padding: 30px; }.drop-zone { min-height: 230px; padding: 25px; display: grid; place-items: center; align-content: center; text-align: center; border: 1.5px dashed #a9c8bf; border-radius: 15px; background: var(--mint-2); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }.drop-zone:hover,.drop-zone.dragging { transform: translateY(-1px); background: #e8f5f0; border-color: var(--green-2); }.upload-icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--green-2); background: white; border-radius: 15px; box-shadow: var(--shadow-small); }.upload-icon svg { width: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }.drop-zone h3 { margin: 15px 0 3px; font-family: var(--font-display); font-size: 17px; }.drop-zone p { margin: 0; color: var(--muted); font-size: 12px; }.drop-zone p span { color: var(--green-2); font-weight: 700; }.drop-zone small { margin-top: 9px; color: #9aa6a3; font-size: 10px; }.selected-file { margin-top: 14px; padding: 13px; display: flex; align-items: center; gap: 12px; background: var(--mint-2); border: 1px solid #d2e6df; border-radius: 11px; }.pdf-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 9px; color: white; background: #da6658; font-size: 9px; font-weight: 800; }.selected-file > div:nth-child(2) { min-width: 0; flex: 1; display: flex; flex-direction: column; }.selected-file strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }.selected-file span { color: var(--muted); font-size: 10px; }.upload-fields { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.prototype-warning { margin: 12px 0 0; color: #8b9895; font-size: 10px; text-align: center; }.process-card { padding: 34px 30px; color: white; background: linear-gradient(145deg,var(--green),var(--ink)); border-radius: var(--radius); box-shadow: var(--shadow); }.process-list { margin: 28px 0 0; padding: 0; list-style: none; }.process-list li { position: relative; padding-bottom: 24px; display: flex; gap: 13px; }.process-list li:not(:last-child)::after { content:""; width: 1px; height: calc(100% - 32px); position: absolute; top: 29px; left: 14px; background: rgba(255,255,255,.18); }.process-list li > span { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; color: var(--ink); background: var(--orange); border-radius: 9px; font-size: 10px; font-weight: 800; }.process-list div { display: flex; flex-direction: column; }.process-list strong { font-size: 13px; }.process-list small { margin-top: 4px; color: #adc7c0; font-size: 10px; line-height: 1.45; }
.button-loader { width: 17px; height: 17px; display: none; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }@keyframes spin { to { transform:rotate(360deg); } }.is-loading .button-loader { display: block; }.is-loading .button-label { display: none; }
.analysis-result { margin-top: 20px; padding: 28px; }.result-success { margin: -28px -28px 25px; padding: 14px 28px; display: flex; gap: 10px; align-items: center; color: var(--green); background: var(--mint); border-radius: 18px 18px 0 0; }.result-success > span { width: 28px; height: 28px; display: grid; place-items: center; color: white; background: var(--green-2); border-radius: 50%; font-weight: 700; }.result-success div { display: flex; flex-direction: column; }.result-success strong { font-size: 12px; }.result-success small { font-size: 10px; opacity: .8; }.result-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.result-header h3 { margin: 7px 0 2px; font-family: var(--font-display); font-size: 24px; }.result-header p { margin: 0; color: var(--muted); font-size: 12px; }.result-stats { display: flex; gap: 12px; }.result-stats span { min-width: 100px; padding: 13px; display: flex; flex-direction: column; color: var(--muted); background: var(--cream); border-radius: 10px; font-size: 10px; text-align: center; }.result-stats strong { color: var(--text); font-size: 21px; }.discipline-chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 9px; }.discipline-chips span { padding: 9px 11px; color: var(--ink-2); background: var(--mint-2); border: 1px solid #d8e9e4; border-radius: 9px; font-size: 11px; }.discipline-chips b { margin-left: 6px; padding: 2px 5px; color: var(--green); background: var(--mint); border-radius: 5px; }.result-actions { margin-top: 25px; display: flex; gap: 10px; }
.bank-total { display: flex; flex-direction: column; text-align: right; }.bank-total strong { font-family: var(--font-display); font-size: 28px; }.bank-total span { color: var(--muted); font-size: 10px; }.filter-bar { margin-bottom: 16px; padding: 15px; display: grid; grid-template-columns: minmax(240px,1fr) 210px 190px; gap: 10px; }.search-field { position: relative; }.search-field svg { width: 17px; position: absolute; left: 13px; top: 14px; fill: none; stroke: #85948f; stroke-width: 2; }.search-field input,.filter-bar select { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--text); font-size: 12px; }.search-field input { padding: 0 15px 0 40px; }.filter-bar select { padding: 0 10px; }.question-list { display: grid; gap: 13px; }.question-card { padding: 24px 27px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-small); transition: transform .2s, border-color .2s; }.question-card:hover { transform: translateY(-2px); border-color: #bcd5cd; }.question-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; }.question-meta > span:not(.source-tag) { padding-left: 8px; border-left: 1px solid var(--line); }.source-tag { padding: 5px 8px; border-radius: 6px; font-weight: 800; letter-spacing: .05em; }.source-tag.official { color: var(--green); background: var(--mint); }.source-tag.original { color: #a75c25; background: var(--orange-soft); }.question-card > p { max-width: 950px; margin: 18px 0; line-height: 1.65; font-size: 14px; }.question-footer { padding-top: 14px; display: flex; justify-content: space-between; border-top: 1px solid #edf1f0; color: var(--muted); font-size: 10px; }.question-footer a { color: var(--green-2); font-weight: 700; text-decoration: none; }
.training-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); gap: 20px; }.training-options { padding: 30px; }.option-group { margin-bottom: 25px; }.segmented { padding: 5px; display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; background: var(--cream); border-radius: 11px; }.segmented button { height: 40px; border: 0; color: var(--muted); background: transparent; border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer; }.segmented button.active { color: white; background: var(--green); box-shadow: 0 5px 12px rgba(29,91,79,.2); }.option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }.toggle-list { margin-bottom: 24px; border-top: 1px solid var(--line); }.toggle-list label { padding: 15px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); cursor: pointer; }.toggle-list label > span { display: flex; flex-direction: column; }.toggle-list strong { font-size: 12px; }.toggle-list small { margin-top: 2px; color: var(--muted); font-size: 10px; }.toggle-list input { display: none; }.toggle-list i { width: 38px; height: 21px; padding: 3px; position: relative; border-radius: 20px; background: #cdd7d4; transition: background .2s; }.toggle-list i::after { content:""; width: 15px; height: 15px; position: absolute; left: 3px; top: 3px; border-radius: 50%; background: white; transition: transform .2s; }.toggle-list input:checked + i { background: var(--green-2); }.toggle-list input:checked + i::after { transform: translateX(17px); }.training-summary { padding: 32px; color: white; background: linear-gradient(145deg,var(--green),var(--ink)); border-radius: var(--radius); }.summary-number { margin: 27px 0; font-family: var(--font-display); font-size: 54px; font-weight: 800; }.summary-number small { margin-left: 8px; color: #b9d0c9; font-family: var(--font-body); font-size: 11px; font-weight: 500; }.summary-line { padding: 13px 0; display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.12); color: #b9d0c9; font-size: 11px; }.summary-line strong { color: white; }.training-summary > p { margin-top: 25px; color: #9ebbb3; font-size: 10px; line-height: 1.6; }
.session-top { margin-bottom: 12px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; font-size: 12px; }.session-top > span:last-child { text-align: right; font-variant-numeric: tabular-nums; }.session-progress { height: 5px; margin-bottom: 25px; overflow: hidden; border-radius: 10px; background: #dbe5e2; }.session-progress span { width: 33%; height: 100%; display: block; border-radius: inherit; background: var(--green-2); transition: width .3s; }.session-card { max-width: 900px; margin: 0 auto; padding: clamp(26px,5vw,55px); }.session-card h3 { margin: 25px 0; font-family: var(--font-display); font-size: 21px; line-height: 1.55; }.answer-options { display: grid; gap: 10px; }.answer-option { min-height: 54px; padding: 12px 16px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 11px; background: white; cursor: pointer; text-align: left; }.answer-option:hover { border-color: #9dbfb5; background: var(--mint-2); }.answer-option.selected { border-color: var(--green-2); background: var(--mint); }.answer-letter { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; background: var(--cream); font-size: 11px; font-weight: 800; }.answer-option.selected .answer-letter { color: white; background: var(--green); }.session-actions { margin-top: 30px; display: flex; justify-content: space-between; align-items: center; }.final-result { max-width: 600px; margin: 30px auto; padding: 55px; text-align: center; }.result-medal { width: 65px; height: 65px; margin: 0 auto 22px; display: grid; place-items: center; color: white; background: var(--green-2); border: 9px solid var(--mint); border-radius: 50%; font-size: 24px; }.final-result h2 { margin: 10px 0 8px; font-family: var(--font-display); font-size: 28px; }.final-result > p { margin: 0; color: var(--muted); }.final-score { margin: 28px auto; padding: 20px; display: flex; flex-direction: column; background: var(--mint-2); border-radius: 13px; }.final-score strong { font-family: var(--font-display); font-size: 42px; }.final-score span { color: var(--muted); font-size: 12px; }.final-actions { display: flex; justify-content: center; gap: 10px; }
.performance-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.55fr); gap: 18px; }.large-positive { color: var(--green-2); font-family: var(--font-display); font-size: 26px; }.chart { height: 250px; margin-top: 20px; position: relative; padding: 5px 0 25px 45px; }.chart-grid { position: absolute; inset: 0 auto 25px 0; display: flex; flex-direction: column; justify-content: space-between; color: #9ba8a5; font-size: 9px; }.chart::after { content:""; position: absolute; inset: 5px 0 25px 45px; background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(25% - 1px), #e8eeec 25%); pointer-events:none; }.chart svg { width: calc(100% - 45px); height: calc(100% - 25px); position: relative; z-index: 2; overflow: visible; }.chart-area { fill: url(#area); }.chart-line { fill: none; stroke: var(--green-2); stroke-width: 3; vector-effect: non-scaling-stroke; }.chart-points circle { fill: white; stroke: var(--green-2); stroke-width: 3; vector-effect: non-scaling-stroke; }.chart-labels { position: absolute; left: 45px; right: 0; bottom: 0; display: flex; justify-content: space-between; color: #9ba8a5; font-size: 9px; }.weak-points { background: var(--orange-soft); border-color: #f0d8c0; }.weak-list { margin: 20px 0; }.weak-list > div { padding: 13px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #efd8c0; font-size: 11px; }.weak-list span { display: flex; align-items: center; gap: 9px; }.weak-list b { width: 24px; height: 24px; display: grid; place-items: center; color: #b7672e; background: white; border-radius: 7px; }.weak-list strong { color: #bb632b; }.discipline-report { margin-top: 18px; }.report-grid { margin-top: 22px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }.report-grid > div { padding: 18px; display: flex; flex-direction: column; background: var(--mint-2); border-radius: 12px; border-top: 3px solid var(--green-2); }.report-grid .needs-work { background: var(--orange-soft); border-color: var(--orange); }.report-grid span { min-height: 32px; font-size: 11px; font-weight: 700; }.report-grid strong { margin: 5px 0; font-family: var(--font-display); font-size: 27px; }.report-grid small { color: var(--muted); font-size: 9px; }
.toast { min-width: 260px; max-width: 420px; padding: 14px 18px; position: fixed; z-index: 100; left: 50%; bottom: 25px; transform: translate(-50%,25px); opacity: 0; pointer-events: none; color: white; background: var(--ink); border-radius: 11px; box-shadow: 0 15px 35px rgba(10,35,31,.25); font-size: 12px; text-align: center; transition: opacity .25s, transform .25s; }.toast.show { opacity: 1; transform: translate(-50%,0); }

.source-mode-tabs { max-width: 720px; margin-bottom: 20px; padding: 5px; display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.source-mode-tabs button { min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: center; gap: 9px; color: var(--muted); background: transparent; border: 0; border-radius: 11px; font-size: 12px; font-weight: 700; cursor: pointer; }
.source-mode-tabs button:hover { color: var(--green); background: var(--mint-2); }
.source-mode-tabs button.active { color: white; background: var(--green); box-shadow: 0 7px 16px rgba(29,91,79,.18); }
.source-mode-tabs svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.position-search-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(300px,.65fr); gap: 20px; align-items: start; }
.position-search-panel,.selected-positions-panel { padding: 30px; }
.search-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.search-panel-heading h3,.selected-positions-panel h3 { margin: 7px 0 5px; font-family: var(--font-display); font-size: 21px; letter-spacing: -.025em; }
.search-panel-heading p,.selected-positions-panel > p { max-width: 610px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.position-limit { padding: 9px 12px; flex: 0 0 auto; color: var(--green); background: var(--mint); border-radius: 9px; font-size: 11px; white-space: nowrap; }
.position-limit strong { font-size: 16px; }
.position-search-box { margin-top: 22px; position: relative; display: flex; gap: 9px; }
.position-search-box > svg { width: 18px; position: absolute; z-index: 2; left: 14px; top: 15px; fill: none; stroke: #82938f; stroke-width: 2; stroke-linecap: round; }
.position-search-box input { min-width: 0; height: 48px; padding: 0 14px 0 43px; flex: 1; color: var(--text); background: white; border: 1px solid var(--line); border-radius: 10px; }
.position-search-box input:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(47,128,109,.1); }
.catalog-notice { margin: 13px 0 18px; padding: 10px 12px; color: #80623f; background: #fff8e9; border: 1px solid #f1dfbd; border-radius: 9px; font-size: 10px; line-height: 1.45; }
.position-results { display: grid; gap: 10px; }
.position-card { padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .18s, background .18s; }
.position-card:hover { border-color: #b9d3cb; }
.position-card.selected { background: var(--mint-2); border-color: #9fc8bc; }
.position-card-main { min-width: 0; }
.position-area { color: var(--green-2); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.position-card h4 { margin: 5px 0 2px; font-family: var(--font-display); font-size: 14px; }
.position-card p { margin: 0; color: var(--muted); font-size: 11px; }
.position-meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.position-meta span { padding: 4px 7px; color: #657772; background: var(--cream); border-radius: 6px; font-size: 9px; }
.position-select-button { min-width: 105px; min-height: 36px; padding: 0 11px; flex: 0 0 auto; color: var(--green); background: white; border: 1px solid #bad3cc; border-radius: 8px; font-size: 10px; font-weight: 800; cursor: pointer; }
.position-card.selected .position-select-button { color: white; background: var(--green); border-color: var(--green); }
.position-empty { min-height: 130px; padding: 25px; display: grid; place-content: center; gap: 5px; text-align: center; color: var(--muted); background: var(--cream); border-radius: 11px; }
.position-empty strong { color: var(--text); font-size: 12px; }.position-empty span { font-size: 10px; }
.selected-positions-panel { position: sticky; top: 20px; }
.selected-positions-list { min-height: 210px; margin: 20px 0; display: grid; align-content: start; gap: 8px; }
.selected-empty { min-height: 210px; display: grid; place-content: center; justify-items: center; text-align: center; color: var(--muted); border: 1px dashed #cbd8d4; border-radius: 11px; }
.selected-empty > span { width: 49px; height: 49px; display: grid; place-items: center; color: var(--green); background: var(--mint); border-radius: 50%; font-family: var(--font-display); font-size: 13px; font-weight: 800; }
.selected-empty p { max-width: 190px; margin: 10px 0 0; font-size: 10px; line-height: 1.5; }
.selected-position-item { padding: 10px; display: flex; align-items: center; gap: 9px; background: var(--mint-2); border: 1px solid #d8e9e4; border-radius: 9px; }
.selected-position-item > span { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: var(--green-2); border-radius: 7px; font-size: 9px; font-weight: 800; }
.selected-position-item > div { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.selected-position-item strong,.selected-position-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-position-item strong { font-size: 10px; }.selected-position-item small { color: var(--muted); font-size: 8px; }
.selected-position-item button { width: 26px; height: 26px; flex: 0 0 auto; color: #8b9996; background: transparent; border: 0; border-radius: 7px; font-size: 17px; cursor: pointer; }
.selected-position-item button:hover { color: var(--danger); background: #fae6e6; }
.bank-selection-context { margin-bottom: 15px; padding: 14px 17px; display: flex; align-items: center; gap: 11px; color: var(--green); background: var(--mint); border: 1px solid #c7e0d8; border-radius: 12px; }
.bank-context-icon { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: var(--green-2); border-radius: 9px; font-weight: 800; }
.bank-selection-context > div { min-width: 0; display: flex; flex-direction: column; }.bank-selection-context strong { font-size: 11px; }.bank-selection-context div span { margin-top: 2px; overflow: hidden; color: #53716a; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.answer-option:disabled { cursor: default; color: inherit; opacity: 1; }
.answer-option:disabled:hover { border-color: var(--line); background: white; }
.answer-option.correct,.answer-option.correct:disabled:hover { color: #155f4a; background: #e2f6ed; border-color: #55ae8d; box-shadow: inset 0 0 0 1px #55ae8d; }
.answer-option.correct .answer-letter { color: white; background: #248061; }
.answer-option.wrong,.answer-option.wrong:disabled:hover { color: #9a3333; background: #fce8e8; border-color: #d96b6b; box-shadow: inset 0 0 0 1px #d96b6b; }
.answer-option.wrong .answer-letter { color: white; background: #c84c4c; }
.answer-feedback { margin-top: 18px; padding: 18px 20px; border-radius: 12px; border: 1px solid; animation: fade-in .25s ease; }
.answer-feedback.success { color: #185c49; background: #e7f7f0; border-color: #a9dcc8; }
.answer-feedback.error { color: #753939; background: #fff0f0; border-color: #edb7b7; }
.feedback-heading { display: flex; align-items: center; gap: 10px; }
.feedback-heading > span { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: currentColor; border-radius: 8px; font-size: 0; }
.feedback-heading > span::after { content: "✓"; color: white; font-size: 13px; font-weight: 800; }.answer-feedback.error .feedback-heading > span::after { content: "!"; }
.feedback-heading strong { font-family: var(--font-display); font-size: 14px; }
.answer-feedback p { margin: 12px 0 9px; color: #455f59; font-size: 12px; line-height: 1.65; }
.answer-feedback.error p { color: #6d4c4c; }
.answer-feedback small { display: block; padding-top: 9px; border-top: 1px solid rgba(48,100,84,.15); color: #728781; font-size: 9px; line-height: 1.5; }
.rotation-note { margin: -8px 0 20px; padding: 12px 14px; display: flex; align-items: center; gap: 11px; color: var(--green); background: var(--mint-2); border: 1px solid #d1e7e0; border-radius: 10px; }
.rotation-note > span { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: var(--green-2); border-radius: 8px; font-size: 17px; font-weight: 700; }
.rotation-note > div { display: flex; flex-direction: column; }.rotation-note strong { font-size: 11px; }.rotation-note small { margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.4; }

@media (max-width: 1120px) {
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .goal-ring { margin-right: 0; }
  .report-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .auth-screen { grid-template-columns: 1fr; }.auth-story { display: none; }.auth-panel { min-height: 100vh; }.mobile-brand { margin-bottom: 45px; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); }
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: 20px 0 50px rgba(12,38,34,.18); }.sidebar.open { transform: translateX(0); }.close-menu,.open-menu { display: grid; }.workspace { margin-left: 0; }.menu-overlay { position: fixed; z-index: 15; inset: 0; visibility: hidden; opacity: 0; background: rgba(11,31,28,.45); transition: opacity .2s; }.menu-overlay.open { visibility: visible; opacity: 1; }
  .dashboard-grid,.upload-layout,.training-layout,.performance-grid { grid-template-columns: 1fr; }.process-card,.training-summary { min-height: auto; }.filter-bar { grid-template-columns: 1fr 1fr; }.filter-bar .search-field { grid-column: 1/-1; }
  .position-search-layout { grid-template-columns: 1fr; }.selected-positions-panel { position: static; }
}
@media (max-width: 620px) {
  .auth-panel { padding: 26px 20px; }.mobile-brand { margin-bottom: 30px; }.auth-heading h2 { font-size: 27px; }
  .topbar { height: 76px; padding: 0 17px; }.breadcrumb { display: none; }.topbar h1 { font-size: 18px; }.compact-button { display: none; }.content-area { padding: 23px 16px 45px; }
  .guest-timer { padding: 0 9px; }.notification-button { display: none; }
  .welcome-card { padding: 28px; display: block; }.welcome-copy h2 { font-size: 27px; }.goal-ring { width: 115px; height: 115px; margin: 30px 0 0; }.welcome-actions { align-items: stretch; flex-direction: column; }
  .metric-grid { grid-template-columns: 1fr; }.metric-card { padding: 17px; }.panel-heading { align-items: flex-start; }.panel-heading .text-button { white-space: nowrap; }.progress-panel,.recommendation-panel,.recent-panel,.performance-main,.weak-points,.discipline-report { padding: 22px; }
  .activity-row { grid-template-columns: 1fr auto; padding: 12px 0; }.activity-row span:nth-child(2),.activity-row span:nth-child(4) { display: none; }.table-head { display: none; }
  .section-intro { align-items: flex-start; flex-direction: column; }.section-intro h2 { font-size: 27px; }.privacy-badge { align-self: flex-start; }.upload-panel { padding: 18px; }.upload-fields,.option-grid { grid-template-columns: 1fr; }.result-header { align-items: flex-start; flex-direction: column; }.result-stats { width: 100%; }.result-stats span { flex: 1; }.result-actions,.final-actions { align-items: stretch; flex-direction: column; }
  .source-mode-tabs { max-width: none; grid-template-columns: 1fr; }.position-search-panel,.selected-positions-panel { padding: 20px; }.search-panel-heading { flex-direction: column; }.position-search-box { flex-wrap: wrap; }.position-search-box input { flex-basis: 100%; }.position-search-box .button { width: 100%; }.position-card { align-items: flex-start; flex-direction: column; }.position-select-button { width: 100%; }.bank-selection-context div span { white-space: normal; }
  .filter-bar { grid-template-columns: 1fr; }.filter-bar .search-field { grid-column: auto; }.bank-total { text-align: left; }.question-card { padding: 20px; }.question-footer { gap: 10px; flex-direction: column; }
  .training-options { padding: 20px; }.segmented { grid-template-columns: repeat(2,1fr); }.session-top { grid-template-columns: 1fr 1fr; }.session-top > span:nth-child(2) { display:none; }.session-card { padding: 24px 20px; }.session-actions { gap: 20px; }.final-result { padding: 35px 22px; }.report-grid { grid-template-columns: 1fr 1fr; }
}
