/* ΔΣΚΩ — Δικηγορικός Σύλλογος Κω
   Αυστηρό θεσμικό ύφος: GFS Didot (τίτλοι) + Noto Sans (κείμενο) */

:root {
  --navy: #16233d;
  --navy-2: #1f3157;
  --ink: #21262e;
  --muted: #5c6472;
  --gold: #ab8b4b;
  --gold-light: #c9ad74;
  --paper: #f7f6f2;
  --white: #ffffff;
  --line: #e2dfd7;
  --serif: "GFS Didot", "Times New Roman", serif;
  --sans: "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-2); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3, .brand-name { font-family: var(--serif); font-weight: 400; color: var(--navy); }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cfd6e4;
  font-size: 0.82rem;
  padding: 0.35rem 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #cfd6e4; text-decoration: none; }
.topbar a:hover { color: var(--gold-light); }

/* ---------- Header ---------- */
header.site {
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 0.7rem; padding-bottom: 0.7rem; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; flex: none; }
.brand img { height: 56px; width: auto; }
.brand-name { font-size: 1.02rem; line-height: 1.25; white-space: nowrap; }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

nav.main ul { list-style: none; display: flex; gap: 0; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
nav.main a {
  display: block; padding: 0.5rem 0.55rem;
  text-decoration: none; color: var(--navy);
  font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600;
  border-bottom: 2px solid transparent;
}
nav.main a:hover, nav.main a.active { border-bottom-color: var(--gold); }
nav.main li.has-sub { position: relative; }
nav.main li.has-sub > .sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold);
  box-shadow: 0 10px 24px rgba(22,35,61,0.12);
}
nav.main li.has-sub:hover > .sub, nav.main li.has-sub:focus-within > .sub { display: block; }
nav.main .sub a { text-transform: none; letter-spacing: 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 0.45rem 0.6rem; font-size: 1.1rem; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(rgba(22,35,61,0.88), rgba(22,35,61,0.88)), var(--navy);
  color: var(--white);
  padding: 4rem 0 4.5rem;
  text-align: center;
}
.hero h1 { color: var(--white); }
.hero .kicker { font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.9rem; }
.hero p.lede { max-width: 640px; margin: 1rem auto 0; color: #cfd6e4; }
.hero .rule { width: 64px; height: 2px; background: var(--gold); margin: 1.4rem auto 0; }

/* ---------- Sections ---------- */
section.block { padding: 3.2rem 0; }
section.block.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 1.8rem; }
.section-head .kicker { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

/* News list */
.news-list { list-style: none; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 0.2rem; text-decoration: none; color: var(--ink); }
.news-list a:hover { background: rgba(171,139,75,0.06); }
.news-list time { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.badge { display: inline-block; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; background: var(--navy); color: var(--white); padding: 0.15rem 0.5rem; border-radius: 3px; margin-right: 0.5rem; }
.badge.prokiryxi { background: var(--gold); }

/* Cards / directory */
.grid { display: grid; gap: 1rem; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy);
  padding: 1.2rem 1.3rem;
}
.card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.card .role { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.card .meta { color: var(--muted); font-size: 0.88rem; margin-top: 0.4rem; }
.card .meta a { color: var(--navy-2); }

/* Directory table */
.dir-search { width: 100%; padding: 0.7rem 0.9rem; border: 1px solid var(--line); border-radius: 4px; font-family: var(--sans); font-size: 0.95rem; margin-bottom: 1rem; background: var(--white); }
table.dir { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.9rem; }
table.dir th { text-align: left; background: var(--navy); color: var(--white); padding: 0.6rem 0.8rem; font-weight: 600; }
table.dir td { padding: 0.55rem 0.8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.dir tr:hover td { background: rgba(171,139,75,0.05); }

/* Buttons */
.btn {
  display: inline-block; padding: 0.65rem 1.4rem; text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700;
  border: 1px solid var(--navy); color: var(--navy); background: transparent; cursor: pointer; font-family: var(--sans);
}
.btn:hover { background: var(--navy); color: var(--white); }
.btn.solid { background: var(--navy); color: var(--white); }
.btn.solid:hover { background: var(--navy-2); }
.btn.gold { border-color: var(--gold); color: var(--gold); }
.btn.gold:hover { background: var(--gold); color: var(--white); }

/* Links panel */
.links-panel { display: grid; gap: 0.6rem; }
.links-panel a {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.92rem;
}
.links-panel a:hover { background: rgba(171,139,75,0.07); }

/* Article (post) */
article.post { background: var(--white); border: 1px solid var(--line); padding: 2.2rem 2.4rem; }
article.post h1 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.4rem; }
article.post .post-meta { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.4rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
article.post .post-body p { margin-bottom: 1rem; }
.attachment {
  display: flex; align-items: center; gap: 0.7rem; margin-top: 1rem;
  border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--paper);
  padding: 0.8rem 1rem; text-decoration: none; color: var(--navy); font-weight: 600;
}

/* Pagination */
.pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 0.45rem 0.85rem; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-size: 0.9rem; background: var(--white); }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Members area */
.members-gate { max-width: 420px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold); padding: 2rem; }
.members-gate label { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); margin: 0.9rem 0 0.25rem; }
.members-gate input { width: 100%; padding: 0.65rem 0.8rem; border: 1px solid var(--line); border-radius: 3px; font-size: 0.95rem; font-family: var(--sans); }
.notice { padding: 0.8rem 1rem; border: 1px solid var(--line); border-left: 3px solid var(--gold); background: var(--white); font-size: 0.9rem; margin: 1rem 0; }
.notice.error { border-left-color: #a33; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.contact-info dt { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-top: 1rem; }
.contact-info dd { font-size: 1.02rem; }
form.contact label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); margin: 0.8rem 0 0.25rem; }
form.contact input, form.contact textarea, form.contact select {
  width: 100%; padding: 0.65rem 0.8rem; border: 1px solid var(--line); border-radius: 3px;
  font-size: 0.95rem; font-family: var(--sans); background: var(--white);
}
.phone-row { display: flex; gap: 0.5rem; }
form.contact .phone-row select { width: 7.5rem; flex: none; padding-right: 0.4rem; }
form.contact .phone-row input { flex: 1 1 auto; width: auto; min-width: 0; }
.map-box { margin-top: 2.6rem; }
.map-frame { display: block; width: 100%; height: 380px; border: 1px solid var(--line); border-radius: 3px; background: var(--white); }
@media (max-width: 900px) { .map-frame { height: 300px; } }
.map-link { font-size: 0.85rem; margin-top: 0.5rem; }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy); color: #aeb8cb; margin-top: 3rem;
  padding: 2.6rem 0 1.6rem; font-size: 0.88rem;
}
footer.site h4 { color: var(--white); font-family: var(--serif); font-weight: 400; font-size: 1.05rem; margin-bottom: 0.7rem; }
footer.site a { color: #cfd6e4; text-decoration: none; }
footer.site a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 0.35rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 2rem; padding-top: 1.1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; font-size: 0.8rem; }
.fixer-credit { font-family: Arial, sans-serif; }
.fixer-credit a { text-decoration: none; color: #cfd6e4; }
.fixer-credit .fx { font-family: "Arial Black", Arial, sans-serif; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--gold); }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.main a { border-bottom: 1px solid var(--line); }
  nav.main li.has-sub > .sub { display: block; position: static; box-shadow: none; border: none; padding-left: 1rem; }
}
@media (max-width: 560px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .brand img { height: 44px; }
  table.dir { font-size: 0.8rem; }
  article.post { padding: 1.4rem 1.2rem; }
}

/* --- members gated browser --- */
.members-cats h3 { margin-bottom: 0.6rem; }
details { border: 1px solid var(--line, #d8d4cc); background: #fff; margin-bottom: 0.5rem; }
details summary { cursor: pointer; padding: 0.55rem 0.8rem; font-weight: 600; font-size: 0.9rem; }
details .count { color: var(--gold, #a8823c); font-weight: 400; }
.cat-list { list-style: none; margin: 0; padding: 0.2rem 0.8rem 0.8rem; }
.cat-list li { padding: 0.35rem 0; border-top: 1px solid var(--line, #eee); font-size: 0.88rem;
  display: flex; justify-content: space-between; gap: 1rem; }
.cat-list li time { color: #888; white-space: nowrap; font-size: 0.8rem; }

/* --- hero XL (αρχική) --- */
.hero-xl { position: relative; overflow: hidden; text-align: left; padding: 5rem 0 0; }
.hero-watermark {
  position: absolute; right: -6%; top: 50%; transform: translateY(-58%);
  width: 560px; height: 560px; opacity: 0.07; pointer-events: none;
  background: url('/assets/img/logo.png') center/contain no-repeat;
  filter: grayscale(1) brightness(3);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; padding-bottom: 4.5rem; }
.hero-xl h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.hero-xl .rule { margin-left: 0; }
.hero-cta { margin-top: 1.8rem; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn.ghost { border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn.ghost:hover { background: rgba(255,255,255,0.12); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.14); }
.hero-stats .stat { background: rgba(22,35,61,0.6); padding: 1.4rem 1.2rem; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold-light); line-height: 1.1; }
.hero-stats span { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: #cfd6e4; }

/* quick strip */
.quick-strip { margin-top: -2.2rem; position: relative; z-index: 2; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.quick {
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: 1.3rem 1.2rem 1.1rem; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 0.25rem;
  box-shadow: 0 12px 28px rgba(22,35,61,0.10);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.quick:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(22,35,61,0.16); }
.quick .q-ico { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.quick strong { font-family: var(--serif); font-size: 1.08rem; color: var(--navy); }
.quick span:last-child { font-size: 0.82rem; color: var(--muted); line-height: 1.45; }

/* home two-column news */
.home-news { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.news-list.compact a { padding: 0.6rem 0.1rem; font-size: 0.9rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .home-news { grid-template-columns: 1fr; }
  .hero-watermark { display: none; }
}

/* --- members blog-style browser --- */
.mb-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.6rem; }
.mb-chip {
  border: 1px solid var(--line); background: var(--white); color: var(--navy);
  padding: 0.35rem 0.85rem; font-size: 0.82rem; font-family: var(--sans);
  cursor: pointer; border-radius: 999px;
}
.mb-chip:hover { border-color: var(--gold); }
.mb-chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.mb-count { color: var(--muted); font-size: 0.85rem; margin: 0.6rem 0 0.4rem; }

/* --- μονογραμμικό nav --- */
@media (min-width: 901px) {
  nav.main ul { flex-wrap: nowrap; }
  nav.main a { white-space: nowrap; font-size: 0.8rem; padding: 0.55rem 0.7rem; }
}
nav.main li.active-parent > a { border-bottom-color: var(--gold); }
.mb-chip.sub { border-style: dashed; font-size: 0.78rem; }
.mb-chip.sub.active { border-style: solid; background: var(--gold); border-color: var(--gold); }

/* --- hero photo + motto + about --- */
.hero-photo {
  background:
    linear-gradient(rgba(18,28,49,0.82), rgba(18,28,49,0.88)),
    url('/assets/img/PB080027.jpg') center 35%/cover no-repeat;
}
.motto { background: #efe9dd; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2.6rem 0 2.4rem; text-align: center; }
.motto-latin {
  font-family: var(--serif); color: var(--gold); letter-spacing: 0.35em;
  font-size: clamp(1.1rem, 3vw, 1.9rem); margin-bottom: 0.5rem;
}
.motto-gr { color: var(--muted); font-size: 0.92rem; font-style: italic; }
@media (max-width: 480px) { .motto-latin { letter-spacing: 0.18em; font-size: 1rem; } }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.about-photo { margin: 0; border: 1px solid var(--line); border-bottom: 3px solid var(--gold); background: var(--white); padding: 0.6rem; }
.about-photo img { width: 100%; height: 420px; object-fit: cover; object-position: center 60%; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .about-photo img { height: 280px; }
}

/* --- page banner με φωτογραφία --- */
.page-banner {
  background-size: cover; background-position: center 40%;
  color: var(--white); padding: 4rem 0 3.4rem;
}
.page-banner h1 { color: var(--white); }
.page-banner .kicker { font-size: 0.75rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; display:block; margin-bottom: 0.5rem; }

/* --- αποφάσεις ανά δικαστήριο (gated) --- */
.apf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.apf-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 1.1rem 1.2rem; }
.apf-card h4 { font-family: var(--serif); font-weight: 400; color: var(--navy); font-size: 1.02rem; margin-bottom: 0.6rem; }
.apf-btns { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.apf-btn {
  border: 1px solid var(--line); background: var(--paper); color: var(--navy);
  padding: 0.3rem 0.7rem; font-size: 0.8rem; text-decoration: none; border-radius: 3px;
}
.apf-btn:hover { border-color: var(--gold); background: rgba(171,139,75,0.08); }
@media (max-width: 760px) { .apf-grid { grid-template-columns: 1fr; } }
.mb-jump { display: flex; justify-content: flex-end; margin-bottom: 1.2rem; }

/* --- είσοδος μελών --- */
[hidden] { display: none !important; }
.topbar .topbar-member { color: var(--gold-light); font-weight: 600; }
nav.main li.nav-members > a { border: 1px solid var(--gold); border-radius: 3px; }
nav.main li.nav-members > a::before { content: "\1F512\FE0E"; font-size: 0.7em; margin-right: 0.25em; }
.is-member nav.main li.nav-members > a { background: var(--navy); color: var(--white); border-color: var(--navy); }
.is-member nav.main li.nav-members > a::before { content: "\2713"; }
.gate-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; margin-top: 1.2rem; font-size: 0.88rem; }
#apply-panel { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.members-gate .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.member-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  padding: 0.6rem 1rem; margin-bottom: 1.4rem; font-size: 0.9rem; color: var(--muted);
}
.member-bar .btn { padding: 0.4rem 0.9rem; font-size: 0.75rem; }
@media (min-width: 901px) and (max-width: 1140px) {
  nav.main a { padding: 0.5rem 0.32rem; font-size: 0.72rem; }
  .header-inner { gap: 1rem; }
}

/* --- κείμενα πολιτικής / νομικά --- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 0.6rem; }
.legal h3 { font-size: 1.02rem; margin: 1.2rem 0 0.3rem; font-family: var(--sans); font-weight: 700; color: var(--navy); }
.legal p, .legal li { color: var(--ink); line-height: 1.75; }
.legal ul { margin: 0.6rem 0 0 1.2rem; }
.legal li { margin-bottom: 0.4rem; }
.legal-meta { color: var(--muted); font-size: 0.85rem; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; }
.footer-bottom a { color: inherit; }
.post-body .post-img, .post-img { display: block; max-width: 100%; height: auto; margin: 1rem 0; border: 1px solid var(--line); }

/* ---------- Εργαλείο αναρτήσεων (/admin/nea-anartisi/) ---------- */
.ed { max-width: 860px; }
.ed label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy); margin: 0.8rem 0 0.25rem; }
.ed input[type=text], .ed input[type=password], .ed input[type=date], .ed select, .ed textarea {
  width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: 3px; font-size: 0.95rem; font-family: var(--sans); background: var(--white);
}
.ed-gate { max-width: 420px; }
.ed-drop { display: block; border: 2px dashed var(--gold); border-radius: 6px; background: var(--white); padding: 2rem 1rem; text-align: center; cursor: pointer; }
.ed-drop strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.4rem; color: var(--navy); }
.ed-drop span { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.ed-drop.is-over, .ed-drop:focus { background: #fbf6ea; outline: none; }
.ed-actions { margin: 0.8rem 0 1.2rem; display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; align-items: center; justify-content: space-between; }
.ed .ed-together { display: flex; gap: 0.5rem; align-items: center; margin: 0; text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 0.9rem; }
.ed-card { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.ed-card__head { display: flex; justify-content: space-between; align-items: center; }
.ed-x { border: 0; background: none; font-size: 1.1rem; color: var(--muted); cursor: pointer; padding: 0.2rem 0.5rem; }
.ed-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 1rem; }
.ed-where { font-size: 0.85rem; color: var(--navy); margin-top: 0.6rem; }
.ed-files { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.ed-file { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.88rem; padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.ed-file em { font-style: normal; white-space: nowrap; }
.ed-file--ok em { color: #2e7d4f; }
.ed-file--error em { color: #a33; }
.ed-small { padding: 0.35rem 0.8rem; font-size: 0.75rem; }
.ed details { margin-top: 0.6rem; }
.ed summary { cursor: pointer; font-size: 0.88rem; color: var(--navy); }
.ed-bar { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; background: var(--cream, #f7f6f2); padding: 0.9rem 0; border-top: 1px solid var(--line); }
.ed-bar__note { font-size: 0.85rem; color: var(--muted); flex: 1; }
