/* İyemapp teması: kırmızı-beyaz, DM Sans + Manrope (SIL OFL 1.1, lisanslar public/fonts içinde) */
@font-face { font-family: 'DM Sans'; font-weight: 400; font-display: swap; src: url(../fonts/dm-sans-400.ttf) format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-display: swap; src: url(../fonts/dm-sans-600.ttf) format('truetype'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-display: swap; src: url(../fonts/dm-sans-700.ttf) format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url(../fonts/manrope-600.ttf) format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url(../fonts/manrope-700.ttf) format('truetype'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url(../fonts/manrope-800.ttf) format('truetype'); }

:root {
    --red: #d52d3b;
    --red-deep: #c92335;
    --red-dark: #a91f2b;
    --red-soft: #fff0f2;
    --ink: #202b39;
    --muted: #85909c;
    --line: #e9edf1;
    --bg: #f7f8fa;
    --white: #ffffff;
    --radius: 12px;
}
* { box-sizing: border-box; }
body { margin: 0; font: 1rem/1.6 'DM Sans', system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--red); text-decoration: none; }
h1, h2, h3, .brand-name, .stat__value { font-family: Manrope, sans-serif; }
button, input { font: inherit; }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 800; font-size: 1.75rem; letter-spacing: -1px; text-decoration: none; }
.brand-name { color: var(--ink); }
.brand-name > span { color: var(--red); }
.brand .heart { position: relative; color: var(--red); font-family: 'DM Sans', sans-serif; font-size: 46px; line-height: 44px; display: inline-block; animation: heartbeat 1.6s infinite; transform-origin: center; }
.heart svg { position: absolute; top: 13px; left: 3px; width: 34px; fill: none; stroke: var(--white); stroke-width: 2; }
.brand--light .brand-name, .brand--light .brand-name > span, .brand--light .heart { color: var(--white); }
.brand--light .heart svg { stroke: var(--red-deep); }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .brand .heart { animation: none; } }

/* Uygulama iskeleti */








.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 2rem 1.75rem; flex: 1; }
.page-title { margin: 0 0 1.5rem; font-size: 2rem; letter-spacing: -.7px; }
.footer { text-align: center; padding: 1.25rem; color: #9ca4af; font-size: .875rem; border-top: 1px solid var(--line); background: var(--white); }

.btn { display: inline-block; border: 1px solid var(--red); border-radius: 8px; padding: .6rem 1rem; font-weight: 600; cursor: pointer; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { background: var(--white); color: #7b5359; border-color: #eedcdf; }
.btn--ghost:hover { background: var(--red-soft); }

.badge { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: .8rem; font-weight: 600; background: var(--red-soft); color: #ba5261; }
.badge--muted { background: var(--red-soft); color: #ba5261; }

.stats { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; min-width: 200px; display: flex; flex-direction: column; }
.stat__value { font-size: 2rem; font-weight: 800; color: var(--red); }
.stat__label { color: var(--muted); font-size: .9rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { margin: 0 0 .4rem; font-size: 1.0625rem; }
.card p { margin: 0 0 .9rem; color: #86919e; font-size: .9375rem; line-height: 1.7; }

.error { border-radius: 8px; padding: 14px 18px; margin: 0 0 20px; font-size: .9375rem; background: #fff0f1; color: #b13446; }

/* Giriş sayfası */
.login-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; min-height: 100dvh; background: var(--white); flex: 1; }
.login-story { position: relative; overflow: hidden; background: var(--red-deep); color: var(--white); padding: 48px 65px; display: flex; flex-direction: column; }
.login-story::after { content: ''; position: absolute; width: 500px; height: 500px; border: 1px solid #ffffff10; border-radius: 50%; right: -270px; top: 100px; box-shadow: 0 0 0 70px #ffffff04, 0 0 0 140px #ffffff03; pointer-events: none; }
.login-eyebrow { font-size: .875rem; letter-spacing: 2px; color: #f1b4bd; margin-top: 14px; }
.story-copy { margin: auto 0; position: relative; z-index: 1; padding: 65px 0 100px; }
.story-pill { border: 1px solid #ffffff35; border-radius: 30px; padding: 9px 14px; font-size: .875rem; background: #ffffff0b; display: inline-block; }
.story-copy h1 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.25; letter-spacing: -2px; margin: 26px 0 22px; color: var(--white); }
.story-copy em { font-style: normal; color: #f4b2bb; }
.story-copy p { color: #f2bec5; font-size: 1rem; line-height: 1.9; }
.story-features { display: flex; flex-direction: column; gap: 14px; color: #fbe2e6; font-size: .9375rem; margin-top: 30px; }
.login-story > small { font-size: .875rem; color: #eba5af; z-index: 1; }
.login-pulse { position: absolute; bottom: 70px; left: 0; width: 100%; fill: none; stroke: var(--white); stroke-width: 1.4; opacity: .16; }

.login-form-side { padding: 55px 55px 25px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.login-form-wrap { width: 100%; max-width: 420px; margin: auto 0; padding: 30px 0; }
.login-kicker { font-size: .875rem; letter-spacing: 1.7px; color: var(--red); font-weight: 700; }
.login-form-wrap h2 { font-size: 1.875rem; letter-spacing: -1px; margin: 15px 0 0; }
.login-form-wrap > p { color: #86919e; font-size: 1rem; margin: 12px 0 32px; }
.login-form-wrap label { display: block; font-weight: 600; color: #526070; font-size: 1rem; }
.login-form-wrap input[type=email], .login-form-wrap input[type=password], .login-form-wrap input[type=text] { width: 100%; height: 50px; padding: 0 14px; border: 1px solid #dce2e8; border-radius: 8px; background: #fcfcfd; color: var(--ink); margin: 9px 0 21px; }
.login-form-wrap input::placeholder { color: #8b95a1; }
.login-form-wrap input:focus { outline: 2px solid #efa6b0; outline-offset: 1px; }
.password-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.password-label a { font-size: .875rem; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 80px !important; }
.password-wrap button { position: absolute; right: 8px; top: 16px; font-size: .875rem; padding: 7px; border: 0; background: transparent; color: #89929e; cursor: pointer; }
.check { display: flex !important; align-items: center; gap: 9px; font-weight: 400 !important; margin: -6px 0 18px; }
.check input { width: 17px; height: 17px; accent-color: var(--red); margin: 0; }
.login-submit { width: 100%; padding: 14px 18px; text-align: left; font-weight: 600; margin: 2px 0 24px; background: var(--red); color: var(--white); border: 1px solid var(--red); border-radius: 8px; cursor: pointer; box-shadow: 0 4px 10px #d52d3b17; }
.login-submit:hover { filter: brightness(.95); }
.login-submit span { float: right; }
.login-help { display: flex; gap: 13px; border: 1px solid #f2e0e3; border-radius: 10px; background: #fff9fa; padding: 17px 19px; }
.login-help > span { font-size: 1.75rem; color: #cb818e; line-height: 1; }
.login-help b { font-size: .9375rem; color: #80535a; }
.login-help p { font-size: .9rem; color: #a08489; margin: 5px 0 0; line-height: 1.8; }
.login-note { font-size: .875rem; text-align: center; color: #9ca4af; margin: 18px 5px 0; }
.login-footer { width: 100%; font-size: .875rem; color: #a1a9b3; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.login-footer span { color: #b5bbc3; }

@media (max-width: 900px) {
    .login-story { padding: 40px 35px; }
    .login-form-side { padding: 40px 30px; }
}
@media (max-width: 700px) {
    .login-layout { grid-template-columns: 1fr; }
    .login-story { padding: 25px; }
    .story-copy { padding: 25px 0 10px; }
    .story-copy h1 { font-size: 31px; margin: 16px 0; }
    .story-copy h1 br { display: none; }
    .story-copy h1 em { display: block; }
    .story-copy p, .story-features, .login-story > small, .login-pulse { display: none; }
    .login-form-side { padding: 22px 20px; }
    .brand .heart { animation: none; }
    .topbar { padding: .5rem 1rem; }
    .container { padding: 1.5rem 1rem; }
}
.notice { border-radius: 8px; padding: 14px 18px; margin: 0 0 20px; font-size: .9375rem; background: #edf7f2; color: #3f6b55; }

/* ---- Panel düzeni (Aşama 1) ---- */
.shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; flex: 1; }
.sidebar { background: var(--white); border-right: 1px solid var(--line); padding: 28px 20px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.sidebar .brand { font-size: 1.5rem; }
.sidebar .brand .heart { font-size: 40px; line-height: 40px; }
.sidebar .heart svg { top: 12px; left: 2px; width: 30px; }
.sidebar__sub { font-size: .75rem; letter-spacing: 1.5px; color: #9a9fa7; margin: 8px 0 28px 2px; }
.sidebar nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar nav a { color: #5f6b7a; padding: 10px 12px; border-radius: 8px; font-weight: 500; }
.sidebar nav a:hover { background: var(--red-soft); color: var(--red); }
.sidebar nav a.active { background: var(--red-soft); color: var(--red); font-weight: 700; }
.sidebar__bottom { margin-top: auto; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.profile b { display: block; font-size: .95rem; }
.profile small { color: var(--muted); font-size: .82rem; line-height: 1.4; display: block; }
.btn--block { width: 100%; text-align: center; }
.main { display: flex; flex-direction: column; min-width: 0; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head .page-title { margin: 0; }
.page-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.btn--small { padding: .35rem .7rem; font-size: .875rem; }
.btn--danger { background: var(--white); color: #b13446; border-color: #f0c9cf; }
.btn--danger:hover { background: #fff0f1; }

.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.table th { background: #fafbfc; color: #8d97a3; font-size: .82rem; font-weight: 600; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
.table th, .table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td.actions { text-align: right; white-space: nowrap; }
.table a { font-weight: 600; }
.empty { padding: 2rem; text-align: center; color: var(--muted); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; max-width: 880px; }
.form-card h2 { font-size: 1.1rem; margin: 0 0 1rem; }
.form-card + .form-card { margin-top: 1.25rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.25rem; }
.form-grid .span-2 { grid-column: span 2; }
.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field label { font-weight: 600; color: #526070; font-size: .9rem; margin-bottom: 6px; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea { padding: 10px 12px; border: 1px solid #dce2e8; border-radius: 8px; background: #fcfcfd; color: var(--ink); font: inherit; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid #efa6b0; outline-offset: 1px; }
.field--error input, .field--error select { border-color: #e59aa5; }
.field__help { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.field__error { color: #b13446; font-size: .82rem; margin-top: 4px; }
.form-actions { display: flex; gap: .5rem; margin-top: .5rem; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.checks label { display: flex; align-items: center; gap: 6px; font-weight: 400; }

.search { display: flex; gap: .5rem; margin-bottom: 1rem; max-width: 520px; }
.search input { flex: 1; padding: 10px 12px; border: 1px solid #dce2e8; border-radius: 8px; font: inherit; }
.status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #eef1f4; color: #5f6b7a; }
.status--active, .status--completed { background: #e8f5ee; color: #2f7a52; }
.status--planned, .status--enrolled { background: #eef3fc; color: #3a64b0; }
.status--cancelled, .status--failed, .status--withdrawn { background: #fff0f1; color: #b13446; }
.detail { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; margin: 0; }
.detail dt { color: var(--muted); font-size: .9rem; }
.detail dd { margin: 0; }
.cols { display: grid; grid-template-columns: 320px 1fr; gap: 1.25rem; align-items: start; }
.photo { width: 120px; height: 150px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .8rem; }
.pagination { margin-top: 1rem; }
.pagination nav { display: flex; justify-content: center; }
.muted { color: var(--muted); }
.warn { color: #b13446; font-weight: 600; }

@media (max-width: 900px) {
    .shell { grid-template-columns: 1fr; }
    .sidebar { position: static; height: auto; padding: 16px; }
    .sidebar nav { flex-direction: row; overflow-x: auto; }
    .sidebar nav a { white-space: nowrap; }
    .sidebar__sub { display: none; }
    .sidebar__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
    .form-grid, .cols { grid-template-columns: 1fr; }
    .form-grid .span-2 { grid-column: auto; }
}
.section-title { font-size: 1.15rem; margin: 0 0 .75rem; }
a.stat, a.card { color: inherit; } a.stat:hover, a.card:hover { border-color: #efc2c8; }
.filter { width: 100%; padding: 9px 12px; border: 1px solid #dce2e8; border-radius: 8px; margin-bottom: .75rem; font: inherit; }
.pick { max-height: 280px; overflow-y: auto; flex-direction: column; flex-wrap: nowrap; }
.table select { padding: 6px 8px; border: 1px solid #dce2e8; border-radius: 6px; font: inherit; background: #fff; }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; } .pager [aria-disabled] { opacity: .45; cursor: default; }
.cols .detail { grid-template-columns: 105px 1fr; }

/* ---- Görevler (Aşama 2) ---- */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.tab { padding: .6rem 1rem; color: #5f6b7a; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; }
.tab:hover { color: var(--red); }
.tab--active { color: var(--red); border-bottom-color: var(--red); }
.tab__count { background: #eef1f4; color: #5f6b7a; border-radius: 999px; padding: 0 8px; font-size: .78rem; }
.tab__count--warn { background: var(--red); color: var(--white); }
.tasks { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.task { display: flex; gap: .9rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); align-items: flex-start; }
.task:last-child { border-bottom: 0; }
.task form { margin: 0; }
.task--high { box-shadow: inset 3px 0 0 var(--red); }
.task__check { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #c9d0d8; background: var(--white); cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: .8rem; flex-shrink: 0; margin-top: 1px; }
.task__check:hover { border-color: var(--red); background: var(--red-soft); }
.task__check--on { background: #2f7a52; border-color: #2f7a52; color: var(--white); }
.task__check--on:hover { background: #2f7a52; opacity: .8; }
.task__body { flex: 1; min-width: 0; }
.task__title { font-weight: 600; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.task__title a { color: var(--ink); }
.task__title a:hover { color: var(--red); }
.task__meta { color: var(--muted); font-size: .86rem; margin-top: 2px; }
.task__desc { color: #5f6b7a; font-size: .9rem; margin-top: 4px; white-space: pre-line; }
.task--done .task__title { color: var(--muted); text-decoration: line-through; font-weight: 500; }
.today { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; align-items: start; margin-bottom: 1.5rem; }
.today .panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.today .panel + .panel { margin-top: 1.25rem; }
.panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.panel__head h2 { font-size: 1.05rem; margin: 0; }
.panel .tasks { border: 0; }
.panel .task { padding: .7rem 0; }
.mini { list-style: none; margin: 0; padding: 0; }
.mini li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.mini li:last-child { border-bottom: 0; }
@media (max-width: 900px) { .today { grid-template-columns: 1fr; } }

/* ---- Görev bildirimi ---- */
.sidebar__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.bell { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: #5f6b7a; cursor: pointer; padding: 0; flex-shrink: 0; }
.bell:hover { color: var(--red); border-color: #efc2c8; background: var(--red-soft); }
.bell__count { position: absolute; top: -5px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #5f6b7a; color: var(--white); font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--white); }
.bell__count--warn { background: var(--red); }
.dialog { border: 0; border-radius: 14px; padding: 0; width: min(560px, calc(100% - 2rem)); max-height: calc(100vh - 4rem); box-shadow: 0 20px 50px rgba(32, 43, 57, .25); color: var(--ink); }
.dialog::backdrop { background: rgba(32, 43, 57, .45); }
.dialog[open] { display: flex; flex-direction: column; animation: dialog-in .18s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px); } }
.dialog__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.25rem 1.5rem .75rem; border-top: 4px solid var(--red); }
.dialog__head h2 { margin: 0; font-size: 1.25rem; }
.dialog__head p { margin: .25rem 0 0; font-size: .92rem; }
.dialog__close { background: none; border: 0; font-size: 1.1rem; color: var(--muted); cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.dialog__close:hover { background: var(--bg); color: var(--ink); }
.dialog .tasks { border: 0; border-radius: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow-y: auto; }
.dialog .task { padding: .75rem 1.5rem; }
.dialog__foot { display: flex; justify-content: flex-end; gap: .5rem; padding: 1rem 1.5rem; }
.dialog__foot form { margin: 0; }
@media (max-width: 900px) { .sidebar__top { width: 100%; } }
.dialog__close:focus { outline: none; } .dialog__close:focus-visible { outline: 2px solid #efa6b0; }

/* ---- Soru bankası (Aşama 3) ---- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.filters select, .filters input { padding: 9px 10px; border: 1px solid #dce2e8; border-radius: 8px; font: inherit; background: #fff; max-width: 100%; }
.filters select { max-width: 320px; }
.bulkbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem .25rem; color: #5f6b7a; font-size: .9rem; }
.bulkbar label { display: flex; align-items: center; gap: 6px; }
.qlist { display: flex; flex-direction: column; gap: .75rem; }
.q { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; }
.q__head { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .86rem; }
.q__actions { margin-left: auto; display: flex; gap: .4rem; }
.q__actions form { margin: 0; }
.q__text { font-weight: 600; margin: .6rem 0 .4rem; color: var(--ink); font-size: 1rem; }
.q__opts { margin: 0 0 .5rem 1.25rem; padding: 0; color: #4a5565; }
.q__opts li { padding: 2px 0; }
.q__opt--ok { color: #2f7a52; font-weight: 600; }
.q__exp { background: #f6f8fa; border-radius: 8px; padding: .5rem .75rem; color: #5f6b7a; font-size: .9rem; margin: .25rem 0 .4rem; }
fieldset.opts { border: 1px solid var(--line); border-radius: 10px; padding: 1rem; margin: 0 0 1rem; }
fieldset.opts legend { font-weight: 600; color: #526070; padding: 0 .4rem; }
.opt { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; }
.opt input[type=radio] { width: 18px; height: 18px; accent-color: #2f7a52; }
.opt__letter { width: 26px; height: 26px; border-radius: 50%; background: var(--bg); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #5f6b7a; }
.opt input[type=text] { flex: 1; padding: 9px 12px; border: 1px solid #dce2e8; border-radius: 8px; font: inherit; }
.opt input[type=radio]:checked + .opt__letter { background: #2f7a52; color: #fff; }
.print-card { position: relative; } .print-card__big { position: absolute; right: 1.25rem; top: 1rem; font-size: 1.8rem; font-weight: 800; color: var(--red); font-family: Manrope, sans-serif; } .topic-checks { flex-direction: column; gap: .4rem; }
.portal-box { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); } .portal-box p { margin: .3rem 0 .6rem; font-size: .9rem; } .pw { font-size: 1.15rem; background: #fff; padding: 2px 8px; border-radius: 6px; letter-spacing: .08em; }
.bar-row { display: grid; grid-template-columns: minmax(180px, 2fr) 3fr 110px; gap: .75rem; align-items: center; padding: .35rem 0; font-size: .92rem; }
.bar { height: 10px; background: #eef1f4; border-radius: 999px; overflow: hidden; }
.bar__fill { display: block; height: 100%; background: #2f7a52; border-radius: 999px; }
.bar__fill--mid { background: #d9a400; }
.bar__fill--low { background: var(--red); }
.bar-row__val { text-align: right; font-weight: 600; }
@media (max-width: 700px) { .bar-row { grid-template-columns: 1fr; gap: .2rem; } .bar-row__val { text-align: left; } }

/* ---- Online sınav ---- */
.exam-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem 1rem; margin-bottom: 1rem; box-shadow: 0 4px 14px rgba(32,43,57,.06); }
.exam-bar .btn { margin-left: auto; }
.timer { font: 700 1.4rem Manrope, sans-serif; color: var(--ink); background: var(--bg); padding: 2px 12px; border-radius: 8px; font-variant-numeric: tabular-nums; }
.timer--low { color: var(--white); background: var(--red); }
.save-state { font-size: .85rem; color: var(--muted); }
.save-state--ok { color: #2f7a52; }
.save-state--err { color: #b13446; }
.exam-q { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.25rem; margin: 0 0 .9rem; }
.exam-q legend, .exam-q__title { font-weight: 600; font-size: 1.02rem; padding: 0; margin: 0 0 .6rem; float: left; width: 100%; }
.exam-q legend + * { clear: both; }
.exam-q__no { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--red-soft); color: var(--red); align-items: center; justify-content: center; font-size: .85rem; margin-right: .4rem; }
.exam-opt { display: flex; align-items: center; gap: .7rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 10px; margin-bottom: .45rem; cursor: pointer; clear: both; }
.exam-opt:hover { border-color: #efc2c8; background: #fffafa; }
.exam-opt input { position: absolute; opacity: 0; pointer-events: none; }
.exam-opt__letter { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 2px solid #c9d0d8; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #5f6b7a; font-size: .85rem; }
.exam-opt:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.exam-opt:has(input:checked) .exam-opt__letter { background: var(--red); border-color: var(--red); color: var(--white); }
.exam-opt:has(input:focus-visible) { outline: 2px solid #efa6b0; }
.exam-q--ok { border-left: 4px solid #2f7a52; }
.exam-q--bad { border-left: 4px solid var(--red); }
.exam-opt--right { border-color: #9fd3b6; background: #eef8f2; }
.exam-opt--right .exam-opt__letter { background: #2f7a52; border-color: #2f7a52; color: #fff; }
.exam-opt--wrong { border-color: #f0b8c0; background: #fff0f1; }
.exam-opt--wrong .exam-opt__letter { background: var(--red); border-color: var(--red); color: #fff; }
.result { display: flex; gap: 1.5rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.result h2 { margin: 0 0 .3rem; }
.result p { margin: 0 0 .8rem; color: #5f6b7a; }
.result__score { font: 800 3rem/1 Manrope, sans-serif; color: var(--ink); text-align: center; min-width: 110px; }
.result__score small { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); }
.result--pass { border-top: 4px solid #2f7a52; } .result--pass .result__score { color: #2f7a52; }
.result--fail { border-top: 4px solid var(--red); } .result--fail .result__score { color: var(--red); }
.topic-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .6rem; }
.topic-list form { margin: 0; }
.topic-btn { width: 100%; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .75rem 1rem; cursor: pointer; font: inherit; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.topic-btn:hover { border-color: #efc2c8; background: #fffafa; }
.topic-btn small { color: var(--muted); }
.topic-btn--mix { border-color: var(--red); background: var(--red-soft); }
.btn:focus { outline: none; } .btn:focus-visible { outline: 2px solid #efa6b0; outline-offset: 2px; }

/* Belge doğrulama (herkese açık) */
.verify-body { background: var(--bg, #f6f7f9); min-height: 100vh; }
.verify { max-width: 560px; margin: 0 auto; padding: 40px 20px; }
.verify__logo { margin-bottom: 26px; }
.verify h1 { font-size: 1.6rem; margin: 0 0 18px; }
.verify__result { display: flex; gap: 14px; align-items: flex-start; border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; border: 1px solid; }
.verify__result > span { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; }
.verify__result b { font-size: 1.05rem; }
.verify__result p { margin: 4px 0 0; font-size: .92rem; }
.verify__result--ok { background: #edf7f2; border-color: #cfe9db; color: #2f6b4b; }
.verify__result--ok > span { background: #2f9a62; }
.verify__result--warn { background: #fff8eb; border-color: #f4e0b5; color: #7a5a16; }
.verify__result--warn > span { background: #d99a1e; }
.verify__result--bad { background: #fff0f1; border-color: #f5d0d5; color: #9c2b3a; }
.verify__result--bad > span { background: #d52d3b; }
.verify__detail { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin: 0 0 24px; }
.verify__form label { display: block; font-weight: 600; margin-bottom: 8px; }
.verify__form .search input { text-transform: uppercase; letter-spacing: 1px; }
.verify > small { display: block; margin-top: 18px; }

/* Belgeler */
.status--expired { background: #fff8eb; color: #8a6214; }
.status--revoked { background: #fff0f1; color: #b13446; }
.bulkbar { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin: 0 0 .75rem; }
.bulkbar .muted { margin-right: auto; }
.cert-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1rem 0 0; }
.issue-box { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; }
.issue-box .field { margin: 0; }
.logo-preview { max-height: 70px; max-width: 200px; display: block; margin: .25rem 0 .5rem; border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: #fff; }
.notice--warn { background: #fff8eb; color: #7a5a16; }

/* Yenileme takibi */
.toolbar-row { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.toolbar-row input[type=search] { flex: 0 1 280px; padding: 10px 12px; border: 1px solid #dce2e8; border-radius: 8px; font: inherit; }
.toolbar-row select { padding: 9px 10px; border: 1px solid #dce2e8; border-radius: 8px; font: inherit; background: #fff; }
.toolbar-row .check { margin: 0; }
.renewals { display: flex; flex-direction: column; gap: .6rem; }
.renewal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; }
.renewal__main { display: grid; grid-template-columns: minmax(200px, 2fr) minmax(140px, 1fr) minmax(150px, 1fr) minmax(170px, 1.2fr); gap: .5rem 1rem; align-items: center; }
.renewal__who { display: flex; flex-direction: column; min-width: 0; }
.renewal__who .muted { font-size: .85rem; }
.renewal__phone a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.renewal__date { display: flex; flex-direction: column; }
.renewal__last { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.days { font-size: .82rem; color: var(--muted); }
.days--soon { color: #a8660b; font-weight: 600; }
.days--late { color: #b13446; font-weight: 600; }
.renewal__form { margin-top: .6rem; border-top: 1px dashed var(--line); padding-top: .5rem; }
.renewal__form summary { cursor: pointer; color: var(--red); font-weight: 600; font-size: .9rem; }
.call-history { margin: .6rem 0; padding-left: 1.1rem; font-size: .88rem; }
.call-form { margin-top: .6rem; }
.call-results { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.call-results label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dce2e8; border-radius: 999px; padding: 5px 12px; font-size: .88rem; cursor: pointer; }
.call-results input { accent-color: var(--red); margin: 0; }
.call-results label:has(input:checked) { border-color: var(--red); background: var(--red-soft); color: #9c2b3a; }
.call-fields { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.call-fields input[type=text] { flex: 1 1 260px; padding: 9px 12px; border: 1px solid #dce2e8; border-radius: 8px; font: inherit; }
.call-date { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.call-date input { padding: 8px 10px; border: 1px solid #dce2e8; border-radius: 8px; font: inherit; }
.status--call-unreachable { background: #eef1f4; color: #5f6b7a; }
.status--call-thinking { background: #fff8eb; color: #8a6214; }
.status--call-will_enroll, .status--call-enrolled { background: #e8f5ee; color: #2f7a52; }
.status--call-declined, .status--call-other_center { background: #fff0f1; color: #b13446; }
.rate-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.rate-table td:nth-child(4) { min-width: 200px; }
.rate-table .is-future td { color: var(--muted); }
.rate-table .is-current td { background: #fff9fa; }
.meter { display: inline-block; vertical-align: middle; width: 130px; height: 8px; border-radius: 999px; background: #f1e3e6; overflow: hidden; margin-right: .5rem; }
.meter span { display: block; height: 100%; background: var(--red); border-radius: 999px; }
.meter__value { font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .renewal__main { grid-template-columns: 1fr 1fr; } }

/* Menü grupları (uzun menü kayar) */
.sidebar nav { overflow-y: auto; min-height: 0; flex: 0 1 auto; margin: 0 -6px; padding: 0 6px; }
.sidebar nav a { padding: 8px 12px; }
.nav-heading { font-size: .7rem; letter-spacing: 1.3px; text-transform: uppercase; color: #a3aab3; font-weight: 700; margin: 12px 12px 3px; }
.nav-heading:empty { margin: 6px 0; border-top: 1px solid var(--line); }

/* Para */
.money { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.money--due { color: #b13446; font-weight: 700; }
.money--ok { color: #2f7a52; font-weight: 700; }
.ledger-sum { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: .9rem; }
.ledger-sum div { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: .6rem 1rem; min-width: 150px; }
.ledger-sum span { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.ledger-sum b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.ledger-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.ledger-forms .form-card { max-width: none; margin: 0; }
.ledger-forms .form-card + .form-card { margin-top: 0; }
.inline-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 .75rem; }
.row-charge td:first-child { border-left: 3px solid #f2b8c0; }
.row-payment td:first-child { border-left: 3px solid #9fd6b8; }
.table .actions form { display: inline; }
.link-btn { background: none; border: 0; color: #b13446; cursor: pointer; font: inherit; font-size: .85rem; padding: 0; }
.quote-items td { vertical-align: top; }
.quote-items input, .quote-items select { width: 100%; padding: 8px 10px; border: 1px solid #dce2e8; border-radius: 8px; font: inherit; }
.quote-items .num input { text-align: right; }
.quote-totals { margin-left: auto; max-width: 360px; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1.25rem; margin-top: 1rem; }
.quote-totals .grand { font-size: 1.15rem; font-weight: 800; color: var(--red); border-top: 1px solid var(--line); padding-top: .4rem; }
.status--draft { background: #eef1f4; color: #5f6b7a; }
.status--sent { background: #eef3fc; color: #3a64b0; }
.status--accepted { background: #e8f5ee; color: #2f7a52; }
.status--rejected { background: #fff0f1; color: #b13446; }
@media (max-width: 900px) { .ledger-forms { grid-template-columns: 1fr; } }
.ledger-table { font-size: .92rem; }
.ledger-table th, .ledger-table td { padding-left: .6rem; padding-right: .6rem; }
.ledger-table td:nth-child(2) { min-width: 210px; }
.cols--company { grid-template-columns: 300px minmax(0, 1fr); }
@media (min-width: 1500px) { .cols--company { grid-template-columns: 340px minmax(0, 1fr); } }
.table th.money, .table td.money { text-align: right; }
.cols > * { min-width: 0; }
.detail dd { overflow-wrap: anywhere; }
.ledger-table td:nth-child(2) { min-width: 160px; }
.ledger-table th, .ledger-table td { padding-left: .5rem; padding-right: .5rem; }

/* Grafikler (raporlar) — sabit seri sırası: 1 mavi, 2 turuncu; durum renkleri ayrı */
.viz-root { --series-1: #257de0; --series-2: #f47230; --tone-good: #0aac23; --tone-critical: #dc3c3d; --tone-neutral: #c9ced6; --viz-grid: #e7e7e7; --viz-base: #c2c2c2; --viz-ink2: #666; }
.viz { margin: 0; }
.viz__svg { width: 100%; height: auto; display: block; overflow: visible; }
.viz__grid { stroke: var(--viz-grid); stroke-width: 1; }
.viz__base { stroke: var(--viz-base); stroke-width: 1; }
.viz__tick { fill: var(--viz-ink2); font-size: 11px; font-family: inherit; }
.viz__hit { fill: transparent; }
.viz__band:hover .viz__hit, .viz__band:focus .viz__hit { fill: rgba(25, 25, 25, .045); }
.viz__band:focus { outline: none; }
.viz__bar.viz--s1 { fill: var(--series-1); }
.viz__bar.viz--s2 { fill: var(--series-2); }
.viz__legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .85rem; color: var(--viz-ink2); margin-bottom: .5rem; }
.viz__legend span { display: inline-flex; align-items: center; gap: 6px; }
.viz__legend b { color: var(--ink); }
.viz__legend--below { margin: .6rem 0 0; }
.viz__swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.viz__swatch.viz--s1 { background: var(--series-1); }
.viz__swatch.viz--s2 { background: var(--series-2); }
.viz__empty { color: var(--muted); padding: 2rem 0; text-align: center; }
.viz__table { margin-top: .4rem; }
.viz__table summary { cursor: pointer; font-size: .85rem; color: var(--viz-ink2); }
.viz__table .table { margin-top: .5rem; font-size: .88rem; }
.viz__table .table th, .viz__table .table td { padding: 6px 10px; }
.viz-stack { display: flex; gap: 2px; height: 28px; }
.viz-stack__part { display: flex; align-items: center; justify-content: center; min-width: 4px; font-size: .8rem; font-weight: 700; color: #fff; cursor: default; }
.viz-stack__part:first-child { border-radius: 4px 0 0 4px; }
.viz-stack__part:last-child { border-radius: 0 4px 4px 0; }
.viz-stack__part:only-child { border-radius: 4px; }
.viz-tone--good { background: var(--tone-good); }
.viz-tone--critical { background: var(--tone-critical); }
.viz-tone--neutral { background: var(--tone-neutral); }
.viz-stack__part.viz-tone--neutral { color: #0b0b0b; }
.viz-tip { position: fixed; z-index: 50; pointer-events: none; background: #fff; border: 1px solid rgba(11, 11, 11, .1); box-shadow: 0 6px 20px rgba(0, 0, 0, .12); border-radius: 8px; padding: 8px 10px; font-size: .82rem; min-width: 150px; }
.viz-tip b { display: block; margin-bottom: 4px; }
.viz-tip div { display: flex; align-items: center; gap: 6px; justify-content: space-between; }
.viz-tip div span { display: inline-flex; align-items: center; gap: 6px; color: var(--viz-ink2); }
.viz-tip div strong { font-variant-numeric: tabular-nums; }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.report-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.report-card h2 { font-size: 1.05rem; margin: 0 0 .2rem; }
.report-card > p.muted { font-size: .85rem; margin: 0 0 .9rem; }
.report-card--wide { grid-column: 1 / -1; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; }
.kpi span { display: block; font-size: .78rem; color: var(--muted); }
.kpi b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
@media (max-width: 1000px) { .report-grid { grid-template-columns: 1fr; } }

/* Etap A: abonelik bantları, demo, yönetim paneli */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 10px 2rem; font-size: .9rem; border-bottom: 1px solid var(--line); }
.topbar form { margin: 0; }
.topbar--demo { background: #eef3fc; color: #2f4f86; }
.topbar--impersonate { background: #202b39; color: #fff; }
.topbar--impersonate .btn { background: #fff; color: var(--ink); border-color: #fff; }
.topbar--trial { background: #eef3fc; color: #2f4f86; }
.topbar--warn { background: #fff8eb; color: #7a5a16; }
.status--trial { background: #eef3fc; color: #3a64b0; }
.status--grace { background: #fff8eb; color: #8a6214; }
.status--suspended { background: #fff0f1; color: #b13446; }
.status--unlimited { background: #eef1f4; color: #5f6b7a; }
.status--new { background: #eef3fc; color: #3a64b0; }
.status--contacted { background: #fff8eb; color: #8a6214; }
.status--converted { background: #e8f5ee; color: #2f7a52; }
.stat--link { text-decoration: none; color: inherit; transition: border-color .15s; }
.stat--link:hover { border-color: #efa6b0; }
.stat__hint { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip { display: inline-flex; gap: .4rem; align-items: center; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #526070; font-size: .875rem; }
.chip b { font-weight: 700; color: var(--ink); }
.chip--on { border-color: var(--red); color: var(--red); background: var(--red-soft); }
.inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: end; }
.inline-form .field { margin: 0; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; margin: 0; }
.kv div { background: var(--bg); border-radius: 8px; padding: .7rem .9rem; }
.kv dt { font-size: .8rem; color: var(--muted); }
.kv dd { margin: 2px 0 0; font-weight: 700; font-family: Manrope, sans-serif; font-size: 1.1rem; }
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 110px 1fr; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.log li:last-child { border-bottom: 0; }
.log time { color: var(--muted); font-size: .82rem; }
.log small { color: var(--muted); }
.danger-zone { border-color: #f3d3d7; }
.demo-login { border: 1px dashed #c9d5ea; background: #f6f9ff; border-radius: 10px; padding: 14px 16px; margin: 0 0 22px; }
.demo-login b { display: block; font-size: .9rem; color: #2f4f86; margin-bottom: 10px; }
.demo-login form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.demo-login button { padding: 10px; border: 1px solid #c9d5ea; border-radius: 8px; background: #fff; color: #2f4f86; font-weight: 600; cursor: pointer; }
.demo-login button:hover { border-color: #3a64b0; }
.demo-login small { display: block; margin-top: 10px; color: #6b7d9c; font-size: .8rem; }
.login-form-wrap textarea, .login-form-wrap select { width: 100%; padding: 12px 14px; border: 1px solid #dce2e8; border-radius: 8px; background: #fcfcfd; color: var(--ink); margin: 9px 0 21px; font: inherit; }
.login-form-wrap .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.login-form-wrap .check a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 700px) { .topbar { padding: 10px 1rem; } .log li { grid-template-columns: 1fr; gap: 0; } .login-form-wrap .two { grid-template-columns: 1fr; } }
.dash-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.dash-grid .panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.row-line { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.row-line:last-child { border-bottom: 0; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.row-line > :last-child:not(:first-child) { flex-shrink: 0; white-space: nowrap; }
.status { white-space: nowrap; }
.codes { background: #fff; border: 1px solid #f0dfb8; border-radius: 8px; padding: .75rem 1rem; margin: .6rem 0 0; font-size: 1rem; letter-spacing: 1px; columns: 2; }
.qr-box { width: 200px; margin: .6rem 0; background: #fff; padding: 6px; border: 1px solid var(--line); border-radius: 8px; }
.qr-box svg { display: block; width: 100%; height: auto; }
.steps { padding-left: 1.2rem; margin: 0 0 1rem; }
.steps li { margin-bottom: .6rem; }
.profile a { color: inherit; }
/* Açılır menü grupları */
.nav-group { margin: 2px 0; }
.nav-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 8px; color: #3d4957; font-weight: 600; user-select: none; }
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid #a3aab3; border-bottom: 2px solid #a3aab3; transform: rotate(-45deg); transition: transform .15s; margin-right: 4px; }
.nav-group[open] > summary::after { transform: rotate(45deg); }
.nav-group > summary:hover { background: var(--bg); }
.nav-group[data-active] > summary { color: var(--red); }
.nav-group__items { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 6px 10px; padding-left: 8px; border-left: 2px solid var(--line); }
.nav-group__items a { font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .nav-group > summary::after { transition: none; } }
@media (max-width: 900px) {
    .sidebar nav { flex-direction: column; overflow-x: visible; max-height: 60vh; }
    .sidebar nav a { white-space: normal; }
}
.sample-notice { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; } .sample-notice form { margin: 0; }
