:root { color-scheme: light; --ink: #172c28; --muted: #667772; --green: #196a50; --line: #dce5df; --paper: #f5f7f3; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, sans-serif; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.topbar { min-height: 88px; background: #fff; border-bottom: 1px solid var(--line); padding: 18px max(5vw, calc((100vw - 1160px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -1px; }
.brand span { color: var(--green); margin-left: 6px; font-weight: 400; }
.identity, .actions, .card-heading { display: flex; align-items: center; gap: 12px; }
.identity { color: var(--muted); font-size: 14px; }
main { max-width: 1160px; margin: 0 auto; padding: 40px 24px 64px; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; }
h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.15; letter-spacing: -1.5px; margin: 8px 0 20px; }
h2 { font-size: 20px; letter-spacing: -.4px; margin: 0 0 18px; }
p { margin: 0 0 18px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: var(--green); margin: 0; }
.hero { max-width: 720px; padding: 70px 0; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.hero > p:not(.eyebrow) { max-width: 540px; color: var(--muted); font-size: 19px; margin-bottom: 28px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 16px 0 24px; }
.page-heading h1 { margin-bottom: 0; }
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; margin-bottom: 24px; box-shadow: 0 3px 12px #20362a04; }
.columns .card { margin-bottom: 0; }
label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 8px; }
input:not([type=checkbox]), textarea { width: 100%; border: 1px solid #cbd7cf; border-radius: 8px; padding: 11px 12px; background: #fcfdfb; color: var(--ink); font: inherit; }
input:focus, textarea:focus { outline: 2px solid #79b29b; outline-offset: 2px; }
textarea { resize: vertical; }
input[type=file] { font-size: 14px; }
.hint { font-size: 13px; color: var(--muted); margin: 8px 0 16px; overflow-wrap: anywhere; }
button, .button { display: inline-block; font: 600 14px/1.4 system-ui, sans-serif; padding: 11px 18px; border: 1px solid var(--green); border-radius: 8px; background: var(--green); color: #fff; cursor: pointer; white-space: nowrap; }
.button:hover, button:hover { filter: brightness(.95); text-decoration: none; }
button:disabled { opacity: .6; cursor: wait; }
.secondary { background: #fff; color: var(--green); border-color: #cadbd1; }
.danger { background: #a93636; border-color: #a93636; color: #fff; }
.subtle { background: #fff; border-color: #efdcdc; color: #a93636; }
.checkbox { display: flex; align-items: center; gap: 8px; margin: 18px 0; font-weight: 400; }
.badge { background: #eef5ed; color: #49705b; font-size: 12px; padding: 5px 10px; border-radius: 30px; white-space: nowrap; }
.share-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.share-card { margin: 0; }
.card-heading { justify-content: space-between; margin-bottom: 12px; }
.card-heading h2 { margin: 0; }
.empty { color: var(--muted); padding: 26px 0; }
.notice { padding: 16px 20px; border: 1px solid #b7d6bf; background: #eaf6ec; border-radius: 10px; margin-bottom: 24px; }
.breadcrumb { font-size: 14px; }
.file-row { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding: 18px 0; }
.file-info { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow-wrap: anywhere; }
.file-info .hint { margin: 4px 0 0; }
summary { cursor: pointer; color: var(--green); font-size: 14px; }
.rename-form { display: flex; gap: 8px; margin-top: 10px; }
.danger-zone { border-color: #ead8d8; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.danger-zone h2 { margin-bottom: 8px; }
.danger-zone p { margin: 0; }
.error-card { max-width: 680px; margin: 48px auto; }
@media (max-width: 700px) {
  .topbar { padding: 18px 24px; flex-wrap: wrap; }
  .identity { flex-wrap: wrap; }
  .columns { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .file-row { flex-wrap: wrap; }
  .file-info { flex-basis: 100%; }
  .danger-zone, .page-heading { align-items: flex-start; flex-direction: column; }
  .card-heading { flex-wrap: wrap; }
}
