/* PayLink Phase 2.0.1 — Payment Studio facelift. Scope: create-link only. */
.pl-studio{--studio-ink:#1d2641;--studio-muted:#828da6;--studio-primary:#6552ed;--studio-line:#e8ebf4;max-width:1280px;margin:auto;color:var(--studio-ink)}
.pl-studio *{box-sizing:border-box}
.pl-studio-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-5px 0 20px}
.pl-studio-back{display:inline-flex;align-items:center;gap:8px;color:#66718b;font-weight:700;font-size:12px;transition:color .18s}.pl-studio-back:hover{color:#6552ed}.pl-studio-back svg{height:17px;width:17px}
.pl-studio-progress{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:1.25px;font-weight:800;color:#8479b3}.pl-studio-progress>span{display:inline-block;width:7px;height:7px;background:#8e6aff;border-radius:50%;box-shadow:0 0 0 4px #ece7ff}.pl-studio-progress b{color:#d3cde6}
.pl-studio-hero{display:flex;align-items:center;justify-content:space-between;min-height:190px;position:relative;overflow:hidden;border-radius:20px;padding:29px 36px;margin-bottom:22px;background:linear-gradient(112deg,#222850 0%,#303479 56%,#6d56e0 100%);box-shadow:0 18px 38px rgba(48,39,109,.17);color:#fff}
.pl-studio-hero-copy{position:relative;z-index:2;max-width:660px}.pl-studio-hero-eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:1.65px;font-weight:800;color:#c5c3f7}.pl-studio-pulse{width:7px;height:7px;border-radius:50%;background:#76ebbc;box-shadow:0 0 0 4px #76ebbc25}.pl-studio-hero-separator{color:#958fd4}
.pl-studio-hero h2{font-size:clamp(25px,2.6vw,33px);font-weight:800;letter-spacing:-1.3px;line-height:1.2;margin:11px 0 10px;color:#fff}.pl-studio-hero h2 em{font-style:normal;color:#c5b8ff}.pl-studio-hero p{font-size:12px;line-height:1.75;color:#dedcf9;max-width:500px;margin:0}.pl-studio-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.pl-studio-tags>span{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#dad9fd;background:#ffffff13;border:1px solid #ffffff18;border-radius:100px;padding:5px 10px;font-weight:650}.pl-studio-tags i{width:6px;height:6px;border-radius:50%;background:#a3dfd1;display:block}
.pl-studio-hero-art{width:215px;height:130px;position:relative;flex:none;transform:rotate(-9deg);margin-right:6px}.pl-studio-art-circle{position:absolute;border-radius:50%;border:1px solid #ffffff38;pointer-events:none}.pl-studio-art-circle-one{width:230px;height:230px;top:-55px;left:15px}.pl-studio-art-circle-two{width:310px;height:310px;top:-100px;left:-45px}
.pl-studio-art-ticket{position:relative;z-index:1;background:linear-gradient(145deg,#ffffff,#e8e6ff);color:#262553;border-radius:16px;padding:21px;box-shadow:0 18px 35px #14133c4d}.pl-studio-art-ticket>span{display:block;font-size:9px;letter-spacing:1.4px;font-weight:800;color:#6e64c4}.pl-studio-art-ticket>strong{display:block;font-size:25px;letter-spacing:-.7px;margin:4px 0 7px}.pl-studio-art-ticket>small{font-size:8px;font-weight:800;color:#9c9db8;letter-spacing:1px}
.pl-studio-error{margin-bottom:20px}
.pl-studio-grid{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(280px,.86fr);align-items:start;gap:22px}
.pl-studio-card{min-width:0;overflow:hidden;background:white;border:1px solid #e7eaf3;border-radius:18px;box-shadow:0 14px 34px rgba(38,41,94,.055)}
.pl-studio-card-heading{display:flex;gap:15px;align-items:center;padding:25px 28px;border-bottom:1px solid #eef0f6}
.pl-studio-heading-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#f0edff;color:#6651db;flex:none}.pl-studio-heading-icon svg{width:22px;height:22px}
.pl-studio-heading-text{min-width:0;flex:1}.pl-studio-heading-text>span{display:block;color:#7868d7;letter-spacing:1.2px;font-weight:850;font-size:9px;margin-bottom:4px}.pl-studio-heading-text h3{font-size:18px;letter-spacing:-.55px;font-weight:800;line-height:1.25;margin:0 0 4px}.pl-studio-heading-text p{font-size:11px;color:#9299a9;line-height:1.5;margin:0}.pl-studio-step{color:#5542cf;font-size:12px;font-weight:800;white-space:nowrap}.pl-studio-step span{color:#b5b5c8;font-weight:600}
.pl-studio-form{padding:24px 28px 26px}.pl-studio-section-title{display:flex;align-items:center;gap:13px;margin:0 0 22px}.pl-studio-section-title>span{color:#6b7690;font-size:10px;font-weight:850;letter-spacing:1.4px;white-space:nowrap}.pl-studio-section-title>div{height:1px;flex:1;background:#ecedf4}.pl-studio-section-title>small{font-size:10px;color:#9ba3b4;white-space:nowrap}
.pl-studio-field{min-width:0;margin:0 0 24px}.pl-studio-field-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:19px}.pl-studio-field>label{display:flex;align-items:center;gap:5px;margin-bottom:8px;font-size:12px;color:#3f4866;font-weight:750;line-height:1.4}.pl-studio-field>label b{font-weight:900;color:#eb7180}.pl-studio-field .pl-optional{font-size:8px;letter-spacing:.85px;color:#a7acbb;border:1px solid #e7e9f0;background:#f9fafc;border-radius:5px;margin-left:auto;padding:3px 5px;font-weight:800}
.pl-studio-field input:not([type=hidden]),.pl-studio-field textarea{display:block;width:100%;max-width:100%;min-width:0;border:1px solid #dfe4ef;background:#fff;border-radius:11px;padding:13px 15px;min-height:47px;font-family:inherit;font-size:12px;line-height:1.5;color:#273454;outline:none;box-shadow:0 1px 2px #2b2f5410;transition:box-shadow .18s,border-color .18s,background .18s}
.pl-studio-field textarea{resize:vertical;min-height:106px}.pl-studio-field input::placeholder,.pl-studio-field textarea::placeholder{color:#acb4c5}
.pl-studio-field input:focus,.pl-studio-field textarea:focus{border-color:#8876ef;box-shadow:0 0 0 4px #7b69e928;background:#fff}
.pl-studio-field>small{display:block;margin-top:7px;color:#9099aa;font-size:10px;line-height:1.55}
.pl-studio-money{position:relative}.pl-studio-money>.pl-studio-peso{display:grid;place-items:center;position:absolute;left:1px;top:1px;bottom:1px;width:47px;border-right:1px solid #e5e8f0;background:#f8f8ff;border-radius:10px 0 0 10px;color:#5e4fda;font-weight:850;font-size:17px}.pl-studio-field .pl-studio-money input{padding-left:58px;font-size:15px;font-weight:800;letter-spacing:.15px}
.pl-studio-form-footer{border-top:1px solid #ecedf5;padding-top:21px;margin-top:5px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.pl-studio-protected{display:flex;align-items:center;gap:7px;font-size:10px;color:#7e8aa2}.pl-studio-protected svg{width:16px;height:16px;color:#3bb689}.pl-studio-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.pl-studio-cancel,.pl-studio-submit{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;white-space:nowrap;min-height:45px;padding:0 18px;border-radius:10px;font-size:11px;font-weight:800;transition:transform .18s,box-shadow .18s}.pl-studio-cancel{color:#5d6882;background:#fff;border:1px solid #e4e7ef}.pl-studio-cancel:hover{background:#f7f7fb}.pl-studio-submit{border:0;background:linear-gradient(120deg,#7663f5,#5940d7);color:#fff;box-shadow:0 11px 23px rgba(92,64,215,.22)}.pl-studio-submit:hover{transform:translateY(-2px);box-shadow:0 15px 27px rgba(92,64,215,.27)}.pl-studio-submit svg{width:17px;height:17px}
.pl-studio-aside{min-width:0;display:flex;flex-direction:column;gap:17px}
.pl-studio-preview{background:#fff;border-radius:18px;border:1px solid #e7eaf2;padding:21px;box-shadow:0 14px 34px rgba(38,41,94,.055)}
.pl-studio-preview-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:19px}.pl-studio-preview-label{display:flex;align-items:center;gap:8px;font-size:10px;color:#6d758d;font-weight:850;letter-spacing:1.1px}.pl-studio-live-dot{height:7px;width:7px;background:#37c48a;box-shadow:0 0 0 4px #37c48a1d;border-radius:50%}.pl-studio-demo-pill{font-size:8px;letter-spacing:.65px;background:#fff5e1;border:1px solid #faeac4;color:#997126;border-radius:50px;padding:6px 9px;font-weight:850;white-space:nowrap}
.pl-studio-preview-brand{display:flex;align-items:center;gap:11px;margin:0 0 19px}.pl-studio-preview-logo{width:36px;height:36px;display:grid;place-items:center;background:linear-gradient(140deg,#6f59e9,#44329e);color:#fff;border-radius:11px;font-size:19px;font-weight:900}.pl-studio-preview-brand>div{min-width:0}.pl-studio-preview-brand strong{display:block;font-size:12px;color:#303752;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pl-studio-preview-brand small{display:block;color:#98a0b1;font-size:10px;margin-top:2px}
.pl-studio-preview-summary{position:relative;overflow:hidden;border-radius:14px;background:linear-gradient(127deg,#25285b,#5448ae);padding:24px 20px 21px;color:white}.pl-studio-preview-summary:after{content:'';position:absolute;height:130px;width:130px;border-radius:50%;border:23px solid #ffffff10;right:-30px;top:-50px}.pl-studio-preview-summary small{font-size:9px;color:#cac5ff;letter-spacing:1.15px;font-weight:850}.pl-studio-preview-summary>strong{display:block;color:#fff;font-size:clamp(27px,2.6vw,36px);letter-spacing:-1px;line-height:1.4;margin-top:5px;overflow-wrap:anywhere}.pl-studio-preview-summary>div{font-size:10px;color:#d7d2fb;margin-top:1px}
.pl-studio-preview-details{display:grid;gap:0;padding:10px 0 12px}.pl-studio-preview-details>div{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;padding:12px 0;border-bottom:1px solid #eff0f5}.pl-studio-preview-details span{font-size:10px;color:#919aaf;white-space:nowrap}.pl-studio-preview-details b{font-size:10px;color:#34405f;font-weight:750;text-align:right;max-width:65%;overflow-wrap:anywhere}
.pl-studio-preview-button{display:flex;align-items:center;justify-content:center;gap:9px;text-align:center;color:#a3a4b4;background:#eeeff4;padding:13px;border-radius:10px;font-size:10px;font-weight:850;cursor:not-allowed}.pl-studio-preview-button svg{width:15px;height:15px}.pl-studio-preview-foot{margin:10px 3px 0;font-size:10px;line-height:1.55;color:#969cad;text-align:center}
.pl-studio-how{border:1px solid #e7eaf3;border-radius:18px;background:#fff;padding:22px 23px;box-shadow:0 12px 28px #1b214408}.pl-studio-how-title span{display:block;color:#7160da;font-size:9px;font-weight:850;letter-spacing:1.3px}.pl-studio-how-title h3{font-size:16px;letter-spacing:-.45px;color:#29304b;margin:5px 0 22px}.pl-studio-timeline{position:relative}.pl-studio-timeline:before{content:'';position:absolute;top:18px;left:15px;bottom:27px;width:1px;background:#e4e2f6}.pl-studio-timeline-item{display:flex;align-items:flex-start;gap:13px;position:relative;margin-bottom:20px}.pl-studio-timeline-item:last-child{margin-bottom:0}.pl-studio-timeline-item>span{background:#f0edff;border:1px solid #e0d9ff;width:31px;height:31px;flex:none;display:grid;place-items:center;border-radius:10px;color:#7762de;font-size:10px;font-weight:850}.pl-studio-timeline-item strong{font-size:11px;display:block;color:#39405e}.pl-studio-timeline-item p{font-size:10px;line-height:1.6;color:#8d96a8;margin:4px 0 0}
@media(max-width:1260px){.pl-studio-hero-art{width:175px}.pl-studio-art-ticket{padding:16px}.pl-studio-grid{grid-template-columns:minmax(0,1fr) minmax(255px,.8fr);gap:15px}.pl-studio-form{padding:22px}.pl-studio-card-heading{padding:21px 22px}.pl-studio-preview{padding:18px}}
@media(max-width:1120px){.pl-studio-grid{grid-template-columns:1fr}.pl-studio-aside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.pl-studio-hero-art{width:210px}.pl-studio-card-heading{padding:25px}.pl-studio-form{padding:25px}}
@media(max-width:820px){.pl-studio-hero-art{display:none}.pl-studio-hero{min-height:170px;padding:26px}.pl-studio-aside{grid-template-columns:1fr}.pl-studio-preview-summary>strong{font-size:35px}}
@media(max-width:570px){.pl-studio-nav{align-items:flex-start;flex-direction:column;gap:13px}.pl-studio-hero{padding:22px;border-radius:15px}.pl-studio-hero h2{font-size:26px}.pl-studio-tags{gap:6px}.pl-studio-tags>span{font-size:9px}.pl-studio-card-heading{padding:20px 17px}.pl-studio-heading-text h3{font-size:16px}.pl-studio-form{padding:21px 17px}.pl-studio-field-row{grid-template-columns:1fr;gap:0}.pl-studio-field{margin-bottom:20px}.pl-studio-form-footer{align-items:stretch}.pl-studio-protected{width:100%}.pl-studio-buttons{width:100%;display:grid;grid-template-columns:1fr 1.5fr}.pl-studio-cancel,.pl-studio-submit{width:100%;padding:0 9px;font-size:10px}.pl-studio-step{display:none}}
@media(prefers-reduced-motion:reduce){.pl-studio *{transition:none!important}}
/* Phase 3: provider integration and public sandbox checkout */
.provider-setup { margin-bottom: 22px; padding: 30px; }
.provider-setup code { background: #f4f2fe; color: #5040bc; font-size: .9em; padding: 2px 6px; border-radius: 5px; }
.setup-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin: 24px 0; }
.setup-step { display:flex; gap:13px; padding:20px; background:#fafaff; border:1px solid #ececf7; border-radius:16px; }
.setup-step>b { flex-shrink:0; display:grid;place-items:center; width:32px;height:32px; border-radius:10px; background:#eee8ff; color:#6745e0; }
.setup-step strong { display:block; color:#202143; font-size:14px; margin:2px 0 8px; }
.setup-step p { color:#6e728e; font-size:13px; line-height:1.55; overflow-wrap:anywhere; margin:0; }
.setup-label { display:block; font-size:13px; font-weight:700; margin:14px 0 8px; }
.setup-caution { margin-top:18px; color:#7a6b43; background:#fffaf0; padding:14px; border-radius:12px; font-size:13px; line-height:1.6; }
.sandbox-callout { padding: 18px 20px; border: 1px solid #e1d9ff; border-radius: 16px; margin:22px 0 14px; background:linear-gradient(130deg,#f6f3ff,#fff); color:#322d70; }
.sandbox-callout strong { margin-left:8px; font-size:15px; }
.sandbox-callout p {font-size:13px;line-height:1.6;margin:8px 0 0;color:#686782;}
.sandbox-dot { display:inline-block;width:9px;height:9px;border-radius:50%;background:#7958ea; }
.public-provider-btn { width:100%;min-height:52px;justify-content:center;font-weight:700;font-size:15px; }
.public-success-msg {border:1px solid #bee9cc;border-radius:15px;background:#effcf3;color:#236340;padding:20px;margin-top:20px;}
.public-success-msg p { color:#466b52;font-size:13px;line-height:1.6;margin:8px 0 0; }
@media(max-width:850px){.setup-grid{grid-template-columns:1fr}.provider-setup{padding:18px}}
