@charset "UTF-8";
:root{--ink:#40384a;--muted:#7c7285;--purple:#8062a8;--purple-dark:#695083;--purple-pale:#f1eaf8;--pink:#f6e7ed;--pink-strong:#b97794;--border:#eee8f0;--canvas:#fbf9fc;--white:#fff;--radius:20px;--shadow:0 5px 24px #67507806;--font:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--canvas);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.5}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b697cd;outline-offset:3px}button{color:inherit}a{color:var(--purple-dark)}button,textarea,input,select{border-radius:11px}button{border:0;background:none}a{text-decoration:none}h1,h2,h3,p{margin:0}h2,h3{font-weight:650;letter-spacing:-.025em}.icon{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}.skip-link{position:fixed;left:16px;top:-60px;padding:12px 18px;background:white;z-index:100;border:2px solid var(--purple);border-radius:12px}.skip-link:focus{top:12px}
.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#f5eff8;border-right:1px solid #eee5f2;padding:34px 22px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:11px;color:var(--ink);font-size:21px;font-weight:680;letter-spacing:-.04em;line-height:1.12;white-space:nowrap}.brand-mark{background:#8c6bb0;color:#fff8fc;display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:14px;box-shadow:0 4px 12px #8062a81a}.brand-mark .icon{width:25px;height:25px;stroke-width:1.6}.brand-sub{display:block;font-size:10px;letter-spacing:.25em;font-weight:550;color:#97849d;margin-top:7px}.sidebar-caption{font-size:9px;letter-spacing:.16em;font-weight:650;color:#a89aad;margin:52px 12px 14px}.nav-list{display:grid;gap:6px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;padding:13px 14px;text-align:left;color:#85758e;border-radius:12px;font-size:13px;font-weight:520;min-height:46px;transition:background .15s,color .15s}.nav-item .icon{width:19px;height:19px;stroke-width:1.6}.nav-item:hover{background:#ece3f2}.nav-item.active{color:#785594;background:#e8dcf1;font-weight:650}.nav-dot{margin-left:auto;width:6px;height:6px;background:#bd8eaf;border-radius:50%}.sidebar-note{border:1px solid #e6dcea;border-radius:16px;padding:22px 18px 20px;margin-top:auto;margin-bottom:26px;background:linear-gradient(145deg,#f8f4fb,#f5eaf2)}.small-flower{font-size:31px;line-height:1;color:#ac88b6;display:block;margin-bottom:9px}.sidebar-note p{font-size:14px;line-height:1.55;color:#8b718e;font-weight:550}.sidebar-note>span:last-child{display:block;font-size:11px;margin-top:9px;color:#ad95a9}.profile-card{display:flex;gap:10px;align-items:center;padding:5px 2px}.avatar{width:33px;height:33px;border-radius:50%;background:#ebdce9;display:grid;place-items:center;color:#a87594;font-weight:650}.profile-card strong{display:block;font-size:11px;font-weight:600}.profile-card small{display:block;font-size:9px;color:#a494a7}.profile-card>.icon{margin-left:auto;width:16px;color:#b698b1}.workspace{margin-left:232px;min-height:100vh}.topbar{height:77px;border-bottom:1px solid #f0ebf2;display:flex;align-items:center;justify-content:space-between;padding:0 48px;background:#ffffff9c}.breadcrumb{font-size:12px;color:#a294a7;display:flex;align-items:center;gap:13px}.breadcrumb strong{font-weight:500;color:#81708a}.breadcrumb span{color:#d3c9d7}.top-actions{display:flex;gap:17px;align-items:center}.status-pill{font-size:10px;color:#957d9e;display:inline-flex;align-items:center;gap:7px;border-radius:30px;padding:6px 11px;background:#f5eff8}.status-dot{width:5px;height:5px;background:#b69bc6;border-radius:50%}.status-pill.connected{color:#66806c;background:#edf5ef}.status-pill.connected .status-dot{background:#82a18a}.help-button{width:25px;height:25px;border:1px solid #e6dceb;border-radius:50%;font-size:12px;color:#a08da9}
main{max-width:1390px;margin:auto;padding:35px 48px 42px;outline:none!important}.welcome{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px;min-height:182px}.eyebrow{font-size:9px;letter-spacing:.15em;color:#a28da9;font-weight:650;display:flex;align-items:center;gap:7px}.sunshine{font-size:17px;color:#b68cac;line-height:1}.welcome h1{font-size:35px;line-height:1.22;letter-spacing:-.045em;font-weight:620;margin:13px 0 15px}.welcome h1>span,.page-heading h1>span{color:#9b7bb4}.welcome p{color:var(--muted);font-size:12px;line-height:1.7}.welcome-art{width:235px;flex:none;margin-right:33px;transform:rotate(-4deg)}.welcome-art svg{display:block;width:100%}.studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 304px;gap:25px;align-items:start}.card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.creation-panel{padding:25px 27px 18px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.section-heading>div{display:flex;align-items:center;gap:10px}.section-heading h2{font-size:15px}.step-circle{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#eee6f6;color:#9876b4;font-size:11px;font-weight:700}.step-circle.rose{background:#f8e9ef;color:#c189a3}.tiny-label{font-size:8px;font-weight:600;letter-spacing:.12em;color:#b3a3ba}.source-tabs{display:flex;gap:6px;margin-bottom:14px;background:#f8f5fa;border-radius:9px;padding:4px;width:max-content}.source-tab{display:flex;align-items:center;gap:7px;font-size:10px;padding:8px 12px;color:#9b8ba4;border-radius:7px}.source-tab .icon{width:14px;height:14px}.source-tab.active{background:#fff;color:#8c6aa5;box-shadow:0 1px 5px #6d507711}.dropzone{position:relative;min-height:192px;border:1.5px dashed #d9c8e7;border-radius:14px;background:linear-gradient(120deg,#fcfafd,#faf6fc);display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;padding:22px;transition:background .15s,border-color .15s}.dropzone:hover,.dropzone.dragover{background:#f3ecf9;border-color:#a384bc}.dropzone input{position:absolute;width:100%;height:100%;inset:0;opacity:0;cursor:pointer}.dropzone:focus-within{outline:3px solid #b697cd;outline-offset:3px}.upload-symbol{width:45px;height:45px;border-radius:14px;background:#f0e6f6;color:#aa83bf;display:grid;place-items:center;margin-bottom:10px}.upload-symbol .icon{width:23px;height:23px}.dropzone strong{font-size:13px;font-weight:600;margin-bottom:4px;color:#7b608e}.dropzone>span:not(.upload-symbol){font-size:11px;color:#a48caf}.dropzone small{font-size:9px;color:#b8a7c1;margin-top:11px}.text-link{color:#9670ac;text-decoration:underline;text-underline-offset:3px}.source-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 1px 2px;font-size:9px;color:#b1a2b7}.link-button{padding:3px 0;color:#9e7faf;font-size:10px;border-radius:3px}.link-button:hover{color:var(--purple-dark);text-decoration:underline;text-underline-offset:3px}.source-footer .link-button{font-size:9px;white-space:nowrap}.title-field{display:flex;align-items:center;gap:10px;margin-top:14px}.title-field label{font-size:10px;font-weight:550;white-space:nowrap;color:#9e8ca8}.title-field label span{font-size:9px;font-weight:400;color:#b5a8bc}.title-field input{width:100%;padding:9px 11px;border:1px solid #eee7f2;background:#fff;font-size:11px;color:var(--ink);min-width:0}input::placeholder,textarea::placeholder{color:#b3a4bd}textarea{resize:vertical;min-height:192px;border:1px solid #e3d7ed;background:#fdfbfe;width:100%;padding:16px;font-size:13px;line-height:1.75;outline-color:#b697cd}.creation-heading{margin-top:25px;margin-bottom:16px;padding-top:20px;border-top:1px solid #f2edf5}.task-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}.task-choice{border:1px solid #ece5f1;display:flex;align-items:center;text-align:left;gap:10px;padding:13px 12px;border-radius:12px;min-width:0}.task-choice:hover{background:#fcf9fd}.task-choice.selected{border:1.5px solid #b99aca;background:#fbf7fd;padding:12.5px 11.5px}.task-icon{width:34px;height:38px;border-radius:9px;display:grid;place-items:center;flex:none}.task-icon .icon{width:20px;height:20px}.lavender{background:#eee5f7;color:#9b74b7}.pink{background:#f8eaf0;color:#c491a7}.pale{background:#f4eef8;color:#b79ac8}.task-choice strong{display:block;font-size:11px;font-weight:600;white-space:nowrap}.task-choice small{display:block;font-size:8.5px;color:#ac99b6;margin-top:2px;white-space:nowrap}.choice-check{display:grid;place-items:center;width:14px;height:14px;border-radius:50%;border:1px solid #dfd5e6;color:white;margin-left:auto;flex:none}.choice-check .icon{width:10px;height:10px;display:none;stroke-width:2.4}.selected .choice-check{background:#a27bb9;border-color:#a27bb9}.selected .choice-check .icon{display:block}.length-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:21px 0 18px}.length-row>span{font-size:10px;color:#a18baa}.segmented{display:flex;gap:3px;background:#f7f3fa;border-radius:8px;padding:3px}.segmented button{font-size:9px;padding:6px 10px;border-radius:6px;color:#a995b2}.segmented button.active{background:#fff;box-shadow:0 1px 4px #7e5b8f0d;color:#8b68a2;font-weight:550}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#8c6bae;color:#fff;padding:12px 20px;font-size:13px;font-weight:600;border-radius:11px;box-shadow:0 4px 10px #8e6eab16;transition:background .15s,transform .15s}.primary-button:hover{background:#7e5f9f}.primary-button:active{transform:translateY(1px)}.generate-button{width:100%;height:46px;font-size:12px;font-weight:550;letter-spacing:.01em}.generate-button>.icon{width:17px;height:17px;stroke-width:1.6}.generate-button .trailing{margin-left:auto;width:16px}.generate-button>.icon:first-child{margin-left:auto}.creation-note{text-align:center;margin-top:10px;font-size:9px;color:#b7a8c0}.inline-message{margin-top:13px;padding:12px 14px;background:#f5eff9;border-radius:10px;color:#80668f;font-size:12px;line-height:1.6}.inline-message.error{background:#fcf0f3;color:#a45c79}.inline-message.success{background:#edf7f0;color:#52795e}.selected-file{margin-top:10px;padding:10px;border-radius:10px;background:#f4eff8;color:#887094;font-size:11px;display:flex;align-items:center;gap:8px}.selected-file button{margin-left:auto;color:#9b7fa7}.selected-file .icon{width:17px;height:17px}.selected-file>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.study-aside{display:grid;gap:20px}.library-promo{padding:22px 23px 17px;background:linear-gradient(140deg,#fcf8fc,#f8f0f7);border-color:#eedfec;position:relative;overflow:hidden}.card-kicker{display:flex;align-items:center;gap:9px;font-size:8px;letter-spacing:.1em;color:#b390a7;font-weight:650}.mini-icon{width:28px;height:28px;display:grid;place-items:center;background:#f0e0eb;border-radius:8px;color:#bb8ba9}.mini-icon .icon{width:16px;height:16px}.library-promo h2{font-size:21px;line-height:1.35;color:#886c8e;margin-top:13px;letter-spacing:-.04em;font-weight:580}.library-promo>p{font-size:10px;margin-top:7px;color:#ae8fa8}.library-stats{display:flex;gap:20px;align-items:center;margin:22px 0 17px}.library-stats>div{display:flex;flex-direction:column;gap:2px}.library-stats strong{font-size:24px;letter-spacing:-.04em;line-height:1.1;color:#a07b9c;font-weight:550}.library-stats span{font-size:8px;color:#af91aa}.stats-divider{height:31px;width:1px;background:#e7d6e4}.verified-line{display:flex;align-items:center;gap:6px;font-size:9px;color:#b190a9;margin-bottom:17px}.verified-line .icon{width:13px;height:13px;background:#eadce8;border-radius:50%;padding:2px;stroke-width:2}.soft-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:10px 14px;background:#f3ebf7;color:#94719f;border:1px solid #e8dbee;border-radius:9px;font-size:11px;font-weight:550;transition:background .15s}.soft-button:hover{background:#ece0f2}.soft-button .icon{width:16px;height:16px}.library-promo .soft-button{background:#edddea;border-color:#e4cfe1;color:#a07799;width:100%;justify-content:space-between;font-size:10px}.small-note{font-size:9px;color:#b39db4;line-height:1.5}.library-promo>.small-note{display:block;text-align:center;margin-top:9px;font-size:8px;color:#bda2b8}.how-card{padding:2px 6px 0}.how-heading{display:flex;align-items:center;gap:7px;margin:0 0 17px;color:#a083a7}.how-heading .icon{width:15px;height:15px;color:#bd9ab4}.how-heading h3{font-size:11px;font-weight:550;letter-spacing:-.02em}.how-list{list-style:none;padding:0;margin:0;display:grid;gap:17px}.how-list li{display:flex;gap:12px;align-items:flex-start}.how-list li>span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#f0e8f6;color:#aa8bbc;font-size:9px;flex:none}.how-list li:nth-child(2)>span{background:#f8e9f0;color:#c299af}.how-list li:nth-child(3)>span{background:#eeeaf7;color:#a799bf}.how-list strong{font-size:10px;font-weight:550;color:#9a83a3}.how-list p{font-size:9px;color:#b6a6be;margin-top:3px}.gentle-note{display:flex;align-items:center;gap:10px;padding:16px 13px;background:#f6f0f8;border-radius:13px;color:#b097bb}.gentle-note .icon{width:19px;height:19px}.gentle-note p{font-size:10px;line-height:1.6;font-style:italic}.recent-section{margin-top:30px}.simple-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.simple-heading h2{font-size:14px;font-weight:550;color:#8f7c9a}.simple-heading .link-button{font-size:10px}.recent-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.empty-recent{border:1px dashed #e6ddea;border-radius:13px;padding:16px 20px;display:flex;align-items:center;gap:13px;grid-column:1/-1;background:#fcfafd}.empty-recent strong{font-size:11px;font-weight:500;color:#a18cae}.empty-recent p{font-size:10px;color:#bbaac4;margin-top:3px}.app-footer{display:flex;justify-content:space-between;max-width:1390px;margin:auto;padding:0 48px 24px;color:#c1b1ca;font-size:9px}.app-footer>span:last-child>span{color:#c6a3bb;margin-left:6px}
.page-heading{padding:17px 0 29px}.page-heading h1{font-size:36px;line-height:1.2;letter-spacing:-.045em;font-weight:620;margin:11px 0 11px}.page-heading p{font-size:13px;color:#97879f}.library-info{display:flex;gap:13px;padding:16px 18px;background:#f2eaf7;border:1px solid #e9dff0;border-radius:13px;color:#997ca8;margin-bottom:22px}.library-info>.icon{width:19px;height:19px;margin-top:2px}.library-info p{font-size:11px;line-height:1.8}.library-info strong{font-weight:600}.filter-bar{display:flex;gap:12px;align-items:end;padding:17px;margin-bottom:18px}.filter-bar label{display:flex;flex-direction:column;gap:5px;min-width:0}.filter-bar label>span{font-size:9px;color:#a991b6;padding-left:2px}.filter-bar select{min-height:38px;border:1px solid #e9dfee;background:#fcfafc;color:#8f789e;font-size:10px;padding:8px 26px 8px 10px;max-width:220px}.search-field{position:relative;flex:1;display:flex!important;flex-direction:row!important;align-items:center!important;gap:7px!important;border:1px solid #e9dfee;border-radius:10px;padding:0 11px;background:#fcfafc;min-width:170px!important}.search-field .icon{width:15px;height:15px;color:#b29bbd}.search-field input{min-height:38px;border:0;background:none;min-width:0;width:100%;font-size:11px;color:var(--ink);outline-offset:5px}.list-meta{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#a18cad;margin-bottom:14px}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.book-card{padding:20px;display:flex;flex-direction:column;gap:10px;text-align:left;cursor:pointer;transition:border .15s,transform .15s,box-shadow .15s;min-height:255px}.book-card:hover{border-color:#d7c3e4;box-shadow:0 6px 20px #76558b0b;transform:translateY(-2px)}.book-topline{display:flex;justify-content:space-between;align-items:center;gap:5px}.book-year{font-size:9px;color:#a37cba;background:#f1e8f7;padding:4px 8px;border-radius:6px;white-space:nowrap}.book-status{font-size:8px;color:#a994af;text-align:right}.book-status.historical{color:#ac8a64}.book-card .book-course{font-size:8px;letter-spacing:.04em;color:#b29cbd;font-weight:550;line-height:1.5}.book-card h3{font-size:14px;color:#6d557e;line-height:1.4;font-weight:550;letter-spacing:-.02em}.book-author{font-size:10px;color:#a08ba9;line-height:1.5}.book-requirement{font-size:9px;line-height:1.5;color:#aa91b5;margin-top:auto;padding-top:10px;border-top:1px solid #f1eaf5}.book-bottom{display:flex;align-items:center;justify-content:space-between;color:#b79bc5;font-size:9px}.book-bottom .icon{width:14px;height:14px}.book-available{color:#7c9a85;font-size:9px}.load-more{text-align:center;margin:24px 0}.empty-state{grid-column:1/-1;text-align:center;padding:55px 25px;border:1px dashed #e4d6ed;border-radius:20px;color:#a18aae;background:#fdfbfe}.empty-state>.icon{width:38px;height:38px;margin-bottom:15px;color:#bda5cb}.empty-state h3{font-size:17px;margin-bottom:8px;color:#9678a7}.empty-state p{font-size:12px;max-width:410px;margin:auto;line-height:1.7}.empty-state .soft-button{margin-top:20px}
.output-section{margin-top:26px;padding:26px}.output-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.output-toolbar h2{font-size:20px;font-weight:550;margin-top:6px;color:#705682}.output-actions{display:flex;gap:7px;flex-wrap:wrap}.compact{padding:7px 10px;font-size:10px}.compact .icon{width:14px;height:14px}.output-warning{background:#fbf3e9;border-radius:10px;color:#9e815c;padding:11px 14px;font-size:11px;margin-bottom:18px;line-height:1.6}.output-body{line-height:1.85;font-size:13px;color:#75667f;white-space:pre-wrap}.output-body h3{font-size:17px;margin:0 0 10px;color:#856794;white-space:normal}.output-body ul{padding-left:20px;white-space:normal}.slide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;white-space:normal}.slide-card{border:1px solid #eaddf0;border-radius:14px;background:linear-gradient(145deg,#faf7fd,#fff);padding:23px 24px;min-height:210px;position:relative}.slide-number{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#b29ac0;margin-bottom:11px;display:block}.slide-card:nth-child(2n){background:linear-gradient(145deg,#fcf4f8,#fff)}.slide-card h3{font-size:18px;line-height:1.3;letter-spacing:-.03em;font-weight:600}.slide-card li{font-size:11px;line-height:1.65;margin:7px 0}.slide-notes{font-size:10px;color:#a38eb0;margin-top:16px}.source-details{border-top:1px solid #efe7f3;margin-top:24px;padding-top:13px;color:#a08aaf;font-size:11px}.source-details summary{cursor:pointer}.source-details pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;font-family:var(--font);font-size:11px;line-height:1.8;padding:16px;background:#faf6fc;border-radius:10px;color:#9783a5;margin-top:15px}.source-details a{display:block;font-size:11px;margin-top:10px}.materials-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;font-size:11px;color:#a38cae}.materials-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.material-card{padding:20px;display:flex;flex-direction:column;gap:11px;text-align:left}.material-card h3{font-size:15px;color:#856395;font-weight:550;line-height:1.5}.material-card p{font-size:11px;color:#aa94b5;line-height:1.8}.material-card .material-meta{font-size:9px;color:#b49bc1}.material-card .material-actions{display:flex;align-items:center;justify-content:space-between;margin-top:auto}.material-card .delete-material{padding:7px;color:#c49bb0}.delete-material .icon{width:15px;height:15px}.material-card .open-material{color:#9c7caf;font-size:10px;padding:4px 0;text-align:left}.storage-note{display:flex;align-items:center;gap:10px;margin-top:24px;padding:15px 17px;border-radius:11px;background:#f5eff8;color:#a38eae}.storage-note .icon{width:18px;height:18px}.storage-note p{font-size:10px;line-height:1.7}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-card{padding:26px}.settings-card h2{font-size:18px;color:#876394;font-weight:550;margin-bottom:11px}.settings-card>p{font-size:12px;color:#a48cad;line-height:1.8}.status-details{font-size:11px;margin:18px 0}.status-details>div{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #f2eaf5;gap:20px}.status-details dt{color:#ad96b7}.status-details dd{margin:0;color:#856b94;text-align:right;overflow-wrap:anywhere;max-width:70%}.settings-card .soft-button{margin-top:13px}.danger-link{display:block;color:#b78b9e;margin:18px 0 0;padding:0;font-size:11px;text-align:left;text-decoration:underline;text-underline-offset:4px}.settings-small{margin-top:23px;font-size:10px!important;line-height:1.8}.wide{grid-column:1/-1}.external-link{display:inline-block;font-size:12px;margin-top:14px}.access-code-field{margin-top:20px;border-top:1px solid #ede3f4;padding-top:15px}.access-code-field label{display:block;font-size:11px;color:#9a7daa;margin-bottom:8px}.access-code-field input{display:block;width:100%;border:1px solid #dfd0e9;padding:10px;font-size:12px}.access-code-field small{display:block;font-size:10px;color:#b098bb;margin-top:8px}
.toast{position:fixed;bottom:27px;left:calc(50% + 116px);transform:translateX(-50%);z-index:80;max-width:min(500px,85vw);padding:14px 22px;background:#735781;color:#fff7fe;box-shadow:0 5px 24px #49325330;border-radius:13px;font-size:12px;line-height:1.6}.book-dialog,.confirm-dialog{border:1px solid #e8d9f1;border-radius:22px;padding:32px;background:#fff;box-shadow:0 20px 100px #5b3c6330;width:calc(100% - 36px);max-width:660px;color:var(--ink)}dialog::backdrop{background:#48324e3b;backdrop-filter:blur(3px)}.dialog-close{position:absolute;right:16px;top:16px;padding:5px;color:#af91ba}.dialog-close .icon{width:18px;height:18px}.book-dialog h2{font-size:23px;font-weight:550;line-height:1.35;letter-spacing:-.03em;color:#795687;margin:16px 20px 10px 0}.book-dialog .book-author{font-size:13px}.book-detail-list{margin:23px 0}.book-detail-list>div{padding:11px 0;border-bottom:1px solid #f2eaf6;display:grid;grid-template-columns:120px 1fr;gap:15px;font-size:11px}.book-detail-list dt{color:#b095bd}.book-detail-list dd{margin:0;color:#8f759d;line-height:1.8;overflow-wrap:anywhere}.book-dialog .dialog-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.book-dialog .availability-note{background:#f5eef8;padding:14px;border-radius:10px;font-size:11px;color:#a089aa;line-height:1.8;margin-top:20px}.confirm-dialog{max-width:420px}.confirm-dialog h2{font-size:21px;color:#856191;margin-bottom:12px}.confirm-dialog p{font-size:13px;color:#9d83a6;line-height:1.8}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.dialog-actions .primary-button{font-size:11px;padding:10px 16px}
@media(min-width:1530px){main{padding-top:47px}.welcome h1{font-size:41px}.welcome p{font-size:13px}.welcome{margin-bottom:36px}.studio-grid{grid-template-columns:minmax(0,1fr) 335px;gap:28px}.creation-panel{padding:30px 32px 22px}.section-heading h2{font-size:17px}.source-tab{font-size:12px}.dropzone{min-height:218px}.dropzone strong{font-size:15px}.dropzone>span:not(.upload-symbol){font-size:12px}.dropzone small{font-size:10px}.title-field label{font-size:11px}.title-field input{font-size:12px}.task-choice{padding:16px 14px}.task-choice.selected{padding:15.5px 13.5px}.task-choice strong{font-size:13px}.task-choice small{font-size:10px}.length-row>span{font-size:12px}.segmented button{font-size:11px}.generate-button{font-size:14px;height:49px}.library-promo{padding:26px 27px 20px}.library-promo h2{font-size:24px}.library-promo>p{font-size:12px}.library-stats strong{font-size:28px}.library-stats span{font-size:10px}.library-promo .soft-button{font-size:12px}.how-heading h3{font-size:13px}.how-list strong{font-size:12px}.how-list p{font-size:11px}.gentle-note p{font-size:12px}.how-list{gap:19px}.how-card{padding:8px 6px 0}.study-aside{gap:24px}}
@media(max-width:1190px){.sidebar{width:208px;padding:30px 17px 20px}.brand{font-size:19px;gap:9px}.brand-mark{width:39px;height:39px}.nav-item{font-size:12px;padding:12px}.workspace{margin-left:208px}main{padding:28px 30px 34px}.topbar{padding:0 30px;height:69px}.app-footer{padding:0 30px 22px}.studio-grid{grid-template-columns:minmax(0,1fr) 265px;gap:19px}.creation-panel{padding:23px 22px 18px}.welcome-art{width:209px;margin-right:11px}.welcome h1{font-size:32px}.library-promo{padding:21px 20px 17px}.library-promo h2{font-size:19px}.task-choices{gap:8px}.task-choice{gap:7px;padding:12px 8px}.task-choice.selected{padding:11.5px 7.5px}.task-choice strong{font-size:10px}.task-choice small{font-size:8px}.task-icon{width:29px;height:34px}.length-row{gap:6px}.segmented button{padding:6px 7px;font-size:8px}.length-row>span{font-size:9px}.toast{left:calc(50% + 104px)}.filter-bar{flex-wrap:wrap}.search-field{flex-basis:100%}.filter-bar label:not(.search-field){flex:1}.filter-bar select{max-width:100%;width:100%}.book-grid,.materials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.output-toolbar{align-items:flex-start;flex-direction:column;gap:13px}}
@media(max-width:990px){.sidebar{width:184px;padding:25px 12px 18px}.brand{font-size:17px}.brand-mark{width:35px;height:35px;border-radius:12px}.brand-sub{font-size:8px}.brand-mark .icon{width:21px;height:21px}.nav-item{font-size:11px;gap:10px}.nav-item .icon{width:17px;height:17px}.sidebar-caption{font-size:8px;margin-top:40px}.sidebar-note{padding:18px 13px}.sidebar-note p{font-size:12px}.sidebar-note>span:last-child{font-size:10px}.workspace{margin-left:184px}main{padding:27px 24px 32px}.topbar{padding:0 24px}.app-footer{padding:0 24px 22px}.studio-grid{grid-template-columns:1fr}.study-aside{grid-template-columns:1fr 1fr;gap:22px}.gentle-note{display:none}.library-promo{padding:22px}.library-promo h2{font-size:20px}.how-card{padding:10px 0}.welcome-art{width:185px;margin-right:0}.welcome h1{font-size:30px}.task-choice strong{font-size:13px}.task-choice small{font-size:10px}.task-choice{padding:15px;gap:12px}.task-choice.selected{padding:14.5px}.task-icon{width:35px;height:38px}.length-row>span{font-size:11px}.segmented button{font-size:10px;padding:6px 11px}.source-footer{font-size:10px}.source-footer .link-button{font-size:10px}.title-field input{font-size:12px}.title-field label{font-size:11px}.creation-note{font-size:10px}.section-heading h2{font-size:17px}.source-tab{font-size:11px}.generate-button{height:48px;font-size:13px}.toast{left:calc(50% + 92px)}.settings-grid{grid-template-columns:1fr}}
@media(max-width:760px){.sidebar{position:sticky;top:0;width:100%;height:auto;inset:auto;padding:13px 20px 0;border-right:0;border-bottom:1px solid #eadef1;background:#f7f1faf5;backdrop-filter:blur(12px)}.brand{font-size:19px;gap:9px}.brand-mark{width:34px;height:34px}.brand-sub{font-size:7px;letter-spacing:.3em;margin-top:4px}.nav-list{display:flex;gap:4px;margin-top:13px;justify-content:space-between}.nav-item{padding:10px 8px;justify-content:center;gap:6px;font-size:10px;min-height:42px;border-radius:9px 9px 0 0;width:auto;flex:1}.nav-item.active{background:#ecdef5}.nav-item .icon{width:15px;height:15px}.nav-dot{display:none}.sidebar-caption,.sidebar-note,.profile-card{display:none}.workspace{margin-left:0}.topbar{height:48px;padding:0 22px}.breadcrumb{font-size:10px;gap:8px}.status-pill{font-size:8px;padding:5px 9px}.top-actions{gap:12px}.help-button{width:22px;height:22px;font-size:10px}main{padding:26px 21px 28px}.welcome{margin-bottom:23px;min-height:auto}.welcome h1{font-size:30px;margin:12px 0 12px}.welcome p{font-size:11px;line-height:1.7}.eyebrow{font-size:8px;letter-spacing:.13em}.welcome-art{width:145px;margin-left:-12px;margin-right:-6px}.creation-panel{padding:22px 21px 18px}.studio-grid{gap:22px}.study-aside{gap:20px}.app-footer{padding:0 21px 22px;font-size:8px;gap:20px}.recent-section{margin-top:25px}.toast{left:50%}.page-heading{padding:8px 0 23px}.page-heading h1{font-size:32px}.page-heading p{font-size:12px}.library-info p{font-size:10px}.book-card{padding:17px;min-height:250px}.book-grid{gap:13px}.book-card h3{font-size:13px}.filter-bar{padding:14px;gap:12px}.filter-bar select{font-size:10px;padding-left:8px}.list-meta{font-size:9px}.list-meta>.small-note{font-size:8px}.slide-grid{grid-template-columns:1fr}.output-section{padding:22px}.materials-grid{gap:13px}.material-card{padding:17px}.recent-materials{grid-template-columns:1fr}.settings-card{padding:23px}.book-dialog{padding:28px 23px}.book-detail-list>div{grid-template-columns:95px 1fr;gap:12px}.book-dialog h2{font-size:21px}}
@media(max-width:480px){.sidebar{padding:12px 14px 0}.nav-item{font-size:9px;gap:5px;padding:10px 4px}.nav-item .icon{width:14px;height:14px}.nav-list{gap:2px}.welcome-art{display:none}.welcome h1{font-size:31px}.welcome p{font-size:12px}.mobile-hide{display:none}main{padding:25px 16px 26px}.topbar{padding:0 17px}.creation-panel{padding:21px 17px 17px}.section-heading h2{font-size:16px}.tiny-label{display:none}.dropzone{min-height:187px}.dropzone strong{font-size:14px}.dropzone>span:not(.upload-symbol){font-size:11px}.source-footer{font-size:9px;align-items:start;gap:8px}.source-footer>span{max-width:50%}.source-footer .link-button{font-size:9px}.title-field{display:block}.title-field label{display:block;margin-bottom:6px}.title-field input{font-size:11px}.task-choices{gap:9px}.task-choice{padding:13px 9px;gap:8px}.task-choice.selected{padding:12.5px 8.5px}.task-choice strong{font-size:11px}.task-choice small{font-size:8px}.task-choice .task-icon{width:28px;height:33px}.task-choice .task-icon .icon{width:18px}.choice-check{width:12px;height:12px}.length-row>span{font-size:10px}.segmented button{font-size:9px;padding:6px 8px}.study-aside{grid-template-columns:1fr}.how-card{display:none}.library-promo{padding:22px}.library-promo h2>br{display:none}.library-promo h2{font-size:20px;max-width:100%}.library-promo>p{font-size:11px}.library-stats{gap:25px;margin:18px 0 16px}.library-stats strong{font-size:25px}.library-stats span{font-size:10px}.library-promo .soft-button{font-size:11px}.library-promo>.small-note{font-size:9px}.card-kicker{font-size:9px}.library-info{padding:14px 13px}.filter-bar label:not(.search-field){flex-basis:40%}.filter-bar label:last-child{flex-basis:100%}.book-grid,.materials-grid{grid-template-columns:1fr}.book-card{min-height:235px;padding:21px}.book-card h3{font-size:16px}.book-card .book-course{font-size:9px}.book-author{font-size:11px}.book-requirement{font-size:10px}.book-year{font-size:10px}.book-bottom{font-size:10px}.book-status{font-size:9px}.book-topline{margin-bottom:3px}.materials-header{gap:12px;font-size:10px}.materials-header .soft-button{font-size:10px}.book-detail-list>div{grid-template-columns:1fr;gap:4px}.book-dialog h2{font-size:20px}.output-toolbar h2{font-size:18px}.output-actions{gap:5px}.output-actions .compact{font-size:9px;padding:7px 8px}.simple-heading h2{font-size:13px}.simple-heading .link-button{font-size:9px}.app-footer>span:last-child{max-width:52%;text-align:right}.list-meta{gap:12px;align-items:start}.list-meta>.small-note{max-width:35%;text-align:right}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{body{background:white;color:#222}.sidebar,.topbar,.app-footer,.welcome,.studio-grid,.recent-section,.output-actions,.toast,.source-details,.view[hidden]{display:none!important}.workspace{margin:0}main{padding:0;max-width:none}.output-section{display:block!important;box-shadow:none;border:0;padding:0;margin:0}.output-toolbar{margin:0 0 24px}.output-toolbar h2{font-size:26px;color:#553e65}.output-body{font-size:12px;line-height:1.8;color:#333}.slide-grid{display:block}.slide-card{break-after:page;break-inside:avoid;border:0;min-height:75vh;padding:50px 30px}.slide-card h3{font-size:30px}.slide-card li{font-size:20px;line-height:1.8}.slide-number{font-size:12px}.slide-notes{font-size:14px}#view-library,#view-materials,#view-settings{display:none!important}a{color:#222}}

/* Readable type and contrast on the soft pastel surfaces. */
@media screen {
  :root{--muted:#786783}
  .nav-item{font-size:14px;color:#786783}.nav-item.active{color:#6b477f}.sidebar-caption{font-size:11px;color:#86718f}.brand-sub{color:#846b8e}.profile-card strong{font-size:13px}.profile-card small{font-size:11px;color:#84708e}.sidebar-note p{color:#7b5d81}.sidebar-note>span:last-child{font-size:12px;color:#88718e}
  .breadcrumb{font-size:13px;color:#7c6886}.breadcrumb strong{color:#6f587b}.status-pill{font-size:11px;color:#80628f}.welcome p,.page-heading p{font-size:14px;color:#786783}.eyebrow,.tiny-label{font-size:11px;color:#85658f}.section-heading h2{font-size:17px}.step-circle{font-size:12px;color:#80549d}
  .source-tab{font-size:13px;color:#836c90}.source-tab.active{color:#78568e}.dropzone strong{font-size:15px;color:#6d4c82}.dropzone>span:not(.upload-symbol){font-size:13px;color:#856991}.dropzone small{font-size:12px;color:#8c7298}.source-footer{font-size:12px;color:#86708f}.source-footer .link-button,.link-button{font-size:12px;color:#805891}.title-field label{font-size:13px;color:#786180}.title-field label span{font-size:12px;color:#8a7493}.title-field input{font-size:14px}input::placeholder,textarea::placeholder{color:#8b7895}textarea{font-size:14px;line-height:1.75}.selected-file{font-size:13px;color:#765883}
  .task-choice{gap:10px}.task-choice>span:nth-child(2){min-width:0}.task-choice strong{font-size:14px;white-space:normal;color:#65506f}.task-choice small{font-size:12px;white-space:normal;color:#846c91}.length-row>span{font-size:13px;color:#786180}.segmented button{font-size:12px;color:#876e96}.segmented button.active{color:#745286}.generate-button{font-size:14px;height:49px}.creation-note{font-size:12px;color:#8b7497}
  .card-kicker{font-size:11px;color:#94647e}.library-promo h2{font-size:23px;color:#795180}.library-promo>p{font-size:13px;color:#976c88}.library-stats strong{font-size:28px;color:#94668d}.library-stats span{font-size:12px;color:#946e8b}.verified-line{font-size:12px;color:#916a87}.library-promo .soft-button{font-size:13px;color:#875a80}.library-promo>.small-note{font-size:11px;color:#94708c}.soft-button{font-size:13px;color:#79558a}.how-heading h3{font-size:13px;color:#80618d}.how-list strong{font-size:13px;color:#7b5e88}.how-list p{font-size:12px;color:#8b7497}.how-list li>span{font-size:11px;color:#835e99}.gentle-note p{font-size:13px;color:#85648f}
  .simple-heading h2{font-size:16px;color:#786080}.simple-heading .link-button{font-size:12px}.empty-recent strong{font-size:14px;color:#80638d}.empty-recent p{font-size:13px;color:#8b7497}.app-footer{font-size:11px;color:#947b9e}.small-note{font-size:12px;color:#8c7197}
  .library-info p{font-size:13px;color:#7e5b8e}.filter-bar label>span{font-size:12px;color:#886d95}.filter-bar select{font-size:12px;color:#7c608a}.search-field input{font-size:13px}.list-meta{font-size:13px;color:#80628e}.list-meta>.small-note{font-size:11px}.book-card .book-course{font-size:11px;color:#8a6e97}.book-card h3{font-size:16px;color:#71507f}.book-author{font-size:13px;color:#84658f}.book-year{font-size:11px;color:#805396}.book-status{font-size:11px;color:#88718f}.book-status.historical{color:#97744a}.book-requirement{font-size:12px;color:#84658f}.book-bottom,.book-available{font-size:12px}.book-bottom{color:#895f9d}.book-available{color:#557b62}.book-card{min-height:300px}
  .output-body{font-size:14px;color:#6e5b78}.output-body p{margin-bottom:14px;white-space:normal}.output-body h3{margin-top:18px}.output-body h3:first-child{margin-top:0}.output-body ul{margin-top:8px;margin-bottom:18px}.slide-card li{font-size:14px}.slide-notes{font-size:12px;color:#87708f}.output-warning{font-size:13px;color:#8a6743}.source-details{font-size:13px;color:#83628f}.source-details pre{font-size:12px;color:#795e84}.citation{margin-top:10px;line-height:1.8}.output-actions .compact{font-size:12px}.output-actions .icon{width:16px;height:16px}
  .materials-header{font-size:13px;color:#83638f}.material-card h3{font-size:17px;color:#795286}.material-card p{font-size:13px;color:#85698e}.material-card .material-meta{font-size:11px;color:#92769f}.material-card .open-material{font-size:12px;color:#825994}.storage-note p{font-size:12px;color:#866d90}.settings-card>p{font-size:14px;color:#80628b}.settings-small{font-size:12px!important}.status-details{font-size:13px}.status-details dt{color:#876c94}.status-details dd{color:#725280}.danger-link{font-size:13px;color:#a66983}.external-link{font-size:13px}.book-detail-list>div{font-size:13px}.book-detail-list dt{color:#8e6e9b}.book-detail-list dd{color:#785783}.book-dialog .availability-note{font-size:13px;color:#7e5d8b}.toast{font-size:13px}.confirm-dialog p{color:#80648b}
  .login-form label{display:block;margin:20px 0 7px;font-size:13px;color:#84608f}.login-form input{width:100%;padding:12px;border:1px solid #decee9;font-size:15px}.login-error{font-size:13px!important;color:#ac5677!important;line-height:1.6;margin-top:10px}.cancel-generation{margin-top:8px;text-decoration:underline;text-underline-offset:3px}
}
@media screen and (max-width:1190px){.nav-item{font-size:13px}.task-choice strong{font-size:13px}.task-choice small{font-size:11px}.length-row{flex-wrap:wrap;gap:10px}.segmented button{font-size:11px}.library-promo h2{font-size:21px}}
@media screen and (max-width:760px){.nav-item{font-size:12px}.welcome p{font-size:13px}.breadcrumb{font-size:11px}.status-pill{font-size:10px}.creation-note{font-size:11px}.task-choice small{font-size:12px}.source-footer{font-size:11px}.source-footer .link-button{font-size:11px}.app-footer{font-size:10px}}
@media screen and (max-width:480px){.nav-item{font-size:10px}.nav-item .icon{width:14px}.nav-item{gap:5px}.task-choice strong{font-size:13px}.task-choice small{font-size:11px}.task-choices{gap:8px}.task-choice{padding:13px 8px;gap:7px}.task-choice.selected{padding:12.5px 7.5px}.task-choice .choice-check{display:none}.length-row{gap:11px}.length-row>span{font-size:12px}.segmented button{font-size:11px}.book-card{min-height:280px}.library-stats span{font-size:12px}.source-footer>span{max-width:49%}.source-footer{font-size:11px}.title-field label{font-size:12px}.title-field label span{font-size:11px}.title-field input{font-size:13px}.output-actions .compact{font-size:11px}.library-promo h2{font-size:22px}}
.example-result-row{text-align:center;margin-top:9px}.privacy-note{line-height:1.65;max-width:490px;margin:9px auto 0}.selected-file{flex-wrap:wrap}.selected-file>span{flex:1}.selected-file .edit-imported-text{margin-left:0;white-space:nowrap;font-size:12px}.selected-file .remove-imported-file{margin-left:0}.material-backup-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.materials-header{gap:15px;align-items:start}.material-backup-actions .soft-button{font-size:12px}
@media(max-width:480px){.selected-file .edit-imported-text{order:3;flex-basis:100%;text-align:left;margin-left:25px}.material-backup-actions .soft-button{font-size:11px;padding:9px}.material-backup-actions .icon{width:14px}.materials-header{flex-direction:column}.material-backup-actions{justify-content:flex-start}}
.library-switcher{display:flex;gap:7px;margin-bottom:25px;padding:5px;background:#f1e9f7;border-radius:12px;width:fit-content;max-width:100%}.library-section-tab{font-size:13px;padding:10px 17px;color:#8c6c9c;line-height:1.5}.library-section-tab.active{background:white;box-shadow:0 2px 6px #76558b0a;color:#755181;font-weight:600}.library-section-heading{font-size:22px;color:#795685;margin:0 0 9px;font-weight:550}.library-section-intro{font-size:13px;color:#85678f;line-height:1.85;margin-bottom:24px;max-width:850px}.document-card,.extra-source-card{padding:22px;display:flex;flex-direction:column;gap:13px}.document-card h3,.extra-source-card h3{font-size:17px;line-height:1.5;color:#795285;font-weight:550}.document-card .book-year{width:fit-content}.document-attribution{font-size:12px;color:#8a7194;line-height:1.75}.document-adoption{font-size:12px;color:#8a6597;line-height:1.7}.document-rights{font-size:12px;line-height:1.8;color:#886a95}.document-rights summary{cursor:pointer;color:#80588e}.document-rights p{margin-top:9px}.document-rights a{display:inline-block;margin-top:9px}.document-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:9px}.document-actions .soft-button{font-size:12px}.extra-filter-bar .search-field{flex-basis:auto}.extra-filter-bar select{min-width:190px}.extra-source-organization{font-size:11px;font-weight:600;letter-spacing:.04em;color:#a07495;text-transform:uppercase}.extra-source-description{font-size:13px;line-height:1.8;color:#85678f}.source-tags{display:flex;flex-wrap:wrap;gap:6px}.source-tags span{font-size:10px;line-height:1.6;background:#f3eaf8;border-radius:5px;padding:4px 7px;color:#8c669b}.extra-source-card>.soft-button{margin-top:auto;align-self:flex-start}.extra-sources-grid .empty-state>.soft-button{margin-top:18px}
@media(max-width:1100px){.document-grid{grid-template-columns:1fr}.library-section-tab{padding:9px 12px;font-size:12px}.document-card{padding:24px}.document-card h3{font-size:19px}}
@media(max-width:600px){.library-switcher{width:100%;gap:3px;padding:4px}.library-section-tab{flex:1;font-size:11px;padding:8px 6px}.extra-filter-bar .search-field{flex-basis:100%}.extra-filter-bar label{width:100%}.extra-filter-bar select{width:100%;max-width:100%}.document-card,.extra-source-card{padding:21px}.document-card h3,.extra-source-card h3{font-size:17px}}
/* Marzia's library keeps a warm, readable two-line wordmark. */
.brand{font-size:20px;letter-spacing:-.045em}.brand-sub{font-size:17px;letter-spacing:-.02em;font-weight:450;color:#aa7899;margin-top:5px;line-height:1.1}.profile-card small{font-size:10px;line-height:1.5}.app-footer>span:first-child{font-weight:550}
@media(max-width:1190px){.brand{font-size:18px;gap:8px}.brand-sub{font-size:16px}}
@media(max-width:990px){.brand{font-size:16px;gap:8px}.brand-sub{font-size:15px}}
@media(max-width:760px){.brand{font-size:20px;gap:10px}.brand-sub{font-size:15px;margin-top:3px}.brand-mark{width:39px;height:39px}.brand-mark .icon{width:23px;height:23px}}
.extra-source-availability{font-size:11px;line-height:1.7;color:#93774f;background:#fbf5eb;border-radius:8px;padding:9px 10px}
.result-options{margin:19px 0 18px}.result-options>summary,.service-details>summary{font-size:13px;line-height:1.65;color:#825d92;cursor:pointer}.result-options .length-row{margin:14px 0 4px}.service-details{margin:0 0 10px}.service-details .status-details{margin:8px 0 13px}
