/* Receipt reference composition. Scoped: no changes to the other portal pages. */
body.receipt-view{--sv-sidebar-width:234px;color:#203d61;background:#f5faff;font-family:'Segoe UI',Arial,sans-serif}.receipt-view .sv-section-header{display:none}.receipt-view .sv-main{max-width:none;padding:20px 32px 26px}.receipt-view .sv-workspace{margin:0;padding:0}.receipt-workspace{max-width:1600px;margin:0 auto}.receipt-workspace svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.receipt-breadcrumb{height:20px;display:flex;align-items:center;gap:14px;font-size:13px;color:#6684a4}.receipt-breadcrumb a{color:#6281a3;text-decoration:none}.receipt-breadcrumb>span{font-size:24px;line-height:1}.receipt-breadcrumb strong{font-weight:650;color:#18375e}.receipt-hero{display:flex;gap:18px;align-items:center;margin-top:22px;height:70px}.receipt-hero-icon{display:grid;place-items:center;width:70px;height:70px;flex:none;border:8px solid #fff;border-radius:18px;background:#e9f4ff;color:#0069cf;box-shadow:0 6px 18px #0067d00a}.receipt-hero-icon svg{width:34px;height:34px}.receipt-hero h1{margin:0 0 1px!important;color:#0e254b!important;font:750 38px/1.14 'Segoe UI',Arial,sans-serif!important;letter-spacing:-.9px}.receipt-hero p{margin:0;color:#60799b;font-size:18px;line-height:1.5}
.receipt-tabs-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;border-bottom:1px solid #dbe9f7}.receipt-tabs{display:flex;gap:3px;min-height:48px}.receipt-tabs a{display:flex;align-items:center;gap:14px;padding:12px 28px;min-width:167px;border:1px solid #d8e5f2;border-radius:7px 7px 0 0;background:#fff;color:#315a86;text-decoration:none;font-size:15px;font-weight:650}.receipt-tabs a svg{width:23px;height:23px}.receipt-tabs a.is-active{background:linear-gradient(115deg,#0063c8,#0072d9);border-color:#0070d4;color:#fff;box-shadow:0 4px 12px #0068cb1c}.receipt-more{position:relative;align-self:center;color:#577596;font-size:12px}.receipt-more summary{cursor:pointer;list-style:none;display:flex;gap:8px;align-items:center;padding:8px}.receipt-more summary::-webkit-details-marker{display:none}.receipt-more nav{position:absolute;right:0;top:35px;min-width:235px;z-index:30;border:1px solid #d8e6f3;border-radius:12px;box-shadow:0 12px 30px #11385b20;background:#fff;padding:8px}.receipt-more nav a{display:block;text-decoration:none;padding:9px 12px;border-radius:7px;font-size:13px;color:#28537c}.receipt-more nav a:hover{background:#edf5ff}
.receipt-filters{display:grid;grid-template-columns:minmax(145px,.8fr) minmax(325px,1.35fr) minmax(185px,1.05fr) 184px;gap:28px;align-items:end;margin-top:12px;padding:16px 22px;min-height:100px;background:#fff;border:1px solid #edf3fa;border-radius:14px;box-shadow:0 6px 22px #2963a005}.receipt-filters>div{min-width:0}.receipt-filters label:not(.receipt-state-options label),.receipt-filter-label{display:block;font-size:14px;font-weight:650;line-height:1.4;margin:0 0 5px;color:#345c88}.receipt-select{position:relative}.receipt-select>svg{position:absolute;left:14px;top:12px;width:20px;height:20px;color:#557ba3;pointer-events:none}.receipt-select select{width:100%;min-width:0;height:44px;appearance:auto;border:1px solid #d4e2f0;border-radius:7px;background:#fff;padding:8px 29px 8px 45px;color:#213c61;font:500 14px 'Segoe UI',Arial,sans-serif}.receipt-state-options{display:flex;gap:8px;align-items:center;min-height:44px}.receipt-state-options input{position:absolute;opacity:0;width:1px;height:1px}.receipt-state-options label{display:inline-flex;align-items:center;justify-content:center;gap:11px;flex:1;white-space:nowrap;height:44px;padding:8px 14px;margin:0!important;font-size:14px;font-weight:650;border:1px solid #dce7f4;border-radius:100px;background:#f7faff;color:#3b5b80;cursor:pointer;min-width:0}.receipt-state-options input:checked+label{background:#e6f3ff;border-color:#8ec7ff;box-shadow:0 0 0 1px #cbe4ff;color:#0067ce;border-radius:16px}.receipt-state-options label[for$='_1']:before,.receipt-state-options label[for$='_2']:before{content:'';width:12px;height:12px;border-radius:50%;background:#009b59;flex:none}.receipt-state-options label[for$='_2']:before{background:#e60012}.receipt-state-options input:focus-visible+label{outline:3px solid #8bc6ff;outline-offset:2px}.receipt-clear{height:48px;align-self:center;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #d4e2f0;border-radius:8px;background:#f8fbff;color:#0066cc!important;font-size:14px;font-weight:650;text-decoration:none}.receipt-clear svg{width:23px;height:23px}.receipt-filters:not(:has(.receipt-filter-year)){grid-template-columns:minmax(200px,340px) 184px;justify-content:start}
.receipt-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:16px;min-height:98px;align-items:center;padding:16px 8px;border:1px solid #dcecfb;background:linear-gradient(120deg,#edf7ff,#f2f9ff);border-radius:13px}.receipt-stat{display:flex;align-items:center;gap:28px;padding:0 22px;border-right:1px solid #dae9f8;min-width:0}.receipt-stat:last-child{border:0}.receipt-stat-icon{display:grid;place-items:center;width:64px;height:64px;flex:none;border-radius:50%;background:#dfefff;color:#0069cc}.receipt-stat-icon svg{width:30px;height:30px}.receipt-stat.is-danger .receipt-stat-icon{color:#ec1233;background:#ffe3e7}.receipt-stat>div{min-width:0}.receipt-stat>div>span{display:block;font-size:14px;color:#5c7ca5;font-weight:500}.receipt-stat p{margin:2px 0 0;display:flex;align-items:baseline;gap:8px;white-space:nowrap}.receipt-stat strong{font-size:28px;line-height:1.4;font-weight:750;color:#10274d;letter-spacing:-.6px}.receipt-stat small{font-size:14px;color:#5e7ca4}
.receipt-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px;margin:16px 0 12px}.receipt-list-toolbar h2{font-size:16px;font-weight:650;color:#213c66;margin:0}.receipt-list-toolbar>div{display:flex;align-items:center;gap:12px}.receipt-list-toolbar label{margin:0;font-size:13px;color:#5b7ba3}.receipt-list-toolbar select{height:38px;border:1px solid #d3e2f2;border-radius:7px;background:#fff;color:#244466;font:500 14px 'Segoe UI',Arial,sans-serif;padding:7px 32px 7px 12px;min-width:235px}.receipt-list{display:grid;gap:12px}
.receipt-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;background:#fff;border:1px solid #dceaf7;border-radius:13px;box-shadow:0 6px 16px #2668ac08;padding:12px 16px 12px 22px;min-height:126px;gap:0 22px}.receipt-card-content{min-width:0}.receipt-card-header{display:flex;align-items:center;gap:24px;min-height:51px;padding-bottom:6px;border-bottom:1px solid #e4edf7}.receipt-file-icon{display:grid;place-items:center;width:52px;height:52px;flex:none;border-radius:50%;background:#e5f3ff;color:#0069d0}.receipt-file-icon>svg{width:26px;height:26px}.receipt-card-field{display:flex;gap:12px;align-items:center;min-width:80px}.receipt-card-field>svg{width:22px;height:22px;flex:none;color:#6084ad}.receipt-card-field span{display:block;line-height:1.45;color:#6380a6;font-size:12px;white-space:nowrap}.receipt-card-field strong{display:block;color:#123363;font-size:14px;line-height:1.5;font-weight:700;white-space:nowrap}.receipt-card-field:first-of-type strong{font-size:18px}.receipt-badge{display:inline-flex;align-items:center;gap:9px;border-radius:100px;padding:6px 16px;background:#e2f9ef;color:#008951;font-size:13px;font-weight:650;white-space:nowrap;margin-left:auto}.receipt-badge i{width:12px;height:12px;background:currentColor;border-radius:50%;flex:none}.receipt-badge.is-unknown{background:#eef2f7;color:#5a7391}.receipt-card-breakdown{display:flex;gap:0;margin:8px 0 0}.receipt-card-breakdown>div{display:flex;align-items:center;gap:14px;flex:1;min-width:0;padding:0 18px;border-right:1px solid #d1e0f1}.receipt-card-breakdown>div:first-child{padding-left:8px}.receipt-card-breakdown>div:last-child{border:0;padding-right:0}.receipt-card-breakdown>div>svg{flex:none;width:22px;height:22px;color:#3176bb}.receipt-card-breakdown dt{font-size:12px;font-weight:400;color:#6480a5;line-height:1.4;white-space:nowrap}.receipt-card-breakdown dd{font-size:14px;line-height:1.6;font-weight:700;color:#193c6a;margin:0;white-space:nowrap}.receipt-card-side{display:flex;align-items:center;gap:26px;border-left:1px solid #dfebf7;padding-left:22px;min-height:84px}.receipt-total{display:flex;align-items:center;gap:16px}.receipt-total>svg{width:26px;height:26px;color:#0071cd;flex:none}.receipt-total span{font-size:12px;line-height:1.4;color:#5c80a8;display:block}.receipt-total strong{font-size:24px;font-weight:750;line-height:1.5;color:#0062b7;white-space:nowrap}.receipt-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px}.receipt-pdf{display:flex;align-items:center;gap:10px;min-height:46px;padding:10px 16px;border:0;border-radius:8px;color:#fff;background:linear-gradient(115deg,#0064c9,#0074de);box-shadow:0 5px 12px #0067cc22;font:650 14px 'Segoe UI',Arial,sans-serif;white-space:nowrap}.receipt-pdf svg{width:22px;height:22px}.receipt-pdf:disabled{cursor:not-allowed;opacity:.6}.receipt-expand{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:50%;background:#e9f5ff;color:#006bd3;cursor:pointer;flex:none}.receipt-expand svg{width:19px;height:19px}.receipt-expand[aria-expanded=true] svg{transform:rotate(90deg)}.receipt-card.is-returned{border-color:#fc7c86;background:linear-gradient(120deg,#fff5f5,#fff1f2)}.is-returned .receipt-file-icon,.is-returned .receipt-expand{background:#ffdee2;color:#f00020}.is-returned .receipt-badge{background:#ffdee2;color:#e50020}.receipt-card.is-returned .receipt-card-side{min-width:354px;justify-content:space-between}.receipt-detail{grid-column:1/-1;border-top:1px solid #dce9f5;margin-top:14px;padding:16px 6px;color:#557394;font-size:14px}.receipt-detail[hidden]{display:none!important}.receipt-detail h3{font-size:15px;color:#193c65;margin:0 0 12px}.receipt-detail dl{display:flex;gap:40px;flex-wrap:wrap;margin:0}.receipt-detail dt{font-size:12px;font-weight:400}.receipt-detail dd{font-size:14px;font-weight:600;margin:3px 0 0}.receipt-detail p{margin:12px 0 0}.receipt-pdf-notice{font-size:12px;color:#7289a2;margin:16px 0 0}.receipt-expand:focus-visible,.receipt-clear:focus-visible,.receipt-pdf:focus-visible,.receipt-tabs a:focus-visible,.receipt-more summary:focus-visible,.receipt-select select:focus-visible{outline:3px solid #82bfff;outline-offset:3px}
@media(min-width:901px){.receipt-view .sv-topbar{left:var(--sv-sidebar-width);right:0;min-height:60px;height:60px;padding:0 32px;display:flex;justify-content:flex-end;gap:0;background:transparent;box-shadow:none;border:0;backdrop-filter:none;pointer-events:none}.receipt-view .sv-topbar>*{pointer-events:auto}.receipt-view .sv-brand{position:fixed;left:0;top:0;display:flex;align-items:center;gap:11px;padding:12px 22px;width:var(--sv-sidebar-width);height:88px;color:#fff!important;font:650 14px/1.4 'Segoe UI',Arial,sans-serif;text-transform:none;letter-spacing:0;background:#193958}.receipt-view .sv-brand img{width:43px;height:56px}.receipt-view .sv-sidebar{top:0;padding:94px 10px 14px;background:linear-gradient(110deg,#17395d,#132f50);width:var(--sv-sidebar-width);box-shadow:none}.receipt-view .sv-nav{padding:0;display:flex;gap:8px;flex-direction:column}.receipt-view .sv-nav a{padding:12px 18px;min-height:52px;font-size:15px;font-weight:500;color:#dceaff;border-radius:8px}.receipt-view .sv-nav a.is-active{background:linear-gradient(105deg,#086bc2,#075792);box-shadow:inset 0 0 0 1px #1678bf;color:#fff}.receipt-view .sv-page-shell{margin-left:var(--sv-sidebar-width);padding-top:0}.receipt-view .sv-user-tools{gap:18px}.receipt-view .sv-user-copy{text-align:left;font-size:14px}.receipt-view .sv-user{gap:12px}.receipt-view .sv-avatar{order:-1;width:42px;height:42px}.receipt-view .sv-user-copy small{font-size:13px}.receipt-view .sv-user:after{content:'';width:8px;height:8px;border-bottom:2px solid #597ca0;border-right:2px solid #597ca0;transform:rotate(45deg);margin-left:12px;align-self:center}.receipt-view .sv-search-wrap{display:none;position:fixed;right:32px;top:62px;width:400px;z-index:90}.receipt-view .sv-search-wrap.is-open,.receipt-view .sv-search-wrap:focus-within{display:block}.receipt-view .sv-mobile-search{display:inline-grid;place-items:center;border:0;background:transparent;color:#48729a;width:28px;height:32px;font-size:20px;cursor:pointer}.receipt-view.sv-collapsed{--sv-sidebar-width:76px}.receipt-view.sv-collapsed .sv-brand{padding:12px 15px}.receipt-view.sv-collapsed .sv-brand span{display:none}}
@media(min-width:901px) and (max-width:1400px){.receipt-view .sv-main{padding:20px 24px}.receipt-filters{gap:18px;grid-template-columns:minmax(125px,.8fr) minmax(300px,1.4fr) minmax(165px,1fr) 160px;padding:16px}.receipt-stat{gap:16px;padding:0 16px}.receipt-stat-icon{width:52px;height:52px}.receipt-stat strong{font-size:25px}.receipt-card-header{gap:16px}.receipt-card-side{gap:18px;padding-left:18px}.receipt-total{gap:10px}.receipt-card.is-returned .receipt-card-side{min-width:319px}.receipt-card-breakdown>div{padding:0 12px;gap:9px}}
@media(min-width:901px) and (max-width:1200px){.receipt-filters{grid-template-columns:1fr 2fr;gap:14px}.receipt-filters .receipt-clear{align-self:end}.receipt-card{grid-template-columns:1fr;gap:12px}.receipt-card-side,.receipt-card.is-returned .receipt-card-side{border-left:0;border-top:1px solid #dfebf7;padding:12px 0 0;min-height:0;min-width:0;justify-content:space-between}.receipt-stat{gap:10px;padding:0 10px}.receipt-stat-icon{width:42px;height:42px}.receipt-stat-icon svg{width:24px;height:24px}.receipt-stat strong{font-size:22px}.receipt-stat small{display:none}}
@media(max-width:900px){body.receipt-view{--sv-sidebar-width:0px}.receipt-view .sv-main{padding:18px 16px}.receipt-view .sv-page-shell{margin-left:0;padding-top:72px}.receipt-breadcrumb{font-size:12px}.receipt-hero{height:auto;margin-top:18px;gap:12px}.receipt-hero-icon{width:58px;height:58px;border-width:6px}.receipt-hero h1{font-size:31px!important}.receipt-hero p{font-size:15px}.receipt-tabs a{min-width:0;padding:11px 18px;font-size:14px}.receipt-more{font-size:11px}.receipt-filters{grid-template-columns:1fr 1fr;gap:16px;padding:16px}.receipt-filter-state{grid-column:1/-1;grid-row:2}.receipt-clear{height:44px}.receipt-filters:not(:has(.receipt-filter-year)){grid-template-columns:1fr auto}.receipt-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 0}.receipt-stat{gap:14px;padding:0 16px}.receipt-stat:nth-child(2){border:0}.receipt-stat-icon{width:48px;height:48px}.receipt-stat-icon svg{width:25px;height:25px}.receipt-stat strong{font-size:23px}.receipt-stat small{font-size:12px}.receipt-stat>div>span{font-size:12px}.receipt-card{grid-template-columns:1fr;gap:12px;padding:14px 16px}.receipt-card-header{gap:18px;flex-wrap:wrap;padding-bottom:12px}.receipt-card-side,.receipt-card.is-returned .receipt-card-side{border-left:0;border-top:1px solid #dfebf7;padding:12px 0 0;min-height:0;min-width:0;justify-content:space-between}.receipt-card-breakdown{flex-wrap:wrap;gap:14px 0}.receipt-card-breakdown>div{min-width:45%;padding:0 12px;gap:12px}.receipt-card-breakdown>div:nth-child(odd){padding-left:8px}.receipt-card-breakdown>div:nth-child(even){border:0}.receipt-list-toolbar select{min-width:0;max-width:220px}.receipt-list-toolbar label{display:none}.receipt-total strong{font-size:22px}.receipt-list-toolbar{flex-wrap:wrap}.receipt-pdf{padding:10px 13px;font-size:12px}.receipt-actions{gap:10px}.receipt-total{gap:8px}}
@media(max-width:480px){.receipt-view .sv-main{padding:16px 12px}.receipt-hero p{font-size:14px}.receipt-hero h1{font-size:29px!important}.receipt-tabs-row{gap:6px;flex-wrap:wrap}.receipt-tabs a{padding:11px 14px;gap:9px;font-size:13px}.receipt-tabs a svg{width:20px;height:20px}.receipt-more{margin-left:auto}.receipt-filters{gap:14px;padding:14px}.receipt-filters .receipt-clear{font-size:12px;gap:7px;padding:0 10px}.receipt-stats{padding:16px 0}.receipt-stat{padding:0 10px;gap:9px}.receipt-stat-icon{width:38px;height:38px}.receipt-stat-icon svg{width:22px;height:22px}.receipt-stat strong{font-size:21px}.receipt-stat p{gap:5px;flex-wrap:wrap;line-height:1.3}.receipt-stat small{font-size:11px}.receipt-stat>div>span{font-size:11px}.receipt-card-header{gap:12px}.receipt-file-icon{width:42px;height:42px}.receipt-card-field{min-width:85px}.receipt-card-field>svg{width:19px;height:19px}.receipt-card-field:first-of-type{min-width:calc(100% - 60px)}.receipt-card-field:first-of-type strong{font-size:18px}.receipt-badge{padding:5px 11px;font-size:12px;margin-left:0}.receipt-total>svg{display:none}.receipt-total strong{font-size:20px}.receipt-card-side{gap:10px}.receipt-expand{width:34px;height:34px}.receipt-pdf{gap:6px;padding:9px 10px;min-height:40px;font-size:12px}.receipt-pdf svg{width:18px;height:18px}.receipt-card-breakdown dt{white-space:normal}.receipt-list-toolbar select{font-size:12px;max-width:190px}.receipt-list-toolbar h2{font-size:14px}}

/* Alignment from the supplied desktop reference: fixed metadata positions, equal action lanes. */
@media(min-width:1201px){
.receipt-card{grid-template-columns:minmax(0,1fr) 370px;padding-top:10px;padding-bottom:10px}
.receipt-card-header{padding-bottom:4px}.receipt-card-field:first-of-type{width:106px;min-width:106px}.receipt-card-field:nth-of-type(2){width:100px;min-width:100px}.receipt-card-field:nth-of-type(3){width:148px;min-width:148px}.receipt-badge{margin-left:0}
.receipt-card-side,.receipt-card.is-returned .receipt-card-side{min-width:0;width:100%;justify-content:space-between;gap:16px}.receipt-actions{gap:12px}.receipt-pdf{padding:10px 13px}
}
.receipt-view .sv-nav a.is-active:before{display:none}
@media(max-width:480px){.receipt-state-options{gap:6px}.receipt-state-options label{font-size:12px;padding:8px 6px;gap:6px}.receipt-state-options label:before{width:10px!important;height:10px!important}.receipt-filter-year{grid-row:1;grid-column:1}.receipt-filter-state{grid-row:2}.receipt-filter-month{grid-column:1/-1;grid-row:3}.receipt-clear{grid-row:1;grid-column:2}.receipt-filters:not(:has(.receipt-filter-year)){grid-template-columns:1fr}.receipt-filters:not(:has(.receipt-filter-year)) .receipt-filter-month{grid-column:1;grid-row:1}.receipt-filters:not(:has(.receipt-filter-year)) .receipt-clear{grid-column:1;grid-row:2}}

@media(min-width:1401px){.receipt-filters{padding-top:14px;padding-bottom:14px}.receipt-list-toolbar{margin-bottom:7px}}
@media(min-width:901px) and (max-width:1400px){.receipt-card{grid-template-columns:1fr}.receipt-card-side,.receipt-card.is-returned .receipt-card-side{border-left:0;border-top:1px solid #dfebf7;padding:12px 0 0;min-height:0;min-width:0;justify-content:space-between}.receipt-card-header{gap:18px}.receipt-card-field:first-of-type,.receipt-card-field:nth-of-type(2),.receipt-card-field:nth-of-type(3){width:auto;min-width:80px}.receipt-badge{margin-left:auto}}

html:has(body.receipt-view){min-width:0}body.receipt-view{min-width:0}
@media(max-width:350px){.receipt-stat-icon{display:none}.receipt-stat{padding:0 14px}.receipt-stat strong{font-size:22px}.receipt-card-side{flex-wrap:wrap}.receipt-actions{margin-left:auto}.receipt-card-breakdown>div{gap:8px;padding:0 8px}}

/* Keep the original economic navigation above the approved receipt view. */
.receipt-view .r4-finance-nav{display:flex;margin:0 auto 20px;max-width:1600px;gap:8px;scrollbar-width:thin}
@media(min-width:901px){.receipt-view .sv-main{padding-top:72px}}
