.sites-page{min-height:100vh;display:flex;flex-direction:column}.sites-page header{flex-wrap:wrap;align-items:center}.sites-page main{width:100%;max-width:1120px;flex:1;margin:0 auto;padding:40px 32px 64px}.sites-page h1{margin:18px 0 24px}.sites-page .sites-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:28px 0}.sites-page .button,.sites-page button{margin:0;min-height:48px;display:inline-flex;align-items:center;justify-content:center;text-align:center}.sites-page .button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}.sites-page #message:empty{display:none}.empty-sites{border:1px solid var(--line);border-radius:20px;background:white;text-align:center;padding:48px 24px;margin-top:32px}.empty-icon{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#edf1e4;font-size:28px}.empty-sites h2{margin:18px 0 10px}.empty-sites p{max-width:520px;margin:0 auto 24px;color:#63766a}.sites-page .project-actions{align-items:center}.sites-page .card{margin-top:20px}.sites-page .card h2{overflow-wrap:anywhere}.sites-page footer{margin-top:auto}@media(max-width:600px){.sites-page main{padding:24px 18px 40px}.sites-page h1{font-size:34px}.sites-page .sites-tools{display:grid;grid-template-columns:1fr;margin:24px 0}.empty-sites{padding:32px 20px}.empty-sites h2{font-size:21px}.sites-page .project-actions{display:grid;grid-template-columns:1fr}.sites-page header{gap:16px}}
.sites-page .project-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch}
.sites-page .project-actions>a,.sites-page .project-actions>button{width:100%;min-width:0;min-height:48px;margin:0;padding:10px 12px;line-height:1.5;white-space:normal;overflow-wrap:anywhere;text-decoration:none}
.sites-page .project-url{overflow-wrap:anywhere;line-height:1.6;margin:10px 0 18px}
.sites-page .project-actions+[role=status]:empty{display:none}
.sites-page .project-consent{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid var(--line);margin-top:18px;padding-top:14px}
.sites-page .project-consent p{margin:0;font-size:14px;line-height:1.6}
.sites-page .project-consent button{font-size:14px;min-height:44px;padding:8px 14px}
@media(max-width:760px){.sites-page .project-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.sites-page .project-actions{grid-template-columns:1fr}.sites-page .project-consent{align-items:stretch;flex-direction:column}.sites-page .project-consent button{width:100%}}

/* Group tasks consistently; only editing is the primary action. */
.sites-page .project-actions{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:24px;margin-top:20px;align-items:start}
.sites-page .project-action-group{min-width:0}
.sites-page .project-action-group h3,.sites-page .project-consent h3{font-size:15px;line-height:1.5;font-weight:600;margin:0 0 10px;color:var(--ink)}
.sites-page .project-action-buttons{display:flex;flex-wrap:wrap;gap:10px;align-items:start}
.sites-page .button,.sites-page button{border-radius:8px;padding:11px 18px;font-size:15px;line-height:1.5;text-decoration:none;border:1px solid var(--ink);background:var(--ink);color:white;gap:8px}
.sites-page .button.secondary,.sites-page button.secondary{background:transparent;color:var(--ink);border:1px solid var(--line)}
.sites-page button.danger-outline{background:transparent;color:#8a3434;border:1px solid #d6b6b6}
.sites-page .project-more{flex-basis:100%;margin-top:4px}
.sites-page .project-more summary{cursor:pointer;font-size:14px;color:#735454;padding:8px 0}
.sites-page .project-more button{margin-top:6px}
.sites-page .project-consent{margin-top:24px;padding-top:20px}
.sites-page .project-consent h3{margin-bottom:4px}
.sites-page .action-hint{font-size:14px;margin:0;line-height:1.7}
.sites-page .button:hover,.sites-page button:hover{filter:brightness(.95)}
.sites-page :is(button,a,summary):focus-visible{outline:2px solid var(--ink);outline-offset:3px}
@media(max-width:760px){.sites-page .project-actions{grid-template-columns:minmax(0,1fr);gap:22px}.sites-page .project-action-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.sites-page .project-action-buttons>*{min-width:0;width:100%}.sites-page .project-more,.sites-page .action-hint{grid-column:1/-1}}
@media(max-width:420px){.sites-page .project-action-buttons{grid-template-columns:minmax(0,1fr)}}
