:root { color-scheme: light; font-family: "Segoe UI", Arial, sans-serif; color: #393445; background: #f8f6f1; --accent: #7962b6; --accent-dark: #614b97; --accent-soft: #eee8f8; --line: #eae6e0; --muted: #81798d; --paper: #fffdfa; }
:root[data-theme="sunshine"] { --accent: #a6642b; --accent-dark: #835022; --accent-soft: #faecd9; }
:root[data-theme="forest"] { --accent: #477864; --accent-dark: #315d4c; --accent-soft: #e5efe7; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button, a, input, select, textarea, summary { outline-offset: 4px; }
:focus-visible { outline: 3px solid var(--accent); }
button { transition: background .18s, transform .18s; }
button:active { transform: translateY(1px); }
button:disabled { opacity: .4; cursor: default; }
[hidden] { display: none !important; }
a { color: inherit; }
.app-shell { max-width: 1600px; margin: auto; display: grid; grid-template-columns: 240px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 38px 24px 24px; border-right: 1px solid var(--line); background: #f3f0e9; display: flex; flex-direction: column; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font-size: 20px; font-weight: 750; letter-spacing: -.5px; }
.brand small { display: block; font-size: 9px; letter-spacing: 2px; font-weight: 600; color: var(--muted); margin-top: 5px; }
.brand-icon { display: grid; place-items: center; background: var(--accent); color: white; width: 39px; height: 43px; border-radius: 13px 13px 13px 4px; font-size: 28px; }
.nav-label { color: #99909f; font-size: 9px; letter-spacing: 1.7px; font-weight: 700; margin: 48px 0 16px 9px; }
.view-switch { display: flex; flex-direction: column; gap: 7px; }
.view-switch button { display: flex; align-items: center; gap: 12px; border: 0; border-radius: 12px; padding: 14px 16px; background: transparent; color: #777080; text-align: left; font-size: 14px; font-weight: 600; }
.view-switch button span { font-size: 21px; width: 24px; text-align: center; }
.view-switch button[aria-pressed="true"] { background: var(--accent); color: white; box-shadow: 0 5px 15px #7962b61a; }
.view-switch button:not([aria-pressed="true"]):hover { background: var(--accent-soft); }
.sidebar-note { margin: 40px 4px 24px; padding: 22px 17px; border: 1px solid #ded6e8; border-radius: 18px 18px 5px 18px; background: #ebe5f0; transform: rotate(-2deg); }
.sidebar-note > span { font-size: 35px; color: #927ab7; }
.sidebar-note p { font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -.5px; margin: 10px 0; }
.sidebar-note small { color: #8a7b9c; font-size: 11px; }
.settings-button { margin-top: auto; border: 0; background: transparent; text-align: left; padding: 12px 0; font-size: 12px; color: #746c7d; }
.local-note { color: #9a929e; font-size: 10px; line-height: 1.7; }
.app { min-width: 0; padding: 42px 42px 24px; }
.page-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 28px; }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; margin: 0 0 12px; text-transform: uppercase; }
h1 { font-size: clamp(27px, 2.8vw, 40px); font-weight: 650; line-height: 1.25; letter-spacing: -1.6px; margin: 0; }
.sparkle { color: var(--accent); display: inline-block; }
.subtitle { color: var(--muted); font-size: 13px; line-height: 1.7; margin: 12px 0 0; }
.journal-shortcut { background: var(--paper); border: 1px solid #e0d8eb; color: var(--accent-dark); border-radius: 10px; padding: 12px 16px; font-size: 12px; white-space: nowrap; }
.overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.overview-card { border: 1px solid #00000005; padding: 18px 22px; border-radius: 16px; display: flex; align-items: center; gap: 17px; }
.lavender { background: #ede6f7; }.peach { background: #f9e8dd; }.sage { background: #e7eee4; }
.overview-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: #ffffff65; font-size: 25px; color: #736183; }
.overview-card strong { display: block; font-size: 26px; font-weight: 650; line-height: 1.1; }
.overview-card div > span { display: block; font-size: 11px; color: #807484; margin-top: 5px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 5px 20px #54483b04; }
.capture { padding: 25px 28px 20px; margin-bottom: 26px; }
label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.capture > form > label { font-size: 15px; margin-bottom: 15px; }
.input-row { display: flex; gap: 12px; }
input, select, textarea { min-width: 0; border: 1px solid #e7e1e9; border-radius: 10px; background: #fffefa; color: #393445; padding: 12px 13px; max-width: 100%; }
input:not([type="checkbox"]), textarea { width: 100%; }
input::placeholder, textarea::placeholder { color: #a39aa8; }
#task-input { flex: 1; padding: 16px; background: #f8f6fa; font-size: 13px; }
.add-button { border: 0; border-radius: 10px; padding: 12px 22px; background: var(--accent); color: white; font-weight: 600; font-size: 13px; white-space: nowrap; }
.add-button:hover { background: var(--accent-dark); }
.capture-options { display: flex; gap: 16px; align-items: flex-start; margin-top: 14px; flex-wrap: wrap; }
.inline-label { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; color: var(--muted); font-weight: 400; }
.inline-label select { font-size: 11px; padding: 8px 10px; }
.capture-options details { flex: 1; min-width: 220px; }
summary { font-size: 12px; color: var(--muted); padding: 8px 0; }
.capture-extra { padding-top: 5px; }
.capture-extra > input { margin-bottom: 14px; }
.template-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 17px; padding-top: 14px; border-top: 1px dashed var(--line); }
.template-row > span { font-size: 10px; color: #a095a5; margin-right: 3px; }
.template-row button { border: 1px solid #e7e1eb; background: #f8f5fa; color: #7f718d; font-size: 10px; padding: 6px 10px; border-radius: 7px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 268px; align-items: start; gap: 24px; }
.collection { padding: 25px 26px; min-width: 0; }
h2 { font-size: 17px; margin: 0; letter-spacing: -.3px; font-weight: 650; }
h3 { font-size: 15px; margin: 0; font-weight: 650; }
.list-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 19px; }
.tiny-note { color: #a89eaa; font-size: 10px; }
#total-count { display: inline-block; padding: 3px 8px; margin-left: 5px; background: var(--accent-soft); color: var(--accent); border-radius: 6px; font-size: 11px; }
#search { background: #f8f6fa; font-size: 12px; padding: 11px 12px; }
.filter-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 16px 0 20px; flex-wrap: wrap; }
.filters { display: flex; gap: 2px; background: #f2efed; padding: 3px; border-radius: 9px; }
.filters button { border: 0; background: transparent; padding: 8px 11px; border-radius: 6px; font-size: 10px; color: #8e8295; }
.filters button[aria-pressed="true"] { background: white; color: var(--accent); box-shadow: 0 1px 4px #0000000a; font-weight: 600; }
#kind-filter { font-size: 10px; padding: 8px; background: transparent; border-color: var(--line); }
ul { list-style: none; padding: 0; margin: 0; }
.task { display: flex; align-items: flex-start; gap: 12px; padding: 17px 15px; margin-bottom: 12px; border: 1px solid #e8e2ee; border-left: 3px solid #c8b4e2; border-radius: 12px; background: #f9f6fd; animation: appear .2s ease-out; }
.kind-idea { background: #fff9ef; border-color: #efe5d3; border-left-color: #e7c38c; }
.kind-link { background: #f0f6fb; border-color: #dfe8ef; border-left-color: #a8c3de; }
.kind-shopping { background: #f0f6ed; border-color: #dfe9d8; border-left-color: #aec99b; }
.task.important { border-left-color: #bf7954; }
.task > input { flex: none; width: 18px; height: 18px; padding: 0; margin: 3px 0 0; accent-color: var(--accent); cursor: pointer; }
.task-content { flex: 1; min-width: 0; }
.task-text { display: block; text-align: left; width: 100%; padding: 0; border: 0; background: transparent; color: #44394f; font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.task-text:hover { color: var(--accent-dark); text-decoration: underline; }
.task.completed .task-text { text-decoration: line-through; color: #998f9d; }
.task.completed { opacity: .75; }
.task-meta { display: block; color: #9a8ba4; font-size: 10px; line-height: 1.7; margin-top: 5px; }
.card-preview { font-size: 12px; color: #897d92; line-height: 1.6; margin: 8px 0 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.delete-button { flex-shrink: 0; width: 27px; height: 27px; border: 0; border-radius: 7px; background: transparent; color: #b0a3b8; font-size: 21px; padding: 0; }
.delete-button:hover { background: #f9e6e3; color: #ab5a53; }
.card-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.card-link { display: inline-block; max-width: 100%; border: 1px solid #0000000b; border-radius: 6px; background: #ffffff90; padding: 5px 9px; color: #706280; text-decoration: none; font-size: 10px; overflow-wrap: anywhere; }
.card-link:hover { text-decoration: underline; }
.task-tags { color: var(--accent); font-size: 10px; margin: 8px 0 0; overflow-wrap: anywhere; }
.checklist-progress { display: block; font-size: 10px; color: #8d8295; margin-top: 12px; }
.checklist { margin-top: 7px; }
.checklist label { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; font-weight: 400; line-height: 1.6; margin: 4px 0; cursor: pointer; }
.checklist input { accent-color: var(--accent); flex: none; margin: 3px 0 0; width: 14px; height: 14px; }
.checklist span { overflow-wrap: anywhere; }
.checked-item { text-decoration: line-through; color: #9d94a4; }
.empty-state { text-align: center; padding: 32px 12px 40px; }
.empty-icon { display: grid; place-items: center; margin: 0 auto 16px; width: 62px; height: 62px; border-radius: 20px 20px 5px 20px; background: var(--accent-soft); color: var(--accent); font-size: 35px; transform: rotate(-5deg); }
.empty-state h3 { margin-bottom: 10px; }
.empty-state p { color: #9b8fa2; font-size: 12px; line-height: 1.8; margin: 0 auto; max-width: 250px; }
.panel-footer { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: #9a8e9f; margin: 20px 0 10px; }
progress { display: block; width: 100%; height: 4px; border: 0; border-radius: 10px; overflow: hidden; background: #eee8f2; accent-color: var(--accent); }
progress::-webkit-progress-bar { background: #eee8f2; }progress::-webkit-progress-value { background: #b8a4d4; border-radius: 10px; }progress::-moz-progress-bar { background: #b8a4d4; }
.day-intro { padding: 2px 3px 17px; }
.day-intro h2 { font-size: 17px; margin-top: 10px; }
.day-intro p { font-size: 11px; color: var(--muted); margin: 8px 0; }
.text-button { border: 0; background: transparent; color: var(--accent); font-size: 11px; padding: 5px 0; text-decoration: underline; text-underline-offset: 3px; }
.tracker-card { border: 1px solid #dbe6ea; border-radius: 18px; padding: 21px; margin-bottom: 18px; }
.water-card { background: #eaf3f7; }.weight-card { background: #f8ece3; border-color: #edddd0; }
.card-heading { display: flex; gap: 10px; align-items: center; }
.card-heading h3 { font-size: 13px; }.tracker-icon { font-size: 21px; }
.tracker-caption { font-size: 11px; color: #8a93a0; margin: 10px 0; }
.tracker-value { color: #537a92; margin-top: 14px; }.tracker-value strong { font-size: 36px; font-weight: 600; letter-spacing: -1px; }.tracker-value > span { font-size: 14px; }
.water-drops { color: #6e9fbb; display: flex; gap: 7px; min-height: 17px; flex-wrap: wrap; margin: 10px 0 17px; }.water-drop { font-size: 12px; }
.water-actions { display: flex; gap: 5px; margin-bottom: 16px; }
.water-actions button { padding: 9px 7px; border: 1px solid #cddfe7; background: #ffffff7d; color: #52778c; border-radius: 8px; font-size: 10px; }
.water-actions #water-plus { flex: 1; background: #6e98ae; color: white; border-color: #6e98ae; }
#glass-size { width: 65px; padding: 5px; background: #ffffff65; font-size: 11px; border-color: #d6e3e9; }
.custom-water { display: flex; gap: 5px; margin-top: 12px; }.custom-water input { padding: 8px 10px; font-size: 10px; background: #ffffff70; }.custom-water button { border: 1px solid #cddfe7; border-radius: 7px; background: #ffffff90; color: #52778c; width: 35px; }
.weight-input { display: flex; align-items: center; gap: 8px; margin: 8px 0 13px; }.weight-input input { width: 140px; font-size: 32px; color: #a67a5b; border: 0; padding: 0; background: transparent; font-weight: 600; }.weight-input > span { color: #ad927e; font-size: 14px; }
#weight-note { background: #ffffff65; border-color: #eadbce; padding: 9px 10px; font-size: 10px; }
.weight-actions { display: flex; gap: 8px; margin-top: 10px; }.weight-actions button { background: #fff9f4; color: #9c7458; border: 1px solid #e8d6c7; border-radius: 7px; padding: 7px 12px; font-size: 10px; }.weight-actions button:first-child { flex: 1; }
.weight-history { margin-top: 14px; }.weight-history summary { font-size: 10px; color: #ac8b75; }.weight-history li { font-size: 10px; line-height: 1.8; margin: 6px 0; color: #9e7c64; overflow-wrap: anywhere; }
#weight-chart { color: #ad8061; }#weight-chart svg { width: 100%; height: auto; }
.gentle-note { text-align: center; color: #aaa0a9; font-size: 10px; line-height: 1.9; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 23px; }.calendar-header h2 { text-transform: capitalize; }
.calendar-header button, .detail-header button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: #faf7fb; color: var(--accent); font-size: 23px; }
.weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }.weekdays { text-align: center; color: #9b8ca4; font-size: 10px; margin-bottom: 10px; }
.calendar-day { position: relative; min-height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid #eee7f2; border-radius: 10px; background: #faf7fd; color: #72647f; padding: 6px 1px; font-size: 12px; }
.calendar-day:hover { background: var(--accent-soft); }.calendar-day.today { border-color: var(--accent); font-weight: 700; }.calendar-day[aria-pressed="true"] { background: var(--accent); color: white; border-color: var(--accent); }
.day-count { font-size: 9px; padding: 2px 3px; background: #eae1f4; color: #89709f; border-radius: 4px; }.calendar-day[aria-pressed="true"] .day-count { background: #ffffff25; color: white; }
.journal-dot { position: absolute; top: 3px; right: 5px; font-size: 10px; }.calendar-legend { color: #9a8b9f; font-size: 10px; line-height: 1.6; }
.selected-day { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 16px 0 25px; padding: 13px; border-radius: 10px; background: var(--accent-soft); }.selected-day p { margin: 0; font-size: 12px; font-weight: 600; }.selected-day button { border: 0; border-radius: 7px; background: #ffffff90; color: var(--accent-dark); font-size: 10px; padding: 9px; }
#journal-panel { margin-top: 10px; }#calendar:not([hidden]) ~ #journal-panel { border-top: 1px dashed var(--line); margin-top: 25px; padding-top: 25px; }
.journal-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }.journal-mark { font-size: 31px; color: var(--accent); background: var(--accent-soft); border-radius: 14px 14px 4px 14px; padding: 8px 14px; }.journal-heading .eyebrow { font-size: 9px; margin-bottom: 8px; }
#journal-panel > input { margin-bottom: 20px; }#journal-title { font-size: 17px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 9px 0; }.mood-row { margin: 3px 0 20px; }.mood-row select { width: 100%; background: #faf7fc; font-size: 12px; }
textarea { display: block; resize: vertical; line-height: 1.7; margin-bottom: 16px; font-size: 13px; }
#journal-body { background: repeating-linear-gradient(transparent, transparent 31px, #e8e1ef 31px, #e8e1ef 32px); line-height: 32px; border: 0; padding: 0 4px; border-radius: 0; font-size: 14px; min-height: 320px; }
.journal-footer { display: flex; justify-content: space-between; gap: 10px; align-items: center; }.journal-footer > span { font-size: 10px; color: #9c8baa; }.journal-result { padding: 15px; background: #f8f2e8; border-radius: 12px; margin: 12px 0; }.journal-result .task-text { font-size: 12px; }
dialog { width: min(600px, calc(100% - 28px)); max-height: calc(100dvh - 40px); border: 1px solid var(--line); border-radius: 20px; padding: 28px; color: #393445; background: var(--paper); box-shadow: 0 20px 70px #34253b33; }
dialog::backdrop { background: #32253b55; backdrop-filter: blur(4px); }.detail-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 23px; }.detail-header .eyebrow { font-size: 9px; margin-bottom: 7px; }
dialog input:not([type="checkbox"]), dialog select { width: 100%; margin-bottom: 17px; }dialog textarea { width: 100%; }.schedule-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 15px 0; }.schedule-fields input, .schedule-fields select { width: 100%; margin-bottom: 0; }
.detail-actions { display: flex; justify-content: flex-end; gap: 10px; }.detail-actions > button:first-child { border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--muted); padding: 12px 16px; font-size: 12px; }
.snooze-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 20px; }.snooze-row span { font-size: 10px; color: var(--muted); }.snooze-row button { border: 1px solid var(--line); border-radius: 6px; background: #f7f3fa; padding: 6px 9px; font-size: 10px; color: var(--accent); }
#detail-status, #settings-status { font-size: 12px; color: var(--accent); line-height: 1.7; }.settings-section-title { margin: 23px 0 14px; }.toggle-label { display: flex; gap: 10px; align-items: center; padding: 6px 0; }.toggle-label input { accent-color: var(--accent); width: 17px; height: 17px; }.settings-copy { font-size: 12px; color: var(--muted); line-height: 1.8; }.import-label { margin-top: 23px; }
#status { min-height: 20px; text-align: center; font-size: 12px; color: var(--accent); margin: 18px 0 0; }.storage-note { text-align: center; color: #aaa0ac; font-size: 10px; line-height: 1.7; margin-top: 7px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) { .app { padding: 48px 60px; }.workspace { grid-template-columns: minmax(0, 1fr) 300px; }.tracker-card { padding: 25px; } }
@media (max-width: 1180px) { .app-shell { grid-template-columns: 200px minmax(0, 1fr); }.sidebar { padding: 30px 16px; }.app { padding: 32px 26px; }.workspace { grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; }.collection { padding: 22px 18px; }.tracker-card { padding: 18px; }.page-header { flex-wrap: wrap; }.tiny-note { display: none; }.overview-card { padding: 16px; gap: 10px; } }
@media (max-width: 940px) { .app-shell { grid-template-columns: 170px minmax(0, 1fr); }.brand { font-size: 17px; }.brand-icon { width: 31px; height: 36px; font-size: 24px; }.brand small { font-size: 7px; }.sidebar { padding: 28px 13px; }.view-switch button { font-size: 12px; padding: 12px 10px; gap: 7px; }.app { padding: 30px 22px; }.workspace { grid-template-columns: minmax(0, 1fr); }.day-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }.day-intro, .gentle-note { grid-column: 1 / -1; }.day-intro { padding-bottom: 0; }.tracker-card { margin-bottom: 0; }.overview-card { padding: 14px 10px; gap: 8px; }.overview-icon { width: 30px; height: 34px; font-size: 20px; }.overview-card strong { font-size: 22px; }.overview-card div > span { font-size: 9px; } }
@media (max-width: 650px) { .app-shell { display: block; }.sidebar { position: relative; height: auto; padding: 20px 18px 0; border-right: 0; background: transparent; }.brand { font-size: 20px; }.brand small { font-size: 8px; }.brand-icon { width: 35px; height: 39px; }.nav-label, .sidebar-note, .local-note { display: none; }.settings-button { position: absolute; top: 20px; right: 18px; font-size: 0; width: 40px; height: 40px; padding: 0; border-radius: 12px; background: #ece6f3; }.settings-button::before { content: '⚙'; font-size: 22px; color: var(--accent); }.view-switch { position: fixed; z-index: 5; bottom: 0; left: 0; right: 0; flex-direction: row; gap: 4px; border-top: 1px solid #e7deee; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fffdf9f5; backdrop-filter: blur(12px); }.view-switch button { flex: 1; display: flex; justify-content: center; flex-direction: column; gap: 2px; padding: 6px; font-size: 10px; }.view-switch button span { font-size: 19px; }.view-switch button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-dark); box-shadow: none; }.app { padding: 28px 16px 100px; }.page-header { gap: 14px; margin-bottom: 22px; }h1 { font-size: 30px; letter-spacing: -1px; }.subtitle { font-size: 12px; }.journal-shortcut { font-size: 11px; padding: 10px 12px; }.overview { gap: 7px; margin-bottom: 18px; }.overview-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 13px 12px; border-radius: 13px; }.overview-icon { width: 28px; height: 28px; font-size: 17px; border-radius: 9px; }.overview-card strong { font-size: 23px; }.overview-card div > span { font-size: 9px; line-height: 1.5; }.capture { padding: 20px 16px; margin-bottom: 18px; border-radius: 16px; }.input-row { gap: 8px; }#task-input { padding: 13px 11px; font-size: 12px; }.add-button { padding: 12px 14px; font-size: 12px; }.capture-options { gap: 10px; }.capture-options details { min-width: 180px; }.template-row { gap: 5px; }.template-row > span { width: 100%; }.collection { padding: 22px 16px; border-radius: 16px; }.task { padding: 14px 11px; gap: 9px; }.task-text { font-size: 13px; }.task-meta { font-size: 9px; }.filter-row { gap: 8px; }.filters button { padding: 8px 9px; }.day-sidebar { gap: 12px; }.tracker-card { padding: 16px 12px; }.card-heading { gap: 6px; }.card-heading h3 { font-size: 11px; }.tracker-icon { font-size: 18px; }.tracker-value strong { font-size: 30px; }.water-actions { flex-wrap: wrap; }.water-actions button { font-size: 9px; padding: 8px 6px; }.water-actions #water-bottle { width: 100%; }.weight-input input { width: 95px; font-size: 28px; }.weight-actions { gap: 4px; }.weight-actions button { padding: 7px; font-size: 9px; }.calendar-day { min-height: 58px; }.weekdays, .calendar-days { gap: 3px; }.day-count { font-size: 8px; padding: 2px; }.selected-day { flex-direction: column; align-items: stretch; }.selected-day button { padding: 11px; }.journal-heading { gap: 10px; }.journal-heading h2 { font-size: 15px; }.journal-footer { flex-wrap: wrap; }dialog { padding: 22px 18px; }.detail-actions { flex-wrap: wrap; }.schedule-fields label { font-size: 11px; }.schedule-fields input { padding: 11px 8px; } }
@media (max-width: 360px) { .day-sidebar { grid-template-columns: 1fr; }.input-row { flex-direction: column; }.overview-card { padding: 12px 9px; }.capture-options details { min-width: 100%; }.filters button { padding: 7px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 650px) { h1 { font-size: 28px; } }
/* Kişisel arşiv, türe özel formlar ve özel gün sayfaları */
.kind-label { color: var(--muted); font-size: 12px; }
.kind-select { width: 100%; max-width: 360px; background: var(--accent-soft); border-color: transparent; font-size: 14px; font-weight: 600; padding: 12px 14px; }
.capture-hint { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 10px 0 18px; }
#capture-type-fields { width: 100%; min-width: 0; }
#capture-type-fields input, #capture-type-fields textarea { width: 100%; margin-bottom: 12px; }
.capture-extra { width: 100%; }
.capture-extra > div > input { margin-bottom: 16px; }
.capture-options > details { flex: auto; width: 100%; }
.product-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(50px, .7fr) minmax(55px, .7fr) 28px; gap: 8px; align-items: center; margin-bottom: 8px; }
.product-row input { margin: 0 !important; }
.soft-button { border: 1px solid var(--line); background: #ffffffaa; color: var(--accent-dark); padding: 9px 12px; border-radius: 9px; font-size: 12px; }
.soft-button:hover { background: var(--accent-soft); }
.menu-card { background: #f9efdf; border-color: #ede1cb; }
.shopping-card { background: #edf3e7; border-color: #dce7d3; }
.note-card { background: #eee8f8; border-color: #e0d5ec; }
.menu-card > button, .shopping-card > button, .note-card > button { width: 100%; margin-top: 10px; }
.mini-entry { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #00000012; font-size: 13px; overflow-wrap: anywhere; }
.mini-entry .text-button { text-align: left; font-size: 12px; line-height: 1.6; }
.small-empty { color: var(--muted); font-size: 12px; line-height: 1.7; }
.kind-meal { background: #fff5e6; border-color: #f0e2c9; border-left-color: #dbb572; }
.body-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.body-fields input { width: 100%; padding: 9px 8px; font-size: 12px; background: #ffffff77; border-color: #e8d8cc; }
.body-fields label, #weight-form > label { font-size: 11px; }
#body-sex { width: 100%; font-size: 12px; padding: 9px 8px; background: #ffffff77; margin-bottom: 10px; border-color: #e8d8cc; }
.adult-check { font-size: 11px; line-height: 1.5; margin-bottom: 12px; }
.body-results { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8px; border-top: 1px solid #e8d8cc; margin-top: 16px; padding-top: 14px; }
.body-results > div { background: #ffffff66; border-radius: 10px; padding: 10px; }
.body-results span { display: block; color: #9c7c67; font-size: 10px; line-height: 1.5; }
.body-results strong { display: block; color: #a47758; font-size: 20px; margin-top: 7px; font-weight: 650; }
.body-method p, .body-method a { font-size: 11px; line-height: 1.7; color: #91735f; }
.body-method summary { font-size: 11px; }
.card-option { border: 1px solid var(--line); padding: 9px 12px; border-radius: 12px; margin: 8px 0; }
.card-option small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.6; }
.card-option .toggle-label { margin: 0; }
.sort-row { display: flex; align-items: center; gap: 7px; padding: 8px 0; font-size: 12px; }
.sort-row > span { flex: 1; }
.sort-row button { padding: 6px 10px; }
#personal-cards .gentle-note { order: 20; }
.journal-photos { padding: 20px 0; margin: 20px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.photo-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
#photo-count { color: var(--accent); font-size: 12px; }
.photo-upload { display: block; text-align: center; border: 1px dashed #c6b5db; background: var(--accent-soft); color: var(--accent-dark); border-radius: 12px; padding: 20px; cursor: pointer; }
.photo-upload:hover { border-style: solid; }
.photo-help { color: var(--muted); font-size: 11px; line-height: 1.7; margin: 12px 0; }
#journal-photo-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.photo-thumb { display: block; width: 100%; padding: 0; background: transparent; border: 0; border-radius: 11px; overflow: hidden; }
.photo-thumb img { display: block; width: 100%; height: 130px; object-fit: cover; }
.photo-item input { width: 100%; font-size: 11px; padding: 8px; margin-top: 8px; }
.photo-controls { display: flex; align-items: center; gap: 5px; margin-top: 7px; flex-wrap: wrap; }
.photo-controls button { font-size: 11px; padding: 5px 8px; }
.private-toggle { padding: 12px; background: var(--accent-soft); border-radius: 10px; }
.journal-footer { margin-top: 20px; align-items: flex-start; }
.journal-footer > div { display: flex; gap: 12px; flex-wrap: wrap; }
#lock-journal { color: var(--accent-dark); }
.locked-page { padding: 35px 18px; margin-bottom: 20px; text-align: center; background: var(--accent-soft); border: 1px dashed #c6b5db; border-radius: 18px; }
.locked-page > span { font-size: 40px; display: block; margin-bottom: 18px; }
.locked-page p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.picker-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); background: #f8f5fa; border-radius: 10px; margin: 8px 0; cursor: pointer; font-size: 13px; line-height: 1.6; }
.picker-row input { margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--accent); flex: none; }
.picker-row span { overflow-wrap: anywhere; }
.picker-section { margin: 18px 0 10px; }
#picker-content { margin-bottom: 20px; }
#picker-content textarea { width: 100%; margin-top: 15px; }
#picker-status, #password-error { font-size: 12px; color: var(--accent-dark); line-height: 1.7; }
.unsaved-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
#photo-viewer { width: min(900px, calc(100% - 24px)); padding: 12px; }
#photo-viewer img { display: block; max-width: 100%; max-height: 80dvh; margin: auto; object-fit: contain; border-radius: 10px; }
#close-photo-viewer { display: block; margin-left: auto; border: 0; background: var(--accent-soft); color: var(--accent); border-radius: 8px; font-size: 23px; width: 35px; height: 35px; margin-bottom: 10px; }
:root[data-density="compact"] .capture { padding: 18px; }
:root[data-density="compact"] .task { padding: 12px; margin-bottom: 8px; }
:root[data-density="compact"] .tracker-card { padding: 15px; margin-bottom: 12px; }
:root[data-density="compact"] .overview-card { padding: 12px; }
@media (max-width: 650px) { .product-row { grid-template-columns: minmax(0, 1.5fr) minmax(45px, .7fr) minmax(45px, .7fr) 25px; gap: 5px; }.product-row input { font-size: 12px; padding: 10px 7px; }#capture-type-fields textarea { min-height: 120px; }#journal-photo-list { gap: 7px; }.photo-thumb img { height: 85px; }.photo-item input { font-size: 10px; padding: 7px 4px; }.photo-controls { gap: 2px; }.photo-controls button { font-size: 10px; padding: 5px; }.body-fields { grid-template-columns: 1fr; }.body-results { grid-template-columns: 1fr; }.adult-check { font-size: 10px; }.journal-footer { flex-direction: column; }.kind-select { max-width: none; }.day-sidebar { grid-template-columns: 1fr; }.body-fields { grid-template-columns: 1fr 1fr; }.body-results { grid-template-columns: 1fr 1fr; } }
.picker-row { flex-wrap: wrap; }
.picker-row input[type="text"] { width: 100%; margin: 6px 0 0 29px; padding: 8px 10px; font-size: 12px; background: white; }
#journal-panel > input { width: 100%; margin-bottom: 22px; }
#journal-editor { min-width: 0; }
#journal-editor > input { width: 100%; margin-bottom: 20px; }
@media (max-width: 650px) { .card-heading h3 { font-size: 14px; }.tracker-caption { font-size: 12px; }.tracker-card { padding: 20px; }.body-fields label { font-size: 12px; }.body-results span { font-size: 12px; }.adult-check { font-size: 12px; } }
.card-description { display: block; color: var(--muted); font-size: 11px; line-height: 1.6; margin: 0 0 5px 27px; }
