/* 云协作入口与网页布局：保留橙色和老人端的大字按钮。 */
:root { --sync-orange:#c74712; }
.sync-bar{max-width:1200px;margin:18px auto 0;padding:16px 22px;display:flex;gap:18px;align-items:center;justify-content:space-between;border:1px solid #e9dfd6;border-radius:22px;background:linear-gradient(120deg,#fff8f0,#fff);box-shadow:0 6px 24px #51311906}
.sync-bar strong{display:block;font-size:17px;line-height:1.5}.sync-bar small{display:block;color:#706259;line-height:1.7}.sync-bar button{flex:none;min-height:46px;border-radius:14px;padding:10px 18px;background:#fff;color:var(--sync-orange);border:1px solid #e7caba}.sync-bar[data-connected=true] strong:before{content:'●';color:#368256;font-size:11px;margin-right:8px}
.sync-intro{padding:5px 0 18px}.sync-intro p{color:#766456;line-height:1.7}.sync-eyebrow{font-size:13px;letter-spacing:.08em;color:var(--sync-orange);font-weight:700}.sync-intro h3{font-size:26px;margin:12px 0 8px}.sync-tabs{display:flex;padding:5px;background:#f3eee8;border-radius:15px;margin:0 0 24px;gap:4px}.sync-tabs button{flex:1;border:0;background:transparent;padding:11px 5px;border-radius:11px}.sync-tabs button[aria-pressed=true]{background:#fff;box-shadow:0 2px 6px #0001;color:var(--sync-orange)}.sync-field{display:grid;gap:8px;margin:18px 0;color:#493d33}.sync-field input{width:100%;box-sizing:border-box;min-height:50px;padding:12px 14px;border:1px solid #dacfc5;border-radius:12px;background:#fff;font:inherit}.sync-check{display:flex;gap:10px;align-items:flex-start;line-height:1.6;margin:20px 0}.sync-check input{margin-top:5px;min-width:20px;height:20px}.sync-submit{width:100%;min-height:54px!important;border-radius:14px!important;margin-top:8px}.sync-error{color:#b63115;line-height:1.5}.sync-footnote{font-size:14px;color:#766d64;line-height:1.75;margin:22px 0}.sync-members{list-style:none;padding:0}.sync-members li{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #eee5db}.sync-members small{display:block;margin-top:6px;color:#74685c}.sync-section-title{margin-top:30px}.sync-invite-card,.sync-draft{background:#fff4e6;border-radius:16px;padding:18px;margin:18px 0;line-height:1.7}.sync-invite-card input{width:100%;box-sizing:border-box;margin-top:12px;font-size:22px;border:1px solid #e5c9ad;border-radius:10px;padding:12px}.sync-security{margin:24px 0}.sync-current-status{color:#416449}.sync-bar button:focus-visible,.sync-tabs button:focus-visible{outline:3px solid #dc8c50;outline-offset:3px}
body{background:#f8f7f4}body[data-role=family] .app-header{background:#ffffffed;backdrop-filter:blur(18px);border-bottom:1px solid #eee5dd}.home-card,.recipe-card{box-shadow:0 4px 24px #55402a06}.home-card{border-radius:24px}button{transition:background .16s ease,box-shadow .16s ease,transform .16s ease}button:active{transform:scale(.98)}
@media(min-width:1100px){body[data-role=family] #main{max-width:1200px;margin:auto}body[data-role=family] .app-header{padding-left:max(28px,calc((100vw - 1200px)/2));padding-right:max(28px,calc((100vw - 1200px)/2))}body[data-role=family] .helper-bar{max-width:1200px;margin:20px auto;border-radius:20px}.sync-bar{margin-top:24px}}
@media(max-width:700px){.sync-bar{margin:12px 14px 0;padding:13px 15px;gap:10px;border-radius:18px}.sync-bar strong{font-size:15px}.sync-bar small{font-size:12px}.sync-bar button{padding:8px 12px;font-size:14px}.sync-tabs button{font-size:15px}.sync-field input{font-size:17px}.sync-members button{min-height:44px}body[data-role=elder] .sync-bar{margin-bottom:2px}.sync-intro h3{font-size:24px}}
@media(prefers-reduced-motion:reduce){button{transition:none!important}}
@media print{.sync-bar{display:none!important}}

.proposal-detail{margin:18px 0;padding:14px;background:#fff7ef;border-radius:14px}.proposal-detail summary{cursor:pointer;color:#a33e15;font-weight:600;min-height:36px}.proposal-detail dl{font-size:16px;line-height:1.7}.proposal-detail dl div{padding:12px 0;border-bottom:1px solid #eddfd1}.proposal-detail dt{font-weight:700}.proposal-detail dd{margin:6px 0 0;overflow-wrap:anywhere}.proposal-detail dd span{color:#75665a}.proposal-detail dd strong{color:#9a3a12}.proposal-map{width:100%;max-height:220px;background:#fff;border:1px solid #ecd8c7;border-radius:12px}
