*,*::before,*::after{box-sizing:border-box}
/* Saee Skill Passport — complete, responsive visual layer */
:root{--sp-ink:#173e3a;--sp-deep:#083f3b;--sp-green:#075550;--sp-mint:#e8f2ec;--sp-soft:#f6f8f5;--sp-line:#e0e9e2;--sp-muted:#718078;--sp-gold:#bf8a4a;--sp-danger:#a92d37;--sp-danger-bg:#fff0f0;--sp-shadow:0 16px 44px rgba(20,64,52,.08)}
html{scroll-behavior:smooth;scroll-padding-top:18px}
.passport-body{background:radial-gradient(ellipse at 8% 4%,#e8f3eb 0,transparent 35%),#f7f9f6;color:var(--sp-ink);min-height:100vh}
.passport-header{position:relative;z-index:5;max-width:1400px;padding:0 5%;height:88px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfe9e1;gap:20px;background:rgba(247,249,246,.9);backdrop-filter:blur(16px)}
.passport-header .brand{display:flex;align-items:center;gap:10px;flex-shrink:0}.passport-header .brand img{width:44px;height:48px;object-fit:contain}.passport-header .brand span{font-size:23px;font-weight:900;line-height:1.2}.passport-header .brand small{display:block;font-size:9px;letter-spacing:1.3px;color:#73857b;margin-top:4px}.passport-header nav{display:flex;align-items:center;gap:24px}.passport-header nav a{font-size:13px;font-weight:800;color:#64796e}.passport-header nav a.active,.passport-header nav a:hover{color:var(--sp-green)}
.sp-wrap{max-width:1260px;margin:auto;padding:28px 26px 58px}.sp-hero{position:relative;display:grid;grid-template-columns:1.12fr .88fr;gap:48px;align-items:center;padding:40px 0 48px}.sp-hero:before{content:"";position:absolute;z-index:-1;inset:0 28% 5% 0;border-radius:40px;background:linear-gradient(120deg,rgba(233,244,235,.12),rgba(221,239,225,.55));pointer-events:none}.sp-eyebrow,.sp-kicker{display:inline-flex;color:#46826c;font-size:11px;font-weight:900;letter-spacing:.35px}.sp-hero h1{font-size:clamp(36px,4.8vw,60px);line-height:1.34;margin:15px 0;font-weight:950;letter-spacing:-1.3px}.sp-hero h1 em{font-style:normal;color:#42836e}.sp-hero p{color:#6a7d73;line-height:2.05;max-width:600px;font-size:14px}.sp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px}.sp-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border:1px solid var(--sp-green);border-radius:12px;padding:11px 19px;background:var(--sp-green);color:#fff;font:inherit;font-weight:800;font-size:12px;cursor:pointer;text-decoration:none;transition:transform .18s,box-shadow .18s,background .18s}.sp-btn:hover{background:#064640;box-shadow:0 8px 18px #07555020;transform:translateY(-1px)}.sp-btn:focus-visible,.sp-mini:focus-visible,.sp-close:focus-visible{outline:3px solid #c2914d;outline-offset:3px}.sp-btn-light{background:#fff;color:var(--sp-green);border-color:#d5e4d9}.sp-btn-light:hover{background:#eff7f0}.sp-danger{background:var(--sp-danger-bg);border-color:#edc6c9;color:var(--sp-danger)}.sp-danger:hover{background:#ffe1e2;border-color:#e5a7ad;box-shadow:0 8px 18px #a92d3712}.sp-note{margin-top:17px;color:#7b8980;font-size:10px;line-height:1.8}
.sp-hero-card{position:relative;overflow:hidden;padding:25px 25px 22px;background:linear-gradient(145deg,#fff 0%,#f1f7f1 100%);border:1px solid #dce9de;border-radius:24px;box-shadow:var(--sp-shadow)}.sp-hero-card:before{content:"";position:absolute;width:200px;height:200px;border:1px solid #c9dfcf;border-radius:50%;left:-90px;top:-95px;box-shadow:0 0 0 22px #e9f2eb,0 0 0 44px #f0f6f0}.sp-card-top{position:relative;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:10px;letter-spacing:1.2px;font-weight:900;color:#779084}.sp-chip{display:inline-flex;align-items:center;border:1px solid #d7e7d9;border-radius:99px;padding:4px 9px;background:#eef6ef;color:#4c7864;font-size:10px;letter-spacing:0;font-weight:800;white-space:nowrap}.sp-avatar{display:grid;place-items:center;margin:25px 0 12px;width:56px;height:56px;border:1px solid #d4e8d8;border-radius:19px;background:linear-gradient(140deg,#e6f2e9,#fff);color:var(--sp-green);font-size:27px}.sp-hero-card h2{margin:0;font-size:24px;font-weight:950}.sp-hero-card>p{margin:6px 0 22px;font-size:12px;line-height:1.8}.sp-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.sp-stat-row>div{display:flex;flex-direction:column;gap:4px;border:1px solid #e4ece4;background:#fff;border-radius:13px;padding:12px 10px}.sp-stat-row b{font-size:23px;color:var(--sp-green);line-height:1.25}.sp-stat-row small{font-size:10px;color:#86938b}.sp-progress{overflow:hidden;height:7px;margin:22px 0 9px;border-radius:99px;background:#e1ebe1}.sp-progress span{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#47866f,#c0a06a);transition:width .25s}.sp-hero-card>small:last-child{font-size:10px;color:#7c8b81}
.sp-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:24px;align-items:start}.sp-sidebar{position:sticky;top:20px;display:flex;flex-direction:column;gap:4px;padding:17px 13px;background:rgba(255,255,255,.86);border:1px solid var(--sp-line);border-radius:18px;box-shadow:0 5px 20px rgba(22,64,51,.035)}.sp-side-title{margin:0 8px 8px;font-size:12px;font-weight:950;color:#456d5c}.sp-sidebar>a{padding:11px 10px;border-radius:9px;color:#6e7d74;font-size:11px;font-weight:800;transition:background .15s,color .15s}.sp-sidebar>a:hover,.sp-sidebar>a:focus-visible{background:#edf5ee;color:var(--sp-green)}.sp-side-tip{margin-top:13px;padding:14px 12px;border-radius:12px;background:#f5f8f1;border:1px solid #e7ecdf}.sp-side-tip b{font-size:11px;color:#8b6a3b}.sp-side-tip p{margin:6px 0 0;color:#758278;font-size:10px;line-height:1.9}
.sp-content{min-width:0;display:grid;gap:18px}.sp-panel{min-width:0;padding:26px;background:#fff;border:1px solid #e2eae3;border-radius:19px;box-shadow:0 5px 22px rgba(20,64,52,.035);scroll-margin-top:16px}.sp-section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:21px}.sp-section-head h2{font-size:22px;line-height:1.4;margin:6px 0 5px;font-weight:950;letter-spacing:-.3px}.sp-section-head p{margin:0;color:#7a8980;font-size:11px;line-height:1.9}.sp-number{display:grid;place-items:center;flex:0 0 auto;width:43px;height:43px;border-radius:14px;background:#edf5ee;color:#58836d;font-size:12px;font-weight:950}
.sp-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 13px;align-items:start}.sp-form label{display:flex;flex-direction:column;gap:7px;color:#486259;font-size:11px;font-weight:850;min-width:0}.sp-form input,.sp-form select,.sp-form textarea{width:100%;min-width:0;border:1px solid #dfe8e1;border-radius:10px;background:#fbfdfb;color:#1b443b;padding:12px 13px;outline:none;font-size:12px;transition:border .15s,box-shadow .15s}.sp-form input,.sp-form select{min-height:43px}.sp-form textarea{resize:vertical;line-height:1.9;min-height:95px}.sp-form input:focus,.sp-form select:focus,.sp-form textarea:focus{border-color:#7eae91;box-shadow:0 0 0 3px #dff0e2;background:#fff}.sp-form input::placeholder,.sp-form textarea::placeholder{color:#a2aea5;font-weight:400}.sp-wide{grid-column:1/-1}.sp-form>.sp-btn{justify-self:start;min-width:165px}.sp-form .sp-btn-light{min-width:120px}.sp-list{display:grid;gap:10px;margin-top:17px}.sp-item{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:15px;border:1px solid #e1eae2;border-radius:14px;background:linear-gradient(135deg,#fff,#fbfdfb)}.sp-item>div:first-child{min-width:0;overflow-wrap:anywhere}.sp-item h3{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 7px;font-size:13px;color:#244c40}.sp-item p{margin:5px 0;color:#728178;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.sp-item a,.sp-public-block a{color:#28745e;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.sp-item-actions{display:flex;align-items:center;gap:7px;flex:0 0 auto;flex-wrap:wrap}.sp-mini{display:inline-flex;justify-content:center;align-items:center;min-height:31px;padding:6px 10px;border:1px solid #d5e4d8;border-radius:8px;background:#f5faf5;color:#376b55;font:inherit;font-size:10px;font-weight:850;cursor:pointer}.sp-mini:hover{background:#e7f3e8}.sp-item-actions [data-delete-skill],.sp-item-actions [data-delete-project]{border-color:#f0d0d1;background:#fff6f6;color:#a7363e}.sp-item-actions [data-delete-skill]:hover,.sp-item-actions [data-delete-project]:hover{background:#ffe7e8}.sp-legend{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px}.sp-legend span{display:inline-flex;padding:5px 9px;border-radius:99px;font-size:10px;font-weight:850}.tag-self{background:#f1f2f1;color:#637269}.tag-evidence{background:#e9f4ec;color:#377652}.tag-verified{background:#fff2dc;color:#91601d}.sp-legend small{color:#929d94;font-size:10px;line-height:1.8}
.sp-challenge{display:flex;gap:15px;padding:17px;border:1px solid #e1ebe1;border-radius:14px;background:linear-gradient(120deg,#f7fbf7,#fff);margin-bottom:18px}.sp-challenge-icon{display:grid;place-items:center;flex:0 0 45px;height:45px;border-radius:13px;background:#e8f3e9;color:#38745a;font-size:24px}.sp-challenge-main{min-width:0}.sp-challenge-main h3{margin:10px 0 6px;font-size:14px}.sp-challenge-main p{margin:0 0 8px;color:#6e7e73;font-size:11px;line-height:1.8}.sp-challenge-main>small{color:#88938a;font-size:10px;line-height:1.8;display:block}.sp-result,.sp-analysis{margin-top:15px;padding:16px;border:1px solid #dce9dc;background:#f7fbf6;border-radius:13px;color:#426b56;font-size:12px;line-height:1.9}.sp-result[hidden],.sp-analysis[hidden]{display:none}.sp-result b{font-size:23px}.sp-result p{margin:6px 0}.sp-result ul,.sp-analysis ul{padding-right:20px;margin:8px 0}.sp-analysis li{margin:10px 0}.sp-ai-foot{font-size:10px;color:#869188;margin-top:14px;line-height:1.9}.sp-switch-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid #edf1ec}.sp-switch-row span{display:flex;flex-direction:column;gap:5px}.sp-switch-row b{font-size:12px}.sp-switch-row small{font-size:10px;color:#87928a;line-height:1.7}.sp-switch-row input{width:19px;height:19px;accent-color:#075550;flex-shrink:0;cursor:pointer}.sp-privacy-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.sp-delete-note{margin:12px 0 0;padding:11px 13px;border-radius:10px;background:#fff8f7;border:1px solid #f4e0df;color:#a25356;font-size:10px;line-height:1.9}.sp-warning{font-size:10px;line-height:1.9;color:#896b49;background:#fff9ef;border:1px solid #f1e5ce;border-radius:10px;padding:13px;margin-top:17px}.sp-empty{font-size:11px;color:#89948c;padding:18px;border:1px dashed #dce6dc;border-radius:11px;text-align:center;background:#fbfdfb}
.sp-footer{display:flex;justify-content:center;align-items:center;gap:9px;flex-wrap:wrap;color:#87928a;font-size:11px;padding:32px 10px}.sp-footer a{color:#075550;font-weight:950}.sp-footer span{color:#b27a41}.sp-dialog{width:min(700px,calc(100% - 28px));max-height:min(86vh,900px);overflow:auto;border:1px solid #e1eae2;border-radius:20px;padding:28px;box-shadow:0 20px 90px #102e2450;color:#173e3a}.sp-dialog::backdrop{background:#0b2c2790;backdrop-filter:blur(3px)}.sp-close{position:sticky;top:0;float:left;z-index:3;border:1px solid #e0eae0;background:#f2f7f2;color:#315e4b;border-radius:50%;width:34px;height:34px;font-size:22px;cursor:pointer}.sp-public-head{border-bottom:1px solid #e5ece5;padding:10px 0 20px;margin-bottom:18px}.sp-public-head h2{margin:10px 0 4px;font-size:25px}.sp-public-head p{color:#718078;font-size:12px;line-height:1.9}.sp-public-block{margin:20px 0}.sp-public-block h3{font-size:14px}.sp-public-skill{display:inline-flex;vertical-align:top;flex-direction:column;gap:5px;border:1px solid #e0e9e1;border-radius:11px;padding:12px;margin:4px;font-size:11px;max-width:100%;overflow-wrap:anywhere}.sp-public-skill small{color:#79887e}
@media(max-width:900px){.sp-hero{grid-template-columns:1fr;gap:25px;padding-top:30px}.sp-hero:before{inset:0 0 50% 0}.sp-hero-card{max-width:600px;width:100%}.sp-layout{grid-template-columns:1fr}.sp-sidebar{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.sp-side-title,.sp-side-tip{grid-column:1/-1}.sp-side-tip{margin-top:8px}.sp-panel{padding:22px}.passport-header nav{display:none}}
@media(max-width:560px){.sp-wrap{padding:16px 12px 36px}.passport-header{height:73px;padding:0 12px}.passport-header .brand span{font-size:19px}.passport-header .brand img{width:35px;height:40px}.passport-header>.button{font-size:10px;padding:9px 11px;min-height:37px}.sp-hero h1{font-size:39px;letter-spacing:-.8px}.sp-hero p{font-size:12px}.sp-hero-card{padding:19px;border-radius:19px}.sp-stat-row b{font-size:19px}.sp-panel{padding:17px;border-radius:15px}.sp-section-head h2{font-size:19px}.sp-section-head p{font-size:10px}.sp-number{width:36px;height:36px;border-radius:11px}.sp-form{grid-template-columns:1fr;gap:13px}.sp-wide{grid-column:auto}.sp-form>.sp-btn{justify-self:stretch;width:100%}.sp-form .sp-btn-light{width:100%}.sp-sidebar{grid-template-columns:1fr}.sp-side-tip{grid-column:auto}.sp-item{flex-direction:column;padding:13px}.sp-item-actions{align-self:flex-end}.sp-actions .sp-btn,.sp-privacy-actions .sp-btn{flex:1 1 100%}.sp-challenge{padding:12px;gap:10px}.sp-dialog{padding:20px 15px;width:calc(100% - 18px)}.sp-public-head h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* Disabled share control: this build has no server-backed public sharing. */
.sp-switch-row input:disabled{opacity:.45;cursor:not-allowed}
.sp-switch-row:has(input:disabled){opacity:.85}
.sp-warning{overflow-wrap:anywhere}

/* Account-backed passport status and explicit server save feedback. */
.sp-auth-panel{margin:18px 0;border-color:#cbded4;background:#fff}
.sp-auth-status{margin:8px 0 12px;line-height:1.8;overflow-wrap:anywhere}
.sp-save-status{padding:10px 12px;margin:12px 0 0;border-radius:10px;background:#eef5f0;color:#24554a;font-size:13px;overflow-wrap:anywhere}
.sp-save-status.is-error{background:#fff0f0;color:#8d2029;border:1px solid #f0c7c9}
.sp-auth-panel [disabled]{opacity:.55;cursor:not-allowed}

/* Recovery controls appear only while a server save is unconfirmed. */
.sp-recovery-actions{margin-top:10px;align-items:center;flex-wrap:wrap}
.sp-recovery-actions [hidden]{display:none!important}
.sp-recovery-actions button:disabled{opacity:.55;cursor:not-allowed}


/* Compact account status: remove the oversized account/error card. */
.sp-auth-inline{display:flex;align-items:center;justify-content:space-between;gap:8px 18px;flex-wrap:wrap;margin:8px 0 20px;padding:8px 0;border-bottom:1px solid #e4ece5;background:transparent}
.sp-auth-inline-copy{flex:1 1 300px;min-width:0}
.sp-auth-status{margin:0;line-height:1.7;font-size:12px;color:#526d60;overflow-wrap:anywhere}
.sp-auth-inline-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto;flex-wrap:wrap}
.sp-auth-inline .sp-save-status{margin:3px 0 0;padding:0;border:0;border-radius:0;background:transparent;color:#718078;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.sp-auth-inline .sp-save-status.is-error{border:0;background:transparent;color:#a23b42;font-weight:750}
.sp-auth-inline .sp-recovery-actions{margin-top:0}
@media(max-width:560px){.sp-auth-inline{align-items:stretch}.sp-auth-inline-copy{flex-basis:100%}.sp-auth-inline-actions,.sp-auth-inline .sp-recovery-actions{width:100%}.sp-auth-inline .sp-btn{flex:1 1 100%}}
