button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}.detail:focus{outline:none}
.hub-intro{max-width:42rem}.hub-tools{display:flex;flex-wrap:wrap;gap:.75rem;margin:2rem 0}.hub-tools input{flex:1;min-width:12rem}.hub-tools select{min-width:9rem}
input,select,textarea{width:100%;border:1px solid #434d5c;background:#151d28;border-radius:6px;color:var(--text);padding:.8rem .9rem;line-height:1.5}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:2px}textarea{resize:vertical;min-height:7rem}input::placeholder,textarea::placeholder{color:#929eae}
.button{display:inline-flex;justify-content:center;align-items:center;gap:.6rem;min-height:44px;padding:.7rem 1rem;border:1px solid #485366;border-radius:6px;background:#1b2635;color:var(--text);font-size:.9rem;text-decoration:none}.button:hover{border-color:var(--accent);color:var(--accent)}.button.primary{background:var(--accent);border-color:var(--accent);color:#081322}.button.danger{color:#ffb8ba;border-color:#805359;background:#251c24}.button.quiet{background:transparent}.button.small{font-size:.8rem;padding:.4rem .7rem}
.hub-message{padding:2rem;border:1px dashed #465265;border-radius:8px;color:var(--muted);line-height:1.7}.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin:1.5rem 0}.album-card{min-width:0;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#141c27}.album-card button{display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left}.album-art{aspect-ratio:4/3;overflow:hidden;background:linear-gradient(140deg,#25344b,#151c27);display:grid;place-items:center;color:#9cb5d7;font-size:2rem}.album-art img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.album-card button:hover img{transform:scale(1.035)}.album-text{padding:1.2rem}.album-text h3{font-size:1.2rem;font-weight:400;margin:0 0 .6rem;overflow-wrap:anywhere}.album-text p{font-size:.875rem;line-height:1.6;color:var(--muted);margin:.3rem 0}.badge{display:inline-block;color:#b8d7ff;background:#23334a;border-radius:3px;padding:.15rem .45rem;font-size:.7rem;letter-spacing:.04em}.badge.private{background:#3b2c26;color:#f6cfb1}
.travel-list{display:grid;gap:0;margin-top:2rem}.travel-card{display:grid;grid-template-columns:10rem minmax(0,1fr);gap:2rem;border-bottom:1px solid var(--line);padding:2rem 0}.travel-date{color:var(--accent);font-size:.9rem;line-height:1.8}.travel-card h3{font-size:1.7rem;font-weight:400;letter-spacing:-.02em;margin:0 0 .65rem;overflow-wrap:anywhere}.travel-card p{color:var(--muted);line-height:1.7;margin:.5rem 0}.travel-notes{white-space:pre-wrap;overflow-wrap:anywhere}.travel-links{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.2rem}.hub-count{color:var(--muted);font-size:.85rem}.owner-note{border-left:2px solid var(--accent);padding:.7rem 1rem;color:#cbdcf4;background:#172232;margin:1.25rem 0;font-size:.9rem;line-height:1.6}
.hub-dialog{color:var(--text);background:#101720;border:1px solid #465265;border-radius:10px;padding:0;width:min(1100px,94vw);max-width:94vw;max-height:92vh}.hub-dialog::backdrop{background:rgba(2,7,13,.9)}.dialog-bar{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;padding:1.3rem 1.5rem;border-bottom:1px solid var(--line)}.dialog-bar h2{font-size:1.5rem;line-height:1.3;font-weight:400;margin:0}.dialog-bar p{color:var(--muted);line-height:1.6;margin:.6rem 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.dialog-body{padding:1.5rem}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.photo-grid button{padding:0;border:0;background:#182333;aspect-ratio:1;color:inherit}.photo-grid img{display:block;width:100%;height:100%;object-fit:cover}.viewer{width:min(1200px,96vw)}.viewer-image{display:block;max-width:100%;max-height:66vh;object-fit:contain;margin:auto}.viewer-caption{color:#d1d9e4;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;text-align:center}.viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:1rem}.home-hub-links{display:flex;gap:1.5rem;margin-top:1.5rem;font-size:.85rem;color:var(--muted)}.hub-footer-link{display:inline-block;margin-top:1.5rem;color:var(--muted);font-size:.85rem}
.admin-page .site-header{min-height:100px}.admin-page .site-logo{width:7rem}.admin-main{padding:3rem 0 5rem}.admin-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-bottom:2rem}.admin-heading h1{font-size:clamp(2.3rem,5vw,3.7rem);margin:0 0 .7rem;line-height:1.15;letter-spacing:-.04em}.admin-heading p{color:var(--muted);line-height:1.7;margin:0}.auth-card{max-width:29rem;margin:1rem auto;border:1px solid var(--line);background:#141c27;border-radius:10px;padding:2rem}.auth-card h2{font-size:1.7rem;font-weight:400;margin:0 0 1rem}.muted{color:var(--muted);line-height:1.7}.field{display:block;font-size:.9rem;margin-bottom:1.2rem}.field input,.field select,.field textarea{display:block;margin-top:.5rem}.field small{display:block;font-size:.8rem;color:var(--muted);line-height:1.6;margin-top:.4rem}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.notice{padding:1rem 1.2rem;border:1px solid #4a668b;border-radius:6px;color:#d3e5ff;background:#19283b;margin-bottom:1.5rem;line-height:1.6;white-space:pre-wrap}.notice.error{border-color:#a16a72;background:#352029;color:#ffd5d5}.admin-grid{display:grid;grid-template-columns:17rem minmax(0,1fr);gap:2rem}.admin-sidebar h2{font-size:.8rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted);margin:2rem 0 .8rem}.admin-sidebar h2:first-of-type{margin-top:1.5rem}.admin-sidebar .button{width:100%;margin-bottom:.5rem}.record-list{list-style:none;padding:0;margin:0;max-height:22rem;overflow-y:auto}.record-list button{display:block;width:100%;padding:.9rem .7rem;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--text);text-align:left;line-height:1.6;overflow-wrap:anywhere}.record-list button:hover,.record-list button[aria-current]{background:#1e2c40}.record-list small{display:block;color:var(--muted);font-size:.75rem}.editor{border:1px solid var(--line);border-radius:10px;background:#141c27;padding:2rem;min-width:0}.editor h2{font-weight:400;font-size:1.8rem;margin:0 0 1.75rem}.editor h3{font-weight:400;font-size:1.3rem;margin:2rem 0 1rem}.editor-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.5rem}.upload-zone{border:1px dashed #596d89;border-radius:8px;padding:1.3rem;margin-top:1.5rem;background:#101923}.upload-zone input{padding:.75rem 0;background:transparent;border:0}.upload-zone p{font-size:.85rem;color:var(--muted);line-height:1.6}.photo-editor{display:grid;grid-template-columns:7rem minmax(0,1fr);gap:1rem;padding:1.2rem 0;border-bottom:1px solid var(--line)}.photo-editor img{width:7rem;height:7rem;object-fit:cover;border-radius:4px}.photo-editor textarea{min-height:4.5rem;font-size:.85rem}.photo-editor .editor-actions{margin-top:.7rem}.settings-box{margin-top:3rem;border-top:1px solid var(--line);padding-top:1.5rem}.settings-box summary{cursor:pointer;color:var(--muted);padding:.5rem 0}.settings-box form{max-width:30rem;margin-top:1.5rem}.summary-line{display:flex;flex-wrap:wrap;gap:1.3rem;padding:1rem 0 2rem;color:var(--muted);font-size:.9rem}.summary-line strong{color:var(--text);font-size:1.2rem;font-weight:400;margin-right:.3rem}progress{width:100%;accent-color:var(--accent)}
@media(max-width:1050px){.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-grid{grid-template-columns:14rem minmax(0,1fr);gap:1.2rem}.editor{padding:1.4rem}}
@media(max-width:650px){.hub-grid{grid-template-columns:1fr}.travel-card{grid-template-columns:1fr;gap:.6rem;padding:1.5rem 0}.travel-card h3{font-size:1.4rem}.hub-tools>*{flex:1 1 100%}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dialog-bar,.dialog-body{padding:1rem}.dialog-bar h2{font-size:1.25rem}.admin-grid{grid-template-columns:1fr}.admin-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}.admin-sidebar h2{margin-top:1rem}.record-list{max-height:11rem}.field-row{grid-template-columns:1fr;gap:0}.auth-card,.editor{padding:1.2rem}.photo-editor{grid-template-columns:4.5rem minmax(0,1fr)}.photo-editor img{width:4.5rem;height:4.5rem}.admin-page .site-header{flex-direction:column;align-items:flex-start;gap:.5rem}.admin-page nav{width:auto;gap:1rem}.admin-main{padding-top:2rem}.viewer-image{max-height:60vh}}
