@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;450;500;550;600;650;700&family=Oswald:wght@500;600;700&display=swap');

:root {
  --bg: #f2e5ca;
  --surface: #fff8e8;
  --ink: #20201b;
  --muted: #716754;
  --line: #d4c5a8;
  --accent: #bf321f;
  --blue: #205f78;
  --blue-light: #e0e5d7;
  --honey: #dfa331;
  --honey-light: #f6e3b6;
  --green: #355b45;
  --green-light: #e2e7cd;
  --font: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
  --paper-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%234a3422' opacity='.075' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper-grain), var(--bg); color: var(--ink); font: 14px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; outline-offset: 4px; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
button:disabled { cursor: default; opacity: .6; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--blue); }
button:hover { filter: brightness(.96); }
svg.icon { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, p { margin: 0; }
h1 { font: 600 38px/1.15 var(--display); letter-spacing: -.5px; text-transform: uppercase; }
h2 { font-size: 18px; font-weight: 600; }
h3 { font-size: 15px; font-weight: 600; }
small { font-size: 12px; }
.skip { position: fixed; left: 20px; top: -60px; background: var(--ink); color: var(--surface); padding: 12px; z-index: 10; }
.skip:focus { top: 10px; }

.demo-bar { min-height: 33px; background: var(--ink); color: #eadbb9; font-size: 10px; display: flex; gap: 12px; align-items: center; justify-content: center; padding: 6px 20px; }
.demo-bar > span { display: flex; align-items: center; gap: 7px; }
.demo-bar button { font-size: 10px; padding: 0 0 0 12px; border-left: 1px solid #6c624f; color: #f5e8c8; }
.demo-dot { width: 6px; height: 6px; background: #eb8d36; transform: rotate(45deg); }
.app-shell { display: flex; max-width: 1440px; margin: auto; min-height: calc(100vh - 33px); }
.sidebar { width: 238px; flex: none; padding: 30px 22px 24px; display: flex; flex-direction: column; position: sticky; top: 0; height: calc(100vh - 33px); min-height: 640px; border-right: 1px solid #b7a88b; background: var(--paper-grain), #ecdfc1; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 0 30px; font: 600 32px/1.1 var(--display); text-transform: uppercase; }
.brand-mark { width: 58px; height: 58px; object-fit: contain; mix-blend-mode: multiply; clip-path: polygon(50% 3%, 89% 25%, 89% 75%, 50% 97%, 11% 75%, 11% 25%); flex: none; }
.brand-number { color: var(--accent); }
.brand small { display: block; margin-top: 7px; font: 400 9px/1.5 var(--font); text-transform: none; color: var(--muted); }
.nav-item { position: relative; display: flex; align-items: center; gap: 11px; padding: 13px 14px; margin-bottom: 7px; border-radius: 2px; font-size: 12px; font-weight: 550; color: #635a49; width: 100%; text-align: left; }
.nav-item.active { background: var(--accent); color: var(--surface); }
.nav-item.active::after { content: ''; position: absolute; right: 0; top: 0; width: 9px; height: 9px; background: var(--sidebar, #ecdfc1); clip-path: polygon(100% 0, 100% 100%, 0 0); }
.nav-item .counter { margin-left: auto; background: var(--ink); }
.counter { font-size: 10px; line-height: 20px; min-width: 20px; padding: 0 5px; text-align: center; border-radius: 2px; background: var(--accent); color: var(--surface); font-weight: 600; }
.sidebar-note { margin: auto 10px 28px; padding-top: 40px; color: #7d7059; }
.tiny-flower { font-size: 29px; color: var(--accent); }
.sidebar-note p { font: 500 19px/1.5 var(--display); margin-top: 8px; text-transform: uppercase; }
.identity { border-top: 2px solid var(--ink); padding: 16px 2px 0; }
.identity label { display: block; color: var(--muted); font-size: 10px; margin-bottom: 9px; }
.identity-select { display: flex; align-items: center; gap: 8px; }
.identity-select select { font-size: 11px; border: 0; min-width: 0; max-width: 145px; background: transparent; color: var(--ink); cursor: pointer; padding: 8px 0; }
.identity .text-button { margin: 10px 0 0 38px; font-size: 11px; }
.workspace { padding: 0 40px 50px; flex: 1; min-width: 0; }
.workspace-top { height: 83px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; }
.top-inbox { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 11px; }
.top-inbox .icon { width: 17px; height: 17px; }
.top-inbox .counter { min-width: 18px; line-height: 18px; font-size: 9px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 258px; gap: 35px; }
main { min-width: 0; }
main:focus { outline: none; }
.page-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin: 2px 0 26px; }
.page-heading p { color: var(--muted); font-size: 12px; margin-top: 10px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; background: var(--accent); color: #fff8e8; border: 1px solid var(--accent); border-radius: 3px; padding: 11px 16px; font-size: 12px; font-weight: 550; min-height: 41px; }
.button.secondary { color: var(--blue); border-color: #afbeb7; background: #e0e5d7; }
.button.ghost { background: transparent; border-color: #a99a7e; color: #65563f; }
.button.honey { background: var(--honey); border-color: var(--honey); color: #322819; }
.button.small { padding: 8px 12px; font-size: 11px; min-height: 35px; }
.button .icon { width: 15px; height: 15px; }
.text-button { font-size: 12px; color: var(--blue); padding: 0; }
.muted { color: var(--muted); }

.week-focus { position: relative; overflow: hidden; background: var(--paper-grain), #e9d8b2; padding: 21px 23px 0; margin-bottom: 26px; border: 2px solid var(--ink); border-radius: 2px; min-height: 192px; }
.week-focus::before { content: ''; position: absolute; width: 145px; height: 13px; transform: rotate(-38deg); right: -44px; top: 1px; background: var(--accent); }
.week-focus .focus-label { display: inline-flex; align-items: center; gap: 7px; font: 500 13px/1.4 var(--display); letter-spacing: .25px; text-transform: uppercase; background: var(--accent); color: var(--surface); padding: 5px 10px; position: relative; z-index: 1; }
.week-focus .focus-label .icon { width: 13px; height: 13px; }
.week-focus h2 { font: 600 31px/1.25 var(--display); text-transform: uppercase; letter-spacing: -.3px; max-width: calc(100% - 128px); margin: 14px 0 24px; position: relative; z-index: 1; }
.week-focus .focus-bottom { display: flex; align-items: center; gap: 12px; font-size: 10px; color: var(--surface); background: var(--ink); margin: 0 -23px; padding: 12px 21px; position: relative; z-index: 1; }
.avatar-stack { display: flex; padding-left: 0; }
.avatar-stack .avatar { margin-right: -6px; border: 2px solid var(--surface); width: 26px; height: 26px; font-size: 8px; }
.week-focus .avatar-stack .avatar { border-color: var(--ink); }
.focus-art { position: absolute; right: 11px; top: 23px; width: 136px; height: 136px; object-fit: contain; mix-blend-mode: multiply; clip-path: polygon(50% 3%, 89% 25%, 89% 75%, 50% 97%, 11% 75%, 11% 25%); }
.filter-row { display: flex; gap: 7px; margin: 0 0 22px; align-items: center; flex-wrap: wrap; }
.filter { border-radius: 2px; border: 1px solid transparent; padding: 7px 11px; font-size: 11px; color: #6a5e49; min-height: 34px; }
.filter.selected { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.filter-count { display: inline-block; margin-left: 5px; font-size: 10px; color: #94836a; }
.day-heading { display: flex; align-items: center; gap: 10px; margin: 23px 0 13px; font: 500 19px/1.4 var(--display); text-transform: uppercase; }
.day-heading small { color: var(--muted); font: 400 10px var(--font); text-transform: none; }
.day-heading::after { content: ''; height: 1px; background: #8c7d63; flex: 1; margin-left: 5px; }
.timeline-card { background: var(--surface); border: 1px solid #b9aa8b; border-left: 4px solid var(--blue); border-radius: 3px; margin: 0 0 15px; padding: 20px 20px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 2px; font-size: 10px; font-weight: 500; line-height: 1.35; }
.pill .icon { width: 12px; height: 12px; }
.pill.purple { background: #dce6df; color: var(--blue); }
.pill.green { background: var(--green-light); color: var(--green); }
.pill.honey { background: var(--honey-light); color: #725014; border-left: 2px solid var(--honey); }
.pill.neutral { background: #e9dfc8; color: #665b46; }
.pill.rose { background: #f1d6bd; color: #9c321e; }
.card-time { color: #827359; font-size: 10px; }
.timeline-card h3 { font-size: 16px; line-height: 1.5; margin-bottom: 8px; font-weight: 600; }
.timeline-card > p { font-size: 13px; line-height: 1.8; color: #645c4c; }
.card-bottom { border-top: 1px solid #dfd3b8; margin-top: 17px; padding-top: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.people-inline { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #786b53; flex-wrap: wrap; }
.avatar { width: 34px; height: 37px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 11px; font-weight: 600; }
.avatar.small { width: 26px; height: 28px; font-size: 8px; }
.avatar.large { width: 65px; height: 72px; font: 500 23px var(--display); }
.avatar.c0 { background: var(--accent); color: #fff1cf; }
.avatar.c1 { background: var(--ink); color: #f5e4bd; }
.avatar.c2 { background: var(--blue); color: #f9edce; }
.avatar.c3 { background: #dcaa4b; color: #3d2d18; }
.avatar.c4 { background: #286f87; color: #f9efd8; }
.avatar.c5 { background: #85745a; color: #fff5dd; }
.source-link { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--blue); padding: 3px 0; white-space: nowrap; }
.source-link .icon { width: 12px; height: 12px; }
.verified-note { font-size: 10px; color: #85765d; display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.verified-note .icon { width: 11px; height: 11px; }

.right-rail { padding-top: 4px; }
.rail-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 2px solid var(--ink); padding-bottom: 9px; }
.rail-heading h2 { font: 500 20px/1.2 var(--display); text-transform: uppercase; }
.rail-heading > span { font-size: 11px; color: #8a795b; }
.pending-card { padding: 19px; background: #ead7ad; border: 1px solid #b8a075; border-top: 5px solid var(--accent); border-radius: 2px; margin-bottom: 30px; position: relative; }
.pending-card .spark { display: flex; color: var(--accent); margin-bottom: 11px; }
.pending-card h3 { font: 500 23px/1.25 var(--display); text-transform: uppercase; margin-bottom: 9px; }
.pending-card p { font-size: 12px; line-height: 1.75; color: #706044; margin-bottom: 16px; }
.pending-card .text-button { color: var(--accent); font-size: 11px; display: flex; align-items: center; gap: 6px; font-weight: 550; }
.rail-task { padding: 14px 0; border-bottom: 1px solid #cdbd9c; display: flex; gap: 10px; text-align: left; width: 100%; }
.status-circle { width: 15px; height: 15px; border: 1.5px solid #a79778; border-radius: 50%; margin-top: 3px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.status-circle.in_progress { border-color: var(--blue); background: linear-gradient(90deg, var(--blue) 50%, transparent 50%); }
.status-circle.done { background: var(--green); border-color: var(--green); color: var(--surface); }
.status-circle.done .icon { width: 10px; height: 10px; }
.status-circle.need_help { border-color: var(--accent); background: #edc6ab; }
.rail-task h3 { font-size: 12px; line-height: 1.65; font-weight: 450; }
.rail-task p { font-size: 10px; color: #86775d; margin-top: 6px; }
.rail-members { margin-top: 29px; }
.member-line { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.member-line b { display: block; font-size: 12px; font-weight: 550; }
.member-line small { font-size: 10px; color: var(--muted); }
.rail-footer { font-size: 10px; color: #85765a; border-top: 1px solid #baa987; padding-top: 17px; margin-top: 28px; line-height: 1.8; }
.rail-footer button { font-size: 10px; color: var(--blue); padding: 8px 0; }

.search-wrap { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 3px; background: var(--surface); border: 1px solid #a9997c; margin-bottom: 20px; }
.search-wrap .icon { width: 17px; height: 17px; color: #81735b; }
.search-wrap input { width: 100%; border: 0; outline: 0; font-size: 13px; background: none; padding: 2px; color: var(--ink); }
.search-wrap:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.person-card { background: var(--surface); border: 1px solid #b9aa8b; border-top: 4px solid var(--ink); border-radius: 3px; text-align: left; padding: 20px; width: 100%; display: flex; flex-direction: column; align-items: start; }
.person-card:hover { border-color: var(--accent); }
.person-card .person-top { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.person-card h3 { font: 500 24px/1.3 var(--display); }
.person-card .nickname { font-size: 11px; color: #887558; margin-top: 3px; }
.person-card > p { font-size: 12px; line-height: 1.8; color: #6c604b; min-height: 40px; }
.person-card .person-meta { margin-top: auto; padding-top: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.people-footnote { font-size: 11px; line-height: 1.8; color: #827052; margin-top: 20px; }
.tasks-heading { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin: 24px 0 12px; border-bottom: 2px solid #b7a588; padding-bottom: 7px; }
.tasks-heading h2 { font: 500 20px/1.3 var(--display); text-transform: uppercase; }
.tasks-heading > span { color: #817054; font-size: 11px; }
.task-card { background: var(--surface); border: 1px solid #c0af8c; border-radius: 3px; margin-bottom: 11px; padding: 18px; display: flex; gap: 13px; cursor: pointer; }
.task-card:hover { border-color: var(--blue); }
.task-card:focus-visible { outline: 3px solid var(--blue); }
.task-main { flex: 1; min-width: 0; }
.task-main h3 { font-size: 14px; font-weight: 550; margin: 0 0 10px; }
.task-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 11px; color: #7d6a4f; }
.progress { height: 4px; border-radius: 0; background: #e2d6bc; overflow: hidden; max-width: 140px; margin: 14px 0 5px; }
.progress > span { display: block; height: 100%; background: var(--blue); }
.task-count { font-size: 10px; color: #817052; }
.task-owner { align-self: start; }

.inbox-intro { display: flex; gap: 11px; padding: 15px 16px; background: #e0e4d5; border-left: 3px solid var(--blue); border-radius: 2px; color: #536153; font-size: 12px; line-height: 1.75; margin-bottom: 24px; }
.inbox-intro .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
.proposal-card { background: var(--surface); border: 1px solid #b8a786; border-radius: 3px; padding: 21px; margin-bottom: 17px; }
.proposal-card h3 { font-size: 16px; line-height: 1.55; font-weight: 600; margin: 13px 0 10px; }
.proposal-card > p { font-size: 13px; color: #6b5d47; line-height: 1.85; }
.proposal-card .proposal-actions { display: flex; gap: 8px; align-items: center; border-top: 1px solid #ded0b1; margin-top: 18px; padding-top: 16px; flex-wrap: wrap; }
.proposal-actions .dismiss { font-size: 11px; color: #8b7457; margin-left: auto; padding: 8px 0; }
.proposal-reason { padding: 12px 13px; margin-top: 15px; background: #f2e7cc; border-radius: 2px; border-left: 2px solid var(--honey); font-size: 11px; color: #7b6747; line-height: 1.8; }
.proposal-for { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #7c694a; margin-top: 15px; }
.empty { text-align: center; padding: 65px 25px; background: var(--surface); border: 1px dashed #a9926a; border-radius: 3px; }
.empty-symbol { color: var(--accent); font-size: 34px; margin-bottom: 10px; }
.empty h2 { font: 500 27px var(--display); margin-bottom: 9px; text-transform: uppercase; }
.empty p { color: #86704f; font-size: 12px; max-width: 260px; margin: auto; }
.empty .button { margin-top: 20px; }
.mobile-header, .bottom-nav { display: none; }

dialog { border: 1px solid #8b7957; border-top: 5px solid var(--accent); padding: 0; border-radius: 4px; max-width: 560px; width: calc(100% - 36px); max-height: calc(100dvh - 60px); box-shadow: 0 20px 90px #29200e4a; background: var(--surface); color: var(--ink); }
dialog::backdrop { background: #29231077; backdrop-filter: blur(3px); }
.modal-body { padding: 28px; }
.modal-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.modal-top h2 { font: 500 29px/1.25 var(--display); text-transform: uppercase; }
.close-button { width: 34px; height: 34px; background: #e8dcc1; border: 1px solid #c6b38d; border-radius: 2px; display: flex; align-items: center; justify-content: center; flex: none; }
.close-button .icon { width: 17px; height: 17px; }
.profile-hero { display: flex; align-items: center; gap: 17px; margin: 5px 0 26px; }
.profile-hero h3 { font: 500 34px/1.3 var(--display); text-transform: uppercase; }
.profile-hero p { font-size: 12px; color: var(--muted); margin-top: 5px; }
.profile-field { padding: 17px 0; border-top: 1px solid #d8c8a9; }
.profile-field h3 { font: 500 17px/1.4 var(--display); color: var(--blue); margin-bottom: 8px; }
.profile-field p { font-size: 13px; line-height: 1.85; white-space: pre-line; }
.profile-field .button { margin-top: 12px; }
.profile-materials { display: flex; gap: 8px; margin-top: 12px; }
.material { background: var(--green-light); color: var(--green); border-radius: 2px; font-size: 11px; padding: 6px 9px; }
.material.unknown { background: #e8dfc8; color: #8b7858; }
.field { display: block; margin-bottom: 17px; }
.field > span { display: block; font-size: 12px; color: #6f5c3f; margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #bca882; border-radius: 3px; padding: 11px 12px; background: #fffdf5; color: var(--ink); font-size: 13px; min-height: 43px; }
.field textarea { resize: vertical; min-height: 84px; line-height: 1.75; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 11px; color: #857151; line-height: 1.8; margin: 10px 0 20px; }
.modal-actions { display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid #ccba96; padding-top: 21px; margin-top: 21px; }
.source-message { background: #ede0bf; padding: 14px 16px; border-radius: 2px; border-left: 3px solid var(--blue); margin-bottom: 13px; }
.source-message b { font-size: 12px; color: var(--blue); }
.source-message p { font-size: 13px; margin-top: 6px; color: #716044; line-height: 1.8; }
.check-item { display: flex; align-items: start; gap: 10px; padding: 10px 0; font-size: 13px; color: #6c593c; }
.check-item input { accent-color: var(--accent); margin-top: 3px; width: 17px; height: 17px; flex: none; }
.check-item:has(input:checked) > span { text-decoration: line-through; color: #8b7859; }
.checklist { margin: 10px 0 20px; }
.detail-desc { color: #746044; font-size: 13px; line-height: 1.85; margin-bottom: 18px; }
.notice { padding: 13px 14px; background: var(--honey-light); border-left: 3px solid var(--honey); border-radius: 2px; color: #795b24; font-size: 12px; line-height: 1.8; margin-bottom: 21px; }
#toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 15px); background: var(--ink); color: var(--surface); padding: 13px 19px; border-left: 4px solid var(--honey); box-shadow: 0 5px 25px #32260c26; border-radius: 2px; font-size: 12px; z-index: 5; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 28px); text-align: center; }
#toast.visible { opacity: 1; transform: translate(-50%, 0); }
.about-list { font-size: 13px; color: #756044; line-height: 1.8; padding-left: 20px; }
.about-list li { margin-bottom: 12px; }
.avatar-button { padding: 0; display: flex; }
.mobile-role-select { margin: 12px 0 20px; }
.mobile-role-select .button { width: 100%; margin-bottom: 8px; }

@media (min-width: 1400px) {
  .workspace { padding-left: 48px; padding-right: 48px; }
  .content-layout { gap: 44px; grid-template-columns: minmax(0, 1fr) 275px; }
}
@media (max-width: 1190px) {
  .sidebar { width: 215px; padding-left: 17px; padding-right: 17px; }
  .brand { font-size: 28px; }
  .brand-mark { width: 49px; height: 49px; }
  .workspace { padding-left: 27px; padding-right: 27px; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 225px; gap: 23px; }
  .focus-art { right: 2px; width: 113px; top: 38px; }
  .week-focus h2 { max-width: calc(100% - 95px); font-size: 28px; }
  .people-grid { grid-template-columns: 1fr; }
}
@media (max-width: 990px) {
  .right-rail { display: none; }
  .content-layout { display: block; }
  .sidebar { width: 220px; }
  .workspace { padding-left: 36px; padding-right: 36px; }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .focus-art { width: 137px; height: 137px; top: 25px; right: 17px; }
  .week-focus h2 { max-width: calc(100% - 127px); font-size: 32px; }
}
@media (max-width: 700px) {
  .demo-bar { min-height: 30px; font-size: 9px; padding: 5px 12px; justify-content: space-between; gap: 5px; }
  .demo-bar button { font-size: 9px; padding-left: 8px; }
  .sidebar { display: none; }
  .app-shell { display: block; min-height: calc(100dvh - 30px); }
  .workspace { padding: 0 19px 115px; }
  .mobile-header { height: 85px; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); margin-bottom: 24px; }
  .mobile-brand { display: flex; gap: 9px; align-items: center; }
  .mobile-brand img { width: 55px; height: 55px; mix-blend-mode: multiply; clip-path: polygon(50% 3%, 89% 25%, 89% 75%, 50% 97%, 11% 75%, 11% 25%); }
  .mobile-brand b { font: 600 29px/1.2 var(--display); text-transform: uppercase; }
  .workspace-top { display: none; }
  h1 { font-size: 33px; letter-spacing: -.3px; }
  .page-heading { margin-top: 0; margin-bottom: 23px; align-items: center; }
  .page-heading p { font-size: 12px; line-height: 1.75; margin-top: 8px; max-width: 295px; }
  .week-focus { padding: 18px 18px 0; min-height: 0; margin-bottom: 23px; }
  .week-focus .focus-label { font-size: 12px; padding: 5px 9px; }
  .week-focus h2 { font-size: 26px; max-width: calc(100% - 100px); line-height: 1.2; margin: 16px 0 23px; }
  .focus-art { width: 114px; height: 114px; right: 2px; top: 48px; }
  .week-focus .focus-bottom { margin-left: -18px; margin-right: -18px; padding: 11px 16px; font-size: 9px; gap: 10px; }
  .timeline-card { padding: 18px 16px; margin-bottom: 14px; border-left-width: 3px; }
  .timeline-card h3 { font-size: 15px; }
  .timeline-card > p { font-size: 13px; }
  .card-bottom { gap: 8px; }
  .source-link { font-size: 10px; }
  .people-inline { font-size: 10px; }
  .verified-note { font-size: 9px; }
  .bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 12px calc(11px + env(safe-area-inset-bottom)); border-top: 2px solid var(--ink); background: #f4e7cbed; backdrop-filter: blur(12px); z-index: 2; justify-content: space-around; }
  .bottom-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; color: #807053; position: relative; min-width: 65px; min-height: 45px; font: 500 12px/1.2 var(--display); text-transform: uppercase; padding: 0; }
  .bottom-item .icon { width: 22px; height: 22px; }
  .bottom-item.active { color: var(--accent); }
  .bottom-item .counter { position: absolute; right: 8px; top: -3px; font: 500 8px/15px var(--font); min-width: 15px; border: 2px solid var(--bg); box-sizing: content-box; }
  .bottom-item.active::before { content: ''; position: absolute; top: -12px; width: 28px; height: 4px; background: var(--accent); }
  .people-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .person-card { padding: 16px 13px; }
  .person-card .person-top { display: block; margin-bottom: 11px; }
  .person-card .person-top .avatar { margin-bottom: 10px; width: 40px; height: 44px; }
  .person-card h3 { font-size: 23px; }
  .person-card > p { font-size: 12px; line-height: 1.75; min-height: 52px; }
  .person-card .person-meta { gap: 5px; padding-top: 13px; }
  .person-card .pill { font-size: 10px; padding: 4px 6px; }
  .page-heading > .button { padding: 9px 11px; font-size: 11px; min-height: 37px; }
  .proposal-card { padding: 18px 16px; }
  .proposal-card .button { font-size: 12px; padding: 10px 12px; }
  .proposal-card .proposal-actions { gap: 6px; }
  .proposal-card > p { font-size: 13px; }
  .proposal-card .card-top { align-items: start; }
  .proposal-card .card-time { max-width: 75px; text-align: right; font-size: 9px; }
  .proposal-reason { font-size: 11px; }
  .inbox-intro { font-size: 12px; padding: 13px; }
  .filter { font-size: 10px; padding: 7px 10px; }
  .filter-row { gap: 4px; margin-bottom: 18px; }
  dialog { border-radius: 4px; width: calc(100% - 20px); max-height: calc(100dvh - 25px); }
  .modal-body { padding: 23px 20px; }
  .modal-top h2 { font-size: 26px; }
  .modal-actions .button { flex: 1; padding-left: 12px; padding-right: 12px; white-space: nowrap; }
  .profile-hero h3 { font-size: 30px; }
  .field-row { gap: 10px; }
  .field input, .field textarea, .field select { font-size: 13px; padding: 10px; }
  #toast { bottom: 94px; font-size: 11px; width: max-content; }
  .task-card { padding: 16px 13px; gap: 10px; }
  .task-main h3 { font-size: 13px; }
  .task-meta { font-size: 10px; gap: 7px; }
  .task-owner .avatar { width: 26px; height: 28px; font-size: 9px; }
}
@media (max-width: 370px) {
  .workspace { padding-left: 14px; padding-right: 14px; }
  h1 { font-size: 30px; }
  .week-focus h2 { font-size: 26px; }
  .focus-art { width: 100px; right: 0; top: 50px; }
  .people-grid { gap: 8px; }
  .person-card { padding: 14px 11px; }
  .field-row { grid-template-columns: 1fr; }
  .demo-bar, .demo-bar button { font-size: 8px; }
  .card-bottom { align-items: flex-start; }
  .card-top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
