:root{--dkp-red:#7a1010;--dkp-red2:#941919;--dkp-gold:#c59a2d;--dkp-cream:#fbf7ef;--dkp-text:#24201e;--dkp-muted:#77706a;--dkp-line:#e8e1d7;--dkp-focus:rgba(197,154,45,.15)}
.dkp-form-shell{max-width:1080px;margin:28px auto;padding:0 18px;color:var(--dkp-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:14px;line-height:1.5}.dkp-form-shell *{box-sizing:border-box}
.dkp-form-hero{position:relative;overflow:hidden;text-align:center;padding:34px 28px 30px;border:1px solid #eadfce;border-radius:22px;background:linear-gradient(135deg,#fffdf9 0%,#fbf4e8 100%);margin-bottom:20px}.dkp-form-hero:before,.dkp-form-hero:after{content:"";position:absolute;border-radius:50%;pointer-events:none}.dkp-form-hero:before{width:220px;height:220px;right:-100px;top:-130px;background:rgba(197,154,45,.09)}.dkp-form-hero:after{width:150px;height:150px;left:-80px;bottom:-90px;background:rgba(122,16,16,.055)}.dkp-badge{position:relative;display:inline-block;padding:6px 13px;border-radius:30px;background:var(--dkp-red);color:#fff;font-size:10px;font-weight:800;letter-spacing:2px}.dkp-form-hero h1{position:relative;margin:13px 0 6px;font-family:Georgia,"Times New Roman",serif;font-size:38px;line-height:1.1;letter-spacing:-.4px;color:#171312;font-weight:700}.dkp-form-hero p{position:relative;margin:0;color:var(--dkp-muted);font-size:13px}.dkp-progress{height:4px;max-width:300px;background:#e9dfcc;border-radius:10px;margin:19px auto 0;overflow:hidden}.dkp-progress span{display:block;width:10%;height:100%;background:linear-gradient(90deg,var(--dkp-red),var(--dkp-gold));border-radius:10px;transition:width .25s ease}
.dkp-card{background:#fff;border:1px solid var(--dkp-line);border-radius:17px;padding:23px 24px;margin:16px 0;box-shadow:0 7px 25px rgba(48,31,16,.045)}.dkp-section-head{display:flex;align-items:center;gap:13px;padding-bottom:16px;margin-bottom:19px;border-bottom:1px solid #eee8de}.dkp-section-head>span{width:39px;height:39px;flex:0 0 39px;display:grid;place-items:center;border-radius:10px;background:var(--dkp-red);color:#fff;font-size:11px;font-weight:800}.dkp-section-head h2{margin:0;color:#171312;font-family:Georgia,"Times New Roman",serif;font-size:25px;line-height:1.15;font-weight:700}.dkp-section-head p{margin:3px 0 0;color:#8a837c;font-size:11px}
.dkp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 18px}.dkp-grid.single{grid-template-columns:1fr}.dkp-field label{display:block}.dkp-field span{display:block;margin:0 0 6px;color:#4a332d;font-size:12px;line-height:1.25;font-weight:700}.dkp-field span b{color:#c21f2b}.dkp-field input,.dkp-field select,.dkp-field textarea{display:block;width:100%;min-height:43px;padding:10px 12px;border:1px solid #d8d2ca;border-radius:9px;background:#fff;color:#292522;font:inherit;font-size:13px;outline:0;box-shadow:none;transition:border-color .16s,box-shadow .16s}.dkp-field textarea{min-height:92px;resize:vertical}.dkp-field input:focus,.dkp-field select:focus,.dkp-field textarea:focus{border-color:var(--dkp-gold);box-shadow:0 0 0 3px var(--dkp-focus)}.dkp-field input[readonly]{background:#f7f4ed;color:#777}.dkp-field small{display:block;margin-top:5px;color:#8a837c;font-size:10px}
.dkp-repeat-wrap{margin-top:3px}.dkp-repeat-head{display:grid;gap:8px;margin-bottom:7px;color:#7c756f;font-size:10px;text-transform:uppercase;letter-spacing:.25px;font-weight:800}.dkp-repeat-head.education{grid-template-columns:1.15fr 1.4fr .6fr 38px}.dkp-repeat-head.sibling{grid-template-columns:1.2fr .45fr .72fr 1fr .9fr 1fr 38px}.dkp-repeat-row{display:grid;gap:8px;margin:7px 0;padding:7px;background:#fcfbf8;border:1px solid #eee9e1;border-radius:10px}.dkp-repeat-row.education{grid-template-columns:1.15fr 1.4fr .6fr 38px}.dkp-repeat-row.sibling{grid-template-columns:1.2fr .45fr .72fr 1fr .9fr 1fr 38px}.dkp-repeat-row input,.dkp-repeat-row select{width:100%;min-width:0;height:39px;border:1px solid #d9d3cb;border-radius:8px;padding:8px 9px;background:#fff;font:inherit;font-size:12px}.dkp-remove{width:38px;height:39px;border:1px solid #e6a4aa;background:#fff5f5;color:#bd2635;border-radius:8px;font-size:18px;cursor:pointer}.dkp-add{margin-top:9px;padding:9px 14px;border:1px dashed var(--dkp-gold);border-radius:9px;background:#fffaf0;color:#765b12;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.dkp-family-extra{margin-top:22px;padding-top:19px;border-top:1px dashed #ded7cd}.dkp-family-extra h3{margin:0 0 12px;color:#28201d;font-family:Georgia,"Times New Roman",serif;font-size:19px}
.dkp-check{display:flex;align-items:flex-start;gap:9px;padding:3px 0;color:#69615b;font-size:12px;line-height:1.55}.dkp-check input{margin:3px 0 0;width:16px;height:16px;accent-color:var(--dkp-red)}.dkp-submit{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:16px;min-height:48px;border:0;border-radius:10px;background:linear-gradient(135deg,var(--dkp-red),var(--dkp-red2));color:#fff;font:inherit;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 8px 18px rgba(122,16,16,.13);transition:transform .15s,opacity .15s}.dkp-submit:hover{transform:translateY(-1px)}.dkp-submit:disabled{opacity:.7;cursor:wait;transform:none}.dkp-preview{display:none;width:78px;height:92px;object-fit:cover;margin-top:8px;border:1px solid #ddd;border-radius:8px}.dkp-alert{max-width:1080px;margin:18px auto;padding:12px 16px;border-radius:9px;font-family:system-ui,sans-serif;font-size:13px}.dkp-alert.success{background:#edf8ef;border:1px solid #a6d4ac;color:#216a2a}.dkp-alert.error{background:#fff1f1;border:1px solid #e1aaaa;color:#922626}
@media(max-width:900px){.dkp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dkp-repeat-head.sibling{display:none}.dkp-repeat-row.sibling{grid-template-columns:repeat(3,minmax(0,1fr))}.dkp-repeat-row.sibling .dkp-remove{grid-column:auto}.dkp-repeat-head.education{display:none}.dkp-repeat-row.education{grid-template-columns:1fr 1fr 120px 38px}}
@media(max-width:620px){.dkp-form-shell{padding:0 10px;margin:14px auto;font-size:13px}.dkp-form-hero{padding:27px 16px 23px;border-radius:16px}.dkp-form-hero h1{font-size:29px}.dkp-form-hero p{font-size:12px}.dkp-card{padding:18px 14px;border-radius:13px}.dkp-section-head h2{font-size:21px}.dkp-grid{grid-template-columns:1fr;gap:13px}.dkp-repeat-row.education,.dkp-repeat-row.sibling{grid-template-columns:1fr}.dkp-repeat-row .dkp-remove{width:100%}.dkp-submit{font-size:14px}.dkp-badge{font-size:9px}}

/* 4.1 visual refinement */
.dkp-form-shell{font-size:14px;letter-spacing:0}
.dkp-form-hero{padding:30px 28px 26px}
.dkp-form-hero h1{font-size:40px;letter-spacing:-.7px}
.dkp-form-hero p{font-size:14px;margin-top:8px}
.dkp-section-head{gap:16px;padding-bottom:18px;margin-bottom:21px}
.dkp-section-head>span{width:46px;height:46px;flex-basis:46px;border-radius:12px;font-size:12px}
.dkp-section-head h2{font-size:30px;letter-spacing:-.35px}
.dkp-section-head p{font-size:13px;margin-top:5px}
.dkp-field span{font-size:13px;margin-bottom:7px}
.dkp-field input,.dkp-field select,.dkp-field textarea{min-height:45px;font-size:14px;border-radius:10px}
.dkp-repeat-block{margin-top:5px;padding-top:2px}
.dkp-repeat-title{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:4px 0 14px}
.dkp-repeat-title h3{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:20px;color:#231b18}
.dkp-repeat-title p{margin:0;color:#837a72;font-size:13px}
.dkp-education-main{max-width:460px;margin-bottom:24px}
.dkp-repeat-head{font-size:11px;gap:10px;margin:0 0 7px;padding:0 10px}
.dkp-repeat-row{gap:10px;padding:8px;background:#fff;border-color:#e6dfd6;border-radius:11px;box-shadow:0 2px 8px rgba(40,25,10,.025);transition:opacity .12s,transform .12s}
.dkp-repeat-row.is-removing{opacity:0;transform:translateY(-3px)}
.dkp-repeat-row input,.dkp-repeat-row select{height:43px;font-size:13px;border-radius:9px;padding:8px 11px}
.dkp-remove{width:42px;height:43px;display:grid;place-items:center;padding:0;border:1px solid #e7a5ad;background:#fff;color:#b31d2b;border-radius:9px;font-size:20px;line-height:1;transition:background .15s,border-color .15s,transform .15s}
.dkp-remove:hover{background:#fff1f2;border-color:#c92b3a;transform:scale(1.03)}
.dkp-remove span{display:block;transform:translateY(-1px)}
.dkp-add{margin-top:11px;padding:10px 16px;font-size:13px;border:1px solid #d6b75f;background:#fffaf0;color:#6c510e}
.dkp-add:hover{background:#fdf3dc}
.dkp-check{font-size:13px}
.dkp-submit{min-height:50px;font-size:15px;margin-top:18px}
.dkp-submit-spinner{display:inline-block;width:15px;height:15px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:dkp-spin .7s linear infinite}
@keyframes dkp-spin{to{transform:rotate(360deg)}}
.dkp-success-screen{text-align:center;padding:62px 20px}
.dkp-success-icon{width:58px;height:58px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:#edf7ee;color:#2f7d39;font-size:30px;font-weight:700}
.dkp-success-screen h2{margin:0 0 8px;color:var(--dkp-red);font-family:Georgia,"Times New Roman",serif;font-size:29px}
.dkp-success-screen p{margin:5px 0;color:#6f6862;font-size:14px}.dkp-success-screen .small{font-size:12px}
@media(max-width:900px){.dkp-section-head h2{font-size:27px}.dkp-repeat-row.education{grid-template-columns:1fr 1fr 120px 42px}}
@media(max-width:620px){.dkp-form-hero{padding:25px 16px 22px}.dkp-form-hero h1{font-size:30px}.dkp-form-hero p{font-size:12px}.dkp-section-head h2{font-size:23px}.dkp-section-head>span{width:42px;height:42px;flex-basis:42px}.dkp-repeat-title{display:block}.dkp-repeat-title p{margin-top:3px}.dkp-education-main{max-width:none}.dkp-repeat-row.education,.dkp-repeat-row.sibling{grid-template-columns:1fr}.dkp-repeat-row .dkp-remove{width:42px;justify-self:end}.dkp-check{font-size:12px}}
/* DKP v5 layout refinement */
.dkp-form-shell{max-width:1160px;margin:30px auto;padding:0 20px;font-size:14px}
.dkp-form-hero{padding:34px 34px 30px;margin-bottom:22px}
.dkp-form-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:42px;line-height:1.08;font-weight:700;letter-spacing:-.8px}
.dkp-form-hero p{font-size:14px}
.dkp-card{padding:28px 30px;margin:18px 0;border-radius:18px}
.dkp-section-head{gap:15px;padding-bottom:17px;margin-bottom:24px}
.dkp-section-head>span{width:48px;height:48px;flex-basis:48px;border-radius:12px;font-size:12px}
.dkp-section-head h2{font-size:31px;line-height:1.1;letter-spacing:-.45px}
.dkp-section-head p{font-size:14px;line-height:1.4;margin-top:6px}
.dkp-grid{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:20px;row-gap:18px}
.dkp-field span{font-size:13px;margin-bottom:7px}
.dkp-field input,.dkp-field select,.dkp-field textarea{min-height:46px;padding:10px 13px;font-size:14px;border-radius:10px}
.dkp-field textarea{min-height:100px}
.dkp-education-main{max-width:none;margin:0 0 25px;display:grid;grid-template-columns:minmax(280px,420px);}
.dkp-repeat-block{margin-top:4px;padding:19px 0 0;border-top:1px dashed #ded7cd}
.dkp-repeat-title{display:block;margin:0 0 14px}.dkp-repeat-title h3{font-size:21px}.dkp-repeat-title p{font-size:14px;margin-top:5px}
.dkp-repeat-head.education,.dkp-repeat-row.education{grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) 140px 48px}
.dkp-repeat-head.sibling,.dkp-repeat-row.sibling{grid-template-columns:minmax(0,1.2fr) 80px minmax(110px,.75fr) minmax(0,1fr) minmax(130px,.95fr) minmax(0,1fr) 48px}
.dkp-repeat-head{gap:10px;padding:0 10px;font-size:11px;margin-bottom:8px}
.dkp-repeat-row{gap:10px;padding:9px 10px;margin:8px 0;border-radius:11px;align-items:center}
.dkp-repeat-row input,.dkp-repeat-row select{height:44px;font-size:13px;padding:8px 11px}
.dkp-remove{width:42px;height:42px;min-width:42px;display:flex!important;align-items:center;justify-content:center;padding:0!important;margin:0;align-self:center;border:1px solid #e2a2aa!important;background:#fff!important;color:#b51e2d!important;border-radius:9px;font-size:20px!important;line-height:1!important;font-family:Arial,sans-serif!important;font-weight:500!important}
.dkp-remove span{display:block;line-height:1;transform:none}
.dkp-remove:hover{background:#fff1f2!important;border-color:#c92b3a!important;transform:none}
.dkp-add{padding:10px 16px;font-size:13px;border-radius:9px}
.dkp-family-extra{margin-top:25px;padding-top:22px}
.dkp-family-extra h3{font-size:21px}
.dkp-check{font-size:13px;line-height:1.6}.dkp-submit{min-height:52px;font-size:15px}
@media(max-width:1050px){.dkp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dkp-repeat-head.sibling{display:none}.dkp-repeat-row.sibling{grid-template-columns:repeat(3,minmax(0,1fr))}.dkp-repeat-row.sibling .dkp-remove{justify-self:end}.dkp-repeat-head.education{display:none}.dkp-repeat-row.education{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 130px 48px}}
@media(max-width:650px){.dkp-form-shell{padding:0 10px;margin:15px auto}.dkp-form-hero{padding:27px 18px 24px}.dkp-form-hero h1{font-size:30px}.dkp-form-hero p{font-size:13px}.dkp-card{padding:20px 15px;border-radius:14px}.dkp-section-head{gap:12px;margin-bottom:19px}.dkp-section-head>span{width:42px;height:42px;flex-basis:42px}.dkp-section-head h2{font-size:24px}.dkp-section-head p{font-size:13px}.dkp-grid{grid-template-columns:1fr;gap:14px}.dkp-education-main{grid-template-columns:1fr}.dkp-repeat-row.education,.dkp-repeat-row.sibling{grid-template-columns:1fr;gap:8px}.dkp-repeat-row .dkp-remove{justify-self:end;width:42px!important;height:42px!important}.dkp-repeat-row .dkp-remove span{font-size:19px}.dkp-repeat-title h3{font-size:19px}.dkp-repeat-title p{font-size:13px}}
