/* Studio Tomorrow · PASS 25 R2 · Customer 360 + Notifications */

/* Customer profile: communications + connected context */
.st25r2-communications-tab{font-weight:900!important}
.st25r2-customer-context{overflow:hidden}
.st25r2-context-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.st25r2-context-stats button{appearance:none;border:0;border-radius:9px;background:#f5f5f2;color:inherit;text-align:left;padding:12px;cursor:pointer;min-width:0}
.st25r2-context-stats button:hover{background:#efefeb}
.st25r2-context-stats span,.st25r2-context-stats small{display:block;color:#7b7d78;font-size:7px;font-weight:850}
.st25r2-context-stats span{text-transform:uppercase;letter-spacing:.07em}.st25r2-context-stats strong{display:block;margin:5px 0 4px;font-size:19px}.st25r2-context-stats small{line-height:1.35}
.st25r2-email-jump{cursor:pointer;border-radius:6px}.st25r2-email-jump:hover{background:#f5f5f2}.st25r2-email-jump b{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.st25r2-canonical-contact{color:#171817}
.st25r2-comms{display:grid;gap:12px}.st25r2-comms-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:8px;align-items:stretch}.st25r2-comms-summary>div{border:1px solid var(--st24-line,#e5e5e2);border-radius:9px;background:#fff;padding:11px}.st25r2-comms-summary span{display:block;color:#7b7d78;font-size:7px;text-transform:uppercase;letter-spacing:.07em;font-weight:850}.st25r2-comms-summary strong{display:block;margin-top:5px;font-size:17px}.st25r2-comms-summary>.st24-btn{align-self:stretch}
.st25r2-comms-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.35fr);gap:12px;align-items:start}.st25r2-conversations,.st25r2-thread{padding:0!important;overflow:hidden}.st25r2-conversations>.st24-panel-title,.st25r2-thread>.st25r2-thread-head{padding:16px 16px 12px;margin:0;border-bottom:1px solid var(--st24-line,#e5e5e2)}
.st25r2-conversation-list{max-height:570px;overflow:auto}.st25r2-conversation-row{appearance:none;width:100%;display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:9px;align-items:center;padding:11px 12px;border:0;border-bottom:1px solid var(--st24-line,#ecece9);background:#fff;color:inherit;text-align:left;cursor:pointer}.st25r2-conversation-row:last-child{border-bottom:0}.st25r2-conversation-row:hover,.st25r2-conversation-row.active{background:#f6f6f3}.st25r2-conversation-row.active{box-shadow:inset 3px 0 0 #222}.st25r2-conversation-avatar{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ececea;font-size:10px;font-weight:900}.st25r2-conversation-copy{min-width:0}.st25r2-conversation-copy strong,.st25r2-conversation-copy small,.st25r2-conversation-copy em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st25r2-conversation-copy strong{font-size:9px}.st25r2-conversation-copy small{margin-top:3px;color:#777b78;font-size:7px}.st25r2-conversation-copy em{margin-top:5px;color:#4e504d;font-size:8px;font-style:normal}.st25r2-conversation-meta{display:grid;justify-items:end;gap:5px;min-width:45px}.st25r2-conversation-meta time{font-size:7px;color:#8a8c88}.st25r2-conversation-meta b{display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#1c1d1c;color:#fff;font-size:7px}.st25r2-conversation-meta i{font-style:normal;font-size:5.5px;font-weight:900;letter-spacing:.04em;color:#8b7a56}
.st25r2-thread{min-height:430px}.st25r2-thread-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.st25r2-thread-head span{display:block;color:#7a7d78;font-size:7px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.st25r2-thread-head h3{margin:4px 0 0;font-size:13px}.st25r2-thread-head p{margin:5px 0 0;color:#777b78;font-size:7.5px}.st25r2-readonly-badge{padding:7px 9px!important;border-radius:999px;background:#f2eee3;color:#7f6d43!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap}
.st25r2-thread-messages{height:500px;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:8px;background:#fafaf8}.st25r2-message{width:min(78%,560px);align-self:flex-start;border:1px solid #e3e3df;border-radius:10px;background:#fff;padding:9px 10px}.st25r2-message.mine{align-self:flex-end;background:#222;color:#fff;border-color:#222}.st25r2-message header{display:flex;align-items:center;justify-content:space-between;gap:10px}.st25r2-message header strong{font-size:7.5px}.st25r2-message header time{font-size:6.5px;color:#8a8c88}.st25r2-message.mine header time{color:#b9bbb7}.st25r2-message p{margin:6px 0 0;font-size:8.5px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.st25r2-attachment{display:inline-block;margin-top:7px;font-size:7px;color:inherit;text-decoration:underline}
.st25r2-ticket-panel{padding:0!important;overflow:hidden}.st25r2-ticket-panel>.st24-panel-title{padding:16px;margin:0;border-bottom:1px solid var(--st24-line,#e5e5e2)}.st25r2-ticket-list{display:grid}.st25r2-ticket-row{appearance:none;display:grid;grid-template-columns:90px minmax(0,1fr) 120px 60px;gap:12px;align-items:center;padding:11px 16px;border:0;border-bottom:1px solid var(--st24-line,#ecece9);background:#fff;color:inherit;text-align:left;cursor:pointer}.st25r2-ticket-row:last-child{border-bottom:0}.st25r2-ticket-row:hover{background:#f7f7f4}.st25r2-ticket-row span strong,.st25r2-ticket-row span small{display:block}.st25r2-ticket-row span strong{font-size:8px}.st25r2-ticket-row span small{margin-top:3px;color:#7c7f7a;font-size:6.5px}.st25r2-ticket-subject{font-size:8.5px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st25r2-ticket-row time{font-size:7px;color:#7c7f7a;text-align:right}.st25r2-pill{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 7px;border-radius:999px;background:#eeeeeb;color:#5f625e;font-size:6.5px;font-weight:900;letter-spacing:.03em;white-space:nowrap}.st25r2-pill.urgent,.st25r2-pill.high{background:#f4e7e5;color:#8b4c45}.st25r2-pill.open,.st25r2-pill.new,.st25r2-pill.in_progress{background:#e9edf9;color:#465c93}.st25r2-pill.resolved,.st25r2-pill.approved{background:#e5f1e9;color:#44755a}.st25r2-pill.queued,.st25r2-pill.waiting_on_customer{background:#f4eddd;color:#826c37}
.st25r2-loading,.st25r2-error,.st25r2-thread-state,.st25r2-empty{padding:34px;text-align:center;color:#7b7f7a;font-size:8.5px;line-height:1.5}.st25r2-error button{margin-left:8px}

/* Customer-specific Feed review */
.st25r2-feed-review{margin-bottom:12px}.st25r2-feed-totals{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.st25r2-feed-totals>div{padding:10px;border-radius:8px;background:#f5f5f2}.st25r2-feed-totals span{display:block;color:#7b7d78;font-size:6.5px;text-transform:uppercase;letter-spacing:.07em;font-weight:850}.st25r2-feed-totals strong{display:block;margin-top:4px;font-size:15px}.st25r2-feed-rows{display:grid;border-top:1px solid #ecece9}.st25r2-feed-rows button{appearance:none;display:grid;grid-template-columns:85px minmax(0,1fr) 115px;gap:10px;align-items:center;padding:10px 0;border:0;border-bottom:1px solid #ecece9;background:transparent;color:inherit;text-align:left;cursor:pointer}.st25r2-feed-rows button:hover{background:#fafaf8}.st25r2-feed-rows button strong{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st25r2-feed-rows button small{font-size:7px;color:#7b7e7a;text-align:right}

/* Orders: persistently obvious selection while detail is open */
.st-fulfill-table tr[data-st-fulfill-order-id].active,.st-fulfill-table tr[data-st-fulfill-order-id].st25r2-order-selected{background:rgba(49,84,255,.105)!important;box-shadow:inset 4px 0 0 #3154ff!important}
.st-fulfill-table tr[data-st-fulfill-order-id].active td:first-child,.st-fulfill-table tr[data-st-fulfill-order-id].st25r2-order-selected td:first-child{font-weight:950!important}

/* R6.2 menu: a selection closes the expanded state immediately. Moving out allows hover to open it again. */
html.st24-r62-shell.st25r2-menu-force-collapse .admin-side,html.st24-r62-shell.st25r2-menu-force-collapse .admin-side:hover,html.st24-r62-shell.st25r2-menu-force-collapse .admin-side:focus-within{width:58px!important;box-shadow:none!important}
html.st24-r62-shell.st25r2-menu-force-collapse .admin-brand span,html.st24-r62-shell.st25r2-menu-force-collapse .admin-side:hover .admin-brand span,html.st24-r62-shell.st25r2-menu-force-collapse .admin-side:focus-within .admin-brand span,html.st24-r62-shell.st25r2-menu-force-collapse .admin-nav [data-view]>span:not(.st24-r62-menu-icon),html.st24-r62-shell.st25r2-menu-force-collapse .admin-side:hover .admin-nav [data-view]>span:not(.st24-r62-menu-icon),html.st24-r62-shell.st25r2-menu-force-collapse .admin-side:focus-within .admin-nav [data-view]>span:not(.st24-r62-menu-icon){opacity:0!important;transform:translateX(-4px)!important}
html.st24-r62-shell.st25r2-menu-force-collapse .admin-side-foot,html.st24-r62-shell.st25r2-menu-force-collapse .admin-side:hover .admin-side-foot,html.st24-r62-shell.st25r2-menu-force-collapse .admin-side:focus-within .admin-side-foot{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

/* Shared notification bell */
.st25r2-notify{position:relative;display:inline-flex;align-items:center;z-index:24120;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.st25r2-notify.floating{position:fixed;right:18px;top:16px;z-index:99990}.st25r2-notify-button{appearance:none;position:relative;display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid rgba(20,21,23,.12);border-radius:10px;background:rgba(255,255,255,.92);color:#252725;box-shadow:0 6px 20px rgba(0,0,0,.06);cursor:pointer;backdrop-filter:blur(14px)}.st25r2-notify-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.st25r2-notify-button b{position:absolute;right:-5px;top:-6px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#202120;color:#fff;font-size:6.5px;font-weight:900}.st25r2-notify.has-unread .st25r2-notify-button{box-shadow:0 0 0 2px rgba(49,84,255,.11),0 6px 20px rgba(0,0,0,.07)}
.st25r2-notify-panel{position:absolute;right:0;top:42px;width:min(360px,calc(100vw - 24px));max-height:min(650px,calc(100vh - 70px));overflow:auto;border:1px solid rgba(20,21,23,.12);border-radius:12px;background:#fff;color:#202220;box-shadow:0 24px 70px rgba(0,0,0,.18);z-index:99999}.st25r2-notify-panel[hidden]{display:none}.st25r2-notify-panel>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-bottom:1px solid #ececea;background:rgba(255,255,255,.95);backdrop-filter:blur(14px)}.st25r2-notify-panel>header span{display:block;color:#7d817d;font-size:6px;text-transform:uppercase;letter-spacing:.08em;font-weight:900}.st25r2-notify-panel>header h3{margin:3px 0 0;font-size:12px}.st25r2-notify-panel>header button{appearance:none;border:0;background:transparent;color:#666a66;font-size:7px;font-weight:850;cursor:pointer}.st25r2-notify-list{display:grid}.st25r2-notification-row{appearance:none;display:grid;grid-template-columns:34px minmax(0,1fr);gap:10px;align-items:start;padding:11px 13px;border:0;border-bottom:1px solid #eeeeeb;background:#fff;color:inherit;text-align:left;cursor:pointer}.st25r2-notification-row:hover{background:#f8f8f5}.st25r2-notification-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eeefec;font-size:10px;font-weight:900}.st25r2-notification-row strong,.st25r2-notification-row em,.st25r2-notification-row small{display:block}.st25r2-notification-row strong{font-size:8.5px}.st25r2-notification-row em{margin-top:3px;font-size:8px;font-style:normal;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st25r2-notification-row small{margin-top:4px;color:#7c807c;font-size:6.5px}.st25r2-notify-state{padding:24px 15px;text-align:center;color:#727672;font-size:8px}.st25r2-notify-state.error{color:#8a4b45}.st25r2-notify-work{display:grid;padding:10px;border-top:1px solid #ececea;background:#fafaf8}.st25r2-notify-work>span{padding:3px 5px 7px;color:#7c807c;font-size:6px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.st25r2-notify-work button{appearance:none;border:0;border-radius:7px;background:transparent;color:inherit;text-align:left;padding:8px 7px;font-size:7.5px;cursor:pointer}.st25r2-notify-work button:hover{background:#f0f0ed}.st25r2-notify-work strong{font-size:9px;margin-right:5px}

/* Night mode */
html.st24-theme-night .st25r2-comms-summary>div,html.st24-theme-night .st25r2-conversation-row,html.st24-theme-night .st25r2-ticket-row,html.st24-theme-night .st25r2-context-stats button{background:#16191c!important;color:#f3f4f1!important;border-color:#292e32!important}.st24-theme-night .st25r2-conversation-row:hover,.st24-theme-night .st25r2-conversation-row.active,.st24-theme-night .st25r2-ticket-row:hover{background:#1d2125!important}.st24-theme-night .st25r2-thread-messages{background:#111417!important}.st24-theme-night .st25r2-message{background:#1b1f23!important;border-color:#2a3034!important;color:#f3f4f1!important}.st24-theme-night .st25r2-message.mine{background:#eef1f0!important;color:#171917!important;border-color:#eef1f0!important}.st24-theme-night .st25r2-feed-totals>div{background:#1d2125!important}.st24-theme-night .st25r2-email-jump:hover{background:#1d2125!important}.st24-theme-night .st25r2-canonical-contact{color:#f3f4f1!important}.st24-theme-night .st-fulfill-table tr[data-st-fulfill-order-id].active,.st24-theme-night .st-fulfill-table tr[data-st-fulfill-order-id].st25r2-order-selected{background:rgba(88,111,255,.17)!important;box-shadow:inset 4px 0 0 #7388ff!important}
body.night-mode .st25r2-notify-button,html.st24-theme-night .st25r2-notify-button{background:#171a1d;color:#eef1f1;border-color:rgba(255,255,255,.12)}body.night-mode .st25r2-notify-panel,html.st24-theme-night .st25r2-notify-panel{background:#171a1d;color:#eef1f1;border-color:rgba(255,255,255,.12)}body.night-mode .st25r2-notify-panel>header,html.st24-theme-night .st25r2-notify-panel>header{background:rgba(23,26,29,.95);border-color:rgba(255,255,255,.08)}body.night-mode .st25r2-notification-row,html.st24-theme-night .st25r2-notification-row{background:#171a1d;border-color:rgba(255,255,255,.08)}body.night-mode .st25r2-notification-row:hover,html.st24-theme-night .st25r2-notification-row:hover{background:#202428}body.night-mode .st25r2-notification-avatar,html.st24-theme-night .st25r2-notification-avatar{background:#282d31}body.night-mode .st25r2-notify-work,html.st24-theme-night .st25r2-notify-work{background:#131619;border-color:rgba(255,255,255,.08)}

@media(max-width:980px){.st25r2-comms-grid{grid-template-columns:1fr}.st25r2-conversation-list{max-height:320px}.st25r2-thread-messages{height:430px}.st25r2-comms-summary{grid-template-columns:1fr 1fr}.st25r2-comms-summary>.st24-btn{grid-column:1/-1}.st25r2-ticket-row{grid-template-columns:80px minmax(0,1fr) 100px}.st25r2-ticket-row time{display:none}}
@media(max-width:720px){.st25r2-context-stats{grid-template-columns:1fr}.st25r2-feed-totals{grid-template-columns:1fr 1fr}.st25r2-feed-rows button{grid-template-columns:78px minmax(0,1fr)}.st25r2-feed-rows button small{display:none}.st25r2-ticket-row{grid-template-columns:72px minmax(0,1fr)}.st25r2-ticket-row>span:nth-child(3){display:none}.st25r2-message{width:90%}.st25r2-notify.floating{right:10px;top:10px}html.st24-r62-shell.st25r2-menu-force-collapse .admin-side,html.st24-r62-shell.st25r2-menu-force-collapse .admin-side:hover,html.st24-r62-shell.st25r2-menu-force-collapse .admin-side:focus-within{width:52px!important}}
