#adaptive-path{color:var(--ap-text,#f5f0f8);background:var(--ap-panel,#251b30);border:1px solid var(--ap-border,#665273);border-radius:20px;width:min(880px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;overflow:auto;box-sizing:border-box}#adaptive-path::backdrop{background:#090610aa}#adaptive-path header{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 22px;background:var(--ap-panel,#251b30);border-bottom:1px solid #665273}#adaptive-path h2{margin:0}#adaptive-path .path-body{padding:22px}#adaptive-path button,#adaptive-path select{font:inherit;color:inherit;border:1px solid var(--ap-border,#665273);background:var(--ap-raised,#30233d);border-radius:12px;min-height:44px;padding:10px 14px;white-space:normal;overflow-wrap:anywhere;max-width:100%;margin:4px}#adaptive-path button:focus-visible{outline:3px solid #e7cd84}#adaptive-path .path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#adaptive-path article{border:1px solid #665273;padding:16px;border-radius:14px}#adaptive-path h4{margin:0}#adaptive-path p{line-height:1.55}#adaptive-path .path-note{font-size:.9em;color:var(--ap-muted,#c6bcd0)}@media(max-width:650px){#adaptive-path .path-grid{grid-template-columns:1fr}#adaptive-path header{padding:12px}#adaptive-path .path-body{padding:14px}}

/* Phone dialogs use their own readable layout, independent from desktop column widths. */
@media(max-width:700px){#diagnostic-dialog#diagnostic-dialog,#adaptive-path#adaptive-path{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important;min-width:0!important;padding:0!important;resize:none!important;font-size:16px!important;overflow:auto!important;overscroll-behavior:contain}#diagnostic-dialog>header,#adaptive-path>header{gap:8px;padding:12px;align-items:flex-start}#diagnostic-dialog>header>div,#adaptive-path>header h2{min-width:0;flex:1}#diagnostic-dialog>header button,#adaptive-path>header button{flex:none;white-space:nowrap!important;min-height:44px;margin:0;padding:10px}#diagnostic-dialog h2,#adaptive-path h2{font-size:20px;line-height:1.3;overflow-wrap:anywhere}#diagnostic-dialog .diag-body,#adaptive-path .path-body{padding:16px;overflow-wrap:anywhere}#diagnostic-dialog .diag-choices label{padding:12px;gap:10px}#diagnostic-dialog .diag-choices span{min-width:0;overflow-wrap:anywhere}#diagnostic-dialog footer button{flex:1 1 90px}#adaptive-path .path-grid{grid-template-columns:1fr}#adaptive-path select{box-sizing:border-box;max-width:100%}}
