@font-face {
  font-family: Unbounded;
  src: url("assets/brand/unbounded.ttf") format("truetype");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #2c4052;
  --blue: #173e5a;
  --red: #476b83;
  --ice: #b0c9cd;
  --muted: #657a8d;
  --line: #d8e2e5;
  --display: Unbounded, Manrope, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  min-width: 280px;
  background: #edf1f3;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    14px/1.5 Manrope,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a,
button,
input {
  outline-offset: 5px;
}
:focus-visible {
  outline: 3px solid var(--red);
}
[hidden] {
  display: none !important;
}
.portal-shell {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow: clip;
  padding: 22px;
  background:
    radial-gradient(ellipse at 100% 5%, #ccd8e2 0, transparent 47%),
    radial-gradient(ellipse at 0% 80%, #cbdde5 0, transparent 58%),
    linear-gradient(115deg, #e0e8ed, #f1f3f3 53%, #dde5eb);
}
.portal-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: clip;
  pointer-events: none;
}
.portal-atmosphere::before {
  content: "";
  position: absolute;
  right: -210px;
  top: 260px;
  width: 1180px;
  height: 604px;
  background: url("assets/brand/zap-loop.svg") center/contain no-repeat;
  opacity: 0.62;
}
.portal-atmosphere::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -95px;
  width: 260px;
  height: 260px;
  background: url("assets/brand/sun-steel.svg") center/contain no-repeat;
  opacity: 0.12;
}
.portal-atmosphere i {
  position: absolute;
  right: 21%;
  top: -105px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #b6cbd777,
    #d5e0e733 60%,
    transparent 71%
  );
}
.portal-layout {
  position: relative;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 32px;
  max-width: 1640px;
  margin: auto;
}
.portal-sidebar {
  position: sticky;
  top: 22px;
  height: calc(100dvh - 44px);
  min-height: 450px;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: clip;
  border: 1px solid #ffffff;
  border-radius: 28px;
  padding: 29px 14px 18px;
  background: linear-gradient(165deg, #ffffffef, #f7fafcf0 58%, #dee8eee8);
  color: var(--ink);
  box-shadow:
    0 12px 32px #829ba51a,
    inset 0 1px #fff;
}
.portal-sidebar-symbol {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 58px;
  margin: 0 15px;
  width: fit-content;
  color: var(--blue);
  font: 500 25px/1 var(--display);
  letter-spacing: -1px;
}
.portal-sidebar-symbol img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.portal-side-navigation {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 43px;
}
.portal-side-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border-radius: 13px;
  color: #526b80;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  text-align: left;
  background: transparent;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.portal-side-link [data-icon] {
  display: flex;
  flex-shrink: 0;
}
.portal-side-link svg {
  width: 19px;
  height: 19px;
}
.portal-side-link:hover {
  background: #e3edf1;
  color: var(--blue);
}
.portal-side-link.is-current {
  color: var(--blue);
  background: linear-gradient(100deg, #dce7ee, #edf2f6);
  box-shadow:
    inset 0 0 0 1px #bfd0dc,
    0 5px 12px #45607809;
}
.portal-side-link.is-current::after {
  content: "";
  position: absolute;
  right: 11px;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}
.portal-sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.portal-settings-button {
  border: 1px solid #d3e1e6;
  background: #ffffffab;
}
.portal-sidebar-lines {
  position: absolute;
  z-index: -1;
  width: 225px;
  height: 365px;
  left: -35px;
  bottom: 105px;
  background: url("assets/brand/oval-pair.svg") center/contain no-repeat;
  opacity: 0.65;
  pointer-events: none;
}
.portal-sidebar-lines::after {
  content: "";
  position: absolute;
  left: 90px;
  top: 145px;
  width: 61px;
  height: 61px;
  background: url("assets/brand/sun-steel.svg") center/contain no-repeat;
  opacity: 0.5;
}
.portal-canvas {
  min-width: 0;
  padding: 16px 12px 32px 0;
}
.portal-masthead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 46px;
  margin-bottom: 23px;
}
.portal-masthead h1 {
  font: 450 clamp(22px, 2.1vw, 30px) / 1.25 var(--display);
  letter-spacing: -1px;
  color: var(--blue);
}
.portal-masthead::after {
  content: "";
  height: 1px;
  flex: 1;
  order: 1;
  background: linear-gradient(90deg, #b0c9cd88, transparent);
  margin-left: 14px;
}
.portal-current-date {
  order: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
  padding: 9px 14px;
  border: 1px solid #ffffffbc;
  border-radius: 40px;
  background: #ffffff73;
  box-shadow: 0 3px 12px #8fa6b30a;
}
.portal-current-date strong {
  font-weight: 700;
  color: #445f76;
}
.portal-current-date span {
  border-left: 1px solid #bdcfd6;
  padding-left: 10px;
}
.portal-main {
  position: relative;
  min-width: 0;
  outline: none;
}
.portal-dayboard {
  position: relative;
  isolation: isolate;
  margin-bottom: 28px;
  padding: 14px;
  border: 1px solid #ffffffdf;
  border-radius: 27px;
  background: linear-gradient(115deg, #cadce5c9, #e8eef1e6 55%, #cbd9e29c);
  box-shadow:
    0 12px 24px #7897a40c,
    inset 0 1px #fff;
}
.portal-dayboard::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 18px;
  top: -40px;
  width: 270px;
  height: 140px;
  background: url("assets/brand/zap-loop.svg") center/contain no-repeat;
  opacity: 0.55;
  pointer-events: none;
}
.portal-summary {
  display: grid;
  grid-template-columns: 1.25fr 1.2fr 0.8fr;
  gap: 12px;
}
.portal-brief {
  position: relative;
  isolation: isolate;
  min-width: 0;
  overflow: clip;
  padding: 20px 22px;
  border-radius: 17px;
  border: 1px solid #fffffff5;
  background: linear-gradient(125deg, #ffffffed, #f4fafbd9);
  box-shadow: 0 4px 10px #7b99a30a;
}
.portal-plan {
  background: linear-gradient(130deg, #fffffff5, #f0f4f7ef);
}
.portal-notifications {
  background: linear-gradient(125deg, #fafcfff0, #e8eff5ed);
}
.portal-brief::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  right: -18px;
  bottom: -25px;
  width: 135px;
  height: 105px;
  background: url("assets/brand/oval-pair.svg") center/contain no-repeat;
  opacity: 0.6;
}
.portal-plan::after {
  right: 0;
  bottom: -15px;
  width: 150px;
  background-image: url("assets/brand/zap-loop.svg");
  opacity: 0.36;
}
.portal-notifications::after {
  right: -14px;
  bottom: -20px;
  width: 90px;
  height: 90px;
  background-image: url("assets/brand/sun-steel.svg");
  opacity: 0.12;
}
.portal-brief-heading {
  margin-bottom: 15px;
}
.portal-brief-heading h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  color: #354d6b;
}
.portal-brief-heading svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #8aa6b6;
}
.portal-empty-value,
.portal-notification-value strong {
  font: 350 31px/1.1 var(--display);
  color: #637f97;
}
.portal-notification-value strong:not([aria-label]) {
  color: #355f7b;
}
.portal-brief-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.portal-task-link {
  display: block;
  border-radius: 4px;
}
.portal-item-title {
  display: block;
  color: #314b65;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 650;
}
.portal-date {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  color: #74899b;
}
.portal-tasks li:first-child .portal-date {
  color: #355f7b;
}
.portal-task-link:hover .portal-item-title {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.portal-service-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 21px;
}
.portal-service-grid::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 28px;
  right: 28px;
  top: 20px;
  bottom: -18px;
  border: 1px solid #ffffffad;
  border-radius: 32px;
  background: linear-gradient(125deg, #ffffff77, #c7dfe440);
  box-shadow: 0 15px 35px #6d8f9b09;
  transform: rotate(-1deg);
  pointer-events: none;
}
.portal-service-grid::after {
  content: none;
  position: absolute;
  z-index: -1;
  right: -29px;
  bottom: -45px;
  width: 360px;
  height: 195px;
  background: url("assets/brand/zap-loop.svg") center/contain no-repeat;
  opacity: 0.7;
  pointer-events: none;
}
.portal-service-card {
  grid-column: span 2;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 13px 13px 0;
  border-radius: 24px;
  border: 1px solid #fff;
  background: linear-gradient(145deg, #fffffff5, #f6fbfcec);
  box-shadow:
    0 10px 24px #647f8b12,
    inset 0 1px #fff;
  transition:
    transform 0.22s,
    box-shadow 0.22s,
    border-color 0.22s;
}
.portal-service-grid[data-count="5"] .portal-service-card:nth-child(n + 4) {
  grid-column: span 3;
}
.portal-service-grid[data-count="4"] .portal-service-card,
.portal-service-grid[data-count="2"] .portal-service-card {
  grid-column: span 3;
}
.portal-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 17px 35px #647f8b26;
  border-color: #d0e4eb;
}
.portal-service-card:active {
  transform: translateY(-1px);
}
.portal-card-stage {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: clip;
  height: 166px;
  border-radius: 15px;
  background: #e8f1f5;
  box-shadow: inset 0 0 0 1px #00002e06;
}
.portal-card-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #ffffff44;
  border-radius: inherit;
  pointer-events: none;
}
.portal-service-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.portal-service-card:hover .portal-service-image {
  transform: scale(1.025);
}
.portal-service-passport .portal-service-image {
  object-position: 30% 50%;
}
.portal-service-crm .portal-service-image {
  object-position: 26% 45%;
}
.portal-service-map .portal-service-image {
  object-position: 18% 45%;
}
.portal-service-control .portal-service-image {
  object-position: 50% 25%;
}
.portal-service-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 13px 7px 15px;
  color: var(--blue);
}
.portal-service-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font: 450 14px/1.4 var(--display);
  letter-spacing: -0.5px;
}
.portal-service-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-left: auto;
  border: 1px solid #cbdbe0;
  border-radius: 50%;
  background: #f1f7f8;
  color: #4f7187;
  transition:
    background 0.2s,
    color 0.2s;
}
.portal-service-arrow svg {
  width: 16px;
  height: 16px;
}
.portal-service-card:hover .portal-service-arrow {
  background: #dce8f0;
  color: var(--blue);
  border-color: #b8cedb;
}
.portal-unread-badge {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  font:
    700 10px/1 Manrope,
    sans-serif;
  background: #dce8f0;
  color: #315874;
  border-radius: 7px;
  letter-spacing: 0;
}
.portal-service-profile {
  background: linear-gradient(145deg, #fafcfd, #eff3f6);
}
.portal-service-crm {
  background: linear-gradient(145deg, #fbfeff, #edf5fc);
}
.portal-service-map {
  background: linear-gradient(145deg, #fff, #edf3f5);
}
.portal-service-control {
  background: linear-gradient(145deg, #fff, #eaf0f5);
}
.portal-profile-art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 15px 18px;
  background:
    radial-gradient(ellipse at 20% 0, #fff9e7, transparent 70%), #e8e7d9;
  color: #343930;
}
.portal-profile-symbol {
  width: 64px;
  height: 77px;
  object-fit: contain;
}
.portal-profile-wordmark {
  font:
    34px/1.05 Georgia,
    serif;
  letter-spacing: -1.3px;
}
.portal-profile-wordmark strong {
  display: block;
  font:
    650 20px/1.2 Manrope,
    sans-serif;
  letter-spacing: 2px;
  margin-top: 4px;
}
.portal-profile-loop {
  position: absolute;
  right: -20px;
  top: 0;
  width: 220px;
  height: 190px;
  opacity: 0.3;
  pointer-events: none;
}
.portal-external-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.portal-external-grid::before {
  content: none;
  position: absolute;
  z-index: -1;
  right: -30px;
  top: 50px;
  width: 330px;
  height: 600px;
  background: url("assets/brand/oval-pair.svg") center/contain no-repeat;
  opacity: 0.65;
}
.portal-external-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: clip;
  padding: 13px 13px 0;
  border-radius: 24px;
  background: #ffffffdc;
  border: 1px solid #fff;
  box-shadow: 0 10px 24px #647f8b12;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.portal-external-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 17px 35px #647f8b26;
}
.portal-external-art {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 146px;
  min-height: 0;
  padding: 28px;
  background: #f1f6fa;
  border-radius: 15px;
}
.portal-external-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -30px -30px -60px auto;
  width: 160px;
  background: url("assets/brand/oval-pair.svg") center/contain no-repeat;
  opacity: 0.3;
}
.portal-external-art img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.portal-external-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 16px 7px;
  font: 450 14px/1.4 var(--display);
  color: var(--blue);
}
.portal-external-caption svg {
  width: 17px;
  height: 17px;
  color: #819aa9;
}
.portal-external-card:hover .portal-external-caption svg {
  color: var(--blue);
}
.portal-external-egisso .portal-external-art {
  background: linear-gradient(135deg, #edf3f7, #e0eaf1);
}
.portal-external-egisso .portal-external-art img {
  height: 70px;
}
.portal-external-ecp .portal-external-art {
  background: linear-gradient(135deg, #f4f7f9, #e2eaf0);
  padding: 28px 22px;
}
.portal-external-ecp .portal-external-art img {
  width: 100%;
}
.portal-external-pgs .portal-external-art,
.portal-external-pos .portal-external-art {
  background: linear-gradient(135deg, #f1f8ff, #e4eff9);
}
.portal-external-pos .portal-external-art img {
  height: 70px;
}
.portal-external-sed .portal-external-art {
  background: linear-gradient(135deg, #f1f5f7, #e1ebed);
}
.portal-external-garant .portal-external-art {
  background: linear-gradient(135deg, #f5f7f9, #e2e9ef);
}
.portal-frgu-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  font:
    700 42px/1 Manrope,
    sans-serif;
  color: #0d4cd3;
}
.portal-frgu-mark img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.portal-guide-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  margin: 4px 0 24px;
}
.portal-guide-back:hover {
  text-decoration: underline;
}
.portal-guide {
  max-width: 1050px;
}
.portal-guide-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.portal-guide-heading h1 {
  font: 500 26px/1.3 var(--display);
  letter-spacing: -0.8px;
}
.portal-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid #bfcbd6;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  background: #fff;
  color: var(--blue);
}
.portal-inline-button:hover {
  border-color: var(--blue);
}
.portal-guide-sections {
  padding: 12px 30px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e1e8ed;
}
.portal-guide-section {
  padding: 25px 0;
}
.portal-guide-section + .portal-guide-section {
  border-top: 1px solid var(--line);
}
.portal-guide-section h2 {
  font: 450 16px/1.5 var(--display);
  margin-bottom: 14px;
}
.portal-guide-section p,
.portal-guide-section li {
  font-size: 14px;
  line-height: 1.8;
  color: #424d61;
}
.portal-guide-section ol {
  padding-left: 21px;
  margin: 10px 0 0;
}
.portal-guide-section li + li {
  margin-top: 8px;
}
.portal-access-empty,
.portal-guide-empty {
  padding: 50px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: center;
  background: #fff;
}
.portal-access-empty h1,
.portal-access-empty h2,
.portal-guide-empty h1 {
  font: 450 22px/1.5 var(--display);
  margin: 15px 0;
}
.portal-empty-mark {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #e8eff4;
  color: var(--blue);
}
.portal-empty-mark svg {
  width: 25px;
  height: 25px;
}
.portal-settings-dialog {
  padding: 0;
  border: 1px solid #ffffff66;
  border-radius: 24px;
  width: min(470px, calc(100% - 30px));
  max-height: calc(100dvh - 40px);
  color: var(--ink);
  background: #f7fafb;
  box-shadow: 0 30px 100px #00002e55;
}
.portal-settings-dialog::backdrop {
  background: #00002e77;
  backdrop-filter: blur(6px);
}
.portal-dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
}
.portal-dialog-heading h2 {
  font: 450 19px/1.4 var(--display);
}
.portal-dialog-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e8eef2;
  font-size: 25px;
  line-height: 1;
}
.portal-dialog-body {
  padding: 22px 26px;
}
.portal-options {
  padding: 0;
  margin: 0;
  border: 0;
}
.portal-options + .portal-options {
  margin-top: 26px;
}
.portal-options legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}
.portal-option {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
  font-size: 14px;
  cursor: pointer;
}
.portal-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  margin: 0;
}
.portal-dialog-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
}
.portal-settings-reset,
.portal-settings-done {
  padding: 12px 19px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
}
.portal-settings-reset {
  background: #e5ecef;
}
.portal-settings-done {
  color: #fff;
  background: var(--blue);
}
.portal-settings-done:hover {
  background: #234e6c;
}
.portal-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.portal-skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 16px;
  transform: translateY(-180%);
  padding: 12px 18px;
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 10px;
}
.portal-skip-link:focus {
  transform: translateY(0);
}
.portal-noscript {
  padding: 24px;
}

@media (min-width: 1500px) {
  .portal-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
  }
  .portal-canvas {
    padding: 22px 20px 35px 0;
  }
  .portal-card-stage {
    height: 190px;
  }
  .portal-service-grid {
    gap: 24px;
  }
  .portal-service-name {
    font-size: 16px;
  }
  .portal-external-art {
    height: 170px;
  }
  .portal-dayboard {
    margin-bottom: 30px;
  }
  .portal-masthead {
    margin-bottom: 27px;
  }
}
@media (max-width: 1150px) {
  .portal-layout {
    grid-template-columns: 182px minmax(0, 1fr);
    gap: 24px;
  }
  .portal-sidebar {
    padding-inline: 11px;
  }
  .portal-side-link {
    font-size: 11px;
    padding: 14px 12px;
    gap: 10px;
  }
  .portal-side-link.is-current::after {
    right: 8px;
  }
  .portal-sidebar-symbol {
    margin-inline: 10px;
  }
  .portal-canvas {
    padding-right: 0;
  }
  .portal-service-grid {
    gap: 16px;
  }
  .portal-card-stage {
    height: 150px;
  }
  .portal-service-name {
    font-size: 12px;
  }
  .portal-service-caption {
    min-height: 61px;
    padding-inline: 3px;
  }
  .portal-service-arrow {
    width: 29px;
    height: 29px;
  }
  .portal-profile-wordmark {
    font-size: 29px;
  }
  .portal-profile-symbol {
    width: 50px;
  }
  .portal-profile-art {
    gap: 10px;
  }
  .portal-brief {
    padding: 18px 15px;
  }
  .portal-summary {
    gap: 10px;
  }
  .portal-dayboard {
    padding: 11px;
  }
  .portal-current-date span {
    display: none;
  }
  .portal-external-grid {
    gap: 16px;
  }
  .portal-external-art {
    padding: 22px;
    height: 135px;
  }
  .portal-external-caption {
    font-size: 13px;
  }
  .portal-masthead::after {
    margin-left: 0;
  }
}
@media (max-width: 900px) {
  .portal-shell {
    padding: 14px;
  }
  .portal-layout {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 20px;
  }
  .portal-sidebar {
    top: 14px;
    height: calc(100dvh - 28px);
    border-radius: 23px;
    padding: 24px 9px 15px;
  }
  .portal-sidebar-symbol {
    gap: 5px;
    font-size: 20px;
    margin: 0 7px;
  }
  .portal-sidebar-symbol img {
    width: 43px;
    height: 50px;
  }
  .portal-side-link {
    padding: 13px 10px;
    gap: 8px;
    font-size: 11px;
  }
  .portal-side-link.is-current::after {
    right: 6px;
    width: 4px;
    height: 4px;
  }
  .portal-side-navigation {
    margin-top: 32px;
  }
  .portal-canvas {
    padding-top: 12px;
  }
  .portal-masthead h1 {
    font-size: 24px;
  }
  .portal-masthead::after {
    display: none;
  }
  .portal-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-service-grid[data-count] .portal-service-card:nth-child(n) {
    grid-column: auto;
  }
  .portal-service-grid[data-count="5"] .portal-service-card:last-child {
    grid-column: 1/-1;
  }
  .portal-card-stage {
    height: 165px;
  }
  .portal-summary {
    grid-template-columns: 1fr 1fr;
  }
  .portal-notifications {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
  }
  .portal-notifications .portal-brief-heading {
    margin: 0;
  }
  .portal-notification-value strong {
    font-size: 24px;
  }
  .portal-notifications::after {
    right: 50px;
    bottom: -36px;
  }
  .portal-brief-heading h2 {
    font-size: 11px;
  }
  .portal-external-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .portal-guide-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }
  .portal-guide-heading h1 {
    font-size: 23px;
  }
  .portal-guide-sections {
    padding-inline: 22px;
  }
  .portal-atmosphere::before {
    right: -300px;
    top: 220px;
    width: 790px;
    height: 405px;
  }
}
@media (max-width: 650px) {
  .portal-shell {
    padding: 10px;
  }
  .portal-layout {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
  }
  .portal-sidebar {
    top: 10px;
    height: calc(100dvh - 20px);
    min-height: 420px;
    border-radius: 20px;
    padding: 19px 7px 12px;
  }
  .portal-sidebar-symbol {
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    margin: 0 auto;
    font-size: 17px;
  }
  .portal-sidebar-symbol img {
    width: 42px;
    height: 42px;
  }
  .portal-side-navigation {
    margin-top: 25px;
    gap: 9px;
  }
  .portal-side-link {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 7px;
    font-size: 10px;
    padding: 12px 4px;
    min-height: 69px;
    border-radius: 11px;
  }
  .portal-side-link.is-current::after {
    right: 5px;
    top: 9px;
  }
  .portal-side-link svg {
    width: 20px;
    height: 20px;
  }
  .portal-sidebar-bottom {
    padding-top: 20px;
  }
  .portal-sidebar-lines {
    width: 155px;
    height: 235px;
    left: -60px;
    bottom: 140px;
  }
  .portal-sidebar-lines::after {
    left: 82px;
    top: 106px;
    width: 43px;
    height: 43px;
  }
  .portal-canvas {
    padding-top: 10px;
  }
  .portal-masthead {
    align-items: flex-start;
    gap: 9px;
    flex-direction: column;
    margin-bottom: 19px;
    min-height: 0;
  }
  .portal-masthead h1 {
    font-size: 21px;
    letter-spacing: -0.7px;
  }
  .portal-current-date {
    font-size: 11px;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .portal-current-date span {
    display: block;
  }
  .portal-dayboard {
    padding: 8px;
    border-radius: 21px;
    margin-bottom: 20px;
  }
  .portal-brief {
    padding: 15px 13px;
  }
  .portal-brief-heading {
    margin-bottom: 10px;
  }
  .portal-brief-heading h2 {
    font-size: 10px;
    gap: 6px;
    align-items: flex-start;
  }
  .portal-brief-heading svg {
    width: 14px;
    height: 14px;
  }
  .portal-empty-value {
    font-size: 24px;
  }
  .portal-notifications {
    padding: 12px 14px;
  }
  .portal-brief-list {
    gap: 10px;
  }
  .portal-item-title {
    font-size: 11px;
  }
  .portal-date {
    font-size: 10px;
  }
  .portal-service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .portal-service-grid[data-count="5"] .portal-service-card:last-child {
    grid-column: auto;
  }
  .portal-service-grid::before {
    left: 12px;
    right: 8px;
    bottom: -12px;
    transform: rotate(-0.8deg);
  }
  .portal-service-card {
    padding: 10px 10px 0;
    border-radius: 21px;
  }
  .portal-card-stage {
    height: 174px;
    border-radius: 13px;
  }
  .portal-service-name {
    font-size: 14px;
  }
  .portal-service-caption {
    min-height: 62px;
    padding: 13px 3px;
  }
  .portal-external-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .portal-external-card {
    padding: 10px 10px 0;
    border-radius: 21px;
  }
  .portal-external-art {
    height: 132px;
    padding: 22px;
    border-radius: 13px;
  }
  .portal-external-caption {
    font-size: 14px;
    min-height: 59px;
    padding: 14px 4px;
  }
  .portal-frgu-mark {
    font-size: 36px;
  }
  .portal-guide-back {
    font-size: 11px;
    margin-bottom: 18px;
  }
  .portal-guide-heading h1 {
    font-size: 19px;
    overflow-wrap: anywhere;
  }
  .portal-guide-section h2 {
    font-size: 14px;
  }
  .portal-guide-section p,
  .portal-guide-section li {
    font-size: 13px;
  }
  .portal-guide-sections {
    padding-inline: 17px;
  }
  .portal-guide-section {
    padding-block: 19px;
  }
  .portal-access-empty,
  .portal-guide-empty {
    padding: 28px 15px;
  }
  .portal-access-empty h1,
  .portal-access-empty h2,
  .portal-guide-empty h1 {
    font-size: 16px;
  }
  .portal-inline-button {
    font-size: 11px;
    padding: 10px 12px;
  }
}
@media (max-width: 460px) {
  .portal-summary {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .portal-brief {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 63px;
    padding: 13px;
  }
  .portal-brief:has(.portal-brief-list) {
    display: block;
  }
  .portal-brief-heading {
    margin: 0;
  }
  .portal-brief-heading h2 {
    font-size: 11px;
    align-items: center;
  }
  .portal-brief-list {
    margin-top: 12px;
  }
  .portal-notifications {
    grid-column: auto;
  }
  .portal-brief::after {
    width: 94px;
    right: 16px;
    bottom: -35px;
    opacity: 0.4;
  }
  .portal-notifications::after {
    width: 60px;
    bottom: -26px;
    opacity: 0.1;
  }
  .portal-card-stage {
    height: 156px;
  }
  .portal-service-name {
    font-size: 12px;
  }
  .portal-service-arrow {
    width: 27px;
    height: 27px;
  }
  .portal-service-caption {
    gap: 6px;
  }
  .portal-service-card {
    padding: 9px 9px 0;
  }
  .portal-profile-wordmark {
    font-size: 27px;
  }
  .portal-profile-symbol {
    width: 44px;
  }
  .portal-profile-art {
    gap: 9px;
    padding-inline: 10px;
  }
}
@media (max-width: 370px) {
  .portal-shell {
    padding: 8px;
  }
  .portal-layout {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }
  .portal-sidebar {
    top: 8px;
    height: calc(100dvh - 16px);
    padding-inline: 6px;
  }
  .portal-side-link {
    font-size: 9.5px;
    padding-inline: 3px;
  }
  .portal-masthead h1 {
    font-size: 17px;
  }
  .portal-current-date span {
    display: none;
  }
  .portal-card-stage {
    height: 138px;
  }
  .portal-service-name {
    font-size: 11px;
  }
  .portal-service-caption {
    min-height: 58px;
    padding-inline: 1px;
  }
  .portal-profile-symbol {
    width: 35px;
  }
  .portal-profile-wordmark {
    font-size: 23px;
  }
  .portal-profile-wordmark strong {
    font-size: 16px;
  }
  .portal-external-caption {
    font-size: 12px;
  }
  .portal-dialog-heading,
  .portal-dialog-body,
  .portal-dialog-actions {
    padding-inline: 20px;
  }
  .portal-dialog-heading h2 {
    font-size: 16px;
  }
  .portal-brief-heading h2 {
    font-size: 10px;
  }
  .portal-brief {
    padding: 11px;
    gap: 6px;
  }
  .portal-dayboard {
    padding: 6px;
  }
  .portal-empty-value,
  .portal-notification-value strong {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
