.editor label,.inline-form label{display:block;font-weight:650;color:#29483b}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.editor input,.editor select,.inline-form input{font:inherit;display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #b8c9be;border-radius:9px;background:#fff;color:#172b25}.compact{width:auto;margin:0}.inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin:18px 0 30px}.inline-form label{grid-column:1/-1}.inline-form input{margin:0}.record-list{padding-left:22px;line-height:1.8;color:#536d5e}.license-list{display:grid;gap:10px}.license-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid var(--line);border-radius:10px;padding:14px 16px}.license-row p{margin:5px 0 0;font-size:.875rem}.license-row button{min-width:105px} @media(max-width:650px){.form-grid{grid-template-columns:1fr}.inline-form{grid-template-columns:1fr}.license-row{align-items:flex-start;flex-direction:column}.license-row button{width:100%}}
#academy-module-nav{color:#c5d5cb;padding-left:12px}#academy-select{font:inherit;padding:9px;border:1px solid #b8c9be;border-radius:8px;color:#172b25;background:white;max-width:100%}
.editor textarea{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #b8c9be;border-radius:9px;font:inherit;color:#172b25;resize:vertical;background:white}
.crm-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);gap:14px;overflow-x:auto;align-items:start;padding:8px 2px 18px;scroll-snap-type:x proximity}.crm-column{min-height:350px;background:#eef3ef;border:1px solid #dce5df;border-radius:13px;padding:12px;scroll-snap-align:start;border-top:4px solid #7e9591}.crm-column[data-stage=CONTACTED]{border-top-color:#5b83b9}.crm-column[data-stage=TRIAL]{border-top-color:#9a79bb}.crm-column[data-stage=NEGOTIATION]{border-top-color:#d5a550}.crm-column[data-stage=WON]{border-top-color:#39a477}.crm-column[data-stage=LOST]{border-top-color:#bf7777}.crm-column.drag-over{outline:2px dashed #185b42;background:#dcefe3}.crm-column h3{display:flex;justify-content:space-between;gap:8px;font-size:1rem;margin:4px 0 14px}.crm-lane{display:grid;gap:10px;min-height:240px}.crm-card{background:white;border:1px solid #dce5df;border-radius:10px;padding:13px;box-shadow:0 2px 5px #172b2510;overflow-wrap:anywhere}.crm-card[draggable=true]{cursor:grab}.crm-card.dragging{opacity:.5}.crm-card strong{display:block;margin-bottom:7px}.crm-card p{margin:5px 0;font-size:.88rem;color:#536d5e}.crm-card .due{color:#a32432;font-weight:650}.crm-card select{width:100%;padding:7px;border:1px solid #c7d6cc;border-radius:7px;background:white;font:inherit;font-size:.85rem;margin:9px 0}.crm-actions{display:flex;gap:5px;flex-wrap:wrap}.crm-actions button{padding:5px 8px;font-size:.82rem}.crm-empty{color:#5d7166;font-size:.88rem;padding:12px}.crm-badge{background:white;border-radius:20px;padding:2px 8px;font-size:.8rem;color:#185b42}.crm-closed{color:#185b42;font-weight:700}
.editor input[type=checkbox]{display:inline-block;width:auto;margin:0 7px 0 0;vertical-align:middle}.check-option{padding:7px 0}.check-option input{margin-right:8px}#staff-modules .nav-button{display:block;width:100%}#staff-organization{font:inherit;padding:9px;border:1px solid #b8c9be;border-radius:8px}
.membership-tabs{display:flex;gap:8px;margin:20px 0;border-bottom:1px solid var(--line)}.membership-tabs button{background:transparent;border:0;color:#536d5e;border-bottom:3px solid transparent;border-radius:0;padding:12px 20px;font:inherit;font-weight:650;cursor:pointer}.membership-tabs button[aria-selected=true]{color:#185b42;border-bottom-color:#185b42}.membership-toolbar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:15px}.membership-toolbar h2{margin:0;margin-right:auto}.membership-toolbar select{font:inherit;border:1px solid #b8c9be;border-radius:8px;padding:8px;background:white}.membership-dialog{width:min(600px,calc(100% - 32px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:16px;padding:28px;background:white;color:#172b25;box-shadow:0 15px 60px #172b2533}.membership-dialog::backdrop{background:#172b2577}.membership-dialog h2{margin-top:0}.membership-autocomplete{position:relative}.membership-results{position:absolute;top:100%;left:0;right:0;z-index:5;background:white;border:1px solid #b8c9be;border-radius:8px;max-height:190px;overflow:auto;box-shadow:0 6px 20px #172b2522;padding:6px}.membership-results button{display:block;width:100%;text-align:left;background:white;color:#172b25;border:0;border-radius:5px;padding:10px;font:inherit;cursor:pointer}.membership-results button:hover,.membership-results button:focus{background:#e8f3ed}.membership-error{color:#a32432}.membership-error:empty{display:none}.membership-results[hidden],#academy-memberships [role=tabpanel][hidden]{display:none}
.membership-tabs{flex-wrap:wrap}
.workout-row-actions{white-space:nowrap}
.workout-row-actions button+button{margin-left:6px}
#workout-exercises td{vertical-align:middle;overflow-wrap:anywhere}
#workout-exercises td:last-child{overflow-wrap:normal}
.workout-view-dialog{width:min(1100px,calc(100% - 32px))}
.workout-view-dialog .quick-links{flex-wrap:wrap}
#student-portal-nav .nav-button{display:block;width:100%;text-align:left}
#student-portal-records .module-card p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}
#student-portal-records .module-card h3{margin-top:0;color:var(--green)}
#academy-module-nav.academy-module-menu{display:grid;gap:5px;padding-left:0;line-height:1.4}
#academy-module-nav .nav-button{display:block;width:100%;text-align:left;white-space:normal;line-height:1.45}
#academy-module-nav .academy-menu-unavailable{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;font-size:.86rem;color:#a9bdb3}
.academy-menu-unavailable span{font-size:.65rem;white-space:nowrap;border:1px solid #647c70;border-radius:6px;padding:2px 5px;color:#c5d5cb}
.brand-panel,.shell{--green:#235d93;--dark:#18293a;--lime:#a9d6fb}
.login-card .primary{background:#235d93}
.brand .mark{font-size:1.1rem;flex:0 0 40px}
.tenant-brand .brand{font-size:1.15rem;line-height:1.2;letter-spacing:-.02em;overflow-wrap:anywhere}
.tenant-brand small{display:block;color:#b1c8db;font-size:.67rem;letter-spacing:.08em;margin-top:12px}
.tenant-logo{width:48px;height:48px;object-fit:contain;background:white;border-radius:8px;flex:0 0 48px}
.shell.theme-green{--green:#185b42;--dark:#132a25;--lime:#b8e85b}
.shell.theme-blue{--green:#174bbd;--dark:#132851;--lime:#a7d3ff}
.shell.theme-purple{--green:#6941a5;--dark:#302043;--lime:#e2c7ff}
.shell.theme-red{--green:#9d293d;--dark:#451e2a;--lime:#ffc5ca}
.shell.theme-black{--green:#454b54;--dark:#20252b;--lime:#dce5ef}
.shell .nav-button.active,.shell .nav-button:hover,.shell .logout:hover{background:#ffffff1c}
.branding-form{border-top:1px solid var(--line);margin-top:28px;padding-top:22px}
.branding-form .quick-links{align-items:center;margin:12px 0}
.login-layout.theme-green .brand-panel,.login-layout.theme-green .login-card{--green:#185b42;--dark:#132a25;--lime:#b8e85b}
.login-layout.theme-blue .brand-panel,.login-layout.theme-blue .login-card{--green:#174bbd;--dark:#132851;--lime:#a7d3ff}
.login-layout.theme-purple .brand-panel,.login-layout.theme-purple .login-card{--green:#6941a5;--dark:#302043;--lime:#e2c7ff}
.login-layout.theme-red .brand-panel,.login-layout.theme-red .login-card{--green:#9d293d;--dark:#451e2a;--lime:#ffc5ca}
.login-layout.theme-black .brand-panel,.login-layout.theme-black .login-card{--green:#454b54;--dark:#20252b;--lime:#dce5ef}
.login-layout[class*="theme-"] .login-card .primary{background:var(--green)}
#workout-exercise-dialog,#template-exercise-dialog{width:min(780px,calc(100% - 32px))}
.shell.theme-raiz{--green:#244d67;--dark:#18394f;--lime:#dfb98b;--line:#e0d5c8;background:#fbf8f3;color:#30271f}
.login-layout.theme-raiz .brand-panel,.login-layout.theme-raiz .login-card{--green:#244d67;--dark:#18394f;--lime:#dfb98b}
.login-layout.theme-raiz .brand-panel{background:linear-gradient(145deg,#18394f,#244d67 68%,#593c2d)}
.login-layout.theme-raiz .login-panel{background:#fbf8f3}
.theme-raiz .tenant-brand .brand{flex-direction:column;align-items:flex-start;gap:10px}
.theme-raiz .tenant-brand .tenant-logo{width:100%;height:148px;flex:none;object-fit:contain;background:#fff;border:1px solid #e0d5c8;padding:6px}
.login-layout.theme-raiz .tenant-logo{width:min(200px,55vw);height:180px;flex:none;object-fit:contain;background:#fff;padding:8px}
.login-layout.theme-raiz .brand{flex-wrap:wrap}
.theme-raiz .eyebrow,.theme-raiz .editor label{color:#67492f}
.login-layout.theme-raiz .brand-panel .eyebrow{color:#dfb98b}
.theme-raiz .identity,.theme-raiz .crm-badge{background:#f1e8dc;color:#244d67}
.theme-raiz .secondary{color:#244d67;border-color:#d7c8b8}
.theme-raiz .primary:hover{background:#18394f}
.theme-raiz .membership-tabs button[aria-selected=true]{color:#244d67;border-bottom-color:#9c704e}
.theme-raiz .nav-button.active{background:#ffffff20;color:#dfb98b}
.workout-delete-button{color:#a32432!important;border-color:#e2b9bd!important}
.workout-expired{color:#a32432;font-weight:700}
.workout-due-soon{color:#8b5a16;font-weight:700}
