
.project-disclosure{margin-block:24px 32px;border:0;border-radius:12px;background:var(--surface)}.project-disclosure>summary{display:flex;align-items:center;gap:12px;padding:15px 18px;cursor:pointer;list-style:none;border-radius:12px;color:var(--text);user-select:none}.project-disclosure>summary::-webkit-details-marker{display:none}.project-disclosure>summary::before{display:none}.project-disclosure>summary:hover{background:var(--soft)}.project-disclosure>summary>svg{width:18px;height:18px;flex-shrink:0}.project-disclosure>summary>svg:last-child{margin-inline-start:auto;transition:transform .15s}.project-disclosure[open]>summary>svg:last-child{transform:rotate(180deg)}.project-disclosure strong{display:block;font-size:13px}.project-disclosure small{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.7}.project-disclosure>.project-stage{margin:0;padding:18px;border:0;box-shadow:none;background:transparent}
.brand-playground{margin-bottom:72px;scroll-margin-top:110px}.brand-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:22px}.brand-section-heading h2{font-size:29px;line-height:1.45;margin:8px 0 0;letter-spacing:-.025em}html[lang=ar] .brand-section-heading h2{letter-spacing:0}.brand-section-heading>p{font-size:13px;line-height:1.9;max-width:44ch;margin:0;color:var(--muted)}
.brand-playground .project-stage{border:0;border-radius:18px;padding:20px;box-shadow:none}.brand-playground .project-top{margin-bottom:14px}.brand-playground .project-workspace{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);gap:28px}.brand-playground .project-screen{height:304px}.brand-playground .project-inspector{display:flex;flex-direction:column;padding-top:8px}.brand-playground .project-panel{min-height:190px;padding-top:20px}.brand-playground .project-bottom{margin-top:auto}.brand-playground .project-privacy{margin-top:8px}.brand-playground-links{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:16px}.brand-playground-links a{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.brand-playground-links svg{width:15px;height:15px}
.signature-result{min-width:0;margin:0;scroll-margin-top:100px}.signature-result .loaderly-player{border-radius:16px;border-color:var(--line);background:var(--bg)}
.signature-result .lp-stage{border-radius:16px;overflow:hidden}.signature-result .lp-big-play{width:58px;height:58px;opacity:0;transition:opacity .15s}
.signature-result .lp-stage:hover .lp-big-play,.signature-result .loaderly-player:focus-within .lp-big-play{opacity:1}
.signature-result .lp-controls{background:var(--bg);color:var(--text);padding:12px 0 2px}.signature-result .lp-icon-button,.signature-result .lp-text-button{color:var(--text)}
.signature-result .lp-time{color:var(--text)}.signature-result .lp-time span{color:var(--muted)}
.signature-result .lp-seek{--lp-track:var(--line)}
.signature-result figcaption{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 18px;font-size:12px;color:var(--muted);margin-top:12px}
.signature-result figcaption a{display:inline-flex;align-items:center;gap:6px}.signature-result figcaption svg{width:14px;height:14px}
.demo-listen{background:var(--surface);color:var(--text);border:0}.demo-listen h3,.demo-listen .eyebrow{color:var(--text)}
.demo-audition{background:var(--surface);color:var(--text)}
.demo-listen-copy>p,.demo-listen .demo-small,.demo-sample-name,.demo-time{color:var(--muted)}
.demo-sounds{background:var(--bg);border-color:var(--line)}.demo-sounds button{color:var(--muted);border-color:transparent}
.demo-sounds button:hover{background:var(--soft);color:var(--text);border-color:transparent}
.demo-sounds button[aria-pressed=true]{background:var(--green);color:var(--bg);border-color:transparent}
.demo-transport button{background:var(--bg);color:var(--text);border-color:var(--line)}
.demo-transport button:hover{background:var(--soft);color:var(--text);border-color:var(--muted)}
.demo-transport #demo-toggle{background:var(--green);color:var(--bg);border-color:transparent}
.demo-transport #demo-toggle:hover{background:color-mix(in srgb,var(--green) 88%,var(--text));color:var(--bg);border-color:transparent}
.demo-sounds button:focus-visible,.demo-transport button:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.demo-wave rect{fill:var(--muted);opacity:.8}.demo-wave rect.heard{fill:var(--text);opacity:1}.demo-wave line{stroke:var(--text)}
.demo-wave:focus-within{outline-color:var(--green)}.demo-project-note{border:0}.demo-try-link{background:transparent;padding-inline:0}
::selection{color:var(--text);background:color-mix(in srgb,var(--green) 28%,transparent);text-shadow:none}
html[data-theme] .download-button::selection,html[data-theme] .download-button ::selection{color:var(--text);background:var(--bg);text-shadow:none}
.microsoft-store-badge img{user-select:none}
.signature-result .lp-controls{border:0}.signature-result .lp-bar{min-height:40px}.signature-result .lp-seek-wrap{margin-bottom:4px}.signature-result figcaption{margin-top:7px}
.signature-result .lp-seek{background:linear-gradient(to right,var(--text) 0 var(--played,0%),var(--line) var(--played,0%) 100%)}
.signature-result .lp-volume-range{background:var(--muted)}
.signature-result .lp-seek::-webkit-slider-thumb,.signature-result .lp-volume-range::-webkit-slider-thumb{background:var(--text);border-color:var(--bg)}
.signature-result .lp-seek::-moz-range-thumb,.signature-result .lp-volume-range::-moz-range-thumb{background:var(--text);border-color:var(--bg)}
.signature-result .lp-icon-button:hover,.signature-result .lp-text-button:hover{background:var(--soft);border-color:var(--line)}
.signature-result .loaderly-player button:focus-visible{outline-color:var(--text)}

/* Original Loaderly Graphite layout. Current media fixes stay independent of the design trial. */
.topbar{width:calc(100% - 48px);max-width:1160px;height:68px;margin-inline:auto;padding-inline:4px;border:0;background:var(--bg);box-shadow:none;border-radius:0}
.topbar .brand{font-size:19px;gap:10px}.topbar .brand img{width:35px;height:35px}.topbar .brand small{font-size:8px}
.header-navigation{gap:20px}.header-navigation .top-link{font-size:13px}.header-navigation .top-link.current{font-weight:650;color:var(--text)}.header-navigation .search-button{min-height:38px;padding:8px 12px;font-size:12px}.header-actions{gap:12px}
.home .landing{padding-top:24px}.home-intro .hero{margin:18px auto 42px;padding-block:24px 12px;max-width:900px}.home-intro .hero h1{font-size:clamp(34px,3.7vw,51px);line-height:1.3;letter-spacing:-.04em;margin-block:18px}
html[lang=ar] .home-intro .hero h1{font-size:clamp(32px,3.6vw,50px);line-height:1.6;letter-spacing:0}.home-intro .hero .lead{font-size:17px;line-height:1.9;max-width:660px;margin-inline:auto}.home-intro .hero .eyebrow{font-size:11px}
.hero-actions{margin-top:24px}.hero-actions .secondary-button{font-size:13px}.hero-platforms{margin-top:16px}.home-shortcuts{border:0;padding-top:8px;margin-top:18px}
.home .demo-showcase{margin-top:28px}.home .demo-heading h2{font-size:29px}.home .demo-tour{border:0;border-radius:14px;box-shadow:none}.home .demo-story{padding:28px}.home .demo-listen{box-shadow:none}
.project-result .signature-result{max-width:480px}.project-result h2{font-size:29px}.signature-result .lp-big-play{opacity:1}.signature-result .lp-stage{border-radius:14px 14px 0 0}.signature-result .lp-controls{padding:10px 12px;background:var(--surface)}
/* Text reads on the page. Containers are reserved for controls and media. */
.home .landing{--section-space:80px}
.home .demo-showcase,.home .creation-highlights,.home .brand-playground,.home .landing-section{margin-block:var(--section-space)}
.home .home-intro+.demo-showcase{margin-top:40px}
.home .project-result{margin-block:var(--section-space)}
.home .section-intro,.home .demo-heading,.home .brand-section-heading{margin-bottom:28px;align-items:flex-end}
.home .section-intro h2,.home .demo-heading h2,.home .brand-section-heading h2,.home .project-result h2{font-size:clamp(26px,2.4vw,32px);line-height:1.4;letter-spacing:-.025em}
html[lang=ar] .home .section-intro h2,html[lang=ar] .home .demo-heading h2,html[lang=ar] .home .brand-section-heading h2,html[lang=ar] .home .project-result h2{line-height:1.65;letter-spacing:0}
.creation-feature,.creation-feature--reverse{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin-block:44px 60px;gap:56px;grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr)}
.creation-feature--reverse{grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr)}
.creation-feature h3{font-size:clamp(24px,2.3vw,30px);line-height:1.4;margin-block:12px 16px}
html[lang=ar] .creation-feature h3{line-height:1.65;letter-spacing:0}
.creation-feature p,.project-result p{font-size:15px;line-height:1.9;max-width:46ch}
.creation-feature figure{border:0;box-shadow:none;background:var(--surface);border-radius:12px}
.creation-feature .secondary-button{padding-inline:0;border:0;background:transparent;min-height:40px;justify-content:flex-start}
.creation-feature .secondary-button:hover{color:var(--text);text-decoration:underline;text-underline-offset:5px}
.creation-finish{border:0;padding:8px 0 0;gap:32px}.creation-finish h3{font-size:24px;line-height:1.6}.creation-finish p{font-size:14px}
.home .demo-listen{background:transparent}.home .demo-story{padding:12px 0}
@media(max-width:800px){.home .landing{--section-space:56px}.creation-feature,.creation-feature--reverse{grid-template-columns:1fr;gap:22px;margin-block:32px 44px}.creation-feature--reverse figure,.creation-feature--reverse .creation-feature-copy{grid-column:auto;grid-row:auto}.creation-feature p{max-width:62ch}.home .section-intro,.home .demo-heading,.home .brand-section-heading{align-items:flex-start;margin-bottom:22px}}
.guide-page .layout>main,.docs-overview .layout>main{background:transparent;border:0;box-shadow:none;border-radius:0}
#sidebar{top:88px;bottom:16px;padding:8px 16px 16px;border:0;background:var(--bg);border-radius:0;box-shadow:none;scrollbar-width:none;scrollbar-gutter:auto}
#sidebar::-webkit-scrollbar{display:none}#sidebar .nav-overview{margin-bottom:14px;font-size:12px;color:var(--muted);font-weight:500;padding:7px 12px}
#sidebar .nav-overview.active,#sidebar .nav-link.active{background:transparent;box-shadow:none;color:var(--text);font-weight:700}
#sidebar .nav-link.active{position:relative}#sidebar .nav-link.active::before{content:'';width:4px;height:4px;border-radius:50%;background:var(--text);position:absolute;inset-inline-start:-5px;top:50%;margin-top:-2px}
#sidebar .nav-link{padding:6px 10px}.nav-section{margin-block:2px 6px}.nav-section summary{padding:8px 12px;font-size:12px}.nav-section-links{border:0;margin-bottom:9px}
#sidebar .sidebar-footer{border:0;margin-top:12px;padding-top:8px}#sidebar .sidebar-action{background:transparent;border:0;min-height:34px;padding:7px 10px;justify-content:flex-start;font-size:12px}#sidebar .sidebar-action--download{background:var(--surface);color:var(--text)}
.overview-heading{gap:16px;margin-bottom:24px}.overview-heading .category-art{width:64px!important;height:64px!important}.overview-heading h1{font-size:34px}.overview-heading .lead{font-size:14px;max-width:70ch;line-height:1.85}
.topic-card,.topic-card--directory{background:transparent;border:0;border-radius:0;box-shadow:none;padding:20px 8px}.topic-card:hover,a.topic-card:hover{background:transparent;transform:none}.topic-grid--directory{gap:30px 42px}.topic-heading .category-art{width:46px;height:46px;margin:0}.topic-heading h2{font-size:18px}.topic-pages{border:0;padding-top:8px}.topic-card .topic-pages a{padding-block:8px}
.topic-card:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:8px}.start-banner{background:transparent;border:0}.reference-strip{border:0}.reading-progress{top:0}
.community-page-heading h1{font-size:34px}.community-page-heading p{font-size:14px}.catalog-card{box-shadow:none}.catalog-search>span:first-child,.catalog-sort>#catalog-sort-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.catalog-kinds [data-kind-count]{display:none}
.catalog-preview-toggle{position:absolute;bottom:12px;inset-inline-start:12px;width:34px;height:34px;display:grid;place-items:center;background:#151515c9;color:#eef1f5;border:1px solid #ffffff30;border-radius:8px}.catalog-preview-toggle svg{width:17px;height:17px}
.catalog-invitation{display:flex;align-items:center;gap:24px;padding:24px 8px;grid-column:1/-1}.catalog-invitation>img{width:56px;height:56px}.catalog-invitation h2{font-size:24px}.catalog-invitation p{font-size:13px}.catalog-invitation a{display:inline-flex;gap:8px;align-items:center;font-size:13px}.catalog-invitation svg{width:16px;height:16px}.catalog-card[data-selected=true]{outline:2px solid var(--green);outline-offset:3px}
html[lang=ar] .catalog-theme{direction:rtl}html[lang=ar] .catalog-mini-app{font-family:var(--font-arabic),var(--font-latin),sans-serif}.catalog-mini-title strong{display:inline-flex;align-items:center;gap:5px}.catalog-mini-title strong img{width:13px;height:13px}.catalog-mini-title i{display:flex;gap:7px}.catalog-mini-title i svg{width:9px;height:9px}.catalog-mini-tile i svg{width:22px;height:22px}
@media(max-width:1000px){.header-navigation .search-button>span,.header-navigation .search-button .shortcut-chord{display:none}.header-navigation .search-button{padding:8px;min-width:36px;justify-content:center}.header-navigation{gap:14px}.topbar{gap:14px}}
@media(max-width:800px){.topbar{width:calc(100% - 32px);height:64px}.header-navigation .top-link{display:inline-flex!important;font-size:12px;gap:6px}.header-actions .language-switch{font-size:12px}.header-navigation{gap:12px}.brand>span{display:block}#sidebar{top:70px;bottom:0}.home .landing{padding-inline:24px}.home-intro .hero{margin-top:10px}.brand-section-heading{display:block}.brand-section-heading>p{margin-top:12px}.brand-playground .project-workspace{grid-template-columns:1fr}.brand-playground .project-panel{min-height:114px}.brand-playground .project-stage{padding:14px}.brand-playground .project-screen{height:290px}.topic-grid--directory{gap:22px}.project-result{gap:24px}}
@media(max-width:600px){.topbar{display:grid;grid-template-columns:1fr auto;grid-template-rows:48px 40px;height:92px;padding:0 0 4px;gap:0 8px}.topbar .brand{grid-column:1;grid-row:1}.topbar .brand>span{display:block}.topbar .brand small{display:none}.header-actions{grid-column:2;grid-row:1}.header-navigation{grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:center;margin:0;gap:24px}.header-navigation .search-button{order:3}.header-navigation .top-link{font-size:12px}.topbar .brand img{width:30px;height:30px}.topbar .brand{font-size:17px}.header-actions{gap:5px}#sidebar{top:96px;padding-top:12px}#nav-backdrop{top:92px}.home .landing{padding:20px 20px 0}.home-intro .hero{padding-top:8px;margin-bottom:26px}.home-intro .hero h1,html[lang=ar] .home-intro .hero h1{font-size:32px}.home-intro .hero .lead{font-size:14px}.hero-actions{gap:10px}.hero-actions .secondary-button{font-size:12px}.hero-platforms{gap:8px}.home-shortcuts{gap:4px 14px}.home .demo-heading h2{font-size:25px}.home .demo-story{padding:20px}.brand-section-heading h2{font-size:26px}.brand-playground-links{gap:12px 20px}.brand-playground .project-screen{height:260px}.project-result h2{font-size:26px}.overview-heading .category-art{display:none}.overview-heading h1{font-size:30px}.overview-search>.shortcut-chord{display:none}.topic-grid--directory{grid-template-columns:1fr}.topic-card--directory{padding-block:12px}.community-page-heading h1{font-size:29px}.catalog-invitation{gap:16px}.catalog-invitation h2{font-size:22px}.signature-result .lp-stage{border-radius:12px 12px 0 0}}

/* Sidebar destinations share a stable, high-contrast button treatment. */
#sidebar .sidebar-footer .sidebar-action{background:var(--surface);color:var(--text);text-decoration:none}
#sidebar .sidebar-footer .sidebar-action:hover,#sidebar .sidebar-footer .sidebar-action:focus-visible{background:var(--soft);color:var(--text)}
#sidebar .sidebar-footer .sidebar-action svg{color:currentColor;opacity:1}

/* Shared interaction styles use the original Loaderly Graphite palette. */
.topic-card,.release-card,.update-version,.update-entry,.catalog-card,.page-nav a{transition:background .18s,border-color .18s,box-shadow .18s}
.topic-card:hover,.page-nav a:hover{border-color:var(--green);background:var(--surface)}
.release-preview{margin:24px 0 80px;scroll-margin-top:110px}
.release-preview-heading{display:flex;align-items:end;justify-content:space-between;gap:24px}.release-preview-heading h2{margin:7px 0 0;font-size:30px;letter-spacing:-.035em}.release-preview-heading .text-action{display:flex;align-items:center;gap:8px;font-size:13px}
.release-preview-note{max-width:80ch;font-size:13px;line-height:1.85;margin:18px 0 26px}
.release-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.release-preview-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;overflow:hidden;display:flex;flex-direction:column}
.release-preview-image{display:block;background:var(--soft);padding:12px 12px 0}.release-preview-image img{display:block;width:100%;aspect-ratio:16/11;object-fit:cover;object-position:top;border:1px solid var(--line);border-radius:7px 7px 0 0}
.release-preview-copy{display:flex;flex-direction:column;align-items:start;padding:22px;flex:1}.release-preview-number{color:var(--green);font-size:11px;font-weight:650}.release-preview-copy h3{font-size:19px;margin:9px 0}.release-preview-copy p{font-size:13px;line-height:1.85;margin:0 0 22px}.release-preview-copy>a{display:flex;align-items:center;gap:10px;font-size:12px;margin-top:auto}.release-preview-copy svg{width:15px;height:15px}
.release-preview-card:hover,.release-preview-card:focus-within{border-color:var(--green);box-shadow:0 6px 22px #0000000c}
.release-preview-listen{display:inline-flex;align-items:center;gap:10px;margin-top:22px;font-size:12px}
.release-preview-image img{height:auto;max-height:240px;object-fit:contain}



.catalog-category{color:var(--green)}
@media(max-width:800px){.release-preview-grid{grid-template-columns:1fr}.release-preview-card{display:grid;grid-template-columns:1fr 1fr}.release-preview-image{padding:12px}.release-preview-image img{height:100%;object-fit:contain;border-radius:7px;aspect-ratio:auto}.release-preview-copy{padding:20px}.release-preview-heading{align-items:start;flex-direction:column;gap:12px}}
@media(max-width:520px){.release-preview{margin-bottom:48px}.release-preview-card{display:flex}.release-preview-image img{aspect-ratio:16/10;object-fit:cover;object-position:top}.release-preview-heading h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){.topic-card,.update-version,.update-entry,.catalog-card,.page-nav a{transition:none}}

/* One width contains the preview, playback controls and audio source row. */
.project-stage .project-output{--project-ratio:1;--project-preview-height:540px;width:min(100%,calc(var(--project-preview-height)*var(--project-ratio)));margin-inline:auto;container-type:inline-size}
.project-stage .project-output:has([data-format=portrait]){--project-ratio:.5625;--project-preview-height:640px}
.project-stage .project-output:has([data-format=landscape]){--project-ratio:1.777777778;--project-preview-height:410px}
.project-stage .project-screen{width:100%;height:auto;aspect-ratio:var(--project-ratio)}
@container (max-width:280px){.project-output .project-transport{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}.project-output .project-transport input{grid-column:1 / -1;grid-row:1;min-width:0;margin:0}.project-output .project-play{grid-column:1;grid-row:2;min-width:36px}.project-output .project-transport output{grid-column:2;grid-row:2;text-align:right}.project-output .project-source{flex-wrap:wrap;gap:4px 10px}.project-output .project-source>span{max-width:100%}}
.project-view-actions{display:flex;align-items:center;gap:10px;margin-inline-start:auto}.project-view-actions .project-expand{padding:7px 11px;font-size:11px;min-height:36px;border-radius:8px}.project-expand svg{width:16px;height:16px}
.project-preview-dialog{width:min(1120px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 28px);padding:18px;overflow:auto;background:var(--bg);color:var(--text)}
.project-preview-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.project-preview-dialog h2{font-size:17px;margin:0}.project-preview-dialog>header button{font-size:12px;min-height:40px}
.project-stage .project-preview-dialog .project-output{--project-preview-height:min(70dvh,800px)}
.project-preview-dialog .project-source{margin-bottom:0}.project-preview-dialog::backdrop{background:#000b;backdrop-filter:blur(4px)}
@media(max-width:700px){.brand-playground .project-workspace{grid-template-columns:1fr;gap:20px}.project-view-actions{gap:5px}.project-stage .project-live{font-size:10px}.project-preview-dialog{padding:12px}.project-stage .project-preview-dialog .project-output{--project-preview-height:max(100px,calc(100dvh - 205px))}}
