/* Jini admin visual upgrade: shared with Service Center. Presentation only. */
:root{--ink:#263044;--muted:#7b879c;--line:#e7ecf3;--canvas:#f1f4fa;--surface:#fff;--soft:#f5f7fc;--accent:#465fff;--accent-soft:#edf0ff;--nav:#1c2434;--violet:#465fff;--violet-soft:#edf0ff;--radius:6px;--shadow:0 2px 5px #1b2b4610;color-scheme:light}
body{background:#f1f4fa;color:#263044;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font-family:inherit}button,.button,input,select,textarea{border-radius:6px}button:hover,.button:hover{border-color:#acb8f0}button.primary,.primary,.button.primary{background:#465fff;color:#fff;border-color:#465fff}button.primary:hover,.primary:hover{background:#354ade;border-color:#354ade}a{color:#465fff}h1{letter-spacing:-.6px;font-size:28px}h2{font-size:18px}small,.muted,.hint{color:#7b879c}:where(button,a,input,select,textarea):focus-visible{outline:3px solid #8999ff;outline-offset:3px}
.sidebar,.hr-sidebar{background:#1c2434;color:#bdc7d8;border-right:0;overflow-y:auto}.sidebar .brand,.sidebar .wordmark,.sidebar .brand-dot{color:white}.sidebar .brandmark{background:#465fff;border:0;border-radius:8px;color:white}.sidebar .brand small,.sidebar .nav-caption,.sidebar .nav-label,.sidebar-status,.sidebar-status small,.sidebar footer p,.sidebar footer a{color:#91a0b8}.sidebar nav button,.sidebar .nav-item,.hr-sidebar nav button{color:#bdc7d8;background:transparent;border-color:transparent;border-radius:6px}.sidebar nav button.selected,.sidebar nav button.active,.sidebar .nav-item.selected,.hr-sidebar nav button.active{background:#333e52;color:#fff;border-color:transparent;box-shadow:none}.sidebar nav button:hover,.sidebar .nav-item:hover,.hr-sidebar nav button:hover{background:#293449;color:#fff}.sidebar nav button.selected>span{color:#c0ccff}.sidebar footer{color:#fff;border-color:#344055}.sidebar .ui-icon{color:inherit}.sidebar .avatar,.avatar{background:#edf0ff;color:#465fff;border-radius:50%}.sidebar .chat-nav-badge,.nav-count,.unread-count{background:#465fff!important;color:white!important}.sidebar footer strong,.user-panel strong{color:#fff}.sidebar-identity strong{color:#fff}.sidebar-identity small,.hr-sidebar>a{color:#a8b7d0}.sidebar .user-panel{background:#273246;border-color:#344055}.sidebar .brands{border-color:#344055}.topbar{background:#fff;border-color:#e7ecf3}.workspace,main,.hr-content{background:#f1f4fa}.panel,.card,.metric,.ticket-card,.live-chat-layout{border-radius:6px;border-color:#e7ecf3;box-shadow:0 2px 5px #1b2b4610}.metric,.metric.accented,.metric.response_overdue,.metric.critical{background:#fff;border-color:#e7ecf3}.metric strong,.metric-value,.metric.accented .metric-value,.chat-metrics strong{color:#263044}.metric.accented .metric-head,.metric.accented .metric-note{color:#7b879c}.metric-head .icon,.metric i{color:#6578ed;background:#eef1ff;border-radius:50%;padding:5px;width:30px;height:30px}.metric.active{border-color:#6578ff;box-shadow:0 0 0 1px #6578ff}.table-wrap,table{background:#fff}thead,th{background:#f7f9fc;color:#758198}.segmented,.queue-tabs{background:transparent}.segmented button.on,.queue-tabs button[aria-pressed=true],.desk-page .queue-tabs button[aria-pressed=true]{background:#edf0ff;color:#465fff}.count-pill,.badge.violet{background:#edf0ff;color:#465fff}.filters input,.filters select{background:white}.preview-bar,.connection-banner{background:#eef1ff;color:#566893}.live-chat-list{background:#fbfcff;border-color:#e7ecf3}.live-chat-list nav button[aria-pressed=true],.chat-list-row.active,.chat-list-row.unread{background:#eef1ff;color:#465fff}.chat-list-row.active{border-left-color:#465fff}.chat-row-title strong,.chat-bubble p{color:#344158}.chat-history{background:#f4f6fb}.chat-bubble{background:#fff;border-color:#e4e9f2}.chat-bubble.outgoing{background:#edf0ff;border-color:#dae2ff}.chat-bubble .bubble-who{color:#465fff}.chat-composer{background:white;border-color:#e7ecf3}.chat-composer textarea{background:#fbfcff;border-color:#d9e0ef}.chat-metrics>button{background:#fff;border-radius:6px;border-color:#e7ecf3;box-shadow:0 2px 5px #1b2b4610}.chat-metrics>button[aria-pressed=true]{background:#f6f8ff;border-color:#6578ff}.chat-metrics span,.chat-metrics small{color:#7b879c}.chat-list-row .avatar{background:#edf0ff;color:#465fff}.ticket-card:hover{border-color:#b3bff0}.day.selected{background:#edf0ff;border-color:#465fff}.ticker{background:#edf0ff;color:#465fff}.apply-cta{box-shadow:none}.apply-cta:hover{background:#354ade}.hr-metrics .metric{border-radius:6px}.hr-shell{gap:28px}.hr-sidebar{height:calc(100vh - 85px)}.hr-content .card{border-radius:6px}.monitor-frame{background:#f1f4fa}dialog{border-radius:10px}dialog::backdrop{background:#1c243477}.error,.danger{color:#b83d56}.badge.green,.approved{background:#e8f8f1;color:#21966e}.badge.orange,.pending{background:#fff4e3;color:#a37020}.badge.red,.rejected{background:#fff0f2;color:#bc506d}#message,.toast{background:#26334c}body>header{padding:20px 32px;background:#fff;border-color:#e7ecf3}body>header a{color:#465fff}
@media(max-width:700px){.sidebar{background:#1c2434}.sidebar nav button{color:#bdc7d8}.hr-sidebar{height:auto;background:#1c2434;padding:14px;border-radius:6px}.hr-sidebar nav button{background:transparent;color:#bdc7d8}.hr-sidebar nav button.active{background:#333e52;color:#fff}.hr-sidebar>a{color:#b7c4db}body>header{padding:18px}h1{font-size:25px}}

/* Complete workspace adapters and common format. */
:root{--green:#465fff;--lime:#edf0ff;--border:#e7ecf3;--brand:#465fff;--primary:#465fff}body{font-size:14px;line-height:1.5}input,select,textarea{color:#263044;border-color:#dce3ef;background:#fff;min-height:42px}input[type=checkbox],input[type=radio]{accent-color:#465fff;min-height:0}textarea{line-height:1.6}button{min-height:40px}button:disabled{cursor:not-allowed}.sidebar,.dispatch-nav,.hr-sidebar{background:#1c2434;color:#bdc7d8}.dispatch-nav nav button.selected{background:#333e52;color:white}.dispatch-nav nav button:hover{background:#293449}.dispatch-nav .brand,.sidebar .brand,.sidebar .logo{color:white}.side-user strong,.sidebar .side-user a,.sidebar .side-note{color:#bdc7d8}.sidebar .brand span{color:#a4b2ff}.dispatch-main,.shell main{background:#f1f4fa}.dispatch-metrics .metric,.stats .stat,.stat,.kpi,.stat-card{background:#fff;border:1px solid #e7ecf3;border-radius:6px;box-shadow:0 2px 5px #1b2b4610}.dispatch-metrics .metric.purple{border-color:#e7ecf3;background:#fff}.dispatch-metrics .metric.purple strong{color:#263044}.queue-panel,.order-card,.order-list,.courier-list,.upload-card,.dashboard-card{border-color:#e7ecf3;border-radius:6px;background:#fff}.page-heading,.page-header,.hero,.heading-row{gap:18px}.tabs button[aria-selected=true],.tabs button.active,.tabs .selected{background:#edf0ff;color:#465fff;border-color:#d6dfff}.nav-footer a,.nav-footer button{color:#bdc7d8}.section,.panel,.card,.table-wrap{box-shadow:0 2px 5px #1b2b4610}.file-box{background:#f7f9ff;border-color:#c8d2ed}.login,.sign-in{background:#fff;border:1px solid #e7ecf3;border-radius:10px;box-shadow:0 8px 30px #1b2b4610}.notice,.callout{background:#f2f5ff;border-color:#dfe6fc;color:#627190}.sidebar button.active{background:#333e52;color:white}.sidebar button:hover{background:#293449}.sidebar a{color:#bdc7d8}.status-tabs button[aria-pressed=true],.filters button.active{background:#edf0ff;color:#465fff}.sidebar,.dispatch-nav{overscroll-behavior:contain}.sidebar footer .primary{color:#fff}.brand span{font-weight:500}.muted,small{line-height:1.5}.dialog-head,.dialog-actions{border-color:#e7ecf3}.dialog-actions{background:#f8faff}.page-header h1,.page-heading h1,.hero h1{font-size:28px}.pill{border-radius:5px}.shell .sidebar{border-right:0}.shell .sidebar .brand{font-size:32px;letter-spacing:-1.5px}.shell .sidebar .eyebrow{color:#94a2b8}.shell .sidebar small{color:#94a2b8}.shell .sidebar .side-user{border-color:#344055}.brand small{color:#7b879c}.sidebar .brand small{color:#94a2b8}.shell .sidebar nav button{border:0}.shell .sidebar nav button.active{background:#333e52}.metric .value{font-weight:700}.shell .topbar{background:#fff}.sidebar-status .dot.blue{background:#7487ff}.side-note{font-size:12px}fieldset{border-color:#e7ecf3;border-radius:8px}button.danger{background:#fff;color:#b83d56}button.danger:hover{background:#fff0f2}dialog{box-shadow:0 20px 90px #18243833}
/* Public-facing pages share tokens without the internal navigation layout. */
body.jini-public main{background:transparent;max-width:850px;margin:32px auto;padding:28px;color:#263044}body.jini-public>main>section,body.jini-public .chat-content{border-color:#e7ecf3;border-radius:8px}body.jini-public .brand{color:#263044}body.jini-public h1{font-size:clamp(28px,5vw,42px);line-height:1.15}body.jini-public p,body.jini-public li{line-height:1.7}body.jini-public #message-form button,body.jini-public #consent-form button{background:#465fff;color:white}body.jini-public button{border-radius:6px}body.jini-legal main{max-width:850px;background:white;border:1px solid #e7ecf3;border-radius:8px;padding:36px}body.jini-public main .intro h1{color:#263044}body.jini-public .search-panel{background:#fff;border-color:#e7ecf3}body.jini-public .finder{border-color:#e7ecf3}body.jini-public .theme-arrow{color:inherit}
@media(max-width:760px){.page-heading,.page-header,.hero{flex-wrap:wrap}.sidebar,.dispatch-nav{background:#1c2434}.sidebar nav button,.dispatch-nav nav button{color:#bdc7d8}.shell .sidebar{border:0}.page-header h1,.page-heading h1,.hero h1{font-size:25px}body.jini-public main{padding:18px;margin:12px auto}body.jini-legal main{margin:14px;padding:24px}button{min-height:42px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.owner-section{border:1px solid #e7ecf3;border-radius:6px;box-shadow:0 2px 5px #1b2b4610;background:white}.owner-metric,.owner-executive{background:white;border:1px solid #e7ecf3;border-radius:6px}.owner-section-number{background:#edf0ff;color:#465fff;border-radius:6px}.owner-executive:hover{border-color:#bdc9f4}.owner-metric-label,.owner-metric-note{color:#7b879c}.owner-section-heading{border-color:#e7ecf3}.owner-jumps a{border-radius:6px}.topbar .brand small{letter-spacing:1px}.sidebar .brand small{letter-spacing:1px}
.range-tabs button.selected{background:#465fff;border-color:#465fff;color:white}.range-mark{background:#edf0ff;color:#465fff}.stock-number{color:#465fff}.metric.target{background:white;color:#263044;border:1px solid #e7ecf3}.metric.target .target-head button{color:#465fff}.metric.target small,.target small{color:#7b879c}.meter{background:#edf0ff}.meter i{background:#6578ff}.weekday{background:#f7f9fc}.day.today{background:#f1f4ff}.month-picker input{background:#f5f7fc;color:#263044}.instructions-panel,.project-card{border-radius:6px;border-color:#e7ecf3}.queue-toolbar{background:white;border-color:#e7ecf3}.range-tabs button{border-radius:6px}.live-stock-metrics{border-radius:6px;border-color:#e7ecf3}
.metric.target .metric-value span{color:#7b879c}.media-access-link{background:#1c2434;color:white}.calendar .day .completed-lane{background:#f7f9fc}.owner-section-title h2{color:#263044}
.hub-nav .selected{background:#465fff;color:white}.hub-nav button{border-radius:6px}.eyebrow{color:#7b879c}.sidebar .eyebrow{color:#94a2b8}.metric.target .metric-value span{color:#7b879c}.marketing-tabs .active{background:#edf0ff;color:#465fff}.stats-grid .metric{border-color:#e7ecf3}.hub-nav{border-color:#e7ecf3}

.preview-bar{background:#fff4d9;color:#634616;border-bottom:2px solid #d5a947;padding-block:16px}.preview-bar a{color:#264bc9;text-decoration:underline;font-weight:650}.preview-bar strong{color:#634616}.preview-bar>span{line-height:1.7}

/* Unified internal module layout — 11 October 2026. Keep forms, tables,
   calendars and chat workspaces structured; present report cards one per row. */
body.jini-module{--module-space:24px;--module-border:#e7ecf3;--module-ink:#263044;--module-muted:#7b879c;background:#f1f4fa;color:var(--module-ink)}
.jini-module .module-return{display:flex;align-items:center;gap:12px;margin:0 0 20px;padding:0;border:0;background:transparent;position:static;width:auto}
.jini-module .module-return a{display:inline-flex;align-items:center;min-height:42px;padding:10px 16px;border:1px solid var(--module-border);border-radius:6px;background:#fff;color:#465fff;font-size:14px;font-weight:600;text-decoration:none;line-height:1.4}
.jini-module .module-return a:hover{background:#edf0ff;border-color:#bdc9f4}
.jini-module .module-return a:focus-visible{outline:3px solid #7185ff;outline-offset:3px}
.jini-module :is(.overview-grid,.store-cards,.owner-team-grid,.executive-card-grid,.project-list,.team,.publication,.charts,.ship-orders,.lead-team,.dashboard-analytics){grid-template-columns:minmax(0,1fr)!important;gap:16px}

.jini-module :is(.panel,.card,.metric,.owner-section,.project-card,.ticket-card){border-radius:8px;border-color:var(--module-border);box-shadow:0 2px 5px #1b2b4610;min-width:0;break-inside:avoid}
.jini-module :is(.panel h2,.card h2,.metric h2){color:var(--module-ink)}
.jini-module a[hidden]{display:none!important}
@media(max-width:760px){.jini-module .module-return{margin-bottom:16px}.jini-module .module-return a{min-height:44px}.jini-module :is(.panel,.card){max-width:100%}}
@media print{.jini-module .module-return{display:none}.jini-module :is(.panel,.card,.metric){box-shadow:none;break-inside:avoid}}
.jini-module :is(.shell>aside,.lead-side,.hr-sidebar,.dispatch-nav){background:#1c2434;color:#bdc7d8;border-color:#344055}
.jini-module :is(.shell>aside,.lead-side,.hr-sidebar) :is(h2,.brand,.logo,.lead-brand){color:#fff}
.jini-module :is(.shell>aside,.lead-side,.hr-sidebar) nav :is(button,a){color:#bdc7d8;border-radius:6px}
.jini-module :is(.shell>aside,.lead-side,.hr-sidebar) nav :is(button,a):is(.active,.selected,[aria-current="page"]){background:#333e52;color:#fff}
.jini-module .workflow-hero{background:#fff;border:1px solid #e7ecf3;border-radius:8px}
.jini-module[data-jini-module="/inventory"] .grid,.jini-module[data-jini-module="/dealer-research"] .grid{grid-template-columns:minmax(0,1fr)!important}
.jini-module :is(.owner-metric,.workspace-summary>button,.cards>button){text-align:left}

/* Compact status summaries retain each module's original responsive grid.
   Detailed shipping records occupy a full row with a compact horizontal timeline. */
.jini-module .ship-order{padding:16px 20px;border-radius:8px}
.jini-module .ship-order h3{margin:4px 0}
.jini-module .ship-progress{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px 0}
.jini-module .ship-progress span{padding:6px 8px;background:#f5f7fc;border-radius:5px}
.jini-module .ship-progress .done{background:#e8f8f1}
.jini-module .ship-order-bottom{padding-top:10px}
@media(max-width:650px){.jini-module .ship-order{padding:14px}.jini-module .ship-progress{grid-template-columns:repeat(2,minmax(0,1fr))}}
