/* The part editor of a slide (slide-parts.js): the same tools and forms as the
   document page's editor, for the slide editor, which carries its own look. */
.sp-paper{background:#fff;color:#111827;font:17px/1.5 inherit}
.sp-paper h1{font:700 1.75em/1.12 inherit;margin:0 0 .5em}
.sp-paper h2{font:700 1.3em/1.15 inherit;margin:1em 0 .4em;color:#111827}
.sp-paper h3{font-size:1.05em;margin:.9em 0 .3em;color:#5b21b6;text-transform:uppercase;letter-spacing:.06em;font-size:.82em}
.sp-paper>:first-child,.paper .body>:first-child{margin-top:0}
.sp-paper .body>:last-child{margin-bottom:0}
.sp-paper p{margin:.45em 0}
.sp-paper ul,.paper ol{margin:.4em 0;padding-left:1.3em}
.sp-paper .apc-math{margin:.6em 0;overflow-x:auto;overflow-y:hidden}
.sp-paper .apc-script-block,.paper .asc-graph{margin:.5em 0}
.sp-paper canvas{display:block;margin:0 auto;max-width:100%;height:auto}
.sp-paper .asc-picture-tools{display:none}
.sp-paper .apc-callout{border-left:4px solid #7c3aed;background:#f4f1fe;padding:.55em .9em;margin:.7em 0;border-radius:0 10px 10px 0}
.sp-paper .apc-callout-label{font-weight:700;color:#5b21b6;font-size:.72em;text-transform:uppercase;letter-spacing:.08em}
.sp-paper .apc-callout p:last-child{margin-bottom:0}
.sp-paper .apc-table{border-collapse:collapse;margin:.6em 0}.paper .apc-table th,.paper .apc-table td{border:1px solid #d1d5db;padding:.3em .6em}
.sp-paper .apc-question{border:1px solid #e5e7eb;border-radius:12px;padding:.9em 1.1em;margin:.9em 0;background:#fafafa}
.sp-paper .apc-question-title{font-weight:700;color:#5b21b6}
.sp-paper .apc-question-options{display:grid;gap:.3em;margin:.5em 0}
.sp-paper .apc-question-answer-input{border:1px solid #d1d5db;border-radius:6px;padding:.35em .5em;background:#fff;color:#111827}
.sp-paper .apc-question-check{margin:.4em 0 0;padding:.35em .9em;border:0;border-radius:999px;background:#111827;color:#fff;cursor:pointer}
.blk{position:relative;border:1px solid transparent;border-radius:8px;padding:2px 8px;margin:0 -8px}
.blk:hover,.blk.open{border-color:#c4b5fd;background:#faf5ff}
.blk .tools{position:absolute;right:6px;top:-14px;display:none;gap:4px;background:#fff;border:1px solid #c4b5fd;border-radius:999px;padding:2px 6px;box-shadow:0 4px 14px #0002;z-index:2}
.blk:hover .tools,.blk:focus-within .tools{display:flex}
.blk.open .tools{display:none}
.tools button{border:0;background:transparent;cursor:pointer;font:600 12px/1.6 system-ui,sans-serif;color:#5b21b6;padding:2px 6px;border-radius:999px}
.tools button:hover{background:#ede9fe}
.blk .view{min-height:1.2em}
.blk .wait{color:#64748b;font:13px system-ui,sans-serif}
.ed{font:14px/1.5 system-ui,sans-serif;color:#111827;border-top:1px dashed #c4b5fd;margin-top:8px;padding:10px 0 6px;display:grid;gap:8px}
.ed label{font-weight:600;font-size:12px;color:#4b5563;display:grid;gap:3px}
.ed textarea,.ed input[type=text],.ed select{font:15px/1.5 system-ui,sans-serif;color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:6px 8px;width:100%}
.ed textarea{min-height:90px;resize:vertical}
.ed .row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ed button{font:600 13px system-ui,sans-serif;border:1px solid #cbd5e1;background:#fff;color:#111827;border-radius:6px;padding:6px 10px;cursor:pointer}
.ed button.go{background:#7c3aed;border-color:#7c3aed;color:#fff}
.ed button:disabled{opacity:.5;cursor:default}
.ed .hint{font-size:12px;color:#6b7280}
.ed .fault{color:#b91c1c;font-size:13px}
.ed .grid{overflow-x:auto}.ed .grid table{border-collapse:collapse}.ed .grid td{padding:2px}.ed .grid input{min-width:90px}
.ed .offer{border:1px solid #c4b5fd;border-radius:8px;padding:8px 10px;background:#fff}
.blk .katex.pick{cursor:pointer;border-radius:4px;outline:1px dashed transparent;outline-offset:2px}
.blk:not(.open) .katex.pick:hover{outline-color:#7c3aed;background:#ede9fe}
.ed .preview{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:6px 10px;min-height:2em;overflow-x:auto;font:17px/1.5 inherit}
.ed .change{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0}
.ed .change .was,.ed .change .now{border-radius:6px;padding:2px 8px;min-width:2em;font:16px/1.5 inherit;max-width:100%;overflow-x:auto}
.ed .change .was{background:#fee2e2;border:1px solid #fca5a5}
.ed .change .now{background:#dcfce7;border:1px solid #86efac}
.ed .change p{margin:0}.ed .change .to{color:#6b7280}
.ed .same{color:#166534;font-size:14px}
.ed a{color:#5b21b6}
.sp-paper{border:1px solid #cbd5e1;border-radius:10px;padding:22px 26px;min-height:220px;font-size:17px}
.sp-paper .hint{color:#64748b;font-size:14px}
.sp-adds{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:14px 0 0}
.sp-adds button{font:600 13px system-ui,sans-serif;color:#4338ca;background:#eef2ff;border:1px solid #c7d2fe;border-radius:999px;padding:5px 12px}
.blk.notes{background:#fffbeb;border-color:#fde68a}
.blk.notes::before{content:"Notes for you, not shown to the class";display:block;font:600 11px system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#92400e;margin:4px 0}
.ed button{color:#111827}
.ed button.go{color:#fff!important}
