/* Office intranet: paper, rubber stamps, and absolutely no overtime. */
:root {
    --office-ink: #263b31;
    --office-muted: #657367;
    --office-paper: #fffdf4;
    --office-desk: #dde7dd;
    --office-line: #d5dcd0;
    --office-orange: #ff7049;
    --office-yellow: #f5d76e;
    --office-green: #366348;
    --office-blue: #dce9f6;
    --background: #dde7dd;
    --color: #263b31;
    --points: #263b31;
}
*, *::before, *::after {box-sizing: border-box;}
* {margin: 0; text-align: inherit; font-family: inherit; font-weight: inherit; transition-duration: 0s; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;}
html, body {height: auto; min-height: 100%;}
html {scroll-behavior: smooth; background: var(--office-desk);}
body {overflow: auto; margin: 0; color: var(--office-ink); background: var(--office-desk) !important; font: 14px/1.65 'PingFang SC','Microsoft YaHei',system-ui,sans-serif; -webkit-font-smoothing: antialiased;}
#app {min-height: 100vh; column-count: auto; column-width: auto; color: var(--office-ink);}
[v-cloak] {display: none;}
h1, h2, h3, h4 {display: block; font-family: inherit; font-weight: 750; line-height: 1.4;}
b, strong {font-family: inherit; font-weight: 750;}
button, input, select {font: inherit; color: inherit;}
button {cursor: pointer; border: 0; background: transparent; touch-action: manipulation;}
button:disabled {cursor: default;}
a {color: inherit; text-underline-offset: 3px;}
button, a, summary { -webkit-tap-highlight-color: transparent;}
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible {outline: 3px solid #2a6482; outline-offset: 4px;}
button:not(:disabled):active {translate: 0 1px;}
.can:hover {transform: none; box-shadow: none;}
.skip-link {position: fixed; z-index: 1000; top: -100px; left: 16px; padding: 10px 18px; background: var(--office-yellow); border: 2px solid var(--office-ink);}
.skip-link:focus {top: 12px;}
.office-layout {display: grid; grid-template-columns: 230px minmax(0,1fr); min-height: 100vh; max-width: 1920px; margin: 0 auto;}
.office-sidebar {position: sticky; top: 0; height: 100vh; overflow-y: auto; scrollbar-width: thin; display: flex; flex-direction: column; padding: 28px 18px 20px; background: #f5f5e9; border-right: 1px solid #c4d0c3;}
.office-brand {display: flex; gap: 10px; align-items: center; text-decoration: none; padding: 0 6px;}
.brand-square {display: grid; place-items: center; flex: 0 0 43px; height: 45px; border: 2px solid var(--office-ink); border-radius: 7px 7px 13px 7px; background: var(--office-yellow); font-size: 28px; font-weight: 900; box-shadow: 3px 3px 0 var(--office-ink); transform: rotate(-5deg);}
.office-brand strong {display: block; font-size: 23px; letter-spacing: -1px; line-height: 1.4; white-space: nowrap;}
.brand-dot {font-size: 10px; display: inline-block; vertical-align: top; margin-left: 4px; padding-top: 3px; letter-spacing: 0;}
.office-brand small {display: block; font-size: 10px; letter-spacing: 2px; color: var(--office-muted);}
.employee-card {display: flex; align-items: center; flex-wrap: wrap; gap: 7px; padding: 12px 0 17px; margin: 20px 6px 10px; border-top: 1px dashed #b8c6b8; border-bottom: 1px dashed #b8c6b8; font-size: 10px; color: var(--office-muted);}
.online-dot {width: 6px; height: 6px; border-radius: 50%; background: #59815a;}
.employee-id {width: 100%; padding-left: 13px; font: 10px/1.3 ui-monospace,monospace; letter-spacing: 2px;}
.office-routes {display: grid; gap: 17px; padding-top: 5px;}
.route-group h2 {font-size: 10px; font-weight: 650; letter-spacing: 2px; color: #788373; padding: 0 10px 6px;}
.route-group h2 span {font: 10px ui-monospace,monospace; letter-spacing: 0; margin-right: 5px;}
.route-link {display: flex; align-items: center; gap: 9px; width: 100%; border: 1px solid transparent; border-radius: 5px; padding: 8px 9px; text-align: left; margin-top: 2px; min-height: 49px;}
.route-link:not(:disabled):hover {background: #e8ecdf;}
.route-link.active {background: #dce8d6; border-color: #b7c9b2;}
.route-symbol {display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 4px; border: 1px solid #c5cebf; font-size: 14px; font-weight: 750; background: #fafbf4;}
.route-link.active .route-symbol {background: var(--office-ink); border-color: var(--office-ink); color: var(--office-paper);}
.route-copy {flex: 1; min-width: 0;}
.route-copy strong {display: block; font-size: 12px;}
.route-copy small {display: block; color: var(--office-muted); font-size: 9px; line-height: 1.6; overflow-wrap: anywhere;}
.route-arrow {font-size: 13px; color: #657761;}
.route-link.is-locked {color: #798374;}
.is-locked .route-symbol {background: transparent; border-style: dashed; color: #8b9384;}
.side-routes {display: grid; gap: 1px; border-top: 1px dashed #bcc8b7; margin-top: 19px; padding-top: 12px;}
.side-routes button {display: flex; justify-content: space-between; gap: 8px; text-align: left; padding: 9px 11px; font-size: 11px; border-radius: 4px;}
.side-routes button:hover, .side-routes button.active {background: #e1e8d9;}
.sidebar-footer {margin-top: auto; padding: 23px 11px 0; color: #76816e; font-size: 9px;}
.sidebar-footer > span, .sidebar-footer > button {display: block;}
.sidebar-footer > button {margin-top: 3px; font: 10px/1.6 ui-monospace,monospace;}
.office-desk {min-width: 0;}
.office-toolbar {min-height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 12px 36px; border-bottom: 1px solid #c3d0c3; gap: 12px;}
.breadcrumb {display: flex; gap: 12px; align-items: center; font-size: 11px; color: var(--office-muted);}
.breadcrumb strong {color: var(--office-ink); font-weight: 650;}
.toolbar-actions {display: flex; align-items: center; gap: 5px;}
.toolbar-actions button {padding: 5px 11px; border: 1px solid #bccbbb; border-radius: 3px; font-size: 11px; background: #e9eee4;}
.toolbar-actions button:hover, .toolbar-actions button.active {background: var(--office-paper); border-color: #859c82;}
.save-message {font-size: 10px; color: var(--office-green);}
#office-main {padding: 32px 36px 24px; max-width: 1510px; margin: auto;}
.office-hero {display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px;}
.eyebrow {font-size: 10px; font-weight: 650; letter-spacing: 1.7px; display: block; color: var(--office-muted);}
.issue-number {margin-left: 15px; font: 10px/1.6 ui-monospace,monospace; letter-spacing: 1px;}
.hero-copy {min-width: 0;}
.office-hero h1 {font-size: clamp(26px,2.9vw,46px); font-weight: 900; letter-spacing: -1.8px; line-height: 1.3; margin: 12px 0 11px; text-wrap: balance;}
.office-hero p {max-width: 640px; font-size: 11px; line-height: 1.9; color: #5c705f;}
.hero-tags {display: flex; gap: 19px; margin-top: 14px; font-size: 10px; color: #677663; flex-wrap: wrap;}
.office-stamp {flex: 0 0 164px; padding: 13px 9px 10px; border: 3px double #ad4e37; color: #a64a34; text-align: center; transform: rotate(8deg); margin: 0 8px 0 0; opacity: .9;}
.office-stamp > span {display: block; font-size: 14px; font-weight: 750; letter-spacing: 5px; margin-bottom: 3px;}
.office-stamp strong {display: block; font-size: 22px; font-weight: 900; letter-spacing: 2px; border-top: 1px solid #ad4e37; border-bottom: 1px solid #ad4e37; padding: 3px 0;}
.office-stamp small {display: block; margin-top: 4px; font-size: 7px; letter-spacing: 1px;}
.workload-strip {display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 18px; margin-bottom: 20px; border: 1px solid #b8c8b6; border-left: 4px solid var(--office-green); background: #eaf0e3;}
.workload-strip > div {display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; min-width: 0;}
.workload-label {font-size: 11px; color: #536c51;}
.workload-strip strong {font: 750 24px/1.2 ui-monospace,monospace; letter-spacing: -1px; overflow-wrap: anywhere;}
.workload-rate {font: 10px/1.5 ui-monospace,monospace; padding: 3px 6px; border-radius: 3px; background: #dce8d1; color: #3e683f;}
.workload-strip > p {font-size: 10px; color: #72806a; flex-shrink: 0;}
.office-content-grid {display: grid; grid-template-columns: minmax(0,1fr) 248px; gap: 22px; align-items: start;}
.office-primary, .office-bulletin {min-width: 0;}
.office-bulletin {display: grid; gap: 17px;}
.office-paper, .workflow-panel {background: var(--office-paper); border: 1px solid #c7d0bf; border-radius: 5px; box-shadow: 0 3px 0 #c9d4c6;}
.workflow-heading {display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--office-line);}
.workflow-heading h2 {font-size: 16px; letter-spacing: .5px;}
.paper-label {font-size: 9px; color: var(--office-muted); background: #ecefe4; padding: 2px 7px; border-radius: 2px;}
.workflow-action {display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,1fr); gap: 20px; padding: 24px 22px;}
.resource-summary > span {font-size: 11px; color: #75806b;}
.resource-number {font: 800 clamp(25px,2.7vw,38px)/1.3 ui-monospace,monospace; margin: 6px 0 8px; letter-spacing: -1.5px; overflow-wrap: anywhere;}
.resource-number small {font-size: 13px; color: #75806b; letter-spacing: 0;}
.resource-summary p {font-size: 10px; color: #78806c; line-height: 1.8;}
.resource-summary p small {font: inherit;}
.resource-effect {font-size: 10px; color: var(--office-green); margin: 5px 0;}
.prestige-action {align-self: center;}
.office-prestige {display: block; width: 100%; min-height: 83px; padding: 13px 12px; border: 1px solid #b5b8a5; border-bottom-width: 3px; border-radius: 4px; background: #e9e9db; color: #747767; text-align: center; font-size: 13px; font-weight: 750; line-height: 1.8; overflow-wrap: anywhere;}
.office-prestige b {font-size: 19px;}
.office-prestige small {font-size: 9px; font-weight: 500;}
.office-prestige.ready {background: var(--office-orange); color: #382e21; border-color: #c85b3d; border-bottom-color: #9d422f;}
.office-prestige.ready:hover {background: #ff835f;}
.prestige-action > p {font-size: 9px; color: #868572; margin-top: 8px; text-align: center;}
.workflow-tabs {display: flex; gap: 3px; padding: 0 21px; border-bottom: 1px solid #d8ddce; background: #f6f6eb; overflow-x: auto;}
.workflow-tabs button {padding: 12px 14px 10px; font-size: 11px; color: #7b806b; border-bottom: 3px solid transparent; white-space: nowrap;}
.workflow-tabs button:hover {color: var(--office-ink); background: #ecefe0;}
.workflow-tabs button.selected {color: var(--office-ink); border-bottom-color: var(--office-orange); font-weight: 750;}
.workflow-content {padding: 20px 22px 25px; min-height: 200px;}
.workflow-content .upgTable, .side-content .upgTable {width: 100%; max-width: none; align-items: stretch; margin: 0;}
.workflow-content .upgCol, .side-content .upgCol {display: flex; flex-direction: column; gap: 14px; width: 100%; align-items: stretch;}
.workflow-content .upgCol > div, .side-content .upgCol > div {width: 100%; min-width: 0;}
.workflow-content .instant, .side-content .instant {line-height: 1.8; font-size: 12px;}
.office-upgrade-grid {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px;}
.office-upgrade {display: flex; flex-direction: column; position: relative; text-align: left; min-width: 0; min-height: 174px; padding: 13px 14px 0; background: #f2f1e6; border: 1px solid #dddfd1; border-radius: 4px; color: #717665; overflow: hidden;}
.upgrade-state {font-size: 8px; letter-spacing: .5px; margin-bottom: 6px; color: #868979;}
.office-upgrade > strong {display: block; font-size: 13px; font-weight: 750; margin-bottom: 7px; line-height: 1.5;}
.upgrade-description {font-size: 10px; line-height: 1.85; margin-bottom: 9px;}
.upgrade-effect {font-size: 9px; color: #657b61; margin-bottom: 9px;}
.upgrade-cost {font-size: 9px; line-height: 1.6; margin: auto -14px 0; padding: 8px 14px; border-top: 1px dashed #d5d8c6; display: block;}
.office-upgrade.available {background: #fffdf3; border-color: #a0b18c; color: var(--office-ink);}
.office-upgrade.available .upgrade-state {color: #63814b;}
.office-upgrade.available:hover {background: #f7f8df; border-color: #527546; box-shadow: 0 2px 0 #c5d1b9;}
.office-upgrade.owned {background: #edf2e5; border-color: #bdcbb3; color: #5a7054;}
.office-upgrade.owned .upgrade-state {color: #4e7643;}
.office-empty {font-size: 12px; padding: 18px 0; color: var(--office-muted); grid-column: 1 / -1;}
.office-milestones {display: grid; gap: 10px;}
.office-milestone {display: flex; gap: 13px; padding: 16px; background: #f1f1e8; border: 1px dashed #d0d5c6; border-radius: 3px; color: #7d816e;}
.milestone-check {font-size: 21px; color: #a4aa94; line-height: 1.3;}
.office-milestone h3 {font-size: 12px; margin: 0 0 5px;}
.office-milestone p {font-size: 11px; line-height: 1.8;}
.office-milestone.done {background: #ecf2e4; border-style: solid; border-color: #bdcfaf; color: #435f3b;}
.done .milestone-check {color: #4b7b42;}
.milestone-status {font-size: 9px; display: inline-block; margin-top: 8px; padding: 2px 7px; border: 1px solid #b9cbaa; border-radius: 2px;}
.office-milestone .smallUpg {margin: 7px 0 0 9px; padding: 5px 10px; min-width: 48px; min-height: 34px; width: auto; height: auto; border: 1px solid #9db58d; border-radius: 3px; background: #dce8d0 !important; font-size: 11px;}
.office-challenges {display: grid; gap: 16px;}
.office-challenge {padding: 20px; border: 1px solid #d8ccaa; background: #fcf5df; border-radius: 4px;}
.office-challenge.active {border: 2px solid #bc603e; background: #fff1dc;}
.challenge-tag {font-size: 9px; letter-spacing: 1px; color: #946e37;}
.office-challenge h3 {font-size: 19px; margin: 9px 0 12px;}
.office-challenge p, .office-challenge dd {font-size: 12px; line-height: 1.9;}
.office-challenge dl {padding: 14px 0; display: grid; grid-template-columns: 75px minmax(0,1fr); gap: 8px 12px;}
.office-challenge dt {font-size: 10px; font-weight: 750; padding-top: 3px; color: #91734b;}
.office-buyables {display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px;}
.office-buyables .buyable {height: auto; min-height: 190px; width: 100%; max-width: none; padding: 16px; border: 1px solid #d4d5bd !important; border-bottom-width: 3px !important; border-radius: 4px; font-size: 11px; line-height: 1.8; text-align: left; background: #eff1de !important; color: var(--office-ink);}
.office-buyables .buyable.locked {background: #efeee4 !important; color: #777a68;}
.office-buyables .buyable.can:hover {background: #e4edcf !important; border-color: #8fa675 !important;}
.office-buyables h2 {font-size: 16px;}
.office-buyables .tooltip {max-width: 240px;}
.office-button, .office-save-tools button {display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; min-height: 38px; border: 1px solid #bac7ad; border-bottom-width: 2px; border-radius: 3px; background: #f8faee; color: var(--office-ink); font-size: 11px; line-height: 1.5; text-align: center;}
.office-button:hover, .office-save-tools button:hover {background: #e9efdc;}
.office-button.primary {background: var(--office-ink); color: var(--office-paper); border-color: #1b3024;}
.office-button.primary:hover {background: #385743;}
.office-button.danger {color: #a03e30; border-color: #d8a396; background: #fff4ee;}
.button-row {display: flex; align-items: center; gap: 9px; flex-wrap: wrap;}
.note-heading {display: flex; align-items: center; justify-content: space-between; gap: 8px;}
.note-heading h2 {font-size: 12px; font-weight: 750; letter-spacing: .5px;}
.note-heading > span {font: 10px/1.6 ui-monospace,monospace;}
.attention-note {padding: 18px; background: #f7dfa0; border: 1px solid #d5bd7d; border-radius: 3px; transform: rotate(.6deg); box-shadow: 2px 3px 0 #ccd1b6;}
.status-lozenge {font: 8px/1.5 'PingFang SC',sans-serif !important; border: 1px solid #bca562; border-radius: 20px; padding: 3px 7px;}
.attention-number {font: 800 42px/1.4 ui-monospace,monospace; letter-spacing: -2px; margin: 8px 0;}
.attention-number > span {font-size: 17px; margin-left: 5px;}
.attention-meter {height: 8px; background: #dec889; border: 1px solid #c8b271; overflow: hidden; margin-bottom: 13px;}
.attention-meter > span {height: 100%; display: block; background: #4b6240; transition: width .25s linear;}
.attention-note p {font-size: 10px; line-height: 1.9; color: #6f6139;}
.attention-note small {display: block; font-size: 8px; color: #7f724b; margin-top: 9px; padding-top: 9px; border-top: 1px dashed #cbb579;}
.attention-note.is-danger {background: #ffd7ba; border-color: #d49872;}
.attention-note.is-danger .attention-meter > span {background: #b34830;}
.unlock-note {padding: 18px; background: #edf1e7; border: 1px solid #becdb5; border-radius: 4px;}
.unlock-note .eyebrow {font-size: 8px; letter-spacing: 1px;}
.unlock-note h2 {font-size: 20px; margin: 9px 0;}
.unlock-note p {font-size: 10px; color: #6c7c62; line-height: 1.9;}
.unlock-note .office-button {margin-top: 12px;}
.route-progress {display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; margin: 16px 0 9px;}
.route-progress > span {display: grid; place-items: center; height: 25px; font-size: 10px; border: 1px dashed #bfccb3; color: #8d9782; border-radius: 2px;}
.route-progress > span.done {background: #4f7149; color: #f7f7e9; border-style: solid; border-color: #4f7149;}
.unlock-note > small {font-size: 9px; color: #738269;}
.automation-note {padding: 18px; border: 1px solid #bbc9cf; border-radius: 4px; background: var(--office-blue);}
.automation-note > p {font-size: 9px; color: #6f8290; margin: 8px 0 15px;}
.automation-note ol {list-style: none; display: grid; gap: 16px;}
.automation-note li {display: flex; align-items: flex-start; gap: 10px; color: #778996;}
.automation-check {font-size: 16px; line-height: 1.5;}
.automation-note strong {font-size: 11px; display: block;}
.automation-note small {font-size: 8px; display: block; margin-top: 3px; line-height: 1.7;}
.automation-note li.done {color: #3d644a;}
.tiny-memo {padding: 4px 13px; border-left: 2px solid #9cad92; margin: 4px 0 0 5px; color: #74856a;}
.tiny-memo strong {font-size: 9px; letter-spacing: 1px;}
.tiny-memo p {font-size: 11px; margin-top: 6px; line-height: 1.9;}
.desk-footer {display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 17px 1px 0; color: #78896e; font-size: 8px;}
.desk-footer > button {white-space: nowrap; text-decoration: underline; text-underline-offset: 3px;}
.office-paper {padding: 25px;}
.section-intro {border-bottom: 1px dashed #ced4c4; padding-bottom: 21px; margin-bottom: 22px;}
.section-intro h2 {font-size: 21px; margin: 11px 0;}
.section-intro p {font-size: 11px; color: var(--office-muted); line-height: 1.9;}
.office-achievement-grid {display: grid; gap: 10px;}
.office-achievement {display: flex; gap: 13px; padding: 14px; background: #f2f1e7; border: 1px dashed #d6d8c9; border-radius: 4px; color: #79806c;}
.achievement-seal {display: grid; place-items: center; flex: 0 0 35px; height: 35px; border: 1px dashed #c0c8af; border-radius: 50%; font-size: 20px; margin-top: 4px;}
.achievement-status {font-size: 8px; letter-spacing: 1px;}
.office-achievement h3 {font-size: 13px; margin: 3px 0 6px;}
.office-achievement p {font-size: 10px; line-height: 1.8;}
.office-achievement.earned {background: #f5efd4; border: 1px solid #d4c790; color: #71612d;}
.earned .achievement-seal {background: #f4da74; border: 3px double #af923d; color: #7e6825; transform: rotate(-9deg);}
.setting-row {display: flex; gap: 15px; align-items: center; justify-content: space-between; padding: 17px 0; border-bottom: 1px solid #e0e2d3;}
.setting-row h3 {font-size: 13px; margin-bottom: 5px;}
.setting-row p {font-size: 10px; color: #7f8571;}
.setting-switch {flex: 0 0 60px; min-height: 34px; border: 1px solid #c9cebd; padding: 5px 9px; text-align: center; border-radius: 18px; color: #7e836d; background: #e8eadd; font-size: 10px;}
.setting-switch.on {color: #fffdf4; background: #486744; border-color: #486744;}
.save-desk {padding: 22px 0;}
.save-desk h3 {font-size: 13px; margin-bottom: 14px;}
.save-desk p, .reset-desk p {font-size: 10px; color: #7c826d; margin-top: 12px; line-height: 1.9;}
.reset-desk {border-top: 1px dashed #d5c3b4; padding-top: 17px; color: #9c6550;}
.reset-desk summary {font-size: 11px; cursor: pointer;}
.reset-desk .office-button {margin-top: 14px;}
.handbook-steps {padding-left: 25px; display: grid; gap: 25px;}
.handbook-steps li {padding-left: 7px;}
.handbook-steps li::marker {font: 750 18px ui-monospace,monospace; color: #a1b491;}
.handbook-steps h3 {font-size: 14px; margin-bottom: 7px;}
.handbook-steps p {font-size: 11px; line-height: 1.9; color: var(--office-muted);}
.handbook-note {margin-top: 26px; padding: 16px; background: #f4efd9; border-left: 3px solid #c8ac55;}
.handbook-note h3 {font-size: 12px; margin-bottom: 7px;}
.handbook-note p {font-size: 10px; line-height: 2; color: #7a7556;}
.credits {font-size: 9px; line-height: 2; margin-top: 25px; border-top: 1px dashed #d3d7c7; padding-top: 18px; color: #7e876e;}
.credits p + p {margin-top: 6px;}
.changelog-page h1 {font-size: 24px;}
.changelog-page h3 {font-size: 15px;}
.changelog-page {font-size: 12px; line-height: 2;}
.side-content > div {width: 100% !important; max-width: 100%;}
.side-content h2 {font-size: 22px;}
.side-content .h-line {width: 100% !important; max-width: 100%; border-color: #d6dbcd; margin: 9px 0;}
.office-story {padding: 17px 18px; border: 1px solid #d7d9c7; border-left: 4px solid #d4b54e; background: #faf7e9;}
.office-story h4 {font-size: 15px; margin-bottom: 9px;}
.office-story p {font-size: 11px; line-height: 2; color: #6c775f;}
.office-story.locked {background: #f1f1e6; border-left-color: #b9c4ac; color: #8d9480; cursor: default;}
.office-stat {padding: 10px 12px; border-bottom: 1px dashed #cfd5c1; background: #f3f4e9; font-size: 11px; line-height: 1.9;}
.office-save-tools {display: flex; flex-wrap: wrap; gap: 9px;}
.office-endgame {max-width: 750px; margin: 7vh auto; padding: 45px; background: var(--office-paper); border: 1px solid #bec9b1; border-top: 12px solid var(--office-orange); box-shadow: 8px 9px 0 #c5d2bd; transform: rotate(-1deg);}
.endgame-time {font: 850 60px/1.2 ui-monospace,monospace; color: #aab89d; margin-bottom: 20px; letter-spacing: -3px;}
.office-endgame h1 {font-size: clamp(37px,6vw,68px); letter-spacing: -2px; margin: 17px 0 25px;}
.office-endgame p {font-size: 13px; line-height: 2; color: #69775e; margin: 14px 0;}
.office-endgame .button-row {margin-top: 28px;}
.office-endgame .endgame-credit {font-size: 10px; margin-top: 38px;}
.popup-container {position: fixed; right: 22px; bottom: 22px; top: auto; width: min(310px,calc(100vw - 36px)); pointer-events: none; z-index: 50;}
.popup {width: 100%; min-height: 0; pointer-events: auto; margin-top: 9px; padding: 15px 18px; border: 1px solid #9faa86; border-left: 4px solid #6b8054; border-radius: 3px; background: #f9f1c8 !important; color: var(--office-ink); box-shadow: 3px 4px 0 #aebba479; cursor: pointer;}
.popup h3 {font-size: 10px; letter-spacing: 1px; color: #7b784f; margin-bottom: 5px;}
.popup h2 {font-size: 13px; line-height: 1.7;}
.popup br {display: none;}
.particle-container {pointer-events: none;}
.boot-message, noscript {display: block; padding: 50px 30px; text-align: center; line-height: 2;}
.boot-message strong {display: block; font-size: 24px; margin-bottom: 10px;}
@media (min-width: 1600px) {
    .office-content-grid {grid-template-columns: minmax(0,1fr) 280px; gap: 28px;}
    .office-upgrade-grid {grid-template-columns: repeat(3,minmax(0,1fr));}
    .office-achievement-grid {grid-template-columns: repeat(2,minmax(0,1fr));}
    .office-toolbar {padding-left: 48px; padding-right: 48px;}
    #office-main {padding-left: 48px; padding-right: 48px;}
}
@media (max-width: 1220px) {
    .office-layout {grid-template-columns: 205px minmax(0,1fr);}
    .office-sidebar {padding-left: 12px; padding-right: 12px;}
    .office-content-grid {grid-template-columns: minmax(0,1fr) 220px; gap: 16px;}
    #office-main {padding: 26px 24px;}
    .office-toolbar {padding-left: 24px; padding-right: 24px;}
    .workload-strip > p {display: none;}
    .office-stamp {flex-basis: 143px;}
    .office-stamp strong {font-size: 19px;}
    .office-stamp > span {font-size: 12px;}
    .workflow-action {grid-template-columns: 1fr; gap: 17px;}
    .office-prestige {min-height: 70px;}
    .resource-number {font-size: 34px;}
    .resource-summary p {font-size: 9px;}
    .workflow-content {padding: 17px;}
    .workflow-heading {padding: 14px 17px;}
    .workflow-tabs {padding: 0 12px;}
    .workflow-tabs button {padding-left: 11px; padding-right: 11px;}
}
@media (max-width: 1000px) {
    .office-content-grid {grid-template-columns: minmax(0,1fr);}
    .office-bulletin {grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px;}
    .attention-note {transform: none;}
    .automation-note {grid-column: 1 / -1;}
    .automation-note ol {grid-template-columns: repeat(2,minmax(0,1fr));}
    .tiny-memo {display: none;}
    .office-stamp {display: none;}
    .workflow-action {grid-template-columns: minmax(0,1fr) minmax(180px,1fr);}
    .office-hero h1 {font-size: 34px;}
    .desk-footer {padding-bottom: 10px;}
}
@media (max-width: 700px) {
    .office-layout {display: block;}
    .office-sidebar {position: static; height: auto; overflow: visible; padding: 19px 18px 0; border-right: 0; border-bottom: 1px solid #c4d0c3;}
    .office-brand {padding: 0; gap: 11px;}
    .brand-square {flex-basis: 36px; height: 36px; font-size: 23px;}
    .office-brand strong {font-size: 21px;}
    .office-brand small {font-size: 9px;}
    .employee-card, .sidebar-footer {display: none;}
    .office-routes {display: flex; overflow-x: auto; gap: 18px; padding: 20px 0 9px; margin-right: -18px; padding-right: 18px; scrollbar-width: thin;}
    .route-group {flex: 0 0 auto; display: flex; gap: 7px; position: relative; padding-top: 22px;}
    .route-group h2 {position: absolute; top: 0; left: 0; padding: 0; font-size: 8px; letter-spacing: 1px;}
    .route-group h2 span {font-size: 8px;}
    .route-link {width: auto; gap: 6px; padding: 7px; min-height: 40px; margin: 0; border-color: #d5dccb; background: #fafbf0;}
    .route-symbol {height: 24px; flex-basis: 24px; min-width: 24px; font-size: 12px;}
    .route-copy strong {font-size: 10px; white-space: nowrap;}
    .route-copy small, .route-arrow {display: none;}
    .route-link.is-locked {border-style: dashed; background: transparent;}
    .side-routes {display: flex; flex-wrap: wrap; border-top: 0; padding-top: 1px; margin: 3px 0 0; gap: 6px;}
    .side-routes button {gap: 10px; padding: 9px 8px; font-size: 10px;}
    .side-routes button > span:last-child {display: none;}
    .office-toolbar {min-height: 55px; padding: 11px 18px; gap: 9px;}
    .breadcrumb {font-size: 9px; gap: 7px;}
    .breadcrumb > span:first-child {display: none;}
    .breadcrumb > span:nth-child(2) {display: none;}
    .toolbar-actions {gap: 5px;}
    .toolbar-actions button {font-size: 10px; padding: 6px 9px;}
    .save-message {position: fixed; top: 12px; right: 12px; z-index: 60; background: var(--office-paper); border-radius: 3px; box-shadow: 0 2px 6px #263b3122;}
    .save-message:not(:empty) {padding: 9px 14px; border: 1px solid #9cae90;}
    #office-main {padding: 23px 16px;}
    .office-hero {margin-bottom: 21px;}
    .eyebrow {font-size: 8px; letter-spacing: 1px;}
    .issue-number {font-size: 8px; margin-left: 9px;}
    .office-hero h1 {font-size: clamp(26px,6.6vw,40px); letter-spacing: -1.2px; margin-top: 13px;}
    .office-hero p {font-size: 10px; line-height: 1.9;}
    .hero-tags {font-size: 9px; gap: 12px; margin-top: 12px;}
    .workload-strip {padding: 12px; margin-bottom: 15px;}
    .workload-strip > div {gap: 7px 10px;}
    .workload-label {font-size: 10px;}
    .workload-strip strong {font-size: 22px;}
    .workload-rate {font-size: 9px;}
    .office-content-grid {gap: 19px;}
    .workflow-heading {padding: 13px 15px;}
    .workflow-heading h2 {font-size: 14px;}
    .workflow-action {padding: 19px 15px; grid-template-columns: 1fr; gap: 16px;}
    .resource-number {font-size: 35px; margin-top: 3px;}
    .office-prestige {min-height: 73px; font-size: 14px;}
    .office-prestige small {font-size: 10px;}
    .workflow-tabs {padding: 0 8px; gap: 0;}
    .workflow-tabs button {padding: 11px 13px 9px; font-size: 10px;}
    .workflow-content {padding: 14px;}
    .office-upgrade-grid {gap: 9px;}
    .office-upgrade {padding: 12px 11px 0; min-height: 180px;}
    .upgrade-cost {margin-left: -11px; margin-right: -11px; padding: 8px 11px; font-size: 9px;}
    .upgrade-description {font-size: 10px;}
    .office-upgrade > strong {font-size: 12px;}
    .upgrade-state {font-size: 8px;}
    .office-paper {padding: 19px 16px;}
    .section-intro h2 {font-size: 19px;}
    .office-buyables {grid-template-columns: 1fr;}
    .office-bulletin {gap: 13px;}
    .attention-note, .unlock-note, .automation-note {padding: 15px;}
    .attention-number {font-size: 35px;}
    .note-heading {flex-wrap: wrap; gap: 5px;}
    .note-heading h2 {font-size: 11px;}
    .status-lozenge {font-size: 7px !important; padding: 2px 5px;}
    .unlock-note h2 {font-size: 18px;}
    .attention-note small {font-size: 8px;}
    .route-progress {gap: 3px;}
    .route-progress > span {font-size: 9px; height: 23px;}
    .desk-footer {font-size: 8px; gap: 9px;}
    .office-milestone {padding: 13px; gap: 9px;}
    .office-milestone h3 {font-size: 11px;}
    .office-milestone p {font-size: 10px;}
    .office-challenge {padding: 16px;}
    .office-challenge dl {grid-template-columns: 61px minmax(0,1fr); gap: 8px;}
    .office-challenge dt {font-size: 9px;}
    .office-challenge dd, .office-challenge p {font-size: 11px;}
    .setting-row {gap: 12px;}
    .setting-row .office-button {max-width: 110px; padding: 7px 9px;}
    .office-endgame {margin: 24px 17px; padding: 28px 23px; transform: none;}
    .office-endgame h1 {font-size: 47px;}
    .endgame-time {font-size: 47px;}
    .popup-container {right: 15px; bottom: 15px;}
}
@media (max-width: 370px) {
    .office-upgrade-grid {grid-template-columns: 1fr;}
    .office-upgrade {min-height: 152px;}
    .office-bulletin {grid-template-columns: 1fr;}
    .automation-note {grid-column: auto;}
    .automation-note ol {grid-template-columns: 1fr;}
    .workload-strip > div {column-gap: 8px;}
}
@media (prefers-reduced-motion: reduce) {
    html {scroll-behavior: auto;}
    *, *::before, *::after {animation: none !important; transition: none !important;}
}

/* Hosted identity is display text, including long member nicknames. */
.employee-id {overflow-wrap: anywhere; letter-spacing: .5px;}
.platform-note {padding: 12px 14px; margin-bottom: 18px; border: 1px dashed var(--office-line); color: var(--office-muted);}

.platform-identity {font-size: 10px; color: var(--office-muted); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
@media (min-width: 801px) {.platform-identity {display: none;}}
@media (max-width: 480px) {.platform-identity {max-width: 64px;}}
