@font-face{font-family:Manrope;src:url('./assets/manrope.woff2') format('woff2');font-weight:200 800;font-display:swap}
:root{font-family:Manrope,Arial,sans-serif;color:#1b1c18;background:#f6f6f2;font-synthesis:none;--paper:#fff;--ink:#1d1e19;--muted:#62635b;--edge:#e8e8e0;--gold:#ffd344;--radius:24px}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:280px;min-height:100dvh;display:flex;flex-direction:column}
[hidden]{display:none!important}
button,input{font:inherit}
button,a,input{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;color:inherit}
a{color:inherit;text-decoration:none}
:focus-visible{outline:3px solid #786009;outline-offset:3px}
.icon-defs{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:20px;height:20px;display:inline-block;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.topbar{background:#fbfbf8;border-bottom:1px solid var(--edge)}
.topbar-inner,.page,.footer>div{width:min(100% - 64px,1060px);margin-inline:auto}
.topbar-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.wordmark,.footer-brand{display:inline-flex;align-items:center;gap:10px;font-weight:800}
.wordmark{font-size:21px;letter-spacing:-.075em;white-space:nowrap}
.wordmark-light{color:#62635b;font-weight:650}
.brand-mark{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--gold);color:#212119}
.brand-mark .icon{width:22px;height:22px}
.topbar nav{display:flex;gap:10px;align-items:center}
.button{border:1px solid transparent;display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:46px;padding:10px 16px;border-radius:11px;background:transparent;font-size:.9rem;font-weight:800;line-height:1.25;text-align:center;transition:background .15s,border-color .15s}
.button .icon{width:18px;height:18px}
.button:disabled{opacity:.48;cursor:default}
.button-dark{background:#22231d;color:#fff;border-color:#22231d}
.button-dark:hover{background:#3b3c32;border-color:#3b3c32}
.button-outline{background:#fff;border-color:#e4e4da}
.button-outline:hover,.nav-team:hover{background:#f4f4ed;border-color:#e4e4da}
.nav-new,.nav-team{min-height:42px;font-size:.875rem}
.page{padding-block:42px 65px;flex:1}
.page-label{display:flex;align-items:center;gap:9px;margin:0 0 16px 2px;font-size:.75rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#595a50}
.label-mark{width:8px;height:8px;background:#c69a14;border-radius:2px;transform:rotate(45deg)}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 334px;gap:24px;align-items:start}
.profile,.share-card{border-radius:var(--radius);border:1px solid #e3e3da;background:var(--paper);box-shadow:0 14px 34px #2924170a}
.profile{overflow:hidden}
.cover{height:176px;position:relative;display:flex;align-items:center;overflow:hidden;isolation:isolate;padding:0 36px;background:radial-gradient(ellipse at 45% 0%,#414234 0%,#23241e 67%,#1c1d18 100%);color:white}
.cover-geometry{position:absolute;inset:0;z-index:-1;overflow:hidden}
.cover-geometry::after{position:absolute;inset:0;content:"";background:repeating-linear-gradient(112deg,transparent 0 5px,#ffffff0b 6px,#00000008 7px,transparent 8px 12px);mask-image:linear-gradient(90deg,transparent 32%,#000 100%)}
.cover-geometry b{position:absolute;display:block;width:174px;height:340px;top:-82px;transform:skewX(-29deg);background:linear-gradient(151deg,#ffe373 1%,#ffd035 41%,#e8ac0c 100%);box-shadow:inset 1px 0 0 #ffe78d}
.cover-geometry b:nth-child(1){right:99px;background:linear-gradient(150deg,#70613a,#443821 75%);width:99px;opacity:.78}
.cover-geometry b:nth-child(2){right:37px;background:linear-gradient(150deg,#d9aa37,#8d6616 72%);width:103px}
.cover-geometry b:nth-child(3){right:-70px}
.cover-brand{display:grid;justify-items:start;align-content:center;min-width:0}
.cover-brand strong{display:block;font-weight:800;color:#faf8ec;font-size:3.35rem;line-height:.86;letter-spacing:-.09em}
.cover-brand span{display:block;margin-top:10px;font-size:.68rem;font-weight:800;letter-spacing:.16em;color:#ffdf72}
.custom-brand{display:flex;align-items:center;gap:12px;max-width:58%}
.custom-brand .icon{width:32px;height:32px;color:#ffdf72}
.custom-brand strong{font-size:clamp(1rem,3vw,1.85rem);letter-spacing:-.045em;line-height:1.08;overflow-wrap:anywhere}
.profile-body{padding:0 34px 30px;position:relative}
.profile-top{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:10px}
.portrait{flex:none;width:110px;height:110px;margin-top:-37px;position:relative;border:5px solid white;border-radius:24px;overflow:hidden;display:grid;place-items:center;background:#f8ebbc;color:#5d4407;font-size:2.05rem;font-weight:800;box-shadow:0 2px 4px #21211915}
.portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 28%}
h1,h2,p{margin:0}
h1{font-size:clamp(2rem,5vw,3.1rem);line-height:1.05;letter-spacing:-.068em;font-weight:800;overflow-wrap:anywhere}
.role{margin-top:8px;font-size:1rem;font-weight:700;color:#4b4c43;overflow-wrap:anywhere}
.role-dot{padding-inline:3px;color:#8b7431}
.location{margin-top:12px;display:flex;align-items:center;gap:6px;font-size:.875rem;font-weight:650;color:var(--muted);overflow-wrap:anywhere}
.location .icon{width:16px;height:16px}
.profile-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:21px}
.profile-actions .button-dark{padding-inline:19px}
.mobile-share{display:none}
.links-section{margin-top:26px;padding-top:19px;border-top:1px solid var(--edge)}
h2{font-size:1.1rem;line-height:1.25;letter-spacing:-.035em;font-weight:800}
.card-links,.browse-list{list-style:none;padding:0;margin:11px 0 0}
.card-link,.browse-entry{display:flex;align-items:center;gap:11px;padding:9px 1px;min-height:55px}
.card-link .tile-icon{background:#f5f3e8}
.card-link:hover .tile-icon,.browse-entry:hover .tile-icon{background:#ffedab}
.card-links li+li,.browse-list li+li{border-top:1px solid #f0f0ea}
.tile-icon{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:11px;color:#55513d;background:#f5f3e8}
.tile-icon .icon{width:19px;height:19px}
.link-copy{flex:1;min-width:0;display:grid;gap:2px}
.link-copy strong{font-size:.92rem;overflow-wrap:anywhere}
.link-copy small{font-size:.81rem;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.link-end{width:16px;height:16px;color:#777768}
.share-card{padding:22px;background:linear-gradient(150deg,#fff2c1,#fff9e8 72%,#fff9e8);border-color:#eadba5}
.share-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.share-heading p,.dialog-heading p{color:var(--muted);margin-top:4px;font-size:.875rem;line-height:1.45}
.share-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#ffdb60;color:#32290d;flex:none}
.qr-preview{position:relative;border:1px solid #eadfb8;background:#fff;border-radius:17px;width:100%;height:223px;display:grid;place-items:center;padding:8px;transition:border-color .15s}
.qr-preview:hover{border-color:#ba983b}
.qr-preview canvas{display:block;max-width:100%;width:185px;height:auto;image-rendering:pixelated}
.qr-expand{position:absolute;right:10px;bottom:10px;width:33px;height:33px;border:1px solid #e8e8e0;border-radius:8px;display:grid;place-items:center;background:#fff;color:#666555}
.qr-expand .icon{width:15px;height:15px}
.share-actions{display:grid;gap:8px;margin-top:15px}
.share-card .button-outline{background:#fffaf0;border-color:#e9d9a8}
.share-card .button-outline:hover{background:#fff0bf}
.footer{border-top:1px solid var(--edge);background:#fbfbf8;color:var(--muted);font-size:.82rem}
.footer>div{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.footer-brand{color:var(--ink)}
.footer-brand .icon{width:16px;height:16px}
.dialog{position:fixed;width:min(calc(100% - 24px),490px);max-height:calc(100dvh - 24px);padding:22px;border:1px solid #e4dfcf;border-radius:21px;box-shadow:0 24px 78px #17170a3d;color:var(--ink);background:#fff;overscroll-behavior:contain}
.dialog::backdrop{background:#22231da3}
.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.dialog-heading h2{font-size:1.45rem}
.icon-button{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border:1px solid #e4e4da;border-radius:10px;background:white}
.icon-button:hover{background:#f5f4ed}
.icon-button .icon{width:17px;height:17px}
.qr-dialog{width:min(calc(100% - 24px),410px)}
.full-qr{display:grid;place-items:center;border-radius:14px;background:#fff8e0;padding:10px}
.full-qr canvas{display:block;width:min(100%,320px);height:auto;background:white;image-rendering:pixelated}
.browse-section+.browse-section{margin-top:20px}
.browse-section h3{margin:0;font-size:.85rem;font-weight:800}
.browse-list li{display:flex;align-items:center;gap:8px}
.browse-entry{flex:1;min-width:0}
.browse-avatar{width:40px;height:40px;border-radius:11px;object-fit:cover;object-position:center 30%;flex:none}
.browse-section p{font-size:.9rem;color:var(--muted)}
.edit-dialog{width:min(calc(100% - 24px),650px)}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.fields label,.link-edit-row label{min-width:0;display:grid;gap:5px;font-size:.875rem;font-weight:800}
input{min-width:0;width:100%;min-height:44px;border:1px solid #ddddd2;border-radius:9px;background:#fcfcf9;color:var(--ink);padding:8px 10px;font-size:1rem;line-height:1.25}
input::placeholder{color:#76776c;font-size:.91rem}
.edit-links{min-width:0;border:0;padding:0;margin:21px 0 0}
.edit-links legend{padding:0;font-size:1.05rem;font-weight:800}
.edit-links p,.form-note{font-size:.875rem;color:var(--muted);line-height:1.5}
.link-edit-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr) auto;gap:8px;align-items:end;margin-block:10px}
.link-edit-row .icon-button{height:44px}
.edit-links>.button{margin-top:8px}
.form-note{margin-top:17px}
.form-error,.route-error{padding:9px 11px;border-radius:8px;background:#fdf1e9;color:#81360e;font-weight:800;font-size:.875rem;margin-block:10px}
.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:16px}
.toast{position:fixed;z-index:5;bottom:20px;left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);width:max-content;padding:12px 17px;border-radius:11px;background:#272820;color:white;font-weight:750;font-size:.9rem;box-shadow:0 4px 16px #2223}
.manual-copy{width:100%;margin-top:10px}
@media(max-width:850px){
  .layout{grid-template-columns:minmax(0,1fr) 278px;gap:16px}
  .share-card{padding:16px}
  .profile-body{padding-inline:25px}
}
@media(max-width:660px){
  .topbar-inner,.page,.footer>div{width:calc(100% - 30px)}
  .topbar-inner{min-height:62px}
  .wordmark{font-size:18px;gap:7px}
  .brand-mark{width:32px;height:32px}
  .topbar nav{gap:4px}
  .nav-new,.nav-team{padding-inline:9px;min-height:39px;font-size:.79rem}
  .nav-team .icon{width:17px}
  .nav-team span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .page{padding-block:22px 31px}
  .page-label{margin-bottom:11px}
  .layout{grid-template-columns:minmax(0,1fr)}
  .cover{height:148px;padding-inline:22px}
  .cover-brand strong{font-size:2.8rem}
  .custom-brand strong{font-size:1.12rem}
  .cover-geometry b:nth-child(1){right:58px}
  .cover-geometry b:nth-child(2){right:11px}
  .cover-geometry b:nth-child(3){right:-96px}
  .profile-body{padding:0 18px 22px}
  .profile-top{margin-bottom:11px}
  .portrait{width:95px;height:95px;border-radius:19px}
  h1{font-size:clamp(1.9rem,8vw,2.8rem)}
  .role{font-size:.94rem}
  .mobile-share{display:inline-flex;margin-bottom:2px;min-height:42px;padding-inline:10px}
  .share-card{display:none}
  .profile-actions{gap:7px;margin-top:17px}
  .profile-actions>.button{padding-inline:11px;gap:6px}
  .profile-actions>.button-dark{padding-inline:13px}
  .links-section{margin-top:21px}
  .footer>div{min-height:59px}
}
@media(max-width:370px){
  .cover-brand span{font-size:.61rem;letter-spacing:.12em}
  .fields{grid-template-columns:1fr}
  .link-edit-row{grid-template-columns:minmax(0,1fr) auto}
  .link-edit-row label:first-child{grid-column:1/-1}
  .dialog{padding:15px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important}}
