.tpgphotostudio{--ps-forest:#083b2c;--ps-green:#0c6a4f;--ps-gold:#d4ac67;--ps-ink:#213d4a;--ps-muted:#566e7d;--ps-bg:#f4f8fb;--ps-border:#dbe7e3;box-sizing:border-box;color:var(--ps-ink);font-family:"Hind Siliguri",Arial,sans-serif;background:#fff;width:100%;max-width:100%;overflow-x:clip}
.tpgphotostudio *{box-sizing:border-box}
.tpgphotostudio button,.tpgphotostudio input,.tpgphotostudio select{font:inherit}
.tpgphotostudio a{text-decoration:none!important}
.tpgphotostudio a:focus-visible,.tpgphotostudio button:focus-visible,.tpgphotostudio input:focus-visible,.tpgphotostudio select:focus-visible{outline:3px solid #d5af66!important;outline-offset:2px}
.tpgps-hero{background:radial-gradient(circle at 86% 15%,rgba(232,197,124,.20),transparent 37%),linear-gradient(115deg,#f1f7f3,#eef5f9);padding:51px 22px 55px}
.tpgps-wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.tpgps-breadcrumb{font:700 12px/1.6 Arial,sans-serif;margin:0 0 18px;color:#476a5c}
.tpgps-breadcrumb a{color:#0b6950!important}.tpgps-breadcrumb span{margin:0 6px;color:#8a9b96}
.tpgps-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(210px,.75fr);gap:26px;align-items:center}
.tpgps-eyebrow{display:inline-block;color:#a67b36;font:800 11px/1.6 Arial,sans-serif;letter-spacing:.13em;margin-bottom:10px}
.tpgps-hero h1{color:#103b30!important;font:850 clamp(31px,4.1vw,49px)/1.16 "Hind Siliguri",Arial,sans-serif!important;margin:0 0 15px!important;letter-spacing:-.025em}
.tpgps-hero p{max-width:680px;color:#4a665f;font:450 16px/1.85 "Hind Siliguri",Arial,sans-serif;margin:0}
.tpgps-tags{display:flex;gap:10px;flex-wrap:wrap;margin:23px 0 0}
.tpgps-tags span{background:#fff;border:1px solid #d9e9df;border-radius:99px;padding:8px 12px;color:#285b46;font:700 11px/1.25 Arial,sans-serif}
.tpgps-hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:220px}
.tpgps-art-photo{width:165px;height:182px;border-radius:18px;border:6px solid #fff;box-shadow:0 12px 34px #1f60412a;background:linear-gradient(145deg,#d7ede2 20%,#b5d7c7);display:flex;align-items:center;justify-content:center;transform:rotate(-6deg)}
.tpgps-art-photo svg{width:115px;height:115px;color:#0b7050}
.tpgps-art-badge{position:absolute;right:8%;bottom:16px;border:1px solid #e4c68f;background:#fff9ec;color:#77582a;box-shadow:0 8px 25px #224d321a;border-radius:12px;padding:12px 16px;font:800 13px/1.3 Arial,sans-serif;transform:rotate(4deg)}
.tpgps-main{padding:34px 0 70px!important}
.tpgps-toolframe{background:#fff;border:1px solid var(--ps-border);border-radius:19px;box-shadow:0 11px 34px #0b492211;padding:26px!important}
.tpgps-toolhead{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;margin-bottom:21px;padding-bottom:19px;border-bottom:1px solid #e6eee9}
.tpgps-toolhead h2{color:#103b30!important;font:800 23px/1.4 "Hind Siliguri",Arial,sans-serif!important;margin:0!important}
.tpgps-toolhead p{color:#708176;font-size:12px;margin:4px 0 0}
.tpgps-private{background:#e9f7ed;border:1px solid #cbebd5;border-radius:99px;padding:8px 12px;font:700 11px/1.3 Arial,sans-serif;color:#0c7053}
.tpgps-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(275px,.85fr);gap:28px;align-items:start}
.tpgps-workspace h3{font:800 18px/1.4 "Hind Siliguri",Arial,sans-serif!important;color:#163f33!important;margin:0 0 15px!important}
.tpgps-upload{border:2px dashed #bad1c5;border-radius:15px;background:#f7faf8;min-height:285px;display:flex;justify-content:center;align-items:center;padding:20px;text-align:center;position:relative;transition:border-color .18s,background .18s}
.tpgps-upload.is-drag{background:#eef9f1;border-color:#14845f}
.tpgps-upload-icon{height:55px;width:55px;margin:0 auto 12px;border-radius:15px;display:grid;place-items:center;background:#e6f2e8;color:#177458;font-size:27px;font-weight:800}
.tpgps-upload strong{display:block;font:800 17px/1.4 "Hind Siliguri",Arial,sans-serif;color:#16432f}
.tpgps-upload p{color:#667c70;font-size:12px;line-height:1.8;margin:7px 0 15px}
.tpgps-filepick{background:#0c684e!important;color:#fff!important;border:0!important;border-radius:10px!important;padding:11px 20px!important;font:800 13px/1.4 Arial,sans-serif;cursor:pointer}
.tpgps-previewzone[hidden],.tpgps-upload[hidden],.tpgps-result[hidden],.tpgps-previewtools[hidden]{display:none!important}
.tpgps-previewzone{border:1px solid #d5e7dd;background:#eef4f0;padding:16px;border-radius:14px;display:flex;flex-direction:column;align-items:center;gap:11px;max-width:100%}
.tpgps-previewzone canvas{display:block;max-width:100%;height:auto;touch-action:none;border:2px solid #d1ac67;box-shadow:0 6px 21px #122c201f;background:white;cursor:grab}
.tpgps-previewzone canvas:active{cursor:grabbing}
.tpgps-previewzone p{color:#536d5c;font-size:12px;line-height:1.65;margin:0;text-align:center}
.tpgps-previewtools{display:flex;gap:9px;align-items:center;justify-content:center;flex-wrap:wrap;width:100%}
.tpgps-previewtools button{border:1px solid #cdded3!important;background:#fff!important;color:#1e5841!important;border-radius:8px!important;padding:7px 12px!important;font-size:12px!important;font-weight:700!important;cursor:pointer}
.tpgps-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.tpgps-preset{appearance:none;text-align:left;background:#fff!important;border:1px solid #dbe6dc!important;border-radius:12px!important;padding:13px!important;cursor:pointer;min-width:0;display:flex;flex-direction:column;gap:5px}
.tpgps-preset.is-selected{background:#eff9f1!important;border-color:#16835c!important;box-shadow:0 0 0 1px #16835c inset}
.tpgps-preset strong{font:800 13px/1.4 Arial,sans-serif;color:#214835}
.tpgps-preset span{font:500 11px/1.5 Arial,sans-serif;color:#617568}
.tpgps-fieldgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
.tpgps-field{min-width:0;display:flex;flex-direction:column;gap:7px;margin:0}
.tpgps-field.is-wide{grid-column:1/-1}
.tpgps-field label{font:750 12px/1.4 "Hind Siliguri",Arial,sans-serif;color:#214739}
.tpgps-field input,.tpgps-field select{background:#fff!important;border:1px solid #ccded2!important;border-radius:9px!important;color:#1d4a3b!important;width:100%!important;max-width:100%!important;min-width:0;padding:10px 11px!important;font:600 13px/1.4 Arial,sans-serif!important;min-height:43px}
.tpgps-field input[type=range]{accent-color:#0d7755;padding:0!important;border:0!important;min-height:24px;height:24px}
.tpgps-field small{color:#7b897f;font:500 11px/1.5 "Hind Siliguri",Arial,sans-serif}
.tpgps-info{font:500 12px/1.75 "Hind Siliguri",Arial,sans-serif;color:#5c7469;border:1px solid #e2eee5;background:#f8fbf9;padding:11px 12px;border-radius:10px;margin:15px 0}
.tpgps-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.tpgps-actions button{border-radius:10px!important;min-height:45px;padding:12px 17px!important;cursor:pointer;font:800 13px/1.35 Arial,sans-serif!important}
.tpgps-download{background:#0b7655!important;color:#fff!important;border:1px solid #0b7655!important;flex:1}
.tpgps-download-alt{background:#fff!important;color:#0b6d51!important;border:1px solid #b7d6c4!important;flex:1}
.tpgps-actions button:disabled{opacity:.45;cursor:not-allowed}
.tpgps-result{border:1px solid #cde6d4;background:#f0faf2;color:#1b5940;border-radius:10px;margin-top:15px;padding:12px 15px;font-size:12.5px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.tpgps-result.is-error{background:#fff4f0;color:#943a2f;border-color:#f1d4c9}
.tpgps-reference{margin-top:23px;border-collapse:collapse;width:100%;font:500 12px/1.7 Arial,sans-serif}
.tpgps-reference th,.tpgps-reference td{text-align:left;border-bottom:1px solid #e2ebe5;padding:9px 8px}
.tpgps-reference th{color:#2f5f49}.tpgps-reference td{color:#556b5e}
.tpgps-disclaimer{font:500 11px/1.8 "Hind Siliguri",Arial,sans-serif;color:#65786c;margin-top:12px}
.tpgps-detail{margin-top:37px}
.tpgps-detail h2{font:800 24px/1.35 "Hind Siliguri",Arial,sans-serif!important;color:#103e2e!important;margin:0 0 18px!important}
.tpgps-steps,.tpgps-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tpgps-mini{border:1px solid #deebe2;background:#fff;border-radius:15px;padding:22px;min-width:0}
.tpgps-mini span{display:inline-flex;background:#eaf6ef;color:#08704d;border-radius:9px;padding:8px 10px;font:850 12px/1 Arial,sans-serif;margin-bottom:12px}
.tpgps-mini h3{font:800 16px/1.45 "Hind Siliguri",Arial,sans-serif!important;color:#234b38!important;margin:0 0 8px!important}
.tpgps-mini p{font:450 13px/1.85 "Hind Siliguri",Arial,sans-serif;color:#5f7366;margin:0}
.tpgps-tint{background:#f2f7f3;border-radius:16px;padding:23px;margin-top:35px}
.tpgps-faq{background:#fff;border:1px solid #deebe2;border-radius:14px;padding:5px 17px}
.tpgps-faq details{border-bottom:1px solid #e4ede6;padding:13px 0}
.tpgps-faq details:last-child{border-bottom:0}
.tpgps-faq summary{font:800 13px/1.6 "Hind Siliguri",Arial,sans-serif;color:#274f3c;cursor:pointer}
.tpgps-faq p{font:450 12.5px/1.8 "Hind Siliguri",Arial,sans-serif;color:#54685c;margin:9px 0 2px}
.tpgps-related{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px}
.tpgps-related a{display:inline-block;background:#fff;border:1px solid #d3e5d9;border-radius:10px;padding:12px 17px;color:#0a6a4d!important;font:800 13px/1.4 "Hind Siliguri",Arial,sans-serif}
@media(max-width:900px){.tpgps-workspace{grid-template-columns:1fr}.tpgps-hero-grid{grid-template-columns:1fr}.tpgps-hero-art{display:none}.tpgps-steps,.tpgps-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.tpgps-hero{padding:32px 10px 38px}.tpgps-wrap{padding:0 12px}.tpgps-hero h1{font-size:31px!important}.tpgps-hero p{font-size:14px}.tpgps-tags{gap:6px}.tpgps-tags span{font-size:10px;padding:7px 9px}.tpgps-main{padding:21px 0 48px!important}.tpgps-toolframe{padding:17px!important;border-radius:13px}.tpgps-toolhead h2{font-size:20px!important}.tpgps-private{font-size:10px}.tpgps-workspace{gap:26px}.tpgps-upload{min-height:220px}.tpgps-controls{gap:7px}.tpgps-preset{padding:10px!important}.tpgps-preset strong{font-size:11px}.tpgps-preset span{font-size:10px}.tpgps-fieldgrid{gap:9px}.tpgps-steps,.tpgps-benefits{grid-template-columns:1fr}.tpgps-mini{padding:17px}.tpgps-detail h2{font-size:21px!important}.tpgps-reference{font-size:10px}.tpgps-reference th,.tpgps-reference td{padding:7px 5px}.tpgps-actions{flex-direction:column}.tpgps-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.tpgphotostudio *{transition:none!important;animation:none!important}}

/* Exam-specific size and file compression controls */
.tpgphotostudio[data-mode="examphoto"] .tpgps-preset strong{font-size:13px}
.tpgphotostudio[data-mode="examphoto"] .tpgps-preset span{font-size:11px}
.tpgphotostudio .tpgps-field input[readonly]{background:#f0f6f2!important;color:#587365!important;cursor:not-allowed}
@media(max-width:620px){.tpgphotostudio .tpgps-preset strong{font-size:11px}.tpgphotostudio .tpgps-preset span{font-size:10px}}
.tpgphotostudio [hidden]{display:none!important}
.tpgphotostudio .tpgps-previewzone canvas{max-width:100%;height:auto;aspect-ratio:auto;touch-action:none}
.tpgphotostudio .tpgps-previewzone canvas:focus-visible{outline:3px solid #a06915;outline-offset:2px}
