/* GroundPlan App Styles — matches landing page design language */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --stone-950: #0c0a09;
  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-400: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --green-700: #15803d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --red-500: #ef4444;
  --red-400: #f87171;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--stone-950);
  color: var(--stone-300);
  line-height: 1.6;
  min-height: 100vh;
}

/* App Nav */
.app-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 10, 9, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(120, 113, 108, 0.15);
}

.app-nav .logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.35rem;
  color: var(--stone-100);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.app-nav .logo span { color: var(--green-500); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-user {
  font-size: 0.85rem;
  color: var(--stone-400);
}

.nav-link {
  font-size: 0.85rem;
  color: var(--stone-400);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--stone-100); }

.btn-logout {
  background: none;
  border: 1px solid var(--stone-700);
  color: var(--stone-400);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.btn-logout:hover {
  border-color: var(--stone-500);
  color: var(--stone-200);
}

/* Main Content */
.app-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5.5rem 2rem 3rem;
}

/* Page Headers */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--stone-100);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--green-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-500);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--stone-800);
  color: var(--stone-200);
  border: 1px solid var(--stone-700);
}

.btn-secondary:hover {
  background: var(--stone-700);
  border-color: var(--stone-600);
}

.btn-danger {
  background: transparent;
  color: var(--red-400);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.1);
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-icon {
  padding: 0.5rem;
  min-width: auto;
}

/* Stats Cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--stone-900);
  border: 1px solid var(--stone-800);
  border-radius: 14px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: var(--stone-700);
}

.stat-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-500);
  margin-bottom: 0.5rem;
}

.stat-card .value {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem;
  color: var(--stone-100);
}

.stat-card .value.money {
  color: var(--green-400);
}

/* Proposals Table */
.proposals-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.proposal-card {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--stone-900);
  border: 1px solid var(--stone-800);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}

.proposal-card:hover {
  border-color: var(--stone-600);
  transform: translateY(-1px);
}

.proposal-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--stone-100);
  margin-bottom: 0.2rem;
}

.proposal-info p {
  font-size: 0.8rem;
  color: var(--stone-500);
}

.proposal-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem;
  color: var(--stone-200);
  text-align: right;
}

.proposal-date {
  font-size: 0.8rem;
  color: var(--stone-500);
  text-align: right;
  min-width: 90px;
}

/* Status Badge */
.status-badge {
  display: inline-flex;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-draft { background: rgba(120, 113, 108, 0.15); color: var(--stone-400); }
.status-sent { background: rgba(59, 130, 246, 0.15); color: var(--blue-400); }
.status-approved { background: rgba(34, 197, 94, 0.15); color: var(--green-400); }
.status-in_progress { background: rgba(245, 158, 11, 0.15); color: var(--amber-400); }
.status-completed { background: rgba(34, 197, 94, 0.25); color: var(--green-400); border: 1px solid rgba(34, 197, 94, 0.3); }

/* Forms */
.form-section {
  background: var(--stone-900);
  border: 1px solid var(--stone-800);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.form-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--stone-100);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--stone-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--stone-800);
  border: 1px solid var(--stone-700);
  color: var(--stone-200);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-500);
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

/* Line Items Table */
.items-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.items-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone-500);
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--stone-700);
}

.items-table td {
  padding: 0.5rem;
  vertical-align: middle;
}

.items-table input,
.items-table select {
  background: var(--stone-800);
  border: 1px solid var(--stone-700);
  color: var(--stone-200);
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: inherit;
  width: 100%;
  outline: none;
}

.items-table input:focus,
.items-table select:focus {
  border-color: var(--green-500);
}

.items-table .col-name { width: 30%; }
.items-table .col-cat { width: 14%; }
.items-table .col-qty { width: 10%; }
.items-table .col-unit { width: 10%; }
.items-table .col-price { width: 14%; }
.items-table .col-total { width: 14%; text-align: right; }
.items-table .col-actions { width: 8%; text-align: center; }

.item-total {
  font-weight: 500;
  color: var(--stone-200);
  text-align: right;
  padding-right: 0.75rem;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--stone-600);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem;
  transition: color 0.2s;
}

.btn-remove-item:hover {
  color: var(--red-400);
}

/* Totals */
.totals-section {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.totals-table {
  min-width: 280px;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.totals-row.subtotal {
  border-top: 1px solid var(--stone-700);
  padding-top: 1rem;
}

.totals-row.total {
  border-top: 2px solid var(--stone-600);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
}

.totals-row.total .totals-value {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--green-400);
}

.totals-label {
  color: var(--stone-400);
}

.totals-value {
  color: var(--stone-200);
  font-weight: 500;
}

/* Proposal Detail Actions */
.detail-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.detail-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.meta-item .meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone-500);
}

.meta-item .meta-value {
  font-size: 0.95rem;
  color: var(--stone-200);
}

/* Share Link Section */
.share-section {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.share-section .share-label {
  font-size: 0.8rem;
  color: var(--green-400);
  font-weight: 500;
  white-space: nowrap;
}

.share-url {
  flex: 1;
  background: var(--stone-800);
  border: 1px solid var(--stone-700);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--stone-300);
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-copy {
  padding: 0.5rem 1rem;
  background: var(--green-600);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-copy:hover {
  background: var(--green-500);
}

/* Auth Forms */
.auth-container {
  max-width: 420px;
  margin: 10vh auto 0;
  padding: 0 2rem;
}

.auth-card {
  background: var(--stone-900);
  border: 1px solid var(--stone-800);
  border-radius: 20px;
  padding: 2.5rem;
}

.auth-card h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.8rem;
  color: var(--stone-100);
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-card .subtitle {
  text-align: center;
  color: var(--stone-500);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.auth-card .form-group {
  margin-bottom: 1rem;
}

.auth-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.auth-card .auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--stone-500);
}

.auth-card .auth-footer a {
  color: var(--green-400);
  text-decoration: none;
}

.auth-card .auth-footer a:hover {
  text-decoration: underline;
}

.error-msg {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--red-400);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: none;
}

.success-msg {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: var(--green-400);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: none;
}

/* Password Requirements */
.password-requirements {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: rgba(120, 113, 108, 0.06);
  border-radius: 10px;
}

.pw-req {
  font-size: 0.78rem;
  color: var(--stone-500);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.pw-req .pw-icon {
  font-size: 0.8rem;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.pw-req.met {
  color: var(--green-400);
}

.pw-req.met .pw-icon {
  color: var(--green-400);
  font-weight: 700;
}

.pw-match-msg {
  font-size: 0.8rem;
  min-height: 1.25rem;
  margin-bottom: 0.25rem;
  padding-left: 0.1rem;
}

.pw-match-msg.match {
  color: var(--green-400);
}

.pw-match-msg.no-match {
  color: var(--red-400);
}

.auth-card .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--stone-900);
  border: 1px dashed var(--stone-700);
  border-radius: 16px;
}

.empty-state h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--stone-200);
  margin-bottom: 0.75rem;
}

.empty-state p {
  color: var(--stone-500);
  margin-bottom: 1.5rem;
}

/* Client Share Page */
.share-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.share-header {
  text-align: center;
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--stone-800);
  margin-bottom: 2rem;
}

.share-header h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--stone-100);
  margin-bottom: 0.5rem;
}

.share-header .from {
  font-size: 0.9rem;
  color: var(--stone-500);
}

.share-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.share-detail-box h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone-500);
  margin-bottom: 0.75rem;
}

.share-detail-box p {
  font-size: 0.95rem;
  color: var(--stone-200);
  line-height: 1.6;
}

.share-items-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.share-items-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stone-500);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--stone-700);
}

.share-items-table td {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--stone-300);
  border-bottom: 1px solid var(--stone-800);
}

.share-items-table .cat-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cat-material { background: rgba(59, 130, 246, 0.1); color: var(--blue-400); }
.cat-labor { background: rgba(245, 158, 11, 0.1); color: var(--amber-400); }
.cat-equipment { background: rgba(120, 113, 108, 0.15); color: var(--stone-400); }
.cat-other { background: rgba(120, 113, 108, 0.1); color: var(--stone-500); }

.share-approve-section {
  text-align: center;
  padding: 3rem 0;
  border-top: 1px solid var(--stone-800);
  margin-top: 2rem;
}

.share-approve-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--stone-100);
  margin-bottom: 0.5rem;
}

.share-approve-section p {
  color: var(--stone-500);
  margin-bottom: 1.5rem;
}

.approved-banner {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.approved-banner h3 {
  font-size: 1.1rem;
  color: var(--green-400);
  margin-bottom: 0.25rem;
}

.approved-banner p {
  font-size: 0.85rem;
  color: var(--stone-400);
}

/* Loading Spinner */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  color: var(--stone-500);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 2px solid var(--stone-700);
  border-top-color: var(--green-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 0.75rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--stone-800);
  border: 1px solid var(--stone-700);
  color: var(--stone-200);
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-size: 0.85rem;
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-400);
}

/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.photo-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--stone-800);
  background: var(--stone-800);
  transition: border-color 0.2s, transform 0.2s;
  cursor: pointer;
}

.photo-card:hover {
  border-color: var(--stone-600);
  transform: translateY(-2px);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.photo-card .photo-info {
  padding: 0.6rem 0.75rem;
}

.photo-card .photo-caption {
  font-size: 0.8rem;
  color: var(--stone-300);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-card .photo-type-tag {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
}

.photo-type-site { background: rgba(59, 130, 246, 0.15); color: var(--blue-400); }
.photo-type-inspiration { background: rgba(245, 158, 11, 0.15); color: var(--amber-400); }
.photo-type-material { background: rgba(34, 197, 94, 0.15); color: var(--green-400); }
.photo-type-general { background: rgba(120, 113, 108, 0.15); color: var(--stone-400); }

.photo-card .photo-delete {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  background: rgba(12, 10, 9, 0.75);
  border: 1px solid rgba(120, 113, 108, 0.3);
  color: var(--stone-400);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0;
  transition: all 0.2s;
}

.photo-card:hover .photo-delete {
  opacity: 1;
}

.photo-card .photo-delete:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
  color: var(--red-400);
}

/* Photo Upload Zone */
.photo-upload-zone {
  border: 2px dashed var(--stone-700);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  margin-top: 1rem;
}

.photo-upload-zone:hover,
.photo-upload-zone.dragover {
  border-color: var(--green-500);
  background: rgba(34, 197, 94, 0.03);
}

.photo-upload-zone .upload-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.photo-upload-zone .upload-text {
  font-size: 0.95rem;
  color: var(--stone-300);
  margin-bottom: 0.25rem;
}

.photo-upload-zone .upload-hint {
  font-size: 0.8rem;
  color: var(--stone-500);
}

.photo-upload-zone .upload-progress {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--green-400);
}

/* Photo type selector */
.photo-type-selector {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.photo-type-btn {
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.8rem;
  cursor: pointer;
  border: 1px solid var(--stone-700);
  background: var(--stone-800);
  color: var(--stone-300);
  font-family: inherit;
  transition: all 0.2s;
}

.photo-type-btn.active {
  border-color: var(--green-500);
  background: rgba(34, 197, 94, 0.1);
  color: var(--green-400);
}

.photo-type-btn:hover {
  border-color: var(--stone-500);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-caption {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.9rem;
  text-align: center;
  max-width: 600px;
  background: rgba(0,0,0,0.6);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .app-nav { padding: 0.75rem 1.25rem; }
  .app-main { padding: 5rem 1.25rem 2rem; }
  .page-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .proposal-card { grid-template-columns: 1fr; gap: 0.75rem; }
  .proposal-amount, .proposal-date { text-align: left; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .share-detail-row { grid-template-columns: 1fr; gap: 1rem; }
  .detail-actions { flex-direction: column; }
  .share-section { flex-direction: column; }
  .photo-gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
