/* Shared DSS forms and navigation, desktop and mobile. */
:root{--ink:#15354c;--muted:#607b8c;--teal:#008f94;--orange:#ed7010;--line:#d6e3e2;--bg:#fff9f0;--pale:#e4f4f2}
body{color:var(--ink);background:var(--bg)}
.system-header{background:#173d50}.system-footer{background:#fffdf8;border-top:1px solid var(--line)}
.card,.workspace-card,.trip-card{border-radius:12px;border:1px solid var(--line);box-shadow:none}
#content h1{font-size:clamp(24px,2.2vw,32px);line-height:1.25;overflow-wrap:anywhere}
#content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),#content select,#content textarea{border:1px solid #b9ced3;border-radius:8px;background:#fff;color:var(--ink);max-width:100%;min-height:44px;padding:10px 12px}
#content input:focus-visible,#content select:focus-visible,#content textarea:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
#content .errorlist{border:1px solid #e9c7bd;border-radius:8px;padding:12px 16px;list-style:none;background:#fff3ed;color:#9c3020;font-size:14px}
#content form .helptext{color:var(--muted);font-size:13px;overflow-wrap:anywhere}
#content .password-control input{min-width:0}.side nav a{min-height:44px}.side nav a:last-child{border-top:0}
.auth-page .app-layout{display:block;max-width:560px}.auth-page .side,.auth-page .mobile-page-nav{display:none}
.auth-page #content{min-height:0;padding:40px 20px 48px}.auth-card{margin:0;padding:28px}.auth-card h1{margin-bottom:12px}.auth-card>p{font-size:15px;margin-bottom:24px}
.auth-field{margin:0 0 18px}.auth-field label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}.auth-field>input{width:100%;margin:0}.auth-card form>button{width:100%;margin-top:4px;min-height:46px;background:var(--teal)}
.auth-links{display:flex;flex-direction:column;gap:16px;margin-top:22px;font-size:14px}.auth-links span{color:var(--muted)}
.auth-page .system-footer{padding:18px 24px}.auth-page .footer-connect{display:none}
@media(max-width:700px){.auth-page #content{padding:24px 16px 32px}.auth-card{padding:22px 18px}.auth-page .brand small{display:none}#content input,#content select,#content textarea{font-size:16px}.card{padding:18px}.system-footer nav{gap:10px 18px}.system-footer nav a{display:inline-flex;align-items:center;min-height:40px}}

.auth-page.auth-wide .app-layout{max-width:900px}.auth-page .card.narrow{max-width:100%;margin:0}.auth-page form>p>label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}.auth-page form>p>input:not([type=checkbox]):not([type=radio]){width:100%}.auth-page .registration-role input{min-height:20px}.auth-page .helptext{display:block}
