.portal-body { min-height: 100vh; background: #eef2f7; }
.portal-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; width: 252px; flex-direction: column; padding: 22px 16px 16px; color: #fff; background: linear-gradient(180deg,#0c1929,#07111f 70%); border-right: 1px solid #ffffff0d; }
.portal-logo { display: grid; gap: 4px; }
.portal-logo img { display: block; width: 198px; height: auto; }
.portal-logo small { padding-left: 67px; color: var(--cyan); font-size: .56rem; font-weight: 900; letter-spacing: .22em; }
.portal-sidebar nav { display: grid; align-content: start; gap: 9px; min-height: 0; margin-top: 25px; padding: 0 3px 10px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #294057 transparent; }
.portal-sidebar nav a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 33px; padding: 7px 10px; color: #a4b4c6; border-radius: 7px; font-size: .77rem; line-height: 1.35; font-weight: 600; transition: background-color .16s,color .16s; }
.portal-sidebar nav a svg { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; color: #7890a8; }
.portal-sidebar nav a:hover { color: #eef8ff; background: #ffffff08; }
.portal-sidebar nav a.active { color: #eefaff; background: #59d8f612; }
.portal-sidebar nav a.active::before { position: absolute; inset: 8px auto 8px 0; width: 2px; background: #61d6ff; border-radius: 2px; content: ''; }
.portal-sidebar nav a.active svg { color: #61d6ff; }
.portal-sidebar nav a:focus-visible,.portal-nav-group summary:focus-visible,.portal-nav-toggle:focus-visible { outline: 2px solid #61d6ff; outline-offset: 2px; }
.portal-nav-group { min-width: 0; padding-top: 4px; }
.portal-nav-group + .portal-nav-group { border-top: 1px solid #ffffff0c; }
.portal-nav-group summary { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 7px 10px; color: #71879e; cursor: pointer; list-style: none; font-size: .59rem; line-height: 1.3; font-weight: 750; letter-spacing: .10em; text-transform: uppercase; }
.portal-nav-group summary::-webkit-details-marker { display: none; }
.portal-nav-group summary > span { margin-left: auto; color: #527088; font-size: .56rem; letter-spacing: .04em; }
.portal-nav-group summary::after { width: 5px; height: 5px; margin: -3px 1px 0 2px; border: solid #668198; border-width: 0 1px 1px 0; transform: rotate(45deg); content: ''; }
.portal-nav-group[open] summary::after { margin-top: 2px; transform: rotate(225deg); }
.portal-nav-links { display: grid; gap: 1px; padding-bottom: 5px; }
.portal-sidebar nav .portal-nav-count { width: auto; margin-left: auto; color: #8ccbe0; font-size: .67rem; }
.portal-nav-toggle { display: none; }
.portal-sidebar-bottom { display: grid; flex: 0 0 auto; gap: 10px; margin-top: auto; padding: 16px 12px 2px; color: #8fa2b6; border-top: 1px solid #ffffff0c; font-size: .71rem; }
.environment-badge { width: max-content; padding: 4px 8px; color: #ffd47b; background: rgba(255,190,50,.1); border: 1px solid rgba(255,190,50,.25); border-radius: 6px; font-size: .62rem; font-weight: 900; letter-spacing: .1em; }
.portal-main { margin-left: 252px; padding: 34px 42px 60px; }
.portal-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.portal-topbar p { margin: 0; color: #7b8897; font-size: .78rem; }
.portal-topbar h1 { margin: 1px 0 0; font-size: 2.2rem; letter-spacing: -.05em; }
.portal-user { display: flex; align-items: center; gap: 12px; color: #667486; font-size: .8rem; }
.portal-user button { width: 42px; height: 42px; color: #fff; background: var(--ink); border: 0; border-radius: 12px; font-size: .75rem; font-weight: 900; }
.portal-alert { display: flex; gap: 14px; margin-bottom: 22px; padding: 15px 18px; background: #e7f7ff; border: 1px solid #aedff5; border-radius: 14px; }
.portal-alert > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; color: #0a749e; border: 1px solid #56afd3; border-radius: 50%; font-weight: 900; }
.portal-alert strong { font-size: .84rem; }
.portal-alert p { margin: 2px 0 0; color: #4f6673; font-size: .78rem; }
.danger-alert { background: #fff0f1; border-color: #ffc4c7; }
.danger-alert > span { color: #b31e2c; border-color: #e65b66; }
.portal-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.portal-kpis article { display: flex; gap: 13px; align-items: center; padding: 18px; background: #fff; border: 1px solid #e1e6ed; border-radius: 16px; }
.kpi-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border-radius: 12px; font-weight: 900; }
.kpi-icon.red { color: #dc2b3a; background: #fff0f1; }
.kpi-icon.blue { color: #147da8; background: #e7f7ff; }
.kpi-icon.green { color: #168257; background: #e8faf2; }
.kpi-icon.orange { color: #a56e00; background: #fff6df; }
.portal-kpis small { display: block; color: #7a8796; font-size: .67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.portal-kpis strong { display: block; font-size: 1.35rem; line-height: 1.3; letter-spacing: -.03em; }
.portal-kpis p { margin: 0; color: #8995a3; font-size: .66rem; }
.portal-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.portal-card { padding: 24px; background: #fff; border: 1px solid #e0e5ec; border-radius: 18px; }
.wide-card { grid-column: 1 / -1; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.card-heading small { color: var(--red); font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.card-heading h2 { margin: 3px 0 0; font-size: 1.25rem; letter-spacing: -.03em; }
.status-chip { padding: 5px 9px; border-radius: 7px; font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.status-chip.yellow { color: #856000; background: #fff0bf; }
.status-chip.green { color: #14724d; background: #dff8ed; }
.status-chip.red { color: #a51d2d; background: #fff0f1; }
.status-chip.traffic-light { display: inline-flex; align-items: center; gap: 7px; width: fit-content; max-width: 100%; font-size: .75rem; text-transform: none; line-height: 1.4; white-space: normal; }
.status-chip.traffic-light.orange { color: #8a4900; background: #fff1df; }
.status-chip.traffic-light.green { color: #14724d; background: #dff8ed; }
.status-chip.traffic-light.neutral { color: #526174; background: #eef2f7; }
.traffic-light .traffic-light-dot { width: 9px; height: 9px; flex: 0 0 9px; border: 1px solid currentColor; border-radius: 50%; background: currentColor; }
.provision-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.provision-timeline > div { position: relative; display: grid; gap: 8px; justify-items: center; padding: 0 10px; text-align: center; }
.provision-timeline > div::before { content: ""; position: absolute; left: -50%; right: 50%; top: 17px; height: 2px; background: #dde3ea; }
.provision-timeline > div:first-child::before { display: none; }
.provision-timeline > div > span { position: relative; z-index: 1; display: grid; width: 34px; height: 34px; place-items: center; color: #84909d; background: #fff; border: 2px solid #dbe1e8; border-radius: 50%; font-size: .72rem; font-weight: 900; }
.provision-timeline .done > span { color: #fff; background: var(--green); border-color: var(--green); }
.provision-timeline .current > span { color: #fff; background: var(--red); border-color: var(--red); }
.provision-timeline strong, .provision-timeline small { display: block; }
.provision-timeline strong { font-size: .75rem; }
.provision-timeline small { color: #8b96a3; font-size: .64rem; }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quick-grid button { display: grid; justify-items: start; padding: 15px; color: var(--ink); background: #f4f6f9; border: 1px solid #e3e7ed; border-radius: 12px; text-align: left; }
.quick-grid button > span { color: var(--red); font-size: 1.1rem; }
.quick-grid button strong { margin-top: 5px; font-size: .8rem; }
.quick-grid button small { color: #85919f; font-size: .65rem; }
.resource-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-list div { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: .75rem; }
.resource-list span { color: #6e7b8b; }
.resource-list progress { grid-column: 1 / -1; width: 100%; height: 7px; accent-color: var(--red); }
.crm-table-card { margin-bottom: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .78rem; }
th, td { padding: 13px 10px; border-bottom: 1px solid #e6eaf0; text-align: left; white-space: nowrap; }
th { color: #798695; font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; }
.table-empty { padding: 40px; color: #8c98a6; text-align: center; }
.table-status { display: inline-block; padding: 4px 7px; color: #8a5a00; background: #fff3ce; border-radius: 6px; font-size: .62rem; font-weight: 900; }
.crm-lower-grid { grid-template-columns: 1fr 1fr; }
.gate-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gate-list li { display: flex; gap: 11px; align-items: center; padding: 11px 12px; background: #f5f7f9; border-radius: 11px; }
.gate-list strong, .gate-list small { display: block; }
.gate-list strong { font-size: .76rem; }
.gate-list small { color: #7e8996; font-size: .66rem; }
.gate-list.compact li > span { display: grid; width: 28px; height: 28px; place-items: center; color: var(--red); background: #fff0f1; border-radius: 8px; font-size: .63rem; font-weight: 900; }
.auth-card { max-width: 690px; margin: 40px auto; }
.auth-card > p, .support-card > p, .portal-card > p { color: #657487; line-height: 1.55; }
.portal-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; }
[hidden] { display: none !important; }
.resource-contracts { display: grid; gap: 28px; }
.resource-contract { padding: 22px; border: 1px solid #c9d5e2; border-radius: 18px; background: #f8fbfe; }
.resource-contract-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.resource-contract-title small { color: #52657b; }
.resource-contract-title h3 { margin: 5px 0 0; }
.feature-list { display: grid; gap: 0; }
.feature-row { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid #d8e1eb; }
.feature-row > div { flex: 1; }
.feature-row p { font-size: 13px; margin: 5px 0; }
.feature-row small { color: #52657b; font-size: 11px; }
.feature-row .button { font-size: 12px; padding: 10px 13px; }
.included-label { color: #216a55; font-size: 12px; font-weight: 750; white-space: nowrap; }
.resource-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 18px; }
.resource-item { margin: 12px 0; padding: 16px; background: #fff; border: 1px solid #d4deea; border-radius: 12px; }
.resource-item-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.resource-item-heading strong { overflow-wrap: anywhere; font-size: 14px; }
.resource-item dl { font-size: 12px; }
.resource-item dl div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.resource-item dt { color: #52657b; }
.resource-item dd { margin: 0; overflow-wrap: anywhere; text-align: right; }
.resource-item-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.resource-item-actions .button { font-size: 12px; padding: 9px 12px; }
.mailbox-state { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #52657b; }
.standalone-label { display: grid; max-width: 540px; gap: 7px; font-size: 13px; font-weight: 750; margin: 22px 0; }
.standalone-label select { padding: 12px; border: 1px solid #b8c7d7; border-radius: 10px; font: inherit; color: #142536; background: white; }
.checkout-consent { display: flex !important; align-items: flex-start; gap: 12px; margin: 22px 0; font-size: 13px; line-height: 1.65; color: #31465e; }
.checkout-consent input { width: 18px !important; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.resource-dialog { width: min(620px, calc(100vw - 32px)); max-height: 90vh; overflow: auto; border: 1px solid #bccad9; border-radius: 22px; padding: 28px; color: #122134; background: #fff; box-shadow: 0 25px 100px #07111f55; }
.resource-dialog::backdrop { background: #07111f99; backdrop-filter: blur(5px); }
.resource-dialog h2 { margin: 10px 0; }
.customer-detail-list { display: grid; gap: 0; margin: 0; }
.customer-detail-list div { display: grid; grid-template-columns: minmax(130px, 1fr) 2fr; gap: 16px; padding: 10px 0; border-top: 1px solid #e0e8f0; }
.customer-detail-list dt { color: #647589; font-weight: 750; }
.customer-detail-list dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.mailbox-domain { display: flex; align-items: center; padding-top: 21px; overflow-wrap: anywhere; color: #52657b; }
.server-cockpit { margin-bottom: 18px; overflow: hidden; }
.cockpit-overview { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 30px; align-items: center; padding: 22px; color: #eaf7ff; background: radial-gradient(circle at 14% 18%, #1d4d6b, #0d1c2e 66%); border-radius: 18px; }
.server-art { width: min(100%, 188px); margin: auto; padding: 14px; background: linear-gradient(150deg,#142b42,#081521); border: 2px solid #456783; border-radius: 18px; box-shadow: 0 20px 35px #020a1490,inset 0 0 20px #39b5eb13; }
.server-art-top,.server-art-foot { display: flex; justify-content: space-between; color: #a8e8ff; font-size: .72rem; font-weight: 900; letter-spacing: .14em; }
.server-art-top span { color: #789bb0; font-size: .58rem; }
.server-art-foot { justify-content: center; padding-top: 10px; color: #678ba2; font-size: .55rem; }
.server-slot { display: flex; align-items: center; gap: 5px; height: 29px; margin-top: 9px; padding: 0 9px; background: #0c1b2a; border: 1px solid #41617a; border-radius: 8px; }
.server-slot i { width: 8px; height: 8px; margin-right: auto; border-radius: 50%; background: #47657b; box-shadow: 0 0 0 2px #132d41; }
.server-slot b { width: 5px; height: 5px; border-radius: 50%; background: #38536a; }
.server-art.is-active .server-slot i { background: #61d6ff; animation: server-led-glow 2.8s ease-in-out infinite; }
.server-art.is-active .server-slot b { background: #79c4df; animation: server-led-data 4.2s ease-in-out infinite; }
.server-art.is-active .server-slot:nth-of-type(2) i { animation-delay: -.7s; }
.server-art.is-active .server-slot:nth-of-type(3) i,.server-art.is-active .server-slot b:nth-of-type(2) { animation-delay: -1.5s; }
.server-art.is-active .server-slot:nth-of-type(4) i,.server-art.is-active .server-slot b:nth-of-type(3) { animation-delay: -2.1s; }
@keyframes server-led-glow { 0%,100% { opacity: .48; box-shadow: 0 0 2px #61d6ff44; } 50% { opacity: 1; box-shadow: 0 0 9px #61d6ff99; } }
@keyframes server-led-data { 0%,35%,100% { opacity: .24; } 48%,65% { opacity: 1; } }
.cockpit-status .cockpit-art-note,.cockpit-art-note { color: #8faec3; font-size: .67rem; line-height: 1.5; }
.team-server-overview { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: center; gap: 30px; margin-bottom: 20px; padding: 26px; color: #eef8ff; background: radial-gradient(ellipse at 10% 20%,#163e58,#0d1c2e 75%); border-color: #244459; }
.team-server-overview .server-art { width: 150px; padding: 12px; border-width: 1px; border-radius: 14px; }
.team-server-overview .server-slot { height: 24px; margin-top: 8px; }
.team-server-overview h2 { margin: 6px 0 9px; font-size: 1.65rem; letter-spacing: -.035em; }
.team-server-overview > div > small { color: #7fc7e0; font-size: .59rem; font-weight: 800; letter-spacing: .15em; }
.team-server-overview > div > p { margin: 0 0 16px; color: #b1c6d7; font-size: .83rem; }
.team-server-overview > div > .cockpit-art-note { margin: 13px 0 0; max-width: 620px; color: #819eb3; font-size: .65rem; }
.team-server-overview .button { padding: 10px 14px; font-size: .76rem; }
.cockpit-status { min-width: 0; }
.cockpit-status p { max-width: 690px; color: #bed0de; line-height: 1.55; }
.cockpit-lamp-row { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: 1.28rem; }
.cockpit-lamp { width: 15px; height: 15px; flex: 0 0 auto; border-radius: 50%; background: #748a9c; }
.cockpit-lamp.is-online { background: #46e4a2; box-shadow: 0 0 0 5px #46e4a226,0 0 16px #46e4a2; }
.cockpit-lamp.is-preview { background: #f3bb51; box-shadow: 0 0 0 5px #f3bb5126; }
.cockpit-lamp.is-unknown { background: #ef6570; }
.cockpit-contract-summary { margin-top: 16px; padding-top: 14px; color: #a8dfef; border-top: 1px solid #ffffff29; font-size: .8rem; }
.cockpit-meters { display: grid; gap: 14px; margin-top: 18px; }
.cockpit-contract { padding: 18px; border: 1px solid #d8e3ed; border-radius: 14px; background: #f7fafc; }
.cockpit-contract-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cockpit-contract-head small { color: #5a7084; font-size: .72rem; }
.cockpit-contract-head h3 { margin: 2px 0 0; overflow-wrap: anywhere; }
.cockpit-meter-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 17px; }
.cockpit-meter { min-width: 0; }
.cockpit-meter > div:first-child { display: flex; justify-content: space-between; gap: 10px; font-size: .79rem; }
.cockpit-meter > div:first-child span { text-align: right; color: #50677c; }
.cockpit-meter small { display: block; margin-top: 6px; color: #64788a; font-size: .67rem; overflow-wrap: anywhere; }
.cockpit-track { height: 10px; margin-top: 7px; overflow: hidden; border-radius: 20px; background: #dce5ec; }
.cockpit-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#1d79a7,#41d49e); }
.cockpit-track.is-unmeasured { background: repeating-linear-gradient(135deg,#dce5ec 0 8px,#e9eff4 8px 16px); }
.cockpit-track.is-unmeasured > span { width: 0; }
.app-center-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.app-center-grid article { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; border: 1px solid #d7e1e9; border-radius: 16px; background: #f7fafc; }
.app-center-grid h3 { margin: 0; }
.app-center-grid p { margin: 0; flex: 1; color: #52677b; font-size: .78rem; line-height: 1.55; }
.app-center-grid small { color: #63788a; line-height: 1.5; }
.app-center-icon { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: #123b59; border-radius: 11px; font-weight: 900; }
.app-contract-label { display: grid; width: 100%; gap: 5px; color: #4a6176; font-size: .72rem; font-weight: 750; }
.app-contract-label select { width: 100%; padding: 9px; border: 1px solid #bccbd8; border-radius: 8px; background: #fff; }
@media (max-width: 980px) { .app-center-grid { grid-template-columns: 1fr; } }
@media (max-width: 740px) { .cockpit-overview { grid-template-columns: 1fr; } .cockpit-meter-grid { grid-template-columns: 1fr; } .cockpit-contract-head { align-items: flex-start; flex-direction: column; } }
@media (max-width: 740px) { .server-cockpit .card-heading { gap: 12px; align-items: center; } .server-cockpit .card-heading .button { padding: 10px 12px; font-size: .74rem; white-space: nowrap; } .server-cockpit .card-heading h2 { font-size: 1.12rem; } .server-cockpit .card-heading small { font-size: .5rem; letter-spacing: .1em; } }
@media (prefers-reduced-motion: reduce) { .server-art.is-active .server-slot i,.server-art.is-active .server-slot b { animation: none; } .portal-sidebar nav a { transition: none; } }
@media (max-width: 740px) { .resource-lists { grid-template-columns: 1fr; } .resource-contract { padding: 16px; } .feature-row { flex-wrap: wrap; } .feature-row > div { min-width: calc(100% - 65px); } .feature-row > .button { margin-left: 56px; } .resource-contract-title { align-items: flex-start; } .resource-dialog { padding: 20px; } }
.portal-form label { display: grid; gap: 7px; color: #314155; font-size: .8rem; font-weight: 800; }
.portal-form .full { grid-column: 1 / -1; }
.portal-form input, .portal-form select, .portal-form textarea { width: 100%; padding: 12px 13px; color: #172a3d; background: #f7f9fc; border: 1px solid #cdd8e3; border-radius: 10px; font: inherit; font-weight: 500; }
.portal-form textarea { resize: vertical; min-height: 100px; }
.portal-form button { width: fit-content; }
.form-feedback { min-height: 1.5em; color: #a12638; font-size: .8rem; }
.portal-stack { display: grid; gap: 9px; }
.portal-stack > p, .small-note { color: #657487; font-size: .8rem; }
.portal-list-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; width: 100%; padding: 13px 15px; color: #142638; background: #f5f8fb; border: 1px solid #e0e8f0; border-radius: 10px; text-align: left; }
.portal-list-item strong { overflow-wrap: anywhere; font-size: .82rem; }
.portal-list-item span { color: #a82435; font-size: .73rem; font-weight: 800; }
.portal-list-item small { grid-column: 1 / -1; color: #647589; font-size: .72rem; }
button.portal-list-item { cursor: pointer; }
button.portal-list-item:hover { border-color: #71bedb; background: #eaf7fd; }
.support-card { margin-top: 18px; }
.support-card h3, .ticket-detail h3 { margin: 26px 0 13px; font-size: 1.05rem; }
.ticket-detail { margin-top: 24px; padding-top: 18px; border-top: 1px solid #dce5ef; }
.ticket-messages { display: grid; gap: 10px; margin: 18px 0; }
.ticket-message { max-width: 85%; padding: 13px 16px; background: #edf4fa; border-radius: 12px; }
.ticket-message.from-support { margin-left: auto; background: #fff1f2; }
.ticket-message small { color: #6a7d90; font-size: .68rem; font-weight: 800; }
.ticket-message p { margin: 7px 0 0; color: #203449; line-height: 1.5; overflow-wrap: anywhere; }
.portal-user #portal-logout, .portal-user #admin-logout { width: auto; min-width: 80px; padding: 0 12px; cursor: pointer; }
.directory-own-list { display: grid; gap: 16px; }
.directory-own-card { padding: 18px; background: #f7f9fc; border: 1px solid #dce5ef; border-radius: 14px; }
.directory-own-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 14px; }
.directory-own-head strong, .directory-own-head small { display: block; overflow-wrap: anywhere; }
.directory-own-head small { margin-top: 4px; color: #647589; }
.directory-own-card .portal-form { align-items: start; }
.directory-own-card textarea { min-height: 105px; }
.directory-own-card .button { justify-self: start; }

@media (max-width: 1050px) {
  .portal-kpis { grid-template-columns: repeat(2, 1fr); }
  .portal-grid { grid-template-columns: 1fr; }
  .wide-card { grid-column: auto; }
}
@media (max-width: 760px) {
  .portal-sidebar { position: static; width: 100%; padding: 18px; border-right: 0; border-bottom: 1px solid #ffffff12; }
  .portal-nav-toggle { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 18px; padding: 13px 16px; color: #fff; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; font: inherit; font-weight: 800; }
  .portal-sidebar nav { display: none; grid-template-columns: 1fr; max-height: min(68dvh,600px); margin-top: 12px; padding: 0 2px 4px; }
  .portal-sidebar nav.open { display: grid; }
  .portal-sidebar nav a { justify-content: flex-start; min-height: 44px; font-size: .82rem; }
  .portal-nav-group summary { min-height: 40px; }
  .team-server-overview { grid-template-columns: 116px minmax(0,1fr); gap: 18px; padding: 20px; }
  .team-server-overview .server-art { width: 116px; padding: 10px; }
  .team-server-overview .server-art-top { font-size: .57rem; }
  .team-server-overview .server-art-top span { font-size: .42rem; }
  .team-server-overview .server-slot { height: 20px; padding: 0 6px; gap: 4px; }
  .team-server-overview h2 { font-size: 1.32rem; }
  .portal-sidebar-bottom { display: none; }
  .portal-main { margin-left: 0; padding: 24px 18px 50px; }
  .provision-timeline { grid-template-columns: 1fr; gap: 15px; }
  .provision-timeline > div { grid-template-columns: 40px 1fr; justify-items: start; text-align: left; }
  .provision-timeline > div::before { display: none; }
  .resource-list { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .portal-sidebar nav { grid-template-columns: 1fr; }
  .portal-kpis { grid-template-columns: 1fr; }
  .portal-topbar { align-items: flex-start; }
  .portal-user span { display: none; }
  .quick-grid { grid-template-columns: 1fr; }
  .portal-form { grid-template-columns: 1fr; }
  .portal-form .full { grid-column: auto; }
  .ticket-message { max-width: 100%; }
}
