:root {
  color-scheme: light;
  font-family: "DM Sans", system-ui, sans-serif;
  color: #26342f;
  background: #f6f7f4;
  --ink: #26342f;
  --muted: #75817c;
  --line: #e6e9e4;
  --surface: #ffffff;
  --sage: #dfece2;
  --sage-deep: #527b61;
  --peach: #ffe5d3;
  --peach-deep: #cf7444;
  --lavender: #ebe6f6;
  --lavender-deep: #74668f;
  --yellow: #fff1c9;
  --red: #f8dfdf;
  --shadow: 0 18px 45px rgba(58, 71, 63, .08);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f6f7f4; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4, .brand { font-family: "Manrope", sans-serif; }
.muted { color: var(--muted); }
.eyebrow { color: var(--peach-deep); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #f7c9a8; }

.login-page { display: grid; grid-template-columns: minmax(420px, 1fr) minmax(480px, .9fr); min-height: 100vh; }
.login-story { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 44px 6vw; color: white; background: #435f50; }
.login-story::before, .login-story::after { content: ""; position: absolute; border-radius: 50%; opacity: .28; }
.login-story::before { width: 560px; height: 560px; right: -220px; top: -190px; background: #f9c7a4; }
.login-story::after { width: 400px; height: 400px; left: -180px; bottom: -230px; background: #b9a9d5; }
.brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; color: var(--ink); font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.brand-light {
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(3, 0, 87, .28);
}
.brand-mark { display: flex; align-items: flex-end; gap: 3px; width: 31px; height: 31px; padding: 7px; border-radius: 10px; background: var(--peach); }
.brand-mark span { display: block; width: 4px; border-radius: 4px; background: #bc7149; }
.brand-mark span:nth-child(1) { height: 8px; }
.brand-mark span:nth-child(2) { height: 14px; }
.brand-mark span:nth-child(3) { height: 11px; }
.story-copy { position: relative; z-index: 1; max-width: 680px; }
.story-copy h1 { margin: 18px 0; font-size: clamp(42px, 5vw, 72px); line-height: 1.08; letter-spacing: -.06em; }
.story-copy p { max-width: 570px; color: #dce7e0; font-size: 18px; line-height: 1.7; }
.story-stats { position: relative; z-index: 1; display: flex; gap: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2); }
.story-stats div { display: grid; gap: 5px; }
.story-stats strong { font-family: "Manrope"; font-size: 23px; }
.story-stats span { color: #dce7e0; font-size: 13px; }
.login-form-wrap { display: grid; place-items: center; padding: 40px; background: #fbfaf8; }
.login-card { width: min(430px, 100%); }
.login-card h2 { margin: 14px 0 8px; font-size: 32px; letter-spacing: -.04em; }
.login-card label { display: block; margin: 24px 0 8px; font-size: 13px; font-weight: 700; }
.mobile-brand { display: none; margin-bottom: 42px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 72px; }
.password-wrap button { position: absolute; right: 8px; top: 7px; }
input, textarea, select { width: 100%; border: 1px solid var(--line); border-radius: 12px; outline: none; background: white; color: var(--ink); transition: border .2s, box-shadow .2s; }
input, select { min-height: 46px; padding: 0 13px; }
textarea { min-height: 92px; padding: 13px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: #94b29c; box-shadow: 0 0 0 3px rgba(148,178,156,.16); }
.primary-button, .secondary-button, .ghost-button, .icon-button, .demo-login, .tab-button { border: 0; border-radius: 11px; font-weight: 700; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; color: white; background: #527b61; box-shadow: 0 8px 18px rgba(82,123,97,.18); }
.primary-button:hover { background: #456d54; }
.secondary-button { padding: 11px 16px; color: var(--ink); background: var(--sage); }
.ghost-button { padding: 10px 13px; color: #65716b; background: transparent; }
.ghost-button:hover { background: #f0f3ef; }
.icon-button { display: grid; place-items: center; min-width: 38px; min-height: 38px; padding: 0 10px; color: #65716b; background: #f3f5f2; border: 1px solid var(--line); }
.icon-button.compact { min-height: 32px; font-size: 11px; }
.full { width: 100%; margin-top: 24px; }
.error-message { min-height: 18px; margin-top: 10px; color: #b05b5b; font-size: 13px; }
.error-message.success-message { color: #297750; }
.login-help { margin: 18px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; text-align: center; }
.login-card .primary-button:disabled { cursor: wait; opacity: .7; transform: none; }
.login-card .ghost-button.full { width: 100%; margin-top: 12px; }
.demo-logins { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; color: var(--muted); font-size: 11px; }
.demo-login { padding: 7px 9px; color: #5f6f66; background: #eef2ed; font-size: 11px; }

.app-shell { display: grid; grid-template-columns: 238px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; padding: 28px 18px 18px; background: #fbfcfa; border-right: 1px solid var(--line); }
.sidebar .brand { padding: 0 10px 30px; }
#side-nav { display: grid; gap: 5px; }
.nav-button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 13px; border: 0; border-radius: 11px; color: #718079; background: transparent; font-weight: 600; text-align: left; }
.nav-button span { display: grid; place-items: center; width: 22px; height: 22px; color: #8a9690; font-size: 15px; }
.nav-button.active { color: #446c53; background: var(--sage); }
.sidebar-footer { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.profile-card { display: flex; align-items: center; width: 100%; gap: 10px; padding: 9px; border: 0; border-radius: 13px; background: transparent; text-align: left; }
.profile-card:hover { background: #f1f4f0; }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; color: #775a47; background: var(--peach); font-weight: 800; }
.profile-copy { display: grid; min-width: 0; }
.profile-copy strong, .profile-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy strong { font-size: 12px; }
.profile-copy small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.logout-icon { margin-left: auto; color: #9ba39f; }
.logout-button,
.topbar-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #e3def7;
  color: #6842cc;
  background: #fff;
  font-weight: 700;
}
.logout-button {
  width: 100%;
  margin-top: 9px;
  padding: 10px 12px;
  border-radius: 13px;
}
.topbar-logout {
  padding: 8px 12px;
  border-radius: 18px;
  font-size: 11px;
}
.logout-button:hover,
.topbar-logout:hover {
  border-color: #c9b9ef;
  background: #f3efff;
  transform: translateY(-1px);
}
.main-column { min-width: 0; }
.topbar { display: flex; align-items: center; min-height: 92px; padding: 20px 34px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.72); backdrop-filter: blur(16px); }
.topbar p { margin-bottom: 3px; color: var(--muted); font-size: 11px; font-weight: 600; }
.topbar h1 { margin: 0; font-size: 23px; letter-spacing: -.04em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu-button { display: none; margin-right: 12px; }
.page-content { padding: 30px 34px 50px; }

.welcome { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.welcome h2 { margin-bottom: 6px; font-size: 29px; letter-spacing: -.05em; }
.welcome p { margin: 0; color: var(--muted); font-size: 13px; }
.clock-widget { display: flex; align-items: center; gap: 14px; padding: 9px 10px 9px 15px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.clock-dot { width: 8px; height: 8px; border-radius: 50%; background: #aeb8b2; }
.clock-dot.live { background: #72a27e; box-shadow: 0 0 0 5px #e3f0e6; }
.clock-copy { display: grid; }
.clock-copy small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.clock-copy strong { margin-top: 2px; font-size: 12px; }
.clock-widget .primary-button { padding: 9px 13px; font-size: 11px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 25px; }
.metric-card { position: relative; overflow: hidden; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.metric-card::after { content: ""; position: absolute; width: 72px; height: 72px; right: -25px; bottom: -30px; border-radius: 50%; background: var(--tint, var(--sage)); opacity: .7; }
.metric-label { color: var(--muted); font-size: 11px; font-weight: 700; }
.metric-value { display: block; margin: 10px 0 4px; font-family: "Manrope"; font-size: 25px; letter-spacing: -.05em; }
.metric-note { color: #89928d; font-size: 10px; }
.two-column { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .68fr); gap: 20px; }
.panel { border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 8px 26px rgba(58,71,63,.035); }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.panel-header h3 { margin: 0; font-size: 15px; letter-spacing: -.03em; }
.panel-header p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.panel-body { padding: 18px 20px; }
.task-list { display: grid; }
.task-row { display: grid; grid-template-columns: 34px minmax(260px, 1fr) 150px 84px 38px; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid #edf0ec; transition: opacity .18s, background .18s, box-shadow .18s; }
.task-row:last-child { border-bottom: 0; }
.task-number { display: grid; grid-template-columns: auto auto; place-items: center; gap: 2px; width: 32px; height: 28px; padding: 0 4px; border: 0; border-radius: 8px; color: #7b8781; background: #f3f5f2; font-size: 10px; font-weight: 800; }
.task-number span { color: #a5aea9; font-size: 13px; line-height: 1; }
.task-number small { font-size: 8px; }
.drag-handle { cursor: grab; }
.drag-handle:active { cursor: grabbing; }
.task-row.is-dragging { opacity: .42; }
.task-drop-zone { display: grid; place-items: center; overflow: hidden; height: 0; border: 0 dashed transparent; border-radius: 8px; color: transparent; font-size: 9px; font-weight: 700; transition: height .16s, margin .16s, border-color .16s, color .16s, background .16s; }
.task-drop-zone.active { height: 15px; margin: 2px 0; color: #9aa69f; }
.task-drop-zone.drag-over { height: 34px; margin: 4px 0; border: 1px dashed #7ea189; color: #527b61; background: #edf5ef; }
.task-main { display: grid; grid-template-columns: minmax(145px, .65fr) minmax(180px, 1fr); gap: 8px; align-items: center; }
.task-main input, .task-type { min-height: 36px; padding: 0 8px; font-size: 11px; font-weight: 600; }
.task-main input { border-color: transparent; background: transparent; }
.task-main input:hover, .task-main input:focus { border-color: var(--line); background: #fafbfa; }
.task-type { border-color: var(--line); background: #f7f9f7; }
.task-meta { display: flex; align-items: center; gap: 8px; margin: 3px 8px 0; color: var(--muted); font-size: 9px; }
.task-main .task-meta { grid-column: 1 / -1; }
.adhoc-toggle { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.adhoc-toggle input { width: 12px; min-height: 12px; accent-color: #668a70; }
.status-select { min-height: 34px; border: 0; border-radius: 9px; padding: 0 8px; font-size: 10px; font-weight: 700; }
.status-yet { color: #6f7873; background: #f0f2f0; }
.status-progress { color: #9a713b; background: var(--yellow); }
.status-blocked { color: #9d5c5c; background: var(--red); }
.status-approval { color: #70628b; background: var(--lavender); }
.status-done { color: #4d7659; background: var(--sage); }
.attachment-input { display: none; }
.attach-button { display: flex; align-items: center; gap: 5px; overflow: hidden; max-width: 84px; color: #7a8780; font-size: 9px; cursor: pointer; }
.attach-button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attach-button.disabled { opacity: .48; cursor: not-allowed; }
.task-header-actions { display: flex; gap: 8px; }
.task-header-actions { flex-wrap: wrap; }
.remove-task { color: #a78282; }
.empty-state { padding: 30px; color: var(--muted); text-align: center; font-size: 12px; }
.form-stack { display: grid; gap: 13px; }
.form-stack label, .filter-field label { display: block; margin-bottom: 6px; color: #77837d; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.form-stack input, .form-stack textarea { font-size: 12px; }
.saved-request { margin-top: 16px; padding: 13px; border-radius: 12px; background: #f1f6f2; color: #587061; font-size: 11px; line-height: 1.6; }
.saved-request strong { display: block; color: #415a49; }
.request-actions { display: flex; gap: 8px; }
.request-actions button { flex: 1; }
.activity-list { display: grid; gap: 14px; }
.activity-item { display: grid; grid-template-columns: 31px 1fr; gap: 10px; }
.activity-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; background: var(--lavender); font-size: 12px; }
.activity-item p { margin: 0; font-size: 11px; font-weight: 700; }
.activity-item small { color: var(--muted); font-size: 9px; }
.leave-noticeboard { margin-top: 20px; }
.noticeboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.noticeboard-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 11px; }
.noticeboard-heading h4 { margin: 0; font-size: 12px; }
.noticeboard-heading p { margin: 2px 0 0; color: var(--muted); font-size: 9px; }
.notice-dot { width: 9px; height: 9px; border-radius: 50%; }
.notice-dot.today { background: #cf7444; box-shadow: 0 0 0 5px var(--peach); }
.notice-dot.upcoming { background: #74668f; box-shadow: 0 0 0 5px var(--lavender); }
.notice-list { display: grid; gap: 7px; }
.notice-leave-card { display: grid; grid-template-columns: minmax(105px, .8fr) minmax(120px, 1fr) minmax(90px, .8fr) 55px; gap: 8px; align-items: center; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfb; font-size: 10px; }
.notice-leave-card strong { font-size: 10px; }
.notice-leave-card > span:not(.notice-leave-type) { color: var(--muted); font-size: 9px; }
.notice-leave-type { width: fit-content; padding: 5px 7px; border-radius: 99px; color: #5f536f; background: var(--lavender); font-size: 8px; font-weight: 800; }
.notice-empty { padding: 16px; border-radius: 10px; color: var(--muted); background: #f7f8f6; font-size: 10px; text-align: center; }

.employee-search-panel { position: relative; z-index: 3; margin-bottom: 14px; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }
.employee-search-panel input { min-height: 48px; font-size: 13px; }
.manager-search-results { position: absolute; top: calc(100% - 8px); left: 17px; right: 17px; overflow: hidden; border-radius: 14px; background: white; box-shadow: 0 18px 45px rgba(58,71,63,.16); }
.employee-search-result { display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: white; text-align: left; }
.employee-search-result:last-child { border-bottom: 0; }
.employee-search-result:hover { background: #f4f7f4; }
.employee-search-result span:nth-child(2) { display: grid; gap: 2px; }
.employee-search-result strong { font-size: 11px; }
.employee-search-result small { color: var(--muted); font-size: 9px; }
.employee-search-result b { margin-left: auto; color: var(--sage-deep); font-size: 10px; }
.selected-employee { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding: 16px 18px; border: 1px solid #cedfd2; border-radius: 16px; background: linear-gradient(120deg, #edf5ef, #f8faf8); }
.selected-employee h3 { margin: 0; font-size: 14px; }
.selected-employee p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.selected-employee-status { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.selected-employee-status small { font-size: 10px; }
.manager-tabs { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 16px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.tab-button { flex: 1; min-width: 135px; padding: 11px 14px; color: var(--muted); background: transparent; font-size: 11px; }
.tab-button.active { color: #42664e; background: var(--sage); }
.range-toolbar { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(160px, 1fr) auto auto; gap: 10px; align-items: end; margin-bottom: 10px; padding: 13px; border-radius: 13px; background: #f7f9f7; }
.range-note { min-height: 30px; margin-bottom: 8px; padding: 8px 11px; border-radius: 9px; color: #66776c; background: #f0f5f1; font-size: 10px; }
.range-note:empty { display: none; }
.range-note.warning { color: #90693b; background: var(--yellow); }
.range-note strong { margin-right: 4px; }
.comp-search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-bottom: 14px; }
.leave-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.leave-form .leave-reason, .leave-form > button { grid-column: 1 / -1; }
.leave-form textarea { min-height: 84px; font-size: 12px; }
.leave-card-list, .leave-review-list, .assignment-list { display: grid; gap: 11px; }
.leave-card, .assignment-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfb; }
.leave-card div, .assignment-card div { display: grid; gap: 4px; }
.leave-card strong, .assignment-card strong { font-size: 11px; }
.leave-card span, .assignment-card span { color: var(--muted); font-size: 9px; }
.leave-card p { margin: 3px 0 0; color: #65736b; font-size: 10px; }
.leave-review-list { gap: 17px; }
.leave-review-heading h4 { margin: 0; font-size: 12px; }
.leave-review-heading p { margin: 3px 0 12px; color: var(--muted); font-size: 10px; }
.reassign-list { display: grid; gap: 8px; }
.reassign-row { display: grid; grid-template-columns: 1fr minmax(210px, .5fr); gap: 12px; align-items: center; padding: 11px 12px; border: 1px solid var(--line); border-radius: 11px; }
.reassign-row div { display: grid; gap: 3px; }
.reassign-row strong { font-size: 10px; }
.reassign-row span { color: var(--muted); font-size: 9px; }
.reassign-row select { min-height: 36px; font-size: 10px; }
.assignment-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.filters { display: grid; grid-template-columns: minmax(180px, 1.2fr) repeat(2, minmax(145px, .7fr)) auto; gap: 10px; align-items: end; margin-bottom: 20px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.filter-field input, .filter-field select { min-height: 46px; font-size: 12px; }
.employee-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.employee-card { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.employee-top { display: flex; align-items: center; gap: 10px; }
.employee-card h4 { margin: 0; font-size: 12px; }
.employee-card p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.employee-status { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.employee-status strong { color: #4d7659; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.data-table th { padding: 13px 16px; color: var(--muted); background: #f7f8f6; font-size: 10px; font-weight: 800; text-align: left; text-transform: uppercase; letter-spacing: .07em; }
.data-table td { padding: 16px; border-bottom: 1px solid var(--line); font-size: 12px; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.pill { display: inline-flex; padding: 5px 8px; border-radius: 99px; font-size: 9px; font-weight: 800; }
.pill.green { color: #4d7659; background: var(--sage); }
.pill.yellow { color: #8d6b3e; background: var(--yellow); }
.pill.lavender { color: #70628b; background: var(--lavender); }
.pill.red { color: #965858; background: var(--red); }
.attendance-missing {
  color: #c45858;
  font-weight: 800;
}
.goal-table-wrap { border-top: 1px solid var(--line); }
.goal-table { min-width: 1480px; white-space: normal; }
.goal-table th { min-width: 190px; vertical-align: bottom; }
.goal-table th:nth-child(2), .goal-table th:nth-child(3), .goal-table th:nth-child(4), .goal-table th:nth-child(5), .goal-table th:nth-child(6) { min-width: 230px; }
.goal-table td { min-width: 190px; vertical-align: top; line-height: 1.45; }
.goal-table .kra-cell { color: #43614d; font-weight: 800; background: #f5f8f5; }
.goal-feedback-input {
  width: 100%;
  min-height: 92px;
  padding: 10px 12px;
  border: 1px solid #ddd5fb;
  border-radius: 12px;
  background: #fcfbff;
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  line-height: 1.5;
  resize: vertical;
}
.goal-feedback-input::placeholder { color: #9892af; }
.goal-feedback-input:focus {
  border-color: #7f5be8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(127, 91, 232, 0.12);
}
.goal-upload-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 4px; padding: 14px 16px; border: 1px dashed #d8d0f5; border-radius: 16px; background: linear-gradient(115deg, #faf8ff, #f6f3ff); }
.goal-upload-note strong { display: block; font-size: 12px; }
.goal-upload-note span { color: var(--muted); font-size: 10px; line-height: 1.5; }
.calendar-permission-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 13px 15px;
  border: 1px solid #e4dcfb;
  border-radius: 16px;
  background: linear-gradient(115deg, #fcfbff, #f7f4ff);
}
.calendar-permission-note strong {
  display: block;
  color: #4f2abd;
  font-size: 12px;
}
.calendar-permission-note span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}
.social-calendar-filters {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
}
.social-calendar-column-panel {
  margin-top: 18px;
}
.social-calendar-column-panel-header {
  align-items: flex-start;
}
.social-calendar-column-panel-header p {
  margin: 4px 0 0;
}
.social-calendar-column-filters {
  grid-template-columns: repeat(6, minmax(150px, 1fr));
}
.calendar-filter-input {
  width: 100%;
}
.social-calendar-table-wrap {
  border: 1px solid #ebe6fb;
  border-radius: 18px;
  background: #fff;
}
.social-calendar-table {
  min-width: 1580px;
  white-space: normal;
}
.social-calendar-table th {
  min-width: 140px;
  vertical-align: bottom;
}
.social-calendar-table th:nth-child(1) { min-width: 120px; }
.social-calendar-table th:nth-child(2) { min-width: 132px; }
.social-calendar-table th:nth-child(7),
.social-calendar-table th:nth-child(8),
.social-calendar-table th:nth-child(11),
.social-calendar-table th:nth-child(12) {
  min-width: 220px;
}
.social-calendar-table td {
  min-width: 140px;
  vertical-align: top;
}
.calendar-cell-input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #ddd8f5;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.45;
}
.calendar-cell-input::placeholder {
  color: #9a94b2;
}
.calendar-cell-input.readonly {
  border-color: #ebe6fb;
  background: #f7f5ff;
  color: #6f6988;
}
.calendar-cell-textarea {
  min-height: 88px;
  resize: vertical;
}
.social-calendar-table td:nth-child(1) .calendar-cell-input,
.social-calendar-table td:nth-child(2) .calendar-cell-input,
.social-calendar-table td:nth-child(3) .calendar-cell-input,
.social-calendar-table td:nth-child(4) .calendar-cell-input,
.social-calendar-table td:nth-child(5) .calendar-cell-input,
.social-calendar-table td:nth-child(6) .calendar-cell-input {
  font-weight: 600;
}
.new-goal-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin: 16px 20px; padding: 16px; border: 1px solid #cedfd2; border-radius: 14px; background: #f4f8f5; }
.new-goal-form textarea { min-height: 76px; font-size: 11px; }
.new-goal-actions { display: flex; justify-content: flex-end; gap: 8px; grid-column: 1 / -1; }
.user-editor-form { margin: 0 0 16px; }
.compact-user-action { padding: 8px 12px; font-size: 10px; white-space: nowrap; }
.remove-goal-row { color: #a78282; }
.insight-banner { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; padding: 19px 22px; border-radius: 16px; color: #3e5c48; background: linear-gradient(120deg, var(--sage), #eef5ef); }
.insight-banner h3 { margin: 0 0 5px; font-size: 15px; }
.insight-banner p { margin: 0; color: #6d8174; font-size: 11px; }
.toast { position: fixed; z-index: 20; right: 24px; bottom: 24px; max-width: 330px; padding: 12px 16px; border-radius: 12px; color: white; background: #425d4d; box-shadow: var(--shadow); font-size: 11px; font-weight: 700; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .two-column { grid-template-columns: 1fr; }
  .employee-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .login-page { grid-template-columns: 1fr; }
  .login-story { display: none; }
  .login-form-wrap { min-height: 100vh; padding: 28px; }
  .mobile-brand { display: flex; }
  .app-shell { display: block; }
  .sidebar { position: fixed; z-index: 10; left: -250px; width: 238px; transition: left .25s; box-shadow: var(--shadow); }
  .sidebar.open { left: 0; }
  .menu-button { display: grid; }
  .topbar { min-height: 74px; padding: 14px 18px; }
  .page-content { padding: 22px 18px 40px; }
  .welcome { align-items: flex-start; flex-direction: column; }
  .metric-grid, .employee-list { grid-template-columns: 1fr; }
  .task-row { grid-template-columns: 26px 1fr 36px; }
  .task-row .status-select, .task-row .attach-button { grid-column: 2; max-width: 100%; }
  .task-main { grid-template-columns: 1fr; }
  .task-main .task-meta { grid-column: auto; }
  .task-header-actions { align-items: stretch; flex-direction: column; }
  .filters { grid-template-columns: 1fr; }
  .social-calendar-column-filters { grid-template-columns: 1fr; }
  .selected-employee { align-items: flex-start; flex-direction: column; }
  .range-toolbar, .comp-search-row { grid-template-columns: 1fr; }
  .manager-tabs { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; }
  .tab-button { min-width: 0; }
  .leave-form, .assignment-fields, .reassign-row { grid-template-columns: 1fr; }
  .goal-upload-note { align-items: flex-start; flex-direction: column; }
  .calendar-permission-note { align-items: flex-start; flex-direction: column; }
  .social-calendar-filters { grid-template-columns: 1fr; }
  .new-goal-form { grid-template-columns: 1fr; margin: 12px; }
  .noticeboard-grid { grid-template-columns: 1fr; }
  .notice-leave-card { grid-template-columns: 1fr 1fr; }
}

/* Audime-inspired visual theme */
:root {
  --ink: #12153d;
  --muted: #66709a;
  --line: #dfe3fb;
  --surface: #ffffff;
  --sage: #eef0ff;
  --sage-deep: #0700c9;
  --peach: #e6e8ff;
  --peach-deep: #0700c9;
  --lavender: #eef0ff;
  --lavender-deep: #2f36d8;
  --yellow: #f7f3d2;
  --red: #ffe8ef;
  --brand: #0700c9;
  --brand-strong: #05009f;
  --brand-soft: #eef0ff;
  --brand-line: #cfd4ff;
  --brand-text-soft: #4f5b96;
  --shadow: 0 18px 42px rgba(7, 0, 201, .10);
}

body {
  background:
    radial-gradient(circle at 8% 6%, rgba(7, 0, 201, .10), transparent 22%),
    radial-gradient(circle at 96% 90%, rgba(47, 54, 216, .12), transparent 28%),
    linear-gradient(180deg, #f7f8ff 0%, #f2f5ff 100%);
}

.app-shell {
  grid-template-columns: 232px 1fr;
  background: #f4f6ff;
}

.sidebar {
  padding: 24px 16px 16px;
  background: rgba(255,255,255,.92);
  border-right: 1px solid var(--brand-line);
  box-shadow: 8px 0 28px rgba(7, 0, 201, .05);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--brand);
  font-size: 22px;
  letter-spacing: -.05em;
}

.login-story .brand,
.login-story .brand-light {
  color: #ffffff;
}

.brand-mark {
  border-radius: 50%;
  background: linear-gradient(145deg, #1b15ff, #0700c9 68%, #03006f);
  box-shadow: 0 8px 22px rgba(7, 0, 201, .28);
}

.brand-mark span { background: #fff; }

#side-nav { gap: 7px; }

.nav-button {
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 24px;
  color: #3d4366;
  font-size: 12px;
  font-weight: 700;
}

.nav-button span {
  width: 28px;
  height: 28px;
  border: 1px solid var(--brand-line);
  border-radius: 50%;
  color: var(--brand);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.nav-button:hover {
  color: var(--brand);
  background: #f5f7ff;
}

.nav-button.active {
  color: #fff;
  background: linear-gradient(120deg, #1c16ff, #0700c9 58%, #040088);
  box-shadow: 0 14px 28px rgba(7, 0, 201, .24);
}

.nav-button.active span {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.14);
}

.sidebar-footer { border-top-color: var(--brand-line); }
.profile-card { border: 1px solid var(--brand-line); border-radius: 20px; background: linear-gradient(180deg, #fbfbff, #f5f7ff); }
.profile-card:hover { background: #eef2ff; }
.avatar { color: #fff; background: linear-gradient(145deg, #2a26ff, #0700c9); box-shadow: 0 10px 20px rgba(7, 0, 201, .18); }

.main-column {
  margin: 12px 12px 12px 0;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(245,247,255,.98), rgba(240,244,255,.96));
  box-shadow: 0 24px 60px rgba(7, 0, 201, .08);
}

.topbar {
  min-height: 76px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--brand-line);
  background: rgba(255,255,255,.82);
}

.topbar h1 { color: var(--ink); font-size: 21px; }
.topbar p { color: var(--brand-text-soft); }
.topbar-actions { flex-wrap: wrap; justify-content: flex-end; }
.page-content { padding: 28px 30px 52px; }
.welcome { margin-bottom: 22px; }
.welcome h2 { color: var(--ink); font-size: 29px; }

.panel,
.metric-card,
.employee-card,
.employee-search-panel,
.filters {
  border-color: var(--brand-line);
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 28px rgba(7, 0, 201, .05);
}

.panel { border-radius: 24px; overflow: hidden; }
.panel-header { padding: 18px 20px; border-bottom-color: var(--brand-line); flex-wrap: wrap; }
.panel-header h3 { color: var(--ink); font-size: 16px; }
.panel-header p { color: var(--brand-text-soft); font-size: 11px; }
.panel-body { padding: 20px; }

.metric-grid { gap: 12px; margin-bottom: 18px; }
.metric-card { min-height: 112px; border-radius: 18px; }
.metric-card::after {
  width: 82px;
  height: 8px;
  right: 16px;
  bottom: 12px;
  border-radius: 99px;
  background: linear-gradient(90deg, #0700c9, #4f63ff, #93a3ff, #dfe5ff);
  opacity: .55;
}
.metric-label { color: var(--brand-text-soft); }
.metric-value { color: var(--ink); }

.primary-button {
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1a15ff, #0700c9 58%, #03007c);
  box-shadow: 0 12px 26px rgba(7, 0, 201, .24);
}
.primary-button:hover { background: linear-gradient(135deg, #1510ea, #0500ad 58%, #02005b); }
.secondary-button { border: 1px solid var(--brand-line); border-radius: 18px; color: var(--brand); background: linear-gradient(180deg, #f6f8ff, #edf1ff); }
.ghost-button { color: var(--brand); }
.icon-button { color: var(--brand); border-color: var(--brand-line); border-radius: 50%; background: #fff; }

.clock-widget {
  border-color: var(--brand-line);
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(7, 0, 201, .10);
}
.clock-dot.live { background: var(--brand); box-shadow: 0 0 0 5px #e8ebff; }

input, textarea, select {
  border-color: var(--brand-line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(7, 0, 201, .10);
}
select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--brand) 50%),
    linear-gradient(135deg, var(--brand) 50%, transparent 50%),
    linear-gradient(180deg, #ffffff, #fbfcff);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px),
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
}

.task-row { border-bottom-color: #eeebf8; }
.task-number { color: #6334d5; background: #eee9ff; }
.task-number span { color: #7043dc; }
.task-type { border-color: #e1dcf5; background: #f5f2ff; }
.task-drop-zone.drag-over { border-color: #7951e6; color: #5d31c9; background: #f0ecff; }

.status-yet { color: #656277; background: #f0eff5; }
.status-progress { color: #985c18; background: #fff0c9; }
.status-blocked { color: #a44762; background: #ffe5ed; }
.status-approval { color: #6033c6; background: #ede7ff; }
.status-done { color: #147a69; background: #dff8ef; }

.pill { border-radius: 99px; }
.pill.green { color: #177a65; background: #ddf8ee; }
.pill.yellow { color: #a06218; background: #fff0c9; }
.pill.lavender { color: #6334cf; background: #eee8ff; }
.pill.red { color: #a44762; background: #ffe5ed; }

.selected-employee {
  border-color: var(--brand-line);
  background: linear-gradient(115deg, #f5f7ff, #eef2ff);
}

.manager-tabs {
  border-color: var(--brand-line);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  padding: 6px;
}
.tab-button { border-radius: 16px; min-height: 44px; font-weight: 700; }
.tab-button.active { color: #fff; background: linear-gradient(135deg, #1a15ff, #0700c9 58%, #03007c); }

.range-toolbar,
.new-goal-form {
  border-color: var(--brand-line);
  background: linear-gradient(180deg, #f7f8ff, #eef2ff);
}

.data-table th {
  color: #59649b;
  background: #f4f6ff;
}
.data-table td { border-bottom-color: #e7ebfb; }
.data-table tbody tr:hover td { background: #f8f9ff; }
.goal-table .kra-cell { color: var(--brand); background: #f4f6ff; }

.notice-dot.today { background: #3d46ff; box-shadow: 0 0 0 5px #eef0ff; }
.notice-dot.upcoming { background: var(--brand); box-shadow: 0 0 0 5px #eef0ff; }
.notice-leave-card,
.leave-card,
.assignment-card,
.reassign-row {
  border-color: var(--brand-line);
  border-radius: 16px;
  background: #fdfcff;
}
.notice-leave-type { color: var(--brand); background: #eef0ff; }
.activity-icon { color: var(--brand); background: #eef0ff; }
.saved-request, .range-note { color: var(--brand-strong); background: #eef1ff; }
.range-note.warning { color: #995d1a; background: #fff0c9; }

.toast { background: linear-gradient(135deg, #1711ff, #0700c9 60%, #02006d); }

.login-page { background: #f4f6ff; }
.login-story {
  color: #fff;
  background:
    radial-gradient(circle at 84% 18%, rgba(126, 150, 255, .40), transparent 32%),
    radial-gradient(circle at 12% 88%, rgba(90, 112, 255, .32), transparent 30%),
    linear-gradient(145deg, #1914ff, #0700c9 58%, #020055);
}
.login-story::before { background: #8092ff; opacity: .18; }
.login-story::after { background: #3446ff; opacity: .16; }
.login-form-wrap { background: linear-gradient(180deg, #f9faff, #f3f5ff); }
.login-card {
  width: min(454px, 100%);
  padding: 34px;
  border: 1px solid var(--brand-line);
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 26px 64px rgba(7, 0, 201, .12);
  backdrop-filter: blur(18px);
}
.eyebrow { color: var(--brand); }
.demo-login { color: var(--brand); background: #eef0ff; }

@media (max-width: 760px) {
  .main-column { margin: 0; border: 0; border-radius: 0; }
  .topbar { padding: 13px 16px; }
  .page-content { padding: 18px 14px 36px; }
}

/* Subtle motion and interaction feedback */
@keyframes driftLargeCircle {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-28px, 22px, 0) scale(1.045); }
}

@keyframes driftSmallCircle {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(32px, -18px, 0) scale(1.06); }
}

@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(7, 0, 201, .18); opacity: 1; }
  50% { box-shadow: 0 0 0 12px rgba(7, 0, 201, .05); opacity: .72; }
}

@keyframes leaveTodayPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 150, 89, .18); transform: scale(1); }
  50% { box-shadow: 0 0 0 9px rgba(255, 150, 89, .035); transform: scale(1.12); }
}

@keyframes logoBars {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(.62); }
}

@keyframes promptEnter {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes promptRing {
  0%, 100% { transform: scale(.82); opacity: .35; }
  50% { transform: scale(1.12); opacity: .08; }
}

.login-story::before { animation: driftLargeCircle 14s ease-in-out infinite; }
.login-story::after { animation: driftSmallCircle 11s ease-in-out infinite; }

.brand-mark {
  transition: transform .28s ease, box-shadow .28s ease;
}
.brand:hover .brand-mark {
  transform: rotate(-7deg) scale(1.08);
  box-shadow: 0 12px 28px rgba(7, 0, 201, .34);
}
.brand:hover .brand-mark span:nth-child(1) { animation: logoBars .65s ease-in-out infinite; }
.brand:hover .brand-mark span:nth-child(2) { animation: logoBars .65s ease-in-out .1s infinite; }
.brand:hover .brand-mark span:nth-child(3) { animation: logoBars .65s ease-in-out .2s infinite; }

.clock-dot.live { animation: livePulse 1.7s ease-in-out infinite; }
.clock-widget:has(.clock-dot.live) { border-color: #bcc4ff; }
.clock-widget {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.clock-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(7, 0, 201, .14);
}
.clock-widget .primary-button { animation: livePulse 2.2s ease-in-out infinite; }

.clock-prompt-backdrop {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 12, 56, .40);
  backdrop-filter: blur(8px);
}

.clock-prompt {
  display: grid;
  justify-items: center;
  width: min(430px, 100%);
  padding: 32px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 28px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 30px 80px rgba(7, 0, 201, .22);
  text-align: center;
  animation: promptEnter .34s cubic-bezier(.2,.8,.2,1);
}

.clock-prompt-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 18px;
}

.clock-prompt-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--brand);
  animation: promptRing 2.1s ease-in-out infinite;
}

.clock-prompt-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #2922ff, #0700c9);
  box-shadow: 0 12px 25px rgba(7, 0, 201, .30);
  font-size: 25px;
}

.clock-prompt-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 9px;
  border-radius: 99px;
  color: var(--brand);
  background: #eef0ff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.clock-prompt h2 { margin: 0 0 7px; color: var(--ink); font-size: 28px; }
.clock-prompt p { margin: 0; color: var(--brand-text-soft); font-size: 12px; }
.clock-prompt-actions { display: flex; width: 100%; gap: 9px; margin-top: 24px; }
.clock-prompt-actions button { flex: 1; }
.clock-prompt-logout {
  margin-top: 14px;
  border: 0;
  color: #7c7395;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
}
.clock-prompt-logout:hover {
  color: var(--brand);
  text-decoration: underline;
}

.welcome .clock-widget:not(:has(.clock-dot.live)) {
  border-color: #9ca7ff;
  box-shadow: 0 0 0 4px rgba(7, 0, 201, .10), 0 12px 28px rgba(7, 0, 201, .12);
}

.notice-dot.today,
.notice-dot.upcoming { animation: leaveTodayPulse 1.9s ease-in-out infinite; }
.noticeboard-grid > div:first-child:has(.notice-leave-card) {
  padding: 11px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 245, 237, .85), rgba(255,255,255,.4));
}

.nav-button,
.tab-button,
.primary-button,
.secondary-button,
.ghost-button,
.icon-button,
.demo-login,
.profile-card {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}

.nav-button:hover,
.tab-button:hover {
  transform: translateX(3px);
  box-shadow: 0 10px 22px rgba(7, 0, 201, .10);
}

.tab-button:hover { transform: translateY(-2px); }
.tab-button.active { box-shadow: 0 12px 24px rgba(7, 0, 201, .22); }

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.icon-button:hover,
.demo-login:hover {
  transform: translateY(-2px);
}

.primary-button:hover { box-shadow: 0 16px 30px rgba(7, 0, 201, .28); }
.secondary-button:hover { border-color: #aeb8ff; box-shadow: 0 10px 22px rgba(7, 0, 201, .10); }
.icon-button:hover { border-color: #b7c0ff; box-shadow: 0 10px 18px rgba(7, 0, 201, .10); }

.nav-button:active,
.tab-button:active,
.primary-button:active,
.secondary-button:active,
.ghost-button:active,
.icon-button:active,
.demo-login:active,
.profile-card:active {
  transform: translateY(1px) scale(.975);
  box-shadow: none;
}

.panel,
.metric-card,
.employee-card,
.notice-leave-card,
.leave-card,
.assignment-card,
.reassign-row,
.selected-employee {
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease;
}

.metric-card:hover,
.employee-card:hover,
.notice-leave-card:hover,
.leave-card:hover,
.assignment-card:hover {
  transform: translateY(-4px);
  border-color: #c7ceff;
  box-shadow: 0 18px 34px rgba(7, 0, 201, .10);
}

.panel:hover {
  border-color: #cfd6ff;
  box-shadow: 0 14px 32px rgba(7, 0, 201, .08);
}

.task-row {
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.task-row:hover {
  transform: translateX(3px);
  border-radius: 12px;
  background: #f8f9ff;
  box-shadow: -3px 0 0 var(--brand);
}

.data-table tbody tr td { transition: background-color .17s ease, color .17s ease; }
.data-table tbody tr:hover td { color: var(--brand-strong); background: #f8f9ff; }

input,
textarea,
select {
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}
input:hover,
textarea:hover,
select:hover { border-color: #b8c2ff; }

.drag-handle:hover { transform: scale(1.09); }
.task-drop-zone.active { animation: livePulse 1.5s ease-in-out infinite; }
.toast.show { animation: livePulse 1.8s ease-in-out infinite; }
.leave-noticeboard {
  margin-top: 0;
}
.leave-noticeboard .panel-body {
  padding: 20px;
}
.leave-noticeboard .noticeboard-grid {
  gap: 28px;
}
.leave-noticeboard .noticeboard-grid > div {
  padding: 16px;
  border: 1px solid var(--brand-line);
  border-radius: 15px;
  background: #fcfdff;
}
.today-activity {
  margin-top: 18px;
}
.today-activity .activity-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.today-activity .activity-item {
  border-bottom: 0;
  border-radius: 12px;
  background: #f7f9ff;
}
.primary-button.saved {
  background: linear-gradient(100deg, #1d18ff, #0700c9);
  box-shadow: 0 12px 24px rgba(7, 0, 201, .24);
}

@media (max-width: 820px) {
  .today-activity .activity-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

@media (max-width: 520px) {
  .clock-prompt { padding: 25px 18px; }
  .clock-prompt-actions { flex-direction: column-reverse; }
}
