/* App pages: the live demos and the drawn feature pictures. Loaded only on app pages. */

/* ---------- file icons (drawn, no images) */
.fi { --c: #8a93a6; position: relative; display: inline-block; flex: none; width: 34px; height: 42px; border-radius: 4px 11px 4px 4px; background: linear-gradient(180deg, #fff, #eef1f6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), 0 3px 6px rgba(0, 0, 0, .14); }
.fi::before { content: ""; position: absolute; right: 0; top: 0; width: 11px; height: 11px; border-radius: 0 11px 0 4px; background: linear-gradient(225deg, transparent 50%, rgba(0, 0, 0, .12) 50%); }
.fi b { position: absolute; left: 3px; right: 3px; bottom: 5px; border-radius: 3px; background: var(--c); color: #fff; font: 800 7.5px/12px var(--sans); text-align: center; letter-spacing: .02em; }
.fi-pdf { --c: #e5484d; } .fi-png { --c: #3b82f6; } .fi-jpg { --c: #0ea5a4; } .fi-heic { --c: #22a35a; } .fi-txt { --c: #6b7280; } .fi-zip { --c: #a16207; }
.fi-shot { width: 52px; height: 36px; border-radius: 5px; background: linear-gradient(135deg, #7c5cff, #ff8fb4 70%, #ffd56b); }
.fi-shot::before { display: none; }
.fi-shot::after { content: ""; position: absolute; inset: 6px 9px 10px 7px; border-radius: 3px; background: rgba(255, 255, 255, .78); box-shadow: 0 3px 0 -1px rgba(255, 255, 255, .5); }
.fi-shot b { display: none; }
.fi-dir { width: 44px; height: 34px; border-radius: 4px 6px 6px 6px; background: linear-gradient(180deg, #74b7ff, #3b8cf0); box-shadow: 0 2px 5px rgba(0, 0, 0, .15); }
.fi-dir::before { top: -5px; left: 0; right: auto; width: 18px; height: 8px; border-radius: 4px 4px 0 0; background: #5aa4fb; }

/* ---------- shared demo chrome */
.demo { position: relative; color: #1d1d1f; font-family: var(--sans); }
.demo-bar { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 14px; background: color-mix(in srgb, var(--card) 92%, transparent); border-top: 1px solid var(--line); }
.demo-bar .btn-ghost { color: var(--ink); }
.demo-bar kbd { font-size: 11px; }

/* ---------- Shelfy demo: a little Mac */
.d-mac { position: relative; height: 470px; overflow: hidden; user-select: none; -webkit-user-select: none; touch-action: pan-y;
  background: radial-gradient(900px 500px at 15% 0%, #8a6cff 0%, transparent 60%), radial-gradient(700px 500px at 100% 100%, #ff9ac1 0%, transparent 55%), linear-gradient(160deg, #4c3fd8, #8f4fd8 55%, #d06aa8); }
.d-menubar { height: 26px; display: flex; align-items: center; gap: 16px; padding: 0 14px; font-size: 13px; color: #fff; background: rgba(20, 10, 40, .22); backdrop-filter: blur(10px); }
.d-apple { width: 12px; height: 14px; border-radius: 50% 50% 45% 45%; background: #fff; }
.d-mb-right { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.d-mb-shelfy { width: 15px; height: 12px; border: 1.6px solid #fff; border-radius: 3px; border-top-width: 4px; }
.d-files { list-style: none; margin: 0; padding: 18px 22px 0 0; display: grid; justify-content: end; gap: 12px; }
.d-window { position: absolute; left: 40px; top: 52px; width: 400px; border-radius: 12px; overflow: hidden; background: rgba(250, 250, 252, .94); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 22px 50px rgba(30, 10, 60, .35); }
.d-window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 12px; background: rgba(236, 236, 240, .95); border-bottom: 1px solid rgba(0, 0, 0, .08); font: 600 12.5px var(--sans); color: #4a4a4f; }
.d-window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .d-window-bar i:nth-child(2) { background: #febc2e; } .d-window-bar i:nth-child(3) { background: #28c840; }
.d-window-bar span { margin-left: 10px; }
.d-window ul { list-style: none; margin: 0; padding: 14px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.d-window .d-file span { color: #1d1d1f; text-shadow: none; }
.d-window .d-file:hover { background: rgba(47, 111, 237, .1); }
.d-file { touch-action: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 108px; cursor: grab; border-radius: 10px; padding: 6px 4px; outline-offset: 2px; }
.d-file span { font-size: 11.5px; line-height: 1.2; color: #fff; text-align: center; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); word-break: break-word; }
.d-file:hover { background: rgba(255, 255, 255, .14); }
.d-file:active { cursor: grabbing; }
.d-hint { position: absolute; left: 26px; bottom: 102px; margin: 0; color: #fff; font-size: 15px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }
.d-bottom { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; align-items: flex-end; gap: 8px; padding: 0 10px; }
.d-shelf, .d-recents, .d-dock { height: 76px; border-radius: 20px; background: rgba(255, 255, 255, .24); border: 1px solid rgba(255, 255, 255, .38); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 30px rgba(30, 10, 60, .25); }
.d-dock { display: flex; align-items: center; gap: 8px; padding: 0 10px; flex: none; }
.d-dock i { width: 50px; height: 50px; border-radius: 12px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.d-shelf { flex: 1; max-width: 330px; display: flex; align-items: center; gap: 6px; padding: 0 8px; overflow-x: auto; scrollbar-width: none; transition: background .2s, box-shadow .2s, transform .2s; }
.d-shelf.ready { background: rgba(255, 255, 255, .32); }
.d-shelf.over { background: rgba(255, 236, 170, .55); box-shadow: 0 0 0 3px #ffd56b, 0 0 30px rgba(255, 213, 107, .8); transform: scale(1.03); }
.d-empty { flex: 1; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .9); font-weight: 600; }
.d-recents { list-style: none; margin: 0; display: flex; align-items: center; gap: 2px; padding: 0 6px; max-width: 290px; overflow: hidden; }
.d-recents .d-file { width: 66px; padding: 4px 2px; }
.d-recents .d-file span { font-size: 9.5px; max-width: 62px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-item { flex: none; width: 66px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 5px 2px; border: 0; background: none; border-radius: 10px; cursor: pointer; position: relative; }
.d-item:hover, .d-item:focus-visible { background: rgba(255, 255, 255, .22); }
.d-item span { font-size: 9.5px; color: #fff; max-width: 62px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.d-item.pinned::after { content: ""; position: absolute; top: 3px; right: 10px; width: 9px; height: 9px; border-radius: 50%; background: #ffd56b; box-shadow: 0 0 6px #ffd56b; }
.d-ghost { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 80px; opacity: .92; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .3)); }
.d-ghost span { font: 600 11px var(--sans); color: #fff; background: #2b6cf0; border-radius: 5px; padding: 1px 6px; }
.d-menu { position: absolute; z-index: 20; min-width: 200px; padding: 5px; border-radius: 10px; background: rgba(246, 246, 248, .9); backdrop-filter: blur(24px); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 14px 40px rgba(0, 0, 0, .3); }
.d-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; font: 13.5px var(--sans); color: #1d1d1f; padding: 5px 10px; border-radius: 5px; cursor: pointer; }
.d-menu button:hover, .d-menu button:focus-visible { background: #2f6fed; color: #fff; outline: none; }
.d-menu hr { border: 0; height: 1px; background: rgba(0, 0, 0, .12); margin: 4px 8px; }
.d-panel { position: absolute; z-index: 25; left: 50%; top: 48px; transform: translateX(-50%); width: min(520px, 92%); border-radius: 16px; background: rgba(250, 250, 252, .92); backdrop-filter: blur(26px); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 24px 60px rgba(0, 0, 0, .35); padding: 10px; }
.d-field input { width: 100%; height: 42px; border: 0; border-radius: 10px; background: rgba(0, 0, 0, .06); padding: 0 14px; font: 16px var(--sans); color: #1d1d1f; outline: none; }
.d-panel ul { list-style: none; margin: 8px 0 0; padding: 0; max-height: 210px; overflow: auto; }
.d-panel li { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 8px; font-size: 14px; }
.d-panel li .fi { transform: scale(.75); }
.d-panel li em { margin-left: auto; font-style: normal; font-size: 12px; color: #86868b; }
.d-panel li:first-child:not(.none) { background: rgba(47, 111, 237, .12); }
.d-panel li.none { color: #86868b; }
.d-panel-hint { margin: 6px 4px 0; font-size: 12px; color: #86868b; }
.d-toast { position: absolute; z-index: 30; left: 50%; top: 40px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; max-width: 92%; padding: 10px 14px; border-radius: 12px; background: rgba(30, 20, 44, .86); color: #fff; font-size: 13.5px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); backdrop-filter: blur(12px); }
.d-toast button { border: 0; background: #ffd56b; color: #2b1700; font: 650 12.5px var(--sans); border-radius: 7px; padding: 4px 9px; cursor: pointer; }
.d-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.d-flash.go { animation: flash .5s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }
@media (max-width: 640px) {
  .d-mac { height: 430px; }
  .d-files { display: none; }
  .d-window { left: 12px; right: 12px; top: 40px; width: auto; }
  .d-file { width: auto; }
  .d-dock { display: none; }
  .d-hint { bottom: 96px; font-size: 13.5px; left: 14px; }
  .d-shelf { max-width: none; }
  .d-recents { max-width: 150px; }
}

/* ---------- Chargeberry demo */
.d-cb { background: radial-gradient(700px 400px at 20% 0%, rgba(166, 110, 240, .35), transparent 60%), linear-gradient(160deg, #241338, #3b1d5c 60%, #5a2a7a); color: #fff; }
.d-cb-stage { display: grid; grid-template-columns: 1fr 300px; gap: 36px; align-items: center; padding: 40px 44px; min-height: 470px; }
.d-batt { position: relative; height: 128px; border-radius: 28px; border: 4px solid rgba(255, 255, 255, .85); padding: 8px; margin-right: 18px; }
.d-batt::after { content: ""; position: absolute; right: -18px; top: 38px; width: 10px; height: 44px; border-radius: 0 8px 8px 0; background: rgba(255, 255, 255, .85); }
.d-batt-fill { height: 100%; border-radius: 18px; background: linear-gradient(180deg, #e9e3f2, #b9add0); transition: width .1s linear, background .4s, box-shadow .4s; }
[data-mode="charging"] .d-batt-fill { background: linear-gradient(180deg, #7ef0a4, #2fbf6a); box-shadow: 0 0 30px rgba(80, 230, 140, .55); }
[data-mode="held"] .d-batt-fill { background: linear-gradient(180deg, #ffe08a, #f7a51f); box-shadow: 0 0 30px rgba(255, 190, 60, .5); }
[data-mode="hot"] .d-batt-fill { background: linear-gradient(180deg, #ffb08a, #f0592a); box-shadow: 0 0 30px rgba(255, 110, 60, .5); }
.d-batt b { position: absolute; inset: 0; display: grid; place-items: center; font: 650 46px/1 var(--serif); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .45); letter-spacing: -.02em; }
.d-batt-limit { position: absolute; top: -12px; bottom: -12px; width: 0; border-left: 2px dashed #ffd56b; transform: translateX(8px); transition: left .2s; }
.d-batt-limit[hidden] { display: none; }
.d-batt-limit span { position: absolute; top: -20px; left: -18px; font: 700 11px var(--mono); color: #ffd56b; text-transform: uppercase; letter-spacing: .08em; }
.d-cb-status { margin: 24px 0 0; font-size: 19px; font-weight: 600; min-height: 1.5em; }
.d-cb-ctrls { display: flex; align-items: center; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.d-toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.d-toggle input, .d-switch input, .d-check input { position: absolute; opacity: 0; pointer-events: none; }
.d-toggle span, .d-switch span { position: relative; width: 40px; height: 24px; border-radius: 99px; background: rgba(255, 255, 255, .25); transition: background .2s; flex: none; }
.d-toggle span::after, .d-switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.d-toggle input:checked + span { background: #f0592a; }
.d-switch input:checked + span { background: #2f6fed; }
.d-toggle input:checked + span::after, .d-switch input:checked + span::after { transform: translateX(16px); }
.d-toggle input:focus-visible + span, .d-switch input:focus-visible + span, .d-check input:focus-visible + span { outline: 2px solid #ffd56b; outline-offset: 2px; }
.d-cb-stats { display: flex; gap: 28px; margin: 26px 0 0; }
.d-cb-stats dt { font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.d-cb-stats dd { margin: 4px 0 0; font: 600 17px var(--sans); font-variant-numeric: tabular-nums; }
.d-pop { color: #1d1d1f; background: rgba(246, 245, 249, .96); border-radius: 14px; padding: 14px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .3), 0 24px 60px rgba(0, 0, 0, .4); font-size: 13px; }
.d-pop-top b { display: block; font: 700 28px/1 var(--sans); letter-spacing: -.02em; }
.d-pop-top span { display: block; margin-top: 4px; color: #6e6e73; font-size: 12.5px; }
.d-row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-weight: 600; }
.d-switch { display: inline-flex; cursor: pointer; }
.d-switch span { background: #d1d1d6; }
.d-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 10px; padding: 3px; border-radius: 9px; background: rgba(0, 0, 0, .06); }
.d-seg button { border: 0; background: none; border-radius: 7px; padding: 6px 2px; font: 600 12.5px/1.2 var(--sans); color: #1d1d1f; cursor: pointer; }
.d-seg button small { display: block; font-weight: 500; font-size: 11px; color: #6e6e73; }
.d-seg [aria-checked="true"] { background: #2f6fed; color: #fff; }
.d-seg [aria-checked="true"] small { color: rgba(255, 255, 255, .85); }
.d-slider { display: block; margin-top: 12px; font-size: 12.5px; color: #3a3a3c; }
.d-slider input { width: 100%; margin-top: 6px; accent-color: #2f6fed; }
.d-check { display: flex; align-items: center; gap: 8px; margin-top: 10px; cursor: pointer; font-size: 12.5px; }
.d-check span { width: 16px; height: 16px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); flex: none; display: grid; place-items: center; }
.d-check input:checked + span { background: #2f6fed; box-shadow: none; }
.d-check input:checked + span::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.d-full { width: 100%; margin-top: 12px; border: 0; border-radius: 8px; padding: 8px; background: rgba(0, 0, 0, .07); font: 600 13px var(--sans); color: #1d1d1f; cursor: pointer; }
.d-full.on { background: #2fbf6a; color: #fff; }
.d-pop-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, .08); }
.d-pop-stats dt { color: #6e6e73; font-size: 11.5px; } .d-pop-stats dd { margin: 2px 0 0; font-weight: 650; }
@media (max-width: 760px) { .d-cb-stage { grid-template-columns: 1fr; padding: 28px 20px; gap: 26px; } .d-batt { height: 96px; } .d-batt b { font-size: 36px; } .d-batt::after { top: 26px; height: 36px; } }

/* ---------- Invoicewell demo */
.d-iw { background: linear-gradient(160deg, #dbe7ff, #eef2fb 50%, #fde9d6); padding: 34px; }
:root[data-theme="dark"] .d-iw { background: linear-gradient(160deg, #18213a, #1a1830 60%, #2b1c22); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .d-iw { background: linear-gradient(160deg, #18213a, #1a1830 60%, #2b1c22); } }
.d-iw .demo-bar { margin: 18px -34px -34px; }
.d-win { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .25), 0 30px 70px rgba(20, 30, 70, .3); }
.d-titlebar { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #f3f3f5; border-bottom: 1px solid #e3e3e8; font: 600 13px var(--sans); color: #4a4a4f; }
.d-titlebar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; } .d-titlebar i:nth-child(2) { background: #febc2e; } .d-titlebar i:nth-child(3) { background: #28c840; }
.d-titlebar span { margin: 0 auto; transform: translateX(-30px); }
.d-iw-body { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 430px; }
.d-chat { display: flex; flex-direction: column; border-right: 1px solid #ececf0; background: #fafafc; }
.d-chat header { padding: 12px 16px; font: 650 13px var(--sans); color: #6e6e73; border-bottom: 1px solid #ececf0; }
.d-msgs { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; max-height: 330px; }
.d-msg p { margin: 0; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; max-width: 92%; }
.d-msg.ai p { background: #fff; box-shadow: 0 0 0 1px #e6e6eb; color: #1d1d1f; border-bottom-left-radius: 5px; }
.d-msg.me { align-self: flex-end; } .d-msg.me p { background: #2f6fed; color: #fff; border-bottom-right-radius: 5px; margin-left: auto; }
.d-msg.typing p { display: inline-flex; gap: 4px; padding: 12px 14px; }
.d-msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #a1a1a8; animation: dots 1s infinite; }
.d-msg.typing i:nth-child(2) { animation-delay: .15s; } .d-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-4px); opacity: .5; } }
.d-choices { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px 14px; border-top: 1px solid #ececf0; min-height: 58px; }
.d-choice { border: 0; border-radius: 99px; padding: 8px 13px; font: 600 13px var(--sans); background: #fff; color: #2f6fed; box-shadow: 0 0 0 1.5px #2f6fed; cursor: pointer; }
.d-choice:hover { background: #2f6fed; color: #fff; }
.d-doc { padding: 18px; background: #f0f1f5; display: flex; flex-direction: column; gap: 12px; }
.d-paper { background: #fff; border-radius: 6px; padding: 20px 22px; box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 8px 24px rgba(0, 0, 0, .06); color: #1d1d1f; font-size: 12.5px; flex: 1; }
.d-paper-head { display: flex; justify-content: space-between; gap: 10px; }
.d-paper-head b { font-size: 15px; } .d-paper small { display: block; color: #86868b; font-size: 11px; }
.d-inv-no { text-align: right; color: #86868b; } .d-inv-no b { display: block; color: #2f6fed; font-size: 15px; }
.d-paper-meta { display: flex; justify-content: space-between; margin-top: 18px; gap: 10px; }
.d-paper-meta b { display: block; font-size: 13px; } .d-paper-meta span { display: block; color: #6e6e73; }
.d-lines { width: 100%; border-collapse: collapse; margin-top: 16px; }
.d-lines th { text-align: left; font-size: 10.5px; color: #86868b; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 6px 4px; border-bottom: 1px solid #e5e5ea; }
.d-lines td { padding: 8px 4px; border-bottom: 1px solid #f0f0f3; }
.d-lines th:not(:first-child), .d-lines td:not(:first-child) { text-align: right; white-space: nowrap; }
.d-lines .missing { color: #c2410c; font-style: italic; background: #fff4e5; border-radius: 4px; }
.d-lines .d-blank { color: #a1a1a8; text-align: center !important; padding: 18px; }
.d-total { display: flex; justify-content: space-between; margin-top: 12px; font-size: 14px; } .d-total b { font-size: 17px; }
.d-ready { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.d-ready li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #6e6e73; background: #fff; border-radius: 8px; padding: 7px 9px; }
.d-ready li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c7c7cc; flex: none; }
.d-ready li.ok { color: #1d1d1f; } .d-ready li.ok::before { background: #28c840 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
.d-mail p { display: flex; gap: 10px; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 1px solid #f0f0f3; font-size: 13px; } .d-mail p small { width: 54px; flex: none; font-size: 12px; }
.d-mail-body { margin: 12px 0; font-size: 13px; line-height: 1.5; }
.d-attach { display: inline-block; padding: 6px 10px; border-radius: 8px; background: #f3f3f5; font-size: 12.5px; }
.d-send { margin-top: 14px; float: right; }
@media (max-width: 760px) { .d-iw { padding: 14px; } .d-iw .demo-bar { margin: 14px -14px -14px; } .d-iw-body { grid-template-columns: 1fr; } .d-chat { border-right: 0; border-bottom: 1px solid #ececf0; } .d-msgs { max-height: 240px; } }

/* ---------- drawn feature pictures */
.v-pad { padding: 30px; min-height: 300px; display: flex; flex-direction: column; justify-content: center; gap: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--tint) 16%, var(--card)), var(--card)); }
.v-screen { position: relative; height: 320px; overflow: hidden; }
.v-wall { position: absolute; inset: 0; background: radial-gradient(500px 300px at 20% 0%, #8a6cff, transparent 60%), radial-gradient(400px 300px at 100% 100%, #ff9ac1, transparent 55%), linear-gradient(160deg, #4c3fd8, #8f4fd8 55%, #d06aa8); }
.v-bar { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; gap: 6px; justify-content: center; align-items: flex-end; }
.v-bar > div { height: 64px; border-radius: 16px; background: rgba(255, 255, 255, .25); border: 1px solid rgba(255, 255, 255, .4); display: flex; align-items: center; gap: 8px; padding: 0 9px; }
.v-shelf { box-shadow: 0 0 0 2px #ffd56b, 0 0 24px rgba(255, 213, 107, .7); }
.v-dock i { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); }
.v-recent .v-thumb { width: 48px; height: 34px; border-radius: 5px; background: linear-gradient(135deg, #7c5cff, #ff8fb4 70%, #ffd56b); box-shadow: 0 2px 5px rgba(0, 0, 0, .2); }
.v-thumb-2 { background: linear-gradient(135deg, #22c1c3, #3b82f6) !important; }
.v-bar .fi { transform: scale(.85); }
@media (max-width: 520px) { .v-dock { display: none !important; } }
.v-strip { display: flex; gap: 10px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .5); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); overflow: hidden; }
:root[data-theme="dark"] .v-strip { background: rgba(255, 255, 255, .06); }
.v-shot, .v-dl { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-2); min-width: 0; flex: 1; text-align: center; }
.v-shot i { width: 100%; max-width: 86px; aspect-ratio: 16 / 10; border-radius: 6px; background: linear-gradient(135deg, #7c5cff, #ff8fb4 70%, #ffd56b); box-shadow: 0 3px 8px rgba(0, 0, 0, .18); }
.v-shot-2 i { background: linear-gradient(135deg, #0ea5a4, #3b82f6); } .v-shot-3 i { background: linear-gradient(135deg, #f97316, #fbbf24); }
.v-keys { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); } .v-keys span { margin-left: 6px; }
.v-search { border-radius: 16px; background: var(--card); box-shadow: 0 0 0 1px var(--line-2), var(--shadow-2); padding: 10px; }
.v-field { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--bg-2); font-size: 17px; }
.v-field svg { width: 18px; height: 18px; color: var(--muted); }
.v-caret { width: 2px; height: 20px; background: var(--accent); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.v-search ul { list-style: none; margin: 8px 0 0; padding: 0; }
.v-search li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 9px; font-size: 14.5px; }
.v-search li .fi { transform: scale(.7); margin: -4px; }
.v-search li small { display: block; color: var(--muted); font-size: 12px; }
.v-search li em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); }
.v-search li.on { background: color-mix(in srgb, #2f6fed 14%, transparent); }
.v-hint { display: flex; gap: 8px; align-items: center; padding: 8px 10px 2px; font-size: 12.5px; color: var(--muted); }
.v-pad-menu { flex-direction: row; align-items: center; justify-content: center; gap: 26px; flex-wrap: wrap; }
.v-menu { width: 210px; padding: 5px; border-radius: 10px; background: rgba(246, 246, 248, .97); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), 0 16px 40px rgba(0, 0, 0, .22); color: #1d1d1f; font-size: 13px; }
.v-menu span { display: flex; justify-content: space-between; padding: 3px 10px; border-radius: 5px; }
.v-menu span.on { background: #2f6fed; color: #fff; }
.v-menu em { font-style: normal; color: #86868b; }
.v-menu hr { border: 0; height: 1px; background: rgba(0, 0, 0, .12); margin: 4px 8px; }
.v-made { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 170px; text-align: center; }
.v-made > span { font-size: 22px; color: var(--accent); transform: rotate(90deg); }
.v-made small { font-size: 13px; color: var(--muted); }
.v-shake { position: relative; height: 170px; }
.v-pointer { position: absolute; left: 22%; top: 18px; animation: shake .5s ease-in-out infinite; }
.v-pointer svg { width: 26px; height: 26px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.v-drag { position: absolute; left: 14px; top: 16px; transform: scale(.85); }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-14px); } 75% { transform: translateX(14px); } }
.v-popshelf { position: absolute; left: 12%; top: 92px; width: 190px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--glow) 22%, transparent); border: 2px dashed var(--glow); font-weight: 650; color: var(--accent-ink); animation: pop 2s ease-in-out infinite; }
@keyframes pop { 0%, 30% { opacity: 0; transform: scale(.8); } 45%, 100% { opacity: 1; transform: scale(1); } }
.v-tidy { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.v-tidy-btn { align-self: flex-start; padding: 7px 12px; border-radius: 8px; background: var(--btn); color: var(--btn-ink); font-weight: 650; font-size: 13.5px; }
.v-pop { width: 100%; max-width: 300px; margin: 0 auto; background: rgba(246, 245, 249, .97); color: #1d1d1f; border-radius: 14px; padding: 14px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), var(--shadow-2); font-size: 12.5px; }
.v-pop-top b { display: block; font: 700 26px var(--sans); } .v-pop-top span { display: block; color: #3a3a3c; } .v-pop-top small { color: #86868b; }
.v-pop .v-row, .v-sched .v-row, .v-health .v-row { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-weight: 600; }
.v-switch { width: 34px; height: 20px; border-radius: 99px; background: #2f6fed; position: relative; } .v-switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.v-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 10px; padding: 3px; border-radius: 8px; background: rgba(0, 0, 0, .06); }
.v-seg span { text-align: center; padding: 5px 0; border-radius: 6px; font-weight: 600; font-size: 11.5px; } .v-seg small { display: block; font-weight: 500; color: #86868b; }
.v-seg .on { background: #2f6fed; color: #fff; } .v-seg .on small { color: #e3ebff; }
.v-check { display: flex; align-items: center; gap: 7px; margin-top: 10px; } .v-check i { width: 14px; height: 14px; border-radius: 4px; background: #2f6fed; }
.v-btn { margin-top: 10px; text-align: center; padding: 7px; border-radius: 7px; background: rgba(0, 0, 0, .07); font-weight: 600; }
.v-heat { display: flex; align-items: center; gap: 24px; }
.v-therm { position: relative; width: 26px; height: 150px; border-radius: 14px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-2); overflow: hidden; }
.v-therm i { position: absolute; left: 4px; right: 4px; bottom: 4px; height: var(--t); border-radius: 10px; background: linear-gradient(0deg, #f0592a, #ffb08a); box-shadow: 0 0 18px rgba(240, 89, 42, .6); animation: rise 3s ease-in-out infinite alternate; }
@keyframes rise { from { height: calc(var(--t) - 14%); } }
.v-heat-text b { display: block; font: 650 40px/1 var(--serif); color: var(--ink); } .v-heat-text span { display: block; margin-top: 8px; font-weight: 600; color: #e0592a; } .v-heat-text small { color: var(--muted); }
.v-scale { display: flex; justify-content: space-between; font: 600 12px var(--mono); color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 10px; } .v-scale .on { color: var(--accent); }
.v-sched { background: rgba(246, 245, 249, .97); color: #1d1d1f; border-radius: 14px; padding: 16px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), var(--shadow-2); font-size: 13px; }
.v-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; } .v-days span { text-align: center; padding: 5px 0; border-radius: 6px; background: rgba(0, 0, 0, .06); font-size: 11.5px; font-weight: 600; } .v-days .on { background: #2f6fed; color: #fff; }
.v-line { position: relative; height: 40px; margin-top: 18px; } .v-line i { position: absolute; top: 0; height: 8px; left: var(--a); right: calc(100% - var(--b)); border-radius: 4px; background: #f7a51f; } .v-line .v-line-up { background: #2fbf6a; }
.v-line span { position: absolute; top: 14px; font-size: 11px; color: #6e6e73; white-space: nowrap; } .v-line span:nth-of-type(2) { transform: translateX(-50%); }
.v-health { background: rgba(246, 245, 249, .97); color: #1d1d1f; border-radius: 14px; padding: 16px; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .2), var(--shadow-2); font-size: 13px; }
.v-chart { width: 100%; height: auto; margin-top: 12px; } .v-health small { color: #86868b; font-size: 11px; }
.v-safe { display: grid; gap: 10px; } .v-safe-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--card); box-shadow: 0 0 0 1px var(--line-2); font-size: 15px; }
.v-safe-row code { background: none; border: 0; padding: 0; } .v-dot { width: 10px; height: 10px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 10px #e5484d; } .v-safe-row.ok .v-dot { background: #2fbf6a; box-shadow: 0 0 10px #2fbf6a; }
.v-safe small { color: var(--muted); font-size: 12.5px; }
.pdfs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 30px; }
.pdfs figure { margin: 0; } .pdfs img { width: 100%; border-radius: 8px; box-shadow: 0 0 0 1px var(--line), var(--shadow-1); background: #fff; transition: transform .25s; }
.pdfs img:hover { transform: translateY(-6px) rotate(-1deg); } .pdfs figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .pdfs { grid-template-columns: repeat(3, 1fr); } .pdfs figure:nth-child(n+4) { display: none; } }
