.az-smart-group{border:1px solid #dcd6f5;border-radius:20px;background:rgba(255,255,255,.6);padding:6px;flex:none;min-width:0}
/* The expanded placements list must end above the angle strip, including its last card. */
@media(max-width:699px), (max-width:1024px) and (orientation:portrait){html[data-artizia-studio] body.az-journey-active #imp-layer-rail{max-height:calc(100dvh - var(--az-header) - 244px - env(safe-area-inset-bottom) - var(--az-active-sheet))!important}}
.az-smart-edit{display:flex;flex-direction:column;gap:5px;align-items:center;width:100%;min-height:44px;padding:10px 4px;border:0;border-radius:14px;background:#eee8ff;color:#17152d;font:inherit;cursor:pointer;text-align:center}
.az-smart-edit strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}.az-smart-edit>span:last-child{font-size:10px;line-height:1.4;color:#585071}
.az-smart-thumb{width:54px;height:54px;display:grid;place-items:center;overflow:hidden;border-radius:10px;font-size:11px;line-height:1.1}.az-smart-thumb img{width:100%;height:100%;object-fit:contain}
.az-smart-placements summary{cursor:pointer;text-align:center;min-height:44px;display:flex;align-items:center;justify-content:center;gap:4px;font:inherit;font-size:11px;color:#5400ff;list-style:none}.az-smart-placements summary:before{content:'⌄'}.az-smart-placements[open] summary:before{content:'⌃'}.az-smart-placements>.ilr-card{margin-bottom:8px;max-width:100%}
.az-smart-notice{padding:12px;border:1px solid #dcd6f5;border-radius:16px;background:#f5f2ff;color:#17152d;font-size:13px;line-height:1.5;margin:8px 0 12px}.az-smart-notice p{margin:6px 0}.az-smart-notice button,.az-smart-link{min-height:44px;border:1px solid #dcd6f5;border-radius:12px;color:#5400ff;background:white;padding:8px 12px;font:inherit;cursor:pointer}.az-smart-link{margin:8px 0;width:100%}
.az-smart-source-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.az-smart-source-actions button{flex:1 1 140px;min-height:44px;border:1px solid #dcd6f5;border-radius:14px;background:#f5f2ff;color:#5400ff;padding:10px 12px;font:inherit;font-size:13px;line-height:1.4;cursor:pointer}.az-smart-source-actions button:hover{background:#eee8ff}.az-smart-source-actions :focus-visible{outline:3px solid #0848ff;outline-offset:3px}
.az-vector-style{display:flex;gap:12px;flex-wrap:wrap;border:1px solid #dcd6f5;border-radius:16px;padding:12px;margin:12px 0;font:inherit}.az-vector-style legend{font-size:13px;font-weight:600}.az-vector-style label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px}.az-vector-style button{width:44px;height:44px;border:1px solid #797089;border-radius:50%;cursor:pointer}.az-vector-style input{max-width:150px;accent-color:#0848ff}.az-vector-style :focus-visible{outline:3px solid #0848ff;outline-offset:3px}
@media(max-width:600px){.az-smart-notice{padding:8px 10px;margin:4px 0 8px;font-size:12px;line-height:1.35}.az-smart-notice p{margin:3px 0}.az-smart-source-actions{margin:6px 0;gap:6px}.az-vector-style{margin:6px 0;padding:8px;gap:8px}}
.az-smart-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-height:85dvh;overflow:auto;border:1px solid #dcd6f5;border-radius:24px;padding:24px;background:#faf8ff;color:#17152d;font:inherit}.az-smart-dialog::backdrop{background:#17152d66}.az-smart-dialog h2{font-size:22px;margin:0 0 12px}.az-smart-dialog p{line-height:1.5}.az-smart-dialog fieldset{border:1px solid #dcd6f5;border-radius:12px;margin:16px 0;max-height:35dvh;overflow:auto}.az-smart-dialog label{display:flex;align-items:center;gap:10px;min-height:44px;flex-wrap:wrap}.az-smart-dialog input:not([type=checkbox]){width:100%;min-height:44px;border:1px solid #dcd6f5;border-radius:10px;padding:8px;font:inherit;box-sizing:border-box}.az-smart-dialog input[type=checkbox]{width:20px;height:20px;accent-color:#5400ff}.az-smart-dialog-actions{display:flex;gap:12px;margin-top:20px}.az-smart-dialog button{flex:1;min-height:44px;padding:10px;border:1px solid #dcd6f5;border-radius:14px;background:white;color:#17152d;font:inherit;cursor:pointer}.az-smart-dialog button:last-child{background:#0848ff;color:white;border-color:#0848ff}.az-smart-dialog :focus-visible,.az-smart-group :focus-visible,.az-smart-notice :focus-visible{outline:3px solid #0848ff;outline-offset:3px}
