/* WeighLess by DNC front-end styles. DNC brand colours: blue, yellow and orange. */
.dncwmp {
    --dnc-blue:#003EA5;
    --dnc-yellow:#FFC72C;
    --dnc-orange:#FF6A03;
    color:#172033;
    max-width:1100px;
    margin:24px auto;
    font-size:16px;
    line-height:1.55;
}

.dncwmp * {
    box-sizing:border-box;
}

.dncwmp-card {
    border:1px solid #dfe5ed;
    border-radius:18px;
    padding:22px;
    margin:0 0 18px;
    background:#fff;
    box-shadow:0 5px 20px rgba(15,35,70,.045);
}

.dncwmp-head {
    position:relative;
    isolation:isolate;
    overflow:hidden;
    background:radial-gradient(circle at 92% 8%,rgba(255,199,44,.16),transparent 30%),linear-gradient(128deg,#003EA5 0%,#062f78 62%,#041f52 100%);
    color:#FFC72C;
    border:1px solid rgba(255,199,44,.32);
    border-radius:24px;
    padding:clamp(26px,4.5vw,42px);
    margin-bottom:24px;
    border-bottom:5px solid var(--dnc-yellow);
    box-shadow:0 18px 42px rgba(0,42,112,.20),inset 0 1px 0 rgba(255,255,255,.10);
}

.dncwmp-head:before {
    content:"";
    position:absolute;
    z-index:-1;
    width:230px;
    height:230px;
    border:1px solid rgba(255,199,44,.22);
    border-radius:50%;
    right:-85px;
    top:-115px;
    box-shadow:0 0 0 22px rgba(255,199,44,.035),0 0 0 46px rgba(255,199,44,.025);
    pointer-events:none;
}

.dncwmp-head:after {
    content:"";
    position:absolute;
    width:74px;
    height:5px;
    border-radius:10px;
    background:var(--dnc-yellow);
    left:clamp(26px,4.5vw,42px);
    bottom:17px;
    opacity:.95;
    pointer-events:none;
}

.dncwmp-head h2 {
    color:var(--dnc-yellow);
    font-size:clamp(25px,3.2vw,36px);
    line-height:1.15;
    font-weight:850;
    letter-spacing:-.035em;
    margin:0 0 11px;
    position:relative;
    z-index:1;
    max-width:850px;
}

.dncwmp-head p {
    color:rgba(255,255,255,.9);
    font-size:clamp(14px,1.6vw,16px);
    line-height:1.65;
    margin:0;
    position:relative;
    z-index:1;
    max-width:760px;
}

.dncwmp h3.dncwmp-section-head {
    position:relative;
    display:flex;
    align-items:center;
    gap:12px;
    background:linear-gradient(120deg,#003EA5,#062f78);
    color:#FFC72C!important;
    border:1px solid rgba(255,199,44,.32);
    border-left:5px solid #FFC72C;
    border-radius:15px;
    padding:16px 18px;
    margin:22px 0 17px!important;
    font-size:clamp(18px,2.1vw,21px)!important;
    line-height:1.3;
    font-weight:800!important;
    letter-spacing:-.015em;
    box-shadow:0 8px 20px rgba(0,62,165,.12);
}

.dncwmp h3.dncwmp-section-head:before {
    content:"";
    display:block;
    flex:0 0 8px;
    width:8px;
    height:8px;
    border-radius:50%;
    background:#FFC72C;
    box-shadow:0 0 0 5px rgba(255,199,44,.14);
}

.dncwmp h3.dncwmp-section-head.dncwmp-yellow {
    background:linear-gradient(135deg,#FFC72C,#ffda69);
    color:#003EA5!important;
    border-color:rgba(0,62,165,.16);
    border-left-color:#003EA5;
    box-shadow:0 8px 20px rgba(0,62,165,.08);
}

.dncwmp h3.dncwmp-section-head.dncwmp-yellow:before {
    background:#003EA5;
    box-shadow:0 0 0 5px rgba(0,62,165,.10);
}

.dncwmp h2,.dncwmp h3 {
    margin:0 0 12px;
}

.dncwmp h3 {
    font-size:20px;
    color:var(--dnc-blue);
    font-weight:750;
}

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

.dncwmp label {
    display:block;
    font-weight:650;
    margin:0 0 6px;
    color:#26354b;
}

.dncwmp input,.dncwmp select,.dncwmp textarea {
    width:100%;
    padding:12px 13px;
    border:1px solid #cbd5e1;
    border-radius:10px;
    margin:0 0 14px;
    background:#fff;
    color:#172033;
    min-height:44px;
}

.dncwmp input:focus,.dncwmp select:focus,.dncwmp textarea:focus {
    outline:2px solid rgba(0,62,165,.18);
    border-color:var(--dnc-blue);
}

.dncwmp button,.dncwmp .button {
    display:inline-block;
    background:var(--dnc-orange);
    color:#fff!important;
    border:0;
    border-radius:10px;
    padding:12px 19px;
    font-weight:750;
    text-decoration:none;
    cursor:pointer;
    box-shadow:0 4px 10px rgba(255,106,3,.18);
    transition:transform .15s ease,filter .15s ease;
}

.dncwmp button:hover,.dncwmp .button:hover {
    filter:brightness(.95);
    transform:translateY(-1px);
}

.dncwmp .dncwmp-secondary {
    background:#fff5df;
    color:var(--dnc-blue)!important;
    border:1px solid #f3d477;
    box-shadow:none;
}

.dncwmp .dncwmp-stat {
    background:linear-gradient(145deg,#f5f8ff,#fff9e9);
    border:1px solid #e6ecf6;
    border-radius:14px;
    padding:18px;
}

.dncwmp .dncwmp-stat h2 {
    color:var(--dnc-blue);
    font-size:clamp(24px,3vw,30px);
    font-weight:800;
}

.dncwmp .dncwmp-muted {
    color:#64748b;
    font-size:14px;
}

.dncwmp .dncwmp-alert {
    padding:13px 15px;
    border-radius:10px;
    background:#fff4e5;
    border:1px solid #f3d4a4;
    border-left:4px solid var(--dnc-orange);
    margin:12px 0;
}

.dncwmp .dncwmp-success {
    background:#eaf8f0;
    border-color:#b7e2c7;
    border-left-color:#16845b;
}

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

.dncwmp th,.dncwmp td {
    text-align:left;
    border-bottom:1px solid #e2e8f0;
    padding:11px;
}

.dncwmp th {
    color:var(--dnc-blue);
    background:#f5f8ff;
}

.dncwmp .dncwmp-check {
    display:flex;
    align-items:flex-start;
    gap:8px;
    font-weight:400;
}

.dncwmp .dncwmp-check input {
    width:auto;
    min-height:auto;
    margin-top:5px;
    accent-color:var(--dnc-blue);
}

.dncwmp a {
    color:var(--dnc-blue);
}

.dncwmp details {
    background:#fff;
}

.dncwmp summary {
    cursor:pointer;
    color:var(--dnc-blue);
}

@media (max-width: 650px) {
    .dncwmp-grid {
        grid-template-columns: 1fr;
    }

    .dncwmp-card {
        padding: 16px;
        border-radius: 14px;
    }

    .dncwmp table {
        display: block;
        overflow-x: auto;
    }

    .dncwmp-head {
        border-radius: 15px;
    }
}


/* Premium form controls: keep the closed control consistent with DNC branding. */
.dncwmp select {
    appearance:none;
    -webkit-appearance:none;
    width:100%;
    min-height:52px;
    padding:13px 48px 13px 15px;
    border:1px solid #c8d4e5;
    border-radius:12px;
    background-color:#fff;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23003EA5' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 16px center;
    box-shadow:0 2px 5px rgba(0,35,90,.035);
    font:inherit;
    line-height:1.4;
    cursor:pointer;
    transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease;
}
.dncwmp select:hover { border-color:#7f9bc7; }
.dncwmp select:focus-visible {
    outline:3px solid rgba(255,199,44,.6);
    outline-offset:2px;
    border-color:#003EA5;
    box-shadow:0 0 0 4px rgba(0,62,165,.09);
}
.dncwmp select option { background:#fff; color:#172033; padding:10px; }

/* Custom accessible dropdown for the programme-pace choice. */
.dncwmp .dncwmp-select-native {
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    padding:0!important;
    margin:-1px!important;
    overflow:hidden!important;
    clip:rect(0,0,0,0)!important;
    white-space:nowrap!important;
    border:0!important;
}
.dncwmp .dncwmp-select-wrap { position:relative; width:100%; margin:0 0 14px; }
.dncwmp .dncwmp-select-trigger {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    width:100%;
    min-height:56px;
    padding:14px 17px;
    border:1px solid #c8d4e5;
    border-radius:13px;
    background:linear-gradient(180deg,#fff 0%,#f9fbff 100%);
    color:#172033!important;
    text-align:left;
    font:inherit;
    font-weight:650;
    line-height:1.4;
    box-shadow:0 3px 10px rgba(0,35,90,.055);
    cursor:pointer;
    transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.dncwmp .dncwmp-select-trigger:hover { border-color:#003EA5; box-shadow:0 6px 16px rgba(0,62,165,.10); transform:translateY(-1px); }
.dncwmp .dncwmp-select-trigger:focus-visible { outline:3px solid rgba(255,199,44,.8); outline-offset:2px; }
.dncwmp .dncwmp-select-chevron { flex:0 0 20px; width:20px; height:20px; color:#003EA5; transition:transform .18s ease; }
.dncwmp .dncwmp-select-wrap[aria-expanded="true"] .dncwmp-select-chevron { transform:rotate(180deg); }
.dncwmp .dncwmp-select-menu {
    position:absolute;
    z-index:100;
    top:calc(100% + 8px);
    left:0;
    right:0;
    display:none;
    padding:7px;
    border:1px solid #d9e2ef;
    border-radius:15px;
    background:#fff;
    box-shadow:0 16px 38px rgba(9,35,78,.18),0 3px 8px rgba(9,35,78,.06);
}
.dncwmp .dncwmp-select-wrap[aria-expanded="true"] .dncwmp-select-menu { display:block; animation:dncwmp-menu-in .14s ease-out; }
.dncwmp .dncwmp-select-option {
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
    min-height:48px;
    padding:12px 13px;
    border:0;
    border-radius:9px;
    background:#fff;
    color:#26354b!important;
    text-align:left;
    font:inherit;
    font-weight:550;
    box-shadow:none;
    transform:none;
    cursor:pointer;
}
.dncwmp .dncwmp-select-option:hover,.dncwmp .dncwmp-select-option:focus-visible { background:#fff7dc; color:#003EA5!important; outline:none; }
.dncwmp .dncwmp-select-option[aria-selected="true"] { background:#003EA5; color:#FFC72C!important; font-weight:750; }
.dncwmp .dncwmp-select-option[aria-selected="true"]:hover,.dncwmp .dncwmp-select-option[aria-selected="true"]:focus-visible { background:#003EA5; color:#FFC72C!important; }
.dncwmp .dncwmp-select-option-mark { display:inline-flex; align-items:center; justify-content:center; flex:0 0 23px; width:23px; height:23px; border:1px solid #c8d4e5; border-radius:50%; color:transparent; font-size:13px; }
.dncwmp .dncwmp-select-option[aria-selected="true"] .dncwmp-select-option-mark { border-color:#FFC72C; background:#FFC72C; color:#003EA5; }
@keyframes dncwmp-menu-in { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) { .dncwmp .dncwmp-select-trigger,.dncwmp .dncwmp-select-chevron { transition:none; } .dncwmp .dncwmp-select-menu { animation:none; } }


/* v1.4.0: consistent control sizing and premium participant dashboard styling. */
.dncwmp input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]),
.dncwmp select,
.dncwmp .dncwmp-select-trigger {
    box-sizing:border-box;
    height:50px;
    min-height:50px;
    padding-top:0;
    padding-bottom:0;
    line-height:1.4;
}
.dncwmp input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="hidden"]),
.dncwmp select {
    display:block;
}
.dncwmp button:not(.dncwmp-select-option),
.dncwmp input[type="submit"],
.dncwmp input[type="button"],
.dncwmp input[type="reset"],
.dncwmp .button {
    box-sizing:border-box;
    min-height:50px;
    padding-top:0;
    padding-bottom:0;
    line-height:1.2;
}
.dncwmp .dncwmp-select-trigger {
    padding-left:15px;
    padding-right:15px;
}

/* v1.4.0 — premium participant experience and daily engagement components */
.dncwmp .dncwmp-card{border-color:#e0e7f1;border-radius:20px;box-shadow:0 10px 30px rgba(15,35,70,.065);}
.dncwmp .dncwmp-stat{height:100%;background:linear-gradient(145deg,#f5f8ff 0%,#fffdf5 100%);border-radius:16px;padding:20px;}
.dncwmp .dncwmp-stat h2{margin:8px 0 10px;line-height:1.1;letter-spacing:-.035em;}
.dncwmp input:not([type=checkbox]):not([type=radio]):not([type=submit]),.dncwmp select{height:50px;min-height:50px;padding:0 14px;border-radius:11px;border-color:#cbd7e8;font-size:16px;}
.dncwmp textarea{min-height:92px;padding:12px 14px;border-radius:11px;border-color:#cbd7e8;font-size:16px;}
.dncwmp button,.dncwmp .button{min-height:50px;padding:0 20px;border-radius:12px;font-size:15px;}
.dncwmp .dncwmp-daily-card{border-top:4px solid #003EA5;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);}
.dncwmp .dncwmp-daily-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;}
.dncwmp .dncwmp-daily-heading h3{margin:3px 0 0;font-size:23px;letter-spacing:-.025em;}
.dncwmp .dncwmp-eyebrow{font-size:11px;letter-spacing:.13em;font-weight:850;color:#003EA5;}
.dncwmp .dncwmp-pill{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#fff3c6;color:#003EA5;font-size:12px;font-weight:800;white-space:nowrap;}
.dncwmp .dncwmp-subhead{color:#003EA5;margin:22px 0 8px;font-size:17px;font-weight:800;}
.dncwmp .dncwmp-meal-list{border-top:1px solid #e4eaf3;margin-top:18px;padding-top:14px;}
.dncwmp .dncwmp-meal-list h4{color:#003EA5;margin:0 0 8px;}
.dncwmp .dncwmp-meal-list>div{padding:10px 0;border-bottom:1px solid #edf1f7;}
.dncwmp .dncwmp-meal-list p{margin:4px 0 0;overflow-wrap:anywhere;}
.dncwmp .dncwmp-meal-type{font-size:12px;font-weight:800;color:#003EA5;}
.dncwmp .dncwmp-check{display:flex;align-items:flex-start;gap:9px;margin:10px 0;color:#26354b;}
.dncwmp .dncwmp-check input{width:18px;height:18px;min-height:18px;flex:0 0 18px;margin:3px 0 0;accent-color:#003EA5;}
.dncwmp .dncwmp-alert.dncwmp-urgent{background:#fff0ed;border-color:#f5b8aa;border-left-color:#b42318;color:#7a271a;}
.dncwmp details summary{cursor:pointer;color:#003EA5;font-weight:750;}
.dncwmp input:focus,.dncwmp select:focus,.dncwmp textarea:focus{outline:3px solid rgba(0,62,165,.15);outline-offset:1px;border-color:#003EA5;}
.dncwmp button:focus-visible,.dncwmp a:focus-visible{outline:3px solid #FF6A03;outline-offset:3px;}
@media(max-width:640px){.dncwmp{margin:12px auto;font-size:15px}.dncwmp-card{padding:16px;border-radius:16px}.dncwmp-grid{grid-template-columns:minmax(0,1fr)}.dncwmp .dncwmp-head{padding:26px 22px 38px;border-radius:19px}.dncwmp .dncwmp-daily-heading{align-items:flex-start}.dncwmp table{display:block;overflow-x:auto;white-space:nowrap}}
