/* engineering help — customer-facing in-tool engineering help. */
.toolbar-help-btn{
  width:auto!important;min-width:72px!important;padding:0 11px!important;gap:7px!important;
  color:#1E2A78!important;border-color:#d8def0!important;background:#fff!important;
}
.toolbar-help-btn span{font-size:.78rem;font-weight:800;white-space:nowrap;}
.toolbar-help-btn:hover{background:#f5f8ff!important;border-color:#bfc9ed!important;}

.engineering-help-dialog{
  border:0;padding:0;background:transparent;max-width:none;max-height:none;width:auto;height:auto;
  overflow:visible;color:#253047;
}
.engineering-help-dialog::backdrop{background:rgba(15,23,42,.48);backdrop-filter:blur(5px);}
.engineering-help-card{
  width:min(1040px,calc(100vw - 34px));height:min(760px,calc(100vh - 84px));min-width:640px;min-height:430px;
  display:flex;flex-direction:column;background:#fff;border:1px solid #e3e7f0;border-radius:18px;
  box-shadow:0 26px 70px rgba(16,24,40,.24);overflow:hidden;
}
.engineering-help-head{
  flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;
  border-bottom:1px solid #e8ebf2;background:linear-gradient(180deg,#fff,#fbfcff);cursor:move;user-select:none;
}
.engineering-help-title-wrap{display:flex;align-items:center;gap:11px;min-width:0;}
.engineering-help-title-icon{width:39px;height:39px;border-radius:12px;background:#eef2ff;color:#1E2A78;display:grid;place-items:center;flex:0 0 auto;}
.engineering-help-title-copy{min-width:0;line-height:1.18;}
.engineering-help-title-copy small{display:block;color:#4BCFFA;font-size:.67rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:3px;}
.engineering-help-title-copy h2{font-size:1.05rem;color:#1E2A78;margin:0;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.engineering-help-head-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto;}
.engineering-help-head-actions button,.engineering-help-context-btn{
  width:34px;height:34px;border:1px solid #dfe4ef;border-radius:10px;background:#fff;color:#46516b;display:inline-grid;place-items:center;cursor:pointer;
}
.engineering-help-head-actions button:hover,.engineering-help-context-btn:hover{color:#1E2A78;border-color:#bfc9ed;background:#f6f8ff;}
.engineering-help-context-btn{width:30px!important;height:30px!important;min-width:30px!important;margin-inline-end:4px!important;padding:0!important;flex:0 0 auto!important;}

.engineering-help-toolbar{flex:0 0 auto;display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid #eceff5;background:#fff;}
.engineering-help-search{position:relative;flex:1;min-width:0;}
.engineering-help-search>i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#8791a3;font-size:.82rem;pointer-events:none;}
html[dir="rtl"] .engineering-help-search>i{left:auto;right:12px;}
.engineering-help-search input{width:100%;height:39px;border:1px solid #dfe4ed;border-radius:11px;padding:0 38px;font-size:.82rem;background:#fbfcfe;color:#253047;}
.engineering-help-search input:focus{outline:2px solid rgba(75,207,250,.22);border-color:#76d8f7;background:#fff;}
.engineering-help-category{height:39px;min-width:175px;border:1px solid #dfe4ed;border-radius:11px;padding:0 10px;background:#fff;color:#39445d;font-size:.78rem;}
.engineering-help-count{font-size:.72rem;font-weight:700;color:#79849a;white-space:nowrap;}

.engineering-help-body{flex:1;min-height:0;display:grid;grid-template-columns:300px minmax(0,1fr);overflow:hidden;}
.engineering-help-dialog .engineering-help-body{overflow:hidden!important;}
.engineering-help-dialog .engineering-help-article{overflow:auto!important;}
.engineering-help-nav{min-width:0;overflow:auto;border-right:1px solid #e8ebf2;background:#f8f9fc;padding:10px;}
html[dir="rtl"] .engineering-help-nav{border-right:0;border-left:1px solid #e8ebf2;}
.engineering-help-nav-group{font-size:.64rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase;color:#8a94a7;margin:9px 8px 5px;}
.engineering-help-nav-btn{width:100%;display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:start;text-align:left;border:1px solid transparent;border-radius:11px;background:transparent;padding:9px 9px;cursor:pointer;color:#344057;margin-bottom:3px;}
html[dir="rtl"] .engineering-help-nav-btn{text-align:right;}
.engineering-help-nav-btn:hover{background:#fff;border-color:#e1e6f0;}
.engineering-help-nav-btn.active{background:#fff;border-color:#cfd7ee;box-shadow:0 4px 13px rgba(30,42,120,.07);}
.engineering-help-nav-icon{width:32px;height:32px;border-radius:9px;background:#edf1fb;color:#1E2A78;display:grid;place-items:center;font-size:.78rem;}
.engineering-help-nav-copy{min-width:0;line-height:1.25;}
.engineering-help-nav-copy strong{display:block;color:#1E2A78;font-size:.76rem;font-weight:800;margin-bottom:2px;}
.engineering-help-nav-copy small{display:block;color:#738096;font-size:.65rem;line-height:1.35;}
.engineering-help-empty{padding:18px 10px;text-align:center;color:#7d8798;font-size:.78rem;}

.engineering-help-article{min-width:0;overflow:auto;padding:22px 26px 28px;background:#fff;}
.engineering-help-breadcrumb{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:10px;color:#7d8798;font-size:.68rem;font-weight:700;}
.engineering-help-context-badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:999px;background:#ecfaff;color:#147a9e;border:1px solid #c9f0fb;}
.engineering-help-article h3{font-size:1.34rem;line-height:1.25;color:#1E2A78;margin:0 0 6px;}
.engineering-help-lead{font-size:.86rem;color:#657188;line-height:1.55;margin:0 0 18px;max-width:780px;}
.engineering-help-section{margin:18px 0 0;}
.engineering-help-section h4{font-size:.82rem;color:#303b55;margin:0 0 7px;display:flex;align-items:center;gap:7px;}
.engineering-help-section p,.engineering-help-section li{font-size:.77rem;color:#4f5b70;line-height:1.55;}
.engineering-help-section p{margin:0 0 8px;}
.engineering-help-section ul,.engineering-help-section ol{margin:6px 0 8px 19px;padding:0;}
html[dir="rtl"] .engineering-help-section ul,html[dir="rtl"] .engineering-help-section ol{margin-left:0;margin-right:19px;}
.engineering-help-section li{margin:4px 0;}
.engineering-help-note{display:flex;gap:9px;align-items:flex-start;margin-top:16px;padding:11px 12px;border:1px solid #dce7f8;border-radius:11px;background:#f7faff;color:#4d5e7a;font-size:.74rem;line-height:1.5;}
.engineering-help-note i{color:#1E2A78;margin-top:2px;}
.engineering-help-warning{border-color:#f4dfbd;background:#fffaf0;}
.engineering-help-warning i{color:#b36b00;}
.engineering-help-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.72rem;background:#f4f6fa;border:1px solid #e4e8ef;border-radius:7px;padding:2px 5px;color:#28344b;}
.engineering-help-related{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.engineering-help-related button{border:1px solid #dfe5ef;background:#fff;color:#1E2A78;border-radius:999px;padding:6px 9px;font-size:.68rem;font-weight:700;cursor:pointer;}
.engineering-help-related button:hover{background:#f2f5ff;border-color:#c4cfee;}
.engineering-help-action-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding-top:16px;border-top:1px solid #eef0f4;}
.engineering-help-action{border:0;border-radius:9px;background:#1E2A78;color:#fff;padding:9px 12px;font-size:.75rem;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;gap:7px;}
.engineering-help-action:hover{background:#16205e;}
.engineering-help-action:disabled{opacity:.48;cursor:not-allowed;}
.engineering-help-status{font-size:.69rem;color:#6d778a;align-self:center;min-height:1em;}
.engineering-help-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e8ebf2;background:#fbfcfe;padding:9px 14px;color:#7e899b;font-size:.66rem;}
.engineering-help-footer strong{color:#526078;}

@media(max-width:760px){
  .toolbar-help-btn{min-width:40px!important;width:40px!important;padding:0!important;}
  .toolbar-help-btn span{display:none;}
  .engineering-help-dialog{margin:auto 0 0;width:100%;}
  .engineering-help-card{width:100vw;height:min(92vh,860px);min-width:0;min-height:0;border-radius:17px 17px 0 0;resize:none;}
  .engineering-help-head{padding:12px;}
  .engineering-help-toolbar{display:grid;grid-template-columns:1fr auto;padding:9px 10px;}
  .engineering-help-search{grid-column:1 / -1;}
  .engineering-help-category{min-width:0;width:100%;}
  .engineering-help-body{grid-template-columns:1fr;position:relative;}
  .engineering-help-nav{border:0!important;padding:8px;}
  .engineering-help-article{display:none;padding:18px 16px 24px;}
  .engineering-help-dialog.has-selection .engineering-help-nav{display:none;}
  .engineering-help-dialog.has-selection .engineering-help-article{display:block;}
  .engineering-help-mobile-back{display:inline-grid!important;}
  .engineering-help-footer{display:none;}
}
.engineering-help-mobile-back{display:none!important;}
@media(max-width:420px){.engineering-help-count{display:none;}.engineering-help-title-copy h2{font-size:.95rem;}}
