.ideas-page { max-width: 1196px; margin: auto; padding: 70px 42px 110px; overflow: visible; }
.ideas-intro { max-width: 740px; margin-bottom: 48px; }
.ideas-intro h1 { font: 400 clamp(44px,6vw,76px)/1.02 var(--serif); letter-spacing: -.045em; margin: 18px 0 24px; }
.ideas-intro > p:last-child { color: var(--muted); font-size: 18px; max-width: 600px; }
.ideas-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 48px; align-items: start; }
.ideas-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ideas-toolbar h2 { font-size: 18px; margin: 0; }
.sort-controls { display: flex; gap: 4px; }
.ideas-page button { cursor: pointer; font: inherit; }
.sort-controls button, .quiet-button { min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); padding: 9px 15px; font-size: 14px; }
.sort-controls button[aria-pressed="true"] { background: var(--green); color: var(--paper); }
.ideas-page :is(button,a,input,textarea):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.idea-card { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 18px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.vote-button { align-self: start; min-width: 52px; min-height: 62px; display: grid; place-content: center; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--green); font-size: 15px; line-height: 1.4; }
.vote-button[aria-pressed="true"] { background: var(--green); color: var(--paper); border-color: var(--green); }
.vote-button:hover { border-color: var(--green); }
.vote-arrow { font-size: 12px; }
.idea-card h3 { font-size: 18px; line-height: 1.4; margin: 0 0 10px; overflow-wrap: anywhere; }
.idea-card p { color: var(--muted); font-size: 15px; margin: 12px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.idea-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.idea-status { border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; color: var(--green); font-weight: 600; }
.idea-status[data-status="shipped"] { background: var(--green); color: var(--paper); }
.idea-compose { background: var(--paper-deep); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.idea-compose h2 { font: 400 28px/1.15 var(--serif); margin: 0 0 12px; }
.idea-compose > p { font-size: 14px; color: var(--muted); }
.idea-compose label { display: block; font-size: 14px; font-weight: 650; margin: 20px 0 7px; }
.idea-compose :is(input,textarea) { width: 100%; border: 1px solid #9eaaa2; border-radius: 8px; background: var(--paper); padding: 11px 12px; font: inherit; font-size: 15px; color: var(--ink); }
.idea-compose textarea { min-height: 148px; resize: vertical; }
.field-help { color: var(--muted); font-size: 12px; display: block; margin-top: 4px; }
.idea-compose .button { cursor: pointer; margin-top: 20px; }
.ideas-page button:disabled { opacity: .55; cursor: default; }
.public-notice { font-size: 12px; color: var(--muted); line-height: 1.6; }
.sign-in-area { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 18px; }
#google-signin { min-height: 44px; }
#account-state { color: var(--green); font-size: 14px; }
.board-message { color: var(--muted); padding: 24px 0; }
#action-message { color: var(--green); font-size: 14px; min-height: 24px; }
#action-message[data-error="true"] { color: #91351f; }
#load-more { margin-top: 24px; }
[hidden] { display: none !important; }
@media(max-width:900px) { .ideas-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 26px; } .ideas-page { padding: 48px 24px 80px; } }
@media(max-width:700px) { .ideas-layout { display: flex; flex-direction: column; gap: 38px; } .idea-compose,.ideas-board { width: 100%; } .ideas-intro { margin-bottom: 32px; } .idea-compose { padding: 22px; } .ideas-page { padding: 36px 22px 70px; } }

#share-heading { scroll-margin-top: 28px; }
.ideas-intro .share-link { display: inline-flex; margin-top: 8px; }

#action-message:not(:empty) { position: fixed; z-index: 20; right: 24px; bottom: 20px; max-width: min(440px,calc(100vw - 40px)); padding: 13px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--green); color: var(--paper); box-shadow: 0 6px 24px #14201b26; }
#action-message[data-error="true"]:not(:empty) { background: #91351f; color: white; }

.private-contact { margin-top: 22px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.private-contact summary { cursor: pointer; min-height: 44px; display: list-item; align-content: center; font-size: 14px; font-weight: 650; }
.private-contact span { font-weight: 400; color: var(--muted); }
.private-contact summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media(max-width:600px) { .site-header { flex-direction: column; align-items: flex-start; gap: 16px; } .site-header nav { display: flex; flex-wrap: wrap; gap: 8px 16px; } .site-header nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; } }
