.home-v4-shell {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    --home-v4-panel-gap: 1rem;
}

.home-v4-shell [x-cloak] {
    display: none !important;
}

.home-v4-layout {
    display: grid;
    gap: var(--home-v4-panel-gap);
    align-items: start;
}

.home-v4-nav-shell,
.home-v4-nav-stack,
.home-v4-nav-card,
.home-v4-nav-list,
.home-v4-nav-group,
.home-v4-main {
    min-width: 0;
    display: grid;
}

.home-v4-main {
    min-width: 0;
    gap: var(--home-v4-panel-gap);
    align-items: start;
}

.home-v4-card,
.home-v4-mobile-toolbar,
.home-v4-mobile-sheet {
    border: 1px solid #d9e2ec;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 2rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(14px);
}

.home-v4-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1.25rem;
}

.home-v4-mobile-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    margin-bottom: 1rem;
}

.home-v4-mobile-calendar-first-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    padding: 0.1rem 0 0.8rem;
    margin-bottom: 0.75rem;
}

.home-v4-mobile-calendar-first-status-scroll {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.14rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-v4-mobile-calendar-first-status-scroll::-webkit-scrollbar {
    display: none;
}

.home-v4-mobile-calendar-first-status {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.45rem;
    min-width: max-content;
}

.home-v4-mobile-calendar-first-chip {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    box-sizing: border-box;
    gap: 0.42rem;
    min-height: 2.55rem;
    padding: 0.6rem 0.96rem;
    border: 1px solid #d9e2ec;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #334155;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(148, 163, 184, 0.12);
}

.home-v4-mobile-calendar-first-chip i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.96rem;
    height: 0.96rem;
    flex: 0 0 auto;
    color: #475569;
    font-size: 0.86rem;
    line-height: 1;
}

.home-v4-mobile-calendar-first-chip--date {
    border-color: #c7d2fe;
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
    color: #3730a3;
}

.home-v4-mobile-calendar-first-chip--date i {
    color: #4f46e5;
}

.home-v4-mobile-menu-button,
.home-v4-mobile-sheet-close,
.home-v4-mobile-all-tools-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.home-v4-mobile-menu-button {
    flex-shrink: 0;
    min-height: 2.9rem;
    padding: 0 1.05rem;
}

.home-v4-mobile-sheet-close {
    width: 2.65rem;
    height: 2.65rem;
    flex-shrink: 0;
}

.home-v4-mobile-all-tools-trigger {
    flex-shrink: 0;
    min-height: 2.9rem;
    padding: 0 1.05rem;
    margin-left: auto;
}

.home-v4-mobile-all-tools-trigger--icon {
    width: 3rem;
    height: 3rem;
    min-height: 3rem;
    padding: 0;
    margin-left: 0;
    border-radius: 1rem;
    gap: 0;
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.14);
}

.home-v4-mobile-all-tools-trigger--icon i {
    font-size: 0.95rem;
    line-height: 1;
}

.home-v4-mobile-menu-button:hover,
.home-v4-mobile-menu-button:focus-visible,
.home-v4-mobile-sheet-close:hover,
.home-v4-mobile-sheet-close:focus-visible,
.home-v4-mobile-all-tools-trigger:hover,
.home-v4-mobile-all-tools-trigger:focus-visible {
    border-color: #a5b4fc;
    color: #3730a3;
    background: #eef2ff;
}

.home-v4-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.32);
    z-index: 40;
}

.home-v4-mobile-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    max-height: min(82vh, 720px);
    overflow: hidden;
}

.home-v4-mobile-sheet-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.9rem;
}

.home-v4-mobile-sheet-body {
    max-height: calc(min(82vh, 720px) - 76px);
    overflow-y: auto;
    padding: 0 1rem 1rem;
}

.home-v4-nav-shell {
    display: none;
}

.home-v4-nav-stack {
    display: grid;
    gap: var(--home-v4-panel-gap);
}

.home-v4-nav-card {
    padding: 1rem;
    overflow: hidden;
}

.home-v4-nav-header {
    padding: 0.2rem 0.2rem 1rem;
}

.home-v4-nav-list {
    display: grid;
    gap: 0.45rem;
}

.home-v4-nav-group {
    display: grid;
    gap: 0.4rem;
    --home-v4-nav-accent: #475569;
    --home-v4-nav-accent-soft: #f8fafc;
    --home-v4-nav-accent-border: #dbe4ee;
}

.home-v4-nav-group--blue {
    --home-v4-nav-accent: #2563eb;
    --home-v4-nav-accent-soft: #eff6ff;
    --home-v4-nav-accent-border: #bfdbfe;
}

.home-v4-nav-group--emerald {
    --home-v4-nav-accent: #059669;
    --home-v4-nav-accent-soft: #ecfdf5;
    --home-v4-nav-accent-border: #a7f3d0;
}

.home-v4-nav-group--violet {
    --home-v4-nav-accent: #7c3aed;
    --home-v4-nav-accent-soft: #f5f3ff;
    --home-v4-nav-accent-border: #ddd6fe;
}

.home-v4-nav-group--cyan {
    --home-v4-nav-accent: #0891b2;
    --home-v4-nav-accent-soft: #ecfeff;
    --home-v4-nav-accent-border: #a5f3fc;
}

.home-v4-nav-group--rose,
.home-v4-nav-group--red {
    --home-v4-nav-accent: #e11d48;
    --home-v4-nav-accent-soft: #fff1f2;
    --home-v4-nav-accent-border: #fecdd3;
}

.home-v4-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    width: 100%;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 1.15rem;
    overflow: hidden;
    padding: 0.82rem 0.9rem;
    text-align: left;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.home-v4-nav-item::before {
    content: "";
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 0.24rem;
    border-radius: 999px;
    background: transparent;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.home-v4-nav-item:hover,
.home-v4-nav-item:focus-visible {
    border-color: #e2e8f0;
    background: rgba(248, 250, 252, 0.92);
    box-shadow: none;
}

.home-v4-nav-item--home.is-active {
    border-color: #dbe4ee;
    background: #f8fafc;
    box-shadow: none;
}

.home-v4-nav-item--home.is-active::before {
    opacity: 1;
    background: #64748b;
}

.home-v4-nav-item--section.is-open {
    border-color: var(--home-v4-nav-accent-border);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

.home-v4-nav-item--section.is-open::before {
    opacity: 1;
    background: var(--home-v4-nav-accent);
}

.home-v4-nav-item-main {
    display: flex;
    align-items: flex-start;
    gap: 0.72rem;
    min-width: 0;
    flex: 1;
}

.home-v4-nav-copy {
    min-width: 0;
}

.home-v4-nav-item-side {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.home-v4-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    flex-shrink: 0;
    border-radius: 0.8rem;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    box-shadow: none;
    font-size: 0.88rem;
}

.home-v4-nav-icon--home,
.home-v4-nav-icon--slate {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #334155;
}

.home-v4-nav-icon--blue {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
}

.home-v4-nav-icon--emerald {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #059669;
}

.home-v4-nav-icon--violet {
    background: #f5f3ff;
    border-color: #ddd6fe;
    color: #7c3aed;
}

.home-v4-nav-icon--cyan {
    background: #ecfeff;
    border-color: #a5f3fc;
    color: #0891b2;
}

.home-v4-nav-icon--rose,
.home-v4-nav-icon--red {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #e11d48;
}

.home-v4-nav-title {
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: #0f172a;
}

.home-v4-nav-subtitle {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-v4-nav-chevron {
    color: #94a3b8;
    font-size: 0.72rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.home-v4-nav-item--section.is-open .home-v4-nav-chevron {
    color: var(--home-v4-nav-accent);
}

.home-v4-nav-chevron.is-open {
    transform: rotate(180deg);
}

.home-v4-tool-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
    margin-left: 0.55rem;
    padding: 0.45rem;
    border: 1px solid var(--home-v4-nav-accent-border);
    border-radius: 1rem;
    background: var(--home-v4-nav-accent-soft);
    min-width: 0;
}

.home-v4-tool-item {
    position: relative;
}

.home-v4-tool-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 0.95rem;
    padding: 0.72rem 2.6rem 0.72rem 0.82rem;
    overflow: hidden;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.home-v4-tool-leading {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}

.home-v4-tool-link:hover,
.home-v4-tool-link:focus-visible {
    border-color: var(--home-v4-nav-accent-border);
    background: #ffffff;
    box-shadow: none;
}

.home-v4-tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 0.8rem;
    background: #ffffff;
    color: #475569;
    box-shadow: none;
    border: 1px solid #e2e8f0;
}

.home-v4-tool-copy {
    min-width: 0;
}

.home-v4-tool-title,
.home-v4-tool-summary {
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.home-v4-tool-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.home-v4-tool-favorite-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}

.home-v4-tool-item:hover .home-v4-tool-favorite-badge,
.home-v4-tool-favorite-badge:focus-visible {
    transform: translateY(-1px);
}

.home-v4-tool-link-arrow {
    color: #cbd5e1;
    font-size: 0.68rem;
    padding-top: 0.45rem;
    flex-shrink: 0;
}

.home-v4-primary-stack,
.home-v4-home-panel-section,
.home-v4-top-favorites,
.home-v4-top-sns {
    min-width: 0;
    align-self: start;
}

.home-v4-primary-stack,
.home-v4-side-stack {
    display: grid;
    gap: var(--home-v4-panel-gap);
    min-width: 0;
    align-content: start;
}

.home-v4-mobile-quick-tools {
    display: grid;
    gap: var(--home-v4-panel-gap);
}

.home-v4-mobile-quick-tools-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.home-v4-mobile-quick-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-v4-mobile-quickdrop {
    display: grid;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 0.85rem;
    border: 1px solid #d8e5ff;
    border-radius: 1.6rem;
    background: linear-gradient(135deg, #eff4ff 0%, #ffffff 100%);
    padding: 1rem;
    overflow: hidden;
    isolation: isolate;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.home-v4-card textarea,
.home-v4-card input,
.home-v4-card select,
.home-v4-mobile-quickdrop textarea,
.home-v4-mobile-quickdrop input,
.home-v4-mobile-quickdrop select {
    min-width: 0;
    max-width: 100%;
}

.home-v4-mobile-quickdrop-head {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.home-v4-mobile-quickdrop-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    flex-shrink: 0;
    border-radius: 1rem;
    border: 1px solid #c7d8ff;
    background: linear-gradient(180deg, #f5f9ff 0%, #dfe9ff 100%);
    color: #1f4fd1;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 14px 28px rgba(31, 79, 209, 0.12);
}

.home-v4-mobile-quickdrop-eyebrow {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1d4ed8;
}

.home-v4-mobile-quickdrop-summary {
    margin: 0;
    min-width: 0;
    max-width: 100%;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.home-v4-mobile-quickdrop-form {
    display: grid;
    min-width: 0;
    gap: 0.65rem;
}

.home-v4-mobile-quickdrop-label {
    font-size: 0.78rem;
    font-weight: 900;
    color: #1e3a8a;
}

.home-v4-mobile-quickdrop-textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 6.4rem;
    resize: vertical;
    border: 1px solid #c7d8ff;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.9rem 1rem;
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.55;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.home-v4-mobile-quickdrop-textarea:focus {
    outline: none;
    border-color: #7aa2ff;
    box-shadow: 0 0 0 3px rgba(79, 139, 255, 0.18);
}

.home-v4-mobile-quickdrop-error {
    margin: 0;
    border-radius: 1rem;
    border: 1px solid #fecaca;
    background: #fef2f2;
    padding: 0.7rem 0.85rem;
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 800;
}

.home-v4-mobile-quickdrop-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    gap: 0.65rem;
    align-items: center;
}

.home-v4-mobile-quickdrop-primary,
.home-v4-mobile-quickdrop-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    border-radius: 999px;
    padding: 0 1rem;
    font-size: 0.88rem;
    font-weight: 900;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-v4-mobile-quickdrop-primary {
    border: 0;
    background: linear-gradient(135deg, #1f4fd1 0%, #4f8bff 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(31, 79, 209, 0.16);
    cursor: pointer;
}

.home-v4-mobile-quickdrop-primary:hover,
.home-v4-mobile-quickdrop-primary:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
}

.home-v4-mobile-quickdrop-primary:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.home-v4-mobile-quickdrop-secondary {
    border: 1px solid #d6e0f5;
    background: rgba(255, 255, 255, 0.96);
    color: #1f4fd1;
}

.home-v4-mobile-quickdrop-secondary:hover,
.home-v4-mobile-quickdrop-secondary:focus-visible {
    border-color: #bfd3ff;
    background: #f8fbff;
    color: #143da7;
    transform: translateY(-1px);
}

@media (max-width: 639px) {
    .home-v4-mobile-quickdrop-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-v4-mobile-quickdrop-primary,
    .home-v4-mobile-quickdrop-secondary {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }
}

@media (max-width: 1099px) {
    .home-v4-mobile-quickdrop {
        border-radius: 1.45rem;
    }

    .home-v4-mobile-quickdrop-textarea {
        border-radius: 1.05rem;
    }

    .home-v4-mobile-quickdrop-primary,
    .home-v4-mobile-quickdrop-secondary {
        min-height: 2.7rem;
    }
}

.home-v4-mobile-quick-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    min-height: 104px;
    border: 1px solid #e2e8f0;
    border-radius: 1.45rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 0.95rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-v4-mobile-quick-item:hover,
.home-v4-mobile-quick-item:focus-visible {
    border-color: #bfdbfe;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.home-v4-mobile-quick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 1rem;
    background: #f8fafc;
    color: #475569;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}

.home-v4-mobile-quick-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 900;
    line-height: 1.35;
    color: #0f172a;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.home-v4-desktop-favorites {
    display: none;
}

.home-v4-desktop-quickdrop {
    display: none;
}

.home-v4-representative-section,
.home-v4-top-favorites,
.home-v4-top-sns {
    min-width: 0;
    align-self: start;
}

.home-v4-favorites-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-v4-favorite-card {
    min-height: 74px;
    border-radius: 1.35rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.75rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.home-v4-favorite-card:hover {
    border-color: #fbbf24;
    background: #ffffff;
    transform: translateY(-1px);
}

.home-v4-quickdrop-panel {
    display: grid;
    gap: 0.85rem;
    border-color: #d8e5ff;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.home-v4-developer-chat-card {
    display: grid;
    gap: 0.95rem;
    border-color: #d9e9ff;
    background: linear-gradient(180deg, rgba(244, 250, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.home-v4-developer-chat-card--desktop {
    display: none;
}

.home-v4-developer-chat-head,
.home-v4-developer-chat-heading,
.home-v4-developer-chat-item,
.home-v4-developer-chat-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
}

.home-v4-developer-chat-heading {
    min-width: 0;
    justify-content: flex-start;
}

.home-v4-developer-chat-title {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.home-v4-developer-chat-title-line {
    display: block;
    white-space: nowrap;
    word-break: keep-all;
}

.home-v4-developer-chat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    flex-shrink: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0f766e 0%, #0ea5e9 100%);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.18);
}

.home-v4-developer-chat-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.home-v4-developer-chat-chip,
.home-v4-developer-chat-unread {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.home-v4-developer-chat-chip {
    border: 1px solid #dbeafe;
    background: #ffffff;
    color: #0369a1;
    padding: 0.45rem 0.72rem;
}

.home-v4-developer-chat-chip--alert,
.home-v4-developer-chat-unread {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.home-v4-developer-chat-summary {
    margin: 0;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.65;
}

.home-v4-developer-chat-list {
    display: grid;
    gap: 0.7rem;
}

.home-v4-developer-chat-item {
    border: 1px solid #dbe4ee;
    border-radius: 1.35rem;
    background: #ffffff;
    padding: 0.85rem 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-v4-developer-chat-item:hover,
.home-v4-developer-chat-item:focus-visible {
    border-color: #93c5fd;
    box-shadow: 0 14px 28px rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.home-v4-developer-chat-item-title {
    margin: 0;
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 900;
    line-height: 1.4;
}

.home-v4-developer-chat-item-preview,
.home-v4-developer-chat-item-meta,
.home-v4-developer-chat-empty {
    margin: 0.35rem 0 0;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.6;
}

.home-v4-developer-chat-item-preview {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-v4-developer-chat-empty {
    border: 1px dashed #cbd5e1;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.86);
    padding: 0.9rem 1rem;
}

.home-v4-developer-chat-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border-radius: 999px;
    padding: 0 1rem;
    background: linear-gradient(135deg, #0f766e 0%, #0ea5e9 100%);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.18);
    transition: transform 0.2s ease;
}

.home-v4-developer-chat-primary:hover,
.home-v4-developer-chat-primary:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
}

.home-schoolcomm-card {
    display: grid;
    gap: 0.9rem;
    border-color: #d9e8f6;
    background: linear-gradient(180deg, rgba(246, 250, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.home-schoolcomm-card-head,
.home-schoolcomm-card-heading,
.home-schoolcomm-card-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.home-schoolcomm-card-heading {
    min-width: 0;
    justify-content: flex-start;
}

.home-schoolcomm-card-icon,
.home-schoolcomm-card-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 999px;
}

.home-schoolcomm-card-icon {
    width: 2.65rem;
    height: 2.65rem;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    color: #1d4ed8;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.16);
    font-size: 1.2rem;
}

.home-schoolcomm-card-shortcut {
    width: 2.45rem;
    height: 2.45rem;
    border: 1px solid #dbeafe;
    background: #ffffff;
    color: #1d4ed8;
}

.home-schoolcomm-card-shortcut:hover,
.home-schoolcomm-card-shortcut:focus-visible {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1e40af;
    transform: translateY(-1px);
}

.home-schoolcomm-card-summary,
.home-schoolcomm-card-helper {
    margin: 0;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
}

.home-schoolcomm-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.home-schoolcomm-card-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #0f766e;
    padding: 0.38rem 0.7rem;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.1;
}

.home-schoolcomm-card-actions {
    flex-wrap: wrap;
}

.home-schoolcomm-card-primary,
.home-schoolcomm-card-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border-radius: 999px;
    padding: 0 1rem;
    font-size: 0.86rem;
    font-weight: 900;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.home-schoolcomm-card-primary {
    border: 0;
    background: linear-gradient(135deg, #0f4c81 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.16);
}

.home-schoolcomm-card-primary:hover,
.home-schoolcomm-card-primary:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
}

.home-schoolcomm-card-secondary {
    border: 1px solid #d6e4f0;
    background: #ffffff;
    color: #0f4c81;
}

.home-schoolcomm-card-secondary:hover,
.home-schoolcomm-card-secondary:focus-visible {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1e40af;
    transform: translateY(-1px);
}

.home-v4-quickdrop-head {
    display: flex;
    align-items: flex-start;
    min-width: 0;
    gap: 0.85rem;
}

.home-v4-quickdrop-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 1rem;
    border: 1px solid #c7d8ff;
    background: linear-gradient(180deg, #f5f9ff 0%, #e2ecff 100%);
    color: #1f4fd1;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 14px 30px rgba(31, 79, 209, 0.12);
}

.home-v4-quickdrop-summary {
    margin: 0;
    min-width: 0;
    max-width: 100%;
    color: #475569;
    font-size: 0.93rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.home-v4-quickdrop-form {
    display: grid;
    min-width: 0;
    gap: 0.75rem;
}

.home-v4-quickdrop-label {
    font-size: 0.8rem;
    font-weight: 900;
    color: #1e3a8a;
}

.home-v4-quickdrop-textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 7.2rem;
    resize: vertical;
    border: 1px solid #c7d8ff;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    padding: 0.95rem 1rem;
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.6;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.home-v4-quickdrop-textarea:focus {
    outline: none;
    border-color: #7aa2ff;
    box-shadow: 0 0 0 3px rgba(79, 139, 255, 0.18);
}

.home-v4-quickdrop-error {
    margin: 0;
    border-radius: 1rem;
    border: 1px solid #fecaca;
    background: #fef2f2;
    padding: 0.75rem 0.9rem;
    color: #b91c1c;
    font-size: 0.84rem;
    font-weight: 800;
}

.home-v4-quickdrop-status-row {
    display: grid;
    gap: 0.5rem;
}

.home-v4-quickdrop-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    border: 1px solid #e2e8f0;
}

.home-v4-quickdrop-status-pill--filled {
    background: #edf4ff;
    border-color: #cfe0ff;
    color: #1f4fd1;
}

.home-v4-quickdrop-meta {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
}

.home-v4-quickdrop-actions {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    gap: 0.65rem;
}

.home-v4-quickdrop-primary,
.home-v4-quickdrop-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    border-radius: 999px;
    padding: 0 1rem;
    font-size: 0.88rem;
    font-weight: 900;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-v4-quickdrop-primary {
    border: 0;
    background: linear-gradient(135deg, #1f4fd1 0%, #4f8bff 100%);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(31, 79, 209, 0.2);
    cursor: pointer;
}

.home-v4-quickdrop-primary:hover,
.home-v4-quickdrop-primary:focus-visible {
    color: #ffffff;
    transform: translateY(-1px);
}

.home-v4-quickdrop-primary:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

.home-v4-quickdrop-secondary {
    border: 1px solid #d6e0f5;
    background: #ffffff;
    color: #1f4fd1;
}

.home-v4-quickdrop-secondary:hover,
.home-v4-quickdrop-secondary:focus-visible {
    border-color: #bfd3ff;
    background: #f8fbff;
    color: #143da7;
    transform: translateY(-1px);
}

.home-v4-sns-item {
    display: block;
    border-radius: 1.4rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 0.95rem;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.home-v4-sns-item:hover {
    border-color: #c7d2fe;
    background: #ffffff;
    transform: translateY(-1px);
}

.home-v4-service-grid {
    display: grid;
    gap: 0.9rem;
}

.home-v4-recommend-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.home-v4-recommend-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 0.7rem 0.95rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.home-v4-recommend-pill:hover {
    border-color: #93c5fd;
    color: #0f172a;
    background: #f8fbff;
}

@media (max-width: 1099px) {
    .home-v4-layout,
    .home-v4-main,
    .home-v4-primary-stack,
    .home-v4-side-stack,
    .home-v4-home-panel-section,
    .home-v4-card,
    .home-v4-mobile-quickdrop {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .home-v4-card,
    .home-v4-mobile-quickdrop {
        overflow-x: clip;
    }
}

@media (min-width: 768px) {
    .home-v4-card {
        padding: 1.5rem;
    }

    .home-v4-mobile-toolbar {
        padding: 1.15rem 1.25rem;
    }

    .home-v4-mobile-calendar-first-bar {
        gap: 0.8rem;
        padding: 0.18rem 0.1rem 0.95rem;
    }

    .home-v4-mobile-calendar-first-status {
        gap: 0.55rem;
    }

    .home-v4-mobile-calendar-first-chip {
        min-height: 2.65rem;
        padding: 0.62rem 1rem;
        font-size: 0.94rem;
    }

    .home-v4-mobile-all-tools-trigger--icon {
        width: 3.05rem;
        height: 3.05rem;
        min-height: 3.05rem;
    }

    .home-v4-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-v4-mobile-quickdrop {
        padding: 1.1rem;
    }
}

@media (min-width: 1100px) {
    .home-v4-mobile-calendar-first-bar,
    .home-v4-mobile-toolbar,
    .home-v4-mobile-overlay,
    .home-v4-mobile-sheet {
        display: none !important;
    }

    .home-v4-layout {
        grid-template-columns: 312px minmax(0, 1fr);
    }

    .home-v4-nav-shell {
        display: grid;
        gap: var(--home-v4-panel-gap);
        position: sticky;
        top: calc(var(--main-nav-height, 88px) + 1rem);
        align-self: start;
    }

    .home-v4-mobile-quick-tools {
        display: none;
    }

    .home-v4-desktop-favorites {
        display: block;
    }

    .home-v4-desktop-quickdrop {
        display: grid;
    }

    .home-v4-nav-card {
        position: static;
    }

    .home-v4-developer-chat-card--desktop {
        display: grid;
    }

    .home-v4-developer-chat-card--mobile {
        display: none;
    }
}

@media (min-width: 1280px) {
    .home-v4-main {
        grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.68fr);
        column-gap: var(--home-v4-panel-gap);
        align-items: start;
    }
}
