/* Loire Life Briefing Portal - Editorial Folder & Dock Architecture */
:root {
  --lr-paper: #fbf8f4;
  --lr-card: #ffffff;
  --lr-cream: #f4ede4;
  --lr-plum: #4a1d2c;
  --lr-plum-mid: #6d2e43;
  --lr-rose: #b85d6f;
  --lr-gold: #c69255;
  --lr-ink: #23191d;
  --lr-muted: #66585d;
  --lr-line: #e6dcd2;
  --lr-soft-badge: #f7ebee;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  background-color: var(--lr-paper);
  color: var(--lr-ink);
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.lr-header {
  background: var(--lr-card);
  border-top: 4px solid var(--lr-plum);
  border-bottom: 1px solid var(--lr-line);
  position: sticky;
  top: 0;
  z-index: 110;
}

.lr-header-frame {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.82rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.lr-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.lr-mark img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--lr-line);
}

.lr-mark-name {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--lr-plum);
  letter-spacing: -0.025em;
}

.lr-mark-note {
  display: block;
  font-size: 0.75rem;
  color: var(--lr-muted);
}

.lr-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.lr-nav a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--lr-ink);
  padding: 0.4rem 0.78rem;
  border-radius: 999px;
  background: var(--lr-paper);
  border: 1px solid var(--lr-line);
  transition: all 0.16s ease;
}

.lr-nav a:hover,
.lr-nav a.lr-current {
  background: var(--lr-plum);
  border-color: var(--lr-plum);
  color: #ffffff;
}

.lr-hero {
  background: radial-gradient(circle at top right, #f5e6ea 0%, var(--lr-paper) 62%);
  border-bottom: 1px solid var(--lr-line);
  padding: 2.3rem 1.25rem 1.9rem;
}

.lr-wrap {
  max-width: 1240px;
  margin: 0 auto;
}

.lr-hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1.75rem;
  align-items: center;
}

.lr-edition-pill {
  display: inline-block;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--lr-plum);
  background: var(--lr-soft-badge);
  border: 1px solid #e5c8cf;
  padding: 0.22rem 0.72rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.lr-hero h1 {
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: var(--lr-plum);
  margin-bottom: 0.75rem;
}

.lr-hero h1 span {
  color: var(--lr-rose);
}

.lr-hero-lead {
  font-size: 0.96rem;
  color: #3d2e33;
  margin-bottom: 1.2rem;
}

.lr-jump-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
}

.lr-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--lr-plum) 0%, var(--lr-plum-mid) 100%);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.68rem 1.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(74, 29, 44, 0.18);
  transition: transform 0.15s ease;
}

.lr-btn-primary:hover { transform: translateY(-2px); }

.lr-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--lr-card);
  color: var(--lr-plum);
  border: 1.5px solid var(--lr-plum);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.66rem 1.15rem;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.lr-btn-secondary:hover { background: var(--lr-soft-badge); }

.lr-stat-board {
  background: var(--lr-card);
  border: 1px solid var(--lr-line);
  border-radius: 16px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  box-shadow: 0 8px 24px rgba(74, 29, 44, 0.05);
}

.lr-stat-cell {
  background: var(--lr-paper);
  border: 1px solid var(--lr-line);
  border-radius: 11px;
  padding: 0.85rem 0.9rem;
  text-align: center;
}

.lr-stat-num {
  display: block;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--lr-plum);
  letter-spacing: -0.02em;
}

.lr-stat-label {
  font-size: 0.78rem;
  color: var(--lr-muted);
}

.lr-dock-section {
  max-width: 1240px;
  margin: 1.7rem auto 0;
  padding: 0 1.25rem;
  scroll-margin-top: 82px;
}

.lr-dock-box {
  background: var(--lr-card);
  border: 1px solid var(--lr-line);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
}

.lr-sec-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.95rem;
}

.lr-sec-heading h2 {
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--lr-plum);
}

.lr-sec-sub {
  font-size: 0.82rem;
  color: var(--lr-muted);
}

.lr-dock-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.lr-dock-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  background: var(--lr-paper);
  border: 1px solid var(--lr-line);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.lr-dock-item:hover {
  border-color: var(--lr-rose);
  background: var(--lr-soft-badge);
}

.lr-dock-rank {
  font-size: 0.69rem;
  font-weight: 800;
  color: var(--lr-rose);
  margin-bottom: 0.15rem;
}

.lr-dock-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lr-ink);
}

.lr-dock-host {
  font-size: 0.71rem;
  color: var(--lr-muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.lr-filter-bar {
  max-width: 1240px;
  margin: 1.35rem auto 0;
  padding: 0 1.25rem;
}

.lr-filter-inner {
  background: var(--lr-cream);
  border: 1px solid var(--lr-line);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lr-filter-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lr-plum);
}

.lr-filter-input {
  flex: 1;
  min-width: 220px;
  border: 1px solid var(--lr-line);
  background: #ffffff;
  border-radius: 8px;
  padding: 0.48rem 0.85rem;
  font-size: 0.9rem;
  color: var(--lr-ink);
  outline: none;
}

.lr-filter-input:focus { border-color: var(--lr-plum); }

.lr-filter-clear {
  border: 1px solid var(--lr-line);
  background: #ffffff;
  color: var(--lr-muted);
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.lr-concept-wrap {
  max-width: 1240px;
  margin: 1.35rem auto 0;
  padding: 0 1.25rem;
}

.lr-concept-card {
  background: #fffdfb;
  border-left: 4px solid var(--lr-gold);
  border-top: 1px solid var(--lr-line);
  border-right: 1px solid var(--lr-line);
  border-bottom: 1px solid var(--lr-line);
  border-radius: 10px;
  padding: 1.15rem 1.35rem;
}

.lr-concept-card h2 {
  font-size: 1.03rem;
  font-weight: 800;
  color: var(--lr-plum);
  margin-bottom: 0.4rem;
}

.lr-concept-card p {
  font-size: 0.88rem;
  color: #46383d;
}

.lr-folders-main {
  max-width: 1240px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.25rem;
  scroll-margin-top: 82px;
}

.lr-folder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.lr-folder {
  background: var(--lr-card);
  border: 1px solid var(--lr-line);
  border-radius: 14px;
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 12px rgba(35, 25, 29, 0.03);
}

.lr-folder-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px dashed var(--lr-line);
}

.lr-folder-top h3 {
  font-size: 1.03rem;
  font-weight: 800;
  color: var(--lr-plum);
  letter-spacing: -0.015em;
}

.lr-folder-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--lr-plum-mid);
  background: var(--lr-soft-badge);
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
}

.lr-entry-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.lr-entry-li a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: #fdfcfb;
  border: 1px solid #f0e8e0;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.lr-entry-li a:hover {
  border-color: var(--lr-plum-mid);
  background: var(--lr-soft-badge);
}

.lr-entry-line1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.lr-entry-name {
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--lr-ink);
}

.lr-entry-domain {
  font-size: 0.7rem;
  color: var(--lr-plum-mid);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.lr-entry-note {
  display: block;
  font-size: 0.77rem;
  color: var(--lr-muted);
  margin-top: 0.12rem;
}

.lr-faq-zone {
  margin-top: 2rem;
  background: var(--lr-card);
  border: 1px solid var(--lr-line);
  border-radius: 14px;
  padding: 1.4rem;
}

.lr-faq-zone h2 {
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--lr-plum);
  margin-bottom: 0.9rem;
}

.lr-acc-item {
  border-bottom: 1px solid var(--lr-line);
  padding: 0.75rem 0;
}

.lr-acc-item:last-child { border-bottom: none; }

.lr-acc-item summary {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--lr-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lr-acc-item summary::-webkit-details-marker { display: none; }

.lr-acc-item summary::after {
  content: "+";
  font-weight: 800;
  color: var(--lr-rose);
  font-size: 1.1rem;
}

.lr-acc-item[open] summary::after { content: "−"; }

.lr-acc-item p {
  margin-top: 0.55rem;
  font-size: 0.86rem;
  color: var(--lr-muted);
  padding-right: 1rem;
}

.lr-article-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.8rem 1.25rem 3.4rem;
}

.lr-path {
  font-size: 0.82rem;
  color: var(--lr-muted);
  margin-bottom: 1rem;
}

.lr-path a {
  color: var(--lr-plum);
  font-weight: 700;
}

.lr-paper-box {
  background: var(--lr-card);
  border: 1px solid var(--lr-line);
  border-radius: 16px;
  padding: 1.6rem;
}

.lr-table-scroll {
  overflow-x: auto;
  margin: 1.2rem 0 1.6rem;
  border: 1px solid var(--lr-line);
  border-radius: 10px;
}

.lr-SalonTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.89rem;
}

.lr-SalonTable th {
  background: var(--lr-cream);
  color: var(--lr-plum);
  text-align: left;
  padding: 0.8rem 1rem;
  font-weight: 800;
  border-bottom: 1px solid var(--lr-line);
}

.lr-SalonTable td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--lr-line);
}

.lr-SalonTable tr:last-child td { border-bottom: none; }

.lr-visit-link {
  display: inline-block;
  background: var(--lr-plum);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.68rem;
  border-radius: 99px;
}

.lr-visit-link:hover { background: var(--lr-rose); }

.lr-footer {
  background: #2b141d;
  color: #d7c7cd;
  padding: 2.2rem 1.25rem;
  font-size: 0.83rem;
}

.lr-footer-wrap {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}

.lr-footer strong { color: #ffffff; }

.lr-footer-menu {
  display: flex;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.lr-footer-menu a { color: #ebd9df; }
.lr-footer-menu a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .lr-hero-grid { grid-template-columns: 1fr; }
  .lr-dock-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lr-folder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .lr-dock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lr-folder-grid { grid-template-columns: 1fr; }
}
