/* GENERATED from proposal/tokens.json by scripts/site/build_theme.py.
   Do not edit. Değer değiştirmek için tokens.json düzenlenir. */
:root {
  color-scheme: light dark;
  --bgCanvas: #F4F1E8;
  --bgSurface: #FCFAF5;
  --bgSurfaceRaised: #FCFAF5;
  --bgMuted: #E9E4D8;
  --bgMutedHover: #E9E4D8;
  --bgInverse: #2C2B28;
  --bgHover: #E9E4D8;
  --bgActive: #E9E4D8;
  --bgAccent: #2C2B28;
  --bgAccentHover: #2C2B28;
  --bgAccentSubtle: #F0E2D8;
  --bgDanger: #9F3730;
  --bgSuccess: #E0EADD;
  --bgInfo: #E1E7EC;
  --bgWarning: #EDE4CA;
  --bgDisabled: #E9E4D8;
  --bgOverlay: #2C2B2838;
  --textPrimary: #2C2B28;
  --textSecondary: #69665F;
  --textMuted: #625F58;
  --textInverse: #FCFAF5;
  --textAccent: #93402A;
  --textOnAccent: #FCFAF5;
  --textDisabled: #625F58;
  --borderDefault: #878277;
  --borderMuted: #878277;
  --borderFocus: #2C2B28;
  --shadowColor: #878277;
  --readerAccent: #AC4A30;
  --brandAccent: #FF4D00;
  --textOnDanger: #FCFAF5;
  --dividerColor: #D8D3C8;
  --successForeground: #385B32;
  --infoForeground: #35566F;
  --warningForeground: #68551C;
  --transparent: #00000000;
  --gap2xs: 4px;
  --gapXs: 8px;
  --gapSm: 12px;
  --gapMd: 16px;
  --gapLg: 24px;
  --gapXl: 32px;
  --gap2xl: 48px;
  --gap3xl: 64px;
  --controlSm: 48px;
  --controlMd: 48px;
  --controlLg: 48px;
  --controlXl: 56px;
  --iconSm: 16px;
  --iconMd: 20px;
  --iconLg: 24px;
  --radiusControl: 0px;
  --radiusSurface: 0px;
  --radiusRound: 999px;
  --strokeThin: 1px;
  --strokeDefault: 1px;
  --strokeHeavy: 2px;
  --hardShadowSm: 2px;
  --hardShadowMd: 2px;
  --hardShadowLg: 2px;
  --shadowBlur: 0px;
  --shadowSpread: 0px;
  --touchTarget: 48px;
  --screenInset: 26px;
  --compactInset: 22px;
  --zero: 0px;
  --focusWidth: 2px;
  --focusOffset: 2px;
  --progressHeight: 2px;
  --dividerWidth: 1px;
  --pivotWidth: 2px;
  --pivotHeight: 10px;
  --pivotGap: 16px;
  --readerWordSize: 36px;
  --readerWordLine: 44px;
  --readerAreaHeight: 112px;
  --contextGap: 12px;
  --contextActiveMax: 112px;
  --contextUnderline: 1px;
  --contextUnderlineOffset: 4px;
  --statusHeight: 40px;
  --homeHeight: 22px;
  --homeIndicatorWidth: 104px;
  --homeIndicatorHeight: 3px;
  --brandWidth: 23px;
  --brandHeight: 27px;
  --bookWidth: 42px;
  --bookHeight: 57px;
  --bookRowHeight: 96px;
  --settingRowHeight: 70px;
  --navHeight: 64px;
  --appTitleSize: 18px;
  --appTitleLine: 24px;
  --switchWidth: 40px;
  --switchHeight: 24px;
  --switchThumb: 16px;
  --switchInset: 4px;
  --sliderThumb: 18px;
  --sliderThumbOffset: -8px;
  --modalInset: 24px;
  --emptyMarkHeight: 76px;
  --previewHeight: 136px;
  --statsNumberSize: 56px;
  --statsNumberLine: 64px;
  --referenceWidth: 390px;
  --referenceHeight: 844px;
  --catalogMaxWidth: 1280px;
  --catalogCellWidth: 300px;
  --galleryCardWidth: 260px;
  --pdfImageHeight: 710px;
  --overviewWidth: 1800px;
  --full: 100%;
  --half: 50%;
  --readerPosition: 40%;
  --circleRadius: 50%;
  --one: 1;
  --none: 0;
  --three: 3;
  --overlayLayer: 5;
  --modalLayer: 6;
  --textScale: 1;
  --pivotReferenceGlyphs: 5.5;
  --readerMotionDuration: 0ms;
  --controlMotionDuration: 0ms;
  --feedbackDuration: 180ms;
  --motionCurve: linear;
  --archivo: "Archivo";
  --archivoBlack: "Archivo Black";
  --mono: "JetBrains Mono";
  --readerFamily: "Atkinson Hyperlegible";
  --dyslexicFamily: "OpenDyslexic";
  --display1Size: 56px;
  --display1Line: 64px;
  --display1Weight: 400;
  --display1Tracking: -1px;
  --display2Size: 44px;
  --display2Line: 48px;
  --display2Weight: 400;
  --display2Tracking: -1px;
  --display3Size: 35px;
  --display3Line: 38px;
  --display3Weight: 400;
  --display3Tracking: -1px;
  --heading1Size: 32px;
  --heading1Line: 38px;
  --heading1Weight: 400;
  --heading1Tracking: -1px;
  --heading2Size: 27px;
  --heading2Line: 33px;
  --heading2Weight: 400;
  --heading2Tracking: -1px;
  --heading3Size: 24px;
  --heading3Line: 30px;
  --heading3Weight: 400;
  --heading3Tracking: 0px;
  --heading4Size: 20px;
  --heading4Line: 26px;
  --heading4Weight: 500;
  --heading4Tracking: 0px;
  --bodyLgSize: 18px;
  --bodyLgLine: 28px;
  --bodyLgWeight: 400;
  --bodyLgTracking: 0px;
  --bodyMdSize: 16px;
  --bodyMdLine: 24px;
  --bodyMdWeight: 400;
  --bodyMdTracking: 0px;
  --bodySmSize: 14px;
  --bodySmLine: 22px;
  --bodySmWeight: 400;
  --bodySmTracking: 0px;
  --labelLgSize: 16px;
  --labelLgLine: 22px;
  --labelLgWeight: 500;
  --labelLgTracking: 0px;
  --labelMdSize: 14px;
  --labelMdLine: 20px;
  --labelMdWeight: 500;
  --labelMdTracking: 0px;
  --labelSmSize: 12px;
  --labelSmLine: 18px;
  --labelSmWeight: 500;
  --labelSmTracking: 0px;
  --monoOverlineSize: 11px;
  --monoOverlineLine: 18px;
  --monoOverlineWeight: 500;
  --monoOverlineTracking: 1px;
  --monoMdSize: 14px;
  --monoMdLine: 22px;
  --monoMdWeight: 400;
  --monoMdTracking: 0px;
  --monoSmSize: 12px;
  --monoSmLine: 18px;
  --monoSmWeight: 400;
  --monoSmTracking: 0px;
  --contextTextSize: 14px;
  --contextTextLine: 22px;
  --contextTextWeight: 400;
  --contextTextTracking: 0px;
  --contextActiveWeight: 700;
  --webSage: #dfe4d8;
  --webBlue: #dce4e7;
  --webRose: #eddfd6;
}

/* İşletim sistemi koyu diyorsa — bugün koyu temaya tek giriş. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bgCanvas: #242522;
    --bgSurface: #2D2E2A;
    --bgSurfaceRaised: #2D2E2A;
    --bgMuted: #363730;
    --bgMutedHover: #363730;
    --bgInverse: #E4E0D7;
    --bgHover: #363730;
    --bgActive: #363730;
    --bgAccent: #E4E0D7;
    --bgAccentHover: #E4E0D7;
    --bgAccentSubtle: #42372F;
    --bgDanger: #EDAAA0;
    --bgSuccess: #303B2E;
    --bgInfo: #303A40;
    --bgWarning: #403B29;
    --bgDisabled: #363730;
    --bgOverlay: #00000066;
    --textPrimary: #E4E0D7;
    --textSecondary: #B5B1A7;
    --textMuted: #B5B1A7;
    --textInverse: #242522;
    --textAccent: #DA9276;
    --textOnAccent: #242522;
    --textDisabled: #B5B1A7;
    --borderDefault: #909084;
    --borderMuted: #909084;
    --borderFocus: #E4E0D7;
    --shadowColor: #909084;
    --readerAccent: #DA9276;
    --brandAccent: #FF4D00;
    --textOnDanger: #242522;
    --dividerColor: #494A43;
    --successForeground: #B6D3AA;
    --infoForeground: #AACDDC;
    --warningForeground: #DACB93;
    --transparent: #00000000;
    --gap2xs: 4px;
    --gapXs: 8px;
    --gapSm: 12px;
    --gapMd: 16px;
    --gapLg: 24px;
    --gapXl: 32px;
    --gap2xl: 48px;
    --gap3xl: 64px;
    --controlSm: 48px;
    --controlMd: 48px;
    --controlLg: 48px;
    --controlXl: 56px;
    --iconSm: 16px;
    --iconMd: 20px;
    --iconLg: 24px;
    --radiusControl: 0px;
    --radiusSurface: 0px;
    --radiusRound: 999px;
    --strokeThin: 1px;
    --strokeDefault: 1px;
    --strokeHeavy: 2px;
    --hardShadowSm: 2px;
    --hardShadowMd: 2px;
    --hardShadowLg: 2px;
    --shadowBlur: 0px;
    --shadowSpread: 0px;
    --touchTarget: 48px;
    --screenInset: 26px;
    --compactInset: 22px;
    --zero: 0px;
    --focusWidth: 2px;
    --focusOffset: 2px;
    --progressHeight: 2px;
    --dividerWidth: 1px;
    --pivotWidth: 2px;
    --pivotHeight: 10px;
    --pivotGap: 16px;
    --readerWordSize: 36px;
    --readerWordLine: 44px;
    --readerAreaHeight: 112px;
    --contextGap: 12px;
    --contextActiveMax: 112px;
    --contextUnderline: 1px;
    --contextUnderlineOffset: 4px;
    --statusHeight: 40px;
    --homeHeight: 22px;
    --homeIndicatorWidth: 104px;
    --homeIndicatorHeight: 3px;
    --brandWidth: 23px;
    --brandHeight: 27px;
    --bookWidth: 42px;
    --bookHeight: 57px;
    --bookRowHeight: 96px;
    --settingRowHeight: 70px;
    --navHeight: 64px;
    --appTitleSize: 18px;
    --appTitleLine: 24px;
    --switchWidth: 40px;
    --switchHeight: 24px;
    --switchThumb: 16px;
    --switchInset: 4px;
    --sliderThumb: 18px;
    --sliderThumbOffset: -8px;
    --modalInset: 24px;
    --emptyMarkHeight: 76px;
    --previewHeight: 136px;
    --statsNumberSize: 56px;
    --statsNumberLine: 64px;
    --referenceWidth: 390px;
    --referenceHeight: 844px;
    --catalogMaxWidth: 1280px;
    --catalogCellWidth: 300px;
    --galleryCardWidth: 260px;
    --pdfImageHeight: 710px;
    --overviewWidth: 1800px;
    --full: 100%;
    --half: 50%;
    --readerPosition: 40%;
    --circleRadius: 50%;
    --one: 1;
    --none: 0;
    --three: 3;
    --overlayLayer: 5;
    --modalLayer: 6;
    --textScale: 1;
    --pivotReferenceGlyphs: 5.5;
    --readerMotionDuration: 0ms;
    --controlMotionDuration: 0ms;
    --feedbackDuration: 180ms;
    --motionCurve: linear;
    --archivo: "Archivo";
    --archivoBlack: "Archivo Black";
    --mono: "JetBrains Mono";
    --readerFamily: "Atkinson Hyperlegible";
    --dyslexicFamily: "OpenDyslexic";
    --display1Size: 56px;
    --display1Line: 64px;
    --display1Weight: 400;
    --display1Tracking: -1px;
    --display2Size: 44px;
    --display2Line: 48px;
    --display2Weight: 400;
    --display2Tracking: -1px;
    --display3Size: 35px;
    --display3Line: 38px;
    --display3Weight: 400;
    --display3Tracking: -1px;
    --heading1Size: 32px;
    --heading1Line: 38px;
    --heading1Weight: 400;
    --heading1Tracking: -1px;
    --heading2Size: 27px;
    --heading2Line: 33px;
    --heading2Weight: 400;
    --heading2Tracking: -1px;
    --heading3Size: 24px;
    --heading3Line: 30px;
    --heading3Weight: 400;
    --heading3Tracking: 0px;
    --heading4Size: 20px;
    --heading4Line: 26px;
    --heading4Weight: 500;
    --heading4Tracking: 0px;
    --bodyLgSize: 18px;
    --bodyLgLine: 28px;
    --bodyLgWeight: 400;
    --bodyLgTracking: 0px;
    --bodyMdSize: 16px;
    --bodyMdLine: 24px;
    --bodyMdWeight: 400;
    --bodyMdTracking: 0px;
    --bodySmSize: 14px;
    --bodySmLine: 22px;
    --bodySmWeight: 400;
    --bodySmTracking: 0px;
    --labelLgSize: 16px;
    --labelLgLine: 22px;
    --labelLgWeight: 500;
    --labelLgTracking: 0px;
    --labelMdSize: 14px;
    --labelMdLine: 20px;
    --labelMdWeight: 500;
    --labelMdTracking: 0px;
    --labelSmSize: 12px;
    --labelSmLine: 18px;
    --labelSmWeight: 500;
    --labelSmTracking: 0px;
    --monoOverlineSize: 11px;
    --monoOverlineLine: 18px;
    --monoOverlineWeight: 500;
    --monoOverlineTracking: 1px;
    --monoMdSize: 14px;
    --monoMdLine: 22px;
    --monoMdWeight: 400;
    --monoMdTracking: 0px;
    --monoSmSize: 12px;
    --monoSmLine: 18px;
    --monoSmWeight: 400;
    --monoSmTracking: 0px;
    --contextTextSize: 14px;
    --contextTextLine: 22px;
    --contextTextWeight: 400;
    --contextTextTracking: 0px;
    --contextActiveWeight: 700;
    --webSage: #343e33;
    --webBlue: #303d43;
    --webRose: #48372f;
  }
}

/* Tema düğmesi kararı (W4) verilirse çalışacak seçici. */
:root[data-theme="dark"] {
  --bgCanvas: #242522;
  --bgSurface: #2D2E2A;
  --bgSurfaceRaised: #2D2E2A;
  --bgMuted: #363730;
  --bgMutedHover: #363730;
  --bgInverse: #E4E0D7;
  --bgHover: #363730;
  --bgActive: #363730;
  --bgAccent: #E4E0D7;
  --bgAccentHover: #E4E0D7;
  --bgAccentSubtle: #42372F;
  --bgDanger: #EDAAA0;
  --bgSuccess: #303B2E;
  --bgInfo: #303A40;
  --bgWarning: #403B29;
  --bgDisabled: #363730;
  --bgOverlay: #00000066;
  --textPrimary: #E4E0D7;
  --textSecondary: #B5B1A7;
  --textMuted: #B5B1A7;
  --textInverse: #242522;
  --textAccent: #DA9276;
  --textOnAccent: #242522;
  --textDisabled: #B5B1A7;
  --borderDefault: #909084;
  --borderMuted: #909084;
  --borderFocus: #E4E0D7;
  --shadowColor: #909084;
  --readerAccent: #DA9276;
  --brandAccent: #FF4D00;
  --textOnDanger: #242522;
  --dividerColor: #494A43;
  --successForeground: #B6D3AA;
  --infoForeground: #AACDDC;
  --warningForeground: #DACB93;
  --transparent: #00000000;
  --gap2xs: 4px;
  --gapXs: 8px;
  --gapSm: 12px;
  --gapMd: 16px;
  --gapLg: 24px;
  --gapXl: 32px;
  --gap2xl: 48px;
  --gap3xl: 64px;
  --controlSm: 48px;
  --controlMd: 48px;
  --controlLg: 48px;
  --controlXl: 56px;
  --iconSm: 16px;
  --iconMd: 20px;
  --iconLg: 24px;
  --radiusControl: 0px;
  --radiusSurface: 0px;
  --radiusRound: 999px;
  --strokeThin: 1px;
  --strokeDefault: 1px;
  --strokeHeavy: 2px;
  --hardShadowSm: 2px;
  --hardShadowMd: 2px;
  --hardShadowLg: 2px;
  --shadowBlur: 0px;
  --shadowSpread: 0px;
  --touchTarget: 48px;
  --screenInset: 26px;
  --compactInset: 22px;
  --zero: 0px;
  --focusWidth: 2px;
  --focusOffset: 2px;
  --progressHeight: 2px;
  --dividerWidth: 1px;
  --pivotWidth: 2px;
  --pivotHeight: 10px;
  --pivotGap: 16px;
  --readerWordSize: 36px;
  --readerWordLine: 44px;
  --readerAreaHeight: 112px;
  --contextGap: 12px;
  --contextActiveMax: 112px;
  --contextUnderline: 1px;
  --contextUnderlineOffset: 4px;
  --statusHeight: 40px;
  --homeHeight: 22px;
  --homeIndicatorWidth: 104px;
  --homeIndicatorHeight: 3px;
  --brandWidth: 23px;
  --brandHeight: 27px;
  --bookWidth: 42px;
  --bookHeight: 57px;
  --bookRowHeight: 96px;
  --settingRowHeight: 70px;
  --navHeight: 64px;
  --appTitleSize: 18px;
  --appTitleLine: 24px;
  --switchWidth: 40px;
  --switchHeight: 24px;
  --switchThumb: 16px;
  --switchInset: 4px;
  --sliderThumb: 18px;
  --sliderThumbOffset: -8px;
  --modalInset: 24px;
  --emptyMarkHeight: 76px;
  --previewHeight: 136px;
  --statsNumberSize: 56px;
  --statsNumberLine: 64px;
  --referenceWidth: 390px;
  --referenceHeight: 844px;
  --catalogMaxWidth: 1280px;
  --catalogCellWidth: 300px;
  --galleryCardWidth: 260px;
  --pdfImageHeight: 710px;
  --overviewWidth: 1800px;
  --full: 100%;
  --half: 50%;
  --readerPosition: 40%;
  --circleRadius: 50%;
  --one: 1;
  --none: 0;
  --three: 3;
  --overlayLayer: 5;
  --modalLayer: 6;
  --textScale: 1;
  --pivotReferenceGlyphs: 5.5;
  --readerMotionDuration: 0ms;
  --controlMotionDuration: 0ms;
  --feedbackDuration: 180ms;
  --motionCurve: linear;
  --archivo: "Archivo";
  --archivoBlack: "Archivo Black";
  --mono: "JetBrains Mono";
  --readerFamily: "Atkinson Hyperlegible";
  --dyslexicFamily: "OpenDyslexic";
  --display1Size: 56px;
  --display1Line: 64px;
  --display1Weight: 400;
  --display1Tracking: -1px;
  --display2Size: 44px;
  --display2Line: 48px;
  --display2Weight: 400;
  --display2Tracking: -1px;
  --display3Size: 35px;
  --display3Line: 38px;
  --display3Weight: 400;
  --display3Tracking: -1px;
  --heading1Size: 32px;
  --heading1Line: 38px;
  --heading1Weight: 400;
  --heading1Tracking: -1px;
  --heading2Size: 27px;
  --heading2Line: 33px;
  --heading2Weight: 400;
  --heading2Tracking: -1px;
  --heading3Size: 24px;
  --heading3Line: 30px;
  --heading3Weight: 400;
  --heading3Tracking: 0px;
  --heading4Size: 20px;
  --heading4Line: 26px;
  --heading4Weight: 500;
  --heading4Tracking: 0px;
  --bodyLgSize: 18px;
  --bodyLgLine: 28px;
  --bodyLgWeight: 400;
  --bodyLgTracking: 0px;
  --bodyMdSize: 16px;
  --bodyMdLine: 24px;
  --bodyMdWeight: 400;
  --bodyMdTracking: 0px;
  --bodySmSize: 14px;
  --bodySmLine: 22px;
  --bodySmWeight: 400;
  --bodySmTracking: 0px;
  --labelLgSize: 16px;
  --labelLgLine: 22px;
  --labelLgWeight: 500;
  --labelLgTracking: 0px;
  --labelMdSize: 14px;
  --labelMdLine: 20px;
  --labelMdWeight: 500;
  --labelMdTracking: 0px;
  --labelSmSize: 12px;
  --labelSmLine: 18px;
  --labelSmWeight: 500;
  --labelSmTracking: 0px;
  --monoOverlineSize: 11px;
  --monoOverlineLine: 18px;
  --monoOverlineWeight: 500;
  --monoOverlineTracking: 1px;
  --monoMdSize: 14px;
  --monoMdLine: 22px;
  --monoMdWeight: 400;
  --monoMdTracking: 0px;
  --monoSmSize: 12px;
  --monoSmLine: 18px;
  --monoSmWeight: 400;
  --monoSmTracking: 0px;
  --contextTextSize: 14px;
  --contextTextLine: 22px;
  --contextTextWeight: 400;
  --contextTextTracking: 0px;
  --contextActiveWeight: 700;
  --webSage: #343e33;
  --webBlue: #303d43;
  --webRose: #48372f;
}
