/* Jot! V4: Product-first, usable sample demo. No effect on original application UI. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.desktop-nav a{font-size:15px;letter-spacing:-.01em}.nav-cta{font-size:15px;height:48px;padding:0 22px}.sister-strip a{font-size:13px}.nav-inner{height:83px}
.hero-v4{padding:48px 0 0;background:radial-gradient(ellipse at 68% 32%,#254a36 0%,#1b3328 47%,#17291f 88%)}
.hero-v4-layout{max-width:1610px;grid-template-columns:minmax(365px,.76fr) minmax(0,1.35fr);gap:clamp(28px,3.4vw,60px);align-items:center;padding-bottom:72px}
.hero-v4 .hero-copy{max-width:560px;padding-top:0}.hero-v4 .light-eyebrow{font-size:11px;letter-spacing:.11em;line-height:1.6}.hero-v4-separator{color:#66927a;margin:0 2px}
.hero-v4 h1{font-size:clamp(43px,3.75vw,61px);line-height:1.17;letter-spacing:-.052em;word-spacing:.04em;margin:24px 0 22px}
.hero-v4-accent{color:#b8d3bc}.hero-v4 .hero-description{font-size:17px;line-height:1.73;color:#c4d3c7;max-width:470px;margin-bottom:23px}
.hero-v4-benefits{display:flex;flex-wrap:wrap;gap:10px 17px;margin:0 0 29px;color:#d6e8d9;font-size:13px;font-weight:650}
.hero-v4-benefits span{white-space:nowrap}.hero-v4-benefits b{font-weight:900;color:var(--orange);margin-right:5px}
.hero-v4-buttons{gap:10px}.hero-v4-buttons .btn{font-size:14px;min-height:50px;padding-inline:18px}.hero-v4-buttons .btn-orange{background:#f39a59}.hero-v4-buttons .button-suffix{padding-left:6px}
.hero-v4-purchase-note{display:flex;gap:8px;flex-wrap:wrap;color:#b6cbbb;font-size:12px;margin-top:20px}.hero-v4-purchase-note strong{color:#f2f4e9}
.hero-v4-interactive{position:relative;min-width:0;padding:25px 0 43px;z-index:2}
.demo-topline,.demo-afterline{font:800 10px/1.3 var(--headline);letter-spacing:.07em;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#bed4c5}
.demo-topline{margin:0 0 12px}.demo-topline>span:first-child{color:#f1e9d9}.demo-beacon{display:inline-block;height:8px;width:8px;background:#f39a59;border-radius:50%;margin-right:8px;box-shadow:0 0 0 4px #f39a5922}
.demo-app{border:1px solid #899e91;background:#f1f0eb;color:#24342e;border-radius:15px;box-shadow:0 38px 100px #0a180f9c,0 0 0 5px #f5fbf00b;overflow:hidden;font-size:12px}
.demo-titlebar{height:53px;display:flex;justify-content:space-between;align-items:center;padding:0 15px;background:#e5e5dd;border-bottom:1px solid #ccd4c9;gap:10px}
.demo-app-identity{display:flex;gap:9px;align-items:center}.demo-app-identity img{border-radius:6px}.demo-app-identity>div{display:flex;flex-direction:column;gap:2px}.demo-app-identity strong{font:800 13px var(--headline);letter-spacing:-.05em}.demo-app-identity small{font-size:9px;color:#6d7a71}
.demo-window-label{color:#648271;font:800 9px var(--headline);letter-spacing:.09em}.demo-window-controls{display:flex;gap:9px}.demo-window-controls i{height:8px;width:8px;border:1px solid #a6b4a9;border-radius:50%}
.demo-search-line{display:flex;align-items:center;gap:10px;padding:9px 13px;border-bottom:1px solid #d7ded5;background:#f2f2ed}
.demo-search-box{display:flex;align-items:center;gap:9px;border:1px solid #d2dbd0;border-radius:8px;background:white;padding:0 11px;flex:1;min-width:0;height:38px}
.demo-search-box svg{flex:none;width:15px;height:15px;stroke:#637b6a;stroke-width:1.9;fill:none}
.demo-search-box input{border:0;outline:0;background:none;min-width:0;width:100%;color:#223b2c;font-size:12px}.demo-search-box:focus-within{box-shadow:0 0 0 3px #b1d7b766;border-color:#74a989}.demo-clear-search{border:0;background:#e0e9de;color:#315941;font-size:11px;padding:10px 12px;border-radius:7px;font-weight:800}
.demo-app-body{display:grid;grid-template-columns:142px minmax(0,1.15fr) minmax(0,.83fr);height:338px;min-height:0}
.demo-rail{position:relative;background:#e7e7df;border-right:1px solid #d1d8cf;padding:16px 7px;display:flex;flex-direction:column;gap:6px}
.demo-rail-title{font:800 9px var(--headline);color:#809085;letter-spacing:.1em;padding:0 10px 9px}
.demo-filter{border:0;border-radius:7px;color:#54705d;background:none;text-align:left;display:flex;align-items:center;gap:7px;padding:10px 9px;font-size:11px;font-weight:700;white-space:nowrap;line-height:1.1}
.demo-filter>span:first-child{font-size:17px;width:18px;text-align:center;line-height:1}.demo-filter.active{color:#20503b;background:#d6e6d9;box-shadow:inset 2px 0 #4a9264}.demo-filter:hover{background:#dce9db}
.demo-count{margin-left:auto;padding:2px 5px;background:#adcbb6;color:#1a4a34;border-radius:4px;font-size:10px}
.demo-rail-foot{font-size:9px;line-height:1.5;color:#89958c;position:absolute;bottom:10px;padding:0 10px;left:0;right:0}
.demo-list-panel{padding:15px 11px;border-right:1px solid #dae0d7;overflow:hidden;background:#f9f9f5}
.demo-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:5px;padding:0 4px 10px;font:800 10px var(--headline);color:#284334;letter-spacing:-.01em}.demo-panel-heading span{font:600 9px var(--body);color:#8b968e}
.demo-clip-list{display:flex;flex-direction:column;gap:6px;overflow:auto;max-height:283px;scrollbar-width:thin}
.demo-clip{width:100%;border-radius:8px;border:1px solid #e2e6df;background:#fff;padding:9px 10px;display:flex;align-items:center;text-align:left;gap:9px;color:#24392b;min-height:51px;transition:background .17s,border-color .17s}
.demo-clip:hover{border-color:#9cbea5;background:#f1f8f0}.demo-clip.selected{background:#eaf2e8;border:1px solid #74a084}
.demo-clip-icon{height:26px;width:26px;border:1px solid #dce9df;background:#f0f5ee;border-radius:6px;display:grid;place-items:center;flex:none;color:#51836a;font-size:15px}
.demo-clip-content{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}.demo-clip-content strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:750}.demo-clip-content small{font-size:9px;color:#889589;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.demo-clip-star{font-size:17px;color:#e28f53}.demo-empty{padding:22px 13px;color:#7e8b81;line-height:1.5;font-size:11px;text-align:center}
.demo-detail-panel{min-width:0;padding:15px 12px;background:#f2f1eb;display:flex;flex-direction:column}
.demo-clip-detail{padding:12px 11px;background:#fff;border:1px solid #dce4db;border-radius:8px;min-height:150px;max-height:178px;overflow:auto}
.demo-detail-kind{display:block;font-size:9px;color:#57735e;font-weight:800;letter-spacing:.08em;margin-bottom:9px}
.demo-detail-value{overflow-wrap:anywhere;white-space:pre-wrap;font-size:11px;line-height:1.55;color:#233a2b;margin:0}.demo-detail-caption{font-size:9px;color:#8b968e;margin-top:12px}
.demo-detail-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.demo-detail-actions button{border:0;padding:10px 9px;border-radius:7px;font-size:10px;font-weight:800;white-space:nowrap}.demo-paste-button{background:#2e644f;color:#fff}.demo-paste-button:hover{background:#1e4b39}.demo-add-button{background:#e0e9df;color:#315b42}.demo-add-button:hover{background:#cbddce}.demo-copy-status{font-size:10px;line-height:1.5;color:#427550;min-height:30px;margin-top:6px}
.demo-app-status{height:29px;background:#e9e9e2;border-top:1px solid #d8ddd3;display:flex;align-items:center;justify-content:space-between;gap:4px;padding:0 12px;font-size:9px;color:#697e6e}
.demo-app-status>span:first-child{font-weight:800;white-space:nowrap}.demo-status-dot{height:5px;width:5px;border-radius:50%;background:#488965;display:inline-block;vertical-align:middle;margin-right:4px}
.demo-jot{position:absolute;z-index:7;right:-14px;top:256px;height:244px;width:265px;min-height:174px;min-width:190px;max-width:min(420px,90%);max-height:360px;border:1px solid #c8cec6;border-radius:12px;background:#f5f4ef;box-shadow:0 18px 55px #0008;color:#2b3b31;display:flex;flex-direction:column;resize:both;overflow:hidden}
.demo-jot-header{height:36px;flex:none;display:flex;align-items:center;justify-content:space-between;background:#e5e6df;border-bottom:1px solid #d4dcd2;padding:0 8px 0 12px;cursor:grab;touch-action:none;user-select:none}
.demo-jot-header:active{cursor:grabbing}.demo-jot-header>span{font-size:12px;font-weight:800}.demo-jot-header small{font-size:9px;font-weight:500;color:#667d69}.demo-jot-pencil{color:#4f815f;margin-right:4px}.demo-jot-controls{display:flex;gap:4px}.demo-jot-controls button{width:25px;height:23px;border-radius:6px;border:1px solid #cbd6c8;background:#f7f8f4;color:#415c46;font-weight:800;font-size:17px;line-height:1}
.demo-jot textarea{flex:1;min-height:0;resize:none;margin:9px 10px 0;padding:8px 10px;border:1px solid #e0e4dc;background:#fff;border-radius:7px;outline:none;font:12px/1.5 var(--body);color:#344436;width:calc(100% - 20px)}.demo-jot textarea:focus{border-color:#91b9a0;box-shadow:0 0 0 2px #add4b661}.demo-jot-footer{min-height:30px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:4px;padding:4px 10px 6px;font-size:9px;color:#829184}.demo-jot-footer button{border:0;border-radius:6px;background:#e3e9df;color:#41674e;padding:5px 7px;font-size:9px;font-weight:700}
.demo-jot-pill{position:absolute;z-index:8;right:0;bottom:22px;min-width:126px;height:40px;border:1px solid #afbdad;background:#f6f6ed;color:#294832;border-radius:999px;box-shadow:0 15px 35px #0007;font-size:13px;font-weight:800;align-items:center;justify-content:center;gap:9px;cursor:grab;touch-action:none;user-select:none;padding:0 14px}
.demo-jot-pill:not([hidden]){display:flex}.demo-pill-spark{font-size:8px;color:var(--orange)}
.demo-pill-grip{font-size:10px;letter-spacing:-2px;color:#6f8475;opacity:.9}
.demo-jot-pill:active{cursor:grabbing}
.demo-multi-panel{margin-top:8px;border:1px solid #d9e0d5;background:#fcfcfa;border-radius:9px;padding:9px 9px 8px;display:flex;flex-direction:column;gap:7px}
.demo-multi-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.demo-multi-head strong{font:800 10px var(--headline);letter-spacing:.04em;color:#2b4838}.demo-multi-head span{font-size:9px;color:#6f7e73;font-weight:700}
.demo-multi-setname{font-size:9px;letter-spacing:.08em;color:#6f8475;font-weight:800}
.demo-multi-list{display:flex;flex-direction:column;gap:6px;max-height:120px;overflow:auto;scrollbar-width:thin}
.demo-multi-empty{font-size:10px;line-height:1.45;color:#7d8b81;padding:4px 1px}
.demo-multi-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto auto;align-items:center;gap:7px;border:1px solid #e2e7df;border-radius:8px;background:#fff;padding:6px 7px}
.demo-multi-index{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#e8efe7;color:#3f6a52;font-size:9px;font-weight:800}
.demo-multi-meta{min-width:0;display:flex;flex-direction:column;gap:2px}.demo-multi-meta strong{font-size:10px;color:#284435;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.demo-multi-meta small{font-size:9px;color:#7d8d83;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.demo-multi-row button{border:1px solid #d3ddd1;background:#f4f7f3;color:#325b43;border-radius:6px;font-size:9px;font-weight:800;padding:6px 7px}.demo-multi-row button:hover,.demo-multi-actions button:hover{background:#e9f1ea}
.demo-multi-row .demo-multi-remove{padding:6px 6px;color:#6f7b73}
.demo-multi-actions{display:flex;gap:7px}.demo-multi-actions button{flex:1;border:1px solid #d3ddd1;background:#f4f7f3;color:#315b42;border-radius:7px;font-size:10px;font-weight:800;padding:8px 9px}
.demo-afterline{margin:15px 0 0;font:600 11px/1.5 var(--body);letter-spacing:0;color:#b9cbbc}.demo-afterline button{background:none;border:0;color:#eec49c;font:800 11px var(--body);white-space:nowrap}.demo-afterline button:hover{text-decoration:underline}
.hero-v4 .hero-ticker{min-height:75px}
/* Cross-promotion polish: smaller, more informative, not competing with Jot! */
.clingnote-feature{padding:32px 0 44px}.clingnote-feature-inner{gap:24px}.clingnote-feature h2{font-size:clamp(29px,2.9vw,40px)}.clingnote-feature p{max-width:680px;font-size:14px}
.clingnote-feature-link{font-size:14px;min-height:50px}
@media(min-width:1500px){.hero-v4-layout{grid-template-columns:minmax(0,.75fr) minmax(0,1.31fr)}.demo-app-body{height:365px}.demo-clip-list{max-height:311px}.demo-jot{top:260px}}
@media(max-width:1260px){.hero-v4-layout{grid-template-columns:minmax(310px,.73fr) minmax(0,1.32fr);gap:27px}.hero-v4 h1{font-size:clamp(39px,4vw,53px)}.demo-app-body{grid-template-columns:113px minmax(0,1.15fr) minmax(0,.8fr)}.demo-rail{padding:13px 4px}.demo-filter{font-size:10px;gap:4px;padding:9px 5px}.demo-rail-foot{display:none}.demo-titlebar{height:45px}.demo-app-body{height:310px}.demo-jot{top:230px;right:-8px;width:228px;height:214px}.demo-clip-list{max-height:255px}.demo-detail-panel{padding:12px 7px}.demo-detail-actions button{padding:8px 7px;font-size:9px}.hero-v4 .hero-description{font-size:15px}}
@media(max-width:1050px){.hero-v4{padding-top:48px}.hero-v4-layout{display:grid;grid-template-columns:1fr;gap:32px;padding-bottom:60px}.hero-v4 .hero-copy{max-width:800px}.hero-v4 h1{font-size:clamp(42px,6vw,70px)}.hero-v4 .hero-description{font-size:17px}.hero-v4-interactive{max-width:880px;width:100%;padding-top:16px}.demo-app-body{grid-template-columns:140px minmax(0,1.15fr) minmax(0,.85fr);height:340px}.demo-jot{top:260px;width:263px;height:230px}.demo-clip-list{max-height:283px}}
@media(max-width:700px){.sister-strip a{font-size:12px}.hero-v4{padding-top:40px}.hero-v4-layout{gap:28px;padding-bottom:52px}.hero-v4 h1{font-size:clamp(40px,9vw,59px);line-height:1.2;margin:17px 0 15px}.hero-v4 .light-eyebrow{font-size:9px}.hero-v4 .hero-description{font-size:15px;line-height:1.65}.hero-v4-benefits{font-size:11px;margin-bottom:23px;gap:8px 10px}.hero-v4-buttons{align-items:stretch}.hero-v4-buttons .btn{font-size:13px;width:100%}.hero-v4-purchase-note{font-size:11px}.hero-v4-interactive{padding:13px 0 5px}.demo-topline{font-size:9px}.demo-topline>span:last-child{display:none}.demo-app-body{grid-template-columns:95px minmax(0,1fr);height:312px}.demo-detail-panel{display:none}.demo-rail{padding:10px 3px}.demo-filter{padding:10px 3px;font-size:10px;gap:3px}.demo-filter>span:first-child{font-size:13px;width:14px}.demo-panel-heading{font-size:10px}.demo-list-panel{padding:11px 6px}.demo-clip{padding:7px 6px;gap:5px;min-height:46px}.demo-clip-icon{width:23px;height:23px;font-size:12px}.demo-clip-content strong{font-size:9px}.demo-clip-content small{font-size:8px}.demo-clip-star{font-size:14px}.demo-window-label,.demo-window-controls{display:none}.demo-jot{position:relative;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;width:calc(100% - 23px);max-width:none;min-width:0;height:180px;margin:-28px 0 2px 23px;box-shadow:0 14px 36px #0007;resize:vertical}.demo-jot-header{touch-action:auto;cursor:default}.demo-jot-pill{bottom:30px}.demo-afterline{align-items:flex-start;flex-direction:column;gap:4px;margin:12px 0 0}.demo-afterline button{padding:8px 0}.hero-v4 .hero-ticker{padding-top:22px;padding-bottom:22px}.ticker-features{font-size:11px}.clingnote-feature-inner{padding:25px}.clingnote-feature-link{font-size:13px}}
@media(max-width:385px){.hero-v4 h1{font-size:37px}.demo-rail{display:none}.demo-app-body{grid-template-columns:1fr}.demo-list-panel{padding:11px}.demo-clip{min-height:45px}.demo-jot{width:calc(100% - 12px);margin-left:12px}}
@media(prefers-reduced-motion:reduce){.demo-clip,.demo-filter{transition:none}}

/* Ensure collapse always hides the demo note; base .demo-jot sets display:flex. */
.demo-jot[hidden]{display:none!important}
/* A compact details/actions row keeps the small-screen sample genuinely interactive. */
@media(max-width:700px){
  .demo-app-body{height:auto;grid-template-rows:288px auto}
  .demo-list-panel{height:288px}
  .demo-clip-list{max-height:244px}
  .demo-detail-panel{display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto auto;gap:7px 10px;min-height:155px;padding:11px;border-top:1px solid #d4dbd2}
  .demo-detail-panel>.demo-panel-heading{grid-column:1/-1;padding:0;font-size:9px}
  .demo-clip-detail{grid-column:1;grid-row:2;min-height:91px;max-height:115px;padding:9px}
  .demo-detail-actions{grid-column:2;grid-row:2;display:flex;flex-direction:column;justify-content:center;gap:7px;margin:0}
  .demo-detail-actions button{width:100%;padding:10px 9px;font-size:10px}
  .demo-copy-status{grid-column:1/-1;grid-row:3;min-height:0;margin:0}
}

/* ===== V5: interactive clipboard-copy playground, capture overlay, theme controls ===== */
.hero-v5 .hero-v4-layout{align-items:center}
.hero-v5-interactive{padding-top:6px}
.demo-marquee{position:relative;overflow:hidden;border:1px solid #6f958058;background:linear-gradient(90deg,#f0f3ed,#e6ece3);border-radius:999px;padding:10px 0;margin:0 0 10px;color:#294a37;box-shadow:0 10px 24px #09160d1b}
.demo-marquee-track{display:flex;align-items:center;gap:12px;min-width:max-content;padding-left:16px;font:800 10px/1 var(--headline);letter-spacing:.08em;white-space:nowrap;animation:demo-marquee-move 24s linear infinite}
.demo-marquee-track span{opacity:.98}.demo-marquee-track b{color:#f39a59;font-size:11px}
@keyframes demo-marquee-move{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.demo-playground{background:#eef0e9;border:1px solid #6e927e55;border-radius:14px 14px 10px 10px;padding:14px 15px 12px;margin-bottom:10px;color:#233f2e;box-shadow:0 15px 32px #09160d26}
.demo-playground-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:12px}
.demo-playground-head>div{display:flex;flex-direction:column;gap:3px}.demo-playground-head strong{font:800 15px/1.3 var(--headline);letter-spacing:-.035em}.demo-playground-head span:not(.demo-step-tag){font-size:11px;color:#637e69}
.demo-step-tag{white-space:nowrap;color:#527561;background:#e0eade;border:1px solid #d2dfd4;padding:5px 9px;border-radius:99px;font-size:9px;letter-spacing:.07em;font-weight:800}
.demo-copy-samples{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.demo-sample{padding:9px 8px;background:#fff;border:1px solid #d6e0d4;border-radius:9px;display:flex;align-items:center;gap:8px;min-width:0;text-align:left;color:#254031;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.demo-sample:hover,.demo-sample:focus-visible{border-color:#5f9275;background:#ecf5ed;transform:translateY(-2px)}
.demo-sample-symbol{width:27px;height:27px;min-width:27px;border-radius:7px;display:grid;place-items:center;background:#e7f1e7;color:#35634b;font-size:16px;font-weight:800}
.demo-sample-text{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}.demo-sample-text strong{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo-sample-text small{color:#7d8a7e;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo-sample-action{font-size:9px;font-weight:800;color:#3c7857;white-space:nowrap}
.demo-sample-sensitive .demo-sample-symbol{background:#fff0e7;color:#b67042}
.demo-custom-copy{display:flex;align-items:center;gap:11px;margin-top:11px}.demo-custom-copy label{font-size:10px;font-weight:750;white-space:nowrap;color:#506c58}.demo-custom-input-row{display:flex;align-items:center;flex:1;min-width:0;gap:7px}
.demo-custom-input-row input{height:34px;background:#fff;color:#294533;border:1px solid #d1ddd1;border-radius:7px;padding:0 11px;min-width:0;flex:1;font:11px var(--body)}
.demo-custom-input-row input:focus-visible{outline:2px solid #83aa91;outline-offset:1px}
.demo-custom-input-row button{background:#2b654b;border:1px solid #21563e;color:#fff;padding:0 12px;height:34px;border-radius:7px;white-space:nowrap;font-size:10px;font-weight:750}.demo-custom-input-row button:hover{background:#204a37}
.demo-window-actions{display:flex;align-items:center;gap:5px}.demo-tool-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #d0d8cd;background:#fafbf8;color:#375b42;border-radius:7px;padding:8px 9px;font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}
.demo-tool-button:hover{background:#edf4ed}.demo-history-switch{padding:8px 9px}.demo-switch-dot{width:7px;height:7px;border-radius:50%;background:#4f9a6c}.demo-history-switch.is-paused .demo-switch-dot{background:#aa7b68}
.demo-capture-toast{position:absolute;z-index:10;right:-16px;top:186px;width:min(330px,90%);min-height:73px;display:flex;align-items:center;gap:9px;background:#172a20;color:#fff;border:1px solid #719281;border-radius:12px;box-shadow:0 16px 54px #05170dd9;padding:11px 12px;animation:demo-toast-enter .27s ease both}
.demo-capture-toast[hidden]{display:none!important}.demo-capture-icon{width:31px;height:31px;display:grid;place-items:center;background:#4a9469;color:#fff;border-radius:8px;flex:none;font-size:17px}
.demo-capture-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.demo-capture-text strong{font-size:11px;line-height:1.3}.demo-capture-text small{font-size:10px;line-height:1.25;color:#d1e3d2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.demo-capture-toast button{border:0;background:none;color:#d5ebda;font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}.demo-capture-toast button:hover{color:#fff;text-decoration:underline}.demo-capture-toast button:last-child{font-size:17px;padding:3px}
.demo-capture-toast.demo-toast-muted .demo-capture-icon{background:#846e5d}
@keyframes demo-toast-enter{from{opacity:0;transform:translateY(-8px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
.demo-clip-recent:not(.selected){border-color:#a9cfb0}.demo-clip-recent.selected{box-shadow:inset 3px 0 #f39a59}
.demo-v5-note{margin-top:6px;font-size:10px;color:#b5cbbc}
/* Night theme switches only the in-page app and floating notepad, not the marketing site. */
.demo-dark .demo-app{border-color:#58665e;background:#202725;color:#dbe9e0}
.demo-dark .demo-titlebar{background:#252e2b;border-color:#40524a}
.demo-dark .demo-app-identity small{color:#9ea9a0}
.demo-dark .demo-search-line{background:#202925;border-color:#3e5145}
.demo-dark .demo-search-box{background:#323b36;border-color:#465c4b}
.demo-dark .demo-search-box input{color:#e6eee5}.demo-dark .demo-search-box svg{stroke:#bacdc0}
.demo-dark .demo-clear-search,.demo-dark .demo-tool-button{background:#35443a;color:#d0e6d5;border-color:#546759}
.demo-dark .demo-tool-button:hover,.demo-dark .demo-clear-search:hover{background:#496451}
.demo-dark .demo-rail{background:#263029;border-color:#42564a}
.demo-dark .demo-rail-title,.demo-dark .demo-rail-foot{color:#a6b5a6}
.demo-dark .demo-filter{color:#bdd1c0}.demo-dark .demo-filter.active{color:#e0f2e3;background:#375944;box-shadow:inset 2px 0 #8ab899}.demo-dark .demo-filter:hover{background:#35483c}
.demo-dark .demo-list-panel{background:#222a25;border-color:#405449}
.demo-dark .demo-panel-heading{color:#dae6db}.demo-dark .demo-panel-heading span{color:#b6c8b6}
.demo-dark .demo-clip{background:#2c3730;border-color:#455448;color:#f3f8f1}
.demo-dark .demo-clip.selected{background:#3e5746;border-color:#8fb99b}.demo-dark .demo-clip:hover{background:#395142}
.demo-dark .demo-clip-icon{background:#3c4b40;border-color:#607966;color:#d5e6da}
.demo-dark .demo-clip-content small,.demo-dark .demo-empty{color:#adbfae}
.demo-dark .demo-detail-panel{background:#252e29}.demo-dark .demo-clip-detail{background:#313b33;border-color:#4a604e}
.demo-dark .demo-detail-kind{color:#9cc7a7}.demo-dark .demo-detail-value{color:#e7f0e6}.demo-dark .demo-detail-caption{color:#aebfb0}
.demo-dark .demo-paste-button{background:#6aa382;color:#13241b}.demo-dark .demo-add-button{background:#455c49;color:#e1f0e3}
.demo-dark .demo-copy-status{color:#b5d5b9}.demo-dark .demo-app-status{background:#222a25;border-color:#3e5243;color:#bbccbe}
.demo-dark .demo-jot{border-color:#637267;background:#252d28;color:#eef4ed}
.demo-dark .demo-jot-header{background:#313d34;border-color:#536052}.demo-dark .demo-jot-header small{color:#bbcbbb}
.demo-dark .demo-jot-controls button{background:#4b5e4f;border-color:#687f6c;color:#f7fff8}
.demo-dark .demo-jot textarea{background:#2b342e;border-color:#495b4d;color:#edf4ed}.demo-dark .demo-jot textarea::placeholder{color:#9aaea0}
.demo-dark .demo-jot-footer{color:#b3c6b4}.demo-dark .demo-jot-footer button{background:#45594b;color:#e2f2e7}
.demo-dark .demo-jot-pill{background:#2a392f;border-color:#6c8872;color:#e6f3e5}
.demo-dark .demo-marquee{background:linear-gradient(90deg,#203128,#24382e);border-color:#55705f;color:#dae8dc}
.demo-dark .demo-multi-panel{background:#2b342e;border-color:#4b5f51}
.demo-dark .demo-multi-head strong{color:#e1ece2}.demo-dark .demo-multi-head span,.demo-dark .demo-multi-setname{color:#a7b9aa}
.demo-dark .demo-multi-empty{color:#aebfb0}.demo-dark .demo-multi-row{background:#334039;border-color:#4c6152}
.demo-dark .demo-multi-index{background:#405344;color:#e2efe4}.demo-dark .demo-multi-meta strong{color:#edf4ed}.demo-dark .demo-multi-meta small{color:#afc1b2}
.demo-dark .demo-multi-row button,.demo-dark .demo-multi-actions button{background:#405245;border-color:#5b7262;color:#e3f2e5}
@media(max-width:1510px){.demo-copy-samples{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-playground{padding:12px}.demo-sample{padding:9px 10px}.demo-capture-toast{top:230px}}
@media(max-width:1050px){.demo-copy-samples{grid-template-columns:repeat(4,minmax(0,1fr))}.demo-capture-toast{top:181px}}
@media(max-width:750px){.demo-copy-samples{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-custom-copy{align-items:stretch;flex-direction:column;gap:7px}.demo-capture-toast{top:270px;right:0}.demo-playground-head strong{font-size:14px}}
@media(max-width:420px){.demo-copy-samples{grid-template-columns:repeat(2,minmax(0,1fr))}.demo-playground{padding:10px}.demo-sample{gap:5px;padding:9px 6px}.demo-sample-action{font-size:8px}.demo-sample-symbol{width:23px;height:23px;min-width:23px}.demo-sample-text strong{font-size:9px}.demo-sample-text small{font-size:8px}.demo-custom-input-row button{padding:0 7px;font-size:9px}.demo-titlebar{padding:0 8px}.demo-tool-button{padding:7px 6px;font-size:9px}.demo-app-identity strong{font-size:11px}.demo-app-identity img{width:23px;height:23px}}
@media(prefers-reduced-motion:reduce){.demo-capture-toast{animation:none}.demo-sample{transition:none}.demo-marquee-track{animation:none}}

/* V6 dual demo views: a real working preview or the actual 43s app video. */
.demo-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 13px;padding:5px;background:#10231bbb;border:1px solid #62816a6b;border-radius:13px;box-shadow:0 10px 28px #09150e33}
.demo-mode-tab{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:9px;padding:13px 10px;background:transparent;color:#c6d8ca;font:800 13px/1.2 var(--headline);letter-spacing:-.01em;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.demo-mode-tab:hover{background:#33503d99;color:#fff}.demo-mode-tab.is-active{background:#eef1e9;color:#264332;border-color:#c3d8c7;box-shadow:0 4px 18px #03120b33}
.demo-mode-tab .demo-mode-icon{font-size:15px;color:#ed9b5e}.demo-mode-tab small{font-size:9px;font-weight:800;letter-spacing:.1em;opacity:.65}
.demo-mode-tab:focus-visible{outline:3px solid #f2af7b;outline-offset:2px}
.demo-live-view[hidden],.demo-video-view[hidden]{display:none!important}
.demo-video-view{padding:4px 0 25px;animation:demo-view-in .2s ease-out}
.demo-video-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 13px;color:#d4e4d6;font:800 10px var(--headline);letter-spacing:.09em}
.demo-video-head>span:first-child{color:#f5eedc}
.demo-inline-video-frame{background:#0b100e;border:1px solid #77917f77;border-radius:16px;overflow:hidden;box-shadow:0 25px 75px #06140bd9,0 0 0 5px #eef5e907}
.demo-inline-video-frame video{display:block;width:100%;aspect-ratio:16/9;background:#0a120e;object-fit:contain}
.demo-inline-video-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;color:#bacfbe;font:500 12px/1.55 var(--body)}
.demo-inline-video-foot strong{color:#e6efe4;font-weight:800}.demo-inline-video-foot button{border:1px solid #58755e;background:#244332;border-radius:9px;color:#e8f4e9;white-space:nowrap;padding:10px 12px;font:800 11px var(--headline);cursor:pointer}
.demo-inline-video-foot button:hover{background:#335742}
@keyframes demo-view-in{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.demo-mode-tab{padding:11px 5px;gap:5px;font-size:11px}.demo-mode-tab small{font-size:8px}.demo-inline-video-foot{flex-direction:column;align-items:start;gap:12px}.demo-inline-video-foot button{width:100%}.demo-video-head{font-size:9px}}
@media(max-width:420px){.demo-mode-tab{font-size:10px}.demo-mode-tab small{display:none}.demo-mode-switch{gap:3px}}
@media(prefers-reduced-motion:reduce){.demo-mode-tab{transition:none}.demo-video-view{animation:none}}
