/* Mina sidor (/mina). Ligger efter approve-omega.css och följer samma utseende: raka kanter, ink #0b1116, guld #a98237. */
.mn-sr { position: absolute; left: -9999px; }
.mn-form { max-width: 520px; }
.mn-in { display: block; width: 100%; height: 3.6rem; border: 1px solid #0b1116; border-radius: 0; background: #fff; padding: 0 1.2rem; font: 300 1rem Lato, Helvetica, Arial, sans-serif; color: #0b1116; margin: 1.6rem 0 .8rem; box-shadow: none; }
.mn-in:focus { outline: 2px solid #a98237; outline-offset: 2px; }
.mn-code { text-align: center; letter-spacing: .5em; font-size: 1.5rem; font-weight: 400; padding-left: calc(1.2rem + .5em); }
.mn-btn { display: block; width: 100%; height: 3.6rem; background: #0b1116 !important; color: #fff !important; border: 1px solid #0b1116 !important; border-radius: 0 !important; box-shadow: none !important; font: 400 .74rem Lato, Helvetica, Arial, sans-serif; letter-spacing: .26em; text-transform: uppercase; cursor: pointer; margin-top: .6rem; }
.mn-btn:hover:not(:disabled), .mn-btn:focus-visible { background: transparent !important; color: #0b1116 !important; }
.mn-btn:disabled { opacity: .6; cursor: default; }
.mn-err { color: #9c2b2b; font-size: .95rem; margin: .2rem 0 .6rem; text-align: left; }
.mn-note { font-size: .92rem; color: #4a545c; margin: 1.4rem 0 0; }
.mn-note a { color: #0b1116; text-decoration: underline; text-underline-offset: 3px; }

.mn-listwrap { background: #f5f6f7; text-align: left; }
.mn-wrap { max-width: 820px; margin: 0 auto; }
.mn-who { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; font-size: .92rem; color: #4a545c; margin: 0 0 1.6rem; }
.mn-who a { color: #0b1116; text-decoration: underline; text-underline-offset: 3px; }
.mn-empty { color: #4a545c; line-height: 1.8; }
.mn-case { background: #fff; border: 1px solid #d9dee2; padding: 1.8rem 1.8rem 1.4rem; margin: 0 0 1.2rem; }
.mn-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.mn-name { font-size: 1.1rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; margin: 0; color: #0b1116; line-height: 1.35; }
.mn-meta { font-size: .9rem; color: #4a545c; margin: .25rem 0 0; }
.mn-chip { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; border: 1px solid #a98237; color: #a98237; padding: .4rem .7rem; white-space: nowrap; }
.mn-chip.done { border-color: #2f6b4f; color: #2f6b4f; }
.mn-est { font-size: .95rem; color: #4a545c; margin: 1.1rem 0 0; }
.mn-est strong { font-weight: 700; color: #0b1116; }

/* stigen: samma sex steg som statussidan */
.mn-steps { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); counter-reset: mn; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.mn-steps li { position: relative; text-align: center; padding: 0 .3rem; counter-increment: mn; color: #8a949b; margin: 0; }
.mn-steps li:before { content: counter(mn); display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; margin: 0 auto .7rem; border-radius: 50%; background: #fff; border: 1px solid #d9dee2; color: #4a545c; font-size: .8rem; position: relative; z-index: 2; }
.mn-steps li:after { content: ""; position: absolute; left: 50%; top: 1rem; width: 100%; height: 1px; background: #d9dee2; z-index: 1; }
.mn-steps li:last-child:after { display: none; }
.mn-steps li.is-complete:before { background: #0b1116; border-color: #0b1116; color: #fff; }
.mn-steps li.is-complete:after { background: #0b1116; }
.mn-steps li.is-current:before { border-color: #a98237; box-shadow: 0 0 0 4px rgba(169, 130, 55, .18); color: #0b1116; }
.mn-steps li span { font-size: .6rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6; display: block; }
.mn-steps li.is-complete span { color: #0b1116; }
.mn-steps li.is-current span { font-weight: 700; color: #0b1116; }

.mn-dls { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 0; }
.mn-dl { display: inline-flex; align-items: center; height: 2.7rem; padding: 0 1.1rem; border: 1px solid #0b1116; color: #0b1116 !important; background: transparent; font: 400 .66rem Lato, Helvetica, Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid #0b1116 !important; }
.mn-dl:hover { background: #0b1116; color: #fff !important; }
.mn-dl.mn-plain { border-color: #d9dee2; border-bottom-color: #d9dee2 !important; color: #4a545c !important; }
.mn-dl.mn-plain:hover { background: #f5f6f7; color: #0b1116 !important; }

/* flikar: Kostnadsförslag / Ärenden */
.mn-tabs { display: flex; gap: 0; margin: 0 0 1.6rem; border-bottom: 1px solid #d9dee2; }
.mn-tabs[hidden] { display: none; }
.mn-tab { flex: 1 1 0; appearance: none; background: transparent !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; box-shadow: none !important; color: #4a545c !important; font: 400 .74rem Lato, Helvetica, Arial, sans-serif; letter-spacing: .22em; text-transform: uppercase; height: 3.4rem; padding: 0 1rem; cursor: pointer; margin-bottom: -1px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; }
.mn-tab[aria-selected="true"] { color: #0b1116 !important; border-bottom-color: #0b1116 !important; font-weight: 700; }
.mn-tab:focus-visible { outline: 2px solid #a98237; outline-offset: -2px; }
.mn-n { display: inline-flex; align-items: center; justify-content: center; min-width: 1.5rem; height: 1.5rem; padding: 0 .4rem; border-radius: 1rem; background: #e9ecef; color: #0b1116; font-size: .7rem; letter-spacing: 0; font-weight: 700; }
.mn-n.is-hot { background: #a98237; color: #fff; }
.mn-panel[hidden] { display: none; }

/* kostnadsförslag */
.mn-case.is-act { border-color: #a98237; box-shadow: inset 3px 0 0 #a98237; }
.mn-case.is-dim .mn-name { color: #6b757c; }
.mn-chip.soon { border-color: #9c2b2b; color: #9c2b2b; }
.mn-chip.off { border-color: #b7bec4; color: #6b757c; }
.mn-facts { display: flex; flex-wrap: wrap; gap: 2.2rem; margin: 1.3rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid #d9dee2; }
.mn-facts:empty { display: none; }
.mn-facts > div { min-width: 0; margin: 0; padding: 0; }
.mn-facts dt { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: #4a545c; font-weight: 400; margin: 0 0 .35rem; }
.mn-facts dd { margin: 0; font-size: 1rem; font-weight: 400; color: #0b1116; }
.mn-facts dd small { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; color: #a98237; margin-top: .2rem; }
.mn-facts dd small.mn-hot { color: #9c2b2b; }
.mn-dl.mn-solid { background: #0b1116; color: #fff !important; }
.mn-dl.mn-solid:hover { background: transparent; color: #0b1116 !important; }

@media (max-width: 736px) {
    .mn-case { padding: 1.4rem 1.2rem 1.2rem; }
    .mn-top { flex-direction: column; gap: .8rem; }
    .mn-steps { grid-template-columns: 1fr; margin-top: 1.4rem; }
    .mn-steps li { display: flex; align-items: flex-start; text-align: left; gap: .9rem; padding: 0 0 1rem; }
    .mn-steps li:before { flex: none; margin: 0; width: 1.7rem; height: 1.7rem; font-size: .72rem; }
    .mn-steps li:after { left: .85rem; top: 1.7rem; width: 1px; height: calc(100% - 1.7rem); }
    .mn-steps li span { padding-top: .35rem; font-size: .66rem; }
    .mn-dls { flex-direction: column; }
    .mn-tab { letter-spacing: .12em; padding: 0 .4rem; font-size: .68rem; }
    .mn-facts { gap: 1.4rem; }
    .mn-dl { justify-content: center; width: 100%; }
}

/* returfrakt med PostNord på ärendekortet */
.mn-ship { margin: 1.4rem 0 0; padding: 1.1rem 1.2rem; background: #f5f6f7; border-left: 3px solid #0b1116; }
.mn-ship-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.mn-ship-top strong { font-weight: 700; color: #0b1116; font-size: .95rem; }
.mn-ship-text { font-size: .95rem; color: #4a545c; margin: .6rem 0 0; }
.mn-ship-text strong { font-weight: 700; color: #0b1116; }
.mn-ship-id { font-size: .85rem; color: #6b757c; margin: .6rem 0 0; }
.mn-ship-id strong { font-weight: 700; color: #0b1116; letter-spacing: .04em; }
.mn-ship-ev { margin: .8rem 0 0; font-size: .9rem; color: #4a545c; }
.mn-ship-ev summary { cursor: pointer; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: #0b1116; }
.mn-ship-ev ul { list-style: none; margin: .7rem 0 0; padding: 0; }
.mn-ship-ev li { margin: 0 0 .5rem; padding: 0 0 .5rem; border-bottom: 1px solid #e3e7ea; }
.mn-ship-ev li span { display: block; font-size: .8rem; color: #6b757c; }
.mn-ship .mn-dl { margin: 1rem 0 0; }
