/* A common field grid and glass surface for workspace and admin forms. */
.vf-page {
  --vf-panel:linear-gradient(140deg,var(--workspace-forms-vf-panel),var(--workspace-forms-vf-panel-2));
  --vf-field:var(--workspace-forms-vf-field);
  --vf-outline:var(--liquid-fallback-shadow);
  --vf-rule:var(--sidebar-border);
}
.vf-heading { margin:0 0 16px; }
.vf-heading h1 { font-size:clamp(26px,3vw,32px); font-weight:550; line-height:1.04; margin:9px 0 7px; }
.vf-heading p,.vf-panel p { color:var(--muted); margin:0; line-height:1.5; font-size:12px; }
.vf-tabs { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin:0 0 16px; }
.vf-tabs a {
  padding:8px 12px;
  border-radius:9px;
  border:1px solid var(--vf-outline);
  background:var(--liquid-home-background);
  font-size:11px;
  font-weight:500;
  color:var(--text);
}
.vf-tabs a:hover { background:var(--creditbox-background-2); }
.vf-tabs a[aria-current=page] { background:var(--vf-tabs-background); color:var(--platform-usage-pu-card-base); border-color:var(--surface-switch-background-3); }
.vf-page :is(.vf-panel,.help-article) {
  width:100%; max-width:none; min-width:0;
  border:1px solid var(--vf-outline); border-radius:18px; padding:21px 23px;
  background:var(--vf-panel); backdrop-filter:blur(24px); box-shadow:inset 0 1px var(--vf-page-shadow),0 10px 30px var(--surface-switch-shadow-3);
}
.vf-panel>h2 { font-size:16px; margin:0 0 17px; font-weight:600; }
.vf-profile-banner { display:flex; align-items:center; gap:13px; margin-bottom:21px; min-width:0; }
.vf-profile-banner h3,.vf-profile-banner h2 { font-size:15px; font-weight:600; margin:0 0 4px; overflow-wrap:anywhere; }
.vf-profile-banner p { font-size:11px; overflow-wrap:anywhere; }
.vf-page .vf-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px 18px; }
.vf-field-wide { grid-column:1/-1; }
.vf-page .field { margin:0; min-width:0; }
.vf-page :is(.vf-inner,.account-heading) + form .field,.vf-inner form { margin-top:13px; }
.vf-page .field label,.vf-feature-list legend { display:block; margin-bottom:7px; color:var(--text); font-size:11px; font-weight:500; }
.vf-page .field :is(input,select,textarea),.dialog .field :is(input,select,textarea) {
  width:100%; min-width:0; min-height:40px;
  padding:9px 11px;
  border:1px solid var(--vf-outline, var(--line));
  border-radius:8px;
  background:var(--vf-field,var(--surface-switch-shadow-3));
  color:var(--text);
  font:inherit; font-size:12px;
}
.vf-page .field textarea,.dialog .field textarea { resize:vertical; min-height:92px; }
.vf-page .field select option,.dialog .field select option { background:var(--bg); color:var(--text); }
.vf-page .field :is(input,textarea)::placeholder,.dialog .field :is(input,textarea)::placeholder { color:var(--muted); }
.vf-page .field :is(input,select,textarea):focus-visible,.dialog .field :is(input,select,textarea):focus-visible {
  outline:2px solid var(--muted);
  outline-offset:2px;
}
.vf-footer { display:flex; justify-content:space-between; align-items:center; gap:10px; border-top:1px solid var(--vf-rule); margin-top:18px; padding-top:14px; }
.vf-footer>span { color:var(--muted); font-size:10px; }
.vf-footer>button { margin-left:auto; }
.vf-billing { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.vf-inner { min-width:0; border:1px solid var(--vf-rule); border-radius:12px; padding:15px; background:var(--backup-codes-background); }
.vf-inner h3 { margin:0 0 6px; font-size:13px; }
.vf-inner p { margin:0 0 10px; font-size:11px; }
.vf-inner>p+h3 { margin-top:14px; }
.vf-subhead { display:flex; align-items:start; justify-content:space-between; gap:8px; }
.vf-price { display:block; margin:10px 0 6px; font-size:24px; }
.vf-price small { font-size:11px; color:var(--muted); font-weight:400; }
.vf-invoices>div,.vf-people>div { display:flex; align-items:center; gap:8px; padding:8px 0; border-top:1px solid var(--vf-rule); font-size:11px; }
.vf-invoices>div>span:nth-child(2) { margin-left:auto; white-space:nowrap; color:var(--muted); font-size:10px; }
.vf-invoices .outline { padding:4px 7px; font-size:10px; }
.vf-people small { display:block; margin-top:3px; color:var(--muted); font-size:10px; }
.vf-feature-list { min-width:0; border:0; padding:0; margin:19px 0 0; }
.vf-feature-list>div { display:flex; align-items:center; justify-content:space-between; padding:9px 0; border-top:1px solid var(--vf-rule); font-size:12px; }
.vf-feature-list .switch { flex:none; cursor:pointer; }
.vf-support .help-search,.vf-support .help-grid { margin:0 0 15px; }
.vf-support .help-search { padding:14px 20px; }
.vf-support .help-search input { height:39px; border-radius:8px; border-color:var(--vf-outline); background:var(--vf-field); color:var(--text); }
.vf-support .help-article { padding:17px; text-align:left; }
.vf-support .help-article p { min-height:45px; font-size:11px; margin-bottom:9px; }
.vf-panel .two-factor-layout+.field,.vf-panel .two-factor-layout+form .field { margin-top:10px; }
.vf-panel .two-factor-layout+form button { margin-top:10px; }
.vf-panel .preference-head { margin-top:10px; }

.avatar.person-avatar { display:inline-grid; place-items:center; flex-shrink:0; padding:0; overflow:hidden; vertical-align:middle; }
.person-avatar img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.person-avatar.person-avatar-circle { border-radius:50%; }
.person-avatar.person-avatar-header { width:27px; height:27px; }
.person-avatar.person-avatar-md { width:36px; height:36px; border-radius:50%; }
.person-avatar.person-avatar-lg { width:56px; height:56px; border-radius:13px; }
.person-stack { display:inline-flex; align-items:center; margin-right:4px; }
.person-stack .avatar { width:19px; height:19px; border-radius:50%; border:1px solid var(--line); }
.person-stack .avatar+.avatar { margin-left:-5px; }

html[data-theme=light] .vf-page {
  --vf-panel:linear-gradient(140deg,var(--workspace-forms-vf-panel-3),var(--workspace-forms-vf-panel-4));
  --vf-field:var(--creation-modes-border); --vf-outline:var(--workspace-forms-vf-outline); --vf-rule:var(--workspace-forms-vf-rule);
}
html[data-theme=light] .vf-page :is(.vf-panel,.help-article) {
  background:var(--vf-panel); border-color:var(--vf-page-border); box-shadow:inset 0 1px var(--surface-switch-text-3),0 9px 25px var(--admin-bento-shadow-2);
}
html[data-theme=light] .vf-tabs a { background:var(--device-background-2); }
html[data-theme=light] .vf-tabs a[aria-current=page] { background:var(--preview-background); color:var(--surface-switch-text-3); }
html[data-theme=light] .vf-inner { background:var(--vf-inner-background); }
html[data-theme=light] .dialog .field :is(input,select,textarea) { background:var(--dialog-background-7); color:var(--text); border-color:var(--dialog-border); }
@media(max-width:640px) {
  .vf-page :is(.vf-panel,.help-article) { padding:15px; }
  .vf-page .vf-fields,.vf-billing { grid-template-columns:minmax(0,1fr); gap:12px; }
  .vf-footer { flex-wrap:wrap; }
  .vf-tabs a { padding:7px 9px; }
  .vf-support .help-article p { min-height:0; }
}
