/* R366: the team screen uses the same OPS shell, typography and navigation. */
html body #content #r364App {
 --ink:#193f47;--muted:#63808a;--line:#d4e1de;--paper:#f5f7f2;--teal:#205d63;
 font-family:inherit;color:var(--ink);max-width:1640px;min-width:0;margin:0 auto;padding:12px 0 40px;
}
#r364App *, .r364-dialog * {box-sizing:border-box}
html body[data-r158-view="access"] .main > .hero {display:none!important}
html body #content #r364App .r364-hero {padding:32px;border-radius:12px;gap:24px;margin:0 0 24px;background:#193e46;border:1px solid #345c62;border-bottom:3px solid #b79a5e;box-shadow:none}
html body #content #r364App .r364-hero h1 {font-family:inherit;font-size:34px;line-height:1.2;font-weight:700;letter-spacing:-.7px;color:white!important;margin:10px 0!important}
html body #content #r364App .r364-hero p {font-family:inherit;font-size:14px;line-height:1.65;color:#c4d5d8!important;margin:0!important;text-align:left;max-width:760px}
#r364App .r364-hero>div>span {color:#d1b575;letter-spacing:1.5px}
#r364App .r364-layout {border:1px solid var(--line);border-radius:12px;overflow:hidden;min-height:470px}
#r364App .r364-org-list {padding:24px 18px}
#r364App .r364-org-list>button {font-size:13px;line-height:1.5}
#r364App .r364-team {padding:28px;min-width:0}
html body #content #r364App h2 {font-family:inherit;color:var(--ink);font-size:22px;line-height:1.3;margin:6px 0 8px}
html body #content #r364App .r364-team-head p {font-size:13px;color:#56787d;margin:6px 0!important}
html body #content #r364App .r364-explainer {font-size:13px;line-height:1.7;color:#5c7981;padding:8px 0 24px;margin:0 0 24px!important;max-width:none}
#r364App .r364-section-title {margin-bottom:15px;align-items:center}
#r364App .r364-section-title h2 {font-size:19px}
html body #content #r364App .r364-section-title p {font-size:12px;color:#67828a;margin:0!important}
#r364App button,.r364-dialog button {font-family:inherit;font-size:13px;line-height:1.45;border-radius:5px;min-height:36px}
#r364App .r364-hero button {background:#f5f8f4;border-color:#bcd3d2;color:#1c5059;padding:11px 16px;white-space:nowrap}
#r364App .r364-primary {background:#205b63;border-color:#205b63;color:white;padding:11px 16px}
#r364App .r364-primary:hover {background:#174750}
#r364App .r364-table-wrap {border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-width:100%}
#r364App table {font-family:inherit;width:100%;font-size:13px;border-collapse:collapse}
#r364App th {background:#f5f8f3;color:#67838b;padding:12px;font-size:10px;font-weight:650;text-align:left;letter-spacing:.7px}
#r364App td {padding:18px 12px;border-bottom:1px solid #e0e8e3;vertical-align:middle;color:#315961}
#r364App tbody tr:last-child td {border-bottom:0}
#r364App td:last-child {text-align:right;min-width:190px}
#r364App td strong {font-weight:650;color:#1d5059}
#r364App td small {font-size:11px;color:#6d858c;margin-top:5px}
#r364App td button {padding:7px 10px;font-size:12px;min-height:32px}
#r364App .r364-status {font-size:11px;white-space:normal;line-height:1.4}
html body #content #r364App .r364-hint {font-size:12px;line-height:1.6;color:#6a838a;margin:16px 0!important}
#r364App .r364-audit {margin-top:24px}
#r364App .r364-audit summary {cursor:pointer;color:#3d666e;font-size:12px}
#r364App .r364-audit p {font-size:12px;line-height:1.7}
#r364App .r364-empty {padding:50px 20px;text-align:center}
html body #content #r364App .r364-empty p {max-width:460px;margin:10px auto 20px!important;text-align:center}
#r364App .r364-panel {border-radius:10px;padding:28px}
.r364-dialog {font-family:inherit;max-height:90vh;color:#193f47}
.r364-dialog h2 {font-family:inherit;color:white;font-size:23px}
.r364-dialog p {line-height:1.6}
.r364-dialog select {appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2367868b' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:42px}
.r366-loading {min-height:300px;display:flex;align-items:center;justify-content:center;gap:12px;color:#62818a;font-size:14px}
.r366-loading>span {width:18px;height:18px;border:2px solid #d2e2de;border-top-color:#28686e;border-radius:50%;animation:r366-spin .7s linear infinite}
@keyframes r366-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.r366-loading>span{animation:none}}
@media(max-width:1050px){#r364App .r364-layout{grid-template-columns:210px minmax(0,1fr)}#r364App .r364-single{grid-template-columns:1fr}#r364App .r364-team{padding:22px}#r364App .r364-team-head{align-items:flex-start;flex-wrap:wrap}}
@media(max-width:750px){
 html body #content #r364App {padding:8px 0 30px}
 html body #content #r364App .r364-hero {padding:24px;flex-direction:column;align-items:flex-start;margin-bottom:18px}
 html body #content #r364App .r364-hero h1 {font-size:28px}
 #r364App .r364-layout {display:block}#r364App .r364-org-list{border-right:0;border-bottom:1px solid var(--line)}
 #r364App .r364-team{padding:20px}#r364App .r364-section-title{align-items:flex-start;flex-direction:column;gap:14px}
 #r364App .r364-table-wrap {overflow:visible}#r364App table,#r364App tbody,#r364App tr,#r364App td {display:block;width:100%}
 #r364App thead{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
 #r364App tbody tr{padding:18px 0;border-bottom:1px solid var(--line)}#r364App tbody tr:last-child{border-bottom:0}
 #r364App td {border:0;padding:6px 0;min-width:0!important;text-align:left!important;overflow-wrap:anywhere}
 #r364App td[data-label]::before{content:attr(data-label);display:block;margin:0 0 4px;font-size:10px;letter-spacing:.4px;color:#6c858b}
 #r364App td:last-child {padding-top:10px}#r364App td button{margin:0 7px 0 0}
 #r364App .r364-audit small {float:none;display:block}
 .r364-dialog {width:calc(100vw - 24px)}.r364-dialog>header{padding:20px}.r364-dialog-body{padding:20px}
}
/* Legacy dialog rules must not override the shared dark header or add outer padding. */
html body dialog.r364-dialog {padding:0!important;border:1px solid #bfceca!important;border-radius:12px!important;font-family:inherit!important;overflow-y:auto}
html body dialog.r364-dialog>header {margin:0!important;padding:22px 26px!important;background:#193e46!important;display:flex!important;align-items:center;gap:18px;border-bottom:3px solid #bd9c58!important}
html body dialog.r364-dialog>header h2 {color:#fff!important;-webkit-text-fill-color:#fff!important;font-family:inherit!important;font-size:23px!important;line-height:1.25!important;letter-spacing:-.4px;margin:0!important;min-width:0;flex:1}
html body dialog.r364-dialog>header button {flex:0 0 36px;width:36px;height:36px;min-height:36px;padding:0!important;display:grid;place-items:center;background:#ffffff0c!important;border:1px solid #63878c!important;color:#fff!important;font-size:22px!important;line-height:1!important}
html body dialog.r364-dialog .r364-dialog-body {padding:24px 26px}
html body dialog.r364-dialog select {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2367868b' stroke-width='1.6'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;padding-right:42px!important}
@media(max-width:750px){html body dialog.r364-dialog>header{padding:20px!important}html body dialog.r364-dialog>header h2{font-size:21px!important}html body dialog.r364-dialog .r364-dialog-body{padding:22px 20px}}
