.topics-polished-page .topics-page-head h1{color:var(--primary-dark);text-shadow:0 10px 28px rgba(13,61,34,.08)}.topics-polished-page .topics-search{box-shadow:0 16px 34px rgba(13,61,34,.06);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.topics-polished-page .topics-search:focus{transform:translateY(-1px);box-shadow:0 18px 38px rgba(13,61,34,.1),0 0 0 3px rgba(30,138,79,.12)}.topics-polished-list .topic-card{isolation:isolate;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.topics-polished-list .topic-card:after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 8% 0,rgba(194,236,212,.52),transparent 28%),radial-gradient(circle at 92% 0,rgba(253,232,192,.38),transparent 28%);opacity:0;transition:opacity .22s ease}.topics-polished-list .topic-card:hover{transform:translateY(-3px);border-color:rgba(30,138,79,.42);box-shadow:0 20px 44px rgba(13,61,34,.12)}.topics-polished-list .topic-card:hover:after{opacity:1}.topics-polished-list .topic-card:first-child{animation-delay:.02s}.topics-polished-list .topic-card:nth-child(2){animation-delay:.08s}.topics-polished-list .topic-card:nth-child(3){animation-delay:.14s}.topics-polished-list .topic-card:nth-child(4){animation-delay:.2s}.topics-polished-list .status.needs-content{background:#fef2f2;border-color:#f0a9a6;color:#c0362c;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}.topics-polished-list .status.error{background:#fef2f2;border-color:#f0a9a6;color:#991b1b}.topics-polished-list .status.ready{background:var(--nav-active-bg);border-color:var(--border);color:var(--primary-dark)}.topic-metrics{background:rgba(255,255,255,.66)}.topic-metric-card{display:grid;align-content:center;grid-gap:.42rem;gap:.42rem;min-height:92px;background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(248,252,250,.68))}.topic-metric-card .metric-label{display:block;color:var(--muted-foreground);font-size:.72rem;font-weight:900;text-transform:none}.topic-metric-card .metric-value{display:inline-flex;align-items:center;justify-content:center;width:-moz-fit-content;width:fit-content;max-width:100%;margin:0 auto;color:var(--primary-dark);font-family:var(--font-display);font-size:1.03rem;font-weight:900;line-height:1.2}.topic-metric-card .metric-value.is-empty{min-height:28px;padding:.36rem .68rem;border:1px solid var(--border-light);border-radius:999px;background:rgba(232,245,238,.78);color:var(--muted-foreground);font-size:.74rem}.topic-progress-metric{display:grid;grid-gap:.36rem;gap:.36rem;justify-items:center}.topic-coverage-bar{width:min(180px,92%);height:8px;overflow:hidden;border-radius:999px;background:rgba(13,61,34,.1);box-shadow:inset 0 1px 3px rgba(13,61,34,.1)}.topic-coverage-bar span{display:block;height:100%;min-width:0;border-radius:inherit;background:linear-gradient(90deg,var(--primary),#50c985);animation:topicCoverageFill .9s ease both}.topic-progress-metric small{color:var(--muted-foreground);font-size:.66rem;font-weight:800;line-height:1.2}.hero-actions .btn.accent,.topic-practice-btn{background:var(--accent)!important;border-color:var(--accent)!important;color:#fff!important;box-shadow:0 10px 20px rgba(217,119,6,.2)}.hero-actions .btn.accent:hover,.topic-practice-btn:hover{background:var(--accent-hover)!important;border-color:var(--accent-hover)!important}.hero-actions .btn[href="/topics/new"],.topic-add-content-btn,.topic-detail-add-content-btn{background:var(--primary)!important;border-color:var(--primary)!important;color:#fff!important;box-shadow:0 10px 20px rgba(30,138,79,.16)}.hero-actions .btn[href="/topics/new"]:hover,.topic-add-content-btn:hover,.topic-detail-add-content-btn:hover{background:var(--primary-hover)!important;border-color:var(--primary-hover)!important}.topic-detail-btn{background:rgba(255,255,255,.94)}.topic-detail-page{width:min(100%,1240px);margin:0 auto}.topic-detail-page .back-link{width:-moz-fit-content;width:fit-content;margin-bottom:.9rem}.topic-detail-hero{padding:1.35rem;overflow:hidden;animation:fadeUp .34s ease both}.topic-detail-hero-main{display:grid;grid-gap:1.1rem;gap:1.1rem}.topic-detail-hero-main h1{margin:0;color:var(--primary-dark);font-family:var(--font-display);font-size:clamp(1.7rem,3vw,2.35rem);letter-spacing:-.055em;line-height:1.02}.topic-detail-stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:.82rem;gap:.82rem}.topic-detail-stat-card{width:100%;min-height:126px;padding:.86rem;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon label" "value value" "bar bar" "hint hint";grid-gap:.36rem .65rem;gap:.36rem .65rem;align-items:center;text-align:left;border:1px solid var(--border-light);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.84),rgba(248,252,250,.68));box-shadow:0 14px 32px rgba(13,61,34,.07);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.topic-detail-stat-card:hover{transform:translateY(-2px);border-color:rgba(30,138,79,.42);box-shadow:0 18px 42px rgba(13,61,34,.11)}.topic-detail-stat-card.is-clickable{font:inherit;cursor:pointer}.topic-detail-stat-card .stat-icon{grid-area:icon;width:40px;height:40px;margin:0;display:grid;place-items:center;border-radius:14px;background:var(--primary);color:#fff;font-size:.84rem;font-family:var(--font-display);font-weight:900;line-height:1}.topic-detail-stat-card:nth-child(2) .stat-icon,.topic-detail-stat-card:nth-child(4) .stat-icon{background:#fde7bd;color:var(--accent-dark)}.topic-detail-stat-card span{grid-area:label;font-size:.78rem;line-height:1.25}.topic-detail-stat-card b,.topic-detail-stat-card span{color:var(--primary-dark);font-family:var(--font-display);font-weight:900}.topic-detail-stat-card b{grid-area:value;width:-moz-fit-content;width:fit-content;max-width:100%;min-height:30px;padding:.32rem .72rem;border-radius:999px;background:rgba(232,245,238,.82);font-size:1rem;line-height:1.2}.topic-detail-stat-card.is-empty b{color:var(--muted-foreground);font-size:.74rem}.topic-detail-stat-card.is-ready b{background:rgba(196,245,218,.95);color:var(--primary-dark)}.topic-detail-stat-card.is-improving b{background:#fff2d8;color:var(--accent-dark)}.topic-detail-stat-card small{grid-area:hint;color:var(--muted-foreground);font-size:.66rem;font-weight:800;line-height:1.35}.topic-detail-progress-bar{grid-area:bar;height:8px;overflow:hidden;border-radius:999px;background:rgba(13,61,34,.1);box-shadow:inset 0 1px 3px rgba(13,61,34,.1)}.topic-detail-progress-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--primary),#50c985);animation:topicCoverageFill .9s ease both}.document-list-stat .stat-icon{font-size:1rem}.topic-detail-actions{display:flex;align-items:center;gap:.68rem;flex-wrap:wrap}.topic-detail-actions .btn{min-height:44px}.topic-detail-disabled-btn{opacity:.6;cursor:not-allowed}.btn.danger-soft,.topic-detail-delete-btn{background:#fef2f2!important;border-color:#f0a9a6!important;color:#c0362c!important;box-shadow:none!important}.btn.danger-soft:hover,.topic-detail-delete-btn:hover{border-color:#c0362c!important;background:#fee2e2!important}.topic-detail-content-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.9fr);grid-gap:1rem;gap:1rem;align-items:start}.topic-detail-history-card,.topic-detail-next-card{margin-top:1rem}.topic-detail-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}.topic-detail-mini-btn{font-size:.76rem;padding:.32rem .72rem}.topic-detail-muted-copy{margin:0;color:var(--muted-foreground);font-size:.86rem;line-height:1.65;font-weight:650}.summary-section{display:grid;grid-gap:1rem;gap:1rem}.summary-item strong{display:block;color:var(--primary-dark);font-size:.88rem;margin-bottom:.34rem}.summary-item ul{padding-left:1.25rem;line-height:1.62}.summary-item p,.summary-item ul{margin:0;color:var(--muted-foreground);font-size:.84rem}.summary-item p{line-height:1.55}.topic-detail-empty-block{padding:1.8rem 1.2rem;text-align:center;color:var(--muted-foreground);font-size:.86rem;font-weight:650}.topic-detail-empty-block a{color:var(--primary);font-weight:900}.topic-detail-next-btn{display:inline-block;margin-top:.75rem}.topic-detail-weakest-skill{margin-top:.75rem;padding:.62rem .78rem;border-radius:12px;background:var(--accent-muted);color:var(--accent-dark);font-size:.82rem;font-weight:750}.topic-detail-history-note{margin-top:.5rem;color:var(--muted-foreground);font-size:.78rem;font-weight:700}.preview-content pre{white-space:pre-wrap}.topic-detail-doc-empty{padding:.5rem}.settings-logout-modal-backdrop{position:fixed;inset:0;z-index:160;display:grid;place-items:center;padding:1rem;background:rgba(8,35,22,.34);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.settings-logout-modal{width:min(420px,100%);border:1px solid #f0a9a6;border-radius:24px;background:#fff;padding:1.1rem;box-shadow:0 28px 80px rgba(80,20,18,.24)}.settings-logout-modal h3{margin:0 0 .35rem;color:#991b1b;font-family:var(--font-display);font-size:1.1rem}.settings-logout-modal p{margin:0;color:#9f3a35;font-size:.86rem;line-height:1.55;font-weight:750}.settings-logout-modal-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:1rem;flex-wrap:wrap}.topic-delete-error{margin-top:.7rem!important;color:#c0362c!important}@keyframes topicCoverageFill{0%{transform:scaleX(0);transform-origin:left}to{transform:scaleX(1);transform-origin:left}}html[data-theme=dark] .topics-polished-page .topics-page-head h1{color:var(--primary-dark)}html[data-theme=dark] .topics-polished-list .topic-card:after{background:radial-gradient(circle at 8% 0,rgba(74,222,128,.14),transparent 30%),radial-gradient(circle at 92% 0,rgba(245,158,11,.14),transparent 28%)}html[data-theme=dark] .topic-detail-btn,html[data-theme=dark] .topic-detail-stat-card,html[data-theme=dark] .topic-metric-card{background:rgba(37,70,50,.96)}html[data-theme=dark] .topic-detail-stat-card b,html[data-theme=dark] .topic-metric-card .metric-value.is-empty{background:rgba(20,43,29,.82);color:var(--primary-dark)}html[data-theme=dark] .topic-coverage-bar,html[data-theme=dark] .topic-detail-progress-bar{background:rgba(20,43,29,.95)}html[data-theme=dark] .topics-polished-list .status.error,html[data-theme=dark] .topics-polished-list .status.needs-content{background:rgba(127,29,29,.28);border-color:rgba(248,113,113,.52);color:#fecaca}html[data-theme=dark] .settings-logout-modal{background:var(--card)}@media (max-width:1180px){.topic-detail-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.topic-detail-content-grid{grid-template-columns:1fr}}@media (max-width:860px){.topic-detail-page{width:100%}.topic-detail-hero{padding:1rem}.topic-detail-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.topic-detail-stat-card{min-height:116px}.topic-detail-card-actions{justify-content:flex-start}.modal-body-grid{grid-template-columns:1fr}}@media (max-width:680px){.topic-metric-card{min-height:78px}.topic-coverage-bar{width:100%}.topic-detail-actions,.topic-detail-stats-grid{grid-template-columns:1fr}.topic-detail-actions{display:grid}.topic-detail-actions .btn{width:100%;justify-content:center}.topic-detail-stat-card{min-height:104px}}