:root{--green:#245c50;--primary:#258b83;--text:#303b40;--muted:#68777d;--border:#dce3e5;--bg:#f5f7f8;font-size:14px}
[hidden]{display:none!important}
.registration-login-row{display:flex;align-items:center;gap:8px}.registration-login-row input{flex:1;min-width:0}.registration-login-row button{white-space:nowrap;padding:6px 8px}
header{padding:12px 24px}.brand img{width:60px;height:60px;object-fit:contain;border-radius:8px;flex-shrink:0}.brand strong{font-size:22px}.brand small{font-size:12px}
.auth .auth-login-title{display:flex;align-items:center;justify-content:center;gap:10px}.auth-login-icon{width:38px;height:38px;object-fit:contain;flex-shrink:0;border-radius:6px}
h1{font-size:22px}h2{font-size:17px}.panel,.card{padding:18px;border-radius:4px;margin-bottom:16px;box-shadow:none}.grid{gap:16px}main{margin-top:24px}
button.primary,.button.primary{background:var(--primary);border-color:#217c75}button.primary:hover{background:#20786f}button:hover,.button:hover{background:#edf5f3}
button,input,select{min-height:34px}input,select{padding:6px 10px}button{padding:6px 14px}.actions{gap:8px;margin-top:16px}th,td{padding:9px 10px}th{background:#f4f7f8}a,.link{color:#217c75}.tag{background:#edf6f4}.tag.warning{background:#fff5dd}
.operator-layout main{max-width:none;margin:24px 24px 24px 240px;min-height:78vh}.operator-layout .sidebar{position:fixed;left:0;top:76px;bottom:0;width:216px;padding:20px 16px;background:white;border-right:1px solid var(--border);gap:4px}.operator-layout .layout{display:block}.sidebar button{border-color:transparent;background:transparent;padding:10px 14px}.sidebar button.selected{color:#217c75;background:#e7f3f0;border-color:#d3e8e3;font-weight:600}.sidebar button:hover{background:#f0f6f5}
.operator-content{min-width:0}.operator-content .row input{max-width:320px}.metric{font-size:30px;color:var(--green);font-weight:500}.selectable{cursor:pointer}.selectable:hover,.selectable:focus{background:#edf6f4;outline:0}.table-wrap{margin-top:12px}.embedded header,.embedded footer{display:none}.embedded main{max-width:none;padding:0;margin:0;min-height:0}.embedded .panel{border:0;margin:0 0 12px;padding:16px}.embedded .panel+ .panel{border-top:1px solid var(--border)}.embedded .panel form{max-width:620px}
@media(max-width:800px){.operator-layout main{margin:16px;padding:0}.operator-layout .sidebar{position:static;width:auto;display:flex;flex-direction:row;overflow:auto;border:0;padding:0 0 12px;margin-bottom:16px}.sidebar button{white-space:nowrap}header{padding:12px 16px}nav{gap:8px;flex-wrap:wrap}.operator-content .row input{max-width:none}}

/* Company member actions share accessible modal dialogs. */
.member-modal{width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:24px;border:1px solid var(--border);border-radius:10px;color:var(--text);background:white;box-shadow:0 12px 50px #0003}
.member-modal::backdrop{background:#123b4566}
.member-modal> .row{position:sticky;top:-24px;background:white;padding:12px 0;border-bottom:1px solid var(--border);z-index:1}
.member-modal h2{margin:0}.member-modal .modal-notice{padding:10px;background:#edf7f5;color:#17675e}.member-modal .modal-notice.error{background:#fff0ef;color:#a94442}
.member-modal form{margin-top:12px}

.startup-card{text-align:center;max-width:440px;margin:55px auto;padding:32px}.startup-spinner{display:inline-block;width:30px;height:30px;border:3px solid #dcebea;border-top-color:#258b83;border-radius:50%;animation:trialgo-startup-spin .9s linear infinite;margin-bottom:16px}@keyframes trialgo-startup-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.startup-spinner{animation:none}}

/* TrialGo branded startup state. */
.startup-logo{display:block;width:76px;height:76px;object-fit:contain;margin:0 auto 20px;border-radius:18px}.startup-card,.trialgo-startup-card{border:1px solid #dce9e6;background:linear-gradient(160deg,#fff 65%,#f0f8f6);border-radius:16px;box-shadow:0 8px 28px #174f4610;padding:38px 30px;text-align:center}.startup-card h1,.startup-card h2,.trialgo-startup-card h3{font-size:23px;color:#186d66;margin:0 0 12px}.startup-card .muted,.trialgo-startup-card>p{font-size:13px;color:#7a8986;margin:0 0 24px}.startup-card .startup-spinner{width:22px;height:22px;margin:0 auto 12px}.startup-caption{font-size:12px;color:#7a8986;margin:0}.trialgo-startup-card .trialgo-page-loading-spinner{width:24px;height:24px;margin:0 auto 14px}
.company-people-list{max-height:380px;overflow-y:auto;overflow-x:hidden;border:1px solid var(--border);border-radius:8px;margin-bottom:16px}
.company-people-list .company-person-row{display:flex;align-items:flex-start;gap:12px;padding:13px 14px;margin:0;border-bottom:1px solid var(--border);cursor:pointer;min-width:0}
.company-people-list .company-person-row:last-of-type{border-bottom:0}
.company-people-list .company-person-row:hover{background:#f3f9f8}
.company-people-list .company-person-row[hidden]{display:none}
.company-people-list .company-person-row>input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:3px 0 0;padding:0;accent-color:#258b83}
.company-person-detail{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}
.company-person-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px}
.company-person-heading strong{font-weight:600}.company-person-heading .muted{font-size:13px}
.company-person-state{font-size:12px;color:#71817f;background:#f0f3f3;padding:3px 8px;border-radius:5px}.company-person-state.assigned{background:#e6f4ef;color:#20705d}
.company-person-systems{display:flex;flex-wrap:wrap;align-items:center;gap:5px;font-size:12px;overflow-wrap:anywhere}
.company-system-tag{background:#f3f6f8;border:1px solid #e1e8eb;border-radius:5px;padding:3px 7px;max-width:100%;overflow-wrap:anywhere}
.company-person-detail small{font-size:12px}
.crop-systems{border:1px solid #d9e2e1;border-radius:8px;margin:16px 0;padding:12px;min-width:0}
.crop-system-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 4px;border-bottom:1px solid #edf1f0}
.crop-system-row:last-child{border-bottom:0}
.crop-system-row label{display:flex;align-items:center;gap:8px;margin:0}
.crop-system-row input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;flex:none}
@media(max-width:480px){.crop-system-row{gap:10px;flex-wrap:wrap}}
