:root {
  /* TaskHub Brandbook 2026 */
  --navy: #25272D;          /* Mürəkkəb — başlıq və mətn */
  --navy-2: #4A4D57;        /* Qrafit */
  --teal: #F47E08;          /* Loqodakı narıncı — əsas vurğu */
  --teal-dark: #DE6A00;     /* hover */
  --amber: #FF9F0A;
  --flame: #FF3D00;
  --ink: #25272D;
  --muted: #6E7079;
  --line: #E7E1DA;
  --bg: #F4F6FA;            /* sakit, göz yormayan fon */
  --sand: #EEF1F5;          /* ikinci fon */
  --card: #ffffff;
  --danger: #E23E00;
  --warn: #FF9F0A;
  --ok: #2E7D4F;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(37, 39, 45, .05), 0 10px 30px rgba(37, 39, 45, .07);
  --grad: linear-gradient(135deg, #FF9F0A 0%, #F47E08 55%, #E64103 100%);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
.hidden { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.02em; }
a { color: var(--teal-dark); text-decoration: none; }
.muted { color: var(--muted); font-size: 14px; margin: 6px 0 0; }

/* ---------- buttons ---------- */
.btn { font: inherit; font-weight: 600; font-size: 14px; border-radius: 10px; padding: 10px 16px; border: 1px solid transparent; cursor: pointer; transition: .15s ease; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg, #FB9A2E 0%, #F07C0A 55%, #DF5203 100%); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, #F07F0C 0%, #E26604 55%, #D14803 100%); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--navy); }
.btn-outline:hover { border-color: #DED7CF; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: rgba(37, 39, 45, .06); }
.btn-danger { background: #FFEDE8; color: var(--danger); }
.btn-danger:hover { background: #FFDCCF; }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- brand ---------- */
.brand { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--navy); }
.brand-logo { height: 28px; width: auto; display: block; }
.brand-suffix { white-space: nowrap; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line); line-height: 1; }
.brand-suffix .hub { color: #fb923c; font-weight: 800; }
.brand-brandmark { height: 24px; width: auto; display: block; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); }
.lp-header .brand-brandmark { height: 38px; margin-left: 0; padding-left: 0; border-left: 0; }
.brand-center .brand-logo { height: 40px; }
.brand-center { justify-content: center; margin-bottom: 18px; }
.brand-stack { flex-direction: column; align-items: flex-start; gap: 2px; }
.brand-tagline { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-left: 4px; }
.auth-tagline { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: -12px 0 14px; }

/* ---------- landing ---------- */
.landing { max-width: 1180px; margin: 0 auto; padding: 0 24px 60px; }
.lp-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.lp-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.lp-nav a { color: var(--muted); }
.lp-nav a:hover { color: var(--navy); }

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 64px 0 80px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; color: var(--teal-dark); margin: 0 0 16px; }
.hero h1 { font-size: 52px; font-weight: 800; color: var(--navy); }
.hero h1 span { color: var(--teal-dark); }
.lead { font-size: 17px; line-height: 1.65; color: #4A4D57; margin: 20px 0 30px; max-width: 540px; }
.lead strong { color: var(--teal-dark); font-weight: 700; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 42px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 26px; color: var(--navy); }
.hero-stats span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.hero-visual { display: flex; justify-content: center; }
.mock { width: 100%; max-width: 440px; background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(37, 39, 45, .16); padding: 18px; border: 1px solid var(--line); }
.mock-top { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.mock-top em { margin-left: 8px; font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #dbe3ec; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 11px 8px; border-radius: 9px; font-size: 13.5px; }
.mock-row:hover { background: #FAF7F3; }
.mock-check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #E3DCD4; display: grid; place-items: center; font-size: 12px; color: #fff; flex: none; }
.mock-row.done .mock-check { background: var(--teal); border-color: var(--teal); }
.mock-row.done .mock-title { text-decoration: line-through; color: #8C8F98; }
.mock-title { flex: 1; color: #25272D; }
.mock-who { font-size: 11px; color: var(--muted); background: #F5F1EB; padding: 3px 8px; border-radius: 999px; }
.mock-foot { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 7px; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(22, 163, 74, .15); display: inline-block; }

.features { padding: 70px 0; border-top: 1px solid var(--line); }
.features h2, .how h2 { font-size: 32px; color: var(--navy); text-align: center; }
.section-lead { text-align: center; color: var(--muted); margin: 12px auto 44px; max-width: 560px; font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature-ico { font-size: 24px; margin-bottom: 12px; }
.feature h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.how { padding: 70px 0; border-top: 1px solid var(--line); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 40px 0 0; margin: 0; }
.steps li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps span { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.steps h3 { font-size: 15px; margin-bottom: 6px; color: var(--navy); }
.steps p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.lp-footer { display: flex; justify-content: space-between; padding-top: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }

/* ---------- auth ---------- */
.auth { position: fixed; inset: 0; background: rgba(37, 39, 45, .55); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 60; padding: 20px; }
.auth-card { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 18px; padding: 32px; box-shadow: 0 30px 80px rgba(37, 39, 45, .3); }
.auth-close { position: absolute; top: 14px; right: 14px; border: 0; background: transparent; font-size: 24px; line-height: 1; color: #8C8F98; cursor: pointer; padding: 4px 8px; border-radius: 8px; }
.auth-close:hover { background: #F5F1EB; color: var(--navy); }
.auth-tabs { display: flex; background: #F5F1EB; border-radius: 10px; padding: 4px; margin-bottom: 22px; }
.auth-tab { flex: 1; border: 0; background: transparent; padding: 9px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.auth-tab.active { background: #fff; color: var(--navy); box-shadow: 0 1px 3px rgba(37, 39, 45, .12); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-form label, .task-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: #4A4D57; }
.auth-hint { text-align: center; font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.form-error { color: var(--danger); font-size: 13px; margin: 0; min-height: 16px; }

input, select, textarea {
  font: inherit; font-size: 14px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(255, 106, 0, .14); }
textarea { resize: vertical; }

/* ---------- app shell ---------- */
.app { min-height: 100vh; }
.topbar { display: flex; align-items: center; gap: 14px; padding: 12px 28px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.tabs { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
#orgSwitch { width: auto; max-width: 170px; font-size: 12.5px; padding: 7px 10px; }
.tab { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 13px; color: var(--muted); padding: 9px 9px; border-radius: 9px; cursor: pointer; white-space: nowrap; }
.tab:hover { background: #f3f7fb; color: var(--navy); }
.tab.active { background: #EFF2F6; color: var(--teal-dark); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.live { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); white-space: nowrap; }
#liveText { display: none; }
@media (min-width: 1500px) { #liveText { display: inline; } }
.user-chip { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }

.content { max-width: 1240px; margin: 0 auto; padding: 30px 28px 70px; }
.view-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.view-head h1 { font-size: 28px; color: var(--navy); }
.view-head .select { width: auto; min-width: 170px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.stat b { display: block; font-size: 26px; color: var(--navy); letter-spacing: -0.02em; }
.stat span { font-size: 12px; color: var(--muted); }
.stat.warn b { color: var(--warn); }
.stat.ok b { color: var(--ok); }
.stat.danger b { color: var(--danger); }

/* toolbar */
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .input { flex: 1 1 260px; min-width: 200px; }
.toolbar .select { width: auto; min-width: 150px; }
.switch { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #4A4D57; white-space: nowrap; }
.switch input { width: auto; }

/* table */
.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.tasks { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.tasks th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafcfe; white-space: nowrap; }
table.tasks td { padding: 11px 14px; border-bottom: 1px solid #F1ECE6; vertical-align: middle; }
table.tasks tbody tr:last-child td { border-bottom: 0; }
table.tasks tbody tr:hover { background: #FCFAF7; }
.c-check { width: 42px; }
.c-actions { width: 54px; text-align: right; white-space: nowrap; }
.c-actions .btn + .btn { margin-left: 6px; }
.task-title { font-weight: 600; color: #25272D; cursor: pointer; }
.task-title:hover { color: var(--teal-dark); }
.task-note { font-size: 12px; color: var(--muted); margin-top: 3px; }
tr.done .task-title { text-decoration: line-through; color: #8C8F98; }
tr.done td { color: #A9ABB3; }

.check { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #E3DCD4; background: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; color: #fff; font-size: 12px; }
.check:hover { border-color: var(--teal); }
.check.on { background: var(--teal); border-color: var(--teal); }

.pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.pill.todo { background: #EFE9E2; color: #8C8F98; }
.pill.doing { background: #FFF4E5; color: #b45309; }
.pill.done { background: #EAF5EC; color: #2E7D4F; }
.pill.overdue { background: #FFEDE8; color: #B3260A; }
.pill.pri-high { background: #FFEDE8; color: #B3260A; }
.pill.pri-low { background: #EFE9E2; color: #6E7079; }
.due { font-variant-numeric: tabular-nums; white-space: nowrap; }
.due.late { color: var(--danger); font-weight: 600; }
.person { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.person .avatar { width: 24px; height: 24px; font-size: 10px; background: #E8E2DB; color: #25272D; }

.empty { text-align: center; color: var(--muted); padding: 40px; font-size: 14px; }

/* reports */
.report-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-bottom: 16px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 16px; }
.panel h2 { font-size: 15px; color: var(--navy); margin-bottom: 16px; }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr 46px; align-items: center; gap: 12px; font-size: 13px; }
.bar-track { height: 10px; background: #F1ECE6; border-radius: 999px; overflow: hidden; display: flex; }
.bar-fill { background: var(--teal); height: 100%; }
.bar-fill.done { background: #16a34a; }
.bar-fill.todo { background: #DED7CF; }
.bar-num { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.donut-wrap { display: flex; align-items: center; gap: 22px; }
.donut { width: 132px; height: 132px; border-radius: 50%; flex: none; }
.legend { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.legend span { display: flex; align-items: center; gap: 8px; color: #4A4D57; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.list li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid #F5F1EB; }
.list li:last-child { border-bottom: 0; padding-bottom: 0; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feed li { font-size: 12.5px; color: #4A4D57; line-height: 1.45; }
.feed b { color: var(--navy); }
.feed time { display: block; color: #8C8F98; font-size: 11px; margin-top: 2px; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.team-card .top { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.team-card .avatar { width: 38px; height: 38px; font-size: 14px; }
.team-card h3 { font-size: 14.5px; color: var(--navy); }
.team-card .role { font-size: 11px; color: var(--teal-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.team-card .meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); border-top: 1px solid #F5F1EB; padding-top: 10px; }
.team-card .meta b { color: var(--navy); display: block; font-size: 15px; }

/* modals */
.modal { position: fixed; inset: 0; background: rgba(37, 39, 45, .5); backdrop-filter: blur(3px); display: grid; place-items: center; z-index: 70; padding: 20px; }
.modal-card { background: #fff; border-radius: 18px; width: 100%; max-width: 640px; padding: 26px; box-shadow: 0 30px 80px rgba(37, 39, 45, .3); max-height: 90vh; overflow: auto; }
.modal-card.small { max-width: 480px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.modal-head h2 { font-size: 19px; color: var(--navy); }
.task-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span2 { grid-column: span 2; }
.modal-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.spacer { flex: 1; }

/* toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 13.5px; box-shadow: 0 12px 30px rgba(37, 39, 45, .3); z-index: 90; }

/* assign strip (tasks view drag target) */
.assign-strip { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 8px 10px; margin-bottom: 12px; background: #fff; border: 1px dashed var(--line); border-radius: 12px; }
.assign-strip .label { font-size: 11.5px; color: var(--muted); white-space: nowrap; font-weight: 600; }
.assign-chip { display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: #FAF7F3; font-size: 12px; color: #25272D; white-space: nowrap; border: 1px solid transparent; }
.assign-chip .avatar { width: 22px; height: 22px; font-size: 9px; background: #E8E2DB; color: #25272D; }
.assign-chip.drag-over { background: #EFF2F6; border-color: var(--teal); }
tr.dragging { opacity: .45; }
tr[draggable="true"] { cursor: grab; }

/* calendar */
.cal-nav { display: flex; align-items: center; gap: 8px; }
.cal-nav .btn { padding: 8px 12px; }
.cal-layout { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
.cal-panel { padding: 16px; }
.cal-head { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.cal-head span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-cell { min-width: 0; overflow: hidden; min-height: 112px; border: 1px solid var(--line); border-radius: 10px; padding: 6px; background: #fff; display: flex; flex-direction: column; gap: 4px; cursor: pointer; transition: border-color .15s, background .15s; }
.cal-cell:hover { border-color: #E3DCD4; background: #FFFFFF; }
.cal-cell.other { background: #f8fafc; }
.cal-cell.other .cal-day { color: #A9ABB3; }
.cal-cell.today { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal) inset; }
.cal-day { font-size: 12px; font-weight: 700; color: #8C8F98; display: flex; justify-content: space-between; align-items: center; }
.cal-day em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.cal-chips { display: flex; flex-direction: column; gap: 3px; overflow: hidden; min-width: 0; }
.chip { font-size: 11px; line-height: 1.25; padding: 3px 6px; border-radius: 6px; background: #F4EFE9; color: #4A4D57; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid #C9C0B6; }
.chip.doing { background: #fff6e8; color: #8a5200; border-left-color: var(--warn); }
.chip.done { background: #eaf8f0; color: #146c3a; border-left-color: var(--ok); text-decoration: line-through; opacity: .8; }
.chip.late { background: #FFEDE8; color: #a51c1c; border-left-color: var(--danger); }
.chip:hover { filter: brightness(.97); }
.chip { cursor: grab; }
.chip.dragging { opacity: .4; cursor: grabbing; }
.cal-cell.drag-over { border-color: var(--teal); background: #F1F4F8; box-shadow: 0 0 0 2px rgba(255, 106, 0,.25) inset; }
.wl-row.drag-over { background: #EFF2F6; outline: 2px dashed var(--teal); outline-offset: -2px; }
.wl-row.idle { opacity: .55; }
.wl-row.idle .wl-track { background: #f4f7fa; }
.cal-more { font-size: 10.5px; color: var(--muted); padding-left: 2px; }
.cal-side h2 { margin-bottom: 4px; }
.muted.small { font-size: 12px; margin: 0 0 14px; }
.workload { display: flex; flex-direction: column; gap: 12px; }
.wl-row { cursor: pointer; border-radius: 8px; padding: 4px 6px; margin: -4px -6px; }
.wl-row:hover { background: #FAF7F3; }
.wl-row.active { background: #EFF2F6; }
.wl-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; margin-bottom: 5px; }
.wl-top b { color: var(--navy); font-weight: 600; }
.wl-top span { color: var(--muted); font-variant-numeric: tabular-nums; }
.wl-track { height: 7px; background: #F1ECE6; border-radius: 999px; overflow: hidden; display: flex; }
.wl-fill { height: 100%; background: var(--teal); }
.wl-fill.done { background: var(--ok); }
.wl-fill.late { background: var(--danger); }

/* scope switch */
.scope-switch { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 4px; gap: 4px; margin-bottom: 16px; }
.scope-btn { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); padding: 8px 15px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.scope-btn:hover { color: var(--navy); }
.scope-btn.active { background: #EFF2F6; color: var(--teal-dark); }
.scope-btn span { font-weight: 700; opacity: .75; margin-left: 5px; }

/* board */
.head-actions { display: flex; gap: 8px; align-items: center; }
.board { display: block; }
.board-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; min-height: 220px; }
.board-col.drag-over { border-color: var(--teal); background: #f2fbf9; }
.board-col h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; display: flex; justify-content: space-between; }
.board-cards { display: flex; flex-direction: column; gap: 8px; min-height: 40px; }
.board-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: grab; }
.board-card:hover { border-color: #E8E2DB; }
.board-card.dragging { opacity: .45; }
.board-card .bc-title { font-size: 13.5px; font-weight: 600; color: #25272D; margin-bottom: 6px; }
.board-card.done .bc-title { text-decoration: line-through; color: #8C8F98; }
.board-card.fresh { border-color: var(--ok); box-shadow: 0 0 0 2px rgba(22, 163, 74, .14); background: #f6fdf9; }
.bc-head { display: flex; align-items: flex-start; gap: 8px; }
.bc-head .bc-title { flex: 1; }
.bc-new { flex: none; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #2E7D4F; background: #EAF5EC; border-radius: 999px; padding: 2px 7px; }
.bc-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); gap: 8px; }
.bc-meta .late { color: var(--danger); font-weight: 600; }

/* task extras */
.task-extra { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.extra-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.extra-head h3 { font-size: 13.5px; color: var(--navy); }
.check-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.check-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.check-item input[type="checkbox"] { width: auto; }
.check-item.done span { text-decoration: line-through; color: #8C8F98; }
.check-item button { margin-left: auto; border: 0; background: transparent; color: #A9ABB3; cursor: pointer; font-size: 15px; line-height: 1; }
.check-item button:hover { color: var(--danger); }
.inline-add { display: flex; gap: 8px; align-items: flex-start; }
.inline-add input, .inline-add textarea { flex: 1; }
.comment-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; max-height: 240px; overflow: auto; }
.comment { background: #FCFAF7; border: 1px solid #F1ECE6; border-radius: 10px; padding: 8px 10px; }
.comment .c-head { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.comment .c-head b { color: var(--navy); font-size: 12px; }
.comment p { margin: 0; font-size: 13px; color: #25272D; white-space: pre-wrap; }
.settings-user { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13.5px; color: #4A4D57; }
tr.archived .task-title { color: #8C8F98; }
.team-card .admin-actions { display: flex; gap: 6px; margin-top: 10px; }
.team-card .admin-actions button { font-size: 11.5px; padding: 5px 9px; }
.team-card .phone { font-size: 11.5px; color: var(--muted); margin-top: 6px; }

.dept-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dept-chip { display: flex; align-items: center; gap: 6px; background: #FAF7F3; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: 12px; color: #25272D; }
.dept-chip button { border: 0; background: transparent; color: #A9ABB3; cursor: pointer; font-size: 14px; line-height: 1; padding: 0; }
.dept-chip button:hover { color: var(--danger); }

/* protocol document view */
.proto-tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 4px; gap: 4px; margin-bottom: 14px; }
.doc-h1 { font-size: 17px; color: var(--navy); margin: 18px 0 10px; }
.doc-h2 { font-size: 14.5px; color: var(--navy); margin: 16px 0 8px; }
.doc-h3 { font-size: 13px; color: var(--teal-dark); margin: 14px 0 6px; text-transform: none; letter-spacing: 0; }
.doc-p { font-size: 13.5px; color: #25272D; line-height: 1.6; margin: 0 0 8px; }
.doc-li { font-size: 13px; color: #25272D; line-height: 1.55; margin: 0 0 4px 8px; }
.doc-table { overflow-x: auto; margin: 10px 0 16px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: 12px; }
.doc-table th, .doc-table td { border: 1px solid #E7E1DA; padding: 6px 8px; text-align: left; vertical-align: top; }
.doc-table th { background: #FAF7F3; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.money { font-variant-numeric: tabular-nums; font-weight: 600; }
.money.due { color: var(--danger); }

/* KPI */
.score { display: inline-grid; place-items: center; min-width: 44px; height: 28px; border-radius: 8px; font-weight: 800; font-size: 13px; }
.score.good { background: #EAF5EC; color: #2E7D4F; }
.score.mid { background: #FFF4E5; color: #b45309; }
.score.low { background: #FFEDE8; color: #B3260A; }
.kpi-bar { height: 8px; background: #F1ECE6; border-radius: 999px; overflow: hidden; }
.kpi-bar i { display: block; height: 100%; background: var(--teal); }

/* meetings */
.week-wrap { padding: 16px; }
.week-head { display: grid; grid-template-columns: 64px repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; position: sticky; top: 64px; background: #fff; z-index: 2; padding: 4px 0; box-shadow: 0 6px 10px -8px rgba(37, 39, 45, .25); }
.week-head .wd { text-align: center; font-size: 11.5px; color: var(--muted); font-weight: 700; padding: 6px 0; border-radius: 8px; }
.week-head .wd.today { background: #EFF2F6; color: var(--teal-dark); }
.week-head .wd span { display: block; font-size: 15px; color: var(--navy); }
.week-grid { display: grid; grid-template-columns: 64px repeat(7, minmax(0, 1fr)); gap: 6px; }
.week-hours { display: flex; flex-direction: column; }
.week-hours span { height: 44px; font-size: 10.5px; color: #8C8F98; text-align: right; padding-right: 6px; }
.week-col { position: relative; height: 616px; border-left: 1px solid #F1ECE6; background: repeating-linear-gradient(to bottom, #fff 0 21px, #FAF7F3 21px 22px, #fff 22px 43px, #F1ECE6 43px 44px); border-radius: 8px; }
.week-col.today { background: repeating-linear-gradient(to bottom, #FBFCFE 0 21px, #F7F9FB 21px 22px, #FBFCFE 22px 43px, #e3f4ee 43px 44px); }
.dur-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dur-row .btn { padding: 6px 12px; font-size: 12.5px; }
.meet-block { position: absolute; left: 3px; right: 3px; border-radius: 7px; padding: 3px 6px; font-size: 10.5px; line-height: 1.25; color: #6B2F00; background: #E6EBF2; border-left: 3px solid var(--teal); overflow: hidden; cursor: pointer; }
.meet-block:hover { filter: brightness(.97); }
.meet-block b { display: block; font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meet-block span { color: #3c6b63; }
.meet-block.mine { background: #EFF2F6; border-left-color: #FF6A00; color: #4A4D57; }
.meet-block.mine span { color: #8C8F98; }
@media (max-width: 900px) {
  .week-wrap { overflow-x: auto; }
  .week-head, .week-grid { min-width: 760px; }
}

/* protocols */
.modal-card.wide { max-width: 820px; }
.proto-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.proto-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.proto-card:hover { border-color: #E8E2DB; box-shadow: var(--shadow); }
.proto-card { position: relative; }
.task-project { background: #FFF3E6; color: #B45309; }

/* ---------- dil seçimi ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.lang-switch button { border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 4px 7px; border-radius: 8px; cursor: pointer; }
.lang-switch button:hover { color: var(--navy); }
.lang-switch button.active { background: var(--navy); color: #fff; }
.lang-switch-auth { margin: 6px 0 2px; }
.proj-desc { font-size: 13px; color: var(--navy-2); line-height: 1.55; margin: 0 0 12px; }
.proj-people { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.proj-tasks-title { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0 10px; }
.proj-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 10px; }
.proj-file-preview { margin: 6px 0 0; padding-left: 18px; font-size: 12px; color: var(--navy-2); line-height: 1.5; }
.proj-task-list { display: flex; flex-direction: column; gap: 8px; }
.proj-task-list .decision { background: #fff; align-items: center; gap: 16px; }
.proj-task-list .d-text { flex: 1 1 200px; min-width: 160px; }
.proj-task-list .d-side { flex: 0 0 auto; gap: 8px; }
.proj-task-list .d-meta { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.proj-task-list .d-form { flex-wrap: nowrap; justify-content: flex-end; }
.proj-task-list .d-form select { max-width: 150px; }
.proj-task-list .d-form input[type="date"] { width: 140px; }
.proj-task-name { font-size: 13.5px; color: var(--navy); cursor: pointer; }
.proj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.proj-grid .pf { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.proj-grid .pf span { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.proj-grid .pf b { font-size: 13px; color: var(--navy); }
#projInfo .proto-section + .proto-section { margin-top: 16px; }
.proj-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 6px 0 10px; }
.pstat { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: #fff; display: flex; flex-direction: column; gap: 1px; }
.pstat b { font-size: 18px; color: var(--navy); line-height: 1.1; }
.pstat span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.pstat.ok b { color: #15803d; }
.pstat.danger b { color: #b91c1c; }
.pstat.warn b { color: #b45309; }
.proj-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.proj-progress .p-bar { flex: 1; height: 8px; background: #F1ECE6; border-radius: 999px; overflow: hidden; }
.proj-progress .p-bar i { display: block; height: 100%; background: var(--teal); }
.proj-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.proj-filters .scope-btn { font-size: 12px; padding: 5px 10px; }
.proj-toolbar select { font-size: 12px; padding: 5px 8px; margin-left: 4px; }
.proj-group { margin-bottom: 14px; }
.proj-group h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-dark); margin: 0 0 6px; }
.decision.is-late { border-color: #F3C6C6; background: #FFF9F9; }
@media (max-width: 820px) {
  .proj-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .proj-grid { grid-template-columns: 1fr 1fr; }
}
#projInfo .proto-section h3 { margin-bottom: 8px; }
.proto-print { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--navy-2); font-size: 14px; line-height: 1; cursor: pointer; opacity: .65; transition: opacity .15s, border-color .15s; }
.proto-card:hover .proto-print { opacity: 1; }
.proto-print:hover { border-color: var(--teal); color: var(--teal-dark); }
.note-print { font-size: 13.5px; line-height: 1.6; }
.note-print ul, .note-print ol { padding-left: 20px; }

/* ---------- çap önizləməsi ---------- */
.print-card { width: min(940px, 96vw); max-height: 92vh; display: flex; flex-direction: column; }
.print-card .modal-head { flex: 0 0 auto; }
.print-hint { flex: 0 0 auto; margin: 0; padding: 8px 22px; background: #FFF7ED; border-bottom: 1px solid #F6E3CC; color: #8A5A1E; font-size: 12px; }
.print-sheet { overflow: auto; background: #fff; padding: 30px 34px 36px; color: #1f2328; font-size: 13px; line-height: 1.5; }
.print-sheet .ph { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--teal); padding-bottom: 12px; margin-bottom: 18px; }
.print-sheet .ph h1 { font-size: 20px; margin: 0; color: #1f2328; }
.print-sheet .ph .meta { color: #5b6472; font-size: 12.5px; margin-top: 4px; }
.print-sheet .ph .brand { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); font-weight: 700; white-space: nowrap; }
.print-sheet h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: #5b6472; margin: 20px 0 8px; }
.print-sheet h3 { font-size: 13.5px; margin: 14px 0 6px; }
.print-sheet table { width: 100%; border-collapse: collapse; font-size: 12px; margin-bottom: 12px; }
.print-sheet th, .print-sheet td { border-bottom: 1px solid #dfe3e8; padding: 6px 7px; text-align: left; vertical-align: top; }
.print-sheet th { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: #5b6472; background: #f6f7f9; }
.print-sheet .stats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.print-sheet .stat, .print-sheet .panel, .print-sheet .card { border: 1px solid #dfe3e8; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; break-inside: avoid; }
.print-sheet .stats .stat { flex: 1 1 140px; margin: 0; }
.print-sheet .pf { margin-top: 24px; border-top: 1px solid #dfe3e8; padding-top: 8px; color: #8b93a1; font-size: 10.5px; }
.print-sheet ul, .print-sheet ol { margin: 6px 0 12px; padding-left: 20px; font-size: 12.5px; }
.print-sheet img { max-width: 100%; }

/* Brauzerin öz çapı (⌘P / Ctrl+P) üçün ümumi qaydalar — menyu və düymələr çıxmır, cədvəllər kəsilmir. */
@media print {
  body { background: #fff; }
  .topbar, .tabs, .toast, .invite-banner, .subtabs, .toolbar, .org-strip, .cal-nav, .admin-actions, .c-actions,
  .btn, .proto-print, .note-tools, .note-foot, .modal:not(#printModal) { display: none !important; }
  .view.hidden { display: none !important; }
  .content { padding: 0 !important; }
  .table-wrap { overflow: visible !important; }
  table { width: 100% !important; table-layout: auto; }
  .panel, .stat, .proto-card, .team-card { break-inside: avoid; }
}

@media print {
  @page { margin: 14mm; }
  body.printing > *:not(#printModal) { display: none !important; }
  body.printing #printModal { position: static; display: block; background: #fff; padding: 0; overflow: visible; }
  body.printing #printModal .modal-card { width: auto; max-width: none; max-height: none; box-shadow: none; border: 0; border-radius: 0; }
  /* blur/box-shadow çap önizləməsini çox ləngidir — çapda tamamilə söndürülür. */
  body.printing #printModal,
  body.printing #printModal * { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; filter: none !important; box-shadow: none !important; }
  body.printing #printModal .modal-head { display: none; }
  body.printing #printSheet { overflow: visible; padding: 0; }
  /* Cədvəl kəsilməsin: overflow konteynerləri çapda açılır, sütunlar səhifəyə sığdırılır. */
  body.printing .print-sheet .table-wrap,
  body.printing .print-sheet .bars,
  body.printing .print-sheet .panel { overflow: visible !important; }
  body.printing .print-sheet table { width: 100% !important; table-layout: auto; font-size: 9.5px; }
  body.printing .print-sheet th { padding: 4px 4px; font-size: 8.5px; letter-spacing: 0; white-space: normal; hyphens: auto; }
  body.printing .print-sheet td { padding: 4px 4px; white-space: normal; word-break: break-word; }
  body.printing .print-sheet .panel, body.printing .print-sheet .stat { break-inside: avoid; }
  body.printing .print-sheet .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
.org-del { position: absolute; top: 14px; right: 14px; padding: 5px 10px; font-size: 12px; }
.org-block { position: absolute; top: 14px; right: 66px; padding: 5px 10px; font-size: 12px; }
.proto-card h3 { font-size: 15px; color: var(--navy); margin-bottom: 6px; }
.proto-card .p-meta { font-size: 12px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.proto-card .p-progress { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.proto-card .p-bar { flex: 1; height: 7px; background: #F1ECE6; border-radius: 999px; overflow: hidden; }
.proto-card .p-bar i { display: block; height: 100%; background: var(--ok); }
.proto-body { display: flex; flex-direction: column; gap: 20px; }
.proto-section h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.proto-section ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: #25272D; line-height: 1.6; }
.decision-group { margin-bottom: 16px; }
.decision-group h4 { font-size: 12.5px; color: var(--teal-dark); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .05em; }
.decision { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: #FFFFFF; }
.decision .d-text { flex: 1; font-size: 13.5px; color: #25272D; line-height: 1.5; }
.decision .d-side { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; min-width: 150px; }
.decision .d-form { display: flex; gap: 6px; align-items: center; }
.decision .d-form select, .decision .d-form input { font-size: 12px; padding: 6px 8px; }
.decision .d-form button { font-size: 12px; padding: 6px 10px; }
.file-field input[type="file"] { font-size: 12.5px; padding: 8px; background: #FCFAF7; border-style: dashed; }
.check-line { flex-direction: row !important; align-items: center; gap: 8px !important; font-weight: 500 !important; font-size: 13px !important; }
.check-line input { width: auto; }
.access-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; max-height: 200px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.access-item, .task-form .access-item, .auth-form .access-item { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 7px; font-size: 12.5px; font-weight: 500; color: #4A4D57; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.access-item input { width: auto; }
.task-proto { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--teal-dark); background: #EFF2F6; border-radius: 999px; padding: 3px 9px; margin-top: 4px; }

@media (max-width: 1450px) {
  .topbar { flex-wrap: wrap; row-gap: 6px; }
  .tabs { order: 3; flex-basis: 100%; }
  .brand-suffix { display: inline; }
.brand-lockup { height: 40px; width: auto; }
}

/* responsive */
@media (max-width: 1000px) {
  .cal-layout { grid-template-columns: 1fr; }
  .cal-cell { min-height: 90px; }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 60px; }
  .hero h1 { font-size: 40px; }
  .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .report-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .content { padding: 20px 16px 60px; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .task-form { grid-template-columns: 1fr; }
  .span2 { grid-column: span 1; }
  table.tasks th:nth-child(3), table.tasks td:nth-child(3) { display: none; }
  .lp-nav a { display: none; }
  .hero h1 { font-size: 32px; }
}
.user-org { display: block; font-size: 11px; color: var(--muted, #8a8f98); font-weight: 400; line-height: 1.1; }

/* ---------- mühasibatlıq alt bölmələri ---------- */
.subtabs { display: flex; gap: 6px; margin: 4px 0 16px; border-bottom: 1px solid var(--line); }
.subtab { font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 9px 14px; cursor: pointer; }
.subtab:hover { color: var(--navy); }
.subtab.active { color: var(--navy); border-bottom-color: var(--teal); }

/* ---------- maliyyə qrafiki ---------- */
.fin-chart { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding: 10px 4px 0; }
.fin-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; height: 100%; }
.fin-bars { display: flex; align-items: flex-end; justify-content: center; gap: 3px; width: 100%; height: 100%; }
.fin-bar { width: 9px; border-radius: 3px 3px 0 0; min-height: 2px; }
.fin-bar.income { background: var(--teal); }
.fin-bar.expense { background: #f59e0b; }
.fin-bar.profit { background: var(--navy); }
.fin-label { font-size: 10px; color: var(--muted); white-space: nowrap; }
.fin-legend { display: flex; gap: 18px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.fin-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; }
.fin-legend .dot.income { background: var(--teal); }
.fin-legend .dot.expense { background: #f59e0b; }
.fin-legend .dot.profit { background: var(--navy); }

/* ---------- ödəniş ayları ---------- */
.pay-months { display: flex; flex-direction: column; gap: 6px; max-height: 190px; overflow-y: auto; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.pay-month { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.pay-month input { width: auto; }
.pay-month .pm-period { font-weight: 600; color: var(--navy); min-width: 74px; }
.pay-month .pm-rest { margin-left: auto; color: var(--danger); font-variant-numeric: tabular-nums; }
.pay-month .pm-rest.zero { color: var(--muted); }

/* ---------- işçi icazələri ---------- */
.perm-block { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.perm-title { font-size: 13px; font-weight: 600; color: var(--navy); }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 6px 14px; margin-top: 8px; }
.perm-grid label { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 400; }
.perm-grid input { width: auto; }

/* ---------- profil ---------- */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 4px 0 14px; font-size: 13px; }
.profile-grid .pf { display: flex; flex-direction: column; gap: 2px; }
.profile-grid .pf span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .03em; }
.profile-grid .pf b { font-weight: 600; color: var(--navy); }
.profile-grid .pf.wide { grid-column: 1 / -1; }
.profile-edit { border-top: 1px solid var(--line); padding-top: 12px; margin-bottom: 12px; }
.profile-edit summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--navy); }
.profile-edit form { margin-top: 12px; }

/* ---------- bildiriş parametrləri ---------- */
.notify-box { border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; margin: 0 0 14px; background: #fff; }
.notify-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.notify-head b { font-size: 13.5px; color: var(--navy); }
.notify-head .muted { font-size: 11.5px; }
.notify-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; font-weight: 400; cursor: pointer; }
.notify-row input { width: auto; margin: 0; }
.notify-row b { font-weight: 500; color: var(--muted); margin-left: 6px; }
.notify-row input:disabled + span { opacity: .55; }
.notify-actions { display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.notify-actions .muted { font-size: 11.5px; }

/* ---------- söhbət ---------- */
.chat-wrap { display: grid; grid-template-columns: 290px 1fr; gap: 14px; height: calc(100vh - 190px); min-height: 420px; }
.chat-list { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow-y: auto; padding: 8px; min-height: 0; }
.chat-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: 0; border-radius: 10px; padding: 9px 10px; cursor: pointer; font: inherit; }
.chat-item:hover { background: #f4f8fb; }
.chat-item.active { background: #EFF2F6; }
.ci-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex: none; }
.ci-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ci-name { font-size: 13.5px; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-last { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-badge { background: var(--teal); color: #25272D; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 2px 7px; flex: none; }
.chat-pane { background: #fff; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; min-width: 0; min-height: 0; overflow: hidden; }
.chat-head { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.chat-msgs { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: #FAF7F3; }
.msg { max-width: 72%; align-self: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; }
.msg.mine { align-self: flex-end; background: #dcf8ef; border-color: #b9ecd9; }
.msg-meta { font-size: 10.5px; color: var(--muted); margin-bottom: 3px; }
.msg-text { font-size: 13.5px; white-space: pre-wrap; word-break: break-word; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; }
@media (max-width: 820px) {
  .chat-wrap { grid-template-columns: 1fr; height: auto; }
  .chat-list { max-height: 200px; }
  .chat-msgs { min-height: 300px; }
}

.msg { position: relative; }
.msg-actions { position: absolute; top: 3px; right: 6px; display: flex; gap: 2px; opacity: 0; }
.msg:hover .msg-actions { opacity: 1; }
.msg-del { border: 0; background: transparent; color: #8C8F98; font-size: 14px; line-height: 1; cursor: pointer; padding: 2px 4px; }
.msg-del:hover { color: var(--danger); }

.chat-attach { display: flex; align-items: center; justify-content: center; width: 42px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 18px; background: #fff; }
.chat-attach:hover { border-color: #DED7CF; }
.chat-preview { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid var(--line); background: #FFFFFF; }
.chat-preview img { max-height: 90px; max-width: 160px; border-radius: 8px; border: 1px solid var(--line); }
.chat-preview button { border: 0; background: transparent; color: var(--danger); font-size: 18px; cursor: pointer; }
.msg-img { display: block; max-width: 260px; max-height: 260px; border-radius: 8px; margin-bottom: 4px; }

.msg-status { font-size: 11px; text-align: right; margin-top: 2px; letter-spacing: -1px; }
.msg-status.sent { color: #8C8F98; }
.msg-status.delivered { color: #8C8F98; }
.msg-status.read { color: #C2410C; }
.msg-file { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 4px; font-size: 13px; color: var(--navy); text-decoration: none; max-width: 260px; }
.msg-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-file small { color: var(--muted); font-size: 11px; flex: none; }
.file-preview { font-size: 13px; color: var(--navy); }

.chat-del-actions { display: flex; flex-direction: column; gap: 8px; }
.chat-del-actions .btn { width: 100%; }
.ci-del { border: 0; background: transparent; color: #A9ABB3; font-size: 15px; cursor: pointer; padding: 2px 4px; flex: none; }
.ci-del:hover { color: var(--danger); }

/* ---------- tapşırıqlar: daxili scroll ---------- */
#view-tasks .table-wrap { max-height: 82vh; overflow-y: scroll; }
#view-tasks table.tasks thead th { position: sticky; top: 0; z-index: 2; }
#view-tasks .table-wrap::-webkit-scrollbar { width: 12px; }
#view-tasks .table-wrap::-webkit-scrollbar-track { background: #F5F1EB; border-radius: 8px; }
#view-tasks .table-wrap::-webkit-scrollbar-thumb { background: #DED7CF; border-radius: 8px; border: 3px solid #F5F1EB; }
#view-tasks .table-wrap::-webkit-scrollbar-thumb:hover { background: #B5AFA8; }
@media (max-width: 820px) {
  #view-tasks { height: auto; }
  #view-tasks .table-wrap { max-height: 60vh; }
}

/* ---------- mühasibatlıq: şirkət zolağı ---------- */
.org-strip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 12px; margin-bottom: 4px; }
.org-chip { flex: none; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; cursor: pointer; text-align: left; font: inherit; }
.org-chip:hover { border-color: #DED7CF; }
.org-chip.active { border-color: var(--teal); box-shadow: 0 0 0 2px rgba(255, 106, 0,.15); }
.org-chip .oc-name { font-size: 13.5px; font-weight: 700; color: var(--navy); display: block; margin-bottom: 4px; }
.org-chip .oc-row { font-size: 11.5px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.org-chip .oc-row b { color: var(--ink); font-weight: 600; }
.org-chip .oc-debt { color: var(--danger); font-weight: 700; }

.auth-card .brand-logo { height: 42px; max-width: 100%; object-fit: contain; }
.auth-card .brand-center { margin-bottom: 2px; }
.auth-card .brand-brandmark { border-left: 0; margin-left: 0; padding-left: 0; }
.auth-card .auth-tagline { text-align: center; padding-left: 0; margin: 0 0 6px; }
.auth-home { display: block; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); text-decoration: none; margin: 6px 0 10px; }
.auth-home:hover { color: var(--navy); }

/* TASK HUB — ana şirkət kartı */
.proto-card.org-platform { border-color: #f59e0b; background: linear-gradient(180deg, #fffaf1 0%, #fff 60%); }
.proto-card.org-platform h3 { color: #b45309; }

/* ---------- üzləşmə ---------- */
.recon-head { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 14px; }
.recon-head > div { display: flex; flex-direction: column; gap: 2px; }
.recon-sum { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.recon-sum > div { background: #FAF7F3; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; min-width: 118px; }
.recon-sum span { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.recon-sum b { font-size: 16px; color: var(--navy); }
.recon-lines { max-height: 46vh; overflow: auto; }
.recon-result { margin-top: 14px; font-size: 15px; }
.recon-result .due { color: var(--danger); }
.recon-result .ok { color: var(--ok); }
.recon-body { max-height: 70vh; overflow: auto; }

/* ---------- mobil ---------- */
@media (max-width: 820px) {
  .topbar { flex-wrap: wrap; padding: 10px 14px; gap: 10px; }
  .topbar .brand { flex: 1 1 auto; min-width: 0; }
  .topbar .tabs { order: 3; width: 100%; overflow-x: auto; }
  .topbar-right { gap: 6px; }
  .topbar-right .live { display: none; }
  .topbar .user-chip > span:not(.avatar) { display: none; }
  .topbar .brand-brandmark { height: 22px; }
  .content { padding: 16px 14px 48px; }
  .view-head { align-items: flex-start; gap: 10px; }
  .view-head h1 { font-size: 23px; }
  .view-head .cal-nav { flex-wrap: wrap; width: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 12px 14px; }
  .stat b { font-size: 20px; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-wrap table { min-width: 680px; }
  .subtabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .subtabs::-webkit-scrollbar { display: none; }
  .subtab { flex: none; }
  .toolbar { flex-wrap: wrap; }
  .toolbar .input, .toolbar .select { flex: 1 1 100%; min-width: 0; width: 100%; }
  .modal-card { width: calc(100vw - 20px); max-height: 92vh; overflow: auto; padding: 18px; }
  .modal-card.small { width: calc(100vw - 20px); }
  .task-form { grid-template-columns: 1fr; }
  .task-form .span2 { grid-column: auto; }
  .chat-wrap { grid-template-columns: 1fr; height: auto; }
  .chat-list { max-height: 240px; }
  .chat-pane { height: 62vh; min-height: 380px; }
  .org-strip { padding-bottom: 8px; }
  .org-chip { min-width: 170px; }
  .recon-sum > div { min-width: 100px; flex: 1 1 100px; }
  .jitsi-container { height: 62vh; min-height: 340px; border-radius: 10px; }
  .room-head h2 { font-size: 17px; }
  .auth-card { padding: 22px; }
  .auth-card .brand-logo { height: 34px; }
  .lp-header { padding: 14px 0; }
  .lp-header .brand-brandmark { height: 24px; }
  .hero { padding: 28px 0 40px; }
  .hero h1 { font-size: 30px; }
  .lead { font-size: 15.5px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
}

.recon-sign { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.recon-sign > div { min-width: 150px; display: flex; flex-direction: column; gap: 2px; }
.recon-sign span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.recon-sign b { font-size: 14px; color: var(--navy); }
.recon-sign small { font-size: 11px; color: var(--muted); }

/* ---------- şöbə lentləri və lövhə matrisi ---------- */
.dept-strip, .board-depts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 14px; }
.dept-strip .label, .board-depts .label { font-size: 12px; color: var(--muted); margin-right: 4px; }
.dept-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.dept-chip b { color: var(--navy); margin-left: 4px; font-weight: 700; }
.dept-chip:hover { border-color: #DED7CF; }
.dept-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.dept-chip.active b { color: #fff; }

.board-matrix { display: grid; grid-template-columns: 190px repeat(3, minmax(210px, 1fr)); gap: 10px; align-items: start; overflow-x: auto; padding-bottom: 8px; }
.bm-corner { position: sticky; left: 0; z-index: 2; background: #FAF7F3; }
.bm-head { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; display: flex; justify-content: space-between; gap: 8px; }
.bm-head span { color: var(--navy); }
.bm-person { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--navy); position: sticky; left: 0; z-index: 1; }
.bm-person small { margin-left: auto; color: var(--muted); font-weight: 700; }
.bm-cell { min-height: 64px; background: #FCFAF7; border: 1px dashed #E8E2DB; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.bm-cell.drag-over { border-color: var(--teal); background: #F1F4F8; }

/* ---------- MeetHub ---------- */
.room-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.room-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.room-card h3 { font-size: 15px; color: var(--navy); }
.room-card-actions { display: flex; gap: 8px; }
.room-recs { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.room-recs a { color: var(--teal-dark); text-decoration: none; }
.room-people { display: flex; flex-wrap: wrap; gap: 8px; max-height: 220px; overflow: auto; }
.room-person { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: 12.5px; cursor: pointer; }
.room-person input { margin: 0; }
.room-stage { display: flex; flex-direction: column; gap: 14px; }
.room-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.room-head h2 { font-size: 20px; color: var(--navy); }
.room-head-actions { display: flex; align-items: center; gap: 10px; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #e11d48; animation: recpulse 1s infinite; }
@keyframes recpulse { 50% { opacity: .3; } }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; background: #0b1622; border-radius: 14px; padding: 10px; min-height: 280px; }
.video-tile { position: relative; background: #000; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; }
.video-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-name { position: absolute; left: 8px; bottom: 8px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 999px; }
.room-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.room-controls .btn.off { opacity: .5; }
.room-recordings { display: flex; flex-direction: column; gap: 8px; }
.room-recordings h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rec-row { display: flex; gap: 12px; align-items: center; font-size: 13px; flex-wrap: wrap; }
.rec-row a { color: var(--teal-dark); text-decoration: none; font-weight: 600; }

/* Qeydiyyat: şirkət loqosu */
.reg-company { display: flex; align-items: center; gap: 10px; }
.reg-logo { width: 34px; height: 34px; border-radius: 8px; object-fit: contain; background: #FAF7F3; border: 1px solid var(--line); flex: none; }
.reg-logo-empty { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--muted); }

/* MeetHub dəvət bildirişi */
.invite-banner { position: fixed; right: 18px; bottom: 18px; z-index: 80; background: #25272D; color: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(37, 39, 45, .35); max-width: 340px; }
.invite-title { font-weight: 700; font-size: 14px; }
.invite-sub { font-size: 12.5px; opacity: .8; margin: 4px 0 10px; }
.invite-actions { display: flex; gap: 8px; }
.invite-banner .btn-ghost { color: #E8E2DB; }

/* MeetHub: Zoom tipli şəbəkə */
.video-grid[data-count="1"] { grid-template-columns: 1fr; }
.video-grid[data-count="2"] { grid-template-columns: 1fr 1fr; }
.video-grid[data-count="3"], .video-grid[data-count="4"] { grid-template-columns: 1fr 1fr; }
.video-grid[data-count="5"], .video-grid[data-count="6"] { grid-template-columns: repeat(3, 1fr); }
.video-state { position: absolute; top: 8px; right: 8px; background: rgba(225, 29, 72, .9); color: #fff; font-size: 10.5px; padding: 2px 7px; border-radius: 999px; }
.video-state:empty { display: none; }
.video-tile.spotlight { grid-column: 1 / -1; }

.warn-banner { grid-column: 1 / -1; background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; border-radius: 12px; padding: 12px 14px; font-size: 13px; margin-bottom: 4px; }
.warn-banner a { color: #9a3412; font-weight: 700; word-break: break-all; }

/* MeetHub: WhatsApp tipli zəng qəbulu */
.invite-banner { inset: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; background: rgba(37, 39, 45, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.call-card { background: #fff; color: var(--navy); border-radius: 18px; padding: 26px 24px; width: 100%; max-width: 340px; text-align: center; box-shadow: 0 24px 60px rgba(37, 39, 45, .35); }
.call-avatar { font-size: 34px; margin-bottom: 8px; }
.call-title { font-size: 15px; font-weight: 700; }
.call-sub { font-size: 12.5px; color: var(--muted); margin: 6px 0 18px; }
.call-actions { display: flex; gap: 10px; justify-content: center; }

/* MeetHub: Jitsi səhnəsi */
.jitsi-container { width: 100%; height: calc(100vh - 330px); min-height: 420px; border-radius: 14px; overflow: hidden; background: #0b1622; }
.jitsi-container iframe { width: 100%; height: 100%; border: 0; }

/* ---------- E-poçt (poçt qutusu) ---------- */
.mail-head-actions { display: flex; gap: 8px; }
.mail-wrap { display: grid; grid-template-columns: 210px minmax(300px, 400px) 1fr; gap: 14px; height: calc(100vh - 250px); min-height: 480px; align-items: stretch; }
.mail-side { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 3px; overflow: auto; }
.mail-folder { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 0; background: transparent; padding: 9px 10px; border-radius: 9px; font: inherit; font-size: 13.5px; color: var(--ink); cursor: pointer; text-align: left; width: 100%; }
.mail-folder:hover { background: #FAF7F3; }
.mail-folder.active { background: #E9EDF3; color: #25272D; font-weight: 700; }
.mail-folder b { font-size: 12px; color: var(--muted); font-weight: 700; }
.mail-folder.active b { color: var(--teal-dark); }
.mail-labels-title { margin: 10px 6px 4px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mail-labels { display: flex; flex-direction: column; gap: 2px; }
.mail-main { background: #fff; border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; overflow: hidden; min-height: 0; }
.mail-toolbar { display: flex; gap: 8px; padding: 10px; border-bottom: 1px solid var(--line); }
.mail-toolbar .input { flex: 1; min-width: 0; }
.mail-list { overflow: auto; flex: 1; min-height: 0; }
.mail-group { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 6px; background: #FCFAF7; border-bottom: 1px solid #F1ECE6; }
.mail-row { display: flex; gap: 10px; align-items: flex-start; width: 100%; border: 0; border-bottom: 1px solid #F1ECE6; background: #fff; text-align: left; padding: 10px 12px; cursor: pointer; font: inherit; }
.mail-row:hover { background: #f7fbfe; }
.mail-row.active { background: #EEF2F6; }
.mail-row.unread { background: #FFFFFF; }
.mr-ava { flex: none; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; letter-spacing: .02em; }
.mr-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mr-line1 { display: flex; align-items: center; gap: 6px; }
.mr-line1 b { font-size: 13px; color: var(--navy); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-ext { font-size: 9px; font-weight: 800; letter-spacing: .04em; color: #b45309; background: #fff5e6; border: 1px solid #f5d9a8; border-radius: 4px; padding: 1px 4px; flex: none; }
.mr-date { margin-left: auto; font-size: 11px; color: var(--muted); white-space: nowrap; flex: none; }
.mr-sub { font-size: 12.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-snip { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-row.unread .mr-sub { font-weight: 700; }
.mail-row.unread .mr-line1 b { font-weight: 800; }
.mail-read { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; overflow: auto; min-height: 0; }
.mail-read-head h2 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.mail-meta { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.mail-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.mail-body { font-size: 14px; line-height: 1.55; color: var(--ink); white-space: pre-wrap; word-break: break-word; }
.mail-att { margin-top: 14px; font-size: 13px; display: flex; gap: 10px; flex-wrap: wrap; }
.mail-empty { color: var(--muted); text-align: center; padding: 40px 12px; font-size: 13.5px; }
.mail-more { padding: 10px; text-align: center; }
.mail-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mail-form label { display: flex; flex-direction: column; gap: 5px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mail-form label.span2 { grid-column: span 2; }
.mail-form input, .mail-form textarea { font: inherit; font-size: 13.5px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
.mail-form textarea { resize: vertical; }

@media (max-width: 980px) {
  .mail-wrap { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .mail-side { flex-direction: row; overflow-x: auto; gap: 6px; padding: 8px; }
  .mail-labels-title, .mail-labels { display: none; }
  .mail-folder { width: auto; white-space: nowrap; }
  .mail-main { height: 46vh; min-height: 300px; }
  .mail-read { min-height: 260px; }
  .mail-form { grid-template-columns: 1fr; }
  .mail-form label.span2 { grid-column: auto; }
}

/* ---------- E-poçt: məktub yazma pəncərəsi (Outlook tipli) ---------- */
.composer { position: fixed; inset: 0; z-index: 400; background: rgba(37, 39, 45, .45); display: flex; align-items: stretch; justify-content: center; padding: 24px 16px; }
.composer.hidden { display: none; }
.cmp-card { width: min(980px, 100%); background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(37, 39, 45, .28); display: flex; flex-direction: column; overflow: hidden; }
.cmp-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: #FCFAF7; }
.cmp-send-wrap { position: relative; display: flex; }
.cmp-send-wrap .btn { border-radius: 999px; }
.cmp-caret { margin-left: 2px; padding: 0 9px; }
.cmp-menu { position: absolute; top: 42px; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(37, 39, 45, .18); padding: 6px; display: flex; flex-direction: column; min-width: 210px; z-index: 5; }
.cmp-menu button { border: 0; background: transparent; text-align: left; padding: 9px 10px; border-radius: 8px; font: inherit; font-size: 13.5px; cursor: pointer; color: var(--ink); }
.cmp-menu button:hover { background: #FAF7F3; }
.cmp-ico { border: 0; background: transparent; padding: 8px 10px; border-radius: 9px; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.cmp-ico:hover { background: #F4EFE9; color: var(--navy); }
.cmp-status { font-size: 12px; color: var(--muted); }
.cmp-fields { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.cmp-line { display: flex; align-items: center; gap: 10px; padding: 7px 16px; border-bottom: 1px solid #f1f6fa; }
.cmp-line span { width: 56px; flex: none; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cmp-line input { flex: 1; border: 0; outline: none; font: inherit; font-size: 13.5px; color: var(--ink); padding: 4px 0; }
.cmp-toolbar { display: flex; align-items: center; gap: 3px; padding: 6px 10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; position: relative; background: #fcfdff; }
.cmp-select { font: inherit; font-size: 12.5px; border: 1px solid var(--line); border-radius: 8px; padding: 5px 7px; background: #fff; color: var(--ink); max-width: 170px; }
#cmpFont { width: 150px; }
.cmp-size { width: 62px; }
.cmp-sep { width: 1px; height: 20px; background: var(--line); margin: 0 5px; }
.cmp-tool { border: 0; background: transparent; min-width: 30px; height: 30px; border-radius: 7px; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
.cmp-tool:hover { background: #F4EFE9; }
.cmp-color { font-weight: 800; border-bottom: 3px solid #c0392b; }
.cmp-palette { position: absolute; top: 44px; left: 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(37, 39, 45, .2); padding: 12px; z-index: 6; }
.cmp-swatches { display: grid; grid-template-columns: repeat(6, 22px); gap: 8px; }
.cmp-swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); cursor: pointer; padding: 0; }
.cmp-swatch:hover { transform: scale(1.12); }
.cmp-swatch.light { border-color: #DED7CF; }
.cmp-other { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.cmp-other input { width: 44px; height: 26px; border: 1px solid var(--line); border-radius: 6px; padding: 0; background: #fff; }
.cmp-body { flex: 1; min-height: 260px; padding: 16px; font-size: 14px; line-height: 1.55; color: var(--ink); outline: none; overflow: auto; }
.cmp-body:empty::before { content: attr(data-placeholder); color: #B5AFA8; }
.cmp-sign { margin-top: 14px; padding-top: 10px; border-top: 1px dashed #E8E2DB; color: var(--muted); font-size: 13px; }
.cmp-atts { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); background: #FFFFFF; }
.cmp-att { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: 12.5px; color: var(--navy); }
.cmp-att small { color: var(--muted); font-size: 11px; }
.cmp-att button { border: 0; background: transparent; color: var(--danger); font-size: 14px; cursor: pointer; line-height: 1; padding: 0 2px; }
.mail-ext-note { background: #fff7e8; border: 1px solid #f5d9a8; color: #92400e; border-radius: 10px; padding: 8px 12px; font-size: 12.5px; margin-bottom: 12px; }
@media (max-width: 820px) {
  .composer { padding: 0; }
  .cmp-card { border-radius: 0; height: 100%; }
  .cmp-palette { left: 8px; right: 8px; }
  .cmp-swatches { grid-template-columns: repeat(6, 1fr); }
  .cmp-swatch { width: 100%; height: 24px; border-radius: 6px; }
}

/* ---------- EmailHub: Outlook tipli quruluş ---------- */
#view-mail .view-head { margin-bottom: 10px; }
.mail-app { display: grid; grid-template-columns: 56px 232px minmax(320px, 420px) 1fr; gap: 10px; height: calc(100vh - 250px); min-height: 480px; align-items: stretch; }
.mail-rail { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.rail-btn { width: 38px; height: 38px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rail-btn:hover { background: #F4EFE9; color: var(--navy); }
.rail-btn.active { background: #EDF0F4; color: var(--teal-dark); }
.rail-plus { margin-top: auto; background: linear-gradient(135deg, #FB9A2E, #DF5203); color: #fff; font-size: 20px; }
.rail-plus:hover { background: linear-gradient(135deg, #EE7405, #D14803); color: #fff; }
.mail-side { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 2px; overflow: auto; }
.mail-side-title { font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 4px 8px; }
.mail-account-name { font-size: 13.5px; font-weight: 700; color: var(--navy); padding: 2px 8px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-folder .mf-ico { width: 16px; text-align: center; font-size: 13px; opacity: .85; }
.mail-side-foot { margin-top: auto; padding-top: 10px; }
.mail-side-foot .btn { width: 100%; }
.mail-toolbar { display: flex; align-items: center; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.mtool { border: 0; background: transparent; width: 32px; height: 32px; border-radius: 8px; font-size: 14px; color: var(--muted); cursor: pointer; }
.mtool:hover { background: #F4EFE9; color: var(--navy); }
.mail-toolbar .input { flex: 1; min-width: 0; margin-left: 4px; }

/* Oxuma paneli — Outlook üslubu */
.mail-read-head { border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 14px; }
.mrh-title { font-size: 19px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.mrh-actions { display: flex; gap: 4px; margin: 10px 0; }
.mrh-btn { border: 0; background: transparent; width: 32px; height: 32px; border-radius: 8px; font-size: 15px; color: var(--muted); cursor: pointer; }
.mrh-btn:hover { background: #F4EFE9; color: var(--navy); }
.mrh-btn.danger:hover { background: #fdeceb; color: var(--danger); }
.mrh-from { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.mrh-from .mr-ava { width: 42px; height: 42px; font-size: 15px; }
.mrh-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mrh-who b { font-size: 14px; color: var(--navy); }
.mrh-who .muted { font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
.mrh-fields { display: flex; flex-direction: column; gap: 3px; font-size: 12.5px; color: var(--ink); }
.mrh-fields span { display: inline-block; min-width: 48px; color: var(--muted); font-weight: 600; }
.mail-att .ma-title { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.ma-chip { display: inline-flex; align-items: center; gap: 6px; background: #f4f8fc; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font-size: 12.5px; color: var(--navy); margin: 0 6px 6px 0; }

/* Planlaşdırılmış göndərmə */
.cmp-schedule { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: #F7F9FB; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.cmp-schedule input { font: inherit; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; background: #fff; color: var(--ink); }

@media (max-width: 1100px) {
  .mail-app { grid-template-columns: 48px 200px 1fr; grid-template-rows: auto 1fr; height: auto; }
  .mail-rail { grid-row: span 2; }
  .mail-read { grid-column: 2 / -1; min-height: 260px; }
  .mail-main { min-height: 320px; }
}
@media (max-width: 820px) {
  .mail-app { grid-template-columns: 1fr; height: auto; }
  .mail-rail { flex-direction: row; grid-row: auto; justify-content: space-around; padding: 6px; }
  .rail-plus { margin-top: 0; }
  .mail-side { flex-direction: row; overflow-x: auto; align-items: center; }
  .mail-side-title, .mail-labels-title, .mail-labels, .mail-side-foot { display: none; }
  .mail-folder { width: auto; white-space: nowrap; }
  .mail-main { height: 44vh; min-height: 280px; }
  .mail-read { grid-column: auto; }
}

/* Qovluq sətri: ikon — ad — say */
.mail-folder { justify-content: flex-start; gap: 10px; color: var(--ink); }
.mail-folder > span:not(.mf-ico) { flex: 1; text-align: left; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail-folder > b { margin-left: auto; }
.cmp-schedule input[type="date"] { width: 160px; }
.cmp-schedule input[type="time"] { width: 110px; }
.rail-btn svg, .mtool svg, .mrh-btn svg { display: block; }
.mail-folder .mf-ico { display: inline-flex; width: 16px; justify-content: center; }

/* EmailHub: başlıq + Yeni Email düyməsi */
.mail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; flex-wrap: wrap; }
.mail-head h1 { font-size: 26px; color: var(--navy); line-height: 1.1; }
.mail-head-left p { margin-top: 2px; }
.mail-new { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 700; }

/* Panellərin ölçüsünü dəyişən ayırıcı */
.mail-app { grid-template-columns: 56px 232px var(--mlist, 380px) 8px 1fr; }
.mail-split { cursor: col-resize; border-radius: 6px; background: transparent; position: relative; }
.mail-split::after { content: ""; position: absolute; left: 3px; top: 12%; bottom: 12%; width: 2px; border-radius: 2px; background: var(--line); }
.mail-split:hover::after, .mail-split.dragging::after { background: var(--teal); width: 3px; }
body.mail-resizing { cursor: col-resize; user-select: none; }

@media (max-width: 1100px) {
  .mail-app { grid-template-columns: 48px 200px 1fr; }
  .mail-split { display: none; }
}
@media (max-width: 820px) {
  .mail-app { grid-template-columns: 1fr; }
}

/* ---------- TaskHub brandbook 2026 tətbiqi ---------- */
body { background: var(--bg); }
.btn { border-radius: 16px; }
.btn-primary { background: linear-gradient(135deg, #FB9A2E 0%, #F07C0A 55%, #DF5203 100%); color: #fff; font-weight: 700; }
.btn-primary:hover { background: linear-gradient(135deg, #F07F0C 0%, #E26604 55%, #D14803 100%); }
.btn-outline { border-color: #DED7CF; color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: #C9C0B6; }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { background: rgba(37, 39, 45, .06); }
.card, .panel, .stat, .proto-card, .room-card, .org-chip, .modal-card { border-radius: 20px; }
input, select, textarea, .input, .select { border-radius: 12px; }
h1, h2, h3 { letter-spacing: -0.02em; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.tab.active { color: #25272D; background: #E9EDF3; border-radius: 999px; font-weight: 700; }

.auth-card .brand-logo, .lp-header .brand-brandmark { filter: none; }

/* Brend: gradiyent yalnız vurğu elementlərində (mətn bloklarının arxasında yox) */
#landing::before { content: ""; display: block; height: 5px; background: var(--grad); }
.auth-card { position: relative; overflow: hidden; }
.auth-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad); }
.hero-visual .mock-card { border-radius: 24px; }
.hero-visual .mock-card::before { content: ""; display: block; height: 6px; margin: -18px -18px 14px; background: var(--grad); border-radius: 24px 24px 0 0; }
.hero-actions .btn-outline { border-color: #DED7CF; }

/* ---------- İclaslar: bloklarda iştirakçı və təsvir ---------- */
.meet-block { display: flex; flex-direction: column; gap: 1px; cursor: grab; }
.meet-block.dragging { opacity: .55; cursor: grabbing; }
.meet-block b { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meet-block .mb-meta { font-size: 10px; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meet-block .mb-people { font-size: 10px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meet-block .mb-note { font-size: 10px; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-style: italic; }
.week-col.drop { outline: 2px dashed var(--teal); outline-offset: -2px; background: #F1F4F8; }
body.meet-dragging { cursor: grabbing; user-select: none; }
.mu-main { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mu-people, .mu-note { color: var(--muted); font-size: 11.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mu-note { font-style: italic; }

/* Ana səhifə: modul ikonları — xətt üslubu, narıncı */
.feature-ico { width: 44px; height: 44px; border-radius: 12px; background: #FFF1E5; color: var(--teal); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.feature-ico svg { display: block; }
.feature h3 { margin-bottom: 6px; }

/* «Necə başlayır?» — 4 addım 2×2 */
#how .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { #how .steps { grid-template-columns: 1fr; } }

/* ---------- Bildirişlər (zəng) ---------- */
.notif-wrap { position: relative; }
.notif-btn { position: relative; width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: 12px; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.notif-btn:hover { border-color: #C9C0B6; background: #FAFBFD; }
.notif-badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--teal); color: #fff; font-size: 10.5px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.notif-panel { position: absolute; top: 48px; right: 0; width: 360px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgba(37, 39, 45, .16); z-index: 120; overflow: hidden; }
.notif-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.notif-head b { font-size: 14px; color: var(--navy); }
.notif-link { border: 0; background: transparent; color: var(--teal-dark); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; padding: 2px 4px; }
.notif-link:hover { text-decoration: underline; }
.notif-list { max-height: 420px; overflow: auto; }
.notif-item { display: flex; gap: 10px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #F1F4F8; background: #fff; padding: 11px 14px; cursor: pointer; font: inherit; position: relative; }
.notif-item:hover { background: #F7F9FC; }
.notif-item.unread { background: #FCFDFF; }
.notif-ico { flex: none; width: 32px; height: 32px; border-radius: 10px; background: #FFF1E5; color: var(--teal); display: flex; align-items: center; justify-content: center; }
.notif-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.notif-body b { font-size: 13px; color: var(--navy); font-weight: 600; }
.notif-body small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notif-body em { font-style: normal; font-size: 11px; color: #9AA1AC; margin-top: 2px; }
.notif-dot { position: absolute; right: 12px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.notif-empty { padding: 28px 14px; text-align: center; color: var(--muted); font-size: 13px; }
@media (max-width: 820px) { .notif-panel { position: fixed; top: 64px; right: 10px; left: 10px; width: auto; } }

/* ---------- NotHub ---------- */
#view-notes { height: calc(100vh - 130px); }
.notes-app { display: grid; grid-template-columns: 330px 1fr; gap: 12px; height: 100%; min-height: 480px; }
.notes-side { background: #fff; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; overflow: hidden; }
.notes-side-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; }
.notes-side-head h1 { font-size: 22px; color: var(--navy); }
.notes-new { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.notes-new:hover { filter: brightness(.95); }
.notes-search { margin: 0 12px 10px; }
.notes-list { flex: 1; overflow: auto; }
.notes-group { font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; padding: 10px 16px 6px; background: #FAFBFD; border-bottom: 1px solid #F1F4F8; }
.note-item { display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #F1F4F8; background: #fff; padding: 11px 16px; cursor: pointer; font: inherit; }
.note-item:hover { background: #FAFBFD; }
.note-item.active { background: #FFF3E6; }
.ni-title { font-size: 13.5px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.note-shared { font-size: 10.5px; font-weight: 600; color: var(--teal-dark); background: #FFF1E5; border-radius: 999px; padding: 1px 6px; }
.ni-meta { font-size: 11.5px; color: var(--muted); }
.ni-snip { font-size: 12px; color: #8C8F98; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notes-main { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; display: flex; flex-direction: column; overflow: hidden; }
.notes-empty { color: var(--muted); text-align: center; padding: 60px 12px; font-size: 13.5px; }
.note-head { border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 12px; }
.note-title { width: 100%; border: 0; outline: none; font: inherit; font-size: 22px; font-weight: 700; color: var(--navy); padding: 4px 0; }
.note-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.note-date { font-size: 12px; color: var(--muted); margin-right: auto; }
.note-tool { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 5px 9px; font: inherit; font-size: 12.5px; color: var(--ink); cursor: pointer; }
.note-tool:hover { background: #F4F7FB; }
.note-tool.danger { color: var(--danger); }
.note-body { flex: 1; overflow: auto; outline: none; font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.note-foot { font-size: 11.5px; color: var(--muted); padding-top: 8px; border-top: 1px solid #F1F4F8; }
@media (max-width: 900px) {
  #view-notes { height: auto; }
  .notes-app { grid-template-columns: 1fr; }
  .notes-side { max-height: 44vh; }
  .notes-main { min-height: 50vh; }
}

/* NotHub: aşağıda «Yadda saxla» */
.note-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid #F1F4F8; font-size: 11.5px; color: var(--muted); }
.note-foot .btn { padding: 8px 18px; border-radius: 12px; font-size: 13px; }

/* İclas: iştirak təsdiqi */
.rsvp-box { background: #FAFBFD; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.rsvp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.rsvp-head b { font-size: 13.5px; color: var(--navy); }
.rsvp-ask { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.rsvp-ask span { font-size: 12.5px; color: var(--muted); }
.rsvp-list { display: flex; flex-direction: column; gap: 3px; }
.rsvp-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--ink); padding: 3px 0; border-bottom: 1px dashed #EDF1F6; }
.rsvp-row em { font-style: normal; color: var(--muted); }
.rsvp-attend { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rsvp-attend b { font-size: 12.5px; color: var(--navy); margin-right: 6px; }

.rec-actions { margin-left: auto; display: flex; gap: 6px; }
.transcript-box { max-height: 60vh; overflow: auto; background: #FAFBFD; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 13.5px; line-height: 1.6; color: var(--ink); }

/* MeetHub kartında yazılış mətni */
.room-tr { margin-top: 6px; padding: 8px 10px; background: #FAFBFD; border: 1px solid var(--line); border-radius: 10px; }
.room-tr-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; color: var(--muted); line-height: 1.45; }
.room-tr-actions { display: flex; gap: 6px; margin-top: 6px; }
.room-tr-actions .btn { padding: 4px 10px; font-size: 12px; border-radius: 8px; }

/* 2FA — ikiaddımlı təsdiq */
.twofa-secret {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: 2px;
  background: #f4f6fa;
  border: 1px dashed #c9d2e0;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 8px 0;
  word-break: break-all;
  user-select: all;
}
