.browser-connection-dialog.browser-setup-dialog { width: min(660px,calc(100vw - 24px)); height: min(680px,calc(100dvh - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden; border: 1px solid #d8e3f2; border-radius: 20px; background: #fff; color: #253f62; }
.setup-form { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.setup-header { display: flex; align-items: center; justify-content: space-between; padding: 19px 26px; border-bottom: 1px solid #edf1f7; flex-shrink: 0; }
.setup-header > span { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; }.setup-header > span .icon { width: 19px; height: 19px; color: #5988ca; }.setup-header > button { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #8091a8; }.setup-header > button:hover { background: #edf3fb; }
.setup-progress { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; list-style: none; padding: 20px 30px 0; margin: 0; flex-shrink: 0; }
.setup-progress li { display: flex; flex: 1; flex-direction: column; align-items: center; gap: 7px; position: relative; min-width: 0; font-size: 11px; color: #9aabc0; text-align: center; }.setup-progress li:not(:last-child)::after { content: ''; position: absolute; width: calc(100% - 24px); height: 1px; background: #e1e9f4; left: calc(50% + 16px); top: 14px; }.setup-progress i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f0f4f9; font-style: normal; font-size: 12px; z-index: 1; }.setup-progress i .icon { width: 15px; height: 15px; }.setup-progress .current { color: #3778d6; font-weight: 600; }.setup-progress .current i { background: #3778d6; color: #fff; box-shadow: 0 0 0 4px #3778d612; }.setup-progress .passed i { background: #e9f2ff; color: #3778d6; }
.setup-body { flex: 1; min-height: 0; overflow: auto; padding: 28px 32px 24px; overscroll-behavior: contain; scrollbar-width: thin; }
.setup-heading { margin-bottom: 26px; }.setup-heading > p { margin: 0 0 10px; font-size: 12px; letter-spacing: 1px; color: #7c98bf; }.setup-heading h2 { font-size: 25px; font-weight: 600; letter-spacing: -.6px; margin: 0 0 10px; outline: none; line-height: 1.35; }.setup-heading > span { color: #7b8fa9; font-size: 13px; line-height: 1.7; }
.setup-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.setup-choice { display: grid; grid-template-columns: 1fr auto; gap: 8px; text-align: left; padding: 20px; border: 1px solid #dfe8f4; border-radius: 13px; background: #fbfdff; }.setup-choice:hover { background: #f0f6ff; border-color: #96b8e7; }.setup-choice > span { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; background: #e9f2ff; color: #4c83d0; margin-bottom: 8px; }.setup-choice > span .icon { width: 22px; height: 22px; }.setup-choice > strong { grid-column: 1; font-size: 16px; color: #2c4d75; font-weight: 600; }.setup-choice > small { grid-column: 1; color: #8599b3; font-size: 12px; line-height: 1.7; }.setup-choice > .icon { grid-column: 2; grid-row: 2; width: 16px; height: 16px; color: #95acca; }
.setup-resume { display: flex; align-items: center; gap: 9px; width: 100%; padding: 15px 2px 0; margin-top: 10px; color: #5883ba; font-size: 13px; }.setup-resume .icon { width: 15px; height: 15px; }.setup-resume .icon:last-child { margin-left: auto; }
.setup-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 17px 26px; background: #fbfcfe; border-top: 1px solid #e8eef7; flex-shrink: 0; }.setup-footer > span { font-size: 12px; color: #9bacc0; }.setup-footer .primary-button { min-height: 42px; padding: 10px 19px; font-size: 13px; }.setup-back { display: flex; gap: 5px; align-items: center; color: #7d93b0; padding: 9px 0; font-size: 13px; }.setup-back .icon { width: 15px; height: 15px; }
.setup-download { display: grid; align-items: center; grid-template-columns: 45px 1fr auto; gap: 14px; padding: 19px; border: 1px solid #d7e7fd; border-radius: 13px; background: #f1f7ff; }.setup-download-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; color: #fff; background: linear-gradient(140deg,#569eed,#2c70d8); }.setup-download-icon .icon { width: 27px; height: 27px; }.setup-download strong { display: block; font-size: 15px; font-weight: 600; }.setup-download small { display: block; margin-top: 5px; font-size: 11px; color: #7e99bb; }.setup-download .primary-button { font-size: 12px; padding: 10px 13px; }.setup-download-status { margin: 7px 0 0; min-height: 18px; font-size: 12px; color: #548c77; }
.setup-actions { list-style: none; padding: 0; margin: 18px 0 22px; display: flex; flex-direction: column; gap: 19px; }.setup-actions li { display: flex; gap: 13px; align-items: flex-start; font-size: 14px; color: #647c9b; line-height: 1.9; }.setup-actions li > span { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; background: #edf3fb; color: #7394bd; font-size: 12px; }.setup-actions strong { color: #355c8b; font-weight: 600; }
.setup-copy { display: flex; gap: 8px; margin: 10px 0; }.browser-setup-dialog .setup-copy input { min-width: 0; flex: 1; background: #f5f8fc; color: #416893; font-size: 13px; font-family: Consolas,monospace; }.setup-copy button,.setup-command button { border: 1px solid #dce7f5; background: #fff; color: #4e7fb9; padding: 8px 13px; border-radius: 8px; flex-shrink: 0; font-size: 12px; }
.setup-command { display: flex; align-items: flex-start; gap: 8px; padding: 13px; background: #eef3fa; border-radius: 10px; margin: 15px 0; }.setup-command textarea { flex: 1; min-width: 0; resize: vertical; border: 0; padding: 3px 0; font: 12px/1.85 Consolas,monospace; color: #45688f; background: transparent; }
.setup-note { display: flex; align-items: flex-start; gap: 9px; background: #f3f7fc; color: #879bb5; border-radius: 9px; padding: 12px 14px; margin: 23px 0 0; font-size: 12px; line-height: 1.8; }.setup-note .icon { width: 15px; height: 15px; margin-top: 3px; flex-shrink: 0; }
.setup-text-button { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #5483c1; padding: 7px 0; }.setup-text-button .icon { width: 15px; height: 15px; }
.setup-details { margin: 18px 0 0; border-top: 1px solid #e4ecf6; }.setup-details summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: #6583a8; padding: 15px 0; }.setup-details summary::after { content: '+'; font-size: 17px; }.setup-details[open] summary::after { content: '−'; }.setup-details summary > span { margin-left: auto; color: #9cacc1; font-size: 11px; }.setup-details > div { padding: 3px 0 8px; }.setup-hint { font-size: 12px; color: #8ea0b7; line-height: 1.8; margin: 8px 0; }
.browser-setup-dialog .setup-body label { margin: 0 0 17px; gap: 9px; color: #4e6d93; font-size: 13px; }.browser-setup-dialog .setup-body input,.browser-setup-dialog .setup-body select { min-height: 43px; font-size: 14px; border-color: #dce6f2; }.browser-setup-dialog input::placeholder { color: #adbbce; }
.setup-device-choices { display: flex; flex-direction: column; gap: 14px; }.setup-device-choices > button { display: flex; align-items: center; text-align: left; gap: 17px; border: 1px solid #dfe8f4; border-radius: 12px; padding: 23px 19px; background: #fbfdff; color: #6b8db7; }.setup-device-choices > button.selected { border-color: #7ea9e4; background: #f0f6ff; box-shadow: 0 0 0 1px #7ea9e426; }.setup-device-choices > button > span { flex: 1; }.setup-device-choices strong { display: block; color: #35577f; font-size: 15px; }.setup-device-choices small { display: block; color: #8ba0bb; margin-top: 6px; font-size: 12px; }.setup-device-choices > button > .icon:last-child { width: 17px; height: 17px; }
.setup-option-card { display: flex; align-items: flex-start; gap: 14px; background: #f0f6ff; border: 1px solid #dae7fa; border-radius: 12px; padding: 22px; }.setup-option-card > .icon { color: #5c8ec8; width: 21px; height: 21px; }.setup-option-card strong { font-size: 14px; font-weight: 600; }.setup-option-card p { margin: 9px 0 0; line-height: 1.8; font-size: 12px; color: #8b9fb8; }
.setup-deploy-entry { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0; width: 100%; padding: 18px; border-radius: 10px; border: 1px dashed #ccdcee; color: #6384ae; font-size: 13px; }.setup-deploy-entry .icon { width: 17px; height: 17px; }
.setup-host-fields { display: grid; grid-template-columns: minmax(0,1fr) 120px; gap: 12px; }.setup-inline-actions { display: flex; gap: 18px; align-items: center; margin-top: 17px; }.setup-inline-actions button { display: flex; gap: 5px; align-items: center; color: #5d86bb; font-size: 12px; }.setup-inline-actions .icon { width: 15px; height: 15px; }
.setup-ready { display: flex; flex-direction: column; align-items: center; gap: 14px; background: #f4f9ff; padding: 28px 18px; border-radius: 12px; margin-bottom: 21px; }.setup-ready > .icon { padding: 9px; width: 45px; height: 45px; border-radius: 50%; color: #438a75; background: #e4f4ef; }.setup-ready strong { font-size: 15px; color: #496c99; overflow-wrap: anywhere; }.setup-ready span { font-size: 12px; color: #8ba0bb; }.setup-wide { width: 100%; font-size: 13px; min-height: 42px; }
.setup-alert { margin: 18px 0 0; padding: 11px 13px; background: #fff0ec; border-radius: 8px; color: #ac6250; font-size: 13px; line-height: 1.8; }
.browser-setup-dialog button:disabled { opacity: .5; cursor: wait; }.browser-setup-dialog :is(button,summary,input,select,textarea):focus-visible { outline: 2px solid #78a6e7; outline-offset: 3px; }
@media(max-width:520px) {
  .browser-connection-dialog.browser-setup-dialog { height: calc(100dvh - 20px); max-height: calc(100dvh - 20px); border-radius: 15px; }
  .setup-header { padding: 16px 19px; }.setup-body { padding: 23px 20px; }.setup-heading h2 { font-size: 22px; }.setup-heading { margin-bottom: 22px; }.setup-choices { gap: 10px; }.setup-choice { padding: 15px 12px; }.setup-choice > strong { font-size: 14px; }.setup-choice > small { font-size: 11px; }.setup-choice > .icon { display: none; }.setup-choice > strong,.setup-choice > small { grid-column: 1 / -1; }.setup-footer { padding: 14px 18px; }.setup-footer > span { font-size: 11px; }.setup-progress { padding: 20px 15px 0; gap: 4px; }.setup-progress li { font-size: 10px; }.setup-download { grid-template-columns: 40px 1fr; padding: 16px; gap: 12px; }.setup-download .primary-button { grid-column: 1 / -1; min-height: 41px; }.setup-download-icon { width: 40px; height: 40px; }.setup-actions { gap: 15px; }.setup-actions li { font-size: 13px; }.setup-command { flex-direction: column; align-items: stretch; }.setup-command textarea { width: 100%; }.browser-setup-dialog .setup-body input,.browser-setup-dialog .setup-body select { font-size: 16px; }.setup-host-fields { grid-template-columns: minmax(0,1fr) 90px; }.setup-note { padding: 11px; font-size: 11px; }
}

.setup-remember{display:flex!important;align-items:center;gap:10px;margin-top:18px;cursor:pointer}.setup-remember input[type=checkbox]{width:18px!important;height:18px;flex:0 0 18px;margin:0;accent-color:#3478df}.setup-remember span{display:flex;flex-direction:column;gap:4px}.setup-remember small{font-size:12px;color:#7890af;font-weight:400}
