/* Sign-in identity only. The signed-in sidebar logo keeps its existing dimensions. */
.auth-shell .auth-brand img{width:clamp(250px,20vw,340px);max-width:100%;height:auto}
.premium-dashboard{max-width:1520px;margin:0 auto;padding:7px 0 24px}
.premium-dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:0 0 30px;background:none;border:0;height:auto;min-height:0}
.premium-eyebrow{margin:0 0 9px;color:#7b849b;font-size:10px;font-weight:700;letter-spacing:.15em;line-height:1.5}
.premium-dashboard h1{font-size:30px;line-height:1.2;letter-spacing:-1px;font-weight:650;color:#252557;margin:0 0 10px}
.premium-intro{font-size:13px;color:#747e93;margin:0;line-height:1.6}
.premium-dashboard-actions{display:flex;align-items:center;gap:16px;flex-shrink:0}
.premium-new-request{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:11px 17px;border-radius:9px;box-shadow:0 3px 8px #0067f415;font-size:12px;font-weight:600}
.premium-new-request>span{font-size:20px;font-weight:400;line-height:1}
.premium-queues{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 26px}
.premium-queues-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.premium-stat{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:21px;padding:20px 22px 19px;background:white;border:1px solid #e2e6ee;border-radius:12px;text-decoration:none;color:#303652;transition:border-color .15s,box-shadow .15s,transform .15s}
.premium-stat:hover{border-color:#bdc9dd;box-shadow:0 5px 15px #17264807;transform:translateY(-1px)}
.premium-stat.selected{border-color:#a5b9dc;box-shadow:0 2px 4px #243c6306,inset 0 -2px 0 #28286f}
.premium-stat-label{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:600;line-height:1.45;min-height:20px;color:#535e78}
.premium-stat-label>svg{width:17px;height:17px;flex-shrink:0;color:#8a96ad}
.premium-stat.selected .premium-stat-label{color:#28286f}.premium-stat.selected .premium-stat-label>svg{color:#0067f4}
.premium-stat-value{display:flex;align-items:baseline;gap:8px}.premium-stat-value strong{font-size:32px;line-height:1;font-weight:650;letter-spacing:-1.2px;color:#252557;font-variant-numeric:tabular-nums}
.premium-stat.is-zero:not(.selected) strong{color:#a3abba}.premium-stat-value>span{font-size:11px;color:#929bac}
.premium-stat-value .premium-stat-arrow{margin-left:auto;font-size:17px;color:#b3bdcd}.premium-stat.selected .premium-stat-arrow{color:#0067f4}
.premium-results{background:white;border:1px solid #e2e6ee;border-radius:14px;box-shadow:0 5px 20px #20304f03;overflow:visible}
.premium-results-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 26px;border-bottom:1px solid #edf0f5}
.premium-results-heading h2{display:flex;align-items:center;gap:10px;font-size:15px;line-height:1.4;font-weight:650;letter-spacing:-.2px;color:#272e4c;margin:0 0 5px}
.premium-results-heading p{font-size:12px;line-height:1.5;color:#8490a4;margin:0}
.premium-queue-total{display:inline-flex;align-items:center;justify-content:center;padding:2px 7px;border:1px solid #e7ebf3;background:#f7f9fc;border-radius:5px;font-size:10px;color:#697792;font-weight:600;min-width:23px}
.premium-search{display:flex;align-items:center;position:relative;width:250px;flex-shrink:0;margin:0}
.premium-search input[type=search]{background:#f9fafc;border:1px solid #e5e9f1;border-radius:8px;padding:10px 40px 10px 13px;min-height:39px;font-size:12px;line-height:1.5}
.premium-search button{position:absolute;right:4px;display:flex;align-items:center;justify-content:center;min-height:32px;width:32px;padding:7px;border:0;border-radius:5px;background:transparent;color:#8290a8;box-shadow:none}
.premium-search button svg{width:16px;height:16px}
.premium-search input:focus{outline:0;border-color:#a5b9dc;box-shadow:0 0 0 2px #edf3fc}
.premium-ticket{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:21px 26px;border-bottom:1px solid #edf0f5}.premium-ticket:last-child{border-bottom:0;border-radius:0 0 14px 14px}
.premium-ticket:hover{background:#fbfcfe}.premium-ticket-main{min-width:0}.premium-ticket-title{color:#252f4c;font-size:14px;font-weight:600;text-decoration:none;line-height:1.6;overflow-wrap:anywhere}.premium-ticket-title:hover{color:#0067f4;text-decoration:underline}
.premium-ticket-main p{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:5px 0 0;color:#8690a3;font-size:11px;line-height:1.6}.premium-ticket-main small{display:block;font-size:11px;margin-top:7px;color:#866b32}.premium-private{font-size:10px;border:1px solid #e3e7f0;border-radius:4px;padding:0 5px;color:#748097}
.premium-ticket-tools{text-align:right;flex-shrink:0}.premium-ticket-tools>time{display:block;font-size:10px;color:#97a0af;margin-bottom:9px;white-space:nowrap}.premium-ticket-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px}.premium-ticket-controls .badge{font-size:10px}.premium-ticket-controls button,.premium-ticket-controls summary{font-size:11px}
.premium-ticket .dashboard-follow{margin:0}.premium-empty{display:flex;align-items:center;gap:18px;padding:30px 26px;min-height:125px}.premium-empty-icon{width:42px;height:42px;display:grid;place-items:center;background:#f4f7fb;color:#7891b4;border-radius:50%;flex-shrink:0}.premium-empty-icon svg{height:24px;width:24px}.premium-empty h3{font-size:13px;font-weight:600;color:#495673;margin:0 0 5px}.premium-empty p{font-size:12px;color:#8a96a8;margin:0;line-height:1.5}.premium-empty>a{margin-left:auto;flex-shrink:0;font-size:12px;text-decoration:none;font-weight:500;color:#0067f4}.premium-empty>a:hover{text-decoration:underline}.premium-results>.pagination{padding:18px 26px}
.mobile-reply-bar,.reply-sheet{display:none}
@media(max-width:1150px){.premium-queues-5{grid-template-columns:repeat(3,minmax(0,1fr))}.premium-stat{padding:18px;gap:17px}.premium-results-heading{gap:16px}.premium-search{width:210px}}
@media(max-width:760px){
 .auth-shell .auth-brand img{width:220px;max-width:80vw}
 .premium-dashboard{padding-top:2px}.premium-dashboard-heading{gap:16px;align-items:flex-start;padding-bottom:22px}.premium-dashboard h1{font-size:26px}.premium-eyebrow{font-size:9px;margin-bottom:7px}.premium-intro{font-size:12px;max-width:230px}.premium-dashboard-actions{gap:9px;flex-direction:column;align-items:flex-end}.premium-new-request{font-size:11px;min-height:40px;padding:10px 12px;gap:5px;white-space:nowrap}.premium-queues,.premium-queues-5{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.premium-stat{padding:16px 15px;gap:20px;border-radius:10px}.premium-stat-label{font-size:11px;gap:7px}.premium-stat-label>svg{width:15px;height:15px}.premium-stat-value strong{font-size:29px}.premium-stat-value>span{font-size:10px}.premium-results-heading{display:block;padding:20px}.premium-search{width:100%;margin-top:17px}.premium-search input[type=search]{font-size:16px;min-height:43px}.premium-ticket{display:block;padding:19px 20px}.premium-ticket-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;text-align:left}.premium-ticket-tools>time{margin:0;font-size:10px}.premium-ticket-title{font-size:14px}.premium-empty{flex-wrap:wrap;gap:14px;padding:24px 20px}.premium-empty>div{flex:1;min-width:170px}.premium-empty>a{margin-left:56px}.premium-results-heading p{font-size:12px}.premium-results{border-radius:12px}
 body.has-mobile-reply main{padding-bottom:100px}
 .mobile-reply-bar{position:fixed;z-index:60;left:0;right:0;bottom:0;display:flex;align-items:center;gap:10px;padding:11px 18px calc(11px + env(safe-area-inset-bottom));background:#fffffffa;border-top:1px solid #e2e7ef;box-shadow:0 -6px 24px #23355b06}
 .mobile-reply-bar[hidden]{display:none}.mobile-reply-bar button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;border:1px solid #dce4ef;border-radius:10px;background:#f8fafd;color:#687994;min-height:44px;padding:11px 15px;font-size:15px;text-align:left;box-shadow:none;font-weight:400}.mobile-reply-bar button span:last-child{color:#0067f4;font-size:20px;line-height:1}
 dialog.reply-sheet[open]{display:flex;flex-direction:column;position:fixed;top:auto;left:0;right:0;bottom:var(--reply-bottom,0px);width:100%;max-width:none;max-height:var(--reply-height,85dvh);margin:0;border:0;border-top:1px solid #e6eaf1;border-radius:20px 20px 0 0;padding:0;background:white;color:#182337;box-shadow:0 -12px 60px #15264820}
 .reply-sheet::backdrop{background:#121c3859;backdrop-filter:blur(2px)}.reply-sheet-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 20px 14px;border-bottom:1px solid #edf0f5}.reply-sheet-header h2{font-size:17px;line-height:1.4;margin:0;color:#28286f}.reply-sheet-close{width:36px;height:36px;min-height:36px;padding:5px;background:#f4f6fa;color:#65748e;border:1px solid #e5e9f1;border-radius:50%;font-size:24px;font-weight:400;line-height:1;box-shadow:none}
 .reply-sheet-content{overflow:auto;overscroll-behavior:contain;padding:19px 20px calc(20px + env(safe-area-inset-bottom))}.reply-sheet-content form{margin:0}.reply-sheet-content .field textarea,.reply-sheet-content textarea{font-size:16px;line-height:1.65;min-height:110px;max-height:200px;resize:vertical}.reply-sheet-content .muted{font-size:11px;line-height:1.6;color:#7e8b9f}.reply-sheet-content form>button,.reply-sheet-content .case-save-bar>button{min-height:46px;width:100%;margin-top:16px;border-radius:10px}.reply-sheet-content .case-save-bar{display:block}.reply-sheet-content .case-save-bar>p{font-size:11px}.reply-sheet-content .optional-files{margin-top:14px}.reply-sheet-content .optional-files>summary{font-size:13px}.reply-sheet-content .focused-request-settings{margin-top:16px}.reply-sheet-content .focused-compose-row{margin-top:16px}.reply-sheet-content select{font-size:16px}.reply-sheet-content .field textarea:focus{outline:none;border:1px solid #aebfda;box-shadow:none}
}
@media(prefers-reduced-motion:reduce){.premium-stat{transition:none}.premium-stat:hover{transform:none}}
.premium-dashboard-heading>div:first-child{display:block}
@media(max-width:760px){body.has-mobile-reply .reply-composer-source{display:none}}

.premium-new-request svg{width:16px;height:16px;flex-shrink:0}
.premium-dashboard .premium-stat{background:#fff;white-space:normal}
.premium-search button.secondary{background:transparent;color:#8290a8;border:0;box-shadow:none;min-height:32px}
.premium-search button.secondary:hover{background:#eef2f8;color:#0067f4}
@media(max-width:760px){.premium-stat-label{align-items:flex-start;min-height:32px}.premium-stat-label>span{min-width:0;white-space:normal}.reply-sheet .reply-sheet-close.secondary{background:#f4f6fa;color:#65748e;border:1px solid #e5e9f1;box-shadow:none}.mobile-reply-bar button.secondary{background:#f8fafd;color:#687994;border:1px solid #dce4ef;box-shadow:none}}

/* Explicit selection states: the filled control and card always match the visible queue. */
.premium-dashboard .dashboard-view-switch{display:inline-flex;flex-direction:row;align-items:stretch;width:auto;min-width:0;gap:4px;padding:4px;border:1px solid #e0e5ee;background:#edf0f6;border-radius:11px;box-shadow:inset 0 1px 2px #18234604}
.premium-dashboard .dashboard-view-switch:before{display:none;content:none}
.premium-dashboard .dashboard-view-switch a{display:inline-flex;justify-content:center;align-items:center;min-height:35px;min-width:68px;padding:7px 14px;border:0;border-radius:7px;background:transparent;color:#69758d;font-size:12px;font-weight:600;text-decoration:none;box-shadow:none}
.premium-dashboard .dashboard-view-switch a[aria-current="page"]{background:#28286f;color:#fff;border:0;box-shadow:0 2px 5px #18184424}
.premium-dashboard .dashboard-view-switch a:not([aria-current]):hover{background:#e3e8f1;color:#28286f}
.premium-dashboard .premium-stat.selected{background:#28286f;border-color:#28286f;box-shadow:0 5px 14px #28286f16}
.premium-dashboard .premium-stat.selected:hover{background:#303079;border-color:#303079}
.premium-dashboard .premium-stat.selected .premium-stat-label,.premium-dashboard .premium-stat.selected .premium-stat-label>svg,.premium-dashboard .premium-stat.selected strong{color:#fff}
.premium-dashboard .premium-stat.selected .premium-stat-value>span{color:#c7cbed}
.premium-dashboard .premium-stat.selected .premium-stat-arrow{font-size:10px;font-weight:600;white-space:nowrap;flex-shrink:0;letter-spacing:.025em;background:#ffffff18;color:#fff;border:1px solid #ffffff24;border-radius:5px;padding:4px 7px;line-height:1.2}
.premium-dashboard .premium-results-heading{border-top:3px solid #28286f;border-radius:13px 13px 0 0;padding-top:20px}
.premium-dashboard .premium-stat:focus-visible,.premium-dashboard .dashboard-view-switch a:focus-visible{outline:2px solid #0067f4;outline-offset:3px}
@media(max-width:760px){.premium-dashboard .dashboard-view-switch a{min-width:57px;padding:6px 10px}.premium-dashboard .premium-stat.selected .premium-stat-arrow{font-size:9px;padding:4px 5px}}
