:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-muted: #f1f3f7;
  --ink: #1c2030;
  --ink-muted: #70788a;
  --line: #e7eaf0;
  --purple: #6d5dfc;
  --purple-soft: #efedff;
  --orange: #e58b42;
  --orange-soft: #fff1e6;
  --green: #3aa981;
  --green-soft: #e7f7f1;
  --blue: #2b78c5;
  --blue-soft: #e8f2fd;
  --shadow: 0 12px 35px rgba(38, 45, 70, .06);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 1040px; background: var(--bg); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 248px; display: flex; flex-direction: column; padding: 27px 16px 16px; background: #fbfbfd; border-right: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; padding: 0 12px 27px; font-size: 19px; font-weight: 750; letter-spacing: -.04em; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; color: white; background: var(--purple); border-radius: 9px; font-size: 15px; box-shadow: 0 5px 12px rgba(109, 93, 252, .25); }
.brand-beta { margin-left: 3px; color: #9ba3b3; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.workspace-switcher { display: flex; align-items: center; gap: 9px; padding: 11px 12px; color: #4b5263; background: #f0f1f5; border: 1px solid #e8e9ef; border-radius: 9px; font-size: 12px; font-weight: 650; }
.workspace-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--orange); }
.chevron { margin-left: auto; color: #9ba3b3; }
.nav-list { display: grid; gap: 3px; margin-top: 20px; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px 12px; color: #7b8393; background: transparent; border: 0; border-radius: 8px; text-align: left; font-size: 13px; font-weight: 650; text-decoration: none; }
.nav-item:hover { color: var(--ink); background: #f1f2f6; }
.nav-item.active { color: var(--purple); background: var(--purple-soft); }
.nav-icon { width: 17px; color: currentColor; text-align: center; font-size: 17px; line-height: 1; }
.nav-badge { min-width: 19px; margin-left: auto; padding: 2px 6px; color: var(--purple); background: #dedaff; border-radius: 10px; font-size: 10px; text-align: center; }
.sidebar-section-label { margin: 32px 12px 0; color: #a0a7b4; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sidebar-spacer { flex: 1; }
.local-note { display: flex; gap: 9px; align-items: center; margin: 12px 4px; padding: 10px; color: #7d8797; background: #f5f6f9; border-radius: 9px; }
.local-note .status-dot { background: var(--green); }
.local-note strong, .local-note small { display: block; }
.local-note strong { color: #5c6473; font-size: 11px; }
.local-note small { margin-top: 2px; font-size: 10px; }
.user-chip { display: flex; align-items: center; gap: 9px; width: 100%; padding: 15px 4px 2px; color: var(--ink); background: transparent; border: 0; border-top: 1px solid var(--line); text-align: left; }
.user-chip:hover { background: #f1f2f6; }
.user-chip strong, .user-chip small { display: block; }
.user-chip strong { font-size: 12px; }
.user-chip small { margin-top: 3px; color: var(--ink-muted); font-size: 10px; text-transform: capitalize; }
.more { margin-left: auto; color: #9aa2b1; letter-spacing: 1px; }
.main-content { width: calc(100% - 248px); min-height: 100vh; margin-left: 248px; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 42px; background: rgba(251, 251, 253, .86); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; gap: 11px; align-items: center; color: #9ca4b2; font-size: 12px; }
.breadcrumbs strong { color: #4d5464; font-weight: 650; }
.slash { color: #c9ced8; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.search-wrap { position: relative; display: flex; align-items: center; width: 276px; }
.search-wrap input { width: 100%; padding: 10px 47px 10px 32px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 8px; outline: 0; font-size: 12px; box-shadow: 0 2px 8px rgba(38, 45, 70, .02); }
.search-wrap input:focus { border-color: #bab3ff; box-shadow: 0 0 0 3px var(--purple-soft); }
.search-icon { position: absolute; left: 11px; z-index: 1; color: #a4acba; font-size: 19px; line-height: 1; }
kbd { position: absolute; right: 8px; padding: 3px 5px; color: #abb2bf; background: #f3f4f7; border: 1px solid #e6e8ee; border-radius: 4px; font-size: 9px; }
.icon-button, .secondary-button, .primary-button, .text-button, .back-button { border: 0; }
.icon-button { position: relative; display: grid; place-items: center; width: 34px; height: 34px; color: #7f8796; background: transparent; border-radius: 8px; font-size: 20px; }
.icon-button:hover { background: #f0f1f5; }
.notification-button i { position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; background: var(--orange); border: 2px solid #fbfbfd; border-radius: 50%; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 37px; padding: 0 14px; border-radius: 8px; font-size: 12px; font-weight: 700; transition: .15s ease; }
.primary-button { color: white; background: var(--purple); box-shadow: 0 6px 14px rgba(109, 93, 252, .2); }
.primary-button:hover { background: #5848e8; transform: translateY(-1px); }
.primary-button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.primary-button.compact { min-height: 34px; padding: 0 12px; font-size: 11px; }
.secondary-button { color: #636c7c; background: white; border: 1px solid var(--line); box-shadow: 0 2px 5px rgba(38, 45, 70, .025); }
.secondary-button:hover { color: var(--ink); border-color: #cbd0db; background: #fcfcfd; }
.text-button { padding: 0; color: var(--purple); background: transparent; font-size: 11px; font-weight: 700; }
.text-button span, .secondary-button span { margin-left: 2px; font-size: 15px; }
.page-content { max-width: 1500px; margin: 0 auto; padding: 38px 42px 60px; }
.page-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 31px; }
.eyebrow { display: block; margin-bottom: 8px; color: #9ba3b2; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1 { color: #202536; font-size: 28px; font-weight: 760; letter-spacing: -.045em; }
.page-intro p { margin-top: 8px; color: var(--ink-muted); font-size: 13px; }
.page-actions { display: flex; gap: 9px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 25px; }
.stat-card { min-height: 137px; padding: 18px 19px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.stat-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.stat-icon { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 8px; font-size: 14px; }
.stat-icon.purple { color: var(--purple); background: var(--purple-soft); }.stat-icon.orange { color: var(--orange); background: var(--orange-soft); }.stat-icon.green { color: var(--green); background: var(--green-soft); }.stat-icon.blue { color: var(--blue); background: var(--blue-soft); }
.stat-trend { color: var(--green); font-size: 10px; font-weight: 700; }
.stat-card > strong { display: block; color: #252a3b; font-size: 27px; letter-spacing: -.04em; }
.stat-label { display: block; margin-top: 1px; color: #555d6d; font-size: 12px; font-weight: 700; }
.stat-card small { display: block; margin-top: 9px; color: #9ba3b2; font-size: 10px; }
.content-grid { display: grid; gap: 18px; }.overview-grid { grid-template-columns: 1.45fr 1fr; }.lower-grid { grid-template-columns: 1.45fr 1fr; margin-top: 18px; }
.panel { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }.panel-heading h2 { font-size: 15px; letter-spacing: -.02em; }.panel-heading .eyebrow { margin-bottom: 5px; }
.project-list { display: grid; }.project-row { display: grid; grid-template-columns: 7px minmax(150px, 1fr) minmax(110px, 145px) 65px 15px; align-items: center; gap: 13px; width: 100%; padding: 15px 0; color: inherit; background: transparent; border: 0; border-top: 1px solid #f0f1f4; text-align: left; }.project-row:first-child { border-top: 0; padding-top: 2px; }.project-color { width: 7px; height: 34px; border-radius: 5px; background: var(--project-color); }.project-row-main strong, .project-row-main span { display: block; }.project-row-main strong { color: #303647; font-size: 12px; }.project-row-main span { margin-top: 4px; color: #9ba3b2; font-size: 10px; }.project-progress { display: flex; align-items: center; gap: 8px; }.progress-track { display: block; width: 100%; height: 5px; overflow: hidden; background: #edf0f4; border-radius: 6px; }.progress-track i { display: block; height: 100%; border-radius: inherit; }.project-progress small, .project-row-date { color: #9099a9; font-size: 10px; }.row-arrow { color: #b8bec9; font-size: 16px; transition: transform .15s ease; }.project-row:hover .row-arrow, .due-task:hover .row-arrow, .file-row:hover .row-arrow { color: var(--purple); transform: translateX(3px); }
.due-list { display: grid; }.due-task { display: grid; grid-template-columns: 40px minmax(120px, 1fr) auto 15px; align-items: center; gap: 11px; width: 100%; padding: 12px 0; background: transparent; border: 0; border-top: 1px solid #f0f1f4; text-align: left; }.due-task:first-child { border-top: 0; padding-top: 2px; }.date-block { display: grid; place-items: center; width: 36px; padding: 5px 0; color: var(--purple); background: var(--purple-soft); border-radius: 7px; }.date-block b { font-size: 14px; line-height: 1; }.date-block small { margin-top: 3px; font-size: 8px; font-weight: 700; text-transform: uppercase; }.due-task-main strong, .due-task-main span { display: block; }.due-task-main strong { overflow: hidden; color: #363c4c; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.due-task-main span { margin-top: 4px; color: #9ba3b2; font-size: 10px; }.status-pill, .priority { display: inline-flex; align-items: center; gap: 5px; width: max-content; padding: 4px 7px; border-radius: 5px; font-size: 9px; font-weight: 700; text-transform: capitalize; white-space: nowrap; }.status-pill .status-dot { width: 5px; height: 5px; }.status-backlog { color: #7b8493; background: #f0f2f5; }.status-backlog .status-dot { background: #a5adba; }.status-in_progress { color: var(--purple); background: var(--purple-soft); }.status-in_progress .status-dot { background: var(--purple); }.status-in_review { color: var(--orange); background: var(--orange-soft); }.status-in_review .status-dot { background: var(--orange); }.status-approved, .status-done { color: var(--green); background: var(--green-soft); }.status-approved .status-dot, .status-done .status-dot { background: var(--green); }.status-pill .status-dot { border-radius: 50%; }.priority { padding: 0; color: #929aab; background: transparent; }.priority-high { color: #de6c55; }.priority-mark { font-size: 14px; line-height: 1; }
.activity-list { display: grid; }.activity-item { display: flex; gap: 10px; padding: 11px 0; border-top: 1px solid #f0f1f4; }.activity-item:first-child { border-top: 0; padding-top: 2px; }.activity-item p { color: #717a8b; font-size: 11px; line-height: 1.5; }.activity-item p strong { color: #404756; }.activity-item small { display: block; margin-top: 4px; color: #b0b6c2; font-size: 9px; }
.focus-panel { display: flex; flex-direction: column; align-items: flex-start; background: linear-gradient(140deg, #f1efff 0%, #fff 68%); }.focus-orb { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 23px; color: white; background: var(--purple); border-radius: 15px; box-shadow: 0 10px 22px rgba(109, 93, 252, .22); }.focus-orb span { font-size: 22px; }.focus-panel h2 { font-size: 17px; letter-spacing: -.03em; }.focus-panel p { max-width: 320px; margin: 10px 0 22px; color: #747d8e; font-size: 11px; line-height: 1.6; }.focus-panel .secondary-button { margin-top: auto; }
.project-toolbar, .calendar-toolbar, .file-toolbar, .board-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }.segmented { display: inline-flex; padding: 3px; background: #eef0f4; border-radius: 8px; }.segmented button { padding: 7px 12px; color: #8b94a4; background: transparent; border: 0; border-radius: 6px; font-size: 10px; font-weight: 700; }.segmented button.selected { color: #4c5362; background: white; box-shadow: 0 2px 5px rgba(38, 45, 70, .07); }.segmented button span { margin-left: 4px; color: #aab1be; }.view-tools { display: flex; gap: 8px; }.view-tools .secondary-button { min-height: 32px; padding: 0 11px; font-size: 10px; }
.project-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.project-card { overflow: hidden; padding: 0; color: inherit; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); text-align: left; transition: .15s ease; }.project-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(38, 45, 70, .1); }.project-card-banner { display: flex; justify-content: space-between; height: 92px; padding: 14px; color: white; background: linear-gradient(135deg, var(--project-color), color-mix(in srgb, var(--project-color), #161a2e 22%)); }.project-card-initial { align-self: flex-end; font-size: 31px; font-weight: 800; opacity: .35; }.project-card-menu { font-weight: 800; letter-spacing: 1px; opacity: .8; }.project-card-body { padding: 18px; }.tag-row { display: flex; gap: 5px; min-height: 18px; }.tag { display: inline-block; padding: 4px 6px; color: #828b9a; background: #f1f3f6; border-radius: 4px; font-size: 9px; font-weight: 700; }.project-card h2 { margin-top: 11px; font-size: 15px; letter-spacing: -.03em; }.project-card p { min-height: 35px; margin-top: 7px; color: #8d95a4; font-size: 10px; line-height: 1.5; }.project-card-meta { display: flex; justify-content: space-between; margin: 18px 0 10px; color: #9ba3b2; font-size: 10px; }.progress-track.large { height: 6px; }.project-card-footer { display: flex; align-items: center; gap: 8px; margin-top: 16px; color: #8e97a6; font-size: 10px; }.project-card-footer .row-arrow { margin-left: auto; }.avatar-stack { display: flex; }
.avatar { display: inline-grid; place-items: center; flex: 0 0 auto; width: 27px; height: 27px; color: white; background: #a4acba; border: 2px solid white; border-radius: 50%; font-size: 8px; font-weight: 800; }.avatar.small { width: 26px; height: 26px; }.avatar-purple, .avatar-6d5dfc { background: #6d5dfc; }.avatar-e58b42 { background: #e58b42; }.avatar-3aa981 { background: #3aa981; }.avatar-2b78c5 { background: #2b78c5; }.avatar-gray { background: #a4acba; }.avatar-stack .avatar + .avatar, .task-assignees .avatar + .avatar { margin-left: -8px; }
.detail-header { margin-bottom: 23px; }.back-button { padding: 0; color: #8a93a3; background: transparent; font-size: 11px; }.back-button:hover { color: var(--purple); }.detail-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 21px; }.detail-title-row p { margin-top: 8px; color: var(--ink-muted); font-size: 12px; }.detail-actions { display: flex; gap: 8px; }.detail-meta { display: flex; flex-wrap: wrap; gap: 13px; align-items: center; margin-top: 20px; color: #818a9a; font-size: 10px; }.project-tabs { display: flex; gap: 23px; margin-bottom: 23px; border-bottom: 1px solid var(--line); }.project-tabs button { position: relative; padding: 0 0 12px; color: #9aa2b0; background: transparent; border: 0; font-size: 11px; font-weight: 700; }.project-tabs button.selected { color: var(--purple); }.project-tabs button.selected::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--purple); border-radius: 2px; content: ""; }.project-tabs button span { margin-left: 3px; padding: 2px 5px; color: var(--purple); background: var(--purple-soft); border-radius: 5px; font-size: 9px; }.board-toolbar { margin-bottom: 17px; }.board-toolbar strong { font-size: 12px; }.muted { color: #9ba3b2; font-size: 11px; }.kanban-board { display: grid; grid-template-columns: repeat(5, minmax(170px, 1fr)); gap: 13px; overflow-x: auto; }.kanban-column { min-height: 280px; padding: 12px; background: #f1f3f7; border-radius: 10px; }.kanban-heading { display: flex; align-items: center; gap: 7px; margin: 1px 1px 13px; }.kanban-heading strong { color: #565f70; font-size: 11px; }.column-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }.column-count { display: grid; place-items: center; min-width: 17px; height: 17px; color: #9aa2af; background: #e2e5eb; border-radius: 50%; font-size: 9px; }.column-more { margin-left: auto; color: #a3abb9; background: transparent; border: 0; letter-spacing: 1px; }.kanban-cards { display: grid; gap: 9px; }.task-card { padding: 13px; color: inherit; background: white; border: 1px solid #e8eaf0; border-radius: 8px; box-shadow: 0 3px 8px rgba(38, 45, 70, .035); text-align: left; }.task-card:hover { border-color: #c9c4ff; box-shadow: 0 8px 18px rgba(109, 93, 252, .09); }.task-card-top { display: flex; justify-content: space-between; align-items: center; }.task-card-more { color: #b0b7c2; letter-spacing: 1px; }.task-card h3 { margin-top: 10px; color: #384052; font-size: 11px; line-height: 1.35; }.task-card p { display: -webkit-box; overflow: hidden; margin-top: 6px; color: #9aa2b1; font-size: 9px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.task-card-footer { display: flex; align-items: center; gap: 6px; margin-top: 13px; }.task-assignees { display: flex; min-width: 26px; }.task-assignees .avatar { width: 23px; height: 23px; font-size: 7px; }.unassigned { display: grid; place-items: center; width: 23px; height: 23px; color: #a6aeba; border: 1px dashed #c6cbd5; border-radius: 50%; font-size: 13px; }.task-card-date { margin-left: auto; color: #8f98a8; font-size: 9px; }.task-card-date.overdue { color: #d66f59; }.comment-count { color: #a2aab8; font-size: 9px; }.add-card { padding: 9px; color: #a1a9b7; background: transparent; border: 1px dashed #ccd1da; border-radius: 7px; font-size: 10px; }.add-card:hover { color: var(--purple); border-color: #aaa2ff; background: #faf9ff; }
.my-work-layout { display: grid; grid-template-columns: 1fr 260px; gap: 18px; }.task-list-panel { padding: 8px 24px 24px; }.task-date-group + .task-date-group { margin-top: 18px; }.task-group-heading { display: flex; justify-content: space-between; padding: 14px 0 7px; color: #8891a1; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }.task-group-heading span:last-child { color: #b0b7c3; font-weight: 600; text-transform: none; letter-spacing: 0; }.task-list-item { display: grid; grid-template-columns: 21px minmax(140px, 1fr) auto auto 70px; align-items: center; gap: 10px; width: 100%; padding: 14px 0; color: inherit; background: transparent; border: 0; border-bottom: 1px solid #f1f2f5; text-align: left; }.task-check { display: grid; place-items: center; width: 17px; height: 17px; color: white; border: 1px solid #cfd4dd; border-radius: 5px; font-size: 10px; }.task-check.checked { background: var(--green); border-color: var(--green); }.task-list-main strong, .task-list-main span { display: block; }.task-list-main strong { color: #3b4252; font-size: 11px; }.task-list-main span { margin-top: 4px; color: #9ca4b1; font-size: 9px; }.task-due { color: #838c9c; font-size: 10px; text-align: right; }.work-summary { align-self: start; background: linear-gradient(150deg, #fff, #f7f5ff); }.work-summary h2 { font-size: 17px; }.big-number { margin-top: 22px; color: var(--purple); font-size: 48px; font-weight: 760; letter-spacing: -.06em; }.work-summary > p { color: #8d95a5; font-size: 11px; }.summary-rule { margin: 23px 0 13px; border-top: 1px solid #e7e2ff; }.mini-stat { display: flex; justify-content: space-between; padding: 8px 0; color: #8790a0; font-size: 10px; }.mini-stat strong { color: #484f60; font-size: 12px; }
.calendar-month { display: flex; align-items: center; gap: 12px; color: #4f5767; font-size: 12px; }.calendar-month button { color: #8f98a8; background: transparent; border: 0; font-size: 21px; }.calendar-panel { padding: 0; overflow: hidden; }.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }.calendar-weekdays { padding: 12px 0; background: #fafafd; border-bottom: 1px solid var(--line); }.calendar-weekdays span { color: #9da5b4; font-size: 9px; font-weight: 800; text-align: center; text-transform: uppercase; }.calendar-cell { min-height: 104px; padding: 9px; border-right: 1px solid #f0f1f4; border-bottom: 1px solid #f0f1f4; }.calendar-cell:nth-child(7n) { border-right: 0; }.calendar-cell.outside { background: #fafbfc; }.calendar-cell.outside .calendar-day { color: #c4c9d2; }.calendar-cell.today { background: #fbfaff; box-shadow: inset 0 0 0 2px #dedbff; }.calendar-day { display: block; width: 21px; height: 21px; margin-bottom: 5px; color: #6e7788; font-size: 10px; line-height: 21px; text-align: center; }.today .calendar-day { color: white; background: var(--purple); border-radius: 50%; }.calendar-task { display: block; overflow: hidden; width: 100%; margin-top: 4px; padding: 5px 5px; color: #6b7483; background: #f0f2f5; border: 0; border-left: 3px solid #a5adba; border-radius: 3px; font-size: 8px; font-weight: 650; text-align: left; text-overflow: ellipsis; white-space: nowrap; }.calendar-in_progress { color: var(--purple); background: var(--purple-soft); border-left-color: var(--purple); }.calendar-in_review { color: var(--orange); background: var(--orange-soft); border-left-color: var(--orange); }.calendar-approved, .calendar-done { color: var(--green); background: var(--green-soft); border-left-color: var(--green); }.calendar-legend { display: flex; gap: 18px; margin-top: 13px; color: #8b94a4; font-size: 10px; }.legend-dot { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; }.legend-dot.purple { background: var(--purple); }.legend-dot.orange { background: var(--orange); }.legend-dot.green { background: var(--green); }.legend-dot.gray { background: #a5adba; }
.file-toolbar { gap: 15px; }.file-search { display: flex; align-items: center; gap: 8px; width: 330px; padding: 9px 11px; color: #abb2bf; background: white; border: 1px solid var(--line); border-radius: 8px; font-size: 18px; }.file-search input { width: 100%; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 11px; }.files-panel { padding: 8px 0 0; }.file-table-head, .file-row { display: grid; grid-template-columns: minmax(220px, 1.7fr) 1fr 70px 70px 90px 17px; align-items: center; gap: 15px; }.file-table-head { padding: 12px 22px; color: #a0a8b6; border-bottom: 1px solid var(--line); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }.file-row { width: 100%; padding: 15px 22px; color: #758091; background: transparent; border: 0; border-bottom: 1px solid #f0f1f4; font-size: 10px; text-align: left; }.file-row:hover { background: #fcfcfe; }.file-name-cell { display: flex; align-items: center; gap: 9px; min-width: 0; }.file-type-icon { display: grid; place-items: center; width: 30px; height: 34px; flex: 0 0 auto; color: var(--purple); background: var(--purple-soft); border-radius: 5px; font-size: 8px; font-weight: 800; }.file-type-icon.figma_link { color: #bf6b38; background: #fff0e6; }.file-name-cell > span:nth-child(2) { min-width: 0; }.file-name-cell strong, .file-name-cell small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.file-name-cell strong { color: #404858; font-size: 11px; }.file-name-cell small { margin-top: 4px; color: #a2aab7; font-size: 9px; }.final-badge { margin-left: auto; padding: 4px 6px; color: var(--green); background: var(--green-soft); border-radius: 4px; font-size: 8px; font-weight: 800; }.owner-cell { display: flex; }.file-row .row-arrow { margin-left: auto; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }.report-card h2 { margin: 3px 0 25px; font-size: 19px; }.report-card.full { grid-column: 1 / -1; }.bar-chart { display: flex; align-items: end; justify-content: space-between; height: 150px; gap: 12px; padding: 0 8px; border-bottom: 1px solid var(--line); }.bar-chart span { position: relative; display: flex; flex: 1; justify-content: center; max-width: 35px; background: linear-gradient(#aaa2ff, #d8d4ff); border-radius: 5px 5px 0 0; }.bar-chart small { position: absolute; bottom: -22px; color: #a0a8b5; font-size: 9px; }.report-line { display: flex; justify-content: space-between; padding: 10px 0; color: #717a8b; border-top: 1px solid #f0f1f4; font-size: 11px; }.report-line span { display: flex; align-items: center; gap: 8px; }.report-line strong { color: #414858; }.health-callout { display: flex; align-items: center; gap: 10px; padding: 13px; color: #5c56bd; background: var(--purple-soft); border-radius: 8px; }.health-callout > span { font-size: 18px; }.health-callout strong, .health-callout small { display: block; }.health-callout strong { font-size: 11px; }.health-callout small { margin-top: 4px; color: #8a85ca; font-size: 10px; }.template-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.template-card { min-height: 185px; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }.template-icon { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 20px; border-radius: 10px; font-size: 18px; }.template-icon.purple { color: var(--purple); background: var(--purple-soft); }.template-icon.orange { color: var(--orange); background: var(--orange-soft); }.template-card h2 { font-size: 15px; }.template-card p { margin: 8px 0 20px; color: #8e96a5; font-size: 11px; line-height: 1.5; }.add-template { display: grid; place-items: center; color: #9aa2b1; border-style: dashed; text-align: center; }.add-template > span { color: var(--purple); font-size: 24px; }.add-template strong { max-width: 130px; font-size: 11px; line-height: 1.4; }
.search-panel { position: absolute; z-index: 10; top: 65px; right: 215px; width: 380px; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 45px rgba(38, 45, 70, .13); }.search-panel-heading { padding: 7px 9px 9px; color: #9ca4b2; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.search-panel-heading span { margin-left: 4px; color: var(--purple); }.search-result { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 9px; color: #9ca4b2; background: transparent; border: 0; border-radius: 7px; text-align: left; }.search-result:hover { background: #f6f5ff; }.search-result-icon { display: grid; place-items: center; width: 25px; height: 25px; color: var(--purple); background: var(--purple-soft); border-radius: 6px; }.search-result > span:nth-child(2) { min-width: 0; flex: 1; }.search-result strong, .search-result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.search-result strong { color: #475061; font-size: 11px; }.search-result small { margin-top: 3px; color: #a4acb9; font-size: 9px; }.empty-state { display: grid; place-items: center; padding: 45px 10px; color: #a2aab8; text-align: center; }.empty-state > span { color: #c3c8d2; font-size: 24px; }.empty-state h3 { margin-top: 9px; color: #6e7787; font-size: 12px; }.empty-state p { margin-top: 5px; font-size: 10px; }.hidden { display: none !important; }
.modal-backdrop { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(24, 28, 42, .38); backdrop-filter: blur(3px); }.modal { width: min(520px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 25px; background: white; border-radius: 13px; box-shadow: 0 25px 75px rgba(26, 30, 50, .2); }.task-modal { width: min(600px, 100%); }.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }.modal-header h2 { font-size: 20px; letter-spacing: -.04em; }.modal-close { color: #a4acb8; background: transparent; border: 0; font-size: 25px; line-height: 1; }.task-modal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; color: #858e9e; font-size: 10px; }.imported-record-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; color: #70798a; background: #f7f8fb; border: 1px solid #e8eaf0; border-radius: 7px; font-size: 10px; }.imported-record-note strong { color: var(--ink); }.imported-record-note a { color: var(--purple); font-weight: 800; }.modal-description { margin: 20px 0; color: #747d8d; font-size: 12px; line-height: 1.6; }.modal-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.stacked-form { display: grid; gap: 14px; margin-top: 23px; }.stacked-form label, .modal-field-row label { display: grid; gap: 7px; color: #697283; font-size: 10px; font-weight: 800; }.stacked-form input, .stacked-form textarea, .stacked-form select, .modal-field-row input, .modal-field-row select, .comment-form input { width: 100%; padding: 10px 11px; color: var(--ink); background: #fbfcfd; border: 1px solid #e0e4eb; border-radius: 7px; outline: 0; font-size: 11px; font-weight: 400; }.stacked-form textarea { resize: vertical; }.stacked-form input:focus, .stacked-form textarea:focus, .stacked-form select:focus, .comment-form input:focus { border-color: #bdb7ff; box-shadow: 0 0 0 3px var(--purple-soft); }.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 7px; }.form-help { padding: 10px; color: #8e96a5; background: #f7f8fb; border-radius: 6px; font-size: 10px; line-height: 1.5; }.form-help code { color: #6d5dfc; font-size: 9px; }.comments-section { padding-top: 20px; border-top: 1px solid var(--line); }.section-title { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }.section-title h3 { font-size: 12px; }.section-title span { display: grid; place-items: center; min-width: 17px; height: 17px; color: var(--purple); background: var(--purple-soft); border-radius: 5px; font-size: 9px; }.comment { display: flex; gap: 9px; padding: 12px 0; border-top: 1px solid #f0f1f4; }.comment-meta { display: flex; align-items: center; gap: 8px; }.comment-meta strong { color: #4a5261; font-size: 10px; }.comment-meta span { color: #a5adbb; font-size: 9px; }.comment p { margin-top: 6px; color: #727b8b; font-size: 10px; line-height: 1.5; }.comment-form { display: flex; gap: 8px; margin-top: 13px; }.comment-form input { background: white; }.error-state { padding: 50px; text-align: center; }.error-state h1 { font-size: 22px; }.error-state p { margin: 10px 0 20px; color: #7c8595; font-size: 12px; }
.feedback-button { position: fixed; right: 24px; bottom: 24px; z-index: 90; padding: 12px 18px; color: white; background: #1c2030; border: 0; border-radius: 999px; box-shadow: 0 10px 25px rgba(28, 32, 48, .2); font-size: 12px; font-weight: 800; }.feedback-button:hover { background: #3b4252; transform: translateY(-1px); }.feedback-modal { width: min(560px, 100%); }.feedback-context { display: flex; justify-content: space-between; gap: 16px; color: #8e96a5; font-size: 10px; line-height: 1.5; }.feedback-context span:last-child { flex: 0 0 auto; color: #6d5dfc; font-weight: 700; }.feedback-error { padding: 10px; color: #b84f42; background: #fff0ed; border-radius: 6px; font-size: 10px; }.feedback-success { margin: 24px 0; padding: 18px; color: #216c53; background: #e7f7f1; border-radius: 9px; font-size: 12px; }.feedback-success p { margin-top: 6px; color: #4d9077; font-size: 10px; }.feedback-modal .hidden { display: none; }
.asset-detail-meta { display: flex; align-items: center; gap: 11px; margin-top: 22px; padding: 12px; background: #fafbfc; border-radius: 8px; }.asset-detail-meta strong, .asset-detail-meta small { display: block; }.asset-detail-meta strong { color: #4a5261; font-size: 11px; text-transform: capitalize; }.asset-detail-meta small { margin-top: 4px; color: #9ca4b2; font-size: 9px; }.asset-detail-meta .final-badge { margin-left: auto; }.asset-versions { margin-top: 21px; }.version-row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid #f0f1f4; }.version-number { display: grid; place-items: center; width: 28px; height: 28px; color: var(--purple); background: var(--purple-soft); border-radius: 7px; font-size: 10px; font-weight: 800; }.version-row strong, .version-row small { display: block; }.version-row strong { color: #4b5362; font-size: 10px; }.version-row small { margin-top: 4px; color: #a0a8b5; font-size: 9px; }.version-state { margin-left: auto; color: #9da5b2; font-size: 9px; font-weight: 700; text-transform: capitalize; }
@media (max-width: 1180px) { .sidebar { width: 220px; }.main-content { width: calc(100% - 220px); margin-left: 220px; }.page-content, .topbar { padding-right: 25px; padding-left: 25px; }.project-cards { grid-template-columns: repeat(2, 1fr); }.kanban-board { grid-template-columns: repeat(5, 190px); }.search-panel { right: 150px; } }
.template-card-button { color: inherit; text-align: left; cursor: pointer; transition: .15s ease; }.template-card-button:hover { border-color: #c9c4ff; transform: translateY(-2px); }.template-action { display: block; margin-top: 13px; color: var(--purple); font-size: 10px; font-weight: 800; }
.approval-section { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }.approval-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid #f0f1f4; }.approval-row strong, .approval-row small { display: block; text-transform: capitalize; }.approval-row strong { color: #4a5261; font-size: 10px; }.approval-row small { margin-top: 4px; color: #9ca4b2; font-size: 9px; }.approval-request-form { display: flex; gap: 8px; margin-top: 12px; }.approval-request-form select { flex: 1; padding: 8px 10px; color: #697283; background: #fbfcfd; border: 1px solid #e0e4eb; border-radius: 7px; font-size: 10px; }.compact { min-height: 30px; padding: 0 10px; font-size: 10px; }
.proof-panel { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }.proof-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid #f0f1f4; }.proof-row strong, .proof-row small { display: block; }.proof-row strong { color: #4a5261; font-size: 10px; }.proof-row small { margin-top: 3px; color: #9ca4b2; font-size: 9px; text-transform: capitalize; }.proof-pin { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 auto; color: var(--purple); background: var(--purple-soft); border-radius: 50%; font-size: 8px; font-weight: 800; }.proof-row .secondary-button { margin-left: auto; }.proof-form { display: grid; grid-template-columns: 65px 65px 1fr auto; gap: 6px; margin-top: 11px; }.proof-form input { min-width: 0; padding: 8px 9px; color: var(--ink); background: #fbfcfd; border: 1px solid #e0e4eb; border-radius: 7px; outline: 0; font-size: 10px; }
.task-view-controls { display: flex; align-items: center; gap: 10px; margin: -5px 0 12px; color: #7f8898; font-size: 10px; }.task-view-controls > label { display: flex; align-items: center; gap: 7px; }.task-view-controls select { min-height: 30px; padding: 0 8px; color: #697283; background: white; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; }.column-controls { position: relative; }.column-controls summary { padding: 8px 10px; color: #697283; background: white; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; list-style: none; }.column-controls summary::after { content: "⌄"; margin-left: 6px; color: #9aa2b0; }.column-controls[open] summary { border-color: #c9c4ff; }.column-controls > div { position: absolute; z-index: 3; top: calc(100% + 5px); left: 0; display: grid; gap: 8px; min-width: 125px; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 12px 28px rgba(38, 45, 70, .12); }.column-controls label { display: flex; align-items: center; gap: 7px; white-space: nowrap; }.project-task-head, .project-task-row { grid-template-columns: var(--task-grid-columns, 25px minmax(220px, 1fr) 130px 95px 105px 110px); }.project-task-group-heading { display: flex; align-items: center; justify-content: space-between; padding: 11px 0 7px; color: #8c95a4; border-bottom: 1px solid #f0f1f4; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }.project-task-group-heading strong { color: #5d6676; font-size: 10px; }.task-inline-title { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 5px; align-items: center; padding-left: calc(var(--task-depth, 0) * 17px); }.task-inline-title small { grid-column: 2; overflow: hidden; margin-top: 1px; color: #9ca4b1; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.task-expand, .task-expand-spacer { width: 17px; height: 17px; }.task-expand { padding: 0; color: #8f87e9; background: var(--purple-soft); border: 0; border-radius: 4px; font-size: 11px; line-height: 17px; }.task-inline-input, .task-inline-select, .task-inline-date { min-width: 0; color: #4a5261; background: transparent; border: 1px solid transparent; border-radius: 5px; outline: 0; font: inherit; }.task-inline-input { width: 100%; padding: 4px 5px; font-weight: 700; }.task-inline-select, .task-inline-date { width: 100%; padding: 5px 3px; color: #697283; font-size: 10px; }.task-inline-input:hover, .task-inline-input:focus, .task-inline-select:hover, .task-inline-select:focus, .task-inline-date:hover, .task-inline-date:focus { background: white; border-color: #dcd8ff; }.task-inline-cell { min-width: 0; }.task-inline-cell .status-pill, .task-inline-cell .priority { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.campaign-cards { grid-template-columns: repeat(3, 1fr); }.campaign-card .project-card-banner { background: linear-gradient(135deg, var(--project-color), #b8b1ff); }.campaign-project-row { display: grid; grid-template-columns: 7px 1fr 17px; width: 100%; margin-top: 4px; border-top: 1px solid var(--line); }.inline-filter, #project-task-sort { min-height: 34px; padding: 0 10px; color: #697283; background: white; border: 1px solid var(--line); border-radius: 7px; outline: 0; font-size: 10px; }.inline-filter { width: 145px; }.bulk-toolbar { display: flex; align-items: center; gap: 12px; margin: -5px 0 14px; padding: 9px 12px; color: #737c8c; background: #faf9ff; border: 1px solid #e6e2ff; border-radius: 8px; font-size: 10px; }.bulk-toolbar label { display: flex; align-items: center; gap: 6px; }.bulk-toolbar span { color: var(--purple); font-weight: 750; }.bulk-toolbar select { margin-left: auto; min-height: 30px; padding: 0 8px; color: #697283; background: white; border: 1px solid #e0e4eb; border-radius: 6px; font-size: 10px; }.project-task-table { padding: 0 16px; overflow: hidden; }.project-task-head, .project-task-row { display: grid; grid-template-columns: 25px minmax(220px, 1fr) 130px 95px 85px 95px; align-items: center; gap: 10px; }.project-task-head { padding: 13px 0; color: #a0a8b6; border-bottom: 1px solid var(--line); font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }.project-task-row { min-height: 58px; border-bottom: 1px solid #f0f1f4; color: #758091; font-size: 10px; }.project-task-link { padding: 6px 0; color: inherit; background: transparent; border: 0; text-align: left; }.project-task-link strong, .project-task-link small { display: block; }.project-task-link strong { color: #3b4252; font-size: 11px; }.project-task-link small { margin-top: 4px; color: #9ca4b1; font-size: 9px; }.project-task-row input { accent-color: var(--purple); }.project-schedule-list { overflow: hidden; }.project-schedule-row { display: grid; grid-template-columns: 150px 1fr 130px; align-items: center; gap: 12px; width: 100%; padding: 14px 20px; color: #7a8392; background: white; border: 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 10px; }.project-schedule-row strong { color: #3b4252; font-size: 11px; }.project-files .file-table-head, .project-files .file-row { grid-template-columns: minmax(220px, 1fr) 80px 100px 17px; }.project-file-row { padding-right: 18px; padding-left: 18px; }.deliverables-panel { margin-top: 18px; }.deliverable-list { margin-top: 12px; }.deliverable-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid #f0f1f4; }.deliverable-row strong, .deliverable-row small { display: block; }.deliverable-row strong { color: #4a5261; font-size: 11px; }.deliverable-row small { margin-top: 4px; color: #9ca4b2; font-size: 9px; }.comment-reply { margin-left: 34px; padding-left: 12px; border-left: 2px solid #e6e2ff; }.comment-actions { display: flex; gap: 10px; margin-top: 7px; }.comment-actions .text-button { color: #8b84dc; font-size: 9px; }.comment-actions .danger { color: #c57061; }.comment-attachments { display: block; margin-top: 5px; color: #9ca4b2; font-size: 9px; }
.version-actions { display: flex; gap: 5px; margin-left: auto; }.notification-list { margin-top: 18px; }.notification-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid #f0f1f4; }.notification-row.read { opacity: .58; }.notification-icon { display: grid; place-items: center; width: 25px; height: 25px; color: var(--purple); background: var(--purple-soft); border-radius: 7px; font-size: 11px; }.notification-row strong, .notification-row small { display: block; }.notification-row strong { color: #4a5261; font-size: 10px; }.notification-row small { margin-top: 4px; color: #9ca4b2; font-size: 9px; }
.account-identity-note { padding: 8px 11px; color: #5c56bd; background: var(--purple-soft); border-radius: 7px; font-size: 10px; font-weight: 800; }.account-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; }.account-profile, .account-preferences { padding: 20px; }.account-profile-heading { display: flex; align-items: center; gap: 13px; }.account-avatar { width: 48px; height: 48px; font-size: 14px; }.account-profile-heading h2 { font-size: 18px; }.account-profile-heading p { margin-top: 4px; color: #8e96a5; font-size: 11px; }.account-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }.account-details span, .account-details strong { display: block; }.account-details span { color: #9ca4b2; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; }.account-details strong { margin-top: 5px; color: #4a5261; font-size: 11px; text-transform: capitalize; }.preference-row { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 10px; padding: 12px 0; border-top: 1px solid #f0f1f4; }.preference-row input { width: 15px; height: 15px; margin-top: 1px; accent-color: var(--purple); }.preference-row span { display: block; }.preference-row strong, .preference-row small { display: block; }.preference-row strong { color: #4a5261; font-size: 11px; }.preference-row small { margin-top: 4px; color: #9ca4b2; font-size: 9px; line-height: 1.45; }.account-preferences .form-actions { align-items: center; }.account-preferences .form-actions .muted { margin-right: auto; }
.questionnaire-panel { padding: 16px; }.questionnaire-note { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; padding: 12px 13px; color: #6c638c; background: #faf9ff; border: 1px solid #e8e4ff; border-radius: 8px; font-size: 10px; line-height: 1.5; }.questionnaire-note strong { color: #51499c; white-space: nowrap; }.questionnaire-section { border: 1px solid #edf0f4; border-radius: 9px; }.questionnaire-section + .questionnaire-section { margin-top: 9px; }.questionnaire-section summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px; color: #4a5261; cursor: pointer; list-style: none; }.questionnaire-section summary::-webkit-details-marker { display: none; }.questionnaire-section summary strong, .questionnaire-section summary small { display: block; }.questionnaire-section summary strong { font-size: 12px; }.questionnaire-section summary small { max-width: 680px; margin-top: 4px; color: #9ca4b2; font-size: 9px; font-weight: 400; line-height: 1.45; }.questionnaire-chevron { color: #9da5b4; font-size: 15px; transition: transform .15s ease; }.questionnaire-section[open] .questionnaire-chevron { transform: rotate(180deg); }.questionnaire-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 0 14px 15px; border-top: 1px solid #f0f1f4; }.questionnaire-field { display: grid; gap: 6px; padding-top: 13px; color: #697283; font-size: 10px; }.questionnaire-field > span { font-weight: 700; }.questionnaire-field input, .questionnaire-field select, .questionnaire-field textarea { width: 100%; min-width: 0; padding: 9px 10px; color: var(--ink); background: #fbfcfd; border: 1px solid #e0e4eb; border-radius: 7px; outline: 0; font: inherit; font-size: 10px; }.questionnaire-field textarea { min-height: 72px; resize: vertical; line-height: 1.45; }.questionnaire-field input:focus, .questionnaire-field select:focus, .questionnaire-field textarea:focus { border-color: #bdb7ff; box-shadow: 0 0 0 3px var(--purple-soft); }.questionnaire-field small, .questionnaire-check small { color: #9ca4b2; font-size: 9px; line-height: 1.45; }.required-mark { margin-left: 3px; color: #c66d5e; }.questionnaire-check { display: flex; align-items: flex-start; gap: 9px; grid-column: 1 / -1; padding-top: 13px; color: #697283; font-size: 10px; }.questionnaire-check input { width: 15px; height: 15px; margin-top: 1px; accent-color: var(--purple); }.questionnaire-check strong { display: block; color: #4a5261; }.questionnaire-check span { display: block; }.questionnaire-actions { align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid #edf0f4; }.questionnaire-actions .muted { margin-right: auto; }.questionnaire-progress { padding: 8px 11px; color: #5c56bd; background: var(--purple-soft); border-radius: 7px; font-size: 10px; font-weight: 800; }
.admin-access-badge { padding: 8px 11px; color: #5c56bd; background: var(--purple-soft); border-radius: 7px; font-size: 10px; font-weight: 800; }.admin-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: -2px 0 16px; }.admin-tab { padding: 8px 11px; color: #7d8695; background: white; border: 1px solid var(--line); border-radius: 7px; font-size: 10px; cursor: pointer; }.admin-tab:hover, .admin-tab.selected { color: var(--purple); background: var(--purple-soft); border-color: #d8d4ff; }.admin-panel { min-height: 280px; padding: 20px; }.admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 17px; }.admin-heading h2 { margin-top: 3px; font-size: 17px; }.admin-heading small, .admin-table-row small { display: block; margin-top: 4px; color: #9ca4b2; font-size: 9px; }.admin-table { overflow: hidden; border: 1px solid #edf0f4; border-radius: 8px; }.admin-table-head, .admin-table-row { display: grid; grid-template-columns: minmax(190px, 1.4fr) minmax(100px, .8fr) minmax(100px, .8fr) minmax(130px, 1fr); align-items: center; gap: 12px; }.admin-table-head { padding: 11px 13px; color: #a0a8b6; background: #fafbfc; border-bottom: 1px solid #edf0f4; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }.admin-table-row { min-height: 54px; padding: 9px 13px; border-bottom: 1px solid #f0f1f4; color: #747d8d; font-size: 10px; }.admin-table-row:last-child { border-bottom: 0; }.admin-table-row strong { color: #4a5261; font-size: 10px; }.admin-table-row input, .admin-table-row select, .admin-inline-form input, .admin-inline-form select, .admin-form input, .admin-form textarea, .admin-calendar-card input { min-width: 0; padding: 8px 9px; color: var(--ink); background: #fbfcfd; border: 1px solid #e0e4eb; border-radius: 6px; outline: 0; font-size: 10px; }.admin-table-row select[multiple] { min-height: 38px; }.admin-table-row input:focus, .admin-table-row select:focus, .admin-inline-form input:focus, .admin-inline-form select:focus, .admin-form input:focus, .admin-form textarea:focus { border-color: #bdb7ff; box-shadow: 0 0 0 3px var(--purple-soft); }.admin-inline-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 15px; }.admin-inline-form > input:first-child { flex: 1 1 180px; }.admin-inline-form label { display: flex; align-items: center; gap: 5px; color: #747d8d; font-size: 10px; white-space: nowrap; }.admin-inline-form label input { min-width: auto; }.admin-form { display: grid; gap: 10px; margin-bottom: 18px; padding: 13px; background: #fafbfc; border: 1px solid #edf0f4; border-radius: 8px; }.admin-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }.admin-form textarea { width: 100%; resize: vertical; }.admin-field-form { align-items: flex-end; }.admin-row-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }.admin-empty, .admin-loading, .admin-error { padding: 36px 12px; color: #9ca4b2; text-align: center; font-size: 11px; }.admin-error strong { color: #b84f42; }.admin-error p { margin-top: 7px; }.admin-calendar-list { display: grid; gap: 12px; }.admin-calendar-card { padding: 15px; border: 1px solid #edf0f4; border-radius: 8px; }.admin-calendar-card .admin-heading { margin-bottom: 10px; }.admin-calendar-card .admin-heading > span { color: var(--purple); font-size: 10px; font-weight: 800; }.admin-holidays { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0; color: #747d8d; font-size: 10px; }.admin-holidays strong { margin-right: 4px; color: #596273; }.admin-holiday-form { display: flex; flex-wrap: wrap; gap: 7px; }.admin-holiday-form input:first-child { width: 140px; }.admin-holiday-form input:nth-child(2) { flex: 1 1 170px; }.admin-integration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }.admin-integration-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border: 1px solid #edf0f4; border-radius: 8px; }.admin-integration-card strong, .admin-integration-card small { display: block; }.admin-integration-card strong { color: #4a5261; font-size: 11px; text-transform: capitalize; }.admin-integration-card small { margin-top: 4px; color: #9ca4b2; font-size: 9px; }.admin-activity-table .admin-table-row { grid-template-columns: 130px 120px minmax(180px, 1fr) 120px; }.admin-people-table .admin-table-row > span:first-child { min-width: 0; }.admin-people-table select { width: 100%; }.admin-panel .text-button { font-size: 10px; }
@media (max-width: 760px) { .account-grid, .admin-form-grid, .admin-integration-grid { grid-template-columns: 1fr; }.admin-table { overflow-x: auto; }.admin-table-head, .admin-table-row { min-width: 660px; }.admin-activity-table .admin-table-head, .admin-activity-table .admin-table-row { min-width: 560px; }.admin-heading { flex-direction: column; }.admin-access-badge, .account-identity-note { align-self: flex-start; } }
.admin-access-table .admin-table-head, .admin-access-table .admin-table-row { grid-template-columns: minmax(170px, 1.3fr) 110px 150px minmax(150px, 1fr) 70px; }.admin-access-table select[multiple] { min-height: 42px; }
.wrike-explorer { margin: 14px 0; padding: 16px; background: #fcfcfd; }.wrike-explorer .panel-heading { margin-bottom: 12px; }.wrike-explorer .admin-inline-form { align-items: stretch; }.wrike-explorer .admin-inline-form select { flex: 1 1 230px; }.wrike-explorer .admin-inline-form input { flex: 1 1 180px; }.wrike-record-list { display: grid; gap: 7px; max-height: 720px; overflow: auto; padding: 1px; }.wrike-record { overflow: hidden; background: white; border: 1px solid #edf0f4; border-radius: 7px; }.wrike-record summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 9px 12px; color: #667082; cursor: pointer; list-style-position: inside; font-size: 10px; }.wrike-record summary::marker { color: var(--purple); }.wrike-record summary > span:first-child { min-width: 0; }.wrike-record summary strong, .wrike-record summary small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.wrike-record summary strong { color: #4a5261; }.wrike-record summary small { margin-top: 4px; color: #9ca4b2; font-size: 9px; }.wrike-record pre { max-height: 420px; overflow: auto; margin: 0; padding: 13px; color: #5b6576; background: #fafbfc; border-top: 1px solid #edf0f4; font: 10px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-word; }.wrike-explorer-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.asset-source { display: flex; align-items: center; gap: 8px; margin: 16px 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }.asset-source .eyebrow { margin-right: auto; margin-bottom: 0; }
.proof-preview-media { max-width: 100%; max-height: 480px; }.proof-preview-frame { width: 100%; min-height: 360px; border: 0; }
.schedule-impact-list { display: grid; gap: 0; margin-top: 14px; border: 1px solid #edf0f4; border-radius: 8px; overflow: hidden; }.schedule-impact-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(145px, .8fr) minmax(180px, 1fr); gap: 10px; padding: 11px 12px; border-bottom: 1px solid #f0f1f4; color: #818a99; font-size: 10px; }.schedule-impact-row:last-child { border-bottom: 0; }.schedule-impact-row strong { color: #4a5261; font-size: 10px; }
@media (max-width: 760px) { .questionnaire-grid { grid-template-columns: 1fr; }.questionnaire-note { flex-direction: column; gap: 4px; }.questionnaire-progress { align-self: flex-start; }.questionnaire-actions { align-items: stretch; flex-wrap: wrap; }.questionnaire-actions .muted { width: 100%; }.questionnaire-actions button { flex: 1 1 130px; } }
.guest-body { min-height: 100vh; background: #f7f8fb; }.guest-shell { max-width: 1180px; margin: 0 auto; padding: 24px; }.guest-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }.guest-security { color: #8992a2; font-size: 11px; }.guest-app { max-width: 1100px; margin: 0 auto; }.guest-kicker { color: #6d5dfc; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }.guest-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 12px 0 24px; }.guest-title-row h1 { color: #333a4b; font-size: 30px; letter-spacing: -.04em; }.guest-title-row p { margin-top: 8px; color: #8b94a4; font-size: 12px; }.guest-watermark-label { padding: 8px 10px; color: #8d6d1c; background: #fff5d8; border-radius: 7px; font-size: 10px; font-weight: 800; white-space: nowrap; }.guest-proof-card { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr); gap: 20px; }.guest-preview, .guest-feedback { position: relative; overflow: hidden; padding: 16px; background: white; border: 1px solid #e4e7ee; border-radius: 13px; box-shadow: 0 6px 20px rgba(38, 45, 70, .05); }.guest-preview { display: grid; min-height: 480px; place-items: center; background: #eef0f5; }.guest-preview-media { max-width: 100%; max-height: 70vh; border-radius: 7px; }.guest-preview-frame { width: 100%; min-height: 450px; background: white; border: 0; }.guest-preview-empty { color: #929aaa; font-size: 12px; }.guest-watermark { position: absolute; color: rgba(109, 93, 252, .25); font-size: 36px; font-weight: 900; letter-spacing: .12em; transform: rotate(-25deg); pointer-events: none; }.guest-feedback h2 { color: #444c5c; font-size: 18px; }.guest-feedback ul { display: grid; gap: 9px; max-height: 190px; margin: 16px 0 20px; padding: 0; overflow: auto; list-style: none; }.guest-feedback li { padding: 10px; color: #5f6878; background: #fafbfc; border-radius: 7px; font-size: 11px; line-height: 1.45; }.guest-feedback li small { display: block; margin-top: 4px; color: #9ca4b2; }.guest-muted, .guest-footer { color: #9ca4b2; }.guest-feedback label { display: grid; gap: 6px; color: #697283; font-size: 10px; font-weight: 700; }.guest-feedback textarea, .guest-feedback input { width: 100%; padding: 9px 10px; color: #333a4b; background: #fbfcfd; border: 1px solid #e0e4eb; border-radius: 7px; font: inherit; font-size: 11px; }.guest-inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9px; }.guest-button { margin-top: 12px; padding: 10px 13px; color: white; background: #6d5dfc; border: 0; border-radius: 7px; font-size: 10px; font-weight: 800; cursor: pointer; }.guest-decisions { display: flex; gap: 7px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #edf0f4; }.guest-decisions .guest-button { flex: 1; margin-top: 0; }.guest-approve { background: #288466; }.guest-changes { color: #805a20; background: #f4d993; }.guest-status { min-height: 16px; margin-top: 10px; color: #6d5dfc; font-size: 10px; }.guest-footer { margin-top: 17px; font-size: 10px; text-align: center; }.guest-error { max-width: 580px; margin: 80px auto; padding: 30px; text-align: center; background: white; border: 1px solid #e4e7ee; border-radius: 13px; }.guest-error h1 { color: #444c5c; }.guest-error p { margin-top: 9px; color: #8b94a4; font-size: 12px; }
@media (max-width: 760px) { .guest-shell { padding: 16px; }.guest-header { margin-bottom: 28px; }.guest-proof-card { grid-template-columns: 1fr; }.guest-preview { min-height: 300px; }.guest-title-row { flex-direction: column; }.guest-watermark-label { align-self: flex-start; } }
.report-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); gap: 18px; }.subsection-heading { margin: 18px 0 10px; color: #4a5261; font-size: 13px; }
@media (max-width: 900px) { .report-layout { grid-template-columns: 1fr; } }
.guest-reject { background: #c66d5e; }
.calendar-layer-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-left:auto}.calendar-layer-controls i{display:inline-block;width:7px;height:7px;margin-right:5px;border-radius:50%}.calendar-layer-controls .muted-layer{opacity:.55}
.modal-header-actions{display:flex;align-items:center;gap:8px}.asset-metadata-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.asset-metadata-form label{display:grid;gap:5px;color:#697283;font-size:10px;font-weight:700}.asset-metadata-form input,.asset-metadata-form select{min-width:0;padding:8px;border:1px solid var(--line);border-radius:7px;font:inherit;font-size:11px}.comparison-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.comparison-grid figure{margin:0;padding:12px;background:#fafbfc;border:1px solid var(--line);border-radius:8px}.comparison-grid figcaption{margin-bottom:8px;color:#697283;font-size:10px;font-weight:700}.comparison-preview{display:block;width:100%;max-height:500px;object-fit:contain;background:white;border-radius:5px}.comparison-grid iframe.comparison-preview{height:460px;border:0}.comparison-toolbar{display:flex;justify-content:flex-end;gap:8px;margin-bottom:12px}.comparison-overlay{position:relative;min-height:400px;background:#eef0f5;overflow:hidden}.comparison-overlay .comparison-preview{max-height:70vh}.comparison-overlay-top{position:absolute;inset:0;opacity:.5;pointer-events:none}.preference-divider{height:1px;background:var(--line);margin:4px 0}.calendar-event{cursor:default}@media (max-width:760px){.asset-metadata-form,.comparison-grid{grid-template-columns:1fr}.modal-header-actions{flex-wrap:wrap}}.asset-source-comment{display:flex;align-items:center;gap:8px;width:100%;margin-top:10px}.asset-source-comment input{flex:1;min-width:0;padding:8px 10px;border:1px solid #e0e4eb;border-radius:7px;font:inherit;font-size:11px}

/* UX foundations: keyboard visibility, readable targets, and responsive layouts. */
body { min-width: 0; }
.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 9px 12px; color: white; background: var(--ink); border-radius: 6px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
:where(button, a, input, textarea, select, summary):focus-visible { outline: 3px solid rgba(109, 93, 252, .55); outline-offset: 2px; }
:where(button, a):focus:not(:focus-visible) { outline: 0; }
button:disabled, select:disabled, input:disabled, textarea:disabled { cursor: not-allowed; opacity: .6; }
body.modal-open { overflow: hidden; }
.modal-backdrop { overscroll-behavior: contain; }
.modal { min-width: 0; }
.modal-close { display: inline-grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 7px; cursor: pointer; }
.modal-close:hover { color: var(--ink); background: #f3f4f7; }
.project-list-tools { align-items: center; }
.project-list-filter, .project-list-sort { min-height: 32px; padding: 0 10px; color: #697283; background: white; border: 1px solid var(--line); border-radius: 7px; font-size: 11px; }
.project-list-filter { width: 190px; color: var(--ink); }
.project-list-sort { min-width: 138px; }
.progress-track[role="progressbar"] { overflow: hidden; }
.calendar-task { min-height: 27px; }
.danger-action { color: white; background: #c66d5e; border-color: #c66d5e; }
.danger-action:hover { color: white; background: #ad584c; border-color: #ad584c; }
.secret-field { display: grid; gap: 7px; color: #697283; font-size: 10px; font-weight: 800; }
.secret-field input { width: 100%; padding: 10px 11px; color: var(--ink); background: #fbfcfd; border: 1px solid #e0e4eb; border-radius: 7px; font: inherit; font-size: 11px; }
.guest-help { color: #9ca4b2; font-size: 9px; font-weight: 400; }
.field-help { display: block; margin-top: 4px; color: #9ca4b2; font-size: 9px; font-weight: 400; line-height: 1.4; }
.proof-form label { display: grid; gap: 5px; color: #697283; font-size: 10px; font-weight: 700; }
.proof-form label input, .proof-form label select { min-width: 0; padding: 8px 9px; color: var(--ink); background: #fbfcfd; border: 1px solid #e0e4eb; border-radius: 7px; font: inherit; font-size: 10px; }
.proof-position-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-width: 0; margin: 0; padding: 8px; border: 1px solid #edf0f4; border-radius: 7px; }
.proof-position-fields legend { grid-column: 1 / -1; padding: 0 3px; color: #697283; font-size: 10px; font-weight: 700; }
.proof-position-fields .field-help { grid-column: 1 / -1; }
.proof-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.proof-form > .proof-position-fields, .proof-form > label:nth-of-type(2), .proof-form > button { grid-column: 1 / -1; }
.proof-form > button { justify-self: end; }
.guest-confirm-backdrop { position: fixed; z-index: 110; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(24, 28, 42, .42); }
.guest-confirm-backdrop[hidden] { display: none; }
.guest-confirm { width: min(420px, 100%); padding: 22px; background: white; border-radius: 12px; box-shadow: 0 25px 75px rgba(26, 30, 50, .2); }
.guest-confirm h2 { color: #333a4b; font-size: 18px; }
.guest-confirm p { margin-top: 9px; color: #697283; font-size: 12px; line-height: 1.55; }
.guest-confirm-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.guest-confirm-actions .guest-button { margin-top: 0; }
.guest-confirm-cancel { color: #697283; background: white; border: 1px solid #e0e4eb; }
.guest-confirm-submit { background: #c66d5e; }

@media (max-width: 1100px) {
  .overview-grid, .lower-grid { grid-template-columns: 1fr; }
  .my-work-layout { grid-template-columns: 1fr; }
  .work-summary { order: -1; }
  .template-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { position: static; width: 100%; min-height: 0; padding: 16px; }
  .brand { padding-bottom: 16px; }
  .sidebar-spacer { display: none; }
  .sidebar-section-label { margin-top: 20px; }
  .sidebar .nav-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
  .main-content { width: 100%; margin-left: 0; }
  .topbar { height: auto; min-height: 76px; flex-wrap: wrap; gap: 12px; padding: 16px; }
  .breadcrumbs { width: 100%; }
  .topbar-actions { width: 100%; flex-wrap: wrap; gap: 8px; }
  .search-wrap { flex: 1 1 220px; width: auto; }
  .page-content { padding: 24px 16px 48px; }
  .page-intro { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 22px; }
  .page-actions, .detail-actions { width: 100%; flex-wrap: wrap; }
  .page-actions > *, .detail-actions > * { flex: 1 1 130px; }
  h1 { font-size: 25px; }
  .stat-grid, .project-cards, .template-grid { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
  .project-toolbar, .calendar-toolbar, .file-toolbar, .board-toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
  .project-list-tools, .view-tools { width: 100%; flex-wrap: wrap; }
  .project-list-filter, .project-list-sort, .file-search { flex: 1 1 160px; width: auto; }
  .modal-backdrop { align-items: start; padding: 16px; }
  .modal { max-height: calc(100vh - 32px); padding: 18px; }
  .modal-field-row, .comparison-grid { grid-template-columns: 1fr; }
  .form-actions { flex-wrap: wrap; }
  .form-actions > button { flex: 1 1 120px; }
  .comment-form { display: grid; grid-template-columns: 1fr; }
  .proof-form { grid-template-columns: 1fr 1fr; }
  .proof-form input[name="body"], .proof-form select, .proof-form button { grid-column: 1 / -1; }
  .guest-proof-card { grid-template-columns: 1fr; }
}

/* Shared Studio shell tokens: keep the legacy workspace and Social Planner on the same visual system. */
:root {
  --bg: #f5f3f0;
  --surface: #fffdfb;
  --surface-muted: #fbfaf8;
  --ink: #252130;
  --ink-muted: #787384;
  --line: #e6e1e6;
  --purple: #5d4ce3;
  --purple-strong: #4134b9;
  --purple-soft: #eeebff;
  --orange: #dd763f;
  --green: #1c946b;
  --blue: #4c79d8;
  --lime: #d9f27b;
  --eggplant: #28213f;
  --shadow: 0 18px 50px rgba(39, 32, 63, .09);
}

.app-shell { background: var(--bg); color: var(--ink); }
.sidebar { background: var(--eggplant); border-right: 0; box-shadow: 12px 0 30px rgba(39, 32, 63, .08); }
.brand { color: #fffdfb; letter-spacing: -.04em; }
.brand-mark { color: var(--lime); background: rgba(217, 242, 123, .12); border-color: rgba(217, 242, 123, .65); }
.brand-beta { color: #aaa3bc; }
.workspace-switcher { color: #f8f5ff; background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .13); }
.workspace-switcher select { color: #f8f5ff; background: transparent; }
.sidebar-section-label { color: #aaa3bc; }
.nav-item { color: #c4bed2; }
.nav-item:hover { color: #fffdfb; background: rgba(255, 255, 255, .08); }
.nav-item.active { color: #fffdfb; background: rgba(217, 242, 123, .15); box-shadow: inset 3px 0 var(--lime); }
.nav-item.active .nav-icon { color: var(--lime); }
.nav-icon { color: #aaa3bc; }
.nav-badge { color: var(--eggplant); background: var(--lime); }
.local-note { color: #f8f5ff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); }
.local-note small, .user-chip small { color: #aaa3bc; }
.user-chip { color: #f8f5ff; background: transparent; }
.user-chip:hover { background: rgba(255, 255, 255, .08); }
.main-content, .topbar { background: var(--bg); }
.breadcrumbs { color: var(--ink-muted); }
.breadcrumbs strong { color: var(--ink); }
.search-wrap { background: var(--surface); border-color: var(--line); box-shadow: 0 4px 18px rgba(39, 32, 63, .04); }
.search-wrap input { color: var(--ink); background: transparent; }
.primary-button { color: var(--eggplant); background: var(--lime); box-shadow: 0 8px 18px rgba(39, 32, 63, .12); }
.primary-button:hover { color: var(--eggplant); background: #c8e866; }
.secondary-button { color: var(--purple-strong); background: var(--purple-soft); border-color: #ddd8ff; }
.secondary-button:hover { color: var(--purple-strong); background: #e3deff; }
.text-button { color: var(--purple); }
.panel, .stat-card, .project-card { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.stat-card strong, .panel-heading h2, .project-card h2 { color: var(--ink); }
.stat-card small, .muted, .project-card p { color: var(--ink-muted); }
input, select, textarea { color: var(--ink); background: var(--surface); border-color: var(--line); }
input:focus, select:focus, textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(93, 76, 227, .13); outline: 0; }
:where(button, a, input, select, textarea):focus-visible { outline: 3px solid rgba(217, 242, 123, .85); outline-offset: 2px; }
.feedback-button { color: var(--eggplant); background: var(--lime); box-shadow: 0 10px 25px rgba(39, 32, 63, .2); }
.feedback-button:hover { background: #c8e866; }
.initial-loading { display: grid; min-height: 40vh; place-items: center; color: var(--ink-muted); font-size: 13px; }
.approval-history-note { display: grid; gap: 5px; margin-top: 16px; padding: 12px 14px; color: var(--ink-muted); background: var(--surface-muted); border: 1px solid var(--line); border-radius: 9px; font-size: 11px; }
.approval-history-note strong { color: var(--ink); }
.asset-preview-stage { position: relative; display: grid; min-height: 240px; place-items: center; overflow: hidden; background: #edeaf1; border-radius: 9px; cursor: crosshair; }
.asset-preview-stage .asset-preview-media { width: 100%; }
.asset-preview-stage img, .asset-preview-stage video { display: block; max-width: 100%; max-height: 62vh; margin: 0 auto; }
.proof-preview-pin { position: absolute; z-index: 2; display: grid; width: 24px; height: 24px; place-items: center; padding: 0; color: #fff; background: var(--purple); border: 2px solid #fff; border-radius: 50%; box-shadow: 0 4px 10px rgba(39, 32, 63, .28); font-size: 10px; font-weight: 800; transform: translate(-50%, -50%); cursor: pointer; }
.proof-preview-pin.resolved { background: var(--green); }
.proof-preview-pin.draft { background: var(--orange); pointer-events: none; }
.condition-builder, .report-columns, .widget-builder { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-muted); }
.condition-builder legend, .report-columns legend { padding: 0 5px; color: var(--ink-muted); font-size: 10px; font-weight: 800; }
.report-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.report-columns label { display: flex; align-items: center; gap: 6px; color: var(--ink-muted); font-size: 11px; }
.widget-builder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.widget-builder label { display: grid; gap: 5px; color: var(--ink-muted); font-size: 10px; font-weight: 700; }
.expert-config { color: var(--ink-muted); font-size: 10px; }
.expert-config summary { cursor: pointer; font-weight: 700; }

@media (max-width: 760px) {
  .report-columns, .widget-builder { grid-template-columns: 1fr; }
}

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

/* Task approval requests need a vertical reading order at every viewport width. */
.approval-request-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  margin-top: 14px;
  padding: 14px;
  background: #fafbfc;
  border: 1px solid #edf0f4;
  border-radius: 8px;
}
.approval-request-form > label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #697283;
  font-size: 10px;
  font-weight: 700;
}
.approval-request-form .approval-approvers select {
  width: 100%;
  min-height: 100px;
  padding: 8px 10px;
}
.approval-request-form .approval-approvers small {
  color: #9ca4b2;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
}
.approval-request-form > .modal-field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
  margin: 0;
}
.approval-request-form > .modal-field-row label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #697283;
  font-size: 10px;
  font-weight: 700;
}
.approval-request-form input,
.approval-request-form select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.approval-request-form > button { justify-self: start; }

@media (max-width: 760px) {
  .task-modal .modal-header { gap: 12px; }
  .task-modal .modal-header-actions { justify-content: flex-end; flex-wrap: wrap; }
  .approval-request-form { padding: 12px; }
  .approval-request-form > .modal-field-row { grid-template-columns: 1fr; }
}
.project-children { margin-bottom: 1rem; }
.child-project-list { display: grid; gap: .25rem; }
.child-project-row { align-items: center; background: transparent; border: 0; border-top: 1px solid var(--line, #e8e7ef); color: inherit; cursor: pointer; display: grid; gap: .75rem; grid-template-columns: auto 1fr auto; padding: .75rem 0; text-align: left; width: 100%; }
.child-project-row:hover { background: color-mix(in srgb, var(--surface, #fff) 85%, var(--accent, #6d5dfc)); }
.child-project-row small { color: var(--muted, #777); display: block; margin-top: .15rem; }

/* Large-workspace feedback follow-through: keep controls and previews useful at real asset sizes. */
.workspace-switcher { padding: 7px 10px; }
.workspace-switcher select { min-width: 0; flex: 1; padding: 4px 0; color: inherit; background: transparent; border: 0; outline: 0; font: inherit; cursor: pointer; }
.asset-modal { width: min(1080px, calc(100vw - 48px)); }
.proof-preview { display: grid; place-items: center; max-height: min(70vh, 760px); overflow: auto; padding: 12px; background: #f7f8fb; border: 1px solid var(--line); border-radius: 9px; }
.proof-preview img, .proof-preview-media { display: block; width: auto; max-width: 100%; height: auto; max-height: min(70vh, 760px); object-fit: contain; }
.proof-preview-frame { min-height: min(70vh, 760px); }
.view-toggle { display: inline-flex; align-items: center; gap: 6px; color: #697283; font-size: 10px; font-weight: 700; }
.timeline-pagination { justify-content: space-between; margin-top: 14px; }
.comparison-preview { width: auto; max-width: 100%; height: auto; max-height: min(70vh, 760px); object-fit: contain; }
.task-add-subtask { margin-left: 5px; padding: 2px 5px; color: #8f87ec; background: #f1efff; border: 0; border-radius: 4px; font-size: 10px; }
.asset-preview-unavailable { display: grid; gap: 6px; width: 100%; padding: 24px; color: #697283; background: #fff; border: 1px dashed #d9dee8; border-radius: 8px; text-align: center; }
.asset-preview-unavailable strong { color: #424b5c; font-size: 13px; }
.asset-preview-unavailable small { color: #929baa; font-size: 11px; }
.asset-preview-media { display: grid; place-items: center; width: 100%; }
.asset-source-missing { display: grid; gap: 6px; align-items: start; margin: 14px 0; padding: 14px; color: #697283; background: #fff8ef; border: 1px solid #f2d7b3; border-radius: 8px; }
.asset-source-missing strong { color: #6b4d2d; }
.asset-source-missing .secondary-button { justify-self: start; }
.asset-duplicate-note { display: grid; gap: 5px; margin: 14px 0; padding: 12px 14px; color: #697283; background: #f8f6ff; border: 1px solid #ddd8fb; border-radius: 8px; }
.asset-duplicate-note strong { color: #4d477f; }
.asset-duplicate-note small { color: #8b87a7; }
.version-unavailable { color: #a16a35; font-size: 10px; }
.file-row small { display: block; margin-top: 3px; color: #9aa2b0; font-size: 9px; }
.file-toolbar .view-tools { flex-wrap: wrap; }
.my-work-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: -8px 0 16px; }
.my-work-toolbar .inline-filter { min-width: min(280px, 100%); }
.my-work-toolbar select { min-height: 34px; padding: 0 10px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: 10px; }
.my-work-task-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid #f0f1f5; }
.my-work-task-row .task-list-item { border-bottom: 0; }
.my-work-status-control { display: grid; justify-items: end; gap: 2px; min-width: 112px; }
.my-work-status-control select { max-width: 130px; padding: 6px 7px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 9px; }
.my-work-status-control .form-help { min-height: 12px; margin: 0; text-align: right; }
.task-modal { width: min(1040px, calc(100vw - 48px)); }
.task-details-form { display: grid; gap: 10px; margin: 16px 0; padding: 14px; background: #fbfcfd; border: 1px solid #edf0f4; border-radius: 8px; }
.task-details-form label, .task-dependency-form label { display: grid; gap: 5px; min-width: 0; color: #697283; font-size: 10px; font-weight: 700; }
.task-details-form input, .task-details-form select, .task-details-form textarea, .task-dependency-form input, .task-dependency-form select { box-sizing: border-box; width: 100%; min-width: 0; padding: 8px 9px; color: var(--ink); background: #fff; border: 1px solid #e0e4eb; border-radius: 7px; font: inherit; font-size: 10px; }
.task-details-form textarea { resize: vertical; }
.task-details-form .modal-field-row { margin: 0; }
.task-details-form .section-title { margin-bottom: 0; }
.task-details-form .section-title .form-help { color: #47845c; }
.task-context-grid, .task-history-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.task-context-panel, .task-history-panel { min-width: 0; padding: 13px; background: #fff; border: 1px solid #edf0f4; border-radius: 8px; }
.task-context-panel .section-title, .task-history-panel .section-title { margin-bottom: 9px; }
.related-task-list, .related-asset-link { display: grid; gap: 5px; }
.related-task-link, .related-asset-link { width: 100%; padding: 8px 0; color: var(--ink); background: transparent; border: 0; border-top: 1px solid #f0f1f5; font: inherit; text-align: left; cursor: pointer; }
.related-task-link:first-of-type, .related-asset-link:first-of-type { border-top: 0; }
.related-task-link:hover, .related-asset-link:hover { color: #675fce; }
.related-asset-link small { color: #8d95a3; font-size: 9px; }
.dependency-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 8px 0; border-top: 1px solid #f0f1f5; font-size: 10px; }
.dependency-row > span { padding: 3px 5px; color: #5c55bc; background: #f1efff; border-radius: 4px; font-size: 9px; font-weight: 800; }
.dependency-row strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-dependency-form { display: grid; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e5e7ed; }
.history-row { display: grid; gap: 3px; padding: 8px 0; border-top: 1px solid #f0f1f5; font-size: 10px; }
.history-row small { color: #8d95a3; font-size: 9px; line-height: 1.4; }
.task-history-panel .activity-list { gap: 8px; }
.feedback-admin-toolbar { align-items: end; flex-wrap: wrap; }
.feedback-admin-toolbar label { display: grid; gap: 5px; color: #697283; font-size: 10px; font-weight: 700; }
.feedback-admin-toolbar select { min-height: 34px; padding: 0 10px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: 10px; }
.feedback-admin-toolbar input { min-width: min(360px, 100%); flex: 1 1 240px; }
.feedback-admin-list { display: grid; gap: 10px; margin-top: 16px; }
.feedback-admin-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px; padding: 15px; background: #fff; border: 1px solid #e8ebf1; border-radius: 8px; }
.feedback-admin-card[hidden] { display: none; }
.feedback-admin-copy { min-width: 0; }
.feedback-admin-details { min-width: 0; }
.feedback-admin-details summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; }
.feedback-admin-details summary::-webkit-details-marker { display: none; }
.feedback-admin-details summary::before { content: "＋"; flex: 0 0 auto; color: #8f87ec; font-size: 12px; font-weight: 700; }
.feedback-admin-details[open] summary::before { content: "−"; }
.feedback-admin-details summary > span:first-of-type { display: grid; gap: 5px; min-width: 0; flex: 1; }
.feedback-admin-details summary small { display: block; color: #9aa2b0; font-size: 9px; overflow-wrap: anywhere; }
.feedback-admin-detail { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f1f5; }
.feedback-admin-message { margin: 0 0 8px; color: var(--ink); font-size: 11px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-admin-triage { display: grid; gap: 8px; min-width: 128px; }
.feedback-admin-card-heading { display: flex; align-items: flex-start; gap: 9px; justify-content: space-between; }
.feedback-admin-card-heading strong { color: var(--ink); font-size: 12px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.feedback-admin-card p { margin: 7px 0 4px; overflow-wrap: anywhere; }
.feedback-admin-card small { display: block; color: #9aa2b0; font-size: 9px; }
.feedback-admin-link { display: inline-block; margin-top: 9px; }
.feedback-admin-status { display: grid; gap: 5px; min-width: 128px; color: #697283; font-size: 10px; font-weight: 700; }
.feedback-admin-status select { min-height: 34px; padding: 0 8px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: 10px; }

@media (max-width: 760px) {
  .my-work-task-row { grid-template-columns: 1fr; align-items: stretch; gap: 0; }
  .my-work-status-control { justify-items: stretch; padding: 0 12px 8px; }
  .my-work-status-control select { max-width: none; }
  .my-work-status-control .form-help { text-align: left; }
  .task-context-grid, .task-history-grid { grid-template-columns: 1fr; }
  .feedback-admin-card { grid-template-columns: 1fr; gap: 12px; }
  .feedback-admin-triage { grid-template-columns: repeat(3, minmax(0, 1fr)); min-width: 0; }
  .feedback-admin-status { min-width: 0; }
}

/* Calendar reference format: month-grid planning with the team's spreadsheet vocabulary. */
.calendar-reference-toolbar { align-items: flex-end; flex-wrap: wrap; gap: 14px; margin: 5px 0 13px; }
.calendar-reference-month-nav { display: flex; align-items: flex-end; gap: 24px; min-width: min(100%, 480px); }
.calendar-reference-title { display: grid; gap: 0; min-width: 176px; color: #0f1012; line-height: .9; }
.calendar-reference-title span { color: #5c6065; font-size: 20px; font-weight: 700; letter-spacing: -.04em; }
.calendar-reference-title strong { margin-top: 4px; font-size: 39px; font-weight: 850; letter-spacing: -.06em; }
.calendar-neighbor { align-self: flex-start; padding: 0; color: #17191b; background: transparent; border: 0; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.calendar-neighbor:hover { color: #4a4f55; }
.calendar-reference-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.calendar-reference-controls .segmented { background: #f0f1f3; }
.calendar-reference-controls .segmented button { min-height: 29px; }
.calendar-reference-panel { overflow: visible; padding: 0; background: #fff; border: 0; border-radius: 0; box-shadow: none; }
.calendar-reference-panel .calendar-weekdays { padding: 0 0 5px; background: #fff; border-bottom: 2px dotted #6a6a6a; }
.calendar-reference-panel .calendar-weekdays span { padding-left: 8px; color: #202226; font-size: 13px; font-weight: 850; text-align: left; }
.calendar-reference-panel .calendar-grid { border-left: 4px solid #e6e500; }
.calendar-reference-panel .calendar-cell { min-height: 126px; padding: 6px 9px 9px; background: #fff; border-right: 4px solid #e6e500; border-bottom: 2px dotted #777; border-radius: 0; }
.calendar-reference-panel .calendar-cell:nth-child(7n) { border-right: 4px solid #e6e500; }
.calendar-reference-panel .calendar-cell.outside { background: #fff; }
.calendar-reference-panel .calendar-cell.outside .calendar-day { color: #a1a1a1; }
.calendar-reference-panel .calendar-cell.today { background: #fff; box-shadow: inset 0 0 0 2px #4da778; }
.calendar-reference-panel .calendar-day { width: auto; height: 22px; margin: 0 0 3px; color: #242629; font-size: 13px; font-weight: 800; line-height: 22px; text-align: left; }
.calendar-reference-panel .today .calendar-day { color: #242629; background: transparent; border-radius: 0; }
.calendar-day-events { display: grid; gap: 4px; min-width: 0; }
.calendar-reference-entry { display: block; width: 100%; overflow: hidden; padding: 0; color: #4b4e52; background: transparent; border: 0; border-radius: 0; font: inherit; font-size: 10px; font-weight: 650; line-height: 1.25; text-align: left; text-overflow: ellipsis; white-space: normal; cursor: pointer; }
.calendar-reference-entry:hover { background: #fafafa; text-decoration: underline; text-underline-offset: 2px; }
.calendar-reference-entry .calendar-reference-project { color: #4e5155; font-weight: 750; }
.calendar-reference-entry .calendar-reference-category { font-weight: 850; }
.calendar-category-merch { color: #4f8ed4; }.calendar-category-copy { color: #9b43d4; }.calendar-category-design { color: #f24eaf; }.calendar-category-content { color: #e7c000; }.calendar-category-pricing { color: #f00; }.calendar-category-click-thru { color: #61c9d4; }.calendar-category-content-meeting { color: #ff8a14; }.calendar-category-live { color: #00d96b; }
.calendar-category-merch .calendar-reference-project, .calendar-category-copy .calendar-reference-project, .calendar-category-design .calendar-reference-project, .calendar-category-content .calendar-reference-project, .calendar-category-pricing .calendar-reference-project, .calendar-category-click-thru .calendar-reference-project, .calendar-category-content-meeting .calendar-reference-project, .calendar-category-live .calendar-reference-project { color: #4e5155; }
.calendar-creative-entry { color: #66686b; font-size: 11px; font-weight: 500; }
.calendar-creative-entry strong { font-weight: 850; }
.calendar-creative-entry span { color: #626467; font-weight: 500; }
.calendar-creative-live strong { color: #00b968; }.calendar-creative-in-progress strong { color: #626467; }.calendar-creative-approved-designs-due strong, .calendar-creative-toolkit-due strong { color: #5d6063; }.calendar-creative-ends strong { color: #f00; }
.calendar-reference-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 15px; color: #595d62; font-size: 10px; }
.calendar-reference-legend-item { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.calendar-reference-legend-item i { display: inline-block; width: 16px; height: 7px; background: currentColor; }
.calendar-reference-legend-item.calendar-category-merch { color: #4f8ed4; }.calendar-reference-legend-item.calendar-category-copy { color: #9b43d4; }.calendar-reference-legend-item.calendar-category-design { color: #f24eaf; }.calendar-reference-legend-item.calendar-category-content { color: #e7c000; }.calendar-reference-legend-item.calendar-category-pricing { color: #f00; }.calendar-reference-legend-item.calendar-category-click-thru { color: #61c9d4; }.calendar-reference-legend-item.calendar-category-content-meeting { color: #ff8a14; }.calendar-reference-legend-item.calendar-category-live { color: #00d96b; }
.calendar-reference-legend-item.calendar-creative-live { color: #00b968; }.calendar-reference-legend-item.calendar-creative-in-progress { color: #626467; }.calendar-reference-legend-item.calendar-creative-approved-designs-due, .calendar-reference-legend-item.calendar-creative-toolkit-due { color: #5d6063; }.calendar-reference-legend-item.calendar-creative-ends { color: #f00; }
.calendar-reference-toolbar .calendar-layer-controls { flex-basis: 100%; margin-left: 0; }

@media (max-width: 760px) {
  .calendar-reference-toolbar { align-items: stretch; }
  .calendar-reference-month-nav { justify-content: space-between; gap: 8px; min-width: 100%; }
  .calendar-reference-title { min-width: 0; }
  .calendar-reference-title strong { font-size: 30px; }
  .calendar-reference-title span { font-size: 16px; }
  .calendar-reference-controls { margin-left: 0; }
  .calendar-reference-panel .calendar-cell { min-height: 92px; padding: 5px 4px 6px; border-right-width: 3px; }
  .calendar-reference-panel .calendar-grid { border-left-width: 3px; }
  .calendar-reference-panel .calendar-cell:nth-child(7n) { border-right-width: 3px; }
  .calendar-reference-panel .calendar-weekdays span { padding-left: 4px; font-size: 11px; }
  .calendar-reference-panel .calendar-day { font-size: 11px; }
  .calendar-reference-entry { font-size: 8px; }
  .calendar-creative-entry { font-size: 8px; }
}

/* Blueprint navigation shares the workspace navigation controls. */
.blueprint-navigation { max-height: 34vh; overflow-y: auto; padding-left: 12px; }
.blueprint-navigation .blueprint-nav-item { min-height: 36px; gap: 8px; font-size: 11px; }
.blueprint-nav-item > span { min-width: 0; overflow-wrap: anywhere; flex: 1; }
.blueprint-nav-item > small { font-size: 9px; opacity: .7; flex-shrink: 0; }

.blueprint-editor { margin-top: 24px; padding: 20px; }
.blueprint-editor fieldset { min-width: 0; border: 0; padding: 0; margin: 12px 0; }
.blueprint-editor label { display: grid; gap: 5px; font-size: 11px; }
.blueprint-editor input, .blueprint-editor select, .blueprint-editor textarea { max-width: 100%; min-height: 32px; border: 1px solid var(--border, #e6e1e6); border-radius: 5px; padding: 6px; background: #fffdfb; color: inherit; }
.blueprint-table-wrap { overflow-x: auto; margin: 16px 0; }
.blueprint-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; }
.blueprint-table td, .blueprint-table th { padding: 9px; border-bottom: 1px solid var(--border, #e6e1e6); vertical-align: top; }
.blueprint-table td { min-width: 130px; }
.blueprint-task-name { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.blueprint-task-name input { min-width: 180px; }
.blueprint-list-view .blueprint-table tbody tr { display: flex; flex-wrap: wrap; padding: 12px; border-bottom: 1px solid var(--border, #e6e1e6); }
.blueprint-list-view .blueprint-table thead { display: none; }
.blueprint-list-view .blueprint-table td { flex: 1; border: 0; }

.nav-branch { display: flex; align-items: center; }
.nav-branch > .nav-item { flex: 1; min-width: 0; }
.nav-disclosure { border: 0; background: transparent; color: inherit; min-width: 32px; min-height: 36px; cursor: pointer; }
.nav-disclosure.expanded { transform: rotate(180deg); }
.nav-disclosure:focus-visible { outline: 2px solid var(--accent-lime, #c5f264); outline-offset: 2px; border-radius: 6px; }
.space-navigation { max-height: 34vh; overflow-y: auto; padding-left: 12px; }
.space-navigation .nav-item { min-height: 32px; height: auto; white-space: normal; font-size: 11px; }
#browse-spaces-results { display: grid; gap: 8px; margin-top: 12px; }

.inbox-panel { padding: 20px; }
.inbox-panel label { display: grid; gap: 6px; font-size: 11px; }
.inbox-panel select, .inbox-panel input[type="search"] { min-height: 34px; padding: 6px; border: 1px solid var(--border, #e6e1e6); border-radius: 5px; background: #fffdfb; color: inherit; }
.inbox-record { display: block; text-align: left; white-space: pre-wrap; overflow-wrap: anywhere; }
.inbox-panel .notification-row > div { flex: 1; min-width: 0; }
.inbox-panel .notification-row:not(.read) { border-left: 3px solid #a5b840; }

.overview-widget-toolbar, .overview-widget-editor { padding: 20px; margin-bottom: 18px; }
.overview-widget-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.overview-widget { min-width: 0; padding: 18px; overflow-wrap: anywhere; }
.overview-widget .admin-row-actions { flex-wrap: wrap; justify-content: flex-start; }
.overview-widget-move { font-size: 18px; }
.overview-widget-remove { white-space: nowrap; }
.overview-summary-note { grid-column: 1 / -1; }
.overview-widget-tile { grid-column: span 4; }
.overview-widget-vertical { grid-column: span 3; grid-row: span 2; min-height: 300px; }
.overview-widget-horizontal { grid-column: span 12; }
.overview-widget label, .overview-widget-editor label { display: grid; gap: 5px; font-size: 11px; }
.overview-widget select, .overview-widget-editor input, .overview-widget-editor select { min-width: 0; min-height: 32px; padding: 6px; border: 1px solid var(--border, #e6e1e6); background: #fffdfb; color: inherit; border-radius: 5px; }
.widget-metric { display: block; font-size: 32px; margin: 20px 0; }
.widget-records { max-height: 360px; overflow-y: auto; }
.widget-records .task-list-item { width: 100%; display: grid; text-align: left; }
@media (max-width: 1000px) { .overview-widget-tile, .overview-widget-vertical { grid-column: span 6; } }
@media (max-width: 760px) { .overview-widget-grid { grid-template-columns: 1fr; } .overview-widget-tile, .overview-widget-vertical, .overview-widget-horizontal { grid-column: 1; } }

.report-widget-chart { display: block; width: 100%; height: auto; max-height: 260px; color: var(--purple); }

/* Conditional controls must stay hidden even when their component uses grid/flex. */
.reports-page { display: grid; gap: 24px; }
.reports-page .page-intro { margin-bottom: 0; }
.reports-summary .report-card h2 { margin-bottom: 14px; }
.reports-library { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.reports-library-panel, .reports-builder { padding: 24px; min-width: 0; }
.reports-library .panel-heading { gap: 16px; flex-wrap: wrap; }
.reports-count { margin-left: 6px; color: var(--ink-muted); font-size: 13px; font-weight: 500; }
.reports-empty { padding: 38px 18px; text-align: center; border: 1px dashed var(--line); border-radius: 10px; }
.reports-empty h3, .reports-saved-row h3 { margin: 0 0 7px; font-size: 14px; color: var(--ink); }
.reports-empty p, .reports-saved-row p, .reports-saved-row small { color: var(--ink-muted); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.reports-saved-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.reports-saved-row > div:first-child { min-width: 0; }
.reports-row-actions { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.reports-form { display: grid; gap: 22px; }
.reports-form fieldset { min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
.reports-form legend { padding: 0 8px; font-size: 12px; font-weight: 750; color: var(--ink); }
.reports-fields, .reports-form .admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.reports-form label { display: grid; gap: 7px; min-width: 0; font-size: 12px; font-weight: 650; color: var(--ink); }
.reports-form input:not([type="checkbox"]), .reports-form select, .reports-form textarea { width: 100%; max-width: 100%; min-width: 0; min-height: 40px; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-weight: 400; }
.reports-form :is(input,select,textarea):focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
.reports-form .report-columns label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.reports-form .report-columns input { width: 16px; height: 16px; }
.reports-form [data-report-schedule-details] { margin-top: 18px; }
.reports-form .widget-builder { gap: 18px; }
.reports-form .expert-config { padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; }
.reports-form .expert-config label { margin-top: 14px; }
.reports-form .form-help, .reports-form small { font-size: 12px; line-height: 1.6; font-weight: 400; }
.reports-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 4px; }
.reports-form-actions [role="alert"] { color: #b84f42; }
@media (max-width: 1100px) { .reports-library { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .reports-fields, .reports-form .admin-form-grid, .reports-form .widget-builder, .reports-form .report-columns { grid-template-columns: 1fr; } .reports-saved-row { align-items: flex-start; flex-direction: column; } .reports-library-panel, .reports-builder { padding: 18px; } .reports-form-actions { align-items: stretch; flex-direction: column; } }

[hidden], .reports-page [hidden] { display: none !important; }
.search-panel { max-height: 70vh; overflow-y: auto; }
.search-result .search-result-excerpt { color: #798394; white-space: normal; line-height: 1.35; }
