/* Family design system. One responsive shell, shared by web, iOS and Android. */
:root{--family-red:#cf1424;--family-yellow:#ffc72c;--family-ink:#202124;--family-muted:#686b70;--family-line:#e9e9eb;--family-font:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{background:#fff;scroll-padding-top:88px}body{margin:0;background:#fff;color:var(--family-ink);font:400 16px/1.5 var(--family-font);height:auto;min-height:100dvh;overflow:auto}body [hidden]{display:none!important}body :is(h1,h2,h3,h4,button,input,select,textarea,summary,label,.primary,.outline,.text-btn){font-family:var(--family-font)}body :is(h1,h2,h3,h4){color:var(--family-ink);text-shadow:none;-webkit-text-stroke:0;letter-spacing:-.025em;font-weight:600}h1{font-size:28px;line-height:1.2}h2{font-size:22px;line-height:1.3}h3{font-size:18px;line-height:1.35}button,a,input,summary{-webkit-tap-highlight-color:transparent}button{font-weight:500;cursor:pointer;color:inherit}button:disabled{opacity:.55;cursor:default}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--family-yellow);outline-offset:3px}input,select,textarea{font-size:16px!important;max-width:100%;border:1px solid #d9dade;border-radius:10px;background:#fff;color:#202124;padding:12px;min-height:48px}input:focus,textarea:focus,select:focus{outline:2px solid #cf14244d;outline-offset:1px}input[type=checkbox],input[type=radio]{min-height:20px;width:20px;accent-color:var(--family-red)}a{color:var(--family-red)}.primary,.outline{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;border-radius:12px;padding:12px 20px;font-size:16px;font-weight:600;box-shadow:none;text-decoration:none}.primary{background:var(--family-red);border:1px solid var(--family-red);color:#fff}.outline{background:#fff;border:1px solid #d9dade;color:#202124}.text-btn{background:transparent;border:0;color:var(--family-red);font-size:15px;min-height:44px}.close{min-width:44px;min-height:44px;background:#fff;color:#292929;border:0;border-radius:50%;font-size:28px}
/* Fixed brand proportions. White remains the only canvas behind images. */
.official-family-brand{display:flex;flex-direction:column;align-items:center;width:100%;max-width:210px;margin-inline:auto}.wordmark .official-family-brand,.wordmark .official-family-brand span{border:0;padding:0;margin:0;letter-spacing:normal}.official-family-brand .family-logo-crop{position:relative;display:block;width:100%;aspect-ratio:1690/430;overflow:hidden;flex:none;background:white}.official-family-brand .family-logo-crop .family-brand-art{position:absolute;display:block;width:108.3432%;height:199.7674%;max-width:none;max-height:none;left:-4.4379%;top:-54.6512%;object-fit:fill;border:0;border-radius:0;padding:0;margin:0}.official-family-brand .family-brand-caption{display:block;font:600 10px/1.6 var(--family-font);letter-spacing:.45em;padding-left:.45em;color:#202124;margin-top:5px}
.topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;position:relative;inset:auto;min-height:88px;height:auto;width:100%;max-width:1200px;margin:auto;padding:16px 28px;border:0;border-bottom:1px solid var(--family-line);box-shadow:none;background:#fff;z-index:2;gap:12px}.topbar .tabs{display:none}.wordmark{display:block;grid-column:2;width:170px;height:auto;overflow:visible}.header-actions{grid-column:3;display:flex;align-items:center;justify-self:end;gap:8px}.header-actions button{background:#fff;border:0;min-height:44px;min-width:44px;padding:8px;color:#242424}.header-actions svg{width:23px;height:23px}.message-button-label{display:none}#messages-open{display:none}.header-actions #profile-open{padding:0;width:40px;height:40px;min-width:40px;min-height:40px;flex:0 0 40px}
#family-app.layout{display:grid;grid-template-columns:200px minmax(0,1fr);max-width:1200px;width:100%;margin:0 auto;padding:0;overflow:visible;height:auto;min-height:calc(100dvh - 88px)}#family-app>main{min-width:0;width:100%;max-width:780px;height:auto;padding:32px 40px 64px;margin:0 auto;overflow:visible}.social-sidebar{display:flex;flex-direction:column;align-self:stretch;gap:6px;padding:28px 14px;border-right:1px solid var(--family-line);background:#fff}.social-sidebar button{display:flex;align-items:center;gap:14px;border:0;border-radius:10px;background:white;color:#595c62;min-height:50px;text-align:left;padding:12px;font-size:15px}.social-sidebar button[aria-current=page]{color:var(--family-red);background:#fff4f5}.social-sidebar button>span{width:24px;flex:0 0 24px}.social-sidebar svg,.social-mobile svg{width:24px;height:24px;display:block}.social-sidebar>p{display:none}.social-mobile{display:none}.family-3d-icon{display:block;width:28px;height:28px;background-image:url('/family-nav-sprites.png');background-size:400% 200%;background-position:var(--icon-x) var(--icon-y);background-repeat:no-repeat}.welcome-hero,.family-voice,#today-family,#weekly-habit,.category-nav,#certifications{display:none!important}
/* Home: a calm introduction, stories, composer, then real family posts. */
.family-home-intro{margin:0 0 22px}.family-home-intro h1{font-size:28px;line-height:1.25;margin:0 0 6px;font-weight:600;letter-spacing:-.035em}.family-home-intro>p{font-size:15px;color:var(--family-muted);margin:0 0 8px}.family-home-intro button{padding:4px 0;min-height:40px;text-align:left;font-size:14px}.content-grid{display:flex;flex-direction:column;gap:22px;margin:0;width:100%}.details{display:none!important}.stories{order:0;width:100%;min-width:0;margin:0;border:0;border-radius:0;padding:0;background:white;overflow:hidden}.stories-heading,.stories-note{display:none}.story-tray{display:flex;gap:18px;overflow-x:auto;padding:4px 2px 8px;max-width:100%;scrollbar-width:thin}.story-person{flex:0 0 72px;width:72px;min-width:72px;padding:0;background:#fff;border:0}.story-person strong{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:500;color:#414349}.story-portrait{display:flex;align-items:center;justify-content:center;width:66px;height:66px;padding:3px;border:2px solid var(--family-yellow);border-radius:50%;background:#fff;box-shadow:none}.story-round-plus{border:2px solid white}.feed{order:1;width:100%;min-width:0;margin:0}.composer{border:1px solid var(--family-line);border-radius:16px;padding:12px;margin:0 0 24px;background:#fff;box-shadow:none}.compose-row{display:flex;align-items:center;gap:10px}.compose-row #compose-open{flex:1;min-width:0;background:white;border:0;padding:10px 0;color:#686b70;text-align:left;font-size:15px;min-height:44px}.compose-row .quick-compose{flex:0 0 44px;width:44px;height:44px;border:0;border-radius:50%;background:var(--family-red);color:white;font-size:28px;font-weight:400;line-height:1;padding:0;display:grid;place-items:center}.compose-bottom{display:none}.feed-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;padding:0;gap:12px}.feed-heading h2{margin:0;font-size:17px;letter-spacing:0}.feed-heading p{display:none}.feed-heading select{min-height:44px;border:0;background:white;font-size:14px!important;padding:6px 0;max-width:145px;color:var(--family-muted)}
/* Portrait framing is shared everywhere; no per-person scale or offsets. */
.mini-avatar,.post-avatar,.profile-avatar,.love-person-avatar{display:inline-flex;align-items:center;justify-content:center;background:#fff!important;border:1px solid var(--family-line);border-radius:50%!important;overflow:hidden;box-shadow:none}.mini-avatar,.post-avatar{width:44px;height:44px;min-width:44px;flex:0 0 44px}.person-avatar,.mini-avatar img,.post-avatar img,.story-portrait img,.profile-avatar img,.love-person-avatar img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center!important;border-radius:inherit;background:#fff;filter:none;opacity:1}.post{background:white;border:1px solid var(--family-line);border-radius:16px;overflow:hidden;margin:0 0 24px;box-shadow:none}.post-meta{padding:16px 16px 0;display:flex;gap:10px;align-items:center}.post-author-meta{flex:1;min-width:0}.post-author{font-size:15px;font-weight:600;line-height:1.4}.post-date{font-size:12px;line-height:1.45;color:var(--family-muted)}.post-body{font-size:16px;line-height:1.65;padding:12px 16px;overflow-wrap:anywhere}.post-photo{display:block;width:100%;height:auto;max-height:650px;object-fit:contain;background:white}.post-meta>[data-report-kind]{min-width:44px;min-height:44px;font-size:0;border:0;background:white;flex:none}.post-meta>[data-report-kind]:after{content:'•••';font-size:15px;letter-spacing:2px;color:#777}.own-post-controls{display:flex;gap:4px;flex-wrap:wrap}.own-post-controls button{font-size:12px;min-height:44px}.post-actions{display:flex;gap:4px;padding:8px;border-top:1px solid var(--family-line)}.post-actions button{flex:1;min-width:0;min-height:44px;font-size:13px;justify-content:center;padding:8px 2px}.post-actions .liked,.heart-icon{color:var(--family-red)}.reaction-summary{font-size:13px;padding:10px 16px}.comments{padding:8px 16px 16px;background:white}.comment-row{gap:10px;margin:12px 0}.comment{background:#fff;border:1px solid var(--family-line);border-radius:12px;padding:10px 12px}.comment strong{font-size:14px}.comment p{font-size:15px;line-height:1.5;margin:4px 0}.comment-form{gap:8px;margin-top:16px}.comment-form input{min-width:0;background:white;border-radius:24px}.comment-form>button{min-height:48px;border-radius:24px;background:var(--family-red);color:white}.empty-feed{padding:28px 20px;background:white;text-align:center;border:1px solid var(--family-line);border-radius:16px}.empty-feed h3{font-size:21px;margin:0 0 10px}.empty-feed p{font-size:15px;line-height:1.6;color:var(--family-muted);margin:0 0 20px}.empty-feed button{white-space:normal}
/* Graduations and Corporate MVP share the same announcement structure. */
.post .recognition-feature{display:block;text-align:left;margin:0;padding:16px;background:white}.recognition-heading{text-align:center;font-size:22px;font-weight:600;line-height:1.3;margin:4px 0 18px}.recognition-photo{position:relative;display:grid;place-items:center;aspect-ratio:1;width:100%;max-height:430px;overflow:hidden;background:#fff;border-bottom:1px solid var(--family-line)}.recognition-photo>.person-avatar{width:100%;height:100%;object-fit:contain!important;border-radius:0!important}.recognition-photo.without-portrait>.person-avatar{width:42%;height:auto;aspect-ratio:1;border-radius:50%!important}.graduate-mascot-main{width:auto;height:90%;max-width:85%;object-fit:contain}.graduate-mascot-accent{position:absolute;bottom:0;right:0;width:22%;height:auto;object-fit:contain}.recognition-badge{display:table;margin:0 0 14px auto;padding:5px 9px;background:#fff6d6;border-radius:5px;font-size:11px;font-weight:600;letter-spacing:.04em;color:#6b5100}.recognition-copy h3{font-size:24px;line-height:1.3;margin:16px 0 4px;font-weight:600;overflow-wrap:anywhere}.recognition-copy p{font-size:15px;color:var(--family-muted);margin:4px 0;line-height:1.5}.recognition-feature .certificate-link{min-height:44px;background:white;color:var(--family-red);border:0;padding:10px 0;margin-top:8px;text-align:left;font-size:14px}.mvp-recognition{font-size:14px;margin:14px 0;padding:0;color:var(--family-muted)}.mvp-recognition summary{cursor:pointer;min-height:44px;padding:8px 0}.mvp-recognition p{white-space:pre-wrap;line-height:1.6}.recognition-celebrate{display:flex;justify-content:center;align-items:center;gap:10px;background:var(--family-red);color:white;border:0;border-radius:12px;width:100%;min-height:48px;padding:12px;font-size:16px;margin:14px 0 0}.recognition-celebrate span{font-size:22px}.recognition-celebrate.is-celebrated{background:#fff4f5;color:var(--family-red)}.post:has(.mvp-feature)>.post-actions>[data-action=like]{display:none}.recognition-page-header{display:none;margin-bottom:22px}.recognition-page-header>div{display:flex;align-items:center;gap:10px}.recognition-page-header h1{font-size:26px;margin:0}.recognition-back{min-width:44px;min-height:44px;font-size:32px;border:0;background:white;padding:0}.recognition-page-header nav{display:flex;border-bottom:1px solid var(--family-line);margin-top:16px}.recognition-page-header nav button{flex:1;min-height:48px;border:0;border-bottom:2px solid transparent;background:white;font-size:14px;color:var(--family-muted)}.recognition-page-header nav button[aria-pressed=true]{border-bottom-color:var(--family-red);color:var(--family-red)}body:not([data-social-page=home]) .family-home-intro{display:none}body[data-social-page=recognition] .recognition-page-header{display:block}body[data-social-page=recognition] :is(.feed-heading,.composer){display:none}body[data-social-page=more] .content-grid,body[data-social-page=celebrations] .content-grid{display:none}
/* Directory, More and all secondary screens. */
.alternate{width:100%;padding:0;border:0;background:white}.alternate h2,#social-more h1{font-size:28px;line-height:1.25;margin:0 0 10px}.alternate>p,.page-intro{font-size:15px;color:var(--family-muted);line-height:1.6;margin:0 0 24px}.directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.directory-person{padding:18px;background:white;border:1px solid var(--family-line);border-radius:14px;box-shadow:none}.directory-person strong{font-size:16px;font-weight:600}.directory-person span{font-size:14px}.directory-person button{background:white;color:var(--family-ink);font-size:15px;min-height:44px}.social-more-links{display:flex;flex-direction:column;gap:0;margin:24px 0;border-top:1px solid var(--family-line)}.social-more-links>a,.social-more-links>button{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 2px;min-height:60px;background:white;color:var(--family-ink);border:0;border-bottom:1px solid var(--family-line);border-radius:0;text-decoration:none;text-align:left;font-size:16px;font-weight:500}.social-more-links small{display:block;font-size:13px;font-weight:400;color:var(--family-muted);margin-top:3px}.social-more-links .more-chevron{font-size:22px;color:#92949a}.family-founder-story{padding:20px 0;margin:20px 0;border-top:1px solid var(--family-line)}.family-founder-story>summary{cursor:pointer;min-height:44px;font-size:16px;font-weight:500}.family-personal-welcome{display:flex;flex-direction:column;padding-top:20px;background:#fff}.family-welcome-message h1{font-size:32px;margin:12px 0}.family-welcome-message h1 em{font-style:normal;color:var(--family-red)}.family-eyebrow{font-size:11px;letter-spacing:.1em}.family-welcome-message p{font-size:15px}.family-signature{font-style:italic}.family-group-welcome{display:grid;place-items:center;background:white}.family-group-hug{width:100%;max-width:400px;height:auto;object-fit:contain;background:white}.family-device-setup,#social-more .tacos-home,#social-more .family-agent{padding:20px;background:#fff;border:1px solid var(--family-line);border-radius:14px;box-shadow:none;margin:24px 0}#social-more .tacos-home h2{font-size:21px;font-weight:600}#social-more .tacos-home p{font-size:14px}.family-device-actions{display:flex;flex-wrap:wrap;gap:10px}#family-stats{margin:24px 0}#celebrations{margin:0}.milestone-card,.resource-card,.poll-card{background:white;border:1px solid var(--family-line);box-shadow:none;border-radius:14px}.celebration-grid{gap:16px}
/* Login and profile setup start with the same white centered canvas. */
.auth-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100dvh;max-width:520px;width:100%;margin:auto;padding:36px 24px 48px;background:#fff;gap:20px}.auth-copy{max-width:420px;width:100%;padding:0;text-align:center}.auth-copy>a:first-child{display:block;width:190px;margin:0 auto 30px}.auth-copy h1{font-size:30px;font-weight:600;line-height:1.2;letter-spacing:-.035em;margin:0 0 12px}.auth-copy h1 span{color:inherit}.auth-copy p{font-size:15px;line-height:1.6;color:var(--family-muted)}.auth-copy .auth-sign-in{display:flex;width:100%;margin:26px 0 10px}.auth-copy>.outline{width:100%;margin:10px 0}.auth-copy>.text-btn{display:block;width:100%;margin:8px 0}.auth-copy .university-sign-in{display:block;font-size:14px;padding:10px 0;min-height:44px;line-height:1.5}.auth-copy #auth-help,.auth-copy .auth-manager{font-size:13px}.auth-mascot{display:block;position:static;width:160px;height:160px;object-fit:contain;margin:0 auto;background:#fff;filter:none}.onboarding{max-width:600px;margin:auto;padding:28px 24px 48px;background:white;min-height:100dvh}.onboarding-logo{display:block;width:180px;margin:0 auto 32px}.onboarding-layout{display:flex;flex-direction:column;gap:24px;align-items:center}.onboarding-copy{width:100%;min-width:0;max-width:460px}.onboarding-copy h1,.onboarding-details .onboarding-copy h1{font-size:28px;font-weight:600;line-height:1.25;margin:8px 0 12px}.onboarding-copy h1 span{color:inherit}.onboarding-copy p{font-size:15px;line-height:1.6;color:var(--family-muted)}#onboarding-step{display:block!important;color:var(--family-muted);font-size:11px;letter-spacing:.08em;font-weight:500;margin:0 0 16px}#onboarding-welcome,#onboarding-success{text-align:center}#onboarding-welcome>.primary,#onboarding-success>.primary{display:flex;width:100%;margin:24px 0 0}.onboarding-art{display:grid;place-items:center;width:100%;background:white}.onboarding-art img{display:block;width:180px;height:180px;object-fit:contain;background:#fff}.onboarding-details .onboarding-art{display:none}#onboarding-form>label{display:block;font-size:14px;font-weight:500;margin:22px 0 8px}#onboarding-form label>input:not([type=checkbox]),#onboarding-form label>select{display:block;width:100%;margin-top:7px}.onboarding-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.onboarding-fields label{font-size:14px;font-weight:500;min-width:0}#onboarding-form fieldset{border:0;border-top:1px solid var(--family-line);padding:22px 0 0;margin:26px 0 0}#onboarding-form legend{font-size:14px;font-weight:500}#onboarding-form legend span{font-size:12px;font-weight:400;color:var(--family-muted)}#onboarding-form .onboarding-check{display:flex;gap:10px;align-items:flex-start;font-size:14px;font-weight:400}.onboarding-check input{flex:none;margin:0}.onboarding-hint{font-size:13px!important;line-height:1.6!important;margin:8px 0 0}#onboarding-photo{padding:12px;font-size:14px!important;line-height:1.5;height:auto}#onboarding-photo::file-selector-button{border:0;background:#fff;color:var(--family-red);font:500 14px var(--family-font);padding:8px 12px 8px 0}#onboarding-photo-row{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:20px 0 4px;padding:20px;border:1px solid var(--family-line);border-radius:14px;background:white}#onboarding-photo-preview{display:block;width:180px;height:180px;object-fit:contain;object-position:center;border-radius:0;border:0;box-shadow:none;background:#fff}.portrait-status{font-size:13px!important;min-height:0;color:var(--family-muted)}.portrait-status:empty{display:none}.onboarding-actions{display:flex;justify-content:space-between;gap:12px;margin-top:26px}.onboarding-actions>.primary{flex:1}.onboarding-success-mark{font-size:32px!important}#onboarding-error,#auth-error{color:#b31023;font-size:14px}
/* Dialogs and messages use the same text, fields, and spacing. */
dialog{background:#fff;color:var(--family-ink);border:1px solid var(--family-line);border-radius:20px;padding:24px;width:min(620px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto;box-shadow:0 20px 70px #0002}dialog::backdrop{background:#17191f66;backdrop-filter:blur(3px)}.dialog-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.dialog-title h2{font-size:23px;margin:0;font-weight:600}dialog label{font-size:14px}dialog p{line-height:1.6}.inbox-layout{background:white}.inbox-sidebar{background:white;border-color:var(--family-line)}.inbox-welcome{background:white}.inbox-welcome h3{font-size:21px}.message-thread-top{background:white;border-color:var(--family-line)}#message-history{background:white}.message-bubble{border-radius:14px}.message-form,#message-form{background:white}#message-text{background:white;resize:none}.account-identity{padding-block:20px}.layout-preview-dialog{width:min(520px,calc(100vw - 24px))}.layout-preview-note{font-size:13px;color:var(--family-muted)}.layout-preview-switch{display:flex;gap:8px;margin:16px 0}.layout-preview-switch button{flex:1;min-height:44px;border:1px solid var(--family-line);border-radius:22px;background:white;font-size:14px}.layout-preview-switch button[aria-pressed=true]{color:var(--family-red);border-color:var(--family-red)}.layout-preview-dialog .post button:disabled{opacity:1}.layout-preview-dialog .sample-mark{font-size:10px;letter-spacing:.1em;color:var(--family-muted)}.layout-preview-dialog .recognition-photo{max-height:280px}.app-review-label{font-size:10px;opacity:.8}
@media(max-width:900px){.social-sidebar{display:none}#family-app.layout{display:block;min-height:0;padding-bottom:calc(90px + env(safe-area-inset-bottom))}#family-app>main{padding:24px;max-width:680px}.topbar{max-width:680px;padding:14px 24px;min-height:80px}.social-mobile:not([hidden]){display:flex;position:fixed;left:0;right:0;bottom:0;z-index:8;background:#fff;border-top:1px solid var(--family-line);padding:6px max(10px,calc((100vw - 640px)/2)) calc(6px + env(safe-area-inset-bottom));box-shadow:none}.social-mobile button{flex:1;min-width:0;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:11px;font-weight:500;background:white;border:0;padding:4px;color:#74777d}.social-mobile button[aria-current=page]{color:var(--family-red)}.social-mobile button[aria-current=page] svg{stroke-width:2.2}body.connecting .social-mobile,body:has(dialog[open]) .social-mobile{display:none!important}.app-review-label{bottom:calc(80px + env(safe-area-inset-bottom))}}
@media(max-width:520px){.topbar{padding:14px 16px;gap:8px;min-height:78px}.wordmark{width:145px}.header-actions{gap:2px}.header-actions button{min-width:36px;width:36px;padding:6px}.header-actions #profile-open{width:34px;height:34px;min-width:34px;min-height:34px;flex-basis:34px}.header-actions svg{width:21px;height:21px}.official-family-brand .family-brand-caption{font-size:9px}#family-app>main{padding:22px 16px 30px}.family-home-intro h1{font-size:25px}.family-home-intro{margin-bottom:18px}.content-grid{gap:18px}.story-tray{gap:14px}.story-person{flex-basis:66px;min-width:66px;width:66px}.story-portrait{width:62px;height:62px}.post{margin-bottom:20px}.post-meta{padding:14px 12px 0;gap:9px}.post-body{padding:12px}.post-author{font-size:14px}.post-date{font-size:11px}.post .recognition-feature{padding:12px}.recognition-copy h3{font-size:23px}.recognition-heading{font-size:21px}.post-actions button{font-size:12px}.comments{padding-inline:12px}.directory{grid-template-columns:1fr}.directory-person{padding:18px}.alternate h2,#social-more h1{font-size:26px}.recognition-page-header h1{font-size:24px}.celebration-grid{display:block}.milestone-card{margin-bottom:16px}.onboarding-fields{grid-template-columns:1fr}.onboarding fieldset .onboarding-fields{grid-template-columns:1fr 1fr}.onboarding{padding:26px 20px 40px}.auth-screen{padding:30px 24px}.onboarding-actions .primary{padding-inline:12px}dialog{padding:18px;border-radius:16px}.dialog-title h2{font-size:22px}#social-more .family-device-setup{display:block}}
@media(max-width:359px){.wordmark{width:126px}.topbar{padding-inline:12px;gap:4px}.family-home-intro h1{font-size:23px}.header-actions{gap:0}#family-app>main{padding-inline:12px}.post-actions{gap:0}.post-actions button{font-size:11px}.recognition-page-header h1{font-size:22px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Screenshot corrections: the legacy Messages rule reduced the logo to zero. */
.topbar .wordmark{max-width:none;min-width:0;justify-self:center}.topbar .wordmark .official-family-brand{width:100%}.topbar .wordmark .family-logo-crop{min-height:36px}.topbar .header-actions{gap:6px}.family-home-intro{margin-bottom:16px}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.home-heading>div{min-width:0}.home-heading .home-eyebrow{margin:0 0 7px;font-size:10px;letter-spacing:.12em;font-weight:500;color:var(--family-muted)}.home-heading h1{margin:0;font-size:26px;font-weight:500}.home-heading>img{width:78px;height:88px;object-fit:contain;background:white;flex:none}.home-shortcuts{display:flex;gap:10px;margin-top:16px}.home-shortcuts button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:44px;border:1px solid var(--family-line);border-radius:10px;background:white;font-size:14px;font-weight:500}.home-shortcuts span{font-size:21px;color:var(--family-red)}.content-grid{gap:12px}.stories{max-height:104px}.story-tray{padding-bottom:0}.composer{margin-bottom:18px}.empty-feed{border:0;padding:22px 12px;text-align:center}.empty-feed h3{font-size:20px;font-weight:500}.empty-feed p{max-width:300px;margin:0 auto 16px;font-size:14px}.empty-feed .primary{font-size:14px;min-height:44px;padding:10px 20px}.more-group{margin:24px 0}.more-group h2{font-size:12px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--family-muted);margin:0 0 8px}.more-group>a,.more-group>button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:14px;border:0;border-bottom:1px solid var(--family-line);background:#fff;min-height:54px;padding:13px 0;text-align:left;color:var(--family-ink);font-size:15px;font-weight:400}.more-group small{display:none}.more-chevron{color:#999;font-size:22px}.social-more-links{margin:8px 0;border-top:0}.social-more-links:empty{display:none}.app-review-label{display:block;position:static;width:fit-content;margin:24px auto 0;padding:10px 14px;border:0;box-shadow:none;font-size:12px;color:var(--family-muted)}.directory-person{display:flex;align-items:center;gap:14px;border-width:0 0 1px;border-radius:0;padding:18px 0}.directory-person .mini-avatar{width:56px;height:56px;flex-basis:56px}.directory-person h3{margin:0}.directory-person h3 button{font-weight:500;padding:0;text-align:left}.directory-person p{margin:2px 0;font-size:14px}.alternate .section-title h2,#social-more>h1{font-size:26px;font-weight:500}.alternate .section-title p{font-size:14px;font-weight:400;color:var(--family-muted);margin:8px 0 20px}#directory-add{margin-top:20px;background:white;color:var(--family-red);border:1px solid var(--family-line);font-size:14px;min-height:44px}.social-mobile button[aria-current=page]{background:white}
@media(max-width:720px){#messages-dialog{inset:0;margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;box-shadow:none;padding:20px 18px calc(20px + env(safe-area-inset-bottom));overflow:hidden}#messages-dialog[open]{display:flex;flex-direction:column}#messages-dialog>.dialog-title{margin-bottom:18px;flex:none}#messages-dialog>.dialog-title h2{font-size:25px;font-weight:500}#messages-dialog .close{font-size:28px;font-weight:400}#messages-dialog .inbox-layout{flex:1;height:auto;min-height:0;overflow:hidden}#messages-dialog .inbox-sidebar{height:100%}#messages-dialog .inbox-label{margin:0 0 8px;font-size:13px}#messages-dialog .inbox-empty{font-size:14px;text-align:center;padding:36px 20px;max-width:300px;margin:0 auto;color:var(--family-muted)}#message-thread{height:100%}.topbar{border-bottom:0;min-height:78px}#family-app>main{padding-top:12px}.topbar .wordmark{width:145px}.topbar .wordmark .family-logo-crop{height:37px;min-height:37px}.family-home-intro h1{font-size:25px}.home-heading>img{height:76px;width:68px}}

/* Dedicated login layout: no legacy headline spans or wide desktop columns. */
#auth-screen{display:block;width:100%;max-width:460px;min-width:0;min-height:100svh;margin:0 auto;padding:32px 24px 40px;background:#fff;overflow-wrap:anywhere}#auth-screen .auth-copy{display:flex;flex-direction:column;align-items:center;width:100%;max-width:100%;min-width:0;text-align:center;padding:0}#auth-screen .auth-brand{display:block;width:180px;max-width:70%;margin:0 auto 20px}#auth-screen .official-family-brand{width:100%;max-width:100%}#auth-screen .family-logo-crop{height:46px;min-height:46px}#auth-screen .auth-welcome-image{display:block;width:144px;height:156px;object-fit:contain;object-position:center;background:#fff;margin:4px auto 24px}#auth-screen #auth-heading{font:500 28px/1.25 var(--family-font);letter-spacing:-.035em;width:100%;max-width:290px;margin:0 auto 12px;color:#202124;white-space:normal;overflow-wrap:normal;text-shadow:none;-webkit-text-stroke:0}#auth-screen #auth-heading span{font:inherit;color:inherit;text-shadow:none;-webkit-text-stroke:0;position:static}#auth-screen #auth-description{font:400 15px/1.6 var(--family-font);color:var(--family-muted);margin:0 0 24px;width:100%;white-space:normal}#auth-screen #auth-sign-in{display:flex;width:100%;max-width:100%;min-height:50px;margin:0;padding:12px 16px;border-radius:12px;font:600 16px/1.5 var(--family-font);white-space:normal}#auth-screen #auth-help{display:block;width:100%;max-width:285px;font:400 13px/1.6 var(--family-font);margin:16px auto 0;white-space:normal;overflow-wrap:anywhere}#auth-screen #auth-error{width:100%;white-space:normal;font-size:14px;margin:12px 0 0}#auth-screen #auth-error:empty{display:none}#auth-screen .auth-options{width:100%;margin-top:24px;border-top:1px solid var(--family-line);padding-top:10px}#auth-screen .auth-options summary{font-size:14px;font-weight:400;color:var(--family-muted);min-height:44px;padding:12px;cursor:pointer}#auth-screen .auth-options button,#auth-screen .auth-options a{display:block;width:100%;margin:8px 0;min-height:44px;font-size:14px;text-align:center}#auth-screen .auth-options a{padding:10px}body:has(#auth-screen:not([hidden])) .app-review-label{display:none} @media(max-width:359px){#auth-screen{padding:24px 20px 32px}#auth-screen #auth-heading{font-size:26px}#auth-screen .auth-welcome-image{width:120px;height:130px;margin-bottom:20px}}

/* A single, clear welcome action on every device. */
#auth-screen{display:flex;align-items:center;justify-content:center;padding:40px 24px;min-height:100svh}#auth-screen .auth-copy{max-width:360px}#auth-screen .auth-brand{margin-bottom:24px}#auth-screen .auth-welcome-image{width:160px;height:176px;margin:0 auto 24px}#auth-screen #auth-heading{font-weight:600;max-width:100%;margin-bottom:10px}#auth-screen #auth-description{margin-bottom:28px}#auth-screen #auth-sign-in{min-height:54px;border-radius:14px}#auth-screen #auth-help{font-size:12px;margin-top:14px}#auth-screen .auth-options[hidden]{display:none}@media(max-height:650px){#auth-screen{padding-block:24px}#auth-screen .auth-brand{margin-bottom:16px}#auth-screen .auth-welcome-image{width:120px;height:132px;margin-bottom:18px}}
/* Same approved 3D artwork throughout the Family review build. */
.approved-3d-art{position:relative;display:inline-block;overflow:hidden;flex:none;vertical-align:middle;background:#fff;border:0;border-radius:0;pointer-events:none}.approved-3d-art img{position:absolute!important;max-width:none!important;max-height:none!important;object-fit:fill!important;display:block!important;margin:0!important;border:0!important;border-radius:0!important;pointer-events:none}.has-approved-icon>.approved-3d-art{margin-right:10px}.more-group>button.has-approved-icon,.more-group>a.has-approved-icon{display:flex;align-items:center}.more-group .more-chevron{margin-left:auto}.home-shortcuts button{display:flex;align-items:center;justify-content:center;gap:8px}.home-shortcuts button>span{display:inline-flex}.post-actions button,.recognition-celebrate{display:flex;align-items:center;gap:6px}.comment-reaction-actions{flex-wrap:wrap}.comment-reaction-button{display:inline-flex;align-items:center;gap:3px;min-width:44px;min-height:44px}.reaction-people-button{display:inline-flex;align-items:center;gap:7px}.reaction-count-chip{display:inline-flex;align-items:center;gap:3px;margin-right:6px}.reaction-picker{display:flex;gap:4px;flex-wrap:wrap;padding:8px;border:1px solid var(--family-line);border-radius:16px;background:white;box-shadow:0 4px 18px #0000000d}.reaction-picker button{border:0;background:white;min-width:48px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.reaction-picker button[aria-pressed=true]{background:#fff2f3;outline:2px solid var(--family-red)}.post-reaction-picker{margin:0 12px 10px}.comment-reaction-picker{margin-top:6px}.comment-reaction-picker summary{cursor:pointer;min-height:44px;display:inline-flex;align-items:center;gap:5px;font-size:13px}.reaction-filter-row{display:flex;gap:6px;flex-wrap:wrap;margin:16px 0}.reaction-filter-row button{display:flex;gap:5px;align-items:center;min-height:44px;border:1px solid var(--family-line);border-radius:10px;background:white;padding:6px 10px}.reaction-filter-row button[aria-pressed=true]{border-color:var(--family-red);color:var(--family-red)}.reaction-person-heart{display:flex;align-items:center}.comment-row:has(.reply-context){margin-left:20px;border-left:1px solid var(--family-line);padding-left:12px}@media(max-width:520px){.post-actions button{font-size:12px}.has-approved-icon>.approved-3d-art{margin-right:8px}.comment-row:has(.reply-context){margin-left:12px;padding-left:8px}}

/* Compact celebrations keep the approved artwork and real post actions. */
.post .recognition-feature.compact-celebration{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:18px;padding:24px 18px;text-align:left}
.compact-celebration .celebration-art{display:flex;align-items:center;justify-content:center;width:120px;height:160px;background:#fff;overflow:hidden}
.compact-celebration .celebration-art>img{display:block;width:100%;height:100%;object-fit:contain}
.compact-celebration .recognition-copy{min-width:0;max-width:none}
.compact-celebration .recognition-heading{display:block;text-align:left;font-size:25px;font-weight:700;line-height:1.15;margin:0 0 10px;overflow-wrap:anywhere}
.compact-celebration .celebration-name{color:var(--family-red)}
.compact-celebration .recognition-copy h3{font-size:18px;font-weight:650;margin:0;line-height:1.3}
.compact-celebration .recognition-copy p{font-size:14px;line-height:1.5;margin:6px 0;color:var(--family-muted)}
.compact-celebration .recognition-copy .celebration-achievement{color:var(--family-ink);font-weight:650}
.celebration-winner{display:flex;align-items:center;gap:10px;margin:8px 0}
.celebration-winner-avatar{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;overflow:hidden;border-radius:50%;background:#fff;border:1px solid var(--family-line);font-size:14px}
.compact-celebration .certificate-link,.compact-celebration .mvp-recognition summary{display:flex;align-items:center;min-height:44px;color:var(--family-red);font-size:15px;font-weight:600;padding:8px 0;margin:0;text-align:left;white-space:normal}
.compact-celebration .mvp-recognition{margin:4px 0 0;text-align:left}
.compact-celebration .mvp-recognition summary:after{content:' →'}
.compact-celebration .mvp-recognition p{white-space:pre-wrap;overflow-wrap:anywhere}
.recognition-post>.reaction-summary{margin:0;padding:10px 16px}
.recognition-page-header>p{font-size:17px;color:var(--family-muted);margin:10px 0 0}
body[data-social-page=recognition] #post-list{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
body[data-social-page=recognition] #post-list>.post{margin:0;min-width:0;box-shadow:0 4px 16px #00000005}
body[data-social-page=recognition] #post-list>.empty-feed{grid-column:1/-1}
@media(min-width:1100px){
 body[data-social-page=recognition] #family-app>main{max-width:1000px;padding-inline:28px}
 body[data-social-page=recognition] #post-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 body[data-social-page=recognition] .compact-celebration .recognition-heading{font-size:23px}
 body[data-social-page=recognition] .post .compact-celebration{grid-template-columns:100px minmax(0,1fr);gap:14px;padding:22px 16px}
 body[data-social-page=recognition] .compact-celebration .celebration-art{width:100px;height:150px}
}
@media(max-width:600px){
 .post .recognition-feature.compact-celebration{grid-template-columns:92px minmax(0,1fr);gap:12px;padding:20px 14px}
 .compact-celebration .celebration-art{width:92px;height:140px}
 .compact-celebration .recognition-heading{font-size:22px}
 .compact-celebration .recognition-copy h3{font-size:17px}
 .compact-celebration .recognition-copy p{font-size:13px}
 .celebration-winner{gap:8px}.celebration-winner-avatar{width:36px;height:36px;flex-basis:36px}
}
@media(max-width:360px){
 .post .recognition-feature.compact-celebration{grid-template-columns:76px minmax(0,1fr);gap:10px;padding:18px 12px}
 .compact-celebration .celebration-art{width:76px;height:120px}
 .compact-celebration .recognition-heading{font-size:20px}
}

/* Personal achievements: verified certificates and existing University artwork. */
#profile-dialog{width:min(640px,calc(100vw - 24px))}
#profile-role{font-size:14px;color:var(--family-muted);margin:5px 0;overflow-wrap:anywhere}
#profile-certification{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;background:#fff6d6;border-radius:20px;padding:6px 10px;max-width:100%;overflow-wrap:anywhere}
.profile-achievements{margin:0 0 24px}.profile-achievements>h3{font-size:24px;margin:0 0 14px;font-weight:650}
.profile-achievement{background:white;border:1px solid var(--family-line);border-radius:16px;padding:20px;margin:12px 0}
.achievement-heading{display:flex;gap:16px;align-items:center}.achievement-heading>.approved-3d-art{flex:none}.achievement-heading>div{min-width:0}
.achievement-heading h4{margin:0;font-size:20px;line-height:1.3;font-weight:650;overflow-wrap:anywhere}.achievement-heading p{margin:5px 0;font-size:14px;color:var(--family-muted)}
.achievement-completed{font-size:13px;font-weight:650;color:#287339}.achievement-date{font-size:13px;color:var(--family-muted);margin:12px 0}
.achievement-buttons{display:grid;gap:10px}.achievement-buttons>button{width:100%;white-space:normal}
.achievement-note{color:var(--family-muted);font-size:14px;line-height:1.6}.achievement-celebration{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:12px;white-space:normal}
.achievement-university{display:inline-flex;align-items:center;text-decoration:none}
#profile-dialog .account-identity>div{min-width:0}#profile-dialog #profile-name{overflow-wrap:anywhere}
@media(max-width:600px){.profile-achievement{padding:16px}.achievement-heading{gap:12px}.achievement-heading h4{font-size:18px}.profile-achievements>h3{font-size:22px}}
