:root {
  --paper:#fff; --white:#fff; --ink:#090909; --muted:#555; --line:#090909;
  --green:#090909; --radius:0;
  font-family:Arial,Helvetica,sans-serif; color:var(--ink); background:#fff; font-synthesis:none;
}
* { box-sizing:border-box; }
body { margin:0; }
button,input,textarea,select { font:inherit; }
button,a,input,textarea { touch-action:manipulation; }
button,a { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { opacity:.5; cursor:wait; }
a { color:inherit; text-underline-offset:3px; }
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible { outline:2px solid var(--ink); outline-offset:4px; }
[hidden] { display:none!important; }
.skip-link { position:fixed; top:-80px; left:16px; padding:12px; z-index:100; background:#090909; color:#fff; }
.skip-link:focus { top:12px; }
.shell { min-height:100vh; }
.site-header { min-height:59px; display:flex; align-items:center; gap:32px; padding:10px 24px; border-bottom:1px solid var(--line); }
.brand { font-size:20px; font-weight:800; letter-spacing:-1.3px; text-decoration:none; white-space:nowrap; }
.site-header nav { display:flex; align-items:center; gap:24px; margin-left:auto; }
.nav-link { padding:9px 0; border:0; background:transparent; color:var(--muted); font-size:13px; white-space:nowrap; }
.nav-link:hover,.nav-link.active { color:var(--ink); text-decoration:underline; text-underline-offset:4px; }
.nav-link.active { font-weight:700; }
.header-actions { display:flex; align-items:center; gap:16px; }
.workspace { width:100%; }
main { width:calc(100% - 48px); max-width:1052px; margin:0 auto; padding:78px 0 88px; min-height:calc(100vh - 124px); }
footer { border-top:1px solid var(--line); padding:22px 24px; display:flex; justify-content:space-between; gap:20px; color:var(--muted); font-size:12px; line-height:1.5; }
footer span { color:var(--ink); }
.button { display:inline-flex; align-items:center; justify-content:center; gap:14px; min-height:46px; padding:12px 20px; border:1px solid var(--ink); border-radius:0; font-size:14px; font-weight:400; line-height:1.3; text-decoration:none; }
.button-dark { background:var(--ink); color:#fff; }
.button-dark:hover:not(:disabled) { background:#333; }
.button-outline,.button-light { background:#fff; color:var(--ink); }
.button-outline:hover:not(:disabled),.button-light:hover:not(:disabled) { background:var(--ink); color:#fff; }
.button-small { min-height:35px; padding:7px 12px; font-size:12px; }
.site-header .button { min-height:34px; padding:7px 12px; font-size:12px; }
.site-header #top-auth { padding:8px 0; border:0; background:none; color:var(--ink); text-decoration:underline; text-underline-offset:3px; }
.full-width { width:100%; }
.text-button { background:none; border:0; color:var(--ink); padding:10px 0; font-size:14px; text-decoration:underline; text-underline-offset:3px; }
.hero { margin-bottom:50px; }
.hero h1,.detail-heading h1 { max-width:750px; margin:0 0 27px; font-size:74px; font-weight:700; letter-spacing:-.07em; line-height:.93; overflow-wrap:anywhere; }
.hero h1 em { font:inherit; }
.hero p { max-width:650px; margin:0; font-size:19px; line-height:1.45; color:var(--ink); }
.eyebrow { display:block; margin-bottom:16px; color:var(--muted); font-size:13px; line-height:1.4; font-weight:400; }
.eyebrow:empty { display:none; }
.hero-illustration,.brand-mark,.empty-symbol,.banner:after { display:none; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:46px 0 14px; }
.section-heading h2 { margin:0; font-size:19px; font-weight:700; letter-spacing:-.04em; }
.section-heading .muted { margin:0; font-size:13px; }
.muted { color:var(--muted); font-size:14px; line-height:1.5; }
.project-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.project-card { position:relative; min-width:0; border:1px solid var(--line); background:#fff; }
.project-card-link { position:relative; display:flex; flex-direction:column; min-height:220px; height:100%; width:100%; padding:23px; border:0; border-radius:0; text-align:left; text-decoration:none; background:transparent; color:var(--ink); }
.project-card-link:hover { background:var(--ink); color:#fff; }
.project-card-link:focus-visible { outline-offset:-5px; }
.project-card-link:hover:focus-visible { outline-color:#fff; }
.project-card-type { font-size:12px; color:var(--muted); }
.project-card-arrow { position:absolute; top:18px; right:21px; font-size:24px; line-height:1; }
.project-card-body { margin-top:auto; padding-top:35px; }
.project-card h3 { margin:0 0 12px; font-size:28px; font-weight:700; line-height:1.1; letter-spacing:-.055em; overflow-wrap:anywhere; }
.project-card-meta { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:13px; line-height:1.5; }
.project-card-bottom { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-top:25px; color:var(--muted); font-size:12px; line-height:1.5; }
.project-card-link:hover .project-card-meta,.project-card-link:hover .project-card-bottom,.project-card-link:hover .project-card-type { color:#ccc; }
.project-card-link:hover .tiny-badge { color:#fff; border-color:#777; }
.tiny-badge { display:inline-flex; align-items:center; padding:3px 6px; border:1px solid #aaa; border-radius:0; background:transparent; font-size:11px; line-height:1.3; color:var(--ink); }
.tiny-badge.pending { border-style:dashed; color:var(--muted); }
.creator-dot { display:none; }
.empty-state { grid-column:1/-1; padding:30px; border:1px solid var(--line); background:#fff; text-align:left; }
.empty-state h2 { margin:0 0 12px; font-size:26px; font-weight:700; letter-spacing:-.05em; line-height:1.15; }
.empty-state p { max-width:580px; margin:0 0 24px; font-size:15px; color:var(--muted); line-height:1.5; }
.banner { display:flex; align-items:center; justify-content:space-between; gap:28px; margin-top:52px; padding-top:28px; border-top:1px solid var(--line); background:#fff; }
.banner h2 { margin:0 0 10px; font-size:26px; font-weight:700; letter-spacing:-.05em; }
.banner p { max-width:600px; margin:0; font-size:15px; line-height:1.5; color:var(--muted); }
.banner .button { flex-shrink:0; }
.dialog { position:fixed; width:min(520px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); padding:36px; border:1px solid var(--ink); border-radius:0; background:#fff; color:var(--ink); overflow:auto; box-shadow:none; }
.dialog::backdrop { background:rgb(0 0 0 / 25%); }
.dialog h2 { margin:0 25px 16px 0; font-size:36px; line-height:1; font-weight:700; letter-spacing:-.06em; }
.dialog>.muted { margin:0 0 28px; }
.close-button { position:absolute; top:12px; right:13px; padding:4px 8px; border:0; background:none; color:var(--ink); font-size:25px; line-height:1; }
form label,form legend { display:block; margin-bottom:9px; font-size:15px; font-weight:700; line-height:1.4; }
input:not([type=radio]),textarea { width:100%; min-height:46px; margin-bottom:20px; padding:12px; border:1px solid var(--ink); border-radius:0; background:#fff; color:var(--ink); font-size:15px; }
input::placeholder { color:#737373; }
.license-options { padding:0; margin:7px 0 0; border:0; }
.radio-card { display:flex; align-items:flex-start; gap:12px; margin:-1px 0 0; padding:17px 15px; border:1px solid var(--line); cursor:pointer; }
.radio-card:has(input:checked) { background:var(--ink); color:#fff; }
.radio-card input { flex-shrink:0; margin:3px 0 0; accent-color:#090909; }
.radio-card:has(input:checked) input { accent-color:#fff; }
.radio-card strong { display:block; margin-bottom:5px; font-size:15px; font-weight:700; }
.radio-card small { display:block; color:var(--muted); font-size:13px; font-weight:400; line-height:1.45; }
.radio-card:has(input:checked) small { color:#ddd; }
.field-note { margin:15px 0 24px; color:var(--muted); font-size:12px; line-height:1.5; }
.form-error { padding:12px; border:1px solid #b32020; color:#a31212; font-size:14px; line-height:1.5; background:#fff; overflow-wrap:anywhere; }
.notice { padding:14px; border:1px solid #aaa; color:var(--muted); background:#fff; font-size:14px; line-height:1.5; }
.claude-network-note { margin:22px 0; overflow-wrap:anywhere; }
.claude-network-note>strong { color:var(--ink); }
.claude-network-note p { margin:7px 0 0; }
.toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); z-index:100; max-width:calc(100vw - 32px); padding:14px 20px; border:1px solid var(--ink); border-radius:0; color:#fff; background:var(--ink); font-size:14px; line-height:1.5; }
.toast.error { background:#a31212; border-color:#a31212; }
.loading-state { padding:50px 0; color:var(--muted); font-size:15px; }
.back-link { display:inline-flex; align-items:center; gap:8px; margin-bottom:35px; padding:0; border:0; color:var(--muted); background:none; font-size:13px; text-decoration:underline; text-underline-offset:3px; }
.detail-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:30px; margin-bottom:44px; }
.detail-heading h1 { font-size:60px; margin-bottom:22px; }
.detail-heading>.button { flex-shrink:0; margin-top:8px; }
.detail-meta { display:flex; align-items:center; flex-wrap:wrap; gap:14px; color:var(--muted); font-size:13px; line-height:1.5; }
.detail-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr); gap:28px; align-items:start; }
.panel { margin-bottom:28px; padding:25px; border:1px solid var(--line); background:#fff; }
.panel h2 { margin:0 0 14px; font-size:22px; line-height:1.15; font-weight:700; letter-spacing:-.045em; }
.panel>p { margin:0 0 22px; color:var(--muted); font-size:14px; line-height:1.55; }
.upload-zone { padding:29px 18px; border:1px dashed #888; background:#fff; text-align:center; }
.upload-zone.dragging { outline:2px solid var(--ink); outline-offset:-2px; background:#f3f3f3; }
.upload-symbol { display:block; margin-bottom:12px; font-size:28px; }
.upload-zone strong { display:block; margin-bottom:10px; font-size:18px; font-weight:700; letter-spacing:-.035em; }
.upload-zone small { display:block; margin-bottom:20px; color:var(--muted); font-size:13px; line-height:1.5; }
.upload-zone input[type=file] { position:absolute; width:1px; height:1px; min-height:0; padding:0; border:0; clip-path:inset(50%); overflow:hidden; }
.file-name { margin:15px 0 0; font-size:13px; overflow-wrap:anywhere; }
.upload-settings { margin-top:24px; }
.upload-settings input { margin-bottom:12px; }
.upload-settings .button { margin-top:15px; }
.step-number { display:inline-flex; align-items:center; justify-content:center; width:25px; height:25px; flex-shrink:0; border:1px solid var(--line); font-size:12px; }
.agent-step { display:flex; align-items:center; gap:12px; margin:17px 0; color:var(--muted); font-size:14px; line-height:1.5; }
.agent-step p { margin:0; }
.instructions-area { min-height:200px; resize:vertical; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-size:12px; line-height:1.5; background:#fafafa; }
.instructions-box { margin-top:24px; }
.instructions-box label { display:block; margin-bottom:10px; font-size:14px; font-weight:700; }
.expiry-note { font-size:12px; color:var(--muted); line-height:1.5; }
.published-link { display:block; margin:16px 0 22px; font-size:14px; line-height:1.6; overflow-wrap:anywhere; }
.version-list { list-style:none; margin:0; padding:0; }
.version-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 0; border-top:1px solid #aaa; }
.version-info { min-width:0; }
.version-info strong { display:block; font-size:14px; font-weight:700; line-height:1.5; overflow-wrap:anywhere; }
.version-info small { display:block; margin-top:6px; color:var(--muted); font-size:12px; line-height:1.5; }
.version-actions { display:flex; align-items:center; flex-shrink:0; gap:15px; }
.version-actions a { font-size:13px; }
.version-actions .button { min-height:32px; padding:7px 10px; font-size:12px; }
.save-list { display:grid; gap:16px; }
.save-row { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px; border:1px solid var(--line); }
.save-row h3 { margin:0 0 12px; font-size:20px; font-weight:700; letter-spacing:-.04em; }
.save-row p { margin:0; font-size:13px; color:var(--muted); line-height:1.5; }
.error-state { padding:25px; border:1px solid #a31212; }
.error-state h2 { margin:0 0 14px; font-size:24px; font-weight:700; letter-spacing:-.04em; }
.error-state p { font-size:14px; color:var(--muted); line-height:1.5; overflow-wrap:anywhere; }
.inline-success { padding:16px; margin-bottom:28px; border:1px solid var(--line); font-size:14px; line-height:1.6; }
.inline-success a { font-weight:700; }
.auth-tabs { display:flex; margin:0 0 26px; border:1px solid var(--line); }
.auth-tab { flex:1; min-height:42px; padding:10px; border:0; border-radius:0; background:#fff; color:var(--ink); font-size:14px; }
.auth-tab+.auth-tab { border-left:1px solid var(--line); }
.auth-tab.active { background:var(--ink); color:#fff; }
.auth-tab:hover:not(.active) { background:#f2f2f2; }
.auth-guest-note { border-top:1px solid #aaa; padding-top:17px; margin-bottom:0; }
.password-note { margin-top:-10px; }
.profile-password { min-width:0; margin:9px 0 20px; padding:22px 0 0; border:0; border-top:1px solid #aaa; }
.profile-password legend { float:left; width:100%; margin-bottom:20px; }
.profile-password legend+* { clear:both; }
input[readonly] { background:#f7f7f7; }
.secondary-copy-action { margin-left:20px; }
.copy-feedback { color:var(--muted); font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.manual-copy { margin-top:20px; }
.manual-copy label { display:block; font-size:13px; font-weight:700; margin-bottom:10px; }
.manual-copy input { font-size:12px; margin-bottom:0; }
.clipboard-helper { position:fixed; top:0; left:0; width:1px; height:1px; min-height:0; padding:0; opacity:.01; pointer-events:none; }
.site-header #top-auth { display:block; max-width:140px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media(max-width:900px) {
  .site-header { gap:24px; flex-wrap:wrap; padding-top:14px; padding-bottom:14px; }
  .site-header nav { order:3; margin:0; width:100%; gap:24px; }
  .header-actions { margin-left:auto; }
  main { padding-top:58px; }
  .hero h1 { font-size:64px; }
  .project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .detail-layout { grid-template-columns:minmax(0,1fr); }
  .detail-side { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
  .detail-side .panel { margin-bottom:0; }
}
@media(max-width:600px) {
  .site-header { gap:17px; padding:15px 20px 10px; }
  .brand { font-size:20px; }
  .header-actions { gap:12px; }
  .site-header nav { gap:23px; }
  .nav-link { font-size:12px; }
  .site-header .button { font-size:11px; padding:7px 9px; }
  .site-header #top-auth { max-width:105px; }
  main { width:calc(100% - 40px); padding:47px 0 62px; }
  .hero { margin-bottom:36px; }
  .hero h1,.detail-heading h1 { font-size:48px; line-height:.98; margin-bottom:22px; }
  .hero p { font-size:17px; line-height:1.45; }
  .section-heading { gap:15px; margin-top:34px; }
  .section-heading h2 { font-size:18px; }
  .section-heading .muted { font-size:12px; }
  .project-grid { grid-template-columns:1fr; }
  .project-card-link { min-height:190px; padding:21px; }
  .project-card h3 { font-size:26px; }
  .banner { display:block; margin-top:38px; }
  .banner .button { margin-top:22px; }
  footer { padding:20px; font-size:11px; }
  .dialog { padding:30px 23px; }
  .dialog h2 { font-size:32px; }
  .empty-state { padding:24px; }
  .detail-heading { display:block; margin-bottom:30px; }
  .detail-heading>.button { margin-top:22px; }
  .detail-meta { gap:10px; font-size:12px; }
  .panel { padding:22px; margin-bottom:22px; }
  .panel h2 { font-size:21px; }
  .detail-side { display:block; }
  .detail-side .panel { margin-bottom:22px; }
  .version-row { align-items:flex-start; flex-direction:column; gap:12px; }
  .version-actions { align-self:flex-end; }
  .save-row { align-items:flex-start; flex-direction:column; gap:15px; }
}
@media(max-width:360px) {
  .brand { font-size:18px; }
  .site-header { padding-left:16px; padding-right:16px; }
  .site-header nav { gap:18px; }
  main { width:calc(100% - 32px); }
  .hero h1,.detail-heading h1 { font-size:42px; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior:auto!important; } }
