/* DEX — paper, ink, vermilion. No remote fonts or runtime dependencies. */
:root {
  color-scheme: light;
  --bg: #f5f3ed;
  --panel: #fffefa;
  --raised: #eeece5;
  --text: #272821;
  --muted: #727369;
  --border: #dcdcd2;
  --accent: #b83e23;
  --danger: #aa3026;
  --radius: 5px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, [tabindex] { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); }
button, a { touch-action: manipulation; }
button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; cursor: pointer; border: 1px solid var(--border); border-radius: 4px; padding: 10px 15px; background: var(--panel); color: var(--text); transition: background .15s, border-color .15s; font-weight: 500; }
button:hover { background: var(--raised); border-color: #b8b9ad; }
button:disabled { opacity: .5; cursor: wait; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fffaf4; font-weight: 600; }
button.primary:hover { background: #9c331c; border-color: #9c331c; }
button.quiet { background: transparent; border-color: transparent; }
button.quiet:hover { background: var(--raised); }
button.danger { color: var(--danger); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.06; letter-spacing: -2px; overflow-wrap: anywhere; }
h2 { font-size: 20px; font-weight: 500; letter-spacing: -.6px; line-height: 1.25; }
h3 { font-size: 14px; font-weight: 600; }
small, .muted { color: var(--muted); }
.icon { width: 19px; height: 19px; flex: 0 0 auto; }
.shell { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { position: sticky; top: 0; height: 100dvh; padding: 35px 18px 18px; display: flex; flex-direction: column; background: #242720; color: #eeeee4; z-index: 5; }
.brand { display: flex; align-items: center; gap: 13px; margin: 0 15px 38px; color: inherit; font-weight: 750; font-size: 30px; letter-spacing: -1.7px; line-height: 1; width: fit-content; }
.brand:hover { text-decoration: none; }
.brand-period { color: #f37855; }
.brandmark { width: 27px; height: 29px; display: flex; align-items: center; gap: 3px; transform: skewY(-20deg); }
.brandmark i { width: 6px; height: 21px; background: #e87551; display: block; }
.brandmark i:nth-child(2) { height: 29px; }
.sidebar-label { color: #a3a79a; font: 9px var(--mono); letter-spacing: 1.5px; margin: 0 14px 14px; }
.nav { display: grid; gap: 3px; }
.nav a { position: relative; display: flex; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 4px; color: #bfc2b6; font-size: 13px; }
.nav a:hover { text-decoration: none; background: #30342c; color: #fffef5; }
.nav a.active { background: #3b4035; color: #fffef5; }
.nav a.active::before { content: ""; position: absolute; left: -18px; width: 3px; height: 20px; background: #ed7956; }
.nav-count { margin-left: auto; color: #ddded2; font: 10px var(--mono); border: 1px solid #5a6050; padding: 1px 5px; border-radius: 3px; }
.project-label { display: flex; justify-content: space-between; align-items: center; margin-top: 35px; margin-bottom: 8px; }
.sidebar-add { color: #bfc2b6; font-size: 19px; padding: 0 6px; }
.sidebar .quiet:hover { background: #3b4035; color: #fffef5; }
.pinned { display: grid; gap: 4px; }
.pinned a { padding: 8px 14px; font-size: 12px; color: #c7cabe; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 6px; height: 6px; border: 1px solid currentColor; border-radius: 50%; display: inline-block; margin-right: 9px; flex: 0 0 auto; }
.pinned .dot { color: #d59573; }
.sidebar-empty { padding: 6px 14px; color: #9da391; font-size: 12px; line-height: 1.8; }
.sidebar-bottom { margin-top: auto; padding: 40px 14px 28px; font-size: 12px; line-height: 1.8; color: #d0d3c5; }
.sidebar-bottom p span { color: #959d89; }
.sidebar-rule { display: block; width: 26px; height: 2px; background: #df7955; margin-bottom: 15px; }
.account { border-top: 1px solid #404537; padding: 18px 0 0; display: flex; align-items: center; gap: 10px; }
.account strong { font-size: 12px; font-weight: 500; }
.account .tagline { font-size: 10px; color: #a5ac9a; }
.account button { margin-left: auto; padding: 6px; color: #a5ac9a; }
.avatar { background: #3b4035; border: 1px solid #535c47; color: #e0e4d4; width: 32px; height: 32px; border-radius: 4px; display: grid; place-items: center; font: 13px var(--mono); }
.main { min-width: 0; padding: 0 42px 22px; max-width: 1680px; width: 100%; margin: 0 auto; }
.topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); margin-bottom: 36px; gap: 20px; }
.breadcrumb { font-size: 11px; color: var(--muted); }
.breadcrumb strong { color: var(--text); font-weight: 500; }
.breadcrumb-divider { padding: 0 12px; color: #a4a69a; }
.search { display: flex; gap: 10px; align-items: center; background: transparent; color: var(--muted); border: 0; font-size: 11px; padding: 8px 0 8px 8px; }
.search .icon { width: 16px; height: 16px; }
kbd { font: 9px var(--mono); border: 1px solid var(--border); border-radius: 3px; padding: 2px 5px; color: var(--muted); }
.heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 40px 0 34px; }
.heading p { color: var(--muted); margin-top: 14px; font-size: 13px; }
.eyebrow { color: var(--accent); text-transform: uppercase; font: 9px var(--mono); letter-spacing: 1.1px; margin-bottom: 18px; line-height: 1.7; }
.actions, .row { display: flex; align-items: center; gap: 9px; }
.row.between { justify-content: space-between; }
.daily-intro { display: flex; justify-content: space-between; align-items: center; min-height: 280px; padding: 6px 0 38px; gap: 25px; }
.daily-copy h1 { font-size: clamp(44px, 4.7vw, 68px); letter-spacing: -3px; line-height: 1.02; }
.daily-copy em, .login-statement em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--accent); }
.daily-copy p { color: var(--muted); margin-top: 18px; font-size: 13px; }
.daily-copy .actions { margin-top: 25px; font-size: 12px; }
.daily-copy .eyebrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 8px; }
.eyebrow-line { width: 22px; height: 1px; background: #a5a79b; }
.date-print { width: 195px; padding: 0 12px 4px 28px; margin-right: 24px; color: var(--text); border-left: 1px solid var(--border); transform: rotate(-3deg); }
.date-print > span { display: flex; justify-content: space-between; text-transform: uppercase; font: 9px var(--mono); letter-spacing: 2px; }
.date-print strong { font-family: Georgia, "Times New Roman", serif; font-size: 124px; line-height: 1.1; font-weight: 400; letter-spacing: -9px; }
.date-print i { display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 36px; padding: 23px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat { padding: 0 24px; border-right: 1px solid var(--border); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat label { color: var(--muted); font-size: 11px; display: block; }
.stat strong { font-size: 33px; font-weight: 400; display: block; margin: 6px 0 2px; letter-spacing: -1.8px; font-variant-numeric: tabular-nums; line-height: 1.15; overflow-wrap: anywhere; }
.stat small { font-size: 10px; }
.home-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 30px; }
.home-work, .home-aside { min-width: 0; }
.grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); gap: 20px; }
.panel { border: 1px solid var(--border); background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.panel-head { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.panel-body { padding: 0 24px 24px; }
.panel-head p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.section-index { color: var(--muted); font: 8px var(--mono); letter-spacing: 1.2px; margin-bottom: 10px; }
.heading-dot { color: var(--accent); }
.text-link { font-size: 11px; white-space: nowrap; color: var(--muted); }
.text-link:hover { color: var(--accent); }
.today-panel { border-top: 2px solid #3e4235; }
.today-panel .panel-head h2 { font-size: 22px; }
.taskrow { display: flex; align-items: center; gap: 12px; padding: 17px 0; border-top: 1px solid var(--border); }
.taskrow:first-child { border-top: 0; }
.open { text-align: left; background: none; border: 0; padding: 3px 0; min-width: 0; flex: 1; display: block; }
.open:hover { background: none; color: var(--accent); }
.open strong, .open .title { display: block; overflow-wrap: anywhere; font-size: 13px; font-weight: 500; }
.open small { display: block; margin-top: 4px; font-size: 10px; }
.taskrow.done .title { text-decoration: line-through; color: var(--muted); }
input[type=checkbox] { accent-color: var(--accent); width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; }
.badge { font-size: 9px; border-radius: 3px; padding: 3px 7px; background: #eeeee6; color: #626659; white-space: nowrap; font-weight: 500; }
.badge.high, .badge.urgent { background: #fbe9e0; color: #9d3521; }
.badge.done { background: #e6ecdf; color: #4c663a; }
.empty { text-align: center; padding: 38px 16px; color: var(--muted); }
.empty strong { color: var(--text); font-weight: 500; }
.empty .symbol { width: 35px; height: 35px; border: 1px solid var(--border); display: grid; place-items: center; font-size: 20px; color: #8c907f; margin: 0 auto 15px; border-radius: 50%; }
.empty p { margin: 8px auto 16px; max-width: 320px; font-size: 12px; }
.empty button { font-size: 12px; }
.home-projects { margin-top: 30px; }
.home-projects > .panel-head { padding: 0 0 20px; }
.home-projects .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.project-start { display: flex; align-items: center; gap: 25px; padding: 30px; border: 1px dashed #bfc1b2; grid-column: 1/-1; border-radius: 4px; }
.project-start-mark { font-family: Georgia, serif; font-size: 58px; font-weight: 400; line-height: 1; color: #b8bca8; }
.project-start h3 { font-size: 16px; font-weight: 500; }
.project-start p { font-size: 12px; color: var(--muted); margin: 5px 0 13px; }
.agenda-panel { background: #e9ecdf; border: 1px solid #d5dbc8; border-radius: 4px; }
.agenda-panel .panel-head h2 { font-size: 20px; }
.agenda-panel .icon { color: #727d61; }
.agenda-panel .panel-head { align-items: flex-start; }
.agenda-empty { padding: 18px 0 6px; }
.agenda-rule { display: block; width: 32px; height: 1px; background: #a0aa8d; margin-bottom: 18px; }
.agenda-empty strong { font-size: 14px; font-weight: 500; }
.agenda-empty p { font-size: 12px; color: #636f55; margin: 5px 0 18px; }
.agenda-bottom { border-top: 1px solid #cdd4bf; padding: 15px 24px; display: flex; justify-content: space-between; align-items: center; color: #49563b; font-size: 11px; }
.agenda-bottom .icon { width: 16px; height: 16px; }
.eventrow { display: flex; gap: 15px; border-top: 1px solid #cdd4bf; padding: 16px 0; cursor: pointer; }
.eventrow:hover strong { color: var(--accent); }
.eventrow strong { font-weight: 500; font-size: 13px; overflow-wrap: anywhere; }
.event-time { color: #536744; font: 11px var(--mono); min-width: 48px; padding-top: 3px; }
.eventrow small { display: block; margin-top: 4px; font-size: 10px; }
.ideas-panel { margin-top: 25px; border-top: 1px solid var(--border); }
.ideas-panel .panel-head { padding: 25px 0 18px; }
.ideas-panel h2 { font-size: 19px; }
.ideas-panel .panel-body { padding: 0 0 20px; }
.idea-empty { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 19px; line-height: 1.5; color: #6d705f; margin: 7px 0 22px; }
.idea-line { display: flex; gap: 13px; border-top: 1px solid var(--border); padding: 13px 0; }
.idea-line > span { color: var(--accent); padding-top: 4px; }
.ideas-all { display: block; padding-bottom: 15px; }
.progress { height: 3px; background: #e8e9df; border-radius: 0; overflow: hidden; margin: 20px 0 12px; }
progress.progress { display: block; width: 100%; border: 0; appearance: none; }
progress::-webkit-progress-bar { background: #e8e9df; }
progress::-webkit-progress-value { background: #7b885d; }
progress::-moz-progress-bar { background: #7b885d; }
.project-card { padding: 22px; cursor: pointer; transition: border-color .15s; min-width: 0; }
.project-card:hover { border-color: #a0aa8d; }
.project-card p { color: var(--muted); font-size: 12px; margin-top: 12px; min-height: 36px; overflow-wrap: anywhere; }
.project-card small { font-size: 10px; }
.project-card .row > strong { font: 11px var(--mono); }
.project-card h2 { overflow-wrap: anywhere; }
.project-name { font-size: 21px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 25px; align-items: center; }
.filters select, .filters input { width: auto; max-width: 100%; font-size: 12px; }
.filters input { flex: 1; min-width: 140px; }
.filters button { font-size: 12px; }
.seg { display: flex; gap: 3px; border: 1px solid var(--border); background: #eeeee6; padding: 3px; border-radius: 4px; }
.seg button { background: none; border: 0; padding: 7px 14px; color: var(--muted); font-size: 12px; }
.seg button.selected { background: var(--panel); color: var(--text); box-shadow: 0 1px 3px #25282012; }
.board { display: grid; grid-template-columns: repeat(4, minmax(215px, 1fr)); gap: 15px; overflow-x: auto; padding-bottom: 16px; scrollbar-color: #c2c5b7 transparent; }
.column { min-height: 430px; background: #eeeee6; border-radius: 4px; padding: 12px; border: 1px solid #e1e3d7; }
.column-head { display: flex; align-items: center; gap: 6px; padding: 2px 1px 16px; color: #5c6251; }
.column-head strong { font-size: 11px; font-weight: 500; }
.column-head .dot { margin-right: 0; border-radius: 2px; background: #a3a995; border: 0; }
.column[data-drop=doing] .dot { background: #be6a40; }
.column[data-drop=waiting] .dot { background: #b7a25f; }
.column[data-drop=done] .dot { background: #6d8057; }
.column-head .count { font: 10px var(--mono); color: #777e6a; padding: 0 4px; }
.column-head button { margin-left: auto; padding: 0 7px; font-size: 20px; }
.taskcard { background: var(--panel); border: 1px solid #dcded1; border-radius: 4px; padding: 15px; margin-bottom: 10px; cursor: grab; box-shadow: 0 2px 2px #2a352505; }
.taskcard:hover { border-color: #9ba68a; }
.taskcard h3 { margin: 13px 0 18px; font-weight: 500; overflow-wrap: anywhere; }
.taskcard h3 button { color: var(--text); text-align: left; font-size: 13px; }
.taskcard small { font-size: 10px; }
.card-foot { display: flex; justify-content: space-between; gap: 5px; align-items: center; flex-wrap: wrap; border-top: 1px solid #eeefe7; padding-top: 10px; }
.due { font: 10px var(--mono); white-space: nowrap; }
.due.overdue { color: var(--danger); }
.column.dragover { border-color: var(--accent); background: #f1e6dc; }
.calendar { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.cal-top { padding: 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cal-top h2 { margin-left: 12px; text-transform: capitalize; }
.cal-top button { padding: 7px 13px; }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.weekday { padding: 12px; color: var(--muted); text-align: right; font: 9px var(--mono); text-transform: uppercase; border-top: 1px solid var(--border); background: #f4f5ed; }
.day { min-height: 125px; border-top: 1px solid var(--border); border-right: 1px solid var(--border); padding: 9px; cursor: pointer; overflow: hidden; }
.day:hover { background: #f4f4ec; }
.day:nth-child(7n) { border-right: 0; }
.day.other { background: #f7f7f1; color: #8b8e80; }
.day.today { background: #f9eee5; }
.day.today .daynum { background: var(--accent); color: #fffaf4; border-radius: 3px; }
.daynum { width: 25px; height: 25px; display: grid; place-items: center; font: 11px var(--mono); margin: 0 0 8px auto; }
.cal-event { font-size: 10px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #e9eedf; color: #485b37; border: 0; border-left: 2px solid #85966b; border-radius: 2px; padding: 4px 5px; margin-bottom: 4px; width: 100%; text-align: left; }
.cal-event.task { background: #f4e8dd; color: #8e4527; border-left-color: #bd764d; }
.agenda { display: grid; }
.agenda-day { padding: 20px 24px; border-top: 1px solid var(--border); }
.agenda-day h3 { color: var(--muted); margin-bottom: 8px; font: 11px var(--mono); }
.settings { display: grid; gap: 22px; max-width: 1000px; }
.settingrow { padding: 18px 0; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.settingrow strong { font-weight: 500; }
.settingrow p { color: var(--muted); font-size: 12px; margin-top: 5px; }
.note { padding: 15px 17px; border-left: 2px solid #87966c; background: #eef1e6; color: #576347; border-radius: 0 3px 3px 0; font-size: 12px; margin: 16px 0; overflow-wrap: anywhere; }
.danger-note { border-color: #b8754c; color: #8c452a; background: #faeee5; }
dialog { border: 1px solid #c8ccbd; border-radius: 6px; padding: 0; background: var(--panel); color: var(--text); width: min(690px, calc(100vw - 28px)); max-height: 90dvh; box-shadow: 0 25px 90px #20251a30; }
dialog::backdrop { background: #1c241c80; backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--panel); z-index: 1; }
.dialog-body { padding: 24px 26px; }
.dialog-foot { display: flex; gap: 9px; justify-content: flex-end; border-top: 1px solid var(--border); padding: 18px 26px; background: #f5f6ee; flex-wrap: wrap; }
.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 16px; min-width: 0; }
.field label { color: #626857; font-size: 11px; }
.field.full { grid-column: 1/-1; }
input, select, textarea { background: var(--panel); border: 1px solid #cdd1c1; color: var(--text); border-radius: 3px; padding: 11px 12px; width: 100%; min-width: 0; }
input::placeholder, textarea::placeholder { color: #6f7564; }
textarea { resize: vertical; min-height: 100px; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); }
.subrow { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.subrow input[type=text] { flex: 1; }
.subrow input[type=checkbox] { flex: none; }
.subrow button { padding: 5px 9px; }
.subrow input[type=date] { width: 145px; }
.filelist { display: grid; gap: 8px; }
.fileitem { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); padding: 13px; border-radius: 3px; flex-wrap: wrap; }
.fileitem .filename { flex: 1; overflow: hidden; text-overflow: ellipsis; min-width: 110px; }
.fileitem small { display: block; }
.fileitem button { padding: 6px 9px; font-size: 11px; }
.preview-img { max-width: 100%; max-height: 65vh; display: block; margin: auto; }
.preview-pdf { width: 100%; height: 65vh; border: 0; }
.tabs { margin: 20px 0; }
.details-text { white-space: pre-wrap; color: #646b58; overflow-wrap: anywhere; }
.detail-header { margin-bottom: 25px; }
.goal { padding: 12px 0; border-top: 1px solid var(--border); display: flex; gap: 12px; align-items: center; overflow-wrap: anywhere; }
.goal input { flex: none; }
.goal small { margin-left: auto; }
.links { display: grid; gap: 8px; margin-top: 12px; overflow-wrap: anywhere; }
.login { min-height: 100dvh; display: grid; grid-template-columns: 1.15fr 1fr; }
.login-intro { background: #242720; color: #eeeee4; padding: 48px 10%; position: relative; overflow: hidden; min-height: 780px; display: flex; flex-direction: column; }
.login-intro .brand { margin: 0; }
.login-statement { position: relative; z-index: 1; margin-top: 100px; }
.login-statement .eyebrow { color: #b5baa6; font-size: 9px; }
.login-statement h1 { font-size: clamp(44px, 4.8vw, 74px); letter-spacing: -3px; line-height: 1.04; }
.login-statement em { color: #ec8b65; }
.login-statement p { color: #adb59f; line-height: 1.8; font-size: 13px; margin-top: 25px; }
.login-art { position: relative; min-height: 240px; flex: 1; margin-top: 15px; }
.orbit { width: 270px; height: 170px; border: 1px solid #697258; border-radius: 50%; display: block; position: absolute; top: 25px; left: 50%; margin-left: -135px; transform: rotate(-35deg); }
.orbit-two { transform: rotate(25deg); }
.orbit-three { transform: rotate(85deg); }
.orbit-center { position: absolute; top: 94px; left: calc(50% - 18px); width: 36px; height: 36px; border-radius: 50%; background: #d77750; }
.art-coordinate { position: absolute; bottom: 8px; left: 0; font: 8px var(--mono); letter-spacing: 1.5px; color: #a0aa92; }
.login-caption { display: flex; justify-content: space-between; gap: 10px; padding-top: 22px; border-top: 1px solid #414936; margin-top: 20px; font-size: 10px; color: #b5baa6; }
.login-access { display: grid; align-content: center; justify-items: center; padding: 55px; position: relative; }
.login-card { width: min(340px, 100%); }
.login-card h2 { font-size: 38px; font-weight: 500; letter-spacing: -1.5px; }
.login-card p { color: var(--muted); margin: 14px 0 34px; font-size: 13px; }
.login-card label { font-size: 12px; }
.login-card input { background: #fffefa; padding: 13px; }
.login-card button { width: 100%; justify-content: space-between; padding: 13px 16px; }
.login-card small { display: block; margin-top: 24px; text-align: center; font-size: 11px; }
.login-card p.error { color: var(--danger); margin: 10px 0; }
.login-footnote { position: absolute; bottom: 35px; color: var(--muted); font: 8px var(--mono); text-transform: uppercase; letter-spacing: 1px; }
.error { color: var(--danger); font-size: 12px; min-height: 20px; margin: 10px 0; }
.mobile-toggle, .sidebar-scrim { display: none; }
#toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); background: #30392a; color: #f2f4e8; padding: 14px 22px; border-radius: 4px; z-index: 20; box-shadow: 0 8px 30px #20251a25; display: none; max-width: 90vw; font-size: 13px; }
#toast.visible { display: block; }
.audit { font-size: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
code { background: #f1f2e9; border: 1px solid var(--border); border-radius: 3px; padding: 3px 5px; overflow-wrap: anywhere; }
.search-results { display: grid; gap: 7px; }
.search-results button { text-align: left; display: block; overflow-wrap: anywhere; }
.search-results small { display: block; }
.loading { padding: 80px; text-align: center; color: var(--muted); font: 12px var(--mono); }
.file-upload { border: 1px dashed #aeb69f; padding: 20px; border-radius: 4px; margin: 15px 0; }
.spaced { margin-top: 22px; }
.tagline { font-size: 12px; color: var(--muted); }
.hint { font-size: 11px; color: var(--muted); margin-top: 10px; }
.button-link { border: 0; background: none; color: var(--accent); padding: 0; font-size: 12px; }
.button-link:hover { background: none; text-decoration: underline; text-underline-offset: 4px; }
.detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; }
.small-btn { padding: 6px 10px; font-size: 12px; }
.workspace-footer { display: flex; justify-content: space-between; margin-top: 55px; padding-top: 20px; border-top: 1px solid var(--border); color: #686f5e; text-transform: uppercase; font: 8px var(--mono); letter-spacing: .8px; gap: 15px; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 30; background: var(--panel); padding: 10px 16px; }
.skip-link:focus { top: 15px; }
@media (min-width: 1600px) { .main { padding-left: 64px; padding-right: 64px; } .day { min-height: 150px; } .home-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; } }
@media (max-width: 1200px) { .main { padding-left: 28px; padding-right: 28px; } .home-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; } .shell { grid-template-columns: 200px minmax(0, 1fr); } .date-print { margin-right: 0; width: 155px; } .date-print strong { font-size: 110px; } .home-projects .cards { grid-template-columns: 1fr; } .detail-grid { grid-template-columns: 1fr; } .panel-head { padding: 20px; } .panel-body { padding: 0 20px 20px; } .today-panel .panel-head { align-items: flex-start; } .today-panel .panel-head h2 { font-size: 20px; } }
@media (max-width: 1000px) { .home-layout, .grid { grid-template-columns: 1fr; } .home-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; } .ideas-panel { margin-top: 0; } .home-projects .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .board { grid-template-columns: repeat(4, 235px); } .daily-copy h1 { font-size: 52px; } .daily-copy .eyebrow { max-width: 300px; } .date-print { width: 130px; padding-left: 20px; } .date-print strong { font-size: 94px; } .stat { padding: 0 16px; } .heading { align-items: flex-start; } .heading .actions { padding-top: 10px; } .login-intro { padding: 40px 9%; } .login-access { padding: 35px; } .login-caption { flex-direction: column; } }
@media (max-width: 700px) {
 .shell { display: block; }
 .sidebar { position: fixed; left: 0; top: 0; width: 250px; transform: translateX(-100%); transition: transform .2s; z-index: 12; visibility: hidden; }
 .sidebar.open { transform: translateX(0); visibility: visible; }
 .sidebar.open + .sidebar-scrim { display: block; position: fixed; inset: 0; border: 0; border-radius: 0; padding: 0; background: #1e261e80; z-index: 11; }
 .main { padding: 0 20px 20px; }
 .topbar { height: 70px; margin-bottom: 25px; gap: 10px; }
 .mobile-toggle { display: inline-flex; padding: 7px 6px 7px 0; }
 .breadcrumb { font-size: 10px; }
 .breadcrumb-divider { padding: 0 6px; }
 .breadcrumb > strong { font-size: 10px; }
 .search { padding: 8px; }
 .search > span, .search kbd { display: none; }
 .search .icon { width: 19px; height: 19px; }
 .daily-intro { min-height: 0; padding: 5px 0 30px; align-items: flex-start; gap: 12px; }
 .daily-copy h1 { font-size: 46px; letter-spacing: -2.5px; }
 .daily-copy .eyebrow { font-size: 8px; max-width: 230px; gap: 7px; }
 .eyebrow-line { display: none; }
 .daily-copy p { font-size: 12px; margin-top: 15px; }
 .daily-copy .actions { margin-top: 22px; flex-wrap: wrap; gap: 7px; }
 .daily-copy .actions button { font-size: 11px; padding: 10px 11px; }
 .daily-copy .actions .quiet { padding-left: 0; }
 .date-print { width: 60px; padding: 0; margin-top: 35px; border: 0; flex-shrink: 0; }
 .date-print strong { font-size: 57px; letter-spacing: -5px; }
 .date-print > span { font-size: 7px; letter-spacing: 1px; }
 .date-print > span:last-child { display: none; }
 .stats { grid-template-columns: 1fr 1fr; gap: 21px 0; padding: 20px 0; margin-bottom: 25px; }
 .stat { padding: 0 20px; }
 .stat:nth-child(odd) { padding-left: 0; }
 .stat:nth-child(even) { border: 0; }
 .stat strong { font-size: 31px; }
 .stat small { font-size: 9px; }
 .home-layout { gap: 26px; }
 .home-aside { grid-template-columns: 1fr; }
 .home-projects { margin-top: 26px; }
 .home-projects .cards { grid-template-columns: 1fr; }
 .panel-head { padding: 20px 18px; }
 .panel-body { padding: 0 18px 20px; }
 .panel-head h2, .today-panel .panel-head h2 { font-size: 19px; }
 .text-link { font-size: 10px; }
 .section-index { font-size: 7px; letter-spacing: 1px; }
 .today-panel .panel-head { gap: 8px; }
 .today-panel .text-link { padding-top: 2px; }
 .empty { padding: 28px 8px; }
 .project-start { padding: 24px 20px; gap: 18px; }
 .agenda-bottom { padding: 15px 18px; }
 .ideas-panel .panel-body { padding-left: 0; }
 .heading { flex-wrap: wrap; gap: 20px; margin: 30px 0; }
 .heading h1 { font-size: 40px; }
 .heading .actions { padding-top: 0; }
 .heading p { margin-top: 12px; font-size: 12px; }
 .eyebrow { font-size: 8px; margin-bottom: 13px; }
 .board { grid-template-columns: repeat(4, 265px); margin-right: -20px; padding-right: 20px; scroll-snap-type: x proximity; }
 .column { min-height: 360px; scroll-snap-align: start; }
 .filters { gap: 8px; }
 .filters select { flex: 1; width: 45%; font-size: 11px; }
 .filters input { width: 100%; }
 .day { min-height: 90px; padding: 4px 2px; }
 .cal-event { padding: 3px 2px; font-size: 8px; }
 .weekday { padding: 10px 5px; font-size: 8px; }
 .daynum { font-size: 10px; width: 22px; height: 22px; }
 .cal-top { padding: 14px 12px; flex-wrap: wrap; gap: 15px; }
 .cal-top h2 { font-size: 16px; margin-left: 3px; }
 .cal-top .row { gap: 5px; flex-wrap: wrap; }
 .cal-top button { padding: 6px 9px; font-size: 11px; }
 .formgrid { grid-template-columns: 1fr; gap: 0; }
 .field.full { grid-column: auto; }
 input, select, textarea { font-size: 16px; }
 .dialog-head, .dialog-body { padding: 18px; }
 .dialog-foot { padding: 15px; gap: 7px; }
 .dialog-foot button { font-size: 12px; padding: 9px 11px; }
 .settingrow { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
 .settings .row { flex-wrap: wrap; }
 .settingrow button { font-size: 11px; }
 .cards { grid-template-columns: 1fr; }
 .taskrow { gap: 9px; }
 .taskrow .open { font-size: 12px; }
 .taskrow .due { font-size: 9px; }
 .workspace-footer { margin-top: 36px; font-size: 7px; }
 .workspace-footer span:last-child { display: none; }
 .login { grid-template-columns: 1fr; }
 .login-intro { min-height: 0; padding: 28px 25px 32px; }
 .login-intro .brand { font-size: 25px; }
 .login-statement { margin-top: 35px; }
 .login-statement h1 { font-size: 44px; letter-spacing: -2px; }
 .login-statement p { margin-top: 16px; font-size: 12px; }
 .login-art, .login-caption { display: none; }
 .login-access { padding: 38px 25px 70px; }
 .login-card { width: 100%; max-width: 380px; }
 .login-card h2 { font-size: 30px; }
 .login-card p { margin-bottom: 24px; }
 .login-footnote { bottom: 22px; font-size: 7px; }
 .subrow { flex-wrap: wrap; gap: 6px; }
 .subrow input[type=text] { min-width: 120px; }
 .subrow input[type=date] { margin-left: 23px; flex: 1; }
}
@media (max-width: 360px) { .date-print { display: none; } .main { padding-left: 15px; padding-right: 15px; } .breadcrumb { font-size: 9px; } .today-panel .panel-head { flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
