    @font-face { font-family:Manrope; font-style:normal; font-weight:400 750; font-display:swap; src:url('/fonts/manrope-latin-variable.woff2') format('woff2'); unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
    :root { --ink:#1b1d19; --muted:#60665a; --paper:#f5f3ed; --line:#d8dcd0; --lime:#b6ef5c; --green:#466326; --ease:cubic-bezier(.16,1,.3,1); --sheet-shadow:0 14px 26px -9px rgb(36 45 27 / .26),0 3px 6px rgb(36 45 27 / .06); }
    * { box-sizing:border-box; }
    [hidden] { display:none!important; }
    html { color-scheme:light; scrollbar-color:#9fa68f var(--paper); }
    body { margin:0; background:var(--paper); color:var(--ink); font-family:Manrope,"PingFang SC","Microsoft YaHei","Segoe UI",sans-serif; -webkit-font-smoothing:antialiased; }
    ::selection { background:var(--lime); color:var(--ink); }
    a { color:inherit; text-decoration:none; text-underline-offset:4px; }
    button { font:inherit; cursor:pointer; }
    a:focus-visible,button:focus-visible { outline:3px solid var(--green); outline-offset:5px; }
    .icon { width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
    .container { width:min(1200px,calc(100% - 80px)); margin-inline:auto; }
    .skip-link { position:absolute; z-index:2; top:12px; left:16px; padding:12px 18px; background:var(--ink); color:var(--paper); border-radius:6px; transform:translateY(-180%); }
    .skip-link:focus { transform:none; }
    .header { border-bottom:1px solid var(--line); }
    .header-inner { min-height:84px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
    .brand { display:flex; align-items:center; gap:20px; min-height:44px; }
    .brand-label { padding-left:20px; border-left:1px solid var(--line); color:var(--muted); font-size:14px; }
    .header-actions { display:flex; align-items:center; gap:26px; }
    .header-social { display:flex; align-items:center; gap:2px; margin-right:auto; flex-shrink:0; }
    .header-social a { display:grid; place-items:center; width:44px; height:44px; border-radius:8px; color:var(--ink); }
    .header-social svg { display:block; fill:currentColor; }
    .header-social a:hover { background:#e5ecd9; }
    .header-social a:focus-visible { outline:2px solid var(--green); outline-offset:2px; }
    @media(max-width:1000px) { .header-inner { flex-wrap:wrap; padding-block:12px; row-gap:4px; } }
    @media(max-width:680px) {
      .header-social { gap:0; margin-left:auto; margin-right:0; }
      .header-actions { flex-basis:100%; justify-content:flex-end; }
    }
    .official { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-size:14px; }
    .official:hover { color:var(--green); }
    .languages { display:flex; padding:3px; border:1px solid var(--line); border-radius:9px; }
    .languages button { min-height:44px; min-width:48px; padding:8px 13px; border:0; border-radius:6px; background:transparent; color:var(--muted); font-size:14px; }
    .languages button:hover { color:var(--ink); }
    .languages button[aria-pressed="true"] { background:var(--ink); color:var(--paper); }
    .intro { display:grid; grid-template-columns:1.2fr 1fr; align-items:center; gap:64px; padding:56px 0 46px; }
    h1 { margin:0; font-size:clamp(36px,4vw,52px); font-weight:650; letter-spacing:-.03em; line-height:1.18; text-wrap:balance; }
    .intro-copy { margin:0; max-width:46ch; color:var(--muted); font-size:16px; line-height:1.85; text-wrap:pretty; }
    .library-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-bottom:18px; margin-bottom:26px; border-bottom:1px solid var(--line); }
    .library-heading h2 { margin:0; font-size:18px; font-weight:650; }
    .library-heading span { font-size:14px; color:var(--muted); }
    .library-heading { margin-bottom:0; border-bottom:0; padding-bottom:16px; }
    .library-toolbar { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:26px; border-bottom:1px solid var(--line); }
    .view-tabs { display:flex; gap:4px; }
    .view-tabs button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:10px 14px; border:0; border-bottom:2px solid transparent; border-radius:6px 6px 0 0; background:transparent; font-size:14px; font-weight:500; color:var(--muted); white-space:nowrap; }
    .view-tabs button:hover { background:#eceee5; color:var(--ink); }
    .view-tabs button[aria-selected="true"] { border-bottom-color:var(--green); background:#eaf0df; color:var(--ink); font-weight:650; }
    .view-hint { margin:0; color:var(--muted); font-size:14px; line-height:1.6; text-wrap:pretty; }
    .resource-panel:focus-visible { outline:2px solid var(--green); outline-offset:8px; }
    .resource-panel[data-layout="feed"] .resource-grid { grid-template-columns:1fr; gap:0; }
    .resource-panel[data-layout="feed"] .resource { display:grid; grid-template-columns:156px minmax(0,1fr); grid-template-rows:auto 1fr auto; column-gap:30px; padding:26px 0; border-bottom:1px solid var(--line); }
    .resource-panel[data-layout="feed"] .resource:first-child { padding-top:0; }
    .resource-panel[data-layout="feed"] .resource:last-child { border-bottom:0; padding-bottom:0; }
    .resource-panel[data-layout="feed"] .preview { grid-column:1; grid-row:1/4; height:210px; padding:14px 12px; border-radius:10px; }
    .resource-panel[data-layout="feed"] .preview img { box-shadow:0 5px 10px -3px rgb(36 45 27 / .17); }
    .resource-panel[data-layout="feed"] .preview-format { display:none; }
    .resource-panel[data-layout="feed"] .preview-unavailable { font-size:14px; gap:8px; }
    .resource-panel[data-layout="feed"] .preview-unavailable small { display:none; }
    .resource-panel[data-layout="feed"] .resource-title { grid-column:2; grid-row:1; display:block; margin:3px 0 0; }
    .resource-panel[data-layout="feed"] .resource h3 { font-size:26px; }
    .resource-panel[data-layout="feed"] .resource-kind { margin-top:8px; }
    .resource-panel[data-layout="feed"] .resource-description { grid-column:2; grid-row:2; margin:12px 0 18px; max-width:68ch; }
    .resource-panel[data-layout="feed"] .resource-actions { grid-column:2; grid-row:3; justify-content:flex-start; }
    .resource-panel[data-layout="feed"] .html-download { margin-left:8px; }
    .table-scroll { overflow-x:auto; border:1px solid var(--line); border-radius:12px; scrollbar-color:#9fa68f #eeeee7; }
    .table-scroll:focus-visible { outline:3px solid var(--green); outline-offset:5px; }
    .resource-table { width:100%; min-width:1080px; border-collapse:collapse; text-align:left; font-size:14px; line-height:1.6; }
    .resource-table caption { text-align:left; }
    .resource-table th { padding:13px 20px; background:#eeeee7; color:var(--muted); font-weight:500; border-bottom:1px solid var(--line); white-space:nowrap; }
    .resource-table td { padding:16px 20px; vertical-align:middle; border-bottom:1px solid var(--line); }
    .resource-table tbody tr:last-child td { border-bottom:0; }
    .resource-table tbody tr:hover { background:#eeeee7; }
    .resource-table td:first-child { min-width:280px; width:30%; }
    .table-name { display:inline-flex; align-items:center; gap:9px; min-height:44px; font-size:16px; font-weight:650; }
    .table-name .icon { color:var(--green); }
    .table-name:hover { text-decoration:underline; }
    .resource-table .resource-kind { min-width:150px; margin:0; }
    .table-property { display:inline-block; padding-top:0; white-space:nowrap; }
    .table-actions { display:flex; align-items:center; gap:4px; padding-top:0; white-space:nowrap; }
    .table-actions .view,.table-actions .pdf { width:auto; flex:none; min-height:44px; padding:10px 12px; gap:7px; font-size:14px; }
    .table-actions .view { background:transparent; color:var(--ink); }
    .table-actions .view:hover { background:#e3e7d9; }
    .table-actions .view .icon { display:none; }
    .table-actions .pdf { background:#e6f1d4; }
    .table-actions .pdf:hover { background:var(--lime); }
    .table-actions .html-download { margin:0; padding:10px 8px; min-height:44px; font-size:14px; }
    .table-help { display:none; margin:14px 0 0; font-size:14px; line-height:1.6; color:var(--muted); }
    .resource-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
    .resource { min-width:0; display:flex; flex-direction:column; }
    .resource-title { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:8px 20px; margin-bottom:18px; }
    .resource h3 { margin:0; font-size:28px; line-height:1.25; font-weight:650; letter-spacing:-.025em; }
    .resource-kind { margin:0; font-size:14px; line-height:1.5; color:var(--muted); }
    .preview { position:relative; display:flex; align-items:center; justify-content:center; height:clamp(340px,31.5vw,420px); padding:28px 24px; background:#e5eadb; border-radius:14px; color:#50633e; }
    .resource:nth-child(2) .preview { background:#e8e5dd; color:#645b49; }
    .preview img { display:block; height:100%; width:auto; max-width:100%; object-fit:contain; background:white; box-shadow:var(--sheet-shadow); transition:transform .45s var(--ease),box-shadow .45s var(--ease); }
    .preview-format { position:absolute; top:15px; right:18px; font-size:13px; line-height:1.5; font-weight:500; }
    .preview-unavailable { display:grid; justify-items:center; gap:12px; text-align:center; font-size:16px; }
    .preview-unavailable .icon { width:40px; height:40px; stroke-width:1.2; }
    .preview-unavailable small { font-size:14px; }
    .resource-description { flex:1; margin:20px 0 22px; max-width:68ch; font-size:16px; line-height:1.8; color:var(--muted); text-wrap:pretty; }
    .resource-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
    .view,.pdf { display:inline-flex; justify-content:center; align-items:center; gap:10px; min-height:46px; padding:12px 18px; font-size:14px; font-weight:650; line-height:1.4; border-radius:7px; }
    .view { background:var(--ink); color:var(--paper); }
    .view:hover { background:#343a2e; }
    .pdf { background:var(--lime); color:var(--ink); }
    .pdf:hover { background:#a4e643; }
    .html-download { display:inline-flex; align-items:center; gap:5px; margin-left:auto; min-height:44px; padding:8px 0 8px 8px; color:var(--muted); font-size:14px; }
    .html-download:hover { color:var(--ink); text-decoration:underline; }
    .formats { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px 24px; margin:36px 0 32px; padding-top:22px; border-top:1px solid var(--line); color:var(--muted); font-size:14px; line-height:1.6; }
    .formats p { margin:0; }
    .footer { border-top:1px solid var(--line); }
    .footer-inner { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px 24px; min-height:80px; color:var(--muted); font-size:14px; }
    .footer p { margin:0; }
    .footer a { display:inline-flex; align-items:center; gap:8px; min-height:44px; }
    .footer a:hover { color:var(--ink); }
    .brand-logo { display:block; width:146px; height:32px; object-fit:contain; }
    .logos-section { padding-top:36px; margin-top:54px; margin-bottom:48px; border-top:1px solid var(--line); scroll-margin-top:24px; }
    #logos:focus-visible { outline:2px solid var(--green); outline-offset:8px; }
    .logos-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:34px; }
    .logos-heading h1,.logos-heading h2 { margin:0; font-size:32px; font-weight:650; letter-spacing:-.025em; }
    .logos-description { margin:12px 0 0; font-size:16px; line-height:1.8; color:var(--muted); }
    .logo-download-all { flex:none; }
    .logo-group { margin-top:30px; }
    .logo-group h2,.logo-group h3 { font-size:18px; font-weight:650; margin:0 0 16px; }
    .logo-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
    .logo-grid.pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .logo-card { min-width:0; }
    .logo-preview { position:relative; display:grid; place-items:center; height:188px; background:#fff; border:1px solid var(--line); border-radius:12px; }
    .logo-preview[data-surface="dark"] { background:var(--ink); border-color:var(--ink); color:var(--paper); }
    .logo-preview img { display:block; object-fit:contain; max-width:80%; }
    .logo-preview img[data-shape="horizontal"] { width:260px; height:auto; }
    .logo-preview img[data-shape="mark"] { width:80px; height:80px; }
    .logo-preview img[data-shape="app"] { width:100px; height:100px; }
    .logo-enlarge { position:absolute; right:14px; bottom:12px; color:var(--muted); }
    .logo-preview[data-surface="dark"] .logo-enlarge { color:#b5bba8; }
    .logo-preview:hover .logo-enlarge { color:var(--green); }
    .logo-preview[data-surface="dark"]:hover .logo-enlarge { color:var(--lime); }
    .logo-card h3,.logo-card h4 { margin:16px 0 0; font-size:16px; font-weight:650; line-height:1.5; }
    .logo-meta { margin:6px 0 8px; color:var(--muted); font-size:14px; line-height:1.6; }
    .logo-usage { margin:8px 0 12px; color:var(--muted); font-size:14px; line-height:1.7; }
    .logo-actions { display:flex; justify-content:space-between; flex-wrap:wrap; gap:0 10px; }
    .logo-actions a { display:inline-flex; align-items:center; gap:7px; min-height:44px; font-size:14px; }
    .logo-actions a:hover { color:var(--green); text-decoration:underline; }
    .logos-note { margin:28px 0 0; color:var(--muted); font-size:14px; line-height:1.8; }
    .logo-dialog { width:min(900px,calc(100% - 36px)); max-height:calc(100dvh - 36px); padding:24px; border:1px solid var(--line); border-radius:16px; background:var(--paper); color:var(--ink); }
    .logo-dialog::backdrop { background:rgb(27 29 25 / .65); }
    .logo-dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px; }
    .logo-dialog-heading h2 { margin:0; font-size:24px; line-height:1.4; font-weight:650; }
    .logo-dialog-heading form { margin:0; }
    .logo-close { display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid var(--line); border-radius:7px; background:transparent; color:var(--ink); }
    .logo-close:hover { background:#e5eadb; }
    .logo-dialog-canvas { display:grid; place-items:center; min-height:clamp(240px,43vh,420px); padding:32px 20px; background:white; border:1px solid var(--line); border-radius:12px; }
    .logo-dialog-canvas[data-surface="dark"] { background:var(--ink); border-color:var(--ink); }
    .logo-dialog-canvas img { display:block; object-fit:contain; max-width:100%; }
    .logo-dialog-canvas img[data-shape="horizontal"] { width:660px; height:auto; }
    .logo-dialog-canvas img[data-shape="mark"] { width:180px; height:180px; }
    .logo-dialog-canvas img[data-shape="app"] { width:200px; height:200px; }
    .logo-dialog-tools { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-top:18px; }
    .surface-toggle { display:flex; gap:4px; padding:3px; border:1px solid var(--line); border-radius:8px; }
    .surface-toggle button { min-height:44px; padding:8px 12px; border:0; border-radius:5px; background:transparent; color:var(--muted); font-size:14px; }
    .surface-toggle button[aria-pressed="true"] { color:var(--paper); background:var(--ink); }
    .logo-dialog-download { display:flex; align-items:center; flex-wrap:wrap; gap:16px; }
    .logo-raw { display:inline-flex; align-items:center; gap:7px; min-height:44px; font-size:14px; }
    .logo-raw:hover { text-decoration:underline; }
    .logo-dialog-filename { margin:16px 0 0; color:var(--muted); font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
    @media(max-width:900px) { .logo-grid { gap:20px; } .logo-actions { flex-direction:column; align-items:flex-start; } }
    @media(max-width:680px) {
      .brand-logo { width:137px; height:30px; }
      .logos-section { margin-top:36px; padding-top:28px; margin-bottom:32px; }
      #logos:focus-visible { outline:2px solid var(--green); outline-offset:8px; }
    .logos-heading { align-items:flex-start; flex-direction:column; gap:18px; margin-bottom:28px; }
      .logos-heading h1,.logos-heading h2 { font-size:28px; }
      .logo-grid,.logo-grid.pair { grid-template-columns:1fr; gap:26px; }
      .logo-preview { height:176px; }
      .logo-actions { flex-direction:row; align-items:center; }
      .logo-group { margin-top:30px; }
      .logo-dialog { padding:18px; }
      .logo-dialog-heading h2 { font-size:20px; }
      .logo-dialog-canvas { min-height:230px; padding:28px 16px; }
      .logo-dialog-tools { align-items:flex-start; }
      .logo-dialog-download { width:100%; justify-content:space-between; gap:10px; }
    }
    @media(forced-colors:active) { .surface-toggle button[aria-pressed="true"] { outline:2px solid Highlight; } }
    .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; }
    @media(hover:hover) and (prefers-reduced-motion:no-preference) { .preview:hover img,.preview:focus-visible img { transform:translateY(-5px); box-shadow:0 22px 36px -12px rgb(36 45 27 / .3),0 5px 9px rgb(36 45 27 / .06); } }
    @media(max-width:900px) {
      .container { width:calc(100% - 48px); }
      .intro { gap:32px; grid-template-columns:1fr 1fr; padding:40px 0 36px; }
      .resource-grid { gap:24px; }
      .resource-title { display:block; }
      .resource-kind { margin-top:8px; }
      .preview { height:340px; padding:25px 16px; }
      .preview-format { top:10px; right:12px; font-size:12px; }
      .view,.pdf { padding:12px 14px; }
      .html-download { margin-left:0; }
    }
    @media(max-width:680px) {
      .container { width:calc(100% - 36px); }
      .header-inner { min-height:76px; gap:14px; }
        .brand-label,.header-actions .official { display:none; }
      .header-actions { gap:0; }
      .languages button { padding-inline:11px; }
      .intro { grid-template-columns:1fr; gap:18px; padding:36px 0 30px; }
      h1 { font-size:clamp(32px,8vw,42px); }
      .intro-copy { max-width:40ch; line-height:1.8; }
      .library-heading { padding-bottom:16px; margin-bottom:22px; }
      .resource-grid { grid-template-columns:1fr; gap:38px; }
      .resource-title { display:flex; gap:6px 16px; margin-bottom:16px; }
      .resource h3 { font-size:26px; }
      .resource-kind { margin-top:0; }
      .preview { height:clamp(340px,96vw,420px); padding:28px 16px; }
      .preview-format { top:12px; right:14px; font-size:13px; }
      .resource-description { margin:18px 0; }
      .resource-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
      .view,.pdf { width:100%; padding-inline:12px; white-space:nowrap; }
      .html-download { grid-column:1/-1; justify-self:end; margin-left:0; }
      .formats { margin:30px 0 22px; gap:8px; }
      .footer-inner { padding-block:16px; min-height:72px; }
    }
    @media(max-width:900px) {
      .view-hint { max-width:34ch; }
      .resource-panel[data-layout="feed"] .resource { grid-template-columns:130px minmax(0,1fr); column-gap:24px; }
      .resource-panel[data-layout="feed"] .preview { height:184px; }
      .resource-panel[data-layout="feed"] .resource-actions { display:flex; }
      .table-help { display:block; }
    }
    @media(max-width:680px) {
      .library-heading { margin-bottom:0; padding-bottom:12px; }
      .library-toolbar { margin-bottom:22px; gap:0; }
      .view-tabs { width:100%; gap:0; }
      .view-tabs button { flex:1; padding:10px 8px; gap:7px; }
      .view-hint { display:none; }
      .resource-panel[data-layout="feed"] .resource { grid-template-columns:72px minmax(0,1fr); column-gap:16px; row-gap:0; padding:24px 0; }
      .resource-panel[data-layout="feed"] .preview { grid-row:1/3; align-self:start; height:100px; padding:8px 7px; border-radius:6px; }
      .resource-panel[data-layout="feed"] .resource-title { margin-top:0; }
      .resource-panel[data-layout="feed"] .resource h3 { font-size:23px; }
      .resource-panel[data-layout="feed"] .resource-kind { margin-top:6px; font-size:14px; }
      .resource-panel[data-layout="feed"] .resource-description { margin:12px 0 18px; font-size:15px; line-height:1.8; }
      .resource-panel[data-layout="feed"] .resource-actions { grid-column:1/-1; grid-row:3; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
      .resource-panel[data-layout="feed"] .html-download { margin:0; }
      .resource-panel[data-layout="feed"] .preview-unavailable .icon { width:26px; height:26px; }
      .resource-panel[data-layout="feed"] .preview-unavailable > span { display:none; }
      .resource-table th,.resource-table td { padding-inline:16px; }
    }
    @media(forced-colors:active) { .view-tabs button[aria-selected="true"] { border-bottom-color:Highlight; outline:1px solid Highlight; } }
    @media(max-width:360px) { .resource-title { display:block; } .resource-kind { margin-top:6px; } .html-download { margin-left:0; } .view,.pdf { gap:6px; padding-inline:8px; font-size:13px; } .resource-actions .icon { width:16px; height:16px; } }
    @media(prefers-reduced-motion:reduce) { .preview img { transition:none; } }
    @media(forced-colors:active) { .view,.pdf,.languages button { border:1px solid ButtonText; } .languages button[aria-pressed="true"] { outline:2px solid Highlight; } .preview { border:1px solid CanvasText; } }

    .logo-resource-preview { background:var(--ink)!important; color:var(--paper)!important; }
    .logo-resource-preview img { width:92px; height:92px; background:transparent; box-shadow:none!important; }
    .resource-panel[data-layout="feed"] .logo-resource-preview img { width:66px; height:66px; }
    .detail-breadcrumb { display:flex; align-items:center; gap:12px; margin:24px 0; color:var(--muted); font-size:14px; }
    .detail-breadcrumb a { display:inline-flex; align-items:center; gap:8px; min-height:44px; }
    .detail-breadcrumb a:hover { color:var(--ink); text-decoration:underline; }
    body[data-page="logos"] .logos-section { margin-top:0; padding-top:8px; border-top:0; }
    @media(max-width:1100px) and (min-width:681px) { .resource-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
    @media(max-width:680px) { .resource-panel[data-layout="feed"] .logo-resource-preview img { width:38px; height:38px; } }

    @media(min-width:681px) { .resource-panel[data-layout="gallery"] .resource-actions { min-height:100px; align-content:flex-start; align-items:flex-start; } }

.live-preview-wrap{position:relative;display:block;flex:none;background:#fff;box-shadow:var(--sheet-shadow);pointer-events:none;overflow:hidden}.live-preview-frame{position:absolute;left:0;top:0;width:794px;height:1123px;border:0;transform-origin:0 0;pointer-events:none}.preview img[hidden],.preview img[data-live-preview="true"]{display:none!important}

/* Logo downloads: static files remain available without JavaScript. */
.logo-card{display:flex;flex-direction:column}
.logo-preview{flex-shrink:0}
.logo-raster-meta{margin:0 0 8px;color:var(--muted);font-size:13px;line-height:1.6}
.logo-export-note{margin:0 0 22px;color:var(--muted);font-size:14px;line-height:1.7}
.logo-actions{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;margin-top:auto}
.logo-downloads{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.logo-download-label{display:inline-flex;align-items:center;gap:6px;margin-right:4px;font-size:14px;color:var(--muted)}
.logo-actions .logo-format-link{justify-content:center;min-width:48px;min-height:44px;padding:8px;border:1px solid var(--line);border-radius:7px;font-size:13px;font-weight:650}
.logo-format-link:hover,.logo-format-download:hover{background:#e5eadb}
.logo-dialog-download{gap:8px}
.logo-format-download{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 14px;border:1px solid var(--line);border-radius:7px;font-size:14px;font-weight:650}
.logo-dialog .logo-export-note{margin-top:16px;margin-bottom:12px}

.logo-dialog-download .pdf{width:auto}
@media(max-width:680px){
 .logo-dialog-download{justify-content:flex-start}
 .logo-dialog-download .logo-raw{flex-basis:100%}
 .logo-dialog-download .pdf,.logo-dialog-download .logo-format-download{flex:1;min-width:0;width:auto;padding-inline:8px}
}

/* Brand palette uses the agreed single green #B6EF5C. */
.brand-palette{margin:0 0 28px;padding-top:2px}
.palette-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px}
.palette-heading h2{margin:0;font-size:18px;font-weight:650}
.palette-heading p{margin:0;font-size:12px;line-height:1.6;color:var(--muted)}
.palette-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.palette-color{min-width:0}
.palette-swatch{height:84px;background:var(--swatch);border:1px solid rgb(27 29 25 / .12);border-radius:9px}
.palette-name{margin:14px 0 6px;font-size:14px;font-weight:650;line-height:1.5}
.palette-values{display:flex;flex-direction:column}
.color-value-button,.color-value-static{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin:0;padding:8px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;user-select:text}
.color-value-button>span,.color-value-static>span{color:var(--muted);font-size:10px;font-weight:600}
.color-value-button code,.color-value-static code{margin-right:auto;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;white-space:nowrap}
.color-value-button .icon{width:14px;height:14px;color:var(--muted)}
.color-value-button:hover,.color-value-button.is-copied{color:var(--green);border-bottom-color:var(--green)}
.color-value-button.is-copied .icon{color:var(--green)}
.palette-usage{margin:10px 0 0;color:var(--muted);font-size:12px;line-height:1.75}
@media(max-width:1000px){.palette-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:24px}}
@media(max-width:680px){.palette-heading{align-items:flex-start;flex-direction:column;gap:5px}.palette-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.palette-swatch{height:76px}.brand-palette{margin-bottom:26px}}
@media(max-width:380px){.palette-grid{gap:24px 12px}.palette-swatch{height:68px}.color-value-button,.color-value-static{gap:4px}.color-value-button code,.color-value-static code{font-size:11px}.color-value-button .icon{width:12px;height:12px}.color-value-button>span,.color-value-static>span{font-size:9px}}
@media(forced-colors:active){.palette-swatch{forced-color-adjust:none}.color-value-button{border-color:ButtonText}}
/* Shared YouTube channel selector. */
.youtube-channels { position:relative; }
.youtube-channels summary { display:flex; align-items:center; justify-content:center; gap:4px; width:48px; height:44px; border-radius:8px; cursor:pointer; list-style:none; }
.youtube-channels summary::-webkit-details-marker { display:none; }
.youtube-channels summary:hover,.youtube-channels[open] summary { background:#e8ebdf; }
.youtube-channels summary:focus-visible { outline:2px solid var(--green); outline-offset:2px; }
.header-social .channel-chevron { fill:none; stroke:currentColor; stroke-width:1.4; opacity:.55; transition:transform .16s; }
.youtube-channels[open] .channel-chevron { transform:rotate(180deg); }
.channel-options { position:absolute; z-index:100; top:calc(100% + 10px); left:0; width:232px; padding:6px; background:#fbfaf6; border:1px solid #dfe1d7; border-radius:14px; box-shadow:0 12px 32px -12px #20281738,0 2px 5px #20281708; }
.channel-heading { padding:10px 12px 8px; color:var(--muted); font-size:11px; font-weight:600; letter-spacing:.06em; }
.header-social .channel-options a { display:flex; align-items:center; justify-content:space-between; gap:20px; width:100%; height:auto; min-height:62px; padding:10px 12px; border-radius:8px; text-decoration:none; transition:background .15s; }
.header-social .channel-options a:hover { background:#eaf0df; }
.channel-copy { display:grid; gap:4px; }
.channel-copy strong { font-size:14px; line-height:1.3; font-weight:600; }
.channel-copy small { font-size:11px; line-height:1.3; color:#777d70; }
.header-social .channel-arrow { fill:none; stroke:currentColor; stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round; opacity:.3; }
.channel-options a:hover .channel-arrow { opacity:1; }
@media(max-width:680px) { .channel-options { left:auto; right:0; } }
