@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #211d32;
    --muted: #6c687d;
    --purple: #6238d0;
    --purple-deep: #4e27b3;
    --lavender: #f0eaff;
    --line: #e8e5ee;
    --paper: #fff;
    --background: #f8f7fb;
    --sidebar: 248px;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    font-size: 14px;
    color: var(--ink);
    background: var(--background);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
svg { flex: 0 0 auto; vertical-align: middle; }
form, p, h1, h2, h3, dl, dd { margin: 0; }
h1, h2, h3, .brand strong { font-family: Manrope, 'Segoe UI', sans-serif; font-weight: 800; letter-spacing: -.035em; }
:focus-visible { outline: 3px solid #8f6ef0; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { color: var(--muted); line-height: 1.55; }

.sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 10;
    width: var(--sidebar); background: var(--paper); border-right: 1px solid var(--line);
    display: flex; flex-direction: column;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 25px 23px 29px; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--purple); color: white; }
.brand strong { display: block; font-size: 19px; line-height: 1.2; }
.brand small, .profile small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.sidebar-nav { padding: 5px 15px; overflow-y: auto; flex: 1; }
.nav-group + .nav-group { margin-top: 26px; }
.nav-group h2 { font-family: inherit; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-size: 10px; padding: 0 11px 9px; }
.nav-link { display: flex; align-items: center; gap: 10px; min-height: 41px; margin: 2px 0; padding: 8px 11px; border-radius: 8px; color: #4f4a61; font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.nav-link svg { color: #777187; }
.nav-link:hover { background: #f6f3fb; }
.nav-link.active { background: var(--lavender); color: #5425bd; }
.nav-link.active svg { color: inherit; }
.sidebar-foot { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 17px 15px 17px 21px; }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 35px; height: 35px; border-radius: 50%; background: var(--lavender); color: var(--purple-deep); font-weight: 800; }
.profile { flex: 1; min-width: 0; }
.profile strong, .profile small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile strong { font-size: 12.5px; }
.icon-button { border: 0; display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 7px; background: transparent; color: var(--muted); }
.icon-button:hover { background: var(--lavender); color: var(--purple-deep); }
.menu-button { display: none; }
.app-main { margin-left: var(--sidebar); }
.topbar { min-height: 67px; padding: 10px clamp(22px, 3.2vw, 50px); display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--paper); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; min-width: 0; }
.breadcrumb strong { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #faf9fc; border-radius: 8px; height: 36px; padding: 0 9px; color: var(--muted); width: min(250px, 40%); }
.search:focus-within { outline: 2px solid #a78bf0; outline-offset: 1px; }
.search input { border: 0; background: transparent; width: 100%; min-width: 0; padding: 0; height: auto; font-size: 12px; }
.search input:focus-visible { outline: 0; }
.search kbd { display: grid; place-items: center; width: 17px; height: 19px; flex: 0 0 auto; background: white; border: 1px solid var(--line); border-radius: 4px; font-size: 11px; }

.main { max-width: 1536px; margin: 0 auto; padding: 35px clamp(22px, 3.2vw, 50px) 59px; }
.page-heading, .section-heading { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.page-heading h1 { font-size: clamp(27px, 3.1vw, 38px); line-height: 1.14; overflow-wrap: anywhere; }
.page-heading p, .section-heading p { color: var(--muted); margin-top: 7px; line-height: 1.5; overflow-wrap: anywhere; }
.page-heading .actions { flex-shrink: 0; }
.heading-with-icon { display: flex; align-items: center; gap: 13px; }
.heading-with-icon .tile { width: 54px; height: 54px; }
.section-heading { margin-bottom: 15px; }
.section-heading h2 { font-size: 22px; }
.section-heading p { font-size: 13px; margin-top: 4px; }
.actions, .form-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 8px; border: 1px solid transparent; font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.btn.primary { background: var(--purple); color: white; border-color: var(--purple); }
.btn.primary:hover { background: var(--purple-deep); border-color: var(--purple-deep); }
.btn.secondary { background: white; border-color: #ded9e8; }
.btn.secondary:hover { border-color: #aa95df; color: var(--purple-deep); }
.btn.danger { color: #a52a43; background: #fff; border-color: #eccbd4; }
.btn.danger:hover { background: #fff1f4; }
.btn.small-button { min-height: 33px; padding: 6px 10px; font-size: 12px; }
.text-link, .back-link { color: var(--purple-deep); font-weight: 700; display: inline-flex; align-items: center; gap: 7px; font-size: 13px; }
.text-link:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.back-link { margin-bottom: 13px; }

.hero { position: relative; overflow: hidden; isolation: isolate; min-height: 210px; display: flex; align-items: center; padding: 28px 35px; border-radius: 14px; color: white; background: #542cba; }
.hero-text { position: relative; z-index: 1; width: min(540px, 100%); }
.hero h2 { font-size: clamp(26px, 3.25vw, 40px); line-height: 1.12; overflow-wrap: anywhere; }
.hero p { color: #f2ebff; font-size: 14px; line-height: 1.55; margin-top: 9px; max-width: 400px; }
.hero-button { margin-top: 19px; min-height: 36px; background: #fff; color: #4c24af; padding-inline: 12px; }
.hero-button:hover { background: #f0eaff; }
.hero-art { position: absolute; pointer-events: none; inset: 0 0 0 auto; width: 52%; overflow: hidden; }
.hero-art i { position: absolute; top: -64px; right: 60px; display: block; width: 255px; height: 255px; transform: rotate(-30deg) skewX(19deg) scaleY(.7); border: 1px solid #e5d6ff67; border-radius: 27px; background: #e5d6ff0e; }
.hero-art i:nth-child(2) { top: -10px; }
.hero-art i:nth-child(3) { top: 44px; }
.hero-art i:nth-child(4) { top: 98px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); gap: 14px; margin: 18px 0 33px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: 11px; display: flex; align-items: flex-start; gap: 12px; padding: 16px; }
.stat p { font-weight: 700; font-size: 12px; }
.stat strong { font-family: Manrope, 'Segoe UI', sans-serif; font-size: 27px; font-weight: 800; letter-spacing: -.03em; display: block; line-height: 1.24; }
.stat small { color: var(--muted); font-size: 11px; }
.tile { width: 40px; height: 40px; border-radius: 10px; display: inline-grid; place-items: center; background: #eee7ff; color: #6635d2; flex: 0 0 auto; }
.tile-file { background: #e9f0ff; color: #3e62bd; }
.tile-users { background: #e6f6ef; color: #21785f; }
.tile-briefcase, .tile-shield { background: #fff0dd; color: #995a12; }
.tile-box { background: #ffeaf4; color: #a3376a; }
.tile-calendar { background: #e4f4fa; color: #25637e; }
.tile.small { width: 34px; height: 34px; border-radius: 8px; }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.collection-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 166px; border: 1px solid var(--line); border-radius: 11px; padding: 16px 17px 15px; background: var(--paper); transition: border-color .15s, background-color .15s; }
.collection-card:hover { border-color: #beade8; background: #fdfbff; }
.card-top { display: flex; width: 100%; align-items: center; justify-content: space-between; color: #797185; margin-bottom: 12px; }
.collection-card h3 { font-size: 16px; margin-bottom: 4px; overflow-wrap: anywhere; max-width: 100%; }
.collection-card p { color: var(--muted); font-size: 12px; line-height: 1.45; margin-bottom: 12px; overflow-wrap: anywhere; max-width: 100%; }
.card-count { display: inline-block; margin-top: auto; color: #574b71; background: #f4f0fa; font-size: 11px; padding: 3px 8px; border-radius: 20px; font-weight: 700; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 11px; min-width: 0; }
.panel-heading { display: flex; gap: 10px; align-items: center; padding: 15px 19px; border-bottom: 1px solid var(--line); min-height: 54px; }
.panel-heading h2 { font-size: 16px; }
.panel-heading .btn { margin-left: auto; }
.panel-pad { padding: 18px 20px; }
.section-stack, .form-stack { display: grid; gap: 17px; }
.detail-width { width: min(100%, 750px); }
.empty { text-align: center; display: grid; gap: 8px; justify-items: center; padding: 34px 16px; color: var(--muted); }
.empty svg { color: var(--purple); }
.empty h3 { font-size: 17px; color: var(--ink); }
.empty .btn { margin-top: 6px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
thead { background: #fbf9fd; }
th, td { padding: 13px 18px; vertical-align: middle; }
thead th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; white-space: nowrap; }
tbody tr { border-top: 1px solid var(--line); }
tbody tr:hover { background: #fcfbfe; }
tbody th { font-weight: 700; }
tbody th a:hover { color: var(--purple-deep); }
.row-action { width: 1%; white-space: nowrap; text-align: right; }
.table-title { display: flex; align-items: center; gap: 10px; }
.table-title small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); margin-top: 3px; }
.pill { display: inline-block; font-weight: 700; font-size: 11px; background: #f1eef5; color: #534b67; border-radius: 20px; padding: 4px 8px; }
.pill.lilac { background: var(--lavender); color: var(--purple-deep); }
.pill.green { background: #e5f6ed; color: #247256; }
.details > div { display: grid; grid-template-columns: minmax(100px, 1fr) 2fr; gap: 15px; padding: 13px 19px; }
.details > div + div { border-top: 1px solid var(--line); }
.details dt { color: var(--muted); font-weight: 700; }
.details dd { white-space: pre-wrap; overflow-wrap: anywhere; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 15px; color: var(--muted); }

label, legend { color: var(--ink); font-weight: 700; font-size: 13px; }
label:not(.check-label), .form-field { display: grid; align-content: start; gap: 6px; min-width: 0; }
input:not([type=checkbox], [type=radio]), select, textarea { min-width: 0; width: 100%; color: var(--ink); padding: 9px 10px; border: 1px solid #ded9e8; border-radius: 7px; background: white; font-weight: 400; }
input::placeholder, textarea::placeholder { color: #7a7389; }
input:not([type=checkbox], [type=radio]), select { min-height: 39px; }
.search input[type=search] { min-height: 0; border: 0; padding: 0; background: transparent; }
textarea { resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--purple); margin: 0; width: 16px; height: 16px; }
.check-label { display: inline-flex; align-items: center; gap: 7px; min-height: 26px; font-weight: 600; }
.choice-list { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 16px; }
.hint { display: block; color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.5; }
.hint svg { margin-right: 3px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.form-inset, .grant { background: #faf8fe; border: 1px solid #eae4f3; border-radius: 8px; padding: 12px 14px; }
fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
legend { margin-bottom: 6px; padding: 0; }
.form-inset legend, .grant legend { padding: 0 4px; }
.grant details { margin-top: 7px; color: var(--muted); }
.grant details .choice-list { padding-top: 8px; }
.grant summary { cursor: pointer; font-size: 12px; font-weight: 700; }
.label-parts { margin-top: 6px; }
.label-part { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 8px; }
.label-part:last-child { border-bottom: 0; }
.required { color: #aa3150; }
.delete-form { margin-top: 17px; }
.notice { border: 1px solid; border-radius: 8px; margin-bottom: 15px; padding: 10px 14px; line-height: 1.5; overflow-wrap: anywhere; }
.notice.error { color: #96263f; background: #fff0f3; border-color: #f3cbd6; }
.notice.success { color: #226244; background: #e9f8f0; border-color: #c8e9d9; }
.notice ul { margin: 4px 0 0; padding-left: 20px; }

.login { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.login-cover { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 540px; padding: 30px clamp(24px, 6vw, 90px) 70px; color: white; background: #542cba; }
.login-cover .brand { padding: 0; }
.login-cover .brand-mark { background: #ffffff24; }
.login-cover .brand small { color: #e9ddff; }
.login-cover .hero-art { width: 100%; inset-block-start: 18%; opacity: .85; }
.login-cover .hero-art i { right: 23%; width: 280px; height: 280px; }
.login-copy { z-index: 1; }
.login-copy h1 { font-size: clamp(34px, 5vw, 61px); line-height: 1.05; }
.login-copy p { color: #eee5fb; margin-top: 13px; font-size: 16px; line-height: 1.55; max-width: 320px; }
.login-side { display: grid; place-items: center; background: white; padding: 28px; }
.login-form { max-width: 370px; width: 100%; }
.login-form h2 { font-size: 34px; }
.login-form > p { color: var(--muted); margin: 6px 0 22px; }
.login-form button { margin-top: 2px; }

@media (max-width: 1100px) {
    :root { --sidebar: 218px; }
    .stat { padding: 12px; gap: 8px; }
    .hero-art i { right: 12px; }
}
@media (max-height: 680px) {
    .sidebar .brand { padding-block: 16px 18px; }
    .nav-group + .nav-group { margin-top: 16px; }
    .nav-link { min-height: 34px; padding-block: 6px; }
    .sidebar-foot { padding-block: 11px; }
}
@media (max-width: 830px) {
    .menu-button { display: inline-grid; margin-left: -5px; }
    .sidebar { visibility: hidden; transform: translateX(-100%); transition: transform .15s, visibility .15s; top: 57px; }
    .sidebar.open { visibility: visible; transform: translateX(0); border-right-color: #d2c7eb; }
    .app-main { margin-left: 0; }
    .topbar { min-height: 57px; }
    .main { padding-top: 24px; }
}
.ai-editor summary { cursor: pointer; font-weight: 700; color: var(--purple-deep); }
.ai-editor .form-stack { margin-top: 12px; }
.ai-editor .btn { justify-self: start; }
.ai-editor ul { margin: 8px 0 0; padding-inline-start: 20px; overflow-wrap: anywhere; }
.ai-editor [data-ai-status] { color: var(--muted); }
.topbar-tools { display: flex; align-items: center; gap: 9px; min-width: 0; }
.header-search { position: relative; width: min(285px, 32vw); }
.header-search .search { width: 100%; }
.locale-picker select { min-height: 36px; width: auto; max-width: 115px; padding-block: 6px; font-size: 12px; }
.login-side { position: relative; }
.login-side .locale-picker { position: absolute; top: 18px; right: 19px; }
.login-side:has(.locale-picker) { padding-top: 65px; }
.suggestions { position: absolute; right: 0; z-index: 5; top: calc(100% + 6px); min-width: min(320px, 90vw); overflow: hidden; }
.search-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; overflow-wrap: anywhere; }
.search-result:hover, .search-result:focus-visible { background: #f1ebff; }
.search-result + .search-result, .suggestions .text-link { border-top: 1px solid var(--line); }
.search-result small { display: block; color: var(--muted); margin-top: 2px; }
.suggestions .text-link { width: 100%; padding: 10px 16px; }
.suggestions p { padding: 12px 16px; }
.filter-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.filter-form label:first-of-type { flex: 1 1 190px; }
.search-results { margin-top: 20px; }
.tabs { display: flex; gap: 5px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tab { display: inline-block; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 9px 11px; font-size: 13px; font-weight: 700; }
.tab:hover { background: #f8f4ff; color: var(--purple-deep); }
.tab[aria-selected=true], .tab[aria-current=page] { color: var(--purple-deep); border-bottom-color: var(--purple); }
.detail-tabs, .detail-intro { margin-bottom: 17px; }
.detail-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.detail-blocks .full-block { grid-column: 1 / -1; }
.prose-text { color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.65; }
.builder-row { border: 1px solid var(--line); border-radius: 8px; background: white; padding: 12px; }
.option-translation { display: grid !important; grid-template-columns: minmax(80px, 1fr) 2fr; align-items: center; }
.token-list { line-height: 1.65; }
.relation-control { display: flex; align-items: center; gap: 9px; }
.relation-control > .select2-container { flex: 1 1 auto; min-width: 0; }
.select2-container--default .select2-selection--single { height: 39px; border: 1px solid #ded9e8; border-radius: 7px; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 37px; color: var(--ink); }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 37px; }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--purple); }
.select2-container--default .select2-search--dropdown .select2-search__field { border-radius: 6px; border-color: #ded9e8; }
.relation-dialog { width: min(800px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; }
.relation-dialog::backdrop { background: #211d3277; }
.relation-dialog .panel-heading { justify-content: space-between; }
.relation-dialog iframe { display: block; width: 100%; height: min(70vh, 650px); border: 0; }
.inline-main { padding: 20px; }
.listing-filters { margin-bottom: 16px; }
.listing-filters summary { cursor: pointer; color: var(--purple-deep); font-weight: 700; }
.listing-details { margin-top: 12px; }
.table-sort { display: inline-flex; gap: 4px; align-items: center; }
.table-sort:hover { color: var(--purple-deep); }
.pagination { flex-wrap: wrap; gap: 6px; }
.page-current { color: var(--purple-deep); background: var(--lavender); border-color: #e3d8ff; }
.status-form { display: inline-flex; gap: 6px; white-space: normal; }
.status-form .status-select { width: auto; max-width: 100%; min-height: 30px; padding: 4px 6px 4px 9px; border-radius: 18px; border-color: #dacef4; background: var(--lavender); color: var(--purple-deep); font-weight: 700; font-size: 11px; cursor: pointer; }
.record-heading .actions { flex-shrink: 1; justify-content: flex-end; }
.header-status { display: grid; gap: 3px; align-content: center; font-size: 12px; font-weight: 700; color: var(--muted); margin-inline-start: 6px; }
@media (max-width: 570px) {
    .record-heading .actions { justify-content: flex-start; }
}
@media (max-width: 570px) {
    .detail-blocks { grid-template-columns: 1fr; }
    .header-search { width: 29vw; }
    .header-search .search svg { display: none; }
    .locale-picker select { max-width: 85px; }
    .suggestions { min-width: min(270px, 82vw); }
}
@media (prefers-reduced-motion: reduce) {
    .sidebar, .collection-card { transition: none; }
}
@media (max-width: 570px) {
    .topbar, .main { padding-inline: 15px; }
    .breadcrumb > span, .breadcrumb > svg, .search kbd { display: none; }
    .search { width: 48%; }
    .page-heading, .section-heading { align-items: flex-start; flex-direction: column; }
    .hero { padding: 23px 19px; min-height: 205px; }
    .hero-art { opacity: .35; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
    .stat .tile { width: 31px; height: 31px; border-radius: 7px; }
    .collection-grid, .form-grid { grid-template-columns: 1fr; }
    .collection-card { min-height: 135px; }
    .login { display: block; }
    .login-cover { min-height: 210px; padding: 20px 24px; }
    .login-cover .hero-art { opacity: .3; }
    .login-copy { margin-top: 27px; }
    .login-copy p { font-size: 13px; }
    .login-side { padding: 28px 20px; }
}
.pdf-template-tabs { margin-bottom: 20px; }
.pdf-designer { display: grid; gap: 18px; align-items: start; }
.pdf-settings { min-width: 0; }
.pdf-switch-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.pdf-switch-line h2, .pdf-blocks h2 { font-size: 19px; }
.pdf-settings-group { border: 1px solid var(--line); border-radius: 8px; }
.pdf-settings-group > summary, .pdf-block summary { cursor: pointer; font-weight: 700; padding: 12px 13px; }
.pdf-settings-group[open] > summary { border-bottom: 1px solid var(--line); }
.pdf-settings-body { padding: 13px; }
.pdf-block { display: grid; grid-template-columns: minmax(0, 1fr) auto; border: 1px solid var(--line); border-radius: 8px; align-items: start; }
.pdf-block summary { display: flex; align-items: center; gap: 9px; min-height: 49px; }
.pdf-block summary::after { content: '+'; margin-inline-start: auto; color: var(--purple-deep); }
.pdf-block details[open] summary::after { content: '−'; }
.pdf-block [data-pdf-block-number] { background: var(--lavender); color: var(--purple-deep); border-radius: 5px; padding: 3px 6px; font-variant-numeric: tabular-nums; }
.pdf-block-description { min-width: 0; overflow-wrap: anywhere; }
.pdf-block-description small { color: var(--muted); display: block; font-weight: 500; }
.pdf-block-controls { display: flex; padding: 8px 5px; }
.pdf-block-controls .icon-button { min-width: 26px; height: 32px; padding: 0; }
.pdf-preview { overflow: hidden; }
.pdf-preview-paper { display: grid; min-height: 380px; background: #f1eff6; padding: 13px; }
.pdf-preview-placeholder { display: grid; align-content: center; justify-items: center; gap: 10px; text-align: center; background: white; border: 1px solid var(--line); border-radius: 5px; padding: 25px; color: var(--muted); }
.pdf-preview-placeholder svg { color: var(--purple); }
.pdf-preview-placeholder p { max-width: 270px; }
.pdf-preview iframe { width: 100%; border: 0; min-height: 520px; border-radius: 5px; }
[data-pdf-feedback]:not([hidden]) { background: #fff0f3; color: #96263f; padding: 8px; border-radius: 6px; overflow-wrap: anywhere; }
@media (min-width: 1120px) {
    .pdf-designer { grid-template-columns: minmax(0, 1.2fr) minmax(325px, 1fr); }
    .pdf-preview { position: sticky; top: 15px; }
    .pdf-preview iframe { min-height: 560px; }
}
