/* SIGNWELL AI CLASS — Handout Library */
.handout-overview{background:#171c17;color:#fff;border-radius:24px;padding:48px 52px;display:flex;align-items:center;justify-content:space-between;gap:50px;position:relative;overflow:hidden;margin-bottom:70px}.handout-overview:after{content:"◎";position:absolute;right:16%;bottom:-170px;font-size:30rem;color:#d9f76808;line-height:1;pointer-events:none}.handout-overview .eyebrow{color:var(--lime)}.handout-overview h2{font-size:clamp(2.2rem,4vw,3.8rem);margin:20px 0}.handout-overview p{color:#b2bdb0;font-size:.89rem;max-width:460px;margin:0}.handout-overview-stats{display:flex;gap:34px;z-index:1}.handout-overview-stats>div{border-left:1px solid #52604e;padding-left:22px;min-width:96px}.handout-overview-stats strong{display:block;font-size:clamp(2rem,3vw,3.3rem);line-height:1.2;letter-spacing:-.06em}.handout-overview-stats span{display:block;font-size:.72rem;color:#a9b4a2;margin-top:7px}.handout-section-title{margin-bottom:25px}.handout-controls{display:flex;align-items:end;gap:14px;justify-content:space-between;margin:20px 0 18px}.handout-controls .search-box{width:min(460px,100%)}.handout-select-wrap{font-size:.7rem;font-weight:800;display:flex;align-items:center;gap:11px}.handout-select-wrap .form-select{min-width:245px;padding:11px 15px}.handout-tabs{margin-bottom:24px}.handout-card{background:#fff;border:1px solid var(--line);border-radius:18px;min-height:315px;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.handout-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.handout-card-top{padding:19px 22px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.handout-card-link{display:flex;flex-direction:column;flex:1;padding:8px 22px 22px}.handout-numeral{font-size:.68rem;letter-spacing:.15em;font-weight:800;color:#7b8575}.handout-card h3{margin:17px 0 8px;font-size:1.23rem;line-height:1.4}.handout-card p{font-size:.82rem;color:var(--muted);margin:0 0 27px;flex:1}.handout-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:17px;border-top:1px solid #eaede4;font-size:.71rem;color:#515b4d;font-weight:800}.handout-card-bottom span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:70%}.handout-card-bottom span:last-child{white-space:nowrap}.handout-icon-btn{border:1px solid #dfe4d5;background:#f7f9f3;color:#353d2f;border-radius:50%;height:36px;width:36px;display:grid;place-items:center;font-size:1.5rem;line-height:1;flex-shrink:0}.handout-icon-btn.is-on{background:var(--lime);border-color:var(--lime)}.handout-empty{grid-column:1/-1}.handout-reader-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(275px,.7fr);gap:25px;align-items:start}.handout-document{background:#fff;border:1px solid var(--line);border-radius:23px;padding:clamp(27px,5vw,65px);overflow-wrap:anywhere;min-width:0}.handout-document h1{font-size:clamp(2rem,3.7vw,3.8rem);margin:25px 0 19px;line-height:1.25}.handout-lead{color:#656d60;font-size:1.05rem;margin-bottom:28px}.handout-document-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:15px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:.71rem;color:#788073}.handout-markdown{font-size:.96rem;color:#2d312b;line-height:1.95;padding:30px 0}.handout-markdown h2{font-size:1.8rem;letter-spacing:-.04em;margin:30px 0 14px}.handout-markdown h3{font-size:1.25rem;margin:30px 0 11px;letter-spacing:-.025em}.handout-markdown h4{font-size:1.08rem;margin:24px 0 9px}.handout-markdown p{margin-bottom:18px}.handout-markdown ul,.handout-markdown ol{padding-left:24px;margin-bottom:23px}.handout-markdown li{margin-bottom:7px}.handout-markdown blockquote{background:#f1f7e5;border-left:4px solid #a4c04e;border-radius:0 12px 12px 0;margin:24px 0;padding:17px 21px;color:#46543a;line-height:1.8}.handout-markdown strong{font-weight:800}.handout-document-end{border-top:1px solid var(--line);padding:25px 0 0;font-size:.69rem;letter-spacing:.15em;color:#868c83;font-weight:700}.handout-sidebar{position:sticky;top:112px}.handout-sidebar-links{display:flex;flex-direction:column;align-items:start;gap:13px;padding:26px 10px}.handout-pdf{padding:55px 20px;text-align:center}.handout-pdf-icon{margin:0 auto 18px;width:100px;height:110px;display:grid;place-items:center;border-radius:15px;border:2px solid #dae5c7;background:#f4f8ed;font-size:1.3rem;font-weight:800}.handout-pdf h3{font-size:1.6rem}.handout-pdf p{color:var(--muted);font-size:.88rem;max-width:490px;margin:0 auto 20px}.handout-management{flex-wrap:wrap}.handout-management>div:first-child{min-width:240px;flex:1}.handout-management .btn{white-space:nowrap}.handout-editor-form{background:#fff;border:1px solid var(--line);padding:clamp(22px,4.2vw,55px);border-radius:24px}.handout-editor-head,.handout-editor-bottom{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}.handout-editor-head{border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:25px}.handout-editor-bottom{border-top:1px solid var(--line);margin-top:32px;padding-top:24px}.handout-editor-bottom p{max-width:580px}.handout-editor-textarea{min-height:450px;line-height:1.8;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9rem}.handout-editor-preview{border:1px solid var(--line);border-radius:14px;padding:35px;min-height:350px;margin-top:14px;background:#fcfdf8}.handout-editor-preview[hidden]{display:none}.handout-management .btn:hover{transform:translateY(-1px)}
@media(max-width:1000px){.handout-overview{flex-direction:column;align-items:start}.handout-reader-layout{grid-template-columns:1fr}.handout-sidebar{position:static}.handout-controls{flex-wrap:wrap}.handout-controls .search-box{flex:1;min-width:min(100%,320px)}}@media(max-width:620px){.handout-overview{padding:30px 25px;gap:35px;margin-bottom:48px}.handout-overview h2{font-size:2.3rem}.handout-overview-stats{gap:10px;width:100%;justify-content:space-between}.handout-overview-stats>div{min-width:0;padding-left:10px}.handout-overview-stats span{font-size:.62rem}.handout-controls{display:block}.handout-controls .search-box{width:100%;min-width:0}.handout-select-wrap{display:block;margin-top:14px}.handout-select-wrap .form-select{width:100%;margin-top:7px;min-width:0}.handout-card{min-height:265px}.handout-document h1{font-size:2.05rem}.handout-document{padding:25px 20px}.handout-markdown{padding:20px 0;font-size:.91rem}.handout-markdown h2{font-size:1.5rem}.handout-editor-form{padding:22px 17px}.handout-management .btn{padding:8px 10px}.handout-editor-head .btn{flex:1}}@media print{.site-header,.site-footer,.page-hero,.handout-sidebar,.page-alert,.toast,.handout-document-end{display:none!important}.page-section{padding:0}.container{width:100%;max-width:none}.handout-reader-layout{display:block}.handout-document{padding:0;border:0;border-radius:0}.handout-markdown{color:#000}.handout-markdown blockquote{border-left-color:#777;background:#eee}}
