@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Perception interactive product demo — SINGLE SOURCE for index + platform.
   Synced from the shipped Flutter app; update HERE, both pages inherit. */
    .glimpse-cap { font-size: .78rem; color: var(--text-muted); letter-spacing: .02em; }
    .glimpse-cap b { color: var(--accent-light); font-weight: 600; }
    .phone { width: 250px; height: 490px; flex-shrink: 0; border-radius: 36px; background: #0a1018; border: 8px solid #070b12; box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 0 1px rgba(195, 215, 238, .08), inset 0 0 0 2px rgba(255, 255, 255, .03); position: relative; overflow: hidden; }
    .phone__notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 66px; height: 20px; background: #070b12; border-radius: 0 0 13px 13px; z-index: 6; }
    .phone__screen { position: absolute; inset: 0; border-radius: 28px; overflow: hidden; }
    .phone--tap { cursor: pointer; transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .35s ease; }
    .phone--tap:hover { transform: translateY(-6px) scale(1.015); box-shadow: 0 40px 90px rgba(0, 0, 0, .6), 0 0 0 1px rgba(195, 215, 238, .16), 0 0 44px rgba(110, 163, 212, .25); }
    .phone__tap-hint { position: absolute; left: 50%; bottom: 58px; transform: translateX(-50%); z-index: 7; font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #0f1d2e; background: var(--accent); border-radius: var(--radius-full); padding: .42rem .9rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); animation: tapPulse 2.4s ease-in-out infinite; pointer-events: none; white-space: nowrap; }
    @keyframes tapPulse { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.06); } }
    .mx-fit { width: 370px; height: 750px; transform: scale(.6324); transform-origin: 0 0; pointer-events: none; }

    /* ===== overlay chrome ===== */
    .pd-overlay { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 1.2rem; background: rgba(7, 12, 20, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
    .pd-overlay.is-open { display: flex; }
    .pd-shell { position: relative; display: flex; flex-direction: column; align-items: center; gap: .8rem; animation: pdIn .45s cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes pdIn { 0% { opacity: 0; transform: translateY(26px) scale(.96); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
    .pd-close { position: absolute; top: -14px; right: -14px; z-index: 12; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(195, 215, 238, .3); background: #101a28; color: #d5e2f2; font-size: 1.05rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
    .pd-close:hover { background: #1a2a3e; }
    .pd-phone { width: min(372px, 94vw); height: min(740px, 86vh); border-radius: 42px; background: #0a1018; border: 9px solid #070b12; box-shadow: 0 40px 100px rgba(0, 0, 0, .65), 0 0 0 1px rgba(195, 215, 238, .1); position: relative; overflow: hidden; }
    .pd-note { font-size: .72rem; color: var(--text-muted); letter-spacing: .04em; }

    /* ===== the real app, replicated (dark theme only — mirrors the shipped Flutter UI) ===== */
    .mx-app { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; background: radial-gradient(115% 55% at 50% -8%, rgba(74, 140, 199, .16), transparent 62%), #1B2B41; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #fff; font-size: 13px; text-align: left; }
    .mx-app .material-icons-round { font-size: 24px; line-height: 1; }
    .mx-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 30px 0; font-size: 12.5px; font-weight: 700; letter-spacing: -.1px; flex-shrink: 0; }
    .mx-status svg { width: 52px; height: 13px; display: block; }
    .mx-appbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 10px; flex-shrink: 0; }
    .mx-title { font-size: 21px; font-weight: 800; letter-spacing: -.4px; }
    .mx-avatar { width: 30px; height: 30px; border-radius: 50%; background: rgba(177, 203, 233, .18); border: 1px solid rgba(177, 203, 233, .4); color: #B1CBE9; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
    .mx-body { flex: 1; overflow-y: auto; padding: 4px 16px 20px; scrollbar-width: none; }
    .mx-body::-webkit-scrollbar { display: none; }
    .mx-cap { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: rgba(255, 255, 255, .55); text-transform: uppercase; padding: 4px 4px 0; }
    .mx-tiles { display: flex; gap: 10px; margin-top: 12px; }
    .mx-tile { flex: 1; padding: 12px 14px; border-radius: 12px; background: #1F3049; border: 1px solid rgba(177, 203, 233, .10); }
    .mx-tile .d { font-size: 18px; font-weight: 800; letter-spacing: -.3px; display: flex; align-items: center; gap: 3px; color: #6FCF97; }
    .mx-tile .d .material-icons-round { font-size: 14px; }
    .mx-tile .l { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .7); margin-top: 4px; }
    .mx-card { background: #1F3049; border: 1px solid rgba(177, 203, 233, .10); border-radius: 12px; padding: 16px; margin-top: 12px; }
    .mx-briefh { display: flex; align-items: center; gap: 10px; }
    .mx-briefh .ic { width: 28px; height: 28px; border-radius: 6px; background: rgba(177, 203, 233, .15); color: #B1CBE9; display: flex; align-items: center; justify-content: center; }
    .mx-briefh .ic .material-icons-round { font-size: 15px; }
    .mx-briefh .t { font-size: 13px; font-weight: 700; }
    .mx-brief p { font-size: 13px; font-weight: 500; line-height: 1.5; color: rgba(255, 255, 255, .85); margin: 10px 0 0; }
    .mx-act { display: flex; gap: 12px; }
    .mx-act .ic { width: 40px; height: 40px; border-radius: 8px; background: rgba(177, 203, 233, .14); color: #B1CBE9; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .mx-act .ic .material-icons-round { font-size: 20px; }
    .mx-act .bd { flex: 1; min-width: 0; }
    .mx-act .r1 { display: flex; align-items: baseline; }
    .mx-act .who { font-size: 13px; font-weight: 700; }
    .mx-act .tm { margin-left: auto; font-size: 12px; color: rgba(255, 255, 255, .72); font-weight: 500; }
    .mx-act .what { font-size: 15px; font-weight: 700; margin-top: 6px; line-height: 1.35; }
    .mx-act .res { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .75); margin-top: 4px; line-height: 1.45; }
    .mx-next { display: flex; gap: 10px; align-items: flex-start; }
    .mx-next + .mx-next { margin-top: 10px; }
    .mx-next .material-icons-round { font-size: 16px; color: #B1CBE9; margin-top: 2px; }
    .mx-next span:last-child { font-size: 13px; font-weight: 500; line-height: 1.4; }
    .mx-h1 { font-size: 19px; font-weight: 800; padding: 6px 4px 0; }
    .mx-sub { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .72); line-height: 1.4; padding: 4px 4px 0; }
    .mx-ap { position: relative; background: #1F3049; border: 1px solid rgba(177, 203, 233, .10); border-radius: 12px; padding: 16px 16px 16px 20px; margin-top: 12px; overflow: hidden; transition: opacity .35s ease, transform .35s ease, max-height .4s ease, margin .4s ease, padding .4s ease; max-height: 400px; }
    .mx-ap::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: #B1CBE9; }
    .mx-ap.is-gone { opacity: 0; transform: translateX(44px); max-height: 0; margin-top: 0; padding-top: 0; padding-bottom: 0; border-width: 0; }
    .mx-aprow { display: flex; align-items: center; }
    .mx-chip { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #B1CBE9; background: rgba(177, 203, 233, .14); border-radius: 4px; padding: 3px 8px; text-transform: uppercase; }
    .mx-when { margin-left: auto; font-size: 12px; color: rgba(255, 255, 255, .72); font-weight: 500; }
    .mx-ap h5 { font-size: 15px; font-weight: 700; margin: 10px 0 0; line-height: 1.35; }
    .mx-ap .desc { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .70); line-height: 1.45; margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .mx-acts { display: flex; gap: 10px; margin-top: 12px; }
    .mx-btn { height: 44px; border-radius: 8px; border: none; font-family: inherit; font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
    .mx-btn--fill { flex: 3; background: #B1CBE9; color: #1B2B41; font-weight: 800; }
    .mx-btn--fill:active { opacity: .85; }
    .mx-btn--text { flex: 2; background: transparent; color: rgba(255, 255, 255, .75); font-weight: 700; }
    .mx-empty { text-align: center; padding-top: 72px; }
    .mx-empty .ring { width: 64px; height: 64px; border-radius: 50%; background: rgba(177, 203, 233, .12); color: #B1CBE9; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
    .mx-empty .ring .material-icons-round { font-size: 30px; }
    .mx-empty .t { font-size: 15px; font-weight: 700; margin-top: 16px; }
    .mx-empty .s { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .6); margin-top: 6px; }
    .mx-score { display: flex; align-items: center; gap: 20px; padding: 20px 16px; }
    .mx-ring { position: relative; width: 84px; height: 84px; flex-shrink: 0; }
    .mx-ring svg { width: 84px; height: 84px; transform: rotate(-90deg); }
    .mx-ring .n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
    .mx-score .t { font-size: 15px; font-weight: 700; }
    .mx-score .s { font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .72); margin-top: 4px; line-height: 1.4; }
    .mx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
    .mx-met { background: #1F3049; border: 1px solid rgba(177, 203, 233, .10); border-radius: 12px; padding: 14px; }
    .mx-met .ic { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
    .mx-met .ic .material-icons-round { font-size: 19px; }
    .mx-met .l { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .78); margin-top: 12px; }
    .mx-met .v { font-size: 20px; font-weight: 800; letter-spacing: -.5px; margin-top: 2px; }
    .mx-trend { display: flex; align-items: baseline; }
    .mx-trend .t { font-size: 15px; font-weight: 700; }
    .mx-trend .s { margin-left: auto; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .72); }
    .mx-pill-row { margin-top: 10px; }
    .mx-pill-row .r { display: flex; align-items: baseline; }
    .mx-pill-row .l { font-size: 13px; font-weight: 500; }
    .mx-pill-row .v { margin-left: auto; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .65); }
    .mx-pill-row .bar { height: 6px; border-radius: 4px; background: rgba(177, 203, 233, .15); margin-top: 6px; overflow: hidden; }
    .mx-pill-row .bar i { display: block; height: 100%; border-radius: 4px; }
    .mx-int { display: flex; align-items: center; gap: 12px; background: #1F3049; border: 1px solid rgba(177, 203, 233, .10); border-radius: 12px; padding: 12px 14px; margin-top: 8px; }
    .mx-int .logo { width: 36px; height: 36px; border-radius: 8px; background: #fff; border: 1px solid rgba(0, 0, 0, .08); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; flex-shrink: 0; }
    .mx-int .nm { font-size: 13px; font-weight: 600; }
    .mx-int .st { font-size: 12px; font-weight: 500; margin-top: 2px; display: flex; align-items: center; gap: 4px; }
    .mx-int .st .material-icons-round { font-size: 12px; }
    .mx-int .st.ok { color: #B1CBE9; }
    .mx-int .st.no { color: rgba(255, 255, 255, .5); }
    .mx-prog { height: 8px; border-radius: 99px; background: rgba(177, 203, 233, .18); margin-top: 14px; overflow: hidden; }
    .mx-prog i { display: block; height: 100%; width: 60%; background: #B1CBE9; border-radius: 99px; }
    .mx-chat-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 44px; }
    .mx-chat-logo { width: 76px; height: 76px; border-radius: 50%; background: rgba(177, 203, 233, .16); box-shadow: 0 0 42px rgba(177, 203, 233, .35); display: flex; align-items: center; justify-content: center; }
    .mx-chat-logo img { width: 66%; height: 66%; object-fit: contain; }
    .mx-chat-h { font-size: 20px; font-weight: 800; letter-spacing: -.3px; margin-top: 18px; }
    .mx-chat-s { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .72); line-height: 1.4; margin-top: 8px; }
    .mx-suggs { width: 100%; margin-top: 24px; }
    .mx-sugg { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 1px solid rgba(177, 203, 233, .25); border-radius: 8px; padding: 14px 16px; color: #fff; font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
    .mx-sugg + .mx-sugg { margin-top: 10px; }
    .mx-sugg .sp { color: #B1CBE9; font-size: 15px; line-height: 1; }
    .mx-msg { margin-top: 14px; }
    .mx-msg--user { display: flex; justify-content: flex-end; }
    .mx-bubble { max-width: 82%; padding: 14px 14px 10px; border-radius: 12px; font-size: 13px; font-weight: 500; line-height: 1.45; }
    .mx-bubble--ai { background: rgba(50, 69, 99, .6); border-bottom-left-radius: 4px; padding: 12px 14px; }
    .mx-bubble--user { background: #B1CBE9; color: #1B2B41; border-bottom-right-radius: 4px; padding: 10px 14px; }
    .mx-aih { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
    .mx-aih .lg { width: 26px; height: 26px; border-radius: 50%; background: rgba(177, 203, 233, .16); display: flex; align-items: center; justify-content: center; }
    .mx-aih .lg img { width: 64%; object-fit: contain; }
    .mx-aih .nm { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: rgba(255, 255, 255, .6); }
    .mx-aih .tm { font-size: 11px; color: rgba(255, 255, 255, .45); }
    .mx-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0 34px; }
    .mx-pill { display: inline-flex; align-items: center; gap: 5px; background: rgba(177, 203, 233, .12); color: #B1CBE9; border-radius: 16px; padding: 3px 8px; font-size: 11px; font-weight: 600; }
    .mx-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
    .mx-typing i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .55); animation: mxDot 1.2s ease-in-out infinite; }
    .mx-typing i:nth-child(2) { animation-delay: .18s; }
    .mx-typing i:nth-child(3) { animation-delay: .36s; }
    @keyframes mxDot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
    .mx-composer { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 8px; background: #1F3049; border-top: 1px solid rgba(177, 203, 233, .10); }
    .mx-composer .clip { color: rgba(255, 255, 255, .7); display: flex; }
    .mx-composer .clip .material-icons-round { font-size: 20px; }
    .mx-field { flex: 1; background: rgba(50, 69, 99, .4); border-radius: 16px; padding: 12px 14px; font-size: 13px; color: rgba(255, 255, 255, .5); font-weight: 500; }
    .mx-send { width: 40px; height: 40px; border-radius: 50%; background: #B1CBE9; color: #1B2B41; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .mx-send .material-icons-round { font-size: 18px; }
    .mx-navline { height: 2px; background: rgba(177, 203, 233, .12); position: relative; overflow: hidden; flex-shrink: 0; }
    .mx-navline i { position: absolute; top: 0; bottom: 0; width: 34px; border-radius: 2px; background: linear-gradient(90deg, transparent, #B1CBE9, transparent); animation: mxSweep 4.5s linear infinite; }
    @keyframes mxSweep { 0% { left: -34px; } 100% { left: 100%; } }
    .mx-nav { flex-shrink: 0; display: flex; background: #243651; padding: 9px 10px 12px; }
    .mx-nav button { flex: 1; min-width: 0; background: none; border: none; font-family: inherit; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 10px; letter-spacing: .1px; font-weight: 600; color: rgba(255, 255, 255, .92); cursor: pointer; padding: 0; white-space: nowrap; }
    .mx-nav button.is-active { color: #B1CBE9; font-weight: 700; }
    .mx-snack { position: absolute; left: 12px; right: 12px; bottom: 84px; z-index: 20; background: #2A3D5A; border: 1px solid rgba(177, 203, 233, .2); border-radius: 8px; padding: 12px 14px; font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
    .mx-snack.is-on { opacity: 1; transform: translateY(0); }
  
    /* ===== guided tour ===== */
    .pd-phone { position: relative; }
    .mx-tour { position: absolute; left: 10px; right: 10px; bottom: 92px; z-index: 30;
      background: #22354f; border: 1px solid rgba(177,203,233,.35); border-radius: 12px;
      padding: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.5); font-family: inherit; }
    .mx-tour__t { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: #fff; }
    .mx-tour__d { font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.78); }
    .mx-tour__row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
    .mx-tour__dots { display: flex; gap: 5px; }
    .mx-tour__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); }
    .mx-tour__dots i.on { background: #B1CBE9; }
    .mx-tour__btns { display: flex; gap: 10px; align-items: center; }
    .mx-tour__skip { background: none; border: none; color: rgba(255,255,255,.6); font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; }
    .mx-tour__next { background: #B1CBE9; color: #1B2B41; border: none; border-radius: 16px; padding: 7px 14px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
    .mx-nav button.tour-hl { position: relative; }
    .mx-nav button.tour-hl::after { content: ""; position: absolute; inset: -4px -2px; border: 1.5px solid #B1CBE9; border-radius: 10px; box-shadow: 0 0 12px rgba(177,203,233,.5); animation: tourPulse 1.4s ease-in-out infinite; }
    @keyframes tourPulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
    /* phone placement in the index overnight slot */
    .overnight__phone { display: flex; flex-direction: column; align-items: center; gap: .9rem; justify-self: center; }

    /* ===== MacBook shell (platform page) ===== */
    .laptop { position: relative; width: 560px; max-width: 92vw; flex-shrink: 0; }
    .laptop--tap { cursor: pointer; transition: transform .35s cubic-bezier(0.16,1,0.3,1), filter .35s ease; }
    .laptop--tap:hover { transform: translateY(-6px) scale(1.012); filter: drop-shadow(0 34px 60px rgba(0,0,0,.55)) drop-shadow(0 0 34px rgba(110,163,212,.22)); }
    /* 342px scaled app (760 × .45) + 24px top/bottom bezels; 351 was clipping the app's bottom 15px */
    .laptop__screen { border: 10px solid #070b12; border-bottom-width: 14px; border-radius: 16px 16px 0 0; background: #0a1018; overflow: hidden; height: 366px; box-shadow: 0 0 0 1px rgba(195,215,238,.08); }
    .laptop__deck { height: 15px; background: linear-gradient(180deg, #2b3546 0%, #1a2230 70%, #12171f 100%); border-radius: 0 0 18px 18px; margin: 0 -22px; position: relative; }
    .laptop__deck::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 96px; height: 7px; background: #0e1420; border-radius: 0 0 8px 8px; }
    .laptop .phone__tap-hint { bottom: 30px; }
    .dk-fit { width: 1200px; height: 760px; transform: scale(0.45); transform-origin: 0 0; pointer-events: none; }

    /* ===== desktop app (client portal replica) ===== */
    /* Real client portal — replicated from app.perception.software screenshots (2026-08-14) */
    .dk-app { display: flex; flex-direction: column; width: 1200px; height: 760px; background: #0d1420; color: #e7edf5; font-family: 'Inter', -apple-system, sans-serif; position: relative; overflow: hidden; }
    .dk-topnav { display: flex; align-items: center; gap: 14px; padding: 0 22px; height: 58px; flex-shrink: 0; border-bottom: 1px solid rgba(203,219,238,.07); }
    .dk-mark { width: 30px; flex-shrink: 0; }
    .dk-mark img { width: 30px; object-fit: contain; }
    .dk-tabs { display: flex; align-items: center; gap: 6px; margin: 0 auto; }
    .dk-tabs button { display: flex; align-items: center; gap: 8px; background: none; border: 1px solid transparent; border-radius: 999px; color: #93a5bc; font-family: inherit; font-size: 13px; font-weight: 500; padding: 8px 15px; cursor: pointer; }
    .dk-tabs button .material-icons-round { font-size: 17px; }
    .dk-tabs button.is-active { color: #fff; border-color: rgba(203,219,238,.28); background: rgba(203,219,238,.05); box-shadow: 0 0 14px rgba(203,219,238,.12); }
    .dk-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
    .dk-site { display: flex; align-items: center; gap: 8px; border: 1px solid rgba(203,219,238,.18); border-radius: 10px; padding: 8px 12px; font-size: 12.5px; color: #c9d6e6; }
    .dk-site .material-icons-round { font-size: 15px; }
    .dk-trialbtn { border: 1px solid rgba(203,219,238,.18); border-radius: 10px; padding: 8px 13px; font-size: 12.5px; color: #c9d6e6; }
    .dk-avatar { width: 34px; height: 34px; border-radius: 50%; background: #e7edf5; color: #14202f; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
    .dk-banner { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 22px 0; padding: 12px 16px; border: 1px solid rgba(203,219,238,.12); border-radius: 12px; background: rgba(203,219,238,.03); font-size: 12.5px; color: #b9c7d9; flex-shrink: 0; }
    .dk-banner b { color: #fff; }
    .dk-banner .material-icons-round { font-size: 15px; color: #93a5bc; }
    .dk-upgrade { background: #c9d9ee; color: #14202f; border: none; border-radius: 8px; padding: 7px 12px; font-size: 12px; font-weight: 600; font-family: inherit; }
    .dk-banner .x { margin-left: auto; color: #93a5bc; font-size: 14px; }
    .dk-body { flex: 1; overflow-y: auto; padding: 24px 30px 30px; text-align: left; }
    .dk-pagehead { margin-bottom: 16px; }
    .dk-pagehead h2 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 5px; }
    .dk-pagehead p { font-size: 13px; color: #93a5bc; }
    .dk-pills { display: inline-flex; gap: 4px; background: rgba(203,219,238,.05); border: 1px solid rgba(203,219,238,.1); border-radius: 999px; padding: 4px; margin: 12px 0 18px; }
    .dk-pill { display: flex; align-items: center; gap: 7px; border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 500; color: #93a5bc; }
    .dk-pill.on { background: #1c2836; color: #fff; }
    .dk-pill i { font-style: normal; background: rgba(203,219,238,.12); border-radius: 999px; font-size: 11px; padding: 1px 7px; }
    .dk-panel { background: #141e2b; border: 1px solid rgba(203,219,238,.1); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; }
    .dk-panel__t { font-size: 13px; font-weight: 600; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
    .dk-panel__t small { font-size: 11px; color: #93a5bc; font-weight: 500; }
    .dk-statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
    .dk-stat { background: #141e2b; border: 1px solid rgba(203,219,238,.1); border-radius: 14px; padding: 14px 16px; }
    .dk-stat__l { font-size: 11px; color: #93a5bc; font-weight: 500; margin-bottom: 6px; }
    .dk-stat__v { font-size: 21px; font-weight: 700; color: #fff; display: flex; align-items: baseline; gap: 8px; }
    .dk-stat__d { font-size: 11px; font-weight: 600; color: #5fce8b; }
    .dk-chart { width: 100%; height: 150px; }
    .dk-aprow { display: flex; align-items: center; gap: 16px; background: #141e2b; border: 1px solid rgba(203,219,238,.1); border-radius: 14px; padding: 15px 17px; margin-bottom: 10px; transition: opacity .35s ease, transform .35s ease; }
    .dk-aprow.is-gone { opacity: 0; transform: translateX(20px); }
    .dk-aprow__main { flex: 1; min-width: 0; }
    .dk-chip { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #c8d8ec; background: rgba(203,219,238,.1); border-radius: 5px; padding: 3px 8px; margin-bottom: 7px; }
    .dk-aprow__t { font-size: 13.5px; font-weight: 600; color: #fff; margin-bottom: 4px; }
    .dk-aprow__d { font-size: 12px; color: #93a5bc; line-height: 1.55; }
    .dk-aprow__when { font-size: 10.5px; color: #64748b; margin-top: 6px; }
    .dk-aprow__btns { display: flex; gap: 8px; flex-shrink: 0; }
    .dk-btn { font-family: inherit; font-size: 12px; font-weight: 600; border-radius: 9px; padding: 9px 15px; cursor: pointer; border: 1px solid transparent; }
    .dk-btn--ok { background: #c9d9ee; color: #14202f; }
    .dk-btn--no { background: none; border-color: rgba(203,219,238,.22); color: #b9c7d9; }
    .dk-empty { text-align: center; padding: 60px 20px; }
    .dk-empty__ic { width: 44px; height: 44px; border-radius: 50%; background: #22c55e; color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
    .dk-empty h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
    .dk-empty p { font-size: 13px; color: #93a5bc; line-height: 1.6; }
    .dk-feed { position: relative; padding-left: 18px; }
    .dk-feed::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1.5px; background: rgba(203,219,238,.14); }
    .dk-feeditem { position: relative; padding: 0 0 16px 14px; }
    .dk-feeditem::before { content: ""; position: absolute; left: -18px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #c8d8ec; box-shadow: 0 0 0 3px rgba(203,219,238,.12); }
    .dk-feeditem__time { font-size: 10.5px; color: #93a5bc; font-weight: 600; margin-bottom: 3px; }
    .dk-feeditem__tx { font-size: 12.5px; color: #c9d6e6; line-height: 1.55; }
    .dk-feeditem__tx b { color: #fff; }
    .dk-google { text-align: center; }
    .dk-gbtn { display: inline-flex; align-items: center; gap: 9px; background: #c9d9ee; color: #14202f; border: none; border-radius: 10px; padding: 12px 20px; font-size: 13.5px; font-weight: 600; font-family: inherit; margin-bottom: 8px; }
    .dk-gsub { font-size: 11.5px; color: #93a5bc; margin-bottom: 16px; }
    .dk-connrow { display: flex; align-items: center; gap: 14px; background: #0f1826; border: 1px solid rgba(203,219,238,.09); border-radius: 12px; padding: 13px 16px; margin-bottom: 9px; text-align: left; }
    .dk-connrow__ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(203,219,238,.09); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .dk-connrow__ic .material-icons-round { font-size: 18px; color: #c8d8ec; }
    .dk-connrow__n { font-size: 13px; font-weight: 600; color: #fff; }
    .dk-connrow__d { font-size: 11.5px; color: #93a5bc; }
    .dk-connrow__cta { margin-left: auto; flex-shrink: 0; }
    .dk-connected { font-size: 12px; font-weight: 600; color: #5fce8b; display: flex; align-items: center; gap: 5px; }
    .dk-kitbanner { display: flex; align-items: center; gap: 12px; border: 1px solid rgba(242,201,125,.4); background: rgba(242,201,125,.05); border-radius: 12px; padding: 13px 16px; font-size: 12.5px; color: #d9e2ee; margin-bottom: 14px; }
    .dk-kitbanner b { color: #fff; }
    .dk-kitbtn { margin-left: auto; background: #c9d9ee; color: #14202f; border: none; border-radius: 9px; padding: 9px 14px; font-size: 12px; font-weight: 600; font-family: inherit; flex-shrink: 0; }
    .dk-tagrow { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
    .dk-tag { border: 1px solid rgba(203,219,238,.14); border-radius: 999px; padding: 6px 13px; font-size: 12px; color: #b9c7d9; }
    .dk-tag.on { background: #c9d9ee; color: #14202f; font-weight: 600; border-color: transparent; }
    .dk-fab { position: absolute; right: 24px; bottom: 24px; width: 58px; height: 58px; border-radius: 50%; border: none; background: #dfe9f5; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,.5); z-index: 6; }
    .dk-fab .material-icons-round { font-size: 26px; color: #14202f; }
    .dk-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 380px; background: #101a28; border-left: 1px solid rgba(203,219,238,.12); z-index: 7; display: flex; flex-direction: column; box-shadow: -18px 0 40px rgba(0,0,0,.4); }
    .dk-drawer__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgba(203,219,238,.08); font-size: 15px; font-weight: 700; }
    .dk-drawer__head img { width: 24px; }
    .dk-drawer__x { margin-left: auto; background: none; border: 1px solid rgba(203,219,238,.18); border-radius: 9px; color: #b9c7d9; width: 32px; height: 32px; cursor: pointer; font-size: 14px; }
    .dk-drawer .mx-body { flex: 1; overflow-y: auto; padding: 14px; }
    .dk-drawer .mx-composer { background: #0d1420; border-top: 1px solid rgba(203,219,238,.08); }
    .dk-app .mx-snack { left: auto; right: 24px; bottom: 96px; width: 320px; }
    /* ===== overlay: desktop variant ===== */
    .pd-laptop { display: none; position: relative; }
    .pd-shell.is-desk .pd-phone { display: none; }
    .pd-shell.is-desk .pd-laptop { display: block; }
    /* content-box: width/height mean the app's scaled size; the bezel borders add
       outside it. border-box was clipping the app's right 24px + bottom 28px. */
    .lap-outer { box-sizing: content-box; border: 12px solid #070b12; border-bottom-width: 16px; border-radius: 18px 18px 0 0; background: #0a1018; overflow: hidden; width: 912px; height: 578px; max-width: 92vw; box-shadow: 0 0 0 1px rgba(195,215,238,.1), 0 40px 90px rgba(0,0,0,.6); }
    .lap-outer .dk-fit2 { width: 1200px; height: 760px; transform: scale(0.76); transform-origin: 0 0; }
    .lap-deck2 { height: 18px; background: linear-gradient(180deg, #2b3546 0%, #1a2230 70%, #12171f 100%); border-radius: 0 0 22px 22px; margin: 0 -30px; position: relative; }
    .lap-deck2::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 8px; background: #0e1420; border-radius: 0 0 9px 9px; }

    .pd-laptop .mx-tour { left: auto; right: 20px; bottom: 26px; width: 300px; }

    /* ===== drawer chat — real portal anatomy ===== */
    .dkc { display: flex; flex-direction: column; gap: 14px; }
    .dkc-user { align-self: stretch; background: #182338; border: 1px solid rgba(203,219,238,.1); border-radius: 12px; padding: 13px 15px; font-size: 13px; color: #e7edf5; }
    .dkc-time { font-size: 10px; color: #64748b; text-align: right; margin-top: 4px; }
    .dkc-ai__head { display: flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .8px; color: #93a5bc; margin-bottom: 7px; }
    .dkc-ai__head img { width: 17px; }
    .dkc-ai__head .t { margin-left: auto; font-weight: 500; letter-spacing: 0; }
    .dkc-ai__body { border-left: 2px solid rgba(203,219,238,.35); padding: 2px 0 2px 13px; font-size: 13px; line-height: 1.65; color: #dbe4f0; }
    .dkc-ai__body p { margin-bottom: 10px; }
    .dkc-ai__body p:last-child { margin-bottom: 0; }
    .dkc-ai__body b { color: #fff; }
    .dkc-suggs { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
    .dkc-sugg { border: 1px solid rgba(203,219,238,.2); border-radius: 10px; padding: 10px 13px; font-size: 12.5px; color: #c9d6e6; cursor: pointer; background: rgba(203,219,238,.03); text-align: left; font-family: inherit; }
    .dkc-sugg:hover { background: rgba(203,219,238,.08); }
    .dk-composer { flex-shrink: 0; display: flex; align-items: center; gap: 10px; margin: 12px; padding: 11px 14px; background: #182338; border: 1px solid rgba(203,219,238,.12); border-radius: 14px; }
    .dk-composer .material-icons-round { font-size: 18px; color: #93a5bc; }
    .dk-composer .fld { flex: 1; font-size: 13px; color: #93a5bc; }
    .dk-composer .snd { margin-left: auto; color: #c8d8ec; }
