*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg: #0c0c0c;--surface: #161616;--surface2: #1f1f1f;--border: #2a2a2a;--text: #e2e2e2;--text-muted: #888;--accent: #c8a96e;--accent-dim: rgba(200, 169, 110, .15);--green: #4ade80;--red: #f87171;--yellow: #fbbf24;--radius: 6px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{background:var(--bg);color:var(--text);min-height:100vh}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer;border:none;border-radius:var(--radius);padding:.5rem 1.1rem;font-size:.9rem;font-weight:500;transition:opacity .15s}button:disabled{opacity:.4;cursor:not-allowed}button:hover:not(:disabled){opacity:.85}.btn-primary{background:var(--accent);color:#0c0c0c}.btn-ghost{background:transparent;border:1px solid var(--border);color:var(--text-muted)}.btn-ghost:hover:not(:disabled){border-color:var(--accent);color:var(--accent);opacity:1}.nav{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid var(--border)}.nav-brand{font-size:1.1rem;font-weight:600;letter-spacing:.05em;color:var(--accent)}.container{max-width:800px;margin:0 auto;padding:2rem 1.5rem}.page-title{font-size:1.4rem;font-weight:600;margin-bottom:1.5rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.2rem 1.4rem;margin-bottom:.75rem;cursor:pointer;transition:border-color .15s}.card:hover{border-color:var(--accent)}.card-static{cursor:default}.card-static:hover{border-color:var(--border)}.card-title{font-weight:500;margin-bottom:.35rem}.card-meta{font-size:.82rem;color:var(--text-muted);display:flex;gap:1rem;flex-wrap:wrap}.badge{display:inline-block;padding:.15rem .55rem;border-radius:99px;font-size:.75rem;font-weight:500;letter-spacing:.03em}.badge-archived{background:var(--surface2);color:var(--text-muted)}.badge-pending,.badge-restoring{background:#fbbf2426;color:var(--yellow)}.badge-ready{background:#4ade8026;color:var(--green)}.badge-failed{background:#f8717126;color:var(--red)}.field{margin-bottom:1rem}.field label{display:block;font-size:.82rem;color:var(--text-muted);margin-bottom:.3rem}.field-value{font-size:.95rem}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media (max-width: 500px){.grid2{grid-template-columns:1fr}}.section-title{font-size:.78rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);margin:1.75rem 0 .75rem}.empty{color:var(--text-muted);font-size:.9rem;padding:1rem 0}.error-box{background:#f871711a;border:1px solid rgba(248,113,113,.3);border-radius:var(--radius);padding:.75rem 1rem;color:var(--red);font-size:.88rem;margin-bottom:1rem}.spinner{display:inline-block;width:1rem;height:1rem;border:2px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.center{display:flex;align-items:center;justify-content:center;min-height:60vh;flex-direction:column;gap:1rem}.restore-form{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin-top:.5rem}select{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);padding:.45rem .75rem;font-size:.9rem}.back-link{font-size:.85rem;color:var(--text-muted);margin-bottom:1.5rem;display:inline-block}.back-link:hover{color:var(--accent);text-decoration:none}.login-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:1.5rem;text-align:center}.login-logo{font-size:2rem;font-weight:700;letter-spacing:.06em;color:var(--accent)}.login-tagline{color:var(--text-muted);font-size:.95rem}.landing{display:flex;flex-direction:column;min-height:100vh}.landing-nav{display:flex;align-items:center;justify-content:space-between;padding:1.1rem 2rem;border-bottom:1px solid var(--border)}.landing-hero{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:5rem 1.5rem 4rem;max-width:640px;margin:0 auto}.landing-eyebrow{font-size:.78rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin-bottom:1.25rem}.landing-headline{font-size:clamp(2.4rem,6vw,3.5rem);font-weight:700;letter-spacing:-.02em;line-height:1.1;color:var(--text);margin-bottom:1.25rem}.landing-desc{font-size:1.05rem;color:var(--text-muted);line-height:1.65;max-width:480px;margin-bottom:2.25rem}.landing-actions{display:flex;align-items:center;gap:1rem;margin-bottom:.9rem}.landing-dl-btn{font-size:1rem;padding:.75rem 1.75rem;display:flex;align-items:center;gap:.5rem}.landing-dl-icon{font-size:1.1rem}.landing-soon-badge{font-size:.78rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);background:var(--surface2);border:1px solid var(--border);border-radius:99px;padding:.2rem .7rem}.landing-platform{font-size:.8rem;color:var(--text-muted);opacity:.6}.landing-steps-section{border-top:1px solid var(--border);padding:3rem 0;background:var(--surface)}.landing-steps{display:flex;flex-direction:column;gap:1.5rem;margin-top:.5rem}.landing-step{display:flex;align-items:flex-start;gap:1.25rem;padding:1.2rem 1.4rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius)}.landing-step-num{flex-shrink:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;background:var(--accent-dim);color:var(--accent);border-radius:50%;font-size:.85rem;font-weight:600}.landing-step-title{font-weight:500;font-size:.95rem;margin-bottom:.3rem}.landing-step-body{font-size:.85rem;color:var(--text-muted);line-height:1.55}.landing-footer{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 2rem;border-top:1px solid var(--border)}.search{position:relative;margin-bottom:.6rem}.search-icon{position:absolute;left:.85rem;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.search-input{width:100%;padding:.65rem .85rem .65rem 2.4rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);font-size:.9rem;font-family:inherit}.search-input:focus{outline:none;border-color:var(--accent)}.search-input::placeholder{color:var(--text-muted);opacity:.7}.search-summary{font-size:.78rem;color:var(--text-muted);margin-bottom:.9rem}.restore-card{padding:1.25rem 1.4rem}.restore-head{display:flex;align-items:center;gap:.7rem}.restore-title{font-weight:600;font-size:1rem;margin-bottom:.3rem}.restore-head .restore-title{margin-bottom:0}.restore-sub{font-size:.86rem;color:var(--text-muted);line-height:1.5;margin-bottom:.9rem}.restore-muted{color:var(--text-muted)}.restore-meta{display:flex;justify-content:space-between;font-size:.78rem;color:var(--text-muted);margin-top:.5rem}.restore-note{font-size:.8rem;color:var(--text-muted);margin-top:1rem;padding-top:.9rem;border-top:1px solid var(--border)}.restore-actions{display:flex;gap:.6rem;flex-wrap:wrap}.restore-ready{border-color:#4ade8059}.restore-ready .restore-title{color:var(--green)}.restore-failed{border-color:#f8717159}.restore-failed .restore-title{color:var(--red)}.bar{height:6px;border-radius:99px;background:var(--surface2);overflow:hidden}.bar-fill{height:100%;border-radius:99px;background:var(--accent);transition:width .4s ease}.bar-muted .bar-fill{background:var(--text-muted)}.timeline{list-style:none;margin-top:1.1rem;display:flex;flex-direction:column;gap:.75rem}.timeline-step{display:flex;gap:.7rem;align-items:flex-start}.timeline-dot{width:18px;height:18px;flex-shrink:0;margin-top:1px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:1.5px solid var(--border)}.timeline-done .timeline-dot{background:var(--green);border-color:var(--green);color:var(--bg)}.timeline-active .timeline-dot{border-color:var(--accent)}.timeline-pulse{width:7px;height:7px;border-radius:50%;background:var(--accent);animation:timeline-pulse 1.6s ease-in-out infinite}@keyframes timeline-pulse{50%{opacity:.3;transform:scale(.75)}}.timeline-label{font-size:.88rem;font-weight:500}.timeline-todo .timeline-label{color:var(--text-muted)}.timeline-detail{font-size:.78rem;color:var(--text-muted);margin-top:.1rem}.meta-label{color:var(--text-muted);opacity:.7;margin-right:.15rem}.restore-group{margin-bottom:1.25rem}.restore-project{display:flex;align-items:baseline;gap:.75rem;margin-bottom:.45rem;flex-wrap:wrap}.restore-project-name{font-weight:600;color:var(--text)}.restore-project-name:hover{color:var(--accent);text-decoration:none}.restore-project-date{font-size:.8rem;color:var(--text-muted)}.nav-links{display:flex;gap:.25rem;align-items:center}.nav-link{padding:.35rem .75rem;border-radius:var(--radius);font-size:.88rem;color:var(--text-muted);display:inline-flex;align-items:center;gap:.4rem}.nav-link:hover{color:var(--text);text-decoration:none}.nav-link-active{color:var(--accent);background:var(--accent-dim)}.nav-count{min-width:1.2rem;height:1.2rem;padding:0 .35rem;border-radius:99px;background:var(--accent);color:var(--bg);font-size:.7rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center}.preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.5rem}.preview{position:relative;display:block;padding:0;border:2px solid transparent;border-radius:6px;background:var(--surface2);overflow:hidden;cursor:pointer}.preview img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.preview-grid-selecting .preview:hover{border-color:var(--border);opacity:1}.preview-selected,.preview-grid-selecting .preview-selected:hover{border-color:var(--accent)}.preview-selected img{opacity:.85}.preview-check{position:absolute;top:6px;right:6px;width:22px;height:22px;border-radius:50%;border:2px solid rgba(255,255,255,.85);background:#00000059;display:flex;align-items:center;justify-content:center;color:var(--bg)}.preview-selected .preview-check{background:var(--accent);border-color:var(--accent)}.container-with-bar{padding-bottom:6rem}.select-bar{position:fixed;left:0;right:0;bottom:0;background:var(--surface);border-top:1px solid var(--border);padding:.85rem 1.5rem;z-index:10}.select-bar-inner{max-width:800px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.select-bar-count{font-size:.9rem;font-weight:500}.select-bar-actions{display:flex;gap:.5rem}.restore-hint{font-size:.8rem;color:var(--text-muted);margin-top:.6rem}.restore-files{font-size:.82rem;color:var(--text-muted);margin:-.1rem 0 .5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-list{list-style:none;max-height:320px;overflow-y:auto;border-top:1px solid var(--border)}.photo-row{display:flex;align-items:center;gap:.75rem;padding:.55rem 0;border-bottom:1px solid var(--border)}.photo-name{flex:1;min-width:0;font-size:.86rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-size{font-size:.78rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.btn-small{padding:.3rem .8rem;font-size:.8rem}.preview-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.preview-header .section-title{margin-bottom:.75rem}.tabs{display:flex;gap:.25rem;margin:1.75rem 0 .75rem}.tab{background:transparent;color:var(--text-muted);padding:.3rem .8rem;font-size:.82rem;border:1px solid var(--border)}.tab-active{color:var(--accent);background:var(--accent-dim);border-color:transparent}.preview-caption{position:absolute;left:0;right:0;bottom:0;padding:.2rem .4rem;font-size:.68rem;color:#fff;background:linear-gradient(transparent,#000000a6);text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-row-sidecar{padding-left:1rem}.photo-row-sidecar .photo-name{color:var(--text-muted);font-size:.8rem}.photo-tag{margin-left:.5rem;font-size:.68rem;padding:.05rem .4rem;border-radius:99px;background:var(--surface2);color:var(--text-muted)}.danger-zone{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-top:2.5rem;padding:1rem 1.2rem;border:1px solid rgba(248,113,113,.3);border-radius:var(--radius)}.danger-title{font-weight:500;font-size:.92rem;margin-bottom:.2rem}.danger-body{font-size:.8rem;color:var(--text-muted)}.btn-danger{background:var(--red);color:#1a0a0a}.btn-danger-ghost{background:transparent;border:1px solid rgba(248,113,113,.5);color:var(--red);white-space:nowrap}.btn-danger-ghost:hover:not(:disabled){background:#f871711a;opacity:1}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:20}.modal{width:100%;max-width:440px;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1.4rem}.modal-title{font-size:1.1rem;font-weight:600;margin-bottom:.6rem}.modal-body{font-size:.88rem;color:var(--text-muted);line-height:1.55;margin-bottom:1rem}.modal-label{display:block;font-size:.82rem;color:var(--text-muted);margin-bottom:.4rem}.modal-label strong{color:var(--text)}.modal-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1.1rem}.input{width:100%;padding:.55rem .75rem;background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);font-size:.9rem;font-family:inherit}.input:focus{outline:none;border-color:var(--accent)}.usage{margin-bottom:1.25rem;padding:.85rem 1rem;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.usage-text{display:flex;justify-content:space-between;align-items:baseline;font-size:.85rem;margin-bottom:.5rem}.usage-text strong{font-weight:600}.usage-plan{font-size:.78rem;color:var(--text-muted)}.usage-bar{height:6px;border-radius:99px;background:var(--surface2);overflow:hidden}.usage-fill{height:100%;border-radius:99px;background:var(--accent)}.usage-near .usage-fill{background:var(--yellow)}.usage-over .usage-fill{background:var(--red)}.usage-note{font-size:.78rem;color:var(--red);margin-top:.45rem}.landing-nav-actions{display:flex;gap:.5rem;align-items:center}.auth-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;gap:1.5rem;padding:2rem 1rem}.auth-brand{font-size:1.1rem;font-weight:600;letter-spacing:.12em;color:var(--accent)}.auth-form{display:flex;flex-direction:column;gap:.75rem;width:300px}.auth-title{font-size:1.05rem;font-weight:600;margin-bottom:.15rem}.auth-note{font-size:.82rem;color:var(--text-muted);line-height:1.5}.auth-hint{font-size:.76rem;color:var(--text-muted);margin-top:-.35rem}.auth-code{letter-spacing:.3em;font-variant-numeric:tabular-nums}.auth-form .btn-primary{padding:.6rem 1rem}.auth-links{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}.link-button{background:none;border:none;padding:0;font-size:.82rem;font-weight:400;color:var(--accent)}.link-button:hover:not(:disabled){text-decoration:underline;opacity:1}.legal{min-height:100vh}.legal-links{display:flex;gap:1rem;flex-wrap:wrap}.legal-link{font-size:.85rem;color:var(--text-muted)}.legal-link-active{color:var(--accent)}.legal-main{max-width:720px;margin:0 auto;padding:2.5rem 1.5rem 4rem}.legal-draft{background:#fbbf241f;border:1px solid rgba(251,191,36,.4);color:var(--yellow);border-radius:var(--radius);padding:.6rem .9rem;font-size:.85rem;margin-bottom:1.5rem}.legal-title{font-size:1.8rem;font-weight:600;margin-bottom:.4rem}.legal-meta{font-size:.82rem;color:var(--text-muted);margin-bottom:1.75rem}.legal-h{font-size:1.02rem;font-weight:600;margin:1.75rem 0 .5rem}.legal-p{font-size:.92rem;line-height:1.7;color:var(--text);margin-bottom:.8rem;opacity:.92}.legal-tbd{background:#fbbf2440;color:var(--text);padding:0 .2rem;border-radius:3px}.landing-footer-links{display:flex;gap:1rem;font-size:.82rem;align-items:center}.landing-footer-links a{color:var(--text-muted)}.landing-footer-links a:hover{color:var(--accent)}.account{max-width:640px}.account-section{margin-bottom:.5rem}.account-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1.1rem 1.25rem}.account-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.account-plan{font-size:1.1rem;font-weight:600;margin-bottom:.2rem}.account-label{font-size:.78rem;color:var(--text-muted);margin-bottom:.15rem}.account-muted{font-size:.8rem;color:var(--text-muted);line-height:1.5}.account-usage{margin:1rem 0 .6rem;background:var(--bg)}.account-upgrade{padding:.5rem 1.1rem;border-radius:var(--radius);font-weight:500;font-size:.9rem}.account-upgrade:hover{text-decoration:none;opacity:.85}.account-form{display:flex;flex-direction:column;gap:.6rem;max-width:320px}.account-form .btn-ghost{align-self:flex-start}.account-ok{font-size:.85rem;color:var(--green)}.account-signout{display:flex;align-items:center;gap:1.25rem;margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border)}.account-links{display:flex;gap:1.25rem;flex-wrap:wrap;font-size:.9rem}.account-details{display:flex;gap:2.5rem;flex-wrap:wrap}.account-form-wide{max-width:none}.account-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}.account-fields .field:last-child{grid-column:1 / -1}.account-actions{display:flex;gap:.5rem;margin-top:.25rem}.account-password{display:flex;align-items:center;gap:1rem}.account-form .field{margin-bottom:.25rem}.optional{color:var(--text-muted);opacity:.6;font-weight:400;margin-left:.25rem}.restore-option{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.1rem;margin-top:.75rem}.restore-option .restore-hint{margin-top:.25rem}.restore-option-title{font-weight:500}.restore-option-whole{flex-direction:column;align-items:stretch}.restore-option-whole .btn-primary{align-self:flex-start}.tier-choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.6rem}.tier-option{display:flex;align-items:center;gap:.6rem;padding:.7rem .85rem;border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;background:var(--surface2)}.tier-option input{accent-color:var(--accent);margin:0}.tier-option-active{border-color:var(--accent);background:var(--accent-dim)}.tier-title{flex:1;font-size:.9rem}.tier-price{font-weight:600;display:flex;flex-direction:column;align-items:flex-end}.tier-note{font-size:.72rem;font-weight:500;color:var(--green)}.select-bar-allowance{display:block;font-size:.75rem;font-weight:400;color:var(--text-muted)}.select-bar-over{color:var(--yellow)}.schedule{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:2.5rem;padding:1rem 1.2rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.schedule-editing{display:block}.schedule-title{font-weight:500;font-size:.92rem;margin-bottom:.2rem}.schedule-body{font-size:.8rem;color:var(--text-muted)}.schedule-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.schedule-presets{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;margin:.6rem 0 .5rem}.schedule-date{width:auto}.schedule+.danger-zone{margin-top:1rem}.chip{background:var(--surface2);border:1px solid var(--border);color:var(--text);border-radius:999px;padding:.4rem .85rem;font-size:.82rem;cursor:pointer}.chip-active{border-color:var(--accent);background:var(--accent-dim);color:var(--accent)}input[type=date]{color-scheme:dark}.delete-after{display:flex;gap:.6rem;flex-wrap:wrap}.delete-after .input{flex:1 1 180px}.field-hint{font-size:.78rem;color:var(--text-muted);margin-top:.4rem}
