:root {
  color-scheme: light;
  --ink: #202137;
  --muted: #85869b;
  --line: #ececf2;
  --purple: #6d5ce8;
  --purple-dark: #5545cc;
  --canvas: #f7f8fc;
  font-family: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
}

button, input { font: inherit; }
button { cursor: pointer; }
.is-hidden { display: none !important; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font: 800 19px/1 "Manrope", sans-serif;
  letter-spacing: -.5px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  object-fit: contain;
}

.auth-screen {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(380px, 0.92fr) minmax(470px, 1.08fr);
  background: #fff;
}

.auth-brand {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  padding: 42px clamp(36px, 6vw, 88px) 32px;
  background: #6253d7;
  color: #fff;
}

.brand-light { color: white; }
.brand-copy { z-index: 1; max-width: 440px; margin-top: 17vh; }
.eyebrow { color: #9898ab; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.auth-brand .eyebrow { color: #c9c4ff; }
.brand-copy h1 {
  margin: 19px 0 14px;
  font: 700 clamp(38px, 4vw, 53px)/1.13 "Manrope", sans-serif;
  letter-spacing: -2.6px;
}
.brand-copy p { max-width: 380px; color: #dedbff; font-size: 15px; line-height: 1.8; }
.brand-footnote { z-index: 1; margin-top: auto; color: #d3ceff; font-size: 12px; }

.auth-art { position: absolute; right: -44px; bottom: 86px; width: 360px; height: 300px; opacity: .8; }
.art-orbit { position: absolute; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; transform: rotate(-24deg); }
.orbit-one { inset: 34px 0 28px 4px; }
.orbit-two { inset: 3px 24px 12px 20px; transform: rotate(40deg); }
.art-card { position: absolute; display: grid; width: 139px; height: 174px; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 20px; box-shadow: 0 25px 55px rgba(27,20,104,.2); }
.art-card-back { top: 52px; left: 67px; background: linear-gradient(145deg, #f8b6a4, #e987a5); transform: rotate(-16deg); }
.art-card-back span { color: rgba(255,255,255,.87); font-size: 62px; }
.art-card-front { top: 86px; left: 164px; background: linear-gradient(145deg, #a5a0ff, #7269e7); transform: rotate(12deg); }
.art-play { display: grid; width: 48px; height: 48px; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; color: #fff; font-size: 14px; }
.art-dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: #ffcf9c; }
.dot-one { top: 25px; left: 78px; }
.dot-two { right: 38px; bottom: 49px; width: 8px; height: 8px; background: #c1bdff; }

.auth-panel { display: grid; min-height: 100vh; place-items: center; padding: 48px 32px; }
.auth-form-wrap { width: min(100%, 390px); }
.brand-dark { display: none; }
.auth-heading { margin: 57px 0 31px; }
.auth-heading .eyebrow { color: var(--purple); }
.auth-heading h2 { margin: 12px 0 8px; font: 700 29px/1.3 "Manrope", sans-serif; letter-spacing: -1.2px; }
.auth-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.field { display: block; margin: 0 0 19px; }
.field > span, .field > label { display: block; margin-bottom: 8px; color: #36364a; font-size: 12px; font-weight: 700; }
.field input, .field select {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  border: 1px solid #e5e5ee;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  transition: border-color .2s, box-shadow .2s;
}
.field select { margin-bottom: 15px; }
.field input::placeholder { color: #b0b0bf; }
.field input:focus, .field select:focus { border-color: #968be9; box-shadow: 0 0 0 3px rgba(109,92,232,.11); }
.form-message { min-height: 18px; margin: -2px 0 9px; color: #b33a54; font-size: 12px; line-height: 1.5; }
.form-message.is-success { color: #25815f; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 9px; font-size: 13px; font-weight: 700; transition: background .2s, transform .2s; }
.button:active { transform: translateY(1px); }
.button-primary { background: var(--purple); color: #fff; }
.button-primary:hover { background: var(--purple-dark); }
.auth-submit { width: 100%; height: 49px; justify-content: space-between; padding: 0 17px; }
.auth-submit:disabled { cursor: wait; opacity: .72; }
.auth-switch { margin: 23px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--purple); font-size: inherit; font-weight: 700; }
.text-button:hover { color: var(--purple-dark); }
.auth-switch .text-button { margin-left: 4px; }
.forgot-password-row { margin: -7px 0 17px; text-align: right; font-size: 11px; }
.auth-help-row { display: flex; justify-content: center; gap: 5px; margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.auth-privacy { margin-top: 48px; color: #aaaaba; font-size: 11px; text-align: center; }
.app-notification { position: fixed; top: 20px; right: 20px; z-index: 20; max-width: min(390px, calc(100vw - 40px)); padding: 14px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: #282740; box-shadow: 0 12px 35px rgba(32, 30, 65, .2); color: #fff; font-size: 13px; line-height: 1.45; }
.modal-backdrop { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; overflow-y: auto; padding: 24px; background: rgba(31, 30, 55, .52); }
.how-to-dialog { position: relative; width: min(100%, 560px); max-height: calc(100vh - 48px); overflow-y: auto; padding: 34px; border: 1px solid #eeedf5; border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(31, 30, 55, .24); }
.how-to-close { position: absolute; top: 17px; right: 17px; width: 34px; height: 34px; font-size: 22px; }
.how-to-dialog h2 { margin: 11px 0 7px; font: 700 25px/1.3 "Manrope", sans-serif; letter-spacing: -.8px; }
.how-to-intro { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.how-to-steps { display: grid; gap: 18px; margin: 27px 0 20px; padding: 0; list-style: none; }
.how-to-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.how-to-steps li > span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #f0eeff; color: var(--purple); font-size: 12px; font-weight: 700; }
.how-to-steps strong { display: block; margin: 2px 0 4px; font-size: 13px; }
.how-to-steps p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.how-to-note { padding: 12px 14px; border-radius: 8px; background: #f7f6ff; color: #66647e; font-size: 11px; line-height: 1.5; }
.how-to-done { min-height: 42px; margin-top: 5px; padding: 0 19px; }

.dashboard-screen { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 2; display: flex; width: 245px; flex-direction: column; padding: 29px 18px 17px; border-right: 1px solid #eeeeF4; background: #fff; }
.sidebar-brand { padding: 0 10px; }
.sidebar-brand { display: inline-flex; gap: 8px; font-size: 15px; letter-spacing: -.4px; }
.sidebar-brand .brand-logo { width: 30px; height: 30px; }
.sidebar-label { margin: 51px 10px 13px; color: #a0a1b0; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.side-nav { display: grid; gap: 6px; }
.nav-link { display: flex; min-height: 43px; align-items: center; gap: 12px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; color: #77788d; font-size: 12px; text-align: left; }
.nav-link:hover { background: #f8f7ff; color: var(--purple); }
.nav-link.is-active { background: #f0eeff; color: var(--purple); font-weight: 700; }
.nav-icon { display: grid; width: 20px; place-items: center; font-size: 17px; }
.nav-count { margin-left: auto; color: #a7a7b6; font-size: 10px; }
.sidebar-bottom { margin-top: auto; }
.storage-card { padding: 15px 13px 13px; border: 1px solid #edecf4; border-radius: 10px; }
.storage-heading { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; }
.storage-heading span:last-child { color: var(--purple); }
.storage-track { height: 5px; margin-top: 12px; overflow: hidden; border-radius: 10px; background: #efeff5; }
.storage-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--purple); }
.storage-card p { margin: 8px 0 0; color: #9293a3; font-size: 10px; }
.profile-row { display: flex; align-items: center; gap: 10px; padding: 18px 3px 0; }
.avatar { display: grid; width: 33px; height: 33px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #eeeaff; color: var(--purple); font-size: 12px; font-weight: 700; }
.profile-copy { display: grid; min-width: 0; gap: 4px; }
.profile-copy strong { overflow: hidden; color: #36364a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.profile-copy span { color: #9c9cac; font-size: 9px; }
.icon-button { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #9192a2; font-size: 16px; }
.icon-button:hover { background: #f3f1ff; color: var(--purple); }
.sign-out { margin-left: auto; }

.main-content { min-height: 100vh; margin-left: 245px; }
.topbar { position: sticky; top: 0; z-index: 1; display: flex; height: 68px; align-items: center; justify-content: space-between; padding: 0 42px; border-bottom: 1px solid #ededef; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #a0a0af; font-size: 11px; }
.breadcrumb strong { color: #414154; font-weight: 600; }
.crumb-separator { color: #c4c4cf; }
.search-box { display: flex; width: min(260px, 32vw); height: 34px; align-items: center; gap: 8px; padding: 0 9px; border: 1px solid #ededf2; border-radius: 7px; color: #9a9aaa; }
.search-box > span { font-size: 19px; line-height: 1; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 10px; }
.search-box input::placeholder { color: #adaebb; }
.search-box kbd { flex: 0 0 auto; padding: 3px 5px; border: 1px solid #e9e9ef; border-radius: 4px; color: #aaaaba; font: 9px "DM Sans", sans-serif; }
.page-content { max-width: 1300px; margin: 0 auto; padding: 36px 42px 22px; }
.welcome-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.welcome-row .eyebrow { font-size: 9px; }
.welcome-row h1 { margin: 8px 0 5px; font: 700 25px/1.25 "Manrope", sans-serif; letter-spacing: -1.15px; }
.wave { color: #f0a94f; font-size: 19px; }
.welcome-row p { margin: 0; color: #9394a4; font-size: 11px; }
.welcome-row > .button { min-height: 38px; padding: 0 14px; }
.upload-plus { font-size: 19px; font-weight: 400; line-height: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stat-card { min-width: 0; padding: 15px 15px 13px; border: 1px solid #ececf2; border-radius: 10px; background: #fff; }
.stat-top { display: flex; align-items: center; justify-content: space-between; }
.stat-icon { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; font-size: 15px; }
.icon-purple { background: #f0edff; color: #7866e4; }
.icon-peach { background: #fff0e8; color: #e58b60; }
.icon-blue { background: #eaf3ff; color: #6498d9; }
.icon-green { background: #e8f7f0; color: #50a37c; }
.stat-change { color: #60a586; font-size: 9px; }
.stat-card > p { margin: 14px 0 2px; color: #8e8f9e; font-size: 10px; }
.stat-card > strong { display: block; font: 700 23px/1.35 "Manrope", sans-serif; letter-spacing: -.7px; }
.stat-caption { color: #aaabb8; font-size: 9px; }

.files-section { margin-top: 37px; }
.pricing-section { max-width: 930px; margin: 40px auto 0; }
.pricing-intro { margin-bottom: 27px; text-align: center; }
.pricing-intro .eyebrow { color: var(--purple); }
.pricing-intro h2 { margin: 10px 0 7px; font: 700 clamp(23px, 3vw, 32px)/1.25 "Manrope", sans-serif; letter-spacing: -1.1px; }
.pricing-intro p { margin: 0; color: #9091a1; font-size: 12px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plan-card { padding: 26px; border: 1px solid #e9e9f1; border-radius: 13px; background: #fff; }
.plan-card-featured { border: 1px solid #c9c1ff; box-shadow: 0 12px 35px rgba(67, 55, 144, .08); }
.plan-tag { display: inline-flex; min-height: 23px; align-items: center; padding: 0 9px; border-radius: 20px; background: #f0eeff; color: #7666d6; font-size: 9px; font-weight: 700; letter-spacing: .8px; }
.plan-tag-featured { background: #eeeaff; color: #6554d2; }
.plan-card h3 { margin: 15px 0 4px; font: 700 20px/1.3 "Manrope", sans-serif; letter-spacing: -.5px; }
.plan-description { margin: 0; color: #9091a1; font-size: 11px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 21px 0; }
.plan-price strong { font: 800 36px/1 "Manrope", sans-serif; letter-spacing: -1.5px; }
.plan-price span { color: #85869b; font-size: 11px; }
.plan-features { display: grid; gap: 13px; min-height: 94px; margin: 0; padding: 17px 0 20px; border-top: 1px solid #f0eff4; list-style: none; }
.plan-features li { color: #5e5e73; font-size: 11px; }
.plan-features li span { margin-right: 7px; color: #57a17c; font-weight: 700; }
.plan-button { width: 100%; min-height: 41px; font-size: 11px; }
.plan-button:disabled { cursor: not-allowed; opacity: .8; }
.plan-button-current { border: 1px solid #e7e6ef; background: #fafafd; color: #77788d; }
.pricing-status { margin: 18px 0 0; color: #85869b; font-size: 11px; text-align: center; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 17px; }
.section-heading .eyebrow { font-size: 9px; }
.section-heading h2 { margin: 5px 0 0; font: 700 17px/1.4 "Manrope", sans-serif; letter-spacing: -.45px; }
.view-all-button { font-size: 10px; }
.view-all-button span { margin-left: 5px; font-size: 14px; }
.file-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.file-card { min-width: 0; overflow: hidden; border: 1px solid #ececf2; border-radius: 10px; background: #fff; transition: transform .18s, box-shadow .18s; }
.file-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,34,72,.07); }
.file-preview { position: relative; display: grid; height: 139px; overflow: hidden; place-items: center; }
.preview-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-coast { background: linear-gradient(160deg, #9ed5de 0 38%, #f2d6ae 39% 48%, #5c9ab4 49% 100%); }
.preview-coast::before { position: absolute; top: 31px; right: 34px; width: 32px; height: 32px; border-radius: 50%; background: #ffe4a0; content: ""; }
.preview-coast::after { position: absolute; right: 0; bottom: 0; left: 0; height: 48px; background: linear-gradient(177deg, transparent 0 35%, rgba(255,255,255,.24) 36% 38%, transparent 40%); content: ""; }
.preview-mountains { background: linear-gradient(155deg, #f0b0a1, #e4a5a0 46%, #5a7393 47%, #364e70); }
.preview-mountains::before { position: absolute; right: -15px; bottom: 0; left: 20px; height: 90px; background: #748aa0; clip-path: polygon(0 100%, 44% 17%, 61% 46%, 77% 5%, 100% 100%); content: ""; }
.preview-city { background: linear-gradient(150deg, #f5c2a8, #c697a8 52%, #65738e); }
.preview-city::before { position: absolute; right: 26px; bottom: 0; left: 26px; height: 84px; background: repeating-linear-gradient(90deg, #566078 0 15px, #73728a 15px 28px); clip-path: polygon(0 30%, 18% 30%, 18% 10%, 40% 10%, 40% 40%, 61% 40%, 61% 0, 81% 0, 81% 25%, 100% 25%, 100% 100%, 0 100%); content: ""; }
.preview-forest { background: linear-gradient(160deg, #c2d6c6, #648d77 55%, #2f6552); }
.preview-forest::before { position: absolute; right: -8px; bottom: 0; left: 0; height: 99px; background: #2f6552; clip-path: polygon(0 100%, 13% 8%, 25% 100%, 41% 0, 56% 100%, 75% 13%, 91% 100%, 100% 35%, 100% 100%); content: ""; }
.preview-flowers { background: radial-gradient(circle at 25% 35%, #f2b6cb 0 10px, transparent 11px), radial-gradient(circle at 65% 35%, #f4d68e 0 12px, transparent 13px), radial-gradient(circle at 48% 68%, #e69baf 0 14px, transparent 15px), linear-gradient(140deg, #c8d6a5, #83a57c); }
.preview-desk { background: linear-gradient(150deg, #f0d7b4, #c99476 65%, #947263); }
.preview-desk::before { position: absolute; width: 90px; height: 54px; border: 5px solid rgba(255,255,255,.75); border-radius: 4px; background: linear-gradient(145deg, #87b2c4, #f3d9ae); content: ""; transform: rotate(-8deg); }
.preview-play { position: relative; z-index: 1; display: grid; width: 35px; height: 35px; place-items: center; padding-left: 2px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(31,35,59,.28); color: #fff; font-size: 11px; }
.preview-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-document { display: grid; height: 139px; place-items: center; background: #f1effb; }
.preview-document.document-pdf { background: #fff0ee; }
.preview-document.document-doc { background: #edf4ff; }
.preview-document.document-txt { background: #eff7f0; }
.document-sheet { display: grid; width: 65px; height: 83px; align-content: center; gap: 7px; padding: 13px; border: 1px solid #e5e2ef; border-radius: 5px; background: white; box-shadow: 0 8px 15px rgba(40,36,73,.08); }
.document-sheet span { height: 3px; border-radius: 4px; background: #dedce8; }
.document-sheet span:first-child { width: 65%; height: 5px; background: #9a8ee9; }
.document-pdf .document-sheet span:first-child { background: #ee9486; }
.document-doc .document-sheet span:first-child { background: #77a6e5; }
.document-txt .document-sheet span:first-child { background: #6db18d; }
.file-type-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 5px 7px; border-radius: 5px; background: rgba(255,255,255,.9); color: #77778b; font-size: 8px; font-weight: 700; letter-spacing: .4px; }
.file-info { padding: 12px 12px 11px; }
.file-title { overflow: hidden; margin: 0; color: #39394d; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.file-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; color: #a1a1b0; font-size: 9px; }
.file-meta span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tutorial-card { grid-column: 1 / -1; }
.tutorial-screen { overflow: hidden; background: #f0eef9; }
.tutorial-canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.tutorial-info { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tutorial-download { min-height: 34px; flex: 0 0 auto; padding: 0 12px; font-size: 10px; }
.tutorial-controls { display: flex; align-items: center; gap: 12px; padding: 0 12px 9px; }
.tutorial-toggle { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 50%; background: #f0eeff; color: var(--purple); font-size: 13px; }
.tutorial-toggle:hover { background: #e7e3ff; }
.tutorial-seek { width: 100%; min-width: 20px; accent-color: var(--purple); cursor: pointer; }
.tutorial-time { flex: 0 0 auto; color: #9293a3; font-size: 9px; font-variant-numeric: tabular-nums; }
.tutorial-status { min-height: 12px; margin: 0; padding: 0 12px 10px; color: #68677c; font-size: 10px; }
.empty-state { padding: 52px 15px; color: #9293a3; text-align: center; }
.empty-icon { display: block; color: #b4addf; font-size: 32px; }
.empty-state strong { display: block; margin-top: 5px; color: #4a4a5f; font-size: 13px; }
.empty-state p { margin: 7px 0 0; font-size: 11px; }
.dashboard-footer { display: flex; justify-content: space-between; margin-top: 43px; padding-top: 16px; border-top: 1px solid #e9e9ef; color: #a2a3b1; font-size: 9px; }
.footer-dot { padding: 0 5px; color: #c0b9f4; }

@media (min-width: 1500px) {
  .page-content { padding-right: 55px; padding-left: 55px; }
  .file-preview, .preview-document { height: 165px; }
}

@media (max-width: 1050px) {
  .sidebar { width: 205px; }
  .main-content { margin-left: 205px; }
  .topbar { padding-right: 26px; padding-left: 26px; }
  .page-content { padding-right: 26px; padding-left: 26px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file-preview, .preview-document { height: 150px; }
}

@media (max-width: 720px) {
  .auth-screen { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-panel { min-height: 100vh; align-items: start; padding: 32px 24px; }
  .auth-form-wrap { margin: 7vh auto 0; }
  .brand-dark { display: inline-flex; }
  .auth-heading { margin-top: 44px; }
  .auth-privacy { margin-top: 34px; }
  .sidebar { position: sticky; top: 0; width: 100%; height: auto; padding: 12px 15px 0; border-right: 0; border-bottom: 1px solid #eeeeF4; }
  .sidebar-brand { display: none; }
  .sidebar-label, .sidebar-bottom { display: none; }
  .side-nav { display: flex; gap: 4px; overflow-x: auto; }
  .nav-link { min-height: 43px; flex: 0 0 auto; gap: 7px; padding: 0 10px; font-size: 11px; }
  .nav-icon { font-size: 14px; }
  .nav-count { display: none; }
  .main-content { margin-left: 0; }
  .topbar { top: 67px; height: 55px; padding: 0 18px; }
  .page-content { padding: 25px 18px 18px; }
  .welcome-row h1 { font-size: 22px; }
  .welcome-row > .button { min-height: 35px; padding: 0 10px; font-size: 11px; }
  .search-box { width: min(190px, 44vw); }
  .search-box kbd { display: none; }
  .file-grid { gap: 10px; }
  .file-preview, .preview-document { height: 120px; }
  .pricing-section { margin-top: 22px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 12px; }
  .plan-card { padding: 21px; }
}

@media (max-width: 420px) {
  .stats-grid { gap: 9px; }
  .stat-card { padding: 12px 10px 10px; }
  .stat-caption { font-size: 8px; }
  .file-title { font-size: 10px; }
  .file-info { padding: 10px; }
  .file-meta { font-size: 8px; }
  .dashboard-footer { gap: 14px; font-size: 8px; }
}
