.ws-home { min-width: 0; }
.ws-home__symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.ws-home__layout { display: grid; min-height: 100vh; grid-template-columns: 56px 220px minmax(0, 1fr); }
.ws-home__primary { display: flex; flex-direction: column; align-items: center; padding: 12px 6px; background: var(--mfc-primary); color: #fff; }
.ws-home__brand { display: grid; width: 40px; height: 40px; margin: 0 0 28px; place-items: center; border: 1px solid #7777a2; border-radius: 8px; color: #fff !important; font-size: 17px; font-weight: 800; letter-spacing: -.35px; text-decoration: none; }
.ws-home__main-nav { display: grid; gap: 5px; }
.ws-home__main-nav a { display: grid; width: 44px; min-height: 44px; place-items: center; border-radius: 7px; color: #dfe3ff; text-decoration: none; }
.ws-home__main-nav a:hover, .ws-home__main-nav a[aria-current="page"] { background: #383870; color: #fff; }
.ws-home__main-nav a[aria-current="page"] { box-shadow: inset 3px 0 var(--mfc-accent); }
.ws-home__main-nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ws-home__nav-popper { position: fixed; z-index: 30; left: 64px; max-width: calc(100vw - 72px); padding: 7px 10px; border-radius: 6px; background: var(--mfc-primary); box-shadow: 0 4px 12px #0f172a33; color: #fff; font-size: 11px; font-weight: 700; line-height: 1.2; transform: translateY(-50%); pointer-events: none; white-space: nowrap; }
.ws-home__nav-popper[hidden] { display: none; }
.ws-home__section { padding: 27px 20px; border-right: 1px solid var(--mfc-line); background: #fff; }
.ws-home__identity { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; }
.ws-home__identity span:last-child { display: grid; gap: 1px; }
.ws-home__identity strong { color: var(--mfc-primary); font-size: 12px; }
.ws-home__identity small { color: var(--mfc-muted); font-size: 10px; }
.ws-home__avatar, .ws-home__profile { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; background: #efeff9; color: var(--mfc-primary); font-size: 12px; font-weight: 800; }
.ws-home__section-nav { display: grid; gap: 4px; }
.ws-home__section-nav a { padding: 8px 9px; border-radius: 6px; color: var(--mfc-text); font-size: 11px; font-weight: 600; text-decoration: none; }
.ws-home__section-nav a:hover, .ws-home__section-nav a[aria-current="page"] { background: #f2f3fa; color: var(--mfc-primary); }
.ws-home .ws-home__section-note { margin: 32px 4px 0; color: var(--mfc-muted); font-size: 10px; line-height: 1.65; }
.ws-home__content { display: flex; min-width: 0; flex-direction: column; }
.ws-home__topbar { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 36px; border-bottom: 1px solid var(--mfc-line); background: #fff; color: var(--mfc-muted); font-size: 11px; }
.ws-home__topbar strong { color: var(--mfc-ink); }
.ws-home__topbar span { margin: 0 4px; color: #94a3b8; }
.ws-home__topbar .ws-home__profile { margin: 0; }
.ws-home__topbar-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ws-home__topbar-actions .mfc-button { min-height: 34px; }
.ws-home__profile-menu { position: relative; }
.ws-home__profile-menu summary { cursor: pointer; list-style: none; }
.ws-home__profile-menu summary::-webkit-details-marker { display: none; }
.ws-home__profile-menu summary:focus-visible { outline: 2px solid var(--mfc-primary); outline-offset: 3px; }
.ws-home__profile-options { position: absolute; z-index: 40; top: calc(100% + 8px); right: 0; width: 180px; max-width: calc(100vw - 32px); padding: 10px; border: 1px solid var(--mfc-line); border-radius: 8px; background: #fff; box-shadow: 0 8px 24px #2626561a; }
.ws-home__profile-options .mfc-button { width: 100%; }
.ws-home__profile-options p { margin: 8px 0 0; color: var(--mfc-ink); line-height: 1.5; }
.ws-home__content main { flex: 1; padding: 34px 36px; }
.ws-home__content .mfc-footer { padding: 16px 36px 22px; }
.ws-home__view { max-width: 1060px; margin: 0 auto; }
.ws-home__view--catalogue { max-width: none; }
.ws-home__view--document { max-width: none; }
.ws-showcase { min-height: 100vh; }
.ws-showcase__main { width: min(1120px, 100%); margin: 0 auto; padding: 30px 24px 56px; }
.ws-showcase__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--mfc-line); }
.ws-showcase__header h1 { color: var(--mfc-primary); font-size: clamp(28px, 4vw, 44px); }
.ws-showcase__header .mfc-button { min-height: 44px; }
.ws-showcase__intro { margin: 30px 0; padding: 28px; border: 1px solid #dddff4; border-radius: var(--mfc-radius); background: linear-gradient(130deg, #fff 0%, #f5f5fc 100%); }
.ws-showcase__intro h2, .ws-showcase__section-title { color: var(--mfc-primary); font-size: 22px; }
.ws-showcase__intro p:not(.mfc-eyebrow) { max-width: 62ch; margin-top: 9px; color: var(--mfc-muted); font-size: 14px; line-height: 1.6; }
.ws-showcase__section-title { margin-bottom: 14px; }
.ws-showcase__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.ws-showcase__card { display: flex; min-width: 0; flex-direction: column; gap: 11px; padding: 21px; border: 1px solid var(--mfc-line); border-radius: var(--mfc-radius); background: #fff; box-shadow: 0 3px 8px #0f172a03; }
.ws-showcase__card .mfc-eyebrow { margin: 0; color: var(--mfc-accent); }
.ws-showcase__card h2 { color: var(--mfc-primary); font-size: 18px; }
.ws-showcase__card p:not(.mfc-eyebrow) { color: var(--mfc-text); line-height: 1.6; }
.ws-showcase__card .mfc-button { align-self: flex-start; min-height: 42px; margin-top: auto; }
.ws-showcase__empty { margin: 0; padding: 22px; border: 1px dashed var(--mfc-line); border-radius: var(--mfc-radius); color: var(--mfc-muted); }
.ws-home__report-frame { display: block; width: 100%; height: calc(100vh - 250px); min-height: 600px; border: 1px solid var(--mfc-line); border-radius: var(--mfc-radius); background: #fff; }
.ws-home__work-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; align-items: end; }
.ws-home__work-search label { grid-column: 1 / -1; color: var(--mfc-text); font-size: 11px; font-weight: 700; }
.ws-home__work-search input { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--mfc-line); border-radius: 7px; background: #fff; color: var(--mfc-ink); }
.ws-home__work-clear { min-height: 44px; }
.ws-home__work-clear[hidden] { display: none; }
.ws-home .ws-home__work-status { min-height: 1.25em; margin: 12px 0 0; color: var(--mfc-muted); font-size: 11px; }
.ws-home__work-group { margin-top: 18px; }
.ws-home__work-group h2 { margin: 0 0 10px; color: var(--mfc-primary); font-size: 15px; }
.ws-home__work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ws-home__work-card { display: flex; min-width: 0; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--mfc-line); border-radius: var(--mfc-radius); background: #fff; box-shadow: 0 1px 2px #1118270a; }
.ws-home .ws-home__work-card .mfc-eyebrow { margin: 0; color: var(--mfc-accent); }
.ws-home__work-card h3 { margin: 0; color: var(--mfc-primary); font-size: 18px; }
.ws-home .ws-home__work-description { margin: 0; color: var(--mfc-text); }
.ws-home__work-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.ws-home__work-card .ws-home__work-actions { margin-top: auto; }
.ws-home__work-actions .mfc-button { min-height: 44px; }
.ws-home .ws-home__work-empty { grid-column: 1 / -1; margin: 0; padding: 18px; border: 1px dashed var(--mfc-line); border-radius: 8px; color: var(--mfc-muted); }
.ws-home__share-dialog { width: min(560px, calc(100vw - 32px)); max-height: min(86dvh, 700px); overflow: hidden; padding: 0; border: 1px solid var(--mfc-line); border-radius: var(--mfc-radius); color: var(--mfc-ink); }
.ws-home__share-dialog::backdrop { background: #0f172a80; }
.ws-home__share-dialog-content { display: flex; max-height: min(calc(86dvh - 2px), 698px); flex-direction: column; }
.ws-home__share-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--mfc-line); background: #fff; }
.ws-home__share-dialog-header h2 { min-width: 0; margin: 0; color: var(--mfc-primary); font-size: 17px; overflow-wrap: anywhere; }
.ws-home__share-dialog-close { flex: 0 0 auto; min-height: 44px; }
.ws-home__share-dialog-body { overflow-y: auto; padding: 18px; background: var(--mfc-surface); }
.ws-home .ws-home__share-dialog-item { margin: 0; color: var(--mfc-primary); font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.ws-home .ws-home__share-dialog-scope, .ws-home .ws-home__share-dialog-status { margin: 10px 0 0; color: var(--mfc-text); font-size: 12px; }
.ws-home .ws-home__share-dialog-status { color: var(--mfc-muted); }
.ws-home__share-dialog fieldset { display: grid; gap: 8px; margin: 16px 0 0; padding: 12px; border: 1px solid var(--mfc-line); border-radius: 8px; }
.ws-home__share-dialog legend { padding: 0 4px; color: var(--mfc-primary); font-size: 12px; font-weight: 700; }
.ws-home__share-choice { display: flex; min-height: 44px; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 6px; color: var(--mfc-text); cursor: pointer; }
.ws-home__share-choice:focus-within { outline: 3px solid #e76f1c66; outline-offset: 1px; }
.ws-home__share-choice:hover { background: #f7f7fb; }
.ws-home__share-choice input { inline-size: 18px; block-size: 18px; flex: 0 0 auto; accent-color: var(--mfc-accent); }
.ws-home__share-password { padding: 2px 9px 10px; }
.ws-home__share-password label { display: grid; gap: 6px; color: var(--mfc-text); font-size: 11px; font-weight: 700; }
.ws-home__share-password input { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--mfc-line); border-radius: 7px; color: var(--mfc-ink); }
.ws-home__share-dialog-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.ws-home__share-dialog-actions .mfc-button { min-height: 44px; }
.ws-home__share-dialog-actions .mfc-button:disabled { cursor: not-allowed; opacity: .58; }
.ws-home__heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.ws-home__heading h1 { margin-top: 2px; font-size: 27px; color: var(--mfc-primary); }
.ws-home__heading .mfc-subtitle { max-width: 64ch; }
.ws-home__welcome { display: grid; gap: 14px; padding: 29px; margin-bottom: 24px; border: 1px solid #dddff4; border-radius: var(--mfc-radius); background: linear-gradient(130deg, #fff 0%, #f5f5fc 100%); }
.ws-home .ws-home__welcome h2 { margin: 4px 0 8px; color: var(--mfc-primary); font-size: 21px; }
.ws-home__welcome p { color: var(--mfc-muted); line-height: 1.65; }
.ws-home .ws-home__welcome p:not(.mfc-eyebrow) { max-width: 88ch; font-size: 13px; }
.ws-home .ws-home__welcome p + p { margin-top: 10px; }
.ws-home .ws-home__welcome .ws-home__welcome-signoff { color: var(--mfc-primary); font-weight: 700; }
.ws-home__section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 24px 0 12px; }
.ws-home__section-heading h2 { color: var(--mfc-primary); }
.ws-home__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ws-home__card { display: flex; min-width: 0; flex-direction: column; padding: 18px; border: 1px solid var(--mfc-line); border-radius: var(--mfc-radius); background: #fff; box-shadow: 0 3px 8px #0f172a03; }
.ws-home__card svg { width: 21px; height: 21px; margin-bottom: 14px; color: var(--mfc-accent); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ws-home__card h2 { color: var(--mfc-primary); }
.ws-home .ws-home__card p { margin: 7px 0 15px; color: var(--mfc-muted); font-size: 11px; }
.ws-home__card a { margin-top: auto; font-size: 11px; font-weight: 700; }
.ws-home__card-links { display: grid; gap: 8px; margin-top: auto; }
.ws-home__card-links a { margin-top: 0; }
.ws-home__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ws-home__list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; border-bottom: 1px solid var(--mfc-line); }
.ws-home__list li:last-child { border-bottom: 0; }
.ws-home__list small { display: block; margin-top: 3px; color: var(--mfc-muted); font-size: 10px; }
.ws-home__catalogue-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 10px; align-items: end; }
.ws-home__catalogue-search label { grid-column: 1 / -1; color: var(--mfc-text); font-size: 11px; font-weight: 700; }
.ws-home__catalogue-search input { width: 100%; min-width: 0; min-height: 38px; padding: 8px 10px; border: 1px solid var(--mfc-line); border-radius: 7px; background: #fff; color: var(--mfc-ink); }
.ws-home__catalogue-clear { min-height: 38px; }
.ws-home__catalogue-clear[hidden] { display: none; }
.ws-home .ws-home__catalogue-provenance { margin: 15px 0 0; color: var(--mfc-muted); font-size: 11px; }
.ws-home .ws-home__catalogue-status { margin: 12px 0; color: var(--mfc-primary); font-size: 11px; font-weight: 700; }
.ws-home__catalogue-grid { display: grid; grid-template-columns: 1fr; gap: 7px; }
.ws-home__catalogue-card { display: flex; width: 100%; min-width: 0; min-height: 44px; align-items: center; gap: 6px; padding: 8px; border: 1px solid var(--mfc-line); border-radius: 7px; background: #fff; color: var(--mfc-primary); font: inherit; text-align: left; cursor: pointer; }
.ws-home__catalogue-card:hover { border-color: #c7cae8; background: #f8f8fd; }
.ws-home__catalogue-card svg { flex: 0 0 auto; width: 15px; height: 15px; color: var(--mfc-accent); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ws-home__catalogue-card-caption { display: grid; min-width: 0; gap: 4px; }
.ws-home__catalogue-card-name { color: inherit; font-size: 10px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.ws-home__catalogue-card-entries { color: var(--mfc-muted); font-size: 9px; line-height: 1.3; overflow-wrap: anywhere; }
.ws-home .ws-home__catalogue-empty { grid-column: 1 / -1; margin: 0; padding: 17px; border: 1px dashed var(--mfc-line); border-radius: 8px; color: var(--mfc-muted); font-size: 11px; }
.ws-home__catalogue-dialog { width: min(680px, calc(100vw - 32px)); max-height: min(80vh, 720px); overflow: hidden; padding: 0; border: 1px solid var(--mfc-line); border-radius: var(--mfc-radius); color: var(--mfc-ink); }
.ws-home__catalogue-dialog::backdrop { background: #0f172a80; }
.ws-home__catalogue-dialog-content { display: flex; max-height: min(calc(80vh - 2px), 718px); flex-direction: column; }
.ws-home__catalogue-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--mfc-line); background: #fff; }
.ws-home__catalogue-dialog-header h2 { min-width: 0; color: var(--mfc-primary); font-size: 15px; overflow-wrap: anywhere; }
.ws-home__catalogue-dialog-close { flex: 0 0 auto; }
.ws-home__catalogue-dialog-body { overflow-y: auto; padding: 16px 18px 20px; background: var(--mfc-surface); }
.ws-home .ws-home__catalogue-dialog-snapshot { margin: 0; color: var(--mfc-muted); font-size: 11px; }
.ws-home .ws-home__catalogue-dialog-status { margin: 12px 0; color: var(--mfc-primary); font-size: 11px; font-weight: 700; }
.ws-home__catalogue-header-list { margin: 0; padding-left: 22px; color: var(--mfc-text); font-size: 12px; }
.ws-home__catalogue-header-list li { overflow-wrap: anywhere; }
.ws-home__catalogue-header-list li + li { margin-top: 5px; }
.ws-home__catalogue-details { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 10px 16px; margin: 18px 0 22px; font-size: 12px; }
.ws-home__catalogue-details dt { color: var(--mfc-primary); font-weight: 700; }
.ws-home__catalogue-details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .ws-home__catalogue-details { grid-template-columns: 1fr; gap: 5px; } .ws-home__catalogue-details dd + dt { margin-top: 8px; } }
.ws-home__empty { padding: 24px; color: var(--mfc-muted); }
.ws-home__guide { margin: 0; padding-left: 19px; color: var(--mfc-text); }
.ws-home__guide li + li { margin-top: 10px; }
@media (max-width: 680px) { .ws-home__work-search { grid-template-columns: 1fr; } .ws-home__work-clear { justify-self: start; } .ws-home__work-grid { grid-template-columns: 1fr; } .ws-home__share-dialog { width: min(100vw - 20px, 560px); max-height: min(90dvh, 700px); } .ws-home__share-dialog-content { max-height: min(calc(90dvh - 2px), 698px); } .ws-home__share-dialog-header, .ws-home__share-dialog-body { padding: 14px; } }
@media (max-width: 1050px) { .ws-home__layout { grid-template-columns: 56px 185px minmax(0, 1fr); } .ws-home__content main { padding: 28px; } .ws-home__topbar, .ws-home__content .mfc-footer { padding-left: 28px; padding-right: 28px; } .ws-home__cards { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .ws-home__layout { grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); } .ws-home__primary { grid-row: 1 / span 2; padding: 12px 6px; } .ws-home__section { grid-column: 2; padding: 13px 16px; border-right: 0; border-bottom: 1px solid var(--mfc-line); } .ws-home__identity, .ws-home__section > .mfc-eyebrow, .ws-home__section-note { display: none; } .ws-home__section-nav { display: flex; overflow-x: auto; } .ws-home__section-nav a { white-space: nowrap; } .ws-home__content { grid-column: 2; } .ws-home__topbar { min-height: 54px; padding: 0 17px; } .ws-home__content main { padding: 22px 17px; } .ws-home__content .mfc-footer { padding: 14px 17px 20px; } .ws-home__heading { display: block; } .ws-home__heading .mfc-button { margin-top: 14px; } .ws-home__welcome { padding: 21px; } .ws-home__catalogue-search { grid-template-columns: 1fr; } .ws-home__catalogue-clear { justify-self: start; } .ws-home__catalogue-grid { grid-template-columns: 1fr; } }
@media (min-width: 680px) { .ws-home__catalogue-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1050px) { .ws-home__catalogue-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .ws-home__catalogue-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
@media (min-width: 1500px) { .ws-home__catalogue-grid { grid-template-columns: repeat(10, minmax(0, 1fr)); } }
@media (min-width: 1800px) { .ws-home__catalogue-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
@media (max-width: 680px) { .ws-showcase__main { padding: 22px 17px 40px; } .ws-showcase__header { align-items: flex-start; flex-direction: column; } .ws-showcase__intro { padding: 22px; } }
