/* ======================================================
   FORGE WORKSPACE — HOME
   Shared visual system
   Used by:
   - index.php
   - hat.php
   - heels.php
====================================================== */


/* ======================================================
   ROOT
====================================================== */

:root {
    --fw-bg: #0b0d10;
    --fw-bg-soft: #11141a;
    --fw-panel: #15181f;
    --fw-panel-soft: #181c24;

    --fw-line: rgba(255, 255, 255, 0.08);
    --fw-line-strong: rgba(255, 255, 255, 0.14);

    --fw-text: #f5f5f2;
    --fw-text-soft: #b6b7bd;
    --fw-text-muted: #7f828c;

    --fw-purple: #8f7cff;
    --fw-purple-soft: rgba(143, 124, 255, 0.14);

    --fw-green: #9fd9a7;
    --fw-yellow: #e7d79a;
    --fw-pink: #e7b7c4;
    --fw-lilac: #c6b9f4;

    --fw-danger: #f06c7f;
    --fw-warning: #e8b85c;
    --fw-success: #73c48f;

    --fw-radius-sm: 10px;
    --fw-radius: 16px;
    --fw-radius-lg: 22px;

    --fw-container: 1440px;

    --fw-shadow:
        0 18px 60px rgba(0, 0, 0, 0.28);
}


/* ======================================================
   RESET
====================================================== */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;

    scroll-behavior: smooth;

    background: var(--fw-bg);
}

body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    font-size: 15px;
    line-height: 1.5;

    background:
        radial-gradient(
            circle at 18% 0%,
            rgba(143, 124, 255, 0.07),
            transparent 24%
        ),
        var(--fw-bg);

    color: var(--fw-text);

    -webkit-font-smoothing: antialiased;
}

body.fw-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

::selection {
    background: rgba(143, 124, 255, 0.32);
    color: #ffffff;
}


/* ======================================================
   HAT
====================================================== */

.fw-hat {
    position: sticky;
    top: 0;
    z-index: 100;

    width: 100%;

    background:
        rgba(11, 13, 16, 0.9);

    border-bottom: 1px solid var(--fw-line);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.fw-hat-inner {
    width: calc(100% - 48px);
    max-width: var(--fw-container);

    min-height: 74px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 36px;
}


/* ======================================================
   BRAND
====================================================== */

.fw-brand {
    display: inline-flex;
    align-items: center;

    gap: 13px;

    flex: 0 0 auto;
}

.fw-brand-mark {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(143, 124, 255, 0.5);
    border-radius: 11px;

    background:
        linear-gradient(
            145deg,
            rgba(143, 124, 255, 0.2),
            rgba(143, 124, 255, 0.04)
        );

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.fw-brand-copy {
    display: flex;
    flex-direction: column;

    gap: 1px;
}

.fw-brand-copy strong {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;

    color: #ffffff;
}

.fw-brand-copy small {
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.13em;
    text-transform: uppercase;

    color: var(--fw-text-muted);
}


/* ======================================================
   DESKTOP NAV
====================================================== */

.fw-nav {
    display: flex;
    align-items: center;

    gap: 6px;
}

.fw-nav-link {
    min-height: 38px;

    padding: 0 12px;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    border: 0;
    border-radius: 9px;

    background: transparent;

    font-size: 12px;
    font-weight: 600;

    color: var(--fw-text-soft);

    cursor: pointer;

    transition:
        color 0.16s ease,
        background 0.16s ease;
}

.fw-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.fw-nav-editor {
    margin-left: 8px;

    border: 1px solid rgba(143, 124, 255, 0.35);

    color: #ddd7ff;

    background: rgba(143, 124, 255, 0.08);
}

.fw-nav-editor:hover {
    background: rgba(143, 124, 255, 0.15);
    color: #ffffff;
}


/* ======================================================
   NAV DROPDOWN
====================================================== */

.fw-nav-dropdown {
    position: relative;
}

.fw-nav-chevron {
    font-size: 10px;
    opacity: 0.65;

    transition:
        transform 0.16s ease;
}

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

.fw-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;

    min-width: 250px;

    padding: 8px;

    visibility: hidden;
    opacity: 0;

    transform: translateY(-5px);

    border: 1px solid var(--fw-line-strong);
    border-radius: 13px;

    background:
        rgba(19, 22, 28, 0.98);

    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.4);

    transition:
        opacity 0.16s ease,
        transform 0.16s ease,
        visibility 0.16s ease;
}

.fw-nav-dropdown.is-open .fw-nav-dropdown-menu {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);
}

.fw-nav-dropdown-menu a {
    padding: 10px 11px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    border-radius: 8px;

    transition:
        background 0.15s ease;
}

.fw-nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.fw-nav-dropdown-menu span {
    font-size: 12px;
    font-weight: 600;

    color: var(--fw-text);
}

.fw-nav-dropdown-menu small {
    font-size: 9px;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--fw-text-muted);
}


/* ======================================================
   MOBILE MENU BUTTON
====================================================== */

.fw-menu-button {
    width: 44px;
    height: 44px;

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    padding: 0;

    border: 1px solid var(--fw-line);
    border-radius: 11px;

    background: rgba(255, 255, 255, 0.03);

    cursor: pointer;
}

.fw-menu-button span {
    width: 18px;
    height: 1px;

    display: block;

    background: #ffffff;

    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}

.fw-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.fw-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.fw-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* ======================================================
   MOBILE MENU
====================================================== */

.fw-mobile-menu {
    display: none;

    border-top: 1px solid var(--fw-line);

    background:
        rgba(11, 13, 16, 0.98);
}

.fw-mobile-menu.is-open {
    display: block;
}

.fw-mobile-menu-inner {
    width: calc(100% - 28px);

    margin: 0 auto;

    padding: 14px 0 22px;
}

.fw-mobile-menu-inner > a,
.fw-mobile-menu summary {
    min-height: 48px;

    display: flex;
    align-items: center;

    padding: 0 3px;

    border-bottom: 1px solid var(--fw-line);

    font-size: 13px;
    font-weight: 600;

    color: var(--fw-text-soft);

    cursor: pointer;
}

.fw-mobile-menu summary {
    list-style: none;
}

.fw-mobile-menu summary::-webkit-details-marker {
    display: none;
}

.fw-mobile-submenu {
    padding: 7px 0 11px 14px;

    border-bottom: 1px solid var(--fw-line);
}

.fw-mobile-submenu a {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;
}

.fw-mobile-submenu span {
    font-size: 12px;

    color: var(--fw-text);
}

.fw-mobile-submenu small {
    font-size: 9px;
    letter-spacing: 0.07em;

    color: var(--fw-text-muted);
}

.fw-mobile-editor {
    color: #cfc5ff !important;
}


/* ======================================================
   HOME
====================================================== */

.fw-home {
    width: calc(100% - 48px);
    max-width: var(--fw-container);

    margin: 0 auto;

    padding: 58px 0 90px;
}


/* ======================================================
   FORGE DAILY
====================================================== */

.fw-daily {
    min-height: 220px;

    margin-bottom: 18px;
    padding: 6px 0 34px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 56px;

    border-bottom: 1px solid var(--fw-line);
}

.fw-daily-copy {
    min-width: 0;
    max-width: 980px;
}

.fw-kicker {
    margin: 0 0 11px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: var(--fw-purple);
}

.fw-daily h1 {
    margin: 0;

    max-width: 1050px;

    font-size:
        clamp(38px, 5vw, 70px);

    line-height: 0.98;

    font-weight: 630;
    letter-spacing: -0.045em;

    color: #ffffff;
}

.fw-daily-dialogue {
    margin-top: 22px;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.fw-daily-dialogue p {
    margin: 0;

    font-size: 13px;
    line-height: 1.45;
}

.fw-daily-dialogue strong {
    font-weight: 700;
}

.fw-daily-dialogue em {
    font-style: italic;
}

.fw-dialogue-victoria {
    color: #b7a8ff;
}

.fw-dialogue-emily {
    color: #9edcff;
}

.fw-daily-mark {
    flex: 0 0 auto;

    display: grid;
    grid-template-columns: auto auto auto;
    align-items: baseline;

    column-gap: 8px;
    row-gap: 5px;

    text-align: right;
}

.fw-daily-mark > span {
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fw-daily-mark > span:nth-child(1) {
    color: #b7a8ff;
}

.fw-daily-mark > span:nth-child(2) {
    color: #555963;
}

.fw-daily-mark > span:nth-child(3) {
    color: #9edcff;
}

.fw-daily-mark small {
    grid-column: 1 / -1;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 0.13em;
    text-transform: uppercase;

    color: #5f626b;
}


/* ======================================================
   DAILY INFO BAR
====================================================== */

.fw-daily-info {
    margin-bottom: 58px;

    display: grid;

    grid-template-columns:
        1.25fr
        repeat(3, minmax(150px, 1fr))
        minmax(130px, 0.9fr)
        minmax(120px, 0.8fr);

    overflow: hidden;

    border: 1px solid var(--fw-line);
    border-radius: var(--fw-radius);

    background:
        rgba(255, 255, 255, 0.016);
}

.fw-daily-stat {
    min-width: 0;
    min-height: 92px;

    padding: 16px 18px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right: 1px solid var(--fw-line);
}

.fw-daily-stat:last-child {
    border-right: 0;
}

.fw-daily-label {
    margin-bottom: 7px;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.11em;
    text-transform: uppercase;

    color: var(--fw-text-muted);
}

.fw-daily-stat strong {
    overflow: hidden;

    font-size: 18px;
    line-height: 1.1;

    font-weight: 670;
    letter-spacing: -0.02em;

    color: var(--fw-text);

    text-overflow: ellipsis;
    white-space: nowrap;
}

.fw-daily-stat small {
    margin-top: 5px;

    overflow: hidden;

    font-size: 8px;

    color: #666a73;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.fw-daily-date strong {
    font-size: 16px;
}


/* ======================================================
   GLOBAL SECTION
====================================================== */

.fw-section {
    margin-top: 70px;
}

.fw-section:first-of-type {
    margin-top: 0;
}

.fw-section-header {
    margin-bottom: 22px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}

.fw-section-heading {
    display: flex;
    align-items: flex-start;

    gap: 13px;
}

.fw-section-number {
    margin-top: 4px;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.08em;

    color: var(--fw-purple);
}

.fw-section-header h2 {
    margin: 0;

    font-size: 22px;
    font-weight: 620;

    letter-spacing: -0.025em;
}

.fw-section-header p {
    margin: 4px 0 0;

    font-size: 11px;

    color: var(--fw-text-muted);
}

.fw-section-link {
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.05em;
    text-transform: uppercase;

    color: var(--fw-text-muted);

    transition:
        color 0.15s ease;
}

.fw-section-link:hover {
    color: var(--fw-purple);
}


/* ======================================================
   URGENT BOARD
====================================================== */

.fw-urgent-board {
    position: relative;

    min-height: 330px;

    padding: 42px 34px;

    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;

    overflow: hidden;

    border: 1px solid var(--fw-line);
    border-radius: var(--fw-radius-lg);

    background:
        linear-gradient(
            rgba(255, 255, 255, 0.014) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.014) 1px,
            transparent 1px
        ),
        #101318;

    background-size:
        28px 28px;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.fw-urgent-board::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 50%,
            transparent 45%,
            rgba(0, 0, 0, 0.22)
        );
}


/* ======================================================
   POST-ITS
====================================================== */

.fw-postit {
    position: relative;
    z-index: 1;

    min-height: 214px;

    padding: 28px 22px 20px;

    display: flex;
    flex-direction: column;

    color: #272321;

    box-shadow:
        0 16px 30px rgba(0, 0, 0, 0.26);

    transform: rotate(-0.7deg);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.fw-postit:nth-child(2n) {
    transform: rotate(0.7deg);
}

.fw-postit:nth-child(3n) {
    transform: rotate(-0.3deg);
}

.fw-postit:hover {
    transform:
        translateY(-4px)
        rotate(0deg);

    box-shadow:
        0 22px 38px rgba(0, 0, 0, 0.32);
}

.fw-postit-pink {
    background: var(--fw-pink);
}

.fw-postit-yellow {
    background: var(--fw-yellow);
}

.fw-postit-purple {
    background: var(--fw-lilac);
}

.fw-postit-green {
    background: var(--fw-green);
}

.fw-postit-tape {
    position: absolute;

    top: -11px;
    left: 50%;

    width: 58px;
    height: 23px;

    transform: translateX(-50%) rotate(-2deg);

    background:
        rgba(233, 225, 201, 0.58);

    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.08);
}

.fw-postit-project {
    margin-bottom: 9px;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.07em;
    text-transform: uppercase;

    opacity: 0.58;
}

.fw-postit h3 {
    margin: 0 0 18px;

    font-size: 17px;
    line-height: 1.2;

    font-weight: 750;
    letter-spacing: -0.015em;
}

.fw-postit-task {
    margin: 0;

    font-size: 13px;
    line-height: 1.45;

    font-weight: 550;
}

.fw-postit-footer {
    margin-top: auto;
    padding-top: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    font-size: 10px;
    font-weight: 700;

    border-top:
        1px solid rgba(0, 0, 0, 0.12);
}


/* ======================================================
   PROJECT GRID
====================================================== */

.fw-project-grid {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.fw-project-card {
    min-width: 0;

    overflow: hidden;

    border: 1px solid var(--fw-line);
    border-radius: var(--fw-radius);

    background:
        var(--fw-panel);

    box-shadow:
        0 0 0 rgba(0, 0, 0, 0);

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.fw-project-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(143, 124, 255, 0.36);

    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.22);
}

.fw-project-image {
    position: relative;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #111318;
}

.fw-project-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter:
        saturate(0.83)
        contrast(1.03)
        brightness(0.86);

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.fw-project-card:hover .fw-project-image img {
    transform: scale(1.035);

    filter:
        saturate(0.95)
        contrast(1.03)
        brightness(0.93);
}

.fw-project-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(8, 10, 13, 0.56),
            transparent 45%
        );

    pointer-events: none;
}

.fw-project-code {
    position: absolute;
    z-index: 2;

    right: 12px;
    bottom: 11px;

    padding: 4px 7px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 6px;

    background:
        rgba(7, 8, 11, 0.64);

    backdrop-filter: blur(8px);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.08em;

    color: rgba(255, 255, 255, 0.78);
}

.fw-project-card-body {
    padding: 17px 17px 16px;
}

.fw-project-card-body h3 {
    margin: 0;

    font-size: 15px;
    font-weight: 670;

    letter-spacing: -0.012em;
}

.fw-project-location {
    margin: 4px 0 15px;

    font-size: 10px;

    color: var(--fw-text-muted);
}

.fw-project-card-footer {
    padding-top: 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    border-top: 1px solid var(--fw-line);

    font-size: 9px;

    color: #747780;
}

.fw-project-arrow {
    font-size: 15px;

    color: var(--fw-purple);
}


/* ======================================================
   ALL PROJECTS HEADER SEARCH
====================================================== */

.fw-inline-search {
    width: min(280px, 100%);
}

.fw-inline-search input {
    width: 100%;
    height: 38px;

    padding: 0 13px;

    border: 1px solid var(--fw-line);
    border-radius: 9px;

    outline: none;

    background:
        rgba(255, 255, 255, 0.025);

    color: var(--fw-text);

    font-size: 11px;
}

.fw-inline-search input::placeholder {
    color: #5f626a;
}

.fw-inline-search input:focus {
    border-color:
        rgba(143, 124, 255, 0.42);

    background:
        rgba(255, 255, 255, 0.04);
}


/* ======================================================
   STATUS BOARD
====================================================== */

.fw-status-board {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.fw-status-column {
    min-width: 0;

    padding: 18px;

    border: 1px solid var(--fw-line);
    border-radius: var(--fw-radius);

    background:
        rgba(255, 255, 255, 0.018);
}

.fw-status-column > header {
    margin-bottom: 14px;
    padding-bottom: 11px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    border-bottom: 1px solid var(--fw-line);
}

.fw-status-column > header h3 {
    margin: 0;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.07em;
    text-transform: uppercase;

    color: var(--fw-text-soft);
}

.fw-status-column > header span {
    min-width: 24px;
    height: 24px;

    padding: 0 7px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background:
        rgba(143, 124, 255, 0.09);

    font-size: 9px;
    font-weight: 700;

    color: #cfc6ff;
}

.fw-status-list {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.fw-status-project {
    min-height: 66px;

    padding: 8px;

    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);

    gap: 11px;

    align-items: center;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.022);

    transition:
        background 0.15s ease;
}

.fw-status-project:hover {
    background:
        rgba(255, 255, 255, 0.045);
}

.fw-status-project img {
    width: 72px;
    height: 50px;

    display: block;

    object-fit: cover;

    border-radius: 7px;

    filter:
        saturate(0.72)
        brightness(0.85);
}

.fw-status-project > div {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.fw-status-code {
    margin-bottom: 2px;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.06em;

    color: var(--fw-purple);
}

.fw-status-project strong {
    overflow: hidden;

    font-size: 12px;
    font-weight: 650;

    color: var(--fw-text);

    text-overflow: ellipsis;
    white-space: nowrap;
}

.fw-status-project small {
    margin-top: 2px;

    overflow: hidden;

    font-size: 9px;

    color: var(--fw-text-muted);

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ======================================================
   HEELS
====================================================== */

.fw-heels {
    width: 100%;

    margin-top: 20px;

    border-top: 1px solid var(--fw-line);

    background:
        #090b0e;
}

.fw-heels-inner {
    width: calc(100% - 48px);
    max-width: var(--fw-container);

    min-height: 180px;

    margin: 0 auto;
    padding: 36px 0;

    display: grid;
    grid-template-columns:
        1.1fr 1fr 1fr;

    gap: 50px;

    align-items: center;
}

.fw-heels-block {
    min-width: 0;
}

.fw-heels-vfai {
    display: flex;
    align-items: flex-start;

    gap: 15px;
}

.fw-heels-vfai-mark {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(143, 124, 255, 0.35);
    border-radius: 12px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.11em;

    color: #d9d1ff;
}

.fw-heels-vfai-copy {
    display: flex;
    flex-direction: column;

    font-size: 9px;
    line-height: 1.5;

    letter-spacing: 0.07em;
    text-transform: uppercase;

    color: #696c75;
}

.fw-heels-workspace {
    display: flex;
    flex-direction: column;

    gap: 3px;

    text-align: center;
}

.fw-heels-label {
    font-size: 9px;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--fw-purple);
}

.fw-heels-workspace strong {
    font-size: 12px;
    font-weight: 650;

    color: #bfc0c5;
}

.fw-heels-workspace > span:last-child {
    font-size: 9px;

    color: #5f626a;
}

.fw-heels-signature {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-end;

    font-size: 18px;
    line-height: 1.15;

    font-weight: 540;
    letter-spacing: -0.025em;

    color: #d5d6d9;
}

.fw-heels-signature i {
    width: 40px;
    height: 1px;

    margin-top: 11px;

    display: block;

    background:
        var(--fw-purple);
}


/* ======================================================
   LARGE TABLET
====================================================== */

@media (max-width: 1180px) {

    .fw-project-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .fw-urgent-board {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .fw-status-board {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* ======================================================
   TABLET / MOBILE NAV
====================================================== */

@media (max-width: 900px) {

    .fw-nav {
        display: none;
    }

    .fw-menu-button {
        display: flex;
    }

    .fw-daily {
        min-height: auto;

        align-items: flex-start;
    }

    .fw-daily-mark {
        display: none;
    }

    .fw-daily-info {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .fw-daily-stat:nth-child(3) {
        border-right: 0;
    }

    .fw-daily-stat:nth-child(n+4) {
        border-top: 1px solid var(--fw-line);
    }

    .fw-heels-inner {
        grid-template-columns: 1fr;

        gap: 28px;

        text-align: left;
    }

    .fw-heels-workspace {
        text-align: left;
    }

    .fw-heels-signature {
        align-items: flex-start;
    }

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 680px) {

    .fw-hat-inner,
    .fw-home,
    .fw-heels-inner {
        width: calc(100% - 28px);
    }

    .fw-hat-inner {
        min-height: 66px;
    }

    .fw-brand-copy small {
        display: none;
    }

    .fw-home {
        padding-top: 38px;
        padding-bottom: 64px;
    }

    .fw-daily {
        margin-bottom: 14px;
        padding-bottom: 26px;
    }

    .fw-daily h1 {
        font-size: 39px;
    }

    .fw-daily-dialogue {
        margin-top: 18px;
    }

    .fw-daily-dialogue p {
        font-size: 12px;
    }

    .fw-daily-info {
        margin-bottom: 44px;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .fw-daily-stat {
        min-height: 82px;
        padding: 14px 15px;
    }

    .fw-daily-stat:nth-child(2n) {
        border-right: 0;
    }

    .fw-daily-stat:nth-child(3) {
        border-right: 1px solid var(--fw-line);
    }

    .fw-daily-stat:nth-child(n+3) {
        border-top: 1px solid var(--fw-line);
    }

    .fw-daily-stat:last-child {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .fw-section {
        margin-top: 54px;
    }

    .fw-section-header {
        align-items: flex-start;

        margin-bottom: 18px;
    }

    .fw-section-link {
        margin-top: 4px;
    }

    .fw-urgent-board {
        min-height: auto;

        padding: 30px 18px;

        grid-template-columns: 1fr;

        gap: 22px;
    }

    .fw-postit {
        min-height: 190px;
    }

    .fw-project-grid {
        grid-template-columns: 1fr;
    }

    .fw-status-board {
        grid-template-columns: 1fr;
    }

    .fw-all-projects-section .fw-section-header {
        display: block;
    }

    .fw-inline-search {
        width: 100%;

        margin-top: 15px;
    }

    .fw-heels-inner {
        min-height: auto;

        padding: 30px 0 38px;
    }

}


/* ======================================================
   VERY SMALL MOBILE
====================================================== */

@media (max-width: 430px) {

    .fw-brand-mark {
        width: 38px;
        height: 38px;
    }

    .fw-brand-copy strong {
        font-size: 13px;
    }

    .fw-daily h1 {
        font-size: 34px;
    }

    .fw-daily-dialogue p {
        font-size: 11px;
    }

    .fw-daily-info {
        grid-template-columns: 1fr;
    }

    .fw-daily-stat,
    .fw-daily-stat:nth-child(2n),
    .fw-daily-stat:nth-child(3) {
        border-right: 0;
    }

    .fw-daily-stat:nth-child(n+2) {
        border-top: 1px solid var(--fw-line);
    }

    .fw-daily-stat:last-child {
        grid-column: auto;
    }

    .fw-section-heading {
        gap: 9px;
    }

    .fw-section-header h2 {
        font-size: 19px;
    }

    .fw-postit {
        padding-left: 19px;
        padding-right: 19px;
    }

}


/* ======================================================
   FORGE DAILY — DYNAMIC SPEAKERS
====================================================== */

.fw-dialogue-system {
    color: var(--fw-text-muted);
}

.fw-dialogue-system strong {
    color: #8d9098;
}

.fw-dialogue-neutral {
    color: var(--fw-text-soft);
}


/* Headline-only messages keep the header balanced */
.fw-daily[data-forge-daily-type="headline_only"] .fw-daily-copy {
    padding-bottom: 8px;
}


/* System messages feel less conversational */
.fw-daily[data-forge-daily-type="system"] .fw-daily-dialogue em {
    font-style: normal;
    letter-spacing: 0.015em;
}


/* ======================================================
   USER MENU — AVATAR
====================================================== */


/* Avatar pequeño del botón superior */

.fw-nav-user-avatar {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 9px;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    background: #11141a;
}


/* Botón USER / nombre */

.fw-nav-user-trigger {
    display: flex;
    align-items: center;

    gap: 8px;
}


/* ======================================================
   USER DROPDOWN
====================================================== */

.fw-nav-user-menu {
    min-width: 260px;
}


/* Resumen superior del usuario */

.fw-nav-user-summary {
    display: flex;
    align-items: center;

    gap: 12px;

    padding:
        14px
        16px;

    margin-bottom: 4px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.07);
}


/* Avatar dentro del dropdown */

.fw-nav-user-summary > img {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 11px;

    border:
        1px solid rgba(139, 112, 255, 0.35);

    background: #11141a;
}


/* Nombre + cargo */

.fw-nav-user-summary > div {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}


.fw-nav-user-summary strong {
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;
}


.fw-nav-user-summary small {
    color: #778397;

    font-size: 9px;
}


/* ======================================================
   MOBILE USER AVATAR
====================================================== */

.fw-mobile-user-avatar {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: 8px;

    border:
        1px solid rgba(255, 255, 255, 0.12);
}


.fw-mobile-user summary {
    display: flex;
    align-items: center;

    gap: 10px;
}



/* ======================================================
   POST-IT — USER COLORS

   Gonzalo  = Aqua
   Ricardo  = Grey
   Nilberto = Yellow
   Vicente  = Green
   Victoria = Lavender
   Emily    = Sky Blue
====================================================== */


/* ======================================================
   BASE USER POST-IT
====================================================== */

.fw-postit-gonzalo,
.fw-postit-ricardo,
.fw-postit-nilberto,
.fw-postit-vicente,
.fw-postit-victoria,
.fw-postit-emily,
.fw-postit-neutral {
    color: #17191d;
}


/* ======================================================
   GONZALO — AQUA
====================================================== */

.fw-postit-gonzalo {
    background:
        #bfe4dc;
}


/* ======================================================
   RICARDO — GREY
====================================================== */

.fw-postit-ricardo {
    background:
        #d3d4d6;
}


/* ======================================================
   NILBERTO — YELLOW
====================================================== */

.fw-postit-nilberto {
    background:
        #eadb9d;
}


/* ======================================================
   VICENTE — GREEN
====================================================== */

.fw-postit-vicente {
    background:
        #c6dfb7;
}


/* ======================================================
   VICTORIA — LAVENDER
====================================================== */

.fw-postit-victoria {
    background:
        #d5c8e8;
}


/* ======================================================
   EMILY — SKY BLUE
====================================================== */

.fw-postit-emily {
    background:
        #c3dceb;
}


/* ======================================================
   FALLBACK — NEUTRAL
====================================================== */

.fw-postit-neutral {
    background:
        #d8d3c7;
}


/* ======================================================
   FORCE SAME DARK TEXT FOR ALL USER COLORS
====================================================== */

.fw-postit-gonzalo *,
.fw-postit-ricardo *,
.fw-postit-nilberto *,
.fw-postit-vicente *,
.fw-postit-victoria *,
.fw-postit-emily *,
.fw-postit-neutral * {
    color: inherit;
}


/* ======================================================
   SUBTLE PAPER BORDER
====================================================== */

.fw-postit-gonzalo,
.fw-postit-ricardo,
.fw-postit-nilberto,
.fw-postit-vicente,
.fw-postit-victoria,
.fw-postit-emily,
.fw-postit-neutral {
    border:
        1px solid
        rgba(0, 0, 0, 0.06);
}
/* Mobile navigation: full-width panel below a stable header. */
.fw-mobile-menu { display:none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
    outline:2px solid #b6a7ff; outline-offset:4px;
}
@media (min-width:901px) { .fw-mobile-menu.is-open { display:none; } }
@media (max-width:900px) {
    .fw-hat { position:sticky; top:0; }
    .fw-hat-inner { min-height:66px; gap:12px; }
    .fw-brand { min-width:0; flex:1 1 auto; }
    .fw-brand-copy { min-width:0; }
    .fw-brand-copy strong { font-size:14px; }
    .fw-menu-button { flex:0 0 44px; width:44px; height:44px; }
    .fw-mobile-menu { position:absolute; top:100%; left:0; right:0; width:100%;
        max-height:calc(100dvh - 68px); overflow-y:auto; overscroll-behavior:contain;
        box-shadow:0 16px 36px rgba(0,0,0,.35); }
    .fw-mobile-menu.is-open { display:block; }
    .fw-mobile-menu-inner { width:auto; margin:0; padding:8px 20px 20px;
        padding-bottom:max(20px,env(safe-area-inset-bottom)); }
    .fw-mobile-menu-inner > a, .fw-mobile-menu summary {
        min-height:48px; padding:10px 4px; font-size:15px; line-height:1.4;
    }
    .fw-mobile-submenu { padding:4px 0 8px 16px; }
    .fw-mobile-submenu a { min-height:44px; padding:8px 4px; font-size:14px; }
    .fw-mobile-menu details[open] > summary { color:#cfc5ff; }
    .fw-mobile-menu a { overflow-wrap:anywhere; }
}
