
.azauto-page{display:grid;gap:15px;padding-bottom:40px}.azauto-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.azauto-hero h1{font-size:24px;letter-spacing:-.035em;margin:5px 0}.azauto-hero p{font-size:11px;color:var(--muted);margin:3px 0}.azauto-heroactions{display:flex;align-items:center;gap:12px}.azauto-total{color:var(--muted);font-size:11px;font-weight:600}
.azauto-leadnotice{background:var(--panel);padding:10px 15px;border:1px solid var(--line);border-radius:10px;font-size:11px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}
.azauto-layout{display:grid;grid-template-columns:minmax(230px,285px) minmax(0,1fr);gap:14px;align-items:start}.azauto-left,.azauto-main{overflow:hidden;min-width:0}
.azauto-panellabel{font-size:10px;letter-spacing:.075em;font-weight:800;color:var(--muted);display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid var(--line)}.azauto-panellabel span{font-weight:600;font-size:10px;letter-spacing:0}
.azauto-rulelist{padding:9px;max-height:680px;overflow:auto}.azauto-rule{width:100%;text-align:left;border:1px solid transparent;background:transparent;color:var(--text);padding:12px;border-radius:10px;display:flex;flex-direction:column;gap:7px;margin-bottom:5px}.azauto-rule:hover,.azauto-rule.selected{background:var(--panel2);border-color:var(--line)}.azauto-ruleline{display:flex;gap:8px;justify-content:space-between;align-items:start}.azauto-ruleline strong{font-size:12px;line-height:1.35}.azauto-dot{display:block;flex:none;width:8px;height:8px;border-radius:50%;background:var(--muted);margin:4px 0}.azauto-dot.on{background:var(--green)}.azauto-rule small{font-size:10px;color:var(--muted)}.azauto-rulebottom{font-size:10px;color:var(--muted);display:flex;gap:8px;justify-content:space-between}.azauto-rulebottom em{font-size:9px;font-style:normal;font-weight:800}.azauto-muted{font-size:11px;color:var(--muted);padding:8px}
.azauto-panehead{display:flex;align-items:start;justify-content:space-between;gap:10px;padding:17px 19px;border-bottom:1px solid var(--line);flex-wrap:wrap}.azauto-panehead h2{margin:0 0 5px;font-size:16px}.azauto-panehead p{font-size:10px;color:var(--muted);margin:0}.azauto-actions{display:flex;gap:6px}
.azauto-form{padding:16px 19px;display:grid;gap:13px}.azauto-form label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:10px;font-weight:700}.azauto-form input:not([type=checkbox]),.azauto-form select,.azauto-form textarea{background:var(--panel2);border:1px solid var(--line);border-radius:8px;padding:10px;color:var(--text);width:100%;outline:none;font-size:11px;min-height:36px}.azauto-form input:focus,.azauto-form select:focus,.azauto-form textarea:focus{border-color:var(--blue)}.azauto-form input:disabled{opacity:.6;cursor:not-allowed}.azauto-form textarea{resize:vertical;min-height:70px;line-height:1.55}.azauto-form small{font-size:9px;color:var(--muted);font-weight:400}
.azauto-fields-two,.azauto-fields-three{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.azauto-fields-three{grid-template-columns:repeat(3,minmax(0,1fr))}.azauto-sectiontitle{font-size:10px;letter-spacing:.075em;color:var(--muted);font-weight:800;margin:8px 0 -2px}.azauto-step{background:var(--panel2);border:1px solid var(--line);border-radius:11px;padding:10px;margin-bottom:9px}.azauto-stephead{display:flex;align-items:center;gap:9px;padding:0 0 10px;border-bottom:1px solid var(--line)}.azauto-stepnum{display:grid;place-items:center;border-radius:7px;background:var(--panel);border:1px solid var(--line);font-size:10px;font-weight:800;width:28px;height:28px}.azauto-stephead select{max-width:210px;margin-right:auto}.azauto-steptools{display:flex;gap:3px}.azauto-steptools button{background:var(--panel);color:var(--text);border:1px solid var(--line);width:28px;height:28px;border-radius:7px;font-size:16px}.azauto-stepbody{display:grid;gap:10px;padding-top:10px}.azauto-stepbody input:not([type=checkbox]),.azauto-stepbody select,.azauto-stepbody textarea{background:var(--panel)}.azauto-helper{font-size:10px;color:var(--muted);margin:0}.azauto-addrow{display:flex;align-items:center;gap:8px}.azauto-addrow select{max-width:210px}.azauto-safety{display:flex;flex-direction:column;gap:8px;padding:5px 0}.azauto-safety label{display:flex;align-items:center;flex-direction:row;gap:8px;font-weight:500;color:var(--text)}.azauto-safety input{accent-color:var(--blue)}
.azauto-footer{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid var(--line);padding-top:14px}.azauto-footer span{max-width:330px;color:var(--muted);font-size:10px;line-height:1.6}.azauto-footer div{display:flex;gap:8px;flex-shrink:0}
.azauto-history .tablewrap{max-height:365px;overflow:auto}.azauto-history table{width:100%;min-width:600px}.azauto-history td{font-size:10px}.azauto-status{font-size:10px;border-radius:7px;background:var(--panel2);padding:4px 8px;font-weight:800}.azauto-status.done{color:var(--green)}.azauto-status.failed,.azauto-status.needs_review{color:var(--red)}.azauto-status.scheduled,.azauto-status.sending{color:var(--amber)}.azauto-status.skipped{color:var(--muted)}
.azauto-preview{display:grid;gap:11px;padding:8px;color:var(--text);font-size:12px}.azauto-preview-step{border:1px solid var(--line);background:var(--panel2);border-radius:10px;padding:12px}.azauto-preview-step div{margin-top:6px}.azauto-preview-step p{white-space:pre-wrap;color:var(--muted)}
@media(max-width:1080px){.azauto-layout{grid-template-columns:1fr}.azauto-rulelist{max-height:280px}.azauto-fields-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.azauto-hero{align-items:start}.azauto-fields-two,.azauto-fields-three{grid-template-columns:1fr}.azauto-panehead,.azauto-footer{flex-direction:column;align-items:stretch}.azauto-footer div{justify-content:flex-end}.azauto-form{padding:13px}.azauto-hero h1{font-size:20px}}


/* AZ auto UX 2026-10-19: scoped layout refresh */
.azauto-page,.azauto-page button,.azauto-page input,.azauto-page select,.azauto-page textarea{
  font-family:Arial,Helvetica,sans-serif;
  font-size:14px;
  font-weight:400;
  text-shadow:none;
  box-shadow:none;
  line-height:1.45;
}
.azauto-page,.azauto-page *{text-shadow:none;box-shadow:none}
.azauto-page h1,.azauto-page h2,.azauto-page h3,.azauto-page strong{letter-spacing:normal;text-transform:none}
.azauto-page .panel,.azauto-page .azauto-step{
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--panel);
  box-shadow:none;
}
.azauto-page .azauto-hero{padding:3px 0 5px;gap:16px}
.azauto-page .azauto-hero h1{font-size:28px;font-weight:600;letter-spacing:normal;margin:0 0 3px}
.azauto-page .azauto-hero p{font-size:14px;line-height:1.45;margin:0;color:var(--muted)}
.azauto-page .azauto-total{font-size:13px;font-weight:400}
.azauto-page .azauto-layout{grid-template-columns:minmax(245px,295px) minmax(0,1fr);gap:12px}
.azauto-page .azauto-panellabel{
  padding:14px 16px;
  font-size:15px;
  font-weight:500;
  letter-spacing:normal;
  text-transform:none;
  color:var(--text);
}
.azauto-page .azauto-panellabel span{font-size:13px;font-weight:400;color:var(--muted)}
.azauto-page .azauto-rulelist{padding:9px}
.azauto-page .azauto-rule{
  padding:12px 11px;
  gap:7px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
}
.azauto-page .azauto-rule.selected,.azauto-page .azauto-rule:hover{
  background:var(--panel2);
  border-color:var(--line);
}
.azauto-page .azauto-ruleline{align-items:center;gap:7px}
.azauto-page .azauto-rulename{font-weight:500;font-size:14px;line-height:1.4;min-width:0}
.azauto-page .azauto-rulestate{
  flex:none;font-size:12px;font-weight:400;padding:2px 7px;
  border:1px solid var(--line);border-radius:5px;color:var(--muted);
}
.azauto-page .azauto-rulestate.active{color:var(--green)}
.azauto-page .azauto-rule-summary{font-size:13px;line-height:1.4;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.azauto-page .azauto-rulebottom{font-size:12px;color:var(--muted);display:block}
.azauto-page .azauto-muted{font-size:13px}
.azauto-page .azauto-panehead{padding:18px 20px}
.azauto-page .azauto-panehead h2{font-size:18px;font-weight:500;margin:0 0 4px}
.azauto-page .azauto-panehead p{font-size:13px;line-height:1.45}
.azauto-page .azauto-form{padding:0 20px 22px;gap:0;display:block}
.azauto-page .azauto-editor-section{padding:18px 0;border-top:1px solid var(--line)}
.azauto-page .azauto-editor-section:first-child{border-top:0}
.azauto-page .azauto-basics{padding-top:20px}
.azauto-page .azauto-form label{
  display:flex;flex-direction:column;gap:6px;
  color:var(--text);font-size:14px;font-weight:400;
}
.azauto-page .azauto-form input:not([type=checkbox]):not([type=hidden]),
.azauto-page .azauto-form select,
.azauto-page .azauto-form textarea{
  background:var(--panel2);
  color:var(--text);
  min-height:38px;
  font-size:14px;
  font-weight:400;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:7px;
  box-shadow:none;
  outline:0;
}
.azauto-page .azauto-form input:focus-visible,
.azauto-page .azauto-form select:focus-visible,
.azauto-page .azauto-form textarea:focus-visible{
  border-color:var(--blue);
  outline:2px solid var(--blue);
  outline-offset:1px;
}
.azauto-page .azauto-form textarea{min-height:72px;line-height:1.5}
.azauto-page .azauto-form small,.azauto-page .azauto-helper{
  font-size:13px;font-weight:400;color:var(--muted);line-height:1.4;
}
.azauto-page .azauto-fields-two,.azauto-page .azauto-fields-three{gap:12px}
.azauto-page .azauto-sectiontitle{
  font-size:15px;font-weight:600;letter-spacing:normal;
  text-transform:none;color:var(--text);margin:0 0 15px;
  line-height:1.35;
}
.azauto-page .azauto-count{font-size:13px;font-weight:400;color:var(--muted);margin-left:5px}
.azauto-page .azauto-triggerfields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.azauto-page .azauto-summary{
  padding:12px 14px;margin-top:16px;
  background:var(--panel2);border:1px solid var(--line);border-radius:7px;
}
.azauto-page .azauto-summarylabel{font-size:13px;font-weight:500;color:var(--muted)}
.azauto-page .azauto-summary p{font-size:14px;font-weight:400;line-height:1.5;overflow-wrap:anywhere;margin:5px 0 0;color:var(--text)}
.azauto-page .azauto-step{
  padding:13px 14px;
  margin-bottom:10px;
  background:var(--panel2);
}
.azauto-page .azauto-stephead{display:flex;align-items:center;gap:12px;padding:0 0 12px}
.azauto-page .azauto-stepname{font-size:15px;font-weight:500;flex:none}
.azauto-page .azauto-stephead .azauto-kindlabel{
  display:flex;flex-direction:row;align-items:center;gap:9px;
  margin-right:auto;font-size:13px;color:var(--muted);
}
.azauto-page .azauto-stephead .azauto-kindlabel select{width:auto;min-width:175px;max-width:230px}
.azauto-page .azauto-steptools button{width:30px;height:30px;border-radius:6px;font-size:17px;background:var(--panel);font-weight:400}
.azauto-page .azauto-stepbody{padding-top:13px;gap:12px}
.azauto-page .azauto-stepbody input:not([type=checkbox]):not([type=hidden]),
.azauto-page .azauto-stepbody select,.azauto-page .azauto-stepbody textarea{background:var(--panel)}
.azauto-page .azauto-addrow{gap:10px;align-items:end;flex-wrap:wrap;margin:11px 0 0}
.azauto-page .azauto-addrow label{min-width:185px;max-width:240px;font-size:13px}
.azauto-page .azauto-addrow button{min-height:38px}
.azauto-page .azauto-safety{padding:0;gap:10px}
.azauto-page .azauto-safety label{display:flex;flex-direction:row;align-items:center;gap:9px;font-size:14px}
.azauto-page .azauto-safety input{width:16px;height:16px;margin:0;flex:none}
.azauto-page .azauto-inlinehint{font-size:13px;color:var(--muted)}
.azauto-page .azauto-save-section{padding-bottom:0}
.azauto-page .azauto-savehint{font-size:13px;color:var(--muted);margin:0 0 15px;line-height:1.45}
.azauto-page .azauto-footer{display:flex;align-items:center;gap:12px;padding:0;border-top:0}
.azauto-page .azauto-saveactions{display:flex;gap:9px;align-items:center;justify-content:flex-end;margin-left:auto}
.azauto-page .azauto-footer .btn,.azauto-page .azauto-hero .btn{font-size:14px;font-weight:400}
.azauto-page .azauto-history td,.azauto-page .azauto-history th{font-size:13px}
.azauto-page .azauto-status{font-size:12px;font-weight:400}
.azauto-page .azauto-leadnotice{font-size:13px}
@media(max-width:1100px){
 .azauto-page .azauto-layout{grid-template-columns:1fr}
 .azauto-page .azauto-rulelist{max-height:260px}
}
@media(max-width:700px){
 .azauto-page .azauto-triggerfields,.azauto-page .azauto-fields-two,.azauto-page .azauto-fields-three{grid-template-columns:1fr}
 .azauto-page .azauto-form{padding:0 14px 16px}
 .azauto-page .azauto-panehead{padding:15px 14px}
 .azauto-page .azauto-hero h1{font-size:25px}
 .azauto-page .azauto-stephead{flex-wrap:wrap}
 .azauto-page .azauto-stephead .azauto-kindlabel{order:2;width:100%}
 .azauto-page .azauto-steptools{margin-left:auto}
 .azauto-page .azauto-footer{flex-direction:column;align-items:stretch}
 .azauto-page .azauto-saveactions{justify-content:stretch;margin-left:0}
 .azauto-page .azauto-saveactions .btn{flex:1}
}

/* locale 20261019: long labels in RO / RU */
.azauto-page .azauto-heroactions,.azauto-page .azauto-saveactions{flex-wrap:wrap}
.azauto-page .azauto-rulename{overflow-wrap:anywhere}
.azauto-page .azauto-stephead .azauto-kindlabel{min-width:0}
.azauto-page .azauto-stephead .azauto-kindlabel select{min-width:140px}
.azauto-page .azauto-rule-summary{overflow-wrap:anywhere}
@media(max-width:700px){.azauto-page .azauto-saveactions{width:100%}}
