/*
 * uml-python-workspace.css
 *
 * Presentation rules live in CSS modules, not inline HTML style blocks.
 * Keep light mode, dark mode (html.dark-mode), and print behavior together
 * with the component/page rules they affect.
 */

/* Extracted from uml-python-workspace.html. */

    html,
    body {
      height: 100%;
      margin: 0;
      padding: 0;
      overflow: hidden;
      font: 16px/1.5 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    }

    body {
      display: flex;
      flex-direction: column;
      background: #0f1720;
      color: #edf4fb;
    }

    html:not(.dark-mode) body {
      background: #f6f8fb;
      color: #162536;
    }

    .archuml-python-skip,
    .archuml-python-skip:visited {
      position: fixed;
      top: 8px;
      left: 8px;
      z-index: 2000;
      min-height: 32px;
      padding: 8px 12px;
      border-radius: 4px;
      background: #ffd100;
      color: #111;
      font-weight: 700;
      transform: translateY(-140%);
      transition: transform 0.15s ease;
    }

    .archuml-python-skip:focus,
    .archuml-python-skip:focus-visible {
      transform: translateY(0);
      outline: 3px solid #005587;
      outline-offset: 2px;
    }

    html.dark-mode .archuml-python-skip:focus,
    html.dark-mode .archuml-python-skip:focus-visible {
      outline-color: #ffffff;
    }

    .archuml-python-header {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: 16px;
      min-height: 56px;
      padding: 8px 18px;
      background: #121c28;
      border-bottom: 1px solid #35536f;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    }

    html:not(.dark-mode) .archuml-python-header {
      background: #ffffff;
      border-bottom-color: #b8c7d6;
      box-shadow: 0 2px 10px rgba(25, 55, 85, 0.12);
    }

    .archuml-python-title-group {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .archuml-python-title-group h1 {
      margin: 0;
      color: #ffffff;
      font-size: 1.2em;
      font-weight: 700;
      letter-spacing: 0;
      line-height: 1.25;
    }

    html:not(.dark-mode) .archuml-python-title-group h1 {
      color: #10263a;
    }

    .archuml-python-context {
      color: #b7cadc;
      font-size: 0.95em;
      line-height: 1.25;
    }

    html:not(.dark-mode) .archuml-python-context {
      color: #51677c;
    }

    .archuml-python-status {
      margin-left: auto;
      color: #d9e7f4;
      font-size: 0.95em;
      font-weight: 600;
      line-height: 1.3;
      text-align: right;
    }

    html:not(.dark-mode) .archuml-python-status {
      color: #26465f;
    }

    .archuml-python-status.error {
      color: #ffb4b4;
    }

    html:not(.dark-mode) .archuml-python-status.error {
      color: #a91919;
    }

    main {
      flex: 1 1 auto;
      min-height: 0;
      display: flex;
      flex-direction: column;
    }

    #generated-python-workspace {
      flex: 1 1 auto;
      min-height: 0;
      height: 100%;
    }

    .archuml-python-empty {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 24px;
      background: #141414;
      color: #d7e1eb;
      text-align: center;
      font-size: 1em;
    }

    html:not(.dark-mode) .archuml-python-empty {
      background: #f2f5f8;
      color: #23394f;
    }

    @media (max-width: 640px) {
      .archuml-python-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
      }

      .archuml-python-status {
        margin-left: 0;
        text-align: left;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      .archuml-python-skip {
        transition: none;
      }
    }

