/* /Components/Artifact/ArtifactPanel.razor.rz.scp.css */
/* ============================================
   ARTIFACTPANEL — PDF-style document viewer
   ============================================
   Toolbar (chrome, theme-bound) + dark canvas + white paper page.
   The page is white in BOTH themes (true PDF feel). Document ink is
   achieved by redefining the theme color variables LOCALLY on .page —
   the child MarkdownRenderer inherits them via cascade (no !important,
   no edits to the shared renderer).
   ============================================ */

/* ===== Toolbar ===== */
.artifact-toolbar[b-jhgyq5hi0f] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.625rem 1rem;
    background: var(--surface-card);
    border-bottom: 1px solid var(--border-primary);
    flex-shrink: 0;
}
.toolbar-left[b-jhgyq5hi0f] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex: 1;
    min-width: 0;
}
.toolbar-right[b-jhgyq5hi0f] {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.doc-icon[b-jhgyq5hi0f] {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, .12), rgba(139, 92, 246, .16));
    border: 1px solid var(--border-primary);
}
.doc-id[b-jhgyq5hi0f] { flex: 1; min-width: 0; }
.doc-name[b-jhgyq5hi0f] {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.doc-crumb[b-jhgyq5hi0f] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 1px;
    font-size: 11px;
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.doc-crumb .crumb-dot[b-jhgyq5hi0f] {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    flex-shrink: 0;
}
.crumb-sep[b-jhgyq5hi0f] { color: var(--text-quaternary); }

/* status + version chips */
.chip-status[b-jhgyq5hi0f] {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid;
    white-space: nowrap;
}
.chip-ver[b-jhgyq5hi0f] {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    background: var(--surface-input);
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

/* toolbar buttons */
.tbtn[b-jhgyq5hi0f] {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    transition: background .12s, color .12s;
}
.tbtn:hover[b-jhgyq5hi0f] {
    background: var(--surface-hover);
    color: var(--text-primary);
}

/* decorative zoom control (no handler) */
.zoom-deco[b-jhgyq5hi0f] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--surface-input);
    border: 1px solid var(--border-primary);
    border-radius: 9px;
    padding: 2px;
}
.zoom-deco span[b-jhgyq5hi0f] {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 14px;
}
.zoom-deco .zoom-pct[b-jhgyq5hi0f] {
    width: auto;
    min-width: 40px;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.toolbar-divider[b-jhgyq5hi0f] {
    width: 1px;
    height: 22px;
    background: var(--border-primary);
}

/* ===== Canvas + page ===== */
.artifact-canvas[b-jhgyq5hi0f] {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    /* Theme-bound: light gray in light, deep slate in dark — the white
       page pops in both. No :root.dark override (fragile across bundles). */
    background: var(--bg-tertiary);
    padding: 2rem 1rem 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page[b-jhgyq5hi0f] {
    /* Document ink — override theme vars locally so MarkdownRenderer
       (which binds text-[var(--text-primary)] etc.) renders dark on white. */
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-tertiary: #6b7280;
    --accent-primary: #7c3aed;
    --iari-purple: #7c3aed;
    --iari-pink: #9333ea;
    --bg-tertiary: #f3f4f6;
    --surface-hover: #f3f4f6;
    --bg-secondary: #f3f4f6;
    --border-primary: #e5e7eb;

    width: 100%;
    max-width: 820px;
    background: #ffffff;
    color: #1f2937;
    padding: 64px 72px;
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
    margin: 0 auto;
}

/* Document typography — reach the child MarkdownRenderer HTML via ::deep */
.page[b-jhgyq5hi0f]  h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    margin: 0 0 18px;
}
.page[b-jhgyq5hi0f]  h2 {
    font-size: 19px;
    font-weight: 700;
    margin: 32px 0 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}
.page[b-jhgyq5hi0f]  h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 22px 0 8px;
}
.page[b-jhgyq5hi0f]  p,
.page[b-jhgyq5hi0f]  li {
    font-size: 13.5px;
    line-height: 1.7;
}
.page[b-jhgyq5hi0f]  img {
    max-width: 100%;
    height: auto;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 0.5rem;
    background: #ffffff;
}

/* page footer (part of the white page — fixed grays intentional) */
.page-footer[b-jhgyq5hi0f] {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 10.5px;
    color: #9ca3af;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .page[b-jhgyq5hi0f] { padding: 32px 20px; }
    .artifact-canvas[b-jhgyq5hi0f] { padding: 1rem .5rem 2.5rem; }
}
/* /Components/SlidePanels/AssetSlidePanel.razor.rz.scp.css */
/* ============================================
   ASSETSLIDEPANEL — Engineering-document tile grid
   ============================================
   Each artifact = paper-like document tile with:
   · discipline-color band on top (var --disc inline)
   · folded corner top-right (engineering-doc tell)
   · header row with emoji icon + accent line
   · suggested content lines
   · status stamp rotated -6deg bottom-right
   · hover: lift + paper-feel rotate + reveals SCM link

   Click on tile body  → render
   Click on SCM link   → open in SCM (stopPropagation)
   ============================================ */

/* Shelf — responsive grid, phone to desktop */
.shelf[b-dbmqlq8l0x] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem 1.25rem;
    align-content: start;
}
@media (min-width: 1280px) {
    .shelf[b-dbmqlq8l0x] {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
}
@media (min-width: 1920px) {
    .shelf[b-dbmqlq8l0x] {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* Tile container */
.artifact[b-dbmqlq8l0x] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

/* The document — paper-like 3:4 tile */
.doc[b-dbmqlq8l0x] {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: var(--surface-card);
    border-radius: 4px 6px 4px 4px;
    box-shadow:
        0 1px 1px var(--shadow-color),
        0 2px 4px var(--shadow-color);
    overflow: hidden;
    transition: transform .25s cubic-bezier(.4,.0,.2,1), box-shadow .25s;
}
.artifact:hover .doc[b-dbmqlq8l0x] {
    transform: translateY(-4px) rotate(-0.4deg);
    box-shadow:
        0 4px 8px var(--shadow-color),
        0 12px 24px var(--shadow-color);
}

/* Folded corner */
.doc[b-dbmqlq8l0x]::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 14px; height: 14px;
    background: linear-gradient(225deg, var(--border-secondary) 0%, var(--border-secondary) 50%, transparent 50%);
    border-bottom-left-radius: 3px;
}

/* Discipline header band */
.doc-band[b-dbmqlq8l0x] {
    position: absolute; top: 0; left: 0; right: 14px;
    height: 6px;
    background: var(--disc, var(--text-quaternary));
}

/* Doc head — emoji icon + accent line */
.doc-head[b-dbmqlq8l0x] {
    position: absolute; top: 14px; left: 12%; right: 12%;
    display: flex; align-items: center; gap: 6px;
}
.head-icon[b-dbmqlq8l0x] {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}
.head-line[b-dbmqlq8l0x] {
    flex: 1; height: 2.5px; border-radius: 1px;
    background: var(--disc, var(--text-quaternary));
    opacity: .35;
}

/* Doc body — suggested text lines */
.doc-body[b-dbmqlq8l0x] {
    position: absolute; top: 44px; left: 12%; right: 12%; bottom: 18%;
    display: flex; flex-direction: column; gap: 4px;
}
.doc-body span[b-dbmqlq8l0x] {
    height: 2px; border-radius: 1px;
    background: var(--border-primary);
}
.doc-body span:nth-child(1)[b-dbmqlq8l0x] { width: 100%; }
.doc-body span:nth-child(2)[b-dbmqlq8l0x] { width: 92%; }
.doc-body span:nth-child(3)[b-dbmqlq8l0x] { width: 96%; }
.doc-body span:nth-child(4)[b-dbmqlq8l0x] { width: 78%; }
.doc-body span:nth-child(5)[b-dbmqlq8l0x] { width: 100%; }
.doc-body span:nth-child(6)[b-dbmqlq8l0x] { width: 65%; }
.doc-body span:nth-child(7)[b-dbmqlq8l0x] { width: 88%; }
.doc-body span:nth-child(8)[b-dbmqlq8l0x] { width: 50%; }

/* Status stamp */
.doc-stamp[b-dbmqlq8l0x] {
    position: absolute; bottom: 8px; right: 10px;
    font-size: 8px; font-weight: 700; letter-spacing: 0.06em;
    padding: 2px 5px; border-radius: 2px;
    text-transform: uppercase;
    border: 1.2px solid currentColor;
    transform: rotate(-6deg);
}
.stamp-draft[b-dbmqlq8l0x]   { color: #d97706; }
.stamp-final[b-dbmqlq8l0x]   { color: #059669; }
.stamp-review[b-dbmqlq8l0x]  { color: #2563eb; }
.stamp-pending[b-dbmqlq8l0x] { color: var(--text-quaternary); opacity: .6; border-style: dashed; }
:root.dark .stamp-draft[b-dbmqlq8l0x]  { color: #fbbf24; }
:root.dark .stamp-final[b-dbmqlq8l0x]  { color: #34d399; }
:root.dark .stamp-review[b-dbmqlq8l0x] { color: #60a5fa; }

/* Title under the document */
.artifact-title[b-dbmqlq8l0x] {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.3;
    padding: 0 4px;
    margin: 0;
}

/* Meta row: agent role + SCM link */
.meta-row[b-dbmqlq8l0x] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: -2px;
    min-height: 18px;
}
.artifact-meta[b-dbmqlq8l0x] {
    font-size: 10px;
    color: var(--text-tertiary);
    text-align: center;
}

/* SCM link — visible by default on touch, hover-only on mouse */
.scm-link[b-dbmqlq8l0x] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    border-radius: 4px;
    color: var(--text-tertiary);
    opacity: .5;
    transition: opacity .15s, background .15s, color .15s;
}
.scm-link:hover[b-dbmqlq8l0x] {
    opacity: 1;
    background: var(--surface-hover);
    color: var(--text-primary);
}
@media (hover: hover) {
    .scm-link[b-dbmqlq8l0x] { opacity: 0; }
    .artifact:hover .scm-link[b-dbmqlq8l0x] { opacity: 1; }
}
/* /Pages/Index.razor.rz.scp.css */
/* Getting-Started */
.card-bg-image[b-m65pr5hvk2] {
    pointer-events: none;
    position: absolute;
    width: 630px;
    height: auto;
    bottom: 0;
    right: 0;
    z-index: 1;
}
.starting-content[b-m65pr5hvk2] {
    position: relative;
    z-index: 2;
}
/* Getting-Started End */

/* Write here your styles for the Index page */
