:root {
  --ink: #183b4b;
  --ink-2: #285467;
  --muted: #79878b;
  --line: #e8e6df;
  --paper: #f7f5ef;
  --white: #fffefa;
  --gold: #c3a266;
  --gold-soft: #f3ead8;
  --teal-soft: #e8f0ef;
  --red: #b5574f;
  --red-soft: #f7e9e6;
  --green: #557b67;
  --green-soft: #e8f0ea;
  --shadow: 0 18px 55px rgba(24, 59, 75, .09);
  font-family: Calibri, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(195, 162, 102, .55); outline-offset: 2px; }
.serif { font-family: 'Times New Roman', Times, serif; font-weight: 500; letter-spacing: -.035em; }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.muted { color: var(--muted); }
.icon { width: 18px; height: 18px; display: inline-block; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.eyebrow, .category, .lane-count, .nav-count, .property-line { font-family: 'Arial Nova', Arial, sans-serif; }

/* Login */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 520px); background: var(--paper); }
.login-visual { min-height: 100vh; padding: 42px 5vw; color: var(--white); position: relative; overflow: hidden; background: linear-gradient(145deg, #173b4b, #1e5967 58%, #315962); display: flex; flex-direction: column; justify-content: space-between; }
.login-visual:before, .login-visual:after { content: ''; position: absolute; border: 1px solid rgba(224, 203, 158, .32); border-radius: 50%; width: 56vw; height: 56vw; right: -18vw; top: 8%; }
.login-visual:after { width: 42vw; height: 42vw; right: -11vw; top: 18%; border-color: rgba(255,255,255,.12); }
.login-brand, .login-quote, .login-caption { position: relative; z-index: 1; }
.brand-lockup { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.brand-logo { display: block; width: 82px; height: 66px; object-fit: contain; object-position: left center; }
.login-visual .brand-lockup { background: var(--white); border-radius: 3px; padding: 5px 9px; }
.login-visual .brand-logo { width: 68px; height: 56px; }
.login-quote { max-width: 710px; margin: auto 0; padding: 70px 0; }
.login-quote .eyebrow { color: #d8bd83; }
.login-quote h1 { max-width: 680px; margin: 22px 0; font-size: clamp(44px, 6vw, 84px); line-height: .98; color: #fffefa; }
.login-quote p { color: rgba(255,255,255,.72); max-width: 420px; line-height: 1.7; font-size: 15px; }
.login-caption { color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .08em; }
.login-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 72px); background: var(--white); }
.login-panel .brand-lockup { color: var(--ink); margin-bottom: 54px; }
.login-panel h2 { font-size: 36px; line-height: 1.1; margin: 0 0 10px; }
.login-panel .intro { margin: 0 0 32px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.field { display: grid; gap: 8px; margin: 16px 0; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.field-help { color: var(--muted); font-size: 11px; line-height: 1.4; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #deded7; border-radius: 9px; padding: 12px 13px; color: var(--ink); background: white; }
.field textarea { min-height: 92px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a7ada9; }
.login-error { color: var(--red); min-height: 18px; font-size: 12px; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--ink); background: var(--ink); color: white; border-radius: 8px; padding: 12px 17px; font-size: 13px; font-weight: 600; transition: .18s ease; }
.btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); transform: translateY(-1px); }
.btn-primary.full { width: 100%; margin-top: 6px; }
.demo-note { margin-top: 30px; padding: 15px; border-radius: 9px; background: var(--paper); color: #67767a; font-size: 11px; line-height: 1.55; }
.demo-note strong { display: block; color: var(--ink-2); margin-bottom: 4px; }

/* App shell */
.shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; background: var(--white); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 28px 18px 18px; z-index: 10; }
.sidebar .brand-lockup { color: var(--ink); padding: 0 10px 28px; }
.sidebar .brand-logo { width: 73px; height: 61px; }
.workspace-tag { margin: 0 9px 24px; padding: 10px 12px; border-radius: 8px; background: var(--paper); color: var(--muted); font-size: 11px; }
.workspace-tag strong { display: block; color: var(--ink-2); font-size: 12px; margin-bottom: 2px; }
.workspace-dot { float: right; color: var(--gold); }
.nav-label { margin: 0 10px 8px; color: #a3aaa7; font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.nav-list { display: grid; gap: 4px; }
.type-list { max-height: min(44vh, 430px); overflow-y: auto; padding: 0 2px 8px 0; }
.task-type-section { margin-top: auto; min-height: 0; display: flex; flex-direction: column; }
.sidebar.has-task-types .sidebar-bottom { margin-top: 12px; }
.type-item { font-size: 10px; gap: 8px; padding: 9px 9px; line-height: 1.25; }
.type-item .nav-count { flex: 0 0 auto; }
.type-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; background: #b69461; }
.type-item:nth-child(3n) .type-dot { background: #648b83; }
.type-item:nth-child(4n) .type-dot { background: #c0785c; }
.board-nav-label { margin-top: 12px; }
.nav-item { border: 0; width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 8px; color: #68797d; background: transparent; font-size: 12px; font-weight: 500; }
.nav-item:hover { background: #f7f5ef; color: var(--ink); }
.nav-item.active { color: var(--ink); background: var(--teal-soft); font-weight: 700; }
.nav-item .nav-count { margin-left: auto; color: var(--muted); font-size: 10px; }
.sidebar-bottom { margin-top: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.user-card { display: flex; align-items: center; gap: 10px; padding: 10px 8px; }
.avatar { display: inline-grid; place-items: center; border-radius: 50%; flex: 0 0 auto; color: var(--ink); background: #e4d6b6; font-size: 10px; font-weight: 700; width: 34px; height: 34px; }
.avatar.alt { background: #d9e8e7; }
.user-meta { min-width: 0; flex: 1; }
.user-meta strong { display: block; color: var(--ink); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-meta span { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; text-transform: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logout { border: 0; background: transparent; color: var(--muted); padding: 6px; }
.main { min-width: 0; padding: 30px clamp(20px, 3.2vw, 52px) 48px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.crumb { color: var(--muted); font-size: 11px; }
.crumb strong { color: var(--ink); font-weight: 600; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--ink-2); position: relative; }
.icon-btn:hover { background: var(--paper); }
.notification-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); position: absolute; top: 7px; right: 7px; border: 1px solid white; }
.date-label { color: var(--muted); font-size: 11px; margin-right: 8px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.page-heading h1 { font-size: clamp(34px, 3vw, 46px); margin: 7px 0 7px; line-height: 1.05; }
.page-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.heading-actions { display: flex; align-items: center; gap: 9px; }
.btn-secondary { border: 1px solid var(--line); background: var(--white); color: var(--ink-2); border-radius: 8px; padding: 10px 13px; font-size: 11px; font-weight: 600; }
.btn-secondary:hover { border-color: #c8c9c1; background: white; }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 24px 0 27px; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: 11px; padding: 15px 17px; position: relative; overflow: hidden; }
.stat:after { content: ''; position: absolute; width: 4px; left: 0; top: 14px; bottom: 14px; border-radius: 3px; background: var(--gold); }
.stat:nth-child(2):after { background: #7da6a7; }
.stat:nth-child(3):after { background: #d38a61; }
.stat:nth-child(4):after { background: #73957a; }
.stat:nth-child(5):after { background: #b5574f; }
.stat-label { color: var(--muted); font-size: 10px; font-weight: 600; }
.stat-line { display: flex; justify-content: space-between; align-items: baseline; margin-top: 7px; }
.stat-value { font-size: 26px; font-weight: 600; letter-spacing: -.04em; }
.stat-foot { font-size: 9px; color: #99a09d; }
.personal-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin: 24px 0; }
.personal-stat { position: relative; display: grid; gap: 7px; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.personal-stat:before { content: ''; position: absolute; top: 15px; bottom: 15px; left: 0; width: 4px; border-radius: 4px; background: var(--gold); }
.personal-stat:nth-child(2):before { background: #b5574f; }
.personal-stat:nth-child(3):before { background: #7da6a7; }
.personal-stat span { color: var(--muted); font-size: 11px; font-weight: 600; }
.personal-stat strong { color: var(--ink); font-size: 32px; line-height: 1; }
.personal-stat small { color: #99a09d; font-size: 10px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.dashboard-panel { min-width: 0; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 11px; }
.mention-panel { grid-column: span 2; }
.panel-heading, .gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 13px; }
.panel-heading h2, .gallery-heading h2, .photo-intro h2 { margin: 4px 0 0; color: var(--ink); font-size: 20px; font-family: 'Times New Roman', Times, serif; font-weight: 500; }
.panel-count { padding: 5px 8px; border-radius: 12px; background: var(--teal-soft); color: var(--ink-2); font-size: 9px; white-space: nowrap; }
.text-button { border: 0; background: transparent; color: #53797b; font-size: 10px; font-weight: 700; }
.dashboard-task { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 2px; text-align: left; color: var(--ink); background: transparent; border: 0; border-top: 1px solid #f0efe9; }
.dashboard-task:hover, .feed-item:hover { background: #faf9f5; }
.dashboard-task strong, .dashboard-task small { display: block; }
.dashboard-task strong { font-size: 11px; font-weight: 650; }
.dashboard-task small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.dashboard-task-meta { flex: 0 0 auto; color: #59797b; font-size: 9px; text-align: right; }
.dashboard-task-meta small { color: var(--muted); }
.feed-item { width: 100%; display: flex; align-items: flex-start; gap: 10px; padding: 11px 7px; text-align: left; border: 0; border-top: 1px solid #f0efe9; background: transparent; color: var(--ink); cursor: pointer; }
.feed-item.unread { background: #fbf9f3; }
.feed-marker, .mention-at { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; color: #97783f; background: var(--gold-soft); }
.feed-marker .icon { width: 15px; height: 15px; }
.mention-at { font-size: 14px; font-weight: 700; color: #547a7c; background: var(--teal-soft); }
.feed-item > span:last-child { min-width: 0; }
.feed-item strong, .feed-item small, .feed-item em { display: block; }
.feed-item strong { font-size: 10px; }
.feed-item small { margin-top: 4px; color: #6f7e80; font-size: 9px; line-height: 1.45; }
.feed-item em { margin-top: 4px; color: #a0a7a2; font-size: 8px; font-style: normal; }
.empty-message { color: var(--muted); font-size: 10px; line-height: 1.6; }
.photos-view { display: grid; gap: 21px; }
.photo-intro { padding: 18px 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.photo-intro p { max-width: 700px; margin: 9px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.photo-uploader { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.photo-uploader > label:first-child { color: var(--ink-2); font-size: 11px; font-weight: 700; }
.photo-uploader select { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); font: inherit; font-size: 11px; }
.photo-drop { display: grid; justify-items: center; gap: 7px; padding: 25px 15px; border: 1px dashed #c9c6b9; border-radius: 9px; background: #fbfaf6; color: var(--ink-2); cursor: pointer; text-align: center; }
.photo-drop.dragging { border-color: #6f9996; background: var(--teal-soft); }
.photo-drop strong { font-size: 12px; }
.photo-drop small { color: var(--muted); font-size: 9px; }
.photo-drop input { display: none; }
.upload-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-soft); color: #547d7e; font-size: 19px; }
.gallery-heading { margin: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.photo-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.photo-card > a { display: block; background: #f1f0eb; }
.photo-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.preview-open { display: none; }
.photo-card > a.preview-unavailable, .drive-media-item.preview-unavailable { display: grid; min-height: 125px; place-content: center; justify-items: center; gap: 7px; padding: 12px; color: #527a7b; font-size: 10px; text-align: center; }
.photo-card > a.preview-unavailable .preview-open { display: inline; }
.drive-media-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.drive-media-item { display: grid; width: min(220px, 100%); gap: 6px; color: #527a7b; font-size: 10px; text-decoration: none; }
.drive-media-preview { display: block; width: 100%; max-height: 165px; object-fit: cover; border: 1px solid var(--line); border-radius: 7px; background: #f1f0eb; }
.drive-file-link { margin: 12px 10px 0 0; }
.team-view { display: grid; gap: 18px; }
.team-view .photo-intro h2, .team-view .gallery-heading h2 { margin: 6px 0; color: var(--ink-2); font-family: var(--serif); font-size: 22px; }
.team-view .photo-uploader input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); font: inherit; font-size: 11px; }
.team-list { display: grid; gap: 8px; }
.team-user { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.team-user strong, .team-user small { display: block; }
.team-user strong { font-size: 11px; color: var(--ink-2); }
.team-user small { margin-top: 4px; font-size: 10px; color: var(--muted); }
.photo-caption { display: grid; gap: 5px; padding: 10px; }
.photo-caption strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); font-size: 10px; }
.photo-caption small { color: var(--muted); font-size: 8px; }
.photo-caption a { color: #53797b; font-size: 9px; text-decoration: none; }
.photo-empty { display: grid; justify-items: center; gap: 7px; padding: 38px 15px; border: 1px dashed var(--line); border-radius: 11px; background: rgba(255,255,255,.45); text-align: center; color: var(--ink-2); }
.photo-empty > span { font-size: 24px; color: #789392; }
.photo-empty strong { font-size: 12px; }
.photo-empty p { margin: 0; color: var(--muted); font-size: 10px; }
.board-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.filters { display: flex; gap: 8px; align-items: center; min-width: 0; }
.search-box { display: flex; align-items: center; gap: 8px; padding: 0 11px; height: 36px; min-width: 230px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: #93a09e; }
.search-box input { border: 0; outline: none; background: transparent; width: 100%; font-size: 10px; color: var(--ink); }
.select-filter { height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); padding: 0 10px; color: var(--ink-2); font-size: 10px; }
.board-hint { color: #a2aaa6; font-size: 9px; white-space: nowrap; }
.board { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; align-items: start; overflow-x: auto; padding-bottom: 13px; }
.lane { min-height: 380px; background: #f0eee8; border-radius: 11px; padding: 10px; }
.lane-head { display: flex; align-items: center; justify-content: space-between; padding: 5px 4px 12px; }
.lane-title { display: flex; gap: 8px; align-items: center; color: #4c626a; font-size: 11px; font-weight: 700; }
.lane-dot { width: 7px; height: 7px; background: #b7a276; border-radius: 50%; }
.lane[data-status="In Progress"] .lane-dot { background: #609294; }
.lane[data-status="Review"] .lane-dot { background: #d38a61; }
.lane[data-status="Done"] .lane-dot { background: #73957a; }
.lane-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 6px; background: rgba(255,255,255,.72); font-size: 9px; color: var(--muted); }
.lane-list { display: grid; gap: 9px; }
.task-card { background: var(--white); border: 1px solid #e8e6df; border-radius: 9px; padding: 12px; box-shadow: 0 2px 7px rgba(24,59,75,.025); cursor: pointer; transition: .16s ease; }
.task-card:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(24,59,75,.09); border-color: #d8d2c4; }
.task-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.category { color: #78868a; font-size: 9px; font-weight: 600; }
.priority { border-radius: 5px; padding: 4px 6px; font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.priority.Urgent { color: var(--red); background: var(--red-soft); }
.priority.High { color: #a66e31; background: #f7eedc; }
.priority.Normal { color: #557b7e; background: var(--teal-soft); }
.priority.Low { color: #768178; background: #edf0ea; }
.task-card h3 { margin: 0 0 9px; font-size: 12px; line-height: 1.42; font-weight: 600; letter-spacing: -.01em; color: #203f4b; }
.property-line { display: flex; align-items: flex-start; gap: 5px; color: #78878a; font-size: 9px; line-height: 1.4; margin-bottom: 9px; }
.property-line .icon { width: 13px; height: 13px; flex: 0 0 13px; }
.task-summary { color: #7f8988; font-size: 9px; line-height: 1.55; margin: 0 0 12px; }
.task-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #f0efe9; padding-top: 9px; }
.assignee { display: flex; align-items: center; gap: 6px; color: #6e7d80; font-size: 9px; }
.assignee .avatar { width: 22px; height: 22px; font-size: 8px; }
.due { font-size: 8px; color: #899392; }
.due.late { color: var(--red); font-weight: 700; }
.empty-lane { padding: 24px 8px; text-align: center; color: #a0a8a4; font-size: 10px; }

/* Dialogs and notifications */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(15,35,44,.42); display: grid; place-items: center; padding: 18px; backdrop-filter: blur(3px); }
.dialog { background: var(--white); width: min(560px, 100%); max-height: min(88vh, 760px); overflow-y: auto; border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.dialog-head h2 { margin: 5px 0 0; font-size: 27px; line-height: 1.1; }
.close-btn { border: 0; background: var(--paper); color: var(--muted); border-radius: 7px; width: 31px; height: 31px; font-size: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 13px; }
.form-grid .span-2 { grid-column: span 2; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.detail-summary { padding: 15px; background: var(--paper); border-radius: 9px; color: #617176; line-height: 1.65; font-size: 12px; }
.detail-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 12px 1px; font-size: 11px; }
.detail-row span { color: var(--muted); }
.detail-row strong { font-weight: 600; text-align: right; }
.detail-row a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.task-share { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 8px; margin: 15px 0; color: var(--muted); font-size: 10px; }
.task-share input { min-width: 0; border: 1px solid var(--line); padding: 9px; border-radius: 7px; color: var(--ink-2); font-size: 10px; }
.attachments, .comments { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.attachments h3, .comments h3 { margin: 0 0 10px; color: var(--ink-2); font-size: 12px; }
.upload-button { display: inline-flex; padding: 8px 11px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; font-size: 10px; color: var(--ink-2); }
.upload-button input { display: none; }
.attachment-link { display: inline-block; margin-left: 9px; color: #527a7b; font-size: 10px; }
.comment { border-bottom: 1px solid #f1f0eb; padding: 9px 0; }
.comment strong { font-size: 10px; }
.comment p { margin: 4px 0; color: var(--ink-2); font-size: 11px; white-space: pre-wrap; }
.comment small, .muted { color: var(--muted); font-size: 9px; }
.comments textarea { display: block; width: 100%; min-height: 66px; resize: vertical; padding: 10px; margin: 10px 0 7px; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: 11px; }
.comment-compose { position: relative; }
.mention-suggestions { position: absolute; z-index: 8; left: 8px; bottom: calc(100% - 4px); width: min(310px, calc(100% - 16px)); max-height: 210px; overflow-y: auto; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: var(--shadow); }
.mention-suggestions[hidden] { display: none; }
.mention-suggestions button { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 9px 10px; text-align: left; border: 0; border-radius: 5px; background: transparent; color: var(--ink); cursor: pointer; }
.mention-suggestions button[aria-selected="true"], .mention-suggestions button:hover { background: var(--teal-soft); }
.mention-suggestions button strong { font-size: 11px; }
.mention-suggestions button small, .mention-suggestions p { color: var(--muted); font-size: 10px; }
.mention-suggestions p { padding: 4px 8px; }
.comment-hint { display: block; margin: 0 0 8px; color: var(--muted); font-size: 9px; }
.notification-pop { position: fixed; z-index: 45; top: 78px; right: 30px; width: min(340px, calc(100vw - 28px)); background: var(--white); border: 1px solid var(--line); border-radius: 11px; box-shadow: var(--shadow); padding: 14px; }
.notification-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; padding: 2px 2px 11px; border-bottom: 1px solid var(--line); }
.enable-alerts { margin-top: 10px; width: 100%; }
.notification-item { display: flex; gap: 10px; padding: 11px 4px; border-bottom: 1px solid #f1f0eb; cursor: pointer; }
.notification-item:last-child { border-bottom: 0; }
.notification-item.unread { background: #faf8f2; margin: 0 -6px; padding-left: 10px; padding-right: 10px; border-radius: 7px; }
.notification-icon { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 8px; background: var(--gold-soft); color: #97783f; }
.notification-text strong { display: block; font-size: 10px; margin: 1px 0 4px; }
.notification-text span { display: block; color: var(--muted); font-size: 9px; line-height: 1.45; }
.notification-text small { display: block; margin-top: 5px; color: #a3aaa7; font-size: 8px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 80; background: var(--ink); color: white; border-radius: 8px; padding: 11px 16px; font-size: 11px; box-shadow: var(--shadow); }
.role-banner { margin: -8px 0 17px; color: #87918f; font-size: 9px; }
.role-banner strong { color: var(--ink-2); }

@media (max-width: 1050px) {
  .shell { grid-template-columns: 210px minmax(0,1fr); }
  .sidebar { padding-left: 12px; padding-right: 12px; }
  .main { padding-left: 24px; padding-right: 24px; }
  .board { grid-template-columns: repeat(4, minmax(210px,1fr)); }
}
@media (max-width: 760px) {
  .login-wrap { grid-template-columns: 1fr; }
  .login-visual { min-height: 260px; padding: 24px; }
  .login-visual:before { width: 440px; height: 440px; right: -210px; top: -70px; }
  .login-visual:after { display: none; }
  .login-quote { padding: 28px 0 10px; }
  .login-quote h1 { font-size: 44px; }
  .login-caption { display: none; }
  .login-panel { padding: 32px 25px 42px; }
  .login-panel .brand-lockup { display: none; }
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; bottom: 0; top: auto; height: auto; width: 100%; padding: 7px 9px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); border-right: 0; }
  .sidebar .brand-lockup, .workspace-tag, .nav-label, .sidebar-bottom { display: none; }
  .type-list { display: flex; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 0 0 5px; }
  .type-item { flex: 0 0 auto; width: auto; white-space: nowrap; padding: 7px 9px; }
  .nav-list:not(.type-list) { display: flex; justify-content: space-around; gap: 2px; }
  .nav-item { justify-content: center; display: grid; gap: 3px; text-align: center; padding: 7px 5px; font-size: 8px; flex: 1; }
  .nav-item .icon { margin: auto; }
  .nav-item .nav-count { display: none; }
  .main { padding: 20px 15px 154px; }
  .topbar { margin-bottom: 25px; }
  .date-label { display: none; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .page-heading h1 { font-size: 38px; }
  .stats, .personal-stats { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .stat { padding: 13px 14px; }
  .stat-value { font-size: 23px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .mention-panel { grid-column: auto; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .board-toolbar { align-items: flex-start; flex-direction: column; }
  .filters { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .search-box { min-width: 185px; }
  .board { grid-template-columns: repeat(4, minmax(255px, 78vw)); margin-right: -15px; padding-right: 15px; }
  .notification-pop { top: 68px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }
