@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,600;9..144,700&display=swap');

:root { --ink: #26382d; --pine: #173126; --green: #28634d; --sage: #e8f0e9; --paper: #fbfcfa; --orange: #d86f3a; --line: #e2e9e3; --muted: #708073; font-family: "DM Sans", Arial, sans-serif; }
html, body { overflow-x: hidden; }
body { color: var(--ink); background: radial-gradient(circle at 90% -10%, #e4f1e6 0, transparent 27rem), #f8faf7; font-family: "DM Sans", Arial, sans-serif; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; }
button, input, select, textarea { font-family: "DM Sans", Arial, sans-serif; }
.app-shell { grid-template-columns: 280px minmax(0, 1fr); }
.sidebar { padding: 14px 10px; border-right: 1px solid #dce7de; background: #fbfcfa; }
.brand { min-height: 52px; padding: 0 10px 14px; }
.brand strong { font-size: 15px; letter-spacing: -.02em; }
.sidebar nav { display: grid; gap: 2px; }
.sidebar nav a { min-height: 40px; gap: 11px; padding: 9px 11px; border-radius: 10px; color: #355442; font-size: 13px; transition: background .16s cubic-bezier(.23,1,.32,1), color .16s cubic-bezier(.23,1,.32,1), transform .16s cubic-bezier(.23,1,.32,1); }
.sidebar nav a:hover { background: #eef4ef; color: #173126; }
.sidebar nav a:active { transform: scale(.98); }
.sidebar nav a.active { background: #e3efe4; color: #246146; box-shadow: inset 0 0 0 1px #d7e6d9; }
.profile { margin: auto 4px 0; padding: 11px 7px; border-top: 1px solid #e6ece7; }
.workspace { max-width: none; margin: 0; padding: 14px 18px 28px; }
.project-head { min-height: 142px; align-items: flex-end; padding: 25px 28px; border-radius: 24px; background: #173126; box-shadow: 0 18px 45px #14302521; }
.project-head h1 { margin: 9px 0 3px; font-size: clamp(30px, 3vw, 39px); }
.head-actions { gap: 8px; }
.access-label, .project-head .button-outline { min-height: 36px; border-radius: 10px; padding: 8px 12px; border: 1px solid #ffffff24; background: #ffffff0c; color: #fff; font-size: 12px; font-weight: 600; }
.primary, .primary-link, .button-outline, .text-button { min-height: 38px; border-radius: 11px; font-weight: 700; transition: transform .16s cubic-bezier(.23,1,.32,1), box-shadow .16s cubic-bezier(.23,1,.32,1), background .16s cubic-bezier(.23,1,.32,1); }
.primary:active, .primary-link:active, .button-outline:active, .text-button:active { transform: scale(.97); }
.primary, .primary-link { box-shadow: 0 8px 18px #28634d2b; }
.project-dashboard, .phase-timeline, .phase-overview { border-color: #e2e9e3; border-radius: 24px; background: #fff; box-shadow: 0 8px 30px #25402d0b; }
.dashboard-grid article, .phase-card { border-color: #e2e9e3; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px #25402d0b; }
.filters { margin: 20px 0; padding: 13px; border-radius: 20px; }
input, textarea, select { border-color: #dbe5dd; border-radius: 11px; background: #fff; }
input:focus, textarea:focus, select:focus { border-color: #528165; outline: none; box-shadow: 0 0 0 3px #5281651a; }
.entry-card { border-radius: 20px; }
.modal { z-index: 90; background: #18271f66; backdrop-filter: blur(6px); }
.modal > div, .modal > form { border: 1px solid #e2e9e3; border-radius: 28px; background: #fbfcfa; box-shadow: 0 30px 70px #102c1f45; }
.close { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #c9d9cd; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px #1937281f; }
.gallery-filters { border-radius: 18px; background: #fff; box-shadow: 0 8px 24px #25402d0a; }
.gallery-card { border-radius: 18px; transition: transform .18s cubic-bezier(.23,1,.32,1), box-shadow .18s cubic-bezier(.23,1,.32,1); }
.gallery-card:hover { transform: translateY(-2px); box-shadow: 0 13px 28px #19372816; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; } }
@media (max-width: 900px) { .app-shell { grid-template-columns: minmax(0, 1fr); } .workspace { padding: 0 10px 20px; } .mobile-bar { position: sticky; top: 0; z-index: 50; margin: 0 -10px; padding: 0 14px; background: #fbfcfaf2; backdrop-filter: blur(12px); } .project-head { min-height: 0; margin-top: 10px; padding: 20px; border-radius: 22px; } .head-actions { justify-content: flex-start; } }
.mobile-nav { position: relative; }
.mobile-nav summary { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; color: #294132; font-size: 19px; cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] summary { background: #e8f0e9; }
.mobile-nav nav { position: absolute; top: 43px; left: 0; z-index: 70; display: grid; width: min(82vw, 300px); padding: 8px; border: 1px solid #dce7de; border-radius: 16px; background: #fff; box-shadow: 0 18px 44px #1731262b; }
.mobile-nav nav a { padding: 10px 12px; border-radius: 9px; color: #355442; font-size: 13px; font-weight: 600; text-decoration: none; }
.mobile-nav nav a:hover { background: #edf4ee; color: #173126; }
@media (max-width: 520px) { .workspace { padding-inline: 9px; } .project-head > div:first-child { width: 100%; } .project-head h1 { font-size: 26px; white-space: nowrap; } .head-actions { gap: 7px; } .access-label, .project-head .button-outline { min-height: 34px; padding: 7px 10px; } .filters .diary-export-link { flex: 1 1 auto; } .project-dashboard, .phase-timeline, .phase-overview { border-radius: 20px; } .modal > div, .modal > form { border-radius: 26px 26px 0 0; } }
