.smart-page { max-width: 56rem; margin: 2rem auto 4rem; padding: 0 1rem; color: #13273d; text-align: start; }
.smart-crumb { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem; margin-bottom:1rem; font-size:.9rem; }
.smart-crumb a,.smart-guide a { color:#174b80; text-decoration:underline; text-underline-offset:3px; }
.smart-panel { background:linear-gradient(135deg,#071b32,#102c47); color:#f6fbff; border:1px solid #2c526b; border-radius:1.4rem; padding:clamp(1.2rem,4vw,2.6rem); box-shadow:0 12px 38px #10283a24; }
.smart-panel h1 { color:#fff; margin:0 0 .6rem; font-size:clamp(1.75rem,5vw,2.75rem); line-height:1.2; }
.smart-panel p { color:#d4e2ec; line-height:1.5; margin:.5rem 0 1rem; }
.smart-panel fieldset { border:0; padding:0; margin:0; min-width:0; }
.smart-panel label { display:grid; gap:.4rem; margin:0; color:#eff7ff; font-weight:600; }
.smart-drop { position:relative; cursor:pointer; border:1.5px dashed #7ab3d0; padding:1rem; border-radius:.8rem; background:#10273c; }
.smart-drop small { font-weight:400; color:#c8e0ee; }
.smart-drop input { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.smart-drop:focus-within { outline:3px solid #efb84d; outline-offset:3px; }
.smart-advanced { grid-column:1/-1; }
.smart-advanced summary { cursor:pointer; min-height:44px; padding:.6rem 0; color:#b4eaff; }
.smart-panel select,.smart-panel input[type=number],.smart-panel button,.smart-panel textarea { border:1px solid #7095aa; border-radius:.45rem; min-height:44px; padding:.45rem .75rem; font:inherit; }
.smart-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr)); gap:.9rem; margin:1rem 0; }
.smart-options input,.smart-options select { width:100%; min-width:0; background:#f2f7fc; color:#122b40; }
.smart-panel button { cursor:pointer; color:#e6f4fa; background:#183953; }
.smart-panel button:disabled { opacity:.55; cursor:default; }
.smart-panel #smart-run,.smart-panel #results a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; background:#a2eceb; color:#062b38; border:0; font-weight:700; border-radius:.55rem; padding:.65rem 1.35rem; text-decoration:none; }
.smart-page :focus-visible { outline:3px solid #efb84d; outline-offset:3px; }
#smart-status { min-height:1.5em; margin:.65rem 0 0; }
#queue { padding-inline-start:1.5rem; }
#queue li { margin:.3rem 0; overflow-wrap:anywhere; }
#queue button { margin-inline-start:.35rem; min-width:44px; }
#results section { border-top:1px solid #547386; padding-top:1rem; margin-top:1rem; }
#results { overflow-wrap:anywhere; }
#results textarea { width:100%; min-height:9rem; background:#fff; color:#17283b; margin-bottom:.75rem; }
.smart-guide { padding:1.2rem .3rem; line-height:1.6; }
.smart-guide h2 { color:inherit; font-size:1.25rem; margin:.75rem 0; }
.smart-guide ul { padding-inline-start:1.4rem; }
@media(max-width:500px) { .smart-page { margin-top:1.1rem; } .smart-panel #smart-run { width:100%; } }

.smart-guide { max-width: 72ch; }
.smart-guide h2 { margin-block: 1.5rem .5rem; }
.smart-guide p, .smart-guide li { line-height: 1.75; }
.smart-guide ol { padding-inline-start: 1.4rem; }
.smart-guide .smart-faq { border: 1px solid #b8cad9; border-radius: .7rem; margin-block: .7rem 1.2rem; padding: .8rem 1rem; background: #f0f6fa; }
.smart-guide .smart-faq summary { cursor: pointer; font-weight: 650; }
.smart-guide .smart-faq summary:focus-visible { outline: 3px solid #d49117; outline-offset: 4px; }
.smart-guide .smart-faq p { margin-bottom: 0; }

.smart-info { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap:.65rem; margin-block:.8rem 1.2rem; }
.smart-info > div { border:1px solid #c7d6df; border-radius:.6rem; padding:.7rem .9rem; background:#f4f8fa; min-width:0; }
.smart-info dt { font-size:.85rem; color:#456379; }
.smart-info dd { margin:0; font-weight:650; overflow-wrap:anywhere; }
