/* 5G Prime portal professional UI layer — desktop + mobile */
:root{
  --ui-bg:#f5f6f8;
  --ui-card:#ffffff;
  --ui-card-soft:#fafbfc;
  --ui-text:#17191d;
  --ui-muted:#6d737c;
  --ui-border:#dde1e6;
  --ui-border-strong:#cfd4da;
  --ui-red:#e21d2f;
  --ui-red-dark:#bd1323;
  --ui-black:#111318;
  --ui-success:#16845b;
  --ui-radius:14px;
  --ui-radius-sm:10px;
  --ui-shadow:0 8px 24px rgba(16,18,23,.055);
  --ui-shadow-hover:0 12px 30px rgba(16,18,23,.09);
}

html{background:var(--ui-bg)}
body{background:var(--ui-bg)!important;color:var(--ui-text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.app{background:var(--ui-bg)!important}
.content{max-width:1500px;margin:0 auto;padding:30px 32px 56px!important}
.content>h1{margin:0 0 22px!important;color:var(--ui-text)!important;font-size:32px!important;line-height:1.08!important;letter-spacing:-.7px!important;font-weight:900!important}

/* Panels and grouping */
.content .panel{border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;background:var(--ui-card)!important;box-shadow:var(--ui-shadow)!important}
.content .panel:hover{border-color:#d7dbe0!important}
.content .panel h2,.content .panel h3{color:var(--ui-text)}
.content .panel>p,.content .panel small,.content .panel .muted{color:var(--ui-muted)}

/* Form rhythm */
.content form.panel,.content .panel.form,.content .permission-editor,.content .practice-request-form{padding:24px!important}
.content form label,.content .panel.form label,.content .permission-editor label,.content .practice-request-form label{display:grid;gap:7px;color:#4f555e;font-size:11px;font-weight:850;letter-spacing:.03em}
.content input:not([type=checkbox]):not([type=radio]):not([type=file]),
.content select,
.content textarea{
  width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--ui-border-strong)!important;border-radius:11px!important;background:#fff!important;color:var(--ui-text)!important;font:inherit!important;font-size:15px!important;line-height:1.35!important;outline:none!important;box-shadow:0 1px 0 rgba(16,18,23,.02) inset!important;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease!important
}
.content input:not([type=checkbox]):not([type=radio]):not([type=file]),.content select{min-height:48px!important;padding:0 13px!important}
.content textarea{min-height:110px;padding:12px 13px!important;resize:vertical}
.content input::placeholder,.content textarea::placeholder{color:#9ba0a8!important;opacity:1}
.content input:focus,.content select:focus,.content textarea:focus{border-color:var(--ui-red)!important;box-shadow:0 0 0 3px rgba(226,29,47,.11)!important;background:#fff!important}
.content input[type=checkbox],.content input[type=radio]{width:18px;height:18px;accent-color:var(--ui-red)}
.content fieldset{border:1px solid var(--ui-border)!important;border-radius:12px!important;background:var(--ui-card-soft)!important}
.content legend{color:#4d535c;font-weight:850}

/* Buttons and links */
.content button,.content input[type=submit],.content a.button,.content .groupme-open,.content .field-request-link,.content .tryout-manage-link{
  min-height:42px;box-sizing:border-box;border-radius:9px!important;font-family:inherit!important;font-weight:850!important;letter-spacing:.005em!important;transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important
}
.content button:not(.secondary):not(.danger):not([disabled]),.content input[type=submit]{background:var(--ui-red)!important;border:1px solid var(--ui-red)!important;color:#fff!important;box-shadow:0 4px 11px rgba(226,29,47,.16)!important}
.content button:not(.secondary):not(.danger):not([disabled]):hover,.content input[type=submit]:hover{background:var(--ui-black)!important;border-color:var(--ui-black)!important;color:#fff!important;box-shadow:0 7px 16px rgba(16,18,23,.16)!important;transform:translateY(-1px)}
.content button.secondary,.content .secondary{background:#fff!important;border:1px solid var(--ui-border-strong)!important;color:#343940!important;box-shadow:none!important}
.content button.secondary:hover,.content .secondary:hover{background:#f1f3f5!important;border-color:#bcc2c9!important;color:#17191d!important}
.content button.danger,.content .danger{background:#fff!important;border:1px solid #efb7bd!important;color:#b31928!important;box-shadow:none!important}
.content button.danger:hover,.content .danger:hover{background:#b31928!important;border-color:#b31928!important;color:#fff!important}
.content button:focus-visible,.content a:focus-visible,.content input:focus-visible,.content select:focus-visible,.content textarea:focus-visible{outline:3px solid rgba(226,29,47,.20)!important;outline-offset:2px!important}

/* Page header */
.app>header{min-height:74px!important;padding:12px 28px!important;border-bottom:1px solid #e0e3e7!important;background:rgba(255,255,255,.97)!important;backdrop-filter:saturate(140%) blur(10px)!important;box-shadow:0 3px 14px rgba(16,18,23,.035)!important}
.app>header form{display:flex;align-items:center;gap:10px;min-width:0}
.app>header small{display:block;margin-bottom:4px;color:#7c828b!important;font-size:9px!important;font-weight:900!important;letter-spacing:.1em!important}
.app>header select{min-width:230px!important;min-height:42px!important;border-radius:9px!important;font-size:13px!important;font-weight:800!important;background:#fff!important}
.app>header>span{color:#656b74!important;font-size:12px!important;font-weight:750!important}

/* Sidebar */
aside[data-portal-sidebar]{background:linear-gradient(180deg,#0d0f13,#15181d)!important;border-right:1px solid #252930!important;box-shadow:8px 0 30px rgba(0,0,0,.08)!important}
aside[data-portal-sidebar] nav{padding:8px 12px 22px!important}
aside[data-portal-sidebar] nav a{margin:3px 0!important;padding:10px 12px!important;border-radius:9px!important;color:#c7cbd1!important;font-size:13px!important;font-weight:760!important;letter-spacing:.005em!important;transition:background .16s ease,color .16s ease,transform .16s ease!important}
aside[data-portal-sidebar] nav a:hover{background:#1d2026!important;color:#fff!important;transform:translateX(2px)}
aside[data-portal-sidebar] nav a.active{background:var(--ui-red)!important;color:#fff!important;box-shadow:0 6px 15px rgba(226,29,47,.24)!important}
.portal-signout{margin:12px!important;border-radius:9px!important}

/* Tables */
.content .table,.content .tryout-table-wrap,.content .stats-table-wrap{overflow:hidden!important}
.content table{border-collapse:separate!important;border-spacing:0!important;width:100%}
.content table thead th{background:#f6f7f9!important;color:#60666f!important;font-size:10px!important;font-weight:900!important;letter-spacing:.06em!important;text-transform:uppercase!important;border-bottom:1px solid var(--ui-border)!important}
.content table th,.content table td{padding:12px 13px!important;vertical-align:middle!important}
.content table tbody td{border-bottom:1px solid #edf0f2!important}
.content table tbody tr:last-child td{border-bottom:0!important}
.content table tbody tr:hover>td{background:#fcfcfd}

/* Notices */
.content .notice{margin:0 0 18px!important;padding:13px 15px!important;border:1px solid #cfe7dc!important;border-radius:10px!important;background:#f1faf6!important;color:#146342!important;font-size:13px!important;font-weight:750!important;box-shadow:none!important}
.content .notice.error{border-color:#f0c4c9!important;background:#fff5f6!important;color:#a81927!important}

/* Metrics and dashboard cards */
.metrics{gap:14px!important}
.metrics article{border:1px solid var(--ui-border)!important;border-radius:13px!important;background:#fff!important;box-shadow:var(--ui-shadow)!important;padding:20px!important}
.metrics article b{color:var(--ui-text)!important;font-size:28px!important;letter-spacing:-.5px!important}
.metrics article span{color:var(--ui-muted)!important;font-size:11px!important;font-weight:750!important}

/* Details / accordions */
.content details{border-radius:12px!important}
.content details>summary{cursor:pointer;font-weight:850!important;outline:none!important}
.content details[open]>summary{color:var(--ui-red)!important}

/* Tryouts */
.tryout-workspace .tryout-toolbar{gap:12px!important;padding:16px!important;background:#fff!important}
.tryout-workspace .tryout-toolbar label{gap:6px!important}
.tryout-workspace .tryout-toolbar label>span{font-size:9px!important;font-weight:900!important;letter-spacing:.07em!important;text-transform:uppercase!important;color:#777d86!important}
.tryout-workspace .tryout-toolbar input,.tryout-workspace .tryout-toolbar select{min-height:44px!important;font-size:13px!important}
.tryout-summary{margin:16px 0!important}
.tryout-detail-row td{background:#f7f8fa!important;padding:0!important}
.tryout-detail-row details{margin:10px!important;border:1px solid var(--ui-border)!important;background:#fff!important}
.tryout-detail-row summary{padding:15px 17px!important}
.tryout-detail-grid{gap:14px!important;padding:0 16px 17px!important}
.tryout-detail-grid>*{border:1px solid var(--ui-border)!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}

/* Message composer and users area */
.message-layout{gap:18px!important}
.message-history article{border-color:#e6e9ed!important}
.account-row-polished,.account-column-headings{border-color:#e6e9ed!important}

/* Mobile */
@media(max-width:820px){
  body{overflow-x:hidden}
  .content{padding:18px 13px 38px!important}
  .content>h1{font-size:26px!important;margin-bottom:16px!important}
  .content .panel{border-radius:12px!important;box-shadow:0 5px 17px rgba(16,18,23,.045)!important}
  .content form.panel,.content .panel.form,.content .permission-editor,.content .practice-request-form{padding:16px!important}
  .content input:not([type=checkbox]):not([type=radio]):not([type=file]),.content select{min-height:48px!important;font-size:16px!important}
  .content textarea{font-size:16px!important}
  .content button,.content input[type=submit],.content a.button{min-height:46px!important}
  .app>header{min-height:62px!important;padding:9px 12px!important;gap:8px!important}
  .app>header form{min-width:0;flex:1}
  .app>header select{width:100%!important;min-width:0!important;max-width:250px!important;min-height:40px!important;font-size:12px!important}
  .app>header>span{font-size:10px!important;max-width:40%;text-align:right}
  aside[data-portal-sidebar]{box-shadow:none!important}
  aside[data-portal-sidebar] nav a{min-height:44px;display:flex!important;align-items:center!important;padding:10px 13px!important;font-size:14px!important}
  .metrics{grid-template-columns:1fr!important;gap:9px!important}
  .metrics article{padding:15px 16px!important}
  .metrics article b{font-size:23px!important}
  .tryout-workspace .tryout-toolbar{padding:12px!important;gap:10px!important}
  .tryout-detail-grid{grid-template-columns:1fr!important;padding:0 10px 12px!important}
  .tryout-detail-grid>*{padding:14px!important}
  .message-layout{grid-template-columns:1fr!important}
}

@media(max-width:520px){
  .content{padding-left:10px!important;padding-right:10px!important}
  .content>h1{font-size:24px!important}
  .content form.panel,.content .panel.form,.content .permission-editor,.content .practice-request-form{padding:14px!important}
  .content table th,.content table td{padding:10px!important}
  .app>header>span{display:none!important}
  .app>header select{max-width:none!important}
}

/* 2026 portal-wide professional refinement */
:root{
  --ui-bg:#f3f5f7;
  --ui-card:#fff;
  --ui-card-soft:#f8fafb;
  --ui-text:#15181d;
  --ui-muted:#606873;
  --ui-border:#dde2e7;
  --ui-border-strong:#cbd2d9;
  --ui-red:#e21d2f;
  --ui-red-dark:#b81020;
  --ui-black:#101318;
  --ui-success:#11835a;
  --ui-warning:#9a6400;
  --ui-radius:16px;
  --ui-radius-sm:11px;
  --ui-shadow:0 10px 30px rgba(15,18,23,.065);
  --ui-shadow-hover:0 16px 38px rgba(15,18,23,.105);
}
html{scroll-behavior:smooth;background:var(--ui-bg)!important}
body{min-width:320px;background:linear-gradient(135deg,#f6f7f9 0%,#f1f3f5 55%,#f6f7f9 100%)!important;font-size:16px!important;line-height:1.5!important}
.app{min-height:100vh;background:transparent!important}
@media(min-width:821px){aside[data-portal-sidebar]{width:248px!important;padding:24px 17px!important}.app{margin-left:248px!important}}
aside[data-portal-sidebar]{background:linear-gradient(180deg,#0b0d11 0%,#15181e 58%,#0d0f13 100%)!important}
aside[data-portal-sidebar] .portal-logo{margin:0 auto 10px!important}
aside[data-portal-sidebar] nav{gap:3px!important;margin-top:15px!important;padding:8px 5px 20px!important}
aside[data-portal-sidebar] nav a{display:flex!important;align-items:center!important;min-height:44px!important;margin:1px 0!important;padding:10px 13px!important;border:1px solid transparent!important;border-radius:10px!important;color:#c5cad2!important;font-size:14px!important;font-weight:760!important;line-height:1.25!important}
aside[data-portal-sidebar] nav a:hover{border-color:#343841!important;background:#20242a!important;color:#fff!important;transform:translateX(2px)!important}
aside[data-portal-sidebar] nav a.active{border-color:rgba(255,255,255,.09)!important;background:linear-gradient(135deg,#ef2438,#c61325)!important;color:#fff!important;box-shadow:0 8px 20px rgba(226,29,47,.28)!important;transform:none!important}
.portal-signout{min-height:43px!important;padding:11px 13px!important;border:1px solid #343840!important;border-radius:10px!important;background:#171a20!important;color:#ff7c88!important;font-size:13px!important;font-weight:800!important;text-align:center!important;text-decoration:none!important}
aside[data-portal-sidebar]>[data-staff-inbox-link]{display:none!important}
.app>header{position:sticky!important;top:0!important;z-index:40!important;min-height:76px!important;height:auto!important;padding:13px 30px!important;border-bottom:1px solid rgba(211,216,222,.9)!important;background:rgba(255,255,255,.94)!important;box-shadow:0 4px 18px rgba(15,18,23,.045)!important;backdrop-filter:blur(15px) saturate(150%)!important}
.app>header form{gap:11px!important}.app>header small{margin:0 0 5px!important;color:#737b86!important;font-size:11px!important;line-height:1!important;letter-spacing:.09em!important}.app>header select{min-width:260px!important;min-height:44px!important;padding:0 38px 0 13px!important;border:1px solid var(--ui-border)!important;border-radius:10px!important;background:#fff!important;color:var(--ui-text)!important;font-size:14px!important;font-weight:800!important}.app>header>span{color:#59616c!important;font-size:13px!important;font-weight:750!important}
.content{width:100%!important;max-width:1540px!important;padding:32px clamp(20px,3vw,44px) 64px!important}
.content>h1{position:relative!important;margin:0 0 24px!important;padding-bottom:15px!important;font-size:clamp(30px,3vw,38px)!important;line-height:1.05!important;letter-spacing:-1.1px!important}.content>h1::after{content:"";position:absolute;left:0;bottom:0;width:52px;height:4px;border-radius:999px;background:linear-gradient(90deg,var(--ui-red),#ff5b69)}
.content h2{font-size:clamp(21px,2vw,27px)!important;line-height:1.15!important;letter-spacing:-.5px!important}.content h3{font-size:17px!important;line-height:1.3!important}.content p{font-size:14px;line-height:1.65}.content small{font-size:12px!important;line-height:1.45}
.content .panel,.content .metrics article{border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;background:var(--ui-card)!important;box-shadow:var(--ui-shadow)!important}.content .panel{margin-top:18px!important;padding:24px!important}.content .panel:hover{border-color:#d2d8de!important}.content .panel>h2:first-child{margin-top:0!important}.content .panel>p{color:var(--ui-muted)!important}
.metrics{gap:16px!important}.metrics article{position:relative;overflow:hidden;min-height:118px;padding:22px!important}.metrics article::before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:var(--ui-red)}.metrics article b{font-size:32px!important;line-height:1!important;letter-spacing:-1px!important}.metrics article span{margin-top:9px!important;color:var(--ui-muted)!important;font-size:13px!important;font-weight:750!important;line-height:1.35!important}

/* Forms and controls */
.content form.panel,.content .panel.form,.content .permission-editor,.content .practice-request-form{padding:26px!important}.content .form{gap:18px!important;max-width:920px!important}.content .form.grid{grid-template-columns:repeat(2,minmax(240px,1fr))!important;column-gap:20px!important;row-gap:17px!important}.content form label,.content .field-label,.content .panel.form label,.content .permission-editor label,.content .practice-request-form label{color:#404751!important;font-size:13px!important;font-weight:800!important;line-height:1.35!important;letter-spacing:.01em!important}.content form label>small{color:#737b85!important;font-size:12px!important;font-weight:500!important}.content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),.content select,.content textarea{border:1px solid var(--ui-border-strong)!important;border-radius:11px!important;background:#fbfcfd!important;color:var(--ui-text)!important;font-family:inherit!important;font-size:15px!important;line-height:1.4!important;box-shadow:0 1px 2px rgba(15,18,23,.025) inset!important}.content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=submit]),.content select{min-height:48px!important;padding:10px 13px!important}.content textarea{min-height:120px!important;padding:13px 14px!important}.content input[type=file]{min-height:50px!important;padding:11px!important;background:#fff!important}.content input:hover,.content select:hover,.content textarea:hover{border-color:#abb3bc!important}.content input:focus,.content select:focus,.content textarea:focus{border-color:var(--ui-red)!important;background:#fff!important;box-shadow:0 0 0 4px rgba(226,29,47,.10)!important}.content fieldset{padding:16px!important;border:1px solid var(--ui-border)!important;border-radius:12px!important;background:var(--ui-card-soft)!important}.content legend{padding:0 8px!important;color:#3e454e!important;font-size:13px!important;font-weight:850!important}.content input[type=checkbox],.content input[type=radio]{width:19px!important;height:19px!important;flex:0 0 19px!important;accent-color:var(--ui-red)!important}
.content button,.content input[type=submit],.content a.button,.content .groupme-open,.content .field-request-link,.content .tryout-manage-link,.content .tryout-export,.content .tryout-register-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px!important;padding:10px 16px!important;border-radius:10px!important;font-family:inherit!important;font-size:13px!important;font-weight:850!important;line-height:1.2!important;letter-spacing:0!important;text-decoration:none!important;white-space:normal!important;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease,border-color .16s ease,color .16s ease!important}.content button:not(.secondary):not(.danger):not([disabled]),.content input[type=submit],.content .groupme-open,.content .tryout-register-button{background:linear-gradient(135deg,#ec2639,var(--ui-red-dark))!important;border:1px solid var(--ui-red)!important;color:#fff!important;box-shadow:0 7px 17px rgba(226,29,47,.20)!important}.content button:not(.secondary):not(.danger):not([disabled]):hover,.content input[type=submit]:hover,.content .groupme-open:hover{background:var(--ui-black)!important;border-color:var(--ui-black)!important;color:#fff!important;box-shadow:0 9px 21px rgba(15,18,23,.20)!important;transform:translateY(-1px)!important}.content button.secondary,.content .secondary{background:#fff!important;border:1px solid var(--ui-border-strong)!important;color:#303741!important;box-shadow:0 3px 9px rgba(15,18,23,.05)!important}.content button.secondary:hover,.content .secondary:hover{background:#eef1f4!important;border-color:#adb5be!important;color:#15181d!important}.content button.danger,.content .danger{background:#fff!important;border:1px solid #e8b3bb!important;color:#ac1425!important;box-shadow:none!important}.content button.danger:hover,.content .danger:hover{background:#ac1425!important;border-color:#ac1425!important;color:#fff!important}.content button[disabled]{opacity:.55!important;cursor:not-allowed!important;box-shadow:none!important;transform:none!important}

/* Tables and dense workspaces */
.content .table,.content .tryout-table-wrap,.content .uniform-table-wrap,.content .stats-table,.content .stats-table-wrap{border-radius:14px!important}.content .tryout-table-wrap,.content .uniform-table-wrap,.content .stats-table,.content .stats-table-wrap{overflow-x:auto!important;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#aeb5bd #eef0f2}.content table{font-size:13px!important;line-height:1.4!important}.content table thead th{padding:13px 14px!important;background:#f3f5f7!important;color:#5f6873!important;font-size:11px!important;font-weight:900!important;letter-spacing:.055em!important;white-space:nowrap!important}.content table tbody td{padding:13px 14px!important;color:#353c45!important;font-size:13px!important}.content table tbody tr{transition:background .14s ease}.content table tbody tr:hover>td{background:#f9fafb!important}.content .table>div{min-height:64px!important;gap:16px!important;padding:14px 4px!important;color:#39414a!important;font-size:13px!important}.content .table>div>strong{font-size:14px!important}.content .table>div>span{font-size:13px!important;line-height:1.45!important}
.uniforms-head,.uniform-section-heading,.player-directory-head,.tryout-summary,.team-hub-head,.groupme-admin-head{border-top:4px solid var(--ui-red)!important}.uniform-table,.tryout-table{min-width:1050px!important}.uniform-table input:not([type=checkbox]),.uniform-table select,.coach-uniform-table input:not([type=checkbox]),.coach-uniform-table select{min-height:42px!important;padding:8px 10px!important;font-size:13px!important}.uniform-status{font-size:12px!important;line-height:1.35!important}.uniform-form-actions,.uniform-submit-bar,.team-row-actions,.tryout-manage-actions,.tryout-roster-actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important}.uniform-submit-bar{position:sticky!important;bottom:12px!important;z-index:8!important;padding:14px 16px!important;border:1px solid var(--ui-border)!important;border-radius:13px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 10px 28px rgba(15,18,23,.13)!important;backdrop-filter:blur(10px)!important}

/* Player directory */
body .player-directory{gap:18px!important}body .player-directory-head{padding:24px 26px!important}body .player-directory-head h2{font-size:30px!important}body .player-directory-head p{font-size:14px!important}body .player-kicker{font-size:12px!important}body .player-total small{font-size:12px!important}body .player-toolbar{padding:14px!important}body .player-search{min-height:48px!important;font-size:15px!important}body .player-card{border-radius:15px!important;box-shadow:0 7px 22px rgba(15,18,23,.045)!important}body .player-card summary{min-height:86px!important;padding:15px 18px!important}body .player-name strong{font-size:16px!important}body .player-name small,body .player-column small{font-size:12px!important}body .player-column b{font-size:14px!important}body .player-section{padding:17px!important;border-radius:13px!important}body .player-section h3{font-size:16px!important}body .player-data{grid-template-columns:125px minmax(0,1fr)!important;font-size:13px!important;line-height:1.45!important}body .player-team-chip{font-size:12px!important}body .uniform-status{font-size:12px!important}body .uniform-form label,body .player-form label{font-size:12px!important}body .uniform-form input,body .uniform-form select,body .player-form input,body .player-form select{min-height:44px!important;font-size:14px!important}body .player-dialog{border-radius:18px!important}body .player-form{padding:27px!important}body .player-form>p{font-size:14px!important}

/* Tryouts */
.tryout-workspace .tryout-toolbar{display:grid!important;grid-template-columns:minmax(220px,1.6fr) repeat(3,minmax(150px,.75fr)) auto auto!important;gap:12px!important;padding:18px!important}.tryout-workspace .tryout-toolbar label>span{font-size:12px!important}.tryout-workspace .tryout-toolbar input,.tryout-workspace .tryout-toolbar select{min-height:46px!important;font-size:14px!important}.tryout-summary{padding:20px 22px!important}.tryout-summary span,.tryout-summary small{font-size:13px!important}.tryout-table th,.tryout-table td{font-size:13px!important}.tryout-number-mini,.tryout-number-badge{font-size:12px!important}.tryout-status{padding:6px 9px!important;font-size:12px!important}.tryout-workspace small,.tryout-workspace a,.tryout-workspace .passed-player-note{font-size:12px!important}.tryout-workspace b{font-size:13px!important}.tryout-detail-row details{margin:12px!important}.tryout-detail-row summary{padding:16px 18px!important;font-size:14px!important}.tryout-detail-grid{gap:16px!important;padding:0 17px 18px!important}.tryout-detail-grid>*{padding:17px!important}.tryout-detail-grid h3{font-size:16px!important}.tryout-info-panel dl,.tryout-contact-section,.tryout-eval{font-size:13px!important}.tryout-camera-choice,.tryout-upload-choice{font-size:13px!important}

/* Calendar */
.month-calendar{border:1px solid var(--ui-border)!important;border-radius:16px!important}.month-calendar-head{padding:25px 27px!important}.month-calendar-head span,.selected-day-heading span,.practice-form-head>span{font-size:12px!important}.month-calendar-head p{font-size:13px!important}.month-calendar-nav a{min-height:44px!important;font-size:13px!important}.calendar-key{font-size:12px!important}.month-weekdays b{font-size:12px!important}.day-number{font-size:13px!important}.month-calendar span,.month-calendar b,.day-practices small,.month-day>em{font-size:12px!important;line-height:1.35!important}.field-day h3{font-size:16px!important}.field-day p,.available-windows,.practice-slot{font-size:13px!important}

/* Team, stats, staff, locations and orders */
.team-hub-head{padding:26px!important}.team-hub-head h2{font-size:30px!important}.team-hub-head p{font-size:14px!important}.team-hub-grid{gap:15px!important}.team-hub-grid>a{border-radius:15px!important;box-shadow:0 8px 24px rgba(15,18,23,.055)!important}.team-hub-grid b{font-size:16px!important}.team-hub-grid .team-card-copy>span{font-size:13px!important}.team-practice-week,.team-request-tracker{padding:23px!important}.team-week-grid{gap:12px!important}.staff-list>div{min-height:58px!important;font-size:14px!important}.location-grid{gap:18px!important}.location-card{padding:22px!important}.location-card>span{font-size:11px!important}.location-card h3{font-size:18px!important}.location-card p,.location-card>b,.location-card>a{font-size:13px!important;line-height:1.55!important}.order-form{max-width:840px!important}.color-options{gap:10px!important}.color-options label{min-height:46px!important;padding:10px 12px!important;border:1px solid var(--ui-border)!important;border-radius:10px!important;background:#fff!important;font-size:13px!important}.stats-team-intro{font-size:14px!important}.stats-team-grid{gap:15px!important}.stats-team-grid>a{border-radius:14px!important;box-shadow:var(--ui-shadow)!important}.stats-team-grid strong{font-size:16px!important}.stats-team-grid span,.stats-team-grid small{font-size:13px!important}.stat-tabs a{min-height:44px!important;padding:11px 15px!important;font-size:13px!important}.leader-grid p,.projected span{font-size:13px!important}

/* Messages, teams and users */
.message-layout{gap:20px!important}.message-compose{border-radius:16px!important}.message-compose-head h2{font-size:28px!important}.message-compose-head p{font-size:14px!important}.message-section-title b,.message-recipients legend b{font-size:14px!important}.message-section-title small,.message-recipients legend small{font-size:12px!important}.message-recipients label{min-height:76px!important}.message-recipients b{font-size:13px!important}.message-recipients small,.message-recipients em{font-size:12px!important}.message-privacy{font-size:12px!important}.message-history-list b{font-size:14px!important}.message-history-list span,.message-history-list small{font-size:12px!important}.message-history-list p{font-size:13px!important}.team-admin-table>div{grid-template-columns:minmax(220px,1.3fr) 120px 140px minmax(300px,auto)!important}.team-row-actions form{margin:0!important}.groupme-token-status b{font-size:13px!important}.groupme-token-status small{font-size:12px!important}.account-list-head p{font-size:13px!important}.user-account-search>span,.account-column-headings{font-size:11px!important}.account-row-polished>strong{font-size:14px!important}.account-row-polished>span{font-size:13px!important}.account-actions button{min-height:42px!important;height:auto!important;font-size:12px!important}.super-admin-badge{font-size:10px!important}.permission-list span strong{font-size:14px!important}.permission-list span small,.permission-list label{font-size:13px!important}.approval-count span{font-size:12px!important}

@media(max-width:1150px) and (min-width:821px){
  .tryout-workspace .tryout-toolbar{grid-template-columns:repeat(3,minmax(0,1fr))!important}.tryout-workspace .tryout-search{grid-column:1/-1!important}
  .team-admin-table>div{grid-template-columns:minmax(190px,1fr) 100px 120px!important}.team-admin-table .team-row-actions{grid-column:1/-1!important}
}

@media(max-width:820px){
  body{font-size:16px!important;overflow-x:hidden!important}
  aside[data-portal-sidebar]{min-height:70px!important;padding:10px 13px!important}.mobile-nav-toggle{min-height:44px!important;border-radius:10px!important;font-size:14px!important}
  aside[data-portal-sidebar] nav{padding:8px 0 14px!important}aside[data-portal-sidebar] nav a{min-height:48px!important;padding:12px 14px!important;font-size:15px!important}.portal-signout{min-height:48px!important;font-size:15px!important}
  .app>header{position:relative!important;top:auto!important;min-height:66px!important;padding:10px 13px!important}.app>header select{width:100%!important;min-width:0!important;max-width:320px!important;min-height:44px!important;font-size:14px!important}.app>header>span{font-size:11px!important}
  .content{padding:20px 12px 44px!important}.content>h1{margin-bottom:18px!important;padding-bottom:12px!important;font-size:29px!important}.content>h1::after{width:44px;height:3px}
  .content .panel{margin-top:14px!important;padding:17px!important;border-radius:14px!important;box-shadow:0 6px 20px rgba(15,18,23,.055)!important}.content h2{font-size:23px!important}.content h3{font-size:16px!important}.content p{font-size:14px!important}
  .metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.metrics article{min-height:100px!important;padding:17px!important}.metrics article:last-child:nth-child(odd){grid-column:1/-1!important}.metrics article b{font-size:27px!important}.metrics article span{font-size:12px!important}
  .content form.panel,.content .panel.form,.content .permission-editor,.content .practice-request-form{padding:18px!important}.content .form.grid{grid-template-columns:1fr!important;gap:15px!important}.content .form.grid>*{grid-column:auto!important}.content form label,.content .field-label,.content .panel.form label,.content .permission-editor label{font-size:14px!important}.content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),.content select,.content textarea{font-size:16px!important}.content input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=submit]),.content select{min-height:50px!important}.content button,.content input[type=submit],.content a.button,.content .groupme-open,.content .field-request-link,.content .tryout-manage-link{min-height:48px!important;font-size:14px!important}
  .content .table>div{grid-template-columns:1fr!important;gap:8px!important;padding:15px 2px!important}.content .table>div>*{min-width:0!important}.content .table>div form{width:100%!important}.content .table>div form button{width:100%!important}
  .uniforms-head,.player-directory-head,.team-hub-head,.groupme-admin-head{padding:19px!important}.uniform-table,.tryout-table{min-width:980px!important}.uniform-form-actions,.uniform-submit-bar,.team-row-actions,.tryout-manage-actions,.tryout-roster-actions{align-items:stretch!important;flex-direction:column!important}.uniform-form-actions>*,.uniform-submit-bar>*,.team-row-actions>*,.tryout-manage-actions>*,.tryout-roster-actions>*{width:100%!important}.uniform-form-actions button,.uniform-submit-bar button,.team-row-actions button,.team-row-actions a{width:100%!important}
  body .player-directory-head{display:grid!important}body .player-head-actions{width:100%!important;justify-content:space-between!important}body .player-add{min-height:48px!important;font-size:14px!important}body .player-card summary{grid-template-columns:56px minmax(0,1fr) auto!important;padding:14px!important}body .player-details{grid-template-columns:1fr!important;padding:12px!important}body .player-data{grid-template-columns:115px minmax(0,1fr)!important;font-size:13px!important}body .player-form{padding:20px!important}body .player-dialog{width:calc(100% - 16px)!important;max-height:calc(100vh - 16px)!important}body .player-form-grid,body .player-form fieldset{grid-template-columns:1fr!important}body .player-team-options{grid-template-columns:1fr!important}
  .tryout-workspace .tryout-toolbar{grid-template-columns:1fr!important;padding:14px!important}.tryout-workspace .tryout-toolbar>*{grid-column:auto!important;width:100%!important}.tryout-detail-grid{grid-template-columns:1fr!important}.tryout-detail-grid>*{padding:15px!important}
  .month-calendar-head{padding:20px!important}.month-calendar-head h2{font-size:27px!important}.month-calendar-nav{width:100%!important}.month-calendar-nav a{flex:1!important}.calendar-key{gap:12px!important;padding:12px 15px!important;overflow-x:auto!important}.month-calendar-scroll{border-radius:0 0 14px 14px!important}.month-weekdays,.month-grid{grid-template-columns:repeat(7,112px)!important;min-width:784px!important}.month-day{min-height:126px!important}
  .team-hub-head{align-items:flex-start!important}.team-hub-head h2{font-size:26px!important}.team-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.team-hub-grid>a{min-height:150px!important;padding:14px!important}.team-practice-week,.team-request-tracker{padding:17px!important}.team-week-grid{grid-template-columns:1fr!important}
  .location-grid{grid-template-columns:1fr!important;gap:12px!important}.location-card{padding:18px!important}.location-card h3{font-size:17px!important}.stats-team-grid{grid-template-columns:1fr!important}.leader-grid{grid-template-columns:1fr!important}.projected>div{grid-template-columns:1fr!important}
  .message-layout{grid-template-columns:1fr!important}.message-compose-head{padding:18px!important}.message-form-section,.message-recipients{margin:12px 10px 0!important;padding:16px!important}.message-form-grid,.message-recipients>div{grid-template-columns:1fr!important}.message-send-bar{align-items:stretch!important;flex-direction:column!important;padding:17px!important}.message-send-bar button{width:100%!important}
  .team-admin-table>div{grid-template-columns:1fr!important}.team-admin-table .team-row-actions{grid-column:auto!important}.permission-list>form{grid-template-columns:1fr!important}.permission-list>form>*{grid-column:auto!important}.permission-list>form span{grid-column:auto!important}.permission-list button{width:100%!important}
}

@media(max-width:520px){
  .content{padding-left:10px!important;padding-right:10px!important}.content>h1{font-size:27px!important}.metrics article{padding:15px!important}.metrics article b{font-size:25px!important}
  .team-hub-grid{grid-template-columns:1fr!important}.team-hub-grid>a{min-height:112px!important}.content .panel{padding:15px!important}
  body .player-data{grid-template-columns:1fr!important;gap:3px!important}body .player-data dd{margin-bottom:8px!important}body .uniform-form{grid-template-columns:1fr!important}body .uniform-form>*{grid-column:auto!important}body .uniform-actions{display:grid!important;grid-template-columns:1fr!important}
  .message-compose-head{grid-template-columns:46px minmax(0,1fr)!important;gap:12px!important}.message-compose-head>span{width:46px!important;height:46px!important}.message-compose-head h2{font-size:22px!important}
  .team-admin-table .team-row-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:8px!important}
  .team-admin-table .team-row-actions>*{width:100%!important;min-width:0!important}
  .team-admin-table .team-row-actions form{display:block!important;margin:0!important}
  .team-admin-table .team-row-actions button,.team-admin-table .team-row-actions a{width:100%!important;min-width:0!important;min-height:44px!important;padding:8px 9px!important;font-size:12px!important;line-height:1.15!important;white-space:nowrap!important}
  body .content .team-row-actions button.groupme-create .groupme-button-mark{flex-basis:18px!important;width:18px!important;height:18px!important;border-radius:6px!important;font-size:13px!important}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Final readability pass for helper copy, dense headers and action clusters. */
.team-access-grid .team-card-copy span,.team-access-grid .team-card-copy small,.team-access-grid>a>i{font-size:12px!important}
.content table thead th{font-size:12px!important}
.uniform-bulk-form span,.uniform-bulk-form fieldset,.uniform-color-picks,.uniform-preset-panel span{font-size:12px!important}
.day-details span,.day-details b,.day-details em,.day-details a,.practice-request-form span{font-size:12px!important}
.tryout-workspace span{font-size:12px!important}
.account-list span,.account-list button,.account-column-headings{font-size:12px!important}
.account-actions button{min-height:42px!important;height:auto!important;font-size:12px!important}

/* Branded GroupMe action must win over the global red button theme. */
body .content .team-row-actions button.groupme-create:not([disabled]){gap:8px!important;background:linear-gradient(135deg,#00aff0,#008fca)!important;border-color:#009edc!important;color:#fff!important;box-shadow:0 7px 17px rgba(0,175,240,.28)!important}
body .content .team-row-actions button.groupme-create:not([disabled]):hover{background:linear-gradient(135deg,#009edc,#007eaf)!important;border-color:#007eaf!important;color:#fff!important;box-shadow:0 9px 21px rgba(0,143,202,.34)!important}
body .content .team-row-actions button.groupme-create:focus-visible{outline:3px solid rgba(0,175,240,.34)!important;outline-offset:2px!important}
body .content .team-row-actions button.groupme-create .groupme-button-mark{display:inline-grid!important;place-items:center!important;flex:0 0 22px!important;width:22px!important;height:22px!important;border-radius:7px!important;background:#fff!important;color:#009edc!important;font-size:15px!important;font-weight:950!important;line-height:1!important}

/* Mobile portal masthead */
.mobile-mental-banner{display:none}
@media(max-width:820px){
  aside[data-portal-sidebar]{grid-template-columns:44px minmax(0,1fr) 82px!important;column-gap:10px!important}
  aside[data-portal-sidebar]>.mobile-nav-toggle{grid-column:1!important;grid-row:1!important;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;justify-content:center!important}
  aside[data-portal-sidebar]>.mobile-nav-toggle>b{display:none!important}
  aside[data-portal-sidebar]>.mobile-mental-banner{display:flex!important;grid-column:2!important;grid-row:1!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:0!important;color:#fff!important;font-size:11px!important;font-weight:850!important;line-height:1.15!important;text-align:center!important;white-space:nowrap!important}
  .mobile-mental-banner img{display:block!important;flex:0 0 21px!important;width:21px!important;height:27px!important;object-fit:contain!important}
  aside[data-portal-sidebar]>.portal-logo{grid-column:3!important;grid-row:1!important;justify-self:end!important;width:82px!important;margin:0!important}
  aside[data-portal-sidebar]>.portal-logo img{width:82px!important;max-height:44px!important;object-fit:contain!important;object-position:right center!important}
  aside[data-portal-sidebar]>nav,aside[data-portal-sidebar]>.portal-signout{grid-column:1/-1!important}
}
@media(max-width:520px){
  aside[data-portal-sidebar]{grid-template-columns:44px minmax(0,1fr) 72px!important;column-gap:7px!important;padding-left:10px!important;padding-right:10px!important}
  aside[data-portal-sidebar]>.mobile-mental-banner{gap:5px!important;font-size:10px!important;letter-spacing:-.05px!important}
  .mobile-mental-banner img{flex-basis:18px!important;width:18px!important;height:24px!important}
  aside[data-portal-sidebar]>.portal-logo,aside[data-portal-sidebar]>.portal-logo img{width:72px!important}
}

/* Phone-first Tryouts roster: turn the wide desktop table into player cards. */
/* Production refresh: mobile Tryouts card layout v20. */
@media(max-width:680px){
  .tryout-workspace{gap:12px!important}
  .tryout-workspace .tryout-toolbar{gap:11px!important;padding:15px!important;border-radius:14px!important}
  .tryout-workspace .tryout-toolbar label{gap:7px!important}
  .tryout-workspace .tryout-toolbar label>span{font-size:12px!important;letter-spacing:.045em!important}
  .tryout-workspace .tryout-toolbar input,.tryout-workspace .tryout-toolbar select{min-height:50px!important;font-size:16px!important}
  .tryout-workspace .tryout-toolbar button,.tryout-workspace .tryout-clear,.tryout-workspace .tryout-export{width:100%!important;min-height:48px!important;font-size:14px!important}
  .tryout-workspace .tryout-summary{display:grid!important;grid-template-columns:1fr!important;gap:6px!important;padding:17px 18px!important;border-radius:14px!important}
  .tryout-workspace .tryout-summary div{gap:8px!important}.tryout-workspace .tryout-summary b{font-size:28px!important}.tryout-workspace .tryout-summary span{font-size:13px!important}.tryout-workspace .tryout-summary p{font-size:13px!important;line-height:1.45!important}
  .tryout-workspace .tryout-table-wrap{overflow:visible!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
  .tryout-workspace .tryout-table{display:block!important;width:100%!important;min-width:0!important;border:0!important;background:transparent!important}
  .tryout-workspace .tryout-table thead{display:none!important}
  .tryout-workspace .tryout-table tbody{display:grid!important;gap:12px!important;width:100%!important}
  .tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row){display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;gap:0 12px!important;width:100%!important;padding:15px!important;border:1px solid var(--ui-border)!important;border-radius:15px 15px 6px 6px!important;background:#fff!important;box-shadow:0 7px 22px rgba(15,18,23,.065)!important}
  .tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td{display:block!important;min-width:0!important;padding:8px 0!important;border:0!important;background:transparent!important;font-size:13px!important;overflow-wrap:anywhere!important}
  .tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:first-child{grid-column:1!important;grid-row:1/span 2!important;padding-top:0!important}
  .tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(2){grid-column:2!important;grid-row:1!important;padding:0 0 5px!important}
  .tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(11){grid-column:2!important;grid-row:2!important;padding:2px 0 8px!important}
  .tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(n+3):nth-child(-n+10),.tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(12){grid-column:1/-1!important;border-top:1px solid #edf0f2!important}
  .tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(n+3):nth-child(-n+10){display:grid!important;grid-template-columns:105px minmax(0,1fr)!important;gap:10px!important;align-items:start!important}
  .tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(n+3):nth-child(-n+10)::before{color:#747c86!important;font-size:10px!important;font-weight:900!important;letter-spacing:.055em!important;line-height:1.35!important;text-transform:uppercase!important}
  .tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(3)::before{content:"Program"}.tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(4)::before{content:"DOB / Age"}.tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(5)::before{content:"Tryout date"}.tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(6)::before{content:"School / Grade"}.tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(7)::before{content:"Positions"}.tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(8)::before{content:"Parent / Guardian"}.tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(9)::before{content:"Contact"}.tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(10)::before{content:"Evaluation"}
  .tryout-workspace .tryout-table td:nth-child(2)>strong{display:inline!important;font-size:16px!important;line-height:1.3!important}.tryout-workspace .tryout-table td:nth-child(2)>small{font-size:12px!important}
  .tryout-workspace .tryout-thumb-button img,.tryout-workspace .tryout-thumb-empty{width:60px!important;height:60px!important;border-radius:12px!important}
  .tryout-workspace .tryout-status{padding:6px 9px!important;font-size:11px!important}
  .tryout-workspace .tryout-table tbody>tr:not(.tryout-detail-row)>td:nth-child(12){padding-top:12px!important}
  .tryout-workspace .tryout-manage-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important}
  .tryout-workspace .tryout-manage-actions>*{width:100%!important;min-width:0!important}.tryout-workspace .tryout-manage-actions a,.tryout-workspace .tryout-manage-actions button{width:100%!important;min-height:44px!important;padding:8px!important;font-size:12px!important;white-space:normal!important}
  .tryout-workspace .tryout-detail-row{display:block!important;width:100%!important;margin-top:-12px!important;border:1px solid var(--ui-border)!important;border-top:0!important;border-radius:0 0 15px 15px!important;background:#f5f7f9!important;box-shadow:0 7px 22px rgba(15,18,23,.055)!important;overflow:hidden!important}
  .tryout-workspace .tryout-detail-row>td{display:block!important;width:100%!important;padding:0!important;border:0!important;background:transparent!important}
  .tryout-workspace .tryout-detail-row details{margin:0!important}.tryout-workspace .tryout-detail-row summary{min-height:48px!important;padding:14px 15px!important;background:#f5f7f9!important;font-size:13px!important}
  .tryout-workspace .tryout-detail-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;padding:0 10px 11px!important}
  .tryout-workspace .tryout-detail-grid>*{padding:15px!important;border-radius:12px!important}.tryout-workspace .tryout-detail-grid h3{font-size:16px!important}
  .tryout-workspace .tryout-detail-grid label{font-size:13px!important}.tryout-workspace .tryout-detail-grid input:not([type=checkbox]),.tryout-workspace .tryout-detail-grid select,.tryout-workspace .tryout-detail-grid textarea{min-height:48px!important;font-size:16px!important}
  .tryout-workspace .tryout-photo-choices,.tryout-workspace .tryout-roster-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.tryout-workspace .tryout-photo-choices>*,.tryout-workspace .tryout-roster-actions>*{width:100%!important}
}


/* Super-admin team action colors */
body .content .team-admin-table .team-row-actions button.groupme-create:not([disabled]){
  background:#00aff0!important;
  border-color:#00aff0!important;
  color:#fff!important;
  box-shadow:0 7px 17px rgba(0,175,240,.28)!important;
}
body .content .team-admin-table .team-row-actions button.groupme-create:not([disabled]):hover,
body .content .team-admin-table .team-row-actions button.groupme-create:not([disabled]):focus-visible,
body .content .team-admin-table .team-row-actions button.groupme-create:not([disabled]):active{
  background:#008fca!important;
  border-color:#008fca!important;
  color:#fff!important;
  box-shadow:0 9px 21px rgba(0,143,202,.34)!important;
}
body .content .team-admin-table .team-row-actions button.remove-team-button:hover,
body .content .team-admin-table .team-row-actions button.remove-team-button:focus-visible,
body .content .team-admin-table .team-row-actions button.remove-team-button:active{
  background:#e21d2f!important;
  border-color:#e21d2f!important;
  color:#fff!important;
  box-shadow:0 7px 17px rgba(226,29,47,.24)!important;
}


/* Responsive Teams screen */
body.concept-view-teams .content{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
body.concept-view-teams .team-add-form{
  display:grid!important;
  grid-template-columns:minmax(250px,1.5fr) minmax(150px,.65fr) minmax(160px,.7fr) minmax(130px,.5fr)!important;
  align-items:end!important;
  column-gap:14px!important;
  row-gap:10px!important;
  width:100%!important;
  max-width:none!important;
  padding:18px 20px!important;
  box-sizing:border-box!important;
}
body.concept-view-teams .team-add-form>h2{
  grid-column:1/-1!important;
  margin:0 0 2px!important;
  font-size:23px!important;
}
body.concept-view-teams .team-add-form>label{
  min-width:0!important;
  margin:0!important;
}
body.concept-view-teams .team-add-form>label small{
  margin-top:3px!important;
  font-size:9px!important;
  line-height:1.25!important;
}
body.concept-view-teams .team-add-form input,
body.concept-view-teams .team-add-form select{
  width:100%!important;
  min-width:0!important;
}
body.concept-view-teams .team-add-form>button{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  align-self:end!important;
}
body.concept-view-teams .groupme-admin-head{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
body.concept-view-teams .team-admin-table{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
body.concept-view-teams .team-admin-table>div{
  grid-template-columns:minmax(155px,1.25fr) minmax(72px,.45fr) minmax(90px,.55fr) minmax(0,1.8fr)!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.concept-view-teams .team-admin-table>div>*{
  min-width:0!important;
}
body.concept-view-teams .team-row-actions{
  min-width:0!important;
  flex-wrap:wrap!important;
  gap:7px!important;
}
body.concept-view-teams .team-row-actions button,
body.concept-view-teams .team-row-actions a{
  min-width:0!important;
  padding-left:11px!important;
  padding-right:11px!important;
}
@media (min-width:821px) and (max-width:1100px){
  body.concept-view-teams .team-add-form{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.concept-view-teams .team-add-form>button{
    grid-column:1/-1!important;
  }
  body.concept-view-teams .team-admin-table>div{
    grid-template-columns:minmax(0,1fr) auto auto!important;
  }
  body.concept-view-teams .team-admin-table .team-row-actions{
    grid-column:1/-1!important;
    justify-content:flex-start!important;
  }
}
@media (max-width:820px){
  body.concept-view-teams .team-add-form{
    grid-template-columns:1fr!important;
    padding:16px!important;
  }
  body.concept-view-teams .team-add-form>*{
    grid-column:1!important;
  }
  body.concept-view-teams .team-admin-table{
    overflow:visible!important;
  }
  body.concept-view-teams .team-admin-table>div{
    grid-template-columns:1fr!important;
  }
}


/* No-scroll Users layout and aligned Teams form */
body.concept-view-teams .team-add-form{
  align-items:start!important;
}
body.concept-view-teams .team-add-form>button{
  align-self:start!important;
  margin-top:29px!important;
}
body.concept-view-users .content{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  overflow-x:hidden!important;
  box-sizing:border-box!important;
}
body.concept-view-users .account-list,
body.concept-view-users .permission-list{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.concept-view-users .account-table-scroll{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
  overflow-y:visible!important;
}
body.concept-view-users .account-table-inner{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
}
body.concept-view-users .account-column-headings,
body.concept-view-users .account-list>.account-table-scroll .account-row-polished{
  grid-template-columns:minmax(120px,.9fr) minmax(145px,1.05fr) minmax(125px,1fr) minmax(78px,.5fr) minmax(210px,1.55fr)!important;
  gap:10px!important;
  width:100%!important;
  min-width:0!important;
  padding-left:16px!important;
  padding-right:16px!important;
  box-sizing:border-box!important;
}
body.concept-view-users .account-row-polished>*{
  min-width:0!important;
  max-width:100%!important;
}
body.concept-view-users .account-row-polished>span{
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
body.concept-view-users .account-actions{
  display:flex!important;
  min-width:0!important;
  flex-wrap:wrap!important;
  gap:6px!important;
}
body.concept-view-users .account-actions form{
  min-width:0!important;
}
body.concept-view-users .account-actions button{
  min-width:0!important;
  height:auto!important;
  min-height:36px!important;
  padding:7px 9px!important;
  white-space:normal!important;
  line-height:1.15!important;
}
body.concept-view-users .permission-list>form{
  width:100%!important;
  min-width:0!important;
  grid-template-columns:minmax(180px,1fr) minmax(92px,.38fr) minmax(122px,.5fr) minmax(120px,.5fr) minmax(88px,.36fr)!important;
  gap:12px!important;
  padding-left:16px!important;
  padding-right:16px!important;
  box-sizing:border-box!important;
}
body.concept-view-users .permission-list>form>*{
  min-width:0!important;
}
@media (max-width:1100px){
  body.concept-view-users .account-column-headings{
    display:none!important;
  }
  body.concept-view-users .account-list>.account-table-scroll .account-row-polished{
    grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;
    gap:9px 16px!important;
    align-items:start!important;
    padding:15px 16px!important;
  }
  body.concept-view-users .account-row-polished>strong{
    grid-column:1!important;
  }
  body.concept-view-users .account-row-polished>span:nth-of-type(1){
    grid-column:2!important;
  }
  body.concept-view-users .account-row-polished>span:nth-of-type(2){
    grid-column:1!important;
  }
  body.concept-view-users .account-row-polished>span:nth-of-type(3){
    grid-column:2!important;
  }
  body.concept-view-users .account-actions{
    grid-column:1/-1!important;
  }
  body.concept-view-users .permission-list>form{
    grid-template-columns:minmax(0,1fr) auto auto auto auto!important;
  }
}
@media (max-width:820px){
  body.concept-view-teams .team-add-form>button{
    margin-top:0!important;
  }
  body.concept-view-users .account-list-head{
    grid-template-columns:1fr!important;
  }
  body.concept-view-users .account-list>.account-table-scroll .account-row-polished{
    grid-template-columns:1fr!important;
  }
  body.concept-view-users .account-row-polished>strong,
  body.concept-view-users .account-row-polished>span,
  body.concept-view-users .account-actions{
    grid-column:1!important;
  }
  body.concept-view-users .account-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.concept-view-users .account-actions form,
  body.concept-view-users .account-actions button{
    width:100%!important;
  }
  body.concept-view-users .permission-list>form{
    grid-template-columns:1fr!important;
  }
  body.concept-view-users .permission-list>form>*{
    grid-column:1!important;
    width:100%!important;
  }
}


/* Portal shell horizontal overflow guard */
html,
body{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}
.app{
  min-width:0!important;
  max-width:100%!important;
  overflow-x:clip!important;
  box-sizing:border-box!important;
}
.app>header,
.content{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.content>*{
  min-width:0;
  max-width:100%;
  box-sizing:border-box;
}
@media (min-width:821px){
  aside[data-portal-sidebar]{
    width:248px!important;
  }
  .app{
    width:calc(100% - 248px)!important;
    margin-left:248px!important;
  }
  .content{
    padding-left:clamp(28px,3vw,44px)!important;
    padding-right:clamp(28px,3vw,44px)!important;
  }
}
@media (max-width:820px){
  .app{
    width:100%!important;
    margin-left:0!important;
  }
}


/* Compact create-user panel */
body.concept-view-users .user-create-form{
  display:grid!important;
  grid-template-columns:minmax(145px,.8fr) minmax(185px,1.05fr) minmax(155px,.85fr) minmax(150px,.8fr) minmax(175px,1fr) minmax(115px,.55fr)!important;
  align-items:start!important;
  column-gap:12px!important;
  row-gap:10px!important;
  width:100%!important;
  max-width:none!important;
  padding:19px 20px!important;
  box-sizing:border-box!important;
}
body.concept-view-users .user-create-form>h2{
  grid-column:1/-1!important;
  margin:0 0 2px!important;
  font-size:23px!important;
}
body.concept-view-users .user-create-form .super-admin-note{
  display:block!important;
  width:auto!important;
  margin:5px 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#e21d2f!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1.25!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}
body.concept-view-users .user-create-form>label{
  min-width:0!important;
  margin:0!important;
}
body.concept-view-users .user-create-form input,
body.concept-view-users .user-create-form select{
  width:100%!important;
  min-width:0!important;
}
body.concept-view-users .user-create-form>button{
  grid-column:auto!important;
  width:100%!important;
  min-width:0!important;
  align-self:start!important;
  margin:29px 0 0!important;
}
@media (max-width:1399px){
  body.concept-view-users .user-create-form{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body.concept-view-users .user-create-form>button{
    grid-column:auto!important;
  }
}
@media (max-width:1000px){
  body.concept-view-users .user-create-form{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media (max-width:820px){
  body.concept-view-users .user-create-form{
    grid-template-columns:1fr!important;
    padding:16px!important;
  }
  body.concept-view-users .user-create-form>*{
    grid-column:1!important;
  }
  body.concept-view-users .user-create-form>button{
    margin-top:0!important;
  }
}

body.concept-view-users .user-create-form [hidden]{display:none!important}
.added-team.assistant-limited{background:#fff5f6!important;color:#a50f22!important;border:1px solid #f0c2c9!important}

body.concept-view-users .permission-checks{display:flex!important;align-items:stretch!important;flex-wrap:wrap!important;gap:10px!important}
body.concept-view-users .permission-checks>label{min-width:130px!important}


/* Users table alignment and administrative actions */
body.concept-view-users .account-column-headings,
body.concept-view-users .account-list>.account-table-scroll .account-row-polished{
  grid-template-columns:minmax(155px,1fr) minmax(220px,1.25fr) minmax(225px,1.35fr) minmax(86px,.5fr) minmax(275px,1.45fr)!important;
  column-gap:18px!important;
  align-items:center!important;
  padding-left:22px!important;
  padding-right:22px!important;
}
body.concept-view-users .account-column-headings{
  width:100%!important;
  background:#f7f8fa!important;
}
body.concept-view-users .account-column-headings>span{
  min-width:0!important;
  padding:0!important;
  background:transparent!important;
  text-align:left!important;
}
body.concept-view-users .account-list>.account-table-scroll .account-row-polished{
  width:100%!important;
  min-height:84px!important;
  border-bottom:1px solid #e6e9ed!important;
}
body.concept-view-users .account-row-polished>strong,
body.concept-view-users .account-row-polished>span,
body.concept-view-users .account-row-polished>.account-actions{
  align-self:center!important;
}
body.concept-view-users .account-row-polished>strong{
  gap:4px!important;
}
body.concept-view-users .super-admin-badge{
  display:block!important;
  width:auto!important;
  margin:2px 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#e21d2f!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1.25!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  box-shadow:none!important;
}
body.concept-view-users .account-actions{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  gap:8px!important;
}
body.concept-view-users .account-actions form{
  flex:0 0 auto!important;
}
body.concept-view-users .account-actions button{
  min-height:40px!important;
  padding:8px 13px!important;
  white-space:nowrap!important;
}
body.concept-view-users .account-actions .make-super-admin{
  background:#e21d2f!important;
  color:#fff!important;
  border:1px solid #e21d2f!important;
  box-shadow:0 7px 16px rgba(226,29,47,.16)!important;
}
body.concept-view-users .account-actions .make-super-admin:hover,
body.concept-view-users .account-actions .make-super-admin:focus-visible{
  background:#b80f20!important;
  color:#fff!important;
  border-color:#b80f20!important;
}
@media (max-width:1240px) and (min-width:821px){
  body.concept-view-users .account-column-headings{
    display:none!important;
  }
  body.concept-view-users .account-list>.account-table-scroll .account-row-polished{
    grid-template-columns:minmax(0,1fr) minmax(0,1.25fr)!important;
    gap:10px 20px!important;
    align-items:start!important;
    padding:17px 20px!important;
  }
  body.concept-view-users .account-row-polished>strong{grid-column:1!important}
  body.concept-view-users .account-row-polished>span:nth-of-type(1){grid-column:2!important}
  body.concept-view-users .account-row-polished>span:nth-of-type(2){grid-column:1!important}
  body.concept-view-users .account-row-polished>span:nth-of-type(3){grid-column:2!important}
  body.concept-view-users .account-actions{grid-column:1/-1!important}
}
@media (max-width:820px){
  body.concept-view-users .account-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.concept-view-users .account-actions form,
  body.concept-view-users .account-actions button{
    width:100%!important;
  }
}


/* Final Users directory layout: preserve one readable five-column row per user. */
@media (min-width:821px){
  body.concept-view-users .content .account-list>.user-account-table-scroll{
    width:100%!important;
    max-width:100%!important;
    max-height:496px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    scrollbar-gutter:stable!important;
  }
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-table-inner{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
  }
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-column-headings,
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-row-polished{
    display:grid!important;
    grid-template-columns:minmax(135px,.9fr) minmax(175px,1.12fr) minmax(180px,1.25fr) minmax(72px,.52fr) minmax(240px,1.35fr)!important;
    column-gap:14px!important;
    row-gap:0!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
  }
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-column-headings{
    position:sticky!important;
    top:0!important;
    z-index:5!important;
    min-height:36px!important;
  }
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-row-polished{
    height:92px!important;
    min-height:92px!important;
    padding-top:12px!important;
    padding-bottom:12px!important;
  }
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-row-polished>strong,
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-row-polished>span,
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-row-polished>.account-actions{
    grid-column:auto!important;
    grid-row:auto!important;
    align-self:center!important;
    min-width:0!important;
  }
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-row-polished>span:nth-of-type(1){
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-row-polished>span:nth-of-type(2){
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    overflow-wrap:normal!important;
  }
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-actions{
    display:flex!important;
    grid-template-columns:none!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
  }
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-actions form{
    flex:0 0 auto!important;
    width:auto!important;
  }
  body.concept-view-users .content .account-list>.user-account-table-scroll .account-actions button{
    width:auto!important;
    min-height:38px!important;
    height:38px!important;
    padding:0 11px!important;
    white-space:nowrap!important;
    font-size:10px!important;
    line-height:1!important;
  }
}


/* Messages inbox, recipient paging, and readable compose heading. */
body.concept-view-messages .message-compose-head>div>small{color:#ff7a86!important}
body.concept-view-messages .message-compose-head h2{color:#fff!important;text-shadow:none!important}
body.concept-view-messages .message-compose-head p{color:#d2d6dd!important}
body.concept-view-messages .message-recipients .message-recipient-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:9px!important;
  max-height:252px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding:3px 7px 3px 3px!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
}
body.concept-view-messages .message-recipients .message-recipient-list>label{
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr)!important;
  column-gap:15px!important;
  align-items:start!important;
  min-height:76px!important;
  padding:13px 14px!important;
}
body.concept-view-messages .message-recipients .message-recipient-list input[type="checkbox"]{
  width:18px!important;
  height:18px!important;
  margin:2px 0 0!important;
}
body.concept-view-messages .message-recipient-pagination{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-top:12px!important;
  padding-top:12px!important;
  border-top:1px solid #e6e9ed!important;
}
body.concept-view-messages .message-recipient-pagination>span{
  color:#616872!important;
  font-size:12px!important;
  font-weight:800!important;
  text-align:center!important;
}
body.concept-view-messages .message-recipient-pagination>button{
  width:auto!important;
  min-width:86px!important;
  min-height:36px!important;
  padding:0 12px!important;
  border:1px solid #d5d9df!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#202328!important;
  box-shadow:none!important;
  font-size:11px!important;
}
body.concept-view-messages .message-recipient-pagination>button:disabled{opacity:.42!important;cursor:not-allowed!important}
body.concept-view-messages .message-history-list{
  display:grid!important;
  gap:10px!important;
  max-height:660px!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding-right:6px!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
}
body.concept-view-messages .message-history-item{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:stretch!important;
  gap:8px!important;
  min-height:100px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #e1e4e8!important;
  border-radius:10px!important;
  background:#fafbfc!important;
}
body.concept-view-messages .message-history-item:hover{border-color:#c9ced5!important;background:#fff!important}
body.concept-view-messages .message-open{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:start!important;
  width:100%!important;
  min-width:0!important;
  min-height:100px!important;
  margin:0!important;
  padding:14px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#202328!important;
  box-shadow:none!important;
  text-align:left!important;
  cursor:pointer!important;
}
body.concept-view-messages .message-open:hover,
body.concept-view-messages .message-open:focus-visible{background:#fff!important;color:#202328!important;transform:none!important}
body.concept-view-messages .message-open-summary{display:grid!important;gap:4px!important;min-width:0!important}
body.concept-view-messages .message-open-summary b{color:#17191d!important;font-size:14px!important}
body.concept-view-messages .message-open-summary small,
body.concept-view-messages .message-open-summary em{color:#747b85!important;font-size:11px!important;font-style:normal!important}
body.concept-view-messages .message-open-summary p{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  margin:4px 0 0!important;
  color:#555d67!important;
  font-size:12px!important;
  line-height:1.45!important;
}
body.concept-view-messages .message-open>strong{
  padding:5px 8px!important;
  border-radius:999px!important;
  background:#e8f7f0!important;
  color:#08754f!important;
  font-size:9px!important;
  white-space:nowrap!important;
}
body.concept-view-messages .message-delete-form{display:flex!important;align-items:center!important;margin:0!important;padding:8px 9px 8px 0!important}
body.concept-view-messages .message-delete{
  width:auto!important;
  min-width:58px!important;
  min-height:34px!important;
  height:34px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #efb8c0!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#bd1427!important;
  box-shadow:none!important;
  font-size:10px!important;
}
body.concept-view-messages .message-delete:hover{border-color:#e21d2f!important;background:#fff1f3!important;color:#9f0e20!important}
body.concept-view-messages .message-pagination{
  display:grid!important;
  grid-template-columns:90px minmax(0,1fr) 90px!important;
  align-items:center!important;
  gap:12px!important;
  margin-top:14px!important;
  padding-top:14px!important;
  border-top:1px solid #e3e6ea!important;
}
body.concept-view-messages .message-pagination a,
body.concept-view-messages .message-pagination>span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  border:1px solid #d7dbe1!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#202328!important;
  font-size:11px!important;
  font-weight:800!important;
  text-decoration:none!important;
}
body.concept-view-messages .message-pagination>span{opacity:.45!important}
body.concept-view-messages .message-pagination b,
body.concept-view-messages .message-page-count{color:#666d77!important;font-size:11px!important;font-weight:800!important;text-align:center!important}
body.concept-view-messages .message-page-count{margin-top:13px!important;padding-top:13px!important;border-top:1px solid #e3e6ea!important}
body.concept-view-messages .message-reader{
  width:min(620px,calc(100vw - 32px))!important;
  max-height:calc(100vh - 48px)!important;
  padding:0!important;
  border:0!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#202328!important;
  box-shadow:0 24px 70px rgba(10,12,16,.32)!important;
}
body.concept-view-messages .message-reader::backdrop{background:rgba(10,12,16,.68)!important;backdrop-filter:blur(3px)}
body.concept-view-messages .message-reader-card{position:relative!important;display:grid!important;gap:15px!important;padding:28px!important}
body.concept-view-messages .message-reader-close{
  position:absolute!important;
  top:12px!important;
  right:12px!important;
  width:36px!important;
  min-width:36px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  border-radius:50%!important;
  background:#f1f3f5!important;
  color:#202328!important;
  box-shadow:none!important;
  font-size:22px!important;
}
body.concept-view-messages .message-reader-card>small{padding-right:42px!important;color:#e21d2f!important;font-size:10px!important;font-weight:900!important;letter-spacing:.04em!important;text-transform:uppercase!important}
body.concept-view-messages .message-reader-card>h3{margin:0!important;color:#17191d!important;font-size:24px!important;line-height:1.2!important}
body.concept-view-messages .message-reader-card>[data-message-dialog-body]{max-height:50vh!important;overflow-y:auto!important;white-space:pre-wrap!important;color:#4e5560!important;font-size:14px!important;line-height:1.65!important}
body.concept-view-messages .message-reader-card>.secondary{justify-self:end!important;min-width:92px!important}
@media(max-width:700px){
  body.concept-view-messages .message-recipients .message-recipient-list{grid-template-columns:1fr!important;max-height:468px!important}
  body.concept-view-messages .message-history-list{max-height:620px!important}
  body.concept-view-messages .message-open{grid-template-columns:1fr!important}
  body.concept-view-messages .message-open>strong{justify-self:start!important}
  body.concept-view-messages .message-history-item{grid-template-columns:minmax(0,1fr) auto!important}
  body.concept-view-messages .message-pagination{grid-template-columns:74px minmax(0,1fr) 74px!important;gap:7px!important}
  body.concept-view-messages .message-reader-card{padding:24px 20px!important}
}

body.concept-view-messages .message-recipients [data-recipient-item][hidden]{display:none!important}


/* Compact New Player Order workspace. */
.content .order-form,
body.concept-view-orders .content .order-form{
  display:grid!important;
  grid-template-columns:minmax(0,1.45fr) minmax(180px,.75fr) minmax(210px,.8fr)!important;
  column-gap:18px!important;
  row-gap:16px!important;
  align-items:end!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:26px 28px!important;
  box-sizing:border-box!important;
}
.content .order-form>h2,
body.concept-view-orders .content .order-form>h2{
  grid-column:1!important;
  align-self:center!important;
  margin:0!important;
  font-size:27px!important;
  line-height:1.1!important;
}
.content .order-form>p,
body.concept-view-orders .content .order-form>p{
  grid-column:2/-1!important;
  align-self:center!important;
  margin:0!important;
  color:#68707b!important;
  font-size:12px!important;
  line-height:1.5!important;
}
.content .order-form>label,
body.concept-view-orders .content .order-form>label{
  display:grid!important;
  align-content:start!important;
  gap:7px!important;
  min-width:0!important;
  margin:0!important;
  color:#343943!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
.content .order-form>label:nth-of-type(1),
body.concept-view-orders .content .order-form>label:nth-of-type(1){grid-column:1/3!important}
.content .order-form>label:nth-of-type(2),
body.concept-view-orders .content .order-form>label:nth-of-type(2){grid-column:3!important}
.content .order-form>label:nth-of-type(3),
body.concept-view-orders .content .order-form>label:nth-of-type(3){grid-column:1!important}
.content .order-form>label:nth-of-type(4),
body.concept-view-orders .content .order-form>label:nth-of-type(4){grid-column:2!important}
.content .order-form>label:nth-of-type(5),
body.concept-view-orders .content .order-form>label:nth-of-type(5){grid-column:3!important}
.content .order-form>label>input,
.content .order-form>label>select,
body.concept-view-orders .content .order-form>label>input,
body.concept-view-orders .content .order-form>label>select{
  width:100%!important;
  min-width:0!important;
  min-height:46px!important;
  height:46px!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #cfd4da!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#17191d!important;
  box-sizing:border-box!important;
  font-size:14px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.content .order-form>fieldset,
body.concept-view-orders .content .order-form>fieldset{
  grid-column:1/-1!important;
  min-width:0!important;
  margin:0!important;
  padding:12px 14px 14px!important;
  border:1px solid #dce1e6!important;
  border-radius:9px!important;
  background:#f8f9fa!important;
}
.content .order-form>fieldset>legend,
body.concept-view-orders .content .order-form>fieldset>legend{
  padding:0 7px!important;
  color:#343943!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
.content .order-form .color-options,
body.concept-view-orders .content .order-form .color-options{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:9px!important;
}
.content .order-form .color-options>label,
body.concept-view-orders .content .order-form .color-options>label{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  min-width:0!important;
  min-height:42px!important;
  margin:0!important;
  padding:8px 10px!important;
  border:1px solid #dce1e6!important;
  border-radius:7px!important;
  background:#fff!important;
  color:#343943!important;
  box-sizing:border-box!important;
  font-size:12px!important;
  font-weight:800!important;
}
.content .order-form .color-options input[type="checkbox"],
body.concept-view-orders .content .order-form .color-options input[type="checkbox"]{
  flex:0 0 auto!important;
  width:17px!important;
  height:17px!important;
  margin:0!important;
  accent-color:#e21d2f!important;
}
.content .order-form>button,
body.concept-view-orders .content .order-form>button{
  grid-column:1/-1!important;
  width:100%!important;
  min-height:46px!important;
  height:46px!important;
  margin:2px 0 0!important;
  border-radius:8px!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
@media(max-width:1000px) and (min-width:701px){
  .content .order-form,
  body.concept-view-orders .content .order-form{grid-template-columns:minmax(0,1.4fr) minmax(190px,.8fr)!important}
  .content .order-form>h2,
  .content .order-form>p,
  body.concept-view-orders .content .order-form>h2,
  body.concept-view-orders .content .order-form>p{grid-column:1/-1!important}
  .content .order-form>label:nth-of-type(1),
  body.concept-view-orders .content .order-form>label:nth-of-type(1){grid-column:1!important}
  .content .order-form>label:nth-of-type(2),
  body.concept-view-orders .content .order-form>label:nth-of-type(2){grid-column:2!important}
  .content .order-form>label:nth-of-type(3),
  body.concept-view-orders .content .order-form>label:nth-of-type(3){grid-column:1!important}
  .content .order-form>label:nth-of-type(4),
  body.concept-view-orders .content .order-form>label:nth-of-type(4){grid-column:2!important}
  .content .order-form>label:nth-of-type(5),
  body.concept-view-orders .content .order-form>label:nth-of-type(5){grid-column:1!important}
  .content .order-form>button,
  body.concept-view-orders .content .order-form>button{grid-column:2!important}
}
@media(max-width:700px){
  .content .order-form,
  body.concept-view-orders .content .order-form{
    grid-template-columns:1fr!important;
    row-gap:14px!important;
    padding:20px 16px!important;
  }
  .content .order-form>h2,
  .content .order-form>p,
  .content .order-form>label,
  .content .order-form>fieldset,
  .content .order-form>button,
  body.concept-view-orders .content .order-form>h2,
  body.concept-view-orders .content .order-form>p,
  body.concept-view-orders .content .order-form>label,
  body.concept-view-orders .content .order-form>fieldset,
  body.concept-view-orders .content .order-form>button{grid-column:1!important}
  .content .order-form .color-options,
  body.concept-view-orders .content .order-form .color-options{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .content .order-form .color-options>label:last-child,
  body.concept-view-orders .content .order-form .color-options>label:last-child{grid-column:1/-1!important}
}


/* Practice location access note. */
.content .location-admin-note,
body.concept-view-locations .content .location-admin-note{
  display:block!important;
  width:auto!important;
  margin:5px 0 0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#e21d2f!important;
  box-shadow:none!important;
  font-size:10px!important;
  font-weight:900!important;
  line-height:1.25!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
}


/* Compact three-column team selector for desktop statistics. */
@media(min-width:821px){
  .content .stats-team-grid,
  body.concept-view-stats .content .stats-team-grid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
    align-items:stretch!important;
    width:100%!important;
  }
  .content .stats-team-grid>a,
  body.concept-view-stats .content .stats-team-grid>a{
    display:grid!important;
    grid-template-columns:52px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-content:start!important;
    align-items:center!important;
    gap:10px 12px!important;
    min-width:0!important;
    min-height:126px!important;
    padding:14px!important;
    box-sizing:border-box!important;
  }
  .content .stats-team-grid img,
  body.concept-view-stats .content .stats-team-grid img{
    grid-column:1!important;
    grid-row:1!important;
    width:50px!important;
    height:46px!important;
    object-fit:contain!important;
  }
  .content .stats-team-grid>a>div,
  body.concept-view-stats .content .stats-team-grid>a>div{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    gap:3px!important;
  }
  .content .stats-team-grid>a>div>strong,
  body.concept-view-stats .content .stats-team-grid>a>div>strong{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    color:#17191d!important;
    font-size:14px!important;
    line-height:1.25!important;
  }
  .content .stats-team-grid>a>div>span,
  .content .stats-team-grid>a>div>small,
  body.concept-view-stats .content .stats-team-grid>a>div>span,
  body.concept-view-stats .content .stats-team-grid>a>div>small{
    overflow:hidden!important;
    color:#707780!important;
    font-size:10px!important;
    line-height:1.35!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .content .stats-team-grid>a>b,
  body.concept-view-stats .content .stats-team-grid>a>b{
    grid-column:1/-1!important;
    grid-row:2!important;
    display:flex!important;
    align-items:baseline!important;
    justify-content:space-between!important;
    width:100%!important;
    margin-top:2px!important;
    padding-top:10px!important;
    border-top:1px solid #e7eaee!important;
    color:#17191d!important;
    font-size:19px!important;
    line-height:1!important;
    text-align:left!important;
  }
  .content .stats-team-grid>a>b>small,
  body.concept-view-stats .content .stats-team-grid>a>b>small{
    color:#777e87!important;
    font-size:8px!important;
    font-weight:900!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
  }
}

/* Calendar navigation labels are visible on desktop; agenda-only labels remain mobile. */
.month-calendar-nav a{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important}
.mobile-day-label,.mobile-day-action{display:none}

/* Mobile practice calendar: compact month grid with horizontal swipe. */
@media(max-width:820px){
  .month-calendar{overflow:hidden!important;border-radius:12px!important}
  .month-calendar-head{align-items:flex-start!important;flex-direction:column!important;padding:18px!important}
  .month-calendar-head h2{font-size:27px!important}
  .month-calendar-head p{font-size:14px!important;line-height:1.45!important}
  .month-calendar-nav{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:8px!important;width:100%!important}
  .month-calendar-nav a{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;width:auto!important;min-width:0!important;min-height:44px!important;height:44px!important;margin:0!important;padding:0 8px!important;border:1px solid #454951!important;border-radius:8px!important;background:transparent!important;color:#fff!important;box-shadow:none!important}
  .month-calendar-nav a::before,.month-calendar-nav a::after{content:none!important;display:none!important}
  .month-calendar-nav a b,.month-calendar-nav .today-link{font-size:13px!important}
  .calendar-key{align-items:center!important;flex-wrap:nowrap!important;gap:14px!important;padding:11px 14px!important;overflow:visible!important;font-size:12px!important}
  .calendar-key::after{content:"Swipe calendar →";margin-left:auto;color:#7a7f87;font-size:12px;font-weight:800;white-space:nowrap}
  .month-calendar-scroll{overflow-x:auto!important;overflow-y:visible!important;padding:0!important;background:#dfe2e6!important;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#aeb3ba #eef0f2}
  .month-calendar-scroll::-webkit-scrollbar{height:7px}
  .month-calendar-scroll::-webkit-scrollbar-track{background:#eef0f2}
  .month-calendar-scroll::-webkit-scrollbar-thumb{border-radius:8px;background:#aeb3ba}
  .month-weekdays,.month-grid{display:grid!important;grid-template-columns:repeat(7,minmax(144px,1fr))!important;min-width:1008px!important;gap:1px!important}
  .month-weekdays{position:relative!important;background:#dfe2e6!important}
  .month-weekdays b{display:block!important;padding:11px 8px!important;background:#f5f6f8!important;color:#626871!important;font-size:12px!important;letter-spacing:.8px!important}
  .month-grid{grid-auto-rows:minmax(144px,auto)!important;background:#dfe2e6!important}
  .month-day.blank{display:block!important;background:#eef0f2!important}
  .month-day{display:flex!important;scroll-snap-align:start;min-height:144px!important;padding:10px!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
  .month-day:hover{background:#fff8f8!important;box-shadow:inset 0 0 0 2px #e21d2f!important}
  .month-day.selected{z-index:1!important;background:#fff!important;box-shadow:inset 0 0 0 3px #e21d2f!important}
  .month-day.today{background:#fff9ed!important}
  .mobile-day-label,.mobile-day-action{display:none!important}
  .day-number{display:grid!important;width:29px!important;height:29px!important;font-size:13px!important}
  .day-practices{display:grid!important;min-height:52px!important;gap:5px!important}
  .day-practices small{display:-webkit-box!important;min-height:31px!important;padding:6px 7px!important;overflow:hidden!important;white-space:normal!important;text-overflow:clip!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:12px!important;line-height:1.28!important}
  .day-practices .more-practices{display:block!important;min-height:0!important;padding:5px 7px!important}
  .month-day>em{margin-top:auto!important;padding-top:7px!important;border-top:1px solid #eceef1!important;font-size:12px!important;line-height:1.25!important}
  .calendar-day-popover{display:none!important}
  .selected-day-heading{align-items:flex-start!important;flex-direction:column!important;margin-top:22px!important}
  .field-day-grid{grid-template-columns:1fr!important}
  .day-details,.practice-request-form{scroll-margin-top:82px!important}
}
