/* Readable controls and clear action hierarchy for the light company workspace. */
body.psg-panel {
  --p-muted: #53657a;
  --p-border: #dce5ee;
  font-size: 15px;
  line-height: 1.9;
}
.psg-panel input,
.psg-panel select,
.psg-panel textarea { font-size: 15px; min-height: 48px; }
.psg-panel input[type=checkbox] { min-height: 20px; width: 20px; height: 20px; }
.psg-panel input[type=file] { font-size: 13px; padding: 7px; }
.psg-panel input[type=file]::file-selector-button {
  min-height: 44px; padding: 8px 15px; font-size: 14px; font-weight: 600;
  border-radius: 8px; color: #15586b; background: #eaf5f8; border-color: #bed9e1;
}
.psg-panel .p-field > label { font-size: 15px; color: #304258; margin-bottom: 10px; }
.psg-panel .p-help,
.psg-panel .p-editor-aside .p-help,
.psg-panel .p-card-heading p { font-size: 13px; color: #586d80; line-height: 1.95; }
.psg-panel .p-checkbox { font-size: 14px; min-height: 44px; align-items: center; padding-block: 7px; margin-block: 8px; }
.psg-panel .p-checkbox input { margin-top: 0; }
.psg-panel .p-notice { font-size: 14px; }
.psg-panel .p-block { font-size: 12px; color: #62758a; }
.psg-panel .p-eyebrow { font-size: 12px; }

/* Actions retain their native link/button semantics and a visible button shape. */
.psg-panel .p-button,
.psg-panel .p-page-heading > .p-button,
.psg-panel .p-welcome .p-button,
.psg-panel .p-list-toolbar > .p-button,
.psg-panel .p-search-form .p-button,
.psg-panel .p-sticky-actions .p-button {
  min-height: 46px; font-size: 15px; font-weight: 600; padding: 10px 18px;
  line-height: 1.65; gap: 9px; white-space: normal; text-align: center;
}
.psg-panel .p-icon-button { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border: 1px solid #dce7ee; background: #f8fafc; }
.psg-panel .p-icon-button:hover { border-color: #9bc7d0; background: #eaf5f7; }
.psg-panel .p-text-link,
.psg-panel .p-account-card .p-text-link,
.psg-panel .p-editor-aside .p-text-link,
.psg-panel .p-file-link,
.psg-panel .p-document-preview,
.psg-panel .p-row-actions a,
.psg-panel .p-row-actions button,
.psg-panel .p-pagination a {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 9px 13px; border: 1px solid #c8dce3;
  border-radius: 9px; background: #f5fafb; color: #155f71;
  font-size: 14px; font-weight: 600; line-height: 1.65; text-align: center;
  white-space: normal; overflow-wrap: anywhere; transition: background .15s, border-color .15s, color .15s;
}
.psg-panel .p-text-link:hover,
.psg-panel .p-file-link:hover,
.psg-panel .p-document-preview:hover,
.psg-panel .p-row-actions a:hover,
.psg-panel .p-pagination a:hover { background: #e6f4f7; border-color: #91bfca; color: #064e5c; }
.psg-panel .p-row-actions { gap: 8px; flex-wrap: wrap; white-space: normal; }
.psg-panel .p-row-actions .p-inline-form { display: flex; }
.psg-panel .p-row-actions .p-link-danger { color: #a52b43; background: #fff5f6; border-color: #edc4cc; }
.psg-panel .p-row-actions .p-link-danger:hover { color: #8b1730; background: #ffe5ea; border-color: #dca2b0; }
.psg-panel .p-row-actions .p-action-edit { background: #eaf6f8; border-color: #a7d2da; }
.psg-panel .p-row-actions .p-action-view { background: #fff; color: #4c6077; border-color: #d7e1ea; }
.psg-panel .p-row-actions .p-icon { width: 17px; height: 17px; }
.psg-panel .p-auth-back { display: flex; width: 100%; margin-top: 12px; }
.psg-panel .p-password input { padding-left: 85px; }
.psg-panel .p-password > button { top: 3px; bottom: 3px; left: 3px; min-width: 72px; min-height: 44px; padding: 8px 12px; font-size: 14px; }
.psg-panel button[aria-busy=true] { cursor: wait; opacity: .8; }
.psg-panel button[aria-busy=true]::before { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-left-color: transparent; border-radius: 50%; flex: 0 0 16px; animation: p-button-spin .7s linear infinite; }
@keyframes p-button-spin { to { transform: rotate(360deg); } }
.psg-panel button:focus-visible,
.psg-panel a:focus-visible,
.psg-panel input:focus-visible,
.psg-panel select:focus-visible { outline: 3px solid #2199b0; outline-offset: 3px; }

/* Navigation is comfortable to scan, including at laptop and mobile widths. */
.psg-panel .p-sidebar { width: 282px; padding: 25px 18px 18px; }
.psg-panel .p-workspace { margin-right: 282px; }
.psg-panel .p-brand > span:last-child { font-size: 14px; }
.psg-panel .p-brand small { font-size: 12px; }
.psg-panel .p-sidebar-label { font-size: 12px; color: #6b7e93; margin-top: 27px; }
.psg-panel .p-nav-link { min-height: 49px; font-size: 15px; padding: 11px 13px; color: #53677e; }
.psg-panel .p-nav-link.is-active { color: #066a78; }
.psg-panel .p-sidebar-user > span { font-size: 13px; }
.psg-panel .p-sidebar-user small { font-size: 12px; color: #63768d; }
.psg-panel .p-topbar-title { font-size: 13px; color: #596d83; }
.psg-panel .p-topbar-meta { font-size: 12px; color: #596d83; }
.psg-panel .p-topbar-account { min-height: 48px; }
.psg-panel .p-topbar-account > span { font-size: 13px; }
.psg-panel .p-topbar-account small { font-size: 12px; color: #63768d; }
.psg-panel .p-page-heading h1 { font-size: 28px; }
.psg-panel .p-page-heading .p-eyebrow { font-size: 11px; color: #697e93; }
.psg-panel .p-welcome p { font-size: 14px; color: #4d6f7d; }
.psg-panel .p-welcome .p-eyebrow { font-size: 12px; }
.psg-panel .p-stat-label { font-size: 14px; color: #52677d; }
.psg-panel .p-stat-label > span { font-size: 12px; color: #60768c; }
.psg-panel .p-activity b { font-size: 14px; white-space: normal; }
.psg-panel .p-activity small { font-size: 12px; color: #63778d; }
.psg-panel .p-badge { font-size: 12px; padding: 4px 9px; }
.psg-panel .p-dashboard-person strong { font-size: 16px; }
.psg-panel .p-dashboard-person small { font-size: 13px; color: #61768d; }
.psg-panel .p-account-card > p { font-size: 14px; }
.psg-panel .p-account-card h2 { font-size: 18px; }
.psg-panel .p-quick-actions > a { min-height: 48px; font-size: 14px; color: #365c70; }
.psg-panel .p-footer { font-size: 12px; color: #62768b; }

/* Tables and distinct content workspaces. */
.psg-panel .p-search-form { max-width: 540px; min-width: 0; }
.psg-panel .p-search-form input { min-height: 46px; font-size: 15px; min-width: 0; }
.psg-panel .p-table th { font-size: 13px; color: #536b82; font-weight: 600; }
.psg-panel .p-table td { font-size: 14px; color: #475e75; padding-block: 18px; }
.psg-panel .p-table tbody tr:hover { background: #f8fbfd; }
.psg-panel .p-table .p-content-title { min-width: 200px; }
.psg-panel .p-content-title b { font-size: 15px; }
.psg-panel .p-content-title small { font-size: 12px; color: #60758b; }
.psg-panel .p-pagination { font-size: 13px; color: #5d7288; flex-wrap: wrap; }
.psg-panel .p-pagination > div { gap: 10px; flex-wrap: wrap; }
.psg-panel .p-edit-breadcrumb { font-size: 14px; color: #62768a; }
.psg-panel .p-edit-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; padding: 5px 10px; background: #fff; border: 1px solid #d5e2ea; border-radius: 8px; }
.psg-panel .p-workflow-intro p { font-size: 14px; color: #596e82; }
.psg-panel .p-workflow-intro .p-eyebrow { font-size: 12px; }
.psg-panel .p-workflow-steps { font-size: 12px; color: #586e84; }
.psg-panel .p-workflow-filters a,
.psg-panel .p-section-tabs a,
.psg-panel .p-settings-jump a,
.psg-panel .p-corporate-shortcuts a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 15px; font-size: 14px; color: #48667e; line-height: 1.7; }
.psg-panel .p-workflow-filters a.is-active,
.psg-panel .p-section-tabs a.is-active { font-weight: 700; color: #086575; }
.psg-panel .p-workflow-label { font-size: 12px; }
.psg-panel .p-editorial-table .p-block { font-size: 12px; color: #61768b; }
.psg-panel .p-catalog-record h3,
.psg-panel .p-library-record h3,
.psg-panel .p-corporate-record h3 { font-size: 17px; }
.psg-panel .p-record-kicker { font-size: 12px; color: #3e7d62; }
.psg-panel .p-catalog-record dl { font-size: 13px; }
.psg-panel .p-catalog-record dt { color: #5b7267; }
.psg-panel .p-catalog-record dd { color: #355e4e; }
.psg-panel .p-record-health > span:first-child { font-size: 12px; }
.psg-panel .p-document-kind { font-size: 12px; padding: 6px; }
.psg-panel .p-library-record-body > p { font-size: 13px; color: #6b5b7d; }
.psg-panel .p-document-languages { font-size: 12px; }
.psg-panel .p-document-languages > span { color: #6e607e; padding: 5px 8px; }
.psg-panel .p-corporate-record-heading > small { font-size: 13px; color: #876640; }
.psg-panel .p-corporate-record > p { font-size: 14px; color: #5b7083; }
.psg-panel .p-corporate-record-status { font-size: 12px; color: #586d83; }
.psg-panel .p-legacy-status > span { font-size: 13px; color: #4d6b82; }
.psg-panel .p-legacy-media-list { font-size: 13px; }
.psg-panel .p-restore-box > strong,
.psg-panel .p-restore-box .p-checkbox { font-size: 14px; }
.psg-panel .p-restore-box .p-help { font-size: 13px; color: #526f82; }

/* Comfortable editor tools, language tabs, and a clear save area. */
.psg-panel .p-editor-tools { gap: 6px; padding: 11px; }
.psg-panel .p-editor-tools button,
.psg-panel .p-editor-tools select { min-height: 44px; min-width: 44px; padding: 8px 11px; font-size: 14px; border: 1px solid #d7e2eb; background: #fff; color: #375e77; border-radius: 8px; }
.psg-panel .p-editor-tools select { max-width: 170px; }
.psg-panel .p-editor-tools button[data-editor-command=bold],
.psg-panel .p-editor-tools button[data-editor-command=italic] { font-size: 17px; padding-inline: 12px; }
.psg-panel .p-editor-prose { font-size: 16px; line-height: 2.05; }
.psg-panel .p-editor-status { font-size: 12px; color: #506b82; gap: 10px; flex-wrap: wrap; }
.psg-panel .p-language-tabs button { min-height: 44px; min-width: 76px; padding: 10px 16px; font-size: 15px; color: #5a7187; }
.psg-panel .p-language-tabs button[aria-selected=true] { color: #056c7b; }
.psg-panel .p-author-identity small { font-size: 12px; color: #60768a; }
.psg-panel .p-author-identity strong { font-size: 14px; }
.psg-panel .p-category-options .p-checkbox { font-size: 14px; margin: 2px 0; }
.psg-panel .p-sticky-actions { padding: 16px 20px; gap: 15px; }
.psg-panel .p-sticky-actions > p { font-size: 13px; color: #4c6a7c; }
.psg-panel .p-login-card > .p-muted { font-size: 14px; color: #5b7183; }
.psg-panel .p-empty p { font-size: 14px; }
.psg-panel .p-placeholder { font-size: 13px; color: #62798c; }

@media (max-width: 1280px) and (min-width: 801px) {
  .psg-panel .p-sidebar { width: 254px; padding-inline: 14px; }
  .psg-panel .p-workspace { margin-right: 254px; }
  .psg-panel .p-nav-link { font-size: 14px; padding-inline: 10px; gap: 9px; }
  .psg-panel .p-brand > span:last-child { font-size: 13px; }
  .psg-panel .p-brand small { font-size: 11px; }
  .psg-panel .p-main { padding-inline: 24px; }
  .psg-panel .p-topbar { padding-inline: 24px; }
  .psg-panel .p-editor-layout { grid-template-columns: minmax(0,1fr) 290px; }
}
@media (max-width: 1120px) {
  .psg-panel .p-editor-layout { grid-template-columns: 1fr; }
  .psg-panel .p-editor-aside { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .psg-panel .p-library-workspace-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .psg-panel .p-library-record { grid-template-columns: 76px minmax(0,1fr); }
  .psg-panel .p-dashboard-grid { grid-template-columns: 1fr; }
  .psg-panel .p-stat-label > span { display: none; }
}
@media (max-width: 800px) {
  .psg-panel .p-sidebar { width: min(300px,86vw); }
  .psg-panel .p-workspace { margin-right: 0; }
  .psg-panel .p-menu-toggle { display: flex; }
  .psg-panel .p-main { padding-inline: 18px; }
  .psg-panel .p-topbar { padding-inline: 18px; }
  .psg-panel .p-product-workspace-grid,
  .psg-panel .p-library-workspace-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .psg-panel .p-page-heading h1 { font-size: 24px; }
  .psg-panel .p-topbar-meta > .p-date { display: none; }
}
@media (max-width: 600px) {
  body.psg-panel { font-size: 15px; }
  .psg-panel .p-main { padding-inline: 14px; }
  .psg-panel .p-topbar { padding-inline: 14px; }
  .psg-panel .p-topbar-title { font-size: 12px; gap: 7px; }
  .psg-panel .p-page-heading { align-items: flex-start; flex-wrap: wrap; gap: 14px; }
  .psg-panel .p-page-heading h1 { font-size: 23px; }
  .psg-panel .p-page-heading > .p-button { min-height: 44px; font-size: 14px; padding: 9px 13px; }
  .psg-panel .p-page-heading > .p-button > .p-icon { width: 18px; height: 18px; }
  .psg-panel .p-card { padding: 21px 17px; }
  .psg-panel .p-stats { gap: 12px; }
  .psg-panel .p-stat { padding: 18px; }
  .psg-panel .p-stat-label { font-size: 13px; }
  .psg-panel .p-stat-icon { left: 13px; width: 28px; height: 28px; }
  .psg-panel .p-welcome h2 { font-size: 21px; }
  .psg-panel .p-welcome p { font-size: 14px; }
  .psg-panel .p-activity { flex-wrap: wrap; }
  .psg-panel .p-activity b { max-width: none; font-size: 14px; }
  .psg-panel .p-activity small { font-size: 12px; }
  .psg-panel .p-activity .p-badge { margin-inline-start: 40px; font-size: 12px; }
  .psg-panel .p-editor-aside { display: block; }
  .psg-panel .p-language-tabs { margin-top: 16px; }
  .psg-panel .p-product-workspace-grid,
  .psg-panel .p-library-workspace-grid,
  .psg-panel .p-corporate-workspace-grid { grid-template-columns: 1fr; }
  .psg-panel .p-catalog-record { display: block; }
  .psg-panel .p-catalog-photo { height: 210px; min-height: 0; border-left: 0; border-bottom: 1px solid #edf2ef; }
  .psg-panel .p-catalog-record-body { padding: 18px; }
  .psg-panel .p-library-record { grid-template-columns: 90px minmax(0,1fr); }
  .psg-panel .p-library-cover { min-height: 245px; }
  .psg-panel .p-catalog-record dl { font-size: 13px; }
  .psg-panel .p-workflow-intro { grid-template-columns: 44px minmax(0,1fr); padding: 20px 17px; }
  .psg-panel .p-workflow-intro h2 { font-size: 18px; }
  .psg-panel .p-workflow-intro p { font-size: 14px; }
  .psg-panel .p-workflow-steps { grid-column: 1/-1; font-size: 12px; gap: 9px; }
  .psg-panel .p-workflow-filters { gap: 8px; }
  .psg-panel .p-workflow-filters a { font-size: 14px; }
  .psg-panel .p-list-toolbar > .p-button { align-self: stretch; }
  .psg-panel .p-search-form { width: 100%; }
  .psg-panel .p-search-form .p-button { flex-shrink: 0; }
  .psg-panel .p-table { min-width: 740px; }
  .psg-panel .p-row-actions { min-width: 156px; }
  .psg-panel .p-pagination { align-items: flex-start; gap: 15px; font-size: 13px; }
  .psg-panel .p-pagination > div { width: 100%; justify-content: space-between; }
  .psg-panel .p-section-tabs { flex-wrap: wrap; justify-content: flex-start; width: 100%; gap: 6px; }
  .psg-panel .p-section-tabs a { flex: 1 1 110px; font-size: 14px; padding-inline: 12px; }
  .psg-panel .p-editor-status { font-size: 12px; }
  .psg-panel .p-sticky-actions { flex-direction: column; align-items: stretch; padding: 15px; }
  .psg-panel .p-sticky-actions > p { max-width: none; margin: 0; font-size: 13px; }
  .psg-panel .p-sticky-actions .p-button { width: 100%; }
  .psg-panel .p-settings-jump { flex-wrap: wrap; overflow: visible; gap: 7px; }
  .psg-panel .p-settings-jump a { font-size: 13px; white-space: normal; }
  .psg-panel .p-footer { font-size: 12px; line-height: 1.9; }
}
@media (prefers-reduced-motion: reduce) {
  .psg-panel button[aria-busy=true]::before { animation: none; }
}
