/* Ruiyutong global white workspace theme. Functional states keep text-only colors. */
:root{--ryt-ink:#111827;--ryt-muted:#4b5563;--ryt-line:#d1d5db;--ryt-blue:#155e9e;--ryt-green:#146c4c;--ryt-amber:#9a6700;--ryt-red:#b42318;--ryt-gray:#526271}
/* Keep page headers concise. Operational status, validation and risk messages stay visible. */
.content>.oa-page-guide,
.content>[class*="-heading"]>div>small:first-child,
.content>[class*="-head"]>div>small:first-child,
.content>[class*="-heading"]>div>h1+p,
.content>[class*="-heading"]>div>h1+span,
.content>[class*="-heading"]>div>h1+small,
.content>[class*="-head"]>div>h1+p,
.content>[class*="-head"]>div>h1+span,
.content>[class*="-head"]>div>h1+small{display:none!important}
html,body{background:#fff!important;color:var(--ryt-ink)!important}
body:not(.login) .shell,body:not(.login) main,body:not(.login) .content{background:#fff!important;color:var(--ryt-ink)!important}
.side{background:#fff!important;color:var(--ryt-ink)!important;border-right:1px solid var(--ryt-line);box-shadow:none!important}
.brand{color:var(--ryt-ink)!important;border-bottom-color:var(--ryt-line)!important}
.brand small,.nav-group-title{color:#4b5563!important}
.nav a,.nav-cluster summary,.nav-cluster>div a,.nav-domain summary,.nav-domain>div a,.nav-main-entries>a{color:var(--ryt-ink)!important;background:#fff!important}
.nav a:hover,.nav a.on,.nav-cluster summary:hover,.nav-cluster>div a:hover,.nav-cluster>div a.on,.nav-domain summary:hover,.nav-domain[open] summary,.nav-domain>div a:hover,.nav-domain>div a.on,.nav-main-entries>a:hover,.nav-main-entries>a.on{background:#f3f4f6!important;color:var(--ryt-ink)!important}
.nav-cluster summary i{border-color:#6b7280!important}.nav-cluster>div a:before{background:#9ca3af!important}.nav-cluster>div a.on:before,.nav-domain>div a.on .nav-step{background:var(--ryt-blue)!important;color:#fff!important}
.super-admin-nav{background:#fff!important;border-top-color:var(--ryt-line)!important}.super-admin-nav span{color:var(--ryt-ink)!important}.super-admin-nav a{color:var(--ryt-red)!important;background:#fff!important}
.top,.content,.panel,.ph,.pb,.metric,.tabs a,.quick-actions .pb a,.option-group,.customer-tabs,.customer-content,.contract-card,.public-box,.loginbox{background:#fff!important;color:var(--ryt-ink)!important}
.top{border-bottom-color:var(--ryt-line)!important}.ph{border-bottom-color:var(--ryt-line)!important}.panel,.metric,.tabs a,.quick-actions .pb a,.option-group,.contract-card,.public-box{border-color:var(--ryt-line)!important}
.content h1,.content h2,.content h3,.content h4,.content h5,.content h6,th,td,label,legend,dt,dd{color:var(--ryt-ink)!important}
body:not(.login) a{color:var(--ryt-ink)}
small,.account-note,.dash-heading p,.dash-heading>span,.empty{color:var(--ryt-muted)}
input,select,textarea{background:#fff!important;color:var(--ryt-ink)!important;border-color:#9ca3af!important}
input::placeholder,textarea::placeholder{color:#6b7280!important}
.mobile-menu{background:#fff!important;color:var(--ryt-ink)!important}
.customer-top,.onboarding-title,.shipment-record-head,.warehouse-scanner{background:#fff!important;color:var(--ryt-ink)!important;border-bottom:1px solid var(--ryt-line)}
.customer-top small,.onboarding-title span,.onboarding-title p,.shipment-record-head span,.shipment-record-head p{color:var(--ryt-muted)!important}
.customer-top a,.onboarding-title a,.shipment-record-head a{color:var(--ryt-ink)!important}
/* Neutralize decorative status fills; borders and text continue to communicate state. */
[class*="-card"],[class*="-panel"],[class*="-box"],[class*="-notice"],[class*="-summary"],[class*="-toolbar"],[class*="-filters"],[class*="-actions"],[class*="-status"],[class*="-state"],[class*="-alert"],[class*="-warning"],[class*="-error"],[class*="-risk"]{background-color:#fff!important}
[class~="current"],[class~="active"],[class~="selected"],[class~="completed"],[class~="done"],[class~="pending"],[class~="approved"],[class~="rejected"],[class~="warning"],[class~="danger"],[class~="critical"],[class~="cancelled"],[class~="skipped"],[class~="overdue"],[class~="late"]{background-color:#fff!important}
table,thead,tbody,tr,th,td{background-color:#fff!important}
/* Buttons use a white surface; the text and border identify the operation. */
.btn,button,input[type="submit"],input[type="button"]{background:#fff!important;color:var(--ryt-ink)!important;border:1px solid #4b5563!important;box-shadow:none!important}
.btn:hover,button:hover,input[type="submit"]:hover,input[type="button"]:hover{background:#f9fafb!important}
/* Context colors make unlabeled operation buttons scannable without colored fills. */
[class*="search"] .btn,[class*="filter"] .btn,[class*="lookup"] .btn{color:var(--ryt-blue)!important;border-color:#82a9c9!important}
[class*="upload"] .btn,[class*="save"] .btn,[class*="submit"] .btn,[class*="confirm"] .btn,[class*="dispatch"] .btn{color:var(--ryt-green)!important;border-color:#8bbda8!important}
[class*="cost"] .btn,[class*="finance"] .btn,[class*="receivable"] .btn,[class*="payable"] .btn,[class*="payment"] .btn{color:var(--ryt-amber)!important;border-color:#c59a43!important}
[class*="delete"] .btn,[class*="reject"] .btn,[class*="cancel"] .btn,[class*="danger"] .btn{color:var(--ryt-red)!important;border-color:#c9827b!important}
.btn.warn,.btn.warning,[class~="warn"] .btn,[class~="warning"] .btn{color:var(--ryt-amber)!important;border-color:#c59a43!important}
.btn.danger,[class~="danger"] .btn,[class~="critical"] .btn{color:var(--ryt-red)!important;border-color:#c9827b!important}
.btn.muted{color:var(--ryt-gray)!important;border-color:#9caeb9!important}
.btn.primary,.btn.success,.btn.confirm,.btn.save,.btn.submit{color:var(--ryt-blue)!important;border-color:#82a9c9!important}
.workflow-handoff-action,.si-step-action,.shipment-view-link,.detail-link{background:#fff!important;color:var(--ryt-blue)!important;border-color:#82a9c9!important}
.si-step-action.si-action--transport{color:var(--ryt-green)!important;border-color:#8bbda8!important}.si-step-action.si-action--finance{color:var(--ryt-amber)!important;border-color:#c59a43!important}.si-step-action.si-action--danger{color:var(--ryt-red)!important;border-color:#c9827b!important}.si-step-action.si-action--neutral{color:var(--ryt-gray)!important;border-color:#9caeb9!important}
/* Prompt/status text colors. */
.danger,.error-flash,[class*="error"],[class~="danger"],[class~="critical"],[class~="rejected"]{color:var(--ryt-red)!important}
.warn,[class~="warn"],[class~="warning"],[class~="pending"],[class~="overdue"],[class~="late"]{color:var(--ryt-amber)!important}
.success,[class~="success"],[class~="approved"],[class~="completed"],[class~="done"],[class~="working"]{color:var(--ryt-green)!important}
.status-tag,[class*="status"],[class*="state"]{color:var(--ryt-gray)!important}
.status-tag.overdue,[class~="danger"] .status-tag,[class~="critical"] .status-tag{color:var(--ryt-red)!important}
.flash,.tool-notice,.oa-page-guide,.mail-security-note{color:var(--ryt-blue)!important;border-left-color:var(--ryt-blue)!important}
.error-flash,.dispatch-inline-error,.warehouse-input-error{color:var(--ryt-red)!important;border-left-color:var(--ryt-red)!important}
.review-status.pending,.contract-deferral-state.pending{color:var(--ryt-amber)!important}.review-status.approved,.contract-deferral-state.fulfilled{color:var(--ryt-green)!important}.review-status.rejected,.contract-deferral-state.rejected{color:var(--ryt-red)!important}
.role-badge{background:#fff!important;color:var(--ryt-gray)!important;border:1px solid #9caeb9}
.si-review-summary-action.si-action--customer,.si-step-action.si-action--customer{color:var(--ryt-blue)!important}.si-review-summary-action.si-action--transport{color:var(--ryt-green)!important}.si-review-summary-action.si-action--finance{color:var(--ryt-amber)!important}.si-review-summary-action.si-action--danger{color:var(--ryt-red)!important}.si-review-summary-action.si-action--neutral{color:var(--ryt-gray)!important}
/* Main navigation hierarchy: larger black labels, restrained secondary copy. */
.nav{gap:8px!important;margin-top:18px!important}.nav-workspace{margin:8px 0 12px!important;padding:13px 12px!important;border:1px solid var(--ryt-line)!important;border-radius:6px!important;background:#fff!important}.nav-workspace>span{color:var(--ryt-muted)!important;font-size:12px!important;font-weight:700!important}.nav-workspace>strong{display:block;margin-top:4px;color:var(--ryt-ink)!important;font-size:18px!important;font-weight:800!important}.nav-workspace summary{color:var(--ryt-muted)!important;font-size:12px!important}.nav-workspace details>div a{border-color:var(--ryt-line)!important;background:#fff!important;color:var(--ryt-ink)!important}
.nav-main-entries{gap:6px!important;margin:8px 0 12px!important;padding-bottom:12px!important;border-bottom:1px solid var(--ryt-line)!important}.nav-main-entries>a{min-height:54px!important;padding:11px 12px!important;border-left:4px solid transparent!important;border-radius:5px!important;background:#fff!important;color:var(--ryt-ink)!important}.nav-main-entries>a:hover,.nav-main-entries>a.on{background:#f3f4f6!important;color:var(--ryt-ink)!important;border-left-color:#111827!important}.nav-main-entries .nav-item-copy strong{font-size:16px!important;font-weight:800!important;line-height:1.35!important;color:inherit!important}.nav-main-entries .nav-item-copy small{margin-top:3px!important;font-size:12px!important;line-height:1.4!important;color:var(--ryt-muted)!important}.nav-main-entries .nav-communication-main{min-height:62px!important;border:1px solid #9caeb9!important;border-left:4px solid var(--ryt-blue)!important;background:#fff!important}.nav-main-entries .nav-communication-main .nav-item-copy strong{font-size:17px!important;color:var(--ryt-ink)!important}.nav-main-entries .nav-communication-main.on{background:#f3f4f6!important}
.nav-domain,.nav-domain+ .nav-domain{margin:0!important;padding:8px 0 0!important;border:0!important;border-top:1px solid var(--ryt-line)!important;background:#fff!important}.nav-domain summary{min-height:46px!important;padding:11px 12px!important;color:var(--ryt-ink)!important;background:#fff!important;font-size:14px!important;font-weight:800!important}.nav-domain summary:hover,.nav-domain[open] summary{background:#f3f4f6!important;color:var(--ryt-ink)!important}.nav-domain>div{gap:3px!important;padding:3px 0 8px 7px!important;background:#fff!important}.nav-domain>div a{min-height:44px!important;padding:10px 10px 10px 25px!important;border-left:3px solid transparent!important;border-radius:4px!important;background:#fff!important;color:var(--ryt-ink)!important;font-size:14px!important;font-weight:700!important}.nav-domain>div a:hover,.nav-domain>div a.on{background:#f3f4f6!important;color:var(--ryt-ink)!important;border-left-color:#111827!important;box-shadow:none!important}.nav-domain>div a .nav-item-copy strong{font-size:14px!important;font-weight:750!important}.nav-domain>div a .nav-item-copy small{margin-top:3px!important;color:var(--ryt-muted)!important;font-size:11px!important}.nav-domain>div a:before{left:11px!important;background:#9ca3af!important}.nav-domain>div a.on:before{background:#111827!important}.nav-domain summary i{border-color:#4b5563!important}.nav-supply{border-top-color:var(--ryt-line)!important}.nav-supply summary,.nav-supply summary:hover,.nav-supply[open] summary{color:var(--ryt-ink)!important;background:#fff!important}
/* Group titles stay visibly larger than the links inside each group. */
.nav-domain>summary{font-size:16px!important;font-weight:800!important}.nav-domain>summary>span{font-size:16px!important;font-weight:800!important;line-height:1.3!important}.nav-domain>summary>span:after{font-size:12px!important;font-weight:500!important;color:var(--ryt-muted)!important}.nav-domain>div a{font-size:13px!important;font-weight:650!important}.nav-domain>div a .nav-item-copy strong{font-size:13px!important;font-weight:650!important;line-height:1.35!important}.nav-domain>div a .nav-item-copy small{font-size:10px!important}
@media(max-width:900px){.side{background:#fff!important}.menu-open:after{background:rgba(17,24,39,.25)!important}}
/* Compact the dashboard lead panel so key work areas get more room. */
.smart-dashboard .dash-intro{min-height:96px!important;gap:16px!important;margin-bottom:12px!important;padding:14px 18px!important;border-left-width:3px!important}
.smart-dashboard .dash-eyebrow{gap:8px!important}.smart-dashboard .dash-eyebrow span{font-size:11px!important}.smart-dashboard .dash-eyebrow b{padding:2px 6px!important;font-size:10px!important}
.smart-dashboard .dash-intro h1{margin:4px 0 3px!important;font-size:22px!important;line-height:1.2!important}.smart-dashboard .dash-intro p{font-size:13px!important;line-height:1.35!important}
.smart-dashboard .dash-health-stack{grid-template-columns:repeat(2,minmax(150px,180px))!important;gap:8px!important;align-self:center!important}
.smart-dashboard .dash-health-stack .dash-health{width:auto!important;min-height:78px!important;padding:10px 12px!important;background:#fff!important;border:1px solid var(--ryt-line)!important;border-radius:4px!important;box-shadow:none!important}
.smart-dashboard .dash-health small{font-size:11px!important;color:var(--ryt-muted)!important}.smart-dashboard .dash-health strong{font-size:28px!important;line-height:1!important;color:var(--ryt-ink)!important}.smart-dashboard .dash-health:after{font-size:11px!important;color:var(--ryt-muted)!important}.smart-dashboard .dash-health span{margin-top:3px!important;font-size:11px!important;color:var(--ryt-muted)!important}.smart-dashboard .dash-health time{margin-top:2px!important;font-size:10px!important;color:var(--ryt-muted)!important}
@media(max-width:680px){.smart-dashboard .dash-intro{padding:13px 14px!important}.smart-dashboard .dash-health-stack{grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important;margin-top:12px!important;align-self:stretch!important}.smart-dashboard .dash-health-stack .dash-health{min-height:74px!important}}
@media(max-width:440px){.smart-dashboard .dash-health-stack{grid-template-columns:1fr!important}}
