/* Overview follows the reference's compact cards and full-width management rows. */
.workspace-forms-frame{display:block;width:100%;height:calc(100dvh - 230px);min-height:480px;border:0;border-radius:14px;background:transparent}
.workspace-groups,.workspace-design-groups,.workspace-forms,.workspace-list-view{min-width:0}
#workspace-page .workspace-groups-header h1{overflow-wrap:anywhere;min-width:0}
#workspace-page .workspace-group-choice{min-width:0;overflow-wrap:anywhere}
.workspace-group-count{flex-shrink:0}
.workspace-form-status{color:var(--muted);line-height:1.7}.workspace-form-retry{margin-bottom:16px}
.workspace-group-choices.workspace-design-choices{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:601px){#workspace-page .workspace-design-choices .workspace-group-choice{flex-wrap:wrap;padding:22px 16px;gap:12px}#workspace-page .workspace-design-choices .workspace-group-copy{font-size:17px}}
.workspace-groups-header{display:flex;align-items:center;gap:12px;margin-bottom:28px}
#workspace-page .workspace-groups-header h1{margin:0;font-size:25px}
.workspace-group-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#workspace-page .workspace-group-choice{display:flex;align-items:center;justify-content:flex-start;gap:18px;padding:28px 24px;min-height:138px;border-radius:18px;text-align:left;background:var(--surface);border:1px solid var(--line)}
.workspace-group-icon{display:grid;place-items:center;width:54px;height:54px;flex:none;border-radius:14px;background:var(--pink-soft);color:var(--pink-deep)}
.workspace-group-icon svg{width:28px;height:28px}
.workspace-group-copy{display:grid;gap:6px;flex:1;min-width:0}.workspace-group-copy strong{font-size:20px}.workspace-group-copy small{color:var(--muted);font-size:13px;line-height:1.6}
.workspace-group-count{font-size:22px;font-weight:650;font-variant-numeric:tabular-nums}
#workspace-page .workspace-group-choice:hover{border-color:var(--pink-deep)}
@media(max-width:600px){.workspace-group-choices{grid-template-columns:1fr;gap:14px}#workspace-page .workspace-group-choice{padding:24px 20px;min-height:118px}#workspace-page .workspace-groups-header h1{font-size:22px}}
#workspace-page{max-width:1000px;margin-inline:auto}
html.site-workspace-route body{background:var(--bg)}
#workspace-page .workspace-overview-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px}
#workspace-page .workspace-overview-heading h1{margin:0;font-size:28px;font-weight:700}
#workspace-page .workspace-overview-refresh{width:42px;min-height:42px;padding:10px;border-color:transparent;background:transparent;color:var(--muted)}
.workspace-overview svg{width:26px;height:26px;display:block}
.workspace-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#workspace-page .workspace-stat{border:0;border-radius:18px;background:var(--surface);padding:25px 20px;justify-content:flex-start;gap:16px;text-align:left;min-width:0;box-shadow:0 2px 10px #00000003}
.workspace-stat-icon{width:48px;height:48px;display:grid;place-items:center;flex-shrink:0;border-radius:16px;background:color-mix(in srgb,var(--ws-color) 9%,var(--surface));color:var(--ws-color)}
.workspace-tone-all,.workspace-tone-qr{--ws-color:#2685e5}.workspace-tone-media{--ws-color:#12a285}.workspace-tone-art,.workspace-tone-design{--ws-color:#a465d5}.workspace-tone-forms{--ws-color:#17a2c4}.workspace-tone-card{--ws-color:#dd8d30}
.workspace-stat-body{display:flex;flex-direction:column;gap:5px;min-width:0}.workspace-stat-body strong{font-size:30px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums}.workspace-stat-body>span{font-size:13px;color:var(--muted)}
#workspace-page .workspace-menu-title{font-size:16px;margin:32px 0 14px;font-weight:600}
.workspace-management{background:var(--surface);border-radius:20px;padding:4px 22px}
#workspace-page .workspace-management-row{display:flex;width:100%;min-height:88px;justify-content:flex-start;text-align:left;gap:18px;padding:17px 0;border:0;border-bottom:1px solid color-mix(in srgb,var(--line) 65%,transparent);border-radius:0;background:transparent;color:var(--ink);text-decoration:none}
#workspace-page .workspace-management-row:last-child{border-bottom:0}.workspace-menu-icon{color:var(--ws-color);width:40px;display:grid;place-items:center;flex:none}.workspace-menu-copy{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}.workspace-menu-copy strong{font-size:17px;font-weight:600}.workspace-menu-copy small{font-size:12px;color:var(--muted)}.workspace-menu-arrow{color:var(--muted);opacity:.5}.workspace-menu-arrow svg{width:18px;height:18px}
.workspace-overview-foot{text-align:center;margin:22px 0 0;color:var(--muted);font-size:12px}.workspace-storage-info{margin-top:6px}.workspace-storage-info summary,.workspace-record-info summary{cursor:pointer;min-height:36px;align-content:center;font-size:12px;color:var(--muted)}#workspace-page .workspace-storage-info p{max-width:560px;margin:8px auto;font-size:12px;line-height:1.8}
#workspace-page .workspace-overview-back{padding:10px;min-width:42px;min-height:42px;background:transparent;border-color:transparent}.workspace-overview-back svg{width:22px;height:22px}.workspace-list-view .workspace-header>div:not(.workspace-header-actions){flex:1}.workspace-list-view .workspace-header h1{font-size:23px;margin:4px 0}.workspace-record-info{margin-bottom:16px}
@media(hover:hover){#workspace-page .workspace-stat:hover,#workspace-page .workspace-management-row:hover{background:color-mix(in srgb,var(--ws-color) 5%,var(--surface))}#workspace-page .workspace-management-row:hover .workspace-menu-arrow{opacity:1;transform:translateX(3px)}}
@media(max-width:700px){#workspace-page{padding:20px 16px calc(100px + env(safe-area-inset-bottom));font-size:14px}#workspace-page .workspace-overview-heading{position:relative;justify-content:center;margin:0 0 22px;min-height:42px}#workspace-page .workspace-overview-heading h1{font-size:22px}#workspace-page .workspace-overview-refresh{position:absolute;right:0}.workspace-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#workspace-page .workspace-stat{padding:22px 15px;gap:12px;border-radius:16px}.workspace-stat-icon{width:42px;height:42px;border-radius:14px}.workspace-stat-body strong{font-size:29px}.workspace-stat-body>span{font-size:12px}#workspace-page .workspace-menu-title{margin:26px 2px 12px;font-size:14px;color:var(--muted)}.workspace-management{padding:0 18px;border-radius:18px}#workspace-page .workspace-management-row{min-height:77px;gap:12px;padding:16px 0}.workspace-menu-copy strong{font-size:16px}.workspace-menu-copy small{font-size:11px}.workspace-menu-icon{width:32px}#workspace-page .workspace-list-view .workspace-header{gap:8px;align-items:center;margin-bottom:16px}#workspace-page .workspace-list-view .workspace-header-actions{padding-left:0;justify-content:flex-end}.workspace-list-view .workspace-tools{grid-template-columns:minmax(0,1fr) 112px;gap:8px}.workspace-list-view .workspace-tools select{font-size:13px;padding:8px}.workspace-overview-foot{font-size:11px;margin-top:18px}}
@media(max-width:350px){#workspace-page .workspace-stat{gap:8px;padding:18px 10px}.workspace-stat-icon{width:34px;height:38px}.workspace-stat-body strong{font-size:26px}.workspace-stat-body>span{font-size:11px}}
@media(max-width:700px){html.site-workspace-route .topbar{display:none}}
@media(prefers-reduced-motion:no-preference){.workspace-menu-arrow{transition:transform .15s ease}.workspace-stat,.workspace-management-row{transition:background .15s ease}}

@media(max-width:600px){.workspace-group-choices.workspace-design-choices{grid-template-columns:1fr}}
@media(max-width:600px){.workspace-forms-frame{height:calc(100dvh - 210px);min-height:360px}#workspace-page .workspace-groups-header{gap:8px;margin-bottom:20px}#workspace-page .workspace-header-actions button{flex:1;white-space:nowrap}}
@media(max-width:360px){.workspace-list-view .workspace-tools{grid-template-columns:minmax(0,1fr)}#workspace-page .workspace-group-choice{padding:20px 14px;gap:12px}.workspace-group-icon{width:44px;height:44px}.workspace-group-copy strong{font-size:18px}}

/* Batch packages are one searchable workspace record with exportable contents. */
#workspace-page .workspace-batch-summary{margin:0 0 12px;color:var(--muted);font-size:13px}
#workspace-page .workspace-batch-feedback{min-height:1.5em;margin:10px 0 0;color:var(--muted);font-size:12px}
#workspace-page .workspace-batch-item{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:12px;padding:14px 0;border-top:1px solid var(--line)}
#workspace-page .workspace-batch-index{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--subtle,#f5f6f8);color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums}
#workspace-page .workspace-batch-copy{min-width:0}
#workspace-page .workspace-batch-copy strong{display:block;overflow-wrap:anywhere;font-size:14px}
#workspace-page .workspace-batch-copy small{display:block;margin-top:3px;color:var(--muted);font-size:12px}
#workspace-page .workspace-batch-copy pre{max-height:100px;color:var(--muted);font-size:12px}
#workspace-page .workspace-batch-copy img,#workspace-page .workspace-batch-copy video{display:block;width:auto;max-width:min(100%,260px);max-height:220px;margin:12px 0 0;border-radius:10px;object-fit:contain;background:var(--surface)}
#workspace-page .workspace-batch-item>button{min-width:54px;min-height:38px}
@media(max-width:600px){#workspace-page .workspace-batch-item{grid-template-columns:28px minmax(0,1fr) auto;gap:9px;padding:12px 0}#workspace-page .workspace-batch-index{width:26px;height:26px}#workspace-page .workspace-detail-actions button{flex:1;min-width:110px}}

/* Match the management layout while its document and authorized list are loading. */
.workspace-forms-frame[hidden],.workspace-form-placeholder[hidden]{display:none!important}
.workspace-form-placeholder{min-height:480px;padding:4px;display:grid;align-content:start;gap:18px}
.workspace-form-skeleton-tabs,.workspace-form-skeleton-heading,.workspace-form-skeleton-search,.workspace-form-skeleton-card i{background:color-mix(in srgb,var(--ink,#333) 9%,transparent);border-radius:10px}
.workspace-form-skeleton-tabs{height:48px}
.workspace-form-skeleton-heading{height:24px;width:38%;margin-top:8px}
.workspace-form-skeleton-search{height:46px;margin-bottom:8px}
.workspace-form-skeleton-card{padding:20px;border:1px solid var(--line,#ddd);border-radius:14px;display:grid;gap:14px}
.workspace-form-skeleton-card i{display:block;height:16px;width:65%}
.workspace-form-skeleton-card i:first-child{height:24px;width:40%}
.workspace-form-skeleton-card i:last-child{height:44px;width:100%;margin-top:6px}
#legacy-record-backup{width:100%;text-align:left}
#legacy-record-backup summary{cursor:pointer;min-height:44px;display:flex;align-items:center}
#legacy-record-backup p{font-size:13px;line-height:1.7;color:var(--muted);overflow-wrap:anywhere}
#legacy-record-backup .project-backup-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
#legacy-record-backup button{min-height:44px;max-width:100%}
