.cards-intro-actions{flex-wrap:wrap}.cards-intro-actions [data-notebook-import]{white-space:normal;text-align:center;max-width:100%;font-size:14px;line-height:1.4}.notebook-library-tab{border-color:#c7b4e8!important;background:#f7f2ff}.notebook-jobs{display:grid;gap:14px;margin-top:24px}.notebook-job{padding:16px;border:1px solid #e5d9f2;border-radius:16px;min-width:0}.notebook-job-head{display:flex;gap:12px;justify-content:space-between;align-items:start}.notebook-job-head strong{overflow-wrap:anywhere}.notebook-job p,.notebook-hint{font-size:14px;line-height:1.6}.notebook-job progress{display:block;width:100%;height:10px;margin:12px 0;accent-color:#7939c4}.notebook-error{color:#9c2929!important}.notebook-job-head span{flex:none}#notebook-form,#notebook-edit{display:grid;gap:14px}#notebook-form label,#notebook-edit label{display:grid;gap:8px;font-weight:600}#notebook-form input,#notebook-edit input{box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:12px;border:1px solid #d9c8ee;border-radius:12px;font:inherit;font-size:16px}#notebook-form input[type=file]{font-size:14px}#notebook-form button{width:100%;white-space:normal}#notebook-status{min-height:1.5em}#notebook-form p{margin:0}.notebook-edit-button{font-size:14px;white-space:normal}.notebook-landing .notebook-preview{background:#f7f1ff;border:1px solid #dfcff2;border-radius:20px;padding:22px}.notebook-landing .notebook-preview p{margin:8px 0}.notebook-landing .notebook-steps{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}.notebook-steps>div{padding:20px;border:1px solid #e6dcf3;border-radius:18px}.notebook-landing .primary{display:inline-flex;text-align:center;justify-content:center;max-width:100%;white-space:normal;box-sizing:border-box}.notebook-landing details{border-bottom:1px solid #e5d9f2;padding:16px 0}.notebook-landing summary{cursor:pointer;font-weight:600}.notebook-landing .info-heading p{max-width:760px}@media(max-width:600px){.notebook-landing .notebook-steps{grid-template-columns:1fr}.cards-intro-actions [data-notebook-import]{width:100%}.notebook-job{padding:12px}}
.cards-page .cards-intro-actions [data-notebook-import]{font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;min-height:48px;padding:12px 16px;border:1px solid #c7aadd;border-radius:12px;background:#f0e5fb;color:#4b2869;box-sizing:border-box}
.cards-page .cards-intro-actions [data-notebook-import]:hover{background:#e5d4f7;border-color:#a779c8}
@media(max-width:700px){.cards-page .cards-intro-actions [data-notebook-import]{font-size:14px;padding:12px 14px}}
.cards-page #notebook-form input[type=file]{padding:8px;font-family:inherit;font-size:14px;background:#fbf8ff;cursor:pointer}
.cards-page #notebook-form input[type=file]::file-selector-button{font:inherit;font-weight:700;color:#63309b;background:#eee3fb;border:1px solid #d8beed;border-radius:10px;padding:10px 14px;margin-right:12px;cursor:pointer;transition:background .15s}
.cards-page #notebook-form input[type=file]::file-selector-button:hover{background:#e3d0f7}
.cards-page #notebook-form input[type=file]:focus-visible{outline:3px solid #ae7cdd;outline-offset:3px}
html.notebook-modal-open{overflow:hidden;overscroll-behavior:none}
html.notebook-modal-open body{position:fixed;top:var(--notebook-scroll-top);left:0;right:var(--notebook-scrollbar-gap,0px);overflow:hidden}
.cards-page #card-dialog.notebook-dialog{position:fixed;inset:0;padding:52px 0 0;overflow:hidden;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
.cards-page #card-dialog.notebook-dialog::backdrop{background:#22113780;backdrop-filter:none;-webkit-backdrop-filter:none}
.cards-page #card-dialog.notebook-dialog #card-dialog-body{box-sizing:border-box;max-height:calc(100vh - 78px);max-height:calc(100dvh - 78px);padding:8px 32px 28px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.cards-page #card-dialog.notebook-dialog .card-close{position:absolute;display:grid;place-items:center;z-index:3;top:4px;right:8px;box-sizing:border-box;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:#674378;font-size:0;line-height:1;opacity:1;box-shadow:none;transform:none}
.cards-page #card-dialog.notebook-dialog .card-close::before,.cards-page #card-dialog.notebook-dialog .card-close::after{content:'';position:absolute;left:13px;top:21px;width:18px;height:2px;border-radius:2px;background:currentColor;transform:rotate(45deg)}
.cards-page #card-dialog.notebook-dialog .card-close::after{transform:rotate(-45deg)}
.cards-page #card-dialog.notebook-dialog .card-close:hover{background:#f4edfa}
.cards-page #card-dialog.notebook-dialog .card-close:focus-visible{outline:2px solid #9350cc;outline-offset:-2px}
.cards-page #card-dialog.notebook-dialog h2:focus{outline:none}
.cards-page #card-dialog.notebook-dialog .eyebrow{padding-right:30px}
.cards-page #card-dialog.notebook-dialog #card-dialog-body>a.card-link{display:block;box-sizing:border-box;width:100%;padding:10px 0;line-height:1.5;text-align:left;white-space:normal}
@media(max-width:520px){.cards-page #card-dialog.notebook-dialog #card-dialog-body{padding:8px 20px 24px}}
.cards-page #notebook-form .notebook-file-picker{position:relative;display:flex;align-items:center;gap:12px;min-height:52px;padding:8px;box-sizing:border-box;border:1px solid #d9c8ee;border-radius:12px;background:#fbf8ff;overflow:hidden}
.notebook-file-button{flex:none;padding:10px 12px;border-radius:9px;background:#eee3fb;color:#63309b;font-size:14px;font-weight:600;line-height:1.4;pointer-events:none}
.notebook-file-selection{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#71617f;font-size:13px;font-weight:400;line-height:1.5;pointer-events:none}
.cards-page #notebook-form .notebook-file-picker>input[type=file]{position:absolute;inset:0;z-index:1;width:100%;height:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;opacity:0;cursor:pointer}
.notebook-file-picker:has(input:focus-visible){outline:3px solid #ae7cdd;outline-offset:3px}
.notebook-file-picker:has(input:disabled){opacity:.6;cursor:wait}
.cards-page #notebook-form{margin-top:20px;gap:16px}
.cards-page #notebook-form label{margin:0;gap:8px}
.cards-page #card-dialog.notebook-dialog .notebook-job button{box-sizing:border-box;min-height:44px;padding:10px 14px;border-radius:12px;font-size:14px;line-height:1.4}
.cards-page .word-row .notebook-edit-button{min-height:44px;white-space:nowrap}
.cards-page #card-dialog.notebook-dialog .notebook-intro{margin:12px 0 6px;font-size:14px;line-height:1.6}
.cards-page #card-dialog.notebook-dialog #card-dialog-body>a.notebook-help{margin:0;padding:4px 0;font-size:13px;font-weight:500;line-height:1.5;text-decoration:underline;text-underline-offset:3px}
.cards-page #notebook-form{gap:12px;margin-top:20px}
.cards-page #notebook-form>label{font-size:14px;line-height:1.5}
.notebook-optional{display:inline;color:#81728c;font-size:12px;font-weight:400}
.cards-page #notebook-form .notebook-hint,.cards-page #notebook-quota{font-size:13px;line-height:1.5;color:#71617f}
.cards-page #notebook-status:empty,.notebook-selected:empty,.notebook-results:not(:has(.notebook-job)){display:none}
.cards-page #notebook-status{min-height:0;padding:10px 12px;border-radius:10px;background:#f4eefb;color:#5d367a;font-size:13px;line-height:1.5}
.notebook-selected{display:grid;gap:8px}
.notebook-selected-photo{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid #e5d9f2;border-radius:12px;background:#fbf9ff;min-width:0}
.notebook-selected-thumb{display:grid;place-items:center;flex:none;width:48px;height:56px;overflow:hidden;border-radius:7px;background:#eee5f8;color:#785a8e;font-size:11px}
.notebook-selected-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.notebook-selected-info{flex:1;min-width:0}
.notebook-selected-info strong,.notebook-selected-info>span{display:block;overflow-wrap:anywhere;font-size:12px;line-height:1.5}
.notebook-selected-info strong{font-weight:600;color:#4d345f}
.notebook-selected-info>span{margin-top:3px;color:#74647f}
.notebook-selected-info progress{display:block;width:100%;height:7px;margin:7px 0 0;accent-color:#7939c4}
.cards-page #notebook-form .notebook-remove-photo{display:grid;place-items:center;flex:none;width:44px;height:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:9px;background:transparent;color:#785a8e;font-size:24px;line-height:1}
.notebook-remove-photo:focus-visible{outline:2px solid #9350cc;outline-offset:-2px}
.notebook-results{margin-top:24px;padding-top:18px;border-top:1px solid #ece2f4}
.cards-page #card-dialog.notebook-dialog .notebook-results>h3{margin:0;font-size:15px;line-height:1.4;font-weight:600}
.notebook-results .notebook-jobs{margin-top:12px}
@media(min-width:1024px){.cards-page .cards-intro{grid-template-columns:minmax(0,1fr) clamp(180px,19vw,270px);gap:24px}.cards-page .cards-intro-actions{flex-wrap:nowrap;gap:12px}.cards-page .cards-intro-actions>*{flex:none;white-space:nowrap}.cards-page .cards-intro-actions [data-notebook-import]{white-space:nowrap}.cards-page .cards-cover{padding:32px 18px}.cards-page .cards-cover strong{font-size:clamp(34px,3.2vw,46px)}}

