.cw-concept-reader,.cw-concept-setup{color:var(--cw-text,#0d0d0d);background:var(--cw-bg,#fff);font:inherit;overflow-wrap:anywhere;max-width:680px;margin:0 auto;padding:32px 24px 72px;line-height:1.7}.cw-concept-reader h1,.cw-concept-setup h1{letter-spacing:-.025em;margin:8px 0 28px;font-size:clamp(24px,5vw,32px);font-weight:600;line-height:1.25}.cw-concept-reader h2{letter-spacing:-.015em;margin:12px 0 24px;font-size:22px;font-weight:550;line-height:1.4}.cw-concept-heading>p,.cw-concept-muted,.cw-concept-progress{color:var(--cw-muted,#737373);font-size:14px}.cw-concept-section{border-top:1px solid var(--cw-border,#e3e3e3);margin-top:32px;padding-top:28px}.cw-concept-heading h1,.cw-concept-section{scroll-margin-top:80px}.cw-concept-paragraph{margin:24px 0}.cw-concept-paragraph p{white-space:pre-line;margin:4px 0;font-size:18px;line-height:1.8}.cw-concept-provenance{color:var(--cw-muted,#737373);font-size:12px}.cw-concept-source{color:var(--cw-muted,#737373);margin-top:8px;font-size:13px}.cw-concept-source summary{cursor:pointer;box-sizing:border-box;width:fit-content;min-height:44px;padding:10px 0}.cw-concept-source blockquote{border-left:2px solid var(--cw-border,#e3e3e3);margin:8px 0;padding:0 12px}.cw-concept-memory,.cw-concept-scope{border-block:1px solid var(--cw-border,#e3e3e3);padding:18px 0;font-size:16px}.cw-concept-reader label,.cw-concept-setup label,.cw-concept-setup legend{margin:20px 0 8px;font-size:15px;font-weight:500;display:block}.cw-concept-reader textarea,.cw-concept-setup textarea,.cw-concept-setup select,.cw-concept-setup input[type=text]{box-sizing:border-box;border:1px solid var(--cw-border,#e3e3e3);width:100%;color:inherit;font:inherit;resize:vertical;background:0 0;border-radius:12px;margin-bottom:14px;padding:14px;font-size:16px;line-height:1.6;display:block}.cw-concept-reader textarea:focus,.cw-concept-setup textarea:focus,.cw-concept-setup select:focus,.cw-concept-setup input:focus{outline-offset:2px;outline:2px solid}.cw-concept-reader button,.cw-concept-setup button{white-space:normal;min-width:44px;min-height:44px}.cw-concept-reader .cw-primary,.cw-concept-setup .cw-primary{background:var(--cw-text,#0d0d0d);color:var(--cw-bg,#fff);border:1px solid var(--cw-text,#0d0d0d);border-radius:12px;max-width:100%;padding:12px 18px}.cw-concept-reader .cw-secondary,.cw-concept-setup .cw-secondary{border:1px solid var(--cw-border,#e3e3e3);color:inherit;background:0 0;border-radius:12px;padding:10px 16px}.cw-concept-reader .cw-text-button{color:inherit;text-underline-offset:4px;padding:8px 0;font-size:14px;text-decoration:underline}.cw-concept-reader form>.cw-text-button{margin-top:10px;display:block}.cw-concept-reader button:disabled,.cw-concept-setup button:disabled{opacity:.45;cursor:default}.cw-concept-feedback{padding:12px 0;font-size:16px}.cw-concept-feedback p{white-space:pre-line;margin:8px 0}.cw-concept-response,.cw-concept-turn-user{background:var(--cw-soft,#f4f4f4);white-space:pre-wrap;border-radius:12px;padding:12px 16px;font-size:16px}.cw-concept-exchange{margin:24px 0 8px}.cw-concept-next,.cw-concept-clarify{border-top:1px solid var(--cw-border,#e3e3e3);margin-top:32px;padding-top:24px}.cw-concept-review{margin-top:24px;display:block}.cw-concept-turn{margin:20px 0}.cw-concept-turn p{white-space:pre-line;font-size:16px}.cw-concept-error{border-left:2px solid;padding:12px;font-size:15px}.cw-concept-latest,.cw-concept-turn{scroll-margin-top:80px}.cw-concept-earlier{margin:20px 0;font-size:14px}.cw-concept-earlier>summary{cursor:pointer;color:var(--cw-muted,#737373);padding:10px 0}.cw-concept-setup-overlay{z-index:200;background:var(--cw-bg,#fff);overscroll-behavior:contain;position:fixed;inset:0;overflow-y:auto}.cw-concept-setup{padding-top:20px}.cw-concept-setup-top{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.cw-concept-setup fieldset{border:0;margin:24px 0;padding:0}.cw-concept-confidence{flex-direction:column;gap:10px;display:flex}.cw-concept-confidence label{border:1px solid var(--cw-border,#e3e3e3);cursor:pointer;border-radius:12px;align-items:center;gap:12px;margin:0;padding:14px;display:flex}.cw-concept-confidence input{accent-color:var(--cw-text,#0d0d0d);flex-shrink:0;width:18px;height:18px}.cw-concept-files{padding:0;list-style:none}.cw-concept-files li{justify-content:space-between;align-items:center;gap:12px;padding:8px 0;font-size:14px;display:flex}.cw-concept-file-input{max-width:100%;margin:16px 0;font-size:14px;display:block}.cw-concept-file-input::file-selector-button{border:1px solid var(--cw-border,#e3e3e3);min-height:44px;color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:12px;margin-right:8px;padding:10px 14px}.cw-app .cw-library-reader:has(.cw-concept-reader) .cw-study-viewer-toolbar .cw-select-options{min-width:120px;max-height:min(300px,60dvh);inset:calc(100% + 8px) 0 auto auto}.cw-app .cw-library-reader:has(.cw-concept-reader) .cw-study-viewer-toolbar .cw-select-options>button{min-height:44px}@media (width<=600px){.cw-concept-reader,.cw-concept-setup{padding:20px 18px 64px}.cw-concept-reader h2{font-size:21px}.cw-concept-reader .cw-primary{width:100%}}.cw-note-break{gap:14px;display:grid}.cw-note-writing,.cw-notebooks article p{white-space:pre-wrap;overflow-wrap:anywhere}.cw-notebooks{margin:8px 0 20px}.cw-notebooks details{border:1px solid var(--cw-border);border-radius:12px;margin:16px 0;padding:16px}.cw-notebooks summary{cursor:pointer;padding:8px 0}.cw-notebooks button,.cw-note-break button{min-height:44px}.cw-notebooks article{margin-block:24px}.cw-notebooks article section{padding-block:8px}.cw-reader-options{grid-template-columns:repeat(auto-fit,minmax(min(100%,174px),1fr));gap:8px;margin:8px 0 14px;display:grid}.cw-reader-options>label,.cw-notebook-option{border:1px solid var(--cw-border,#ddd);border-radius:12px}.cw-reader-options label{box-sizing:border-box;cursor:pointer;align-items:center;gap:9px;min-height:48px;margin:0;padding:9px 12px;display:flex}.cw-reader-options input[type=radio]{width:17px;height:17px;accent-color:var(--cw-text,currentColor);flex:none;margin:0}.cw-reader-options>label:has(:checked),.cw-notebook-option:has(:checked){border-color:currentColor;box-shadow:inset 0 0 0 1px}.cw-notebook-option{align-items:center;display:flex}.cw-notebook-option label{flex:1}.cw-notebook-info{width:44px;min-height:44px;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;flex:none;padding:0;font-size:19px}
