/* Control tokens taken from Combain Design's exported component/state frames. */
#workspaceApp,
#dialogLayer {
  --control-ink: #101a29;
  --control-muted: #4a5d72;
  --control-blue: #095a84;
  --control-line: #d7e2ee;
  --control-surface: #f6f9fc;
  --control-selected: #e5f3fc;
  --control-disabled: #e5ebf2;
  --control-error: #9f3331;
  --control-radius: 8px;
}

#workspaceApp :is(.primary,.secondary,.soft,.danger,.quiet),
#dialogLayer :is(.primary,.secondary,.soft,.danger,.quiet) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--control-line);
  border-radius: var(--control-radius);
  background: #fff;
  color: var(--control-ink);
  font: 600 13px/18px "Golos Text","Segoe UI",sans-serif;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
  transition: background .16s,border-color .16s,box-shadow .16s;
}
#workspaceApp .primary,#dialogLayer .primary {background:#69c8ff;border-color:#69c8ff;color:#101a29}
#workspaceApp .primary:hover,#dialogLayer .primary:hover {background:#55bcf7;border-color:#55bcf7;transform:none;box-shadow:none}
#workspaceApp .primary:active,#dialogLayer .primary:active {background:#44aceb;border-color:#44aceb}
#workspaceApp .soft,#dialogLayer .soft {background:#e5f3fc;border-color:#b4d7ef;color:#095a84;padding-inline:12px;gap:7px}
#workspaceApp .soft:hover,#dialogLayer .soft:hover {background:#d9eefc;border-color:#8ec4e8}
#workspaceApp .soft:active,#dialogLayer .soft:active {background:#c9e6f9;border-color:#73b7e0}
#workspaceApp :is(.secondary,.quiet):hover,#dialogLayer :is(.secondary,.quiet):hover {background:#f6f9fc;border-color:#b4cde1;transform:none}
#workspaceApp :is(.secondary,.quiet):active,#dialogLayer :is(.secondary,.quiet):active {background:#eaf2f8}
#workspaceApp .danger,#dialogLayer .danger {background:#fff;border-color:#efb9b5;color:#9f3331}
#workspaceApp .danger:hover,#dialogLayer .danger:hover {background:#fff6f5;border-color:#db9690}
#workspaceApp .danger:active,#dialogLayer .danger:active {background:#fde9e7}
#dialogLayer .danger-solid {background:#9f3331;border-color:#9f3331;color:#fff}
#dialogLayer .danger-solid:hover {background:#8c2928;border-color:#8c2928}
#dialogLayer .danger-solid:active {background:#792322;border-color:#792322}
#workspaceApp :is(.primary,.secondary,.soft,.danger,.quiet) svg,
#dialogLayer :is(.primary,.secondary,.soft,.danger,.quiet) svg {width:16px;height:16px;stroke-width:1.6}
#workspaceApp :is(button,input,textarea,select,summary):focus-visible,
#dialogLayer :is(button,input,textarea,select):focus-visible {outline:2px solid #095a84;outline-offset:2px}
#workspaceApp :is(.primary,.secondary,.soft,.danger,.quiet):disabled,
#dialogLayer :is(.primary,.secondary,.soft,.danger,.quiet):disabled,
#workspaceApp fieldset:disabled :is(.primary,.secondary,.soft,.danger,.quiet) {background:#e5ebf2;border-color:#e5ebf2;color:#4a5d72;opacity:1;cursor:not-allowed;transform:none;box-shadow:none}
#workspaceApp .text-button,#dialogLayer .text-button {display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;color:#095a84;padding:6px 0;font:600 12px/18px "Golos Text","Segoe UI",sans-serif;cursor:pointer;white-space:nowrap}
#workspaceApp .text-button:hover,#dialogLayer .text-button:hover {color:#06476a;text-decoration:underline}
#workspaceApp .text-button svg,#dialogLayer .text-button svg {width:13px;height:13px}
#workspaceApp .text-button:disabled,#dialogLayer .text-button:disabled {color:#899bad;opacity:1;text-decoration:none;cursor:not-allowed}
#workspaceApp .full,#dialogLayer .full {width:100%}

/* Fields and their explicit focus/error/disabled states. */
#workspaceApp :is(input:not([type=checkbox],[type=radio],[type=file]),textarea,select),
#dialogLayer :is(input:not([type=checkbox],[type=radio],[type=file]),textarea,select) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin-top: 6px;
  padding: 10px 11px;
  border: 1px solid #d7e2ee;
  border-radius: 8px;
  background-color: #f6f9fc;
  color: #101a29;
  font: 400 13px/20px "Golos Text","Segoe UI",sans-serif;
  box-shadow: none;
  transition: border-color .16s,background .16s,box-shadow .16s;
}
#workspaceApp :is(input,textarea)::placeholder,#dialogLayer :is(input,textarea)::placeholder {color:#4a5d72;opacity:1}
#workspaceApp :is(input,textarea,select):hover,#dialogLayer :is(input,textarea,select):hover {border-color:#b4cde1}
#workspaceApp :is(input,textarea,select):focus,#dialogLayer :is(input,textarea,select):focus {border-color:#095a84;outline:2px solid #095a84;outline-offset:-1px;box-shadow:none;background-color:#fff}
#workspaceApp :is(input,textarea,select):disabled,#dialogLayer :is(input,textarea,select):disabled {background-color:#e5ebf2;border-color:#d7e2ee;color:#4a5d72;opacity:1;cursor:not-allowed}
#workspaceApp :is(input,textarea,select)[aria-invalid=true],#dialogLayer :is(input,textarea,select)[aria-invalid=true],
#workspaceApp .source-editor.has-error textarea {background:#fff8f8;border-color:#e76965;box-shadow:none}
#workspaceApp select,#dialogLayer select {appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%234A5D72' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
#workspaceApp textarea {resize:vertical;min-height:56px}
#workspaceApp .source-editor textarea,#workspaceApp #targetUrls,#workspaceApp #proxyImportText {height:56px;min-height:56px;font:400 12px/20px "IBM Plex Mono",Consolas,monospace;color:#4a5d72;padding:7px 10px}
#workspaceApp #transportProfile {font-family:"IBM Plex Mono",Consolas,monospace;font-size:13px;font-weight:500;min-height:44px}
#workspaceApp :is(#cookieFolderSelect,#proxyFolderSelect,.folder-mobile-picker) {padding-left:33px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 24 24' fill='none' stroke='%23095A84' stroke-width='1.5'%3E%3Cpath d='M3 7V5h7l2 3h9l-3 12H3V7Zm0 5h17'/%3E%3C/svg%3E"),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%234A5D72' stroke-width='1.5'/%3E%3C/svg%3E");background-position:10px center,right 12px center;background-size:16px 16px,12px 9px;background-repeat:no-repeat;font-weight:500}
#workspaceApp .search-field input {min-height:40px;margin:0;padding:9px 0;border:0;background:transparent;outline:0;box-shadow:none}
#workspaceApp .search-field:focus-within {border-color:#095a84;outline:2px solid #095a84;outline-offset:-1px}
#workspaceApp .period-control select {border:0;background-color:transparent;margin:0;min-height:38px;padding:8px 20px 8px 0;font-size:12px;font-weight:500;background-position:right 0 center;outline:none}
#workspaceApp .period-control:focus-within {outline:2px solid #095a84;outline-offset:-1px}
#workspaceApp .jobSelect {margin:0;font-size:12px}
#workspaceApp .compact-field>input {width:64px;flex:0 0 64px;margin:0;padding-inline:8px;background:#fff}
#workspaceApp .field-error,#dialogLayer .field-error {font:400 12px/18px "Golos Text","Segoe UI",sans-serif;color:#b43c36;margin:5px 0 0}

/* Text/TXT segmented controls have distinct desktop and touch geometry. */
#workspaceApp .source-tabs {display:flex;align-items:center;gap:3px;min-height:32px;width:fit-content;padding:3px;background:#f6f9fc;border:1px solid #d7e2ee;border-radius:8px}
#workspaceApp .source-tabs button {display:flex;align-items:center;justify-content:center;gap:5px;min-height:26px;padding:0 8px;border:1px solid transparent;border-radius:5px;background:transparent;color:#4a5d72;font:500 11px/16px "Golos Text","Segoe UI",sans-serif;white-space:nowrap}
#workspaceApp .source-tabs button svg {width:13px;height:13px}
#workspaceApp .source-tabs :is(button.selected,button[aria-selected=true]) {background:#fff;border-color:#d7e2ee;color:#101a29;font-weight:600;box-shadow:none}
#workspaceApp .tabs {display:flex;gap:3px;padding:3px;background:#f1f5fa;border:1px solid #d7e2ee;border-radius:8px}
#workspaceApp .tabs button {display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-height:38px;padding:0 13px;border:1px solid transparent;border-radius:6px;background:transparent;color:#4a5d72;font:500 12px/18px "Golos Text","Segoe UI",sans-serif}
#workspaceApp .tabs button svg {width:14px;height:14px}
#workspaceApp .tabs button[aria-selected=true] {background:#fff;color:#101a29;font-weight:700;border-color:#d7e2ee;box-shadow:none}
#workspaceApp :is(.source-tabs,.tabs) button:hover {background:#eaf3fb}
#workspaceApp :is(.source-tabs,.tabs) button:disabled {color:#8a9cad;opacity:1;cursor:not-allowed}
#workspaceApp .source-editor>.label-row>label {font-size:14px;font-weight:600;color:#101a29}

/* Uploaded-file cards preserve a filename and a separate, readable count. */
#workspaceApp .file-summary {display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:55px;padding:6px 10px;background:#f6f9fc;border:1px solid #d7e2ee;border-radius:8px;font-family:"Golos Text","Segoe UI",sans-serif}
#workspaceApp .file-meta {display:flex;align-items:center;gap:9px;min-width:0;color:#095a84}
#workspaceApp .file-meta>svg,#workspaceApp .file-meta>.inline-icon>svg {width:17px;height:19px}
#workspaceApp .file-meta-copy {display:flex;flex-direction:column;gap:2px;min-width:0}
#workspaceApp .file-name {overflow-wrap:anywhere;font:500 12px/17px "IBM Plex Mono",Consolas,monospace;color:#4a5d72}
#workspaceApp .file-count {color:#095a84;font:500 11px/15px "Golos Text","Segoe UI",sans-serif}
#workspaceApp .file-actions {display:flex;align-items:center;gap:8px;margin:0;flex-shrink:0}
#workspaceApp .file-actions>* {flex:0 0 auto}
#workspaceApp .file-button {position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin:0;overflow:hidden;cursor:pointer}
#workspaceApp .file-button input {position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
#workspaceApp .file-button:focus-within {outline:2px solid #095a84;outline-offset:2px}
#workspaceApp .file-button:has(input:disabled) {cursor:wait}
#workspaceApp .file-summary.has-error {border-color:#e76965;background:#fff8f8}
#workspaceApp .file-summary.has-error .file-meta {color:#b43c36}
#workspaceApp .file-summary.is-empty .file-name {font-family:"Golos Text","Segoe UI",sans-serif;color:#4a5d72;font-weight:500}
#workspaceApp .proxy-file-widget {margin:10px 0}
#workspaceApp .proxy-file-widget .file-button {flex-shrink:0}
#workspaceApp .dropzone {display:flex;align-items:center;gap:14px;min-height:116px;padding:18px;border:1px dashed #accae6;border-radius:9px;background:#f6f9fc}
#workspaceApp .dropzone strong {font-size:14px;font-weight:600;color:#101a29}
#workspaceApp .dropzone p {font-size:12px;font-weight:400;color:#4a5d72;margin:1px 0 0}
#workspaceApp .dropzone .file-button {margin-left:auto}
#workspaceApp .dropzone.drag-over {border-color:#095a84;background:#e5f3fc;box-shadow:0 0 0 2px #b4d7ef}
#workspaceApp .cookie-import-heading .section-icon,#workspaceApp .cookie-import-heading p {display:none}

/* Switches, steppers and choice pills. */
#workspaceApp .toggle {display:flex;position:relative;align-items:center;justify-content:space-between;gap:20px;min-height:48px;padding:12px 0;margin:0;border-top:1px solid #e6eef7;cursor:pointer}
#workspaceApp .toggle strong {display:block;font:600 13px/18px "Golos Text","Segoe UI",sans-serif;color:#101a29}
#workspaceApp .toggle small {display:block;font:400 12px/18px "Golos Text","Segoe UI",sans-serif;color:#4a5d72;margin-top:3px;max-width:640px}
#workspaceApp .toggle input {position:absolute;right:0;width:36px;height:24px;opacity:0;margin:0;cursor:pointer;z-index:1}
#workspaceApp .toggle i {display:block;position:relative;flex-shrink:0;width:36px;height:20px;border-radius:12px;background:#8299b1;transition:background .16s}
#workspaceApp .toggle i:after {content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;background:#fff;border-radius:50%;box-shadow:none;transition:transform .16s}
#workspaceApp .toggle input:checked+i {background:#095a84}
#workspaceApp .toggle input:checked+i:after {transform:translateX(16px)}
#workspaceApp .toggle input:focus-visible+i {outline:2px solid #095a84;outline-offset:3px}
#workspaceApp .toggle input:disabled+i {background:#c8d3df}
#workspaceApp .card-toggle {min-height:22px;border:0;padding:0}

/* A setting's controls stay visibly attached to the switch that enables it. */
#workspaceApp .option-group {min-width:0}
#workspaceApp .option-group>.toggle>span {min-width:0}
#workspaceApp .advanced-content>.option-group:first-child>.toggle {border-top:0}
#workspaceApp :is(.dependent-settings,.dependent-fields) {
  min-width:0;
  margin:0 0 0 8px;
  padding:0 0 0 14px;
  border-left:1px solid #d7e2ee;
  animation:none;
}
#workspaceApp .dependent-settings.standalone {margin:0;padding:0;border-left:0}
#workspaceApp .dependent-settings .reply-text-editor {padding:0}
#workspaceApp .dependent-settings .reply-text-editor .hint {margin-bottom:6px}
#workspaceApp .dependent-settings .source-editor {margin-top:0}
#workspaceApp .dependent-settings #replyFields {padding:0 0 4px}
#workspaceApp .dependent-settings #replyFields>.stepper-field {margin-top:4px}
#workspaceApp .dependent-fields>label,
#workspaceApp .dependent-fields>.form-grid>label {min-width:0}
#workspaceApp .dependent-fields .stepper-field {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
#workspaceApp .dependent-fields .number-stepper {margin-left:auto}
#workspaceApp .dependent-fields>.hint {margin:8px 0 0;font-size:12px;line-height:18px}
#workspaceApp :is(#replyFields,#proxyFields) {animation:none}

#workspaceApp .mode-option strong {font-size:13px;font-weight:500}
#workspaceApp .mode-option:has(input:checked) strong {font-weight:600}
#workspaceApp .mode-option:has(input:checked) {background:#e5f3fc;border-color:#7ab8e2}
#workspaceApp .number-stepper,#dialogLayer .number-stepper {display:inline-flex;align-items:stretch;flex-shrink:0;height:44px;width:128px;border:1px solid #d7e2ee;border-radius:8px;background:#f6f9fc;overflow:hidden;vertical-align:middle}
#workspaceApp .number-stepper>input,#dialogLayer .number-stepper>input {width:42px;min-width:0;min-height:42px;height:42px;padding:0 3px;margin:0;border:0;border-inline:1px solid #e0e9f1;border-radius:0;background:#fff;appearance:textfield;text-align:center;font:600 14px/42px "Golos Text","Segoe UI",sans-serif;box-shadow:none;outline-offset:-2px}
#workspaceApp .number-stepper>input::-webkit-inner-spin-button,#dialogLayer .number-stepper>input::-webkit-inner-spin-button {appearance:none;margin:0}
#workspaceApp .stepper-button,#dialogLayer .stepper-button {display:grid;place-items:center;flex:1;min-width:0;padding:0;border:0;background:#f6f9fc;color:#095a84;cursor:pointer}
#workspaceApp .stepper-button svg,#dialogLayer .stepper-button svg {width:16px;height:16px}
#workspaceApp .stepper-button:hover,#dialogLayer .stepper-button:hover {background:#e5f3fc}
#workspaceApp .stepper-button:disabled,#dialogLayer .stepper-button:disabled {background:#f6f9fc;color:#b1bfcd;opacity:1;cursor:not-allowed}
#workspaceApp .stepper-field {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;margin:10px 0 0}
#workspaceApp .form-grid .stepper-field {flex-wrap:wrap;margin-top:0}
#dialogLayer .limit-field>.number-stepper {margin-left:auto}
#workspaceApp .status-pill {display:inline-flex;align-items:center;gap:5px;min-height:21px;padding:3px 8px;border-radius:20px;background:#e5f3fc;color:#095a84;font:600 11px/15px "Golos Text","Segoe UI",sans-serif;white-space:nowrap}
#workspaceApp .status-pill:before {content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}
#workspaceApp .status-pill.running {background:#d6edff;color:#095a84}
#workspaceApp .status-pill:is(.error,.failed) {background:#fde9e7;color:#9f3331}
#workspaceApp .status-pill:is(.warning,.queued) {background:#fff1da;color:#8a4b16}
#workspaceApp .status-pill.stopped {background:#e5ebf2;color:#4a5d72}
#workspaceApp .folder-item {display:flex;align-items:center;gap:9px;padding:9px 10px;border:1px solid transparent;border-radius:8px;background:#f6f9fc;color:#4a5d72;text-align:left;width:100%;cursor:pointer}
#workspaceApp .folder-item:hover {background:#edf5fc}
#workspaceApp .folder-item.active {background:#e5f3fc;color:#095a84}
#workspaceApp .folder-item strong {display:block;font-size:13px;font-weight:500;color:#101a29}
#workspaceApp .folder-item.active strong {font-weight:600}
#workspaceApp .folder-item small {font-size:11px;font-weight:400;color:#4a5d72}
#workspaceApp .folder-item>.inline-icon>svg {width:16px;height:16px}
#workspaceApp .folder-item>.inline-icon:last-child {margin-left:auto}

/* Table actions and anchored menus use the same component in every folder. */
#workspaceApp .more-button {display:grid;place-items:center;width:34px;height:34px;min-width:34px;padding:0;background:transparent;border:1px solid transparent;border-radius:7px;color:#4a5d72}
#workspaceApp .more-button:hover {background:#e5f3fc;border-color:#b4d7ef;color:#095a84}
#workspaceApp .more-button svg {width:17px;height:17px}
#workspaceApp .file-cell {display:flex;align-items:center;gap:9px;min-width:0}
#workspaceApp .file-icon {display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;border-radius:7px;background:#e5f3fc;color:#095a84;font-style:normal}
#workspaceApp .file-icon svg {width:17px;height:17px}
#workspaceApp .table-button {display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:#095a84;font:600 12px/18px "Golos Text","Segoe UI",sans-serif;cursor:pointer}
#workspaceApp .table-button:hover {background:#e5f3fc}
#workspaceApp .table-button:disabled {color:#9baaba;opacity:1;cursor:not-allowed}
#workspaceApp .proxy-remove {display:grid;place-items:center;width:32px;height:32px;min-width:32px;padding:0;border:0;border-radius:7px;color:#4a5d72}
#workspaceApp .proxy-remove svg {width:16px;height:16px}
#workspaceApp .proxy-remove:hover {background:#fff1ef;color:#9f3331}
#workspaceApp .action-menu {position:fixed;z-index:160;width:210px;padding:5px;border:1px solid #d7e2ee;border-radius:14px;background:#fff;box-shadow:0 7px 20px #17314b26;animation:menu-appear .15s ease both}
#workspaceApp .action-menu-description {margin:6px 8px 7px;font:400 11px/16px "Golos Text","Segoe UI",sans-serif;color:#4a5d72}
#workspaceApp .action-menu-item {display:flex;align-items:center;gap:9px;width:100%;min-height:40px;padding:9px 8px;border:0;border-radius:8px;background:#fff;color:#101a29;text-align:left;font:600 13px/18px "Golos Text","Segoe UI",sans-serif}
#workspaceApp .action-menu-item svg {width:16px;height:16px}
#workspaceApp .action-menu-item:hover {background:#f6f9fc}
#workspaceApp .action-menu-item.destructive {color:#b43c36}
#workspaceApp .action-menu-item.destructive:hover {background:#fff6f5}
#workspaceApp .filter-tabs {display:flex;align-items:center;gap:3px;border-bottom:1px solid #d7e2ee}
#workspaceApp .filter-tabs {max-width:100%;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
#workspaceApp .filter-tabs::-webkit-scrollbar {display:none}
#workspaceApp .filter-tabs button {flex-shrink:0}
#workspaceApp .filter-tabs button {display:flex;align-items:center;gap:6px;min-height:42px;padding:9px 13px;border:0;border-bottom:2px solid transparent;background:transparent;color:#4a5d72;font:500 13px/18px "Golos Text","Segoe UI",sans-serif;white-space:nowrap}
#workspaceApp .filter-tabs button.selected {color:#095a84;border-bottom-color:#69c8ff;font-weight:600}
#workspaceApp .filter-tabs button>span {padding:1px 6px;border-radius:6px;background:#e5ebf2;font-size:11px}
#workspaceApp .filter-tabs button.selected>span {background:#d6edff}
#workspaceApp .limits-link {display:flex;align-items:center;gap:9px;min-height:44px;width:100%;padding:8px 10px;border:1px solid #31516b;border-radius:8px;background:#18283a;color:#aec2d8;text-align:left}
#workspaceApp .limits-link strong {display:block;color:#fff;font-size:11px;font-weight:600}
#workspaceApp .limits-link small {display:block;color:#aec2d8;font-size:10px;font-weight:400}
#workspaceApp .limits-link>svg:first-child {color:#69c8ff;width:16px;height:16px}
#workspaceApp .limits-link>svg:last-child {margin-left:auto;width:13px;height:13px}
#workspaceApp .run-card .text-button {color:#aec2d8}

/* Notices and dialogs preserve a title, body, icon and accessible close control. */
#workspaceApp .notification {display:grid;grid-template-columns:20px minmax(0,1fr) 24px;align-items:start;gap:10px;padding:15px 13px;border:1px solid #b4d7ef;border-radius:12px;background:#fff;box-shadow:0 7px 24px #17314b26;color:#095a84;white-space:normal}
#workspaceApp .notification>.inline-icon {margin-top:2px}
#workspaceApp .toast-content strong {display:block;color:#101a29;font:600 13px/18px "Golos Text","Segoe UI",sans-serif}
#workspaceApp .toast-content p {margin:3px 0 0;color:#4a5d72;font:400 12px/18px "Golos Text","Segoe UI",sans-serif;white-space:pre-wrap}
#workspaceApp .notification.error {border-color:#edc1bd;color:#b43c36}
#workspaceApp .toast-close {position:static;display:grid;place-items:center;width:24px;height:24px;padding:3px;border:0;border-radius:5px;background:transparent;color:#4a5d72}
#workspaceApp .toast-close:hover {background:#f1f5fa}
#workspaceApp .toast-close svg {width:15px;height:15px}
#workspaceApp .inline-alert,#dialogLayer .inline-alert {border:1px solid #b4d7ef;border-radius:8px;background:#e5f3fc;padding:11px 12px;color:#095a84;font:400 13px/18px "Golos Text","Segoe UI",sans-serif}
#workspaceApp .inline-alert.error,#dialogLayer .inline-alert.error {background:#fde9e7;border-color:#f0cbc8;color:#9f3331}
#dialogLayer .dialog-card {border-radius:14px;border:1px solid #d7e2ee;background:#fff;box-shadow:0 16px 48px #07111e33}
#dialogLayer .dialog-close {display:grid;place-items:center;width:28px;height:28px;padding:5px;border:0;border-radius:6px;background:transparent;color:#4a5d72}
#dialogLayer .dialog-close:hover {background:#f1f5fa}
#dialogLayer .dialog-close svg {width:17px;height:17px}
#dialogLayer .dialog-card h2 {font:800 22px/28px Manrope,"Segoe UI",sans-serif;letter-spacing:-.55px;color:#101a29}
#dialogLayer .dialog-card>p {font:400 13px/19px "Golos Text","Segoe UI",sans-serif;color:#4a5d72}
#dialogLayer .confirm-dialog .dialog-heading:before {content:"";display:block;width:35px;height:35px;flex-shrink:0;border-radius:9px;background:#fde9e7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239F3331' stroke-width='1.5'%3E%3Crect x='5' y='4' width='14' height='16' rx='1'/%3E%3C/svg%3E") center no-repeat}
#dialogLayer .confirm-dialog .dialog-heading {align-items:center;justify-content:flex-start;gap:10px}
#dialogLayer .confirm-dialog .dialog-heading h2 {font-size:20px;line-height:26px;flex:1}
#dialogLayer .limit-field strong {font:600 14px/20px "Golos Text","Segoe UI",sans-serif;color:#101a29}
#dialogLayer .limit-field small {font:400 12px/18px "Golos Text","Segoe UI",sans-serif;color:#4a5d72}
#workspaceApp .pending-button,#dialogLayer .pending-button,#workspaceApp .file-button.is-loading {position:relative;cursor:wait}
#workspaceApp :is(.pending-button,.file-button.is-loading)>.control-label,#workspaceApp :is(.pending-button,.file-button.is-loading)>.inline-icon,#dialogLayer .pending-button>.control-label,#dialogLayer .pending-button>.inline-icon {opacity:0}
#workspaceApp .pending-button:after,#dialogLayer .pending-button:after,#workspaceApp .file-button.is-loading:after {content:"";position:absolute;left:calc(50% - 8px);top:calc(50% - 8px);width:16px;height:16px;border:2px solid #9cc8e0;border-top-color:#095a84;border-radius:50%;animation:control-spin .7s linear infinite}
@keyframes control-spin {to{transform:rotate(360deg)}}
@keyframes menu-appear {from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}

@media(max-width:900px) {
  #workspaceApp .folder-sidebar>[data-create-folder] {width:auto;flex:0 0 auto}
  #workspaceApp .folder-mobile-picker {width:auto;flex:1;min-width:0;margin:0}
  #workspaceApp :is(.primary,.secondary,.soft,.danger,.quiet),#dialogLayer :is(.primary,.secondary,.soft,.danger,.quiet) {min-height:44px;padding-inline:12px;font-size:13px}
  #workspaceApp :is(input:not([type=checkbox],[type=radio],[type=file]),select),#dialogLayer :is(input:not([type=checkbox],[type=radio],[type=file]),select) {min-height:44px}
  #workspaceApp .source-tabs {width:100%;min-height:50px;padding:3px;border-radius:8px;background:#f1f5fa}
  #workspaceApp .source-tabs button {min-height:44px;flex:1;border-radius:7px;font-size:12px;gap:6px}
  #workspaceApp .source-tabs :is(button.selected,button[aria-selected=true]) {font-weight:700}
  #workspaceApp .source-tabs button svg {width:15px;height:15px}
  #workspaceApp .source-editor>.label-row>label {font-size:13px}
  #workspaceApp .file-summary {flex-direction:column;align-items:stretch;gap:10px;padding:8px}
  #workspaceApp .file-actions {width:100%;gap:8px}
  #workspaceApp .file-actions>* {flex:1;min-width:0}
  #workspaceApp .file-button {min-height:44px}
  #workspaceApp .file-meta {min-height:30px}
  #workspaceApp .file-count {font-size:11px}
  #workspaceApp .proxy-file-widget .file-button {align-self:stretch}
  #workspaceApp .filter-tabs button {font-size:12px;padding-inline:10px}
  #workspaceApp .folder-item strong {font-size:12px}
}
@media(max-width:650px) {
  #workspaceApp .dependent-fields.form-grid,
  #workspaceApp .dependent-fields>.form-grid {grid-template-columns:minmax(0,1fr);gap:12px}
  #workspaceApp :is(.dependent-settings,.dependent-fields) {padding-left:12px}
  #workspaceApp .dependent-settings.standalone {padding-left:0}
  #workspaceApp .tabs {min-height:46px}
  #workspaceApp .tabs button {min-height:40px}
  #workspaceApp .file-meta-copy .file-name {font-size:11px;line-height:16px}
  #workspaceApp .file-count {font-size:10px;line-height:15px}
  #workspaceApp .file-actions :is(.soft,.secondary) {font-size:13px}
  #workspaceApp .cookie-import-heading {margin-bottom:10px}
  #workspaceApp .cookie-import-heading .section-icon {display:grid}
  #workspaceApp .cookie-import-heading p {display:block;font-size:12px;line-height:18px}
  #workspaceApp #cookieDropzone {display:block;min-height:0;padding:0;border:0;background:transparent}
  #workspaceApp #cookieDropzone>.section-icon,#workspaceApp #cookieDropzone>div {display:none}
  #workspaceApp #cookieDropzone>.file-button {display:flex;width:100%;margin:0}
  #workspaceApp #cookieDropzone.drag-over {outline:2px dashed #095a84;outline-offset:5px}
  #workspaceApp .toggle strong {font-size:13px}
  #workspaceApp .toggle small {font-size:11px;line-height:17px}
  #workspaceApp .number-stepper,#dialogLayer .number-stepper {width:128px}
  #workspaceApp .stepper-field {font-size:12px;font-weight:700}
  #workspaceApp .form-grid .stepper-field {justify-content:space-between}
  #workspaceApp .status-pill {font-size:11px}
  #workspaceApp .account-table .file-cell {padding-right:34px;min-height:31px}
  #workspaceApp .account-table .table-actions {position:absolute;right:11px;top:11px;width:34px;min-width:34px;padding:0!important;border:0}
  #workspaceApp .account-table .account-created {font-size:11px}
  #workspaceApp .account-table .account-created:before,#workspaceApp .account-table .account-size:before {content:none}
  #workspaceApp .account-table .account-size {float:right;margin:4px 0 0;font:400 11px/16px "IBM Plex Mono",Consolas,monospace}
  #workspaceApp .file-cell .file-name {font-size:12px;color:#101a29}
  #dialogLayer:has(.confirm-dialog) {align-items:flex-end;padding:0}
  #dialogLayer .confirm-dialog {position:relative;width:100%;max-width:none;max-height:calc(100dvh - 24px);margin:0;border-radius:18px 18px 0 0;padding:32px 16px 14px}
  #dialogLayer .confirm-dialog:before {content:"";position:absolute;top:14px;left:calc(50% - 16px);width:32px;height:5px;background:#9aaec1;border-radius:4px}
  #dialogLayer .confirm-dialog .button-row {flex-direction:column-reverse;gap:8px}
  #dialogLayer .confirm-dialog .button-row>* {width:100%;min-height:44px}
  #dialogLayer .dialog-card h2 {font-size:21px;line-height:26px}
  #dialogLayer .limit-field {flex-wrap:wrap;gap:10px}
  #dialogLayer .limit-field>.number-stepper {margin-left:auto}
  #workspaceApp .filter-tabs button {font-size:11px;padding-inline:9px}
}
@media(max-width:370px) {
  #workspaceApp :is(.dependent-settings,.dependent-fields) {margin-left:5px;padding-left:8px}
  #workspaceApp .dependent-settings.standalone {margin-left:0;padding-left:0}
  #workspaceApp .dependent-settings .file-actions {flex-wrap:wrap}
  #workspaceApp .dependent-settings .file-actions>* {flex:1 1 120px}
  #workspaceApp .file-actions :is(.soft,.secondary) {padding-inline:9px;font-size:12px;gap:6px}
  #workspaceApp .file-actions :is(.soft,.secondary) svg {width:15px;height:15px}
  #workspaceApp .folder-sidebar>[data-create-folder] {font-size:12px;padding-inline:10px}
  #workspaceApp .number-stepper,#dialogLayer .number-stepper {width:120px}
  #workspaceApp .number-stepper>input,#dialogLayer .number-stepper>input {width:40px}
}
@media(prefers-reduced-motion:reduce) {
  #workspaceApp .action-menu {animation:none}
  #workspaceApp .toggle i,#workspaceApp .toggle i:after {transition:none}
}
