.notes-demo{container-type:inline-size;overflow:hidden;background:#0d0f11;color:#e8e7e3;border:1px solid color-mix(in srgb,var(--gold,#a88a45) 44%,#252525);border-radius:16px}
.app-row-visual.notes-demo:hover,.app-row-visual.notes-demo:focus-within{transform:none;border-color:var(--gold,#a88a45);box-shadow:none}.notes-demo::before{display:none}
.notes-demo__stage{height:650px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 22%,#1a1b1e,#0d0f11 72%)}
.notes-demo__editor{position:absolute;inset:8px 9px 10px;overflow:hidden;border:1px solid #ffffff1c;border-radius:12px;background:#18181b;box-shadow:0 22px 48px -28px #000c}
.notes-demo__document-bar{height:36px;display:flex;align-items:center;gap:12px;padding:0 10px;background:#18181b;border-bottom:1px solid #ffffff10;color:#d9d8d2}
.notes-demo__tabs{height:100%;display:flex;align-items:center;gap:3px;min-width:0;flex:1}.notes-demo__tabs>span{height:26px;display:flex;align-items:center;gap:7px;max-width:190px;padding:0 9px;color:#a9a7a0;font-size:10px;white-space:nowrap;border-radius:6px}.notes-demo__tabs>span.is-active{color:#e7e5df;background:#28292b}.notes-demo__tabs>span.is-active i{width:5px;height:5px;border-radius:50%;background:#4ade80;box-shadow:0 0 7px #4ade806b}.notes-demo__new-tab{padding:0 6px!important;color:#96958e!important;font-size:17px!important}
.notes-demo__saved{display:flex;align-items:center;gap:5px;flex:none;color:#84c98d;font-size:9px;white-space:nowrap}.notes-demo__saved i{width:5px;height:5px;border-radius:50%;background:#4ade80;box-shadow:0 0 6px #4ade805c}
.notes-demo__toolbar{height:50px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 9px;background:#202124;border-bottom:1px solid #ffffff10;color:#c9c7c1}
.notes-demo__toolbar-side{display:flex;align-items:center;gap:2px;flex:none}.notes-demo__tool-pill{display:flex;align-items:center;justify-content:center;gap:4px;padding:4px;border:1px solid #ffffff12;border-radius:999px;background:#2b2c2f;box-shadow:0 6px 16px #0005}
.notes-demo__tool{height:34px;width:34px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#bdbbb5;transition:color .18s,background .18s,box-shadow .18s}.notes-demo__tool svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.notes-demo__tool.is-active{color:var(--gold-light,#b79a56);background:color-mix(in srgb,var(--gold,#a88a45) 15%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gold,#a88a45) 48%,transparent),0 0 12px color-mix(in srgb,var(--gold,#a88a45) 13%,transparent)}
.notes-demo__icon-only{width:29px;height:31px;color:#aaa8a2}.notes-demo__icon-only svg{width:16px;height:16px}
.notes-demo__pen-panel{position:absolute;z-index:4;top:92px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:9px;min-height:39px;padding:4px 9px;border:1px solid #ffffff20;border-radius:999px;background:#27282a;box-shadow:0 10px 23px #0008;color:#dedcd7;white-space:nowrap}
.notes-demo__nibs,.notes-demo__weights,.notes-demo__swatches{display:flex;align-items:center;gap:5px}.notes-demo__nib{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;color:#bab8b1}.notes-demo__nib svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.notes-demo__nib.is-active{color:#f1e0b3;background:color-mix(in srgb,var(--gold,#a88a45) 13%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gold,#a88a45) 50%,transparent),0 0 9px #a88a4526}
.notes-demo__panel-sep{height:20px;border-left:1px solid #ffffff24}.notes-demo__weights>span{width:19px;height:23px;display:grid;place-items:center;border-radius:6px}.notes-demo__weights>span.is-selected{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--gold,#a88a45) 65%,#555)}.notes-demo__weights i{display:block;width:13px;height:3px;background:#dedbd3;border-radius:2px}.notes-demo__weights [data-notes-size="5"] i{height:5px}.notes-demo__weights [data-notes-size="7"] i{height:7px}
.notes-demo__swatches{gap:6px}.notes-demo__swatches i{position:relative;display:block;width:14px;height:14px;border-radius:4px;background:var(--swatch);border:1px solid #ffffff51}.notes-demo__swatches i.is-selected:after{content:"";position:absolute;inset:-4px;border:1px solid var(--gold-light,#b79a56);border-radius:7px}
.notes-demo__paper{position:absolute;top:139px;left:0;right:0;bottom:0;overflow:hidden;background:#fffefa;color:#252820;box-shadow:0 3px 8px #0002}
.notes-demo__paper-inner{position:relative;width:100%;height:100%;padding:14px clamp(14px,3.2cqi,28px) 12px}.notes-demo__page-meta{display:flex;justify-content:space-between;gap:10px;color:#7a7a73;font-size:9px;line-height:13px;letter-spacing:.04em}
.notes-demo__hand-title{margin:1px 0 0;color:#20241f;font-family:"Bradley Hand","Segoe Print","Comic Sans MS",cursive;font-size:28px;line-height:34px;font-weight:500;letter-spacing:.01em;transform:rotate(-1deg);transform-origin:left center}
.notes-demo__intro{margin:0;color:#4e514b;font-size:11px;line-height:16px}.notes-demo__schema{width:min(100%,680px);height:305px;margin:3px auto 0}.notes-demo__drawing{display:block;width:100%;height:100%;overflow:visible}.notes-demo__draw{fill:none;stroke-width:3.2;vector-effect:non-scaling-stroke}.notes-demo__sun-strokes .notes-demo__draw{stroke-width:3.4}.notes-demo__leaf-strokes .notes-demo__draw{stroke-width:3.1}.notes-demo__flow-in .notes-demo__draw,.notes-demo__flow-out .notes-demo__draw{stroke-width:3.4}.notes-demo__pressure{stroke-width:4.8}.notes-demo__hand-labels{fill:#232b24}.notes-demo__hand-label{opacity:1;font-weight:600;letter-spacing:.015em}
.notes-demo__equation-wrap{position:relative;width:max-content;max-width:100%;margin:0 auto;padding:5px 11px 6px;border-top:1px solid #d7d7d1;text-align:center;background:#fffefa}
.notes-demo__equation-label{display:block;color:#73766f;font-size:8px;line-height:12px;letter-spacing:.07em;text-transform:uppercase}.notes-demo__equation{display:flex;align-items:center;justify-content:center;gap:2px;color:#171a18;font-family:inherit;font-size:20px;line-height:25px;font-weight:520;white-space:nowrap;font-variant-numeric:lining-nums}.notes-demo__equation [data-notes-character]{display:inline-block;white-space:pre}.notes-demo__caret{display:inline-block;width:1.5px;height:19px;background:#1e211f;vertical-align:middle;animation:notes-caret 0.85s steps(2,start) infinite}@keyframes notes-caret{to{visibility:hidden}}
.notes-demo__selection{position:absolute;inset:1px -6px 0;border:1px dashed #303e5b;border-radius:3px;opacity:0;pointer-events:none}.notes-demo__paper-note{margin:3px 0 0;text-align:center;color:#85867f;font-size:8px;line-height:12px}
.notes-demo__progress{position:absolute;z-index:8;inset:auto 0 0;height:3px;background:#16171920;transform-origin:left}.notes-demo__progress>span{display:block;width:100%;height:100%;background:var(--gold-metal,linear-gradient(118deg,#6c4519,#b98943 36%,#eed094 48%,#b8873d 65%,#6c4519));transform:scaleX(0);transform-origin:left}
.notes-demo__description{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@container(max-width:520px){.notes-demo__stage{height:620px}.notes-demo__editor{inset:6px 5px 8px}.notes-demo__document-bar{height:33px;gap:6px;padding-inline:7px}.notes-demo__tabs>span{max-width:132px;padding-inline:6px;font-size:9px}.notes-demo__saved{font-size:8px}.notes-demo__toolbar{height:48px;gap:3px;padding-inline:4px}.notes-demo__toolbar-side{gap:0}.notes-demo__icon-only{width:23px}.notes-demo__tool-pill{gap:0;padding:3px}.notes-demo__tool{width:28px;height:31px}.notes-demo__tool svg{width:17px;height:17px}.notes-demo__toolbar-side--right .notes-demo__icon-only:nth-child(1),.notes-demo__toolbar-side--right .notes-demo__icon-only:nth-child(2){display:none}.notes-demo__pen-panel{top:86px;gap:5px;min-height:36px;padding:3px 6px}.notes-demo__nibs,.notes-demo__weights,.notes-demo__swatches{gap:3px}.notes-demo__nib{width:24px;height:26px}.notes-demo__nib svg{width:19px;height:19px}.notes-demo__panel-sep{height:18px}.notes-demo__weights>span{width:15px;height:21px}.notes-demo__weights i{width:11px}.notes-demo__swatches i{width:12px;height:12px}.notes-demo__paper{top:130px}.notes-demo__paper-inner{padding:10px 11px 8px}.notes-demo__hand-title{font-size:25px;line-height:30px}.notes-demo__schema{height:255px;margin-top:3px}.notes-demo__equation-wrap{padding:4px 4px 5px}.notes-demo__equation{font-size:clamp(14px,4.8cqi,19px);line-height:23px}.notes-demo__paper-note{font-size:7px}}
@container(max-width:350px){.notes-demo__stage{height:600px}.notes-demo__editor{inset-inline:4px}.notes-demo__toolbar-side--left .notes-demo__icon-only:nth-child(2){display:none}.notes-demo__tool-pill{gap:0;padding:2px}.notes-demo__tool{width:26px}.notes-demo__toolbar-side--right .notes-demo__icon-only:nth-child(3){display:none}.notes-demo__saved{font-size:7px}.notes-demo__pen-panel{gap:4px;padding-inline:5px}.notes-demo__nib{width:22px}.notes-demo__swatches{gap:2px}.notes-demo__swatches i{width:11px;height:11px}.notes-demo__paper{top:128px}.notes-demo__paper-inner{padding-inline:8px}.notes-demo__schema{height:238px}.notes-demo__equation{font-size:13px;gap:0}.notes-demo__equation-label{font-size:7px}}
@media(prefers-reduced-motion:reduce){.notes-demo__caret{animation:none}}

.notes-demo__home-mark { width:26px; height:26px; object-fit:contain; border-radius:5px; }
.notes-demo__nib svg,.notes-demo__tool svg { width:24px; height:24px; }
.notes-demo__stage { height:592px; }
.notes-demo__schema { height:280px; }
@container(max-width:520px) { .notes-demo__stage { height:580px; } .notes-demo__schema { height:250px; } }
@container(max-width:350px) { .notes-demo__stage { height:550px; } .notes-demo__schema { height:226px; } .notes-demo__nib svg,.notes-demo__tool svg { width:20px; height:20px; } }

.notes-demo__nib svg[viewBox="0 0 32 32"],.notes-demo__tool svg[viewBox="0 0 32 32"] { stroke:none; }
@container(max-width:585px) { .notes-demo__toolbar-side--right [title="Seitenleiste"] { display:none; } }
.notes-demo__toolbar { position:relative; justify-content:center; background:linear-gradient(#222326,#1b1c1f); }
.notes-demo__toolbar-side--left { position:absolute; left:7px; top:50%; translate:0 -50%; gap:2px; }
.notes-demo__toolbar-side--left .notes-demo__icon-only:nth-child(2) { display:flex; }
.notes-demo__tool-pill,.notes-demo__pen-panel { background:linear-gradient(#292a2e,#202125); box-shadow:0 5px 14px #0006; }
@container(max-width:395px) {
  .notes-demo__toolbar-side--left { left:3px; gap:0; }
  .notes-demo__toolbar-side--left .notes-demo__icon-only { width:20px; }
  .notes-demo__toolbar-side--left svg { width:14px; height:14px; }
  .notes-demo__tool-pill { gap:0; padding:2px; }
  .notes-demo__tool-pill .notes-demo__tool { width:26px; }
}
