@font-face {
    font-family: "Manrope";
    src: url("fonts/Manrope.ttf") format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: block;
}

:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray-light: #D9D9D9;
    --gray: #9D9D9D;
    --gray-dark: #595959;
    --gray-darkest: #313131;
}

html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    background: var(--white);
    font-family: "Manrope", sans-serif;
    color: var(--black);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

*, *::before, *::after {
    box-sizing: border-box;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

button, input {
    font-family: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    touch-action: manipulation;
}

button:disabled {
    cursor: default;
}

h1, h2, p {
    margin: 0;
}

.stage-viewport {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

.stage {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    background: var(--white);
    transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
}

.screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 64px 90px 92px;
}

.gear-circle {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--gray);
}

.gear-circle img {
    width: 34px;
    height: 34px;
}

.logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 375px;
    height: 66px;
    background: var(--gray-light);
    font-size: 34px;
    font-weight: 700;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 24px;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
}

.pill-light {
    background: var(--gray-light);
    color: var(--black);
}

.pill-dark {
    background: var(--gray-dark);
    color: var(--white);
}

.app-header {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 66px;
    flex-shrink: 0;
}

.home-button {
    display: grid;
    place-items: center;
    width: 108px;
    height: 66px;
    margin-left: auto;
    border: none;
    border-radius: 15px;
    background: var(--gray-light);
}

.home-button img {
    width: 40px;
    height: 36px;
}

.screen-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 123px;
    margin-top: 35px;
    flex-shrink: 0;
}

.screen-title-label {
    display: block;
    height: 20px;
    font-size: 14px;
    font-weight: 800;
    line-height: 20px;
}

.screen-title h1 {
    margin-top: 5px;
    font-size: 40px;
    font-weight: 500;
    line-height: 50px;
}

.screen-title-subtitle {
    margin-top: 5px;
    font-size: 20px;
    line-height: 30px;
}

.steps {
    display: flex;
    align-items: flex-end;
    gap: 25px;
    margin-top: 24px;
    height: 41px;
}

.steps-counter {
    margin-right: -2px;
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    width: 92px;
}

.step-name {
    font-size: 11px;
    color: var(--gray-dark);
    white-space: nowrap;
}

.step-current .step-name {
    font-weight: 800;
    color: var(--black);
}

.step-bar {
    width: 92px;
    height: 14px;
    border-radius: 7px;
    background: var(--gray);
}

.step-done .step-bar {
    background: var(--gray-darkest);
}

.screen-content {
    height: 595px;
    flex-shrink: 0;
}

.screen-footer {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    height: 77px;
    flex-shrink: 0;
}

.screen-footer-navigation {
    display: flex;
    gap: 15px;
}

.bottom-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 375px;
    height: 77px;
    border: 1px solid transparent;
    border-radius: 39px;
    background: var(--gray-light);
    font-size: 24px;
    font-weight: 700;
}

.bottom-button-primary {
    background: var(--gray);
}

.bottom-button:disabled {
    background: var(--white);
    border-color: var(--gray);
    color: var(--gray);
}

.bottom-button-arrow {
    position: absolute;
    top: 50%;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
}

.bottom-button-arrow:first-child {
    left: 48px;
}

.bottom-button-arrow:last-child {
    right: 48px;
}

.start-screen .language-switch {
    position: absolute;
    left: 1625px;
    top: 64px;
    display: flex;
    width: 205px;
    height: 66px;
    border-radius: 33px;
    background: var(--gray-light);
}

.language {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 33px;
    background: transparent;
    font-size: 28px;
    color: var(--gray-dark);
}

.language-active {
    background: var(--gray-dark);
    color: var(--white);
}

.start-logo {
    position: absolute;
    left: 718px;
    top: 389px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 485px;
    height: 485px;
    padding: 0 60px;
    border: 1px solid var(--black);
    border-radius: 50%;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.start-tile {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 39px;
    width: 495px;
    height: 141px;
    padding: 29px 20px 0 42px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: var(--gray-light);
    text-align: left;
}

.start-tile-icon {
    width: 83px;
    height: 83px;
}

.start-tile-icon img {
    width: 44px;
    height: 44px;
}

.start-tile-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 283px;
}

.start-tile-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 25px;
}

.start-tile-description {
    font-size: 14px;
    line-height: 20px;
}

.start-tile-soon {
    font-size: 34px;
    font-weight: 700;
    line-height: 41px;
}

.start-tile-makeset { left: 713px; top: 166px; }
.start-tile-packs { left: 90px; top: 436px; }
.start-tile-drape { left: 1335px; top: 436px; }
.start-tile-calculator { left: 1245px; top: 813px; }

.start-tile-audit {
    left: 180px;
    top: 813px;
    background: var(--white);
    border-color: var(--gray-dark);
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(3, 570px);
    grid-auto-rows: 157px;
    column-gap: 15px;
    row-gap: 39px;
    margin-top: 6px;
}

.specialization-tile {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 20px;
    background: var(--gray-light);
    text-align: left;
}

.specialization-icon {
    position: absolute;
    left: 37px;
    top: 21px;
    width: 116px;
    height: 116px;
}

.specialization-icon img {
    width: 62px;
    height: 62px;
}

.specialization-name {
    position: absolute;
    left: 193px;
    bottom: 28px;
    font-size: 24px;
    font-weight: 500;
}

.specialization-picture {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 178px;
    height: 178px;
}

.makeset-logo {
    position: absolute;
    left: 95px;
    top: 922px;
}

.procedure-content {
    display: flex;
    gap: 210px;
    padding-top: 47px;
}

.procedure-side {
    display: flex;
    flex-direction: column;
    gap: 52px;
    width: 570px;
}

.chosen-specialization {
    position: relative;
    height: 155px;
    padding: 16px 23px;
    border-radius: 20px;
    background: var(--gray-light);
}

.chosen-specialization-label {
    font-size: 18px;
    line-height: 24px;
}

.change-button {
    position: absolute;
    right: 27px;
    top: 20px;
    width: 92px;
    height: 45px;
    padding: 0;
    background: var(--gray);
}

.chosen-specialization-name {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 19px;
    font-size: 24px;
    font-weight: 500;
}

.procedure-picture {
    display: grid;
    place-items: center;
    height: 335px;
    border-radius: 20px;
    background: var(--gray-light);
}

.procedure-picture img {
    width: 196px;
    height: 197px;
}

.procedure-list {
    display: flex;
    flex-direction: column;
    gap: 37px;
    width: 960px;
    height: 542px;
    overflow-y: auto;
}

.procedure-row {
    display: flex;
    align-items: center;
    gap: 34px;
    flex-shrink: 0;
    height: 85px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: var(--gray-light);
    text-align: left;
}

.procedure-row-chosen {
    border-color: var(--black);
    background: var(--gray);
}

.procedure-number {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: var(--gray);
    font-size: 40px;
    font-weight: 300;
}

.procedure-row-chosen .procedure-number {
    background: var(--gray-light);
}

.procedure-name {
    font-size: 22px;
    font-weight: 600;
}

.base-set-content {
    display: flex;
    gap: 15px;
}

.group-list {
    display: flex;
    flex-direction: column;
    gap: 21px;
    width: 765px;
    height: 589px;
    margin-top: 6px;
    overflow-y: auto;
}

.group-row {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 85px;
    padding: 0 0 0 24px;
    border: 1px solid transparent;
    border-radius: 15px;
    background: var(--gray-light);
    text-align: left;
}

.group-row-selected {
    border-color: var(--black);
}

.group-row .gear-circle {
    margin-right: 26px;
}

.group-row-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    width: 375px;
    margin-right: 24px;
    overflow: hidden;
}

.group-row-name {
    font-size: 20px;
    font-weight: 500;
    line-height: 27px;
}

.group-row-contents {
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.group-row-picture {
    width: 105px;
    height: 85px;
    margin-right: 28px;
}

.group-row-count {
    width: 66px;
    margin-right: 13px;
    font-size: 14px;
}

.group-row-chevron {
    display: flex;
    width: 10px;
}

.group-row-chevron img {
    width: 10px;
    height: 20px;
}

.group-panel {
    position: relative;
    width: 960px;
    height: 595px;
    border-radius: 20px;
    background: var(--gray);
}

.group-panel-header {
    position: absolute;
    left: 48px;
    right: 32px;
    top: 29px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}

.group-panel-title {
    font-size: 28px;
    font-weight: 800;
}

.position-list {
    position: absolute;
    left: 30px;
    top: 98px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 898px;
    height: 377px;
    overflow-y: auto;
}

.position-row {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 85px;
    padding: 0 29px 0 19px;
    border-radius: 10px;
    background: var(--gray-light);
}

.position-row .gear-circle {
    margin-right: 26px;
}

.position-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.position-name {
    font-size: 18px;
    font-weight: 500;
}

.position-description {
    font-size: 14px;
}

.position-controls {
    display: flex;
    align-items: center;
    gap: 19px;
}

.position-quantity {
    font-size: 24px;
    font-weight: 700;
}

.position-removed {
    font-size: 16px;
}

.undo-button {
    width: 118px;
    padding: 0;
}

.quantity-picker {
    display: flex;
    gap: 9px;
    margin-right: 13px;
}

.quantity-button, .quantity-value, .trash-button {
    display: grid;
    place-items: center;
    height: 58px;
    border: none;
    border-radius: 8px;
    background: var(--white);
}

.quantity-button {
    width: 58px;
    font-size: 28px;
    font-weight: 700;
}

.quantity-button:disabled {
    color: var(--gray-light);
}

.quantity-value {
    width: 55px;
    font-size: 32px;
    font-weight: 700;
}

.trash-button {
    width: 58px;
}

.trash-button img {
    width: 27px;
    height: 30px;
}

.group-panel-footer {
    position: absolute;
    right: 32px;
    bottom: 35px;
    display: flex;
    gap: 15px;
}

.panel-button {
    width: 326px;
    height: 53px;
    font-size: 24px;
}

.panel-button:disabled {
    opacity: 0.4;
}

.overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
}

.overlay-close {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: none;
    border-radius: 50%;
    background: var(--gray);
}

.overlay-close img {
    width: 50%;
    height: 50%;
}

.confirmation {
    position: absolute;
    left: 573px;
    top: 228px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 775px;
    height: 624px;
    padding-top: 106px;
    border-radius: 30px;
    background: var(--white);
}

.confirmation > .overlay-close {
    position: absolute;
    right: -33px;
    top: -32px;
}

.confirmation-mark {
    display: grid;
    place-items: center;
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: var(--gray-light);
    font-size: 72px;
    font-weight: 800;
    color: var(--gray-darkest);
}

.confirmation-title {
    margin-top: 40px;
    font-size: 36px;
    font-weight: 700;
}

.confirmation-message {
    max-width: 460px;
    margin-top: 14px;
    font-size: 20px;
    line-height: 1.45;
    color: var(--gray-dark);
    text-align: center;
}

.confirmation-buttons {
    display: flex;
    gap: 42px;
    margin-top: 58px;
}

.confirmation-buttons .pill {
    width: 240px;
    height: 60px;
    font-size: 18px;
}

.add-dialog {
    position: absolute;
    left: 285px;
    top: 132px;
    display: flex;
    flex-direction: column;
    width: 1350px;
    height: 856px;
    padding: 30px 47px 29px;
    border-radius: 40px;
    background: var(--white);
}

.add-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    margin-bottom: 29px;
}

.add-dialog-title {
    font-size: 38px;
    font-weight: 600;
}

.add-dialog-close {
    width: 56px;
    height: 56px;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 62px;
    padding: 0 24px;
    border: 1px solid var(--gray);
    border-radius: 31px;
}

.search-field img {
    width: 30px;
    height: 30px;
}

.search-field input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 20px;
}

.add-dialog-tabs {
    display: flex;
    gap: 35px;
    margin-top: 28px;
}

.tab {
    width: 168px;
    height: 46px;
    padding: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: 615px 615px;
    grid-auto-rows: 88px;
    align-content: start;
    column-gap: 26px;
    row-gap: 17px;
    height: 453px;
    margin-top: 25px;
    overflow-y: auto;
}

.product-tile {
    display: flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: var(--gray-light);
}

.product-tile-in-set {
    border-color: var(--gray-dark);
}

.product-tile .gear-circle {
    margin-right: 32px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
}

.product-tile .quantity-picker {
    margin-right: 0;
}

.product-tile .position-controls {
    gap: 10px;
}

.add-button {
    width: 120px;
    height: 58px;
    padding: 0;
}

.add-dialog-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.screen-keyboard {
    position: absolute;
    left: 490px;
    top: 603px;
    z-index: 11;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    width: 965px;
    height: 457px;
    padding: 20px;
    border-radius: 20px;
    background: var(--gray-light);
}

.keyboard-close {
    position: absolute;
    right: 66px;
    top: 15px;
    width: 37px;
    height: 37px;
}

.keyboard-row {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.keyboard-key {
    min-width: 80px;
    height: 58px;
    border: none;
    border-radius: 8px;
    background: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.keyboard-space {
    width: 520px;
    font-size: 18px;
    font-weight: 500;
}

.keyboard-backspace {
    width: 168px;
}

.summary-content {
    display: flex;
    gap: 15px;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 21px;
    width: 960px;
    height: 589px;
    margin-top: 6px;
    overflow-y: auto;
}

.summary-group {
    flex-shrink: 0;
    border: 1px solid transparent;
    border-radius: 15px;
    background: var(--gray-light);
}

.summary-group-expanded {
    border-color: var(--gray-dark);
}

.summary-group-header {
    display: flex;
    align-items: center;
    width: 100%;
    height: 85px;
    padding: 0 0 0 24px;
    border: none;
    background: transparent;
    text-align: left;
}

.summary-group-header .gear-circle {
    margin-right: 26px;
}

.summary-group-name {
    flex: 1;
    font-size: 20px;
    font-weight: 500;
}

.summary-group-picture, .summary-group-changes {
    width: 105px;
    height: 85px;
    margin-right: 71px;
}

.summary-group-changes {
    display: flex;
    align-items: center;
    padding-left: 33px;
    font-size: 14px;
    white-space: nowrap;
}

.summary-group-count {
    width: 66px;
    margin-right: 24px;
    font-size: 14px;
}

.summary-group-chevron {
    width: 20px;
    height: 20px;
    margin-right: 23px;
}

.summary-positions {
    margin: 0;
    padding: 0 28px 20px 30px;
    list-style: none;
}

.summary-position {
    display: flex;
    align-items: center;
    height: 47px;
    border-bottom: 1px solid var(--gray);
}

.summary-position:last-child {
    border-bottom: none;
}

.summary-position-dot {
    width: 26px;
    height: 26px;
    margin: 0 17px 0 23px;
    border-radius: 50%;
    background: var(--gray);
}

.summary-position-name {
    flex: 1;
    font-size: 14px;
}

.summary-position-added {
    width: 184px;
    font-size: 14px;
}

.summary-position-quantity {
    width: 64px;
    font-size: 18px;
    font-weight: 700;
}

.summary-illustration {
    display: grid;
    place-items: center;
    width: 765px;
    height: 595px;
    border-radius: 20px;
    background: var(--gray-light);
}

.summary-illustration img {
    width: 260px;
    height: 260px;
}

.contact-content {
    display: flex;
    gap: 15px;
}

.contact-panel {
    display: flex;
    flex-direction: column;
    width: 960px;
    height: 595px;
    padding: 40px 40px 0;
    border-radius: 20px;
    background: var(--gray-light);
}

.contact-title {
    margin-bottom: 19px;
    font-size: 26px;
    font-weight: 700;
    line-height: 34px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 26px;
}

.contact-field-pair {
    display: flex;
    gap: 22px;
}

.contact-field-pair .contact-field {
    width: 429px;
}

.contact-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 15px;
}

.contact-field input {
    height: 70px;
    padding: 0 29px;
    border: none;
    border-radius: 10px;
    background: var(--white);
    font-size: 18px;
    outline: none;
    user-select: text;
}

.contact-field input::placeholder {
    color: var(--gray);
}

.contact-consent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
}

.contact-consent {
    display: flex;
    align-items: center;
    gap: 25px;
}

.consent-checkbox {
    flex-shrink: 0;
    width: 62px;
    height: 61px;
    margin: 0;
    border: 2px solid var(--black);
    background: var(--white) center / 70% no-repeat;
    appearance: none;
    -webkit-appearance: none;
}

.consent-checkbox:checked {
    background-image: url("icons/check.svg");
}

.consent-text {
    width: 353px;
    font-size: 12px;
    line-height: 1.45;
}

.contact-sent {
    align-items: center;
    justify-content: center;
    padding: 0;
}

.sent-mark {
    display: grid;
    place-items: center;
    width: 177px;
    height: 177px;
    border-radius: 50%;
    background: var(--gray);
}

.sent-mark img {
    width: 106px;
    height: 75px;
}

.sent-text {
    margin-top: 41px;
    font-size: 48px;
    font-weight: 500;
}

.contact-side {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 765px;
}

.set-code-panel {
    display: flex;
    flex-direction: column;
    height: 242px;
    padding: 30px 46px;
    border-radius: 20px;
    background: var(--gray-darkest);
    color: var(--white);
}

.set-code-label {
    font-size: 14px;
    font-weight: 800;
}

.set-code-hint {
    max-width: 570px;
    margin-top: 12px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.set-code {
    font-size: 180px;
    font-weight: 700;
    line-height: 160px;
    letter-spacing: 4px;
}

.your-set-panel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 101px;
    padding: 26px 50px;
    border-radius: 20px;
    background: var(--gray);
}

.your-set-title {
    font-size: 20px;
    font-weight: 700;
}

.your-set-summary {
    font-size: 14px;
}
