@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:ital,wght@0,600;1,600&display=swap');
:root{--ink:#44243b;--paper:#fffaf5;--pink:#f9d8e7;--lavender:#eee4f7;--line:#e8dbe3;--muted:#8b7484}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px 'DM Sans',Arial,sans-serif}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.preview-strip{position:relative;z-index:2;background:var(--ink);color:#fff3fa;text-align:center;padding:11px 20px;font-size:10px;letter-spacing:1px}.preview-strip span{margin-left:18px;font-size:11px;letter-spacing:0;color:#e4cddc}.sidebar{position:fixed;top:36px;bottom:0;width:230px;background:#f8eef3;border-right:1px solid var(--line);padding:35px 24px;display:flex;flex-direction:column}.brand{font-size:29px;line-height:.92;letter-spacing:-1.5px;font-weight:700;position:relative;width:max-content}.brand>span{position:absolute;right:-30px;top:0;color:#bf5b8b;font-size:34px}.cohort-tag{background:#fffbf7;border:1px solid var(--line);border-radius:17px;padding:18px 14px;margin:40px 0 25px;display:flex;flex-direction:column;gap:9px}.tiny,.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.5px}.cohort-tag strong{font-size:14px}.cohort-tag>span:last-child{font-size:10px;color:var(--muted)}nav{display:grid;gap:8px}nav button{border:0;background:none;text-align:left;padding:13px 10px;border-radius:12px;color:#806275;font-size:12px}nav button span{font-size:18px;margin-right:10px}nav button.active{background:#f0d5e4;color:var(--ink);font-weight:700}.sidebar-note{margin-top:auto;padding:35px 8px 25px}.sidebar-note>span{font:27px/1.2 'Fraunces',Georgia,serif}.sidebar-note em{color:#a14e78}.sidebar-note p{font-size:11px;line-height:1.7;color:var(--muted)}.profile{border-top:1px solid var(--line);padding-top:20px;display:flex;align-items:center;gap:12px}.profile>div{display:flex;flex-direction:column;gap:6px}.profile strong{font-size:12px}.profile small,.profile>div>span{font-size:9px;font-weight:400;color:var(--muted)}.avatar{display:inline-grid;place-items:center;width:37px;height:37px;border-radius:50%;font-weight:700;font-size:11px;flex-shrink:0;background:#f4d5e3}.avatar.pink{background:#f4ccdf}.avatar.lavender{background:#e5d9f1}.avatar.peach,.avatar.you{background:#f7dccb}.avatar.yellow{background:#f8ecc3}.avatar.sage{background:#dfe9d6}main{margin-left:230px;max-width:1600px;padding:45px 4% 20px}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.eyebrow{color:#a26787}h1,h2,h3,p{margin:0}h1{font:600 clamp(44px,4.7vw,69px)/1.06 'Fraunces',Georgia,serif;letter-spacing:-2px;margin-top:14px}h1 em{color:#a3567c}h1+p{font-size:12px;color:var(--muted);margin-top:18px;line-height:1.7}.day-mark{height:110px;width:110px;border-radius:50%;background:var(--pink);display:grid;place-content:center;text-align:center;transform:rotate(9deg)}.day-mark span,.day-mark small{font-size:9px;letter-spacing:2px}.day-mark strong{font:48px/1.1 'Fraunces',Georgia,serif}.checkin-banner{background:#f4eaf8;border:1px solid #e3d3ed;border-radius:20px;padding:23px;display:flex;align-items:center;gap:18px;margin-bottom:25px}.checkin-spark{font-size:43px;color:#a56eab}.checkin-banner h2{font:600 21px 'Fraunces',Georgia,serif;margin-top:8px}.checkin-banner p{font-size:11px;line-height:1.7;color:#8b748c;margin-top:8px}.primary{background:var(--ink);color:#fff5fb;border:1px solid var(--ink);border-radius:30px;padding:14px 20px;font-size:11px;white-space:nowrap}.primary span{margin-left:15px}.checkin-banner .primary{margin-left:auto}.money-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:35px}.money-cards article{border:1px solid var(--line);border-radius:17px;padding:20px 18px;background:#fffdfb;display:flex;flex-direction:column;gap:13px}.money-cards article.pink{background:var(--pink);border-color:#efc5da}.money-cards article.lavender{background:#f4edf8}.money-cards article>span{font-size:8px;letter-spacing:1px;font-weight:700}.money-cards strong{font:600 clamp(27px,2.7vw,40px) 'Fraunces',Georgia,serif;letter-spacing:-1px}.money-cards small,.money-cards button{font-size:9px;color:#896e80}.money-cards button{border:0;background:none;text-align:left;padding:0;text-decoration:underline;align-self:start}.tabs-bar{border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px}.tabs{display:flex;gap:25px}.tabs button{border:0;background:none;padding:0 0 17px;color:#9a8594;font-size:12px;position:relative}.tabs button[aria-selected=true]{color:var(--ink);font-weight:700}.tabs button[aria-selected=true]:after{content:'';position:absolute;height:3px;border-radius:3px;background:#bb7096;bottom:-1px;left:0;right:0}.tabs button>span{margin-left:5px;background:#f0e4ee;padding:2px 6px;border-radius:8px;font-size:9px}.closed-day{font-size:9px;color:#987c8f;margin-bottom:15px}.section-top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:27px 0 22px}.section-top h2{font:600 25px 'Fraunces',Georgia,serif;letter-spacing:-.5px}.section-top p{font-size:10px;line-height:1.8;color:var(--muted);margin-top:9px}.sample-pill{font-size:8px;letter-spacing:1px;background:#f3ecef;padding:8px 11px;border-radius:20px;white-space:nowrap}.table-scroll{overflow:auto;border:1px solid var(--line);border-radius:17px;background:#fffdfb}table{border-collapse:collapse;width:100%;min-width:820px;text-align:left}thead{background:#faf2f6}th,td{padding:18px 14px;border-bottom:1px solid var(--line)}thead th{font-size:8px;font-weight:600;letter-spacing:.4px;color:#9a8091;white-space:nowrap}thead th span{display:block;font-size:7px;margin-top:5px}tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}tbody th{font-weight:400}.identity{display:flex;align-items:center;gap:9px}.rank{font-size:9px;color:#b098a7}.identity strong{font-size:11px;white-space:nowrap}.identity>div{display:flex;flex-direction:column;gap:6px}.text-button{border:0;background:none;text-align:left;padding:0;color:#a66e8e;font-size:8px}.rep-dots{display:flex;gap:4px}.rep-dots>span{width:17px;height:21px;border-radius:5px;font-size:9px;display:grid;place-items:center}.rep-dots .done{background:#f2cddd;color:#824264}.rep-dots .missed{background:#eee6e9;color:#af95a4}.rep-dots .pending{border:1px dashed #d4bdcc;color:#aa8e9e;background:transparent}.rep-caption{display:block;margin-top:7px;font-size:8px;color:#a18a98}tbody td{font-size:11px;font-variant-numeric:tabular-nums}.positive{color:#638264}.negative{color:#b47690}.return{font-weight:700}.your-row{background:#fff4e9}.table-footer{display:flex;justify-content:space-between;gap:15px;padding:15px 0;font-size:9px;color:#a18a98}.legend{display:flex;gap:15px}.legend>span{display:flex;align-items:center;gap:5px}.legend i{height:8px;width:8px;border-radius:2px;background:#f2cddd}.legend i.missed{background:#eee6e9}.legend i.pending{background:transparent;border:1px dashed #bd9fb0}.how-money{padding:20px;background:#faf0f4;border-radius:16px;margin:8px 0 20px;display:flex;gap:15px}.how-money>span{font-size:25px;color:#ad7090}.how-money strong{font-size:11px}.how-money p{font-size:10px;line-height:1.8;margin-top:8px;color:#96798b}.secondary{background:#fffaf6;border:1px solid #d9bdcc;border-radius:25px;padding:11px 16px;font-size:10px;color:var(--ink)}.feed-tools{display:flex;gap:15px;margin-bottom:22px}.search{display:flex;gap:10px;align-items:center;flex:1;border:1px solid var(--line);border-radius:12px;padding:10px 14px;background:#fffdfb}.search>span{font-size:23px;color:#a57a91}.search input{border:0;outline:none;width:100%;background:none;font-size:11px;color:var(--ink)}select{border:1px solid var(--line);background:#fffdfb;border-radius:12px;padding:12px;font-size:11px;color:var(--ink)}.writing-feed{display:grid;grid-template-columns:1fr 1fr;gap:17px}.writing-card{border:1px solid var(--line);background:#fffdfb;border-radius:20px;padding:23px}.post-head{display:flex;align-items:center;gap:10px}.post-head>div{display:flex;flex-direction:column;gap:5px}.post-head strong{font-size:11px}.post-head>div>span{font-size:9px;color:var(--muted)}.post-time{margin-left:auto;font-size:8px;color:#a27b91;white-space:nowrap}.writing-card h3{font:600 23px/1.2 'Fraunces',Georgia,serif;margin-top:24px;letter-spacing:-.5px}.post-text{font-size:12px;line-height:1.9;white-space:pre-wrap;margin:17px 0 20px;color:#786071;overflow-wrap:anywhere}.draft-tag{font-size:8px;border-radius:12px;background:#f2eaf4;padding:6px 10px;color:#987b91}.sharing-note{font-size:10px;line-height:1.7;color:#9c8192;margin:23px 0}.empty{grid-column:1/-1;text-align:center;border:1px dashed var(--line);padding:50px 25px;border-radius:15px;color:var(--muted);font-size:12px;line-height:1.8}.page-footer{margin-top:30px;border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;gap:15px;font-size:8px;color:#a88f9e;letter-spacing:.7px}dialog{width:calc(100% - 32px);max-width:500px;border:1px solid #d9bdcc;border-radius:24px;background:var(--paper);color:var(--ink);padding:35px;box-shadow:0 25px 100px #44243b30}dialog::backdrop{background:#44243b66;backdrop-filter:blur(3px)}dialog h2{font:600 38px/1.13 'Fraunces',Georgia,serif;letter-spacing:-1px;margin:17px 0 25px}dialog h2 em{color:#a85d84}.dialog-close{position:absolute;top:13px;right:17px;background:none;border:0;color:#a18697;font-size:27px}.check{display:flex;gap:12px;align-items:flex-start;font-size:12px;line-height:1.8;margin:20px 0}.check input{accent-color:#a85d84;margin-top:5px;width:16px;height:16px;flex-shrink:0}.field-label{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;margin-bottom:10px}.field-label small{font-size:8px;color:var(--muted)}textarea{resize:vertical;width:100%;border:1px solid #dbc3d1;background:#fffdfb;border-radius:12px;padding:15px;color:var(--ink);font-size:12px;line-height:1.8}.dialog-note{font-size:10px;line-height:1.9;color:#9c8092;margin:20px 0}.full{width:100%}.balance-line{display:flex;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);font-size:12px}.balance-line:last-child{font-size:17px;border-bottom:0;padding-bottom:0}#draft-error{font-size:11px;color:#a5265e;margin-top:12px}#toast:empty{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff3fa;padding:16px 23px;border-radius:14px;font-size:11px;max-width:calc(100% - 30px);z-index:10}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b66c96;outline-offset:4px}@media(min-width:1700px){main{margin-left:230px;margin-right:auto;padding-left:70px;padding-right:70px}}@media(max-width:1100px){.sidebar{width:195px;padding:30px 18px}main{margin-left:195px;padding-left:25px;padding-right:25px}.money-cards{gap:9px}.money-cards article{padding:17px 13px}.money-cards article>span{font-size:7px}.money-cards strong{font-size:28px}.checkin-banner{gap:12px;padding:20px}.checkin-banner h2{font-size:19px}.checkin-spark{display:none}.section-top h2{font-size:23px}.day-mark{width:90px;height:90px}.sample-pill{display:none}}@media(max-width:760px){.preview-strip{font-size:8px;padding:10px 12px;line-height:1.7}.preview-strip span{display:block;margin-left:0;font-size:9px}.sidebar{position:static;width:auto;padding:22px 5% 0;background:var(--paper);border:0}.brand{font-size:22px}.brand>span{font-size:26px;right:-25px}.cohort-tag,.sidebar-note,.profile{display:none}.sidebar nav{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-top:20px;padding-bottom:12px}.sidebar nav button{font-size:10px;padding:9px 10px}.sidebar nav button span{font-size:13px;margin-right:5px}.sidebar nav button:last-child{display:none}main{margin:0;padding:28px 5% 15px}.page-header{gap:15px;margin-bottom:25px}.eyebrow{font-size:8px;letter-spacing:1px}h1{font-size:44px;letter-spacing:-1.5px}h1+p{font-size:11px;max-width:240px;margin-top:14px}.day-mark{width:73px;height:73px;flex-shrink:0}.day-mark strong{font-size:33px}.day-mark span,.day-mark small{font-size:7px}.checkin-banner{display:block;padding:20px;border-radius:17px}.checkin-banner h2{font-size:22px;line-height:1.3}.checkin-banner p{font-size:11px}.checkin-banner .primary{margin-top:17px;width:100%;font-size:12px}.money-cards{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:25px}.money-cards article{padding:19px 16px}.money-cards article>span{font-size:8px}.money-cards strong{font-size:34px}.money-cards small,.money-cards button{font-size:9px}.tabs-bar{display:block}.tabs{gap:24px}.tabs button{font-size:12px;padding-bottom:14px}.closed-day{margin:13px 0;font-size:9px}.section-top{padding-top:25px;align-items:start}.section-top h2{font-size:25px;line-height:1.2}.section-top p{font-size:10px}.table-footer{display:block;line-height:1.8}.legend{margin-bottom:7px}.how-money{padding:19px}.how-money strong{font-size:11px;line-height:1.7}.writing-feed{grid-template-columns:1fr}.feed-tools{display:block}.feed-tools select{width:100%;margin-top:10px}.writing-card{padding:21px}.writing-card h3{font-size:25px}.post-text{font-size:13px}.section-top .secondary{font-size:9px;white-space:nowrap;padding:10px}.page-footer{display:block;font-size:7px;line-height:1.9}.page-footer>span{display:block;margin-bottom:7px}dialog{padding:28px 23px}dialog h2{font-size:34px}#toast{bottom:15px;width:max-content;text-align:center;line-height:1.7}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Keep the preview plain and readable. */
h1{font:700 36px/1.2 'DM Sans',Arial,sans-serif;letter-spacing:-1px;margin-top:0}.page-header{margin-bottom:25px}.day-mark{border-radius:12px;transform:none;width:76px;height:76px;background:#f5e9f0}.day-mark strong{font:700 30px/1.1 'DM Sans',Arial,sans-serif}.checkin-spark{display:none}.checkin-banner{background:#f7edf2;border-color:#e8d5df;border-radius:10px}.checkin-banner h2{font:700 19px/1.4 'DM Sans',Arial,sans-serif}.money-cards article{border-radius:10px}.money-cards strong{font:600 31px/1.3 'DM Sans',Arial,sans-serif;letter-spacing:-1px}.money-cards article.lavender{background:#fffdfb}.money-cards article.pink{background:#f6e5ee}.section-top h2{font:700 22px/1.4 'DM Sans',Arial,sans-serif}.cohort-tag{background:none;border:0;border-radius:0;padding:0;margin-top:35px}.profile{margin-top:auto}.table-scroll{border-radius:8px}.writing-card{border-radius:10px}.writing-card h3{font:600 20px/1.4 'DM Sans',Arial,sans-serif}.primary,.secondary{border-radius:8px}.money-rule{font-size:11px;color:#8b7484;margin:15px 0 20px}dialog h2{font:700 29px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:-.5px;margin-top:5px}.sample-pill{display:none}.eyebrow{letter-spacing:.7px}.page-footer{letter-spacing:0}@media(max-width:760px){h1{font-size:30px}.day-mark{width:65px;height:65px}.money-cards strong{font-size:30px}.sidebar nav button{border-radius:8px}.checkin-banner h2{font-size:20px}}

/* Match the existing site's palette. */
:root{--ink:#44243b;--paper:#fff8f2;--pink:#ffd4e5;--lavender:#eee3fa;--line:#decbd6;--muted:#786173}.sidebar{background:var(--paper)}.checkin-banner,.cohort-tag{background:var(--paper)}.money-cards article,.money-cards article.lavender{background:var(--paper)}.money-cards article.pink{background:var(--pink)}.avatar.pink,.avatar.peach,.avatar.yellow,.avatar.sage{background:var(--pink)}.avatar.lavender{background:var(--lavender)}.your-row{background:#fff8f2}.sidebar nav button.active{background:var(--pink)}.attachment-tabs{display:flex;gap:8px;margin:20px 0}.attachment-tabs button{flex:1;padding:11px;border:1px solid #decbd6;border-radius:8px;background:transparent;color:var(--ink);font-size:12px}.attachment-tabs button[aria-pressed=true]{background:var(--ink);color:var(--paper)}input[type=file]{width:100%;padding:14px;border:1px dashed #bd9aaf;border-radius:8px;font-size:12px;background:#fffcf9}.photo-note{font-size:11px;line-height:1.7;color:var(--muted);margin:9px 0 15px}#selected-photo{display:block;max-width:100%;max-height:220px;object-fit:contain;border-radius:8px;margin:14px auto}#photo-name{font-size:10px;overflow-wrap:anywhere;margin:8px 0}#photo-remove{font-size:12px}.post-image{display:block;width:100%;max-height:450px;object-fit:contain;border:1px solid var(--line);border-radius:8px;margin:17px 0 20px;background:#faf5f7}

.green-button{background:#237a49;color:#fff;border-color:#237a49;font-weight:700;font-size:15px;padding:18px 24px;box-shadow:0 3px 0 #155932}.green-button:hover{background:#1b683d}.green-button:active{transform:translateY(2px);box-shadow:0 1px 0 #155932}.checkin-banner .green-button{font-size:15px;min-width:170px}.reminders{border:1px solid var(--line);border-radius:8px;padding:17px 20px;margin:0 0 25px}.reminders summary{cursor:pointer;font-weight:600;font-size:12px}.reminders>p{font-size:11px;line-height:1.8;margin-top:15px;color:var(--muted)}.reminders .check{margin:13px 0}.reminders .reminder-preview{font-size:10px}.celebration-dialog{overflow:visible;border-color:#a8cbb3;padding:35px;max-width:460px;text-align:center}.celebration-content{position:relative;z-index:2}.big-check{display:grid;place-items:center;background:#e1f2e7;color:#237a49;border-radius:50%;width:85px;height:85px;margin:5px auto 22px;font-size:49px;animation:check-pop .5s ease-out}.celebration-dialog h2{font:700 53px/1.05 'DM Sans',Arial,sans-serif;letter-spacing:-2px;color:#237a49;margin:0 0 20px}.celebration-dialog p{font-size:17px;line-height:1.8;margin-bottom:27px}.celebration-dialog small{display:block;font-size:10px;color:var(--muted);margin-top:20px}#confetti{position:fixed;inset:0;pointer-events:none;z-index:1;overflow:hidden}.confetti-piece{position:absolute;left:var(--x);top:-30px;width:10px;height:16px;animation:confetti-fall 2.9s var(--delay) cubic-bezier(.2,.6,.4,1) both}@keyframes confetti-fall{0%{transform:translate3d(0,-30px,0) rotate(0);opacity:1}85%{opacity:1}100%{transform:translate3d(var(--drift),110vh,0) rotate(var(--turn));opacity:0}}@keyframes check-pop{0%{transform:scale(.5)}70%{transform:scale(1.12)}100%{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.confetti-piece,.big-check{animation:none}#confetti{display:none}}@media(max-width:760px){.celebration-dialog{padding:28px 22px}.celebration-dialog h2{font-size:48px}.green-button{font-size:14px;padding:17px}.celebration-dialog p{font-size:16px}}

#checkin-dialog{max-width:680px;padding:38px}#checkin-form>.check:first-of-type{gap:16px;align-items:center;margin:24px 0 28px;padding:18px;border:1px solid #decbd6;border-radius:10px}#wrote{width:32px;height:32px;min-width:32px;margin:0;accent-color:#237a49;cursor:pointer}#checkin-form>.check:first-of-type span{font-size:16px;line-height:1.6}#draft{min-height:250px;font-size:16px;line-height:1.8;padding:18px}@media(max-width:760px){#checkin-dialog{padding:28px 20px;max-height:calc(100dvh - 32px);overflow-y:auto}#wrote{width:32px;height:32px;min-width:32px}#checkin-form>.check:first-of-type{padding:14px;gap:13px}#checkin-form>.check:first-of-type span{font-size:15px}#draft{min-height:230px}}
/* Original black-and-lime palette. */
:root{--ink:#171815;--paper:#f3f1e9;--pink:#dfff00;--lavender:#e8eacb;--line:#d0d2c6;--muted:#626657}
body,.sidebar{background:var(--paper);color:var(--ink)}.preview-strip{background:var(--ink);color:var(--pink)}.preview-strip span{color:#d4d7c7}.brand>span,h1 em,.eyebrow{color:var(--ink)}.cohort-tag{background:transparent}.cohort-tag>span:last-child,.profile small,.profile>div>span,.sidebar-note p{color:var(--muted)}nav button{color:var(--muted)}nav button.active,.sidebar nav button.active{background:var(--pink);color:var(--ink)}.day-mark{background:var(--pink)}.checkin-banner{background:#e9ebd8;border-color:var(--line)}.checkin-banner p{color:var(--muted)}.money-cards article,.money-cards article.lavender{background:#fafaf3;border-color:var(--line)}.money-cards article.pink{background:var(--pink);border-color:#c4d600}.money-cards small,.money-cards button{color:var(--muted)}.avatar,.avatar.you,.avatar.pink,.avatar.peach,.avatar.yellow,.avatar.sage{background:#e0e6bc;color:var(--ink)}.avatar.lavender{background:#e5e6dc}.tabs button{color:var(--muted)}.tabs button[aria-selected=true]{color:var(--ink)}.tabs button[aria-selected=true]:after{background:var(--ink)}.tabs button>span{background:#e3e6d4;color:var(--ink)}.closed-day,.section-top p,.table-footer,.rep-caption,.sharing-note,.page-footer{color:var(--muted)}.table-scroll,.writing-card{background:#fafaf3}thead{background:#e9ebdf}thead th,.rank{color:var(--muted)}.text-button{color:#4b5716}.rep-dots .done{background:var(--pink);color:var(--ink)}.rep-dots .missed{background:#e4e4dc;color:#777c6a}.rep-dots .pending{border-color:#959d7e;color:#5b6446}.legend i{background:var(--pink)}.legend i.missed{background:#e4e4dc}.legend i.pending{background:transparent;border-color:#959d7e}.your-row{background:#f0f4cf}.positive{color:#386331}.negative{color:#a44231}.search,select,textarea{background:#fafaf3;border-color:var(--line);color:var(--ink)}.search>span,.post-head>div>span,.post-time,.post-text{color:var(--muted)}.draft-tag{background:#e7ead5;color:#4e5c36}.primary{background:var(--ink);border-color:var(--ink);color:var(--pink)}.secondary{background:var(--paper);border-color:#b0b69f;color:var(--ink)}dialog{background:var(--paper);border-color:#aeb59b}dialog::backdrop{background:#17181577}.dialog-close,.field-label small,.dialog-note{color:var(--muted)}.check input{accent-color:#237a49}.attachment-tabs button{border-color:#b3bba4;color:var(--ink)}.attachment-tabs button[aria-pressed=true]{background:var(--ink);color:var(--pink)}input[type=file]{background:#fafaf3;border-color:#a3ae86}.post-image{background:#e8eadf;border-color:var(--line)}#checkin-form>.check:first-of-type{border-color:#b9c0a9}.green-button{background:#237a49;border-color:#237a49;color:white;box-shadow:0 3px 0 #155932}.green-button:hover{background:#1b683d}.celebration-dialog{border-color:#8eac91}.big-check{background:#e1f2d7;color:#237a49}.celebration-dialog h2{color:#237a49}#toast{background:var(--ink);color:var(--paper)}#draft-error{color:#a44231}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-color:#6d8413}

.day-mark{width:105px;height:105px;gap:3px}.day-mark time{display:block;font-size:9px;font-weight:600;letter-spacing:0;margin-top:4px}@media(max-width:760px){.day-mark{width:88px;height:88px}.day-mark time{font-size:8px}}

#app-error{font-size:13px;color:#a44231;padding:15px}#app-error:empty{display:none}.rep-dots{max-width:660px}.green-button:disabled{opacity:.5;cursor:not-allowed}.post-head{margin-bottom:15px}

.writing-clock{border:1px solid var(--ink,#171815);padding:20px;margin:24px 0;text-align:center}.writing-clock output{display:block;font-size:64px;font-weight:800;line-height:1.2;font-variant-numeric:tabular-nums}.writing-clock button{border:1px solid #171815;background:#dfff00;color:#171815;padding:10px 22px;margin:12px 4px 0;cursor:pointer;font:inherit}.writing-clock button+button{background:transparent}.writing-clock p{font-size:14px;margin:12px 0 0}

.writing-reminders{margin:16px 0 0;padding-left:20px;max-width:540px;font-size:14px;line-height:1.6;color:var(--ink)}.writing-reminders li+li{margin-top:7px}

.writing-reminders{font-size:12px;line-height:1.5;max-width:500px;display:grid;grid-template-columns:1fr 1fr;gap:5px 24px;margin-top:12px;padding-left:16px}.writing-reminders li+li{margin-top:0}@media(max-width:480px){.writing-reminders{grid-template-columns:1fr;gap:3px;font-size:12px}}

.writing-reminders{display:block;max-width:560px;margin:12px 0 0;padding-left:17px;font-size:12px;line-height:1.55}.writing-reminders li{padding-left:2px}.writing-reminders li+li{margin-top:4px}

.checkin-banner{padding:20px 23px}.writing-reminders{display:block;columns:2;column-gap:30px;max-width:620px;font-size:12px;line-height:1.5;margin-top:10px;padding-left:17px}.writing-reminders li{break-inside:avoid;margin:0 0 5px;padding-left:1px}.writing-reminders li+li{margin-top:0}@media(max-width:480px){.writing-reminders{columns:1;max-width:none}}

.timer-duration{display:flex;align-items:center;justify-content:center;gap:10px;font-size:13px;font-weight:400;margin:0 0 10px}.timer-duration input{width:76px;padding:8px;border:1px solid var(--line);border-radius:4px;background:var(--paper);color:var(--ink);font:inherit;text-align:center}

.edit-writing{display:block;margin-top:15px;font-size:12px;text-decoration:underline;text-underline-offset:3px}

.rep-dots>button{width:17px;height:21px;border:0;border-radius:5px;padding:0;font-size:9px;display:grid;place-items:center;cursor:pointer}

.writing-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px;margin:0 0 12px}.writing-filters label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:var(--ink)}.writing-filters input,.writing-filters select{width:100%;min-width:0;height:44px;padding:10px 12px;border:1px solid var(--line);border-radius:5px;background:#fafaf3;color:var(--ink);font-size:14px;font-weight:400}.writing-results{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;color:var(--muted);font-size:12px}.writing-results .text-button{font-size:12px;text-decoration:underline;text-underline-offset:3px}.writing-day{grid-column:1/-1;font:600 15px/1.4 'DM Sans',Arial,sans-serif;margin:14px 0 0;padding-bottom:10px;border-bottom:1px solid var(--line)}.empty .secondary{display:block;margin:15px auto 0}@media(max-width:650px){.writing-filters{grid-template-columns:1fr 1fr;gap:12px}.writing-filters label:first-child{grid-column:1/-1}.writing-filters input,.writing-filters select{font-size:16px}.writing-day{margin-top:10px}}

.review-banner{background:#171815;color:white;padding:12px 20px;text-align:center;font:12px Arial,sans-serif}

.post-text.is-collapsed{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;max-height:11.4em}.read-writing{display:block;font-size:12px;margin:-8px 0 18px;text-decoration:underline;text-underline-offset:3px}.writing-pagination{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:18px;padding:24px 0;font-size:12px;color:var(--muted)}.writing-card{min-width:0}.writing-card .post-text{overflow-wrap:anywhere}.writing-pagination .secondary{font-size:13px}

#renewal-dialog dd { margin: 0; font-weight: 700; white-space: nowrap; }
#renewal-dialog .balance-line { gap: 1rem; }
#renewal-error:empty { display: none; }

#renewal-row:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 0 24px;
  padding: 12px 0;
}

#renewal-row-title { font-size: 1.125rem; }
#renewal-row-status { margin-top: 4px; color: var(--muted); }

@media (max-width: 650px) {
  #renewal-row:not([hidden]) { display: grid; }
  #renewal-open { width: 100%; }
}

#renewal-open {
  min-height: 56px;
  padding: 14px 24px;
  border: 2px solid var(--ink);
  background: #ff85c2;
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

#renewal-open:hover { background: #ffa6d1; }
#renewal-open:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
