:host{display:block;min-width:0;color:#172339;font-family:Arial,Helvetica,sans-serif;--accent:#5144d9}*{box-sizing:border-box}[hidden]{display:none!important}.setup{max-width:1200px;margin:auto;padding:4px 0 38px}.setup-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 0 26px;border-bottom:1px solid #dde4ed;margin-bottom:20px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.13em;color:#7a879b}.setup-head h1{font-size:30px;letter-spacing:-.045em;margin:9px 0 10px;line-height:1.15;font-weight:650}.setup-head p{font-size:13px;line-height:1.6;color:#6f7d92;margin:0;max-width:540px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:3px}button:focus-visible,a:focus-visible{outline:3px solid #b5aafb}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.quiet,.back-link{display:inline-flex;align-items:center;border:0;background:transparent;padding:10px 0;color:#5e6b82;font-size:12px;text-decoration:none;text-align:left;min-height:40px}.quiet:hover,.back-link:hover{color:#5144d9}.notice{font-size:13px;line-height:1.6;padding:13px 16px;background:#eff8f3;border:1px solid #d5ebde;border-radius:9px;color:#226346}.notice.error{background:#fff4f4;border-color:#f2d6d9;color:#973f4a}.summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;font-size:12px;color:#6f7d92}.summary .quiet{color:#5144d9}.actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e0e5ed;border-radius:12px;background:#fff;overflow:hidden;margin-bottom:24px}.action{display:grid;grid-template-columns:32px minmax(0,1fr);gap:5px 12px;background:transparent;border:0;border-right:1px solid #e9edf3;text-align:left;padding:21px 18px;color:#27374f}.action:last-child{border-right:0}.action:hover{background:#f8f7ff}.action-mark{grid-row:1 / 3;display:grid;place-items:center;background:#f0edff;color:#6152d7;width:32px;height:32px;border-radius:9px;font-size:20px}.action strong{font-size:12px;font-weight:600;line-height:1.4}.action small{font-size:10px;line-height:1.5;color:#7c889a}.surface,.editor{background:#fff;border:1px solid #e0e5ed;border-radius:12px;min-width:0}.editor{padding:24px;margin-bottom:22px}.editor-head,.list-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}h2{font-size:17px;letter-spacing:-.025em;font-weight:600;margin:0}.field{display:grid;gap:7px;font-size:12px;color:#4c5b73;min-width:0}.field>span{font-weight:550}input:not([type=color]),textarea,select{width:100%;min-width:0;border:1px solid #dce3ed;border-radius:8px;padding:11px 12px;font-size:13px;background:#fff;color:#25344b;min-height:42px}input:focus,textarea:focus,select:focus{outline:2px solid #c6bdf9;border-color:#8a7be6}textarea{min-height:96px;resize:vertical;line-height:1.6}form{display:grid;gap:18px;max-width:740px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.primary{display:inline-flex;align-items:center;justify-content:center;justify-self:start;border:1px solid #5144d9;border-radius:8px;color:#fff;background:#5144d9;font-size:12px;font-weight:600;padding:12px 18px;min-height:42px}.primary:hover{background:#4436c4}.hint{font-size:11px;line-height:1.65;color:#7b879b;margin:0}.library{padding:22px 0 0}.list-head{padding:0 22px}.list-head .field{width:min(280px,50%)}.list-head .field>span{font-size:10px;font-weight:400}.filters{display:flex;flex-wrap:wrap;gap:4px;padding:0 22px 18px}.filter{border:1px solid transparent;border-radius:6px;padding:7px 10px;background:transparent;font-size:11px;color:#7c889a;min-height:32px}.filter[aria-pressed=true]{color:#5144d9;background:#f1eeff;border-color:#e5defb}.rows article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 22px;border-top:1px solid #edf0f5}.rows article>div{min-width:0}.rows strong{font-size:13px;font-weight:550;overflow-wrap:anywhere}.rows p{font-size:12px;line-height:1.6;color:#778498;margin:5px 0 0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.row-detail{font-size:11px;line-height:1.5;flex-shrink:0;max-width:40%;text-align:right;color:#586781;overflow-wrap:anywhere}.empty{padding:40px 22px;text-align:center;border-top:1px solid #edf0f5;color:#7c889a}.empty strong{color:#54647d;font-size:14px}.empty p{font-size:12px;margin:9px auto;max-width:330px}.brand-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:26px;align-items:start}.brand-form{padding:26px;max-width:none}.brand-form h2{margin-bottom:4px}.logo-upload{display:grid;gap:8px;padding:16px;background:#fafbfe;border:1px dashed #d7dfea;border-radius:10px}.logo-upload small{font-size:10px;color:#8993a3}.logo-upload input{font-size:11px;padding:7px;border:0;background:transparent}input[type=color]{width:100%;height:42px;padding:4px 6px;background:#fff;border:1px solid #dce3ed;border-radius:8px;cursor:pointer}.palette{display:flex;gap:10px;margin-top:-8px}.swatch{width:27px;height:27px;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #dde3ec;padding:0}.swatch[aria-pressed=true]{box-shadow:0 0 0 2px #8e83da}.brand-preview{padding:23px;background:#edf1f7;border:1px solid #e0e5ee;border-radius:12px;min-width:0}.document{--accent:#5144d9;background:#fff;margin:16px 0;padding:28px 24px;border-radius:3px;min-height:335px;box-shadow:0 5px 18px #1c2f4710;border-top:4px solid var(--accent)}.document-head{display:flex;align-items:center;gap:13px}.logo-mark{width:45px;height:45px;flex-shrink:0;display:grid;place-items:center}.logo-mark img{width:100%;height:100%;object-fit:contain}.logo-initial{width:45px;height:45px;display:grid;place-items:center;border-radius:10px;background:var(--accent);color:#fff;font-size:20px}.document-identity{display:grid;gap:5px;min-width:0}.document-identity strong{font-size:15px;overflow-wrap:anywhere}.document-identity small{font-size:10px;color:#8993a4}.document-client{font-size:11px;color:#8a95a7;margin:40px 0 25px}.document-rows{display:flex;justify-content:space-between;gap:12px;padding:16px 0;border-top:1px solid #e9edf4;border-bottom:1px solid #e9edf4;font-size:11px;color:#6a7890}.document-rows strong{font-size:12px;color:var(--accent);white-space:nowrap}.document-footer{font-size:10px;color:#8993a4;margin-top:40px}.back-link{margin-bottom:18px}@media(max-width:950px){.actions{grid-template-columns:1fr}.action{border-right:0;border-bottom:1px solid #edf0f5;padding:16px 18px}.action:last-child{border-bottom:0}.brand-layout{gap:18px}.brand-form{padding:20px}.brand-preview{padding:18px}}@media(max-width:650px){.setup-head{align-items:flex-start;gap:12px;flex-direction:column;padding-bottom:18px}.setup-head h1{font-size:27px}.setup-head .quiet{padding:0;min-height:32px}.summary{align-items:flex-start;flex-direction:column;gap:0}.editor{padding:18px}.editor-head{gap:12px}.form-grid{grid-template-columns:1fr}.list-head{flex-direction:column;align-items:flex-start;padding:0 18px;gap:14px}.list-head .field{width:100%}.filters{padding:0 12px 14px;gap:0}.filter{font-size:10px;padding:7px 8px}.rows article{padding:17px 18px;align-items:flex-start;flex-direction:column;gap:8px}.row-detail{max-width:100%;text-align:left}.brand-layout{grid-template-columns:1fr}.brand-preview{order:2}.brand-form{padding:20px}.document{min-height:300px}}

/* Saved business information controls. */
.rows article {flex-wrap:wrap;}
.row-actions {display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-left:auto;}
.row-actions button {font-size:12px;padding:8px 12px;min-height:36px;border-radius:8px;}
.row-actions .danger {color:#a12838;}
.row-actions button:disabled {opacity:.5;cursor:wait;}
.rows article[aria-busy="true"] {opacity:.65;}
@media(max-width:640px){.row-actions {width:100%;margin-left:0;}.row-actions button {flex:1;}.filters {flex-wrap:wrap;}}

/* enlaza-panel-v2-shadow: knowledge and business editors have their own shadow root. */
:host {--accent:#7047d7;color:#262535;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.setup-head {border-color:#eae8f1}.setup-head h1 {font-size:30px;font-weight:650;color:#262535}
.setup-head p,.hint,.summary {color:#6e6b80}
.surface,.editor,.brand-form,.brand-preview {border-color:#eae8f1;border-radius:20px;box-shadow:0 3px 16px #30253f05}
.editor,.surface,.brand-form {background:#fff}.brand-preview {background:#f4f0fa}
.actions {border-color:#eae8f1;border-radius:16px}.action {border-color:#eae8f1}.action:hover {background:#f7f4fc}
.action-mark {background:#f0eafa;color:#7047d7;border-radius:11px}
.primary {background:#7047d7;border-color:#7047d7;border-radius:11px;min-height:44px;font-size:13px}
.primary:hover {background:#6037c3}.quiet:hover,.back-link:hover {color:#7047d7}
input:not([type=color]),textarea,select {border-color:#ddd7e8;border-radius:11px;color:#262535}
.rows article {border-color:#eae8f1;padding:20px 24px}.rows strong {font-size:14px;color:#262535}.rows p {color:#6e6b80;font-size:13px}
.filter {border-radius:9px;min-height:36px}.filter[aria-pressed=true] {background:#f0eafa;color:#7047d7;border-color:#e9e1f4}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {outline:3px solid #a787e6;outline-offset:3px}
@media(max-width:650px){.surface,.editor,.brand-form,.brand-preview{border-radius:16px}.rows article{padding:18px}.setup-head h1{font-size:26px}input:not([type=color]),textarea,select{font-size:16px}}

