.client-outlook-new .screen-body { display: flow-root; background: #f5f5f5; min-height: 320px; font-family: "Segoe UI", system-ui, sans-serif; font-size: 13px; color: #242424; }
.on-main { min-height: 320px; background: #fff; }
.on-tabs { display: flex; align-items: center; gap: 4px; padding: 6px 10px 0; background: #f0f0f0; }
.on-tabs span { padding: 5px 10px; border-radius: 4px 4px 0 0; }
.on-tabs .is-on { background: #fff; font-weight: 600; box-shadow: inset 0 -2px 0 #0f6cbd; }
.on-tabs .on-gear { margin-left: auto; padding: 2px 8px; font-size: 17px; border-radius: 4px; }
.on-ribbon { height: 40px; border-bottom: 1px solid #e0e0e0; }
.on-panes { display: grid; grid-template-columns: 170px 1fr; height: 230px; }
.on-folders { background: #fafafa; border-right: 1px solid #e0e0e0; }
.on-settings { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 320px; background: #fff; }
.on-nav { list-style: none; margin: 0; padding: 10px 6px; background: #f5f5f5; border-right: 1px solid #e0e0e0; }
.on-nav li { padding: 6px 10px; border-radius: 4px; }
.on-nav .on-nav-title { font-size: 16px; font-weight: 600; padding-bottom: 10px; }
.on-nav .is-on { background: #e6f2fb; box-shadow: inset 3px 0 0 #0f6cbd; font-weight: 600; }
.on-page { padding: 14px 18px 18px; min-width: 0; }
.on-page h2, .on-dialog h2 { margin: 0 0 12px; font-size: 18px; font-weight: 600; }
.on-page h3 { margin: 14px 0 6px; font-size: 14px; font-weight: 600; }
.on-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #ededed; }
.on-acct { display: grid; min-width: 0; }
.on-acct-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.on-acct small { color: #616161; }
.on-btn { flex: none; display: inline-block; padding: 5px 12px; border: 1px solid #d1d1d1; border-radius: 4px; background: #fff; font-weight: 600; white-space: nowrap; }
.on-btn.is-primary { background: #0f6cbd; border-color: #0f6cbd; color: #fff; }
.on-dialog { max-width: 400px; margin: 22px auto; padding: 22px 24px; background: #fff; border-radius: 8px; box-shadow: 0 8px 28px rgba(0, 0, 0, .2); }
.on-dialog.on-small { max-width: 340px; }
.on-dialog.on-center { text-align: center; }
.on-dialog p { margin: 0 0 10px; }
.on-addr { color: #424242; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.on-label { display: block; margin: 10px 0 3px !important; font-weight: 600; }
.on-hint { margin-top: 3px !important; font-size: 12px; color: #616161; }
.on-link { margin-top: 4px !important; color: #0f6cbd; }
.client-outlook-new .field { min-height: 30px; padding: 5px 8px; border-color: #d1d1d1; border-bottom-color: #616161; border-radius: 4px; }
.on-switch { display: flex; align-items: center; gap: 8px; margin: 10px 0 !important; width: fit-content; }
.on-toggle { flex: none; position: relative; width: 36px; height: 18px; border: 1px solid #616161; border-radius: 9px; background: #fff; }
.on-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 10px; height: 10px; border-radius: 50%; background: #616161; }
.on-toggle.is-on { background: #0f6cbd; border-color: #0f6cbd; }
.on-toggle.is-on::after { left: 21px; background: #fff; }
.on-group { padding: 2px 0 6px; }
.on-two { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; }
.on-two > span { display: grid; min-width: 0; }
.on-buttons { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.on-center .on-buttons { justify-content: center; }
.on-check { display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0 0 10px !important; border-radius: 50%; background: #107c10; color: #fff; font-size: 22px; }
.on-dl { display: grid; grid-template-columns: minmax(90px, 40%) minmax(0, 1fr); gap: 4px 10px; margin: 0; }
.on-dl dt { color: #616161; }
.on-dl dd { margin: 0; overflow-wrap: anywhere; }
.on-radio { display: flex; align-items: center; gap: 8px; width: fit-content; }
.on-dot { flex: none; width: 16px; height: 16px; border: 1px solid #616161; border-radius: 50%; background: #fff; }
.on-dot.is-on { border-color: #0f6cbd; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 8px #0f6cbd; }

/* ---- visual pass ---- */
.client-outlook-new .screen-body:has(> .on-dialog) { background: #8f8f8f; }
.on-dialog { position: relative; max-width: 430px; padding: 30px 30px 26px; border-radius: 10px; font-size: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.on-dialog::before { content: "\2715"; position: absolute; right: 22px; top: 18px; font-size: 16px; color: #424242; }
.on-dialog h2 { font-size: 22px; }
.on-centerhead h2, .on-centerhead .on-addr { text-align: center; }
.on-centerhead h2 { font-size: 26px; margin-bottom: 10px; }
.on-addr { font-size: 15px; }
.on-env { display: grid; place-items: center; margin: 6px 0 2px !important; }
.on-env .ico { width: 42px; height: 42px; stroke-width: 1.300; color: #424242; }
.on-req { color: #c50f1f; font-weight: 400; }
.on-label { font-weight: 400; font-size: 14px; color: #242424; }
.on-label .ico { width: 15px; height: 15px; color: #616161; }
.client-outlook-new .field { min-height: 36px; padding: 7px 10px; font-size: 14px; border: 1px solid #d1d1d1; border-bottom: 1px solid #616161; border-radius: 4px; }
.client-outlook-new .field.select::after { content: ""; float: right; width: 8px; height: 8px; margin: 2px 2px 0 8px; border: solid #424242; border-width: 0 1.500px 1.500px 0; transform: rotate(45deg); }
.on-switch { gap: 12px; font-size: 14px; }
.on-toggle { width: 40px; height: 20px; border-radius: 10px; }
.on-toggle::after { top: 3px; left: 3px; width: 12px; height: 12px; }
.on-toggle.is-on::after { left: 23px; }
.on-two { grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; }
.on-btn { padding: 7px 16px; font-size: 14px; border-radius: 4px; }
.on-buttons { justify-content: flex-end; }
.on-center .on-buttons { justify-content: center; }
.on-nav li { font-size: 14px; }
.on-page h2 { font-size: 20px; }
.on-row { padding: 10px 0; }
.on-check { background: #107c10; }
.on-providers { list-style: none; margin: 8px 0 4px; padding: 0; text-align: left; }
.on-providers li { display: flex; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 4px; }
.on-providers li .ico { flex: none; width: 18px; height: 18px; }
.on-providers li > span:first-child { padding-left: 30px; }
.on-providers small { display: block; color: #616161; font-size: 11px; }

/* settings window as in the pictures: a second column with the pages of the chosen section */
.on-settings { grid-template-columns: 124px 132px minmax(0, 1fr); }
.on-sub { list-style: none; margin: 0; padding: 12px 4px; border-right: 1px solid #e0e0e0; font-size: 12px; }
.on-sub li { padding: 5px 8px; overflow-wrap: anywhere; }
.on-sub .is-on { font-weight: 600; box-shadow: inset 2px 0 0 #0f6cbd; }
.on-extra { margin-top: 14px; border-bottom: 0; }
.on-ph { color: #707070; }
.on-center .on-addr { margin-bottom: 10px; }
@media (max-width: 560px) { .on-settings { grid-template-columns: 96px minmax(0, 1fr); } .on-sub { display: none; } }
.on-settings { grid-template-columns: 112px 118px minmax(0, 1fr); }
.on-settings .on-row { flex-wrap: wrap; }
.on-settings .on-acct-name { white-space: normal; overflow-wrap: anywhere; }
.on-dialog span.on-link { color: #0f6cbd; }
.on-back { font-size: 12px; padding: 4px 10px; }
.on-settings { grid-template-columns: 146px 118px minmax(0, 1fr); }
.on-settings .on-nav li { font-size: 13px; overflow-wrap: anywhere; }
.on-settings .on-nav .on-nav-title { font-size: 16px; }
.on-settings .on-nav { padding-left: 4px; padding-right: 4px; }
.on-settings .on-nav li { padding-left: 8px; padding-right: 4px; font-size: 12.500px; }
