:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --text: #202633;
  --muted: #6f7785;
  --border: #e1e4e9;
  --border-strong: #d2d6dd;
  --primary: #6c5ce7;
  --primary-dark: #5547ce;
  --primary-soft: #efedff;
  --sidebar: #171923;
  --sidebar-muted: #9ca3b8;
  --success: #00a86b;
  --danger: #d83a52;
  --warning: #c97700;
  --shadow: 0 12px 34px rgba(34, 40, 55, .08);
  --radius: 14px;
  --sidebar-width: 254px;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Poppins, Inter, "Segoe UI", Arial, sans-serif; line-height: 1.5; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--sidebar-width); padding: 22px 16px 16px; color: #fff; background: linear-gradient(180deg, #191b27, #12141c); display: flex; flex-direction: column; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 24px; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; display: inline-grid; place-items: center; flex: 0 0 auto; color: #fff; background: linear-gradient(135deg, #7868f2, #4d3bc8); font-size: 20px; font-weight: 800; box-shadow: 0 8px 20px rgba(108,92,231,.32); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 15px; letter-spacing: .01em; }
.brand-copy small { color: var(--sidebar-muted); font-size: 11px; margin-top: 3px; }
.main-nav { display: grid; gap: 5px; }
.main-nav > a, .board-nav { min-height: 42px; padding: 9px 11px; border-radius: 9px; color: #cbd0dc; display: flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 550; transition: .18s ease; }
.main-nav > a span { width: 18px; text-align: center; font-size: 16px; color: #9ca3b8; }
.main-nav > a:hover, .board-nav:hover { color: #fff; background: rgba(255,255,255,.07); }
.main-nav > a.active { color: #fff; background: linear-gradient(90deg, rgba(108,92,231,.28), rgba(108,92,231,.11)); box-shadow: inset 3px 0 0 #8b7dff; }
.main-nav > a.active span { color: #b7adff; }
.sidebar-section { padding: 24px 0 10px; display: grid; gap: 3px; }
.sidebar-label { padding: 0 11px 8px; color: #6f768a; text-transform: uppercase; letter-spacing: .11em; font-size: 9px; font-weight: 800; }
.board-nav { min-height: 36px; padding-block: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-nav i { width: 8px; height: 8px; border-radius: 3px; background: var(--board); flex: 0 0 auto; }
.sidebar-admin { margin-top: auto; padding-top: 18px; }
.sidebar-user { margin-top: 16px; padding: 13px 9px 2px; border-top: 1px solid rgba(255,255,255,.08); display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center; }
.sidebar-user > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.sidebar-user strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user small { color: var(--sidebar-muted); font-size: 10px; }
.sidebar-user > a { color: #8d95aa; padding: 5px; }

.main-content { margin-left: var(--sidebar-width); min-height: 100vh; padding: 34px 38px 60px; }
.mobile-topbar { display: none; }
.sidebar-overlay { display: none; }

.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-heading h1 { margin: 0; font-size: clamp(27px, 3vw, 38px); line-height: 1.15; letter-spacing: -.035em; }
.page-heading p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.page-actions { display: flex; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.button { border: 1px solid var(--border-strong); background: var(--surface); border-radius: 8px; min-height: 39px; padding: 8px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-size: 13px; font-weight: 650; cursor: pointer; transition: .17s ease; box-shadow: 0 1px 2px rgba(20,25,35,.03); }
.button:hover { border-color: #b9bec8; background: #fafafa; transform: translateY(-1px); }
.button-primary { color: #fff; border-color: var(--primary); background: linear-gradient(135deg, #7667ee, var(--primary-dark)); box-shadow: 0 7px 18px rgba(108,92,231,.2); }
.button-primary:hover { color: #fff; border-color: #5547ce; background: linear-gradient(135deg, #6c5ce7, #4937c2); }
.button-small { min-height: 32px; padding: 5px 10px; font-size: 11px; }
.button-large { width: 100%; min-height: 48px; font-size: 14px; }
.icon-button { width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); cursor: pointer; display: inline-grid; place-items: center; color: var(--muted); }
.icon-button:hover { color: var(--text); border-color: var(--border-strong); }

.flash { position: relative; z-index: 70; max-width: 900px; margin: 0 auto 18px; padding: 12px 15px; border-radius: 9px; font-size: 13px; border: 1px solid; }
.flash-success { background: #edfdf6; color: #087a51; border-color: #b8eed8; }
.flash-error { background: #fff0f2; color: #b6223b; border-color: #f3bcc5; }

.stats-grid { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 13px; margin-bottom: 22px; }
.stat-card { min-height: 102px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; display: flex; align-items: center; gap: 14px; box-shadow: 0 5px 17px rgba(40,45,60,.035); }
.stat-card.alert { border-color: #f0b8c1; }
.stat-card > div { display: flex; flex-direction: column; min-width: 0; }
.stat-card small { color: var(--muted); font-size: 11px; white-space: nowrap; }
.stat-card strong { font-size: 23px; line-height: 1.2; margin-top: 4px; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; }
.stat-icon { width: 39px; height: 39px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.stat-icon.violet { color: #6655d9; background: #efedff; }.stat-icon.blue { color: #267fe3; background: #eaf4ff; }.stat-icon.red { color: #d83a52; background: #fff0f2; }.stat-icon.green { color: #008c5c; background: #e8faf3; }.stat-icon.orange { color: #ba6a00; background: #fff4df; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); gap: 18px; margin-bottom: 25px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 5px 20px rgba(35,40,55,.035); }
.panel-heading { padding: 18px 20px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.panel-heading h2 { margin: 0; font-size: 15px; letter-spacing: -.01em; }
.panel-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.panel-heading > a { color: var(--primary); font-size: 11px; font-weight: 650; }
.deadline-list { padding: 5px 0; }
.deadline-row { padding: 10px 16px; display: grid; grid-template-columns: 48px minmax(150px,1fr) auto 34px; align-items: center; gap: 12px; transition: .15s; }
.deadline-row:hover { background: #fafaff; }
.date-tile { width: 43px; height: 47px; border: 1px solid var(--border); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; background: #fafbfc; }
.date-tile b { font-size: 15px; }.date-tile small { color: var(--muted); font-size: 9px; text-transform: uppercase; margin-top: 3px; }.date-tile.overdue { color: var(--danger); border-color: #f2c1c8; background: #fff5f6; }
.deadline-main { min-width: 0; display: flex; flex-direction: column; }
.deadline-main strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.deadline-main small { color: var(--muted); font-size: 10px; margin-top: 4px; display: flex; align-items: center; gap: 5px; }
.deadline-main i, .work-list i { width: 7px; height: 7px; border-radius: 2px; background: var(--dot); display: inline-block; }
.status-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; max-width: 140px; min-height: 27px; padding: 5px 9px; border-radius: 6px; color: var(--status-text); background: var(--status); font-size: 9px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; flex: 0 0 auto; color: #fff; background: var(--avatar, #6c5ce7); font-size: 10px; font-weight: 800; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.avatar-small { width: 27px; height: 27px; font-size: 8px; }.avatar-large { width: 66px; height: 66px; font-size: 18px; border-width: 3px; }.avatar-empty { background: #eef0f4; color: #7b8493; border: 1px dashed #b9bec8; }
.activity-list { padding: 8px 17px 15px; max-height: 430px; overflow: auto; }
.activity-row { display: grid; grid-template-columns: 29px 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f1f4; }
.activity-row:last-child { border: 0; }.activity-row p { margin: 0; font-size: 10.5px; line-height: 1.5; }.activity-row p a { color: var(--primary); font-weight: 650; }.activity-row small { color: var(--muted); font-size: 9px; }
.empty-inline { color: var(--muted); font-size: 12px; padding: 22px; text-align: center; }
.section-block { margin-top: 22px; }.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin: 0 2px 12px; }.section-heading h2 { margin: 0; font-size: 17px; }.section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }.section-heading > a { color: var(--primary); font-size: 11px; font-weight: 700; }
.board-card-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.board-card { min-height: 180px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--board); border-radius: 11px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: 1fr auto; gap: 13px; transition: .18s ease; }
.board-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4d7dd; border-top-color: var(--board); }
.board-card-icon { width: 39px; height: 39px; border-radius: 9px; color: var(--board); background: color-mix(in srgb, var(--board) 12%, white); display: grid; place-items: center; font-weight: 800; }
.board-card h3 { margin: 2px 0 6px; font-size: 14px; }.board-card p { margin: 0; color: var(--muted); font-size: 10.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.board-card footer { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 12px; display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.board-card-new { cursor: pointer; place-items: center; grid-template-columns: 1fr; border-style: dashed; border-top-width: 1px; color: var(--muted); }
.board-card-new span { font-size: 28px; }
.danger-text { color: var(--danger) !important; }

.board-list-grid { display: grid; grid-template-columns: repeat(3,minmax(260px,1fr)); gap: 16px; }
.board-list-card { min-height: 280px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 18px; display: flex; flex-direction: column; box-shadow: 0 5px 18px rgba(40,45,60,.03); }
.board-list-top { display: flex; justify-content: space-between; align-items: flex-start; }.board-list-link { padding: 14px 0 18px; flex: 1; }.board-list-link h2 { margin: 0 0 7px; font-size: 17px; }.board-list-link p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.progress-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; margin-bottom: 15px; }.progress-track { height: 6px; border-radius: 6px; background: #eceef2; overflow: hidden; }.progress-track i { display: block; height: 100%; background: var(--board); border-radius: inherit; }.progress-row small { color: var(--muted); font-size: 9px; }
.board-list-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 15px; }.board-list-stats span { padding: 9px 6px; border-radius: 7px; background: #f7f8fa; color: var(--muted); display: flex; flex-direction: column; align-items: center; font-size: 9px; }.board-list-stats strong { color: var(--text); font-size: 15px; }
.board-list-card footer { border-top: 1px solid var(--border); padding-top: 13px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 9px; }
.menu-wrap { position: relative; }.dropdown-menu { display: none; position: absolute; z-index: 30; top: calc(100% + 5px); left: 0; width: 165px; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 5px; box-shadow: var(--shadow); }.dropdown-menu.right { left: auto; right: 0; }.menu-wrap.open .dropdown-menu { display: grid; }.dropdown-menu a, .dropdown-menu button { width: 100%; border: 0; background: transparent; padding: 8px 9px; text-align: left; border-radius: 6px; font-size: 10px; cursor: pointer; }.dropdown-menu a:hover, .dropdown-menu button:hover { background: #f2f3f6; }
.empty-state { grid-column: 1 / -1; min-height: 330px; border: 1px dashed var(--border-strong); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; background: rgba(255,255,255,.6); }.empty-state h2 { margin: 12px 0 4px; }.empty-state p { color: var(--muted); max-width: 400px; font-size: 12px; }.empty-icon { font-size: 35px; color: var(--primary); }

.board-toolbar { margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.view-tabs { background: #e9ebef; padding: 3px; border-radius: 8px; display: inline-flex; gap: 2px; }.view-tabs a { min-width: 82px; padding: 7px 10px; border-radius: 6px; text-align: center; color: var(--muted); font-size: 11px; font-weight: 650; }.view-tabs a.active { color: var(--text); background: #fff; box-shadow: 0 1px 4px rgba(20,25,35,.1); }
.filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }.filter-bar select, .filter-bar input { min-height: 35px; border: 1px solid var(--border); background: #fff; border-radius: 7px; padding: 6px 9px; font-size: 10px; }.filter-bar select { min-width: 120px; }.search-input { position: relative; display: flex; align-items: center; }.search-input span { position: absolute; left: 10px; color: var(--muted); }.search-input input { padding-left: 29px; width: 180px; }.clear-filter { color: var(--primary); font-size: 10px; }
.table-board { display: grid; gap: 21px; }.status-group { min-width: 0; }.status-group-header { min-height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 5px 7px; }.status-group-header h2 { margin: 0; color: var(--status); font-size: 14px; }.status-group-header span { color: var(--muted); font-size: 9px; }.status-group-header i { height: 2px; flex: 1; background: var(--status); opacity: .35; }.collapse-button { border: 0; background: transparent; color: var(--status); cursor: pointer; font-size: 15px; transition: .2s; }.status-group.collapsed .collapse-button { transform: rotate(-90deg); }.status-group.collapsed .responsive-table-wrap { display: none; }
.responsive-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 8px; background: #fff; }.work-table, .admin-table { width: 100%; min-width: 900px; border-collapse: collapse; table-layout: fixed; }.work-table th { height: 34px; background: #f6f7f9; color: #727986; font-size: 9px; font-weight: 650; text-align: left; padding: 6px 9px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }.work-table td { height: 45px; padding: 0; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 10px; }.work-table tr:last-child td { border-bottom: 0; }.work-table th:last-child, .work-table td:last-child { border-right: 0; }.work-table .accent-cell { width: 6px; padding: 0; background: var(--status); }.work-table th.accent-cell { opacity: .8; }.work-table .job-col { width: 28%; }.work-table .icon-col { width: 48px; }.job-cell a { min-height: 44px; padding: 7px 11px; display: flex; flex-direction: column; justify-content: center; }.job-cell strong { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.job-cell small { color: var(--muted); font-size: 8px; margin-top: 2px; }
.inline-select, .inline-date { width: 100%; height: 44px; border: 0; border-radius: 0; padding: 0 9px; outline: 0; background: #fff; font-size: 9px; cursor: pointer; }.status-select { color: var(--status-text,#fff); font-weight: 700; text-align: center; text-align-last: center; background: var(--select, #6c5ce7); }.status-select option { color: #222; background: #fff; }.priority-select { text-align: center; text-align-last: center; font-weight: 700; }.priority-urgent { color: var(--priority-text,#fff); background: var(--priority-bg,#d83a52); }.priority-high { color: var(--priority-text,#8a3b00); background: var(--priority-bg,#ffdfaa); }.priority-normal { color: var(--priority-text,#4f5663); background: var(--priority-bg,#eef0f4); }.priority-low { color: var(--priority-text,#087a51); background: var(--priority-bg,#dff7ec); }.person-select { text-align: center; text-align-last: center; }.inline-date { text-align: center; }.inline-date.overdue { color: var(--danger); background: #fff4f5; }.money-input { height: 44px; display: flex; align-items: center; padding: 0 8px; }.money-input > span { color: var(--muted); font-size: 9px; }.money-input input { width: 100%; height: 100%; border: 0; outline: 0; padding: 0 3px; font-size: 9px; background: transparent; }.row-meta { text-align: center; }.row-meta a { position: relative; color: var(--muted); }.row-meta small { position: absolute; top: -6px; right: -7px; min-width: 13px; height: 13px; padding: 0 3px; border-radius: 8px; color: #fff; background: var(--primary); font-size: 7px; display: grid; place-items: center; }.quick-add-row td { height: 37px; }.quick-add-form { display: flex; height: 36px; }.quick-add-form input { flex: 1; border: 0; padding: 0 11px; outline: 0; font-size: 10px; }.quick-add-form button { display: none; border: 0; color: var(--primary); background: transparent; font-size: 10px; font-weight: 700; cursor: pointer; }.quick-add-form:focus-within button { display: block; }

.kanban-board { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 18px; align-items: flex-start; }.kanban-column { flex: 0 0 290px; background: #eef0f3; border-radius: 10px; padding: 9px; }.kanban-column > header { min-height: 39px; padding: 3px 4px 10px; display: flex; align-items: center; justify-content: space-between; }.kanban-column > header div { display: flex; align-items: center; gap: 7px; }.kanban-column > header i { width: 9px; height: 9px; border-radius: 3px; background: var(--status); }.kanban-column > header strong { font-size: 11px; }.kanban-column > header span { color: var(--muted); font-size: 9px; }.kanban-column > header .icon-button { width: 26px; height: 26px; background: transparent; border: 0; }.kanban-dropzone { min-height: 80px; display: grid; gap: 9px; }.kanban-dropzone.drag-over { border-radius: 8px; background: rgba(108,92,231,.08); box-shadow: inset 0 0 0 2px rgba(108,92,231,.3); }.kanban-card { background: #fff; border: 1px solid #dfe2e7; border-radius: 9px; padding: 12px; box-shadow: 0 2px 6px rgba(40,45,60,.04); cursor: grab; }.kanban-card.dragging { opacity: .45; transform: rotate(1deg); }.kanban-card-top { display: flex; justify-content: space-between; align-items: center; }.priority { display: inline-flex; padding: 3px 7px; border-radius: 4px; font-size: 8px; font-weight: 750; }.drag-handle { border: 0; background: transparent; color: #a4a9b2; cursor: grab; }.kanban-card h3 { margin: 10px 0 5px; font-size: 11.5px; line-height: 1.45; }.kanban-card p { margin: 0 0 10px; color: var(--muted); font-size: 9px; line-height: 1.55; }.kanban-card footer { margin-top: 11px; padding-top: 9px; border-top: 1px solid #eff0f2; display: flex; align-items: center; gap: 7px; }.kanban-meta, .kanban-icons { color: var(--muted); font-size: 8px; }.kanban-meta.overdue { color: var(--danger); }.kanban-icons { margin-left: auto; }.kanban-empty { min-height: 70px; border: 1px dashed #cdd1d8; border-radius: 8px; color: #9da3ad; display: grid; place-items: center; font-size: 9px; }.kanban-add { width: 100%; margin-top: 8px; padding: 7px; border: 0; border-radius: 6px; background: transparent; text-align: left; color: var(--muted); font-size: 9px; cursor: pointer; }.kanban-add:hover { background: rgba(255,255,255,.65); color: var(--text); }

.modal { position: fixed; z-index: 100; inset: 0; padding: 25px; display: none; align-items: center; justify-content: center; background: rgba(17,20,29,.58); backdrop-filter: blur(3px); }.modal.open { display: flex; }.modal-dialog { position: relative; width: min(560px,100%); max-height: calc(100vh - 50px); overflow-y: auto; border-radius: 14px; padding: 26px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.25); animation: modalIn .18s ease; }.modal-small .modal-dialog, .modal-dialog.modal-small { width: min(450px,100%); }.modal-dialog.modal-wide { width: min(780px,100%); }.modal-dialog h2 { margin: 4px 0 7px; font-size: 23px; letter-spacing: -.03em; }.modal-dialog > p { margin: 0 0 20px; color: var(--muted); font-size: 11px; }.modal-close { position: absolute; top: 15px; right: 15px; width: 32px; height: 32px; border: 0; border-radius: 7px; background: #f1f2f5; cursor: pointer; font-size: 19px; }.eyebrow { color: var(--primary); text-transform: uppercase; letter-spacing: .12em; font-size: 8px; font-weight: 800; }
@keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(.99); } }
.stack-form { display: grid; gap: 14px; }.stack-form label, .installer-form label { display: grid; gap: 6px; color: #555d69; font-size: 10px; font-weight: 650; }.stack-form input, .stack-form select, .stack-form textarea, .installer-form input, .installer-form select, .installer-form textarea { width: 100%; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; padding: 10px 11px; outline: 0; font-size: 12px; font-weight: 400; }.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus, .installer-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }.stack-form textarea { resize: vertical; }.stack-form label small, .installer-form label small { color: var(--muted); font-size: 8px; font-weight: 400; }.form-grid { display: grid; gap: 12px; }.form-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.settings-tabs { margin: 20px 0; padding-bottom: 1px; border-bottom: 1px solid var(--border); display: flex; gap: 2px; }.settings-tabs button { border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 9px 13px; color: var(--muted); font-size: 10px; cursor: pointer; }.settings-tabs button.active { color: var(--primary); border-color: var(--primary); font-weight: 700; }.status-editor { display: grid; gap: 7px; }.status-edit-row, .status-add-row { display: grid; grid-template-columns: 42px minmax(150px,1fr) auto auto; gap: 8px; align-items: center; }.status-edit-row input[type=color], .status-add-row input[type=color] { width: 42px; height: 37px; padding: 3px; border: 1px solid var(--border); border-radius: 7px; }.status-edit-row input[type=text], .status-add-row input[type=text] { min-height: 37px; border: 1px solid var(--border); border-radius: 7px; padding: 7px 9px; font-size: 10px; }.status-add-row { margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--border); }.compact-check { display: flex; align-items: center; gap: 5px; white-space: nowrap; color: var(--muted); font-size: 9px; }.form-note { color: var(--muted); font-size: 9px; }.member-picker { display: grid; gap: 7px; }.member-picker > label { min-height: 52px; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; display: grid; grid-template-columns: 16px 28px 1fr; align-items: center; gap: 9px; }.member-picker > label > span:last-child { display: flex; flex-direction: column; }.member-picker strong { font-size: 10px; }.member-picker small { color: var(--muted); font-size: 8px; }

.breadcrumb { margin: -8px 0 20px; display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 9px; }.breadcrumb a:hover { color: var(--primary); }.breadcrumb strong { color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(280px,.65fr); gap: 18px; align-items: start; }.item-main, .item-sidebar { display: grid; gap: 16px; }.item-title-card { border-left: 5px solid var(--board); background: #fff; border-radius: 12px; padding: 22px; box-shadow: 0 4px 18px rgba(40,45,60,.04); }.item-title-row { display: flex; justify-content: space-between; gap: 15px; }.item-title-row h1 { margin: 5px 0 5px; font-size: 25px; letter-spacing: -.03em; }.item-title-row p { margin: 0; color: var(--muted); font-size: 9px; }.item-properties { margin-top: 22px; display: grid; grid-template-columns: repeat(5,minmax(100px,1fr)); gap: 9px; }.item-properties label { min-width: 0; }.item-properties label > span { display: block; color: var(--muted); font-size: 8px; margin: 0 0 5px 2px; }.item-properties .inline-select, .item-properties .inline-date, .item-properties .money-input { height: 37px; border: 1px solid var(--border); border-radius: 7px; }.item-section .description-view { padding: 20px; min-height: 100px; color: #4d5562; font-size: 12px; line-height: 1.75; }.description-form { padding: 18px; }.description-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 11px; resize: vertical; }.description-form > div { display: flex; gap: 8px; margin-top: 9px; }.muted { color: var(--muted); }.large-progress { margin: 15px 20px 4px; height: 6px; background: #eef0f3; border-radius: 6px; overflow: hidden; }.large-progress i { height: 100%; display: block; background: var(--success); }.subtask-list { padding: 8px 20px 4px; }.subtask-row { min-height: 39px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f0f1f3; }.subtask-row:last-child { border: 0; }.subtask-row span { font-size: 10px; }.subtask-row.done span { color: var(--muted); text-decoration: line-through; }.check-button { width: 21px; height: 21px; border: 1px solid var(--border-strong); border-radius: 5px; background: #fff; cursor: pointer; color: #fff; font-size: 11px; }.subtask-row.done .check-button { border-color: var(--success); background: var(--success); }.inline-add-form { padding: 13px 20px 20px; display: flex; gap: 8px; }.inline-add-form input { min-width: 0; flex: 1; border: 1px solid var(--border); border-radius: 7px; padding: 7px 9px; font-size: 10px; }.comment-form { padding: 18px 20px; display: grid; grid-template-columns: 35px 1fr; gap: 10px; border-bottom: 1px solid var(--border); }.comment-form > div { display: grid; justify-items: end; gap: 8px; }.comment-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 10px; resize: vertical; font-size: 11px; }.comment-list { padding: 4px 20px 18px; }.comment { display: grid; grid-template-columns: 35px 1fr; gap: 10px; padding: 15px 0; border-bottom: 1px solid #eff0f2; }.comment:last-child { border: 0; }.comment header { display: flex; align-items: center; gap: 8px; }.comment header strong { font-size: 10px; }.comment header small { color: var(--muted); font-size: 8px; }.comment p { margin: 5px 0 0; color: #4f5663; font-size: 10px; line-height: 1.65; }.upload-box { padding: 16px; }.upload-box input { position: absolute; opacity: 0; pointer-events: none; }.upload-box label { min-height: 125px; border: 1px dashed var(--border-strong); border-radius: 9px; background: #fafbfc; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; cursor: pointer; }.upload-box label span { color: var(--primary); font-size: 24px; }.upload-box label strong { font-size: 10px; }.upload-box label small { color: var(--muted); font-size: 8px; margin-top: 3px; max-width: 210px; }.upload-box .button { width: 100%; margin-top: 8px; }.file-list { padding: 0 15px 15px; }.file-list a { padding: 9px 0; display: grid; grid-template-columns: 31px 1fr; gap: 8px; align-items: center; border-top: 1px solid #eff0f2; }.file-list a > span:last-child { min-width: 0; display: flex; flex-direction: column; }.file-list strong { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.file-list small { color: var(--muted); font-size: 7px; }.file-icon { width: 29px; height: 29px; border-radius: 7px; display: grid; place-items: center; color: var(--primary); background: var(--primary-soft); }.activity-timeline { padding: 15px 18px; }.activity-timeline > div:not(.empty-inline) { position: relative; padding: 0 0 15px 18px; border-left: 1px solid var(--border); }.activity-timeline i { position: absolute; left: -4px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }.activity-timeline p { margin: 0; font-size: 9px; }.activity-timeline small { color: var(--muted); font-size: 8px; }

.my-work-grid { display: grid; gap: 16px; }.work-group .panel-heading { border-left: 4px solid #adb3bd; }.work-group.overdue .panel-heading { border-left-color: var(--danger); }.work-group.today .panel-heading { border-left-color: #fdab3d; }.work-group.upcoming .panel-heading { border-left-color: #579bfc; }.work-group.complete .panel-heading { border-left-color: #00c875; }.work-list a { min-height: 54px; padding: 8px 17px; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 8px minmax(150px,1fr) auto auto 85px; align-items: center; gap: 12px; }.work-list a:last-child { border: 0; }.work-list a:hover { background: #fafaff; }.work-list-main { display: flex; flex-direction: column; }.work-list-main strong { font-size: 10.5px; }.work-list-main small { color: var(--muted); font-size: 8px; }.work-list time { color: var(--muted); font-size: 9px; text-align: right; }

.calendar-panel { overflow: hidden; }.calendar-heading { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }.calendar-heading > div { display: flex; align-items: baseline; gap: 11px; }.calendar-heading h2 { margin: 0; font-size: 16px; }.calendar-heading div a { color: var(--primary); font-size: 9px; }.calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(110px,1fr)); }.calendar-labels { background: #f7f8fa; color: var(--muted); border-bottom: 1px solid var(--border); }.calendar-labels div { padding: 9px; text-align: center; font-size: 9px; font-weight: 700; }.calendar-days { min-width: 770px; }.calendar-day { min-height: 125px; padding: 7px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }.calendar-day:nth-child(7n) { border-right: 0; }.calendar-day.blank { background: #f8f9fa; }.calendar-day header { display: flex; justify-content: flex-end; }.calendar-day header span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); font-size: 9px; }.calendar-day.today header span { color: #fff; background: var(--primary); }.calendar-jobs { display: grid; gap: 4px; margin-top: 4px; }.calendar-jobs a { padding: 4px 6px; border-left: 3px solid var(--event); border-radius: 4px; background: color-mix(in srgb, var(--event) 10%, white); font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.users-panel { overflow: hidden; }.admin-table { min-width: 760px; }.admin-table th { padding: 11px 14px; background: #f7f8fa; border-bottom: 1px solid var(--border); color: var(--muted); text-align: left; font-size: 9px; }.admin-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 10px; }.admin-table tr:last-child td { border: 0; }.user-cell { display: flex; align-items: center; gap: 9px; }.user-cell > span:last-child { display: flex; flex-direction: column; }.user-cell strong { font-size: 10px; }.user-cell small { color: var(--muted); font-size: 8px; }.active-badge { padding: 4px 7px; border-radius: 9px; color: #087a51; background: #e8faf3; font-size: 8px; font-weight: 700; }.active-badge.inactive { color: #8b525c; background: #f4e9eb; }.checkbox-row { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 9px !important; }.checkbox-row input { width: 15px !important; margin-top: 3px; }.checkbox-row > span { display: flex; flex-direction: column; }.settings-layout { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; align-items: start; }.settings-card form { padding: 20px; }.system-list { margin: 0; padding: 10px 20px 20px; }.system-list > div { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 15px; }.system-list > div:last-child { border: 0; }.system-list dt, .system-list dd { margin: 0; font-size: 10px; }.system-list dt { color: var(--muted); }.danger-panel { border-color: #f1c6cc; }.danger-panel > p { padding: 20px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }.danger-panel code { color: var(--danger); }.profile-card { max-width: 650px; }.profile-hero { padding: 22px; display: flex; align-items: center; gap: 15px; border-bottom: 1px solid var(--border); background: linear-gradient(135deg,#fafaff,#f3f1ff); }.profile-hero h2 { margin: 0; font-size: 17px; }.profile-hero p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }.profile-card form { padding: 22px; }

.auth-shell { min-height: 100vh; background: #131520; }.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(390px,.82fr) minmax(520px,1.18fr); }.auth-card { background: #fff; padding: clamp(40px,7vw,95px); display: flex; flex-direction: column; justify-content: center; }.auth-brand { position: absolute; top: 28px; left: clamp(40px,7vw,95px); display: flex; align-items: center; gap: 10px; }.auth-card h1 { margin: 7px 0 8px; font-size: 38px; letter-spacing: -.045em; }.auth-card > p { max-width: 420px; margin: 0 0 25px; color: var(--muted); font-size: 12px; }.auth-card .stack-form { max-width: 430px; }.auth-help { color: var(--muted); font-size: 8px; margin-top: 18px; }.auth-preview { position: relative; overflow: hidden; padding: clamp(40px,7vw,90px); display: flex; flex-direction: column; justify-content: center; color: #fff; background: radial-gradient(circle at 70% 20%, rgba(108,92,231,.32), transparent 35%), linear-gradient(145deg,#1a1d2b,#10121a); }.auth-preview h2 { margin: 36px 0 7px; font-size: 28px; letter-spacing: -.035em; }.auth-preview p { margin: 0; max-width: 510px; color: #aeb5c7; font-size: 12px; }.mini-board { position: relative; z-index: 2; width: min(610px,100%); padding: 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.07); box-shadow: 0 30px 80px rgba(0,0,0,.35); transform: perspective(1000px) rotateY(-5deg) rotateX(2deg); backdrop-filter: blur(10px); }.mini-board-head { display: flex; gap: 6px; margin-bottom: 18px; }.mini-board-head span { width: 8px; height: 8px; border-radius: 50%; background: #ff6b81; }.mini-board-head span:nth-child(2) { background: #ffd166; }.mini-board-head span:nth-child(3) { background: #00c875; }.mini-group { display: grid; grid-template-columns: 110px 1fr 80px; gap: 5px; margin: 8px 0; }.mini-group b { grid-column: 1/-1; color: #b9aefc; font-size: 9px; }.mini-group i { height: 30px; border-radius: 5px; background: rgba(162,93,220,.36); }.mini-group i:nth-of-type(2) { background: rgba(255,255,255,.09); }.mini-group i:nth-of-type(3) { background: rgba(255,255,255,.06); }.mini-group.orange b { color: #ffca77; }.mini-group.orange i { background: rgba(253,171,61,.32); }.mini-group.green b { color: #6ce0b2; }.mini-group.green i { background: rgba(0,200,117,.28); }.preview-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; left: 20%; top: 20%; background: rgba(108,92,231,.16); filter: blur(70px); }

.installer-shell { min-height: 100vh; padding: 42px 20px; background: radial-gradient(circle at top,#27213f,#11131c 55%); }.installer-wrap { width: min(780px,100%); margin: auto; }.installer-brand { color: #fff; display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }.installer-brand > div { display: flex; flex-direction: column; }.installer-brand small { color: #a7adbd; font-size: 9px; }.installer-card { background: #fff; border-radius: 17px; padding: 34px; box-shadow: 0 30px 80px rgba(0,0,0,.32); }.installer-intro h1 { margin: 6px 0 8px; font-size: 31px; letter-spacing: -.04em; }.installer-intro p { margin: 0 0 24px; color: var(--muted); font-size: 11px; max-width: 620px; }.installer-form { display: grid; gap: 20px; }.installer-form fieldset { margin: 0; padding: 19px; border: 1px solid var(--border); border-radius: 11px; display: grid; gap: 13px; }.installer-form legend { padding: 0 7px; font-size: 11px; font-weight: 750; }.installer-note { color: #a9afbd; text-align: center; font-size: 9px; margin-top: 16px; }

.toast-container { position: fixed; z-index: 200; right: 20px; bottom: 20px; display: grid; gap: 8px; }.toast { min-width: 220px; max-width: 350px; padding: 11px 14px; border-radius: 8px; color: #fff; background: #252936; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 10px; animation: toastIn .2s ease; }.toast.error { background: #b82e45; }@keyframes toastIn { from { opacity:0; transform: translateY(8px); } }
.error-state { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }.error-state h1 { margin: 0; }.error-state p { color: var(--muted); max-width: 650px; }

@media (max-width: 1180px) {
  .stats-grid { grid-template-columns: repeat(3,1fr); }
  .board-card-grid, .board-list-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .item-properties { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 900px) {
  .mobile-topbar { position: sticky; top: 0; z-index: 35; height: 58px; padding: 0 14px; display: grid; grid-template-columns: 38px 1fr 34px; gap: 9px; align-items: center; background: #171923; color: #fff; }.mobile-topbar .icon-button { color: #fff; border: 0; background: rgba(255,255,255,.07); }.mobile-topbar strong { text-align: center; font-size: 13px; }
  .sidebar { transform: translateX(-101%); transition: .22s ease; }.sidebar.open { transform: none; }.sidebar-overlay { position: fixed; z-index: 39; inset: 0; background: rgba(0,0,0,.45); }.sidebar.open + .main-content + .sidebar-overlay, .sidebar-overlay.open { display: block; }
  .main-content { margin-left: 0; padding: 25px 20px 50px; }.dashboard-grid { grid-template-columns: 1fr; }.activity-panel { max-height: none; }.item-layout { grid-template-columns: 1fr; }.settings-layout { grid-template-columns: 1fr; }.auth-wrap { grid-template-columns: 1fr; }.auth-preview { display: none; }.auth-card { min-height: 100vh; }.calendar-panel { overflow-x: auto; }
}
@media (max-width: 680px) {
  .main-content { padding: 21px 13px 45px; }.page-heading { flex-direction: column; }.page-actions { width: 100%; justify-content: flex-start; }.page-actions .button { flex: 1; }.stats-grid { grid-template-columns: repeat(2,1fr); }.stat-card { min-height: 88px; padding: 13px; }.stat-card:last-child { grid-column: 1/-1; }.stat-card strong { font-size: 19px; }.board-card-grid, .board-list-grid { grid-template-columns: 1fr; }.deadline-row { grid-template-columns: 44px minmax(110px,1fr) 30px; }.deadline-row .status-badge { display: none; }.board-toolbar { align-items: stretch; }.view-tabs { width: 100%; }.view-tabs a { flex: 1; }.filter-bar { width: 100%; }.search-input, .search-input input { width: 100%; }.filter-bar select { flex: 1; }.item-properties { grid-template-columns: repeat(2,1fr); }.item-properties label:last-child { grid-column: 1/-1; }.item-title-card { padding: 17px; }.item-title-row h1 { font-size: 21px; }.work-list a { grid-template-columns: 7px minmax(130px,1fr) auto; }.work-list .status-badge, .work-list time { display: none; }.form-grid.two { grid-template-columns: 1fr; }.modal { padding: 10px; align-items: flex-end; }.modal-dialog { max-height: 92vh; border-radius: 15px 15px 0 0; padding: 22px 18px; }.status-edit-row, .status-add-row { grid-template-columns: 40px 1fr; }.status-edit-row .compact-check, .status-add-row .compact-check { grid-column: 1/2; }.status-edit-row .button, .status-add-row .button { grid-column: 2/3; }.installer-card { padding: 24px 17px; }.installer-form fieldset { padding: 15px; }.auth-card { padding: 75px 24px 35px; }.auth-brand { left: 24px; }.auth-card h1 { font-size: 32px; }
}

/* ProjectFlow 1.1.0 — monday-inspired task workspace */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --text: #323338;
  --muted: #676879;
  --border: #d0d4e4;
  --border-strong: #b7b9c5;
  --primary: #0073ea;
  --primary-dark: #0060b9;
  --primary-soft: #eaf4ff;
  --sidebar: #f7f8fa;
  --sidebar-muted: #676879;
  --radius: 8px;
  --shadow: 0 6px 24px rgba(50,51,56,.10);
  --sidebar-width: 224px;
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.sidebar { color:#323338; background:#f7f8fa; border-right:1px solid #e6e9ef; }
.brand-mark { background:#0073ea; box-shadow:none; border-radius:8px; }
.brand-copy small,.sidebar-user small { color:#8a8b98; }
.main-nav > a,.board-nav { color:#4d4f5c; }
.main-nav > a span { color:#676879; }
.main-nav > a:hover,.board-nav:hover { color:#323338; background:#e9ebf0; }
.main-nav > a.active { color:#323338; background:#cce5ff; box-shadow:inset 3px 0 0 #0073ea; }
.main-nav > a.active span { color:#0073ea; }
.sidebar-label { color:#8a8b98; }
.sidebar-user { border-top-color:#dfe1e6; }
.sidebar-user > a { color:#676879; }
.main-content { background:#fff; padding:26px 28px 55px; }
.button-primary { border-color:#0073ea; background:#0073ea; }
.button-primary:hover { background:#0060b9; border-color:#0060b9; }
.brand-mark,.monday-new-task { background:#0073ea; }

.monday-board-page { min-width:0; color:#323338; }
.monday-board-header { border-bottom:1px solid #d0d4e4; margin:-6px 0 18px; }
.monday-board-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; min-height:60px; }
.monday-board-title-row h1 { font-size:30px; line-height:1.2; letter-spacing:-.025em; font-weight:500; margin:0; }
.monday-board-title-row h1 span { font-size:18px; color:#676879; }
.monday-board-title-row p { margin:5px 0 0; color:#676879; font-size:13px; }
.monday-board-actions { display:flex; align-items:center; gap:8px; }
.monday-link-button,.monday-icon-button { border:0; background:transparent; min-height:34px; padding:6px 10px; border-radius:5px; color:#323338; cursor:pointer; font-size:14px; }
.monday-link-button:hover,.monday-icon-button:hover { background:#e6e9ef; }
.monday-view-tabs { display:flex; gap:8px; align-items:flex-end; min-height:43px; }
.monday-view-tabs a { padding:10px 10px 9px; border-bottom:2px solid transparent; font-size:14px; }
.monday-view-tabs a.active { border-bottom-color:#0073ea; }
.monday-toolbar { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin:0 0 25px; min-height:42px; }
.monday-new-task { border:0; color:#fff; border-radius:4px; min-height:40px; padding:8px 13px; font-size:14px; cursor:pointer; }
.monday-new-task span { border-left:1px solid rgba(255,255,255,.4); margin-left:8px; padding-left:10px; }
.monday-search-form label,.monday-inline-filter label { display:flex; align-items:center; min-height:38px; border-radius:5px; padding:0 8px; gap:7px; background:#fff; }
.monday-search-form label:focus-within,.monday-inline-filter label:hover { outline:1px solid #0073ea; }
.monday-search-form input { width:115px; border:0; outline:0; background:transparent; padding:7px 0; }
.monday-inline-filter select { border:0; outline:0; background:transparent; min-height:36px; max-width:180px; cursor:pointer; color:#323338; }
.monday-toolbar-menu { position:relative; }
.monday-toolbar-menu summary { list-style:none; cursor:pointer; padding:9px 10px; border-radius:5px; font-size:14px; }
.monday-toolbar-menu summary::-webkit-details-marker { display:none; }
.monday-toolbar-menu summary:hover,.monday-toolbar-menu[open] summary { background:#e6e9ef; }
.monday-toolbar-menu > form,.monday-toolbar-menu > div { position:absolute; z-index:50; top:43px; left:0; width:230px; padding:14px; display:grid; gap:11px; background:#fff; border:1px solid #d0d4e4; border-radius:7px; box-shadow:0 8px 24px rgba(50,51,56,.16); }
.monday-toolbar-menu form label { display:grid; gap:5px; font-size:12px; color:#676879; }
.monday-toolbar-menu select { width:100%; min-height:36px; border:1px solid #c3c6d4; border-radius:4px; background:#fff; }
.monday-hide-menu > div label { display:flex; align-items:center; gap:7px; font-size:13px; }
.monday-clear { font-size:13px; color:#0073ea; margin-left:3px; }

.monday-task-group { --group:#579bfc; margin:0 0 28px; }
.monday-group-heading { display:flex; align-items:center; gap:8px; min-height:38px; color:var(--group); }
.monday-group-heading button { border:0; background:transparent; color:inherit; cursor:pointer; font-size:18px; transition:.18s; }
.monday-group-heading h2 { margin:0; font-size:22px; font-weight:500; }
.monday-group-heading span { color:#676879; font-size:12px; margin-left:4px; }
.monday-task-group.collapsed .monday-table-scroll { display:none; }
.monday-task-group.collapsed .monday-group-heading button { transform:rotate(-90deg); }
.monday-table-scroll { overflow:auto; padding:0 0 4px 4px; }
.monday-work-table { width:100%; min-width:1120px; border-collapse:separate; border-spacing:0; table-layout:fixed; font-size:13px; }
.monday-work-table th,.monday-work-table td { height:46px; padding:0; border-right:1px solid #d0d4e4; border-bottom:1px solid #d0d4e4; text-align:center; background:#fff; }
.monday-work-table thead th { height:42px; font-weight:400; font-size:13px; background:#fff; border-top:1px solid #d0d4e4; }
.monday-work-table th:first-child,.monday-work-table td:first-child { border-left:1px solid #d0d4e4; }
.monday-work-table .monday-accent-col { width:8px; min-width:8px; background:var(--row-group,var(--group)); border-right:0; }
.monday-work-table thead .monday-accent-col { background:var(--group); border-radius:7px 0 0 0; }
.monday-check-col { width:40px; }
.monday-task-col { width:320px; }
.monday-comment-col { width:48px; }
.monday-work-table th[data-column="owner"] { width:128px; }
.monday-work-table th[data-column="status"] { width:150px; }
.monday-work-table th[data-column="due"] { width:150px; }
.monday-work-table th[data-column="files"] { width:105px; }
.monday-work-table th[data-column="updated"] { width:170px; }
.monday-work-table th[data-column="priority"] { width:145px; }
.monday-work-table input[type="checkbox"] { width:18px; height:18px; accent-color:#0073ea; }
.monday-task-cell { text-align:left!important; padding:0 14px!important; }
.monday-task-cell a { display:flex; align-items:flex-start; justify-content:center; flex-direction:column; min-height:45px; }
.monday-task-cell strong { font-weight:400; font-size:14px; max-width:275px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.monday-task-cell small { font-size:10px; color:#8a8b98; }
.monday-comment-cell a { position:relative; display:inline-flex; align-items:center; justify-content:center; color:#676879; font-size:21px; }
.monday-comment-cell a:hover { color:#0073ea; }
.monday-comment-cell b,.monday-files-cell b { position:absolute; min-width:15px; height:15px; padding:0 3px; display:grid; place-items:center; border-radius:8px; background:#0073ea; color:#fff; font-size:9px; line-height:1; }
.monday-comment-cell b { right:-8px; bottom:-3px; }
.monday-cell-select { width:100%; height:45px; border:0; border-radius:0; outline:0; text-align:center; text-align-last:center; appearance:auto; cursor:pointer; padding:0 8px; }
.monday-status-select { background:var(--cell,#c4c4c4); color:var(--status-text,#fff); }
.monday-priority-select { color:var(--priority-text,#fff); background:var(--priority-bg,#5559df); }
.monday-priority-select.priority-urgent { background:var(--priority-bg,#333333); color:var(--priority-text,#fff); }
.monday-priority-select.priority-high { background:var(--priority-bg,#401694); color:var(--priority-text,#fff); }
.monday-priority-select.priority-normal { background:var(--priority-bg,#5559df); color:var(--priority-text,#fff); }
.monday-priority-select.priority-low { background:var(--priority-bg,#579bfc); color:var(--priority-text,#fff); }
.monday-date { width:100%; height:45px; border:0; outline:0; text-align:center; padding:0 10px; background:#fff; }
.monday-date.overdue { color:#e2445c; font-weight:600; }
.monday-files-cell form { height:45px; display:grid; place-items:center; }
.monday-files-cell input[type="file"] { display:none; }
.monday-files-cell label { position:relative; width:34px; height:34px; display:grid; place-items:center; color:#5559df; font-size:20px; cursor:pointer; border-radius:5px; }
.monday-files-cell label:hover { background:#eef0ff; }
.monday-files-cell b { right:-2px; bottom:0; }
.monday-updated { display:flex; align-items:center; justify-content:center; gap:9px; white-space:nowrap; }
.monday-updated span:last-child { color:#55565f; }
.monday-quick-add td { height:43px; }
.monday-quick-add form { display:flex; align-items:center; height:42px; }
.monday-quick-add input { flex:1; height:41px; border:0; outline:0; padding:0 14px; background:#fff; }
.monday-quick-add button { display:none; }

.monday-people-picker { position:relative; height:45px; display:grid; place-items:center; }
.monday-people-button { width:100%; height:45px; border:0; background:#fff; cursor:pointer; }
.monday-avatar-stack { display:flex; justify-content:center; align-items:center; }
.monday-avatar-stack .avatar { margin-left:-7px; border:2px solid #fff; }
.monday-avatar-stack .avatar:first-child { margin-left:0; }
.monday-empty-person { width:31px; height:31px; display:grid; place-items:center; border:1px solid #c3c6d4; border-radius:50%; color:#9699a6; font-size:16px; }
.monday-more-people { margin-left:-4px; width:27px; height:27px; display:grid; place-items:center; border-radius:50%; background:#e6e9ef; font-size:10px; }
.monday-people-menu { display:none; position:absolute; z-index:70; top:43px; left:50%; transform:translateX(-50%); width:270px; padding:14px; background:#fff; border:1px solid #d0d4e4; border-radius:7px; box-shadow:0 8px 24px rgba(50,51,56,.18); text-align:left; }
.monday-people-picker.open .monday-people-menu { display:block; }
.monday-people-menu > strong { display:block; margin:0 0 9px; font-size:14px; }
.monday-people-options { max-height:230px; overflow:auto; display:grid; gap:2px; margin-bottom:10px; }
.monday-people-options label { display:grid; grid-template-columns:20px 30px 1fr; align-items:center; gap:7px; min-height:39px; padding:4px; border-radius:4px; }
.monday-people-options label:hover { background:#f0f1f3; }
.monday-people-options input { width:16px!important; height:16px!important; }
.item-people-property { display:flex; flex-direction:column; gap:7px; }
.item-people-property > span { color:var(--muted); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.07em; }
.item-people-property .monday-people-picker { border:1px solid var(--border); border-radius:7px; height:40px; }
.item-people-property .monday-people-button { height:38px; border-radius:7px; }
.member-fieldset { border:1px solid #d0d4e4; border-radius:7px; padding:12px; }
.member-fieldset legend { font-size:12px; font-weight:700; color:#676879; padding:0 5px; }
.member-check-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.member-check-grid label { display:grid; grid-template-columns:18px 30px 1fr; align-items:center; gap:7px; padding:6px; border-radius:5px; background:#f7f8fa; font-size:13px; }
.settings-help { margin:0 0 14px; color:#676879; font-size:13px; }
.upgrade-wrap { min-height:75vh; display:grid; place-items:center; }
.upgrade-card { width:min(620px,100%); padding:32px; }
.upgrade-card h1 { margin:4px 0 10px; font-size:32px; }
.upgrade-card p { color:#676879; }

@media (max-width: 900px) {
  .main-content { padding:22px 14px 45px; }
  .monday-board-title-row { flex-direction:column; }
  .monday-toolbar { gap:4px; }
  .monday-search-form { order:10; width:100%; }
  .monday-search-form label,.monday-search-form input { width:100%; }
  .member-check-grid { grid-template-columns:1fr; }
}

/* ProjectFlow 1.2.0 — team invitations and collaboration */
.team-overview-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
.team-overview-card { display:flex; align-items:center; gap:13px; padding:16px 18px; border:1px solid var(--border); border-radius:12px; background:#fff; box-shadow:0 2px 8px rgba(24,33,47,.04); }
.team-overview-card > span { display:grid; place-items:center; width:38px; height:38px; border-radius:10px; color:#0073ea; background:#eaf4ff; font-size:17px; }
.team-overview-card div { display:flex; flex-direction:column; }
.team-overview-card strong { font-size:19px; line-height:1; color:#18212f; }
.team-overview-card small { margin-top:5px; color:var(--muted); font-size:9px; }
.pending-invites-panel { margin-top:18px; overflow:hidden; }
.role-badge { display:inline-flex; align-items:center; min-height:23px; padding:3px 8px; border-radius:12px; font-size:8px; font-weight:700; }
.role-member { color:#146f9c; background:#e5f4fb; }.role-manager { color:#75510c; background:#fff3d4; }.role-admin { color:#6b35a1; background:#f1e7fb; }
.invite-avatar { --avatar:#eaf4ff !important; color:#0073ea !important; }
.truncate-cell { display:block; max-width:260px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.delivery-note { display:block; margin-top:3px; color:#07875f; font-size:7px; }.delivery-note.warning { color:#a36b00; }
.text-danger { color:#c72d48; font-weight:700; }
.row-actions { display:flex; gap:6px; align-items:center; }.row-actions form { margin:0; }
.button-danger-soft { color:#b7253f; border-color:#f0c7ce; background:#fff6f7; }
.board-access-fieldset { margin:0; padding:15px; border:1px solid var(--border); border-radius:10px; }
.board-access-fieldset legend { padding:0 6px; color:#323b49; font-size:10px; font-weight:700; }
.board-access-fieldset > p { margin:0 0 11px; color:var(--muted); font-size:9px; }
.board-access-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-height:220px; overflow:auto; }
.board-access-option { display:grid !important; grid-template-columns:17px 8px minmax(0,1fr) !important; align-items:center; gap:8px !important; min-height:42px; padding:9px 10px; border:1px solid var(--border); border-radius:8px; background:#fafbfc; cursor:pointer; }
.board-access-option:hover { border-color:#9dccfa; background:#f2f8ff; }.board-access-option input { width:16px !important; height:16px; margin:0; accent-color:#0073ea; }.board-access-option i { width:8px; height:24px; border-radius:4px; background:var(--board); }.board-access-option span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:9px; font-weight:650; }
.invite-created-card { max-width:760px; margin:0 auto; padding:30px; text-align:center; }
.invite-success-icon { display:grid; place-items:center; width:58px; height:58px; margin:0 auto 15px; border-radius:50%; color:#fff; background:#00c875; font-size:28px; box-shadow:0 10px 28px rgba(0,200,117,.24); }
.invite-created-card h2 { margin:5px 0 8px; font-size:23px; }.invite-created-card > p { max-width:600px; margin:0 auto 20px; color:var(--muted); line-height:1.65; font-size:10px; }
.invite-detail-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:0 0 20px; padding:0; border:1px solid var(--border); border-radius:10px; text-align:left; overflow:hidden; }
.invite-detail-list > div { padding:13px 15px; border-bottom:1px solid var(--border); }.invite-detail-list > div:nth-child(odd) { border-right:1px solid var(--border); }.invite-detail-list > div:nth-last-child(-n+2) { border-bottom:0; }.invite-detail-list dt { margin-bottom:4px; color:var(--muted); font-size:8px; }.invite-detail-list dd { margin:0; font-size:10px; font-weight:650; }
.copy-link-field { display:block; margin-bottom:18px; text-align:left; }.copy-link-field > div { display:flex; gap:8px; margin-top:7px; }.copy-link-field input { min-width:0; flex:1; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:9px; }
.invite-created-actions { display:flex; justify-content:center; gap:9px; }
.invite-auth-wrap .auth-card { max-width:none; }.invite-accept-card > p strong { color:#18212f; }.invite-summary { display:flex; flex-wrap:wrap; gap:7px; margin:15px 0; }.invite-summary span { padding:6px 9px; border-radius:14px; color:#4b5665; background:#f1f3f6; font-size:8px; font-weight:650; }
.notice-box { padding:14px; border:1px solid #b9ddff; border-radius:9px; background:#f0f8ff; }.notice-box strong { display:block; margin-bottom:4px; color:#0064c8; font-size:10px; }.notice-box p { margin:0; color:#4c6074; font-size:9px; line-height:1.5; }
.invite-collaboration-art { position:relative; z-index:1; display:flex; align-items:center; justify-content:center; margin:20px 0 34px; }.invite-collaboration-art .avatar { width:56px; height:56px; border:5px solid rgba(255,255,255,.85); font-size:14px; box-shadow:0 12px 26px rgba(0,0,0,.16); }.join-line { width:55px; height:3px; background:linear-gradient(90deg,rgba(255,255,255,.25),rgba(255,255,255,.9),rgba(255,255,255,.25)); }

@media (max-width: 760px) {
  .team-overview-grid { grid-template-columns:1fr; }
  .board-access-grid { grid-template-columns:1fr; }
  .invite-detail-list { grid-template-columns:1fr; }.invite-detail-list > div, .invite-detail-list > div:nth-child(odd), .invite-detail-list > div:nth-last-child(-n+2) { border-right:0; border-bottom:1px solid var(--border); }.invite-detail-list > div:last-child { border-bottom:0; }
  .copy-link-field > div, .invite-created-actions { flex-direction:column; }.copy-link-field .button, .invite-created-actions .button { width:100%; }
}
.warning-notice { border-color:#f1d28c; background:#fff9e9; }.warning-notice strong { color:#8a5c00; }.warning-notice p { color:#765f31; }

/* ProjectFlow 1.3.0 — workspace/client branding and notifications */
.workspace-logo,.auth-workspace-logo,.board-card-logo,.board-heading-logo,.logo-upload-setting img { display:block; aspect-ratio:1/1; object-fit:contain; background:#fff; }
.workspace-logo { width:42px; height:42px; border-radius:10px; border:1px solid rgba(255,255,255,.16); padding:3px; }
.auth-workspace-logo { width:46px; height:46px; border-radius:11px; border:1px solid var(--border); padding:3px; }
.mobile-brand { min-width:0; display:flex; align-items:center; justify-content:center; }
.mobile-brand img { width:34px; height:34px; object-fit:contain; border-radius:8px; }
.board-card-logo { width:44px; height:44px; border:1px solid var(--border); border-radius:9px; padding:3px; }
.board-heading-brand { display:flex; align-items:center; gap:13px; min-width:0; }
.board-heading-logo { width:52px; height:52px; flex:0 0 52px; border:1px solid #d0d4e4; border-radius:10px; padding:4px; box-shadow:0 2px 8px rgba(24,33,47,.06); }
.logo-upload-setting { display:grid; grid-template-columns:82px minmax(0,1fr); align-items:center; gap:14px; }
.logo-upload-setting > div { width:82px; height:82px; display:grid; place-items:center; overflow:hidden; border:1px dashed #b8bdca; border-radius:12px; color:var(--muted); background:#f7f8fa; text-align:center; font-size:9px; }
.logo-upload-setting img { width:100%; height:100%; padding:5px; }
.logo-upload-setting label { margin:0; }
.field-help { display:block; margin:4px 0 7px; color:var(--muted); font-size:9px; font-weight:400; }

.app-topbar { min-height:36px; display:flex; justify-content:flex-end; align-items:center; margin:-6px 0 6px; }
.notification-bell { position:relative; width:38px; height:38px; display:grid; place-items:center; border:1px solid var(--border); border-radius:9px; color:#323b49; background:#fff; font-size:20px; text-decoration:none; }
.notification-bell:hover { border-color:#9dcaf5; background:#f3f8fd; }
.notification-bell b,.nav-count { min-width:18px; height:18px; padding:0 5px; display:inline-grid; place-items:center; border-radius:10px; color:#fff; background:#e2445c; font-size:9px; font-weight:750; line-height:1; }
.notification-bell b { position:absolute; top:-6px; right:-6px; border:2px solid #fff; }
.notification-bell b[hidden],.nav-count[hidden] { display:none; }
.nav-count { margin-left:auto; }
.mobile-notification-bell { width:34px; height:34px; margin-left:auto; }

.notification-filters { display:flex; gap:4px; margin:0 0 12px; border-bottom:1px solid var(--border); }
.notification-filters a { display:flex; align-items:center; gap:7px; padding:10px 14px; border-bottom:2px solid transparent; color:#676879; text-decoration:none; font-size:10px; font-weight:650; }
.notification-filters a.active { border-color:#0073ea; color:#18212f; }
.notification-filters span { min-width:20px; height:20px; display:grid; place-items:center; border-radius:10px; background:#eef0f4; font-size:8px; }
.notification-panel { overflow:hidden; padding:0; }
.notification-list { display:flex; flex-direction:column; }
.notification-row { position:relative; display:grid; grid-template-columns:42px minmax(0,1fr) 12px; align-items:start; gap:12px; min-height:82px; padding:15px 18px; border-bottom:1px solid var(--border); color:inherit; text-decoration:none; transition:.16s ease; }
.notification-row:last-child { border-bottom:0; }
.notification-row:hover { background:#f7f9fc; }
.notification-row.unread { background:#f1f8ff; }
.notification-row.unread:hover { background:#e9f4ff; }
.notification-actor { width:38px; height:38px; font-size:10px; }
.notification-copy { min-width:0; display:flex; flex-direction:column; gap:4px; }
.notification-copy strong { color:#18212f; font-size:11px; }
.notification-copy > span { color:#4f5663; font-size:10px; line-height:1.45; }
.notification-copy small { display:flex; align-items:center; gap:6px; color:var(--muted); font-size:8px; }
.notification-copy small i { width:7px; height:18px; border-radius:4px; background:var(--board); }
.notification-unread-dot { align-self:center; width:8px; height:8px; border-radius:50%; background:#0073ea; }
.page-actions form { margin:0; }

@media (max-width: 760px) {
  .app-topbar { display:none; }
  .logo-upload-setting { grid-template-columns:64px minmax(0,1fr); }
  .logo-upload-setting > div { width:64px; height:64px; }
  .board-heading-logo { width:44px; height:44px; flex-basis:44px; }
  .notification-row { grid-template-columns:36px minmax(0,1fr) 10px; padding:13px 12px; }
  .notification-actor { width:34px; height:34px; }
}
.board-nav img { width:20px; height:20px; flex:0 0 20px; border-radius:5px; object-fit:contain; background:#fff; border:1px solid #e1e4ea; padding:1px; }
@media (max-width: 1100px) {
  .mobile-topbar { grid-template-columns:38px minmax(0,1fr) 34px 34px; }
}


/* ProjectFlow 1.4.0 — completion automation and board colour controls */
.settings-subsection { margin-top:18px; padding-top:18px; border-top:1px solid var(--border); }
.settings-subsection h3 { margin:0 0 6px; color:#18212f; font-size:15px; }
.priority-colour-form { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; align-items:end; }
.priority-colour-form label { display:flex; flex-direction:column; gap:7px; margin:0; }
.priority-colour-form input[type="color"] { width:100%; height:38px; padding:3px; border:1px solid var(--border); border-radius:7px; background:#fff; cursor:pointer; }
.priority-colour-form .button { grid-column:1/-1; justify-self:start; }
.priority-colour-preview { min-height:34px; display:grid; place-items:center; padding:6px 8px; border-radius:5px; color:var(--preview-text,#fff); background:var(--preview,#5559df); font-size:12px; font-weight:700; }
.priority-select { color:var(--priority-text,#fff); background:var(--priority-bg,#5559df); }
.priority[style] { color:var(--priority-text,#fff); background:var(--priority-bg,#5559df); }
@media (max-width:760px) { .priority-colour-form { grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* ProjectFlow 1.5.0 — global palettes and protected board deletion */
.status-colour-swatch { width:32px; height:32px; display:block; align-self:center; justify-self:center; border-radius:6px; border:1px solid rgba(24,33,47,.12); background:var(--swatch,#579bfc); box-shadow:inset 0 0 0 2px rgba(255,255,255,.28); }
.status-colour-swatch-new { --swatch:#579bfc; opacity:.72; }
.global-colours-card { grid-column:1/-1; scroll-margin-top:24px; }
.global-colours-form { padding-top:16px !important; }
.global-colour-section + .global-colour-section { margin-top:20px; padding-top:20px; border-top:1px solid var(--border); }
.global-colour-section h3 { margin:0 0 6px; font-size:15px; }
.global-colour-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:12px; }
.global-priority-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.global-colour-row { display:grid !important; grid-template-columns:minmax(0,1fr) 46px; align-items:center; gap:8px !important; margin:0 !important; }
.global-colour-row input[type="color"] { width:46px; height:40px; padding:3px; border:1px solid var(--border); border-radius:7px; background:#fff; cursor:pointer; }
.global-colour-preview { min-height:40px; display:flex; align-items:center; justify-content:center; padding:7px 10px; border-radius:6px; color:var(--preview-text,#fff); background:var(--preview,#579bfc); text-align:center; font-size:11px; font-weight:750; }
.board-delete-zone { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:16px; border:1px solid #f0c7ce; border-radius:9px; background:#fff8f9; }
.board-delete-zone > div { min-width:0; }
.board-delete-zone h3 { color:#b7253f; }
.board-delete-zone .settings-help { margin-bottom:0; }
.button-danger { color:#fff; border-color:#c72d48; background:#c72d48; }
.button-danger:hover { border-color:#a91e37; background:#a91e37; }
.button-danger:disabled { opacity:.42; cursor:not-allowed; }
.dropdown-danger { color:#b7253f !important; }
.delete-board-dialog > p { padding-right:22px; line-height:1.55; }
.delete-board-dialog strong { color:#b7253f; }
.modal-actions { display:flex; justify-content:flex-end; gap:9px; }
.modal-actions .button { min-width:120px; }
@media (max-width:900px) { .global-colour-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.global-priority-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .global-colour-grid,.global-priority-grid { grid-template-columns:1fr; }.board-delete-zone { align-items:flex-start; flex-direction:column; }.board-delete-zone .button { width:100%; }.modal-actions { flex-direction:column-reverse; }.modal-actions .button { width:100%; } }

/* ProjectFlow 1.6.0 — Poppins typography, refreshed interface and email settings */
:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #202633;
  --muted: #6d7686;
  --border: #e3e8f0;
  --border-strong: #ccd4df;
  --primary: #0b66d4;
  --primary-dark: #0758b8;
  --primary-soft: #eaf3ff;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(30, 45, 70, .075);
  --sidebar-width: 238px;
}
html, body, button, input, select, textarea, option { font-family: "Poppins", "Segoe UI", Arial, sans-serif !important; }
body { background: var(--bg); color: var(--text); font-weight: 400; }

.sidebar {
  width: var(--sidebar-width);
  padding: 20px 14px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  border-right: 1px solid #e5eaf1;
  box-shadow: 6px 0 22px rgba(37, 54, 80, .035);
}
.brand { margin: 0 4px 13px; padding: 9px 8px 20px; border-bottom: 1px solid #e8edf3; }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #0b66d4, #5296f6); box-shadow: 0 9px 20px rgba(11, 102, 212, .2); }
.workspace-logo { width: 46px; height: 46px; border-radius: 12px; padding: 3px; background: #fff; border: 1px solid #e4e9f0; box-shadow: 0 8px 18px rgba(32, 48, 72, .08); }
.brand-copy strong { color: #202633; font-size: 13px; font-weight: 700; letter-spacing: -.01em; }
.brand-copy small { color: #8a94a4; font-size: 9px; font-weight: 500; }
.sidebar-label { color: #9aa3b2; font-size: 8px; letter-spacing: .14em; padding-top: 4px; }
.main-nav > a, .board-nav { min-height: 42px; border-radius: 10px; color: #596273; font-size: 11px; font-weight: 500; }
.main-nav > a span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: #7b8494; background: #eef2f7; font-size: 13px; }
.main-nav > a:hover, .board-nav:hover { color: #202633; background: #edf3fb; }
.main-nav > a.active { color: #0b66d4; background: linear-gradient(90deg, #e8f2ff, #f4f8ff); box-shadow: inset 3px 0 0 #0b66d4, 0 4px 12px rgba(11, 102, 212, .06); }
.main-nav > a.active span { color: #fff; background: linear-gradient(135deg, #0b66d4, #438bed); }
.board-nav { min-height: 37px; }
.board-nav i { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.8); }
.sidebar-user { margin-top: 17px; padding-top: 14px; border-top-color: #e5eaf1; }
.sidebar-user strong { color: #252b36; font-size: 10px; font-weight: 600; }
.sidebar-user small, .sidebar-user > a { color: #8791a1; }

.main-content { margin-left: var(--sidebar-width); padding: 0 32px 58px; background: transparent; }
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 32;
  min-height: 68px;
  margin: 0 -32px 24px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(222,228,237,.9);
  box-shadow: 0 6px 20px rgba(35,50,75,.035);
  backdrop-filter: blur(16px);
}
.topbar-context { display: flex; flex-direction: column; line-height: 1.25; }
.topbar-context span { color: #939cad; font-size: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .13em; }
.topbar-context strong { color: #28303b; font-size: 12px; font-weight: 600; margin-top: 3px; }
.topbar-actions { display: flex; align-items: center; gap: 11px; }
.topbar-date { padding-right: 12px; color: #7d8797; font-size: 9px; border-right: 1px solid #e4e9f0; }
.topbar-profile { display: flex; align-items: center; gap: 8px; padding: 5px 8px 5px 5px; border-radius: 10px; transition: .18s ease; }
.topbar-profile:hover { background: #f1f5fa; }
.topbar-profile > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.topbar-profile strong { color: #29303a; font-size: 9px; font-weight: 600; white-space: nowrap; }
.topbar-profile small { color: #8c96a5; font-size: 7px; }
.notification-bell { width: 36px; height: 36px; border: 1px solid #e1e7ef; border-radius: 10px; font-size: 16px; box-shadow: 0 3px 10px rgba(35,50,75,.04); }

.page-heading { margin-bottom: 22px; }
.page-heading h1 { color: #1f2732; font-size: clamp(25px, 2.5vw, 34px); font-weight: 650; letter-spacing: -.035em; }
.page-heading p { color: #7b8494; font-size: 11px; }
.page-dashboard .page-heading {
  position: relative;
  overflow: hidden;
  padding: 25px 27px;
  border: 1px solid #dce8f7;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 72%, #e8f2ff 100%);
  box-shadow: 0 13px 34px rgba(30, 68, 118, .07);
}
.page-dashboard .page-heading::after { content: ""; position: absolute; width: 190px; height: 190px; right: -55px; top: -92px; border-radius: 50%; background: rgba(11,102,212,.09); }
.page-dashboard .page-heading > * { position: relative; z-index: 1; }

.button { min-height: 40px; border-radius: 9px; border-color: #d8dfe8; color: #424b59; font-size: 10px; font-weight: 600; box-shadow: 0 3px 9px rgba(32,48,72,.035); }
.button:hover { border-color: #aeb9c8; background: #f8fafc; box-shadow: 0 8px 17px rgba(32,48,72,.07); }
.button-primary { border-color: #0b66d4; background: linear-gradient(135deg, #0b66d4, #3b85e8); box-shadow: 0 9px 20px rgba(11,102,212,.2); }
.button-primary:hover { border-color: #0758b8; background: linear-gradient(135deg, #0758b8, #2b77d7); }
.icon-button { border-color: #dfe5ed; border-radius: 10px; box-shadow: 0 2px 8px rgba(30,45,70,.035); }

.stats-grid { gap: 15px; margin-bottom: 20px; }
.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  border: 1px solid #e1e7ef;
  border-radius: 15px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(32,48,72,.055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.stat-card::after { content: ""; position: absolute; width: 72px; height: 72px; right: -30px; top: -30px; border-radius: 50%; background: #f0f5fb; }
.stat-card:hover { transform: translateY(-3px); border-color: #d5deea; box-shadow: 0 16px 34px rgba(32,48,72,.09); }
.stat-card > * { position: relative; z-index: 1; }
.stat-card small { color: #7e8796; font-size: 9px; font-weight: 500; }
.stat-card strong { color: #202733; font-size: 24px; font-weight: 650; }
.stat-icon { width: 43px; height: 43px; border-radius: 12px; font-size: 15px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }

.panel { border: 1px solid #e1e7ef; border-radius: 16px; box-shadow: 0 10px 30px rgba(32,48,72,.05); }
.panel-heading { padding: 18px 21px; background: linear-gradient(180deg, #fff, #fbfcfe); border-radius: 16px 16px 0 0; }
.panel-heading h2 { color: #252c37; font-size: 13px; font-weight: 650; }
.panel-heading p { color: #8992a1; font-size: 9px; }
.panel-heading > a { color: #0b66d4; font-size: 9px; }
.deadline-row { padding: 12px 18px; }
.deadline-row:hover { background: #f7faff; }
.date-tile { border-color: #e0e6ee; background: #f8fafc; border-radius: 10px; }
.deadline-main strong { font-size: 10px; font-weight: 600; }
.activity-row p { font-size: 9px; }
.board-card, .board-list-card { border: 1px solid #e1e7ef; border-radius: 15px; box-shadow: 0 9px 26px rgba(32,48,72,.05); }
.board-card:hover, .board-list-card:hover { transform: translateY(-3px); border-color: #cfd9e6; box-shadow: 0 16px 34px rgba(32,48,72,.09); }
.board-card h3, .board-list-card h2 { font-weight: 650; }

.stack-form label, .installer-form label { color: #4f5968; font-size: 9px; font-weight: 600; }
.stack-form input, .stack-form select, .stack-form textarea, .installer-form input, .installer-form select, .installer-form textarea {
  min-height: 42px;
  border-color: #d8e0ea;
  border-radius: 9px;
  background: #fbfcfe;
  font-size: 10px;
}
.stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus, .installer-form input:focus { border-color: #0b66d4; background: #fff; box-shadow: 0 0 0 4px rgba(11,102,212,.09); }

.settings-layout { gap: 20px; }
.settings-card { overflow: hidden; }
.settings-card form { padding: 22px; }
.email-settings-card { grid-column: 1 / -1; scroll-margin-top: 90px; }
.settings-feature-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #0b66d4; background: #eaf3ff; font-size: 17px; }
.settings-switch-row { display: flex !important; align-items: center; justify-content: space-between; gap: 20px !important; padding: 14px 0; border-bottom: 1px solid #edf0f4; }
.settings-switch-row > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.settings-switch-row strong { color: #27303b; font-size: 10px; }
.settings-switch-row small { color: #7c8696; font-size: 8px; font-weight: 400; }
.toggle-switch { position: relative; width: 44px; height: 24px; flex: 0 0 44px; }
.toggle-switch input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-switch i { position: absolute; inset: 0; border-radius: 999px; background: #c9d1dc; cursor: pointer; transition: .2s ease; }
.toggle-switch i::after { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(23,34,52,.22); transition: .2s ease; }
.toggle-switch input:checked + i { background: linear-gradient(135deg, #0b66d4, #438bed); }
.toggle-switch input:checked + i::after { transform: translateX(20px); }
.optional-label { color: #9aa3b0; font-size: 7px; font-weight: 400; }
.settings-actions-row { display: flex; justify-content: flex-start; margin-top: 2px; }
.email-test-form { padding: 17px 22px !important; border-top: 1px solid #e8edf3; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: #f9fbfd; }
.email-test-form > div { display: flex; flex-direction: column; gap: 3px; }
.email-test-form strong { color: #2a313c; font-size: 10px; }
.email-test-form small { color: #808a99; font-size: 8px; }
.settings-callout { margin: 0; padding: 14px 22px 17px; color: #657080; background: #f9fbfd; font-size: 8px; line-height: 1.65; border-top: 1px solid #edf1f5; }
.settings-callout strong { color: #384252; }

.monday-board-title-row h1 { font-weight: 650; }
.monday-group-heading h2 { font-weight: 600; letter-spacing: -.02em; }
.monday-work-table { font-size: 11px; }
.monday-work-table thead th { color: #667080; font-size: 10px; font-weight: 500; background: #fbfcfe; }
.monday-work-table th, .monday-work-table td { border-color: #dfe5ed; }
.monday-task-cell a { color: #29313c; font-weight: 500; }
.monday-toolbar { padding: 7px; border: 1px solid #e3e8f0; border-radius: 11px; background: #fff; box-shadow: 0 7px 20px rgba(32,48,72,.04); }
.monday-new-task { border-radius: 8px; background: linear-gradient(135deg, #0b66d4, #3c86e8); box-shadow: 0 7px 16px rgba(11,102,212,.17); }

.auth-card h1, .installer-intro h1 { font-weight: 650; }
.auth-preview { background: radial-gradient(circle at 70% 20%, rgba(11,102,212,.35), transparent 35%), linear-gradient(145deg,#162338,#0d1420); }
.preview-glow { background: rgba(11,102,212,.19); }

@media (max-width: 900px) {
  .main-content { margin-left: 0; padding: 22px 18px 48px; }
  .app-topbar { display: none; }
  .sidebar { width: min(284px, 86vw); }
  .mobile-topbar { grid-template-columns: 38px minmax(0,1fr) 34px 34px; background: linear-gradient(135deg, #152235, #0b66d4); }
  .page-dashboard .page-heading { padding: 21px; }
}
@media (max-width: 680px) {
  .page-heading h1 { font-size: 24px; }
  .page-dashboard .page-heading { border-radius: 14px; }
  .stats-grid { gap: 10px; }
  .stat-card { min-height: 96px; border-radius: 13px; padding: 14px; }
  .email-test-form, .settings-switch-row { align-items: flex-start; }
  .email-test-form { flex-direction: column; }
  .email-test-form .button { width: 100%; }
}

/* ProjectFlow UI hotfix 1.6.1 — desktop table fit and improved readability */
:root {
  --bg: #f4f7fb;
}

/* Improve readability across the application without making the layout feel oversized. */
.brand-copy strong { font-size: 14px; }
.brand-copy small { font-size: 10.5px; }
.sidebar-label { font-size: 9px; }
.main-nav > a, .board-nav { font-size: 12px; }
.sidebar-user strong { font-size: 11.5px; }
.sidebar-user small { font-size: 9.5px; }
.topbar-context span { font-size: 9.5px; }
.topbar-context strong { font-size: 13px; }
.topbar-date { font-size: 10.5px; }
.topbar-profile strong { font-size: 10.5px; }
.topbar-profile small { font-size: 9px; }
.page-heading p { font-size: 12.5px; line-height: 1.65; }
.button { font-size: 11.5px; }
.button-small { font-size: 10.5px; }
.stat-card small { font-size: 10.5px; }
.panel-heading h2 { font-size: 14.5px; }
.panel-heading p, .panel-heading > a { font-size: 10.5px; }
.deadline-main strong { font-size: 11.5px; }
.deadline-main small { font-size: 10px; }
.activity-row p { font-size: 10.5px; }
.activity-row small { font-size: 9.5px; }
.section-heading p, .section-heading > a { font-size: 10.5px; }
.board-card p, .board-list-link p { font-size: 11px; }
.board-card footer, .board-list-card footer { font-size: 10px; }
.stack-form label, .installer-form label { font-size: 10.5px; }
.stack-form input, .stack-form select, .stack-form textarea,
.installer-form input, .installer-form select, .installer-form textarea { font-size: 12px; }
.settings-switch-row strong, .email-test-form strong { font-size: 11.5px; }
.settings-switch-row small, .email-test-form small, .settings-callout { font-size: 10px; }
.optional-label { font-size: 9px; }

/* A cleaner, more defined board workspace. */
.monday-board-page { color: #28313d; }
.monday-toolbar {
  padding: 8px;
  margin-bottom: 28px;
  border-radius: 13px;
  border-color: #dce4ee;
  box-shadow: 0 10px 26px rgba(32, 48, 72, .06);
}
.monday-new-task { min-height: 42px; padding-inline: 15px; font-size: 13.5px; font-weight: 600; }
.monday-search-form label, .monday-inline-filter label { font-size: 12.5px; }
.monday-search-form input { font-size: 12.5px; }
.monday-inline-filter select { font-size: 12.5px; }
.monday-toolbar-menu summary { font-size: 12.5px; }
.monday-toolbar-menu form label, .monday-hide-menu > div label { font-size: 12px; }
.monday-clear { font-size: 11.5px; }
.monday-group-heading { min-height: 42px; }
.monday-group-heading h2 { font-size: 22px; }
.monday-group-heading span { font-size: 11.5px; }
.monday-table-scroll {
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(32, 48, 72, .045);
}
.monday-work-table { font-size: 12.5px; }
.monday-work-table thead th { height: 44px; font-size: 11.5px; font-weight: 550; color: #596474; background: #f9fbfd; }
.monday-work-table td { height: 48px; }
.monday-work-table tbody tr:not(.monday-quick-add) td:not(.monday-accent-col) { transition: background-color .15s ease; }
.monday-work-table tbody tr:not(.monday-quick-add):hover td:not(.monday-accent-col) { background-color: #f8fbff; }
.monday-task-cell a { min-height: 47px; }
.monday-task-cell strong { max-width: 100%; font-size: 13.5px; font-weight: 500; }
.monday-task-cell small { font-size: 10.5px; }
.monday-cell-select { height: 47px; padding-inline: 5px; font-size: 12px; font-weight: 500; }
.monday-date { height: 47px; padding-inline: 4px; font-size: 12px; }
.monday-files-cell form, .monday-people-picker, .monday-people-button { height: 47px; }
.monday-updated { gap: 6px; padding-inline: 4px; font-size: 11.5px; }
.monday-quick-add input { font-size: 12px; }
.monday-people-menu > strong { font-size: 13px; }
.monday-people-options label { font-size: 11.5px; }

/* Desktop: fit all board columns into the available page width with no horizontal scrollbar. */
@media (min-width: 901px) {
  .monday-table-scroll {
    width: 100%;
    overflow: visible;
    padding: 0 0 4px 4px;
  }
  .monday-work-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }
  .monday-work-table .monday-accent-col { width: .6%; min-width: 5px; }
  .monday-check-col { width: 3.2%; }
  .monday-task-col { width: 24%; }
  .monday-comment-col { width: 4.5%; }
  .monday-work-table th[data-column="owner"] { width: 9%; }
  .monday-work-table th[data-column="status"] { width: 12%; }
  .monday-work-table th[data-column="due"] { width: 11.5%; }
  .monday-work-table th[data-column="files"] { width: 7%; }
  .monday-work-table th[data-column="updated"] { width: 15%; }
  .monday-work-table th[data-column="priority"] { width: 12.2%; }
  .monday-task-cell { min-width: 0; padding-inline: 12px !important; }
  .monday-task-cell strong, .monday-updated span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .monday-avatar-stack .avatar { width: 29px; height: 29px; font-size: 8px; }
  .monday-empty-person { width: 29px; height: 29px; }
  .monday-files-cell label { width: 31px; height: 31px; }
}

/* Smaller desktop/laptop screens retain every column by using space more efficiently. */
@media (min-width: 901px) and (max-width: 1199px) {
  :root { --sidebar-width: 220px; }
  .sidebar { padding-inline: 12px; }
  .main-content { padding-left: 18px; padding-right: 18px; }
  .app-topbar { margin-left: -18px; margin-right: -18px; padding-left: 18px; padding-right: 18px; }
  .monday-toolbar { gap: 3px; }
  .monday-new-task { padding-inline: 11px; }
  .monday-search-form input { width: 88px; }
  .monday-toolbar-menu summary, .monday-search-form label, .monday-inline-filter label { padding-inline: 6px; }
  .monday-work-table { font-size: 11.5px; }
  .monday-work-table thead th { font-size: 10.5px; }
  .monday-task-cell { padding-inline: 8px !important; }
  .monday-task-cell strong { font-size: 12.5px; }
  .monday-cell-select, .monday-date { font-size: 11px; }
  .monday-updated { font-size: 10.5px; }
  .monday-work-table th[data-column="updated"] { width: 13.5%; }
  .monday-task-col { width: 25.5%; }
}

/* Mobile and narrow tablet views keep horizontal scrolling so cells remain usable. */
@media (max-width: 900px) {
  .monday-table-scroll { overflow-x: auto; }
  .monday-work-table { min-width: 1080px; }
  .main-nav > a, .board-nav { font-size: 12.5px; }
}
