:root{--bg:#faf8f6;--paper:#fff;--green:#49354f;--green2:#ece5ed;--green3:#e4dce6;--deep:#49354f;--ink:#28242c;--muted:#756c79;--line:#eae4e8;--clay:#8b5663;--radius:14px;--shadow:0 8px 26px #49354f04}
*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);font-size:15px;line-height:1.7}button{touch-action:manipulation}button,a,input,select,textarea{font:inherit}button:disabled{cursor:default}img{max-width:100%}[hidden]{display:none!important}h1,h2,h3{word-break:keep-all;overflow-wrap:anywhere}p{overflow-wrap:anywhere}.btn{border-radius:10px;min-height:42px;font-size:13px;gap:7px}.btn.primary{background:#49354f;border-color:#49354f;color:#fff}.btn.primary:hover{background:#61496a}.btn.danger{color:#9a393e;border-color:#e6c5c8}.btn.sm{min-height:36px;font-size:12px}.btn.ghost{border-color:transparent}.icon-btn{width:40px;height:40px;flex:0 0 40px;color:#756c79}.icon-btn:hover{background:#ece5ed;color:#49354f}.chip{border-radius:20px;font-size:11px;background:#ece5ed;color:#69546f;padding:3px 9px}.chip.green{background:#ede6f4;color:#65526d}.small,.muted,.section-note{color:var(--muted)}.small,.section-note{font-size:12px}.card{border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.eyebrow{font-family:var(--font-body);font-size:10px;font-weight:650;letter-spacing:.15em;color:#806a87}.section-block{margin-top:30px}.section-heading{margin-bottom:18px}.section-heading h2{font-size:24px}.section-heading p{font-size:14px;color:var(--muted);line-height:1.8}.button-line{gap:8px}.record-memo,.journal-body,.phase-memo{white-space:pre-wrap;overflow-wrap:anywhere;color:#605566}.banner{padding:18px 20px;border-radius:12px;background:#f4eff3;border-color:#e9e2e9;color:#5f4165}.banner p{font-size:13px;line-height:1.8}.banner.warning{background:#fcf1e9;border-color:#efdfcf;color:#78533c}.warning-text{color:#a04445;font-size:12px}.section-note{line-height:1.8}.empty{border-radius:12px;padding:35px 20px;border-color:#e5dbe6;background:#fdfbfc}.empty-line-icon{display:block;color:#a083ac;margin-bottom:12px}.empty strong{display:block;font-size:15px;color:#4e3454}.empty p{font-size:13px;margin:8px 0 15px;color:#756c79}
/* Shared application shell */
.rail{width:224px;padding:28px 16px 18px;background:#fff;border-color:var(--line)}.brand{padding:0 20px 26px}.brandmark img{width:100%;height:auto}.rail .brandmark{width:100%;height:auto;background:none;border:0}.rail .brand>span:last-child{display:none}.nav-items{gap:4px}.nav-btn{font-size:13px;padding:11px 13px;min-height:44px;border-radius:10px;color:#756c79}.nav-btn.active{background:#ece5ed;color:#49354f}.nav-btn svg{width:18px;height:18px}.rail-foot{border:0;border-top:1px solid var(--line);border-radius:0;background:none;padding:18px 8px 0}.rail-foot b{font-size:13px;font-family:var(--font-body);font-weight:600}.rail-foot p{font-size:11px;line-height:1.8}.workspace{margin-left:224px}.topbar{height:78px;padding:0 32px;border-color:var(--line);background:#fff;gap:18px}.workspace-heading{display:flex;align-items:center;gap:8px;min-width:0}.workspace-heading #topTitle{font-size:14px;color:#5c4a61;white-space:nowrap}.workspace-heading>.icon-btn{font-size:22px}.workspace-screen .desktop-brand,.workspace-screen .mobile-brand,.workspace-screen .landing-nav{display:none}.top-right{display:flex;gap:9px;flex-shrink:0}.workspace-screen .top-right>.btn{display:none}.workspace-add{font-size:24px;border:1px solid #eaddf0;border-radius:50%;color:#806a87}.project-switch-wrap{margin-left:auto;min-width:0;max-width:240px}.project-switch-wrap select{width:100%;background:#f8f5f7;border:1px solid #eadfee;border-radius:9px;padding:8px 32px 8px 12px;font-size:12px;color:#5c3765;min-height:38px;text-overflow:ellipsis}.content{max-width:1440px;padding:30px 32px 100px}.workspace-screen h1,.workspace-screen h2,.workspace-screen h3{font-family:var(--font-body);font-weight:650;letter-spacing:-.035em}.page-intro{margin-bottom:24px;gap:16px;align-items:center}.page-intro h1{font-size:27px;margin:4px 0 8px}.page-intro p{font-size:14px;line-height:1.8;color:#756c79;max-width:620px}.page-intro .eyebrow{font-size:9px}.pane{padding:22px}.pane h2,.pane-heading h2{font-size:18px}.pane-heading{align-items:center;margin-bottom:18px}.record-actions{display:flex;gap:1px;justify-content:flex-end;margin-left:auto}.floating-add{position:fixed;z-index:35;bottom:28px;right:28px;width:54px;height:54px;border:0;border-radius:50%;background:#49354f;color:#fff;font-size:29px;box-shadow:0 8px 24px #49354f30;display:grid;place-items:center}.floating-add:hover{background:#6e5875}.workspace-screen .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}.stat{padding:19px;min-width:0;min-height:108px}.stat>span{font-size:12px;color:#756c79}.stat>strong{display:block;font-size:22px;margin:7px 0 2px;letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#49354f}.stat>small{font-size:11px;color:#756c79}.filter-bar{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:0 0 20px}.filter-label{display:grid;gap:5px;min-width:130px;max-width:240px}.filter-label>span{font-size:11px;color:#756c79}.filter-label select{width:100%;min-height:38px;border:1px solid #e9e3e8;border-radius:8px;background:#fff;color:#604a68;padding:7px 30px 7px 11px;font-size:12px}.file-controls{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:12px 0}.file-controls>span{font-size:11px;color:#756c79;overflow-wrap:anywhere}.subheading{font-size:14px;margin:22px 0 10px}.subheading>span{color:#806a87}.progress-track{height:6px;background:#eee8f0}.progress-track>div{background:#98839d}.progress-ring{width:108px;height:108px;border-radius:50%;padding:8px;background:conic-gradient(#9a88a0 calc(var(--progress)*1%),#eee8f0 0);flex-shrink:0}.progress-ring>div{width:100%;height:100%;background:white;border-radius:50%;display:grid;align-content:center;justify-items:center}.progress-ring strong{color:#76627d;font-size:25px;font-weight:650}.progress-ring span{font-size:11px;color:#756c79}.photo-label{position:absolute;bottom:10px;right:10px;font-size:10px;line-height:1.4;background:#fffefaeb;color:#695270;padding:4px 8px;border-radius:10px;max-width:calc(100% - 20px)}
/* Public homepage */
.landing-screen .rail,.landing-screen .bottom-nav,.landing-screen .workspace-heading,.landing-screen .project-switch-wrap,.landing-screen .workspace-add{display:none}.landing-screen .workspace{margin-left:0}.landing-screen .topbar{position:relative;z-index:10;margin:24px auto -100px;max-width:1248px;height:76px;padding:12px 24px;border:1px solid #eee5ec;border-radius:13px;background:#ffffffed;box-shadow:0 8px 36px #49354f05}.landing-screen .desktop-brand{display:block;flex:0 0 132px;min-width:0}.landing-screen .desktop-brand img{display:block;width:132px;max-height:54px;object-fit:contain}.landing-screen .mobile-brand{display:none}.landing-nav{margin-left:auto;display:flex;gap:25px;align-items:center}.landing-nav button{background:none;border:0;font-size:12px;color:#5b4860;padding:10px 0;white-space:nowrap}.landing-nav button:hover{color:#49354f;text-decoration:underline;text-underline-offset:5px}.landing-screen .top-right>.btn{font-size:12px;padding:10px 17px}.landing-screen .content{padding:0;max-width:none}.platform-hero{position:relative;min-height:670px;overflow:hidden;isolation:isolate;background:#f9f4ed}.platform-hero>img{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:65% center;z-index:-2}.platform-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#fcf9f5f5,#fcf9f5c9 32%,#fcf9f52b 60%,transparent 78%)}.platform-hero-content{max-width:1280px;margin:auto;padding:170px 48px 140px}.platform-hero h1{font:400 clamp(36px,3.6vw,52px)/1.5 var(--font-title);letter-spacing:-.05em;color:#49354f;margin:18px 0 18px}.platform-hero p{font-size:15px;color:#67516a;line-height:1.9;margin-bottom:23px}.platform-hero .btn.primary{padding:13px 23px;border-radius:24px}.local-badge{display:block;margin-top:15px;font-size:11px;color:#756c79}.landing-content{max-width:1248px;margin:auto;padding:0 28px}.landing-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;position:relative;margin-top:-70px;z-index:2}.landing-feature{padding:26px 22px;text-align:left;border-radius:13px;min-height:160px;background:#ffffffed;box-shadow:0 10px 35px #49354f07}.landing-feature>span{display:grid;place-items:center;background:#f0eaf1;color:#806a87;border-radius:50%;width:48px;height:48px;margin-bottom:13px}.landing-feature h2{font:600 16px/1.5 var(--font-body);color:#522c5d}.landing-feature p{font-size:12px;color:#756c79;margin-top:5px}.landing-feature:hover{border-color:#c8abd8;transform:translateY(-2px)}.landing-intro{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center;padding:40px 0 20px}.landing-intro h2{font-size:32px;line-height:1.6;margin-top:13px}.landing-intro>p{font-size:15px;color:#756c79;line-height:2}.landing-journey{padding:25px 0}.landing-journey ol{padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.landing-journey li{border-top:1px solid #e6d8e8;padding:18px 4px}.landing-journey li>span{font-size:12px;color:#9b76ac}.landing-journey h3{font-family:var(--font-body);font-size:15px;color:#513458;margin:7px 0}.landing-journey p{font-size:12px;color:#756c79}.landing-preview{display:grid;grid-template-columns:1fr 1fr;gap:25px}.landing-preview>.card{padding:32px}.landing-preview>.card>span{color:#98839d}.landing-preview h2{font-size:28px;line-height:1.6;margin:16px 0}.landing-preview p{font-size:14px;color:#756c79;margin-bottom:20px}.roadmap-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.roadmap-card{padding:21px 19px;position:relative;background:#fcf7fa}.roadmap-card>span{display:block;color:#98839d;margin-bottom:14px}.roadmap-card .chip{position:absolute;top:20px;right:16px;font-size:10px}.roadmap-card h3{font-family:var(--font-body);font-size:14px;margin:8px 0 5px}.roadmap-card p{font-size:12px;color:#756c79}.brand-story-teaser{padding:40px 0;gap:55px}.site-footer{padding:30px 0 45px;border-top:1px solid var(--line);text-align:center}.site-footer img{width:150px;height:auto}.site-footer p{font-size:14px;color:#5e4166;margin:15px 0 5px}.site-footer>span{display:block;font-size:11px;color:#756c79;margin-bottom:12px}.brand-about h1,.brand-about h2{font-family:var(--font-title);font-weight:400}.brand-about-statement p{font-size:15px}
/* Project dashboard */
.project-hero{overflow:hidden}.project-photo{position:relative;height:260px;background:#f5efe9}.project-photo>img{width:100%;height:100%;object-fit:cover;object-position:center 60%}.project-hero-body{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:24px 28px}.project-hero-body h2{font-size:25px;margin:7px 0}.project-hero-body p{font-size:14px;color:#756c79;margin-bottom:14px;white-space:pre-wrap}.project-hero-body>.progress-ring{flex-shrink:0}.dashboard-stage-track{padding:0 28px 22px;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}.dashboard-stage-track button{display:grid;justify-items:center;gap:7px;background:none;border:0;font-size:10px;color:#84798a;line-height:1.5;padding:4px 0}.dashboard-stage-track i{width:13px;height:13px;border-radius:50%;background:#e5dce8;color:#fff;display:grid;place-items:center;font-style:normal}.dashboard-stage-track .current i{background:#b286c9}.dashboard-stage-track .done i{background:#806a87}.dashboard-stage-track .current{color:#734185}.dashboard-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.dashboard-shortcuts button{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;display:flex;align-items:center;gap:13px;text-align:left;color:#55335f}.dashboard-shortcuts button>span{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:#f0eaf1;flex-shrink:0}.dashboard-shortcuts button:nth-child(2)>span{background:#f7eee7}.dashboard-shortcuts button:nth-child(3)>span{background:#f3e4eb}.dashboard-shortcuts button:nth-child(4)>span{background:#eee9f7}.dashboard-shortcuts b{font-size:14px;font-weight:600}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.next-task{background:#f8f5f8;border-radius:10px;padding:18px}.next-task>span{font-size:12px;color:#895d9b}.next-task h3{font-size:16px;margin:5px 0}.next-task p{font-size:12px;color:#756c79}.task-row{padding:14px 0;border-color:#f0e9ef;gap:11px;align-items:center}.task-copy{flex:1;min-width:0}.task-copy strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.task-copy .complete{text-decoration:line-through;color:#88768f}.task-copy p{font-size:11px;color:#756c79;line-height:1.6;margin:4px 0 0}.check{width:28px;height:28px;flex:0 0 28px;border-color:#d6bfdf;border-radius:8px;margin:0}.check.checked{background:#947a9c;border-color:#947a9c}.task-row .record-actions{gap:0}.task-row .record-actions .icon-btn{width:30px;height:36px;flex-basis:30px}.recent-journal{display:flex;align-items:center;gap:12px;background:none;border:0;border-bottom:1px solid var(--line);text-align:left;width:100%;padding:14px 0}.recent-journal>img,.recent-journal>span{width:55px;height:55px;border-radius:10px;object-fit:cover;flex-shrink:0;display:grid;place-items:center;color:#9874aa;background:#f6eff8}.recent-journal>div{flex:1;min-width:0}.recent-journal small{font-size:10px;color:#87718e}.recent-journal h3{font-size:13px;margin:3px 0}.recent-journal p{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#756c79}.decision-row{border-bottom:1px solid var(--line);padding:10px 0}.decision-row>span{font-size:10px;color:#9874aa}.decision-row>p{font-size:13px;margin-top:4px}
/* Schedule */
.phase-timeline{position:relative;display:grid;gap:18px;padding-left:34px;max-width:950px}.phase-timeline::before{content:"";position:absolute;left:9px;top:18px;bottom:18px;width:2px;background:#e2d4e7}.phase-card{position:relative;padding:23px}.phase-dot{position:absolute;left:-34px;top:28px;width:20px;height:20px;border:4px solid #f2e6f7;border-radius:50%;background:#a97cc2;display:grid;place-items:center;color:#fff}.phase-dot.done{border-width:2px;background:#806a87}.phase-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.phase-heading h2{font-size:19px;margin:3px 0 5px}.phase-heading p{font-size:12px;color:#756c79}.phase-heading .chip{flex-shrink:0}.phase-dates{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#756c79;margin:15px 0 10px}.phase-dates b{font-weight:550;color:#806a87}.phase-card>.button-line{margin-top:17px}.phase-memo{font-size:13px;margin:13px 0}.hidden-stages{padding:20px 0;display:flex;flex-wrap:wrap;gap:8px;align-items:center}.hidden-stages h3{font-size:13px;margin-right:8px}#task-list{scroll-margin-top:20px}
/* Budget */
.budget-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:22px;align-items:start}.budget-overview{padding:25px}.budget-donut{width:216px;height:216px;border-radius:50%;margin:0 auto 25px;padding:29px}.budget-donut>div{width:100%;height:100%;border-radius:50%;background:#fff;display:grid;place-content:center;text-align:center;gap:3px}.budget-donut span{font-size:12px;color:#756c79}.budget-donut strong{font-size:23px;color:#60406e;letter-spacing:-.04em}.budget-donut small{font-size:10px;color:#756c79}.budget-goal>div:first-child{display:flex;gap:10px;justify-content:space-between;font-size:11px;color:#756c79;margin-bottom:8px}.budget-goal strong{color:#8755a2}.budget-totals{border-block:1px solid var(--line);padding:15px 0;margin:20px 0}.budget-totals p{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:5px 0}.budget-totals span{color:#756c79}.budget-totals strong{font-variant-numeric:tabular-nums}.budget-overview>h2{font-size:14px;margin-bottom:15px}.category-legend>div{display:grid;grid-template-columns:9px 1fr auto 32px;gap:8px;align-items:center;margin:12px 0;font-size:11px}.category-legend i{width:7px;height:7px;border-radius:50%}.category-legend strong{font-weight:550}.category-legend small{font-size:10px;color:#756c79;text-align:right}.category-legend>p{font-size:12px}.expense-record{border-bottom:1px solid var(--line);padding:15px 0}.expense-record:last-child{border:0}.expense-heading{display:flex;gap:12px}.expense-heading>div:first-child{flex:1;min-width:0}.expense-heading h3{font-size:15px;margin:4px 0}.expense-heading p{font-size:11px;color:#756c79}.expense-record dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 0}.expense-record dl>div{background:#faf8f6;border-radius:8px;padding:10px}.expense-record dt{font-size:10px;color:#87718e}.expense-record dd{margin:3px 0 0;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.expense-record .record-memo{font-size:12px;margin-top:12px}.monthly-chart{margin:20px 0}.monthly-chart>div{display:grid;grid-template-columns:64px minmax(0,1fr) 90px;gap:15px;align-items:center;font-size:12px;margin:14px 0}.monthly-chart>div>div{height:9px;background:#f3edf5;border-radius:10px;overflow:hidden}.monthly-chart i{display:block;height:100%;background:#b388c4;border-radius:10px}.monthly-chart strong{font-size:12px;text-align:right}
/* Photos, documents and materials */
.journal-timeline{max-width:900px;margin:auto}.journal-month{font-size:16px!important;color:#806a87;padding-left:17px;border-left:3px solid #aa7ab9;margin:27px 0 17px}.journal-entry{padding:25px;margin-bottom:21px}.entry-date-line{display:flex;gap:12px;align-items:center;color:#865b9a;font-size:12px}.journal-entry>h2{font-size:21px;margin:12px 0 18px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px}.photo-thumb{height:auto;aspect-ratio:1.4;border-radius:10px}.photo-thumb img{width:100%;height:100%;object-fit:cover}.journal-body{font-size:14px;line-height:1.85}.journal-detail{margin:15px 0}.journal-detail>strong{font-size:11px;color:#87688e}.journal-detail>p{font-size:13px;color:#756c79;white-space:pre-wrap;margin-top:4px}.journal-decision{background:#faf3fa;border-left:3px solid #b6a2b9;border-radius:0 8px 8px 0;padding:13px 15px;margin-top:16px}.journal-decision strong{font-size:11px;color:#855094}.journal-decision p{font-size:13px;white-space:pre-wrap;margin-top:5px}.entry-footer{display:flex;justify-content:space-between;align-items:center;margin-top:18px;border-top:1px solid var(--line);padding-top:10px}.search-form{display:flex;gap:9px;margin-bottom:18px}.search-input{display:flex;align-items:center;gap:9px;border:1px solid #e9dfed;border-radius:10px;padding:0 13px;background:white;flex:1;min-width:0;color:#90749a}.search-input input{width:100%;min-width:0;min-height:42px;border:0;background:none;outline:0;font-size:14px}.search-input:focus-within{outline:2px solid #b493c4;outline-offset:2px}.document-folders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0}.document-folders button{display:flex;justify-content:space-between;gap:14px;align-items:center;border:1px solid #eadfeb;border-radius:9px;padding:13px 15px;background:#fcf8fc;color:#75557f;text-align:left;font-size:12px}.document-folders button:nth-child(3n+2){background:#f6eef8}.document-folders button:nth-child(3n){background:#f8f0e8;border-color:#eddfd4}.document-folders span{display:flex;gap:9px;align-items:center}.document-folders strong{font-size:11px;font-weight:550}.document-grid{gap:14px}.doc-card{padding:20px;gap:13px;min-width:0}.doc-details h2{font-size:16px;margin:10px 0 6px}.doc-details p{font-size:12px;line-height:1.8}.file-type{background:#f7f0f8;color:#91639f;width:40px;height:45px;flex:0 0 40px}.design-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.design-visual{aspect-ratio:1.25;overflow:hidden;background:#f5ede6;color:#ae8eb9}.design-visual>button{display:block;width:100%;height:100%;padding:0;border:0;background:none}.design-visual img{width:100%;height:100%;object-fit:cover}.design-body{padding:18px}.design-body h2{font-size:17px;margin:10px 0 7px}.design-body .money{display:block;font-size:14px;margin-top:10px}.design-body .record-memo{font-size:12px;line-height:1.8;margin:12px 0}.selection-reason{font-size:12px;color:#71557c;padding-top:10px;border-top:1px solid var(--line);margin:12px 0}.design-body a{display:inline-flex;gap:4px;align-items:center;font-size:12px;color:#806a87}.contact-card h2,.care-card h2{font-size:19px;margin:12px 0 7px}.contact-card p,.care-card p{font-size:13px}.phone-link{display:inline-flex;gap:7px;align-items:center;margin-top:12px;font-size:14px}.care-card>.btn{margin-top:15px}.projects-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.project-card{overflow:hidden}.project-list-photo{height:180px;background:#f2eaf3;position:relative}.project-list-photo img{width:100%;height:100%;object-fit:cover}.project-list-photo>span{display:grid;place-items:center;height:100%;color:#b093ba}.project-card>div:last-child{padding:22px}.project-card h2{font-size:22px;margin:10px 0 6px}.project-card p,.project-card small{font-size:12px;color:#756c79}.project-card .button-line{margin-top:20px}.settings-card h2{font-size:18px;margin-bottom:12px}.settings-card p{font-size:14px;line-height:1.85}.settings-card .small{font-size:11px;line-height:1.8}.storage-usage{display:block;font-size:12px;color:#855a98;padding:10px 0}.more-grid{gap:14px}.more-item{padding:20px;border-radius:12px;gap:15px;font-size:15px}.more-item>span:first-child{color:#9a73a8}.more-item small{font-size:11px}.more-item svg{display:block}
/* Forms and local file viewer */
.modal-root{z-index:100;background:#2b203f65;padding:20px}.modal{max-width:680px;border-radius:16px;background:#fff;max-height:90dvh}.modal-header{padding:21px 24px 16px;position:sticky;top:0;background:white;z-index:1;gap:15px}.modal-header h2{font-family:var(--font-body);font-weight:600;font-size:21px;min-width:0}.modal-body{padding:24px}.form-grid{gap:17px}.field label{font-size:12px;color:#5d4966;font-weight:550}.field input,.field select,.field textarea{font-size:16px;min-height:46px;border-radius:9px;border-color:#e7deeb;color:#38263e}.field textarea{min-height:110px}.field input[type=file]{font-size:12px;padding:11px 8px}.field-help{font-size:11px;color:#78687f;line-height:1.7}.field input:disabled{color:#88758f;background:#faf8f6}.form-actions{position:sticky;bottom:-24px;background:white;padding:18px 0 0;margin-top:23px;border-color:var(--line)}.existing-photos{display:flex;gap:12px;flex-wrap:wrap}.existing-photo-choice{width:85px;display:grid;gap:5px}.existing-photo-choice img{width:85px;height:85px;object-fit:cover;border-radius:8px}.existing-photo-choice span{display:flex;gap:5px;align-items:center;font-size:12px}.existing-photo-choice input{width:17px;min-height:17px;margin:0}.quick-add-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quick-add-options button{background:#faf5fc;border:1px solid #e9e2e9;border-radius:12px;min-height:100px;color:#815196;display:grid;justify-items:center;align-content:center;gap:13px;font-size:13px}.file-preview{max-width:950px}.viewer{display:block;max-width:100%;max-height:65dvh;width:auto;height:auto;margin:0 auto 20px;border-radius:8px}.pdf-preview{width:100%;height:60dvh;border:1px solid #e9e2e9}.text-preview{white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--font-body);font-size:14px;background:#faf8f6;border-radius:10px;padding:20px;max-height:55dvh;overflow:auto}.file-preview .modal-header h2{font-size:16px;overflow-wrap:anywhere}.file-preview .modal-body>.button-line{margin-top:20px}.toast{z-index:200;bottom:24px;background:#49354f;line-height:1.7;font-size:13px;max-width:90vw}
@media(min-width:1450px){.content{padding-top:32px}.project-photo{height:300px}}
@media(max-width:1250px){.budget-layout{grid-template-columns:300px minmax(0,1fr)}.budget-overview{padding:20px}.budget-donut{width:200px;height:200px}.design-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.document-folders{grid-template-columns:repeat(2,minmax(0,1fr))}.landing-screen .topbar{margin-left:24px;margin-right:24px}.landing-nav{gap:18px}.dashboard-shortcuts button{padding:15px;gap:9px}}
@media(max-width:1050px){.rail{width:196px;padding-inline:10px}.workspace{margin-left:196px}.topbar{padding-inline:22px;gap:10px}.content{padding-inline:22px}.dashboard-grid{grid-template-columns:1fr}.budget-layout{grid-template-columns:1fr}.budget-overview{display:grid;grid-template-columns:230px 1fr;gap:0 25px;align-items:start}.budget-donut{grid-row:1 / 4;margin-bottom:0}.budget-overview>.budget-totals{margin-top:15px}.budget-overview>h2,.category-legend{grid-column:1/-1}.category-legend{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.project-hero-body{padding:22px}.dashboard-shortcuts button{display:grid;justify-items:center;text-align:center;gap:9px;padding:15px 5px}.dashboard-shortcuts b{font-size:12px}.landing-nav{gap:16px}.landing-hero-content{padding-inline:32px}.project-switch-wrap{max-width:190px}.workspace-heading #topTitle{font-size:12px}.workspace-screen .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){
 .rail{display:none}.workspace{margin-left:0}.topbar{height:68px;padding:8px 16px;gap:8px}.workspace-screen .mobile-brand{display:block;width:104px;flex-shrink:0}.workspace-screen .mobile-brand .brandmark{width:104px;height:auto;border:0;background:none}.workspace-screen .mobile-brand img{width:104px;height:auto;max-height:50px;object-fit:contain}.workspace-heading{display:none}.workspace-screen .topbar .project-switch-wrap{margin-left:auto;max-width:150px;flex:0 1 150px}.project-switch-wrap select{font-size:11px;padding:7px 24px 7px 9px;min-height:34px}.workspace-add{width:33px;height:33px;flex-basis:33px;font-size:22px}.content{padding:21px 16px calc(110px + env(safe-area-inset-bottom));max-width:100%}.page-intro{margin-bottom:18px;gap:13px;align-items:flex-start;flex-wrap:wrap}.page-intro>div:first-child{min-width:0}.page-intro h1{font-size:24px;line-height:1.4;margin:3px 0 7px}.page-intro .eyebrow{font-size:8px;letter-spacing:.12em}.page-intro p{font-size:13px;line-height:1.8}.page-intro .button-line{gap:7px}.page-intro .btn{font-size:11px;min-height:36px;padding:8px 12px}.bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:9px 5px calc(8px + env(safe-area-inset-bottom));background:#ffffffef;border-color:var(--line);backdrop-filter:blur(14px)}.bottom-nav button{font-size:10px;color:#87738e;gap:4px;padding:4px 0}.bottom-nav button.active{color:#705c79}.bottom-nav svg{width:21px;height:21px}.floating-add{width:47px;height:47px;bottom:calc(88px + env(safe-area-inset-bottom));right:20px;font-size:27px}.toast{bottom:calc(90px + env(safe-area-inset-bottom));font-size:12px}.pane{padding:18px}.pane h2,.pane-heading h2{font-size:17px}.section-block{margin-top:23px}.filter-bar{gap:9px;margin-bottom:16px}.filter-label{min-width:0;max-width:none;flex:1 1 120px}.filter-label select{font-size:12px}.filter-label>span{font-size:10px}.workspace-screen .stats-grid{gap:10px;margin:16px 0}.stat{padding:15px;min-height:100px}.stat>strong{font-size:20px}.stat>small{font-size:10px}.stat>span{font-size:11px}
 .landing-screen .topbar{height:72px;margin:0;padding:8px 18px;border:0;border-radius:0;box-shadow:none;background:#fff}.landing-screen .desktop-brand{display:none}.landing-screen .mobile-brand{display:block;width:115px}.landing-screen .mobile-brand .brandmark{width:115px;height:auto;background:none;border:0}.landing-screen .mobile-brand img{max-height:55px;width:115px;object-fit:contain}.landing-nav{display:none}.landing-screen .top-right{margin-left:auto}.landing-screen .top-right>.btn{font-size:11px;padding:8px 13px;border-radius:20px}.platform-hero{min-height:650px}.platform-hero>img{object-position:67% bottom}.platform-hero::before{background:linear-gradient(180deg,#fcf9f5f7,#fcf9f5da 34%,#fcf9f525 70%,transparent)}.platform-hero-content{padding:38px 25px 240px}.platform-hero-content .eyebrow{font-size:9px}.platform-hero h1{font-size:32px;line-height:1.6;margin:18px 0}.platform-hero p{font-size:13px}.platform-hero .button-line{gap:8px}.platform-hero .btn{font-size:12px;padding:11px 16px}.local-badge{font-size:10px}.landing-content{padding:0 16px}.landing-features{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:-35px}.landing-feature{padding:20px 16px;min-height:150px}.landing-feature>span{width:42px;height:42px}.landing-feature h2{font-size:15px}.landing-feature p{font-size:11px}.landing-intro{grid-template-columns:1fr;gap:20px;padding:25px 0 0}.landing-intro h2{font-size:27px;line-height:1.65}.landing-intro>p{font-size:14px;line-height:1.95}.landing-journey ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.landing-journey .section-heading h2{font-size:23px}.landing-journey h3{font-size:14px}.landing-journey p{font-size:11px}.landing-preview{grid-template-columns:1fr;gap:15px}.landing-preview>.card{padding:26px}.landing-preview h2{font-size:25px}.roadmap-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.roadmap-card{padding:18px 14px}.roadmap-card h3{font-size:13px}.roadmap-card p{font-size:11px}.roadmap-card .chip{top:17px;right:10px;font-size:9px}.brand-story-teaser{padding:28px 0}.site-footer>span{font-size:11px}.upcoming .section-heading h2{font-size:24px}
 .project-photo{height:170px}.project-hero-body{padding:18px 16px;gap:13px;align-items:flex-start}.project-hero-body>div:first-child{min-width:0;flex:1}.project-hero-body h2{font-size:20px;margin:6px 0}.project-hero-body .eyebrow{font-size:9px;letter-spacing:.06em}.project-hero-body p{font-size:12px;line-height:1.75;margin-bottom:10px}.project-hero-body .button-line{gap:7px}.project-hero-body .small{font-size:10px;line-height:1.7}.progress-ring{width:80px;height:80px;padding:6px;margin-top:6px}.progress-ring strong{font-size:21px}.progress-ring span{font-size:9px}.dashboard-stage-track{padding:0 12px 18px;gap:5px;grid-template-columns:repeat(4,minmax(0,1fr));row-gap:13px}.dashboard-stage-track button{font-size:9px;gap:5px}.dashboard-stage-track i{width:11px;height:11px}.dashboard-shortcuts{gap:9px;margin:15px 0}.dashboard-shortcuts button{padding:13px 4px;gap:8px}.dashboard-shortcuts button>span{width:37px;height:37px;border-radius:10px}.dashboard-shortcuts b{font-size:11px}.dashboard-grid{gap:15px}.task-row .record-actions .icon-btn{width:28px;flex-basis:28px}.task-copy strong{font-size:12px}.task-copy p{font-size:10px}.check{width:25px;height:25px;flex-basis:25px}.next-task h3{font-size:15px}
 .phase-timeline{padding-left:26px;gap:14px}.phase-timeline::before{left:7px}.phase-dot{left:-27px;width:17px;height:17px;border-width:3px;top:24px}.phase-card{padding:18px 16px}.phase-heading h2{font-size:17px}.phase-heading p{font-size:11px}.phase-heading .chip{font-size:10px}.phase-dates{font-size:10px;flex-wrap:wrap;gap:5px;margin-top:12px}.phase-memo{font-size:12px}.phase-card .btn{font-size:11px;min-height:34px;padding:7px 10px}.phase-card .file-controls{gap:5px}.hidden-stages{padding:16px 0}.task-row{gap:8px}
 .budget-overview{display:block;padding:24px 21px}.budget-donut{width:210px;height:210px;margin:0 auto 20px;padding:29px}.budget-layout{gap:18px}.budget-goal>div:first-child{font-size:11px}.category-legend{display:block}.category-legend>div{font-size:12px;margin:14px 0}.category-legend small{font-size:10px}.budget-totals p{font-size:13px}.expense-record dl{gap:7px}.expense-record dl>div{padding:9px 7px}.expense-record dd{font-size:11px}.expense-heading h3{font-size:14px}.expense-heading .record-actions{gap:0}.expense-heading .icon-btn{width:30px;flex-basis:30px}.monthly-chart>div{grid-template-columns:57px minmax(0,1fr) 75px;gap:10px;font-size:11px}.monthly-chart strong{font-size:11px}
 .journal-entry{padding:19px 17px;margin-bottom:17px}.journal-entry>h2{font-size:19px;margin:11px 0 15px}.journal-month{font-size:14px!important;margin-top:22px}.entry-date-line{font-size:11px;gap:8px;flex-wrap:wrap}.entry-date-line .chip{font-size:10px}.journal-body{font-size:14px}.photo-grid{gap:7px}.photo-thumb{aspect-ratio:1.15;border-radius:8px}.journal-detail p,.journal-decision p{font-size:12px}.entry-footer .small{font-size:10px}.document-folders{grid-template-columns:1fr;gap:8px;margin:16px 0}.document-folders button{padding:13px 15px;font-size:13px}.document-grid{grid-template-columns:1fr;gap:12px}.doc-card{padding:18px 16px}.doc-details h2{font-size:16px}.file-controls>.btn{font-size:11px;min-height:33px}.file-controls>span{font-size:10px}.design-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.design-body{padding:13px 12px}.design-body h2{font-size:15px;line-height:1.5}.design-body .small,.design-body .record-memo,.selection-reason{font-size:11px}.design-body .money{font-size:13px}.design-body .chip{font-size:9px;padding:2px 7px}.design-body .record-actions .icon-btn{width:30px;flex-basis:30px}.design-visual{aspect-ratio:1.12}.contact-grid,.care-grid,.projects-grid{grid-template-columns:1fr;gap:14px}.contact-card,.care-card{padding:20px}.project-list-photo{height:160px}.project-card>div:last-child{padding:20px}.project-card h2{font-size:20px}.settings-grid{grid-template-columns:1fr;gap:15px}.settings-card{padding:22px 20px}.settings-card h2{font-size:18px}.settings-card p{font-size:13px}.more-grid{grid-template-columns:1fr 1fr;gap:10px}.more-item{padding:17px 12px;gap:10px;font-size:13px}.more-item small{font-size:10px}.more-item>span:first-child{flex-shrink:0}.more-item svg{width:21px;height:21px}
 .modal-root{padding:8px;align-items:flex-end}.modal{border-radius:16px 16px 8px 8px;max-height:calc(100dvh - 20px)}.modal-header{padding:18px 18px 13px}.modal-header h2{font-size:19px}.modal-body{padding:20px 18px calc(24px + env(safe-area-inset-bottom))}.form-grid{grid-template-columns:1fr;gap:16px}.field.full{grid-column:auto}.field input,.field select,.field textarea{font-size:16px;min-height:46px}.field label{font-size:12px}.form-actions{bottom:calc(-24px - env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.quick-add-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.quick-add-options button{min-height:100px}.pdf-preview{height:55dvh}.file-preview .modal-header h2{font-size:14px}
}
@media(max-width:360px){.workspace-screen .mobile-brand,.workspace-screen .mobile-brand .brandmark{width:90px}.workspace-screen .mobile-brand img{width:90px}.workspace-screen .topbar .project-switch-wrap{max-width:128px}.topbar{padding-inline:12px}.content{padding-inline:12px}.progress-ring{width:67px;height:67px;padding:5px}.progress-ring strong{font-size:18px}.project-hero-body{padding:16px 13px}.project-hero-body h2{font-size:18px}.project-hero-body .small{font-size:9px}.design-grid{gap:9px}.design-body{padding:12px 10px}.landing-screen .topbar{padding-inline:15px}.landing-screen .top-right>.btn{font-size:10px;padding:8px 12px}.platform-hero-content{padding-inline:21px}.platform-hero h1{font-size:29px}.platform-hero .btn{font-size:11px;padding:10px 14px}.project-switch-wrap select{font-size:10px}.phase-card{padding:16px 13px}.expense-record dd{font-size:10px}.photo-label{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.rail{overflow-y:auto}
@media(max-width:780px){.phase-card{padding:16px}.phase-heading>div{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center}.phase-heading h2{margin:0;font-size:16px}.phase-heading p{display:none}.phase-dates{margin:9px 0 8px}.phase-card>.button-line{margin-top:11px}.phase-card .btn{min-height:31px;padding:5px 9px}.phase-dot{top:20px}}
/* Keep supporting text readable without losing the quiet palette. */
.landing-journey li>span,.decision-row>span{color:#806a87}
.dashboard-stage-track button,.recent-journal small,.task-copy .complete,.expense-record dt{color:#756c79}
.journal-body{font-size:15px}.journal-detail>p,.journal-decision p,.phase-memo{font-size:14px}
@media(max-width:780px){.task-copy strong{font-size:14px}.project-hero-body p{font-size:14px}.design-body h2{font-size:16px}.design-body .record-memo,.selection-reason{font-size:13px}.doc-details p{font-size:13px}}
.landing-preview{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.landing-preview>.card{padding:24px}.landing-preview h2{font-size:25px}.preview-photos,.preview-budget,.preview-folders{height:155px;margin-bottom:23px;border-radius:10px;overflow:hidden;background:#f8f5f8}.preview-photos{position:relative}.preview-photos img{width:100%;height:100%;object-fit:cover}.preview-photos>span{position:absolute;bottom:8px;left:9px;font-size:10px;color:#604467;background:#fffdfbef;padding:3px 8px;border-radius:7px}.preview-budget{display:flex;align-items:center;justify-content:center;gap:23px}.preview-budget i{width:95px;height:95px;border-radius:50%;background:conic-gradient(#a18caa 0deg 150deg,#dbb0ca 150deg 240deg,#e1cdbb 240deg 360deg);position:relative}.preview-budget i::after{content:'';position:absolute;inset:21px;background:#f8f5f8;border-radius:50%}.preview-budget>div{display:grid;gap:10px;font-size:12px;color:#775781}.preview-budget span::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:7px;background:#a18caa}.preview-folders{padding:19px;display:grid;gap:10px}.preview-folders>span{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:7px;background:#f1e5f4;font-size:12px;color:#75507f}.preview-folders>span:nth-child(2){background:#f6e7ec}.preview-folders>span:nth-child(3){background:#f5ebdf}@media(max-width:1050px){.landing-preview>.card{padding:20px}.landing-preview h2{font-size:23px}}@media(max-width:780px){.landing-preview{grid-template-columns:1fr;gap:15px}.landing-preview>.card{padding:24px}.landing-preview h2{font-size:26px}.preview-photos,.preview-budget,.preview-folders{height:175px}}
.progress-note{padding:0 28px 20px;font-size:11px;color:#756c79;line-height:1.7}@media(max-width:780px){.progress-note{padding:0 16px 16px;font-size:10px}}

/* Shared family project onboarding, optimized for phone and tablet */
.family-sync-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 26px;background:#f5edf6;border-bottom:1px solid #e6d9e9;}
.family-sync-summary{display:flex;align-items:center;gap:11px;min-width:0}
.family-sync-mark{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:#fff;color:#582b61;font-size:26px}
.family-sync-summary strong{display:block;font-size:14px;line-height:1.4;color:#3b183f}
.family-sync-summary #familyStatus{display:block;font-size:12px;color:#6f5773;line-height:1.5;overflow-wrap:anywhere}
.family-sync-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0}
.family-sync-actions button{border-radius:10px;padding:10px 14px;font-size:13px;font-weight:650;cursor:pointer;line-height:1.35;min-height:40px}
.family-sync-primary{border:1px solid #57435e;background:#57435e;color:white}
.family-sync-secondary{border:1px solid #bca0c3;background:#fff;color:#57435e}
.family-onboarding{padding:28px;max-width:900px;margin:auto}
.family-onboarding-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.family-onboarding-head h2{font-size:21px;line-height:1.4;margin:0}
.family-onboarding-illustration{display:grid;place-items:center;border-radius:18px;background:#f3e8f5;color:#592e60;width:60px;height:60px;flex-shrink:0}
.family-onboarding p{color:#67576d;font-size:14px;line-height:1.8}
.family-onboarding-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:20px 0}
.family-onboarding-steps>div{padding:15px;background:#f9f6fa;border:1px solid #eee3ef;border-radius:12px;display:flex;flex-direction:column;gap:2px}
.family-onboarding-steps b{display:grid;place-items:center;border-radius:50%;background:#e8d7ea;color:#52235a;width:27px;height:27px;font-size:13px;margin-bottom:6px}
.family-onboarding-steps span{font-weight:650;font-size:13px;line-height:1.4}
.family-onboarding-steps small{color:#796981;font-size:11px}
.family-onboarding-actions{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}
.family-onboarding-info{margin-top:22px;border-radius:12px;background:#fff8ec;padding:16px;border:1px solid #eddec0}
.family-onboarding-info strong{font-size:14px;color:#714421}
.family-onboarding-info p{font-size:13px;margin:5px 0 0}
@media(max-width:720px){
 .family-sync-controls{flex-direction:column;align-items:stretch;gap:10px;padding:12px 14px}
 .family-sync-summary{align-items:flex-start}
 .family-sync-summary strong{font-size:14px}
 .family-sync-summary #familyStatus{font-size:12px;margin-top:2px}
 .family-sync-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:7px}
 .family-sync-actions button{font-size:13px;padding:11px 10px;min-height:43px}
 .family-onboarding{padding:18px 15px}
 .family-onboarding-head{align-items:flex-start;gap:10px}
 .family-onboarding-head h2{font-size:18px}
 .family-onboarding-illustration{width:47px;height:47px;border-radius:14px}
 .family-onboarding-steps{grid-template-columns:1fr;gap:7px;margin:16px 0}
 .family-onboarding-steps>div{display:grid;grid-template-columns:27px 1fr;gap:0 9px;padding:11px;align-items:center}
 .family-onboarding-steps b{grid-row:span 2;margin:0}
 .family-onboarding-steps small{grid-column:2}
 .family-onboarding-actions{display:grid;grid-template-columns:1fr}
 .family-onboarding-actions .btn{min-height:48px;justify-content:center;text-align:center}
}

/* At-a-glance family project board */
.family-glance{padding:22px 24px;margin-bottom:20px;background:#fff}
.family-glance-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.family-glance-heading .eyebrow{font-size:10px;color:#835090}
.family-glance-heading h2{font-size:22px;line-height:1.35;margin:4px 0 3px;color:#341f39}
.family-glance-heading p{margin:0;font-size:13px;color:#75697a}
.family-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.family-metrics button{border:1px solid #eae2eb;background:#faf8f6;padding:14px 14px 13px;border-radius:12px;text-align:left;display:flex;flex-direction:column;min-width:0;color:#302b35;min-height:115px}
.family-metrics button:focus-visible,.family-metrics button:hover{border-color:#9e6ba9;outline-offset:2px}
.family-metrics small{font-size:12px;color:#716378;font-weight:600}
.family-metrics strong{font-size:25px;line-height:1.45;color:#45204c;letter-spacing:-.04em;overflow-wrap:anywhere}
.family-metrics span{font-size:11px;line-height:1.4;color:#827388;overflow-wrap:anywhere}
.family-upcoming{margin-top:17px;border-top:1px solid #efe7f0;padding-top:15px}
.family-upcoming-title{display:flex;align-items:center;justify-content:space-between;gap:12px}
.family-upcoming-title h3{font-size:16px;margin:0}
.family-upcoming-row{display:grid;grid-template-columns:minmax(105px,135px) minmax(0,1fr) 90px;align-items:center;gap:10px;border-bottom:1px solid #f0e9f0;padding:11px 2px}
.family-upcoming-row span{font-size:12px;color:#65516a}
.family-upcoming-row span.is-late{color:#b54738;font-weight:700}
.family-upcoming-row strong{font-size:13px;font-weight:650;line-height:1.55;overflow-wrap:anywhere}
.family-upcoming-row small{text-align:right;font-size:11px;color:#85758b}
.family-upcoming-empty{font-size:13px;color:#817286;padding:12px 0 2px;margin:0}
.family-onboarding .family-create-cta{background:#55445b;color:#fff;border-color:#55445b;font-size:15px;padding:14px 18px;min-height:54px;box-shadow:0 5px 13px #47204e1b}
.family-onboarding-note{color:#6a546f;background:#f4f0f4;padding:12px 14px;border-radius:10px;margin:12px 0 0;font-size:12px}
@media(max-width:900px){.family-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){
 .family-glance{padding:16px 14px;margin-bottom:14px}
 .family-glance-heading{align-items:flex-start}
 .family-glance-heading h2{font-size:20px}
 .family-glance-heading .btn{font-size:11px;padding:7px 8px;white-space:nowrap}
 .family-glance-heading p{font-size:12px}
 .family-metrics{gap:8px}
 .family-metrics button{min-height:95px;padding:11px;border-radius:10px}
 .family-metrics strong{font-size:22px}
 .family-metrics small{font-size:11px}
 .family-metrics span{font-size:10px}
 .family-upcoming-title h3{font-size:15px}
 .family-upcoming-row{grid-template-columns:92px 1fr;gap:2px 8px;padding:10px 0}
 .family-upcoming-row span{font-size:11px}
 .family-upcoming-row strong{font-size:13px}
 .family-upcoming-row small{text-align:left;grid-column:2}
 .page-home .project-hero .project-photo{max-height:175px;overflow:hidden}
 .page-home .project-hero .project-photo img{max-height:175px;object-fit:cover}
}

/* Home summary: real project data, compact photography and readable stage states. */
.page-home .project-summary{display:grid;grid-template-columns:minmax(0,1fr) 250px;background:#fff;border:1px solid #e9e3ea;box-shadow:none;color:#2f2a31}
.page-home .project-summary .project-hero-body{display:block;min-width:0;padding:28px}
.summary-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.summary-status{font-size:14px;font-weight:600;color:#49354f;overflow-wrap:anywhere}
.summary-progress-label{display:flex;align-items:baseline;gap:12px;margin-left:auto;font-size:13px;color:#756c79}
.summary-progress-label strong{font-size:22px;font-weight:600;color:#49354f;font-variant-numeric:tabular-nums}
.page-home .project-summary h2{margin:20px 0 9px;font-size:30px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}
.page-home .project-summary .summary-description{font-size:16px;line-height:1.7;color:#756c79;margin:0 0 18px;overflow-wrap:anywhere;white-space:pre-wrap}
.page-home .project-summary .summary-schedule p{font-size:14px;line-height:1.7;color:#2f2a31;margin:0}
.summary-schedule span{display:block;font-size:13px;line-height:1.7;color:#756c79;margin-top:4px;overflow-wrap:anywhere}
.summary-progress{height:7px;overflow:hidden;border-radius:8px;background:#e9e3ea;margin:20px 0}
.summary-progress>span{display:block;height:100%;background:#806a87;border-radius:inherit}
.summary-stages{display:flex;flex-wrap:wrap;gap:8px}
.summary-stage{display:inline-flex;align-items:center;gap:6px;max-width:100%;border:1px solid transparent;border-radius:7px;background:#f3f1f5;color:#756c79;padding:8px 10px;font-size:13px;text-align:left;line-height:1.45;cursor:pointer}
.summary-stage span{min-width:0;overflow-wrap:anywhere}.summary-stage small{font-size:12px;white-space:nowrap}
.summary-stage.done{background:#f1eaf6;color:#60357d}.summary-stage.current{background:#49354f;color:#fff;border-color:#806a87;box-shadow:0 0 0 1px #806a87}
.summary-stage svg{flex-shrink:0}.summary-stage:hover{border-color:#806a87}.summary-stage:focus-visible,.summary-photo-empty:focus-visible{outline:3px solid #806a87;outline-offset:3px}
.page-home .project-summary .summary-note{font-size:12px;line-height:1.65;color:#756c79;margin:15px 0 0}
.page-home .project-summary .project-photo{height:auto;max-height:none;min-height:200px;background:#faf8f6;border-left:1px solid #e9e3ea;overflow:hidden}
.page-home .project-summary .project-photo>img{height:100%;max-height:none;min-height:200px;object-fit:cover}
.summary-photo-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;min-height:200px;padding:24px;border:0;background:#faf8f6;color:#756c79;cursor:pointer;text-align:center}
.summary-photo-empty strong{font-size:15px;line-height:1.6;font-weight:500}.summary-photo-empty span{display:flex;align-items:center;gap:5px;font-size:13px;color:#60357d}
.family-glance-heading h2{overflow-wrap:anywhere}
@media(max-width:900px){.page-home .project-summary{grid-template-columns:minmax(0,1fr)}.page-home .project-summary .project-photo{height:150px;min-height:0;border-left:0;border-top:1px solid #e9e3ea}.page-home .project-summary .project-photo>img{height:150px;min-height:0}.summary-photo-empty{min-height:0;padding:18px;gap:8px}.page-home .project-summary .project-hero-body{padding:22px}.page-home .project-summary h2{font-size:28px}}
@media(max-width:400px){.page-home .project-summary .project-hero-body{padding:18px 16px}.page-home .project-summary h2{font-size:26px}.summary-progress-label{gap:8px}.summary-progress-label strong{font-size:20px}.summary-status{font-size:13px}.summary-stage{font-size:12px;padding:8px}.page-home .project-summary .summary-description{font-size:15px}}

/* Editorial home: the family's own project takes centre stage. */
.page-home .project-summary{grid-template-columns:minmax(0,1.45fr) minmax(240px,1fr);border:0;border-radius:20px;isolation:isolate;overflow:hidden;background:#49354f;color:#fff}
.page-home .project-summary .project-hero-body{padding:32px 36px;display:flex;flex-direction:column;align-items:stretch;gap:0}
.summary-top{padding-bottom:20px;border-bottom:1px solid #ffffff26}
.summary-status{color:#f1dfef;font-size:13px;font-weight:500}
.summary-progress-label{color:#dfcce0;font-size:13px}.summary-progress-label strong{color:#fff;font-size:22px}
.summary-title-block{padding:26px 0 22px}
.summary-kicker{font-size:12px;letter-spacing:.12em;color:#d8b7cf}
.page-home .project-summary h2{color:#fff;font-size:32px;line-height:1.45;letter-spacing:-.04em;margin:8px 0 12px;max-width:24ch}
.page-home .project-summary .summary-description{font-size:16px;line-height:1.7;color:#e6d7e4;margin:0;max-width:48ch}
.page-home .project-summary .summary-schedule p{color:#fff;font-size:14px}.summary-schedule span{color:#d8c3d6;font-size:13px}
.summary-progress{height:7px;margin:20px 0 24px;background:#ffffff26}.summary-progress>span{background:#c5a0e1}
.summary-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:auto}
.summary-actions .btn{min-height:44px;font-size:13px;box-shadow:none;border-radius:9px;padding:11px 15px}
.summary-actions .summary-record{background:#f5eee8;color:#49354f;border-color:#f5eee8;font-weight:600}
.summary-actions .summary-record:hover{background:#fff;border-color:#fff;transform:translateY(-1px)}
.summary-actions .summary-plan{background:transparent;color:#f5eee8;border-color:#ffffff40}.summary-actions .summary-plan:hover{background:#ffffff10;border-color:#ffffff80}
.page-home .project-summary .project-photo{position:relative;border:0;min-height:300px;max-height:none;background:#f0eae6;overflow:hidden}
.page-home .project-summary .project-photo>img{display:block;position:absolute;inset:0;max-height:none;width:100%;height:100%;min-height:0;object-fit:cover;object-position:center}
.summary-photo-edit{position:absolute;right:16px;bottom:16px;display:flex;align-items:center;gap:6px;border:1px solid #fff9;border-radius:8px;background:#fffc;color:#49354f;font-size:12px;font-weight:500;padding:10px 12px;cursor:pointer;backdrop-filter:blur(8px)}
.summary-photo-empty{position:relative;min-height:300px;background:#f0eae6;color:#6d5e69;padding:30px;gap:16px;transition:background .2s}
.summary-photo-empty::before{content:'';position:absolute;inset:22px;border:1px solid #49354f24;border-radius:140px 140px 6px 6px;pointer-events:none}
.summary-photo-empty>svg{width:64px;height:64px;stroke-width:1;color:#8b7188;margin-bottom:8px}
.summary-photo-empty strong{font-size:15px;color:#594253;max-width:20ch;position:relative}.summary-photo-empty span{color:#65406f;font-size:13px;position:relative}
.summary-photo-empty:hover{background:#e8e0d8}
.summary-journey{grid-column:1/-1;min-width:0;padding:22px 30px;background:#fff;border:1px solid #e9e3ea;border-top:0;border-radius:0 0 20px 20px}
.summary-journey-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}
.summary-journey-heading h3{font-size:14px;font-weight:600;color:#49354f;margin:0}.summary-journey-heading .btn{font-size:12px;color:#73536f}
.summary-stages{gap:8px}.summary-stage{border-radius:6px;padding:9px 11px;font-size:13px;background:#f4f2f5}.summary-stage.current{background:#49354f;border-color:#806a87;box-shadow:none}.summary-stage.done{background:#f0e8f6}
.page-home .project-summary .summary-note{font-size:12px;color:#756a78;margin:16px 0 0}
.page-home .stats-grid{gap:12px}.page-home .stat{border:1px solid #e9e3ea;box-shadow:none;padding:22px;border-radius:14px}.page-home .stat>span{font-size:13px}.page-home .stat>strong{font-size:26px;letter-spacing:-.035em;font-weight:600}.page-home .stat>small{font-size:12px;color:#756a78}
.page-home .dashboard-grid>.card{box-shadow:none;border:1px solid #e9e3ea;border-radius:16px}.page-home .pane-heading h2{font-size:18px;letter-spacing:-.025em}
@media(min-width:1100px){.page-home .project-summary .project-photo{min-height:360px}}
@media(max-width:900px){.page-home .project-summary{grid-template-columns:minmax(0,1fr) 32%}.page-home .project-summary .project-hero-body{padding:26px}.page-home .project-summary .project-photo{height:auto;min-height:280px}.page-home .project-summary .project-photo>img{height:100%}.summary-photo-empty{padding:20px;min-height:280px}.summary-photo-empty::before{inset:12px}.summary-photo-empty>svg{width:44px;height:44px}.summary-photo-empty strong{font-size:14px}.summary-photo-empty span{font-size:12px;flex-wrap:wrap;justify-content:center}.summary-journey{padding:22px 26px}}
@media(max-width:600px){.page-home .project-summary{grid-template-columns:minmax(0,1fr);border-radius:16px}.page-home .project-summary .project-hero-body{padding:24px}.summary-top{padding-bottom:16px}.summary-title-block{padding:23px 0 18px}.page-home .project-summary h2{font-size:30px;margin-top:7px;max-width:none}.summary-actions .btn{flex:1;justify-content:center;padding:11px 10px;white-space:normal}.page-home .project-summary .project-photo{height:120px;min-height:0}.page-home .project-summary.has-cover .project-photo{height:190px}.summary-photo-empty{min-height:0;padding:20px 24px;height:120px;gap:8px;align-items:flex-start;text-align:left}.summary-photo-empty::before{inset:14px;border-radius:6px}.summary-photo-empty>svg{position:absolute;right:28px;top:37px;width:44px;height:44px;margin:0;opacity:.5}.summary-photo-empty strong{font-size:14px;max-width:calc(100% - 58px)}.summary-photo-empty span{justify-content:flex-start;font-size:12px;max-width:calc(100% - 48px)}.summary-journey{padding:20px;border-radius:0 0 16px 16px}.summary-journey-heading{margin-bottom:14px}.summary-stage{font-size:12px;padding:9px}.page-home .stat{padding:18px}.page-home .stat>strong{font-size:24px}}
@media(max-width:360px){.page-home .project-summary .project-hero-body{padding:20px 18px}.page-home .project-summary h2{font-size:28px}.summary-top{gap:8px}.summary-progress-label{gap:6px;font-size:12px}.summary-progress-label strong{font-size:20px}.summary-status{font-size:12px}.summary-actions{gap:8px}.summary-actions .btn{font-size:12px}.summary-journey{padding:18px}.summary-stage{gap:5px}.summary-stage small{font-size:12px}}
@media(prefers-reduced-motion:reduce){.summary-photo-empty,.summary-actions .btn{transition:none}.summary-actions .summary-record:hover{transform:none}}


/* Initial-condition album — uses existing journal records and photo attachments. */
.baseline-overview{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 28px;margin-bottom:20px}
.baseline-overview h2{margin:6px 0 8px;font-size:clamp(20px,2.4vw,27px);letter-spacing:-.045em}
.baseline-overview p{font-size:14px;color:#776b7b;line-height:1.75;margin:0;max-width:640px}
.baseline-total{display:flex;flex-direction:column;align-items:flex-end;gap:2px;white-space:nowrap}
.baseline-total strong{font-size:30px;color:#49354f;font-weight:700;font-variant-numeric:tabular-nums}
.baseline-total span{font-size:12px;color:#7b7080}
.baseline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:38px}
.baseline-category{display:flex;flex-direction:column;padding:20px;min-width:0}
.baseline-category-title{display:flex;align-items:center;gap:12px}
.baseline-category-title h2{font-size:18px;font-weight:700;letter-spacing:-.03em;margin:0}
.baseline-category-title span:not(.baseline-icon){font-size:12px;color:#85778a}
.baseline-icon{height:42px;width:42px;display:grid;place-items:center;border-radius:12px;background:#f1e8f2;color:#683777;flex:0 0 42px}
.baseline-category>p{font-size:13px;color:#756b78;margin:12px 0 14px;line-height:1.65}
.baseline-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:110px;margin-top:auto}
.baseline-preview .photo-thumb{aspect-ratio:1.22;min-height:0;width:100%}
.baseline-preview .photo-thumb img{width:100%;height:100%;object-fit:cover}
.baseline-blank{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:112px;border:1px dashed #ddd1e0;border-radius:10px;color:#8b7c90;background:#fcf9fc;font-size:12px}
.baseline-add{margin-top:14px;width:100%;justify-content:center}
.baseline-history>.section-heading{margin-bottom:18px}
.baseline-history>.section-heading h2{font-size:23px;margin:5px 0}
.baseline-history>.section-heading p{color:#776b7b;font-size:13px}
.baseline-record{margin:0 0 15px;padding:20px;min-width:0}
.baseline-record-top,.baseline-record-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}
.baseline-record h3{font-size:18px;margin:10px 0 14px;overflow-wrap:anywhere}
.baseline-record .photo-grid{margin:10px 0}
.baseline-record .journal-body{white-space:pre-wrap;overflow-wrap:anywhere}
.baseline-record-actions{margin-top:14px}
.baseline-footnote{font-size:12px;color:#807484;line-height:1.65;margin:16px 0 30px}
@media(min-width:1250px){.baseline-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.baseline-overview{padding:18px;align-items:flex-start}.baseline-total strong{font-size:24px}.baseline-grid{grid-template-columns:1fr;gap:12px}.baseline-category{padding:16px}.baseline-preview{min-height:90px}.baseline-record{padding:16px}}
@media(max-width:380px){.baseline-overview{flex-direction:column}.baseline-total{flex-direction:row;align-items:baseline;gap:10px}.baseline-record-actions{flex-wrap:wrap}}


/* House history: highlighted navigation and interactive before/after comparison. */
.rail .nav-btn.baseline-featured{background:#49354f;color:#fff;font-weight:750;border:1px solid #53235d;box-shadow:0 5px 16px #49354f18}
.rail .nav-btn.baseline-featured:hover,.rail .nav-btn.baseline-featured.active{background:#614e67;color:#fff}
.rail .nav-btn.baseline-featured::after{content:"NEW";font-size:9px;font-weight:800;letter-spacing:.06em;border-radius:6px;color:#49354f;background:#f5e6ef;padding:2px 5px;margin-left:auto}
.baseline-home-feature{width:100%;display:flex;align-items:center;gap:20px;border:1px solid #5b3065;border-radius:18px;background:linear-gradient(105deg,#49354f,#673775);color:#fff;text-align:left;padding:24px 28px;margin:0 0 20px;box-shadow:0 10px 23px #49354f13;transition:transform .18s,box-shadow .18s}
.baseline-home-feature:hover{transform:translateY(-2px);box-shadow:0 14px 28px #49354f23}
.baseline-home-feature:focus-visible{outline:3px solid #b6a2b9;outline-offset:2px}
.baseline-home-symbol{display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;border-radius:15px;background:#ffffff22}
.baseline-home-copy{min-width:0;flex:1;display:grid;gap:4px}
.baseline-home-copy small{color:#dcc7e7;font-size:10px;letter-spacing:.12em;font-weight:650}
.baseline-home-copy strong{font-size:clamp(21px,2.2vw,27px);letter-spacing:-.045em;line-height:1.4}
.baseline-home-copy>span{font-size:13px;color:#f1e5f0;line-height:1.65}
.baseline-home-stats{display:flex;gap:8px;align-self:center;flex-wrap:wrap;justify-content:flex-end}
.baseline-home-stats b{font-size:12px;font-weight:650;border:1px solid #ffffff50;background:#ffffff13;border-radius:999px;padding:7px 12px;white-space:nowrap}
.baseline-home-arrow{display:grid;place-items:center;flex:0 0 30px}
.baseline-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:26px;margin-bottom:15px;background:#fff}
.baseline-hero h2{font-size:clamp(22px,2.4vw,30px);margin:8px 0 10px}
.baseline-hero p{margin:0;color:#6e6470;line-height:1.7;font-size:13px;max-width:620px}
.baseline-hero-counts{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0 0}
.baseline-hero-counts>span{background:#f7f1f8;color:#67406d;border-radius:8px;padding:6px 12px;font-size:12px}
.baseline-hero-counts strong{font-size:14px;margin-left:4px;color:#49354f}
.baseline-hero-actions{display:flex;gap:8px;align-items:stretch;flex-direction:column;min-width:170px}
.baseline-hero-actions .btn{justify-content:center;white-space:nowrap;text-decoration:none}
.baseline-step-note{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0 21px;color:#6b566f;font-size:12px}
.baseline-step-note>span{display:inline-flex;gap:6px;align-items:center}
.baseline-step-note b{display:grid;place-items:center;border-radius:50%;width:22px;height:22px;background:#e9dbee;color:#4d2c56;font-size:11px}
.baseline-category-actions{display:flex;gap:9px;margin-top:15px}
.baseline-category-actions .btn{flex:1;justify-content:center;min-width:0;padding:10px 8px;font-size:12px}
.baseline-category-actions .baseline-add{margin:0;width:auto;background:#49354f;color:#fff;border-color:#49354f}
.baseline-category-actions .baseline-after-add{background:#f3ecf6;color:#57305f;border:1px solid #dfd0e4}
.baseline-comparison-section{scroll-margin-top:90px;margin:32px 0 42px}
.baseline-comparison-section>.section-heading{margin-bottom:15px}
.baseline-comparison-section .section-heading h2{font-size:23px;margin:5px 0}
.baseline-comparison-section .section-heading p{font-size:13px;color:#746b79;line-height:1.7}
.baseline-compare-group{margin:0 0 25px}
.baseline-compare-group>h3{font-size:19px;margin:0 0 12px}
.baseline-compare-group>h3 span{color:#886c90;font-size:12px;font-weight:500;margin-left:7px}
.baseline-pair-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.baseline-pair{padding:16px;min-width:0;box-shadow:none}
.baseline-pair-title{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.baseline-pair-title strong{font-size:14px;overflow-wrap:anywhere}
.baseline-pair-title .chip{font-size:11px}
.baseline-compare-viewport{width:100%;aspect-ratio:16/10;position:relative;overflow:hidden;border-radius:12px;background:#e8e4e8;--split:50%}
.baseline-compare-viewport>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.baseline-compare-viewport>.baseline-after-photo{clip-path:inset(0 0 0 var(--split));}
.baseline-split-line{position:absolute;z-index:2;top:0;bottom:0;left:var(--split);width:2px;background:#fff;transform:translateX(-50%);box-shadow:0 0 0 1px #583c6080;pointer-events:none}
.baseline-split-line::after{content:"↔";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);height:38px;width:38px;display:grid;place-items:center;border-radius:50%;background:#fff;color:#49354f;box-shadow:0 3px 14px #0003;font-size:22px}
.baseline-over-label{position:absolute;z-index:3;left:10px;top:10px;color:#fff;background:#281e2aab;padding:4px 7px;border-radius:5px;font-size:10px;font-weight:750}
.baseline-over-label.after{left:auto;right:10px;background:#49354fcc}
.baseline-slide-label{display:flex;align-items:center;gap:12px;margin:12px 0;color:#594960;font-size:12px;font-weight:650}
.baseline-compare-range{width:100%;accent-color:#5d2f70;min-width:0;touch-action:pan-x}
.baseline-pair-actions{display:flex;flex-wrap:wrap;gap:7px}
.baseline-pair-actions .btn{font-size:11px;white-space:normal;padding:7px 9px}
.baseline-history-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin:15px 0}
.baseline-history-photo{min-width:0}
.baseline-history-photo .photo-thumb{width:100%;aspect-ratio:4/3;display:block}
.baseline-history-photo .photo-thumb img{width:100%;height:100%;object-fit:cover}
.baseline-link-photo{width:100%;margin-top:6px;padding:8px 5px;font-size:11px;border-radius:7px;border:1px solid #d9c6e0;background:#f4eaf6;color:#593267;display:flex;align-items:center;justify-content:center;gap:4px;cursor:pointer}
.baseline-link-photo:hover{background:#e9d8ed}
.baseline-connection-status{font-size:12px;color:#6b536f;background:#f4f0f4;padding:8px 12px;border-radius:7px;margin:10px 0}
@media(max-width:1000px){.baseline-pair-grid{grid-template-columns:1fr}.baseline-home-stats{flex-direction:column}}
@media(max-width:780px){
 .bottom-nav button[data-nav="baseline"]{color:#5a2763;font-weight:750}
 .bottom-nav button[data-nav="baseline"] svg{background:#49354f;color:#fff;width:31px;height:31px;padding:6px;border-radius:10px;margin:-5px 0 1px}
 .bottom-nav button[data-nav="baseline"].active{color:#49354f}
 .baseline-home-feature{gap:12px;padding:19px 16px;flex-wrap:wrap;border-radius:14px}
 .baseline-home-symbol{width:44px;height:44px;flex-basis:44px;border-radius:12px}
 .baseline-home-copy{flex:1 1 calc(100% - 60px)}
 .baseline-home-copy strong{font-size:21px}
 .baseline-home-copy>span{font-size:12px}
 .baseline-home-stats{flex-direction:row;justify-content:flex-start;width:100%;padding-left:56px}
 .baseline-home-stats b{font-size:11px;padding:5px 10px}
 .baseline-home-arrow{display:none}
 .baseline-hero{flex-direction:column;align-items:stretch;padding:18px}
 .baseline-hero-actions{flex-direction:row;min-width:0}
 .baseline-hero-actions .btn{flex:1;font-size:11px;padding:10px 8px;white-space:normal}
 .baseline-step-note{font-size:11px;gap:5px}
 .baseline-step-note>span:nth-child(even){display:none}
 .baseline-pair{padding:12px}
 .baseline-history-photos{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){.baseline-home-feature{padding:14px 12px}.baseline-home-stats{padding-left:0}.baseline-step-note{display:grid;grid-template-columns:1fr}.baseline-hero-actions{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.baseline-home-feature{transition:none}.baseline-home-feature:hover{transform:none}}


/* Photo slideshow — deep-plum backdrop, responsive controls and accessible captions */
.modal-root.gallery-open{padding:14px;background:#1C1821E8;display:flex;align-items:center;justify-content:center}
.gallery-modal{width:min(1100px,100%);max-width:1100px;max-height:calc(100dvh - 28px);height:min(880px,calc(100dvh - 28px));border:1px solid #685A6E;border-radius:18px;background:#241F29;color:#fff;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 80px #0006}
.gallery-top{display:flex;align-items:center;gap:20px;padding:15px 22px;flex:0 0 auto;border-bottom:1px solid #ffffff25}
.gallery-heading{flex:1;min-width:0}
.gallery-heading>span{display:block;color:#CBBCCE;font-size:10px;font-weight:600;letter-spacing:.13em}
.gallery-heading h2{color:#fff;font-size:17px;font-family:var(--font-body);letter-spacing:-.025em;margin:3px 0 0}
.gallery-counter{font-size:15px;font-weight:750;font-variant-numeric:tabular-nums;color:#E7DCEA;white-space:nowrap}
.gallery-close{width:38px;height:38px;border:1px solid #FFFFFF42;background:#FFFFFF15;color:#fff;border-radius:50%;font-size:27px;line-height:1;display:grid;place-items:center}
.gallery-close:hover{background:#FFFFFF2C}
.gallery-stage{min-height:0;flex:1;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:8px 56px;background:#1B1820;touch-action:pan-y}
.gallery-stage>img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none;-webkit-user-drag:none}
.gallery-arrow{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:44px;height:56px;border:1px solid #FFFFFF4A;border-radius:12px;color:#fff;background:#49354FAB;font-size:40px;display:grid;place-items:center;line-height:1;padding:0 0 6px;box-shadow:0 2px 12px #0003}
.gallery-arrow:hover:not(:disabled){background:#806A87}
.gallery-arrow:disabled{opacity:.2;cursor:default}
.gallery-arrow.prev{left:12px}.gallery-arrow.next{right:12px}
.gallery-bottom{padding:11px 20px 16px;flex:0 0 auto;background:#241F29}
.gallery-caption{min-height:18px;font-size:13px;text-align:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#EDE5EE;margin:0 0 10px}
.gallery-strip{display:flex;align-items:center;justify-content:center;gap:8px;min-height:61px;overflow-x:auto;scrollbar-width:thin}
.gallery-strip-thumb{width:62px;height:54px;flex:0 0 62px;padding:3px;background:#FFFFFF14;border:2px solid #FFFFFF30;border-radius:9px;opacity:.72;overflow:hidden}
.gallery-strip-thumb.selected{border-color:#D5B8D6;opacity:1;background:#FFFFFF25}
.gallery-strip-thumb img{width:100%;height:100%;object-fit:cover;border-radius:5px}
.gallery-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:9px}
.gallery-actions span{font-size:11px;color:#C8BACC}
.gallery-actions .btn{min-height:32px;font-size:11px;color:#F9F5F9;background:#FFFFFF17;border:1px solid #FFFFFF55}
.gallery-actions .btn:hover{background:#FFFFFF2B}
@media(max-width:780px){
 .modal-root.gallery-open{padding:0}
 .gallery-modal{max-height:100dvh;height:100dvh;width:100%;border:0;border-radius:0}
 .gallery-top{padding:12px 13px;gap:10px}
 .gallery-heading>span{font-size:9px}
 .gallery-heading h2{font-size:15px}
 .gallery-stage{padding:5px 35px}
 .gallery-arrow{width:32px;height:47px;font-size:34px;border-radius:8px}
 .gallery-arrow.prev{left:3px}.gallery-arrow.next{right:3px}
 .gallery-bottom{padding:10px 11px calc(16px + env(safe-area-inset-bottom))}
 .gallery-strip-thumb{height:49px;width:53px;flex-basis:53px}
 .gallery-strip{min-height:55px}
}
@media(max-width:370px){.gallery-actions span{font-size:10px}.gallery-actions .btn{font-size:10px;padding:5px 8px}.gallery-stage{padding:4px 30px}}

/* Clipboard image paste and family ideas shortcuts */
.image-paste-zone{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:14px;border:1px dashed #b6a2b9;background:#faf8fb;border-radius:10px;margin:9px 0;min-width:0;cursor:text}
.image-paste-zone:focus,.image-paste-zone:focus-within{outline:2px solid #806a87;outline-offset:2px}
.image-paste-icon{display:grid;place-items:center;color:#806a87;background:#ece5ed;padding:10px;border-radius:8px}
.image-paste-zone>div:not(.image-paste-previews){flex:1;min-width:130px;display:grid;gap:3px}
.image-paste-zone strong{font-size:13px;color:#49354f}
.image-paste-count{color:#756c79;font-size:11px;line-height:1.5}
.image-paste-mobile{flex:1 1 100%;border:1px solid #e2dbe5;border-radius:8px;padding:8px 10px;min-height:39px;height:39px;resize:none;font-size:13px;background:#fff}
.image-paste-previews{display:flex;gap:7px;flex-wrap:wrap;flex:1 1 100%}
.image-paste-previews img{height:58px;width:72px;object-fit:cover;border-radius:7px}
.image-paste-clear{font-size:11px;border:1px solid #dacddd;border-radius:7px;background:#fff;color:#66526e;padding:6px 9px}
.image-paste-zone.has-images{border-style:solid;background:#f6f1f7}
.design-family-idea{background:#ece5ed;color:#49354f;border:1px solid #cdbed0;text-decoration:none}
.design-family-idea:hover{background:#e4d9e7;color:#49354f}
.more-item.family-ideas-entry{background:#f4edf5;border:1px solid #e1d1e4;border-radius:11px}

.family-ideas-shortcut{display:flex;align-items:center;gap:13px;padding:16px 20px;border:1px solid #ddd1e0;background:#fff;border-radius:13px;color:#49354f;text-decoration:none;margin:-6px 0 18px;transition:border-color .15s,background .15s}
.family-ideas-shortcut:hover{border-color:#b6a2b9;background:#faf8fb;color:#49354f}
.family-ideas-shortcut>span:first-child{width:41px;height:41px;display:grid;place-items:center;background:#ece5ed;border-radius:10px;flex:0 0 41px}
.family-ideas-shortcut>span:nth-child(2){display:grid;gap:3px;flex:1;min-width:0}
.family-ideas-shortcut strong{font-size:14px;color:#49354f}
.family-ideas-shortcut small{font-size:12px;color:#806a87;line-height:1.5}
@media(max-width:780px){.family-ideas-shortcut{padding:12px 13px;gap:9px}.family-ideas-shortcut strong{font-size:13px}.family-ideas-shortcut small{font-size:11px}}


/* Photo slideshow detail zoom: click, scroll wheel, pinch and drag to inspect */
.gallery-zoom-tools{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.gallery-zoom-tools button{border:1px solid #FFFFFF40;border-radius:8px;background:#FFFFFF18;color:#fff;min-width:33px;height:33px;padding:0 8px;font-size:20px;font-weight:600}
.gallery-zoom-tools button:last-child{font-size:11px;font-weight:650;min-width:42px}
.gallery-zoom-tools button:hover:not(:disabled){background:#806A87}
.gallery-zoom-tools button:disabled{opacity:.35;cursor:default}
.gallery-zoom-tools #galleryZoomValue{min-width:47px;color:#F3ECF5;font-size:12px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.gallery-stage{touch-action:none}
.gallery-stage>img#galleryImage{cursor:zoom-in;transform-origin:center center;transition:transform .12s ease-out;will-change:transform}
.gallery-stage>img#galleryImage.zoomed{cursor:grab}
.gallery-stage>img#galleryImage.zoomed:active{cursor:grabbing;transition:none}
.gallery-stage.is-zoomed .gallery-arrow{opacity:.7}
@media(max-width:780px){
 .gallery-top{gap:8px}
 .gallery-heading{min-width:0}
 .gallery-zoom-tools{gap:3px}
 .gallery-zoom-tools button{min-width:29px;width:29px;height:30px;padding:0;font-size:17px}
 .gallery-zoom-tools button:last-child{min-width:33px;width:33px;font-size:10px}
 .gallery-zoom-tools #galleryZoomValue{min-width:39px;font-size:11px}
 .gallery-counter{font-size:12px}
 .gallery-close{width:32px;height:32px;font-size:23px;flex:0 0 32px}
}
@media(max-width:390px){
 .gallery-heading>span{display:none}
 .gallery-heading h2{font-size:12px}
 .gallery-zoom-tools #galleryZoomValue{min-width:34px;font-size:10px}
 .gallery-zoom-tools button{width:25px;min-width:25px}
}
@media(prefers-reduced-motion:reduce){.gallery-stage>img#galleryImage{transition:none}}


/* Integrated Moms Garden activity notes and family design references */
.task-today-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;margin:22px 0 18px;background:#fcfafc}
.task-today-card h2{font-family:var(--font-body);font-weight:700;letter-spacing:-.03em;font-size:21px;margin:3px 0 2px}
.task-today-card p{color:#756c79;font-size:12px;line-height:1.7;max-width:370px}
.task-today-card>p strong{color:#49354f}
.task-log-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:start;column-gap:12px;row-gap:0;min-width:0;border-bottom:1px solid #eee8f0;padding:11px 0}
.task-log-row .check{margin-top:5px}
.task-log-row .task-copy{align-self:center;overflow:hidden}
.task-log-row .task-copy>strong{display:block;line-height:1.55;font-weight:650;color:#342c37;font-size:13px}
.task-log-row .task-copy>p{margin:1px 0 0}
.task-log-row .task-copy .task-latest-note{color:#66566b;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:11px}
.task-log-row .task-copy .task-latest-note span{color:#806a87;font-weight:650}
.task-log-row .task-copy .task-log-empty{color:#998b9c;font-size:11px}
.task-row-actions{display:flex;align-items:center;gap:6px;justify-content:flex-end}
.task-row-actions .record-actions{margin:0}
.task-row-actions .icon-btn{width:29px;height:33px;flex-basis:29px}
.task-record-cta{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;min-height:32px;padding:6px 10px;border-color:#d9cbdf;color:#60496a;background:#f9f5fa;font-size:11px}
.task-record-cta:hover{background:#eee4f1}
.task-log-details{grid-column:2/-1;margin-top:9px;min-width:0;border-top:1px dashed #e7dde9;padding:8px 0 0}
.task-log-details summary{cursor:pointer;list-style:none;color:#7e6a81;font-size:11px;font-weight:650;display:flex;align-items:center;gap:8px}
.task-log-details summary::-webkit-details-marker{display:none}
.task-log-details summary:before{content:"▸";font-size:13px;color:#806a87}
.task-log-details[open] summary:before{content:"▾"}
.task-log-details summary span{color:#aaa0ac;font-weight:450}
.task-log-history{display:grid;gap:9px;margin:12px 0 4px}
.task-log-entry{padding:12px;border:1px solid #eee7ef;background:#fcfafd;border-radius:10px;overflow:hidden}
.task-log-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.task-log-header .record-actions{margin:0}
.task-log-entry>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;color:#594e5e;line-height:1.65;margin:5px 0 10px}
.task-log-photo-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:7px;max-width:550px}
.task-log-photo-list .photo-thumb{aspect-ratio:1;border-radius:7px;height:auto;padding:0;overflow:hidden}
.task-log-photo-list .photo-thumb img{object-fit:cover;width:100%;height:100%}
.family-design-intro{display:flex;align-items:center;gap:10px;padding:11px 15px;margin:0 0 19px;background:#f5f0f6;border:1px solid #e9ddeb;color:#59465f;border-radius:11px}
.family-design-intro>span{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;background:#e9deed;border-radius:9px;color:#5b3c64}
.family-design-intro p{font-size:12px;line-height:1.6;color:#67576c}
.family-design-intro strong{color:#49354f}
.design-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;position:relative;height:100%;width:100%}
.design-photo-grid[data-count="1"]{grid-template-columns:1fr}
.design-photo-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.design-photo-thumb{padding:0;border:0;min-width:0;min-height:0;background:#eee7ef;overflow:hidden}
.design-photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.design-photo-count{position:absolute;right:8px;bottom:8px;color:#fff;background:#352840bd;border-radius:8px;font-size:12px;padding:5px 9px}
.design-reference-links{display:grid;gap:7px;margin:12px 0;min-width:0}
.design-reference-links a{max-width:100%;font-size:12px;display:inline-flex;overflow-wrap:anywhere;word-break:break-word;color:#604e6a;text-decoration:underline;text-underline-offset:3px}
.family-ideas-shortcut{font-family:inherit;cursor:pointer;text-align:left;width:100%;box-sizing:border-box}
@media(max-width:800px){
 .task-today-card{flex-direction:column;align-items:flex-start;padding:15px 17px;gap:7px}
 .task-log-row{grid-template-columns:28px minmax(0,1fr);column-gap:10px}
 .task-row-actions{grid-column:2;justify-content:flex-start;margin-top:9px}
 .task-log-details{grid-column:2}
 .task-record-cta{min-height:32px;padding:6px 12px}
}
@media(max-width:360px){
 .task-log-photo-list{grid-template-columns:repeat(3,minmax(0,1fr))}
 .task-today-card h2{font-size:18px}
}


/* Unified Moms Garden activity dashboard — compact schedule and readable call notes */
.record-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:4px 0 19px}
.record-overview>div{background:#fff;border:1px solid #E8E1EA;border-radius:13px;padding:16px 19px;display:flex;flex-direction:column;gap:6px;min-width:0}
.record-overview>div>span{font-size:12px;color:#86778B;font-weight:500}
.record-overview strong{font-size:27px;color:#49354F;font-variant-numeric:tabular-nums;line-height:1.1;font-weight:700}
.record-overview strong small{font-size:12px;margin-left:3px;font-weight:500}
.record-hub-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:16px;align-items:start}
.record-hub-panel{padding:22px 24px;min-width:0}
.record-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid #ECE6EF}
.record-panel-head>div{min-width:0}
.record-panel-head h2{font-size:19px;font-weight:700;margin:4px 0 5px;color:#392F3D;letter-spacing:-.025em}
.record-panel-head p{color:#8A7C8E;font-size:12px;line-height:1.5;margin:0}
.record-panel-head .btn{white-space:nowrap;flex:0 0 auto}
.record-feed,.record-upcoming{display:grid}
.record-feed-item{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:16px 3px 15px;width:100%;text-align:left;border:0;border-bottom:1px solid #F0EBF0;background:transparent;cursor:pointer;min-width:0}
.record-feed-item:hover,.record-upcoming-item:hover{background:#FAF7FB}
.record-feed-date{font-size:11px;font-weight:600;color:#806A87}
.record-feed-item strong{font-size:14px;line-height:1.5;letter-spacing:-.015em;font-weight:650;color:#352B39;overflow-wrap:anywhere}
.record-feed-preview{font-size:12px;color:#64596A;line-height:1.65;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;overflow-wrap:anywhere}
.record-photo-indicator{display:flex;gap:5px;align-items:center;font-size:11px;color:#7A6980}
.record-memo-notice{font-size:11px;color:#8F6B7E;background:#F8F2F8;border-radius:5px;padding:4px 8px;line-height:1.5}
.record-feed-detail{display:inline-flex;gap:6px;align-items:center;color:#694E72;font-size:11px;font-weight:650;margin-top:4px}
.record-upcoming-item{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;padding:16px 3px;border:0;border-bottom:1px solid #F0EBF0;background:transparent;text-align:left;cursor:pointer;min-width:0}
.record-upcoming-date{color:#806A87;font-size:11px;font-weight:650}
.record-upcoming-date.is-late{color:#A25155}
.record-upcoming-item strong{font-size:14px;font-weight:650;color:#392E3E;line-height:1.6;overflow-wrap:anywhere}
.record-upcoming-note{color:#625667;font-size:12px;line-height:1.65;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.record-upcoming-meta{color:#8B7D90;font-size:11px;margin-top:3px}
.record-empty{color:#877A89;font-size:13px;text-align:center;padding:32px 10px;line-height:1.75}
.record-show-all{margin-top:15px;font-size:12px;width:100%;justify-content:center}
.record-undated{padding:13px 4px;border-bottom:1px solid #EEE7EE}
.record-undated summary{font-size:12px;color:#66506E;font-weight:650;cursor:pointer}
.record-undated>button{display:flex;width:100%;justify-content:space-between;text-align:left;border:0;background:#FAF7FB;color:#5D4D63;padding:10px 8px;border-radius:7px;font-size:12px;margin-top:6px}
.record-hub-secondary{margin:23px 0 30px}
.record-hub-secondary .baseline-home-feature{margin-bottom:13px}
.record-detail-modal{max-width:740px;width:min(740px,calc(100vw - 28px));max-height:min(88dvh,900px);overflow:hidden;display:flex;flex-direction:column}
.record-detail-modal .modal-header{flex:0 0 auto;align-items:start;gap:12px}
.record-detail-modal .modal-header h2{font-size:21px;line-height:1.4;overflow-wrap:anywhere;margin:6px 0}
.record-detail-body{overflow:auto;min-height:0}
.record-detail-meta{display:grid;gap:2px;margin:17px 0 18px;padding:10px 0;border-top:1px solid #EEE6EF;border-bottom:1px solid #EEE6EF}
.record-detail-line{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;align-items:start;padding:6px 0}
.record-detail-line dt{font-size:12px;color:#88778D}
.record-detail-line dd{font-size:13px;color:#3F3344;overflow-wrap:anywhere;margin:0}
.record-detail-section{margin:16px 0}
.record-detail-section h3{font-size:13px;color:#654F6D;font-weight:700;margin:0 0 8px}
.record-detail-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;color:#3C3340;line-height:1.9;margin:0;background:#FAF8FB;padding:14px 17px;border-radius:10px}
.record-detail-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:9px;margin:15px 0}
.record-detail-photos .photo-thumb{aspect-ratio:1;height:auto;padding:0;border-radius:9px}
.record-detail-photos .photo-thumb img{height:100%;width:100%;object-fit:cover}
.record-detail-linked{padding:12px;border:1px solid #EEE6EF;border-radius:9px;margin-bottom:8px}
.record-detail-linked span{font-size:11px;color:#806A87}
.record-detail-linked p{font-size:12px;color:#625969;line-height:1.75;margin:5px 0 9px;white-space:pre-wrap}
.record-detail-hint{margin:18px 0;padding:16px;border:1px solid #DCCFE1;background:#F9F5FA;border-radius:11px}
.record-detail-hint strong{color:#49354F;font-size:14px}
.record-detail-hint p{font-size:12px;color:#73667A;line-height:1.7;margin:6px 0 12px}
.record-detail-buttons{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;border-top:1px solid #EAE2EC;padding-top:16px;margin-top:18px}
.task-title-link{font-size:13px;font-weight:650;line-height:1.5;color:#392E40;text-align:left;border:0;background:transparent;padding:0;cursor:pointer;overflow-wrap:anywhere}
.task-title-link:hover{color:#806A87;text-decoration:underline;text-underline-offset:3px}
.task-row .task-visible-memo{font-size:12px;color:#5B4C61;line-height:1.65;white-space:pre-line;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;text-overflow:ellipsis;overflow-wrap:anywhere}
.task-row-actions .task-detail-cta{padding:6px 9px;min-height:32px;background:#fff;color:#5E4868;border:1px solid #DCD0E1;font-size:11px;white-space:nowrap}
.phase-collapsible{margin:12px 0 25px;padding:15px 20px;border:1px solid #EAE4EB;border-radius:12px;background:#fff}
.phase-collapsible>summary{font-size:13px;font-weight:700;color:#49354F;cursor:pointer;list-style:none;display:flex;gap:12px;align-items:center;justify-content:space-between}
.phase-collapsible>summary::-webkit-details-marker{display:none}
.phase-collapsible>summary:before{content:"+";font-size:18px;color:#806A87}
.phase-collapsible[open]>summary:before{content:"−"}
.phase-collapsible>summary span{font-size:11px;color:#937F98;font-weight:400;margin-left:auto}
.phase-collapsible .phase-timeline{margin-top:25px}
@media(max-width:1020px){.record-hub-grid{grid-template-columns:1fr}.record-hub-panel{padding:20px}.record-feed{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px}}
@media(max-width:700px){
 .record-overview{gap:7px}
 .record-overview>div{padding:13px 11px}
 .record-overview>div>span{font-size:10px}
 .record-overview strong{font-size:23px}
 .record-hub-grid{gap:13px}
 .record-hub-panel{padding:17px 15px}
 .record-feed{grid-template-columns:1fr}
 .record-panel-head h2{font-size:17px}
 .record-detail-modal{width:100%;max-height:100dvh;height:100dvh;border-radius:0}
 .record-detail-meta{margin:12px 0}
 .record-detail-line{grid-template-columns:84px minmax(0,1fr)}
 .record-detail-photos{grid-template-columns:repeat(3,minmax(0,1fr))}
 .record-detail-buttons{justify-content:stretch}
 .record-detail-buttons .btn{flex:1;justify-content:center}
 .task-row-actions{flex-wrap:wrap}
}


/* Moms Garden dashboard v2 — actual photos and documents first, concise records below */
.family-main-hero{display:grid;grid-template-columns:210px minmax(0,1fr);gap:0;overflow:hidden;min-width:0;padding:0;margin:0 0 12px}
.family-main-cover{position:relative;background:#F0EBF0;min-height:166px;min-width:0}
.family-main-cover-button{position:relative;display:block;border:0;background:none;padding:0;width:100%;height:100%;min-height:166px;text-align:left;overflow:hidden}
.family-main-cover-button img{width:100%;height:100%;min-height:166px;object-fit:cover;display:block;transition:transform .2s ease}
.family-main-cover-button:hover img{transform:scale(1.035)}
.family-main-cover-button>span{position:absolute;right:9px;bottom:9px;display:flex;align-items:center;gap:4px;padding:5px 8px;border-radius:8px;background:#35293DDC;color:#fff;font-size:10px}
.family-main-cover-empty{width:100%;height:100%;min-height:166px;border:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#F3EDF3;color:#806A87;font-size:12px;cursor:pointer}
.family-main-info{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:15px 22px;gap:6px}
.family-main-info h2{margin:0;color:#3E3242;letter-spacing:-.04em;font-size:24px;font-weight:700;overflow-wrap:anywhere}
.family-main-info>p{margin:0;font-size:12px;line-height:1.5;color:#897B8C;max-width:650px;overflow-wrap:anywhere}
.family-main-counts{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:5px 0 1px}
.family-main-counts button{display:inline-flex;align-items:baseline;gap:6px;border:1px solid #ECE4EF;background:#FAF8FB;border-radius:8px;padding:5px 10px;color:#756579;font-size:11px}
.family-main-counts button b{color:#49354F;font-size:15px;font-variant-numeric:tabular-nums}
.family-main-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:3px}
.family-main-actions .btn{font-size:11px;padding:7px 10px;min-height:31px;background:#fff}
.family-main-media{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:12px;margin-bottom:14px}
.family-media-panel{min-width:0;padding:15px 17px;overflow:hidden}
.family-media-heading{display:flex;align-items:start;justify-content:space-between;gap:8px;border-bottom:1px solid #EDE7EE;padding-bottom:9px;margin-bottom:11px}
.family-media-heading h2{font-size:16px;line-height:1.3;font-weight:700;letter-spacing:-.02em;color:#3E3244;margin:0}
.family-media-heading h2 span{color:#806A87;font-size:12px;margin-left:5px;font-weight:650}
.family-media-heading p{color:#897D8B;font-size:11px;line-height:1.4;margin:4px 0 0}
.family-media-heading .btn{padding:5px 8px;font-size:11px;white-space:nowrap;min-height:28px}
.family-home-photo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;min-height:0}
.family-home-photo-thumb{padding:0;border:0;border-radius:8px;background:#EEE8F0;aspect-ratio:1;min-width:0;overflow:hidden;cursor:zoom-in}
.family-home-photo-thumb img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .2s}
.family-home-photo-thumb:hover img{transform:scale(1.06)}
.family-media-more{font-size:10px;color:#8B7E8E;margin:8px 0 0}
.family-doc-list{display:grid;gap:0;min-width:0}
.family-doc-row{width:100%;display:flex;align-items:center;gap:9px;padding:8px 1px;border:0;border-bottom:1px solid #F0EBF0;background:transparent;text-align:left;cursor:pointer;min-width:0}
.family-doc-row:last-child{border-bottom:0}
.family-doc-row:hover{background:#FAF7FB}
.family-doc-icon{display:grid;place-items:center;flex:0 0 31px;width:31px;height:33px;background:#F3EDF4;border-radius:8px;color:#806A87}
.family-doc-text{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.family-doc-text strong{font-size:12px;font-weight:650;color:#403645;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.family-doc-text small{font-size:10px;color:#897B8C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.family-doc-chevron{display:grid;place-items:center;color:#96879B}
.family-media-empty{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;min-height:98px;color:#8B7B8D;font-size:12px;text-align:center}
.family-media-empty .btn{padding:5px 10px;font-size:11px}
.family-main-work{margin:0 0 26px}
.family-main-work .record-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.family-main-work .record-hub-panel{padding:13px 17px}
.family-main-work .record-panel-head{padding-bottom:9px;align-items:center;gap:8px}
.family-main-work .record-panel-head h2{font-size:15px;font-weight:700;margin:0;line-height:1.5}
.family-main-work .record-panel-head p{font-size:10px;margin:2px 0 0}
.family-main-work .record-panel-head .btn{padding:5px 9px;font-size:11px;min-height:30px}
.family-main-work .record-section-count{display:inline-block;margin-left:5px;color:#806A87;font-size:12px;font-weight:650}
.family-main-work .record-feed-item,.family-main-work .record-upcoming-item{padding:8px 3px 9px;gap:2px;line-height:1.5}
.family-main-work .record-feed-date,.family-main-work .record-upcoming-date{font-size:10px}
.family-main-work .record-feed-item strong,.family-main-work .record-upcoming-item strong{font-size:12px;line-height:1.55;font-weight:650}
.family-main-work .record-feed-preview,.family-main-work .record-upcoming-note{font-size:11px;line-height:1.55;-webkit-line-clamp:2;white-space:normal}
.family-main-work .record-photo-indicator{font-size:10px;margin:2px 0}
.family-main-work .record-empty{padding:24px 5px;font-size:12px}
.family-work-footer{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:6px;padding-top:9px;border-top:1px solid #EFE8F0;color:#928795;font-size:10px}
.family-work-footer button{display:inline-flex;align-items:center;gap:4px;border:0;background:none;color:#6E5477;font-size:11px;font-weight:650;cursor:pointer;padding:5px 0}
.record-inline-more{margin:7px 0 0;padding:0;border:0}
.record-inline-more summary{display:flex;align-items:center;justify-content:center;cursor:pointer;border:1px solid #EBE1ED;background:#FAF8FB;border-radius:8px;font-size:11px;font-weight:600;color:#6B5772;padding:9px}
.record-inline-more summary:hover{background:#F3ECF5}
.record-inline-more .record-feed-item,.record-inline-more .record-upcoming-item{width:100%}
.record-undated-button{width:100%;padding:10px 8px;display:flex;justify-content:space-between;align-items:center;gap:8px;background:#FAF8FB;border:0;border-bottom:1px solid #EFE8EF;color:#574B5C;font-size:11px;text-align:left;cursor:pointer}
@media(max-width:990px){
 .family-main-media{grid-template-columns:1fr 1fr}
 .family-home-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .family-main-work .record-hub-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
 .family-main-hero{grid-template-columns:116px minmax(0,1fr)}
 .family-main-cover,.family-main-cover-button,.family-main-cover-button img,.family-main-cover-empty{min-height:145px}
 .family-main-info{padding:12px 13px;gap:5px}
 .family-main-info h2{font-size:19px}
 .family-main-info>.eyebrow{font-size:9px}
 .family-main-info>p{font-size:11px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
 .family-main-counts{gap:4px;margin:3px 0}
 .family-main-counts button{padding:4px 6px;gap:3px;font-size:10px}
 .family-main-counts button b{font-size:12px}
 .family-main-actions .btn{padding:6px 7px;font-size:10px;min-height:29px}
 .family-main-media,.family-main-work .record-hub-grid{grid-template-columns:1fr;gap:10px}
 .family-home-photo-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}
 .family-media-panel{padding:13px 14px}
 .family-main-work .record-hub-panel{padding:12px 14px}
}
@media(max-width:420px){
 .family-main-hero{grid-template-columns:102px minmax(0,1fr)}
 .family-main-cover,.family-main-cover-button,.family-main-cover-button img,.family-main-cover-empty{min-height:148px}
 .family-main-info{padding:9px 10px}
 .family-main-info h2{font-size:17px}
 .family-main-counts{gap:3px}
 .family-main-counts button{padding:3px 5px}
 .family-main-actions{gap:4px}
 .family-main-actions .btn{padding:5px 5px;font-size:9px}
 .family-home-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .family-media-heading p{font-size:10px}
}


/* Moms Garden dashboard readability + inline activity photo previews */
.family-main-hero{grid-template-columns:195px minmax(0,1fr)}
.family-main-cover,.family-main-cover-button,.family-main-cover-button img,.family-main-cover-empty{min-height:160px}
.family-main-info{padding:15px 19px}
.family-main-info h2{font-size:23px;line-height:1.35}
.family-main-info>p{font-size:13px;line-height:1.65;color:#75697B}
.family-main-media{gap:12px;margin-bottom:13px}
.family-media-panel{padding:14px 16px}
.family-media-heading h2{font-size:17px}
.family-media-heading p{font-size:12px;line-height:1.6}
.family-home-photo-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}
.family-home-photo-thumb{aspect-ratio:1;border-radius:8px}
.family-main-work .record-hub-grid{gap:12px}
.family-main-work .record-hub-panel{padding:14px 17px}
.family-main-work .record-panel-head{padding-bottom:9px}
.family-main-work .record-panel-head h2{font-size:16px;line-height:1.45}
.family-main-work .record-panel-head p{font-size:11px;line-height:1.4}
.family-main-work .record-feed{display:block}
.family-main-work .record-feed-item.record-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #EAE4ED;background:transparent;min-width:0}
.family-main-work .record-feed-item.record-entry:hover{background:#FCFAFD}
.record-feed-open{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;padding:0;border:0;background:transparent;text-align:left;min-width:0;cursor:pointer;color:inherit}
.record-feed-open:focus-visible{outline:2px solid #806A87;outline-offset:3px;border-radius:4px}
.family-main-work .record-feed-date{font-size:11px;color:#806A87;line-height:1.5;white-space:normal}
.record-feed-type{font-size:11px;font-weight:500;color:#93839A}
.family-main-work .record-feed-open>strong{font-size:13px;font-weight:700;letter-spacing:-.025em;line-height:1.5;overflow-wrap:anywhere;color:#372D3D}
.family-main-work .record-feed-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:pre-line;overflow-wrap:anywhere;font-size:12px;color:#5C5261;line-height:1.55}
.record-feed-no-note{color:#9C8FA0!important;font-size:12px!important}
.record-feed-more{display:inline-flex;align-items:center;gap:5px;color:#72577D;font-size:11px;font-weight:650;margin-top:3px}
.record-feed-thumbs{display:flex;align-items:stretch;justify-content:flex-end;gap:4px;position:relative;max-width:146px;min-width:0}
.record-feed-photo{display:block;width:39px;height:57px;flex:0 1 39px;min-width:0;overflow:hidden;border:0;border-radius:8px;padding:0;background:#ECE6EF;cursor:zoom-in}
.record-feed-photo:first-child{width:57px;flex-basis:57px}
.record-feed-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s ease}
.record-feed-photo:hover img{transform:scale(1.07)}
.record-feed-photo-more{position:absolute;right:3px;bottom:3px;font-size:10px;color:#fff;background:#342B3BBF;border-radius:6px;padding:4px 6px;pointer-events:none}
.family-main-work .record-upcoming-item{padding:9px 2px;border-bottom:1px solid #EAE4ED;gap:3px}
.family-main-work .record-upcoming-date{font-size:11px;color:#806A87}
.family-main-work .record-upcoming-item strong{font-size:13px;font-weight:700;line-height:1.5;color:#372D3D}
.family-main-work .record-upcoming-note{font-size:12px;color:#66596B;line-height:1.55;-webkit-line-clamp:2}
.family-main-work .family-work-footer{font-size:11px;padding-top:13px}
.record-memo-notice{display:none!important}
@media(max-width:820px){
 .family-main-work .record-hub-grid{grid-template-columns:1fr}
 .family-main-media{grid-template-columns:1fr 1fr}
 .family-main-work .record-feed-item.record-entry{grid-template-columns:minmax(0,1fr) auto}
}
@media(max-width:760px){
 .family-main-hero{grid-template-columns:120px minmax(0,1fr)}
 .family-main-cover,.family-main-cover-button,.family-main-cover-button img,.family-main-cover-empty{min-height:154px}
 .family-main-info{padding:11px 13px}
 .family-main-info h2{font-size:20px}
 .family-main-info>p{font-size:12px;line-height:1.55}
 .family-main-media{grid-template-columns:1fr;gap:12px}
 .family-media-panel,.family-main-work .record-hub-panel{padding:13px 14px}
 .family-home-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 .family-main-work .record-feed-item.record-entry{grid-template-columns:minmax(0,1fr) auto;gap:9px}
 .family-main-work .record-feed-open>strong{font-size:14px}
 .family-main-work .record-feed-preview{font-size:12px;-webkit-line-clamp:2}
 .record-feed-photo{height:53px;width:34px;flex-basis:34px}
 .record-feed-photo:first-child{width:54px;flex-basis:54px}
 .record-feed-thumbs{max-width:130px}
 .family-main-work .record-panel-head h2{font-size:17px}
}
@media(max-width:460px){
 .family-main-hero{grid-template-columns:110px minmax(0,1fr)}
 .family-main-info{padding:11px}
 .family-main-info h2{font-size:18px}
 .family-main-work .record-feed-item.record-entry{grid-template-columns:minmax(0,1fr)}
 .record-feed-thumbs{justify-content:flex-start;max-width:100%;margin-top:1px}
 .record-feed-photo,.record-feed-photo:first-child{height:60px;width:79px;flex-basis:79px}
 .family-home-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
}


/* CHAEPIUM — Moms Garden v4: calm editorial dashboard, photo-first and content-dense.
   Scoped to this dashboard to protect all other routes and features. */
.family-dashboard-v4{max-width:1240px;margin:0 auto 54px;color:#342F37;min-width:0}
.family-v4-titlebar{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin:0 0 20px}
.family-v4-eyebrow{display:block;color:#88768C;font-weight:700;font-size:10px;letter-spacing:.13em}
.family-v4-titlebar h1{font-family:inherit;color:#352A38;line-height:1.2;font-size:clamp(26px,3vw,35px);font-weight:750;letter-spacing:-.055em;margin:5px 0 7px}
.family-v4-titlebar p{font-size:13px;color:#7C737E;line-height:1.55;margin:0}
.family-v4-main-actions{display:flex;gap:8px;align-items:center;flex:0 0 auto}
.family-v4-main-actions .btn{font-size:12px;padding:9px 15px;white-space:nowrap}
.family-v4-top{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr);overflow:hidden;padding:0;margin-bottom:19px;border-radius:17px;min-width:0}
.family-v4-intro{padding:26px 28px 23px;display:flex;flex-direction:column;gap:0;min-width:0;background:#F9F7F9}
.family-v4-overline{display:block;font-size:18px;font-weight:700;letter-spacing:-.035em;color:#48344F;margin:0 0 11px}
.family-v4-description{font-size:13px;color:#766C79;line-height:1.75;margin:0 0 17px;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.family-v4-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 17px}
.family-v4-summary button{min-width:0;border:1px solid #E8E2E9;background:#fff;padding:12px 7px 10px;border-radius:9px;text-align:center;cursor:pointer;display:grid;justify-items:center;gap:3px}
.family-v4-summary button:hover{border-color:#AE9AB2;background:#FCFAFC}
.family-v4-summary strong{font-weight:750;font-size:23px;line-height:1.2;color:#49354F;font-variant-numeric:tabular-nums}
.family-v4-summary span{font-size:11px;color:#7E7581;white-space:nowrap}
.family-v4-featured-next{padding:13px 15px;background:#F0EAF2;border:1px solid #E8DDEB;border-radius:10px}
.family-v4-featured-next>span{display:flex;gap:6px;align-items:center;font-size:11px;font-weight:700;color:#806A87}
.family-v4-featured-next>button{display:flex;width:100%;text-align:left;align-items:center;gap:8px;border:0;background:none;color:#49354F;padding:6px 0 0;cursor:pointer}
.family-v4-featured-next>button strong{font-size:12px;line-height:1.5;font-weight:700;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.family-v4-featured-next>button small{font-size:11px;white-space:nowrap;color:#77667B}
.family-v4-featured-next>p{font-size:12px;color:#756579;margin:6px 0 0}
.family-v4-quicklinks{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:16px}
.family-v4-quicklinks .btn{background:#fff;padding:7px 11px;min-height:31px;font-size:11px;color:#604C66;border:1px solid #DED3E1}
.family-v4-quicklinks .btn:hover{background:#F0EAF2}
.family-v4-photo-area{padding:12px;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,.85fr);gap:8px;min-height:296px;background:#F0EDF1;min-width:0;align-items:stretch}
.family-v4-photo-area.no-mini{grid-template-columns:minmax(0,1fr)}
.family-v4-mainphoto{position:relative;min-width:0;min-height:268px;overflow:hidden;border-radius:10px;background:#E6E0E8}
.family-v4-mainphoto-open{position:absolute;inset:0;padding:0;border:0;display:block;width:100%;height:100%;overflow:hidden;background:#E6E0E8;cursor:zoom-in}
.family-v4-mainphoto-open img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s ease}
.family-v4-mainphoto-open:hover img{transform:scale(1.025)}
.family-v4-photo-label{position:absolute;bottom:10px;left:10px;display:inline-flex;align-items:center;gap:6px;background:#251D2CB8;color:#fff;font-size:11px;border-radius:7px;padding:7px 10px}
.family-v4-photo-choose{position:absolute;top:10px;right:10px;border:1px solid #FFFFFF88;background:#34263DD1;color:#fff;border-radius:8px;font-size:11px;line-height:1.4;padding:7px 10px;display:flex;align-items:center;gap:6px;cursor:pointer}
.family-v4-photo-choose:hover{background:#49354F}
.family-v4-photo-strip{min-width:0;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}
.family-v4-photo-thumb{display:block;border:0;padding:0;position:relative;border-radius:9px;overflow:hidden;background:#E8E3EA;min-width:0;min-height:0;cursor:zoom-in}
.family-v4-photo-thumb img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .2s ease}
.family-v4-photo-thumb:hover img{transform:scale(1.04)}
.family-v4-gallery-more{border:1px solid #D8CBDC;border-radius:9px;background:#F9F6FA;color:#523C5C;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;cursor:pointer;font-weight:750;font-size:15px}
.family-v4-gallery-more span{font-size:10px;color:#806A87;font-weight:550}
.family-v4-photo-empty{grid-column:1/-1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;background:#F3EDF4;border:1px dashed #D8CADD;color:#695472;border-radius:10px;padding:22px;cursor:pointer;min-height:268px}
.family-v4-photo-empty strong{font-size:15px}
.family-v4-photo-empty span{font-size:12px;color:#8B7B90}
.family-v4-content{display:grid;grid-template-columns:minmax(0,1.27fr) minmax(0,.85fr);gap:16px;align-items:start}
.family-v4-activities,.family-v4-schedule,.family-v4-documents{padding:20px 24px;min-width:0;border-radius:15px}
.family-v4-side{display:grid;gap:16px;min-width:0}
.family-v4-section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:15px;border-bottom:1px solid #EBE5ED;min-width:0}
.family-v4-section-head>div{min-width:0}
.family-v4-section-head h2{font-size:19px;letter-spacing:-.025em;line-height:1.4;margin:4px 0 3px;font-weight:750;color:#3F3344}
.family-v4-section-head h2 span{font-size:13px;color:#806A87;margin-left:4px;font-weight:650}
.family-v4-section-head p{font-size:12px;color:#897D8D;line-height:1.6;margin:4px 0 0}
.family-v4-section-head .btn{min-height:30px;font-size:11px;padding:6px 11px;white-space:nowrap}
.family-v4-record-list{min-width:0}
.family-dashboard-v4 .record-entry.record-feed-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px 1px;border:0;border-bottom:1px solid #EFEAF0;background:none;min-width:0}
.family-dashboard-v4 .record-feed-open{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:6px;text-align:left;border:0;background:none;padding:0;width:100%;cursor:pointer}
.family-dashboard-v4 .record-feed-date{font-size:11px;color:#88748E;font-weight:650}
.family-dashboard-v4 .record-feed-type{font-size:11px;color:#98899A}
.family-dashboard-v4 .record-feed-open strong{font-size:15px;line-height:1.45;font-weight:700;color:#372D3B;overflow-wrap:anywhere}
.family-dashboard-v4 .record-feed-preview{font-size:13px;line-height:1.7;color:#5D5360;white-space:pre-line;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.family-dashboard-v4 .record-feed-more{font-size:11px;color:#806A87;font-weight:700;margin-top:2px}
.family-dashboard-v4 .record-feed-thumbs{display:flex;gap:5px;max-width:150px;justify-content:flex-end;align-items:stretch}
.family-dashboard-v4 .record-feed-photo,.family-dashboard-v4 .record-feed-photo:first-child{height:76px;width:46px;flex-basis:46px;flex-shrink:1;border-radius:8px}
.family-dashboard-v4 .record-feed-photo:first-child:last-of-type{width:90px;flex-basis:90px}
.family-dashboard-v4 .record-feed-photo img{width:100%;height:100%;object-fit:cover}
.family-dashboard-v4 .record-feed-photo-more{font-size:10px}
.family-dashboard-v4 .record-inline-more{padding-top:13px}
.family-dashboard-v4 .record-inline-more summary{border-color:#E7DFE9;background:#F8F5F8;font-size:12px}
.family-dashboard-v4 .record-upcoming-item{padding:15px 0;gap:5px;border-bottom:1px solid #EFEAF0}
.family-dashboard-v4 .record-upcoming-date{font-size:11px;color:#806A87;font-weight:650}
.family-dashboard-v4 .record-upcoming-item strong{font-size:14px;line-height:1.55;color:#39313C;font-weight:700}
.family-dashboard-v4 .record-upcoming-note{font-size:12px;color:#6F6571;line-height:1.6;-webkit-line-clamp:2}
.family-dashboard-v4 .family-doc-row{padding:11px 0}
.family-dashboard-v4 .family-doc-text strong{font-size:13px}
.family-dashboard-v4 .family-doc-text small{font-size:11px}
.family-v4-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding-top:13px;border-top:1px solid #F0EBF0;color:#918698;font-size:11px}
.family-v4-foot>button{border:0;background:none;color:#6C5673;font-size:11px;font-weight:700;padding:4px 0;cursor:pointer;display:inline-flex;align-items:center;gap:5px;text-align:right}
.family-v4-empty{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#817786;font-size:12px;line-height:1.65;min-height:72px;padding:17px 1px}
.family-v4-empty .btn{font-size:11px}
.family-cover-modal{width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 42px);overflow:hidden;display:flex;flex-direction:column}
.family-cover-modal .modal-header{flex:0 0 auto}
.family-cover-modal-body{min-height:0;overflow:auto}
.family-cover-modal-body>p{font-size:12px;color:#75677B;line-height:1.65;margin:0 0 14px}
.family-cover-picks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.family-cover-choice{display:flex;flex-direction:column;align-items:stretch;gap:5px;text-align:left;padding:7px;border:1px solid #E8DFE8;background:#fff;border-radius:10px;cursor:pointer;min-width:0}
.family-cover-choice:hover{background:#F9F5F9;border-color:#B19AB8}
.family-cover-choice.is-selected{border:2px solid #806A87;background:#F9F5FA}
.family-cover-choice-image{display:block;width:100%;aspect-ratio:4/3;border-radius:7px;overflow:hidden;background:#F1EDF2}
.family-cover-choice-image img{width:100%;height:100%;display:block;object-fit:cover}
.family-cover-choice-caption{font-size:11px;line-height:1.5;color:#463A4B;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.family-cover-choice-caption-secondary{font-size:10px;font-weight:700;color:#806A87}
@media(max-width:1150px){.family-v4-top{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)}.family-v4-photo-area{grid-template-columns:minmax(0,1.25fr) minmax(0,.8fr)}.family-v4-intro{padding:22px 21px}.family-v4-content{grid-template-columns:minmax(0,1.2fr) minmax(0,.9fr)}}
@media(max-width:900px){.family-v4-top{grid-template-columns:1fr}.family-v4-photo-area{min-height:275px}.family-v4-mainphoto{min-height:260px}.family-v4-content{grid-template-columns:1fr}.family-v4-side{grid-template-columns:repeat(2,minmax(0,1fr))}.family-v4-activities,.family-v4-schedule,.family-v4-documents{padding:18px}.family-v4-intro{padding:22px}.family-v4-quicklinks{margin-top:2px}}
@media(max-width:620px){.family-dashboard-v4{margin-bottom:25px}.family-v4-titlebar{align-items:flex-start;flex-direction:column;gap:13px;margin-bottom:14px}.family-v4-titlebar h1{font-size:27px}.family-v4-titlebar p{font-size:12px}.family-v4-main-actions{width:100%}.family-v4-main-actions .btn{flex:1;justify-content:center;padding:9px}.family-v4-top{margin-bottom:13px}.family-v4-intro{padding:19px 16px}.family-v4-overline{font-size:16px}.family-v4-description{font-size:12px}.family-v4-summary button{padding:10px 4px}.family-v4-summary strong{font-size:21px}.family-v4-summary span{font-size:10px}.family-v4-featured-next{padding:11px 12px}.family-v4-photo-area{padding:8px;gap:6px;min-height:190px}.family-v4-mainphoto{min-height:178px}.family-v4-photo-strip{gap:6px}.family-v4-photo-choose{padding:6px 8px;font-size:10px}.family-v4-photo-label{font-size:10px;padding:5px 7px}.family-v4-content{gap:12px}.family-v4-side{grid-template-columns:1fr;gap:12px}.family-v4-activities,.family-v4-schedule,.family-v4-documents{padding:17px 15px}.family-v4-section-head h2{font-size:17px}.family-v4-section-head p{font-size:11px}.family-dashboard-v4 .record-entry.record-feed-item{gap:8px;padding:13px 0}.family-dashboard-v4 .record-feed-open strong{font-size:14px}.family-dashboard-v4 .record-feed-preview{font-size:12px}.family-dashboard-v4 .record-feed-thumbs{max-width:108px}.family-dashboard-v4 .record-feed-photo,.family-dashboard-v4 .record-feed-photo:first-child{height:63px;width:34px;flex-basis:34px}.family-dashboard-v4 .record-feed-photo:first-child:last-of-type{width:66px;flex-basis:66px}.family-cover-picks{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}}
@media(max-width:390px){.family-v4-photo-area{grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr)}.family-v4-quicklinks .btn{flex:1}.family-v4-photo-label{display:none}.family-v4-featured-next>button{flex-wrap:wrap}.family-v4-featured-next>button small{order:3;width:100%}.family-cover-picks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.family-v4-mainphoto-open img,.family-v4-photo-thumb img{transition:none}}


/* Multiple document files: readable attachments and clipboard photo thumbnails */
.document-existing-files{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:9px;margin:7px 0 10px}
.document-existing-file{display:flex;flex-direction:column;gap:6px;min-width:0;padding:8px;border:1px solid #E9E0EB;background:#FCFAFC;border-radius:10px;cursor:pointer}
.document-existing-file>img,.document-existing-icon{width:100%;height:100px;border-radius:7px;object-fit:cover;background:#EFEAF1;display:grid;place-items:center;color:#806A87}
.document-existing-filename{font-size:11px;color:#4D4350;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.document-remove-choice{display:flex;align-items:center;gap:7px;font-size:11px;color:#856D85}
.document-remove-choice input{accent-color:#49354F}
.document-attachments{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px;margin:12px 0}
.document-attachment{display:flex;flex-direction:column;min-width:0;gap:8px;border:1px solid #EAE4ED;border-radius:10px;background:#FCFAFC;padding:8px}
.document-attachment-photo{border:0;padding:0;background:#EEE8EF;border-radius:8px;width:100%;height:112px;display:block;overflow:hidden;cursor:zoom-in}
.document-attachment-photo img{width:100%;height:100%;object-fit:cover;display:block}
.document-attachment-icon{height:70px;background:#F0EAF2;display:grid;place-items:center;color:#806A87;border-radius:8px}
.document-attachment-body{min-width:0;display:grid;gap:8px}
.document-attachment-body>span{font-size:11px;color:#514654;overflow-wrap:anywhere;line-height:1.4}
.document-attachment-actions{display:flex;gap:7px;flex-wrap:wrap}
.document-attachment-actions .btn{min-height:29px;padding:6px 9px;font-size:11px}
.record-detail-body .document-attachments{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
@media(max-width:650px){.document-attachments{grid-template-columns:repeat(2,minmax(0,1fr))}.document-existing-files{grid-template-columns:repeat(2,minmax(0,1fr))}.document-attachment-photo{height:95px}}
