:root{color-scheme:dark;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#edf2fb;background:#0b101a;font-synthesis:none;--accent:#9aafff;--muted:#a0aec3;--line:#29384c}*{box-sizing:border-box}body{margin:0;min-width:280px}button,a,textarea,[contenteditable]{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;min-height:44px;border:0;border-radius:9px;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #8ba4ff;outline-offset:3px}button:not(:disabled):active{transform:translateY(1px)}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round;flex:none}.topbar{max-width:1280px;margin:auto;padding:27px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{text-decoration:none;color:#edf2fb;font-size:25px;font-weight:750;letter-spacing:-1px;display:flex;align-items:center}.brand-mark{font-family:ui-monospace,monospace;letter-spacing:-3px;font-size:22px;background:#9aafff;color:white;width:37px;height:37px;display:grid;place-items:center;padding-right:4px;border-radius:10px;margin-right:12px}.brand-period{color:var(--accent)}.tool-tag{font:600 12px ui-monospace,monospace;letter-spacing:1.3px;color:var(--muted)}main{max-width:1280px;margin:auto;padding:40px 40px 0}.intro{margin-bottom:25px}.intro h1{font-size:30px;line-height:1.2;letter-spacing:-1px;margin:0 0 10px;font-weight:700}.intro p{font-size:16px;color:var(--muted);margin:0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:stretch}.panel{border:1px solid var(--line);border-radius:16px;overflow:hidden;min-width:0;display:flex;flex-direction:column;background:#121b29;box-shadow:0 5px 20px #00000020}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 22px;min-height:70px;border-bottom:1px solid var(--line)}h2{font-size:16px;display:flex;align-items:center;gap:12px;margin:0;font-weight:650}.step{font:500 12px ui-monospace,monospace;color:#a0aec3;border:1px solid var(--line);border-radius:5px;padding:4px}.quiet{color:var(--muted);background:transparent;padding:0 4px;min-height:36px}.input-tools{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:18px 22px 6px;flex-wrap:wrap}.secondary{background:#1e2c48;border:1px solid #384e72;color:#b2c4ff;padding:0 12px}.secondary:not(:disabled):hover{background:#293c60}.text-button{background:transparent;color:var(--muted);font-weight:500;padding:0}.text-button:hover{color:var(--accent)}#editor{flex:1;min-height:300px;max-height:500px;overflow:auto;padding:22px;font-size:16px;line-height:1.65;overflow-wrap:anywhere;outline:none;white-space:normal}#editor[data-mode="plain"]{white-space:pre-wrap}#editor:empty:before{content:attr(data-placeholder);color:#93a0b5;pointer-events:none}#editor:focus{box-shadow:inset 3px 0 0 #8ba4ff}#editor h1,#editor h2,#editor h3{display:block;line-height:1.3;letter-spacing:normal;margin:14px 0 10px;color:#edf2fb}#editor h1{font-size:25px}#editor h2{font-size:21px}#editor h3{font-size:18px}#editor p{margin:0 0 12px}#editor ul,#editor ol{padding-left:25px;margin:10px 0}#editor li{padding-left:2px}#editor a{color:#9aafff;pointer-events:none}#editor pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#1b2a40;padding:14px;border-radius:8px;font-size:14px}#editor code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#1b2a40;border-radius:4px;padding:2px 4px}#editor pre code{padding:0}#editor blockquote{margin:15px 0;border-left:3px solid #566da5;padding-left:16px;color:#adbbd1}#editor table{border-collapse:collapse;width:100%;font-size:14px}#editor td,#editor th{border:1px solid var(--line);padding:7px;text-align:left}#editor input[type="checkbox"]{pointer-events:none}.panel-footer{padding:16px 22px;min-height:58px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;color:var(--muted)}.footer-mark{font:18px Georgia,serif;color:#a0aec3}.output-panel{background:#080e18;color:#edf2fb;border-color:#29384c;box-shadow:0 10px 28px #00000030}.output-panel .panel-header{border-color:#29384c}.output-panel .step{border-color:#435776;color:#a0aec3}.extension{font:14px ui-monospace,monospace;color:#adbbd1}#output{flex:1;display:block;width:100%;min-height:367px;max-height:575px;resize:vertical;background:transparent;color:#dce7ff;border:0;outline:none;padding:22px;font:16px/1.75 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;tab-size:4}#output:focus{box-shadow:inset 3px 0 0 #708fff}#output::placeholder{color:#93a0b5;white-space:pre-wrap}.output-actions{border-top:1px solid #29384c;padding:16px 20px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.output-actions>span{color:#a0aec3;font-size:13px}.primary{background:#3559d9;color:white;padding:0 18px;min-height:46px}.primary:not(:disabled):hover{background:#4468e6}.primary.copied{background:#1d6f60}.notes{display:flex;justify-content:space-between;gap:30px;color:var(--muted);font-size:13px;line-height:1.6;margin-top:17px}.notes p{margin:0;max-width:520px}.notes p:last-child{text-align:right;max-width:285px}.notice{min-height:24px;font-size:14px;line-height:1.6;margin:12px 0;color:#b2c4ff}.notice.error{color:#ff9c98}.page-footer{max-width:1280px;margin:30px auto 0;padding:22px 40px 30px;display:flex;justify-content:space-between;gap:20px;color:#a0aec3;font-size:12px}.page-footer span:first-child{font:11px ui-monospace,monospace;letter-spacing:1.3px}@media(max-width:740px){.topbar{padding:18px 20px}.brand{font-size:23px}.tool-tag{font-size:10px;letter-spacing:.8px}main{padding:26px 16px 0}.intro{margin:0 4px 20px}.intro h1{font-size:25px}.workspace{grid-template-columns:1fr;gap:18px}.panel-header{padding:12px 18px;min-height:62px}.input-tools{padding:14px 18px 4px;gap:8px}.input-tools button{font-size:13px}#editor{min-height:190px;max-height:320px;padding:18px}.panel-footer{padding:12px 18px}#output{min-height:230px;max-height:500px;padding:18px;font-size:16px}.output-actions{padding:13px 16px;position:sticky;bottom:0;background:#080e18}.primary{padding:0 13px}.notes{flex-direction:column;gap:8px;margin:16px 5px}.notes p:last-child{text-align:left;max-width:none}.page-footer{margin-top:14px;padding:15px 20px calc(22px + env(safe-area-inset-bottom));flex-direction:column;gap:8px}.page-footer span:first-child{font-size:11px}}@media(prefers-reduced-motion:reduce){button:active{transform:none}}

[hidden]{display:none!important}.view{min-height:520px}.home-intro{max-width:700px;margin:28px 0 34px}.eyebrow{font:600 11px ui-monospace,monospace!important;letter-spacing:1.5px;color:var(--accent)!important;margin-bottom:12px!important}.app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:980px}.app-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;text-align:left;gap:18px;background:#121b29;border:1px solid var(--line);border-radius:18px;min-height:148px;padding:24px;box-shadow:0 5px 20px #00000020;color:#edf2fb}.app-card:hover{border-color:#526da4;box-shadow:0 12px 30px #00000040;transform:translateY(-1px)}.app-icon{width:58px;height:58px;border-radius:14px;display:grid;place-items:center;font:700 19px ui-monospace,monospace}.markdown-icon{background:#1e2c48;color:#b2c4ff}.author-icon{background:#332b22;color:#e7c596;font-family:Georgia,serif}.app-card-copy{display:flex;min-width:0;flex-direction:column;gap:7px}.app-card-copy strong{font-size:18px;letter-spacing:-.2px}.app-card-copy span{font-weight:400;font-size:14px;line-height:1.5;color:var(--muted)}.app-arrow{font-size:22px;color:#a0aec3}.app-heading{display:flex;align-items:flex-start;gap:20px;margin-bottom:25px}.app-heading .intro{margin:0}.back-button{background:#121b29;border:1px solid var(--line);color:#adbbd1;padding:0 13px;flex:none}.back-button:hover{color:var(--accent);border-color:#526da4}.verified-label{font:600 10px ui-monospace,monospace;letter-spacing:1px;color:#8cd9ba}.author-search-panel{max-width:900px}.author-search{padding:22px 22px 12px}.author-search label{display:block;font-size:13px;font-weight:650;margin-bottom:9px}.search-row{display:flex;gap:10px}.search-row input{min-width:0;flex:1 1 auto;height:52px;min-height:52px;border:1px solid #435776;border-radius:9px;padding:0 14px;font-family:inherit;font-size:18px;line-height:1.4;color:#edf2fb;background:#121b29;outline:none;-webkit-appearance:none}.search-row input:focus{border-color:#9aafff;box-shadow:0 0 0 3px #7894ff30}.author-status{font-size:13px;color:var(--muted);margin:0;padding:0 22px 15px}.author-status.error,.release-message.error{color:#ff9c98}.author-results{border-top:1px solid var(--line)}.author-results:empty{border:0}.author-result{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 22px;border-top:1px solid var(--line)}.author-result:first-child{border-top:0}.author-result-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.author-result-copy strong{font-size:15px}.author-result-copy span,.author-result-copy small{font-size:12px;color:var(--muted);line-height:1.45}.result-add{flex:none}.result-add.added{color:#8cd9ba;background:#15372e;border-color:#315b4d}.watchlist-section{margin-top:28px;max-width:1100px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.section-heading>div{display:flex;align-items:center;gap:11px}.section-heading>span{font-size:13px;color:var(--muted)}.author-watchlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.author-card{background:#121b29;border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 5px 20px #00000020}.author-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:19px 20px;border-bottom:1px solid var(--line)}.author-identity{display:flex;gap:11px;min-width:0}.verified-dot{width:25px;height:25px;display:grid;place-items:center;flex:none;border-radius:50%;background:#15372e;color:#8cd9ba;font-size:13px;font-weight:800}.author-identity-copy{min-width:0}.author-identity h3{font-size:17px;line-height:1.3;margin:1px 0 5px}.author-identity p{font-size:12px;color:var(--muted);line-height:1.45;margin:0}.author-card h4{font:600 10px ui-monospace,monospace;letter-spacing:1px;color:#a0aec3;margin:17px 20px 8px}.releases{padding:0 20px 18px}.release-list{list-style:none;margin:0;padding:0}.release-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:14px;padding:9px 0;border-top:1px solid #29384c}.release-list li:first-child{border-top:0}.release-list a{color:#b2c4ff;text-decoration:none;font-size:14px;line-height:1.4}.release-list a:hover{text-decoration:underline}.release-year{font:12px ui-monospace,monospace;color:#a0aec3}.release-message{font-size:13px;color:var(--muted);margin:10px 0}.releases .text-button{min-height:32px}.empty-state{border:1px dashed #384a63;border-radius:16px;text-align:center;padding:42px 20px;background:#101824}.empty-state[hidden]{display:none}.empty-mark{width:45px;height:45px;display:grid;place-items:center;margin:0 auto 12px;border-radius:12px;background:#332b22;color:#e7c596;font:700 17px Georgia,serif}.empty-state h3{font-size:17px;margin:0 0 7px}.empty-state p{max-width:470px;margin:0 auto;color:var(--muted);font-size:13px;line-height:1.55}.catalog-note{max-width:1100px;font-size:12px;color:var(--muted);margin:18px 0}.catalog-note a{color:#b2c4ff}.remove-author{font-size:12px;min-height:30px}
@media(max-width:740px){.view{min-height:420px}.home-intro{margin:12px 4px 24px}.app-grid,.author-watchlist{grid-template-columns:1fr}.app-card{min-height:126px;padding:19px;gap:14px}.app-icon{width:50px;height:50px}.app-heading{gap:12px;margin:0 4px 20px}.app-heading .intro h1{font-size:24px}.back-button{padding:0 11px}.back-button span{display:none}.author-search-panel{border-radius:14px}.verified-label{font-size:9px;letter-spacing:.6px;text-align:right}.author-search{padding:18px 17px 10px}.search-row{flex-direction:column}.search-row input{flex:none;width:100%}.search-row button{width:100%;min-height:48px}.author-status{padding:0 17px 13px}.author-result{align-items:flex-start;padding:15px 17px;gap:10px}.result-add{padding:0 10px;font-size:12px}.watchlist-section{margin-top:23px}.author-card-header{padding:17px}.author-card h4{margin-left:17px}.releases{padding-left:17px;padding-right:17px}.section-heading{padding:0 3px}}

/* Shared editing behavior, including tools added after Author Watch. */
:where(input,textarea,select,[contenteditable="true"],[contenteditable="plaintext-only"]){font-family:inherit;font-size:16px}
:where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="range"]):not([type="color"])){min-height:52px;padding:12px 14px;line-height:1.4}
:where(input,textarea,select,[contenteditable="true"],[contenteditable="plaintext-only"]):focus-visible{outline:3px solid #8ba4ff;outline-offset:2px}
.search-row input{padding:12px 14px}.search-retry{align-self:flex-start;margin:0 22px 16px}.author-status{overflow-wrap:anywhere}
@media(max-width:740px) and (pointer:coarse){
  :where(input,textarea,select,[contenteditable="true"],[contenteditable="plaintext-only"]){font-size:18px}
  #editor,#output{font-size:18px}
  .search-retry{margin-left:17px}
}

/* Dark native controls, selection, and shared field surfaces across every app. */
body{background:#0b101a}
.brand-mark{padding:0;object-fit:cover;background:#0b101a;border:1px solid #29384c}
:where(input,textarea,select,[contenteditable="true"],[contenteditable="plaintext-only"]){color:#edf2fb;background-color:#0b1422;caret-color:#b2c4ff;accent-color:#9aafff}
:where(input,textarea)::placeholder{color:#93a0b5;opacity:1}
.search-row input{background:#0b1422}
#editor{background:#121b29}
::selection{background:#354d80;color:#ffffff}

/* Release dates and provenance remain readable on narrow phones. */
.release-copy{min-width:0}.release-source{display:block;color:var(--muted);font-size:11px;margin-top:4px}.release-year{max-width:160px;text-align:right;line-height:1.5;overflow-wrap:anywhere}.release-refresh{min-height:44px!important}.release-message{line-height:1.6}
@media(max-width:480px){.release-list li{grid-template-columns:1fr;gap:5px;padding:13px 0}.release-year{text-align:left;max-width:none}}

.account-bar{display:flex;align-items:center;justify-content:flex-end;gap:16px;padding:8px max(20px,calc((100vw - 1200px)/2));border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}.account-bar button{min-height:44px}
#account-dialog{width:min(460px,calc(100vw - 32px));max-height:90dvh;overflow:auto;box-sizing:border-box;background:#121b29;color:#edf2fb;border:1px solid var(--line);border-radius:20px;padding:24px}#account-dialog::backdrop{background:#000a}.account-dialog-header{display:flex;justify-content:space-between;gap:12px;align-items:center}.account-dialog-header h2{font-size:22px;margin:0}.account-dialog-header button{min-height:44px}#account-dialog p{font-size:14px;line-height:1.6;color:var(--muted)}#account-dialog label{display:block;font-size:14px;margin:16px 0 8px}#account-dialog input{box-sizing:border-box;width:100%;min-height:52px;font-size:16px;padding:12px;background:#0b1422;color:#edf2fb;border:1px solid var(--line);border-radius:10px}.account-actions{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.account-actions button{flex:1;min-height:48px}#account-import{width:100%;white-space:normal;min-height:52px}#account-dialog .error{color:#ff9c98}#account-password-form button{margin-top:16px;min-height:48px}

#account-dialog [hidden]{display:none!important}
/* One app header, with account and navigation controls in a disclosure menu. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.topbar{position:relative;gap:12px}.brand{min-width:0;gap:0!important}.brand-mark{margin-right:12px}#brand-title{font-size:clamp(22px,5.8vw,30px);white-space:nowrap}.menu-toggle{flex:none;width:48px;height:48px;background:#121b29;border:1px solid var(--line);color:#edf2fb}.menu-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.site-menu{position:absolute;right:20px;top:calc(100% - 8px);width:min(280px,calc(100vw - 40px));z-index:20;padding:10px;border:1px solid var(--line);border-radius:14px;background:#121b29;box-shadow:0 18px 45px #0008}.site-menu button{display:flex;width:100%;justify-content:flex-start;min-height:48px;padding:12px;background:transparent;color:#edf2fb;text-align:left}.site-menu button:hover{background:#202e46}.site-menu span{display:block;padding:10px 12px;color:var(--muted);font-size:12px;line-height:1.5}.menu-divider{border-top:1px solid var(--line);margin:6px 0}
.author-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;align-items:start;max-width:1200px;margin:8px auto}.author-sidebar{min-width:0}.author-sidebar h2{font-size:15px}.author-sidebar .section-heading{gap:8px}.author-sidebar .section-heading span{font-size:12px}.author-filters{display:flex;flex-direction:column;gap:6px}.author-filter-row{display:flex;align-items:center;gap:4px}.author-filter{background:transparent;color:#a0aec3;justify-content:flex-start;text-align:left;padding:12px;min-height:48px;flex:1;min-width:0;overflow-wrap:anywhere}.author-filter[aria-pressed=true]{background:#202e46;color:#c4d1ff}.author-filter:hover{background:#162237}.author-filter-row .remove-author{flex:none;width:44px;height:44px;font-size:20px}.author-add{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}.author-add summary{cursor:pointer;min-height:44px;padding:12px 0;color:#b2c4ff;font-size:14px;font-weight:600}.author-add .panel-header{display:none}.author-add .author-search-panel{box-shadow:none;border:0;background:transparent;margin:0}.author-add .author-search{padding:8px 0}.author-add .search-row{display:flex;flex-direction:column;gap:10px}.author-add .search-row input,.author-add .search-row button{width:100%;min-width:0}.author-add .author-status{margin:10px 0}.author-add .author-results{padding:0}.author-add .author-result{flex-direction:column;align-items:stretch}.author-add label{font-size:13px}.watchlist-section{margin:0;min-width:0;max-width:none}.feed-heading{align-items:center}.feed-heading .eyebrow{margin:0 0 6px;font-size:10px}.feed-heading>div{display:block}.feed-heading h2{font-size:24px;line-height:1.3;overflow-wrap:anywhere}.feed-heading button{font-size:12px;padding:10px 14px}.release-feed{background:#121b29;border:1px solid var(--line);border-radius:16px;overflow:hidden}.release-feed:empty{display:none}.release-feed>.releases{padding:4px 22px}.release-feed .release-list li{padding:18px 0}.release-feed .release-list a{font-size:17px;font-weight:600}.release-authors{display:flex;flex-wrap:wrap;gap:0 12px;margin-top:3px}.release-author-link{background:transparent;color:var(--muted);font-size:13px;font-weight:400;padding:0;min-height:44px;text-align:left;justify-content:flex-start}.release-author-link:hover{color:#c4d1ff;text-decoration:underline}.feed-more{margin:4px 22px 20px}.release-feed>.release-message{padding:16px}.catalog-note{margin:24px auto;max-width:1200px}
@media(max-width:700px){.author-layout{grid-template-columns:1fr;gap:24px}.author-filters{max-height:220px;overflow:auto}.author-sidebar{border-bottom:1px solid var(--line);padding-bottom:16px}.feed-heading{gap:12px}.feed-heading h2{font-size:22px}.feed-heading button{max-width:145px}.author-add .search-row{flex-direction:row}.author-add .search-row input{flex:1;min-width:0}.author-add .search-row button{width:auto;flex:none}.brand-mark{width:32px;height:32px;margin-right:9px}.release-feed>.releases{padding:2px 16px}.author-sidebar .section-heading{margin-bottom:6px}.author-add{margin-top:8px;padding-top:4px}}

.release-audio{display:block;font-size:13px!important;font-weight:400!important;margin-top:8px}.release-author-credit{display:inline-block;color:var(--muted);padding:12px 0;margin-right:12px}
