@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --text-primary: #1c1c1e;
    /* Dark text for light mode */
    --text-secondary: #6b7280;
    /* Gray for secondary text */
    --text-muted: #9ca3af;
    /* Muted gray */
    --border-color: #e5e7eb;
    /* Light gray for borders */
    --card-bg: #ffffff;
    /* White for cards */
    --card-hover: #f3f4f6;
    /* Slightly darker hover effect */
    --accent-color: #0a84ff;
    /* Bright blue for accents */
    --accent-hover: #0056b3;
    /* Darker blue for hover */
    --info-color: #0a84ff;
    /* Blue for informational elements */
    --bg-primary: #f9fafb;
    /* Light background */
}

/* Base styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


header {
    background-color: transparent;
    /* Remove background color */
    color: var(--text-primary);
    padding: 1rem;
    text-align: center;
}

h1,
h2 {
    margin: 0.5rem 0;
}

p {
    margin: 0.5rem 0;
    padding: 0 1rem;
}

main {
    padding: 1rem;
}

section {
    margin-bottom: 2rem;
}

footer {
    background-color: transparent;
    /* Remove background color */
    color: var(--text-primary);
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
    height: 4.8rem;
    /* Approximately 3 lines of text height */
}

/* Container for centering on desktop */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: max(1rem, env(safe-area-inset-top)) 1rem 1rem 1rem;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .container {
        max-width: 800px;
    }
}

.item-media-icon {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    border-radius: 0.5rem;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    /* Remove any background or color that could hide the icon */
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

/* Header (Grid Layout) */
.landing-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--border-color);
    background: var(--border-color);
}

@media (min-width: 1024px) {
    .landing-header {
        grid-template-columns: repeat(6, 1fr);
    }
}

.landing-header>* {
    background: var(--bg-primary);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--text-primary);
}

.landing-header>*:hover {
    background: var(--card-hover);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    justify-content: flex-start;
}

.logo-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
}

[data-theme="dark"] .logo-icon {
    border-color: var(--accent-color);
}

.logo-text {
    font-size: 0.875rem;
}

.header-item {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
    padding: 0;
}

.header-dashboard {
    color: var(--info-color);
}

.dropdown {
    position: relative;
}

.dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--text-primary);
    padding: 0;
}

.dropdown-arrow {
    color: var(--text-muted);
    font-size: 0.625rem;
    transition: all 0.3s;
}

.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--text-primary);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -1px;
    right: -1px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-top: none;
    z-index: 100;
    display: none;
    flex-direction: column;
}

.dropdown.open .dropdown-menu {
    display: flex;
}

.dropdown-item {
    padding: 0.75rem 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: background 0.2s;
    border-bottom: 1px solid transparent;
}

.dropdown-item:hover {
    background: var(--card-hover);
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 0.375rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
    margin-left: auto;
}

.theme-toggle-btn:hover {
    background: var(--bg-secondary);
}

.theme-icon {
    position: absolute;
    transition: opacity 0.2s;
}

.sun-icon {
    opacity: 1;
}

.moon-icon {
    opacity: 0;
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
}

/* SubNav */
.subnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    min-height: 2rem;
}

.subnav-breadcrumbs {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--text-primary);
}

.copy-url-btn {
    padding: 0;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    font-family: inherit;
    font-size: 0.875rem;
}

.copy-url-btn:hover {
    color: var(--text-primary);
}

/* Main Content */
.landing-content {
    flex: 1;
    padding: 1rem;
}

/* Prose Styling */
.prose {
    max-width: 65ch;
    color: var(--text-primary);
}

.prose h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.prose .lead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.prose ul,
.prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose strong {
    color: var(--text-primary);
    font-weight: 600;
}

.prose code {
    padding: 0.125rem 0.375rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    font-size: 0.875em;
    color: var(--text-primary);
}

.prose a {
    color: var(--info-color);
    text-decoration: underline;
    transition: color 0.2s;
}

.prose a:hover {
    color: var(--text-primary);
}

/* Category Links */
.category-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.category-link:hover,
.category-link.active {
    color: var(--text-primary);
}

/* Content List Styles */
.content-list-container {
    margin-top: 2rem;
}

.content-list-link {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    transition: background 0.2s;
    padding: 0;
    border-bottom: 1px solid transparent;
}

.content-list-link:hover {
    background: var(--card-hover);
}

.content-list-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    padding: 0.5rem 0;
}

@media (min-width: 768px) {
    .content-list-item {
        flex-direction: row;
        gap: 0.5rem;
        align-items: baseline;
    }
}

.content-list-date {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-variant-numeric: tabular-nums;
    min-width: 7.5rem;
    flex-shrink: 0;
}

.content-list-title {
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 400;
    flex: 1;
    line-height: 1.5;
}

.content-list-category {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-left: auto;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .content-list-category {
        margin-left: 0;
    }
}

.breadcrumb-current {
    color: var(--text-primary);
}

/* Code Block */
.code-block {
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-block code {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--text-primary);
    font-size: 0.875rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.content-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.content-card:hover {
    border-color: var(--text-muted);
    background: var(--card-hover);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.content-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.content-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* CTA Section */
.cta-section {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

[data-theme="dark"] .cta-button {
    background: var(--bg-primary);
    color: var(--accent-color);
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.cta-button-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-muted);
}

/* Footer */
.landing-footer {
    padding: 4rem 1rem 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column {}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .landing-header {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .landing-wrapper {
        gap: 0.5rem;
    }

    .landing-header {
        grid-template-columns: 1fr;
        font-size: 0.8125rem;
    }

    .prose h1 {
        font-size: 1.875rem;
    }

    .prose h2 {
        font-size: 1.25rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        flex-direction: column;
    }

    .cta-button,
    .cta-button-secondary {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .landing-content {
        padding: 0.75rem;
    }

    .prose h1 {
        font-size: 1.5rem;
    }

    .prose {
        font-size: 0.9375rem;
    }

    .landing-footer {
        padding: 3rem 1rem 1.5rem;
    }
}

/* Responsive styles */

/* General container adjustments */
.landing-wrapper {
    padding: 1rem;
}

/* Adjust header layout for smaller screens */
.landing-header {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .landing-header {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .landing-header {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Typography adjustments for smaller screens */
h1 {
    scroll-margin: 5rem;
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    text-wrap: balance;
    line-height: 1.2;
}

h2 {
    scroll-margin: 5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

h2:first-child {
    margin-top: 0;
}

h3 {
    scroll-margin: 5rem;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.4;
}

h4 {
    scroll-margin: 5rem;
    font-size: clamp(1.125rem, 2.5vw, 1.25rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.4;
}

p {
    line-height: 1.75;
}

p:not(:first-child) {
    margin-top: 1.5rem;
}

blockquote {
    margin-top: 1.5rem;
    border-left: 2px solid var(--border-color);
    padding-left: 1.5rem;
    font-style: italic;
}

ul {
    margin: 1.5rem 0;
    margin-left: 1.5rem;
    list-style: disc;
}

ul li {
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: clamp(2.5rem, 4vw, 3rem);
    }

    h2 {
        font-size: clamp(2rem, 3vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    }

    h4 {
        font-size: clamp(1.25rem, 2vw, 1.5rem);
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: clamp(3rem, 3vw, 4rem);
    }

    h2 {
        font-size: clamp(2.5rem, 2.5vw, 3rem);
    }

    h3 {
        font-size: clamp(2rem, 2vw, 2.5rem);
    }

    h4 {
        font-size: clamp(1.5rem, 1.5vw, 2rem);
    }
}

/* Item component styles */
.item {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 0.75rem;
    border-radius: 0.375rem;
    background-color: transparent;
    border: none;
    margin-bottom: 0.5rem;
}

.item-content {
    flex: 1;
}

.item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    min-width: 1.5em;
    min-height: 1.5em;
}

.item-icon svg {
    display: block;
    width: 1.5em;
    height: 1.5em;
    stroke: var(--text-primary);
}

.item-description {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 400;
}

/* badge inside item description spacing */
.item-description .badge {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
}

/* Badge base and outline variant */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    background-color: var(--accent-color);
    color: #fff;
    border: 1px solid transparent;
}

.badge-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* Dark theme adjustments for outline */
[data-theme="dark"] .badge-outline {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Schedule row: times and badge inline */
.schedule-row {
    display: block;
}

.schedule-times {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.schedule-time {
    white-space: nowrap;
}

.schedule-day {
    margin-right: 0.5rem;
    font-weight: 700;
}

.schedule-times .badge {
    margin-left: 0.5rem;
    flex: 0 0 auto;
}

.prof-row {
    margin-top: 0.5rem;
}

/* Resource Link Buttons */
.resources-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Button Styles - shadcn/ui inspired */
.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

a.button-outline {
    background-color: #ffffff !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color) !important;
}

a.button-outline:hover {
    background-color: #f3f4f6 !important;
    border-color: var(--text-primary) !important;
    text-decoration: none !important;
}

/* Task Item Styles */
.item-badge-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
}

.item-title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.badge-solid {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    white-space: nowrap;
}

.task-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.task-status {
    text-transform: capitalize;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background-color: var(--bg-secondary);
}

.task-due {
    font-weight: 500;
}

/* Task Drawer Styles */
.drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
}

.drawer.active {
    display: flex;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    animation: drawerOverlayFadeIn 0.2s ease;
}

.drawer-content {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 80vh;
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-radius: 0.5rem 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    animation: drawerContentSlideUp 0.3s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    color: #000;
}

@media (min-width: 768px) {
    .drawer-content {
        left: calc(50% - 400px);
        right: auto;
        width: 800px;
        border-radius: 0.5rem;
        bottom: 2rem;
    }
}

@keyframes drawerOverlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes drawerContentSlideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.drawer-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.drawer-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.drawer-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.drawer-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.5;
}

.drawer-buttons {
    display: flex;
    gap: 0.5rem;
}

.drawer-copy {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.drawer-copy:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.drawer-copy svg {
    width: 1.25rem;
    height: 1.25rem;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.drawer-close:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.drawer-close svg {
    width: 1.25rem;
    height: 1.25rem;
}

.drawer-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
}

.drawer-details {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    white-space: pre-wrap;
}

.drawer-badge {
    display: inline-block;
}

.drawer-meta-due {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.drawer-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
}

.drawer-due {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}


/* shadcn/ui item structure - based on https://ui.shadcn.com/docs/components/radix/item */
.item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.375rem;
    background-color: transparent;
    border: none;
    margin-bottom: 0.5rem;
}

.item.item-outline {
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--card-bg);
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.task-item {
    border: 1px solid var(--border-color);
}

.item-media {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-media-icon {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    min-height: 2.5rem;
    border-radius: 0.5rem;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-content {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.item-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.item-icon svg {
    display: block;
    width: 1.5em;
    height: 1.5em;
    stroke: currentColor;
    fill: none;
}