/* GRIDLY V6.35 — shared account and administration palette.
   Loaded last on workspaces only. Calendar colors, plan states and photos retain their meaning. */
body.gridly-workspace {
  --ws-bg:#080f15; --ws-paper:#0b141d; --ws-panel:#0d1a25;
  --ws-line:#2b3e4f; --ws-line-active:#4676a7; --ws-muted:#a6b8c9;
  --ws-ink:#f4f7fc; --ws-blue:#003a9c; --ws-button:#111f2c;
  --line:var(--ws-line); --muted:var(--ws-muted);
  --ep-paper:var(--ws-paper); --ep-panel:var(--ws-panel); --ep-line:var(--ws-line);
  --ep-muted:var(--ws-muted); --admin-line:var(--ws-line); --admin-muted:var(--ws-muted);
  color:var(--ws-ink); background:var(--ws-bg); color-scheme:dark;
}
body.gridly-workspace :is(.account-shell,.agenda-shell,.ep-card,main>section,
  .notification-panel,.alert-list-panel,.hr-section,.workspace-card) {
  background:var(--ws-paper); border-color:var(--ws-line); border-radius:10px; box-shadow:none;
}
body.gridly-workspace:not(.workspace-admin):not(.workspace-events):not(.workspace-schedule) > main {
  background:var(--ws-paper); border-color:var(--ws-line); border-radius:10px;
}
body.gridly-workspace :is(.account-topbar,.ep-topbar,header.bar,body>header) {
  background:var(--ws-paper); border-color:var(--ws-line);
}
body.gridly-workspace :is(.hint,.muted,.sub,.eyebrow,.hr-note,.hr-empty,.hr-report-note) {color:var(--ws-muted)}
body.gridly-workspace :is(button,.button,.button-link):not(:where(#calendar button,.event-color-controls button,.appointment,.calendar-event)) {
  background:var(--ws-button); border:1px solid #314455; border-radius:6px;
  color:#cfdeeb; box-shadow:none; text-shadow:none;
  min-height:36px; padding:9px 13px; font-size:11px; line-height:1.4;
  font-weight:700; letter-spacing:.035em; transition:background .15s,border-color .15s;
}
body.gridly-workspace :is(button,.button,.button-link):not(:disabled):hover {
  border-color:#478cbb; background:#152b3d; filter:none;
}
body.gridly-workspace :is(button[type=submit],button.primary,.button.primary,#account-photo-upload,#pay-now,
  .admin-card-edit,.admin-toolbar .primary,#add,#hr-confirm-save,#account-photo-upload-label) {
  background:var(--ws-blue); border-color:#3279d6; color:#fff;
}
body.gridly-workspace :is(button[type=submit],button.primary,.button.primary,.admin-card-edit,#add):hover {
  background:#114cae; border-color:#6c9fe5;
}
body.gridly-workspace :is(button,.button)[aria-pressed=true],
body.gridly-workspace :is(button,.button)[aria-selected=true],
body.gridly-workspace :is(.admin-tabs button.is-selected,.account-disclosure[aria-expanded=true],
  .portal-request-nav button[aria-expanded=true],.hotel-photos-toggle[aria-expanded=true]) {
  background:#101e2f; border-color:var(--ws-line-active); color:#f4f7fc; box-shadow:none;
}
body.gridly-workspace :is(button:disabled,.button[aria-disabled=true]) {
  color:#8f9ba6; background:#101b25; border-color:#304255; opacity:.65; cursor:not-allowed;
}
body.gridly-workspace :is(button.danger,.button.danger,.request-reject) {
  color:#e8aeb9; background:#241a22; border-color:#6b4350;
}
body.gridly-workspace :is(button.danger,.button.danger,.request-reject):hover {background:#38212c;border-color:#aa6479}
body.gridly-workspace :is(input:not([type=checkbox]):not([type=radio]):not([type=color]):not([type=range]),select,textarea) {
  background:#09131d; color:var(--ws-ink); border:1px solid #314455;
  border-radius:6px; font-size:13px; min-width:0; max-width:100%;
}
body.gridly-workspace input::placeholder,body.gridly-workspace textarea::placeholder {color:#8d9fb1;opacity:1}
body.gridly-workspace input:is([type=checkbox],[type=radio]) {accent-color:#3279d6}
body.gridly-workspace :is(button,a,input,textarea,select,summary):focus-visible {outline:2px solid #76b4ef;outline-offset:3px}
body.gridly-workspace dialog {
  background:var(--ws-paper); color:var(--ws-ink); border:1px solid #3a536b;
  border-radius:10px; box-shadow:0 20px 60px #0006; max-width:calc(100vw - 24px);
}
body.gridly-workspace dialog::backdrop {background:#03080dbf}
body.gridly-workspace :is(.club-tool-body>details.club-tool,.portal-section,.setup-info,
  .setup-plan,.account-adult-settings,.account-setting-card,.hotel-photo,.hr-card,.hr-chart-card,
  .ep-photo-card,.alert-row,.hotel-gallery-group) {
  background:var(--ws-panel); border:1px solid var(--ws-line); border-radius:8px; box-shadow:none;
}
body.gridly-workspace :is(.club-tool,.portal-section,.setup-info,.setup-plan)>summary {
  font-size:12px; letter-spacing:.045em; color:var(--ws-ink); min-height:52px;
  padding:15px 16px; border-radius:8px; box-sizing:border-box;
}
body.gridly-workspace :is(.club-tool,.portal-section,.setup-info,.setup-plan)[open]>summary {
  background:#101e2f; border-bottom:1px solid var(--ws-line); border-radius:8px 8px 0 0;
}
body.gridly-workspace .account-disclosure {
  background:var(--ws-panel); border-color:var(--ws-line); min-height:58px;
  padding:15px 18px; font-size:12px; letter-spacing:.055em; text-align:left;
}
body.gridly-workspace :is(.hr-stat,.ep-summary>div,#account-photo-settings) {
  background:linear-gradient(120deg,#142433,#0c1823); border:1px solid #2e4253; border-radius:9px; box-shadow:none;
}
body.gridly-workspace :is(.hr-tabs,.ep-tool-nav,.ep-workspace-modes,.club-tool-nav,.view-tabs,.nav-settings-tabs) {
  background:var(--ws-paper); border:1px solid var(--ws-line); border-radius:8px; padding:6px; gap:6px;
}
body.gridly-workspace :is(.ep-tool-nav,.ep-workspace-modes,.hr-tabs,.club-tool-nav) button {min-width:0;white-space:normal}
body.gridly-workspace :is(.hr-note,.hr-waiting,.ep-automatic-intro) {
  background:var(--ws-panel); border-color:var(--ws-line); border-radius:8px;
}
body.gridly-workspace :is(.gridly-back-button,.page-back-button,.hr-back) {
  background:#05090cb3!important; border:1px solid #34424e!important; color:#f4f7fc!important;
}
/* Admin: restrained relief on cards, grouped actions and consistent navigation. */
body.workspace-admin .admin-tabs {background:var(--ws-paper);border-color:var(--ws-line)}
body.workspace-admin .admin-tabs button {min-height:44px;text-align:left}
body.workspace-admin main .admin-record-grid>:is(article,details).admin-compact-card,
body.workspace-admin :is(.item,.club-admin-record,.hotel-review-claim,.hotel-review-photo,.jf-admin-card) {
  background:linear-gradient(120deg,#142433,#0c1823); border:1px solid #2e4253;
  border-radius:9px; box-shadow:inset 0 1px 0 #b4d5f00a,0 2px 5px #0002;
}
body.workspace-admin :is(.admin-record-dialog,.admin-editor,.club-subscription-dialog) {
  background:var(--ws-paper)!important; border-color:#3a536b!important; border-radius:10px!important;
}
body.workspace-admin :is(.admin-record-dialog-body>.admin-record-detail,.event-editor-section,
  .admin-user-disclosure,.admin-photo-group) {background:var(--ws-panel);border-color:var(--ws-line);border-radius:8px}
body.workspace-admin main>section>.heading {justify-content:flex-start;gap:16px;min-height:60px}
body.workspace-admin .admin-toolbar {justify-content:flex-start;gap:7px}
body.workspace-admin .admin-toolbar button {height:auto;min-height:36px;white-space:normal}
body.workspace-admin :is(.admin-card-footer,.club-command-actions,.item-actions) {gap:7px;border-color:var(--ws-line)}
body.gridly-workspace .account-badge.plan-free,
body.gridly-workspace .badge.plan-free,
body.gridly-workspace .badge[data-plan=free] {background:#103026!important;color:#91dfb2!important;border-color:#347553!important}
/* Schedule retains its calendar geometry, date states and user-selected event colors. */
body.workspace-schedule .agenda-shell {background:var(--ws-paper);border-color:var(--ws-line);box-shadow:none}
body.workspace-schedule :is(.workspace-actions,.workspace-card,.day-preview,.date-settings,.day-group) {
  background:var(--ws-panel);border-color:var(--ws-line);border-radius:8px;
}
body.workspace-schedule :is(.appointment,.calendar-event) {border-color:var(--ws-line)}
body.workspace-schedule .view-tabs button {min-width:0;font-size:11px;padding:8px 10px}
body.workspace-schedule .agenda-menu>summary {color:var(--ws-ink)}
/* Find Work: one continuous card, natural content height, one action footer. */
html:root body.gridly-workspace.jf-page {background:var(--ws-bg);color:var(--ws-ink)}
html:root body.gridly-workspace.jf-page :is(.jf-shell,.jf-browser-toolbar,.jf-filter-drawer,.jw-panel,.jw-profile-menu) {
  background:var(--ws-paper);border-color:var(--ws-line);box-shadow:none;
}
html:root body.gridly-workspace.jf-page #jf-grid .jf-talent-card,
html:root body.gridly-workspace.jf-page .jw-card {
  background:var(--ws-panel);border:1px solid var(--ws-line);border-radius:9px;box-shadow:none;
}
html:root body.gridly-workspace.jf-page .jf-heading {margin-bottom:22px!important}
html:root body.gridly-workspace.jf-page .jf-portrait-stage {aspect-ratio:1;border-bottom:0!important}
html:root body.gridly-workspace.jf-page .jf-talent-card .jf-talent-info {padding:14px;gap:8px}
html:root body.gridly-workspace.jf-page .jf-card-professions {
  height:auto;min-height:0;padding:0;border:0;overflow:visible;gap:5px;
}
html:root body.gridly-workspace.jf-page .jf-category-chip {border:0;background:#172b3a;border-radius:5px;padding:3px 6px;font-size:10px}
html:root body.gridly-workspace.jf-page .jf-card-description {
  height:auto;min-height:0;max-height:none;line-height:1.5;-webkit-line-clamp:2;color:var(--ws-muted);
}
html:root body.gridly-workspace.jf-page .jf-talent-meta {min-height:0;padding:0;border:0;gap:6px 12px;color:var(--ws-muted)}
html:root body.gridly-workspace.jf-page .jf-talent-info .jf-service-pricing {
  height:auto!important;min-height:0!important;padding:0!important;margin:0!important;
  border:0!important;overflow:visible;gap:4px;font-size:12px;
}
html:root body.gridly-workspace.jf-page .jf-service-rate {gap:4px 8px}
html:root body.gridly-workspace.jf-page .jf-talent-info .jf-service-delivery {border:0;padding:0}
html:root body.gridly-workspace.jf-page .jf-card-gallery {min-height:0;margin:3px 0 0;padding:0!important;border:0!important;gap:6px}
html:root body.gridly-workspace.jf-page .jf-card-gallery.is-empty {display:none!important}
html:root body.gridly-workspace.jf-page .jf-card-gallery>button {height:52px;min-height:52px;padding:0;border-color:var(--ws-line)}
html:root body.gridly-workspace.jf-page .jf-talent-actions {
  border-top:1px solid var(--ws-line)!important;padding-top:10px!important;margin-top:4px!important;
}
html:root body.gridly-workspace.jf-page .jf-talent-info>.jw-profile-actions {border:0;padding:0;margin-top:auto}
html:root body.gridly-workspace.jf-page .jf-talent-actions button {height:auto;min-height:36px}
html:root body.gridly-workspace.jf-page :is(.jf-primary,.jf-talent-apply) {background:var(--ws-blue);border-color:#3279d6;color:#fff}
html:root body.gridly-workspace.jf-page #jf-menu-toggle {background:var(--ws-button);border:1px solid #314455;color:#cfdeeb}
html:root body.gridly-workspace.jf-page :is(.jf-directory-areas button,#jf-filter-title,.jw-profile-nav button) {
  background:var(--ws-button);border:1px solid #314455;color:#cfdeeb;border-radius:6px;
}
html:root body.gridly-workspace.jf-page :is(.jf-directory-areas button,.jw-profile-nav button)[aria-pressed=true] {
  background:#101e2f;border-color:var(--ws-line-active);color:var(--ws-ink);
}
html:root body.gridly-workspace.jf-page .jf-talent-name {background:transparent;border:0;padding:0;min-height:0}
html:root body.gridly-workspace.jf-page .jf-talent-cover {padding:0;border:0}
html:root body.gridly-workspace.jf-page .jw-card {padding:16px;gap:8px}
html:root body.gridly-workspace.jf-page .jw-card p {margin:4px 0;line-height:1.5}
html:root body.gridly-workspace.jf-page :is(.jf-dialog,.jw-dialog) {background:var(--ws-paper);border-color:#3a536b;color:var(--ws-ink)}
body.gridly-workspace [hidden] {display:none!important}
@media(max-width:600px) {
  body.gridly-workspace :is(.ep-card,.hr-section) {padding:14px}
  body.gridly-workspace :is(.ep-tool-nav,.ep-workspace-modes,.hr-tabs) {flex-wrap:wrap}
  body.gridly-workspace :is(.ep-tool-nav,.ep-workspace-modes,.hr-tabs) button {flex:1 1 110px}
  body.gridly-workspace :is(.account-disclosure,.club-tool>summary,.portal-section>summary) {padding:14px;gap:10px}
  body.workspace-admin .admin-tabs button {text-align:center;font-size:10px;padding:10px 5px}
  body.workspace-admin main>section>.heading {flex-wrap:wrap}
  body.workspace-admin .admin-toolbar {width:100%}
}
@media(prefers-reduced-motion:reduce) {body.gridly-workspace :is(button,.button,.button-link){transition:none}}

/* V6.36 shared user header and compact account panels. */
body.gridly-workspace>header.workspace-topbar{display:block;position:relative;width:100%;max-width:none;height:auto;min-height:64px;margin:0;padding:0;background:#0b151d;border:0;border-bottom:1px solid #2c4151;border-radius:0;box-sizing:border-box}.workspace-header-inner{max-width:1120px;margin:auto;min-height:64px;padding:12px 24px;display:flex;align-items:center;gap:20px;box-sizing:border-box}.gridly-workspace .workspace-brand{display:inline-flex;align-items:center;height:32px;margin:0;padding:0 24px 0 0;border-right:1px solid #304657;color:#edf5ff;font:700 24px Arimo,Arial,sans-serif;letter-spacing:.02em;text-decoration:none}.workspace-header-actions{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}.workspace-header-actions nav,.workspace-header-actions .jf-header-actions{display:flex;gap:10px;align-items:center;margin:0}.workspace-header-actions:empty{display:none}.workspace-header-actions>a{font-size:12px}.workspace-jobs .jf-shell{padding-top:32px}.favorite-group{padding:16px;margin:12px 0;border:1px solid #2d4658;border-radius:10px;background:#0d1b26}.favorite-group h3{margin:0 0 10px;font-size:13px}.favorite-row{padding:12px 0;border-bottom:1px solid #243949}.favorite-row:last-child{border-bottom:0}.favorites-empty{border:1px dashed #2e4b60;border-radius:10px;padding:28px 20px;text-align:center;color:#9cb8d0;background:#0d1b26}.hr-footer-note{text-align:center;color:#98afc2;font-size:12px;line-height:1.6;margin:28px auto 16px;max-width:650px}.gridly-workspace #hr-back{display:table;margin:16px auto 0}.hr-notification-preferences{border:1px solid #2c4658;border-radius:10px;padding:16px;margin:20px 0}.hr-subscription-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #223a4b}.hr-subscription-row:last-child{border:0}.hr-subscription-row input{width:auto}.plan-card h4{line-height:1.3}#avatar-name{text-transform:none!important}@media(max-width:600px){.workspace-header-inner{padding:12px 16px;gap:12px}.gridly-workspace .workspace-brand{font-size:20px;padding-right:14px}.workspace-header-actions{gap:6px}.workspace-header-actions button,.workspace-header-actions summary{font-size:10px;padding:8px}.hr-subscription-row{flex-wrap:wrap}}
.gridly-workspace .hr-subscription-row .hr-check{display:flex;align-items:center;gap:12px;margin:0;flex:1;min-width:150px}.gridly-workspace .hr-subscription-row input[role=switch]{appearance:none;display:inline-block;width:38px;min-width:38px;height:22px;padding:2px;border:1px solid #547089;border-radius:20px;background:#283b4d;cursor:pointer}.gridly-workspace .hr-subscription-row input[role=switch]::before{content:'';display:block;width:16px;height:16px;border-radius:50%;background:#f4f8ff;transition:transform .15s}.gridly-workspace .hr-subscription-row input[role=switch]:checked{background:#0751a5}.gridly-workspace .hr-subscription-row input[role=switch]:checked::before{transform:translateX(16px)}.favorite-group h4{margin:0 0 10px;font-size:13px}
html:root body.gridly-workspace>header.workspace-topbar{display:block!important;padding:0!important;margin:0!important;width:100%!important;max-width:none!important;background:#0b151d!important;border:0!important;border-bottom:1px solid #2c4151!important;border-radius:0!important;min-height:64px!important}.workspace-header-inner{width:100%}.workspace-topbar .workspace-brand{flex-shrink:0}.workspace-topbar .workspace-header-actions .jf-header-actions{flex-wrap:nowrap;width:auto!important}.workspace-topbar .workspace-header-actions #jf-rules-open,.workspace-topbar .workspace-header-actions .jw-profile-menu>summary{width:auto!important;min-width:0!important;height:36px!important;min-height:36px!important;padding:8px 10px!important}.workspace-topbar .workspace-header-actions .jf-language{height:36px!important;width:36px!important;min-width:36px!important;padding:8px!important}@media(max-width:600px){.workspace-topbar .workspace-header-actions .jf-header-actions{gap:5px!important}.workspace-topbar .workspace-header-actions #jf-rules-open,.workspace-topbar .workspace-header-actions .jw-profile-menu>summary{font-size:9px!important;padding:7px!important}}
@media(max-width:740px){.gridly-mobile-nav .jd-launch{display:none!important}}
