/* CASTING LAB v120 — Expert My PC-only dashboard. Mobile expert My remains unchanged. */
:root{
  --clx-bg:#f5f4f0;--clx-panel:#fff;--clx-ink:#17191d;--clx-muted:#7d818b;--clx-line:#dfded8;
  --clx-side:#17191d;--clx-selected:#303649;--clx-blue:#2d5cff;--clx-green:#0c8a66;--clx-green-bg:#daf4ea;
  --clx-amber:#956100;--clx-amber-bg:#fff1d3;--clx-red:#9f4444;--clx-red-bg:#fde5e5;
}
@media(min-width:1024px){
  body.cl-expert-pc-dashboard-mode{background:var(--clx-bg)!important}
  body.cl-expert-pc-dashboard-mode>.app{width:100%!important;max-width:none!important;margin:0!important;padding-bottom:0!important;overflow:visible!important;background:var(--clx-bg)!important}
  body.cl-expert-pc-dashboard-mode>.app>.header{display:none!important}
  body.cl-expert-pc-dashboard-mode>.app>main{padding:0!important;width:100%!important;max-width:none!important}
  body.cl-expert-pc-dashboard-mode>.app>main>.business-footer-v76{display:none!important}
  body.cl-expert-pc-dashboard-mode>.app>.bottom{display:none!important}
  body.cl-expert-pc-dashboard-mode #myView{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:var(--clx-bg)!important;min-height:100vh}
  #myView.cl-expert-pc-dashboard-active>.my-page{display:none!important}
  #myView .clx-dashboard{display:none}
  #myView.cl-expert-pc-dashboard-active>.clx-dashboard{display:grid;grid-template-columns:240px minmax(0,1fr);width:100%;min-height:100vh;color:var(--clx-ink);background:var(--clx-bg)}

  .clx-sidebar{position:sticky;top:0;height:100vh;background:var(--clx-side);color:#fff;padding:30px 18px 22px;display:flex;flex-direction:column;z-index:52}
  .clx-brand{border:0;background:transparent;color:#fff;text-align:left;padding:0;font-size:25px;font-weight:950;letter-spacing:-1.3px;margin:0 10px 30px;line-height:1.15}.clx-brand span{color:var(--clx-blue)}
  .clx-alert{width:100%;height:52px;border:0;border-radius:13px;background:transparent;color:#aeb3c0;padding:0 15px;margin-bottom:8px;display:flex;align-items:center;justify-content:space-between;font-size:16px;font-weight:850;text-align:left}
  .clx-alert:hover,.clx-alert.active{background:#252a38;color:#fff}.clx-alert-count{min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:var(--clx-blue);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:950}.clx-alert-count[hidden]{display:none!important}
  .clx-nav{display:flex;flex-direction:column;gap:5px;overflow:auto;min-height:0}.clx-nav-btn{width:100%;border:0;background:transparent;color:#adb1bd;text-align:left;padding:14px 15px;border-radius:13px;font-size:16px;font-weight:850}.clx-nav-btn:hover{background:#222632;color:#fff}.clx-nav-btn.active{background:var(--clx-selected);color:#fff}
  .clx-subnav{display:flex;flex-direction:column;margin:-1px 0 5px 15px}.clx-subnav button{border:0;background:transparent;color:#7f8594;text-align:left;padding:7px 4px;font-size:12px;font-weight:800}.clx-subnav button:hover,.clx-subnav button.active{color:#fff}.clx-subnav button[hidden]{display:none!important}
  .clx-side-bottom{margin-top:auto;padding-top:16px;border-top:1px solid #2b2e34}.clx-logout{width:100%;height:48px;border:1px solid #464b55;border-radius:12px;background:transparent;color:#fff;font-size:14px;font-weight:850}

  .clx-main{min-width:0;padding:28px 34px 48px}.clx-topbar{min-height:76px;border-radius:20px;background:var(--clx-side);color:#fff;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
  .clx-topbar-title{font-size:15px;font-weight:900;margin-bottom:4px}.clx-topbar-sub{font-size:11px;color:#aeb2bf}.clx-user-chip{height:42px;background:#fff;color:#17191d;border:1px solid #e3e3e3;border-radius:12px;padding:0 13px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:850;max-width:280px}.clx-user-avatar{width:26px;height:26px;border-radius:8px;background:#eef0ff;color:#2d5cff;display:grid;place-items:center;font-size:10px;font-weight:950;overflow:hidden;flex:0 0 auto}.clx-user-avatar img{width:100%;height:100%;object-fit:cover}.clx-user-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .clx-panel-page{display:none}.clx-panel-page.active{display:block}.clx-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}.clx-page-title{font-size:28px;line-height:1;font-weight:950;letter-spacing:-1.4px}.clx-page-desc{font-size:13px;color:var(--clx-muted);margin-top:8px}
  .clx-primary,.clx-secondary,.clx-small{border-radius:11px;font-weight:850}.clx-primary{height:40px;border:0;background:#17191d;color:#fff;padding:0 16px}.clx-secondary{height:38px;border:1px solid var(--clx-line);background:#fff;color:#17191d;padding:0 14px}.clx-small{height:32px;border:1px solid var(--clx-line);background:#fff;color:#17191d;padding:0 10px;font-size:11px}
  .clx-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.clx-stat{min-height:112px;background:#fff;border:1px solid var(--clx-line);border-radius:18px;padding:20px}.clx-stat-label{font-size:12px;color:#777b85;margin-bottom:14px}.clx-stat-row{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}.clx-stat-number{font-size:31px;font-weight:950;letter-spacing:-1px}.clx-stat-note{font-size:11px;color:#838690}
  .clx-two-col{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);gap:16px}.clx-panel{background:#fff;border:1px solid var(--clx-line);border-radius:20px;overflow:hidden}.clx-panel-head{padding:18px 20px;border-bottom:1px solid #e9e8e3;display:flex;align-items:center;justify-content:space-between;gap:10px}.clx-panel-title{font-size:17px;font-weight:900}.clx-panel-sub{font-size:11px;color:#898c95;margin-top:4px}.clx-panel-body{padding:14px 18px 18px}.clx-empty{padding:30px 16px;text-align:center;color:#888c95;font-size:13px;line-height:1.6}

  .clx-preview-list{display:grid}.clx-preview-list>.my-activity-item{margin:0!important;border:0!important;border-bottom:1px solid #ecebe7!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;padding:14px 0!important}.clx-preview-list>.my-activity-item:last-child{border-bottom:0!important}.clx-preview-list .v36-cancel-application{display:none!important}.clx-preview-list .v36-activity-main{pointer-events:auto}
  .clx-quick-list{display:grid}.clx-quick{width:100%;border:0;background:#fff;display:flex;align-items:center;gap:10px;text-align:left;padding:12px 0;border-bottom:1px solid #ecebe7}.clx-quick:last-child{border-bottom:0}.clx-quick-mark{width:32px;height:32px;border-radius:10px;background:#f0f2f7;display:grid;place-items:center;font-size:9px;font-weight:950;flex:0 0 auto}.clx-quick-copy{min-width:0;flex:1}.clx-quick-copy b{display:block;font-size:12px}.clx-quick-copy small{display:block;margin-top:4px;color:#8b8e96;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clx-quick-arrow{color:#9699a2}

  .clx-profile-grid{display:grid;grid-template-columns:220px 1fr;gap:16px}.clx-profile-card,.clx-action-card{background:#fff;border:1px solid var(--clx-line);border-radius:18px;padding:18px}.clx-profile-photo{width:100%;aspect-ratio:1/1;border-radius:16px;background:#e9ebf2;display:grid;place-items:center;overflow:hidden;margin-bottom:14px;font-size:30px;font-weight:950;color:#697080}.clx-profile-photo img{width:100%;height:100%;object-fit:cover}.clx-profile-name{font-size:19px;font-weight:950}.clx-profile-role{font-size:12px;color:#848892;margin-top:5px}.clx-profile-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.clx-action-card{min-height:132px}.clx-action-card h3{font-size:15px;margin:0 0 7px}.clx-action-card p{font-size:11px;color:#81858e;line-height:1.5;margin:0 0 14px}.clx-action-buttons{display:flex;gap:7px;flex-wrap:wrap}.clx-address{display:block;margin:0 0 12px;padding:10px;border:1px solid #e0e1e5;border-radius:10px;background:#fafafa;color:#555b66;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

  .clx-project-host>#myActivity{display:block!important;margin:0!important;padding:0!important;background:transparent!important}.clx-project-host>#myActivity>.my-activity-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0 0 16px!important}.clx-project-host .my-summary-card{min-height:96px!important;border:1px solid var(--clx-line)!important;border-radius:16px!important;background:#fff!important;padding:17px!important;box-shadow:none!important}.clx-project-host .my-summary-card b{font-size:26px!important}.clx-project-host .my-summary-card span{font-size:11px!important}.clx-project-host .my-activity-block{margin:0 0 16px!important;border:1px solid var(--clx-line)!important;border-radius:18px!important;background:#fff!important;padding:0!important;overflow:hidden!important;box-shadow:none!important}.clx-project-host .my-activity-head{padding:17px 18px!important;border-bottom:1px solid #ecebe7!important;margin:0!important}.clx-project-host .my-activity-head h2{font-size:17px!important}.clx-project-host .my-activity-list{padding:4px 18px 10px!important}.clx-project-host .my-activity-item{border-radius:0!important;border:0!important;border-bottom:1px solid #ecebe7!important;background:#fff!important;box-shadow:none!important;margin:0!important;padding:14px 0!important}.clx-project-host .my-activity-item:last-child{border-bottom:0!important}.clx-project-host #moaMyProjectInterests{margin-top:0!important}
  .clx-project-host .my-campaign-hub{display:none!important}

  .clx-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.clx-info-card{background:#fff;border:1px solid var(--clx-line);border-radius:18px;padding:18px}.clx-info-card h3{font-size:15px;margin:0 0 8px}.clx-info-card p{font-size:11px;color:#7f838d;line-height:1.55;margin:0}.clx-info-card .clx-stat-number{margin-top:14px}
  .clx-notifications{background:#fff;border:1px solid var(--clx-line);border-radius:18px;overflow:hidden}.clx-notice{width:100%;border:0;background:#fff;display:grid;grid-template-columns:48px minmax(0,1fr) 90px;align-items:center;gap:12px;text-align:left;padding:14px 16px;border-bottom:1px solid #ecebe7}.clx-notice:last-child{border-bottom:0}.clx-notice:hover{background:#fafafa}.clx-notice-mark{width:36px;height:36px;border-radius:10px;background:#eef1ff;color:#315ae5;display:grid;place-items:center;font-size:9px;font-weight:950}.clx-notice b{display:block;font-size:12px}.clx-notice small{display:block;margin-top:4px;color:#8a8e97;font-size:10px}.clx-notice-count{text-align:right;font-size:11px;font-weight:900;color:#315ae5}
  .clx-settings-grid,.clx-support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.clx-support-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

  /* v120.1 unified expert profile editor — PC dashboard only. The original form/nodes are moved here so existing handlers and data remain intact. */
  .clx-profile-editor-host{min-width:0;width:100%}
  .clx-profile-editor-host>.casting-profile-status{margin:0 0 14px!important}
  .clx-profile-editor-host>#myProfileForm{display:block!important;width:100%!important;max-width:none!important;margin:0!important;border:1px solid var(--clx-line)!important;border-radius:20px!important;background:#fff!important;overflow:hidden!important;box-shadow:none!important}
  .clx-profile-editor-host #myCompanyFields{display:none!important}
  .clx-profile-editor-host #myProfessionalFields{display:block!important}
  .clx-profile-editor-host .my-form-section{padding:22px 24px!important}
  .clx-profile-editor-host .my-form-section h3{font-size:19px!important;letter-spacing:-.4px!important;margin-bottom:5px!important}
  .clx-profile-editor-host .my-form-section>p{font-size:12px!important;line-height:1.55!important;margin-bottom:16px!important}
  .clx-profile-editor-host .my-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .clx-profile-editor-host .my-field{gap:7px!important;margin-top:12px!important}
  .clx-profile-editor-host .my-field label,.clx-profile-editor-host .my-choice-wrap>label{font-size:12px!important}
  .clx-profile-editor-host .my-field input,.clx-profile-editor-host .my-field select,.clx-profile-editor-host .my-field textarea{font-size:14px!important;padding:13px!important;background:#fff!important}
  .clx-profile-editor-host .my-save{width:calc(100% - 48px)!important;margin:20px 24px 24px!important;padding:14px!important;border-radius:12px!important;background:#17191d!important;font-size:14px!important}
  .clx-profile-editor-host .moa-profile-image-box,.clx-profile-editor-host .expert-portfolio-box-v105,.clx-profile-editor-host #myModelCompcardBox{margin:18px 0!important;border-radius:16px!important;background:#fafaf8!important}
  .clx-profile-editor-host .moa-profile-image-list{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
  /* v120.13 — PC expert profile only: portfolio cards in 2 columns; hide portfolio address UI. */
  .clx-profile-editor-host .expert-portfolio-list-v105{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .clx-profile-editor-host .expert-portfolio-address-v106{display:none!important}
  .clx-profile-editor-host #myModelCompcardBox.show{display:block!important}

}

/* v120.7 — Expert PC messages/schedule stay inside the dashboard to avoid legacy full-view stalls. */
@media(min-width:1024px){
  .clx-message-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:14px 16px;border:1px solid var(--clx-line);border-radius:14px;background:#fff}.clx-message-summary b{font-size:14px}.clx-message-summary span{font-size:11px;color:var(--clx-muted)}
  .clx-message-list{background:#fff;border:1px solid var(--clx-line);border-radius:18px;overflow:hidden}.clx-message-row{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) 18px;gap:12px;align-items:center;border:0;border-bottom:1px solid #ecebe7;background:#fff;padding:14px 16px;text-align:left}.clx-message-row:last-child{border-bottom:0}.clx-message-row:hover{background:#fafafa}.clx-message-avatar{width:42px;height:42px;border-radius:12px;background:#eef0f6;display:grid;place-items:center;font-size:13px;font-weight:950}.clx-message-copy{min-width:0;display:grid;gap:3px}.clx-message-top{display:flex;justify-content:space-between;gap:12px}.clx-message-top b{font-size:12px}.clx-message-top small{font-size:10px;color:#92959d}.clx-message-copy strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clx-message-copy em{font-style:normal;font-size:10px;color:#858993;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clx-message-arrow{color:#989ba3}
  .clx-chat-back{border:0;background:transparent;padding:0 0 8px;color:#6f7480;font-weight:850}.clx-chat-room{background:#fff;border:1px solid var(--clx-line);border-radius:18px;overflow:hidden}.clx-chat-log{min-height:420px;max-height:620px;overflow:auto;padding:22px;background:#f7f7f5}.clx-chat-message{max-width:68%;margin:0 auto 12px 0}.clx-chat-message.mine{margin-left:auto;margin-right:0}.clx-chat-message>div{display:inline-block;padding:11px 13px;border-radius:14px 14px 14px 4px;background:#fff;border:1px solid #e1e1dc;font-size:13px;line-height:1.55;white-space:pre-wrap;word-break:break-word}.clx-chat-message.mine>div{background:#17191d;color:#fff;border-color:#17191d;border-radius:14px 14px 4px 14px}.clx-chat-message small{display:block;margin-top:4px;font-size:9px;color:#9699a0}.clx-chat-message.mine small{text-align:right}.clx-chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:14px;border-top:1px solid #ecebe7}.clx-chat-compose input{height:44px;border:1px solid #dcdedc;border-radius:12px;padding:0 13px;font-size:13px}.clx-chat-compose button{min-width:72px;border:0;border-radius:12px;background:#17191d;color:#fff;font-weight:900}
  .clx-upcoming,.clx-calendar{background:#fff;border:1px solid var(--clx-line);border-radius:18px;overflow:hidden;margin-bottom:16px}.clx-upcoming-list{padding:0 16px}.clx-upcoming-row{width:100%;display:grid;grid-template-columns:90px minmax(0,1fr) 90px;gap:12px;align-items:center;border:0;border-bottom:1px solid #ecebe7;background:#fff;padding:14px 2px;text-align:left}.clx-upcoming-row:last-child{border-bottom:0}.clx-upcoming-row span{font-size:11px;color:#7c8089}.clx-upcoming-row strong{font-size:13px}.clx-upcoming-row em{font-style:normal;font-size:10px;text-align:right;color:#6f7480}
  .clx-calendar-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;border-bottom:1px solid #ecebe7}.clx-calendar-head>div:first-child{display:grid;gap:4px}.clx-calendar-head b{font-size:18px}.clx-calendar-head span{font-size:10px;color:#858992}.clx-calendar-head>div:last-child{display:flex;gap:6px}.clx-week{display:grid;grid-template-columns:repeat(7,1fr);border-bottom:1px solid #ecebe7;background:#fafaf8}.clx-week span{text-align:center;padding:10px 4px;font-size:10px;color:#81858e}.clx-calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.clx-cal-day{min-height:108px;border-right:1px solid #ecebe7;border-bottom:1px solid #ecebe7;padding:8px;overflow:hidden}.clx-cal-day:nth-child(7n){border-right:0}.clx-cal-day.muted{background:#fafaf8;color:#b0b2b8}.clx-cal-day.today>b{width:24px;height:24px;border-radius:8px;background:#17191d;color:#fff;display:grid;place-items:center}.clx-cal-day>b{display:block;font-size:11px;margin-bottom:5px}.clx-cal-day button{display:block;width:100%;border:0;border-radius:7px;background:#eef0f5;padding:5px 6px;margin:3px 0;text-align:left;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clx-cal-day button span{font-weight:900;margin-right:4px}.clx-cal-day small{font-size:9px;color:#8b8f98}
  .clx-schedule-modal{position:fixed;inset:0;z-index:1200;background:rgba(10,12,18,.42);display:grid;place-items:center;padding:28px}.clx-schedule-card{width:min(620px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:20px;padding:22px;box-shadow:0 24px 70px rgba(0,0,0,.24)}.clx-schedule-modal-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:18px}.clx-schedule-modal-head>div{display:grid;gap:4px}.clx-schedule-modal-head b{font-size:18px}.clx-schedule-modal-head span{font-size:10px;color:#858992}.clx-schedule-modal-head>button{border:0;background:transparent;font-size:24px}.clx-schedule-card form{display:grid;gap:12px}.clx-schedule-card label{display:grid;gap:6px;font-size:11px;font-weight:850}.clx-schedule-card input,.clx-schedule-card select,.clx-schedule-card textarea{width:100%;box-sizing:border-box;border:1px solid #dcdedc;border-radius:11px;padding:11px 12px;background:#fff;font:inherit}.clx-schedule-card textarea{min-height:88px;resize:vertical}.clx-schedule-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.clx-schedule-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.clx-danger{color:#a13b3b;border-color:#e9caca}
}
