/* 01 · The possibilities — three different industry apps, soft pastel themes */
.ap-fit{position:relative;width:100%;height:var(--ar-vis,440px);margin:0 auto}
.ar.ar-static .ap-fit{height:auto;aspect-ratio:1240/380}
.ap{position:absolute;left:50%;top:0;width:1240px;height:380px;transform-origin:50% 0;transform:translateX(-50%) scale(var(--aps,1));text-align:left;box-shadow:0 26px 50px -38px rgba(15,18,51,.35);overflow:hidden}
.ap .ap-row,.ap .ap-q,.ap .ap-acts{opacity:0;transform:translateY(8px)}
.ap .in{opacity:1!important;transform:none!important;transition:opacity .6s ease,transform .7s cubic-bezier(.2,.8,.2,1)}
.ap-type::after{content:"";display:inline-block;width:6px;height:13px;margin-left:2px;vertical-align:-2px;background:currentColor;animation:ap-blink 1s steps(2) infinite}
.ap-type.done::after{display:none}
@keyframes ap-blink{50%{opacity:.25}}

/* ===== 1 · EDUCATION — timetable, pastel lilac + peach ===== */
.ap-edu{display:grid;grid-template-columns:1fr 300px;gap:14px;padding:14px;background:#fbf7fb;border:1px solid #efe3ef;border-radius:22px;font-family:Poppins,Arial,sans-serif;color:#3a3150}
.e-cal{background:#fff;border:1px solid #efe3ef;border-radius:18px;padding:12px 14px;display:flex;flex-direction:column;min-height:0}
.e-cal-h{display:flex;align-items:center;gap:12px;margin-bottom:8px}.e-cal-h b{font-size:15px;font-weight:600}.e-cal-h span{font-size:11px;color:#8d84a0}
.e-pill{margin-left:auto;color:#7a5aa8!important;background:#efe6fb;border-radius:999px;padding:5px 10px;font-weight:500}
.e-grid{flex:1;display:grid;grid-template-columns:52px repeat(5,1fr);grid-template-rows:22px repeat(4,1fr);gap:6px;min-height:0}
.e-grid .tm{grid-column:1;grid-row:calc(var(--r) + 1);font:500 10px 'JetBrains Mono',Consolas,monospace;color:#a39ab5;padding-top:4px}
.e-grid .dy{grid-row:1;grid-column:calc(var(--c) + 1);font-size:11px;font-weight:600;color:#8d84a0;text-align:center}
.cl{grid-column:calc(var(--c) + 1);grid-row:calc(var(--r) + 1) / span var(--h);border-radius:12px;padding:8px 10px;font-size:12px;font-weight:600;line-height:1.25;border-left:4px solid}
.cl small{display:block;font-size:10px;font-weight:400;opacity:.75;margin-top:2px}
.cl.k1{background:#efe6fb;color:#5b3f8f;border-color:#b79be3}
.cl.k2{background:#e3f1fb;color:#2e5f86;border-color:#93c2e6}
.cl.k3{background:#e4f5ee;color:#2f6b55;border-color:#94d2b7}
.cl.k4{background:#fff;color:#a0617a;border:1.5px dashed #e7aec4;border-left-width:4px}
.cl.k5{background:#fde9e4;color:#a24f3c;border-color:#f2a796}
.e-note{background:#fff4f0;border:1px solid #f6dcd3;border-radius:18px;padding:12px;display:flex;flex-direction:column;gap:9px}
.e-note-h{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#a24f3c}
.e-note-h i{width:26px;height:26px;border-radius:50%;background:#f8d3c8;color:#a24f3c;display:grid;place-items:center;font-style:normal;font-size:10px}
.e-msg{font-size:12px;line-height:1.55;padding:9px 12px;border-radius:16px;max-width:94%}
.e-msg.me{align-self:flex-end;background:#efe6fb;color:#5b3f8f;border-bottom-right-radius:5px}
.e-msg.ai{background:#fff;color:#4a3f5c;border:1px solid #f6dcd3;border-bottom-left-radius:5px;min-height:84px}
.e-sugg{display:flex;gap:6px;flex-wrap:wrap}.e-sugg span{font-size:10.5px;border-radius:999px;padding:6px 11px;border:1px solid #f2c3b6;color:#a24f3c;background:#fff}
.e-sugg span:first-child{background:#fde0d8;border-color:#f2c3b6}

/* ===== 2 · HEALTHCARE — patient-flow board, pastel mint + aqua ===== */
.ap-health{display:flex;flex-direction:column;background:#f2faf8;border:1px solid #d6ece7;border-radius:14px;font-family:'Segoe UI',Arial,sans-serif;color:#24504b}
.h-head{display:flex;align-items:center;gap:26px;padding:12px 18px;border-bottom:1px solid #d6ece7;background:#fff;font-size:12px;color:#5f817c}
.h-head b{font-size:15px;color:#24504b;margin-right:auto}
.h-head em{font-style:normal;font-weight:700;color:#24504b;font-size:15px;margin-left:5px;font-variant-numeric:tabular-nums}
.h-head .d{display:inline-block;width:8px;height:8px;border-radius:50%;background:#7fd3c4;margin-right:6px;animation:ap-blink 1.6s ease-in-out infinite}
.h-board{flex:1;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:12px 16px;min-height:0}
.h-col{background:#e6f4f1;border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:7px}
.h-ch{display:flex;justify-content:space-between;font-size:11.5px;font-weight:700;color:#3d6e67;padding:2px 4px}
.h-ch i{font-style:normal;background:#fff;border-radius:999px;padding:1px 8px;font-size:10.5px}
.h-card{position:relative;background:#fff;border:1px solid #d6ece7;border-radius:10px;padding:8px 10px;font-size:12px}
.h-card b{display:block;font-size:12.5px;color:#24504b}.h-card small{font-size:10.5px;color:#7b9894}
.h-card .hr{position:absolute;right:9px;top:9px;font-size:10px;color:#d58aa0}
.h-card.now{border-color:#9bdccf;box-shadow:0 0 0 3px #dff4ef}
.h-card.done{background:#f7fcfb;color:#7b9894}
.h-card.mv.go{transform:translate(calc(100% + 28px),calc(100% + 7px))!important;transition:transform 1.4s cubic-bezier(.65,0,.25,1)!important;border-color:#9bdccf}
.h-ai{display:flex;align-items:center;gap:12px;margin:0 16px 12px;padding:9px 14px;background:#fff;border:1px solid #cfe9e3;border-radius:12px;font-size:12px}
.h-ai>i{flex:none;width:26px;height:26px;border-radius:8px;background:#d5f1ea;color:#2f6b62;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:700}
.h-ai .ap-q{font-weight:700;color:#24504b;white-space:nowrap}
.h-ans{flex:1;color:#4c6f6a}
.h-btn{font-size:11px;font-weight:700;color:#2f6b62;background:#d5f1ea;border-radius:8px;padding:7px 14px}

/* ===== 3 · FINANCE — lending desk, pastel sage + mint, monospace data ===== */
.ap-fin{display:flex;flex-direction:column;background:#f7fbf9;border:1px solid #dbe9e2;border-radius:8px;font-family:'JetBrains Mono',Consolas,monospace;color:#2f4a40}
.f-top{display:flex;align-items:center;gap:22px;height:40px;padding:0 16px;border-bottom:1px solid #dbe9e2;background:#eef6f2;font-size:11px}
.f-brand{color:#3e8f6c;letter-spacing:.12em}
.f-tick{color:#7d958b}.f-tick b{color:#2f4a40;font-weight:600;margin-left:6px}.f-tick em{font-style:normal;color:#3e8f6c;margin-left:6px}
.f-clock{margin-left:auto;color:#7d958b}
.f-body{flex:1;display:grid;grid-template-columns:1.1fr 1fr;gap:1px;background:#dbe9e2;min-height:0}
.f-chart,.f-table{background:#f7fbf9;padding:12px 14px;display:flex;flex-direction:column;min-height:0}
.f-ch{display:flex;justify-content:space-between;font-size:11px;color:#7d958b;margin-bottom:6px}.f-ch b{color:#2f4a40;font-weight:500}.f-ch u{color:#3e8f6c;text-decoration:none}
.f-chart svg{flex:1;width:100%;background-image:linear-gradient(rgba(47,74,64,.06) 1px,transparent 1px);background-size:100% 30px}
.f-area{fill:rgba(126,201,165,.22)}
.f-line{fill:none;stroke:#5fb48d;stroke-width:2;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.8s cubic-bezier(.3,.6,.2,1);vector-effect:non-scaling-stroke}
.ap-fin.play .f-line{stroke-dashoffset:0}
.f-th,.f-tr{display:grid;grid-template-columns:1.6fr 1fr .7fr .8fr;gap:8px;align-items:center;font-size:11.5px;padding:8px 6px}
.f-th{color:#7d958b;font-size:10px;letter-spacing:.1em;border-bottom:1px solid #dbe9e2}
.f-tr{border-bottom:1px solid #e6f0eb}.f-tr b{color:#2f4a40;font-weight:600}
.f-tr .ok,.f-tr .no,.f-tr .mid{justify-self:end;font-size:10px;padding:3px 8px;border-radius:4px}
.f-tr .ok{color:#3e8f6c;background:#dcf2e7}.f-tr .no{color:#b4546a;background:#fbe3e8}.f-tr .mid{color:#6d7f78;background:#ebf0ed}
.f-tr.flag{background:#fdf3f5}
.f-cmd{display:flex;align-items:center;gap:10px;height:44px;padding:0 16px;border-top:1px solid #dbe9e2;background:#eef6f2;font-size:12px}
.f-prompt{color:#3e8f6c;font-weight:700}.f-cmd .ap-q{color:#2f4a40}
.f-ans{flex:1;color:#557a6b;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.f-ans::before{content:"→ ";color:#9ab0a6}
.f-act{font-size:11px;color:#2f6b52;background:#d3efe1;border-radius:5px;padding:6px 10px;font-weight:700}
