/**
 * Print Override — Senastra Design System
 * =========================================
 * 印刷・PDF エクスポート時のトークン上書き。
 * design-tokens.css / design-tokens-extended.css の後に読み込むこと。
 *
 *   <link rel="stylesheet" href="tokens/design-tokens.css">
 *   <link rel="stylesheet" href="tokens/design-tokens-extended.css">
 *   <link rel="stylesheet" href="tokens/print-override.css">   ← 最後（テーマ CSS がある場合はその後）
 *
 * 方針:
 *   - 背景: 常に白（#FFFFFF）
 *   - テキスト: 常に黒系（#111118 起点）
 *   - 影: 維持（box-shadow は印刷でも有効）
 *   - 角丸: 維持
 *   - アニメーション: 全て無効（duration / motion / transition 合成）
 */

@media print {
  :root {
    /* ── Color: モノクロ的に上書き ── */
    --color-bg:             #FFFFFF;
    --color-bg-subtle:      #F8F8F8;
    --color-bg-inset:       #F0F0F0;
    --color-surface:        #FFFFFF;
    --color-surface-hover:  #F8F8F8;
    --color-surface-active: #F0F0F0;
    --color-surface-overlay: #FFFFFF;

    --color-text-primary:   #111118;
    --color-text-secondary: #363644;
    --color-text-tertiary:  #525260;
    --color-text-disabled:  #A8A8B4;
    --color-text-inverse:   #111118;
    --color-text-on-accent: #FFFFFF;

    --color-border:         #D0D0D8;
    --color-border-strong:  #A8A8B4;
    --color-border-focus:   #363644;

    /* アクセントは印刷でも維持（見出し等で使われるため） */
    /* --color-accent* は上書きしない */

    /* 影のベースは黒のまま（既存 shadow-* を活かす） */
    --shadow-color: 0deg 0% 0%;

    /* ── Shadow: 維持 ── */
    /* box-shadow トークンはそのまま */

    /* ── Border Radius: 維持 ── */
    /* --radius-* はそのまま */

    /* ── Motion: 全て無効 ── */
    --duration-instant: 0ms;
    --duration-fast:    0ms;
    --duration-base:    0ms;
    --duration-slow:    0ms;
    --duration-slower:  0ms;

    --motion-enter-duration:     0ms;
    --motion-exit-duration:      0ms;
    --motion-move-duration:      0ms;
    --motion-emphasis-duration:  0ms;
    --motion-fade-duration:      0ms;
    --motion-reduce-level:       full;

    --transition-fast:   0ms linear;
    --transition-base:   0ms linear;
    --transition-slow:   0ms linear;
    --transition-spring: 0ms linear;

    /* ── State: 操作状態は不要 ── */
    --state-hover-bg:       transparent;
    --state-hover-border:   transparent;
    --state-pressed-bg:     transparent;
    --state-pressed-scale:  1;

    --state-focus-ring-color:  transparent;
    --state-focus-ring-width:  0px;
    --state-focus-ring-offset: 0px;
    --state-focus-ring:        none;

    --state-disabled-bg:      var(--color-bg-inset);
    --state-disabled-color:   var(--color-text-tertiary);
    --state-disabled-opacity: 1;
    --state-disabled-cursor:  default;

    /* 既存 ring トークン（outline / box-shadow 互換） */
    --ring-focus-color:  transparent;
    --ring-focus-width:  0px;
    --ring-focus-offset: 0px;
    --ring-focus:        none;

    /* ── Glow: 不要 ── */
    --glow-accent: none;
  }
}
