.family-outlook { font-family: "Segoe UI", system-ui, sans-serif; }
.family-outlook .screen-body { background: #fff; min-height: 380px; }
.ol-tabs { display: flex; background: #0072c6; color: #fff; }
.ol-tab { padding: 5px 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
.ol-tab.is-active { background: #fff; color: #0072c6; }
.ol-tab-file { background: #0072c6; }
.ol-ribbon { display: flex; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #d4d4d4; background: #fff; }
.ol-ribbon i { width: 46px; height: 46px; background: #eef3f8; border-radius: 3px; }
.ol-panes { display: grid; grid-template-columns: 150px 210px 1fr; height: 270px; }
.ol-panes div { border-right: 1px solid #e1e1e1; }
.ol-panes div:first-child { background: #f4f4f4; }

.ol-backstage { display: grid; grid-template-columns: 150px 1fr; min-height: 430px; }
.ol-bs-nav { list-style: none; margin: 0; padding: 18px 0; background: #0072c6; color: #fff; }
.ol-bs-nav li { padding: 8px 18px; }
.ol-bs-nav li.is-active { background: #19478a; }
.ol-bs-page { padding: 18px 24px; position: relative; }
.ol-bs-page h2 { font-size: 26px; font-weight: 300; margin: 0 0 14px; }
.ol-bs-account { max-width: 330px; min-height: 30px; margin-bottom: 8px; }
.ol-bs-add { display: inline-block; padding: 5px 10px; border: 1px solid #ababab; margin-bottom: 22px; }
.ol-bs-add b { color: #0072c6; }
.ol-bs-row { position: relative; }
.ol-bs-big { display: inline-grid; justify-items: center; gap: 4px; width: 110px; padding: 8px; border: 1px solid #ababab; text-align: center; font-size: 12px; }
.ol-bs-big i { width: 30px; height: 30px; background: #eef3f8; border: 1px solid #c8d6e5; }
.ol-bs-menu { list-style: none; margin: 0; padding: 3px; position: absolute; left: 0; top: 100%; z-index: 3; min-width: 300px; background: #fff; border: 1px solid #ababab; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.ol-bs-menu li { padding: 7px 10px; }

.ol-wizard, .ol-dialog { background: #f0f0f0; border: 1px solid #888; font-size: 12px; }
.ol-wizard { min-height: 380px; display: flex; flex-direction: column; }
.ol-wiz-title { padding: 6px 10px; background: #fff; border-bottom: 1px solid #ddd; }
.ol-wiz-head { padding: 10px 14px; background: #fff; font-weight: 600; border-bottom: 1px solid #ccc; }
.ol-wiz-body { flex: 1; padding: 14px 18px; }
.ol-wiz-body h3, .ol-dlg-body h3 { font-size: 12px; font-weight: 600; margin: 8px 0 6px; }
.ol-wiz-blank { display: grid; gap: 8px; margin: 10px 0 60px 24px; }
.ol-wiz-blank i { display: block; height: 20px; width: 60%; background: #e4e4e4; }
.ol-wiz-buttons { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px 22px; border-top: 1px solid #ccc; }
.ol-btn { display: inline-block; padding: 4px 16px; border: 1px solid #adadad; background: #e1e1e1; white-space: nowrap; }
.ol-btn.is-default { border-color: #0078d7; box-shadow: inset 0 0 0 1px #0078d7; }
.ol-radio, .ol-check { display: flex; align-items: center; gap: 7px; margin: 6px 0; }
.ol-radio i, .ol-check i { flex: none; width: 13px; height: 13px; border: 1px solid #333; background: #fff; }
.ol-radio i { border-radius: 50%; }
.ol-radio.is-on i { background: radial-gradient(circle, #111 0 38%, #fff 42%); }
.ol-check.is-on i { background: #fff linear-gradient(#111, #111) center / 7px 7px no-repeat; }
.ol-indent { margin-left: 22px; }
.ol-form { display: block; }
.ol-form label, .ol-dlg-body label { display: grid; grid-template-columns: 232px minmax(0, 1fr); align-items: center; gap: 8px; margin-bottom: 5px; }
.ol-dlg-body label { grid-template-columns: minmax(0, 1fr) auto; }
.ol-form-side { text-align: right; margin-top: 4px; }
.family-outlook .field { min-height: 22px; padding: 2px 6px; border-radius: 0; border-color: #7a7a7a; }
.ol-dialog-backdrop { min-height: 380px; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.2); }
.ol-dialog { width: 440px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.ol-dlg-tabs { display: flex; gap: 2px; padding: 8px 10px 0; }
.ol-dlg-tabs span { padding: 4px 10px; border: 1px solid #ccc; border-bottom: 0; background: #e8e8e8; }
.ol-dlg-tabs span.is-active { background: #fff; }
.ol-dlg-body { margin: 0 10px; padding: 12px; background: #fff; border: 1px solid #ccc; min-height: 150px; }
.ol-tasks { width: 100%; border-collapse: collapse; margin-top: 8px; }
.ol-tasks td { border: 1px solid #ddd; padding: 4px 6px; }
.ol-tick { color: #107c10; font-style: normal; }
.ol-done { display: grid; place-items: center; font-size: 15px; }

.ol-accounts { width: 520px; }
.ol-acc-bar { display: flex; gap: 14px; padding-bottom: 8px; }
.ol-tasks th { text-align: left; border: 1px solid #ddd; padding: 4px 6px; background: #f3f3f3; font-weight: 400; }
.ol-tasks tr.is-selected td { background: #cde6f7; }

.ol-s { max-width: 460px; min-height: 380px; margin: 0 auto; padding: 22px 28px; display: flex; flex-direction: column; font-size: 13px; }
.ol-s-brand { color: #0078d4; font-size: 20px; font-weight: 600; margin-bottom: 14px; }
.ol-s h2 { font-size: 19px; font-weight: 600; margin: 0 0 4px; }
.ol-s h3 { font-size: 13px; font-weight: 600; margin: 12px 0 6px; }
.ol-s-sub { margin: 0 0 8px; color: #444; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ol-s-stack { display: grid; gap: 4px; margin: 8px 0; }
.ol-s-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto 60px; gap: 8px; align-items: center; margin: 0 0 6px; }
.ol-s-row2 { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px; align-items: center; margin: 0 0 6px; }
.ol-s-link { color: #0067b8; }
.ol-s-buttons { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.ol-s-buttons .ol-s-link { margin-right: auto; }
.ol-s-btn { padding: 6px 28px; background: #0078d4; color: #fff; }
.ol-s-closed { color: #444; }
.ol-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0; }
.ol-tiles span { display: grid; place-items: center; height: 74px; border: 1px solid #c8c8c8; background: #fafafa; }

.ol-new-top { display: flex; align-items: center; gap: 12px; padding: 6px 12px; background: #0f6cbd; color: #fff; }
.ol-new-brand { font-weight: 600; }
.ol-new-search { flex: 1; max-width: 300px; height: 22px; margin: 0 auto; border-radius: 4px; background: #d6e8f7; }
.ol-new-gear { font-size: 16px; }
.ol-new-tabs { display: inline-flex; gap: 4px; margin: 6px 8px; padding: 2px; }
.ol-new-tabs span { padding: 4px 12px; border-radius: 4px; }
.ol-new-tabs span.is-active { box-shadow: inset 0 -2px 0 #0f6cbd; font-weight: 600; }
.ol-prod { margin: 0 0 16px; padding: 6px; display: inline-block; }
.ol-tiles { grid-template-columns: repeat(4, 1fr); }
.ol-tiles span { text-align: center; padding: 0 4px; }
.ol-s-split { display: flex; justify-content: space-between; gap: 12px; overflow: visible; }
.ol-bs-nav { display: flex; flex-direction: column; }
.ol-bs-nav .ol-bs-low { margin-top: auto; }

/* ---- visual pass: the newer dialogs (Microsoft 365) are white sheets with the blue outline ---- */
.family-outlook .screen-body:has(> .ol-s) { background: #dfe3e8; padding: 14px 0; }
.ol-s { position: relative; max-width: 520px; min-height: 410px; padding: 34px 44px 28px; background: #fff; border: 2px solid #1a73d9; border-radius: 9px; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.ol-s::before { content: "\2715"; position: absolute; right: 18px; top: 12px; font-size: 15px; color: #323130; }
.ol-s h2 { font-size: 22px; margin: 0 0 6px; color: #201f1e; }
.ol-s-sub { margin: 0 0 20px; font-size: 15px; color: #323130; }
.ol-s h3 { display: flex; align-items: center; gap: 4px; margin: 16px 0 10px; font-size: 16px; font-weight: 700; color: #201f1e; }
.ol-s h3.ol-s-open { justify-content: space-between; padding: 2px 4px; outline: 2px solid #201f1e; outline-offset: 1px; }
.ol-s h3 .ico { width: 14px; height: 14px; stroke-width: 2.200; }
.ol-s-row2 { grid-template-columns: 190px minmax(0, 1fr); gap: 10px; margin: 0 0 10px 30px; }
.ol-s-row { grid-template-columns: auto minmax(0, 1fr) auto 76px; gap: 12px; margin: 0 0 12px 30px; }
.ol-s .field { min-height: 34px; padding: 6px 10px; border: 1px solid #8a8886; border-radius: 4px; font-size: 14px; }
.ol-s .field.select::after { content: ""; float: right; width: 7px; height: 7px; margin: 3px 2px 0 8px; border: solid #323130; border-width: 0 1.500px 1.500px 0; transform: rotate(45deg); }
.ol-s .ol-check, .ol-s .ol-radio { gap: 10px; margin: 8px 0 8px 30px; }
.ol-s .ol-check i { width: 18px; height: 18px; border: 1px solid #605e5c; border-radius: 3px; }
.ol-s .ol-check.is-on i { position: relative; background: #0f6cbd; border-color: #0f6cbd; }
.ol-s .ol-check.is-on i::after { content: ""; position: absolute; left: 5.500px; top: 1.500px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ol-s .ol-radio i { width: 18px; height: 18px; border: 1px solid #605e5c; }
.ol-s .ol-radio.is-on i { border-color: #0f6cbd; background: radial-gradient(circle, #0f6cbd 0 40%, #fff 46%); }
.ol-s .ol-indent { margin-left: 58px; }
.ol-s-buttons { padding-top: 20px; }
.ol-s-btn { padding: 8px 36px; border-radius: 4px; font-size: 15px; background: #0f6cbd; }
.ol-s-brand { display: flex; align-items: center; gap: 8px; font-size: 22px; color: #0f6cbd; }
.ol-s-brand::before { content: ""; width: 26px; height: 26px; border-radius: 5px; background: linear-gradient(135deg, #28a8ea, #0f6cbd); }
.ol-s-stack { gap: 6px; margin: 14px 0; font-size: 14px; }
.ol-tiles { gap: 12px; margin: 18px 0; }
.ol-tiles span { height: 86px; border: 1px solid #d2d0ce; border-radius: 4px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1); font-size: 13px; }
.ol-tick { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #107c10; color: #fff; font-size: 12px; }
/* backstage in the Microsoft 365 colours */
.ol-bs-nav { background: #0f548c; }
.ol-bs-nav li { padding: 9px 20px; font-size: 14px; }
.ol-bs-nav li.is-active { background: #0a3d66; box-shadow: inset 4px 0 0 #fff; }
.ol-bs-page h2 { font-size: 28px; color: #201f1e; }
.ol-bs-add { padding: 6px 12px; border: 1px solid #8a8886; border-radius: 2px; background: #fff; }
.ol-bs-add b { color: #107c10; font-size: 15px; }
.ol-bs-big { border: 1px solid #c8c6c4; border-radius: 2px; background: #fff; }
/* the older wizard keeps the classic grey Windows look: a tick instead of a filled square */
.ol-check.is-on i { background: #fff; position: relative; }
.ol-check.is-on i::after { content: ""; position: absolute; left: 3.500px; top: .500px; width: 3px; height: 7px; border: solid #111; border-width: 0 1.500px 1.500px 0; transform: rotate(45deg); }
.ol-wizard, .ol-dialog { border-color: #6d6d6d; font-family: Tahoma, "Segoe UI", sans-serif; font-size: 11.500px; }
.ol-btn { min-width: 74px; text-align: center; padding: 3px 12px; background: linear-gradient(#f6f6f6, #dddddd); border: 1px solid #adadad; border-radius: 2px; }
.ol-wizard .field, .ol-dialog .field { border: 1px solid #7a7a7a; box-shadow: inset 1px 1px 0 #d9d9d9; min-height: 20px; }

/* classic Outlook, newer window: the certificate warning and the failure page */
.ol-warn { max-width: 330px; margin: 6px auto 0; padding: 8px 12px 10px; background: #f3f3f3; border: 1px solid #8a8a8a; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); font-size: 11.500px; }
.ol-warn p { margin: 0 0 8px; }
.ol-warn-title { font-size: 12px; margin-bottom: 10px !important; }
.ol-warn-mid { text-align: center; }
.ol-warn-buttons { display: flex; justify-content: center; gap: 10px; margin: 4px 0 0 !important; }
.ol-warn-btn { display: inline-block; min-width: 62px; padding: 3px 10px; background: #fdfdfd; border: 1px solid #adadad; border-radius: 3px; text-align: center; }
.ol-fail-msg { margin: 0 0 14px; padding: 4px 6px; border: 2px solid #201f1e; color: #a4262c; font-size: 12px; }
.ol-fail-row { margin: 0 0 10px; padding: 7px 12px; border: 1px solid #8a8886; border-radius: 3px; font-size: 13px; }
.ol-fail-row::before { content: "\2192"; margin-right: 10px; color: #0f6cbd; }

/* Outlook 2007: menu bar instead of the ribbon, and the pages of its account wizard (docs/reference/outlook-2007-windows) */
.o7-main { position: relative; min-height: 330px; background: #bfdbff; }
.o7-menubar { display: flex; flex-wrap: wrap; gap: 2px; padding: 3px 6px; background: #bfdbff; font-size: 12px; }
.o7-menubar span { padding: 2px 7px; border: 1px solid transparent; }
.o7-menubar span.is-open { background: #fff; border-color: #6f8fbf; border-bottom-color: #fff; }
.o7-menu { display: flex; flex-direction: column; width: 250px; max-width: 78%; margin-left: 22%; background: #fafafa; border: 1px solid #6f8fbf; box-shadow: 2px 2px 3px rgba(0, 0, 0, .25); font-size: 12px; position: relative; z-index: 1; }
.o7-menu span { padding: 4px 10px 4px 30px; }
.o7-menu span.o7-sep { border-top: 1px solid #c5c5c5; }
.o7-main .ol-panes { position: absolute; inset: 26px 0 0 0; opacity: .55; }
.ol-wiz-head small { display: block; font-weight: 400; margin-top: 3px; padding-left: 14px; line-height: 1.35; }
.o7-tabs { flex-wrap: wrap; }
.o7-sub { margin: 0 0 12px 22px; }
.o7-task { margin: 3px 0 3px 26px; }
.o7-info { margin-left: 44px; }
.o7-info i { display: inline-block; width: 13px; height: 13px; border-radius: 50%; background: #2a6fd6; color: #fff; font: 700 10px/13px Georgia, serif; text-align: center; font-style: normal; }
.o7-low { margin-top: 26px; }
.o7-side { flex-wrap: wrap; }
.o7-side h3 { flex: 0 0 100%; margin: 12px 0 6px; text-align: left; }
.o10-autotest { flex: 0 0 100%; text-align: left; margin: 8px 0; }
.o10-another { text-align: right; margin-top: 40px; }
.o7-off label { color: #8a8a8a; }
.o7-off .field { background: #f0f0f0; }
.ol-form .o7-low { flex: 0 0 100%; }
