.choice-field{display:grid;align-content:start;gap:12px;min-width:0}.other-choice{padding-inline-start:14px;border-inline-start:2px solid #a89eff}.field-caption{font-size:12px!important;line-height:1.8;color:#69758b;margin:0}.field-caption a{color:var(--blue);text-decoration:underline}.date-choice{min-width:0;border:0;padding:0;margin:0}.date-choice legend{font-size:14px;margin-bottom:10px;padding:0;color:#29334a}.date-parts{display:grid;grid-template-columns:1.3fr 1fr;gap:12px}.date-parts label>span{font-size:11px;color:#69758b}.legacy-note{font-size:13px;line-height:1.7;padding:12px 16px;background:#f4f5fb;border-radius:5px;overflow-wrap:anywhere}.subsection-heading{border-top:1px solid #dce1eb;padding-top:30px;margin-top:12px}.subsection-heading p{font-size:14px;line-height:1.8;margin-top:10px}.achievement-helper{margin-top:24px;padding:20px;background:#f5f6fa;display:grid;gap:15px}.achievement-helper h3{font-size:17px}.writing-helper select{margin:9px 0 15px}.writing-helper .achievement-helper button{border:0;color:var(--blue)}.task-suggestions button:disabled{color:#627d71;cursor:default}.profile-explainer{border-inline-start:3px solid var(--blue);padding-inline-start:20px}.profile-explainer h3{font-size:20px;line-height:1.5}.profile-explainer p{font-size:14px;line-height:1.9;margin-top:11px}.profile-builder{display:grid;gap:18px;padding:24px;border:1px solid #dde2ec;border-radius:7px}.profile-builder>.btn{justify-self:start}.profile-writing-status{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#69758b;line-height:1.7}.profile-writing-status>span:first-child{color:var(--blue);white-space:nowrap}.profile-suggestion h4{font-size:14px;margin-bottom:13px}.profile-suggestion .text-link{min-height:40px;color:var(--blue)}
.template-gallery .template-card{padding:15px;border:1px solid #dce2ed;background:#f3f5f9;position:relative}.template-gallery .template-card[data-selected=true]{border-color:var(--blue);box-shadow:0 0 0 2px #1b00f4}.template-gallery .template-thumbnail{pointer-events:auto;display:block;width:100%;position:relative;cursor:zoom-in;border:0;padding:0;aspect-ratio:210/297;overflow:hidden}.template-gallery .template-thumbnail img{width:100%;height:100%;object-fit:contain}.preview-image-label{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#151335e8;color:#fff;padding:9px 14px;border-radius:5px;font-size:12px;opacity:0;transition:opacity .15s}.template-thumbnail:hover .preview-image-label,.template-thumbnail:focus-visible .preview-image-label{opacity:1}.template-name>span{font-size:11px;color:#758097}.template-description{font-size:12px;color:#65718a;line-height:1.7;margin-top:9px}.template-card-actions{display:flex;justify-content:space-between;align-items:stretch;gap:9px;margin-top:18px}.template-card-actions button{font-size:12px;line-height:1.5;min-height:42px;border:1px solid #d5daea;background:#fff;border-radius:5px;padding:9px 11px}.template-card-actions button[data-select-template]{background:var(--blue);color:white;border-color:var(--blue)}.template-card-actions small{font-size:inherit;color:inherit}.template-card-actions button[aria-pressed=true]{background:#100c4b;border-color:#100c4b}.template-dialog{padding:0;border:1px solid #d7ddea;border-radius:12px;width:min(920px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:92dvh;background:#f3f5f9;color:#17213b;overflow-y:auto;margin:auto;box-shadow:0 25px 100px #0b102950}.template-dialog::backdrop{background:#0b1029aa;backdrop-filter:blur(3px)}.template-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 26px;background:white;position:sticky;top:0;z-index:2;border-bottom:1px solid #dde3ed}.template-dialog-head span{font-size:10px;color:#65718a;letter-spacing:.04em}.template-dialog-head h2{font-size:26px;margin-top:6px}.template-dialog-head button{font-size:29px;width:44px;height:44px;border:1px solid #dce1eb;border-radius:5px}.template-preview-note{font-size:13px;line-height:1.8;padding:15px 26px 0;color:#65718a}.template-preview-tools{display:flex;justify-content:space-between;gap:14px;padding:15px 26px}.template-preview-tools button{min-height:40px;font-size:13px;padding:8px 16px;background:#fff;border:1px solid #d4dce8;border-radius:5px}.template-preview-tools button:disabled{opacity:.35;cursor:default}.template-enlarged{padding:0 26px 25px;overflow:auto;direction:ltr}.template-enlarged img{display:block;width:100%;max-width:740px;height:auto;margin:auto;box-shadow:0 4px 20px #0d143414;background:#fff}.template-enlarged.zoomed img{width:1100px;max-width:none}.template-dialog-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff;padding:18px 26px;position:sticky;bottom:0;border-top:1px solid #dce1eb}.template-dialog-bottom .btn{border-radius:5px}.template-dialog-bottom>span{font-size:12px;color:#65718a}
@media(max-width:650px){.date-choice legend{font-size:13px}.date-parts{gap:10px}.profile-builder{padding:18px}.profile-writing-status{display:grid;gap:6px}.profile-explainer{padding-inline-start:15px}.profile-explainer h3{font-size:18px}.achievement-helper{padding:16px}.template-gallery{grid-template-columns:1fr!important;gap:28px}.template-gallery .template-card{padding:14px;max-width:420px;width:100%;margin:auto;box-sizing:border-box}.template-gallery .template-name{font-size:17px}.template-gallery .template-description{font-size:13px}.template-card-actions button{font-size:13px;flex:1}.preview-image-label{opacity:1;bottom:14px}.template-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:96dvh;border-radius:8px}.template-dialog-head{padding:15px}.template-dialog-head h2{font-size:22px}.template-preview-note{padding:12px 15px 0;font-size:12px}.template-preview-tools{padding:12px 15px;gap:8px}.template-preview-tools button{font-size:12px;padding:8px 12px}.template-enlarged{padding:0 10px 18px}.template-dialog-bottom{padding:14px;display:block}.template-dialog-bottom .btn{width:100%;font-size:13px}.template-dialog-bottom>span{display:block;text-align:center;font-size:10px;margin-top:9px}.template-enlarged.zoomed img{width:900px}.template-card .template-thumbnail{max-height:none}}
