/* A single warm, readable surface across the family room, plan and settings. */
:root{--ink:#273452;--muted:#626879;--line:#e5e4df;--page:#f7f6f2;--purple:#293859;--lilac:#e9eee9}
body{color:var(--ink)}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #50716c;outline-offset:3px}
.page-heading h1,.settings-overview h2{font-family:Georgia,serif;font-weight:700;letter-spacing:-.7px}
.page-heading p{max-width:600px;line-height:1.6}
.bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-inline:14px;background:#fffdfa}
.bottom-nav .nav-item{min-height:58px;border-radius:17px;gap:6px;font-size:12px}
.bottom-nav .nav-item.active{background:#e7ede7;color:#294b43}
.bottom-nav .nav-item .icon{height:23px;width:23px}
.day-navigation{display:flex;gap:6px;background:#eeede7;border-radius:16px;padding:5px;margin-bottom:24px;max-width:520px}
.day-navigation button{flex:1;border:0;min-height:46px;border-radius:12px;background:transparent;color:#626879;font-size:14px}
.day-navigation button.active{background:#fff;color:var(--ink);box-shadow:0 2px 7px #28355209;font-weight:700}
.day-navigation .badge{padding:2px 6px;min-width:20px;background:#f2dfd2;color:#6a493c}
.settings-overview{display:grid;gap:20px;align-items:start}
.settings-overview .support-card{padding:25px;margin:0;border-radius:24px}
.settings-overview h2{font-size:25px;margin:12px 0}
.settings-overview p{font-size:14px;line-height:1.7}
.settings-overview .help{font-size:12px}
.settings-overview .menu-row{min-height:58px;font-size:15px}
.settings-overview .button{margin:8px 0}
.settings-family{background:#faeee6}
.settings-symbol{width:44px;height:44px;border-radius:15px;display:grid;place-items:center;background:#ead0bf;color:#805840}
.danger-zone{border-color:#e6c8bf}
.room-dialog{z-index:90}
.room-dialog .modal-card{max-width:550px}
.room-dialog p{line-height:1.7;color:var(--muted);font-size:15px}
.room-dialog .help{font-size:12px}
.invite-steps{padding-left:24px;margin:22px 0}
.invite-steps li{padding:6px 0 6px 5px;font-size:15px}
.invite-steps li::marker{color:#a5674b;font-weight:700}
.privacy-note{display:flex;gap:14px;background:#eaf0e9;border-radius:18px;padding:18px}
.privacy-note>.icon{flex-shrink:0;width:24px;height:24px}
.privacy-note p{margin-bottom:0}
.security-code{display:block;background:#f4f0e9;border-radius:15px;padding:20px;font:600 18px/1.8 monospace;letter-spacing:1px;text-align:center;overflow-wrap:anywhere;margin:20px 0}
.room-header{background:#fffdfa}
.room-header h2{font-family:Georgia,serif;font-size:20px}
.room-avatar{background:#e2ebe2;color:#426457}
.chat-encryption{background:#f7f7f1}
.chat-encryption .text-button{font-size:11px;color:#566458;min-height:36px}
.chat-empty{max-width:430px;padding:30px 12px}
.chat-empty h3{font-family:Georgia,serif;font-size:26px;letter-spacing:-.5px}
.chat-empty p{line-height:1.8;font-size:15px}
.chat-messages{background:radial-gradient(ellipse at 100% 0,#f7efe750,transparent 70%),#fffcf9}
.chat-bubble p{font-size:17px;line-height:1.6}
.chat-author{font-size:12px}
.chat-author time{font-size:11px;color:#626675}
.chat-message.mine .chat-bubble{background:#e5ede5}
.chat-bubble{background:#f3e9df;box-shadow:0 1px 0 #29355305}
.composer-status{font-size:11px;line-height:1.45;color:#5d6775;min-height:16px}
.chat-composer{background:#fffdfa}
.channel-tabs button{font-size:13px;min-height:47px;padding-inline:12px}
.channel-tabs button.active{border-bottom-color:#7d998b}
.family-secondary{display:none}
.older-messages{align-self:center;flex-shrink:0;min-height:44px}
body[data-workspace-view="family"] .workspace-footnote,body[data-workspace-view="more"] .mobile-add{display:none}
.family-hero-copy h1{letter-spacing:-2px}
body[data-demo-enabled="false"] a[href^="/demo"]{display:none}
@media(min-width:700px){.settings-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.danger-zone{grid-column:1/-1}}
@media(min-width:1000px){
 .rail{background:#283552;color:#fff;border:0;padding-top:30px}
 .rail .brand{color:#fff}.rail .brand-mark{background:#efd4c4;color:#283552}
 .rail-label{color:#b7c4ce;font-size:10px;letter-spacing:.13em}
 .rail .nav-item{color:#d3dbe2;min-height:54px;font-size:14px;border-radius:15px}
 .rail .nav-item.active{background:#dce9df;color:#294239}
 .rail .calendar-choice{color:#cdd6e1;font-size:12px}
 .rail .calendar-choice.active{background:#ffffff0d;color:#fff}
 .rail-bottom p,.rail-bottom .text-button{color:#c1cbd7}
 .rail-bottom .badge{background:#ffffff10;color:#d4dedf;border-color:#ffffff20}
 .workspace-top{height:78px}
 body[data-workspace-view="family"] .page-heading{margin:25px 0}
 body[data-workspace-view="family"] .family-room{height:calc(100dvh - 252px);min-height:340px;box-shadow:0 10px 45px #29355205}
 .room-header{padding:18px 24px}.room-header h2{font-size:23px}
 .room-header .call-entry{background:#dce9df;color:#2c5043;font-size:13px;padding:12px 16px}
 .community-welcome{display:none}
}
@media(max-width:599px){
 .workspace-main{padding-inline:16px}
 .page-heading h1{font-size:32px;line-height:1.12}.page-heading p{font-size:14px}
 .settings-overview{gap:15px}.settings-overview .support-card{padding:21px}
 .room-header{padding:12px;gap:9px;min-height:73px}
 .room-header h2,.guest-room .room-header h2{font-size:18px}
 .room-header>div>span{font-size:11px;line-height:1.4}
 .room-avatar{width:35px;height:38px;border-radius:12px}
 .room-header .icon-button{width:36px;min-width:36px}
 .room-header .call-entry{min-width:44px;background:#dce9df;color:#284f42}
 .channel-tabs{justify-content:space-between;padding-inline:6px}
 .channel-tabs button{font-size:12px;padding-inline:8px}
 .chat-encryption .text-button{font-size:10px}
 .chat-messages{padding:15px 12px;gap:17px}
 .chat-message>.avatar{display:none}.chat-bubble{max-width:92%;padding:12px 14px}
 .chat-bubble p{font-size:17px}.chat-author{font-size:12px}.chat-author time{font-size:10px}
 .chat-composer{padding:10px 10px 6px}.composer-row{gap:5px}
 .composer-row>.icon-button,.send-button{width:38px;min-width:38px}
 .composer-row textarea{padding-inline:10px}.composer-status{font-size:10px;line-height:1.4}
 body[data-workspace-view="family"] .family-room{border-radius:19px 19px 0 0}
 .chat-empty h3{font-size:24px}.chat-empty p{font-size:14px}.chat-empty .badge{font-size:10px}
 .room-dialog .modal-card{padding:25px 21px}
 .call-controls{gap:10px;padding-inline:0}.call-control{width:66px}.call-control span{font-size:11px}
 .call-status{font-size:14px}.call-bottom .text-button,.call-bottom>span{font-size:12px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(min-width:1000px){body[data-workspace-view="family"] .workspace-main{padding-bottom:20px}.chat-empty{padding-block:12px}}

@media(max-width:599px){.guest-room{padding-bottom:0}.guest-header{height:70px;min-height:70px}.guest-room .chat-composer{padding-bottom:calc(7px + env(safe-area-inset-bottom))}.guest-header>.text-button{font-size:16px;min-height:44px}.guest-room .room-header h2{font-size:17px}}
