:root {
    --bg: #f3f1ed;
    --paper: #fffdf9;
    --paper-soft: #f8f5ef;
    --text: #161616;
    --muted: #6f6a63;
    --border: rgba(22, 22, 22, 0.12);
    --accent: #e30613;
    --accent-dark: #b9000a;
    --dark: #151515;
    --shadow: 0 22px 60px rgba(24, 22, 19, 0.14);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 8%, rgba(227, 6, 19, 0.12), transparent 30%),
        linear-gradient(135deg, #fbfaf7 0%, var(--bg) 48%, #e9e5dd 100%);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.page {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 24px 28px 32px;
}

.landing,
.operator-page {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 28px;
}

.page-center {
    display: grid;
    min-height: 100vh;
    place-items: center;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: var(--dark);
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 132px;
    height: auto;
}

.topbar-note {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-switch {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.lang-switch a {
    min-width: 42px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.lang-switch a.active {
    background: var(--dark);
    color: #ffffff;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    margin-bottom: 20px;
    padding: 18px 20px;
    border: 2px solid rgba(22, 22, 22, 0.35);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 253, 249, 0.8)),
        var(--paper);
    box-shadow: 0 8px 18px rgba(24, 22, 19, 0.08);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.label {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero .label {
    margin: 0;
    color: #333333;
    font-size: 22px;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.order-number {
    margin: 8px 0 0;
    color: #333333;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.15;
}

h1 {
    max-width: 720px;
    margin: 0;
    color: var(--text);
    font-size: clamp(30px, 4.6vw, 52px);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.96;
}

.lead {
    max-width: 680px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
}

.order-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--paper-soft);
}

.order-pill span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.order-pill strong {
    color: var(--text);
    font-size: 15px;
    font-weight: 900;
}

.summary {
    display: grid;
    place-items: center;
    min-height: 112px;
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(227, 6, 19, 0.95), rgba(185, 0, 10, 0.95)),
        var(--accent);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 40px rgba(227, 6, 19, 0.25);
}

.summary span {
    display: block;
    font-size: 44px;
    font-weight: 900;
    line-height: 0.9;
}

.summary small {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 800;
}

.client-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 249, 0.78)),
        var(--paper);
    box-shadow: 0 16px 44px rgba(24, 22, 19, 0.12);
}

.client-actions-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.client-actions-copy strong {
    color: var(--text);
    font-size: 16px;
    font-weight: 900;
}

.client-actions-copy span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
}

.client-actions-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.client-actions-result-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.client-action {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(22, 22, 22, 0.13);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.1;
    box-shadow: 0 10px 24px rgba(24, 22, 19, 0.08);
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.client-action:hover,
.client-action:focus-visible {
    border-color: var(--dark);
    outline: none;
    transform: translateY(-1px);
}

.client-action:disabled {
    cursor: progress;
    opacity: 0.68;
    transform: none;
}

.client-action.is-selected:disabled {
    cursor: default;
    opacity: 1;
}

.client-action-result {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.1;
}

.client-action-result-confirm {
    border: 1px solid rgba(37, 115, 54, 0.22);
    background: #e5f5e5;
    color: #257336;
}

.client-action-result-cancel {
    border: 1px solid rgba(162, 39, 39, 0.22);
    background: #fee7e7;
    color: #a22727;
}

.client-action-result-callback {
    border: 1px solid rgba(139, 92, 0, 0.22);
    background: #fff2d8;
    color: #8b5c00;
}

.client-action-confirm {
    background: #111111;
    color: #ffffff;
}

.client-action-confirm:hover,
.client-action-confirm:focus-visible,
.client-action-confirm.is-selected {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

.client-action-cancel {
    color: var(--accent);
}

.client-action-cancel:hover,
.client-action-cancel:focus-visible,
.client-action-cancel.is-selected {
    border-color: var(--accent);
    background: var(--accent);
    color: #ffffff;
}

.client-action-callback:hover,
.client-action-callback:focus-visible,
.client-action-callback.is-selected {
    border-color: #6f6a63;
    background: #ece7de;
}

.client-action-status {
    grid-column: 1 / -1;
    min-height: 18px;
    margin: -4px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.client-action-status.is-error {
    color: var(--accent);
}

.client-action-status.is-done {
    color: #257336;
}

.client-actions.is-locked .client-action-status:empty {
    display: none;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.photo-card {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: 0 14px 36px rgba(24, 22, 19, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(24, 22, 19, 0.18);
}

.photo-card.is-selected {
    border-color: rgba(37, 115, 54, 0.58);
    box-shadow: 0 18px 44px rgba(37, 115, 54, 0.2);
}

.photo-card > .photo-link {
    display: block;
    background: #111111;
}

.photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.photo-card figcaption {
    display: grid;
    gap: 12px;
    padding: 15px 16px 16px;
}

.photo-choice {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 8px;
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.2;
}

.photo-choice-input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin: 0;
    cursor: pointer;
}

.photo-meta {
    min-width: 0;
}

.photo-meta {
    display: grid;
    gap: 2px;
}

.photo-card span {
    display: block;
    color: var(--text);
    font-size: 15px;
    font-weight: 900;
}

.photo-store {
    color: var(--accent) !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.photo-card small {
    display: block;
    max-width: 220px;
    min-width: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photo-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    justify-content: flex-end;
}

.text-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(22, 22, 22, 0.12);
    border-radius: 999px;
    background: #ffffff !important;
    color: var(--text) !important;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.text-action:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
}

.photo-actions .text-action:first-child {
    background: #111111 !important;
    color: #ffffff !important;
}

.photo-actions .text-action:first-child:hover {
    background: var(--accent) !important;
    color: #ffffff !important;
}

.message {
    width: min(460px, 100%);
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 26px;
    background: var(--paper);
    box-shadow: var(--shadow);
    text-align: center;
}

.message .brand {
    display: inline-flex;
    margin-bottom: 24px;
}

.message h1 {
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.message p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

body.viewer-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    background: #050505;
    color: #ffffff;
}

.lightbox.open {
    display: grid;
    grid-template-rows: 64px minmax(0, 1fr) 96px;
}

.lightbox-topbar {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 18px 0 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.viewer-title {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.viewer-title span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 800;
}

.viewer-title strong {
    max-width: min(520px, 50vw);
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lightbox-stage {
    display: grid;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    place-items: center;
    background: #050505;
    user-select: none;
    touch-action: none;
}

.lightbox-stage.is-pannable {
    cursor: grab;
}

.lightbox-stage.is-dragging {
    cursor: grabbing;
}

.lightbox-stage img {
    display: block;
    max-width: calc(100vw - 96px);
    max-height: calc(100vh - 200px);
    object-fit: contain;
    transform-origin: center center;
    will-change: transform;
}

.viewer-space-pan .lightbox-stage {
    cursor: grab;
}

.lightbox-controls {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-self: center;
    align-self: start;
    gap: 6px;
    max-width: calc(100vw - 24px);
    min-height: 46px;
    margin-top: 12px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(32, 32, 32, 0.82);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
}

.lightbox-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.lightbox-tool:hover,
.lightbox-tool:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    outline: none;
}

.lightbox-tool.is-icon {
    padding: 0;
    font-size: 24px;
    font-weight: 400;
}

.lightbox-tool.is-download {
    background: rgba(255, 255, 255, 0.95);
    color: #101010;
}

.zoom-indicator {
    min-width: 48px;
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.lightbox-close {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    font-family: inherit;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    pointer-events: auto;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.viewer-nav {
    position: fixed;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 48px;
    height: 64px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-family: inherit;
    font-size: 58px;
    font-weight: 200;
    line-height: 1;
    transform: translateY(-50%);
}

.viewer-nav:hover,
.viewer-nav:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
}

.viewer-nav:disabled {
    display: none;
}

.viewer-prev {
    left: 18px;
}

.viewer-next {
    right: 18px;
}

.landing-nav {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.landing-nav .topbar-actions > span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.landing-home {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 28px 0 42px;
    overflow: hidden;
}

.landing-home .landing-nav,
.landing-home .feature-row {
    width: min(1180px, calc(100% - 56px));
    margin-right: auto;
    margin-left: auto;
}

.landing-home .feature-row {
    position: relative;
    z-index: 2;
}

.landing-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: min(720px, calc(100vh - 112px));
    margin-top: -18px;
    padding: 70px max(28px, calc((100vw - 1180px) / 2)) 78px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(251, 250, 247, 0.96) 0%, rgba(251, 250, 247, 0.9) 36%, rgba(251, 250, 247, 0.52) 58%, rgba(251, 250, 247, 0.18) 100%),
        radial-gradient(circle at 74% 20%, rgba(227, 6, 19, 0.22), transparent 34%),
        radial-gradient(circle at 82% 86%, rgba(20, 20, 20, 0.14), transparent 36%);
}

.landing-copy h1 {
    max-width: 720px;
}

.landing-copy {
    position: relative;
    z-index: 2;
    width: min(650px, 100%);
}

.landing-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.landing-actions span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.landing-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.landing-badges span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(22, 22, 22, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: #34302b;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(24, 22, 19, 0.08);
}

.btn {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(227, 6, 19, 0.22);
}

.btn-dark {
    background: var(--dark);
    color: #ffffff;
}

.btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.collage-scene {
    position: absolute;
    inset: -64px -6vw -80px 36%;
    z-index: 1;
    overflow: hidden;
    perspective: 1100px;
    pointer-events: none;
}

.collage-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 54% 46%, transparent 0 34%, rgba(251, 250, 247, 0.18) 56%, rgba(251, 250, 247, 0.88) 100%),
        linear-gradient(90deg, rgba(251, 250, 247, 0.92), transparent 24%, transparent 72%, rgba(251, 250, 247, 0.82));
    z-index: 4;
}

.photo-stream {
    position: absolute;
    top: -12%;
    display: grid;
    gap: 18px;
    width: 235px;
    transform-style: preserve-3d;
    animation: floatGallery 18s linear infinite;
}

.stream-a {
    right: 290px;
    transform: rotateX(58deg) rotateZ(-18deg) translateZ(-80px);
}

.stream-b {
    right: 36px;
    transform: rotateX(58deg) rotateZ(-18deg) translateZ(80px);
    animation-duration: 22s;
    animation-direction: reverse;
}

.collage-tile {
    position: relative;
    min-height: 152px;
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.24), transparent 44%),
        linear-gradient(150deg, #d8d0c5, #6d665e);
    box-shadow: 0 22px 42px rgba(24, 22, 19, 0.22);
}

.collage-tile::before {
    content: "";
    position: absolute;
    inset: 22% 18% 18%;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.05)),
        linear-gradient(145deg, rgba(28, 28, 28, 0.86), rgba(96, 88, 78, 0.84));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.collage-tile::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 34px;
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.72);
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.72) 2px, transparent 2px) 0 0 / 10px 10px,
        linear-gradient(rgba(255, 255, 255, 0.72) 2px, transparent 2px) 0 0 / 10px 10px,
        rgba(0, 0, 0, 0.32);
}

.collage-tile span {
    position: absolute;
    right: 12px;
    bottom: 9px;
    left: 12px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.collage-tile.wide {
    min-height: 126px;
}

.collage-tile.tall {
    min-height: 206px;
}

.tile-red {
    background:
        radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.34), transparent 22%),
        linear-gradient(145deg, #e30613, #831015 72%);
}

.tile-dark {
    background:
        radial-gradient(circle at 76% 16%, rgba(227, 6, 19, 0.32), transparent 26%),
        linear-gradient(145deg, #2d2b28, #111111);
}

.tile-paper {
    background:
        linear-gradient(135deg, rgba(227, 6, 19, 0.14), transparent 38%),
        linear-gradient(145deg, #fffaf2, #c7beb0);
}

.tile-paper span,
.tile-cream span {
    color: rgba(22, 22, 22, 0.78);
}

.tile-product {
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.42), transparent 28%),
        linear-gradient(145deg, #6d756f, #242725);
}

.tile-black {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 42%),
        linear-gradient(145deg, #080808, #3a3530);
}

.tile-cream {
    background:
        radial-gradient(circle at 70% 24%, rgba(227, 6, 19, 0.18), transparent 28%),
        linear-gradient(145deg, #f4eee4, #9f9689);
}

.scene-glass {
    position: absolute;
    right: 13%;
    bottom: 18%;
    z-index: 5;
    display: grid;
    gap: 4px;
    min-width: 260px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 24px 60px rgba(24, 22, 19, 0.18);
    backdrop-filter: blur(18px);
}

.scene-glass span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.scene-glass strong {
    color: var(--text);
    font-size: 14px;
}

@keyframes floatGallery {
    from {
        margin-top: 0;
    }

    to {
        margin-top: -320px;
    }
}

.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.feature-row article {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.82);
    box-shadow: 0 12px 30px rgba(24, 22, 19, 0.08);
}

.feature-row article span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.feature-row h2,
.send-panel h2 {
    margin: 10px 0 8px;
    font-size: 20px;
    line-height: 1.2;
}

.feature-row p,
.send-panel p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.operator-shell {
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 32px;
    background: rgba(255, 253, 249, 0.86);
    box-shadow: var(--shadow);
}

.operator-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 22px;
    align-items: stretch;
    margin-bottom: 22px;
}

.operator-head h1 {
    font-size: clamp(30px, 5vw, 54px);
}

.summary.compact {
    min-height: 132px;
}

.summary.compact span {
    font-size: 46px;
}

.operator-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    align-items: start;
}

.operator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.operator-photo {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(24, 22, 19, 0.08);
}

.operator-photo input {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    width: 20px;
    height: 20px;
    accent-color: var(--accent);
}

.operator-thumb {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    background: #111111;
}

.operator-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.operator-photo-meta {
    display: grid;
    gap: 2px;
}

.operator-photo-meta strong {
    font-size: 14px;
    font-weight: 900;
}

.operator-photo-meta small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.send-panel {
    position: sticky;
    top: 18px;
    padding: 22px;
    border-radius: 24px;
    background: var(--dark);
    color: #ffffff;
    box-shadow: 0 20px 44px rgba(17, 17, 17, 0.24);
}

.send-panel p {
    color: rgba(255, 255, 255, 0.66);
}

.send-panel .btn {
    width: 100%;
    margin-top: 18px;
}

.result-box {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.result-box label {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 900;
}

.result-box textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
    padding: 12px;
    resize: vertical;
}

.status-text {
    min-height: 20px;
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
}

.status-text.is-error {
    color: #fecaca;
}

.empty-state {
    padding: 24px;
    border: 1px dashed var(--border);
    border-radius: 20px;
    color: var(--muted);
    background: #ffffff;
    font-weight: 700;
}

@media (max-width: 720px) {
    .page,
    .landing,
    .operator-page {
        padding: 16px;
    }

    .topbar {
        align-items: center;
    }

    .topbar-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .brand-logo {
        width: 132px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 16px 18px;
        border-radius: 16px;
    }

    .hero .label,
    .order-number {
        font-size: 20px;
    }

    .summary {
        min-height: 112px;
    }

    .summary span {
        font-size: 48px;
    }

    .client-actions {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .client-actions-buttons {
        justify-content: stretch;
    }

    .client-action {
        flex: 1 1 100%;
        min-height: 46px;
    }

    .gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .photo-actions {
        width: 100%;
    }

    .photo-actions .text-action {
        flex: 1 1 0;
    }

    .operator-layout,
    .operator-head {
        grid-template-columns: 1fr;
    }

    .operator-shell {
        padding: 20px;
        border-radius: 24px;
    }

    .landing-home {
        padding-top: 20px;
    }

    .landing-home .landing-nav,
    .landing-home .feature-row {
        width: calc(100% - 32px);
    }

    .landing-hero {
        min-height: 620px;
        margin-top: -12px;
        padding: 54px 16px 54px;
        background:
            linear-gradient(180deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.9) 58%, rgba(251, 250, 247, 0.72) 100%),
            radial-gradient(circle at 76% 22%, rgba(227, 6, 19, 0.2), transparent 42%);
    }

    .collage-scene {
        inset: 210px -160px -120px 10%;
        opacity: 0.52;
    }

    .photo-stream {
        width: 170px;
        gap: 12px;
    }

    .stream-a {
        right: 190px;
    }

    .stream-b {
        right: 24px;
    }

    .collage-tile {
        min-height: 112px;
        border-width: 5px;
        border-radius: 14px;
    }

    .collage-tile.tall {
        min-height: 152px;
    }

    .scene-glass {
        display: none;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

    .landing-badges span {
        width: 100%;
    }

    .send-panel {
        position: static;
    }

    .photo-card figcaption {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .photo-card small {
        max-width: 100%;
        text-align: left;
    }

    .photo-actions {
        margin-top: 8px;
    }

    .text-action {
        flex: 1;
        justify-content: center;
    }

    .lightbox.open {
        grid-template-rows: 56px minmax(0, 1fr) 104px;
    }

    .lightbox-topbar {
        padding: 0 10px 0 14px;
    }

    .viewer-title strong {
        max-width: 56vw;
    }

    .lightbox-controls {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 20px;
        margin-top: 14px;
    }

    .viewer-nav {
        width: 42px;
        height: 58px;
        font-size: 48px;
    }

    .viewer-prev {
        left: 6px;
    }

    .viewer-next {
        right: 6px;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .photo-stream,
    .btn,
    .photo-card,
    .lightbox-stage img {
        animation: none;
        transition: none;
    }
}
