/* Financial widgets follow native panel typography and remain inside their grid cell. */
.fw585{--fw585-line:#d9e3ec;--fw585-text:#17394b;--fw585-muted:#5c6e7c;min-width:0;color:var(--fw585-text);font-size:12px;container-type:inline-size}
.fw585 *{box-sizing:border-box}.fw585 button,.fw585 input,.fw585 select{font:inherit}.fw585 button{cursor:pointer}.fw585 button:disabled{cursor:default}
.fw585-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 0 9px}.fw585-navigation,.fw585-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}.fw585 .btn.small{min-height:34px;padding:7px 10px;white-space:nowrap;font-size:12px}.fw585 .fw585-arrow{font-size:23px;line-height:1;width:34px;padding:3px}.fw585-heading{padding-left:5px;font-size:13px;font-weight:650;text-transform:none;overflow-wrap:anywhere}.fw585-control{display:block;min-width:0}.fw585-control input,.fw585-control select{height:34px;min-height:34px;max-width:100%;margin:0;border:1px solid #cfdce7;border-radius:7px;padding:5px 8px;color:#17394b;background:white}.fw585-control input{width:139px}.fw585-tools svg{width:14px;height:14px}
.fw585-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;margin:0 0 10px;color:var(--fw585-muted);font-size:11px;line-height:1.5}.fw585-live{display:inline-flex;align-items:center;white-space:nowrap;font-size:10px}.fw585-live::before{content:'';width:7px;height:7px;background:#159869;border:2px solid #d4eee2;border-radius:50%;box-sizing:content-box;margin-right:5px}.fw585-live-error::before{background:#b36620;border-color:#f6e3ca}
.fw585-status-filter{display:flex;flex-wrap:wrap;gap:8px 15px;background:#f5f8fb;border:1px solid var(--fw585-line);border-radius:8px;padding:10px;margin:8px 0 10px}.fw585-status-filter label{display:flex;align-items:center;gap:5px;cursor:pointer}.fw585-status-filter input{width:16px;height:16px;margin:0;accent-color:#086d7b}
.fw585-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--fw585-line);border-radius:8px;scrollbar-width:thin}.fw585-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:650px}.fw585-weekday{padding:8px;text-align:center;font-size:11px;font-weight:650;color:var(--fw585-muted);border-bottom:1px solid var(--fw585-line);background:#f7f9fc}.fw585-day{min-width:0;min-height:265px;border-right:1px solid var(--fw585-line);border-bottom:1px solid var(--fw585-line);background:#fff;padding:0 4px 8px}.fw585-day:nth-child(7n){border-right:0}.fw585-day:nth-last-child(-n+7){border-bottom:0}.fw585-date{display:flex;align-items:center;gap:6px;padding:7px 5px;margin:3px 0;width:100%;min-height:34px;border:0;background:transparent;color:var(--fw585-text);text-align:left;border-radius:5px}.fw585-date time{font-weight:650;font-size:13px;min-width:23px}.fw585-date small{font-size:9px;color:#096a7e}.fw585-date>span{font-size:10px;color:var(--fw585-muted);margin-left:auto}.fw585-today .fw585-date time{display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#08758b;border-radius:5px;min-height:23px;padding:2px 4px}.fw585-selected{background:#f0f8fb;box-shadow:inset 0 2px #08758b}.fw585-outside{background:#f5f7fa}.fw585-outside .fw585-date{color:#647888}.fw585-events{display:grid;gap:4px;align-content:start;max-height:400px;overflow-y:auto;scrollbar-width:thin}
.fw585-event{display:block;width:100%;min-width:0;border:0;border-radius:4px;padding:5px 6px;font-size:10px;line-height:1.35;text-align:left;overflow:hidden}.fw585-event>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.fw585-event>small{display:block;margin-top:3px;opacity:.9;font-size:11px}.fw585-event:hover{filter:brightness(.95)}.fw585-scheduled{background:#f4d640;color:#514308}.fw585-pending{background:#bc4822;color:#fff}.fw585-forecast{background:#687887;color:#fff}.fw585-realized{background:#147e58;color:#fff}.fw585-review{background:#ac4168;color:#fff}.fw585-canceled{background:#d5dbe1;color:#455261}.fw585-other{background:#e7eef3;color:#294252}.fw585-more{border:0;background:transparent;color:#086477;text-align:left;padding:7px 4px;font-size:11px;line-height:1.4;border-radius:4px}.fw585-more:hover{background:#e2eff4}.fw585-view-month .fw585-day{min-height:132px}.fw585-view-month .fw585-events{max-height:185px}.fw585-view-month .fw585-event{padding:4px 5px;font-size:10px}.fw585-view-month .fw585-event>span{-webkit-line-clamp:1}.fw585-view-day{grid-template-columns:1fr;min-width:0}.fw585-view-day .fw585-day{border:0;min-height:0;padding:5px 9px 12px}.fw585-view-day .fw585-events{max-height:520px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:7px}.fw585-view-day .fw585-event{padding:10px;font-size:12px}.fw585-view-day .fw585-date time{font-size:14px}
.fw585-legend{display:flex;align-items:center;justify-content:flex-end;gap:10px 15px;flex-wrap:wrap;padding:12px 0 0;font-size:10px;color:#506679}.fw585-legend>span{display:inline-flex;align-items:center;gap:5px}.fw585-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex:none}.fw585-footnote{font-size:10px;line-height:1.5;color:var(--fw585-muted);margin:10px 0 0}.fw585-empty{padding:20px 14px;margin:0;text-align:center;color:var(--fw585-muted);background:#f6f9fc;border:1px dashed var(--fw585-line);border-radius:8px;font-size:12px;line-height:1.5}.fw585-empty-note{padding:12px 0 0;text-align:center;color:var(--fw585-muted);font-size:12px}.fw585-error{text-align:left;background:#fff8ed;border-color:#e7c697;color:#80571d}.fw585-error p{margin:0 0 10px}.fw585-warning{font-size:12px;line-height:1.5;background:#fff5e5;border:1px solid #edd3a7;padding:10px;border-radius:7px;color:#80571d}.fw585-pages{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:12px 0 0}.fw585-pages>span{font-size:11px;color:var(--fw585-muted);margin-right:auto}
.fw585-daily-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0 14px;padding:12px 15px;background:#f3f7fa;border:1px solid var(--fw585-line);border-radius:8px;color:#476171;font-size:12px}.fw585-daily-summary>span:last-child{text-align:right}.fw585-daily-summary b{font-size:18px;color:#17394b;margin-right:3px}.fw585-daily-summary small{display:block;font-size:11px;margin-top:4px}.fw585-daily-summary strong{display:block;font-size:19px;line-height:1.4;font-variant-numeric:tabular-nums;color:#17394b;overflow-wrap:anywhere}
.fw585-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(232px,100%),1fr));gap:12px;align-items:start}.fw585-card-grid>.fw585-empty{grid-column:1/-1}.fw585-payment{background:#fff;border:1px solid #dbe4ec;border-radius:8px;box-shadow:0 3px 9px #203d5410;overflow:hidden;min-width:0;padding:13px}.fw585-card-title{display:flex;align-items:flex-start;gap:8px;justify-content:space-between;width:100%;border:0;background:transparent;color:#163b52;font-size:12px;line-height:1.45;text-align:left;padding:0 0 12px;font-weight:650}.fw585-card-title>span{overflow-wrap:anywhere}.fw585-card-title svg{height:15px;width:15px;flex:none;margin-top:2px;color:#6d8798}.fw585-payment dl{margin:0;display:grid;gap:5px;font-size:11px}.fw585-payment dl>div{display:grid;grid-template-columns:79px minmax(0,1fr);align-items:center;gap:8px;min-height:25px}.fw585-payment dt{color:#5a6c7b}.fw585-payment dd{background:#f2f5f8;margin:0;padding:5px 6px;border-radius:3px;color:#385162;text-align:center;overflow-wrap:anywhere;min-height:25px;font-variant-numeric:tabular-nums}.fw585-payment dl>div:nth-child(2) dd{padding:0;background:transparent}.fw585-payment dl>div:nth-child(6) dd{font-weight:650;color:#183b50}.fw585-pill{display:inline-flex;justify-content:center;align-items:center;border-radius:4px;padding:5px 8px;font-size:10px;line-height:1.4}.fw585-payment .fw585-pill{width:100%;font-size:11px;border-radius:3px}.fw585-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.fw585 :focus-visible{outline:2px solid #08758b;outline-offset:2px}.fw585-scroll:focus-visible{outline-offset:-3px}.w537-own-period{display:flex;align-items:center;min-height:36px;padding:7px 9px;background:#f2f7f9;border:1px solid #d9e5eb;border-radius:7px;font-size:11px;font-weight:400;color:#4b6373}
@container(max-width:650px){.fw585-toolbar{align-items:flex-start;flex-direction:column}.fw585-heading{font-size:12px}.fw585-tools{width:100%}.fw585 .btn.small{min-height:38px}.fw585-meta{align-items:flex-start;flex-direction:column}.fw585-legend{justify-content:flex-start}}
@media(max-width:680px),(pointer:coarse){.fw585 .btn.small,.fw585-control input,.fw585-control select{min-height:44px;height:44px}.fw585-control input,.fw585-control select{font-size:16px}.fw585-control input{width:155px}.fw585 .fw585-arrow{width:44px;font-size:26px}.fw585-date{min-height:40px}.fw585-more{min-height:40px}.fw585-event{min-height:32px}.fw585-status-filter label{min-height:38px}.fw585-card-title{min-height:44px}.fw585-toolbar{gap:9px}.fw585-navigation{gap:4px}.fw585-heading{padding:6px 0;width:100%}.fw585-legend{justify-content:flex-start}.fw585-payment{padding:14px}.fw585-payment dl{font-size:12px}.fw585-payment dl>div{min-height:30px}.fw585-payment .fw585-pill{font-size:12px}.fw585-live{font-size:11px}.fw585-card-grid{gap:10px}.fw585-footnote{font-size:11px}}
@media(prefers-reduced-motion:reduce){.fw585 *{scroll-behavior:auto}}
