/* Scoped workspace styles; shared buttons, card sizes and system shadows remain intact. */
#top-hub-btn{position:relative}#top-hub-btn.has-unread::after{content:"";position:absolute;right:5px;top:5px;width:8px;height:8px;border-radius:50%;background:#e55c69;border:2px solid #fff}
.hub-plane-icon{display:block;width:22px;height:22px;background:currentColor;mask:url('/assets/ui-icons/internal-paper-plane.svg') center/contain no-repeat;-webkit-mask:url('/assets/ui-icons/internal-paper-plane.svg') center/contain no-repeat}
.hub-card{display:flex;flex-direction:column;gap:10px;height:100%;min-height:0;color:#334963}
#dashboard-content .dashboard-widget:is(.widget-type-order_operations,.widget-type-fulfillment_todo,.widget-type-personal_note,.widget-type-personal_reminders) .dashboard-widget-body{max-width:100%;width:100%}
.widget-type-order_operations .hub-card,.widget-type-fulfillment_todo .hub-card{max-width:100%;gap:5px}
.hub-card .hub-big{justify-content:flex-start}
.dashboard-widget.widget-type-order_operations{--widget-accent:#386ca2;--hub-number:#2f5c8a;background:linear-gradient(135deg,#edf6ff,#e2effc 58%,#f8fbff)!important}
.dashboard-widget.widget-type-fulfillment_todo{--widget-accent:#7663a8;--hub-number:#60488c;background:linear-gradient(135deg,#f5f0ff,#ece6fa 58%,#faf8ff)!important}
#dashboard-content :is(.widget-type-order_operations,.widget-type-fulfillment_todo) .dashboard-widget-illustration{width:43%;height:46%;right:0;bottom:16px}
.widget-type-fulfillment_todo .dashboard-widget-illustration{filter:hue-rotate(34deg) saturate(.55)}
.dashboard-widget.widget-type-personal_note{--widget-accent:#92723d;background:linear-gradient(180deg,#f8e7a5 0px,#faeab1 52px,#fff3cd 53px,#fff7de 100%)!important;border-color:#eddfa9!important}
.widget-type-personal_note::before{content:"";position:absolute;inset:52px 0 auto;height:1px;background:#d5b96440;box-shadow:0 3px 8px #af852720;pointer-events:none}
.widget-type-personal_note::after{content:"";position:absolute;right:0;bottom:0;width:43px;height:43px;background:linear-gradient(135deg,#e5c769 0%,#fff0a9 48%,#f2dda0 49%,#fdf9ed 51%);border-radius:14px 0 0 0;box-shadow:-4px -4px 10px #ba943420;pointer-events:none;z-index:3}
.widget-type-personal_note .hub-foot{padding-right:22px}
.dashboard-widget.widget-type-personal_reminders{--widget-accent:#397c91;background:linear-gradient(140deg,#f0fafb,#e8f5f7 60%,#f7fcfd)!important}
.widget-type-personal_reminders .dashboard-widget-illustration{filter:hue-rotate(-20deg) saturate(.6)}
.dashboard-widget.widget-type-personal_reminders.hub-due{--widget-accent:#b65060;background:linear-gradient(140deg,#fff7f5,#ffe5e7)!important;border-color:#eb99a2!important}
.hub-big{display:flex;align-items:baseline;gap:10px;margin:3px 0 7px;padding:0!important;background:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important;text-align:left}.hub-big strong{color:var(--hub-number,var(--widget-accent));font-size:40px;line-height:1.2;font-weight:750;letter-spacing:-1px;font-variant-numeric:tabular-nums}.hub-big span,.hub-muted{font-size:12px;color:#718198}
.widget-type-fulfillment_todo .hub-big{margin-bottom:13px}
.hub-metrics{display:flex;flex-direction:column;gap:0;max-width:72%}.hub-metrics>span,.hub-metrics>button{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-width:0;min-height:37px;font-size:13px;background:transparent;border:0;border-bottom:1px solid rgba(92,109,131,.12);color:inherit;padding:7px 0;border-radius:0;box-shadow:none;text-align:left;white-space:nowrap;transition:color 160ms ease,transform 160ms ease}.hub-metrics b{color:var(--hub-number,var(--widget-accent));font-size:15px}.hub-metrics>span:hover,.hub-metrics>button:hover{color:var(--widget-accent);transform:translateX(2px)}
.hub-order-amount{display:flex;align-items:baseline;gap:10px;padding:0 0 9px;border-bottom:1px solid rgba(92,109,131,.12)}.widget-type-order_operations{--hub-order-number-size:40px}.widget-type-order_operations .hub-big strong,.hub-order-amount>strong{color:var(--hub-number);font-size:var(--hub-order-number-size);font-weight:750;line-height:1.2;letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.widget-type-order_operations .hub-order-unit{font-size:14px;font-weight:600;color:#718198}.hub-order-period{margin-left:0}
.widget-type-order_operations .hub-card>.hub-muted{font-size:10px;line-height:1.5;margin-top:auto}
.hub-note{width:100%;min-height:86px;flex:1;resize:none;border:0!important;background:transparent!important;padding:4px 0!important;outline:none;box-shadow:none!important;line-height:1.65;color:#665837;font-size:14px}
.hub-foot{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.hub-foot small{flex:1;min-width:90px;color:#8c7b57;font-size:11px}.hub-foot button{font-size:12px;padding:5px 9px;min-height:28px}
.hub-reminder-summary,.dashboard-widget-head>.hub-reminder-summary{display:flex;align-items:center;justify-content:flex-start;gap:6px;align-self:center;margin-left:0;padding:3px 7px;min-height:24px;border:1px solid #6b9bab30;border-radius:7px;background:#d6ecf280;color:var(--widget-accent);box-shadow:none;line-height:1.2;white-space:nowrap;flex-shrink:0}.hub-reminder-summary strong{font-size:12px}.hub-due .hub-reminder-summary{background:#f9d4db80;border-color:#d88d9b40}.hub-plain{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:inherit!important;text-align:left}
.widget-type-personal_reminders .dashboard-widget-head{margin-bottom:7px;gap:6px}.widget-type-personal_reminders .hub-card{gap:5px;justify-content:center}
.hub-icon-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-height:28px;padding:4px!important;border:0!important;background:transparent!important;color:inherit!important;box-shadow:none!important;border-radius:8px;flex-shrink:0}
.hub-icon-button:hover{background:#63779112!important}.hub-icon-button .asset-icon,.hub-note-actions .asset-icon{width:18px;height:18px}.hub-icon-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.hub-foot .hub-icon-button{color:#8c713d!important}.hub-foot .hub-icon-button .asset-icon{width:20px;height:20px}.hub-foot [data-hub="note-clear"] .asset-icon{filter:drop-shadow(.35px 0 currentColor) drop-shadow(-.35px 0 currentColor) drop-shadow(0 .35px currentColor) drop-shadow(0 -.35px currentColor)}
.widget-type-personal_reminders .dashboard-widget-head .hub-icon-button svg{width:23px;height:23px;stroke-width:2}
.hub-note-actions{display:flex;justify-content:flex-end;margin-top:20px}.hub-note-actions>button{display:flex;align-items:center;gap:8px}
.hub-calendar-mini{width:100%;max-width:360px;min-width:0;margin-inline:auto}.hub-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.hub-calendar-nav strong{font-size:14px;font-weight:650}.hub-calendar-nav .hub-icon-button{font-size:24px}
.hub-calendar-week,.hub-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;gap:3px}.hub-calendar-week{font-size:11px;color:#7e96a0;margin-bottom:5px}.hub-calendar-days>button{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:25px;padding:3px 0;border:0;border-radius:7px;background:transparent;color:#466777;box-shadow:none;font-size:12px;line-height:1.2}
.hub-calendar-days>button:hover{background:#d3eaf0}.hub-calendar-days>button.is-today{font-weight:750;color:#19667f;box-shadow:inset 0 0 0 1px #76afc3}.hub-calendar-days>button.is-selected{background:#4788a0;color:white}.hub-calendar-days i{position:absolute;right:-1px;top:-3px;min-width:12px;height:12px;line-height:12px;padding:0 2px;border-radius:4px;background:#e6a84d;color:#fff;font-size:8px;font-style:normal}.hub-calendar-days i.is-done{background:#abbcc3}
.hub-calendar-mini .hub-calendar-nav{margin-bottom:4px}.hub-calendar-mini .hub-calendar-days{gap:2px 1px;justify-items:center}.hub-calendar-mini .hub-calendar-week{margin-bottom:4px}.hub-calendar-mini .hub-calendar-days>button{width:29px;max-width:100%;height:29px;min-height:29px;padding:0}.hub-calendar-mini .hub-calendar-days[data-rows="6"]{row-gap:1px}.hub-calendar-mini .hub-calendar-days[data-rows="6"]>button{width:25px;height:25px;min-height:25px}
.hub-reminder-layout{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(0,1fr);gap:30px}.hub-reminder-layout>aside{padding-right:26px;border-right:1px solid #e5edf1}.hub-reminder-layout>aside>.hub-muted{display:block;margin-top:16px;line-height:1.6}.hub-reminder-layout .hub-calendar-days>button{min-height:38px;font-size:14px}.hub-reminder-layout .hub-calendar-nav{margin-bottom:18px}.hub-reminder-layout .hub-calendar-nav strong{font-size:17px}.hub-reminder-layout .hub-calendar-week{margin-bottom:12px}.hub-reminder-layout .hub-calendar-days i{font-size:10px;min-width:15px;height:15px;line-height:15px}
.hub-reminder-day-head small{color:#8497a4;font-size:12px}.hub-reminder-day-head h3{font-size:22px;margin:7px 0 18px;color:#34657c}.hub-reminder-empty{padding:26px 0;color:#5c7b8b;font-size:14px;line-height:1.9}.hub-reminder-empty small{color:#9aabb5;font-size:12px}.hub-reminder-detail{min-width:0}.hub-reminder-detail .hub-reminder-form{margin:22px 0 0;padding:18px;background:#f8fbfc}.hub-reminder-form>button{display:inline-flex;align-items:center;gap:6px}.hub-reminder-form>button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
.asset-icon[data-icon="hub-orders"]{--asset-icon:url('/assets/ui-icons/hub-orders.svg')}.asset-icon[data-icon="hub-fulfillment"]{--asset-icon:url('/assets/ui-icons/hub-fulfillment.svg')}.asset-icon[data-icon="hub-note"]{--asset-icon:url('/assets/ui-icons/hub-note.svg')}.asset-icon[data-icon="hub-reminder"]{--asset-icon:url('/assets/ui-icons/hub-reminder.svg')}
.asset-icon[data-icon="ops-orders"]{--asset-icon:url('/assets/ui-icons/ops-orders.svg')}.asset-icon[data-icon="ops-fulfillment"]{--asset-icon:url('/assets/ui-icons/ops-fulfillment.svg')}.asset-icon[data-icon="label-history"]{--asset-icon:url('/assets/ui-icons/label-history.svg')}.asset-icon[data-icon="inventory-sync"]{--asset-icon:url('/assets/ui-icons/inventory-sync.svg')}.asset-icon[data-icon="data-health"]{--asset-icon:url('/assets/ui-icons/data-health.svg')}
@media(max-width:700px){.hub-reminder-layout{grid-template-columns:1fr;gap:22px}.hub-reminder-layout>aside{border-right:0;border-bottom:1px solid #e5edf1;padding:0 0 20px}.hub-reminder-layout .hub-calendar-days>button{min-height:34px}}
.hub-reminder-list{min-height:0;overflow:auto}.hub-reminder{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #d9e3ee;padding:10px 0}.hub-reminder>div{min-width:0}.hub-reminder small{font-size:11px;color:#7b8aa1}.hub-reminder p{font-size:14px;line-height:1.55;margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.hub-reminder button{flex-shrink:0;font-size:12px}.hub-reminder.is-due small,.hub-due .hub-reminder-summary strong{color:#bd4c59}
.hub-dialog{width:min(700px,92vw);max-width:none;max-height:88vh;border:1px solid #dce6f2;border-radius:20px;padding:0;overflow:hidden;background:#fff;color:#2f4058;box-shadow:0 24px 80px #22395c33}.hub-dialog.hub-wide{width:min(920px,94vw);background:transparent;border-color:rgba(255,255,255,.92);box-shadow:0 26px 72px rgba(15,23,42,.15),inset 0 1px 0 rgba(255,255,255,.96)}
.hub-dialog.hub-wide::backdrop{background:rgba(24,34,49,.16);backdrop-filter:blur(6px) saturate(108%);-webkit-backdrop-filter:blur(6px) saturate(108%)}
.hub-wide .hub-dialog-shell{background:rgba(255,255,255,.68);backdrop-filter:blur(28px) saturate(112%) brightness(1.04);-webkit-backdrop-filter:blur(28px) saturate(112%) brightness(1.04)}
.hub-wide .hub-dialog-body{margin:18px;padding:22px;background:#fff;border:1px solid #e7edf5;border-radius:16px}
.hub-wide .hub-dialog-shell>header{background:rgba(255,255,255,.28);border-bottom-color:rgba(255,255,255,.72)}.hub-dialog::backdrop{background:#22334d55;backdrop-filter:none}
.hub-dialog-shell{display:flex;flex-direction:column;max-height:88vh}.hub-dialog-shell>header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:24px 28px 20px;border-bottom:1px solid #e5ecf4;background:linear-gradient(115deg,#f7faff,#fff)}.hub-dialog header small{font-size:10px;letter-spacing:1.2px;color:#7c91ac}.hub-dialog h2{font-size:25px;color:#294f88;margin:7px 0 0}.hub-dialog h3{font-size:16px}.hub-dialog h3 small{font-size:12px;font-weight:400;color:#8592a5}.hub-dialog-body{position:relative;min-height:0;overflow:auto;padding:24px 28px}.hub-x{border:0!important;background:transparent!important;color:#738298!important;box-shadow:none!important;font-size:26px;line-height:1;padding:8px;min-width:32px}.hub-dialog .hub-note{height:340px;min-height:220px;padding:16px!important;border-radius:12px;background:#fffbef!important;margin-bottom:16px}
.hub-form-row{display:flex;gap:14px}.hub-form-row>*{flex:1;min-width:0}.hub-dialog label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#63758d}.hub-dialog input,.hub-dialog select,.hub-compose textarea{width:100%;min-width:0;border:1px solid #dce5f0;border-radius:10px;padding:10px 12px;background:#fbfcff;color:#334963;font:inherit;box-sizing:border-box}.hub-reminder-form{display:flex;flex-direction:column;gap:14px;padding:18px;background:#f8faff;border:1px solid #e7edf6;border-radius:14px;margin-bottom:24px}.hub-reminder-form>button{align-self:flex-end}.hub-form-error{font-size:13px;color:#b94b5e;margin:0}.hub-pager{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding:12px 0;color:#7f8ea4;font-size:12px}.hub-pager button{font-size:12px}
.hub-message-toolbar{display:flex;gap:10px;margin-bottom:16px}.hub-message-toolbar select{width:auto;flex:1}.hub-message-toolbar button{white-space:nowrap}.hub-message-scroll{height:auto;overflow:visible}
.hub-refresh{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;padding:10px!important}
.hub-refresh svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hub-message-pagination .hw-standard-table-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px 0 24px;background:transparent}
.hub-message-pagination .user-pagination{justify-content:center}
.system-option-avatar{display:inline-flex;align-items:center;justify-content:center;flex:none;width:25px;height:25px;margin-right:9px;vertical-align:middle;border-radius:50%;overflow:hidden;background:#eaf1fc;color:#4973ba;font-size:12px}
.system-option-avatar img{width:100%;height:100%;object-fit:cover}
.hub-dialog .system-control-value:has(.system-option-avatar){display:flex;align-items:center}
.hub-message[data-unread]:focus-visible{outline:2px solid #789bff;outline-offset:2px}.hub-message{display:flex;gap:12px;margin-bottom:12px;padding:16px;border:1px solid #e3eaf4;border-radius:14px;background:linear-gradient(100deg,var(--hub-role-bg,#f3f6fa),#fff 60%)}
.hub-message-main{min-width:0;flex:1}.hub-message-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}.hub-message time{margin-left:auto;font-size:11px;color:#8c99ad}.hub-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;line-height:1.65;font-size:14px}.hub-avatar{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0!important;border:1px solid #dce7f5!important;border-radius:50%;background:#edf4ff!important;color:#4973ba!important;font-size:18px;overflow:hidden;box-shadow:none!important}.hub-avatar img{width:100%;height:100%;object-fit:cover}.hub-role,.hub-private,.hub-new{font-size:10px;font-weight:600;padding:3px 7px;border-radius:7px;white-space:nowrap}.hub-role{background:var(--hub-role-bg);color:var(--hub-role-fg)}.role-purple{--hub-role-bg:#f0e8ff;--hub-role-fg:#7953b9}.role-green{--hub-role-bg:#e7f6ee;--hub-role-fg:#34835b}.role-cyan{--hub-role-bg:#e5f5f9;--hub-role-fg:#2b8599}.role-gold{--hub-role-bg:#fff3d8;--hub-role-fg:#996815}.role-slate{--hub-role-bg:#edf2f8;--hub-role-fg:#687b94}.hub-private{background:#edf0ff;color:#6654b2}.hub-new{background:#ffe9ec;color:#c35a68;font-style:normal}.hub-mention{display:block;color:#4a77b9;margin-top:7px}.hub-empty{padding:70px 20px;text-align:center;color:#8290a5;font-size:14px}
.hub-compose{padding-top:16px;border-top:1px solid #e6ecf5;display:flex;flex-direction:column;gap:10px}.hub-compose textarea{height:84px;resize:vertical;max-height:160px}.hub-compose-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.hub-compose-foot button{display:inline-flex;align-items:center;gap:8px;min-width:100px;justify-content:center}
.hub-compose-foot .hub-plane-icon{width:19px;height:19px}
.hub-message-meta .hub-delete{padding:4px 9px;min-height:26px;border:1px solid #f0d1d6;border-radius:7px;color:#b54656;background:#fff5f6;box-shadow:none;font-size:11px}
.hub-message-meta .hub-delete:hover{background:#fce6e9;border-color:#e6b2bb}
.hub-compose [role=status]{color:#3d7c61}.hub-compose-foot small{font-size:11px;color:#8b99ad}
.hub-profile{position:fixed;max-width:calc(94vw - 24px);box-sizing:border-box;width:270px;padding:24px;display:flex;align-items:center;flex-direction:column;gap:10px;background:#fff;border:1px solid #dde7f4;border-radius:18px;box-shadow:0 12px 48px #2b46742b;z-index:5}.hub-profile .hub-avatar{width:64px;height:64px;font-size:26px}.hub-profile>span:not(.hub-role){font-size:12px;color:#92a0b2}.hub-profile .hub-x{position:absolute;right:8px;top:8px}.hub-profile button:not(.hub-x){width:100%}
@media(max-width:600px){.hub-dialog-shell>header,.hub-dialog-body{padding:18px}.hub-message-toolbar{flex-wrap:wrap}.hub-message time{width:100%;margin-left:0}.hub-form-row{flex-wrap:wrap}.hub-big strong{font-size:32px}}
