:root{--dmd-accent:#1f3a5f;--dmd-accent-dark:#162b47;--dmd-ink:#1c2430;--dmd-mute:#566474;--dmd-line:#d3dbe5;--dmd-tint:#eef2f7;--dmd-danger:#b3261e}
  .dmd-overlay [hidden],.dmd-overlay[hidden]{display:none!important}
  .dmd-btn{background:var(--dmd-accent);color:#fff;border:1.5px solid var(--dmd-accent);border-radius:8px;padding:12px 22px;font:inherit;font-weight:600;line-height:1.2;cursor:pointer}
  .dmd-btn:hover{background:var(--dmd-accent-dark)}
  .dmd-btn:disabled{opacity:.6;cursor:wait}
  .dmd-ghost{background:#fff;color:var(--dmd-accent)}
  .dmd-ghost:hover{background:var(--dmd-tint)}
  .dmd-danger{background:var(--dmd-danger);border-color:var(--dmd-danger)}
  .dmd-danger:hover{background:#8e1d17}
  .dmd-overlay{position:fixed;inset:0;z-index:99999;background:rgba(15,25,40,.62);display:flex;align-items:center;justify-content:center;padding:12px}
  .dmd-overlay *{box-sizing:border-box}
  .dmd-modal{position:relative;display:flex;flex-direction:column;width:100%;max-width:740px;max-height:calc(100dvh - 24px);background:#fff;color:var(--dmd-ink);border-radius:12px;box-shadow:0 24px 70px rgba(0,0,0,.35);font-family:inherit;font-size:15px;line-height:1.5;overflow:hidden}
  .dmd-head{display:flex;justify-content:space-between;gap:12px;padding:22px 24px 10px}
  .dmd-head h2{margin:0 0 6px;font-size:1.65em;line-height:1.2;font-family:inherit}
  .dmd-head p{margin:0 0 4px;color:var(--dmd-mute);font-size:.93em}
  .dmd-red,.dmd-f i{color:var(--dmd-danger);font-style:normal}
  .dmd-close{align-self:flex-start;flex-shrink:0;width:40px;height:40px;border:0;border-radius:50%;background:var(--dmd-tint);font-size:28px;line-height:1;color:var(--dmd-ink);cursor:pointer}
  .dmd-close:hover{background:var(--dmd-line)}
  .dmd-steps{display:flex;gap:8px;list-style:none;margin:0;padding:6px 24px 12px;counter-reset:s}
  .dmd-steps li{flex:1;border-top:4px solid var(--dmd-line);padding-top:6px;font-size:.85em;font-weight:600;color:var(--dmd-mute)}
  .dmd-steps li::before{counter-increment:s;content:counter(s) ". "}
  .dmd-steps li.cur,.dmd-steps li.done{border-top-color:var(--dmd-accent);color:var(--dmd-accent)}
  .dmd-count{display:none;margin:0;padding:0 24px 6px;font-size:.85em;color:var(--dmd-mute)}
  .dmd-body{flex:1;overflow-y:auto;padding:4px 24px 0;border-top:1px solid var(--dmd-line)}
  .dmd-step h3{margin:16px 0 12px;font-size:1.2em;font-family:inherit;outline:0}
  .dmd-grid{display:grid;grid-template-columns:1fr;gap:0 16px}
  .dmd-f{margin:0 0 16px;padding:0;border:0;min-width:0}
  .dmd-f>label,.dmd-f>legend,.dmd-lbl{display:block;margin-bottom:5px;font-weight:600;font-size:.93em;padding:0}
  .dmd-f em,.dmd-files legend em{font-weight:400;font-style:normal;color:var(--dmd-mute)}
  .dmd-overlay input:not([type=checkbox]):not([type=file]),.dmd-overlay select,.dmd-overlay textarea{display:block;width:100%;padding:11px 12px;border:1px solid #aeb9c6;border-radius:8px;background:#fff;color:var(--dmd-ink);font:inherit;min-height:44px}
  .dmd-overlay textarea{resize:vertical}
  .dmd-overlay [aria-invalid=true]{border-color:var(--dmd-danger)!important;box-shadow:0 0 0 1px var(--dmd-danger)}
  .dmd-overlay :focus-visible{outline:3px solid #6f9bd1;outline-offset:2px}
  .dmd-combo{position:relative}
  .dmd-combo input{padding-right:34px!important;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23566474' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center}
  .dmd-combo input:disabled{background-color:var(--dmd-tint)}
  .dmd-list{position:absolute;z-index:6;left:0;right:0;top:100%;max-height:240px;overflow:auto;margin:4px 0 0;padding:4px;list-style:none;background:#fff;border:1px solid var(--dmd-line);border-radius:8px;box-shadow:0 10px 28px rgba(0,0,0,.18)}
  .dmd-list li{padding:9px 10px;border-radius:6px;cursor:pointer}
  .dmd-list li.on{background:var(--dmd-tint);outline:2px solid var(--dmd-accent);outline-offset:-2px}
  .dmd-list li.dmd-none{color:var(--dmd-mute);cursor:default}
  .dmd-phone{display:grid;grid-template-columns:minmax(120px,34%) 1fr;gap:8px}
  .dmd-phone .dmd-list{min-width:290px}
  .dmd-help,.dmd-note{margin:5px 0 0;font-size:.85em;color:var(--dmd-mute)}
  .dmd-note{margin:10px 0}
  .dmd-err{margin:5px 0 0;font-size:.85em;font-weight:600;color:var(--dmd-danger);min-height:0}
  .dmd-err:empty{display:none}
  .dmd-std{display:grid;gap:12px;margin-top:6px}
  .dmd-std fieldset{border:1px solid var(--dmd-line);border-radius:10px;padding:8px 12px 12px;margin:0;min-width:0}
  .dmd-std legend{font-weight:700;font-size:.88em;padding:0 6px}
  .dmd-sublabel{display:block;margin-top:14px;font-weight:600}
  .dmd-chips{display:flex;flex-wrap:wrap;gap:8px}
  .dmd-chips label,.dmd-std .dmd-chips label{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;min-height:40px;border:1px solid #aeb9c6;border-radius:999px;cursor:pointer;font-weight:500;font-size:.93em}
  .dmd-chips label:has(input:checked),.dmd-std .dmd-chips label:has(input:checked){background:var(--dmd-tint);border-color:var(--dmd-accent);color:var(--dmd-accent);font-weight:600}
  .dmd-sup{margin:12px 0 0 4px;padding-left:12px;border-left:3px solid var(--dmd-accent)}
  .dmd-chk{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:.93em;font-weight:500;cursor:pointer}
  .dmd-chk input{width:18px;height:18px}
  .dmd-inline{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center}
  .dmd-inline input[type=date]{width:auto;min-width:190px}
  .dmd-inline .dmd-chk{margin:0}
  .dmd-files{margin:4px 0 16px;padding:14px;border:1px solid var(--dmd-line);border-radius:10px}
  .dmd-files legend{font-weight:700;padding:0 6px}
  .dmd-drop{padding:16px;border:2px dashed #aeb9c6;border-radius:10px;text-align:center}
  .dmd-drop.over{border-color:var(--dmd-accent);background:var(--dmd-tint)}
  .dmd-drop .dmd-lbl{margin-bottom:8px}
  .dmd-drop .dmd-help{display:block}
  .dmd-list-files{list-style:none;margin:8px 0 0;padding:0}
  .dmd-list-files li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--dmd-line);border-radius:6px;margin-bottom:6px;font-size:.9em;word-break:break-all}
  .dmd-list-files button,.dmd-link{background:none;border:0;padding:4px;font:inherit;font-weight:600;font-size:.9em;color:var(--dmd-danger);cursor:pointer;flex-shrink:0}
  .dmd-link{color:var(--dmd-accent);text-decoration:underline}
  .dmd-formats{margin-top:10px;font-size:.88em;color:var(--dmd-mute)}
  .dmd-formats summary{cursor:pointer;font-weight:600;color:var(--dmd-accent)}
  .dmd-formats ul{margin:8px 0;padding-left:18px}
  .dmd-note a{color:var(--dmd-accent);font-weight:600}
  .dmd-actions{position:sticky;bottom:0;display:flex;flex-direction:column;gap:6px;margin:0 -24px;padding:12px 24px 16px;background:#fff;border-top:1px solid var(--dmd-line)}
  .dmd-btns{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
  .dmd-status{margin:0;font-size:.9em;font-weight:600;color:var(--dmd-accent)}
  .dmd-status:empty{display:none}
  .dmd-status.bad{color:var(--dmd-danger)}
  .dmd-done{padding:40px 28px;text-align:center}
  .dmd-done h3{margin:0 0 10px;font-size:1.4em;font-family:inherit}
  .dmd-done p{margin:0 0 20px;color:var(--dmd-mute)}
  .dmd-warn{position:absolute;inset:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(15,25,40,.55)}
  .dmd-warn>div{background:#fff;border-radius:10px;padding:22px;max-width:380px;width:100%}
  .dmd-warn h3{margin:0 0 6px;font-size:1.15em;font-family:inherit}
  .dmd-warn p{margin:0 0 16px;color:var(--dmd-mute)}
  @media(min-width:640px){.dmd-grid{grid-template-columns:1fr 1fr}.dmd-wide{grid-column:1/-1}}
  @media(max-width:639px){
    .dmd-overlay{padding:0}
    .dmd-modal{max-height:100dvh;height:100dvh;border-radius:0}
    .dmd-head,.dmd-steps,.dmd-count{padding-left:16px;padding-right:16px}
    .dmd-body{padding:4px 16px 0}
    .dmd-actions{margin:0 -16px;padding:12px 16px 16px}
    .dmd-steps li span{display:none}
    .dmd-steps li.cur span{display:inline}
    .dmd-steps li:not(.cur)::before{content:counter(s)}
    .dmd-count{display:none}
    .dmd-btns .dmd-btn{flex:1}
    .dmd-phone{grid-template-columns:1fr}
  }

/* Match the established Draft My Designs Navy & Gold identity. */
.dmd-overlay{--dmd-accent:#d8b780;--dmd-accent-dark:#e7c895;--dmd-ink:#eef2f5;--dmd-mute:#b5c5d0;--dmd-line:#355064;--dmd-tint:#173247;--dmd-danger:#ffb4a5;backdrop-filter:blur(5px)}
.dmd-modal{background:#0d2030;border:1px solid #d8b78070;border-radius:0;font-family:Arial,Helvetica,sans-serif}
.dmd-overlay .dmd-head{position:static;background:#0d2030;box-shadow:none;border:0;backdrop-filter:none;width:auto}
.dmd-overlay .dmd-head h2,.dmd-overlay .dmd-step h3,.dmd-overlay .dmd-done h3{font-family:Georgia,serif;font-weight:normal;color:#f6f0e5}
.dmd-overlay .dmd-step{padding:0;background:transparent;margin:0}
.dmd-overlay .dmd-btn{background:#d8b780;color:#102332;border-radius:0;border-color:#d8b780}
.dmd-overlay .dmd-ghost{background:transparent;color:#e7c895}
.dmd-overlay .dmd-btn:hover{background:#e7c895;color:#102332}
.dmd-overlay .dmd-danger{background:#713a35;color:white;border-color:#ffb4a5}
.dmd-overlay input:not([type=checkbox]):not([type=file]),.dmd-overlay select,.dmd-overlay textarea{background:#081a29;color:#eef2f5;border-color:#496174;border-radius:0;font-size:16px;color-scheme:dark}
.dmd-overlay .dmd-actions,.dmd-overlay .dmd-warn>div,.dmd-overlay .dmd-results{background:#0d2030}
.dmd-overlay .dmd-warn>div{border:1px solid #d8b780;border-radius:0}
.dmd-overlay .dmd-step p,.dmd-overlay .dmd-files p{color:#b5c5d0}
.dmd-overlay label,.dmd-overlay legend{color:#e7edf1}
.dmd-overlay .dmd-files{border-color:#355064}
.dmd-overlay .dmd-drop{background:#102b3d;border-color:#d8b78080}
.dmd-overlay :focus-visible{outline-color:#e7c895}
.dmd-overlay .dmd-close{border-radius:0;min-width:44px;min-height:44px}
.dmd-overlay .dmd-body{scrollbar-color:#d8b780 #0d2030}
.dmd-overlay .dmd-option{color:#eef2f5}
.dmd-open.dmd-btn{margin-top:20px;background:#d8b780;color:#102332;border-color:#d8b780;border-radius:0}

.dmd-overlay .dmd-list{background:#0d2030;color:#eef2f5}.dmd-overlay .dmd-list li{color:#eef2f5}
.dmd-overlay input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;flex:0 0 17px!important;padding:0!important;margin:2px 0!important;accent-color:#d8b780}
.dmd-overlay .dmd-chips label{align-items:center;gap:9px}

.dmd-overlay .dmd-list{background:#0d2030;color:#eef2f5}.dmd-overlay .dmd-list li{color:#eef2f5}

.dmd-overlay .dmd-list{background:#0d2030;color:#eef2f5}.dmd-overlay .dmd-list li{color:#eef2f5}

.dmd-overlay .dmd-std fieldset{padding:14px;border-radius:0;background:#102637}.dmd-overlay .dmd-std legend{color:#e7c895}.contact-form-steps{margin:24px 0;padding-left:22px;color:#d8b780;line-height:2}.contact #enquiry h3{color:#f6f0e5;font-family:Georgia,serif;font-size:30px;font-weight:normal}
