#clients01-a .mode-intro { color: #aaa49b; font-size: .95rem; line-height: 1.8; text-align: center; margin: 0 0 28px; }
#clients01-a .mode-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 760px; margin: 0 auto 24px; }
#clients01-a .mode-choice { --mode-accent: #ffaa00; display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; padding: 16px 26px 24px; border: 1px solid #ffaa0038; border-radius: 18px; background: radial-gradient(ellipse at 50% 28%, #ffaa000c, transparent 70%), #080808; color: #eee9df; text-align: center; font-family: 'Montserrat', sans-serif; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
#clients01-a .mode-choice[data-mode-open="survival"] { --mode-accent: #a1d87d; }
#clients01-a .mode-choice:hover { border-color: var(--mode-accent); transform: translateY(-4px); box-shadow: 0 12px 32px #ffaa0014; }
#clients01-a .mode-choice:focus-visible { outline: 3px solid #ffaa00; outline-offset: 5px; }
#clients01-a .mode-choice-art { display: flex; justify-content: center; align-items: center; width: 100%; height: 145px; overflow: hidden; }
#clients01-a .mode-choice-art img { width: 100%; max-width: 300px; height: auto; transform: translateY(-12%); }
#clients01-a .mode-choice-name { font-size: 1.4rem; font-weight: 700; line-height: 1.4; margin: 4px 0 8px; }
#clients01-a .mode-choice-subtitle { color: #b0a99c; font-size: .87rem; line-height: 1.7; }
#clients01-a .mode-choice-version { display: inline-block; padding: 4px 10px; margin: 16px 0; color: #c5baa6; border: 1px solid #ffffff19; border-radius: 30px; font-size: .7rem; line-height: 1.6; }
#clients01-a .mode-choice-more { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--mode-accent); font-size: .84rem; font-weight: 600; line-height: 1.7; }
#clients01-a .mode-choice-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
html.mode-dialog-open, html.mode-dialog-open body { overflow: hidden; }
.mode-dialog { --mode-panel: #0b0b0b; width: min(720px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 24px; border: 1px solid #ffaa0045; border-radius: 22px; background: var(--mode-panel); color: #ece8df; box-shadow: 0 24px 100px #0009; font-family: 'Montserrat', sans-serif; overflow-y: auto; overscroll-behavior: contain; }
.mode-dialog:not([open]) { display: none; }
.mode-dialog[open] { animation: mode-reveal .22s ease both; }
.mode-dialog::backdrop { background: #000b; backdrop-filter: blur(7px); animation: mode-backdrop .22s ease both; }
.mode-dialog .mode-toolbar { position: sticky; top: -24px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -24px -24px 0; padding: 16px 24px 12px; background: var(--mode-panel); }
.mode-dialog .mode-close { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; padding: 0; border: 1px solid #ffffff24; border-radius: 11px; background: #ffffff06; color: #ded7c9; cursor: pointer; }
.mode-dialog .mode-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mode-dialog .mode-close:hover { background: #ffaa0018; border-color: #ffaa0066; }
.mode-dialog .mode-eyebrow { display: inline-block; font-size: .65rem; font-weight: 700; letter-spacing: .12em; color: #ffbc43; }
.mode-dialog .mode-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 4px 0 16px; }
.mode-dialog .mode-title { margin: 0 0 8px; color: #f4efe5; font-size: clamp(1.7rem, 5vw, 2.2rem); font-weight: 800; line-height: 1.25; }
.mode-dialog .mode-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.mode-dialog .mode-badges span { display: inline-block; padding: 5px 11px; border-radius: 30px; border: 1px solid #ffaa0033; color: #ffd184; background: #ffaa000e; font-size: .73rem; line-height: 1.6; }
.mode-dialog .mode-logo { width: 150px; height: 80px; object-fit: contain; flex: 0 0 auto; }
.mode-dialog .mode-description { color: #c4bdaf; margin: 0 0 18px; font-size: .9rem; line-height: 1.75; }
.mode-dialog .mode-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0 0 18px; padding: 0; }
.mode-dialog .mode-features[hidden] { display: none; }
.mode-dialog .mode-features li { min-width: 0; padding: 10px 12px; border: 1px solid #ffffff12; border-radius: 11px; background: #ffffff04; }
.mode-dialog .mode-features li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mode-dialog .mode-features strong { display: block; font-size: .8rem; font-weight: 600; line-height: 1.5; margin-bottom: 4px; color: #eee7da; }
.mode-dialog .mode-features span { display: block; color: #b5ac9e; font-size: .77rem; line-height: 1.6; }
.mode-dialog .mode-connection { padding-top: 16px; border-top: 1px solid #ffffff16; }
.mode-dialog .mode-address-label { display: block; color: #b5aa97; font-size: .73rem; line-height: 1.6; margin-bottom: 9px; }
.mode-dialog .mode-address { width: 100%; padding: 11px 13px; border: 1px solid #ffaa0036; border-radius: 10px; background: #ffaa0008; color: #ffd28a; font-family: ui-monospace, Consolas, monospace; font-size: .95rem; line-height: 1.6; }
.mode-dialog .mode-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mode-dialog .mode-action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 10px 17px; border: 1px solid #ffaa00; border-radius: 10px; background: #ffaa00; color: #2a1b00; font-family: inherit; font-size: .8rem; font-weight: 700; line-height: 1.6; text-decoration: none; cursor: pointer; }
.mode-dialog .mode-action:hover { background: #ffbd3f; color: #2a1b00; }
.mode-dialog .mode-action-secondary { background: transparent; border-color: #ffffff2c; color: #e2d8c5; }
.mode-dialog .mode-action-secondary:hover { background: #ffffff0b; border-color: #ffaa00; color: #ffd184; }
.mode-dialog .mode-action:disabled { opacity: .6; cursor: wait; }
.mode-dialog .mode-status { min-height: 22px; margin: 10px 0 0; color: #e8bc72; font-size: .75rem; line-height: 1.7; }
.mode-dialog :is(button, a, input):focus-visible { outline: 2px solid #ffaa00; outline-offset: 4px; }
html[data-theme="light"] body #clients01-a .mode-intro { color: #675d4d !important; }
html[data-theme="light"] body #clients01-a .mode-choice { background: #fffdf7; border-color: #e6d9bf; color: #28231c; }
html[data-theme="light"] body #clients01-a .mode-choice-subtitle { color: #645a49; }
html[data-theme="light"] body #clients01-a .mode-choice-version { color: #705f43; border-color: #e7d8b8; background: #fff8e9; }
html[data-theme="light"] body #clients01-a .mode-choice-more { color: #986000; }
html[data-theme="light"] body .mode-dialog { --mode-panel: #fffdf7; background: var(--mode-panel); border-color: #dcc49a; color: #2d281f; }
html[data-theme="light"] body .mode-dialog .mode-close { color: #574b37; background: #fff8e8; border-color: #e6d8bd; }
html[data-theme="light"] body .mode-dialog .mode-eyebrow { color: #8b5900; }
html[data-theme="light"] body .mode-dialog .mode-title { color: #28231c !important; }
html[data-theme="light"] body .mode-dialog .mode-badges span { color: #805100; background: #fff2d4; border-color: #ead4a4; }
html[data-theme="light"] body .mode-dialog .mode-description { color: #645a49 !important; }
html[data-theme="light"] body .mode-dialog .mode-features li { background: #fff9ee; border-color: #eadfc9; }
html[data-theme="light"] body .mode-dialog .mode-features strong { color: #3e3526; }
html[data-theme="light"] body .mode-dialog .mode-features span { color: #6c604e; }
html[data-theme="light"] body .mode-dialog .mode-connection { border-color: #e6dbc5; }
html[data-theme="light"] body .mode-dialog .mode-address-label { color: #6b5d46; }
html[data-theme="light"] body .mode-dialog .mode-address { color: #815200; border-color: #dec491; background: #fff7e5; }
html[data-theme="light"] body .mode-dialog .mode-action-secondary { color: #68512b; border-color: #d9c6a3; background: transparent; }
html[data-theme="light"] body .mode-dialog .mode-action-secondary:hover { background: #fff1d2; }
html[data-theme="light"] body .mode-dialog .mode-status { color: #775511 !important; }
@keyframes mode-reveal { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes mode-backdrop { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 575px) { #clients01-a .mode-choices { grid-template-columns: 1fr; max-width: 360px; gap: 16px; } #clients01-a .mode-choice { padding: 12px 22px 22px; } #clients01-a .mode-choice-art { height: 130px; } .mode-dialog { padding: 24px 20px 20px; width: calc(100% - 20px); max-height: calc(100dvh - 24px); border-radius: 18px; } .mode-dialog .mode-toolbar { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; } .mode-dialog .mode-heading { gap: 8px; } .mode-dialog .mode-logo { width: 108px; height: 85px; } .mode-dialog .mode-title { font-size: 1.7rem; } .mode-dialog .mode-features { grid-template-columns: 1fr; } .mode-dialog .mode-actions { flex-direction: column; } .mode-dialog .mode-action { width: 100%; } }
@media (prefers-reduced-motion: reduce) { #clients01-a .mode-choice { transition: none; } #clients01-a .mode-choice:hover { transform: none; } .mode-dialog[open], .mode-dialog::backdrop { animation: none; } }

/* Keep the desktop summary and its actions together on shorter screens. */
.mode-dialog .mode-features li:last-child:nth-child(odd) { display: flex; align-items: baseline; gap: 10px; }
.mode-dialog .mode-features li:last-child:nth-child(odd) strong { flex: 0 0 auto; margin-bottom: 0; }
.mode-dialog .mode-title { font-size: 2rem; }
.mode-dialog .mode-features { margin-bottom: 14px; }
.mode-dialog .mode-connection { padding-top: 12px; }
.mode-dialog .mode-address { padding-top: 8px; padding-bottom: 8px; }
.mode-dialog .mode-actions { margin-top: 10px; }
@media (max-width: 575px) { .mode-dialog .mode-title { font-size: 1.7rem; } .mode-dialog .mode-features li:last-child:nth-child(odd) { display: block; } .mode-dialog .mode-features li:last-child:nth-child(odd) strong { margin-bottom: 4px; } }
