/* PAWGO shared visual system. White reading surfaces, warm yellow actions. */
:root{--color-primary:#FFC44F;--color-primary-pressed:#e8c345;--color-background:#fff;--color-surface:#fff;--color-text:#25251f;--color-text-secondary:#727269;--color-border-subtle:#efefe9;--color-border-control:#b9b9ac;--color-blue-surface:#faf2d4;--color-blue-text:#64531e;--color-pink-surface:#faf2d4;--color-pink-text:#64531e;--font-title:700 24px/32px var(--font-family);--font-section:650 18px/26px var(--font-family);--radius-card:20px;--radius-button:14px}
body{background:#f0f0e9;color:var(--color-text)}#phone,#app,.header,.personal-head,.community-header,.knowledge-head{background:#fff}button,input,textarea,select{font-family:inherit}.primary{background:var(--color-primary)!important;color:#302b1d!important;border:0!important;border-radius:14px;font-weight:600;box-shadow:none!important}.primary:hover{background:#f3ce52!important}.primary:active{background:var(--color-primary-pressed)!important}.secondary{background:#f4f4ee;border:0!important;border-radius:14px;font-weight:600}.icon{width:22px;height:22px;stroke-width:1.8}.searchbox{background:#f5f5ef;border:0!important;border-radius:16px}.searchbox input{font-size:14px}.tag,.tag.blue,.tag.pink,.sex,.sex.female{background:#faf2d4;color:#64531e;border:0;border-radius:8px}.tag{font-size:11px;line-height:18px}.filter,.species-tabs button,.record-tabs button,.record-period button,.layers button{border:0!important;background:#f5f5ef;border-radius:12px;font-size:14px}.filter.on,.species-tabs .on,.record-tabs .on,.record-period .on,.layers .on{background:#FFC44F!important;color:#302b1d;font-weight:600}.nav{background:#fff;border-top:1px solid #efefe9;box-shadow:none}.nav .on span{background:#FFC44F;border-radius:14px;box-shadow:none}.nav button{font-size:11px}.sheet{background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -8px 32px #25251f12}.sheethead{border-bottom:0}.petcard,.current-pet-card,.personal-entry,.knowledge-card,.record-card,.feedbackcard,.owner,.publicpost,.source-box,.privacy-controls{border:0!important;border-radius:20px;background:#f7f7f2;box-shadow:none}.personal-entry .entry-icon,.personal-entry.pink .entry-icon{background:#faedbc;color:#64531e;border-radius:12px}.personal-entry.pink{background:#f7f7f2}.personal-secondary button,.settings-row{background:#f7f7f2;border:0;border-radius:16px}.my-pet{background:#f7f7f2;border:0;padding:12px}.my-pet.on{padding:12px;border:0;background:#faf0cb;box-shadow:inset 0 0 0 2px #e2c768}.my-pet.add{border:0;background:#f4f4ee}.community-fixed,.bottomactions,.composer{background:#fff;border-top:1px solid #efefe9}.personal-form input,.personal-form select,.personal-form textarea,.record-form input,.record-form textarea{background:#fff;border:1px solid #b9b9ac;border-radius:12px}.privacy,.privacy-summary,.locked-pet{background:#faf2d4!important;color:#64531e!important}.pending-tools span{background:#f5f5ef;border:0}.message p{background:#faf0cb;color:#302b1d}.cardfoot{border-top:0}.breed-grid img{background:#f4f4ee}.knowledge-tag.blue{background:#faf2d4;color:#64531e}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #64531e!important;outline-offset:2px}
/* Community reference: a single aligned content column per post. */
.community-brand{display:flex;gap:8px;align-items:center;padding:8px 0 12px}.community-brand h1{flex:1;font-size:25px;line-height:32px;font-weight:750;margin:0}.community-brand h1 em{font-size:16px;font-style:normal;color:#8b887b;margin-left:6px}.community-brand>.iconbtn{background:#fff;width:44px;min-width:44px;border-radius:50%;box-shadow:0 2px 12px #25251f0c}.community-tabs{border-bottom:1px solid #efefe9!important;margin:0}.community-tabs button{font-size:16px;position:relative;background:transparent!important;border-radius:0!important;color:#727269;font-weight:500}.community-tabs button.on{color:#25251f;font-weight:700}.community-tabs button.on:after{content:'';display:block!important;position:absolute;bottom:0;left:32%;right:32%;height:4px;border-radius:4px;background:#FFC44F}.x-feed{padding:0!important;background:#fff}.x-feed .reference-post{position:relative;background:#fff;border:0!important;border-bottom:1px solid #efefe9!important;box-shadow:none!important;border-radius:0!important;margin:0!important;padding:16px 16px 8px 64px!important;overflow:visible}.x-feed .post-author{padding:0!important;min-height:22px;gap:4px}.x-feed .post-author>img{position:absolute;top:16px;left:16px;width:36px;height:36px;object-fit:cover;border-radius:50%;border:0;box-shadow:none}.x-feed .post-author .grow{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 6px;min-width:0}.x-feed .post-author b{font-size:15px;line-height:22px;font-weight:700}.x-feed .post-author small{font-size:11px;line-height:18px;color:#6d777d;overflow-wrap:anywhere}.feed-location{display:flex;gap:4px;align-items:center;font-size:12px;line-height:20px;color:#6d777d;margin:2px 0 6px}.feed-location .icon{width:13px;height:13px;color:#8d7529}.x-feed .daily-open{display:block;width:100%;text-align:left;min-height:0}.x-feed .post-caption{display:block!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:0 0 12px!important;font-size:15px;line-height:24px;color:#25251f;white-space:pre-wrap;overflow-wrap:anywhere;-webkit-line-clamp:unset}.feed-gallery{display:grid;grid-template-columns:1fr;gap:2px;aspect-ratio:1.5;border-radius:14px;overflow:hidden;background:#f4f4ee}.feed-gallery.multiple{grid-template-columns:repeat(2,minmax(0,1fr))}.feed-gallery img{width:100%;height:100%;display:block;object-fit:cover;min-height:0}.x-feed .reference-actions{display:flex;justify-content:space-between;align-items:center;padding:4px 0 0!important;border:0;gap:0}.reference-actions button,.feed-view{display:flex;align-items:center;justify-content:center;gap:4px;min-width:40px;min-height:44px;font-size:12px;color:#6d777d}.reference-actions .icon{width:18px;height:18px}.feed-view .icon{fill:none;stroke:currentColor;stroke-width:1.8}.reference-actions .on{color:#8d7529}.x-feed>.demofoot{padding:16px;font-size:11px;color:#8c8c81}.publish-fab{width:56px;height:56px;border-radius:18px!important;background:#FFC44F;box-shadow:0 4px 16px #25251f14;right:16px}.publish-fab .icon{width:28px;height:28px}
/* Friendly reference: image, badges, name and button aligned in normal flow. */
.friendly-pet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}.friendly-pet-tile{display:flex;flex-direction:column;min-width:0;background:#fff;border:0;border-radius:16px;overflow:hidden}.friendly-photo{display:block;width:100%;aspect-ratio:1.32;padding:0;min-height:0;overflow:hidden;border-radius:16px;flex:none}.friendly-photo img{display:block;width:100%;height:100%;object-fit:cover}.friendly-tile-content{padding:4px 6px 8px;flex:1}.friendly-tile-top{display:grid;grid-template-columns:minmax(0,1fr) 28px;gap:2px;align-items:center;min-height:44px}.friendly-tile-tags{display:flex;gap:3px;flex-wrap:wrap;align-content:center;min-width:0;max-height:34px;overflow:hidden}.friendly-tile-tags span{font-size:10px;line-height:14px;border-radius:7px;padding:1px 5px;background:#edf5d9;color:#3f4b2c;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}.friendly-tile-tags span+span{background:#faf2d4;color:#64531e}.tile-follow{position:static;display:grid;place-items:center;min-height:44px;width:28px;color:#929488}.tile-follow .icon{width:17px;height:17px}.tile-follow.on{color:#8d7529}.tile-follow.on .icon{fill:#FFC44F}.friendly-tile-bottom{display:grid;grid-template-columns:minmax(0,1fr) 56px;gap:4px;align-items:end}.friendly-pet-info{position:static;text-align:left;display:block;padding:0;min-width:0;min-height:50px;width:100%}.friendly-pet-info strong{display:block;white-space:nowrap;font-size:18px;line-height:26px;font-weight:700}.friendly-pet-info strong span{font-size:17px}.friendly-pet-info small{display:block;font-size:12px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tile-chat{position:static!important;width:56px;min-width:56px;min-height:44px;border-radius:24px!important;padding:0 8px!important;font-size:13px;margin:0;align-self:end}.friendly-pet-grid~.demofoot{margin-top:24px}
/* Real map UI must not alter map tile colours. */
#real-map{position:absolute;inset:0;z-index:0}#real-map .maplibregl-canvas{filter:none}.real-map-note{position:absolute;left:8px;top:28px;right:8px;z-index:450;pointer-events:none;background:#fffffff0;padding:6px 8px;border-radius:8px;font-size:10px;line-height:16px}.mapstage>.marker,.mapstage>.cluster,.mapstage>.fuzzy,.mapstage .mapbadge{display:none}.mapstage .maptools,.mapstage .mapcard{z-index:500}.mapstage .bottomhint{pointer-events:none;background:#fffffff0;border:0;border-radius:16px;margin:12px;bottom:0;box-shadow:0 4px 20px #25251f0a}.leaflet-container{font-family:var(--font-family)}.leaflet-control-attribution{font-size:10px!important}.example-map-links{position:absolute;left:12px;bottom:90px;z-index:450;display:flex;gap:8px}.example-map-links button{padding:0 12px;border-radius:20px;background:#fff;box-shadow:0 2px 10px #0001;font-size:12px;min-height:44px}.real-address-search{padding:16px;background:#f7f7f2;border-radius:16px;margin:12px 0}.real-address-search p{font-size:12px;line-height:20px;color:#727269}.real-address-search a{display:flex;align-items:center;justify-content:center;text-decoration:none;padding:12px;font-size:14px;min-height:44px}.real-place-heading{background:#faf2d4;padding:20px;border-radius:20px;margin-top:12px}.real-place-heading h1{font-size:24px;line-height:32px}.categories{overflow-x:auto;flex-wrap:nowrap}.categories button{flex-shrink:0}
@media(max-width:380px){.x-feed .reference-post{padding-left:60px!important;padding-right:12px!important}.x-feed .post-author>img{left:12px}.friendly-pet-info strong{font-size:17px}.friendly-pet-info small{font-size:11px}.friendly-tile-bottom{grid-template-columns:minmax(0,1fr) 52px;gap:2px}.tile-chat{width:52px;min-width:52px}}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .15s,transform .12s}button:active:not(:disabled){transform:scale(.98)}}
.place-pin-wrapper{background:none;border:0;overflow:visible}.place-pin{position:absolute;left:5px;top:2px;width:34px;height:34px;border-radius:50% 50% 50% 4px;background:#FFC44F;border:2px solid #fff;transform:rotate(-45deg);box-shadow:0 3px 8px #30281830;display:grid;place-items:center}.place-pin .icon{width:19px;height:19px;color:#302818;transform:rotate(45deg);fill:none;stroke:currentColor;stroke-width:1.8}.place-pin-label{position:absolute;top:53px;left:50%;transform:translateX(-50%);font-size:11px;line-height:16px;font-weight:600;white-space:nowrap;background:#fffffff0;color:#302818;padding:2px 6px;border-radius:6px;box-shadow:0 1px 4px #0001}.place-pin-wrapper:focus-visible{outline:3px solid #594900;outline-offset:3px}

/* Message inbox: reference hierarchy, restrained pet-themed pictograms. */
.inbox-header{padding:16px 20px 12px;flex:none}.inbox-header h1{font-size:24px;line-height:32px;margin:0;font-weight:700}.inbox-tools{padding:0 16px;flex:none}.inbox-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 16px}.inbox-shortcuts>button{background:#f8f8f4;border-radius:18px;height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-size:14px}.inbox-shortcut-icon{display:inline-grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#fff0b6;color:#5c4c21}.inbox-shortcut-icon .icon{width:23px;height:23px;stroke-width:1.8}.inbox-search{height:48px;display:flex;align-items:center;gap:10px;background:#f6f6f2;border-radius:14px;padding:0 16px}.inbox-search .icon{width:19px;height:19px;color:#818277}.inbox-search input{width:100%;min-width:0;border:0;outline:none;background:none;font-size:14px;height:44px}.inbox-search:focus-within{outline:2px solid #8d7529;outline-offset:2px}.inbox-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 4px}.inbox-tabs button{border-radius:12px;min-height:44px;background:#fafaf7;font-size:14px;color:#65665c}.inbox-tabs button.selected{background:#FFC44F;color:#302818;font-weight:700}.inbox-list{padding:0 16px!important}.inbox-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:16px 0;text-align:left;border-bottom:1px solid #ecece5;border-radius:0;min-height:88px;background:transparent}.inbox-avatar{width:52px;height:52px;border-radius:50%;display:inline-grid;place-items:center;overflow:hidden;background:#f9efcd;color:#494635;flex-shrink:0}.inbox-avatar img{width:100%;height:100%;object-fit:cover}.inbox-avatar.hospital,.inbox-avatar.groom{border-radius:16px}.inbox-avatar.groom{background:#f1eedf}.inbox-avatar .icon{width:26px;height:26px;stroke-width:1.8}.inbox-copy{min-width:0;display:flex;flex-direction:column;gap:5px}.inbox-copy strong{font-size:16px;line-height:24px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inbox-copy>span{font-size:12px;line-height:20px;color:#727269;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inbox-time{font-size:10px;line-height:18px;color:#818277;align-self:start;margin-top:3px}.inbox-demo{font-size:10px;line-height:18px;color:#818277;text-align:center;padding:16px 0;margin:0}.inbox-empty{text-align:center;padding:48px 20px;color:#727269}.inbox-empty b,.inbox-empty h2{font-size:18px;color:#25251f}.inbox-empty p{font-size:13px;line-height:22px}.inbox-merchant-chat{padding:24px 20px}.inbox-merchant-chat h2{font-size:20px}.inbox-merchant-chat>p{font-size:12px;color:#727269}
.location-unified{position:absolute;inset:0;z-index:4000;display:flex;align-items:flex-end}.location-backdrop{position:absolute;inset:0;background:#25251f55}.location-unified-sheet{position:relative;width:100%;max-height:85%;overflow-y:auto;background:#fff;border-radius:24px 24px 0 0;padding:8px 20px max(24px,env(safe-area-inset-bottom));box-shadow:0 -8px 32px #0001}.location-unified-sheet header{display:flex;justify-content:space-between;align-items:center}.location-unified-sheet h2{font-size:20px;line-height:28px;margin:12px 0}.location-unified-sheet .switchrow>div{min-width:0;flex:1}.location-unified-sheet .switch{flex:none}.location-unified-sheet .help{line-height:20px;margin:6px 12px 0 0}.location-unified-sheet .field{margin:24px 0}.location-unified-sheet label{display:block;font-size:14px;margin-bottom:8px}.pet-live-distance{font-size:10px!important;color:#727269}
/* Personal module follows the original sketch: owner, pet strip, 3×2 entries. */
.sketch-personal-title{padding:8px 20px;display:flex;align-items:center;justify-content:space-between;flex:none}.sketch-personal-title h1{font-size:24px;line-height:32px;margin:0}.sketch-personal-home{padding:8px 20px 24px!important}.sketch-owner{display:flex;align-items:center;gap:16px;padding:8px 0 20px}.sketch-owner>img{width:68px;height:68px;border-radius:50%;object-fit:cover}.sketch-owner-right{flex:1;min-width:0}.sketch-owner-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.sketch-owner-stats span{display:flex;flex-direction:column;align-items:center;font-size:12px;color:#727269;line-height:20px}.sketch-owner-stats b{font-size:20px;line-height:28px;color:#25251f}.sketch-owner-right>p{font-size:11px;line-height:18px;margin:8px 0 0;color:#727269;text-align:center}.sketch-personal-home .personal-section{margin:0 0 12px;padding:0;min-height:44px}.sketch-personal-home .personal-section h2{font-size:18px;margin:0}.sketch-personal-home .personal-section>button{width:44px;display:grid;place-items:center}.sketch-pet-strip{display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin;padding:2px 2px 12px;margin:0 -2px 20px;align-items:stretch}.sketch-pet-card{flex:0 0 calc((100% - 20px)/3);min-width:0;border-radius:16px;overflow:hidden;background:#f7f7f2;text-align:left;border:2px solid transparent;display:flex;flex-direction:column}.sketch-pet-card.on{border-color:#FFC44F;background:#fff9df}.sketch-pet-card>img{width:100%;aspect-ratio:1.05;object-fit:cover;display:block}.sketch-pet-card>span{padding:8px;min-width:0;display:block;width:100%}.sketch-pet-card strong{display:block;font-size:14px;line-height:22px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sketch-pet-card i{font-style:normal}.sketch-pet-card small{display:block;font-size:10px;line-height:18px;color:#727269;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sketch-pet-add{flex:0 0 calc((100% - 20px)/3);background:#f7f7f2;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font-size:12px;min-height:160px}.sketch-pet-add>.icon{width:32px;height:32px;padding:5px;background:#fff0b6;border-radius:50%}.sketch-personal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sketch-personal-grid>button{min-height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border-radius:18px;background:#f8f8f3;min-width:0}.sketch-personal-grid>button>span{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#fff0b6;color:#65501e}.sketch-personal-grid strong{font-size:13px;line-height:20px;font-weight:600}.sketch-personal-foot{font-size:10px;line-height:18px;color:#818277;text-align:center;margin:20px 0 0}.sketch-myprofile{padding:16px 20px!important}.sketch-profile-identity{display:flex;gap:12px;align-items:center}.sketch-profile-identity>img{width:64px;height:64px;border-radius:50%;object-fit:cover}.sketch-profile-identity>div{flex:1;min-width:0}.sketch-profile-identity h1{font-size:22px;line-height:30px;margin:0}.sketch-profile-identity h1>span{font-size:18px}.sketch-profile-identity p{font-size:12px;line-height:20px;color:#727269;margin:4px 0}.sketch-myprofile>.tags{margin:12px 0}.sketch-profile-album{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sketch-profile-album>img,.sketch-profile-album>div,.sketch-profile-album>button{width:100%;aspect-ratio:1;min-height:0;object-fit:cover;border-radius:12px;background:#f6f6f0;display:grid;place-content:center;text-align:center;font-size:10px;line-height:18px;color:#727269}.sketch-profile-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0 24px}.sketch-profile-shortcuts>button{min-height:76px;border-radius:16px;background:#fff6d7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:12px}.sketch-profile-shortcuts .icon{width:22px;height:22px}.sketch-pet-facts{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;margin:16px 0;font-size:14px;line-height:22px}.sketch-pet-facts dt{color:#727269}.sketch-pet-facts dd{margin:0;overflow-wrap:anywhere}.sketch-record-tabs{margin:0 20px 12px!important;flex:none}.sketch-record-tabs+ .pet-context{margin:0 auto 12px;width:max-content;max-width:calc(100% - 40px);border-radius:28px;padding:6px 12px;background:#f6f6ef;flex:none}.sketch-record-tabs+ .pet-context small{display:none}.sketch-record-tabs+ .pet-context img{width:32px;height:32px;border-radius:50%}.sketch-record-tabs+ .pet-context button{padding-left:12px}.sketch-record-tabs+ .pet-context+ .record-top{padding-top:0}
.sketch-week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:8px}.sketch-week-strip button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:48px;font-size:14px;border-radius:12px}.sketch-week-strip small{font-size:10px;color:#727269}.sketch-week-strip button.on{background:#fff0b6;color:#302818;font-weight:700}.record-top[hidden]{display:none!important}.ingredient-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.ingredient-list .knowledge-card{border:0!important;border-bottom:1px solid #eeeee7!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;margin:0;padding:16px 0;min-width:0}.ingredient-list .knowledge-card h2{font-size:15px}.ingredient-list .knowledge-card p{font-size:12px;line-height:20px}
.sketch-record-actions{display:flex;flex-direction:column;gap:8px}.sketch-record-actions>.secondary{width:100%;min-height:44px}.record-card.vaccine .record-heading{align-items:flex-start}.record-card.vaccine .record-mark{background:#fff0b6}
/* Conversation cards follow the supplied reference; no divider rows. */
.inbox-list{background:#faf5e6;padding:12px 12px 20px!important}.inbox-row{grid-template-columns:60px minmax(0,1fr) 34px;gap:12px;background:#fff;border:0;border-radius:20px;min-height:100px;padding:16px 12px;margin:0 0 12px;box-shadow:0 4px 14px #80641608}.inbox-row .inbox-avatar{width:60px;height:60px;border-radius:50%;border:2px solid #fff;box-shadow:0 2px 8px #65501e20}.inbox-row .inbox-avatar.hospital{background:#e5f0ff}.inbox-row .inbox-avatar.groom{background:#f6efdd}.inbox-name-line{display:flex;align-items:center;gap:6px;min-width:0}.inbox-name-line strong{font-size:15px;line-height:24px;font-weight:700;min-width:0;flex:0 1 auto}.inbox-role{font-size:10px;line-height:18px;padding:0 7px;border-radius:8px;background:#fff3ce;color:#806116;white-space:nowrap;flex:none;font-weight:600}.inbox-role.hospital{background:#e0edff;color:#245fa6}.inbox-role.groom{background:#f4eedc;color:#76602d}.inbox-copy{gap:4px}.inbox-copy>span:last-child{font-size:13px;line-height:22px;color:#8b8b7c}.inbox-trailing{display:flex;align-self:start;align-items:flex-end;flex-direction:column;gap:8px;padding-top:3px}.inbox-row .inbox-time{margin:0;font-size:11px;line-height:18px;white-space:nowrap;color:#8b8b7c}.inbox-unread{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:12px;background:#fa6388;color:#fff;font-size:11px;line-height:20px}.inbox-list .inbox-demo{padding:4px 0 12px}@media(max-width:380px){.inbox-row{grid-template-columns:52px minmax(0,1fr) 32px;gap:8px;padding:14px 10px}.inbox-row .inbox-avatar{width:52px;height:52px}.inbox-name-line{gap:4px}.inbox-name-line strong{font-size:14px}.inbox-role{padding:0 5px}}
.inbox-name-line strong{color:#25251f}
/* Compact message page: preserve hierarchy and comfortable tap areas. */
.inbox-header{padding-top:10px;padding-bottom:8px}.inbox-shortcuts{margin:4px 0 12px}.inbox-shortcuts>button{height:80px;border-radius:16px;gap:4px;font-size:13px}.inbox-shortcut-icon{width:32px;height:32px;border-radius:11px}.inbox-shortcut-icon .icon{width:20px;height:20px}.inbox-search{height:44px}.inbox-tabs{margin-top:10px}.inbox-row{grid-template-columns:48px minmax(0,1fr) 34px;gap:10px;min-height:80px;padding:12px;margin-bottom:8px;border-radius:16px}.inbox-row .inbox-avatar{width:48px;height:48px}.inbox-row .inbox-avatar .icon{width:23px;height:23px}.inbox-copy{gap:2px}.inbox-name-line strong{font-size:14px;line-height:22px}.inbox-copy>span:last-child{font-size:12px;line-height:20px}.inbox-trailing{gap:4px;padding-top:0}.inbox-unread{min-width:18px;height:18px;line-height:18px;font-size:10px}.inbox-list{padding-top:8px!important}@media(max-width:380px){.inbox-row{grid-template-columns:44px minmax(0,1fr) 32px;gap:8px;padding:10px;min-height:76px}.inbox-row .inbox-avatar{width:44px;height:44px}}
/* Message page: compact controls with a coherent warm-white palette. */
.inbox-header,.inbox-tools{background:#fff}.inbox-tools{padding-bottom:4px}.inbox-search{height:40px;border-radius:12px;padding:0 12px;gap:8px;background:#f5f5f0;position:relative}.inbox-search input{height:40px;font-size:13px}.inbox-search .icon{width:17px;height:17px;color:#7b7a6c}.inbox-search:before{content:'';position:absolute;inset:-2px 0;pointer-events:none}.inbox-tabs{gap:8px;margin:6px 0 0}.inbox-tabs button{position:relative;min-height:44px;background:transparent!important;border-radius:0!important;font-size:13px;isolation:isolate;color:#6f7064}.inbox-tabs button:before{content:'';position:absolute;inset:5px 0;border-radius:10px;background:#f5f5f0;z-index:-1}.inbox-tabs button.selected:before{background:#FFC44F}.inbox-tabs button.selected{color:#302818}.inbox-shortcuts>button{background:#f7f7f2}.inbox-shortcut-icon{background:#fff0bd;color:#65501e}.inbox-list{background:#f8f7f1}.inbox-row{background:#fff;box-shadow:0 2px 8px #40371804}.inbox-row .inbox-avatar.hospital{background:#f5edcf}.inbox-row .inbox-avatar.groom{background:#f1eedf}.inbox-role.hospital{background:#f8efcd;color:#725c22}.inbox-role.groom{background:#f1eedf;color:#686047}.inbox-role.owner{background:#fff2c9;color:#806116}.inbox-copy>span:last-child,.inbox-row .inbox-time{color:#7b7c70}.inbox-unread{background:#b75f39;color:#fff}.inbox-list .inbox-demo{color:#858576}
.inbox-list{background:#fff}
.inbox-role.owner{background:#fff0bd;color:#725514}.inbox-role.hospital,.inbox-role.groom{background:#e7f2df;color:#3d632b}
/* Community copy spacing matched to the supplied reference. */
.x-feed .post-caption{font-size:16px;line-height:24px;font-weight:400;letter-spacing:0;word-spacing:0;text-align:left;font-kerning:normal;line-break:auto;word-break:normal;overflow-wrap:break-word}
/* Daily feed proportions aligned with the latest reference image. */
.x-feed .reference-post{padding:12px 12px 6px 58px!important;border-bottom-color:#eee8da!important}.x-feed .post-author{min-height:20px;gap:4px}.x-feed .post-author>img{top:12px;left:12px;width:34px;height:34px;box-shadow:0 2px 7px #6d572219;border:2px solid #fff}.x-feed .post-author .grow{gap:0 4px}.x-feed .post-author b{font-size:14px;line-height:20px}.x-feed .post-author small{font-size:11px;line-height:18px;color:#566b7b}.x-feed .feed-location{margin:2px 0 6px;gap:4px;font-size:11px;line-height:18px;color:#566b7b}.x-feed .feed-location .icon{width:12px;height:12px;color:#b18327}.x-feed .post-caption{font-size:15px;line-height:21px;letter-spacing:0;word-spacing:0;margin-bottom:10px!important;color:#171916}.x-feed .feed-gallery{aspect-ratio:1.6;border-radius:12px}.x-feed .feed-gallery.multiple{aspect-ratio:2.05;grid-template-columns:repeat(2,minmax(0,1fr))}.x-feed .reference-actions{padding:4px 0 0!important;min-height:44px}.x-feed .reference-actions button,.x-feed .feed-view{color:#566b7b;font-size:11px;gap:4px;min-width:32px;min-height:44px}.x-feed .reference-actions .icon,.x-feed .feed-view .icon{width:18px;height:18px;stroke-width:1.8}.publish-fab{width:52px;height:52px;border-radius:17px!important}@media(max-width:380px){.x-feed .reference-post{padding-left:56px!important;padding-right:12px!important}.x-feed .post-author>img{left:12px;width:32px;height:32px}.x-feed .post-caption{font-size:14px;line-height:21px}}
.x-feed .post-caption{white-space:normal}

/* Global page surfaces: white across all five modules and detail pages. */
:root{--color-background:#fff;--color-surface:#fff}html,body,#phone,#app{background:#fff!important}.scroll,.header,.topbar,.community-header,.community-feed,.personal-head,.sketch-personal-title,.sketch-personal-home,.sketch-myprofile,.mapheader,.searchpage,.knowledge-head,.knowledge-body,.personal-form,.record-top,.pet-context,.chat,.inbox-list,.inbox-header,.inbox-tools,.inbox-merchant-chat,.composer,.community-fixed,.bottomactions,.nav,.sheet,.personal-sheet,.location-unified-sheet{background-color:#fff!important}
