.texsd-manager-shell {
  color: #172033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0 auto;
  max-width: 1480px;
  padding: 24px 22px 70px;
}

.texsd-manager-shell * { box-sizing: border-box; }
.texsd-manager-header { align-items: center; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 20px; }
.texsd-manager-header .texsd-logo { width: 210px; }
.texsd-manager-identity { align-items: center; display: flex; gap: 18px; text-align: right; }
.texsd-manager-identity div { display: grid; }
.texsd-manager-identity span { color: #667085; font-size: 12px; }
.texsd-manager-identity strong { color: #0b1f3f; font-size: 14px; }
.texsd-manager-identity a { color: #1675ef; font-size: 13px; font-weight: 700; text-decoration: none; }

.texsd-manager-nav { background: #0b1f3f; border-radius: 14px; display: flex; gap: 4px; overflow-x: auto; padding: 7px; }
.texsd-manager-nav a { border-radius: 9px; color: #cbdaf0; flex: 0 0 auto; font-size: 14px; font-weight: 700; padding: 11px 14px; text-decoration: none; }
.texsd-manager-nav a:hover, .texsd-manager-nav a:focus-visible { background: rgba(255,255,255,.1); color: #fff; }
.texsd-manager-nav a.is-active { background: #fff; color: #1675ef; }

.texsd-manager-main { padding-top: 26px; }
.texsd-manager-title { align-items: flex-end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 18px; }
.texsd-manager-title h1 { color: #0b1f3f; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 5px 0 0; }

.texsd-manager-shell .button { align-items: center; background: #fff; border: 1px solid #cdd8e7; border-radius: 8px; color: #1675ef; cursor: pointer; display: inline-flex; font-size: 13px; font-weight: 700; justify-content: center; min-height: 40px; padding: 8px 14px; text-decoration: none; }
.texsd-manager-shell .button-small { min-height: 32px; padding: 5px 10px; }
.texsd-manager-shell .button-primary { background: #1675ef; border-color: #1675ef; color: #fff; }
.texsd-manager-shell .button:hover, .texsd-manager-shell .button:focus-visible { box-shadow: 0 6px 20px rgba(22,117,239,.16); }

.texsd-manager-shell .widefat { border-collapse: collapse; font-size: 13px; width: 100%; }
.texsd-manager-shell .widefat th { background: #0b1f3f; color: #fff; font-size: 11px; letter-spacing: .03em; padding: 12px; text-align: left; text-transform: uppercase; }
.texsd-manager-shell .widefat td { border-bottom: 1px solid #e4ebf4; padding: 12px; text-align: left; vertical-align: top; }
.texsd-manager-shell .widefat tbody tr:nth-child(even) td { background: #f8fafd; }
.texsd-manager-shell .widefat a { color: #1675ef; font-weight: 700; text-decoration: none; }
.texsd-manager-shell .widefat .button-primary { color: #fff; }

.texsd-manager-shell input:not([type="checkbox"]),
.texsd-manager-shell select,
.texsd-manager-shell textarea { background: #fff; border: 1px solid #cdd8e7; border-radius: 8px; color: #172033; min-height: 42px; padding: 9px 11px; }
.texsd-manager-shell textarea { min-height: 95px; }
.texsd-manager-shell input[type="file"] { padding: 7px; }
.texsd-manager-shell .notice { border-left: 4px solid #1675ef; border-radius: 7px; margin: 0 0 18px; padding: 11px 14px; }
.texsd-manager-shell .notice p { margin: 0; }
.texsd-manager-shell .notice-success { background: #e7f7ef; border-color: #13875c; color: #0f704a; }
.texsd-manager-shell .notice-error { background: #fff0f0; border-color: #c93636; color: #a72f2f; }
.texsd-manager-shell .notice-warning { background: #fff7df; border-color: #e8a410; color: #7c5600; }

.texsd-user-type-note { background: #eef5ff; border-radius: 8px; color: #52637a; font-size: 12px; padding: 10px 12px; }
.texsd-role-badge { background: #edf4ff; border-radius: 99px; color: #1675ef; display: inline-flex; font-size: 11px; font-weight: 800; padding: 5px 9px; }
.texsd-check-label { align-items: center; display: flex !important; grid-template-columns: auto 1fr; }

.texsd-manager-client-link { color: #1675ef; display: block; font-size: 13px; font-weight: 700; margin-top: 18px; text-decoration: none; }
.texsd-manager-denied { grid-template-columns: 1fr; max-width: 650px; min-height: 0; }
.texsd-manager-denied .texsd-login-panel .texsd-btn { margin-bottom: 14px; width: 100%; }

@media (max-width: 1000px) {
  .texsd-manager-shell .widefat { min-width: 720px; }
  .texsd-admin-panel { overflow-x: auto; }
}

@media (max-width: 700px) {
  .texsd-manager-shell { padding: 18px 14px 50px; }
  .texsd-manager-header, .texsd-manager-title { align-items: flex-start; flex-direction: column; }
  .texsd-manager-identity { justify-content: space-between; text-align: left; width: 100%; }
  .texsd-manager-title .button { width: 100%; }
}
