/* Ensure tile-footer aligns text left and button right, with wrapping */
.tile-footer {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding-top: 4px;
}
.tile-footer figcaption {
    word-break: break-word;
    font-family: inherit;
    font-size: 1em;
    color: #d0d0d0;
    margin: 0;
}
.tile-footer .copy-btn {
    justify-self: end;
    align-self: center;
}
/* Green nav bar at top, aligned with sidebar toggle */
.nav-hr {
    border: none;
    height: 2px;
    margin: 0 0 18px 0;
    width: calc(100% - 32px);
    position: relative;
    left: 0;
    top: 0;
    z-index: 1002;
    background: linear-gradient(90deg, rgba(77,184,82,0) 0%, rgba(77,184,82,0.38) 20%, rgba(77,184,82,0.48) 50%, rgba(77,184,82,0.38) 80%, rgba(77,184,82,0) 100%);
    box-shadow: 0 0 6px 0 rgba(77,184,82,0.22), 0 1px 6px 0 rgba(77,184,82,0.15) inset;
    border-radius: 1px;
}
/* Link color: use nav green, no visited indication */
a, a:visited {
    color: #4db852;
    text-decoration: underline;
    transition: color 0.15s;
}
a:hover, a:active {
    color: #6ee26a;
}

/* Sidebar base */
body {
    background-color: #050505;  /* dark charcoal */
    color: #d0d0d0;             /* soft white, not harsh */
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    margin: 24px;
}

/* Headings */
h1 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: #d0d0d0;
}

h2 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #d0d0d0;
}

ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

main.list ul li {
    margin-bottom: 16px;
}


.tile-footer .copy-btn {
    background: #181818 !important;
    color: #4db852 !important;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 4px 14px;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 1px 4px #0002;
    transition: background 0.15s, color 0.15s;
}
.tile-footer .copy-btn:hover, .tile-footer .copy-btn:active {
    background: #222 !important;
    color: #6ee26a !important;
}
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: flex-start;
}

.tile {
    background: #181818;
    border-radius: 8px;
    box-shadow: 0 2px 8px #0002;
    padding: 12px 12px 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 240px;
    margin-bottom: 8px;
}

.tile img {
    max-width: 220px;
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 1px 6px #0003;
    background: #222;
}
/* --- Additional global styles from Reference/styles.css --- */
/* Add missing shared styles for workspace-wide consistency */

/* Example: If Reference/styles.css has additional rules not present above, merge them here. */

/* If any rules from Reference/styles.css are missing, add them below this line. */
/* (This ensures all global styles are present for all workspace pages.) */
