:root{--paper:#f7f6f2;--ink:#243c37;--muted:#7c8781;--green:#326654;--line:#e5e9e1;--soft:#eaf0e8;--white:#fff;--red:#a64747;font-family:Inter,"Segoe UI","Microsoft YaHei",sans-serif;color:var(--ink);background:#eeeee8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c58d40;outline-offset:3px}.studio{max-width:1480px;margin:auto;min-height:100vh;display:grid;grid-template-columns:minmax(250px,1fr) 430px minmax(180px,.7fr);gap:58px;align-items:center;padding:42px 60px}.intro{align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;padding:10px 0}.wordmark{font-size:13px;letter-spacing:3px;font-weight:650;display:flex;align-items:center;gap:12px}.brand-icon{width:35px;height:35px;border-radius:11px;background:var(--green);color:white;display:grid;place-items:center;font-size:18px;letter-spacing:0}.eyebrow{font-size:13px;letter-spacing:3px;color:var(--green);margin-bottom:24px}h1{font-family:"Songti SC",SimSun,serif;font-size:clamp(32px,3vw,48px);font-weight:500;line-height:1.5;letter-spacing:2px;margin:0 0 22px}h1 span{color:#b5a16e}.intro-copy{font-size:14px;line-height:2.1;color:var(--muted)}.intro-tags{display:flex;gap:9px;margin-top:28px;flex-wrap:wrap}.intro-tags span{font-size:11px;color:#617267;border:1px solid #d8dfd4;border-radius:20px;padding:7px 12px}.tiny-label{font-size:10px;letter-spacing:1.8px;color:#829183}.prototype-note{margin-top:46px}.prototype-note p:first-of-type{font-size:13px;margin:12px 0}.prototype-note p:last-of-type{font-size:11px;line-height:1.9;color:var(--muted);max-width:310px}.text-button{border:0;background:none;color:var(--green);padding:8px 0;font-size:12px;text-align:left}.device-wrap{width:100%;max-width:430px;margin:auto}.device{background:var(--paper);border:7px solid #fff;border-radius:43px;box-shadow:0 25px 65px #344c3c17,0 0 0 1px #d8ddd3;overflow:hidden;position:relative;min-height:816px;display:flex;flex-direction:column}.statusbar{display:flex;justify-content:space-between;padding:19px 26px 12px;font-size:12px;font-weight:650}.app{padding:10px 23px 24px;flex:1;min-width:0}.outside-caption{font-size:10px;text-align:center;color:#8e988b;letter-spacing:2px;margin:18px 0 0}.bottom-nav{padding:10px 20px 5px;border-top:1px solid var(--line);display:flex;justify-content:space-around;background:var(--paper)}.nav-item{border:none;background:none;color:#929b93;display:flex;flex-direction:column;align-items:center;gap:5px;padding:3px 30px;font-size:10px}.nav-item.active{color:var(--green);font-weight:650}.icon{width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.gesture{height:4px;width:105px;border-radius:5px;background:#263831;margin:12px auto 7px}.guide{max-width:245px}.guide h2{font-size:20px;line-height:1.7;font-weight:500;margin:18px 0 38px}.guide ol{list-style:none;margin:0;padding:0;display:grid;gap:28px}.guide li{display:flex;gap:15px;font-size:13px;line-height:1.6}.guide li>span{font-size:11px;color:#97a590;margin-top:3px}.guide small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.guide-foot{margin-top:65px;padding-top:22px;border-top:1px solid #d9dfd4;font-size:13px;line-height:2}.guide-foot span{font-size:12px;color:var(--muted)}.topline{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:8px 0 24px}.date-label{font-size:10px;letter-spacing:1px;color:var(--muted);margin:0 0 8px}.page-title{font-family:"Songti SC",SimSun,serif;font-size:27px;letter-spacing:2px;font-weight:600;margin:0}.heading-actions{display:flex;gap:8px}.icon-button{border:1px solid var(--line);background:transparent;color:var(--green);border-radius:14px;width:42px;height:42px;display:grid;place-items:center}.icon-button.filled{background:var(--green);color:#fff;border-color:var(--green)}.sync-strip{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;margin-bottom:23px;color:#66826e}.sync-strip button{border:0;background:none;font:inherit;color:inherit;padding:5px 0}.dot{display:inline-block;width:5px;height:5px;background:#619678;border-radius:50%;margin-right:6px}.sync-strip.warn{color:#977342}.sync-strip.warn .dot{background:#b28d4d}.tabs{display:flex;gap:21px;border-bottom:1px solid var(--line);margin-bottom:18px}.tab{border:0;background:none;font-size:12px;color:var(--muted);padding:0 0 12px;position:relative}.tab.active{color:var(--green);font-weight:650}.tab.active:after{content:"";height:3px;width:19px;background:var(--green);position:absolute;bottom:-1px;left:50%;transform:translateX(-50%);border-radius:3px}.section-line{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);margin:15px 0 12px}.section-line button{background:transparent;border:0;font-size:10px;color:var(--muted);padding:5px}.event-list{display:grid;gap:12px}.event-card{position:relative;border:1px solid #e5e9e0;border-radius:20px;background:#fcfcf8;padding:19px 18px;width:100%;text-align:left;color:var(--ink);display:block;transition:transform .15s}.event-card:hover{transform:translateY(-2px)}.event-card.featured{background:#e6eee3;border-color:#e0e8dc;padding:22px 20px}.card-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#76866f;margin-bottom:18px}.event-head{display:flex;gap:8px;align-items:center}.event-name{font-size:15px;font-weight:600;margin:0 0 9px;overflow-wrap:anywhere}.event-date{font-size:10px;color:var(--muted);margin:0;line-height:1.7}.event-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.count{white-space:nowrap;font-size:11px;color:#6d7f6b}.count b{font-family:Georgia,"Times New Roman",serif;font-size:42px;line-height:1;letter-spacing:-1.5px;font-weight:400;color:var(--green);margin:0 5px}.featured .count b{font-size:61px}.count-label{font-size:10px;color:var(--muted);display:block;margin:0 0 7px}.mini-tag{font-size:9px;color:#698063;background:#eff2e9;border-radius:5px;padding:4px 6px;display:inline-block;margin-top:12px}.featured .mini-tag{background:#d9e5d5}.list-foot{text-align:center;font-size:10px;letter-spacing:1px;color:#9da595;margin:23px 0 3px}.back-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:6px 0 25px}.back-header h2{font-size:16px;font-weight:600;margin:0}.back-header .icon-button{width:37px;height:37px;border:0}.back-header>span{width:37px}.button{border:1px solid var(--green);background:var(--green);color:#fff;border-radius:13px;padding:13px 16px;font-size:13px;min-height:44px;display:inline-flex;justify-content:center;align-items:center;gap:8px}.button.secondary{background:transparent;color:var(--green);border-color:#dce3d8}.button.danger{background:#fff4f1;color:var(--red);border-color:#ecd9d4}.button.block{width:100%}.form-group{display:grid;gap:9px;margin-bottom:19px}.form-group>span,.field-label{font-size:12px;color:#607364}.input{background:#fffefa;border:1px solid #e0e5db;padding:12px;border-radius:11px;width:100%;min-height:44px;color:var(--ink);font-size:13px}.input:focus{border-color:#6e967c}.segmented{display:flex;background:#eceedf;border-radius:11px;padding:4px;gap:4px}.segmented button{flex:1;border:0;background:transparent;border-radius:8px;color:#788371;padding:10px 5px;font-size:12px}.segmented button.selected{background:#fffef9;color:var(--green);box-shadow:0 1px 4px #243c3708}.form-hint{font-size:10px;line-height:1.8;color:var(--muted);margin:0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.lunar-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.check-row{display:flex;gap:9px;align-items:center;font-size:12px;margin:12px 0;color:#61715f;min-height:30px}.check-row input{accent-color:var(--green);width:17px;height:17px}.help-box{font-size:11px;line-height:1.85;padding:13px 14px;background:var(--soft);border-radius:12px;margin:14px 0;color:#61775e}.error{color:var(--red);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.form-actions{margin-top:24px}.subheading{font-size:11px;color:var(--muted);margin:24px 0 12px;letter-spacing:1px}.detail-hero{text-align:center;padding:25px 0 27px}.detail-symbol{font-size:28px;margin-bottom:17px}.detail-hero h2{font-size:21px;font-weight:500;margin:0 0 23px;overflow-wrap:anywhere}.detail-count{font-size:13px;color:#71836c}.detail-count b{font-family:Georgia,serif;font-size:81px;font-weight:400;color:var(--green);line-height:1.3;margin:0 9px;letter-spacing:-3px}.detail-caption{font-size:12px;color:var(--muted);margin:14px 0 0}.info-panel{border:1px solid var(--line);border-radius:17px;padding:6px 16px;background:#fdfdf8;margin-bottom:16px}.info-row{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 0;font-size:12px;border-bottom:1px solid var(--line)}.info-row:last-child{border-bottom:0}.info-row>span:first-child{color:var(--muted);flex-shrink:0}.info-row>span:last-child{text-align:right;overflow-wrap:anywhere}.note-content{font-size:12px;line-height:1.9;color:#61715f;white-space:pre-wrap;overflow-wrap:anywhere}.detail-actions{display:flex;gap:10px;margin-top:20px}.detail-actions button{flex:1}.settings-hero{padding:21px;border-radius:20px;background:var(--soft);display:flex;align-items:center;gap:15px;margin-bottom:20px}.avatar{width:45px;height:45px;background:#d8e5d5;border-radius:15px;display:grid;place-items:center;color:var(--green);font-size:19px}.settings-hero h3{font-size:16px;font-weight:500;margin:0 0 7px}.settings-hero p{font-size:10px;color:var(--muted);margin:0}.settings-hero button{margin-left:auto;border:0;background:transparent;color:var(--green);font-size:11px;padding:10px 0}.menu-row{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:17px 2px;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--ink);font-size:12px;text-align:left;min-height:52px}.menu-row>span:first-child{display:flex;align-items:center;gap:10px}.menu-row .icon{width:17px;height:17px;color:#73866e}.menu-row small{font-size:10px;color:var(--muted)}.version{text-align:center;font-size:10px;color:#94a08e;margin-top:29px;line-height:1.9}.sync-hero{text-align:center;padding:22px 0}.sync-orb{width:76px;height:76px;display:grid;place-items:center;background:var(--soft);border-radius:50%;color:var(--green);margin:0 auto 18px}.sync-orb .icon{width:32px;height:32px}.sync-hero h3{font-size:18px;font-weight:500;margin:10px 0}.sync-hero p{font-size:11px;color:var(--muted);line-height:1.8}.restore-step{display:flex;gap:14px;margin:22px 0;font-size:12px;line-height:1.8}.step-num{background:var(--soft);border-radius:50%;width:27px;height:27px;flex-shrink:0;text-align:center;line-height:27px;color:var(--green)}.restore-step strong{font-weight:500}.restore-step p{font-size:11px;color:var(--muted);margin:3px 0}.restore-result{padding:22px;text-align:center;background:var(--soft);border-radius:18px;margin:20px 0}.restore-result b{font-family:Georgia,serif;font-size:40px;font-weight:400;color:var(--green)}.empty{text-align:center;padding:48px 8px;color:var(--muted);font-size:12px;line-height:2}.search-row{display:flex;gap:8px;margin-bottom:16px}.search-row .input{min-width:0}.badge-outline{font-size:10px;border:1px solid #d5ded0;color:#708468;padding:5px 8px;border-radius:7px}.recycle-item{padding:17px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.recycle-item h3{font-size:13px;font-weight:500;margin:0 0 6px;overflow-wrap:anywhere}.recycle-item p{font-size:10px;color:var(--muted);margin:0}.recycle-item button{flex-shrink:0}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#243c37;color:#fff;padding:12px 20px;border-radius:14px;box-shadow:0 5px 25px #0002;font-size:12px;max-width:calc(100vw - 30px);z-index:10;opacity:0;pointer-events:none;transition:opacity .15s}#toast.show{opacity:1}dialog{border:1px solid var(--line);border-radius:22px;background:var(--paper);color:var(--ink);padding:25px;max-width:min(360px,90vw)}dialog::backdrop{background:#1e302c66}dialog h2{font-size:18px;font-weight:500;margin:0 0 14px}dialog p{font-size:13px;color:#68786c;line-height:1.9}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}[hidden]{display:none!important}@media(min-width:1101px){.intro-body{margin-top:60px;margin-bottom:50px}}@media(max-width:1200px){.studio{gap:35px;padding:30px;grid-template-columns:1fr 410px}.guide{display:none}}@media(max-width:800px){.studio{display:block;padding:20px 16px}.intro{display:none}.device{min-height:800px}.device-wrap{max-width:430px}.outside-caption{margin-bottom:10px}}@media(max-width:480px){:root{background:var(--paper)}.studio{padding:0}.device{border:0;border-radius:0;box-shadow:none;min-height:100dvh}.device-wrap{max-width:100%}.outside-caption{display:none}.app{padding-left:22px;padding-right:22px}.statusbar{padding:17px 24px 10px}.event-card:hover{transform:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Formal Web: original warm paper and green visual language. */
.app{padding-top:30px}.device{min-height:820px}.page-title span{color:#9eb292}
.login-hero{padding:40px 0 24px}.login-hero .brand-icon{margin-bottom:30px}
.full{width:100%}.field{display:flex;flex-direction:column;gap:9px;margin:17px 0;font-size:13px}.input{min-width:0;width:100%}
.panel{background:#fff8;border:1px solid var(--line);border-radius:20px;padding:18px;margin:18px 0;font-size:13px;line-height:1.8}
.panel h3{font-size:15px;margin-top:0}.muted{color:var(--muted);font-size:12px;line-height:1.8}
.check-row{display:flex;align-items:center;gap:9px;margin:15px 0;font-size:13px}
.check-row input,.advance-options input{accent-color:var(--green);width:17px;height:17px}
.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.advance-options{display:flex;gap:15px;flex-wrap:wrap;font-size:12px}.advance-options label{display:flex;align-items:center;gap:5px}
.form-actions{display:flex;gap:10px;margin-top:24px}.form-actions .button{flex:1}
#form-status{font-size:12px;line-height:1.8;color:var(--red);overflow-wrap:anywhere}
.detail-number{font-size:96px;font-weight:300;line-height:1.2;letter-spacing:-5px}.detail-number small{font-size:15px;letter-spacing:0}
.note{white-space:pre-wrap;overflow-wrap:anywhere}.danger{color:var(--red)}
.search-row{margin:18px 0;display:flex;gap:8px}.search-row .input{flex:1}.search-row .button{flex-shrink:0}
.event-card{text-align:left;width:100%}.event-card .event-name{overflow-wrap:anywhere}.event-date{line-height:1.8}
@media(max-width:480px){.device{min-height:100dvh}.app{padding-top:24px}.login-hero{padding-top:50px}.form-grid{gap:6px}}

.section-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin:22px 0 12px}.section-label .text-button{white-space:nowrap;padding:0}.tab{background:none;border:0;padding:12px 8px;color:var(--muted);font-size:12px}.tab.active{color:var(--green);font-weight:650;border-bottom:2px solid var(--green)}

.request-status{position:fixed;top:0;left:0;right:0;z-index:20;padding:10px 16px;text-align:center;background:var(--green);color:#fff;font-size:13px}.request-status[hidden]{display:none}.input{scroll-margin-block:80px}.form-actions .button{min-height:48px}

#milestone-config{margin-top:22px;border-top:1px solid var(--line);padding-top:20px}
.milestone-option.covered{color:var(--muted);opacity:.6;cursor:default}
.milestone-option small{display:block;font-size:11px;line-height:1.6}
.milestone-custom{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line)}
.milestone-custom .check-row{flex:1;min-width:130px;overflow-wrap:anywhere}
.milestone-custom .text-button{flex-shrink:0;min-height:44px}
#milestone-preview{margin-top:16px;overflow-wrap:anywhere}
#milestone-entry .form-actions{flex-wrap:wrap}
.check-row.check-disabled{color:var(--muted);opacity:.6;cursor:default}

.date-input-row{position:relative}.date-input-row .input{padding-right:52px;letter-spacing:.4px}
.date-picker-trigger{position:absolute;right:5px;top:3px;bottom:3px;display:grid;place-items:center;width:42px;border:0;border-radius:9px;background:var(--soft);color:var(--green)}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.date-dialog{width:min(380px,calc(100vw - 28px));max-width:380px;max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border:1px solid #e0e7dc;border-radius:26px;box-shadow:0 24px 90px #17382c30;background:var(--paper)}
.date-dialog::backdrop{background:#18362c66;backdrop-filter:blur(4px)}
.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}
.calendar-heading .eyebrow{font-size:10px;letter-spacing:2px;margin:0 0 8px;color:#80927d}.calendar-heading h2{font-size:20px;margin:0;font-weight:600;letter-spacing:1px}
.calendar-heading .icon-button{width:34px;height:34px;border:0;font-size:25px;color:var(--muted)}
.calendar-toolbar{display:flex;align-items:center;gap:7px;margin-bottom:20px}.calendar-toolbar label{flex:1;min-width:0}
.calendar-toolbar select{width:100%;min-height:42px;padding:6px 4px;border:0;border-radius:10px;background:var(--soft);color:var(--green);font-weight:600;font-size:14px;text-align:center}
.calendar-toolbar .icon-button{width:35px;height:40px;border:0;font-size:25px;flex-shrink:0}
.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.calendar-week{font-size:11px;color:var(--muted);margin-bottom:10px}.calendar-week span:nth-last-child(-n+2){color:#a18d65}
.calendar-day{display:grid;place-items:center;min-width:0;min-height:40px;padding:4px 0;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--ink);font-size:14px;font-variant-numeric:tabular-nums}
.calendar-day:hover{background:var(--soft)}.calendar-day.adjacent{color:#a6afa4}.calendar-day.is-today{border-color:#9bb79e;color:var(--green);font-weight:650}.calendar-day.selected,.calendar-day.selected:hover{background:var(--green);color:white;box-shadow:0 4px 10px #32665420;border-color:var(--green)}
.calendar-day:disabled{opacity:.25}.calendar-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:18px 0 10px;padding-top:12px;border-top:1px solid var(--line)}
.date-dialog .calendar-caption p{font-size:12px;margin:0;color:var(--muted)}.calendar-caption .text-button{min-height:36px;padding:7px}
.calendar-actions{display:flex;gap:10px}.calendar-actions .button{flex:1;min-height:44px}
@media(max-width:360px){.date-dialog{padding:18px}.calendar-grid{gap:2px}.calendar-day{min-height:36px}.calendar-toolbar{gap:4px}}
