@font-face {
  font-family:Bricolage;
  src:url('/assets/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight:400 800;
  font-style:normal;
  font-display:swap;
}
:root {
  color-scheme:light;
  --ink:#202020;
  --muted:#73736d;
  --line:#e5e5df;
  --paper:#f7f7f5;
  --accent:#f9cf43;
  --green:#202020;
  --mint:#fff5d1;
  --orange:#9a6409;
  font-family:Bricolage,Arial,sans-serif;
  font-synthesis:none;
  color:var(--ink);
  background:var(--paper);
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
  font-size:16px;
  line-height:1.5;
}
button,input,select,textarea {
  font:inherit;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
a {
  color:inherit;
  text-underline-offset:3px;
}
button {
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid #dcdcd5;
  border-radius:7px;
  background:#fff;
  padding:10px 15px;
  min-height:40px;
  color:var(--ink);
  font-size:14px;
  font-weight:550;
  line-height:1.4;
  transition:background .15s,border-color .15s;
}
button:hover {
  background:#f4f4ef;
  border-color:#c9c9bf;
}
button:disabled {
  opacity:.5;
  cursor:default;
}
button.primary {
  background:var(--accent);
  border-color:#e9bd36;
  color:#202020;
  font-weight:700;
  box-shadow:0 2px 0 #dcb239;
}
button.primary:hover {
  background:#ffdb64;
}
button.quiet {
  background:transparent;
  border-color:transparent;
  color:#66665f;
}
button.danger,#cancel,#revoke-plugin,button[value=rejected],#decline {
  color:#a53526;
}
button.danger:hover,#cancel:hover,#revoke-plugin:hover,button[value=rejected]:hover,#decline:hover {
  background:#fff3ef;
  border-color:#e5b9ab;
}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline:3px solid #ae871c;
  outline-offset:3px;
}
input,select,textarea {
  padding:11px 13px;
  border:1px solid #dcdcd5;
  border-radius:7px;
  background:#fff;
  color:var(--ink);
  width:100%;
  max-width:100%;
  outline:none;
  font-size:16px;
  line-height:1.5;
}
input:focus,select:focus,textarea:focus {
  border-color:#ba951d;
  box-shadow:0 0 0 3px #f9cf432c;
}
input::placeholder,textarea::placeholder {
  color:#64645f;
}
label {
  display:block;
  font-size:14px;
  font-weight:600;
  margin:19px 0 8px;
}
label [aria-label=required] {
  color:#9c6f14;
}
textarea {
  resize:vertical;
  min-height:104px;
}
small {
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}
h1,h2,h3,p {
  margin-top:0;
}
h1,h2,h3 {
  color:var(--ink);
  line-height:1.2;
}
h1 {
  font-size:34px;
  letter-spacing:-1.2px;
  margin-bottom:10px;
  font-weight:750;
}
h2 {
  font-size:24px;
  letter-spacing:-.65px;
}
h3 {
  font-size:16px;
  letter-spacing:-.25px;
  font-weight:650;
}
p {
  line-height:1.7;
  color:var(--muted);
  margin-bottom:16px;
}
[hidden] {
  display:none!important;
}
.ui-icon {
  display:inline-block;
  width:18px;
  height:18px;
  vertical-align:middle;
  flex-shrink:0;
}
.brand {
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
  text-decoration:none;
}
.brand img {
  width:150px;
  height:auto;
  display:block;
}
.eyebrow {
  display:block;
  font-size:14px;
  letter-spacing:.08em;
  color:#64645f;
  font-weight:600;
  margin-bottom:13px;
}
.text-link {
  display:inline-flex;
  gap:7px;
  align-items:center;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
}
.text-link:hover {
  text-decoration:underline;
}
.sidebar {
  position:fixed;
  width:240px;
  top:0;
  bottom:0;
  border-right:1px solid var(--line);
  padding:30px 18px 20px;
  background:#fff;
  display:flex;
  flex-direction:column;
  z-index:10;
}
.sidebar-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 5px;
}
.sidebar .brand img {
  width:139px;
}
#nav {
  display:grid;
  gap:5px;
}
#nav button {
  justify-content:flex-start;
  text-align:left;
  gap:12px;
  width:100%;
  padding:11px 13px;
  border:1px solid transparent;
  background:transparent;
  color:#73736c;
  min-height:44px;
}
#nav button:hover {
  background:#f5f5f1;
  color:var(--ink);
}
#nav button.active {
  color:var(--ink);
  background:#fff2bf;
  border-color:#f4e7af;
  font-weight:650;
}
#nav .ui-icon {
  opacity:.72;
}
#nav button.active .ui-icon {
  opacity:1;
}
#nav b {
  margin-left:auto;
  background:#eeeeE8;
  border:1px solid #e5e5dc;
  font-size:14px;
  font-weight:500;
  padding:1px 6px;
  border-radius:4px;
  color:#65655c;
}
.sidebar-bottom {
  margin-top:auto;
  padding-top:28px;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.sidebar-help {
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  font-size:14px;
  padding:10px 12px;
  color:#77776e;
}
.sidebar-help>.ui-icon:last-child {
  margin-left:auto;
  width:14px;
  height:14px;
}
.sidebar-help:hover {
  color:#202020;
}
.sidebar-bottom #logout {
  justify-content:flex-start;
  gap:10px;
  padding:10px 12px;
  font-size:14px;
}
.sidebar-bottom>small {
  padding:11px 12px 0;
  border-top:1px solid var(--line);
  font-size:14px;
  color:#64645f;
  margin-top:10px;
}
.workspace-main {
  margin-left:240px;
  min-width:0;
}
.workspace-header {
  height:76px;
  padding:0 34px;
  border-bottom:1px solid var(--line);
  background:#ffffffed;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  position:sticky;
  top:0;
  z-index:5;
}
.workspace-header #breadcrumb {
  font-size:14px;
  color:#77776e;
}
.workspace-header #breadcrumb span {
  margin:0 12px;
  color:#b5b5aa;
}
.header-actions {
  display:flex;
  align-items:center;
  gap:16px;
}
.icon-button {
  padding:8px;
  min-width:36px;
  min-height:36px;
}
.icon-button .ui-icon {
  display:block;
  width:18px;
  height:18px;
}
#content {
  padding:35px 34px 50px;
  max-width:1620px;
  margin-inline:auto;
  min-width:0;
}
.page-top {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  margin-bottom:30px;
}
.page-top>div:first-child {
  min-width:0;
}
.page-top p {
  font-size:16px;
  max-width:720px;
  margin:0;
}
.page-top>.actions {
  padding-top:24px;
  flex-shrink:0;
}
.actions {
  display:flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap;
}
.actions button {
  font-size:14px;
}
.studio {
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:23px;
  align-items:start;
}
.panel {
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  overflow:hidden;
  min-width:0;
}
.panel-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:19px 23px;
  border-bottom:1px solid var(--line);
  min-height:62px;
}
.panel-head h3 {
  font-size:16px;
  font-weight:650;
  margin:0;
}
.panel-head small {
  font-size:14px;
}
.panel-head .actions {
  gap:7px;
}
.panel-body {
  padding:24px;
}
.panel-body h3 {
  margin-bottom:8px;
}
.panel-body>p:last-child {
  margin-bottom:0;
}
.badge {
  display:inline-block;
  font-size:14px;
  line-height:1.4;
  font-weight:550;
  padding:5px 8px;
  border:1px solid #e4e4dc;
  border-radius:5px;
  background:#f6f6f2;
  color:#77776b;
  white-space:normal;
  overflow-wrap:anywhere;
}
.badge.waiting,.badge.queued,.badge.sleeping {
  background:#fff8df;
  border-color:#f0e2b1;
  color:#937021;
}
.badge.failed,.badge.cancelled,.badge.rejected {
  background:#fff0eb;
  border-color:#edd3cb;
  color:#ad4834;
}
.badge.running {
  background:#eff5ff;
  border-color:#dbe5f5;
  color:#4b6b96;
}
.badge.completed,.badge.published,.badge.connected,.badge.saved {
  background:#edf7ee;
  border-color:#d8e9d8;
  color:#418050;
}
.tabs {
  display:flex;
  align-items:center;
  gap:24px;
  padding:0 23px;
  border-bottom:1px solid var(--line);
  background:#fff;
}
.tabs button {
  border:0;
  border-bottom:2px solid transparent;
  border-radius:0;
  min-height:48px;
  background:transparent;
  padding:13px 0;
  color:#89897e;
  font-size:14px;
}
.tabs button.active {
  color:#292921;
  border-bottom-color:#d7ab24;
  font-weight:650;
}
.canvas {
  overflow:auto;
  background:#fafaf8;
  max-height:620px;
  min-height:450px;
  padding-block:10px;
}
.canvas svg {
  display:block;
  min-width:540px;
  width:100%;
  max-width:690px;
  height:auto;
  margin-inline:auto;
}
.graph-edge {
  fill:none;
  stroke:#babab0;
  stroke-width:1.35;
}
.graph-edge.secondary {
  stroke:#d3d3c8;
  stroke-dasharray:4 4;
}
.edge-label {
  font-size:14px;
  fill:#919187;
  paint-order:stroke;
  stroke:#fafaf8;
  stroke-width:4px;
}
.graph-node {
  cursor:pointer;
}
.graph-node>rect:first-child {
  fill:#fff;
  stroke:#d9d9cf;
  stroke-width:1;
}
.graph-node:hover>rect:first-child,.graph-node.selected>rect:first-child {
  stroke:#c4a13b;
  stroke-width:2;
}
.graph-node:focus-visible>rect:first-child {
  stroke:#9a751a;
  stroke-width:3;
}
.graph-node .node-icon {
  fill:#f4f2e7;
  stroke:none;
}
.node-label {
  font-size:14px;
  font-weight:650;
  fill:#30302a;
}
.node-kind {
  font-size:14px;
  fill:#97978c;
  letter-spacing:.65px;
}
.canvas-footer {
  display:flex;
  justify-content:space-between;
  gap:15px;
  padding:14px 22px;
  border-top:1px solid var(--line);
  font-size:14px;
  color:#64645f;
}
.step-detail {
  padding:20px 23px;
  border-top:1px solid var(--line);
  font-size:14px;
  background:#fffdf4;
}
.workflow-select {
  width:auto;
  max-width:220px;
  padding:8px 30px 8px 10px;
  font-size:14px;
}
.request-panel .panel-body {
  padding:22px;
}
.request-panel p {
  font-size:14px;
  margin-bottom:16px;
}
.request-panel h3 {
  font-size:16px;
}
.request-panel label {
  font-size:14px;
  margin-top:15px;
}
.request-panel input,.request-panel select,.request-panel textarea {
  font-size:14px;
  padding:10px;
}
.request-panel .full {
  min-height:43px;
  margin-top:23px;
}
.full {
  width:100%;
  margin-top:20px;
}
.mini-note {
  font-size:14px!important;
  line-height:1.7;
  color:#64645f;
  background:#f8f8f4;
  padding:12px;
  border-radius:6px;
}
.dot {
  width:6px;
  height:6px;
  background:#53855a;
  display:inline-block;
  border-radius:50%;
  margin-right:6px;
}
.row-list {
  display:grid;
  gap:14px;
  margin-bottom:22px;
}
.list-card {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:22px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:9px;
  padding:24px;
}
.list-card>div:first-child {
  min-width:0;
}
.list-card h3 {
  font-size:17px;
  margin:0 0 7px;
  overflow-wrap:anywhere;
}
.list-card p {
  font-size:14px;
  margin:0;
}
.definition-heading {
  display:flex;
  gap:18px;
  align-items:center;
}
.definition-icon {
  width:46px;
  height:50px;
  flex-shrink:0;
  background:#f7f4e8;
  display:grid;
  place-items:center;
  border-radius:8px;
}
.definition-icon .ui-icon {
  width:24px;
  height:24px;
}
.list-card .actions {
  flex-shrink:0;
}
.table-wrap {
  overflow:auto;
  max-width:100%;
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  min-width:650px;
}
th {
  font-size:14px;
  letter-spacing:.035em;
  font-weight:600;
  background:#fcfcfa;
  color:#64645f;
  padding:15px 22px;
  white-space:nowrap;
}
td {
  padding:20px 22px;
  border-top:1px solid var(--line);
  font-size:14px;
  color:#66665c;
  vertical-align:middle;
}
td:first-child {
  color:#2a2a24;
}
td small {
  font-size:14px;
}
tr.clickable {
  cursor:pointer;
}
tr.clickable:hover td {
  background:#fffdf1;
}
td button.quiet {
  padding:0;
  min-height:24px;
  color:#24241f;
  font-weight:650;
}
td button.quiet:hover {
  text-decoration:underline;
}
.run-layout {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:24px;
  align-items:start;
}
.task-card {
  border:1px solid var(--line);
  border-radius:7px;
  background:#fff;
  padding:20px;
  margin-bottom:15px;
}
.task-card h3 {
  margin-bottom:8px;
}
.task-card p {
  font-size:14px;
  margin-bottom:13px;
}
.task-card .actions {
  margin-top:18px;
}
.task-card>a {
  display:block;
  margin-top:12px;
  font-size:14px;
}
.timeline {
  list-style:none;
  margin:0;
  padding:0;
}
.timeline li {
  position:relative;
  padding:0 0 25px 24px;
  border-left:1px solid #e5e5dc;
  margin-left:4px;
  font-size:14px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.timeline li:before {
  content:'';
  position:absolute;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#c6b66f;
  left:-4px;
  top:5px;
}
.timeline li:last-child {
  padding-bottom:0;
  border-left-color:transparent;
}
.timeline strong {
  font-weight:600;
}
.timeline small {
  display:block;
  font-size:14px;
  margin-top:6px;
  color:#64645f;
}
.empty {
  padding:76px 24px;
  text-align:center;
  color:var(--muted);
}
.empty .empty-icon {
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  margin:0 auto 23px;
  border-radius:12px;
  background:#f6f4e9;
}
.empty-icon .ui-icon {
  width:28px;
  height:28px;
  opacity:.6;
}
.empty h2 {
  font-size:24px;
  margin-bottom:12px;
}
.empty p {
  font-size:16px;
  max-width:420px;
  margin:0 auto;
}
.code {
  background:#f8f8f4;
  border:1px solid var(--line);
  border-radius:6px;
  padding:16px;
  font:12px/1.7 ui-monospace,monospace;
  color:#6c6c5d;
  overflow:auto;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.error {
  font-size:14px;
  color:#aa402c;
  margin-top:12px;
}
.wide-note {
  border:1px solid #e7e2cd;
  border-radius:8px;
  background:#fffdf2;
  color:#8b8160;
  padding:17px 20px;
  font-size:14px;
  line-height:1.75;
  margin-bottom:24px;
}
.wide-note p {
  color:inherit;
  margin-bottom:8px;
}
.wide-note p:last-child {
  margin:0;
}
.wide-note.error {
  border-color:#edcfc6;
  background:#fff5f1;
  color:#a04733;
}
.key-value {
  display:grid;
  grid-template-columns:135px minmax(0,1fr);
  gap:18px;
  padding:15px 0;
  border-bottom:1px solid var(--line);
  font-size:14px;
  line-height:1.6;
}
.key-value:last-child {
  border-bottom:0;
}
.key-value>* {
  min-width:0;
  overflow-wrap:anywhere;
}
.key-value strong {
  font-weight:500;
  color:#8b8b7f;
}
.link-button {
  font-weight:600;
}
.connections-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  align-items:start;
}
.connections-grid>.connection-wide,.connections-grid>details,.connections-grid>.list-card {
  grid-column:1/-1;
}
.connection-title {
  display:flex;
  align-items:center;
  gap:13px;
}
.connection-title>img {
  width:31px;
  height:35px;
  object-fit:contain;
}
.connection-title h3 {
  font-size:16px;
}
.connection-title p {
  font-size:14px;
  margin:3px 0 0;
  color:#64645f;
}
.connection-card .panel-head {
  padding:23px;
}
.connection-card .panel-body>p {
  font-size:14px;
}
.connection-card .panel-body>button {
  margin:2px 5px 12px 0;
}
.connection-card .panel-body>p>a {
  font-size:14px;
}
.connection-wide .panel-body>p {
  max-width:900px;
  font-size:14px;
}
.connection-wide .panel-body details {
  margin-top:20px;
  border-top:1px solid var(--line);
  padding-top:17px;
}
summary {
  cursor:pointer;
  font-size:14px;
  font-weight:600;
  line-height:1.6;
}
details>summary:focus-visible {
  border-radius:3px;
}
.panel>summary.panel-head {
  border-bottom:0;
  list-style:none;
  padding:21px 23px;
  font-size:14px;
}
.panel>summary.panel-head::-webkit-details-marker {
  display:none;
}
.panel>summary.panel-head:after {
  content:'';
  width:16px;
  height:16px;
  background:url('/assets/icons/plus.svg') center/contain no-repeat;
  flex-shrink:0;
}
.panel[open]>summary.panel-head {
  border-bottom:1px solid var(--line);
}
.panel[open]>summary.panel-head:after {
  transform:rotate(45deg);
}
.login {
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:#fff;
}
.login-card {
  padding:55px 40px;
  max-width:510px;
  width:100%;
  margin:auto;
}
.login-card>.brand {
  margin-bottom:70px;
}
.login-card>.brand img {
  width:170px;
}
.login-heading h1 {
  font-size:46px;
  letter-spacing:-1.8px;
  margin-bottom:18px;
  font-weight:800;
}
.login-heading p {
  font-size:16px;
  line-height:1.7;
  max-width:390px;
}
.login-card label {
  margin-top:31px;
}
.login-card input {
  min-height:49px;
}
.login-card form button {
  width:100%;
  min-height:49px;
  margin-top:18px;
  font-size:16px;
}
.hint {
  font-size:14px;
  color:#8c8c80;
  line-height:1.7;
}
.login-card .hint {
  margin-top:19px;
}
.login-card .text-link {
  margin-top:17px;
}
.login-footnote {
  display:block;
  margin-top:40px;
  font-size:14px;
  color:#64645f;
}
#toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  background:#25251f;
  color:#fff;
  box-shadow:0 8px 35px #0002;
  border-radius:8px;
  padding:15px 22px;
  font-size:14px;
  z-index:100;
  max-width:min(560px,calc(100vw - 32px));
  line-height:1.6;
}
dialog {
  border:1px solid #d9d9d0;
  border-radius:12px;
  padding:30px;
  width:min(820px,calc(100% - 40px));
  max-height:calc(100dvh - 40px);
  color:var(--ink);
  background:#fff;
  box-shadow:0 20px 70px #0002;
}
dialog::backdrop {
  background:#20201f66;
}
.dialog-title,.dialog-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}
.dialog-title h2 {
  margin:0;
}
.dialog-title .eyebrow {
  margin-bottom:7px;
  font-size:14px;
}
.dialog-footer {
  justify-content:flex-end;
  margin-top:20px;
  border-top:1px solid var(--line);
  padding-top:20px;
}
dialog p {
  font-size:14px;
  margin:21px 0 17px;
}
.recipient-body {
  background:#f7f7f4;
}
.task-page {
  max-width:850px;
  margin:42px auto 60px;
  padding:0 24px;
}
.task-brand {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:35px;
}
.task-brand .brand img {
  width:151px;
}
.private-label {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:14px;
  color:#64645f;
}
.private-label .ui-icon {
  width:15px;
  height:15px;
  opacity:.65;
}
.task-page .panel-head {
  background:#fcfcfa;
}
.task-page .panel-head h3 {
  text-transform:capitalize;
}
.task-page .panel-body {
  padding:34px;
  overflow-wrap:anywhere;
}
.task-page h1 {
  font-size:31px;
  margin-bottom:14px;
}
.task-page .panel-body>p {
  font-size:16px;
}
.task-page iframe {
  width:100%;
  height:500px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#fafaf7;
}
.task-page #document-download {
  display:inline-flex;
  gap:8px;
  align-items:center;
  font-size:14px;
  font-weight:650;
  color:#6b5717;
}
.task-page details {
  border:1px solid var(--line);
  border-radius:7px;
  margin:24px 0;
  padding:16px 20px;
  background:#fcfcfa;
}
.task-page details summary {
  font-size:14px;
}
.task-page #task-form {
  border-top:1px solid var(--line);
  padding-top:3px;
}
.task-page #signature-pad {
  border-color:#d9d9cd!important;
  border-radius:7px!important;
}
.task-page #clear-signature {
  font-size:14px;
  margin-top:10px;
  min-height:32px;
  padding:7px 11px;
}
.signature-consent-note {
  margin:18px 0 0!important;
  color:var(--muted);
  font-size:13px!important;
  line-height:1.5;
}
.task-page .task-comment {
  min-height:68px;
  height:68px;
  resize:vertical;
}
.task-footnote {
  text-align:center;
  font-size:14px;
  color:#64645f;
  margin-top:25px;
}
.task-page .actions {
  gap:10px;
}
.task-page .actions button {
  font-size:14px;
  min-height:44px;
}
@media(min-width:1550px) {
  #content {
    padding:42px;
  }
  .studio {
    grid-template-columns:minmax(0,1fr) 340px;
  }
  .canvas {
    max-height:720px;
  }
}
@media(max-width:1200px) {
  .sidebar {
    width:210px;
    padding-inline:15px;
  }
  .sidebar-top {
    gap:7px;
  }
  .sidebar .brand img {
    width:127px;
  }
  .workspace-main {
    margin-left:210px;
  }
  .workspace-header {
    padding-inline:25px;
  }
  #content {
    padding:30px 25px;
  }
  .page-top {
    gap:18px;
  }
  .page-top>.actions {
    padding-top:0;
  }
  .studio {
    grid-template-columns:minmax(0,1fr) 285px;
    gap:18px;
  }
  .workflow-select {
    max-width:170px;
  }
  .panel-head {
    padding:18px;
  }
  .panel-head .actions {
    flex-wrap:wrap;
  }
  .canvas-footer {
    padding-inline:18px;
  }
  .request-panel .panel-body {
    padding:19px;
  }
}
@media(max-width:1050px) {
  .studio {
    grid-template-columns:minmax(0,1fr);
  }
  .request-panel {
    margin-top:3px;
  }
  .request-panel .panel-body {
    padding:24px;
  }
  .request-panel form {
    max-width:620px;
  }
  .page-top {
    flex-wrap:wrap;
  }
  .page-top>.actions {
    padding:0;
  }
  .connections-grid,.run-layout {
    grid-template-columns:minmax(0,1fr);
  }
  .canvas {
    max-height:580px;
  }
  .login-card {
    padding-inline:35px;
  }
}
@media(max-width:800px) {
  .sidebar {
    width:190px;
    padding:25px 12px 18px;
  }
  .sidebar .brand img {
    width:143px;
  }
  .workspace-main {
    margin-left:190px;
  }
  .workspace-header {
    padding-inline:22px;
    gap:12px;
  }
  #content {
    padding:28px 22px;
  }
  .header-actions {
    gap:9px;
  }
  .page-top h1 {
    font-size:30px;
  }
  .page-top p {
    font-size:14px;
  }
  .list-card {
    flex-wrap:wrap;
    gap:18px;
  }
  .list-card .actions {
    margin-left:64px;
  }
  .panel-head {
    flex-wrap:wrap;
    gap:12px;
  }
  .panel-head .actions {
    margin-left:auto;
  }
  .login {
    grid-template-columns:1fr;
  }
  .login-card {
    max-width:480px;
    padding:50px 30px;
  }
  .login-card>.brand {
    margin-bottom:58px;
  }
}
@media(max-width:640px) {
  .login-card input,.request-panel input,.request-panel select,.request-panel textarea,.task-page input,.task-page select,.task-page textarea {
    font-size:16px;
  }
  .sidebar {
    position:static;
    width:100%;
    height:auto;
    padding:20px 18px 13px;
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .sidebar-top {
    padding:0 2px;
  }
  .sidebar .brand img {
    width:142px;
  }
  #nav {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
    margin-top:22px;
  }
  #nav button {
    padding:10px 9px;
    gap:8px;
    font-size:14px;
    min-height:39px;
  }
  #nav .ui-icon {
    width:16px;
    height:16px;
  }
  #nav b {
    padding:0 4px;
    font-size:14px;
    margin-left:0;
  }
  .sidebar-bottom {
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    padding:10px 0 0;
    margin:0;
    gap:5px;
  }
  .sidebar-help {
    font-size:14px;
    padding:7px 4px;
    gap:6px;
  }
  .sidebar-help>.ui-icon {
    width:14px;
    height:14px;
  }
  .sidebar-help>.ui-icon:last-child {
    width:12px;
    height:12px;
  }
  .sidebar-bottom #logout {
    padding:7px 4px;
    font-size:14px;
    min-height:32px;
    gap:6px;
  }
  .sidebar-bottom #logout .ui-icon {
    width:14px;
    height:14px;
  }
  .sidebar-bottom>small {
    display:none;
  }
  .workspace-main {
    margin-left:0;
  }
  .workspace-header {
    height:56px;
    padding:0 20px;
  }
  .workspace-header #breadcrumb {
    font-size:14px;
  }
  .workspace-header #breadcrumb span {
    margin:0 8px;
  }
  .header-actions .icon-button {
    min-height:31px;
    min-width:31px;
    padding:6px;
  }
  .header-actions .ui-icon {
    width:16px;
    height:16px;
  }
  #content {
    padding:25px 18px 40px;
  }
  .page-top {
    gap:18px;
    margin-bottom:23px;
  }
  .page-top h1 {
    font-size:30px;
  }
  .page-top p {
    font-size:14px;
  }
  .page-top>.actions {
    width:100%;
    gap:8px;
  }
  .page-top>.actions button {
    font-size:14px;
  }
  .eyebrow {
    font-size:14px;
    margin-bottom:10px;
  }
  .panel-head {
    padding:17px 18px;
    min-height:58px;
  }
  .panel-head h3 {
    font-size:16px;
  }
  .panel-head .actions {
    gap:6px;
  }
  .workflow-select {
    font-size:14px;
    max-width:155px;
    padding:8px;
  }
  .panel-head .actions button {
    min-height:33px;
    padding:7px;
  }
  .tabs {
    padding-inline:18px;
    gap:18px;
  }
  .tabs button {
    font-size:14px;
  }
  .canvas {
    min-height:400px;
    max-height:510px;
  }
  .canvas-footer {
    padding:12px 15px;
    font-size:14px;
    gap:10px;
    flex-wrap:wrap;
  }
  .canvas-footer>span:last-child {
    color:#64645f;
  }
  .panel-body {
    padding:21px;
  }
  .request-panel .panel-body {
    padding:21px;
  }
  .list-card {
    padding:21px;
    gap:17px;
  }
  .list-card h3 {
    font-size:16px;
  }
  .definition-heading {
    gap:14px;
  }
  .definition-icon {
    width:39px;
    height:44px;
  }
  .list-card .actions {
    margin-left:53px;
    gap:9px;
  }
  .list-card .actions button {
    font-size:14px;
  }
  .wide-note {
    padding:16px;
    font-size:14px;
  }
  .empty {
    padding:55px 23px;
  }
  .empty h2 {
    font-size:22px;
  }
  .empty p {
    font-size:14px;
  }
  .connections-grid,.connection-column {
    gap:17px;
  }
  .connection-card .panel-head {
    padding:20px;
  }
  .connection-title h3 {
    font-size:16px;
  }
  .connection-title>img {
    width:29px;
    height:31px;
  }
  .connection-card .panel-body>p,.connection-wide .panel-body>p {
    font-size:14px;
  }
  .run-layout {
    gap:18px;
  }
  .timeline li {
    font-size:14px;
  }
  .key-value {
    font-size:14px;
    grid-template-columns:110px minmax(0,1fr);
  }
  .task-card {
    padding:17px;
  }
  .task-card .actions {
    gap:8px;
  }
  .task-card .actions button {
    font-size:14px;
  }
  .login-card {
    padding:35px 25px;
  }
  .login-card>.brand {
    margin-bottom:57px;
  }
  .login-card>.brand img {
    width:156px;
  }
  .login-heading h1 {
    font-size:41px;
  }
  .login-heading p {
    font-size:16px;
  }
  .login-footnote {
    margin-top:33px;
  }
  dialog {
    padding:23px;
    width:calc(100% - 28px);
    max-height:calc(100dvh - 28px);
  }
  .dialog-title h2 {
    font-size:21px;
  }
  .dialog-title .eyebrow {
    font-size:14px;
  }
  .dialog-footer {
    margin-top:17px;
    padding-top:17px;
  }
  .dialog-footer button {
    width:100%;
  }
  .task-page {
    padding:0 16px;
    margin:25px auto 40px;
  }
  .task-brand {
    gap:13px;
    margin-bottom:24px;
  }
  .task-brand .brand img {
    width:139px;
  }
  .private-label {
    font-size:14px;
    gap:5px;
  }
  .task-page .panel-body {
    padding:23px;
  }
  .task-page h1 {
    font-size:27px;
  }
  .task-page .panel-body>p {
    font-size:14px;
  }
  .task-page iframe {
    height:380px;
  }
  .task-page details {
    padding:15px 16px;
  }
  .task-page .actions button {
    font-size:14px;
    padding:10px 12px;
  }
  .consent {
    padding:13px;
    font-size:14px;
  }
  .task-footnote {
    font-size:14px;
  }
}
@media(max-width:380px) {
  #nav button {
    font-size:14px;
    gap:6px;
    padding:9px 6px;
  }
  #nav .ui-icon {
    width:15px;
    height:15px;
  }
  #content {
    padding-inline:14px;
  }
  .sidebar {
    padding-inline:14px;
  }
  .page-top h1 {
    font-size:28px;
  }
  .panel-head {
    padding:15px;
    gap:10px;
  }
  .workflow-select {
    max-width:155px;
  }
  .tabs {
    gap:14px;
    padding-inline:15px;
  }
  .tabs button {
    font-size:14px;
  }
  .key-value {
    grid-template-columns:minmax(0,1fr);
    gap:6px;
  }
  .list-card .actions {
    margin-left:0;
  }
  .task-page .panel-body {
    padding:20px;
  }
  .private-label {
    font-size:14px;
  }
  .task-brand .brand img {
    width:129px;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
.task-page .task-state {
  text-align:center;
  padding:55px 30px;
}
.participant-status h2{margin:28px 0 10px;font-size:15px}.participant-current{display:grid;gap:4px;padding:15px 16px;border:1px solid var(--line);border-radius:10px;background:#fafaf8}.participant-current span,.participant-status li small{color:var(--muted);font-size:12px}.participant-current strong{font-size:17px}.participant-status ul{display:grid;margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}.participant-status li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}.participant-status li span:first-child{display:grid;gap:3px}.participant-status li .badge{flex:0 0 auto}
.state-icon {
  display:block;
  width:38px;
  height:38px;
  margin:0 auto 24px;
  opacity:.65;
}
.task-state .eyebrow {
  margin-bottom:15px;
}
.task-state p {
  max-width:450px;
  margin:0 auto;
}
/* Minimal workspace: actions first, supporting details on demand. */
:root {
  --paper:#fff;
  --line:#e9e9e6;
  --muted:#70706a;
}
button {
  font-weight:500;
}
button.primary {
  box-shadow:none;
  font-weight:600;
  border-color:var(--accent);
}
h1 {
  font-size:28px;
  font-weight:650;
  letter-spacing:-.8px;
  margin-bottom:0;
}
.sidebar {
  width:220px;
  padding:30px 20px 20px;
}
.sidebar .brand img {
  width:132px;
}
#nav {
  margin-top:44px;
}
#nav button {
  min-height:42px;
  font-size:14px;
  font-weight:500;
}
#nav button.active {
  background:#faf6e6;
}
.sidebar-bottom {
  gap:6px;
}
.sidebar-bottom>small {
  border:0;
  margin-top:12px;
  padding:8px 12px 0;
}
.workspace-main {
  margin-left:220px;
}
.workspace-header {
  height:58px;
  padding-inline:36px;
  border-bottom:0;
  position:static;
}
#content {
  max-width:1200px;
  padding:27px 36px 50px;
}
.page-top {
  align-items:center;
  margin-bottom:22px;
  gap:20px;
}
.page-top>.actions {
  padding:0;
}
.page-top p {
  margin:10px 0 0;
  font-size:14px;
}
.workflow-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:22px;
  margin:-5px 0 26px;
  color:var(--muted);
  font-size:14px;
}
.studio {
  display:block;
}
.panel {
  border-radius:8px;
}
.panel-head {
  min-height:58px;
  padding:14px 20px;
}
.panel-body {
  padding:22px;
}
.workflow-select {
  max-width:280px;
  border-color:transparent;
  padding-left:0;
}
.canvas {
  background:#fcfcfb;
  max-height:620px;
  min-height:400px;
}
.canvas-footer {
  color:var(--muted);
}
.request-panel {
  width:min(540px,calc(100% - 40px));
}
.request-panel .dialog-title {
  margin-bottom:14px;
}
.request-panel .dialog-title h2 {
  margin:0;
  font-size:22px;
}
.request-notice {
  font-size:14px;
  margin:0 0 24px;
}
.request-panel input,.request-panel select,.request-panel textarea {
  font-size:16px;
}
.request-panel .full {
  margin-top:24px;
}
.list-card {
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  padding:22px 0;
}
.row-list {
  gap:0;
  border-top:1px solid var(--line);
}
.list-card h3 {
  font-size:16px;
  font-weight:600;
  margin-bottom:5px;
}
.definition-icon {
  width:32px;
  height:40px;
  background:transparent;
}
.definition-icon .ui-icon {
  width:21px;
  height:21px;
}
.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.template-search {display:flex;flex-wrap:wrap;gap:12px;max-width:820px;margin:24px 0 16px;}
.template-search input {min-width:220px;flex:1 1 300px;margin:0;font-size:17px;}
.template-search select {width:auto;min-width:160px;margin:0;background-color:#fff;}
.template-search button {flex-shrink:0;}
.template-card {align-items:flex-start;gap:20px;}
.template-card h3 {font-size:20px;line-height:1.35;}
.template-card p {font-size:15px;line-height:1.6;}
.template-drive-link {display:inline-flex;gap:6px;align-items:center;flex-shrink:0;font-size:15px;}
.template-card-actions {display:flex;flex-direction:column;align-items:flex-start;gap:12px;flex-shrink:0;}
.template-preview {width:min(1040px,calc(100% - 32px));padding:24px;}
.template-preview .dialog-title {align-items:flex-start;}
.template-preview .dialog-title h2 {font-size:24px;overflow-wrap:anywhere;}
.template-preview .dialog-title p {margin:6px 0 0;color:var(--muted);}
.template-preview-toolbar {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;}
.template-preview-toolbar select {width:auto;margin:0;}
.template-preview #template-preview-status {font-size:14px;color:var(--muted);margin:12px 0;}
.template-preview iframe {display:block;width:100%;height:64dvh;min-height:280px;border:1px solid var(--line);border-radius:6px;background:#f5f5f3;}
.template-preview iframe[hidden] {display:none;}
.template-fields {margin-top:12px;font-size:15px;}
.template-fields summary {cursor:pointer;}
.template-fields ul {display:flex;flex-wrap:wrap;gap:8px 16px;list-style:none;padding:0;margin:12px 0 0;}
#template-more {margin-top:24px;}
@media(max-width:600px){.template-card{flex-direction:column;}.template-card-actions{margin-left:50px;flex-direction:row;flex-wrap:wrap;align-items:center;gap:16px;}.template-search{gap:8px;}.template-search input{flex-basis:100%;}.template-search select{flex:1;min-width:0;}.template-card h3{font-size:19px;}.template-preview{width:calc(100% - 16px);padding:16px;max-height:calc(100dvh - 16px);}.template-preview .dialog-title h2{font-size:21px;}.template-preview iframe{height:58dvh;}}
.connections-grid {
  gap:20px;
  margin-bottom:24px;
  align-items:start;
}
.connection-column {
  display:grid;
  min-width:0;
  gap:20px;
  align-content:start;
}
.connection-title h3 {
  font-size:16px;
}
.connection-card .panel-head {
  border-bottom:0;
  padding-bottom:0;
}
.connection-card .panel-body {
  padding-top:13px;
}
.connection-card .panel-body>p {
  margin-bottom:16px;
  font-size:14px;
}
.connection-card details {
  margin-top:20px;
  border-top:0;
  padding:0;
}
.connection-card details p {
  font-size:14px;
  margin:12px 0;
}
.connection-card details a {
  font-size:14px;
}
.connection-card summary,.inline-help summary {
  font-size:14px;
  color:var(--muted);
}
.connection-card #plugin-status {
  background:none;
  padding:0;
}
.connection-card .text-link {
  font-size:14px;
}
hr {
  border:0;
  border-top:1px solid var(--line);
  margin:25px 0;
}
.inline-help {
  margin:-4px 0 24px;
}
.inline-help p {
  max-width:700px;
  font-size:14px;
  margin:12px 0 0;
}
.login {
  display:grid;
  grid-template-columns:1fr;
  place-items:center;
}
.login-card {
  width:100%;
  max-width:410px;
  padding:45px 30px;
}
.login-card>.brand {
  margin-bottom:48px;
}
.login-card>.brand img {
  width:145px;
}
.login-heading h1 {
  font-size:28px;
  letter-spacing:-.6px;
  font-weight:600;
}
.login-card label {
  margin-top:28px;
}
.login-card form button {
  font-size:14px;
}
.login-card .hint {
  font-size:14px;
  margin-top:16px;
}
.login-card .text-link {
  font-size:14px;
  margin-top:15px;
}
.login-footnote {
  font-size:14px;
  margin-top:36px;
}
.task-page h1 {
  font-size:27px;
  font-weight:650;
}
.task-page .panel-body>p {
  font-size:14px;
}
@media(max-width:1000px) {
  .sidebar {
    width:190px;
    padding-inline:14px;
  }
  .workspace-main {
    margin-left:190px;
  }
  .workspace-header {
    padding-inline:25px;
  }
  #content {
    padding:25px;
  }
}
@media(max-width:640px) {
  .sidebar {
    width:100%;
    padding:20px 16px 12px;
  }
  #nav {
    margin-top:22px;
  }
  #nav button {
    font-size:14px;
    min-height:40px;
  }
  .workspace-main {
    margin-left:0;
  }
  .workspace-header {
    height:50px;
    padding-inline:18px;
  }
  #content {
    padding:20px 18px 35px;
  }
  .page-top {
    gap:18px;
    margin-bottom:22px;
  }
  .page-top h1 {
    font-size:26px;
  }
  .page-top>.actions {
    gap:8px;
  }
  .workflow-meta {
    gap:17px;
    font-size:14px;
    margin-bottom:22px;
  }
  .panel-head {
    padding:13px 16px;
  }
  .workflow-select {
    max-width:230px;
    font-size:14px;
  }
  .list-card {
    padding:20px 0;
  }
  .list-card .actions {
    margin-left:46px;
  }
  .request-panel {
    width:calc(100% - 28px);
  }
  .request-panel input,.request-panel select,.request-panel textarea {
    font-size:16px;
  }
  .connections-grid,.connection-column {
    gap:16px;
  }
  .login-card {
    padding:35px 26px;
  }
}
@media(max-width:380px) {
  #nav button {
    font-size:14px;
  }
  .workflow-select {
    max-width:198px;
  }
  .list-card .actions {
    margin-left:46px;
  }
}
/* Readable controls and labels at every viewport size. */
body {
  font-size:16px;
}
h1,.page-top h1 {
  font-size:34px;
}
h2 {
  font-size:26px;
}
h3,.panel-head h3,.connection-title h3,.list-card h3 {
  font-size:18px;
}
button,.actions button,.text-link,input,select,textarea,label,#nav button,.workflow-select {
  font-size:16px;
}
button {
  min-height:44px;
}
#nav button {
  min-height:46px;
}
.sidebar-bottom .sidebar-help,.sidebar-bottom #logout {
  font-size:16px;
  min-height:44px;
}
.sidebar-bottom>small {
  font-size:14px;
}
.workflow-meta,.canvas-footer,.badge,small {
  font-size:14px;
}
.page-top p,.list-card p,.panel-body p,.connection-card .panel-body>p,.connection-card summary,.inline-help summary,.task-page .panel-body>p {
  font-size:16px;
}
.connection-card details p,.inline-help p {
  font-size:16px;
}
.connection-card .text-link {
  font-size:16px;
}
.node-label {
  font-size:15px;
}
.node-kind {
  font-size:12px;
  fill:#66665f;
}
.edge-label {
  font-size:12px;
  fill:#64645f;
}
.graph-node .node-icon {
  fill:#f5f4ef;
}
.canvas svg {
  max-width:820px;
}
.request-panel {
  width:min(580px,calc(100% - 40px));
}
.request-panel input,.request-panel select,.request-panel textarea,.request-panel label,.request-notice {
  font-size:16px;
}
.login-heading h1 {
  font-size:34px;
}
.login-card label,.login-card form button,.login-card .text-link {
  font-size:16px;
}
.login-card .hint,.login-footnote {
  font-size:14px;
}
.task-page .actions button {
  font-size:16px;
}
@media(max-width:640px) {
  #nav {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px;
  }
  #nav button {
    padding:10px;
    font-size:16px;
  }
  #nav .ui-icon {
    width:18px;
    height:18px;
  }
  .sidebar-bottom .sidebar-help,.sidebar-bottom #logout {
    font-size:14px;
  }
  .page-top h1 {
    font-size:30px;
  }
  .page-top>.actions button,.tabs button {
    font-size:16px;
  }
  .panel-head {
    align-items:center;
  }
  .workflow-select {
    font-size:16px;
    max-width:100%;
  }
  .panel-head button {
    min-height:42px;
  }
  .tabs {
    gap:20px;
  }
  .canvas-footer {
    font-size:14px;
  }
  .workflow-meta {
    gap:15px;
    font-size:14px;
  }
  .definition-heading {
    flex:1;
  }
  .list-card .actions {
    margin-left:0;
  }
  .list-card .actions button {
    font-size:16px;
  }
  .task-page .actions button {
    font-size:16px;
  }
  .request-panel {
    width:calc(100% - 24px);
  }
}
@media(max-width:380px) {
  #nav button {
    font-size:16px;
    gap:7px;
    padding-inline:7px;
  }
  .tabs {
    gap:13px;
  }
  .tabs button {
    font-size:14px;
  }
  .page-top>.actions button {
    padding-inline:12px;
  }
}

/* Individual accounts and teams */
.sign-in-button{display:flex;align-items:center;justify-content:center;gap:12px;text-decoration:none;padding:14px 18px;border-radius:8px;font-weight:650;color:#171916;background:#ffe36e}.operator-login{margin:24px 0}.operator-login summary{font-size:15px;cursor:pointer;color:#62655e}.operator-login form{margin-top:18px}.login-heading p{font-size:17px;color:#62655e}.sidebar-bottom small{overflow-wrap:anywhere}#workspace-picker{max-width:280px;margin-left:auto;background:white;font-size:16px}.member-email{display:block;color:#62655e;margin-top:4px}#content>section+section,#content>section+details,#content>details+details{margin-top:20px}#account-setup form{margin-bottom:20px}#account-setup .login-heading{margin-top:30px}
.invite-summary{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:9px;background:#fafaf7}.invite-summary p{margin:0;color:#62655e}.invite-summary p+p{margin-top:7px}.invite-summary strong{color:#171916}.invite-summary .error{color:#a33b2f}
.team-overview{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px 26px;background:#fffdf5}.team-overview-main,.section-title{display:flex;align-items:center;gap:14px}.team-overview-icon,.section-title>span,.pending-icon{display:grid;place-items:center;flex:0 0 auto;width:44px;height:44px;border-radius:11px;background:#eaf6ed}.team-overview-icon .ui-icon,.section-title .ui-icon{width:22px;height:22px}.team-overview h2,.section-title h2{margin:0;font-size:21px}.team-overview p,.section-title p{margin:2px 0 0;color:var(--muted)}.team-counts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.team-counts span{display:flex;align-items:baseline;gap:5px;padding:8px 11px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font-size:13px;white-space:nowrap}.team-counts strong{color:var(--ink);font-size:15px}.team-setup-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.7fr);align-items:start;gap:20px;margin-top:20px}.team-invite form{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;gap:14px;align-items:end;margin-top:22px}.team-invite label{margin:0}.team-invite input,.team-invite select{margin:6px 0 0}.team-invite form button{min-height:46px;white-space:nowrap}.team-security ul{display:grid;gap:10px;margin:22px 0 0;padding:0;list-style:none}.team-security li{display:flex;align-items:center;gap:9px;color:#55564f}.team-security li:before{content:'✓';display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#eaf6ed;color:#347349;font-weight:700}.invite-result{margin-top:20px;padding:15px;border:1px solid #e6d89c;border-radius:10px;background:#fffdf5}.invite-result>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.invite-result small{color:var(--muted)}.invite-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.invite-copy input{font-size:14px;background:#fff}.team-members>.panel-head,.team-invites>.panel-head{padding:20px 22px;border-bottom:1px solid var(--line)}.team-members table{min-width:820px}.team-members td strong{font-size:15px}.mini-tag{display:inline-block;margin-left:7px;padding:2px 7px;border-radius:999px;background:#f1f1ec;color:#61625b;font-size:11px;font-weight:650;vertical-align:2px}.member-actions{display:flex;align-items:center;gap:4px;flex-wrap:wrap}.member-actions select{width:auto;min-width:106px;margin-right:4px}.member-actions .quiet{margin:0;padding-inline:9px}.pending-list{display:grid}.pending-invite{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:15px 0}.pending-invite+.pending-invite{border-top:1px solid var(--line)}.pending-icon{width:40px;height:40px;background:#f6f2e5}.pending-icon .ui-icon{width:19px;height:19px}.pending-invite strong,.pending-invite small{display:block;overflow-wrap:anywhere}.pending-invite small{margin-top:3px;color:var(--muted)}.invite-delivery{padding:5px 9px;border-radius:999px;background:#f1f1ec;color:#62635d;font-size:12px;white-space:nowrap}.invite-delivery.sent{background:#eaf6ed;color:#347349}.invite-delivery.failed{background:#fff1ed;color:#9b3b2f}.pending-actions{display:flex;gap:7px}.pending-actions button{padding:7px 10px;min-height:36px}.team-history summary{font-weight:650}.team-history p{padding:12px 0;margin:0}.team-history p+p{border-top:1px solid var(--line)}
.domain-status{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px}.domain-status>span:last-child{color:var(--muted)}.team-domain>button{margin-top:22px}.team-execution>.muted{margin:20px 0 10px}.team-execution .service-icon{width:24px;height:24px}.team-requests>.panel-head{padding:0 0 14px;border-bottom:1px solid var(--line)}.join-company-list{display:grid;gap:10px;margin-top:20px}.join-company-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}.join-company-row:last-child{border-bottom:0}.join-company-row strong,.join-company-row small{display:block}.join-company-row small{margin-top:3px;color:var(--muted)}.setup-divider{display:flex;align-items:center;gap:10px;color:var(--muted);margin:22px 0}.setup-divider:before,.setup-divider:after{content:'';height:1px;flex:1;background:var(--line)}#join-workspace{display:flex;align-items:center;gap:7px;white-space:nowrap}#join-workspace[hidden]{display:none}
@media(max-width:980px){.team-overview{align-items:flex-start;flex-direction:column}.team-setup-grid{grid-template-columns:1fr}.team-invite form{grid-template-columns:minmax(0,1fr) 150px auto}.pending-invite{grid-template-columns:40px minmax(0,1fr) auto}.pending-actions{grid-column:2 / -1}.invite-delivery{grid-column:3}}
@media(max-width:760px){#workspace-picker{max-width:175px}.workspace-header{gap:10px}#breadcrumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#team-nav[hidden]{display:none}.team-overview{padding:20px}.team-counts{width:100%}.team-counts span{flex:1;justify-content:center}.team-invite form{grid-template-columns:1fr}.team-invite label,.team-invite input,.team-invite select{width:100%}.invite-result>div:first-child{align-items:flex-start;flex-direction:column}.invite-copy{grid-template-columns:1fr}.pending-invite{grid-template-columns:40px minmax(0,1fr)}.invite-delivery{grid-column:2;justify-self:start}.pending-actions{grid-column:2;flex-wrap:wrap}.join-company-row{align-items:flex-start;flex-direction:column}.join-company-row button{width:100%}#join-workspace{font-size:0;padding:9px}#join-workspace .ui-icon{margin:0}}

/* Activity grouped by the workflow or form that handled each request. */
.activity-controls{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px;flex-wrap:wrap}
.activity-switch{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:10px;background:#f6f6f3}
.activity-switch button{border:0;background:transparent;font-size:16px;padding:10px 14px;white-space:nowrap}
.activity-switch button[aria-pressed="true"]{background:#fff;box-shadow:0 1px 4px #17191618;color:var(--ink)}
.activity-status{display:flex;align-items:center;gap:12px;margin:0;font-size:15px;color:var(--muted)}
.activity-status label{margin:0;font-size:15px;color:var(--muted)}
.activity-status select{width:auto;min-width:160px;margin:0;font-size:16px}
.activity-group{margin-bottom:16px;overflow:hidden}
.activity-heading{display:flex;align-items:center;gap:16px;padding:22px;list-style:none;cursor:pointer}
.activity-heading::-webkit-details-marker{display:none}
.activity-chevron{flex:none;display:flex;transition:transform .15s}
.activity-group[open]>.activity-heading .activity-chevron{transform:rotate(90deg)}
.activity-group[open]>.activity-heading{border-bottom:1px solid var(--line)}
.activity-title{min-width:0;flex:1}
.activity-title strong{display:block;font-size:22px;line-height:1.35;overflow-wrap:anywhere}
.activity-title small{display:block;margin-top:5px;font-size:15px;color:var(--muted);overflow-wrap:anywhere}
.activity-counts{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 12px;font-size:15px;color:var(--muted)}
.activity-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px 17px 56px;cursor:pointer}
.activity-row+.activity-row{border-top:1px solid var(--line)}
.activity-row:hover{background:#fafaf8}
.activity-request{min-width:0}
.activity-request button.quiet{padding:0;min-height:28px;font-size:18px;font-weight:650;color:var(--ink);border-radius:3px}
.activity-request p{margin:4px 0 0;font-size:15px;color:var(--muted);overflow-wrap:anywhere}
.activity-run-status{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex-shrink:0}
.activity-run-status small{font-size:14px;color:var(--muted)}
@media(max-width:640px){
 .activity-controls{gap:14px;align-items:stretch}
 .activity-switch{width:100%}.activity-switch button{flex:1;padding:10px 8px}
 .activity-status{width:100%;justify-content:space-between}.activity-status select{flex:1;max-width:220px}
 .activity-heading{gap:12px;padding:18px 16px;flex-wrap:wrap}
 .activity-title strong{font-size:20px}.activity-title small{font-size:14px}
 .activity-counts{width:100%;justify-content:flex-start;padding-left:30px;font-size:14px}
 .activity-row{padding:16px;gap:12px;align-items:flex-start;flex-wrap:wrap}
 .activity-run-status{margin-left:auto}.activity-run-status small{font-size:13px}
}

/* Readable workflow steps and diagram details. */
.workflow-step-list{list-style:none;margin:0;padding:0;background:#fff}
.workflow-step{display:grid;grid-template-columns:40px minmax(0,1fr);gap:18px;padding:26px 28px}
.workflow-step+.workflow-step{border-top:1px solid var(--line)}
.workflow-step-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;background:#f6f6f1}
.workflow-step-icon .ui-icon{width:22px;height:22px}
.step-kind{display:block;margin:0 0 4px;color:var(--muted);font-size:14px}
.workflow-step h3,.step-detail h3{margin:0;font-size:21px;line-height:1.4;overflow-wrap:anywhere}
.step-description{margin:8px 0 0;font-size:17px;line-height:1.65;color:var(--ink);overflow-wrap:anywhere}
.step-deadline{margin:7px 0 0;font-size:15px;color:var(--muted)}
.step-routes{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:8px}
.step-routes li{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.step-routes span{color:var(--muted)}
.step-routes .ui-icon{flex:none;width:16px;height:16px}
.step-routes strong{font-weight:550;color:var(--ink)}
@media(max-width:640px){.workflow-step{grid-template-columns:32px minmax(0,1fr);padding:22px 16px;gap:12px}.workflow-step-icon{width:32px;height:32px}.workflow-step-icon .ui-icon{width:19px;height:19px}.workflow-step h3,.step-detail h3{font-size:20px}.step-description{font-size:16px}.step-detail{padding:20px 16px}}

.usage-card{padding:24px 26px;margin:22px 0;display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,360px);gap:28px;align-items:center}.usage-card h2{font-size:28px;margin:4px 0 2px}.usage-card p{margin:0}.usage-meter{height:10px;border-radius:999px;background:#ecece6;overflow:hidden}.usage-meter span{display:block;height:100%;background:#d8ad2d;border-radius:inherit}.billing-summary{padding:26px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0}.billing-summary h2,.billing-plan h2{margin:0 0 12px;font-size:24px}.billing-summary p{margin:0;line-height:2}.billing-cycle{width:max-content;margin:24px auto 0;padding:5px;display:flex;gap:5px;border:1px solid #cfcfc5;border-radius:999px;background:#e9e9e3}.billing-cycle button{border:0;border-radius:999px;padding:10px 18px;background:transparent;color:#55564f;font-weight:700}.billing-cycle button[aria-pressed="true"]{background:#f0c94d;color:#24241f;box-shadow:0 2px 7px #8b6d122c}.billing-cycle span{margin-left:4px;font-size:11px}.billing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.billing-plan{padding:28px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.billing-plan-selected{border-color:#a88010;box-shadow:0 0 0 2px #f0c94d55}.billing-plan p{margin:8px 0}.billing-plan .billing-price{font-size:42px;font-weight:700;letter-spacing:-1.5px}.billing-price span{font-size:16px;letter-spacing:0;font-weight:400;color:#65665f}.billing-plan button,.billing-plan>.badge{margin-top:auto}.billing-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:22px}.billing-guarantee{display:flex;align-items:center;gap:9px;max-width:680px;color:var(--muted);font-size:13px}.billing-guarantee img{width:38px;height:auto;flex:0 0 auto}.billing-guarantee span{line-height:1.45}#billing-message{color:#9c362d}@media(max-width:1000px){.billing-grid{grid-template-columns:1fr}.billing-plan{padding:24px}.billing-summary,.billing-footer{align-items:flex-start;flex-direction:column}}@media(max-width:640px){.usage-card{grid-template-columns:1fr;padding:22px 20px;gap:18px}.usage-card h2{font-size:24px}.billing-guarantee img{width:34px}.billing-cycle{width:100%;max-width:340px}.billing-cycle button{flex:1}.billing-cycle span{display:none}}

/* Dashboard loading, first-run setup, and compact states. */
.boot-screen {
  position:fixed;
  inset:0;
  z-index:200;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:24px;
  background:#fff;
}
.boot-screen img {
  width:150px;
  height:auto;
}
.spinner {
  display:inline-block;
  width:18px;
  height:18px;
  flex:0 0 18px;
  border:2px solid #d9d9d2;
  border-top-color:#24241f;
  border-radius:50%;
  animation:optiform-spin .7s linear infinite;
}
@keyframes optiform-spin {to{transform:rotate(360deg)}}
button.is-loading:before {
  content:'';
  width:15px;
  height:15px;
  flex:0 0 15px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:optiform-spin .7s linear infinite;
  opacity:.72;
}
.icon-button.is-loading .ui-icon {
  display:none;
}
.workspace-loader {
  position:fixed;
  inset:58px 0 0 220px;
  z-index:30;
  display:grid;
  place-items:center;
  background:#fffffff0;
  animation:loader-in .12s ease both;
}
.loader-pill {
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px 16px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#fff;
  box-shadow:0 12px 40px #20202012;
  color:#53534d;
  font-size:15px;
  font-weight:550;
}
@keyframes loader-in {from{opacity:0}to{opacity:1}}
.onboarding-card {
  max-width:820px;
  padding:32px;
}
.onboarding-copy {
  display:flex;
  align-items:center;
  gap:18px;
  padding-bottom:28px;
}
.onboarding-copy h2 {
  margin:0 0 6px;
  font-size:25px;
}
.onboarding-copy p {
  margin:0;
  font-size:16px;
}
.onboarding-mark {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:11px;
  background:#fff5cd;
}
.onboarding-mark .ui-icon {
  width:24px;
  height:24px;
}
.onboarding-links {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.onboarding-link {
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  padding:17px;
  border:1px solid var(--line);
  border-radius:8px;
  text-decoration:none;
  transition:border-color .15s,background .15s;
}
.onboarding-link:hover {
  border-color:#d1c587;
  background:#fffdf4;
}
.onboarding-link>span:nth-child(2) {
  min-width:0;
  flex:1;
}
.onboarding-link strong,.onboarding-link small {
  display:block;
}
.onboarding-link strong {
  font-size:16px;
  font-weight:650;
}
.onboarding-link small {
  margin-top:2px;
  font-size:14px;
}
.onboarding-number {
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  flex:0 0 28px;
  border-radius:50%;
  background:#f2f2ed;
  color:#66665f;
  font-size:14px;
  font-weight:650;
}
.skeleton-list {
  display:grid;
  border-top:1px solid var(--line);
}
.skeleton-row {
  display:flex;
  align-items:center;
  gap:18px;
  min-height:90px;
  padding:20px 0;
  border-bottom:1px solid var(--line);
}
.skeleton-row>span,.skeleton-row i {
  display:block;
  border-radius:5px;
  background:linear-gradient(90deg,#f0f0ec 25%,#fafaf7 45%,#f0f0ec 65%);
  background-size:300% 100%;
  animation:skeleton-shimmer 1.4s ease infinite;
}
.skeleton-row>span {
  width:34px;
  height:40px;
}
.skeleton-row>div {
  display:grid;
  gap:10px;
  width:min(420px,70%);
}
.skeleton-row i:first-child {height:18px;width:68%}
.skeleton-row i:last-child {height:13px;width:92%}
@keyframes skeleton-shimmer {from{background-position:100% 0}to{background-position:0 0}}
.page-loading {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:120px;
  color:var(--muted);
  font-size:15px;
}
.connection-card .panel-body {
  display:flex;
  align-items:center;
  align-content:flex-start;
  flex-wrap:wrap;
  gap:10px;
}
.connection-card .panel-body>p,.connection-card .panel-body>details,.connection-card .panel-body>.key-value,.connection-card .panel-body>form {
  width:100%;
}
.connection-card .panel-body>p {
  margin:0 0 5px;
}
.connection-card .panel-body>button {
  margin:0;
}
.connection-card .panel-body>.text-link {
  min-height:44px;
  padding:9px 2px;
}
.connection-card details {
  margin-top:8px;
}
.compact-alert {
  color:#946e19;
}
.connection-message:empty {
  display:none;
}
.team-invite>.inline-help {
  margin:18px 0 0;
}
@media(max-width:1000px) {
  .workspace-loader {left:190px}
}
@media(max-width:640px) {
  .workspace-loader {inset:0}
  .sidebar {
    position:relative;
    width:100%;
    padding:16px 16px 10px;
  }
  .sidebar-top {padding:0}
  .sidebar .brand img {width:128px}
  #nav {
    display:flex;
    grid-template-columns:none;
    gap:5px;
    margin:14px -16px 0;
    padding:0 16px 4px;
    overflow-x:auto;
    scrollbar-width:none;
  }
  #nav::-webkit-scrollbar {display:none}
  #nav button {
    width:auto;
    flex:0 0 auto;
    min-height:40px;
    padding:9px 11px;
    font-size:14px;
  }
  #nav .ui-icon {width:17px;height:17px}
  .sidebar-bottom {
    position:absolute;
    top:12px;
    right:12px;
    display:block;
    padding:0;
    margin:0;
  }
  .sidebar-help,.sidebar-bottom>small {display:none}
  .sidebar-bottom #logout {
    width:40px;
    min-height:40px;
    padding:9px;
    font-size:0;
  }
  .sidebar-bottom #logout .ui-icon {width:18px;height:18px}
  .workspace-header {position:static;height:52px}
  .onboarding-card {padding:23px 18px}
  .onboarding-copy {align-items:flex-start;padding-bottom:22px}
  .onboarding-copy h2 {font-size:23px}
  .onboarding-links {grid-template-columns:1fr}
  .onboarding-link {padding:15px}
}
@media(prefers-reduced-motion:reduce) {
  .spinner,button.is-loading:before,.skeleton-row>span,.skeleton-row i {animation:none}
}

/* Lively workspace system: real service marks and color by purpose. */
:root {
  --ink:#182033;
  --muted:#697386;
  --line:#e3e8f0;
  --paper:#f6f8fc;
}
body {
  background:var(--paper);
}
.sidebar {
  background:#fbfcff;
  border-right-color:#e1e7f0;
  box-shadow:1px 0 0 #fff;
}
.workspace-header {
  background:#f6f8fce8;
  backdrop-filter:blur(12px);
}
#content {
  max-width:1260px;
}
#nav button {
  --nav-color:#48556b;
  --nav-bg:#eef2f7;
  color:#596579;
  border-radius:10px;
  transition:background .15s,color .15s,box-shadow .15s,transform .15s;
}
#nav button[data-view="workflows"] {--nav-color:#4d61d8;--nav-bg:#edf0ff}
#nav button[data-view="runs"] {--nav-color:#14866d;--nav-bg:#e7f7f2}
#nav button[data-view="forms"] {--nav-color:#7545b8;--nav-bg:#f2eafd}
#nav button[data-view="templates"] {--nav-color:#d06a2b;--nav-bg:#fff0e7}
#nav button[data-view="outbox"] {--nav-color:#3380cc;--nav-bg:#eaf4ff}
#nav button[data-view="connections"] {--nav-color:#c24c68;--nav-bg:#ffedf2}
#nav button[data-view="billing"] {--nav-color:#aa7416;--nav-bg:#fff5d9}
#nav button[data-view="team"] {--nav-color:#408158;--nav-bg:#eaf6ed}
#nav button:hover {
  color:var(--nav-color);
  background:var(--nav-bg);
  transform:translateX(2px);
}
#nav button.active {
  color:var(--nav-color);
  background:var(--nav-bg);
  border-color:transparent;
  box-shadow:inset 3px 0 0 var(--nav-color);
  font-weight:650;
}
#nav .ui-icon,
#nav .nav-service-icon {
  width:20px;
  height:20px;
  object-fit:contain;
  opacity:.9;
}
#nav button.active .ui-icon,
#nav button.active .nav-service-icon {
  opacity:1;
}
#nav b {
  color:var(--nav-color);
  background:#fff;
  border-color:#dfe4ec;
  border-radius:999px;
}
.page-heading {
  display:flex;
  align-items:center;
  gap:15px;
  min-width:0;
}
.page-heading-stack {
  display:grid;
  gap:10px;
  min-width:0;
}
.page-back {
  display:flex;
  min-height:32px;
}
.page-back-button {
  justify-content:flex-start;
  min-height:32px;
  padding:5px 10px;
  border-color:#dce1ff;
  background:#f2f4ff;
  color:#4052bc;
  font-size:14px;
  font-weight:650;
}
.page-back-button:hover {
  border-color:#c8d0ff;
  background:#e9edff;
  color:#3042a7;
}
.page-back-button .ui-icon {
  width:17px;
  height:17px;
  filter:brightness(0) saturate(100%) invert(35%) sepia(21%) saturate(6804%) hue-rotate(219deg) brightness(87%) contrast(86%);
  transition:transform .15s ease;
}
.page-back-button:hover .ui-icon {transform:translateX(-2px)}
button.workflow-cta {
  min-height:44px;
  padding-inline:18px;
  border-color:#4355c7;
  background:#4d61d8;
  color:#fff;
  box-shadow:0 2px 0 #3547ad,0 7px 18px #4d61d826;
}
button.workflow-cta:hover {
  border-color:#394bb9;
  background:#4256ca;
}
button.workflow-cta:disabled {
  border-color:#b8bfdc;
  background:#b8bfdc;
  box-shadow:none;
}
.workflow-cta .ui-icon {width:18px;height:18px;filter:brightness(0) invert(1)}
.page-top.has-back>.actions {padding-top:42px}
@media(max-width:800px) {
  .page-top.has-back>.actions {padding-top:0}
  .workflow-cta {width:100%}
}
.page-icon {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  flex:0 0 48px;
  border:1px solid transparent;
  border-radius:13px;
  background:#edf0ff;
  color:#4d61d8;
}
.page-icon .ui-icon {width:24px;height:24px}
.page-icon .service-icon {width:27px;height:27px;object-fit:contain}
.page-icon-workflows {background:#edf0ff;border-color:#dde2ff}
.page-icon-runs {background:#e7f7f2;border-color:#d4eee6}
.page-icon-forms {background:#f2eafd;border-color:#e6d8f7}
.page-icon-templates {background:#fff0e7;border-color:#f6dece}
.page-icon-outbox {background:#eaf4ff;border-color:#d8e9fa}
.page-icon-connections {background:#ffedf2;border-color:#f5dae2}
.page-icon-billing {background:#fff5d9;border-color:#f4e5b8}
.page-icon-team {background:#eaf6ed;border-color:#d8ebdd}
.panel,
.activity-group {
  border-color:#e1e7ef;
  border-radius:12px;
  box-shadow:0 7px 24px #24314d0a;
}
.panel:hover,
.activity-group:hover {
  border-color:#d7deea;
}
.workflow-meta {
  gap:8px;
}
.workflow-meta span {
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 10px;
  border:1px solid #e0e6ef;
  border-radius:999px;
  background:#fff;
  color:#596579;
}
.workflow-meta span:first-child {
  color:#34704a;
  background:#ecf8ef;
  border-color:#d6eadb;
}
.tabs button.active {
  color:#4d61d8;
  border-bottom-color:#6575dc;
}
.canvas {
  background-color:#f8faff;
  background-image:radial-gradient(#dbe2ee 1px,transparent 1px);
  background-size:18px 18px;
}
.graph-edge {stroke:#9da9ba}
.graph-edge.secondary {stroke:#c1c9d5}
.edge-label {fill:#68758a;stroke:#f8faff}
.graph-node>rect:first-child {
  fill:#fff;
  stroke:#dce3ed;
  stroke-width:1.25;
}
.graph-node:hover>rect:first-child,
.graph-node.selected>rect:first-child {
  stroke:#6575dc;
  stroke-width:2;
}
.graph-node .node-icon {fill:#edf0ff}
.graph-node-start .node-icon {fill:#dcecff}
.graph-node-start .node-kind {fill:#347cc1}
.graph-node-approval .node-icon,
.graph-node-acknowledgement .node-icon,
.graph-node-action .node-icon {fill:#ddf3e5}
.graph-node-approval .node-kind,
.graph-node-acknowledgement .node-kind,
.graph-node-action .node-kind {fill:#348257}
.graph-node-condition .node-icon,
.graph-node-delay .node-icon {fill:#fff0bd}
.graph-node-condition .node-kind,
.graph-node-delay .node-kind {fill:#9a6a12}
.graph-node-correction .node-icon {fill:#ffe3d6}
.graph-node-correction .node-kind {fill:#bd5b2f}
.graph-node-document .node-icon {fill:#eee4fb}
.graph-node-document .node-kind {fill:#7650a8}
.graph-node-signature .node-icon {fill:#ffe4ec}
.graph-node-signature .node-kind {fill:#b64f70}
.graph-node-email .node-icon {fill:#dff2ff}
.graph-node-email .node-kind {fill:#347aa7}
.graph-node-webhook .node-icon {fill:#dff5f3}
.graph-node-webhook .node-kind {fill:#2b7d76}
.graph-node-end .node-icon {fill:#e9edf3}
.graph-node-end .node-kind {fill:#68758a}
.workflow-step {
  border-left:3px solid transparent;
  transition:background .15s,border-color .15s;
}
.workflow-step:hover {background:#fafbfe}
.workflow-step-icon {background:#edf0ff}
.workflow-step[data-step-type="start"] .workflow-step-icon {background:#dcecff}
.workflow-step[data-step-type="approval"] .workflow-step-icon,
.workflow-step[data-step-type="acknowledgement"] .workflow-step-icon,
.workflow-step[data-step-type="action"] .workflow-step-icon {background:#ddf3e5}
.workflow-step[data-step-type="condition"] .workflow-step-icon,
.workflow-step[data-step-type="delay"] .workflow-step-icon {background:#fff0bd}
.workflow-step[data-step-type="correction"] .workflow-step-icon {background:#ffe3d6}
.workflow-step[data-step-type="document"] .workflow-step-icon {background:#eee4fb}
.workflow-step[data-step-type="signature"] .workflow-step-icon {background:#ffe4ec}
.workflow-step[data-step-type="email"] .workflow-step-icon {background:#dff2ff}
.workflow-step[data-step-type="webhook"] .workflow-step-icon {background:#dff5f3}
.workflow-step[data-step-type="end"] .workflow-step-icon {background:#e9edf3}
.onboarding-card {
  border-color:#dfe5f1;
  background:#fff;
  box-shadow:0 18px 50px #34426312;
}
.onboarding-mark {
  background:#edf0ff;
  border:1px solid #dde2ff;
  color:#4d61d8;
}
.onboarding-link {border-radius:11px}
.onboarding-google {background:#fbf8ff;border-color:#e8ddf4}
.onboarding-chatgpt {background:#f2faf6;border-color:#dcefe4}
.onboarding-google:hover {background:#f6f0fd;border-color:#d7c4eb}
.onboarding-chatgpt:hover {background:#eaf7f0;border-color:#c8e4d3}
.onboarding-brand {
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:10px;
  background:#fff;
  border:1px solid #e1e6ed;
  box-shadow:0 3px 10px #24314d0b;
}
.onboarding-brand .service-icon {width:23px;height:23px;object-fit:contain}
.row-list {
  gap:12px;
  border-top:0;
}
.list-card {
  padding:20px;
  border:1px solid #e1e7ef;
  border-radius:11px;
  box-shadow:0 5px 18px #24314d08;
  transition:border-color .15s,box-shadow .15s,transform .15s;
}
.list-card:hover {
  border-color:#d3dce9;
  box-shadow:0 9px 26px #24314d10;
  transform:translateY(-1px);
}
.definition-icon {
  width:46px;
  height:46px;
  border-radius:11px;
}
.definition-icon-form {background:#f2eafd;border:1px solid #e4d4f5}
.definition-icon-document {background:#fff0e7;border:1px solid #f4ddcf}
.definition-icon .service-icon {width:24px;height:24px;object-fit:contain}
.definition-icon .ui-icon {width:23px;height:23px}
.badge {
  padding:5px 10px;
  border-radius:999px;
  font-weight:600;
}
.activity-group {
  background:#fff;
}
.activity-heading {
  background:#fbfcff;
}
.activity-group[open]>.activity-heading {
  background:#f4f7fd;
  border-bottom-color:#e1e7ef;
}
.activity-chevron {
  width:30px;
  height:30px;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  color:#4d61d8;
  background:#edf0ff;
}
.connection-card {
  --connection:#667085;
  --connection-soft:#f3f5f8;
  position:relative;
  border-top:3px solid var(--connection);
}
.connection-google {--connection:#4285f4;--connection-soft:#edf4ff}
.connection-gmail {--connection:#e45b4c;--connection-soft:#fff0ee}
.connection-forms {--connection:#7e57c2;--connection-soft:#f2eafd}
.connection-webhook {--connection:#159786;--connection-soft:#e8f8f4}
.connection-chatgpt {--connection:#169873;--connection-soft:#e8f7f1}
.connection-logo {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:11px;
  background:var(--connection-soft);
}
.connection-logo img {
  width:25px;
  height:25px;
  object-fit:contain;
}
.connection-title {gap:12px}
.connection-card .text-link {color:var(--connection)}
.google-account-list{display:grid;gap:0;margin:-4px 0 16px}.google-account-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.google-account-row:first-child{padding-top:0}.google-account-row strong,.google-account-row small{display:block}.google-account-row small{margin-top:3px;color:var(--muted);overflow-wrap:anywhere}.google-account-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.google-account-actions button{padding:8px 10px;font-size:13px}.check-row{display:flex!important;align-items:center;gap:10px;margin:18px 0!important}.check-row input{width:18px!important;height:18px!important;min-height:0!important;margin:0}
.team-connection-list{display:grid;margin:18px 0 8px}.team-connection-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,190px);align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}.team-connection-row strong,.team-connection-row small{display:block}.team-connection-row small{margin-top:3px;color:var(--muted)}.team-connection-row select{min-width:0}
@media(max-width:720px){.google-account-row{grid-template-columns:38px minmax(0,1fr)}.google-account-actions{grid-column:2;justify-content:flex-start}}

/* Business team onboarding and access */
.team-overview{background:#fff;padding:22px 24px}
.team-title-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.team-title-line h2{margin:0}
.team-title-line .badge{text-transform:none}
.team-plan-notice{display:flex;align-items:center;gap:14px;margin-top:18px;padding:16px 18px;border:1px solid #e7d8a7;border-radius:12px;background:#fffaf0}
.team-plan-notice>span{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:#fff0bd}
.team-plan-notice>div{min-width:0;flex:1}
.team-plan-notice strong,.team-plan-notice p{display:block;margin:0}
.team-plan-notice p{margin-top:3px;color:var(--muted)}
.team-onboarding{margin-top:20px;padding:26px}
.team-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}
.team-section-head.compact{align-items:center;margin-bottom:8px}
.team-section-head .eyebrow{margin:0 0 5px;font-size:12px;letter-spacing:.12em}
.team-section-head h2{margin:0;font-size:23px}
.team-section-head p:not(.eyebrow){margin:5px 0 0;color:var(--muted)}
.team-progress{flex:0 0 auto;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:#f7f8fa;color:#5c6472;font-size:13px;font-weight:650;white-space:nowrap}
.team-setup-list{border-top:1px solid var(--line)}
.team-setup-step{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:14px;padding:17px 0;border-bottom:1px solid var(--line)}
.team-step-state{display:grid;place-items:center;width:32px;height:32px;border:1px solid #d7dce4;border-radius:50%;background:#fff;color:#697181;font-size:14px;font-weight:700}
.team-setup-step.is-complete .team-step-state{border-color:#b9ddc4;background:#eaf6ed;color:#2f7045}
.team-step-state .ui-icon{width:17px;height:17px}
.team-setup-step h3{margin:0;font-size:16px}
.team-setup-step p{margin:3px 0 0;color:var(--muted);line-height:1.45}
.team-setup-step button{min-width:122px}
.team-join-guide{display:flex;align-items:flex-start;gap:12px;margin-top:18px;padding:15px 16px;border-radius:11px;background:#f5f7fb}
.team-join-guide>span{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:#e9edff}
.team-join-guide strong,.team-join-guide p{display:block;margin:0}
.team-join-guide p{margin-top:4px;color:var(--muted);line-height:1.5}
.team-requests{margin-top:20px}
.team-ownership-model{margin-top:20px}
.team-ownership-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin-top:18px;overflow:hidden;border:1px solid var(--line);border-radius:11px;background:var(--line)}
.team-ownership-steps>div{padding:16px;background:#fff}
.team-ownership-steps strong,.team-ownership-steps p{display:block;margin:0}
.team-ownership-steps p{margin-top:5px;color:var(--muted);font-size:13px;line-height:1.5}
.team-content-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,350px);align-items:start;gap:20px;margin-top:20px}
.team-content-grid .team-members{margin:0}
.team-members>.panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.team-members>.panel-head h2,.team-members>.panel-head p{margin:0}
.team-members>.panel-head p{margin-top:4px;color:var(--muted)}
.team-members table{min-width:760px}
.team-members th:nth-child(1){width:31%}
.team-members th:nth-child(2){width:24%}
.team-members th:nth-child(3){width:14%}
.member-role-note{display:block;max-width:220px;margin-top:5px;color:var(--muted);line-height:1.35}
.team-status{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:12px;font-weight:650;white-space:nowrap}
.team-status.ready{background:#eaf6ed;color:#347349}
.team-status.pending{background:#f1f2f4;color:#646b76}
.team-side{display:grid;gap:20px}
.team-side .panel{margin:0}
.team-execution .section-title{align-items:flex-start}
.team-execution .section-title>span{background:#eef4ff}
.team-execution>.muted{margin:14px 0;line-height:1.5}
.team-empty-copy{margin:18px 0;color:var(--muted)}
.team-connection-list{margin:17px 0 10px}
.team-connection-row{grid-template-columns:minmax(0,1fr);gap:10px;padding:13px 0}
.team-connection-row label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;margin:0;color:var(--muted);font-size:12px}
.team-connection-row label select{margin:0;font-size:14px}
.team-connection-row .connection-resources{color:#49566b;font-weight:600}
.team-roles dl,.team-access-model dl{margin:16px 0 0}
.team-roles dl>div,.team-access-model dl>div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;padding:11px 0;border-top:1px solid var(--line)}
.team-roles dt,.team-access-model dt{font-weight:700}
.team-roles dd,.team-access-model dd{margin:0;color:var(--muted);line-height:1.4}
.billing-summary-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
@media(max-width:1120px){.team-content-grid{grid-template-columns:1fr}.team-side{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.team-plan-notice{align-items:flex-start;flex-wrap:wrap}.team-plan-notice button{width:100%}.team-onboarding{padding:20px 18px}.team-section-head{align-items:flex-start;flex-direction:column;gap:10px}.team-setup-step{grid-template-columns:34px minmax(0,1fr)}.team-setup-step>button{grid-column:2;width:100%}.team-join-guide{padding:14px}.team-ownership-steps{grid-template-columns:1fr}.team-side{grid-template-columns:1fr}.team-counts span{flex:auto}.team-requests .pending-actions{grid-column:2}.team-members>.panel-head{align-items:flex-start}.member-actions{align-items:stretch;flex-direction:column}.member-actions select,.member-actions button{width:100%;margin:0}}

/* Compact team manager */
.team-command{padding:20px 22px}
.team-command-meta{display:flex;align-items:center;justify-content:flex-end;gap:18px;color:var(--muted);font-size:14px;flex-wrap:wrap}
.team-command-meta span{white-space:nowrap}
.team-command-meta strong{color:var(--ink)}
.team-command-meta .needs-action{color:#8a5a00}
.team-gate{display:flex;align-items:center;gap:14px;padding:18px 20px;margin-top:16px}
.team-gate>span{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:#f2f3f5}
.team-gate>div{min-width:0;flex:1}
.team-gate h2,.team-gate p{margin:0}
.team-gate h2{font-size:17px}
.team-gate p{margin-top:3px;color:var(--muted)}
.team-quick-setup{padding:20px;margin-top:16px}
.team-quick-head,.team-simple-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.team-quick-head h2,.team-quick-head p,.team-simple-head h2,.team-simple-head p{margin:0}
.team-quick-head h2,.team-simple-head h2{font-size:18px}
.team-quick-head p,.team-simple-head p{margin-top:3px;color:var(--muted);font-size:13px}
.team-quick-head>span,.team-simple-head>span{display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#f1f2f4;color:#5e6570;font-size:12px;font-weight:700}
.team-quick-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px}
.team-quick-actions>div{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:10px}
.team-quick-actions>div>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#f3f4f6}
.team-quick-actions .service-icon{width:21px;height:21px}
.team-quick-actions button{padding:7px 10px}
.team-requests{padding:20px;margin-top:16px}
.team-requests .pending-invite{grid-template-columns:40px minmax(0,1fr) auto}
.team-main-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.75fr);align-items:start;gap:16px;margin-top:16px}
.team-member-panel{overflow:visible}
.team-member-panel>.team-simple-head{padding:18px 20px;border-bottom:1px solid var(--line)}
.team-member-list{display:grid}
.team-member-row{display:grid;grid-template-columns:38px minmax(150px,1fr) auto;align-items:center;gap:12px;padding:13px 20px}
.team-member-row+.team-member-row{border-top:1px solid var(--line)}
.team-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f0f1f3;color:#4b5360;font-size:13px;font-weight:750;letter-spacing:.02em}
.team-member-name{min-width:0}
.team-member-name strong,.team-member-name small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.team-member-name small{margin-top:3px;color:var(--muted);font-size:13px}
.team-member-controls{display:flex;align-items:center;justify-content:flex-end;gap:9px}
.team-member-controls>select{width:auto;min-width:102px;margin:0;padding-block:8px;font-size:13px}
.team-member-controls>.badge{text-transform:none}
.team-status{gap:6px;background:transparent!important;color:var(--muted)!important;padding:5px 2px}
.team-status i{width:7px;height:7px;border-radius:50%;background:#a8adb5}
.team-status.ready i{background:#3f8a58}
.team-member-menu{position:relative}
.team-member-menu summary{display:grid;place-items:center;width:34px;height:34px;border:1px solid var(--line);border-radius:8px;cursor:pointer;list-style:none;font-weight:750;letter-spacing:.08em}
.team-member-menu summary::-webkit-details-marker{display:none}
.team-member-menu[open] summary{background:#f4f5f6}
.team-member-menu>div{position:absolute;right:0;top:40px;z-index:4;display:grid;gap:4px;min-width:135px;padding:6px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 12px 30px #17191624}
.team-member-menu button{width:100%;margin:0;text-align:left}
.team-google-panel{padding:18px 20px}
.team-google-panel .team-simple-head button{padding:7px 10px}
.team-google-panel .team-connection-list{margin:12px 0 0}
.team-google-panel .team-connection-row{padding:13px 0}
.team-google-panel .team-connection-row:last-child{border-bottom:0;padding-bottom:0}
.team-google-panel .team-connection-row label{grid-template-columns:auto minmax(100px,1fr)}
.team-google-panel .connection-resources{font-size:12px!important;font-weight:500!important}
.team-google-empty{display:grid;justify-items:start;gap:10px;padding:26px 0 6px;color:var(--muted)}
.team-google-empty>span{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#f3f4f6}
.team-google-empty .service-icon{width:24px;height:24px}
.team-google-empty p{margin:0}
.team-offboarding{width:min(610px,calc(100% - 28px));padding:24px}.team-offboarding .dialog-title{align-items:flex-start}.team-offboarding .dialog-title p{margin:4px 0 0;color:var(--muted)}.offboarding-blocked,.offboarding-ready{margin-top:22px;padding:16px;border:1px solid var(--line);border-radius:11px;background:#fafaf8}.offboarding-blocked>strong,.offboarding-ready>strong{font-size:16px}.offboarding-blocked ul{display:grid;gap:11px;margin:14px 0 0;padding:0;list-style:none}.offboarding-blocked li{display:grid;gap:2px;padding-top:11px;border-top:1px solid var(--line)}.offboarding-blocked li:first-child{padding-top:0;border-top:0}.offboarding-blocked li span,.offboarding-ready p{color:var(--muted);font-size:13px}.offboarding-ready p{margin:6px 0 0}.team-offboarding .recipient-loading{min-height:190px}
.team-history{margin-top:16px!important}
@media(max-width:1050px){.team-main-grid{grid-template-columns:1fr}.team-google-panel{width:auto}}
@media(max-width:700px){.team-command{align-items:flex-start}.team-command-meta{justify-content:flex-start;gap:10px 16px}.team-gate{align-items:flex-start;flex-wrap:wrap}.team-gate button{width:100%}.team-quick-actions{grid-template-columns:1fr}.team-requests .pending-invite{grid-template-columns:38px minmax(0,1fr)}.team-requests .pending-actions{grid-column:2}.team-member-row{grid-template-columns:38px minmax(0,1fr);align-items:start;padding:14px 16px}.team-member-controls{grid-column:2;justify-content:flex-start;flex-wrap:wrap}.team-member-panel>.team-simple-head{align-items:flex-start;padding:16px}.team-member-name strong,.team-member-name small{white-space:normal;overflow-wrap:anywhere}}
.connection-card button:not(.danger) {
  border-color:#d9e0ea;
  background:#fff;
}
.connection-card button:not(.danger):hover {background:var(--connection-soft);border-color:var(--connection)}
.empty-icon {
  background:#edf0ff;
  color:#4d61d8;
}
.empty {
  border-style:solid;
  background:#fbfcff;
}
@media(max-width:640px) {
  #nav button:hover {transform:none}
  #nav button.active {box-shadow:inset 0 -3px 0 var(--nav-color)}
  .page-heading {gap:11px}
  .page-icon {width:40px;height:40px;flex-basis:40px;border-radius:11px}
  .page-icon .ui-icon {width:21px;height:21px}
  .page-icon .service-icon {width:23px;height:23px}
  .list-card {padding:18px 16px}
}

/* Connection cards use their service color in the icon, without a top stripe. */
.connection-card {
  border-top:1px solid #e1e7ef;
}
#nav button.active {
  box-shadow:none;
}

.webhook-connections {
  display:grid;
  gap:10px;
  width:100%;
  max-height:200px;
  margin:2px 0 14px;
  padding-right:3px;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
}
.webhook-connection {
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto auto;
  align-items:center;
  gap:10px 12px;
  padding:10px 12px;
  border:1px solid #e2e7ef;
  border-radius:10px;
  background:#fff;
}
.webhook-connection-icon {
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:9px;
  background:#e8f8f4;
}
.webhook-connection-icon .ui-icon {width:19px;height:19px}
.webhook-connection-name {
  display:grid;
  min-width:0;
}
.webhook-connection-name strong {
  overflow:hidden;
  font-size:15px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.webhook-connection-name small {
  overflow:hidden;
  margin-top:2px;
  font-size:13px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.webhook-connection-usage {
  color:var(--muted);
  font-size:13px;
  white-space:nowrap;
}
.webhook-connection-actions {
  display:flex;
  gap:8px;
}
.webhook-connection-actions button {
  min-height:34px;
  padding:6px 10px;
  font-size:14px;
}
.webhook-empty {
  display:grid;
  gap:4px;
  padding:18px;
  border:1px dashed #d9e0e9;
  border-radius:10px;
  background:#fafbfd;
}
.webhook-empty strong {font-size:15px}
.webhook-empty small {font-size:14px}
.webhook-secret {
  display:grid;
  gap:6px;
  width:100%;
  margin-top:14px;
  padding:13px;
  border:1px solid #cfe7da;
  border-radius:9px;
  background:#f0faf4;
}
.webhook-secret code {
  overflow-wrap:anywhere;
  color:#245b3b;
  font-size:13px;
}
.webhook-dialog .eyebrow {
  margin-bottom:5px;
  color:var(--muted);
}
.webhook-dialog .field-hint {
  display:block;
  margin-top:7px;
}
.webhook-dialog form>.error:empty {display:none}
@media(max-width:720px) {
  .webhook-connection {grid-template-columns:36px minmax(0,1fr)}
  .webhook-connection-usage {grid-column:2}
  .webhook-connection-actions {grid-column:2}
}

/* Workflow browser and focused recipient actions. */
.workflow-index {overflow:hidden}
.workflow-index .panel-head h2 {margin:0;font-size:17px}
#workflow-index-list {display:grid}
.workflow-index-row {
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto 18px;
  align-items:center;
  gap:14px;
  width:100%;
  min-height:82px;
  padding:14px 20px;
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  background:#fff;
  text-align:left;
}
.workflow-index-row:hover {background:#fafaf7}
.workflow-index-icon {
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  border-radius:10px;
  background:#f4f1e5;
}
.workflow-index-icon .ui-icon {width:21px;height:21px}
.workflow-index-name {min-width:0}
.workflow-index-name strong,.workflow-index-name small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workflow-index-name strong {font-size:16px}
.workflow-index-name small {margin-top:5px;color:var(--muted);font-size:13px;font-weight:450}
.workflow-index-summary {display:flex;align-items:center;gap:12px}
.workflow-index-summary small {color:var(--muted);font-size:13px;font-weight:450;white-space:nowrap}
.workflow-form-list {grid-template-columns:1fr;align-items:start;gap:14px}
.workflow-form-group {overflow:hidden;display:grid;grid-template-columns:minmax(210px,30%) minmax(0,1fr);grid-template-rows:auto 1fr;padding:0}
.workflow-form-group>.google-form-preview {grid-column:1;grid-row:1/3;height:100%;min-height:168px;border-right:1px solid #d7d2dc;border-bottom:0}
.workflow-form-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px 13px}
.workflow-form-heading h2,.workflow-form-heading p {margin:0}
.workflow-form-heading h2 {margin-top:6px;font-size:18px;line-height:1.3}
.workflow-form-heading p {margin-top:3px;color:var(--muted);font-size:13px}
.workflow-form-kind {display:flex;align-items:center;gap:6px;color:#7651a8;font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.workflow-form-kind .service-icon {width:14px;height:14px}
.workflow-form-edit {display:flex;align-items:center;gap:5px;flex:0 0 auto;color:#6941a5;font-size:12px;font-weight:700;text-decoration:none}
.workflow-form-edit .ui-icon {width:15px;height:15px}
.google-form-preview {position:relative;height:128px;overflow:hidden;background:#f0ebf8;border-bottom:1px solid #d7d2dc}
.google-form-sheet {position:absolute;top:7px;left:50%;display:grid;width:72%;gap:4px;transform:translateX(-50%);font-family:Arial,sans-serif;color:#202124}
.google-form-mini-title,.google-form-mini-question {display:grid;padding:7px 9px;border-radius:3px;background:#fff;box-shadow:0 1px 2px #3c404314}
.google-form-mini-title {gap:3px;border-top:4px solid #673ab7}
.google-form-mini-title b {font-size:8px;font-weight:500;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.google-form-mini-title i {font-size:4px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.google-form-mini-title em {color:#d93025;font-size:4px;font-style:normal}
.google-form-mini-question {gap:6px;min-height:25px}
.google-form-mini-question b {font-size:5px;font-weight:500;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.google-form-mini-question b em {margin-left:2px;color:#d93025;font-style:normal}
.google-form-mini-question>i {width:46%;padding-bottom:2px;border-bottom:1px solid #e4e4e4;color:#777;font-size:4px;font-style:normal}
.google-form-mini-choice {display:flex!important;align-items:center;gap:3px;width:auto!important;border:0!important}
.google-form-mini-choice u {width:5px;height:5px;border:1px solid #777;border-radius:50%;text-decoration:none}
.google-form-brand {position:absolute;right:14px;bottom:12px;display:grid;width:34px;height:34px;place-items:center;border-radius:9px;background:#fff;box-shadow:0 4px 15px #3f226c18}
.google-form-brand .service-icon {width:21px;height:21px}
.workflow-card-rows {display:grid;align-content:start;border-top:1px solid var(--line)}
.workflow-card-list-heading {display:flex;align-items:center;justify-content:space-between;padding:9px 16px;background:#f8f8fa;color:#6f7480;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.workflow-card-list-heading strong {font-size:11px}
.workflow-card-list-heading span {display:grid;min-width:20px;height:20px;place-items:center;border:1px solid #dddfe5;border-radius:10px;background:#fff;font-size:10px}
.workflow-card-row {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px 16px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;text-align:left}
.workflow-card-row:last-child {border-bottom:0}
.workflow-card-row:hover,.request-table-row:hover {background:#fafaf7}
.workflow-card-row>span:first-child {min-width:0}
.workflow-card-row strong,.workflow-card-row small {display:block}
.workflow-card-row strong {overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:1.35}
.workflow-card-row small {margin-top:4px;color:var(--muted);font-size:12px;line-height:1.4}
.resource-account {display:flex!important;align-items:center;gap:5px;color:#58657a!important;font-size:12px!important;line-height:1.4}
.resource-account .ui-icon {width:14px;height:14px;flex:0 0 14px}
.workflow-card-row .resource-account {margin-top:5px}
.workflow-card-status {display:flex;align-items:center;gap:8px;flex:0 0 auto}
.workflow-card-status>.ui-icon {width:16px;height:16px}
.google-form-gallery {display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));align-items:start;gap:18px}
.google-form-card {display:block;overflow:hidden;border:1px solid #ded9e6;border-radius:11px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 4px 16px #2e1e430a;transition:border-color .15s,box-shadow .15s,transform .15s}
a.google-form-card:hover {border-color:#bda9d8;box-shadow:0 9px 26px #2e1e4314;transform:translateY(-2px)}
.google-form-card .google-form-preview {height:154px}
.google-form-card-body {padding:16px 17px}
.google-form-card-body h2 {margin:0;font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.google-form-card-body>p {margin:6px 0 16px;color:var(--muted);font-size:13px}
.google-form-card-body>p.resource-account {margin:-8px 0 14px}
.google-form-card-footer {display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:13px;border-top:1px solid var(--line);font-size:12px}
.google-form-card-footer span,.google-form-card-footer strong {display:flex;align-items:center;gap:7px}
.google-form-card-footer span {color:var(--muted)}
.google-form-card-footer strong {color:#6941a5;font-size:12px}
.google-form-card-footer .service-icon,.google-form-card-footer .ui-icon {width:16px;height:16px}
.workflow-primary-tabs {margin-bottom:14px}
.workflow-requests {overflow:hidden}
.request-table-head,.request-table-row {display:grid;grid-template-columns:minmax(100px,.7fr) minmax(130px,1fr) minmax(160px,1.4fr) 105px minmax(130px,1fr) 18px;align-items:center;gap:14px}
.request-table-head {padding:10px 18px;border-bottom:1px solid var(--line);color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.request-table-row {width:100%;min-height:62px;padding:12px 18px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:#fff;text-align:left}
.request-table-row:last-child {border-bottom:0}
.request-table-row>span {min-width:0;color:#495064;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workflow-browser {
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  align-items:start;
  gap:20px;
}
.workflow-directory {
  position:sticky;
  top:18px;
  overflow:hidden;
}
.workflow-directory .panel-head h2 {
  margin:0;
  font-size:17px;
}
.workflow-choice-list {
  display:grid;
  max-height:640px;
  padding:7px;
  overflow:auto;
}
.workflow-choice {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
  min-height:58px;
  padding:10px 11px;
  border:0;
  border-radius:7px;
  background:transparent;
  text-align:left;
}
.workflow-choice:hover {background:#f6f6f2}
.workflow-choice.active {background:#f7f1d9;color:#342c13}
.workflow-choice>span:first-child {min-width:0}
.workflow-choice strong,.workflow-choice small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.workflow-choice strong {font-size:14px}
.workflow-choice small {margin-top:3px;color:var(--muted);font-size:12px;font-weight:450}
.workflow-choice-count {flex:0 0 auto;color:var(--muted);font-size:12px;font-weight:550}
.workflow-detail {min-width:0}
.workflow-detail-title {display:flex;align-items:start;justify-content:space-between;margin:0 0 14px}
.workflow-detail-title h2 {margin:0 0 8px;font-size:24px;letter-spacing:-.4px}
.workflow-detail-title .workflow-meta {margin:0;gap:15px}
.workflow-recent {margin-top:20px;overflow:hidden}
.workflow-run-list {display:grid}
.workflow-run {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  width:100%;
  min-height:65px;
  padding:12px 18px;
  border:0;
  border-top:1px solid var(--line);
  border-radius:0;
  background:#fff;
  text-align:left;
}
.workflow-run:hover {background:#fafaf7}
.workflow-run>span:first-child {min-width:0}
.workflow-run strong,.workflow-run small {display:block}
.workflow-run strong {font-size:14px}
.workflow-run small {margin-top:4px;color:var(--muted);font-size:12px;font-weight:450}
.workflow-run-empty {padding:26px 18px;border-top:1px solid var(--line);color:var(--muted);font-size:14px}

.recipient-loading {display:grid;min-height:260px;place-items:center}
.recipient-loading .spinner {width:22px;height:22px}
.signature-page {max-width:680px}
.task-meta {margin:0 0 22px!important;color:var(--muted);font-size:14px!important}
.signature-purpose {margin:0 0 26px!important;padding:12px 14px;border-radius:7px;background:#f7f7f4;font-size:14px!important}
.recipient-document {margin:24px 0}
.recipient-document iframe {display:block;margin:0 0 10px}
.task-page #task-form {margin-top:24px;padding-top:24px}
.task-page #task-form>label:not(.consent) {margin-top:18px}
.task-page #task-form>.actions {margin-top:22px}
.task-page .optional {color:var(--muted);font-size:12px;font-weight:450}
.task-page .danger {color:#9f2f27}

/* Refreshes use a quiet progress bar instead of blocking the workspace. */
.workspace-loader {
  inset:58px 0 auto 220px;
  display:block;
  height:3px;
  background:#ece7d5;
  overflow:hidden;
  pointer-events:none;
}
.workspace-loader:after {
  content:'';
  display:block;
  width:36%;
  height:100%;
  background:#ac8420;
  animation:workspace-progress 1s ease-in-out infinite;
}
.workspace-loader .loader-pill {display:none}
@keyframes workspace-progress {from{transform:translateX(-110%)}to{transform:translateX(310%)}}

@media(max-width:900px) {
  .workflow-browser {grid-template-columns:1fr}
  .workflow-directory {position:static}
  .workflow-choice-list {grid-auto-flow:column;grid-auto-columns:minmax(190px,1fr);max-height:none;overflow-x:auto}
  .request-table-head {display:none}
  .request-table-row {grid-template-columns:1fr auto 18px;gap:7px 12px}
  .request-table-row>*:before {content:attr(data-label) ' · ';color:var(--muted);font-weight:500}
  .request-table-row>strong {grid-column:1}
  .request-table-row>span {grid-column:1/3}
  .request-table-row>span:nth-of-type(3) {grid-column:2;grid-row:1}
  .request-table-row>.ui-icon {grid-column:3;grid-row:1/6}
}
@media(max-width:700px) {
  .workspace-loader {inset:0 0 auto 0}
  .workflow-detail-title h2 {font-size:21px}
  .workflow-run {align-items:flex-start}
  .task-page {margin-top:22px;padding-inline:15px}
  .task-brand {margin-bottom:20px}
  .task-page .panel-body {padding:22px 18px}
  .task-page .actions {display:grid;grid-template-columns:1fr}
  .task-page .actions button {width:100%}
  .workflow-form-list,.google-form-gallery {grid-template-columns:1fr}
  .workflow-form-group {grid-template-columns:1fr;grid-template-rows:auto}
  .workflow-form-group>.google-form-preview {grid-column:1;grid-row:auto;height:128px;min-height:0;border-right:0;border-bottom:1px solid #d7d2dc}
}

/* Document library cards and the email-style delivery outbox. */
.document-gallery {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  align-items:start;
  gap:18px;
  margin-top:18px;
}
.document-card {
  overflow:hidden;
  border:1px solid #e1e6ee;
  border-radius:12px;
  background:#fff;
  box-shadow:0 5px 18px #24314d08;
  transition:border-color .15s,box-shadow .15s,transform .15s;
}
.document-card:hover {
  border-color:#d3dbe7;
  box-shadow:0 10px 28px #24314d12;
  transform:translateY(-2px);
}
.document-card-preview {
  position:relative;
  display:grid;
  height:168px;
  place-items:center;
  overflow:hidden;
  border-bottom:1px solid #e6e8ed;
  background:#fff;
}
.document-card-preview iframe {
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  border:0;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}
.document-card-preview.preview-ready iframe {opacity:1}
.document-card-preview.preview-ready .document-sheet {opacity:0}
.document-card-preview.preview-error iframe {display:none}
.document-sheet {
  display:grid;
  width:112px;
  height:136px;
  padding:18px 15px;
  gap:9px;
  border:1px solid #e2e5ea;
  border-radius:5px 5px 2px 2px;
  background:#fff;
  box-shadow:0 8px 22px #24314d0d;
  transform:translateY(10px);
}
.document-sheet-mark {
  display:grid;
  width:30px;
  height:30px;
  place-items:center;
  border-radius:7px;
  background:#f5f6f8;
  color:#333b4a;
}
.document-sheet-mark .ui-icon {width:17px;height:17px}
.document-sheet i {
  display:block;
  height:5px;
  border-radius:999px;
  background:#eceff3;
}
.document-sheet i:nth-of-type(2) {width:82%}
.document-sheet i:nth-of-type(3) {width:92%}
.document-sheet i:nth-of-type(4) {width:64%}
.document-format {
  position:absolute;
  z-index:2;
  top:14px;
  right:14px;
  padding:5px 8px;
  border:1px solid #dedfe2;
  border-radius:7px;
  background:#fff;
  color:#626771;
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
}
.document-pipeline {font-weight:600;color:#525966!important}
.document-pipeline span {color:#a0a6b0;font-weight:400}
.document-card-body {padding:17px}
.document-card-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.document-card-heading h2 {
  margin:0;
  font-size:17px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.document-card-heading>span {
  flex:0 0 auto;
  color:var(--muted);
  font-size:12px;
}
.document-card-body>p {
  margin:7px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}
.document-fields {
  display:flex;
  min-height:29px;
  gap:6px;
  margin-top:13px;
  overflow:hidden;
}
.document-fields span {
  overflow:hidden;
  max-width:118px;
  padding:5px 8px;
  border-radius:999px;
  background:#f4f5f7;
  color:#616774;
  font-size:11px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.document-card-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:17px;
  padding-top:14px;
  border-top:1px solid var(--line);
}
.document-card-actions button {
  min-height:38px;
  padding:8px 12px;
  font-size:13px;
}
.document-card-actions .template-drive-link {font-size:13px}
.mailbox {
  overflow:hidden;
  border:1px solid #e1e6ee;
  border-radius:12px;
  background:#fff;
  box-shadow:0 5px 18px #24314d08;
}
.mailbox-heading {
  display:grid;
  grid-template-columns:minmax(150px,.8fr) minmax(260px,1.5fr) 110px 150px;
  gap:16px;
  padding:11px 18px 11px 70px;
  border-bottom:1px solid var(--line);
  background:#fafbfd;
  color:var(--muted);
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.mail-row {
  display:grid;
  grid-template-columns:36px minmax(150px,.8fr) minmax(260px,1.5fr) 110px 150px;
  align-items:center;
  gap:16px;
  min-height:72px;
  padding:11px 18px;
  border-bottom:1px solid var(--line);
  width:100%;
  border-top:0;
  border-right:0;
  border-left:0;
  border-radius:0;
  background:#fff;
  color:var(--ink);
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.mail-row:last-child {border-bottom:0}
.mail-row:hover {background:#fafbfd}
.mail-row:focus-visible {position:relative;z-index:1;outline:2px solid #6f7fc8;outline-offset:-2px}
.mail-service {
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  border:1px solid #e6e8ed;
  border-radius:9px;
  background:#fff;
}
.mail-service .service-icon {width:20px;height:20px}
.mail-recipient,.mail-message {display:grid;min-width:0;gap:4px}
.mail-recipient strong,.mail-message strong,.mail-recipient small,.mail-message small {
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.mail-recipient strong,.mail-message strong {font-size:14px}
.mail-recipient small,.mail-message small {color:var(--muted);font-size:12px}
.mail-recipient small {order:-1;text-transform:uppercase;letter-spacing:.05em;font-size:10px}
.mail-message .mail-error {color:#a43d32}
.mail-delivery {justify-self:start}
.mail-row time {color:var(--muted);font-size:12px;white-space:nowrap}
.outbox-message {width:min(680px,calc(100% - 28px));max-height:min(760px,calc(100vh - 28px));padding:0;overflow:auto;border:1px solid #dfe3ea;border-radius:16px;background:#fff;box-shadow:0 24px 70px #17203a30}
.outbox-message::backdrop {background:#17203a52}
.outbox-message-head {position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid var(--line);background:#fff}
.outbox-message-head>div {display:flex;align-items:center;gap:10px}
.outbox-message-title {display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:24px 24px 14px}
.outbox-message-title h2 {margin:0;font-size:24px;line-height:1.25}
.outbox-message-title time {color:var(--muted);font-size:12px;white-space:nowrap}
.outbox-addresses {display:grid;gap:6px;margin:0;padding:0 24px 20px;border-bottom:1px solid var(--line)}
.outbox-addresses>div {display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px;font-size:13px}
.outbox-addresses dt {color:var(--muted)}
.outbox-addresses dd {margin:0;overflow-wrap:anywhere}
.outbox-message-body {min-height:160px;padding:26px 24px 34px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.65}
.outbox-attachments {display:flex;align-items:center;gap:8px;margin:0 24px 24px;padding:11px 13px;border:1px solid var(--line);border-radius:9px;background:#fafaf8;font-size:13px;font-weight:650}
.outbox-delivery-note {margin:0;padding:13px 24px;border-top:1px solid var(--line);background:#f7f8f4;color:#596052;font-size:13px;line-height:1.5}
.outbox-delivery-error {margin:0;padding:13px 24px;background:#fff2ef;color:#a13e34;font-size:13px}
@media(max-width:900px) {
  .mailbox-heading {display:none}
  .mail-row {grid-template-columns:36px minmax(0,1fr) auto;gap:8px 12px;padding:14px 15px}
  .mail-recipient {grid-column:2}
  .mail-delivery {grid-column:3;grid-row:1}
  .mail-message {grid-column:2/4}
  .mail-row time {grid-column:2/4}
}
@media(max-width:600px) {
  .document-gallery {grid-template-columns:1fr}
  .document-card-preview {height:146px}
  .document-sheet {height:120px;transform:translateY(8px)}
  .mail-row {grid-template-columns:32px minmax(0,1fr) auto}
  .mail-service {width:32px;height:32px}
  .mail-delivery .badge {padding:4px 7px;font-size:10px}
  .outbox-message-title {display:grid;padding:20px 18px 12px}
  .outbox-addresses {padding:0 18px 17px}
  .outbox-message-body {padding:22px 18px 28px}
}

/* Focused sign-in and first-workspace setup. */
.login {
  min-height:100dvh;
  padding:32px;
  display:grid;
  grid-template-columns:1fr;
  place-items:center;
  background:#f4f4ef;
}
.login-card {
  width:min(100%,440px);
  max-width:none;
  margin:0;
  padding:44px 40px 38px;
  border:1px solid #deded5;
  border-radius:18px;
  background:#fff;
  box-shadow:0 22px 60px #24251f12,0 2px 8px #24251f0a;
}
.login-card>.brand {
  display:flex;
  width:max-content;
  margin:0 auto 42px;
}
.login-card>.brand img {
  width:150px;
  height:auto;
}
.login-heading {
  text-align:center;
}
.login-heading h1 {
  margin:0;
  font-size:34px;
  line-height:1.1;
  letter-spacing:-1.1px;
  font-weight:700;
}
.login-heading p {
  max-width:none;
  margin:12px 0 0;
  color:#686a63;
  font-size:16px;
  line-height:1.55;
}
.sign-in-button {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:54px;
  margin-top:30px;
  padding:13px 48px;
  border:1px solid #cfd1cb;
  border-radius:10px;
  background:#fff;
  color:#242520;
  box-shadow:0 1px 2px #20211d0a;
  font-size:16px;
  font-weight:650;
  line-height:1.25;
  text-decoration:none;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.sign-in-button img {
  position:absolute;
  left:18px;
  width:20px;
  height:20px;
  object-fit:contain;
}
.sign-in-button:hover {
  border-color:#aeb1aa;
  background:#fafaf8;
  box-shadow:0 3px 10px #20211d10;
}
.sign-in-button:focus-visible {
  outline:3px solid #d5b23566;
  outline-offset:3px;
}
#account-setup .login-heading {
  margin-top:0;
}
#account-setup form {
  margin:28px 0 18px;
}
#account-setup .text-link,
#account-setup>.quiet {
  width:100%;
  justify-content:center;
}
.login-card>#login-error:not(:empty) {
  margin:22px 0 0;
  padding:11px 13px;
  border-radius:8px;
  background:#fff1ee;
  color:#9b3c32;
  font-size:14px;
  line-height:1.45;
  text-align:center;
}
@media(max-width:520px) {
  .login {
    padding:18px;
    align-items:center;
  }
  .login-card {
    padding:36px 24px 30px;
    border-radius:15px;
  }
  .login-card>.brand {
    margin-bottom:34px;
  }
  .login-card>.brand img {
    width:140px;
  }
  .login-heading h1 {
    font-size:29px;
    letter-spacing:-.8px;
  }
  .sign-in-button {
    margin-top:26px;
  }
}

/* Google source picker shared by Forms and Documents. */
.google-source-picker {width:min(680px,calc(100% - 28px));padding:0;overflow:hidden}
.google-source-picker .dialog-title {padding:21px 22px 17px;border-bottom:1px solid var(--line)}
.google-source-picker .dialog-title p {margin:5px 0 0;color:var(--muted);font-size:14px}
.google-source-search {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px 22px;border-bottom:1px solid var(--line);background:#fafbf9}
.google-source-search label:not(.sr-only) {grid-column:1/-1;margin:0;font-size:12px;color:var(--muted)}
.google-source-search select {grid-column:1/-1;margin:0}
.google-source-search input,.google-source-search button {margin:0}
.google-source-results {max-height:430px;overflow-y:auto;overscroll-behavior:contain}
.google-source-row {display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 22px;border-bottom:1px solid var(--line)}
.google-source-row:last-child {border-bottom:0}
.google-source-row>span:nth-child(2) {min-width:0}
.google-source-row strong,.google-source-row small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.google-source-row strong {font-size:15px}
.google-source-row small {margin-top:3px;color:var(--muted);font-size:12px}
.google-source-row button {margin:0}
.google-source-footer {display:flex;justify-content:center;padding:12px 22px;background:#fafbf9;border-top:1px solid var(--line)}
.google-source-footer button {margin:0}
.google-source-logo {display:grid;width:42px;height:42px;place-items:center;border-radius:10px;background:#f4f6f8}
.google-source-logo .service-icon {width:25px;height:25px}
.google-source-message,.google-source-empty {padding:36px 22px;text-align:center;color:var(--muted)}
.google-source-empty button {margin-top:14px}
.google-source-library {margin:24px 0 6px}
.section-heading {display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}
.section-heading h2 {margin:0;font-size:18px}
.section-heading p {margin:4px 0 0;color:var(--muted);font-size:13px}
.section-heading>span {display:grid;min-width:28px;height:28px;place-items:center;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px}
.google-source-cards {display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}
.google-source-card {display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px;border:1px solid #e1e6ee;border-radius:11px;background:#fff}
.google-source-card h3 {margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}
.google-source-card p {margin:4px 0 0;color:var(--muted);font-size:12px}
.google-source-card a {display:flex;align-items:center;gap:5px;color:#315e9b;font-size:13px;font-weight:650;text-decoration:none}
.google-source-card a .ui-icon {width:15px;height:15px}
@media(max-width:600px){.google-source-search{grid-template-columns:1fr}.google-source-search button{width:100%}.google-source-row{padding-inline:14px;grid-template-columns:38px minmax(0,1fr) auto;gap:9px}.google-source-logo{width:38px;height:38px}.google-source-card{grid-template-columns:38px minmax(0,1fr)}.google-source-card>a{grid-column:2;justify-self:start}}

/* Focused workflow operations view. */
.workflow-overview {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}
.workflow-stat {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:82px;
  padding:15px 17px;
  border:1px solid #e1e6ee;
  border-radius:11px;
  background:#fff;
  box-shadow:0 4px 14px #24314d08;
}
.workflow-stat-icon {
  display:grid;
  width:38px;
  height:38px;
  flex:0 0 38px;
  place-items:center;
  border-radius:9px;
  background:#f2f4f8;
}
.workflow-stat-icon .ui-icon {width:19px;height:19px}
.workflow-stat small,.workflow-stat strong {display:block}
.workflow-stat small {margin-bottom:2px;color:var(--muted);font-size:12px;font-weight:550}
.workflow-stat strong {font-size:23px;line-height:1.1;letter-spacing:-.4px}
.workflow-context {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.workflow-context .workflow-meta {margin:0}
.workflow-account-line {display:flex;align-items:center;gap:8px 16px;margin-top:8px;color:var(--muted);font-size:12px;flex-wrap:wrap}
.workflow-account-line>span {display:flex;align-items:center;gap:5px}
.workflow-account-line .ui-icon {width:14px;height:14px}
.workflow-account-line strong {color:#344055;font-weight:650}
.workflow-primary-tabs {margin-bottom:14px;border:1px solid #e1e6ee;border-radius:10px;padding-inline:17px}
.workflow-run-tools {
  display:grid;
  grid-template-columns:minmax(220px,1fr) 170px auto;
  gap:10px;
  padding:13px;
  border-bottom:1px solid var(--line);
  background:#fafbfd;
}
.workflow-run-tools input,.workflow-run-tools select,.workflow-run-tools button {
  min-height:42px;
  margin:0;
}
.request-table-row>strong {
  display:flex;
  align-items:center;
  min-width:0;
  gap:9px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.request-status-dot {
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:#9aa3b2;
}
.request-status-dot.completed {background:#4d9661}
.request-status-dot.waiting,.request-status-dot.sleeping {background:#c89921}
.request-status-dot.running {background:#5679b3}
.request-status-dot.failed,.request-status-dot.cancelled {background:#bd5445}
#workflow-flow .workflow-step-list {border-radius:0 0 11px 11px}

/* Request progress leads with the answer: where is this request now? */
.request-view {display:grid;gap:20px}
.request-progress-panel {overflow:hidden}
.request-progress-summary {display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:16px;padding:22px 24px}
.request-progress-summary small {display:block;margin-bottom:3px;color:var(--muted);font-size:13px;font-weight:650;text-transform:uppercase;letter-spacing:.55px}
.request-progress-summary h2 {margin:0;font-size:24px;line-height:1.25}
.request-progress-summary p {margin:5px 0 0;color:var(--muted);font-size:14px}
.request-progress-icon {display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#f2f3ef;color:#545852}
.request-progress-icon .ui-icon {width:23px;height:23px}
.request-progress-icon.waiting,.request-progress-icon.sleeping {background:#fff5cf;color:#84630d}
.request-progress-icon.running {background:#eaf1ff;color:#46699f}
.request-progress-icon.completed {background:#e9f6ed;color:#39764d}
.request-progress-icon.failed {background:#ffebe7;color:#a84338}
.request-progress-meter {height:6px;margin:0 24px 20px;border-radius:999px;background:#e9ebe7;overflow:hidden}
.request-progress-meter span {display:block;height:100%;border-radius:inherit;background:#477e58;transition:width .2s ease}
.tabs.view-switcher {width:max-content;max-width:calc(100% - 44px);gap:3px;padding:4px;border:1px solid #dfe4ef;border-radius:10px;background:#f2f4f8}
.tabs.view-switcher button {gap:7px;min-height:36px;padding:7px 12px;border:1px solid transparent;border-radius:7px;color:#68758a;font-size:13px;font-weight:650}
.tabs.view-switcher button:hover {border-color:transparent;background:#e8ecf5;color:#445066}
.tabs.view-switcher button.active {border-color:#d8deeb;background:#fff;color:#4052bc;box-shadow:0 1px 4px #24314d18}
.tabs.view-switcher button .ui-icon {width:16px;height:16px;opacity:.78}
.tabs.view-switcher button.active .ui-icon {opacity:1}
.workflow-view-switcher {margin:16px 20px}
.request-progress-tabs {margin:0 22px 18px}
.request-run-diagram {min-height:390px;border-radius:0;background:#fafaf8}
.request-details {overflow:hidden}
.request-details summary {display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:70px;padding:16px 22px;cursor:pointer;list-style:none}
.request-details summary::-webkit-details-marker {display:none}
.request-details summary>span {display:grid;gap:3px}
.request-details summary strong {font-size:17px}
.request-details summary small {color:var(--muted);font-size:13px}
.request-details summary>.ui-icon {transition:transform .18s ease}
.request-details[open] summary>.ui-icon {transform:rotate(90deg)}
.request-details[open] .panel-body {border-top:1px solid var(--line)}
.request-documents .task-card:last-child {margin-bottom:0}
.graph-node.run-current>rect:first-child {fill:#fffaf0;stroke:#bd8b19;stroke-width:3}
.graph-node.run-complete>rect:first-child {fill:#f3faf5;stroke:#63a177;stroke-width:2}
.graph-node.run-failed>rect:first-child {fill:#fff5f3;stroke:#c95749;stroke-width:3}
.graph-node.run-stopped>rect:first-child {fill:#f7f7f5;stroke:#8c8e89;stroke-width:2}
.node-state {font-size:10px;font-weight:750;letter-spacing:.5px;fill:#81705a}
.graph-node.run-complete .node-state {fill:#3f8056}
.graph-node.run-failed .node-state {fill:#a63e34}
.graph-node.run-stopped .node-state {fill:#666963}
.request-stage-list {counter-reset:stage}
.request-stage {position:relative;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 22px}
.request-stage:not(:last-child)::after {content:"";position:absolute;left:39px;top:52px;bottom:-16px;width:2px;background:#e1e4df}
.request-stage-marker {position:relative;z-index:1;display:grid;place-items:center;width:36px;height:36px;border:2px solid #d8dbd5;border-radius:50%;background:#fff;color:#777c75;font-size:13px;font-weight:750}
.request-stage-marker .ui-icon {width:17px;height:17px}
.request-stage.current {background:#fffcf4}
.request-stage.complete {background:#f8fcf9}
.request-stage.failed {background:#fff8f6}
.request-stage.stopped {background:#fafaf8}
.request-stage.complete .request-stage-marker {border-color:#7eb18d;background:#eaf6ee;color:#347249}
.request-stage.current .request-stage-marker {border-color:#c69a2c;background:#fff5cf;color:#795a0a;box-shadow:0 0 0 4px #fff9e8}
.request-stage.failed .request-stage-marker {border-color:#cb6a5e;background:#fff0ed;color:#a23c32}
.request-stage.stopped .request-stage-marker {border-color:#9b9e98;background:#f2f3f0;color:#5f625d}
.request-stage .step-kind {margin:0 0 2px;font-size:12px;text-transform:uppercase;letter-spacing:.45px}
.request-stage h3 {font-size:17px;line-height:1.35}
.request-stage-main {min-width:0}
.request-stage-meta {display:flex;align-items:center;gap:8px;min-width:0;margin:5px 0 0;color:#697386;font-size:12px;line-height:1.45}
.request-stage-meta span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.request-stage-meta span+span::before {content:"·";margin-right:8px;color:#a5adba}
.request-stage-meta b {color:#4c5668;font-weight:650}
.stage-state {justify-self:end;padding:5px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px;font-weight:700}
.stage-state.current {border-color:#dbc06d;background:#fff8dc;color:#7b5a07}
.stage-state.complete {border-color:#b9d8c3;background:#eff8f2;color:#357049}
.stage-state.failed {border-color:#e4b8b1;background:#fff0ed;color:#a23c32}
.stage-state.stopped {border-color:#d5d7d2;background:#f3f4f1;color:#5f625d}
@media(max-width:640px){.request-progress-summary{grid-template-columns:40px minmax(0,1fr);padding:18px 16px}.request-progress-summary>.badge{grid-column:2;justify-self:start}.request-progress-icon{width:40px;height:40px}.request-progress-summary h2{font-size:21px}.request-progress-meter{margin-inline:16px}.tabs.view-switcher{width:calc(100% - 32px);max-width:none;margin:0 16px 16px}.tabs.view-switcher button{flex:1}.request-stage{grid-template-columns:32px minmax(0,1fr);padding:15px 16px;gap:12px}.request-stage-marker{width:32px;height:32px}.request-stage:not(:last-child)::after{left:31px;top:47px}.request-stage-meta{display:grid;gap:2px}.request-stage-meta span+span::before{display:none}.stage-state{grid-column:2;justify-self:start}.request-run-diagram{min-height:320px}}
#workflow-flow .workflow-step {padding-block:20px}
.how-to-grid {display:grid;gap:14px;max-width:900px}
.how-to-card {display:grid;grid-template-columns:32px 48px minmax(0,1fr);align-items:start;gap:16px;padding:22px}
.how-to-number {display:grid;place-items:center;width:28px;height:28px;border:1px solid #d9dcd5;border-radius:50%;color:#656a62;font-size:13px;font-weight:750}
.how-to-icon {display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#f2f4ef}
.how-to-icon .service-icon,.how-to-icon .ui-icon {width:25px;height:25px}
.how-to-card h2 {margin:1px 0 5px;font-size:19px}
.how-to-card p {margin:0 0 14px;color:var(--muted);font-size:15px;line-height:1.5}
.how-to-action {display:inline-flex;width:max-content;align-items:center;gap:8px;min-height:38px;padding:8px 12px;text-decoration:none}
.how-to-action .ui-icon {width:16px;height:16px}
.how-to-prompts {display:flex;flex-wrap:wrap;gap:7px}
.how-to-prompts span {padding:7px 10px;border:1px solid #e1e3de;border-radius:8px;background:#fafaf8;color:#51554e;font-size:13px}
.how-to-help {margin:18px 0 0;color:var(--muted);font-size:14px}
.how-to-help a {display:inline-flex;align-items:center;gap:5px;color:var(--ink);font-weight:650;text-decoration:none}
.how-to-help .ui-icon {width:14px;height:14px}
@media(max-width:640px){.how-to-card{grid-template-columns:30px 42px minmax(0,1fr);gap:11px;padding:17px 15px}.how-to-icon{width:42px;height:42px}.how-to-card h2{font-size:18px}.how-to-card p{font-size:14px}.how-to-action{grid-column:3}}
@media(max-width:900px) {
  .workflow-overview {grid-template-columns:repeat(2,minmax(0,1fr))}
  .workflow-run-tools {grid-template-columns:minmax(0,1fr) 150px}
  .workflow-run-tools button {grid-column:1/3}
}
@media(max-width:600px) {
  .workflow-overview {gap:8px}
  .workflow-stat {min-height:72px;padding:12px;gap:9px}
  .workflow-stat-icon {width:32px;height:32px;flex-basis:32px}
  .workflow-stat strong {font-size:20px}
  .workflow-context {align-items:flex-start}
  .workflow-run-tools {grid-template-columns:1fr}
  .workflow-run-tools button {grid-column:auto}
}
