/* Careers: the Job Center hub, career trees, work buttons in each building, shifts, promotions and perks.
   Each career card takes its accent from --career (set from career-data.js). */
.career-hub, .career-path, .career-work, .career-panel { --career: #4f7f5f; --career-soft: color-mix(in srgb, var(--career) 12%, #fffdf4); }
.career-hub { margin-bottom: 26px; }
.career-current { padding: 20px; border: 1px solid #e8e1cd; border-top: 6px solid var(--career); border-radius: 20px; background: #fffdf4; box-shadow: 0 5px 0 #e8e4d2; }
.career-current.is-empty { display: flex; align-items: center; gap: 16px; border-top-color: #b9cdb9; }
.career-current.is-empty h3 { margin: 2px 0 4px; }
.career-current.is-empty p { margin: 0; font-size: 14px; }
.career-badge { display: grid; flex: none; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--career-soft, #eef3e6); font-size: 30px; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--career) 25%, transparent); }
.career-current-head { display: flex; align-items: center; gap: 16px; }
.career-current-copy { flex: 1; min-width: 0; }
.career-current-copy .eyebrow { color: var(--career); }
.career-current-copy h3 { margin: 2px 0 3px; color: #2f533a; font-size: 26px; }
.career-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 0; color: #5f7a68; font-size: 13px; font-weight: 700; }
.career-facts .coin-icon { width: 15px; height: 15px; }
.career-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.career-progress { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 16px 0 4px; font-size: 13px; }
.career-progress-label { color: #5f7a68; font-weight: 800; }
.career-progress b { color: #3f6450; }
.career-bar { position: relative; height: 12px; overflow: hidden; border-radius: 99px; background: #e9eee1; box-shadow: inset 0 1px 2px #0001; }
.career-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--career) 70%, #fff), var(--career)); transition: width .4s ease; }
.career-columns { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; }
.career-next, .career-perks { padding: 14px 15px; border-radius: 15px; background: #f5f3e8; }
.career-columns h4 { margin: 0 0 8px; color: #3a5c47; font: 900 15px Nunito, system-ui, sans-serif; }
.career-note { margin: 0 0 8px; color: #6d7f72; font-size: 12px; line-height: 1.45; }
.career-options { display: grid; gap: 10px; }
.career-options.is-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.career-option { padding: 11px 12px; border: 2px solid #e2dfcf; border-radius: 13px; background: #fffdf6; }
.career-option.is-ready { border-color: color-mix(in srgb, var(--career) 55%, #fff); background: var(--career-soft); }
.career-option .career-note { margin: 8px 0 0; }
.career-option-title { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; margin: 0 0 6px; color: #4d6656; font-size: 13px; }
.career-option-title strong { color: #2f533a; font-size: 15px; }
.career-option-title .coin-icon { width: 14px; height: 14px; }
.career-requirements, .career-perk-list { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.career-requirements li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: center; gap: 6px; color: #6c776c; }
.career-requirements li.is-met { color: #3c6a4d; }
.career-requirements b { color: inherit; font-variant-numeric: tabular-nums; }
.career-check { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e7e3d3; color: #8a8a78; font-size: 11px; font-weight: 900; }
.is-met > .career-check, .is-unlocked > .career-check { background: var(--career); color: #fff; }
.career-perk-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: start; gap: 2px 7px; color: #7a8073; }
.career-perk-list li.is-unlocked { color: #34573f; font-weight: 700; }
.career-perk-list small { grid-column: 2; color: #8b9183; font-size: 11px; }

.career-section-heading { margin: 8px 0 14px; }
.career-section-heading h3 { margin: 3px 0 4px; }
.career-section-heading p { margin: 0; font-size: 14px; }
.career-paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.career-path { display: flex; flex-direction: column; gap: 11px; padding: 16px; border: 1px solid #e8e1cd; border-top: 5px solid var(--career); border-radius: 18px; background: #fffdf4; }
.career-path-head { display: flex; align-items: center; gap: 11px; }
.career-path-head .career-badge { width: 44px; height: 44px; border-radius: 14px; font-size: 24px; }
.career-path-head h4 { margin: 0; color: #2f533a; font: 900 19px Nunito, system-ui, sans-serif; }
.career-path-head p { margin: 2px 0 0; font-size: 12px; line-height: 1.4; }
.career-path-meta { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.career-path-meta span { padding: 3px 8px; border-radius: 99px; background: var(--career-soft); color: color-mix(in srgb, var(--career) 75%, #222); font-size: 11px; font-weight: 800; }
.career-tree { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.career-step { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 5px 7px; border-radius: 9px; background: #f4f2e7; color: #546858; font-size: 12px; }
.career-step-level { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #7b8676; font-weight: 900; box-shadow: inset 0 0 0 1.5px #ddd8c6; }
.career-step-title { min-width: 0; font-weight: 800; line-height: 1.25; }
.career-step-pay { display: inline-flex; align-items: center; gap: 2px; color: #9b6929; font-weight: 900; white-space: nowrap; }
.career-step-pay .coin-icon { width: 13px; height: 13px; }
.career-step.is-done { background: var(--career-soft); }
.career-step.is-done .career-step-level { background: var(--career); color: #fff; box-shadow: none; }
.career-step.is-current { background: var(--career); color: #fff; box-shadow: 0 3px 0 color-mix(in srgb, var(--career) 60%, #000); }
.career-step.is-current .career-step-level { color: var(--career); box-shadow: none; }
.career-step.is-current .career-step-pay { color: #fff4cf; }
.career-branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 9px; border-top: 2px dashed #e3dfcc; }
.career-branch h5 { margin: 0; color: #3a5c47; font: 900 14px Nunito, system-ui, sans-serif; }
.career-branch small { display: block; margin-bottom: 6px; color: #7d8a7f; font-size: 11px; line-height: 1.3; }
.career-branch .career-step { grid-template-columns: 20px minmax(0, 1fr); padding: 5px 6px; }
.career-branch .career-step-level { width: 20px; height: 20px; font-size: 11px; }
.career-branch .career-step-pay { grid-column: 2; }
.career-path-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.career-record { color: #7b8676; font-size: 12px; font-weight: 800; }
.career-path-foot .button { padding: 10px 15px; font-size: 13px; }

/* "Go to work" in the career's building. */
.career-work { display: flex; align-items: center; gap: 14px; margin: -8px 0 20px; padding: 14px 16px; border: 2px solid color-mix(in srgb, var(--career) 40%, #fff); border-radius: 18px; background: var(--career-soft); box-shadow: 0 4px 0 color-mix(in srgb, var(--career) 18%, #e8e4d2); }
.career-work .career-badge { width: 48px; height: 48px; border-radius: 15px; background: #fffdf4; font-size: 26px; }
.career-work-copy { flex: 1; min-width: 0; }
.career-work-copy strong { display: block; color: #2f533a; font: 900 17px Nunito, system-ui, sans-serif; }
.career-work-copy small { color: #5f7a68; font-size: 13px; font-weight: 700; }
.career-work-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.career-work.is-invite { padding: 10px 14px; border-style: dashed; box-shadow: none; background: #fffdf4; }
.career-work.is-invite .career-badge { width: 38px; height: 38px; font-size: 20px; }
.career-work.is-invite strong { font-size: 15px; }
.screen.in-cabinet .career-work { display: none; }

/* The shift dialog. */
.shift-dialog { --career: #4f7f5f; width: min(560px, calc(100vw - 20px)); max-height: calc(100dvh - 20px); padding: 0; border: 0; border-radius: 24px; background: transparent; overflow: visible; }
.shift-dialog::backdrop { background: #1f352da8; }
.shift-card { max-height: calc(100dvh - 20px); overflow: auto; border: 1px solid #e1dcc6; border-top: 7px solid var(--career); border-radius: 24px; background: #fffaf0; box-shadow: 0 20px 70px #243c3455; }
.shift-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 16px 18px 12px; background: #fffaf0; }
.shift-head .career-badge { width: 46px; height: 46px; border-radius: 15px; font-size: 25px; }
.shift-head > div { flex: 1; min-width: 0; }
.shift-head .eyebrow { color: var(--career); }
.shift-head h2 { margin: 2px 0 0; font-size: 22px; letter-spacing: -.4px; }
.shift-close { flex: none; width: 36px; height: 36px; padding: 0; border: 2px solid #e1dcc6; border-radius: 50%; background: #fff; color: #5f7468; font: 900 22px/1 Nunito, system-ui, sans-serif; }
.shift-body { padding: 0 18px 18px; }
.shift-intro > p { margin: 0 0 12px; font-size: 14px; }
.shift-facts { display: grid; gap: 6px; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: #f3f0e3; list-style: none; color: #4e6656; font-size: 13px; font-weight: 700; }
.shift-facts li { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; }
.shift-facts b { color: #9b6929; }
.shift-facts .coin-icon, .shift-rewards .coin-icon { width: 15px; height: 15px; }
.shift-block { margin: 0 0 12px; padding: 9px 12px; border-radius: 11px; background: #fbe9e3; color: #8f4d44; font-size: 13px; font-weight: 800; }
.shift-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.shift-result { text-align: center; }
.shift-stars { margin: 4px 0 0; color: #f0ac2f; font-size: 44px; letter-spacing: 4px; text-shadow: 0 3px 0 #c9852133; }
.shift-score { margin: 0 0 10px; color: #5f7a68; font-weight: 800; }
.shift-rewards { display: grid; gap: 6px; margin: 0 auto 14px; padding: 12px 14px; max-width: 360px; border-radius: 14px; background: #f3f0e3; list-style: none; color: #3d6450; font-weight: 800; font-size: 14px; }
.shift-rewards li { display: flex; align-items: center; justify-content: center; gap: 4px; }
.shift-rewards b { color: #9b6929; font-size: 18px; }
.shift-rewards .is-highlight { color: var(--career); }
.shift-notice { margin: 0 auto 14px; padding: 10px 12px; max-width: 380px; border-radius: 12px; background: var(--career-soft, #eef3e6); color: #3a5c47; font-size: 13px; font-weight: 800; }
.shift-dialog { --career-soft: color-mix(in srgb, var(--career) 12%, #fffdf4); }
.shift-result .shift-actions { justify-content: center; }

/* Mini-tasks. */
.task-hud { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 12px; }
.task-hud span { padding: 5px 12px; border: 2px solid #dfe6db; border-radius: 99px; background: #fff; color: #557063; font-size: 13px; font-weight: 800; }
.task-hud b { color: var(--career); font-size: 16px; }
.task-hud b.is-low { color: #d9493f; }
.task-hint { margin: 0 0 10px; color: #5f7468; font-size: 13px; font-weight: 700; text-align: center; }
.task-feedback { min-height: 22px; margin: 10px 0; font-weight: 900; text-align: center; }
.task-feedback.is-good { color: #2f8f5a; }
.task-feedback.is-bad { color: #c2513f; }
.task-stage > .button { display: block; margin: 0 auto; min-width: 180px; }

.outfit-scene { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 10px; }
.outfit-person { position: relative; flex: none; width: 64px; height: 92px; overflow: hidden; border-radius: 14px; background: linear-gradient(#e3eef0, #d6e6dc); }
.outfit-person .avatar { left: 50%; bottom: -64px; transform: translateX(-50%) scale(.42); transform-origin: bottom center; }
.outfit-bubble { position: relative; flex: 1; margin: 0 0 18px; padding: 11px 13px; border: 2px solid #dccfb6; border-radius: 16px 16px 16px 4px; background: #fff; color: #3d5546; font: 800 15px/1.35 Nunito, system-ui, sans-serif; }
.outfit-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.outfit-option { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 7px 9px; border: 2px solid #e1dcc8; border-radius: 13px; background: #fffdf6; color: #3f5b49; font-size: 13px; font-weight: 800; text-align: left; transition: transform .12s, border-color .12s; }
.outfit-swatch { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--swatch) 55%, #fff), var(--swatch)); font-size: 18px; box-shadow: inset 0 0 0 2px #0001; }
.outfit-option:not(:disabled):hover { transform: translateY(-2px); }
.outfit-option[aria-pressed="true"] { border-color: var(--career); background: var(--career-soft); box-shadow: 0 3px 0 color-mix(in srgb, var(--career) 45%, #fff); }
.outfit-option.is-right { border-color: #4f9a68; background: #e5f2e5; }
.outfit-option.is-wrong { border-color: #d07a6c; background: #fbe8e3; }
.outfit-option:disabled { cursor: default; opacity: 1; }
.task-stage > .outfit-options + .task-feedback + .button { margin-top: 2px; }

.reps-scene { position: relative; height: 150px; overflow: hidden; margin-bottom: 8px; border-radius: 16px; background: linear-gradient(#e7f1f3 0 70%, #d9a36c 70%); }
.reps-scene .avatar { bottom: 6px; transform: translateX(-50%) scale(.38); transform-origin: bottom center; }
.reps-scene .avatar.is-lifting .avatar-art { animation: reps-lift .45s ease-out; transform-origin: bottom center; }
.reps-exercise { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); margin: 0; padding: 4px 12px; border-radius: 8px; background: #ef7a3a; color: #fff; font: 900 13px Nunito, system-ui, sans-serif; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.reps-bar { position: relative; height: 34px; margin: 4px 0; border-radius: 99px; background: #ece6d5; box-shadow: inset 0 2px 4px #0002; }
.reps-zone, .reps-perfect { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 8px; }
.reps-zone { width: var(--zone); background: #9fd6a6; }
.reps-perfect { width: var(--perfect); background: #3f9a5c; }
.reps-marker { position: absolute; top: -5px; bottom: -5px; left: -4px; width: 8px; border-radius: 4px; background: #2c3e50; box-shadow: 0 0 0 2px #fff; will-change: transform; }
.reps-button { min-height: 54px; font-size: 18px; touch-action: manipulation; user-select: none; }
.reps-button kbd { margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: #ffffff33; font: 800 11px ui-monospace, monospace; }
@media (hover: none) { .reps-button kbd { display: none; } }
@keyframes reps-lift { 0%, 100% { transform: none; } 45% { transform: scaleY(.86); } }

.ledger-card { padding: 14px; border-radius: 16px; background: #f3f0e3; }
.ledger-coins { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; min-height: 64px; margin-bottom: 12px; }
.ledger-coin { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff1b0, #f0bf4c 60%, #c98d1f); color: #6b4a10; font: 900 15px Nunito, system-ui, sans-serif; box-shadow: inset 0 0 0 3px #e4a73b, 0 3px 0 #b07b1a; }
.ledger-coin.coin-1 { width: 32px; height: 32px; font-size: 13px; }
.ledger-coin.coin-2 { width: 35px; height: 35px; }
.ledger-coin.coin-10, .ledger-coin.coin-20 { width: 46px; height: 46px; background: radial-gradient(circle at 35% 30%, #f4f6f8, #c4ccd4 60%, #8f9aa6); color: #3b4652; box-shadow: inset 0 0 0 3px #aab4be, 0 3px 0 #77828e; }
.ledger-slip { margin: 0 auto 14px; max-width: 360px; padding: 14px 16px; border: 1px dashed #c8b998; border-radius: 6px; background: #fffef8; color: #3d5546; font: 800 16px/1.35 Nunito, system-ui, sans-serif; text-align: center; box-shadow: 0 3px 0 #e2dac5; }
.ledger-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ledger-choices.is-sort { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ledger-choice { min-height: 48px; padding: 8px; border: 2px solid #ddd6c1; border-radius: 13px; background: #fffdf6; color: #34573f; font: 900 18px Nunito, system-ui, sans-serif; }
.ledger-choices.is-sort .ledger-choice { font-size: 15px; }
.ledger-choice:not(:disabled):hover { border-color: var(--career); }
.ledger-choice.is-right { border-color: #4f9a68; background: #e5f2e5; }
.ledger-choice.is-wrong { border-color: #d07a6c; background: #fbe8e3; }
.ledger-choice:disabled { cursor: default; opacity: 1; }

/* Promotions. */
.career-promote { background: linear-gradient(#ffd977, #f0b43a); color: #5a3d0c; box-shadow: 0 4px 0 #c48a22; }
.career-promote:hover:not(:disabled) { box-shadow: 0 6px 0 #c48a22; }
.career-option .button, .career-option .text-button { margin-top: 10px; padding: 9px 13px; font-size: 13px; }
.shift-goal { padding: 10px 12px; border-radius: 12px; background: var(--career-soft); color: #3a5c47; font-weight: 800; }
.shift-goal b { color: var(--career); font-size: 18px; }
.shift-result.is-promoted { position: relative; overflow: hidden; padding-top: 6px; }
.promotion-card { position: relative; z-index: 1; margin-bottom: 4px; }
.promotion-card .eyebrow { margin: 6px 0 0; color: var(--career); }
.promotion-card h3 { margin: 2px 0 6px; color: #2f533a; font-size: 24px; }
.promotion-badge { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 26px; background: var(--career-soft); font-size: 46px; box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--career) 35%, transparent), 0 0 0 8px #fff3c9; animation: promotion-pop .6s cubic-bezier(.3, 1.6, .5, 1); }
.promotion-miss { margin: 0; color: #2f533a; }
.career-confetti { position: absolute; inset: 0; pointer-events: none; }
.career-confetti i { position: absolute; top: -12px; left: var(--x); width: 8px; height: 13px; border-radius: 2px; opacity: 0; animation: confetti-fall 1.8s ease-in var(--delay) forwards; }
@keyframes confetti-fall { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--drift), 330px) rotate(var(--spin)); } }
@keyframes promotion-pop { from { transform: scale(.4); opacity: 0; } }

/* The career in the profile and on the character card. */
.career-panel { --career: #8aa58f; margin: 0 0 17px; padding: 14px 15px; border: 1px solid color-mix(in srgb, var(--career) 30%, #e8e1cd); border-radius: 14px; background: color-mix(in srgb, var(--career) 8%, #fffdf4); }
.career-panel-head { display: flex; align-items: center; gap: 12px; }
.career-panel-head .career-badge { width: 44px; height: 44px; border-radius: 14px; font-size: 24px; }
.career-panel-head > div { flex: 1; min-width: 0; }
.career-panel-head strong { display: block; color: #2f533a; font: 900 18px Nunito, system-ui, sans-serif; }
.career-panel-head small { color: #5f7a68; font-size: 12px; font-weight: 700; }
.career-panel .career-progress { margin: 11px 0 0; }
.career-records { margin: 10px 0 0; color: #6d7f72; font-size: 12px; }
.career-records b { color: #3f6450; }
.home-role { margin: 0; font-size: 13px; font-weight: 800; color: #5f7a68; }
.home-career { --career: #4f7f5f; max-width: 210px; margin: 7px auto 0; }
.home-career .career-bar { display: block; height: 8px; }

/* Perks: tournaments, the design studio and finance at the Bank. */
.career-tournament { background: linear-gradient(#fff3d1, #f6dc9a); color: #6a4a12; box-shadow: 0 4px 0 #d8b866; }
.career-tournament:disabled { opacity: .6; }
.price s { margin-right: 2px; color: #a59a83; font-weight: 700; }

.design-studio, .career-finance { --career-soft: color-mix(in srgb, var(--career) 10%, #fffdf4); margin: 0 0 22px; padding: 18px; border: 1px solid #e8e1cd; border-top: 5px solid var(--career); border-radius: 20px; background: #fffdf4; }
.design-studio-head h3, .career-finance h3 { margin: 2px 0 4px; }
.design-studio-head .eyebrow { color: var(--career); }
.design-studio-head p { margin: 0; font-size: 13px; }
.design-studio-body { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; margin-top: 14px; }
.design-preview { position: relative; height: 270px; overflow: hidden; border-radius: 16px; background: linear-gradient(#f6e6ee 0 72%, #e6cfda 72%); }
.design-preview .avatar { bottom: 6px; transform: translateX(-50%) scale(.72); transform-origin: bottom center; }
.design-controls { display: grid; gap: 10px; align-content: start; }
.design-field { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; border: 0; }
.design-field legend { width: 100%; margin-bottom: 4px; padding: 0; color: #4d6656; font-size: 12px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.design-chip { padding: 6px 10px; border: 2px solid #e1dcc8; border-radius: 99px; background: #fffdf6; color: #4a6352; font-size: 12px; font-weight: 800; }
.design-chip[aria-pressed="true"] { border-color: var(--career); background: var(--career-soft); color: #2f533a; }
.design-swatch { width: 30px; height: 30px; padding: 0; border: 3px solid #fff; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px #d8d2bf; }
.design-swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--career); }
.design-name { display: grid; gap: 4px; color: #4d6656; font-size: 12px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.design-name input { max-width: 320px; padding: 10px 12px; border: 2px solid #ddd6c1; border-radius: 11px; background: #fffef9; font: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.design-controls > .button { justify-self: start; display: inline-flex; align-items: center; gap: 4px; }
.design-wardrobe { display: grid; gap: 7px; margin-top: 16px; padding-top: 14px; border-top: 2px dashed #e6e0cc; }
.design-wardrobe h4 { margin: 0; color: #3a5c47; font: 900 15px Nunito, system-ui, sans-serif; }
.design-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 13px; background: #f6f3e8; }
.design-item-swatch { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--base); box-shadow: inset 0 0 0 2px #0001; }
.design-item-swatch.print-dots { background: radial-gradient(circle, var(--ink) 0 2.5px, transparent 3px) 0 0 / 9px 9px, var(--base); }
.design-item-swatch.print-stripes { background: repeating-linear-gradient(var(--ink) 0 3px, var(--base) 3px 8px); }
.design-item-swatch.print-checks { background: conic-gradient(var(--ink) 25%, var(--base) 0 50%, var(--ink) 0 75%, var(--base) 0) 0 0 / 12px 12px; }
.design-item-swatch.print-stars { background: radial-gradient(circle, var(--ink) 0 2px, transparent 2.5px) 0 0 / 7px 7px, var(--base); }
.design-item-copy { flex: 1; min-width: 0; }
.design-item-copy strong { display: block; color: #34573f; font-size: 14px; }
.design-item-copy small { color: #6d8277; font-size: 11px; }
.design-item .text-button { padding: 7px 10px; font-size: 12px; }
.design-remove { color: #8f514d; }

.career-finance { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 18px; }
.career-finance h3 { grid-column: 1 / -1; margin: 0; }
.finance-box { display: grid; align-content: start; gap: 8px; padding: 14px; border-radius: 15px; background: var(--career-soft); }
.finance-box h4 { margin: 0; color: #2f5a4c; font: 900 15px Nunito, system-ui, sans-serif; }
.finance-box p { margin: 0; font-size: 13px; }
.finance-balance { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; color: #2f5a4c; font-weight: 800; }
.finance-balance b { font-size: 20px; }
.finance-log { display: flex; flex-wrap: wrap; gap: 5px; }
.finance-log span { padding: 2px 7px; border-radius: 99px; font-size: 11px; font-weight: 900; }
.finance-log .is-up { background: #dff0de; color: #2f7d4a; }
.finance-log .is-down { background: #fbe6e1; color: #a14b3d; }
.finance-form { display: flex; flex-wrap: wrap; gap: 7px; }
.finance-form input { width: 110px; flex: 1; min-width: 90px; padding: 9px 11px; border: 2px solid #ccddcf; border-radius: 11px; background: #fffdf8; font: inherit; }
.finance-form .button, .finance-form .text-button { padding: 9px 13px; font-size: 13px; }

@media (max-width: 1000px) {
  .career-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .career-current { padding: 15px; }
  .career-current-head { flex-wrap: wrap; gap: 12px; }
  .career-current-copy { flex-basis: calc(100% - 72px); }
  .career-current-copy h3 { font-size: 22px; }
  .career-actions { width: 100%; justify-content: stretch; }
  .career-actions button { flex: 1; }
  .career-progress { grid-template-columns: minmax(0, 1fr); gap: 5px; }
  .career-columns, .career-options.is-branches, .career-paths { grid-template-columns: minmax(0, 1fr); }
  .career-work { flex-wrap: wrap; gap: 10px; margin-top: -4px; }
  .career-work-copy { flex-basis: calc(100% - 62px); }
  .career-work-actions { width: 100%; }
  .career-work-actions button { flex: 1; }
  .shift-head { padding: 14px 14px 10px; }
  .shift-body { padding: 0 14px 14px; }
  .ledger-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .outfit-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-studio, .career-finance { padding: 14px; }
  .design-studio-body { grid-template-columns: minmax(0, 1fr); }
  .design-preview { height: 220px; }
  .design-preview .avatar { transform: translateX(-50%) scale(.58); }
  .design-item { flex-wrap: wrap; }
  .design-item-copy { flex-basis: calc(100% - 44px); }
}
@media (prefers-reduced-motion: reduce) {
  .career-bar i, .outfit-option { transition: none; }
  .reps-scene .avatar.is-lifting .avatar-art, .promotion-badge { animation: none; }
  .career-confetti { display: none; }
}
