/* 随手卷后台：靛蓝导航、纸白工作区；沿用 Django 表单与权限结构。 */
:root, html[data-theme="light"], html[data-theme="dark"] {
  color-scheme: light;
  --primary: #3159db; --secondary: #2446b4; --accent: #3159db;
  --primary-fg: #fff; --body-fg: #25344e; --body-bg: #f3f5fa;
  --body-quiet-color: #65738c; --body-medium-color: #4c5e78; --body-loud-color: #17243c;
  --header-color: #25344e; --header-branding-color: #fff; --header-bg: #fff; --header-link-color: #3159db;
  --breadcrumbs-fg: #65738c; --breadcrumbs-link-fg: #3159db; --breadcrumbs-bg: #f3f5fa;
  --link-fg: #3159db; --link-hover-color: #2144b5; --link-selected-fg: #2144b5;
  --hairline-color: #edf0f6; --border-color: #dce2ed; --darkened-bg: #f7f9fc;
  --selected-bg: #e9efff; --selected-row: #eef3ff; --close-button-bg: #69768c;
  --button-bg: #3159db; --button-hover-bg: #2446b4; --default-button-bg: #3159db; --default-button-hover-bg: #2446b4;
  --delete-button-bg: #c5414e; --delete-button-hover-bg: #aa303c;
  --object-tools-fg: #fff; --object-tools-bg: #3159db; --object-tools-hover-bg: #2446b4;
  --message-success-bg: #edf8f2; --message-warning-bg: #fff8e7; --message-error-bg: #fff0f1;
  --error-fg: #b52c3e;
  --workspace-nav-width: 224px; --workspace-header-height: 68px;
}
.workspace-admin { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif; font-size: 13px; line-height: 1.6; background: var(--body-bg); }
.workspace-admin *, .workspace-admin *::before, .workspace-admin *::after { box-sizing: border-box; }
.workspace-admin a, .workspace-admin button, .workspace-admin input, .workspace-admin select { transition: background-color .15s, border-color .15s, box-shadow .15s; }
.workspace-admin a:focus-visible, .workspace-admin button:focus-visible, .workspace-admin summary:focus-visible { outline: 3px solid #8aa4fa; outline-offset: 3px; }
.workspace-admin [hidden] { display: none !important; }
.workspace-admin #container { min-width: 0; background: var(--body-bg); }
.workspace-auth #header { position: sticky; top: 0; z-index: 50; min-height: var(--workspace-header-height); height: var(--workspace-header-height); padding: 0 28px 0 0; border-bottom: 1px solid #e7ebf3; display: flex; flex-direction: row; justify-content: flex-start; gap: 18px; color: #25344e; background: #fff; }
.workspace-auth #branding { height: 100%; width: var(--workspace-nav-width); flex: 0 0 var(--workspace-nav-width); padding: 0 24px; display: flex; align-items: center; background: #15243f; }
.workspace-brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 650; letter-spacing: 1px; text-decoration: none; }
#header a.workspace-brand:link, #header a.workspace-brand:visited { color: #fff; }
.workspace-brand > span:last-child { display: flex; align-items: baseline; gap: 10px; }
.workspace-brand small { font-size: 10px; font-weight: 400; color: #aab9d0; letter-spacing: 0; }
.brand-paper { display: inline-block; position: relative; flex: 0 0 auto; width: 25px; height: 30px; border-radius: 4px; background: #fff; box-shadow: -4px 3px 0 #6179cb; }
.brand-paper::before { content: ''; position: absolute; right: 0; top: 0; border-style: solid; border-width: 0 8px 8px 0; border-color: transparent #15243f #b9c8f7 transparent; }
.brand-paper::after { content: ''; position: absolute; left: 6px; bottom: 8px; width: 12px; height: 2px; background: #8a9fcc; box-shadow: 0 -5px 0 #8a9fcc; }
.workspace-icon-button { width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid #e5eaf3; border-radius: 7px; background: #fff; color: #526480; cursor: pointer; padding: 8px; }
.workspace-icon-button:hover { background: #f0f4ff; }
.workspace-icon-button svg, .workspace-home svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.workspace-header-label { font-size: 13px; color: #73809a; }
.workspace-admin #user-tools { margin-left: auto; padding: 0; font-size: 13px; letter-spacing: 0; text-transform: none; }
.workspace-user-menu { position: relative; }
.workspace-user-menu > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; padding: 5px; border-radius: 8px; }
.workspace-user-menu > summary::-webkit-details-marker { display: none; }
.workspace-avatar { display: grid; place-items: center; height: 32px; width: 32px; border-radius: 50%; background: #edf2ff; color: #3159db; font-size: 14px; font-weight: 600; }
.workspace-username { max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.workspace-user-dropdown { position: absolute; right: 0; top: calc(100% + 12px); min-width: 160px; padding: 8px; background: #fff; border: 1px solid #e5eaf3; border-radius: 10px; box-shadow: 0 10px 35px #192b4b1a; }
#header .workspace-user-dropdown a, #header .workspace-user-dropdown #logout-form button { display: block; width: 100%; padding: 10px 12px; border: 0; border-radius: 5px; color: #34415a; text-align: left; text-transform: none; font-size: 13px; background: transparent; }
#header .workspace-user-dropdown a:hover, #header .workspace-user-dropdown #logout-form button:hover { background: #f0f4ff; color: #3159db; }
.workspace-auth .main { display: block; }
.workspace-auth .main > .content { width: auto; max-width: none; min-width: 0; margin-left: var(--workspace-nav-width); }
.workspace-admin #content { padding: 25px 30px 36px; min-width: 0; width: auto; }
.workspace-admin #content > h1 { margin: 0 0 22px; font-size: 23px; font-weight: 650; color: #192a47; letter-spacing: -.5px; }
.workspace-admin #content > h2 { font-size: 14px; margin: -12px 0 24px; color: #7c8799; font-weight: 400; overflow-wrap: anywhere; }
.workspace-auth div.breadcrumbs { margin-left: var(--workspace-nav-width); padding: 20px 30px 0; background: transparent; font-size: 12px; line-height: 1.7; color: #7c8799; overflow-wrap: anywhere; }
.workspace-auth #footer { margin-left: var(--workspace-nav-width); padding: 0 30px 22px; color: #909bb0; font-size: 11px; }
#workspace-nav { position: fixed; top: var(--workspace-header-height); left: 0; bottom: 0; z-index: 45; width: var(--workspace-nav-width); padding: 12px 13px 25px; background: #15243f; color: #b3c0d5; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #354761 #15243f; }
.workspace-nav-search { padding: 0 3px 16px; }
#workspace-menu-search { width: 100%; height: 36px; padding: 8px 11px; background: #20324f; border: 1px solid #34435e; border-radius: 7px; color: #fff; font: inherit; }
#workspace-menu-search::placeholder { color: #a3b2cd; }
#workspace-menu-search:focus { outline: 2px solid #7f9bf2; outline-offset: 1px; }
#workspace-nav .workspace-home, #workspace-nav .workspace-nav-link { display: flex; gap: 12px; align-items: center; min-height: 38px; padding: 9px 14px; border-radius: 6px; color: #bbc8dc; text-decoration: none; font-size: 13px; }
#workspace-nav a:hover { background: #233855; color: #fff; }
#workspace-nav a.is-active { color: #fff; background: #3159db; box-shadow: inset 3px 0 #8faaff; }
.workspace-nav-group { margin-top: 22px; }
#workspace-nav h2 { margin: 0 14px 6px; color: #8296b5; font-size: 11px; font-weight: 500; letter-spacing: 1px; }
#workspace-nav ul { list-style: none; margin: 0; padding: 0; }
#workspace-nav li { list-style: none; margin: 2px 0; padding: 0; }
#workspace-menu-empty { padding: 10px; text-align: center; color: #b3c0d5; font-size: 12px; }
.workspace-nav-collapsed #workspace-nav { transform: translateX(-100%); }
.workspace-nav-collapsed .main > .content, .workspace-nav-collapsed div.breadcrumbs, .workspace-nav-collapsed #footer { margin-left: 0; }
.workspace-page-heading { margin: 5px 0 26px; }
.workspace-page-heading .workspace-eyebrow { margin: 0 0 8px; color: #7b87a0; font-size: 11px; letter-spacing: 2px; }
.workspace-page-heading h1 { margin: 0 0 8px; color: #192a47; font-size: 27px; font-weight: 650; letter-spacing: -1px; }
.workspace-page-heading p { color: #65738c; margin: 0; font-size: 13px; }
.workspace-dashboard { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; align-items: start; }
.workspace-dashboard #content-main { float: none; width: auto; }
.workspace-module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.workspace-module-card { background: #fff; border: 1px solid #e3e8f1; border-radius: 12px; box-shadow: 0 3px 10px #20386303; overflow: hidden; }
.workspace-module-card header { padding: 22px 22px 16px; display: flex; gap: 12px; align-items: center; }
.workspace-section-mark { height: 31px; width: 24px; border: 1.5px solid #b5c4ed; border-radius: 3px; background: linear-gradient(#eaf0ff, #f8faff); position: relative; flex-shrink: 0; }
.workspace-section-mark::after { content: ''; position: absolute; left: 5px; right: 5px; top: 10px; height: 2px; background: #849ddf; box-shadow: 0 6px #b2c2ea; }
.workspace-module-card h2 { color: #223450; font-size: 16px; font-weight: 600; margin: 0 0 3px; }
.workspace-module-card header p { margin: 0; font-size: 11px; color: #8290a6; }
.workspace-module-card ul { padding: 0 12px 10px; margin: 0; list-style: none; }
.workspace-module-card li { list-style: none; margin: 0; padding: 0; }
.workspace-module-card li + li { border-top: 1px solid #f0f2f7; }
.workspace-module-card li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 10px; border-radius: 6px; }
.workspace-module-card li a:hover { background: #f4f7ff; }
.workspace-module-card li strong { display: block; color: #35455e; font-size: 13px; font-weight: 500; }
.workspace-module-card li small { display: block; margin-top: 3px; font-size: 11px; color: #7a879c; }
.workspace-entry-arrow { color: #93a2c0; font-size: 17px; }
.workspace-admin #content-related { float: none; width: auto; margin: 0; position: static; background: transparent; }
.workspace-admin #recent-actions-module { border: 1px solid #e3e8f1; border-radius: 12px; padding: 20px; background: #fff; }
.workspace-admin #recent-actions-module h2 { padding: 0; margin: 0; color: #263853; font-size: 15px; font-weight: 600; background: none; border: 0; }
.workspace-section-hint { margin: 7px 0 20px; font-size: 11px; color: #8290a6; }
.workspace-empty-small { padding: 25px 0; text-align: center; color: #8390a4; }
.workspace-empty-small .brand-paper { background: #eaf0ff; box-shadow: -4px 3px #d5dff5; }
.workspace-empty-small .brand-paper::before { border-right-color: #fff; }
.workspace-empty-small p { margin: 12px 0 6px; font-size: 12px; }
.workspace-empty-small small { display: block; font-size: 11px; line-height: 1.8; }
.workspace-timeline { list-style: none; margin: 18px 0 0; padding: 0; }
.workspace-timeline li { list-style: none; padding: 0 0 20px 14px; border-left: 1px solid #e3e9f4; position: relative; overflow-wrap: anywhere; font-size: 12px; }
.workspace-timeline li::before { content: ''; width: 5px; height: 5px; position: absolute; left: -3px; top: 6px; border-radius: 50%; background: #859ee2; }
.workspace-timeline small { display: block; font-size: 10px; color: #8a96aa; margin-top: 4px; }
/* 列表与筛选：内容可横向滚动，操作区保持在卡片内。 */
.workspace-admin .module { background: #fff; border-radius: 10px; border: 1px solid #e3e8f1; }
.workspace-admin .module h2, .workspace-admin .module caption, .workspace-admin .inline-group h2 { background: #fff; color: #2c3e5a; font-size: 14px; font-weight: 600; padding: 14px 18px; border-bottom: 1px solid #e8ecf4; }
.workspace-admin #content-main { min-width: 0; }
.workspace-admin #changelist { background: transparent; border: 0; gap: 20px; }
.workspace-admin #changelist .changelist-form-container { background: #fff; border: 1px solid #e3e8f1; border-radius: 10px; overflow: hidden; }
.workspace-admin #toolbar { padding: 16px 18px; margin: 0; border-top: 0; border-bottom: 1px solid #eef1f7; background: #fff; }
.workspace-admin #toolbar form > div:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.workspace-admin #toolbar #searchbar { height: 36px; width: 320px; max-width: 100%; border: 1px solid #dce2ed; border-radius: 6px; padding: 8px 11px; font-size: 13px; }
.workspace-admin #toolbar form input[type=submit] { background: #3159db; color: #fff; height: 36px; padding: 7px 18px; border: 1px solid #3159db; border-radius: 6px; box-shadow: none; }
.workspace-admin #toolbar form input[type=submit]:hover { background: #2446b4; }
.workspace-admin #toolbar .help { padding-top: 6px; margin: 0; font-size: 11px; }
.workspace-admin #changelist table thead th { background: #f7f9fc; color: #65738c; font-size: 12px; font-weight: 500; border-bottom: 1px solid #e5eaf3; }
.workspace-admin #changelist table thead th .text a, .workspace-admin #changelist table thead th .text span { padding: 13px 16px; }
.workspace-admin #changelist table tbody td, .workspace-admin #changelist table tbody th { padding: 15px 16px; font-size: 12px; line-height: 1.6; border-bottom: 1px solid #edf0f6; background: #fff; vertical-align: middle; }
.workspace-admin #changelist table tbody th { font-weight: 500; min-width: 145px; }
.workspace-admin #changelist table tbody td { white-space: nowrap; }
.workspace-admin #changelist table tbody tr:hover td, .workspace-admin #changelist table tbody tr:hover th { background: #f8faff; }
.workspace-admin #changelist table tbody tr.selected td, .workspace-admin #changelist table tbody tr.selected th { background: #eef3ff; }
.workspace-admin #changelist table tbody .field-paper_title { min-width: 190px; max-width: 300px; }
.workspace-admin #changelist-filter { flex: 0 0 205px; margin: 0; border: 1px solid #e3e8f1; border-radius: 10px; background: #fff; overflow: hidden; }
.workspace-admin #changelist-filter h2 { padding: 16px 18px; background: #fff; margin: 0 0 12px; font-size: 13px; }
.workspace-admin #changelist-filter details { padding: 0 0 8px; border-bottom: 1px solid #f0f2f7; margin-bottom: 10px; }
.workspace-admin #changelist-filter details summary { padding: 0 16px; font-size: 12px; color: #364a69; font-weight: 600; cursor: pointer; }
.workspace-admin #changelist-filter ul { padding: 0 14px 0 18px; }
.workspace-admin #changelist-filter li { margin: 3px 0; padding: 0; border: 0; }
.workspace-admin #changelist-filter li a { display: block; padding: 6px 9px; color: #65738c; font-size: 12px; border-radius: 5px; }
.workspace-admin #changelist-filter li.selected a { color: #3159db; background: #edf2ff; font-weight: 600; }
.workspace-admin #changelist-filter li a:hover { background: #f5f7fc; }
.workspace-admin #changelist-filter-extra-actions h3 { font-size: 11px; padding: 0 18px; }
.workspace-admin #changelist .paginator { border: 0; padding: 16px; font-size: 12px; background: #fff; }
.workspace-admin .paginator a, .workspace-admin .paginator .this-page { display: inline-block; border-radius: 5px; padding: 5px 10px; }
.workspace-admin .paginator a { background: #f1f4fb; color: #4c638d; }
.workspace-admin .paginator .this-page { color: #fff; background: #3159db; }
.workspace-admin #changelist .actions { background: #f8faff; padding: 12px 16px; border-bottom: 1px solid #e5eaf3; }
.workspace-admin #changelist .actions select { height: 34px; }
.workspace-admin .object-tools { margin-top: -52px; }
.workspace-admin .object-tools a { border-radius: 6px; padding: 9px 16px; font-size: 12px; text-transform: none; }
.workspace-admin .object-tools a.addlink { padding-right: 27px; }
.workspace-status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 5px; font-size: 11px; white-space: nowrap; color: #566984; background: #eef2f7; }
.workspace-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.workspace-status--succeeded { color: #197349; background: #eaf7ef; }
.workspace-status--failed { color: #b03f4c; background: #fceef0; }
.workspace-status--generating, .workspace-status--analyzing { color: #3159db; background: #edf2ff; }
.workspace-status--queued_generation, .workspace-status--queued_analysis, .workspace-status--ready { color: #946117; background: #fcf5e7; }
/* 表单、只读详情和系统配置。 */
.workspace-admin input, .workspace-admin textarea, .workspace-admin select, .workspace-admin .button { font-family: inherit; }
.workspace-admin input[type=text], .workspace-admin input[type=password], .workspace-admin input[type=email], .workspace-admin input[type=url], .workspace-admin input[type=number], .workspace-admin textarea, .workspace-admin select { border: 1px solid #d8dfeb; border-radius: 6px; background: #fff; padding: 8px 10px; color: #2c3e5a; font-size: 13px; max-width: 100%; }
.workspace-admin input:focus, .workspace-admin textarea:focus, .workspace-admin select:focus { border-color: #7f9bea; outline: none; box-shadow: 0 0 0 3px #3159db12; }
.workspace-admin .button, .workspace-admin input[type=submit], .workspace-admin input[type=button], .workspace-admin .submit-row input { border-radius: 6px; padding: 10px 18px; font-size: 13px; }
.workspace-admin .submit-row { padding: 16px 20px; border: 1px solid #e3e8f1; border-radius: 10px; background: #fff; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; align-items: center; }
.workspace-admin .submit-row input, .workspace-admin .submit-row a { margin: 0; }
.workspace-admin .submit-row a.closelink { padding: 10px 18px; height: auto; border-radius: 6px; background: #edf1f8; color: #526784; }
.workspace-admin .submit-row a.deletelink { border-radius: 6px; height: auto; }
.workspace-admin .form-row { padding: 17px 22px; font-size: 13px; border-bottom: 1px solid #edf0f6; overflow-wrap: anywhere; }
.workspace-admin .aligned label { color: #67758d; font-weight: 400; font-size: 12px; padding-top: 8px; }
.workspace-admin .aligned label.required { font-weight: 600; }
.workspace-admin .aligned .readonly { padding-top: 8px; color: #2a3d5b; line-height: 1.8; min-width: 0; overflow-wrap: anywhere; }
.workspace-admin .aligned .flex-container { min-width: 0; }
.workspace-admin .aligned .flex-container > div { min-width: 0; }
.workspace-admin .aligned .vTextField { width: 420px; }
.workspace-admin .module .description { padding: 16px 22px 0; color: #74819a; font-size: 12px; }
.workspace-admin .help { color: #7a879d; font-size: 11px; }
.workspace-admin .errornote, .workspace-admin ul.errorlist { border-radius: 6px; }
.workspace-admin .messagelist { margin: 0; }
.workspace-admin ul.messagelist li { margin: 20px 30px 0; border-radius: 8px; border: 1px solid #cde6d9; }
.workspace-json, .workspace-admin .readonly pre { margin: 0; padding: 16px; max-width: 100%; max-height: 440px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; border: 1px solid #e5eaf3; border-radius: 8px; background: #f7f9fc; font: 12px/1.8 'SFMono-Regular', Consolas, monospace; tab-size: 2; }
.question-preview details { border: 1px solid #e6ebf4; border-radius: 8px; margin-bottom: 8px; background: #fff; }
.question-preview summary { padding: 12px 16px; color: #405579; cursor: pointer; background: #f8faff; font-size: 12px; }
.question-preview p { padding: 0 16px; white-space: pre-wrap; }
.workspace-admin .package-scroll { background: #fff; border: 1px solid #e3e8f1; border-radius: 10px; }
.workspace-admin .package-table th { padding: 15px 18px; background: #f8faff; color: #65738c; font-size: 12px; font-weight: 500; }
.workspace-admin .package-table td { padding: 16px 18px; border-bottom: 1px solid #edf0f6; }
.workspace-admin .package-tools { text-align: right; }
.workspace-admin .selector { max-width: 100%; }
/* 登录页沿用相同品牌，表单无需加载外部资源。 */
.workspace-admin.login { background: #edf1fa; }
.workspace-admin.login #container { width: 420px; max-width: calc(100% - 32px); min-width: 0; margin: 12vh auto; border: 1px solid #dde4f0; border-radius: 16px; box-shadow: 0 16px 60px #2032520c; overflow: hidden; background: #fff; }
.workspace-admin.login #header { background: #15243f; padding: 28px 32px; height: auto; justify-content: center; }
.workspace-admin.login #branding { float: none; }
.workspace-admin.login #content { padding: 30px 32px 12px; }
.workspace-admin.login #login-form .form-row { padding: 0; margin-bottom: 20px; border: 0; }
.workspace-admin.login #login-form label { color: #536582; padding-bottom: 8px; font-size: 12px; }
.workspace-admin.login #login-form input { width: 100%; height: 42px; }
.workspace-admin.login #login-form .submit-row { padding: 3px 0 0; border: 0; }
.workspace-admin.login #footer { text-align: center; padding: 10px 20px 25px; color: #97a1b4; font-size: 11px; }
.workspace-admin.popup #header, .workspace-admin.popup #workspace-nav { display: none; }
.workspace-admin.popup #content { padding: 20px; }
@media (max-width: 1279px) {
  .workspace-dashboard { grid-template-columns: minmax(0, 1fr); }
  .workspace-dashboard #content-related { max-width: none; }
  .workspace-admin #changelist-filter { flex-basis: 180px; }
}
@media (max-width: 1023px) {
  .workspace-auth #header { padding-right: 16px; gap: 12px; }
  .workspace-auth #branding { width: auto; flex-basis: auto; padding: 0 20px; background: #fff; }
  #header a.workspace-brand:link, #header a.workspace-brand:visited { color: #233756; font-size: 20px; }
  .workspace-brand small { color: #8391a8; }
  #header .brand-paper { background: #3159db; box-shadow: -4px 3px #cbd7fb; }
  #header .brand-paper::before { border-right-color: #fff; }
  #header .brand-paper::after { background: #fff; box-shadow: 0 -5px #fff; }
  #workspace-nav { transform: translateX(-100%); z-index: 65; top: 0; padding-top: 24px; }
  .workspace-nav-open #workspace-nav { transform: translateX(0); }
  .workspace-auth .main > .content, .workspace-auth div.breadcrumbs, .workspace-auth #footer { margin-left: 0; }
  #workspace-nav-backdrop { position: fixed; inset: 0; z-index: 60; border: 0; border-radius: 0; background: #15243f66; }
  .workspace-nav-open { overflow: hidden; }
  .workspace-header-label { display: none; }
}
@media (max-width: 767px) {
  :root { --workspace-header-height: 60px; }
  .workspace-auth #branding { padding-left: 18px; padding-right: 0; }
  .workspace-brand small { display: none; }
  .workspace-admin #content { padding: 20px 16px 28px; }
  .workspace-auth div.breadcrumbs { padding: 16px 16px 0; font-size: 11px; }
  .workspace-admin #content > h1 { font-size: 21px; margin-bottom: 18px; }
  .workspace-username { max-width: 75px; font-size: 11px; }
  .workspace-user-menu > summary { gap: 6px; }
  .workspace-module-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .workspace-page-heading h1 { font-size: 25px; }
  .workspace-page-heading p { font-size: 12px; }
  .workspace-admin #changelist { flex-direction: column; gap: 14px; }
  .workspace-admin #changelist .changelist-form-container { width: 100%; }
  .workspace-admin #changelist-filter { width: 100%; flex: auto; order: -1; }
  .workspace-admin #changelist-filter h2 { padding: 12px 16px; }
  .workspace-admin #changelist-filter details { display: inline-block; vertical-align: top; width: 49%; border: 0; margin: 0; }
  .workspace-admin #toolbar { padding: 14px; }
  .workspace-admin #toolbar #searchbar { width: min(100%, 240px); flex: 1; min-width: 100px; }
  .workspace-admin #toolbar form > div:first-child > label { display: none; }
  .workspace-admin #changelist table tbody td, .workspace-admin #changelist table tbody th { padding: 12px; }
  .workspace-admin .object-tools { margin: 0 0 14px; padding: 0; float: none; }
  .workspace-admin .object-tools li { float: none; display: inline-block; margin: 0 4px 6px 0; padding: 0; }
  .workspace-admin .form-row { padding: 14px 16px; }
  .workspace-admin .aligned .flex-container { display: block; }
  .workspace-admin .aligned label { width: auto; float: none; padding: 0 0 7px; }
  .workspace-admin .aligned .readonly { padding-top: 0; }
  .workspace-admin .aligned .help { margin-left: 0; padding-left: 0; }
  .workspace-admin .submit-row { padding: 14px; justify-content: flex-start; }
  .workspace-admin ul.messagelist li { margin: 16px 16px 0; }
  .workspace-admin .submit-row input, .workspace-admin .submit-row a { min-height: 42px; }
  .workspace-admin .selector { width: 100%; }
  .workspace-admin .selector-available, .workspace-admin .selector-chosen { width: 100%; }
  .workspace-admin .selector select { width: 100%; }
  .workspace-admin .selector .selector-filter { display: flex; align-items: center; gap: 6px; }
  .workspace-admin .selector .selector-filter input { width: 0; flex: 1; min-width: 0; }
  .workspace-admin.login #container { margin-top: 7vh; }
  .workspace-admin.login #content { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-admin *, .workspace-admin *::before, .workspace-admin *::after { transition: none !important; }
}

.workspace-result-count { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 5px; background: #e8edf7; color: #71809a; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.workspace-admin #changelist-filter h2 { padding: 0; margin: 0; }
.workspace-filter-toggle { width: 100%; padding: 15px 18px; border: 0; background: #fff; color: #526784; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.workspace-filter-toggle:hover { background: #f7f9ff; }
#workspace-filter-body { padding-top: 14px; }
.workspace-settings .aligned input[type=text], .workspace-settings .aligned input[type=url], .workspace-settings .aligned input[type=password] { width: 440px; }
.workspace-settings .aligned input[type=number] { width: 140px; }
@media (max-width: 767px) { .workspace-settings .aligned input { max-width: 100%; } }
