/* The dock is a compact control surface; Communications is the full phone view. */
.call-dock-header{padding:14px 14px 9px}
.call-dock-header-actions{display:flex;align-items:center;gap:7px}
.call-dock-header-actions button{height:30px;border:1px solid #383838;border-radius:9px;background:#222;color:#c8c8c8;box-shadow:inset 0 1px #ffffff0b,0 2px 4px #0005;transition:background .18s,color .18s,transform .18s}
.call-dock-header-actions button:hover{background:#303030;color:#fff}
.call-dock-header-actions button:active{transform:scale(.96)}
.call-dock-header-actions .call-dock-open-page{width:auto;padding:0 10px;font-size:10px;font-weight:600}
.call-dock-header-actions [data-collapse-phone]{width:30px;padding:0}
.call-dock-header-actions [data-collapse-phone] svg{width:16px;height:16px}
.call-dock-body{gap:14px;padding:8px 14px 15px}
.call-dock-status{margin:0;padding:13px;border:1px solid #303030;border-radius:11px;background:#1d1d1d;box-shadow:inset 0 1px #ffffff07}
.call-dock-status>svg{width:20px;height:20px}
.call-dock-status strong{font-size:13px}
.call-dock-status span{line-height:1.35}
.phone-number-label{color:#a9a9a9;font-weight:550}
.phone-number-row{margin:0}
.phone-number-row input{height:38px;border-color:#373737;background:#111}
.phone-number-row button{width:38px;height:38px;flex:none}
.call-dock-controls{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
.call-dock-controls button,.call-dock-controls button:disabled{min-height:60px;gap:5px;padding:4px 0;border:0;background:transparent;box-shadow:none;color:#bdbdbd;opacity:1}
.call-dock-controls button svg{box-sizing:border-box;width:33px;height:33px;padding:8px;border:1px solid #3a3a3a;border-radius:50%;background:#252525;box-shadow:inset 0 1px #ffffff0c,0 2px 4px #0007}
.call-dock-controls button:not(:disabled):hover svg{background:#343434;border-color:#6d4a2d}
.call-dock-controls button:not(:disabled):active svg{transform:scale(.94)}
.call-dock-controls .phone-end-call:disabled{color:#d97979}
.call-dock-controls .phone-end-call svg{border-color:#614042;background:#2b2021}
.call-dock-queue{padding:13px;border:1px solid #303030;border-radius:11px;background:#1b1b1b}
.call-dock-queue h3{margin-bottom:6px}
.call-dock-queue p{max-width:225px}

/* The compact phone is part of the bottom bevel, with controls that read at a glance. */
@media(min-width:701px){
  .phone-notch-rail{align-items:center;gap:5px;padding:8px 12px 3px;border-top:1px solid #3b3b3b;border-radius:22px 22px 0 0;background:#252525;box-shadow:inset 0 1px 0 #ffffff0a}
  .phone-notch-rail .notch-wing{fill:#252525}
  .phone-notch-rail::after{background:#252525}
  .phone-notch-rail .command-dock-trigger{position:relative;width:100px;height:38px;margin-right:12px;color:#e1e1e1}
  .phone-notch-rail .command-dock-trigger::after{content:"";position:absolute;right:-10px;top:7px;width:1px;height:24px;background:#414141}
  .mini-phone-identity{display:flex;flex-direction:column;justify-content:center;width:118px;height:38px;min-width:0;padding-left:3px;white-space:nowrap;line-height:1.15}
  .mini-phone-identity strong{overflow:hidden;text-overflow:ellipsis;color:#eee;font-size:13px;font-weight:600}
  .mini-phone-identity span{display:flex;align-items:center;gap:5px;overflow:hidden;text-overflow:ellipsis;margin-top:4px;color:#b5b5b5;font-size:12px}
  .mini-phone-identity span::before{content:"";width:5px;height:5px;flex:none;border-radius:50%;background:#858585}
  .phone-notch-rail .collapsed-phone-button,
  .phone-notch-rail .mini-call-control{display:grid;place-items:center;width:36px;min-width:36px;height:36px;padding:8px;border:1px solid #383838;border-radius:9px;background:#292929;box-shadow:none;color:#d0d0d0}
  .phone-notch-rail .collapsed-phone-button{border-color:#59402b;background:#30271f;color:#e36804}
  .phone-notch-rail .collapsed-phone-button span{display:none}
  .phone-notch-rail .mini-call-control svg,
  .phone-notch-rail .collapsed-phone-button svg{width:18px;height:18px}
  .phone-notch-rail .mini-call-control:disabled{color:#939393;opacity:1;cursor:not-allowed}
  .phone-notch-rail .mini-call-control:not(:disabled):hover,
  .phone-notch-rail .collapsed-phone-button:hover{border-color:#755338;background:#37302a}
  .phone-notch-rail .mini-call-full{margin-left:3px;color:#f1f1f1}
  .app-frame[data-page=comms] .phone-notch-rail :is(.mini-phone-identity,.collapsed-phone-button,.mini-call-control){display:none}
  .app-frame[data-role=agent].phone-docked .workspace-grid{
    grid-template-columns:minmax(0,1fr) 278px!important;
    margin:4px 6px 0;
    border:5px solid #292929;
    border-radius:20px;
    overflow:hidden;
    background:#151515;
    box-shadow:inset 0 1px 2px #0004,inset 1px 0 2px #0002,inset 0 -1px 0 #ffffff04,0 1px 0 #ffffff04;
  }
  .app-frame[data-role=agent].phone-docked .workspace-grid>.stage{
    margin:0;
    border:0;
    border-radius:0;
    box-shadow:none;
  }
  .app-frame[data-role=agent].phone-docked .phone-notch{
    position:relative;
    inset:auto;
    grid-column:2!important;
    grid-row:1;
    height:auto;
    min-height:0;
    background:#151515;
    border-left:1px solid #303030;
  }
  .app-frame[data-role=agent].phone-docked .phone-notch .call-dock-panel{
    position:relative;
    inset:auto;
    width:100%;
    height:auto;
    max-height:100%;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    transform:none;
  }
  .app-frame[data-role=agent] .app-content>.command-dock-trigger{left:calc((100% - 278px)/2)}
}

/* One soft recessed bevel around the canvas, continued by the attached notch. */
.app-frame[data-role=agent] .workspace-grid>.stage{
  border-top-color:#202020;
  border-left-color:#242424;
  border-right-color:#353535;
  border-bottom-color:#3a3a3a;
  box-shadow:inset 0 2px 3px #0006,inset 1px 0 2px #0004,inset -1px 0 0 #ffffff05,inset 0 -1px 0 #ffffff07,0 1px 0 #0005;
}

.app-frame[data-role=agent][data-page=comms] .stage{display:block;overflow:auto;background:#151515}
.phone-page{max-width:1220px;margin:0 auto;padding:clamp(22px,3vw,40px);color:#ededed}
.phone-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}
.phone-page-head>div>span{color:#e36804;font-size:10px;font-weight:700;letter-spacing:.11em}
.phone-page-head h1{margin:5px 0 4px;font-size:clamp(26px,3vw,34px);font-weight:650;letter-spacing:-.04em}
.phone-page-head p{margin:0;color:#a5a5a5;font-size:12px}
.phone-page-source{display:flex;align-items:center;gap:7px;white-space:nowrap;color:#aaa;font-size:11px}
.phone-page-source i{width:6px;height:6px;border-radius:50%;background:#858585}
.phone-page-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,.8fr);gap:16px}
.phone-page-main,.phone-page-queue{min-width:0;border:1px solid #343434;border-radius:18px;background:#1c1c1c;box-shadow:inset 0 1px #ffffff0b,0 12px 28px #0003}
.phone-page-main{padding:18px}
.phone-page-presence{display:flex;align-items:center;gap:16px;margin-bottom:15px;padding:13px;border:1px solid #363636;border-radius:13px;background:#202020}
.phone-page-presence-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border:1px solid #5d3c25;border-radius:12px;background:#302116;color:#e36804}
.phone-page-presence-icon svg{width:20px;height:20px}
.phone-page-presence small{color:#a8a8a8;font-size:9px;font-weight:700;letter-spacing:.1em}
.phone-page-presence h2{margin:3px 0;font-size:17px;font-weight:600}
.phone-page-presence p{margin:0;color:#aaa;font-size:11px}
.phone-page-main>label{display:block;margin-bottom:8px;color:#c9c9c9;font-size:11px;font-weight:600}
.phone-page-dial{display:flex;gap:8px;margin-bottom:15px}
.phone-page-dial input{flex:1;min-width:0;height:42px;padding:0 13px;border:1px solid #3b3b3b;border-radius:9px;outline-color:#e36804;background:#131313;color:#eee;font:inherit;font-size:13px}
.phone-page-dial button{width:72px;border:1px solid #6b431f;border-radius:9px;background:#302115;color:#e36804;font-size:11px;font-weight:600;opacity:1;cursor:not-allowed}
.phone-page-section-label{display:flex;justify-content:space-between;gap:12px;margin:0 0 10px;color:#c8c8c8;font-size:10px;font-weight:700;letter-spacing:.08em}
.phone-page-section-label span{color:#8f8f8f;font-weight:400;letter-spacing:0}
.phone-page-controls{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-bottom:15px}
.phone-page-controls button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:60px;border:1px solid #343434;border-radius:10px;background:#242424;color:#bababa;font:inherit;font-size:10px;opacity:1;box-shadow:inset 0 1px #ffffff0a,0 2px 5px #0004;cursor:not-allowed}
.phone-page-controls button svg{width:19px;height:19px}
.phone-page-controls .is-end{color:#d77b7b}
.phone-page-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;max-width:340px}
.phone-page-keypad button{height:32px;border:1px solid #343434;border-radius:8px;background:#242424;color:#e2e2e2;font:inherit;font-size:15px;box-shadow:inset 0 1px #ffffff08;transition:background .18s,transform .18s}
.phone-page-keypad button:hover{background:#323232}
.phone-page-keypad button:active{transform:scale(.97)}
.phone-page-keypad button:last-child{grid-column:1/-1;height:27px;color:#aaa;font-size:11px}
.phone-page-queue{display:flex;flex-direction:column;padding:21px}
.phone-page-queue-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:15px;border-bottom:1px solid #363636}
.phone-page-queue-head h2{margin:0;font-size:15px;font-weight:600}
.phone-page-queue-head span{color:#999;font-size:10px}
.phone-page-queue-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:230px;padding:20px}
.phone-page-queue-empty>span{display:grid;place-items:center;width:48px;height:48px;margin-bottom:15px;border:1px solid #3a3a3a;border-radius:14px;background:#242424;color:#e36804}
.phone-page-queue-empty svg{width:22px;height:22px}
.phone-page-queue-empty strong{font-size:13px;font-weight:600}
.phone-page-queue-empty p{max-width:210px;margin:7px 0 0;color:#a0a0a0;font-size:11px;line-height:1.5}
@media(max-width:850px){.phone-page-grid{grid-template-columns:1fr}.phone-page-queue-empty{min-height:130px}}
@media(max-width:700px){
  .phone-notch-rail{gap:3px;max-width:calc(100% - 16px);padding:6px 8px 2px;border-top:1px solid #3b3b3b;border-radius:19px 19px 0 0;background:#252525;box-shadow:inset 0 1px 0 #ffffff0a}
  .phone-notch-rail .notch-wing{fill:#252525}
  .phone-notch-rail::after{background:#252525}
  .phone-notch-rail .command-dock-trigger{width:78px;min-width:78px;height:34px;padding:4px;gap:5px;margin-right:5px;font-size:11px}
  .phone-notch-rail .command-tab-mark{width:15px;height:15px}
  .mini-phone-identity{display:flex;flex-direction:column;justify-content:center;width:98px;min-width:0;height:34px;white-space:nowrap;line-height:1.1}
  .mini-phone-identity strong{overflow:hidden;text-overflow:ellipsis;color:#eee;font-size:12px;font-weight:600}
  .mini-phone-identity span{display:flex;align-items:center;gap:4px;overflow:hidden;text-overflow:ellipsis;margin-top:4px;color:#b5b5b5;font-size:11.5px}
  .mini-phone-identity span::before{content:"";width:5px;height:5px;flex:none;border-radius:50%;background:#858585}
  .phone-notch-rail .collapsed-phone-button,
  .phone-notch-rail .mini-call-control{display:grid!important;place-items:center;width:30px;min-width:30px;height:30px;padding:6px;border:1px solid #383838;border-radius:8px;background:#292929;box-shadow:none;color:#d0d0d0}
  .phone-notch-rail .collapsed-phone-button{border-color:#59402b;background:#30271f;color:#e36804}
  .phone-notch-rail .collapsed-phone-button span{display:none}
  .phone-notch-rail .mini-call-control svg,
  .phone-notch-rail .collapsed-phone-button svg{width:17px;height:17px}
  .phone-notch-rail .mini-call-control:disabled{color:#939393;opacity:1}
  .app-frame[data-page=comms] .phone-notch-rail :is(.mini-phone-identity,.collapsed-phone-button,.mini-call-control){display:none!important}
  .phone-page{padding:18px}
  .phone-page-head{align-items:flex-start}
  .phone-page-source{margin-top:6px;font-size:10px}
  .phone-page-main,.phone-page-queue{padding:15px}
  .phone-page-controls{grid-template-columns:repeat(3,minmax(0,1fr))}
  .app-frame[data-role=agent].phone-docked .app-content>.command-dock-trigger{bottom:calc(58% - 3px)}
}
@media(max-width:380px){
  .phone-notch-rail{gap:2px;padding-inline:6px}
  .phone-notch-rail .command-dock-trigger{width:68px;min-width:68px;margin-right:3px;font-size:10px}
  .mini-phone-identity{width:88px}
  .phone-notch-rail .collapsed-phone-button,.phone-notch-rail .mini-call-control{width:26px;min-width:26px;height:28px;padding:5px}
}
@media(prefers-reduced-motion:reduce){.call-dock-header-actions button,.phone-page-keypad button{transition:none!important}}

/* Icons sit directly on their surface; the controls keep their hit areas and focus rings. */
.app-frame[data-role=agent] .global-rail .rail-button,
.app-frame[data-role=agent] .global-rail .rail-button:is(:hover,.is-active,[aria-current=page]),
.app-frame[data-role=agent] #workspace-command .composer-orb,
.app-frame[data-role=agent] #workspace-command .home-composer-tools kbd,
.phone-notch-rail :is(.collapsed-phone-button,.mini-call-control),
.phone-notch-rail :is(.collapsed-phone-button,.mini-call-control):hover,
.call-dock-controls button svg,
.phone-page-presence-icon,
.phone-page-controls button,
.phone-page-queue-empty>span{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}

/* One molded silhouette joins the bottom shell; only available destinations show while idle. */
.app-frame[data-role=agent] .phone-notch-rail{
  bottom:0;
  width:min(600px,calc(100vw - 24px));
  height:66px;
  padding:12px 54px 0;
  gap:10px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  filter:none;
  isolation:isolate;
}
.phone-notch-rail::after,.phone-notch-rail .notch-wing{display:none}
.phone-notch-rail svg.phone-notch-surface{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.phone-notch-rail>:not(.phone-notch-surface){position:relative;z-index:1}
.phone-notch-rail .mini-phone-identity{flex:1;width:auto;min-width:105px;height:40px;padding:0}
.phone-notch-rail .mini-phone-identity strong{font-size:13px}
.phone-notch-rail .mini-phone-identity span{font-size:11px}
.phone-notch-rail .mini-call-control{
  display:flex!important;align-items:center;justify-content:center;gap:6px;
  width:auto!important;min-width:0!important;height:40px;padding:0 4px;
  color:#d9d9d9;font-size:11px;font-weight:600;white-space:nowrap;
}
.phone-notch-rail .mini-call-control svg{width:18px;height:18px}
.phone-notch-rail [data-mini-keypad]{color:#e36804}
.phone-notch-rail .mini-call-control:hover:not(:disabled){color:#fff}
.phone-notch-rail .command-dock-trigger::after{display:none}
.phone-notch-rail .mini-phone-number{
  flex:1;min-width:120px;max-width:220px;height:34px;padding:0 11px;
  border:1px solid #414141;border-radius:8px;background:#171717;
  color:#eee;font:500 12px 'Workspace Inter',Arial,sans-serif;
}
.phone-notch-rail .mini-phone-number::placeholder{color:#8f8f8f}
.phone-notch-rail .mini-phone-number:focus-visible{outline:2px solid #e36804;outline-offset:2px}
.app-frame[data-role=agent] .phone-notch-rail{width:min(600px,calc(100vw - 24px));padding-inline:70px;justify-content:center}
.phone-notch-rail .mini-phone-identity{position:relative;flex:0 0 132px;padding-left:28px}
.phone-notch-rail .mini-phone-identity>svg{position:absolute;left:0;top:10px;width:18px;height:18px;color:#e36804}
.phone-notch-rail .mini-phone-identity strong{font-size:14px}
.phone-notch-rail .mini-phone-identity span{font-size:12px}
.app-frame[data-page=comms] .phone-notch-rail{width:min(600px,calc(100vw - 24px));padding-inline:70px;justify-content:center}
.app-frame[data-page=comms] .phone-notch-rail :is(.mini-phone-identity,.mini-phone-number,.mini-call-control){display:flex!important}
@media(min-width:701px){
  .app-frame[data-role=agent] .phone-notch-rail{bottom:0}
  .app-frame[data-role=agent][data-page=home] .workspace-grid>.stage{height:calc(100% - 4px)}
}

@media(max-width:700px){
  .app-frame[data-role=agent] .phone-notch-rail{max-width:calc(100% - 8px);padding-inline:34px;gap:5px}
  .phone-notch-rail .mini-phone-number{display:none}
  .app-frame[data-page=comms] .phone-notch-rail .mini-phone-number{display:none!important}
  .phone-notch-rail .mini-phone-identity{flex:1 1 82px;min-width:82px}
  .phone-notch-rail .mini-call-control{height:36px;padding-inline:2px}
  .phone-notch-rail .command-dock-trigger{width:auto;min-width:0;margin:0;padding-inline:4px}
}
@media(max-width:440px){
  .app-frame[data-role=agent] .phone-notch-rail{padding-inline:30px;gap:3px}
  .phone-notch-rail .mini-phone-identity{min-width:75px}
  .phone-notch-rail .mini-call-control{width:30px!important;min-width:30px!important}
  .phone-notch-rail .mini-call-control span{display:none}
  .phone-notch-rail .command-dock-trigger{width:56px;min-width:56px;font-size:0}
  .phone-notch-rail .command-dock-trigger .command-tab-mark{width:18px;height:18px}
}

/* A single compact call strip sits inside the molded edge. */
.app-frame[data-role=agent] .phone-notch-rail,
.app-frame[data-role=agent][data-page=comms] .phone-notch-rail{
  width:min(620px,calc(100vw - 24px));
  height:66px;
  padding:0 68px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}
.phone-notch-rail .mini-phone-identity{
  flex:0 0 126px;
  min-width:0;
  height:42px;
  padding-left:27px;
}
.phone-notch-rail .mini-phone-identity>svg{top:11px}
.phone-notch-rail .mini-call-duration{
  display:flex;
  flex:0 0 56px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  color:#ededed;
  font-size:13px;
  font-variant-numeric:tabular-nums;
}
.phone-notch-rail .mini-call-duration[hidden]{display:none}
.phone-notch-rail .mini-call-duration small{font-size:10px;color:#a4a4a4;white-space:nowrap}
.phone-notch-rail .mini-phone-controls{
  display:grid;
  flex:0 0 204px;
  grid-template-columns:repeat(5,32px);
  align-items:center;
  justify-content:center;
  gap:11px;
  height:42px;
}
.phone-notch-rail .mini-phone-controls .mini-call-full{margin-left:0}
.phone-notch-rail .mini-phone-controls .mini-call-control{
  display:grid!important;
  place-items:center;
  flex:0 0 32px;
  width:32px!important;
  min-width:32px!important;
  height:32px;
  padding:0;
  border-radius:8px;
  color:#ccc;
  transition:color .18s ease,background .18s ease,transform .18s ease;
}
.phone-notch-rail .mini-phone-controls .mini-call-control:hover:not(:disabled),
.phone-notch-rail .mini-phone-controls .mini-call-control:focus-visible{
  color:#fff;
  background:#ffffff13!important;
  transform:translateY(-1px);
}
.phone-notch-rail .mini-phone-controls .mini-call-control[aria-pressed=true]{color:#e36804}
.phone-notch-rail .mini-phone-controls .mini-call-end:not(:disabled){
  color:#eb4642;
  background:transparent!important;
  border:0;
  box-shadow:none;
}
.phone-notch-rail .mini-phone-controls .mini-call-end:hover:not(:disabled),
.phone-notch-rail .mini-phone-controls .mini-call-end:focus-visible{color:#ff625d;background:transparent!important}
.phone-notch-rail .mini-phone-controls .mini-call-end svg{fill:currentColor;stroke:none;transform:none}
.phone-notch-rail .mini-phone-controls .mini-call-control:disabled{color:#666}
.phone-notch-rail .mini-phone-controls .mini-call-full{color:#f0f0f0}
.phone-notch-rail .mini-phone-controls .mini-call-control:focus-visible{outline:2px solid #e36804;outline-offset:1px}
@media(max-width:700px){
  .app-frame[data-role=agent] .phone-notch-rail,
  .app-frame[data-role=agent][data-page=comms] .phone-notch-rail{padding-inline:38px;gap:5px}
  .phone-notch-rail .mini-phone-identity{flex:1 1 105px;min-width:0}
  .phone-notch-rail .mini-phone-controls{display:flex;flex:0 0 auto;justify-content:center;gap:1px}
  .phone-notch-rail .mini-phone-controls .mini-call-control{flex-basis:28px;width:28px!important;min-width:28px!important;height:30px}
  .phone-notch-rail .mini-call-duration{flex-basis:47px;font-size:11px}
  .phone-notch-rail .mini-call-duration small{font-size:9px}
}
@media(max-width:400px){
  .app-frame[data-role=agent] .phone-notch-rail,
  .app-frame[data-role=agent][data-page=comms] .phone-notch-rail{padding-inline:30px}
  .phone-notch-rail .mini-phone-identity{padding-left:21px}
  .phone-notch-rail .mini-phone-identity>svg{width:16px;height:16px}
  .phone-notch-rail .mini-phone-controls .mini-call-control{flex-basis:26px;width:26px!important;min-width:26px!important}
}
@media(max-width:360px){
  .app-frame[data-role=agent] .phone-notch-rail .mini-phone-controls :is([data-mini-hold],[data-mini-keypad]){display:none!important}
  .phone-notch-rail .mini-phone-identity strong{font-size:12px}
}

/* Even navigation rhythm with depth only during interaction. */
.app-frame[data-role=agent] .global-rail{align-items:center;gap:7px;padding:23px 6px 11px}
.app-frame[data-role=agent] .global-rail .rail-button{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:54px;min-height:52px;gap:4px;padding:5px 2px;
  --rail-icon-light:#ddd;--rail-icon-dark:#929292;
}
.app-frame[data-role=agent] .global-rail .rail-button:is(.is-active,[aria-current=page]){--rail-icon-light:#ff9b3c;--rail-icon-dark:#cf4e00}
.app-frame[data-role=agent] .global-rail .rail-button .refined-rail-icon{
  display:block;flex:none;width:22px;height:22px;
  transform-origin:center;
  filter:drop-shadow(0 1px 0 #ffffff17) drop-shadow(1px 2px 1px #0009);
  transition:transform .22s cubic-bezier(.2,.8,.2,1),filter .22s ease;
}
.app-frame[data-role=agent] .global-rail .rail-button:is(:hover,:focus-visible) .refined-rail-icon{
  transform:perspective(80px) rotateY(-13deg) rotateX(6deg) translateZ(3px);
  filter:drop-shadow(1px 2px 2px #000b) drop-shadow(0 0 4px #e3680440);
}
.app-frame[data-role=agent] .global-rail .rail-button span{display:block;width:100%;text-align:center;font-size:9px;line-height:1.2}
@media(prefers-reduced-motion:reduce){.app-frame[data-role=agent] .global-rail .rail-button .refined-rail-icon{transition:none;transform:none!important}}
