body{background:#f5f6f9;color:#162443}.editor-header{height:58px;padding:0 max(20px,calc((100vw - 1100px)/2));display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid #e6eaf1}.brand,.header-right{display:flex;align-items:center;gap:15px}.brand .logo{font-size:27px}.brand>span:last-child{font-size:12px;color:#7d899d}.header-right{gap:9px}#save-status{font-size:10px;color:#6f8176}.toolbar-button{background:#fff;border:1px solid #dce3ed;border-radius:7px;padding:7px 11px;font-size:11px;color:#51627c;min-height:32px}.primary-preview{background:#edf2ff;border-color:#d8e3ff;color:#153fe5;font-weight:700}.editor-workspace{width:min(1020px,100%);padding:12px 22px 16px;margin:auto}.editor-hint{font-size:11px;color:#8090a5;margin:2px 0 12px;line-height:1.5}.profile-surface.iphone{width:100%;max-width:none;border:0;border-radius:14px;padding:0;background:#fff;box-shadow:0 4px 24px #25395a08;overflow:visible;transform:none}.profile-surface .phone-screen{height:auto;min-height:0;max-height:none;overflow:visible;overscroll-behavior:auto;font-size:14px;background:transparent}.profile-surface .phone-inner{padding:22px}.home-layout{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(330px,1.15fr);gap:30px;align-items:start}.identity{margin-bottom:15px}.identity-top{display:grid;grid-template-columns:88px 1fr;gap:15px;align-items:center}.profile-surface .phone-portrait{width:88px;height:88px;margin:0;border-radius:20px}.profile-surface .phone-example{font-size:9px;text-align:left;line-height:1.3;margin:0 0 6px;letter-spacing:.05em}.profile-surface h3{font-size:28px;line-height:1.1;text-align:left;margin:0 0 9px}.profile-surface h3 span{font-size:12px}.pet-specs{justify-content:flex-start!important;font-size:11px!important;line-height:1.5;gap:2px 6px!important;margin:0!important}.profile-surface .pet-intro{font-size:12px;text-align:left;margin:12px 0 0;line-height:1.6}.picture{aspect-ratio:1;position:relative;overflow:hidden;background:#edf2fb;border-radius:9px}.picture img{display:block;width:100%;height:100%;object-fit:cover}.picture .theo-picture{width:100%;height:100%}.phone-screen [data-edit]{cursor:pointer}.phone-screen [data-edit]:hover{outline:1px dashed #a4b9ec;outline-offset:3px}.phone-screen [data-edit]:focus-visible{outline:2px solid #153fe5;outline-offset:3px}.content-row{display:flex;align-items:center;gap:10px;margin:7px 0}.content-body{flex:1;min-width:0}.content-row .phone-contact,.content-row .phone-menu,.content-row .phone-emergency,.content-row .phone-reward{margin:0!important;width:100%}.profile-surface .phone-contact{display:flex;align-items:center;justify-content:space-between;background:#153fe5;color:#fff;border-radius:8px;min-height:37px;padding:8px 11px;font-size:12px;text-align:left;line-height:1.4}.profile-surface .phone-contact span{font-size:9px;opacity:.85}.profile-surface .phone-contact.secondary{color:#153fe5;background:#edf2ff}.profile-surface .phone-emergency{padding:9px 11px;min-height:37px;border-radius:8px;font-size:12px;text-align:left}.profile-surface .phone-reward{min-height:41px;font-size:11px;padding:8px 11px;border-radius:8px}.profile-surface .phone-reward strong{font-size:17px}.profile-surface .phone-menu{padding:9px 11px;min-height:37px;font-size:12px;border-radius:8px}.profile-surface .phone-menu span{font-size:10px}.item-switch{display:flex;flex-shrink:0;align-items:center;gap:5px;cursor:pointer;color:#8190a6;font-size:10px;white-space:nowrap;user-select:none}.item-switch input{appearance:none;width:25px;height:15px;background:#cfd6e0;border:0;border-radius:12px;position:relative;cursor:pointer;margin:0}.item-switch input:checked{background:#5579dd}.item-switch input:after{content:'';position:absolute;width:11px;height:11px;border-radius:50%;background:white;top:2px;left:2px;transition:left .12s}.item-switch input:checked:after{left:12px}.muted-item>.content-body,.muted-item>.card-content,.muted-item>.photo-content{opacity:.3}.state-note{color:#94a0b2;font-size:10px}.section-headline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}.profile-surface .phone-section-heading{font-size:13px!important;margin:0!important;text-align:left!important}.section-headline>div{display:flex;align-items:center;gap:10px}.add-item{background:none;color:#5e79bd;border:0;padding:5px 0;font-size:10px;cursor:pointer;text-align:left}.add-item:hover{color:#153fe5;text-decoration:underline}.contact-add{margin:1px 0 8px}.profile-surface .pet-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:13px}.photo-tile{min-width:0}.photo-content{border:0;background:none;padding:0;width:100%;display:block}.photo-content .picture{width:100%;max-height:92px;aspect-ratio:1.35;min-height:72px}.tile-controls{display:flex;justify-content:space-between;align-items:center;padding-top:4px;gap:4px}.tile-controls .item-switch{font-size:9px}.delete-item{background:none;color:#aa7a80;padding:2px;border:0;font-size:10px;cursor:pointer}.delete-item:hover{color:#b51f35}.phone-screen .phone-end{font-size:10px;text-align:left;padding:8px 0 0;margin:0;color:#929fb0}.phone-screen .phone-end b{color:#153fe5}.profile-surface .phone-page{max-width:740px;margin:0 auto}.profile-surface .phone-page h4{font-size:21px;line-height:1.2;margin:4px 0 10px}.profile-surface .phone-page p{font-size:12px;line-height:1.6}.profile-surface .phone-nav{position:static;border-radius:14px 14px 0 0;padding:9px 22px;min-height:42px;font-size:13px}.profile-surface .phone-nav button{font-size:11px;min-height:28px}.phone-bottom-nav{padding:9px 22px!important;background:transparent;border-radius:0 0 14px 14px}.phone-bottom-nav button{width:auto!important;margin:auto;min-width:120px;min-height:33px!important;padding:7px 12px!important;font-size:11px!important}.editable-card{border:1px solid #e1e6f0;border-radius:10px;padding:13px 15px;margin:10px 0}.editable-card .card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:5px}.editable-card strong{font-size:13px}.editable-card p{white-space:pre-line;margin:0}.card-controls{display:flex;align-items:center;gap:12px}.card-content{cursor:pointer}.editable-card a{color:#153fe5;font-size:11px;display:block;margin-top:5px}.profile-surface .phone-info{gap:8px;margin:12px 0}.profile-surface .phone-info div{padding:10px;font-size:10px}.profile-surface .phone-info b{font-size:13px}.info-layout{display:grid;grid-template-columns:190px 1fr;gap:25px;align-items:start}.profile-surface .phone-photo-large{max-width:230px;margin:0 auto 10px;width:100%}.section-toggle{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:8px}.toggle-note{font-size:10px;color:#8a98ab}.emergency-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:start}.profile-surface .phone-poster{padding:18px;border-radius:11px}.profile-surface .phone-poster h4{font-size:18px}.profile-surface .phone-poster .picture{width:140px;margin:12px auto;border-radius:11px}.profile-surface .phone-poster .reward-inline{font-size:12px;background:#cf3342;color:#fff}.profile-surface .phone-poster p{font-size:11px;white-space:pre-line}.profile-surface .phone-page .button{font-size:11px;min-height:34px;padding:9px 11px;margin-top:7px}.profile-surface .share-buttons{margin-top:0;gap:6px}.profile-surface .share-buttons button{font-size:11px;min-height:33px;padding:8px}.profile-surface .share-text{min-height:75px;font-size:11px;padding:10px;white-space:pre-line}.inline-editor{border:1px solid #dbe3f0;min-height:70px;padding:10px;border-radius:8px;background:#fff;color:#53617a;width:100%;font:inherit;font-size:12px;resize:vertical}.workspace-note{font-size:9px;color:#9aa4b5;margin-top:11px;text-align:center}.visitor-mode .editor-control{display:none!important}.visitor-mode .content-row{gap:0}.visitor-mode [data-edit]:hover{outline:none}.visitor-mode .profile-surface .photo-content .picture{max-height:100px}.empty-photo{display:grid;place-items:center;background:#f4f6fa;border:1px dashed #d8dfeb;width:100%;height:100%;color:#c4cddb;font-size:24px}.empty-note{font-size:11px;color:#8795a9;padding:20px 0}.editor-form-note{font-size:11px;color:#7b8ca6;line-height:1.6;margin-bottom:12px}dialog{border:0;border-radius:15px;width:min(420px,calc(100% - 28px));max-height:90dvh;overflow:auto;padding:22px;box-shadow:0 24px 80px #14244440;color:#162443}dialog::backdrop{background:#10203d66;backdrop-filter:blur(2px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:10px}.dialog-head h2{font-size:21px;letter-spacing:-.03em}.close-dialog{width:28px;height:28px;border-radius:50%;background:#f3f5f9;color:#65738a;font-size:21px}.field{display:block;margin:12px 0;font-size:12px;color:#45546e;font-weight:600}.field input:not([type=checkbox]):not([type=range]),.field select,.field textarea{display:block;width:100%;border:1px solid #d8e0ee;border-radius:7px;padding:9px 10px;margin-top:6px;font:inherit;font-size:13px;line-height:1.45;color:#162443;background:white}.field textarea{min-height:75px;resize:vertical}.field small{display:block;font-weight:400;color:#8b99ae;font-size:10px;margin-top:5px}.field input[type=range]{display:block;width:100%;accent-color:#5579dd;margin-top:6px}.field input[type=checkbox]{accent-color:#5579dd}.visibility-field{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#7b8ba5;margin:14px 0}.visibility-field input{accent-color:#5579dd}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:20px}.primary{padding:9px 18px;background:#153fe5;color:#fff;font-size:12px;font-weight:700;border-radius:7px}.quiet{padding:8px 12px;background:transparent;color:#8a98ae;font-size:11px}.danger{padding:8px 10px;border-radius:7px;font-size:11px;color:#b54856;background:#fff1f3;margin-right:auto}.crop-preview{width:190px;aspect-ratio:1;margin:12px auto;background:#edf2fb;overflow:hidden;border-radius:12px}.crop-preview img{display:block;width:100%;height:100%;object-fit:cover}.action-list{display:flex;flex-direction:column;gap:8px}.action-list button,.file-label{padding:12px;border-radius:8px;background:#f6f8fb;color:#3d516e;font-size:12px;text-align:left;cursor:pointer}.action-list button:hover,.file-label:hover{background:#edf2ff}.file-label{display:block}#toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);padding:10px 18px;border-radius:10px;background:#263957;color:#fff;font-size:12px;max-width:90%;display:none;z-index:30}.photo-pagination{font-size:12px;max-width:350px;margin:auto}.photo-pagination button{min-height:32px!important;padding:8px!important;font-size:11px}.editor-control label{font-size:10px}.field [hidden],[hidden]{display:none!important}@media(min-width:800px) and (max-height:800px){.editor-header{height:49px}.editor-workspace{padding-top:8px}.editor-hint{margin-bottom:8px}.profile-surface .phone-inner{padding:16px 20px}.identity{margin-bottom:10px}.home-layout{gap:25px}.photo-content .picture{max-height:78px;min-height:60px}.profile-surface .phone-portrait{width:78px;height:78px}.identity-top{grid-template-columns:78px 1fr}.content-row{margin:6px 0}.profile-surface .pet-photo-grid{margin-bottom:9px}.profile-surface .phone-end{padding-top:6px}}@media(max-width:700px){.editor-header{height:auto;min-height:61px;padding:10px 13px;gap:10px}.brand>span:last-child{display:none}.header-right{gap:6px;flex-wrap:wrap;justify-content:flex-end}#save-status{font-size:9px;width:100%;text-align:right}.toolbar-button{font-size:10px;padding:6px 8px;min-height:28px}.editor-workspace{padding:12px}.home-layout{grid-template-columns:1fr;gap:17px}.profile-surface .phone-inner{padding:18px}.profile-surface .phone-screen{height:auto;max-height:none;min-height:0}.profile-surface.iphone{width:100%;border:0}.identity-top{grid-template-columns:80px 1fr}.profile-surface .phone-portrait{width:80px;height:80px}.profile-surface .phone-contact,.profile-surface .phone-menu,.profile-surface .phone-emergency{min-height:40px}.photo-content .picture{max-height:none;aspect-ratio:1.15}.emergency-layout,.info-layout{grid-template-columns:1fr;gap:16px}.profile-surface .phone-photo-large{max-width:200px}.profile-surface .phone-nav{padding:9px 18px}.editor-hint{font-size:10px}.item-switch{font-size:9px}.tile-controls .item-switch span{font-size:8px}}
.photo-content .picture{aspect-ratio:1;width:min(100%,92px);max-height:none;min-height:0;margin:auto}.profile-surface .phone-screen .home-right .pet-photo-grid{gap:9px}.tile-controls{justify-content:center}.gallery-section.muted-item .content-body{opacity:.3}.emergency-layout .share-buttons{grid-template-columns:1fr}.emergency-layout .share-buttons .content-row{margin:3px 0}.emergency-layout .share-buttons .content-body>button{width:100%}.emergency-layout .share-buttons .item-switch{border:0;background:none;padding:0;min-height:0}.visitor-mode .tile-controls{display:none!important}@media(min-width:800px) and (max-height:800px){.photo-content .picture{width:min(100%,78px);max-height:none}}@media(max-width:700px){.photo-content .picture{width:min(100%,105px);max-height:none}}
.muted-item>.content-body,.muted-item>.card-content,.muted-item>.photo-content{opacity:.5}.gallery-section.muted-item .content-body{opacity:.5}
.phone-screen .phone-end{display:flex;align-items:center;gap:6px}.phone-screen .phone-end .profile-logo{font-size:17px;line-height:1;color:#153fe5;letter-spacing:-.08em;font-weight:900}.phone-screen .phone-end .profile-logo>span{color:#ff942f}.crop-preview{cursor:grab;touch-action:none}.crop-preview:active{cursor:grabbing}.crop-preview img{pointer-events:none;user-select:none}.crop-hint{text-align:center;font-size:11px;color:#7f8fa5;line-height:1.5}
/* The visitor sees the pet's vertical page, independent of the desktop editor layout. */
body.visitor-mode{background:#fff}.visitor-mode .editor-header{background:transparent;border:0;justify-content:flex-end;height:48px;padding:9px 20px}.visitor-mode .editor-header .brand,.visitor-mode #save-status,.visitor-mode #backup,.visitor-mode #editor-hint,.visitor-mode .workspace-note{display:none}.visitor-mode .editor-workspace{width:min(460px,100%);padding:0 16px 28px}.visitor-mode .profile-surface.iphone{border:0;border-radius:0;background:#fff;box-shadow:none}.visitor-mode .profile-surface .phone-inner{padding:16px 0}.visitor-mode .home-layout,.visitor-mode .info-layout,.visitor-mode .emergency-layout{display:block}.visitor-mode .home-left{margin-bottom:22px}.visitor-mode .identity{margin-bottom:14px}.visitor-mode .identity-top{display:flex;flex-direction:column;gap:12px}.visitor-mode .identity-top>div{text-align:center}.visitor-mode .profile-surface .phone-portrait{width:100px;height:100px;border-radius:25px;margin:0 auto}.visitor-mode .profile-surface .phone-example{text-align:center;font-size:11px;margin-bottom:6px}.visitor-mode .profile-surface h3{text-align:center;font-size:34px;margin:0 0 8px}.visitor-mode .profile-surface h3>span{font-size:17px}.visitor-mode .profile-surface .pet-specs{justify-content:center!important;font-size:12px!important;line-height:1.5}.visitor-mode .profile-surface .pet-intro{text-align:center;font-size:14px;line-height:1.5;margin:14px 0}.visitor-mode .content-row{margin:9px 0}.visitor-mode .profile-surface .phone-contact{font-size:14px;min-height:45px;padding:11px 13px}.visitor-mode .profile-surface .phone-contact span{font-size:11px}.visitor-mode .profile-surface .phone-emergency{font-size:14px;min-height:45px;padding:12px}.visitor-mode .profile-surface .phone-reward{min-height:54px;font-size:13px;padding:12px}.visitor-mode .profile-surface .phone-reward strong{font-size:22px}.visitor-mode .profile-surface .pet-photo-grid{gap:8px;margin:14px 0 18px}.visitor-mode .profile-surface .photo-content .picture{width:100%;max-height:none;aspect-ratio:1;margin:0}.visitor-mode .profile-surface .phone-section-heading{font-size:15px!important}.visitor-mode .profile-surface .phone-menu{font-size:14px;min-height:46px;padding:13px 11px}.visitor-mode .profile-surface .phone-menu span{font-size:11px}.visitor-mode .profile-surface .phone-end{justify-content:center;padding-top:14px;font-size:11px}.visitor-mode .profile-surface .phone-page p{font-size:14px;line-height:1.6}.visitor-mode .profile-surface .phone-page h4{font-size:23px;margin:14px 0}.visitor-mode .profile-surface .phone-photo-large{max-width:100%;margin:0 auto 18px}.visitor-mode .profile-surface .phone-page .button{font-size:14px;min-height:44px;padding:11px}.visitor-mode .profile-surface .phone-nav{padding:7px 0;border-radius:0;min-height:48px}.visitor-mode .profile-surface .phone-nav button{font-size:12px}.visitor-mode .editable-card{padding:14px;margin:13px 0}.visitor-mode .editable-card strong{font-size:14px}.visitor-mode .profile-surface .share-buttons{grid-template-columns:1fr 1fr;margin-top:16px}.visitor-mode .profile-surface .share-buttons button{font-size:13px;min-height:44px}.visitor-mode .profile-surface .phone-poster{padding:18px}.visitor-mode .profile-surface .phone-poster .picture{width:180px}.visitor-mode .profile-surface .phone-poster .reward-inline{font-size:14px}.visitor-mode .profile-surface .share-text{font-size:13px;min-height:90px}.visitor-mode .profile-surface .phone-info{margin:16px 0}.visitor-mode .profile-surface .phone-info div{font-size:12px;padding:12px}.visitor-mode .profile-surface .phone-info b{font-size:14px}.visitor-mode .phone-bottom-nav{padding:12px 0!important}.visitor-mode .phone-bottom-nav button{width:100%!important;min-height:44px!important;font-size:13px!important}
/* Direct editing: every editable value stays where it appears in the profile. */
.direct-field{display:block;min-width:0;text-align:left;margin:4px 0;color:#253957;cursor:text}.direct-label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;font-weight:600;color:#6b7d96;margin-bottom:4px;line-height:1.3}.field-pencil{color:#5579dd;font-size:13px}.direct-field input,.direct-field textarea,.direct-field select{display:block;width:100%;max-width:100%;box-sizing:border-box;border:1px solid #dce5f2;border-radius:6px;background:#f7f9ff;color:#162443;padding:7px 9px;font:inherit;font-size:12px;line-height:1.45;min-height:33px;outline:none}.direct-field textarea{resize:vertical;min-height:62px}.direct-field input:focus,.direct-field textarea:focus,.direct-field select:focus{border-color:#5579dd;background:#fff;box-shadow:0 0 0 2px #5579dd18}.direct-field input::placeholder,.direct-field textarea::placeholder{color:#8998ad;font-size:11px}.contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.contact-fields .delete-item{grid-column:1/-1;justify-self:end}.reward-fields{width:100%}.phone-info .direct-field{margin:0}.phone-info .direct-field input,.phone-info .direct-field select{font-weight:600}.profile-surface .phone-info>div{padding:7px}.card-title{flex:1;min-width:0}.editable-card .card-top{align-items:center}.editable-card .card-content{cursor:default}.phone-poster .direct-field{text-align:left}.phone-poster .content-row{align-items:center}.phone-poster .direct-field textarea{font-weight:700;font-size:16px;min-height:76px}.share-text .direct-field textarea{min-height:100px}.reward-inline .direct-label{color:#fff}.inline-photo-editor{grid-column:1/-1;width:100%;background:#f8faff;border:1px solid #dce5f2;border-radius:10px;padding:16px;margin:10px 0}.inline-photo-editor .dialog-head{margin-bottom:8px}.inline-photo-editor .dialog-head h2{font-size:15px}.inline-photo-editor .crop-preview{width:min(190px,100%)}.inline-photo-editor .dialog-actions{margin-top:10px}.profile-surface .phone-poster .reward-inline .direct-field{margin:0}.phone-screen .pet-specs{cursor:default}.phone-info .direct-label .field-pencil{font-size:13px}.visitor-mode .card-title{flex:1}@media(max-width:450px){.contact-fields{grid-template-columns:1fr}.direct-field input,.direct-field textarea,.direct-field select{font-size:16px}.phone-poster .content-row{flex-wrap:wrap}.phone-poster .content-body{flex-basis:100%}}
.profile-brand{font-size:18px;font-weight:900;letter-spacing:-.08em;color:#153fe5;text-decoration:none;white-space:nowrap}.profile-brand span{color:#ff942f}.profile-home-brand{padding:12px 22px 0;text-align:right}.phone-bottom-nav .profile-brand{display:block;text-align:center;margin:12px auto 0}.phone-nav .profile-brand{margin-left:auto;font-size:17px}.brand>a{text-decoration:none}.crop-controls{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.crop-controls button{border:1px solid #cbd8ef;border-radius:7px;background:white;color:#153fe5;padding:7px 10px;font-size:14px;cursor:pointer}.crop-controls button:last-child{font-size:11px}.toolbar-button:disabled{opacity:.45;cursor:default}.visitor-mode #undo,.visitor-mode #clear-profile{display:none}.visitor-mode .profile-home-brand{padding:10px 0;text-align:center}.visitor-mode .phone-bottom-nav .profile-brand{display:block}
.map-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.editable-card .map-actions a{display:inline-block;margin:0;padding:7px 10px;border:1px solid #d8e3f5;border-radius:7px;background:#f3f6ff;color:#153fe5;font-size:11px;text-decoration:none;font-weight:600}.editable-card .map-actions a:hover{background:#e6eeff}

.contact-options{display:flex;gap:8px;margin:7px 0 4px}.contact-options a{flex:1;text-align:center;text-decoration:none;padding:10px;border-radius:8px;background:#edf2ff;color:#153fe5;font-size:12px;font-weight:700}.contact-options a:first-child{background:#def8e9;color:#087442}.profile-surface .phone-screen{background:var(--profile-background,#fff)}
.appearance-tools{background:#fff;border:1px solid #e1e7f0;border-radius:10px;padding:12px;margin-bottom:12px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;color:#53617a;font-size:11px}.appearance-tools label,.design-block-controls label{display:flex;align-items:center;gap:7px}.appearance-tools input,.design-block-controls input{width:30px;height:27px;border:0;padding:0;background:none;cursor:pointer}.appearance-tools button,.design-block-controls button{border:1px solid #dce4f1;border-radius:6px;background:white;padding:6px 9px;color:#3153a5;cursor:pointer}.design-block-controls{display:flex;align-items:center;gap:6px;justify-content:flex-end;margin:4px 0;color:#62738c;font-size:10px}.design-block-controls label{margin-right:auto}.design-block[data-colored="true"] .phone-menu,.design-block[data-colored="true"] .phone-contact,.design-block[data-colored="true"] .phone-reward,.design-block[data-colored="true"] .phone-emergency{background:var(--block-color)!important;color:var(--block-ink,#fff)!important}.appearance-mode .direct-field input,.appearance-mode .direct-field select,.appearance-mode .direct-field textarea{pointer-events:none}.appearance-mode .item-switch,.appearance-mode .delete-item,.appearance-mode .add-item{display:none}.visitor-mode .design-block-controls{display:none}

.design-block[data-colored="true"] .phone-section-heading{color:var(--block-color)!important}.design-block[data-colored="true"] .phone-section-heading::after{content:"";display:block;width:28px;height:3px;margin-top:4px;border-radius:3px;background:var(--block-color)}
.editor-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px;padding:5px;background:#e9eef7;border-radius:11px}.editor-tab{min-height:42px;padding:10px;border:0;border-radius:8px;background:transparent;color:#50617a;font-size:12px;font-weight:700;cursor:pointer}.editor-tab[aria-pressed="true"]{background:#fff;color:#153fe5;box-shadow:0 2px 8px #26395a18}.visitor-mode .editor-tabs{display:none}@media(max-width:480px){.editor-tab{font-size:11px;line-height:1.3}}
.theme-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap;width:100%}.palette-swatches{display:grid;grid-template-columns:repeat(10,minmax(22px,1fr));gap:5px}.color-swatch{width:25px;height:25px;padding:2px!important;border:1px solid #d8e1ef!important;background:white;border-radius:6px!important;cursor:pointer}.color-swatch span{display:block;width:100%;height:100%;border-radius:3px}.color-swatch[aria-pressed="true"]{outline:2px solid #153fe5;outline-offset:1px}.custom-color{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#3153a5;cursor:pointer}.custom-color input{width:29px;height:27px}.theme-presets{width:100%;border-top:1px solid #e9edf5;padding-top:8px}.theme-presets summary{color:#3153a5;font-weight:700;cursor:pointer}.theme-presets-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:10px 0}.preset-card{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:10px!important;padding:7px!important}.preset-preview{width:100%;height:40px;background:var(--preset-bg);border:1px solid #e1e6f0;border-radius:5px;padding:5px;display:flex;flex-direction:column;gap:3px}.preset-preview i{height:6px;border-radius:3px;background:var(--preset-primary)}.preset-preview i:nth-child(2){background:var(--preset-accent);width:75%}.block-palette{position:relative;margin-right:auto}.choose-color{display:flex;align-items:center;gap:5px}.color-chip{width:16px;height:16px;display:inline-block;border-radius:4px;border:1px solid #d6dce5}.block-palette-menu{position:absolute;z-index:5;top:100%;left:0;width:290px;background:#fff;padding:10px;border:1px solid #dce4f1;box-shadow:0 5px 20px #12234622;border-radius:9px}.block-palette-menu strong{display:block;margin-bottom:8px}.block-palette-menu .custom-color{margin-top:8px}@media(max-width:600px){.palette-swatches{grid-template-columns:repeat(10,minmax(19px,1fr));gap:3px}.color-swatch{width:22px;height:22px}.theme-presets-list{grid-template-columns:repeat(2,minmax(0,1fr))}.block-palette-menu{width:260px;max-width:80vw}}

.profile-surface .phone-screen{color:var(--profile-text,#14213d)}.profile-surface .phone-page>h4,.profile-surface .phone-example,.profile-surface .pet-intro,.profile-surface .pet-specs,.profile-surface .identity h3{color:var(--profile-text,#14213d)}

/* Cores da marca, baseadas na referência das embalagens. */
.logo,.profile-brand.logo{color:#102060!important}.logo>span,.profile-brand.logo>span{color:#f88030!important}
/* Paletas tom sobre tom: cores dos elementos existentes, sem alterar dimensões. */
#phone-screen[data-tone] .identity h3,#phone-screen[data-tone] .phone-page>h4,#phone-screen[data-tone] .phone-section-heading{color:var(--tone-text)!important}
#phone-screen[data-tone] .identity h3 span{color:var(--tone-heart)!important}
#phone-screen[data-tone] .phone-example,#phone-screen[data-tone] .pet-specs,#phone-screen[data-tone] .pet-intro{color:var(--tone-secondary)!important}
#phone-screen[data-tone] .design-block[data-block="contacts"] .phone-contact:not(.secondary){background:var(--tone-contact-bg)!important;color:var(--tone-contact-text)!important;border-color:var(--tone-contact-border)!important;box-shadow:inset 0 0 0 1px var(--tone-contact-border)}
#phone-screen[data-tone] .design-block[data-block="contacts"] .phone-contact.secondary{background:var(--tone-contact2-bg)!important;color:var(--tone-contact2-text)!important;border-color:var(--tone-contact2-border)!important;box-shadow:inset 0 0 0 1px var(--tone-contact2-border)}
#phone-screen[data-tone] .design-block[data-block="reward"] .phone-reward{background:var(--tone-reward-bg)!important;color:var(--tone-reward-text)!important;border-color:var(--tone-reward-border)!important}
#phone-screen[data-tone] .design-block[data-block="emergency"] .phone-emergency{background:var(--tone-emergency-bg)!important;color:var(--tone-emergency-text)!important;border-color:var(--tone-emergency-border)!important;box-shadow:inset 0 0 0 1px var(--tone-emergency-border)}
#phone-screen[data-tone] .design-block[data-block="info"] .phone-menu{background:var(--tone-info-bg,var(--tone-menu-bg))!important;color:var(--tone-info-text,var(--tone-menu-text))!important;border-color:var(--tone-info-border,var(--tone-menu-border))!important}
#phone-screen[data-tone] .design-block[data-block="addresses"] .phone-menu{background:var(--tone-addresses-bg,var(--tone-menu-bg))!important;color:var(--tone-addresses-text,var(--tone-menu-text))!important;border-color:var(--tone-addresses-border,var(--tone-menu-border))!important}
#phone-screen[data-tone] .design-block[data-block="care"] .phone-menu{background:var(--tone-care-bg,var(--tone-menu-bg))!important;color:var(--tone-care-text,var(--tone-menu-text))!important;border-color:var(--tone-care-border,var(--tone-menu-border))!important}
#phone-screen[data-tone] .phone-contact span,#phone-screen[data-tone] .phone-menu span{color:inherit!important;opacity:.8!important}
#phone-screen[data-tone] .phone-section-heading::after{background:var(--tone-text)!important}
#phone-screen[data-tone] .phone-info>div{background:var(--tone-menu-bg);color:var(--tone-menu-text)}
#phone-screen[data-tone] .editable-card{border-color:var(--tone-menu-border);color:var(--tone-text)}
/* Destaques e logo seguem a paleta escolhida, sem mudar medidas. */
#phone-screen[data-tone] .design-block[data-block="reward"] .phone-reward strong{color:inherit!important}
#phone-screen[data-tone] .phone-section-heading::after{background:var(--tone-heart)!important}
#phone-screen[data-tone] .profile-brand.logo{color:var(--tone-text)!important}
#phone-screen[data-tone] .profile-brand.logo>span{color:var(--tone-heart)!important}
/* Foto do perfil no mesmo tamanho da página compartilhável. */
.profile-surface .identity-top{grid-template-columns:174px minmax(0,1fr)}
.profile-surface .phone-portrait,.visitor-mode .profile-surface .phone-portrait{width:174px;height:174px;border-radius:30px}
/* Azul e recompensa da identidade TagPet, somente no visual padrão. */
#phone-screen[data-brand-default] .design-block[data-block="contacts"] .phone-contact{background:#102060!important;color:#fff!important;border-color:#102060!important}
#phone-screen[data-brand-default] .design-block[data-block="photos"] .phone-section-heading{color:#102060!important}
#phone-screen[data-brand-reward] .design-block[data-block="reward"] .phone-reward{background:#fff0e4!important;color:#f88030!important;border-color:#ffd4b4!important}
#phone-screen[data-brand-reward] .design-block[data-block="reward"] .phone-reward span,#phone-screen[data-brand-reward] .design-block[data-block="reward"] .phone-reward strong{color:#f88030!important}
/* Padronização dos controles e das páginas internas. */
#phone-screen .contact-options a:last-child{background:#102060;color:#fff}
#phone-screen .item-switch input:checked{background:#102060}
#phone-screen .item-switch{color:#102060}
#phone-screen .map-actions a{color:#102060}
#phone-screen .phone-nav{column-gap:16px}
#phone-screen[data-brand-style] .design-block[data-block="info"] .phone-menu,
#phone-screen[data-brand-style] .design-block[data-block="addresses"] .phone-menu,
#phone-screen[data-brand-style] .design-block[data-block="care"] .phone-menu{background:#102060!important;color:#fff!important;border-color:#102060!important}
#phone-screen[data-brand-style] .design-block .phone-menu span{color:#fff!important;opacity:.8}
#phone-screen[data-brand-style] .phone-page .phone-contact{background:#102060!important;color:#fff!important;border-color:#102060!important}
#phone-screen[data-brand-style] .phone-page .phone-contact span{color:#fff!important;opacity:.8}
#phone-screen[data-brand-reward] .phone-page .phone-reward{background:#fff0e4!important;color:#f88030!important;border-color:#ffd4b4!important}
#phone-screen[data-brand-reward] .phone-page .phone-reward span,#phone-screen[data-brand-reward] .phone-page .phone-reward strong{color:#f88030!important}
#phone-screen[data-tone]:not([data-brand-style]) .phone-page .phone-contact:not(.secondary){background:var(--tone-contact-bg)!important;color:var(--tone-contact-text)!important;border-color:var(--tone-contact-border)!important}
#phone-screen[data-tone]:not([data-brand-style]) .phone-page .phone-contact.secondary{background:var(--tone-contact2-bg)!important;color:var(--tone-contact2-text)!important;border-color:var(--tone-contact2-border)!important}
#phone-screen[data-tone]:not([data-brand-reward]) .phone-page .phone-reward{background:var(--tone-reward-bg)!important;color:var(--tone-reward-text)!important;border-color:var(--tone-reward-border)!important}
#phone-screen .phone-page [data-view="care"].button{background:#102060;color:#fff}
#phone-screen .share-buttons button,#phone-screen .share-choice button{color:#102060}
/* Contatos pulsam com luz na borda; Compartilhar busca balança levemente. */
@property --tagpet-light-angle{syntax:'<angle>';initial-value:0deg;inherits:false}
@keyframes tagpet-border-light{to{--tagpet-light-angle:360deg}}
@keyframes tagpet-contact-pulse{0%,100%{opacity:.08}50%{opacity:.65}}
@keyframes tagpet-share-rock{0%,100%{transform:rotate(-1.2deg)}50%{transform:rotate(1.2deg)}}
#phone-screen .phone-contact{position:relative;isolation:isolate;overflow:hidden}
#phone-screen .phone-contact::before{content:'';position:absolute;inset:0;border-radius:inherit;background:rgba(255,255,255,.42);z-index:-1;pointer-events:none;animation:tagpet-contact-pulse 3.6s ease-in-out infinite!important}
#phone-screen .phone-contact::after{content:'';position:absolute;inset:0;border-radius:inherit;padding:2px;background:conic-gradient(from var(--tagpet-light-angle),transparent 0deg,transparent 270deg,rgba(255,255,255,.95) 310deg,rgba(248,128,48,.95) 335deg,transparent 360deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;pointer-events:none;animation:tagpet-border-light 4.8s linear infinite!important}
#phone-screen .phone-emergency{animation:tagpet-share-rock 2.4s ease-in-out infinite!important;transform-origin:center}
/* Ajustes de contato, WhatsApp e navegação do lote aprovado. */
#phone-screen[data-brand-style] .phone-contact span,#phone-screen[data-brand-style] .phone-menu span{color:#fff!important;opacity:1!important}
#phone-screen .contact-options a:first-child,#phone-screen .contact-options a:first-child:hover{background:#087f5b;color:#fff}
#phone-screen .map-actions a,#phone-screen .map-actions a:hover{background:#102060;color:#fff;border-color:#102060}
/* Botões selecionados da página de compartilhamento e retorno ao perfil. */
#phone-screen .emergency-layout button[data-social="whatsapp"],
#phone-screen .emergency-layout button[data-social="instagram"],
#phone-screen .emergency-layout button[data-social="facebook"],
#phone-screen .emergency-layout button[data-social="x"],
#phone-screen .emergency-layout button[data-action="link"],
#phone-screen .emergency-layout button[data-action="copy"],
#phone-screen .emergency-layout button[data-action="share"]{background:#102060!important;color:#fff!important;border-color:#102060!important}
#phone-screen .phone-nav button[data-view="home"],
#phone-screen .phone-bottom-nav button[data-view="home"]{background:#102060!important;color:#ff9149!important;border-color:#102060!important}
#phone-screen .phone-nav button[data-view="home"]{padding:5px 8px;border-radius:6px}
/* Mesmo efeito ao passar o mouse nos botões solicitados. */
@media (hover:hover) and (pointer:fine){
#phone-screen .share-buttons button[data-social],#phone-screen .phone-menu,#phone-screen .map-actions a,#phone-screen .phone-reward{transition:transform .18s ease,box-shadow .18s ease}
#phone-screen .share-buttons button[data-social]:hover,#phone-screen .phone-menu:hover,#phone-screen .map-actions a:hover,#phone-screen .phone-reward:hover{transform:translateY(-2px);box-shadow:0 9px 25px #153fe526}
}

/* Perfil público: manter apenas a navegação do visitante. */
body.visitor-mode .editor-header{display:none}
.visitor-mode .editor-workspace{padding-top:8px}
.visitor-mode .profile-surface .phone-portrait{width:174px;height:174px;border-radius:30px}
.visitor-mode .profile-home-brand .profile-brand{font-size:20px}
/* Mesmo padrão de cores da Central, na versão pública. */
#phone-screen .phone-contact,#phone-screen .phone-contact.secondary,#phone-screen .phone-menu{background:#102060!important;color:#fff!important;border-color:#102060!important}
#phone-screen .phone-contact span,#phone-screen .phone-menu span{color:#fff!important;opacity:1!important}
#phone-screen .phone-reward{background:#fff0e4!important;color:#f88030!important;border-color:#ffd4b4!important}
#phone-screen .phone-reward span,#phone-screen .phone-reward strong{color:#f88030!important}
#phone-screen .phone-section-heading{color:#102060!important}
