.ezui-phones {
  --ezui-ink:#17283d; --ezui-muted:#687789; --ezui-line:#e5eaf0;
  --ezui-surface:#fff; --ezui-soft:#f5f7fa; --ezui-blue:#2876b9;
  margin:0; background:var(--ezui-soft); color:var(--ezui-ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:16px; line-height:1.5; font-weight:400;
}
.ezui-phones *, .ezui-phones *::before, .ezui-phones *::after {box-sizing:border-box}
.ezui-phones .phone-header {max-width:none; margin:0; padding:14px max(24px,calc((100vw - 1200px)/2)); background:#17283d; color:#fff; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap}
.ezui-phones .phone-header a {color:#fff; min-height:44px; display:inline-flex; align-items:center; text-underline-offset:4px}
.ezui-phones .phone-header strong {font-size:16px; font-weight:400}
.ezui-phones .phone-main {max-width:1200px; margin:0 auto; padding:32px 24px 48px}
.ezui-phones .phone-masthead {display:flex; gap:20px; align-items:flex-start; padding:8px 0 28px; border-bottom:1px solid var(--ezui-line); margin-bottom:28px}
.ezui-phones h1 {font-size:clamp(34px,4vw,48px); font-weight:100; line-height:1.15; margin:0 0 10px; letter-spacing:-.02em}
.ezui-phones h2 {font-size:26px; font-weight:200; line-height:1.3; margin:0 0 12px}
.ezui-phones h3 {font-size:16px; font-weight:400; margin:0}
.ezui-phones p {margin:0 0 16px; overflow-wrap:anywhere}
.ezui-phones .phone-workspace {margin:8px 0 0; color:var(--ezui-muted); font-size:14px}
.ezui-phones .phone-workspace strong {font-weight:400; color:var(--ezui-ink)}
.ezui-phones .phone-layout {display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:24px; align-items:start}
.ezui-phones .phone-panel {min-width:0; border:1px solid var(--ezui-line); border-radius:14px; padding:26px; background:var(--ezui-surface); margin:0}
.ezui-phones .phone-panel>p {color:var(--ezui-muted); font-size:14px}
.ezui-phones .phone-icon {width:40px; height:40px; flex:0 0 40px; border-radius:12px; background:var(--ezui-soft); color:var(--ezui-blue); display:grid; place-items:center}
.ezui-phones .phone-icon svg {width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round}
.ezui-phones .phone-masthead>.phone-icon {width:64px; height:64px; flex-basis:64px; background:#fff; border:1px solid var(--ezui-line)}
.ezui-phones .phone-masthead svg {width:30px; height:30px}
.ezui-phones #pair-phone {display:grid; gap:10px; margin-top:24px; max-width:none}
.ezui-phones label {font-size:14px; font-weight:400}
.ezui-phones input[type=password] {width:100%; min-width:0; min-height:48px; padding:10px 12px; border:1px solid #8795a5; border-radius:8px; background:#fff; color:var(--ezui-ink); font:inherit; margin:0}
.ezui-phones button, .ezui-phones .phone-calendar-link {min-height:44px; font:inherit; font-size:14px; font-weight:400; border-radius:8px; padding:10px 16px; cursor:pointer; display:inline-flex; justify-content:center; align-items:center; text-decoration:none}
.ezui-phones #pair-phone button {background:#2876b9; color:#fff; border:1px solid #2876b9; margin-top:4px}
.ezui-phones #pair-phone button:hover {background:#215f95}
.ezui-phones .phone-section-head {display:flex; gap:12px; justify-content:space-between; align-items:center; flex-wrap:wrap; margin-bottom:12px}
.ezui-phones .phone-section-head h2 {margin:0}
.ezui-phones .phone-status {display:inline-flex; padding:4px 10px; border-radius:20px; background:var(--ezui-soft); color:var(--ezui-ink); font-size:12px; white-space:nowrap}
.ezui-phones .phone-device {display:flex; align-items:center; gap:12px; padding:16px 0; border-top:1px solid var(--ezui-line); margin:0}
.ezui-phones .phone-device-copy {flex:1; min-width:0; overflow-wrap:anywhere}
.ezui-phones .phone-device p {font-size:12px; color:var(--ezui-muted); margin:4px 0 0}
.ezui-phones .phone-disconnect {background:#fff; color:var(--ezui-ink); border:1px solid #8795a5; flex-shrink:0}
.ezui-phones .phone-disconnect:hover {background:var(--ezui-soft)}
.ezui-phones .phone-history {border-top:1px solid var(--ezui-line); margin-top:8px; padding-top:16px}
.ezui-phones summary {font-weight:400; cursor:pointer; min-height:44px; padding:10px 0; font-size:14px}
.ezui-phones .phone-empty {padding:16px 0; border-top:1px solid var(--ezui-line)}
.ezui-phones .phone-calendar {margin-top:24px; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px 24px; align-items:start}
.ezui-phones .phone-calendar p {max-width:80ch; font-size:14px; color:var(--ezui-muted)}
.ezui-phones .phone-calendar-link {border:1px solid #8795a5; color:var(--ezui-ink); background:#fff}
.ezui-phones .phone-calendar-link:hover {background:var(--ezui-soft)}
.ezui-phones .phone-help {grid-column:1/-1; border-top:1px solid var(--ezui-line); padding-top:8px}
.ezui-phones #pair-status:empty {display:none}
.ezui-phones #pair-status {margin:16px 0 0}
.ezui-phones #pair-code {display:flex; flex-direction:column; align-items:center; gap:12px; max-width:100%; overflow-wrap:anywhere}
.ezui-phones #pair-code svg, .ezui-phones #pair-code canvas, .ezui-phones #pair-code img {width:100%!important; max-width:280px!important; height:auto!important}
.ezui-phones :where(a,button,input,summary):focus-visible {outline:2px solid var(--ezui-blue); outline-offset:4px}
.ezui-phones .phone-sr {position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap}
@media(max-width:800px) {
 .ezui-phones .phone-layout, .ezui-phones .phone-calendar {grid-template-columns:minmax(0,1fr)}
 .ezui-phones .phone-calendar-link {justify-self:start}
}
@media(max-width:480px) {
 .ezui-phones .phone-header {padding:8px 16px; gap:0 16px}
 .ezui-phones .phone-main {padding:24px 16px 32px}
 .ezui-phones .phone-masthead {gap:12px}
 .ezui-phones .phone-masthead>.phone-icon {width:44px; height:44px; flex-basis:44px}
 .ezui-phones .phone-panel {padding:18px}
 .ezui-phones .phone-device {flex-wrap:wrap}
 .ezui-phones .phone-device-copy {flex-basis:calc(100% - 60px)}
 .ezui-phones .phone-disconnect {margin-left:52px}
 .ezui-phones .phone-history .phone-status {margin-left:52px}
 .ezui-phones .phone-calendar-link {width:100%}
 .ezui-phones .phone-panel>p, .ezui-phones .phone-calendar p, .ezui-phones button {font-size:16px}
 .ezui-phones .phone-device p {font-size:14px}
}
@media(prefers-reduced-motion:reduce) {
 .ezui-phones *, .ezui-phones *::before, .ezui-phones *::after {animation:none; transition:none; scroll-behavior:auto}
}

/* Opt into the real workspace shell; do not style its header/sidebar/footer. */
.ezui-phones.phone-workspace {background:transparent; min-width:0}
.ezui-phones.phone-workspace .phone-main {padding:12px 0 28px; width:100%}
.ezui-phones.phone-workspace .phone-masthead {padding-top:0}
@media(max-width:1100px){.ezui-phones.phone-workspace .phone-layout {grid-template-columns:minmax(0,1fr)}}
