:root {
  --paper: #f8f8f2;
  --surface: #ffffff;
  --linen: #f0eee4;
  --forest: #355640;
  --forest-hover: #294632;
  --sage: #e9efdf;
  --sage-deep: #596e50;
  --ink: #29392d;
  --body: #586253;
  --muted: #68715f;
  --edge: #e6e8de;
  --peach: #f4e4d9;
  --terracotta: #95614d;
  --danger: #a34138;
  --shadow: 0 2px 4px #35453203, 0 4px 20px #35453205;
  --ease: cubic-bezier(.23, 1, .32, 1);
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button, a { transition: background-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease), box-shadow 180ms var(--ease); }
button:active, .button:active { transform: scale(.98); }
button:disabled { opacity: .55; cursor: wait; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
svg.icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.primary { background: var(--forest); color: #fff; }
.primary:hover { background: var(--forest-hover); box-shadow: 0 3px 10px #3556401a; }
.secondary { color: var(--forest); background: var(--surface); border-color: var(--edge); }
.secondary:hover { background: var(--sage); }
.quiet { background: transparent; color: var(--body); }
.quiet:hover { background: var(--linen); color: var(--ink); }
.danger { background: #fbefeb; color: var(--danger); }
.danger:hover { background: #f4dcd6; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border-radius: 8px; border: 0; background: transparent; color: var(--body); }
.icon-button:hover { background: var(--linen); color: var(--forest); }
.eyebrow { color: var(--sage-deep); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.5px; }
.brand { display: flex; align-items: center; gap: 12px; width: fit-content; }
.brand img { width: 44px; height: 44px; }
.brand-name { font-size: 24px; letter-spacing: -1px; font-weight: 800; line-height: 32px; }
.brand-sub { font-size: 12px; color: var(--muted); font-weight: 500; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; padding: 12px; background: var(--forest); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 248px; padding: 32px 24px 24px; display: flex; flex-direction: column; border-right: 1px solid var(--edge); z-index: 5; background: var(--paper); }
.sidebar .brand { margin-bottom: 48px; }
.nav-label { font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 12px 12px; }
.sidebar nav { display: grid; gap: 8px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px; border: 0; border-radius: 8px; background: transparent; color: var(--body); font-weight: 600; text-align: left; }
.nav-item:hover { background: var(--linen); }
.nav-item[aria-current="page"] { background: var(--sage); color: var(--forest); }
.nav-count { margin-left: auto; font-size: 12px; min-width: 24px; text-align: center; background: #ffffff80; border-radius: 4px; }
.sidebar-bottom { margin-top: auto; padding-top: 48px; }
.sidebar-note { position: relative; text-align: center; border-radius: 16px; background: var(--linen); padding: 80px 16px 24px; margin-top: 64px; }
.sidebar-note img { position: absolute; top: -64px; width: 160px; height: 145px; left: 50%; transform: translateX(-50%); }
.sidebar-note h3 { font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.sidebar-note p { font-size: 12px; line-height: 20px; color: var(--body); }
.sidebar-foot { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted); font-size: 12px; margin-top: 24px; }
.sidebar-foot .icon { width: 14px; height: 14px; }
.workspace { margin-left: 248px; padding: 0 48px; max-width: 1800px; }
.topbar { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--edge); }
.topbar-greeting { color: var(--body); font-size: 12px; display: flex; gap: 8px; align-items: center; }
.topbar-greeting .icon { color: var(--sage-deep); width: 16px; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.shared-tag { display: flex; align-items: center; gap: 8px; color: var(--body); font-size: 12px; }
.online-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage-deep); }
.avatars { display: flex; gap: 12px; }
.avatar-person { display: grid; justify-items: center; gap: 2px; }
.avatar-name { font-size: 12px; color: var(--body); }
.avatar { display: inline-flex; width: 36px; height: 36px; justify-content: center; align-items: center; border: 3px solid var(--paper); border-radius: 50%; background: var(--sage); }
.avatar.is-you { outline: 2px solid var(--sage-deep); outline-offset: 0; }
.avatar.peach.is-you { outline-color: var(--terracotta); }
.avatar.peach { background: var(--peach); }
.avatar img { width: 24px; height: 24px; }
.page-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 40px 0 32px; }
.page-intro h1 { margin: 8px 0; font-size: 36px; line-height: 40px; letter-spacing: -1.5px; font-weight: 800; }
.page-intro p { color: var(--body); font-size: 14px; }
.page-intro > .button { font-size: 14px; padding: 12px 16px; }
.welcome { display: flex; position: relative; align-items: center; justify-content: space-between; min-height: 224px; background: var(--sage); border-radius: 16px; padding: 32px 40px; overflow: hidden; }
.welcome-copy { max-width: 560px; position: relative; z-index: 1; }
.welcome .eyebrow { font-size: 12px; letter-spacing: 1.5px; margin-bottom: 12px; }
.welcome h2 { font-size: 30px; line-height: 36px; letter-spacing: -1px; font-weight: 800; margin-bottom: 12px; }
.welcome p { color: var(--body); max-width: 380px; line-height: 24px; }
.welcome-stats { display: flex; gap: 24px; margin-top: 24px; color: var(--forest); font-size: 12px; }
.welcome-stats span { display: flex; align-items: center; gap: 8px; }
.welcome-stats b { font-size: 14px; font-weight: 800; }
.welcome-stats .icon { width: 16px; height: 16px; }
.welcome-art { position: relative; flex: 0 0 248px; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.welcome-art::before { content: ''; position: absolute; width: 208px; height: 208px; background: #f8f8f250; border-radius: 50%; }
.welcome-art img { width: 248px; height: 224px; position: relative; transform: rotate(3deg); }
.art-note { position: absolute; font-size: 12px; color: var(--sage-deep); right: -8px; bottom: 0; transform: rotate(-6deg); }
.collection { margin-top: 40px; padding-bottom: 32px; }
.collection-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.collection-heading h2 { font-size: 20px; line-height: 28px; font-weight: 800; letter-spacing: -.5px; display: inline-flex; align-items: center; gap: 12px; }
.count-badge { font-size: 12px; font-weight: 600; background: var(--linen); color: var(--body); border-radius: 6px; padding: 2px 8px; }
.collection-hint { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.collection-hint .icon { width: 16px; height: 16px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.filter-group { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); }
.filter { display: flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--body); min-height: 36px; padding: 8px 12px; border-radius: 4px; font-weight: 600; font-size: 12px; }
.filter .icon { width: 16px; height: 16px; }
.filter:hover { background: var(--paper); }
.filter[aria-pressed="true"] { background: var(--sage); color: var(--forest); }
.search-sort { display: flex; align-items: center; gap: 12px; }
.search { position: relative; }
.search > .icon { position: absolute; top: 12px; left: 12px; width: 16px; height: 16px; color: var(--muted); }
.search input { height: 44px; padding-left: 40px; width: 208px; font-size: 12px; background: var(--paper); }
input, textarea, select { width: 100%; color: var(--ink); background: #f7f8f3; border: 1px solid var(--edge); border-radius: 8px; padding: 12px; min-height: 44px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
textarea { resize: vertical; min-height: 104px; line-height: 24px; }
select { width: auto; max-width: 100%; padding: 12px 32px 12px 12px; font-size: 12px; cursor: pointer; }
.example-notice { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; padding: 12px 16px; border: 1px dashed #d6d9c9; border-radius: 8px; font-size: 12px; color: var(--body); }
.example-notice > .icon { width: 16px; height: 16px; color: var(--sage-deep); }
.example-notice .text-button { margin-left: auto; flex-shrink: 0; }
.text-button { color: var(--forest); font-weight: 700; background: transparent; border: 0; text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; min-height: 36px; }
.text-button:hover { color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.listing-card { position: relative; padding-top: 80px; min-width: 0; transition: transform 220ms var(--ease); }
.listing-card:hover { transform: translateY(-4px); }
.held-card { position: relative; z-index: 1; height: 100%; overflow: hidden; border: 1px solid var(--edge); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); cursor: pointer; transition: box-shadow 220ms var(--ease); }
.listing-card:hover .held-card { box-shadow: 0 8px 24px #3545320d; }
.card-raccoon { position: absolute; inset: 0; pointer-events: none; }
.card-raccoon > img { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 104px; height: 90px; }
.card-picture { position: relative; aspect-ratio: 1.55; background: var(--linen); }
.card-open-image { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; }
.card-open-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-open-image > img.image-fallback { object-fit: contain; padding: 24px; background: var(--linen); }
.card-picture::after { pointer-events: none; content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px #00000008; }
.favorite-button { position: absolute; top: 12px; right: 12px; background: #fffffff2; color: var(--body); border-radius: 50%; width: 36px; height: 36px; box-shadow: 0 2px 8px #00000009; }
.favorite-button::before { content: ''; position: absolute; inset: -4px; }
.favorite-button[aria-pressed="true"] { color: var(--terracotta); }
.favorite-button[aria-pressed="true"] .icon { fill: var(--terracotta); }
.favorite-button:hover { background: white; }
.demo-badge { position: absolute; left: 12px; bottom: 12px; font-size: 12px; background: var(--surface); color: var(--body); padding: 4px 8px; border-radius: 4px; pointer-events: none; }
.card-content { padding: 24px; }
.card-status-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.status { display: inline-flex; gap: 4px; align-items: center; font-size: 12px; line-height: 16px; font-weight: 600; background: #f1f3eb; color: #5a6a4d; border-radius: 4px; padding: 4px 8px; }
.status .icon { width: 12px; height: 12px; }
.status[data-status="fremvisning"] { background: #eef0e1; color: #68683b; }
.status[data-status="kontaktet"] { background: #f6eade; color: #8a5e3c; }
.status[data-status="afvist"] { background: #f4e9e5; color: #975a4e; }
.source { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-title { display: block; width: 100%; padding: 0; text-align: left; border: 0; background: none; color: var(--ink); font-size: 16px; line-height: 24px; font-weight: 800; letter-spacing: -.25px; min-height: 48px; }
.card-title:hover { color: var(--sage-deep); }
.card-address { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; margin-top: 8px; overflow: hidden; }
.card-address .icon { width: 14px; height: 14px; }
.card-address span { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.card-features { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--body); font-size: 12px; }
.card-features span { display: flex; align-items: center; gap: 8px; }
.card-features .icon { width: 16px; height: 16px; color: var(--sage-deep); }
.card-bottom { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid #edf0e7; gap: 8px; }
.price { font-size: 20px; line-height: 28px; font-weight: 800; letter-spacing: -.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.card-by { display: flex; align-items: center; font-size: 12px; color: var(--muted); gap: 4px; }
.tiny-avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--sage); padding: 2px; }
.tiny-avatar.peach { background: var(--peach); }
.card-notes { margin-top: 16px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.card-notes .icon { width: 14px; height: 14px; }
.collection-footer { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; font-size: 12px; color: var(--muted); padding-bottom: 24px; }
.collection-footer img { width: 24px; height: 24px; opacity: .75; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 40px 24px; border: 1px dashed #d6d9c9; border-radius: 16px; }
.empty-state img { width: 160px; height: 145px; }
.empty-state h3 { font-size: 20px; margin: 8px 0; }
.empty-state p { color: var(--body); margin-bottom: 24px; }
.skeleton { background: var(--linen); border-radius: 8px; min-height: 24px; animation: breathe 1.2s var(--ease) infinite alternate; }
.skeleton-card { height: 400px; }
.initial-loading { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: 24px; justify-items: center; }
.initial-loading .skeleton { width: 240px; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-story { padding: 48px 64px; background: var(--sage); display: flex; flex-direction: column; }
.login-story-content { margin: auto; padding: 48px 0; max-width: 480px; }
.login-mascots { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; }
.login-mascots img { width: 48%; height: auto; }
.login-mascots img:first-child { transform: rotate(-5deg); }
.login-mascots img:last-child { transform: rotate(5deg); }
.login-identities { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.identity-choice { display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 12px; border-radius: 12px; border: 1px solid var(--edge); color: var(--ink); background: var(--surface); text-align: left; }
.identity-choice > span { font-size: 14px; font-weight: 700; }
.identity-choice small { display: block; margin-top: 4px; color: var(--body); font-size: 12px; font-weight: 400; }
.identity-choice img { width: 40px; height: 40px; }
.identity-choice:hover, .identity-choice[aria-pressed="true"] { background: var(--sage); border-color: var(--sage-deep); }
.identity-choice.peach:hover, .identity-choice.peach[aria-pressed="true"] { background: var(--peach); border-color: var(--terracotta); }
.login-story h2 { font-size: 48px; line-height: 1.1; letter-spacing: -2px; font-weight: 800; margin: 16px 0 24px; }
.login-story-content p { color: var(--body); font-size: 16px; line-height: 28px; max-width: 400px; }
.login-story footer { font-size: 12px; color: var(--body); }
.login-form-area { display: flex; align-items: center; justify-content: center; padding: 48px; }
.login-panel { width: 100%; max-width: 360px; }
.login-panel > .brand { display: none; }
.login-panel h1 { font-size: 30px; line-height: 36px; letter-spacing: -1px; font-weight: 800; margin: 16px 0 8px; }
.login-panel > p { color: var(--body); margin-bottom: 32px; }
.login-panel form { display: grid; gap: 24px; }
label, .field-label { display: block; font-size: 12px; font-weight: 700; color: var(--body); }
label > input, label > textarea, label > select { display: block; width: 100%; margin-top: 8px; font-size: 14px; font-weight: 400; }
.login-panel .button { width: 100%; font-size: 16px; }
.login-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--edge); color: var(--muted); font-size: 12px; text-align: center; }
.login-bottom .icon { width: 14px; height: 14px; margin-right: 4px; }
.login-accounts { margin-top: 24px; color: var(--body); font-size: 12px; line-height: 20px; }
dialog { border: 1px solid var(--edge); border-radius: 16px; padding: 0; width: calc(100% - 32px); max-width: 640px; max-height: calc(100dvh - 48px); overflow-y: auto; color: var(--ink); background: var(--paper); box-shadow: 0 24px 80px #19271e26; }
dialog::backdrop { background: #24362b66; backdrop-filter: blur(4px); }
dialog[open] { animation: appear 180ms var(--ease); }
.dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 32px; border-bottom: 1px solid var(--edge); }
.dialog-header > div { min-width: 0; }
.dialog-header h2 { overflow-wrap: anywhere; }
.dialog-header h2 { font-size: 24px; line-height: 32px; letter-spacing: -.5px; }
.dialog-header .eyebrow { margin-bottom: 4px; }
.dialog-body { padding: 24px 32px; }
.dialog-intro { color: var(--body); margin-bottom: 24px; }
.import-row { display: flex; gap: 8px; align-items: end; }
.import-row label { flex: 1; min-width: 0; }
.import-row .button { height: 48px; }
.import-section { border-bottom: 1px solid var(--edge); padding-bottom: 24px; margin-bottom: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dialog-body form > .form-grid { margin-top: 24px; }
.form-grid > .full { grid-column: 1 / -1; }
.form-grid > .two { grid-column: span 2; }
.optional { font-weight: 400; color: var(--muted); }
.form-help { color: var(--muted); font-size: 12px; margin-top: 8px; }
.message { padding: 12px 16px; border-radius: 8px; background: #f5e9e2; color: #874b35; font-size: 12px; line-height: 20px; margin-top: 16px; }
.message.success { background: var(--sage); color: var(--forest); }
.form-error { color: var(--danger); font-size: 12px; line-height: 20px; }
.dialog-actions { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--edge); }
.dialog-actions-right { display: flex; gap: 8px; margin-left: auto; }
.checkbox-label { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.checkbox-label input { width: 16px; min-height: 16px; height: 16px; margin: 0; accent-color: var(--forest); }
.detail-image { width: 100%; height: 224px; object-fit: cover; border-radius: 8px; margin-bottom: 24px; background: var(--linen); }
.detail-image.image-fallback { object-fit: contain; padding: 24px; }
.detail-source { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.detail-favorite { display: inline-flex; align-items: center; gap: 8px; color: var(--terracotta); font-size: 12px; }
.detail-favorite .icon { width: 16px; height: 16px; fill: currentColor; }
.detail-example { font-size: 12px; color: var(--muted); }
.detail-address { display: flex; align-items: flex-start; gap: 8px; color: var(--body); font-size: 16px; overflow-wrap: anywhere; }
.detail-address .icon { margin-top: 2px; }
.detail-facts { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 24px; margin: 24px 0 0; }
.detail-facts > div { min-width: 0; }
.detail-facts dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.detail-facts dt .icon { width: 16px; height: 16px; }
.detail-facts dd { margin: 0; font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -.5px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.detail-facts dd small { font-size: 14px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.detail-facts .detail-rent { color: var(--forest); }
.detail-notes { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--edge); }
.detail-notes h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 12px; }
.detail-notes p { color: var(--body); line-height: 24px; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-notes .detail-note-empty { color: var(--muted); }
.detail-attribution { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--body); font-size: 12px; }
.detail-attribution .tiny-avatar { width: 40px; height: 40px; padding: 4px; }
.detail-date { color: var(--muted); }
.detail-original { margin-bottom: 8px; }
.detail-tools { display: flex; gap: 8px; }
.confirm-content { padding: 32px; }
.confirm-content img { display: block; width: 64px; height: 64px; margin-bottom: 16px; }
.confirm-content h2 { font-size: 24px; margin-bottom: 16px; }
.confirm-content p { color: var(--body); }
#confirm-dialog { max-width: 440px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 40; max-width: calc(100% - 32px); width: max-content; padding: 16px 24px; background: var(--forest); color: #fff; border-radius: 12px; box-shadow: 0 8px 32px #00000014; font-size: 14px; }
.toast.error { background: #874b35; }
.not-found { min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 24px; text-align: center; padding: 32px; }
.not-found h1 { font-size: 36px; letter-spacing: -1px; }
.not-found > p { color: var(--body); }
.noscript { padding: 24px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes appear { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes breathe { from { opacity: .5; } to { opacity: 1; } }
@media (min-width: 1600px) { .workspace { padding: 0 64px; } .card-picture { aspect-ratio: 1.65; } }
@media (max-width: 1279px) { .workspace { padding: 0 32px; } .sidebar { width: 224px; padding: 32px 16px 24px; } .workspace { margin-left: 224px; } .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .welcome { padding: 24px 32px; } .welcome-art { flex-basis: 208px; } .welcome-art img { width: 208px; height: 200px; } .welcome-art::before { width: 176px; height: 176px; } .art-note { display: none; } .page-intro h1 { font-size: 30px; line-height: 36px; } }
@media (max-width: 1023px) { .sidebar { width: 192px; } .sidebar .brand { gap: 8px; } .brand-name { font-size: 20px; } .workspace { margin-left: 192px; padding: 0 24px; } .welcome-art { flex-basis: 160px; } .welcome-art img { width: 176px; height: 176px; } .welcome-art::before { width: 144px; height: 144px; } .welcome-copy p { font-size: 12px; } .welcome h2 { font-size: 24px; line-height: 32px; } .welcome-stats { gap: 16px; } .page-intro { align-items: flex-start; } .page-intro > .button { margin-top: 8px; } .collection-hint { display: none; } .card-content { padding: 16px; } .search-sort { width: 100%; } .search { flex: 1; } .search input { width: 100%; } .login-story { padding: 40px; } }
@media (max-width: 767px) {
 .sidebar { position: static; width: 100%; padding: 16px 24px 0; border-right: 0; border-bottom: 1px solid var(--edge); }
 .sidebar .brand { margin-bottom: 16px; } .sidebar .brand-name { font-size: 24px; } .sidebar .brand-sub { display: none; }
 .sidebar nav { display: flex; gap: 8px; padding-bottom: 12px; } .nav-label, .sidebar-bottom { display: none; }
 .nav-item { justify-content: center; padding: 8px; gap: 8px; min-height: 44px; font-size: 12px; width: auto; flex: 1; }
 .nav-item .icon { width: 16px; height: 16px; } .nav-count { display: none; }
 .workspace { margin-left: 0; padding: 0 24px; } .topbar { min-height: 64px; border-bottom: 0; }
 .topbar-right { gap: 8px; } .shared-tag { display: none; } .page-intro { margin: 16px 0 24px; gap: 16px; }
 .page-intro h1 { font-size: 30px; line-height: 36px; } .page-intro p { font-size: 12px; }
 .welcome { min-height: 208px; padding: 24px; gap: 0; } .welcome-copy { max-width: 72%; } .welcome h2 { font-size: 24px; }
 .welcome p { font-size: 12px; line-height: 20px; } .welcome .eyebrow { font-size: 12px; letter-spacing: 1px; }
 .welcome-art { flex: 1; min-width: 0; } .welcome-art img { position: absolute; right: -24px; bottom: 0; width: 144px; height: 144px; } .welcome-art::before { width: 112px; height: 112px; right: -8px; bottom: 8px; }
 .welcome-stats { gap: 16px; margin-top: 16px; flex-wrap: wrap; } .welcome-stats span { gap: 4px; font-size: 12px; } .welcome-stats .icon { display: none; }
 .collection { margin-top: 32px; } .collection-heading { margin-bottom: 16px; }
 .search-sort { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
 .search-sort .search { grid-column: 1 / -1; }
 .search-sort > label { min-width: 0; }
 .search-sort select { width: 100%; max-width: 100%; }
 .cards { gap: 16px; } .card-content { padding: 16px; } .card-title { font-size: 14px; line-height: 20px; min-height: 40px; }
 .card-features { gap: 12px; } .card-features span { gap: 4px; } .card-by > span { display: none; }
 .price { font-size: 18px; } .example-notice { gap: 8px; align-items: flex-start; } .example-notice > .icon { display: none; } .example-notice .text-button { min-height: 24px; padding-top: 0; }
 .login-page { grid-template-columns: 1fr; } .login-story { display: none; } .login-form-area { padding: 40px 24px; min-height: 100dvh; } .login-panel > .brand { display: flex; margin-bottom: 48px; }
 .dialog-header { padding: 16px 24px; } .dialog-body { padding: 24px; } .dialog-header h2 { font-size: 20px; } .import-row { flex-wrap: wrap; } .import-row label { min-width: 100%; } .import-row .button { width: 100%; }
 .topbar-greeting { max-width: 160px; }
}
@media (max-width: 479px) {
 .sidebar { padding: 16px 16px 0; } .workspace { padding: 0 16px; } .nav-item { gap: 4px; min-width: 0; flex-direction: column; padding: 8px 4px; text-align: center; }
 .topbar-greeting { font-size: 12px; } .topbar-greeting .icon { display: none; } .avatars .avatar { width: 32px; height: 32px; }
 .page-intro { flex-wrap: wrap; } .page-intro > .button { margin-top: 0; min-height: 44px; padding: 8px 12px; }
 .welcome { padding: 24px 16px; } .welcome-copy { max-width: 66%; } .welcome-art img { width: 120px; height: 120px; right: -16px; bottom: 8px; }
 .welcome h2 { font-size: 24px; } .welcome-stats { gap: 12px; } .welcome-stats span { font-size: 12px; }
 .filter-group { width: 100%; } .filter { flex: 1; justify-content: center; padding: 8px; gap: 4px; }
 .search-sort { gap: 8px; } .search { min-width: 0; } .search input { min-width: 0; }
 .cards { grid-template-columns: 1fr; gap: 24px; } .card-title { font-size: 16px; line-height: 24px; min-height: 0; } .card-content { padding: 24px; }
 .card-picture { aspect-ratio: 1.6; } .card-by > span { display: inline; } .price { font-size: 20px; }
 .example-notice { flex-wrap: wrap; } .example-notice .text-button { margin-left: 0; } .form-grid { gap: 12px; } .form-grid > .two { grid-column: 1 / -1; }
 .form-grid label:not(.full):not(.two) { font-size: 12px; } .form-grid input { padding: 12px 8px; } .dialog-actions { gap: 8px; } .dialog-actions .button { padding: 8px 12px; font-size: 12px; }
 .detail-source { flex-wrap: wrap; } .toast { bottom: 16px; font-size: 12px; padding: 12px 16px; }
 .identity-choice { padding: 8px; } .identity-choice img { width: 32px; height: 32px; }
 .identity-choice small { font-size: 12px; }
 .detail-facts { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
 .detail-facts > div:first-child { grid-column: 1 / -1; }
 .detail-original { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
