/* The experience layer keeps workflow surfaces opaque and decorative art separate. */
body {
  --experience-radius:20px;
  --experience-border:color-mix(in srgb,var(--line) 80%,var(--teal));
  --experience-shadow:0 8px 30px rgba(12,22,19,.06);
}
body.product-view { background:var(--canvas); }
body .app[data-theme] .main { min-height:100dvh; }
body .app .content { max-width:1580px; margin:0 auto; padding:28px 36px 64px; }
body .app .sidebar {
  width:252px; padding:26px 18px 18px;
  background:linear-gradient(165deg,var(--theme-sidebar),var(--theme-sidebar-mid));
  border-right:1px solid rgba(255,255,255,.1);
}
body .app .main { margin-left:252px; }
body .app .sidebar .brand { padding:0 8px 22px; gap:12px; }
body .app .sidebar .brand-mark { width:40px; height:40px; border-radius:14px; }
body .app .sidebar .brand-name { font-size:23px; letter-spacing:-.04em; }
body .app .sidebar .brand-sub { font-size:10px; letter-spacing:.1em; }
body .app .sidebar-context { margin:0 0 18px; padding:16px; border-radius:14px; background:rgba(255,255,255,.055); border:1px solid rgba(255,255,255,.12); }
body .app .sidebar-context strong { font-size:13px; }
body .app .sidebar-finder { padding:8px 0; font-size:13px; color:#e9eee9; }
body .app .nav-group-label { font-size:10px; font-weight:700; letter-spacing:.15em; padding:18px 12px 7px; color:#c4ceca; }
body .app .nav button { position:relative; min-height:44px; padding:10px 12px; margin:3px 0; font-size:13px; border-radius:11px; color:#e3e9e4; transition:background .18s ease,transform .18s ease; }
body .app .nav button:hover { background:rgba(255,255,255,.085); transform:translateX(2px); }
body .app .nav button.active { background:var(--theme-sidebar-active); color:#fff; box-shadow:inset 3px 0 var(--theme-sidebar-accent); }
body .app .nav-icon { opacity:.9; font-size:18px; width:24px; }
body .app .nav-legal-link { min-height:44px; padding:10px 12px; font-size:12px; color:#d4ddd6; }
body .app .sidebar-bottom { padding-top:18px; margin-top:18px; border-top:1px solid rgba(255,255,255,.12); }
body .app .privacy-note { font-size:11px; line-height:1.7; }
body .app .user-mini { padding:14px 0 0; }
body .app .user-mini strong { font-size:13px; }
body .app .user-mini small { font-size:11px; color:#d5dfd8; }
body :is(.app,.owner-portal) .topbar { padding-left:28px; padding-right:28px; background:var(--paper); box-shadow:0 4px 20px rgba(10,20,16,.035); }
body :is(.app,.owner-portal) .topbar .secondary-btn { font-size:12px; padding:8px 12px; border-color:transparent; }
body :is(.app,.owner-portal) .topbar .primary-btn { font-size:12px; padding:8px 14px; }
body .app .crumb { font-size:12px; }
body .app .crumb b { font-weight:650; }
body #accountName { font-size:12px !important; }
body :is(.app,.owner-portal) .welcome {
  position:relative; display:flex; align-items:center; gap:20px; flex-wrap:wrap;
  padding:8px 0 22px !important; margin:0 0 8px; border:0; border-radius:0;
  background:transparent !important; box-shadow:none !important; min-height:0; overflow:visible;
}
body :is(.app,.owner-portal) .welcome::before,body :is(.app,.owner-portal) .welcome::after { display:none; }
body :is(.app,.owner-portal) .welcome h1 { font-family:var(--display); font-size:clamp(28px,3vw,40px); font-weight:400; line-height:1.12; letter-spacing:-.035em; margin:8px 0; }
body :is(.app,.owner-portal) .welcome p { max-width:68ch; font-size:14px; line-height:1.65; }
body :is(.app,.owner-portal) .eyebrow { font-size:10px; font-weight:750; text-transform:uppercase; letter-spacing:.16em; line-height:1.6; }
body :is(.app,.owner-portal) :is(.card,.panel,.simple-card,.engagement-card) { border-radius:var(--experience-radius); border:1px solid var(--experience-border); box-shadow:var(--experience-shadow); }
body :is(.app,.owner-portal) .panel-head { padding-bottom:14px; margin-bottom:14px; border-bottom:1px solid var(--line); }
body :is(.app,.owner-portal) .panel-head h2 { font-size:19px; letter-spacing:-.025em; }
body :is(.app,.owner-portal) .panel-head p { font-size:12px; line-height:1.6; }
body :is(.app,.owner-portal) :is(.primary-btn,.secondary-btn) { border-radius:10px; font-size:14px; min-height:44px; transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }
body :is(.app,.owner-portal) .primary-btn:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 8px 18px color-mix(in srgb,var(--teal) 20%,transparent); }
body :is(.app,.owner-portal) button:active:not(:disabled) { transform:translateY(1px); }
body :is(.app,.owner-portal) .primary-btn:disabled { cursor:not-allowed; box-shadow:none; }
body :is(.app,.owner-portal) .portal-section-nav { padding:4px; background:var(--paper); border-radius:12px; width:fit-content; max-width:100%; gap:4px; }
body :is(.app,.owner-portal) .portal-section-nav button { font-size:13px; border-radius:9px; padding:10px 15px; }
body :is(.app,.owner-portal) .portal-section-nav button[aria-pressed="true"] { box-shadow:0 3px 8px rgba(10,20,16,.05); }
body .app :is(.field input,.field select,.field textarea,.search,.small-select,.period) { border-radius:10px; border:1px solid var(--line); padding:11px 13px; min-height:44px; font-size:14px; }
body .app .field { gap:6px; }
body .app .field>span,body .app .field>label { font-size:12px; font-weight:650; }
body .app .table-wrap { border-radius:14px; border:1px solid var(--line); }
body .app table { border-collapse:collapse; }
body .app th { font-size:10px; text-transform:uppercase; letter-spacing:.1em; padding:15px; background:var(--teal-soft); }
body .app td { padding:15px; font-size:13px; }
body .app tbody tr { transition:background .18s ease; }
body .app tbody tr:hover { background:color-mix(in srgb,var(--teal-soft) 55%,var(--paper)); }
body .app .badge { font-size:11px; line-height:1.4; border-radius:7px; padding:6px 9px; }
body .app .empty { border:1px dashed var(--line); border-radius:14px; padding:28px 20px; text-align:center; line-height:1.7; font-size:14px; }
body .app .empty::before { content:"✧"; display:block; font-size:30px; color:var(--teal); margin-bottom:8px; }

.experience-spotlight {
  position:relative; display:grid; grid-template-columns:minmax(0,1.5fr) minmax(220px,.8fr);
  gap:28px; margin-bottom:22px; border:1px solid var(--experience-border);
  border-radius:24px; overflow:hidden; background:var(--paper); box-shadow:var(--experience-shadow);
}
.spotlight-copy { position:relative; padding:34px; min-width:0; z-index:1; }
body .app .spotlight-copy h2 { font:400 clamp(26px,2.8vw,38px)/1.15 var(--display); letter-spacing:-.035em; max-width:24ch; margin:14px 0; }
body .app .spotlight-copy>p { max-width:60ch; font-size:14px; line-height:1.75; margin:0 0 22px; }
body .app .spotlight-copy>small { display:block; margin-top:16px; font-size:11px; line-height:1.6; }
.spotlight-visual { position:relative; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:32px 20px; overflow:hidden; background:var(--teal-soft); border-left:1px solid var(--line); }
.spotlight-visual::before,.spotlight-visual::after { content:""; position:absolute; width:250px; height:250px; border:1px solid color-mix(in srgb,var(--teal) 25%,transparent); border-radius:50%; pointer-events:none; }
.spotlight-visual::after { width:330px; height:330px; }
.spotlight-art { position:relative; width:112px; height:112px; display:grid; place-items:center; border-radius:28px; background:var(--paper); border:1px solid var(--line); box-shadow:0 16px 40px rgba(10,25,20,.12); transform:rotate(-7deg); z-index:1; }
.spotlight-art svg { width:55px; height:55px; fill:none; stroke:var(--teal-dark); stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round; }
.spotlight-balance { position:relative; z-index:1; display:grid; text-align:center; gap:3px; margin-top:24px; }
body .app .spotlight-balance strong { font-size:42px; letter-spacing:-.05em; font-weight:500; font-variant-numeric:tabular-nums; }
.spotlight-balance span { font-size:12px; color:var(--ink); }
.spotlight-signature { position:relative; z-index:1; font-size:8px; letter-spacing:.24em; margin-top:22px; color:var(--ink); opacity:.8; }
.spotlight-progress { margin:24px 0; max-width:500px; }
.spotlight-progress-heading { display:grid; gap:5px; margin-bottom:10px; }
body .app .spotlight-progress-heading strong { font-size:13px; }
body .app .spotlight-progress-heading small { font-size:11px; }
body .app .progress { height:6px; border-radius:10px; background:var(--teal-soft); overflow:hidden; }
body .app .progress>span { display:block; height:100%; background:var(--teal); border-radius:inherit; transition:width .55s cubic-bezier(.2,.7,.2,1); }
body .app .spotlight-progress .progress { height:8px; }

body :is(.app,.owner-portal) .portal-action-grid { gap:12px; margin:0 0 12px; }
body :is(.app,.owner-portal) .portal-action { padding:20px !important; border-radius:16px; min-height:0; gap:8px; background:var(--paper); }
body :is(.app,.owner-portal) .portal-action .action-kicker { min-height:0; font-size:9px; letter-spacing:.12em; text-transform:uppercase; padding-right:20px; }
body :is(.app,.owner-portal) .portal-action>strong { font-size:17px; max-width:24ch; padding-right:32px; }
body :is(.app,.owner-portal) .portal-action>span:not(.action-kicker):not(.action-link) { font-size:12px; line-height:1.6; }
body :is(.app,.owner-portal) .portal-action .action-link { font-size:12px; padding-top:8px; }
body :is(.app,.owner-portal) .portal-action-icon { top:17px; right:17px; width:20px; height:20px; padding:8px; box-sizing:content-box; border-radius:10px; }
body #workspaceHomeScope { font-size:11px; margin:10px 0 20px; }
body .app .grid.stats { gap:12px; margin-bottom:24px; }
body .app .stat { padding:18px !important; min-height:112px; border-radius:16px; box-shadow:none; }
body .app .stat-label { font-size:11px; letter-spacing:.025em; }
body .app .stat-value { font-size:30px; line-height:1.2; letter-spacing:-.05em; font-weight:500; font-variant-numeric:tabular-nums; }
body .app .stat-foot { font-size:11px; line-height:1.5; }
body .app .stat-icon { width:28px; height:28px; font-size:14px; border-radius:9px; }
body .app .grid.lower { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
body .app .grid.lower>article:last-child:nth-child(3) { grid-column:1/-1; }
body .app .goal-card { border-radius:20px; background:var(--teal-soft); border:1px solid var(--line); color:var(--ink); }
body .app .goal-card :is(h2,strong,p,small) { color:var(--ink) !important; }
body .app .goal-card .goal-tag { font-size:9px; }
body .app .goal-card p { font-size:13px; line-height:1.7; }
body .app .engagement-hero { position:relative; background:var(--teal-soft); border-left:0; border-top:3px solid var(--teal); border-radius:20px; }
body .app .engagement-hero>p { max-width:75ch; font-size:14px; }
body .app .engagement-hero>.data-note { font-size:11px; }
body .app .unit-row { gap:14px; padding:16px 0; align-items:center; }
body .app .unit-name { font-size:14px; font-weight:650; }
body .app .unit-sub { font-size:11px; line-height:1.6; }
body .app .unit-score { font-size:16px; }
body .app .unit-score small { font-size:10px; }
body .app .feed-item { position:relative; align-items:start; gap:16px; padding:22px 0; }
body .app .feed-item+.feed-item { border-top:1px solid var(--line); }
body .app .feed-item .avatar { flex:0 0 42px; width:42px; height:42px; border-radius:13px; background:var(--teal-soft); color:var(--ink); font-size:13px; border:1px solid var(--line); }
body .app .feed-text { font-size:14px; line-height:1.8; min-width:0; overflow-wrap:anywhere; }
body .app .feed-text>strong { font-size:15px; }
body .app .feed-meta { margin-top:10px; font-size:11px; flex-wrap:wrap; gap:10px; }
body .app .points-pill { background:var(--teal-soft); color:var(--ink); font-size:11px; border-radius:6px; padding:4px 8px; white-space:nowrap; }
body #fullFeed { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
body #fullFeed .feed-item { padding:24px; border:1px solid var(--line); border-radius:16px; background:var(--paper); border-top:3px solid var(--teal); }

.catalog-heading { display:flex; justify-content:space-between; align-items:center; gap:16px; margin:26px 0 18px; }
body .app .catalog-heading h2 { font:400 clamp(23px,2.5vw,30px)/1.2 var(--display); margin:8px 0 0; }
body .app .reward-filters { display:flex; flex-wrap:wrap; gap:14px; padding:18px; background:var(--paper); border:1px solid var(--line); border-radius:16px; }
body .app .reward-filters>.field { flex:1 1 180px; margin:0; }
body .app #rewardGrid { grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:20px; }
body .app .reward-card { padding:0 !important; overflow:hidden; display:flex; flex-direction:column; transition:transform .25s ease,box-shadow .25s ease; }
body .app .reward-card:hover { transform:translateY(-4px); box-shadow:0 18px 40px rgba(10,20,16,.14); }
body :is(.app,dialog) .reward-art {
  position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:16px; min-height:185px; padding:20px; overflow:hidden;
  background:#eae0d2; color:#463524; border-bottom:1px solid var(--line);
}
body :is(.app,dialog) [data-reward-style="experience"] .reward-art,body dialog .reward-art[data-reward-style="experience"] { background:#e4def0; color:#423560; }
body :is(.app,dialog) [data-reward-style="time_off"] .reward-art,body dialog .reward-art[data-reward-style="time_off"] { background:#dce9e6; color:#294c45; }
body :is(.app,dialog) [data-reward-style="donation"] .reward-art,body dialog .reward-art[data-reward-style="donation"] { background:#f0dfe3; color:#633846; }
body :is(.app,dialog) [data-reward-style="team"] .reward-art,body dialog .reward-art[data-reward-style="team"] { background:#dfe6ef; color:#344761; }
.reward-art::before { content:""; position:absolute; width:140px; height:140px; border:1px solid currentColor; opacity:.13; border-radius:50%; }
.reward-art::after { content:""; position:absolute; inset:12px; border:1px solid currentColor; opacity:.13; border-radius:12px; pointer-events:none; }
body :is(.app,dialog) .reward-art svg { position:relative; z-index:1; width:66px; height:66px; fill:none; stroke:currentColor; stroke-width:1.2; stroke-linecap:round; stroke-linejoin:round; }
.reward-art>span { position:relative; z-index:1; font:italic 16px var(--display); }
.reward-art .reward-art-seal { font:8px inherit; font-size:8px; letter-spacing:.2em; }
body .app .reward-card[data-reward-style] .reward-art { height:auto; background:#eae0d2; background-image:none; color:#463524; }
body .app .reward-card[data-reward-style="experience"] .reward-art { background:#e4def0; color:#423560; }
body .app .reward-card[data-reward-style="time_off"] .reward-art { background:#dce9e6; color:#294c45; }
body .app .reward-card[data-reward-style="donation"] .reward-art { background:#f0dfe3; color:#633846; }
body .app .reward-card[data-reward-style="team"] .reward-art { background:#dfe6ef; color:#344761; }
body .app .reward-card .reward-art::after { width:auto; height:auto; border-radius:12px; box-shadow:none; }
body .app .reward-body { padding:22px; display:flex; flex-direction:column; gap:10px; flex:1; }
body .app .reward-body>.badge { align-self:start; font-size:9px; text-transform:uppercase; letter-spacing:.08em; background:var(--teal-soft); color:var(--ink); }
body .app .reward-body h3 { font:400 24px/1.2 var(--display); letter-spacing:-.025em; margin:4px 0; }
body .app .reward-body>p { margin:0; font-size:13px; line-height:1.65; }
body .app .reward-body .request-status-note { font-size:11px; margin:2px 0 8px; }
.reward-progress { margin-top:auto; }
body .app .reward-progress small { display:block; font-size:11px; margin-top:7px; }
body .app .reward-foot { border-top:1px solid var(--line); padding-top:16px; margin-top:10px; gap:12px; display:flex; flex-wrap:wrap; align-items:center; }
body .app .reward-foot .cost { font-size:24px; letter-spacing:-.04em; }
body .app .reward-foot .cost small { font-size:11px; letter-spacing:0; }
body .app .reward-foot .primary-btn { margin-left:auto; font-size:12px; }
body .app .reward-save { width:100%; margin-top:5px; background:transparent; font-size:11px; border:1px solid var(--line); color:var(--ink); }
body .app .reward-save[aria-pressed="true"] { background:var(--teal-soft); border-color:var(--teal); }
body .reward-preview-dialog { width:min(560px,calc(100% - 24px)); padding:0; }
.reward-preview-facts { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0; }
.reward-preview-facts>div { display:grid; gap:6px; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--teal-soft); }
.reward-preview-facts span { color:var(--readable-muted); font-size:12px; }
.reward-preview-facts strong { font-size:20px; }
body #rewardPreviewTitle { font:400 30px/1.2 var(--display); margin:12px 0; }
body #rewardPreviewDescription { font-size:14px; line-height:1.8; }
body .reward-preview-dialog .callout { border-radius:12px; font-size:13px; }
body .reward-preview-dialog .callout p { font-size:12px; line-height:1.7; }

body .owner-portal { grid-template-columns:228px minmax(0,1fr); }
body .owner-portal>.owner-navigation { margin:24px 0 0 16px; border-radius:18px; padding:14px 10px; background:var(--paper); box-shadow:var(--experience-shadow); }
body .owner-navigation .secondary-btn { font-size:13px; }
body .owner-content { max-width:1550px; padding:28px 32px 60px !important; }
body .owner-nav-context { padding:10px 12px 18px; }
body .owner-nav-context strong { font:400 24px var(--display); }
body .owner-nav-context .data-note { font-size:11px; }
body .owner-metrics { gap:14px; margin-bottom:22px; }
body .owner-metrics .card { position:relative; padding:22px; border-top:3px solid var(--teal); }
body .owner-metrics .card h2 { font-size:38px; font-weight:500; }
body .owner-route-guide { background:var(--paper); }
body .owner-route-guide h2 { font:400 28px var(--display); }
body .owner-route-guide li span { font-size:13px; }
.owner-command-center { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr); gap:24px; margin:0 0 24px; }
.owner-command-intro { position:relative; padding:30px; border:1px solid var(--line); border-radius:20px; background:var(--teal-soft); align-self:start; overflow:hidden; }
body .owner-portal .owner-command-intro h2 { font:400 clamp(28px,3vw,38px)/1.15 var(--display); letter-spacing:-.04em; margin:20px 0; max-width:15ch; }
body .owner-command-intro p { font-size:14px; line-height:1.8; }
.owner-command-intro .inline-actions { margin:22px 0; flex-direction:column; align-items:stretch; }
body .owner-command-intro small { font-size:11px; line-height:1.7; }
.owner-command-list { min-width:0; padding:24px; border:1px solid var(--line); border-radius:20px; background:var(--paper); }
body .owner-command-list .panel-head { flex-wrap:wrap; }
body .owner-command-list .panel-head h2 { font-size:19px; }
body .owner-command-list .data-note { font-size:11px; }
.owner-command-organization { display:grid; grid-template-columns:42px minmax(0,1fr); gap:14px; padding:18px 0; border-bottom:1px solid var(--line); }
.owner-command-organization:last-child { border-bottom:0; padding-bottom:0; }
.organization-monogram { display:grid; place-items:center; width:42px; height:42px; border-radius:12px; border:1px solid var(--line); background:var(--teal-soft); color:var(--ink); font-size:13px; }
body .owner-command-organization h3 { font-size:15px; margin:0 0 6px; overflow-wrap:anywhere; }
body .owner-portal .owner-command-organization p { font-size:12px; line-height:1.7; margin:0 0 8px; }
body .owner-command-organization .badge { font-size:10px; }
.owner-command-organization>.primary-btn { grid-column:2; justify-self:start; font-size:12px; }
body .owner-route-guide { display:none; }
body .owner-workspace-entry { padding:14px; border:1px solid var(--line); border-radius:14px; margin-bottom:10px; background:var(--paper); }
body .owner-workspace { padding:8px 4px; border:0; box-shadow:none; margin:0; text-align:left; background:transparent; display:grid; }
body .owner-workspace>strong { font-size:15px; }
body .owner-workspace>span { font-size:11px; }
body .owner-workspace-entry>.primary-btn { font-size:12px; }
body #ownerDetail { border-top:3px solid var(--teal); }
body .owner-management-banner { padding:14px 18px; border-left:3px solid var(--teal); border-radius:12px; background:var(--paper); margin-bottom:22px; }
body .owner-management-banner strong { font-size:15px; margin:4px 0; }
body .owner-management-banner p { font-size:11px; }

body .landing .landing-hero { padding-top:82px; padding-bottom:82px; }
body .landing h1 { font-size:clamp(44px,5vw,72px); line-height:1.02; max-width:16ch; }
body .landing .hero-kicker { letter-spacing:.22em; font-size:10px; }
body .landing .hero-copy p { font-size:16px; line-height:1.85; }
body .landing .landing-section h2 { font-size:clamp(32px,4vw,50px); max-width:23ch; }
body .landing .feature-card { position:relative; border-radius:4px 22px 4px 22px; padding:28px; border-top:3px solid #a9824c; }
body .landing .feature-icon { display:grid; place-items:center; width:44px; height:44px; border:1px solid #d8c8ae; border-radius:13px; background:#f4eddf; }
body .landing .feature-card h3 { font:400 25px var(--display); }
body .landing .feature-card p { font-size:14px; line-height:1.8; }
body .landing .price-card { border-radius:20px; padding:28px 24px; }
body .landing .price-card.featured { background:#fff9ed; transform:translateY(-8px); border-color:#a9824c; }
body .landing .price-value { font-size:44px; letter-spacing:-.05em; }
body .landing .landing-proof { background:#18241f; }
body .landing .proof-item { color:#d9dfd8; font-size:13px; line-height:1.65; }
body .landing .proof-num { color:#d0b77c; border-color:#9c844f; }
body .recognition-dialog { width:min(660px,calc(100% - 24px)); padding:0; }
body .recognition-dialog .modal-head { padding:30px; border-top:3px solid var(--teal); }
body .recognition-dialog .modal-head h2 { font:400 34px/1.2 var(--display); letter-spacing:-.035em; margin:12px 0; }
body .recognition-dialog .modal-head p { font-size:14px; line-height:1.75; max-width:48ch; }
body .recognition-dialog .modal-body { padding:26px 30px; display:grid; grid-template-columns:1fr 1fr; gap:18px; }
body .recognition-dialog .modal-body>.field { margin:0; min-width:0; }
body .recognition-dialog .modal-body>.field:first-child { grid-column:1/-1; }
body .recognition-dialog .modal-body>:not(.field) { grid-column:1/-1; }
body .recognition-dialog .field label { font-size:12px; font-weight:650; }
body .recognition-dialog select { font-size:14px; border-radius:10px; padding:12px; width:100%; }
body .recognition-dialog .recognition-prompt { border-radius:14px; padding:20px; border:1px solid var(--line); background:var(--teal-soft); font-size:14px; line-height:1.8; }
body .recognition-dialog .data-note { font-size:12px; line-height:1.7; margin:0; }
body .recognition-dialog .modal-actions { padding-top:8px; }

@keyframes experience-enter { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@keyframes experience-dialog { from { opacity:0; transform:translateY(16px) scale(.98); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:no-preference) {
  body:not([data-motion="reduced"]) .section-page.active { animation:experience-enter .3s ease both; }
  body:not([data-motion="reduced"]) .portal-section-panel:not([hidden]) { animation:experience-enter .25s ease both; }
  body:not([data-motion="reduced"]) dialog[open] { animation:experience-dialog .22s ease both; }
  body:not([data-motion="reduced"]) .reward-card { animation:experience-enter .35s ease both; }
}
body[data-depth="flat"] :is(.experience-spotlight,.reward-card,.owner-workspace-entry,.spotlight-art) { box-shadow:none; }
body[data-corners="crisp"] { --experience-radius:6px; }
body[data-corners="crisp"] :is(.experience-spotlight,.reward-art,.reward-preview-facts>div,.owner-workspace-entry,.owner-command-intro,.owner-command-list,.spotlight-art) { border-radius:6px; }
body[data-text-size="large"] :is(.app,.owner-portal,dialog) :is(p,small,label,input,select,textarea,td,li,button,.data-note,.unit-sub,.feed-text) { font-size:18px; line-height:1.65; }
body[data-text-size="large"] .app .nav button { font-size:16px; }
body[data-contrast="high"] :is(.app,.owner-portal,dialog) :is(.card,.panel,.experience-spotlight,.reward-preview-facts>div,.owner-workspace-entry) { border-color:var(--line); box-shadow:none; }
body[data-contrast="high"] :is(.spotlight-visual,.reward-art)::before,body[data-contrast="high"] :is(.spotlight-visual,.reward-art)::after { display:none; }
body[data-motion="reduced"] .app :is(.nav button,.primary-btn,.reward-card):is(:hover,:active) { transform:none !important; }
@media(prefers-reduced-motion:reduce) {
  body .app :is(.nav button,.primary-btn,.reward-card):is(:hover,:active) { transform:none !important; }
}
@media(max-width:1200px) {
  body .app .content { padding:24px; }
  body .app .topbar { padding:14px 24px; }
  body .app .grid.stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .spotlight-copy { padding:26px; }
}
@media(max-width:900px) {
  .experience-spotlight { grid-template-columns:minmax(0,1fr) 210px; gap:0; }
  body #fullFeed { grid-template-columns:1fr; }
  body .app .portal-action-grid { grid-template-columns:1fr; }
  body .app .portal-action { display:grid; grid-template-columns:1fr; }
}
@media(max-width:760px) {
  body .app .sidebar { width:min(300px,calc(100vw - 32px)); }
  body .app .main { margin-left:0; }
  body .app .content { padding:20px 16px 44px; }
  body :is(.app,.owner-portal) .topbar { padding:12px 16px; gap:10px; }
  body :is(.app,.owner-portal) .welcome { padding:8px 0 18px !important; }
  body :is(.app,.owner-portal) .welcome>div { flex:none; width:100%; }
  body :is(.app,.owner-portal) .welcome h1 { font-size:30px; }
  .experience-spotlight { grid-template-columns:1fr; border-radius:20px; }
  .spotlight-copy { padding:24px; }
  .spotlight-visual { flex-direction:row; gap:24px; border-left:0; border-top:1px solid var(--line); padding:24px; min-height:150px; }
  .spotlight-art { width:78px; height:78px; border-radius:20px; }
  .spotlight-art svg { width:40px; height:40px; }
  .spotlight-balance { margin:0; text-align:left; }
  body .app .spotlight-balance strong { font-size:34px; }
  .spotlight-signature { display:none; }
  body .app .grid.lower { grid-template-columns:1fr; }
  body .owner-portal { grid-template-columns:1fr; }
  body .owner-portal>.owner-navigation { flex-direction:row; margin:14px 16px; padding:12px; }
  body .owner-nav-context { width:100%; padding:4px 8px 10px; }
  body .owner-content { padding:20px 16px 44px !important; }
  body .owner-metrics { grid-template-columns:1fr; }
  .owner-command-center { grid-template-columns:1fr; }
  .owner-command-intro,.owner-command-list { padding:22px; }
  .catalog-heading { flex-wrap:wrap; }
  body .app .reward-art { min-height:170px; }
  body .app .reward-filters { padding:14px; }
  body .app .grid.stats { gap:10px; }
  body .app .stat-value { font-size:26px; }
  body .app .stat { padding:14px !important; }
  body .landing .landing-hero { padding:48px 20px 60px; }
  body .landing h1 { font-size:44px; }
  body .landing .price-card.featured { transform:none; }
  body .recognition-dialog .modal-body { grid-template-columns:1fr; padding:20px; }
  body .recognition-dialog .modal-head { padding:24px 20px; }
}
@media(forced-colors:active) {
  :is(.spotlight-art,.reward-art,.spotlight-visual) { background:Canvas; color:CanvasText; border:1px solid CanvasText; }
  .spotlight-art svg { stroke:CanvasText; }
  body .app .progress { border:1px solid CanvasText; }
  body .app .progress>span { background:Highlight; }
}
@media print { .experience-spotlight,.catalog-heading { break-inside:avoid; box-shadow:none; } }

.workspace-sync-bar { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:10px 28px; background:var(--paper); border-bottom:1px solid var(--line); font-size:12px; }
.workspace-sync-bar time { color:var(--readable-muted); margin-left:auto; }
.workspace-sync-bar .secondary-btn { min-height:44px; font-size:12px; }
.sync-indicator { width:8px; height:8px; border-radius:50%; background:var(--teal); }
.workspace-sync-bar[data-sync-state="error"] .sync-indicator,.workspace-sync-bar[data-sync-state="offline"] .sync-indicator { background:#c45a45; }
body .app :is(.daily-action-center,.employee-path) { padding:26px; margin-bottom:22px; }
.daily-action-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.daily-action { text-align:left; display:grid; align-content:start; gap:10px; min-width:0; padding:18px; border:1px solid var(--line); border-radius:14px; background:var(--paper); color:var(--ink); min-height:44px; }
.daily-action:hover,.daily-action:focus-visible { border-color:var(--teal); background:var(--teal-soft); }
.daily-action.needs-attention { border-top:3px solid var(--gold); }
.daily-action-count { font-size:32px; font-variant-numeric:tabular-nums; }
.daily-action>strong { font-size:14px; }
.daily-action>span:not(.daily-action-count),.daily-action>small { font-size:12px; line-height:1.7; }
.employee-path { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
body .employee-path h2 { font:400 28px/1.2 var(--display); margin:12px 0; }
.employee-path p { font-size:14px; line-height:1.8; }
.employee-path>.data-note { grid-column:1/-1; margin:0; }
.journey-milestones { display:grid; gap:10px; list-style:none; padding:0; margin:0; }
.journey-milestones li { display:grid; grid-template-columns:22px 1fr auto; align-items:center; gap:10px; padding:14px; border:1px solid var(--line); border-radius:12px; font-size:13px; }
.journey-milestones li.is-earned { background:var(--teal-soft); }
.journey-milestones small { font-size:12px; }
.reward-request-timeline { list-style:none; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.reward-request-timeline li { display:grid; min-width:0; gap:8px; padding:12px; border-top:3px solid var(--line); font-size:12px; overflow-wrap:anywhere; }
.reward-request-timeline .timeline-current { border-color:var(--teal); background:var(--teal-soft); }
.reward-request-timeline .timeline-done { border-color:var(--teal); }
.reward-request-timeline .timeline-stopped { border-style:dashed; }
.reward-request-timeline small { font-size:11px; }
body :is(.app,dialog) .reward-photograph { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:2; }
.reward-photo-preview { display:block; max-width:100%; max-height:240px; margin:16px auto; object-fit:contain; border-radius:12px; }
.integration-health { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0; }
.integration-health>div { display:grid; gap:8px; padding:18px; background:var(--teal-soft); border:1px solid var(--line); border-radius:12px; overflow-wrap:anywhere; }
.integration-health span { font-size:12px; }
.integration-health strong { font-size:14px; }
body[data-corners="crisp"] :is(.daily-action,.journey-milestones li,.integration-health>div) { border-radius:6px; }
@media(max-width:1100px) { .daily-action-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
  .workspace-sync-bar { display:grid; grid-template-columns:8px minmax(0,1fr) auto; column-gap:10px; row-gap:3px; padding:10px 16px; }
  .workspace-sync-bar .sync-indicator { grid-column:1; grid-row:1; }
  .workspace-sync-bar #workspaceSyncStatus { grid-column:2; grid-row:1; min-width:0; }
  .workspace-sync-bar time { grid-column:2; grid-row:2; width:auto; margin:0; }
  .workspace-sync-bar time:empty { display:none; }
  .workspace-sync-bar button { grid-column:3; grid-row:1 / span 2; max-width:110px; white-space:normal; text-align:center; }
  .daily-action-grid,.employee-path,.integration-health { grid-template-columns:1fr; }
  body .app :is(.daily-action-center,.employee-path) { padding:20px; }
  .reward-request-timeline { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .journey-milestones li { grid-template-columns:22px minmax(0,1fr); }
  .journey-milestones small { grid-column:2; }
}
@media(max-width:480px) {
  .reward-request-timeline { grid-template-columns:1fr; }
}

.workspace-identity { --brand-accent:#234a40; margin-bottom:24px; overflow:hidden; border-top:4px solid var(--brand-accent); }
body .app .workspace-identity { border-top:4px solid var(--brand-accent); }
.workspace-identity[data-brand-palette="amethyst"] { --brand-accent:#4f3e69; }
.workspace-identity[data-brand-palette="champagne"] { --brand-accent:#645036; }
.workspace-identity[data-brand-palette="midnight"] { --brand-accent:#253849; }
.recognition-wall-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:20px 0; }
.campaign-workspace { display:grid; gap:20px; }
.campaign-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin:24px 0; }
.campaign-card { min-width:0; display:flex; flex-direction:column; gap:16px; padding:26px; border:1px solid var(--line); border-top:4px solid var(--teal); border-radius:18px; background:var(--paper); overflow-wrap:anywhere; }
.campaign-card[data-campaign-phase="upcoming"] { border-top-color:var(--gold); }
.campaign-card[data-campaign-phase="closed"],.campaign-card[data-campaign-phase="ended"] { border-top-color:var(--readable-muted); }
body .app .campaign-card h3 { font:400 28px/1.3 var(--display); margin:0; }
.campaign-card p,.campaign-linked p { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.7; }
.campaign-card-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:auto; }
.campaign-card-footer .badge { white-space:normal; }
.campaign-date-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; max-width:720px; }
.campaign-option { display:flex; align-items:flex-start; gap:12px; padding:14px; margin-bottom:10px; border:1px solid var(--line); border-radius:10px; overflow-wrap:anywhere; }
.campaign-option input { flex:0 0 auto; margin-top:4px; width:20px; height:20px; }
.campaign-option span { min-width:0; display:grid; gap:6px; }
.campaign-option small { color:var(--readable-muted); line-height:1.6; }
.campaign-linked { display:grid; gap:12px; margin:18px 0; padding:22px; border:1px solid var(--line); border-radius:12px; min-width:0; }
.campaign-linked button { justify-self:start; }
body[data-corners="crisp"] :is(.campaign-card,.campaign-option,.campaign-linked) { border-radius:6px; }
@media(max-width:760px) { .campaign-grid,.campaign-date-fields { grid-template-columns:minmax(0,1fr); } .campaign-card,.campaign-linked { padding:18px; } }
.recognition-wall-card { display:flex; flex-direction:column; gap:12px; min-width:0; padding:24px; border:1px solid var(--line); border-radius:18px; background:var(--paper); border-top:3px solid var(--teal); overflow-wrap:anywhere; }
body .app .recognition-wall-card h3 { font:400 27px/1.3 var(--display); margin:0; }
.recognition-wall-card p { margin:0; color:var(--readable-muted); }
.recognition-wall-card .wall-contribution { color:var(--ink); font-size:17px; line-height:1.6; }
.recognition-wall-card .badge { align-self:flex-start; white-space:normal; }
.wall-card-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:auto; padding-top:12px; }
.wall-card-footer time { color:var(--readable-muted); font-size:13px; }
.wall-celebrate[aria-pressed="true"] { border:2px solid var(--teal); font-weight:700; }
body[data-corners="crisp"] .recognition-wall-card { border-radius:6px; }
@media(max-width:760px) { .recognition-wall-grid { grid-template-columns:minmax(0,1fr); } .recognition-wall-card { padding:20px; } }
.workspace-identity-cover-wrap { position:relative; height:180px; background:var(--teal-soft); }
.workspace-identity-copy { padding:28px; }
.workspace-identity-header { display:flex; align-items:center; gap:20px; }
.workspace-identity-header>div:last-child { min-width:0; }
.workspace-identity-mark { position:relative; flex:0 0 80px; width:80px; height:80px; display:grid; place-items:center; background:var(--brand-accent); color:#fff; border-radius:18px; overflow:hidden; font:400 36px var(--display); }
body .app .workspace-identity-mark .workspace-identity-logo { object-fit:contain; background:#fff; }
body .app .workspace-identity h2 { margin:8px 0; font:400 30px/1.25 var(--display); overflow-wrap:anywhere; }
.workspace-identity-copy>p { font-size:15px; line-height:1.8; max-width:75ch; white-space:pre-wrap; overflow-wrap:anywhere; }
.workspace-identity-signature { font-style:italic; }
.workspace-identity-values { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:0; margin:24px 0; list-style:none; }
.workspace-identity-values li { display:grid; align-content:start; gap:8px; padding:16px; border:1px solid var(--line); border-radius:12px; background:var(--paper); min-width:0; overflow-wrap:anywhere; }
.workspace-identity-values strong { font-size:14px; }
.workspace-identity-values span { font-size:13px; line-height:1.7; color:var(--readable-muted); }
.workspace-identity-fields { border:1px solid var(--line); border-radius:12px; padding:20px; margin:20px 0; min-width:0; }
.workspace-identity-fields legend { padding:0 8px; font-weight:650; }
.workspace-identity-fields>.field { max-width:720px; }
.workspace-value-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:16px; border-bottom:1px solid var(--line); padding:12px 0; }
body[data-corners="crisp"] :is(.workspace-identity-mark,.workspace-identity-values li,.workspace-identity-fields) { border-radius:6px; }
body[data-contrast="high"] .workspace-identity { border-color:var(--line); }
@media(max-width:760px) {
  .workspace-identity-copy { padding:20px; }
  .workspace-identity-cover-wrap { height:140px; }
  .workspace-identity-header { align-items:flex-start; gap:14px; }
  .workspace-identity-mark { flex-basis:58px; width:58px; height:58px; font-size:28px; }
  .workspace-identity-values,.workspace-value-fields { grid-template-columns:minmax(0,1fr); }
  .workspace-identity-fields { padding:14px; }
}
@media(forced-colors:active) {
  .workspace-identity { border-color:CanvasText; }
  .workspace-identity-mark { background:Canvas; color:CanvasText; border:1px solid CanvasText; }
}
