/* Dedicated form workflows and authentication shell. Author: Tinashe K. */
.portal-header{align-items:center;flex-wrap:nowrap;gap:16px}.portal-header nav{display:flex;align-items:center;justify-content:flex-end;flex:1;min-width:0;margin-left:auto}.portal-header nav form{display:flex;align-items:center;flex-shrink:0;margin:0}.portal-header nav form>button{margin:0;min-height:44px;justify-content:center;white-space:nowrap}.portal-header nav>a{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}.portal-header .signed-in{min-width:0;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}.portal-header .navigation-toggle{margin:0;flex-shrink:0;min-height:44px}
@media(max-width:760px){.portal-header,body:has(.dashboard-sidebar) .portal-header{padding:0 18px;gap:10px}.portal-header nav{gap:8px}.portal-header .signed-in{max-width:160px}.portal-header nav>a{display:none}.portal-header .wordmark{margin-right:0}.portal-header nav form>button{padding:8px;gap:0}}
.workflow-layout{width:100%;padding:40px 32px 60px}.workflow-shell{display:grid;grid-template-columns:minmax(220px,.85fr) minmax(0,1.5fr);gap:48px;max-width:1000px;margin:0 auto;align-items:start}.workflow-intro{min-width:0;padding-top:8px}.workflow-intro h1{font-size:30px;line-height:1.2;letter-spacing:-.03em;margin-bottom:16px}.workflow-intro>p{font-size:14px;line-height:1.7}.workflow-context{padding:20px 0;margin-top:26px;border-top:1px solid var(--line)}.workflow-context>span{font-size:10px;letter-spacing:.08em;color:var(--muted);display:block;margin-bottom:8px;font-weight:650}.workflow-context strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.workflow-context p{margin:12px 0 0}.form-card{background:var(--surface);border:1px solid var(--line);border-radius:10px;min-width:0;box-shadow:0 2px 4px #17243a04;overflow:hidden}.form-card-heading{padding:24px 28px 18px;border-bottom:1px solid var(--line)}.form-card-heading h2{margin:0 0 6px;font-size:17px}.form-card-heading p{margin:0}.form-card-body{padding:6px 28px 26px}.form-card-body input:not([type=checkbox]),.form-card-body select{min-height:44px;font-size:14px;width:100%}.form-card-body label{font-size:13px;margin-top:22px}.form-card-body .field-help{margin:7px 0 0;font-size:12px;color:var(--muted);line-height:1.55}.form-card-body .notice{margin:20px 0 0}.form-card>.notice,.form-card>div[aria-live]>p{margin:18px 24px}.form-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:18px 28px;border-top:1px solid var(--line);background:#fafbfd}.form-card-actions button,.form-card-actions a{margin:0;min-height:44px;font-size:13px;padding:11px 17px;justify-content:center}.primary-action{font-weight:650;min-height:44px;justify-content:center}.form-card form[aria-busy=true]>p{margin:16px 28px}.authentication-workflow .workflow-shell{max-width:960px;padding-top:32px}.authentication-steps{list-style:none;padding:0;margin:28px 0;counter-reset:authentication;display:grid;gap:12px}.authentication-steps li{counter-increment:authentication;display:flex;align-items:center;gap:12px;font-size:12px;color:var(--muted)}.authentication-steps li::before{content:counter(authentication);display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid var(--line);background:white;font-weight:600}.authentication-steps li[aria-current=step]{color:var(--navy);font-weight:600}.authentication-steps li[aria-current=step]::before{background:var(--navy);color:white;border-color:var(--navy)}.authentication-steps .completed::before{content:"✓";color:var(--green);border-color:#c4d9cc;background:#eef7f0}.code-input{font-size:24px!important;letter-spacing:.3em;text-align:center;max-width:100%;font-variant-numeric:tabular-nums;min-height:54px!important}.list-toolbar{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.list-toolbar .button-link,.section-heading .secondary{margin:0}.small-action{font-size:12px;min-height:38px;margin:10px 0 0}.administrator-table .small-action{white-space:nowrap}.administrator-table td:last-child{width:auto}.authentication-workflow .authenticator-qr{max-width:100%;height:auto}.setup-key{font-size:13px;letter-spacing:.04em}
body:has(.dashboard-sidebar) main.workflow-layout{width:auto;max-width:none;padding:36px 32px 60px}body:has(.dashboard-sidebar) main.narrow{width:auto;max-width:720px;padding:32px}.form-card .manual-authenticator{margin-top:16px}.portal-header .wordmark{flex-shrink:0}
@media(max-width:1100px){.workflow-shell{gap:28px;grid-template-columns:minmax(190px,.8fr) minmax(0,1.4fr)}}
@media(max-width:950px){body:has(.dashboard-sidebar) .workflow-shell{grid-template-columns:1fr;max-width:640px;gap:20px}body:has(.dashboard-sidebar) .workflow-context{margin-top:12px;padding:14px 0}.workflow-intro h1{font-size:27px}.list-toolbar{gap:12px}.list-toolbar .table-filter{width:auto}}
@media(max-width:760px){.workflow-layout,body:has(.dashboard-sidebar) main.workflow-layout{padding:24px 18px 40px}.workflow-shell{display:grid;grid-template-columns:1fr;gap:18px;max-width:640px}.authentication-workflow .workflow-shell{padding-top:0}.workflow-intro{padding-top:0}.workflow-intro h1{font-size:27px}.workflow-intro>p{font-size:14px;margin-bottom:12px}.workflow-context{margin-top:16px;padding:12px 0}.workflow-context p{font-size:12px;margin-top:7px}.authentication-steps{margin:20px 0;gap:10px}.form-card-heading{padding:20px}.form-card-body{padding:2px 20px 24px}.form-card-body input:not([type=checkbox]),.form-card-body select{font-size:16px;min-height:46px}.form-card-actions{padding:18px 20px;flex-direction:column-reverse;align-items:stretch;gap:10px}.form-card-actions button,.form-card-actions a{width:100%;min-height:46px;font-size:14px}.form-card-actions a{border:0;background:transparent}.portal-header nav{gap:8px}.portal-header nav .text-button{min-height:44px}.list-toolbar{align-items:stretch;width:100%;flex-direction:column;gap:12px}.list-toolbar .button-link{align-self:flex-start}.list-toolbar .table-filter{margin:0!important;width:100%}.administrator-table .small-action{white-space:normal}.workflow-intro .back-link{margin-bottom:18px}}

.panel form>button{min-height:44px;font-size:13px}.panel label{font-size:13px}.panel input:not([type=checkbox]),.panel select{min-height:44px}.entry-panel button[type=submit]{min-height:46px}.entry-panel input{min-height:46px}
@media(max-width:760px){.panel input:not([type=checkbox]),.panel select,.panel textarea,.entry-panel input{font-size:16px;min-height:46px}.panel form>button{width:100%;justify-content:center;min-height:46px}.heading-actions a{min-height:44px}.workflow-shell .form-card-actions button{min-height:46px}}

.owner-details{display:grid;grid-template-columns:minmax(120px,180px) minmax(0,1fr);gap:12px 20px;font-size:13px;margin:0}.owner-details dt{color:var(--muted)}.owner-details dd{margin:0;overflow-wrap:anywhere}@media(max-width:600px){.owner-details{grid-template-columns:1fr;gap:4px}.owner-details dd{margin-bottom:14px}}
