:root {
  color-scheme: light;
  --ink: #403347;
  --muted: #817487;
  --pink: #b84f83;
  --pink-soft: #f7e4ee;
  --purple: #7049a0;
  --purple-soft: #eee8f7;
  --line: #eee6ed;
  --paper: #fff;
  --wash: #fcf7fb;
  --shadow: 0 18px 55px rgba(98, 62, 95, .08);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 88% 5%, rgba(237, 224, 248, .56), transparent 25rem),
    radial-gradient(ellipse at 4% 18%, rgba(250, 228, 239, .58), transparent 28rem),
    var(--wash);
}
button, input { font: inherit; }
a { color: inherit; }
.skip-link, .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 1rem; padding: .75rem; background: white; z-index: 5; }
.topbar {
  height: 76px;
  max-width: 1160px;
  padding: 0 28px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; gap: 10px; align-items: center; color: var(--purple); text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; color: var(--pink); background: var(--pink-soft); border-radius: 11px; font-size: 19px; }
.private-note { color: #796b80; font-size: .82rem; }
.lock-icon { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border: 1.5px solid #8d72a5; border-radius: 50%; font-size: 0; vertical-align: 1px; }
.page-shell { max-width: 1104px; margin: 0 auto; padding: 38px 24px 30px; }
.intro { min-height: 236px; display: flex; align-items: center; justify-content: space-between; padding: 15px 52px 32px; position: relative; overflow: hidden; }
.eyebrow { margin: 0 0 12px; color: var(--purple); font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
h1 { margin: 0; color: var(--pink); font-size: clamp(2.25rem, 5vw, 3.45rem); line-height: 1.08; letter-spacing: -.055em; }
h1 span { color: #cb78a0; }
.intro-text { margin: 18px 0 0; color: var(--muted); font-size: 1rem; }
.flower-art { width: 210px; height: 180px; position: relative; display: grid; place-items: center; color: #c67ba9; }
.flower-art span { font-size: 126px; line-height: 1; text-shadow: 0 16px 35px rgba(172, 101, 154, .12); transform: rotate(-12deg); }
.flower-art i, .flower-art b { position: absolute; color: #9274bc; font-style: normal; }
.flower-art i { right: 24px; top: 25px; font-size: 26px; }
.flower-art b { left: 15px; bottom: 18px; font-size: 20px; }
.library-panel { padding: 31px 34px 34px; border: 1px solid rgba(237, 227, 238, .9); border-radius: 24px; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow); }
.library-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.library-heading .eyebrow { margin-bottom: 7px; }
h2 { margin: 0; color: var(--pink); font-size: 1.55rem; letter-spacing: -.035em; }
.search-box { width: min(300px, 42%); height: 44px; display: flex; align-items: center; gap: 9px; padding: 0 11px 0 13px; border: 1px solid #eee7ef; border-radius: 12px; background: #fff; color: #9b8da0; transition: border-color .18s, box-shadow .18s; }
.search-box:focus-within { border-color: #c7b0df; box-shadow: 0 0 0 3px rgba(112, 73, 160, .09); }
.search-icon { font-size: 1.45rem; line-height: 1; }
.search-box input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .88rem; }
.search-box input::placeholder { color: #ab9eae; }
kbd { min-width: 20px; padding: 2px 5px; border: 1px solid #eee8ef; border-radius: 5px; background: #faf8fb; color: #aa9eaf; font-size: .7rem; text-align: center; }
.toolbar { min-height: 68px; display: flex; align-items: end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.filters { display: flex; gap: 7px; align-items: center; padding-bottom: 13px; }
.filter { padding: 8px 12px; border: 0; border-radius: 9px; background: transparent; color: #817487; cursor: pointer; font-size: .83rem; transition: color .16s, background .16s; }
.filter:hover { background: #faf6fb; color: var(--purple); }
.filter.is-active { background: var(--purple-soft); color: var(--purple); font-weight: 700; }
.filter span { margin-left: 5px; color: #9a8ba2; font-size: .74rem; }
.result-count { padding-bottom: 20px; color: #988c9b; font-size: .78rem; }
.file-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding-top: 19px; }
.file-card { min-height: 126px; padding: 20px 22px; display: grid; grid-template-columns: 54px minmax(0, 1fr) 24px; align-items: center; gap: 18px; border: 1px solid #eddce9; border-left: 4px solid #d997b8; border-radius: 18px; background: linear-gradient(105deg, #fff8fb 0%, #fff 72%); box-shadow: 0 7px 20px rgba(109, 68, 107, .055); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s, background .18s; }
.file-card:hover, .file-card:focus-visible { transform: translateY(-2px); border-color: #dcb9d1; border-left-color: var(--pink); background: #fffafd; box-shadow: 0 13px 28px rgba(89, 60, 93, .11); outline: none; }
.file-icon { width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid #efd3e2; border-radius: 16px; background: var(--pink-soft); color: var(--pink); font-size: 1.8rem; line-height: 1; }
.file-icon.work { border-color: #ddd1eb; background: var(--purple-soft); color: var(--purple); }
.card-arrow { color: #a18cae; font-size: 1.25rem; }
.file-info { min-width: 0; }
.file-title { margin: 0 0 6px; color: var(--purple); font-size: 1.14rem; font-weight: 760; letter-spacing: -.02em; }
.file-description { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.file-category { display: inline-flex; align-items: center; width: fit-content; margin-top: 11px; padding: 4px 10px; border: 1px solid #efd3e2; border-radius: 999px; background: var(--pink-soft); color: #a64476; font-size: .72rem; font-weight: 650; }
.file-category.cong-viec { border-color: #ddd1eb; background: var(--purple-soft); color: var(--purple); }
.empty-state { max-width: 450px; margin: 35px auto 10px; padding: 26px 18px; text-align: center; }
.empty-flower { width: 54px; height: 54px; margin: auto auto 15px; display: grid; place-items: center; border-radius: 18px; background: var(--pink-soft); color: var(--pink); font-size: 31px; }
.empty-state h3 { margin: 0; color: var(--pink); font-size: 1.15rem; letter-spacing: -.02em; }
.empty-state p, .no-results p { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.empty-state code { padding: 2px 5px; border-radius: 5px; background: #f5f0f7; color: var(--purple); font-size: .78rem; }
.text-link { display: inline-flex; gap: 6px; align-items: center; color: var(--purple); font-size: .86rem; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.no-results { padding: 45px 16px 30px; text-align: center; color: #ab91bc; font-size: 1.8rem; }
.no-results p { margin: 8px 0 0; font-size: .88rem; }
.page-footer { padding: 21px 10px 0; display: flex; align-items: center; justify-content: space-between; color: #a095a4; font-size: .76rem; }
.page-footer a { color: var(--purple); text-decoration: none; }
.page-footer a:hover { text-decoration: underline; }
.footer-heart { color: #cf7da3; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(112, 73, 160, .28); outline-offset: 2px; }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .page-shell { padding: 20px 17px 25px; }
  .intro { min-height: 203px; padding: 17px 10px 25px; }
  .flower-art { width: 120px; height: 130px; margin-right: -14px; }
  .flower-art span { font-size: 90px; }
  .flower-art i { right: 5px; top: 13px; }
  .flower-art b { left: 2px; bottom: 12px; }
  .library-panel { padding: 24px 20px 26px; border-radius: 20px; }
  .file-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .topbar { height: 64px; padding: 0 18px; }
  .private-note { font-size: .74rem; }
  .page-shell { padding: 12px 13px 22px; }
  .intro { min-height: 190px; }
  h1 { font-size: clamp(2rem, 9vw, 2.65rem); }
  .intro-text { max-width: 250px; font-size: .88rem; }
  .flower-art { position: absolute; right: 0; top: 22px; width: 85px; opacity: .58; }
  .flower-art span { font-size: 69px; }
  .flower-art i { font-size: 18px; }
  .library-panel { padding: 21px 15px 22px; }
  .library-heading { align-items: stretch; flex-direction: column; gap: 14px; }
  .search-box { width: 100%; }
  .toolbar { align-items: center; min-height: 60px; }
  .filters { gap: 2px; padding-bottom: 9px; }
  .filter { padding: 8px 9px; font-size: .78rem; }
  .filter span { margin-left: 3px; }
  .result-count { padding-bottom: 13px; font-size: .68rem; }
  .file-grid { grid-template-columns: 1fr; gap: 10px; padding-top: 14px; }
  .file-card { min-height: 112px; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 12px; padding: 16px 14px; }
  .file-icon { width: 42px; height: 42px; border-radius: 14px; font-size: 1.55rem; }
  .file-title { font-size: 1.02rem; }
  .file-description { font-size: .8rem; }
  .page-footer { gap: 12px; align-items: flex-start; font-size: .68rem; }
}




