/* Distinct content proportions, one existing Popple material/color vocabulary. */
@media(max-width:767px){.popple-publish-controls>button[type=submit]{position:sticky;bottom:calc(80px + env(safe-area-inset-bottom));z-index:2;scroll-margin-block:100px}.popple-publish-controls{padding-bottom:16px}}
.popple-analytics-bars meter::-webkit-meter-bar{background:var(--popple-line);border:0;border-radius:9px}.popple-analytics-bars meter::-webkit-meter-optimum-value{background:var(--popple-text);border-radius:9px}.popple-analytics-bars meter::-moz-meter-bar{background:var(--popple-text)}body .popple-analytics-workspace button{background:var(--popple-plane);color:var(--popple-text);border:1px solid var(--popple-line);box-shadow:none;padding:10px 16px}
body .popple-plugin-workspace button.popple-plugin-primary{border:0;box-shadow:none;background-image:none;text-shadow:none}.popple-publish-controls input[type=file]::file-selector-button{border:0;border-radius:8px;background:var(--popple-plane);color:var(--popple-text);padding:10px 12px;margin-inline-end:12px;font:inherit;cursor:pointer}
body .popple-capsule-editor{max-width:820px}.popple-capsule-editor form{display:grid;gap:24px}.popple-capsule-editor .ow_form_row{display:grid;gap:10px;padding:0;margin:0}.popple-capsule-editor .ow_form_row[hidden]{display:none}.popple-capsule-editor :is(input,select,textarea){width:100%;min-height:46px;box-sizing:border-box}.popple-capsule-editor textarea{min-height:180px;resize:vertical}.popple-capsule-editor label{font-size:14px;font-weight:600}.popple-capsule-editor button{min-height:44px}.capsule-geo [role=status]{display:block;font-size:12px;line-height:1.6;margin-top:12px}
.popple-media-composer{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(250px,1fr);gap:36px;align-items:start}.popple-publish-error{grid-column:1/-1;padding:16px;border-inline-start:3px solid currentColor}.popple-media-preview{display:grid;place-items:center;min-height:360px;aspect-ratio:4/5;background:var(--popple-plane);border-radius:24px;overflow:hidden;color:var(--popple-muted)}.popple-media-preview :is(img,video){width:100%;height:100%;max-height:640px;object-fit:contain}.popple-publish-controls{display:grid;gap:16px;padding-block:12px}.popple-publish-controls label{font-size:14px;font-weight:600}.popple-publish-controls input[type=file]{width:100%;box-sizing:border-box;padding:12px;border:1px solid var(--popple-line);border-radius:12px;min-height:48px}.popple-publish-controls textarea{resize:vertical;min-height:130px;box-sizing:border-box;width:100%}.popple-upload-note,.popple-publish-controls [role=status]{font-size:12px;line-height:1.7;color:var(--popple-muted);overflow-wrap:anywhere}.popple-publish-controls button{justify-self:start}
@media(max-width:767px){.popple-media-composer{grid-template-columns:1fr;gap:20px}.popple-media-preview{min-height:180px;height:clamp(180px,24svh,240px);aspect-ratio:auto}.popple-media-preview :is(img,video){max-height:55dvh}.popple-publish-controls button{justify-self:stretch}}
body .popple-plugin-workspace{max-width:1120px;margin:36px auto 80px;padding:0 28px;color:var(--popple-text)}
.popple-plugin-workspace>header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}
.popple-plugin-workspace header small{font-size:10px;letter-spacing:.16em;color:var(--popple-muted)}
.popple-plugin-workspace h1{font-size:clamp(30px,4vw,46px);line-height:1.1;letter-spacing:-.045em;margin:12px 0}
body :is(.popple-plugin-workspace,.popple-identity-workspace) h1{text-transform:none}
body .popple-identity-workspace input:not([type=hidden]){min-height:46px;width:100%;padding:12px;border:1px solid var(--popple-line);border-radius:12px;background:var(--popple-paper);color:var(--popple-text);box-shadow:none;box-sizing:border-box}
body .popple-shop-workspace .popshop-product-detail .popshop-product-image:not(:has(img)){aspect-ratio:auto;min-height:180px}
.popple-plugin-workspace header p{max-width:52ch;color:var(--popple-muted);line-height:1.65}
body .popple-plugin-primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;flex-shrink:0;padding:0 18px;border-radius:24px;background:var(--popple-text);color:var(--popple-contrast);font-size:13px;font-weight:650}
.popple-plugin-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--popple-line);padding-bottom:16px;margin-bottom:24px}.popple-plugin-tabs a{padding:10px 16px;min-height:44px;box-sizing:border-box;border-radius:12px}.popple-plugin-tabs a:hover{background:var(--popple-plane)}
.popple-plugin-empty{grid-column:1/-1;max-width:480px;padding:56px 24px;margin:auto;text-align:center}.popple-plugin-empty p{line-height:1.65;color:var(--popple-muted)}
.popple-text-action{display:inline-flex;min-height:44px;align-items:center;font-size:13px;text-underline-offset:5px}
body .popple-stories-workspace #stories-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;overflow:visible}
body .popple-stories-workspace .story-item{border-radius:24px;background:var(--popple-plane);overflow:hidden;min-width:0}
body .popple-stories-workspace .story-item :is(img,video){width:100%;max-width:none;aspect-ratio:9/14;object-fit:contain;display:block;background:#080808;border-radius:0}
body .popple-bursts-workspace #bursts-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;max-width:900px;margin:auto}
body .popple-bursts-workspace .burst-item{padding:0;box-shadow:none;background:transparent;border-radius:0;overflow:visible}
body .popple-bursts-workspace .burst-item video{width:100%;max-height:600px;aspect-ratio:9/12;object-fit:contain;background:#080808;border-radius:22px;transform:none;transition:none}
.popple-bursts-workspace .burst-item p{font-size:15px;line-height:1.65;padding:8px 4px;white-space:pre-wrap;overflow-wrap:anywhere}
body .popple-capsules-workspace #capsules-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
body .popple-capsules-workspace .capsule-item{padding:28px;background:var(--popple-plane);border:1px solid var(--popple-line);border-radius:22px;box-shadow:none;min-height:140px;display:flex;flex-direction:column;justify-content:center;gap:18px}
.popple-capsules-workspace :is(.capsule-locked,.capsule-geo){font-size:23px;font-weight:600;letter-spacing:-.03em}.popple-capsules-workspace .capsule-text{white-space:pre-wrap;line-height:1.75}.popple-capsules-workspace .capsule-expire{color:var(--popple-muted);font-size:12px}
body .popple-layers-workspace{max-width:800px}body .popple-layers-workspace #layers-feed{display:block;margin-top:32px}body .popple-layers-workspace #layers-feed article{margin:0;padding:28px 0;background:transparent;border:0;border-bottom:1px solid var(--popple-line);box-shadow:none;border-radius:0}body .popple-layers-workspace #layers-feed article p{font-size:18px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}body .popple-layers-workspace #layers-feed img{max-height:500px;object-fit:contain;border-radius:18px}.popple-layers-workspace button{min-height:44px}
body .popple-shop-workspace .popshop-product-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:24px}
body .popple-shop-workspace .popshop-product{padding:0;background:transparent;border:0;box-shadow:none;min-width:0}.popshop-product-image{display:grid;place-items:center;background:var(--popple-plane);border-radius:20px;overflow:hidden;aspect-ratio:1;color:var(--popple-muted)}
body .popple-shop-workspace .popshop-product img{width:100%;height:100%;object-fit:contain;max-width:100%}.popple-shop-workspace .popshop-product h2{font-size:18px;margin:18px 0 8px}.popple-shop-workspace .popshop-product p{color:var(--popple-muted);font-size:13px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.popple-shop-workspace .popshop-product strong{display:block;font-size:14px}
body .popple-shop-workspace .popshop-product-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:48px;background:transparent;padding:20px 0;border:0;box-shadow:none}.popshop-product-detail img{width:100%;height:100%;object-fit:contain}.popshop-description{white-space:pre-wrap;line-height:1.8;color:var(--popple-muted);overflow-wrap:anywhere}.popshop-price{display:block;font-size:24px;margin:24px 0}.popshop-product-detail button{min-height:44px}
body .popple-shop-workspace .popshop-order{padding:24px 0;margin:0;border:0;border-bottom:1px solid var(--popple-line);background:transparent;box-shadow:none}.popshop-order header{display:flex;justify-content:space-between;align-items:center;gap:12px}.popshop-order h2{font-size:20px}.popshop-order dl{display:flex;gap:36px;flex-wrap:wrap}.popshop-order dt{font-size:12px;color:var(--popple-muted)}.popshop-order dd{margin:6px 0;overflow-wrap:anywhere}
.popple-plugin-table{overflow:auto}.popple-plugin-table table{width:100%;border-collapse:collapse;text-align:left}.popple-plugin-table :is(th,td){padding:16px;border-bottom:1px solid var(--popple-line)}.popple-plugin-search{display:grid;grid-template-columns:1fr auto;gap:12px;max-width:650px}.popple-plugin-search label{grid-column:1/-1}.popple-plugin-search button{min-height:44px}
body .popple-identity-workspace{max-width:760px}.popple-identity-workspace form{display:grid;gap:18px;max-width:480px}.popple-identity-workspace label{display:grid;gap:8px}.popple-identity-workspace button{min-height:44px}
@media(max-width:767px){body .popple-plugin-workspace{margin:24px auto 48px;padding:0 20px}.popple-plugin-workspace>header{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:24px}body .popple-stories-workspace #stories-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body .popple-bursts-workspace #bursts-list,body .popple-capsules-workspace #capsules-list{grid-template-columns:1fr;gap:24px}body .popple-bursts-workspace .burst-item video{max-height:68dvh}body .popple-shop-workspace .popshop-product-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.popple-shop-workspace .popshop-product h2{font-size:16px}body .popple-shop-workspace .popshop-product-detail{grid-template-columns:1fr;gap:24px}.popple-plugin-table :is(th,td){padding:12px}.popple-plugin-primary{width:auto}.popple-identity-workspace form{max-width:100%}}
@media(prefers-reduced-motion:reduce){.popple-plugin-workspace *{scroll-behavior:auto;animation:none!important;transition:none!important}}
/* Editorial reading, community browsing and preferences keep different structures. */
body .popple-journal-workspace .ow_blogs_list{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(190px,1fr);gap:40px}body .popple-journal-workspace .ow_blogs_list>:is(.ow_superwide,.ow_supernarrow){float:none!important;width:auto;min-width:0}.popple-journal-workspace .ow_ipc{background:transparent;padding-block:24px;border-bottom:1px solid var(--popple-line)}.popple-journal-workspace .ow_ipc_info{font-size:16px;line-height:1.8}.popple-journal-workspace .ow_ipc_header{font-size:24px;line-height:1.3}
body .popple-groups-workspace .ow_group_list>.ow_superwide,body .popple-events-workspace .ow_event_list>.ow_superwide{width:100%;max-width:none}.popple-groups-workspace .ow_group_list>.ow_superwide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.popple-groups-workspace .ow_group_list .ow_ipc{margin:0;padding:22px;border:1px solid var(--popple-line);border-radius:18px;background:var(--popple-plane)}.popple-groups-workspace .ow_group_list :is(.ow_paging,br,.ow_nocontent){grid-column:1/-1}.popple-events-workspace .ow_event_list .ow_ipc{background:transparent;border:0;border-bottom:1px solid var(--popple-line);border-radius:0;padding:24px 0}.popple-events-workspace .ow_ipc_header{font-size:22px}
body .popple-forum-workspace .ow_forum{width:100%;table-layout:fixed;border-collapse:collapse;background:transparent}.popple-forum-workspace .ow_forum :is(td,th){padding:18px 14px;border-bottom:1px solid var(--popple-line);vertical-align:top;background:transparent;overflow-wrap:anywhere}.popple-forum-workspace .ow_forum th{background:var(--popple-plane);font-size:12px}.popple-forum-workspace .ow_forum .ow_name{width:46%}.popple-forum-workspace .ow_forum :is(.ow_topics,.ow_replies){width:10%;text-align:center}.popple-forum-workspace .ow_forum .ow_author{width:26%}
body .popple-people-workspace .ow_user_list>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:transparent;margin-bottom:16px}.popple-people-workspace .ow_item_set3{width:auto;float:none;min-width:0;padding:20px;background:var(--popple-plane);border-radius:18px}.popple-people-workspace .ow_user_list .ow_user_list_picture img{border-radius:50%}
body :is(.popple-preferences-workspace,.popple-notifications-workspace,.popple-support-workspace){max-width:820px}body :is(.popple-preferences-workspace,.popple-notifications-workspace) :is(.ow_superwide,.ow_wide){width:100%;max-width:none}.popple-preferences-workspace .ow_table_1,.popple-notifications-workspace .ow_table_1,.popple-support-workspace .ow_table_1{width:100%;border-collapse:collapse}.popple-preferences-workspace .ow_table_1 td,.popple-notifications-workspace .ow_table_1 td,.popple-support-workspace .ow_table_1 td{background:transparent;border-bottom:1px solid var(--popple-line);padding:18px 12px;line-height:1.6}.popple-notifications-workspace .ow_table_1 th{padding:22px 12px 12px;text-align:left;background:var(--popple-plane)}.popple-support-workspace textarea{min-height:180px}.popple-support-workspace .ow_label{vertical-align:top}.popple-preferences-workspace .ow_desc{color:var(--popple-muted);font-size:12px}
.popple-gallery-workspace .ow_photo_list_wrap{background:transparent}.popple-video-workspace .ow_video_list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.popple-video-workspace .ow_video_list_item{float:none;width:auto;min-width:0;margin:0}.popple-video-workspace .ow_video_list_item img{width:100%;border-radius:16px;object-fit:cover;aspect-ratio:16/9}
@media(max-width:767px){body .popple-journal-workspace .ow_blogs_list{grid-template-columns:1fr;gap:24px}.popple-groups-workspace .ow_group_list>.ow_superwide{grid-template-columns:1fr}body .popple-people-workspace .ow_user_list>div{grid-template-columns:1fr}.popple-forum-workspace .ow_forum{table-layout:auto}.popple-forum-workspace .ow_forum :is(td,th){padding:12px 6px;font-size:12px}.popple-forum-workspace .ow_forum .ow_name{width:45%}.popple-forum-workspace .ow_forum .ow_author{width:30%;font-size:11px}.popple-video-workspace .ow_video_list{grid-template-columns:repeat(2,minmax(0,1fr))}.popple-preferences-workspace tr.ow_privacy,.popple-support-workspace .ow_table_1 tr{display:grid;grid-template-columns:1fr}.popple-preferences-workspace tr.ow_privacy td,.popple-support-workspace .ow_table_1 td{display:block;width:100%;padding:8px 0;border:0;text-align:left}.popple-preferences-workspace tr.ow_privacy,.popple-support-workspace .ow_table_1 tr{padding:16px 0;border-bottom:1px solid var(--popple-line)}.popple-preferences-workspace select,.popple-support-workspace input:not([type=submit]),.popple-support-workspace textarea{width:100%;min-height:44px}}
@media(max-width:767px){.popple-shop-workspace .popple-plugin-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.popple-shop-workspace .popple-plugin-tabs a{text-align:center;padding:10px 4px;font-size:13px}}

.popple-analytics-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0}.popple-analytics-totals>div{padding:24px 0;border-top:1px solid var(--popple-line)}.popple-analytics-totals dt{font-size:13px;color:var(--popple-muted)}.popple-analytics-totals dd{font-size:clamp(34px,5vw,60px);font-weight:600;letter-spacing:-.05em;margin:14px 0}.popple-analytics-totals p{font-size:12px;line-height:1.7;color:var(--popple-muted)}.popple-analytics-bars{display:grid;gap:18px;padding:30px;background:var(--popple-plane);border-radius:20px;margin-bottom:24px}.popple-analytics-bars>div{display:grid;grid-template-columns:70px 1fr;gap:20px;align-items:center}.popple-analytics-bars meter{width:100%;height:18px;accent-color:var(--popple-text)}.popple-analytics-workspace button{min-height:44px}
@media(max-width:767px){.popple-analytics-totals{grid-template-columns:1fr;gap:0}.popple-analytics-totals>div{padding:20px 0}.popple-analytics-totals dd{margin:6px 0}.popple-analytics-bars{padding:20px}}
