html{scroll-padding-top:24px}body{background:var(--bg);color:var(--ink);font-family:inherit;font-size:13px;line-height:1.65}
button,input,select,textarea{font-family:inherit}button,a,summary{touch-action:manipulation}
:where(h1,h2,h3,strong,b){font-weight:500}:where(h1,h2,h3){text-wrap:balance}
.page-head h1,.studio-heading h1,.admin-page-head h1{font-size:clamp(28px,3vw,42px);letter-spacing:-.035em;line-height:1.2;margin-bottom:10px}
:where(.page-head,.studio-heading,.admin-page-head){margin-bottom:28px;gap:16px}
:where(.page-head p,.section-head p,.admin-page-head p){color:var(--muted);max-width:65ch}
:where(.field-hint,.fine,.muted,.admin-secondary-text,.form-note,small){font-size:12px;line-height:1.7;color:var(--muted)}
:where(.studio-content){max-width:1560px;margin-inline:auto;padding:32px 4vw 48px}
:where(.split,.product-grid,.studio-overview-columns,.studio-account-layout,.studio-notification-layout,.subscription-layout){gap:var(--ui-gap)}
:where(.panel,.admin-panel,.studio-identity-card,.subscription-summary,.subscription-redeem,.composer){min-width:0;padding:var(--ui-padding);border-radius:var(--ui-radius)}
.ui-card{border-radius:0;box-shadow:none;backdrop-filter:none}
:where(.ui-card):hover{transform:none}
:where(.panel,.admin-panel,.product-row,.admin-cell-stack,.record-target,.record-detail,.subscription-facts dd,.menu-identity,.account-copy){min-width:0;overflow-wrap:anywhere}
:where(.studio-metric strong,.business-kpis strong,.admin-stat-value,.admin-settings-kpis strong,.subscription-usage strong,.task-time,.time,.money,.amount){font-family:var(--ui-mono);font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.035em}
:where(.money,.amount){display:inline-flex;align-items:baseline;gap:.15em;white-space:nowrap;font-size:clamp(22px,3vw,40px)}
.status-strip b,.subscription-hero-number strong{font-family:var(--ui-mono);font-variant-numeric:tabular-nums;font-weight:500}
.studio-metric strong{font-size:clamp(28px,3.4vw,44px);line-height:1.25;margin-block:12px;overflow-wrap:anywhere}
.studio-metric strong small{display:inline;font-size:12px;margin-left:6px;white-space:nowrap}
:where(.pill,.state,.account-health){font-size:11px;font-weight:500;white-space:normal;line-height:1.5}
:where(.pill.good,.state.confirmed){color:var(--green)}:where(.pill.warn,.pill.warning,.state.waiting){color:var(--amber)}
:where(.pill.danger,.pill.bad,.state.failed){color:var(--red)}:where(.pill.off,.pill.neutral,.state.paused){color:var(--muted);background:var(--field)}
:where(button,.button,.admin-button){border-radius:6px;min-height:38px}
:where(button,.button,.admin-button):focus-visible,:where(a,summary,input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
:where(button,.button,.admin-button):disabled{cursor:not-allowed}
:where(input,select,textarea){border-radius:6px;accent-color:var(--accent)}
:where(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){min-width:0;max-width:100%;background-color:var(--field);color:var(--ink);border-color:var(--line)}
:where(input,textarea)::placeholder{color:var(--muted);opacity:.9}
:where(.submit,.button:not(.quiet),.admin-button-primary){background:var(--accent);color:var(--ui-primary-ink)}
:where(.stack,.task-form-grid){gap:18px}:where(.form-error,.notice,.quota-notice){border-radius:6px;overflow-wrap:anywhere}
:where(.form-error,[role=alert]):empty{display:none}
/* Menus float independently of card decoration. */
:where(.studio-profile-menu,.profile-popover,.row-menu-panel){position:fixed!important;inset:auto!important;left:var(--menu-x,16px)!important;top:var(--menu-y,70px)!important;width:min(248px,calc(100vw - 24px));max-height:var(--menu-height,70dvh);overflow-y:auto;overscroll-behavior:contain;padding:8px!important;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:var(--ui-radius);box-shadow:var(--ui-menu-shadow);z-index:90}
:where(.studio-profile,.profile-menu,.row-menu):has(>summary:focus-visible){z-index:91}
:where(.studio-profile-menu,.profile-popover,.row-menu-panel) a,:where(.studio-profile-menu,.profile-popover,.row-menu-panel) button{display:flex;width:100%;align-items:center;text-align:left;min-height:38px;margin:0!important;padding:9px 12px!important;border:0;border-radius:5px;background:transparent;color:var(--ink);font-size:12px}
:where(.studio-profile-menu,.profile-popover,.row-menu-panel) a:hover,:where(.studio-profile-menu,.profile-popover,.row-menu-panel) button:hover{background:var(--ui-hover);color:var(--ink)}
.menu-identity{padding:10px 12px 12px;border-bottom:1px solid var(--line);margin-bottom:6px}.menu-identity strong,.menu-identity small{display:block}
.studio-profile>summary,.profile-menu>summary{display:grid;place-items:center;width:36px;height:36px;background:var(--field);color:var(--ink);border:1px solid var(--line);border-radius:50%;font-size:12px}
:where(.studio-profile-menu,.profile-popover) form{border-top:1px solid var(--line);margin-top:6px;padding-top:6px}
:where(.studio-profile,.profile-menu,.row-menu)>summary{list-style:none;cursor:pointer}
:where(.studio-profile,.profile-menu,.row-menu)>summary::-webkit-details-marker{display:none}
.ui-select-popup{border-radius:var(--ui-radius)!important;box-shadow:var(--ui-menu-shadow)!important;background:var(--panel)!important;color:var(--ink)!important;border-color:var(--line)!important}
:where(.studio-profile-menu,.profile-popover,.row-menu-panel)[popover]:not(:popover-open){display:none!important}
dialog{border:1px solid var(--line);border-radius:var(--ui-radius);background:var(--panel);color:var(--ink);box-shadow:var(--ui-menu-shadow);max-width:calc(100vw - 24px);max-height:calc(var(--visible-height,100dvh) - 24px);overscroll-behavior:contain}
dialog::backdrop{background:#090b1066;backdrop-filter:blur(3px)}
:where(.dialog-bottom,.target-picker-sheet-foot,.scan-dialog-foot,.admin-dialog-actions,.form-actions){gap:12px;flex-wrap:wrap}
.ui-create-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(500px,100vw);height:var(--visible-height,100dvh);max-height:var(--visible-height,100dvh);max-width:100vw;border-radius:0;border-block:0;border-right:0;padding:0;overflow:auto}
.ui-create-drawer>.ui-drawer-head{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;background:var(--panel);border-bottom:1px solid var(--line);z-index:5}
.ui-drawer-head h2{font-size:17px;margin:0}.ui-drawer-head button{background:transparent;border:1px solid var(--line);color:var(--ink);padding:6px 12px}
.ui-create-drawer>.task-create-panel,.ui-create-drawer>.composer{position:static;width:100%;margin:0;padding:24px;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none}
.ui-create-drawer .compose-title,.ui-create-drawer .task-create-heading{display:none}
.ui-create-drawer .task-create-actions,.ui-create-drawer #create-form>.submit{position:sticky;bottom:0;background:var(--panel);padding:14px 0 max(14px,env(safe-area-inset-bottom));z-index:3}
.ui-create-drawer #create-form>.submit{background:var(--accent);color:var(--ui-primary-ink);padding:14px;margin-top:12px}
.ui-create-drawer .task-create-actions{display:grid;gap:8px}.ui-create-drawer .task-create-actions p{margin:0;font-size:12px;color:var(--muted)}
.ui-create-drawer .task-create-actions button{width:100%}.ui-create-drawer .form-note{margin-bottom:0}
.ui-drawer-dirty{padding:16px 24px;border-bottom:1px solid var(--line);background:var(--field)}.ui-drawer-dirty p{margin-bottom:12px}.ui-drawer-dirty>div{display:flex;gap:12px}
.ui-create-drawer>section.task-review{padding:24px}.ui-create-drawer .task-review-content{max-height:none}.ui-create-drawer .task-review .form-actions{display:flex;bottom:0;padding-bottom:max(16px,env(safe-area-inset-bottom));background:var(--panel)}
.task-workbench.ui-has-drawer,.workspace.ui-has-drawer{grid-template-columns:minmax(0,1fr)}
.ui-workspace-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.ui-workspace-actions select{width:auto;min-width:140px}.ui-workspace-actions>button:last-child{margin-left:auto}
.ui-group-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;background:var(--field);color:var(--ink);border:0;border-radius:6px;padding:10px 14px;text-align:left;margin:12px 0 0}
.ui-group-toggle strong{overflow-wrap:anywhere}.ui-group-toggle small{flex-shrink:0;font-size:11px}.ui-group-toggle:after{content:'−';font-size:16px;color:var(--muted)}.ui-group-toggle[aria-expanded=false]:after{content:'+'}
.ui-group-content[hidden]{display:none!important}.task-account-heading{padding:0!important;border:0!important}
.ui-count-feedback{font-size:12px;color:var(--muted)}
.task-overview-head{display:grid;grid-template-columns:64px minmax(150px,1.7fr) minmax(100px,1fr) minmax(120px,1fr) 110px 90px 130px;gap:16px;padding:12px 16px;color:var(--muted);font-size:11px;border-bottom:1px solid var(--line)}
.task-overview-row{grid-template-columns:64px minmax(150px,1.7fr) minmax(100px,1fr) minmax(120px,1fr) 110px 90px 130px;gap:16px;padding:12px 16px;min-height:72px}
.task-overview-row>div{grid-column:auto;grid-row:auto;min-width:0}.task-overview-time{align-self:center;padding:0}.task-overview-actions{max-width:none}.task-cell-label{display:none}
.task-overview-row .directory-person{gap:10px}.task-overview-row .directory-person strong{overflow-wrap:anywhere}.task-message-compact{margin-left:46px;max-width:36ch;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.directory-person strong,.task-row h3,.account-summary strong,.menu-identity strong{white-space:normal;overflow-wrap:anywhere}
.task-overview-next,.task-overview-account{font-size:12px}.task-overview-row:hover,.record-row:hover,.record-summary:hover,.admin-table tbody tr:hover{background:var(--ui-hover)}
.task-row{min-height:72px;padding:12px 16px!important}.task-row .person{padding-left:0!important;min-width:0}.task-row h3{overflow-wrap:anywhere}.task-row .person p{font-size:11px}.task-row .state{max-width:150px}.task-row .toggle{min-height:36px}
.task-row .avatar{position:relative;display:grid;place-items:center}.task-row .avatar img{position:absolute;inset:0}
#friend-list[aria-busy=true]:before{content:'正在更新会话…';display:block;padding:10px;font-size:12px;color:var(--muted)}
.record-summary{padding:14px 12px;min-height:66px}.record-detail{padding:20px}.record-facts{gap:16px 24px}.record-facts dt{font-size:11px}.record-facts dd{font-size:12px}.record-note{overflow-wrap:anywhere}
.account-card{min-width:0}.account-card .account-actions,.product-actions{display:flex;gap:12px;flex-wrap:wrap}.directory-avatar,.studio-initial,.account-avatar,.avatar{flex-shrink:0}
.account-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.account-item{padding-block:20px}.account-edit-details>summary{cursor:pointer;font-size:12px;min-height:38px;display:flex;align-items:center}.account-edit-details[open]{flex-basis:100%;order:3}.account-edit-details .account-rename{display:flex;gap:10px;margin-block:8px}.account-edit-details input{flex:1;width:auto;min-width:0}.account-summary{min-width:0}.account-summary h3{overflow-wrap:anywhere}.account-health-actions{gap:12px;flex-wrap:wrap}
.records-filter,.admin-filter-bar{align-items:end;gap:12px}.workspace-pager,.records-pagination{padding-block:16px;gap:12px}.workspace-pager button{min-width:80px}
.admin-table td,.admin-table th{padding-block:12px}.admin-panel-head{align-items:flex-start}.admin-settings-kpis{gap:20px}.admin-stats>*{min-width:0}
.studio-admin-tabs{margin-bottom:24px;gap:24px;scrollbar-width:thin}.studio-admin-tabs a[aria-current]{color:var(--ink)}
.scan-qr-shell[data-loading=true]:after{background:var(--panel);color:var(--muted)}.scan-qr-shell[data-loading=true]:before{border-color:var(--line);border-top-color:var(--accent)}
.scan-progress{gap:16px}.scan-progress li{border-bottom-width:1px}.scan-elapsed{line-height:1.8}.scan-dialog-head h2{font-size:20px}
.target-option,.friend-option{min-height:62px;padding:12px;border-radius:5px}.target-option.is-selected,.friend-option:has(input:checked){background:color-mix(in srgb,var(--accent) 9%,transparent)}
.target-option-copy strong,.friend-option>span:nth-of-type(2){overflow-wrap:anywhere}.target-option-empty,.empty{padding:32px 20px;line-height:1.8}.empty h3{font-size:16px}.empty a{margin-top:12px;display:inline-flex}
.ui-load-placeholder span{animation:ui-breathe 1.5s ease-in-out 3}.ui-load-placeholder span:nth-child(2){animation-delay:100ms}
@keyframes ui-breathe{50%{opacity:.45}}
@keyframes ui-drawer-enter{from{opacity:.7;translate:24px 0}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:no-preference){.ui-create-drawer[open]{animation:ui-drawer-enter 220ms cubic-bezier(.2,.7,.3,1)}.ui-group-toggle{transition:background-color 160ms}.pill,.state{transition:color 160ms,background-color 160ms}}
@media(max-width:1200px){.task-overview-head,.task-overview-row{grid-template-columns:60px minmax(150px,1.5fr) minmax(90px,1fr) 100px 100px 80px 115px;gap:10px}}
@media(max-width:1050px){.task-overview-head{display:none}.task-overview-row{grid-template-columns:60px minmax(0,1fr) auto;gap:8px 14px}.task-overview-time{grid-column:1;grid-row:1/3;align-self:start}.task-overview-target{grid-column:2;grid-row:1}.task-overview-account{grid-column:2;grid-row:2}.task-overview-next{grid-column:2;grid-row:3}.task-overview-result{grid-column:2;grid-row:4}.task-overview-state{grid-column:3;grid-row:1}.task-overview-actions{grid-column:3;grid-row:2/5;max-width:120px}.task-cell-label{display:inline}}
@media(max-width:820px){:root{--ui-padding:20px;--ui-gap:20px}.studio-content{padding-top:24px}.ui-card{backdrop-filter:none!important}.record-summary{padding-inline:8px}.studio-footer{font-size:10px}.ui-workspace-actions{gap:10px}.studio-header{gap:16px}.task-row .person h3{font-size:13px}}
@media(max-width:560px){:root{--ui-padding:16px;--ui-gap:16px}.studio-content{padding-inline:16px}.studio-header{margin-inline:16px}.page-head,.studio-heading{margin-bottom:20px}.studio-main-nav{gap:20px}.studio-main-nav a{min-height:44px;display:inline-flex;align-items:center}.studio-header-end{gap:12px}.studio-profile>summary,.profile-menu>summary{width:40px;height:40px}
  input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}.ui-create-drawer{width:100vw}.ui-create-drawer>.composer,.ui-create-drawer>.task-create-panel{padding:20px 16px}.ui-create-drawer>.ui-drawer-head{padding-inline:16px}.ui-drawer-head button{min-height:44px}
  .ui-workspace-actions select{flex:1;min-width:0}.ui-workspace-actions>button:last-child{min-height:44px}.task-overview-row{padding:14px 8px;grid-template-columns:48px minmax(0,1fr) 86px;gap:8px}.task-overview-actions{max-width:86px;gap:8px}.task-overview-actions button,.task-overview-actions a,.row-menu summary{min-height:38px;display:inline-flex;align-items:center}.task-overview-time{font-size:13px}.task-message-compact{margin-left:0}
  .task-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:14px 8px!important}.task-row .person{grid-column:1;grid-row:1}.task-row .task-time{grid-column:1;grid-row:2}.task-row .state{grid-column:2;grid-row:1;font-size:11px}.task-row>div:last-child:not(.person):not(.task-time){grid-column:2;grid-row:2}.table-heading{display:none}
  .record-account{display:block;grid-column:1/3;grid-row:3;font-size:11px}.record-detail{padding:16px}.record-facts{grid-template-columns:1fr}.records-filter{gap:10px}.admin-table tbody td{min-width:0;overflow-wrap:anywhere}.admin-table tbody td>*{min-width:0;max-width:100%}.admin-table .admin-row-actions{flex-wrap:wrap}.admin-tabs{max-width:100%}
  .target-picker-sheet-foot,.dialog-bottom,.scan-dialog-foot{position:sticky;bottom:0;background:var(--panel);padding-bottom:max(16px,env(safe-area-inset-bottom));z-index:4}.target-picker-sheet-foot button,.dialog-bottom button{min-height:44px}.record-facts button,.selected-target-chip button{min-width:32px;min-height:32px}.studio-footer{flex-wrap:wrap;gap:8px}.scan-progress{gap:10px}.scan-dialog{padding:16px}
}
@media(prefers-reduced-motion:reduce){.ui-load-placeholder span{animation:none}.ui-create-drawer[open]{animation:none}}

/* Straight-edged editorial controls; circular identity images stay circular. */
.mobile-dock,.mobile-record-search,.mobile-filter-summary{display:none}
.studio-dashboard{display:flex;flex-direction:column}
.studio-dashboard>.studio-heading{order:0}.studio-dashboard>.overview-accounts{order:1}.studio-dashboard>.action-summary{order:2}.studio-dashboard>.studio-metrics{order:3}.studio-dashboard>.studio-overview-columns{order:4}.studio-dashboard>.studio-schedule{order:5}.studio-dashboard>.setup-progress{order:6}
.overview-accounts{margin-bottom:24px}.overview-accounts .studio-section-title{margin-top:0}
.overview-account-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}
.overview-account{display:flex;align-items:center;gap:14px;padding:16px;border:1px solid var(--line);min-width:0}
.overview-account-copy{flex:1;min-width:0}.overview-account-copy strong,.overview-account-copy small{display:block;overflow-wrap:anywhere}.overview-account-copy small{margin-top:3px}
.overview-good{color:var(--green)!important}.overview-attention{color:var(--amber)!important}.overview-account>a{white-space:nowrap;font-size:12px}
.live-dot,.studio-health-valid{background:var(--green)}.state.confirmed,.admin-badge-success,.pill.good{color:var(--green)}
.mobile-filter-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.mobile-filter-heading h2{margin:0}
@media(max-width:680px){
  .has-mobile-dock{padding-bottom:calc(74px + env(safe-area-inset-bottom))}
  .mobile-dock{position:fixed;inset:auto 0 0;z-index:55;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--line);background:var(--bg);padding:7px 12px calc(7px + env(safe-area-inset-bottom));min-height:64px}
  .mobile-dock a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px;color:var(--muted);font-size:11px}.mobile-dock a[aria-current]{color:var(--accent)}
  .mobile-keyboard-open .mobile-dock,body:has(dialog[open]) .mobile-dock{display:none}
  .has-mobile-dock .studio-main-nav,.has-mobile-dock #app>header>nav{display:none!important}
  .has-mobile-dock .studio-header,.has-mobile-dock #app>header{height:76px;min-height:76px;flex-wrap:nowrap;padding-top:0;margin-bottom:0}
  #app .hero{display:none!important}#app .status-strip{margin-top:0;padding-block:16px;gap:12px 22px}#app .workspace{padding-top:20px}
  .overview-account-list{grid-template-columns:1fr}.overview-account{padding:12px;gap:12px}.overview-accounts{margin-bottom:18px}.overview-accounts .studio-section-title{margin-bottom:12px}
  .studio-dashboard>.studio-heading{margin-bottom:22px}.studio-dashboard .studio-metric{padding:14px 10px}.studio-dashboard .studio-metric strong{font-size:28px}
  .studio-dashboard .studio-overview-columns{grid-template-columns:1fr}.studio-dashboard .studio-schedule{margin-top:12px}
  #task-list .task-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,auto);gap:9px 12px;padding:14px 12px!important;min-height:0}
  #task-list .task-row .person{grid-column:1;grid-row:1;min-width:0;gap:10px}
  #task-list .task-row .person h3{font-size:14px;line-height:1.5}#task-list .task-row .person p{font-size:11px}
  #task-list .task-row>.state{position:static!important;inset:auto!important;grid-column:2;grid-row:1;align-self:center;max-width:110px;min-width:0;white-space:normal;overflow-wrap:anywhere;font-size:11px}
  #task-list .task-row .task-time{grid-column:1;grid-row:2;align-self:center;font-size:13px}.task-row .task-time small{display:inline;margin-left:8px;font-size:11px}
  #task-list .task-row>.task-row-controls{grid-column:2!important;grid-row:2!important;display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap!important;gap:8px!important;max-width:100%;min-width:0}
  #task-list .task-row-controls button,#task-list .task-row-controls a{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;background:var(--accent);color:var(--ui-primary-ink);border:1px solid var(--accent);border-radius:0;white-space:nowrap;font-size:12px}
  .ui-workspace-actions{margin-bottom:16px}.ui-group-toggle{padding:10px 8px}.filters>span{display:none!important}
  .mobile-record-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;margin-bottom:12px;align-items:center}
  .mobile-record-search input{width:100%;min-width:0;min-height:42px;padding:8px 10px;font-size:16px}.mobile-record-search button{padding:8px 12px;min-height:42px}
  .mobile-filter-summary{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px;font-size:11px;color:var(--muted)}.mobile-filter-summary:empty{display:none}.mobile-filter-summary span{flex:1;overflow-wrap:anywhere}.mobile-filter-summary a{white-space:nowrap;color:var(--accent)}
  .mobile-filter-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:100%;max-width:100%;height:var(--visible-height,100dvh);max-height:var(--visible-height,100dvh);padding:20px 16px;overflow:auto}
  .mobile-filter-dialog .records-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;border:0;margin:0;padding:0}
  .mobile-filter-dialog .records-filter label{display:flex;flex-direction:column;gap:8px;font-size:12px}.mobile-filter-dialog .records-filter label>.sr-only{position:static;clip-path:none;width:auto;height:auto;overflow:visible}
  .mobile-filter-dialog .records-filter label.records-search{display:none}.mobile-filter-dialog .records-filter input{min-width:0;width:100%;height:44px}
  .mobile-filter-dialog .records-filter>button[type=submit]{grid-column:1/-1;background:var(--accent);color:var(--ui-primary-ink);min-height:44px;margin-top:12px}
  .records-page-head{display:flex;flex-direction:row;align-items:center;padding-bottom:0;margin-bottom:20px}.records-page-head h1{margin:0}.records-page-head .records-count{margin:0;font-size:11px}
  .records-list .record-summary{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;gap:8px 12px;min-height:0;padding:16px 0}
  .records-list .record-target{grid-column:1;grid-row:1;font-size:14px}.records-list .record-state{grid-column:2;grid-row:1}.records-list .record-chevron{grid-column:3;grid-row:1/3;align-self:center}
  .records-list .record-time{grid-column:1;grid-row:2;font-size:11px;min-width:0;white-space:normal}.records-list .record-account{display:block;grid-column:2;grid-row:2;font-size:11px;text-align:right;max-width:120px;overflow-wrap:anywhere}.records-list .record-stage{display:none}
  .record-summary:hover,.record-row:hover{background:transparent}.app-toast-region,.app-runtime-toast-region{bottom:calc(82px + env(safe-area-inset-bottom))}
  body:has(dialog[open]) .app-runtime-toast-region{bottom:16px}
}
.ui-select-popup:not([hidden]){animation:none!important}
.filters[data-motion-tabs],.studio-segments[data-motion-tabs]{position:relative}
.filters[data-motion-tabs] button,.studio-segments[data-motion-tabs] button{border-bottom-color:transparent!important}
.motion-tab-line{position:absolute;left:0;bottom:0;height:2px;background:var(--accent);pointer-events:none;transition:transform 160ms ease-out,width 160ms ease-out}
.task-operation-updated{animation:task-operation-updated 800ms ease-out}
@keyframes task-operation-updated{from{background-color:color-mix(in srgb,var(--accent) 12%,transparent)}to{background-color:transparent}}
@media(prefers-reduced-motion:reduce){.motion-tab-line{transition:none}.task-operation-updated{animation:none}}
.panel,.admin-panel,.account-item,.studio-identity-card,.composer,.ui-card,
button,.button,.admin-button,input,textarea,select,.pill,.badge,.notice,.form-error,
.ui-select .ui-select-trigger,.ui-select-popup,.ui-select-option,dialog,
.studio-profile-menu,.profile-popover,.row-menu-panel,.ui-group-toggle,
.selected-target-chip,.target-option,.friend-option{border-radius:0!important}
.studio-profile-menu a,.studio-profile-menu button,.profile-popover a,.profile-popover button,.row-menu-panel button{border-radius:0!important}
.ui-card{background-image:none;box-shadow:none!important;backdrop-filter:none!important}
.ui-card:before,.ui-card:after{content:none!important}
.filters button,.studio-segments button,.studio-admin-tabs a{border-radius:0!important;border:0;border-bottom:2px solid transparent;background:transparent;box-shadow:none;padding:14px 0;color:var(--muted)}
.filters button.selected,.filters button[aria-pressed=true],.studio-segments button[aria-pressed=true],.studio-admin-tabs a[aria-current]{border-bottom-color:var(--accent);color:var(--ink);background:transparent}
.filters button:before,.filters button:after,.studio-segments button:before,.studio-segments button:after{content:none!important}
.ui-workspace-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.ui-workspace-actions>.ui-select{flex:0 1 220px;width:220px;min-width:0}
.ui-workspace-actions>.ui-select .ui-select-trigger{min-height:38px;padding:8px 12px;background:transparent;font-size:12px}
.ui-workspace-actions>button.submit{flex:0 0 auto;width:auto;min-width:112px;min-height:38px;padding:8px 18px;margin:0 0 0 auto;display:inline-flex;justify-content:center;align-items:center;font-size:12px}
.ui-group-toggle{background:transparent;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
@media(max-width:560px){.ui-workspace-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ui-workspace-actions>.ui-select{width:100%;min-width:0}.ui-workspace-actions>button.submit{grid-column:2;justify-self:end;width:auto;min-height:42px}.ui-workspace-actions>.ui-select .ui-select-trigger{min-height:42px}}
/* Existing-task editor: fixed recipient and intrinsic mobile form sizing. */
.edit-identity{padding:12px 0;color:var(--ink);overflow-wrap:anywhere}
.edit-recipient{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-block:1px solid var(--line)}
.edit-recipient strong{overflow-wrap:anywhere;text-align:right}
.friend-option:has(input:disabled){cursor:default}.friend-option:has(input:disabled) .checkmark{display:none}.friend-option:has(input:disabled) small{color:var(--accent)}
.edit-task-form,.edit-form-grid,.edit-form-grid>label{min-width:0}
.edit-task-form input[type=time]{box-sizing:border-box;width:100%;max-width:100%;min-width:0;appearance:none;-webkit-appearance:none}
@media(max-width:680px){.task-edit-page .task-edit-card{padding:18px 14px}.task-edit-page .edit-heading{margin:16px 0 20px;padding:0 0 16px;gap:12px;align-items:flex-start}.task-edit-page .edit-heading h1{font-size:26px;margin:8px 0 12px}.task-edit-page .edit-heading p{font-size:12px;line-height:1.6;margin:0}.task-edit-page .edit-heading>.pill{align-self:flex-start;white-space:nowrap}.task-edit-page .edit-form-grid{grid-template-columns:minmax(0,1fr)}.edit-task-form input[type=time]::-webkit-date-and-time-value{text-align:left;min-width:0}.task-edit-page .edit-actions{padding-bottom:12px}}
/* iOS time controls must not force their grid track wider than the drawer. */
.composer .two-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.composer .two-fields>div{min-width:0}
.composer input[type=time]{box-sizing:border-box!important;appearance:none;-webkit-appearance:none;width:100%;min-width:0;max-width:100%;min-height:45px}
.composer input[type=time]::-webkit-date-and-time-value{min-width:0;text-align:left}
@media(max-width:520px){.composer .two-fields{grid-template-columns:minmax(0,1fr);gap:18px}.composer .two-fields input,.composer .two-fields .ui-select-trigger{font-size:16px;min-height:46px}}
