:root{color:#172033;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;background:#eef2f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{color:#172033;background:linear-gradient(#f7fafc 0%,#eef2f6 48%,#e7edf3 100%);min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button,a.primary-action,.topbar a,.profile-list button{min-height:40px}button,a{border-radius:6px}button{color:#172033;cursor:pointer;background:#fff;border:1px solid #cbd6e2}button:hover,.topbar a:hover{border-color:#8aa6c8}a{color:inherit;text-decoration:none}code{background:#f6f9fc;border:1px solid #d9e3ee;border-radius:5px;padding:1px 5px}.cv-app,.admin-app{width:min(1180px,100% - 28px);margin:0 auto;padding:18px 0 40px}.topbar{justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.brand{color:#1f5eff;background:#fff;border:2px solid #172033;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;font-weight:900;display:inline-flex}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.topbar-actions a,.topbar-actions button,.editor-toolbar button{background:#fff;border:1px solid #cbd6e2;justify-content:center;align-items:center;padding:0 13px;font-weight:750;display:inline-flex}.topbar-actions .primary-action,.editor-toolbar button{color:#fff;background:#1f5eff;border-color:#1f5eff}.preview-stage{padding:12px 0 28px;overflow-x:auto}.cv-paper{background:#fff;border:1px solid #d6e0ea;width:min(100%,8.5in);min-height:11in;margin:0 auto;padding:.45in .5in;box-shadow:0 24px 80px #17203329}.cv-header{border-bottom:2px solid #1f5eff;grid-template-columns:1fr auto;align-items:start;gap:24px;padding-bottom:18px;display:grid}.cv-kicker,.eyebrow{color:#69758a;text-transform:uppercase;margin:0 0 6px;font-size:.76rem;font-weight:850}.cv-header h1{color:#0d1b2a;margin:0;font-size:clamp(2.1rem,4.6vw,3.1rem);line-height:1}.cv-role{color:#1f5eff;margin:8px 0 0;font-size:1.05rem;font-weight:850}.cv-contact{color:#4c596d;flex-wrap:wrap;gap:6px 12px;margin-top:12px;font-size:.92rem;display:flex}.cv-contact a{color:#2a4fbb;text-underline-offset:3px;text-decoration:underline}.cv-photo{object-fit:cover;background:#eef3f8;border:2px solid #dce5ee;border-radius:12px;width:92px;height:92px}.cv-photo-placeholder{color:#1f5eff;place-items:center;font-size:2rem;font-weight:900;display:grid}.cv-section{break-inside:avoid;padding-top:18px}.cv-section h2{color:#1f5eff;text-transform:uppercase;margin:0 0 9px;font-size:.82rem}.cv-section h3{color:#111827;margin:0;font-size:1.02rem}.cv-section p{margin:5px 0 0}.cv-summary{color:#283347;font-size:1.03rem}.cv-entry{break-inside:avoid;padding-bottom:12px}.cv-entry+.cv-entry{border-top:1px solid #e8edf3;padding-top:11px}.cv-entry-head p{color:#5c687c;font-size:.91rem}.cv-entry ul{margin:7px 0 0 18px;padding:0}.cv-entry li{margin:3px 0}.cv-tags{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.cv-tags span{color:#24449a;background:#f2f6ff;border:1px solid #d7e3ff;border-radius:999px;padding:3px 8px;font-size:.78rem;font-weight:750}.cv-skill-row{grid-template-columns:minmax(100px,150px) 1fr;gap:12px;padding:5px 0;display:grid}.cv-skill-row strong{color:#111827}.cv-skill-row span{color:#3c4658}.state-box{text-align:center;background:#fff;border:1px solid #d6e0ea;border-radius:8px;max-width:520px;margin:80px auto 0;padding:22px;box-shadow:0 18px 54px #1720331f}.state-box.is-error{background:#fff7f7;border-color:#efb8b8}.admin-message{color:#225131;background:#effaf2;border:1px solid #b9dcc7;border-radius:8px;margin-bottom:14px;padding:11px 14px;font-weight:750}.admin-layout{grid-template-columns:290px 1fr;align-items:start;gap:16px;display:grid}.profile-list,.admin-card{background:#fff;border:1px solid #d6e0ea;border-radius:8px;box-shadow:0 16px 48px #1720331a}.profile-list{gap:8px;padding:14px;display:grid}.admin-panel-heading{padding:4px 4px 10px}.admin-panel-heading h1,.admin-card h2{color:#111827;margin:0}.profile-list button{text-align:left;background:#f8fbfd;border:1px solid #dce5ee;gap:3px;padding:11px;display:grid}.profile-list button.is-selected{background:#eef4ff;border-color:#1f5eff}.profile-list span{color:#69758a;font-size:.86rem}.create-profile-box{border-top:1px solid #e4ebf2;gap:8px;margin-top:6px;padding:14px 4px 4px;display:grid}.create-profile-box label,.field-grid label,.link-editor-row label,.section-editor-row label,.section-create-row label,.item-editor-card label{gap:5px;min-width:0;display:grid}.create-profile-box label span,.field-grid label span,.link-editor-row label span,.section-editor-row label span,.section-create-row label span,.item-editor-card label span{color:#69758a;text-transform:uppercase;font-size:.78rem;font-weight:800}.create-profile-box input,.create-profile-box select,.field-grid input,.field-grid select,.field-grid textarea,.link-editor-row input,.section-editor-row input,.section-editor-row select,.section-create-row input,.section-create-row select,.item-editor-card input,.item-editor-card textarea{color:#172033;background:#fff;border:1px solid #cbd6e2;border-radius:6px;width:100%;min-width:0;padding:9px 10px}.field-grid textarea,.item-editor-card textarea{resize:vertical;line-height:1.45}.create-profile-box button,.section-editor-row button,.section-create-row button{min-height:40px;padding:0 12px;font-weight:800}.editor-panel{gap:16px;display:grid}.admin-card{padding:16px}.upload-card{grid-template-columns:1fr minmax(220px,320px);align-items:center;gap:16px;display:grid}.upload-card p{color:#5c687c;margin:5px 0 0}.upload-card input{background:#f7fafc;border:1px dashed #9db0c4;border-radius:8px;width:100%;padding:14px}.editor-toolbar{justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px;display:flex}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.wide-field{grid-column:1/-1}.profile-editor-card{gap:14px;display:grid}.profile-editor-grid{grid-template-columns:136px 1fr;align-items:start;gap:16px;display:grid}.profile-photo-box{aspect-ratio:1;background:#f7fafc;border:1px solid #d6e0ea;border-radius:8px;place-items:center;width:136px;display:grid;overflow:hidden}.profile-photo-box img{object-fit:cover;width:100%;height:100%}.profile-photo-box div{color:#1f5eff;font-size:2.4rem;font-weight:900}.link-list,.section-list{gap:10px;display:grid}.link-editor-row{grid-template-columns:minmax(120px,.35fr) minmax(200px,1fr) 42px;align-items:end;gap:10px;display:grid}.danger-button{color:#9f2f2f;background:#fff5f5;border-color:#d25a5a;font-weight:900}.danger-button:hover{background:#ffe9e9;border-color:#b94343}.toggle-row{align-items:center;gap:8px;grid-template-columns:none!important;display:flex!important}.toggle-row input{width:auto}.section-editor-row{background:#f8fbfd;border:1px solid #e1e8f0;border-radius:8px;grid-template-columns:76px 104px minmax(160px,1fr) 140px 72px 82px;align-items:end;gap:10px;padding:10px;display:grid}.section-row-meta{background:#fff;border:1px solid #dce5ee;border-radius:6px;place-items:center;min-height:40px;display:grid}.section-row-meta strong{line-height:1}.section-row-meta span{color:#69758a;text-transform:uppercase;font-size:.72rem;font-weight:800}.section-create-row{border-top:1px solid #e4ebf2;grid-template-columns:180px minmax(180px,1fr) auto;align-items:end;gap:10px;margin-top:14px;padding-top:14px;display:grid}.content-editor-card,.content-section-list{gap:12px;display:grid}.content-section{background:#f8fbfd;border:1px solid #e1e8f0;border-radius:8px;overflow:hidden}.content-section summary{cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.content-section summary span{gap:2px;display:grid}.content-section summary small{color:#69758a;font-size:.82rem}.content-section summary button{flex:none;min-height:38px;padding:0 12px;font-weight:800}.item-editor-list{border-top:1px solid #e1e8f0;gap:10px;padding:12px;display:grid}.item-editor-card{background:#fff;border:1px solid #dce5ee;border-radius:8px;gap:12px;padding:12px;display:grid}.item-editor-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.item-editor-head button{width:40px;height:40px;min-height:40px;padding:0}.empty-content-note{color:#69758a;text-align:center;background:#fff;border:1px dashed #cbd6e2;border-radius:8px;padding:14px;font-weight:750}.raw-editor-card{padding:0;overflow:hidden}.raw-editor-card summary{cursor:pointer;justify-content:space-between;align-items:center;padding:16px;display:flex}.raw-editor-card summary span{gap:2px;display:grid}.raw-editor-card summary small{color:#69758a}.raw-editor-card .editor-toolbar{padding:0 16px}#profile-json{resize:vertical;color:#eef6ff;tab-size:2;background:#101827;border:1px solid #cbd6e2;border-radius:8px;width:100%;min-height:68vh;padding:14px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.9rem;line-height:1.55}.raw-editor-card #profile-json{border-bottom:0;border-left:0;border-right:0;border-radius:0}@media (width<=820px){.cv-app,.admin-app{width:min(100% - 18px,1180px);padding-top:10px}.topbar{align-items:flex-start}.cv-paper{min-height:auto;padding:26px 20px}.cv-header{grid-template-columns:1fr}.cv-photo{order:-1}.admin-layout,.upload-card,.profile-editor-grid,.field-grid,.link-editor-row,.section-editor-row,.section-create-row{grid-template-columns:1fr}.profile-photo-box{width:112px}.cv-skill-row{grid-template-columns:1fr;gap:3px}}@media print{:root,body{background:#fff}.topbar,.admin-app{display:none}.cv-app{width:100%;margin:0;padding:0}.preview-stage{padding:0;overflow:visible}.cv-paper{width:100%;min-height:auto;box-shadow:none;border:0;padding:0}}
