/* A quieter capture field, using the app's existing gray palette and controls. */
html.minimal-ui body :is(.composer .composer-entry,.ec-search){gap:8px;align-items:center}
html.minimal-ui body :is(.composer .composer-entry>.composer-line,.ec-search>.ec-field,.ep-search>.ep-query){border-width:1px!important;padding:3px 5px;opacity:1;box-shadow:0 2px 10px #00000006!important}
html.minimal-ui body :is(.composer:not(.composer-rename-active) .composer-entry:not(.name-saved-flash)>.composer-line:not(.argh-input-saving),.ec-search>.ec-field,.ep-search>.ep-query){border-color:var(--color-gray-light,#a6a6a6)!important;background:rgba(247,247,247,.96)!important;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
html.minimal-ui body :is(.composer .composer-line #quickCapture,.ec-field #ec-query,.ep-query input){background:transparent!important;padding-inline:12px;color:var(--color-gray-dark,#404040)}
html.minimal-ui body :is(.composer .composer-line #quickCapture,.ec-field #ec-query,.ep-query input)::placeholder{color:var(--color-gray,#5a5a5a);opacity:1}
html.minimal-ui body .composer .composer-line>#quickMic:not(.listening){color:var(--color-gray,#5a5a5a)!important;margin-right:0}
html.minimal-ui body :is(.composer .composer-entry>#captureIntent,.ec-search>.ec-search-icon,.ep-search>[data-search-intent]){transform:none;opacity:1}
html.minimal-ui body .composer #captureIntent svg>path[d="M12 6v12M6 12h12"]{stroke:var(--color-gray,#5a5a5a);stroke-width:1.6}

html.minimal-ui body :is(.composer #quickCapture[placeholder="???"],#ec-query)::placeholder{
  font-size:1.15em;color:#888!important;-webkit-text-fill-color:#888!important;
}
html.minimal-ui body :is(.composer #quickCapture[placeholder="???"],#ec-query):focus::placeholder{
  opacity:0;-webkit-text-fill-color:transparent!important;
}

.capture-people-tray:not([hidden]){display:flex;flex-wrap:wrap;gap:4px;padding:0 0 4px 48px}
.capture-people-tray .assignee-avatar{width:26px;height:26px}

html.minimal-ui body :is(.composer .composer-entry>#captureIntent,.ec-search>.ec-search-icon,.ep-search>[data-search-intent]){
  box-sizing:border-box;display:grid;place-items:center;
  border:1px solid var(--color-gray-light,#a6a6a6)!important;
  border-radius:50%!important;background:rgba(247,247,247,.96)!important;
}
html.minimal-ui body :is(.composer .composer-entry>#captureIntent,.ec-search>.ec-search-icon,.ep-search>[data-search-intent])>svg{
  display:block;width:22px!important;height:22px!important;flex:none;stroke-width:1.8;
}
html.minimal-ui body .composer .composer-entry>#captureIntent>svg:has(>path[d="M12 6v12M6 12h12"])>circle{display:none}

/* Keep the primary capture centered within the phone viewport. */
@media(max-width:600px){
  html.minimal-ui body :is(.app>.composer,.ec-dock){position:fixed!important;left:0!important;right:0!important;bottom:0!important;width:100vw;max-width:100vw;box-sizing:border-box;margin:0!important;padding-left:max(16px,env(safe-area-inset-left))!important;padding-right:max(16px,env(safe-area-inset-right))!important}
  html.minimal-ui body :is(.app>.composer .composer-entry,.ec-dock .ec-search){width:100%;max-width:560px;margin-inline:auto;box-sizing:border-box}
  html.minimal-ui body :is(.app>.composer .composer-entry>#captureIntent,.ec-search>.ec-search-icon,.ep-search>[data-search-intent]){flex:0 0 44px;min-width:44px}
  html.minimal-ui body :is(.app>.composer .composer-entry>.composer-line,.ec-search>.ec-field,.ep-search>.ep-query){min-width:0;margin-right:0}
}
