.dm-entry {margin:0;min-height:100svh;display:grid;place-items:center;background:linear-gradient(145deg,#e6f5ff,#c6d8ee 60%,#e2e3ff);color:#142c48;font-family:"DM Sans",system-ui,sans-serif}
.dm-welcome,.dm-picker {box-sizing:border-box;padding:1.25rem;border:1px solid #ffffffb8;border-radius:1.25rem;background:linear-gradient(135deg,#f5fbfff5,#dfebf8f2);box-shadow:0 .6rem 2rem #25466929;color:#152d49}
.dm-welcome {width:min(90vw,23rem)}
.dm-welcome h1,.dm-picker h2 {margin:.25rem 0;font-size:1.2rem}
.dm-welcome p,.dm-picker p {margin:.45rem 0 .8rem;font-size:.9rem}
.dm-crest {background:#173e69;color:white;border-radius:30% 30% 46% 46%;display:inline-grid;place-items:center;width:2rem;height:2.1rem;flex:none;letter-spacing:-.075em;font:bold .85rem/1 Georgia,serif;box-shadow:inset 0 0 0 2px #cfb67e}
.dm-typing {display:grid;gap:.5rem;margin:1rem 0}
.dm-typing div {display:grid;grid-template-columns:5rem 1fr;align-items:center}
.dm-typing span,.dm-picker small {font-size:.82rem;color:#435770}
.dm-typing samp {display:inline-block;width:max-content;white-space:nowrap;clip-path:inset(0);font:600 .88rem/1.5 monospace}
.dm-username {animation:dm-type .38s steps(22,end) both}
.dm-mask {animation:dm-type .24s .38s steps(8,end) both}
@keyframes dm-type {from{clip-path:inset(0 100% 0 0)} to{clip-path:inset(0)}}
.dm-go,.dm-switch button,.dm-switch summary {font:inherit;color:inherit;cursor:pointer}
.dm-go,.dm-switch summary,.dm-picker button {border:1px solid #728ba84d;border-radius:.8rem;background:linear-gradient(155deg,#f8fcffdc,#c9deefab);min-height:44px;padding:.4rem .8rem}
.dm-switch {position:relative;margin:0 0 .9rem;z-index:5}
.dm-switch summary {display:flex;align-items:center;gap:.65rem;list-style:none;width:fit-content;max-width:100%;box-sizing:border-box;color:#142c48}
.dm-switch summary::-webkit-details-marker {display:none}
.dm-switch summary strong {font-size:.8rem;color:#174977}
.dm-picker {position:absolute;inset:auto auto auto 0;z-index:6;margin-top:8px;width:min(100%,24rem);max-height:55dvh;overflow:auto;overscroll-behavior:contain;backdrop-filter:blur(20px)}
.dm-picker header {display:flex;align-items:center;gap:.65rem;margin-bottom:.7rem}
.dm-picker header button {margin-left:auto;min-width:44px}
.dm-picker h2 {font-size:1.02rem}
.dm-picker form {display:grid;gap:8px}
.dm-picker form button {display:flex;align-items:center;text-align:left;justify-content:space-between;gap:.65rem;font-weight:650}
.dm-picker button[aria-current=true] {background:#d3e5f9;border-color:#4276aa}
.dm-switch :focus-visible,.dm-go:focus-visible {outline:2px solid #194f84;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.dm-typing samp{animation:none}}


.dm-entry main {width:min(92vw,24rem)}
.dm-welcome[hidden],.dm-welcome-dialog:not([open]) {display:none}
.dm-welcome {width:100%;text-align:left}
.dm-welcome header {display:flex;align-items:center;gap:.75rem}
.dm-welcome header small {color:#48647e}
.dm-welcome h2 {margin:0;font-size:1.12rem;color:#173653}
.dm-welcome h2:focus {outline:0}
.dm-typing div {display:grid;grid-template-columns:1fr;gap:.25rem}
.dm-field {display:block;min-height:2.45rem;padding:.55rem .72rem;box-sizing:border-box;border-radius:.7rem;background:#fff9;box-shadow:inset 0 0 0 1px #92b1cb70}
.dm-welcome button.dm-go {background:#1c4f83;color:#fff;border:0;width:100%;font-weight:650}
.dm-typing .dm-username {animation-duration:.95s}
.dm-typing .dm-mask {animation-delay:1s;animation-duration:.45s}
.dm-welcome-dialog[open] {position:fixed;inset:0;margin:auto;width:min(92vw,23rem);max-width:100vw;max-height:85dvh;overflow:auto;color:#152d49}
.dm-welcome-dialog::backdrop {background:rgb(12 32 55 / 51%);backdrop-filter:blur(5px)}
.dm-picker form button {justify-content:flex-start;padding:.35rem .65rem;background:linear-gradient(110deg,#ffffffc4,#d9e9fa8f);color:#142f4c}
.dm-picker form button img {border-radius:.55rem;object-fit:cover;flex:none}
.dm-picker form button span {display:grid;gap:.15rem;text-align:left}
.dm-picker form button strong {font-size:.95rem}
.dm-picker h2,.dm-picker p {color:#142f4c}
@media(prefers-reduced-motion:no-preference){
    .dm-welcome {animation:dm-expand .22s ease-out}
    .dm-welcome .dm-go {animation:dm-press .27s 1.57s ease-in-out}
    .dm-welcome-dialog[open] {animation:dm-expand .16s ease-out}
}
@keyframes dm-expand {from {opacity:.25;transform:translateY(-5px) scale(.985)} to {opacity:1;transform:none}}
@keyframes dm-press {50% {transform:scale(.96);background:#103253}}

.dm-contact h1{font-size:1.45rem;margin:.15rem 0}
.dm-contact form,.dm-contact label{display:grid;gap:.4rem}
.dm-contact form{gap:.9rem}
.dm-contact label{font-weight:600}
.dm-contact input,.dm-contact textarea{box-sizing:border-box;width:100%;padding:.65rem .85rem;border:1px solid #8aa1bb;border-radius:.85rem;background:rgba(255,255,255,.78);color:#152d49;font:inherit}
.dm-contact small{font-size:.85rem}
.dm-contact form button{min-height:44px}
