/* V64.1 additions; the V63 navigation mechanics and save docks stay unchanged. */
.ts-tablet-brand {display:none!important}
body.ts-premium #portalNavigation .ts-nav-new-job {background:#2279bf!important;color:#fff!important;border:1px solid #2279bf!important;border-radius:8px;margin:0 0 13px!important;min-height:45px!important;justify-content:flex-start!important}
body.ts-premium #portalNavigation .ts-nav-new-job :is(span,svg) {color:#fff!important}
.v641-c2w-status {display:flex;align-items:center;gap:12px;padding:0 18px 14px;color:#61788e;font-size:12px}
.v641-c2w-status select {flex:1;min-width:0;padding:10px 12px;min-height:43px;border:1px solid #d6e2ec;border-radius:7px;background:#fff;color:#355b79;font-size:13px}
.v641-case-stage {position:relative;flex:none}
#cs-detail-status {display:flex;align-items:center;gap:12px;min-height:43px;padding:10px 14px;border:1px solid transparent;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;background:var(--case-bg)!important;color:var(--case-ink)!important}
#cs-detail-status::after {content:'⌄';font-size:14px}
#cs-case-stages {position:absolute;top:calc(100% + 6px);left:0;min-width:245px;padding:6px;border:1px solid #dce6ef;background:#fff;box-shadow:0 12px 32px #243c5826;border-radius:10px;z-index:30}
#cs-case-stages button {display:block;text-align:left;width:100%;min-height:43px;padding:11px 13px;border:0;border-radius:6px;margin:3px 0;font-size:12px;background:var(--case-bg);color:var(--case-ink);cursor:pointer}
#cs-case-stages button[aria-selected=true] {outline:1px solid currentColor;outline-offset:-1px}
[data-case-tone=slate] {--case-bg:#f0f3f8;--case-ink:#526a83}
[data-case-tone=violet] {--case-bg:#f0eafa;--case-ink:#705394}
[data-case-tone=gold] {--case-bg:#fff4d9;--case-ink:#8b6d27}
[data-case-tone=rose] {--case-bg:#f9e8ef;--case-ink:#985674}
[data-case-tone=orange] {--case-bg:#fff0e2;--case-ink:#9c663e}
[data-case-tone=green] {--case-bg:#e7f5ed;--case-ink:#397757}
.cs-top-actions {gap:8px!important;align-items:center;flex-wrap:wrap}
.cs-top-actions #caseRequestInfo,.cs-top-actions #cs-export-case {min-height:42px;font-size:12px;padding:10px 13px}
.cs-top-actions #cs-top-resolve {font-weight:650}
.v641-case-history {padding:0!important;border:1px solid #e0e7f0!important;border-radius:9px;overflow:hidden;margin-top:18px}
.v641-case-history>summary {cursor:pointer;font-size:14px;font-weight:600;color:#3e5773;padding:17px 18px;background:#f8fafc}
.v641-case-history>summary span {font-size:12px;font-weight:400;color:#7d90a4}
.v641-case-history>.cs-panel-note,.v641-case-history>.cs-timeline {margin:16px 18px}
.v641-evidence-dialog {width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #d8e3ef;border-radius:12px;background:white;box-shadow:0 22px 80px #253f632b;color:#24425e}
.v641-evidence-dialog::backdrop {background:#203d5a55;backdrop-filter:blur(2px)}
.v641-evidence-dialog .v57-evidence-request-panel {padding:0;border:0;background:transparent}
.v641-evidence-dialog .v57-evidence-head h3 {font-size:15px}
.v641-evidence-dialog .v57-evidence-actions {display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:1199px), (pointer:coarse) and (max-width:1366px) {
 body.ts-premium .ts-top .ts-breadcrumb>a.ts-tablet-brand {display:flex!important;align-items:center;flex:none;margin:0 4px;max-width:135px}
 body.ts-premium .ts-top .ts-tablet-brand img {display:block!important;width:130px!important;height:auto!important;max-width:100%}
 body.ts-premium .ts-top .ts-breadcrumb {min-width:0;gap:10px}
 body.ts-premium .ts-top .ts-breadcrumb>strong {white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:700px){body.ts-premium .ts-top .ts-breadcrumb>a.ts-tablet-brand {max-width:95px}body.ts-premium .ts-top .ts-tablet-brand img {width:95px!important}body.ts-premium .ts-top .ts-breadcrumb>strong {display:none!important}.cs-top-actions .cs-btn {flex:1;white-space:normal;text-align:center;justify-content:center}.v641-evidence-dialog {width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}}
@media print {.ts-tablet-brand {display:none!important}}

.cs-update-section label:has(#cs-update-status) {display:none!important}
.v641-stage-email {border:1px solid #e0e7ef;border-radius:8px;margin:16px 0;background:#fff}
.v641-stage-email>summary {padding:13px 16px;font-size:12px;color:#627d97;cursor:pointer}
.v641-stage-email>.ts-stage-email {padding:0 16px 14px;margin:0;border:0}

.v641-evidence-dialog .v57-evidence-head {display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
.v641-evidence-dialog .v57-evidence-head h3 {margin:0 0 8px}
.v641-evidence-dialog .v57-evidence-head p {margin:0;line-height:1.6;max-width:440px}
.v641-evidence-dialog .v57-evidence-head button {flex:none}
.v641-evidence-dialog .v57-evidence-actions {align-items:flex-end;margin:12px 0}
.v641-evidence-dialog .v57-evidence-actions>.cs-btn {align-self:flex-end;min-height:44px;height:44px;padding:10px 14px}
.v641-evidence-dialog .v57-evidence-actions>.cs-field {margin:0;min-width:120px}
.v641-evidence-dialog .v57-upload-request {border-top:1px solid #dfe7ef;padding:18px 0 0;margin-top:18px}
.v641-evidence-dialog .v57-request-meta {display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}
.v641-evidence-dialog .v57-request-meta>span {font-size:12px;color:#7a8d9e}
.v641-evidence-dialog .v57-upload-request>p {font-size:13px;line-height:1.6;margin:8px 0}
.v641-evidence-dialog .v57-upload-request>small {display:block;font-size:11px;color:#7a8d9e;margin:8px 0 12px}
.v641-evidence-dialog .v57-request-url {display:block;width:100%;box-sizing:border-box;font-size:12px;margin:10px 0}
@media(max-width:700px){.v641-evidence-dialog .v57-evidence-head {display:block}.v641-evidence-dialog .v57-evidence-head>button {margin-top:12px}}
