.orbit-page { position: relative; }
.office-launcher { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
.office-tab { position: absolute; top: 24px; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px; border: 1px solid #e3d4c5; border-left: 0; border-radius: 0 15px 15px 0; background: #fffaf5; color: #8b3432; box-shadow: 5px 0 18px -10px #73462755; cursor: pointer; pointer-events: auto; transition: opacity .18s, background .18s; }
.office-tab span { writing-mode: vertical-rl; letter-spacing: .2em; font-weight: 700; }
.office-tab svg, .office-pin svg { width: 18px; height: 18px; }
.office-tab:hover, .office-pin:hover { background: #f5e9df; }
.office-panel { position: absolute; left: 12px; top: 12px; bottom: 12px; width: 168px; max-width: calc(100% - 24px); display: flex; flex-direction: column; padding: 12px; border: 1px solid #e5d8cb; border-radius: 20px; background: #fffcf8fa; box-shadow: 12px 0 38px -18px #704a3359; visibility: hidden; opacity: 0; transform: translateX(calc(-100% - 24px)); transition: transform .24s ease, opacity .2s ease, visibility .24s; pointer-events: none; }
.office-launcher.is-open .office-panel { visibility: visible; opacity: 1; transform: translateX(0); pointer-events: auto; }
.office-launcher.is-open .office-tab { opacity: 0; visibility: hidden; pointer-events: none; }
.office-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 6px 8px; flex-shrink: 0; }
.office-panel h2 { min-width: 0; margin: 0; color: #852f31; font-size: 14px; line-height: 1.4; }
.office-pin { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: #f8f0e8; color: #915345; cursor: pointer; }
.office-pin svg { transform: rotate(35deg); transition: transform .18s; }
.office-pin[aria-pressed="true"] { background: #852f31; color: #fffaf5; }
.office-pin[aria-pressed="true"] svg { transform: rotate(0); }
.office-links { display: flex; flex-direction: column; flex: 1; gap: 3px; overflow: hidden; min-width: 0; min-height: 0; padding: 3px; }
.office-link { display: flex; flex: 1 1 0; min-height: 0; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 2px 6px; border-radius: 13px; color: #554438; transition: background .18s; touch-action: none; user-select: none; -webkit-user-drag: none; }
.office-link-primary { flex-grow: 1.5; }
.office-link:hover { background: #f6e9dc; }
.office-links.sorting .office-link.sort-picked > * { opacity: .3; }
.office-link.sort-holding { background: #f6e9dc; }
.office-link.sort-picked { outline: 1px dashed #852f31; outline-offset: -1px; }
.office-link.sort-ghost { position: fixed; z-index: 220; margin: 0; pointer-events: none; background: #fffaf5; color: #852f31; outline: 1px solid #d7aaa0; box-shadow: 0 12px 28px -14px #704a3359; transition: none; }
.office-link img { width: 72px; height: 72px; min-height: 0; object-fit: contain; flex-shrink: 1; }
.office-link-primary img { width: 112px; height: 112px; max-width: 100%; }
.office-link span { flex-shrink: 0; font-size: 12px; font-weight: 600; line-height: 1.35; white-space: nowrap; }
#officePanel { width: 188px; padding-inline: 10px; }
#officePanel .office-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, max-content); grid-auto-rows: minmax(0, max-content); align-content: space-between; column-gap: 4px; }
#officePanel .office-link { min-width: 0; padding-inline: 2px; }
#officePanel .office-link:not(.office-link-primary) img { width: 64px; height: 64px; max-width: 100%; }
#officePanel .office-link-primary { grid-column: 1 / -1; }
.office-launcher-right .office-tab { left: auto; right: 0; border-left: 1px solid #e3d4c5; border-right: 0; border-radius: 15px 0 0 15px; box-shadow: -5px 0 18px -10px #73462755; }
.office-launcher-right .office-panel { left: auto; right: 12px; transform: translateX(calc(100% + 24px)); box-shadow: -12px 0 38px -18px #704a3359; }
.office-launcher-right .office-link { flex: 0 1 120px; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .office-panel, .office-tab, .office-pin svg { transition: none; } }
