:root{--master-header-height:68px}
body.tx-master-portal{padding-top:var(--master-header-height);margin:0;background:#f3f6fb;min-width:0;overflow-x:hidden;color:#122d50}
.tx-master-portal .master-header{position:fixed;inset:0 0 auto;z-index:1020;background:#052754;color:white;box-shadow:0 3px 16px #05275422;padding:env(safe-area-inset-top) max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left))}
.master-header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:68px;max-width:1800px;margin:auto}
.master-header-identity{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.master-isotype{width:42px;height:42px;object-fit:contain;flex:none}.master-operator{font-size:clamp(.72rem,1.3vw,.95rem);font-weight:700;line-height:1.35;overflow-wrap:anywhere;text-transform:uppercase;padding:12px 0;min-width:0}
.master-header-button{border:1px solid #ffffff30;border-radius:11px;background:#ffffff0d;color:white;min-width:42px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:8px;position:relative;flex:none;cursor:pointer}.master-header-button:hover,.master-header-button:focus-visible{background:#ffffff25;color:white;outline:2px solid #64b1ff;outline-offset:2px}.master-header-actions{display:flex;gap:8px;align-items:center;flex:none}.master-logout{padding-inline:12px;font-size:13px}.master-counter{position:absolute;top:-5px;right:-5px;background:#dc3545;color:white;border:2px solid #052754;border-radius:20px;min-width:21px;height:21px;padding:0 4px;font-size:10px;font-weight:800;line-height:17px;text-align:center}.master-counter[hidden]{display:none}
.tx-master-portal .admin-layout{display:block;min-width:0}.tx-master-portal .admin-page{margin:0!important;padding-top:0!important;min-width:0;min-height:calc(100dvh - var(--master-header-height))}.tx-master-portal .admin-content{padding:0 clamp(12px,2vw,28px) 80px;min-width:0;max-width:1800px;margin:auto}.master-module-heading{padding:24px clamp(12px,2vw,28px) 18px;max-width:1800px;margin:auto;min-width:0}.master-module-heading small{font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:#60758e;font-weight:700}.master-module-heading h1{font-size:clamp(21px,3vw,29px);margin:4px 0 16px;color:#052754;overflow-wrap:anywhere}.master-module-navigation{display:flex;gap:7px;flex-wrap:wrap}.master-module-navigation button{border:1px solid #dce5f1;background:#fff;color:#335477;border-radius:10px;padding:9px 13px;font-size:12px;font-weight:600;line-height:1.4}.master-module-navigation button.active{background:#087aff;border-color:#087aff;color:#fff}.master-module-navigation button:focus-visible{outline:3px solid #83baff;outline-offset:2px}
.tx-master-portal .admin-sidebar{position:fixed;inset:0 auto 0 0;width:min(320px,90vw);height:100dvh;overflow-y:auto;z-index:1080;background:#052754!important;transform:translateX(-105%);transition:transform .2s ease;box-shadow:15px 0 50px #00172f4d;padding:0!important}.tx-master-portal .admin-sidebar.open{transform:translateX(0)}.master-sidebar-head{padding:18px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #ffffff22;color:white;font-size:13px;font-weight:800}.tx-master-portal .admin-sidebar nav{padding:14px 10px;min-height:0;background:none}.tx-master-portal .admin-sidebar .master-nav-item{border:0;width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:14px 12px;margin:3px 0;color:#e1edff;background:transparent;border-radius:11px;font-size:13px;font-weight:600}.master-nav-item>i{width:22px;text-align:center;font-size:17px}.master-nav-item.active{background:#087aff!important;box-shadow:inset 3px 0 #ff7600}.master-nav-count{margin-left:auto;background:#dc3545;padding:1px 7px;border-radius:12px;color:#fff;font-size:10px}.tx-master-portal .sidebar-backdrop{position:fixed;inset:0;z-index:1070;background:#001b3b70}.tx-master-portal .sidebar-backdrop[hidden]{display:none!important}
.tx-master-portal .tx-commerce-chat-tongue{left:50%;right:auto;transform:translateX(-50%);bottom:0}.tx-master-portal .footer{display:none}.tx-master-portal .panel,.tx-master-portal .admin-card{min-width:0}.tx-master-portal .panel-head{gap:12px;flex-wrap:wrap}.tx-master-portal .panel-head>div{min-width:0}.tx-master-portal .table-responsive{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.tx-master-portal .admin-content table{min-width:560px}.tx-master-portal .tx-req-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:14px}.tx-master-portal .tx-req-card{min-width:0;overflow-wrap:anywhere}.tx-master-portal .tx-req-card small{white-space:normal}.master-requests-search{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.master-requests-search input{flex:1;min-width:min(100%,180px)}.master-requests-pager{display:flex;justify-content:center;align-items:center;gap:14px;padding:18px 0;flex-wrap:wrap}
.master-inbox{position:fixed;top:calc(var(--master-header-height) + 8px);right:12px;width:min(430px,calc(100vw - 24px));max-height:calc(100dvh - var(--master-header-height) - 20px);border-radius:16px;background:#fff;box-shadow:0 12px 60px #001b3b40;border:1px solid #dce5f1;z-index:1040;display:flex;flex-direction:column;overflow:hidden}.master-inbox[hidden]{display:none}.master-inbox-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px}.master-inbox-head h2{font-size:17px;margin:0}.master-pending-link{background:#edf5ff;color:#075db7;border:0;padding:13px 16px;text-align:left;display:flex;justify-content:space-between;gap:12px;font-weight:700}.master-inbox-tools{padding:10px 16px}.master-inbox-items{overflow-y:auto;min-height:40px;overscroll-behavior:contain}.master-notice{display:flex;align-items:flex-start;gap:10px;text-align:left;width:100%;padding:14px 16px;background:#fff;border:0;border-top:1px solid #edf0f6;color:#243c58}.master-notice.unread{background:#f0f7ff}.master-notice>span:last-child{display:grid;gap:4px;min-width:0;overflow-wrap:anywhere}.master-notice strong{font-size:13px}.master-notice span span{font-size:12px}.master-notice small{font-size:10px;color:#68809b}.master-notice-dot{width:7px;height:7px;background:transparent;border-radius:50%;flex:none;margin-top:6px}.master-notice.unread .master-notice-dot{background:#dc3545}.master-inbox-empty{padding:16px;color:#68809b}.master-inbox-pager{padding:10px 16px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f6}
@media(max-width:575px){.master-header-inner{gap:8px;min-height:60px}.master-header-identity{gap:8px}.master-isotype{width:32px;height:32px}.master-header-button{min-width:36px;min-height:38px;border-radius:9px;padding:7px}.master-header-actions{gap:6px}.master-logout span{display:none}.master-operator{font-size:11px}.master-module-heading{padding-top:18px}.master-module-navigation{flex-wrap:nowrap;overflow-x:auto;padding:0 0 8px;scrollbar-width:thin}.master-module-navigation button{white-space:nowrap;flex:none}.tx-master-portal .panel{padding:14px}.tx-master-portal .modal-dialog{margin:10px;max-width:calc(100vw - 20px)}.tx-master-portal .modal-body{overflow-x:hidden}.tx-master-portal .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tx-master-portal .metric-card{min-width:0}.tx-master-portal .metric-card strong{overflow-wrap:anywhere}.master-inbox{right:8px;width:calc(100vw - 16px)}}
@media(prefers-reduced-motion:reduce){.tx-master-portal .admin-sidebar{transition:none}}

.master-icon{width:21px;height:21px;display:block;flex:none}.master-nav-item>.master-icon{width:22px;height:22px}.tx-master-portal .tx-v35-tabs{display:flex;gap:6px;overflow-x:auto;flex-wrap:nowrap;max-width:100%;padding:4px 0 10px}.tx-master-portal .tx-v35-tabs button{white-space:nowrap;flex:none;padding:8px 12px;border:1px solid #dce5f1;border-radius:9px;color:#365474;background:#f8faff;font-size:12px;line-height:1.4;font-weight:600}.tx-master-portal .tx-v35-tabs button.active{background:#087aff;color:#fff;border-color:#087aff}.tx-master-portal .panel h2{font-size:19px}.tx-master-portal .panel-head small{display:block;font-size:12px;line-height:1.5;margin-top:8px}

/* Nested navigation keeps every module inside its administrative area. */
.master-module-navigation{display:none!important}.master-nav-chevron{margin-left:auto;transition:transform .18s;font-size:20px}.master-nav-parent[aria-expanded="true"] .master-nav-chevron{transform:rotate(180deg)}
.tx-master-portal .admin-sidebar .master-submenu{background:#10467b;border-radius:0 0 12px 12px;padding:6px;margin:-3px 0 9px 12px;border-left:2px solid #4c9de8}.master-submenu[hidden]{display:none!important}
.tx-master-portal .admin-sidebar .master-submenu button{display:block;width:100%;border:0;border-radius:8px;margin:2px 0;padding:12px 14px;text-align:left;background:transparent;color:#e9f4ff;font-family:inherit;font-weight:500;font-size:12px;line-height:1.5;overflow-wrap:anywhere;cursor:pointer}.tx-master-portal .admin-sidebar .master-submenu button:hover{background:#23629b}.tx-master-portal .admin-sidebar .master-submenu button.active{background:#287ec4;color:#fff;box-shadow:inset 3px 0 #ff7600}.master-submenu button:focus-visible{outline:2px solid #ffb06c;outline-offset:-2px}
#sidebar.admin-sidebar nav{display:block!important}#sidebar.admin-sidebar .master-nav-item{display:flex!important;flex-direction:row!important;justify-content:flex-start!important;text-align:left!important;min-height:46px!important;padding:13px 12px!important;font-size:13px!important;line-height:1.5!important;gap:12px!important;background:transparent!important;border:0!important;letter-spacing:0!important}#sidebar.admin-sidebar .master-nav-item.active{background:#0c599e!important;box-shadow:inset 3px 0 #ff7600!important}#sidebar.admin-sidebar .master-submenu button{display:block!important;text-align:left!important;min-height:42px!important;padding:11px 14px!important;font-size:12px!important;line-height:1.5!important;white-space:normal!important;background:transparent!important;border:0!important;color:#e9f4ff!important;font-weight:500!important;letter-spacing:0!important}#sidebar.admin-sidebar .master-submenu button:hover{background:#23629b!important}#sidebar.admin-sidebar .master-submenu button.active{background:#287ec4!important;box-shadow:inset 3px 0 #ff7600!important}

.tx-master-portal.sidebar-open .tx-commerce-chat-tongue{visibility:hidden}
