.dashboard-shell > .dashboard-account-tools {display:grid;grid-template-columns:minmax(0px,1fr);gap:12px;min-width:0;margin-block:22px;}
.dashboard-account-tools > .dashboard-project-links {margin:0;}
.dashboard-account-tools #dashboard-project-manage[hidden] {display:none;}
.gh-type-card {
 box-sizing:border-box; width:100%; min-width:0; margin:0; padding:clamp(14px,2.3vw,25px); color:var(--ink); background:var(--surface);
 border:1px solid var(--line-strong); border-radius:14px; box-shadow:var(--shadow-sm); overflow-wrap:break-word; scroll-margin-top:85px;
}
.gh-type-card :is(h2,p,fieldset) {margin:0;}
.gh-type-card h2 {font-size:clamp(17px,2vw,22px); line-height:1.35;}
.gh-type-head {display:flex; justify-content:space-between; align-items:flex-start; gap:10px 18px; flex-wrap:wrap;}
.gh-type-head p,.gh-type-help {color:var(--muted); font-size:13px; line-height:1.6;}
.gh-type-head p {margin-top:3px;}
.gh-type-chip {padding:5px 11px; border-radius:999px; background:var(--brand-soft); color:var(--brand-bright); border:1px solid var(--line); font-size:13px;}
.gh-type-card form {display:grid; gap:12px; margin-top:12px; min-width:0;}
.gh-type-card fieldset {border:0; padding:0; min-inline-size:0;}
.gh-type-card legend {font-size:13px; font-weight:750; padding:0 0 7px;}
.gh-type-card .gh-role-options {display:grid;grid-template-columns:minmax(0px,1fr);gap:8px;min-width:0;}
.gh-type-card .gh-role-choice {
 display:flex; align-items:center; gap:10px; box-sizing:border-box; min-width:0; padding:10px 12px; min-height:58px;
 background:var(--surface-soft); border:1px solid var(--line-strong); border-radius:10px; cursor:pointer; line-height:1.4;
}
.gh-role-choice:has(input:checked) {background:var(--brand-soft); border-color:var(--brand);}
.gh-type-card .gh-role-choice input {width:17px; height:17px; min-height:0; flex:none; padding:0; margin:0; accent-color:var(--brand);}
.gh-role-choice span {min-width:0;}
.gh-role-choice strong,.gh-role-choice small {display:block;white-space:normal;word-break:normal;overflow-wrap:break-word;}
.gh-role-choice strong {font-size:14px;}
.gh-role-choice small {color:var(--muted); font-size:12px; margin-top:3px;}
.gh-type-actions {display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:10px;}
.gh-type-card form .gh-type-actions {margin-top:0;}
.gh-type-card .gh-type-actions :is(a,button) {max-width:100%; min-height:44px; white-space:normal; text-align:center; overflow-wrap:anywhere;}
.gh-type-card :is(input,button,textarea,a):focus-visible {outline:2px solid var(--brand-bright); outline-offset:2px;}
.gh-type-card :is(.gh-type-code,.gh-type-reason) {display:grid; gap:5px; min-width:0; font-size:13px; font-weight:700;}
.gh-type-card .gh-type-code input {width:100%; max-width:18rem; font-size:16px; letter-spacing:.12em;}
.gh-type-card .gh-type-reason textarea {width:100%; max-width:40rem; font-size:16px; resize:vertical;}
.gh-type-card .gh-type-report {margin-top:12px; padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:var(--surface-soft); font-size:13px;}
.gh-type-report p + p {margin-top:5px; white-space:pre-wrap;}
.gh-type-card .gh-type-message:not(:empty) {margin-top:8px; color:var(--brand-bright); font-size:13px;}
.gh-type-card .gh-type-message.is-error {color:var(--danger,#b12731);}
.gh-type-admin textarea {display:block; width:100%; max-width:34rem; resize:vertical; font-size:16px;}
.gh-type-admin .pro-review-card p {white-space:pre-wrap; overflow-wrap:anywhere;}
.dashboard-welcome-actions > :is(a,button) {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;max-width:100%;min-height:44px;white-space:normal;text-align:center;line-height:1.4;}
.dashboard-welcome-actions .dashboard-role-shortcut {background:var(--brand-soft);color:var(--brand-deep);border:1px solid var(--line-strong);min-height:44px;white-space:normal;}
.gh-type-card .gh-type-profile-link {display:inline-flex;align-items:center;justify-content:center;max-width:100%;box-sizing:border-box;}
.admin-notice-count {min-width:1.35em;margin-inline-start:4px;padding:2px 6px;border-radius:999px;background:var(--brand-soft);color:var(--brand-deep);font-weight:800;font-size:12px;}
.admin-notice-count[hidden] {display:none;}
.admin-intro-actions {flex-wrap:wrap;}
.admin-intro-actions [data-jump-requests] {white-space:normal;max-width:100%;min-height:44px;}
.admin-notice-row {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;overflow-wrap:anywhere;}
.admin-notice-row[data-unread] {border-inline-start:4px solid var(--brand);background:var(--brand-soft);}
.admin-notice-row time {font-size:12px;color:var(--muted);}
.admin-notice-row button {margin-inline-start:auto;min-height:40px;white-space:normal;}
#profile-requests,#admin-notice-title {scroll-margin-block-start:88px;}
.pro-company-check {display:grid;gap:8px;margin:12px 0;padding:12px;border-radius:10px;border:1px solid var(--line-strong);background:var(--surface-soft);min-width:0;}
.pro-company-check input[type="url"] {display:block;width:100%;max-width:38rem;margin-top:5px;box-sizing:border-box;font-size:16px;}
.pro-review-card .row-actions {display:flex;flex-wrap:wrap;gap:8px;}
.pro-review-card .row-actions button {min-height:44px;white-space:normal;}
@media(max-width:820px) {
 .dashboard-shell > .dashboard-account-tools {margin-block:14px;}
 .dashboard-shell > .dashboard-welcome {display:flex;flex-direction:column;align-items:stretch;min-width:0;}
 .dashboard-welcome .dashboard-welcome-actions {display:grid;grid-template-columns:repeat(2,minmax(0px,1fr));}
 .dashboard-welcome-actions #dashboard-add {grid-column:1/3;}
}
@media(max-width:640px) {
 .gh-type-card .gh-type-actions .primary {width:100%;}
}
@media(max-width:360px) {
 .dashboard-welcome .dashboard-welcome-actions {grid-template-columns:minmax(0px,1fr);}
 .dashboard-welcome-actions #dashboard-add {grid-column:1;}
}

/* Profile type cards: container width determines when choices can sit side by side. */
.dashboard-shell>.dashboard-account-tools{
 display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0;margin-block:var(--gh-gap,16px);
}
.dashboard-account-tools>.dashboard-project-links{margin:0}
.gh-type-card{container-type:inline-size;border-radius:var(--gh-radius,16px)}
.gh-type-head>div{flex:1 1 16rem;min-inline-size:0}
.gh-type-head .gh-type-chip{min-inline-size:0;max-inline-size:100%;white-space:normal;overflow-wrap:anywhere}
.gh-type-card .gh-role-options{
 display:flex;flex-wrap:wrap;gap:10px;
}
.gh-type-card .gh-role-choice{
 display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;column-gap:10px;row-gap:4px;
 flex:1 1 13.5rem;max-width:100%;
 min-height:76px;padding:13px 12px;border-radius:var(--gh-control-radius,11px);
 color:var(--ink);border-color:var(--line-strong);background:var(--surface);
 transition:background-color .16s,border-color .16s;
}
.gh-type-card .gh-role-choice input{
 width:17px;height:17px;min-height:0;flex:none;padding:0;margin:3px 0 0;accent-color:var(--brand);
}
.gh-type-card .gh-role-choice span{min-inline-size:0}
.gh-type-card .gh-role-choice strong,.gh-type-card .gh-role-choice small{
 line-height:1.45;white-space:normal;word-break:normal;overflow-wrap:anywhere;
}
.gh-type-card .gh-role-choice strong{font-size:14px}
.gh-type-card .gh-role-choice small{font-size:13px;color:var(--muted);margin-top:4px}
.gh-type-card .gh-role-choice:is(:hover,:focus-within){border-color:var(--brand-bright)}
.gh-type-card .gh-role-choice:has(input:checked){background:var(--brand-soft);border-color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}
.gh-type-card .gh-role-choice:focus-within{outline:2px solid var(--brand-bright);outline-offset:2px}
.gh-type-card .gh-role-choice input:focus-visible{outline:none}
.gh-type-card .gh-type-actions button[disabled]{opacity:.65;cursor:wait}
@media(max-width:600px){
 .gh-type-card .gh-role-options{display:grid;grid-template-columns:minmax(0,1fr)}
 .gh-type-card .gh-role-choice{min-height:64px;padding:10px 12px}
}
@container (max-width:28rem){
 .gh-type-card .gh-role-options{display:grid;grid-template-columns:minmax(0,1fr)}
}
