:root {
    --ink: #162b29;
    --green: #165c4b;
    --muted: #75827d;
    --line: #e4e9e5;
    --bg: #f7f9f6;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    font-size: 14px;
}
button,
input,
select {
    font: inherit;
}
button {
    cursor: pointer;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    border-radius: 8px;
    padding: 11px 17px;
    font-weight: 600;
}
button:hover {
    filter: brightness(0.96);
}
button:disabled {
    opacity: 0.5;
    cursor: wait;
}
a {
    color: inherit;
    text-decoration: none;
}
h1,
h2,
h3 {
    font-family: Arial, sans-serif;
}
h1 {
    font-size: 30px;
    letter-spacing: -1.1px;
    margin: 8px 0 10px;
    font-weight: 800;
}
h2 {
    font-size: 18px;
    letter-spacing: -0.5px;
    margin: 0 0 12px;
}
p {
    line-height: 1.7;
}
small {
    display: block;
}
.shell {
    display: flex;
    min-height: 100vh;
}
aside {
    width: 248px;
    background: #fff;
    border-right: 1px solid var(--line);
    padding: 34px 22px;
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
}
.brand {
    font-size: 49px;
    font-weight: 800;
    letter-spacing: -5px;
    line-height: 0.9;
    padding: 0 10px;
}
.brand span {
    color: var(--green);
}
.brand small {
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 15px;
    color: var(--muted);
    font-weight: 600;
}
.workspace {
    margin-top: 38px;
    padding: 16px 8px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 600;
}
.workspace small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 5px;
    font-weight: 400;
}
.avatar {
    background: #eef3eb;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid #dde6d9;
    border-radius: 9px;
    font-size: 12px;
}
.navcaption {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: #97a09a;
    margin: 28px 12px 15px;
}
nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
nav button {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    padding: 12px;
    border: 0;
    font-size: 12px;
    background: none;
    color: #66746e;
    white-space: nowrap;
}
nav button > span {
    font-size: 19px;
    width: 20px;
}
nav button.active {
    background: #eaf1e9;
    color: var(--green);
}
nav b {
    font-size: 10px;
    margin-left: auto;
    background: white;
    border-radius: 4px;
    padding: 2px 5px;
}
.asidefoot {
    margin-top: auto;
    font-size: 11px;
    color: var(--muted);
    padding: 20px 8px 0;
}
.asidefoot small {
    margin-top: 14px;
    font-size: 10px;
    color: #9ca69f;
}
.dot {
    display: inline-block;
    height: 6px;
    width: 6px;
    background: #44866a;
    border-radius: 50%;
    margin-right: 6px;
}
main {
    margin-left: 248px;
    width: calc(100% - 248px);
}
header {
    height: 79px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 42px;
    background: #fff;
    font-size: 12px;
    color: #64726b;
}
header i {
    padding: 0 12px;
    color: #bbc2bc;
}
.testbadge {
    border: 1px solid #e4e6cc;
    background: #f6f7e8;
    color: #797d45;
    border-radius: 5px;
    padding: 6px 9px;
    letter-spacing: 1px;
    font-size: 9px;
    font-weight: 700;
}
.content {
    padding: 37px 42px 0;
    max-width: 1550px;
    margin: auto;
}
.pagetitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 29px;
}
.pagetitle p {
    color: var(--muted);
    margin: 0;
    font-size: 12px;
}
.eyebrow {
    font-size: 9px !important;
    font-weight: 700;
    letter-spacing: 1.7px;
    color: var(--green) !important;
}
.primary {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 25px;
}
.stats article {
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    padding: 23px;
}
.stats article > span {
    font-size: 12px;
    color: #65746b;
}
.stats strong {
    font-family: Arial, sans-serif;
    display: block;
    font-size: 32px;
    letter-spacing: -1.5px;
    margin: 13px 0;
}
.stats small {
    font-size: 10px;
    color: #8b968e;
}
.hero {
    background: #e9efe4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px 45px;
    border: 1px solid #dce5d7;
    border-radius: 13px;
    min-height: 290px;
    gap: 30px;
}
.chip {
    font-size: 9px;
    letter-spacing: 1.3px;
    font-weight: 700;
    color: #4e7153;
}
.hero h2 {
    font-size: 33px;
    line-height: 1.25;
    letter-spacing: -1.1px;
    margin: 14px 0;
}
.hero p {
    max-width: 370px;
    font-size: 12px;
    color: #6b7b68;
    line-height: 1.8;
}
.hero button {
    font-size: 11px;
    margin-top: 8px;
    border-color: #d1dcc9;
    background: #f9fbf4;
}
.hero button span {
    margin-left: 25px;
}
.labeldemo {
    width: 260px;
    background: #fff;
    border: 1px solid #d9e0d5;
    border-radius: 10px;
    padding: 25px;
    transform: rotate(-5deg);
    box-shadow: 10px 14px 0 #d6dfcd88;
}
.labeltop {
    font-size: 23px;
    letter-spacing: -1px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.labeltop span {
    font-size: 7px;
    letter-spacing: 1.2px;
    color: #81917c;
}
.demobars {
    height: 75px;
    margin-top: 23px;
    background: repeating-linear-gradient(
        90deg,
        #182e28 0 2px,
        white 2px 5px,
        #182e28 5px 6px,
        white 6px 8px,
        #182e28 8px 12px,
        white 12px 15px
    );
}
.samplecode {
    font-size: 8px;
    text-align: center;
    letter-spacing: 1px;
    margin-top: 11px;
}
.labelbottom {
    border-top: 1px solid var(--line);
    margin-top: 20px;
    padding-top: 14px;
    font-size: 9px;
    color: #879180;
    display: flex;
    justify-content: space-between;
}
.labelbottom span {
    color: var(--green);
}
.sectionhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 28px 0 13px;
    gap: 12px;
}
.sectionhead h2 {
    margin: 0;
    font-size: 16px;
}
.sectionhead > span {
    font-size: 11px;
    color: var(--muted);
}
.textbtn {
    border: 0;
    padding: 5px;
    background: none;
    color: var(--green);
    font-size: 11px;
    white-space: nowrap;
}
.tablewrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: auto;
}
table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
}
th {
    background: #fafbf9;
    font-size: 9px;
    letter-spacing: 0.8px;
    padding: 16px;
    color: #91a092;
    font-weight: 600;
}
td {
    font-size: 11px;
    border-top: 1px solid var(--line);
    padding: 17px 16px;
}
td strong {
    font-size: 12px;
    font-weight: 600;
}
td small {
    font-size: 10px;
    color: #8e9a90;
    margin-top: 6px;
}
code {
    font-family: monospace;
    letter-spacing: 0.7px;
    font-size: 12px;
}
.status {
    color: #558064;
    background: #eef5ee;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 9px;
    white-space: nowrap;
}
.status .dot {
    width: 4px;
    height: 4px;
}
.note {
    font-size: 10px;
    color: #869180;
    line-height: 1.8;
    padding: 17px 0;
}
.empty {
    padding: 40px 25px;
    text-align: center;
    color: #8b988e;
    line-height: 1.8;
    font-size: 12px;
}
.empty button {
    display: block;
    margin: 15px auto;
}
footer {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    color: #a1aaa0;
    font-size: 9px;
    padding: 23px 0;
    margin-top: 34px;
}
.panel {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 11px;
    padding: 26px;
}
.panel .sectionhead {
    margin-top: 0;
}
.twocol {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
}
.muted {
    color: var(--muted);
    font-size: 12px;
}
.company {
    display: flex;
    gap: 13px;
    align-items: center;
    border-top: 1px solid var(--line);
    padding: 20px 0;
}
.companyicon {
    width: 39px;
    height: 39px;
    border-radius: 9px;
    background: #f0f4ed;
    display: grid;
    place-items: center;
    font-size: 11px;
    color: var(--green);
    flex-shrink: 0;
}
.company strong {
    font-size: 12px;
}
.company small {
    font-size: 10px;
    color: var(--muted);
    margin: 6px 0;
}
.company code {
    font-size: 10px;
    color: #5a7863;
}
.usage {
    font-size: 9px;
    color: var(--muted);
    margin-left: auto;
    min-width: 90px;
    text-align: right;
}
.usage b {
    color: var(--ink);
}
progress {
    display: block;
    margin-top: 9px;
    width: 90px;
    height: 4px;
    accent-color: var(--green);
}
form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}
label {
    font-size: 11px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
input,
select {
    border: 1px solid #dfe6dd;
    background: #fff;
    border-radius: 7px;
    padding: 12px;
    color: var(--ink);
    min-width: 0;
    width: 100%;
    font-size: 12px;
}
input:focus,
select:focus {
    outline: 2px solid #b6d4bb;
    outline-offset: 1px;
}
input::placeholder {
    color: #a0aaa0;
}
.hint {
    font-size: 10px;
    color: #8b998c;
    line-height: 1.8;
    margin: 0;
}
.toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}
.toolbar input {
    flex: 1;
}
.toolbar select {
    width: 190px;
}
.toolbar button {
    white-space: nowrap;
    font-size: 11px;
}
.explain h2 {
    margin-top: 22px;
    font-size: 23px;
}
.explain p {
    font-size: 12px;
    color: var(--muted);
}
hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 28px 0;
}
.codeparts {
    display: flex;
    margin: 26px 0;
    gap: 9px;
}
.codeparts > div {
    font-family: monospace;
    background: #edf2e8;
    padding: 13px 9px;
    border-radius: 7px;
    font-size: 18px;
    letter-spacing: 1px;
}
.codeparts small {
    font-family: Arial, sans-serif;
    font-size: 8px;
    color: #829077;
    letter-spacing: 0;
    margin-top: 10px;
}
.verify {
    max-width: 650px;
    margin: 30px auto;
    padding: 38px;
}
.verifyicon {
    display: block;
    color: var(--green);
    font-size: 36px;
    margin-bottom: 18px;
}
.verify input {
    font-family: monospace;
    font-size: 22px;
    letter-spacing: 3px;
}
.lookup {
    margin-top: 24px;
    background: #f9f4e9;
    border-radius: 8px;
    padding: 20px;
}
.lookup.found {
    background: #edf5eb;
}
.lookup p {
    font-size: 12px;
    color: #76856f;
}
.lookup button {
    font-size: 11px;
}
.alert {
    padding: 14px 18px;
    border-radius: 7px;
    margin-bottom: 20px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
}
.alert button {
    padding: 0 4px;
    border: 0;
    background: none;
}
.error {
    background: #fff0eb;
    color: #944c36;
}
.success {
    background: #e7f3e7;
    color: #3c7046;
}
.overlay {
    position: fixed;
    inset: 0;
    background: #152a2566;
    backdrop-filter: blur(3px);
    display: grid;
    place-items: center;
    padding: 20px;
    z-index: 10;
}
.modal {
    position: relative;
    background: white;
    padding: 34px;
    border-radius: 14px;
    max-width: 740px;
    width: 100%;
    max-height: 95vh;
    overflow: auto;
}
.close {
    position: absolute;
    right: 15px;
    top: 12px;
    border: 0;
    font-size: 24px;
}
.labelpreview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
}
.labelpreview > div:first-child {
    width: 280px;
}
.labelpreview > div:last-child {
    width: 180px;
}
.labelpreview svg {
    width: 100%;
    height: auto;
}
.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.actions button {
    font-size: 11px;
}
.modal .hint {
    margin-top: 16px;
}
@media (min-width: 1450px) {
    .content {
        padding-top: 45px;
    }
    .hero {
        min-height: 320px;
    }
    .stats article {
        padding: 27px;
    }
}
@media (max-width: 1100px) {
    aside {
        width: 210px;
        padding: 30px 14px;
    }
    main {
        margin-left: 210px;
        width: calc(100% - 210px);
    }
    .content {
        padding: 28px 24px 0;
    }
    header {
        padding: 0 24px;
    }
    .hero {
        padding: 30px;
    }
    .labeldemo {
        width: 210px;
    }
    .twocol {
        grid-template-columns: 1fr;
    }
    .stats {
        gap: 10px;
    }
    .stats article {
        padding: 17px;
    }
    .pagetitle {
        align-items: flex-start;
    }
    .pagetitle > .primary {
        font-size: 11px;
    }
    .hero h2 {
        font-size: 28px;
    }
}
@media (max-width: 720px) {
    aside {
        position: static;
        width: 100%;
        height: auto;
        padding: 20px;
    }
    .shell {
        display: block;
    }
    .brand {
        font-size: 35px;
    }
    .brand small {
        display: inline;
        margin-left: 20px;
        font-size: 8px;
    }
    .workspace,
    .navcaption,
    .asidefoot {
        display: none;
    }
    nav {
        flex-direction: row;
        overflow-x: auto;
        margin-top: 23px;
    }
    nav button {
        font-size: 10px;
        padding: 10px;
        gap: 6px;
    }
    nav button > span {
        display: none;
    }
    main {
        margin: 0;
        width: 100%;
    }
    header {
        height: 50px;
        padding: 0 20px;
        font-size: 10px;
    }
    .testbadge {
        font-size: 7px;
    }
    .content {
        padding: 26px 18px 0;
    }
    .pagetitle {
        display: block;
    }
    .pagetitle > .primary {
        margin-top: 18px;
    }
    h1 {
        font-size: 27px;
    }
    .stats {
        grid-template-columns: 1fr;
    }
    .stats article {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }
    .stats strong {
        font-size: 26px;
        grid-column: 2;
        grid-row: 1/3;
        margin: 0;
    }
    .stats small {
        margin-top: 7px;
    }
    .hero {
        padding: 28px;
        display: block;
    }
    .labeldemo {
        display: none;
    }
    .toolbar {
        flex-wrap: wrap;
    }
    .toolbar input {
        flex-basis: 100%;
    }
    .toolbar select {
        flex: 1;
    }
    .panel {
        padding: 21px;
    }
    .codeparts {
        gap: 6px;
    }
    .codeparts > div {
        font-size: 16px;
    }
    .labelpreview {
        gap: 8px;
        padding: 10px;
    }
    .modal {
        padding: 26px 19px;
    }
    footer span:last-child {
        display: none;
    }
    .verify {
        margin: 0;
    }
}
@media print {
    body {
        background: white;
    }
    .shell > aside,
    .shell > main {
        display: none;
    }
    .overlay {
        position: static;
        background: none;
        padding: 0;
        display: block;
    }
    .modal {
        max-width: 100%;
        padding: 0;
        border: 0;
        overflow: visible;
    }
    .modal .close,
    .modal .actions,
    .modal .hint,
    .modal .eyebrow {
        display: none;
    }
    .labelpreview {
        max-width: 130mm;
        break-inside: avoid;
    }
}
.authbody {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px;
}
.authcard {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    margin: 0;
}
.authcard .brand {
    display: inline-block;
    margin-bottom: 25px;
}
.authcard .eyebrow {
    margin-top: 20px;
}
.authcard p {
    color: var(--muted);
    font-size: 12px;
}
.authcard input[type='hidden'] {
    display: none;
}
.authlinks {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 23px;
}
.authlinks button {
    border: 0;
    font-size: 11px;
    padding: 5px;
    background: none;
}
.button {
    display: inline-block;
    padding: 12px 17px;
    border: 1px solid var(--line);
    border-radius: 7px;
    font-weight: 600;
    font-size: 12px;
}
.button.primary {
    border-color: var(--green);
}
.userfoot {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.userfoot span {
    overflow-wrap: anywhere;
}
.userfoot button {
    font-size: 11px;
    padding: 7px;
}
.fieldnote {
    font-size: 10px;
    color: var(--muted);
    font-weight: 400;
}
.formgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.full {
    grid-column: 1/-1;
}
textarea {
    font: inherit;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 12px;
    min-height: 110px;
    resize: vertical;
    font-size: 12px;
    color: var(--ink);
}
label.check {
    flex-direction: row;
    align-items: flex-start;
    line-height: 1.6;
    font-weight: 400;
    font-size: 12px;
}
input[type='checkbox'] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--green);
    margin: 0;
}
.panel form {
    max-width: 800px;
}
.productthumb {
    width: 40px;
    height: 48px;
    object-fit: contain;
    background: #f5f7f2;
    border-radius: 5px;
}
.productcell {
    display: flex;
    align-items: center;
    gap: 13px;
}
.productcell small {
    display: block;
}
.mutedbadge {
    font-size: 9px;
    background: #f1f1ec;
    padding: 5px 7px;
    border-radius: 4px;
    color: #8a8f81;
}
.modal {
    max-width: 850px;
}
.modal form {
    max-height: 65vh;
    overflow: auto;
    padding: 3px;
}
.labelpreview img {
    width: 180px;
    height: auto;
}
.labelpreview > div:first-child {
    width: 280px;
}
.labelpreview svg {
    display: block;
}
.labelpreview code {
    font-size: 17px;
}
.publiccard {
    max-width: 680px;
}
.publicimage {
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    margin: 30px 0;
    background: #f7f9f5;
}
.bigcode {
    display: block;
    padding: 18px 0;
    font-size: 23px;
    letter-spacing: 3px;
}
.description {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.formhint {
    background: #f6f8f2;
    border-radius: 8px;
    padding: 13px;
    font-size: 11px;
    color: #78896f;
    line-height: 1.8;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 15px;
    font-size: 12px;
}
.toolbar .count {
    font-size: 11px;
    color: var(--muted);
    margin-right: auto;
}
.pending {
    max-width: 700px;
    margin: 50px auto;
}
.pending h2 {
    font-size: 24px;
}
.tablewrap td .actions {
    flex-wrap: nowrap;
}
.accountactions {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.accountactions button {
    font-size: 10px;
    padding: 6px 8px;
}
.capacity {
    font-family: monospace;
    font-size: 20px;
    color: var(--green);
}
.sectionhead .button {
    padding: 8px 12px;
}
.alert {
    overflow-wrap: anywhere;
}
.alert:empty {
    display: none;
}
.noticebox {
    position: sticky;
    top: 0;
    z-index: 2;
}
.externalhint {
    font-size: 10px;
    color: #81917b;
    line-height: 1.8;
}
.qrbox svg {
    max-width: 170px;
}
.previewimage {
    max-width: 220px;
    max-height: 180px;
    object-fit: contain;
}
.archived {
    opacity: 0.65;
}
.helpbox {
    margin-top: 20px;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.8;
}
.helpbox a {
    text-decoration: underline;
}
.authcard h1 {
    font-size: 25px;
}
.authcard form {
    margin-top: 20px;
}
.noimg {
    display: grid;
    place-items: center;
    font-size: 17px;
    color: #abb5a4;
}
.labeltitle {
    margin: 0 0 5px;
}
.modal .labeltitle + p {
    margin-top: 0;
}
.printonly {
    display: none;
}
@media (max-width: 720px) {
    .authbody {
        padding: 16px;
    }
    .authcard {
        padding: 27px 22px;
    }
    .formgrid {
        grid-template-columns: 1fr;
    }
    .full {
        grid-column: auto;
    }
    .company {
        flex-wrap: wrap;
    }
    .accountactions {
        margin-left: 52px;
    }
    .labelpreview > div:first-child {
        width: 65%;
    }
    .qrbox {
        width: 35%;
    }
    .pagetitle .actions {
        margin-top: 18px;
    }
}
@media print {
    .modal {
        max-height: none;
        overflow: visible;
    }
    .modal form,
    .modal > button,
    .modal .nonprint {
        display: none !important;
    }
    .printonly {
        display: block;
    }
    .labelpreview {
        border: 0;
        margin: 0;
        max-width: 120mm;
    }
    .labelpreview > div:first-child {
        width: 70mm;
    }
    .labelpreview .qrbox {
        width: 40mm;
    }
    .modal .labeltitle {
        font-size: 14px;
    }
    .modal .muted {
        font-size: 10px;
    }
    .modal .alert {
        display: none;
    }
}
.installer {
    max-width: 760px;
}
.installchecks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}
.installchecks span {
    font-size: 11px;
    padding: 8px 10px;
    border-radius: 5px;
}
.checkok {
    background: #edf5eb;
    color: #426849;
}
.checkfail {
    background: #fff0eb;
    color: #944c36;
}
.installer form > h2 {
    margin: 16px 0 0;
}
.installer .formhint {
    margin: 0;
}
.onboarding {
    margin-bottom: 24px;
}
.onboarding .actions {
    margin: 18px 0;
}
.mailhistory {
    margin-top: 24px;
}
.company .accountactions {
    max-width: 330px;
    margin-left: auto;
}
.accountactions button {
    white-space: nowrap;
}
.accountactions .primary {
    color: white;
}
.modal #invite-link {
    margin: 14px 0;
    font-size: 12px;
}
.mailhistory td {
    max-width: 360px;
    overflow-wrap: anywhere;
}
.mailhistory td small {
    line-height: 1.5;
}

/* XID 0.0.5: the navigation scrolls while account actions remain available. */
@media (min-width: 721px) {
    .shell > aside {
        top: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        padding: 20px 18px 12px;
        overflow: hidden;
    }
    .shell > aside > .brand,
    .shell > aside > .workspace,
    .shell > aside > .navcaption,
    .shell > aside > .asidefoot {
        flex-shrink: 0;
    }
    .shell > aside > .workspace {
        margin-top: 22px;
        padding: 12px 6px;
    }
    .shell > aside > .navcaption {
        margin: 18px 10px 10px;
    }
    .shell > aside > nav {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }
    .shell > aside > .asidefoot {
        margin-top: 8px;
        padding: 10px 6px 0;
        border-top: 1px solid var(--line);
        gap: 7px;
    }
    .shell > aside > .asidefoot small {
        margin-top: 0;
    }
    .shell > aside > nav button {
        white-space: normal;
        flex-shrink: 0;
    }
    .shell > aside .brand {
        font-size: 43px;
    }
}
@media (min-width: 721px) and (max-height: 650px) {
    .shell > aside {
        padding-top: 12px;
    }
    .shell > aside > .brand {
        font-size: 30px;
    }
    .shell > aside > .brand small {
        margin-top: 8px;
        font-size: 8px;
    }
    .shell > aside > .workspace {
        margin-top: 12px;
        padding: 8px 4px;
    }
    .shell > aside > .navcaption {
        margin: 10px 8px;
    }
    .shell > aside > .asidefoot > span:nth-child(2),
    .shell > aside > .asidefoot > small {
        display: none;
    }
}
header .headeractions {
    display: flex;
    align-items: center;
    gap: 12px;
}
header button {
    font-size: 11px;
    padding: 7px 10px;
}
.transferbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 0;
}
.importpreview {
    margin-top: 20px;
}
.importpreview td {
    white-space: pre-wrap;
    max-width: 300px;
    overflow-wrap: anywhere;
}
.errorlist {
    max-height: 350px;
    overflow: auto;
    padding: 12px 28px;
    background: #fff0eb;
    color: #944c36;
}
.detailgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.detailgrid dt {
    color: var(--muted);
}
.detailgrid dd {
    margin: 4px 0 14px;
}
.locationlist {
    margin-top: 24px;
}
.locationlist article {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.labelpreview > div:first-child {
    min-width: 38mm;
}
.labelpreview > div:first-child svg {
    width: 100%;
    height: auto;
}
@media print {
    .labelpreview > div:first-child {
        width: 37.29mm;
        min-width: 37.29mm;
        flex: none;
    }
    .labelpreview > div:first-child svg {
        width: 37.29mm;
        height: 32.20mm;
    }
    .labelpreview {
        gap: 8mm;
    }
    .labelpreview .qrbox {
        width: 30mm;
    }
}

@media (max-width: 720px) {
    header {
        height: auto;
        min-height: 58px;
        gap: 12px;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    header .headeractions {
        margin-left: auto;
    }
    .toolbar {
        display: flex !important;
        flex-direction: row !important;
    }
    .toolbar input {
        flex: 1 1 100%;
    }
}
@media (max-width: 480px) {
    header .testbadge {
        display: none;
    }
}

.dangerbtn {
    color: #9b392d;
    border-color: #e8b8b0;
    background: #fff6f3;
}
.packageitem {
    padding: 18px 0;
    border-top: 1px solid var(--line);
}
.packageitem form {
    margin: 12px 0 24px;
}
.company .accountactions {
    max-width: 420px;
}

.cms-controls {
    margin-bottom: 24px;
}
.cms-save {
    margin-top: 18px;
}
.cms-status {
    font-size: 12px;
    color: var(--green);
}
.cms-workspace .panel {
    margin-bottom: 24px;
}
.cms-row {
    padding: 22px 0;
    border-top: 1px solid var(--line);
}
.cms-row .actions {
    margin-top: 12px;
}
.cms-page-select {
    align-items: end;
    margin-bottom: 24px;
}
.cms-page-select > label {
    min-width: 220px;
    flex: 1;
}
.cms-workspace .formgrid {
    margin: 20px 0;
}
.cms-section {
    border: 1px solid var(--line);
    border-radius: 10px;
    margin: 14px 0;
    background: #fafcf8;
}
.cms-section > summary {
    padding: 17px;
    font-weight: 600;
    cursor: pointer;
}
.cms-section > summary > span {
    font-size: 10px;
    color: var(--muted);
    margin-left: 14px;
}
.cms-section-body {
    padding: 0 20px 20px;
}
.cms-items .cms-row {
    padding: 18px 0;
}
.cms-add {
    margin-top: 24px;
    align-items: end;
}
.cms-controls .actions {
    flex-wrap: wrap;
}
.cms-workspace textarea {
    min-height: 100px;
}
.cms-workspace input[type='color'] {
    height: 48px;
    padding: 5px;
}
.cms-controls .actions button {
    white-space: normal;
}
.historygroup button {
    display: block;
    width: 100%;
    text-align: left;
    white-space: normal;
    line-height: 1.7;
}
.formgrid label {
    min-width: 0;
}
.authcard:has(form[data-form='register']) {
    max-width: 820px;
}
.company {
    align-items: flex-start;
}
.accountactions {
    flex-wrap: wrap;
}
.formgrid input,
.formgrid select {
    max-width: 100%;
}
.rich-editor {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.rich-toolbar {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    background: #f3f7f2;
    padding: 10px;
    border-bottom: 1px solid var(--line);
}
.rich-toolbar button {
    font-size: 11px;
    padding: 7px 9px;
}
.rich-toolbar label {
    font-size: 10px;
    gap: 3px;
    margin: 0;
    min-width: 80px;
}
.rich-toolbar select {
    padding: 6px;
    font-size: 11px;
    width: auto;
}
.rich-toolbar input[type='color'] {
    width: 48px;
    height: 30px;
    padding: 2px;
}
.rich-editable {
    min-height: 280px;
    max-height: 65vh;
    overflow: auto;
    padding: 20px;
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    outline-offset: -3px;
}
.rich-editable a {
    color: #165c4b;
    text-decoration: underline;
}
.rich-editable p,
.rich-editable div {
    max-width: none;
}
.rich-editor > .hint {
    padding: 0 12px 10px;
}
.rich-source {
    min-height: 360px;
    font-family: monospace;
    width: 100%;
    border: 0;
}
.rich-editor > label {
    padding: 12px;
}
.rich-editable ul,
.rich-editable ol {
    white-space: normal;
    padding-left: 1.8em;
}
.rich-editable table {
    max-width: 100%;
    border-collapse: collapse;
}
.rich-editable td,
.rich-editable th {
    border: 1px solid #999;
    padding: 6px;
}
@media (max-width: 720px) {
    .rich-toolbar {
        gap: 4px;
    }
    .rich-toolbar button {
        padding: 7px;
    }
    .rich-editable {
        padding: 12px;
    }
}

.rich-editable {
    white-space: normal;
}
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}
.pricing-cards .packageitem {
    margin: 0;
    min-width: 0;
    padding: 18px;
}
.pricing-cards small {
    display: block;
    margin-top: 8px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.pricing-cards strong {
    display: block;
    font-size: 20px;
    overflow-wrap: anywhere;
}
.pricing-cards button {
    margin-top: 14px;
    white-space: normal;
}
.pricing-cards h3 {
    margin-top: 0;
}
@media (max-width: 900px) {
    .pricing-cards {
        grid-template-columns: 1fr;
    }
}
/* Public company visibility preferences. */
.privacy-settings {
    min-width: 0;
    border: 1px solid var(--line, #d9dfdc);
    border-radius: 10px;
    padding: 16px;
}
.privacy-settings legend {
    font-weight: 600;
    padding: 0 6px;
}
.privacy-options[hidden] {
    display: none;
}

/* XID Platform unified navigation */
.integrated-module{padding:0!important;overflow:hidden}.integrated-module iframe{display:block;width:100%;height:1400px;border:0;background:transparent}.shell aside nav button{white-space:normal;text-align:left}

/* XID Platform 1.0.3 - native modules, without nested frames */
.xid-native-module{min-width:0}.xid-native-module .eyebrow{display:none}.xid-native-module h1{display:none}.xid-native-module .intro{display:none}.xid-native-module .cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.xid-native-module .card{padding:20px;border:1px solid #dae4dd;border-radius:14px;background:white;display:flex;flex-direction:column;gap:12px}.xid-native-module .cardtop{display:flex;align-items:center;justify-content:space-between;gap:10px}.xid-native-module .state{border-radius:20px;padding:4px 10px;font-size:12px;background:#eef0ee}.xid-native-module .state.active{background:#e3f2e7;color:#176c40}.xid-native-module .card h3{margin:0}.xid-native-module .card p{color:#61756b;margin:0}.xid-native-module .cardbottom{margin-top:auto;display:grid;gap:8px}.xid-native-module .symbol{font-size:24px;color:#146347}.xid-native-module .panel{margin-bottom:20px}.xid-native-module .company-form,.xid-native-module .actions,.xid-native-module .request{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.xid-native-module .company-form select{flex:1;min-width:200px}.xid-native-module .request{justify-content:space-between;padding:12px 0;border-top:1px solid #dfe8df}.xid-native-module .request small{display:block}.xid-native-module .notice{padding:14px;border-radius:10px;background:#e4f1e8;margin:12px 0}.xid-native-module .notice.error{background:#fce9e8}.xid-native-module .update-form{display:grid;gap:14px}.xid-native-module .update-form label{display:grid;gap:6px}.xid-native-module input[type=file],.xid-native-module input[name=sha256]{width:100%;max-width:700px;padding:10px;border:1px solid #d9e2dc;border-radius:8px}.xid-native-module .grant-form{display:flex;gap:8px;flex-wrap:wrap}.xid-native-module .footer{font-size:12px;color:#789}.xid-native-module .section-title{margin:26px 0 18px}

/* XID 1.0.4: sections of a single role-based workspace */
.xid-nav-group{font-size:10px!important;letter-spacing:.14em;color:#648075;font-weight:800;margin:23px 10px 7px!important}.xid-native-module{width:100%;min-height:280px}.xid-native-module .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.xid-native-module .panel{padding:24px;background:white;border:1px solid #dce8de;border-radius:16px;margin-bottom:20px}.xid-native-module .card{display:flex;flex-direction:column;min-height:205px;padding:20px;background:white;border:1px solid #dce8de;border-radius:14px}.xid-native-module .cardbottom{margin-top:auto}.xid-native-module .cardtop{display:flex;align-items:center;justify-content:space-between}.xid-native-module .state{border-radius:20px;font-size:12px;padding:5px 10px;background:#edf0ef}.xid-native-module .state.active{background:#dff1e6;color:#186a4f}.xid-native-module .notice{padding:12px;border-radius:12px}.xid-native-module .company-form,.xid-native-module .actions{display:flex;gap:10px;flex-wrap:wrap}.xid-native-module select,.xid-native-module input[type=file],.xid-native-module input[name=sha256]{width:100%;max-width:100%;min-width:0;border:1px solid #cbdacb;padding:10px;border-radius:8px}.xid-native-module .company-form select{flex:1}.xid-native-module form label{display:grid;gap:7px}.xid-native-module .update-form{display:grid;gap:15px}.xid-native-module .cardbottom a,.xid-native-module .cardbottom button{display:inline-block}.xid-native-module .content>.eyebrow,.xid-native-module .content>.intro,.xid-native-module .content>h1{display:none}.xid-native-module .content{padding:0}.xid-native-module .request{border-top:1px solid #e6eae6;padding:12px 0}@media(max-width:750px){.xid-native-module .cards{grid-template-columns:1fr}}

/* XID Platform 1.1.0: workspace-first dashboards */
.xid-overview .sectionhead{align-items:start}.xid-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:22px 0}.xid-overview-grid article{background:#fff;border:1px solid #e0e9e2;border-radius:13px;padding:18px;min-height:145px}.xid-overview-grid article h3{margin:13px 0 4px;font-size:1.08rem}.xid-overview-grid article p{color:#64796d;font-size:.92rem}.xid-overview-grid article button{margin-top:10px}.xid-ready,.xid-soon{font-size:11px;border-radius:20px;padding:5px 10px;background:#e4f3e9;color:#196a4c}.xid-soon{background:#f0f1f0;color:#64746d}.xid-ean-subheading{margin:26px 0 12px}@media(max-width:1000px){.xid-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.xid-overview-grid{grid-template-columns:1fr}}

/* XID unified navigation */
.shell aside nav .xid-menu-section{margin:0 0 15px;padding:0 0 10px;border-bottom:1px solid rgba(120,155,137,.19)}
.shell aside nav .xid-menu-section:last-child{border-bottom:0}
.shell aside nav .xid-nav-group{font-size:10px;letter-spacing:.12em;margin:14px 12px 7px;color:#819a8c;font-weight:750}
.shell aside nav .xid-menu-section button{width:100%;display:flex;align-items:center;gap:11px;min-height:37px;margin:2px 0;border-radius:9px;font-size:13px;line-height:1.35;padding:9px 11px;white-space:normal;text-align:left}
.shell aside nav .xid-menu-dot{width:7px;height:7px;border:1.5px solid currentColor;border-radius:50%;flex-shrink:0;opacity:.65}
.shell aside nav .active .xid-menu-dot{background:currentColor;opacity:1}
.xid-overview-grid article{display:flex;flex-direction:column;align-items:flex-start}.xid-overview-grid article button{margin-top:auto}

/* XID 1.2.1 — responsive menu shared by company and platform admin */
.xid-mobile-menu-toggle{display:none}
@media (max-width:720px){
  html,body{max-width:100%;overflow-x:hidden}
  .shell{display:block;min-width:0}
  .shell>aside{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:14px 16px!important;overflow:visible!important;border-right:0;border-bottom:1px solid var(--line);background:#fff}
  .shell>aside>.brand{padding:0 6px;font-size:36px;line-height:1.1}
  .shell>aside>.brand small{display:inline-block;margin-left:12px;font-size:8px;vertical-align:middle}
  .shell>aside>.workspace,.shell>aside>.navcaption,.shell>aside>.asidefoot{display:none!important}
  .shell>aside>.xid-mobile-menu-toggle{display:flex!important;align-items:center;gap:12px;width:100%;margin-top:16px;padding:13px 15px;border:1px solid #d5e2d8;border-radius:11px;background:#eef4ef;color:#165c4b;font-size:14px;text-align:left;font-weight:700}
  .xid-mobile-menu-chevron{margin-left:auto}
  .shell>aside>nav{display:none!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%;max-height:min(65vh,540px);overflow-y:auto!important;overflow-x:hidden!important;margin:12px 0 0!important;padding:0 0 6px!important;overscroll-behavior:contain}
  .shell>aside.xid-menu-open>nav{display:flex!important}
  .shell>aside nav .xid-menu-section{width:100%;min-width:0;flex:0 0 auto;display:flex;flex-direction:column;padding:10px 0 12px;border-bottom:1px solid var(--line)}
  .shell>aside nav .xid-nav-group{margin:8px 10px 7px!important;font-size:10px!important;letter-spacing:.1em;line-height:1.5}
  .shell>aside nav button{width:100%;display:flex!important;white-space:normal!important;align-items:center;gap:10px;font-size:14px!important;line-height:1.4;padding:11px 12px!important;text-align:left;border-radius:8px;min-height:44px}
  .shell>aside nav button>.xid-menu-dot{display:block!important;flex:0 0 7px;width:7px;height:7px;font-size:0}
  .shell>main{width:100%!important;margin:0!important;min-width:0}
  .shell>main>header{min-height:0;height:auto;padding:12px 16px;gap:8px;flex-wrap:wrap}
  .shell>main>header .headeractions{flex-wrap:wrap;gap:8px}
  .shell>main .content{width:100%!important;max-width:100%;height:auto!important;min-width:0;padding:22px 16px 36px!important}
  .shell>main .pagetitle{flex-direction:column;gap:12px}
  .shell>main .pagetitle h1{font-size:27px;overflow-wrap:anywhere}
  .shell>main .xid-native-module,.shell>main .panel{max-width:100%;min-width:0}
}

/* XID 1.2.7: stable nested accordion on the 1.2.1 account shell */
.shell aside nav .xid-accordion{width:100%;min-width:0}
.shell aside nav .xid-accordion-body[hidden]{display:none!important}
.shell aside nav .xid-accordion-body{display:block;padding-left:12px;min-width:0}
.shell aside nav .xid-accordion-toggle{display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;white-space:normal;min-height:40px;gap:8px}
.shell aside nav .xid-accordion-module>.xid-accordion-toggle{font-weight:700}
.shell aside nav .xid-accordion-group>.xid-accordion-toggle{font-size:12px}
.shell aside nav .xid-accordion-leaf{font-size:12px;padding-left:13px;white-space:normal;text-align:left;width:100%}
.xid-pos-container{min-width:0}
#xid-pos-content{display:block;width:100%;height:1250px;min-height:650px;border:1px solid #d7e5d9;border-radius:12px;background:#fff}
@media(max-width:720px){.shell aside nav .xid-accordion-body{padding-left:10px}#xid-pos-content{height:1100px;min-height:600px}}

/* 1.2.8: one POS workspace, automatic content height. */
.xid-pos-container{padding:18px;max-width:100%;overflow:hidden}
.xid-pos-container h2{margin:0 0 12px}
.xid-pos-frame-wrap{width:100%;min-width:0;overflow-x:auto}
#xid-pos-content{display:block;width:100%;height:680px;min-height:520px;border:0;border-radius:0;background:transparent}
@media(max-width:720px){.xid-pos-container{padding:10px}#xid-pos-content{min-height:520px}}

/* 1.3.0: native-looking POS work area containing original working forms */
.xid-pos-container{padding:12px!important;overflow:visible!important}.xid-pos-frame-wrap{overflow:visible!important}#xid-pos-content{display:block;width:100%;min-height:450px;border:0;background:transparent}
@media(max-width:720px){.xid-pos-container{padding:0!important}.xid-pos-frame-wrap{overflow:visible!important}}
