.smart-builder{background:linear-gradient(145deg,#101a34,#0d1428 58%);overflow:hidden}
.smart-builder-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.smart-builder-head h3{font-size:24px;margin:4px 0 7px}.smart-eyebrow{display:block;color:#8db8ff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;margin-bottom:5px}
.smart-ai-state{padding:7px 11px;border:1px solid rgba(245,158,11,.35);border-radius:999px;color:#fcd34d;font-size:11px;white-space:nowrap}.smart-ai-state.is-ready{border-color:rgba(34,197,94,.4);color:#86efac}
.smart-steps{display:grid;grid-template-columns:repeat(5,1fr);list-style:none;padding:0;margin:22px 0 18px;counter-reset:none}.smart-steps li{padding:10px 12px;border-bottom:2px solid rgba(255,255,255,.1);color:#7f90b2;font-size:12px}.smart-steps li.is-active{color:#dbeafe;border-color:#60a5fa}
.smart-analyze-row{display:grid;grid-template-columns:minmax(260px,1fr) 170px 170px;gap:10px}.smart-analyze-row input{width:100%;box-sizing:border-box}.smart-analyze-row button{width:auto}
.smart-builder-empty{margin-top:18px;padding:24px;border:1px dashed rgba(96,165,250,.25);border-radius:14px;text-align:center;color:#8ea0c4}
.smart-brand-kit{display:grid;grid-template-columns:160px repeat(3,minmax(0,1fr));gap:14px;align-items:center;margin-top:18px;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.025)}
.smart-brand-logo{height:72px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#fff;color:#475569;font-size:11px;overflow:hidden}.smart-brand-logo img{max-width:90%;max-height:58px;object-fit:contain}
.smart-colors{display:flex;gap:7px;align-items:center}.smart-color{display:block;width:28px;height:28px;border-radius:50%;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.smart-proposals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.smart-proposal{border:1px solid rgba(255,255,255,.1);border-radius:16px;background:#111a31;overflow:hidden;display:flex;flex-direction:column}.smart-proposal-preview{height:150px;background:#f8fafc}.smart-proposal-preview img{display:block;width:100%;height:100%;object-fit:cover}
.smart-proposal-body{padding:16px;display:flex;flex-direction:column;flex:1}.smart-proposal h4{font-size:17px;margin:2px 0 7px}.smart-proposal p{min-height:56px}.smart-score{display:flex;gap:16px;margin:14px 0}.smart-score span{color:#8ea0c4;font-size:11px}.smart-score strong{color:#dbeafe;font-size:15px;margin-left:4px}.smart-proposal button{margin-top:auto;width:100%}
.smart-advanced{margin-bottom:16px}.smart-advanced>summary{cursor:pointer;padding:15px 18px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#0d1428;color:#aebbd6;font-weight:700}.smart-advanced[open]>summary{margin-bottom:14px;border-color:rgba(96,165,250,.3)}
@media(max-width:1100px){.smart-builder-head{flex-direction:column}.smart-steps{grid-template-columns:1fr}.smart-steps li{display:none}.smart-steps li.is-active{display:block}.smart-analyze-row{grid-template-columns:1fr}.smart-brand-kit{grid-template-columns:1fr 1fr}.smart-proposals{grid-template-columns:1fr}.smart-brand-logo{grid-column:1/-1}}
.smart-notice{padding:14px 16px;margin-bottom:16px;border:1px solid rgba(96,165,250,.35);border-radius:14px;background:rgba(37,99,235,.12);color:#dbeafe;line-height:1.5}
.smart-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.smart-kpi{padding:16px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:#10182c;display:flex;flex-direction:column;gap:7px}
.smart-kpi span,.smart-policy-card span{font-size:12px;color:#8ea0c4;text-transform:uppercase;letter-spacing:.06em}
.smart-kpi strong{font-size:20px;overflow-wrap:anywhere}
.smart-policy-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 16px;margin-bottom:16px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.025)}
.smart-policy-card div{display:flex;flex-direction:column;gap:6px}.smart-policy-card p{margin:0;color:#aebbd6;font-size:13px}
.smart-layout{display:grid;grid-template-columns:minmax(260px,.65fr) minmax(0,1.7fr);gap:16px;margin-bottom:16px}
.smart-card{padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:16px;background:#0d1428;margin-bottom:16px;min-width:0}
.smart-layout>.smart-card{margin-bottom:0}
.smart-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}
.smart-card h3{margin:0 0 5px;font-size:17px}.smart-card p{margin:0;color:#8ea0c4;font-size:13px;line-height:1.45}
.smart-theme-list{display:flex;flex-direction:column;gap:9px}
.smart-theme-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;text-align:left;padding:13px;background:#111a31;border:1px solid rgba(255,255,255,.08);border-radius:12px;box-shadow:none}
.smart-theme-row.is-selected{border-color:#6d8cff;background:rgba(79,70,229,.16)}
.smart-theme-row span:first-child{display:flex;flex-direction:column;gap:5px;min-width:0}.smart-theme-row small,.smart-table small{display:block;color:#8ea0c4;overflow-wrap:anywhere}
.smart-validation{grid-column:1/-1;color:#8ea0c4;font-size:11px}
.smart-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.smart-status.is-ready{background:rgba(34,197,94,.14);color:#86efac}.smart-status.is-error{background:rgba(239,68,68,.14);color:#fca5a5}.smart-status.is-draft{background:rgba(245,158,11,.14);color:#fcd34d}
.smart-editor label{display:flex;flex-direction:column;gap:7px;margin-bottom:14px;color:#aebbd6}
.smart-editor input,.smart-editor textarea,.smart-import-row input{box-sizing:border-box;width:100%}
.smart-editor textarea{min-height:130px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.45;resize:vertical}
.smart-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.smart-template-field textarea{min-height:105px}
.smart-actions{display:flex;gap:10px}.smart-actions button{width:auto;min-width:170px}
.smart-import-row{display:grid;grid-template-columns:minmax(0,1fr) 220px 150px;gap:10px;margin:15px 0}
.smart-message{min-height:18px;margin-top:10px;font-size:13px}.smart-message.is-success{color:#86efac}.smart-message.is-error{color:#fca5a5}
.smart-empty{padding:24px;border:1px dashed rgba(255,255,255,.14);border-radius:14px;color:#8ea0c4;text-align:center}
.smart-table-wrap{overflow:auto}.smart-table{width:100%;border-collapse:collapse;font-size:12px}
.smart-table th,.smart-table td{padding:11px;border-bottom:1px solid rgba(255,255,255,.07);text-align:left;vertical-align:top}.smart-table th{color:#8ea0c4;text-transform:uppercase;letter-spacing:.05em}
@media(max-width:1100px){.smart-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smart-layout{grid-template-columns:1fr}.smart-template-grid{grid-template-columns:1fr}.smart-import-row{grid-template-columns:1fr}.smart-policy-card{align-items:flex-start;flex-direction:column}}
.smart-bulk-import{display:grid;grid-template-columns:minmax(260px,1fr) 160px 170px;gap:12px;align-items:end;margin:12px 0}
.smart-bulk-import label{display:flex;flex-direction:column;gap:7px;color:#aebbd6;font-size:12px}.smart-bulk-import input{width:100%;box-sizing:border-box}
.smart-job{padding:16px;margin:12px 0 18px;border:1px solid rgba(96,165,250,.25);border-radius:14px;background:#10182c}
.smart-job-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.smart-job-head>div{display:flex;flex-direction:column;gap:4px}
.smart-progress{height:10px;margin:13px 0;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.08)}
.smart-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#22c55e);transition:width .2s ease}
.smart-job-counts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:13px}.smart-job-counts span{color:#8ea0c4;font-size:11px}.smart-job-counts strong{display:block;color:#dbeafe;font-size:16px;margin-top:3px}
.smart-single-import{margin:14px 0}.smart-single-import>summary{cursor:pointer;color:#9fb2d4;font-size:12px}
@media(max-width:1100px){.smart-bulk-import{grid-template-columns:1fr}.smart-job-counts{grid-template-columns:repeat(2,minmax(0,1fr))}}

.smart-preview-studio{position:fixed;inset:0;z-index:10000;padding:24px;background:rgba(2,6,23,.88);overflow:auto}.smart-preview-dialog{width:min(1780px,100%);margin:auto;padding:20px;border:1px solid rgba(96,165,250,.35);border-radius:18px;background:#081123;box-shadow:0 24px 80px rgba(0,0,0,.55)}.smart-preview-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.smart-preview-head h3{margin:2px 0 5px;font-size:24px}.smart-preview-head p{margin:0;color:#9fb2d4}.smart-preview-head button{width:auto}.smart-preview-integrations{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.smart-preview-integrations span{padding:6px 9px;border:1px solid rgba(74,222,128,.28);border-radius:999px;background:rgba(34,197,94,.1);color:#86efac;font-size:11px}.smart-preview-devices{display:grid;grid-template-columns:minmax(600px,1fr) 430px;gap:24px;align-items:start}.smart-preview-devices section>strong{display:block;margin-bottom:8px;color:#c7d5ef}.smart-desktop-frame{height:780px;border:8px solid #283650;border-radius:14px;overflow:auto;background:#fff}.smart-desktop-frame iframe{display:block;width:1080px;height:100%;margin:0 auto;border:0;background:#fff}.smart-phone-frame{position:relative;width:390px;height:844px;margin:auto;padding:22px 8px 10px;border:8px solid #1f2937;border-radius:42px;background:#111827;box-shadow:0 16px 45px rgba(0,0,0,.45);overflow:hidden}.smart-phone-speaker{position:absolute;top:8px;left:50%;width:72px;height:5px;transform:translateX(-50%);border-radius:999px;background:#475569}.smart-phone-frame iframe{display:block;width:100%;height:100%;border:0;border-radius:25px;background:#fff}@media(max-width:1250px){.smart-preview-devices{grid-template-columns:1fr}.smart-preview-devices section:first-child{overflow:auto}}@media(max-width:560px){.smart-preview-studio{padding:8px}.smart-preview-dialog{padding:12px}.smart-preview-head{flex-direction:column}.smart-preview-devices{display:block}.smart-preview-devices section:first-child{display:none}.smart-phone-frame{width:min(390px,100%);height:760px}}

.smart-adv-config{border-color:rgba(74,222,128,.22)}.smart-adv-contract{display:flex;gap:8px;flex-wrap:wrap;margin:-4px 0 18px}.smart-adv-contract span{padding:6px 10px;border:1px solid rgba(96,165,250,.25);border-radius:999px;background:rgba(37,99,235,.1);color:#bfdbfe;font-size:11px}.smart-adv-layout{grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr)}.smart-adv-enabled{display:flex!important;flex-direction:row!important;align-items:center;gap:9px!important}.smart-adv-enabled input,.smart-adv-toggle input{width:auto}.smart-adv-table textarea{width:100%;min-width:300px;min-height:58px;box-sizing:border-box;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;resize:vertical}.smart-adv-toggle{text-align:center!important}.smart-adv-config>.smart-actions{margin-top:16px}@media(max-width:1100px){.smart-adv-layout{grid-template-columns:1fr}.smart-adv-table textarea{min-width:220px}}
