:root{font-family:Arial,Helvetica,sans-serif;color:#232127;background:#f7f6f8}*{box-sizing:border-box}body{margin:0}.topbar{background:#171719;color:#fff;min-height:70px}.topwrap{max-width:1300px;margin:auto;padding:12px 26px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:12px}.brandword{font-size:23px;font-weight:900;letter-spacing:-.07em}.private{font-size:9px;font-weight:800;letter-spacing:.16em;color:#b683df}.topbar nav{display:flex;align-items:center;gap:22px;flex:1}.topbar nav a{font-size:13px;color:#d6d2d9;text-decoration:none}.topbar nav a:hover{color:#fff}.logout{background:transparent;border:1px solid #5a555d;padding:8px 13px;border-radius:4px;color:white}.wrap{max-width:1300px;margin:40px auto;padding:0 26px}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.heading h1{font-size:35px;letter-spacing:-.05em;margin:8px 0}.heading p{color:#746e79}.kicker,.subhead{font-size:10px;letter-spacing:.15em;color:#965bcf;font-weight:900}.subhead{margin-bottom:10px}.stats{display:flex;flex-direction:column;text-align:center;background:#fff;padding:19px 28px;border:1px solid #e8e4ea}.stats strong{font-size:31px}.stats small{color:#736e77;font-size:11px}.filters{display:flex;gap:7px;flex-wrap:wrap;margin:25px 0}.filters a{border:1px solid #dfdbe1;background:#fff;text-decoration:none;font-size:12px;padding:8px 13px;color:#65616c;border-radius:4px}.filters a.active{background:#171719;color:white}.request-card,.panel{background:white;border:1px solid #e5e2e8;border-radius:7px;margin:14px 0;padding:25px}.request-top{display:flex;justify-content:space-between;gap:12px;align-items:start;border-bottom:1px solid #eee;padding-bottom:14px}.request-top h2{font-size:23px;letter-spacing:-.04em;margin:7px 0 4px}.request-top small{color:#817c86}.reference{color:#9860c2;font-weight:800;font-size:11px}.status{color:#4c335e;background:#f0e8f6;padding:6px 9px;border-radius:4px;font-size:10px;font-weight:850}.request-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:35px;margin:23px 0}.request-columns ul{margin:5px 0;padding-left:18px}.request-columns li{margin:7px 0;font-size:13px}.request-columns p{font-size:13px;line-height:1.7}.request-columns a{color:#73469a}.note{color:#766f79;white-space:normal}.request-actions{border-top:1px solid #eee;padding-top:16px;display:flex;gap:12px;align-items:end}.request-actions label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#635d68;font-weight:750;flex:1}.request-actions label:first-of-type{max-width:170px}input,select{border:1px solid #d4d0d7;padding:10px;border-radius:4px;background:#fff;font:13px Arial;width:100%;color:#232127}.primary,.small-button{display:inline-block;border:0;background:#1e1d20;color:white;padding:11px 16px;border-radius:4px;font-size:12px;font-weight:750;cursor:pointer;text-decoration:none}.small-button{background:#eee8f3;color:#603b82}.panel.narrow{max-width:510px;margin:60px auto}.panel h1{font-size:29px;letter-spacing:-.04em}.panel p{line-height:1.65;color:#67636b}.panel label{display:block;margin:18px 0 12px;font-size:13px}.panel label input{display:block;margin-top:8px}.panel button{margin-top:10px}.error{color:#a9304e;background:#fae9ee;padding:10px}.empty{text-align:center;color:#777}@media(max-width:760px){.topwrap{flex-wrap:wrap;padding:13px}.topbar nav{order:3;width:100%;gap:15px}.wrap{padding:0 12px;margin:20px auto}.heading{align-items:start}.heading h1{font-size:27px}.stats{padding:11px}.request-columns{grid-template-columns:1fr;gap:8px}.request-actions{flex-direction:column;align-items:stretch}.request-actions label:first-of-type{max-width:none}}

/* RioTone CRM */
.crm-layout{display:grid;grid-template-columns:minmax(310px,430px) minmax(320px,1fr);gap:22px;align-items:start}.crm-layout .panel{margin-top:0}.crm-layout h2{margin-top:0}.crm-layout label{display:block;margin:12px 0;font-size:12px;font-weight:650}.crm-layout textarea{display:block;width:100%;min-height:88px;border:1px solid #d4d0d7;border-radius:4px;padding:10px;font:13px Arial;margin-top:8px}.crm-card{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid #eee;padding:13px 3px}.crm-card h3{margin:0 0 6px;font-size:17px}.crm-card small{display:block;color:#666}.crm-card p{margin:6px 0;font-size:12px;color:#777}.crm-layout .row{display:flex;gap:8px;align-items:center}.crm-layout .panel>h2{font-size:22px}#crmSearch{margin-bottom:8px}@media(max-width:850px){.crm-layout{grid-template-columns:1fr}}

/* v2.1.1 – authentic RioTone wordmark on every internal page */
.topbar .brand{color:inherit;text-decoration:none;flex-shrink:0;display:flex;align-items:center;gap:13px}.topbar .brand-logo{display:block;width:150px;height:auto;max-height:39px;object-fit:contain;filter:invert(1)}.topbar .brand:focus-visible{outline:2px solid #b38ce0;outline-offset:6px}.topbar .private{white-space:nowrap}@media(max-width:760px){.topbar .brand-logo{width:125px}.topwrap{gap:13px}.topbar nav{gap:10px;flex-wrap:wrap}}

/* v2.3 hosted crew directory */
.crew-entry{display:grid;grid-template-columns:74px minmax(240px,1fr) 210px;gap:20px;align-items:start;padding:23px 5px;border-top:1px solid #eae7ec}.crew-thumb{width:70px;height:70px;border-radius:10px;object-fit:cover}.crew-thumb-placeholder{display:flex;align-items:center;justify-content:center;background:#eeeaf2;font-size:29px;color:#80609c}.crew-entry h3{margin:0 0 6px;font-size:20px}.crew-meta{color:#69626e;font-size:12px;margin:6px 0}.crew-entry-details p{font-size:13px;line-height:1.55;white-space:pre-wrap}.crew-entry-actions form{margin:9px 0}.crew-entry-actions button{margin-top:7px;cursor:pointer}.crew-entry-actions label{display:block;font-size:11px;color:#67616c}.crew-entry-actions select{margin-top:5px}.crew-state{font-size:11px;letter-spacing:.07em;font-weight:bold;color:#794f15}.crew-state-approved{color:#287343}.crew-state-disabled{color:#9b344b}.crew-reset{border-left:4px solid #9863c7}.crew-reset input{font-family:monospace}@media(max-width:800px){.crew-entry{grid-template-columns:55px minmax(0,1fr)}.crew-thumb{width:52px;height:52px}.crew-entry-actions{grid-column:2}}

/* v2.6: always show the real RioTone logo in white on a dark header. */
.topbar .brand .brand-logo{display:block!important;filter:brightness(0) invert(1)!important;width:150px!important;max-width:150px!important;height:auto!important;max-height:40px!important;object-fit:contain!important}
/* Hard cap portrait thumbnails even if previous stylesheet is cached. */
.crew-entry{display:grid;grid-template-columns:64px minmax(0,1fr) 210px;gap:16px;align-items:start;min-width:0;max-width:100%;overflow:hidden}
.crew-entry-details{min-width:0;overflow-wrap:anywhere}.crew-entry .crew-thumb,.crew-entry img.crew-thumb{display:block!important;width:64px!important;height:64px!important;max-width:64px!important;max-height:64px!important;object-fit:cover!important;aspect-ratio:1!important;border-radius:9px!important}
.crew-pro-summary{border-top:1px solid #eee;padding-top:14px;margin-top:14px}.crew-pro-summary p{margin:5px 0;font-size:12px}.crew-rate-form{margin-top:14px;border:1px solid #eae5ee;padding:12px;border-radius:8px}.crew-rate-row{display:flex!important;align-items:center;justify-content:space-between;gap:12px}.crew-rate-row span{flex:1}.crew-rate-row small{display:block;color:#79717e}.crew-rate-row input{max-width:108px;flex:0 0 108px}
@media(max-width:800px){.crew-entry{grid-template-columns:54px minmax(0,1fr)}.crew-entry .crew-thumb,.crew-entry img.crew-thumb{width:52px!important;height:52px!important;max-width:52px!important;max-height:52px!important}.crew-entry-actions{grid-column:2}.topbar .brand .brand-logo{width:125px!important}}

/* v2.7: hourly or daily rates, independent for each freelancer role. */
.crew-rate-form .crew-rate-row{display:grid!important;grid-template-columns:minmax(120px,1fr) 115px minmax(140px,220px);gap:12px;align-items:end;border-top:1px solid #f0edf2;padding:12px 0;margin:0}
.crew-rate-form .crew-rate-row>span{min-width:0;align-self:center}.crew-rate-form .crew-rate-row small{margin-top:4px}
.crew-rate-form .crew-rate-row label{display:block;margin:0;font-size:11px;color:#625a68}
.crew-rate-form .crew-rate-row label input,.crew-rate-form .crew-rate-row label select{width:100%;max-width:none;display:block;margin-top:5px;min-width:0}
@media(max-width:650px){.crew-rate-form .crew-rate-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.crew-rate-form .crew-rate-row>span{grid-column:1/-1}}
