#office-track { position: relative; z-index: 2; }
    .office-wrap { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 110px 24px 90px; }
    #office-track.os-pinned { /* height set by JS */ }
    #office-track.os-pinned .office-wrap { position: sticky; top: 0; height: 100vh; overflow: hidden; padding: 90px 24px 30px; }
    .office-head { text-align: center; max-width: 860px; }
    .office-pill { display: inline-block; background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3); border-radius: 20px; padding: 6px 16px; font-size: 13px; font-weight: 600; color: #a5b4fc; letter-spacing: 0.05em; }
    .office-head h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 900; color: white; letter-spacing: -0.03em; line-height: 1.12; margin: 16px 0 12px; }
    .office-caps { position: relative; height: 1.7em; font-size: 17px; color: rgba(255,255,255,0.55); }
    .office-cap { position: absolute; inset: 0; opacity: 0; transition: opacity 0.45s ease; }
    .office-cap.on { opacity: 1; }
    .office-frame { width: min(1040px, 96vw); border-radius: 14px; background: #0b0f17; border: 1px solid rgba(255,255,255,0.09); box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 90px rgba(99,102,241,0.12); overflow: hidden; position: relative; text-align: left; }
    /* Replica design system (scoped) — mirrors the real Lycia AI Office UI */
    .office-frame { --rbg:#f3f4f6; --rsurface:#ffffff; --rborder:#e5e7eb; --rtext:#111827; --rmuted:#6b7280; --rprimary:#374151; --rprimary-soft:#eef0f3; --rsidebar:#111827; --rside-text:#9ca3af; --rside-label:#6b7280; }
    #officeStage .ic { flex-shrink: 0; }
    .of-scalewrap { position: relative; overflow: hidden; background: var(--rbg); }
    .of-design { position: absolute; top: 0; left: 0; width: 1120px; display: flex; align-items: stretch; transform-origin: top left; font-family: 'Inter', -apple-system, sans-serif; color: var(--rtext); }
    .rp-side { width: 232px; flex-shrink: 0; background: var(--rsidebar); display: flex; flex-direction: column; }
    .rp-logo { display: flex; align-items: center; justify-content: center; padding: 18px 16px 4px; }
    .rp-brand { text-align: center; font-size: 10.5px; font-weight: 500; letter-spacing: 0.04em; color: var(--rside-text); margin-bottom: 2px; }
    .rp-nav { flex: 1; padding: 0 10px 10px; }
    .rp-label { padding: 13px 12px 5px; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rside-label); }
    .rp-item { display: flex; align-items: center; gap: 10px; border-radius: 10px; padding: 7px 12px; font-size: 13.5px; font-weight: 500; color: var(--rside-text); }
    .rp-item.active { background: rgba(255,255,255,0.10); color: #fff; }
    .rp-foot { border-top: 1px solid rgba(255,255,255,0.10); padding: 10px 12px 12px; }
    .rp-notif { display: flex; align-items: center; gap: 10px; color: var(--rside-text); font-size: 13.5px; font-weight: 500; padding: 6px 12px; }
    .rp-user { margin-top: 6px; display: flex; align-items: center; gap: 10px; padding: 0 4px; }
    .rp-user > .ic { color: var(--rside-text); }
    .rp-uname { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.3; }
    .rp-umail { font-size: 11px; color: var(--rside-text); }
    .rp-logout { margin-left: auto; color: var(--rside-text); display: inline-flex; }
    .rp-main { flex: 1; background: var(--rbg); padding: 22px 28px 26px; min-width: 0; }
    .rp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
    .rp-head h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--rtext); }
    .rp-head h3 .ic { color: var(--rprimary); }
    .rp-sub { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--rmuted); }
    .rp-actions { display: flex; align-items: center; gap: 8px; }
    .rp-btn2 { display: inline-flex; align-items: center; gap: 7px; border-radius: 10px; border: 1px solid var(--rborder); background: var(--rsurface); padding: 8px 13px; font-size: 12.5px; font-weight: 600; color: var(--rtext); white-space: nowrap; }
    .rp-btn1 { display: inline-flex; align-items: center; gap: 7px; border-radius: 10px; background: var(--rprimary); padding: 8px 13px; font-size: 12.5px; font-weight: 600; color: #fff; white-space: nowrap; }
    .rp-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; }
    .rp-col { display: flex; flex-direction: column; border-radius: 14px; background: rgba(236,239,240,0.6); padding: 12px; min-height: 330px; }
    .rp-colhead { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; padding: 0 4px; flex-wrap: nowrap; white-space: nowrap; height: 22px; }
    .rp-coltitle { font-size: 13.5px; font-weight: 700; }
    .rp-count { margin-left: 8px; border-radius: 999px; background: #fff; padding: 1px 8px; font-size: 11.5px; font-weight: 700; color: var(--rmuted); }
    .rp-hint { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--rmuted); }
    .rp-cards { flex: 1; display: flex; flex-direction: column; gap: 10px; }
    .rp-card { border-radius: 14px; border: 1px solid var(--rborder); background: var(--rsurface); box-shadow: 0 1px 3px rgba(15,23,42,0.05); padding: 13px; }
    .rp-title { font-size: 13.5px; font-weight: 600; line-height: 1.4; }
    .rp-title.done { color: var(--rmuted); text-decoration: line-through; }
    .rp-chips { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
    .rp-chip { display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; padding: 2px 8px; font-size: 10px; font-weight: 700; }
    .rp-chip.ai { background: #f5f3ff; color: #6d28d9; }
    .rp-chip.human { background: #f3f4f6; color: #4b5563; }
    .rp-chip.project { background: var(--rprimary-soft); color: var(--rprimary); }
    .rp-chip.due { background: #f3f4f6; color: #4b5563; }
    .rp-chip.remind { background: #fffbeb; color: #b45309; }
    .rp-chip.runat { background: #f5f3ff; color: #6d28d9; }
    .rp-chip.aidone { background: #ecfdf5; color: #047857; }
    .rp-note-run { margin-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .rp-note-run .txt { font-size: 10.5px; font-weight: 500; color: #7c3aed; }
    .rp-stop { display: inline-flex; align-items: center; gap: 4px; border-radius: 8px; border: 1px solid var(--rborder); background: var(--rsurface); padding: 3px 8px; font-size: 9.5px; font-weight: 600; color: var(--rmuted); }
    .rp-note-sched { margin-top: 8px; font-size: 10.5px; font-weight: 500; color: #7c3aed; }
    .rp-spin { animation: osSpin 1s linear infinite; }
    @keyframes osSpin { to { transform: rotate(360deg); } }
    /* Reserved slots the traveling card occupies */
    .rp-slot { height: 112px; transition: height 0.5s ease; }
    .os2 .rp-c2 .rp-slot { height: 168px; }
    .os3 .rp-c3 .rp-slot { height: 182px; }
    /* Traveling hero card */
    #osCard { position: absolute; z-index: 5; left: 12px; top: 42px; width: calc((100% - 32px)/3 - 24px); margin: 0; opacity: 1; transition: transform 0.7s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.5s ease, border-color 0.4s, box-shadow 0.4s; }
    .os2 #osCard { transform: translateX(calc(100% + 40px)); border-color: #ddd6fe; box-shadow: 0 6px 16px rgba(109,40,217,0.15); }
    .os3 #osCard, .os4 #osCard { transform: translateX(calc(200% + 80px)); border-color: #a7f3d0; }
    .os-status { display: none; margin-top: 9px; border-top: 1px dashed var(--rborder); padding-top: 8px; }
    .os2 .os-status { display: block; }
    .os-sline { display: none; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 500; color: #7c3aed; }
    .os-sline.on { display: flex; }
    .os-bar { height: 3px; background: var(--rborder); border-radius: 2px; margin-top: 8px; overflow: hidden; }
    .os-bar i { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, #7c3aed, #06b6d4); transition: width 0.3s ease; }
    .os-file { display: none; margin-top: 9px; align-items: center; gap: 6px; flex-wrap: wrap; }
    .os3 .os-file { display: flex; }
    .rp-filechip { display: inline-flex; align-items: center; gap: 5px; background: #ecfdf5; color: #047857; border-radius: 8px; padding: 4px 9px; font-size: 10.5px; font-weight: 700; }
    /* Screen 2: chat + live tool use. Sidebar stays, main area slides left. */
    /* Apple-style carousel: active screen centered, the next one peeks faded at the viewport edge */
    .office-carousel { --osgap: 44px; position: relative; align-self: flex-start; margin-left: calc(50% - var(--osfw, 480px) / 2); width: max-content; display: flex; align-items: flex-start; gap: var(--osgap); transition: transform 0.9s cubic-bezier(0.25, 0.8, 0.3, 1); }
    .office-frame { transition: opacity 0.6s ease; }
    #officeStage2, #officeStage3 { opacity: 0.45; }
    .os4c #officeStage3 { opacity: 1; }
    .os4c #officeStage { opacity: 0.45; }
    .os4 .of-toast { opacity: 0; transform: translateY(12px); }
    .of-design-chat { height: 640px; }
    .rp-chatmain { flex: 1; min-width: 0; display: flex; flex-direction: column; }
    /* Faded carousel arrows */
    .os-arrows { position: absolute; left: 26px; bottom: 18px; display: flex; gap: 10px; z-index: 8; }
    .os-arrow { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.55); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; line-height: 1; transition: all 0.25s ease; user-select: none; }
    .os-arrow:hover { background: rgba(255,255,255,0.16); color: #fff; }
    .os-arrow.off { opacity: 0.25; pointer-events: none; }
    .ch-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--rborder); background: var(--rsurface); padding: 13px 22px; }
    .ch-agent { display: flex; align-items: center; gap: 12px; min-width: 0; }
    .ch-avatar { width: 42px; height: 42px; border-radius: 14px; background: var(--rprimary-soft); color: var(--rprimary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .ch-agent h4 { font-size: 14.5px; font-weight: 700; margin: 0; color: var(--rtext); }
    .ch-agent p { font-size: 11.5px; color: var(--rmuted); margin: 2px 0 0; max-width: 430px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .ch-actions { display: flex; gap: 8px; }
    .ch-body { flex: 1; padding: 16px 26px; display: flex; flex-direction: column; gap: 13px; overflow: hidden; }
    .ch-user { align-self: flex-end; max-width: 78%; background: var(--rprimary); color: #fff; border-radius: 14px; border-bottom-right-radius: 5px; padding: 10px 14px; font-size: 12.5px; line-height: 1.55; }
    .ch-tools { border-radius: 14px; border: 1px solid var(--rborder); background: var(--rsurface); overflow: hidden; max-width: 88%; box-shadow: 0 1px 3px rgba(15,23,42,0.05); }
    .tl-head { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--rborder); background: #eef0f3; padding: 9px 14px; font-size: 12.5px; font-weight: 700; color: var(--rtext); }
    .tl-head .ic-wrap { width: 26px; height: 26px; border-radius: 9px; background: var(--rprimary-soft); color: var(--rprimary); display: flex; align-items: center; justify-content: center; }
    .tl-row { display: none; align-items: center; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--rborder); }
    .tl-row.on { display: flex; }
    .tl-row.on:first-of-type { border-top: none; }
    .tl-ico { width: 22px; height: 22px; border-radius: 999px; background: var(--rprimary-soft); color: var(--rprimary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .tl-label { flex: 1; min-width: 0; font-size: 12px; font-weight: 500; color: var(--rtext); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .tl-label b { font-weight: 600; color: var(--rtext); }
    .tl-label .args { margin-left: 7px; font-size: 10.5px; font-weight: 500; color: var(--rmuted); }
    .tl-ok { color: #059669; flex-shrink: 0; }
    .ch-working { display: flex; align-items: center; gap: 8px; color: var(--rmuted); font-size: 11.5px; padding-left: 2px; }
    .ch-working .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rmuted); display: inline-block; animation: chDot 1.2s infinite; }
    .ch-working .dot:nth-child(2) { animation-delay: 0.2s; }
    .ch-working .dot:nth-child(3) { animation-delay: 0.4s; }
    @keyframes chDot { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
    .os-final { display: flex; gap: 10px; max-width: 88%; opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s ease; }
    .os-final.on { opacity: 1; transform: none; }
    .of-ai-avatar { width: 30px; height: 30px; border-radius: 10px; background: var(--rprimary-soft); color: var(--rprimary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
    .of-ai-bubble { background: var(--rsurface); border: 1px solid var(--rborder); border-radius: 14px; border-top-left-radius: 5px; padding: 10px 14px; font-size: 12.5px; line-height: 1.6; color: var(--rtext); }
    .ch-composer { border-top: 1px solid var(--rborder); background: var(--rsurface); padding: 12px 22px; }
    .ch-input { display: flex; align-items: center; gap: 10px; border: 1px solid var(--rborder); border-radius: 12px; padding: 9px 12px; font-size: 12px; color: var(--rmuted); background: var(--rbg); }
    .ch-hint { margin-top: 7px; text-align: center; font-size: 10px; color: var(--rmuted); }
    /* Screen 3: Atlas Launch project detail */
    /* list view + list->detail transition */
    .pj-stack { position: relative; height: 100%; }
    .pj-list { transition: opacity 0.45s ease, transform 0.45s ease; }
    .pj-detail { position: absolute; inset: 0; opacity: 0; transform: scale(0.985); pointer-events: none; transition: opacity 0.45s ease, transform 0.45s ease; }
    .pjopen .pj-list { opacity: 0; transform: scale(1.015); }
    .pjopen .pj-detail { opacity: 1; transform: none; }
    .pj-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
    .pj-head h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--rtext); }
    .pj-head h3 .ic { color: var(--rprimary); }
    .pj-sub { margin-top: 4px; font-size: 12.5px; color: var(--rmuted); }
    .pj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .pj-card { display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--rborder); background: var(--rsurface); box-shadow: 0 1px 3px rgba(15,23,42,0.05); padding: 18px; transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease; }
    .pjhl .pj-atlas { border-color: var(--rprimary); box-shadow: 0 8px 24px rgba(15,23,42,0.14); transform: translateY(-3px); }
    .pj-top { display: flex; align-items: flex-start; justify-content: space-between; }
    .pj-ico { width: 42px; height: 42px; border-radius: 13px; background: var(--rprimary-soft); color: var(--rprimary); display: flex; align-items: center; justify-content: center; }
    .pj-pill { display: inline-flex; border-radius: 999px; padding: 3px 9px; font-size: 10.5px; font-weight: 600; }
    .pj-pill.green { background: #ecfdf5; color: #047857; }
    .pj-pill.blue { background: #eff6ff; color: #1d4ed8; }
    .pj-card h4 { margin: 12px 0 0; font-size: 14.5px; font-weight: 700; color: var(--rtext); }
    .pj-client { margin-top: 2px; font-size: 10.5px; font-weight: 600; color: var(--rprimary); min-height: 14px; }
    .pj-card p { margin: 5px 0 0; flex: 1; font-size: 11.5px; line-height: 1.55; color: var(--rmuted); }
    .pj-foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; }
    .pj-mem { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--rmuted); }
    .pj-open { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--rprimary); }
    .pj-note { margin-top: 16px; border: 1px dashed var(--rborder); border-radius: 12px; padding: 12px 16px; font-size: 11.5px; color: var(--rmuted); }
    .pj-main { flex: 1; min-width: 0; padding: 22px 26px; background: var(--rbg); overflow: hidden; }
    .pjd-hero { border-radius: 14px; overflow: hidden; border: 1px solid var(--rborder); background: var(--rsurface); margin-bottom: 14px; }
    .pjd-hero-top { padding: 16px 20px; background: linear-gradient(135deg, #111827, #374151); color: #fff; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
    .pjd-htag { display: inline-flex; align-items: center; gap: 8px; }
    .pjd-pill { border-radius: 999px; background: rgba(255,255,255,0.15); padding: 2px 10px; font-size: 10.5px; font-weight: 600; }
    .pjd-hero h4 { margin: 6px 0 0; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
    .pjd-client { margin-top: 2px; font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.78); }
    .pjd-desc { margin-top: 6px; font-size: 11.5px; line-height: 1.55; color: rgba(255,255,255,0.78); max-width: 430px; }
    .pjd-btn { display: inline-flex; align-items: center; gap: 7px; border-radius: 10px; background: #fff; color: var(--rprimary); padding: 8px 13px; font-size: 11.5px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
    .pjd-hint { padding: 9px 20px; font-size: 10.5px; color: var(--rmuted); }
    .pjd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
    .pjd-sech { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
    .pjd-sech h5 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--rmuted); }
    .pjd-mini { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--rborder); background: var(--rsurface); border-radius: 8px; padding: 4px 10px; font-size: 10px; font-weight: 600; color: var(--rtext); }
    .pjd-note { border-radius: 12px; border: 1px solid var(--rborder); background: var(--rsurface); padding: 12px 14px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(15,23,42,0.05); }
    .pjd-note b { font-size: 12px; font-weight: 700; color: var(--rtext); }
    .pjd-note p { margin: 5px 0 0; font-size: 11px; line-height: 1.55; color: var(--rmuted); }
    .pjd-rows { border-radius: 12px; border: 1px solid var(--rborder); background: var(--rsurface); box-shadow: 0 1px 3px rgba(15,23,42,0.05); overflow: hidden; }
    .pjd-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 14px; }
    .pjd-row + .pjd-row { border-top: 1px solid var(--rborder); }
    .pjd-fname { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 500; color: var(--rtext); min-width: 0; }
    .pjd-fname .ic { color: var(--rmuted); }
    .pjd-ready { border-radius: 999px; padding: 2px 8px; font-size: 9.5px; font-weight: 700; background: #ecfdf5; color: #047857; }
    .pjd-proc { border-radius: 999px; padding: 2px 8px; font-size: 9.5px; font-weight: 700; background: #fffbeb; color: #b45309; }
    .pjd-member { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 14px; }
    .pjd-member + .pjd-member { border-top: 1px solid var(--rborder); }
    .pjd-mname { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; color: var(--rtext); }
    .pjd-mname .ic { color: var(--rmuted); }
    .pjd-mrole { font-size: 10px; font-weight: 500; color: var(--rmuted); }
    .pjd-teamcap { margin-top: 8px; font-size: 9.5px; line-height: 1.5; color: var(--rmuted); }
    /* user adds a note (end of scene) */
    .pj-newnote { max-height: 0; opacity: 0; overflow: hidden; margin-bottom: 0; padding-top: 0; padding-bottom: 0; transform: translateY(6px); border-color: transparent; transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease, margin 0.5s ease, padding 0.5s ease, border-color 0.5s ease; }
    .pjnote .pj-nn1, .pjnote2 .pj-nn2 { max-height: 120px; opacity: 1; transform: none; margin-bottom: 10px; padding: 12px 14px; border-color: #c7cdff; box-shadow: 0 4px 14px rgba(99,102,241,0.12); }
    .os5c #officeStage2 { opacity: 1; }
    .os5c #officeStage, .os5c #officeStage3 { opacity: 0.45; }
    .of-toast { position: absolute; right: 16px; bottom: 14px; background: #0f172a; color: #fff; font-size: 11.5px; font-weight: 600; padding: 10px 14px; border-radius: 10px; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; z-index: 6; box-shadow: 0 8px 28px rgba(0,0,0,0.45); }
    .os3 .of-toast { opacity: 1; transform: none; }
    .of-toast .tick { width: 16px; height: 16px; border-radius: 50%; background: #10b981; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; flex-shrink: 0; }
    .office-cta { opacity: 1; transition: opacity 0.5s ease; text-align: center; }
    @media (max-height: 800px) {
      #office-track.os-pinned .office-wrap { gap: 18px; padding-top: 78px; }
      .office-head h2 { font-size: clamp(24px, 3vw, 34px); margin: 12px 0 8px; }
    }
    @container hp-preview (max-width: 719px) {
      .office-caps { font-size: 14.5px; height: 2.8em; }
      .office-carousel { --osgap: 24px; }
      .os-arrow { width: 34px; height: 34px; font-size: 15px; }
      .of-toast { font-size: 10px; padding: 8px 10px; right: 8px; bottom: 8px; }
    }
