:root {
  color-scheme: light;
  --housing-image: url("images/housing-construction.webp");
  --page: #f5f7f9;
  --surface: #fff;
  --ink: #172b3a;
  --muted: #617180;
  --line: #e0e7ec;
  --accent: #126b5d;
  --accent-dark: #0c5146;
  --accent-soft: #eaf5f1;
  --card-line: #dce4e9;
  --card-hover-line: #8bb8a8;
  --card-radius: 11px;
  --card-shadow: 0 2px 3px rgba(23,43,58,0.02);
  --card-hover-shadow: 0 4px 16px rgba(20,65,51,.07);
  --success: #267d64;
  --success-soft: #eaf5ef;
  --info: #426fba;
  --info-soft: #edf3fd;
  --violet: #7d60a7;
  --violet-soft: #f3effb;
  --warning: #a47625;
  --warning-soft: #fbf4e8;
  --slate: #536b85;
  --slate-soft: #edf1f5;
  --danger: #b42318;
  --danger-soft: #fff1f0;
  --danger-line: #fac9c5;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 24px; }
body { font-family: 'Inter', Arial, sans-serif; color: var(--ink); background: var(--page); min-height: 100vh; line-height: 1.5; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, input, a { outline-offset: 4px; }
:focus-visible { outline: 3px solid #198575; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--accent); color: white; padding: 12px 20px; z-index: 100003; border-radius: 6px; }
.skip-link:focus { top: 12px; }
.mr-1 { margin-right: 4px; } .mr-2 { margin-right: 8px; }
.text-yellow-500 { color: #926b22; } .text-sm { font-size: 14px; }
.top-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px max(28px, calc((100% - 1240px) / 2)); background: var(--surface); min-height: 86px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; max-width: 550px; }
.brand-logo { width: 64px; height: 54px; object-fit: contain; flex-shrink: 0; }
.brand-copy { min-width: 0; }
.brand-copy strong { font-size: 15px; letter-spacing: -0.3px; line-height: 1.5; }
.brand-workspace { display: block; font-size: 12px; font-weight: 400; color: #536574; letter-spacing: .2px; }
.auth-section { display: flex; align-items: center; gap: 20px; min-width: 0; }
.auth-user-pill { display: none; align-items: center; gap: 10px; min-width: 0; }
.user-avatar { width: 40px; height: 40px; background: #e8f2ee; color: var(--accent); border: 1px solid #d7e8e0; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 13px; font-weight: 700; }
.user-identity { display: flex; flex-direction: column; min-width: 0; }
#user-name-span { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; max-width: 290px; }
#userRoleLabel { font-size: 11px; color: var(--muted); text-transform: capitalize; }
.btn-login-pill, .btn-logout-pill { display: none; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: white; color: #5a6874; font-size: 12px; font-weight: 600; white-space: nowrap; }
.btn-logout-pill i { margin-right: 8px; }
.btn-logout-pill:hover { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); }
.workspace-nav { background: white; border-bottom: 1px solid var(--line); }
.workspace-nav-inner { max-width: 1240px; margin: auto; display: flex; align-items: stretch; gap: 28px; }
.workspace-nav a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-bottom: 2px solid transparent; font-size: 13px; font-weight: 500; color: var(--muted); }
.workspace-nav .nav-current { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.workspace-nav .stealth-admin-btn { margin-left: auto; font-size: 12px; }
.workspace-nav a:hover { color: var(--accent); }
.bottom-panel { max-width: 1240px; width: calc(100% - 56px); margin: 0 auto; padding: 28px 0 0; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.eyebrow { font-size: 10px; letter-spacing: 1.5px; font-weight: 600; color: #74828e; }
.page-heading h1 { font-size: 25px; letter-spacing: -0.7px; font-weight: 700; margin-top: 5px; }
#todayLabel { font-size: 12px; color: var(--muted); }
.hero { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; min-height: 232px; border: 1px solid #d9e5df; border-radius: 14px; background: #edf5f1; overflow: hidden; margin-bottom: 32px; }
.hero-content { position: relative; z-index: 1; padding: 30px 34px; align-self: center; }
.welcome-label { display: flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 700; font-size: 9px; letter-spacing: 1.6px; }
.welcome-dot { width: 6px; height: 6px; border-radius: 50%; background: #3c9271; }
.hero-title { font-size: clamp(23px, 2.5vw, 31px); line-height: 1.3; letter-spacing: -1px; margin-top: 12px; overflow-wrap: anywhere; }
.hero-content p { max-width: 460px; color: #576c65; font-size: 13px; line-height: 1.8; margin-top: 10px; }
.hero-content .attendance-warning { color: #a12020; background: #fff0ef; border: 1px solid #f0b8b3; border-left: 3px solid #bf3434; border-radius: 7px; padding: 10px 12px; font-weight: 600; }
.attendance-link { display: inline-flex; gap: 12px; align-items: center; color: #a12020; font-size: 12px; font-weight: 600; min-height: 44px; margin-top: 8px; text-decoration: underline; text-underline-offset: 3px; }
.attendance-link:not([hidden]) + .primary-link { display: none; }
.primary-link { display: inline-flex; align-items: center; gap: 20px; min-height: 42px; background: var(--accent); color: white; border-radius: 7px; padding: 10px 16px; font-size: 12px; font-weight: 600; margin-top: 20px; }
.primary-link:hover { background: var(--accent-dark); }
.hero-visual { position: relative; min-width: 0; background-image: linear-gradient(90deg, #edf5f1 0%, rgba(237,245,241,0.15) 35%, rgba(237,245,241,0) 65%), var(--housing-image); background-size: cover; background-position: 60% center; }
.hero-visual span { position: absolute; top: 14px; left: 10px; right: 10px; text-align: center; font-size: 10px; font-weight: 500; color: #233c38; text-shadow: 0 1px 5px #fff; }
.directory-toolbar { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 26px; }
.directory-toolbar h2 { font-size: 18px; letter-spacing: -0.4px; font-weight: 700; }
.directory-toolbar p { font-size: 12px; color: var(--muted); margin-top: 3px; }
.menu-section { scroll-margin-top: 20px; margin-bottom: 28px; }
.section-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 12px; }
.section-heading h2 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.section-heading > span { font-size: 11px; color: var(--muted); }
.count-badge { display: inline-grid; place-items: center; min-width: 22px; height: 21px; padding: 0 6px; border-radius: 5px; background: #e7edf0; color: #576875; font-size: 10px; font-weight: 600; }
.cards-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.role-card { display: flex; flex-direction: column; min-width: 0; background: white; border: 1px solid var(--card-line); padding: 20px; border-radius: var(--card-radius); box-shadow: var(--card-shadow); transition: border-color .18s, box-shadow .18s; }
.role-card:hover { border-color: var(--card-hover-line); box-shadow: var(--card-hover-shadow); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.module-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; font-size: 16px; }
.tone-teal { background: var(--success-soft); color: var(--success); }
.tone-blue { background: var(--info-soft); color: var(--info); }
.tone-violet { background: var(--violet-soft); color: var(--violet); }
.tone-amber { background: var(--warning-soft); color: var(--warning); }
.tone-slate { background: var(--slate-soft); color: var(--slate); }
.card-arrow { color: #91a1ad; font-size: 12px; }
.role-title { font-size: 15px; font-weight: 600; letter-spacing: -0.2px; line-height: 1.5; }
.role-desc { color: var(--muted); font-size: 12px; line-height: 1.8; margin-top: 6px; margin-bottom: 18px; }
.card-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--accent); font-size: 11px; font-weight: 600; border-top: 1px solid #edf1f3; padding-top: 12px; margin-top: auto; }
.personal-card { padding: 18px 20px; }
.personal-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.personal-card .card-top { margin-bottom: 10px; }
.personal-card .role-desc { margin-bottom: 0; }
.personal-card .card-action { display: none; }
.section-empty { padding: 20px; border: 1px dashed #cbd6dd; border-radius: 10px; color: var(--muted); font-size: 13px; background: #fafcfd; }
.restricted-modules { border: 1px solid var(--line); background: #f9fafb; border-radius: 10px; margin-bottom: 28px; }
.restricted-modules summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 20px; cursor: pointer; list-style: none; font-size: 12px; color: #5c6c78; }
.restricted-modules summary::-webkit-details-marker { display: none; }
.restricted-modules summary > span { display: flex; align-items: center; gap: 10px; }
.restricted-modules[open] summary { border-bottom: 1px solid var(--line); }
.restricted-modules[open] .fa-chevron-down { transform: rotate(180deg); }
.restricted-modules > p { font-size: 12px; color: var(--muted); padding: 16px 20px; }
.restricted-modules .cards-container { padding: 0 20px 20px; }
.role-card.disabled { background: #f9fafb; box-shadow: none; }
.role-card.disabled .card-action { display: none; }
.role-card.disabled .card-arrow { visibility: hidden; }
.role-card.disabled::after { content: 'Akses terbatas'; font-size: 11px; color: #6b7480; margin-top: auto; }
.role-card.disabled .module-icon { background: #e9eef1; color: #6c7a87; }
.role-card.disabled:hover { border-color: #c2ccd4; }
.footer-note { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: #75838d; padding: 22px 0 100px; }

/* Login uses the same palette; the photograph is supporting decoration. */
.wrap-overlay { position: fixed; inset: 0; top: var(--visible-top, 0px); height: var(--visible-height, 100dvh); z-index: 99999; display: flex; padding: 32px 20px; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; background: #edf3f0; }
.wrap-bg { position: fixed; inset: 0; background: linear-gradient(90deg, rgba(238,245,240,.83), rgba(243,247,245,.92)), var(--housing-image) center / cover no-repeat; pointer-events: none; }
.wrap-content { position: relative; width: 100%; max-width: 440px; margin: auto; background: white; border: 1px solid #dbe5df; box-shadow: 0 20px 70px rgba(28,66,50,.1); border-radius: 18px; padding: 36px; text-align: center; }
.wrap-lock-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 14px; background: var(--accent-soft); border: 1px solid #d2e8df; color: var(--accent); font-size: 22px; }
.wrap-brand { font-size: 12px; letter-spacing: .2px; line-height: 1.7; color: var(--accent); font-weight: 700; margin-bottom: 10px; }
.wrap-title { font-size: 24px; letter-spacing: -.8px; font-weight: 700; line-height: 1.4; }
.wrap-subtitle { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.8; }
.wrap-login-box { margin-top: 28px; text-align: left; }
.wrap-code-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.wrap-login-box input { width: 100%; min-width: 0; padding: 12px 14px; background: #f9fbfa; border: 1px solid #cdd9d3; border-radius: 8px; color: var(--ink); font-size: 28px; font-family: monospace; letter-spacing: .4em; text-align: center; min-height: 60px; }
.wrap-login-box input::placeholder { color: #99aaa2; }
.wrap-code-hint { font-size: 11px; color: var(--muted); line-height: 1.7; margin-top: 8px; }
.wrap-submit { display: block; width: 100%; background: var(--accent); color: white; border: 0; border-radius: 8px; padding: 14px 12px; min-height: 48px; font-size: 13px; font-weight: 600; margin-top: 20px; }
.wrap-submit:hover { background: var(--accent-dark); }
.wrap-submit:disabled { opacity: .6; cursor: not-allowed; }
.wrap-status { text-align: center; font-size: 12px; margin-top: 12px; min-height: 18px; }
.wrap-status button { min-height: 44px; color: #34495a !important; border-color: #bdcbd4 !important; }
.wrap-login-box.is-blocked { border-radius: 8px; }
.login-footer { margin-top: 22px; color: var(--muted); font-size: 10px; line-height: 1.8; }
.login-footer i { margin-right: 5px; }
.wrap-overlay.hidden { display: none; }
body.wrap-locked { overflow: hidden; }
body.wrap-locked .ai-chat-btn, body.wrap-locked .stealth-admin-btn { visibility: hidden; }
.wrap-overlay.revealing { animation: wrapReveal .3s ease forwards; }
@keyframes wrapReveal { to { opacity: 0; } }
.wrap-login-box.shake { animation: wrapShake .3s ease; }
@keyframes wrapShake { 25%, 75% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }

/* Assistant panel and status feedback. */
.ai-chat-btn { position: fixed; bottom: 20px; right: 24px; display: flex; align-items: center; justify-content: center; gap: 9px; background: var(--accent); color: white; border: 1px solid var(--accent-dark); border-radius: 28px; min-height: 48px; padding: 12px 18px; font-size: 12px; font-weight: 600; box-shadow: 0 4px 16px rgba(15,74,55,.16); z-index: 100000; }
.ai-chat-btn i { font-size: 18px; }
.ai-chat-btn:hover { background: var(--accent-dark); }
.ai-chat-panel { position: fixed; right: 24px; bottom: 82px; width: 390px; max-width: calc(100vw - 32px); height: 510px; max-height: calc(100dvh - 104px); display: flex; flex-direction: column; background: white; color: var(--ink); border: 1px solid #d7e2dd; border-radius: 16px; box-shadow: 0 12px 60px rgba(21,47,36,.18); z-index: 100001; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); transition: opacity .18s, transform .18s; }
.ai-chat-panel.active { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.chat-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.chat-header strong { font-size: 14px; }
.chat-header small { display: block; font-size: 11px; color: var(--muted); }
.chat-close { min-width: 44px; min-height: 44px; border: 0; border-radius: 8px; background: transparent; color: #516879; }
#chatMessages { flex: 1; min-height: 0; padding: 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; overscroll-behavior: contain; }
.chat-bubble { max-width: 88%; padding: 10px 14px; border-radius: 12px; }
.chat-user { align-self: flex-end; background: var(--accent); color: white; border-bottom-right-radius: 3px; }
.chat-model { align-self: flex-start; background: #f0f5f3; border: 1px solid #e0ebe6; border-bottom-left-radius: 3px; }
.chat-error { align-self: flex-start; background: #fff1ef; border: 1px solid #f4d2cc; color: #a32b20; }
.chat-notice { text-align: center; color: var(--muted); font-size: 11px; }
.chat-compose { padding: 14px; border-top: 1px solid var(--line); flex-shrink: 0; }
.chat-input-row { display: flex; align-items: center; padding: 4px 4px 4px 12px; border: 1px solid #cddbd4; border-radius: 10px; }
#chatInput { width: 100%; min-width: 0; border: 0; background: transparent; font-size: 14px; color: var(--ink); min-height: 44px; }
.chat-send { display: grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 8px; border: 0; color: white; background: var(--accent); }
#toastContainer { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); display: flex; flex-direction: column; gap: 10px; z-index: 100002; pointer-events: none; }
.toast-msg { background: #334d46; color: white; border-radius: 10px; padding: 12px 18px; font-size: 13px; box-shadow: 0 4px 20px #0002; }

@media (max-width: 1296px) { .workspace-nav-inner { margin-inline: 28px; } }
@media (min-width: 601px) {
  .cards-container.single-menu { grid-template-columns: minmax(0, 1fr); }
  .single-menu .role-card { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 20px; row-gap: 4px; align-items: center; }
  .single-menu .card-top { grid-column: 1; grid-row: 1 / 3; margin: 0; }
  .single-menu .card-arrow { display: none; }
  .single-menu .role-title { grid-column: 2; grid-row: 1; }
  .single-menu .role-desc { grid-column: 2; grid-row: 2; margin: 0; }
  .single-menu .card-action { display: flex; grid-column: 3; grid-row: 1 / 3; border: 0; padding: 0; margin: 0; gap: 20px; }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1.4fr 1fr; }
  .hero-content { padding: 26px; }
  .cards-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personal-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .personal-card { padding: 16px; }
}
@media (max-width: 600px) {
  :root { --housing-image: url("images/housing-construction-mobile.webp"); }
  body { min-height: 100svh; }
  .top-nav { flex-wrap: wrap; gap: 14px; padding: calc(16px + env(safe-area-inset-top)) 20px 14px; }
  .brand { width: 100%; flex: 0 0 100%; gap: 10px; }
  .brand-logo { width: 52px; height: 44px; }
  .brand-copy strong { font-size: 13px; }
  .brand-workspace { font-size: 11px; }
  .auth-section { width: 100%; gap: 12px; border-top: 1px solid #eef2f4; padding-top: 12px; }
  .auth-user-pill { flex: 1; }
  #user-name-span { font-size: 12px; }
  .user-avatar { width: 34px; height: 34px; font-size: 11px; }
  .btn-logout-pill { border: 0; min-width: 44px; padding-inline: 8px; }
  .btn-logout-pill span { display: none; }
  .btn-logout-pill i { margin: 0; }
  .workspace-nav-inner { margin: 0 20px; gap: 18px; }
  .workspace-nav a { font-size: 11px; min-height: 48px; gap: 5px; white-space: nowrap; }
  .workspace-nav .stealth-admin-btn { min-width: 32px; }
  .stealth-admin-btn span { display: none; }
  .bottom-panel { width: calc(100% - 40px); padding-top: 22px; }
  .page-heading { margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
  .page-heading h1 { font-size: 23px; }
  #todayLabel { font-size: 10px; }
  .eyebrow { font-size: 9px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; margin-bottom: 26px; }
  .hero-content { padding: 20px; }
  .hero-title { font-size: 22px; letter-spacing: -.7px; }
  .hero-content p { font-size: 12px; line-height: 1.75; }
  .hero-visual { position: absolute; inset: 0; background-position: 60% center; background-image: linear-gradient(90deg, #edf5f1 5%, rgba(237,245,241,.95) 50%, rgba(237,245,241,.7)), var(--housing-image); }
  .hero-visual span { display: none; }
  .primary-link { display: none; }
  .directory-toolbar { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 22px; }
  .directory-toolbar h2 { font-size: 17px; }
  .directory-toolbar p { font-size: 11px; }
  .cards-container, .personal-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .section-heading > span { display: none; }
  .role-card { padding: 18px; }
  .personal-card { position: relative; padding: 18px 38px 18px 72px; min-height: 94px; justify-content: center; }
  .personal-card .card-top { margin: 0; }
  .personal-card .module-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); }
  .personal-card .card-arrow { position: absolute; right: 16px; top: 50%; }
  .personal-card .role-title { font-size: 14px; }
  .personal-card .role-desc { font-size: 11px; margin-top: 4px; }
  .restricted-modules summary { padding: 14px; font-size: 11px; }
  .restricted-hint { font-size: 0; }
  .restricted-hint i { font-size: 10px; }
  .restricted-modules .cards-container { padding: 0 12px 12px; }
  .restricted-modules > p { padding: 14px; }
  .footer-note { flex-direction: column; gap: 4px; font-size: 9px; padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .ai-chat-btn { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); min-width: 48px; padding: 12px; }
  .ai-chat-btn span { display: none; }
  .ai-chat-panel { top: var(--visible-top, 0px); right: 0; bottom: auto; width: 100%; max-width: none; height: var(--visible-height, 100dvh); max-height: none; border: 0; border-radius: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  #chatInput { font-size: 16px; }
  body.chat-open { overflow: hidden; }
  .wrap-overlay { padding: 20px 16px; }
  .wrap-content { padding: 28px 22px; }
  .wrap-title { font-size: 22px; }
  .wrap-subtitle { font-size: 12px; }
  .wrap-login-box input { font-size: 26px; }
}
.back-workspace { font-size: 12px; color: var(--accent); padding: 10px; min-height: 44px; display: flex; align-items: center; }
.activity-page { max-width: 1000px; padding-bottom: 48px; }
#activitySubtitle { font-size: 13px; color: var(--muted); margin-top: 8px; overflow-wrap: anywhere; }
.activity-surface { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
#activityStatus { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.activity-list { list-style: none; }
.activity-item { display: grid; grid-template-columns: 165px minmax(0, 1fr); gap: 22px; border-top: 1px solid var(--line); padding: 20px 0; }
.activity-time { font-size: 12px; color: var(--muted); padding-top: 3px; }
.activity-body h2 { font-size: 14px; line-height: 1.7; font-weight: 600; overflow-wrap: anywhere; white-space: pre-wrap; }
.activity-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 11px; color: var(--muted); margin-top: 8px; }
.activity-type { padding: 3px 8px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); overflow-wrap: anywhere; max-width: 100%; }
.activity-button { min-height: 44px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--accent); font-size: 12px; font-weight: 600; padding: 10px 16px; }
.activity-button:disabled { cursor: wait; opacity: .6; }
@media (max-width: 600px) {
  .activity-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .activity-surface { padding: 18px; }
  .activity-page .page-heading { align-items: flex-start; }
  .back-workspace { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
