/* GENERATED FILE - DO NOT EDIT. Built by halfpix-dayoo-src/build-css.ps1 from the stylesheets below, in this order. */

/* ==== assets/pages.css ==== */
/*
Theme Name: Halfpix App
Theme URI: https://www.halfpix.com/
Author: Halfpix
Description: Complete native WordPress application theme for Halfpix App Core.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: halfpix-app
*/

@font-face{font-family:"DM Sans";src:url("assets/fonts/dm-sans-variable.ttf") format("truetype");font-style:normal;font-weight:100 1000;font-display:swap}
@font-face{font-family:"DM Serif Display";src:url("assets/fonts/dm-serif-display-regular.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}

:root{--hp-green:#276b60;--hp-deep:#1d5047;--hp-soft:#ddefe7;--hp-bg:#f5f8f7;--hp-card:#fff;--hp-ink:#22332e;--hp-muted:#62716b;--hp-line:#dae4df;--hp-blue:#52748a;--hp-warn:#846b35;--hp-danger:#985b52;--hp-shadow:0 8px 24px rgb(34 51 46/.055);--font-sans:"DM Sans","Noto Sans SC","Source Han Sans SC","Microsoft YaHei",sans-serif;--font-display:"DM Serif Display","Noto Serif SC","Source Han Serif SC","Songti SC",serif;font-family:var(--font-sans);color:var(--hp-ink);background:var(--hp-bg)}
*{box-sizing:border-box}html{background:var(--hp-bg)}body{margin:0;background:radial-gradient(circle at 92% -10%,color-mix(in srgb, var(--celadon) 8%, transparent),transparent 32rem),var(--hp-bg);color:var(--hp-ink)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.hp-shell{min-height:100vh;padding-bottom:90px}.hp-header{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:18px;padding:14px clamp(18px,4vw,52px);border-bottom:1px solid rgb(218 228 223/.8);background:rgb(245 248 247/.9);backdrop-filter:blur(18px)}.hp-brand{display:flex;align-items:center;gap:10px;font-weight:850;font-size:22px;color:var(--hp-deep)}.hp-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:13px;background:var(--hp-green);color:white}.hp-desktop-nav{display:flex;align-items:center;gap:6px;margin-left:auto}.hp-nav-link{padding:10px 14px;border-radius:999px;color:var(--hp-muted);font-weight:700}.hp-nav-link:hover,.hp-nav-link.is-active{color:white;background:var(--hp-green)}.hp-account{display:flex;gap:8px;align-items:center}.hp-main{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:34px 0 50px}.hp-hero{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}.hp-kicker{color:var(--hp-green);font-size:13px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.hp-title{margin:6px 0 8px;font-family:Georgia,"Noto Serif SC",serif;font-size:clamp(34px,5vw,60px);line-height:1.05;font-weight:500}.hp-subtitle{max-width:650px;margin:0;color:var(--hp-muted);font-size:16px;line-height:1.7}.hp-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 24px}.hp-search{flex:1;min-width:220px;padding:13px 16px;border:1px solid var(--hp-line);border-radius:999px;background:white;color:var(--hp-ink);outline:none}.hp-search:focus{border-color:var(--hp-green);box-shadow:0 0 0 3px color-mix(in srgb, var(--celadon) 12%, transparent)}.hp-chip,.hp-button{border:0;border-radius:999px;padding:11px 16px;background:var(--hp-soft);color:var(--hp-deep);font-weight:800;cursor:pointer}.hp-chip.is-active,.hp-button{background:var(--hp-green);color:white}.hp-button:hover{background:var(--hp-deep)}.hp-button--ghost{background:white;color:var(--hp-deep);border:1px solid var(--hp-line)}.hp-grid{columns:4 230px;column-gap:14px}.hp-card{display:inline-block;width:100%;margin:0 0 14px;overflow:hidden;border:1px solid var(--hp-line);border-radius:20px;background:var(--hp-card);box-shadow:var(--hp-shadow);break-inside:avoid}.hp-card-media{position:relative;background:#e5ede8}.hp-card-media img,.hp-card-media video{display:block;width:100%;height:auto;max-height:460px;object-fit:cover}.hp-video-badge{position:absolute;right:10px;top:10px;padding:6px 9px;border-radius:999px;background:rgb(17 28 25/.82);color:white;font-size:12px}.hp-card-body{padding:14px}.hp-author{display:flex;align-items:center;gap:8px;color:var(--hp-muted);font-size:12px}.hp-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;background:var(--hp-soft)}.hp-card-title{margin:11px 0 7px;font-size:16px;line-height:1.35}.hp-card-copy{margin:0;color:var(--hp-muted);font-size:13px;line-height:1.55}.hp-tags{margin-top:9px;color:var(--hp-green);font-size:12px}.hp-stats{display:flex;gap:12px;margin-top:12px;color:var(--hp-muted);font-size:12px}.hp-panel{padding:24px;border:1px solid var(--hp-line);border-radius:24px;background:white;box-shadow:var(--hp-shadow)}.hp-list{display:grid;gap:12px}.hp-list-item{display:grid;grid-template-columns:88px 1fr;gap:15px;padding:12px;border:1px solid var(--hp-line);border-radius:18px;background:white}.hp-list-item img{width:88px;height:100px;border-radius:13px;object-fit:cover;background:var(--hp-soft)}.hp-list-item h3{margin:2px 0 7px}.hp-meta{color:var(--hp-muted);font-size:13px}.hp-badge{display:inline-block;margin:0 6px 6px 0;padding:5px 9px;border-radius:999px;background:var(--hp-soft);color:var(--hp-deep);font-size:12px;font-weight:800}.hp-form{display:grid;gap:14px;max-width:720px}.hp-field{display:grid;gap:6px}.hp-field span{font-weight:750}.hp-field input,.hp-field select,.hp-field textarea{width:100%;padding:13px 14px;border:1px solid var(--hp-line);border-radius:14px;background:#fff;color:var(--hp-ink)}.hp-field textarea{min-height:150px;resize:vertical}.hp-empty{text-align:center;padding:56px 24px;border:1px dashed var(--hp-line);border-radius:24px;background:rgb(255 255 255/.65)}.hp-empty h2{margin:0 0 8px}.hp-empty p{color:var(--hp-muted)}.hp-alert{padding:14px 16px;margin-bottom:18px;border-radius:14px;background:#f2ecd9;color:#534321}.hp-alert.is-error{background:#fbefec;color:#94463d}.hp-loading{padding:55px;text-align:center;color:var(--hp-muted)}.hp-detail{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:24px}.hp-detail-media{overflow:hidden;border-radius:24px;background:#e5ede8}.hp-detail-media img,.hp-detail-media video{display:block;width:100%;height:auto}.hp-detail-body{position:sticky;top:90px;align-self:start}.hp-detail-body h1{font-family:Georgia,"Noto Serif SC",serif;font-weight:500;font-size:38px}.hp-bottom-nav{display:none}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:850px){.hp-desktop-nav{display:none}.hp-header{padding:11px 17px}.hp-account{margin-left:auto}.hp-main{width:min(100% - 24px,680px);padding-top:22px}.hp-hero{align-items:start}.hp-grid{columns:2 150px;column-gap:10px}.hp-card{margin-bottom:10px;border-radius:16px}.hp-card-body{padding:11px}.hp-detail{grid-template-columns:1fr}.hp-detail-body{position:static}.hp-bottom-nav{position:fixed;z-index:50;left:12px;right:12px;bottom:10px;display:grid;grid-template-columns:repeat(5,1fr);padding:8px;border:1px solid var(--hp-line);border-radius:25px;background:rgb(255 255 255/.94);box-shadow:0 12px 30px rgb(34 51 46/.14);backdrop-filter:blur(16px)}.hp-bottom-nav a{display:grid;place-items:center;gap:3px;padding:7px 2px;color:var(--hp-muted);font-size:11px;font-weight:750}.hp-bottom-nav a.is-active{color:var(--hp-green)}.hp-bottom-nav .hp-add{width:48px;height:48px;margin:-16px auto 0;border-radius:50%;background:var(--hp-green);color:white;font-size:28px}.hp-title{font-size:38px}.hp-subtitle{font-size:14px}.hp-list-item{grid-template-columns:72px 1fr}.hp-list-item img{width:72px;height:88px}}
@media(max-width:390px){.hp-grid{columns:2 130px}.hp-card-title{font-size:14px}.hp-header .hp-button--ghost{display:none}}
.hp-grid>.hp-empty{display:block;width:100%;column-span:all;break-inside:avoid}
.hp-shell{display:grid;grid-template-columns:248px minmax(0,1fr);padding-bottom:0}.hp-column{min-width:0}.hp-sidebar{position:sticky;top:0;height:100vh;padding:24px 18px;border-right:1px solid var(--hp-line);background:rgb(255 255 255/.82);backdrop-filter:blur(18px)}.hp-sidebar nav{display:grid;gap:7px;margin-top:34px}.hp-sidebar .hp-nav-link{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:14px}.hp-sidebar .hp-nav-link.is-active{background:var(--hp-soft);color:var(--hp-deep)}.hp-sidebar .hp-nav-link.is-create{margin:8px 0;background:var(--hp-green);color:white}.hp-nav-icon{display:grid;place-items:center;width:26px;height:26px;font-size:21px;font-weight:800}.hp-header{justify-content:flex-end;min-height:68px}.hp-mobile-brand{display:none}.hp-main{width:min(1420px,calc(100% - 48px))}
@media(max-width:850px){.hp-shell{display:block;padding-bottom:90px}.hp-sidebar{display:none}.hp-header{justify-content:space-between;min-height:auto}.hp-mobile-brand{display:flex}.hp-main{width:min(100% - 24px,680px)}}

/* 0.2: mirror the production Halfpix application shell. */
.hp-sidebar{padding:28px 22px;background:#fff}.hp-sidebar nav{margin-top:38px;gap:8px}.hp-sidebar .hp-nav-link{min-height:48px;padding:11px 15px;border-radius:15px;font-size:15px}.hp-sidebar .hp-nav-link:hover{background:var(--hp-soft);color:var(--hp-deep)}.hp-sidebar .hp-nav-link.is-create{margin:12px 0}.hp-header{height:74px;padding:12px 34px;background:rgb(245 248 247/.92)}.hp-header-search{display:flex;align-items:center;gap:10px;width:min(520px,48vw);margin-right:auto;padding:10px 15px;border:1px solid var(--hp-line);border-radius:999px;background:#fff}.hp-header-search input{width:100%;border:0;outline:0;background:transparent}.hp-header-tools{display:flex;align-items:center;gap:9px}.hp-header-tool{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border:1px solid var(--hp-line);border-radius:999px;background:#fff;color:var(--hp-deep);font-weight:800}.hp-main{padding-top:26px}.hp-main[data-view="home"] .hp-hero{display:none}.hp-main[data-view="home"] .hp-toolbar{position:sticky;top:92px;z-index:10;padding:8px;border-radius:999px;background:rgb(245 248 247/.92);backdrop-filter:blur(14px)}
@media(min-width:851px){.hp-bottom-nav{display:none!important}}
@media(max-width:850px){.hp-header{height:62px;padding:9px 14px}.hp-header-search{width:auto;flex:1;margin:0 8px}.hp-header-tools .hp-header-tool:not(.hp-account-button){display:none}.hp-main[data-view="home"] .hp-toolbar{top:72px}.hp-main[data-view="home"] .hp-search{display:none}}
.hp-cart-row{display:grid;grid-template-columns:72px minmax(0,1fr) 80px auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--hp-line)}.hp-cart-row img{width:72px;height:72px;border-radius:14px;object-fit:cover}.hp-qty{width:72px;padding:9px;border:1px solid var(--hp-line);border-radius:12px}.hp-checkout-bar{display:flex;justify-content:flex-end;align-items:center;gap:18px;padding-top:20px;font-size:18px}.hp-order-row{display:grid;grid-template-columns:1fr auto auto auto;gap:14px;align-items:center;padding:16px;border-bottom:1px solid var(--hp-line)}.hp-address{padding:18px;border-bottom:1px solid var(--hp-line)}.hp-auth-card{width:min(480px,100%);margin:50px auto}.hp-order-preview{align-self:start;position:sticky;top:100px}.hp-form input:focus,.hp-form textarea:focus,.hp-form select:focus{outline:0;border-color:var(--hp-green);box-shadow:0 0 0 3px color-mix(in srgb, var(--celadon) 12%, transparent)}
@media(max-width:650px){.hp-cart-row{grid-template-columns:58px minmax(0,1fr);}.hp-cart-row img{width:58px;height:58px}.hp-cart-row .hp-qty,.hp-cart-row .hp-remove{grid-row:2}.hp-order-row{grid-template-columns:1fr auto}.hp-order-preview{position:static}}
.hp-batch-item{width:100%;text-align:left;cursor:pointer}.hp-kiln-symbol{display:grid;place-items:center;width:70px;height:70px;border-radius:18px;background:var(--hp-soft);color:var(--hp-green);font-size:30px}.hp-kiln-editor:not(:empty){margin-bottom:24px}.hp-load-groups{display:grid;gap:14px}.hp-load-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border:1px solid var(--hp-line);border-radius:18px}.hp-load-group legend{padding:0 8px;font-weight:850;color:var(--hp-deep)}.hp-span-2{grid-column:1/-1}.hp-load-group textarea{min-height:80px}.hp-load-group .hp-remove-group{justify-self:start}@media(max-width:650px){.hp-load-group{grid-template-columns:1fr}.hp-span-2{grid-column:auto}}
.hp-action-row,.hp-journal-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.hp-comments{margin-top:28px;padding-top:18px;border-top:1px solid var(--hp-line)}.hp-comment{padding:14px 0;border-bottom:1px solid var(--hp-line)}.hp-comment-form{display:grid;gap:10px;margin-top:16px}.hp-comment-form textarea{min-height:90px;padding:12px;border:1px solid var(--hp-line);border-radius:14px}.hp-chip.is-active{background:var(--hp-green);color:#fff}.hp-journal-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.hp-journal-stats article{display:grid;gap:4px;padding:18px;border:1px solid var(--hp-line);border-radius:18px;background:#fff}.hp-journal-stats strong{font-size:28px;color:var(--hp-green)}.hp-journal-stats span{color:var(--hp-muted);text-transform:capitalize}.hp-journal-grid{columns:3 250px;column-gap:14px}.hp-journal-card{display:inline-block;width:100%;margin-bottom:14px;overflow:hidden;border:1px solid var(--hp-line);border-radius:20px;background:#fff;break-inside:avoid}.hp-journal-card .hp-card-media img{max-height:300px}.hp-journal-actions{padding:0 13px 13px}.hp-journal-editor:not(:empty){margin-bottom:20px}@media(max-width:850px){.hp-journal-grid{columns:2 160px}}@media(max-width:480px){.hp-journal-stats{grid-template-columns:repeat(3,1fr)}.hp-journal-stats article{padding:12px}.hp-journal-grid{columns:1}}
.hp-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px}.hp-profile-head{display:flex;align-items:center;gap:16px;margin-bottom:22px}.hp-profile-avatar{width:84px;height:84px;border-radius:50%;object-fit:cover;background:var(--hp-soft)}.hp-account-links{display:grid;align-content:start;gap:8px}.hp-account-links>a,.hp-account-links>button{display:block;width:100%;padding:12px 14px;text-align:left;border-radius:13px}.hp-account-links>a:hover{background:var(--hp-soft)}.hp-profile-results{margin-top:20px}.hp-address-editor:not(:empty){margin:18px 0}.hp-address .hp-badge{margin-left:8px}@media(max-width:700px){.hp-profile-grid{grid-template-columns:1fr}.hp-account-links{grid-template-columns:repeat(2,1fr)}}
.hp-public-profile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:20px;align-items:center;margin-bottom:24px}.hp-user-posts{margin-top:20px}.hp-product-detail .hp-button{display:inline-block;margin:14px 8px 0 0}.hp-product-gallery{display:grid;gap:12px}@media(max-width:600px){.hp-public-profile{grid-template-columns:auto 1fr}.hp-public-profile .hp-follow{grid-column:1/-1}}

/* Exact local design foundation. */
body{font-family:var(--font-sans);font-size:.9375rem;line-height:1.75;letter-spacing:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;background:radial-gradient(circle at 92% -8%,color-mix(in srgb, var(--celadon) 7%, transparent) 0,transparent 34rem),radial-gradient(circle at 4% 100%,rgb(82 125 104/.05) 0,transparent 36rem),var(--hp-bg)}
.hp-title,.hp-detail-body h1{font-family:var(--font-display);font-weight:400;letter-spacing:-.025em}.hp-mark{border-radius:6px;font-family:var(--font-display);font-weight:400;text-transform:lowercase}.hp-shell{grid-template-columns:248px minmax(0,1fr)}.hp-header{height:72px;background:rgb(255 255 255/.88)}.hp-header-search{height:42px;max-width:600px;border-radius:10px}.hp-sidebar .hp-nav-link{border-radius:10px;font-weight:600}.hp-sidebar .hp-nav-link.is-create{border-radius:16px}.hp-card{margin-bottom:10px;border-radius:18px;box-shadow:0 5px 16px rgb(36 28 24/.05)}.hp-card-body{padding:11px}.hp-card-title{font-size:14px;font-weight:600}.hp-panel{border-radius:16px}.hp-button,.hp-chip{font-weight:600}.hp-bottom-nav{height:68px;border-radius:28px}

/* Dayoo Me management layout — account lists, not the image masonry feed. */
.hp-me-shell{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:24px}.hp-me-main{min-width:0}.hp-me-results{min-width:0;margin-top:24px}
.hp-account-links{position:sticky;top:18px;display:grid;align-content:start;gap:6px;padding:10px;background:var(--hp-surface,#fff);border:1px solid var(--hp-border,#e7e4df);border-radius:18px;box-shadow:0 8px 26px rgba(33,28,20,.06)}
.hp-account-links>a,.hp-account-links>button{display:flex;align-items:center;min-height:44px;margin:0;padding:11px 13px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;line-height:1.25;text-align:left;text-decoration:none;cursor:pointer}.hp-account-links>a:hover,.hp-account-links>button:hover,.hp-account-links>a.is-active,.hp-account-links>button.is-active{background:var(--hp-soft,#f5f2ed)}.hp-account-links>a.is-active,.hp-account-links>button.is-active{font-weight:700;color:var(--hp-accent,#9c4d2e)}
.hp-me-list{display:grid;grid-template-columns:1fr;gap:12px}.hp-me-list>.hp-panel{margin:0;min-width:0}
.hp-me-item{display:grid;grid-template-columns:132px minmax(0,1fr) auto;align-items:stretch;gap:12px;min-height:156px;padding:12px;border:1px solid var(--hp-border,#e7e4df);border-radius:16px;background:var(--hp-surface,#fff);box-shadow:0 5px 18px rgba(33,28,20,.04)}
.hp-me-item__thumb{display:grid;place-items:center;align-self:stretch;width:132px;height:132px;overflow:hidden;border-radius:12px;background:var(--hp-soft,#f5f2ed);color:var(--hp-muted,#777)}.hp-me-item__thumb img{width:100%;height:100%;object-fit:cover}.hp-me-item__thumb svg{width:22px;height:22px}
.hp-me-item__copy{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:4px 0}.hp-me-item__copy>.hp-badge{display:inline-flex;align-self:flex-start;width:auto;max-width:100%;padding:6px 10px;line-height:1;white-space:nowrap}.hp-me-item__copy h3{margin:8px 0 3px;font-size:1rem;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hp-me-item__copy a{color:inherit;text-decoration:none}.hp-me-item__copy p{display:-webkit-box;overflow:hidden;margin:0 0 6px;color:var(--hp-muted,#777);font-size:.9rem;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.hp-me-item__copy small{color:var(--hp-muted,#777);font-size:.78rem}.hp-me-item__actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:4px 0}
.hp-me-list>.hp-panel{padding:18px}.hp-me-list>.hp-panel .hp-toolbar{margin-top:14px}
.hp-following-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px}.hp-following-card__profile{display:flex;min-width:0;align-items:center;gap:13px;color:inherit;text-decoration:none}.hp-following-card__profile span{display:grid;gap:3px;min-width:0}.hp-following-card__profile strong,.hp-following-card__profile small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hp-following-card__profile small{color:var(--hp-muted,#777)}
@media(max-width:900px){.hp-me-shell{grid-template-columns:1fr}.hp-account-links{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.hp-account-links>a,.hp-account-links>button{min-width:0;font-size:.92rem}}
@media(max-width:560px){.hp-account-links{grid-template-columns:1fr}.hp-me-item{grid-template-columns:116px minmax(0,1fr);min-height:140px;gap:12px;padding:12px}.hp-me-item__thumb{align-self:stretch;width:116px;height:116px;min-height:0}.hp-me-item__copy{padding:2px 0}.hp-me-item__copy p{-webkit-line-clamp:2}.hp-me-item__actions{grid-column:1/-1;justify-content:flex-start;padding:0 12px 14px}.hp-following-card{align-items:flex-start;flex-direction:column}.hp-following-card .hp-chip{width:100%}}

/* ==== style.css ==== */
/*
Theme Name: Halfpix Dayoo
Theme URI: https://halfpix.com/
Author: Halfpix
Description: Native WordPress application theme for the Halfpix ceramics community.
Version: 1.8.28
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: halfpix-dayoo
*/

:root{
  --hp-canvas:#f5f8f7;--hp-surface:#fff;--hp-surface-soft:#edf5f2;
  --hp-ink:#22332e;--hp-muted:#62716b;--hp-line:#d8e4df;
  --hp-primary:#276b60;--hp-primary-deep:#1d5047;--hp-primary-soft:#ddefe7;
  --hp-clay:#b9653d;--hp-clay-soft:#f3e3d9;--hp-danger:#985b52;
  --hp-shadow:0 8px 28px rgb(34 51 46/.065);
  --hp-font-sans:"DM Sans","Noto Sans SC","Microsoft YaHei",sans-serif;
  --hp-font-display:"DM Serif Display","Noto Serif SC","Songti SC",serif;
  --hp-rail:248px;--hp-header:72px;--hp-radius-sm:10px;--hp-radius-md:16px;--hp-radius-lg:22px;
  --hp-green:var(--hp-primary);--hp-deep:var(--hp-primary-deep);--hp-soft:var(--hp-primary-soft);
  --hp-bg:var(--hp-canvas);--hp-card:var(--hp-surface);--hp-blue:#52748a;--hp-warn:#846b35;
  --font-sans:var(--hp-font-sans);--font-display:var(--hp-font-display);
}
*{box-sizing:border-box}html{background:var(--hp-canvas);scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 96% 0,color-mix(in srgb, var(--celadon) 7.5%, transparent),transparent 34rem),var(--hp-canvas);color:var(--hp-ink);font-family:var(--hp-font-sans);font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}:focus-visible{outline:3px solid color-mix(in srgb, var(--celadon) 35%, transparent)}svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hp-app{display:grid;grid-template-columns:var(--hp-rail) minmax(0,1fr);min-height:100vh}.hp-rail{position:sticky;top:0;height:100vh;padding:28px 22px;border-right:1px solid var(--hp-line);background:rgb(255 255 255/.86);backdrop-filter:blur(18px)}.hp-brand{display:flex;align-items:center;gap:11px;color:var(--hp-primary-deep);font-size:22px;font-weight:800}.hp-brand__mark{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:var(--hp-primary);color:#fff;font-family:var(--hp-font-display);font-size:23px;font-weight:400}.hp-nav{display:grid;gap:7px;margin-top:36px}.hp-nav__item{display:flex;align-items:center;gap:13px;min-height:48px;padding:10px 14px;border-radius:var(--hp-radius-sm);color:var(--hp-muted);font-weight:650}.hp-nav__item:hover,.hp-nav__item.is-active{background:var(--hp-primary-soft);color:var(--hp-primary-deep)}.hp-nav__item.is-create{margin-block:8px;border-radius:15px;background:var(--hp-primary);color:#fff}.hp-nav__item.is-create:hover{background:var(--hp-primary-deep)}
.hp-column{min-width:0}.hp-header{position:sticky;z-index:40;top:0;display:flex;align-items:center;gap:18px;height:var(--hp-header);padding:12px clamp(18px,3vw,38px);border-bottom:1px solid rgb(216 228 223/.85);background:rgb(255 255 255/.88);backdrop-filter:blur(18px)}.hp-mobile-brand{display:none}.hp-search{display:flex;align-items:center;gap:10px;width:min(600px,55vw);min-height:42px;padding:0 14px;border:1px solid var(--hp-line);border-radius:var(--hp-radius-sm);background:#fff;color:var(--hp-muted)}.hp-search input{width:100%;border:0;background:transparent;color:var(--hp-ink);outline:0}.hp-header__actions{display:flex;align-items:center;gap:8px;margin-left:auto}.hp-icon-button,.hp-language{display:grid;place-items:center;min-width:40px;height:40px;padding:0 10px;border:1px solid var(--hp-line);border-radius:50%;background:#fff;color:var(--hp-primary-deep);cursor:pointer}.hp-language{border-radius:var(--hp-radius-sm)}.hp-account{position:relative}.hp-account__menu{position:absolute;top:48px;right:0;width:220px;padding:8px;border:1px solid var(--hp-line);border-radius:var(--hp-radius-md);background:#fff;box-shadow:var(--hp-shadow)}.hp-account__menu[hidden]{display:none}.hp-account__menu a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:9px}.hp-account__menu a:hover{background:var(--hp-primary-soft)}
.hp-main{width:min(1680px,calc(100% - 48px));margin-inline:auto;padding:28px 0 72px}.hp-page-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}.hp-eyebrow{margin:0 0 5px;color:var(--hp-primary);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.hp-page-title{margin:0;font-family:var(--hp-font-display);font-size:clamp(38px,5vw,64px);font-weight:400;letter-spacing:-.025em;line-height:1.06}.hp-page-copy{max-width:680px;margin:9px 0 0;color:var(--hp-muted)}.hp-panel{padding:24px;border:1px solid var(--hp-line);border-radius:var(--hp-radius-md);background:var(--hp-surface);box-shadow:var(--hp-shadow)}.hp-notice{display:flex;align-items:flex-start;gap:12px;padding:15px 17px;border-radius:var(--hp-radius-md);background:var(--hp-primary-soft);color:var(--hp-primary-deep)}.hp-notice.is-warning{background:var(--hp-clay-soft);color:#704126}.hp-notice p{margin:0}.hp-route-placeholder{display:grid;place-items:center;min-height:360px;text-align:center}.hp-route-placeholder svg{width:38px;height:38px;margin:auto;color:var(--hp-primary)}.hp-route-placeholder h2{margin:16px 0 5px;font-size:22px}.hp-route-placeholder p{max-width:520px;margin:0;color:var(--hp-muted)}
.hp-hero{margin-bottom:25px}.hp-title{font-family:var(--hp-font-display);font-weight:400}.hp-kicker{color:var(--hp-primary)}.hp-grid{columns:5 210px;column-gap:12px}.hp-card,.hp-journal-card{height:auto;margin:0 0 12px;border-color:var(--hp-line);break-inside:avoid;box-shadow:var(--hp-shadow)}.hp-card-media img,.hp-card-media video{width:100%;height:auto;object-fit:cover}.hp-card-body{height:auto}.hp-journal-grid{columns:4 230px;column-gap:12px}.hp-list-item{height:auto}.hp-badge{background:var(--hp-primary-soft);color:var(--hp-primary-deep)}.hp-button{background:var(--hp-primary)}.hp-button:hover{background:var(--hp-primary-deep)}.hp-search:focus-within{border-color:var(--hp-primary);box-shadow:0 0 0 3px color-mix(in srgb, var(--celadon) 12%, transparent)}
.hp-bottom-nav{display:none}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hp-notification-link{position:relative}.hp-notification-count{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#d43b4f;color:#fff;font-size:10px;font-weight:800;line-height:1}.hp-notification-count[hidden]{display:none}.hp-moderation-notice{margin-bottom:16px}.hp-moderation-status{border:1px solid var(--hp-line)}.hp-moderation-status.is-approved{color:#176b4f;background:#e8f7f0}.hp-moderation-status.is-published_provisional,.hp-moderation-status.is-quick_review,.hp-moderation-status.is-manual_review,.hp-moderation-status.is-appealed{color:#755912;background:#fff7d9}.hp-moderation-status.is-needs_changes,.hp-moderation-status.is-rejected,.hp-moderation-status.is-review_error{color:#8b303b;background:#fff0f2}.hp-moderation-reason{margin:6px 0;color:#8b303b;font-weight:650}.hp-notification-list{display:grid;gap:10px}.hp-notification{display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:16px;border:1px solid var(--hp-line);border-radius:14px;background:#fff}.hp-notification.is-unread{border-color:color-mix(in srgb, var(--celadon) 40%, transparent);background:var(--hp-primary-soft)}.hp-notification__icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;color:var(--hp-primary)}.hp-notification__head{display:flex;justify-content:space-between;gap:14px}.hp-notification__head time{color:var(--hp-muted);font-size:12px;white-space:nowrap}.hp-notification p{margin:4px 0 10px;color:var(--hp-muted)}.hp-notification__actions{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:1200px){.hp-grid{columns:4 200px}.hp-journal-grid{columns:3 220px}}
@media(max-width:850px){.hp-app{display:block;padding-bottom:92px}.hp-rail{display:none}.hp-header{height:62px;padding:9px 14px}.hp-mobile-brand{display:flex;flex:0 0 auto}.hp-mobile-brand .hp-brand__mark{width:34px;height:34px}.hp-mobile-brand>span:last-child{display:none}.hp-search{flex:1;width:auto;min-width:0}.hp-header__actions .hp-language,.hp-header__actions>a{display:none}.hp-main{width:min(100% - 24px,700px);padding-top:22px}.hp-page-head{align-items:start}.hp-page-title{font-size:40px}.hp-grid,.hp-journal-grid{columns:2 150px;column-gap:10px}.hp-bottom-nav{position:fixed;z-index:50;right:12px;bottom:max(10px,env(safe-area-inset-bottom));left:12px;display:grid;grid-template-columns:repeat(5,1fr);height:72px;padding:7px;border:1px solid var(--hp-line);border-radius:28px;background:rgb(255 255 255/.95);box-shadow:0 14px 34px rgb(34 51 46/.15);backdrop-filter:blur(18px)}.hp-bottom-nav a{display:grid;place-items:center;align-content:center;gap:3px;color:var(--hp-muted);font-size:10px;font-weight:700}.hp-bottom-nav a.is-active{color:var(--hp-primary)}.hp-bottom-nav a.is-create{width:54px;height:54px;margin:-18px auto 0;border-radius:50%;background:var(--hp-primary);color:#fff}.hp-bottom-nav a.is-create svg{width:26px;height:26px}.hp-bottom-nav a.is-create span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}}
@media(max-width:460px){.hp-search svg{display:none}.hp-search{padding-inline:10px}.hp-header__actions{gap:4px}.hp-panel{padding:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* ==== assets/parity.css ==== */


:root {
  /* Shared with Flutter AppPalette: glaze white, celadon and kiln blue. */
  --celadon: #276b60;
  --celadon-deep: #1d5047;
  --kiln-blue: #52748a;
  --clay: var(--celadon);
  --clay-dark: var(--celadon-deep);
  --clay-soft: #ddefe7;
  --cream: #f5f8f7;
  --porcelain: #ffffff;
  --ink: #22332e;
  --muted: #62716b;
  --line: #dae4df;
  --sage: #527d68;
  --blue: var(--clay);
  --blue-dark: var(--clay-dark);
  --coral-soft: #ddefe7;
  --green-soft: #ebf1ed;
  --navy-soft: #e5eef5;
  --danger: #985b52;
  --warning: #846b35;
  --shadow-sm: 0 4px 16px rgb(34 51 46/0.035);
  --shadow-md: 0 8px 24px rgb(34 51 46/0.055);
  --shadow: var(--shadow-md);
  --sidebar: 248px;
  --font-sans: "DM Sans", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-display: "DM Serif Display", "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --text-caption: 0.75rem;
  --text-small: 0.8125rem;
  --text-body: 0.9375rem;
  --text-body-mobile: 1rem;
  --text-button: 0.875rem;
  --text-card-title: 0.9375rem;
  --text-product-title: 1.375rem;
  --text-section-title: clamp(1.75rem, 2.5vw, 2rem);
  --text-page-title: clamp(2rem, 3.2vw, 2.625rem);
  --text-display: clamp(2.5rem, 4.2vw, 3.375rem);
  --text-xs: var(--text-caption);
  --text-sm: var(--text-button);
  --text-base: var(--text-body);
  --text-lg: 1.125rem;
  --text-xl: var(--text-product-title);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --control-height: 48px;
  --control-height-lg: 56px;
  --header-search-max: 560px;
  --header-search-width: min(38%, var(--header-search-max));
  --z-header: 40;
  --z-navigation: 50;
  --z-modal: 1000;
  --z-toast: 1200;
  --z-lightbox: 2000;
}

.post-panel > h1,
.product-panel > h1,
.discover-detail__panel > h1,
.commerce-heading h1,
.creation-heading h1,
.journal-heading h1,
.create-hub h1 {
  color: var(--ink);
  font-weight: var(--weight-bold);
  letter-spacing: -0.05em;
}

.create-hub-card {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgb(19 35 61/0.07);
}

.create-hub-card:nth-child(4n + 1) {
  background: linear-gradient(145deg, #fff 55%, var(--green-soft));
}

.create-hub-card:nth-child(4n + 2) {
  background: linear-gradient(145deg, #fff 55%, var(--coral-soft));
}

.create-hub-card:nth-child(4n + 3) {
  background: linear-gradient(145deg, #fff 55%, #edf2ff);
}
.create-hub,
.creation-page,
.journal-page {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 24px 14px 112px;
}
.create-hub > header,
.creation-heading,
.journal-heading {
  margin-bottom: 24px;
}
.create-hub h1,
.creation-heading h1,
.journal-heading h1 {
  margin-bottom: 8px;
}
.create-hub header p,
.creation-heading p,
.journal-heading p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.create-hub-grid {
  display: grid;
  gap: 13px;
}
.create-hub-card {
  position: relative;
  min-height: 180px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--porcelain);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.create-hub-card > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  background: var(--clay-soft);
  color: var(--clay-dark);
}
.create-hub-card--firing > span {
  background: #f8e3bd;
  color: #9b5a13;
}
.create-hub-card--glaze > span {
  background: #dfeadf;
  color: #476a4b;
}
.create-hub-card--ai > span {
  background: var(--green-soft);
  color: var(--sage);
}
.create-hub-card svg {
  width: var(--icon-size-lg);
}
.create-hub-card small {
  color: var(--muted);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
}
.create-hub-card h2 {
  margin: 7px 0;
  font-size: 21px;
}
.create-hub-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.create-hub-card__plus {
  position: absolute;
  right: 17px;
  bottom: 17px;
  width: 20px !important;
  color: var(--clay);
}

@media (min-width: 600px) {
  .create-hub,
  .creation-page,
  .journal-page {
    padding: 30px 22px 112px;
  }
  .create-hub-grid,
  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .create-hub,
  .creation-page,
  .journal-page {
    padding: 38px 34px 60px;
  }
  .create-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .create-hub-card {
    min-height: 225px;
    padding: 30px;
  }
}
@media (min-width: 1440px) {
  .create-hub-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .create-hub-card {
    grid-template-columns: 1fr;
    min-height: 300px;
  }
}
.discover-card,
.journal-card,
.create-hub-card,
.uploader-card,
.creation-section,
.creation-preview,
.curve-editor,
.cart-item,
.order-summary,
.order-list > a,
.order-detail-grid > section,
.address-card {
  border-color: var(--line);
  background-color: #fff;
  box-shadow: 0 9px 24px rgb(19 35 61/0.06);
}

.discover-card:hover,
.journal-card:hover,
.create-hub-card:hover {
  border-color: #c8d0db;
  box-shadow: 0 16px 36px rgb(19 35 61/0.1);
  transform: translateY(-2px);
}

.discover-card h2,
.journal-card h2,
.create-hub-card h2,
.commerce-heading h1,
.creation-heading h1,
.journal-heading h1,
.create-hub h1 {
  color: var(--ink);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.035em;
}

.discover-card p,
.discover-card__meta,
.journal-card__body > p,
.create-hub-card p,
.creation-heading p,
.journal-heading p,
.create-hub header p {
  color: var(--muted);
}

.create-hub-card:nth-child(4n + 1) {
  background-image: linear-gradient(145deg, #fff 58%, var(--green-soft));
}

.create-hub-card:nth-child(4n + 2) {
  background-image: linear-gradient(145deg, #fff 58%, var(--coral-soft));
}

.create-hub-card:nth-child(4n + 3) {
  background-image: linear-gradient(145deg, #fff 58%, #edf2ff);
}

.create-hub-card:nth-child(4n + 3) {
  background-image: linear-gradient(145deg, #fff 58%, #f0f5f2);
}

.shop-heading {
  max-width: 720px;
  margin-bottom: 18px;
}

.shop-heading h1 {
  margin: 7px 0 10px;
  font-size: clamp(30px, 4.5vw, 48px);
}

.shop-heading p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
}

.shop-category-bar {
  position: sticky;
  z-index: 10;
  top: 76px;
  margin: 0 -10px 18px;
  padding: 10px;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(14px);
}

.shop-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.shop-categories::-webkit-scrollbar {
  display: none;
}

.shop-categories button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--weight-medium);
  cursor: pointer;
}

.shop-categories button:hover {
  background: rgb(255 255 255/0.68);
  color: var(--ink);
}

.shop-categories button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 7px 18px rgb(42 55 69/0.14);
}

.shop-categories small {
  color: inherit;
  font-size: 11px;
  opacity: 0.7;
}

.shop-category-skeleton {
  width: min(100%, 520px);
  height: 40px;
  border-radius: 999px;
}

.shop-card,
.shop-skeleton {
  width: 100%;
  display: inline-block;
  margin: 0 0 10px;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--porcelain);
  box-shadow: 0 5px 16px rgb(42 55 69/0.045);
}

.shop-card {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.shop-card:hover {
  border-color: #b9cdc2;
  box-shadow: 0 12px 28px rgb(42 55 69/0.08);
  transform: translateY(-2px);
}

.shop-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e5ede8;
  text-decoration: none;
}

.shop-card__media .media-image {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.shop-card__sale,
.shop-card__stock {
  position: absolute;
  top: 9px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: var(--weight-semibold);
  backdrop-filter: blur(8px);
}

.shop-card__sale {
  left: 9px;
  background: rgb(244 232 228/0.94);
  color: var(--clay-dark);
}

.shop-card__stock {
  right: 9px;
  background: rgb(42 55 69/0.82);
  color: #fff;
}

.shop-card__body {
  padding: 12px;
}

.shop-card__kind {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--clay-dark);
  font-size: 11px;
  font-weight: var(--weight-medium);
}

.shop-card__kind svg {
  width: var(--icon-size-xs);
  height: var(--icon-size-xs);
}

.shop-card__body > a {
  text-decoration: none;
}

.shop-card h2 {
  margin: 7px 0 5px;
  font-size: 15px;
  font-weight: var(--weight-semibold);
  line-height: 1.38;
}

.shop-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shop-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
}

.shop-card__footer strong {
  color: var(--clay-dark);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.shop-card__footer span {
  color: var(--sage);
  font-size: 10px;
}

@media (min-width: 600px) {

  .shop-category-bar {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .shop-card,
  .shop-skeleton {
    margin-bottom: 14px;
  }
}

@media (min-width: 1024px) {

  .shop-category-bar {
    margin-inline: -28px;
    padding-inline: 28px;
  }
}

@media (min-width: 1440px) {

  .shop-card,
  .shop-skeleton {
    margin-bottom: 17px;
  }
}

/* ==== assets/interactions.css ==== */
.hp-card-link{display:block;cursor:pointer}.hp-video-badge{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid rgb(255 252 248/.34);border-radius:50%;background:rgb(40 53 50/.76);color:#fff;box-shadow:0 4px 12px rgb(40 53 50/.18);backdrop-filter:blur(8px)}.hp-video-badge svg{width:16px;height:16px}
.hp-post-overlay{width:min(1180px,94vw);max-width:94vw;height:min(880px,92dvh);max-height:92dvh;padding:0;border:1px solid var(--hp-line);border-radius:22px;background:var(--hp-canvas);color:var(--hp-ink)}.hp-post-overlay::backdrop{background:rgb(20 30 27/.65);backdrop-filter:blur(5px)}.hp-post-scroll{height:100%;overflow:auto;padding:40px 24px 24px}.hp-post-close{position:absolute;right:12px;top:10px;z-index:2;display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--hp-line);border-radius:50%;background:white;cursor:pointer}.hp-post-overlay .hp-detail-body{position:static}.hp-post-overlay .hp-detail-media img{max-height:74dvh;object-fit:contain}.create-hub-card>svg:last-child{position:absolute;right:17px;bottom:17px}.hp-main[data-view=create] .create-hub{width:100%}
@media(max-width:700px){.hp-post-overlay{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.hp-post-scroll{padding:48px 12px 24px}.hp-post-overlay .hp-detail{grid-template-columns:1fr}}

/* ==== assets/review.css ==== */
body.login{background:var(--hp-canvas);font-family:var(--hp-font-sans);color:var(--hp-ink)}body.login #login{width:min(440px,calc(100% - 32px));padding:8vh 0 40px}body.login h1 a{background:none;width:auto;height:auto;text-indent:0;font:400 42px var(--hp-font-display);color:var(--hp-primary-deep);margin:0 0 26px}body.login form{padding:30px;border:1px solid var(--hp-line);border-radius:22px;background:white;box-shadow:var(--hp-shadow)}body.login label{font-size:13px;font-weight:600}body.login input[type=text],body.login input[type=password],body.login input[type=email]{min-height:48px;padding:8px 14px;border:1px solid var(--hp-line);border-radius:14px;font-size:16px}body.login .button-primary{background:var(--hp-primary);border:0;border-radius:24px;min-height:44px;padding-inline:26px;font-weight:600}body.login #nav a,body.login #backtoblog a{color:var(--hp-primary-deep)}body.login .message,body.login #login_error{border-left-color:var(--hp-primary);border-radius:12px}body.login .wp-pwd button{color:var(--hp-primary)}
.hp-auth-card{max-width:440px;padding:30px;margin:40px auto;border-radius:22px}.hp-auth-card .hp-field input{min-height:48px;border-radius:14px}.hp-auth-card .hp-button{min-height:48px}.hp-comment-form textarea{width:100%;resize:vertical}.hp-comment-error{color:var(--hp-danger)}.hp-reply-context{padding:10px;background:var(--hp-primary-soft);border-radius:10px}.hp-comment .hp-comment{border-left:2px solid var(--hp-line);padding-left:12px}.hp-detail-body .hp-subtitle{white-space:pre-line}.hp-product-detail .hp-detail-body{box-shadow:none;border:0;background:transparent}.hp-product-gallery{align-content:start}.hp-product-gallery img{max-height:650px;object-fit:contain}.hp-product-gallery button{padding:0;border:1px solid var(--hp-line);border-radius:10px;background:white;overflow:hidden;cursor:pointer}.hp-product-thumbs{display:flex;gap:10px;overflow:auto}.hp-product-thumbs img{width:76px;height:76px;object-fit:cover}.hp-product-thumbs button[aria-pressed=true]{outline:2px solid var(--hp-primary)}.hp-product-description{white-space:pre-line;margin-top:30px;padding-top:20px;border-top:1px solid var(--hp-line)}.hp-qty-stepper{display:flex;align-items:center;gap:8px;margin-block:15px}.hp-qty-stepper button{width:42px;height:42px;border:1px solid var(--hp-line);border-radius:10px;background:white}.hp-qty-stepper input{width:64px;height:42px;text-align:center;border:1px solid var(--hp-line);border-radius:10px}
@media(max-width:600px){.hp-auth-card{padding:20px}.hp-product-gallery img{max-height:60vh}.hp-detail-body h1{font-size:30px}.hp-toolbar{row-gap:10px}}

/* Reference detail refinement */

.comment-composer-trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 17px;
  border: 1px solid color-mix(in srgb, var(--clay) 25%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--porcelain) 94%, var(--cream));
  color: var(--muted);
  text-align: left;
  cursor: text;
  box-shadow: 0 7px 20px rgb(42 55 69 / 0.08);
  transition:
    border-color 160ms ease,
    background 160ms ease;
}
.comment-composer-trigger:hover {
  border-color: color-mix(in srgb, var(--clay) 45%, var(--line));
  background: white;
}
.comment-composer-trigger span {
  flex: 1;
}
.comment-composer-trigger svg {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
}
.comment-composer {
  position: relative;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--clay) 32%, var(--line));
  border-radius: 16px;
  background: var(--porcelain);
}
.comment-composer--expanded {
  border-color: color-mix(in srgb, var(--clay) 38%, var(--line));
  box-shadow: 0 12px 30px rgb(42 55 69 / 0.12);
}
.comment-composer__header {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -2px -2px 4px 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--weight-medium);
}
.comment-composer__header button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.comment-composer__header button:hover {
  background: var(--cream);
  color: var(--ink);
}
.comment-composer textarea {
  width: 100%;
  min-height: 58px;
  max-height: 160px;
  padding: 2px 3px 10px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.comment-composer__actions,
.comment-actions,
.replying-to,
.comment-file {
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-composer__actions > button,
.comment-actions button,
.replying-to button,
.comment-file button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.comment-composer__actions {
  min-height: 36px;
  padding-top: 9px;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.comment-composer__actions > button:not(.comment-submit) {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.comment-composer__actions > button:not(.comment-submit):hover {
  background: var(--cream);
  color: var(--ink);
}
.comment-composer__actions > button[aria-expanded="true"] {
  background: color-mix(in srgb, var(--clay) 12%, var(--cream));
  color: var(--clay-dark);
}
.comment-composer__actions svg,
.comment-actions svg {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
}
.comment-composer__actions .comment-submit {
  margin-left: auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--clay);
  color: white;
  font-weight: var(--weight-semibold);
}
.comment-submit:disabled {
  opacity: 0.5;
}

:where(
  .app-button,
  .text-action,
  .stream-tabs button,
  .product-tab-list button,
  .checkout-coupon button,
  .astra-coupon button
) {
  font-size: var(--text-button);
  font-weight: var(--weight-medium);
}

.product-detail-tabs {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.product-tab-list {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.product-tab-list button {
  min-height: 54px;
  position: relative;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: var(--text-button);
  font-weight: var(--weight-medium);
}

.product-tab-list button[aria-selected="true"] {
  color: var(--ink);
}

.product-tab-list button[aria-selected="true"]::after {
  height: 2px;
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  background: var(--clay-dark);
  content: "";
}

.product-tab-panel {
  max-width: 940px;
  min-height: 180px;
  padding: 30px 0 8px;
}

.product-tab-panel h2 {
  margin: 0 0 15px;
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  font-weight: var(--weight-regular);
  letter-spacing: 0.004em;
}

.product-tab-panel article > p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.75;
  white-space: pre-wrap;
}

.product-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--green-soft);
}

.product-note p {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-small);
  line-height: 1.55;
}

.product-spec-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.product-spec-table > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 0.65fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.product-spec-table dt,
.product-spec-table dd {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.5;
}

.product-spec-table dt {
  color: var(--muted);
}

.product-spec-table dd {
  color: var(--ink);
  font-weight: var(--weight-medium);
}

.product-related-section {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.product-related-section header h2 {
  margin: 7px 0 22px;
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  font-weight: var(--weight-regular);
  letter-spacing: 0.004em;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-related-card {
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.product-related-card > .media-image {
  width: 100%;
  aspect-ratio: 1/1;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--porcelain);
}

.product-related-card > div {
  display: grid;
  gap: 4px;
  padding: 10px 3px 0;
}

.product-related-card h3 {
  margin: 0;
  font-size: var(--text-card-title);
  font-weight: var(--weight-medium);
  line-height: 1.4;
}

.product-related-card span {
  color: var(--clay-dark);
  font-size: var(--text-button);
  font-weight: var(--weight-semibold);
}

.product-related-card small {
  color: var(--muted);
  font-size: var(--text-caption);
}

@media (min-width: 768px) {

  .product-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}
.hp-comments [hidden],.hp-product-bottom [hidden]{display:none!important}.hp-comments .hp-comment-form{display:block;margin-top:12px}.hp-comments .comment-composer-trigger{margin-top:16px}.hp-comments .hp-reply-context{margin:0 0 8px;padding:6px 10px}.hp-comments .hp-cancel-reply{margin-top:8px}.hp-emoji-menu{display:flex;flex-wrap:wrap;gap:8px;padding:10px}.hp-emoji-menu button{border:0;background:transparent;font-size:22px;cursor:pointer}.hp-file-name{max-width:45%;overflow-wrap:anywhere;font-size:12px}.hp-product-bottom{width:100%;min-width:0}.hp-product-bottom .hp-product-description{border:0;margin:0;white-space:normal}.product-related-card .image{width:100%;object-fit:contain}.product-related-card{color:inherit;text-decoration:none}.product-related-card small{display:block}.hp-comments textarea:focus-visible{outline:2px solid var(--hp-primary);outline-offset:3px}.comment-submit:disabled{opacity:.5;cursor:wait}

.hp-comment-dock{position:fixed;z-index:20;padding:0;background:transparent}.hp-comments .hp-comment-dock .hp-comment-form,.hp-comments .hp-comment-dock .comment-composer-trigger{margin:0}.hp-comments .hp-comment-dock .comment-composer{background:var(--porcelain,#fff)}
/* Exact comment design */

.comment-composer-trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 17px;
  border: 1px solid color-mix(in srgb, var(--clay) 25%, var(--line));
  border-radius: 999px;
  background: color-mix(in srgb, var(--porcelain) 94%, var(--cream));
  color: var(--muted);
  text-align: left;
  cursor: text;
  box-shadow: 0 7px 20px rgb(42 55 69 / 0.08);
  transition:
    border-color 160ms ease,
    background 160ms ease;
}
.comment-composer-trigger:hover {
  border-color: color-mix(in srgb, var(--clay) 45%, var(--line));
  background: white;
}
.comment-composer-trigger span {
  flex: 1;
}
.comment-composer-trigger svg {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
}
.comment-composer {
  position: relative;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--clay) 32%, var(--line));
  border-radius: 16px;
  background: var(--porcelain);
}
.comment-composer--expanded {
  border-color: color-mix(in srgb, var(--clay) 38%, var(--line));
  box-shadow: 0 12px 30px rgb(42 55 69 / 0.12);
}
.comment-composer__header {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: -2px -2px 4px 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--weight-medium);
}
.comment-composer__header button {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.comment-composer__header button:hover {
  background: var(--cream);
  color: var(--ink);
}
.comment-composer textarea {
  width: 100%;
  min-height: 58px;
  max-height: 160px;
  padding: 2px 3px 10px;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.comment-composer__actions,
.comment-actions,
.replying-to,
.comment-file {
  display: flex;
  align-items: center;
  gap: 8px;
}
.comment-composer__actions > button,
.comment-actions button,
.replying-to button,
.comment-file button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.comment-composer__actions {
  min-height: 36px;
  padding-top: 9px;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.comment-composer__actions > button:not(.comment-submit) {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.comment-composer__actions > button:not(.comment-submit):hover {
  background: var(--cream);
  color: var(--ink);
}
.comment-composer__actions > button[aria-expanded="true"] {
  background: color-mix(in srgb, var(--clay) 12%, var(--cream));
  color: var(--clay-dark);
}
.comment-composer__actions svg,
.comment-actions svg {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
}
.comment-composer__actions .comment-submit {
  margin-left: auto;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--clay);
  color: white;
  font-weight: var(--weight-semibold);
}
.comment-submit:disabled {
  opacity: 0.5;
}
.replying-to,
.comment-file {
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 7px 9px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--cream) 75%, white);
  color: var(--muted);
  font-size: 12px;
}
.comment-file > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.comment-file > span svg {
  flex: 0 0 auto;
}
.comment-mood-picker {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 4px;
  margin: 3px 0 9px;
  padding: 7px;
  border: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-radius: 13px;
  background: var(--cream);
}
.comment-mood-picker button {
  min-width: 0;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition:
    background 150ms ease,
    transform 150ms ease;
}
.comment-mood-picker button:hover,
.comment-mood-picker button:focus-visible {
  background: var(--porcelain);
  transform: translateY(-1px);
}
.comment-mood-picker span {
  font-size: 19px;
  line-height: 1;
}
.comment-list {
  display: grid;
  gap: 0;
  margin-top: 16px;
}
.comment-thread {
  padding: 6px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
}
.comment-thread:last-child {
  border-bottom: 0;
}
.comment-thread__replies {
  margin: 0 8px 4px 44px;
  padding-left: 10px;
  border-left: 2px solid color-mix(in srgb, var(--line) 65%, transparent);
}
.comment--reply {
  grid-template-columns: 28px minmax(0, 1fr);
  padding: 8px 0;
}
.comment--reply .avatar {
  width: 28px;
  height: 28px;
}
.comment__author {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: var(--weight-medium);
}
.comment p {
  margin: 4px 0 7px;
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.comment-images {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 7px 0 9px;
}
.comment-image-button {
  width: min(100%, 220px);
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 12px;
  background: var(--cream);
  cursor: zoom-in;
}
.comment-images:has(.comment-image-button:nth-child(2)) .comment-image-button {
  width: min(112px, 31%);
}
.comment-image {
  width: 100%;
  height: min(220px, 56vw);
  border-radius: 12px;
  transition:
    transform 180ms ease,
    filter 180ms ease;
}
.comment-image-button:hover .comment-image {
  transform: scale(1.015);
  filter: brightness(0.96);
}
.comment-actions {
  min-height: 24px;
  gap: 12px;
  color: var(--muted);
}
.comment-actions time {
  font-size: 11px;
}
.comment-actions button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}
.comment-actions .comment-like {
  margin-left: auto;
}
.comment-actions button.is-active {
  color: var(--clay);
}
.hp-comments{font-family:var(--font-sans,var(--hp-font-sans));min-width:0}.hp-comments .comment-thread{margin:0}.hp-comments .comment__body{min-width:0}.hp-comments .comment-actions button{padding:0;border-radius:0;font-weight:400;min-height:24px;background:transparent;border:0;color:var(--muted)}.hp-comments .comment-actions .comment-like{margin-left:auto}.hp-comments .comment-actions .is-active{color:var(--clay)}.hp-comments .avatar{display:block;width:30px;height:30px;border-radius:50%;object-fit:cover;flex-shrink:0}.hp-comments .comment-avatar-fallback{display:grid;place-items:center;background:#c9c9c9;color:white}.comment-avatar-fallback svg{width:25px;height:25px}.hp-comments .comment--reply .avatar{width:28px;height:28px}.hp-comments .comment-composer-trigger{font-size:14px}.hp-comments .comment-composer textarea{font-family:inherit;font-size:14px}.hp-comments .comment-composer__header{font-size:12px}.hp-comments .comment-submit{font-family:inherit;font-size:14px}.hp-comments .comment-submit:disabled{cursor:default;opacity:.5}.hp-comments .comment-thread__replies .comment-thread{border-bottom:0}.hp-comments .comment p{overflow-wrap:anywhere}.hp-comments .hp-reply-context{font-size:12px}.hp-comments .comment-thread{padding-block:6px}









/* Post component parity */

.feed-page {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 16px 10px 112px;
}
.feed-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 2px 16px;
}
.feed-tabs {
  display: flex;
  gap: 7px;
}
.feed-tabs button {
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: var(--weight-semibold);
  cursor: pointer;
}
.feed-tabs button[aria-selected="true"] {
  border-color: var(--line);
  background: white;
  color: var(--clay-dark);
  box-shadow: 0 4px 14px rgb(36 28 24/0.05);
}
.feed-masonry {
  column-gap: 10px;
}
.feed-card,
.feed-skeleton {
  display: inline-block;
  width: 100%;
  margin: 0 0 10px;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--porcelain);
  overflow: hidden;
  box-shadow: 0 5px 16px rgb(36 28 24/0.05);
}
.feed-card__media {
  position: relative;
  display: block;
  min-height: 160px;
  text-decoration: none;
  background: var(--clay-soft);
}
.feed-card__image {
  width: 100%;
  min-height: 160px;
  aspect-ratio: 4 / 5;
}
.feed-card:nth-child(4n + 2) .feed-card__image,
.feed-card:nth-child(4n + 2) .feed-card__media {
  aspect-ratio: 1 / 1;
}
.feed-card__video,
.feed-card__count {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgb(36 28 24/0.76);
  color: white;
  backdrop-filter: blur(8px);
}
.feed-card__video {
  width: 34px;
  height: 34px;
}
.feed-card__video svg {
  width: var(--icon-size-sm);
}
.feed-card__count {
  top: auto;
  bottom: 10px;
  min-width: 29px;
  height: 29px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: var(--weight-semibold);
}
.feed-card__body {
  padding: 11px;
}
.feed-card__author-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.feed-card__author {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--weight-semibold);
  text-decoration: none;
}
.feed-card__author > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.content-badge {
  margin-left: auto;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--clay-soft);
  color: var(--clay-dark);
  font-size: 9px;
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}
.feed-card__title {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--ink);
  font-size: 14px;
  font-weight: var(--weight-semibold);
  line-height: 1.42;
  text-decoration: none;
}
.feed-card__context {
  margin: 8px 0 0;
  padding: 8px 9px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.feed-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 7px;
  margin-top: 7px;
  color: var(--clay-dark);
  font-size: 10px;
}
.feed-card__stats {
  display: flex;
  gap: 10px;
  margin-top: 11px;
  color: var(--muted);
  font-size: 11px;
}
.feed-card__stats span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.feed-card__stats svg {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
}
.feed-card__stats .is-active {
  color: var(--clay);
}
.feed-skeleton {
  height: 270px;
}
.feed-skeleton--tall {
  height: 360px;
}
.feed-sentinel {
  height: 1px;
}
.feed-loading-more,
.feed-end {
  padding: 22px 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}
.post-detail {
  width: min(100%, 1500px);
  margin: 0 auto;
  padding-bottom: 110px;
  background: var(--porcelain);
}
.post-overlay .post-detail {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0 0 100px;
  background: var(--porcelain);
}
.post-overlay .discover-detail {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0 0 100px;
  background: var(--porcelain);
}
.post-media-column {
  display: grid;
  gap: 1px;
  background: var(--ink);
  overflow: hidden;
}
.media-gallery {
  position: relative;
  width: 100%;
  min-width: 0;
  background: #171310;
}
.media-gallery__track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  touch-action: pan-x pinch-zoom;
  scrollbar-width: none;
}
.media-gallery__track::-webkit-scrollbar {
  display: none;
}
.media-gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: grid;
  place-items: center;
  aspect-ratio: 4/5;
  max-height: 78dvh;
  background: #171310;
}
.media-gallery__video,
.media-gallery__video > video,
.media-gallery__open,
.media-gallery__open > .media-image {
  width: 100%;
  height: 100%;
  max-height: 78dvh;
}
.media-gallery__video {
  position: relative;
}
.media-gallery__video > video {
  display: block;
  object-fit: contain;
}
.media-gallery__play {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  padding: 0 0 0 4px;
  border: 1px solid rgb(255 255 255 / 0.58);
  border-radius: var(--radius-pill);
  background: rgb(34 51 46 / 0.76);
  color: var(--porcelain);
  box-shadow: 0 12px 30px rgb(18 22 20 / 0.28);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}
.media-gallery__play:hover {
  background: rgb(34 51 46 / 0.92);
  transform: translate(-50%, -50%) scale(1.06);
}
.media-gallery__play:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--clay) 60%, white);
  outline-offset: 4px;
}
.media-gallery__open {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.media-gallery__open > svg {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: var(--icon-size-xl);
  height: var(--icon-size-xl);
  padding: 8px;
  border-radius: 50%;
  background: #241c18aa;
  color: #fff;
  opacity: 0;
  transition: opacity 0.18s;
}
.media-gallery__open:hover > svg,
.media-gallery__open:focus-visible > svg {
  opacity: 1;
}
.media-gallery__arrow,
.media-lightbox__arrow,
.media-lightbox__close {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #241c18b8;
  color: white;
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.media-gallery__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
}
.media-gallery__arrow--left {
  left: 12px;
}
.media-gallery__arrow--right {
  right: 12px;
}
.media-gallery__arrow svg,
.media-lightbox__arrow svg {
  width: var(--icon-size-md);
}
.media-gallery__counter,
.media-lightbox__counter {
  position: absolute;
  padding: 5px 9px;
  border-radius: 999px;
  background: #241c18b8;
  color: #fff;
  font-size: 12px;
  font-weight: var(--weight-semibold);
  backdrop-filter: blur(8px);
}
.media-gallery__counter {
  right: 12px;
  top: 12px;
}
.media-gallery__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
}
.media-gallery__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff77;
}
.media-gallery__dots i.active {
  width: 15px;
  border-radius: 4px;
  background: #fff;
}
.media-lightbox {
  position: fixed;
  z-index: var(--z-lightbox);
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 54px 18px;
  background: #090807f5;
  backdrop-filter: blur(12px);
  isolation: isolate;
  overscroll-behavior: contain;
  touch-action: pinch-zoom;
}
.media-lightbox > .media-image {
  width: 100%;
  height: 100%;
  max-width: 1600px;
  max-height: calc(100dvh - 90px);
  background: transparent;
}
.media-lightbox__close {
  position: absolute;
  z-index: 2;
  right: 18px;
  top: 18px;
  width: 44px;
  height: 44px;
}
.media-lightbox__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
}
.media-lightbox__arrow.left {
  left: 18px;
}
.media-lightbox__arrow.right {
  right: 18px;
}
.media-lightbox__counter {
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}
.post-panel {
  min-width: 0;
  padding: 18px 16px 30px;
}
.post-author-header,
.post-author-header > a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.post-author-header {
  justify-content: space-between;
}
.post-author-header > a {
  min-width: 0;
  text-decoration: none;
}
.post-author-header > a > span:last-child {
  display: grid;
  gap: 3px;
}
.post-author-header small {
  color: var(--clay-dark);
}
.post-author-header .app-button {
  min-height: 38px;
  padding-inline: 14px;
  border-radius: 999px;
  font-size: 12px;
}
.post-copy {
  padding: 22px 0 18px;
}
.post-copy h1 {
  margin: 0 0 13px;
  font-size: clamp(25px, 5vw, 38px);
  line-height: 1.12;
}
.post-copy p {
  color: #4d433b;
  line-height: 1.7;
  white-space: pre-wrap;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  color: var(--clay-dark);
  font-size: 13px;
}
.post-parameters {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
}
.post-parameters h2,
.comments-section h2 {
  margin: 0 0 14px;
  font-size: 18px;
}
.post-parameters dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
.post-parameters dl > div {
  display: grid;
  gap: 3px;
}
.post-parameters dt {
  color: var(--muted);
  font-size: 11px;
}
.post-parameters dd {
  margin: 0;
  font-weight: var(--weight-semibold);
}
.post-products {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--cream);
}
.post-products h2 {
  margin: 0 0 4px;
  font-size: 18px;
}
.post-products > a {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border-radius: 12px;
  background: white;
  text-decoration: none;
}
.post-products .media-image {
  width: 54px;
  height: 54px;
  border-radius: 9px;
}
.post-products span {
  display: grid;
  gap: 2px;
}
.post-products em {
  width: fit-content;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--clay-soft);
  color: var(--clay-dark);
  font-size: var(--text-xs);
  font-style: normal;
  font-weight: var(--weight-semibold);
}
.post-products small {
  color: var(--clay-dark);
}
.content-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  margin: 18px 0;
  padding: 10px 0;
  border-block: 1px solid var(--line);
}
.content-actions button {
  min-width: 0;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  cursor: pointer;
}
.content-actions button:hover {
  background: var(--cream);
}
.content-actions button.is-active {
  color: var(--clay);
}
.content-actions svg {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
}
.content-actions strong {
  font-size: 11px;
}
.media-lightbox--comment .media-lightbox__stage {
  width: min(92vw, 1180px);
  height: min(88dvh, 900px);
}
.post-detail--loading {
  display: grid;
  gap: 16px;
  padding: 16px;
}
.post-panel-skeleton {
  height: 420px;
  border-radius: 20px;
}
@media (min-width: 600px) {
  .feed-page {
    padding: 22px 18px 112px;
  }
  .feed-masonry {
    column-gap: 14px;
  }
  .feed-card,
  .feed-skeleton {
    margin-bottom: 14px;
  }
  .post-detail {
    padding: 22px 18px 110px;
    background: transparent;
  }
  .post-media-column,
  .post-panel {
    border-radius: 24px;
    background: var(--porcelain);
    overflow: hidden;
  }
  .post-panel {
    padding: 24px;
  }
  .post-overlay .post-detail {
    min-height: 100%;
    grid-template-columns: minmax(0, 1.35fr) minmax(390px, 0.65fr);
    gap: 0;
    padding: 0;
  }
  .post-overlay .post-media-column {
    top: 0;
    height: calc(100dvh - 28px);
    max-height: none;
    border-radius: 0;
  }
  .post-overlay .media-gallery,
  .post-overlay .media-gallery__track,
  .post-overlay .media-gallery__slide {
    height: 100%;
  }
  .post-overlay .media-gallery__slide,
  .post-overlay .media-gallery__video,
  .post-overlay .media-gallery__video > video,
  .post-overlay .media-gallery__open,
  .post-overlay .media-gallery__open > .media-image {
    max-height: none;
  }
  .post-overlay .post-panel {
    min-height: 100%;
    padding: 34px 30px 110px;
    border-radius: 0;
    overflow: visible;
  }
  .post-overlay .discover-detail {
    min-height: 100%;
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
    gap: 0;
    padding: 0;
  }
  .post-overlay .discover-detail__media {
    top: 0;
    height: calc(100dvh - 28px);
    max-height: none;
    border-radius: 0;
  }
  .post-overlay .discover-detail__panel {
    min-height: 100%;
    padding: 34px 30px 110px;
    border-radius: 0;
    overflow: visible;
  }
}
@media (min-width: 1024px) {
  .feed-page {
    padding: 28px 28px 60px;
  }
  .feed-masonry {
  }
  .post-detail {
    min-height: calc(100dvh - 72px);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.75fr);
    align-items: start;
    gap: 22px;
    padding: 28px;
  }
  .post-media-column {
    position: sticky;
    top: 100px;
    max-height: calc(100dvh - 128px);
    overflow: hidden;
  }
  .post-panel {
    padding: 28px;
  }
}
@media (min-width: 1440px) {
  .feed-page {
    padding-inline: 38px;
  }
  .feed-masonry {
    column-gap: 17px;
  }
  .feed-card,
  .feed-skeleton {
    margin-bottom: 17px;
  }
}

.feed-tabs button,
.discover-tabs button,
.tag-editor button,
.choice-row button,
.journal-filters button {
  color: var(--muted);
  font-weight: var(--weight-semibold);
}

.feed-tabs button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 18px rgb(19 35 61/0.16);
}

.discover-tabs button[aria-selected="true"],
.tag-editor button.selected,
.choice-row button.selected,
.journal-filters button[aria-selected="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.feed-card,
.discover-card,
.journal-card,
.cart-item,
.order-summary,
.order-list > a,
.order-detail-grid > section,
.address-card,
.creation-section,
.uploader-card,
.curve-editor,
.ai-notice {
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 9px 24px rgb(19 35 61/0.06);
}

.feed-card,
.discover-card,
.journal-card {
  border-radius: 20px;
}

.feed-card:hover,
.discover-card:hover,
.journal-card:hover {
  border-color: #c8d0db;
  box-shadow: 0 16px 36px rgb(19 35 61/0.1);
  transform: translateY(-2px);
}

.feed-card__body,
.discover-card__body {
  padding: 14px;
}

.feed-card__title,
.discover-card h2,
.journal-card h2 {
  color: var(--ink);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.025em;
}

.feed-card__author,
.feed-card__stats,
.discover-card p,
.discover-card__meta,
.journal-card__body > p {
  color: var(--muted);
}

.content-badge,
.discover-chip,
.sale-chip {
  background: var(--coral-soft);
  color: var(--clay-dark);
  font-weight: var(--weight-bold);
}

.feed-card__tags,
.feed-card__stats .is-active,
.product-price {
  color: var(--clay-dark);
}

.feed-card__context,
.info-card,
.address-form,
.curve-segments article {
  background: #f8f9fb;
  color: var(--muted);
}

.post-panel,
.product-panel,
.discover-detail__panel,
.post-media-column,
.product-gallery,
.discover-detail__media {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.post-panel > h1,
.product-panel > h1,
.discover-detail__panel > h1,
.commerce-heading h1,
.creation-heading h1,
.journal-heading h1,
.create-hub h1 {
  color: var(--ink);
  font-weight: var(--weight-bold);
  letter-spacing: -0.05em;
}

.discover-detail__panel > p,
.info-card p,
.product-description p {
  color: #52637c;
}

.product-price {
  font-size: 28px;
  font-weight: var(--weight-bold);
}

.stock.in,
.status-completed,
.status-processing,
.journal-card__meta span.is-public {
  color: var(--sage);
}

.variation-picker > button[aria-pressed="true"],
.address-card.selected,
.product-gallery > div button[aria-pressed="true"] {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--celadon) 10%, transparent);
}
.me-feed-grid > .feed-card {
  width: 100%;
  height: auto;
  margin: 0;
}
.me-feed-grid .feed-card__media,
.me-feed-grid .feed-card__image,
.me-feed-grid .feed-card:nth-child(4n + 2) .feed-card__media,
.me-feed-grid .feed-card:nth-child(4n + 2) .feed-card__image {
  min-height: 0;
  aspect-ratio: 4 / 5;
}
.me-feed-grid .feed-card__title {
  -webkit-line-clamp: 2;
}
@media (min-width: 1850px) {
  .feed-masonry {
  }
}
.discover-page,
.cart-page,
.checkout-page,
.orders-page,
.order-detail {
  width: min(100%, 1680px);
  margin: auto;
  padding: 22px 12px 112px;
}
.commerce-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.commerce-heading h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
}
.commerce-heading p {
  margin: 0;
  color: var(--muted);
}
.discover-tabs {
  display: flex;
  gap: 7px;
  overflow: auto;
  padding-bottom: 2px;
}
.discover-tabs button {
  white-space: nowrap;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-weight: var(--weight-semibold);
}
.discover-tabs button[aria-selected="true"] {
  background: var(--clay);
  border-color: var(--clay);
  color: #fff;
}
.discover-filters {
  display: flex;
  align-items: end;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--porcelain);
}
.discover-filters > span {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 6px;
  color: var(--ink);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}
.discover-filters label {
  display: grid;
  gap: 4px;
  min-width: 150px;
  color: var(--muted);
  font-size: var(--text-xs);
}
.discover-filters select {
  min-height: 42px;
  padding: 0 36px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background-color: var(--cream);
  color: var(--ink);
  font: inherit;
}
.discover-filters__clear {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--clay-dark);
  white-space: nowrap;
}
.discover-grid {
  column-gap: 10px;
}
.discover-card,
.discover-skeleton {
  display: inline-block;
  width: 100%;
  margin: 0 0 10px;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--porcelain);
  box-shadow: 0 5px 16px rgb(36 28 24/0.05);
}
.discover-skeleton {
  height: 310px;
}
.discover-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1/1.38;
  background: var(--clay-soft);
}
.discover-card__media .media-image {
  width: 100%;
  height: 100%;
}
.discover-card__video {
  position: absolute;
  right: 9px;
  top: 9px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #241c18bb;
  color: white;
}
.discover-card__video svg {
  width: var(--icon-size-sm);
}
.discover-card__body {
  padding: 11px;
}
.discover-chip,
.sale-chip {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--clay-soft);
  color: var(--clay-dark);
  font-size: 10px;
  font-weight: var(--weight-semibold);
}
.discover-card a {
  text-decoration: none;
}
.discover-card h2 {
  margin: 8px 0 5px;
  font-size: 15px;
  line-height: 1.35;
}
.discover-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.discover-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.discover-card__facts span {
  max-width: 100%;
  overflow: hidden;
  padding: 4px 7px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--muted);
  font-size: var(--text-xs);
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.discover-card__meta {
  display: flex;
  gap: 10px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
}
.discover-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.discover-card__meta svg {
  width: var(--icon-size-xs);
}
.discover-detail,
.product-detail {
  width: min(100%, 1500px);
  margin: auto;
  padding-bottom: 112px;
  background: var(--porcelain);
}
.discover-detail__media,
.product-gallery {
  display: grid;
  gap: 1px;
  background: #241c18;
}
.discover-detail__media > .media-image,
.discover-detail__media > video,
.product-gallery > .media-image {
  width: 100%;
  min-height: 390px;
  max-height: 76dvh;
  aspect-ratio: 4/5;
  object-fit: contain;
}
.discover-detail__panel,
.product-panel {
  padding: 20px 16px;
}
.discover-detail__panel > h1,
.product-panel > h1 {
  font-size: clamp(28px, 5vw, 44px);
}
.discover-detail__panel > p,
.info-card p,
.product-description p {
  color: #4d433b;
  line-height: 1.7;
  white-space: pre-wrap;
}
.discover-detail__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
  margin: 18px 0;
}
.discover-detail__facts div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
}
.discover-detail__facts dt {
  color: var(--muted);
  font-size: var(--text-xs);
}
.discover-detail__facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: var(--weight-semibold);
}
.info-card h2,
.discover-detail__panel section > h2,
.product-description h2 {
  margin: 0 0 10px;
  font-size: 18px;
}
.sticky-commerce-actions,
.product-actions {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}
.product-gallery > div {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow: auto;
  background: var(--porcelain);
}
.product-gallery > div button {
  width: 70px;
  height: 70px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
}
.product-gallery > div button[aria-pressed="true"] {
  border-color: var(--clay);
}
.product-gallery > div .media-image {
  width: 100%;
  height: 100%;
}
.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--clay-dark);
  font-size: 25px;
  font-weight: var(--weight-bold);
}
.product-price del {
  color: var(--muted);
  font-size: 14px;
}
.product-sku {
  color: var(--muted);
  font-size: 12px;
}
.stock {
  font-weight: var(--weight-semibold);
}
.stock.in {
  color: var(--sage);
}
.stock.out {
  color: var(--danger);
}
.variation-picker {
  margin: 20px 0;
}
.variation-picker h2 {
  font-size: 16px;
}
.variation-picker > button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 7px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  text-align: left;
}
.variation-picker > button[aria-pressed="true"] {
  border-color: var(--clay);
  box-shadow: 0 0 0 2px #276b6022;
}
.variation-picker > button small {
  margin-left: auto;
}
.variation-picker span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.variation-picker i,
.variation-picker .media-image {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.product-actions > * {
  flex: 1;
}
.product-description {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.product-description > div {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 600px) {
  .discover-page,
  .cart-page,
  .checkout-page,
  .orders-page,
  .order-detail {
    padding: 28px 20px 112px;
  }
  .discover-grid {
    column-gap: 14px;
  }
  .discover-card,
  .discover-skeleton {
    margin-bottom: 14px;
  }
  .commerce-heading {
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
  }
}
@media (min-width: 1024px) {
  .discover-page,
  .cart-page,
  .checkout-page,
  .orders-page,
  .order-detail {
    padding: 34px 30px 60px;
  }
  .discover-grid {
  }
  .discover-detail,
  .product-detail {
    min-height: calc(100dvh - 72px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
    gap: 22px;
    padding: 28px;
    background: transparent;
  }
  .discover-detail__media,
  .product-gallery,
  .discover-detail__panel,
  .product-panel {
    border-radius: 24px;
    overflow: hidden;
    background: var(--porcelain);
  }
  .discover-detail__media,
  .product-gallery {
    position: sticky;
    top: 100px;
    height: max-content;
    max-height: calc(100dvh - 128px);
  }
  .discover-detail__panel,
  .product-panel {
    padding: 28px;
  }
}
@media (min-width: 1440px) {
  .discover-grid {
    column-gap: 17px;
  }
  .discover-card,
  .discover-skeleton {
    margin-bottom: 17px;
  }
}
@media (min-width: 1850px) {
  .discover-grid {
  }
}
.numeric-stepper-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
}
.numeric-stepper-field legend {
  padding: 0;
}
.numeric-stepper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
  width: 100%;
}
.numeric-stepper button {
  display: grid;
  min-height: 56px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--clay-dark);
  font: inherit;
  cursor: pointer;
}
.numeric-stepper button:hover:not(:disabled) {
  background: var(--clay);
  color: white;
}
.numeric-stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.numeric-stepper button svg {
  width: var(--icon-size-md);
  height: var(--icon-size-md);
}
.numeric-stepper__actions {
  display: grid;
  grid-template-columns: repeat(2, 56px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--clay) 35%, var(--line));
  border-radius: var(--radius-md);
  background: var(--coral-soft);
}
.numeric-stepper__actions button + button {
  border-left: 1px solid color-mix(in srgb, var(--clay) 28%, var(--line));
}
.numeric-stepper__value {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  color: var(--ink);
}
.numeric-stepper-field .numeric-stepper__value input {
  width: 100%;
  min-height: 56px;
  padding: 0 48px 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--porcelain);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  text-align: left;
  appearance: textfield;
}
.numeric-stepper__value input::-webkit-inner-spin-button,
.numeric-stepper__value input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}
.numeric-stepper__value small {
  position: absolute;
  right: 11px;
  color: var(--muted);
  font-size: var(--text-xs);
  pointer-events: none;
}
@media (max-width: 480px) {
  .numeric-stepper-field:not(.is-compact) .numeric-stepper {
    grid-template-columns: minmax(0, 1fr) 104px;
    gap: 8px;
  }
  .numeric-stepper-field:not(.is-compact) .numeric-stepper__actions {
    grid-template-columns: repeat(2, 52px);
  }
  .numeric-stepper-field:not(.is-compact) .numeric-stepper button {
    min-height: 52px;
  }
  .numeric-stepper-field:not(.is-compact) .numeric-stepper__value input {
    min-height: 52px;
  }
}
.numeric-stepper-field.is-compact .numeric-stepper {
  grid-template-columns: minmax(64px, 1fr) 88px;
  gap: 6px;
}
.numeric-stepper-field.is-compact .numeric-stepper__actions {
  grid-template-columns: repeat(2, 44px);
}
.numeric-stepper-field.is-compact .numeric-stepper button,
.numeric-stepper-field.is-compact .numeric-stepper__value input {
  min-height: 44px;
}
.numeric-stepper-field.is-compact .numeric-stepper__value input {
  padding-inline: 12px 38px;
  font-size: var(--text-sm);
}
.numeric-stepper-field.is-compact .numeric-stepper__value small {
  right: 8px;
}
.product-quantity-stepper {
  width: min(100%, 240px);
}
.product-quantity-stepper legend,
.astra-cart-quantity legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.journal-post-preview__media .media-gallery,
.journal-post-preview__media .media-gallery__track,
.journal-post-preview__media .media-gallery__slide {
  min-height: 100%;
}
.feed-card__description {
  display: -webkit-box;
  margin: 7px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
  font-size: var(--text-caption);
  line-height: 1.5;
}
.feed-card__making-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}
.feed-card__making-tags span {
  max-width: 100%;
  overflow: hidden;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: var(--clay-soft);
  color: var(--clay-dark);
  font-size: 10px;
  font-weight: var(--weight-medium);
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.journal-showcase-details,
.journal-process-timeline,
.journal-technical-card {
  display: grid;
  gap: var(--space-4);
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream);
}
.journal-showcase-details > header,
.journal-process-timeline > header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.journal-showcase-details h2,
.journal-process-timeline h2,
.journal-technical-card h2,
.journal-process-timeline h3 {
  margin: 0;
}
.journal-showcase-details > header svg,
.journal-process-timeline > header svg {
  color: var(--clay-dark);
}
.journal-showcase-details > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.journal-showcase-details > div > span {
  min-width: 112px;
  display: grid;
  gap: 2px;
  padding: 10px 13px;
  border-radius: var(--radius-md);
  background: var(--porcelain);
}
.journal-showcase-details small,
.journal-technical-card small,
.journal-process-extras small {
  color: var(--muted);
  font-size: var(--text-caption);
}
.journal-showcase-details b {
  font-weight: var(--weight-medium);
}
.journal-technical-card {
  background: color-mix(in srgb, var(--cream) 82%, var(--clay-soft));
}
.journal-technical-card > header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.journal-technical-card > header > span {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--clay-soft);
  color: var(--clay-dark);
}
.journal-technical-card > header > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.journal-technical-card h2 {
  overflow-wrap: anywhere;
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
}
.journal-technical-card dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.journal-technical-card dl > div {
  display: grid;
  grid-template-columns: minmax(90px, .32fr) minmax(0, 1fr);
  gap: var(--space-4);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.journal-technical-card dt {
  color: var(--muted);
}
.journal-technical-card dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: var(--weight-medium);
}
.journal-technical-card dd ol {
  margin: 0;
  padding-left: 1.25em;
}
.journal-technical-card footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}
.journal-technical-card footer .app-button {
  width: 100%;
}
@media (max-width: 620px) {
  .journal-technical-card dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}
.discover-card,
.journal-card,
.create-hub-card,
.uploader-card,
.creation-section,
.creation-preview,
.curve-editor,
.cart-item,
.order-summary,
.order-list > a,
.order-detail-grid > section,
.address-card {
  border-color: var(--line);
  background-color: #fff;
  box-shadow: 0 9px 24px rgb(19 35 61/0.06);
}

.discover-card:hover,
.journal-card:hover,
.create-hub-card:hover {
  border-color: #c8d0db;
  box-shadow: 0 16px 36px rgb(19 35 61/0.1);
  transform: translateY(-2px);
}

.discover-card h2,
.journal-card h2,
.create-hub-card h2,
.commerce-heading h1,
.creation-heading h1,
.journal-heading h1,
.create-hub h1 {
  color: var(--ink);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.035em;
}

.discover-card p,
.discover-card__meta,
.journal-card__body > p,
.create-hub-card p,
.creation-heading p,
.journal-heading p,
.create-hub header p {
  color: var(--muted);
}

.discover-chip,
.sale-chip {
  background: var(--coral-soft);
  color: var(--clay-dark);
}

.discover-tabs button[aria-selected="true"],
.tag-editor button.selected,
.choice-row button.selected,
.journal-filters button[aria-selected="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.variation-picker > button[aria-pressed="true"],
.address-card.selected,
.product-gallery > div button[aria-pressed="true"] {
  box-shadow: 0 0 0 3px rgb(157 103 79/0.1);
}
.shop-page {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 22px 10px 112px;
}

.shop-heading {
  max-width: 720px;
  margin-bottom: 18px;
}

.shop-heading h1 {
  margin: 7px 0 10px;
  font-size: clamp(30px, 4.5vw, 48px);
}

.shop-heading p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
}

.shop-category-bar {
  position: sticky;
  z-index: 10;
  top: 76px;
  margin: 0 -10px 18px;
  padding: 10px;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(14px);
}

.shop-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.shop-categories::-webkit-scrollbar {
  display: none;
}

.shop-categories button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: var(--weight-medium);
  cursor: pointer;
}

.shop-categories button:hover {
  background: rgb(255 255 255/0.68);
  color: var(--ink);
}

.shop-categories button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 7px 18px rgb(42 55 69/0.14);
}

.shop-categories small {
  color: inherit;
  font-size: 11px;
  opacity: 0.7;
}

.shop-category-skeleton {
  width: min(100%, 520px);
  height: 40px;
  border-radius: 999px;
}

.shop-masonry {
  column-gap: 10px;
}

.shop-card,
.shop-skeleton {
  width: 100%;
  display: inline-block;
  margin: 0 0 10px;
  break-inside: avoid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--porcelain);
  box-shadow: 0 5px 16px rgb(42 55 69/0.045);
}

.shop-card {
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.shop-card:hover {
  border-color: #b9cdc2;
  box-shadow: 0 12px 28px rgb(42 55 69/0.08);
  transform: translateY(-2px);
}

.shop-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #e5ede8;
  text-decoration: none;
}

.shop-card__media .media-image {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.shop-card__sale,
.shop-card__stock {
  position: absolute;
  top: 9px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: var(--weight-semibold);
  backdrop-filter: blur(8px);
}

.shop-card__sale {
  left: 9px;
  background: rgb(244 232 228/0.94);
  color: var(--clay-dark);
}

.shop-card__stock {
  right: 9px;
  background: rgb(42 55 69/0.82);
  color: #fff;
}

.shop-card__body {
  padding: 12px;
}

.shop-card__kind {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--clay-dark);
  font-size: 11px;
  font-weight: var(--weight-medium);
}

.shop-card__kind svg {
  width: var(--icon-size-xs);
  height: var(--icon-size-xs);
}

.shop-card__body > a {
  text-decoration: none;
}

.shop-card h2 {
  margin: 7px 0 5px;
  font-size: 15px;
  font-weight: var(--weight-semibold);
  line-height: 1.38;
}

.shop-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shop-card__footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
}

.shop-card__footer strong {
  color: var(--clay-dark);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.shop-card__footer span {
  color: var(--sage);
  font-size: 10px;
}

.shop-skeleton {
  height: 300px;
}

.shop-skeleton--tall {
  height: 350px;
}

@media (min-width: 600px) {
  .shop-page {
    padding: 28px 18px 112px;
  }

  .shop-category-bar {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .shop-masonry {
    column-gap: 14px;
  }

  .shop-card,
  .shop-skeleton {
    margin-bottom: 14px;
  }
}

@media (min-width: 1024px) {
  .shop-page {
    padding: 34px 28px 60px;
  }

  .shop-category-bar {
    margin-inline: -28px;
    padding-inline: 28px;
  }

  .shop-masonry {
  }
}

@media (min-width: 1440px) {
  .shop-masonry {
    column-gap: 17px;
  }

  .shop-card,
  .shop-skeleton {
    margin-bottom: 17px;
  }
}

@media (min-width: 1920px) {
  .shop-masonry {
  }
}
.product-tool-picker {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--porcelain);
}

.product-tool-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-tool-picker__head > span {
  display: grid;
  gap: 3px;
}

.product-tool-picker__head strong,
.product-tool-picker__item-main > strong {
  color: var(--ink);
  font-size: var(--text-body);
  font-weight: var(--weight-semibold);
}

.product-tool-picker__head small,
.product-tool-picker__item-main small,
.product-tool-picker__empty,
.product-tool-picker__browser > p,
.product-tool-picker__limit {
  color: var(--muted);
  font-size: var(--text-small);
}

.product-tool-picker__head > button,
.product-tool-picker__retry {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--clay);
  border-radius: var(--radius-pill);
  background: var(--porcelain);
  color: var(--clay-dark);
  font-weight: var(--weight-semibold);
  cursor: pointer;
}

.product-tool-picker__empty {
  margin: 0;
}

.product-tool-picker__selected {
  display: grid;
  gap: 10px;
}

.product-tool-picker__item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--cream) 45%, var(--porcelain));
}

.product-tool-picker__item > .media-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  object-fit: cover;
}

.product-tool-picker__item-main {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

.product-tool-picker__item-main label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: var(--text-caption);
}

.product-tool-picker__item input:not([type="checkbox"]),
.product-tool-picker__item select {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--porcelain);
  color: var(--ink);
}

.product-tool-picker__item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.product-tool-picker__item-actions button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.product-tool-picker__item-actions button:hover:not(:disabled) {
  background: var(--clay-soft);
  color: var(--clay-dark);
}

.product-tool-picker__item-actions button:disabled {
  opacity: 0.35;
  cursor: default;
}

.product-tool-picker__browser {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.form-stack .product-tool-picker__search {
  min-height: var(--control-height);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--porcelain);
  color: var(--muted);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
}

.form-stack .product-tool-picker__search:focus-within {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px var(--clay-soft);
}

.form-stack .product-tool-picker__search input {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  box-shadow: none;
}

.form-stack .product-tool-picker__search input:focus {
  border: 0;
  box-shadow: none;
}

.product-tool-picker__categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.product-tool-picker__categories button {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--porcelain);
  color: var(--muted);
  cursor: pointer;
}

.product-tool-picker__categories button[aria-selected="true"] {
  border-color: var(--clay-dark);
  background: var(--clay-dark);
  color: var(--porcelain);
}

.product-tool-picker__results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-tool-picker__results > button {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--porcelain);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.product-tool-picker__results > button:hover:not(:disabled) {
  border-color: var(--clay);
  box-shadow: var(--shadow-sm);
}

.product-tool-picker__results > button:disabled {
  opacity: 0.55;
  cursor: default;
}

.product-tool-picker__results .media-image {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  object-fit: cover;
}

.product-tool-picker__results span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.product-tool-picker__results strong,
.product-tool-picker__results small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-tool-picker__results > button > b {
  color: var(--clay-dark);
  font-size: var(--text-small);
}

@media (max-width: 760px) {
  .product-tool-picker {
    padding: 12px;
  }

  .product-tool-picker__head,
  .product-tool-picker__item {
    align-items: stretch;
  }

  .product-tool-picker__head {
    flex-direction: column;
  }

  .product-tool-picker__head > button {
    width: 100%;
  }

  .product-tool-picker__item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .product-tool-picker__item > .media-image {
    width: 58px;
    height: 58px;
  }

  .product-tool-picker__item-actions {
    width: auto;
    grid-column: 2;
  }

  .product-tool-picker__item-actions {
    justify-content: flex-start;
  }

  .product-tool-picker__results {
    grid-template-columns: 1fr;
  }
}

.feed-card__video.media-video-badge,
.discover-card__video.media-video-badge {
  width: 34px;
  height: 34px;
  top: 10px;
  right: 10px;
  display: inline-flex;
  border-radius: var(--radius-pill);
  background: rgb(40 53 50/0.76);
  color: var(--porcelain);
}

.feed-card__stats,
.discover-card__meta,
.journal-card__meta,
.shop-card__kind,
.coupon-success {
  --app-icon-size: var(--icon-size-xs);
}

.media-gallery__arrow,
.media-lightbox__arrow,
.checkout-steps,
.uploader-heading,
.order-list > a {
  --app-icon-size: var(--icon-size-lg);
}

.create-hub-card,
.upload-drop,
.checkout-empty-cart,
.discover-card__video {
  --app-icon-size: var(--icon-size-xl);
}

.feed-page,
.discover-page,
.shop-page,
.product-detail.product-detail--reference {
  width: min(100%, var(--content-max-width));
  margin-inline: auto;
  padding-inline: var(--page-gutter);
}

.stream-heading {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}

.stream-heading .eyebrow {
  margin: 0;
  color: var(--clay-dark);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
}

.stream-heading h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-page-title);
  font-weight: var(--weight-regular);
  letter-spacing: 0.005em;
  line-height: 1.32;
}

.stream-heading > p,
.stream-heading > div > p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: 1.6;
}

.stream-tabs {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
}

.stream-tabs::-webkit-scrollbar {
  display: none;
}

.stream-tabs button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-size: var(--text-button);
  font-weight: var(--weight-medium);
  letter-spacing: 0;
  line-height: 1;
}

.stream-tabs button:hover {
  background: rgb(255 255 255/0.7);
  color: var(--ink);
}

.stream-tabs button[aria-selected="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 7px 18px rgb(42 55 69/0.14);
}

.feed-masonry,
.discover-grid,
.shop-masonry {
  display: grid;
  grid-template-columns: repeat(var(--stream-columns), minmax(0, 1fr));
  grid-auto-flow: row;
  grid-auto-rows: 1px;
  align-items: start;
  column-gap: var(--stream-gap);
  row-gap: 0;
}

.feed-card,
.feed-skeleton,
.discover-card,
.discover-skeleton,
.shop-card,
.shop-skeleton {
  width: 100%;
  display: inline-block;
  margin: 0;
  align-self: start;
  break-inside: avoid;
  border-radius: var(--stream-card-radius);
}

.feed-card,
.discover-card,
.shop-card {
  border-color: var(--line);
  background: var(--porcelain);
  box-shadow: var(--shadow-sm);
}

.feed-card:hover,
.discover-card:hover,
.shop-card:hover {
  border-color: color-mix(in srgb, var(--clay) 30%, var(--line));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feed-card__body,
.discover-card__body,
.shop-card__body {
  padding: var(--stream-card-padding);
}

.feed-card__title,
.discover-card h2,
.shop-card h2 {
  color: var(--ink);
  font-size: var(--stream-title-size);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.012em;
  line-height: var(--stream-title-line);
}

.stream-card__title {
  color: var(--ink);
  font-size: var(--stream-title-size);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.012em;
  line-height: var(--stream-title-line);
}

.feed-card__context,
.discover-card p,
.shop-card p {
  color: var(--muted);
  font-size: var(--stream-body-size);
  font-weight: var(--weight-regular);
  line-height: var(--stream-body-line);
}

.stream-card__summary {
  color: var(--muted);
  font-size: var(--stream-body-size);
  font-weight: var(--weight-regular);
  line-height: var(--stream-body-line);
}

.feed-card__author,
.feed-card__stats,
.discover-card__meta,
.shop-card__kind,
.shop-card__footer span {
  color: var(--muted);
  font-size: var(--stream-meta-size);
  font-weight: var(--weight-regular);
  line-height: 1.45;
}

.stream-card__meta {
  color: var(--muted);
  font-size: var(--stream-meta-size);
  font-weight: var(--weight-regular);
  line-height: 1.45;
}

.content-badge,
.discover-chip,
.shop-card__sale,
.shop-card__stock {
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
}

.stream-card__badge {
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
}
:is(
  .commerce-heading h1,
  .creation-heading h1,
  .journal-heading h1,
  .create-hub h1,
  .me-profile-header h1,
  .address-page .section-title h1,
  .checkout-header h1,
  .cart-page-header h1,
  .astra-cart-header h1,
  .astra-checkout-header h1,
  .shop-heading h1,
  .discover-detail__panel > h1,
  .product-panel > h1,
  .post-panel > h1,
  .profile-identity h1,
  .commerce-state h1,
  .journal-auth h1,
  .me-auth-state h1,
  .release-state h1
) {
  font-family: var(--font-display);
  font-size: var(--text-page-title);
  font-weight: var(--weight-regular);
  letter-spacing: 0.005em;
  line-height: 1.32;
}

:is(
  .commerce-heading h2,
  .checkout-section h2,
  .cart-summary h2,
  .astra-cart-totals h2,
  .astra-checkout-section h2,
  .me-content h2,
  .me-section h2,
  .journal-heading h2,
  .creation-heading h2,
  .discover-detail__panel h2
) {
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  font-weight: var(--weight-regular);
  letter-spacing: 0.004em;
  line-height: 1.35;
}

.discover-detail__panel {
  line-height: 1.75;
}

.discover-detail__panel > h1 {
  margin-block: 18px 16px;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: var(--text-page-title);
  font-weight: var(--weight-regular);
  letter-spacing: 0.005em;
  line-height: 1.32;
}

.discover-detail__panel > p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: var(--text-body-mobile);
  letter-spacing: 0.005em;
  line-height: 1.85;
}

.discover-detail__panel .info-card {
  margin-block: 20px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
}

.discover-detail__panel .info-card h2,
.discover-detail__panel section > h2 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  letter-spacing: 0.004em;
  line-height: 1.35;
}

.discover-detail__panel .info-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-body-mobile);
  letter-spacing: 0.004em;
  line-height: 1.85;
}

:where(
  .app-button,
  .text-action,
  .stream-tabs button,
  .product-tab-list button,
  .checkout-coupon button,
  .astra-coupon button
) {
  font-size: var(--text-button);
  font-weight: var(--weight-medium);
}

@media (max-width: 599px) {

  :where(
    .commerce-heading h1,
    .creation-heading h1,
    .journal-heading h1,
    .create-hub h1,
    .checkout-header h1,
    .cart-page-header h1,
    .astra-cart-header h1,
    .astra-checkout-header h1,
    .shop-heading h1,
    .product-reference-summary > h1
  ) {
    font-size: 2rem;
    line-height: 1.4;
  }
}
.product-detail.product-detail--reference {
  min-height: auto;
  display: block;
  padding-block: 14px 112px;
  background: transparent;
}

.product-breadcrumb {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 22px;
  overflow: hidden;
  color: var(--muted);
  font-size: var(--text-caption);
  line-height: 1.4;
  white-space: nowrap;
}

.product-breadcrumb a {
  color: var(--clay-dark);
  font-weight: var(--weight-medium);
  text-decoration: none;
}

.product-breadcrumb strong {
  overflow: hidden;
  color: var(--ink);
  font-weight: var(--weight-medium);
  text-overflow: ellipsis;
}

.product-reference-hero {
  display: grid;
  gap: 30px;
  align-items: start;
}

.product-reference-gallery {
  min-width: 0;
}

.product-reference-gallery .media-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: transparent;
}

.product-reference-gallery .media-gallery__track {
  order: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--porcelain);
  scrollbar-width: none;
}

.product-reference-gallery .media-gallery__track::-webkit-scrollbar,
.product-reference-gallery .media-gallery__thumbnails::-webkit-scrollbar {
  display: none;
}

.product-reference-gallery .media-gallery__slide {
  min-height: 330px;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--porcelain);
}

.product-reference-gallery .media-gallery__open,
.product-reference-gallery .media-gallery__open > .media-image {
  max-height: none;
}

.product-reference-gallery .media-gallery__open > .media-image {
  padding: 0;
  background: var(--porcelain);
}

.media-gallery__thumbnails {
  order: 2;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 1px;
  scrollbar-width: none;
  overscroll-behavior: contain;
}

.media-gallery__thumbnails button {
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--porcelain);
}

.product-reference-gallery .media-gallery__thumbnails button {
  width: 76px;
  height: auto;
  min-width: 76px;
  max-width: 140px;
  flex: 0 0 76px;
  aspect-ratio: 1/1;
}

.media-gallery__thumbnails button[aria-pressed="true"] {
  border-color: var(--clay-dark);
  box-shadow: 0 0 0 1px var(--clay-dark);
}

.media-gallery__thumbnails .media-image {
  width: 100%;
  height: 100%;
  border-radius: 7px;
  overflow: hidden;
  background: var(--porcelain);
}

.media-lightbox__stage {
  display: grid;
  width: min(100%, 1600px);
  height: min(calc(100dvh - 108px), 1200px);
  place-items: center;
  overflow: hidden;
}

.media-lightbox__stage > .media-image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  background: transparent;
}

.media-lightbox--product {
  padding: 62px clamp(16px, 4vw, 72px) 52px;
}

.media-lightbox--product .media-lightbox__stage {
  width: min(88vw, 1280px);
  height: min(82dvh, 960px);
  background: transparent;
}

.media-lightbox--product .media-lightbox__stage > .media-image {
  padding: 0;
}

.product-reference-gallery .media-gallery__counter {
  top: 12px;
  right: 12px;
}

.product-reference-summary {
  min-width: 0;
}

.product-kicker-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-kind {
  color: var(--clay-dark);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.product-reference-summary .sale-chip {
  position: static;
  padding: 5px 9px;
}

.product-share {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}

.product-share:hover {
  border-color: var(--clay);
  color: var(--clay-dark);
}

.product-reference-summary > h1 {
  margin: 12px 0 17px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-page-title);
  font-weight: var(--weight-regular);
  letter-spacing: 0.005em;
  line-height: 1.32;
}

.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.product-reference-summary .product-price {
  gap: 10px;
}

.product-reference-summary .product-price strong {
  color: var(--clay-dark);
  font-size: var(--text-section-title);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.product-reference-summary .product-price del {
  color: var(--muted);
  font-size: var(--text-button);
  font-weight: var(--weight-regular);
}

.product-reference-summary .stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
}

.product-reference-summary .stock i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.product-lead {
  margin: 0;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: 1.7;
  white-space: pre-wrap;
}

.product-options {
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.product-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.product-section-heading h2 {
  margin: 0;
  font-size: var(--text-button);
  font-weight: var(--weight-semibold);
}

.product-section-heading span {
  color: var(--muted);
  font-size: var(--text-caption);
}

.product-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-options .product-option-grid > button {
  min-height: 46px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 8px 34px 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--porcelain);
  color: var(--ink);
  font-size: var(--text-caption);
  font-weight: var(--weight-medium);
  text-align: left;
}

.product-options .product-option-grid > button[aria-pressed="true"] {
  border-color: var(--clay-dark);
  background: color-mix(in srgb, var(--coral-soft) 44%, var(--porcelain));
  box-shadow: 0 0 0 1px var(--clay-dark);
}

.product-options .product-option-grid > button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.product-options .product-option-grid > button > span,
.product-options .product-option-grid > button > span > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.product-options .product-option-grid i,
.product-options .product-option-grid .media-image {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.product-options .product-option-grid > button > .app-icon {
  position: absolute;
  right: 10px;
  color: var(--clay-dark);
}

.product-purchase-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.product-purchase-row .quantity-picker {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--porcelain);
}

.product-purchase-row .quantity-picker button {
  width: 38px;
  height: 42px;
  border: 0;
  background: transparent;
}

.product-purchase-row .quantity-picker > strong {
  min-width: 24px;
  color: var(--ink);
  font-size: var(--text-button);
  font-weight: var(--weight-semibold);
  text-align: center;
}

.product-purchase-row .app-button {
  min-height: 50px;
}

.product-buy-now {
  width: 100%;
  min-height: 48px;
  margin-top: 9px;
}

.product-secure-line {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-secure-line span {
  display: grid;
  gap: 2px;
}

.product-secure-line strong {
  color: var(--ink);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
}

.product-secure-line small {
  color: var(--muted);
  font-size: var(--text-caption);
  line-height: 1.4;
}

.product-inline-meta {
  display: grid;
  gap: 8px;
  margin: 15px 0 0;
}

.product-inline-meta > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
}

.product-inline-meta dt,
.product-inline-meta dd {
  margin: 0;
  font-size: var(--text-caption);
  line-height: 1.45;
}

.product-inline-meta dt {
  color: var(--muted);
}

.product-inline-meta dd {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.product-detail-tabs {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.product-tab-list {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
}

.product-tab-list button {
  min-height: 54px;
  position: relative;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: var(--text-button);
  font-weight: var(--weight-medium);
}

.product-tab-list button[aria-selected="true"] {
  color: var(--ink);
}

.product-tab-list button[aria-selected="true"]::after {
  height: 2px;
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  background: var(--clay-dark);
  content: "";
}

.product-tab-panel {
  max-width: 940px;
  min-height: 180px;
  padding: 30px 0 8px;
}

.product-tab-panel h2 {
  margin: 0 0 15px;
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  font-weight: var(--weight-regular);
  letter-spacing: 0.004em;
}

.product-tab-panel article > p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.75;
  white-space: pre-wrap;
}

.product-note {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  margin-top: 22px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--green-soft);
}

.product-note p {
  margin: 0;
  color: var(--ink);
  font-size: var(--text-small);
  line-height: 1.55;
}

.product-spec-table {
  margin: 0;
  border-top: 1px solid var(--line);
}

.product-spec-table > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.35fr) minmax(0, 0.65fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.product-spec-table dt,
.product-spec-table dd {
  margin: 0;
  font-size: var(--text-small);
  line-height: 1.5;
}

.product-spec-table dt {
  color: var(--muted);
}

.product-spec-table dd {
  color: var(--ink);
  font-weight: var(--weight-medium);
}

.product-related-section {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.product-related-section header h2 {
  margin: 7px 0 22px;
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  font-weight: var(--weight-regular);
  letter-spacing: 0.004em;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-related-card {
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.product-related-card > .media-image {
  width: 100%;
  aspect-ratio: 1/1;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--porcelain);
}

.product-related-card > div {
  display: grid;
  gap: 4px;
  padding: 10px 3px 0;
}

.product-related-card h3 {
  margin: 0;
  font-size: var(--text-card-title);
  font-weight: var(--weight-medium);
  line-height: 1.4;
}

.product-related-card span {
  color: var(--clay-dark);
  font-size: var(--text-button);
  font-weight: var(--weight-semibold);
}

.product-related-card small {
  color: var(--muted);
  font-size: var(--text-caption);
}

@media (min-width: 768px) {
  .product-detail.product-detail--reference {
    padding-block: 26px 80px;
  }

  .product-reference-hero {
    grid-template-columns: minmax(0, var(--product-gallery-column)) minmax(370px, var(--product-summary-column));
    gap: clamp(34px, 5vw, 72px);
  }

  .product-reference-summary {
    padding-top: 4px;
  }

  .product-reference-gallery .media-gallery--with-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .product-reference-gallery .media-gallery__track {
    width: 100%;
  }

  .product-reference-gallery .media-gallery__thumbnails {
    width: 100%;
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .product-reference-gallery .media-gallery__slide {
    min-height: 0;
  }

  .product-reference-gallery .media-gallery__arrow--left {
    left: 12px;
  }

  .product-option-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1120px) {
  .product-reference-hero {
    grid-template-columns: minmax(0, var(--product-gallery-column)) minmax(430px, var(--product-summary-column));
  }
}

@media (min-width: 1440px) {
  .product-reference-gallery .media-gallery__thumbnails {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }

  .product-reference-gallery .media-gallery__thumbnails button {
    width: auto;
    min-width: 88px;
    flex: 1 1 88px;
  }
}
:root{--content-max-width:1680px;--page-gutter:10px;--stream-columns:2;--stream-gap:10px;--stream-card-radius:var(--radius-lg);--stream-card-padding:12px;--stream-title-size:var(--text-card-title);--stream-body-size:var(--text-small);--stream-meta-size:var(--text-caption);--stream-title-line:1.4;--stream-body-line:1.5;--icon-size-xs:12px;--icon-size-sm:16px;--icon-size-md:20px;--icon-size-lg:24px;--icon-size-xl:32px;--icon-size-display:48px}.app-icon.app-icon{width:var(--app-icon-size,var(--icon-size-md));height:var(--app-icon-size,var(--icon-size-md));min-width:var(--app-icon-size,var(--icon-size-md));flex:0 0 auto;color:currentColor;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.15em}.hp-post-overlay .post-detail{padding:0;gap:0;background:var(--porcelain)}.hp-post-overlay .post-panel{border-radius:0}.post-author-header .avatar{width:56px;height:56px;border-radius:50%;object-fit:cover}.content-actions button.is-active>svg{fill:currentColor}.hp-gallery-prev{left:12px}.hp-gallery-next{right:12px}.hp-post-overlay .hp-post-scroll{padding:0}.hp-post-overlay{width:min(1360px,calc(100vw - 28px));max-width:calc(100vw - 28px);height:calc(100dvh - 28px);max-height:calc(100dvh - 28px)}.post-panel{min-width:0}.post-copy p{white-space:pre-wrap}@media(min-width:600px){:root{--page-gutter:18px;--stream-columns:3;--stream-gap:14px}}@media(min-width:1024px){:root{--page-gutter:28px;--stream-columns:4;--stream-gap:16px}}@media(min-width:1440px){:root{--page-gutter:32px;--stream-columns:5;--stream-gap:17px}}@media(max-width:700px){.hp-post-overlay{width:100%;max-width:100%;height:100dvh;max-height:100dvh}.hp-post-overlay .post-detail{display:block}.hp-post-overlay .post-panel{padding:20px 16px 100px}}

/* ==== assets/feed-parity.css ==== */
/* Dependencies used by FeedCard and MasonryGrid in the Halfpix source. */
/* Infinite-scroll marker stays quiet; manual controls appear only on failure
   or after bounded automatic recovery. Never render numbered UI pages. */
.feed-sentinel.hp-browse-more.is-manual{height:auto;min-height:40px;padding:8px 18px;opacity:1;pointer-events:auto;border:1px solid var(--hp-line);border-radius:var(--hp-radius-sm);background:var(--hp-surface);cursor:pointer}
.feed-sentinel.hp-browse-more[hidden],.feed-end[hidden]{display:none!important}
.feed-card .avatar--sm{width:30px;height:30px;min-width:30px;flex:0 0 30px;border-radius:50%;object-fit:cover}
.feed-card__image{display:block;object-fit:cover}
.feed-card__video .app-icon{width:16px;height:16px}
.feed-sentinel{display:block;width:100%;height:1px;min-height:1px;padding:0;border:0;overflow:hidden;opacity:0;pointer-events:none}
.discover-filters__clear[hidden]{display:none!important}
.media-gallery__video{position:relative;width:100%;height:100%}
.media-gallery__video video{display:block;width:100%;height:100%;object-fit:contain;background:#171310}
.media-gallery__play.is-playing{visibility:hidden;opacity:0;pointer-events:none}
.hpx-video-control-wrap{position:relative}
.hpx-video-control-wrap .media-gallery__play{display:none!important}
.hp-floating-video-controls{position:absolute;z-index:9;right:14px;bottom:14px;left:14px;display:grid;grid-template-columns:42px minmax(80px,1fr) auto 42px;align-items:center;gap:10px;min-height:52px;padding:5px 7px;border:1px solid rgb(255 255 255/.24);border-radius:14px;background:rgb(18 18 18/.72);color:#fff;box-shadow:0 7px 22px rgb(0 0 0/.28);backdrop-filter:blur(10px)}
.hp-floating-video-controls button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.hp-floating-video-controls button:hover,.hp-floating-video-controls button:focus-visible{background:rgb(255 255 255/.16);outline:2px solid #fff;outline-offset:1px}
.hp-floating-video-controls svg{width:22px;height:22px;fill:currentColor;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hp-video-progress{--hp-video-progress:0%;width:100%;height:18px;margin:0;appearance:none;background:transparent;cursor:pointer}
.hp-video-progress::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:linear-gradient(90deg,#fff var(--hp-video-progress),rgb(255 255 255/.32) var(--hp-video-progress))}
.hp-video-progress::-moz-range-track{height:4px;border-radius:999px;background:rgb(255 255 255/.32)}
.hp-video-progress::-moz-range-progress{height:4px;border-radius:999px;background:#fff}
.hp-video-progress::-webkit-slider-thumb{width:14px;height:14px;margin-top:-5px;appearance:none;border:2px solid #fff;border-radius:50%;background:var(--hp-primary,var(--celadon));box-shadow:0 1px 5px rgb(0 0 0/.35)}
.hp-video-progress::-moz-range-thumb{width:12px;height:12px;border:2px solid #fff;border-radius:50%;background:var(--hp-primary,var(--celadon));box-shadow:0 1px 5px rgb(0 0 0/.35)}
.hp-video-time{min-width:88px;color:#fff;font-size:12px;font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap}
@media(max-width:700px){.hp-floating-video-controls{right:8px;bottom:8px;left:8px;grid-template-columns:38px minmax(50px,1fr) 38px;gap:6px;min-height:46px;padding:3px 5px}.hp-floating-video-controls button{width:36px;height:36px}.hp-floating-video-controls svg{width:20px;height:20px}.hp-video-time{display:none}}
.media-lightbox__stage{display:grid;width:100%;height:100%;place-items:center;min-width:0;min-height:0}
.media-lightbox__stage img{display:block;width:100%;height:100%;max-width:1600px;max-height:calc(100dvh - 90px);object-fit:contain}
.comment-file[hidden]{display:none!important}
.hp-comments .hp-file-name{width:100%;max-width:none}
.hp-comments .comment{display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;align-items:start;padding:10px 0}
.product-detail--reference{width:min(100%,1500px);margin-inline:auto}
.product-reference-gallery .media-gallery__track{max-height:min(72dvh,720px)}
.product-reference-gallery .media-gallery__slide{min-height:0;max-height:min(72dvh,720px);aspect-ratio:1/1}
.product-reference-gallery .media-gallery__open,.product-reference-gallery .media-gallery__open>.media-image{width:100%;height:100%;max-height:min(72dvh,720px)}
.product-reference-gallery .media-gallery__open>.media-image{object-fit:contain}
.product-reference-summary>.hp-stock{display:none}
@media(min-width:768px){.product-reference-hero{grid-template-columns:minmax(0,1.08fr) minmax(370px,.92fr)}}
@media(min-width:1120px){.product-reference-hero{grid-template-columns:minmax(0,1.12fr) minmax(430px,.88fr)}}
:where(.app-button,.hp-button,.astra-place-order,.creation-actions button,.hp-form button[type=submit]){min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 18px;border:1px solid transparent!important;border-radius:var(--radius-md);background:var(--clay);color:#fff;font-family:var(--font-sans);font-size:var(--text-button);font-weight:var(--weight-semibold);line-height:1;box-shadow:none;cursor:pointer}
:where(.app-button,.hp-button,.astra-place-order,.creation-actions button,.hp-form button[type=submit])>.app-icon{position:static;width:18px;height:18px;min-width:18px;margin:0;vertical-align:middle}
:where(.app-button,.hp-button,.astra-place-order,.creation-actions button,.hp-form button[type=submit]):hover{border-color:transparent!important;background:var(--clay-dark);color:#fff;box-shadow:none;transform:none}
.app-button--secondary,.product-buy-now{border-color:var(--line)!important;background:var(--porcelain);color:var(--clay-dark)}
.app-button--secondary:hover,.product-buy-now:hover{border-color:var(--clay)!important;background:var(--cream);color:var(--clay-dark)}
.product-purchase-row .app-button,.product-buy-now{padding-inline:22px}
.product-purchase-row .app-button{width:100%}
.product-purchase-row .quantity-picker{min-height:50px;padding-inline:6px}
.product-purchase-row .quantity-picker button{display:grid;place-items:center;padding:0;border:0!important}
.product-tab-panel{width:100%;overflow:visible}
.creation-page{width:min(100%,1180px);margin-inline:auto;padding:26px var(--page-gutter) 110px}
.creation-heading{margin-bottom:24px}.creation-heading>svg{color:var(--clay-dark)}
.creation-form{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}.creation-main-column{display:grid;gap:16px}
.creation-section{padding:22px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--porcelain);box-shadow:var(--shadow-sm)}
.creation-section__head{display:flex;justify-content:space-between;gap:18px;margin-bottom:18px}.creation-section__head strong{font-family:var(--font-display);font-size:var(--text-section-title);font-weight:var(--weight-regular)}.creation-section__head small{max-width:38ch;color:var(--muted);text-align:right}
.creation-section .form-stack{display:grid;gap:15px}.creation-section label{display:grid;gap:7px;color:var(--ink);font-size:var(--text-small);font-weight:var(--weight-medium)}
.creation-section :is(input,textarea,select){width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--porcelain);color:var(--ink);font:inherit}.creation-section textarea{min-height:108px;resize:vertical}
.creation-quick-choices{display:flex;flex-wrap:wrap;gap:8px}.creation-quick-choices button{min-height:38px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:var(--cream);color:var(--ink)}
.creation-actions{position:sticky;bottom:12px;z-index:4;display:flex;justify-content:flex-end;padding:12px;border:1px solid var(--line);border-radius:var(--radius-lg);background:color-mix(in srgb,var(--porcelain) 90%,transparent);backdrop-filter:blur(12px)}
@media(min-width:960px){.creation-form{grid-template-columns:minmax(0,1fr) 300px}.creation-preview{display:block}.creation-actions{grid-column:1/-1}}
.astra-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.astra-field-grid label,.astra-order-note{display:grid;gap:7px;color:var(--ink);font-size:var(--text-small);font-weight:var(--weight-medium)}.astra-field-grid :is(input,select),.astra-order-note textarea{width:100%;min-height:46px;padding:10px 12px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--porcelain);color:var(--ink);font:inherit}.astra-field-wide{grid-column:1/-1}.astra-order-note{margin-top:18px}.astra-order-note textarea{min-height:96px;resize:vertical}.astra-place-order{width:100%;margin-top:18px}.astra-place-order>.app-icon{width:18px;height:18px}.astra-order-table .media-image{width:58px;height:58px;object-fit:contain;border-radius:var(--radius-sm)}
@media(max-width:599px){.astra-field-grid{grid-template-columns:1fr}.astra-field-wide{grid-column:auto}.creation-section{padding:17px}.creation-section__head{display:grid}.creation-section__head small{text-align:left}}
.cart-page--refined{width:min(100%,1680px);margin-inline:auto;padding:30px var(--page-gutter) 110px}.astra-cart-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:38px}.astra-cart-header h1{margin:0;font-family:var(--font-sans);font-size:var(--text-page-title);font-weight:var(--weight-semibold)}.astra-cart-continue{display:inline-flex;align-items:center;gap:8px;padding-bottom:4px;border-bottom:1px solid currentColor;color:var(--ink);text-decoration:none}.astra-cart-layout{display:grid;gap:34px}.astra-cart-table,.astra-cart-totals{border:1px solid var(--line)}.astra-cart-head,.astra-cart-row{display:grid;grid-template-columns:48px minmax(260px,1fr) 120px 158px 120px;align-items:center;gap:18px}.astra-cart-head{min-height:62px;padding:0 20px;border-bottom:1px solid var(--line);background:var(--porcelain);color:var(--muted);font-size:var(--text-caption)}.astra-cart-row{min-height:126px;padding:14px 20px;border-bottom:1px solid var(--line)}.astra-cart-remove{width:28px;height:28px;display:grid;place-items:center;padding:0;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--muted)}.astra-cart-remove>.app-icon{width:13px;height:13px}.astra-cart-product{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:20px}.astra-cart-image{overflow:hidden;background:var(--porcelain)}.astra-cart-image .media-image{width:92px;height:92px;object-fit:contain}.astra-cart-product>div{display:grid;gap:6px}.astra-cart-product a{color:var(--clay-dark);text-decoration:none}.astra-cart-product small{color:var(--muted)}.astra-cart-price,.astra-cart-subtotal{text-align:center;color:var(--muted)}.astra-cart-price small,.astra-cart-subtotal span{display:none}.astra-cart-subtotal{text-align:right}.astra-cart-quantity{display:flex;align-items:center;justify-content:center;gap:4px;padding:3px;border:1px solid var(--line);border-radius:var(--radius-md)}.astra-cart-quantity button{width:38px;height:38px;padding:0;border:0;background:transparent}.astra-cart-coupon{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-height:84px;padding:14px 20px}.astra-cart-coupon input{width:min(100%,265px);height:46px;padding:0 14px;border:1px solid var(--line);background:var(--porcelain)}.astra-cart-coupon button{min-height:46px;padding:0 20px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--porcelain);color:var(--ink)}.astra-cart-totals{width:min(100%,680px);justify-self:end}.astra-cart-totals h2{margin:0;padding:18px 22px;border-bottom:1px solid var(--line);background:var(--porcelain);font-family:var(--font-sans)}.astra-cart-totals>div{display:grid;grid-template-columns:1fr 1.15fr;gap:22px;margin:0 22px;padding:18px 0;border-bottom:1px solid var(--line);color:var(--muted)}.astra-cart-totals p{display:grid;gap:5px;margin:0}.astra-cart-totals a{color:var(--clay-dark)}.astra-checkout-button{min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;margin:22px;padding:0 18px;border:1px solid transparent;border-radius:var(--radius-md);background:var(--clay);color:#fff!important;text-decoration:none}.astra-checkout-button>.app-icon{width:18px;height:18px}
@media(max-width:699px){.astra-cart-header{align-items:flex-start;flex-direction:column}.astra-cart-head{display:none}.astra-cart-row{grid-template-columns:28px minmax(0,1fr) auto;gap:12px;min-height:0;padding:16px 12px}.astra-cart-product{grid-column:2/-1;grid-template-columns:80px minmax(0,1fr);gap:12px}.astra-cart-image .media-image{width:80px;height:80px}.astra-cart-price{grid-column:2;text-align:left}.astra-cart-price small,.astra-cart-subtotal span{display:block}.astra-cart-quantity{grid-column:2;justify-self:start}.astra-cart-subtotal{grid-column:3;grid-row:2/4;align-self:end}.astra-cart-totals{width:100%}}
.cart-page--refined .astra-cart-header h1,.astra-checkout-page .astra-checkout-header h1{font-family:var(--font-sans)!important;font-weight:var(--weight-semibold)!important;letter-spacing:-.035em}
.astra-checkout-page{width:min(100%,1680px);margin-inline:auto;padding:30px clamp(16px,2vw,34px) 110px;background:var(--cream)}.astra-checkout-header{display:flex;align-items:flex-start;flex-direction:column;gap:14px;margin-bottom:38px}.astra-checkout-header>a{order:2;display:inline-flex;align-items:center;gap:7px;color:var(--muted);font-size:var(--text-caption);text-decoration:none}.astra-checkout-header h1{order:1;margin:0;font-size:var(--text-page-title);line-height:1}.astra-checkout-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(390px,.95fr);align-items:start;gap:clamp(42px,6vw,96px)}.astra-customer-column,.astra-order-column{min-width:0}.astra-customer-column>h2,.astra-order-column>h2{margin:0;padding-bottom:16px;font-family:var(--font-sans);font-size:var(--text-xl);font-weight:var(--weight-semibold)}.astra-customer-column>h3{margin:0;padding-bottom:16px;border-bottom:1px solid var(--line);font-size:var(--text-lg)}.astra-saved-address{display:grid;gap:6px;margin-top:20px;color:var(--muted);font-size:var(--text-caption)}.astra-saved-address select{height:48px;padding:0 14px;border:1px solid var(--line);background:var(--porcelain)}.astra-checkout-coupon{display:grid;gap:9px;margin-top:22px}.astra-checkout-coupon>label{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:var(--text-caption)}.astra-checkout-coupon>div{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:10px}.astra-checkout-coupon input{width:100%;height:46px;padding:0 13px;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--porcelain)}.astra-checkout-coupon button{min-height:46px;border:1px solid var(--line);border-radius:var(--radius-md);background:var(--porcelain);color:var(--ink)}.astra-payment-section{margin-top:26px}.astra-payment-section h3{margin:0 0 16px;font-size:var(--text-lg)}.astra-payment-section>div{display:flex;align-items:flex-start;gap:14px;padding:20px;border-top:3px solid var(--clay);border-radius:0 0 var(--radius-sm) var(--radius-sm);background:var(--porcelain)}.astra-payment-section>div>.app-icon{width:18px;height:18px;color:var(--clay)}.astra-payment-section p{display:grid;gap:5px;margin:0}.astra-payment-section p span{color:var(--muted);font-size:var(--text-caption);line-height:1.6}.astra-order-column{position:sticky;top:92px}.astra-order-table{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--porcelain)}.astra-order-head,.astra-order-table article,.astra-order-total-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;padding:18px 20px;border-bottom:1px solid var(--line)}.astra-order-head{color:var(--muted);font-size:var(--text-small)}.astra-order-table article>div{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:12px}.astra-order-table article span{display:grid;gap:3px}.astra-order-table article small{color:var(--muted)}.astra-order-table article>strong,.astra-order-total-row>strong{text-align:right}.astra-order-grand-total{border-bottom:0}.astra-order-grand-total span,.astra-order-grand-total strong{color:var(--ink);font-size:var(--text-lg);font-weight:var(--weight-semibold)}
@media(max-width:1023px){.astra-checkout-layout{grid-template-columns:1fr}.astra-order-column{position:static;grid-row:1}.astra-customer-column{grid-row:2}}
@media(max-width:599px){.astra-checkout-page{padding-top:22px}.astra-checkout-header{margin-bottom:26px}.astra-checkout-header h1{font-size:40px}.astra-checkout-coupon>div{grid-template-columns:1fr}.astra-order-column{padding:16px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--porcelain);box-shadow:var(--shadow-sm)}.astra-customer-column{padding-top:8px}.astra-order-table article>div{grid-template-columns:50px minmax(0,1fr)}}
.creation-section .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.journal-stage-track{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.journal-stage-track span{position:relative;padding-top:18px;color:var(--muted);font-size:var(--text-caption);text-align:center}.journal-stage-track span:before{position:absolute;top:4px;right:0;left:0;height:3px;background:var(--line);content:""}.journal-stage-track span.is-current{color:var(--clay-dark);font-weight:var(--weight-semibold)}.journal-stage-track span.is-current:before{background:var(--clay)}
@media(max-width:599px){.creation-section .form-grid{grid-template-columns:1fr}.journal-stage-track{overflow-x:auto;grid-template-columns:repeat(5,minmax(76px,1fr))}}
@media(max-width:599px){.feed-card .avatar--sm{width:28px;height:28px;min-width:28px;flex-basis:28px}}

/* Discover layout is defined by the v1.2.3 design section in unified-ui.css. */

/* Piece journal: direct parity with the Halfpix creation flow. */
.creation-page{width:min(100%,1180px);margin-inline:auto;padding:42px 32px 110px}.creation-heading{display:block;margin-bottom:34px}.creation-heading>.app-icon{display:none}.creation-heading .eyebrow{display:block;margin-bottom:20px}.creation-heading h1{margin:0 0 10px;font-family:var(--font-serif);font-size:clamp(38px,4vw,56px);line-height:1.05}.creation-heading p{max-width:720px;margin:0;color:var(--muted);font-size:var(--text-body)}.creation-form{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px 34px;align-items:start}.creation-main-column{display:grid;gap:20px;min-width:0}.creation-media-section,.journal-quick,.journal-details{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--porcelain);box-shadow:var(--shadow-sm)}.creation-media-section,.journal-quick{padding:26px}.creation-section__head{display:grid;grid-template-columns:minmax(160px,auto) minmax(0,1fr);gap:18px;align-items:start;margin-bottom:22px}.creation-section__head strong{font-family:var(--font-serif);font-size:26px;line-height:1.15;white-space:nowrap}.creation-section__head small{justify-self:end;max-width:390px;color:var(--muted);line-height:1.55;text-align:right}.creation-dropzone{display:grid;min-height:178px;border:1px dashed var(--sage-dark);border-radius:var(--radius-md);background:var(--mist);cursor:pointer;place-items:center}.creation-dropzone input{position:absolute;width:1px;height:1px;opacity:0}.creation-dropzone>span{display:grid;gap:8px;justify-items:center;color:var(--muted)}.creation-dropzone .app-icon{width:28px;height:28px;color:var(--clay)}.creation-dropzone strong{color:var(--ink);font-family:var(--font-sans);font-size:var(--text-body)}.journal-fieldset{display:grid;gap:12px;margin:0 0 22px;padding:0;border:0}.journal-fieldset legend{margin-bottom:11px;font-weight:var(--weight-semibold)}.journal-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.journal-choice{cursor:pointer}.journal-choice input{position:absolute;opacity:0;pointer-events:none}.journal-choice span{display:flex;min-height:44px;align-items:center;justify-content:center;padding:9px 12px;border:1px solid var(--line);border-radius:999px;background:var(--porcelain);color:var(--muted);font-size:var(--text-small);text-align:center;transition:.16s ease}.journal-choice input:checked+span{border-color:var(--forest);background:var(--forest);color:#fff;box-shadow:0 6px 16px color-mix(in srgb,var(--forest) 18%,transparent)}.journal-location-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.journal-helper{color:var(--muted);line-height:1.5}.journal-quick>label{display:grid;gap:8px;font-weight:var(--weight-medium)}.journal-quick textarea{min-height:116px}.journal-title-toggle{display:inline-flex;width:auto;min-height:40px;align-items:center;gap:8px;margin-top:14px;padding:8px 0;border:0;background:transparent;color:var(--forest);font-weight:var(--weight-semibold)}.journal-title-toggle .app-icon{width:18px;height:18px}.journal-title-field{margin-top:14px}.journal-auto-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0 0;padding-top:20px;border-top:1px solid var(--line)}.journal-auto-meta div{display:grid;gap:5px}.journal-auto-meta dt{color:var(--ink);font-size:var(--text-small);font-weight:var(--weight-semibold)}.journal-auto-meta dd{margin:0;color:var(--muted);font-size:var(--text-caption)}.journal-details{padding:0}.journal-details summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 26px;cursor:pointer;list-style:none}.journal-details summary::-webkit-details-marker{display:none}.journal-details summary>span{display:grid;gap:5px}.journal-details summary strong{font-family:var(--font-serif);font-size:23px}.journal-details summary small{color:var(--muted)}.journal-details summary>.app-icon{width:20px;height:20px}.journal-details[open] summary>.app-icon{transform:rotate(180deg)}.journal-details>.form-stack{padding:0 26px 26px}.creation-preview{position:sticky;top:92px;min-width:0}.creation-preview__heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:14px}.creation-preview__heading .eyebrow{font-size:var(--text-small)}.creation-preview__heading small{color:var(--muted)}.creation-preview__tabs{display:grid;grid-template-columns:1fr 1fr;margin-bottom:14px;padding:4px;border:1px solid var(--line);border-radius:999px;background:var(--mist)}.creation-preview__tabs button{min-height:36px;border:0;border-radius:999px;background:transparent;color:var(--muted)}.creation-preview__tabs button.is-active{background:var(--porcelain);color:var(--ink);box-shadow:var(--shadow-sm)}.creation-phone{width:100%;max-width:340px;margin-inline:auto;padding:9px;border:1px solid var(--line-strong);border-radius:34px;background:var(--ink);box-shadow:var(--shadow-md)}.creation-phone__status{display:flex;justify-content:space-between;padding:5px 15px 10px;color:#fff;font-size:11px}.creation-phone__body{overflow:hidden;padding:18px;border-radius:25px;background:var(--cream)}.creation-phone__body>small{color:var(--muted)}.creation-phone__progress{display:grid;grid-template-columns:1fr auto;gap:5px;margin:12px 0;padding:12px;border-radius:var(--radius-sm);background:var(--mint)}.creation-phone__progress strong{grid-row:1/3;grid-column:2;align-self:center;color:var(--forest)}.creation-phone__progress small{color:var(--muted)}.creation-phone__media{display:grid;min-height:174px;gap:8px;border-radius:var(--radius-md);background:var(--mist);color:var(--muted);place-content:center;text-align:center}.creation-phone__media .app-icon{width:25px;height:25px;margin:auto}.creation-phone__chips{display:flex;flex-wrap:wrap;gap:5px;margin:13px 0}.creation-phone__chips span{padding:5px 8px;border-radius:999px;background:var(--mint);color:var(--forest);font-size:10px}.creation-phone h3{margin:9px 0 5px;font-family:var(--font-serif);font-size:21px}.creation-phone p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.creation-phone__actions{display:flex;gap:8px;margin-top:15px}.creation-phone__actions button{flex:1;min-height:34px;border:1px solid var(--line);border-radius:999px;background:var(--porcelain);color:var(--forest);font-size:11px}.creation-actions{grid-column:1}.creation-actions button{display:inline-flex;min-width:170px;align-items:center;justify-content:center;gap:8px}.creation-actions .app-icon{width:18px;height:18px}
@media(max-width:900px){.creation-page{padding-inline:20px}.creation-form{grid-template-columns:1fr}.creation-preview{position:static;grid-row:auto}.creation-actions{grid-column:1}.creation-phone{max-width:360px}}
@media(max-width:599px){.creation-page{padding:26px 14px 100px}.creation-heading{margin-bottom:24px}.creation-heading .eyebrow{margin-bottom:12px}.creation-heading h1{font-size:38px}.creation-media-section,.journal-quick{padding:20px 16px}.creation-section__head{grid-template-columns:1fr;gap:6px}.creation-section__head small{justify-self:start;text-align:left}.creation-section__head strong{white-space:normal}.journal-choice-grid,.journal-location-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.journal-auto-meta{grid-template-columns:1fr}.journal-details summary{padding:20px 16px}.journal-details>.form-stack{padding:0 16px 20px}.creation-preview{display:none}.creation-actions button{width:100%}}
.creation-page{box-sizing:border-box}.creation-form>.creation-actions{position:static;bottom:auto;z-index:auto;grid-column:1;justify-content:flex-start;padding:0;border:0;border-radius:0;background:transparent;backdrop-filter:none}
.creation-phone__media :is(img,video){display:block;width:100%;height:174px;border-radius:inherit;object-fit:cover}

/* Remove the legacy .hp-form 720px cap and match the original Halfpix desktop composition. */
.hp-main[data-view="create"] .creation-page{width:min(100%,1320px);max-width:1320px;padding:38px 34px 80px}
.hp-main[data-view="create"] .creation-form{width:100%;max-width:none;grid-template-columns:minmax(0,1fr) 315px;gap:16px;align-items:start}
.hp-main[data-view="create"] .creation-heading{margin-bottom:26px}
.hp-main[data-view="create"] .creation-heading .eyebrow{margin-bottom:18px;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:700}
.hp-main[data-view="create"] .creation-heading h1{margin-bottom:12px;font-size:44px}
.hp-main[data-view="create"] .creation-media-section,.hp-main[data-view="create"] .journal-quick{padding:18px;border-radius:20px}
.hp-main[data-view="create"] .creation-section__head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}
.hp-main[data-view="create"] .creation-section__head strong{font-family:var(--font-sans);font-size:14px;font-weight:700;line-height:1.4;white-space:nowrap}
.hp-main[data-view="create"] .creation-section__head small{max-width:none;font-size:11px;line-height:1.45;text-align:right}
.hp-main[data-view="create"] .creation-dropzone{min-height:132px;border-radius:14px}
.hp-main[data-view="create"] .creation-dropzone .app-icon{width:30px;height:30px}
.hp-main[data-view="create"] .journal-choice-grid{display:flex;flex-wrap:wrap;gap:8px}
.hp-main[data-view="create"] .journal-choice span{min-height:38px;padding:7px 14px;font-size:13px}
.hp-main[data-view="create"] .creation-preview{padding:18px;border:1px solid var(--line);border-radius:20px;background:var(--porcelain);box-shadow:var(--shadow-sm)}
.hp-main[data-view="create"] .creation-preview__heading{align-items:center;margin-bottom:14px}
.hp-main[data-view="create"] .creation-preview__heading .eyebrow{color:var(--ink);font-size:17px;font-weight:700;letter-spacing:0;text-transform:none}
.hp-main[data-view="create"] .creation-preview__heading small{padding:5px 10px;border-radius:999px;background:var(--mint);color:var(--forest);font-size:11px;font-weight:700}
.hp-main[data-view="create"] .creation-preview__tabs{margin-bottom:16px}
.hp-main[data-view="create"] .creation-phone{max-width:278px;padding:8px;border-radius:32px}
.hp-main[data-view="create"] .creation-phone__body{padding:12px;border-radius:24px}
.hp-main[data-view="create"] .creation-phone__media{min-height:143px}
.hp-main[data-view="create"] .creation-phone__media :is(img,video){height:143px}
@media(max-width:1100px){.hp-main[data-view="create"] .creation-form{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:900px){.hp-main[data-view="create"] .creation-page{padding:30px 20px 100px}.hp-main[data-view="create"] .creation-form{grid-template-columns:1fr}.hp-main[data-view="create"] .creation-preview{position:static}.hp-main[data-view="create"] .creation-phone{max-width:320px}}
@media(max-width:599px){.hp-main[data-view="create"] .creation-page{padding:24px 14px 100px}.hp-main[data-view="create"] .creation-heading h1{font-size:38px}.hp-main[data-view="create"] .creation-section__head{display:grid;gap:5px}.hp-main[data-view="create"] .creation-section__head small{text-align:left}.hp-main[data-view="create"] .creation-preview{display:none}}

/* Halfpix creation and Kiln Log parity. */
.hp-main[data-view="create"] .creation-section{padding:26px;border:1px solid var(--line);border-radius:22px;background:var(--porcelain);box-shadow:var(--shadow-sm)}
.hp-main[data-view="create"] .form-stack{display:grid;gap:18px}.hp-main[data-view="create"] .form-stack>label{display:grid;gap:8px;color:var(--ink);font-size:14px;font-weight:600}
.hp-main[data-view="create"] .form-stack input,.hp-main[data-view="create"] .form-stack textarea,.hp-main[data-view="create"] .form-stack select{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit}.hp-main[data-view="create"] .form-stack textarea{min-height:118px;resize:vertical}
.hp-main[data-view="create"] .creation-upload-list{display:grid;gap:8px;margin-top:12px}.hp-main[data-view="create"] .creation-upload-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;background:var(--mist);font-size:13px}.hp-main[data-view="create"] .creation-upload-item img{width:42px;height:42px;object-fit:cover;border-radius:7px}
.hp-main[data-view="create"] .creation-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:2px}.hp-main[data-view="create"] .creation-actions button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 22px;border:1px solid var(--clay);border-radius:999px;background:var(--clay);color:#fff;font-weight:700}
.hp-main[data-view="create"] .studio-role-guide{display:grid;gap:6px;padding:18px 20px;border-left:3px solid var(--clay);border-radius:0 16px 16px 0;background:var(--mint)}.hp-main[data-view="create"] .studio-role-guide p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.hp-main[data-view="create"] .creation-quick-choice{display:grid;gap:10px;margin:0;padding:0;border:0}.hp-main[data-view="create"] .creation-quick-choice legend{margin-bottom:10px;color:var(--ink);font-size:14px;font-weight:600}.hp-main[data-view="create"] .creation-quick-choice>div{display:flex;flex-wrap:wrap;gap:8px}.hp-main[data-view="create"] .creation-quick-choice label{position:relative;cursor:pointer}.hp-main[data-view="create"] .creation-quick-choice input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.hp-main[data-view="create"] .creation-quick-choice span{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-size:13px;transition:border-color .15s,background .15s,color .15s}.hp-main[data-view="create"] .creation-quick-choice input:checked+span{border-color:var(--clay);background:var(--clay);color:#fff;box-shadow:var(--shadow-sm)}.hp-main[data-view="create"] .creation-quick-choice input:focus-visible+span{outline:2px solid var(--clay);outline-offset:2px}.hp-main[data-view="create"] .creation-multi-choice input:checked+span{border-color:var(--sage-dark);background:var(--mint);color:var(--clay-dark)}
.hp-main[data-view="create"] .experiment-curve-list{display:grid;gap:10px}.hp-main[data-view="create"] .experiment-curve-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;gap:10px}.hp-main[data-view="create"] .experiment-curve-row label{display:grid;gap:7px;font-size:12px}.hp-main[data-view="create"] .experiment-curve-row button{width:40px;height:42px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--muted)}.hp-main[data-view="create"] .journal-stage-history{padding:12px 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.hp-main[data-view="create"] .journal-stage-history summary{color:var(--ink);font-weight:600;cursor:pointer}
.hp-main[data-view="create"] [hidden]{display:none!important}.hp-main[data-view="create"] .creation-quick-choice input:disabled+span{cursor:not-allowed;opacity:.42}
@media(max-width:620px){.hp-main[data-view="create"] .experiment-curve-row{grid-template-columns:1fr 1fr}.hp-main[data-view="create"] .experiment-curve-row button{grid-column:2;justify-self:end}}
.hp-main[data-view="create"] .creation-phone__nav--record{min-height:42px;display:flex;padding-inline:14px;background:#fff}.hp-main[data-view="create"] .creation-phone__nav--record>.app-icon{width:15px;height:15px}.hp-main[data-view="create"] .creation-phone__record-title{min-width:0;flex:1;overflow:hidden;font-size:12px;font-weight:600;line-height:1.25;text-align:center;text-overflow:ellipsis;white-space:nowrap}
.hp-main[data-view="create"] .creation-phone__record-scroll{display:grid;align-content:start;gap:10px;flex:1;min-height:0;padding:10px;overflow:hidden;background:var(--cream)}.hp-main[data-view="create"] .creation-phone__stage-card,.hp-main[data-view="create"] .creation-phone__record-card{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 5px 14px rgb(36 28 24/.045)}.hp-main[data-view="create"] .creation-phone__stage-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 9px;align-items:center;padding:10px 12px}.hp-main[data-view="create"] .creation-phone__stage-card>span:first-child{color:var(--muted);font-size:9px}.hp-main[data-view="create"] .creation-phone__stage-card>strong{grid-column:1;overflow:hidden;font-size:12px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.hp-main[data-view="create"] .creation-phone__test-code{grid-column:2!important;grid-row:1/span 2;align-self:center;padding:6px 9px;border-radius:999px;background:var(--clay-soft);color:var(--clay-dark);font-size:9px;font-weight:600}
.hp-main[data-view="create"] .creation-phone__record-card{overflow:hidden}.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media{width:100%;min-height:0;height:104px;padding:16px;box-sizing:border-box;background:linear-gradient(145deg,var(--porcelain),var(--cream))}.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media.is-empty:before{content:"+";display:grid;width:28px;height:28px;margin-bottom:6px;place-items:center;border:1px solid color-mix(in srgb,var(--clay) 40%,var(--line));border-radius:50%;color:var(--clay);font-size:17px}.hp-main[data-view="create"] .creation-phone__record-pills{display:flex;flex-wrap:wrap;gap:5px;padding:9px 10px 10px}.hp-main[data-view="create"] .creation-phone__record-pills>span{padding:4px 7px;border:1px solid var(--line);border-radius:999px;background:var(--porcelain);color:var(--muted);font-size:8px}.hp-main[data-view="create"] .creation-phone__record-pills>span.is-accent{border-color:transparent;background:var(--clay-soft);color:var(--clay-dark)}
.hp-main[data-view="create"] .creation-phone__record-copy{display:grid;gap:7px;padding:11px 12px}.hp-main[data-view="create"] .creation-phone__record-copy>strong{overflow:hidden;font-size:13px;font-weight:600;line-height:1.35}.hp-main[data-view="create"] .creation-phone__experiment-grid{display:grid;grid-template-columns:1fr 1fr;gap:5px}.hp-main[data-view="create"] .creation-phone__experiment-grid>span{display:grid;gap:2px;min-width:0;padding:7px 8px;border-radius:9px;background:var(--porcelain);color:var(--muted);font-size:8px}.hp-main[data-view="create"] .creation-phone__experiment-grid b{overflow:hidden;color:var(--ink);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.hp-main[data-view="create"] .creation-phone__record-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:52px;padding:8px 10px;border-top:1px solid var(--line);background:#fff}.hp-main[data-view="create"] .creation-phone__record-actions>span,.hp-main[data-view="create"] .creation-phone__record-actions>strong{display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;font-size:9px;font-weight:600}.hp-main[data-view="create"] .creation-phone__record-actions>strong{border-color:var(--clay);background:var(--clay);color:#fff}
.hp-main[data-view="create"] .tag-editor{display:grid;gap:8px;color:var(--ink);font-size:13px;font-weight:600}.hp-main[data-view="create"] .tag-editor>span{line-height:1.4}.hp-main[data-view="create"] .tag-editor>div{display:flex;flex-wrap:wrap;gap:6px}.hp-main[data-view="create"] .tag-editor button{width:auto;min-width:0;min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer}.hp-main[data-view="create"] .tag-editor button:hover{border-color:var(--clay);background:var(--clay-soft);color:var(--clay-dark)}.hp-main[data-view="create"] .tag-editor button.selected{border-color:var(--clay);background:var(--clay-soft);color:var(--clay-dark)}
.hp-main[data-view="create"] .tag-editor .tag-custom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;flex-wrap:nowrap}.hp-main[data-view="create"] .form-stack .tag-editor .tag-custom input{width:100%;min-width:0;height:40px;padding:0 11px;border:1px solid var(--line);border-radius:11px;background:#fff}.hp-main[data-view="create"] .tag-editor .tag-custom button{min-width:62px;height:40px;border-color:var(--clay);background:var(--clay);color:#fff}
.hp-main[data-view="create"] .product-tool-picker{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 16px;padding:16px 0 0;border-top:1px solid var(--line)}.hp-main[data-view="create"] .product-tool-picker strong{font-size:13px}.hp-main[data-view="create"] .product-tool-picker small,.hp-main[data-view="create"] .product-tool-picker p{grid-column:1;color:var(--muted);font-size:11px;line-height:1.45}.hp-main[data-view="create"] .product-tool-picker p{margin:4px 0 0}.hp-main[data-view="create"] .product-tool-picker button{grid-column:2;grid-row:1/span 2;min-height:40px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--ink);font-weight:600}.hp-main[data-view="create"] .product-tool-picker button:hover{border-color:var(--clay);background:var(--clay-soft)}
@media(max-width:520px){.hp-main[data-view="create"] .product-tool-picker{grid-template-columns:1fr}.hp-main[data-view="create"] .product-tool-picker button{grid-column:1;grid-row:auto;justify-self:start}}
.hp-main[data-view="create"] .creation-phone__nav{min-height:48px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:9px;padding:0 13px;border-bottom:1px solid var(--line)}.hp-main[data-view="create"] .creation-phone__nav button{border:0;background:transparent;color:var(--clay);font-weight:700}
.hp-main[data-view="create"] .creation-phone__record-copy{display:grid;gap:7px;padding:14px}.hp-main[data-view="create"] .creation-phone__record-copy h3,.hp-main[data-view="create"] .creation-phone__record-copy p{margin:0}.hp-main[data-view="create"] .creation-phone__record-copy p{color:var(--muted);font-size:12px;line-height:1.5}.hp-main[data-view="create"] .creation-phone__record-actions{display:flex;justify-content:space-between;padding:12px 14px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.hp-main[data-view="create"] .creation-phone__media img,.hp-main[data-view="create"] .creation-phone__media video{width:100%;height:100%;object-fit:cover}.hp-main[data-view="create"] .creation-phone__chips{display:flex;flex-wrap:wrap;gap:5px}.hp-main[data-view="create"] .creation-phone__chips span{padding:4px 7px;border-radius:999px;background:var(--mint);font-size:9px}
.hp-main[data-view="kiln-log"] .hp-hero{max-width:1320px;margin:0 auto;padding:38px 34px 24px}.hp-main[data-view="kiln-log"] .hp-toolbar,.hp-main[data-view="kiln-log"] .hp-kiln-editor,.hp-main[data-view="kiln-log"]>.hp-list{width:min(calc(100% - 68px),1252px);margin-inline:auto}
.hp-main[data-view="kiln-log"] .hp-kiln-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:26px;border:1px solid var(--line);border-radius:22px;background:var(--porcelain);box-shadow:var(--shadow-sm)}.hp-main[data-view="kiln-log"] .hp-kiln-form>h2,.hp-main[data-view="kiln-log"] .hp-load-groups,.hp-main[data-view="kiln-log"] .hp-kiln-form>.hp-toolbar,.hp-main[data-view="kiln-log"] .hp-message{grid-column:1/-1}
.hp-main[data-view="kiln-log"] .kiln-section__head{grid-column:1/-1;display:flex;align-items:end;justify-content:space-between;gap:20px}.hp-main[data-view="kiln-log"] .kiln-section__head h2{margin:3px 0 0;font-family:var(--font-serif);font-size:28px}.hp-main[data-view="kiln-log"] .kiln-status{padding:7px 12px;border-radius:999px;background:var(--mint);color:var(--clay-dark);font-size:12px;font-weight:700}
.hp-main[data-view="kiln-log"] .kiln-progress{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin:2px 0 8px}.hp-main[data-view="kiln-log"] .kiln-progress>span{position:relative;display:grid;justify-items:center;gap:7px;color:var(--muted);font-size:11px}.hp-main[data-view="kiln-log"] .kiln-progress>span:before{content:"";position:absolute;top:14px;left:-50%;width:100%;height:1px;background:var(--line)}.hp-main[data-view="kiln-log"] .kiln-progress>span:first-child:before{display:none}.hp-main[data-view="kiln-log"] .kiln-progress b{position:relative;z-index:1;width:29px;height:29px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:#fff}.hp-main[data-view="kiln-log"] .kiln-progress .is-current b,.hp-main[data-view="kiln-log"] .kiln-progress .is-complete b{border-color:var(--clay);background:var(--clay);color:#fff}.hp-main[data-view="kiln-log"] .kiln-setup-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;border-radius:16px;background:var(--mist)}
.hp-main[data-view="kiln-log"] .hp-load-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--mist)}.hp-main[data-view="kiln-log"] .hp-load-group legend{padding:0 8px;font-weight:700}.hp-main[data-view="kiln-log"] .hp-span-2{grid-column:span 2}
.hp-main[data-view="kiln-log"] .hp-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.hp-main[data-view="kiln-log"] .hp-batch-item{display:grid;grid-template-columns:54px 1fr;gap:16px;min-height:150px;padding:22px;text-align:left;border:1px solid var(--line);border-radius:22px;background:var(--porcelain);box-shadow:var(--shadow-sm)}.hp-main[data-view="kiln-log"] .hp-kiln-symbol{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:var(--mint);color:var(--clay);font-size:24px}
@media(max-width:760px){.hp-main[data-view="kiln-log"] .hp-kiln-form,.hp-main[data-view="kiln-log"] .hp-load-group,.hp-main[data-view="kiln-log"] .hp-results{grid-template-columns:1fr}.hp-main[data-view="kiln-log"] .hp-span-2{grid-column:auto}.hp-main[data-view="kiln-log"] .hp-toolbar,.hp-main[data-view="kiln-log"] .hp-kiln-editor,.hp-main[data-view="kiln-log"]>.hp-list{width:min(calc(100% - 28px),1252px)}}

/* Creation and kiln parity: the WordPress theme follows the same component geometry as Halfpix Web. */
.hp-main[data-view="create"] .creation-section{padding:26px;border:1px solid var(--line);border-radius:22px;background:var(--porcelain);box-shadow:var(--shadow-sm)}
.hp-main[data-view="create"] .form-stack{display:grid;gap:18px}.hp-main[data-view="create"] .form-stack>label{display:grid;gap:8px;color:var(--ink);font-size:14px;font-weight:600}
.hp-main[data-view="create"] .form-stack input,.hp-main[data-view="create"] .form-stack textarea,.hp-main[data-view="create"] .form-stack select{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit}
.hp-main[data-view="create"] .form-stack textarea{min-height:118px;resize:vertical}.hp-main[data-view="create"] .creation-upload-list{display:grid;gap:8px;margin-top:12px}
.hp-main[data-view="create"] .creation-upload-item{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:10px;background:var(--mist);font-size:13px}.hp-main[data-view="create"] .creation-upload-item img{width:42px;height:42px;object-fit:cover;border-radius:7px}
.hp-main[data-view="create"] .creation-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:2px}.hp-main[data-view="create"] .creation-actions button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 22px;border:1px solid var(--clay);border-radius:999px;background:var(--clay);color:#fff;font-weight:700}.hp-main[data-view="create"] .creation-actions button:first-child{background:#fff;color:var(--clay-dark)}
.hp-main[data-view="create"] .creation-preview{position:sticky;top:92px;padding:18px;border:1px solid var(--line);border-radius:22px;background:var(--porcelain);box-shadow:var(--shadow-sm)}
.hp-main[data-view="create"] .creation-preview__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.hp-main[data-view="create"] .creation-preview__head h2{margin:0;font:700 16px var(--font-sans)}
.hp-main[data-view="create"] .creation-preview__tabs{display:grid;grid-template-columns:1fr 1fr;padding:3px;border-radius:999px;background:var(--mist)}.hp-main[data-view="create"] .creation-preview__tabs button{height:38px;border:0;border-radius:999px;background:transparent;color:var(--muted)}.hp-main[data-view="create"] .creation-preview__tabs button.is-active{background:#fff;color:var(--ink);box-shadow:var(--shadow-sm)}

.hp-main[data-view="kiln-log"] .hp-hero{max-width:1320px;margin:0 auto;padding:38px 34px 24px}.hp-main[data-view="kiln-log"] .hp-toolbar,.hp-main[data-view="kiln-log"] .hp-kiln-editor,.hp-main[data-view="kiln-log"]>.hp-list{width:min(calc(100% - 68px),1252px);margin-inline:auto}
.hp-main[data-view="kiln-log"] .hp-kiln-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:26px;border:1px solid var(--line);border-radius:22px;background:var(--porcelain);box-shadow:var(--shadow-sm)}.hp-main[data-view="kiln-log"] .hp-kiln-form>h2,.hp-main[data-view="kiln-log"] .hp-load-groups,.hp-main[data-view="kiln-log"] .hp-kiln-form>.hp-toolbar,.hp-main[data-view="kiln-log"] .hp-message{grid-column:1/-1}
.hp-main[data-view="kiln-log"] .hp-load-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--mist)}.hp-main[data-view="kiln-log"] .hp-load-group legend{padding:0 8px;font-weight:700}.hp-main[data-view="kiln-log"] .hp-span-2{grid-column:span 2}
.hp-main[data-view="kiln-log"] .hp-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.hp-main[data-view="kiln-log"] .hp-batch-item{display:grid;grid-template-columns:54px 1fr;gap:16px;min-height:150px;padding:22px;text-align:left;border:1px solid var(--line);border-radius:22px;background:var(--porcelain);box-shadow:var(--shadow-sm)}.hp-main[data-view="kiln-log"] .hp-kiln-symbol{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:var(--mint);color:var(--clay);font-size:24px}
@media(max-width:760px){.hp-main[data-view="kiln-log"] .hp-kiln-form,.hp-main[data-view="kiln-log"] .hp-load-group,.hp-main[data-view="kiln-log"] .hp-results{grid-template-columns:1fr}.hp-main[data-view="kiln-log"] .hp-span-2{grid-column:auto}.hp-main[data-view="kiln-log"] .hp-toolbar,.hp-main[data-view="kiln-log"] .hp-kiln-editor,.hp-main[data-view="kiln-log"]>.hp-list{width:min(calc(100% - 28px),1252px)}}

/* Checkout field order and typography from the Halfpix checkout. */
.astra-checkout-page .astra-checkout-header h1{font-family:var(--font-display),Georgia,"Times New Roman",serif!important;font-size:44px;font-weight:var(--weight-regular)!important;letter-spacing:-.025em}
.checkout-reference-fields{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px 16px}
.checkout-reference-fields>label{grid-column:span 3}
.checkout-reference-fields>label:nth-of-type(1),.checkout-reference-fields>label:nth-of-type(9),.checkout-reference-fields>label:nth-of-type(10){grid-column:1/-1}
.checkout-reference-fields>label:nth-of-type(6),.checkout-reference-fields>label:nth-of-type(7),.checkout-reference-fields>label:nth-of-type(8){grid-column:span 2}
.checkout-reference-fields :is(input,select){height:52px;border-radius:2px;background:var(--porcelain)}
.astra-customer-column>h3{font-size:18px}.astra-order-note textarea{border-radius:2px}
@media(max-width:700px){.checkout-reference-fields{grid-template-columns:1fr}.checkout-reference-fields>label{grid-column:1!important}}
html,body,.hp-shell{max-width:100%;overflow-x:hidden}

/* Piece journal optional details use the same controls and spacing as Halfpix Web. */
.hp-main[data-view="create"] .journal-details>.form-stack{display:grid;gap:26px;padding:0 26px 28px}
.hp-main[data-view="create"] .journal-details-intro{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding-top:2px;border-top:1px solid var(--line)}
.hp-main[data-view="create"] .journal-details-intro strong{padding-top:22px;font-family:var(--font-serif);font-size:22px;font-weight:600}
.hp-main[data-view="create"] .journal-details-intro small{padding-top:22px;color:var(--muted);font-size:12px}
.hp-main[data-view="create"] .journal-detail-choice>div{gap:9px}
.hp-main[data-view="create"] .journal-detail-choice span{min-height:38px;padding:0 14px}
.hp-main[data-view="create"] .journal-measurements{display:grid;gap:16px;padding:22px;border:1px solid var(--line);border-radius:16px;background:var(--mist)}
.hp-main[data-view="create"] .journal-measure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hp-main[data-view="create"] .journal-number{display:grid;gap:8px;color:var(--ink);font-size:14px;font-weight:600}
.hp-main[data-view="create"] .journal-stepper{display:grid;grid-template-columns:minmax(0,1fr) auto 42px 42px;align-items:center;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#fff}
.hp-main[data-view="create"] .form-stack .journal-stepper input{min-width:0;height:44px;padding:0 4px 0 13px;border:0;border-radius:0;background:transparent;appearance:textfield}
.hp-main[data-view="create"] .form-stack .journal-stepper input::-webkit-inner-spin-button{display:none}
.hp-main[data-view="create"] .journal-stepper small{padding:0 10px;color:var(--muted);font-size:12px;font-weight:500}
.hp-main[data-view="create"] .journal-stepper button{display:grid;width:42px;height:44px;padding:0;border:0;border-left:1px solid var(--line);border-radius:0;background:#fff;color:var(--forest);place-items:center}
.hp-main[data-view="create"] .journal-stepper button:hover{background:var(--clay-soft);color:var(--clay-dark)}
.hp-main[data-view="create"] .journal-stepper .app-icon{width:17px;height:17px}
.hp-main[data-view="create"] .journal-details .tag-editor{padding-top:22px;border-top:1px solid var(--line)}
.hp-main[data-view="create"] .journal-product-options{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}
.hp-main[data-view="create"] .journal-product-options label{position:relative;cursor:pointer}.hp-main[data-view="create"] .journal-product-options input{position:absolute;opacity:0}
.hp-main[data-view="create"] .journal-product-options span{display:grid;height:100%;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:10px;padding:9px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}
.hp-main[data-view="create"] .journal-product-options img{width:44px;height:44px;border-radius:8px;object-fit:cover}.hp-main[data-view="create"] .journal-product-options b{overflow:hidden;font-size:12px;line-height:1.35;text-overflow:ellipsis}
.hp-main[data-view="create"] .journal-product-options input:checked+span{border-color:var(--clay);background:var(--clay-soft);box-shadow:0 0 0 1px var(--clay)}
@media(max-width:620px){.hp-main[data-view="create"] .journal-details>.form-stack{padding:0 16px 20px}.hp-main[data-view="create"] .journal-details-intro{display:grid;gap:0}.hp-main[data-view="create"] .journal-details-intro small{padding-top:4px}.hp-main[data-view="create"] .journal-measurements{padding:16px}.hp-main[data-view="create"] .journal-measure-grid{grid-template-columns:1fr}}
@media(max-width:760px){.hp-main[data-view="create"] .journal-product-options{grid-template-columns:1fr 1fr}}@media(max-width:460px){.hp-main[data-view="create"] .journal-product-options{grid-template-columns:1fr}}

/* Exact rules copied from the Halfpix creation components. */
.hp-main[data-view="create"] .creation-form{display:grid;gap:16px;grid-template-columns:minmax(0,1fr) minmax(280px,.34fr);align-items:start}
.hp-main[data-view="create"] .creation-main-column{min-width:0;display:grid;gap:16px}
.hp-main[data-view="create"] .creation-preview{position:sticky;top:96px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:22px;background:var(--porcelain);box-shadow:0 5px 16px rgb(36 28 24/.04)}
.hp-main[data-view="create"] .creation-preview__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.hp-main[data-view="create"] .creation-preview__head h2{margin:0;font-family:var(--font-sans);font-size:var(--text-lg);font-weight:var(--weight-semibold)}
.hp-main[data-view="create"] .creation-preview__head>span{width:fit-content;padding:4px 8px;border-radius:var(--radius-pill);background:var(--clay-soft);color:var(--clay);font-size:var(--text-xs);font-weight:var(--weight-semibold);line-height:1.25}
.hp-main[data-view="create"] .creation-preview__tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:4px;border:0;border-radius:var(--radius-pill);background:var(--cream)}
.hp-main[data-view="create"] .creation-preview__tabs button{min-height:36px;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--muted);font:inherit;font-size:var(--text-sm)}
.hp-main[data-view="create"] .creation-preview__tabs button.is-active{background:#fff;color:var(--ink);box-shadow:0 2px 7px rgb(19 35 61/.08)}
.hp-main[data-view="create"] .creation-phone{width:min(100%,320px);margin:18px auto 0;padding:6px;border:5px solid var(--ink);border-radius:34px;background:var(--ink);box-shadow:0 12px 28px rgb(19 35 61/.15)}
.hp-main[data-view="create"] .creation-phone__screen{position:relative;display:flex;min-height:min(580px,72dvh);overflow:hidden;flex-direction:column;border-radius:24px;background:#fff;color:var(--ink)}
.hp-main[data-view="create"] .creation-phone__status{display:flex;align-items:center;justify-content:space-between;padding:8px 18px 4px;color:var(--ink);font-size:10px;font-weight:var(--weight-semibold)}
.hp-main[data-view="create"] .creation-phone__nav{display:flex;align-items:center;min-height:38px;gap:9px;padding:0 12px;border-bottom:1px solid var(--line)}
.hp-main[data-view="create"] .creation-phone__nav--record{min-height:42px;padding-inline:14px;background:#fff}
.hp-main[data-view="create"] .creation-phone__nav svg{width:17px;height:17px}
.hp-main[data-view="create"] .creation-phone__record-title{min-width:0;flex:1;overflow:hidden;font-size:12px;font-weight:var(--weight-semibold);line-height:1.25;text-align:center;text-overflow:ellipsis;white-space:nowrap}
.hp-main[data-view="create"] .creation-phone__record-scroll{display:grid;align-content:start;gap:10px;flex:1;min-height:0;padding:10px;overflow:hidden;background:var(--cream)}
.hp-main[data-view="create"] .creation-phone__stage-card,.hp-main[data-view="create"] .creation-phone__record-card{border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 5px 14px rgb(36 28 24/.045)}
.hp-main[data-view="create"] .creation-phone__stage-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 9px;align-items:center;padding:10px 12px}
.hp-main[data-view="create"] .creation-phone__stage-card>span:first-child{color:var(--muted);font-size:9px;line-height:1.25}
.hp-main[data-view="create"] .creation-phone__stage-card>strong{grid-column:1;overflow:hidden;font-size:12px;font-weight:var(--weight-semibold);line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.hp-main[data-view="create"] .creation-phone__stage-next{grid-column:2;grid-row:1/span 2;align-self:center;padding:6px 9px;border-radius:var(--radius-pill);background:var(--clay-soft);color:var(--clay-dark);font-size:9px;font-weight:var(--weight-semibold);white-space:nowrap}
.hp-main[data-view="create"] .creation-phone__record-card{overflow:hidden}
.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media{width:100%;min-height:0;max-height:none;aspect-ratio:4/3}
.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media.is-empty{display:grid;aspect-ratio:auto;height:104px;min-height:104px;padding:16px;background:linear-gradient(145deg,var(--porcelain),var(--cream));place-items:center}
.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media.is-empty:before{content:"+";display:grid;width:28px;height:28px;margin-bottom:6px;place-items:center;border:1px solid color-mix(in srgb,var(--clay) 40%,var(--line));border-radius:50%;color:var(--clay);font-size:17px}
.hp-main[data-view="create"] .creation-phone__record-pills{display:flex;flex-wrap:wrap;gap:5px;margin:0;padding:9px 10px 10px}
.hp-main[data-view="create"] .creation-phone__record-pills>span{width:fit-content;max-width:100%;padding:4px 7px;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--porcelain);color:var(--muted);font-size:8px;font-weight:var(--weight-medium);line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.hp-main[data-view="create"] .creation-phone__record-pills>span.is-accent{border-color:transparent;background:var(--clay-soft);color:var(--clay-dark)}
.hp-main[data-view="create"] .creation-phone__record-copy{display:grid;gap:7px;padding:11px 12px}
.hp-main[data-view="create"] .creation-phone__record-copy h3{margin:0;font-family:var(--font-sans);font-size:13px;font-weight:var(--weight-semibold);line-height:1.35}
.hp-main[data-view="create"] .creation-phone__record-copy p{display:-webkit-box;margin:0;overflow:hidden;color:var(--muted);font-size:9px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.hp-main[data-view="create"] .creation-phone__record-copy small{color:var(--muted);font-size:8px}
.hp-main[data-view="create"] .creation-phone__record-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:52px;padding:8px 10px;border-top:1px solid var(--line);background:#fff}
.hp-main[data-view="create"] .creation-phone__record-actions button{display:grid;min-width:0;min-height:0;padding:0;place-items:center;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);font-size:9px;font-weight:var(--weight-semibold)}
.hp-main[data-view="create"] .creation-phone__record-actions button:last-child{border-color:var(--clay);background:var(--clay);color:#fff}
.hp-main[data-view="create"] .journal-quick{border-color:color-mix(in srgb,var(--clay) 22%,var(--line));background:linear-gradient(145deg,#fff,var(--cream))}
.hp-main[data-view="create"] .journal-choice span{min-height:44px;padding:9px 14px;background:var(--cream);font-size:var(--text-sm);font-weight:var(--weight-medium)}
.hp-main[data-view="create"] .journal-choice input:checked+span{border-color:var(--clay-dark);background:var(--clay);box-shadow:0 5px 12px rgb(138 83 55/.2);color:#fff}
.hp-main[data-view="create"] .journal-auto-meta{display:flex;flex-wrap:wrap;gap:10px 24px;padding-top:12px}
.hp-main[data-view="create"] .journal-auto-meta div{display:inline-flex;gap:7px}
.hp-main[data-view="create"] .journal-auto-meta dt,.hp-main[data-view="create"] .journal-auto-meta dd{font-size:var(--text-xs)}
@media(max-width:1023px){.hp-main[data-view="create"] .creation-form{grid-template-columns:1fr}.hp-main[data-view="create"] .creation-preview{position:static}}
.hp-main[data-view="create"] .creation-phone__feed-nav{display:flex;align-items:center;min-height:40px;justify-content:space-between;gap:8px;padding:0 12px;border-bottom:1px solid var(--line);color:var(--muted);font-size:10px}
.hp-main[data-view="create"] .creation-phone__feed-nav strong{color:var(--ink);font-size:11px}.hp-main[data-view="create"] .creation-phone__feed-nav svg{width:17px;height:17px}
.hp-main[data-view="create"] .creation-phone__studio-list{display:grid;align-content:start;gap:7px;flex:1;padding:8px;overflow:hidden}
.hp-main[data-view="create"] .creation-phone__studio-list article{display:grid;grid-template-columns:75px minmax(0,1fr);gap:8px;min-height:76px;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--porcelain)}
.hp-main[data-view="create"] .creation-phone__studio-list .creation-phone__media{min-height:76px;max-height:76px;aspect-ratio:auto;border-radius:0}
.hp-main[data-view="create"] .creation-phone__studio-list article>div:last-child{display:grid;align-content:center;gap:5px;padding-right:7px}
.hp-main[data-view="create"] .creation-phone__studio-list strong{display:-webkit-box;overflow:hidden;font-size:10px;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.hp-main[data-view="create"] .creation-phone__studio-list article>div:last-child span{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.hp-main[data-view="create"] .creation-phone__studio-list .is-placeholder>span{background:var(--cream)}
.hp-main[data-view="create"] .creation-phone__studio-list .is-placeholder strong,.hp-main[data-view="create"] .creation-phone__studio-list .is-placeholder small{display:block;height:9px;border-radius:var(--radius-pill);background:var(--line)}
.hp-main[data-view="create"] .creation-phone__studio-list .is-placeholder small{width:62%}
.hp-main[data-view="create"] .creation-phone__bottom-nav{display:flex;align-items:center;min-height:43px;justify-content:space-around;gap:5px;padding:0 7px;border-top:1px solid var(--line);color:var(--muted);font-size:8px}
.hp-main[data-view="create"] .creation-phone__bottom-nav b{display:grid;width:25px;height:22px;place-items:center;border-radius:7px;background:var(--clay);color:#fff}.hp-main[data-view="create"] .creation-phone__bottom-nav b svg{width:15px;height:15px}
.hp-main[data-view="create"] .journal-title-field[hidden]{display:none!important}

/* ==== assets/design-tokens.css ==== */
/* Halfpix canonical visual system. Keep this stylesheet last in the cascade. */
:root {
  --celadon: #276b60;
  --celadon-deep: #1d5047;
  --kiln-blue: #52748a;
  --clay: var(--celadon);
  --clay-dark: var(--celadon-deep);
  --clay-soft: #ddefe7;
  --cream: #f5f8f7;
  --porcelain: #ffffff;
  --ink: #22332e;
  --muted: #62716b;
  --line: #dae4df;
  --sage: #527d68;
  --coral-soft: var(--clay-soft);
  --green-soft: #ebf1ed;
  --navy-soft: #e5eef5;
  --danger: #985b52;
  --warning: #846b35;
  --shadow-sm: 0 4px 16px rgb(34 51 46/0.035);
  --shadow-md: 0 8px 24px rgb(34 51 46/0.055);
  --shadow: var(--shadow-md);
  --font-sans: "DM Sans", "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
  --font-display: "DM Serif Display", "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --text-caption: 0.75rem;
  --text-small: 0.8125rem;
  --text-body: 0.9375rem;
  --text-body-mobile: 1rem;
  --text-button: 0.875rem;
  --text-card-title: 0.9375rem;
  --text-product-title: 1.375rem;
  --text-section-title: clamp(1.75rem, 2.5vw, 2rem);
  --text-page-title: clamp(2rem, 3.2vw, 2.625rem);
  --text-display: clamp(2.5rem, 4.2vw, 3.375rem);
  --text-xs: var(--text-caption);
  --text-sm: var(--text-button);
  --text-base: var(--text-body);
  --text-lg: 1.125rem;
  --text-xl: var(--text-product-title);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --icon-size-xs: 12px;
  --icon-size-sm: 16px;
  --icon-size-md: 20px;
  --icon-size-lg: 24px;
  --icon-size-xl: 32px;

  /* Compatibility aliases used by the native WordPress shell. */
  --hp-canvas: var(--cream);
  --hp-surface: var(--porcelain);
  --hp-surface-soft: var(--green-soft);
  --hp-ink: var(--ink);
  --hp-muted: var(--muted);
  --hp-line: var(--line);
  --hp-primary: var(--clay);
  --hp-primary-deep: var(--clay-dark);
  --hp-primary-soft: var(--clay-soft);
  --hp-clay: var(--clay);
  --hp-clay-soft: var(--clay-soft);
  --hp-danger: var(--danger);
  --hp-shadow: var(--shadow);
  --hp-font-sans: var(--font-sans);
  --hp-font-display: var(--font-display);
  --hp-radius-sm: var(--radius-md);
  --hp-radius-md: var(--radius-lg);
  --hp-radius-lg: 22px;
  --hp-green: var(--clay);
  --hp-deep: var(--clay-dark);
  --hp-soft: var(--clay-soft);
  --hp-bg: var(--cream);
  --hp-card: var(--porcelain);
  --hp-blue: var(--kiln-blue);
  --hp-warn: var(--warning);
}

html { background: var(--cream); }
body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}
body {
  color: var(--ink);
  background:
    radial-gradient(circle at 92% -8%, color-mix(in srgb, var(--celadon) 7%, transparent) 0, transparent 34rem),
    radial-gradient(circle at 4% 100%, rgb(82 125 104 / 0.05) 0, transparent 36rem),
    var(--cream);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: 1.75;
  letter-spacing: 0;
}

h1,
h2,
h3,
p { color: inherit; }
.hp-title,
.hp-page-title,
.stream-heading h1,
.post-copy h1,
.discover-detail__panel > h1,
.product-reference-summary > h1 {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  letter-spacing: -0.035em;
}
.hp-title,
.hp-page-title,
.stream-heading h1 { font-size: var(--text-page-title); line-height: 1.08; }
.stream-card__title,
.feed-card__title,
.shop-card h2 { font-size: var(--text-card-title); line-height: 1.4; font-weight: var(--weight-semibold); }
.stream-card__summary,
.feed-card__description,
.shop-card__body p { color: var(--muted); font-size: var(--text-small); line-height: 1.5; }
.stream-card__meta,
.feed-card__stats,
.shop-card__kind,
.hp-meta { color: var(--muted); font-size: var(--text-caption); }

.app-button,
.hp-button,
.hp-chip,
.stream-tabs button,
.content-actions button { font-size: var(--text-button); font-weight: var(--weight-semibold); }
.app-button,
.hp-button { border-radius: var(--radius-lg); }
.hp-chip,
.stream-tabs button,
.content-badge,
.discover-chip { border-radius: var(--radius-pill); }
.app-button,
.hp-button,
.stream-tabs button[aria-selected="true"],
.stream-tabs button.is-active { background: var(--clay); color: var(--porcelain); }

.hp-panel,
.feed-card,
.discover-card,
.shop-card,
.info-card,
.comment-composer,
.product-detail-tabs { border-color: var(--line); background: var(--porcelain); box-shadow: var(--shadow-sm); }
.feed-card,
.discover-card,
.shop-card { border-radius: var(--radius-lg); }

.media-image,
.feed-card__image,
.discover-card__media img,
.shop-card__media img,
.product-related-card img,
.hp-card-media img {
  display: block;
  width: 100%;
  background: var(--clay-soft);
  object-fit: cover;
}
.feed-card__media,
.discover-card__media,
.shop-card__media { overflow: hidden; background: var(--clay-soft); }
.feed-card__image,
.discover-card__media img,
.shop-card__media img { transition: transform 220ms ease; }
.feed-card__media:hover .feed-card__image,
.discover-card__media:hover img,
.shop-card__media:hover img { transform: scale(1.018); }
.post-media-image,
.post-video,
.media-gallery__open,
.media-gallery__open > img { width: 100%; height: 100%; object-fit: contain; background: #171310; }
.avatar,
.hp-avatar,
.feed-card__author img,
.comment-avatar { border-radius: 50%; object-fit: cover; background: var(--clay-soft); }
.app-icon,
.hp-nav svg,
.hp-bottom-nav svg { color: currentColor; stroke-width: 1.8; }

:focus-visible { outline: 3px solid color-mix(in srgb, var(--clay) 35%, transparent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* Cross-page component contract. This is the final authority for shared UI. */
:root {
  --control-height: 46px;
  --control-padding: 12px 14px;
  --media-backdrop: #171310;
}

:where(
  .discover-page,
  .shop-page,
  .cart-page,
  .checkout-page,
  .astra-checkout-page,
  .creation-page,
  .journal-page,
  .kiln-page,
  .me-page,
  .orders-page,
  .order-detail,
  .post-detail,
  .product-detail
) {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
}

:where(
  .commerce-heading,
  .creation-heading,
  .journal-heading,
  .create-hub,
  .checkout-header,
  .cart-page-header,
  .astra-cart-header,
  .astra-checkout-header,
  .shop-heading
) :is(.eyebrow, .hp-eyebrow) {
  color: var(--clay-dark);
  font-family: var(--font-sans);
  font-size: var(--text-caption);
  font-weight: var(--weight-semibold);
  letter-spacing: .08em;
  text-transform: uppercase;
}

:where(
  .commerce-heading,
  .creation-heading,
  .journal-heading,
  .create-hub,
  .checkout-header,
  .cart-page-header,
  .astra-cart-header,
  .astra-checkout-header,
  .shop-heading
) h1,
.post-copy h1,
.discover-detail__panel > h1,
.product-reference-summary > h1 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-page-title);
  font-weight: var(--weight-regular);
  letter-spacing: -.035em;
  line-height: 1.08;
}

:where(
  .creation-section,
  .creation-preview,
  .hp-panel,
  .info-card,
  .journal-card,
  .kiln-card,
  .me-section,
  .address-card,
  .order-summary,
  .order-list > a,
  .astra-cart-table,
  .astra-cart-totals,
  .astra-order-table,
  .checkout-section,
  .cart-item,
  .empty-state
) {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--porcelain);
  box-shadow: var(--shadow-sm);
}

:where(
  .hp-field,
  .creation-section label,
  .checkout-section label,
  .astra-field-grid label,
  .astra-order-note,
  .address-form label
) {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
}

:where(
  .hp-field,
  .creation-section,
  .checkout-section,
  .astra-field-grid,
  .astra-order-note,
  .address-form,
  .discover-filters
) :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  width: 100%;
  min-height: var(--control-height);
  padding: var(--control-padding);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: 1.5;
  box-shadow: none;
}

:where(
  .hp-field,
  .creation-section,
  .checkout-section,
  .astra-field-grid,
  .astra-order-note,
  .address-form,
  .discover-filters
) :is(input, select, textarea):focus {
  border-color: var(--clay);
  outline: 3px solid color-mix(in srgb, var(--clay) 16%, transparent);
  outline-offset: 1px;
}

:where(
  .app-button,
  .hp-button,
  .astra-place-order,
  .astra-checkout-button,
  .creation-actions button[type="submit"],
  .comment-submit
) {
  min-height: var(--control-height);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--clay);
  color: var(--porcelain);
  font-family: var(--font-sans);
  font-size: var(--text-button);
  font-weight: var(--weight-semibold);
  line-height: 1;
  box-shadow: none;
}

:where(
  .hp-chip,
  .stream-tabs button,
  .choice-row button,
  .tag-editor button,
  .journal-filters button,
  .content-badge,
  .discover-chip,
  .sale-chip
) {
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: var(--text-button);
  font-weight: var(--weight-medium);
  line-height: 1;
}

:where(.app-button, .hp-button, .comment-submit) > .app-icon,
:where(.app-button, .hp-button, .comment-submit) > svg {
  width: var(--icon-size-sm);
  height: var(--icon-size-sm);
  flex: 0 0 var(--icon-size-sm);
}

:where(
  .feed-card__stats,
  .discover-card__meta,
  .shop-card__kind,
  .comment-actions,
  .product-sku,
  .hp-meta
) {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: var(--text-caption);
  font-weight: var(--weight-regular);
}

:where(.feed-card, .discover-card, .shop-card, .journal-card) {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--porcelain);
  box-shadow: var(--shadow-sm);
}

:where(.feed-card__title, .discover-card h2, .shop-card h2, .journal-card h2) {
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-card-title);
  font-weight: var(--weight-semibold);
  letter-spacing: -.012em;
  line-height: 1.4;
}

:where(.feed-card__description, .discover-card p, .shop-card p, .journal-card p) {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-regular);
  line-height: 1.55;
}

:where(.comment-composer, .hp-auth-card, body.login form) {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--porcelain);
  box-shadow: var(--shadow-sm);
}

.hp-comments,
.hp-comments :is(button, input, textarea) {
  font-family: var(--font-sans);
}

.hp-comments .comment-composer textarea {
  color: var(--ink);
  font-size: var(--text-body);
  line-height: 1.6;
}

.hp-comments .comment-submit {
  min-height: 38px;
  padding-inline: 14px;
}

:where(.post-media-image, .post-video, .media-gallery__open, .media-gallery__open > img) {
  background: var(--media-backdrop);
}

body.login,
body.login :is(input, button) {
  font-family: var(--font-sans);
}

body.login h1 a {
  color: var(--clay-dark);
  font-family: var(--font-display);
  font-size: var(--text-page-title);
  font-weight: var(--weight-regular);
}

body.login :is(input[type="text"], input[type="password"], input[type="email"]) {
  min-height: var(--control-height);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--porcelain);
  color: var(--ink);
  font-size: var(--text-body);
}

@media (max-width: 599px) {
  :where(
    .commerce-heading,
    .creation-heading,
    .journal-heading,
    .create-hub,
    .checkout-header,
    .cart-page-header,
    .astra-cart-header,
    .astra-checkout-header,
    .shop-heading
  ) h1,
  .post-copy h1,
  .discover-detail__panel > h1,
  .product-reference-summary > h1 {
    font-size: 2rem;
    line-height: 1.15;
  }
}

/* Route-level guarantees where older parity rules used !important or view scoping. */
.hp-main[data-view="cart"] :is(.cart-page-header, .astra-cart-header) h1,
.hp-main[data-view="checkout"] :is(.checkout-header, .astra-checkout-header) h1,
.hp-main[data-view="create"] .creation-heading h1 {
  font-family: var(--font-display) !important;
  font-size: var(--text-page-title) !important;
  font-weight: var(--weight-regular) !important;
  letter-spacing: -.035em !important;
  line-height: 1.08 !important;
}

.hp-main[data-view="create"] :is(.creation-section, .creation-preview) {
  border-color: var(--line) !important;
  border-radius: var(--radius-lg) !important;
  background-color: var(--porcelain) !important;
  box-shadow: var(--shadow-sm) !important;
}

.hp-main[data-view="checkout"] :is(button, .app-button, .hp-button, .astra-place-order),
.hp-main[data-view="create"] :is(button, .app-button, .hp-button) {
  font-family: var(--font-sans) !important;
  font-size: var(--text-button) !important;
}

@media (max-width: 599px) {
  .hp-main[data-view="cart"] :is(.cart-page-header, .astra-cart-header) h1,
  .hp-main[data-view="checkout"] :is(.checkout-header, .astra-checkout-header) h1,
  .hp-main[data-view="create"] .creation-heading h1 {
    font-size: 2rem !important;
    line-height: 1.15 !important;
  }
}

/* Product detail layout follows available shell width instead of viewport alone. */
.hp-main[data-view="product"] .product-detail.product-detail--reference {
  width: min(100%, 1500px);
}

.hp-main[data-view="product"] .product-purchase-row .product-quantity-stepper {
  width: auto;
  min-width: 132px;
  min-height: 50px;
  display: grid;
  grid-template-columns: 40px minmax(32px, 1fr) 40px;
  align-items: center;
  gap: 2px;
  padding: 3px;
}

.hp-main[data-view="product"] .product-purchase-row .product-quantity-stepper button {
  width: 40px;
  height: 42px;
  display: grid;
  place-items: center;
}

.hp-main[data-view="product"] .product-purchase-row .product-quantity-stepper > strong {
  min-width: 32px;
  line-height: 1;
  text-align: center;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .hp-main[data-view="product"] .product-reference-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
    gap: clamp(22px, 3vw, 34px);
  }

  .hp-main[data-view="product"] .product-reference-gallery {
    width: 100%;
  }

  .hp-main[data-view="product"] .product-reference-summary {
    width: 100%;
    padding-top: 0;
  }

  .hp-main[data-view="product"] .product-purchase-row {
    grid-template-columns: 132px minmax(0, 1fr);
  }
}

@media (min-width: 1100px) {
  .hp-main[data-view="product"] .product-reference-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    gap: clamp(34px, 4.5vw, 72px);
  }
}

@media (max-width: 599px) {
  .hp-main[data-view="product"] .product-purchase-row {
    grid-template-columns: 124px minmax(0, 1fr);
  }

  .hp-main[data-view="product"] .product-purchase-row .product-quantity-stepper {
    min-width: 124px;
    grid-template-columns: 38px minmax(28px, 1fr) 38px;
  }

  .hp-main[data-view="product"] .product-purchase-row .product-quantity-stepper button {
    width: 38px;
  }
}

/* Product description/specification reading panel. */
.hp-main[data-view="product"] .hp-product-bottom {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

.hp-main[data-view="product"] .product-detail-tabs {
  width: 100%;
  height: auto !important;
  max-height: none !important;
  margin-top: clamp(38px, 5vw, 56px);
  overflow: hidden !important;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--porcelain);
  box-shadow: var(--shadow-sm);
}

.hp-main[data-view="product"] .product-tab-list {
  min-height: 62px;
  align-items: stretch;
  gap: clamp(22px, 3vw, 36px);
  overflow: hidden;
  padding-inline: clamp(22px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--cream) 42%, var(--porcelain));
}

.hp-main[data-view="product"] .product-tab-list button {
  min-height: 62px;
  font-size: var(--text-button);
}

.hp-main[data-view="product"] .product-tab-panel {
  width: 100%;
  max-width: none;
  min-height: 220px;
  height: auto !important;
  padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 48px);
  overflow: visible !important;
}

.hp-main[data-view="product"] .product-tab-panel > :is(article, dl, p) {
  width: min(100%, 860px);
}

.hp-main[data-view="product"] .product-tab-panel h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  font-weight: var(--weight-regular);
  line-height: 1.2;
}

.hp-main[data-view="product"] .product-tab-panel article > p,
.hp-main[data-view="product"] .product-tab-panel > p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-body);
  line-height: 1.75;
}

@media (max-width: 599px) {
  .hp-main[data-view="product"] .product-detail-tabs {
    margin-top: 30px;
  }

  .hp-main[data-view="product"] .product-tab-list {
    min-height: 54px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-inline: 18px;
  }

  .hp-main[data-view="product"] .product-tab-list button {
    min-height: 54px;
  }

  .hp-main[data-view="product"] .product-tab-panel {
    min-height: 180px;
    padding: 26px 18px 30px;
  }
}

/* Specificity bridge for legacy page styles that predate the shared tokens. */
.hp-main :is(
  .commerce-heading,
  .creation-heading,
  .journal-heading,
  .create-hub,
  .checkout-header,
  .cart-page-header,
  .astra-cart-header,
  .astra-checkout-header,
  .shop-heading
) h1,
.hp-main .post-copy h1,
.hp-main .discover-detail__panel > h1,
.hp-main .product-reference-summary > h1 {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: var(--text-page-title);
  font-weight: var(--weight-regular);
  letter-spacing: -.035em;
  line-height: 1.08;
}

.hp-main :is(
  .creation-section,
  .creation-preview,
  .hp-panel,
  .info-card,
  .journal-card,
  .kiln-card,
  .me-section,
  .address-card,
  .order-summary,
  .order-list > a,
  .astra-cart-table,
  .astra-cart-totals,
  .astra-order-table,
  .checkout-section,
  .cart-item,
  .empty-state
) {
  border-color: var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--porcelain);
  box-shadow: var(--shadow-sm);
}

.hp-main :is(
  .app-button,
  .hp-button,
  .astra-place-order,
  .astra-checkout-button,
  .creation-actions button[type="submit"],
  .comment-submit
) {
  color: var(--porcelain);
  font-family: var(--font-sans);
  font-size: var(--text-button);
  font-weight: var(--weight-semibold);
}

.hp-main :is(
  .hp-chip,
  .stream-tabs button,
  .choice-row button,
  .tag-editor button,
  .journal-filters button,
  .content-badge,
  .discover-chip,
  .sale-chip
) {
  font-family: var(--font-sans);
  font-size: var(--text-button);
}

@media (max-width: 599px) {
  .hp-main :is(
    .commerce-heading,
    .creation-heading,
    .journal-heading,
    .create-hub,
    .checkout-header,
    .cart-page-header,
    .astra-cart-header,
    .astra-checkout-header,
    .shop-heading
  ) h1,
  .hp-main .post-copy h1,
  .hp-main .discover-detail__panel > h1,
  .hp-main .product-reference-summary > h1 {
    font-size: 2rem;
    line-height: 1.15;
  }
}

/* ==== assets/unified-ui.css ==== */
/*
 * Halfpix Unified UI — 2026-09-15
 * Final route-level design layer. Loaded after legacy parity styles and tokens.
 * Design direction: editorial pottery studio + visual discovery + quiet commerce.
 */

:root {
  --ui-canvas: #f6f7f4;
  --ui-canvas-warm: #f7f3ee;
  --ui-surface: #ffffff;
  --ui-surface-soft: #eef4f1;
  --ui-surface-warm: #f7eee8;
  --ui-ink: #1f2d29;
  --ui-ink-soft: #344740;
  --ui-muted: #68766f;
  --ui-faint: #87938e;
  --ui-line: #dce5e1;
  --ui-line-strong: #cbd8d3;
  --ui-primary: #2f6d60;
  --ui-primary-strong: #23564c;
  --ui-primary-soft: #deeee8;
  --ui-clay: #b96847;
  --ui-clay-soft: #f3e5dc;
  --ui-danger: #9a5148;
  --ui-danger-soft: #f7e8e5;
  --ui-success: #47715c;
  --ui-success-soft: #e8f1eb;
  --ui-warning: #8a6b2f;
  --ui-warning-soft: #f5eedc;

  --ui-radius-xs: 8px;
  --ui-radius-sm: 12px;
  --ui-radius-md: 16px;
  --ui-radius-lg: 22px;
  --ui-radius-xl: 30px;
  --ui-radius-pill: 999px;

  --ui-shadow-xs: 0 1px 2px rgb(31 45 41 / .035);
  --ui-shadow-sm: 0 8px 24px rgb(31 45 41 / .055);
  --ui-shadow-md: 0 18px 48px rgb(31 45 41 / .085);
  --ui-shadow-float: 0 24px 60px rgb(31 45 41 / .14);

  --ui-control: 46px;
  --ui-control-lg: 52px;
  --ui-gutter: clamp(18px, 3vw, 42px);
  --ui-section: clamp(28px, 4vw, 56px);
  --ui-content: 1480px;
  --ui-reading: 760px;
  --ui-ease: cubic-bezier(.2,.75,.25,1);

  /* Keep old theme variables synchronized. */
  --cream: var(--ui-canvas);
  --porcelain: var(--ui-surface);
  --ink: var(--ui-ink);
  --muted: var(--ui-muted);
  --line: var(--ui-line);
  --clay: var(--ui-primary);
  --clay-dark: var(--ui-primary-strong);
  --clay-soft: var(--ui-primary-soft);
  --hp-canvas: var(--ui-canvas);
  --hp-surface: var(--ui-surface);
  --hp-surface-soft: var(--ui-surface-soft);
  --hp-ink: var(--ui-ink);
  --hp-muted: var(--ui-muted);
  --hp-line: var(--ui-line);
  --hp-primary: var(--ui-primary);
  --hp-primary-deep: var(--ui-primary-strong);
  --hp-primary-soft: var(--ui-primary-soft);
  --hp-shadow: var(--ui-shadow-sm);
}

/* ---------- Global foundation ---------- */
html { background: var(--ui-canvas); }
body {
  color: var(--ui-ink);
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--celadon) 7.5%, transparent), transparent 30rem),
    radial-gradient(circle at 0 100%, rgb(185 104 71 / .045), transparent 34rem),
    var(--ui-canvas);
}
body::selection { background: var(--ui-primary-soft); color: var(--ui-primary-strong); }
img { max-width: 100%; }
button, input, select, textarea { accent-color: var(--ui-primary); }
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled, input:disabled, select:disabled, textarea:disabled { cursor: not-allowed; opacity: .55; }

.hp-skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-primary-strong);
  color: #fff;
  font-weight: 700;
  transition: transform 160ms ease;
}
.hp-skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--celadon) 28%, transparent) !important;
  outline-offset: 3px;
}

/* ---------- Shell / global navigation ---------- */
.hp-app { grid-template-columns: 236px minmax(0, 1fr); }
.hp-rail {
  z-index: 45;
  padding: 24px 18px;
  border-right: 1px solid rgb(220 229 225 / .9);
  background: rgb(255 255 255 / .88);
  box-shadow: 12px 0 40px rgb(31 45 41 / .025);
  backdrop-filter: blur(22px) saturate(135%);
}
.hp-brand { gap: 10px; padding-inline: 8px; color: var(--ui-primary-strong); letter-spacing: -.02em; }
.hp-brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--ui-primary), var(--ui-primary-strong));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--celadon) 20%, transparent);
}
.hp-nav { gap: 6px; margin-top: 30px; }
.hp-nav__item {
  min-height: 46px;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 13px;
  color: #5f6e68;
  font-size: 14px;
  font-weight: 650;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.hp-nav__item svg { width: 19px; height: 19px; }
.hp-nav__item:hover { transform: translateX(2px); background: #f1f5f3; color: var(--ui-ink); }
.hp-nav__item.is-active {
  border-color: #d3e4de;
  background: var(--ui-primary-soft);
  color: var(--ui-primary-strong);
}
.hp-nav__item.is-create {
  min-height: 48px;
  margin-block: 10px;
  border-color: transparent;
  border-radius: 15px;
  background: var(--ui-primary);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--celadon) 18%, transparent);
}
.hp-nav__item.is-create:hover { transform: translateY(-1px); background: var(--ui-primary-strong); }

.hp-header {
  height: 70px;
  padding: 10px var(--ui-gutter);
  border-bottom: 1px solid rgb(220 229 225 / .82);
  background: rgb(250 252 250 / .84);
  backdrop-filter: blur(22px) saturate(135%);
}
.hp-header > .hp-search {
  width: min(640px, 52vw);
  min-height: 44px;
  border: 1px solid #dbe4e0;
  border-radius: 14px;
  background: rgb(255 255 255 / .92);
  box-shadow: var(--ui-shadow-xs);
}
.hp-header > .hp-search:focus-within {
  border-color: #9bbdb2;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--celadon) 8%, transparent);
}
/* One visible surface per control group: the search form owns the outline. */
.hp-header > .hp-search > input {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: var(--ui-ink) !important;
  box-shadow: none !important;
}
.hp-header > .hp-search > input:focus { outline: 0 !important; box-shadow: none !important; }
.hp-icon-button[aria-label="Cart"] { position: relative; }
.hp-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--ui-clay);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}
.hp-icon-button, .hp-language {
  min-width: 42px;
  height: 42px;
  border-color: #dbe4e0;
  background: rgb(255 255 255 / .94);
  color: var(--ui-ink-soft);
  box-shadow: var(--ui-shadow-xs);
}
.hp-icon-button:hover, .hp-language:hover { border-color: #c6d8d1; background: var(--ui-surface-soft); color: var(--ui-primary-strong); }
.hp-account__menu {
  top: 50px;
  width: 230px;
  padding: 8px;
  border-color: var(--ui-line);
  border-radius: 16px;
  box-shadow: var(--ui-shadow-md);
}
.hp-account__menu a { min-height: 42px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.hp-account__menu a:hover { background: var(--ui-surface-soft); color: var(--ui-primary-strong); }

.hp-main {
  width: min(var(--ui-content), calc(100% - (var(--ui-gutter) * 2)));
  padding: clamp(26px, 3.2vw, 46px) 0 88px;
}
.hp-main > :first-child { scroll-margin-top: 88px; }

/* ---------- Unified typography ---------- */
.hp-title, .hp-page-title,
.stream-heading h1, .shop-heading h1, .creation-heading h1,
.astra-cart-header h1, .astra-checkout-header h1,
.create-hub > header h1, .discover-detail__panel > h1,
.product-reference-summary > h1, .post-copy h1,
.hp-public-profile h1 {
  color: var(--ui-ink);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.04em;
}
.hp-title, .hp-page-title, .stream-heading h1, .shop-heading h1,
.creation-heading h1, .create-hub > header h1,
.astra-cart-header h1, .astra-checkout-header h1 {
  font-size: clamp(2.25rem, 4.1vw, 3.65rem);
  line-height: 1.02;
}
.eyebrow, .hp-eyebrow, .hp-kicker, .product-kind {
  color: var(--ui-primary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hp-subtitle, .stream-heading > p, .shop-heading > p, .creation-heading p,
.create-hub > header p, .product-lead {
  color: var(--ui-muted);
  font-size: clamp(.94rem, 1.15vw, 1.02rem);
  line-height: 1.72;
}
.hp-hero { max-width: 880px; margin: 0 0 clamp(26px, 4vw, 46px); }
.hp-hero .hp-title { margin: 7px 0 8px; }
.hp-hero .hp-subtitle { max-width: 700px; margin: 0; }

/* ---------- Shared surfaces and controls ---------- */
.hp-panel,
.info-card,
.creation-section,
.creation-preview,
.astra-cart-table,
.astra-cart-totals,
.astra-order-table,
.hp-auth-card,
.hp-address,
.hp-following-card {
  border: 1px solid var(--ui-line) !important;
  border-radius: var(--ui-radius-lg) !important;
  background: var(--ui-surface) !important;
  box-shadow: var(--ui-shadow-xs) !important;
}
.hp-panel { padding: clamp(20px, 2.7vw, 30px); }

.hp-button, .app-button,
.astra-place-order, .astra-checkout-button,
.creation-actions button[type="submit"] {
  min-height: var(--ui-control);
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--ui-radius-sm) !important;
  background: var(--ui-primary) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--celadon) 12%, transparent);
  transition: transform 160ms var(--ui-ease), box-shadow 160ms ease, background 160ms ease;
}
.hp-button:hover, .app-button:hover,
.astra-place-order:hover, .astra-checkout-button:hover,
.creation-actions button[type="submit"]:hover {
  transform: translateY(-1px);
  background: var(--ui-primary-strong) !important;
  box-shadow: 0 12px 26px color-mix(in srgb, var(--celadon) 16%, transparent);
}
.hp-button--ghost, .app-button--secondary {
  border-color: var(--ui-line-strong) !important;
  background: var(--ui-surface) !important;
  color: var(--ui-ink) !important;
  box-shadow: none !important;
}
.hp-button--ghost:hover, .app-button--secondary:hover { background: var(--ui-surface-soft) !important; color: var(--ui-primary-strong) !important; }

.hp-chip,
.stream-tabs button,
.discover-tabs button,
.product-option-grid button,
.tag-suggestions button,
.journal-choice span,
.creation-quick-choice label > span {
  min-height: 36px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-pill) !important;
  background: var(--ui-surface);
  color: var(--ui-ink-soft);
  font-size: 13px;
  font-weight: 650;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease, transform 150ms ease;
}
.hp-chip:hover, .stream-tabs button:hover, .discover-tabs button:hover { border-color: #b9cec6; background: var(--ui-surface-soft); color: var(--ui-primary-strong); }
.hp-chip.is-active,
.stream-tabs button[aria-selected="true"],
.discover-tabs button.is-active,
.discover-tabs button[aria-pressed="true"],
.product-option-grid button[aria-pressed="true"] {
  border-color: var(--ui-primary);
  background: var(--ui-primary) !important;
  color: #fff !important;
}

.hp-field,
.creation-section label,
.astra-field-grid label,
.astra-order-note,
.hp-address-form label,
.hp-profile-form label {
  color: var(--ui-ink-soft);
  font-size: 13px;
  font-weight: 650;
}
.hp-field > span,
.creation-section label > span,
.astra-field-grid label > span,
.astra-order-note > span { display: block; margin-bottom: 7px; }

.hp-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.hp-form select, .hp-form textarea,
.creation-section input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.creation-section select, .creation-section textarea,
.astra-field-grid input, .astra-field-grid select,
.astra-order-note textarea,
.discover-filters select {
  border: 1px solid var(--ui-line-strong) !important;
  border-radius: var(--ui-radius-sm) !important;
  background: #fff !important;
  color: var(--ui-ink) !important;
  box-shadow: none !important;
}
.hp-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.hp-form select,
.creation-section input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.creation-section select,
.astra-field-grid input, .astra-field-grid select {
  min-height: var(--ui-control);
  padding: 10px 13px;
}
.hp-form textarea, .creation-section textarea, .astra-order-note textarea { min-height: 120px; padding: 12px 13px; resize: vertical; }
.hp-form :is(input,select,textarea):focus,
.creation-section :is(input,select,textarea):focus,
.astra-field-grid :is(input,select):focus,
.astra-order-note textarea:focus,
.discover-filters select:focus {
  border-color: #8eb5a8 !important;
  outline: 4px solid color-mix(in srgb, var(--celadon) 8%, transparent) !important;
}

.hp-badge, .content-badge, .discover-chip, .sale-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 5px 9px;
  border: 0;
  border-radius: var(--ui-radius-pill);
  background: var(--ui-primary-soft);
  color: var(--ui-primary-strong);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .015em;
}
.sale-chip, .shop-card__sale { background: var(--ui-clay-soft) !important; color: #82472f !important; }

.hp-toolbar { gap: 10px; }
.hp-empty {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 44px 24px;
  border: 1px dashed var(--ui-line-strong);
  border-radius: var(--ui-radius-lg);
  background: rgb(255 255 255 / .48);
  text-align: center;
}
.hp-empty h2 { margin: 0; font-size: 1.25rem; }
.hp-empty p { max-width: 520px; margin: 0 0 8px; color: var(--ui-muted); }
.hp-alert, .hp-notice {
  border: 1px solid #cce0d8;
  border-radius: var(--ui-radius-md);
  background: var(--ui-primary-soft);
  color: var(--ui-primary-strong);
}
.hp-alert.is-error { border-color: #eccdc8; background: var(--ui-danger-soft); color: #7d4038; }
.hp-loading, .commerce-loading { color: var(--ui-muted); }

/* ---------- Home / visual feed ---------- */
.hp-main[data-view="home"] > .hp-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 860px;
  margin: 0 auto 22px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.hp-home-feed-tabs { justify-content: flex-start; }
.hp-main[data-view="home"] .feed-masonry,
.hp-main[data-view="discover"] .discover-grid,
.shop-masonry {
  --stream-gap: 18px;
  gap: 0 18px;
}
.feed-card, .discover-card, .shop-card {
  overflow: hidden;
  border: 1px solid #e2e8e5 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 2px 10px rgb(31 45 41 / .035) !important;
  transition: transform 180ms var(--ui-ease), box-shadow 180ms ease, border-color 180ms ease;
}
.feed-card:hover, .discover-card:hover, .shop-card:hover {
  transform: translateY(-2px);
  border-color: #d3dfda !important;
  box-shadow: 0 12px 30px rgb(31 45 41 / .07) !important;
}
.feed-card__media, .discover-card__media, .shop-card__media { background: #edf1ef; }
.feed-card__image, .discover-card__media img, .shop-card__media img { transition: transform 260ms var(--ui-ease); }
.feed-card:hover .feed-card__image, .discover-card:hover .discover-card__media img, .shop-card:hover .shop-card__media img { transform: scale(1.025); }
.feed-card__body, .discover-card__body, .shop-card__body { padding: 13px 14px 14px; }
.feed-card__author-row { gap: 8px; margin-bottom: 8px; }
.feed-card__author { min-width: 0; color: var(--ui-muted); font-size: 12px; font-weight: 600; }
.feed-card__author .avatar { width: 24px; height: 24px; }
.feed-card__title, .stream-card__title {
  color: var(--ui-ink) !important;
  font-size: .94rem !important;
  font-weight: 700 !important;
  letter-spacing: -.015em;
  line-height: 1.42 !important;
}
.feed-card__description, .stream-card__summary { margin-top: 7px; color: var(--ui-muted) !important; font-size: 12.5px !important; line-height: 1.55 !important; }
.feed-card__tags, .feed-card__making-tags { gap: 5px; margin-top: 9px; }
.feed-card__tags span, .feed-card__making-tags span { padding: 3px 7px; border-radius: 999px; background: #f3f6f4; color: #66746e; font-size: 10.5px; }
.feed-card__stats { margin-top: 11px; padding-top: 10px; border-top: 1px solid #edf1ef; color: #7a8781; }
.feed-card__stats span { gap: 4px; }
.feed-card__stats svg { width: 14px; height: 14px; }
.feed-card__count, .hp-video-badge { backdrop-filter: blur(8px); }

/* ---------- Discover ---------- */
.discover-page > .commerce-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px 28px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ui-line);
}
.discover-page > .commerce-heading > div:first-child { max-width: 760px; }
.discover-page > .commerce-heading h1 { margin: 5px 0 8px; }
.discover-page > .commerce-heading p { margin: 0; color: var(--ui-muted); }
.discover-tabs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.discover-tabs .hp-chip { padding-inline: 13px; }
.discover-filters {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  gap: 9px;
  flex-wrap: wrap;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.discover-filters > span { align-self: center; display: inline-flex; align-items: center; gap: 7px; margin-right: 4px; color: var(--ui-primary-strong); font-size: 12px; font-weight: 750; }
.discover-filters label { min-width: 138px; }
.discover-filters label > span { display: block; margin: 0 0 4px 2px; color: var(--ui-muted); font-size: 10.5px; font-weight: 700; }
.discover-filters select { min-height: 38px !important; padding: 7px 30px 7px 10px !important; font-size: 12px !important; }
.discover-filters__clear { min-height: 38px; padding: 0 11px; border: 0; background: transparent; color: var(--ui-danger); font-weight: 700; }
.discover-card__facts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.discover-card__facts span { padding: 4px 7px; border-radius: 999px; background: #f1f5f3; color: #5c6d66; font-size: 10.5px; font-weight: 650; }

.discover-detail {
  width: min(1260px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
}
.discover-detail__media { position: sticky; top: 94px; min-width: 0; }
.discover-detail__media .media-gallery { overflow: hidden; border-radius: var(--ui-radius-xl); background: #171a18; box-shadow: var(--ui-shadow-md); }
.discover-detail__panel { min-width: 0; }
.discover-detail__panel > h1 { margin: 12px 0 14px; font-size: clamp(2.1rem, 3.6vw, 3.25rem); line-height: 1.04; }
.discover-detail__panel > p { margin: 0 0 24px; color: var(--ui-muted); font-size: 15px; line-height: 1.78; }
.discover-detail__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; margin: 22px 0; border: 1px solid var(--ui-line); border-radius: 16px; background: var(--ui-line); }
.discover-detail__facts > div { padding: 13px 14px; background: #fff; }
.discover-detail__facts dt { color: var(--ui-faint); font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.discover-detail__facts dd { margin: 3px 0 0; color: var(--ui-ink); font-size: 13px; font-weight: 700; }
.discover-detail .info-card { margin-top: 14px; padding: 18px 20px; }
.discover-detail .info-card h2, .discover-related h2 { margin: 0 0 7px; font-size: 15px; }
.discover-detail .info-card p { margin: 0; color: var(--ui-muted); }
.discover-related { margin-top: 28px; }
.related-products { display: grid; gap: 8px; }
.related-products > a { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 11px; min-height: 68px; padding: 7px; border: 1px solid var(--ui-line); border-radius: 13px; background: #fff; }
.related-products > a:hover { border-color: #bfd1ca; }
.related-products img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; }
.related-products span { display: grid; gap: 2px; }
.related-products small { color: var(--ui-muted); }
.sticky-commerce-actions { position: sticky; bottom: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; padding: 8px; border: 1px solid var(--ui-line); border-radius: 16px; background: rgb(255 255 255 / .92); box-shadow: var(--ui-shadow-md); backdrop-filter: blur(16px); }
.firing-curve-table { display: grid; gap: 8px; }
.firing-curve-table > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #edf1ef; }
.firing-curve-table > span:last-child { border-bottom: 0; }
.firing-curve-table small { color: var(--ui-muted); }

/* ---------- Shop ---------- */
.shop-page > .shop-heading { max-width: 850px; margin-bottom: 24px; }
.shop-page > .shop-heading h1 { max-width: 760px; margin: 6px 0 10px; }
.shop-page > .shop-heading p { max-width: 660px; margin: 0; }
.shop-category-bar { position: sticky; z-index: 18; top: 82px; margin-bottom: 20px; padding: 6px 0; border: 0; border-radius: 0; background: linear-gradient(to bottom, rgb(246 248 246 / .96), rgb(246 248 246 / .84)); backdrop-filter: blur(12px); }
.shop-categories { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.shop-categories::-webkit-scrollbar { display: none; }
.shop-categories button { flex: 0 0 auto; padding-inline: 14px; }
.shop-categories button small { margin-left: 3px; opacity: .7; }
.shop-card__media { aspect-ratio: 4 / 5; }
.shop-card__media img { width: 100%; height: 100%; object-fit: cover; }
.shop-card__kind { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 7px; color: var(--ui-primary); font-size: 10.5px; font-weight: 750; }
.shop-card__kind svg { width: 13px; height: 13px; }
.shop-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #edf1ef; }
.shop-card__footer strong { color: var(--ui-ink); font-size: 15px; }
.shop-card__footer span { color: var(--ui-success); font-size: 10.5px; font-weight: 700; }
.shop-card__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--ui-primary-strong);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.1;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}
.shop-card__action svg { width: 15px; height: 15px; }
.shop-card__action:hover:not(:disabled) { border-color: #a9c4ba; background: var(--ui-surface-soft); transform: translateY(-1px); }
.hp-shop-add { border-color: var(--ui-primary); background: var(--ui-primary); color: #fff; }
.hp-shop-add:hover:not(:disabled) { border-color: var(--ui-primary-strong); background: var(--ui-primary-strong); color: #fff; }
.hp-shop-add.is-added { border-color: var(--ui-primary-strong); background: var(--ui-primary-strong); }
.shop-card__action:disabled { border-color: var(--ui-line); background: #f5f6f5; color: var(--ui-faint); cursor: not-allowed; }
.shop-card__message { margin: 6px 0 0; color: var(--ui-muted); font-size: 10.5px; line-height: 1.35; }
.shop-card__message:empty { margin: 0; }
.shop-card__message a { color: var(--ui-primary-strong); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.hp-shop-toast {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 15px;
  border: 1px solid #c9ddd5;
  border-radius: 13px;
  background: #fff;
  color: var(--ui-primary-strong);
  box-shadow: var(--ui-shadow-md);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.hp-shop-toast.is-visible { opacity: 1; transform: translateY(0); }
.hp-shop-toast.is-error { border-color: #e9c7c2; background: #fff9f8; color: var(--ui-danger); }

/* ---------- Product detail ---------- */
.product-detail.product-detail--reference { width: min(1320px, 100%) !important; margin-inline: auto; }
.product-breadcrumb { display: flex; align-items: center; gap: 7px; margin-bottom: 22px; color: var(--ui-muted); font-size: 12px; }
.product-breadcrumb svg { width: 13px; height: 13px; }
.product-breadcrumb a:hover { color: var(--ui-primary); }
.product-breadcrumb strong { min-width: 0; overflow: hidden; color: var(--ui-ink-soft); text-overflow: ellipsis; white-space: nowrap; }
.product-reference-hero { grid-template-columns: minmax(0, 1.06fr) minmax(380px, .94fr) !important; gap: clamp(30px, 5vw, 70px) !important; align-items: start; }
.product-reference-gallery { position: sticky; top: 92px; }
.product-reference-gallery .media-gallery { overflow: hidden; border-radius: var(--ui-radius-xl); background: #f0f2f1; }
.product-reference-gallery .media-gallery__track { border-radius: inherit; }
.product-reference-gallery .media-gallery__open { background: #f0f2f1; }
.product-reference-gallery .media-gallery__open > img { object-fit: contain; background: #f0f2f1; }
.media-gallery__thumbnails { gap: 8px; margin-top: 10px; }
.media-gallery__thumbnails button { overflow: hidden; width: 62px; height: 62px; padding: 0; border: 1px solid var(--ui-line); border-radius: 11px; background: #fff; }
.media-gallery__thumbnails button[aria-pressed="true"] { border-color: var(--ui-primary); box-shadow: 0 0 0 2px var(--ui-primary-soft); }
.product-reference-summary { padding-top: 6px; }
.product-kicker-row { align-items: center; }
.product-reference-summary > h1 { margin: 12px 0 18px; font-size: clamp(2.35rem, 4vw, 3.7rem) !important; line-height: 1.02 !important; }
.product-share { width: 42px; height: 42px; margin-left: auto; border: 1px solid var(--ui-line); border-radius: 50%; background: #fff; color: var(--ui-ink-soft); }
.product-share:hover { background: var(--ui-surface-soft); color: var(--ui-primary-strong); }
.product-price-row { padding-block: 4px 18px; border-bottom: 1px solid var(--ui-line); }
.product-price strong, .hp-current-price { color: var(--ui-ink); font-size: clamp(1.55rem, 2.4vw, 2rem); font-weight: 750; }
.product-price del { color: var(--ui-faint); }
.stock { padding: 6px 9px; border-radius: 999px; background: var(--ui-success-soft); color: var(--ui-success); font-size: 11px; font-weight: 750; }
.stock.out { background: var(--ui-danger-soft); color: var(--ui-danger); }
.product-lead { margin: 18px 0 22px; }
.product-options { margin: 20px 0; padding: 18px; border: 1px solid var(--ui-line); border-radius: 16px; background: #fbfcfb; }
.product-section-heading { margin-bottom: 10px; }
.product-section-heading h2 { font-size: 14px; }
.hp-option-status { color: var(--ui-muted); font-size: 11px; }
.product-option-grid { gap: 7px; }
.product-option-grid button { min-height: 42px; padding: 7px 13px; border-radius: 12px !important; }
.product-purchase-row { grid-template-columns: 130px minmax(0,1fr) !important; gap: 9px; margin-top: 18px; }
.product-quantity-stepper, .quantity-picker { border-color: var(--ui-line-strong) !important; border-radius: 12px !important; background: #fff !important; }
.product-quantity-stepper button, .quantity-picker button { border-radius: 9px; color: var(--ui-ink); }
.product-quantity-stepper button:hover, .quantity-picker button:hover { background: var(--ui-surface-soft); color: var(--ui-primary-strong); }
.product-buy-now { width: 100%; margin-top: 9px; }
.product-secure-line { margin-top: 13px; padding: 12px 13px; border-radius: 13px; background: var(--ui-surface-soft); color: var(--ui-primary-strong); }
.product-secure-line small { color: var(--ui-muted); }
.product-inline-meta { margin-top: 18px; border-top: 1px solid var(--ui-line); }
.product-inline-meta > div { padding: 10px 0; border-bottom: 1px solid #edf1ef; }
.product-inline-meta dt { color: var(--ui-muted); font-size: 11px; }
.product-inline-meta dd { color: var(--ui-ink-soft); font-size: 12px; }
.product-detail-tabs { border-radius: var(--ui-radius-lg) !important; box-shadow: var(--ui-shadow-xs) !important; }
.product-tab-list { background: #fafbf9 !important; }
.product-tab-list button[aria-selected="true"] { color: var(--ui-primary-strong); }
.product-tab-panel { color: var(--ui-ink-soft); }
.product-note { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--ui-clay); border-radius: 0 12px 12px 0; background: var(--ui-surface-warm); }
.product-related-section { margin-top: 40px; }
.product-related-section > header { margin-bottom: 14px; }
.product-related-section h2 { margin: 5px 0 0; font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
.product-related-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.product-related-card { overflow: hidden; border: 1px solid var(--ui-line); border-radius: 16px; background: #fff; }
.product-related-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-related-card > div { display: grid; gap: 3px; padding: 11px 12px 13px; }
.product-related-card h3 { margin: 0; font-size: 13px; }
.product-related-card span { font-weight: 700; }
.product-related-card small { color: var(--ui-success); }

/* ---------- Post detail / overlays / comments ---------- */
.hp-post-overlay {
  width: min(1220px, calc(100vw - 28px));
  max-height: min(92vh, 980px);
  padding: 0;
  border: 0;
  border-radius: var(--ui-radius-xl);
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow-float);
  overflow: hidden; /* Only the inner content pane scrolls. */
}
.hp-post-overlay::backdrop { background: rgb(18 26 23 / .62); backdrop-filter: blur(6px); }
.hp-post-close { position: absolute; top: 14px; right: 14px; z-index: 4; width: 42px; height: 42px; border: 1px solid rgb(255 255 255 / .28); border-radius: 50%; background: rgb(24 31 28 / .76); color: #fff; box-shadow: 0 8px 22px rgb(0 0 0 / .14); }
.hp-post-scroll {
  max-height: min(92vh, 980px);
  overflow-x: hidden;
  overflow-y: auto; /* Keep wheel, touch and keyboard scrolling. */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Legacy Edge */
}
.hp-post-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; } /* Chromium / Safari */
.post-detail { background: #fff; }
.post-layout { gap: 0; }
.post-media, .post-gallery { background: #171a18; }
.post-copy { padding: clamp(22px, 3.2vw, 38px); }
.post-copy h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.08; }
.content-actions { border-top-color: var(--ui-line); border-bottom-color: var(--ui-line); }
.content-actions button { color: var(--ui-muted); }
.content-actions button:hover, .content-actions button.is-active { color: var(--ui-primary); background: var(--ui-surface-soft); }
.post-products > a { border-color: var(--ui-line); border-radius: 13px; }
.hp-comments { border-top-color: var(--ui-line); }
.comment-composer { background: #fbfcfb !important; }
.comment-avatar, .avatar--lg { width: 44px; height: 44px; }
.avatar--sm { width: 24px; height: 24px; }
.comment-item { border-bottom-color: #edf1ef; }
.comment-actions button { color: var(--ui-muted); }

/* ---------- Create hub and creation flows ---------- */
.create-hub { width: min(1120px, 100%); margin-inline: auto; }
.create-hub > header { max-width: 760px; margin-bottom: 30px; }
.create-hub > header h1 { margin: 5px 0 10px; }
.create-hub-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.create-hub-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--ui-shadow-xs);
  transition: transform 180ms var(--ui-ease), box-shadow 180ms ease, border-color 180ms ease;
}
.create-hub-card:hover { transform: translateY(-3px); border-color: #bfd1ca; box-shadow: var(--ui-shadow-sm); }
.create-hub-card > span:first-child { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ui-primary-soft); color: var(--ui-primary-strong); }
.create-hub-card > span:first-child svg { width: 22px; height: 22px; }
.create-hub-card small { color: var(--ui-faint); font-size: 10px; font-weight: 800; letter-spacing: .1em; }
.create-hub-card h2 { margin: 6px 0 7px; font-size: 1.15rem; }
.create-hub-card p { margin: 0; color: var(--ui-muted); font-size: 13px; line-height: 1.58; }
.create-hub-card > svg { position: absolute; right: 20px; top: 20px; color: var(--ui-line-strong); }
.create-hub-card--glaze > span:first-child { background: var(--ui-surface-warm); color: var(--ui-clay); }

.creation-page { width: min(1220px, 100%); margin-inline: auto; }
.creation-heading { display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; max-width: 840px; margin-bottom: 26px; }
.creation-heading > svg { width: 46px; height: 46px; padding: 11px; border-radius: 15px; background: var(--ui-primary-soft); color: var(--ui-primary-strong); }
.creation-heading h1 { margin: 4px 0 7px; }
.creation-heading p { margin: 0; }
.creation-form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px 24px; align-items: start; max-width: none !important; }
.creation-main-column { display: grid; gap: 14px; }
.creation-section, .creation-media-section { padding: 21px 22px; border: 1px solid var(--ui-line); border-radius: 18px; background: #fff; box-shadow: var(--ui-shadow-xs); }
.creation-section__head { margin-bottom: 16px; }
.creation-section__head strong { color: var(--ui-ink); font-size: 15px; }
.creation-section__head small { display: block; margin-top: 3px; color: var(--ui-muted); font-size: 12px; line-height: 1.5; }
.form-stack { gap: 14px; }
.form-grid { gap: 12px; }
.creation-dropzone { min-height: 190px; border: 1.5px dashed #b9cec6 !important; border-radius: 16px !important; background: #f8fbf9 !important; }
.creation-dropzone:hover { border-color: var(--ui-primary) !important; background: var(--ui-surface-soft) !important; }
.creation-dropzone > span { color: var(--ui-muted); }
.creation-dropzone strong { color: var(--ui-ink); }
.creation-preview { position: sticky; top: 92px; padding: 18px !important; }
.creation-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; padding-top: 4px; }
.creation-actions button { min-width: 180px; min-height: var(--ui-control-lg); }
.creation-phone { border-color: #23302c; box-shadow: 0 18px 40px rgb(31 45 41 / .13); }
.creation-phone__screen, .creation-phone__body { background: #fbfcfb; }
.creation-quick-choice > div, .journal-choice-grid { gap: 7px; }
.creation-quick-choice label > span, .journal-choice span { padding: 9px 12px; }
.creation-quick-choice input:checked + span, .journal-choice input:checked + span { border-color: var(--ui-primary); background: var(--ui-primary-soft); color: var(--ui-primary-strong); }
.journal-stepper { border-color: var(--ui-line-strong); border-radius: 12px; }
.tag-editor, .product-tool-picker { padding: 14px; border: 1px solid var(--ui-line); border-radius: 14px; background: #fafbf9; }
.field-hint, .journal-helper, .sharing-hint { color: var(--ui-muted); font-size: 11.5px; }

/* ---------- Journal ---------- */
.hp-main:is([data-view="journal"], [data-view="studio"]) .hp-hero { margin-bottom: 22px; }
.hp-journal-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.hp-journal-stats article { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 17px 18px; border: 1px solid var(--ui-line); border-radius: 16px; background: #fff; box-shadow: var(--ui-shadow-xs); }
.hp-journal-stats strong { font-size: 1.6rem; line-height: 1; }
.hp-journal-stats span { color: var(--ui-muted); font-size: 12px; text-transform: capitalize; }
.hp-journal-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.hp-journal-filters .hp-button:first-of-type { margin-left: auto; }
.hp-journal-grid { columns: 3 270px !important; column-gap: 14px !important; }
.hp-journal-card { margin-bottom: 14px !important; overflow: hidden; border-radius: 18px !important; }
.hp-journal-card .hp-card-media { overflow: hidden; }
.hp-journal-card .hp-card-body { padding: 14px 15px; }
.hp-journal-card .hp-card-title { margin: 8px 0 5px; font-size: .98rem; }
.hp-journal-card .hp-card-copy { margin: 0 0 8px; color: var(--ui-muted); font-size: 12.5px; line-height: 1.55; }
.hp-journal-actions { display: flex; gap: 5px; padding: 9px 10px 11px; border-top: 1px solid #edf1ef; }
.hp-journal-actions .hp-chip { min-height: 32px; padding-inline: 9px; font-size: 11px; }
.hp-journal-delete { margin-left: auto; color: var(--ui-danger) !important; }
.hp-journal-editor { margin-bottom: 16px; }
.hp-journal-editor > .hp-form { max-width: 820px; }

/* ---------- Kiln ---------- */
.hp-main[data-view="kiln-log"] > .hp-toolbar { margin-bottom: 16px; }
.hp-kiln-editor { margin-bottom: 16px; }
.hp-kiln-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.hp-kiln-form > h2, .hp-kiln-form > .kiln-section__head, .hp-kiln-form > .kiln-progress,
.hp-kiln-form > .kiln-setup-grid, .hp-kiln-form > .hp-load-groups,
.hp-kiln-form > .hp-add-group, .hp-kiln-form > .hp-toolbar, .hp-kiln-form > .hp-message { grid-column: 1 / -1; }
.kiln-section__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.kiln-section__head h2 { margin: 3px 0 0; font-size: 1.25rem; }
.kiln-status { padding: 5px 9px; border-radius: 999px; background: var(--ui-warning-soft); color: var(--ui-warning); font-size: 11px; font-weight: 750; }
.kiln-progress { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 0; padding: 12px; border: 1px solid var(--ui-line); border-radius: 15px; background: #fafbf9; }
.kiln-progress > span { position: relative; display: grid; justify-items: center; gap: 4px; color: var(--ui-faint); text-align: center; }
.kiln-progress > span:not(:last-child)::after { content: ""; position: absolute; top: 13px; left: calc(50% + 16px); right: calc(-50% + 16px); height: 1px; background: var(--ui-line-strong); }
.kiln-progress b { z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--ui-line-strong); border-radius: 50%; background: #fff; font-size: 10px; }
.kiln-progress .is-current, .kiln-progress .is-complete { color: var(--ui-primary-strong); }
.kiln-progress .is-current b, .kiln-progress .is-complete b { border-color: var(--ui-primary); background: var(--ui-primary); color: #fff; }
.kiln-progress small { font-size: 9.5px; }
.kiln-setup-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.hp-load-groups { display: grid; gap: 10px; }
.hp-load-group { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin: 0; padding: 16px; border: 1px solid var(--ui-line); border-radius: 15px; background: #fafbf9; }
.hp-load-group legend { padding: 0 6px; color: var(--ui-primary-strong); font-size: 11px; font-weight: 800; }
.hp-span-2 { grid-column: 1 / -1; }
.hp-batch-item { width: 100%; min-height: 82px; grid-template-columns: 48px 1fr; text-align: left; border: 1px solid var(--ui-line); border-radius: 15px; background: #fff; }
.hp-batch-item:hover { border-color: #bdd0c8; background: #fbfdfc; }
.hp-kiln-symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--ui-surface-warm); color: var(--ui-clay); }

/* ---------- Account / Me / orders / addresses ---------- */
.hp-me-shell { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 22px; align-items: start; }
.hp-me-main { min-width: 0; }
.hp-account-links { position: sticky; top: 92px; display: grid; gap: 4px; padding: 8px !important; }
.hp-account-links > a, .hp-account-links > button {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 8px 11px;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--ui-muted) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 650 !important;
  text-align: left;
}
.hp-account-links > a:hover, .hp-account-links > button:hover { background: #f2f6f4 !important; color: var(--ui-ink) !important; }
.hp-account-links > .is-active, .hp-account-links > [aria-current="page"] { background: var(--ui-primary-soft) !important; color: var(--ui-primary-strong) !important; }
.hp-account-links > a:last-child { margin-top: 5px; border-top: 1px solid var(--ui-line) !important; border-radius: 0 0 10px 10px !important; color: var(--ui-danger) !important; }

.hp-profile { padding: clamp(22px, 3vw, 32px) !important; }
.hp-profile-head { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--ui-line); }
.hp-profile-avatar { width: 74px; height: 74px; border: 4px solid #fff; border-radius: 50%; object-fit: cover; background: var(--ui-primary-soft); box-shadow: 0 0 0 1px var(--ui-line); }
.hp-profile-head h2 { margin: 0; font-size: 1.25rem; }
.hp-profile-form { max-width: 680px; }
.hp-profile-results { display: grid; gap: 10px; }
.hp-me-list { display: grid; gap: 10px; }
/* Account content rows: one spacing contract.
   Keep the media block tall enough to match the text stack so the card does not
   look top-heavy or leave a large visual pocket at the bottom. */
.hp-main .hp-me-item {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 0;
  padding: 14px;
  border: 1px solid var(--ui-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--ui-shadow-xs);
}
.hp-main .hp-me-item__thumb {
  align-self: center;
  overflow: hidden;
  width: 112px;
  height: 112px;
  min-height: 0;
  border-radius: 12px;
  background: #edf1ef;
}
.hp-main .hp-me-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-main .hp-me-item__thumb > span { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ui-faint); }
.hp-main .hp-me-item__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}
.hp-main .hp-me-item__copy > .hp-badge { margin-bottom: 0; }
.hp-main .hp-me-item__copy h3 { margin: 8px 0 4px; font-size: 14px; }
.hp-main .hp-me-item__copy p { max-width: 720px; margin: 0 0 5px; color: var(--ui-muted); font-size: 12px; line-height: 1.5; }
.hp-main .hp-me-item__copy small { display: block; color: var(--ui-faint); line-height: 1.35; }
.hp-main .hp-me-item__actions { display: flex; align-items: center; gap: 6px; padding: 0; }
.hp-following-card { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px !important; }
.hp-following-card__profile { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hp-following-card__profile span { display: grid; }
.hp-following-card__profile small { color: var(--ui-muted); }

.hp-order-row {
  display: grid;
  grid-template-columns: minmax(150px,1.3fr) .8fr .8fr 1fr;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--ui-line);
}
.hp-order-row:first-child { border-top: 1px solid var(--ui-line); }
.hp-order-row:hover { background: #fafcfb; }
.hp-order-row small { color: var(--ui-muted); text-align: right; }

.hp-main[data-view="addresses"] > .hp-new-address { margin: -10px 0 16px; }
.hp-address-editor { margin-bottom: 14px; }
.hp-address-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; max-width: 900px; }
.hp-address-form h2, .hp-address-form .hp-toolbar, .hp-address-form .hp-message { grid-column: 1 / -1; }
.hp-address { position: relative; margin-bottom: 10px; padding: 18px 20px !important; }
.hp-address > strong { font-size: 15px; }
.hp-address > .hp-badge { margin-left: 7px; }
.hp-address > p { max-width: 740px; margin: 8px 0 12px; color: var(--ui-muted); }
.hp-address-delete { color: var(--ui-danger) !important; }

.hp-public-profile { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 18px; margin-bottom: 24px; }
.hp-public-profile h1 { margin: 0 0 6px; font-size: 2.2rem; }
.hp-public-profile p { max-width: 720px; margin: 0; color: var(--ui-muted); }
.hp-user-posts { margin-top: 20px; }


/* ---------- Me / account workspace v1.2 ---------- */
.hp-me-stage { display: grid; gap: 16px; min-width: 0; }
.hp-account-links { gap: 3px; }
.hp-account-links .app-icon { flex: 0 0 auto; width: 17px; height: 17px; }
.hp-account-links > a { gap: 10px; }
.hp-account-group-label {
  display: block;
  padding: 12px 11px 5px;
  color: var(--ui-faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hp-account-links > .hp-account-logout {
  margin-top: 8px;
  padding-top: 13px;
  border-top: 1px solid var(--ui-line) !important;
  border-radius: 0 0 10px 10px !important;
  color: var(--ui-danger) !important;
}
.hp-me-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.hp-me-section-head h2 { margin: 3px 0 5px; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.hp-me-section-head p { max-width: 680px; margin: 0; color: var(--ui-muted); line-height: 1.55; }
.hp-me-section-actions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: flex-end; }

.hp-me-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px !important;
}
.hp-me-summary__identity { display: flex; align-items: center; gap: 17px; min-width: 0; }
.hp-me-summary__identity > div { min-width: 0; }
.hp-me-summary__identity h2 { margin: 3px 0 3px; font-size: clamp(1.35rem, 2.3vw, 1.9rem); }
.hp-me-summary__identity p:not(.hp-meta) { max-width: 620px; margin: 9px 0 0; color: var(--ui-muted); line-height: 1.55; }
.hp-me-summary__actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.avatar--xl, .hp-avatar-fallback--xl { width: 88px; height: 88px; }
.hp-avatar-fallback {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ui-primary-soft), var(--ui-surface-warm));
  color: var(--ui-primary-strong);
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px var(--ui-line);
}
.hp-avatar-fallback--lg { width: 48px; height: 48px; font-size: 14px; }
.hp-avatar-fallback--xl { font-size: 22px; }

.hp-me-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.hp-me-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 15px 16px;
  border: 1px solid var(--ui-line);
  border-radius: 16px;
  background: var(--ui-surface);
  color: var(--ui-ink);
  box-shadow: var(--ui-shadow-xs);
  text-align: left;
  transition: transform .16s var(--ui-ease), border-color .16s var(--ui-ease), box-shadow .16s var(--ui-ease);
}
.hp-me-stat:hover { transform: translateY(-1px); border-color: var(--ui-line-strong); box-shadow: var(--ui-shadow-sm); }
.hp-me-stat > .app-icon { width: 23px; height: 23px; color: var(--ui-primary); }
.hp-me-stat > span { display: grid; gap: 2px; }
.hp-me-stat strong { font-size: 1.35rem; line-height: 1; }
.hp-me-stat small { color: var(--ui-muted); font-size: 11.5px; font-weight: 650; }

.hp-me-quick, .hp-me-recent, .hp-me-collection, .hp-me-security { padding: 22px !important; }
.hp-me-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.hp-me-quick-grid > a {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 78px;
  padding: 13px 14px;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: #fafcfb;
}
.hp-me-quick-grid > a:hover { border-color: var(--ui-line-strong); background: var(--ui-surface-soft); }
.hp-me-quick-grid .app-icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--ui-primary); }
.hp-me-quick-grid span { display: grid; gap: 3px; min-width: 0; }
.hp-me-quick-grid strong { font-size: 13px; }
.hp-me-quick-grid small { color: var(--ui-muted); font-size: 10.5px; line-height: 1.35; }

.hp-me-order-list { display: grid; border-top: 1px solid var(--ui-line); }
.hp-me-order-list > a {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--ui-line);
}
.hp-me-order-list > a:hover strong { color: var(--ui-primary-strong); }
.hp-me-order-list > a > span:first-child { display: grid; gap: 3px; }
.hp-me-order-list small { color: var(--ui-muted); font-size: 11px; }
.hp-me-order-list b { font-size: 13px; }

.hp-profile-editor { padding: 24px !important; }
.hp-profile-editor .hp-profile-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  max-width: 880px;
}
.hp-profile-avatar-control {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px;
  border: 1px solid var(--ui-line);
  border-radius: 15px;
  background: #fafcfb;
}
.hp-profile-avatar-control > div:last-child { display: grid; gap: 7px; justify-items: start; }
.hp-profile-avatar-control small, .hp-profile-form .hp-field small { color: var(--ui-muted); font-size: 10.5px; line-height: 1.45; }
.hp-avatar-preview { flex: 0 0 auto; }
.hp-avatar-preview img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--ui-line); }
.hp-avatar-picker { cursor: pointer; }
.hp-profile-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hp-bio-count { justify-self: end; }

.hp-me-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ui-line);
}
.hp-me-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(360px,100%);
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 12px;
  background: #fff;
}
.hp-me-search:focus-within { border-color: var(--ui-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--celadon) 10%, transparent); }
.hp-me-search .app-icon { width: 17px; height: 17px; color: var(--ui-muted); }
.hp-me-search input { width: 100%; min-width: 0; border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 13px; }
.hp-me-filter { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.hp-me-collection > .hp-me-list:last-child { margin-bottom: 0; }
.hp-danger-action { color: var(--ui-danger) !important; }
.hp-danger-action:hover { background: var(--ui-danger-soft) !important; border-color: rgb(154 81 72 / .22) !important; }

.hp-following-list { display: grid; gap: 9px; }
.hp-following-card {
  border: 1px solid var(--ui-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--ui-shadow-xs);
}
.hp-following-card__profile .avatar { flex: 0 0 auto; width: 48px; height: 48px; object-fit: cover; border-radius: 50%; }
.hp-following-card__profile strong { font-size: 13.5px; }
.hp-following-card__profile small { margin-top: 3px; font-size: 11px; }

.hp-comment-list { display: grid; gap: 9px; }
.hp-me-comment {
  padding: 16px;
  border: 1px solid var(--ui-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--ui-shadow-xs);
}
.hp-me-comment__meta { display: flex; align-items: flex-start; gap: 10px; color: var(--ui-muted); font-size: 11.5px; }
.hp-me-comment__meta .app-icon { flex: 0 0 auto; width: 18px; height: 18px; color: var(--ui-primary); }
.hp-me-comment__meta span { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.hp-me-comment__meta a { color: var(--ui-primary-strong); font-weight: 700; }
.hp-me-comment__meta small { width: 100%; color: var(--ui-faint); }
.hp-me-comment > p { margin: 11px 0 12px; line-height: 1.6; }

.hp-me-post-editor { padding: 24px !important; }
.hp-me-post-editor .hp-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }

.hp-me-security { display: grid; gap: 0; }
.hp-security-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 82px;
  padding: 16px 0;
  border-top: 1px solid var(--ui-line);
}
.hp-security-row > div { display: flex; align-items: center; gap: 12px; min-width: 0; }
.hp-security-row .app-icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--ui-primary); }
.hp-security-row span { display: grid; gap: 3px; }
.hp-security-row strong { font-size: 13.5px; }
.hp-security-row small { color: var(--ui-muted); font-size: 11px; line-height: 1.45; }

@media (max-width: 1180px) {
  .hp-me-stat-grid, .hp-me-quick-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .hp-account-group-label { display: none; }
  .hp-account-links { display: flex; align-items: stretch; overflow-x: auto; padding: 6px !important; scrollbar-width: none; }
  .hp-account-links::-webkit-scrollbar { display: none; }
  .hp-account-links > a, .hp-account-links > button { flex: 0 0 auto; width: auto; gap: 7px; white-space: nowrap; }
  .hp-account-links > .hp-account-logout { margin-top: 0; padding-top: 8px; border-top: 0 !important; border-radius: 10px !important; }
  .hp-me-summary { align-items: flex-start; }
}

@media (max-width: 680px) {
  .hp-me-summary { display: grid; padding: 18px !important; }
  .hp-me-summary__identity { align-items: flex-start; }
  .hp-me-summary__actions { justify-content: flex-start; }
  .avatar--xl, .hp-avatar-fallback--xl, .hp-avatar-preview img { width: 72px; height: 72px; }
  .hp-me-stat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .hp-me-stat { min-height: 72px; padding: 12px; }
  .hp-me-quick, .hp-me-recent, .hp-me-collection, .hp-me-security, .hp-profile-editor, .hp-me-post-editor { padding: 16px !important; }
  .hp-me-quick-grid { grid-template-columns: 1fr; }
  .hp-me-section-head { display: grid; gap: 12px; }
  .hp-me-section-actions { justify-content: flex-start; }
  .hp-profile-editor .hp-profile-form, .hp-me-post-editor .hp-form { grid-template-columns: 1fr; }
  .hp-profile-editor .hp-span-2, .hp-me-post-editor .hp-span-2 { grid-column: 1; }
  .hp-profile-avatar-control { align-items: flex-start; }
  .hp-me-list-toolbar { align-items: stretch; flex-direction: column; }
  .hp-me-search { width: 100%; }
  .hp-me-filter { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .hp-me-order-list > a { grid-template-columns: minmax(0,1fr) auto; }
  .hp-me-order-list > a > b { grid-column: 2; grid-row: 2; }
  .hp-security-row { align-items: flex-start; flex-direction: column; }
  .hp-security-row .hp-button { width: 100%; }
  .hp-following-card { align-items: flex-start; }
}

@media (max-width: 460px) {
  .hp-me-stat-grid { grid-template-columns: 1fr 1fr; }
  .hp-me-stat > .app-icon { width: 20px; height: 20px; }
  .hp-me-stat strong { font-size: 1.15rem; }
  .hp-profile-avatar-control { flex-direction: column; }
  .hp-main .hp-me-item__actions { justify-content: flex-start; }
}


/* ---------- Account orders v1.2 ---------- */
.hp-order-account { display: grid; gap: 14px; }
.hp-orders-workspace { padding: 22px !important; }
.hp-orders-list { display: grid; gap: 8px; }
.hp-order-card {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto 18px;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid var(--ui-line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--ui-shadow-xs);
}
.hp-order-card:hover { border-color: var(--ui-line-strong); background: #fbfdfc; }
.hp-order-card__main { display: flex; align-items: center; gap: 11px; min-width: 0; }
.hp-order-card__main > span:last-child { display: grid; gap: 3px; }
.hp-order-card__main small { color: var(--ui-muted); font-size: 11px; }
.hp-order-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ui-primary-soft); color: var(--ui-primary-strong); }
.hp-order-icon .app-icon { width: 19px; height: 19px; }
.hp-order-card__total { font-size: 13px; }
.hp-order-card > .app-icon { width: 17px; height: 17px; color: var(--ui-faint); }
.hp-order-detail { display: grid; gap: 14px; }
.hp-back-link { display: inline-flex; align-items: center; gap: 5px; width: fit-content; color: var(--ui-muted); font-size: 12px; font-weight: 700; }
.hp-back-link:hover { color: var(--ui-primary-strong); }
.hp-back-link .app-icon { width: 16px; height: 16px; }
.hp-order-detail__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px !important; }
.hp-order-detail__head h2 { margin: 3px 0 5px; font-size: 1.55rem; }
.hp-order-detail__head p { margin: 0; color: var(--ui-muted); }
.hp-order-detail__head > div:last-child { display: grid; justify-items: end; gap: 8px; }
.hp-order-detail__head > div:last-child > strong { font-size: 1.25rem; }
.hp-order-detail__grid { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(260px,.7fr); gap: 14px; align-items: start; }
.hp-order-products, .hp-order-detail__side > .hp-panel, .hp-order-note { padding: 20px !important; }
.hp-order-products h3, .hp-order-detail__side h3, .hp-order-note h3 { margin: 0 0 14px; font-size: 1rem; }
.hp-order-products__list { display: grid; }
.hp-order-products__list article { display: grid; grid-template-columns: 60px minmax(0,1fr) auto; align-items: center; gap: 12px; min-height: 86px; padding: 11px 0; border-top: 1px solid var(--ui-line); }
.hp-order-products__list article:first-child { border-top: 0; padding-top: 0; }
.hp-order-products__list article:last-child { padding-bottom: 0; }
.hp-order-products__list img, .hp-order-product-placeholder { width: 60px; height: 60px; border-radius: 11px; object-fit: cover; background: var(--ui-surface-soft); }
.hp-order-product-placeholder { display: grid; place-items: center; color: var(--ui-faint); }
.hp-order-product-placeholder .app-icon { width: 22px; height: 22px; }
.hp-order-products__list article > div { display: grid; gap: 3px; }
.hp-order-products__list small { color: var(--ui-muted); font-size: 10.5px; }
.hp-order-products__list b { font-size: 12.5px; }
.hp-order-detail__side { display: grid; gap: 14px; }
.hp-order-totals { display: grid; gap: 9px; margin: 0; }
.hp-order-totals > div { display: flex; justify-content: space-between; gap: 16px; color: var(--ui-muted); font-size: 12px; }
.hp-order-totals dt, .hp-order-totals dd { margin: 0; }
.hp-order-totals .is-total { margin-top: 4px; padding-top: 11px; border-top: 1px solid var(--ui-line); color: var(--ui-ink); font-weight: 800; }
.hp-order-payment { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--ui-line); color: var(--ui-muted); font-size: 11px; }
.hp-order-payment strong { color: var(--ui-ink); }
.hp-order-detail__side > .hp-panel > p { margin: 0; color: var(--ui-muted); line-height: 1.55; }
.hp-order-detail__side > .hp-panel > small { display: block; margin-top: 6px; color: var(--ui-faint); }
.hp-order-note p { margin: 0; color: var(--ui-muted); line-height: 1.6; }

@media (max-width: 900px) {
  .hp-order-detail__grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hp-orders-workspace { padding: 16px !important; }
  .hp-order-card { grid-template-columns: minmax(0,1fr) auto 16px; gap: 9px; }
  .hp-order-card > .hp-badge { grid-column: 2; }
  .hp-order-card__total { grid-column: 2; grid-row: 2; justify-self: end; }
  .hp-order-card > .app-icon { grid-column: 3; grid-row: 1 / span 2; }
  .hp-order-detail__head { align-items: flex-start; padding: 17px !important; }
  .hp-order-products, .hp-order-detail__side > .hp-panel, .hp-order-note { padding: 16px !important; }
  .hp-order-products__list article { grid-template-columns: 52px minmax(0,1fr) auto; }
  .hp-order-products__list img, .hp-order-product-placeholder { width: 52px; height: 52px; }
}


/* ---------- Account addresses v1.2 ---------- */
.hp-address-workspace { display: grid; gap: 14px; }
.hp-address-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 2px 2px;
}
.hp-address-toolbar h2 { margin: 3px 0 5px; font-size: 1.5rem; }
.hp-address-toolbar p { margin: 0; color: var(--ui-muted); }
.hp-address-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.hp-address-grid > .hp-empty, .hp-address-grid > .hp-alert, .hp-address-grid > .hp-loading { grid-column: 1 / -1; }
.hp-address { display: grid; align-content: start; margin: 0 !important; min-height: 210px; }
.hp-address.is-default { border-color: color-mix(in srgb, var(--celadon) 28%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--celadon) 4%, transparent), var(--ui-shadow-xs); }
.hp-address > header { display: grid; gap: 4px; }
.hp-address > header > div { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.hp-address > header small { color: var(--ui-muted); }
.hp-address-contact { display: grid; gap: 3px; margin: -2px 0 14px; color: var(--ui-muted); font-size: 11px; }
.hp-address > .hp-toolbar { margin-top: auto; padding-top: 8px; }
.hp-address-form { max-width: none; padding: 22px !important; }
.hp-address-form__head { grid-column: 1 / -1; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 2px; }
.hp-address-form__head h2 { margin: 3px 0 0; }

@media (max-width: 900px) {
  .hp-address-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hp-address-toolbar { align-items: stretch; flex-direction: column; }
  .hp-address-toolbar .hp-button { width: 100%; }
  .hp-address-form { grid-template-columns: 1fr; padding: 16px !important; }
  .hp-address-form .hp-span-2, .hp-address-form__head { grid-column: 1; }
}

/* ---------- Auth ---------- */
.hp-main[data-view="login"], .hp-main[data-view="register"] { width: min(760px, calc(100% - 36px)); }
.hp-main[data-view="login"] .hp-hero, .hp-main[data-view="register"] .hp-hero { margin-inline: auto; text-align: center; }
.hp-auth-card { width: min(480px, 100%); margin-inline: auto; padding: 26px !important; }
.hp-auth-card .hp-form { display: grid; gap: 14px; }
.hp-auth-card .hp-button { width: 100%; min-height: 50px; }
.hp-auth-card > .hp-meta { margin: 16px 0 0; text-align: center; }
.hp-auth-card > .hp-meta a { color: var(--ui-primary); font-weight: 700; }

/* Native wp-login.php parity */
body.login { background: var(--ui-canvas); }
body.login #login { width: min(420px, calc(100% - 32px)); padding-top: 7vh; }
body.login h1 a { width: auto; height: auto; margin-bottom: 22px; background: none !important; color: var(--ui-primary-strong); text-indent: 0; font-family: var(--font-display); font-size: 38px; line-height: 1; }
body.login form { padding: 26px !important; border: 1px solid var(--ui-line) !important; border-radius: 20px !important; box-shadow: var(--ui-shadow-sm) !important; }
body.login form .input { min-height: 46px; border-color: var(--ui-line-strong); border-radius: 11px; box-shadow: none; }
body.login .button-primary { min-height: 42px; border: 0; border-radius: 11px; background: var(--ui-primary); font-weight: 700; }
body.login .button-primary:hover { background: var(--ui-primary-strong); }

/* ---------- Cart ---------- */
.cart-page { width: min(1260px, 100%); margin-inline: auto; }
.astra-cart-header, .astra-checkout-header { margin-bottom: 26px; }
.astra-cart-header h1, .astra-checkout-header h1 { margin: 0; }
.astra-cart-continue, .astra-checkout-header > a { display: inline-flex; align-items: center; gap: 6px; color: var(--ui-muted); font-size: 13px; font-weight: 650; }
.astra-cart-continue:hover, .astra-checkout-header > a:hover { color: var(--ui-primary); }
.astra-cart-layout { grid-template-columns: minmax(0, 1.55fr) minmax(300px,.7fr); gap: 22px; align-items: start; }
.astra-cart-table { overflow: hidden; padding: 0 !important; }
.astra-cart-head { min-height: 48px; padding-inline: 16px; background: #fafbf9; color: var(--ui-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.astra-cart-row { min-height: 116px; padding: 14px 16px; border-top-color: var(--ui-line); }
.astra-cart-remove { color: var(--ui-faint); }
.astra-cart-remove:hover { color: var(--ui-danger); }
.astra-cart-product { grid-template-columns: 76px minmax(0,1fr); gap: 12px; }
.astra-cart-image { overflow: hidden; width: 76px; height: 76px; border-radius: 12px; background: #eef2f0; }
.astra-cart-image img { width: 100%; height: 100%; object-fit: cover; }
.astra-cart-product strong { font-size: 13px; }
.astra-cart-product small { color: var(--ui-muted); }
.astra-cart-price, .astra-cart-subtotal { color: var(--ui-ink-soft); font-size: 13px; }
.astra-cart-coupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; padding: 14px 16px 16px; border-top: 1px solid var(--ui-line); background: #fcfdfc; }
.astra-cart-coupon input { min-height: 42px; padding: 9px 11px; border: 1px solid var(--ui-line-strong); border-radius: 11px; }
.astra-cart-coupon button { min-height: 42px; padding: 0 14px; border: 1px solid var(--ui-line-strong); border-radius: 11px; background: #fff; color: var(--ui-ink); font-weight: 700; }
.astra-cart-coupon small { grid-column: 1 / -1; }
.coupon-success { color: var(--ui-success) !important; }
.coupon-error { color: var(--ui-danger) !important; }
.astra-cart-totals { position: sticky; top: 92px; padding: 21px !important; }
.astra-cart-totals h2 { margin: 0 0 16px; font-size: 1.05rem; }
.astra-cart-totals > div { display: grid; grid-template-columns: 95px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid #edf1ef; }
.astra-cart-totals p { margin: 0; color: var(--ui-muted); font-size: 12px; }
.astra-cart-totals p a { display: block; margin-top: 3px; color: var(--ui-primary); font-weight: 700; }
.astra-cart-total strong { font-size: 1.35rem; }
.astra-checkout-button { width: 100%; margin-top: 16px; min-height: 50px; }

/* ---------- Checkout ---------- */
.checkout-page { width: min(1180px, 100%); margin-inline: auto; }
.astra-checkout-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.astra-checkout-header > a { justify-self: start; }
.astra-checkout-header h1 { justify-self: center; }
.astra-checkout-layout { grid-template-columns: minmax(0, 1.18fr) minmax(330px,.82fr); gap: clamp(24px,4vw,46px); align-items: start; }
.astra-customer-column { min-width: 0; }
.astra-customer-column > h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.75rem; font-weight: 400; }
.astra-customer-column > h3, .astra-payment-section > h3 { margin: 24px 0 12px; font-size: 14px; }
.astra-field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.astra-field-wide { grid-column: 1 / -1; }
.checkout-reference-fields input, .checkout-reference-fields select { min-height: 48px !important; }
.astra-saved-address { display: block; margin: 14px 0; }
.astra-saved-address > span { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
.astra-checkout-coupon { margin: 18px 0; padding: 14px; border: 1px solid var(--ui-line); border-radius: 14px; background: #fafbf9; }
.astra-checkout-coupon > label { display: inline-flex; align-items: center; gap: 6px; color: var(--ui-ink-soft); font-size: 12px; font-weight: 700; }
.astra-checkout-coupon > div { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 8px; }
.astra-checkout-coupon input { min-height: 42px; padding: 9px 11px; border: 1px solid var(--ui-line-strong); border-radius: 11px; }
.astra-checkout-coupon button { min-height: 42px; padding-inline: 14px; border: 1px solid var(--ui-line-strong); border-radius: 11px; background: #fff; font-weight: 700; }
.astra-payment-section { margin-top: 20px; }
.astra-payment-section > div { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid #cfe0d9; border-radius: 14px; background: var(--ui-surface-soft); color: var(--ui-primary-strong); }
.astra-payment-section p { display: grid; gap: 2px; margin: 0; }
.astra-payment-section span { color: var(--ui-muted); font-size: 12px; }
.astra-place-order { width: 100%; min-height: 52px; margin-top: 18px; }
.astra-order-column { position: sticky; top: 92px; padding: 22px; border: 1px solid var(--ui-line); border-radius: 20px; background: #fff; box-shadow: var(--ui-shadow-sm); }
.astra-order-column > h2 { margin: 0 0 14px; font-size: 1rem; }
.astra-order-table { overflow: hidden; padding: 0 !important; border-radius: 14px !important; box-shadow: none !important; }
.astra-order-head { padding: 10px 12px; background: #fafbf9; color: var(--ui-muted); font-size: 10.5px; font-weight: 700; text-transform: uppercase; }
.astra-order-table article { padding: 11px 12px; border-top-color: var(--ui-line); }
.astra-order-table article > div { grid-template-columns: 48px 1fr; gap: 9px; }
.astra-order-table article img { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; }
.astra-order-table article small { color: var(--ui-muted); }
.astra-order-grand-total { padding: 13px 12px; background: #fbfcfb; }
.astra-order-grand-total strong { font-size: 1.2rem; }

/* ---------- Misc list / cards ---------- */
.hp-list { display: grid; gap: 9px; }
.hp-list-item { display: grid; grid-template-columns: 68px minmax(0,1fr); align-items: center; gap: 12px; min-height: 84px; padding: 8px 10px; border: 1px solid var(--ui-line); border-radius: 15px; background: #fff; box-shadow: var(--ui-shadow-xs); }
.hp-list-item:hover { border-color: #bfd1ca; box-shadow: var(--ui-shadow-sm); }
.hp-list-item > img, .hp-list-item > span:first-child { width: 68px; height: 68px; border-radius: 11px; object-fit: cover; background: #edf1ef; }
.hp-list-item h3 { margin: 5px 0 2px; font-size: 14px; }
.hp-current-price { white-space: nowrap; }
.hp-feed-more, .hp-more { display: block; min-height: 1px; margin: 12px auto 0; border: 0; background: transparent; color: var(--ui-muted); }
.hp-feed-error { color: var(--ui-danger); text-align: center; }

/* ---------- Bottom navigation ---------- */
.hp-bottom-nav { border-color: rgb(216 226 222 / .92); background: rgb(255 255 255 / .94); box-shadow: 0 16px 40px rgb(31 45 41 / .16); }
.hp-bottom-nav a { color: #72807a; }
.hp-bottom-nav a.is-active { color: var(--ui-primary); }
.hp-bottom-nav a.is-create { background: var(--ui-primary); box-shadow: 0 10px 24px color-mix(in srgb, var(--celadon) 24%, transparent); }


/* Explicit destructive action contract for dynamically rendered screens. */
:where(.hp-delete-batch, .hp-address-delete, .hp-delete-comment, .hp-journal-delete, .hp-remove-favorite, .hp-remove-like, .hp-unfollow) {
  color: var(--ui-danger) !important;
}
:where(.hp-delete-batch, .hp-address-delete, .hp-delete-comment, .hp-journal-delete, .hp-remove-favorite, .hp-remove-like, .hp-unfollow):hover {
  border-color: #e5c5bf !important;
  background: var(--ui-danger-soft) !important;
  color: #7d4038 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hp-app { grid-template-columns: 210px minmax(0,1fr); }
  .hp-rail { padding-inline: 14px; }
  .hp-main { width: min(var(--ui-content), calc(100% - 36px)); }
  .product-reference-hero { grid-template-columns: minmax(0,1fr) minmax(330px,.9fr) !important; gap: 30px !important; }
  .creation-form { grid-template-columns: minmax(0,1fr) 300px; }
  .hp-me-shell { grid-template-columns: minmax(0,1fr) 230px; }
}

@media (max-width: 900px) {
  .discover-page > .commerce-heading { grid-template-columns: 1fr; align-items: start; }
  .discover-tabs { justify-content: flex-start; }
  .discover-detail { grid-template-columns: 1fr; }
  .discover-detail__media { position: relative; top: auto; }
  .product-reference-hero { grid-template-columns: 1fr !important; }
  .product-reference-gallery { position: relative; top: auto; }
  .creation-form { grid-template-columns: 1fr; }
  .creation-preview { position: relative; top: auto; max-width: 460px; }
  .creation-actions { grid-column: 1; }
  .hp-me-shell { grid-template-columns: 1fr; }
  .hp-account-links { position: relative; top: auto; grid-template-columns: repeat(3,minmax(0,1fr)); order: -1; }
  .hp-account-links > a, .hp-account-links > button { justify-content: center; text-align: center; }
  .hp-account-links > a:last-child { margin-top: 0; border-top: 0 !important; color: var(--ui-danger) !important; }
  .astra-cart-layout, .astra-checkout-layout { grid-template-columns: 1fr; }
  .astra-cart-totals, .astra-order-column { position: relative; top: auto; }
  .product-related-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 850px) {
  .hp-app { padding-bottom: 92px; }
  .hp-header { height: 62px; padding: 8px 12px; }
  .hp-header > .hp-search { min-height: 42px; }
  .hp-main { width: min(100% - 24px, 760px); padding-top: 22px; padding-bottom: 86px; }
  .hp-mobile-brand { padding-inline: 0; }
  .hp-title, .hp-page-title, .stream-heading h1, .shop-heading h1, .creation-heading h1,
  .create-hub > header h1, .astra-cart-header h1, .astra-checkout-header h1 { font-size: clamp(2rem, 9vw, 2.65rem) !important; }
  .shop-category-bar { top: 70px; }
  .hp-shop-toast { right: 12px; bottom: 96px; }
  .hp-post-overlay { width: 100vw; max-height: 100dvh; border-radius: 0; }
  .hp-post-scroll { max-height: 100dvh; }
}

@media (max-width: 680px) {
  .hp-main[data-view="home"] > .hp-toolbar { margin-bottom: 14px; }
  .discover-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: end; }
  .discover-filters > span, .discover-filters__clear { grid-column: 1 / -1; }
  .discover-filters label { min-width: 0; }
  .discover-detail__facts { grid-template-columns: 1fr; }
  .sticky-commerce-actions { grid-template-columns: 1fr; }
  .create-hub-grid { grid-template-columns: 1fr; }
  .create-hub-card { min-height: 164px; }
  .creation-heading { grid-template-columns: 42px 1fr; }
  .creation-heading > svg { width: 40px; height: 40px; padding: 9px; }
  .creation-section, .creation-media-section { padding: 18px; }
  .creation-dropzone { min-height: 150px; }
  .hp-journal-stats { grid-template-columns: 1fr 1fr 1fr; }
  .hp-journal-stats article { display: grid; gap: 3px; padding: 13px; }
  .hp-journal-filters .hp-button:first-of-type { margin-left: 0; }
  .hp-journal-grid { columns: 2 160px !important; }
  .hp-kiln-form, .hp-load-group, .kiln-setup-grid { grid-template-columns: 1fr; }
  .hp-kiln-form > *, .hp-load-group > *, .kiln-setup-grid > * { grid-column: 1 !important; }
  .kiln-progress { overflow-x: auto; grid-template-columns: repeat(6,84px); justify-content: start; }
  .hp-account-links { display: flex; overflow-x: auto; padding: 6px !important; scrollbar-width: none; }
  .hp-account-links::-webkit-scrollbar { display: none; }
  .hp-account-links > a, .hp-account-links > button { flex: 0 0 auto; width: auto; white-space: nowrap; }
  .hp-main .hp-me-item { grid-template-columns: 88px minmax(0,1fr); gap: 12px; padding: 12px; }
  .hp-main .hp-me-item__thumb { width: 88px; height: 88px; }
  .hp-main .hp-me-item__actions { grid-column: 1 / -1; justify-content: flex-end; }
  .hp-order-row { grid-template-columns: 1fr auto; }
  .hp-order-row > span:not(.hp-badge), .hp-order-row small { text-align: right; }
  .hp-address-form { grid-template-columns: 1fr; }
  .hp-address-form > * { grid-column: 1 !important; }
  .hp-public-profile { grid-template-columns: auto 1fr; }
  .hp-public-profile .hp-follow { grid-column: 1 / -1; width: 100%; }
  .astra-cart-head { display: none; }
  .astra-cart-row { grid-template-columns: auto 1fr auto; gap: 10px; }
  .astra-cart-product { grid-column: 2 / -1; }
  .astra-cart-price, .astra-cart-quantity, .astra-cart-subtotal { grid-row: auto; }
  .astra-cart-coupon { grid-template-columns: 1fr; }
  .astra-cart-coupon small { grid-column: 1; }
  .astra-checkout-header { grid-template-columns: 1fr auto; gap: 10px; }
  .astra-checkout-header h1 { justify-self: end; font-size: 2rem !important; }
  .astra-field-grid { grid-template-columns: 1fr; }
  .astra-field-wide { grid-column: 1; }
  .product-related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .hp-main { width: calc(100% - 20px); }
  .hp-panel { padding: 17px; }
  .hp-header > .hp-search { border-radius: 12px; }
  .hp-title, .hp-page-title, .stream-heading h1, .shop-heading h1, .creation-heading h1,
  .create-hub > header h1, .astra-cart-header h1, .astra-checkout-header h1 { font-size: 2rem !important; }
  .hp-journal-grid { columns: 1 !important; }
  .hp-journal-stats { gap: 6px; }
  .hp-journal-stats article { padding: 11px; }
  .hp-journal-stats strong { font-size: 1.3rem; }
  .discover-filters { grid-template-columns: 1fr; }
  .discover-filters > * { grid-column: 1 !important; }
  .product-reference-summary > h1 { font-size: 2.25rem !important; }
  .product-purchase-row { grid-template-columns: 112px minmax(0,1fr) !important; }
  .product-related-grid { grid-template-columns: 1fr; }
  .hp-bottom-nav { left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); height: 68px; border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ========================================================================== 
   v1.2.2 Cart + WooCommerce address system
   ========================================================================== */
.hp-main[data-view="cart"] .hp-cart-page-v2 {
  width: min(1440px, 100%) !important;
  margin-inline: auto;
  padding: 18px 0 80px !important;
}
.hp-main[data-view="cart"] .hp-cart-page-v2 .astra-cart-header {
  align-items: flex-end;
  margin-bottom: 28px;
}
.hp-main[data-view="cart"] .hp-cart-page-v2 .astra-cart-header > div { display: grid; gap: 4px; }
.hp-main[data-view="cart"] .hp-cart-page-v2 .astra-cart-header .eyebrow { margin: 0; }
.hp-cart-layout-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 28px;
  align-items: start;
}
.hp-cart-card-v2,
.hp-cart-summary-v2 {
  min-width: 0;
  border: 1px solid var(--ui-line);
  border-radius: 22px;
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow-xs);
}
.hp-cart-card-v2 { overflow: clip; }
.hp-cart-card-v2__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--ui-line);
  background: #fbfcfb;
}
.hp-cart-card-v2__head > div { display: flex; align-items: baseline; gap: 10px; }
.hp-cart-card-v2__head h2 { margin: 0; font-size: 1.08rem; }
.hp-cart-card-v2__head span { color: var(--ui-muted); font-size: 12px; }
.hp-cart-list-v2 { display: grid; }
.hp-cart-item-v2 {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-width: 0;
  padding: 20px 22px;
  border-bottom: 1px solid var(--ui-line);
}
.hp-cart-item-v2:last-child { border-bottom: 0; }
.hp-cart-item-v2__image {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 92px;
  height: 92px;
  border-radius: 15px;
  background: #eef3f1;
}
.hp-cart-item-v2__image img { width: 100%; height: 100%; object-fit: cover; }
.hp-cart-item-v2__image > span { color: var(--ui-faint); }
.hp-cart-item-v2__info { min-width: 0; }
.hp-cart-item-v2__info > a { color: inherit; text-decoration: none; }
.hp-cart-item-v2__info h3 {
  margin: 0 0 5px;
  overflow-wrap: anywhere;
  color: var(--ui-primary-deep);
  font-size: 15px;
  line-height: 1.35;
}
.hp-cart-item-v2__info p { margin: 0 0 6px; color: var(--ui-muted); font-size: 12px; }
.hp-cart-item-v2__unit { color: var(--ui-muted); font-size: 12px; }
.hp-cart-item-v2__actions {
  display: grid;
  grid-template-columns: auto minmax(88px, auto);
  grid-template-areas: "qty total" "remove remove";
  gap: 9px 16px;
  align-items: center;
  justify-items: end;
  min-width: 230px;
}
.hp-cart-qty-v2 {
  grid-area: qty;
  display: grid;
  grid-template-columns: 38px 42px 38px;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 12px;
  background: #fff;
}
.hp-cart-qty-v2 button {
  width: 38px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ui-ink);
  font-size: 18px;
  cursor: pointer;
}
.hp-cart-qty-v2 button:hover { background: var(--ui-primary-soft); }
.hp-cart-qty-v2 strong { text-align: center; font-size: 13px; }
.hp-cart-item-v2__total { grid-area: total; white-space: nowrap; font-size: 15px; }
.hp-cart-remove-v2 {
  grid-area: remove;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ui-muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.hp-cart-remove-v2:hover { color: var(--ui-danger); }
.hp-cart-coupon-v2 {
  padding: 15px 22px 18px;
  border-top: 1px solid var(--ui-line);
  background: #fbfcfb;
}
.hp-cart-coupon-v2__toggle,
.hp-checkout-coupon-v2__toggle,
.hp-address-line2-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ui-primary);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.hp-cart-coupon-v2__toggle .app-icon,
.hp-checkout-coupon-v2__toggle .app-icon { width: 16px; height: 16px; }
.hp-cart-coupon-v2__form {
  display: grid;
  grid-template-columns: minmax(0, 280px) auto;
  gap: 8px;
  margin-top: 12px;
}
.hp-cart-coupon-v2__form[hidden],
.hp-checkout-coupon-v2__form[hidden] { display: none !important; }
.hp-cart-coupon-v2__form input,
.hp-checkout-coupon-v2__form input {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--ui-ink);
}
.hp-cart-coupon-v2__form button,
.hp-checkout-coupon-v2__form button {
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 11px;
  background: #fff;
  color: var(--ui-ink);
  font-weight: 700;
}
.hp-cart-coupon-v2__form small { grid-column: 1 / -1; }
.hp-cart-summary-v2 {
  position: sticky;
  top: 92px;
  padding: 24px;
}
.hp-cart-summary-v2 h2 { margin: 4px 0 18px; font-size: 1.35rem; }
.hp-cart-summary-v2 dl { margin: 0; }
.hp-cart-summary-v2 dl > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--ui-line);
}
.hp-cart-summary-v2 dt { color: var(--ui-muted); }
.hp-cart-summary-v2 dd { margin: 0; text-align: right; font-weight: 700; }
.hp-cart-summary-v2 dd span { color: var(--ui-muted); font-size: 12px; font-weight: 500; }
.hp-cart-summary-v2 .is-total { margin-top: 2px; padding-top: 17px; }
.hp-cart-summary-v2 .is-total dt { color: var(--ui-ink); font-weight: 700; }
.hp-cart-summary-v2 .is-total dd { font-size: 1.55rem; }
.hp-cart-summary-v2 .astra-checkout-button { margin: 18px 0 0; }
.hp-cart-summary-v2__note { margin: 11px 0 0; color: var(--ui-muted); font-size: 11px; text-align: center; }

/* Checkout: one address system driven by WooCommerce country/state metadata. */
.hp-main[data-view="checkout"] .hp-checkout-v2 { width: min(1380px, 100%) !important; }
.hp-main[data-view="checkout"] .hp-checkout-v2 .astra-checkout-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(28px, 4vw, 56px);
}
.hp-checkout-v2 .hp-checkout-section {
  padding: 22px;
  border: 1px solid var(--ui-line);
  border-radius: 20px;
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow-xs);
}
.hp-checkout-section__head { margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--ui-line); }
.hp-checkout-section__head h2 { margin: 4px 0 5px; font-size: 1.35rem; }
.hp-checkout-section__head p { margin: 0; color: var(--ui-muted); font-size: 12px; }
.hp-checkout-v2 .checkout-reference-fields { gap: 14px; }
.hp-checkout-v2 .checkout-reference-fields .hp-field { display: grid; gap: 6px; }
.hp-checkout-v2 .checkout-reference-fields .hp-field > span:first-child,
.hp-address-form-v2 .hp-field > span:first-child {
  color: var(--ui-ink-soft);
  font-size: 12px;
  font-weight: 700;
}
.hp-checkout-v2 .checkout-reference-fields .hp-field small,
.hp-address-form-v2 .hp-field small { color: var(--ui-faint); font-weight: 500; }
.hp-checkout-v2 .checkout-reference-fields :is(input,select),
.hp-address-form-v2 :is(input,select) {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ui-ink);
  font: inherit;
}
.hp-address-control { display: block; }
.hp-address-line2-wrap { display: grid; gap: 8px; }
.hp-address-line2-toggle { justify-self: start; min-height: 30px; }
.hp-address-line2 { display: grid; gap: 6px; }
.hp-address-line2[hidden] { display: none; }
.hp-saved-address-slot:empty { display: none; }
.hp-saved-address-v2 {
  display: grid;
  grid-template-columns: minmax(150px, auto) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 13px 14px;
  border: 1px solid color-mix(in srgb, var(--celadon) 18%, transparent);
  border-radius: 14px;
  background: var(--ui-primary-soft);
}
.hp-saved-address-v2 > span { display: inline-flex; align-items: center; gap: 7px; color: var(--ui-primary-deep); font-size: 12px; font-weight: 700; }
.hp-saved-address-v2 .app-icon { width: 16px; height: 16px; }
.hp-saved-address-v2 select { min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid var(--ui-line-strong); border-radius: 11px; background: #fff; }
.hp-checkout-v2 .astra-order-note { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--ui-line); border-radius: 18px; background: var(--ui-surface); }
.hp-checkout-v2 .astra-order-note > span { display: flex; justify-content: space-between; }
.hp-checkout-v2 .astra-order-note small { color: var(--ui-faint); font-weight: 500; }
.hp-checkout-v2 .hp-checkout-coupon-v2 { margin: 14px 0 0; padding: 0; border: 0; background: transparent; }
.hp-checkout-coupon-v2__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 10px; }
.hp-checkout-coupon-v2__form small { grid-column: 1 / -1; }
.hp-checkout-v2 .astra-payment-section { margin-top: 20px; }
.hp-checkout-v2 .astra-place-order { min-height: 52px; }

/* Address book: same fields and country rules as checkout. */
.hp-address-form-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hp-address-form-v2 .hp-address-form__head p { margin: 5px 0 0; color: var(--ui-muted); font-size: 12px; }
.hp-address-form-v2 .hp-field { display: grid; gap: 6px; }
.hp-address-form-v2 label[hidden] { display: none !important; }

@media (max-width: 1120px) {
  .hp-cart-layout-v2,
  .hp-main[data-view="checkout"] .hp-checkout-v2 .astra-checkout-layout { grid-template-columns: 1fr; }
  .hp-cart-summary-v2,
  .hp-checkout-v2 .astra-order-column { position: static; top: auto; }
  .hp-cart-summary-v2 { width: 100%; }
  .hp-checkout-v2 .astra-order-column { grid-row: auto; }
  .hp-checkout-v2 .astra-customer-column { grid-row: auto; }
}
@media (max-width: 720px) {
  .hp-main[data-view="cart"] .hp-cart-page-v2 .astra-cart-header { align-items: flex-start; }
  .hp-cart-item-v2 { grid-template-columns: 76px minmax(0, 1fr); gap: 13px; padding: 16px; }
  .hp-cart-item-v2__image { width: 76px; height: 76px; border-radius: 13px; }
  .hp-cart-item-v2__actions {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "qty . total" "remove . .";
    justify-items: start;
    min-width: 0;
    padding-top: 3px;
  }
  .hp-cart-item-v2__total { justify-self: end; }
  .hp-cart-card-v2__head, .hp-cart-coupon-v2 { padding-inline: 16px; }
  .hp-cart-summary-v2 { padding: 19px; }
  .hp-cart-coupon-v2__form { grid-template-columns: 1fr auto; }
  .hp-saved-address-v2 { grid-template-columns: 1fr; gap: 8px; }
  .hp-address-form-v2 { grid-template-columns: 1fr; }
  .hp-address-form-v2 > * { grid-column: 1 !important; }
}
@media (max-width: 520px) {
  .hp-cart-item-v2__actions { grid-template-columns: auto 1fr; grid-template-areas: "qty total" "remove remove"; }
  .hp-cart-coupon-v2__form,
  .hp-checkout-coupon-v2__form { grid-template-columns: 1fr; }
  .hp-cart-coupon-v2__form small,
  .hp-checkout-coupon-v2__form small { grid-column: 1; }
  .hp-checkout-v2 .hp-checkout-section { padding: 16px; border-radius: 16px; }
}

/* =============================================================
   v1.2.3 — Feed navigation, discover filtering, cart interactions
   Keep these components on the same typography, control-height,
   border and spacing tokens as the rest of the application.
   ============================================================= */

/* Home: a genuine section heading and attached content-view tabs,
   instead of a floating, fixed-width row of pills. */
.hp-main[data-view="home"] > .hp-home-feed-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
  width: 100%;
  margin: 0 0 20px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--ui-line);
  background: transparent;
}
.hp-home-feed-head__title .eyebrow {
  display: block;
  margin: 0 0 3px;
  color: var(--ui-primary-strong);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hp-home-feed-head__title h1 {
  margin: 0;
  color: var(--ui-ink);
  font-family: var(--font-display);
  font-size: clamp(27px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.13;
}
.hp-home-feed-head .feed-tabs {
  display: flex;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
}
.hp-home-feed-head .feed-tabs button {
  min-height: 43px;
  padding: 8px 17px;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ui-muted) !important;
  font-size: 13px;
  font-weight: 650;
  box-shadow: none !important;
  white-space: nowrap;
}
.hp-home-feed-head .feed-tabs button:hover { color: var(--ui-primary-strong) !important; }
.hp-home-feed-head .feed-tabs button[aria-selected="true"] {
  border-bottom-color: var(--ui-primary) !important;
  color: var(--ui-primary-strong) !important;
}

/* Discover: heading -> category navigation / one filter toggle ->
   optional refinements -> clearly visible applied-filter chips. */
.hp-main[data-view="discover"] .discover-page.hp-discover-v3 {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 0 96px;
}
.hp-discover-v3 .hp-discover-intro {
  margin-bottom: 21px;
  padding: 0;
  border: 0;
}
.hp-discover-intro .eyebrow {
  color: var(--ui-primary-strong);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hp-discover-intro h1 {
  margin: 5px 0 7px;
  color: var(--ui-ink);
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
}
.hp-discover-intro p { max-width: 65ch; margin: 0; color: var(--ui-muted); font-size: 14px; }
.hp-discover-v3 .hp-discover-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  margin-bottom: 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--ui-line);
}
.hp-discover-v3 .discover-tabs.stream-tabs {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
  width: auto;
  min-width: 0;
  gap: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scrollbar-width: none;
}
.hp-discover-v3 .discover-tabs.stream-tabs button {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  min-height: 43px;
  padding: 8px 13px;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ui-muted) !important;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: none !important;
}
.hp-discover-v3 .discover-tabs.stream-tabs button[aria-selected="true"] {
  border-bottom-color: var(--ui-primary) !important;
  color: var(--ui-primary-strong) !important;
}
.hp-discover-v3 .discover-tabs.stream-tabs button:hover { color: var(--ui-primary-strong) !important; }
.hp-discover-filter-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 14px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 12px;
  background: var(--ui-surface);
  color: var(--ui-primary-strong);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.hp-discover-filter-toggle:hover,
.hp-discover-filter-toggle[aria-expanded="true"],
.hp-discover-filter-toggle.has-filters { border-color: var(--ui-primary); background: var(--ui-primary-soft); }
.hp-discover-filter-toggle svg { width: 17px; height: 17px; }
.hp-discover-filter-toggle svg:last-child { width: 14px; transition: transform 150ms ease; }
.hp-discover-filter-toggle[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.hp-discover-filter-count {
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--ui-primary);
  color: #fff;
  font-size: 11px;
}
.hp-discover-v3 .hp-discover-refinements {
  margin-bottom: 14px;
  padding: 17px;
  border: 0;
  border-radius: 16px;
  background: var(--ui-surface-soft);
}
.hp-discover-v3 .hp-discover-refinements[hidden],
.hp-discover-v3 .hp-discover-active-filters[hidden],
.hp-discover-filter-count[hidden],
.hp-cart-feedback[hidden] { display: none !important; }
.hp-discover-v3 .discover-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 13px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.hp-discover-v3 .discover-filters label { display: grid; gap: 7px; min-width: 0; margin: 0; }
.hp-discover-v3 .discover-filters label > span {
  margin: 0;
  color: var(--ui-ink-soft);
  font-size: 12px;
  font-weight: 700;
}
.hp-discover-v3 .discover-filters select {
  width: 100%;
  min-width: 0;
  min-height: 44px !important;
  padding: 9px 32px 9px 12px !important;
  border: 1px solid var(--ui-line-strong);
  border-radius: 11px;
  background-color: var(--ui-surface);
  color: var(--ui-ink);
  font-size: 13px !important;
}
.hp-discover-v3 .discover-filters__clear {
  align-self: end;
  grid-column: auto;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ui-primary-strong);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.hp-discover-v3 .hp-discover-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px;
}
.hp-discover-active-filters button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 33px;
  padding: 5px 10px;
  border: 1px solid var(--ui-line);
  border-radius: 999px;
  background: var(--ui-surface);
  color: var(--ui-primary-strong);
  font-size: 12px;
  cursor: pointer;
}
.hp-discover-active-filters button:hover { border-color: var(--ui-primary); }
.hp-discover-active-filters svg { width: 13px; height: 13px; }

/* Cart: keep each of the three stepper cells inside one bounded control;
   show persistent errors instead of relying on a disappearing toast. */
.hp-cart-feedback { margin: 0 0 14px; padding: 11px 14px; }
.hp-main[data-view="cart"] .hp-cart-qty-v2 {
  display: grid;
  grid-template-columns: 44px 40px 44px;
  width: 130px;
  min-width: 130px;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid var(--ui-line-strong);
  border-radius: 12px;
  background: var(--ui-surface);
  box-shadow: none;
}
.hp-main[data-view="cart"] .hp-cart-qty-v2 button {
  display: grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ui-ink) !important;
  font-size: 19px;
  line-height: 1;
  box-shadow: none !important;
  cursor: pointer;
}
.hp-main[data-view="cart"] .hp-cart-qty-v2 button:hover { background: var(--ui-primary-soft) !important; }
.hp-main[data-view="cart"] .hp-cart-qty-v2 button:disabled { opacity: .5; cursor: wait; }
.hp-main[data-view="cart"] .hp-cart-qty-v2 strong { min-width: 0; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 780px) {
  .hp-main[data-view="discover"] .discover-page.hp-discover-v3 { padding-top: 14px; }
  .hp-discover-v3 .hp-discover-controls { flex-wrap: wrap; }
  .hp-discover-v3 .discover-tabs.stream-tabs { order: 2; flex-basis: 100%; }
  .hp-discover-v3 .hp-discover-filter-toggle { order: 1; margin-left: auto; }
  .hp-discover-v3 .discover-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-discover-v3 .discover-filters__clear { justify-self: start; }
}
@media (max-width: 520px) {
  .hp-main[data-view="home"] > .hp-home-feed-head { align-items: flex-start; gap: 10px; }
  .hp-home-feed-head .feed-tabs { flex-basis: 100%; }
  .hp-discover-v3 .discover-filters { grid-template-columns: 1fr; }
  .hp-discover-v3 .discover-filters__clear { justify-self: start; }
  .hp-discover-v3 .hp-discover-refinements { padding: 14px; }
  .hp-cart-item-v2__actions { grid-template-columns: 130px minmax(0, 1fr); }
}

/* Apple Pay / Google Pay on product pages and the cart (1.8.19). The buttons
   are Stripe's own (wallet brand rules); only the spacing and notes are ours. */
.hp-express-pay { display: grid; gap: 8px; margin-top: 12px; }
.hp-express-pay[hidden] { display: none; }
.hp-express-pay__buttons { min-height: 48px; }
.hp-express-pay__note { margin: 0; color: var(--ui-muted); font-size: 12px; text-align: center; }
.hp-express-pay__error { margin: 0; padding: 8px 10px; border-radius: var(--ui-radius-sm); background: var(--ui-danger-soft); color: var(--ui-danger); font-size: 13px; }
.hp-express-pay__error[hidden] { display: none; }
.hp-cart-summary-v2 .hp-express-pay { margin-top: 14px; }

/* ==== assets/layout-v124.css ==== */
/* Halfpix 1.2.4 — single heading/layout contract; load AFTER unified-ui.css. */
:root{--hp-page-top:clamp(24px,2.5vw,38px);--hp-heading-gap:26px;--hp-heading-size:clamp(35px,3.5vw,52px)}
.hp-main{padding-top:var(--hp-page-top)!important}
.hp-main > .shop-page,.hp-main > .create-hub,.hp-main > .discover-page.hp-discover-v3,
.hp-main > .hp-wc-checkout-shell{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0}
.hp-main .hp-page-heading{width:100%!important;max-width:none!important;min-height:0!important;margin:0 0 var(--hp-heading-gap)!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:left!important;align-content:start}
.hp-main .hp-page-heading .hp-page-heading__eyebrow{display:block!important;margin:0 0 10px!important;padding:0!important;font-family:var(--font-sans)!important;font-size:11px!important;font-weight:750!important;line-height:1.35!important;letter-spacing:.10em!important;color:var(--ui-primary-strong)!important;text-transform:uppercase!important}
.hp-main .hp-page-heading .hp-page-heading__title{display:block!important;max-width:100%!important;margin:0!important;padding:0!important;font-family:var(--font-display)!important;font-size:var(--hp-heading-size)!important;font-weight:400!important;letter-spacing:-.04em!important;line-height:1.12!important;color:var(--ui-ink)!important;text-align:left!important;overflow-wrap:break-word}
.hp-main .hp-page-heading .hp-page-heading__description{max-width:68ch!important;margin:10px 0 0!important;padding:0!important;font-family:var(--font-sans)!important;font-size:clamp(14px,1.1vw,16px)!important;line-height:1.6!important;color:var(--ui-muted)!important;text-align:left!important}
.hp-main .hp-home-feed-head.hp-page-heading{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:18px 26px!important;padding-bottom:17px!important;border-bottom:1px solid var(--ui-line)!important}
.hp-main .hp-home-feed-head .hp-home-feed-head__title{min-width:0;flex:1 1 250px}
.hp-main .hp-home-feed-head .feed-tabs{align-self:flex-end}
.hp-main[data-view="discover"] .hp-discover-v3 .hp-discover-intro{margin:0 0 var(--hp-heading-gap)!important;padding:0!important}
.hp-main .shop-heading.hp-page-heading{max-width:none!important}
.hp-main .create-hub > header.hp-page-heading{max-width:none!important}
.hp-main .hp-hero.hp-page-heading > div{width:100%;max-width:100%}
.hp-main .hp-page-heading :is(h1,p){position:static;transform:none}
/* The original generic .stream-heading and .shop-page had independent offsets. */
.hp-main[data-view="shop"] .shop-page,.hp-main[data-view="create"] .create-hub,
.hp-main[data-view="discover"] .hp-discover-v3{inset:auto!important;transform:none!important}
@media(max-width:700px){
 :root{--hp-page-top:20px;--hp-heading-gap:20px;--hp-heading-size:clamp(30px,8.4vw,41px)}
 .hp-main .hp-page-heading .hp-page-heading__description{font-size:14px!important}
 .hp-main .hp-home-feed-head.hp-page-heading{align-items:start!important;gap:8px!important}
 .hp-main .hp-home-feed-head .feed-tabs{align-self:start}
}
/* Native Woo checkout: preserve Woo's actual fields, shipping methods,
   payment gateway markup and validation. Only improve visual layout. */
.hp-wc-checkout-shell{--wc-line:var(--ui-line,#dae4df);min-width:0}
.hp-wc-checkout-shell .woocommerce{max-width:100%;min-width:0}
.hp-wc-checkout-shell .woocommerce form.checkout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(320px,.88fr);gap:24px;align-items:start;max-width:100%}
.hp-wc-checkout-shell .woocommerce form.checkout > .col2-set{grid-column:1;grid-row:1;min-width:0;width:100%;margin:0;padding:26px;border:1px solid var(--wc-line);border-radius:20px;background:#fff;box-shadow:var(--ui-shadow-xs)}
.hp-wc-checkout-shell .woocommerce form.checkout > .col2-set > .col-1,
.hp-wc-checkout-shell .woocommerce form.checkout > .col2-set > .col-2{float:none;width:100%;max-width:none;min-width:0}
.hp-wc-checkout-shell .woocommerce form.checkout > .col2-set > .col-2{margin-top:20px}
.hp-wc-checkout-shell .woocommerce form.checkout > #order_review_heading{grid-column:2;grid-row:1;align-self:start;z-index:1;margin:0;padding:20px 24px 0;font-size:22px;font-family:var(--font-sans);font-weight:700}
.hp-wc-checkout-shell .woocommerce form.checkout > #order_review{grid-column:2;grid-row:1;min-width:0;align-self:start;margin-top:55px;padding:12px 24px 24px;border:1px solid var(--wc-line);border-radius:20px;background:#fff;box-shadow:var(--ui-shadow-xs)}
.hp-wc-checkout-shell .woocommerce form.checkout > :not(.col2-set):not(#order_review_heading):not(#order_review){grid-column:1/-1}
.hp-wc-checkout-shell .woocommerce h3{font-family:var(--font-sans);font-size:21px;font-weight:700;color:var(--ui-ink)}
.hp-wc-checkout-shell .woocommerce .form-row{float:none;min-width:0;margin:0 0 15px;padding:0}
.hp-wc-checkout-shell .woocommerce .form-row-first,.hp-wc-checkout-shell .woocommerce .form-row-last{float:left;width:calc(50% - 9px)}
.hp-wc-checkout-shell .woocommerce .form-row-last{float:right}
.hp-wc-checkout-shell .woocommerce .form-row-wide{clear:both;width:100%}
.hp-wc-checkout-shell .woocommerce input.input-text,.hp-wc-checkout-shell .woocommerce select,
.hp-wc-checkout-shell .woocommerce textarea,.hp-wc-checkout-shell .select2-selection{box-sizing:border-box;width:100%;max-width:100%;min-height:46px;border:1px solid var(--ui-line-strong)!important;border-radius:12px!important;padding:10px 12px;background:white;font:inherit;color:var(--ui-ink)}
.hp-wc-checkout-shell .select2-container{max-width:100%}
.hp-wc-checkout-shell .woocommerce .form-row label{display:block;margin-bottom:5px;font-size:13px;font-weight:650}
.hp-wc-checkout-shell .woocommerce-checkout-review-order-table{width:100%;border-collapse:collapse}
.hp-wc-checkout-shell .woocommerce-checkout-review-order-table th,.hp-wc-checkout-shell .woocommerce-checkout-review-order-table td{padding:12px 4px;border-bottom:1px solid var(--wc-line);text-align:left}
.hp-wc-checkout-shell .woocommerce-checkout-review-order-table td:last-child,.hp-wc-checkout-shell .woocommerce-checkout-review-order-table th:last-child{text-align:right}
.hp-wc-checkout-shell #payment{border-radius:14px!important;background:#f5f8f7!important}
.hp-wc-checkout-shell #payment ul.payment_methods{padding:14px!important;border-bottom:1px solid var(--wc-line)}
.hp-wc-checkout-shell #payment .place-order{padding:16px!important}
.hp-wc-checkout-shell #place_order{width:100%;min-height:52px;border-radius:12px;background:var(--ui-primary);color:white;font-weight:700}
.hp-wc-checkout-shell :is(.woocommerce-error,.woocommerce-message,.woocommerce-info){padding:16px 20px;border-radius:12px;background:#fff;border:1px solid var(--wc-line);margin-bottom:20px}
.hp-wc-checkout-shell .woocommerce-error{border-color:#e4b9b5;background:#fff2f1}
@media(max-width:1020px){.hp-wc-checkout-shell .woocommerce form.checkout{grid-template-columns:minmax(0,1fr)}.hp-wc-checkout-shell .woocommerce form.checkout > .col2-set{grid-column:1;grid-row:1}.hp-wc-checkout-shell .woocommerce form.checkout > #order_review_heading{grid-column:1;grid-row:2}.hp-wc-checkout-shell .woocommerce form.checkout > #order_review{grid-column:1;grid-row:2}}
@media(max-width:520px){.hp-wc-checkout-shell .woocommerce form.checkout > .col2-set{padding:16px}.hp-wc-checkout-shell .woocommerce form.checkout > #order_review{padding:12px 15px 15px}.hp-wc-checkout-shell .woocommerce form.checkout > #order_review_heading{padding-left:15px}.hp-wc-checkout-shell .woocommerce .form-row-first,.hp-wc-checkout-shell .woocommerce .form-row-last{float:none;width:100%}}

/* Native checkout saved-address enhancement: it never replaces WC fields. */
.hp-wc-address-picker{display:grid;gap:7px;margin:0 0 22px;padding:16px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-primary-soft)}
.hp-wc-address-picker label{margin:0;font-size:13px;font-weight:750;color:var(--ui-primary-strong)}
.hp-wc-address-picker select{width:100%;min-height:46px;border:1px solid var(--ui-line-strong);border-radius:10px;padding:7px 11px;background:#fff}
.hp-wc-address-picker small{font-size:12px;color:var(--ui-muted)}
/* Cart uses the exact same canonical header position as the other routes. */
.hp-main[data-view="cart"] .astra-cart-header.hp-page-heading{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:18px!important}
@media(max-width:600px){.hp-main[data-view="cart"] .astra-cart-header.hp-page-heading{align-items:start!important;flex-direction:column!important}}

/* Override old heading-specific flex gaps and !important title size rules. */
.hp-main > .cart-page.cart-page--refined, .hp-main > .creation-page {
 width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0
}
.hp-main .hp-page-heading.shop-heading {gap:0!important;display:block!important}
.hp-main .hp-page-heading.shop-heading > .hp-page-heading__title {margin:0!important}
.hp-main[data-view="cart"] .astra-cart-header.hp-page-heading{gap:18px!important}
.hp-main[data-view="cart"] .astra-cart-header.hp-page-heading .hp-page-heading__title,
.hp-main[data-view="create"] .creation-heading.hp-page-heading .hp-page-heading__title {
 font-size:var(--hp-heading-size)!important;line-height:1.12!important;font-family:var(--font-display)!important
}
.hp-main .creation-heading.hp-page-heading{display:block!important}
.hp-main .creation-heading.hp-page-heading > div{min-width:0;width:100%}

.hp-main[data-view="cart"] .astra-cart-header.hp-page-heading > div{padding:0!important;margin:0!important;display:block!important;transform:none!important}
/* Auth form can remain narrow, but its page title shares the global main gutter. */
.hp-main[data-view="login"],.hp-main[data-view="register"]{width:min(1680px,calc(100% - 48px))!important}
.hp-main[data-view="login"] .hp-page-heading,.hp-main[data-view="register"] .hp-page-heading{margin-inline:0!important;text-align:left!important}
@media(max-width:460px){.hp-main[data-view="login"],.hp-main[data-view="register"]{width:calc(100% - 20px)!important}}
/* Align the auth page container with the same responsive gutter as the other routes. */
.hp-main[data-view="login"],.hp-main[data-view="register"]{width:min(var(--ui-content),calc(100% - (var(--ui-gutter) * 2)))!important}
@media(max-width:1180px){.hp-main[data-view="login"],.hp-main[data-view="register"]{width:min(var(--ui-content),calc(100% - 36px))!important}}
@media(max-width:850px){.hp-main[data-view="login"],.hp-main[data-view="register"]{width:min(calc(100% - 24px),760px)!important}}
@media(max-width:460px){.hp-main[data-view="login"],.hp-main[data-view="register"]{width:calc(100% - 20px)!important}}

/* Checkout Blocks: preserve Woo's React-owned form and scope design tokens only. */
.hp-wc-checkout-shell .wc-block-checkout{max-width:100%;--wc-blocks-style:var(--ui-primary)}
.hp-wc-checkout-shell .wc-block-components-text-input input,
.hp-wc-checkout-shell .wc-block-components-combobox-control input,
.hp-wc-checkout-shell .wc-block-components-select select{border-radius:12px!important;border-color:var(--ui-line-strong)!important}
.hp-wc-checkout-shell .wc-block-components-checkout-place-order-button{border-radius:12px!important;min-height:52px;background:var(--ui-primary)!important;color:#fff!important}
.hp-wc-checkout-shell .wc-block-components-sidebar{border-color:var(--ui-line)!important;border-radius:18px}

/* ==== assets/forms-v125.css ==== */
/* Halfpix v1.2.5 — one form geometry / focus contract. Loaded last. */
:root {
  --ui-form-focus: var(--ui-primary, #2f6d60);
  --ui-form-border: var(--ui-line-strong, #cbd8d3);
  --ui-form-radius: 13px;
}
/* Help text on the Username field must not stretch the adjacent Display name
   input. The label, control and hint occupy normal-flow rows. */
.hp-profile-editor .hp-profile-form > label.hp-field {
  display: flex;
  flex-direction: column;
  align-self: start;
  align-items: stretch;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  margin: 0;
}
.hp-profile-editor .hp-profile-form > label.hp-field > span {
  display: block;
  margin: 0 !important;
  min-height: 20px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}
.hp-profile-editor .hp-profile-form > label.hp-field > :is(input,select) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 50px;
  min-height: 50px;
  flex: 0 0 auto;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--ui-form-border) !important;
  border-radius: var(--ui-form-radius) !important;
  background: #fff;
  font-size: 15px;
  line-height: 24px;
}
.hp-profile-editor .hp-profile-form > label.hp-field > textarea {
  flex: 0 0 auto;
  margin: 0;
  min-height: 132px;
  padding: 13px 14px;
  border-radius: var(--ui-form-radius) !important;
}
.hp-profile-editor .hp-profile-form > label.hp-field > small {
  display: block;
  margin: 0;
  color: var(--ui-muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
}
.hp-profile-editor .hp-profile-form > label.hp-field > input:disabled {
  color: var(--ui-ink-soft) !important;
  opacity: 1;
  background: var(--ui-surface-soft, #f7faf8) !important;
  -webkit-text-fill-color: var(--ui-ink-soft);
}
/* Shared accessible focus: green 2px outline with 2px separation. Neither
   a thick nested inner frame nor inconsistent form-specific halo. */
.hp-form .hp-field :is(input,textarea,select):focus,
.hp-profile-editor .hp-profile-form > label.hp-field > :is(input,textarea,select):focus {
  border-color: var(--ui-form-focus) !important;
  outline: 2px solid var(--ui-form-focus) !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}
/* The comment composer is ONE interactive field group. Its container owns
   the border/focus state; the textarea itself is deliberately borderless. */
.hp-comments .comments-section__dock {
  position: sticky;
  z-index: 5;
  bottom: 12px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin-top: 18px;
  padding: 3px;
}
.hp-comments .comments-section__dock > .comment-composer-trigger {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid var(--ui-form-border);
  border-radius: var(--ui-form-radius);
  background: #fff;
  box-shadow: var(--ui-shadow-xs);
  font-size: 14px;
}
.hp-comments .comment-composer-trigger:focus-visible,
.hp-comments .comment-composer:focus-within {
  border-color: var(--ui-form-focus) !important;
  outline: 2px solid var(--ui-form-focus) !important;
  outline-offset: 2px !important;
}
.hp-comments .comments-section__dock > .comment-composer {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 14px 15px 12px;
  border: 1px solid var(--ui-form-border) !important;
  border-radius: 16px;
  background: #fff !important;
  box-shadow: var(--ui-shadow-sm);
}
.hp-comments .comment-composer__header {
  display: flex;
  align-items: center;
  min-height: 28px;
  margin: 0 0 8px;
  color: var(--ui-ink-soft);
  font-size: 13px;
}
.hp-comments .comment-composer__header label {
  cursor: text;
  color: var(--ui-ink-soft);
  font-size: 13px;
  font-weight: 700;
}
.hp-comments .comment-composer__header button {
  width: 34px;
  height: 34px;
}
.hp-comments .comments-section__dock .comment-composer textarea,
.hp-comments .comments-section__dock .comment-composer textarea:focus,
.hp-comments .comments-section__dock .comment-composer textarea:focus-visible {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 74px !important;
  max-height: 200px;
  margin: 0;
  padding: 3px 0 13px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
  resize: none;
  color: var(--ui-ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}
.hp-comments .comment-composer textarea::placeholder { color: var(--ui-muted); opacity: 1; }
.hp-comments .comment-composer__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin-top: 0;
  padding-top: 10px;
  border-top: 1px solid var(--ui-line);
}
.hp-comments .comment-composer__actions > button:not(.comment-submit) {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--ui-muted);
}
.hp-comments .comment-composer__actions > button:not(.comment-submit):hover { background: var(--ui-surface-soft); color: var(--ui-form-focus); }
.hp-comments .comment-composer__actions > .comment-submit {
  margin-left: auto;
  min-width: 85px;
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 12px;
  background: var(--ui-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.hp-comments .comment-composer__actions > .comment-submit:disabled { opacity: .45; cursor: not-allowed; }
.hp-comments .comment-composer__actions > :is(button,input):focus-visible,
.hp-comments .comment-composer__header button:focus-visible {
  outline: 2px solid var(--ui-form-focus) !important;
  outline-offset: 2px !important;
}
.hp-comments .comments-section__dock > .hp-comment-error {
  margin: 0 0 10px;
  padding: 9px 12px;
  border: 1px solid #e9c5bf;
  border-radius: 10px;
  background: #fff3f1;
  color: #8b3c36;
  font-size: 13px;
}
.hp-comments .comments-section__dock > .hp-comment-error:empty { display: none; }
@media (max-width: 520px) {
  .hp-comments .comments-section__dock { bottom: 8px; margin-top: 12px; }
  .hp-comments .comments-section__dock > .comment-composer { padding: 12px; }
  .hp-comments .comment-composer__actions { gap: 5px; }
  .hp-comments .comment-composer__actions > .comment-submit { min-width: 78px; }
}

/* ==== assets/post-modal-v127.css ==== */
/* Post popup layout; long body text and comments remain independently readable.
   Loaded AFTER forms-v125: avoid touching standalone posts or Discover. */
.post-body-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.hp-post-overlay {
  overscroll-behavior: contain;
}
.hp-post-overlay .hp-post-close {
  top: 16px;
  right: auto;
  left: 16px;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}
.hp-post-overlay .hp-post-close:focus-visible {
  outline: 3px solid #c8e1d8;
  outline-offset: 3px;
}

.hp-post-overlay--post {
  display: block;
  height: calc(100dvh - 28px);
  max-height: calc(100dvh - 28px);
  overflow: hidden;
}
.hp-post-overlay--post > .hp-post-scroll {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: none;
}
.hp-post-overlay--post .post-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  margin: 0;
  padding: 0 !important;
  gap: 0 !important;
  align-items: stretch;
  overflow: hidden;
}
.hp-post-overlay--post .post-media-column {
  position: relative;
  top: auto;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  overscroll-behavior: none;
}
.hp-post-overlay--post .post-media-column > .media-gallery,
.hp-post-overlay--post .post-media-column .media-gallery__track,
.hp-post-overlay--post .post-media-column .media-gallery__slide {
  min-height: 0;
  height: 100%;
  max-height: 100%;
}
.hp-post-overlay--post .post-media-column .media-gallery__slide {
  aspect-ratio: auto;
}
.hp-post-overlay--post .post-media-column :is(.hp-detail-media, .media-gallery__video, .media-gallery__open) {
  height: 100%;
  max-height: 100%;
}
.hp-post-overlay--post .post-media-column :is(img, video, .media-image) {
  max-height: 100%;
  object-fit: contain;
}
/* This is a horizontal carousel, not a vertical scroll container. */
.hp-post-overlay--post .post-media-column .media-gallery__track {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-y: none;
  touch-action: pan-x pinch-zoom;
}
.hp-post-overlay--post .post-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 0;
  background: #fff;
}
.hp-post-overlay--post .post-panel__fixed {
  flex: 0 1 auto;
  min-height: 0;
  max-height: calc(100% - 136px);
  padding: 26px clamp(18px, 2.2vw, 30px) 10px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border-bottom: 1px solid var(--ui-line, #d8e4df);
}
.hp-post-overlay--post .post-panel__fixed:focus-visible {
  outline: 2px solid var(--ui-primary, var(--celadon));
  outline-offset: -3px;
}
.hp-post-overlay--post .post-panel__fixed .post-author-header {
  min-height: 56px;
  /* Leave space for the left corner close button in the media column. */
}
.hp-post-overlay--post .post-panel__fixed .post-copy {
  padding: 15px 0 10px;
}
.hp-post-overlay--post .post-panel__fixed .post-copy h1 {
  margin-bottom: 8px;
  font-size: clamp(25px, 2.7vw, 39px);
  line-height: 1.14;
}
.hp-post-overlay--post .post-panel__fixed .post-copy p {
  margin: 0 0 10px;
  line-height: 1.52;
}
.hp-post-overlay--post .post-panel__fixed .content-actions {
  margin: 12px 0 0;
  padding: 7px 0 0;
  border-bottom: 0;
}
.hp-post-overlay--post .post-panel__fixed .content-actions button {
  min-height: 45px;
}
/* Comments keep their own vertical scrolling surface. */
.hp-post-overlay--post .post-panel > .post-panel__comments {
  flex: 1 1 0;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 16px clamp(18px, 2.2vw, 30px) 22px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-top: 0;
  scroll-padding-block: 10px 20px;
}
.hp-post-overlay--post .post-panel__comments::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.hp-post-overlay--post .post-panel__comments > h2 { margin-top: 0; }
.hp-post-overlay--post .post-panel__comments:focus { outline: none; }
.hp-post-overlay--post .post-panel__comments:focus-visible {
  outline: 2px solid var(--ui-primary, var(--celadon));
  outline-offset: -3px;
}
.hp-post-overlay--post .post-panel__comments .comments-section__dock {
  bottom: 0;
  padding-bottom: 4px;
  background: #fff;
}
/* Short displays: keep author, title, and actions visible without
   making the media pane or outer popup independently scrollable. */
@media (max-height: 720px) and (min-width: 701px) {
  .hp-post-overlay--post .post-panel__fixed { padding-top: 14px; padding-bottom: 5px; }
  .hp-post-overlay--post .post-panel__fixed .post-author-header { min-height: 40px; }
  .hp-post-overlay--post .post-panel__fixed .avatar--lg { width: 40px; height: 40px; }
  .hp-post-overlay--post .post-panel__fixed .post-copy { padding: 8px 0 5px; }
  .hp-post-overlay--post .post-panel__fixed .post-copy h1 { font-size: clamp(22px, 2.3vw, 30px); }
  .hp-post-overlay--post .post-panel__fixed .post-copy p { font-size: 13px; }
  .hp-post-overlay--post .post-panel__fixed .content-actions { margin-top: 5px; }
}
/* On a phone image, author/title and comments fit one viewport:
   image uses a fixed, non-scrollable stage and comments get the remainder. */
@media (max-width: 700px) {
  .hp-post-overlay--post {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  .hp-post-overlay--post .post-detail {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }
  .hp-post-overlay--post .post-media-column {
    flex: 0 0 clamp(165px, 29dvh, 260px);
    height: clamp(165px, 29dvh, 260px);
    min-height: 0;
    max-height: none;
  }
  .hp-post-overlay--post .post-panel {
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    overflow: hidden !important;
    padding: 0 !important;
  }
  .hp-post-overlay--post .post-panel__fixed {
    flex: 0 1 auto;
    max-height: calc(100% - 110px);
    padding: 9px 16px 6px;
  }
  .hp-post-overlay--post .post-panel__fixed .post-author-header { min-height: 36px; }
  .hp-post-overlay--post .post-panel__fixed .avatar--lg { width: 35px; height: 35px; }
  .hp-post-overlay--post .post-panel__fixed .post-author-header strong { font-size: 13px; }
  .hp-post-overlay--post .post-panel__fixed .post-author-header small { font-size: 11px; }
  .hp-post-overlay--post .post-panel__fixed .post-copy { padding: 6px 0 4px; }
  .hp-post-overlay--post .post-panel__fixed .post-copy h1 { margin-bottom: 4px; font-size: clamp(19px, 5vw, 25px); }
  .hp-post-overlay--post .post-panel__fixed .post-copy p { margin-bottom: 3px; font-size: 12px; line-height: 1.35; }
  .hp-post-overlay--post .post-panel__fixed .post-tags { font-size: 11px; }
  .hp-post-overlay--post .post-panel__fixed .content-actions { margin-top: 4px; padding-top: 3px; }
  .hp-post-overlay--post .post-panel__fixed .content-actions button { min-height: 34px; font-size: 9px; }
  .hp-post-overlay--post .post-panel__fixed .content-actions svg { width: 17px; height: 17px; }
  .hp-post-overlay--post .post-panel__comments { padding: 12px 16px 18px; }
  .hp-post-overlay--post .hp-post-close { top: 12px; left: 12px; width: 38px; height: 38px; }
}

/* ==== assets/post-modal-v128.css ==== */
/* v1.2.8: full-screen images must enter the top layer above the post dialog. */
dialog.media-lightbox.media-lightbox--content {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 54px clamp(12px, 3vw, 48px);
  border: 0;
  border-radius: 0;
  color: #fff;
  background: #090807f5;
  overflow: hidden;
}
dialog.media-lightbox.media-lightbox--content::backdrop { background: transparent; }
dialog.media-lightbox.media-lightbox--content .media-lightbox__stage {
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}
dialog.media-lightbox.media-lightbox--content .media-lightbox__stage img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
dialog.media-lightbox.media-lightbox--content .media-lightbox__close { z-index: 5; }
dialog.media-lightbox.media-lightbox--content :is(.media-lightbox__close, .media-lightbox__arrow):focus-visible {
  outline: 3px solid #c8e1d8;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  dialog.media-lightbox.media-lightbox--content { padding: 56px 10px 44px; }
  dialog.media-lightbox.media-lightbox--content .media-lightbox__arrow { width: 40px; height: 40px; }
  dialog.media-lightbox.media-lightbox--content .media-lightbox__arrow.left { left: 8px; }
  dialog.media-lightbox.media-lightbox--content .media-lightbox__arrow.right { right: 8px; }
}

/* ==== assets/mobile-preview-v129.css ==== */
/* v1.2.9 — One proportional device shell across post, glaze, journal and cover previews.
 * Reference portrait viewport 390 × 844; scale the WHOLE device, never only its height.
 */
.hp-main[data-view="create"] .creation-form {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 350px);
  gap: 20px 22px;
}
.hp-main[data-view="create"] .creation-preview {
  min-width: 0;
  overflow: visible;
}
.hp-main[data-view="create"] .creation-phone {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(100%, 340px);
  max-width: none;
  height: auto;
  min-height: 0;
  aspect-ratio: 390 / 844;
  margin: 16px auto 0;
  padding: 6px;
  border: 5px solid var(--ink);
  border-radius: 34px;
  overflow: hidden;
  background: var(--ink);
}
/* A fixed-ratio device must not grow when a user types a long title or note. */
.hp-main[data-view="create"] .creation-phone__screen,
.hp-main[data-view="create"] .creation-phone__body {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-height: 100%;
  flex: 1 1 0;
  overflow: hidden;
}
.hp-main[data-view="create"] .creation-phone__screen {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
}
.hp-main[data-view="create"] .creation-phone__status,
.hp-main[data-view="create"] .creation-phone__nav,
.hp-main[data-view="create"] .creation-phone__feed-nav,
.hp-main[data-view="create"] .creation-phone__bottom-nav,
.hp-main[data-view="create"] .creation-phone__record-actions {
  flex-shrink: 0;
}
/* The author name may be an email address; prevent it pushing Follow off-screen. */
.hp-main[data-view="create"] .creation-phone__nav > strong {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hp-main[data-view="create"] .creation-phone__nav > button,
.hp-main[data-view="create"] .creation-phone__nav > svg {
  flex: 0 0 auto;
}
/* Photo/video post: media retains a natural thumbnail slot; only long copy scrolls. */
.hp-main[data-view="create"] .creation-phone__screen > .creation-phone__media {
  box-sizing: border-box;
  display: grid;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0;
  background: var(--mist);
  place-content: center;
}
.hp-main[data-view="create"] .creation-phone__screen > .creation-phone__media :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0;
}
.hp-main[data-view="create"] .creation-phone__screen > .creation-phone__record-copy {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  align-content: start;
  overscroll-behavior: contain;
}
/* Journal / glaze / cover: content scrolls INSIDE the screen, not the device shell. */
.hp-main[data-view="create"] .creation-phone__record-scroll,
.hp-main[data-view="create"] .creation-phone__studio-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media {
  min-height: 0;
  height: auto;
  aspect-ratio: 4 / 3;
}
.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media.is-empty {
  height: auto;
  min-height: 104px;
  aspect-ratio: 4 / 3;
}
.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media :is(img, video) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hp-main[data-view="create"] .creation-phone__studio-list .creation-phone__media,
.hp-main[data-view="create"] .creation-phone__studio-list .creation-phone__media :is(img, video) {
  aspect-ratio: auto;
  object-fit: cover;
}
.hp-main[data-view="create"] .creation-phone__body {
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (max-width: 1023px) {
  .hp-main[data-view="create"] .creation-form { grid-template-columns: minmax(0, 1fr); }
  .hp-main[data-view="create"] .creation-preview { width: min(100%, 420px); margin-inline: auto; position: static; }
}
/* Respect the original create form's mobile preview visibility: no cramped duplicate on phones. */
@media (max-width: 599px) {
  .hp-main[data-view="create"] .creation-preview { display: none; }
}
/* Keep the complete mock handset inside shorter desktop viewports when possible.
 * Both dimensions still derive from the same aspect ratio. */
@media (min-width: 1024px) and (max-height: 900px) {
  .hp-main[data-view="create"] .creation-phone { width: min(100%, 290px); }
}
@media (min-width: 1024px) and (max-height: 810px) {
  .hp-main[data-view="create"] .creation-phone { width: min(100%, 265px); }
}

/* ==== assets/mobile-preview-v1210.css ==== */
/* v1.2.10 — Preview media containment. This sheet must load AFTER v1.2.9.
 * Uploaded media is a replaced element: the legacy 16px padding and grid-centering
 * let its intrinsic minimum size escape a 4:3 frame, covering the status pills.
 */
.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media:not(.is-empty) {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf3f1;
}
.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media:not(.is-empty) > :is(img, video) {
  position: absolute;
  inset: 0;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}
/* The tags have their own row below the media, never layered over it. */
.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__record-pills {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  background: #fff;
}
/* The cover tab is deliberately a thumbnail: crop within its 75x76 slot,
 * never permit the source image to expand that grid cell. */
.hp-main[data-view="create"] .creation-phone__studio-list .creation-phone__media:not(.is-empty) {
  position: relative;
  display: block;
  box-sizing: border-box;
  height: 76px;
  min-height: 76px;
  max-height: 76px;
  padding: 0;
  overflow: hidden;
  background: #edf3f1;
}
.hp-main[data-view="create"] .creation-phone__studio-list .creation-phone__media:not(.is-empty) > :is(img, video) {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}
/* The Photo / Video post preview uses a top-level media frame, unlike the
 * Glaze record card. Constrain its replaced elements by the same rule. */
.hp-main[data-view="create"] .creation-phone__screen > .creation-phone__media:not(.is-empty) {
  position: relative;
  display: block;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #edf3f1;
}
.hp-main[data-view="create"] .creation-phone__screen > .creation-phone__media:not(.is-empty) > :is(img, video) {
  position: absolute;
  inset: 0;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}

/* ==== assets/mobile-preview-v1211.css ==== */
/* v1.2.11 — Full-width, uncropped image previews.
 * A natural-size image determines its own media height; the PHONE remains fixed
 * at 390:844 and its interior scroll container handles long portrait photos.
 * Keep video/empty-state frames and list cover thumbnails unchanged.
 */
.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media:not(.is-empty):has(> img),
.hp-main[data-view="create"] .creation-phone__screen > .creation-phone__media:not(.is-empty):has(> img) {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.hp-main[data-view="create"] .creation-phone__record-card--hero .creation-phone__media:not(.is-empty) > img,
.hp-main[data-view="create"] .creation-phone__screen > .creation-phone__media:not(.is-empty) > img {
  position: static;
  inset: auto;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: none;
  padding: 0;
  margin: 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}
/* A cover in the list remains a small 75x76 crop; the user can open it to see
 * the full image. Never apply natural-height styling to this thumbnail. */
.hp-main[data-view="create"] .creation-phone__media > img[role="button"] {
  cursor: zoom-in;
}
.hp-main[data-view="create"] .creation-phone__media > img[role="button"]:focus-visible {
  outline: 3px solid var(--hp-primary, var(--celadon));
  outline-offset: -4px;
}
/* Dialog is appended to body, i.e. outside .hp-main's stacking context. */
dialog.creation-image-viewer {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #111d1a;
  color: white;
}
dialog.creation-image-viewer[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
dialog.creation-image-viewer::backdrop {
  background: rgb(11 20 18 / 92%);
}
.creation-image-viewer__stage {
  box-sizing: border-box;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 52px 10px 12px;
}
.creation-image-viewer__stage > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.creation-image-viewer__close {
  position: absolute;
  z-index: 2;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 38%);
  border-radius: 50%;
  background: rgb(22 39 34 / 80%);
  color: white;
  cursor: pointer;
}
.creation-image-viewer__close svg { width: 21px; height: 21px; }
.creation-image-viewer__close:focus-visible { outline: 3px solid white; outline-offset: 3px; }

/* ==== assets/glaze-layers-v1212.css ==== */
/* Halfpix v1.2.12 — Glaze experiment layer editor. Loaded after mobile-preview-v1211.css.
   Uses the canonical --ui-* tokens from unified-ui.css; nested labels/inputs inherit the
   shared .creation-section field geometry. */
.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface);
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__head {
  display: grid;
  gap: 4px;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__head strong {
  color: var(--ui-ink);
  font-size: 15px;
  font-weight: 700;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__head small,
.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__empty,
.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__results > small {
  margin: 0;
  color: var(--ui-muted);
  font-size: 13px;
  line-height: 1.5;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The create form sits beside the phone preview, so layout follows the editor's own
   width rather than the viewport. Default is the compact stacked layout. */
.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__list {
  container-type: inline-size;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "order actions"
    "fields fields";
  align-items: center;
  gap: 10px 12px;
  padding: 12px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface-soft);
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__order {
  grid-area: order;
  justify-self: start;
  min-width: 48px;
  padding: 6px 10px;
  border-radius: var(--ui-radius-pill);
  background: var(--ui-primary-soft);
  color: var(--ui-primary-strong);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__fields {
  grid-area: fields;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 10px;
  min-width: 0;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__fields label:first-child {
  grid-column: 1 / -1;
}

/* Mid widths: the fields share one row under the order badge and buttons. */
@container (min-width: 620px) {
  .hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__fields {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 84px;
  }
  .hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__fields label:first-child {
    grid-column: auto;
  }
}

/* Wide: badge, fields and buttons on one line. The buttons take ~136px, so below
   820px the name fields would be squeezed under 100px. */
@container (min-width: 820px) {
  .hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__item {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "order fields actions";
    align-items: end;
  }
  .hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__order {
    align-self: center;
  }
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__fields label {
  min-width: 0;
}

/* Inputs keep the browser's default ~200px width unless told otherwise, which
   spills them over the next column. */
.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__fields :is(input, select) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__linked {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 3px 10px;
  border-radius: var(--ui-radius-pill);
  background: var(--ui-clay-soft);
  color: var(--ui-clay);
  font-size: 12px;
  font-weight: 600;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 2px;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__actions button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--ui-radius-pill);
  background: transparent;
  color: var(--ui-muted);
  cursor: pointer;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__actions button:hover:not(:disabled) {
  background: var(--ui-primary-soft);
  color: var(--ui-primary-strong);
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__actions button:disabled {
  opacity: 0.35;
  cursor: default;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__actions .app-icon {
  width: 18px;
  height: 18px;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__add {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__add button:disabled {
  opacity: 0.5;
  cursor: default;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__browser {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--ui-line);
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__browser[hidden] {
  display: none;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 10px;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__results > button {
  min-width: 0;
  min-height: 60px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface);
  color: var(--ui-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s var(--ui-ease), box-shadow .15s var(--ui-ease);
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__results > button:hover {
  border-color: var(--ui-primary);
  box-shadow: var(--ui-shadow-xs);
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__results > button > span:last-child {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__results img,
.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--ui-radius-xs);
  background: var(--ui-surface-soft);
  object-fit: cover;
}

.hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor :is(button, input):focus-visible {
  outline: 2px solid var(--ui-form-focus, var(--ui-primary));
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__results > button {
    transition: none;
  }
}

/* ==== assets/discover-community-v1213.css ==== */
/* Halfpix v1.2.13 — Discover community: actions, "Made with this method" results, comments.
   Loaded after glaze-layers-v1212.css. Scoped to .discover-detail so it applies both on the
   Discover page and inside the post overlay. Uses canonical --ui-* tokens only. */
/* Reuses the post-detail .content-actions component from review.css; Discover has four
   actions (no separate copy-link button), so only the column count changes. */
.discover-detail .discover-detail__actions {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 24px;
}

.discover-detail .discover-results {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ui-line);
}

.discover-detail .discover-results__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
}

.discover-detail .discover-results__head h2 {
  margin: 0 0 4px;
  font-size: 15px;
}

.discover-detail .discover-results__head p,
.discover-detail .discover-results__empty,
.discover-detail .discover-results__form-head small {
  margin: 0;
  color: var(--ui-muted);
  font-size: 13px;
  line-height: 1.55;
}

.discover-detail .discover-results__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.discover-detail .discover-results__cta[hidden] {
  display: none;
}

.discover-detail .discover-results__cta .app-icon {
  width: 18px;
  height: 18px;
}

.discover-detail .discover-results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 118px), 1fr));
  gap: 8px;
}

.discover-detail .discover-results__grid > :is(.discover-results__empty, .hp-loading) {
  grid-column: 1 / -1;
}

.discover-detail .discover-results__shot {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface-soft);
  cursor: zoom-in;
}

.discover-detail .discover-results__shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s var(--ui-ease);
}

.discover-detail .discover-results__shot:hover img {
  transform: scale(1.04);
}

.discover-detail .discover-results__shot span {
  position: absolute;
  inset: auto 0 0;
  overflow: hidden;
  padding: 18px 8px 6px;
  background: linear-gradient(transparent, rgb(31 45 41 / .62));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discover-detail .discover-results__form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface);
}

.discover-detail .discover-results__form[hidden] {
  display: none;
}

.discover-detail .discover-results__form-head {
  display: grid;
  gap: 3px;
}

.discover-detail .discover-results__form-head strong {
  font-size: 15px;
}

.discover-detail .discover-results__picker {
  position: relative;
  min-height: 88px;
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--ui-line-strong);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface-soft);
  color: var(--ui-primary-strong);
  font-weight: 600;
  cursor: pointer;
}

.discover-detail .discover-results__picker[hidden] {
  display: none;
}

.discover-detail .discover-results__picker span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.discover-detail .discover-results__picker .app-icon {
  width: 20px;
  height: 20px;
}

.discover-detail .discover-results__picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.discover-detail .discover-results__picker:focus-within {
  outline: 2px solid var(--ui-form-focus, var(--ui-primary));
  outline-offset: 2px;
}

.discover-detail .discover-results__previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 84px), 1fr));
  gap: 8px;
}

.discover-detail .discover-results__previews:empty {
  display: none;
}

.discover-detail .discover-results__preview {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--ui-radius-xs);
  background: var(--ui-surface-soft);
}

.discover-detail .discover-results__preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.discover-detail .discover-results__preview button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--ui-radius-pill);
  background: rgb(31 45 41 / .72);
  color: #fff;
  cursor: pointer;
}

.discover-detail .discover-results__preview .app-icon {
  width: 15px;
  height: 15px;
}

.discover-detail .discover-results__note {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.discover-detail .discover-results__note textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 84px;
  padding: 11px 13px;
  border: 1px solid var(--ui-form-border, var(--ui-line-strong));
  border-radius: var(--ui-form-radius, 13px);
  background: var(--ui-surface);
  color: var(--ui-ink);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  resize: vertical;
}

.discover-detail .discover-results__note textarea:focus {
  outline: 2px solid var(--ui-form-focus, var(--ui-primary));
  outline-offset: 2px;
}

.discover-detail .discover-results__error {
  margin: 0;
  color: var(--ui-danger);
  font-size: 13px;
}

.discover-detail .discover-results__error:empty {
  display: none;
}

.discover-detail .discover-results__form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.discover-detail .discover-results__form-actions button:disabled {
  opacity: .55;
  cursor: default;
}

.discover-detail .discover-detail__comments {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ui-line);
}

.discover-detail .discover-detail__comments > h2 {
  margin: 0 0 12px;
  font-size: 15px;
}

.discover-detail :is(.discover-results__shot, .discover-results__cta, .discover-results__preview button):focus-visible {
  outline: 2px solid var(--ui-form-focus, var(--ui-primary));
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .discover-detail .discover-results__shot img {
    transition: none;
  }
  .discover-detail .discover-results__shot:hover img {
    transform: none;
  }
}

/* ==== assets/studio-v1214.css ==== */
/* Halfpix v1.2.14 — Journal and Kiln Log studio workflow.
   Loaded after discover-community-v1213.css. Canonical --ui-* tokens only; existing
   .hp-journal-card / .hp-journal-grid / .hp-panel / .hp-field geometry is reused. */

/* ---------- Shared ---------- */
.hp-main .kiln-empty-copy {
  margin: 0;
  color: var(--ui-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hp-main .kiln-empty-copy a {
  color: var(--ui-primary-strong);
  font-weight: 600;
}

.hp-main :is(.kiln-piece__thumb) {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: var(--ui-radius-xs);
  background: var(--ui-surface-soft);
  color: var(--ui-primary-strong);
  object-fit: cover;
}

.hp-main .kiln-piece__thumb .app-icon {
  width: 22px;
  height: 22px;
}

.hp-main .kiln-piece__body {
  min-width: 0;
  display: grid;
  gap: 2px;
  text-align: left;
}

.hp-main .kiln-piece__body strong {
  overflow: hidden;
  color: var(--ui-ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-main .kiln-piece__body small {
  color: var(--ui-muted);
  font-size: 12px;
}

/* ---------- Kiln Log ---------- */
.hp-main .kiln-notice {
  margin: 0 0 16px;
}

.hp-main .kiln-toolbar {
  margin-bottom: 20px;
}

.hp-main :is(.kiln-ready, .kiln-batches) {
  display: grid;
  gap: 14px;
  margin: 0 0 28px;
}

.hp-main .kiln-ready {
  padding: 20px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-lg);
  background: var(--ui-surface);
}

.hp-main .kiln-ready__head h2,
.hp-main .kiln-batches h2 {
  margin: 0 0 4px;
  font-size: 17px;
}

.hp-main .kiln-ready__head p {
  margin: 0;
  color: var(--ui-muted);
  font-size: 14px;
}

.hp-main .kiln-ready__body {
  display: grid;
  gap: 20px;
}

.hp-main .kiln-ready__group {
  display: grid;
  gap: 10px;
}

.hp-main .kiln-ready__group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hp-main .kiln-ready__group-head h3 {
  margin: 0;
  font-size: 14px;
}

.hp-main .kiln-ready__group-head h3 span {
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: var(--ui-radius-pill);
  background: var(--ui-primary-soft);
  color: var(--ui-primary-strong);
  font-size: 12px;
}

.hp-main .kiln-piece-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 8px;
}

.hp-main .kiln-piece {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px 8px 8px;
  border: 1.5px solid var(--ui-line);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface);
  cursor: pointer;
  transition: border-color .15s var(--ui-ease), background-color .15s var(--ui-ease);
}

.hp-main .kiln-piece input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hp-main .kiln-piece.is-selected {
  border-color: var(--ui-primary);
  background: var(--ui-primary-soft);
}

.hp-main .kiln-piece.is-selected::after {
  content: "✓";
  position: absolute;
  top: 6px;
  right: 8px;
  color: var(--ui-primary-strong);
  font-size: 13px;
  font-weight: 700;
}

.hp-main .kiln-piece:focus-within {
  outline: 2px solid var(--ui-form-focus, var(--ui-primary));
  outline-offset: 2px;
}

.hp-main .kiln-piece__batch {
  color: var(--ui-clay) !important;
}

.hp-main .kiln-ready__cta {
  justify-self: start;
}

.hp-main .kiln-ready__cta:disabled {
  opacity: .5;
  cursor: default;
}

.hp-main .kiln-batches__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 10px;
}

.hp-main .kiln-batches__list > :is(.hp-alert, .kiln-empty-copy, .kiln-onboarding, .hp-loading) {
  grid-column: 1 / -1;
}

.hp-main .kiln-batch-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface);
  color: var(--ui-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s var(--ui-ease), box-shadow .15s var(--ui-ease);
}

.hp-main .kiln-batch-card:hover {
  border-color: var(--ui-line-strong);
  box-shadow: var(--ui-shadow-xs);
}

.hp-main .kiln-batch-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.hp-main .kiln-batch-card__top strong {
  font-size: 15px;
}

.hp-main .kiln-batch-card__meta {
  color: var(--ui-muted);
  font-size: 13px;
}

.hp-main .kiln-batch-card__progress {
  display: flex;
  gap: 4px;
}

.hp-main .kiln-batch-card__progress i {
  height: 5px;
  flex: 1;
  border-radius: var(--ui-radius-pill);
  background: var(--ui-line);
}

.hp-main .kiln-batch-card__progress i.is-done {
  background: var(--ui-primary);
}

.hp-main .kiln-batch-card__progress i.is-current {
  background: var(--ui-clay);
}

.hp-main .kiln-onboarding {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px dashed var(--ui-line-strong);
  border-radius: var(--ui-radius-lg);
  background: var(--ui-surface);
}

.hp-main .kiln-onboarding h3 {
  margin: 0;
  font-size: 17px;
}

.hp-main .kiln-onboarding p {
  margin: 0;
  color: var(--ui-muted);
  font-size: 14px;
}

.hp-main .kiln-onboarding__choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 10px;
}

.hp-main .kiln-onboarding__choices button {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 16px;
  border: 1.5px solid var(--ui-line);
  border-radius: var(--ui-radius-md);
  background: var(--ui-canvas);
  color: var(--ui-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hp-main .kiln-onboarding__choices button:hover {
  border-color: var(--ui-primary);
  background: var(--ui-primary-soft);
}

.hp-main .kiln-onboarding__choices .app-icon {
  width: 22px;
  height: 22px;
  color: var(--ui-primary-strong);
}

.hp-main .kiln-onboarding__choices small {
  color: var(--ui-muted);
  font-size: 13px;
  line-height: 1.5;
}

.hp-main .kiln-editor {
  display: grid;
  gap: 18px;
  margin: 0 0 28px;
}

.hp-main .kiln-editor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hp-main .kiln-editor__head h2 {
  margin: 0;
}

.hp-main .kiln-editor__close,
.hp-main .kiln-editor__remove {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--ui-radius-pill);
  background: transparent;
  color: var(--ui-muted);
  cursor: pointer;
}

.hp-main :is(.kiln-editor__close, .kiln-editor__remove):hover {
  background: var(--ui-surface-soft);
  color: var(--ui-ink);
}

.hp-main :is(.kiln-editor__close, .kiln-editor__remove) .app-icon {
  width: 18px;
  height: 18px;
}

.hp-main .kiln-choice,
.hp-main .kiln-stepper {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.hp-main .kiln-choice legend,
.hp-main .kiln-stepper legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}

.hp-main .kiln-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-main .kiln-choice label {
  position: relative;
  cursor: pointer;
}

.hp-main .kiln-choice input,
.hp-main .kiln-stepper input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hp-main .kiln-choice span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1.5px solid var(--ui-line);
  border-radius: var(--ui-radius-pill);
  background: var(--ui-surface);
  color: var(--ui-ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.hp-main .kiln-choice input:checked + span {
  border-color: var(--ui-primary);
  background: var(--ui-primary-soft);
  color: var(--ui-primary-strong);
}

.hp-main :is(.kiln-choice, .kiln-stepper) input:focus-visible + :is(span, b) {
  outline: 2px solid var(--ui-form-focus, var(--ui-primary));
  outline-offset: 2px;
}

.hp-main .kiln-stepper__steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 6px;
}

.hp-main .kiln-stepper__steps label {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: var(--ui-radius-sm);
  color: var(--ui-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.hp-main .kiln-stepper__steps label:hover {
  background: var(--ui-surface-soft);
}

.hp-main .kiln-stepper__steps b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ui-line-strong);
  border-radius: var(--ui-radius-pill);
  background: var(--ui-surface);
  font-size: 13px;
}

.hp-main .kiln-stepper__steps .is-done b {
  border-color: var(--ui-primary);
  background: var(--ui-primary);
  color: #fff;
}

.hp-main .kiln-stepper__steps .is-current {
  color: var(--ui-primary-strong);
}

.hp-main .kiln-stepper__steps .is-current b {
  border-color: var(--ui-primary);
  background: var(--ui-primary-soft);
  color: var(--ui-primary-strong);
}

.hp-main .kiln-editor__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}

.hp-main .kiln-editor__grid [hidden] {
  display: none;
}

.hp-main :is(.kiln-editor__pieces, .kiln-editor__results) {
  display: grid;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--ui-line);
}

.hp-main .kiln-editor__results[hidden] {
  display: none;
}

.hp-main .kiln-editor__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hp-main .kiln-editor__section-head h3 {
  margin: 0;
  font-size: 15px;
}

.hp-main .kiln-editor__piece-list {
  display: grid;
  gap: 8px;
}

.hp-main .kiln-editor__piece,
.hp-main .kiln-editor__option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface);
}

.hp-main .kiln-editor__piece {
  flex-wrap: wrap;
}

.hp-main .kiln-editor__piece .kiln-piece__body {
  flex: 1 1 150px;
}

.hp-main .kiln-editor__piece .kiln-editor__remove {
  order: 3;
}

.hp-main .kiln-editor__piece .kiln-editor__qty {
  order: 4;
  margin-left: 62px;
}

.hp-main .kiln-editor__piece-list {
  container-type: inline-size;
}

@container (min-width: 460px) {
  .hp-main .kiln-editor__piece {
    flex-wrap: nowrap;
  }
  .hp-main .kiln-editor__piece .kiln-editor__qty {
    order: 2;
    margin-left: 0;
  }
}

.hp-main .kiln-editor__qty {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ui-muted);
  font-size: 12px;
}

.hp-main .kiln-editor__qty input {
  width: 64px;
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid var(--ui-form-border, var(--ui-line-strong));
  border-radius: var(--ui-radius-xs);
  font: inherit;
}

.hp-main .kiln-editor__picker {
  display: grid;
  gap: 8px;
}

.hp-main .kiln-editor__picker[hidden] {
  display: none;
}

.hp-main .kiln-editor__search {
  width: 100%;
  min-height: var(--ui-control);
  padding: 0 14px;
  border: 1px solid var(--ui-form-border, var(--ui-line-strong));
  border-radius: var(--ui-radius-pill);
  font: inherit;
}

.hp-main .kiln-editor__picker-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 8px;
  max-height: 340px;
  overflow: auto;
}

.hp-main .kiln-editor__option {
  color: var(--ui-ink);
  font: inherit;
  cursor: pointer;
}

.hp-main .kiln-editor__option:hover {
  border-color: var(--ui-primary);
}

.hp-main .kiln-editor__extras {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-warning-soft);
  color: var(--ui-warning);
  font-size: 13px;
}

.hp-main .kiln-editor__actions {
  flex-wrap: wrap;
}

.hp-main .kiln-editor__delete {
  color: var(--ui-danger);
}

/* ---------- Journal ---------- */
.hp-main .journal-page {
  display: grid;
  gap: 14px;
}

.hp-main .journal-todo {
  display: grid;
  gap: 10px;
}

.hp-main .journal-todo[hidden] {
  display: none;
}

.hp-main .journal-todo__stages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.hp-main .journal-todo__stage {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface);
  color: var(--ui-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.hp-main .journal-todo__stage strong {
  font-size: 22px;
  line-height: 1.1;
}

.hp-main .journal-todo__stage span {
  color: var(--ui-muted);
  font-size: 12.5px;
  font-weight: 600;
}

.hp-main .journal-todo__stage:hover:not(:disabled) {
  border-color: var(--ui-line-strong);
}

.hp-main .journal-todo__stage.is-active {
  border-color: var(--ui-primary);
  background: var(--ui-primary-soft);
}

.hp-main .journal-todo__stage.is-active span {
  color: var(--ui-primary-strong);
}

.hp-main .journal-todo__stage:disabled {
  opacity: .5;
  cursor: default;
}

.hp-main .journal-todo__kiln {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--ui-radius-pill);
  background: var(--ui-clay-soft);
  color: var(--ui-clay);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.hp-main .journal-todo__kiln .app-icon {
  width: 16px;
  height: 16px;
}

.hp-main .journal-toolbar {
  flex-wrap: wrap;
  align-items: center;
}

.hp-main .journal-search {
  flex: 1 1 260px;
  min-height: var(--ui-control);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--ui-form-border, var(--ui-line-strong));
  border-radius: var(--ui-radius-pill);
  background: var(--ui-surface);
  color: var(--ui-muted);
}

.hp-main .journal-search:focus-within {
  outline: 2px solid var(--ui-form-focus, var(--ui-primary));
  outline-offset: 2px;
}

.hp-main .journal-search .app-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.hp-main .journal-search input {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  outline: 0;
  background: transparent;
  box-shadow: none !important;
  color: var(--ui-ink);
  font: inherit;
}

.hp-main .journal-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-main .journal-types .hp-chip span {
  margin-left: 2px;
  opacity: .65;
}

.hp-main .journal-facets {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface);
}

.hp-main .journal-facets[hidden] {
  display: none;
}

.hp-main .journal-facets label {
  display: grid;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
}

.hp-main .journal-facets select {
  min-width: 140px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--ui-form-border, var(--ui-line-strong));
  border-radius: var(--ui-radius-xs);
  background: var(--ui-surface);
  font: inherit;
  font-weight: 400;
}

.hp-main .journal-notice:empty {
  display: none;
}

.hp-main .journal-notice__card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--ui-primary);
  border-radius: var(--ui-radius-md);
  background: var(--ui-primary-soft);
}

.hp-main .journal-notice__card > span {
  flex: 1 1 240px;
  color: var(--ui-primary-strong);
  font-size: 14px;
  font-weight: 600;
}

.hp-main .journal-stage {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--ui-radius-pill);
  background: var(--ui-surface-soft);
  color: var(--ui-ink-soft);
  font-size: 11.5px;
  font-weight: 700;
}

.hp-main .journal-stage--waiting_bisque,
.hp-main .journal-stage--waiting_firing {
  background: var(--ui-clay-soft);
  color: var(--ui-clay);
}

.hp-main .journal-stage--finished {
  background: var(--ui-success-soft);
  color: var(--ui-success);
}

.hp-main .journal-card__place {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hp-main .journal-card__place .app-icon {
  width: 14px;
  height: 14px;
}

.hp-main .journal-card__glaze-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.hp-main .journal-test-code {
  padding: 3px 10px;
  border-radius: var(--ui-radius-xs);
  background: var(--ui-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
}

.hp-main .journal-glaze-combo {
  margin: 0 0 6px;
  color: var(--ui-ink-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.hp-main .journal-card .hp-journal-actions {
  flex-wrap: wrap;
}

.hp-main .journal-card .journal-next {
  flex: 1 0 100%;
  min-height: 36px;
  padding-inline: 10px;
  font-size: 12.5px;
}

.hp-main .journal-card .journal-next:disabled {
  opacity: .6;
}

.hp-main .journal-editor [hidden] {
  display: none;
}

.hp-main .journal-share__details {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface-soft);
  color: var(--ui-ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .hp-main .journal-todo__stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .hp-main .journal-todo__stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hp-main .kiln-stepper__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-main :is(.kiln-piece, .kiln-batch-card) {
    transition: none;
  }
}

/* ==== assets/studio-pages-v1215.css ==== */
/* Halfpix v1.2.15 — Kiln Log and Journal are standalone pages.
   Kiln Log uses the same .creation-page shell as Piece journal; the main container
   owns gutters, so the pre-v1.2.14 kiln-log width/margin rules must not apply inside it. */
/* Mirrors the create-view title rule in design-tokens.css so both Studio pages match. */
.hp-main[data-view="kiln-log"] .creation-heading h1 {
  letter-spacing: -.035em !important;
}

.hp-main[data-view="kiln-log"] .kiln-page :is(.hp-toolbar, .hp-kiln-editor) {
  width: auto;
  margin-inline: 0;
}

/* ==== assets/kiln-workspace-v1216.css ==== */
/* Halfpix v1.2.16 — Kiln Log editor workspace.
   Editing a firing shows only the form and a "Firing summary" in the Studio right column
   (where Piece journal shows its phone preview). Canonical --ui-* tokens only. */

/* Editor mode: the waiting list, firings list and toolbar step aside. */
.hp-main .kiln-page.is-editing > :is(.kiln-toolbar, .kiln-ready, .kiln-batches, .kiln-notice) {
  display: none;
}

.hp-main .kiln-workspace {
  display: grid;
  gap: 20px;
  align-items: start;
  margin: 0 0 28px;
}

/* pages.css caps .hp-form at 720px, which left an empty band beside the form. */
.hp-main .kiln-workspace > .kiln-editor {
  max-width: none;
  margin: 0;
}

.hp-main .kiln-editor__head {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.hp-main .kiln-editor__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 0 12px 0 6px;
  border: 0;
  border-radius: var(--ui-radius-pill);
  background: var(--ui-surface-soft);
  color: var(--ui-primary-strong);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.hp-main .kiln-editor__back:hover {
  background: var(--ui-primary-soft);
}

.hp-main .kiln-editor__back .app-icon {
  width: 18px;
  height: 18px;
}

/* ---------- Summary card ---------- */
.hp-main .kiln-summary__card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-lg);
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow-sm);
}

.hp-main .kiln-summary__eyebrow {
  color: var(--ui-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hp-main .kiln-summary__card h3 {
  margin: -8px 0 0;
  overflow-wrap: anywhere;
  font-size: 19px;
  line-height: 1.3;
}

.hp-main .kiln-summary__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hp-main .kiln-summary__chips span {
  padding: 4px 10px;
  border-radius: var(--ui-radius-pill);
  background: var(--ui-primary-soft);
  color: var(--ui-primary-strong);
  font-size: 12px;
  font-weight: 700;
}

.hp-main .kiln-summary__stage {
  display: grid;
  gap: 8px;
  color: var(--ui-muted);
  font-size: 13px;
}

.hp-main .kiln-summary__stage strong {
  color: var(--ui-ink);
}

.hp-main .kiln-summary__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin: 0;
  padding: 14px 0;
  border-block: 1px solid var(--ui-line);
}

.hp-main .kiln-summary__facts div {
  min-width: 0;
}

.hp-main .kiln-summary__facts dt {
  color: var(--ui-muted);
  font-size: 11.5px;
  font-weight: 600;
}

.hp-main .kiln-summary__facts dd {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--ui-ink);
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-main .kiln-summary__pieces {
  display: grid;
  gap: 8px;
}

.hp-main .kiln-summary__pieces-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.hp-main .kiln-summary__pieces-head strong {
  font-size: 15px;
}

.hp-main .kiln-summary__pieces-head small,
.hp-main .kiln-summary__pieces p,
.hp-main .kiln-summary__effect p {
  margin: 0;
  color: var(--ui-muted);
  font-size: 13px;
}

.hp-main .kiln-summary__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hp-main :is(.kiln-summary__thumb, .kiln-summary__more) {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--ui-radius-xs);
  background: var(--ui-surface-soft);
  color: var(--ui-primary-strong);
  object-fit: cover;
}

.hp-main .kiln-summary__thumb .app-icon {
  width: 18px;
  height: 18px;
}

.hp-main .kiln-summary__more {
  font-size: 13px;
  font-weight: 700;
}

.hp-main .kiln-summary__effect {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-canvas);
}

.hp-main .kiln-summary__effect strong {
  font-size: 13px;
}

.hp-main .kiln-summary__effect ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  color: var(--ui-ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

.hp-main .kiln-summary__actions {
  display: grid;
  gap: 8px;
}

.hp-main .kiln-summary__actions .hp-button {
  width: 100%;
  justify-content: center;
}

.hp-main .kiln-summary__bar {
  display: none;
}

/* ---------- Desktop: two columns, sticky summary ---------- */
@media (min-width: 1024px) {
  .hp-main .kiln-workspace {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  }
  .hp-main .kiln-summary {
    position: sticky;
    top: 92px;
  }
  /* Save / Finish live in the summary on desktop; Delete and Cancel stay in the form. */
  .hp-main .kiln-editor__actions .kiln-editor__primary {
    display: none;
  }
}

/* ---------- Tablet and phone: compact summary bar ---------- */
@media (max-width: 1023px) {
  .hp-main .kiln-summary__card {
    display: none;
  }
  .hp-main .kiln-summary {
    position: sticky;
    bottom: 12px;
    z-index: 20;
  }
  .hp-main .kiln-summary__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 16px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius-pill);
    background: rgb(255 255 255 / .96);
    box-shadow: var(--ui-shadow-float);
    font-size: 13px;
  }
  .hp-main .kiln-summary__bar > span {
    min-width: 0;
    overflow: hidden;
    color: var(--ui-ink-soft);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hp-main .kiln-summary__bar .hp-button {
    flex: 0 0 auto;
    min-height: 42px;
    padding-inline: 20px;
  }
}

/* Phones: fixed above the bottom navigation (no left rail at this width). Fixed positioning
   does not depend on the scroll container, so it holds even where sticky is unsupported. */
@media (max-width: 850px) {
  .hp-main .kiln-summary {
    position: fixed;
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(84px + env(safe-area-inset-bottom));
    z-index: 40;
  }
  .hp-main .kiln-page.is-editing .kiln-workspace {
    margin-bottom: 96px;
  }
}

/* feed-parity.css sets html, body { overflow-x: hidden }. On body that creates a scroll
   container, so every position: sticky descendant (this summary, the Create phone preview,
   product galleries) stops sticking. clip prevents horizontal overflow without that side effect. */
@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

/* ==== assets/social-v1217.css ==== */
/* Halfpix v1.2.17 — sharing and studio social features.
   Loaded after kiln-workspace-v1216.css. Canonical --ui-* tokens only. */

/* ---------- Share sheet (dialog appended to body) ---------- */
dialog.hp-share-sheet {
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: var(--ui-radius-lg);
  background: var(--ui-surface);
  color: var(--ui-ink);
  box-shadow: var(--ui-shadow-float);
  font-family: "DM Sans", system-ui, sans-serif;
}

dialog.hp-share-sheet::backdrop {
  background: rgb(31 45 41 / .45);
}

.hp-share-sheet__panel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.hp-share-sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hp-share-sheet__head h2 {
  margin: 0;
  font-size: 18px;
}

.hp-share-sheet__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--ui-radius-pill);
  background: var(--ui-surface-soft);
  color: var(--ui-ink);
  cursor: pointer;
}

.hp-share-sheet .app-icon {
  width: 20px;
  height: 20px;
}

.hp-share-sheet__preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-canvas);
}

.hp-share-sheet__preview img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: var(--ui-radius-xs);
  object-fit: cover;
}

.hp-share-sheet__preview div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.hp-share-sheet__preview strong,
.hp-share-sheet__preview small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-share-sheet__preview small {
  color: var(--ui-muted);
}

.hp-share-sheet__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hp-share-sheet__grid button {
  min-height: 76px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 6px;
  padding: 8px 4px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface);
  color: var(--ui-ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.hp-share-sheet__grid button:hover:not(:disabled) {
  border-color: var(--ui-primary);
  background: var(--ui-primary-soft);
}

.hp-share-sheet__grid button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.hp-share-sheet__grid button:focus-visible,
.hp-share-sheet__close:focus-visible {
  outline: 2px solid var(--ui-primary);
  outline-offset: 2px;
}

.hp-share-sheet__status {
  min-height: 20px;
  color: var(--ui-muted);
  font-size: 13px;
}

.hp-share-sheet__steps {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-canvas);
  font-size: 13px;
}

.hp-share-sheet__steps[hidden] {
  display: none;
}

.hp-share-sheet__steps ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.hp-share-sheet__steps .hp-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hp-share-sheet__steps p {
  margin: 0;
  color: var(--ui-muted);
}

@media (max-width: 460px) {
  .hp-share-sheet__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Try this combination ---------- */
.hp-main .try-this-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
}

.hp-main .try-this-link .app-icon {
  width: 18px;
  height: 18px;
}

.hp-main .try-this-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hp-main .try-this-banner .app-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.hp-main .try-this-banner a {
  font-weight: 700;
  text-decoration: underline;
}

.hp-main .hp-profile-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hp-main .hp-profile-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hp-main .hp-profile-share .app-icon {
  width: 18px;
  height: 18px;
}

/* ---------- Glaze experiment ---------- */
.hp-main .experiment-advanced {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border: 1px dashed var(--ui-line-strong);
  border-radius: var(--ui-radius-sm);
}

.hp-main .experiment-advanced summary {
  display: grid;
  gap: 2px;
  cursor: pointer;
}

.hp-main .experiment-advanced summary small {
  color: var(--ui-muted);
  font-size: 12.5px;
}

.hp-main .experiment-advanced[open] summary {
  margin-bottom: 12px;
}

.hp-main .journal-rating-input {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 0;
}

.hp-main .journal-rating-input legend {
  width: 100%;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}

.hp-main .journal-rating-input label {
  position: relative;
  cursor: pointer;
}

.hp-main .journal-rating-input input {
  position: absolute;
  opacity: 0;
}

.hp-main .journal-rating-input label span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ui-line-strong);
  font-size: 26px;
}

/* Stars up to and including the checked one light up. */
.hp-main .journal-rating-input:has(input:checked) label span {
  color: var(--ui-clay);
}

.hp-main .journal-rating-input label:has(input:checked) ~ label span {
  color: var(--ui-line-strong);
}

.hp-main .journal-rating-input input:focus-visible + span {
  outline: 2px solid var(--ui-primary);
  outline-offset: 2px;
  border-radius: var(--ui-radius-xs);
}

.hp-main .journal-rating-input .hp-chip {
  margin-left: 8px;
}

/* Per-layer "Applied by" adds a fourth field on wide editors. */
@container (min-width: 620px) {
  .hp-main:is([data-view="create"], [data-view="journal"], [data-view="studio"]) .glaze-layer-editor__fields {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 76px 108px;
  }
}

.hp-main .glaze-layer-editor__fields select {
  width: 100%;
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid var(--ui-form-border, var(--ui-line-strong));
  border-radius: var(--ui-radius-xs);
  background: var(--ui-surface);
  color: var(--ui-ink);
  font: inherit;
}

.hp-main .journal-piece-glazes {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

/* ---------- Journal ---------- */
.hp-main .journal-todo__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-main .journal-todo__pickup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border-radius: var(--ui-radius-md);
  background: var(--ui-warning-soft);
  color: var(--ui-warning);
  font-size: 13px;
  font-weight: 600;
}

.hp-main .journal-todo__pickup.is-urgent {
  background: var(--ui-danger-soft);
  color: var(--ui-danger);
}

.hp-main .journal-todo__pickup span {
  flex: 1 1 220px;
}

.hp-main .journal-todo__pickup .app-icon {
  width: 16px;
  height: 16px;
}

.hp-main .journal-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hp-main .journal-card__photos {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ui-muted);
  font-size: 12px;
  font-weight: 600;
}

.hp-main .journal-card__photos .app-icon {
  width: 14px;
  height: 14px;
}

.hp-main .journal-card__place.is-urgent {
  color: var(--ui-danger);
  font-weight: 700;
}

.hp-main .journal-card .hp-journal-actions .hp-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.hp-main .journal-card .hp-journal-actions .hp-chip .app-icon {
  width: 14px;
  height: 14px;
}

.hp-main .journal-rating {
  color: var(--ui-clay);
  font-size: 14px;
  letter-spacing: 1px;
}

.hp-main .journal-notice__card .hp-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hp-main .journal-notice__card .app-icon {
  width: 16px;
  height: 16px;
}

.hp-main .journal-share__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hp-main .journal-share__pair figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface-soft);
}

.hp-main .journal-share__pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-main .journal-share__pair figcaption {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 10px;
  border-radius: var(--ui-radius-pill);
  background: rgb(31 45 41 / .78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.hp-main .journal-share__format {
  margin: 0;
}

.hp-main .journal-year {
  display: grid;
  gap: 16px;
}

.hp-main .journal-year__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hp-main .journal-year__head h2 {
  margin: 0;
}

.hp-main .journal-year__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.hp-main .journal-year__stats div {
  display: grid;
  gap: 2px;
  padding: 16px;
  border-radius: var(--ui-radius-md);
  background: var(--ui-canvas);
}

.hp-main .journal-year__stats strong {
  font-family: var(--font-display, Georgia, serif);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
}

.hp-main .journal-year__stats span {
  color: var(--ui-muted);
  font-size: 13px;
}

.hp-main .journal-year__facts {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--ui-ink-soft);
}

.hp-main .journal-year .hp-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hp-main .journal-year .app-icon,
.hp-main .journal-toolbar .hp-button .app-icon {
  width: 16px;
  height: 16px;
}

.hp-main .journal-toolbar .hp-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Kiln opening ---------- */
.hp-main .kiln-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hp-main .kiln-notice > span {
  flex: 1 1 260px;
}

.hp-main .kiln-notice .hp-button,
.hp-main .kiln-summary__actions [data-kiln-share] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hp-main :is(.kiln-notice, .kiln-summary__actions, .kiln-share__upload) .app-icon {
  width: 16px;
  height: 16px;
}

.hp-main .kiln-share__photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
  gap: 8px;
}

.hp-main .kiln-share__photo {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: var(--ui-radius-sm);
  cursor: pointer;
}

.hp-main .kiln-share__photo:has(input:checked) {
  border-color: var(--ui-primary);
}

.hp-main .kiln-share__photo input {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  width: 20px;
  height: 20px;
  accent-color: var(--ui-primary);
}

.hp-main .kiln-share__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-main .kiln-share__photo span {
  position: absolute;
  inset: auto 0 0;
  overflow: hidden;
  padding: 16px 8px 6px;
  background: linear-gradient(transparent, rgb(31 45 41 / .7));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-main .kiln-share__upload {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px dashed var(--ui-line-strong);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface-soft);
  color: var(--ui-primary-strong);
  font-weight: 600;
  cursor: pointer;
}

.hp-main .kiln-share__upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.hp-main .kiln-share__upload:focus-within {
  outline: 2px solid var(--ui-primary);
  outline-offset: 2px;
}

.hp-main .kiln-share__new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
}

.hp-main .kiln-share__new:empty {
  display: none;
}

.hp-main .kiln-share__new .discover-results__preview {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--ui-radius-xs);
}

.hp-main .kiln-share__new img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-main .kiln-share__new button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--ui-radius-pill);
  background: rgb(31 45 41 / .72);
  color: #fff;
  cursor: pointer;
}

.hp-main .kiln-share__new .app-icon {
  width: 14px;
  height: 14px;
}

/* ==== assets/popup-v1218.css ==== */
/* Halfpix v1.2.18 — one popup design for Home posts and Discover details.
   Loaded after social-v1217.css. The Discover popup copies the post popup frame from
   post-modal-v127.css: same size, edge-to-edge media on the left, white panel on the right. */

/* Shared action bar: icon / label / count rows are fixed, so a button without a count
   (Copy link) lines up with the others. */
.content-actions button {
  display: grid;
  grid-template-rows: 22px 20px 16px;
  justify-items: center;
  align-content: center;
  gap: 2px;
  padding-inline: 0;
}
.content-actions button > :is(svg, .app-icon) {
  align-self: center;
}
.content-actions button > span {
  align-self: center;
  line-height: 20px;
  white-space: nowrap;
}
.content-actions button > strong {
  align-self: center;
  line-height: 16px;
}

/* Post technical / making details use Discover's fact grid (same markup). */
.post-facts.post-facts {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.post-facts > header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ui-primary, var(--celadon));
}
.post-facts > header h2 {
  margin: 0;
  color: var(--ui-ink, #22332e);
  font-family: var(--hp-font-sans, inherit);
  font-size: 15px;
  font-weight: 700;
}
.post-facts > header :is(svg, .app-icon) {
  width: 18px;
  height: 18px;
}
.post-facts .discover-detail__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--ui-line, #d8e4df);
  border-radius: 16px;
  background: var(--ui-line, #d8e4df);
}
.post-facts .discover-detail__facts > div {
  display: block;
  padding: 11px 14px;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.post-facts .discover-detail__facts > div.is-wide {
  grid-column: 1 / -1;
}
.post-facts .discover-detail__facts > div:last-child:nth-child(odd):not(.is-wide) {
  grid-column: auto;
}
.post-facts .discover-detail__facts dt {
  color: var(--ui-faint, #7b8a84);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.post-facts .discover-detail__facts dd {
  margin: 3px 0 0;
  color: var(--ui-ink, #22332e);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
/* Discover: an odd last fact spans the row instead of leaving a grey hole. */
.discover-detail__facts > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

@media (max-width: 460px) {
  .content-actions button { font-size: 12px; }
}

/* ---- Discover popup frame (desktop) ---- */
.hp-post-overlay--discover {
  display: block;
  height: calc(100dvh - 28px);
  max-height: calc(100dvh - 28px);
  overflow: hidden;
}
.hp-post-overlay--discover > .hp-post-scroll {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: none;
}
.hp-post-overlay--discover .discover-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr);
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}
.hp-post-overlay--discover .discover-detail__media {
  position: relative;
  top: auto;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #171a18;
}
.hp-post-overlay--discover .discover-detail__media :is(.media-gallery, .media-gallery__track, .media-gallery__slide) {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  border-radius: 0;
}
.hp-post-overlay--discover .discover-detail__media .media-gallery__slide {
  aspect-ratio: auto;
}
.hp-post-overlay--discover .discover-detail__media :is(.media-gallery__open, .media-gallery__video, .hp-detail-media) {
  height: 100%;
  max-height: 100%;
}
.hp-post-overlay--discover .discover-detail__media :is(img, video, .media-image) {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
.hp-post-overlay--discover .discover-detail__media .media-gallery__track {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-y: none;
  touch-action: pan-x pinch-zoom;
}

/* The panel is the popup's only vertical scroll area, like the post popup's comments. */
.hp-post-overlay--discover .discover-detail__panel {
  height: 100%;
  min-height: 0;
  max-height: 100%;
  margin: 0;
  padding: 26px clamp(18px, 2.2vw, 30px) 28px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  scrollbar-width: none;
}
.hp-post-overlay--discover .discover-detail__panel::-webkit-scrollbar {
  display: none;
}
.hp-post-overlay--discover .discover-detail__panel h1 {
  margin: 12px 0 8px;
  font-size: clamp(25px, 2.7vw, 39px);
  line-height: 1.14;
}
.hp-post-overlay--discover .discover-detail__panel > p {
  margin: 0 0 10px;
  line-height: 1.52;
}
/* Same action bar geometry as the post popup. */
.hp-post-overlay--discover .discover-detail__actions {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 12px 0 14px;
  padding: 7px 0;
  border-bottom: 1px solid var(--ui-line, #d8e4df);
}
.hp-post-overlay--discover .discover-detail__actions button {
  min-height: 45px;
}
/* Discover (page and popup): product buttons sit under Related products as a normal row,
   so the comment box is the only thing pinned to the bottom. Two bottom-sticky bars
   overlapped each other. */
.discover-detail .discover-related .sticky-commerce-actions {
  position: static;
  margin-top: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.hp-post-overlay--discover .hp-comments .comments-section__dock {
  bottom: 0;
  padding: 10px 3px 12px;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), #fff 12px);
}
.hp-post-overlay--discover .discover-detail__panel {
  padding-bottom: 0;
}

/* Standalone Discover page also has five actions now. */
.discover-detail .discover-detail__actions {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* Short displays */
@media (max-height: 720px) and (min-width: 701px) {
  .hp-post-overlay--discover .discover-detail__panel { padding-top: 14px; }
  .hp-post-overlay--discover .discover-detail__panel h1 { font-size: clamp(22px, 2.3vw, 30px); }
  .hp-post-overlay--discover .discover-detail__panel > p { font-size: 13px; }
}

/* ---- Phone: full-screen popup, image on top, panel scrolls with it ---- */
@media (max-width: 700px) {
  .hp-post-overlay--discover {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .hp-post-overlay--discover > .hp-post-scroll {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .hp-post-overlay--discover .discover-detail {
    display: block;
    height: auto;
    max-height: none;
    overflow: visible;
  }
  .hp-post-overlay--discover .discover-detail__media {
    height: min(62dvh, 125vw);
  }
  .hp-post-overlay--discover .discover-detail__panel {
    height: auto;
    max-height: none;
    padding: 16px 16px 0;
    overflow: visible;
  }
  .hp-post-overlay--discover .discover-detail__panel h1 {
    font-size: clamp(22px, 6vw, 28px);
  }
  .hp-post-overlay--discover .discover-detail__actions button {
    min-height: 40px;
    font-size: 12px;
  }
  .hp-post-overlay :is(.post-panel__fixed .content-actions, .discover-detail__actions) button {
    grid-template-rows: 18px 15px 14px;
    gap: 1px;
  }
  .hp-post-overlay :is(.post-panel__fixed .content-actions, .discover-detail__actions) button > span {
    line-height: 15px;
  }
  .hp-post-overlay :is(.post-panel__fixed .content-actions, .discover-detail__actions) button > strong {
    line-height: 14px;
  }
  .hp-post-overlay--discover .hp-post-close {
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
  }
}

/* ==== assets/me-v1220.css ==== */
/* Halfpix v1.2.20 — Me workspace. Loaded after popup-v1218.css.
   Uses the --ui-* tokens from unified-ui.css; no new colours. */

/* ---- Buttons ---- */
.hp-button.hp-button--danger {
  border: 1px solid var(--ui-danger);
  background: var(--ui-danger);
  color: #fff;
  box-shadow: none;
}
.hp-button.hp-button--danger:hover:not(:disabled) {
  border-color: #7d4038;
  background: #7d4038;
}
.hp-main .hp-button.hp-button--danger:disabled,
.hp-main .hp-button.hp-button--danger[disabled] {
  border-color: var(--ui-danger) !important;
  background: var(--ui-danger) !important;
  color: #fff !important;
  box-shadow: none !important;
  opacity: .45;
  cursor: not-allowed;
}

/* ---- Section head: actions stay beside the title, never under the copy ---- */
.hp-me-stage .hp-me-section-head,
.hp-main .hp-address-workspace .hp-me-section-head,
.hp-main .hp-orders-workspace .hp-me-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.hp-me-section-head > div:first-child { min-width: 0; }
.hp-me-section-actions { flex: 0 0 auto; }
.hp-me-section-actions .hp-button,
.hp-me-section-actions .hp-chip { white-space: nowrap; }
.hp-me-section-actions .hp-chip { display: inline-flex; flex-direction: row; align-items: center; gap: 4px; }
.hp-me-section-actions .hp-chip .app-icon { width: 15px; height: 15px; }

/* ---- Stats: six numbers, the two community ones are read-only ---- */
.hp-me-stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-me-stat.is-static { cursor: default; }
.hp-me-stat.is-static:hover { transform: none; border-color: var(--ui-line); box-shadow: var(--ui-shadow-xs); }

/* ---- Toolbar: search grows, filter chips stay on one line ---- */
.hp-me-list-toolbar { flex-wrap: wrap; }
.hp-me-search { flex: 1 1 240px; width: auto; max-width: 420px; }
.hp-me-filter {
  flex: 0 1 auto;
  flex-wrap: nowrap;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.hp-me-filter::-webkit-scrollbar { display: none; }
.hp-me-filter .hp-chip { flex: 0 0 auto; white-space: nowrap; }

/* ---- Content rows ---- */
.hp-main .hp-me-item {
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px;
}
.hp-main .hp-me-item__thumb { width: 84px; height: 84px; }
.hp-main .hp-me-item__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hp-main .hp-me-item__copy h3 {
  display: -webkit-box;
  margin: 6px 0 3px;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.hp-main .hp-me-item__copy a:hover h3 { color: var(--ui-primary-strong); }
.hp-main .hp-me-item__copy p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.hp-main .hp-me-item__copy small { font-size: 11.5px; }
.hp-main .hp-me-item__actions:empty { display: none; }
.hp-main .hp-me-item:has(.hp-me-item__actions:empty) { grid-template-columns: 84px minmax(0, 1fr); }

.hp-me-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.hp-me-status .app-icon { width: 12px; height: 12px; }
.hp-me-status.is-public { background: var(--ui-success-soft); color: var(--ui-success); }
.hp-me-status.is-private { background: #eef1f0; color: var(--ui-muted); }
.hp-me-status.is-draft { background: var(--ui-clay-soft); color: var(--ui-clay, #9a5d3f); }

.hp-me-list-footer { display: grid; justify-items: center; gap: 10px; margin-top: 14px; }
.hp-me-list-footer:empty { display: none; }
.hp-me-count { color: var(--ui-faint); font-size: 11.5px; }
.hp-me-more .hp-button { min-width: 160px; }
.hp-me-stage > .hp-me-collection > .hp-alert:first-child { margin-bottom: 14px; }

/* ---- Following: follow state is not a destructive action ---- */
.hp-follow-toggle { min-width: 96px; justify-content: center; }
.hp-follow-toggle[aria-pressed="true"] { border-color: var(--ui-line-strong); background: #fff; color: var(--ui-ink); }
.hp-follow-toggle[aria-pressed="true"]:hover { border-color: rgb(154 81 72 / .3); background: var(--ui-danger-soft); color: var(--ui-danger); }
.hp-follow-toggle.is-off { border-color: var(--ui-primary); background: var(--ui-primary); color: #fff; }
.hp-following-card[hidden] { display: none !important; }

/* ---- Comments ---- */
.hp-me-comment { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; }
.hp-me-comment__post {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ui-surface-soft, #eef3f1);
  color: var(--ui-primary);
}
.hp-me-comment__post img { width: 100%; height: 100%; object-fit: cover; }
.hp-me-comment__body { min-width: 0; }
.hp-me-comment__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; color: var(--ui-muted); font-size: 12px; }
.hp-me-comment__meta small { width: 100%; }
.hp-me-comment__body > p { margin: 8px 0 10px; line-height: 1.6; overflow-wrap: anywhere; }
.hp-me-comment__media { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.hp-me-comment__media img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }

/* ---- Post editor: audience choice ---- */
.hp-me-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.hp-me-choices legend { margin-bottom: 8px; padding: 0; color: var(--ui-ink); font-size: 13px; font-weight: 700; }
.hp-me-choice { position: relative; display: block; cursor: pointer; }
.hp-me-choice input { position: absolute; opacity: 0; pointer-events: none; }
.hp-me-choice > span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
  padding: 12px 14px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 14px;
  background: #fff;
}
.hp-me-choice > span > span { display: grid; gap: 2px; }
.hp-me-choice .app-icon { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--ui-muted); }
.hp-me-choice strong { font-size: 13px; }
.hp-me-choice small { color: var(--ui-muted); font-size: 11.5px; line-height: 1.4; }
.hp-me-choice input:checked + span { border-color: var(--ui-primary); background: var(--ui-primary-soft); box-shadow: 0 0 0 1px var(--ui-primary); }
.hp-me-choice input:checked + span .app-icon { color: var(--ui-primary); }
.hp-me-choice input:focus-visible + span { outline: 2px solid var(--ui-form-focus, var(--ui-primary)); outline-offset: 2px; }

/* ---- Security & danger zone ---- */
.hp-security-row.is-danger { margin-top: 10px; border-top: 1px solid var(--ui-line); }
.hp-security-row.is-danger .app-icon { color: var(--ui-danger); }
.hp-security-row.is-danger small { max-width: 520px; }
.hp-security-row .hp-button[hidden] { display: none; }
.hp-delete-account {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  padding: 16px;
  border: 1px solid rgb(154 81 72 / .25);
  border-radius: 14px;
  background: var(--ui-danger-soft);
}
.hp-delete-account[hidden] { display: none; }
.hp-delete-account p { margin: 0; color: #6f3a33; }
.hp-delete-account kbd { padding: 1px 6px; border: 1px solid rgb(154 81 72 / .3); border-radius: 6px; background: #fff; font: 700 12px/1.4 var(--hp-font-sans, inherit); }
.hp-delete-account .hp-field { max-width: 280px; }
.hp-delete-account .hp-profile-actions { margin: 0; }

/* ---- Addresses inside the shared panel ---- */
.hp-main .hp-address-workspace { display: block; }
.hp-main .hp-address-workspace .hp-address-editor:not(:empty) { margin-bottom: 14px; }
.hp-main .hp-address-workspace .hp-address { min-height: 0; box-shadow: none; }
.hp-main .hp-address-workspace .hp-address-form { box-shadow: none; }

/* ---- Public profile ---- */
.hp-public-profile__stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 12px; }
.hp-public-profile__stats > span { display: grid; gap: 1px; }
.hp-public-profile__stats strong { font-size: 1.15rem; line-height: 1.1; }
.hp-public-profile__stats small { color: var(--ui-muted); font-size: 11.5px; }
.hp-public-profile .hp-meta { margin: 0 0 6px; }
.hp-public-profile span.hp-profile-avatar { display: grid; place-items: center; }
.hp-public-profile .hp-follow.is-following { border: 1px solid var(--ui-line-strong); background: #fff; color: var(--ui-ink); }
.hp-public-profile .hp-profile-actions { justify-content: flex-end; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hp-me-choices { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .hp-me-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-me-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-me-quick-grid > a { align-items: flex-start; }
  .hp-me-stage .hp-me-section-head,
  .hp-main .hp-address-workspace .hp-me-section-head,
  .hp-main .hp-orders-workspace .hp-me-section-head { display: flex; }
  .hp-me-section-head p { font-size: 13px; }
  .hp-me-list-toolbar { flex-direction: column; align-items: stretch; }
  .hp-me-search { max-width: none; flex-basis: auto; }
  .hp-main .hp-me-item { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .hp-main .hp-me-item__thumb { width: 72px; height: 72px; }
  .hp-main .hp-me-item__actions { grid-column: 2; justify-content: flex-start; }
  .hp-main .hp-me-item:has(.hp-me-item__actions:empty) { grid-template-columns: 72px minmax(0, 1fr); }
  .hp-me-comment { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .hp-me-comment__post { width: 52px; height: 52px; }
  .hp-following-card { align-items: center; }
  .hp-public-profile .hp-profile-actions { grid-column: 1 / -1; justify-content: stretch; }
  .hp-public-profile .hp-profile-actions > * { flex: 1 1 0; }
}
@media (max-width: 420px) {
  .hp-me-section-actions .hp-button { padding-inline: 12px; }
}

/* ==== assets/compose-v1221.css ==== */
/* Halfpix v1.2.21 — shared compose controls (audience, tags, products).
   Used in Create forms and in Me → My posts → Edit. Loaded after me-v1220.css. */

.hp-picker-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hp-picker-label { color: var(--ui-ink); font-size: 13px; font-weight: 700; }
.hp-picker-count { color: var(--ui-faint); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.hp-picker-count.is-warning { color: var(--ui-danger); font-weight: 700; }
.hp-picker-hint { display: block; color: var(--ui-muted); font-size: 12px; line-height: 1.45; }
.hp-picker-hint.is-error { color: var(--ui-danger); }

/* Audience inside Create: same component as Me, but stacked when the column is narrow. */
.creation-form .hp-audience-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.creation-form .hp-audience-choices legend { display: block; margin-bottom: 8px; }
.creation-form .hp-me-choice { display: block; margin: 0; font-weight: 400; }
.hp-main .creation-form .hp-me-choice > span { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; min-height: 0; }
.hp-main .creation-form .hp-me-choice > span > span { display: grid; gap: 2px; }
.hp-main .creation-form .hp-me-choice strong { margin: 0; }
@container (max-width: 560px) { .creation-form .hp-audience-choices { grid-template-columns: 1fr; } }

/* ---- Tags ---- */
.hp-tag-picker, .hp-product-picker { display: grid; gap: 8px; min-width: 0; }
.hp-tag-picker__field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 6px 8px;
  border: 1px solid var(--ui-form-border, var(--ui-line-strong));
  border-radius: var(--ui-form-radius, 12px);
  background: #fff;
  cursor: text;
}
.hp-tag-picker__field:focus-within { border-color: var(--ui-form-focus, var(--ui-primary)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--celadon) 12%, transparent); }
.hp-tag-picker__selected { display: contents; margin: 0; padding: 0; list-style: none; }
.hp-tag-picker__selected[hidden] { display: none; }
.hp-tag-picker__selected li {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  padding: 3px 4px 3px 10px;
  border-radius: 999px;
  background: var(--ui-primary-soft);
  color: var(--ui-primary-strong);
  font-size: 12.5px;
  font-weight: 600;
}
.hp-tag-picker__selected li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-tag-picker__selected li button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.hp-tag-picker__selected li button:hover { background: color-mix(in srgb, var(--celadon) 14%, transparent); }
.hp-tag-picker__selected .app-icon { width: 13px; height: 13px; }
.hp-main .hp-tag-picker input.hp-tag-picker__input,
.hp-main .hp-form .hp-tag-picker input.hp-tag-picker__input:not([type="checkbox"]):not([type="radio"]) {
  flex: 1 1 160px;
  min-width: 120px;
  min-height: 34px;
  margin: 0;
  padding: 0 4px;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px;
}
.hp-tag-picker.is-full .hp-tag-picker__input::placeholder { color: var(--ui-faint); }
.hp-tag-picker__suggest { display: grid; gap: 8px; }
.hp-tag-group { display: grid; gap: 5px; }
.hp-tag-group > span { color: var(--ui-faint); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hp-tag-group > div { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-main .hp-tag-chip {
  min-height: 32px;
  padding: 4px 11px;
  border: 1px solid var(--ui-line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ui-ink);
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}
.hp-main .hp-tag-chip:hover { border-color: var(--ui-primary); color: var(--ui-primary-strong); }
.hp-main .hp-tag-chip[aria-pressed="true"] { border-color: var(--ui-primary); background: var(--ui-primary); color: #fff; }
.hp-main .hp-tag-picker__create,
.hp-main .hp-picker-more {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 5px;
  min-height: 32px;
  padding: 4px 12px;
  border: 1px dashed var(--ui-primary);
  border-radius: 999px;
  background: var(--ui-primary-soft);
  color: var(--ui-primary-strong);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.hp-main .hp-picker-more { border: 0; background: transparent; padding-inline: 4px; }
.hp-tag-picker__create .app-icon, .hp-picker-more .app-icon { width: 14px; height: 14px; }

/* ---- Products and tools ---- */
.hp-product-picker__selected { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hp-product-picker__selected[hidden] { display: none; }
.hp-product-picker__selected li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 36px;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: #fff;
}
.hp-product-picker img,
.hp-product-picker__thumb {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--ui-surface-soft, #eef3f1);
  color: var(--ui-faint);
  object-fit: cover;
}
.hp-product-picker__name { display: grid; gap: 2px; min-width: 0; }
.hp-product-picker__name strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.hp-product-picker__name small { color: var(--ui-muted); font-size: 12px; }
.hp-main .hp-product-picker__role { display: block; margin: 0; }
.hp-main .hp-product-picker__role select { width: auto; min-width: 110px; min-height: 36px; padding: 0 28px 0 10px; font-size: 12.5px; }
.hp-main .hp-product-picker__remove {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ui-muted);
  cursor: pointer;
}
.hp-main .hp-product-picker__remove:hover { background: var(--ui-danger-soft); color: var(--ui-danger); }
.hp-product-picker__remove .app-icon { width: 16px; height: 16px; }
.hp-main .hp-product-picker__search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--ui-form-border, var(--ui-line-strong));
  border-radius: var(--ui-form-radius, 12px);
  background: #fff;
}
.hp-main .hp-product-picker__search:focus-within { border-color: var(--ui-form-focus, var(--ui-primary)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--celadon) 12%, transparent); }
.hp-product-picker__search .app-icon { flex: 0 0 auto; width: 17px; height: 17px; color: var(--ui-muted); }
.hp-main .hp-product-picker__search input,
.hp-main .hp-form .hp-product-picker__search input:not([type="checkbox"]):not([type="radio"]) { flex: 1; min-width: 0; min-height: 42px; margin: 0; padding: 0; border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 14px; }
.hp-product-picker__results:empty { display: none; }
.hp-product-picker__results { display: grid; gap: 6px; padding: 8px; border: 1px solid var(--ui-line); border-radius: 14px; background: var(--ui-surface-soft, #f6f9f8); }
.hp-product-picker__title { color: var(--ui-faint); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hp-product-picker__results > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 6px; }
.hp-main .hp-product-picker__results button {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px 8px 6px 6px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #fff;
  color: var(--ui-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.hp-main .hp-product-picker__results button:hover { border-color: var(--ui-primary); }
.hp-product-picker__results button > span:not(.hp-product-picker__thumb) { display: grid; gap: 2px; min-width: 0; }
.hp-product-picker__results strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.hp-product-picker__results small { color: var(--ui-muted); font-size: 12px; }
.hp-product-picker__results b { display: inline-flex; align-items: center; gap: 3px; padding: 4px 9px; border-radius: 999px; background: var(--ui-primary-soft); color: var(--ui-primary-strong); font-size: 12px; }
.hp-product-picker__results b .app-icon { width: 13px; height: 13px; }
.hp-product-picker__results button[aria-pressed="true"] b { background: var(--ui-primary); color: #fff; }
.hp-me-editor-products.is-loading .hp-product-picker { opacity: .6; pointer-events: none; }

@media (max-width: 680px) {
  .creation-form .hp-audience-choices { grid-template-columns: 1fr; }
  .hp-product-picker__selected li { grid-template-columns: 44px minmax(0, 1fr) 36px; }
  .hp-product-picker__selected li img, .hp-product-picker__selected .hp-product-picker__thumb { width: 44px; height: 44px; }
  .hp-main .hp-product-picker__role { grid-column: 2; grid-row: 2; }
  .hp-product-picker__remove { grid-column: 3; grid-row: 1 / span 2; }
}

/* ==== assets/records-v1222.css ==== */
/* Halfpix v1.2.22 — read view for private records (/journal/{id}/, /kiln-log/{id}/).
   Loaded after compose-v1221.css. Uses the --ui-* tokens only. */

.record-page { display: grid; gap: 18px; padding-bottom: 40px; }
.hp-main .record-back {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 4px;
  min-height: 38px;
  padding: 4px 12px 4px 6px;
  border-radius: 999px;
  color: var(--ui-muted);
  font-size: 13px;
  font-weight: 650;
}
.hp-main .record-back:hover { background: var(--ui-surface-soft, #eef3f1); color: var(--ui-primary-strong); }
.record-back .app-icon { width: 17px; height: 17px; }

.record-head { display: grid; gap: 10px; }
.record-head__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.record-head h1 {
  margin: 0;
  font-family: var(--hp-font-display, serif);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.record-muted { margin: 0; color: var(--ui-muted); font-size: 13px; line-height: 1.5; }
.record-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--ui-clay-soft);
  color: #7d4a2c;
  font-size: 12px;
  font-weight: 700;
}
.record-status--finished, .record-status--reviewed, .record-status--validated { background: var(--ui-success-soft); color: var(--ui-success); }
.record-status--waiting_bisque, .record-status--waiting_firing, .record-status--fired { background: var(--ui-primary-soft); color: var(--ui-primary-strong); }
.record-private { display: inline-flex; align-items: center; gap: 4px; color: var(--ui-faint); font-size: 12px; font-weight: 600; }
.record-private .app-icon { width: 14px; height: 14px; }

.record-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.record-notice > span { min-width: 0; }
.record-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.record-actions .hp-button, .record-actions .hp-chip { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; }
.record-actions .app-icon { width: 16px; height: 16px; }

.record-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.record-layout--single { grid-template-columns: minmax(0, 1fr); }
.record-media { position: sticky; top: 92px; display: grid; gap: 10px; }
.record-body { display: grid; gap: 14px; min-width: 0; }

.record-gallery { display: grid; gap: 10px; }
.record-gallery .media-gallery { overflow: hidden; border: 1px solid var(--ui-line); border-radius: var(--ui-radius-md, 16px); background: #171a18; }
.record-gallery .media-gallery__slide { aspect-ratio: 4 / 5; }
.record-gallery :is(img, video) { width: 100%; height: 100%; object-fit: contain; }
.record-gallery.is-empty {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 220px;
  padding: 24px;
  border: 1px dashed var(--ui-line-strong);
  border-radius: var(--ui-radius-md, 16px);
  background: var(--ui-surface-soft, #f2f6f4);
  color: var(--ui-faint);
}
.record-gallery.is-empty .app-icon { width: 26px; height: 26px; }
.record-gallery.is-empty p { margin: 0; font-size: 13px; }
.record-thumbs { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-main .record-thumbs button {
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid var(--ui-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ui-muted);
  cursor: pointer;
}
.record-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.record-section { padding: 18px 20px !important; }
.record-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.record-section__head h2 { margin: 0; font-family: var(--hp-font-sans, inherit); font-size: 15px; font-weight: 700; }

.record-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--ui-line); border-radius: 14px; background: var(--ui-line); }
.record-facts > div { padding: 10px 13px; background: #fff; }
.record-facts > div.is-wide, .record-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* An odd cell directly before a full-width cell would leave a gap, so it spans too. */
.record-facts > div:nth-child(odd):has(+ .is-wide) { grid-column: 1 / -1; }
.record-facts dt { color: var(--ui-faint); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.record-facts dd { margin: 3px 0 0; color: var(--ui-ink); font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }

.record-note + .record-note { margin-top: 12px; }
.record-note h3 { margin: 0 0 4px; color: var(--ui-faint); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.record-note p { margin: 0; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }

.record-stepper { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.record-stepper li { display: flex; align-items: center; gap: 6px; padding: 5px 11px 5px 6px; border: 1px solid var(--ui-line); border-radius: 999px; color: var(--ui-muted); font-size: 12px; font-weight: 650; }
.record-stepper b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ui-surface-soft, #eef3f1); font-size: 11px; }
.record-stepper .app-icon { width: 12px; height: 12px; }
.record-stepper li.is-done { border-color: color-mix(in srgb, var(--celadon) 25%, transparent); color: var(--ui-primary-strong); }
.record-stepper li.is-done b { background: var(--ui-primary-soft); color: var(--ui-primary-strong); }
.record-stepper li.is-current { border-color: var(--ui-primary); background: var(--ui-primary); color: #fff; }
.record-stepper li.is-current b { background: rgb(255 255 255 / .22); color: #fff; }

.record-timeline { display: grid; gap: 10px; margin: 12px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--ui-line); list-style: none; }
.record-timeline li { position: relative; display: grid; gap: 3px; }
.record-timeline li::before { position: absolute; top: 6px; left: -19px; width: 8px; height: 8px; border-radius: 50%; background: var(--ui-line-strong); content: ""; }
.record-timeline time { color: var(--ui-faint); font-size: 11.5px; }
.record-timeline strong { font-size: 13px; }
.record-timeline p { margin: 0; color: var(--ui-muted); font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; }
.record-timeline li > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.record-timeline img { width: 56px; height: 56px; border-radius: 9px; object-fit: cover; }
.record-timeline .hp-chip { justify-self: start; margin-top: 4px; }

.record-layers { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.record-layers li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--ui-line); border-radius: 12px; background: var(--ui-surface-soft, #f7faf9); }
.record-layers b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ui-primary-soft); color: var(--ui-primary-strong); font-size: 12px; }
.record-layers span { display: grid; gap: 1px; min-width: 0; }
.record-layers strong { font-size: 13px; }
.record-layers small { color: var(--ui-muted); font-size: 11.5px; }

.record-table { width: 100%; margin: 12px 0 0; border-collapse: collapse; font-size: 12.5px; }
.record-table :is(th, td) { padding: 7px 9px; border-bottom: 1px solid var(--ui-line); text-align: left; }
.record-table th { color: var(--ui-faint); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.record-links { display: grid; gap: 8px; }
.hp-main .record-links > a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: #fff;
  color: var(--ui-ink);
}
.hp-main .record-links > a:hover { border-color: var(--ui-primary); }
.record-links > a > span:not(.hp-badge) { display: grid; gap: 2px; min-width: 0; }
.record-links strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.record-links small { color: var(--ui-muted); font-size: 11.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.record-links :is(img, .record-links__thumb, > a > .app-icon:first-child) { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.record-links__thumb { display: grid; place-items: center; background: var(--ui-surface-soft, #eef3f1); color: var(--ui-faint); }
.record-links__thumb .app-icon { width: 20px; height: 20px; }
.record-links > a > .app-icon:last-child { width: 18px; height: 18px; color: var(--ui-faint); }

/* Create hub: a visible way back to the records you already saved. */
.create-hub-manage { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.create-hub-manage .hp-button { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; }
.create-hub-manage .app-icon { width: 16px; height: 16px; }
.create-hub-manage small { color: var(--ui-muted); font-size: 12.5px; }

/* Journal manages firings too; they have no photo, so the card is text only. */
.journal-card--kiln .hp-card-body { padding-top: 14px; }
.journal-card--kiln .journal-card__photos { display: inline-flex; align-items: center; gap: 3px; }

@media (max-width: 900px) {
  .record-layout { grid-template-columns: minmax(0, 1fr); }
  .record-media { position: static; }
}
@media (max-width: 680px) {
  .record-section { padding: 16px !important; }
  .record-facts { grid-template-columns: 1fr; }
  .record-actions .hp-button, .record-actions .hp-chip { flex: 1 1 auto; justify-content: center; }
  .hp-main .record-links > a { grid-template-columns: 44px minmax(0, 1fr) auto; }
  .record-links :is(img, .record-links__thumb) { width: 44px; height: 44px; }
  .record-links > a > .app-icon:last-child { display: none; }
  .record-gallery .media-gallery__slide { aspect-ratio: 1 / 1; }
}

/* ==== assets/me-studio-v1224.css ==== */
/* Halfpix v1.2.24 — studio record lists inside the Me workspace.
   Loaded after records-v1222.css. Reuses the .hp-me-item row from me-v1220.css. */

.hp-me-status.is-record { background: var(--ui-primary-soft); color: var(--ui-primary-strong); }
.hp-main .hp-me-item__thumb.is-kiln { display: grid; place-items: center; background: var(--ui-clay-soft); color: var(--ui-clay, #9a5d3f); }
.hp-me-item__thumb.is-kiln .app-icon { width: 26px; height: 26px; }
.hp-main .hp-record-list .hp-me-item__copy small { color: var(--ui-muted); }
.hp-me-list-toolbar .hp-chip { flex: 0 0 auto; align-self: center; white-space: nowrap; }

/* Two stat rows: studio first (3 up), then community (3 up on desktop). */
.hp-me-stage .hp-me-stat-grid + .hp-me-stat-grid { margin-top: -6px; }

@media (max-width: 680px) {
  .hp-main .hp-record-list .hp-me-item__actions { grid-column: 1 / -1; }
}

/* ==== assets/i18n-layout-v1228.css ==== */
/*
 * Halfpix Dayoo v1.2.28 — layout guard for translated interface text.
 *
 * Translations are longer (German, French, Spanish) or set differently (Chinese,
 * Japanese) than the English original, and the shell was measured with English.
 * These rules only apply when a non-English language is active, so the English
 * layout is untouched. They keep buttons, tabs and navigation readable instead of
 * letting long labels overflow, clip, or push a row out of its container.
 *
 * The engine writes data-halfpix-lang on <html>, so everything hangs off that.
 */

/* ---------------------------------------------------------------- shared --- */
:root[data-halfpix-lang]:not([data-halfpix-lang="en"]) {
  /* Buttons stop being a strict single line: they may wrap to two, and grow. */
  --i18n-button-line: 1.25;
}

:root[data-halfpix-lang]:not([data-halfpix-lang="en"]) :where(
  .hp-button, .app-button, .hp-chip, .astra-place-order,
  .creation-actions button, .hp-form button[type="submit"],
  .hp-toolbar button, .hp-me-item__actions button, .hp-me-item__actions a,
  .record-actions button, .record-actions a, .hp-journal-actions button
) {
  height: auto;
  padding-block: 9px;
  white-space: normal;
  line-height: var(--i18n-button-line);
  text-align: center;
  text-wrap: balance;
  letter-spacing: 0;
}

/* Rows of actions must be allowed to wrap rather than overflow their card. */
:root[data-halfpix-lang]:not([data-halfpix-lang="en"]) :where(
  .hp-toolbar, .hp-action-row, .hp-journal-actions, .hp-me-item__actions,
  .hp-me-section-actions, .hp-profile-actions, .record-actions,
  .hp-me-list-toolbar, .hp-security-row, .hp-address-toolbar
) {
  flex-wrap: wrap;
  min-width: 0;
}

/* Any label inside a grid or flex cell may shrink instead of forcing a scrollbar. */
:root[data-halfpix-lang]:not([data-halfpix-lang="en"]) :where(
  .hp-field, .hp-panel, .hp-me-item, .hp-me-list > *, .record-facts, .hp-load-group
) { min-width: 0; }

/* ------------------------------------------------------------ navigation --- */
/* Sidebar: one line, elided if a language needs more room than the rail has. */
:root[data-halfpix-lang]:not([data-halfpix-lang="en"]) .hp-nav__item {
  gap: 10px;
  min-width: 0;
}
:root[data-halfpix-lang]:not([data-halfpix-lang="en"]) .hp-nav__item > span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: 0;
}

/* Bottom bar: five fixed cells, so the label shrinks before it ever collides. */
:root[data-halfpix-lang]:not([data-halfpix-lang="en"]) .hp-bottom-nav a {
  min-width: 0;
  padding-inline: 1px;
}
:root[data-halfpix-lang]:not([data-halfpix-lang="en"]) .hp-bottom-nav a > span {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: clamp(9px, 2.6vw, 11px);
  letter-spacing: 0;
}

/* Account / Studio side menu entries: two lines are fine, clipping is not. */
:root[data-halfpix-lang]:not([data-halfpix-lang="en"]) :where(.hp-account-links > a, .hp-account-links > button) {
  align-items: center;
  min-height: 44px;
  height: auto;
  white-space: normal;
  line-height: 1.3;
}

/* Tabs and filter chips: let the row wrap instead of cutting a label in half. */
:root[data-halfpix-lang]:not([data-halfpix-lang="en"]) :where(.hp-me-filter, .hp-journal-filters, .hp-tab-row, .hp-chips) {
  flex-wrap: wrap;
}

/* --------------------------------------------------- uppercase eyebrows --- */
/* Wide letter-spacing on small caps is a Latin device; it hurts CJK text. */
:root[data-halfpix-lang="zh"] :where(.hp-kicker, .hp-page-heading__eyebrow, .hp-account-group-label),
:root[data-halfpix-lang="ja"] :where(.hp-kicker, .hp-page-heading__eyebrow, .hp-account-group-label) {
  letter-spacing: .04em;
  text-transform: none;
}

/* ------------------------------------------------------ per-language fit --- */
/* German compounds are the longest labels in the interface. */
:root[data-halfpix-lang="de"] :where(.hp-button, .app-button, .hp-chip) {
  padding-inline: 14px;
  hyphens: auto;
}
:root[data-halfpix-lang="de"] .hp-nav__item > span,
:root[data-halfpix-lang="fr"] .hp-nav__item > span,
:root[data-halfpix-lang="es"] .hp-nav__item > span { font-size: 13.5px; }

/* French and Spanish sentences run longer than English; keep card text tidy. */
:root[data-halfpix-lang="fr"] :where(.hp-subtitle, .hp-picker-hint, .hp-meta),
:root[data-halfpix-lang="es"] :where(.hp-subtitle, .hp-picker-hint, .hp-meta),
:root[data-halfpix-lang="de"] :where(.hp-subtitle, .hp-picker-hint, .hp-meta) {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* CJK has no spaces, so a long label must be allowed to break anywhere. */
:root[data-halfpix-lang="zh"] :where(.hp-button, .app-button, .hp-chip, .hp-subtitle, .hp-meta, .hp-picker-hint),
:root[data-halfpix-lang="ja"] :where(.hp-button, .app-button, .hp-chip, .hp-subtitle, .hp-meta, .hp-picker-hint) {
  line-break: strict;
  overflow-wrap: anywhere;
  word-break: normal;
}
/* CJK glyphs read heavier at the same size; buttons get a touch more room. */
:root[data-halfpix-lang="zh"] :where(.hp-button, .app-button, .hp-chip),
:root[data-halfpix-lang="ja"] :where(.hp-button, .app-button, .hp-chip) {
  letter-spacing: .02em;
}

/* ------------------------------------------------------------- narrow ----- */
@media (max-width: 480px) {
  :root[data-halfpix-lang]:not([data-halfpix-lang="en"]) :where(.hp-button, .app-button, .hp-chip) {
    padding-inline: 12px;
    font-size: 13px;
  }
  /* Full-width action buttons are safer than two crowded columns. */
  :root[data-halfpix-lang="de"] :where(.hp-security-row, .hp-address-toolbar) .hp-button { width: 100%; }
}

/* ==== assets/studio-grid-v1230.css ==== */
/*
 * Halfpix Dayoo v1.2.30 — the Studio grid fills rows, with the feed's spacing.
 *
 * It used CSS multi-column masonry (`columns: 270px 3` + `column-fill: balance`).
 * Multi-column distributes cards by balancing column HEIGHT, not by filling rows,
 * so a short list packs into the leftmost column and leaves the rest of the row
 * empty: 1 card → 1 column, 2 cards → 1 column stacked, 3 → 2, 4 → 2, 5 → 3.
 * Filtering by a stage (Making, Glazing, …) normally leaves one to three pieces,
 * which is exactly the case that collapsed to one card per row.
 *
 * Studio is a list of records, not the Discover feed, so it uses a real grid: each
 * row fills left to right with as many cards as fit, at the same card width no
 * matter how many records are shown. The feed keeps its masonry.
 *
 * Spacing follows the feed (`.hp-grid` / `.hp-card` in pages.css): 14px between
 * cards, 10px from the 850px breakpoint down. Both gaps are declared explicitly
 * and with !important, because `column-gap` means the multi-column gutter in the
 * older rules and the grid column gap here — the two would otherwise fight, and
 * an !important `column-gap` elsewhere would silently flatten the row spacing to
 * zero while `gap` looked correct in this file.
 */

.hp-main .hp-journal-grid {
  /* Cancel the multi-column rules from pages.css and unified-ui.css (both !important). */
  columns: auto !important;
  display: grid;
  /* One track per ~264px of real container width, so the sidebar and page zoom are
     accounted for; `min(100%, …)` keeps a single card from overflowing a narrow phone. */
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 264px), 1fr));
  column-gap: 14px !important;
  row-gap: 14px !important;
  /* Cards keep their own height; a row does not stretch to its tallest card. */
  align-items: start;
}

.hp-main .hp-journal-grid > .hp-journal-card {
  width: auto;
  /* The grid's gaps now provide the spacing that the masonry margin used to. */
  margin: 0 !important;
  break-inside: auto;
}

/* Full-row children: the loading line, the empty state, and error notices. */
.hp-main .hp-journal-grid > .hp-loading,
.hp-main .hp-journal-grid > .hp-empty,
.hp-main .hp-journal-grid > .hp-alert,
.hp-main .hp-journal-grid > .hp-notice {
  grid-column: 1 / -1;
  column-span: initial;
}

@media (max-width: 850px) {
  /* Same 10px the feed uses once the rail is gone. */
  .hp-main .hp-journal-grid {
    column-gap: 10px !important;
    row-gap: 10px !important;
  }
}

@media (max-width: 680px) {
  /* Two cards side by side stay readable down to the phone breakpoint. */
  .hp-main .hp-journal-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 158px), 1fr)); }
}

@media (max-width: 460px) {
  .hp-main .hp-journal-grid { grid-template-columns: 1fr; }
}

/* ==== assets/studio-width-v1232.css ==== */
/*
 * v1.2.32 — Studio uses the same page box as every other page.
 *
 * parity.css still gives three wrappers the old page box:
 *
 *   .create-hub, .creation-page, .journal-page {
 *     width: min(100%, 1320px); margin: 0 auto; padding: 24px 14px 112px;
 *   }
 *
 * Two of those three were later moved onto the shell's own width, in
 * layout-v124.css:
 *
 *   .hp-main > .shop-page, .hp-main > .create-hub,
 *   .hp-main > .discover-page.hp-discover-v3, .hp-main > .hp-wc-checkout-shell,
 *   .hp-main > .cart-page.cart-page--refined, .hp-main > .creation-page
 *   { width:100%!important; max-width:none!important; margin:0!important;
 *     padding:0!important; min-width:0 }
 *
 * .journal-page — the Studio page — was never added to that list, so it was the
 * only app page still carrying its own box. Two visible consequences:
 *
 *   1. 14px of side padding (22px and 34px at the wider breakpoints) that no
 *      other page has, so Studio's cards never lined up with the header, the
 *      nav, or the cards on Discover and Shop.
 *   2. A 1320px cap. The shell is min(--ui-content, 100% - 36px) and
 *      --ui-content is 1480px, so past roughly a 1516px viewport Studio stopped
 *      growing and sat 160px narrower than everything else.
 *
 * Kiln Log was checked and is not affected: .kiln-page has no width rule of its
 * own and is not in parity.css's list.
 *
 * The declaration below is deliberately identical to layout-v124.css's reset —
 * Studio joins the existing contract rather than getting a second one. The
 * vertical rhythm comes from .hp-main itself (padding: 36px 0 88px), which is
 * how Discover, Shop and Create already get theirs.
 *
 * Descendant rather than child selector: the Studio view is rendered into the
 * shell by app.js, and this keeps working if that markup ever gains a wrapper.
 */

.hp-main .journal-page {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
}

/* ==== assets/firing-schedule-v1235.css ==== */
/*
 * Halfpix Dayoo v1.2.35 - Discover firing schedule.
 * Mirrors the APP's DiscoverFiringScheduleCard: chips, a to-scale chart,
 * and the controller program as a table. Colours come from the palette
 * tokens only, so the dark scheme follows without its own rules.
 */
.firing-schedule__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.firing-schedule__head h2 { margin: 0; }

.firing-unit {
  display: inline-flex;
  border: 1px solid var(--hp-line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  flex: none;
}
.firing-unit button {
  min-width: 44px;
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--hp-muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.firing-unit button[aria-pressed="true"] {
  background: var(--hp-primary);
  color: var(--hp-surface, #fff);
}
.firing-unit button:focus-visible { outline: 2px solid var(--hp-primary); outline-offset: -2px; }

.firing-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.firing-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hp-line);
  background: var(--hp-surface-soft);
  color: var(--hp-ink);
  font-size: var(--text-sm, 13px);
  font-weight: 700;
}
.firing-chip b { font-weight: 800; }
.firing-chip i { font-style: normal; }
.firing-chip--fire { color: var(--hp-warn); }
.firing-chip--cone { color: var(--hp-clay); }
.firing-chip--air { color: var(--hp-blue); }

.firing-chart { width: 100%; margin: 4px 0 12px; }
/* style.css styles every <svg> as an icon (fill none, stroke currentColor,
   stroke-width 1.8, 20px square). SVG stroke is inherited, so without this
   reset every chart label was drawn with a 1.8px outline. Each chart part sets
   its own fill and stroke below. */
.firing-chart svg { display: block; width: 100%; height: auto; overflow: visible; fill: none; stroke: none; stroke-width: 0; }
.firing-chart svg text { stroke: none; }
.firing-chart .fc-grid { stroke: var(--hp-line); stroke-width: 1; }
.firing-chart .fc-axis { fill: var(--hp-muted); font-size: 11px; font-weight: 600; }
.firing-chart .fc-note { fill: var(--hp-muted); font-size: 11px; font-weight: 600; }
.firing-chart .fc-peak { fill: var(--hp-primary); font-size: 12px; font-weight: 800; }
.firing-chart .fc-fill { fill: var(--hp-primary); opacity: 0.08; }
.firing-chart .fc-line { stroke: var(--hp-primary); stroke-width: 2.6; stroke-linecap: round; }
.firing-chart .fc-hold { stroke: var(--hp-warn); stroke-width: 4; }
.firing-chart .fc-full { stroke-dasharray: 6 5; }
.firing-chart .fc-dot { fill: var(--hp-primary); }
.firing-chart .fc-quartz { stroke: var(--hp-muted); stroke-width: 1; stroke-dasharray: 2 4; opacity: 0.7; }
.firing-chart .fc-reduction { fill: var(--hp-clay); opacity: 0.12; }
.firing-chart .fc-cooling { fill: none; stroke: var(--hp-primary); stroke-width: 2; stroke-dasharray: 5 4; opacity: 0.5; }

.firing-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: -4px 0 12px; color: var(--hp-muted); font-size: 12px; font-weight: 600; }
.fc-key { display: inline-flex; align-items: center; gap: 6px; }
.fc-key i { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--hp-primary); }
.fc-key--hold i { border-top: 4px solid var(--hp-warn); }
.fc-key--full i { border-top: 2px dashed var(--hp-primary); }
.fc-key--quartz i { border-top: 1px dotted var(--hp-muted); }
.fc-key--reduction i { height: 10px; border: 0; background: var(--hp-clay); opacity: 0.25; }
.fc-key--cooling i { border-top: 2px dashed var(--hp-primary); opacity: 0.5; }

.firing-schedule__start { margin: 0 0 4px; color: var(--hp-muted); font-size: var(--text-sm, 13px); }
.firing-table-wrap { overflow-x: auto; }
.firing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm, 13px);
  font-variant-numeric: tabular-nums;
}
.firing-table th,
.firing-table td { padding: 6px 4px; text-align: right; border-bottom: 1px solid var(--hp-line); white-space: nowrap; }
.firing-table th:first-child,
.firing-table td:first-child { text-align: left; width: 28px; }
.firing-table th { color: var(--hp-muted); font-weight: 800; font-size: 12px; }
.firing-table td i { font-style: normal; }
.firing-table tbody tr:last-child td { border-bottom: 0; }

.firing-notes { margin: 8px 0 0; padding-left: 22px; color: var(--hp-muted); font-size: var(--text-sm, 13px); }
.firing-schedule__note { margin: 8px 0 0; color: var(--hp-muted); font-size: var(--text-sm, 13px); line-height: 1.5; }

.firing-cone { display: grid; gap: 6px; margin: 0; }
.firing-cone div { display: flex; justify-content: space-between; gap: 12px; }
.firing-cone dt { color: var(--hp-muted); }
.firing-cone dd { margin: 0; font-weight: 700; }

@media (max-width: 480px) {
  .firing-table th,
  .firing-table td { padding: 6px 2px; }
}

/* ==== assets/discover-v1236.css ==== */
/*
 * Halfpix Dayoo v1.2.36 - Discover facts and card chips.
 *
 * Facts: review.css drew every fact as its own rounded card while
 * unified-ui.css drew the list as a hairline table with a 1px line-coloured
 * gap; both applied at once, so the page showed rounded cards floating on a
 * grey gutter. Discover now uses the same hairline table as record pages
 * (.record-facts, DESIGN-SYSTEM "Record pages"), with palette tokens instead
 * of #fff so the dark scheme follows.
 */
.discover-detail .discover-detail__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 18px 0;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  background: var(--hp-line);
}
.discover-detail .discover-detail__facts > div {
  margin: 0;
  padding: 10px 13px;
  border: 0;
  border-radius: 0;
  background: var(--hp-surface);
  box-shadow: none;
}
.discover-detail .discover-detail__facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.discover-detail .discover-detail__facts dt {
  color: var(--hp-muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.discover-detail .discover-detail__facts dd {
  margin: 3px 0 0;
  color: var(--hp-ink);
  font-size: 13px;
  font-weight: 650;
  /* Break a long word only when it cannot fit on its own line. */
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (max-width: 380px) {
  .discover-detail .discover-detail__facts { grid-template-columns: 1fr; }
}

/* Card chips: tab, Pinned, and the editor's badge on one line. */
.discover-card__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.discover-card .discover-chip.discover-chip--pinned {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--hp-surface);
  background: var(--hp-clay);
  border-color: var(--hp-clay);
}
.discover-card .discover-chip--pinned svg { width: 12px; height: 12px; }
.discover-card .discover-chip.discover-chip--badge {
  /* Clay text on the surface colour with a clay outline: clay on its own soft
     tint is only 4.3:1, and --clay-dark is the green primary, not a clay. */
  color: var(--hp-clay);
  background: var(--hp-surface);
  border: 1px solid var(--hp-clay);
}

/* ==== assets/upload-progress-v141.css ==== */
.creation-upload-progress {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--mist);
}

.creation-upload-progress[hidden] {
  display: none;
}

.creation-upload-progress > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.creation-upload-progress strong {
  color: var(--ink);
  font-size: var(--text-small);
}

.creation-upload-progress span {
  color: var(--forest);
  font-weight: var(--weight-semibold);
  font-variant-numeric: tabular-nums;
}

.creation-upload-progress progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--line);
  accent-color: var(--forest);
}

.creation-upload-progress progress::-webkit-progress-bar {
  border-radius: 999px;
  background: var(--line);
}

.creation-upload-progress progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--forest);
  transition: width .16s ease;
}

.creation-upload-progress progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--forest);
}

.creation-upload-progress small {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* v1.7.4: the same bar on every upload (HalfpixUpload progressIn), placed
   inside a notice or after a submit button. */
.hp-upload-progress {
  box-sizing: border-box;
  width: 100%;
}
.hp-alert > .hp-upload-progress,
.record-notice > .hp-upload-progress {
  flex: 1 0 100%;
  margin-top: 10px;
  background: var(--paper, #fff);
}
button + .hp-upload-progress {
  margin-top: 10px;
}

/* ==== assets/works-v170.css ==== */
/*
 * Halfpix Dayoo v1.7.0 - "Made with this" on product pages, the result facts
 * on a Discover entry's share form, and the prerendered page for search engines.
 * Palette tokens only (--hp-*), so the dark scheme follows.
 */

/* Product page: what the community made with this product. */
.product-works-section {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 1px solid var(--hp-line);
}
.product-works-section header h2 {
  margin: 7px 0 6px;
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  font-weight: var(--weight-regular);
  letter-spacing: 0.004em;
}
.product-works-section header p {
  margin: 0 0 18px;
  color: var(--hp-muted);
  font-size: 14px;
}
.product-works-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.product-works-filters label {
  display: grid;
  gap: 4px;
  min-width: 140px;
  color: var(--hp-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-works-filters select {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--hp-line);
  border-radius: 10px;
  color: var(--hp-ink);
  background: var(--hp-surface);
  font: inherit;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
.product-works-count {
  margin: 0 0 12px;
  color: var(--hp-muted);
  font-size: 13px;
}
.product-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.product-work {
  display: grid;
  min-width: 0;
  color: var(--hp-ink);
  text-decoration: none;
}
.product-work__image {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  background: var(--hp-surface);
}
.product-work__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease;
}
.product-work:hover .product-work__image img,
.product-work:focus-visible .product-work__image img { transform: scale(1.03); }
.product-work__image em {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--hp-surface);
  background: var(--hp-clay);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.product-work__body {
  display: grid;
  gap: 4px;
  padding: 8px 2px 0;
}
.product-work__body strong {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-work__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.product-work__facts span {
  padding: 2px 7px;
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  color: var(--hp-muted);
  font-size: 11px;
  font-weight: 600;
}
.product-work__body small {
  color: var(--hp-muted);
  font-size: 12px;
}
.product-works-empty {
  grid-column: 1 / -1;
  margin: 0 0 12px;
  color: var(--hp-muted);
  font-size: 14px;
}
.product-works-actions { display: flex; justify-content: center; margin-top: 16px; }
@media (max-width: 480px) {
  .product-works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-works-filters label { min-width: 0; flex: 1 1 45%; }
}

/* Discover entry: what a shared result was fired under. */
.discover-results__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.discover-results__facts label {
  display: grid;
  gap: 4px;
  color: var(--hp-muted);
  font-size: 12px;
  font-weight: 700;
}
.discover-results__facts select {
  min-height: 38px;
  padding: 0 8px;
  border: 1px solid var(--hp-line);
  border-radius: 10px;
  color: var(--hp-ink);
  background: var(--hp-surface);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
}
@media (max-width: 480px) {
  .discover-results__facts { grid-template-columns: 1fr; }
}

/* What search engines read before the app starts; the app replaces it. */
.hp-prerender {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px;
  color: var(--hp-ink);
}
.hp-prerender img { max-width: 100%; height: auto; border-radius: 12px; }
.hp-prerender ul { padding-left: 18px; }
.hp-prerender a { color: inherit; }

/* ==== assets/discover-layout-v171.css ==== */
/*
 * Halfpix Dayoo v1.7.1 - Discover entry page layout, "Try this combination".
 *
 * A Discover entry used to put everything in the side panel: a 400px column
 * over 3000px tall beside an empty one, with the firing chart squeezed to
 * 300px. On its own page (.discover-detail--page) the panel keeps what you
 * read first and the rest sits below at full width. The post overlay is not
 * affected. Palette tokens only (--hp-*), so the dark scheme follows.
 */

.discover-detail--page .discover-detail__media {
  /* The body below would slide under a sticky gallery. */
  position: relative;
  top: auto;
}
.discover-detail--page .discover-detail__body {
  grid-column: 1 / -1;
  display: grid;
  gap: 22px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--hp-line);
  border-radius: 24px;
  background: var(--hp-surface);
  box-shadow: 0 8px 24px rgba(21, 24, 29, 0.067);
}
.discover-detail--page .discover-detail__body > * { min-width: 0; margin: 0; }
/* One heading size for every section below the fold (firing schedule,
   products, results, comments); the note cards use a smaller one. */
.discover-detail--page .discover-detail__body h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: var(--weight-regular, 400);
  letter-spacing: 0.004em;
  line-height: 1.35;
}
.discover-detail--page .firing-schedule__head h2,
.discover-detail--page .discover-results__head h2 { margin-bottom: 0; }

/* Effect / Method / Firing notes side by side. */
.discover-detail__notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}
.discover-detail--page .discover-detail__notes .info-card {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--hp-line);
  border-radius: 18px;
  background: var(--hp-surface);
}
.discover-detail--page .discover-detail__notes .info-card h2 { font-size: 17px; margin-bottom: 8px; }
.discover-detail--page .discover-detail__notes .info-card p {
  margin: 0;
  color: var(--hp-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* The firing schedule gets the full width its chart needs. */
.discover-detail--page .discover-detail__body > .firing-schedule {
  padding: 22px 24px;
  border: 1px solid var(--hp-line);
  border-radius: 18px;
}

/* Products in a row of cards, the buttons beside them. */
.discover-detail--page .discover-related .related-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
}
.discover-detail--page .discover-related .sticky-commerce-actions {
  position: static;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
}
.discover-detail--page .discover-related .sticky-commerce-actions > * { flex: 0 1 220px; }

/* Results as a proper grid, comments at a readable width. */
.discover-detail--page .discover-results {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--hp-line);
}
.discover-detail--page .discover-results__grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.discover-detail--page .discover-results__form { max-width: 760px; }
.discover-detail--page .discover-detail__comments {
  max-width: 760px;
  padding-top: 22px;
  border-top: 1px solid var(--hp-line);
}

@media (max-width: 900px) {
  .discover-detail--page .discover-detail__body { padding: 18px; border-radius: 18px; }
}
@media (max-width: 600px) {
  .discover-detail--page .discover-detail__body {
    padding: 16px 0 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .discover-detail--page .discover-related .sticky-commerce-actions > * { flex: 1 1 100%; }
}

/* "Try this combination": the banner sits at the top of the form column. */
.creation-main-column > .try-this-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
}
.creation-main-column > .try-this-banner > .app-icon { flex: none; margin-top: 3px; }
.try-this-banner__body { display: grid; gap: 12px; min-width: 0; }
.try-this-banner__body > p { margin: 0; }
.try-this-glazes { display: grid; gap: 8px; }
.try-this-glazes > strong { font-size: 13px; }
.try-this-glazes ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.try-this-glazes li a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px;
  border: 1px solid var(--hp-line);
  border-radius: 12px;
  color: var(--hp-ink);
  background: var(--hp-surface);
  text-decoration: none;
}
.try-this-glazes li img,
.try-this-glazes__thumb {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: var(--hp-line);
}
.try-this-glazes li span { display: grid; min-width: 0; }
.try-this-glazes li b {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.try-this-glazes li small { color: var(--hp-muted); font-size: 12px; }
.try-this-buy { justify-self: start; }
.try-this-buy__status { margin: 0; font-size: 13px; }
.try-this-buy__status:empty { display: none; }

/* Studio share: send the result back under the original post too. */
.journal-share__original {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 14px;
  font-size: 14px;
}
.journal-share__original input { margin-top: 3px; }

/* ==== assets/video-v172.css ==== */
/*
 * Halfpix Dayoo v1.7.2 - a video that is still transcoding on Bunny Stream.
 * Shown instead of a player that has nothing to play: the frame uploaded with
 * the video when there is one, and the progress. Palette tokens only.
 */
.hp-video-processing {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 240px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: inherit;
  background: var(--hp-ink, #1f2d29);
}
.hp-video-processing img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) brightness(.72);
}
.hp-video-processing span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, .45);
  font-size: 14px;
  font-weight: 650;
}
.hp-video-processing .app-icon { width: 18px; height: 18px; }
.hp-video-processing em { font-style: normal; }
.hp-video-processing:not(.is-failed) .app-icon { animation: hp-video-spin 1.2s linear infinite; }
@keyframes hp-video-spin { to { transform: rotate(360deg); } }

/*
 * v1.7.3 - post and Discover overlays. A carousel slide is a grid whose row
 * grew to the video's own height, so a portrait video ran past the bottom of
 * the overlay and took its progress bar and sound button with it. The row is
 * now the slide's height; the video fits inside it (object-fit: contain).
 */
.hp-post-overlay .media-gallery__slide { grid-template-rows: minmax(0, 1fr); }
@media (prefers-reduced-motion: reduce) {
  .hp-video-processing .app-icon { animation: none; }
}

/* v1.7.5: a cover that failed to load shows the card background, not a broken image. */
.hp-card-media img.is-broken { visibility: hidden; }

/* v1.7.6: feed cards take the shape of what they show (00-core.js card()),
   instead of review.css's square for every card in position 4n+2. */
/* Unknown size: the same 4:5 everywhere, not square by position. */
.feed-card:nth-child(4n + 2) .feed-card__media,
.feed-card:nth-child(4n + 2) .feed-card__image { aspect-ratio: 4 / 5; }
.feed-card .feed-card__media.feed-card__media--portrait,
.feed-card .feed-card__media--portrait .feed-card__image { aspect-ratio: 3 / 4; }
.feed-card .feed-card__media.feed-card__media--landscape,
.feed-card .feed-card__media--landscape .feed-card__image { aspect-ratio: 4 / 3; }
.feed-card .feed-card__media.feed-card__media--square,
.feed-card .feed-card__media--square .feed-card__image { aspect-ratio: 1 / 1; }
/* Me keeps its even grid. */
.me-feed-grid .feed-card .feed-card__media[class*="feed-card__media--"],
.me-feed-grid .feed-card .feed-card__media[class*="feed-card__media--"] .feed-card__image { aspect-ratio: 4 / 5; }
/* v1.7.7: an uploaded site logo (Appearance > Customize > Site Identity)
   takes the place of the "h" mark and name; any proportions fit. */
.hp-brand.has-logo { gap: 0; }
.hp-brand__logo { display: block; width: auto; height: 44px; max-width: 220px; object-fit: contain; }
.hp-mobile-brand .hp-brand__logo { height: 34px; max-width: 150px; }

/* v1.8.3: no black bars around a video (fitVideoToFrame in app.js). The frame
   shows a blurred, dimmed copy of the video's poster; the video sits whole on
   top of it, or fills the frame (.is-fill) when the two shapes are close. */
.media-gallery__video {
  isolation: isolate;
  overflow: hidden;
  background: var(--hp-ink, #1f2d29);
}
.media-gallery__video::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -32px;
  background: var(--hp-video-backdrop, none) center / cover no-repeat;
  filter: blur(24px) brightness(.6);
  pointer-events: none;
}
.media-gallery__video > video {
  position: relative;
  background: transparent !important;
}
.media-gallery__video.is-fill > video { object-fit: cover !important; }

/* ==== assets/user-card-v184.css ==== */
/*
 * Halfpix Dayoo v1.8.4 — the profile card shown on hovering an avatar or a
 * name (Xiaohongshu style), and linked comment authors.
 * Colours, radii and shadows come only from the --ui-* tokens, so the card
 * follows palette.css like every other surface.
 */

.hp-user-card {
  position: fixed;
  z-index: 1100;
  width: 320px;
  max-width: calc(100vw - 32px);
  padding: 18px;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-md);
  background: var(--ui-surface);
  color: var(--ui-ink);
  box-shadow: var(--ui-shadow-float);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .16s var(--ui-ease), transform .16s var(--ui-ease);
  pointer-events: auto;
}
.hp-user-card[data-side="above"] { transform: translateY(-4px); }
.hp-user-card.is-open { opacity: 1; transform: none; }
.hp-user-card[hidden] { display: none; }

.hp-user-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hp-user-card__identity {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.hp-user-card__avatar {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--ui-surface-soft);
  box-shadow: 0 0 0 1px var(--ui-line);
}
.hp-user-card__avatar--fallback {
  display: grid;
  place-items: center;
  color: var(--ui-primary);
  background: var(--ui-primary-soft);
  font-size: 22px;
  font-weight: 700;
}
.hp-user-card__who {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.hp-user-card__who strong {
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hp-user-card__identity:hover strong { color: var(--ui-primary); }
.hp-user-card__who small {
  overflow: hidden;
  color: var(--ui-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-user-card__follow {
  flex: 0 0 auto;
  min-width: 76px;
  height: 34px;
  padding: 0 16px;
  border: 1px solid var(--ui-primary);
  border-radius: var(--ui-radius-pill);
  background: var(--ui-primary);
  color: var(--ui-surface);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .16s var(--ui-ease), color .16s var(--ui-ease), border-color .16s var(--ui-ease);
}
.hp-user-card__follow:hover { border-color: var(--ui-primary-strong); background: var(--ui-primary-strong); }
.hp-user-card__follow.is-following {
  border-color: var(--ui-line);
  background: var(--ui-surface-soft);
  color: var(--ui-muted);
}
.hp-user-card__follow.is-following:hover { border-color: var(--ui-line-strong, var(--ui-line)); color: var(--ui-ink); background: var(--ui-surface-soft); }
.hp-user-card__follow:disabled { opacity: .6; cursor: progress; }
.hp-user-card__follow:focus-visible,
.hp-user-card a:focus-visible { outline: 2px solid var(--ui-primary); outline-offset: 2px; }

.hp-user-card__bio {
  display: -webkit-box;
  margin: 14px 0 0;
  overflow: hidden;
  color: var(--ui-ink-soft, var(--ui-ink));
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.hp-user-card__stats {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--ui-line);
}
.hp-user-card__stats a {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.hp-user-card__stats strong { font-size: 15px; font-weight: 700; }
.hp-user-card__stats small { color: var(--ui-muted); font-size: 12px; }
.hp-user-card__stats a:hover small { color: var(--ui-primary); }

/* Loading: the avatar and two lines as soft placeholders. */
.hp-user-card__head.is-loading .hp-user-card__avatar { box-shadow: none; }
.hp-user-card__head.is-loading .hp-user-card__who { flex: 1; gap: 8px; }
.hp-user-card__head.is-loading i {
  display: block;
  height: 12px;
  border-radius: var(--ui-radius-pill);
  background: var(--ui-surface-soft);
  animation: hp-user-card-pulse 1.1s ease-in-out infinite alternate;
}
.hp-user-card__head.is-loading i + i { width: 55%; }
@keyframes hp-user-card-pulse { to { opacity: .45; } }

@media (prefers-reduced-motion: reduce) {
  .hp-user-card, .hp-user-card__follow { transition: none; }
  .hp-user-card__head.is-loading i { animation: none; }
}

/* Comment authors link to their page (and open the card on a desktop). */
.comment__avatar-link { display: block; line-height: 0; border-radius: 50%; }
.comment__author a { color: inherit; text-decoration: none; }
.comment__author a:hover { color: var(--ui-primary); }
.comment__mention { color: var(--ui-primary); font-weight: 600; }

/* Comment, reply and mention notifications show who it was. */
.hp-notification__icon--person { overflow: hidden; background: var(--ui-surface-soft); }
.hp-notification__icon--person a { display: block; width: 100%; height: 100%; line-height: 0; }
.hp-notification__icon--person img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* ==== assets/comments-v185.css ==== */
/*
 * Halfpix Dayoo v1.8.5 — comment photos and @mentions (assets/comments.js).
 * Photos: one larger tile, or a sideways strip of square tiles with a
 * "{n} photos" badge on the last one (as on Xiaohongshu). @mentions: a list of
 * people under the text. Colours, radii and shadows come only from the --ui-*
 * tokens.
 */

/* --- Photos in a comment ----------------------------------------------- */
.hp-comments .comment-images {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  max-width: 100%;
  margin: 8px 0 6px;
  padding-bottom: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--ui-line-strong) transparent;
}
.hp-comments .comment-images::-webkit-scrollbar { height: 4px; }
.hp-comments .comment-images::-webkit-scrollbar-track { background: transparent; }
.hp-comments .comment-images::-webkit-scrollbar-thumb { border-radius: var(--ui-radius-pill); background: var(--ui-line-strong); }
.hp-comments .comment-images .comment-image-button,
.hp-comments .comment-images:has(.comment-image-button:nth-child(2)) .comment-image-button {
  position: relative;
  flex: 0 0 auto;
  width: 132px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface-soft);
  scroll-snap-align: start;
  cursor: zoom-in;
}
.hp-comments .comment-images .comment-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}
/* A single photo is shown larger, still cropped square like the strip. */
.hp-comments .comment-images--single .comment-image-button { width: 200px; max-width: 100%; }
.hp-comments .comment-images__count {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 8px;
  border-radius: var(--ui-radius-pill);
  background: color-mix(in srgb, var(--ui-ink) 62%, transparent);
  color: var(--ui-surface);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  pointer-events: none;
}
.hp-comments .comment-image-button:focus-visible { outline: 2px solid var(--ui-primary); outline-offset: 2px; }
@media (max-width: 560px) {
  .hp-comments .comment-images .comment-image-button,
  .hp-comments .comment-images:has(.comment-image-button:nth-child(2)) .comment-image-button { width: 104px; }
  .hp-comments .comment-images--single .comment-image-button { width: 168px; }
}

/* The viewer: the photo closes it, so it shows a zoom-out pointer. */
dialog.media-lightbox--comment .media-lightbox__stage img { cursor: zoom-out; user-select: none; -webkit-user-drag: none; }
dialog.media-lightbox--comment .media-lightbox__stage { touch-action: pan-y; }

/* --- Photos chosen in the composer ------------------------------------- */
.hp-comments .comment-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 0 2px;
}
.hp-comments .comment-attachments[hidden] { display: none; }
.hp-comments .comment-attachments__item,
.hp-comments .comment-attachments__add {
  position: relative;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: var(--ui-radius-xs);
  background: var(--ui-surface-soft);
}
.hp-comments .comment-attachments__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hp-comments .comment-attachments__item button {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ui-ink) 62%, transparent);
  color: var(--ui-surface);
  cursor: pointer;
}
.hp-comments .comment-attachments__item button svg { width: 12px; height: 12px; }
.hp-comments .comment-attachments__add {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px dashed var(--ui-line-strong);
  color: var(--ui-muted);
  cursor: pointer;
}
.hp-comments .comment-attachments__add:hover { border-color: var(--ui-primary); color: var(--ui-primary); }

/* --- @mention list ------------------------------------------------------ */
.hp-comments .mention-menu {
  display: grid;
  gap: 2px;
  max-height: 232px;
  margin: 6px 0 2px;
  padding: 4px;
  overflow-y: auto;
  border: 1px solid var(--ui-line);
  border-radius: var(--ui-radius-sm);
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow-sm);
}
.hp-comments .mention-menu[hidden] { display: none; }
.hp-comments .mention-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 6px 8px;
  border: 0;
  border-radius: var(--ui-radius-xs);
  background: transparent;
  color: var(--ui-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.hp-comments .mention-menu__item:hover,
.hp-comments .mention-menu__item.is-active { background: var(--ui-primary-soft); }
.hp-comments .mention-menu__item .avatar { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.hp-comments .mention-menu__who { display: grid; min-width: 0; }
.hp-comments .mention-menu__who strong { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.hp-comments .mention-menu__who small { overflow: hidden; color: var(--ui-muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.hp-comments .hp-mention-toggle svg { width: 20px; height: 20px; }

/* ==== assets/app-preview-v188.css ==== */
/*
 * Create page: the phone preview of a photo / video post drawn as the APP
 * draws it (v1.8.8). "Post preview" is the APP's post page: the photo to the
 * top edge under round back / share buttons, the author row with Follow,
 * title, text, #tags, then the comment bar. "Cover preview" is the APP's
 * Home: For you / Following with search, two columns of cards, the tab bar
 * with its round +. Everything is scoped to .app-screen so the older
 * preview rules (Studio record, glaze test) are untouched. Colours come from
 * the palette (palette.css); none are written here.
 */
.hp-main[data-view="create"] .creation-phone .app-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: min(580px, 72dvh);
  overflow: hidden;
  padding: 0;
  border-radius: 24px;
  background: var(--hp-canvas);
  color: var(--hp-ink);
  font-family: var(--hp-font-sans, inherit);
}
.hp-main[data-view="create"] .app-screen .app-icon { width: 16px; height: 16px; }

/* ---- Post page ---- */
.hp-main[data-view="create"] .app-post__scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}
.hp-main[data-view="create"] .app-post__hero { position: relative; }
.hp-main[data-view="create"] .app-post .app-post__hero > .creation-phone__media {
  display: grid;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 3 / 4;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--hp-surface-soft);
  color: var(--hp-muted);
  place-items: center;
  text-align: center;
}
.hp-main[data-view="create"] .app-post .app-post__hero > .creation-phone__media.is-empty > span {
  max-width: 70%;
  font-size: 12px;
  line-height: 1.5;
}
.hp-main[data-view="create"] .app-post .app-post__hero > .creation-phone__media > :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
}
.hp-main[data-view="create"] .app-post__status,
.hp-main[data-view="create"] .app-home__status {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px 2px;
  font-size: 11px;
  font-weight: 600;
}
.hp-main[data-view="create"] .app-post__status {
  position: absolute;
  inset: 0 0 auto;
  color: #fff;
  text-shadow: 0 1px 3px rgb(0 0 0 / 0.35);
  pointer-events: none;
}
.hp-main[data-view="create"] .app-post__top {
  position: absolute;
  inset: 26px 10px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.hp-main[data-view="create"] .app-round {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.32);
  color: #fff;
  place-items: center;
}
.hp-main[data-view="create"] .app-post__count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.45);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.hp-main[data-view="create"] .app-post__count[hidden] { display: none; }
.hp-main[data-view="create"] .app-post__body { padding: 12px 12px 18px; }
.hp-main[data-view="create"] .app-post__author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.hp-main[data-view="create"] .app-post__author > div {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 1px;
}
.hp-main[data-view="create"] .app-post__author strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hp-main[data-view="create"] .app-post__author small {
  color: var(--hp-muted);
  font-size: 10px;
  font-weight: 700;
}
.hp-main[data-view="create"] .app-avatar {
  display: grid;
  flex: none;
  width: 32px;
  height: 32px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--hp-primary-soft);
  color: var(--hp-primary-deep);
  font-size: 13px;
  place-items: center;
}
.hp-main[data-view="create"] .app-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hp-main[data-view="create"] .app-follow {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--hp-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.hp-main[data-view="create"] .app-post .creation-phone__record-copy {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.hp-main[data-view="create"] .app-post .creation-phone__record-copy h3 {
  margin: 0 0 6px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}
.hp-main[data-view="create"] .app-post .creation-phone__record-copy p {
  margin: 0;
  color: var(--hp-ink);
  font-size: 12px;
  line-height: 1.6;
  white-space: pre-line;
}
.hp-main[data-view="create"] .app-post .app-post__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 10px 0 0;
}
.hp-main[data-view="create"] .app-post .app-post__tags span {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--hp-primary);
  font-size: 12px;
  font-weight: 800;
}
.hp-main[data-view="create"] .app-post__time {
  display: block;
  margin-top: 10px;
  color: var(--hp-muted);
  font-size: 10px;
}
.hp-main[data-view="create"] .app-post__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 12px;
  border-top: 1px solid var(--hp-line);
  background: var(--hp-canvas);
}
.hp-main[data-view="create"] .app-post__prompt {
  display: flex;
  flex: 1.7;
  min-width: 0;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--hp-surface-soft);
  color: var(--hp-muted);
  font-size: 11px;
}
.hp-main[data-view="create"] .app-post__prompt > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hp-main[data-view="create"] .app-post__stat {
  display: flex;
  flex: 0.45;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--hp-ink);
}
.hp-main[data-view="create"] .app-post__stat b { font-size: 11px; font-weight: 800; }

/* ---- Home (cover preview) ---- */
.hp-main[data-view="create"] .app-home__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
}
.hp-main[data-view="create"] .app-pill {
  flex: none;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--hp-surface);
  color: var(--hp-muted);
  font-size: 11px;
  font-weight: 700;
}
.hp-main[data-view="create"] .app-pill.is-active {
  background: var(--hp-primary);
  color: #fff;
}
.hp-main[data-view="create"] .app-home__search {
  display: flex;
  flex: 1;
  min-width: 0;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--hp-surface);
  color: var(--hp-muted);
  font-size: 10px;
}
.hp-main[data-view="create"] .app-home__search .app-icon { width: 13px; height: 13px; }
.hp-main[data-view="create"] .app-home__grid {
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 0 6px;
  overflow: hidden;
}
.hp-main[data-view="create"] .app-home__col { display: grid; align-content: start; gap: 6px; }
.hp-main[data-view="create"] .app-card {
  overflow: hidden;
  border-radius: 10px;
  background: var(--hp-surface);
}
.hp-main[data-view="create"] .app-home .app-card .creation-phone__media {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 3 / 4;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--hp-surface-soft);
}
.hp-main[data-view="create"] .app-home .app-card .creation-phone__media > :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
}
.hp-main[data-view="create"] .app-card__copy { display: grid; gap: 6px; padding: 6px 7px 8px; }
.hp-main[data-view="create"] .app-card__copy h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.hp-main[data-view="create"] .app-card__meta {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: var(--hp-muted);
  font-size: 9px;
}
.hp-main[data-view="create"] .app-card__meta > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hp-main[data-view="create"] .app-card__meta .app-avatar { width: 16px; height: 16px; font-size: 8px; }
.hp-main[data-view="create"] .app-card__likes { display: flex; align-items: center; gap: 1px; }
.hp-main[data-view="create"] .app-card__likes .app-icon { width: 11px; height: 11px; }
.hp-main[data-view="create"] .app-card.is-placeholder > span {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--hp-surface-soft);
}
.hp-main[data-view="create"] .app-card.is-placeholder > span.is-tall { aspect-ratio: 3 / 4; }
.hp-main[data-view="create"] .app-card.is-placeholder i {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: var(--hp-line);
}
.hp-main[data-view="create"] .app-card.is-placeholder i + i { width: 60%; }
.hp-main[data-view="create"] .app-home__nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 6px 4px 12px;
  border-top: 1px solid var(--hp-line);
  background: var(--hp-canvas);
}
.hp-main[data-view="create"] .app-home__nav > span {
  display: grid;
  justify-items: center;
  gap: 1px;
  color: var(--hp-muted);
}
.hp-main[data-view="create"] .app-home__nav > span.is-active { color: var(--hp-primary); }
.hp-main[data-view="create"] .app-home__nav small { font-size: 9px; }
.hp-main[data-view="create"] .app-home__nav > b {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hp-primary);
  color: #fff;
  place-items: center;
}
.hp-main[data-view="create"] .app-home__nav > b .app-icon { width: 20px; height: 20px; }

/* ==== assets/post-media-v189.css ==== */
/*
 * Photos and videos edge to edge on a post (v1.8.9). review.css gave the
 * media column a 1px light border and the post popup had one of its own;
 * against a dark photo or video both showed as a thin white line along the
 * top and left. The popup now separates from the page by its shadow alone,
 * and the media column has no border wherever a post or Discover entry is
 * shown. Product galleries (light backgrounds) keep theirs.
 */
.hp-post-overlay {
  border: 0;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.35);
}
.post-media-column,
.discover-detail__media,
.hp-post-overlay :is(.post-media-column, .discover-detail__media) {
  border: 0;
}
.hp-post-overlay :is(.post-media-column, .discover-detail__media) {
  box-shadow: none;
}

/* ==== assets/studio-v1810.css ==== */
/*
 * Studio 1.8.10, laid out like the APP's (V4_75): three levels, loudest first.
 * The kind of work, "Needs you", one row of filters, then the work grouped by
 * stage. Colours come from palette.css only; nothing here names a brand hex.
 */

.studio-page {
  --studio-gap: 14px;
  --studio-per-row: 4;
}
/* Older Studio sheets made .journal-page a grid with a gap and gave the empty
   editor a margin; the spacing here is set per block instead. */
.hp-main .studio-page.journal-page {
  display: block;
  gap: 0;
}
.hp-main .studio-page .hp-journal-editor:empty,
.hp-main .studio-page .journal-notice:empty {
  margin: 0;
}

/* Title row: the page name, then search, New and the ⋯ menu. */
.studio-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0;
}
.studio-head__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.studio-head__tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.studio-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--porcelain);
  color: var(--ink);
  cursor: pointer;
}
.studio-icon:hover,
.studio-icon[aria-expanded="true"] {
  background: var(--neutral-soft);
}
.studio-icon svg {
  width: 20px;
  height: 20px;
}
.studio-icon--small {
  width: 32px;
  height: 32px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.studio-icon--small svg {
  width: 18px;
  height: 18px;
}
.studio-new {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.studio-new svg {
  width: 18px;
  height: 18px;
}

/* ⋯ menus: the page's and each card's. */
.studio-more {
  position: relative;
}
.studio-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  min-width: 190px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--porcelain);
  box-shadow: 0 12px 30px rgb(34 51 46 / 0.14);
}
.studio-menu[hidden] {
  display: none;
}
.studio-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.studio-menu button:hover,
.studio-menu button:focus-visible {
  background: var(--neutral-soft);
}
.studio-menu svg {
  width: 17px;
  height: 17px;
  color: var(--muted);
}

.studio-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin-top: 14px;
  padding: 0 14px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--porcelain);
  color: var(--muted);
}
.studio-search[hidden] {
  display: none;
}
.studio-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
.studio-search svg {
  width: 18px;
  height: 18px;
}

/* Kind tabs: quiet text, the chosen one on a soft tint. */
.studio-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.studio-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.studio-tab span {
  font-size: 13px;
  font-weight: 500;
}
.studio-tab:hover {
  background: var(--neutral-soft);
}
.studio-tab.is-active {
  background: var(--celadon-soft);
  color: var(--celadon-on-soft);
}

/* Needs you: the one coloured block on the page. */
.studio-todo {
  margin-top: 22px;
}
.studio-todo[hidden],
.studio-filters[hidden] {
  display: none;
}
.studio-section {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.studio-section h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}
.studio-section > span {
  color: var(--muted);
  font-size: 13px;
}
.studio-link {
  margin-left: auto;
  border: 0;
  background: none;
  color: var(--celadon);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.studio-todo__grid {
  display: grid;
  grid-template-columns: repeat(var(--studio-per-row), minmax(0, 1fr));
  gap: 12px;
}
.studio-todo__item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--porcelain);
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.studio-todo__item:hover {
  border-color: color-mix(in srgb, var(--celadon) 30%, var(--line));
}
.studio-todo__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--neutral-soft);
  color: var(--muted);
}
.studio-todo__icon svg {
  width: 19px;
  height: 19px;
}
.studio-todo__item.is-urgent .studio-todo__icon {
  background: var(--terracotta-soft);
  color: var(--terracotta);
}
.studio-todo__text {
  display: grid;
  min-width: 0;
}
.studio-todo__text strong,
.studio-todo__text small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.studio-todo__text strong {
  font-size: 14.5px;
}
.studio-todo__text small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
}
.studio-todo__item.is-urgent small {
  color: var(--terracotta);
  font-weight: 600;
}
.studio-todo__text small b {
  color: var(--celadon);
  font-variant-numeric: tabular-nums;
}

/* One row of filters: All with the share finished, a chip per stage, places at the end. */
.studio-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
}
.studio-chips {
  display: flex;
  flex: 1;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
  padding-right: 24px;
}
.studio-chips::-webkit-scrollbar {
  display: none;
}
.studio-chip,
.studio-place {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--porcelain);
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}
.studio-chip span {
  color: var(--muted);
}
.studio-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--celadon) var(--dot), transparent);
}
.studio-chip.is-active,
.studio-place.is-active {
  border-color: transparent;
  background: var(--celadon-soft);
  color: var(--celadon-on-soft);
  font-weight: 700;
}
.studio-chip.is-active span {
  color: var(--celadon-on-soft);
}
.studio-place {
  position: relative;
  padding-right: 10px;
}
.studio-place svg {
  width: 15px;
  height: 15px;
  color: var(--muted);
  pointer-events: none;
}
.studio-place select {
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.studio-filters + .journal-facets:not([hidden]) {
  margin-top: 14px;
}

.studio-page .journal-notice:not(:empty),
.studio-page .hp-journal-editor:not(:empty) {
  margin-top: 18px;
}

/* The work: stage groups that flow side by side, each as wide as its cards. */
.studio-results {
  margin-top: 22px;
}
.studio-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 22px var(--studio-gap);
}
.studio-group {
  --span: min(var(--n), var(--studio-per-row));
  width: calc(
    (100% - (var(--studio-per-row) - 1) * var(--studio-gap)) / var(--studio-per-row) * var(--span) +
      (var(--span) - 1) * var(--studio-gap)
  );
  min-width: 0;
}
.studio-group__title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 2px 10px;
  font-size: 15.5px;
  font-weight: 700;
}
.studio-group__title span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.studio-grid {
  display: grid;
  grid-template-columns: repeat(var(--studio-per-row), minmax(0, 1fr));
  gap: var(--studio-gap);
}
.studio-group .studio-grid {
  grid-template-columns: repeat(var(--span), minmax(0, 1fr));
}

.studio-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--porcelain);
}
.studio-card__media {
  display: block;
  overflow: hidden;
  border-radius: 17px 17px 0 0;
  background: var(--neutral-soft);
}
.studio-card__media .hp-card-media {
  border-radius: 0;
  background: none;
}
.studio-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  max-height: none;
  object-fit: cover;
}
.studio-card__placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  color: var(--muted);
}
.studio-card__placeholder svg {
  width: 28px;
  height: 28px;
}
.studio-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
}
.studio-card__body > .journal-stage,
.studio-card__body > .hp-badge {
  align-self: flex-start;
  margin: 0 0 2px;
}
.studio-card__title {
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-decoration: none;
}
.studio-card__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12.5px;
}
.studio-card__meta span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.studio-card__meta svg {
  flex: none;
  width: 14px;
  height: 14px;
}
.studio-card__meta.is-urgent {
  color: var(--terracotta);
}
.studio-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.studio-progress__bar {
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: var(--line);
}
.studio-progress__bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--celadon);
}
.studio-progress b {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.studio-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.studio-card__actions .studio-more {
  margin-left: auto;
}
.studio-next {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--celadon-on-soft);
  font: inherit;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.studio-next span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.studio-next svg {
  flex: none;
  width: 15px;
  height: 15px;
}
.studio-next:disabled {
  opacity: 0.6;
}
.studio-card .journal-rating {
  color: var(--warning);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .studio-page {
    --studio-per-row: 3;
  }
}
@media (max-width: 900px) {
  .studio-page {
    --studio-per-row: 2;
  }
}
@media (max-width: 560px) {
  .studio-page {
    --studio-per-row: 1;
  }
  .studio-new span {
    display: none;
  }
  .studio-new {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
  .studio-todo__grid {
    gap: 8px;
  }
}

/* Kiln Log (1.8.12): why Finish isn't offered yet. */
.kiln-summary__hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Kiln Log photos (1.8.13, APP V4_81): a picture on each firing card, as on a
   piece or glaze test, and a row of photos in the editor. */
.hp-main .kiln-batch-card {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
}
.hp-main .kiln-batch-card__thumb {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--terracotta-soft);
  color: var(--terracotta);
  object-fit: cover;
}
.hp-main .kiln-batch-card__thumb .app-icon {
  width: 24px;
  height: 24px;
}
.hp-main .kiln-batch-card__body {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.hp-main .kiln-batch-card__progress {
  grid-column: 1 / -1;
}
.hp-main .kiln-editor__photos {
  display: grid;
  gap: 8px;
}
.hp-main .kiln-editor__hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.hp-main .kiln-photos__add {
  cursor: pointer;
}
.hp-main .kiln-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hp-main .kiln-photos[hidden] {
  display: none;
}
.hp-main .kiln-photos__item {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: var(--neutral-soft);
  color: var(--muted);
}
.hp-main .kiln-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-main .kiln-photos__item.is-uploading {
  animation: kiln-photo-pulse 1.2s ease-in-out infinite alternate;
}
@keyframes kiln-photo-pulse {
  to {
    opacity: .45;
  }
}
.hp-main .kiln-photos__remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 65%, transparent);
  color: var(--porcelain);
  cursor: pointer;
}
.hp-main .kiln-photos__remove .app-icon {
  width: 14px;
  height: 14px;
}
.hp-main .kiln-summary__cover {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 12px;
  border-radius: 12px;
  object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
  .hp-main .kiln-photos__item.is-uploading {
    animation: none;
  }
}

/* Kiln Log (1.8.14): the steps only show where a firing is; the button under
   them takes the one next step, as on the APP. */
.hp-main .kiln-stepper__step {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 10px 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.hp-main .kiln-stepper__next:not(:empty) {
  margin-top: 10px;
}
.hp-main .kiln-stepper__next .hp-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Public profile (1.8.15): a maker's posts fill rows like Studio's grid
   (DESIGN-SYSTEM "Card grids"). As a masonry feed, 6 posts in 5 columns
   balanced into 3 and left the rest of the row empty. */
.hp-main .hp-grid.hp-user-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  column-gap: 14px;
  row-gap: 14px;
  align-items: start;
  columns: auto;
}
.hp-main .hp-grid.hp-user-posts > * {
  width: auto;
  margin: 0;
}
.hp-main .hp-grid.hp-user-posts > .hp-empty {
  grid-column: 1 / -1;
}
@media (max-width: 850px) {
  .hp-main .hp-grid.hp-user-posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 10px;
  }
}

/* Public profile heading (1.8.15): the page-heading contract (layout-v124)
   with the avatar beside it and the actions on the right; it used to be a
   card with its own padding, so the name did not line up with other pages. */
.hp-main .hp-page-heading.hp-profile-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 24px;
  align-items: start;
}
.hp-main .hp-profile-heading .hp-profile-avatar {
  width: 96px;
  height: 96px;
  border: 0;
  box-shadow: 0 0 0 1px var(--line);
}
.hp-main .hp-profile-heading .hp-avatar-fallback--xl {
  display: grid;
  place-items: center;
  font-size: 32px;
}
.hp-main .hp-profile-heading__body {
  min-width: 0;
}
.hp-main .hp-profile-handle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.hp-main .hp-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 18px 0 0;
}
.hp-main .hp-profile-stats > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
}
.hp-main .hp-profile-stats dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hp-main .hp-profile-stats dt {
  color: var(--muted);
  font-size: 12.5px;
}
.hp-main .hp-profile-heading .hp-profile-actions {
  justify-content: flex-end;
}
.hp-main .hp-profile-heading .hp-profile-actions .hp-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hp-main .hp-profile-heading .hp-follow.is-following {
  border: 1px solid var(--line);
  background: var(--porcelain);
  color: var(--ink);
}
.hp-main .hp-profile-posts__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 14px;
}
.hp-main .hp-profile-posts__head h2 {
  margin: 0;
  font-size: 1.15rem;
}
.hp-main .hp-profile-posts__head span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.hp-main .hp-profile-posts .hp-user-posts {
  margin-top: 0;
}
/* Every card on a maker's page is by that maker; the type badge stays, on the left. */
.hp-main .hp-user-posts .feed-card__author-row .content-badge {
  margin-left: 0;
}
.hp-main .hp-user-posts .feed-card__author-row {
  justify-content: flex-start;
}
.hp-main .hp-user-posts .feed-card__author {
  display: none;
}
@media (max-width: 680px) {
  .hp-main .hp-page-heading.hp-profile-heading {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
  }
  .hp-main .hp-profile-heading .hp-profile-avatar {
    width: 72px;
    height: 72px;
  }
  .hp-main .hp-profile-heading .hp-profile-actions {
    grid-column: 1 / -1;
    margin-top: 16px;
    justify-content: stretch;
  }
  .hp-main .hp-profile-heading .hp-profile-actions > * {
    flex: 1 1 0;
    justify-content: center;
  }
  .hp-main .hp-profile-stats {
    gap: 10px 20px;
  }
}

/* ==== assets/ui-hierarchy-v1822.css ==== */
/* Warm porcelain canvas, white content surfaces, jade actions. */
.hp-rail { background: var(--porcelain); border-color: var(--line); }
.hp-header { background: var(--porcelain); border-color: var(--line); }
.hp-search { background: var(--cream); border-color: var(--line); border-radius: 999px; box-shadow: none; }
.hp-nav { gap: 10px; }
.hp-nav .hp-nav__item { border-radius: 10px; font-weight: 500; }
.hp-nav .hp-nav__item:hover,
.hp-nav .hp-nav__item.is-active { background: var(--celadon-soft); color: var(--celadon-deep); box-shadow: none; }
.hp-nav .hp-nav__item.is-active:not(.is-create) { box-shadow: inset 3px 0 var(--celadon); font-weight: 600; }
.hp-nav .hp-nav__item.is-create { margin-top: 24px; background: var(--celadon); color: var(--porcelain); }
.hp-nav .hp-nav__item.is-create:hover { background: var(--celadon-deep); }
.hp-page-head { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.hp-page-title { color: var(--ink); font-size: clamp(28px, 3.2vw, 44px); font-weight: 600; line-height: 1.25; }
.hp-page-copy { color: var(--muted); max-width: 60ch; line-height: 1.7; }
.hp-eyebrow { color: var(--celadon-deep); font-weight: 600; letter-spacing: .08em; }
.hp-panel,
.feed-card,
.shop-card,
.discover-card,
.hp-journal-card {
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--ink) 4%, transparent);
}
.hp-card-body { padding: 16px; }
.hp-card-title { color: var(--ink); font-weight: 600; line-height: 1.5; }
.hp-card-copy { color: var(--muted); line-height: 1.65; }
.hp-button { background: var(--celadon); border-color: var(--celadon); color: var(--porcelain); font-weight: 600; }
.hp-button:hover { background: var(--celadon-deep); }
.hp-button.hp-button--ghost { background: var(--porcelain); border: 1px solid var(--line); color: var(--ink); box-shadow: none; }
.hp-button.hp-button--ghost:hover { background: var(--cream); }
.hp-home-feed-tabs button { border-radius: 999px; }
.hp-home-feed-tabs button.is-active,
.hp-home-feed-tabs button[aria-selected="true"] { background: var(--celadon-soft); color: var(--celadon-deep); border-color: transparent; box-shadow: none; }
@media (max-width: 767px) {
  .hp-page-head { padding-bottom: 18px; margin-bottom: 20px; gap: 16px; }
  .hp-card-body { padding: 12px; }
}

/* ==== assets/sds-v1826.css ==== */
/* Safety data sheets at /sds/ (1.8.26). The rows and the PDF viewer; every
   colour comes from the palette, as everywhere else. */

.hp-sds__note {
  max-width: 820px;
}

.hp-sds__back {
  margin: 0 0 18px;
}

.hp-sds__toolbar {
  align-items: end;
}

.hp-sds__search {
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}

.hp-sds__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-sds__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-sds__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
}

/* Glaze photography arrives framed every which way, so the thumbnail scales to
   fit on white instead of being cropped — as on the Shop and in the app. */
.hp-sds__thumb {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--hp-line);
  border-radius: 14px;
  background: #fff;
}

.hp-sds__thumb img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.hp-sds__name {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.3;
}

.hp-sds__facts {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.hp-sds__facts span + span::before {
  content: "·";
  margin-right: 10px;
  color: var(--hp-line);
}

.hp-sds__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.hp-sds__link {
  color: var(--hp-muted);
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* The row a per-product address points at. */
.hp-sds__row.is-focus {
  border-color: var(--hp-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--celadon) 16%, transparent);
}

.hp-sds__empty {
  padding: 24px 0;
  text-align: center;
}

.hp-sds__gaps {
  margin-top: 24px;
}

/* The viewer: the sheet over the page, with the ways out along the top. */
.hp-sds-viewer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: rgb(17 28 25 / 0.82);
  backdrop-filter: blur(6px);
}

.hp-sds-viewer__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(14px, 3vw, 28px);
  background: var(--hp-bg);
  border-bottom: 1px solid var(--hp-line);
}

.hp-sds-viewer__title {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-sds-viewer__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-sds-viewer__frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

@media (max-width: 850px) {
  .hp-sds__row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .hp-sds__thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .hp-sds__actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* Someone will print this list for the studio wall. */
@media print {
  .hp-rail,
  .hp-header,
  .hp-bottom-nav,
  .hp-sds__toolbar,
  .hp-sds__actions,
  .hp-sds__gaps,
  .hp-sds-viewer {
    display: none !important;
  }

  .hp-sds__row {
    box-shadow: none;
    break-inside: avoid;
  }
}

/* The way in from a product page. */
.hp-product-sds a {
  color: var(--hp-green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp-product-sds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: 14px 0 0;
}

/* ==== assets/palette.css ==== */
/*
 * Halfpix palette - Porcelain and deep jade (暖瓷深玉) v1.8.0
 *
 * GENERATED FILE - DO NOT EDIT.
 * Source: design/palette.json   Build: design/build-palette.ps1
 *
 * Mint sea-salt, chosen by the owner from three researched directions: a warm off-white canvas, the HALFPIX logo recoloured to mint (#2CBFA0) with a coral swirl (#FF7A6B), a deeper mint for the few filled controls, and coral only for likes and counts. Light tints with coloured text for selected states instead of heavy fills keep the page airy; the neutrals stay quiet so the pottery in the photographs carries the colour.
 *
 * Loaded last, after design-tokens.css, style.css, pages.css and parity.css,
 * each of which declares its own :root colour block. This file overrides the
 * values only - every token name and every usage stays where it was, so
 * rolling back a scheme means not loading this one stylesheet.
 */

:root {
  --cream: #f3f2ee;  /* Warm neutral page background, separated from white cards. */
  --porcelain: #ffffff;  /* Cards, panels, inputs, sheets. */
  --ink: #202e2a;  /* Body text and headings. */
  --muted: #626b66;  /* Secondary text, meta lines, captions. */
  --line: #dce1da;  /* Borders and dividers. */
  --neutral-soft: #eef2ef;  /* Image placeholder and avatar fallback. Deliberately neutral: a tinted placeholder fights the ceramics it frames. */
  --brand: #2cbfa0;  /* The logo's mint (the letters). Decoration only (logo, highlights, illustrations): white text on it fails contrast. */
  --brand-accent: #ff7a6b;  /* The logo's coral swirl. Decoration only. */
  --celadon: #176b58;  /* Buttons, links, active tabs, selected states. Deep jade with accessible white text. */
  --celadon-deep: #104d40;  /* Hover, pressed, eyebrow text. */
  --celadon-soft: #e4f5ef;  /* Chip and badge background, soft tints. */
  --celadon-on-soft: #0a6b5c;  /* Text that sits on primarySoft. */
  --sage: #1e7563;  /* The secondary green for marks, charts and secondary text. */
  --accent: #c8453a;  /* Coral, the logo swirl deepened for text: likes, notification counts, small highlights. Never a second button colour. */
  --accent-soft: #fdecea;  /* Tint behind accent marks. */
  --terracotta: #b4552b;  /* The real clay colour, for piece and firing accents. */
  --terracotta-soft: #fbede4;  /* Warm tint behind terracotta marks. */
  --kiln-blue: #2d6e9e;  /* Reserved for explicit kiln/temperature data only. NOT the Material secondary slot - wiring it there turned chips, switches and nav indicators blue. */
  --navy-soft: #e7f0f8;  /* Tint behind kiln marks. */
  --green-soft: #eef7f3;  /* Subtle section surface, a faint mint tint. */
  --danger: #b3261e;  /* Destructive actions and errors. */
  --warning: #8a5700;  /* Warnings and pending states. */

  /* --clay stays pointed at the primary because the shared component rules
     fill every button with var(--clay). Only values change here; rewiring
     what a name means is a behaviour change, not a colour change. */
  --clay: var(--celadon);
  --clay-dark: var(--celadon-deep);
  --clay-soft: var(--neutral-soft);
  --coral-soft: var(--terracotta-soft);

  --shadow-sm: 0 4px 16px rgb(21 24 29 / 0.045);
  --shadow-md: 0 8px 24px rgb(21 24 29 / 0.065);
  --shadow: var(--shadow-md);

  /* Aliases used by style.css, pages.css and the WordPress shell. */
  --hp-canvas: var(--cream);
  --hp-surface: var(--porcelain);
  --hp-surface-soft: var(--green-soft);
  --hp-ink: var(--ink);
  --hp-muted: var(--muted);
  --hp-line: var(--line);
  --hp-primary: var(--celadon);
  --hp-primary-deep: var(--celadon-deep);
  --hp-primary-soft: var(--celadon-soft);
  --hp-clay: var(--terracotta);
  --hp-clay-soft: var(--terracotta-soft);
  --hp-danger: var(--danger);
  --hp-shadow: var(--shadow);
  --hp-green: var(--celadon);
  --hp-deep: var(--celadon-deep);
  --hp-soft: var(--celadon-soft);
  --hp-bg: var(--cream);
  --hp-card: var(--porcelain);
  --hp-blue: var(--kiln-blue);
  --hp-warn: var(--warning);
  --hp-brand: var(--brand);
  --hp-accent: var(--accent);

  /* unified-ui.css declares its own --ui-* set, which this file did not
     reach before v1.7.8: the brand mark and several panels kept the old
     green whatever the scheme. Success stays green on purpose. */
  --ui-canvas: var(--cream);
  --ui-surface: var(--porcelain);
  --ui-surface-soft: var(--green-soft);
  --ui-ink: var(--ink);
  --ui-muted: var(--muted);
  --ui-line: var(--line);
  --ui-primary: var(--celadon);
  --ui-primary-strong: var(--celadon-deep);
  --ui-primary-soft: var(--celadon-soft);
  --ui-form-focus: var(--celadon);
  --ui-danger: var(--danger);

  /* Used by upload-progress-v141.css, works-v170.css and others but never
     declared anywhere, so those colours silently did not apply. */
  --forest: var(--celadon);
  --mist: var(--green-soft);
}

/* The old body background layered two tinted radial washes over the canvas,
   which is part of why the page read as muddy. A flat canvas leaves the
   photographs as the only source of colour. */
html { background: var(--cream); }
body { background: var(--cream); }

/* Chips carry their own darker text; otherwise they inherit the accent on its
   own tint, which is too close to read comfortably. */
.hp-chip,
.content-badge,
.discover-chip { color: var(--celadon-on-soft); }

/* The logo pink, used sparingly: the unread count and a liked heart. */
.hp-notification-count { background: var(--accent); color: #fff; }
.feed-card__stats span.is-active:first-child { color: var(--accent); }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--celadon) 55%, transparent);
  outline-offset: 3px;
}

:where(
  .hp-field,
  .creation-section,
  .checkout-section,
  .astra-field-grid,
  .astra-order-note,
  .address-form,
  .discover-filters
) :is(input, select, textarea):focus {
  border-color: var(--celadon);
  outline: 3px solid color-mix(in srgb, var(--celadon) 22%, transparent);
}
