:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #e5ebf3;
  --ink: #17243a;
  --muted: #7b899d;
  --muted-strong: #5f6f84;
  --navy: #162942;
  --primary: #3f7bf4;
  --primary-dark: #2c64db;
  --primary-soft: #edf3ff;
  --violet: #826cf3;
  --mint: #23b59e;
  --danger: #ef6a79;
  --shadow-sm: 0 4px 16px rgba(25, 47, 84, 0.05);
  --shadow-md: 0 18px 50px rgba(32, 55, 93, 0.13);
  --radius: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }

.login-page { display: grid; grid-template-columns: minmax(360px, 1fr) minmax(380px, 1fr); min-height: 100vh; background: #fff; }
.login-panel { display: flex; flex-direction: column; justify-content: center; width: min(100%, 440px); margin: 0 auto; padding: 48px 28px; }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 68px; }
.login-brand .brand-name { color: var(--ink); }
.login-brand .brand-subtitle { color: var(--muted); }
.login-copy { margin-bottom: 34px; }
.login-copy .eyebrow { margin-bottom: 11px; }
.login-copy h1 { margin-bottom: 12px; font-size: 31px; }
.login-copy p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.login-form { display: grid; }
.login-form label { margin-bottom: 8px; color: var(--muted-strong); font-size: 12px; font-weight: 600; }
.login-form input { width: 100%; height: 46px; margin-bottom: 20px; padding: 0 13px; border: 1px solid #dce5ef; border-radius: 10px; outline: 0; color: var(--ink); font-size: 13px; background: #fbfcfe; transition: border .2s ease, box-shadow .2s ease, background .2s ease; }
.login-form input:focus { border-color: #8eb2f9; background: #fff; box-shadow: 0 0 0 3px rgba(63,123,244,.11); }
.password-field { position: relative; }
.password-field input { margin-bottom: 0; padding-right: 60px; }
.password-toggle { position: absolute; top: 50%; right: 9px; padding: 5px 7px; border: 0; border-radius: 6px; color: var(--primary); font-size: 11px; background: transparent; transform: translateY(-50%); }
.password-toggle:hover { background: var(--primary-soft); }
.login-error { min-height: 19px; margin: 8px 0 12px; color: var(--danger); font-size: 11px; }
.login-submit { width: 100%; height: 46px; border: 0; border-radius: 10px; color: #fff; font-size: 13px; font-weight: 600; background: var(--primary); box-shadow: 0 8px 18px rgba(63,123,244,.24); transition: background .2s ease, transform .2s ease; }
.login-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }
.login-note { margin: 24px 0 0; color: #a5afbc; font-size: 11px; text-align: center; }
.login-art { position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; background: linear-gradient(145deg, #172b48 4%, #234d8b 54%, #7270e9 115%); }
.login-art::before { position: absolute; inset: 13% 12%; border: 1px solid rgba(255,255,255,.14); border-radius: 36px; content: ""; }
.login-art p { position: relative; z-index: 1; margin: 0; font-size: clamp(42px, 5vw, 74px); font-weight: 700; letter-spacing: -2px; line-height: .88; }
.login-art p span { color: #b9d2ff; font-size: .33em; letter-spacing: .48em; }
.login-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { top: 14%; right: 12%; width: 310px; height: 310px; background: rgba(126, 168, 255, .28); box-shadow: 0 0 80px 35px rgba(126, 168, 255, .12); }
.orb-two { bottom: 8%; left: 8%; width: 210px; height: 210px; background: rgba(107, 84, 237, .43); }
.logout-button { padding: 7px 10px; border: 1px solid #dbe5f1; border-radius: 8px; color: var(--muted-strong); font-size: 11px; background: #fff; transition: color .2s ease, border .2s ease, background .2s ease; }
.logout-button:hover { border-color: #f0cbd1; color: var(--danger); background: #fff7f8; }

.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  width: 248px;
  padding: 28px 18px 22px;
  color: #dbe6f7;
  background: var(--navy);
}

.brand { display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 11px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(145deg, #4b8aff, #6f74ff);
  box-shadow: 0 8px 18px rgba(64, 108, 239, .3);
}
.brand-name { margin: 0; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .3px; }
.brand-subtitle { margin: 4px 0 0; color: #91a6c5; font-size: 11px; }

.nav-list { display: grid; gap: 7px; margin-top: 52px; }
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  color: #9cafca;
  font-size: 13px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.08); transform: translateX(2px); }
.nav-item.active { color: #fff; background: rgba(76, 129, 245, .2); box-shadow: inset 3px 0 0 #5b8df6; }
.nav-icon { width: 18px; color: currentColor; font-size: 18px; text-align: center; }

.sidebar-footer { margin-top: auto; }
.workspace-card {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 4px 20px;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.05);
}
.workspace-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: #b6caff; background: rgba(95,135,255,.2); }
.workspace-label { margin: 0 0 2px; color: #7e93b1; font-size: 10px; }
.workspace-name { margin: 0; color: #e6eefc; font-size: 12px; font-weight: 600; }
.status-dot { width: 7px; height: 7px; margin-left: auto; border-radius: 50%; background: #37d3aa; box-shadow: 0 0 0 4px rgba(55, 211, 170, .13); }
.sidebar-version { margin: 0; color: #617692; font-size: 10px; text-align: center; }

.main-content { width: calc(100% - 248px); min-height: 100vh; margin-left: 248px; padding: 0 44px 56px; }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 78px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--muted-strong); font-size: 12px; }
.breadcrumb-muted { color: #a3afbd; }
.breadcrumb-separator { color: #bec7d3; }
.topbar-actions { display: flex; align-items: center; gap: 22px; }
.icon-button { position: relative; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: var(--muted-strong); background: transparent; font-size: 20px; transition: background .2s ease, color .2s ease; }
.icon-button:hover { color: var(--primary); background: var(--primary-soft); }
.notification-dot { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border: 2px solid var(--bg); border-radius: 50%; background: var(--danger); }
.user-profile { display: flex; align-items: center; gap: 10px; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #3a65bc; font-size: 11px; font-weight: 700; background: #dce8ff; }
.user-copy { display: grid; gap: 2px; }
.user-name { color: var(--ink); font-size: 12px; font-weight: 600; }
.user-role { color: var(--muted); font-size: 10px; }
.chevron { color: #98a5b7; font-size: 16px; }

.page-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 44px 0 30px; }
.eyebrow { margin: 0 0 10px; color: var(--primary); font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 9px; color: var(--ink); font-size: 30px; line-height: 1.1; letter-spacing: -.3px; }
.page-description { margin: 0; color: var(--muted); font-size: 13px; }
.connection-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 8px 12px; border: 1px solid #dbe7f8; border-radius: 100px; color: #607493; font-size: 11px; background: #fafdff; }
.connection-dot { width: 7px; height: 7px; border-radius: 50%; background: #f1b33b; box-shadow: 0 0 0 3px rgba(241,179,59,.12); }
.connection-pill.live .connection-dot { background: #24bb90; box-shadow: 0 0 0 3px rgba(36,187,144,.12); }

.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat-card { position: relative; display: flex; align-items: center; gap: 14px; min-height: 104px; padding: 20px; border: 1px solid rgba(224, 231, 241, .95); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.stat-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 19px; }
.stat-icon-blue { color: #487ff3; background: #eaf1ff; }
.stat-icon-violet { color: #826cf3; background: #f0ecff; }
.stat-icon-mint { color: #1ba78d; background: #e6f8f4; }
.stat-label { margin: 0 0 5px; color: var(--muted); font-size: 11px; }
.stat-value { margin: 0; color: var(--ink); font-size: 24px; font-weight: 700; line-height: 1; }
.stat-value-small { font-size: 15px; }
.stat-trend { position: absolute; right: 18px; bottom: 16px; color: #9aa7b8; font-size: 10px; }
.stat-trend.positive { color: #24a68e; }

.content-section { margin-top: 34px; }
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-title-row { display: flex; align-items: center; gap: 10px; }
h2 { margin-bottom: 7px; color: var(--ink); font-size: 18px; line-height: 1.2; }
.count-badge { padding: 4px 8px; border-radius: 6px; color: #5572a1; font-size: 10px; background: #eaf1ff; }
.section-description { margin: 0; color: var(--muted); font-size: 12px; }
.primary-button, .secondary-button, .refresh-button, .copy-button, .delete-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 9px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.primary-button { min-height: 40px; padding: 0 16px; color: #fff; font-size: 12px; font-weight: 600; background: var(--primary); box-shadow: 0 7px 16px rgba(63, 123, 244, .2); }
.primary-button:hover { background: var(--primary-dark); box-shadow: 0 9px 20px rgba(63, 123, 244, .28); transform: translateY(-1px); }
.primary-button:active { transform: translateY(0); }
.button-symbol { font-size: 18px; font-weight: 400; line-height: 1; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 10px 0 16px; border-bottom: 1px solid var(--line); }
.toolbar-left, .toolbar-meta { display: flex; align-items: center; gap: 14px; }
.segmented-control { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #f8fafc; }
.segment-button { min-height: 30px; padding: 0 13px; border: 0; border-radius: 7px; color: var(--muted-strong); font-size: 11px; background: transparent; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.segment-button.active { color: var(--ink); background: #fff; box-shadow: 0 2px 6px rgba(29,52,89,.1); }
.refresh-button { min-height: 31px; padding: 0 9px; color: var(--muted-strong); font-size: 11px; background: transparent; }
.refresh-button:hover { color: var(--primary); background: var(--primary-soft); }
.refresh-button span:first-child { font-size: 16px; }
.result-hint { color: #98a5b6; font-size: 10px; }

.inspiration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.inspiration-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); animation: card-in .35s ease both; transition: box-shadow .2s ease, transform .2s ease; }
.inspiration-card:hover { box-shadow: 0 12px 30px rgba(33,60,102,.12); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eaf0f8; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.inspiration-card:hover .card-media img { transform: scale(1.04); }
.media-channel { position: absolute; top: 12px; left: 12px; padding: 5px 8px; border-radius: 6px; color: #fff; font-size: 10px; background: rgba(20, 36, 60, .72); backdrop-filter: blur(8px); }
.card-body { padding: 15px 16px 14px; }
.card-id { margin: 0 0 8px; color: #a1adbd; font-size: 10px; }
.prompt-row { display: flex; align-items: flex-start; gap: 9px; }
.prompt-text { display: -webkit-box; flex: 1; min-width: 0; margin: 0; overflow: hidden; color: #364761; font-size: 12px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.copy-button { flex: 0 0 auto; min-height: 25px; padding: 0 7px; border: 1px solid #e1e8f3; color: #71819a; font-size: 10px; background: #fbfcfe; }
.copy-button:hover { border-color: #c8d9fb; color: var(--primary); background: var(--primary-soft); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #edf1f6; }
.usage { display: inline-flex; align-items: center; gap: 6px; color: #71819a; font-size: 10px; }
.usage strong { color: #44566f; font-size: 12px; }
.usage-icon { color: #8a9ab2; font-size: 14px; }
.card-time { color: #a5afbc; font-size: 10px; }
.delete-button { min-height: 26px; padding: 0 7px; color: #c3838d; font-size: 10px; background: transparent; }
.delete-button:hover { color: var(--danger); background: #fff1f3; }

.skeleton-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.skeleton { background: linear-gradient(90deg, #edf1f6 25%, #f8fafc 37%, #edf1f6 63%); background-size: 400% 100%; animation: shimmer 1.3s ease infinite; }
.skeleton-media { aspect-ratio: 4 / 3; }
.skeleton-body { padding: 16px; }
.skeleton-line { height: 9px; margin-bottom: 10px; border-radius: 6px; }
.skeleton-line.short { width: 52%; }
.skeleton-line.tiny { width: 30%; margin-top: 18px; }

.empty-state, .error-state { grid-column: 1 / -1; display: grid; place-items: center; min-height: 250px; border: 1px dashed #cfdae8; border-radius: var(--radius); color: var(--muted); background: rgba(255,255,255,.52); text-align: center; }
.empty-state strong, .error-state strong { display: block; margin-bottom: 6px; color: var(--muted-strong); font-size: 14px; }
.empty-icon { margin-bottom: 9px; color: #9db0ce; font-size: 32px; }
.error-state { color: #ba6976; border-color: #efd3d8; background: #fff8f9; }

.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 25px; }
.page-button { display: grid; place-items: center; min-width: 29px; height: 29px; padding: 0 8px; border: 1px solid transparent; border-radius: 8px; color: var(--muted-strong); font-size: 11px; background: transparent; transition: all .2s ease; }
.page-button:hover:not(:disabled) { border-color: #d4e1f7; color: var(--primary); background: var(--primary-soft); }
.page-button.active { color: #fff; background: var(--primary); box-shadow: 0 4px 10px rgba(63,123,244,.22); }
.page-button:disabled { cursor: not-allowed; opacity: .38; }

.placeholder-section { display: flex; align-items: center; gap: 16px; margin-top: 44px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.6); }
.placeholder-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #8595ad; background: #edf2f8; font-size: 19px; }
.placeholder-section h2 { margin-bottom: 4px; font-size: 14px; }
.placeholder-section p { margin: 0; color: var(--muted); font-size: 11px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(19, 31, 51, .48); opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; backdrop-filter: blur(4px); }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal { width: min(100%, 490px); max-height: calc(100vh - 40px); overflow: auto; padding: 28px; border: 1px solid rgba(255,255,255,.5); border-radius: 18px; background: #fff; box-shadow: var(--shadow-md); transform: translateY(14px) scale(.97); transition: transform .25s ease; }
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 25px; }
.modal-header h2 { margin-bottom: 0; font-size: 21px; }
.close-button { display: grid; place-items: center; width: 31px; height: 31px; padding: 0; border: 0; border-radius: 8px; color: #8e9caf; font-size: 22px; background: #f6f8fb; transition: color .2s ease, background .2s ease; }
.close-button:hover { color: var(--danger); background: #fff1f3; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--muted-strong); font-size: 11px; font-weight: 600; }
.required-mark { color: var(--danger); }
.label-row { display: flex; align-items: center; justify-content: space-between; }
.char-count { color: #a2afbe; font-size: 10px; }
textarea, input[type="number"] { width: 100%; border: 1px solid #dce5ef; border-radius: 10px; outline: 0; color: var(--ink); font-size: 12px; background: #fbfcfe; transition: border .2s ease, box-shadow .2s ease, background .2s ease; }
textarea { min-height: 116px; padding: 12px 13px; resize: vertical; line-height: 1.6; }
input[type="number"] { height: 42px; padding: 0 13px; }
textarea:focus, input[type="number"]:focus { border-color: #8eb2f9; background: #fff; box-shadow: 0 0 0 3px rgba(63,123,244,.11); }
.image-picker { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 12px 14px; border: 1px dashed #c8d8ee; border-radius: 11px; color: #6480a5; text-align: left; background: #f8fbff; transition: border .2s ease, background .2s ease; }
.image-picker:hover { border-color: #7ca6f4; background: var(--primary-soft); }
.image-picker-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 9px; color: var(--primary); font-size: 18px; background: #e7efff; }
.image-picker-copy { display: grid; gap: 4px; }
.image-picker-copy strong { color: var(--muted-strong); font-size: 12px; font-weight: 600; }
.image-picker-copy small { color: #a0adbd; font-size: 10px; }
.image-picker-arrow { margin-left: auto; color: #9cb2d5; font-size: 16px; }
.image-preview-wrap { position: relative; overflow: hidden; height: 190px; margin-top: 10px; border-radius: 11px; background: #eaf0f8; }
.image-preview-wrap img { width: 100%; height: 100%; object-fit: cover; }
.remove-image { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 7px; color: #fff; font-size: 18px; background: rgba(20,35,58,.7); }
.remove-image:hover { background: rgba(211,74,91,.9); }
.field-help { margin: 7px 0 0; color: #9ba8b8; font-size: 10px; }
.field-error { min-height: 14px; margin: 6px 0 0; color: var(--danger); font-size: 10px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.secondary-button { min-height: 40px; padding: 0 16px; border: 1px solid #dce5ef; color: var(--muted-strong); font-size: 12px; background: #fff; }
.secondary-button:hover { border-color: #c7d4e5; background: #f8fafc; }
.button-spinner { display: none; width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .75s linear infinite; }
.primary-button.loading .button-spinner { display: inline-block; }
.primary-button.loading { pointer-events: none; opacity: .82; }

.toast-container { position: fixed; right: 24px; bottom: 24px; z-index: 200; display: grid; gap: 10px; width: min(350px, calc(100vw - 40px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 13px 15px; border: 1px solid #d8e4f3; border-radius: 11px; color: #40536f; font-size: 11px; line-height: 1.5; background: #fff; box-shadow: 0 12px 26px rgba(37,61,99,.15); animation: toast-in .25s ease both; }
.toast.success { border-color: #c7eade; }
.toast.error { border-color: #f1d0d5; color: #a85c69; }
.toast-icon { font-size: 15px; }
.toast.success .toast-icon { color: #21a88d; }
.toast.error .toast-icon { color: var(--danger); }
.toast.leaving { animation: toast-out .22s ease both; }

@keyframes shimmer { to { background-position: -135% 0; } }
@keyframes card-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(5px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1120px) {
  .main-content { padding-right: 28px; padding-left: 28px; }
  .inspiration-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .login-page { display: block; min-height: 100vh; background: linear-gradient(150deg, #f5f8ff, #fff); }
  .login-panel { min-height: 100vh; padding: 30px 24px; }
  .login-brand { margin-bottom: auto; }
  .login-copy { margin-top: auto; }
  .login-note { margin-bottom: auto; }
  .login-art { display: none; }
  .sidebar { position: static; width: 100%; min-height: auto; padding: 16px; }
  .app-shell { display: block; }
  .brand { padding: 0 4px; }
  .nav-list { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
  .nav-item { justify-content: center; padding: 9px 8px; font-size: 11px; }
  .nav-icon { width: auto; }
  .sidebar-footer { display: none; }
  .main-content { width: 100%; margin-left: 0; padding: 0 16px 38px; }
  .topbar { height: 64px; }
  .user-copy, .chevron { display: none; }
  .topbar-actions { gap: 10px; }
  .logout-button { padding: 6px 8px; font-size: 10px; }
  .page-intro { align-items: flex-start; padding: 30px 0 24px; }
  h1 { font-size: 26px; }
  .connection-pill { margin-top: 0; white-space: nowrap; }
  .stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .stat-card { min-height: 80px; padding: 15px; }
  .content-section { margin-top: 28px; }
  .section-header { align-items: flex-start; }
  .section-description { max-width: 220px; line-height: 1.5; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .toolbar-meta { width: 100%; justify-content: space-between; }
  .inspiration-grid { grid-template-columns: 1fr; gap: 14px; }
  .placeholder-section { margin-top: 28px; }
}
@media (max-width: 460px) {
  .page-intro { display: block; }
  .connection-pill { margin-top: 16px; }
  .section-header { display: block; }
  .section-header .primary-button { width: 100%; margin-top: 17px; }
  .modal { padding: 22px 18px; }
}
