/* Scoped personal-link pages: the existing terminal palette, never the homepage. */
.profile-links-workspace{--pl-green:var(--green,#00edb0);--pl-ink:#f1f1eb;--pl-muted:#acbbb0;--pl-border:#3b5143;--pl-surface:#101711;max-width:1120px;margin-inline:auto;color:var(--pl-ink);font:inherit;overflow-wrap:anywhere}
.profile-links-workspace *{box-sizing:border-box}
.profile-links-workspace [hidden]{display:none!important}
.profile-links-workspace p{line-height:1.65}
.profile-links-workspace button,.profile-links-workspace input,.profile-links-workspace select,.profile-links-workspace textarea{font:inherit}
.profile-links-workspace .pl-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #56745f;background:transparent;color:var(--pl-ink);padding:10px 13px;font-size:11px;line-height:1.45;white-space:normal;text-align:center;cursor:pointer;margin:0;max-width:100%}
.profile-links-workspace .pl-button:hover:not(:disabled){border-color:var(--pl-green);color:var(--pl-green);background:#17261b}
.profile-links-workspace .pl-button.primary{background:var(--pl-green);border-color:var(--pl-green);color:#08130d}
.profile-links-workspace .pl-button.primary:hover:not(:disabled){background:#a6ffdc;color:#08130d}
.profile-links-workspace button:disabled{opacity:.45;cursor:not-allowed}
.profile-links-workspace :is(button,input,textarea,select,a,summary):focus-visible{outline:2px solid var(--pl-green);outline-offset:4px}
.pl-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:20px}
.pl-heading>div{max-width:720px}
.profile-links-workspace .pl-heading h2{font-size:clamp(26px,3.3vw,43px);line-height:1.15;letter-spacing:-.025em;margin:10px 0 15px}
.profile-links-workspace .pl-heading p{font-size:14px;margin:0 0 10px}
.profile-links-workspace .pl-heading .eco-kicker{font-size:11px;letter-spacing:.09em;color:var(--pl-green)}
.pl-heading>.pl-button{flex-shrink:0;margin-top:8px}
.profile-links-workspace .pl-notice{border:1px solid #5c6642;border-left:3px solid #b6ce75;padding:14px 16px;font-size:11px;line-height:1.75;color:#d6dec7;margin:0 0 25px;background:#1a2013}
.pl-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:26px;align-items:start}
.profile-links-workspace .pl-form{display:block;min-width:0;margin:0}
.pl-form fieldset{border:1px solid var(--pl-border);padding:18px;margin:0 0 20px;min-width:0}
.pl-form legend{padding:0 8px;color:var(--pl-green);font-size:11px;letter-spacing:.08em}
.profile-links-workspace .pl-form label{display:block;margin:0 0 17px;font-size:12px;line-height:1.6}
.pl-form label:last-child{margin-bottom:0}
.profile-links-workspace .pl-form input,.profile-links-workspace .pl-form textarea,.profile-links-workspace .pl-form select{display:block;background:#0b110d;color:var(--pl-ink);border:1px solid #4c6554;border-radius:0;width:100%;min-width:0;min-height:42px;padding:11px;margin-top:6px;font-size:13px;line-height:1.5}
.profile-links-workspace .pl-form textarea{resize:vertical;min-height:110px;max-height:420px}
.profile-links-workspace .pl-form input::placeholder,.profile-links-workspace .pl-form textarea::placeholder{color:#8e9d93;opacity:1}
.profile-links-workspace .pl-form small{font-size:10px;line-height:1.6;color:var(--pl-muted)}
.profile-links-workspace .pl-character-count{display:block;text-align:right;margin-top:4px}
.profile-links-workspace .pl-access-note,.profile-links-workspace .pl-privacy-note,.profile-links-workspace .pl-preview-note{font-size:11px;color:var(--pl-muted);line-height:1.7;margin:12px 0}
.profile-links-workspace .pl-link-count{font-size:10px;color:var(--pl-muted);letter-spacing:.1em;margin:0 0 14px}
.pl-edit-list{padding:0;margin:0 0 14px;list-style:none;display:grid;gap:14px}
.pl-edit-link{border:1px solid var(--pl-border);background:#111b14;padding:14px;min-width:0}
.pl-link-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:14px}
.pl-link-heading>strong{font-size:10px;letter-spacing:.08em;color:var(--pl-green)}
.pl-row-actions{display:flex;gap:5px}
.profile-links-workspace .pl-small-button{font-size:10px;min-width:36px;min-height:36px;padding:7px}
.pl-edit-empty{padding:20px 10px;border-block:1px dashed var(--pl-border);font-size:12px;color:var(--pl-muted);line-height:1.8}
.pl-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.profile-links-workspace .pl-status{font-size:12px;color:var(--pl-green);min-height:1.7em;line-height:1.7;margin:14px 0;white-space:pre-wrap}
.profile-links-workspace .pl-status[data-error=true],.profile-links-workspace .pl-load-error{color:#ffbb96}
.pl-preview-pane{position:sticky;top:16px;min-width:0;padding:17px;background:#0c130e;border:1px solid var(--pl-border)}
.pl-preview-heading{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:18px;flex-wrap:wrap}
.profile-links-workspace .pl-preview-heading h3{font-size:10px;letter-spacing:.05em;margin:0}
.pl-state{display:inline-block;border:1px solid var(--pl-green);color:var(--pl-green);font-size:9px;letter-spacing:.04em;padding:4px 6px}
.pl-state[data-draft=true]{border-color:#e7c881;color:#e7c881}
.pl-page-card{max-width:480px;width:100%;margin-inline:auto;min-width:0;background:linear-gradient(160deg,#18261d,#0b110d 65%);border:1px solid #50705b;padding:26px 24px;color:#f1f1eb;box-shadow:0 14px 30px #0003}
.pl-card-top{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #354f3f;padding-bottom:15px;font-size:9px;letter-spacing:.1em;color:#b5c8bd}
.pl-card-light{color:var(--pl-green);font-size:14px;line-height:1}
.pl-avatar{display:grid;place-items:center;width:60px;height:60px;border:1px solid var(--pl-green);color:var(--pl-green);font-size:28px;line-height:1;margin:28px auto 18px;background:#0d2317;box-shadow:4px 4px 0 #1e3e2b}
.profile-links-workspace .pl-page-title{font-size:clamp(24px,2.5vw,34px);line-height:1.2;letter-spacing:-.025em;text-align:center;margin:0 0 13px;white-space:pre-wrap}
.profile-links-workspace .pl-page-bio{font-size:13px;line-height:1.75;text-align:center;white-space:pre-wrap;margin:0 auto 26px;max-width:360px;color:#d1ddd4}
.profile-links-workspace .pl-page-bio.pl-placeholder{color:#93a598}
.pl-page-list{display:grid;gap:10px;margin:26px 0 0;padding:0;list-style:none}
.pl-page-list>li{min-width:0}
.profile-links-workspace .pl-page-link{display:flex;align-items:center;gap:13px;text-decoration:none;border:1px solid #4c6b55;background:#14291b;padding:15px 13px;color:inherit;min-height:70px;transition:border-color .15s,background .15s}
.profile-links-workspace a.pl-page-link:hover{background:#1c3826;border-color:var(--pl-green)}
.pl-link-number{color:#84a18e;font-size:10px;flex-shrink:0}
.pl-link-copy{display:grid;gap:5px;min-width:0;flex:1}
.pl-link-copy strong{font-size:13px;font-weight:400;line-height:1.5}
.pl-link-copy small{font-size:10px;color:#a7bdaf;line-height:1.45}
.pl-link-arrow{color:var(--pl-green);font-size:21px;flex-shrink:0}
.profile-links-workspace .pl-link-incomplete{border-style:dashed;background:#161d15}
.pl-link-incomplete .pl-link-copy small{color:#dbbf86}
.pl-page-empty{border:1px dashed #4b6655;padding:22px;font-size:12px;text-align:center;line-height:1.7;color:#a7bdaf}
.profile-links-workspace .pl-card-footer{font-size:9px;line-height:1.8;color:#8ea996;text-align:center;margin:28px 0 0}
.pl-sharing{border-top:1px solid var(--pl-border);margin-top:20px;padding-top:16px}
.profile-links-workspace .pl-sharing h3{font-size:10px;letter-spacing:.05em;margin:0 0 12px}
.profile-links-workspace .pl-saved-url{display:block;font-size:11px;line-height:1.8;color:var(--pl-green);text-decoration:underline;text-underline-offset:3px;word-break:break-word;margin:0 0 12px}
.pl-recovery-note{border:1px solid var(--pl-border);border-left:3px solid var(--pl-green);padding:20px;margin-top:25px;background:#111c15}
.profile-links-workspace .pl-recovery-note h3{font-size:13px;line-height:1.6;color:var(--pl-green);margin:0 0 12px}
.profile-links-workspace .pl-recovery-note p{font-size:12px;line-height:1.8;color:#bfcec3;margin:9px 0 15px}
.pl-danger-zone{border-top:1px solid #695444;margin-top:28px;padding-top:18px}
.pl-danger-zone summary{cursor:pointer;color:#e6b69c;font-size:12px;line-height:1.7;padding:5px 0}
.profile-links-workspace .pl-danger-zone p{font-size:12px;max-width:740px;color:#d2bbae;margin:14px 0}
.profile-links-workspace .pl-danger-button{border-color:#bb7c5a;color:#ffc8a8}
.pl-archives{border-top:1px solid var(--pl-border);margin-top:22px;padding-top:17px}
.pl-archives summary{cursor:pointer;font-size:12px;line-height:1.7;padding:5px 0;color:var(--pl-muted)}
.profile-links-workspace .pl-archives p{font-size:12px;line-height:1.8;color:var(--pl-muted)}
.pl-archive-list{display:grid;gap:10px;list-style:none;padding:0;margin:17px 0}
.pl-archive-list li{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid var(--pl-border);padding:14px}
.pl-archive-list li>div{min-width:0;display:grid;gap:6px}
.pl-archive-list strong{font-size:12px;font-weight:400}
.pl-archive-list small{font-size:10px;line-height:1.7;color:var(--pl-muted)}
.profile-links-workspace .pl-loading,.profile-links-workspace .pl-load-error{font-size:13px;padding:18px;border:1px solid var(--pl-border);line-height:1.8}
.pl-viewer{max-width:620px}
.profile-links-workspace .pl-viewer-access{font-size:11px;color:var(--pl-muted);margin:0 0 22px}
.profile-links-workspace .pl-owner-note{padding:16px 0;border-bottom:1px solid var(--pl-border);margin-top:12px}
.profile-links-workspace .pl-owner-note p,.profile-links-workspace .pl-viewer-footer{font-size:11px;line-height:1.8;color:var(--pl-muted)}
.profile-links-workspace .pl-viewer-footer{margin-top:20px}
@media(max-width:800px){.pl-grid{grid-template-columns:minmax(0,1fr);gap:22px}.pl-preview-pane{position:static}.pl-heading{display:block}.pl-heading>.pl-button{margin:0 0 5px}.pl-page-card{max-width:500px}.pl-form fieldset{padding:15px}.profile-links-workspace .pl-form input,.profile-links-workspace .pl-form textarea,.profile-links-workspace .pl-form select{font-size:16px}.pl-preview-heading{margin-bottom:14px}}
@media(max-width:420px){.pl-page-card{padding:20px 15px}.pl-edit-link{padding:11px}.pl-link-heading{gap:8px;flex-wrap:wrap}.pl-row-actions{gap:4px}.pl-preview-pane{padding:12px}.profile-links-workspace .pl-notice{padding:12px}.profile-links-workspace .pl-page-link{padding:13px 10px;gap:10px}.pl-recovery-note{padding:15px}.pl-actions>.pl-button{flex:1 1 135px}}
@media(prefers-reduced-motion:reduce){.profile-links-workspace .pl-page-link{transition:none}}
