/* Approved task-first phone workspaces. No tablet/laptop selectors. */
html[data-layout=phone] .jr-phone-section-actions{display:flex;justify-content:flex-end;gap:6px;margin:8px 0 12px}
html[data-layout=phone] .jr-phone-section-actions button{border:0;background:transparent;color:var(--muted);font:600 12px Arial;min-height:44px;padding:8px 10px}
html[data-layout=phone] .jr-phone-section{border:1px solid var(--line);background:var(--surface);border-radius:13px;margin:10px 0;overflow:clip;min-width:0}
html[data-layout=phone] .jr-phone-section>summary,html[data-layout=phone] .jr-phone-grid-tools>summary{font:650 15px/1.4 Arial;padding:15px 14px;min-height:48px;cursor:pointer;color:var(--ink);list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}
html[data-layout=phone] .jr-phone-section>summary::after,html[data-layout=phone] .jr-phone-grid-tools>summary::after{content:'⌄';font-size:19px;color:var(--muted);transform:rotate(0deg)}
html[data-layout=phone] :is(.jr-phone-section,.jr-phone-grid-tools)[open]>summary::after{transform:rotate(180deg)}
html[data-layout=phone] .jr-phone-section>summary::-webkit-details-marker,html[data-layout=phone] .jr-phone-grid-tools>summary::-webkit-details-marker{display:none}
html[data-layout=phone] .jr-phone-section[open]>summary{border-bottom:1px solid var(--line)}
html[data-layout=phone] .jr-phone-section-body>:is(section,aside,article,form,div){margin:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;min-width:0;max-width:100%}
html[data-layout=phone] .main .jr-phone-section-heading{display:none!important}
html[data-layout=phone] .jr-phone-section-body>.cl-group{padding:14px!important}
html[data-layout=phone] .jr-phone-section-body>form{padding:14px}
html[data-layout=phone] .jr-phone-section-body>form label{display:block;font-size:12px}
html[data-layout=phone] .jr-phone-grid-tools{border:1px solid var(--line);border-radius:10px;background:var(--surface);margin:10px 0}
html[data-layout=phone] .jr-phone-grid-tools>summary{font-size:12px;min-height:44px;padding:10px 12px}
html[data-layout=phone] .jr-phone-grid-fields{display:grid;gap:12px;padding:0 12px 12px;grid-template-columns:minmax(0,1fr)}
html[data-layout=phone] .jr-phone-grid-fields label{display:block;font:600 12px Arial;color:var(--muted)}
html[data-layout=phone] .jr-phone-grid-fields :is(input,select){display:block;width:100%;max-width:100%;min-width:0;font:400 16px Arial;padding:11px;margin-top:6px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);min-height:44px}
html[data-layout=phone] .jr-phone-grid-fields button{background:var(--soft);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:12px;min-height:44px}
html[data-layout=phone] .main .jr-phone-grid-count{font-size:11px;color:var(--muted);margin:8px 0}
html[data-layout=phone] .jr-table-scroll:has(.jr-phone-record-table),html[data-layout=phone] .ar-table-wrap:has(.jr-phone-record-table){overflow:visible;max-width:100%}
html[data-layout=phone] .jr-table-tools:has(~.jr-phone-record-table){display:none!important}
html[data-layout=phone] .jr-phone-record-table{display:block!important;width:100%!important;min-width:0!important;border:0!important}
html[data-layout=phone] .jr-phone-record-table>thead{display:none!important}
html[data-layout=phone] .jr-phone-record-table>tbody{display:block!important;width:100%!important;border:1px solid var(--line);border-radius:12px;overflow:clip;background:var(--surface)}
html[data-layout=phone] .jr-phone-record-table>tbody>tr.jr-phone-record:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(75px,auto);gap:6px 10px;margin:0!important;padding:14px!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none;align-items:start;position:relative}
html[data-layout=phone] .jr-phone-record-table>tbody>tr.jr-phone-record:last-child{border-bottom:0!important}
html[data-layout=phone] .jr-phone-record-table>tbody>tr[data-phone-filtered=true]{display:none!important}
html[data-layout=phone] .jr-phone-record-table>tbody>tr.jr-phone-record>td{display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;padding:0!important;border:0!important;font-size:12px;line-height:1.45;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere}
html[data-layout=phone] .jr-phone-record-table>tbody>tr.jr-phone-record>td::before{display:none!important}
html[data-layout=phone] .jr-phone-record-table>tbody>tr.jr-phone-record>.jr-phone-record-main{grid-column:1;grid-row:1;min-width:0;font-size:14px!important;font-weight:650}
html[data-layout=phone] .jr-phone-record-main small{display:block!important;margin-top:4px;font-size:12px!important;color:var(--muted);font-weight:400}
html[data-layout=phone] .jr-phone-record-table>tbody>tr.jr-phone-record>.jr-phone-record-value{grid-column:2;grid-row:1;text-align:right!important;font-size:14px!important;font-weight:650;font-variant-numeric:tabular-nums}
html[data-layout=phone] .jr-phone-record-value small{font-size:14px!important;margin-top:4px}
html[data-layout=phone] .jr-phone-record-table>tbody>tr.jr-phone-record>.jr-phone-record-status{grid-column:1/-1;font-size:11px!important;color:var(--muted)}
html[data-layout=phone] .jr-phone-record-table>tbody>tr.jr-phone-record>.jr-phone-record-status small{display:none}
html[data-layout=phone] .jr-phone-record-table>tbody>tr.jr-phone-record>.jr-phone-record-select{grid-column:2;grid-row:2;justify-self:end}
html[data-layout=phone] .jr-phone-record-select input{width:22px;height:22px;margin:10px;accent-color:var(--red);min-height:0!important}
html[data-layout=phone] .jr-phone-record-table>tbody>tr.jr-phone-record>.jr-phone-record-action{grid-column:1/-1}
html[data-layout=phone] .jr-phone-record-action :is(button,a){border:0!important;background:transparent!important;color:var(--accent-text)!important;font:650 12px Arial;padding:10px 0!important;min-height:44px;box-shadow:none!important}
html[data-layout=phone] .jr-phone-record-table>tbody>tr.jr-phone-record>.jr-phone-record-extra{display:none!important}
html[data-layout=phone] .jr-phone-record-table>tbody>tr[data-phone-expanded=true]>.jr-phone-record-extra{display:block!important;grid-column:1/-1;border-top:1px solid var(--line)!important;padding-top:9px!important}
html[data-layout=phone] .jr-phone-record-table>tbody>tr[data-phone-expanded=true]>.jr-phone-record-extra::before{display:block!important;content:attr(data-column-label);font-size:11px!important;font-weight:500;color:var(--muted);margin:0 0 4px}
html[data-layout=phone] .main .jr-phone-record-more{display:block!important;min-height:36px;padding:8px 0!important;border:0!important;background:transparent!important;box-shadow:none!important;font:500 11px Arial!important;color:var(--muted)!important;margin-top:2px;text-align:left}
html[data-layout=phone] .jr-phone-intake{display:flex;flex-direction:column;padding:12px!important;gap:0}
html[data-layout=phone] .jr-phone-intake-intro{order:0;display:flex;justify-content:flex-end;margin:0 0 8px!important}
html[data-layout=phone] .jr-phone-intake-intro>div{display:none}
html[data-layout=phone] .jr-phone-intake-intro>button{width:auto;font-size:12px!important;min-height:44px}
html[data-layout=phone] .jr-phone-intake-counts{order:1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:0 0 8px!important}
html[data-layout=phone] .jr-phone-intake-counts>.ar-kpi{border:0!important;background:var(--soft);border-radius:8px!important;padding:9px!important;min-height:0!important;display:flex;flex-direction:column;gap:3px}
html[data-layout=phone] .jr-phone-intake-counts .ar-kpi small{font-size:10px!important;line-height:1.3}
html[data-layout=phone] .jr-phone-intake-counts .ar-kpi b{font-size:20px!important;line-height:1.2}
html[data-layout=phone] .jr-phone-intake-counts .ar-kpi>span{display:none}
html[data-layout=phone] .jr-phone-intake>.jr-phone-filter{order:2;margin:4px 0!important}
html[data-layout=phone] .jr-phone-intake>.ar-table-wrap{order:3}
html[data-layout=phone] .jr-phone-intake-actions{order:4;display:flex;flex-wrap:wrap;margin:12px 0 0!important;gap:6px}
html[data-layout=phone] .jr-phone-intake-actions>button{flex:1;font-size:11px!important}
html[data-layout=phone] .jr-phone-intake-actions>button.primary{flex-basis:100%;order:2}
html[data-layout=phone] .jr-phone-intake-note{order:5;font-size:11px!important}
html[data-layout=phone] .jr-phone-section-body .ar-row-title p,html[data-layout=phone] .jr-phone-section-body>.ar-card>p{font-size:12px}
html[data-layout=phone] .jr-phone-section-body :is(.ar-kpis,.kpis){grid-template-columns:repeat(2,minmax(0,1fr))!important}
html[data-layout=phone] .jr-phone-section-body .ar-kpis.jr-phone-intake-counts{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(prefers-reduced-motion:no-preference){html[data-layout=phone] .jr-phone-section>summary::after{transition:transform .15s ease}}
/* Keep the working queue above context/setup and group each record on two axes. */
html[data-layout=phone] #ap-concierge>.top>div>p{display:none!important}
html[data-layout=phone] #ap-concierge .ar-demo-banner{padding:8px 10px!important;margin:6px 0!important;font-size:11px!important}
html[data-layout=phone] #ap-concierge .ar-demo-banner .jr-demo-disclosure>summary{font-size:10px!important;line-height:1.3}
html[data-layout=phone] #ap-concierge .ar-demo-banner small{display:none}
html[data-layout=phone] #ap-concierge .ar-demo-banner:has(details[open]) small{display:block}
html[data-layout=phone] .main .jr-phone-record-table>tbody>tr.jr-phone-record>.jr-phone-record-status{grid-column:1;grid-row:2;align-self:center}
html[data-layout=phone] .main .jr-phone-record-table>tbody>tr.jr-phone-record>.jr-phone-record-action{grid-column:1/-1;grid-row:3}
html[data-layout=phone] .main .jr-phone-record-table>tbody>tr.jr-phone-record>.jr-phone-record-extra{grid-row:auto}
html[data-layout=phone] .main .jr-phone-record-more{min-height:32px!important;font-size:11px!important;padding:6px 0!important;margin:0!important}
html[data-layout=phone] .main .jr-phone-record-select input{margin:0!important;width:22px!important;height:22px!important}
html[data-layout=phone] .jr-phone-record-select{min-height:44px;display:flex!important;align-items:center!important}
html[data-layout=phone] .main .jr-phone-record-table>tbody>tr.jr-phone-record{gap:3px 8px!important;padding:12px!important}
html[data-layout=phone] .main .jr-phone-intake-intro>div{display:none!important}
html[data-layout=phone] .main .jr-phone-section-body>.jr-phone-intake>.ar-row-title>div{display:none!important}
