.resource-center{--rc-ink:#26133b;--rc-purple:#7434b0;--rc-border:#e5ddee;color:var(--rc-ink)}
body:has(.resource-center){background:#f6f3fb}
body:has(.resource-center) .layout{grid-template-columns:225px minmax(0,1fr)}
body:has(.resource-center) .side{background:#25172f}
body:has(.resource-center) main#content{padding:16px 18px 26px;background:linear-gradient(135deg,#f9f7fc,#f2edf9)}
body:has(.resource-center) .top{height:46px;background:#fbfaff;border-bottom:1px solid #e8e1f0}
body:has(.resource-center) .side .brand{padding:5px 0 24px}
.rc-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 6px 12px}
.rc-heading h1{font-size:30px;line-height:1.2;font-weight:850;letter-spacing:-.8px;margin:0 0 4px}
.rc-heading p{font-size:15px;margin:0;color:#635177}
.rc-heading>div:last-child{display:flex;gap:12px;flex-shrink:0}
.resource-center .btn{min-height:38px;padding:8px 14px;border-radius:8px;font-size:13px;font-weight:700}
.resource-center .btn.primary{background:#7434b0;color:white;border-color:#7434b0}
.resource-center .btn.secondary{background:#fff;border-color:#d7c7e8;color:#482568}
.resource-center .btn.text{background:transparent;color:#7429b1;border-color:transparent;padding-left:7px}
.resource-center .btn.small{min-height:30px;padding:5px 10px;font-size:12px}
.resource-center .ui-icon{filter:invert(20%) sepia(70%) saturate(1700%) hue-rotate(250deg) brightness(87%);flex-shrink:0}
.resource-center .primary .ui-icon{filter:brightness(0) invert(1)}
.rc-tabs{display:flex;gap:12px;border-bottom:1px solid var(--rc-border);margin:0 6px 18px}
.rc-tabs button{border:0;background:transparent;color:#594471;padding:11px 18px 12px;border-bottom:3px solid transparent;font:inherit;font-size:14px;cursor:pointer}
.rc-tabs button.active{color:#7428b0;border-bottom-color:#7c38b9;font-weight:800}
.rc-layout{display:grid;grid-template-columns:245px minmax(0,1fr) 310px;gap:12px;align-items:start}
.rc-batches,.rc-lot,.rc-side>details,.rc-footer,.rc-list-view{border:1px solid var(--rc-border);border-radius:14px;box-shadow:0 3px 12px #35134506}
.rc-batches{grid-row:1/3;background:#faf8fe;padding:20px 12px;min-height:700px}
.rc-batches h2{display:flex;align-items:center;gap:12px;font-size:21px;margin:0 3px 20px;letter-spacing:-.6px}
.rc-batches h2 .ui-icon{width:29px;height:29px}
.rc-search{display:flex;align-items:center;gap:9px;border:1px solid #d7c8e6;background:#fff;border-radius:9px;padding:0 11px;margin-bottom:14px}
.rc-search input{border:0;outline-offset:4px;padding:10px 0;min-width:0;width:100%;font-size:13px;background:transparent}
.rc-batch-list{display:flex;flex-direction:column;gap:10px}
.rc-batch-list>button{position:relative;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:3px;border:1px solid #e3d8ef;background:#fdfbff;border-radius:10px;padding:13px 15px;color:#38204e;cursor:pointer;min-height:99px}
.rc-batch-list>button:after{content:'›';position:absolute;right:15px;top:36px;font-size:25px}
.rc-batch-list>button.selected{background:linear-gradient(120deg,#f1e7ff,#eadbfc);border-color:#ac7bd6;box-shadow:inset 3px 0 #7c36b5}
.rc-batch-list strong{font-size:20px;font-weight:850}
.rc-batch-list b{font-size:14px}.rc-batch-list small{font-size:12px;line-height:1.4;max-width:92%}
.rc-batch-list>button>span{font-size:11px;color:#766285}
.rc-batches>.btn{margin-top:14px}
.rc-lot{background:#fff;padding:15px 14px 12px;min-width:0}
.rc-lot-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 2px 24px;flex-wrap:wrap}
.rc-lot-title{display:flex;gap:14px;align-items:center}
.rc-lot-title>.ui-icon{width:38px;height:38px}
.rc-lot-title h2{font-size:28px;letter-spacing:-.8px;line-height:1.2;margin:0 0 7px;font-weight:850}
.rc-lot-title p{margin:0;display:flex;align-items:center;gap:8px;font-size:13px;flex-wrap:wrap;color:#4e3267}
.rc-lot-title p .ui-icon{width:17px;height:17px}
.rc-lot-actions{display:flex;gap:8px;padding-top:3px}
.rc-lot-actions .btn{padding:7px 9px;font-size:12px}
.rc-stat-strip{display:grid;grid-template-columns:1.45fr repeat(4,minmax(0,1fr));background:linear-gradient(100deg,#f5edff,#eee2fe);border-radius:12px;padding:12px 8px;gap:4px}
.rc-stat-intro{padding:2px 12px;align-self:center}
.rc-stat-intro h3{font-size:18px;margin:0 0 5px;line-height:1.25;letter-spacing:-.5px}
.rc-stat-intro p{font-size:12px;line-height:1.4;margin:0;color:#513765}
.rc-stat{border-left:1px solid #d7c6ec;display:grid;grid-template-columns:26px auto;justify-content:center;align-content:center;gap:1px 7px;padding:7px 6px;min-width:0}
.rc-stat .ui-icon{width:23px;height:23px;align-self:center}
.rc-stat strong{font-size:27px;line-height:1.1;font-weight:850}
.rc-stat span{grid-column:1/-1;text-align:center;font-size:12px;line-height:1.4}
.rc-stat.good{background:#e1faec;border-radius:10px;border-left-color:transparent}
.rc-stat.bad{background:#fff1f6;border-radius:10px;border-left-color:transparent}
.rc-reconcile{font-size:12px;margin:8px 2px}
.rc-section{margin-top:17px}
.rc-section h3,.rc-footer h3{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:800;margin:0 5px 10px;letter-spacing:-.5px}
.rc-section h3 .ui-icon,.rc-footer h3 .ui-icon{width:24px;height:24px}
.resource-center .table-wrap{border:0;border-radius:0;box-shadow:none;background:transparent}
.resource-center .table{font-size:14px;width:100%;border-collapse:collapse;white-space:normal}
.resource-center .table th{background:#f1e7fd;font-size:12px;font-weight:800;padding:7px 10px;color:#2a163b;white-space:nowrap;border:0}
.resource-center .table td{padding:7px 10px;border-bottom:1px solid #e9e2f0;vertical-align:middle;line-height:1.35}
.resource-center .table td:last-child{white-space:nowrap;text-align:right}
.resource-center .table th:last-child{text-align:right}
.resource-center .table .btn{margin:0}
.resource-center .cell-note{margin-top:3px;font-size:11px;color:#776387;display:block}
.rc-category{display:flex;align-items:center;gap:10px}.rc-category .ui-icon{width:23px;height:23px}
.rc-stock{display:flex;gap:8px;align-items:center}
.rc-stock progress{appearance:none;border:0;border-radius:4px;width:85px;height:8px;overflow:hidden;background:#e7e0ef}
.rc-stock progress::-webkit-progress-bar{background:#e7e0ef;border-radius:4px}
.rc-stock progress::-webkit-progress-value{background:#65cda5;border-radius:4px}
.rc-stock progress::-moz-progress-bar{background:#65cda5;border-radius:4px}
.rc-footnote{font-size:11px;color:#79678b;margin:8px 10px 0}
.rc-chip{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;background:#efe4fe;color:#633294;font-size:11px;font-weight:700;border-radius:7px;white-space:nowrap}
.rc-chip.available,.rc-chip.active{background:#daf9e6;color:#126443}
.rc-chip.unavailable,.rc-chip.expired,.rc-chip.lost{background:#ffe4e9;color:#a52b43}
.rc-chip.closed,.rc-chip.disabled,.rc-chip.cancelled{background:#eeeaf0;color:#73657c}
.rc-side{display:flex;flex-direction:column;gap:12px;min-width:0}
.rc-side>details{padding:16px 13px;background:#fcfaff}
.rc-side summary{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:800;cursor:pointer;letter-spacing:-.6px;list-style:none}
.rc-side summary>.ui-icon{width:27px;height:27px}
.rc-side summary>span{margin-left:auto;font-size:12px;background:#f0e7fa;padding:3px 6px;border-radius:6px}
.rc-side details>div{padding-top:14px}
.rc-side .hint{font-size:13px;line-height:1.4;margin:0 0 13px}
.rc-alert{display:flex;align-items:center;gap:10px;padding:12px 8px;border:1px solid #ebe3f4;background:#fff;border-radius:10px;margin-bottom:9px}
.rc-alert>.ui-icon{width:24px;height:24px}
.rc-alert>div{flex:1;min-width:0}
.rc-alert strong{font-size:13px;display:block;line-height:1.3}
.rc-alert p{font-size:12px;margin:3px 0;color:#6d5b80;overflow-wrap:anywhere}
.rc-alert small{font-size:10px;color:#8b6680}
.rc-alert .btn{font-size:10px;min-width:64px;padding:5px 7px}
.rc-alert.problem>.ui-icon{filter:invert(30%) sepia(88%) saturate(1700%) hue-rotate(325deg)}
.rc-alert.attention{background:#fffdf5}
.rc-service{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#fff;border:1px solid #e5d9f2;border-radius:10px;padding:12px;margin-bottom:9px;color:var(--rc-ink);cursor:pointer}
.rc-service>.ui-icon{width:29px;height:29px}
.rc-service>span{flex:1;min-width:0}.rc-service strong{font-size:14px;display:block}.rc-service small{font-size:11px;display:block;margin-top:4px;color:#68527b}
.rc-service>b{padding:8px 7px;background:#f2e8fd;border-radius:7px;font-size:12px;white-space:nowrap}
.rc-service>b small{text-align:right}
.rc-footer{grid-column:2/4;background:#fff;padding:18px 16px;display:grid;grid-template-columns:1.25fr 1fr 1.25fr;gap:18px;min-width:0}
.rc-footer>div+div{border-left:1px solid #ded0ed;padding-left:20px}
.rc-footer h3{font-size:17px;margin:0 0 13px;gap:10px}
.rc-footer p{font-size:13px;line-height:1.4;margin:6px 0}
.rc-footer>div>strong{font-size:20px}.rc-footer>div>small{display:block;font-size:11px;color:#78638a;margin-top:5px}
.rc-timeline{list-style:none;margin:0 0 0 8px;padding:0 0 0 15px;border-left:1px solid #d5bce9}
.rc-timeline li{position:relative;margin-bottom:13px;font-size:13px}
.rc-timeline li:before{content:'';position:absolute;left:-19px;top:5px;width:7px;height:7px;border-radius:50%;background:#8539c1}
.rc-timeline strong{font-size:12px;font-weight:650;line-height:1.4;display:block}
.rc-timeline small{display:block;font-size:11px;color:#7d698b;margin-top:3px}
.rc-empty{padding:30px 16px;text-align:center;color:#715c85}
.rc-empty h2,.rc-empty h3{color:#392249;font-size:19px}
.rc-empty p{font-size:14px;line-height:1.6}
.rc-back{display:none!important}
.rc-demo{display:inline-flex;gap:6px;align-items:center;background:#a9f2db;color:#183e39;padding:5px 9px;border-radius:6px;font-size:12px;font-weight:700}
.rc-demo .ui-icon{width:16px;height:16px}
.rc-list-view{padding:20px;background:#fff}
.rc-filters{display:flex;gap:13px;align-items:end;flex-wrap:wrap;margin-bottom:12px}
.rc-filters label{font-size:13px;display:flex;flex-direction:column;gap:6px;flex:1;min-width:150px}
.rc-filters input,.rc-filters select{min-height:40px;font-size:14px}
.rc-result-count{font-size:12px;color:#78638a;margin:15px 0}
.rc-detail-title{display:flex;align-items:center;flex-wrap:wrap;gap:14px;font-size:13px;color:#6c557d}
.rc-detail-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:18px;background:#f4ecff;border-radius:10px}
.rc-detail-stats>div{font-size:13px}.rc-detail-stats b{font-size:22px;display:block}
.rc-detail-section{border-top:1px solid #e7ddef;margin-top:18px;padding-top:15px}
.rc-detail-section h3,.rc-detail-section summary{font-size:17px;font-weight:750;margin:0 0 12px;cursor:pointer}
.rc-detail .row-actions{gap:8px;flex-wrap:wrap}
#dialog:has(.rc-detail),#dialog:has(.rc-import){width:min(1000px,calc(100vw - 32px));max-width:1000px}
.rc-form input,.rc-form select,.rc-import input,.rc-import textarea,.rc-target-picker input{font-size:14px}
.rc-form [hidden]{display:none!important}
.rc-review{display:flex;flex-direction:column;gap:7px;padding:16px;background:#f3eafd;border:1px solid #e6d4f7;border-radius:10px;margin-bottom:18px;font-size:14px}
.rc-target-picker label{display:block}.rc-target-picker input{width:100%;margin:6px 0 14px}
#rc-target-results{max-height:420px;overflow:auto}
.rc-target{display:flex;width:100%;flex-direction:column;align-items:flex-start;text-align:left;margin-bottom:7px;white-space:normal}
.rc-target small{margin-top:5px;font-weight:400}
.rc-import>label{display:block;margin-top:16px}
.resource-center button,.rc-target{transition:background-color 170ms,border-color 170ms,box-shadow 170ms}
.resource-center button:hover{border-color:#ab7ad0}.rc-batch-list>button:hover{background:#f1e8fb}
.resource-center :focus-visible{outline:3px solid #a15ad1;outline-offset:3px}
@media(min-width:1700px){.rc-layout{grid-template-columns:260px minmax(0,1fr) 330px;gap:16px}.rc-lot{padding:20px}.rc-batches{min-height:720px}.rc-lot-heading{margin-bottom:25px}.resource-center .table{font-size:14px}.resource-center .table td{padding-top:10px;padding-bottom:10px}.rc-footer{padding:22px}}
@media(min-width:801px) and (max-width:1450px){body:has(.resource-center) .layout{grid-template-columns:195px minmax(0,1fr)}.rc-layout{grid-template-columns:220px minmax(0,1fr)}.rc-batches{grid-row:1/4}.rc-side{grid-column:2;display:grid;grid-template-columns:1fr 1fr}.rc-side summary{font-size:17px}.rc-footer{grid-column:2;gap:12px;grid-template-columns:1.1fr 1fr 1fr}.rc-footer>div+div{padding-left:12px}.rc-footer h3{font-size:15px}.rc-heading h1{font-size:28px}.rc-stat-intro h3{font-size:17px}.rc-lot-actions .btn{font-size:12px}.rc-stock progress{width:64px}}
@media(max-width:800px){body:has(.resource-center) .layout{display:block}body:has(.resource-center) main#content{padding:14px 12px 80px}.rc-heading{display:block;margin:0 0 12px}.rc-heading h1{font-size:27px}.rc-heading p{font-size:14px;line-height:1.45}.rc-heading>div:last-child{margin-top:14px;gap:8px}.rc-heading .btn{flex:1;font-size:12px;padding:9px}.rc-tabs{margin-left:0;margin-right:0;gap:0;overflow:auto;white-space:nowrap}.rc-tabs button{font-size:13px;padding:10px 12px}.rc-layout{display:block}.rc-batches{min-height:0;padding:17px 12px}.rc-batch-list>button{min-height:95px}.rc-lot,.rc-side,.rc-footer{display:none}.rc-show-detail .rc-batches{display:none}.rc-show-detail .rc-lot{display:block;padding:13px}.rc-show-detail .rc-side{display:flex;margin-top:12px}.rc-show-detail .rc-footer{display:flex;flex-direction:column;margin-top:12px}.rc-footer>div+div{border-left:0;border-top:1px solid #e3d8ef;padding:16px 0 0}.rc-back{display:inline-flex!important;margin-bottom:8px}.rc-lot-heading{display:block;margin:0 0 17px}.rc-lot-title h2{font-size:26px}.rc-lot-title>.ui-icon{width:31px;height:31px}.rc-lot-actions{margin-top:15px}.rc-stat-strip{grid-template-columns:1fr 1fr;gap:8px;padding:12px}.rc-stat-intro{grid-column:1/-1;padding:3px 0 6px}.rc-stat-intro p{font-size:13px}.rc-stat{min-height:66px;border:0}.rc-stat span{font-size:13px}.rc-section h3{font-size:19px}.rc-section .table-wrap{overflow:auto}.rc-section .table{min-width:570px}.rc-side>details{padding:15px}.rc-side summary{font-size:20px}.rc-list-view{padding:14px}.rc-filters{gap:10px}.rc-filters label{min-width:125px}.rc-list-view .table{min-width:650px}.rc-detail-stats{grid-template-columns:1fr 1fr}.rc-demo{font-size:10px}.rc-form .form-grid{grid-template-columns:1fr}.rc-detail .table-wrap{overflow:auto}.rc-detail .table{min-width:560px}}
@media(prefers-reduced-motion:reduce){.resource-center *,.rc-target{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.resource-center .btn.text:not(.primary){background:transparent!important;color:#7429b1!important;border-color:transparent!important}
@media(min-width:801px){.rc-batch-list{max-height:580px;overflow:auto}.rc-batches{height:100%;min-height:700px}.rc-batch-list>button{min-height:102px;flex-shrink:0}}

@media(min-width:801px){
 .rc-lot-heading{margin-bottom:18px}.rc-lot-title p{gap:6px}.rc-lot-title h2{margin-bottom:3px}.rc-lot-title .rc-chip{padding:2px 5px}
 .rc-stat-strip{padding:10px 6px}.rc-stat-intro p{font-size:12px}.rc-section{margin-top:14px}
 .resource-center .rc-section .table td{padding:4px 8px}.resource-center .rc-section .table th{padding:5px 8px}
 .rc-unit-inline{font-size:11px;color:#6d597e;white-space:nowrap}.rc-footnote{margin-top:6px}
 .rc-batch-list{max-height:475px}.rc-batches{min-height:0}.rc-batch-list>button{padding:10px 13px;min-height:100px}
 .rc-footer{padding:15px 16px;gap:16px}.rc-footer h3{margin-bottom:10px}.rc-footer p{margin:4px 0}.rc-footer>div>strong{font-size:17px}
 .rc-alert{padding:10px 8px}.rc-alert small{display:none}.rc-service{padding:10px}.rc-side>details{padding:15px 12px}
}

.resource-center .table td{font-size:14px}
@media(min-width:801px){
 .resource-center .rc-section .table .btn.small{min-height:26px;padding:3px 8px}
 .resource-center .rc-section .table td{padding:3px 8px}
 .rc-section h3{margin-bottom:8px}.rc-heading{margin-bottom:8px}.rc-tabs{margin-bottom:14px}
 .rc-footer .btn.text{min-height:28px;padding-top:3px;padding-bottom:3px}
 .rc-lot{padding:15px 14px 12px}.rc-stat-strip{padding:9px 6px}
}

@media(max-width:800px){.resource-center .btn,.resource-center .btn.small,.rc-tabs button{min-height:44px}.rc-target{min-height:48px}}

.rc-service small.rc-due{color:#654297;font-weight:650}.rc-service small.rc-due.attention{color:#8a5209}
