:root{--ink:#1e2236;--muted:#7a8298;--purple:#6655dc;--purplelight:#efecff;--line:#e9eaf1;--bg:#f8f9fc;--white:#fff;--shadow:0 9px 36px rgba(30,35,65,.045)}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;background:var(--bg)}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{font-family:Manrope,system-ui,sans-serif;letter-spacing:-.65px}h1{font-size:30px}h2{font-size:21px}h3{font-size:16px}p{line-height:1.5}.muted,small{color:var(--muted)}small{font-size:12px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #8c7df0;outline-offset:2px}.app{display:grid;grid-template-columns:238px 1fr;min-height:100vh}.side{background:#fff;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;font-family:Manrope;font-size:23px;font-weight:800;letter-spacing:-1px;padding:5px 14px 40px}.logo{display:inline-grid;place-items:center;background:var(--purple);color:#fff;width:34px;height:34px;border-radius:11px;font-size:23px;box-shadow:0 6px 15px #6354d838}.nav{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 15px;margin:3px 0;color:#677086;border-radius:12px;font-size:13px;font-weight:700}.nav svg{width:18px;height:18px}.nav.active{color:#5f4fce;background:var(--purplelight)}.side-foot{margin-top:auto;padding:15px;border:1px solid var(--line);border-radius:13px;font-size:12px;color:var(--muted);line-height:1.6}.main{min-width:0}.top{height:83px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 34px}.top strong{font-family:Manrope;font-size:17px}.topright{display:flex;align-items:center;gap:12px}.pill{padding:6px 10px;border-radius:99px;background:#f0f6ee;color:#4d8051;font-size:11px;font-weight:800}.avatar{background:#e9e3ff;border:2px solid white;border-radius:50%;display:grid;place-items:center;width:39px;height:39px;font-weight:800;color:#6655ca;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover}.content{max-width:1270px;margin:auto;padding:34px 36px 100px}.section{display:none}.section.active{display:block}.flex{display:flex;align-items:center;gap:12px}.between{display:flex;align-items:center;justify-content:space-between;gap:10px}.btn{border:1px solid #dfe1ee;background:white;border-radius:10px;padding:11px 16px;color:#444a60;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.btn.primary{background:var(--purple);border-color:var(--purple);color:#fff}.btn.danger{color:#b84256;border-color:#f7d5dc}.btn.small{padding:8px 11px}.btn:disabled{opacity:.5;cursor:not-allowed}.btn:hover{filter:brightness(.97)}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);padding:23px}.panel h2{margin-bottom:5px}.note{background:#f3f0ff;color:#5a55a2;border:1px solid #e4deff;padding:13px 16px;border-radius:11px;font-size:12px;line-height:1.65}.warm{background:#fff9ef;border-color:#ffe7c0;color:#92672e}.hero{border-radius:21px;background:linear-gradient(115deg,#36315f,#6450b9);padding:35px 37px;color:#fff;display:flex;justify-content:space-between;align-items:center;min-height:215px;overflow:hidden;position:relative}.hero:before{content:'';position:absolute;right:-85px;top:-210px;width:430px;height:430px;border:1px solid #ffffff18;border-radius:50%;box-shadow:0 0 0 65px #ffffff08,0 0 0 140px #ffffff08}.hero>div{z-index:1}.hero h1{font-size:28px;margin:0 0 9px;color:#fff}.hero p{color:#ddd8ff;font-size:13px;max-width:460px}.hero .btn{margin-top:12px}.hero-art{transform:rotate(-13deg);height:148px;width:228px;border-radius:17px;background:linear-gradient(125deg,#e0dcff,#a6a0f3);box-shadow:15px 20px 35px #15103655;display:flex;align-items:end;padding:20px;font-weight:800;color:#4b4591;letter-spacing:3px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:23px 0}.stat{padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:16px}.stat strong{font:800 29px Manrope;display:block}.stat span{color:var(--muted);font-size:12px}.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.quick button{text-align:left;min-height:119px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;border:1px solid var(--line);background:#fff;padding:19px;border-radius:16px;color:var(--ink);font-size:13px;font-weight:800}.quick i{font-size:24px;font-style:normal}.quick button:hover{border-color:#ac9cf8;transform:translateY(-1px)}.two{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:18px}.three{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.two label,.panel label{font-size:12px;font-weight:800;color:#51586b;display:block;margin:13px 0 7px}.field{width:100%;padding:12px 13px;border:1px solid #dfe2ec;border-radius:10px;background:#fff;font-size:13px;color:#242739}.field:focus{border-color:#7c6be6;outline:2px solid #ece8ff}.fieldrow{display:grid;grid-template-columns:1fr 1fr;gap:11px}textarea.field{resize:vertical;min-height:86px}.card-surface{background:linear-gradient(140deg,#5745b0 0%,#292452 100%);height:251px;border-radius:18px;color:#fff;padding:22px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 18px 40px #2d28652a;overflow:hidden;position:relative}.card-surface:after{content:'';position:absolute;width:350px;height:350px;border-radius:100%;border:1px solid #ffffff13;right:-175px;top:-100px;box-shadow:0 0 0 42px #ffffff08,0 0 0 99px #ffffff06}.card-surface.green{background:linear-gradient(135deg,#286a5a,#123c42)}.card-surface.blue{background:linear-gradient(135deg,#233f7d,#181f41)}.card-surface.rose{background:linear-gradient(135deg,#a94878,#582b68)}.card-surface.gold{background:linear-gradient(135deg,#a06b25,#574117)}.card-surface>*{position:relative;z-index:1}.card-surface .topline{display:flex;align-items:center;justify-content:space-between;font-weight:800;font-size:12px;letter-spacing:.5px}.card-surface .face{display:flex;align-items:center;gap:12px}.card-surface h2{color:white;font-size:21px;margin:0 0 4px}.card-surface p{color:#e0dcff;font-size:11px;margin:0}.cardphoto{height:58px;width:58px;border-radius:15px;background:#c3b8ff;display:grid;place-items:center;color:#504183;font-weight:800;font-size:22px;overflow:hidden}.cardphoto img{width:100%;height:100%;object-fit:cover}.cardbottom{border-top:1px solid #ffffff44;padding-top:11px;font-size:11px;display:flex;justify-content:space-between;gap:8px}.tag{padding:5px 9px;background:#f1efff;color:#7164c4;border-radius:7px;font-size:10px;font-weight:800;display:inline-block}.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.contact{background:#fff;border:1px solid var(--line);border-radius:15px;padding:17px}.contact h3{margin:10px 0 3px;font-size:14px}.contact p{font-size:12px;color:var(--muted);margin:0 0 10px}.contact .avatar{width:47px;height:47px;border:0;border-radius:12px}.contact .mini{font-size:11px;color:#8b92a3;min-height:30px}.contact .foot{display:flex;justify-content:space-between;gap:6px;border-top:1px solid var(--line);padding-top:12px}.chip{font-size:10px;background:#f3f4f9;padding:5px 9px;border-radius:7px;color:#666e87}.search{width:100%;max-width:360px}.toolbar{display:flex;align-items:center;gap:10px;margin:18px 0;flex-wrap:wrap}.empty{text-align:center;color:var(--muted);padding:38px 15px;background:#fff;border:1px dashed #dcddeb;border-radius:16px}.empty h3{color:#34374b}.callout{font-size:13px;line-height:1.7;padding:16px 19px;border-radius:13px;background:#f5f3ff;border:1px solid #e3ddff}.qrbox{padding:20px;background:white;border:1px solid var(--line);border-radius:15px;display:inline-flex;flex-direction:column;align-items:center;gap:14px;max-width:100%}.qrbox canvas{width:min(260px,70vw);height:min(260px,70vw)}.scanbox{border:1px dashed #b5abe9;border-radius:15px;padding:29px;text-align:center;background:#faf9ff}.footnote{margin:16px 0;color:var(--muted);font-size:12px}.spacer{height:18px}.muted-heading{font-size:12px;color:#8a91a5;letter-spacing:.3px;margin-top:20px;margin-bottom:13px;font-weight:800;text-transform:uppercase}.mobilenav{display:none}.modal-bg{position:fixed;inset:0;background:#181b32ad;display:grid;place-items:center;padding:15px;z-index:99}.modal{width:min(100%,530px);background:#fff;border-radius:18px;padding:23px;max-height:93vh;overflow-y:auto;box-shadow:0 25px 80px #16182c48}.modal h2{margin:0 0 8px}.toast{position:fixed;bottom:30px;right:30px;padding:13px 17px;border-radius:12px;background:#272341;color:white;z-index:200;max-width:320px;font-size:13px}.hide{display:none!important}.hr{height:1px;background:var(--line);margin:17px 0}.preview-caption{text-align:center;font-size:11px;margin:14px 0 0;color:#8c91a7}
@media(max-width:1080px){.quick{grid-template-columns:repeat(2,1fr)}.contact-grid{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}.hero-art{height:115px;width:155px}}@media(max-width:760px){.app{display:block}.side{display:none}.top{height:68px;padding:0 18px}.top strong{font-size:16px}.content{padding:24px 15px 98px}.mobilenav{position:fixed;display:flex;bottom:0;left:0;right:0;justify-content:space-around;background:#fff;border-top:1px solid var(--line);padding:9px 0 max(9px,env(safe-area-inset-bottom));z-index:40}.mobilenav button{border:0;background:transparent;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;color:#7c8499;font-weight:700;min-width:54px}.mobilenav button.active{color:#6755d9}.mobilenav i{font-size:21px;font-style:normal}.hero{padding:25px;min-height:215px}.hero h1{font-size:23px}.hero-art{display:none}.stats{gap:8px}.stat{padding:16px 10px}.stat strong{font-size:24px}.stat span{font-size:10px}.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.contact{padding:13px}.contact h3{font-size:12px}.contact .foot{flex-wrap:wrap}.fieldrow{grid-template-columns:1fr}.three{grid-template-columns:1fr}.panel{padding:17px}.between{align-items:flex-start}.between h1{font-size:25px}.topright .pill{font-size:9px}.btn{white-space:normal}.qrbox{display:flex}.card-surface{height:236px}}@media(max-width:370px){.stats{grid-template-columns:repeat(2,1fr)}.stat:last-child{grid-column:1/-1}.contact-grid{grid-template-columns:1fr}}

/* Cardory version 2 enhancements */
.userpicker{max-width:205px;padding:9px 10px;font-size:12px;font-weight:700;background:#faf9ff;border:1px solid #e8e3fb}.demo-banner{display:flex;gap:12px;align-items:center;margin-bottom:18px;border:1px solid #e8e4fa;background:#f3f0ff;padding:12px 16px;border-radius:12px;font-size:12px;color:#6454a1}.demo-banner b{white-space:nowrap}.wraphead{flex-wrap:wrap}.wrapactions{flex-wrap:wrap}.swatches{display:grid;grid-template-columns:repeat(10,1fr);gap:8px}.swatch{border:2px solid #fff;outline:1px solid #d7d9e7;border-radius:11px;width:100%;aspect-ratio:1;min-height:29px;cursor:pointer}.swatch.chosen{outline:3px solid #6252cb;outline-offset:2px}.sticky-panel{position:sticky;top:20px}.contact-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sourcepill{font-size:10px;display:inline-block;padding:5px 9px;border:1px solid #e6e6ef;background:#f8f8fc;border-radius:99px;font-weight:700;color:#706a8d;white-space:nowrap}.add-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0}.add-option{position:relative;text-align:left;border:1px solid #e3e2f0;border-radius:18px;padding:23px 18px;min-height:178px;background:white;color:#272845;display:flex;flex-direction:column;align-items:flex-start;gap:11px;box-shadow:0 8px 25px #17194409}.add-option:hover{border-color:#8a7de2;transform:translateY(-2px);background:#fbfaff}.add-option b{font:800 16px Manrope,sans-serif}.add-option small{line-height:1.5;font-size:11px}.add-symbol{height:41px;width:41px;border-radius:13px;background:#f0edff;color:#6654d0;display:grid;place-items:center;font-size:26px}.add-arrow{position:absolute;right:17px;top:23px;font-size:18px;color:#9589d8}.tabstrip{display:flex;gap:7px;margin:22px 0 15px}.tabstrip button{border:1px solid #e3e0f2;border-radius:11px;background:white;color:#696581;padding:12px 17px;font-size:13px;font-weight:800}.tabstrip button.active{background:#6553d9;color:white;border-color:#6553d9}.inviterow{border-bottom:1px solid #eeeef4;padding:19px 1px;display:flex;align-items:center;justify-content:space-between;gap:15px}.inviterow:last-child{border-bottom:0}.inviterow .avatar{flex-shrink:0}.status{border-radius:99px;padding:6px 10px;font-size:11px;text-transform:capitalize;background:#f4f4f6;color:#616477;font-weight:800}.status.pending{background:#fff1d6;color:#915d21}.status.accepted{background:#def4e5;color:#287142}.status.declined,.status.cancelled{background:#ffe8e8;color:#9f3d53}.labelchips{display:flex;flex-wrap:wrap;gap:8px}.labelchips label{border:1px solid #e0e2ec;border-radius:9px;padding:8px 11px!important;margin:0!important;background:#fafafe;display:flex!important;align-items:center;gap:6px;cursor:pointer}.labelchips input{accent-color:#6754d9}.locked-fields{opacity:.77;pointer-events:none}.demo-users{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.demo-users>.flex{padding:12px;border-radius:12px;border:1px solid #ececf3;flex-wrap:wrap}.demo-users button{margin-left:auto}.navcount{font-size:10px;color:#a04d73}.topright{min-width:0}.sourcepill,.contact .foot{align-items:center}.sourcepill{overflow:hidden;max-width:100%}
@media(max-width:1070px){.add-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.swatches{grid-template-columns:repeat(8,1fr)}.demo-users{grid-template-columns:1fr}}@media(max-width:760px){.top{padding:0 14px}.top strong{font-size:13px}.topright{gap:5px}.userpicker{max-width:135px;font-size:11px;padding:7px}.topright .pill{display:none}.topright .avatar{width:32px;height:32px}.demo-banner{flex-direction:column;align-items:flex-start;gap:4px}.add-grid{gap:9px}.add-option{min-height:168px;padding:17px 14px}.add-option b{font-size:14px}.add-symbol{width:35px;height:35px}.swatches{grid-template-columns:repeat(8,1fr)}.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inviterow{flex-direction:column;align-items:flex-start}.tabstrip button{padding:10px 12px}.sticky-panel{position:static}.hero{min-height:165px}}@media(max-width:390px){.userpicker{max-width:112px}.add-grid{grid-template-columns:1fr 1fr}.contact-grid{grid-template-columns:1fr}.swatches{grid-template-columns:repeat(6,1fr)}}

/* Cardory v3 */
.location-hint{font-size:11px;line-height:1.5;color:#7b7995;grid-column:1/-1;margin-top:-4px}
.compact-add{margin:12px 0 14px;gap:10px}.compact-add .add-option{min-height:84px;padding:12px 14px;border-radius:13px;flex-direction:row;align-items:center;justify-content:flex-start;gap:11px;box-shadow:none}.compact-add .add-option b{font-size:13px;line-height:1.3}.compact-add .add-option small{font-size:10px;color:#8b90a2;display:block;margin-top:3px}.compact-add .add-option .add-symbol{width:41px;height:41px;font-size:22px;flex:none}.compact-add .add-option.is-selected{border:2px solid #7562de;background:#f6f3ff;padding:11px 13px}.add-heading h1{margin-bottom:4px}.add-heading p{margin-bottom:0;font-size:13px}.add-workspace{scroll-margin-top:14px;min-height:90px}.add-workspace h2{font-size:17px}.upload-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.upload-tile{cursor:pointer;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:122px;background:#faf9ff;border:1.5px dashed #bbb2e7;border-radius:13px;padding:14px;color:#3e3a66;font:inherit}.upload-tile:hover,.upload-tile:focus-visible{border-color:#6e56d8;background:#f0ecff}.upload-tile.highlighted{background:#f0eaff;border-style:solid}.upload-icon{font-size:27px;margin-bottom:8px}.upload-tile strong{font-size:13px}.upload-tile small{font-size:10px;line-height:1.5;margin-top:3px}.visually-hidden-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.camera-wrap{background:#1d1a30;border-radius:13px;padding:10px;margin:10px 0;text-align:center}.camera-wrap video{max-height:280px;width:100%;object-fit:contain;border-radius:10px}.camera-wrap .btn{margin-top:10px}.manual-qr{margin:15px 0;border:1px solid #e6e6ee;border-radius:11px;padding:12px 15px}.manual-qr summary{font-size:12px;font-weight:800;color:#6657ad;cursor:pointer}.manual-qr textarea{margin:12px 0}
.v3-contact .label-line{min-height:29px;display:flex;gap:4px;flex-wrap:wrap}.contact-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:18px 0 10px}.contact-action{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid #e3e2ee;background:#fff;color:#5f5790;text-decoration:none;border-radius:10px;font-size:10px;font-weight:800;min-height:49px;min-width:59px;padding:8px 9px;cursor:pointer;flex:1}.contact-action:hover{background:#f1eeff;color:#5542b6;border-color:#aaa2e2}.contact-action.chat-action{color:#6550c2;background:#f5f0ff}.contact-action.disabled{color:#b5bac7;background:#fafafe;cursor:not-allowed}.compact-actions{margin:11px 0 13px;gap:3px;flex-wrap:nowrap}.compact-actions .contact-action{min-width:0;min-height:35px;padding:7px 5px;border-radius:8px}.compact-actions .contact-action svg{width:16px;height:16px}.v3-contact .foot{align-items:center;flex-wrap:wrap}.v3-contact .foot .btn{margin-left:auto}
.detail-modal{width:min(100%,780px);max-height:92vh}.detail-head{margin-bottom:15px}.detail-head h2{margin-top:10px}.detail-card{max-width:450px;margin:0 auto}.detail-identity{text-align:center;margin:20px 0 0}.detail-identity h2{font-size:21px;margin:0 0 5px}.detail-identity p{font-size:13px;color:#777f94;margin:0}.detail-section{margin-top:16px;padding:18px 0 0;border-top:1px solid #e9eaf2}.detail-section h3{font-size:15px;margin-bottom:12px}.detail-section p{font-size:12px;line-height:1.7}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px}.detail-row{padding:7px 0;border-bottom:1px solid #f3f3f6;min-width:0}.detail-key{font-size:10px;color:#8a8da0;font-weight:800;text-transform:uppercase;letter-spacing:.3px}.detail-val{font-size:13px;word-wrap:break-word;overflow-wrap:anywhere;margin-top:4px}.detail-val a{color:#5e50c6}.detail-buttons{padding-top:18px;margin-top:8px;border-top:1px solid #ecebf4}.private-note{padding:12px;background:#f9f7ff;border:1px solid #ece7fa;border-radius:9px;margin-top:12px}
.chat-modal{width:min(100%,600px)}.chat-history{min-height:270px;max-height:48vh;overflow-y:auto;border:1px solid #e7e7ef;border-radius:12px;background:#fcfcfe;padding:12px;margin-top:17px;display:flex;flex-direction:column;gap:11px}.bubble{font-size:13px;max-width:82%;min-width:70px;padding:10px 13px;border-radius:14px;line-height:1.5}.bubble small{display:block;font-size:10px;margin-top:5px;color:#8d91a3}.bubble.theirs{background:#eeedf5;align-self:flex-start;border-bottom-left-radius:3px}.bubble.mine{background:#6553d9;color:white;align-self:flex-end;border-bottom-right-radius:3px}.bubble.mine small{color:#e2ddff}.chat-composer{display:flex;gap:8px;margin-top:12px}.chat-composer .field{min-width:0;flex:1}
@media(max-width:1000px){.compact-add{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.compact-add{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.compact-add .add-option{min-height:74px;padding:9px 8px;gap:8px}.compact-add .add-option.is-selected{padding:8px 7px}.compact-add .add-option .add-symbol{width:32px;height:32px;font-size:19px}.compact-add .add-option b{font-size:12px}.compact-add .add-option small{font-size:9px}.add-workspace{padding:14px}.add-heading h1{font-size:24px}.upload-choices{gap:7px}.upload-tile{padding:10px 5px;min-height:100px}.upload-tile strong{font-size:11px}.upload-tile small{font-size:9px}.upload-icon{font-size:23px}.detail-grid{grid-template-columns:1fr}.detail-modal{padding:16px}.detail-modal .card-surface{height:225px}.detail-modal .contact-action{min-width:0;padding:7px 4px;font-size:9px}.v3-contact .contact-actions{gap:3px}.contact-action{min-width:0}}
@media(max-width:370px){.upload-choices{grid-template-columns:1fr 1fr}.upload-tile{min-height:88px}.upload-choices .upload-tile:last-of-type{grid-column:1/-1}}


/* Keep camera/upload labels as actual tiles, not the generic panel label styling. */
.panel label.upload-tile{display:flex;align-items:center;justify-content:center;margin:0;text-align:center;font-size:13px;font-weight:600}
.panel label.upload-tile strong{font-weight:800}
.upload-tile .upload-icon{display:block;line-height:1}
@media(max-width:760px){.panel label.upload-tile{font-size:11px}.upload-tile small{font-weight:500}}
/* Cardory version 4: multi-value editor and saved-card flip */
.multi-group,.custom-fields{background:#fafaff;border:1px solid #e9e6f6;border-radius:15px;padding:16px;margin-top:16px}
.multi-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.multi-heading h3{margin:0 0 5px;font-size:14px;color:#262a42;letter-spacing:-.2px}
.multi-heading p{color:#7e8397;font-weight:400;font-size:11px;margin:0;line-height:1.5}
.multi-heading .btn{flex-shrink:0;background:#f0edff;color:#5b4bbd;border-color:#e6e0ff}
.multi-entry,.custom-entry{display:grid;grid-template-columns:minmax(100px,.75fr) minmax(150px,1.6fr) auto;gap:9px;align-items:end;margin-bottom:10px}
.multi-entry:last-child,.custom-entry:last-child{margin-bottom:0}
.multi-entry>div,.custom-entry>div{min-width:0}
.panel label.mini-field-label,.modal label.mini-field-label{margin:0 0 6px;color:#83869b;font-size:11px;letter-spacing:.1px;font-weight:700}
.multi-entry .field,.custom-entry .field{width:100%;padding:10px 11px;font-size:12px;min-width:0}
.multi-primary{font-size:10px;color:#7a729e;background:#eeecfa;border-radius:7px;padding:10px 7px;text-align:center;min-width:55px}
.multi-remove{align-self:end;display:grid;place-items:center;height:39px;width:39px;background:#fff4f5;border:1px solid #f2dfe2;border-radius:9px;color:#bc6176;font-size:14px;flex-shrink:0}
.multi-remove:hover{background:#f9e6e8}
.custom-hint{font-size:11px;color:#8f8ca0;margin:10px 0 0}
.saved-card-stage{margin:14px auto 10px;max-width:500px}
.saved-stage-heading,.saved-flip-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 11px;font-size:11px;font-weight:700;color:#77718e}
.side-indicator{font-size:11px;color:#5c4cbd;background:#efedff;border-radius:8px;padding:5px 9px;white-space:nowrap}
.saved-flip-trigger{perspective:1200px;display:block;padding:0;border:0;background:none;width:100%;height:290px;cursor:pointer;text-align:left;outline-offset:5px;border-radius:17px;touch-action:manipulation}
.saved-flip-inner{width:100%;height:100%;position:relative;display:block;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.2,.72,.15,1)}
.saved-flip-trigger.flipped .saved-flip-inner{transform:rotateY(180deg)}
.saved-flip-side{position:absolute;inset:0;display:block;backface-visibility:hidden;-webkit-backface-visibility:hidden}
.saved-flip-side.saved-back{transform:rotateY(180deg)}
.saved-flip-side .card-surface{height:100%;width:100%;padding:24px;border-radius:17px}
.saved-flip-side .cardphoto{height:91px;width:91px;border-radius:19px;font-size:31px;flex-shrink:0}
.saved-flip-side .card-surface h2{font-size:22px;overflow-wrap:anywhere}
.saved-flip-side .card-surface p{font-size:12px}
.saved-flip-side .card-surface .cardbottom span{overflow:hidden;text-overflow:ellipsis;max-width:49%;white-space:nowrap}
.saved-flip-footer{justify-content:center;gap:14px;margin:14px 0 18px}
.saved-flip-footer small{font-size:11px}
.detail-person-identity{display:flex;align-items:center;gap:19px;margin:22px 0 10px;padding:16px 20px;border-radius:16px;background:#fafafe;border:1px solid #f0eef9}
.detail-person-identity>div:last-child{flex:1;min-width:0}
.detail-person-identity h2{font-size:23px;margin:0 0 6px;overflow-wrap:anywhere}
.detail-person-identity p{font-size:13px;color:#777f90;margin:0 0 10px}
.detail-person-photo-wrap{text-align:center;flex-shrink:0}
.detail-person-photo{display:grid;place-items:center;width:124px;height:124px;object-fit:cover;border-radius:20px;border:4px solid white;box-shadow:0 5px 21px #16143b20}
.portrait-button{background:none;border:0;padding:0;position:relative;display:block;border-radius:20px}
.portrait-button span{position:absolute;bottom:5px;left:7px;right:7px;color:white;background:#1c1b3388;padding:3px 4px;border-radius:6px;font-size:10px}
.initial-portrait{font-size:39px;font-weight:800;background:#e5defd;color:#6252b2}
.portrait-subtitle{font-size:10px;color:#8f8b9b;margin-top:7px}
.detail-modal.v4-modal{width:min(100%,780px)}
.portrait-zoom{position:fixed;inset:0;background:#111328eb;z-index:500;display:grid;place-items:center;padding:25px}
.portrait-zoom img{max-width:min(95vw,750px);max-height:80vh;object-fit:contain;border-radius:17px}
.portrait-zoom button{position:absolute;right:22px;top:22px;padding:10px 17px;border:1px solid #ffffff55;background:#fff;color:#1f2042;border-radius:9px}
@media(max-width:760px){.multi-heading{align-items:flex-start}.multi-heading h3{font-size:13px}.multi-heading p{max-width:200px}.multi-group,.custom-fields{padding:12px;margin-top:13px}.multi-entry,.custom-entry{grid-template-columns:minmax(75px,.87fr) minmax(105px,1.4fr) 34px;gap:6px}.multi-entry .field,.custom-entry .field{padding:10px 8px;font-size:12px}.multi-primary{font-size:9px;min-width:0;padding:11px 2px}.multi-remove{width:34px;height:39px}.saved-flip-trigger{height:256px}.saved-flip-side .card-surface{padding:18px}.saved-flip-side .cardphoto{height:75px;width:75px;font-size:24px}.saved-flip-side .card-surface h2{font-size:19px}.saved-flip-side .card-surface .topline{font-size:10px}.saved-flip-side .cardbottom{font-size:10px}.detail-person-identity{padding:12px;gap:12px}.detail-person-photo{width:90px;height:90px;border-radius:14px}.detail-person-identity h2{font-size:18px}.detail-person-identity p{font-size:12px}.saved-stage-heading{font-size:10px}}
@media(max-width:350px){.saved-flip-trigger{height:242px}.saved-flip-side .cardphoto{height:66px;width:66px}.detail-person-photo{width:76px;height:76px}.multi-heading .btn{padding:8px 7px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.saved-flip-inner{transition:none}}
/* Cardory V5: photograph cropper and OCR review. */
.v5-ocr-title{align-items:flex-start}.v5-ocr-title h2{font-size:20px;margin-bottom:4px}.v5-ocr-title p{font-size:12px;margin:0}
.v5-ocr-steps{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0 17px}.v5-ocr-steps span{font-size:11px;font-weight:700;background:#f1eeff;color:#6553bd;border-radius:18px;padding:7px 10px}
.v5-ocr-source{padding:16px;border:1px solid #ebe8f5;border-radius:15px;background:#fdfcff}.v5-ocr-source h3{font-size:14px;margin-bottom:11px}
.v5-ocr-back{margin-top:14px;padding:13px 16px;border:1px solid #e7e9f1;border-radius:12px}.v5-ocr-back summary{cursor:pointer;font-size:13px;font-weight:700;color:#5d4bcc}.v5-ocr-back p{font-size:12px;margin-top:8px}
.v5-ocr-back .upload-tile{min-height:79px}.v5-ocr-back .upload-choices{grid-template-columns:1fr 1fr}
.v5-crop-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin:14px 0 9px}.v5-crop-head b{font-size:12px}.v5-crop-head span{font-size:11px;color:#7368b9}
.v5-crop-frame{max-width:520px;margin:auto;text-align:center;background:#131726;border-radius:13px;overflow:hidden;padding:6px}
.v5-crop-frame canvas{display:block;max-width:100%;max-height:340px;width:auto;height:auto;margin:0 auto;touch-action:none;cursor:crosshair;border-radius:8px}
.v5-crop-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}.v5-crop-actions small{font-size:11px}
.v5-ocr-readrow{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:17px 0 7px}.v5-ocr-readrow small{font-size:11px;line-height:1.5;max-width:390px}.v5-ocr-readrow button:disabled{opacity:.5;cursor:not-allowed}
.v5-ocr-review{border:1px solid #dcd8f1;border-radius:15px;padding:18px;margin-top:18px;background:#fff}.v5-ocr-review h3{font-size:17px;margin:0 0 5px}.v5-ocr-review .muted{font-size:11px;margin:0}
.v5-ocr-confidence{background:#f6ebd8;color:#855f20;border-radius:18px;padding:6px 9px;font-size:10px;font-weight:800}.v5-ocr-confidence.is-low{background:#fff0f0;color:#b74a50}
.v5-ocr-alert{border:1px solid #f4dda8;background:#fff9eb;color:#8f6525;padding:12px;border-radius:9px;font-size:12px;margin:13px 0}
.v5-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:16px 0}.v5-reviewfield{min-width:0;border-bottom:1px solid #efedf5;padding:0 0 8px}.v5-reviewfield span{font-size:10px;color:#88869b;display:block;margin-bottom:4px;text-transform:uppercase;letter-spacing:.4px}.v5-reviewfield b{font-size:12px;color:#2e2a43;font-weight:600;overflow-wrap:anywhere}
.v5-ocr-review label{font-size:12px;margin:12px 0 7px;display:block}.v5-ocr-raw{min-height:170px;line-height:1.5;font-family:ui-monospace,Consolas,monospace;font-size:11px!important}
.v5-ocr-review-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}
@media(max-width:760px){.v5-review-grid{grid-template-columns:1fr}.v5-ocr-source{padding:12px}.v5-ocr-review{padding:13px}.v5-ocr-title .tag{display:none}.v5-ocr-steps{gap:5px}.v5-ocr-steps span{font-size:10px;padding:6px 8px}.v5-ocr-readrow .btn{width:100%;justify-content:center}.v5-ocr-back{padding:12px}.v5-ocr-review-actions .btn{flex:1}}

.v5-ocr-evidence{margin:12px 0;padding:12px;border:1px solid #e7e2f3;background:#fcfbff;border-radius:12px}
.v5-ocr-evidence summary{font-size:12px;font-weight:800;cursor:pointer;color:#5f52b7;margin:0 0 10px}
.v5-ocr-evidence-gallery{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.v5-ocr-evidence-gallery>div{max-width:min(100%,365px);flex:1 1 180px}.v5-ocr-evidence-gallery span{font-size:10px;color:#6c6683;display:block;margin:0 0 6px}
.v5-ocr-evidence-gallery img{display:block;max-width:100%;max-height:220px;width:auto;height:auto;object-fit:contain;border-radius:8px;border:1px solid #ddd9eb}
.v5-keep-photo{display:flex!important;align-items:center!important;gap:8px!important;font-size:12px!important;font-weight:600!important;color:#44415b!important;margin:12px 0 4px!important}
.v5-keep-photo input{accent-color:#6553d9;width:16px;height:16px}

/* Cardory v6 styles: intentional mobile vertical rhythm and compact sharing */
.v6-card-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.v6-card-actions .btn{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;min-height:39px}
.v6-location{display:block;min-width:0;margin:20px 0 23px;border:1px solid #e9e6f5;border-radius:17px;padding:18px;background:linear-gradient(180deg,#faf9ff,#fff)}
.v6-section-heading{font-size:15px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px;color:#2f2d4d}
.v6-section-heading span{font-size:10px;font-weight:700;letter-spacing:.3px;padding:6px 9px;border-radius:9px;background:#f0ecfd;color:#6754ae}
.v6-location .loc-field{margin:0 0 17px}
.v6-location .loc-field>label,.v6-location .v6-loc-row>div>label{display:block;font-size:12px;font-weight:800;color:#50556a;margin:0 0 9px!important;line-height:1.5}
.v6-location .field{min-height:45px;background:#fff}
.v6-location .v6-loc-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 17px}
.v6-location .v6-loc-row>div{min-width:0}
.v6-location-tools{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0 8px}
.v6-location-tools .btn{background:#f2efff;color:#6053b3;border-color:#e7e2fa}
.v6-location .location-hint{display:block;font-size:11px;line-height:1.7;color:#77768d;margin:11px 0 0;padding:10px 11px;border:1px solid #ebe8f3;background:#fff;border-radius:10px}
.v6-city-options{padding:11px;margin-top:11px;border:1px solid #e8e3fc;border-radius:10px;background:#f6f3ff}
.v6-city-options label{margin:0 0 7px!important}
.v6-private-photo{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:10px;max-width:195px}
.v6-private-photo .btn{font-size:11px;padding:7px 10px}
.v6-private-photo small{font-size:9px;line-height:1.5;color:#79788c;max-width:190px}
.v6-contact-photo-btn{display:block;max-width:max-content;margin:8px 0 0;border:1px solid #e7e2f4;background:#faf8ff;color:#6858b1;padding:6px 9px;border-radius:8px;font-size:10px;font-weight:750}
.v6-contact-photo-btn:hover{background:#eeebff}
.detail-person-photo img{display:block;object-fit:cover}
@media(max-width:760px){
 .v6-card-actions{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .v6-card-actions .btn{min-width:0;padding:10px 5px;font-size:10.5px;white-space:nowrap}
 .v6-location{margin:19px 0 22px;padding:15px 13px}
 .v6-location .v6-loc-row{grid-template-columns:1fr;gap:18px;margin-bottom:18px}
 .v6-location .loc-field{margin-bottom:18px}
 .v6-location .v6-loc-row>div{margin:0;display:block}
 .v6-location .v6-loc-row>div>label,.v6-location .loc-field>label{margin-bottom:10px!important;margin-top:0!important;line-height:1.5}
 .v6-location .v6-loc-row .field{margin:0}
 .v6-location-tools{gap:7px}
 .v6-location-tools .btn{flex:1;min-width:0;font-size:11px}
 .detail-person-identity{align-items:flex-start;flex-direction:column}
 .detail-person-photo-wrap{width:100%;margin:0 auto}
 .detail-person-photo,.detail-person-photo.initial-portrait{width:134px;height:134px;margin:auto}
 .detail-person-photo .portrait-button{width:100%}
 .portrait-button{margin:auto}
 .detail-person-identity>div:last-child{width:100%;text-align:center}
 .v6-private-photo{max-width:240px;margin:10px auto}
}
@media(max-width:360px){.v6-card-actions .btn{font-size:9.6px}}


/* Cardory V7 uniform contact, address, business, dates and notes forms. */
.cardory-identity-top{border:1px solid #eceaf3;background:linear-gradient(150deg,#fbfaff,#fff);border-radius:15px;padding:18px 17px;margin:10px 0 16px;min-width:0}
.cardory-identity-caption{font-size:10px!important;font-weight:850;letter-spacing:1.05px;color:#8579b1;margin:0 0 10px!important}
.cardory-topic{border:1px solid #e9e8f1;background:#fff;border-radius:16px;padding:18px 17px;margin:15px 0;min-width:0}
.cardory-topic-head{display:flex;align-items:center;gap:11px;padding:0 0 13px;margin:0 0 10px;border-bottom:1px solid #efedf5}
.cardory-topic-head h3{font-size:16px;letter-spacing:-.3px;margin:0;color:#25253c;font-weight:850}
.cardory-topic-head p{font-size:11px;color:#86899b;margin:3px 0 0;line-height:1.5}
.cardory-topic-icon{border:1px solid #e8e2fb;border-radius:10px;background:#f5f1ff;color:#6554b4;min-width:34px;width:34px;height:34px;display:inline-grid;place-items:center;font-size:18px;font-weight:700;flex-shrink:0}
.cardory-topic-body{min-width:0}
.cardory-topic-body>div{margin-bottom:13px}.cardory-topic-body>div:last-child{margin-bottom:0}
.cardory-topic-body .v6-location{padding:0;margin:14px 0 0;border:0;background:transparent;border-radius:0}
.cardory-topic-body .v6-location .loc-field{margin-bottom:17px}
.cardory-topic-body .fieldrow>div{min-width:0}
.cardory-topic-body label{margin-top:9px!important;margin-bottom:7px!important}
.cardory-topic-body .multi-group{margin:12px 0;padding:14px}
.cardory-topic-body .multi-group .multi-heading{gap:7px}
.cardory-topic-body .multi-group .multi-heading h3{font-size:13px}
.cardory-topic-body .multi-group .multi-heading p{font-size:10px}
.cardory-topic-body .multi-group .multi-heading .btn{white-space:nowrap}
.cardory-date-multi{padding:14px;border:1px solid #eceaf6;border-radius:12px;background:#fcfbff;margin-top:12px}
.cardory-date-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.cardory-date-top b{font-size:13px;color:#2d2c43}.cardory-date-top p{font-size:11px;color:#8c8da0;margin:4px 0}
.cardory-important-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;gap:9px;align-items:end;margin-top:11px}
.cardory-important-row>div{min-width:0}.cardory-important-row label{font-size:10px!important;margin:0 0 6px!important;display:block}
.cardory-important-row .field{font-size:12px;min-width:0}
.cardory-important-row .multi-remove{margin-bottom:0}
.cardory-date-empty{color:#9b97a9;font-size:11px;margin:14px 0 0}
.cardory-labels-inline{border-top:1px solid #f0eef7;margin-top:15px;padding-top:11px}
.cardory-labels-inline>label{display:block;margin:8px 0!important}
.cardory-labels-inline .labelchips{display:flex;flex-wrap:wrap;gap:5px}
.cardory-detail-topics{margin:16px 0 18px}
.cardory-detail-topic{border-top:1px solid #ebeaf2;padding:21px 0 0;margin-top:17px}
.cardory-detail-topic h3{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:850;color:#25253c;margin:0 0 13px}
.cardory-detail-topic .cardory-topic-icon{width:30px;min-width:30px;height:30px;font-size:16px}
.cardory-read-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.cardory-read-row{padding:10px 1px 12px;border-bottom:1px solid #efedf5;min-width:0}
.cardory-read-label{color:#85899b;font-size:10px;text-transform:uppercase;letter-spacing:.5px;font-weight:850}
.cardory-read-value{color:#26283c;font-size:13px;line-height:1.65;overflow-wrap:anywhere;margin-top:5px;white-space:pre-wrap}
.cardory-read-value a{color:#5e50c6;text-decoration:underline;text-underline-offset:3px}
.cardory-not-added{color:#a2a4b1;font-style:italic;font-size:12px}
.cardory-label-detail{padding:12px 0;display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.cardory-label-detail>b{font-size:11px;color:#85899b}
.cardory-read-labels{display:flex;gap:6px;flex-wrap:wrap}
.cardory-private-hint{font-size:11px;color:#868a9a;margin:6px 0 10px}
@media(max-width:760px){
 .cardory-identity-top{padding:12px;margin:8px 0 12px}
 .cardory-topic{padding:13px 12px;margin:12px 0;border-radius:14px}
 .cardory-topic-head{gap:9px;padding-bottom:12px;margin-bottom:9px}
 .cardory-topic-head h3{font-size:15px}
 .cardory-topic-head p{font-size:10px}
 .cardory-topic-icon{width:31px;min-width:31px;height:31px;font-size:16px}
 .cardory-topic .fieldrow{display:grid;grid-template-columns:1fr;gap:0}
 .cardory-topic .v6-location .v6-loc-row{display:grid;grid-template-columns:1fr;gap:15px}
 .cardory-date-multi{padding:11px}
 .cardory-important-row{grid-template-columns:minmax(0,1fr) 34px;gap:8px}
 .cardory-important-name{grid-column:1 / 2;grid-row:1}
 .cardory-important-date{grid-column:1 / 2;grid-row:2}
 .cardory-important-row .multi-remove{grid-column:2;grid-row:2;align-self:end}
 .cardory-read-body{grid-template-columns:1fr}
 .cardory-detail-topic{margin-top:12px;padding-top:17px}
 .cardory-identity-top>.fieldrow{display:grid;grid-template-columns:1fr;gap:0}
}

/* Cardory V8: actionable overview + polished contact tiles */
.v8-stat-link{cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;color:inherit;position:relative;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.v8-stat-link:hover,.v8-stat-link:focus-visible{border-color:#bcb0f4;box-shadow:0 8px 25px #6651ce15;transform:translateY(-1px)}
.v8-stat-link .v8-stat-arrow{position:absolute;right:15px;top:16px;color:#836ce8;font-size:20px}
.v8-stat-link .v8-stat-icon{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:11px;margin-bottom:11px;color:#6651d2;background:#f0ecff}
.v8-stat-link strong{font-weight:800}
.v8-stat-link span:not(.v8-stat-icon):not(.v8-stat-arrow){font-weight:600}
.v8-analytics{margin-top:26px}
.v8-analytics-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.v8-analytics-head h2{margin:0 0 4px;font-size:21px}
.v8-analytics-head p{margin:0;font-size:12px;color:#85849a}
.v8-analytics-pill{font-size:11px;color:#6352bc;background:#eeeaff;border:1px solid #e5e0ff;padding:7px 11px;border-radius:99px;font-weight:800;white-space:nowrap}
.v8-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.v8-chart{border:1px solid #e9e6f3;background:linear-gradient(150deg,#fff 72%,#fcfbff);border-radius:20px;padding:19px;min-width:0;box-shadow:0 10px 32px #211d3a06}
.v8-chart-top{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.v8-chart-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:#f0ecff;color:#654ac8;flex-shrink:0}
.v8-chart-top h3{margin:0 0 3px;font-size:15px;letter-spacing:-.25px}
.v8-chart-top p{margin:0;color:#85849a;font-size:11px;line-height:1.4}
.v8-chart-bars{display:flex;flex-direction:column;gap:10px}
.v8-chart-row{width:100%;min-width:0;display:block;text-align:left;padding:5px 7px;margin:0 -7px;border:0;border-radius:10px;background:transparent;color:inherit}
.v8-chart-row:hover,.v8-chart-row:focus-visible{background:#f7f4ff}
.v8-chart-row:disabled{cursor:default;opacity:.55}
.v8-chart-row:disabled:hover{background:transparent}
.v8-bar-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:5px;font-size:11px}
.v8-bar-name{font-weight:700;color:#424056;max-width:85%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v8-bar-count{font-variant-numeric:tabular-nums;font-size:11px;font-weight:800;color:#6550cc}
.v8-bar-track{background:#f0eef6;border-radius:99px;height:8px;overflow:hidden;display:block}
.v8-bar-fill{background:linear-gradient(90deg,#b9a8f6,#7654da);border-radius:99px;height:100%;display:block;min-width:0;transition:width .2s}
.v8-chart-empty{font-size:12px;color:#8d8899;padding:15px 0}
.v8-chart-more{border:none;background:transparent;color:#6550bb;padding:8px 0 0;font-size:11px;font-weight:800}
.v8-chart-more:hover{text-decoration:underline}
.v8-filterextra{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:-4px 0 17px}
.v8-filterextra select{min-width:145px;max-width:200px;flex:1;min-height:42px}
.v8-fav-toggle,.v8-clear{border:1px solid #e3ddf4;border-radius:11px;background:#fff;color:#6450ba;padding:11px 14px;font-size:12px;font-weight:800;white-space:nowrap;min-height:42px}
.v8-fav-toggle.active{background:#684dd1;color:#fff;border-color:#684dd1}
.v8-clear:hover{background:#f4f0ff}
.v8-applied{padding:11px 13px;color:#6756ac;background:#f8f6ff;border:1px solid #e8e2f9;border-radius:10px;font-size:12px;margin-bottom:13px}
.v8-pending-filter{display:flex;gap:8px;align-items:center;margin:-4px 0 16px;flex-wrap:wrap}
.v8-pending-filter button{border:1px solid #e6e0f5;border-radius:10px;padding:10px 13px;background:white;color:#5f56a0;font-size:12px;font-weight:800}
.v8-pending-filter button.active{background:#6851d4;color:white}
.v8-pending-empty{text-align:center;font-size:13px;color:#88849a;padding:25px 10px}
/* Consistent full-width layout inspired by the supplied mobile example */
.contact-grid.v8-saved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.contact.v8-saved-tile{padding:21px;border-radius:23px;min-width:0;border:1px solid #eae7f3;box-shadow:0 9px 24px #2a225010;background:#fff;display:flex;flex-direction:column;gap:0}
.v8-tile-main{display:grid;grid-template-columns:72px minmax(0,1fr) 42px;gap:13px;align-items:start;min-width:0}
.v8-tile-photo{display:grid;place-items:center;min-width:0}
.v8-tile-photo .avatar{height:70px!important;width:70px!important;border-radius:16px!important;flex-shrink:0;border:3px solid #fff!important;box-shadow:0 6px 17px #2e206d10;font-size:23px;overflow:hidden}
.v8-tile-identity{min-width:0}
.v8-tile-identity h3{font-size:18px;line-height:1.3;letter-spacing:-.35px;margin:2px 0 5px;color:#222038;font-weight:850;overflow-wrap:anywhere}
.v8-tile-identity .v8-subline{font-size:12px;line-height:1.45;color:#69647a;white-space:normal;margin:0}
.v8-tile-location{display:flex;align-items:center;gap:6px;margin:9px 0 0;font-size:11px;color:#777085;min-width:0;overflow-wrap:anywhere}
.v8-tile-location svg{flex-shrink:0;color:#8256d4}
.v8-star{border:1px solid #e7e1f1;border-radius:13px;background:#fbfaff;color:#6d568f;width:41px;height:41px;display:grid;place-items:center;transition:.15s}
.v8-star.active{color:#7953df;background:#f0eaff}
.v8-star:hover{background:#eee8ff}
.v8-labels{display:flex;gap:7px;flex-wrap:wrap;min-height:28px;margin-top:15px;margin-bottom:10px}
.v8-label{display:inline-flex;align-items:center;gap:7px;border-radius:99px;padding:7px 11px;background:#f1edff;color:#5c3e9d;font-size:11px;font-weight:800;max-width:100%}
.v8-label svg{flex-shrink:0}
.v8-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.v8-unlabelled{background:#f6f5f9;color:#7c7991}
.v8-saved-tile .contact-actions.compact-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;flex-wrap:nowrap;margin:9px 0 16px;min-width:0}
.v8-saved-tile .compact-actions .contact-action{background:#f4f0ff;color:#583c99;border:1px solid #f1ecff;border-radius:13px;min-width:0;padding:12px 0;height:54px;min-height:54px;display:flex;align-items:center;justify-content:center}
.v8-saved-tile .compact-actions .contact-action:hover{background:#e9e1ff;color:#5434c0}
.v8-saved-tile .compact-actions .contact-action.disabled{background:#f7f6fa;color:#bbb3c6;border:1px solid #f5f3f8}
.v8-saved-tile .compact-actions .contact-action svg{width:23px;height:23px}
.v8-tile-footer{margin-top:auto;border-top:1px solid #eeedf3;padding-top:16px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px}
.v8-footer-tags{display:flex;gap:6px;align-items:center;flex-wrap:wrap;min-width:0}
.v8-tile-source{border-radius:10px;background:#f5f3fb;padding:8px 9px;display:inline-flex;align-items:center;gap:6px;color:#6c6384;font-size:11px;font-weight:750;text-transform:capitalize}
.v8-tile-source svg{flex-shrink:0}
.v8-photo-btn{border:0;background:#f1ebff;color:#5a3aab;font-size:11px;font-weight:800;border-radius:10px;padding:8px 10px;display:inline-flex;align-items:center;gap:6px}
.v8-photo-btn:hover{background:#eae0ff}
.v8-open{border:0;border-radius:12px;color:#fff;background:linear-gradient(135deg,#a44fe7,#5638be);font-size:12px;font-weight:800;padding:12px 15px;white-space:nowrap;box-shadow:0 6px 15px #7243c23d;display:inline-flex;align-items:center;gap:7px;margin-left:auto}
.v8-open:hover{filter:brightness(.96)}
.v8-resultmeta{font-size:12px;color:#87839b}
@media(max-width:1180px){.contact-grid.v8-saved-grid{grid-template-columns:1fr}.v8-charts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.stats .stat.v8-stat-link{padding:13px 10px;min-height:105px}.v8-stat-link .v8-stat-icon{width:30px;height:30px;margin-bottom:7px}.v8-stat-link .v8-stat-arrow{right:8px;top:8px;font-size:15px}.v8-analytics-head h2{font-size:19px}.v8-charts{grid-template-columns:1fr;gap:11px}.v8-chart{padding:16px}.contact-grid.v8-saved-grid{grid-template-columns:1fr;gap:13px}.contact.v8-saved-tile{border-radius:20px;padding:16px}.v8-tile-main{grid-template-columns:64px minmax(0,1fr) 39px;gap:10px}.v8-tile-photo .avatar{width:62px!important;height:62px!important;border-radius:15px!important}.v8-tile-identity h3{font-size:16px;margin-top:1px}.v8-tile-identity .v8-subline{font-size:11px}.v8-tile-location{font-size:10px}.v8-star{width:38px;height:38px}.v8-saved-tile .contact-actions.compact-actions{gap:7px}.v8-saved-tile .compact-actions .contact-action{height:49px;min-height:49px;border-radius:12px}.v8-saved-tile .compact-actions .contact-action svg{width:21px;height:21px}.v8-open{padding:11px 13px}.v8-labels{margin-top:11px}.v8-filterextra{gap:7px}.v8-filterextra select{min-width:130px;max-width:none;flex:1}.v8-resultmeta{font-size:11px}}
@media(max-width:365px){.v8-tile-main{grid-template-columns:53px minmax(0,1fr) 33px;gap:7px}.v8-tile-photo .avatar{height:53px!important;width:53px!important}.v8-tile-identity h3{font-size:14px}.v8-star{height:33px;width:33px}.v8-open{font-size:11px}.v8-photo-btn{font-size:10px}.contact.v8-saved-tile{padding:12px}}
/* Mobile-first: show the contact cards rather than an entire screen of filters. */
.v8-saved-tools{display:none}
.v8-saved-tools .v8-filters-button{border:1px solid #e6dff7;border-radius:12px;background:#f6f3ff;color:#6045b4;padding:10px 13px;display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:800}
.v8-saved-tools .v8-filters-button[aria-expanded=true]{background:#6850cb;color:#fff}
.v8-saved-tools .v8-filters-hint{color:#86829a;font-size:11px}
.v8-applied{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.v8-applied .btn{padding:7px 10px;background:#fff;border:1px solid #e8dcfc;color:#6750b6}
@media(max-width:760px){
 #contacts .toolbar{gap:8px;margin:12px 0 8px}
 #contacts .toolbar #query{max-width:none;width:100%}
 #contacts:not(.v8-filters-open) .toolbar select,#contacts:not(.v8-filters-open) .v8-filterextra{display:none}
 #contacts .v8-saved-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 11px}
 #contacts.v8-filters-open .toolbar select{flex:1;min-width:130px;max-width:none!important}
 #contacts .v8-filterextra{padding:8px 0 6px;margin:0 0 9px}
 #contacts .v8-saved-tools .v8-filters-hint{flex:1;text-align:right}
}

/* Cardory V9 Revised Plus */
.v92-settings-shortcut{border:1px solid var(--line);background:var(--white);border-radius:12px;padding:8px 11px;font-size:20px;color:#6751c9;cursor:pointer}
.v92-settings-areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
.v92-settings-areas .panel{min-width:0}.v92-settings-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.v92-settings-actions .btn{white-space:normal;text-align:left}.v92-social-list{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 0}
.v92-social{width:39px;height:39px;border:1px solid #dbd7f4;background:#f5f2ff;color:#5744b5;border-radius:12px;font-weight:800;font-size:18px;display:grid;place-items:center;cursor:pointer}
.v92-social:hover,.v92-social:focus-visible{border-color:#8571e6;background:#ece6ff}.v92-social-empty{opacity:.4;filter:grayscale(.75)}.v92-tile-social{border-top:1px solid #efedf8;margin-top:7px}.v92-tile-social .v92-social-list{justify-content:center}
.v92-business-assets{box-shadow:none!important;border:1px solid #e9e4fa!important;background:#fbfaff!important;padding:15px!important;border-radius:14px!important;margin:12px 0!important}
.v92-business-assets h3{margin:14px 0 9px}.v92-business-assets h3:first-child{margin-top:0}
.v92-chat-app{display:grid;grid-template-columns:280px minmax(0,1fr);gap:0;min-height:460px;border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden}
.v92-chat-threads{border-right:1px solid var(--line);padding:17px;overflow:auto;max-height:66vh}.v92-chat-threads h2{font-size:16px}.v92-thread{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid transparent;border-radius:13px;padding:12px;background:transparent;margin:3px 0;color:var(--ink)}
.v92-thread.active{border-color:#cec6f9;background:#f2efff}.v92-thread>span:nth-of-type(2){min-width:0;flex:1}.v92-thread b{display:block;font-size:13px}.v92-thread small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v92-thread .avatar{flex:none}.v92-unread{background:#6250d3;color:#fff;border-radius:40px;font-weight:700;font-size:12px;min-width:22px;padding:3px 5px;text-align:center}
.v92-thread-panel{display:flex;flex-direction:column;min-width:0;min-height:460px}.v92-chat-who{padding:15px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line)}.v92-chat-who b,.v92-chat-who small{display:block}
.v92-conversation{overflow-y:auto;flex:1;padding:18px;min-height:250px;max-height:60vh;background:#fdfcff}.v92-conversation .bubble{max-width:72%;margin:8px 0}.v92-conversation .bubble.mine{margin-left:auto}.v92-composer{display:flex;gap:9px;padding:14px;border-top:1px solid var(--line)}
.v92-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.v92-plans-modal{max-width:1050px!important}.v92-plan{border:1px solid #e6e2f4;border-radius:18px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:10px}.v92-plan.selected{border:2px solid #745bdc;background:#fbf9ff}.v92-plan h3{margin:0}.v92-plan-price{font-size:29px;font-weight:800;color:#4b378e}.v92-plan-price small{font-size:12px}.v92-plan ul{padding-left:19px;margin:0 0 auto;line-height:1.9;font-size:12px}.v92-plan .btn{margin-top:12px}.v92-policy-copy p{line-height:1.75}.v92-policy-copy{font-size:14px}
.v92-demo-code{margin:16px 0;padding:18px;background:#f0ebff;border:1px solid #ddd5fa;border-radius:15px}.v92-demo-code strong{font-size:30px;letter-spacing:3px;color:#4d3ba2}.v92-demo-code p{margin:8px 0 0;font-size:12px}.v92-auth form{display:grid;gap:12px;margin:15px 0}.v92-invite-options{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
@media(max-width:1100px){.v92-settings-areas{grid-template-columns:1fr 1fr}}
@media(max-width:750px){.v92-settings-areas{grid-template-columns:1fr}.v92-plan-grid{grid-template-columns:1fr}.v92-chat-app{grid-template-columns:1fr;min-height:0}.v92-chat-threads{max-height:200px;border-right:none;border-bottom:1px solid var(--line)}.v92-thread-panel{min-height:360px}.v92-conversation{max-height:40vh;min-height:190px}.mobilenav{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:0!important}.mobilenav button{font-size:9px!important;padding:8px 0 5px!important;min-width:0!important;line-height:1.15}.mobilenav i{font-size:18px!important}.v92-settings-shortcut{padding:7px 9px}.v92-chat-threads{padding:11px}}
.v92-policy-footer{display:flex;gap:13px;flex-wrap:wrap;align-items:center;padding:20px 0 100px;color:#8c89a2;font-size:12px}.v92-policy-footer button{border:0;background:none;color:#6250bd;text-decoration:underline;cursor:pointer;font-size:12px}
/*====*/

/* Cardory V9: read-first My Card and vCard export controls */
#topavatar.v9-top-avatar{appearance:none;cursor:pointer;padding:0;outline-offset:3px;flex-shrink:0;box-shadow:0 0 0 2px rgba(103,81,201,.13);transition:box-shadow .18s,transform .18s}
#topavatar.v9-top-avatar:hover{box-shadow:0 0 0 4px rgba(103,81,201,.20);transform:translateY(-1px)}
#topavatar.v9-top-avatar:focus-visible{outline:3px solid #6852d1}
.v9-mycard-head .wrapactions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.v9-mycard-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:start;gap:22px;margin-top:18px}
.v9-primary-card,.v9-profile-details{min-width:0;padding:22px}
.v9-profile-summary{display:flex;gap:16px;align-items:center;padding:8px 0 21px}
.v9-profile-image{width:90px;height:90px;display:grid;place-items:center;flex-shrink:0;border-radius:22px;background:#eee9ff;overflow:hidden;box-shadow:0 7px 20px #2e22521a}
.v9-full-photo{width:100%;height:100%;object-fit:cover}
.v9-full-initials{font-size:30px;font-weight:800;color:#6950ca}
.v9-profile-identity{min-width:0}
.v9-profile-identity h2{font-size:24px;line-height:1.2;letter-spacing:-.6px;margin:0 0 6px;overflow-wrap:anywhere}
.v9-profile-identity p{font-size:14px;color:var(--ink);margin:0 0 8px;line-height:1.5}
.v9-profile-location{font-size:12px;color:var(--muted)}
.v9-mycard-flip{appearance:none;background:transparent;border:0;display:block;width:100%;padding:0;text-align:left;cursor:pointer;border-radius:20px;outline-offset:4px}
.v9-mycard-flip:focus-visible{outline:3px solid #6753d4}
.v9-mycard-flip .card-surface{width:100%;min-height:260px;margin:0}
.v9-card-flip-tools{display:flex;justify-content:space-between;align-items:center;margin-top:13px}
.v9-card-view-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:23px}
.v9-card-view-actions .btn{white-space:normal;text-align:center;line-height:1.4;padding:12px 10px;min-height:49px}
.v9-import-caption{margin:12px 0 0;color:var(--muted);font-size:11.5px;line-height:1.55}
.v9-details-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:15px}
.v9-details-head h2{margin:0 0 3px;font-size:20px}
.v9-details-head p{margin:0;font-size:12px}
.v9-profile-details .cardory-detail-topic{margin-bottom:13px}
.v9-profile-details .cardory-read-row{min-width:0}
.v9-profile-details .cardory-read-value{overflow-wrap:anywhere}
.v9-list-save-wrap{padding:0 18px 17px}
.v9-list-save{cursor:pointer;appearance:none;background:#f8f5ff;border:1px solid #e5dcff;width:100%;border-radius:12px;padding:12px 11px;font-family:inherit;font-size:12px;font-weight:800;color:#5c42b7;text-align:center;transition:background .15s}
.v9-list-save:hover,.v9-list-save:focus-visible{background:#eae3ff;outline-offset:3px}
.v9-detail-save{white-space:normal}
.v9-invites-send{background:#6655dc!important;color:white!important;border-color:#6655dc!important}
.v9-invites-send:hover{background:#5142ba!important}
.v9-card-editing .wraphead{margin-bottom:12px}
.v9-cancel-edit{background:white!important}
@media(max-width:1080px){.v9-mycard-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.v9-mycard-head .wrapactions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%}.v9-mycard-head .wrapactions .btn{padding:11px 7px;font-size:11px;white-space:normal;line-height:1.3;min-width:0}.v9-mycard-layout{gap:14px;margin-top:14px}.v9-primary-card,.v9-profile-details{padding:16px}.v9-profile-image{width:77px;height:77px;border-radius:19px}.v9-profile-summary{gap:13px}.v9-profile-identity h2{font-size:20px}.v9-profile-identity p{font-size:12px}.v9-profile-details .cardory-detail-topic{margin-bottom:12px}.v9-mycard-flip .card-surface{min-height:235px}.v9-card-view-actions{gap:8px}.v9-card-view-actions .btn{font-size:12px}.tabstrip{flex-wrap:wrap;gap:7px}.tabstrip button{flex:1;min-width:max-content;padding:10px 9px;font-size:12px}.detail-buttons{flex-wrap:wrap;gap:10px}.detail-buttons .v9-detail-save{order:-1;width:100%}}
@media(max-width:370px){.v9-profile-identity h2{font-size:18px}.v9-mycard-head .wrapactions .btn{font-size:10px}.v9-card-view-actions{grid-template-columns:1fr}}

.v92-policy-footer{display:flex;gap:13px;flex-wrap:wrap;align-items:center;padding:20px 0 100px;color:#8c89a2;font-size:12px}.v92-policy-footer button{border:0;background:none;color:#6250bd;text-decoration:underline;cursor:pointer;font-size:12px}
/*====*/

.rev-cards-selector{margin:12px 0 20px}.rev-card-chips{display:flex;gap:9px;overflow-x:auto;margin-top:15px;padding-bottom:7px}.rev-card-chip{flex:0 0 auto;min-width:145px;text-align:left;border:1px solid #ddd8ed;background:#faf9ff;border-radius:12px;padding:12px 15px;display:grid;gap:3px;color:#29233c;cursor:pointer;max-width:250px}.rev-card-chip.selected{border:2px solid #7650cd;background:#f0eafb}.rev-card-chip span{font-weight:750;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rev-card-chip small{font-size:11px;color:#736b85}.rev-card-docs{border-top:1px solid #ebe8ef;margin-top:24px;padding-top:15px}.rev-card-docs h3{margin:16px 0 9px}.rev-brochures{display:grid;gap:9px}.rev-brochure{padding:11px;border:1px solid #ded8eb;border-radius:12px;background:#fbfaff;display:flex;align-items:center;gap:8px;justify-content:space-between;flex-wrap:wrap}.rev-brochure span{min-width:0;overflow-wrap:anywhere;font-size:13px}.rev-extra-edit{margin:20px 0;padding:18px}.rev-extra-edit .field{margin:12px 0}.rev-send-cards{display:grid;gap:9px;margin-bottom:17px;max-height:240px;overflow:auto}.rev-send-choice{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid #dcd6eb;border-radius:10px;cursor:pointer}.rev-send-choice input{accent-color:#7950bf}.rev-send-choice div{display:grid;gap:2px}.rev-send-choice small{font-size:11px;color:#736c85}.rev-request-card{font-size:12px;color:#68529d;margin:4px 0 6px 53px}.rev-history-event{border-bottom:1px solid #e6e0eb;padding:13px 0}.rev-history-change{display:grid;gap:5px;margin:8px 0;font-size:12px;overflow-wrap:anywhere}.rev-import-line{display:grid;border-bottom:1px solid #e9e4ef;padding:9px 0;gap:3px}.rev-import-line small{color:#716a7c}.rev-export-grid{display:flex;gap:9px;flex-wrap:wrap}.rev-linked-tag{display:inline-block;font-size:11px;background:#effaf5;color:#207754;border-radius:30px;padding:4px 7px;margin:4px 0 0}.rev-export-action{margin-right:6px}
@media(max-width:720px){.rev-card-chips{margin-right:-12px}.rev-cards-selector .wraphead{align-items:flex-start}.rev-cards-selector .wraphead .btn{font-size:11px;padding:9px}.rev-brochure{align-items:flex-start}.rev-export-action{font-size:12px;margin-top:5px}.rev-send-choice{margin:0}.rev-request-card{margin-left:5px}}
.v92-policy-footer{display:flex;gap:13px;flex-wrap:wrap;align-items:center;padding:20px 0 100px;color:#8c89a2;font-size:12px}.v92-policy-footer button{border:0;background:none;color:#6250bd;text-decoration:underline;cursor:pointer;font-size:12px}
/* V9 Plus Photo & Chat Update: no changes to original V9 or V10 */
.v93-avatar-button{appearance:none;border:0;background:transparent;padding:0;display:grid;place-items:center;position:relative;border-radius:16px;cursor:pointer;line-height:1}
.v93-avatar-button:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
.v93-avatar-button .avatar{pointer-events:none}
.v93-avatar-camera{position:absolute;right:-5px;bottom:-5px;width:25px;height:25px;border-radius:9px;background:#6b50cc;color:white;display:grid;place-items:center;box-shadow:0 2px 9px #422d9155;border:2px solid #fff}
.v93-avatar-camera svg{height:13px;width:13px}
.v93-avatar-button:hover .v93-avatar-camera{background:#4d30ac;transform:scale(1.05)}
.v93-save-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:0;background:#f2ecff;color:#5c42ad;padding:8px 10px;border-radius:10px;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}
.v93-save-btn:hover,.v93-save-btn:focus-visible{background:#e9ddff}
.v8-saved-tile .v8-footer-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.v8-saved-tile .v8-tile-footer{gap:8px}
.v93-save-btn svg{height:15px;width:15px;flex-shrink:0}
.v9-card-view-actions .v9-phone-import,.v9-detail-save{white-space:normal}
@media(max-width:430px){.v93-save-btn{font-size:10px;padding:7px 8px;gap:4px}.v93-save-btn svg{height:14px;width:14px}.v8-saved-tile .v8-footer-tags{gap:6px}.v8-saved-tile .v8-tile-footer{gap:7px}}

/*====*/

/* V9 back-navigation repair: consistent back button on every app screen. */
.cardory-global-back{flex:0 0 auto;width:36px;height:36px;border:1px solid #e7e5ef;background:#fff;color:#55428b;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;margin-right:8px;box-shadow:0 1px 3px #1e1b3810}
.cardory-global-back:hover,.cardory-global-back:focus-visible{background:#f2ecff;outline:2px solid #a88ce2;outline-offset:1px}
.cardory-global-back[hidden]{display:none!important}
.main .top{gap:8px}
.main .top strong#topname{margin-right:auto}
@media(max-width:600px){.cardory-global-back{width:33px;height:33px;margin-right:0}.main .top{padding-left:12px;padding-right:12px}}

/*====*/

/* Cardory V9: align Business > Location and Brochures with Category/Subcategory read-only rows. */
.cardory-read-body > .rev-card-docs.v92-business-assets {display:contents!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0!important;}
.rev-card-docs.v92-business-assets .cardory-read-row{padding:10px 1px 12px;border-bottom:1px solid #efedf5;min-width:0;}
.rev-card-docs.v92-business-assets .cardory-read-label{font-size:10px;letter-spacing:.5px;font-weight:850;text-transform:uppercase;color:#85899b}
.rev-card-docs.v92-business-assets .cardory-read-value{font-size:13px;color:#26283c;line-height:1.65;overflow-wrap:anywhere;margin-top:5px;}
.rev-card-docs .v95-location-address{display:block;white-space:pre-wrap;}
.rev-card-docs .v95-map-link{display:block;width:max-content;max-width:100%;font-size:12px;margin-top:5px;color:#5e50c6;text-decoration:underline;text-underline-offset:3px;}
.rev-card-docs .rev-brochures{display:grid;gap:7px;}
.rev-card-docs .rev-brochure{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;border-radius:0!important;}
.rev-card-docs .rev-brochure .btn{font-size:11px;padding:6px 9px;}
.rev-card-docs .cardory-read-value>p{margin:0;color:#8c8f9f;font-size:13px;}
.v95-history-link{background:transparent;border:0;padding:0;color:#5e50c6;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font:inherit;text-align:left;}
.v95-history-link:hover,.v95-history-link:focus-visible{color:#39257d;}
.rev-extra-edit.v92-business-assets{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:12px 0!important;}
.rev-extra-edit.v92-business-assets h3{font-size:11px;letter-spacing:.4px;text-transform:uppercase;color:#85899b;font-weight:850;margin:14px 0 6px;}

/*====*/

/* V9 Plus Settings Menu Update: compact aligned contact actions */
.v8-saved-tile .v8-tile-footer{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 align-items:stretch;justify-content:initial;gap:8px;flex-wrap:nowrap;
 padding-top:14px;
}
.v8-saved-tile .v8-tile-footer .v8-footer-tags{display:contents}
.v8-saved-tile .v8-tile-footer .v8-tile-source,
.v8-saved-tile .v8-tile-footer .v93-save-btn,
.v8-saved-tile .v8-tile-footer .v8-open{
 height:48px;min-height:48px;width:100%;min-width:0;
 box-sizing:border-box;padding:7px 5px;margin:0;
 border-radius:12px;display:flex;align-items:center;justify-content:center;
 gap:5px;font-size:11px;line-height:1.18;text-align:center;
 white-space:normal;overflow-wrap:normal;
}
.v8-saved-tile .v8-tile-footer .v8-tile-source{font-weight:750}
.v8-saved-tile .v8-tile-footer .v8-open{font-weight:800;box-shadow:0 4px 12px #7243c230}
.v8-saved-tile .v8-tile-footer svg{width:15px;height:15px;flex-shrink:0}
@media(max-width:380px){
 .v8-saved-tile .v8-tile-footer{gap:5px}
 .v8-saved-tile .v8-tile-footer .v8-tile-source,
 .v8-saved-tile .v8-tile-footer .v93-save-btn,
 .v8-saved-tile .v8-tile-footer .v8-open{font-size:10px;padding:7px 3px;gap:3px}
 .v8-saved-tile .v8-tile-footer svg{width:13px;height:13px}
}
/* V9 Plus Settings Menu Update: replace lengthy settings dashboard with a three-line menu */
.v92-settings-shortcut.v94-top-menu{width:43px;height:43px;padding:8px;border-radius:13px;display:grid;place-items:center}
.v92-settings-shortcut.v94-top-menu svg{width:24px;height:24px}
.v92-settings-shortcut.v94-top-menu[aria-expanded="true"]{background:#f1ebff;color:#5737b0;box-shadow:0 0 0 2px #e0d6ff inset}
.v94-settings-layout{max-width:900px;margin:0 auto 50px}
.v94-settings-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px}
.v94-settings-header h1{margin:0 0 5px;font-size:clamp(23px,4vw,30px)}
.v94-settings-header p{margin:0;font-size:13px}
.v94-toggle{height:46px;min-width:46px;padding:10px;border-radius:13px;border:1px solid #ddd5ef;background:#fff;color:#5635a6;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px}
.v94-toggle svg{height:24px;width:24px}
.v94-toggle[aria-expanded="true"]{background:#efe9fc;border-color:#d8c9f3}
.v94-toggle:focus-visible,.v94-menu-option:focus-visible,.v94-back:focus-visible{outline:3px solid #ae9af5;outline-offset:2px}
.v94-menu{border:1px solid #e5dff1;box-shadow:0 10px 30px #3c2a7712;border-radius:22px;overflow:hidden;background:#fff;padding:9px}
.v94-menu-head{padding:15px 14px 9px;color:#655d81;font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}
.v94-menu-option{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 20px;gap:12px;align-items:center;padding:12px 13px;border-radius:13px;border:0;background:white;color:#241e40;text-align:left;cursor:pointer}
.v94-menu-option:hover,.v94-menu-option.selected{background:#f6f2ff}
.v94-menu-icon{height:40px;width:40px;display:grid;place-items:center;background:#f4efff;color:#6742bb;border-radius:12px}
.v94-menu-icon svg{width:20px;height:20px}
.v94-menu-option strong{display:block;font-size:14px;margin-bottom:3px}
.v94-menu-option small{display:block;color:#807a95;font-size:11px;line-height:1.4}
.v94-menu-chevron{color:#968bae;font-size:21px;text-align:center}
.v94-menu-divider{height:1px;margin:5px 13px;background:#eeeaf4}
.v94-selected-heading{display:flex;align-items:center;gap:12px;margin:3px 0 15px}
.v94-back{border:1px solid #e4dcf5;border-radius:11px;background:white;color:#6145b1;padding:10px 12px;font-size:13px;font-weight:700;cursor:pointer}
.v94-selected-heading h2{font-size:17px;margin:0}
.v94-selected-content>.panel{margin:0!important;width:100%}
.v94-selected-content .panel h2{font-size:20px;margin-top:0}
.v94-selected-content .v92-settings-actions{gap:9px}
.v94-empty{padding:32px 22px;border:1px solid #e8e3f0;background:linear-gradient(135deg,#fff,#f8f6ff);border-radius:20px;text-align:center}
.v94-empty-icon{width:62px;height:62px;margin:0 auto 13px;display:grid;place-items:center;background:#eee9ff;color:#6243b1;border-radius:18px}
.v94-empty-icon svg{width:28px;height:28px}
.v94-empty h3{font-size:18px;margin:0 0 8px}
.v94-empty p{max-width:460px;margin:0 auto;color:#807a95;line-height:1.5;font-size:13px}
@media(max-width:480px){
 .v94-settings-layout{margin-top:5px}
 .v94-menu-option{grid-template-columns:38px minmax(0,1fr) 15px;gap:9px;padding:10px 7px}
 .v94-menu-icon{width:36px;height:36px;border-radius:10px}
 .v94-menu-option strong{font-size:13px}
 .v94-menu-option small{font-size:11px}
 .v94-selected-content .panel{padding:18px!important}
 .v94-settings-header{gap:8px}
}
