:root { color-scheme: light; font-family: system-ui, sans-serif; color: #18352d; background: #f7f8f4; }
* { box-sizing: border-box; }
body { margin: 0; }
header { max-width: 1040px; margin: auto; padding: 28px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
a { color: #245f4b; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid #a86412; outline-offset: 5px; }
.brand { font-size: 24px; font-weight: 800; text-decoration: none; }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
main { max-width: 1040px; margin: 60px auto; padding: 24px; }
h1 { font-size: clamp(32px, 6vw, 64px); line-height: 1.1; letter-spacing: -0.035em; }
p, li { max-width: 680px; font-size: 18px; line-height: 1.7; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; }
.button { display: inline-block; padding: 13px 22px; margin-top: 20px; background: #245f4b; color: white; border-radius: 8px; text-decoration: none; }
.steps { padding-left: 24px; }
.steps li { padding: 8px 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
button:focus-visible, textarea:focus-visible, input:focus-visible { outline: 3px solid #a86412; outline-offset: 4px; }
.button { border: 0; font-weight: 600; }
nav { align-items: center; }
.link-button { background: none; padding: 0; border: 0; color: #245f4b; text-decoration: underline; text-underline-offset: 4px; }
.notice { background: #e0efdf; border: 1px solid #b8d1b4; padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; }
.collect-page { margin-top: 24px; max-width: 1140px; }
.collect-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.collect-heading h1 { font-size: clamp(32px, 4vw, 46px); margin: 18px 0; }
.collect-heading p:not(.eyebrow) { color: #5c6d65; font-size: 16px; }
.stage-tag { flex-shrink: 0; font-size: 13px; border: 1px solid #d3dccf; border-radius: 24px; padding: 10px 16px; }
.collect-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: start; }
.capture-card { background: #fff; border: 1px solid #dce3d8; border-radius: 16px; padding: 28px; box-shadow: 0 8px 32px #18352d05; }
.card-heading, .inbox-heading, .capture-footer, .field-meta, .idea-meta { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
h2 { font-size: 19px; letter-spacing: -.02em; }
.card-heading { margin-bottom: 20px; flex-wrap: wrap; }
.card-heading h2 { margin: 0; }
.small-label { font-size: 10px; letter-spacing: .09em; color: #596f60; font-weight: 700; }
textarea { display: block; width: 100%; resize: vertical; min-height: 200px; border: 1px solid #d6dfd2; border-radius: 10px; background: #fcfdfb; color: #18352d; padding: 18px; line-height: 1.7; }
textarea::placeholder { color: #738077; }
textarea[readonly] { background: #f0f6ee; }
.field-meta { font-size: 11px; color: #647368; align-items: start; margin-top: 10px; }
#character-count { white-space: nowrap; }
.voice-area { display: flex; align-items: center; gap: 16px; margin-top: 25px; }
.voice-area[hidden], [hidden] { display: none !important; }
.voice-button { flex-shrink: 0; border: 1px solid #c8d8c5; background: #eff5ec; border-radius: 8px; padding: 12px 15px; color: #245f4b; font-size: 14px; font-weight: 600; }
.voice-button[aria-pressed="true"] { background: #fff1e6; color: #8a4513; border-color: #e4bb97; }
.voice-area p, .voice-disclosure { font-size: 12px; line-height: 1.6; color: #637167; margin: 0; }
.voice-disclosure { margin-top: 14px; }
.interim { color: #637167; font-style: italic; font-size: 14px; overflow-wrap: anywhere; }
.interim:empty { display: none; }
.capture-footer { border-top: 1px solid #e9eee5; margin-top: 24px; padding-top: 20px; }
.capture-footer > span { font-size: 11px; color: #637167; max-width: 240px; }
.capture-footer .button { margin: 0; flex-shrink: 0; font-size: 14px; }
.collect-note { background: #edf1e5; border-radius: 14px; padding: 26px; }
.note-symbol { font-size: 42px; color: #637b48; }
.collect-note p { font-size: 14px; color: #586952; }
.note-example { font-size: 14px; line-height: 1.7; border-left: 2px solid #a6b596; padding-left: 14px; margin: 24px 0 30px; }
.inbox { margin-top: 42px; }
.inbox-heading { margin-bottom: 12px; }
.count { display: inline-block; margin-left: 7px; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 8px; background: #e4ebde; vertical-align: middle; }
.muted { color: #617166; font-size: 13px; }
.empty-inbox { border: 1px dashed #cbd6c4; padding: 28px; border-radius: 14px; text-align: center; }
.empty-inbox > span { font-size: 28px; color: #677d58; }
.empty-inbox h3 { font-size: 16px; font-weight: 500; }
.empty-inbox p { font-size: 13px; margin: 0 auto; color: #617166; }
.idea-card { padding: 22px 25px; background: #fff; border: 1px solid #dce3d8; border-radius: 12px; margin: 12px 0; }
.idea-content { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.idea-meta { justify-content: start; margin-top: 16px; font-size: 11px; color: #627267; flex-wrap: wrap; }
.pending-label { margin-left: auto; color: #76591c; background: #f7f0df; padding: 4px 10px; border-radius: 12px; }
.pagination { display: flex; justify-content: center; gap: 24px; margin: 24px 0; font-size: 14px; }
.login-page { max-width: 580px; }
.login-page h1 { font-size: 40px; }
.login-form { display: grid; gap: 12px; margin-top: 30px; }
.google-signin { margin: 30px 0; }
.google-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 20px; border: 1px solid #747775; border-radius: 6px; background: #fff; color: #1f1f1f; font-weight: 500; }
.google-button:hover:not(:disabled) { background: #f5f7f5; }
.google-g { font-size: 20px; font-weight: 700; font-family: Arial, sans-serif; }
.google-signin p { text-align: center; font-size: 13px; }
.login-divider { display: flex; align-items: center; gap: 15px; color: #617166; font-size: 12px; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; background: #d4dfcf; flex: 1; }
.workflow-steps { display: flex; gap: 10px; flex-wrap: wrap; border-bottom: 1px solid #dce3d8; padding-bottom: 22px; margin-bottom: 32px; }
.workflow-steps a { display: flex; gap: 9px; align-items: center; padding: 11px 16px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.workflow-steps a[aria-current] { background: #245f4b; color: white; }
.workflow-steps span { font-size: 10px; opacity: .7; }
.stage-title { font-size: clamp(28px, 4vw, 44px); margin: 14px 0 24px; }
.clarify-layout { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 25px; }
.clarify-layout .collect-note { display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.form-field small { display: block; color: #647368; font-size: 12px; margin-top: 6px; }
.workflow-form input:not([type=checkbox]):not([type=hidden]), .workflow-form select, #id_mode { display: block; width: 100%; border: 1px solid #c8d4c1; border-radius: 8px; padding: 12px; background: #fff; color: #18352d; min-width: 0; }
.workflow-form textarea { min-height: 100px; }
#id_mode { margin: 8px 0 18px; }
.capture-preview { margin-top: 18px; padding: 14px 18px; background: #f1f5ec; border-radius: 9px; }
.capture-preview summary { cursor: pointer; font-size: 13px; font-weight: 600; }
.capture-preview ol { padding-left: 22px; max-height: 240px; overflow: auto; }
.capture-preview li { font-size: 14px; overflow-wrap: anywhere; }
.list-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.list-tabs a { border: 1px solid #ccd9c4; padding: 9px 14px; border-radius: 20px; font-size: 13px; text-decoration: none; }
.list-tabs a[aria-current] { background: #e3ecd9; border-color: #779068; font-weight: 700; }
.row-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 20px; font-size: 13px; }
.row-actions .button { margin-top: 0; }
.secondary-button { border: 1px solid #bbceb2; background: #f0f5ec; border-radius: 8px; color: #245f4b; padding: 10px 15px; font-size: 13px; margin-top: 12px; }
.action-card h3 { margin-top: 0; overflow-wrap: anywhere; }
.review-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 30px 0; }
.review-metrics a { background: #edf1e5; border-radius: 12px; padding: 22px; text-decoration: none; font-size: 13px; }
.review-metrics strong { display: block; font-size: 32px; margin-bottom: 8px; }
.review-metrics.dashboard { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 720px) { .review-metrics.dashboard { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.calendar-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 22px 0 12px; }
.calendar-nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.calendar-nav h2 { margin: 0; font-size: 22px; text-transform: capitalize; }
.calendar-nav a { font-size: 14px; text-decoration: none; text-transform: capitalize; }
.calendar-today { margin-top: 0; text-decoration: none; }
.calendar-legend { list-style: none; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: #617166; margin: 0 0 16px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }
.dot.scheduled, .calendar-item.scheduled { background: #245f4b; }
.dot.waiting, .calendar-item.waiting { background: #a86412; }
.dot.done, .calendar-item.done { background: #8a9a8f; }
.calendar { border: 1px solid #dce3d8; border-radius: 14px; background: #fff; overflow: hidden; }
.calendar-weekdays, .calendar-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays span { padding: 10px 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #596f60; text-align: center; border-bottom: 1px solid #e9eee5; }
.calendar-day { min-height: 108px; padding: 8px; border-right: 1px solid #e9eee5; border-bottom: 1px solid #e9eee5; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-week:last-child .calendar-day { border-bottom: 0; }
.calendar-day.outside { background: #f7f8f4; color: #9aa69e; }
.calendar-day.today .day-number { background: #245f4b; color: #fff; }
.day-number { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.day-weekday { display: none; }
.calendar-item { display: block; font-size: 11px; line-height: 1.4; color: #fff; text-decoration: none; padding: 3px 7px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calendar-item.done { text-decoration: line-through; }
.calendar-item time { font-weight: 700; }
.calendar-empty { margin-top: 20px; }
@media (max-width: 720px) {
  .calendar-weekdays { display: none; }
  .calendar-week { grid-template-columns: 1fr; }
  .calendar-day { min-height: 0; border-right: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; }
  .calendar-day.outside { display: none; }
  .day-number { min-width: 68px; }
  .day-weekday { display: inline; text-transform: capitalize; }
  .calendar-item { white-space: normal; }
}
.review-check { display: flex; gap: 12px; align-items: start; margin: 22px 0; font-size: 15px; line-height: 1.6; }
.review-check input { width: 20px; height: 20px; flex-shrink: 0; accent-color: #245f4b; }
@media (max-width: 720px) { .clarify-layout { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } .workflow-steps { gap: 5px; } .workflow-steps a { padding: 9px 11px; } .review-metrics { gap: 8px; } .review-metrics a { padding: 12px; } }
.profile-card { display: flex; align-items: center; gap: 20px; margin: 24px 0; }
.profile-name { margin: 0 0 4px; font-size: 22px; }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid #dce3d8; background: #fff; }
.avatar-placeholder { display: inline-flex; align-items: center; justify-content: center; background: #245f4b; color: #fff; font-size: 32px; font-weight: 700; letter-spacing: .04em; }
.profile-data { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px 16px; margin: 0 0 26px; font-size: 15px; }
.profile-data dt { font-weight: 700; color: #596f60; }
.profile-data dd { margin: 0; overflow-wrap: anywhere; }
.account-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.account-links .button, .account-links .secondary-button { margin-top: 0; text-decoration: none; display: inline-block; }
.account-form { margin-top: 24px; }
.account-form .avatar { margin-bottom: 16px; }
.workflow-form input[type=file] { padding: 9px; }
.login-form input:not([type="hidden"]) { width: 100%; padding: 12px; border: 1px solid #bbcbb5; border-radius: 8px; }
.errorlist, .form-errors { color: #9a2e24; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
@media (max-width: 800px) {
  .collect-layout { grid-template-columns: 1fr; }
  .collect-note { display: none; }
  .stage-tag { display: none; }
  .collect-page { margin-top: 5px; }
}
@media (max-width: 480px) {
  header { padding: 20px; }
  nav { gap: 16px; font-size: 14px; }
  main { padding: 16px; }
  .capture-card { padding: 20px; }
  .voice-area, .capture-footer, .inbox-heading { align-items: start; flex-direction: column; }
  .capture-footer .button { width: 100%; }
  .inbox-heading { gap: 0; }
  .field-meta { flex-wrap: wrap; }
}
