#smart-root{max-width:1160px;margin:18px 0;color:#17364b}
.smart-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.smart-tabs a{padding:11px 15px;background:#fff;border:1px solid #dfe7ed;border-radius:10px;color:#35546a;text-decoration:none;font-weight:600;font-size:14px}
.smart-tabs a[aria-current=page]{background:#173e58;border-color:#173e58;color:#fff}
.smart-tabs a:focus-visible,#smart-root button:focus-visible{outline:2px solid #b48d54;outline-offset:3px}
#smart-root .card{margin-bottom:18px;border-radius:14px;padding:24px}
#smart-root .smart-intro{background:linear-gradient(120deg,#f8fafc,#fffaf0);border:1px solid #e5e9ed}
#smart-root h2{font-size:21px;line-height:1.5;margin:6px 0 10px}
#smart-root h3{font-size:16px;line-height:1.6}
#smart-root p{line-height:1.8}
.smart-status-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}
.smart-badge{display:inline-block;padding:5px 10px;border-radius:6px;background:#eef3f7;color:#3a596d;font-size:12px;line-height:1.6}
.smart-note{font-size:13px;color:#617989;line-height:1.8}
.smart-success{background:#edf7f0;border-left:3px solid #469465;padding:12px 15px;border-radius:6px;color:#276444}
.smart-warning{color:#8c6129}
.smart-difference{border:1px solid #ecdebd;background:#fffdf7;border-radius:10px;padding:14px 18px;margin:12px 0}
.smart-difference h3{margin:0 0 8px;color:#805c24}
.smart-difference p{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:8px 0}
.smart-difference strong{overflow-wrap:anywhere}
.smart-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:18px 0}
#smart-root label{display:flex;flex-direction:column;gap:7px;font-size:14px;line-height:1.8}
#smart-root input,#smart-root textarea,#smart-root select{font:inherit;max-width:100%;box-sizing:border-box}
#smart-root input[type=checkbox]{width:18px;height:18px;flex:0 0 18px;align-self:flex-start;margin-top:4px}
#smart-root .smart-consent,.smart-field-choices label{display:flex;flex-direction:row;gap:10px;align-items:flex-start;padding:9px 0}
.smart-field-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0}
.smart-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:15px 0}
.smart-identity dt{font-size:12px;color:#6d8190}
.smart-identity dd{font-weight:600;margin:5px 0;overflow-wrap:anywhere}
.smart-remove{margin-top:18px;border-top:1px solid #e4e9ed;padding-top:14px}
.smart-remove summary{color:#6a7b85;font-size:13px}
.smart-readings{display:grid;gap:8px}
.smart-readings a{display:flex;flex-direction:column;gap:5px;border:1px solid #e2e9ef;border-radius:9px;padding:14px;text-decoration:none}
.smart-readings span{font-size:12px;color:#71818b}
.smart-prompts{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.smart-prompts button{font-size:13px;padding:9px 12px}
.smart-answer{margin-top:20px;border-top:1px solid #e4e9ed;padding-top:18px;overflow-wrap:anywhere}
.smart-answer:empty{display:none}
.smart-answer p{white-space:pre-wrap}
.smart-source-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.smart-client-picker{display:flex;gap:15px;align-items:flex-end}
.smart-client-picker label{flex:1}
.smart-settings-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.smart-settings-status>div{display:flex;flex-direction:column;gap:8px;background:#f4f7f9;padding:16px;border-radius:10px}
.smart-settings-status span{font-size:13px;color:#607789}
.smart-device{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e8edf1;padding:13px 0;flex-wrap:wrap}
#smart-root button[disabled]{opacity:.55;cursor:wait}
@media(max-width:650px){.smart-tabs{gap:6px}.smart-tabs a{padding:9px 10px;font-size:12px}.smart-fields,.smart-identity,.smart-field-choices,.smart-settings-status{grid-template-columns:1fr}#smart-root .card{padding:18px}#smart-root h2{font-size:19px}.smart-client-picker{flex-direction:column;align-items:stretch}}
