/**
 * 个人底座基本/教育页按blue-foundation参考图分区。
 * 与通用表格页隔离；仍使用原表单、保存与附件事件，窄屏回到单列。
 */
.brand-icon{width:42px;height:42px;flex:0 0 42px;object-fit:contain;transform:scale(1.25)}
/* 窄桌面隐藏右栏时保留真实聊天入口，避免助手随辅助信息一起消失。 */
.topbar-assistant{display:none}
.topbar-assistant:focus-visible{outline:2px solid var(--theme-accent-soft);outline-offset:3px}
.foundation-profile{grid-template-columns:minmax(0,1fr) 396px;gap:28px;padding:24px 16px 32px 24px}
.foundation-profile .page-header{margin-bottom:25px}
.foundation-profile .page-header h1{font-size:38px;letter-spacing:-.04em;line-height:1.3}
.foundation-profile .page-header p{font-size:14px;color:var(--theme-muted);line-height:1.75}
.foundation-profile .section-nav{justify-content:space-between;gap:14px;margin-bottom:24px}
.foundation-profile .section-nav button{font-size:14px;padding-bottom:16px;color:var(--theme-muted)}
.foundation-profile .section-nav button.active{color:var(--theme-action);font-weight:650}
.foundation-form{background:#fff;border:1px solid var(--theme-wash);border-radius:16px;display:flex;flex-direction:column;min-height:calc(100dvh - 282px);overflow:hidden;box-shadow:0 4px 18px color-mix(in srgb,var(--theme-text) 0.78%,transparent)}
.foundation-form .form-card{background:transparent;border:0;border-radius:0;box-shadow:none;margin:0;padding:26px 24px 28px}
.foundation-form .form-card-heading{display:block;margin-bottom:28px}
.foundation-form .form-card-heading h2{font-size:23px;line-height:1.4;font-weight:650;margin:0 0 7px}
.foundation-form .form-card-heading p{display:block;font-size:13px;line-height:1.75;color:var(--theme-muted);margin:0}
.foundation-form .form-grid{gap:28px 22px}
.foundation-form .field{font-size:14px;color:var(--theme-ink)}
.foundation-form .field>span:first-child{margin-bottom:9px;font-weight:550}
.foundation-form .field input,.foundation-form .field select{min-height:44px;font-size:14px;border:1px solid var(--theme-line);border-radius:8px;padding:10px 13px;background:#fff;color:var(--theme-text);box-shadow:none}
.foundation-form .field input::placeholder{color:var(--theme-muted)}
.foundation-form .field input:focus,.foundation-form .field select:focus{outline:2px solid var(--theme-border);outline-offset:2px;border-color:var(--theme-accent-soft)}
.foundation-form .email-input input{padding-left:39px}
.foundation-form .email-input .icon{top:14px}
.foundation-form .inline-field{gap:18px}
.foundation-form .basic-form-layout{grid-template-columns:minmax(0,1fr) 180px;gap:22px}
.foundation-form .photo-area{border-left:1px solid var(--theme-wash);padding-left:20px}
.foundation-form .photo-upload{min-height:230px;border-color:var(--theme-border);background:linear-gradient(140deg,var(--theme-paper),var(--theme-paper));font-size:13px;gap:19px;color:var(--theme-muted)}
.foundation-form .photo-upload>.icon{width:34px;height:34px}
.foundation-form .photo-upload img{width:110px;height:110px;object-fit:cover}
.foundation-form .photo-spec{text-align:center;font-size:10px;line-height:1.9;color:var(--theme-muted);margin:10px -4px 0}
.foundation-form-footer{padding:0 24px 30px;margin-top:auto}
.foundation-use-note{display:flex;gap:14px;align-items:center;background:linear-gradient(100deg,var(--theme-paper),var(--theme-paper));padding:17px 18px;border-radius:10px;margin:0 0 25px}
.foundation-use-note>.icon{width:36px;height:36px;flex-shrink:0;color:var(--theme-action);padding:6px;background:var(--theme-wash);border-radius:10px}
.foundation-use-note strong{font-size:14px;font-weight:600;color:var(--theme-text)}
.foundation-use-note p{font-size:12px;line-height:1.8;color:var(--theme-muted);margin:3px 0 0}
.foundation-form .editor-actions{padding:0;gap:28px;justify-content:flex-start}
.foundation-form .editor-actions .row{gap:15px}
.foundation-form .button{font-size:14px;min-height:52px;min-width:148px;padding:13px 22px}
.foundation-form .button.primary{min-width:194px}
.foundation-form .button.primary{background:var(--theme-action);border-color:var(--theme-action);box-shadow:0 3px 10px color-mix(in srgb,var(--theme-action) 9.41%,transparent)}
.foundation-form .next-step{font-size:12px;color:var(--theme-action);padding-left:20px}
.foundation-guide{background:none;border-radius:0;overflow:visible;align-self:start}
.foundation-progress,.foundation-step-guide{border:1px solid var(--theme-wash);border-radius:16px;background:#fff;padding:24px 22px;margin-bottom:20px}
.foundation-rail-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:4px}
.foundation-rail-title h2,.foundation-step-guide h2{font-size:20px;line-height:1.5;font-weight:650}
.foundation-rail-title>button{display:flex;align-items:center;gap:5px;color:var(--theme-action);font-size:11px}
.foundation-progress-row{display:flex;align-items:center;gap:14px;width:100%;padding:23px 0;text-align:left;border-bottom:1px solid var(--theme-wash)}
.foundation-progress-row:last-child{border:0;padding-bottom:6px}
.foundation-progress-icon{display:flex;align-items:center;justify-content:center;width:45px;height:51px;border-radius:12px;background:var(--theme-wash);color:var(--theme-action);flex:0 0 45px}
.foundation-progress-icon>.icon{width:24px;height:24px}
.foundation-progress-row:nth-of-type(2) .foundation-progress-icon{background:var(--theme-wash);color:#9873eb}
.foundation-progress-row:nth-of-type(3) .foundation-progress-icon{background:#e7f9fc;color:#16bad0}
.foundation-progress-row strong{display:block;font-size:14px;color:var(--theme-text);font-weight:600}
.foundation-progress-row small{display:block;font-size:11px;color:var(--theme-action);line-height:1.8;margin-top:4px}
.foundation-progress-row em{font-size:10px;white-space:nowrap;font-style:normal;color:var(--theme-muted);background:var(--theme-paper);border-radius:18px;padding:6px 10px;margin-left:auto}
.foundation-step-guide h2{margin:0 0 24px}
.foundation-guide-line{display:flex;gap:14px;margin:0 0 24px}
.foundation-guide-line>b{width:29px;height:29px;border-radius:50%;background:linear-gradient(150deg,var(--theme-accent-soft),var(--theme-action));display:grid;place-items:center;color:white;font-size:14px;font-weight:500;flex:0 0 29px}
.foundation-guide-line strong{font-size:14px;font-weight:600;line-height:1.6;color:var(--theme-text)}
.foundation-guide-line p{font-size:12px;color:var(--theme-action);line-height:1.9;margin:5px 0 0}
.foundation-guide-note{display:flex;gap:10px;border-top:1px solid var(--theme-wash);padding-top:19px;font-size:11px;line-height:1.9;color:var(--theme-action)}
.foundation-guide-note>.icon{width:18px;height:18px;flex:0 0 18px;color:var(--theme-muted);margin-top:3px}
.foundation-cube-guide{position:relative;border:1px solid var(--theme-wash);border-radius:16px;background:linear-gradient(130deg,#fff 32%,var(--theme-paper));padding:24px 22px;min-height:210px;overflow:hidden}
.foundation-cube-guide>img{position:absolute;right:-14px;bottom:-6px;width:180px;height:180px;object-fit:contain}
.foundation-cube-guide h2{font-size:17px;line-height:1.5;max-width:240px;font-weight:650}
.foundation-cube-guide p{font-size:11px;line-height:1.8;color:var(--theme-action);margin:10px 0 15px;max-width:210px}
.foundation-cube-guide .button{position:relative;z-index:1;font-size:12px;min-height:39px;padding:9px 14px}
@media(max-width:1420px) and (min-width:1091px){
 .foundation-profile{grid-template-columns:minmax(0,1fr) 315px;gap:22px;padding-inline:22px}
 .foundation-form .basic-form-layout{grid-template-columns:minmax(0,1fr) 140px;gap:17px}
 .foundation-form .photo-area{padding-left:16px}
 .foundation-progress,.foundation-step-guide{padding-inline:18px}
 .foundation-progress-row{gap:10px}.foundation-progress-row em{font-size:9px;padding:5px 8px}.foundation-progress-row small{font-size:9px}
 .foundation-profile .section-nav button{font-size:12px}
 .foundation-form .form-grid{gap:23px 16px}
 .foundation-form .next-step{font-size:11px;padding-left:13px}
 .foundation-form .button{font-size:12px;padding-inline:15px}
 .foundation-form .button,.foundation-form .button.primary{min-width:0}
 .foundation-cube-guide>img{width:124px;height:124px;right:-13px}
 .foundation-cube-guide h2,.foundation-cube-guide p{max-width:210px}
}
@media(max-width:1090px){
 .topbar-assistant{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--theme-wash);border-radius:50%;background:var(--theme-paper);cursor:pointer;flex-shrink:0}
 .topbar-assistant img{width:34px;height:34px;object-fit:contain}
 .foundation-profile{grid-template-columns:minmax(0,1fr);padding:24px}
 .foundation-guide{display:none}
 .foundation-form{min-height:calc(100dvh - 285px)}
 .foundation-form .basic-form-layout{grid-template-columns:minmax(0,1fr) 175px}
}
/* 常见Mac窗口高度不足920时收紧留白，保持14px表单并让主要保存动作进入首屏。 */
@media(max-height:920px) and (min-width:761px){
 .foundation-profile{padding-top:16px}
 .foundation-profile .page-header{margin-bottom:17px}
 .foundation-profile .page-header h1{font-size:34px;line-height:1.2}
 .foundation-profile .section-nav{margin-bottom:16px}
 .foundation-profile .section-nav button{padding-bottom:12px}
 .foundation-form{min-height:0}
 .foundation-form .form-card{padding:20px 24px}
 .foundation-form .form-card-heading{margin-bottom:18px}
 .foundation-form .form-card-heading h2{font-size:20px}
 .foundation-form .form-grid{gap:16px 20px}
 .foundation-form .field>span:first-child{margin-bottom:7px}
 .foundation-form .field input,.foundation-form .field select{min-height:40px;padding:8px 12px}
 .foundation-form .email-input input{padding-left:37px}
 .foundation-form .email-input .icon{top:12px}
 .foundation-form .photo-upload{min-height:190px}
 .foundation-form-footer{padding-bottom:22px}
 .foundation-use-note{padding:13px 16px;margin-bottom:18px}
 .foundation-form-footer .foundation-use-note{display:none}
 .foundation-use-note strong{font-size:13px}.foundation-use-note p{font-size:11px}
 .foundation-form .button{min-height:44px;padding-block:10px}
 .topbar-assistant{display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--theme-wash);border-radius:50%;background:var(--theme-paper);cursor:pointer;flex-shrink:0}
 .topbar-assistant img{width:34px;height:34px;object-fit:contain}
}
@media(max-width:760px){
 .brand-icon{width:30px;height:30px;flex-basis:30px;transform:scale(1.15)}
 .foundation-profile{padding:20px 16px}
 .foundation-profile .page-header h1{font-size:29px}
 .foundation-profile .page-header p{font-size:11px}
 .foundation-profile .section-nav{justify-content:flex-start}
 .foundation-profile .section-nav button{font-size:12px}
 .foundation-form{min-height:0}
 .foundation-form .form-card{padding:21px 18px}
 .foundation-form .form-card-heading h2{font-size:19px}
 .foundation-form .form-card-heading p{font-size:11px}
 .foundation-form .basic-form-layout{grid-template-columns:minmax(0,1fr)}
 .foundation-form .form-grid{gap:20px 15px}
 .foundation-form .photo-area{display:flex;border:0;padding:0;gap:15px;align-items:center}
 .foundation-form .photo-upload{width:108px;min-height:108px;height:108px;padding:8px;font-size:10px;gap:8px}
 .foundation-form .photo-upload>.icon{width:25px;height:25px}
 .foundation-form .photo-upload img{width:65px;height:65px}
 .foundation-form .photo-spec{text-align:left;font-size:9px;margin:0}
 .foundation-form-footer{padding:0 18px 20px}
 .foundation-use-note{padding:13px;gap:10px;margin-bottom:16px}
 .foundation-use-note strong{font-size:11px}.foundation-use-note p{font-size:10px}
 .foundation-form .editor-actions{flex-wrap:wrap}
 .foundation-form .button,.foundation-form .button.primary{min-width:0;min-height:44px;font-size:12px;padding:10px 14px}
 .foundation-form .next-step{border:0;padding:6px 0}
}
@media(prefers-reduced-motion:reduce){.foundation-progress-row,.foundation-cube-guide .button{transition:none}}

