.study-session{max-width:720px;margin:16px auto;--study-surface: #fff;--study-border: #dce5f1;--study-muted: #65758b;--study-accent: #1677ff;--study-tint: #edf5ff}html[data-theme=night] .study-session{--study-surface: #142238;--study-border: #2b4260;--study-muted: #a4b4ca;--study-accent: #82b9ff;--study-tint: #1c3451}.study-session.ant-card{background:transparent;border:0}.study-session>.ant-card-head{padding:0;border-bottom:0;font-size:24px}.study-session>.ant-card-body{padding:16px 0}.study-progress{display:flex;justify-content:space-between;gap:12px;margin-top:12px;font-size:12px}.study-flashcard{display:flex;flex-direction:column;width:100%;min-height:380px;padding:26px 32px;border:1px solid var(--study-border);border-radius:24px;background:var(--study-surface);color:inherit;font:inherit;cursor:pointer;box-shadow:0 20px 60px #0000000c;transition:border-color .2s}.study-flashcard:hover,.study-flashcard.is-revealed{border-color:var(--study-accent)}.study-flashcard:focus-visible{outline:3px solid var(--study-accent);outline-offset:5px}.study-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;font-size:12px;color:var(--study-muted)}.study-card-top>span:first-child{padding:5px 12px;border:1px solid var(--study-border);border-radius:20px}.study-card-content{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;width:100%;padding:30px 0}.study-word{font-size:clamp(32px,6vw,52px);font-weight:650;letter-spacing:-.03em;line-height:1.2;overflow-wrap:anywhere;max-width:100%}.study-answer{min-height:88px;margin-top:22px;display:flex;flex-direction:column;justify-content:center;max-width:100%}.study-answer-label{color:var(--study-muted);font-size:11px;letter-spacing:.08em;margin-bottom:8px}.study-translation{color:var(--study-accent);font-size:28px;line-height:1.3;overflow-wrap:anywhere}.study-prompt{color:var(--study-muted);font-size:14px}.study-reveal-action{align-self:center;background:var(--study-tint);color:var(--study-accent);padding:10px 20px;border-radius:24px;font-weight:600;font-size:13px}.study-navigation{margin-top:8px}.study-navigation .ant-btn{height:42px;border-radius:10px}.study-shortcuts{display:flex;flex-wrap:wrap;justify-content:center;gap:20px;margin:12px 0;color:var(--study-muted);font-size:12px}.study-shortcuts kbd{border:1px solid var(--study-border);border-radius:5px;padding:2px 5px;font:inherit}@media (max-width: 540px){.study-flashcard{padding:20px;min-height:350px;border-radius:18px}.study-card-top>span:last-child{max-width:130px;text-align:right}.study-shortcuts{display:none}.study-session>.ant-card-head{font-size:20px}}.study-card-picture{display:block;max-width:100%;width:auto;max-height:240px;object-fit:contain;border-radius:12px;margin-bottom:20px}.study-flashcard{touch-action:pan-y;-webkit-user-select:none;user-select:none;position:relative}.study-flashcard img{-webkit-user-drag:none}.study-rating-controls{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.swipe-feedback{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:12px;border-radius:8px;font-weight:700;z-index:1;background:var(--ant-color-bg-container, white)}.swipe-feedback.remembered{color:#237804;border:2px solid #237804}.swipe-feedback.forgotten{color:#a8071a;border:2px solid #a8071a}.topics-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:12px 0 28px}.topics-eyebrow{font-size:11px;letter-spacing:.14em;font-weight:600}.topics-heading h2.ant-typography{margin:6px 0 8px;font-size:32px}.topics-heading .ant-typography{margin-bottom:0}.topics-workspace{display:grid;grid-template-columns:300px minmax(0,1fr);align-items:start;gap:20px}.topics-sidebar .ant-card-body{padding:16px}.topics-filters{margin:12px 0}.topics-item.ant-list-item{padding:5px 0;border:0}.topic-choice{width:100%;text-align:left;cursor:pointer;background:transparent;color:inherit;font:inherit;border:1px solid transparent;border-radius:10px;padding:14px;transition:background .15s,border-color .15s}.topic-choice:hover{background:var(--topic-hover)}.topic-choice[aria-pressed=true]{background:var(--topic-selected);border-color:var(--topic-accent)}.topic-choice:focus-visible{outline:2px solid #1677ff;outline-offset:2px}.topic-choice-top{display:flex;justify-content:space-between;gap:12px;overflow-wrap:anywhere}.topic-choice-top>span{color:var(--topic-accent)}.topic-choice-languages{display:block;font-size:12px;opacity:.7;margin:6px 0 10px}.topics-page{--topic-hover: #f5f8fc;--topic-selected: #edf5ff;--topic-accent: #1677ff}html[data-theme=night] .topics-page{--topic-hover: #1b2533;--topic-selected: #142c48;--topic-accent: #69b1ff}.topic-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.topic-detail-heading h3.ant-typography{margin:12px 0 8px;overflow-wrap:anywhere}.topic-detail-heading .ant-typography{margin-bottom:0}.topic-card-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:16px;border-top:1px solid var(--topic-hover)}.topic-card-toolbar .ant-input-affix-wrapper{max-width:270px}.topics-detail{min-width:0;min-height:420px}@media (max-width: 760px){.topics-workspace{grid-template-columns:minmax(0,1fr)}.topics-sidebar .ant-list-items{max-height:280px;overflow-y:auto}.topics-heading{align-items:flex-start;gap:12px}.topics-heading h2.ant-typography{font-size:28px}.topics-heading .ant-btn{flex-shrink:0}.topics-detail .ant-card-body{padding:18px}.topic-card-toolbar{flex-wrap:wrap}.topic-card-toolbar .ant-input-affix-wrapper{max-width:none}}.card-picture-preview{display:block;max-width:100%;width:220px;max-height:180px;object-fit:contain;border-radius:8px}.card-picture-thumbnail{display:block;width:96px;max-height:96px;object-fit:contain;border-radius:6px;margin-top:6px}html,body{width:100%;height:100%}input::-ms-clear,input::-ms-reveal{display:none}*,*:before,*:after{box-sizing:border-box}html{font-family:sans-serif;line-height:1.15;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:rgba(0,0,0,0)}@-ms-viewport{width:device-width}body{margin:0}[tabindex="-1"]:focus{outline:none}hr{box-sizing:content-box;height:0;overflow:visible}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5em;font-weight:500}p{margin-top:0;margin-bottom:1em}abbr[title],abbr[data-original-title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted;border-bottom:0;cursor:help}address{margin-bottom:1em;font-style:normal;line-height:inherit}input[type=text],input[type=password],input[type=number],textarea{-webkit-appearance:none}ol,ul,dl{margin-top:0;margin-bottom:1em}ol ol,ul ul,ol ul,ul ol{margin-bottom:0}dt{font-weight:500}dd{margin-bottom:.5em;margin-left:0}blockquote{margin:0 0 1em}dfn{font-style:italic}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}pre,code,kbd,samp{font-size:1em;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}pre{margin-top:0;margin-bottom:1em;overflow:auto}figure{margin:0 0 1em}img{vertical-align:middle;border-style:none}a,area,button,[role=button],input:not([type=range]),label,select,summary,textarea{touch-action:manipulation}table{border-collapse:collapse}caption{padding-top:.75em;padding-bottom:.3em;text-align:left;caption-side:bottom}input,button,select,optgroup,textarea{margin:0;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}button,input{overflow:visible}button,select{text-transform:none}button,html [type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{padding:0;border-style:none}input[type=radio],input[type=checkbox]{box-sizing:border-box;padding:0}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{overflow:auto;resize:vertical}fieldset{min-width:0;margin:0;padding:0;border:0}legend{display:block;width:100%;max-width:100%;margin-bottom:.5em;padding:0;color:inherit;font-size:1.5em;line-height:inherit;white-space:normal}progress{vertical-align:baseline}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:none}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}output{display:inline-block}summary{display:list-item}template{display:none}[hidden]{display:none!important}mark{padding:.2em;background-color:#feffe6}html[data-theme=light]{background:#f6f9fd;color-scheme:light}html[data-theme=night]{background:#0c121b;color-scheme:dark}
