/* The registration page uses its own visual theme; admin styles stay separate. */
.signup{--ink:#244b41;--green:#295c4c;--line:#e6e1d5;--bg:#f5f1e7;background-color:var(--bg);background-image:url('/static/paper.svg');color:var(--ink)}
.signup .top{background:#faf8f1e8;height:76px;border-bottom:1px solid #dfd9c8}.signup .brand{letter-spacing:3px}.signup .brand small{color:#68796b;letter-spacing:2px}.signup .secure{background:#e9eee3;border:1px solid #d6dfd0;border-radius:30px;padding:7px 14px;color:#4f6b54}
.welcome{max-width:1192px;margin:30px auto 0;min-height:300px;background:#244c40;background-image:url('/static/paper.svg'),radial-gradient(ellipse at 25% 0%,#52735c66,transparent 70%),linear-gradient(110deg,#183e34,#345b47);border-radius:22px;position:relative;overflow:hidden;color:#f8f1dc;box-shadow:0 16px 36px #33483216;display:flex;align-items:center;padding:42px 50px;isolation:isolate}
.welcome:before{content:"";position:absolute;inset:11px;border:1px solid #e3c99a35;border-radius:14px;pointer-events:none}.welcome:after{content:"";position:absolute;left:-65px;bottom:-165px;width:440px;height:240px;border:1px solid #dfc69220;border-radius:50%;transform:rotate(-18deg);pointer-events:none}.welcome-copy{position:relative;z-index:1;max-width:650px}.welcome .eyebrow{color:#d1bf94;font-size:11px;letter-spacing:3px;display:flex;gap:12px;align-items:center;margin-bottom:17px}.welcome .eyebrow:before{content:"";height:1px;width:29px;background:#ceb68a}.welcome h1{font-family:"Songti SC","STSong","SimSun",serif;font-size:39px;font-weight:600;line-height:1.45;letter-spacing:3px;margin-bottom:16px}.welcome h1 em{font-style:normal;color:#e2c799}.welcome p{font-size:14px;color:#d0dbcd;line-height:1.9;margin:0}.hero-art{position:absolute;right:7px;top:-39px;width:430px;height:375px;opacity:.92;pointer-events:none;z-index:0}.welcome-tags{display:flex;gap:20px;margin-top:25px;color:#deceb0;font-size:11px;letter-spacing:1px}.welcome-tags span{display:flex;gap:7px;align-items:center}.welcome-tags span:before{content:"✧";font-size:15px;color:#cfb67f}.hero-caption{position:absolute;right:57px;bottom:23px;font-size:9px;letter-spacing:4px;color:#c8bd9c8a}
.signup .layout{max-width:1240px;margin:34px auto 64px;grid-template-columns:270px minmax(0,1fr);gap:34px}.signup aside{top:26px}.sidebar-title{display:flex;align-items:center;gap:10px;color:#6b7967;font-size:11px;letter-spacing:2px;margin:4px 0 19px}.sidebar-title:after{content:"";height:1px;flex:1;background:#d7d8c6}.signup aside h2{font-family:"Songti SC","SimSun",serif;font-size:24px;letter-spacing:1px;margin-bottom:6px}.signup .intro{font-size:12px;color:#818575}.signup nav{margin:24px 0 25px;display:flex;flex-direction:column;gap:8px}.signup nav a{position:relative;border:1px solid transparent;background:#ffffff63;border-radius:9px;padding:14px 17px;align-items:center;gap:15px;color:#9b997c;transition:background .2s,transform .2s}.signup nav a span{font-size:14px}.signup nav a:after{content:"↗";margin-left:auto;color:#899a82;font-size:17px}.signup nav a:first-child{border:1px solid #cad5bc;background:#e6eddb;color:#60805a;box-shadow:0 3px 8px #3c593309}.signup nav a:hover{background:#e8eddc;transform:translateX(3px)}
.signup .note{position:relative;border:1px solid #e4d6b6;border-radius:3px 14px 14px 14px;background:#eee5cf;background-image:url('/static/paper.svg');padding:24px 21px 20px;box-shadow:0 5px 18px #8c74440a;color:#79643d;font-size:14px}.signup .note:before{content:"";position:absolute;top:-8px;left:20px;width:54px;height:17px;background:#d2bc82aa;transform:rotate(-7deg);border-left:2px dotted #e8d8b3;border-right:2px dotted #e8d8b3}.signup .note p{color:#887959;line-height:1.9;font-size:12px}.privacy-badge{display:flex;gap:10px;align-items:center;padding:22px 8px;color:#8b907d;font-size:11px}.privacy-badge svg{width:25px;height:25px;flex-shrink:0;stroke:#8b9d78;fill:none;stroke-width:1.3}.privacy-badge p{margin:0}.privacy-badge strong{display:block;color:#617b5e;font-size:12px;font-weight:500;margin-bottom:2px}
.signup section{position:relative;border:1px solid #e0dacb;border-radius:16px;padding:32px 34px;margin-bottom:26px;background:#fffdf7;box-shadow:0 8px 26px #5d4e2a06;overflow:hidden}.signup section:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#7c9a76}.signup #family:before{background:#c1a274}.signup #skills:before{background:#8e9d8a}.signup #experience:before{background:#ac9e77}.signup .sectionhead{position:relative;padding-bottom:22px;margin-bottom:26px;border-color:#eae3d5;gap:17px}.signup .sectionhead>span{width:48px;height:51px;flex-shrink:0;border-radius:14px 14px 17px 4px;background:#e8efdf;box-shadow:inset 0 0 0 1px #dce5cf;font:italic 25px Georgia,serif;color:#55764d}.signup #family .sectionhead>span{background:#f3ead8;box-shadow:inset 0 0 0 1px #e9dcc2;color:#a18451}.signup #skills .sectionhead>span{background:#e6ece5;color:#68806b}.signup #experience .sectionhead>span{background:#eee8d8;color:#968454}.signup .sectionhead h2{font-size:22px;letter-spacing:1px}.signup .sectionhead p{color:#8c907e;font-size:12px;margin-top:4px}.section-icon{margin-left:auto;width:39px;height:39px;stroke:#a4ae94;fill:none;stroke-width:1.25;opacity:.7}.signup #family .section-icon{stroke:#b9a27b}.signup #experience .section-icon{stroke:#a89b76}
.signup .field>span,.signup .choices legend{color:#526754;font-weight:500}.signup input,.signup select,.signup textarea{border-color:#e0e0d2;border-radius:8px;background:#f9faf4;padding:12px 13px;box-shadow:inset 0 1px 2px #384c2e03;transition:border-color .2s,background .2s,box-shadow .2s}.signup input:hover,.signup select:hover,.signup textarea:hover{border-color:#bdcbb2}.signup input:focus,.signup select:focus,.signup textarea:focus{background:#fffef9;border-color:#839b75;outline:3px solid #e7eddf;box-shadow:0 3px 12px #3f58330a}.signup input::placeholder,.signup textarea::placeholder{color:#a0a493;font-size:12px}.signup .grid{gap:21px 23px}.signup .choices{margin:8px 0}.signup .choices label{background:#faf9f1;border-color:#e4e2d5;border-radius:20px;padding:9px 14px;color:#77816b;transition:background .2s,border-color .2s}.signup .choices label:has(input:checked){background:#e7efdf;color:#345c39;border-color:#a3ba8e;box-shadow:0 2px 6px #4c70350a}.signup .choices input{width:16px;height:16px}.signup h3{font-size:15px;letter-spacing:.5px}.signup details{background:#f3f4e9;border:1px solid #e3e6d5;border-radius:9px;padding:17px 19px 0}.signup summary{font-size:14px;color:#607553}.signup details[open]{padding-bottom:20px}.signup #spouseFields{margin-top:21px}
.signup .upload{position:relative;border:1px dashed #b8c3a1;background-color:#f0f3e6;background-image:radial-gradient(#aab89755 .7px,transparent .7px);background-size:9px 9px;border-radius:12px;padding:29px 20px;margin-top:28px;transition:background-color .2s}.signup .upload:hover{background-color:#e9efdc}.upload-icon{width:44px;height:44px;padding:10px;stroke:#71905e;fill:#fffdf4;stroke-width:1.4;box-sizing:content-box;background:#fffdf1;border:1px solid #dce4cc;border-radius:20px 20px 20px 5px;margin-bottom:5px;transform:rotate(-5deg);box-shadow:4px 5px 0 #dfe7cc}.signup .upload strong{font-size:15px;margin-top:8px}.signup .upload span{color:#8a957b;font-size:11px}.signup .upload input{box-shadow:none;font-size:11px;padding:8px;background:#fffdf7a8}.signup .upload input::file-selector-button{border:0;background:#dce7cb;color:#526e40;padding:7px 12px;border-radius:5px;margin-right:12px}.signup .upload img{box-shadow:0 5px 18px #485a2e20;border:5px solid #fffdf7;transform:rotate(-2deg)}
.signup .hint{background:#f4eddb;color:#94815b;border:1px solid #ebe1c8;border-radius:9px;font-size:12px;padding:16px 18px;line-height:1.9}.signup .experience{padding:0 0 25px 22px;margin:25px 0 20px;border-left:1px dashed #c5cdb3;border-bottom:1px solid #ebe7d9;position:relative}.signup .experience:before{content:"";position:absolute;left:-5px;top:26px;width:9px;height:9px;border-radius:50%;background:#8c9f75;box-shadow:0 0 0 5px #f1f3e8}.signup .exphead h3{color:#6d7f5b}.signup .subtle{color:#a59579}.signup .add{background:#edf2e2;border:1px dashed #bdcda6;color:#6b8452;border-radius:9px;padding:15px}.signup .submitbox{background:#e9eedf;border:1px solid #d7dfc8;box-shadow:none;padding:29px 34px}.signup .submitbox:before{display:none}.signup .consent{color:#7d866c;line-height:1.9;font-size:12px}.signup .submitbox button[type=submit]{border-radius:10px;background:linear-gradient(110deg,#254e40,#527253);box-shadow:0 7px 15px #2b4c3325;color:#fff8e3;font-size:16px;letter-spacing:2px;border:1px solid #42674b;transition:transform .2s,box-shadow .2s}.signup .submitbox button[type=submit]:hover{transform:translateY(-2px);box-shadow:0 10px 18px #2b4c3330}.signup footer{padding:28px;color:#9a9b84;border-color:#e0dccb;font-size:11px;letter-spacing:2px}.footer-leaf{display:block;font:24px Georgia,serif;color:#9aaf85;margin-bottom:5px}.signup dialog{background:#fffdf5;border:1px solid #dbdfce;box-shadow:0 25px 90px #153b3040;padding:42px}.signup .successmark{background:#e8edda;color:#6b8954;box-shadow:0 0 0 9px #f4f4e9}.signup dialog h2{font-family:"Songti SC","SimSun",serif;letter-spacing:3px}
@media(min-width:1500px){.welcome{margin-top:40px}.signup .layout{margin-top:40px}}@media(max-width:1250px){.welcome{margin-left:24px;margin-right:24px}.hero-art{right:-35px;opacity:.65}}@media(max-width:1000px){.welcome{padding:35px 36px}.welcome h1{font-size:34px}.hero-art{right:-90px;opacity:.4}.signup .layout{grid-template-columns:220px minmax(0,1fr);gap:24px}.signup section{padding:28px 25px}.signup .grid{gap:19px 16px}.signup .sectionhead h2{font-size:20px}}@media(max-width:850px){.signup .top{height:67px}.welcome{margin:20px 16px 0;min-height:290px;padding:30px}.welcome h1{font-size:32px}.hero-art{width:365px;right:-85px;top:-4px;opacity:.45}.hero-caption{display:none}.signup .layout{grid-template-columns:1fr;margin-top:24px;gap:8px}.signup aside{position:static}.sidebar-title,.signup aside h2,.signup aside .intro,.privacy-badge{display:none}.signup nav{flex-direction:row;gap:7px;margin:0 0 18px;overflow:auto}.signup nav a{flex-direction:column;gap:3px;align-items:flex-start;min-width:0;padding:11px 12px;border:1px solid #e0dece;border-radius:10px;background:#fffdf6;font-size:11px}.signup nav a span{font-size:12px}.signup nav a:after{display:none}.signup nav a:hover{transform:none}.signup section{padding:25px 22px}.signup .note{display:none}.signup .submitbox{padding:25px 22px}.signup .grid{gap:20px 16px}}
@media(max-width:500px){.welcome{padding:29px 24px;min-height:285px;border-radius:15px}.welcome:before{inset:8px;border-radius:10px}.welcome .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:16px}.welcome h1{font-size:clamp(20px,6.1vw,25px);letter-spacing:0;line-height:1.65}.welcome p{font-size:11px;max-width:250px;line-height:1.9}.welcome-tags{gap:14px;font-size:9px;margin-top:20px;letter-spacing:0}.welcome-tags span{gap:4px}.hero-art{width:310px;height:300px;right:-150px;top:15px;opacity:.25}.signup .top{padding:0 19px}.signup .brand{font-size:21px}.signup .brand small{font-size:10px;letter-spacing:1px}.signup .secure{display:none}.signup nav a{padding:11px 8px}.signup nav a span{font-size:11px}.signup .sectionhead{gap:12px}.signup .sectionhead h2{font-size:20px}.signup .sectionhead>span{width:40px;height:45px;font-size:22px}.section-icon{width:30px;height:30px}.signup section{padding:24px 20px;border-radius:12px}.signup .sectionhead p{font-size:11px}.signup .choices label{font-size:12px;padding:8px 11px}.signup .experience{padding-left:15px}.signup .upload span{font-size:9px}.signup .hint{font-size:11px}.signup .grid{grid-template-columns:1fr}.signup .consent{font-size:11px}.signup .submitbox .quiet{font-size:10px}}@media(prefers-reduced-motion:reduce){.signup *,html{scroll-behavior:auto;transition:none!important}}

/* Compact welcome strip: put the form close to the top of the page. */
.signup .welcome{min-height:0;margin-top:22px;padding:24px 32px;border-radius:14px}
.signup .welcome:before{inset:7px;border-radius:9px}
.signup .welcome .eyebrow,.signup .welcome-tags,.signup .hero-caption{display:none}
.signup .welcome-copy{max-width:850px}
.signup .welcome h1{font-size:27px;letter-spacing:1px;line-height:1.5;margin:0 0 7px}
.signup .welcome p{font-size:12px;line-height:1.8;max-width:none}
.signup .hero-art{width:210px;height:210px;right:8px;top:-42px;opacity:.5}
.signup .layout{margin-top:24px}
@media(max-width:850px){.signup .welcome{margin-top:16px;padding:21px 25px}.signup .welcome h1{font-size:24px}.signup .hero-art{right:-50px;opacity:.27}.signup .layout{margin-top:18px}}
@media(max-width:500px){.signup .welcome{padding:18px 21px}.signup .welcome h1{font-size:20px;line-height:1.6;letter-spacing:0;margin-bottom:5px;max-width:285px}.signup .welcome p{font-size:11px;line-height:1.8;max-width:280px}.signup .hero-art{width:165px;height:165px;right:-65px;top:-9px;opacity:.18}}

/* A centered questionnaire after removing the navigation sidebar. */
.signup .layout{display:block;max-width:1008px}
.signup .welcome{max-width:960px;width:calc(100% - 48px);margin-left:auto;margin-right:auto}
.signup .optional-label{display:inline-block;vertical-align:middle;font:500 11px/1.6 -apple-system,"Microsoft YaHei",sans-serif;letter-spacing:0;padding:3px 9px;margin-left:8px;color:#69805d;background:#eaf0e1;border:1px solid #dae4cb;border-radius:20px}
.signup .submitbox{padding:20px 26px}
.signup .submitbox #error:empty{display:none}
@media(max-width:850px){.signup .welcome{width:calc(100% - 32px)}}
@media(max-width:500px){.signup .optional-label{font-size:10px;padding:2px 6px;margin-left:3px}.signup #skills .section-icon{display:none}.signup #skills h2{font-size:19px}.signup .submitbox{padding:17px 20px}}

.signup .required-mark{font-size:12px;color:#ad513b;margin-left:5px}.signup .upload.upload-error{border:2px solid #bd654b;background-color:#fff0e6}.signup .photo-error{color:#a74732;font-size:13px;margin:12px 0 0;font-weight:500}

.signup .spouse-profile{margin-top:32px;padding:26px 24px;border:1px solid #dce3d0;border-radius:12px;background:#f5f6ec}
.signup .spouse-heading{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.signup .spouse-heading h3{font-size:19px;margin:0;color:#456748;letter-spacing:1px}
.signup .spouse-intro{font-size:12px;line-height:1.9;color:#7b876d;margin-bottom:24px}
.signup .spouse-profile input,.signup .spouse-profile select,.signup .spouse-profile textarea{background:#fffef8}
@media(max-width:500px){.signup .spouse-profile{margin-top:26px;padding:20px 15px}.signup .spouse-heading h3{font-size:17px}.signup .spouse-intro{font-size:11px}}

/* Ten visible, compact experience cards with all original fields. */
.signup .experience-guide{margin-bottom:20px;padding:17px 19px}
.signup .experience-guide>strong{display:block;color:#6c643d;font-size:14px;margin-bottom:7px}
.signup .experience-guide p{margin:5px 0;font-size:12px;line-height:1.8}
.signup #experiences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
.signup #experiences .experience{min-width:0;border:1px solid #dce2ce;border-radius:10px;margin:0;padding:14px 15px 16px;background:#f7f8ef}
.signup #experiences .experience:before{display:none}
.signup #experiences .exphead{gap:7px;margin:0 0 11px;padding-bottom:8px;border-bottom:1px solid #e1e6d6}
.signup #experiences .exphead h3{font-size:13px;letter-spacing:0;margin:0;white-space:nowrap;color:#526d43}
.signup .exp-actions{display:flex;align-items:center;gap:8px}
.signup .exp-current{display:flex;align-items:center;gap:4px;font-size:11px;color:#6e815d;white-space:nowrap}
.signup .exp-current input{width:15px;height:15px;padding:0;margin:0}
.signup #experiences .subtle{padding:4px 0;font-size:11px}
.signup #experiences .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 10px}
.signup #experiences .field{gap:4px;font-size:11px}
.signup #experiences input:not([type=checkbox]),.signup #experiences textarea{padding:8px 9px;line-height:1.5;font-size:13px;background:#fffef9;border-radius:6px}
.signup #experiences input::placeholder,.signup #experiences textarea::placeholder{font-size:11px}
.signup #experiences textarea{min-height:56px}
.signup #experience .add{margin:17px 0 22px}
@media(max-width:760px){.signup #experiences{grid-template-columns:1fr;gap:12px}.signup #experiences .experience{padding:12px 13px 14px}.signup #experiences .exphead h3{font-size:14px}.signup #experiences .field{font-size:12px}.signup #experiences input:not([type=checkbox]),.signup #experiences textarea{font-size:14px}.signup .experience-guide p{font-size:11px}}
