.p4-entry-grid,.p4-overview-grid,.p4-form-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:28px;align-items:start}
.p4-panel{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:30px;min-width:0}
.p4-panel h2{font-size:32px;line-height:1.2;margin:0 0 18px}.p4-panel p{font-size:13px;color:var(--muted);margin-bottom:18px}.p4-panel .eyebrow{font-size:9px;margin-bottom:12px}.p4-panel .btn{font-size:11px}
.p4-entry-grid .p4-panel{padding:36px}.p4-entry-grid h2{font-size:38px}.p4-join{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:30px 0;border-bottom:1px solid var(--line)}.p4-join p{font-size:13px;margin-top:6px;color:var(--muted)}
.p4-form-layout{grid-template-columns:.8fr 1.2fr;margin-top:0;gap:65px}.p4-process{padding-left:20px;font-size:14px;color:var(--muted);line-height:2.2;margin:22px 0}.p4-form-layout>div>p{font-size:13px;max-width:380px;color:var(--muted)}.p4-form-layout .form-card h2{font-size:34px}.p4-form-layout small{font-size:11px;color:var(--muted)}
.p4-small-price{margin-top:40px}.p4-small-price strong{font-size:60px}.p4-check{display:flex;align-items:start;gap:12px;margin:20px 0 8px}.p4-check input{width:18px;height:18px;flex-shrink:0;accent-color:var(--green)}.p4-check label{font-size:12px;line-height:1.7}.p4-check~button{margin-top:23px}
.p4-error{color:#873e2f;border:1px solid #d4b5a9;background:#fcf3ed;border-radius:8px;padding:15px;font-size:13px;margin:16px 0}.p4-error:empty{display:none}.p4-error[hidden]{display:none}
.p4-tag{display:inline-flex;align-items:center;gap:6px;border-radius:30px;padding:5px 10px;font-size:10px;line-height:1.5;background:#e6ecef;color:#1c6d90;white-space:nowrap}.p4-tag.confirmed{background:#e2e9ec;color:#165671}.p4-tag.pending{background:#e5eaec;color:#765c2a}.p4-tag.cancelled{background:#f4e3dc;color:#8b5041}
.p4-dashboard-head{padding:35px 0 30px;display:flex;justify-content:space-between;align-items:flex-end;gap:20px}.p4-dashboard-head .breadcrumb{margin-bottom:28px}.p4-dashboard-head h1{font-family:var(--serif);font-size:58px;font-weight:400;letter-spacing:-.04em;line-height:1.1;margin:0 0 16px}.p4-dashboard-head .eyebrow{font-size:10px;margin-bottom:12px}.p4-dashboard-head p{display:flex;align-items:center;gap:15px;font-size:14px;color:var(--muted)}.p4-dashboard-head>.btn{font-size:11px;margin-bottom:4px}
.p4-dashboard>.note{font-size:11px;padding:15px 18px}.p4-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}.p4-stat{padding:26px;background:var(--white);border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;gap:12px}.p4-stat>span{font-size:11px;color:var(--muted)}.p4-stat strong{font-family:var(--serif);font-size:37px;font-weight:400;letter-spacing:-.025em;line-height:1.1}.p4-stat small{font-size:10px;line-height:1.7;color:var(--muted)}.p4-stat-emphasis{background:var(--green);color:#f1f4f5;border-color:var(--green)}.p4-stat-emphasis>span,.p4-stat-emphasis small{color:#c4d2d8}
.p4-overview-grid{grid-template-columns:1.18fr 1fr;margin-bottom:28px}.p4-panel-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:10px}.p4-panel-head h2{margin-bottom:0}.p4-panel progress{height:8px;border:0;width:100%;margin:22px 0 8px;border-radius:10px;background:#d9e3e7;appearance:none}.p4-panel progress::-webkit-progress-bar{background:#d9e3e7;border-radius:10px}.p4-panel progress::-webkit-progress-value{background:#a28754;border-radius:10px}.p4-panel progress::-moz-progress-bar{background:#a28754;border-radius:10px}.p4-progress-legend{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);margin-bottom:24px}
.p4-schedule{border-top:1px solid var(--line);margin-top:25px;padding-top:17px}.p4-schedule summary{font-size:12px;cursor:pointer;color:var(--green)}.p4-schedule p{font-size:11px;margin-top:15px}.p4-schedule table{width:100%;min-width:480px;border-collapse:collapse;font-size:11px}.p4-schedule th,.p4-schedule td{padding:13px 8px;border-bottom:1px solid var(--line);text-align:left}.p4-schedule caption{text-align:left;padding:14px 0;font-size:12px}.p4-schedule tbody th{font-weight:400}.p4-schedule th:first-child{padding-left:0}.p4-paid{display:flex;align-items:center;gap:9px;color:#165671!important}.p4-paid svg{width:18px}
.p4-gifts dl{margin:25px 0}.p4-gifts dl>div,.p4-facts>div{display:flex;justify-content:space-between;align-items:baseline;gap:20px;padding:13px 0;border-bottom:1px solid var(--line)}.p4-gifts dt,.p4-facts dt{font-size:12px;color:var(--muted)}.p4-gifts dd{font-family:var(--serif);font-size:24px;white-space:nowrap}.p4-gifts small{font-size:10px;line-height:1.8;color:var(--muted);display:block}.p4-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}.p4-facts{margin:20px 0}.p4-facts dd{font-size:13px;text-align:right}.p4-application-status{max-width:850px;margin:0 auto}.p4-application-status>.p4-tag{margin-bottom:20px}
.p4-status-filter{font-size:10px;display:flex;flex-direction:column;gap:6px;color:var(--muted)}.p4-status-filter select{padding:9px 14px;border:1px solid var(--line);border-radius:7px;background:var(--white);font-size:12px;color:var(--green)}.p4-filters{display:flex;flex-wrap:wrap;gap:7px;margin:28px 0 16px}.p4-filters button{border:1px solid var(--line);background:none;padding:9px 14px;border-radius:30px;font-size:11px}.p4-filters button[aria-pressed=true]{background:var(--green);border-color:var(--green);color:var(--white)}.p4-count{font-size:11px!important;margin-bottom:8px!important}
.p4-payment{display:grid;grid-template-columns:100px 1fr 150px 135px;gap:18px;align-items:center;padding:18px 0;border-top:1px solid var(--line)}.p4-payment time{font-size:11px;color:var(--muted)}.p4-payment h3{font-family:var(--sans);font-size:13px;font-weight:500;margin:0 0 6px}.p4-payment small{font-size:10px;color:var(--muted)}.p4-payment-amount{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.p4-payment-amount strong{font-size:14px;font-weight:500}.p4-download{justify-self:end}.p4-download .text-link{font-size:11px;gap:7px}.p4-download svg{width:15px}.p4-download>span{font-size:10px;color:var(--muted)}#p4-payments>.btn{margin-top:18px}
.p4-demo-tools{margin-top:25px;border:1px dashed #b7c6cc;padding:17px 20px;border-radius:9px;color:var(--muted);font-size:11px}.p4-demo-tools summary{cursor:pointer}.p4-demo-tools p{font-size:10px;margin-top:18px}.p4-demo-tools .btn{font-size:10px;min-height:35px;padding:8px 13px}.p4-payment-form{margin-top:24px}.p4-payment-form small{font-size:10px;color:var(--muted)}.p4-payment-form>.btn{margin:22px 0}
@media(max-width:1020px){.p4-stat{padding:22px}.p4-stat strong{font-size:32px}.p4-panel{padding:25px}.p4-overview-grid{gap:18px;grid-template-columns:1fr 1fr}.p4-form-layout{gap:35px}.p4-payment{grid-template-columns:80px 1fr 120px 105px;gap:13px}.p4-dashboard-head h1{font-size:52px}}
@media(max-width:760px){.p4-entry-grid,.p4-overview-grid,.p4-form-layout{grid-template-columns:1fr;gap:20px}.p4-form-layout{margin-top:0}.p4-form-layout>div{padding-bottom:10px}.p4-entry-grid .p4-panel{padding:27px}.p4-entry-grid h2{font-size:33px}.p4-join{align-items:flex-start;flex-direction:column;padding:25px 0}.p4-stats{grid-template-columns:1fr;gap:10px;margin-top:20px}.p4-stat{padding:22px;display:grid;grid-template-columns:1fr auto;gap:9px 12px;align-items:center}.p4-stat>span{font-size:10px}.p4-stat strong{font-size:29px}.p4-stat small{grid-column:1/-1;font-size:10px}.p4-dashboard-head{padding-top:28px;align-items:flex-start;flex-direction:column;gap:18px}.p4-dashboard-head .breadcrumb{margin-bottom:24px}.p4-dashboard-head h1{font-size:45px}.p4-dashboard-head p{font-size:12px;gap:10px}.p4-dashboard-head .eyebrow{font-size:8px}.p4-dashboard-head>.btn{font-size:10px;padding:8px 13px;min-height:36px}.p4-dashboard>.note{font-size:10px}.p4-panel{padding:24px 20px}.p4-panel h2{font-size:29px}.p4-panel-head{gap:12px;align-items:flex-start;flex-wrap:wrap}.p4-panel-head>.p4-tag{margin:6px 0 0}.p4-progress-legend{font-size:10px}.p4-gifts dt{font-size:11px}.p4-gifts dd{font-size:23px}.p4-status-filter{flex-direction:row;align-items:center;margin-top:12px}.p4-status-filter select{font-size:13px}.p4-filters{margin-top:20px;gap:6px}.p4-filters button{font-size:10px;padding:8px 11px}.p4-payment{grid-template-columns:1fr auto;gap:10px 15px;padding:19px 0}.p4-payment time{grid-column:1;grid-row:1;font-size:10px}.p4-payment-kind{grid-column:1;grid-row:2}.p4-payment h3{font-size:12px;line-height:1.5}.p4-payment-amount{grid-column:2;grid-row:1/3;align-items:flex-end}.p4-download{grid-column:1/-1;justify-self:start;margin-top:3px}.p4-facts>div{flex-direction:column;gap:6px}.p4-facts dd{text-align:left}.p4-application-status h2{font-size:31px}.p4-actions{gap:10px}.p4-actions .btn{font-size:10px}.p4-form-layout .form-card h2{font-size:30px}.p4-check label{font-size:11px}.p4-check~button{font-size:11px}.p4-demo-tools{padding:16px}.p4-demo-tools .p4-actions{flex-direction:column;align-items:flex-start}.p4-history .form-foot{font-size:10px}}
@media(max-width:380px){.p4-stat{grid-template-columns:1fr}.p4-stat strong{font-size:31px}.p4-stat small{grid-column:auto}.p4-dashboard-head h1{font-size:42px}.p4-dashboard-head p{flex-wrap:wrap}.p4-panel{padding:22px 17px}.p4-progress-legend{font-size:9px}}
