:root {
    --mt-navy-950: #030b22;
    --mt-navy-900: #06112d;
    --mt-navy-850: #081737;
    --mt-navy-800: #0b1d43;
    --mt-panel: rgba(11, 28, 62, .86);
    --mt-panel-soft: rgba(12, 34, 72, .64);
    --mt-line: rgba(164, 199, 237, .14);
    --mt-line-strong: rgba(164, 199, 237, .24);
    --mt-text: #f5f9ff;
    --mt-muted: #8fa7c7;
    --mt-cyan: #38d9d2;
    --mt-cyan-soft: rgba(56, 217, 210, .12);
    --mt-coral: #ff7e78;
    --mt-green: #42dfa8;
    --mt-amber: #f4c66d;
    --mt-shadow: 0 22px 64px rgba(0, 0, 0, .26);
}

body.martesano-terminal {
    margin: 0;
    overflow-x: hidden;
    background: var(--mt-navy-950);
}

body.mt-article-body { margin: 0; color: var(--mt-text); background: var(--mt-navy-950); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.mt-article-page { min-height: 100vh; background: radial-gradient(circle at 70% -10%, rgba(31,101,186,.22), transparent 34%), var(--mt-navy-950); }
.mt-article-topbar { min-height: 66px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 5vw; border-bottom: 1px solid var(--mt-line); background: rgba(3,12,34,.9); }
.mt-article-topbar a:first-child { color: #fff; font: italic 28px Georgia, serif; }
.mt-article-topbar span { color: var(--mt-cyan); font: 750 8px ui-monospace, monospace; letter-spacing: .13em; }
.mt-article-topbar a:last-child { justify-self: end; color: #8fa7c7; font-size: 10px; text-decoration: none; }
.mt-article-page > article { width: min(820px, calc(100% - 32px)); margin: 0 auto; padding: 74px 0 100px; }
.mt-article-page h1 { margin: 10px 0 16px; color: #f5f9ff; font-size: clamp(36px, 6vw, 70px); line-height: 1.04; letter-spacing: -.045em; }
.mt-article-byline { display: flex; gap: 18px; padding: 14px 0 24px; color: #7992b1; border-bottom: 1px solid var(--mt-line); font-size: 10px; }
.mt-article-page figure { margin: 32px 0; }
.mt-article-page img { width: 100%; height: auto; border-radius: 9px; }
.mt-article-content { color: #bfd0e2; font-size: 16px; line-height: 1.8; }
.mt-article-content h2,.mt-article-content h3 { color: #edf6ff; }
.mt-article-content a { color: var(--mt-cyan); }

body.martesano-terminal header.wp-block-template-part,
body.martesano-terminal footer.wp-block-template-part,
body.martesano-terminal .wp-block-post-title,
body.martesano-terminal .wp-block-post-featured-image,
body.martesano-terminal .wp-block-post-date,
body.martesano-terminal .wp-block-post-author,
body.martesano-terminal .wp-block-comments,
body.martesano-terminal .wp-block-template-part:has(+ main) {
    display: none !important;
}

body.martesano-terminal .wp-site-blocks,
body.martesano-terminal main:not(.mt-main),
body.martesano-terminal .wp-block-group,
body.martesano-terminal .wp-block-post-content {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

.mt-app,
.mt-app * {
    box-sizing: border-box;
}

.mt-app {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    color: var(--mt-text);
    background:
        radial-gradient(circle at 76% -10%, rgba(31, 101, 186, .24), transparent 34%),
        radial-gradient(circle at 20% 120%, rgba(21, 112, 126, .15), transparent 35%),
        var(--mt-navy-950);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: .005em;
}

.mt-app button,
.mt-app input,
.mt-app select,
.mt-app textarea {
    font: inherit;
}

.mt-app button,
.mt-app a {
    -webkit-tap-highlight-color: transparent;
}

.mt-app a {
    color: inherit;
    text-decoration: none;
}

.mt-sidebar {
    position: fixed;
    z-index: 50;
    inset: 0 auto 0 0;
    width: 242px;
    display: flex;
    flex-direction: column;
    padding: 18px 14px;
    border-right: 1px solid var(--mt-line);
    background: linear-gradient(180deg, rgba(6, 18, 49, .98), rgba(3, 10, 30, .98));
    box-shadow: 10px 0 44px rgba(0, 0, 0, .18);
}

.mt-brand {
    min-height: 94px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 9px 12px 14px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--mt-line);
}

.mt-brand__image {
    width: 194px;
    height: 52px;
    display: block;
    background-image: url('../martesano-brand.jpg');
    background-size: 430px auto;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-radius: 5px;
}

.mt-mobile-brand { display: none; }

.mt-brand__tag {
    padding-left: 17px;
    color: #91b5dd;
    font-size: 8.5px;
    font-weight: 750;
    letter-spacing: .22em;
}

.mt-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mt-nav__item {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 13px;
    color: #95accb;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: .2s ease;
}

.mt-nav__item span {
    width: 23px;
    color: #7594ba;
    font-size: 18px;
    text-align: center;
}

.mt-nav__item em {
    font-style: normal;
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: .02em;
}

.mt-nav__item:hover,
.mt-nav__item.is-active {
    color: #effcff;
    border-color: rgba(56, 217, 210, .17);
    background: linear-gradient(90deg, rgba(56, 217, 210, .13), rgba(56, 217, 210, .035));
}

.mt-nav__item.is-active span {
    color: var(--mt-cyan);
}

.mt-system {
    margin-top: 8px;
    padding: 13px;
    border: 1px solid var(--mt-line);
    border-radius: 9px;
    background: rgba(255, 255, 255, .025);
}

.mt-system > span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c8d9ed;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mt-system small {
    display: block;
    padding: 6px 0 0 16px;
    color: #6783a9;
    font-size: 9px;
}

.mt-live,
.mt-market-clock i,
.mt-integration-status > i {
    width: 7px;
    height: 7px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--mt-green);
    box-shadow: 0 0 0 4px rgba(66, 223, 168, .1), 0 0 14px rgba(66, 223, 168, .6);
    animation: mtPulse 2.2s infinite;
}

@keyframes mtPulse {
    50% { opacity: .58; box-shadow: 0 0 0 7px rgba(66, 223, 168, 0), 0 0 18px rgba(66, 223, 168, .7); }
}

.mt-main {
    min-height: 100vh;
    min-width: 0;
    margin-left: 242px !important;
    overflow-x: clip;
}

.mt-topbar {
    position: sticky;
    z-index: 40;
    top: 0;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 28px;
    border-bottom: 1px solid var(--mt-line);
    background: rgba(3, 12, 34, .88);
    backdrop-filter: blur(20px);
}

.mt-topbar__search {
    width: min(500px, 40vw);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--mt-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, .025);
}

.mt-topbar__search span {
    color: #6e8eb4;
    font-size: 20px;
}

.mt-topbar__search input {
    width: 100%;
    height: 37px;
    padding: 0;
    color: var(--mt-text);
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 12px;
}

.mt-topbar__search input::placeholder,
.mt-app input::placeholder,
.mt-app textarea::placeholder { color: #657d9e; opacity: 1; }

.mt-topbar__actions,
.mt-heading-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mt-top-pricing { height: 39px; display: grid; align-content: center; padding: 0 12px; color: #07162d; border: 1px solid var(--mt-cyan); border-radius: 7px; background: var(--mt-cyan); cursor: pointer; text-align: left; box-shadow: 0 8px 26px rgba(56,217,210,.14); }
.mt-top-pricing span { font: 900 7px ui-monospace, monospace; letter-spacing: .12em; }
.mt-top-pricing b { font: 800 9px ui-monospace, monospace; }

.mt-market-clock {
    min-width: 202px;
    display: grid;
    grid-template-columns: 10px auto;
    column-gap: 9px;
    align-items: center;
    padding-right: 16px;
    border-right: 1px solid var(--mt-line);
}

.mt-market-clock b {
    color: #bcd0e6;
    font-size: 9px;
    letter-spacing: .13em;
}

.mt-market-clock time {
    grid-column: 2;
    color: #6f8caf;
    font: 500 9px ui-monospace, SFMono-Regular, Menlo, monospace;
}

.mt-lang,
.mt-icon-button,
.mt-user {
    height: 37px;
    color: #c2d3e6;
    border: 1px solid var(--mt-line);
    border-radius: 7px;
    background: rgba(255, 255, 255, .03);
    cursor: pointer;
}

.mt-lang { padding: 0 12px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.mt-lang span { color: #577398; margin: 0 2px; }
.mt-icon-button { width: 37px; display: grid; place-items: center; }
.mt-user { display: flex; align-items: center; gap: 8px; padding: 0 9px 0 5px; }
.mt-user span { width: 27px; height: 27px; display: grid; place-items: center; color: #041326; border-radius: 6px; background: var(--mt-cyan); font-size: 9px; font-weight: 900; }
.mt-user b { max-width: 110px; overflow: hidden; text-overflow: ellipsis; color: #d9e6f4; font-size: 10px; white-space: nowrap; }

.mt-ticker {
    height: 34px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--mt-line);
    background: #07132f;
    font: 600 9px ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .03em;
}

.mt-daily-bar {
    min-height: 106px;
    display: grid;
    grid-template-columns: minmax(650px, 1fr) 265px;
    align-items: stretch;
    border-bottom: 1px solid var(--mt-line);
    background: rgba(5, 20, 48, .94);
}

.mt-fx-converter {
    min-width: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 5px;
    padding: 9px 24px 8px;
}

.mt-fx-converter > header { min-height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mt-fx-converter > header > small { color: #6f89aa; font-size: 7.5px; }

.mt-daily-label { min-width: 136px; display: flex; align-items: center; gap: 8px; }
.mt-daily-label b { width: 27px; height: 27px; display: grid; place-items: center; color: #041326; border-radius: 5px; background: var(--mt-cyan); font: 900 9px ui-monospace, monospace; }
.mt-daily-label em { color: #bdd0e5; font: 800 8px ui-monospace, monospace; font-style: normal; letter-spacing: .1em; }
.mt-fx-form { min-width: 0; display: grid; grid-template-columns: 105px 78px 30px 78px minmax(180px,1fr); align-items: end; gap: 7px; }
.mt-fx-form label { min-width: 0; display: grid; gap: 2px; }
.mt-fx-form label > span { color: #6682a5; font: 750 6.5px ui-monospace, monospace; letter-spacing: .08em; }
.mt-fx-form input,
.mt-fx-form select { width: 100%; height: 34px; padding: 0 9px; color: #e8f2fc; border: 1px solid var(--mt-line-strong); border-radius: 5px; outline: 0; background: #071733; font: 750 9px ui-monospace, monospace; }
.mt-fx-form input:focus,
.mt-fx-form select:focus { border-color: rgba(56,217,210,.62); box-shadow: 0 0 0 2px rgba(56,217,210,.08); }
.mt-fx-swap { width: 30px; height: 34px; padding: 0; color: var(--mt-cyan); border: 1px solid rgba(56,217,210,.24); border-radius: 5px; background: rgba(56,217,210,.07); cursor: pointer; }
.mt-fx-result { min-width: 0; height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px; overflow: hidden; color: #eaf7ff; border: 1px solid rgba(56,217,210,.27); border-radius: 5px; background: linear-gradient(90deg,rgba(56,217,210,.1),rgba(8,29,63,.8)); }
.mt-fx-result strong { min-width: 0; overflow: hidden; font: 750 14px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }
.mt-fx-result strong em { color: var(--mt-cyan); font-size: 9px; font-style: normal; }
.mt-fx-result small { overflow: hidden; color: #7590b1; font: 650 7px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }
.mt-fx-result.is-loading { opacity: .72; }
.mt-fx-converter > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #567394; font: 650 6.5px ui-monospace, monospace; }
.mt-fx-converter > footer a { color: #7fa3c8; }
.mt-news-shortcut { display: grid; grid-template-columns: 30px 1fr; align-content: center; column-gap: 9px; padding: 8px 18px; color: #dce9f7; border: 0; border-left: 1px solid var(--mt-line); background: rgba(56, 217, 210, .045); text-align: left; cursor: pointer; }
.mt-news-shortcut > span { grid-row: 1 / 3; width: 30px; height: 30px; display: grid; place-items: center; color: var(--mt-cyan); border: 1px solid rgba(56,217,210,.25); border-radius: 6px; font-size: 18px; }
.mt-news-shortcut b { font: 800 8px ui-monospace, monospace; letter-spacing: .1em; }
.mt-news-shortcut em { max-width: 190px; overflow: hidden; color: #6683a7; font-size: 8px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }

.mt-ad-slot { min-width: 0; display: grid; gap: 4px; }
.mt-ad-label { color: #6f89aa; font: 800 6.5px ui-monospace, monospace; letter-spacing: .15em; }
.mt-ad-creative { position: relative; display: block; overflow: hidden; color: #fff; border: 1px solid rgba(56,217,210,.25); border-radius: 8px; background: #071b38; box-shadow: var(--mt-shadow); }
.mt-ad-creative > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mt-ad-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(2,10,29,.92),rgba(2,10,29,.42) 65%,rgba(2,10,29,.12)); }
.mt-ad-copy { position: relative; z-index: 1; display: grid; align-content: center; gap: 2px; height: 100%; padding: 12px; }
.mt-ad-copy small { color: var(--mt-cyan); font: 850 7px ui-monospace, monospace; letter-spacing: .13em; }
.mt-ad-copy strong { color: #f1f7fd; font-size: 10px; }
.mt-ad-copy em { color: #adc0d4; font-size: 8px; font-style: normal; }
.mt-ad-slot--sidebar { margin-top: auto; }
.mt-sidebar-ad { height: 82px; }
.mt-sidebar-ad > img { object-position: 62% center; }

.mt-ticker__label {
    z-index: 1;
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0 16px 0 28px;
    color: #06152c;
    background: var(--mt-cyan);
    font-weight: 900;
    letter-spacing: .12em;
    clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
}

.mt-ticker__track {
    display: flex;
    width: max-content;
    gap: 38px;
    padding-left: 24px;
    color: #a5bad3;
    white-space: nowrap;
    animation: mtTicker 34s linear infinite;
}

.mt-ticker__track span { display: flex; gap: 7px; align-items: center; }
.mt-ticker__track b { color: #ecf6ff; }
.mt-ticker__track i { color: var(--mt-green); font-style: normal; }

@keyframes mtTicker { to { transform: translateX(-50%); } }

.mt-workspace {
    width: 100%;
    max-width: 1620px;
    margin: 0 auto;
    padding: 32px 34px 60px;
}

.mt-view { display: none; animation: mtView .28s ease; }
.mt-view.is-active { display: block; }
@keyframes mtView { from { opacity: 0; transform: translateY(5px); } }

.mt-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 25px;
}

.mt-heading-row h1,
.mt-about-hero h1 {
    margin: 4px 0 5px;
    color: #f7fbff;
    font-size: clamp(26px, 3vw, 39px);
    font-weight: 620;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.mt-heading-row p:not(.mt-eyebrow) {
    max-width: 720px;
    margin: 0;
    color: var(--mt-muted);
    font-size: 13px;
}

.mt-eyebrow,
.mt-chapter {
    margin: 0;
    color: var(--mt-cyan);
    font: 750 9px ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: .14em;
}

.mt-button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid var(--mt-line-strong);
    border-radius: 7px;
    background: rgba(255, 255, 255, .035);
    color: #dce9f7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    cursor: pointer;
    transition: .2s ease;
}

.mt-button:hover { transform: translateY(-1px); border-color: rgba(56, 217, 210, .5); }
.mt-button--primary { color: #031426; border-color: var(--mt-cyan); background: var(--mt-cyan); box-shadow: 0 8px 28px rgba(56, 217, 210, .15); }
.mt-button--ghost { background: rgba(255, 255, 255, .03); }
.mt-button.is-full { width: 100%; margin-top: 20px; }

.mt-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.mt-kpis article,
.mt-panel,
.mt-product-card,
.mt-rfq-card,
.mt-service-card,
.mt-plan-grid article,
.mt-managed-grid article,
.mt-event-card,
.mt-trust-grid article {
    border: 1px solid var(--mt-line);
    background: linear-gradient(145deg, rgba(13, 33, 71, .88), rgba(6, 21, 51, .88));
    box-shadow: var(--mt-shadow);
}

.mt-kpis article {
    min-height: 112px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    padding: 17px 18px;
    border-radius: 8px;
}

.mt-kpis article > span { grid-column: 1 / 3; color: #7f9aba; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mt-kpis strong { align-self: end; color: #f5faff; font: 560 29px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.06em; }
.mt-kpis small { align-self: end; padding-bottom: 5px; color: #7b93b1; font-size: 9px; }
.mt-kpis small.is-up { color: var(--mt-green); }

.mt-grid { display: grid; gap: 12px; margin-bottom: 12px; }
.mt-grid--charts { grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr); }
.mt-grid--feed { grid-template-columns: minmax(0, 1.45fr) minmax(310px, .85fr); }

.mt-directory-head,
.mt-pricing-spotlight > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}
.mt-directory-head { padding: 18px 2px 12px; }
.mt-directory-head span,
.mt-pricing-spotlight > header span { display: block; color: var(--mt-cyan); font: 750 8.5px ui-monospace, monospace; letter-spacing: .12em; }
.mt-directory-head h2,
.mt-pricing-spotlight > header h2 { margin: 4px 0 0; color: #e6eff9; font-size: 17px; }
.mt-directory-head button,
.mt-pricing-spotlight > header button { padding: 0; color: var(--mt-cyan); border: 0; background: transparent; font-size: 9px; cursor: pointer; }
.mt-service-grid--overview { margin-bottom: 12px; }
.mt-service-grid--overview .mt-service-card { min-height: 152px; }
.mt-service-grid--overview .mt-service-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.mt-pricing-spotlight { margin: 12px 0; padding: 18px; border: 1px solid rgba(56,217,210,.23); border-radius: 9px; background: linear-gradient(135deg, rgba(56,217,210,.075), rgba(7,25,58,.76)); box-shadow: var(--mt-shadow); }
.mt-pricing-spotlight > header { margin-bottom: 14px; }
.mt-price-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mt-price-strip button { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 12px; color: #dfeaf6; border: 1px solid var(--mt-line); border-radius: 6px; background: rgba(3,15,39,.56); cursor: pointer; text-align: left; }
.mt-price-strip small { overflow: hidden; color: #7f9bbd; font: 750 7.5px ui-monospace, monospace; text-overflow: ellipsis; white-space: nowrap; }
.mt-price-strip strong { color: #f5faff; font: 650 16px ui-monospace, monospace; white-space: nowrap; }
.mt-price-strip em { color: #7088a8; font-size: 7px; font-style: normal; }

.mt-home-commercial { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .7fr); gap: 12px; margin-bottom: 12px; }
.mt-ai-catalog, .mt-home-ad { min-height: 126px; border-radius: 9px; box-shadow: var(--mt-shadow); }
.mt-ai-catalog { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px 22px; border: 1px solid rgba(56,217,210,.24); background: linear-gradient(125deg, rgba(56,217,210,.1), rgba(7,23,55,.88)); }
.mt-ai-catalog span { color: var(--mt-cyan); font: 800 8px ui-monospace, monospace; letter-spacing: .12em; }
.mt-ai-catalog h2 { margin: 5px 0 4px; color: #eef7ff; font-size: 18px; }
.mt-ai-catalog p { max-width: 690px; margin: 0; color: #8099b7; font-size: 10px; }
.mt-ai-catalog .mt-button { flex: 0 0 auto; }
.mt-ad-slot--home { grid-template-rows: auto 1fr; }
.mt-home-ad { height: 100%; min-height: 106px; }
.mt-home-ad > img { object-position: 68% center; }
.mt-home-ad .mt-ad-copy { padding: 18px; }
.mt-home-ad .mt-ad-copy strong { max-width: 230px; font-size: 13px; line-height: 1.18; }
.mt-home-ad .mt-ad-copy em { color: #a7dcd8; font-size: 8px; }

.mt-panel { padding: 18px; border-radius: 8px; }
.mt-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mt-panel > header span { display: block; margin-bottom: 3px; color: #6f8cae; font: 750 8.5px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.mt-panel > header h2 { margin: 0; color: #dce9f7; font-size: 14px; font-weight: 650; }
.mt-panel > header small { color: #7893b3; font: 650 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-panel > header button { padding: 0; color: var(--mt-cyan); border: 0; background: none; font-size: 10px; cursor: pointer; }

#mt-market-chart { width: 100%; height: 220px; display: block; }
.mt-chart-legend { display: flex; gap: 18px; padding-top: 4px; color: #88a1bf; font-size: 9px; }
.mt-chart-legend span { display: flex; align-items: center; gap: 6px; }
.mt-chart-legend i { width: 14px; height: 2px; }
.mt-chart-legend i.is-cyan { background: var(--mt-cyan); }
.mt-chart-legend i.is-coral { background: var(--mt-coral); }

.mt-bars { display: flex; flex-direction: column; gap: 18px; padding: 7px 0 2px; }
.mt-bars div { display: grid; grid-template-columns: 70px 1fr 24px; align-items: center; gap: 9px; color: #91a9c5; font: 600 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-bars i { height: 5px; display: block; overflow: hidden; border-radius: 5px; background: rgba(148, 183, 221, .08); }
.mt-bars i::after { content: ''; width: var(--value); height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #1fa8b4, var(--mt-cyan)); }
.mt-bars b { color: #bcd0e7; text-align: right; }

.mt-mini-market > div,
.mt-mini-rfqs > div {
    display: grid;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 9px 2px;
    border-top: 1px solid var(--mt-line);
}
.mt-mini-market > div { grid-template-columns: 34px minmax(130px, 1.3fr) .8fr .7fr .5fr; }
.mt-mini-market > div:first-child,
.mt-mini-rfqs > div:first-child { border-top: 0; }
.mt-mini-market .mt-product-thumb { width: 34px; height: 34px; border-radius: 6px; }
.mt-mini-market strong,
.mt-mini-rfqs strong { display: block; overflow: hidden; color: #dfeaf6; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.mt-mini-market small,
.mt-mini-rfqs small { display: block; color: #718baa; font-size: 8.5px; }
.mt-mini-market b { color: var(--mt-cyan); font: 650 10px ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
.mt-mini-rfqs > div { grid-template-columns: 1fr auto; }
.mt-mini-rfqs span { color: var(--mt-amber); font: 650 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-mini-news > a { min-height: 54px; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 2px; border-top: 1px solid var(--mt-line); }
.mt-mini-news > a:first-child { border-top: 0; }
.mt-mini-news img, .mt-mini-news i { width: 42px; height: 36px; display: grid; place-items: center; object-fit: cover; border-radius: 5px; background: #0b2950; color: var(--mt-cyan); font-style: normal; }
.mt-mini-news span { min-width: 0; }
.mt-mini-news b { display: block; margin-bottom: 2px; color: var(--mt-cyan); font: 750 7.5px ui-monospace, monospace; }
.mt-mini-news strong { display: block; overflow: hidden; color: #dbe8f5; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }
.mt-mini-news time { color: #6d88aa; font: 650 8px ui-monospace, monospace; white-space: nowrap; }

.mt-news-sources { display: flex; flex-wrap: wrap; gap: 7px; margin: -8px 0 15px; }
.mt-news-sources span { padding: 6px 9px; color: #8ea8c7; border: 1px solid var(--mt-line); border-radius: 5px; background: rgba(255,255,255,.025); font: 700 8px ui-monospace, monospace; }
.mt-news-masthead { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 10px; padding: 8px 2px; color: #6e89aa; border-top: 1px solid var(--mt-line); border-bottom: 1px solid var(--mt-line); font: 750 8px ui-monospace, monospace; letter-spacing: .09em; text-transform: uppercase; }
.mt-news-masthead span { color: var(--mt-cyan); }
.mt-news-cover { min-height: 420px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .8fr); gap: 10px; margin-bottom: 14px; }
.mt-news-lead { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; border: 1px solid var(--mt-line); border-radius: 10px; background: linear-gradient(145deg,#0d2b55,#07152f); }
.mt-news-lead > img, .mt-news-lead > .mt-news-visual-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mt-news-visual-fallback { display: grid; place-items: center; color: rgba(56,217,210,.28); background: radial-gradient(circle at 70% 20%,#174375,#07152f 60%); font-size: 110px; }
.mt-news-lead__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 16%, rgba(2,10,28,.4) 50%, rgba(2,9,25,.98) 100%); }
.mt-news-lead > div { position: relative; z-index: 1; max-width: 780px; padding: 30px; }
.mt-news-lead small, .mt-news-secondary small { color: var(--mt-cyan); font: 750 8px ui-monospace, monospace; letter-spacing: .06em; }
.mt-news-lead h2 { margin: 9px 0 8px; color: #f4f8fc; font-size: clamp(22px,2.5vw,38px); line-height: 1.08; letter-spacing: -.025em; }
.mt-news-lead p { max-width: 680px; margin: 0 0 14px; color: #adbed1; font-size: 11px; }
.mt-news-lead b { color: var(--mt-cyan); font-size: 9px; }
.mt-news-secondary { display: grid; grid-template-rows: repeat(4,minmax(0,1fr)); gap: 8px; }
.mt-news-secondary > a { min-height: 0; display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 12px; overflow: hidden; border: 1px solid var(--mt-line); border-radius: 8px; background: linear-gradient(145deg,rgba(13,33,71,.9),rgba(6,21,51,.9)); }
.mt-news-secondary img, .mt-news-secondary .mt-news-visual-fallback { width: 118px; height: 100%; min-height: 92px; display: grid; place-items: center; object-fit: cover; color: var(--mt-cyan); background: #0a2952; font-size: 28px; }
.mt-news-secondary > a > span:last-child { min-width: 0; align-self: center; padding: 10px 12px 10px 0; }
.mt-news-secondary strong { display: -webkit-box; margin-top: 6px; overflow: hidden; color: #dce8f5; font-size: 11px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.mt-news-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mt-news-card { min-width: 0; min-height: 220px; display: flex; flex-direction: column; padding: 18px; overflow: hidden; border: 1px solid var(--mt-line); border-radius: 8px; background: linear-gradient(145deg, rgba(13,33,71,.88), rgba(6,21,51,.88)); box-shadow: var(--mt-shadow); }
.mt-news-card__image { height: 150px; margin: -18px -18px 16px; overflow: hidden; }
.mt-news-card__image img { width: 100%; height: 100%; object-fit: cover; }
.mt-news-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mt-news-card header span { color: var(--mt-cyan); font: 750 8px ui-monospace, monospace; }
.mt-news-card time { color: #6985a8; font: 650 8px ui-monospace, monospace; }
.mt-news-card h2 { margin: 15px 0 8px; color: #eaf3fc; font-size: 14px; line-height: 1.38; }
.mt-news-card p { display: -webkit-box; margin: 0 0 14px; overflow: hidden; color: #7991ad; font-size: 9.5px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.mt-news-card a { margin-top: auto; color: var(--mt-cyan); font-size: 8.5px; font-weight: 750; }

.mt-member-editorial { margin-bottom: 14px; padding: 18px; border: 1px solid rgba(56,217,210,.2); border-radius: 9px; background: linear-gradient(135deg, rgba(56,217,210,.065), rgba(7,24,57,.84)); }
.mt-member-editorial > header span { color: var(--mt-cyan); font: 750 8px ui-monospace, monospace; letter-spacing: .11em; }
.mt-member-editorial > header h2 { margin: 3px 0 14px; color: #e6eff9; font-size: 15px; }
.mt-member-articles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mt-member-articles > a { min-width: 0; min-height: 112px; display: flex; justify-content: space-between; gap: 10px; padding: 13px; border: 1px solid var(--mt-line); border-radius: 6px; background: rgba(3,16,42,.56); }
.mt-member-articles > a span { min-width: 0; }
.mt-member-articles b { display: block; color: var(--mt-cyan); font: 700 7.5px ui-monospace, monospace; }
.mt-member-articles strong { display: -webkit-box; margin: 7px 0; overflow: hidden; color: #e4eef8; font-size: 11px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mt-member-articles small { color: #6d87a8; font-size: 8px; }
.mt-member-articles em { color: var(--mt-cyan); font-style: normal; }
.mt-member-articles .mt-empty { grid-column: 1 / -1; }
.mt-form-note { margin: 12px 0 0; color: #7991ad; font-size: 9px; }

.mt-filterbar {
    min-height: 59px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px 180px auto;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 10px;
    border: 1px solid var(--mt-line);
    border-radius: 8px;
    background: rgba(7, 23, 54, .72);
}

.mt-filterbar input,
.mt-filterbar select,
.mt-app .mt-form-grid input,
.mt-app .mt-form-grid select,
.mt-app .mt-form-grid textarea {
    width: 100%;
    color: #dceafa;
    border: 1px solid var(--mt-line-strong);
    border-radius: 6px;
    outline: 0;
    background: #081a3a;
}

.mt-filterbar input,
.mt-filterbar select { height: 37px; padding: 0 12px; font-size: 10px; }
.mt-filterbar span { min-width: 42px; color: #7c98ba; font: 700 10px ui-monospace, SFMono-Regular, Menlo, monospace; text-align: center; }

.mt-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.mt-product-card { overflow: hidden; border-radius: 9px; transition: .22s ease; }
.mt-product-card:hover { transform: translateY(-3px); border-color: rgba(56, 217, 210, .34); }
.mt-product-card__image,
.mt-product-thumb {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(56, 217, 210, .18), rgba(4, 13, 37, .15)),
        radial-gradient(circle at 20% 20%, #244d73, #091a3c 70%);
    background-size: cover;
    background-position: center;
}
.mt-product-card__image { height: 148px; }
.mt-product-card__image::before { content: '≈'; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.14); font: 300 80px Georgia, serif; }
.mt-product-card__image.has-image::before { display: none; }
.mt-product-card__image > span { position: absolute; top: 10px; left: 10px; padding: 4px 7px; color: #05162c; border-radius: 4px; background: var(--mt-cyan); font-size: 8px; font-weight: 900; letter-spacing: .07em; }
.mt-product-card__body { padding: 15px; }
.mt-product-card__body > small { color: var(--mt-cyan); font: 650 8.5px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-product-card h3 { min-height: 40px; margin: 7px 0 6px; color: #eef6ff; font-size: 14px; font-weight: 650; line-height: 1.35; }
.mt-product-card p { min-height: 34px; display: -webkit-box; margin: 0 0 11px; overflow: hidden; color: #7992b1; font-size: 9.5px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mt-product-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 0; border-top: 1px solid var(--mt-line); border-bottom: 1px solid var(--mt-line); }
.mt-product-meta span { color: #718bad; font-size: 8px; }
.mt-product-meta b { display: block; margin-top: 2px; overflow: hidden; color: #cbd9e8; font-size: 9px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.mt-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; }
.mt-product-bottom strong { color: var(--mt-cyan); font: 650 12px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-product-bottom button { height: 31px; padding: 0 10px; color: #ddecfb; border: 1px solid var(--mt-line-strong); border-radius: 5px; background: rgba(255,255,255,.03); font-size: 8.5px; font-weight: 750; cursor: pointer; }

.mt-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border: 1px solid var(--mt-line); border-radius: 4px; color: #9db3cd; font: 700 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .05em; }
.mt-badge--cyan { color: var(--mt-cyan); border-color: rgba(56, 217, 210, .26); background: rgba(56, 217, 210, .07); }

.mt-rfq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.mt-rfq-card { padding: 19px; border-radius: 8px; }
.mt-rfq-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mt-rfq-card header span { color: var(--mt-amber); font: 750 8px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-rfq-card header time { color: #6e88aa; font-size: 8px; }
.mt-rfq-card h3 { margin: 12px 0 6px; color: #edf6ff; font-size: 15px; }
.mt-rfq-card > p { min-height: 34px; margin: 0 0 14px; color: #8299b5; font-size: 10px; }
.mt-rfq-card dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 12px 0; border-top: 1px solid var(--mt-line); border-bottom: 1px solid var(--mt-line); }
.mt-rfq-card dt { color: #6681a4; font-size: 7.5px; text-transform: uppercase; }
.mt-rfq-card dd { margin: 2px 0 0; color: #c9d9e9; font-size: 9px; }
.mt-rfq-card footer { display: flex; align-items: center; justify-content: space-between; padding-top: 13px; color: #7893b1; font-size: 8.5px; }
.mt-rfq-card footer button { color: #06172d; border: 0; border-radius: 5px; background: var(--mt-cyan); padding: 7px 10px; font-size: 8.5px; font-weight: 850; cursor: pointer; }

.mt-integration-status {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
    padding: 15px 18px;
    border: 1px solid rgba(244, 198, 109, .2);
    border-radius: 8px;
    background: rgba(244, 198, 109, .055);
}
.mt-integration-status > i { background: var(--mt-amber); box-shadow: 0 0 0 4px rgba(244,198,109,.09), 0 0 14px rgba(244,198,109,.5); }
.mt-integration-status.is-connected { border-color: rgba(66,223,168,.24); background: rgba(66,223,168,.055); }
.mt-integration-status.is-connected > i { background: var(--mt-green); }
.mt-integration-status b { display: block; color: #dae7f5; font-size: 11px; }
.mt-integration-status span { display: block; margin-top: 3px; color: #7690b0; font-size: 9px; }

.mt-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mt-service-card { min-height: 180px; display: flex; flex-direction: column; padding: 17px; border-radius: 8px; }
.mt-service-card > i { width: 35px; height: 35px; display: grid; place-items: center; color: var(--mt-cyan); border: 1px solid rgba(56,217,210,.22); border-radius: 7px; background: rgba(56,217,210,.07); font-style: normal; font-size: 18px; }
.mt-service-card small { margin-top: 15px; color: #6b89ad; font: 700 8px ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.mt-service-card h3 { margin: 5px 0; color: #e6eff9; font-size: 13px; }
.mt-service-card p { margin: 0 0 12px; color: #7890ae; font-size: 9px; }
.mt-service-card footer { display: flex; justify-content: space-between; margin-top: auto; color: #7892b1; font-size: 8px; }

.mt-crm { display: grid; grid-template-columns: repeat(4, minmax(230px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.mt-crm-column { min-height: 510px; padding: 11px; border: 1px solid var(--mt-line); border-radius: 8px; background: rgba(5, 19, 46, .62); }
.mt-crm-column > header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; padding: 3px 3px 11px; border-bottom: 1px solid var(--mt-line); color: #a9bdd4; font: 750 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .07em; text-transform: uppercase; }
.mt-crm-column > header b { min-width: 19px; height: 19px; display: grid; place-items: center; color: #829bb8; border-radius: 10px; background: rgba(255,255,255,.06); font-size: 8px; }
.mt-lead-card { margin-bottom: 9px; padding: 13px; border: 1px solid var(--mt-line); border-radius: 7px; background: #0b2046; box-shadow: 0 10px 24px rgba(0,0,0,.14); }
.mt-lead-card small { color: #6783a7; font-size: 7.5px; }
.mt-lead-card h3 { margin: 6px 0 3px; color: #dce9f7; font-size: 10.5px; }
.mt-lead-card p { margin: 0; color: #738dab; font-size: 8.5px; }
.mt-lead-card strong { display: block; margin: 10px 0; color: var(--mt-green); font: 700 11px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-lead-card select { width: 100%; height: 29px; color: #acc0d6; border: 1px solid var(--mt-line); border-radius: 5px; background: #071733; font-size: 8px; }
.mt-login-gate { grid-column: 1 / -1; padding: 56px 20px; border: 1px dashed var(--mt-line-strong); border-radius: 9px; color: #829bb9; text-align: center; }
.mt-login-gate strong { display: block; margin-bottom: 8px; color: #d8e5f3; font-size: 16px; }

.mt-event-list { display: flex; flex-direction: column; gap: 9px; }
.mt-event-card { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 20px; padding: 15px 18px; border-radius: 8px; }
.mt-event-date { padding-right: 16px; border-right: 1px solid var(--mt-line); color: var(--mt-cyan); text-align: center; }
.mt-event-date b { display: block; font: 560 25px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-event-date small { display: block; font: 750 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.mt-event-card h3 { margin: 0 0 4px; color: #e6eff9; font-size: 13px; }
.mt-event-card p { margin: 0; color: #7890ae; font-size: 9px; }
.mt-event-card em { display: inline-block; margin-top: 7px; color: #7e9abb; font: 600 8px ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; }
.mt-event-card a { padding: 8px 11px; color: #bdd1e7; border: 1px solid var(--mt-line-strong); border-radius: 5px; font-size: 8px; font-weight: 750; }

.mt-trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 14px; }
.mt-trust-grid article { position: relative; min-height: 190px; padding: 17px; border-radius: 8px; }
.mt-trust-grid article > span { position: absolute; top: 13px; right: 14px; color: #4e6b91; font: 700 9px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-trust-grid article > i { width: 39px; height: 39px; display: grid; place-items: center; color: var(--mt-cyan); border: 1px solid rgba(56,217,210,.24); border-radius: 50%; background: rgba(56,217,210,.08); font-style: normal; }
.mt-trust-grid h3 { margin: 24px 0 6px; color: #e4eef9; font-size: 12px; }
.mt-trust-grid p { margin: 0; color: #7690ae; font-size: 9px; }
.mt-cert-panel { margin-top: 12px; }
.mt-cert-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-cert-cloud span { padding: 8px 11px; color: #a9bfd7; border: 1px solid var(--mt-line); border-radius: 5px; background: rgba(255,255,255,.025); font: 700 9px ui-monospace, SFMono-Regular, Menlo, monospace; }

.mt-plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mt-plan-grid article { position: relative; min-height: 336px; display: flex; flex-direction: column; padding: 18px; border-radius: 9px; }
.mt-plan-grid article.is-popular { border-color: rgba(56,217,210,.55); box-shadow: 0 20px 60px rgba(56,217,210,.1); }
.mt-plan-grid article > b { position: absolute; top: 0; right: 18px; padding: 5px 8px; color: #03152a; border-radius: 0 0 5px 5px; background: var(--mt-cyan); font-size: 7px; letter-spacing: .08em; }
.mt-plan-grid article > span { color: var(--mt-cyan); font: 750 8.5px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em; }
.mt-plan-grid h2 { margin: 14px 0 7px; color: #f3f8ff; font: 600 25px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: -.06em; }
.mt-plan-grid h2 small { color: #718aa9; font-size: 9px; letter-spacing: 0; }
.mt-plan-grid p { min-height: 32px; margin: 0; color: #8098b5; font-size: 9.5px; }
.mt-plan-grid ul { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; padding: 14px 0 0; border-top: 1px solid var(--mt-line); list-style: none; }
.mt-plan-grid li { color: #acc0d6; font-size: 9.5px; }
.mt-plan-grid li::before { content: '✓'; margin-right: 8px; color: var(--mt-green); }
.mt-plan-grid .mt-button { width: 100%; margin-top: auto; }
.mt-managed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.mt-managed-grid article { padding: 17px 19px; border-radius: 8px; }
.mt-managed-grid span { display: block; color: #6988ad; font: 750 8px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.mt-managed-grid strong { display: block; margin: 8px 0 6px; color: var(--mt-cyan); font: 650 16px ui-monospace, SFMono-Regular, Menlo, monospace; }
.mt-managed-grid p { margin: 0; color: #778fac; font-size: 9px; }
.mt-payment-note { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding: 14px 17px; border: 1px solid rgba(244,198,109,.22); border-radius: 7px; background: rgba(244,198,109,.055); }
.mt-payment-note > i { color: var(--mt-amber); font-size: 22px; font-style: normal; }
.mt-payment-note b { display: block; color: #d7e2ed; font-size: 10px; }
.mt-payment-note em { color: #7e96b2; font-size: 8.5px; font-style: normal; }

.mt-about-hero { min-height: 370px; display: flex; flex-direction: column; justify-content: flex-end; padding: 52px; margin-bottom: 12px; overflow: hidden; border: 1px solid var(--mt-line); border-radius: 10px; background:
    linear-gradient(90deg, rgba(3,12,35,.97) 8%, rgba(5,18,47,.74) 55%, rgba(3,12,35,.45)),
    url('../martesano-brand.jpg') center / cover no-repeat;
    box-shadow: var(--mt-shadow);
}
.mt-about-hero > span { color: var(--mt-cyan); font: 750 9px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .15em; }
.mt-about-hero h1 { max-width: 720px; margin-top: 12px; font-size: clamp(34px, 5vw, 64px); }
.mt-about-hero p { max-width: 730px; margin: 12px 0 0; color: #aec1d6; font-size: 14px; line-height: 1.7; }
.mt-about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mt-about-grid h2 { margin: 25px 0 9px; color: #e5eff9; font-size: 15px; }
.mt-about-grid p { margin: 0; color: #7890ad; font-size: 9.5px; line-height: 1.65; }
.mt-source-row { display: flex; flex-wrap: wrap; gap: 12px 22px; padding: 18px 4px; color: #6782a3; font-size: 8.5px; }
.mt-source-row a { color: #8eabc9; border-bottom: 1px dotted #537194; }

.mt-modal {
    width: min(700px, calc(100vw - 28px));
    max-height: calc(100vh - 38px);
    padding: 0;
    color: var(--mt-text);
    border: 1px solid var(--mt-line-strong);
    border-radius: 10px;
    background: #071733;
    box-shadow: 0 30px 100px rgba(0,0,0,.6);
}
.mt-modal::backdrop { background: rgba(1,7,22,.78); backdrop-filter: blur(7px); }
.mt-modal form { position: relative; padding: 29px; }
.mt-modal h2 { margin: 6px 0 22px; color: #f2f8ff; font-size: 24px; }
.mt-modal__close { position: absolute; top: 13px; right: 15px; width: 32px; height: 32px; color: #8da5c1; border: 1px solid var(--mt-line); border-radius: 50%; background: #0b2148; cursor: pointer; }
.mt-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mt-form-grid label { display: block; }
.mt-form-grid label.is-wide { grid-column: 1 / -1; }
.mt-form-grid label > span { display: block; margin-bottom: 6px; color: #8fa7c1; font-size: 9px; font-weight: 700; letter-spacing: .035em; }
.mt-app .mt-form-grid input,
.mt-app .mt-form-grid select { height: 40px; padding: 0 11px; font-size: 10px; }
.mt-app .mt-form-grid textarea { padding: 10px 11px; resize: vertical; font-size: 10px; }
.mt-form-grid input:focus,
.mt-form-grid select:focus,
.mt-form-grid textarea:focus { border-color: rgba(56,217,210,.55); box-shadow: 0 0 0 3px rgba(56,217,210,.07); }
.mt-upload { padding: 13px; border: 1px dashed rgba(56,217,210,.28); border-radius: 7px; background: rgba(56,217,210,.035); }
.mt-upload input { padding-top: 8px !important; border: 0 !important; background: transparent !important; }
.mt-upload small { display: block; color: #657e9e; font-size: 8px; }

.mt-toast {
    position: fixed;
    z-index: 100;
    right: 24px;
    bottom: 24px;
    max-width: 360px;
    padding: 13px 17px;
    color: #d8e8f6;
    border: 1px solid rgba(56,217,210,.3);
    border-radius: 7px;
    background: #0b2447;
    box-shadow: var(--mt-shadow);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: .25s ease;
    font-size: 10px;
}
.mt-toast.is-visible { opacity: 1; transform: translateY(0); }
.mt-toast.is-error { border-color: rgba(255,126,120,.35); }
.mt-empty { padding: 38px 20px; color: #718baa; border: 1px dashed var(--mt-line-strong); border-radius: 8px; text-align: center; }

.mt-site-footer { min-height: 116px; display: grid; grid-template-columns: 1fr minmax(260px,.65fr) 1fr; align-items: center; gap: 24px; padding: 22px 34px; color: #7892b2; border-top: 1px solid var(--mt-line); background: #02091c; font-size: 9px; }
.mt-site-footer > div:first-child, .mt-credits { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.mt-site-footer strong { color: #d8e6f3; }
.mt-site-footer a { color: var(--mt-cyan); }
.mt-ad-slot--footer { width: 100%; }
.mt-footer-ad { height: 62px; }
.mt-footer-ad > img { object-position: 66% 58%; }
.mt-footer-ad .mt-ad-shade { background: linear-gradient(90deg,rgba(2,10,29,.9),rgba(2,10,29,.32)); }
.mt-footer-ad .mt-ad-copy { justify-items: center; padding: 8px 12px; text-align: center; }
.mt-footer-ad .mt-ad-copy strong { font-size: 9px; }
.mt-credits { justify-content: flex-end; }

body.martesano-register { margin: 0; color: #f4f8fd; background: #02091c; font-family: Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
body.martesano-register * { box-sizing: border-box; }
body.martesano-register a { color: inherit; text-decoration: none; }
.mt-register-page { min-height: 100vh; background: radial-gradient(circle at 16% 18%,rgba(18,85,146,.27),transparent 30%),radial-gradient(circle at 92% 100%,rgba(18,116,122,.14),transparent 32%),#030b22; }
.mt-register-topbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px max(24px,5vw); border-bottom: 1px solid var(--mt-line); background: rgba(3,11,34,.91); }
.mt-register-logo { display: grid; }
.mt-register-logo > span { width: 190px; height: 43px; display: block; background: url('../martesano-brand.jpg') center/330px auto no-repeat; border-radius: 5px; }
.mt-register-logo small { margin-top: 3px; color: #8facce; font-size: 7px; letter-spacing: .22em; text-align: center; }
.mt-register-topbar > div { display: flex; align-items: center; gap: 14px; color: #7f98b7; font-size: 10px; }
.mt-register-topbar > div a { padding: 10px 15px; color: #031426; border-radius: 6px; background: var(--mt-cyan); font-weight: 800; }
.mt-register-shell { width: min(1360px,calc(100% - 40px)); display: grid; grid-template-columns: minmax(350px,.78fr) minmax(560px,1.22fr); gap: 42px; margin: 0 auto; padding: 58px 0 70px; }
.mt-register-intro { align-self: start; position: sticky; top: 30px; padding: 32px 10px 0; }
.mt-register-intro h1 { max-width: 600px; margin: 10px 0 16px; font-size: clamp(38px,4.2vw,64px); line-height: 1.02; letter-spacing: -.045em; }
.mt-register-intro > p:not(.mt-eyebrow) { max-width: 540px; margin: 0; color: #91a7c2; font-size: 14px; line-height: 1.65; }
.mt-register-intro ul { display: grid; gap: 13px; margin: 28px 0; padding: 0; list-style: none; }
.mt-register-intro li { display: flex; align-items: flex-start; gap: 11px; }
.mt-register-intro li i { width: 26px; height: 26px; display: grid; flex: 0 0 26px; place-items: center; color: #031426; border-radius: 50%; background: var(--mt-green); font-size: 11px; font-style: normal; font-weight: 900; }
.mt-register-intro li strong,.mt-register-intro li small { display: block; }
.mt-register-intro li strong { color: #dfeaf5; font-size: 11px; }
.mt-register-intro li small { margin-top: 2px; color: #728aa8; font-size: 9px; }
.mt-register-pricing { overflow: hidden; border: 1px solid rgba(56,217,210,.28); border-radius: 10px; background: rgba(5,20,49,.8); box-shadow: var(--mt-shadow); }
.mt-register-pricing header { display: flex; justify-content: space-between; padding: 13px 15px; color: var(--mt-cyan); border-bottom: 1px solid var(--mt-line); font: 800 8px ui-monospace,monospace; letter-spacing: .1em; }
.mt-register-pricing header small { color: #7088a8; font-size: 8px; letter-spacing: 0; }
.mt-register-pricing > div { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 15px; color: #869fbc; border-bottom: 1px solid var(--mt-line); font: 700 8px ui-monospace,monospace; }
.mt-register-pricing > div.is-featured { color: var(--mt-cyan); background: rgba(56,217,210,.07); }
.mt-register-pricing > div strong { color: #edf5fc; font-size: 16px; }
.mt-register-pricing > div small { color: #6d85a4; font-size: 7px; }
.mt-register-pricing > a { display: block; padding: 13px 15px; color: var(--mt-cyan); font-size: 9px; font-weight: 800; }
.mt-register-panel { min-width: 0; padding: 34px; border: 1px solid var(--mt-line-strong); border-radius: 13px; background: linear-gradient(145deg,rgba(12,31,67,.94),rgba(5,18,45,.96)); box-shadow: 0 34px 100px rgba(0,0,0,.34); }
.mt-register-panel__heading { padding-bottom: 23px; margin-bottom: 24px; border-bottom: 1px solid var(--mt-line); }
.mt-register-panel__heading span { color: var(--mt-cyan); font: 800 8px ui-monospace,monospace; letter-spacing: .12em; }
.mt-register-panel__heading h2 { margin: 7px 0 5px; font-size: 30px; letter-spacing: -.03em; }
.mt-register-panel__heading p { margin: 0; color: #7e97b4; font-size: 10px; }
.mt-register-panel #buddypress,.mt-register-panel #register-page { margin: 0; padding: 0; background: transparent; }
.mt-register-panel #signup-form .layout-wrap { display: block; }
.mt-register-panel .register-section { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 0 0 25px; padding: 0; border: 0; }
.mt-register-panel .register-section::before { grid-column: 1/-1; margin-bottom: -4px; color: #a8bbd0; font-size: 12px; font-weight: 800; }
.mt-register-panel #basic-details-section::before { content: '01 · Acceso a la cuenta / Account access'; }
.mt-register-panel #profile-details-section::before { content: '02 · Perfil profesional / Professional profile'; }
.mt-register-panel .bb-signup-field,.mt-register-panel .editfield { margin: 0!important; padding: 0!important; background: transparent!important; }
.mt-register-panel .editfield fieldset { margin: 0; padding: 0; border: 0; }
.mt-register-panel label,.mt-register-panel legend { display: block; margin: 0 0 6px; color: #9ab0c9; font-size: 9px; font-weight: 750; }
.mt-register-panel legend { width: 100%; }
.mt-register-panel input[type=email],.mt-register-panel input[type=password],.mt-register-panel input[type=text],.mt-register-panel input[type=url] { width: 100%!important; height: 45px!important; padding: 0 12px!important; color: #ecf5fd!important; border: 1px solid var(--mt-line-strong)!important; border-radius: 7px!important; outline: 0; background: #071833!important; box-shadow: none!important; font-size: 11px!important; }
.mt-register-panel input:focus { border-color: rgba(56,217,210,.58)!important; box-shadow: 0 0 0 3px rgba(56,217,210,.07)!important; }
.mt-register-panel .description { min-height: 28px; margin: -2px 0 5px!important; color: #617b9b!important; font-size: 8px!important; line-height: 1.35; }
.mt-register-panel .bp-optional-field-label { color: #627b99; font-size: 7px; }
.mt-register-panel .field-visibility-settings-toggle,.mt-register-panel .field-visibility-settings,.mt-register-panel .visibility-toggle-link { display: none!important; }
.mt-register-panel .register-privacy-info { margin: 4px 0 18px; color: #758dab; font-size: 9px; }
.mt-register-panel .register-privacy-info a { color: var(--mt-cyan); }
.mt-register-panel #signup_submit { width: 100%; min-height: 50px; color: #031426; border: 0; border-radius: 7px; background: var(--mt-cyan); cursor: pointer; font-size: 11px; font-weight: 900; }
.mt-register-panel .bp-messages,.mt-register-panel .error { padding: 12px; color: #ffd8d5; border: 1px solid rgba(255,126,120,.35); border-radius: 7px; background: rgba(255,126,120,.08); }
.mt-register-footer { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 22px max(24px,5vw); color: #718aa9; border-top: 1px solid var(--mt-line); background: #02091c; font-size: 9px; }
.mt-register-footer > div { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.mt-register-footer strong { color: #dce8f4; }
.mt-register-footer a { color: var(--mt-cyan); }

@media (max-width: 1260px) {
    .mt-sidebar { width: 78px; padding: 14px 8px; }
    .mt-brand { min-height: 70px; padding: 4px; }
    .mt-brand__image { width: 60px; height: 48px; display: grid; place-items: center; background: linear-gradient(145deg, #0b3b78, #071a54); }
    .mt-brand__image::before { content: 'M'; color: #fff; font: italic 38px Georgia, serif; }
    .mt-brand__tag,
    .mt-nav__item em,
    .mt-system,
    .mt-ad-slot--sidebar { display: none; }
    .mt-nav__item { justify-content: center; padding: 0; }
    .mt-nav__item span { width: auto; }
    body.martesano-terminal .mt-main { margin-left: 78px !important; }
    .mt-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mt-trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mt-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mt-plan-grid article { min-height: 315px; }
    .mt-news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mt-member-articles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mt-daily-bar { grid-template-columns: 1fr 230px; }
    .mt-fx-converter { padding-inline: 18px; }
    .mt-top-pricing b { display: none; }
}

@media (max-width: 980px) {
    .mt-market-clock { display: none; }
    .mt-topbar { padding: 0 15px; }
    .mt-topbar__search { width: min(380px, 48vw); }
    .mt-workspace { padding: 24px 18px 50px; }
    .mt-daily-bar { grid-template-columns: 1fr; }
    .mt-news-shortcut { min-height: 42px; grid-template-columns: 24px auto 1fr; column-gap: 8px; padding: 6px 18px; border-top: 1px solid var(--mt-line); border-left: 0; }
    .mt-news-shortcut > span { grid-row: auto; width: 24px; height: 24px; }
    .mt-news-shortcut em { max-width: none; }
    .mt-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mt-grid--charts,
    .mt-grid--feed { grid-template-columns: 1fr; }
    .mt-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mt-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mt-about-grid { grid-template-columns: 1fr; }
    .mt-managed-grid { grid-template-columns: 1fr; }
    .mt-price-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mt-home-commercial { grid-template-columns: 1fr; }
    .mt-news-cover { grid-template-columns: 1fr; }
    .mt-news-secondary { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
    .mt-site-footer { grid-template-columns: 1fr 1fr; }
    .mt-ad-slot--footer { grid-column: 1/-1; grid-row: 1; }
    .mt-register-shell { grid-template-columns: 1fr; max-width: 780px; }
    .mt-register-intro { position: static; padding-top: 0; }
}

@media (max-width: 720px) {
    .mt-sidebar {
        inset: auto 0 0;
        width: 100%;
        height: 66px;
        display: block;
        padding: 6px 4px;
        overflow-x: auto;
        overflow-y: hidden;
        border: 0;
        border-top: 1px solid var(--mt-line);
        scrollbar-width: none;
    }
    .mt-sidebar::-webkit-scrollbar { display: none; }
    .mt-brand,
    .mt-system { display: none; }
    .mt-nav { width: max-content; display: flex; flex-direction: row; gap: 3px; }
    .mt-nav__item { width: 62px; height: 53px; flex: 0 0 62px; }
    .mt-nav__item span { font-size: 19px; }
    body.martesano-terminal .mt-main { margin-left: 0 !important; padding-bottom: 66px; }
    .mt-topbar { height: auto; min-height: 104px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 10px 12px; overflow: hidden; }
    .mt-mobile-brand { display: block; color: #fff; font: italic 22px Georgia, serif; }
    .mt-topbar__actions { justify-content: flex-end; gap: 6px; }
    .mt-topbar__actions .mt-button { min-height: 34px; padding-inline: 10px; font-size: 9px; }
    .mt-topbar__search { grid-column: 1 / -1; grid-row: 2; width: 100%; }
    .mt-topbar__search input { display: block; }
    .mt-user b,
    .mt-icon-button { display: none; }
    .mt-daily-bar { min-height: 0; }
    .mt-fx-converter { padding: 9px 12px 10px; }
    .mt-fx-converter > header { align-items: flex-start; flex-direction: column; gap: 2px; }
    .mt-fx-converter > header > small { font-size: 7px; }
    .mt-fx-form { grid-template-columns: 1fr 1fr 34px; gap: 6px; }
    .mt-fx-form label:first-child { grid-column: 1 / -1; }
    .mt-fx-form label:nth-of-type(2) { grid-column: 1; }
    .mt-fx-swap { grid-column: 3; grid-row: 2; }
    .mt-fx-form label:nth-of-type(3) { grid-column: 2; }
    .mt-fx-result { grid-column: 1 / -1; min-height: 42px; height: auto; }
    .mt-fx-converter > footer { padding-top: 2px; }
    .mt-daily-label { grid-column: 1 / -1; min-width: 0; }
    .mt-news-shortcut { grid-template-columns: 24px auto 1fr; }
    .mt-ticker__label { padding-left: 12px; }
    .mt-workspace { padding: 20px 12px 38px; }
    .mt-heading-row { min-width: 0; align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
    .mt-heading-row > div { width: 100%; min-width: 0; }
    .mt-heading-row h1 { font-size: 27px; }
    .mt-heading-row h1,
    .mt-heading-row p { overflow-wrap: anywhere; }
    .mt-heading-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .mt-heading-actions .mt-button { width: 100%; min-width: 0; padding-inline: 10px; }
    .mt-kpis,
    .mt-product-grid,
    .mt-rfq-grid,
    .mt-service-grid,
    .mt-trust-grid,
    .mt-plan-grid,
    .mt-news-list { grid-template-columns: 1fr; }
    .mt-news-cover { min-height: 0; }
    .mt-news-lead { min-height: 380px; }
    .mt-news-lead > div { padding: 22px; }
    .mt-news-secondary { grid-template-columns: 1fr; }
    .mt-news-masthead { align-items: flex-start; flex-direction: column; }
    .mt-member-articles { grid-template-columns: 1fr; }
    .mt-plan-grid article { min-height: 0; }
    .mt-price-strip { grid-template-columns: 1fr 1fr; }
    .mt-directory-head,
    .mt-pricing-spotlight > header { align-items: flex-start; flex-direction: column; }
    .mt-filterbar { grid-template-columns: 1fr 1fr; }
    .mt-filterbar input { grid-column: 1 / -1; }
    .mt-mini-market > div { grid-template-columns: 34px 1fr auto; }
    .mt-mini-market > div > span:nth-of-type(n+2) { display: none; }
    .mt-event-card { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 13px; }
    .mt-event-card > a { grid-column: 2; justify-self: start; }
    .mt-about-hero { min-height: 390px; padding: 24px; }
    .mt-about-hero h1 { font-size: 34px; }
    .mt-modal { max-height: calc(100vh - 18px); }
    .mt-modal form { padding: 22px 16px; }
    .mt-form-grid { grid-template-columns: 1fr; gap: 10px; }
    .mt-form-grid label.is-wide { grid-column: auto; }
    .mt-toast { right: 12px; bottom: 78px; left: 12px; max-width: none; }
    .mt-ai-catalog { align-items: flex-start; flex-direction: column; }
    .mt-ai-catalog .mt-button { width: 100%; }
    .mt-site-footer { grid-template-columns: 1fr; padding: 22px 16px 88px; }
    .mt-ad-slot--footer { grid-column: auto; grid-row: auto; }
    .mt-credits { justify-content: flex-start; }
    .mt-register-topbar { align-items: flex-start; }
    .mt-register-topbar > div span { display: none; }
    .mt-register-logo > span { width: 150px; background-size: 270px auto; }
    .mt-register-shell { width: min(100% - 24px,780px); padding: 34px 0 45px; }
    .mt-register-intro { padding-inline: 4px; }
    .mt-register-intro h1 { font-size: 39px; }
    .mt-register-panel { padding: 23px 16px; }
    .mt-register-panel .register-section { grid-template-columns: 1fr; }
    .mt-register-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 540px) {
    .mt-topbar__actions .mt-button--primary { display: none; }
    .mt-top-pricing { padding-inline: 9px; }
    .mt-heading-actions { grid-template-columns: 1fr; }
    .mt-heading-actions .mt-button { min-height: 44px; }
    .mt-price-strip { grid-template-columns: 1fr; }
    .mt-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
    .mt-kpis article { min-height: 95px; padding: 13px; }
    .mt-kpis strong { font-size: 24px; }
    .mt-pricing-spotlight { padding: 14px; }
    .mt-news-secondary > a { grid-template-columns: 92px minmax(0,1fr); }
    .mt-news-secondary img, .mt-news-secondary .mt-news-visual-fallback { width: 92px; }
    .mt-register-topbar { padding-inline: 12px; }
    .mt-register-logo > span { width: 125px; background-size: 235px auto; }
    .mt-register-logo small { display: none; }
    .mt-register-intro h1 { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .mt-ticker__track,
    .mt-live,
    .mt-market-clock i,
    .mt-integration-status > i { animation: none; }
    .mt-view { animation: none; }
}
