@charset "UTF-8";
:root{--green:#174e3e;--green-dark:#123e32;--leaf:#e8f0e7;--mint:#f0f5ee;--orange:#b75f27;--gold:#ead9ad;--ink:#1c3028;--muted:#6e7c73;--line:#e4e9e1;--paper:#fffefa;--bg:#f6f7f1;--danger:#aa3c32;--shadow:0 12px 35px rgba(29,61,46,.07);font-size:20px}
*{box-sizing:border-box}body{margin:0;background:#e9eee6;color:var(--ink);font-family:"Microsoft YaHei","PingFang SC",system-ui,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b68233;outline-offset:3px}button{color:inherit}svg{display:block;max-width:100%}img{max-width:100%;height:auto}.icon{width:23px;height:23px;flex-shrink:0;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,h4,p{margin-top:0}h1{font-size:1.35rem;line-height:1.4;margin-bottom:6px}h2{font-size:1.14rem}h3{font-size:1rem}p{margin-bottom:12px}small,.small{font-size:.9rem;line-height:1.6}.muted{color:var(--muted)}.strong,strong{font-weight:650}.nowrap{white-space:nowrap}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}.hidden{display:none!important}
.desktop-note{position:fixed;left:max(5%,calc(50% - 550px));top:16vh;width:290px}.desktop-brand{font-family:serif;font-size:2.2rem;letter-spacing:.1em;color:var(--green);font-weight:bold}.desktop-brand span{display:block;font-family:inherit;font-size:.9rem;letter-spacing:.15em;font-weight:normal;margin-top:12px}.desktop-note>p{font-size:1.1rem;line-height:1.9;margin:28px 0 16px;max-width:250px}.desktop-instruction{font-size:.9rem;color:var(--muted);line-height:1.9}.desktop-phase{border-top:1px solid #cbd7c9;margin-top:50px;padding-top:18px;font-size:.9rem;color:var(--muted)}.desktop-phase strong,.desktop-phase small{display:block}.desktop-phase strong{color:var(--green);margin:8px 0}.desktop-phase small{font-size:.9rem}
.phone-app{width:100%;max-width:440px;min-height:100dvh;background:var(--bg);margin:auto;position:relative;box-shadow:0 0 70px rgba(25,53,38,.12)}.prototype-bar{background:#fff9e9;border-bottom:1px solid #eee3c5;color:#6f592d;display:flex;align-items:center;justify-content:space-between;padding:5px 12px;gap:8px;font-size:.9rem;min-height:37px}.prototype-bar button{border:1px solid #d9cba5;border-radius:20px;background:transparent;padding:6px 11px;min-height:32px;font-size:.9rem;white-space:nowrap;color:#6f592d}.app-header{position:sticky;top:0;z-index:20;background:rgba(246,247,241,.97);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);padding:12px 17px;display:flex;gap:10px;align-items:center;min-height:66px}.app-header .header-title{flex:1;min-width:0}.app-header h1{font-size:1.08rem;margin:0;overflow-wrap:anywhere}.mode-label{font-size:.9rem;letter-spacing:.04em;color:var(--muted);display:block;margin-top:2px}.icon-button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:10px;border:0;border-radius:50%;background:transparent;flex-shrink:0}.icon-button.soft{background:var(--leaf);color:var(--green)}.header-brand{font-family:serif;font-size:1.5rem;font-weight:bold;letter-spacing:.12em}.app-main{padding:18px 17px 112px;min-height:calc(100dvh - 150px)}.app-main.home-main{padding-top:12px}.app-main>.notice:first-child{margin-top:0}.app-main>*:last-child{margin-bottom:0}
.bottom-nav{position:fixed;bottom:0;width:100%;max-width:440px;z-index:25;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:rgba(255,254,250,.97);border-top:1px solid #dde4d9;padding:8px 6px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(16px)}.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;background:none;min-height:53px;color:#536457;font-size:.9rem;border-radius:14px}.nav-item.active{color:var(--green);font-weight:bold}.nav-item.active .icon-wrap{background:#e5eee1}.icon-wrap{padding:4px 14px;border-radius:20px}.nav-item .icon{width:22px;height:22px}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:25px 0 12px}.section-title h2,.section-title h3{margin:0}.section-title>a,.section-title>button{font-size:.9rem;font-weight:normal;color:var(--muted);border:0;background:none;padding:6px 0;min-height:35px}.eyebrow{font-size:.9rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}.card{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:17px;margin-bottom:14px;overflow-wrap:anywhere;box-shadow:0 3px 8px rgba(38,59,34,.015)}.card>h2,.card>h3,.card>.card-title{margin:0 0 13px;font-size:1rem}.card>p:last-child{margin-bottom:0}.card.flat{padding:0;overflow:hidden}.card.soft{background:var(--leaf);border-color:transparent}.card.hero-card{background:var(--green);color:white}.card.hero-card .muted{color:#ceddca}
.list-row,.row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #edf0e9;min-width:0}.list-row:last-child,.row:last-child{border-bottom:0}.list-row>span:first-child,.row>span:first-child{color:var(--muted);font-size:.9rem;flex:0 0 34%}.list-row>strong,.row>strong,.list-row>span:last-child,.row>span:last-child{font-weight:500;font-size:.9rem;text-align:right;overflow-wrap:anywhere}.list-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:16px;margin:12px 0}.list-card h3{margin:0 0 7px}.list-card p{font-size:.9rem;color:var(--muted)}.list-card .actions{margin-bottom:0}.click-row{width:100%;display:flex;align-items:center;gap:13px;text-align:left;border:0;border-bottom:1px solid var(--line);padding:14px 15px;min-height:61px;background:var(--paper)}.click-row:last-child{border-bottom:0}.click-row .row-text{flex:1;min-width:0}.click-row strong{font-size:.91rem;font-weight:550}.click-row small{display:block;color:var(--muted);margin-top:3px}.click-row>.icon:last-child{width:17px;color:#536457}
.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px;margin-bottom:12px}.actions>.button{flex:1 1 120px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:47px;padding:12px 17px;border-radius:12px;border:1px solid var(--green);background:var(--green);color:white;font-size:.9rem;line-height:1.4;text-align:center;font-weight:550;overflow-wrap:anywhere}.button.secondary{background:var(--paper);color:var(--green);border-color:#becfbc}.button.quiet{background:var(--leaf);color:var(--green);border-color:transparent}.button.danger{color:var(--danger);border-color:#e5bbb6;background:#fff5f2}.button.full{width:100%}.button.small{min-height:37px;padding:8px 12px;font-size:.9rem}.text-button{padding:7px 0;color:var(--green);background:none;border:0;min-height:40px;font-size:.9rem}
.badge,.status,.tag{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:6px;background:#e8f1e4;color:#386143;font-size:.9rem;line-height:1.6;max-width:100%;white-space:normal}.badge.orange,.status.orange,.tag.orange,.badge.pending{background:#fbefd9;color:#8b5a24}.badge.red,.status.red,.badge.closed{background:#fae9e5;color:#a1493c}.badge.gray,.status.gray,.tag.gray{background:#eff1eb;color:#4d5e51}.badges{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}.notice{padding:13px 14px;background:#eaf1e6;color:#3a5a40;font-size:.9rem;border-radius:12px;border:1px solid #dce8d7;margin:13px 0;line-height:1.75}.notice.warning{background:#fff5de;color:#84612d;border-color:#f0e1bd}.notice.danger{background:#fff0eb;color:#a1503d;border-color:#ebcec5}.notice strong{display:block;margin-bottom:4px}.inline-hint{font-size:.9rem;color:var(--muted);line-height:1.8;margin:13px 0}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:15px 0}.metric{background:var(--mint);border-radius:12px;padding:13px 10px;min-width:0}.metric small,.metric span{display:block;color:var(--muted);font-size:.9rem}.metric strong{display:block;font-size:1.35rem;color:var(--green);margin-top:5px;overflow-wrap:anywhere}.money{color:var(--orange);font-weight:700;font-size:1.35rem}.money small{font-size:.9rem;font-weight:normal}.big-money{font-size:2.3rem;line-height:1.2;color:var(--green);font-weight:700;letter-spacing:-.04em}.unit{font-size:.9rem;color:var(--muted);font-weight:normal}.divider{height:1px;background:var(--line);margin:16px 0}
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;min-width:0}.field label,.field>span{font-size:.9rem;font-weight:550;color:var(--ink)}input:not([type=checkbox]):not([type=radio]),select,textarea{width:100%;min-width:0;min-height:47px;border:1px solid #d9e0d4;background:#fffefb;border-radius:10px;padding:11px 12px;color:var(--ink);font-size:1rem;line-height:1.6}textarea{resize:vertical;min-height:92px}input::placeholder,textarea::placeholder{color:#586651}input[readonly]{background:#f0f3eb;color:#536457}.field small{color:var(--muted);font-weight:normal;font-size:.9rem}.field .required{color:var(--orange)}.form-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:1px}.check-row,.radio-row{display:flex;gap:10px;align-items:center;min-height:48px;font-size:.9rem}.check-row input,.radio-row input{accent-color:var(--green);width:20px;height:20px;flex-shrink:0}.search-box{position:relative;margin:10px 0 18px}.search-box input[type="search"]{border-radius:25px;padding:12px 16px 12px 44px;background:#fffefa;border-color:#e3e8dc;font-size:.9rem}.search-box>.icon{position:absolute;left:15px;top:13px;width:20px;height:20px;color:#536457}.segmented,.tabs,.filter-chips{display:flex;gap:7px;margin:12px 0 18px;overflow-x:auto;scrollbar-width:none;padding-bottom:3px}.segmented::-webkit-scrollbar,.filter-chips::-webkit-scrollbar{display:none}.segmented button,.tabs button,.filter-chips button{border:1px solid var(--line);border-radius:20px;background:var(--paper);padding:9px 14px;min-height:42px;white-space:nowrap;color:var(--muted);font-size:.9rem}.segmented button.active,.tabs button.active,.filter-chips button.active{background:var(--green);border-color:var(--green);color:white}
.hero{position:relative;overflow:hidden;min-height:186px;background:#e6eddc;border-radius:19px;padding:23px 20px;margin:13px 0 20px}.hero .hero-copy{position:relative;z-index:2;max-width:63%}.hero h2{font-family:serif;font-size:1.65rem;line-height:1.4;margin-bottom:9px;letter-spacing:.03em;color:#1c4d38}.hero p{font-size:.9rem;color:#536457;margin:0 0 13px}.hero>.landscape{position:absolute;bottom:0;right:0;width:100%;height:100%}.hero .text-button{background:var(--paper);border-radius:20px;padding:8px 13px;min-height:34px;font-size:.9rem}.location-line{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:1px 0 10px}.location-line>button{display:flex;gap:7px;align-items:center;background:none;border:0;padding:3px 0;min-height:38px;font-size:.9rem;color:var(--green);font-weight:bold}.location-line .icon{width:19px;height:19px}.location-line>span{font-size:.9rem;color:var(--muted)}.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 7px;padding:3px 0 14px}.service-tile{display:flex;flex-direction:column;align-items:center;gap:8px;border:0;background:none;padding:0;min-height:77px;font-size:.9rem}.service-tile .tile-icon{display:grid;place-items:center;width:49px;height:49px;border-radius:16px;background:#e7eee0;color:#3e6844}.service-tile:nth-child(4n+2) .tile-icon{background:#f4e8d9;color:#a3713c}.service-tile:nth-child(4n+3) .tile-icon{background:#e6ece2;color:#667246}.service-tile:nth-child(4n) .tile-icon{background:#e4edef;color:#46747a}.tile-icon .icon{width:25px;height:25px}.service-ribbon{display:flex;align-items:flex-start;gap:10px;padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:.9rem;color:#536457}.service-ribbon .icon{width:17px;height:17px;color:var(--green)}
.product-card{display:block;border:1px solid var(--line);background:var(--paper);border-radius:15px;overflow:hidden;text-align:left;padding:0;min-width:0}.product-image{height:130px;background:#f1eee0;display:grid;place-items:center;overflow:hidden}.product-image svg{width:100%;height:100%}.product-info{padding:11px 12px 13px}.product-info h3{font-size:.9rem;margin:0 0 5px}.product-info p{font-size:.9rem;color:var(--muted);margin-bottom:10px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px}.product-bottom .money{font-size:1.1rem}.add-dot{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--green);color:white;font-size:1.15rem;line-height:1}.feature-product{border-radius:17px;overflow:hidden;margin-bottom:18px;background:#eee9da}.feature-product>.product-image{height:235px}.product-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.product-heading h2{font-size:1.3rem;margin:0 0 8px}.order-product{display:flex;gap:13px;align-items:center;padding:12px 0}.order-product .product-image{width:72px;height:72px;border-radius:12px;flex-shrink:0}.order-product h3{font-size:.9rem;margin:0 0 6px}.order-product p{font-size:.9rem;margin:0;color:var(--muted)}.order-product .item-copy{flex:1;min-width:0}.order-product .item-amount{font-size:.9rem;text-align:right}.order-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px;font-size:.9rem}.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:9px;overflow:hidden}.qty button{width:43px;height:43px;border:0;background:var(--mint)}.qty output{min-width:42px;text-align:center;font-size:.9rem}.cart-summary{background:var(--green);color:white;border-radius:15px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:19px}.cart-summary .button{background:#e4ebcf;color:var(--green);border:none}.cart-summary small{display:block;color:#c9d9c9;font-size:.9rem}.cart-summary strong{font-size:1.35rem}
.profile{display:flex;align-items:center;gap:15px;padding:14px 0 21px}.avatar{width:66px;height:66px;display:grid;place-items:center;flex-shrink:0;background:var(--green);color:#e8e7c9;border-radius:21px;font-family:serif;font-size:1.65rem}.profile h2{margin:0 0 5px;font-size:1.24rem}.profile p{font-size:.9rem;color:var(--muted);margin:0}.profile .badge{margin-top:6px}.mode-switch-card{background:#e9eedf;border-color:#d9e2ce;padding:17px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;width:100%}.mode-switch-card strong{display:block;font-size:.92rem}.mode-switch-card small{display:block;font-size:.9rem;color:#536457;margin-top:4px}.role-card .role-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}.role-card .role-head .tile-icon{width:44px;height:44px;background:var(--leaf);color:var(--green);border-radius:13px;display:grid;place-items:center}.role-card .role-head>div:nth-child(2){flex:1}.role-card h3{margin:0 0 2px}.role-card p{font-size:.9rem;color:var(--muted);margin:0}.role-card .actions{margin-bottom:0}.material-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.material{min-height:80px;background:var(--mint);border:1px dashed #aebfa4;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:.9rem;color:#466139;overflow-wrap:anywhere}.material .icon{width:25px;height:25px}
.work-hero{background:var(--green);color:var(--paper);padding:20px;border-radius:18px;margin:0 0 20px;position:relative;overflow:hidden}.work-hero:after{content:"";position:absolute;width:180px;height:180px;border:35px solid #ffffff09;border-radius:50%;right:-70px;top:-65px;pointer-events:none}.work-hero .eyebrow{color:#c5d4ba}.work-hero h2{font-size:1.3rem;margin:0 0 6px}.work-hero p{color:#d5e0ce;font-size:.9rem;margin:0}.work-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:21px;padding-top:15px;border-top:1px solid #ffffff24}.work-stats strong{display:block;font-size:1.6rem;font-weight:600}.work-stats span{display:block;font-size:.9rem;color:#d1dec7}.work-tile{display:flex;align-items:center;gap:11px;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:15px 12px;text-align:left;min-height:78px;min-width:0}.work-tile .icon{color:var(--green);width:24px}.work-tile strong{font-size:.9rem;font-weight:550;display:block}.work-tile small{font-size:.9rem;color:var(--muted);display:block;margin-top:3px}.task-card{border-left:3px solid #b48b40}.task-card .task-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.task-card h3{font-size:.93rem;margin:8px 0}.task-card p{font-size:.9rem;line-height:1.8;color:var(--muted)}.task-card .button{width:100%;margin-top:4px}
.timeline{list-style:none;margin:17px 0;padding:0 0 0 8px}.timeline>li,.timeline>.step{border-left:1px solid #ced9c6;padding:0 0 22px 20px;position:relative;font-size:.9rem}.timeline>li:before,.timeline>.step:before{content:"";position:absolute;left:-5px;top:6px;width:9px;height:9px;background:#839b76;border-radius:50%;box-shadow:0 0 0 4px var(--paper)}.timeline>li:last-child,.timeline>.step:last-child{border-left-color:transparent;padding-bottom:0}.timeline strong{display:block;font-size:.9rem}.timeline p,.timeline small{margin:5px 0 0;color:var(--muted);font-size:.9rem}.timeline .active:before{background:var(--green)}.result-hero{text-align:center;padding:24px 12px 20px}.result-hero .result-icon{width:70px;height:70px;margin:0 auto 17px;border-radius:50%;background:var(--leaf);color:var(--green);display:grid;place-items:center}.result-hero .icon{width:32px;height:32px}.result-hero h2{font-size:1.35rem;margin-bottom:8px}.result-hero p{font-size:.9rem;color:var(--muted);max-width:290px;margin:auto}.empty-state{text-align:center;padding:35px 20px;background:var(--paper);border-radius:16px;border:1px solid var(--line)}.empty-state>.icon{width:48px;height:48px;color:#839574;margin:0 auto 18px}.empty-state h2,.empty-state h3{margin-bottom:9px}.empty-state p{font-size:.9rem;color:var(--muted);line-height:1.8}
.news-item{display:flex;gap:13px;text-align:left;padding:15px 0;border:0;border-bottom:1px solid var(--line);background:none;width:100%}.news-item>.news-art{width:85px;height:85px;flex-shrink:0;border-radius:12px;overflow:hidden;background:var(--leaf)}.news-item>div:first-child{flex:1;min-width:0}.news-item h3{font-size:.92rem;line-height:1.6;margin:0 0 11px}.news-item small{font-size:.9rem;color:var(--muted)}.article{line-height:1.95;font-size:.95rem}.article h2{font-size:1.37rem;line-height:1.65}.article p{margin-bottom:20px}.article .byline{font-size:.9rem;color:var(--muted);padding-bottom:16px;border-bottom:1px solid var(--line);margin-bottom:20px}.pay-channel{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);cursor:pointer}.pay-channel:last-child{border-bottom:0}.pay-channel .channel-mark{width:39px;height:39px;display:grid;place-items:center;border-radius:10px;background:#e6f5e9;color:#238d4b;font-size:1.3rem;font-weight:bold}.pay-channel.blue .channel-mark{background:#e4f0ff;color:#2874b8}.pay-channel>span:nth-child(2){flex:1}.pay-channel input{width:20px;height:20px;accent-color:var(--green)}.record-number{font-family:monospace;overflow-wrap:anywhere;color:var(--muted);font-size:.9rem}
.overlay-backdrop{position:fixed;inset:0;background:#132b2366;z-index:100;display:flex;align-items:flex-end;justify-content:center;padding:16px}.dialog,.review-panel{background:var(--paper);width:100%;max-width:440px;max-height:90dvh;overflow:auto;border-radius:22px;box-shadow:0 20px 60px #10291933;overscroll-behavior:contain}.dialog{padding:25px;margin-bottom:6vh}.dialog h2{font-size:1.2rem;margin-bottom:14px}.dialog p{font-size:.9rem;line-height:1.9;color:var(--muted)}.dialog .actions{margin-bottom:0}.review-panel{padding:20px}.review-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.review-head h2{margin:0}.review-head small{display:block;color:var(--muted);font-size:.9rem;margin-top:5px}.review-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.review-controls .field{margin-bottom:12px}.review-controls label{font-size:.9rem}.review-controls select{font-size:.9rem}.review-search{margin-top:3px}.review-page-list{max-height:38dvh;overflow:auto;border:1px solid var(--line);border-radius:12px}.review-page-list button{background:var(--paper);display:block;width:100%;text-align:left;padding:12px;border:0;border-bottom:1px solid var(--line);min-height:60px}.review-page-list button:last-child{border-bottom:0}.review-page-list strong{display:block;font-size:.9rem}.review-page-list small{font-size:.9rem;color:var(--muted);display:block;margin-top:4px}.review-source{margin:14px 0;border:1px solid var(--line);border-radius:11px;padding:11px;font-size:.9rem}.review-source summary{cursor:pointer;color:var(--green);min-height:28px}.review-source p{margin:9px 0;overflow-wrap:anywhere}.review-footer{font-size:.9rem;line-height:1.8;color:var(--muted);margin:12px 0 0}#toast{position:fixed;left:50%;bottom:100px;transform:translateX(-50%);background:#153d31ef;color:white;max-width:min(85vw,380px);padding:13px 18px;border-radius:12px;z-index:150;font-size:.9rem;line-height:1.8;opacity:0;pointer-events:none;transition:opacity .15s}#toast.show{opacity:1}body.modal-open{overflow:hidden}.form-result{color:var(--green);font-size:.9rem}.chart{width:100%;height:150px}.charts-bars{display:flex;align-items:flex-end;gap:14px;height:140px;padding:12px}.charts-bars>div{flex:1;background:#87a877;border-radius:7px 7px 0 0;min-height:12px}.mobile-only{display:none}
@media(min-width:1000px){.phone-app{margin-left:calc(50% - 80px);margin-right:0}}
@media(max-width:999px){.desktop-note{display:none}}
@media(max-width:480px){body{background:var(--bg)}.phone-app{max-width:none;box-shadow:none}.bottom-nav{max-width:none}.overlay-backdrop{padding:8px}.dialog{margin-bottom:10vh}.review-panel{border-radius:19px 19px 5px 5px;max-height:94dvh}.mobile-only{display:block}}
@media(max-width:359px){.app-main{padding-left:12px;padding-right:12px}.prototype-bar{font-size:.9rem;padding-left:9px}.hero{padding:18px 15px}.hero h2{font-size:1.43rem}.service-tile{font-size:.9rem}.metric-grid{gap:6px}.metric{padding:11px 8px}.work-tile{padding:12px 10px}.product-info{padding:10px}.work-stats strong{font-size:1.38rem}.row,.list-row{gap:10px}.card{padding:14px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.desktop-note,.prototype-bar,.bottom-nav{display:none}.phone-app{margin:0;max-width:100%;box-shadow:none}.app-header{position:static}.app-main{padding-bottom:20px}.card{break-inside:avoid}}

/* Keep auxiliary review controls and navigation legible when text is enlarged. */
.prototype-bar{flex-wrap:wrap}.prototype-bar>span{flex:1 1 135px}.prototype-bar>button{max-width:100%;white-space:normal}.nav-item{padding:2px 0}

/* P1H-R2: age-friendly defaults. Main content 20px, supporting text >=18px. */
:root{--muted:#536457;--orange:#99501f;--line:#ccd5c7;--nav-height:100px;font-size:20px}
html{scroll-padding-top:140px;scroll-padding-bottom:calc(var(--nav-height) + 24px)}
body{line-height:1.65}
button:disabled{opacity:1;background:#e4e8df;color:#536457;border-color:#8c9a87}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #174e3e;outline-offset:3px}
.prototype-bar{padding:8px 12px;gap:8px;font-size:.9rem}.prototype-bar>span{flex:1 1 160px}.prototype-bar button{min-height:52px;min-width:52px;font-size:.9rem;border-color:#8b794e}
.app-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;padding:10px 12px;align-items:center}.app-header.no-back{grid-template-columns:minmax(0,1fr) auto}.app-header h1{font-size:1.1rem;line-height:1.5}.mode-label{font-size:.9rem;letter-spacing:0}.header-brand{font-size:1.5rem;letter-spacing:.05em}
.header-tools{display:flex;gap:8px;align-items:center}.icon-button{min-width:52px;min-height:52px;border-radius:12px;padding:10px;gap:4px;font-size:.9rem}.back-control{padding:8px 6px}.icon-button span{display:block}.reading-button{min-height:56px;min-width:64px;border:1px solid #71816f;border-radius:12px;background:var(--paper);padding:8px;font-size:.9rem;font-weight:650;color:var(--green)}
.app-main{padding:18px 16px calc(var(--nav-height) + 28px);overflow-wrap:anywhere}.app-main.home-main{padding-top:6px}
.bottom-nav{padding:8px 6px calc(8px + env(safe-area-inset-bottom))}.nav-item{min-height:64px;min-width:52px;font-size:.9rem;color:var(--muted);padding:4px 2px;line-height:1.5;overflow-wrap:anywhere}.nav-item .icon{width:26px;height:26px}.nav-item.active{background:#e8f0e7}.icon-wrap{padding:3px 10px}
h1{font-size:1.4rem}h2{font-size:1.2rem}h3{font-size:1.05rem}small,.small{font-size:.9rem}.section-title{margin:24px 0 12px;flex-wrap:wrap}.section-title>a,.section-title>button{min-height:52px;min-width:52px;font-size:.9rem}
.card{padding:18px;margin-bottom:16px}.card>h2,.card>h3,.card>.card-title{font-size:1.1rem}.list-row,.row{padding:14px 0;gap:12px}.list-row>span:first-child,.row>span:first-child{font-size:1rem;flex-basis:36%}.list-row>strong,.row>strong,.list-row>span:last-child,.row>span:last-child{font-size:1rem}.click-row{min-height:72px;padding:16px;gap:12px}.click-row strong{font-size:1.05rem}.click-row>.icon:last-child{color:var(--muted);width:22px}
.actions{gap:12px;margin-top:18px}.actions>.button{flex-basis:140px}.actions>.button:first-child:not(.secondary):not(.quiet){flex-basis:100%}.button,.button.small{min-height:56px;min-width:52px;padding:13px 16px;font-size:1rem;line-height:1.5}.button.secondary{border-color:#71816f}.button.danger{border-color:#aa3c32}.text-button{min-height:52px;min-width:52px;font-size:1rem;padding:10px 4px}
.badge,.status,.tag{font-size:.9rem;padding:4px 9px}.badge.gray,.status.gray,.tag.gray{color:#4d5e51}.badge.red,.status.red,.badge.closed{color:#96392f}.notice{font-size:.9rem;line-height:1.8;padding:15px}.notice.warning{color:#72501e}.notice.danger{color:#96392f}.inline-hint{font-size:.9rem}.eyebrow{font-size:.9rem;letter-spacing:.03em}
.metric-grid,.work-stats{grid-template-columns:repeat(auto-fit,minmax(min(100%,7.5rem),1fr));gap:12px}.metric small,.metric span,.work-stats span{font-size:.9rem}.metric strong{font-size:1.5rem}.money{font-size:1.5rem}.money small,.unit{font-size:.9rem}.big-money{font-size:1.8rem;letter-spacing:0;overflow-wrap:anywhere}
.field{gap:9px;margin-bottom:22px}.field label,.field>span{font-size:1rem}.field small{font-size:.9rem}input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:56px;border:1.5px solid #71816f;font-size:1rem;padding:12px;line-height:1.6}textarea{min-height:140px}input::placeholder,textarea::placeholder{color:#586651;opacity:1}input[readonly]{color:#536457}
.check-row,.radio-row{min-height:56px;font-size:1rem;gap:12px;padding:8px 0;flex-wrap:wrap}.check-row input,.radio-row input,.pay-channel input{width:28px;height:28px;min-width:28px;flex-shrink:0}.check-row>span,.radio-row>span{flex:1;min-width:0}.field-error{display:block;width:100%;font-size:1rem!important;line-height:1.65;color:#96392f!important;font-weight:650!important;margin-top:6px}input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{border:2px solid #96392f;background:#fff8f5}
.search-box input[type=search]{font-size:1rem;border-color:#71816f;border-radius:12px;padding:12px 12px 12px 46px}.search-box>.icon{top:18px;left:14px;width:24px;height:24px;color:var(--muted)}.search-box:has([data-home-search-submit]){display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.search-box [data-home-search-submit]{min-width:64px}
.segmented,.tabs,.filter-chips{flex-wrap:wrap;overflow:visible;gap:10px}.segmented button,.tabs button,.filter-chips button{min-height:52px;min-width:52px;font-size:1rem;white-space:normal;border-color:#71816f;border-radius:12px}
.home-welcome{padding:4px 0 6px}.home-welcome h2{font-size:1.25rem;margin:0 0 6px}.home-welcome p{font-size:.9rem;margin:0;color:var(--muted)}.location-line{flex-wrap:wrap;margin:4px 0}.location-line>button{min-height:52px;font-size:1rem}.location-line>span{font-size:.9rem}
.senior-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 18px}.senior-task{min-width:0;min-height:144px;border:1px solid #8da28b;border-radius:16px;background:var(--paper);padding:16px 10px;display:flex;flex-direction:column;align-items:center;gap:5px;color:var(--green);text-align:center}.senior-task:nth-child(2){background:#f3eee0}.senior-task:nth-child(3){background:#edf3e8}.senior-task:nth-child(4){background:#eaf1ee}.task-icon{width:38px;height:38px;display:grid;place-items:center}.task-icon .icon{width:32px;height:32px;stroke-width:2}.task-title{font-size:1.2rem;font-weight:700;line-height:1.5}.task-help{font-size:.9rem;color:var(--muted);line-height:1.5}
.senior-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.senior-services .service-tile{border:1px solid #98aa93;background:var(--paper);border-radius:14px;padding:12px;min-height:90px;font-size:1rem;gap:8px}.senior-services .tile-icon{width:36px;height:36px;background:transparent;color:var(--green)}.help-entry{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;min-height:64px;padding:14px;border:1px solid #71816f;background:#e8f0e7;border-radius:12px;color:var(--green);font-size:1rem;text-align:left;margin:16px 0}.service-ribbon{font-size:.9rem;color:var(--muted)}
.product-info h3{font-size:1.05rem}.product-info p{font-size:.9rem}.product-bottom{flex-wrap:wrap;gap:10px}.product-bottom .money{font-size:1.4rem}.add-dot{width:32px;height:32px}.feature-product>.product-image{height:190px}.product-heading{flex-wrap:wrap}.product-heading h2{font-size:1.25rem}.order-product{flex-wrap:wrap}.order-product h3{font-size:1rem}.order-product p,.order-product .item-amount{font-size:.9rem}.order-product .item-copy{min-width:120px}.order-head{font-size:.9rem;flex-wrap:wrap}.qty{max-width:100%}.qty button{width:56px;height:56px;min-width:52px;min-height:52px;font-size:1.2rem}.qty output{min-width:52px;font-size:1.05rem}.cart-summary{flex-wrap:wrap}.cart-summary small{font-size:.9rem;color:#dce8d8}
.purchase-steps{list-style:none;display:flex;flex-wrap:wrap;gap:12px;margin:6px 0 20px;padding:0}.purchase-steps li{flex:1 1 90px;display:flex;align-items:center;gap:7px;padding:8px 0;color:var(--muted);font-size:.9rem}.purchase-steps li[aria-current=step]{font-weight:700;color:var(--green)}.step-number{display:grid;place-items:center;min-width:32px;height:32px;background:#e1eadc;border-radius:50%;font-size:.9rem}.purchase-steps [aria-current=step] .step-number{background:var(--green);color:white}
.profile{flex-wrap:wrap}.profile h2{font-size:1.25rem}.profile p{font-size:.9rem}.mode-switch-card strong{font-size:1.05rem}.mode-switch-card small{font-size:.9rem;color:var(--muted)}.role-card .role-head{flex-wrap:wrap}.role-card .role-head>div:nth-child(2){min-width:100px}.role-card p{font-size:.9rem}.material-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,6rem),1fr))}.material{font-size:.9rem;color:#466139;min-height:100px}
.work-tile{flex-wrap:wrap;min-height:90px;padding:16px}.work-tile strong{font-size:1rem}.work-tile small,.task-card p{font-size:.9rem}.task-card .task-top{flex-wrap:wrap}.task-card h3{font-size:1.1rem}.timeline>li,.timeline>.step{font-size:1rem}.timeline strong{font-size:1rem}.timeline p,.timeline small{font-size:.9rem}
.article{font-size:1rem}.article .byline,.news-item small{font-size:.9rem}.news-item h3{font-size:1.05rem}.news-item{flex-wrap:wrap}.result-hero p,.empty-state p{font-size:1rem}.pay-channel{min-height:72px}.pay-channel .channel-mark{color:#176b38}.pay-channel.blue .channel-mark{color:#205e99}.record-number{font-size:.9rem}
.dialog{padding:22px}.dialog h2{font-size:1.25rem}.dialog p{font-size:1rem}.reading-options{display:grid;gap:12px;margin:16px 0}.reading-options .button{width:100%}.review-head{flex-wrap:wrap}.review-controls{grid-template-columns:minmax(0,1fr)}.review-source summary{min-height:52px;display:list-item;padding:10px 0}.review-page-list strong{font-size:1rem}.review-source,.review-footer,.review-head small,.review-page-list small{font-size:.9rem}
#toast{bottom:calc(var(--nav-height) + 14px);font-size:1rem;line-height:1.65;max-height:50dvh;overflow:auto}
.large-text .app-header{position:static}.large-text .header-tools{grid-column:1/-1;justify-content:flex-end}.large-text .header-tools button{flex:1}.large-text .grid-2,.large-text .grid-3,.large-text .senior-task-grid,.large-text .senior-services{grid-template-columns:minmax(0,1fr)}.large-text .list-row,.large-text .row{flex-direction:column;gap:5px}.large-text .list-row>span:first-child,.large-text .row>span:first-child{flex-basis:auto}.large-text .list-row>strong,.large-text .row>strong,.large-text .list-row>span:last-child,.large-text .row>span:last-child{text-align:left}.large-text .product-info{padding:16px}.large-text .actions>.button{flex-basis:100%}
@media(max-width:359px){.app-main{padding-left:12px;padding-right:12px}.card{padding:15px}.senior-task{padding:14px 8px}.header-tools{gap:6px}.reading-button{min-width:60px}.app-header{gap:6px}.big-money{font-size:1.7rem}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{.app-main{padding-bottom:20px}.app-header{position:static}}

/* Preserve clear error messages and comfortable disclosure controls. */
main summary{min-height:56px;padding:10px 0;cursor:pointer;line-height:1.65}
.check-row,.radio-row{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:start}.check-row>.field-error,.radio-row>.field-error{grid-column:1/-1;width:100%;min-width:0}
#toast{width:max-content;max-width:min(calc(100vw - 32px),400px)}
