:root {
    --brand: #ff6800;
    --brand-red: #ef2b39;
    --brand-light: #fff4ea;

    --ink: #1d2433;
    --muted: #737b8c;

    --background: #f7f8fa;
    --surface: #ffffff;

    --border: #e7eaf0;

    --green: #15a764;
    --blue: #287fde;
    --purple: #8f59dc;
    --yellow: #e8a01a;

    --shadow:
        0 7px 24px
        rgba(24, 35, 52, .055);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--background);
}

body {
    margin: 0;

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

    background:
        var(--background);

    color:
        var(--ink);
}


/* ==========================================================
   TOP NAVIGATION
   Existing Ogegos menu logic is preserved.
   ========================================================== */

.top {
    min-height: 72px;

    background:
        #ffffff;

    color:
        var(--ink);

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    padding:
        0 30px;

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

    box-shadow:
        0 2px 10px
        rgba(20, 30, 45, .025);

    position:
        sticky;

    top:
        0;

    z-index:
        50;
}


/* Ogegos brand */

.top .brand {
    position: relative;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    margin: 0;

    text-decoration:
        none;

    font-size:
        27px;

    font-weight:
        850;

    letter-spacing:
        -1px;

    color:
        var(--brand);
}


/* round food-style brand mark */

.top .brand::before {
    content: "●";

    width:
        43px;

    height:
        43px;

    display:
        inline-grid;

    place-items:
        center;

    border-radius:
        50%;

    font-size:
        18px;

    color:
        #ffe52c;

    background:
        linear-gradient(
            135deg,
            #ffa600,
            #ff6500 50%,
            #ef2b39
        );

    box-shadow:
        0 6px 15px
        rgba(239, 43, 57, .18);
}


/* existing menu */

.top nav {
    display:
        flex;

    align-items:
        center;

    gap:
        6px;
}

.top nav a {
    margin:
        0;

    padding:
        9px 12px;

    color:
        #475064;

    text-decoration:
        none;

    border-radius:
        9px;

    font-size:
        13px;

    font-weight:
        650;

    transition:
        background .15s ease,
        color .15s ease;
}

.top nav a:hover {
    color:
        var(--brand);

    background:
        var(--brand-light);
}


/* ==========================================================
   MAIN CONTENT
   ========================================================== */

.wrap {
    width:
        min(1400px, calc(100% - 40px));

    margin:
        0 auto;

    padding:
        30px 0 70px;
}


.page-title {
    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap:
        20px;

    margin-bottom:
        22px;
}

.page-title h1 {
    margin:
        0 0 6px;

    font-size:
        31px;

    line-height:
        1.15;

    letter-spacing:
        -.6px;
}

.page-title h2 {
    margin:
        0 0 5px;
}

.page-title p {
    margin:
        0;

    color:
        var(--muted);

    line-height:
        1.5;
}


/* ==========================================================
   CARDS
   ========================================================== */

.card {
    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius:
        15px;

    padding:
        19px;

    box-shadow:
        var(--shadow);
}

.grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(240px, 1fr)
        );

    gap:
        16px;
}

.card .card {
    box-shadow:
        none;
}


/* dashboard number emphasis */

.card > strong:first-child {
    font-size:
        27px;

    line-height:
        1.1;
}


/* task cards */

.task {
    position:
        relative;

    overflow:
        hidden;

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.task::before {
    content: "";

    position:
        absolute;

    top:
        0;

    left:
        0;

    width:
        4px;

    height:
        100%;

    background:
        linear-gradient(
            var(--brand),
            var(--brand-red)
        );
}

.task:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 12px 30px
        rgba(25, 36, 55, .08);
}

.task h3 {
    font-size:
        19px;

    margin:
        13px 0 8px;
}


/* ==========================================================
   TEXT / HELPERS
   ========================================================== */

.row {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        10px;
}

.muted {
    color:
        var(--muted);

    font-size:
        12px;
}

.standard {
    background:
        #fafbfc;

    border:
        1px solid #f0f1f4;

    padding:
        11px;

    border-radius:
        9px;

    font-size:
        13px;

    line-height:
        1.55;
}


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

.status {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    padding:
        5px 9px;

    border-radius:
        999px;

    font-size:
        10px;

    line-height:
        1;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        .02em;

    background:
        #eceff3;

    color:
        #525c6e;
}

.status.completed,
.status.active {
    background:
        #e0f7eb;

    color:
        #147c4c;
}

.status.completed_late,
.status.past_due {
    background:
        #fff2d5;

    color:
        #956300;
}

.status.suspended,
.status.expired,
.status.cancelled,
.status.missed,
.status.evidence_missing,
.status.below_target {
    background:
        #ffe6e8;

    color:
        #af2232;
}

.status.in_progress,
.status.trialing {
    background:
        #e5f0ff;

    color:
        #1e68b5;
}


/* ==========================================================
   FORMS
   ========================================================== */

.form {
    display:
        grid;

    gap:
        15px;
}

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

.form .wide {
    grid-column:
        1 / -1;
}

label {
    display:
        grid;

    gap:
        7px;

    font-size:
        12px;

    font-weight:
        750;

    color:
        #3e4759;
}

input,
select,
textarea {
    width:
        100%;

    border:
        1px solid #dce1e8;

    border-radius:
        9px;

    padding:
        11px 12px;

    font:
        inherit;

    color:
        var(--ink);

    background:
        #ffffff;

    transition:
        border .15s ease,
        box-shadow .15s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline:
        none;

    border-color:
        #ff9858;

    box-shadow:
        0 0 0 3px
        rgba(255, 104, 0, .10);
}


/* ==========================================================
   BUTTONS
   ========================================================== */

button,
.button {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        0;

    border-radius:
        9px;

    padding:
        10px 15px;

    font-size:
        12px;

    font-weight:
        750;

    text-decoration:
        none;

    cursor:
        pointer;

    background:
        #edf0f4;

    color:
        #323a49;

    transition:
        transform .1s ease,
        filter .1s ease;
}

button:hover,
.button:hover {
    filter:
        brightness(.98);

    transform:
        translateY(-1px);
}

.primary {
    color:
        #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--brand),
            var(--brand-red)
        );

    box-shadow:
        0 5px 13px
        rgba(239, 43, 57, .13);
}

.inline {
    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        8px;
}

.inline input {
    max-width:
        150px;
}


/* ==========================================================
   ALERTS
   ========================================================== */

.banner {
    padding:
        12px 14px;

    margin-bottom:
        17px;

    border:
        1px solid var(--border);

    border-radius:
        10px;

    background:
        #edf0f4;
}

.banner.warning {
    color:
        #7a5700;

    background:
        #fff4dc;

    border-color:
        #f0dfb6;
}

.banner.error {
    color:
        #a02332;

    background:
        #ffe8e9;

    border-color:
        #f4cbd0;
}

.banner.success {
    color:
        #176e48;

    background:
        #e2f6ea;

    border-color:
        #c1e9d1;
}


/* ==========================================================
   EMPTY STATES
   ========================================================== */

.empty {
    padding:
        55px 20px;

    text-align:
        center;

    color:
        var(--muted);

    background:
        #ffffff;

    border:
        1px dashed #cad0da;

    border-radius:
        14px;
}


/* ==========================================================
   LOGIN
   ========================================================== */

.auth {
    width:
        min(430px, 100%);

    margin:
        65px auto;
}

.auth h1 {
    margin-bottom:
        8px;

    font-size:
        33px;

    letter-spacing:
        -.5px;
}

.auth .card {
    margin-top:
        20px;
}


/* ==========================================================
   TABLES
   ========================================================== */

.table-wrap {
    overflow:
        auto;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        14px;

    box-shadow:
        var(--shadow);
}

table {
    width:
        100%;

    min-width:
        760px;

    border-collapse:
        collapse;
}

th,
td {
    padding:
        14px 15px;

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

    text-align:
        left;

    vertical-align:
        top;
}

th {
    color:
        #777f90;

    background:
        #fafbfc;

    font-size:
        10px;

    font-weight:
        800;

    text-transform:
        uppercase;

    letter-spacing:
        .05em;
}

tbody tr:hover {
    background:
        #fffaf6;
}

.admin-actions {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        6px;
}


/* ==========================================================
   MEDIA
   ========================================================== */

.media-grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(200px, 1fr)
        );

    gap:
        15px;

    margin-top:
        17px;
}

.media-card {
    overflow:
        hidden;

    background:
        #ffffff;

    border:
        1px solid var(--border);

    border-radius:
        13px;

    box-shadow:
        var(--shadow);
}

.media-card img,
.media-card video {
    width:
        100%;

    aspect-ratio:
        1 / 1;

    object-fit:
        cover;

    background:
        #111111;
}

.media-meta {
    display:
        grid;

    gap:
        4px;

    padding:
        11px;

    font-size:
        11px;
}

.media-placeholder {
    aspect-ratio:
        1 / 1;

    display:
        grid;

    place-items:
        center;

    color:
        #ffffff;

    background:
        #242b37;

    font-weight:
        800;
}


/* ==========================================================
   DETAILS
   ========================================================== */

details summary {
    cursor:
        pointer;

    margin-bottom:
        15px;

    font-weight:
        750;
}


/* ==========================================================
   MOBILE
   Do not alter route/menu behavior.
   ========================================================== */

@media (
    max-width: 850px
) {

    .top {
        padding:
            10px 14px;

        min-height:
            68px;

        align-items:
            flex-start;

        gap:
            10px;
    }

    .top .brand {
        font-size:
            22px;
    }

    .top .brand::before {
        width:
            36px;

        height:
            36px;
    }

    .top nav {
        justify-content:
            flex-end;

        flex-wrap:
            wrap;

        gap:
            2px;
    }

    .top nav a {
        padding:
            7px 8px;

        font-size:
            11px;
    }

    .wrap {
        width:
            calc(100% - 24px);

        padding-top:
            20px;
    }

    .page-title {
        flex-direction:
            column;
    }

    .form.two {
        grid-template-columns:
            1fr;
    }

    .form .wide {
        grid-column:
            auto;
    }
}


@media (
    max-width: 560px
) {

    .top {
        display:
            block;
    }

    .top .brand {
        margin-bottom:
            9px;
    }

    .top nav {
        justify-content:
            flex-start;
    }

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

    .page-title h1 {
        font-size:
            27px;
    }

    .card {
        padding:
            15px;
    }
}

/* OGEGOS TASK UX V2 START */

/*
|--------------------------------------------------------------------------
| Task UX v2
|--------------------------------------------------------------------------
|
| Front-end only.
| Existing:
| - PHP
| - task routes
| - task actions
| - CSRF
| - DB writes
| - permissions
|
| are untouched.
|
*/

.task-ux {
    max-width: 980px;
    margin: 0 auto;
}


/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */

.task-ux-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.task-ux-hero h1 {
    margin: 0;
    font-size: 31px;
    letter-spacing: -.7px;
}

.task-ux-hero p {
    margin: 6px 0 0;
    color: var(--muted, #737b8c);
}

.task-ux-date {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #e7eaf0;
    border-radius: 10px;
    background: #fff;
    color: #666f80;
    font-size: 12px;
}


/* ----------------------------------------------------------
   Progress
   ---------------------------------------------------------- */

.task-ux-progress-card {
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 22px;
    box-shadow: 0 7px 24px rgba(24,35,52,.05);
}

.task-ux-progress-top {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    align-items: center;
    margin-bottom: 11px;
}

.task-ux-progress-title {
    font-size: 13px;
    font-weight: 750;
}

.task-ux-progress-count {
    font-size: 13px;
    color: #717989;
}

.task-ux-progress-track {
    height: 10px;
    border-radius: 999px;
    background: #f0f1f4;
    overflow: hidden;
}

.task-ux-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#ff7600,#ef2b39);
    transition: width .25s ease;
}


/* ----------------------------------------------------------
   Manager metric cards
   ---------------------------------------------------------- */

.task-manager-metrics {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.task-manager-metric {
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    padding: 15px;
}

.task-manager-metric strong {
    display: block;
    font-size: 25px;
    line-height: 1;
    margin-bottom: 7px;
}

.task-manager-metric span {
    color: #727a8a;
    font-size: 12px;
}

.task-manager-metric.attention strong {
    color: #d83a45;
}

.task-manager-metric.open strong {
    color: #ff6800;
}

.task-manager-metric.done strong {
    color: #168053;
}


/* ----------------------------------------------------------
   Sections
   ---------------------------------------------------------- */

.task-ux-section {
    margin: 26px 0;
}

.task-ux-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 11px;
}

.task-ux-section-head h2 {
    margin: 0;
    font-size: 16px;
    letter-spacing: -.2px;
}

.task-ux-section-head small {
    color: #7c8492;
}

.task-ux-section-now .task-ux-section-head h2 {
    color: #ec4c2d;
}

.task-ux-section-attention .task-ux-section-head h2 {
    color: #c6303f;
}


/* ----------------------------------------------------------
   Task cards
   ---------------------------------------------------------- */

.task-ux-list {
    display: grid;
    gap: 12px;
}

.task-ux-list .task.card {
    margin: 0;
}

.task.card.task-ux-card {
    position: relative;
    border-radius: 15px;
    border: 1px solid #e6e9ef;
    padding: 18px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(25,36,55,.045);
    overflow: hidden;
}

.task.card.task-ux-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #d6dae1;
}

.task.card.task-ux-now::before {
    background: linear-gradient(#ff7a00,#ef2b39);
}

.task.card.task-ux-attention::before {
    background: #db3345;
}

.task.card.task-ux-completed::before {
    background: #1dac6a;
}


/* ----------------------------------------------------------
   Task title
   ---------------------------------------------------------- */

.task.card.task-ux-card h3 {
    margin: 2px 0 8px;
    padding-right: 105px;
    font-size: 19px;
    line-height: 1.3;
}

.task-ux-card .status {
    font-size: 9px;
}


/* ----------------------------------------------------------
   "What to do" instructions
   ---------------------------------------------------------- */

.task-ux-card .standard {
    border: 0;
    background: #f8f9fb;
    padding: 13px;
    border-radius: 10px;
    margin: 12px 0;
    color: #3c4452;
    line-height: 1.6;
}

.task-ux-card .standard strong {
    display: block;
    margin-bottom: 5px;
    color: #222a38;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
}


/* ----------------------------------------------------------
   Forms and task actions
   ---------------------------------------------------------- */

.task-ux-card form {
    margin-top: 12px;
}

.task-ux-card .inline {
    gap: 8px;
}

.task-ux-card input[type="number"] {
    min-height: 48px;
    max-width: 220px;
    font-size: 19px;
    font-weight: 700;
    text-align: center;
}

.task-ux-card button.primary,
.task-ux-card form > button {
    min-height: 46px;
}

.task-ux-card .task-complete-button {
    width: 100%;
    min-height: 50px;
    margin-top: 8px;
    border-radius: 11px;
    background: linear-gradient(135deg,#ff6b00,#ef2b39);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.task-ux-card .task-complete-button::before {
    content: "✓";
    margin-right: 7px;
}


/* ----------------------------------------------------------
   Evidence / purchase buttons
   ---------------------------------------------------------- */

.task-ux-card a[href^="/media"] {
    background: #fff5ea;
    color: #d75c00;
    border: 1px solid #ffdabc;
    min-height: 42px;
}

.task-ux-card a[href^="/purchase"] {
    background: #f5f6f8;
    color: #50596a;
    border: 1px solid #e1e4e9;
    min-height: 42px;
}


/* ----------------------------------------------------------
   Due state
   ---------------------------------------------------------- */

.task-due-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f1f3f6;
    color: #626b7a;
    font-size: 10px;
    font-weight: 750;
}

.task-due-pill.overdue {
    background: #ffe8ea;
    color: #b52939;
}

.task-due-pill.now {
    background: #fff0e4;
    color: #cf5200;
}


/* ----------------------------------------------------------
   Completed section can collapse visually
   ---------------------------------------------------------- */

.task-ux-section-completed .task.card {
    opacity: .82;
}

.task-ux-section-completed .task.card h3 {
    font-size: 15px;
}

.task-ux-section-completed .standard {
    display: none;
}


/* ----------------------------------------------------------
   Empty states
   ---------------------------------------------------------- */

.task-ux-empty {
    background: #fff;
    border: 1px dashed #d8dde5;
    border-radius: 14px;
    padding: 30px 18px;
    text-align: center;
    color: #788190;
}

.task-ux-empty strong {
    display: block;
    color: #343c49;
    margin-bottom: 4px;
}


/* ----------------------------------------------------------
   Success transition
   ---------------------------------------------------------- */

@keyframes taskDone {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(.985);
        opacity: .72;
    }
    100% {
        transform: scale(1);
    }
}

.task-ux-finishing {
    animation: taskDone .32s ease;
}


/* ----------------------------------------------------------
   Hide old dashboard controls that duplicate employee focus
   ONLY while Task UX has activated
   ---------------------------------------------------------- */

body.task-ux-active .task-ux-original-title-hidden {
    display: none !important;
}


/* ----------------------------------------------------------
   Mobile = primary target for restaurant staff
   ---------------------------------------------------------- */

@media (max-width: 700px) {

    .task-ux {
        margin: 0;
    }

    .task-ux-hero {
        display: block;
        margin-bottom: 16px;
    }

    .task-ux-hero h1 {
        font-size: 27px;
    }

    .task-ux-date {
        margin-top: 12px;
    }

    .task-manager-metrics {
        grid-template-columns: repeat(3,1fr);
        gap: 7px;
    }

    .task-manager-metric {
        padding: 12px 9px;
    }

    .task-manager-metric strong {
        font-size: 21px;
    }

    .task-manager-metric span {
        font-size: 9px;
    }

    .task.card.task-ux-card {
        padding: 16px 14px 15px;
    }

    .task.card.task-ux-card h3 {
        font-size: 18px;
        padding-right: 0;
    }

    .task-ux-card form,
    .task-ux-card .inline {
        width: 100%;
    }

    .task-ux-card a.button,
    .task-ux-card button {
        min-height: 46px;
    }

    .task-ux-card input[type="number"] {
        max-width: 100%;
        width: 100%;
    }

    .task-ux-section {
        margin: 22px 0;
    }
}

/* OGEGOS TASK UX V2 END */

/* OGEGOS MOBILE V1 START */

.mobile-ogegos {
    display: none;
}

.mobile-bottom-nav {
    display: none;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 760px) {

    body {
        padding-bottom: 78px;
        background: #f7f8fa;
    }


    /*
    |--------------------------------------------------------------------------
    | Hide desktop Today experience
    |--------------------------------------------------------------------------
    */

    body.ogegos-mobile-active main.wrap > * {
        display: none;
    }

    body.ogegos-mobile-active main.wrap > .mobile-ogegos {
        display: block;
    }


    /*
    |--------------------------------------------------------------------------
    | Main mobile shell
    |--------------------------------------------------------------------------
    */

    .mobile-ogegos {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        padding: 4px 0 35px;
    }


    /*
    |--------------------------------------------------------------------------
    | Header
    |--------------------------------------------------------------------------
    */

    .mobile-header {
        margin-bottom: 23px;
    }

    .mobile-header-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 22px;
    }

    .mobile-restaurant {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 14px;
        font-weight: 750;
    }

    .mobile-restaurant-icon {
        width: 31px;
        height: 31px;
        border-radius: 9px;
        display: grid;
        place-items: center;
        background: #fff2e7;
        font-size: 16px;
    }

    .mobile-notification {
        width: 37px;
        height: 37px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        border: 1px solid #e6e9ef;
        background: #fff;
        font-size: 17px;
    }

    .mobile-header h1 {
        margin: 0;
        font-size: 27px;
        line-height: 1.15;
        letter-spacing: -.7px;
    }

    .mobile-header p {
        margin: 6px 0 0;
        color: #747c8c;
        font-size: 13px;
    }


    /*
    |--------------------------------------------------------------------------
    | Progress card
    |--------------------------------------------------------------------------
    */

    .mobile-progress {
        background: #fff;
        border: 1px solid #e8ebef;
        border-radius: 17px;
        padding: 17px;
        display: flex;
        align-items: center;
        gap: 17px;
        margin-bottom: 22px;
        box-shadow: 0 5px 19px rgba(28,39,60,.045);
    }

    .mobile-progress-ring {
        width: 83px;
        height: 83px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        position: relative;
        flex: 0 0 auto;
    }

    .mobile-progress-ring::after {
        content: "";
        position: absolute;
        inset: 9px;
        border-radius: 50%;
        background: #fff;
    }

    .mobile-progress-number {
        position: relative;
        z-index: 2;
        text-align: center;
    }

    .mobile-progress-number strong {
        display: block;
        font-size: 23px;
        line-height: 1;
    }

    .mobile-progress-number small {
        display: block;
        color: #747c8c;
        font-size: 10px;
        margin-top: 4px;
    }

    .mobile-progress-copy strong {
        display: block;
        font-size: 15px;
        margin-bottom: 5px;
    }

    .mobile-progress-copy span {
        color: #12a158;
        font-size: 13px;
        font-weight: 750;
    }


    /*
    |--------------------------------------------------------------------------
    | Manager metrics
    |--------------------------------------------------------------------------
    */

    .mobile-manager-metrics {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 7px;
        margin-bottom: 22px;
    }

    .mobile-manager-metric {
        background: #fff;
        border: 1px solid #e8ebef;
        border-radius: 13px;
        padding: 12px 7px;
        text-align: center;
        box-shadow: 0 4px 15px rgba(28,39,60,.035);
    }

    .mobile-manager-metric .icon {
        width: 34px;
        height: 34px;
        margin: 0 auto 8px;
        display: grid;
        place-items: center;
        border-radius: 10px;
        font-size: 16px;
    }

    .mobile-manager-metric strong {
        display: block;
        font-size: 21px;
        line-height: 1;
        margin-bottom: 5px;
    }

    .mobile-manager-metric small {
        display: block;
        color: #727a89;
        font-size: 9px;
        line-height: 1.3;
    }

    .metric-total .icon {
        color: #287fde;
        background: #eaf3ff;
    }

    .metric-done .icon {
        color: #14a15c;
        background: #e6f7ee;
    }

    .metric-risk .icon {
        color: #e26a00;
        background: #fff0df;
    }

    .metric-staff .icon {
        color: #8450cc;
        background: #f2eafa;
    }


    /*
    |--------------------------------------------------------------------------
    | Sections
    |--------------------------------------------------------------------------
    */

    .mobile-section {
        margin: 25px 0;
    }

    .mobile-section-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 11px;
    }

    .mobile-section-title h2 {
        margin: 0;
        font-size: 17px;
        letter-spacing: -.25px;
    }

    .mobile-section-title span {
        min-width: 25px;
        height: 25px;
        padding: 0 7px;
        display: grid;
        place-items: center;
        border-radius: 999px;
        background: #f0f2f5;
        color: #626b7a;
        font-size: 11px;
        font-weight: 800;
    }

    .mobile-now .mobile-section-title span {
        color: #c93932;
        background: #ffe5e2;
    }

    .mobile-completed .mobile-section-title h2 {
        color: #168052;
    }

    .mobile-completed .mobile-section-title span {
        color: #168052;
        background: #e2f5ea;
    }


    /*
    |--------------------------------------------------------------------------
    | Task cards
    |--------------------------------------------------------------------------
    */

    .mobile-task-list {
        display: grid;
        gap: 10px;
    }

    .mobile-task {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 72px;
        padding: 12px;
        background: #fff;
        border: 1px solid #e6e9ef;
        border-radius: 13px;
        text-decoration: none;
        box-shadow: 0 4px 15px rgba(28,39,60,.04);
    }

    .mobile-task-icon {
        width: 45px;
        height: 45px;
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        border-radius: 12px;
        font-size: 20px;
        background: linear-gradient(135deg,#ff8b00,#ef393e);
        color: #fff;
    }

    .mobile-task.next .mobile-task-icon {
        background: linear-gradient(135deg,#8d56d8,#7347bb);
    }

    .mobile-task.completed .mobile-task-icon {
        background: linear-gradient(135deg,#31bd72,#169c58);
    }

    .mobile-task-body {
        min-width: 0;
        flex: 1;
    }

    .mobile-task-body strong {
        display: block;
        font-size: 14px;
        line-height: 1.35;
        margin-bottom: 4px;
    }

    .mobile-task-body small {
        display: block;
        font-size: 11px;
        color: #727a88;
    }

    .mobile-task.due .mobile-task-body small {
        color: #da3d36;
    }

    .mobile-task-arrow {
        color: #798190;
        font-size: 20px;
    }


    /*
    |--------------------------------------------------------------------------
    | Needs attention
    |--------------------------------------------------------------------------
    */

    .mobile-attention {
        background: #fff3f3;
        border: 1px solid #f3cccc;
        border-radius: 15px;
        padding: 12px;
    }

    .mobile-attention-title {
        color: #c72d3c;
        font-size: 14px;
        font-weight: 800;
        margin-bottom: 8px;
        display: flex;
        justify-content: space-between;
    }

    .mobile-attention-item {
        background: #fff;
        border-radius: 10px;
        padding: 12px;
        margin-top: 7px;
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .mobile-attention-item strong {
        font-size: 12px;
        display: block;
        margin-bottom: 3px;
    }

    .mobile-attention-item small {
        color: #d13b45;
        font-size: 10px;
    }


    /*
    |--------------------------------------------------------------------------
    | Quick actions
    |--------------------------------------------------------------------------
    */

    .mobile-quick-actions {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .mobile-quick-action {
        min-height: 72px;
        background: #fff;
        border: 1px solid #e6e9ef;
        border-radius: 12px;
        display: grid;
        place-items: center;
        align-content: center;
        gap: 5px;
        text-decoration: none;
        text-align: center;
    }

    .mobile-quick-action b {
        font-size: 19px;
    }

    .mobile-quick-action small {
        font-size: 9px;
        font-weight: 700;
        color: #464f60;
    }


    /*
    |--------------------------------------------------------------------------
    | Bottom navigation
    |--------------------------------------------------------------------------
    */

    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        z-index: 100;
        left: 0;
        right: 0;
        bottom: 0;
        height: 68px;
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid #e3e6eb;
        background: rgba(255,255,255,.97);
        backdrop-filter: blur(15px);
        box-shadow: 0 -5px 20px rgba(20,30,45,.035);
    }

    .mobile-bottom-nav a {
        display: grid;
        place-items: center;
        align-content: center;
        gap: 3px;
        text-decoration: none;
        color: #697180;
        font-size: 9px;
        font-weight: 750;
    }

    .mobile-bottom-nav a b {
        font-size: 19px;
        line-height: 1;
    }

    .mobile-bottom-nav a.active {
        color: #ff6800;
    }


    /*
    |--------------------------------------------------------------------------
    | Existing global header compact
    |--------------------------------------------------------------------------
    */

    body.ogegos-mobile-active .top {
        display: none !important;
    }

    body.ogegos-mobile-active .wrap {
        width: calc(100% - 24px);
        padding-top: 15px;
    }

}


/*
|--------------------------------------------------------------------------
| Very small phones
|--------------------------------------------------------------------------
*/

@media (max-width: 370px) {

    .mobile-manager-metrics {
        grid-template-columns: repeat(2,1fr);
    }

    .mobile-quick-actions {
        grid-template-columns: repeat(2,1fr);
    }
}

/* OGEGOS MOBILE V1 END */

/* OGEGOS MOBILE DRAWER V1 START */

@media (max-width: 760px) {

    /*
    |--------------------------------------------------------------------------
    | Remove old mobile bottom navigation
    |--------------------------------------------------------------------------
    */

    .mobile-bottom-nav {
        display: none !important;
    }

    body {
        padding-bottom: 25px !important;
    }


    /*
    |--------------------------------------------------------------------------
    | New mobile header
    |--------------------------------------------------------------------------
    */

    .mobile-header {
        margin-bottom: 24px !important;
    }

    .mobile-header-top {
        display: grid !important;

        grid-template-columns:
            minmax(112px, 1fr)
            auto
            48px;

        align-items: center;

        gap: 10px;

        min-height: 64px;

        margin-bottom: 24px !important;
    }


    /*
    |--------------------------------------------------------------------------
    | Ogegos mobile logo
    |--------------------------------------------------------------------------
    */

    .ogegos-mobile-brand {
        display: inline-flex;

        align-items: center;

        gap: 9px;

        min-width: 0;

        text-decoration: none;
    }

    .ogegos-mobile-brand-mark {
        width: 42px;

        height: 42px;

        flex: 0 0 42px;

        display: grid;

        place-items: center;

        border-radius: 50%;

        background:
            linear-gradient(
                135deg,
                #ff9a00,
                #ff6900 52%,
                #ef3441
            );

        box-shadow:
            0 5px 15px
            rgba(239, 52, 65, .16);

        position: relative;
    }

    .ogegos-mobile-brand-mark::after {
        content: "";

        width: 14px;

        height: 14px;

        border-radius: 50%;

        background: #ffe53b;
    }

    .ogegos-mobile-brand-text {
        color: #f06a20;

        font-size: 22px;

        line-height: 1;

        font-weight: 850;

        letter-spacing: -.8px;
    }


    /*
    |--------------------------------------------------------------------------
    | Restaurant selector style
    |--------------------------------------------------------------------------
    */

    .mobile-header-top .mobile-restaurant {
        height: 43px;

        max-width: 160px;

        min-width: 0;

        padding: 0 11px;

        border:
            1px solid #e2e6ec;

        border-radius:
            12px;

        background:
            #fff;

        display:
            flex;

        align-items:
            center;

        gap:
            7px;

        box-shadow:
            0 2px 8px
            rgba(25, 35, 50, .025);
    }

    .mobile-header-top .mobile-restaurant::after {
        content: "⌄";

        color: #6c7482;

        font-size: 14px;

        margin-left: auto;
    }

    .mobile-header-top .mobile-restaurant-icon {
        width: auto;

        height: auto;

        background: none;

        border-radius: 0;

        font-size: 16px;
    }

    .mobile-header-top .mobile-restaurant span:last-child {
        min-width: 0;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;

        font-size: 12px;

        font-weight: 700;
    }


    /*
    |--------------------------------------------------------------------------
    | Hamburger button
    |--------------------------------------------------------------------------
    */

    .ogegos-menu-button {
        width: 46px;

        height: 46px;

        padding: 0;

        display: grid;

        place-items: center;

        border:
            1px solid #dfe3e9;

        border-radius:
            13px;

        background:
            #fff;

        color:
            #f06a20;

        box-shadow:
            0 3px 12px
            rgba(25, 35, 50, .035);

        cursor: pointer;
    }

    .ogegos-menu-button-lines {
        width: 20px;

        display: grid;

        gap: 4px;
    }

    .ogegos-menu-button-lines i {
        display: block;

        height: 2px;

        border-radius: 999px;

        background:
            currentColor;
    }


    /*
    |--------------------------------------------------------------------------
    | Dark page overlay
    |--------------------------------------------------------------------------
    */

    .ogegos-drawer-overlay {
        position:
            fixed;

        inset:
            0;

        z-index:
            998;

        background:
            rgba(18, 24, 35, .28);

        opacity:
            0;

        visibility:
            hidden;

        transition:
            opacity .18s ease,
            visibility .18s ease;

        backdrop-filter:
            blur(1px);
    }

    body.ogegos-drawer-open
    .ogegos-drawer-overlay {
        opacity:
            1;

        visibility:
            visible;
    }


    /*
    |--------------------------------------------------------------------------
    | Drawer
    |--------------------------------------------------------------------------
    */

    .ogegos-mobile-drawer {
        position:
            fixed;

        top:
            0;

        right:
            0;

        bottom:
            0;

        z-index:
            999;

        width:
            min(82vw, 330px);

        background:
            #fff;

        border-left:
            1px solid #e8ebef;

        box-shadow:
            -18px 0 40px
            rgba(20, 30, 45, .12);

        transform:
            translateX(102%);

        transition:
            transform .22s ease;

        display:
            flex;

        flex-direction:
            column;

        padding:
            max(
                24px,
                env(safe-area-inset-top)
            )
            16px
            max(
                22px,
                env(safe-area-inset-bottom)
            );
    }

    body.ogegos-drawer-open
    .ogegos-mobile-drawer {
        transform:
            translateX(0);
    }


    /*
    |--------------------------------------------------------------------------
    | Drawer header
    |--------------------------------------------------------------------------
    */

    .ogegos-drawer-header {
        display:
            flex;

        align-items:
            center;

        justify-content:
            space-between;

        gap:
            15px;

        padding:
            7px 6px 18px;

        border-bottom:
            1px solid #eceef2;
    }

    .ogegos-drawer-restaurant {
        min-width:
            0;

        display:
            grid;

        gap:
            3px;
    }

    .ogegos-drawer-restaurant strong {
        font-size:
            16px;

        white-space:
            nowrap;

        overflow:
            hidden;

        text-overflow:
            ellipsis;
    }

    .ogegos-drawer-restaurant small {
        color:
            #79818f;

        font-size:
            10px;
    }

    .ogegos-drawer-close {
        width:
            36px;

        height:
            36px;

        flex:
            0 0 36px;

        display:
            grid;

        place-items:
            center;

        border:
            0;

        border-radius:
            50%;

        background:
            #f4f5f7;

        color:
            #525b6b;

        font-size:
            19px;

        cursor:
            pointer;
    }


    /*
    |--------------------------------------------------------------------------
    | Navigation
    |--------------------------------------------------------------------------
    */

    .ogegos-drawer-nav {
        display:
            grid;

        gap:
            5px;

        padding:
            17px 0;

        overflow-y:
            auto;
    }

    .ogegos-drawer-nav a {
        min-height:
            52px;

        padding:
            0 14px;

        display:
            flex;

        align-items:
            center;

        gap:
            14px;

        border-radius:
            12px;

        color:
            #454d5c;

        text-decoration:
            none;

        font-size:
            15px;

        font-weight:
            650;
    }

    .ogegos-drawer-nav a:hover,
    .ogegos-drawer-nav a.active {
        background:
            #fff2e8;

        color:
            #f06419;
    }

    .ogegos-drawer-icon {
        width:
            25px;

        text-align:
            center;

        font-size:
            20px;

        line-height:
            1;
    }


    /*
    |--------------------------------------------------------------------------
    | Sign out
    |--------------------------------------------------------------------------
    */

    .ogegos-drawer-footer {
        margin-top:
            auto;

        border-top:
            1px solid #e7e9ee;

        padding-top:
            13px;
    }

    .ogegos-drawer-signout {
        min-height:
            50px;

        padding:
            0 14px;

        display:
            flex;

        align-items:
            center;

        gap:
            14px;

        border-radius:
            12px;

        color:
            #ef5d18;

        font-size:
            15px;

        font-weight:
            700;

        text-decoration:
            none;
    }


    /*
    |--------------------------------------------------------------------------
    | Prevent scrolling behind drawer
    |--------------------------------------------------------------------------
    */

    body.ogegos-drawer-open {
        overflow:
            hidden;
    }

}


/*
|--------------------------------------------------------------------------
| Very narrow phones
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {

    .mobile-header-top {
        grid-template-columns:
            105px
            minmax(110px, 1fr)
            44px;
    }

    .ogegos-mobile-brand-text {
        font-size:
            19px;
    }

    .ogegos-mobile-brand-mark {
        width:
            37px;

        height:
            37px;

        flex-basis:
            37px;
    }

    .mobile-header-top .mobile-restaurant {
        padding:
            0 8px;
    }

}

/* OGEGOS MOBILE DRAWER V1 END */

/* OGEGOS GLOBAL MOBILE NAV V1 START */

.og-global-mobile-header,
.og-global-drawer,
.og-global-overlay {
    display: none;
}

@media (max-width: 760px) {

    /*
    |--------------------------------------------------------------------------
    | Hide original horizontal server nav on mobile
    |--------------------------------------------------------------------------
    */

    body.og-global-mobile-enabled .top {
        display: none !important;
    }


    /*
    |--------------------------------------------------------------------------
    | Global mobile header
    |--------------------------------------------------------------------------
    */

    .og-global-mobile-header {
        display: grid;

        grid-template-columns:
            minmax(110px, 1fr)
            minmax(110px, auto)
            48px;

        align-items: center;

        gap: 10px;

        min-height: 70px;

        padding:
            10px 14px;

        background:
            #ffffff;

        border-bottom:
            1px solid #e6e9ef;

        box-shadow:
            0 3px 14px
            rgba(20,30,45,.035);

        position:
            sticky;

        top:
            0;

        z-index:
            950;
    }


    /*
    |--------------------------------------------------------------------------
    | Brand
    |--------------------------------------------------------------------------
    */

    .og-global-brand {
        display:
            inline-flex;

        align-items:
            center;

        gap:
            8px;

        min-width:
            0;

        text-decoration:
            none;
    }

    .og-global-brand-mark {
        width:
            39px;

        height:
            39px;

        flex:
            0 0 39px;

        border-radius:
            50%;

        display:
            grid;

        place-items:
            center;

        background:
            linear-gradient(
                135deg,
                #ff9700,
                #ff6500 52%,
                #ee3441
            );

        box-shadow:
            0 5px 14px
            rgba(238,52,65,.16);
    }

    .og-global-brand-mark::after {
        content: "";

        width:
            13px;

        height:
            13px;

        border-radius:
            50%;

        background:
            #ffe63b;
    }

    .og-global-brand-text {
        color:
            #ef681d;

        font-size:
            21px;

        line-height:
            1;

        font-weight:
            850;

        letter-spacing:
            -.8px;
    }


    /*
    |--------------------------------------------------------------------------
    | Restaurant chip
    |--------------------------------------------------------------------------
    */

    .og-global-restaurant {
        min-width:
            0;

        max-width:
            165px;

        min-height:
            42px;

        padding:
            0 10px;

        display:
            flex;

        align-items:
            center;

        gap:
            6px;

        background:
            #ffffff;

        border:
            1px solid #e1e5eb;

        border-radius:
            12px;

        color:
            #414958;

        font-size:
            12px;

        font-weight:
            700;
    }

    .og-global-restaurant-name {
        min-width:
            0;

        white-space:
            nowrap;

        overflow:
            hidden;

        text-overflow:
            ellipsis;
    }


    /*
    |--------------------------------------------------------------------------
    | Hamburger
    |--------------------------------------------------------------------------
    */

    .og-global-menu-button {
        width:
            46px;

        height:
            46px;

        display:
            grid;

        place-items:
            center;

        padding:
            0;

        background:
            #ffffff;

        color:
            #ef681d;

        border:
            1px solid #dfe3e9;

        border-radius:
            13px;

        cursor:
            pointer;
    }

    .og-global-menu-lines {
        width:
            20px;

        display:
            grid;

        gap:
            4px;
    }

    .og-global-menu-lines i {
        height:
            2px;

        display:
            block;

        border-radius:
            999px;

        background:
            currentColor;
    }


    /*
    |--------------------------------------------------------------------------
    | Overlay
    |--------------------------------------------------------------------------
    */

    .og-global-overlay {
        display:
            block;

        position:
            fixed;

        inset:
            0;

        z-index:
            980;

        background:
            rgba(18,24,35,.30);

        opacity:
            0;

        visibility:
            hidden;

        transition:
            opacity .18s ease,
            visibility .18s ease;
    }

    body.og-global-drawer-open
    .og-global-overlay {
        opacity:
            1;

        visibility:
            visible;
    }


    /*
    |--------------------------------------------------------------------------
    | Drawer
    |--------------------------------------------------------------------------
    */

    .og-global-drawer {
        display:
            flex;

        flex-direction:
            column;

        position:
            fixed;

        top:
            0;

        right:
            0;

        bottom:
            0;

        z-index:
            990;

        width:
            min(82vw, 330px);

        padding:
            max(22px, env(safe-area-inset-top))
            16px
            max(20px, env(safe-area-inset-bottom));

        background:
            #ffffff;

        border-left:
            1px solid #e7eaf0;

        box-shadow:
            -18px 0 42px
            rgba(20,30,45,.14);

        transform:
            translateX(102%);

        transition:
            transform .22s ease;
    }

    body.og-global-drawer-open
    .og-global-drawer {
        transform:
            translateX(0);
    }


    /*
    |--------------------------------------------------------------------------
    | Drawer heading
    |--------------------------------------------------------------------------
    */

    .og-global-drawer-head {
        display:
            flex;

        align-items:
            center;

        justify-content:
            space-between;

        gap:
            12px;

        padding:
            5px 5px 17px;

        border-bottom:
            1px solid #eceef2;
    }

    .og-global-drawer-title {
        min-width:
            0;

        display:
            grid;

        gap:
            3px;
    }

    .og-global-drawer-title strong {
        font-size:
            16px;

        white-space:
            nowrap;

        overflow:
            hidden;

        text-overflow:
            ellipsis;
    }

    .og-global-drawer-title small {
        color:
            #7c8491;

        font-size:
            10px;
    }

    .og-global-close {
        width:
            36px;

        height:
            36px;

        display:
            grid;

        place-items:
            center;

        border:
            0;

        border-radius:
            50%;

        background:
            #f3f5f7;

        color:
            #555e6e;

        font-size:
            20px;

        cursor:
            pointer;
    }


    /*
    |--------------------------------------------------------------------------
    | Drawer navigation
    |--------------------------------------------------------------------------
    */

    .og-global-nav {
        display:
            grid;

        gap:
            5px;

        padding:
            17px 0;

        overflow-y:
            auto;
    }

    .og-global-nav a {
        min-height:
            52px;

        padding:
            0 14px;

        display:
            flex;

        align-items:
            center;

        gap:
            14px;

        color:
            #444d5d;

        border-radius:
            12px;

        text-decoration:
            none;

        font-size:
            15px;

        font-weight:
            650;
    }

    .og-global-nav a.active {
        color:
            #ed641c;

        background:
            #fff1e7;
    }

    .og-global-nav-icon {
        width:
            25px;

        text-align:
            center;

        font-size:
            19px;
    }


    /*
    |--------------------------------------------------------------------------
    | Drawer footer
    |--------------------------------------------------------------------------
    */

    .og-global-drawer-footer {
        margin-top:
            auto;

        padding-top:
            13px;

        border-top:
            1px solid #e7e9ee;
    }

    .og-global-signout {
        min-height:
            50px;

        display:
            flex;

        align-items:
            center;

        gap:
            14px;

        padding:
            0 14px;

        color:
            #e95b18;

        border-radius:
            12px;

        text-decoration:
            none;

        font-size:
            15px;

        font-weight:
            700;
    }


    /*
    |--------------------------------------------------------------------------
    | Do not allow background scrolling
    |--------------------------------------------------------------------------
    */

    body.og-global-drawer-open {
        overflow:
            hidden;
    }


    /*
    |--------------------------------------------------------------------------
    | Remove older mobile nav layers
    |--------------------------------------------------------------------------
    */

    body.og-global-mobile-enabled
    .mobile-bottom-nav {
        display:
            none !important;
    }

    body.og-global-mobile-enabled
    .ogegos-mobile-drawer,

    body.og-global-mobile-enabled
    .ogegos-drawer-overlay {
        display:
            none !important;
    }


    /*
    |--------------------------------------------------------------------------
    | Page sizing
    |--------------------------------------------------------------------------
    */

    body.og-global-mobile-enabled .wrap {
        width:
            calc(100% - 24px);

        padding-top:
            20px;

        margin:
            0 auto;
    }

}


@media (max-width: 390px) {

    .og-global-mobile-header {
        grid-template-columns:
            103px
            minmax(105px, 1fr)
            44px;
    }

    .og-global-brand-text {
        font-size:
            18px;
    }

    .og-global-brand-mark {
        width:
            35px;

        height:
            35px;

        flex-basis:
            35px;
    }

}

/* OGEGOS GLOBAL MOBILE NAV V1 END */

/* OGEGOS MOBILE HEADER CLEANUP V1 START */

@media (max-width:760px) {

    /*
     * The new global header is the ONLY mobile header.
     */

    body.ogegos-mobile-global .mobile-header-top,
    body.ogegos-mobile-global .ogegos-mobile-brand,
    body.ogegos-mobile-global .ogegos-menu-button,
    body.ogegos-mobile-global .mobile-notification {
        display: none !important;
    }


    /*
     * Keep the content part of the Mobile dashboard,
     * but remove its legacy header row.
     */

    body.ogegos-mobile-global .mobile-header {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }


    /*
     * Only one global header is allowed.
     */

    .ogegos-global-mobile-header ~
    .ogegos-global-mobile-header {
        display: none !important;
    }

}

/* OGEGOS MOBILE HEADER CLEANUP V1 END */

/* OGEGOS STAFF TASK EXECUTION V1 START */

@media (max-width: 760px) {

    /*
    |--------------------------------------------------------------------------
    | Staff mode only
    |--------------------------------------------------------------------------
    */

    body.ogegos-staff-execution {
        background:
            #f6f7f9;
    }


    /*
    |--------------------------------------------------------------------------
    | Staff intro
    |--------------------------------------------------------------------------
    */

    .ogegos-staff-work-header {
        margin:
            6px 0 16px;

        padding:
            0 2px;
    }

    .ogegos-staff-work-header h1 {
        margin:
            0;

        font-size:
            26px;

        line-height:
            1.15;

        letter-spacing:
            -.8px;

        color:
            #172033;
    }

    .ogegos-staff-work-subtitle {
        margin-top:
            6px;

        color:
            #6d7480;

        font-size:
            14px;

        line-height:
            1.4;
    }


    /*
    |--------------------------------------------------------------------------
    | Progress card
    |--------------------------------------------------------------------------
    */

    .ogegos-staff-progress {
        margin-bottom:
            20px;

        padding:
            17px;

        background:
            #fff;

        border:
            1px solid #e7e9ee;

        border-radius:
            18px;

        box-shadow:
            0 5px 20px
            rgba(24,32,48,.04);
    }

    .ogegos-staff-progress-top {
        display:
            flex;

        align-items:
            center;

        justify-content:
            space-between;

        gap:
            12px;
    }

    .ogegos-staff-progress-label {
        font-size:
            14px;

        font-weight:
            750;

        color:
            #252d3c;
    }

    .ogegos-staff-progress-count {
        font-size:
            14px;

        font-weight:
            800;

        color:
            #ef681d;
    }

    .ogegos-staff-progress-track {
        height:
            8px;

        margin-top:
            12px;

        overflow:
            hidden;

        background:
            #eceef2;

        border-radius:
            999px;
    }

    .ogegos-staff-progress-fill {
        width:
            0;

        height:
            100%;

        border-radius:
            999px;

        background:
            linear-gradient(
                90deg,
                #ff8a00,
                #ef681d
            );

        transition:
            width .25s ease;
    }


    /*
    |--------------------------------------------------------------------------
    | Staff task sections
    |--------------------------------------------------------------------------
    */

    .ogegos-staff-section {
        margin:
            0 0 24px;
    }

    .ogegos-staff-section-head {
        display:
            flex;

        align-items:
            center;

        justify-content:
            space-between;

        margin:
            0 2px 10px;
    }

    .ogegos-staff-section-title {
        margin:
            0;

        font-size:
            13px;

        font-weight:
            850;

        letter-spacing:
            .08em;

        color:
            #737b88;
    }

    .ogegos-staff-section-count {
        min-width:
            26px;

        padding:
            3px 8px;

        text-align:
            center;

        font-size:
            12px;

        font-weight:
            800;

        color:
            #747b86;

        background:
            #e9ebef;

        border-radius:
            999px;
    }

    .ogegos-staff-section-now
    .ogegos-staff-section-title {
        color:
            #ef681d;
    }

    .ogegos-staff-section-now
    .ogegos-staff-section-count {
        color:
            #ef681d;

        background:
            #fff0e5;
    }


    /*
    |--------------------------------------------------------------------------
    | Task cards
    |--------------------------------------------------------------------------
    */

    body.ogegos-staff-execution
    .ogegos-staff-task-card {
        position:
            relative;

        margin:
            0 0 12px !important;

        padding:
            18px !important;

        background:
            #fff;

        border:
            1px solid #e5e8ed !important;

        border-radius:
            19px !important;

        box-shadow:
            0 6px 20px
            rgba(20,29,45,.045) !important;
    }

    body.ogegos-staff-execution
    .ogegos-staff-task-card.ogegos-task-now {
        border:
            1px solid #ffd4b8 !important;

        box-shadow:
            0 7px 24px
            rgba(239,104,29,.08) !important;
    }

    body.ogegos-staff-execution
    .ogegos-staff-task-card.ogegos-task-completed {
        opacity:
            .72;
    }


    /*
    |--------------------------------------------------------------------------
    | Task title
    |--------------------------------------------------------------------------
    */

    body.ogegos-staff-execution
    .ogegos-staff-task-card h1,
    body.ogegos-staff-execution
    .ogegos-staff-task-card h2,
    body.ogegos-staff-execution
    .ogegos-staff-task-card h3,
    body.ogegos-staff-execution
    .ogegos-staff-task-card h4 {
        margin-top:
            0;

        margin-bottom:
            8px;

        font-size:
            19px !important;

        line-height:
            1.25;

        letter-spacing:
            -.35px;

        color:
            #182033;
    }


    /*
    |--------------------------------------------------------------------------
    | Status / due
    |--------------------------------------------------------------------------
    */

    .ogegos-staff-task-state {
        display:
            inline-flex;

        align-items:
            center;

        gap:
            5px;

        margin:
            0 0 12px;

        padding:
            5px 9px;

        border-radius:
            999px;

        background:
            #f0f2f5;

        color:
            #626a77;

        font-size:
            12px;

        font-weight:
            750;
    }

    .ogegos-task-now
    .ogegos-staff-task-state {
        color:
            #d9570c;

        background:
            #fff0e5;
    }

    .ogegos-task-completed
    .ogegos-staff-task-state {
        color:
            #397353;

        background:
            #eaf7ef;
    }


    /*
    |--------------------------------------------------------------------------
    | Completion standard
    |--------------------------------------------------------------------------
    */

    .ogegos-staff-standard {
        margin:
            10px 0 14px;

        padding:
            12px 13px;

        background:
            #f7f8fa;

        border-radius:
            13px;

        color:
            #4f5867;

        font-size:
            14px;

        line-height:
            1.5;
    }

    .ogegos-staff-standard::before {
        content:
            "WHAT TO DO";

        display:
            block;

        margin-bottom:
            5px;

        font-size:
            10px;

        font-weight:
            850;

        letter-spacing:
            .09em;

        color:
            #8a919d;
    }


    /*
    |--------------------------------------------------------------------------
    | Forms and buttons
    |--------------------------------------------------------------------------
    */

    body.ogegos-staff-execution
    .ogegos-staff-task-card form {
        margin-top:
            10px;
    }

    body.ogegos-staff-execution
    .ogegos-staff-task-card button,
    body.ogegos-staff-execution
    .ogegos-staff-task-card input[type="submit"] {
        min-height:
            48px;

        width:
            100%;

        border-radius:
            13px;

        font-size:
            15px;

        font-weight:
            800;

        touch-action:
            manipulation;
    }

    body.ogegos-staff-execution
    .ogegos-staff-task-card input[type="number"],
    body.ogegos-staff-execution
    .ogegos-staff-task-card input[type="text"] {
        min-height:
            50px;

        width:
            100%;

        padding:
            0 14px;

        font-size:
            17px;

        border:
            1px solid #dfe3e9;

        border-radius:
            13px;

        background:
            #fff;
    }


    /*
    |--------------------------------------------------------------------------
    | Evidence and purchase links
    |--------------------------------------------------------------------------
    */

    body.ogegos-staff-execution
    .ogegos-staff-task-card
    a[href^="/media"] {
        min-height:
            46px;

        display:
            flex;

        align-items:
            center;

        justify-content:
            center;

        gap:
            7px;

        margin-top:
            10px;

        padding:
            0 12px;

        text-decoration:
            none;

        font-size:
            14px;

        font-weight:
            750;

        color:
            #2c3442;

        background:
            #f5f6f8;

        border:
            1px solid #e0e3e8;

        border-radius:
            12px;
    }

    body.ogegos-staff-execution
    .ogegos-staff-task-card
    a[href^="/purchase"] {
        min-height:
            44px;

        display:
            flex;

        align-items:
            center;

        justify-content:
            center;

        margin-top:
            9px;

        padding:
            0 12px;

        text-decoration:
            none;

        font-size:
            14px;

        font-weight:
            700;

        color:
            #5d6572;

        border:
            1px solid #e4e6ea;

        border-radius:
            12px;
    }


    /*
    |--------------------------------------------------------------------------
    | Completed section compact
    |--------------------------------------------------------------------------
    */

    .ogegos-staff-section-completed
    .ogegos-staff-task-card {
        padding:
            14px !important;
    }


    /*
    |--------------------------------------------------------------------------
    | Empty state
    |--------------------------------------------------------------------------
    */

    .ogegos-staff-empty {
        padding:
            23px 18px;

        text-align:
            center;

        color:
            #757d89;

        background:
            #fff;

        border:
            1px dashed #d9dde3;

        border-radius:
            16px;

        font-size:
            14px;
    }


    /*
    |--------------------------------------------------------------------------
    | Saving overlay
    |--------------------------------------------------------------------------
    */

    .ogegos-staff-saving {
        position:
            fixed;

        inset:
            0;

        z-index:
            3000;

        display:
            flex;

        align-items:
            center;

        justify-content:
            center;

        background:
            rgba(19,26,38,.32);

        backdrop-filter:
            blur(3px);
    }

    .ogegos-staff-saving-box {
        min-width:
            140px;

        padding:
            18px 24px;

        text-align:
            center;

        color:
            #172033;

        background:
            #fff;

        border-radius:
            17px;

        box-shadow:
            0 15px 50px
            rgba(0,0,0,.15);

        font-size:
            15px;

        font-weight:
            800;
    }

}


/* OGEGOS STAFF TASK EXECUTION V1 END */

/* OGEGOS PERSONAL CENTER V1 START */

.ogegos-personal-center {
    max-width: 720px;
}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.ogegos-profile-hero {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 20px;

    padding: 24px;

    background: #fff;

    border: 1px solid #e7e9ed;

    border-radius: 20px;

    box-shadow:
        0 5px 22px
        rgba(22,30,45,.04);
}

.ogegos-profile-avatar {
    width: 64px;
    height: 64px;

    flex: 0 0 64px;

    display: grid;

    place-items: center;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #ff8a00,
            #ef681d
        );

    border-radius: 50%;

    font-size: 25px;

    font-weight: 850;
}

.ogegos-profile-identity {
    min-width: 0;
}

.ogegos-profile-identity h1 {
    margin: 0;

    color: #172033;

    font-size: 24px;

    line-height: 1.2;
}

.ogegos-profile-identity p {
    margin: 4px 0 10px;

    color: #737b88;

    font-size: 14px;
}

.ogegos-profile-badges {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.ogegos-profile-badges span {
    padding: 5px 9px;

    color: #6a707b;

    background: #f2f3f6;

    border-radius: 999px;

    font-size: 12px;

    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| Sections
|--------------------------------------------------------------------------
*/

.ogegos-personal-section {
    margin-bottom: 18px;

    padding: 22px;
}

.ogegos-personal-section-title {
    margin-bottom: 17px;
}

.ogegos-personal-section-title h2 {
    margin: 0;

    color: #182033;

    font-size: 18px;
}

.ogegos-personal-section-title p {
    margin: 4px 0 0;

    color: #7a818c;

    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| Details
|--------------------------------------------------------------------------
*/

.ogegos-account-details {
    border-top: 1px solid #eceef1;
}

.ogegos-detail-row {
    display: grid;

    grid-template-columns:
        minmax(100px, 1fr)
        minmax(130px, 2fr);

    gap: 20px;

    padding: 14px 0;

    border-bottom:
        1px solid #eceef1;
}

.ogegos-detail-row span {
    color: #818894;

    font-size: 13px;
}

.ogegos-detail-row strong {
    min-width: 0;

    overflow-wrap: anywhere;

    color: #28303e;

    font-size: 14px;

    text-align: right;
}


/*
|--------------------------------------------------------------------------
| Password
|--------------------------------------------------------------------------
*/

.ogegos-password-note {
    padding: 11px 13px;

    color: #68717e;

    background: #f6f7f9;

    border-radius: 11px;

    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| Sign out
|--------------------------------------------------------------------------
*/

.ogegos-signout-button {
    min-height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 18px;

    color: #b92f2f;

    background: #fff7f7;

    border:
        1px solid #efd1d1;

    border-radius: 13px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 750;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width:760px) {

    .ogegos-personal-center {
        max-width: none;

        padding-bottom: 24px;
    }

    .ogegos-profile-hero {
        margin-top: 4px;

        padding: 18px;

        border-radius: 18px;
    }

    .ogegos-profile-avatar {
        width: 56px;
        height: 56px;

        flex-basis: 56px;

        font-size: 22px;
    }

    .ogegos-profile-identity h1 {
        font-size: 21px;
    }

    .ogegos-profile-identity p {
        max-width: 220px;

        overflow: hidden;

        text-overflow: ellipsis;

        white-space: nowrap;
    }

    .ogegos-personal-section {
        padding: 18px;

        border-radius: 18px;
    }

    .ogegos-detail-row {
        grid-template-columns:
            88px
            1fr;

        gap: 12px;
    }

    .ogegos-personal-section
    input[type="password"] {
        min-height: 50px;

        font-size: 17px;

        border-radius: 12px;
    }

    .ogegos-personal-section button {
        min-height: 50px;

        border-radius: 13px;

        font-size: 15px;

        font-weight: 800;
    }

    .ogegos-signout-button {
        min-height: 50px;
    }

}

/* OGEGOS PERSONAL CENTER V1 END */

/* OGEGOS TASK DEFINITION UX V1 START */

.ogegos-task-definition {
    margin: 18px 0;

    padding: 20px;

    background: #fff;

    border: 1px solid #e5e8ed;

    border-radius: 18px;

    box-shadow:
        0 5px 20px
        rgba(22,30,45,.035);
}

.ogegos-task-definition-header {
    margin-bottom: 18px;
}

.ogegos-task-definition-header h3 {
    margin: 0;

    color: #182033;

    font-size: 18px;

    line-height: 1.25;
}

.ogegos-task-definition-header p {
    margin: 5px 0 0;

    color: #747c88;

    font-size: 13px;

    line-height: 1.45;
}


.ogegos-task-type-grid {
    display: grid;

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

    gap: 10px;

    margin-bottom: 18px;
}


.ogegos-task-type-option {
    position: relative;

    display: block;

    padding: 14px;

    border:
        1px solid #e1e4e9;

    border-radius:
        14px;

    background:
        #fafbfc;

    cursor:
        pointer;

    transition:
        .15s ease;
}

.ogegos-task-type-option:hover {
    border-color:
        #f1b080;
}

.ogegos-task-type-option.active {
    background:
        #fff4eb;

    border-color:
        #ef681d;

    box-shadow:
        0 0 0 2px
        rgba(239,104,29,.07);
}

.ogegos-task-type-option input {
    position:
        absolute;

    opacity:
        0;

    pointer-events:
        none;
}

.ogegos-task-type-name {
    display:
        block;

    margin-bottom:
        4px;

    color:
        #222a38;

    font-size:
        14px;

    font-weight:
        800;
}

.ogegos-task-type-description {
    display:
        block;

    color:
        #777f8b;

    font-size:
        12px;

    line-height:
        1.4;
}


.ogegos-definition-fields {
    display:
        grid;

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

    gap:
        14px;
}

.ogegos-definition-field {
    display:
        flex;

    flex-direction:
        column;

    gap:
        6px;
}

.ogegos-definition-field.wide {
    grid-column:
        1 / -1;
}

.ogegos-definition-field > span {
    color:
        #414957;

    font-size:
        13px;

    font-weight:
        750;
}

.ogegos-definition-field small {
    color:
        #848b96;

    font-size:
        11px;
}

.ogegos-definition-field input,
.ogegos-definition-field select {
    min-height:
        44px;

    width:
        100%;

    padding:
        0 11px;

    border:
        1px solid #dfe3e8;

    border-radius:
        11px;

    background:
        #fff;

    color:
        #202735;

    font-size:
        14px;
}


.ogegos-definition-help {
    margin-top:
        15px;

    padding:
        12px 13px;

    background:
        #f6f7f9;

    border-radius:
        12px;

    color:
        #66707d;

    font-size:
        12px;

    line-height:
        1.45;
}


/*
|--------------------------------------------------------------------------
| Hide the technical fields only after UX enhancement succeeds.
|--------------------------------------------------------------------------
*/

.ogegos-technical-field-hidden {
    display:
        none !important;
}


/*
|--------------------------------------------------------------------------
| Schedule visual separation
|--------------------------------------------------------------------------
*/

.ogegos-schedule-field {
    position:
        relative;
}

.ogegos-schedule-field::before {
    content:
        "WHEN";

    display:
        block;

    margin-bottom:
        5px;

    color:
        #9299a3;

    font-size:
        10px;

    font-weight:
        850;

    letter-spacing:
        .08em;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width:760px) {

    .ogegos-task-definition {
        margin:
            14px 0;

        padding:
            16px;

        border-radius:
            17px;
    }

    .ogegos-task-type-grid {
        grid-template-columns:
            1fr;
    }

    .ogegos-definition-fields {
        grid-template-columns:
            1fr;
    }

    .ogegos-definition-field.wide {
        grid-column:
            auto;
    }

    .ogegos-definition-field input,
    .ogegos-definition-field select {
        min-height:
            48px;

        font-size:
            16px;
    }

}

/* OGEGOS TASK DEFINITION UX V1 END */

/* OGEGOS INTRADAY SCHEDULER V1 START */

.ogegos-intraday-field small {
    display: block;
    margin-top: 5px;
    color: #7b8490;
    font-size: 11px;
    line-height: 1.4;
}

/* OGEGOS INTRADAY SCHEDULER V1 END */

/* OGEGOS TASK SCHEDULE UX V2 START */

.ogegos-schedule-v2 {
    grid-column: 1 / -1;
    margin: 8px 0 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e8ed;
    border-radius: 18px;
    box-shadow: 0 5px 20px rgba(22,30,45,.035);
}

.ogegos-schedule-v2-header {
    margin-bottom: 18px;
}

.ogegos-schedule-v2-kicker {
    display: block;
    margin-bottom: 5px;
    color: #ef681d;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .09em;
}

.ogegos-schedule-v2-header h3 {
    margin: 0;
    color: #182033;
    font-size: 18px;
}

.ogegos-schedule-v2-header p {
    margin: 6px 0 0;
    color: #747c88;
    font-size: 13px;
}

.ogegos-schedule-v2-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
}

.ogegos-schedule-v2-grid > label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.ogegos-schedule-v2-grid input,
.ogegos-schedule-v2-grid select {
    width: 100%;
    min-height: 46px;
    padding: 0 11px;
    border: 1px solid #dfe3e8;
    border-radius: 11px;
    background: #fff;
    color: #202735;
    font-size: 14px;
}

.ogegos-schedule-v2-grid small {
    color: #7b8490;
    font-size: 11px;
    line-height: 1.4;
}

.ogegos-schedule-v2-hidden {
    display: none !important;
}

.ogegos-schedule-v2-summary {
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff5ed;
    color: #5d4639;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width:760px) {
    .ogegos-schedule-v2 {
        padding: 16px;
        border-radius: 17px;
    }

    .ogegos-schedule-v2-grid {
        grid-template-columns: 1fr;
    }

    .ogegos-schedule-v2-grid input,
    .ogegos-schedule-v2-grid select {
        min-height: 48px;
        font-size: 16px;
    }
}

/* OGEGOS TASK SCHEDULE UX V2 END */

/* OGEGOS LIVE OPERATIONS V2.1 START */

.live-board {
    max-width: 1400px;
    margin: 0 auto;
    padding: 28px 24px 60px;
}

.live-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 22px;
}

.live-title h1 {
    margin: 0;
    color: #1d2432;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: -.03em;
}

.live-title p {
    margin: 8px 0 0;
    color: #7b8491;
    font-size: 15px;
}

.live-status {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #26823d;
    font-size: 13px;
    font-weight: 850;
}

.live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #31a64b;
    box-shadow: 0 0 0 6px rgba(49,166,75,.12);
}

.live-clock {
    margin-left: 12px;
    color: #303846;
    font-size: 20px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.live-summary {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.live-metric {
    min-height: 132px;
    padding: 21px;
    background: #fff;
    border: 1px solid #e5e8ed;
    border-radius: 20px;
    box-shadow: 0 5px 22px rgba(26,34,49,.035);
}

.live-metric-label {
    color: #8a929e;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
}

.live-metric-value {
    margin-top: 12px;
    color: #202735;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}

.live-metric-sub {
    margin-top: 10px;
    color: #7b8490;
    font-size: 12px;
}

.live-main {
    display: grid;
    grid-template-columns: minmax(0,1fr) 320px;
    gap: 18px;
}

.live-feed-card,
.live-side-card {
    background: #fff;
    border: 1px solid #e5e8ed;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(26,34,49,.035);
}

.live-card-header {
    padding: 18px 20px;
    border-bottom: 1px solid #eceef1;
}

.live-card-header h2 {
    margin: 0;
    color: #252c39;
    font-size: 18px;
}

.live-feed {
    min-height: 320px;
    max-height: 64vh;
    overflow: auto;
}

.live-event {
    display: grid;
    grid-template-columns: 82px 150px minmax(0,1fr);
    gap: 14px;
    align-items: start;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f1f3;
}

.live-event:last-child {
    border-bottom: none;
}

.live-event-time {
    color: #8a929d;
    font-size: 13px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.live-event-actor {
    overflow: hidden;
    color: #343c49;
    font-size: 13px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-event-content {
    min-width: 0;
}

.live-event-title {
    color: #222a37;
    font-size: 14px;
    font-weight: 850;
}

.live-event-detail {
    margin-top: 4px;
    color: #7c8591;
    font-size: 12px;
    line-height: 1.45;
}

.live-event[data-severity="warning"] {
    background: #fffaf3;
}

.live-event[data-severity="critical"] {
    background: #fff3f3;
}

.live-event[data-severity="success"] .live-event-title::before {
    content: "✓ ";
    color: #27833c;
}

.live-side-content {
    padding: 20px;
}

.live-side-number {
    color: #222a37;
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.live-side-label {
    margin-top: 8px;
    color: #7c8490;
    font-size: 13px;
}

.live-empty {
    padding: 50px 20px;
    color: #8c949f;
    text-align: center;
}

@media (max-width: 900px) {
    .live-board {
        padding: 18px 14px 40px;
    }

    .live-top {
        align-items: flex-start;
    }

    .live-summary {
        grid-template-columns: 1fr;
    }

    .live-main {
        grid-template-columns: 1fr;
    }

    .live-event {
        grid-template-columns: 68px 105px minmax(0,1fr);
        gap: 9px;
        padding: 13px;
    }
}

/* OGEGOS LIVE OPERATIONS V2.1 END */

/* OGEGOS LIVE OPERATIONS V2.2 START */


/* ----------------------------------------------------------
   FILTER BAR
---------------------------------------------------------- */

.live-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid #eceef1;
    background: #fbfcfd;
}

.live-filter-btn {
    appearance: none;
    border: 1px solid #dfe3e8;
    border-radius: 999px;
    background: #fff;
    padding: 8px 13px;
    color: #5f6875;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}

.live-filter-btn:hover {
    border-color: #f0a16e;
}

.live-filter-btn.active {
    border-color: #ef681d;
    background: #fff3ea;
    color: #d9540c;
}


/* ----------------------------------------------------------
   EVENT IMPORTANCE
---------------------------------------------------------- */

.live-event.live-event-operational {
    position: relative;
}

.live-event.live-event-operational::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 3px;
    background: #ef681d;
}


/* Manager configuration is intentionally visually quieter. */

.live-event.live-event-config {
    opacity: .62;
    background: #fafbfc;
}

.live-event.live-event-config .live-event-title {
    font-weight: 700;
}

.live-event.live-event-config .live-event-actor {
    color: #7c8490;
}


/* ----------------------------------------------------------
   WARNINGS
---------------------------------------------------------- */

.live-event.live-event-warning {
    position: relative;
    background: #fff8ed !important;
}

.live-event.live-event-warning::before {
    content: "!";
    display: flex;
    position: absolute;
    left: 7px;
    top: 50%;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #e78a18;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.live-event.live-event-warning {
    padding-left: 36px;
}

.live-event.live-event-warning .live-event-title {
    color: #9d5605;
}


.live-event.live-event-critical {
    position: relative;
    background: #fff1f1 !important;
    padding-left: 36px;
}

.live-event.live-event-critical::before {
    content: "!";
    display: flex;
    position: absolute;
    left: 7px;
    top: 50%;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #c83b3b;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}


/* Completed actions */

.live-event.live-event-success .live-event-title {
    color: #246f37;
}


/* ----------------------------------------------------------
   HIDDEN BY FILTER
---------------------------------------------------------- */

.live-event.live-filter-hidden {
    display: none !important;
}


/* ----------------------------------------------------------
   RESULT COUNT
---------------------------------------------------------- */

.live-filter-count {
    margin-left: auto;
    align-self: center;
    color: #8b939e;
    font-size: 11px;
    font-weight: 750;
}


@media(max-width:760px) {

    .live-filter-bar {
        padding: 12px;
        gap: 6px;
    }

    .live-filter-btn {
        padding: 7px 10px;
        font-size: 11px;
    }

    .live-filter-count {
        width: 100%;
        margin: 3px 0 0;
    }

}

/* OGEGOS LIVE OPERATIONS V2.2 END */

/* OGEGOS STAFF TASK EXECUTION V2 START */

@media (max-width: 760px) {

    /*
    |--------------------------------------------------------------------------
    | Staff execution cards
    |--------------------------------------------------------------------------
    */

    body.ogegos-staff-execution-v2 .ogegos-execution-card {
        position: relative;
        overflow: hidden;
        padding: 18px !important;
        border-radius: 20px !important;
    }

    body.ogegos-staff-execution-v2 .ogegos-execution-card h3 {
        margin-bottom: 7px;
        font-size: 19px;
        line-height: 1.25;
    }

    body.ogegos-staff-execution-v2 .ogegos-execution-card .standard {
        margin: 9px 0 14px;
        padding: 11px 12px;
        border-radius: 12px;
        background: #f7f8fa;
        color: #626b77;
        font-size: 13px;
        line-height: 1.5;
    }

    /*
    |--------------------------------------------------------------------------
    | Due label
    |--------------------------------------------------------------------------
    */

    .ogegos-task-due {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: 2px 0 12px;
        padding: 6px 9px;
        border-radius: 999px;
        background: #f4f5f7;
        color: #5d6672;
        font-size: 12px;
        font-weight: 800;
    }

    .ogegos-task-due.is-soon {
        background: #fff4e9;
        color: #c85a12;
    }

    .ogegos-task-due.is-overdue {
        background: #fff0f0;
        color: #b73232;
    }

    /*
    |--------------------------------------------------------------------------
    | Task type panel
    |--------------------------------------------------------------------------
    */

    .ogegos-execution-panel {
        margin: 14px 0 5px;
        padding: 14px;
        border: 1px solid #e6e9ee;
        border-radius: 16px;
        background: #fff;
    }

    .ogegos-execution-kicker {
        margin-bottom: 8px;
        color: #8b939e;
        font-size: 10px;
        font-weight: 900;
        letter-spacing: .09em;
        text-transform: uppercase;
    }

    .ogegos-execution-title {
        margin-bottom: 10px;
        color: #252c38;
        font-size: 15px;
        font-weight: 850;
    }

    .ogegos-target-line {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        align-items: baseline;
        margin: 7px 0;
    }

    .ogegos-target-label {
        color: #7b8490;
        font-size: 12px;
    }

    .ogegos-target-value {
        color: #242b37;
        font-size: 18px;
        font-weight: 900;
    }

    /*
    |--------------------------------------------------------------------------
    | Existing real controls
    |--------------------------------------------------------------------------
    */

    body.ogegos-staff-execution-v2 .ogegos-execution-card form[action="/task/action"] {
        margin-top: 12px;
    }

    body.ogegos-staff-execution-v2 .ogegos-execution-card form[action="/task/action"] input[type="number"] {
        width: 100%;
        min-height: 52px;
        margin-bottom: 10px;
        padding: 0 14px;
        border: 1px solid #dfe3e8;
        border-radius: 13px;
        background: #fff;
        font-size: 20px;
        font-weight: 800;
    }

    body.ogegos-staff-execution-v2 .ogegos-execution-card form[action="/task/action"] button,
    body.ogegos-staff-execution-v2 .ogegos-execution-card a.ogegos-primary-action {
        display: flex;
        width: 100%;
        min-height: 50px;
        align-items: center;
        justify-content: center;
        border-radius: 13px;
        font-size: 15px;
        font-weight: 850;
    }

    .ogegos-evidence-action {
        display: flex !important;
        width: 100%;
        min-height: 50px;
        margin-top: 10px;
        align-items: center;
        justify-content: center;
        border-radius: 13px !important;
        border-color: #ef681d !important;
        background: #fff5ed !important;
        color: #d9570f !important;
        font-weight: 850 !important;
    }

    .ogegos-purchase-action {
        margin-top: 8px;
        opacity: .72;
        font-size: 12px !important;
    }

    /*
    |--------------------------------------------------------------------------
    | Completed
    |--------------------------------------------------------------------------
    */

    .ogegos-execution-card[data-status="completed"],
    .ogegos-execution-card[data-status="completed_late"] {
        opacity: .72;
    }

    .ogegos-execution-card[data-status="completed"]::after,
    .ogegos-execution-card[data-status="completed_late"]::after {
        content: "✓ Done";
        position: absolute;
        right: 14px;
        top: 14px;
        padding: 5px 8px;
        border-radius: 999px;
        background: #eaf7ee;
        color: #27833d;
        font-size: 11px;
        font-weight: 900;
    }

}

/* OGEGOS STAFF TASK EXECUTION V2 END */

/* OGEGOS ASSIGNEE SELECT HEIGHT FIX START */

/*
 * Default assignee should behave like a normal form field.
 * Prevent global select / field rules from stretching it vertically.
 */

select[name="default_assignee_user_id"],
select[name="default_assignee_id"] {
    display: block !important;
    width: 100% !important;

    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;

    padding: 0 42px 0 14px !important;

    border: 1px solid #d9dee6 !important;
    border-radius: 12px !important;

    background-color: #fff !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 52px !important;

    box-sizing: border-box !important;
}


/* Also protect the wrapper from accidental large fixed heights. */

label:has(
    select[name="default_assignee_user_id"]
),
label:has(
    select[name="default_assignee_id"]
) {
    min-height: 0 !important;
    height: auto !important;
}


/* Mobile */

@media (max-width: 760px) {

    select[name="default_assignee_user_id"],
    select[name="default_assignee_id"] {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        line-height: 50px !important;
    }

}

/* OGEGOS ASSIGNEE SELECT HEIGHT FIX END */

/* OGEGOS LEGACY MOBILE HEADER SAFETY START */

/*
 * Legacy mobile header retired.
 * Global mobile header is now the only mobile header.
 */
.mobile-header {
    display: none !important;
}

/* OGEGOS LEGACY MOBILE HEADER SAFETY END */

/* OGEGOS REPORTS V1.1 START */

.report-range {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.report-range-btn {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    border: 1px solid #dfe3e8;
    border-radius: 999px;
    background: #fff;
    color: #596270;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.report-range-btn.active {
    border-color: #ef681d;
    background: #fff2e8;
    color: #d8550d;
}


/* Custom range */

.report-custom-card {
    margin-bottom: 18px;
}

.report-custom-form {
    display: grid;
    grid-template-columns:
        minmax(160px,1fr)
        minmax(160px,1fr)
        auto;
    gap: 12px;
    align-items: end;
}

.report-custom-form label {
    display: block;
}

.report-custom-form label span {
    display: block;
    margin-bottom: 6px;
    color: #626b77;
    font-size: 12px;
    font-weight: 800;
}

.report-custom-form input[type="date"] {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #dfe3e8;
    border-radius: 11px;
    background: #fff;
    box-sizing: border-box;
}

.report-custom-form button {
    min-height: 46px;
    padding: 0 22px;
}

.report-range-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff0f0;
    color: #aa3434;
    font-size: 13px;
    font-weight: 750;
}


/* Metrics */

.report-metrics {
    display: grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.report-metric {
    min-height: 135px;
    padding: 20px;
    border: 1px solid #e6e9ed;
    border-radius: 18px;
    background: #fff;
}

.report-metric.primary {
    border-color: #ffd8bf;
    background: #fff8f3;
}

.report-metric.warning {
    background: #fffaf1;
}

.report-metric.danger {
    background: #fff5f5;
}

.report-label {
    color: #858e99;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.report-number {
    margin-top: 13px;
    color: #222936;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}

.report-note {
    margin-top: 9px;
    color: #7c8490;
    font-size: 12px;
    line-height: 1.4;
}


/* Cards */

.report-card {
    margin-bottom: 18px;
}

.report-card-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.report-card-title h2 {
    margin: 0;
}

.report-card-title p {
    margin: 5px 0 0;
    color: #858d98;
    font-size: 12px;
}


/* Breakdown */

.report-breakdown {
    display: grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap: 8px 20px;
}

.report-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
    padding: 8px 0;
    border-bottom: 1px solid #eff1f3;
}

.report-result-name {
    color: #505966;
    font-size: 13px;
    font-weight: 750;
}

.report-result-value {
    min-width: 34px;
    text-align: right;
    color: #303846;
    font-size: 18px;
    font-weight: 900;
}

.report-result-value.success {
    color: #28773b;
}

.report-result-value.warning {
    color: #c56a11;
}

.report-result-value.danger {
    color: #b53a3a;
}


/* Daily table */

.report-table-wrap {
    overflow-x: auto;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
}

.report-table th,
.report-table td {
    padding: 11px 10px;
    border-bottom: 1px solid #eceef1;
    text-align: left;
    white-space: nowrap;
}

.report-table th {
    color: #7d8691;
    font-size: 11px;
    font-weight: 900;
}

.report-table td {
    color: #343c49;
    font-size: 13px;
}


/* Purchasing */

.report-purchase-grid {
    display: grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap: 12px;
}

.report-purchase-grid > div {
    padding: 16px;
    border-radius: 14px;
    background: #f7f8fa;
}

.report-purchase-grid span {
    display: block;
    color: #7f8894;
    font-size: 11px;
    font-weight: 800;
}

.report-purchase-grid strong {
    display: block;
    margin-top: 7px;
    color: #252c38;
    font-size: 27px;
}


@media(max-width:800px) {

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

    .report-breakdown {
        grid-template-columns: 1fr;
    }

    .report-custom-form {
        grid-template-columns:
            1fr 1fr;
    }

    .report-custom-form button {
        grid-column: 1 / -1;
    }

}


@media(max-width:520px) {

    .report-range {
        gap: 6px;
    }

    .report-range-btn {
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }

    .report-custom-form {
        grid-template-columns: 1fr;
    }

    .report-custom-form button {
        grid-column: auto;
        width: 100%;
    }

    .report-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .report-metric {
        min-height: 118px;
        padding: 15px;
    }

    .report-number {
        font-size: 30px;
    }

    .report-purchase-grid {
        grid-template-columns:
            1fr 1fr 1fr;
        gap: 7px;
    }

    .report-purchase-grid > div {
        padding: 11px;
    }

    .report-purchase-grid strong {
        font-size: 22px;
    }

}

/* OGEGOS REPORTS V1.1 END */
