.dashboard { background: #f4f6fb; }
.topbar { padding: 22px max(24px, calc((100vw - 1180px)/2)); background: white; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { font-size: 22px; color: #172033; text-decoration: none; font-weight: 800; }
.account, .heading, .panel-heading, .filters { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.account { font-size: 14px; overflow-wrap: anywhere; }
.dashboard-main { max-width: 1228px; padding: 40px 24px; margin: auto; }
.heading h1 { font-size: clamp(26px, 4vw, 38px); margin: 8px 0; overflow-wrap: anywhere; }
.heading p, .stats span, #resultCount, #empty { color: #64748b; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; }
.dashboard button, .dashboard input, .dashboard select, .dashboard textarea { font: inherit; border-radius: 8px; border: 1px solid #cbd5e1; padding: 10px 14px; background: white; color: #172033; }
.dashboard button { cursor: pointer; white-space: nowrap; }
.dashboard button:disabled { opacity: .5; cursor: default; }
.dashboard :focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
#refresh { background: #2563eb; border-color: #2563eb; color: white; }
#notice { min-height: 24px; line-height: 1.5; }
#notice[data-error="true"] { color: #b42318; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 24px 0 32px; }
.stats article, .content-panel { background: white; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; }
.stats strong { display: block; font-size: 32px; margin-top: 16px; }
.stats span { font-size: 14px; }
.panel-heading h2 { font-size: 20px; }
.filters label { display: grid; gap: 6px; font-size: 13px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 18px 12px; border-bottom: 1px solid #e2e8f0; overflow-wrap: anywhere; }
th { color: #64748b; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
td:first-child { min-width: 180px; }
.badge { display: inline-block; border-radius: 20px; padding: 6px 10px; background: #f1f5f9; font-size: 12px; }
.badge[data-status="approved"] { color: #166534; background: #dcfce7; }
.badge[data-status="pending"] { color: #92400e; background: #fef3c7; }
.badge[data-status="changes_requested"] { color: #9f1239; background: #ffe4e6; }
.review-feedback { min-width: 200px; max-width: 360px; white-space: pre-wrap; }
td form { min-width: 240px; }
td form label { display: grid; gap: 8px; font-size: 13px; }
td form input { max-width: 280px; }
td form button { margin-top: 10px; }
td form p { font-size: 13px; }
td { vertical-align: top; }
td details summary { cursor: pointer; padding: 10px 0; }
td details label { margin: 10px 0; }
td details input, td details textarea { width: 100%; }
.dashboard .danger { color: #b42318; border-color: #fda29b; margin-top: 12px; }
.client-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.client-card { border: 1px solid #e2e8f0; padding: 16px; border-radius: 10px; min-width: 0; overflow-wrap: anywhere; }
.client-card h3 { margin-top: 0; }
.client-card summary { cursor: pointer; margin-top: 16px; }
.client-card input { width: 100%; }
.panel-heading { flex-wrap: wrap; }
.filters { flex-wrap: wrap; }
.create-panel { margin-bottom: 24px; }
.create-panel h2 { font-size: 20px; margin-top: 0; }
.create-panel fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.create-panel label { display: block; font-size: 14px; margin: 16px 0 8px; }
.create-panel input, .create-panel textarea, .create-panel select { width: 100%; max-width: 700px; display: block; }
.create-panel textarea { resize: vertical; }
.create-panel p, .create-panel label span { color: #64748b; font-size: 14px; }
#createContent { background: #2563eb; color: white; border-color: #2563eb; }
#createNotice[data-error="true"] { color: #b42318; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } .panel-heading { align-items: stretch; flex-direction: column; } .filters { flex-wrap: wrap; justify-content: flex-start; } .filters input { max-width: 100%; } .topbar { align-items: flex-start; } .account { align-items: flex-end; flex-direction: column; gap: 8px; } .content-panel { padding: 16px; } }

/* Studio agency shell. Client review and the existing login retain their layout. */
.studio { --studio-accent: #5364eb; --studio-muted: #738099; font-family: "Segoe UI", Arial, sans-serif; background: #f7f8fc; color: #202b43; }
.studio [hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 50; padding: 12px 18px; background: white; border: 2px solid #5364eb; color: #202b43; }
.skip-link:focus { top: 12px; }
.studio-sidebar { position: fixed; inset: 0 auto 0 0; width: 228px; padding: 32px 20px 20px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid #e9ecf4; overflow-y: auto; z-index: 10; }
.studio .brand { font-size: 24px; letter-spacing: -1px; font-weight: 750; }
.studio .brand > span:first-child { color: var(--studio-accent); }
.studio .brand .studio-label { display: block; letter-spacing: 3px; font-size: 9px; color: #94a0b6; margin-top: 5px; }
.workspace-label { display: flex; align-items: center; gap: 10px; background: #f8f9fd; border: 1px solid #ecedf5; padding: 12px 10px; border-radius: 11px; margin: 32px 0 26px; }
.workspace-icon { background: #e9edff; color: #5364eb; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; font-size: 14px; font-weight: 650; flex-shrink: 0; }
.workspace-label strong { display: block; font-size: 12px; font-weight: 600; }
.workspace-label small { font-size: 11px; color: var(--studio-muted); }
.nav-caption { color: #98a1b4; font-size: 10px; letter-spacing: 1.7px; margin: 0 12px 12px; font-weight: 600; }
.studio-nav { display: grid; gap: 6px; }
.studio .studio-nav button { display: flex; gap: 13px; align-items: center; text-align: left; border: 0; color: #738099; padding: 12px 14px; font-size: 14px; background: transparent; transition: background .15s; }
.studio-nav button > span { width: 18px; font-size: 19px; line-height: 1; text-align: center; }
.studio .studio-nav button:hover { background: #f5f6fc; }
.studio .studio-nav button[aria-current="page"] { background: #eef0ff; color: #5364eb; font-weight: 600; }
.sidebar-bottom { margin-top: auto; padding-top: 64px; }
.sidebar-bottom > a { display: flex; justify-content: space-between; color: #738099; text-decoration: none; font-size: 12px; margin-bottom: 22px; padding: 0 6px; }
.sidebar-account { border-top: 1px solid #eceef5; padding-top: 20px; display: flex; gap: 10px; align-items: flex-start; }
.profile-avatar { width: 32px; height: 32px; flex-shrink: 0; background: #eef0ff; color: #5364eb; display: grid; place-items: center; border-radius: 50%; font-size: 11px; }
.sidebar-account strong { display: block; font-size: 12px; font-weight: 600; }
#accountEmail { display: block; font-size: 10px; color: #8490a6; max-width: 135px; overflow-wrap: anywhere; margin-top: 5px; }
.studio #logout { width: 100%; font-size: 12px; margin-top: 15px; border-color: #e9ecf4; color: #738099; }
.studio-workspace { margin-left: 228px; min-width: 0; }
.studio #mobileLogout { display: none; }
@media (max-width: 760px) { .studio #mobileLogout { display: inline-block; }.studio .studio-topbar .account { flex-direction: row; gap: 8px; } }
.studio .studio-topbar { padding: 20px 34px; min-height: 76px; background: #fff; border-bottom-color: #e9ecf4; }
.studio-topbar > p { margin: 0; font-size: 12px; color: #8a94a9; }
.studio-topbar > p span { margin: 0 10px; color: #c1c8d7; }
.studio-topbar > p strong { font-weight: 500; color: #3d4861; }
.studio .workspace-live { font-size: 11px; color: #8a94a9; }
.studio #refresh { background: #fff; color: #56617a; border: 1px solid #e4e8f1; font-size: 12px; padding: 8px 12px; }
.studio .dashboard-main { max-width: 1500px; padding: 38px 34px 28px; margin: 0 auto; }
.studio .heading { align-items: center; gap: 18px; flex-wrap: wrap; }
.studio .heading h1 { font-size: clamp(27px, 2.5vw, 35px); letter-spacing: -1px; font-weight: 650; margin: 7px 0 10px; }
.studio .heading p { font-size: 13px; color: #8590a5; }
.studio .heading .eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 1.8px; color: #97a0b3; margin: 0; }
.heading-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.studio button { font-weight: 500; font-size: 12px; border-radius: 8px; padding: 10px 13px; border-color: #e1e5ee; transition: background .15s, box-shadow .15s; }
.studio button:hover:not(:disabled) { box-shadow: 0 2px 6px #1b25400c; }
.studio .primary-action, .studio #createContent, .studio #clientForm button[type="submit"] { background: var(--studio-accent); border-color: var(--studio-accent); color: #fff; }
.studio .primary-action:hover:not(:disabled) { background: #4353d7; }
.studio #notice { font-size: 12px; color: #8590a5; margin: 18px 0 22px; }
.studio #notice[data-error="true"] { color: #b42318; }
.studio .stats { gap: 16px; margin: 0 0 26px; }
.studio .stats article { border-color: #e8ebf3; border-radius: 13px; padding: 21px; box-shadow: 0 2px 3px #25345402; }
.studio .stats span { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #7d889d; }
.studio .stats strong { font-size: 31px; font-weight: 600; letter-spacing: -.8px; margin: 13px 0 7px; color: #202b43; font-variant-numeric: tabular-nums; }
.studio .stats small { font-size: 10px; color: #a0a9bb; }
.status-dot { height: 6px; width: 6px; display: inline-block; border-radius: 50%; }
.dot-pending { background: #dda237; }.dot-approved { background: #4aab81; }.dot-changes { background: #d77c91; }
.studio .content-panel { border-radius: 13px; border-color: #e8ebf3; padding: 25px; box-shadow: 0 2px 4px #25345402; }
.studio .content-panel h2 { font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
.studio .filters { gap: 10px; }
.studio .filters label { color: #8c97ab; font-size: 10px; gap: 5px; }
.studio .filters input, .studio .filters select { padding: 8px 10px; font-size: 11px; border-color: #e6e9f1; max-width: 185px; background: #fcfcfe; }
.studio #resultCount { font-size: 11px; color: #98a2b5; margin: 16px 0; }
.studio table { font-size: 12px; }
.studio th { color: #939db1; font-size: 9px; letter-spacing: .9px; font-weight: 600; background: #fafbfe; padding: 13px 14px; white-space: nowrap; }
.studio td { border-color: #edf0f6; padding: 20px 14px; color: #64718b; vertical-align: top; }
.studio td:first-child { color: #2c3851; font-weight: 550; min-width: 180px; }
.studio tbody tr:last-child td { border-bottom: 0; }
.studio tbody tr:hover { background: #fcfcff; }
.studio td .badge { padding: 5px 8px; font-size: 10px; border-radius: 6px; font-weight: 500; white-space: nowrap; }
.studio .badge[data-status="approved"] { background: #e8f6ef; color: #35885f; }
.studio .badge[data-status="pending"] { background: #fff4dc; color: #a27823; }
.studio .badge[data-status="changes_requested"] { background: #fcecef; color: #bb6178; }
.studio .review-feedback { min-width: 160px; max-width: 250px; font-size: 11px; }
.studio td details summary { color: #5364eb; font-size: 12px; }
.studio td form { padding: 10px 0; }
.studio td form label { font-size: 11px; }
.studio td form input, .studio td form textarea { padding: 9px; font-size: 12px; }
.studio td form p { font-size: 11px; color: #8d97aa; font-weight: 400; }
.studio .danger { padding: 6px 9px; font-size: 10px; border: 0; background: #fff1f2; color: #b75f70; }
.studio .studio-form { max-width: 820px; padding: 30px; }
.studio .create-panel label { font-size: 12px; color: #58657e; font-weight: 500; margin-top: 22px; }
.studio .create-panel p { font-size: 12px; }
.studio .create-panel input, .studio .create-panel select, .studio .create-panel textarea { font-size: 13px; padding: 12px 14px; border-color: #dfe4ef; border-radius: 9px; }
.studio input[type="file"]::file-selector-button { background: #eef0ff; border: 0; border-radius: 5px; color: #5364eb; padding: 6px 9px; margin-right: 10px; }
.studio #clientForm button[type="submit"], .studio #createContent { margin-top: 14px; padding: 12px 20px; }
.studio #empty { font-size: 13px; padding: 25px 4px; }
.studio .client-list { margin-top: 20px; gap: 18px; }
.studio .client-card { background: #fcfcff; border-color: #e7ebf5; padding: 22px; border-radius: 11px; }
.studio .client-card h3 { font-weight: 600; font-size: 16px; letter-spacing: -.3px; }
.studio .client-card summary { font-size: 12px; color: #5364eb; }
.studio-footer { max-width: 1500px; padding: 10px 34px 28px; color: #a0a9bb; font-size: 10px; margin: auto; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (min-width: 1600px) { .studio .dashboard-main { padding-top: 48px; } }
@media (max-width: 1100px) { .studio-sidebar { width: 196px; padding: 24px 14px; }.studio-workspace { margin-left: 196px; }.studio .dashboard-main { padding: 28px 22px; }.studio .stats { grid-template-columns: repeat(2, 1fr); }.studio .panel-heading { align-items: flex-start; gap: 18px; }.studio .filters { justify-content: flex-start; } }
@media (max-width: 760px) { .studio-sidebar { position: static; width: auto; padding: 18px 20px 14px; overflow: visible; border-right: 0; border-bottom: 1px solid #e8ebf3; }.studio .brand { font-size: 22px; }.studio .brand .studio-label { display: inline; font-size: 9px; margin-left: 12px; letter-spacing: 1.8px; }.workspace-label,.nav-caption,.sidebar-bottom { display: none; }.studio-nav { display: flex; flex-wrap: wrap; margin-top: 18px; gap: 6px; }.studio .studio-nav button { padding: 10px 13px; font-size: 13px; }.studio-workspace { margin: 0; }.studio .studio-topbar { padding: 14px 20px; min-height: 60px; align-items: center; }.studio .studio-topbar .account { align-items: center; }.workspace-live { display: none; }.studio .dashboard-main { padding: 26px 18px; }.studio .heading h1 { font-size: 28px; }.studio .heading-actions { width: 100%; }.studio .stats { gap: 10px; }.studio .stats article { padding: 17px 14px; }.studio .stats span { font-size: 11px; }.studio .content-panel { padding: 18px 14px; }.studio .stats small { font-size: 10px; }.studio .filters { width: 100%; gap: 10px; }.studio .filters label { flex: 1 1 130px; }.studio .filters input,.studio .filters select { width: 100%; max-width: none; }.studio-footer { padding: 0 20px 24px; } }
@media (prefers-reduced-motion: reduce) { .studio button { transition: none; } }

/* Keep all content actions within reach on phones. */
@media (max-width: 760px) {
  .studio .studio-topbar { flex-wrap: wrap; gap: 12px; }
  .studio .studio-topbar .account { margin-left: auto; flex-wrap: wrap; }
  .studio .heading-actions > button { flex: 1; min-height: 44px; }
  .studio button, .studio summary { min-height: 44px; }
  .studio .filters label { min-width: 0; }
  .studio input, .studio select, .studio textarea,
  .studio .filters input, .studio .filters select,
  .studio .create-panel input, .studio .create-panel select, .studio .create-panel textarea,
  .studio td form input, .studio td form textarea { font-size: 16px; max-width: 100%; }
  .studio .table-scroll { overflow: visible; }
  .studio table, .studio tbody { display: block; }
  .studio thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .studio tbody tr { display: block; border: 1px solid #e8ebf3; border-radius: 12px; padding: 14px; margin: 14px 0; background: #fff; }
  .studio td, .studio td:first-child, .studio .review-feedback { display: block; width: 100%; min-width: 0; max-width: none; padding: 10px 0; border: 0; }
  .studio td::before { display: block; content: attr(data-label); font-size: 11px; font-weight: 500; color: #8a95ab; margin-bottom: 7px; }
  .studio td:first-child { font-size: 17px; }
  .studio td form { min-width: 0; }
  .studio td .history-body { min-width: 0; max-width: none; }
  .studio td button { white-space: normal; }
  .studio td .danger { min-height: 44px; padding: 10px 14px; }
  .studio .studio-form { padding: 22px 16px; }
}

/* Content library: independent cards keep long histories out of adjacent items. */
.studio .library-subtitle { font-size: 12px; line-height: 1.7; color: #8590a5; margin: 6px 0 0; }
.studio .content-library .panel-heading { align-items: center; }
.studio .content-library h2 { margin: 0; font-size: 20px; }
.studio .content-library .table-scroll { overflow: visible; }
.studio .content-library table { display: block; }
.studio .content-library thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.studio .content-library tbody { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.studio .content-library tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 20px; margin: 0; padding: 22px; background: #fff; border: 1px solid #e5e9f3; border-radius: 14px; box-shadow: 0 3px 12px #25345404; }
.studio .content-library td { display: block; width: auto; min-width: 0; max-width: none; border: 0; padding: 10px 0; }
.studio .content-library td::before { display: block; content: attr(data-label); color: #919bb0; font-size: 10px; font-weight: 500; margin-bottom: 8px; }
.studio .content-library td:first-child { font-size: 18px; font-weight: 600; line-height: 1.5; color: #29364f; }
.studio .content-library td:first-child::before, .studio .content-library td:nth-child(2)::before { display: none; }
.studio .content-library td:nth-child(2) { text-align: right; }
.studio .content-library td:nth-child(3) { color: #8b96aa; font-size: 11px; }
.studio .content-library td:nth-child(4) { text-align: right; }
.studio .content-library td:nth-child(4)::before { display: none; }
.studio .content-library td:nth-child(n+5) { grid-column: 1 / -1; }
.studio .content-library .review-feedback { margin-top: 8px; padding: 14px; border-radius: 9px; background: #f7f8fc; font-size: 12px; line-height: 1.7; }
.studio .content-library td[data-empty="true"] { display: none; }
.studio .content-library td:last-child { margin-top: 14px; padding-top: 14px; border-top: 1px solid #edf0f6; }
.studio .content-library td:last-child::before { display: none; }
.studio .content-library td form { min-width: 0; }
.studio .content-library td form input { max-width: 100%; }
.studio .content-library td details > summary { padding: 12px 0; }
.studio .content-library td .history-body { min-width: 0; max-width: none; }
.studio .content-library .danger { margin: 4px 0; padding: 9px 12px; }
.studio .content-library button { white-space: normal; }
@media (min-width: 1450px) { .studio .content-library tbody { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 761px) { .studio #refresh { display: none; } }
@media (max-width: 760px) {
  .studio .content-library tbody tr { padding: 16px; gap: 0 10px; }
  .studio .content-library td:first-child { font-size: 17px; }
  .studio .content-library td:nth-child(2) .badge { white-space: normal; }
  .studio .content-library .panel-heading { align-items: stretch; }
}

/* A predictable action bar with expandable editors beneath each control. */
.studio .content-library td.library-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.studio .library-actions > .library-edit { order: 0; min-width: 0; }
.studio .library-actions > .content-history { order: 1; min-width: 0; margin: 0; padding: 0; border: 0; }
.studio .content-library .library-actions > details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; padding: 12px 14px; min-height: 44px; border: 1px solid #e1e6f1; border-radius: 9px; background: #fafbff; color: #596786; font-size: 12px; cursor: pointer; }
.studio .library-actions > details > summary::-webkit-details-marker { display: none; }
.studio .library-actions > details > summary::after { content: '+'; font-size: 18px; line-height: 1; color: #8a95b1; }
.studio .library-actions > details[open] { grid-column: 1 / -1; }
.studio .library-actions > details[open] > summary { background: #eef0ff; border-color: #dbe0fb; color: #5364eb; }
.studio .library-actions > details[open] > summary::after { content: '−'; }
.studio .library-actions > details > summary:hover { border-color: #bfc8eb; background: #f1f3fc; }
.studio .content-library .library-actions > .danger { order: 3; grid-column: 1 / -1; justify-self: end; margin: 6px 0 0; background: transparent; border: 1px solid transparent; color: #a46775; min-height: 44px; font-size: 11px; }
.studio .content-library .library-actions > .danger:hover { background: #fff1f2; border-color: #f1d9df; color: #ad4057; }
.studio .library-actions > p { order: 2; grid-column: 1 / -1; margin: 0; line-height: 1.7; }
.studio .library-actions > p:empty { display: none; }
.studio .content-library .library-edit form { padding: 12px 2px 0; }
.studio .library-edit form > button { margin-right: 8px; min-height: 44px; }
.studio .content-library .library-file-action { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 9px; border: 1px solid #dce1fb; background: #eef0ff; color: #5364eb; font-size: 12px; font-weight: 600; text-decoration: none; }
.studio .content-library .library-file-action:hover { background: #e4e8ff; }
.studio .content-library td:nth-child(6) form { padding: 14px; border-radius: 10px; background: #f8f9fd; border: 1px solid #e8ebf6; }
.studio .content-library td:nth-child(6) button[type="submit"] { min-height: 44px; width: 100%; }
.studio .content-library td:nth-child(6) input[type="file"] { width: 100%; }
@media (max-width: 380px) { .studio .content-library td.library-actions { grid-template-columns: minmax(0, 1fr); } }

/* Visual-first library. The preview spans the card while controls stay together. */
.studio .content-library { background: transparent; border: 0; padding: 0; box-shadow: none; }
.studio .content-library .panel-heading { background: white; border: 1px solid #e7ebf4; border-radius: 14px; padding: 22px; gap: 20px; flex-wrap: wrap; }
.studio .content-library tbody { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.studio .content-library tbody tr { position: relative; padding: 0 22px 14px; overflow: hidden; gap: 0 14px; box-shadow: 0 5px 20px #25345405; }
.studio .content-library td:first-child { grid-column: 1 / -1; display: flex; flex-direction: column; padding-top: 0; font-size: 20px; font-weight: 650; }
.studio .library-context { display: block; font-size: 12px; font-weight: 400; color: #8b96aa; margin-top: 7px; }
.studio .library-preview { order: -1; position: relative; margin: 0 -22px 22px; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #f0f2fc, #e8edf8); border-bottom: 1px solid #e6eaf4; }
.studio .library-preview > span { font-size: 12px; color: #8c97b0; font-weight: 500; }
.studio .library-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.studio .content-library td:nth-child(2) { grid-column: 1; text-align: left; align-self: center; }
.studio .content-library td:nth-child(3) { grid-column: 2; text-align: right; align-self: center; }
.studio .content-library td:nth-child(3)::before { display: none; }
.studio .content-library td:nth-child(4) { grid-column: 1 / -1; text-align: left; margin-top: 5px; }
.studio .content-library .library-file-action { width: 100%; }
.studio .content-library .review-feedback { border-left: 3px solid #c7cffa; margin-top: 12px; }
.studio .content-library .library-actions > .library-more { order: 3; grid-column: 1 / -1; justify-self: end; min-width: 145px; }
.studio .content-library .library-actions > .library-more > summary { border: 0; background: transparent; font-size: 11px; color: #8a95aa; padding: 10px 0; justify-content: flex-end; }
.studio .library-actions > .library-more > summary::after { content: '⋯'; }
.studio .library-actions > .library-more[open] > summary::after { content: '−'; }
.studio .content-library .library-more .danger { width: 100%; min-height: 44px; background: #fff4f5; border: 1px solid #f2dce2; color: #ad4057; }
@media (max-width: 760px) {
  .studio .content-library .panel-heading { padding: 18px 16px; }
  .studio .content-library tbody tr { padding: 0 16px 12px; }
  .studio .library-preview { margin: 0 -16px 18px; }
  .studio .content-library td:first-child { font-size: 18px; }
}
