/* Объявление о приложении MAX на публичной главной. */
.homepage .home-max{display:flex;align-items:center;gap:22px;margin:32px auto 0;padding:28px 32px;background:#edf8f1;border:1px solid #cae4d6;border-radius:24px;color:#173f33}
.home-max>img{flex:none;width:56px;height:56px;object-fit:contain}
.home-max-copy{flex:1;min-width:0}
.homepage .home-max h2{margin:0;font-size:22px;line-height:1.35;letter-spacing:-.5px}
.homepage .home-max p{margin:7px 0 0;font-size:14px;line-height:1.6;color:#527262}
.homepage .home-max .home-button{flex:none;white-space:nowrap}
.homepage .home-max [hidden]{display:none}
@media(max-width:700px){
 .homepage .home-max{display:grid;grid-template-columns:44px minmax(0,1fr);gap:14px;margin-top:20px;padding:22px;border-radius:22px}
 .home-max>img{width:44px;height:44px;align-self:start}
 .homepage .home-max h2{font-size:19px}
 .homepage .home-max p{font-size:13px}
 .homepage .home-max .home-button{grid-column:1/-1;justify-self:stretch;text-align:center;justify-content:center}
}
/* Structural layout for the workspace; new overview components have independent names. */
@media screen {
 body:has(#app.fond-workspace){--fd-gutter:28px}
 body:has(#app.fond-workspace)>.site-header{display:none}
 main#app.fond-workspace{display:grid;grid-template-columns:210px minmax(0,1fr);gap:28px 32px;max-width:1560px;margin:0 auto;padding:26px 28px 60px;align-items:start}
 #app.fond-workspace>.navigation{grid-column:1;grid-row:1/3;position:sticky;top:26px;display:flex;flex-direction:column;gap:8px;min-height:calc(100svh - 52px);margin:0;padding:28px 18px;background:#173f33;border:0;border-radius:26px;box-shadow:none}
 #app.fond-workspace .fd-sidebar-brand{display:flex;align-items:center;gap:11px;padding:0 10px 32px;text-decoration:none;color:#fff;line-height:1.1;font-size:21px;letter-spacing:-.7px}
 .fd-sidebar-brand img{width:38px;height:38px;flex:none}
 .fd-sidebar-brand b{font-weight:600}
 #app.fond-workspace .fd-nav-caption{display:block;font-size:9px;letter-spacing:.14em;color:#93b4a5;padding:0 13px 12px}
 #app.fond-workspace>.navigation button{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:13px 15px;color:#c6d9cf;background:transparent;border:0;border-radius:14px;font-size:14px;text-align:left;font-weight:400}
 #app.fond-workspace>.navigation button.active{background:#d7ebc5;color:#173f33;font-weight:600;box-shadow:none}
 #app.fond-workspace>.navigation button:hover:not(.active){background:#ffffff13;color:#fff}
 #app.fond-workspace>.navigation button[data-page=help]{margin-top:20px}
 #app.fond-workspace>.navigation button[data-page=help]::before{display:none}
 #app.fond-workspace .fd-nav-footer{margin-top:auto;padding:45px 12px 6px;display:grid;gap:8px;color:#c5ddcf}
 .fd-nav-footer>span{font-size:18px;font-weight:500;letter-spacing:-.6px}
 .fd-nav-footer small{font-size:10px;line-height:1.7;color:#87ab98}
 #app.fond-workspace>.workspace-bar{grid-column:2;grid-row:1;display:flex;align-items:center;gap:24px;padding:0;margin:0;min-height:74px;background:transparent;border:0;border-radius:0;box-shadow:none;width:100%}
 #app.fond-workspace .workspace-bar .selectors{display:grid;grid-template-columns:minmax(150px,1.4fr) minmax(135px,1fr);flex:1;max-width:590px;width:auto;gap:12px;padding:0;margin:0}
 #app.fond-workspace .workspace-bar .context-field{background:#fff!important;border:1px solid #e0e9e5!important;padding:10px 14px;border-radius:15px;min-width:0}
 #app.fond-workspace .workspace-bar .context-field>span{font-size:10px;line-height:1.5;margin-bottom:3px}
 #app.fond-workspace .workspace-bar .rf-context-trigger{font-size:14px;min-height:30px;padding:0 22px 0 0;line-height:1.4;font-weight:500;color:#24483e}
 #app.fond-workspace .workspace-bar .role{margin-left:auto;flex:none;padding:0;border:0;gap:10px}
 #app.fond-workspace .workspace-bar .account-identity{gap:9px;min-width:0}
 #app.fond-workspace .workspace-bar .account-identity strong{font-size:12px}
 #app.fond-workspace .workspace-bar .account-actions{gap:2px}
 #app.fond-workspace>.cabinet-page{grid-column:2;grid-row:2;min-width:0}
 .fd-dashboard{display:grid;gap:26px;min-width:0;color:#183b36}
 .fd-dashboard *, .fd-dashboard *::before,.fd-dashboard *::after{box-sizing:border-box}
 /* Значок /max-logo.png взят из брендбука MAX: https://go.max.ru/brandbook.
    Ссылка видна в браузере и PWA; внутри MAX она скрыта в app.js. */
 .fd-max-promo{display:flex;align-items:center;gap:15px;min-width:0;padding:15px 20px;border:1px solid #cae4d6;border-radius:18px;background:#edf8f1;text-decoration:none;color:#173f33}
 .fd-max-promo:hover{background:#e2f3e8;border-color:#a6d2bb}
 .fd-max-promo-mark{display:block;flex:none;width:46px;height:46px;object-fit:contain}
 .max-link-icon{display:block;flex:none;width:19px;height:19px;object-fit:contain}
 .fd-max-promo-copy{display:grid;gap:4px;min-width:0;flex:1}
 .fd-max-promo-copy strong{font-size:15px;line-height:1.4;font-weight:600}
 .fd-max-promo-copy small{font-size:12px;line-height:1.5;color:#628070}
 .fd-max-promo-action{display:flex;align-items:center;gap:8px;flex:none;color:#087e66;font-size:12px;font-weight:600}
 .fd-max-promo-action .ui-icon{width:16px;height:16px}
 @media(max-width:520px){.fd-max-promo{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px 11px;padding:14px}.fd-max-promo-mark{width:42px;height:42px;grid-row:1/3;align-self:start}.fd-max-promo-copy strong{font-size:13px}.fd-max-promo-copy small{font-size:11px}.fd-max-promo-action{grid-column:2}}
 @media print{.fd-max-promo{display:none}}
 .fd-heading{position:relative;display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;align-items:center;gap:14px;margin:0;padding:2px 165px 16px;min-width:0;text-align:center;border-bottom:1px solid #dfe8de}
 .fd-heading>div{min-width:0}
 .fd-heading-title{display:flex;align-items:center;justify-content:center;gap:12px}
 .fd-heading-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:14px;background:#e3efda;color:#497647}
 .fd-heading-icon .ui-icon{width:22px;height:22px}
 .fd-heading>.fd-header-report,.fd-heading>.fd-view-label{position:absolute;right:0;top:50%;transform:translateY(-50%)}
 @media(max-width:1190px){
  .fd-heading{padding-inline:0;justify-items:center}
  .fd-heading>.fd-header-report,.fd-heading>.fd-view-label{position:static;transform:none;justify-self:center}
 }
 .fd-kicker{display:block;margin:0 0 10px;font-size:9px;line-height:1.5;letter-spacing:.13em;font-weight:500;color:#7b9084}
 .fd-heading h1{font-size:32px;line-height:1.2;letter-spacing:-1px;font-weight:600;margin:0}
 .fd-heading-note{margin:9px 0 0;font-size:13px;line-height:1.7;color:#74877b}
 .fd-header-report{flex:none;gap:9px;min-height:44px;padding:10px 17px;font-size:12px}
 .fd-summary{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:stretch;min-width:0}
 .fd-balance{display:flex;flex-direction:column;min-width:0;padding:28px 30px 22px;border:1px solid #c8e6d7;background:linear-gradient(115deg,#d0f1e5,#e8f9f1);border-radius:25px;color:#183b36}
 .fd-balance-label{display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;font-size:13px;line-height:1.5}
 .fd-balance-label>span:first-child{display:flex;align-items:center;gap:9px}
 .fd-balance-label .ui-icon{width:20px;height:20px;color:#398773}
 .fd-period-label{background:#ffffff70;border:1px solid #bfe0d1;border-radius:999px;padding:4px 10px;font-size:10px;white-space:nowrap;color:#5a7f6c}
 .fd-balance-amount{display:block;max-width:100%;font-size:clamp(38px,3.5vw,58px);line-height:1.16;letter-spacing:-2px;font-weight:600;margin:22px 0 7px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
 .fd-balance>p{font-size:12px;line-height:1.5;margin:0 0 25px;color:#598471}
 .fd-balance-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #b5d9c970;padding-top:15px;margin-top:auto;font-size:11px;line-height:1.5;color:#5e8170}
 .fd-balance-foot strong{font-size:13px;font-weight:500;color:#305d48;white-space:nowrap}
 .fd-balance.is-negative{background:#fff1df;border-color:#ecd7ba}
 .fd-balance.is-negative .fd-balance-amount{color:#946227}
 .fd-quick-card{display:flex;flex-direction:column;padding:25px;background:#fff;border:1px solid #e0e9e5;border-radius:25px;min-width:0}
 .fd-card-heading{margin-bottom:20px}
 .fd-card-heading .fd-kicker{margin-bottom:7px}
 .fd-card-heading h2{font-size:20px;line-height:1.3;letter-spacing:-.55px;font-weight:500;margin:0}
 .fd-quick-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}
 .fd-quick-buttons>button{display:grid;grid-template-columns:38px minmax(0,1fr);gap:3px 10px;align-items:center;text-align:left;padding:14px 12px;background:#f3f8f3;border:1px solid #edf3ed;border-radius:16px;min-width:0;color:#24483c;transition:background .18s,border-color .18s}
 .fd-quick-buttons>button:hover{background:#e8f3e5;border-color:#c7dfbd}
 .fd-action-icon{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#dff0e2;color:#168463}
 .fd-action-icon.is-expense{background:#f6ecdb;color:#967c47}
 .fd-quick-buttons strong{font-size:12px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
 .fd-quick-buttons small{font-size:10px;line-height:1.5;color:#849183;overflow-wrap:anywhere}
 .fd-create-collection{display:flex;align-items:center;gap:10px;width:100%;border:0;border-top:1px solid #e8eee7;border-radius:0;padding:15px 0 0;margin:18px 0 0;background:none;color:#387055;font-size:12px;text-align:left;min-height:36px}
 .fd-create-collection .ui-icon{width:17px;height:17px;flex:none}
 .fd-create-collection .ui-icon:last-child{margin-left:auto}
 .fd-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .fd-stats:has(>.fd-stat:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}
 .fd-stat{display:flex;align-items:center;gap:14px;padding:20px 22px;background:#fff;border:1px solid #e0e9e5;border-radius:19px;min-width:0}
 .fd-stat-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#f0f5ed;color:#81957a;flex:none}
 .fd-stat.is-income .fd-stat-icon{background:#e5f3e8;color:#3c8a61}
 .fd-stat>div{display:grid;gap:7px;min-width:0}
 .fd-stat>div>span{font-size:10px;line-height:1.5;color:#859182}
 .fd-stat strong{font-size:22px;line-height:1.2;font-weight:500;letter-spacing:-.7px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
 .fd-columns{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start;min-width:0}
 .fd-content,.fd-side{display:grid;gap:24px;min-width:0}
 .fd-section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}
 .fd-section-heading .fd-kicker{margin-bottom:7px}
 .fd-section-heading h2{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:500;line-height:1.3;letter-spacing:-.5px;margin:0}
 .fd-counter{display:grid;place-items:center;min-width:23px;height:23px;border-radius:8px;background:#e4ede0;color:#6c8365;font-size:11px;font-weight:400;letter-spacing:0}
 .fd-section-heading>.link-button{display:flex;align-items:center;gap:8px;background:none;border:0;padding:5px 0;min-height:34px;font-size:11px;white-space:nowrap}
 .fd-section-heading>.link-button .ui-icon{width:15px;height:15px}
 .fd-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .fd-dashboard .rf-collection{margin:0;padding:22px;border:1px solid #e0e9e5;border-radius:22px;box-shadow:none;min-width:0;display:flex;flex-direction:column;gap:0;background:#fff}
 .fd-dashboard .rf-collection-top{margin:0 0 18px;gap:8px;align-items:center;flex-wrap:wrap}
 .fd-dashboard .rf-collection-icon{width:35px;height:35px;background:#edf4e8;color:#73915f;border-radius:11px}
 .fd-dashboard .rf-deadline{font-size:9px;line-height:1.5;padding:5px 8px;border-radius:999px;max-width:100%;white-space:normal}
 .fd-dashboard .rf-collection h3{font-size:17px;line-height:1.4;margin:0 0 9px;letter-spacing:-.4px;font-weight:500;overflow-wrap:anywhere}
 .fd-dashboard .rf-collection>p{font-size:11px;line-height:1.7;margin:0 0 22px;color:#7e8d7c;flex:1}
 .fd-dashboard .rf-collection-amount{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 6px;line-height:1.5}
 .fd-dashboard .rf-collection-amount strong{font-size:22px;line-height:1.2;letter-spacing:-.7px}
 .fd-dashboard .rf-collection-amount>span,.fd-dashboard .rf-collection-amount small{font-size:10px}
 .fd-dashboard .rf-collection progress{margin:14px 0 16px;height:6px}
 .fd-dashboard .rf-collection-people{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:10px;line-height:1.6}
 .fd-dashboard .rf-contributions{margin-top:12px}
 .fd-dashboard .rf-contributions summary{font-size:10px;line-height:1.6;min-height:34px;padding-block:8px}
 .fd-dashboard .rf-collection-open{padding:14px 0 0;margin:14px 0 0;min-height:34px;font-size:11px;line-height:1.5}
 .fd-activity-card{padding:24px;background:#fff;border:1px solid #e0e9e5;border-radius:22px;min-width:0}
 .fd-dashboard .mint-operations{margin:0;padding:0;border:0;border-radius:0;background:none}
 .fd-dashboard .mint-operation{padding:0;margin:0;border-radius:0;border:0;border-bottom:1px solid #edf1e9;background:none;box-shadow:none}
 .fd-dashboard .mint-operation:last-child{border-bottom:0}
 .fd-dashboard .mint-operation>summary{display:flex;align-items:center;gap:13px;padding:16px 0;min-width:0}
 .fd-dashboard .mint-operation-title{min-width:0;flex:1;display:grid;gap:4px}
 .fd-dashboard .mint-operation-title strong{font-size:12px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}
 .fd-dashboard .mint-operation-title small,.fd-dashboard .mint-operation-hint{font-size:10px;line-height:1.5;color:#8a9588}
 .fd-dashboard .mint-operation>summary>strong{font-size:14px;line-height:1.3;font-weight:500;white-space:nowrap;flex:none}
 .fd-dashboard .mint-operation .mint-tile{width:34px;height:34px;flex:none;border-radius:12px;background:#f0f5eb}
 .fd-side>.rf-attention{margin:0;padding:20px;border-radius:20px;min-width:0}
 .fd-side>.rf-attention.is-clear{background:#eaf2e3;gap:12px}
 .fd-side>.rf-attention p{font-size:11px;line-height:1.7}
 .fd-share-card{padding:24px;background:#fff;border:1px solid #e0e9e5;border-radius:22px}
 .fd-share-card .fd-kicker{margin-bottom:17px}
 .fd-dashboard .home-guest-share{display:flex;flex-direction:column;align-items:stretch;gap:13px;border:0;border-radius:0;background:none;padding:0;margin:0}
 .fd-dashboard .home-guest-heading{display:flex;align-items:center;gap:8px;min-width:0}
 .fd-dashboard .home-guest-heading h2{font-size:15px;font-weight:500;line-height:1.4;margin:0}
 .fd-dashboard .home-guest-heading>.ui-icon{display:none}
 .fd-dashboard .home-guest-intro{display:block;margin:0;font-size:11px;line-height:1.8;color:#8a9588}
 .fd-dashboard .home-guest-copy{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0;padding:0;min-width:0;width:100%}
 .fd-dashboard .home-guest-copy>small{font-size:10px;line-height:1.7;white-space:normal}
 .fd-dashboard .home-guest-copy .button{grid-column:1;grid-row:auto;justify-self:stretch;width:100%;margin:0;border-radius:12px;font-size:11px;padding:10px 12px;min-height:42px}
 .fd-dashboard .home-guest-details{margin:0;padding:0;max-width:100%;font-size:11px;line-height:1.7}
 .fd-dashboard .home-guest-details>summary{padding:4px 0;font-size:10px;min-height:30px;line-height:1.6}
 .fd-members{display:grid;gap:10px;border-top:1px solid #e9eee6;padding-top:20px;margin-top:16px}
 .fd-dashboard .rf-avatars{margin:0;padding:0}
 .fd-members p{font-size:11px;line-height:1.6;color:#7f8c79;margin:0}
 .fd-members p strong{color:#244b36;font-weight:500}
 .fd-members .link-button{justify-content:space-between;padding:0;font-size:11px;gap:8px;min-height:32px;background:none;border:0}
 .fd-report-card{padding:25px;border-radius:22px;background:#e5eedb;display:grid;gap:12px;min-width:0}
 .fd-card-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#d9e7cc;color:#5e7f4d}
 .fd-report-card h2,.fd-tools-card h2,.fd-guest-welcome h2{font-size:20px;line-height:1.3;font-weight:500;letter-spacing:-.5px;margin:4px 0 0}
 .fd-report-card p,.fd-guest-welcome p{font-size:12px;line-height:1.8;margin:0;color:#7b8d70}
 .fd-report-card .button{display:flex;justify-content:space-between;gap:10px;width:100%;border-radius:12px;font-size:11px;margin-top:4px;padding:11px 14px;min-height:42px;background:#173f33;border-color:#173f33;color:#fff}
 .fd-report-card>small{font-size:9px;line-height:1.6;color:#859578;text-align:center}
 .fd-tools-card{padding:22px;background:#fff;border:1px solid #e0e9e5;border-radius:22px;display:grid;gap:4px}
 .fd-tools-card h2{font-size:15px;margin:0 0 10px}
 .fd-tools-card>button{display:flex;align-items:center;gap:10px;min-height:44px;border:0;border-radius:10px;background:none;padding:10px 4px;font-size:11px;text-align:left;color:#68805b}
 .fd-tools-card>button:hover{background:#f3f7ef}
 .fd-tools-card .ui-icon{width:17px;height:17px;flex:none}
 .fd-tools-card .ui-icon:last-child{margin-left:auto}
 .fd-subscription .access-strip{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:0;padding:24px;border:1px solid #dfe8d8;border-radius:20px;background:#eef4e8;font-size:12px;line-height:1.7}
 .fd-subscription .access-strip>div{width:100%;min-width:0}
 .fd-subscription .access-strip strong{font-size:14px;line-height:1.5;font-weight:500;color:#32553c}
 .fd-subscription .access-strip small{display:block;margin-top:8px;font-size:11px;line-height:1.8;color:#7c8e73}
 .fd-subscription .access-strip>.link-button{justify-self:stretch;justify-content:center;min-height:38px;margin:0;padding:8px 12px;border:1px solid #ccddc4;border-radius:10px;background:#fff;color:#346d4d;font-size:11px;line-height:1.6}
 .fd-parent .fd-summary>.rf-family{margin:0;border-radius:25px;padding:27px;display:flex;flex-direction:column;gap:0}
 .fd-parent .rf-family .rf-balance-value{margin:18px 0 7px;font-size:38px;line-height:1.2;color:#23452e}
 .fd-parent .rf-family-caption{margin:0 0 12px;font-size:11px;line-height:1.6}
 .fd-parent .rf-family-item{margin-top:12px;padding-top:15px}
 .fd-parent .rf-family-item h3{font-size:13px;line-height:1.5;margin:0 0 5px}
 .fd-parent .rf-family-item-head strong{font-size:17px}
 .fd-parent .rf-payment>summary{font-size:10px;line-height:1.6;white-space:normal}
 .fd-side .home-polls{padding:20px;border:1px solid #e0e9e5;border-radius:22px;min-width:0}
 .fd-side .home-polls-heading{gap:11px;align-items:flex-start}
 .fd-side .home-polls-heading>div{min-width:0}
 .fd-side .home-polls-heading h2{font-size:17px;line-height:1.4}
 .fd-side .home-polls-heading p{font-size:12px;line-height:1.6}
 .fd-side .home-poll{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:16px;align-items:start}
 .fd-side .home-poll h3{line-height:1.5;overflow-wrap:break-word;word-break:normal}
 .fd-side .home-poll-deadline{font-size:12px;line-height:1.5}
 .fd-side .home-poll-status{font-size:12px;line-height:1.6}
 .fd-side .home-poll .button{width:100%;min-width:0;margin:0;white-space:normal;justify-content:center}
 .fd-guest-welcome{gap:15px;justify-content:center}
 .fd-guest-welcome .button{margin-top:6px;font-size:11px}
 .fd-view-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#74866d}
 /* Keep the demo controls compact, separate from the actual workspace. */
 body:has(#app.fond-workspace)>.demo-intro{width:calc(100% - var(--fd-gutter) * 2);max-width:calc(1560px - var(--fd-gutter) * 2);margin:20px auto 0;padding:18px 24px;display:block;border-radius:20px}
 .demo-intro-v2 .demo-intro-top{display:flex;gap:20px;align-items:center;justify-content:space-between}
 .demo-intro-v2 .demo-controls{margin-top:12px;padding:10px 12px;border-radius:14px;gap:12px}
 .demo-intro-v2 .demo-role{width:290px;max-width:100%}
 .demo-intro-v2 .demo-role button{font-size:11px;padding:9px;min-height:36px}
 @media(min-width:1600px){.fd-columns{grid-template-columns:minmax(0,1fr) 320px}}
 @media(max-width:1190px){
  body:has(#app.fond-workspace){--fd-gutter:22px}
  main#app.fond-workspace{grid-template-columns:180px minmax(0,1fr);gap:24px;padding:24px 22px 50px}
  #app.fond-workspace>.navigation{padding:24px 12px;top:24px}
  #app.fond-workspace .workspace-bar .selectors{gap:8px}
  #app.fond-workspace .workspace-bar .account-identity strong{max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #app.fond-workspace .workspace-bar .role{gap:5px}
  #app.fond-workspace .workspace-bar .account-actions{flex-direction:column}
  #app.fond-workspace .workspace-bar .account-actions .link-button{min-height:28px;width:28px;height:28px}
  .fd-columns{grid-template-columns:minmax(0,1fr) 250px;gap:20px}
  .fd-collection-grid{grid-template-columns:1fr}
  .fd-quick-buttons>button{grid-template-columns:1fr;gap:8px;text-align:center;justify-items:center}
  .fd-action-icon{grid-row:auto}
  .fd-quick-buttons small{display:none}
  .fd-stat{padding:18px 14px;gap:10px}
  .fd-stat-icon{width:34px;height:34px;border-radius:11px}
 }
 @media(max-width:950px){
  body:has(#app.fond-workspace){--fd-gutter:20px}
  main#app.fond-workspace{grid-template-columns:150px minmax(0,1fr);gap:20px;padding:20px}
  #app.fond-workspace>.navigation{padding:23px 10px;top:20px}
  #app.fond-workspace>.navigation button{font-size:12px;padding:12px 11px;gap:9px}
  #app.fond-workspace .fd-sidebar-brand{padding-inline:6px;font-size:18px;gap:8px}
  #app.fond-workspace .fd-sidebar-brand img{width:30px;height:30px}
  #app.fond-workspace>.workspace-bar{flex-wrap:wrap;gap:12px}
  #app.fond-workspace .workspace-bar .selectors{width:100%;max-width:none;flex-basis:100%}
  #app.fond-workspace .workspace-bar .role{margin-left:0;width:100%;justify-content:space-between}
  #app.fond-workspace .workspace-bar .account-actions{flex-direction:row}
  .fd-heading{gap:16px;align-items:flex-start}.fd-heading h1{font-size:30px}
  .fd-header-report{padding:9px 12px;font-size:11px;min-height:40px}
  .fd-heading-note{font-size:12px}
  .fd-summary{grid-template-columns:1fr;gap:18px}
  .fd-quick-buttons>button{grid-template-columns:34px minmax(0,1fr);justify-items:start;text-align:left}
  .fd-quick-buttons small{display:block}.fd-action-icon{grid-row:1/3}
  .fd-columns{grid-template-columns:1fr}.fd-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fd-side{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:18px}
  .fd-stats{gap:10px}.fd-stat{display:grid;gap:12px;padding:18px}
  .fd-stat strong{font-size:20px}.fd-stats:has(>.fd-stat:nth-child(4)){grid-template-columns:repeat(2,minmax(0,1fr))}
 }
 @media(max-width:700px){
  body:has(#app.fond-workspace){--fd-gutter:18px}
  main#app.fond-workspace{display:block;margin:0;padding:20px 18px 108px;max-width:100%}
  #app.fond-workspace>.workspace-bar{display:flex;gap:12px;margin:0 0 28px;padding:0;border:0;background:transparent}
  #app.fond-workspace .workspace-bar .selectors{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:10px;max-width:none}
  #app.fond-workspace .workspace-bar .context-field{padding:9px 12px;border-radius:13px}
  #app.fond-workspace .workspace-bar .context-field>span{font-size:9px}
  #app.fond-workspace .workspace-bar .context-class .rf-context-menu{min-width:min(280px,calc(100vw - 56px));max-width:calc(100vw - 56px)}
  #app.fond-workspace .workspace-bar .rf-context-trigger{font-size:12px;min-height:28px;padding:0;gap:6px}
  #app.fond-workspace .workspace-bar .rf-context-chevron{width:14px;height:14px;padding:0;flex:none}
  #app.fond-workspace .workspace-bar .rf-context-chevron svg{width:14px;height:14px}
  #app.fond-workspace .workspace-bar .context-year .rf-context-value{overflow:visible;flex:none}
  #app.fond-workspace .workspace-bar .role{display:flex;flex-direction:row;align-items:center;gap:12px;min-width:0;padding:0;margin:0}
  #app.fond-workspace .workspace-bar .account-avatar{width:28px;height:28px}
  #app.fond-workspace .workspace-bar .account-identity strong{max-width:none;font-size:11px}
  #app.fond-workspace .workspace-bar .account-identity small{font-size:9px}
  #app.fond-workspace .workspace-bar .account-actions{flex-direction:row;margin-left:auto;gap:8px}
  #app.fond-workspace>.navigation{display:flex;flex-direction:row;position:fixed;inset:auto 10px max(10px,env(safe-area-inset-bottom));z-index:30;top:auto;min-height:0;height:auto;width:auto;padding:7px;gap:2px;background:#173f33;border-radius:21px;box-shadow:0 8px 30px #173f3326}
  #app.fond-workspace>.navigation button{display:flex;flex-direction:column;justify-content:center;gap:5px;flex:1;min-width:0;width:auto;height:54px;min-height:54px;margin:0;padding:7px 2px;font-size:clamp(8px,2.1vw,10px)!important;line-height:1.3;border-radius:15px;color:#bcd4c6}
  #app.fond-workspace>.navigation button.active{background:#d7ebc5;color:#173f33}
  #app.fond-workspace>.navigation button .ui-icon{width:19px;height:19px}
  #app.fond-workspace>.navigation button[data-page=help]{margin:0}
  #app.fond-workspace .fd-sidebar-brand,#app.fond-workspace .fd-nav-caption,#app.fond-workspace .fd-nav-footer{display:none}
  .fd-dashboard{gap:22px}
  .fd-heading{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
  .fd-heading .fd-kicker{font-size:8px;margin-bottom:9px}
  .fd-heading h1{font-size:31px;letter-spacing:-1px;line-height:1.15}
  .fd-heading-note{font-size:12px;line-height:1.7;margin-top:10px;max-width:290px}
  .fd-header-report{justify-self:start;min-height:38px;font-size:11px;padding:8px 13px}
  .fd-summary{gap:18px}
  .fd-balance{padding:24px;border-radius:23px}
  .fd-balance-amount{font-size:49px;letter-spacing:-1.7px;margin:22px 0 8px}
  .fd-balance>p{margin-bottom:22px}
  .fd-balance-label{font-size:12px;gap:10px}
  .fd-period-label{font-size:9px;padding:4px 8px}
  .fd-balance-foot{font-size:10px;padding-top:14px}
  .fd-quick-card{padding:22px;border-radius:23px}
  .fd-card-heading{margin-bottom:16px}.fd-card-heading h2{font-size:19px}
  .fd-quick-buttons{gap:10px}
  .fd-quick-buttons>button{display:flex;flex-direction:column;justify-content:center;gap:8px;padding:15px 8px;text-align:center}
  .fd-quick-buttons strong{font-size:12px}.fd-quick-buttons small{display:none}
  .fd-create-collection{font-size:11px;padding-top:15px;margin-top:17px}
  .fd-stats{grid-template-columns:1fr;gap:10px}
  .fd-stat{display:flex;gap:15px;padding:16px 19px;border-radius:16px}
  .fd-stat>div{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%}
  .fd-stat>div>span{font-size:10px;max-width:120px}
  .fd-stat strong{font-size:20px;white-space:nowrap}
  .fd-stats:has(>.fd-stat:nth-child(4)){grid-template-columns:1fr}
  .fd-columns,.fd-content,.fd-side{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
  .fd-section-heading{gap:12px;margin-bottom:16px;align-items:flex-end}
  .fd-section-heading h2{font-size:20px;line-height:1.4}
  .fd-section-heading .fd-kicker{font-size:8px;margin-bottom:7px}
  .fd-section-heading>.link-button{font-size:10px;gap:4px}
  .fd-collection-grid{grid-template-columns:1fr;gap:16px}
  .fd-dashboard .rf-collection{padding:23px;border-radius:22px}
  .fd-dashboard .rf-collection h3{font-size:19px}
  .fd-dashboard .rf-collection>p{font-size:12px;line-height:1.7;margin-bottom:24px}
  .fd-dashboard .rf-collection-amount strong{font-size:25px}
  .fd-dashboard .rf-collection-amount>span,.fd-dashboard .rf-collection-amount small{font-size:11px}
  .fd-dashboard .rf-collection-people{font-size:11px;line-height:1.8}
  .fd-activity-card{padding:22px 18px}
  .fd-dashboard .mint-operation>summary{gap:10px;padding:17px 0}
  .fd-dashboard .mint-operation-title strong{font-size:11px}
  .fd-dashboard .mint-operation>summary>strong{font-size:12px}
  .fd-dashboard .mint-operation .mint-tile{width:28px;height:28px;border-radius:9px}
  .fd-parent .fd-summary>.rf-family{padding:23px}
  body:has(#app.fond-workspace)>.demo-intro{margin:14px auto 0;padding:16px;border-radius:18px}
  .demo-intro-v2 .demo-intro-top{display:grid;gap:12px}
  .demo-intro-v2 .demo-intro-top>a{justify-self:start;width:auto;font-size:11px;min-height:36px;padding:8px 13px}
  .demo-intro-v2 .demo-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:0;background:none;border:0}
  .demo-intro-v2 .demo-role{width:100%}.demo-role-section>span{display:none}
  .demo-intro-v2 #demo-reset{justify-self:start;min-height:30px;padding:5px 10px;font-size:10px}
 }
 @media(max-width:370px){
  body:has(#app.fond-workspace){--fd-gutter:14px}
  main#app.fond-workspace{padding-inline:14px}
  #app.fond-workspace .roster-primary{grid-template-columns:minmax(0,1fr)}
  #app.fond-workspace .roster-primary>.student-menu{justify-self:end;max-width:100%}
  #app.fond-workspace .roster-primary>.student-menu[open]{justify-self:stretch}
  .fd-balance,.fd-quick-card{padding:20px}
  .fd-balance-amount{font-size:43px}
  .fd-heading h1{font-size:27px}
  .fd-heading-title{gap:9px}
  .fd-heading-icon{width:36px;height:36px;border-radius:12px}
  .fd-heading-icon .ui-icon{width:19px;height:19px}
  .fd-stat{padding:14px}.fd-stat>div{gap:8px}.fd-stat strong{font-size:18px}.fd-stat>div>span{max-width:100px}
  .fd-section-heading{flex-wrap:wrap;align-items:center}
  .fd-dashboard .rf-collection{padding:21px}
 }
 /* Homepage spacing and controls. Existing copy is kept verbatim. */
 .homepage .audience-ticker{height:80px;min-height:80px;max-height:80px;margin:0 auto;padding:14px 0;gap:30px;overflow:hidden;border:0}
 .homepage .audience-ticker>p{flex:0 0 235px;font-size:11px;line-height:1.75;margin:0;color:#6d8879}
 .homepage .audience-ticker-window{min-width:0;flex:1}
 .homepage .audience-ticker-list{gap:14px;align-items:center}
 .homepage .audience-ticker li{gap:9px;padding:7px 14px 7px 8px;line-height:1.5;font-size:11px;white-space:nowrap;background:#eaf2e3;border-radius:999px}
 .homepage .audience-art{width:30px;height:30px;flex:none}
 .homepage .home-header{top:112px;width:min(1180px,calc(100% - 112px));padding:14px 20px;gap:22px;background:#fffffff5;color:#173f33;border:1px solid #ffffffbd;border-radius:22px;box-shadow:0 10px 35px #173f3310;backdrop-filter:blur(16px);align-items:center}
 .homepage .home-header .home-brand,.homepage .home-header .home-brand b{color:#173f33}
 .homepage .home-header .home-brand{font-size:21px;gap:9px}
 .homepage .home-header .home-brand img{width:34px;height:34px}
 .homepage .home-header nav{gap:0;padding:0;background:none;border:0;box-shadow:none}
 .homepage .home-header nav a{color:#3e5b4a;font-size:12px;padding:11px 13px;line-height:1.5;border-radius:12px;font-weight:500}
 .homepage .home-header nav a:hover,.homepage .home-header nav a[aria-current=location]{color:#173f33;background:#eaf2e3;box-shadow:none}
 .homepage .home-header .home-header-actions{display:flex;align-items:center;gap:8px;min-width:0}
 .homepage .home-header .home-login{background:#173f33;color:#fff;border:0;padding:11px 17px;font-size:11px;line-height:1.5;min-height:40px;gap:15px;white-space:nowrap}
 .homepage .home-header .home-install-link{color:#55715f;font-size:10px;line-height:1.5;gap:6px;padding:3px 0;text-decoration:none}
 .homepage .home-header .home-install-link svg{stroke:currentColor}
 .homepage .home-hero{padding-top:185px;padding-bottom:78px;min-height:760px}
 .homepage .hero-copy>.eyebrow,.homepage .hero-copy h1,.homepage .hero-copy .hero-actions{animation:none!important}
 .homepage .home-hero h1{font-size:clamp(48px,4.8vw,68px);line-height:1.13;letter-spacing:-.045em;margin:0 0 26px}
 .homepage .home-hero h1 em{font-weight:inherit;letter-spacing:inherit;text-underline-offset:9px}
 .homepage .hero-copy>.eyebrow{margin:0 0 22px;font-size:10px;line-height:1.6;letter-spacing:.1em}
 .homepage .hero-lead{margin:0 0 28px;font-size:17px;line-height:1.75;max-width:480px}
 .homepage .hero-copy .hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:0}
 .homepage .hero-price{margin:22px 0 0;font-size:11px;line-height:1.9}
 .homepage .home-section{padding-block:88px;margin-inline:auto}
 .homepage h2,.homepage h2 em{line-height:1.18;letter-spacing:-.035em}
 .homepage .section-heading{margin:0 0 36px}
 .homepage .section-heading>.eyebrow{margin:0 0 14px}
 .homepage .section-heading h2{margin:0 0 20px}
 .homepage .section-heading>p:last-child{margin:0;font-size:15px;line-height:1.8}
 .homepage #how{gap:75px;align-items:start;padding-block:80px}
 .homepage #how .section-heading{margin:0}
 .homepage #how .section-heading h2{margin:0 0 22px}
 .homepage .start-steps{gap:16px}
 .homepage .start-steps li{display:block;padding:20px 22px 20px 76px;min-height:82px;border:1px solid #e7eee1;box-shadow:0 6px 22px #173f3303}
 .homepage .start-steps li>span{top:23px;left:23px}
 .homepage .start-steps h3{font-size:18px;line-height:1.45;letter-spacing:-.3px;margin:0}
 .homepage .home-step-toggle{display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:40px;width:100%;padding:0;background:none;color:#24462f;border:0;border-radius:0;text-align:left;font-size:inherit;font-weight:500;line-height:inherit;letter-spacing:inherit}
 .home-step-toggle svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;transition:transform .2s}
 .home-step-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
 .homepage .start-steps li:has([aria-expanded=true]){background:#fff;border-color:#ccddbc;box-shadow:0 8px 28px #173f3307}
 .homepage .start-steps p{margin:10px 0 0;line-height:1.8;font-size:13px;color:#7e8e75}
 .homepage .feature-ribbon{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;width:min(1200px,calc(100% - 80px));max-width:1200px;margin:0 auto;padding:0;border:0;border-radius:0;background:transparent}
 .homepage .feature-ribbon>a{display:flex;align-items:center;gap:12px;padding:18px 16px;min-width:0;background:#fff;border:1px solid #e2eadb;border-radius:18px;color:#45643c;font-size:12px;line-height:1.5;text-decoration:none;box-shadow:0 4px 20px #173f3303;transition:background .18s,border-color .18s,transform .18s}
 .homepage .feature-ribbon>a:hover{background:#eaf3e1;border-color:#bed4ac;transform:translateY(-3px)}
 .homepage .feature-ribbon svg{width:34px;height:34px;flex:none;padding:8px;border-radius:11px;background:#e9f2e1;color:#789964;stroke:currentColor}
 .homepage .feature-panel{display:flex;flex-direction:column;gap:0;padding:32px;border-radius:24px;min-width:0;scroll-margin-top:32px;transition:border-color .2s,box-shadow .2s}
 .homepage .feature-number{display:block;margin:0 0 20px;font-size:10px;line-height:1.5}
 .homepage .feature-panel h3{font-size:27px;line-height:1.25;letter-spacing:-.7px;margin:0 0 18px;overflow-wrap:anywhere}
 .homepage .feature-panel>p{font-size:13px;line-height:1.85;margin:0 0 26px}
 .homepage .feature-panel>p.home-report-caption,.homepage .feature-panel>p.history-note{margin:15px 0 0;font-size:10px;line-height:1.8}
 .homepage .is-feature-selected{outline:2px solid #83a96a;outline-offset:5px;box-shadow:0 12px 36px #173f330c}
 .homepage .mini-roster{margin:0;padding:16px;border-radius:17px;min-width:0}
 .homepage .mini-roster>div:not(.mini-copy){display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px 0;min-width:0}
 .homepage .mini-roster strong{font-size:12px;line-height:1.5;min-width:0;overflow-wrap:anywhere}
 .homepage .mini-roster .paid-tag,.homepage .mini-roster .partial-tag{font-size:10px;line-height:1.5;padding:6px 8px;white-space:normal;text-align:right}
 .homepage .mini-copy{margin-top:10px;display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:6px 10px;align-items:center;padding:14px;font-size:10px;line-height:1.6;min-width:0}
 .homepage .mini-copy>span{grid-column:1/-1}
 .homepage .mini-copy b{font-size:13px;line-height:1.5;white-space:normal;margin:0}
 .homepage .home-copy-phone{display:grid;place-items:center;width:40px;height:40px;min-width:40px;padding:10px;border:1px solid #c7dec9;border-radius:11px;color:#087e66;background:#edf6e8;cursor:pointer}
 .homepage .home-copy-phone:hover{background:#dcefd3}
 .homepage .home-copy-phone:focus-visible{outline:2px solid #087e66;outline-offset:3px}
 .homepage .home-copy-phone svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
 .homepage .home-copy-status{font-size:10px;line-height:1.6;color:#087e66}
 .homepage .home-copy-status:empty{display:none}
 .homepage .mini-receipt{margin:0;padding:22px;transform:none;width:100%;min-width:0}
 .homepage .mini-receipt dl>div{gap:15px;padding:11px 0;line-height:1.7}
 .homepage .mini-receipt dt{font-size:12px}.homepage .mini-receipt dd{font-size:12px;white-space:nowrap}
 .homepage .transparency-section{display:grid;grid-template-columns:1fr 1.1fr;gap:60px;align-items:center}
 .homepage .transparency-copy h2{margin:16px 0 24px;font-size:clamp(30px,3.2vw,44px)}
 .homepage .transparency-lead,.homepage .transparency-detail{font-size:13px;line-height:1.9;margin:0 0 19px}
 .homepage .transparency-copy>.home-button{margin:6px 0 0}
 .homepage .transparency-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding-top:24px;margin:28px 0 0}
 .homepage .transparency-facts dt{font-size:22px;line-height:1.35;margin:0 0 9px;letter-spacing:-.5px}
 .homepage .transparency-facts dd{font-size:10px;line-height:1.8;margin:0;overflow-wrap:anywhere}
 .homepage .device-showcase{margin:0;min-width:0}
 .home-device-switch{display:flex;gap:6px;justify-content:center;margin:0 0 18px}
 .home-device-switch button{padding:10px 16px;background:#e8f0df;color:#6b8557;border:0;border-radius:999px;font-size:11px;line-height:1.5;min-height:36px}
 .home-device-switch button[aria-pressed=true]{background:#173f33;color:#fff}
 .homepage .device-stage{display:grid;place-items:center;padding:24px;background:#e4eed9;border-radius:27px;min-height:340px;position:relative;overflow:hidden}
 .homepage .desktop-device{position:relative;inset:auto;width:100%;margin:0;transform:none;border-radius:12px;overflow:hidden;box-shadow:0 15px 30px #244d3617}
 .homepage .phone-device{position:relative;inset:auto;transform:none;margin:0;width:210px;max-width:100%;max-height:none;overflow:hidden;border-radius:24px;box-shadow:0 15px 30px #244d3617}
 .homepage .device-stage[data-device-preview=desktop] .phone-device{display:none}
 .homepage .device-stage[data-device-preview=mobile] .desktop-device{display:none}
 .homepage .device-stage[data-device-preview=mobile]{min-height:550px}
 .homepage .device-stage img{display:block;width:100%;height:auto;min-height:0;object-fit:contain}
 .homepage .device-showcase figcaption{font-size:10px;line-height:1.8;margin:16px 0 0;color:#8a987c;text-align:center}
 .homepage .audience-section{gap:60px;align-items:start}
 .homepage .audience-copy>h2{margin:15px 0 24px}
 .homepage .audience-copy>p{font-size:13px;line-height:1.9;margin:0 0 24px}
 .homepage .audience-switch{display:flex;gap:6px;padding:5px;margin:0 0 22px;max-width:100%;border-radius:999px}
 .homepage .audience-switch button{min-width:0;flex:1;font-size:12px;padding:12px 18px;line-height:1.5}
 .homepage .audience-panel{padding:30px}
 .homepage .audience-panel h3{margin:12px 0 24px;font-size:23px;line-height:1.3}
 .homepage .audience-panel li{display:flex;gap:15px;padding:17px 0;align-items:center;line-height:1.6}
 .homepage .audience-panel li strong{display:block;font-size:12px;margin:0 0 7px;line-height:1.5}
 .homepage .audience-panel li small{display:block;font-size:11px;line-height:1.7}
 .homepage .share-section{display:grid;grid-template-columns:80px minmax(0,1fr);gap:35px;padding:50px;margin-block:10px 0;align-items:start}
 .homepage .share-section h2{margin:14px 0 23px}
 .homepage .share-section p{font-size:13px;line-height:1.9;margin:0 0 20px}
 .homepage .share-section p.share-note{font-size:11px;line-height:1.9;margin-bottom:0}
 .homepage .price-section{gap:70px;align-items:center}
 .homepage .price-copy h2{margin:15px 0 24px}.homepage .price-copy>p{font-size:14px;line-height:1.9;margin:0 0 24px}
 .homepage .home-price-card{padding:36px}
 .homepage .home-price-card .annual-price{margin:12px 0 15px;font-size:64px;line-height:1.1;letter-spacing:-2px}
 .homepage .home-price-card>p{margin:0 0 26px;font-size:12px;line-height:1.8}
 .homepage .home-price-card ul{display:grid;gap:15px;padding:0;margin:0 0 30px;list-style:none}
 .homepage .home-price-card li{font-size:12px;line-height:1.7;padding-left:24px;position:relative;margin:0}
 .homepage .referral-section{gap:28px;padding:46px;margin-block:8px 0;align-items:center}
 .homepage .referral-section h2{margin:18px 0 22px}
 .homepage .referral-section p{font-size:13px;line-height:1.9;margin:0 0 20px}
 .homepage .referral-section .referral-fine{font-size:10px;line-height:1.9;margin:0}
 .homepage .faq-section{gap:65px;align-items:start}
 .homepage .faq-section h2{margin:15px 0 0}
 .homepage .home-faq summary{font-size:14px;line-height:1.7;padding:21px 35px 21px 0;min-height:64px}
 .homepage .home-faq p{font-size:13px;line-height:1.9;margin:0;padding:0 20px 24px 0}
 .homepage .home-closing h2{margin:16px auto 24px;line-height:1.2}
 .homepage .home-closing>p:not(.eyebrow){font-size:15px;line-height:1.8;margin:0 0 28px}
 .homepage .home-closing .hero-actions{display:flex;flex-wrap:wrap;gap:14px}
 .homepage .home-footer{padding:65px 0 28px}
 .homepage .footer-layout{gap:40px}
 .homepage .footer-link-group{display:grid;align-content:start;gap:13px}
 .homepage .footer-bottom{margin-top:28px;padding-top:22px;font-size:11px;line-height:1.7;gap:20px}
 @media(max-width:1150px){
  .homepage .home-header{gap:18px;width:calc(100% - 96px);padding:13px 16px}
  .homepage .home-header nav a{padding-inline:8px;font-size:11px}
  .homepage .home-header .home-brand{font-size:19px}
  .homepage .home-header .home-install-link{display:none}
  .homepage .feature-ribbon>a{font-size:11px;padding:16px 12px;gap:9px}
  .homepage .transparency-section,.homepage .audience-section{gap:35px}
  .homepage .mini-roster>div:not(.mini-copy){grid-template-columns:28px minmax(0,1fr)}
  .homepage .mini-roster .paid-tag,.homepage .mini-roster .partial-tag{grid-column:2;justify-self:start;text-align:left}
 }
 @media(max-width:1000px){
  .homepage .home-header nav{display:none}
  .homepage .home-header{justify-content:space-between}
  .homepage .home-section{padding-block:68px}
  .homepage #how{gap:40px;padding-block:65px}
  .homepage .feature-ribbon{grid-template-columns:repeat(3,minmax(0,1fr))}
  .homepage .transparency-section{grid-template-columns:1fr;gap:35px}
  .homepage .device-showcase{max-width:720px;width:100%;justify-self:center}
  .homepage .price-section,.homepage .faq-section{gap:35px}
 }
 @media(max-width:700px){
  .homepage .wrap{width:calc(100% - 40px)}
  .homepage .audience-ticker{height:88px;min-height:88px;max-height:88px;width:calc(100% - 32px);padding:10px 0;gap:10px;display:flex;flex-direction:column;align-items:stretch}
  .homepage .audience-ticker>p{flex:none;margin:0;font-size:10px;line-height:1.5;white-space:normal}
  .homepage .audience-ticker>p br{display:none}
  .homepage .audience-ticker-window{flex:none;width:100%;min-height:34px}
  .homepage .audience-ticker-list{gap:9px}
  .homepage .audience-ticker li{padding:4px 11px 4px 5px;font-size:10px;gap:7px}
  .homepage .audience-art{width:25px;height:25px}
  .homepage .home-header{top:118px;width:calc(100% - 64px);padding:11px 12px;border-radius:17px;gap:10px}
  .homepage .home-header .home-brand{font-size:18px;gap:7px}
  .homepage .home-header .home-brand img{width:29px;height:29px}
  .homepage .home-header .home-login{padding:9px 12px;font-size:10px;min-height:34px;gap:6px}
  .homepage .home-header .home-header-actions{margin-left:auto;gap:0}
  .homepage .home-header .home-install-link{display:none}
  .homepage .home-hero{width:calc(100% - 24px);padding:135px 24px 45px;min-height:690px;height:auto;max-height:none}
  .homepage .home-hero h1{font-size:clamp(33px,9vw,48px);line-height:1.15;letter-spacing:-.04em;margin-bottom:24px}
  .homepage .hero-copy>.eyebrow{font-size:8px;line-height:1.8;letter-spacing:.07em;margin:0 0 20px}
  .homepage .hero-lead{font-size:14px;line-height:1.8;margin:0 0 28px}
  .homepage .hero-copy .hero-actions{gap:12px;flex-direction:column;align-items:stretch}
  .homepage .hero-actions .home-button{width:100%;justify-content:space-between;padding:13px 18px;min-height:46px;font-size:12px;line-height:1.5}
  .homepage .hero-price{font-size:9px;line-height:1.9;margin:23px 0 0}
  .homepage .home-section{padding-block:58px}
  .homepage #how{grid-template-columns:1fr;gap:30px;padding-block:58px}
  .homepage h2,.homepage h2 em{font-size:32px;line-height:1.2;letter-spacing:-.035em}
  .homepage .section-heading{margin-bottom:30px}
  .homepage .section-heading h2{margin-bottom:18px}
  .homepage .section-heading>p:last-child{font-size:13px;line-height:1.85}
  .homepage .start-steps li{padding:17px 17px 17px 61px;min-height:76px;border-radius:18px}
  .homepage .start-steps li>span{left:17px;top:21px}
  .homepage .start-steps h3{font-size:16px;line-height:1.6}
  .homepage .home-step-toggle{gap:10px;min-height:40px}
  .homepage .start-steps p{font-size:12px;line-height:1.85;margin-top:10px}
  .homepage .feature-ribbon{width:calc(100% - 40px);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 auto}
  .homepage .feature-ribbon>a{padding:15px 13px;gap:10px;font-size:11px;min-height:70px;border-radius:17px}
  .homepage .feature-ribbon>a:last-child{grid-column:1/-1}
  .homepage .feature-ribbon svg{width:31px;height:31px;padding:7px}
  .homepage .transparency-section{gap:30px}
  .homepage .transparency-copy h2{font-size:31px;line-height:1.23;margin:15px 0 24px}
  .homepage .transparency-lead,.homepage .transparency-detail{font-size:13px;line-height:1.9;margin-bottom:20px}
  .homepage .transparency-facts{gap:15px;grid-template-columns:1fr;margin-top:26px;padding-top:24px}
  .homepage .transparency-facts>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:14px;align-items:center}
  .homepage .transparency-facts dt{font-size:23px;margin:0;line-height:1.3}
  .homepage .transparency-facts dd{font-size:11px;line-height:1.7}
  .home-device-switch{gap:7px;margin-bottom:16px}
  .home-device-switch button{flex:1;font-size:10px;padding:10px 8px}
  .homepage .device-stage{padding:16px;border-radius:22px;min-height:220px}
  .homepage .device-stage[data-device-preview=mobile]{min-height:500px}
  .homepage .desktop-chrome{font-size:7px;gap:7px;padding:8px}
  .homepage .device-caption{display:none}
  .homepage .desktop-device{border-radius:9px}
  .homepage .device-showcase figcaption{font-size:10px;line-height:1.8}
  .homepage #features{width:calc(100% - 24px);padding:34px 18px;margin:0 auto;border-radius:26px}
  .homepage .feature-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
  .homepage .feature-panel{padding:24px 20px;border-radius:20px}
  .homepage .feature-panel h3{font-size:25px;line-height:1.28;letter-spacing:-.6px;margin-bottom:18px}
  .homepage .feature-panel>p{font-size:12px;line-height:1.9;margin-bottom:24px}
  .homepage .feature-number{margin-bottom:18px;font-size:9px}
  .homepage .mini-roster{padding:14px}
  .homepage .mini-roster>div:not(.mini-copy){gap:7px 10px;padding:13px 0}
  .homepage .mini-roster strong{font-size:11px}
  .homepage .mini-copy{padding:12px;font-size:9px;line-height:1.7;margin-top:12px}
  .homepage .mini-copy b{font-size:12px}
  .homepage .mini-receipt{padding:17px}
  .homepage .history-years li{gap:10px;flex-wrap:wrap;padding:17px 0}
  .homepage .history-year-status{font-size:9px;line-height:1.6;white-space:normal}
  .homepage .audience-section{display:grid;grid-template-columns:1fr;gap:30px}
  .homepage .audience-copy>p{font-size:13px;line-height:1.9}
  .homepage .audience-switch button{font-size:12px;padding:11px 14px}
  .homepage .audience-panel{padding:25px 22px;border-radius:23px}
  .homepage .audience-panel h3{font-size:23px;margin-bottom:22px}
  .homepage .audience-panel li{gap:13px;padding:17px 0}
  .homepage .audience-panel li strong{font-size:12px;line-height:1.6}
  .homepage .audience-panel li small{font-size:10px;line-height:1.8}
  .homepage .share-section{grid-template-columns:1fr;gap:23px;padding:30px 25px}
  .homepage .share-section h2{margin:15px 0 24px}
  .homepage .share-section p{font-size:12px;line-height:1.9}
  .homepage .share-section p.share-note{font-size:10px;line-height:1.9}
  .homepage .price-section{gap:30px}
  .homepage .price-copy>p{font-size:13px;line-height:1.9}
  .homepage .home-price-card{padding:28px 24px;border-radius:24px}
  .homepage .home-price-card .annual-price{font-size:58px;line-height:1.15;letter-spacing:-2px;margin:15px 0}
  .homepage .home-price-card ul{gap:15px;margin-bottom:26px}
  .homepage .home-price-card li{font-size:12px;line-height:1.7}
  .homepage .referral-section{padding:30px 24px;gap:27px}
  .homepage .referral-section p{font-size:12px;line-height:1.9}
  .homepage .referral-section .referral-fine{font-size:10px;line-height:1.9}
  .homepage .faq-section{gap:28px}
  .homepage .home-faq summary{font-size:13px;line-height:1.8;padding-block:20px}
  .homepage .home-faq p{font-size:12px;line-height:1.9}
  .homepage .home-closing{padding:48px 24px}
  .homepage .home-closing h2{font-size:31px;margin-bottom:22px}
  .homepage .home-closing .hero-actions{gap:12px}
  .homepage .home-footer{padding:45px 0 24px}
  .homepage .footer-layout{gap:30px}
  .homepage .footer-bottom{display:grid;gap:10px;margin-top:25px;padding-top:22px;font-size:10px}
 }
 @media(max-width:370px){
  .homepage .home-header{width:calc(100% - 52px);gap:7px;padding:10px}
  .homepage .home-header .home-brand{font-size:16px;gap:6px}
  .homepage .home-header .home-brand img{width:25px;height:25px}
  .homepage .home-header .home-login{padding:8px 10px;font-size:9px;gap:4px}
  .homepage .home-hero{padding-inline:21px}
  .homepage .home-hero h1{font-size:33px;line-height:1.17}
  .homepage .hero-copy>.eyebrow{font-size:7px;letter-spacing:.06em}
  .homepage .feature-ribbon{gap:10px}
  .homepage .feature-ribbon>a{padding:13px 10px;font-size:10px;gap:8px}
  .homepage .feature-panel{padding:23px 18px}
 }
 @media(prefers-reduced-motion:reduce){
  .homepage .audience-ticker-track{animation:none!important;transform:none!important}
  .homepage .feature-ribbon>a,.home-step-toggle svg{transition:none}
 }
 /* Restored balance composition, matching the user's reference. */
 .fd-balance-block{display:grid;gap:14px;min-width:0}
 .fd-balance-block>.fd-balance{position:relative;padding:24px 26px 18px;border-radius:19px;display:block}
 .fd-balance-block .fd-balance-label{display:block;min-height:30px;padding-right:52px;font-size:13px;line-height:1.6}
 .fd-balance-wallet{position:absolute;right:25px;top:21px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #a9d9c8;border-radius:12px;background:#f0fff850;color:#16876c;transform:rotate(-7deg)}
 .fd-balance-wallet .ui-icon{width:25px;height:25px;color:inherit;stroke-width:1.6}
 .fd-balance-block .fd-balance-amount{display:block;font-size:49px;line-height:1.16;letter-spacing:-1.7px;margin:13px 0 8px;font-weight:600}
 .fd-balance-block .fd-balance>p{margin:0 0 22px;font-size:12px;line-height:1.6}
 .fd-balance-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;border-top:1px solid #acd4c57a;padding:18px 0;margin:0}
 .fd-balance-stats>div{display:grid;gap:7px;min-width:0}
 .fd-balance-stats>div:nth-child(2){border-left:1px solid #acd4c57a;padding-left:24px}
 .fd-balance-stats span{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.6;color:#50776b}
 .fd-balance-stats .ui-icon{width:14px;height:14px;flex:none}
 .fd-balance-stats strong{font-size:20px;line-height:1.3;letter-spacing:-.35px;color:#254d43;font-weight:500;overflow-wrap:anywhere}
 .fd-balance-stats>.fd-balance-refund{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:13px;border-top:1px solid #acd4c57a}
 .fd-balance-refund strong{font-size:15px}
 .fd-balance-block .fd-balance-foot{margin:0;border-top:1px solid #acd4c57a;padding-top:12px;font-size:11px;line-height:1.6}
 .fd-balance-block .fd-balance-foot strong{font-size:13px}
 .fd-balance-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .fd-balance-actions .button{min-width:0;min-height:46px;padding:10px 8px;border-radius:11px;font-size:12px;line-height:1.5;gap:7px;justify-content:center}
 .fd-balance-actions .button .ui-icon{width:18px;height:18px;flex:none}
 .fd-balance-block>.rf-family{margin:12px 0 0;padding:25px;border:1px solid #e0e9e5;border-radius:22px;background:#fff}
 /* The ticker and hero share one height contract at every breakpoint. */
 .homepage{--audience-height:80px;--hero-gap:20px}
 .homepage .audience-ticker{display:flex;flex-direction:row;align-items:center;gap:26px;height:var(--audience-height);min-height:var(--audience-height);max-height:none;padding:14px 0;overflow:hidden}
 .homepage .audience-ticker>p{flex:0 0 235px;grid-column:auto;margin:0;font-size:11px;line-height:1.75}
 .homepage .audience-ticker-window,.homepage .audience-ticker.is-ready .audience-ticker-window{display:flex;align-items:center;flex:1;min-width:0;height:48px;min-height:48px;overflow:hidden}
 .homepage .audience-ticker.is-ready .audience-ticker-track{display:flex;align-items:center;gap:0;width:max-content;min-height:46px;animation:fd-audience-loop 34s linear infinite!important;transform:none!important;translate:0}
 .homepage .audience-ticker.is-ready .audience-ticker-list{display:flex;align-items:center;flex:0 0 auto;flex-wrap:nowrap;gap:14px;width:auto;padding:0 22px 0 0;margin:0}
 .homepage .audience-ticker-list li{display:flex;align-items:center;gap:9px;height:42px;min-height:42px;padding:6px 13px 6px 7px;font-size:11px;line-height:1.5;white-space:nowrap}
 .homepage .audience-ticker-list .audience-art{width:30px;height:30px;padding:0;flex:none}
 @keyframes fd-audience-loop{to{translate:-50% 0}}
 /* Individual controls over the photo, without a wide background strip. */
 .homepage .home-header{display:flex;flex-wrap:nowrap;align-items:flex-start;justify-content:space-between;gap:22px;top:calc(var(--audience-height) + var(--hero-gap) + 18px);padding:0;width:min(1180px,calc(100% - 112px));background:none;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
 .homepage .home-header .home-brand{display:flex;align-items:center;gap:9px;flex:none;min-height:54px;padding:10px 14px;background:transparent;border:0;border-radius:0;color:#fff;font-size:21px;line-height:1.2;box-shadow:none;text-shadow:0 1px 8px #102b2350}
 .homepage .home-header .home-brand b{color:inherit}
 .homepage .home-header nav{display:flex;flex:0 1 auto;flex-basis:auto;order:0;align-items:center;justify-content:center;gap:1px;margin:0;padding:5px;background:transparent;border:0;border-radius:0;box-shadow:none}
 .homepage .home-header nav a{flex:0 1 auto;min-height:42px;padding:10px 13px;font-size:12px;line-height:1.6;border-radius:0;white-space:nowrap;color:#fff;text-shadow:0 1px 8px #102b2350}
 .homepage .home-header nav a:hover,.homepage .home-header nav a[aria-current=location]{background:transparent;color:#d7ebc5;box-shadow:none;text-decoration:underline;text-underline-offset:6px}
 .homepage .home-header nav a:focus-visible{background:transparent;color:#fff;outline:2px solid #d7ebc5;outline-offset:2px}
 .homepage .home-header .home-header-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px;margin:0;flex:none}
 .homepage .home-header .home-login{padding:12px 18px;min-height:44px;font-size:11px;line-height:1.6;background:#173f33;color:#fff;gap:15px;border:1px solid #ffffff25;box-shadow:0 5px 22px #173f330d}
 .homepage .home-header .home-install-link{display:flex;align-items:center;gap:6px;padding:5px 10px;background:transparent;border-radius:0;color:#fff;font-size:9px;line-height:1.5;text-shadow:0 1px 8px #102b2350}
 .homepage .home-hero{height:auto;min-height:800px}
 .homepage .home-hero::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#102b23db 0,#102b23b3 100px,#102b2300 260px)}
 .homepage .home-hero h1 em{display:block;margin:7px 0 0;text-decoration:none;color:#d5f1dc;line-height:1.15}
 /* The icon is contained by its own column instead of protruding into text. */
 .homepage .share-section{grid-template-columns:96px minmax(0,1fr);gap:30px;align-items:start}
 .homepage .share-symbol{position:static;inset:auto;width:80px;height:80px;min-width:0;font-size:46px;line-height:1;transform:none;align-self:start;justify-self:start;border-radius:23px;margin:0}
 .homepage .share-section>div:last-child{min-width:0}
 @media(max-width:1100px){
  .homepage .home-header{width:calc(100% - 90px);gap:15px}
  .homepage .home-header .home-brand{font-size:18px;padding:10px 12px}
  .homepage .home-header .home-brand img{width:30px;height:30px}
  .homepage .home-header nav a{padding-inline:10px;font-size:11px}
  .homepage .home-header .home-install-link{display:none}
 }
 @media(max-width:1000px){.homepage .home-header nav{display:none}}
 @media(max-width:900px){
  .homepage{--audience-height:112px}
  .homepage .audience-ticker{flex-direction:column;align-items:stretch;justify-content:center;gap:8px;padding:10px 0}
  .homepage .audience-ticker>p{flex:none;font-size:10px;line-height:1.7}
  .homepage .audience-ticker>p br{display:none}
  .homepage .audience-ticker-window,.homepage .audience-ticker.is-ready .audience-ticker-window{flex:none;width:100%;height:48px;min-height:48px}
 }
 @media(max-width:700px){
  .fd-balance-block>.fd-balance{padding:21px 23px 17px;border-radius:18px}
  .fd-balance-block .fd-balance-label{font-size:12px;min-height:28px}
  .fd-balance-wallet{right:20px;top:17px;width:34px;height:34px;border-radius:10px}
  .fd-balance-wallet .ui-icon{width:22px;height:22px}
  .fd-balance-block .fd-balance-amount{font-size:45px;margin-top:14px}
  .fd-balance-block .fd-balance>p{font-size:11px;margin-bottom:20px}
  .fd-balance-stats{gap:16px;padding:16px 0}
  .fd-balance-stats>div:nth-child(2){padding-left:16px}
  .fd-balance-stats span{font-size:10px;gap:5px}
  .fd-balance-stats strong{font-size:18px}
  .fd-balance-block .fd-balance-foot{font-size:10px}
  .fd-balance-block .fd-balance-foot strong{font-size:12px}
  .fd-balance-actions{gap:8px}
  .fd-balance-actions .button{font-size:11px;padding:10px 6px;gap:4px;min-height:45px}
  .fd-balance-actions .button .ui-icon{width:15px;height:15px}
  .homepage{--hero-gap:12px}
  .homepage .home-header{top:calc(var(--audience-height) + var(--hero-gap) + 15px);width:calc(100% - 62px);gap:12px;align-items:center}
  .homepage .home-header .home-brand{font-size:18px;gap:7px;padding:9px 11px;min-height:47px;border-radius:14px}
  .homepage .home-header .home-brand img{width:28px;height:28px}
  .homepage .home-header .home-login{padding:10px 13px;min-height:42px;font-size:10px;gap:6px}
  .homepage .home-header .home-install-link{display:none}
  .homepage .home-hero{min-height:740px;padding-top:130px}
  .homepage .home-hero h1 em{margin-top:7px}
  .homepage .share-section{grid-template-columns:1fr;gap:24px}
  .homepage .share-symbol{width:58px;height:58px;font-size:34px;border-radius:17px}
 }
 @media(max-width:370px){
  .fd-balance-block>.fd-balance{padding:19px 19px 16px}
  .fd-balance-block .fd-balance-amount{font-size:42px}
  .fd-balance-actions .button{flex-direction:column;font-size:10px;padding:8px 4px;gap:5px;min-height:57px}
  .homepage .home-header{width:calc(100% - 54px);gap:9px}
  .homepage .home-header .home-brand{font-size:16px;gap:6px;padding:9px;min-height:44px}
  .homepage .home-header .home-brand img{width:24px;height:24px}
  .homepage .home-header .home-login{font-size:9px;gap:4px;padding:10px 11px;min-height:40px}
 }
 @media(prefers-reduced-motion:reduce){
  .homepage .audience-ticker.is-ready .audience-ticker-track{animation:none!important;translate:0;transform:none!important}
 }
}

@media screen {
 /* A single context panel keeps the two related selectors together. */
 .homepage .home-price-payments{display:flex;align-items:center;justify-content:center;flex-wrap:nowrap;gap:clamp(6px,1.4vw,12px);margin-top:24px;padding-top:20px;border-top:1px solid #cdddc2}
 .homepage .home-price-payments img{display:block;flex:none;width:28px;height:28px;object-fit:contain}
 #app.fond-workspace .workspace-bar .selectors{grid-template-columns:minmax(0,1.4fr) minmax(150px,1fr);gap:0;padding:4px 6px;max-width:none;background:#edf4e8;border:1px solid #d7e5d4;border-radius:17px}
 #app.fond-workspace .workspace-bar .context-field{margin:0;padding:8px 14px!important;background:transparent!important;border:0!important;border-radius:0}
 #app.fond-workspace .workspace-bar .context-field+.context-field{border-left:1px solid #ceddca!important;padding-left:18px!important}
 #app.fond-workspace .workspace-bar .context-field>span{font-size:10px;color:#6c8370;margin-bottom:2px}
 #app.fond-workspace .workspace-bar .rf-context-trigger{min-height:28px;padding:0;gap:10px;font-size:14px;color:#244a39}
 #app.fond-workspace .workspace-bar .rf-context-chevron{width:20px;height:20px;flex:none;color:#5c866c}
 #app.fond-workspace .workspace-bar .rf-context-chevron svg{width:16px;height:16px}
 /* Entry and registration use the homepage palette and existing school photo. */
 body:has(#app>.auth){background:#f3f7ee}
 body:has(#app>.auth)>.site-header{max-width:1160px;margin:0 auto;padding:22px 28px;background:transparent;border:0}
 main#app:has(>.auth){width:100%;max-width:1160px;margin:0 auto;padding:18px 28px 70px}
 #app>.auth{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:0;width:100%;max-width:none;margin:0;padding:0;background:#fff;border:1px solid #dfe8d8;border-radius:30px;overflow:hidden;box-shadow:0 18px 70px #173f3307;align-items:stretch}
 .auth>.auth-message{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;max-width:none;min-height:650px;padding:48px 42px;text-align:left;color:#fff;background:linear-gradient(180deg,#173f33f5 0%,#173f33db 45%,#173f33b0 100%),url('/showcase/together-hero.webp') center/cover}
 .auth>.auth-message .eyebrow{display:block;color:#bbd9b2;font-size:10px;font-weight:500;letter-spacing:.12em;line-height:1.7;margin:0 0 22px}
 .auth>.auth-message h1{font-size:clamp(36px,3.8vw,49px);font-weight:600;line-height:1.13;letter-spacing:-1.7px;margin:0;color:#fff}
 .auth>.auth-message h1 em{color:#d7ebc5;font-style:normal;font-weight:500}
 .auth>.auth-message>p{display:block;max-width:365px;font-size:14px;line-height:1.85;color:#d3e2d4;margin:24px 0 0}
 .auth>.auth-message .auth-example{display:flex;align-items:center;gap:13px;max-width:100%;margin-top:34px;padding:16px;background:#ffffff0c;border:1px solid #ffffff18;border-radius:15px}
 .auth>.auth-message .auth-example .circle{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:12px;background:#d7ebc5;color:#173f33}
 .auth>.auth-message .auth-example strong{font-size:12px;line-height:1.6;color:#fff}
 .auth>.auth-message .auth-example small{font-size:10px;line-height:1.7;color:#c1d6c4}
 .auth>.auth-card{display:flex;flex-direction:column;justify-content:center;justify-self:stretch;align-self:stretch;min-width:0;width:100%;max-width:none;margin:0;padding:45px 44px;border:0;border-radius:0;background:#fff;box-shadow:none}
 .auth>.auth-card::before{content:none;display:none}
 .auth>.auth-card h2{font-size:29px;line-height:1.25;letter-spacing:-.8px;font-weight:600;color:#173f33;margin:0 0 28px}
 .auth #auth-form{display:grid;gap:18px;margin:0}
 .auth #auth-form .field{display:grid;gap:8px;margin:0;font-size:12px;line-height:1.5;font-weight:500;color:#5b7460}
 .auth #auth-form input{min-width:0;width:100%;min-height:50px;padding:12px 14px;border:1px solid #d5e2d3;border-radius:12px;background:#f8faf5;color:#244638;font-size:16px;box-shadow:none}
 .auth #auth-form input:focus{outline:2px solid #73a988;outline-offset:2px;border-color:#73a988;background:#fff}
 .auth #auth-form>.button{justify-content:center;min-height:50px;border-radius:13px;font-size:14px;background:#087e66;color:#fff;margin-top:4px}
 .auth .auth-links{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;margin:18px 0 20px}
 .auth .auth-links .link-button{min-height:38px;padding:0;font-size:12px;line-height:1.6;color:#23765a;text-align:left}
 .auth>.auth-card .footnote{font-size:11px;line-height:1.85;color:#7c8d7a;margin:10px 0 0}
 .auth>.auth-card .footnote a{color:#5a7a5d}
 @media(max-width:950px){
  #app.fond-workspace .workspace-bar .selectors{max-width:none}
  .auth>.auth-message{padding:35px 30px}
  .auth>.auth-card{padding:36px 30px}
 }
 @media(max-width:800px){
  body:has(#app>.auth)>.site-header{max-width:680px;padding:18px}
  main#app:has(>.auth){max-width:680px;padding:12px 18px 50px}
  #app>.auth{grid-template-columns:minmax(0,1fr);border-radius:24px}
  .auth>.auth-message{min-height:190px;padding:26px 28px;background-position:center 45%}
  .auth>.auth-message .eyebrow{margin-bottom:13px;font-size:9px}
  .auth>.auth-message h1{font-size:36px;letter-spacing:-1.1px}
  .auth>.auth-message>p{display:none}
  .auth>.auth-message .auth-example{display:none}
  .auth>.auth-card{padding:30px 28px}
  .auth>.auth-card h2{font-size:27px;margin-bottom:25px}
 }
 @media(max-width:700px){
  #app.fond-workspace .workspace-bar .selectors{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);padding:4px;border-radius:15px}
  #app.fond-workspace .workspace-bar .context-field{padding:8px 10px!important}
  #app.fond-workspace .workspace-bar .context-field+.context-field{padding-left:12px!important}
  #app.fond-workspace .workspace-bar .context-field>span{font-size:9px}
  #app.fond-workspace .workspace-bar .rf-context-trigger{min-height:25px;font-size:12px;gap:6px}
  #app.fond-workspace .workspace-bar .rf-context-chevron,#app.fond-workspace .workspace-bar .rf-context-chevron svg{width:14px;height:14px}
 }
 @media(max-width:400px){
  .auth>.auth-message{min-height:170px;padding:22px}
  .auth>.auth-message h1{font-size:32px}
  .auth>.auth-card{padding:27px 22px}
  .auth>.auth-card h2{font-size:25px}
  .auth .auth-links{display:grid;grid-template-columns:minmax(0,1fr);gap:2px;margin-bottom:16px}
 }
}

/* Ссылки на сообщества не зависят от кнопки запуска приложения MAX. */
.fd-social-card{padding:21px;border:1px solid #dcebe3;border-radius:18px;background:#fff}
.fd-social-card h2{margin:6px 0;font-size:17px;line-height:1.3;color:#173f33}
.fd-social-card p{margin:0;color:#698276;font-size:12px;line-height:1.5}
.fd-social-links{display:grid;gap:6px;margin-top:15px}
.fd-social-links a{display:flex;align-items:center;gap:11px;padding:9px;border-radius:11px;text-decoration:none;color:#173f33;transition:background .15s ease}
.fd-social-links a:hover,.fd-social-links a:focus-visible{background:#edf7f1}
.fd-social-links a>span:nth-child(2){display:grid;gap:2px;flex:1;font-size:13px;font-weight:600}
.fd-social-links small{font-size:11px;font-weight:400;color:#71897d}
.fd-social-icon{display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:11px;font-weight:700}
.fd-social-max{background:#f2edff}.fd-social-max img{display:block}
.fd-social-vk{background:#eaf2ff;color:#0077ff;font-size:13px}
.fd-social-instagram{background:#fff0ed;color:#d54875;font-size:26px;line-height:1}
.fd-social-arrow{color:#638877;font-size:17px}
@media print{.fd-social-card{display:none}}

/* Компактное объявление над выбором фонда видно только в обзоре. */
#app.fond-workspace>.workspace-bar:has(.fd-max-promo){flex-wrap:wrap;column-gap:24px;row-gap:12px}
#app.fond-workspace .workspace-bar>.fd-max-promo{display:flex;flex:0 0 100%;align-items:center;gap:10px;padding:8px 12px;border-radius:13px;min-height:48px}
#app.fond-workspace .fd-max-promo-mark{width:32px;height:32px;grid-row:auto;align-self:center}
#app.fond-workspace .fd-max-promo-copy{display:block;flex:1;min-width:0}
#app.fond-workspace .fd-max-promo-copy strong{font-size:13px;line-height:1.3}
#app.fond-workspace .fd-max-promo-action{display:flex;grid-column:auto;align-items:center}
/* Статус организатора находится перед балансом и не дублируется в боковой колонке. */
.fd-content>.rf-attention{margin:0;padding:18px 20px;border-radius:20px;min-width:0}
.fd-content>.rf-attention.is-clear{background:#eaf2e3;gap:12px}
.fd-content>.rf-attention p{font-size:11px;line-height:1.7}
@media(max-width:700px){#app.fond-workspace .workspace-bar>.fd-max-promo{padding:7px 10px}.fd-content>.rf-attention{padding:16px 18px}}
@media print{#app.fond-workspace .workspace-bar>.fd-max-promo{display:none}}
