.tgps [hidden] {
display: none !important;
}
.tgps {
--tgps-red: #800020;
--tgps-red-hover: #9d0028;
--tgps-ink: #1a1610;
--tgps-muted: #6c665f;
--tgps-line: #e7e2da;
--tgps-soft: #fbfaf7;
--tgps-gold: #9a7131;
--tgps-green: #1f6847;
--tgps-error: #b42318;
width: min(1200px, 100%);
max-width: 1200px;
margin: 34px auto;
padding: 0 18px;
color: var(--tgps-ink);
font-family: Roboto, "Roboto Condensed", Arial, sans-serif;
}
.tgps * {
box-sizing: border-box;
}
.tgps-shell {
width: 100%;
max-width: 1200px;
margin: 0 auto;
overflow: hidden;
border: 1px solid rgba(128, 0, 32, .12);
border-radius: 12px;
background: #fff;
box-shadow: 0 4px 20px rgba(128, 0, 32, .10);
}
.tgps-head {
display: flex;
justify-content: space-between;
gap: 20px;
padding: 26px;
border-bottom: 1px solid var(--tgps-line);
background: #fbfaf8;
}
.tgps-kicker,
.tgps-summary-label {
margin: 0 0 5px;
color: var(--tgps-red);
font-family: "Roboto Condensed", Roboto, Arial, sans-serif;
font-size: 12px;
font-weight: 800;
letter-spacing: .08em;
line-height: 1.2;
text-transform: uppercase;
}
.tgps-head h2 {
margin: 0;
color: var(--tgps-ink);
font-family: "Roboto Slab", Georgia, serif;
font-size: 31px;
line-height: 1.15;
letter-spacing: 0;
}
.tgps-head p {
max-width: 720px;
margin: 10px 0 0;
color: var(--tgps-muted);
font-size: 15px;
line-height: 1.65;
}
.tgps-head-aside {
min-width: 230px;
align-self: stretch;
display: flex;
flex-direction: column;
justify-content: center;
gap: 6px;
padding: 14px 16px;
border: 1px solid var(--tgps-line);
border-radius: 8px;
background: #fff;
}
.tgps-head-aside span {
color: var(--tgps-muted);
font-family: "Roboto Condensed", Roboto, Arial, sans-serif;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: .05em;
}
.tgps-head-aside strong {
color: var(--tgps-ink);
font-size: 15px;
line-height: 1.35;
}
.tgps-flow {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
padding: 24px 26px 0;
}
.tgps-flow-card {
min-height: 124px;
padding: 16px;
border: 1px solid rgba(200, 164, 93, .34);
border-radius: 8px;
background: var(--tgps-soft);
}
.tgps-flow-card span,
.tgps-step-head > span {
display: inline-flex;
flex: 0 0 28px;
align-items: center;
justify-content: center;
width: 28px;
min-width: 28px;
height: 28px;
min-height: 28px;
aspect-ratio: 1 / 1;
border-radius: 50%;
background: var(--tgps-ink);
color: #fff;
font-size: 12px;
font-weight: 800;
}
.tgps-flow-card strong {
display: block;
margin: 12px 0 6px;
color: var(--tgps-ink);
font-size: 16px;
line-height: 1.25;
}
.tgps-flow-card p {
margin: 0;
color: var(--tgps-muted);
font-size: 13px;
line-height: 1.5;
}
.tgps-form,
.tgps-token-panel,
.tgps-app {
padding: 24px 26px 26px;
}
.tgps-step {
padding: 0 0 24px;
margin: 0 0 24px;
border-bottom: 1px solid var(--tgps-line);
}
.tgps-studio .tgps-step {
display: none;
}
.tgps-studio .tgps-step.is-active {
display: block;
}
.tgps-step-head {
display: flex;
align-items: flex-start;
gap: 10px;
margin-bottom: 14px;
}
.tgps-step-head h3 {
margin: 0;
color: var(--tgps-ink);
font-family: "Roboto Slab", Georgia, serif;
font-size: 17px;
line-height: 1.3;
}
.tgps-step-head p {
margin: 4px 0 0;
color: var(--tgps-muted);
font-size: 13px;
line-height: 1.5;
}
.tgps-form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.tgps label {
display: grid;
gap: 6px;
margin: 0 0 14px;
}
.tgps label span,
.tgps-token-choice legend {
color: var(--tgps-muted);
font-family: "Roboto Condensed", Roboto, Arial, sans-serif;
font-size: 12px;
font-weight: 800;
letter-spacing: .04em;
text-transform: uppercase;
}
.tgps label em {
color: var(--tgps-red);
font-style: normal;
}
.tgps input,
.tgps textarea,
.tgps select {
width: 100%;
min-width: 0;
border: 1px solid var(--tgps-line);
border-radius: 6px;
background: #fff;
color: var(--tgps-ink);
font: inherit;
font-size: 14px;
padding: 10px 11px;
}
.tgps textarea {
line-height: 1.6;
resize: vertical;
}
.tgps input:focus,
.tgps textarea:focus,
.tgps select:focus {
outline: none;
border-color: var(--tgps-red);
box-shadow: 0 0 0 3px rgba(128, 0, 32, .08);
}
.tgps-wide {
grid-column: 1 / -1;
}
.tgps-token-choice {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
margin: 0 0 16px;
padding: 0;
border: 0;
}
.tgps-token-choice legend {
grid-column: 1 / -1;
margin-bottom: 2px;
padding: 0;
}
.tgps-token-card {
position: relative;
min-height: 142px;
margin: 0;
padding: 16px;
border: 1px solid var(--tgps-line);
border-radius: 8px;
background: #fff;
color: var(--tgps-ink);
cursor: pointer;
transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}
.tgps-token-card:hover {
border-color: rgba(128, 0, 32, .42);
box-shadow: 0 10px 26px rgba(128, 0, 32, .10);
transform: translateY(-1px);
}
.tgps-token-card:has(input:checked) {
border-color: var(--tgps-red);
background: #fffafa;
box-shadow: 0 10px 26px rgba(128, 0, 32, .12);
}
.tgps-token-card input {
position: absolute;
top: 14px;
right: 14px;
width: 18px;
height: 18px;
margin: 0;
accent-color: var(--tgps-red);
}
.tgps-token-card strong {
display: block;
margin: 0 0 8px;
color: var(--tgps-ink);
font-size: 17px;
line-height: 1.25;
}
.tgps-token-card small {
display: block;
max-width: 92%;
color: var(--tgps-muted);
font-size: 13px;
font-weight: 500;
line-height: 1.5;
text-transform: none;
letter-spacing: 0;
}
.tgps-submit-panel {
display: grid;
gap: 12px;
padding: 18px;
border: 1px solid var(--tgps-line);
border-radius: 8px;
background: #fbfaf8;
}
.tgps-consent {
display: flex !important;
align-items: flex-start;
gap: 10px;
margin: 0;
}
.tgps-consent input {
flex: 0 0 auto;
width: 18px;
height: 18px;
margin-top: 2px;
accent-color: var(--tgps-red);
}
.tgps-consent span {
color: var(--tgps-muted);
font-family: inherit;
font-size: 13px;
font-weight: 500;
letter-spacing: 0;
line-height: 1.55;
text-transform: none;
}
.tgps-consent-soft {
padding-top: 4px;
}
.tgps-btn {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 42px;
border: 1px solid var(--tgps-line);
border-radius: 8px;
background: #fff;
color: var(--tgps-ink);
cursor: pointer;
font: inherit;
font-size: 14px;
font-weight: 800;
line-height: 1.2;
padding: 10px 16px;
text-decoration: none;
transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.tgps-btn:hover {
border-color: rgba(128, 0, 32, .36);
background: #fff7f7;
color: var(--tgps-red);
transform: translateY(-1px);
}
.tgps-btn:focus-visible {
outline: 3px solid rgba(128, 0, 32, .16);
outline-offset: 2px;
}
.tgps-btn-primary {
border-color: var(--tgps-red);
background: var(--tgps-red);
color: #fff !important;
box-shadow: 0 10px 24px rgba(128, 0, 32, .18);
}
.tgps-btn-primary:hover {
border-color: var(--tgps-red-hover);
background: var(--tgps-red-hover);
color: #fff !important;
box-shadow: 0 14px 30px rgba(128, 0, 32, .24);
}
.tgps-btn:disabled {
opacity: .56;
cursor: not-allowed;
transform: none;
}
.tgps-status {
min-height: 22px;
margin-top: 4px;
color: var(--tgps-muted);
font-size: 14px;
font-weight: 700;
line-height: 1.5;
}
.tgps-status.is-error {
color: var(--tgps-error);
}
.tgps-status.is-success {
color: var(--tgps-green);
}
.tgps-token-row {
display: grid;
grid-template-columns: 1fr auto;
gap: 14px;
align-items: end;
}
.tgps-token-row label {
margin-bottom: 0;
}
.tgps-token-row .tgps-btn {
min-height: 42px;
margin-bottom: 0;
white-space: nowrap;
}
.tgps-rules-panel {
margin: 0 0 18px;
padding: 16px 18px;
border: 1px solid rgba(200, 164, 93, .34);
border-radius: 8px;
background: var(--tgps-soft);
color: var(--tgps-muted);
font-size: 14px;
line-height: 1.65;
}
.tgps-rules-panel strong {
color: var(--tgps-ink);
}
.tgps-mode-switch {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin: 0 0 18px;
}
.tgps-mode-switch button {
display: grid;
gap: 6px;
min-height: 92px;
padding: 16px;
border: 1px solid var(--tgps-line);
border-radius: 8px;
background: #fff;
color: var(--tgps-ink);
text-align: left;
cursor: pointer;
transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}
.tgps-mode-switch button:hover,
.tgps-mode-switch button.is-active {
border-color: var(--tgps-red);
background: #fffafa;
box-shadow: 0 10px 26px rgba(128, 0, 32, .10);
}
.tgps-mode-switch button:hover {
transform: translateY(-1px);
}
.tgps-mode-switch strong {
font-size: 16px;
}
.tgps-mode-switch span {
color: var(--tgps-muted);
font-size: 13px;
line-height: 1.45;
}
.tgps-progress {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 8px;
margin: 0 0 18px;
padding: 0;
list-style: none;
}
.tgps-progress li {
display: flex;
align-items: center;
gap: 8px;
min-height: 42px;
padding: 8px 10px;
border: 1px solid var(--tgps-line);
border-radius: 8px;
background: #fff;
color: var(--tgps-muted);
font-size: 12px;
font-weight: 800;
}
.tgps-progress li span {
display: inline-flex;
flex: 0 0 28px;
align-items: center;
justify-content: center;
width: 28px;
min-width: 28px;
height: 28px;
min-height: 28px;
aspect-ratio: 1 / 1;
border-radius: 50%;
background: var(--tgps-soft);
color: var(--tgps-red);
font-size: 11px;
}
.tgps-progress li.is-active {
border-color: var(--tgps-red);
background: #fff7f7;
color: var(--tgps-ink);
}
.tgps-toolbar {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 10px;
}
.tgps-toolbar button {
min-width: 42px;
min-height: 36px;
border: 1px solid var(--tgps-line);
border-radius: 6px;
background: var(--tgps-soft);
color: var(--tgps-ink);
cursor: pointer;
font: inherit;
font-size: 13px;
font-weight: 800;
transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.tgps-toolbar button:hover,
.tgps-toolbar button:focus-visible {
border-color: var(--tgps-red);
background: #fff7f7;
color: var(--tgps-red);
}
.tgps-counters {
display: flex;
flex-wrap: wrap;
gap: 10px;
color: var(--tgps-muted);
font-size: 13px;
}
.tgps-counters span,
.tgps-counter {
display: inline-flex;
align-items: center;
min-height: 28px;
margin: 0;
padding: 5px 9px;
border: 1px solid var(--tgps-line);
border-radius: 999px;
background: #fff;
color: var(--tgps-muted);
font-size: 12px;
font-weight: 800;
}
.tgps-upload-box {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
padding: 18px;
border: 1px solid rgba(200, 164, 93, .34);
border-radius: 8px;
background: var(--tgps-soft);
}
.tgps-file-native {
position: absolute !important;
width: 1px !important;
height: 1px !important;
overflow: hidden !important;
clip: rect(0 0 0 0) !important;
clip-path: inset(50%) !important;
white-space: nowrap !important;
}
.tgps-file-button {
width: max-content;
margin-top: 2px;
}
.tgps-file-name {
display: block;
margin-top: 2px;
color: var(--tgps-muted);
font-size: 12px;
font-weight: 700;
line-height: 1.4;
}
.tgps-field-help {
display: block;
max-width: 560px;
margin-top: 8px;
color: #665846;
font-size: 12px;
font-weight: 700;
line-height: 1.55;
}
.tgps-image-preview {
grid-column: 1 / -1;
}
.tgps-image-preview img {
display: block;
max-width: 260px;
height: auto;
margin-top: 8px;
border: 1px solid var(--tgps-line);
border-radius: 8px;
}
.tgps-json-actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 10px;
}
.tgps-json-step textarea {
width: 100%;
min-height: 320px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 13px;
}
.tgps-nav {
display: flex;
justify-content: flex-end;
gap: 10px;
margin-top: 18px;
}
@media (max-width: 860px) {
.tgps-head {
display: grid;
}
.tgps-head-aside {
min-width: 0;
}
.tgps-flow,
.tgps-token-choice,
.tgps-progress {
grid-template-columns: 1fr;
}
}
@media (max-width: 720px) {
.tgps {
margin: 22px auto;
padding: 0 12px;
}
.tgps-head,
.tgps-form,
.tgps-token-panel,
.tgps-app {
padding: 20px 16px;
}
.tgps-flow {
padding: 18px 16px 0;
}
.tgps-head h2 {
font-size: 26px;
}
.tgps-form-grid,
.tgps-token-row,
.tgps-mode-switch,
.tgps-upload-box {
grid-template-columns: 1fr;
}
.tgps-nav {
display: grid;
grid-template-columns: 1fr;
}
.tgps-btn,
.tgps-btn-primary {
width: 100%;
}
}