/* Namespaced for CI4 shared template. Original tool code: Copyright © 2026 Infovistar. All rights reserved. */
.iv-photo-tool{color-scheme:light;--ink:#15243b;--muted:#61708a;--line:#e1e7ef;--paper:#fff;--canvas:#f5f7fb;--navy:#12233f;--blue:#2357df;--blue-dark:#1944b8;--mint:#e9f8f1;--green:#16754a;--amber:#fff5dd;--amber-ink:#835700;--red:#b42318;--radius:18px;--shadow:0 12px 34px rgba(20,38,69,.055)}.iv-photo-tool *{box-sizing:border-box}.iv-photo-tool [hidden]{display:none!important}.iv-photo-tool{scroll-behavior:smooth}.iv-photo-tool{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}.iv-photo-tool button,.iv-photo-tool input,.iv-photo-tool select{font:inherit}.iv-photo-tool button{cursor:pointer}.iv-photo-tool button:disabled{opacity:.45;cursor:not-allowed}.iv-photo-tool a{color:var(--blue)}.iv-photo-tool .skip-link{position:absolute;left:-10000px;top:8px;background:#fff;padding:12px;border-radius:8px;z-index:20}.iv-photo-tool .skip-link:focus{left:8px}.iv-photo-tool .site-header{background:var(--navy);color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}.iv-photo-tool .header-inner,.iv-photo-tool .footer-inner{max-width:1240px;margin:0 auto;padding:17px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}.iv-photo-tool .brand{color:#fff;text-decoration:none;font-weight:800;letter-spacing:-.04em;display:inline-flex;align-items:center;gap:9px;font-size:22px}.iv-photo-tool .brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#76e0c1;color:#10304c;font-weight:900;font-size:22px;line-height:1}.iv-photo-tool .brand-dot{color:#76e0c1}.iv-photo-tool .header-label{font-size:12px;font-weight:650;color:#c2d0e4;display:flex;align-items:center;gap:8px}.iv-photo-tool .live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#73e1bd;box-shadow:0 0 0 4px rgba(115,225,189,.13)}.iv-photo-tool .page-shell{max-width:1240px;padding:0 28px 70px;margin:0 auto}.iv-photo-tool .hero{text-align:center;padding:49px 0 34px}.iv-photo-tool .eyebrow{color:var(--blue);font-weight:800;font-size:11px;letter-spacing:.13em;display:flex;align-items:center;justify-content:center;gap:7px}.iv-photo-tool .eyebrow-icon{display:grid;place-items:center;width:22px;height:22px;border:1px solid #d8e2ff;background:#ebf0ff;border-radius:7px;font-size:14px}.iv-photo-tool .hero h1{font-size:clamp(34px,5vw,54px);letter-spacing:-.055em;line-height:1.09;margin:18px 0 13px;font-weight:820;color:#14243e}.iv-photo-tool .hero h1 span{color:var(--blue)}.iv-photo-tool .hero-copy{font-size:17px;color:var(--muted);max-width:700px;margin:0 auto}.iv-photo-tool .trust-points{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;margin-top:21px;color:#42536e;font-size:12px;font-weight:650}.iv-photo-tool .check-icon{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#dff7ea;color:#137447;font-size:11px;font-weight:900;margin-right:4px}.iv-photo-tool .tool-layout{display:grid;grid-template-columns:minmax(330px,390px) minmax(0,1fr);gap:20px;align-items:start}.iv-photo-tool .panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.iv-photo-tool .control-panel{padding:24px 23px}.iv-photo-tool .panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:22px}.iv-photo-tool .step-label{font-size:10px;letter-spacing:.13em;font-weight:800;color:#8291a8;margin-bottom:5px}.iv-photo-tool .panel-heading h2{font-size:21px;line-height:1.25;letter-spacing:-.035em;margin:0;font-weight:780}.iv-photo-tool .step-pill{white-space:nowrap;font-size:10px;border-radius:20px;background:#edf3ff;color:#3155ad;padding:6px 9px;font-weight:700;margin-top:5px}.iv-photo-tool .field-label{display:block;font-size:12px;font-weight:750;color:#2b3a51;margin-bottom:7px}.iv-photo-tool .control-select,.iv-photo-tool .control-input{width:100%;min-width:0;border:1px solid #d9e1ec;background:#fff;border-radius:9px;height:43px;padding:0 12px;color:#1d2e47;outline:none;transition:border-color .15s,box-shadow .15s}.iv-photo-tool .control-select:focus,.iv-photo-tool .control-input:focus{border-color:#7092f8;box-shadow:0 0 0 3px rgba(35,87,223,.1)}.iv-photo-tool .control-input::placeholder{color:#a1acbc}.iv-photo-tool .preset-note{font-size:11px;color:var(--muted);margin-top:8px;line-height:1.5}.iv-photo-tool .source-wrap{font-size:11px;margin-top:7px;display:flex;justify-content:space-between;gap:9px;align-items:center;flex-wrap:wrap}.iv-photo-tool .source-wrap a{font-weight:750;text-decoration:none}.iv-photo-tool .source-wrap a:hover{text-decoration:underline}.iv-photo-tool .source-wrap span{color:#8490a2}.iv-photo-tool .preset-warning{margin-top:10px;padding:10px 11px;border-radius:9px;background:var(--amber);color:var(--amber-ink);font-size:11px;line-height:1.5}.iv-photo-tool .section-rule{height:1px;background:#edf0f5;margin:22px 0 17px}.iv-photo-tool .section-title-row{display:flex;justify-content:space-between;align-items:center;gap:10px}.iv-photo-tool .section-title-row h3,.iv-photo-tool .preview-header h3,.iv-photo-tool .action-topline h3{margin:0;font-size:13px;letter-spacing:-.01em;font-weight:800}.iv-photo-tool .unit-label{font-size:10px;color:#8793a6;font-weight:650}.iv-photo-tool .two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.iv-photo-tool .two-fields>.section-title-row,.iv-photo-tool .two-fields>div{min-width:0}.iv-photo-tool .two-fields .field-label{margin-top:12px}.iv-photo-tool .field-help{font-size:10px;color:#7b889b;margin:7px 0 0;line-height:1.5}.iv-photo-tool .quality-row{align-items:start}.iv-photo-tool .range-input{width:100%;accent-color:var(--blue);margin:12px 0 0}.iv-photo-tool .compact-select{height:39px;font-size:12px;padding-left:9px}.iv-photo-tool .quality-row .section-title-row .field-label{margin-top:12px;margin-bottom:0}.iv-photo-tool .crop-position{margin-top:6px}.iv-photo-tool .crop-position .field-help{display:block}.iv-photo-tool .background-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}.iv-photo-tool .checkbox-label{font-size:11px;font-weight:600;color:#526079;display:flex;align-items:center;gap:7px}.iv-photo-tool .checkbox-label input{accent-color:var(--blue)}.iv-photo-tool .background-row input[type=color]{border:0;padding:0;width:31px;height:28px;background:transparent;cursor:pointer}.iv-photo-tool .save-preset-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.iv-photo-tool .save-copy{display:flex;flex-direction:column;gap:3px}.iv-photo-tool .save-copy strong{font-size:12px}.iv-photo-tool .save-copy span{font-size:10px;color:#7a879a;line-height:1.4}.iv-photo-tool .save-preset-form{margin-top:13px;padding:13px;background:#f6f8fc;border:1px solid #e5eaf3;border-radius:12px}.iv-photo-tool .inline-actions{display:flex;gap:8px;margin-top:10px}.iv-photo-tool .button{border:1px solid transparent;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750;font-size:12px;padding:11px 15px;transition:transform .12s,background .12s,border-color .12s;line-height:1.2}.iv-photo-tool .button:active:not(:disabled){transform:translateY(1px)}.iv-photo-tool .button-primary{background:var(--blue);color:#fff}.iv-photo-tool .button-primary:hover:not(:disabled){background:var(--blue-dark)}.iv-photo-tool .button-secondary{background:#f0f4ff;border-color:#dbe5ff;color:#214dbb}.iv-photo-tool .button-secondary:hover:not(:disabled){background:#e7edff}.iv-photo-tool .button-quiet{background:transparent;color:#53617a;border-color:#dce3ec}.iv-photo-tool .button-success{background:#178451;color:#fff}.iv-photo-tool .button-success:hover:not(:disabled){background:#116a40}.iv-photo-tool .button-small{font-size:10px;padding:9px 11px;border-radius:8px;white-space:nowrap}.iv-photo-tool .button-large{min-height:49px;font-size:13px;flex:1}.iv-photo-tool .button-icon{font-size:18px;line-height:1}.iv-photo-tool .work-panel{display:grid;gap:17px;min-width:0}.iv-photo-tool .upload-panel{padding:23px}.iv-photo-tool .upload-panel .panel-heading{margin-bottom:18px}.iv-photo-tool .privacy-label{display:flex;gap:6px;align-items:center;color:#17724e;background:#edfaf3;border-radius:20px;padding:6px 9px;font-size:10px;font-weight:750;white-space:nowrap}.iv-photo-tool .lock-icon{font-size:12px}.iv-photo-tool .drop-zone{border:1.5px dashed #c8d4e7;background:#f9fbff;border-radius:15px;min-height:225px;padding:25px 16px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;transition:border-color .15s,background .15s;outline:none}.iv-photo-tool .drop-zone:focus-visible,.iv-photo-tool .drop-zone.is-dragging{border-color:var(--blue);background:#eff4ff}.iv-photo-tool .upload-icon{color:#3866db;width:51px;height:51px;display:grid;place-items:center;background:#eaf0ff;border-radius:15px;margin-bottom:11px}.iv-photo-tool .upload-icon svg{width:30px;height:30px}.iv-photo-tool .drop-zone h3{font-size:15px;margin:0 0 4px;font-weight:800;letter-spacing:-.02em}.iv-photo-tool .drop-zone p{font-size:11px;color:#7b889c;margin:0 0 16px}.iv-photo-tool .upload-limit{font-size:10px;color:#8a96a7;margin-top:12px}.iv-photo-tool .selected-file{display:flex;gap:11px;align-items:center;margin-top:14px;padding:12px;background:#f6f8fc;border:1px solid #e3e9f2;border-radius:11px}.iv-photo-tool .file-type-icon{display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;border-radius:10px;background:#e5edff;color:#3157ba;font-weight:850;font-size:10px}.iv-photo-tool .selected-file-copy{display:flex;flex-direction:column;min-width:0;flex:1;gap:3px}.iv-photo-tool .selected-file-copy strong{font-size:12px;overflow-wrap:anywhere}.iv-photo-tool .selected-file-copy span{font-size:10px;color:#77859a}.iv-photo-tool .icon-button{border:0;background:transparent;color:#7e8ba0;font-size:25px;width:32px;height:32px;border-radius:8px}.iv-photo-tool .icon-button:hover{background:#e8edf5;color:#21324a}.iv-photo-tool .message{padding:11px 13px;border-radius:10px;font-size:11px;line-height:1.5;margin:12px 0 0}.iv-photo-tool .message-error{background:#fff0ef;color:#a5231c;border:1px solid #ffd7d3}.iv-photo-tool .message-info{background:#eef4ff;color:#214ca9;border:1px solid #dbe5ff}.iv-photo-tool .message-success{background:#ebfaf1;color:#176c44;border:1px solid #ccefd9}.iv-photo-tool .message-warning{background:#fff6e3;color:#795300;border:1px solid #f4e2af}.iv-photo-tool .preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;min-width:0}.iv-photo-tool .preview-card{padding:16px;min-width:0}.iv-photo-tool .preview-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}.iv-photo-tool .preview-header h3{font-size:12px}.iv-photo-tool .dimension-badge,.iv-photo-tool .status-badge{display:inline-block;border-radius:7px;background:#f1f4f8;color:#61718a;padding:5px 7px;font-size:9px;font-weight:750;white-space:nowrap}.iv-photo-tool .status-badge.ready{background:#e5f8ed;color:#147347}.iv-photo-tool .status-badge.warning{background:#fff2d3;color:#805600}.iv-photo-tool .preview-stage{height:235px;border-radius:12px;overflow:hidden;background-color:#f6f8fc;background-image:linear-gradient(45deg,#e9edf3 25%,transparent 25%),linear-gradient(-45deg,#e9edf3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9edf3 75%),linear-gradient(-45deg,transparent 75%,#e9edf3 75%);background-size:18px 18px;background-position:0 0,0 9px,9px -9px,-9px 0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;position:relative}.iv-photo-tool .preview-stage img{display:block;max-width:100%;max-height:100%;object-fit:contain}.iv-photo-tool .preview-stage.empty-stage{background:#f8fafd;background-image:none;border:1px solid #eef1f6;color:#9aa6b7}.iv-photo-tool .empty-preview-icon{font-size:37px;line-height:1;color:#c0cad8}.iv-photo-tool .preview-stage>span{font-size:10px;text-align:center;padding:0 10px}.iv-photo-tool .preview-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px;font-size:10px;color:#8290a4}.iv-photo-tool .preview-footer strong{font-size:11px;color:#314159}.iv-photo-tool .output-card{border-color:#d6e3ff}.iv-photo-tool .output-card .preview-stage{border:1px solid #edf1f9}.iv-photo-tool .action-area{padding:20px 22px}.iv-photo-tool .action-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.iv-photo-tool .action-topline h3{font-size:14px}.iv-photo-tool .action-topline p{font-size:11px;color:#79869b;margin:5px 0 0}.iv-photo-tool .free-chip{font-size:10px;border:1px solid #cdebdc;border-radius:20px;padding:6px 9px;background:#edfaf2;color:#17754b;font-weight:800;white-space:nowrap}.iv-photo-tool .action-buttons{display:flex;gap:10px}.iv-photo-tool .result-details{margin-top:14px;border-top:1px solid #e9edf3;padding-top:13px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.iv-photo-tool .result-metric{padding:10px;background:#f7f9fc;border-radius:9px}.iv-photo-tool .result-metric span{display:block;font-size:10px;color:#75839a}.iv-photo-tool .result-metric strong{display:block;font-size:13px;color:#1f334e;margin-top:3px;overflow-wrap:anywhere}.iv-photo-tool .privacy-strip{display:flex;gap:15px;align-items:flex-start;margin-top:26px;padding:22px 25px;border:1px solid #cfeadc;background:#f0fbf5;border-radius:15px}.iv-photo-tool .privacy-symbol{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:11px;background:#daf6e6;color:#17734c;font-size:18px;font-weight:900}.iv-photo-tool .privacy-strip h2{margin:0 0 4px;font-size:14px;letter-spacing:-.02em}.iv-photo-tool .privacy-strip p{margin:0;color:#557367;font-size:11px;line-height:1.65}.iv-photo-tool .content-section{margin-top:66px}.iv-photo-tool .content-heading{text-align:center;max-width:750px;margin:0 auto 26px}.iv-photo-tool .content-heading .eyebrow{margin-bottom:10px}.iv-photo-tool .content-heading h2{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.045em;margin:0;color:#172640}.iv-photo-tool .content-heading>p{font-size:13px;color:#7c899c;margin:12px auto 0}.iv-photo-tool .how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.iv-photo-tool .how-card{border:1px solid var(--line);border-radius:15px;background:#fff;padding:23px;box-shadow:0 8px 22px rgba(20,38,69,.025)}.iv-photo-tool .how-number{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#edf2ff;color:#2655cf;font-size:11px;font-weight:850}.iv-photo-tool .how-card h3{font-size:15px;margin:16px 0 7px;letter-spacing:-.02em}.iv-photo-tool .how-card p{margin:0;font-size:12px;line-height:1.7;color:#728096}.iv-photo-tool .requirements-section{margin-top:56px}.iv-photo-tool .requirements-note{display:flex;gap:12px;align-items:flex-start;border:1px solid #f0dfb3;background:#fff9e9;border-radius:12px;padding:14px 16px;margin-bottom:16px}.iv-photo-tool .notice-icon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#f9e8bb;color:#805700;font-weight:850}.iv-photo-tool .requirements-note p{margin:0;font-size:11px;color:#6f5b2c;line-height:1.65}.iv-photo-tool .faq-list{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.iv-photo-tool .faq-list details+details{border-top:1px solid #edf0f5}.iv-photo-tool .faq-list summary{padding:16px 18px;font-size:12px;font-weight:750;cursor:pointer;list-style:none;position:relative;padding-right:45px}.iv-photo-tool .faq-list summary::-webkit-details-marker{display:none}.iv-photo-tool .faq-list summary:after{content:"+";position:absolute;right:18px;top:12px;font-size:20px;color:#6d7f98;font-weight:400}.iv-photo-tool .faq-list details[open] summary:after{content:"−"}.iv-photo-tool .faq-list details p{font-size:11px;color:#758197;margin:0;padding:0 18px 17px;max-width:850px;line-height:1.75}.iv-photo-tool .source-section{margin-top:44px;padding:23px;border:1px solid var(--line);background:#fff;border-radius:14px}.iv-photo-tool .source-section h2{font-size:14px;margin:0 0 6px}.iv-photo-tool .source-section>p{font-size:11px;color:#77849a;margin:0 0 14px}.iv-photo-tool .source-links{display:flex;gap:10px 20px;flex-wrap:wrap}.iv-photo-tool .source-links a{font-size:11px;font-weight:700;text-decoration:none}.iv-photo-tool .source-links a:hover{text-decoration:underline}.iv-photo-tool .seo-copy{max-width:940px;margin:42px auto 0;color:#64738a}.iv-photo-tool .seo-copy h2{font-size:20px;letter-spacing:-.03em;color:#243550;margin:0 0 11px}.iv-photo-tool .seo-copy p{font-size:12px;line-height:1.85;margin:0 0 12px}.iv-photo-tool .site-footer{background:#10213b;color:#d5dfed}.iv-photo-tool .footer-inner{padding-top:24px;padding-bottom:18px}.iv-photo-tool .footer-brand{font-size:18px}.iv-photo-tool .footer-brand .brand-mark{width:27px;height:27px;font-size:18px;border-radius:8px}.iv-photo-tool .footer-inner p{font-size:11px;color:#9eacc2}.iv-photo-tool .copyright{text-align:center;font-size:10px;color:#8f9fb7;border-top:1px solid rgba(255,255,255,.1);padding:13px 20px 17px}@media(max-width:1020px){.iv-photo-tool .tool-layout{grid-template-columns:minmax(290px,350px) minmax(0,1fr);gap:14px}.iv-photo-tool .control-panel{padding:20px 18px}.iv-photo-tool .upload-panel{padding:19px}.iv-photo-tool .preview-stage{height:210px}.iv-photo-tool .privacy-label{font-size:9px}.iv-photo-tool .panel-heading h2{font-size:19px}}@media(max-width:780px){.iv-photo-tool .page-shell{padding:0 16px 48px}.iv-photo-tool .header-inner{padding:14px 17px}.iv-photo-tool .hero{padding:39px 0 27px}.iv-photo-tool .hero-copy{font-size:15px}.iv-photo-tool .trust-points{gap:10px 15px}.iv-photo-tool .tool-layout{grid-template-columns:1fr}.iv-photo-tool .control-panel{order:2}.iv-photo-tool .work-panel{order:1}.iv-photo-tool .preview-stage{height:260px}.iv-photo-tool .control-panel{padding:22px}.iv-photo-tool .how-grid{grid-template-columns:1fr}.iv-photo-tool .how-card{padding:19px}.iv-photo-tool .content-section{margin-top:48px}.iv-photo-tool .footer-inner{padding:21px 18px;align-items:flex-start;flex-direction:column;gap:9px}.iv-photo-tool .footer-inner p{margin:0}.iv-photo-tool .source-section{padding:18px}}@media(max-width:480px){.iv-photo-tool{font-size:14px}.iv-photo-tool .header-label{font-size:10px}.iv-photo-tool .brand{font-size:19px}.iv-photo-tool .hero h1{font-size:36px}.iv-photo-tool .hero-copy{font-size:13px}.iv-photo-tool .trust-points{font-size:10px}.iv-photo-tool .preview-grid{grid-template-columns:1fr}.iv-photo-tool .preview-stage{height:265px}.iv-photo-tool .action-buttons{flex-direction:column}.iv-photo-tool .button-large{width:100%}.iv-photo-tool .privacy-strip{padding:17px;gap:11px}.iv-photo-tool .privacy-strip p{font-size:10px}.iv-photo-tool .two-fields{gap:9px}.iv-photo-tool .control-panel{padding:18px 15px}.iv-photo-tool .upload-panel{padding:17px}.iv-photo-tool .step-pill{font-size:9px}.iv-photo-tool .panel-heading{gap:8px}.iv-photo-tool .privacy-label{max-width:115px;white-space:normal;line-height:1.2}.iv-photo-tool .result-details{grid-template-columns:1fr 1fr}.iv-photo-tool .save-preset-row{align-items:flex-start}}@media(prefers-reduced-motion:reduce){.iv-photo-tool{scroll-behavior:auto}.iv-photo-tool *,.iv-photo-tool *:before,.iv-photo-tool *:after{transition:none!important}}
.iv-photo-tool .iv-tool-ad{max-width:940px;margin:24px auto 30px;min-height:90px;overflow:hidden;text-align:center}
