.study-tools{margin:18px 0}.study-tools>.actions{display:flex;gap:10px;flex-wrap:wrap}.study-tools .btn{white-space:normal}#study-tool-panel{border:1px solid var(--edge);border-radius:18px;padding:22px;margin-top:14px;background:var(--panel)}#study-tool-panel h3{font-weight:550}#study-tool-panel p{line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}#study-tool-panel small{display:block;color:var(--quiet);margin:15px 0}#study-tool-panel summary{padding:14px 0;cursor:pointer}.study-flashcard{margin:20px 0;border:1px solid var(--edge);border-radius:20px;padding:30px;background:var(--accent-soft);min-height:210px}.study-flashcard h3{font-size:23px;line-height:1.5}.study-flashcard .actions{margin-top:20px;flex-wrap:wrap}.study-search{margin:20px 0}.study-search>label{display:block;margin-bottom:12px}.study-search>input{width:100%;box-sizing:border-box}.study-search-result{display:flex;flex-direction:column;text-align:left;background:var(--panel);color:var(--text);border:1px solid var(--edge);border-radius:12px;padding:14px;width:100%;margin-top:8px;cursor:pointer}.study-search-result small{color:var(--quiet);margin-top:5px}.study-sessions{margin:24px 0}.study-session-card{border-bottom:1px solid var(--edge);padding:20px 0}.study-session-card h3{font-weight:550}.study-session-card .actions{flex-wrap:wrap}.study-session-card .btn{margin:6px 8px 6px 0}.study-session-open{overflow:hidden}#study-session-overlay{position:fixed;inset:0;z-index:4000;background:#0008;overflow-y:auto;padding:24px;box-sizing:border-box}.study-session-dialog{max-width:850px;margin:auto;background:var(--panel);color:var(--text);border:1px solid var(--edge);padding:28px;border-radius:20px}.study-session-dialog header{display:flex;align-items:center;gap:16px;justify-content:space-between}.study-session-dialog header h2{overflow-wrap:anywhere;font-size:24px}.study-session-dialog summary{padding:16px 0;cursor:pointer}.study-session-dialog .actions{flex-wrap:wrap}.study-session-dialog small{color:var(--quiet);display:block;margin-top:20px}.nexo-focus .sidebar,.nexo-focus .topbar,.nexo-focus .mobile-bottom-nav,.nexo-focus .mobile-bottom,.nexo-focus .bottom-nav,.nexo-focus .mobile-nav{display:none!important}.nexo-focus .app{display:block!important}.nexo-focus .main{margin-left:0!important;padding-top:var(--focus-top,80px)!important;width:100%;box-sizing:border-box}.nexo-focus[data-focus-notebook=true] .main{padding-right:39%!important}.nexo-focus .content{max-width:none!important}.nexo-focus .floating-notebook.fn-open{position:fixed!important;top:var(--focus-top,90px)!important;right:16px!important;bottom:18px!important;left:auto!important;width:36%!important;height:auto!important;max-width:none!important;max-height:none!important;resize:none!important;transform:none!important}.nexo-focus .floating-notebook .fn-drag{cursor:default}.nexo-focus .floating-notebook .fn-size-menu{display:none}.nexo-focus .floating-notebook .fn-drag [data-fn=fullscreen],.nexo-focus .floating-notebook .fn-drag [data-fn=minimize]{display:none}#nexo-focus-bar{position:fixed;inset:0 0 auto;z-index:2200;background:var(--panel);color:var(--text);border-bottom:1px solid var(--edge);padding:14px 20px;display:flex;align-items:center;gap:14px;flex-wrap:wrap;box-sizing:border-box}#nexo-focus-bar strong{margin-right:auto}#nexo-focus-bar label{display:flex;align-items:center;gap:6px;font-size:13px}#focus-minutes{width:65px;padding:7px}#focus-clock{font-variant-numeric:tabular-nums}#focus-pane-toggle{display:none}@media(max-width:750px){#study-tool-panel{padding:16px}.study-flashcard{padding:20px}.study-flashcard h3{font-size:20px}.study-tools input,.study-tools textarea,.study-search input{font-size:16px}#nexo-focus-bar{padding:10px;gap:8px}#nexo-focus-bar strong{font-size:13px;width:100%}#nexo-focus-bar .btn{padding:8px 10px;font-size:12px}#focus-pane-toggle{display:inline-flex}.nexo-focus .main,.nexo-focus[data-focus-notebook=true] .main{padding:var(--focus-top,145px) 0 80px!important}.nexo-focus[data-focus-pane=reading] .floating-notebook{display:none!important}.nexo-focus[data-focus-pane=notes] .floating-notebook.fn-open{display:flex!important;top:var(--focus-top,145px)!important;right:8px!important;left:8px!important;bottom:8px!important;width:auto!important;max-width:none!important}.nexo-focus[data-focus-pane=notes] .main{visibility:hidden}#study-session-overlay{padding:8px}.study-session-dialog{padding:18px 14px}.study-session-dialog header h2{font-size:20px}}

.nexo-focus .floating-notebook .fn-drag [data-fn=close]{display:none}

.study-add-friend{margin-top:20px;border-top:1px solid var(--edge)}.study-friend-result{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid var(--edge);border-radius:14px;padding:15px;margin:10px 0}.study-friend-result strong{overflow-wrap:anywhere}.study-friend-result small{display:block!important;margin:5px 0!important}.study-friend-result .btn{flex-shrink:0}@media(max-width:650px){.study-friend-result{align-items:flex-start;flex-direction:column}.study-tools select{width:100%;font-size:16px;box-sizing:border-box}}
/* Comfortable search field, matching personalized colors and both themes. */
.study-search #study-global-search{display:block;width:100%;min-width:0;min-height:50px;box-sizing:border-box;border:1px solid color-mix(in srgb,var(--accent) 23%,var(--edge));border-radius:16px;padding:13px 16px;background:var(--field);color:var(--text);font:inherit;font-size:16px;line-height:1.5;box-shadow:inset 0 1px 3px #00000005;transition:border-color .16s ease,box-shadow .16s ease}
.study-search #study-global-search::placeholder{color:var(--quiet);opacity:.8}
.study-search #study-global-search:hover{border-color:color-mix(in srgb,var(--accent) 52%,var(--edge))}
.study-search #study-global-search:focus{border-color:var(--accent);outline:2px solid color-mix(in srgb,var(--accent) 35%,transparent);outline-offset:2px;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 8%,transparent)}
@media(prefers-reduced-motion:reduce){.study-search #study-global-search{transition:none}}
