/* Approved family debt card; every rule is scoped to this widget or its own popup. */
.family-debt-widget,.family-debt-popover{--fd-ink:#123441;--fd-muted:#658092;--fd-line:#d6e3e9;--fd-green:#087960;box-sizing:border-box;color:var(--fd-ink)}
.family-debt-widget *,.family-debt-popover *{box-sizing:border-box}
.family-debt-widget h2,.family-debt-widget h3,.family-debt-widget p,.family-debt-popover h3,.family-debt-popover p{margin:0}
.family-debt-widget button,.family-debt-widget input,.family-debt-widget select,.family-debt-popover button{font-family:inherit;letter-spacing:0}
.family-debt-widget button,.family-debt-popover button{cursor:pointer}
.family-debt-widget button:disabled,.family-debt-popover button:disabled{cursor:default;opacity:.45}
.family-debt-widget button:focus-visible,.family-debt-widget a:focus-visible,.family-debt-widget [role=button]:focus-visible,.family-debt-popover button:focus-visible{outline:2px solid #287fab;outline-offset:3px}
.family-debt-widget button:focus:not(:focus-visible),.family-debt-widget [role=button]:focus:not(:focus-visible){outline:none}
.family-debt-widget .fd-icon,.family-debt-popover .fd-icon{display:block;width:20px;height:20px;flex:0 0 20px}
.family-debt-widget .fd-muted,.family-debt-popover .fd-muted{color:var(--fd-muted)}
.family-debt-widget .fd-overdue{color:#a64e3c!important}
.family-debt-widget .fd-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.family-debt-widget .gc-money{font:inherit;font-variant-numeric:tabular-nums}
.family-period-runtime #family-metrics>.family-metric.family-debt-widget{display:block;padding:0;overflow:hidden;min-width:0;position:relative;background:#fff}
.family-period-runtime #family-metrics>.family-metric.family-debt-widget[data-collapsed=true][data-wide-amount=true]{grid-column:1/-1}
.family-debt-widget .fd-card-top{padding:12px 16px}
.family-debt-widget[data-collapsed=true] .fd-card-top{padding-bottom:8px}
.family-debt-widget .fd-heading{position:relative;display:flex;align-items:center;min-height:20px;gap:8px;cursor:pointer}
.family-debt-widget .fd-heading-toggle{display:flex;align-items:center;gap:8px;min-width:0;min-height:20px;height:20px;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:14px;line-height:20px;font-weight:600;color:inherit;text-align:left;white-space:nowrap}
.family-debt-widget .fd-heading-toggle .fd-icon{color:#54758b}
.family-debt-widget .fd-heading-end{display:flex;align-items:center;gap:8px;margin-left:auto}
.family-debt-widget .fd-asof{font-size:11px;line-height:20px;color:var(--fd-muted);white-space:nowrap}
.family-debt-widget .fd-options{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 8px;margin:-12px 0;border:0;border-radius:8px;background:transparent;box-shadow:none;color:var(--fd-green);font-size:11px;line-height:20px;font-weight:400;white-space:nowrap}
.family-debt-widget .fd-options>.fd-icon{width:16px;height:16px;flex-basis:16px}
.family-debt-widget .fd-options>.fd-icon:last-child{width:14px;height:14px;flex-basis:14px}
.family-debt-widget .fd-options:hover,.family-debt-widget .fd-options[aria-expanded=true]{background:#edf5f6}
.family-debt-widget .fd-options[aria-expanded=true]>.fd-icon:last-child{transform:rotate(180deg)}
.family-debt-widget .fd-disclosure{display:flex;align-items:center;justify-content:center;width:28px;height:20px;margin-right:-4px;color:#54758b}
.family-debt-widget .fd-disclosure .fd-icon{stroke-width:2}
.family-debt-widget[data-collapsed=false] .fd-disclosure .fd-icon{transform:rotate(180deg)}
.family-debt-widget[data-collapsed=true]{cursor:pointer}
.family-debt-widget[data-collapsed=true] .fd-asof,.family-debt-widget[data-collapsed=true] .fd-options,.family-debt-widget[data-collapsed=false] .fd-compact-summary{display:none}
.family-debt-widget .fd-main-with-badge{position:relative}
.family-debt-widget .fd-main{display:block;position:relative;min-width:0;width:100%;padding:0;margin:4px 0 0;height:29px;min-height:29px;border:0;border-radius:4px;background:transparent;box-shadow:none;text-align:left;color:inherit;user-select:text}
.family-period-runtime #family-metrics .family-debt-widget .fd-primary{display:block;font-size:23px;line-height:29px;letter-spacing:0;font-weight:650;white-space:nowrap;overflow-wrap:normal}
.family-debt-widget .fd-main:hover .fd-primary{color:var(--fd-green)}
.family-debt-widget .fd-primary.fd-placeholder,.family-debt-widget .fd-compact-summary>.fd-primary{margin-top:4px}
.family-debt-widget .fd-context{display:block;position:absolute;left:0;top:100%;z-index:1;visibility:hidden;pointer-events:none;font-size:10px;line-height:12px;white-space:nowrap;color:var(--fd-muted)}
.family-debt-widget[data-badge-below=true] .fd-context{visibility:visible;pointer-events:auto}
.family-debt-widget[data-badge-below=true] .fd-direction-badge{visibility:hidden}
.family-debt-widget .fd-direction-badge{position:absolute;right:0;top:8px;padding:0 6px;border-radius:4px;background:#eef6f8;color:#54758b;font-size:10px;line-height:18px;pointer-events:none}
.family-debt-widget[data-primary-direction=borrow] .fd-direction-badge{background:#fbf1ee;color:#97564f}
.family-debt-widget[data-primary-direction=lend] .fd-direction-badge{background:#eaf7f0;color:#087e68}
.family-debt-widget .fd-secondary{display:grid;grid-auto-rows:12px}
.family-debt-widget[data-badge-below=true] .fd-secondary>.fd-small:first-child{padding-left:calc(var(--fd-context-width,0px) + 8px)}
.family-debt-widget[data-badge-below=true][data-context-separate=true] .fd-secondary{padding-top:12px}
.family-debt-widget[data-badge-below=true][data-context-separate=true] .fd-secondary>.fd-small:first-child{padding-left:0}
.family-debt-widget .fd-small{display:flex;justify-content:space-between;align-items:baseline;gap:8px;min-height:12px;height:12px;width:100%;padding:0;margin:0;border:0;border-radius:3px;background:transparent;box-shadow:none;color:var(--fd-muted);font-size:10px;line-height:12px;text-align:left;user-select:text}
.family-debt-widget .fd-small>span{white-space:nowrap;flex-shrink:0}
.family-debt-widget .fd-small strong{font:inherit;line-height:12px;font-weight:500;color:#456b7a;white-space:nowrap}
.family-debt-widget .fd-small:hover,.family-debt-widget .fd-small:hover strong{color:var(--fd-green)}
.family-debt-widget .fd-unset{font-size:10px;font-weight:400}
.family-debt-widget .fd-empty-compact{font-size:12px;line-height:20px;color:var(--fd-muted);margin-top:4px}
.family-debt-widget .fd-compact-status{font-size:10px;line-height:12px;color:#a64e3c}
.family-debt-widget .fd-error-note{display:flex;align-items:center;gap:8px;font-size:12px;line-height:20px;color:#a64e3c;margin:0 0 12px}
.family-debt-widget .fd-direction-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 16px 16px;margin:0}
.family-debt-widget .fd-direction{display:block;padding:12px 14px;min-width:0;min-height:80px;border:1px solid #d7e4ea;border-radius:8px;background:#fff;text-align:left;box-shadow:none;color:inherit;user-select:text}
.family-debt-widget .fd-nav-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;line-height:20px;color:var(--fd-muted)}
.family-debt-widget .fd-nav-check{display:none;align-items:center}
.family-debt-widget .fd-nav-check .fd-icon{width:16px;height:16px;flex-basis:16px}
.family-debt-widget .fd-direction strong{display:block;font-size:23px;line-height:30px;letter-spacing:0;font-weight:650;margin-top:4px;overflow-wrap:anywhere}
.family-debt-widget .fd-direction[aria-pressed=true]{border-color:#70b5a8;background:#eef8f4;box-shadow:inset 0 -3px #48a48d}
.family-debt-widget .fd-direction[aria-pressed=true] .fd-nav-check{display:inline-flex}
.family-debt-widget .fd-direction[aria-pressed=true] .fd-nav-label{color:#166853}
.family-debt-widget .fd-content-wrap{padding:0 16px 16px;min-width:0}
.family-debt-widget .fd-top-row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin:0 0 16px}
.family-debt-widget .fd-view-title{display:flex;align-items:center;gap:12px;min-width:0;min-height:44px}
.family-debt-widget .fd-view-title h2{font-size:15px;line-height:24px;font-weight:600;white-space:nowrap}
.family-debt-widget .fd-count{font-size:12px;color:var(--fd-muted);line-height:20px;white-space:nowrap}
.family-debt-widget .fd-back{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #d5e3e9;border-radius:8px;background:#fff;box-shadow:none;color:#53798b}
.family-debt-widget .fd-back:hover{background:#edf7f5;border-color:#a3d0c4;color:var(--fd-green)}
.family-debt-widget .fd-tools{display:flex;align-items:center;gap:8px;min-width:0}
.family-debt-widget .fd-tools label{display:block;min-width:0;margin:0;gap:0}
.family-debt-widget .fd-tools label:first-child{width:184px}
.family-debt-widget .fd-tools label:last-child{width:196px}
.family-debt-widget .fd-search,.family-debt-widget .fd-sort,.family-debt-widget .category-picker-input{box-sizing:border-box;min-height:42px;height:42px;width:100%;min-width:0;padding:8px 12px;margin:0;border:1px solid #c7dbe3;border-radius:6px;background-color:#fff;box-shadow:none;color:inherit;font-size:13px;line-height:24px}
.family-debt-widget .fd-tools .category-picker,.family-debt-widget .fd-pager .category-picker{margin:0;min-width:0;width:100%}
.family-debt-widget .fd-tools .category-picker-input{padding-right:44px}
.family-debt-widget .fd-two-lists{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;min-width:0}
.family-debt-widget .fd-two-lists>section{min-width:0}
.family-debt-widget .fd-list-title{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;padding:0 0 8px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:inherit;font-size:14px;font-weight:600;text-align:left}
.family-debt-widget .fd-list-title small{font-size:11px;font-weight:400;color:var(--fd-muted);margin-left:8px}
.family-debt-widget .fd-next-preview{display:flex;align-items:baseline;justify-content:space-between;gap:16px;min-height:72px;padding:12px;background:#f5f9fa;border-radius:8px;margin-bottom:12px}
.family-debt-widget .fd-next-preview p{font-size:11px;line-height:18px;color:var(--fd-muted)}
.family-debt-widget .fd-next-preview strong{display:block;font-size:17px;line-height:26px;font-weight:600;letter-spacing:0;white-space:nowrap}
.family-debt-widget .fd-next-date{font-size:12px;line-height:20px;text-align:right;white-space:nowrap}
.family-debt-widget .fd-next-date small{display:block;font-size:10px;line-height:16px;color:var(--fd-muted)}
.family-debt-widget .fd-master-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;min-width:0}
.family-debt-widget .fd-master-list,.family-debt-widget .fd-detail-pane{min-width:0}
.family-debt-widget .fd-detail-pane{padding-left:20px;border-left:1px solid var(--fd-line)}
.family-debt-widget .fd-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:8px 12px;min-width:0;min-height:64px;padding:8px 12px;border-radius:6px;cursor:pointer;user-select:text}
.family-debt-widget .fd-row+.fd-row{margin-top:4px}
.family-debt-widget .fd-row:hover{background:#f3f8fa}
.family-debt-widget .fd-row[data-selected=true]{background:#edf7f5;box-shadow:inset 3px 0 #10a68c}
.family-debt-widget .fd-row-name{display:flex;align-items:baseline;gap:8px;min-width:0;font-size:13px;line-height:20px;overflow-wrap:anywhere}
.family-debt-widget .fd-row-name>span{min-width:0}
.family-debt-widget .fd-row-name small{display:block;font-size:10px;line-height:16px;color:var(--fd-muted)}
.family-debt-widget .fd-debt-dot{width:7px;height:7px;min-width:7px;border-radius:50%;background:var(--debt-color);align-self:start;margin-top:6px}
.family-debt-widget .fd-row-values{min-width:0;text-align:right;white-space:nowrap}
.family-debt-widget .fd-row-values strong{display:block;font-size:15px;line-height:24px;font-weight:600;letter-spacing:0;overflow-wrap:normal}
.family-debt-widget .fd-row-values small{display:block;font-size:11px;line-height:18px;color:var(--fd-muted)}
.family-debt-widget .fd-row-values .fd-muted{display:block;max-width:100px;font-size:11px;line-height:16px;white-space:normal;text-align:right}
.family-debt-widget .fd-row-arrow{display:flex;width:20px;color:#658092}
.family-debt-widget .fd-row[data-selected=true] .fd-row-arrow{color:#087e68}
.family-debt-widget .fd-with-row-bar{padding-bottom:16px}
.family-debt-widget .fd-row-track{position:absolute;left:12px;right:12px;bottom:4px;height:8px;background:#edf2f4;border-radius:3px;pointer-events:none}
.family-debt-widget .fd-row-fill{position:absolute;left:0;bottom:0;height:3px;border-radius:3px;background:var(--debt-color);transition:height .12s ease,filter .12s ease}
.family-debt-widget .fd-row[data-selected=true] .fd-row-fill{height:5px}
.family-debt-widget .fd-row.fd-highlight{background:#edf6f7;box-shadow:inset 3px 0 var(--debt-color)}
.family-debt-widget .fd-highlight .fd-row-fill{height:8px;filter:saturate(1.15) brightness(.9)}
.family-debt-widget .fd-highlight .fd-debt-dot{box-shadow:0 0 0 3px #dbe9e8}
.family-debt-widget .fd-row-percent{color:var(--fd-muted);font-weight:400;white-space:nowrap}
.family-debt-widget .fd-payment-sort{min-height:80px}
.family-debt-widget .fd-detail-heading>small{display:block;font-size:11px;line-height:18px;color:var(--fd-muted)}
.family-debt-widget .fd-detail-heading h3{font-size:16px;line-height:24px;font-weight:600;overflow-wrap:anywhere}
.family-debt-widget .fd-detail-total{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:16px 0;padding-bottom:16px;border-bottom:1px solid var(--fd-line)}
.family-debt-widget .fd-detail-total>span{font-size:11px;line-height:18px;color:var(--fd-muted)}
.family-debt-widget .fd-detail-total strong{font-size:22px;line-height:30px;font-weight:650;letter-spacing:0;white-space:nowrap}
.family-debt-widget .fd-detail-next{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:20px}
.family-debt-widget .fd-detail-next>div:first-child>span{display:block;font-size:11px;line-height:18px;color:var(--fd-muted)}
.family-debt-widget .fd-detail-next strong{display:block;font-size:20px;line-height:30px;letter-spacing:0;font-weight:600}
.family-debt-widget .fd-detail-next strong .fd-muted{font-size:12px;line-height:20px;font-weight:400}
.family-debt-widget .fd-next-when{text-align:right;font-size:11px;line-height:18px;color:var(--fd-muted)}
.family-debt-widget .fd-next-when>span{display:block;font-size:13px;line-height:22px;font-weight:600;color:#476c7e}
.family-debt-widget .fd-detail-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.family-debt-widget .fd-detail-metrics dl{margin:0;min-width:0}
.family-debt-widget .fd-detail-metrics dt{margin:0 0 4px;font-size:11px;line-height:18px;color:var(--fd-muted);overflow-wrap:anywhere}
.family-debt-widget .fd-detail-metrics dd{margin:0;font-size:14px;line-height:22px;font-weight:550;overflow-wrap:anywhere}
.family-debt-widget .fd-detail-metrics dd>small{display:block;font-size:10px;line-height:16px;color:var(--fd-muted);font-weight:400}
.family-debt-widget .fd-detail-history{display:flex;align-items:baseline;gap:12px;margin-top:20px;padding-top:12px;border-top:1px solid var(--fd-line);font-size:11px;line-height:18px}
.family-debt-widget .fd-detail-actions{margin-top:20px}
.family-debt-widget .fd-account-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--fd-green);font-size:12px;line-height:20px;text-decoration:underline;text-underline-offset:3px}
.family-debt-widget .fd-account-link .fd-icon{width:16px;height:16px;flex-basis:16px}
.family-debt-widget .fd-empty{padding:12px 0;font-size:13px;line-height:22px;color:var(--fd-muted)}
.family-debt-widget .fd-retry{min-height:44px;padding:8px 12px;border:1px solid #c7dbe3;background:#fff;border-radius:6px;box-shadow:none;font-size:13px;color:var(--fd-green)}
.family-debt-widget .fd-pager{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:16px;min-height:44px;font-size:12px;line-height:20px;color:var(--fd-muted)}
.family-debt-widget .fd-pager>button{display:flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;margin:0;padding:0;border:1px solid #d5e3e9;background:#fff;border-radius:6px;box-shadow:none;color:#53798b}
.family-debt-widget .fd-pager label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;white-space:nowrap}
.family-debt-widget .fd-pager label .category-picker{width:80px}
.family-debt-widget .fd-pager .category-picker-input{height:44px;min-height:44px;padding-left:8px;padding-right:36px}
.family-debt-widget .fd-monthly-period{font-size:12px;line-height:20px;color:var(--fd-muted);margin-bottom:12px}
.family-debt-widget .fd-monthly-intro{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.7fr);gap:24px;align-items:start;margin-bottom:20px}
.family-debt-widget .fd-rate-block{padding-right:24px;border-right:1px solid var(--fd-line)}
.family-debt-widget .fd-rate-trigger{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:0;border:0;border-radius:4px;background:transparent;box-shadow:none;text-align:left;color:inherit}
.family-debt-widget .fd-rate-value{display:block;font-size:32px;line-height:42px;font-weight:600;letter-spacing:0;white-space:nowrap}
.family-debt-widget .fd-rate-value small{font-size:12px;font-weight:400;color:var(--fd-muted)}
.family-debt-widget .fd-rate-help-icon{width:16px;height:16px;font-size:11px;line-height:15px;text-align:center;border:1px solid #b4cbd5;border-radius:50%;color:#688795}
.family-debt-widget .fd-rate-trigger:hover .fd-rate-help-icon,.family-debt-widget .fd-rate-trigger[aria-expanded=true] .fd-rate-help-icon{background:#087e68;border-color:#087e68;color:#fff}
.family-debt-widget .fd-rate-block h3,.family-debt-widget .fd-payment-composition h3{font-size:12px;line-height:20px;font-weight:600}
.family-debt-widget .fd-rate-block p{font-size:11px;line-height:18px;color:var(--fd-muted);margin-top:4px}
.family-debt-widget .fd-rate-coverage{display:block;font-size:10px;line-height:16px;color:var(--fd-muted);margin-bottom:4px}
.family-debt-widget .fd-without-composition{grid-template-columns:1fr}
.family-debt-widget .fd-without-composition .fd-payment-composition{display:none}
.family-debt-widget .fd-without-composition .fd-rate-block{padding:0;border:0}
.family-debt-widget .fd-monthly-composition{position:relative;min-width:0}
.family-debt-widget .fd-monthly-strip{display:flex;height:52px;position:relative;align-items:stretch;margin:0 0 4px}
.family-debt-widget .fd-monthly-segment{position:relative;flex-grow:0;flex-shrink:0;min-width:0;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.family-debt-widget .fd-segment-fill{position:absolute;bottom:4px;left:0;right:1px;height:12px;background:var(--segment-color);transition:height .12s ease,filter .12s ease;pointer-events:none}
.family-debt-widget .fd-monthly-segment:first-child .fd-segment-fill{border-radius:6px 0 0 6px}
.family-debt-widget .fd-monthly-segment:last-of-type .fd-segment-fill{border-radius:0 6px 6px 0}
.family-debt-widget .fd-monthly-segment.fd-active .fd-segment-fill{height:24px;filter:saturate(1.18) brightness(.88)}
.family-debt-widget .fd-monthly-segment:focus-visible{outline-offset:1px}
.family-debt-widget .fd-strip-share{position:absolute;top:0;left:0;transform:translateX(-50%);pointer-events:none;font-size:11px;line-height:18px;font-weight:650;color:#284e60;visibility:hidden;white-space:nowrap}
.family-debt-widget .fd-monthly-composition[data-active] .fd-strip-share{visibility:visible}
.family-debt-widget .fd-legend{display:flex;flex-wrap:wrap;gap:0 8px;min-width:0}
.family-debt-widget .fd-monthly-legend{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:4px 6px;margin:0 0 0 -6px;border:0;border-radius:6px;background:transparent;box-shadow:none;color:#547286;font-size:11px;font-weight:500;line-height:20px;text-align:left}
.family-debt-widget .fd-monthly-legend i,.family-debt-widget .fd-monthly-dot{width:7px;height:7px;min-width:7px;border-radius:50%;display:inline-block;background:var(--segment-color)}
.family-debt-widget .fd-monthly-legend.fd-active{background:#e8f4f0;color:#124c44;box-shadow:inset 0 -2px var(--segment-color)}
.family-debt-widget .fd-monthly-head,.family-debt-widget .fd-monthly-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(96px,auto) 92px 124px 20px;align-items:center;gap:12px;min-width:0}
.family-debt-widget .fd-monthly-head{font-size:11px;line-height:20px;color:var(--fd-muted);padding:0 12px 8px;border-bottom:1px solid var(--fd-line)}
.family-debt-widget .fd-monthly-head>span:not(:first-child){text-align:right}
.family-debt-widget .fd-monthly-row{min-height:64px;padding:12px;border-radius:6px;cursor:pointer;user-select:text}
.family-debt-widget .fd-monthly-row.fd-active{background:#edf7f5;box-shadow:inset 3px 0 var(--segment-color)}
.family-debt-widget .fd-monthly-name{display:flex;align-items:center;gap:8px;min-width:0;font-size:13px;line-height:20px;overflow-wrap:anywhere}
.family-debt-widget .fd-monthly-dot{margin:0 2px}
.family-debt-widget .fd-monthly-row.fd-active .fd-monthly-dot{box-shadow:0 0 0 4px #dcece6}
.family-debt-widget .fd-monthly-value{text-align:right;white-space:nowrap;font-size:15px;font-weight:600;line-height:24px}
.family-debt-widget .fd-monthly-row-share{display:block;font-size:10px;line-height:16px;color:var(--fd-muted);font-weight:400}
.family-debt-widget .fd-monthly-row.fd-active .fd-monthly-row-share{color:#126b58;font-weight:550}
.family-debt-widget .fd-monthly-rate{font-size:12px;line-height:20px;text-align:right;white-space:nowrap}
.family-debt-widget .fd-monthly-date{font-size:12px;line-height:20px;text-align:right;white-space:nowrap}
.family-debt-widget .fd-monthly-date small{display:block;font-size:10px;line-height:16px;color:var(--fd-muted)}
.family-debt-widget .fd-no-monthly{margin-top:16px;padding-top:16px;border-top:1px solid var(--fd-line);font-size:12px;line-height:20px;color:var(--fd-muted)}
.family-debt-widget .fd-no-monthly summary{min-height:44px;cursor:pointer}
.family-debt-widget .fd-unscheduled{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;padding-top:8px;font-size:12px;line-height:20px}
.family-debt-widget .fd-unscheduled a{color:var(--fd-green)}
.family-debt-popover{position:fixed;inset:auto;margin:0;max-width:calc(100vw - 24px);padding:12px;border:1px solid #c5dce3;border-radius:10px;background:#fff;color:var(--fd-ink);box-shadow:0 8px 32px #1e485029;z-index:10010;font-family:inherit;font-size:12px;line-height:20px}
.family-debt-popover:not(:popover-open):not([data-fallback-open]){display:none}
.family-debt-popover[hidden]{display:none!important}
.family-debt-popover::backdrop{background:transparent}
.family-debt-popover.fd-summary-menu{width:min(300px,calc(100vw - 24px));padding:8px}
.family-debt-popover.fd-summary-menu h3{padding:4px 8px 8px;font-size:12px;line-height:20px;font-weight:500;color:var(--fd-muted)}
.family-debt-popover.fd-summary-menu button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;margin:0;padding:10px 8px;border:0;border-radius:6px;background:transparent;box-shadow:none;color:inherit;font-size:13px;line-height:20px;text-align:left}
.family-debt-popover.fd-summary-menu button[aria-checked=true]{background:#edf7f3;color:#087e68}
.family-debt-popover.fd-summary-menu button:hover{background:#f2f7f8}
.family-debt-popover .fd-menu-check{display:flex;align-items:center;justify-content:center;width:20px;flex-shrink:0}
.family-debt-popover .fd-currency-label{margin-top:8px;border-top:1px solid #e1ebef;padding-top:12px!important}
.family-debt-popover .fd-save-error{font-size:12px;line-height:20px;color:#a64e3c;padding:8px}
.family-debt-popover.fd-rate-help{width:min(420px,calc(100vw - 24px));max-height:min(560px,70vh);padding:16px;overflow:auto}
.family-debt-popover .fd-help-top{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:8px}
.family-debt-popover .fd-help-top h3{font-size:14px;line-height:22px;font-weight:600}
.family-debt-popover .fd-help-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;margin:-12px -8px -8px 0;padding:12px;border:0;border-radius:6px;background:transparent;box-shadow:none;color:inherit}
.family-debt-popover.fd-rate-help p{margin:8px 0 0}
.family-debt-popover .fd-help-weights{display:grid;gap:6px;max-height:180px;overflow:auto;margin:12px 0;font-size:11px;line-height:18px}
.family-debt-popover .fd-help-weights>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:4px}
.family-debt-popover .fd-help-weights>div:not(:last-child){border-bottom:1px solid #edf2f5}
.family-debt-popover .fd-help-weights>div>span:last-child{white-space:nowrap}
.family-debt-widget[data-compact-controls=true] .fd-top-row{align-items:start;flex-direction:column;gap:8px}
.family-debt-widget[data-compact-controls=true] .fd-tools{width:100%}
.family-debt-widget[data-compact-controls=true] .fd-tools label:first-child{flex:1;width:auto}
.family-debt-widget[data-compact-controls=true] .fd-tools label:last-child{flex:0 1 196px}
.family-debt-widget[data-inline-details=true] .fd-two-lists,.family-debt-widget[data-inline-details=true] .fd-master-detail{grid-template-columns:1fr;gap:20px}
.family-debt-widget[data-inline-details=true] .fd-detail-pane{display:none}
.family-debt-widget[data-inline-details=true] .fd-mobile-detail{margin:4px 0 16px;padding:16px;border-left:1px solid #9bd2c6;background:#f8fbfa}
.family-debt-widget[data-inline-details=true] .fd-row[data-selected=true] .fd-row-arrow .fd-icon{transform:rotate(90deg)}
.family-debt-widget[data-inline-details=true] .fd-monthly-intro{grid-template-columns:1fr;gap:16px}
.family-debt-widget[data-inline-details=true] .fd-rate-block{padding:0;border:0}
.family-debt-widget[data-inline-details=true] .fd-monthly-head{display:none}
.family-debt-widget[data-inline-details=true] .fd-monthly-row{grid-template-columns:minmax(0,1fr) auto 20px;gap:4px 8px}
.family-debt-widget[data-inline-details=true] .fd-monthly-name{grid-column:1;grid-row:1/3}
.family-debt-widget[data-inline-details=true] .fd-monthly-value{grid-column:2;grid-row:1}
.family-debt-widget[data-inline-details=true] .fd-monthly-rate{grid-column:1;grid-row:3;text-align:left;margin-left:19px;font-size:10px;line-height:16px}
.family-debt-widget[data-inline-details=true] .fd-monthly-date{grid-column:2;grid-row:2/4}
.family-debt-widget[data-inline-details=true] .fd-monthly-row>.fd-row-arrow{grid-column:3;grid-row:1/4}
.family-debt-widget[data-inline-details=true] .fd-monthly-legend{min-height:44px;padding-top:8px;padding-bottom:8px}
@media(max-width:999px){
 .family-debt-widget .fd-top-row{align-items:start;flex-direction:column;gap:8px}
 .family-debt-widget .fd-tools{width:100%}
 .family-debt-widget .fd-tools label:first-child{flex:1;width:auto}
 .family-debt-widget .fd-tools label:last-child{flex:0 1 196px}
}
@media(max-width:760px){
 .family-debt-widget .fd-two-lists,.family-debt-widget .fd-master-detail{grid-template-columns:1fr;gap:20px}
 .family-debt-widget .fd-detail-pane{display:none}
 .family-debt-widget .fd-mobile-detail{margin:4px 0 16px;padding:16px;border-left:1px solid #9bd2c6;background:#f8fbfa}
 .family-debt-widget .fd-row[data-selected=true] .fd-row-arrow .fd-icon{transform:rotate(90deg)}
 .family-debt-widget .fd-monthly-intro{grid-template-columns:1fr;gap:16px}
 .family-debt-widget .fd-rate-block{padding:0;border:0}
 .family-debt-widget .fd-monthly-head{display:none}
 .family-debt-widget .fd-monthly-row{grid-template-columns:minmax(0,1fr) auto 20px;gap:4px 8px}
 .family-debt-widget .fd-monthly-name{grid-column:1;grid-row:1/3}
 .family-debt-widget .fd-monthly-value{grid-column:2;grid-row:1}
 .family-debt-widget .fd-monthly-rate{grid-column:1;grid-row:3;text-align:left;margin-left:19px;font-size:10px;line-height:16px}
 .family-debt-widget .fd-monthly-date{grid-column:2;grid-row:2/4}
 .family-debt-widget .fd-monthly-row>.fd-row-arrow{grid-column:3;grid-row:1/4}
 .family-debt-widget .fd-monthly-legend{min-height:44px;padding-top:8px;padding-bottom:8px}
}
@media(max-width:699px){
 .family-debt-widget .fd-card-top{padding:12px}
 .family-debt-widget .fd-heading-toggle{font-size:14px}
 .family-debt-widget .fd-heading-end{gap:4px}
 .family-debt-widget .fd-options{width:44px;min-width:44px;height:44px;flex:0 0 44px;padding:12px;margin:-12px 0}
 .family-debt-widget .fd-options-label,.family-debt-widget .fd-options>.fd-icon:last-child{display:none}
 .family-debt-widget .fd-asof{font-size:10px}
 .family-debt-widget .fd-direction-nav{padding:0 12px 16px;gap:8px;grid-template-columns:1fr 1fr}
 .family-debt-widget .fd-direction{padding:8px 12px;min-height:72px}
 .family-debt-widget .fd-direction strong{font-size:20px;line-height:28px}
 .family-debt-widget .fd-direction[data-direction=monthly]{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 12px}
 .family-debt-widget .fd-direction[data-direction=monthly] strong{margin:0;font-size:16px;line-height:24px}
 .family-debt-widget .fd-content-wrap{padding:0 12px 16px}
 .family-debt-widget .fd-search,.family-debt-widget .fd-sort,.family-debt-widget .category-picker-input{height:44px;min-height:44px;font-size:16px}
 .family-debt-widget .fd-tools label:last-child{flex-basis:184px}
 .family-debt-widget .fd-tools label:last-child .category-picker-input{font-size:12px}
 .family-debt-widget .fd-row-name{font-size:12px;line-height:20px}
 .family-debt-widget .fd-row-values strong{font-size:14px;line-height:22px}
 .family-debt-widget .fd-row-values small{font-size:10px;line-height:16px}
 .family-debt-widget .fd-row-percent{font-size:9px}
 .family-debt-widget .fd-detail-heading h3{font-size:15px;line-height:24px}
 .family-debt-widget .fd-detail-total{flex-wrap:wrap;gap:4px 12px}
 .family-debt-widget .fd-detail-total strong{font-size:20px;line-height:28px}
 .family-debt-widget .fd-detail-next strong{font-size:18px;line-height:28px}
 .family-debt-widget .fd-detail-metrics{gap:16px 12px}
 .family-debt-widget .fd-detail-metrics dt{font-size:10px}
 .family-debt-widget .fd-detail-metrics dd{font-size:13px}
 .family-debt-widget .fd-detail-history{display:block}
 .family-debt-widget .fd-detail-history>span{display:block}
 .family-debt-widget .fd-detail-history>span+span{margin-top:4px}
 .family-debt-widget .fd-rate-value{font-size:28px;line-height:40px}
 .family-debt-widget .fd-unscheduled{grid-template-columns:1fr;gap:4px}
 .family-debt-widget .fd-unscheduled>span:nth-child(even){margin-bottom:12px;font-size:11px}
 .family-debt-widget .fd-pager{gap:6px;font-size:11px}
}
@media(max-width:480px){
 .family-debt-widget .fd-small{font-size:9px;gap:4px}
 .family-debt-widget .fd-tools label:last-child{flex-basis:164px}
 .family-debt-widget .fd-view-title h2{font-size:14px}
}
@media(max-width:360px){
 .family-debt-widget .fd-heading-toggle{font-size:12px;gap:4px}
 .family-debt-widget .fd-tools{flex-wrap:wrap}
 .family-debt-widget .fd-tools label:first-child,.family-debt-widget .fd-tools label:last-child{width:100%;flex-basis:100%}
 .family-debt-widget .fd-count{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.family-debt-widget .fd-row-fill,.family-debt-widget .fd-segment-fill{transition:none}}
