@import url('/static/css/base.css');
:root{font-family:Inter,'Segoe UI',system-ui,sans-serif;color:#233d34;background:#f6f7f2;font-synthesis:none;--green:#1e6650;--muted:#728078;--line:#e1e7df;--cream:#f6f7f2}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;border-radius:12px;min-height:44px;padding:11px 17px;font-weight:600;background:white;color:inherit}button:hover{filter:brightness(.96)}button:disabled{opacity:.5;cursor:wait}a{color:var(--green)}:focus-visible{outline:3px solid #d39944;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,4vw,40px);letter-spacing:-1.3px;line-height:1.15;margin-bottom:12px;font-weight:650}h2{font-size:21px;letter-spacing:-.5px}h3{font-size:17px}label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;margin-bottom:18px}input,select,textarea{width:100%;border:1px solid #dce3db;background:white;border-radius:10px;padding:12px;color:#233d34;min-height:46px}input[readonly]{background:#f4f6f2;color:var(--muted)}textarea{resize:vertical;line-height:1.5}input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--green)}.primary{background:var(--green);color:white;box-shadow:0 3px 7px #1e665018}.soft{background:#eaf0e7;color:#335845}.wide{width:100%}.icon{width:44px;padding:8px;font-size:22px;border:1px solid var(--line)}.text-button{background:transparent;color:var(--green);font-size:13px}.danger-outline{color:#a0473e;border:1px solid #e8cec7;background:#fff8f5}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#7b8b70;margin-bottom:13px}.subtitle,.hint{color:var(--muted);line-height:1.6;font-size:14px}.hint{font-size:12px}.brand{text-decoration:none;font-size:26px;letter-spacing:-1.2px;color:#254b3d;font-weight:750;white-space:nowrap}.brand-dot{color:#dbad65;font-size:12px;margin-left:3px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}.form-error{color:#a83e35;font-size:13px;line-height:1.5;white-space:pre-line}.form-error:empty{display:none}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;max-width:1120px;margin:auto;padding:64px 40px;gap:96px;align-items:center}.auth-story>.brand{display:block;margin-bottom:70px}.auth-story h1{font-size:clamp(40px,5vw,62px);line-height:1.07;letter-spacing:-2.4px}.auth-story h1 span{color:#7b9874}.auth-story>p{font-size:15px;line-height:1.8;max-width:380px;color:var(--muted)}.auth-card{background:white;border:1px solid var(--line);padding:38px;border-radius:24px;box-shadow:0 16px 60px #31463307}.auth-card h2{font-size:28px;line-height:1.25;margin-bottom:28px}.segmented{display:flex;background:#f1f4ed;border-radius:12px;padding:4px;gap:4px;margin-bottom:26px}.segmented button{flex:1;background:transparent;font-size:13px}.segmented button.active{background:white;box-shadow:0 2px 6px #00000009}.auth-note{text-align:center;font-size:12px;color:#8c968d;line-height:1.7;margin:24px 0 0}.story-cards{position:relative;margin-top:40px}.story-cards>div{background:#e9eddb;border:1px solid #e1e8d4;border-radius:12px;padding:16px 20px;max-width:320px;font-size:10px;letter-spacing:1px;margin-bottom:9px}.story-cards>div:nth-child(2){margin-left:35px;background:#ecede6}.story-cards>div:nth-child(3){margin-left:15px;background:#f0e8d9}.story-cards b{font-size:13px;letter-spacing:0;margin-left:18px}.story-cards span{display:block;color:#7b8273;margin:6px 0 0 36px;letter-spacing:0}.captcha-row{display:flex;align-items:center;gap:10px;margin-bottom:12px}.captcha-row img{max-width:calc(100% - 52px);object-fit:contain;border-radius:8px}.topbar{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 44px;gap:20px;background:#fcfdf9}.topbar #greeting{margin-left:auto;color:var(--muted);font-size:13px;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{border-radius:50%;width:42px;height:42px;min-height:42px;padding:0;background:#e5eddc;color:#4d6e41}.app-layout{display:grid;grid-template-columns:225px 1fr;max-width:1600px;margin:auto;min-height:calc(100vh - 86px)}.navigation{padding:35px 20px;display:flex;flex-direction:column;gap:9px;border-right:1px solid var(--line)}.navigation button{text-align:left;background:transparent;color:#7c877d;font-size:14px;font-weight:500;display:flex;gap:12px;align-items:center}.navigation button span{font-size:22px}.navigation button.active{background:#e7eddf;color:#31543e}.nav-note{font-size:11px;color:#9aa18f;line-height:1.9;margin:50px 16px}main{padding:43px 38px;min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:30px}.page-heading>.primary{white-space:nowrap}.page-heading p{margin-bottom:0}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.week-controls{display:flex;gap:7px}.week-controls .soft{background:white;border:1px solid var(--line);font-size:12px}.view-select{margin:0;max-width:250px}.view-select select{background:white;font-size:13px}.calendar-meta{display:flex;justify-content:space-between;font-size:11px;color:#859180;margin-bottom:14px;gap:10px}.week-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}.day-card{min-height:225px;border:1px solid var(--line);border-radius:17px;background:#fff;padding:16px;display:flex;flex-direction:column;min-width:0}.day-card.today{border-color:#92ab7c;background:#fbfdf6;box-shadow:0 0 0 2px #93ab7b10}.day-card.weekend{background:#f0f2e9}.day-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.day-header h2{font-size:11px;letter-spacing:.9px;text-transform:uppercase;color:#7b8777;margin:0}.day-number{font-size:25px;font-weight:500;letter-spacing:-1px}.today .day-number{background:var(--green);color:white;border-radius:50%;width:37px;height:37px;text-align:center;line-height:37px;font-size:21px}.event{display:block;width:100%;min-height:0;border-radius:9px;background:#ebf0e4;border-left:3px solid #8ea576;padding:11px 10px;text-align:left;margin-bottom:8px;font-weight:400;overflow-wrap:anywhere}.event:nth-of-type(3n+1){background:#f5edde;border-color:#c3a572}.event:nth-of-type(3n+2){background:#e9efef;border-color:#85a8a4}.event strong{font-size:13px;display:block;line-height:1.5;margin:5px 0}.event .time{font-size:10px;color:#67765f;display:flex;justify-content:space-between}.event .author{font-size:10px;color:#85907c}.empty-day{font-size:11px;color:#b0b7a8;margin:10px 0 35px}.add-day{margin-top:auto;width:100%;border:1px dashed #dce2d4;border-radius:8px;background:transparent;color:#91a180;font-size:11px;min-height:32px;padding:6px}.group-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:22px 0}.group-card{text-align:left;border:1px solid var(--line);border-radius:16px;padding:22px;background:#fff;overflow-wrap:anywhere}.group-card.active{border-color:var(--green);background:#f0f5e9}.group-card b{display:block;font-size:18px;margin:12px 0 8px}.group-card small{color:var(--muted);font-weight:400}.group-symbol{width:38px;height:38px;display:flex;align-items:center;justify-content:center;background:#e9eede;border-radius:12px;font-size:22px}.join-form{display:flex;gap:15px;align-items:flex-end;flex-wrap:wrap}.join-form label{flex:1;min-width:180px;margin:0}.join-form .form-error{flex-basis:100%;margin:0}.detail-heading{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:18px}.detail-heading h2{margin:0;overflow-wrap:anywhere}.group-tabs{max-width:460px;margin-bottom:15px}.messages{height:380px;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px;padding:16px 4px}.message{align-self:flex-start;max-width:80%;border-radius:14px 14px 14px 3px;padding:12px 16px;background:#f1f3ed;overflow-wrap:anywhere;flex-shrink:0}.message.mine{align-self:flex-end;background:#e6eedf;border-radius:14px 14px 3px 14px}.message strong{font-size:11px;color:#6d8061}.message p{font-size:14px;white-space:pre-wrap;line-height:1.5;margin:6px 0}.message time{font-size:10px;color:#8b9684}.message-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding-top:18px;border-top:1px solid var(--line)}.message-form textarea{flex:1}.message-form .form-error{width:100%;margin:0}.message-form button{font-size:24px}.member-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--line)}.member-row>span{flex:1;overflow-wrap:anywhere}.member-row button{font-size:11px}.group-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.inline-form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin-bottom:18px}.inline-form label{flex:1;margin:0;min-width:140px}.inline-form button{font-size:12px}.inline-form .form-error{width:100%;margin:0}.empty-state{text-align:center;padding:45px 20px;border:1px dashed #d5ddcc;border-radius:16px;color:var(--muted);line-height:1.7}.empty-state b{display:block;color:#48613f;font-size:18px;margin-bottom:8px}dialog{border:1px solid var(--line);border-radius:22px;padding:28px;width:min(560px,calc(100% - 24px));max-height:90dvh;color:inherit;box-shadow:0 30px 100px #12352330}dialog::backdrop{background:#1b35295c;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.modal-header h2{margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.check-label{flex-direction:row;align-items:center;font-weight:400;margin:12px 0}.check-list{border:1px solid var(--line);padding:10px 15px;border-radius:12px;margin:10px 0 20px}.check-list label{overflow-wrap:anywhere}.form-actions{display:flex;gap:12px;justify-content:space-between;margin-top:24px}#notice{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#254d3c;color:white;z-index:100;padding:14px 22px;border-radius:14px;font-size:13px;max-width:calc(100% - 24px);box-shadow:0 6px 28px #0002}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip:focus{position:fixed;z-index:200;background:white;padding:16px}fieldset{border:0;padding:0;margin:0}legend{font-size:13px;font-weight:600}.invite-result{overflow-wrap:anywhere;line-height:1.6}.invite-result textarea{font-size:12px;margin-bottom:14px}.read-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.loading{color:var(--muted);padding:30px}.series-note{padding:12px;background:#f4eddd;border-radius:10px;color:#8d713f;font-size:12px;line-height:1.5}
@media(min-width:1500px){.week-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.day-card{padding:12px;min-height:330px}main{padding:43px 28px}}
@media(max-width:1050px){.app-layout{grid-template-columns:180px 1fr}main{padding:32px 24px}.week-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.navigation{padding:28px 12px}.auth-shell{gap:40px}.auth-card{padding:26px}}
@media(max-width:760px){.auth-shell{grid-template-columns:1fr;max-width:470px;padding:28px 20px;gap:24px}.auth-story>.brand{margin-bottom:24px}.auth-story h1{font-size:38px}.auth-story h1 br{display:none}.auth-story h1 span{display:block}.auth-story>.eyebrow,.auth-story>p,.story-cards{display:none}.auth-card h2{font-size:24px}.topbar{height:70px;padding:0 20px;gap:12px}.topbar .brand{font-size:24px}.topbar #greeting{font-size:11px}.app-layout{display:block}.navigation{position:fixed;z-index:20;bottom:0;left:0;right:0;background:#fcfdf9f5;backdrop-filter:blur(12px);border-top:1px solid var(--line);border-right:0;display:flex;flex-direction:row;justify-content:space-around;padding:8px 12px max(8px,env(safe-area-inset-bottom))}.navigation button{flex:1;flex-direction:column;gap:2px;text-align:center;font-size:10px;padding:5px;min-height:48px}.navigation button span{font-size:21px}.nav-note{display:none}main{padding:28px 18px 110px}.page-heading{align-items:flex-start;margin-bottom:24px}.page-heading h1{font-size:30px}.page-heading .eyebrow{font-size:9px;letter-spacing:1.5px}.page-heading>.primary{font-size:11px;padding:11px;margin-top:22px}.subtitle{font-size:12px}.week-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.day-card{padding:12px;min-height:200px}.day-card:last-child{grid-column:1/-1;min-height:155px}.calendar-toolbar{gap:8px}.week-controls{gap:4px}.week-controls button{padding:7px 10px}.week-controls .icon{width:36px}.view-select{max-width:46%}.view-select select{font-size:12px;padding:10px}.calendar-meta{font-size:10px}.profile-grid{grid-template-columns:1fr}.panel{padding:18px}.group-list{grid-template-columns:1fr 1fr;gap:10px}.group-card{padding:15px}.group-card b{font-size:15px}.group-tabs button{padding:10px;font-size:11px}.detail-heading h2{font-size:19px}.detail-heading button{font-size:11px}.messages{height:350px}.message{max-width:90%}dialog{padding:20px}.form-grid{grid-template-columns:1fr}#notice{bottom:85px}.join-form{gap:12px}.join-form button{width:100%}}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s,filter .15s}.day-card{animation:appear .25s ease both}@keyframes appear{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}}
