/* The opening illustration shows the capture and annotation, not only its handoff. */
.annotation-demo.hs{height:568px;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(ellipse at 90% 30%,#d7cbea99,transparent 60%),url(assets/paper-child.webp) 0 0/200% auto,#efebe3;isolation:isolate}
.ad-scenes{flex:1;position:relative;min-height:0;margin:16px 16px 0}
.ad-capture{position:absolute;inset:0;transition:opacity .35s ease,transform .35s ease}
.ad-window{position:absolute;inset:14px 7px 83px;border-radius:10px;background:#fbb47f;box-shadow:0 15px 36px #3d2b361c,0 0 0 1px #29292525;overflow:hidden}
.ad-titlebar{height:28px;background:#292925;color:#e7e5dd;display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:10px;letter-spacing:0}
.ad-dots{font-size:8px;letter-spacing:3px;color:#9b9990}
.ad-site{padding:19px 22px;color:#292925}
.ad-site-nav{display:flex;align-items:center;justify-content:space-between;font-size:10px}.ad-site-nav b{font-family:Archivo,sans-serif;font-size:14px;letter-spacing:-.4px}
.ad-site-body{display:grid;grid-template-columns:1.2fr 1fr;gap:16px;margin-top:25px}
.ad-eyebrow{font-size:8px;letter-spacing:1.5px}
.ad-product-copy h3{margin:12px 0;font:800 37px/.98 Archivo,sans-serif;letter-spacing:-1.7px}
.ad-product-copy p{font-size:11px;line-height:1.5;margin:12px 0 18px}
.ad-site-buttons{display:flex;align-items:center;gap:28px;font:700 9px Archivo,sans-serif;white-space:nowrap}
.ad-site-buttons span{padding:11px 10px;border:1px solid #292925;background:#292925;color:#fff6e6}.ad-site-buttons span+span{background:transparent;color:#292925}
.ad-print{margin-top:12px}.ad-print svg{width:100%;height:220px;display:block;background:#f1d4bb;box-shadow:3px 4px 0 #29292522}.ad-print>span{display:block;font-size:9px;margin-top:9px}
.ad-ink{position:absolute;left:0;top:0;width:100%;height:440px;overflow:visible;pointer-events:none}
.ad-selection{fill:none;stroke:url(#ad-pigment);stroke-width:1.5;filter:drop-shadow(0 0 3px #9450e844)}
.ad-ink text{font:600 13px Geist,sans-serif;fill:white;text-anchor:middle}
.ad-underline,.ad-arrow{fill:none;stroke:#8b59bb;stroke-width:3.8;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:350;stroke-dashoffset:0}
.ad-highlight{fill:none;stroke:#bd98df;stroke-opacity:.6;stroke-width:18;stroke-linecap:round;stroke-dasharray:210;stroke-dashoffset:0;mix-blend-mode:multiply}
.ad-note{position:absolute;right:6px;padding:11px 12px;display:flex;align-items:center;gap:8px;background:#fffefa;box-shadow:0 7px 22px #2929251a,0 0 0 1px #2929250f;border-radius:11px;font-size:14px;line-height:1.35;z-index:2}
.ad-note-one{top:134px}.ad-note-two{top:352px}
.ad-number{display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:6px;background:#5264f4;color:white;font-size:12px}.ad-note-two .ad-number{background:#9450e8}
.ad-voice{position:absolute;left:50%;bottom:62px;transform:translateX(-50%);max-width:95%;padding:9px 13px;border-radius:22px;background:#fffefa;display:flex;align-items:center;gap:10px;box-shadow:0 4px 18px #29292515;font-size:12px;white-space:nowrap}
.ad-wave{display:flex;gap:3px;align-items:center;height:18px}.ad-wave i{width:3px;height:7px;background:#7953ba;border-radius:2px;animation:ad-wave .65s ease-in-out infinite alternate}.ad-wave i:nth-child(2n){height:15px;animation-delay:-.2s}.ad-wave i:nth-child(3){height:18px;animation-delay:-.4s}
@keyframes ad-wave{to{transform:scaleY(.35)}}
.ad-toolbar{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;background:#fffefa;border:1px solid #dedbd2;box-shadow:0 8px 25px #29292512;border-radius:12px;padding:5px;font-size:11px;white-space:nowrap}
.ad-tool{width:30px;height:30px;display:grid;place-items:center;border-radius:7px;color:#6b6a62;font-size:21px}.ad-tool svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
.ad-highlighter{background:#eee7f6;color:#7953ba}.ad-toolbar-sep{height:18px;width:1px;background:#dedbd2;margin:0 3px}.ad-session-count{padding:0 5px;color:#6b6a62}.ad-end{padding:8px 10px;background:#292925;color:white;border-radius:7px;margin-left:3px}
.ad-controls{height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;position:relative;z-index:4;gap:10px}
.ad-views{display:flex;gap:3px;background:#ffffff99;padding:3px;border-radius:20px}.ad-views button,.ad-replay{border:0;font:400 13px Geist,sans-serif;cursor:pointer;color:#5f5e57;background:transparent;border-radius:18px;padding:7px 12px}.ad-views button[aria-pressed=true]{background:#fff;color:#292925;box-shadow:0 1px 5px #2929250a}.ad-replay:hover{background:#ffffff99;color:#292925}
.ad-destination{position:absolute;inset:14px 7px 10px;background:#faf9f5;border:1px solid #dedbd2;border-radius:12px;overflow:hidden;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .35s ease,transform .35s ease}
.ad-chat-head{height:48px;border-bottom:1px solid #e9e5db;display:flex;align-items:center;gap:9px;padding:0 18px;font-size:14px}.ad-chat-head img{width:22px;height:22px}.ad-chat-head b{font-weight:500}.ad-chat-head>span{color:#6b6a62;font-size:12px}
.ad-chat-body{padding:35px 24px}.ad-chat-body h3{font:400 27px/1.15 'Source Serif 4',serif;letter-spacing:-.7px;text-align:center;margin:15px 0 26px}.ad-composer{padding:16px;background:white;border:1px solid #dedbd2;border-radius:18px;box-shadow:0 12px 25px #29292508}.ad-thumbnails{display:flex;gap:10px}.ad-thumbnails>span{width:100px;height:66px;border-radius:7px;border:1px solid #e2ded4;overflow:hidden;position:relative}.ad-thumbnails svg{width:100%;height:100%}.ad-thumbnails i{position:absolute;bottom:3px;left:4px;background:#7953ba;color:#fff;font:normal 12px Geist,sans-serif;padding:2px 5px;border-radius:4px}.ad-composer p{font-size:15px;line-height:1.6;margin:14px 0}.ad-composer-foot{display:flex;justify-content:space-between;align-items:center;font-size:24px;color:#6b6a62}.ad-send{width:30px;height:30px;border-radius:50%;background:#292925;color:white;text-align:center;font-size:21px}
.annotation-demo[data-phase=draft] .ad-capture{opacity:0;transform:translateY(-8px);visibility:hidden}.annotation-demo[data-phase=draft] .ad-destination{opacity:1;visibility:visible;transform:none}
.annotation-demo[data-phase=select] .ad-mark-two,.annotation-demo[data-phase=select] .ad-note-two,.annotation-demo[data-phase=speak] .ad-mark-two,.annotation-demo[data-phase=speak] .ad-note-two{opacity:0}
.annotation-demo[data-phase=select] .ad-note-one,.annotation-demo[data-phase=select] .ad-voice{opacity:0}
.annotation-demo[data-phase=select] .ad-underline{stroke-dashoffset:350}
.annotation-demo[data-phase=speak] .ad-underline{animation:ad-draw .8s ease-out both}
.annotation-demo[data-phase=second] .ad-arrow,.annotation-demo[data-phase=second] .ad-highlight{animation:ad-draw 1.1s ease-out both}
@keyframes ad-draw{from{stroke-dashoffset:350}to{stroke-dashoffset:0}}
.annotation-demo[data-paused=true] *{animation-play-state:paused!important}
@media(max-width:720px){.annotation-demo.hs{height:550px}.ad-scenes{margin:8px 6px 0}.ad-window{inset:14px 4px 100px}.ad-site{padding:18px 15px}.ad-site-nav>span{font-size:8px}.ad-site-body{grid-template-columns:1.1fr 1fr;gap:12px;margin-top:30px}.ad-eyebrow{font-size:6px;letter-spacing:.7px}.ad-product-copy h3{font-size:28px;letter-spacing:-1.3px}.ad-product-copy p{font-size:9px}.ad-print svg{height:183px}.ad-print>span{font-size:7px}.ad-site-buttons{gap:17px;font-size:7px}.ad-site-buttons span{padding:9px 7px}.ad-ink{height:400px}.ad-note{font-size:12px;padding:9px 10px;right:2px}.ad-note-one{top:240px}.ad-note-two{top:324px}.ad-voice{bottom:61px;font-size:11px}.ad-toolbar{gap:1px;font-size:10px}.ad-tool{width:26px}.ad-end{padding:8px}.ad-controls{padding:0 13px}.ad-chat-body{padding:24px 14px}.ad-chat-body h3{font-size:24px}.ad-composer p{font-size:14px}.ad-views button,.ad-replay{font-size:12px}.ad-selection{stroke-width:2}}
@media(prefers-reduced-motion:reduce){.annotation-demo *{animation:none!important;transition:none!important}}

.ad-ink{height:100%}
.ad-pointer{position:absolute;width:22px;height:22px;left:var(--ad-p1x);top:var(--ad-p1y);z-index:3;filter:drop-shadow(0 1px 2px #29292544);transition:left .9s ease,top .9s ease;pointer-events:none}
.annotation-demo[data-phase=second] .ad-pointer,.annotation-demo[data-phase=marked] .ad-pointer{left:var(--ad-p2x);top:var(--ad-p2y)}
.annotation-demo[data-phase=marked] .ad-voice{opacity:0}
.annotation-demo[data-phase=draft] .ad-thumbnails>span{animation:ad-attach .65s cubic-bezier(.2,.7,.2,1) both}
.annotation-demo[data-phase=draft] .ad-thumbnails>span+span{animation-delay:.2s}
.annotation-demo[data-phase=draft] .ad-composer p{animation:ad-attach .5s ease .65s both}
@keyframes ad-attach{from{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.annotation-demo *{animation:none!important;transition:none!important}}

.annotation-demo[data-user-paused=true] *{animation-play-state:paused!important}
/* Full source → destination sequence in the lower, app-specific example. */
.workflow-example{width:100%;max-width:1000px;height:582px;margin:auto;display:flex;flex-direction:column;border-radius:20px;overflow:hidden;background:radial-gradient(ellipse at 90% 10%,#d7cbea80,transparent 60%),#eeebe4;border:1px solid #29292515;isolation:isolate}
.workflow-example>.ad-scenes{margin:0;flex:1}
.workflow-example .ad-capture{max-width:640px;left:50%;width:100%;transform:translateX(-50%)}
.workflow-example[data-phase=draft] .ad-capture{transform:translateX(-50%) translateY(-8px)}
.workflow-destination.ad-destination{inset:0;border:0;border-radius:0;background:transparent}
.workflow-example #drop{height:100%;width:100%;max-width:none;margin:0;border-radius:0;box-shadow:none}
.workflow-example .ad-thumbnails{max-height:70px;overflow:visible}
.workflow-example .ad-thumbnails>span{width:76px;height:54px;flex:none}
.workflow-example .dp-text{min-height:42px}
.workflow-example .ad-controls{background:#f7f5f0;border-top:1px solid #29292510;flex-shrink:0}
.workflow-example .ad-window{inset:14px 7px 83px}
.workflow-example[data-phase=draft] .dp-atts>span{animation:ad-attach .65s cubic-bezier(.2,.7,.2,1) both}
.workflow-example[data-phase=draft] .dp-atts>span+span{animation-delay:.2s}
@media(max-width:720px){.workflow-example{height:552px}.workflow-example .ad-capture{max-width:none}.workflow-example .ad-site-nav{font-size:8px}.workflow-example .ad-window{inset:14px 8px 100px}.workflow-example .ad-note{right:8px}.workflow-example .ad-site-body{gap:10px}.workflow-example .ad-thumbnails>span{width:62px;height:46px}}
@media(prefers-reduced-motion:reduce){.workflow-example *{animation:none!important;transition:none!important}}
