.atgr-geci-shell,
.atgr-geci-report-wrap {
    --atgr-blue: #0049a8;
    --atgr-dark: #10213d;
    --atgr-line: #d9e1ee;
    --atgr-soft: #f5f8fc;
    --atgr-green: #0a7a3d;
    --atgr-red: #b42318;
    box-sizing: border-box;
    width: 100%;
    max-width: 1180px;
    margin: 24px auto;
    color: var(--atgr-dark);
    font-family: inherit;
}

.atgr-geci-shell *,
.atgr-geci-report-wrap *,
.atgr-geci-card * {
    box-sizing: border-box;
}

.atgr-geci-shell {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 520px);
    gap: 18px;
    align-items: start;
}

.atgr-geci-card {
    background: #fff;
    border: 1px solid var(--atgr-line, #d9e1ee);
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(16, 33, 61, 0.08);
    padding: 22px;
}

.atgr-geci-card h2,
.atgr-geci-card h3,
.atgr-geci-report-toolbar h2 {
    margin: 0 0 10px;
    line-height: 1.2;
    color: var(--atgr-dark, #10213d);
}

.atgr-geci-intro {
    margin-bottom: 16px;
    color: #43536d;
}

.atgr-geci-intro p {
    margin-top: 0;
}

.atgr-geci-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.atgr-geci-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-weight: 700;
    font-size: 14px;
}

.atgr-geci-form label small {
    font-weight: 400;
    color: #667085;
}

.atgr-geci-wide {
    grid-column: 1 / -1;
}

.atgr-geci-form input,
.atgr-geci-form select,
.atgr-geci-form textarea,
.atgr-geci-report-key-form input,
.atgr-geci-table-search {
    width: 100%;
    border: 1px solid #c7d3e4;
    background: #fff;
    color: var(--atgr-dark, #10213d);
    border-radius: 0;
    padding: 11px 12px;
    min-height: 42px;
    font: inherit;
}

.atgr-geci-form input:focus,
.atgr-geci-form select:focus,
.atgr-geci-form textarea:focus,
.atgr-geci-table-search:focus {
    outline: 2px solid rgba(0, 73, 168, 0.25);
    border-color: var(--atgr-blue, #0049a8);
}

.atgr-geci-check {
    flex-direction: row !important;
    align-items: flex-start;
    font-weight: 500 !important;
    padding: 10px;
    background: var(--atgr-soft, #f5f8fc);
    border: 1px solid var(--atgr-line, #d9e1ee);
}

.atgr-geci-check input {
    width: auto;
    min-height: 0;
    margin-top: 4px;
}

.atgr-geci-submit,
.atgr-geci-report-key-form button,
.atgr-geci-export-btn,
.atgr-geci-view-buttons button {
    border: 1px solid var(--atgr-blue, #0049a8);
    border-radius: 0;
    background: var(--atgr-blue, #0049a8);
    color: #fff !important;
    min-height: 42px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.atgr-geci-submit {
    grid-column: 1 / -1;
    width: 100%;
    font-size: 16px;
}

.atgr-geci-view-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.atgr-geci-view-buttons button {
    min-height: 34px;
    padding: 8px 10px;
    font-size: 13px;
    background: #fff;
    color: var(--atgr-blue, #0049a8) !important;
}

.atgr-geci-view-buttons button.is-active {
    background: var(--atgr-blue, #0049a8);
    color: #fff !important;
}

.atgr-geci-notice {
    border-left: 4px solid;
    padding: 11px 12px;
    margin: 12px 0;
    background: #fff;
}

.atgr-geci-success {
    border-color: var(--atgr-green, #0a7a3d);
    background: #ecfdf3;
}

.atgr-geci-error {
    border-color: var(--atgr-red, #b42318);
    background: #fff3f3;
}

.atgr-geci-mockup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.atgr-geci-mockup {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff, #f1f5fb);
    border: 1px solid var(--atgr-line, #d9e1ee);
    overflow: hidden;
}

.atgr-geci-base {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    z-index: 1;
}

.atgr-geci-mockup.is-front .atgr-geci-base {
    transform: scale(1.28);
    transform-origin: 50% 50%;
}

.atgr-geci-mockup.is-front.is-feminin .atgr-geci-base {
    transform: scale(1);
    transform-origin: 50% 50%;
}

.atgr-geci-chest-print {
    position: absolute;
    z-index: 3;
    left: 53.1%;
    top: 32.8%;
    width: 12.5%;
    transform: none;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.22);
    letter-spacing: 0.025em;
    opacity: 0.96;
    pointer-events: none;
    mix-blend-mode: screen;
}

.atgr-geci-chest-print span {
    display: block;
    font-weight: 600;
    font-size: clamp(10px, 2.55vw, 15px);
    line-height: 0.98;
}

.atgr-geci-chest-print strong {
    display: block;
    margin-top: 1px;
    font-weight: 600;
    font-size: clamp(5px, 1.35vw, 8.5px);
    line-height: 1.05;
    word-break: normal;
    overflow-wrap: break-word;
    text-transform: uppercase;
}

.atgr-geci-sleeve-logo {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    width: 13.8%;
    opacity: 0.96;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.20));
    mix-blend-mode: screen;
}

.atgr-geci-sleeve-logo img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(1) brightness(0) invert(1) contrast(2.1);
}

.atgr-geci-logo-atgr {
    display: none;
    left: 17%;
    top: 42%;
    transform: none;
}

.atgr-geci-logo-oldline {
    display: none;
    right: 15.5%;
    top: 42.4%;
    transform: none;
}

.atgr-geci-mockup.is-front .atgr-geci-sleeve-logo,
.atgr-geci-mockup.is-back .atgr-geci-sleeve-logo,
.atgr-geci-mockup.is-back .atgr-geci-chest-print,
.atgr-geci-mockup.is-side-oldline .atgr-geci-chest-print,
.atgr-geci-mockup.is-side-atgr .atgr-geci-chest-print {
    display: none;
}


.atgr-geci-mockup-note {
    color: #667085;
    font-size: 13px;
    margin: 12px 0 0;
}

.atgr-geci-report-toolbar {
    background: #fff;
    border: 1px solid var(--atgr-line, #d9e1ee);
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 0;
}

.atgr-geci-report-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.atgr-geci-table-search {
    min-width: 240px;
}

.atgr-geci-table-scroll {
    width: 100%;
    overflow: auto;
    border: 1px solid var(--atgr-line, #d9e1ee);
    border-top: 0;
    background: #fff;
}

.atgr-geci-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
    margin: 0;
    background: #fff;
    font-size: 13px;
}

.atgr-geci-table th,
.atgr-geci-table td {
    border: 1px solid #dbe3ef;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

.atgr-geci-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #edf3fb;
    font-weight: 900;
}

.atgr-geci-table tbody tr:nth-child(even) td {
    background: #fafcff;
}

.atgr-geci-report-login {
    max-width: 560px;
    margin: 24px auto;
}

.atgr-geci-report-key-form {
    display: flex;
    gap: 8px;
}

@media (max-width: 900px) {
    .atgr-geci-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .atgr-geci-card {
        padding: 16px;
    }
    .atgr-geci-form {
        grid-template-columns: 1fr;
    }
    .atgr-geci-mockup-head,
    .atgr-geci-report-toolbar,
    .atgr-geci-report-key-form {
        align-items: stretch;
        flex-direction: column;
    }
    .atgr-geci-report-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .atgr-geci-table-search {
        min-width: 0;
    }
}
