*{box-sizing:border-box}body{margin:0;background:#f4f6fa;color:#202c40;font-family:system-ui,-apple-system,"Noto Sans JP",sans-serif;line-height:1.65}a{color:#3458a5;text-decoration:none}a:hover{text-decoration:underline}.top{background:#101827;color:white;padding:14px max(20px,calc((100vw - 1120px)/2));display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.top a,.top .link{color:#f7f9ff}.top nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.brand{font-size:1.35rem;font-weight:800}.container{max-width:1120px;margin:36px auto;padding:0 20px;min-height:65vh}footer{text-align:center;padding:36px;color:#718096}.hero{padding:36px 0}.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.15em;color:#687ba5}.hero h1,.heading h1{font-size:2rem;margin:6px 0}.heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}.heading small{font-size:.9rem;color:#718096}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}.card,.panel{background:white;border:1px solid #e0e6f0;border-radius:14px;padding:24px;box-shadow:0 3px 12px #1d304009}.card h2{margin:8px 0}.card p,.muted{color:#6b7280}.card small{color:#718096}.cover{width:100%;max-height:350px;object-fit:cover;border-radius:10px}.card .cover{height:160px}.article{max-width:780px;margin:auto;background:white;border-radius:14px;padding:32px}.article h1{font-size:2.2rem}.prose{overflow-wrap:anywhere}.prose img{max-width:100%}.prose pre{overflow-x:auto;background:#101827;color:white;padding:16px;border-radius:8px}.narrow{max-width:480px;margin:60px auto}label{display:block;font-weight:600;margin:12px 0}input,textarea,select{display:block;width:100%;padding:11px 12px;border:1px solid #cbd5e1;border-radius:8px;background:white;color:#202c40;font:inherit;margin-top:5px}textarea{resize:vertical}.button{display:inline-block;background:#3458a5;color:white;border:0;border-radius:8px;padding:10px 17px;font:inherit;font-weight:700;cursor:pointer}.button:hover{background:#24447e;text-decoration:none}.button.secondary{background:#536477}.link{border:0;background:transparent;font:inherit;cursor:pointer;padding:0}.danger{color:#bd3045}.inline{display:inline;margin-right:12px}.notice,.error{padding:12px 16px;margin-bottom:20px;border-radius:9px;background:#e7f7ed;color:#20623e}.error{background:#fff0f0;color:#9b2332}.panel{margin-bottom:24px;overflow-x:auto}.panel h2{margin-top:0}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:12px;border-bottom:1px solid #e7ebf1;vertical-align:top}th{font-size:.82rem;color:#64748b}.pill{background:#e8eefb;color:#3458a5;padding:3px 10px;border-radius:20px;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stats strong{display:block;font-size:2rem}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.upload{padding:14px;background:#f4f6fa;border-radius:8px}.actions{display:flex;align-items:center;gap:15px;margin-top:18px}@media(max-width:650px){.grid2,.stats{grid-template-columns:1fr}.heading{align-items:flex-start;flex-direction:column}.container{margin-top:20px}.article{padding:20px}.top{padding:12px 20px}}

/* Release 2 — iOS-inspired management UI */
:root{font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP",sans-serif}html{scroll-behavior:smooth}body.site-app{background:#f5f5f7;color:#24252b;font-family:-apple-system,BlinkMacSystemFont,"Noto Sans JP",sans-serif;line-height:1.7}body.site-app .app-header{background:rgba(255,255,255,.94);color:#1d1d1f;border-bottom:1px solid #e6e6eb;position:relative;z-index:2}body.site-app .app-header-inner{max-width:1160px;margin:auto;padding:15px 22px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.app-brand{display:flex;align-items:center;gap:12px;font-weight:800;color:#202027;font-size:1.14rem;text-decoration:none}.app-brand small{display:block;font-size:.6rem;letter-spacing:.16em;color:#96969e}.app-logo,.login-symbol{display:grid;place-items:center;background:linear-gradient(140deg,#4c82f3,#6675cf);color:#fff;border-radius:15px;width:46px;height:46px;font-weight:800;font-size:1.35rem}.site-admin .app-logo,.site-admin .login-symbol{background:linear-gradient(140deg,#4d657e,#273e58)}.app-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.app-nav a,.app-nav .link{color:#45464f;font-size:.9rem;font-weight:600}.app-container{max-width:1140px;margin:36px auto;padding:0 24px;min-height:65vh}.site-app .heading{margin-bottom:28px}.site-app .heading h1{font-size:clamp(1.65rem,3vw,2.4rem);letter-spacing:-.035em;color:#202027}.site-app .eyebrow{color:#8991a1;letter-spacing:.14em}.site-app .panel,.site-app .card{border:1px solid #e8e8ee;background:#fff;border-radius:21px;padding:26px;box-shadow:0 8px 30px rgba(23,31,50,.035)}.site-app .stats{margin-bottom:24px}.site-app .stats .panel{margin:0;min-height:120px}.site-app .stats strong{color:#2a3345}.site-app .panel h2{font-size:1.22rem;letter-spacing:-.02em}.site-app input,.site-app textarea,.site-app select{border:1px solid #d9dce5;border-radius:12px;background:#fafbfc;min-height:44px;padding:11px 13px;outline:none;transition:border-color .15s,box-shadow .15s}.site-app input:focus,.site-app textarea:focus,.site-app select:focus{border-color:#6c9bf3;box-shadow:0 0 0 3px rgba(70,130,230,.12)}.site-app .button{background:#3378ed;border-radius:12px;min-height:44px;padding:10px 19px}.site-app .button.secondary{background:#6e7786}.site-app .button:hover{background:#2164d0}.site-app .pill{background:#edf3ff;color:#3e6fc5}.site-app table th{color:#848995;font-weight:700}.site-app table td{border-color:#eff0f4}.site-app .upload{background:#f6f7fa;border-radius:14px}.site-app .notice,.site-app .error{border-radius:14px}.site-app .login-card{margin:72px auto;padding:34px;max-width:470px}.login-symbol{width:62px;height:62px;font-size:1.7rem;margin-bottom:18px}.login-card h1{font-size:1.55rem;margin-bottom:4px}.login-card .button{width:100%;margin-top:14px}.app-footer{color:#989aa2;font-size:.8rem;text-align:center;padding:35px}.site-app .editor{overflow:visible}.site-app textarea#post-body{min-height:380px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.85}.site-app .actions{flex-wrap:wrap}
@media(max-width:760px){.app-container{padding:0 15px;margin:24px auto}.site-app .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.site-app .stats .panel{padding:16px;min-height:95px}.site-app .stats strong{font-size:1.65rem}.site-app .grid2{grid-template-columns:1fr}.site-app .panel{padding:18px;border-radius:18px}.site-app .heading{align-items:flex-start;flex-wrap:wrap}.site-app .app-header-inner{padding:12px 16px}.site-app .app-nav{gap:12px}.site-app table{min-width:520px}.site-app .login-card{margin:32px auto}.site-app .editor textarea#post-body{min-height:300px}}
/* YORIMICHI public — visual language adapted from supplied reference, without its Supabase authentication */
body.site-blog{background:#fafaf6;color:#26312a;font-family:"Noto Sans JP",sans-serif;line-height:1.85}body.site-blog a{color:inherit}body.site-blog a:hover{text-decoration:none;color:#4f8165}.ym-shell{max-width:1190px;margin:auto;padding:0 28px}.ym-header{background:#fff;border-bottom:1px solid #e8ede7}.ym-header-inner{display:flex;align-items:center;justify-content:space-between;min-height:90px;gap:20px}.ym-brand{display:flex;align-items:center;gap:13px;font-family:"DM Sans",sans-serif;font-size:1.3rem;letter-spacing:.07em;font-weight:800;text-decoration:none;line-height:1.1}.ym-brand small{display:block;font-size:.53rem;letter-spacing:.16em;color:#829088;margin-top:5px}.ym-mark{display:grid;place-items:center;width:46px;height:46px;background:#49755d;color:#fff;font-size:1.4rem;border-radius:12px}.ym-header nav{display:flex;gap:24px;font-size:.83rem;font-weight:700}.ym-main{padding-top:0}.ym-hero{display:grid;grid-template-columns:1.1fr .9fr;min-height:460px;gap:42px;align-items:center;padding:56px 0 64px}.ym-kicker{font-family:"DM Sans",sans-serif;letter-spacing:.14em;font-size:.76rem;color:#66836e;font-weight:800}.ym-hero h1{font-size:clamp(2.6rem,5.4vw,5rem);line-height:1.38;letter-spacing:-.07em;margin:23px 0}.ym-hero h1 em{font-style:normal;color:#5b8769}.ym-hero-copy>p:not(.ym-kicker){font-size:.95rem;color:#68736b;line-height:2.1}.ym-primary{display:inline-flex;gap:36px;align-items:center;background:#4d785e;color:white!important;border-radius:5px;padding:14px 23px;margin-top:20px;font-size:.88rem;font-weight:700}.ym-hero-art{min-height:335px;border-radius:12px;background:radial-gradient(circle at 70% 25%,#e9d8b7 0 16%,transparent 16.3%),linear-gradient(140deg,#c5d7c6,#e5e8d9 62%,#f1dfc7);display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.ym-art-circle{font-family:"DM Sans",sans-serif;font-size:clamp(7rem,16vw,13rem);font-weight:800;color:#5a7f66;transform:rotate(-10deg);text-shadow:9px 10px 0 #ffffff75}.ym-art-note{position:absolute;bottom:18px;right:20px;background:#fffdf1e8;padding:12px 17px;font-family:"DM Sans",sans-serif;font-weight:800;font-size:.75rem;letter-spacing:.12em}.ym-art-note small{display:block;font-family:"Noto Sans JP",sans-serif;letter-spacing:0;font-weight:500;color:#5d6b60}.ym-ticker{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#e8efe7;border-top:1px solid #dce8db;border-bottom:1px solid #dce8db;padding:17px 25px;margin:0 calc(-1 * max(28px,(100vw - 1134px)/2));font-family:"DM Sans",sans-serif;font-size:.75rem;letter-spacing:.1em;color:#52735d}.ym-ticker b{font-family:"Noto Sans JP",sans-serif;letter-spacing:0;font-size:.9rem}.ym-content{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:55px;padding:66px 0 75px}.ym-section-heading{margin-bottom:25px}.ym-section-heading h2{font-size:2rem;margin:5px 0}.ym-section-heading p:last-child{color:#829087;font-size:.85rem}.ym-post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.ym-post{background:#fff;border:1px solid #e7eae5;border-radius:9px;overflow:hidden;padding-bottom:20px}.ym-post-image,.ym-post-placeholder{width:100%;height:190px;object-fit:cover;display:flex;align-items:center;justify-content:center;background:#e4ece4}.ym-post-placeholder span{font-size:5rem;color:#9fb9a5;font-weight:800;font-family:"DM Sans",sans-serif}.ym-post-meta,.ym-post h3,.ym-post p,.ym-post small{margin-left:19px;margin-right:19px}.ym-post-meta{color:#6b8a74;font-size:.72rem;margin-top:17px}.ym-post h3{font-size:1.12rem;line-height:1.55;margin-top:9px;margin-bottom:8px}.ym-post p{font-size:.83rem;color:#78847c;line-height:1.8}.ym-post small{font-family:"DM Sans",sans-serif;color:#9ba59c;font-size:.69rem;letter-spacing:.1em}.ym-aside-card{padding:25px 0;border-bottom:1px solid #dfe6df}.ym-aside-card:first-child{padding-top:0}.ym-aside-mark{font-size:5.8rem;font-weight:800;font-family:"DM Sans",sans-serif;color:#6d9976;line-height:1.4}.ym-aside-card h3{font-size:1.3rem;line-height:1.65}.ym-aside-card p:last-child{color:#7a857d;font-size:.85rem}.ym-footer{background:#2c4736;color:#dbe8df;text-align:center;padding:35px;font-family:"DM Sans",sans-serif;font-size:.75rem;letter-spacing:.1em}.ym-article{max-width:790px;margin:58px auto 90px;background:#fff;padding:45px 52px;border:1px solid #e8ece7;border-radius:10px}.ym-article h1{font-size:clamp(1.8rem,4vw,2.9rem);line-height:1.5}.ym-back{font-size:.85rem;color:#6a8973!important}.ym-article .ym-kicker{margin-top:36px}.ym-article-lead{color:#68776b;font-size:1.07rem}.ym-byline{font-family:"DM Sans",sans-serif;color:#9aa69c;font-size:.75rem;letter-spacing:.12em}.ym-article-cover{width:100%;max-height:450px;object-fit:cover;border-radius:8px;margin:25px 0}.ym-article .prose{font-size:1rem;line-height:2.15;margin-top:35px}.ym-article .prose h2{margin-top:2em}.ym-article .prose img{max-width:100%}.ym-empty{padding:35px;background:white;border:1px solid #e8ece7;border-radius:8px;color:#718275}
@media(max-width:900px){.ym-content{grid-template-columns:1fr;gap:25px}.ym-aside{display:grid;grid-template-columns:repeat(2,1fr);gap:25px}.ym-hero{gap:20px}.ym-ticker span{display:none}}@media(max-width:640px){.ym-shell{padding:0 18px}.ym-header-inner{min-height:75px}.ym-header nav{gap:12px;font-size:.74rem}.ym-hero{grid-template-columns:1fr;padding:35px 0}.ym-hero-art{min-height:220px}.ym-hero h1{font-size:2.8rem}.ym-content{padding:38px 0}.ym-post-grid{grid-template-columns:1fr}.ym-aside{grid-template-columns:1fr}.ym-ticker{margin:0 -18px}.ym-article{margin:24px auto 55px;padding:23px 19px}.ym-header .ym-brand small{font-size:.45rem}}

/* v3 additions */
.ph-search{display:grid;grid-template-columns:2fr 1fr 1fr auto auto;align-items:end;gap:12px;margin:20px 0}.ph-search label{min-width:0}.ph-search input,.ph-search select{width:100%}.ph-subtitle{margin:28px 0 16px}.ph-tags{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.ph-tags a{display:inline-block;padding:5px 10px;border-radius:30px;background:#f0eee8;color:#555;text-decoration:none;font-size:13px}.ph-editor-section{padding:20px 0;border-top:1px solid #e7e7e7}.ph-editor-section h2{margin:0 0 8px}.ph-cover-preview{min-height:140px;max-width:360px;display:flex;align-items:center;justify-content:center;background:#f5f5f7;border:1px dashed #ccc;border-radius:14px;margin:16px 0;overflow:hidden}.ph-cover-preview img{display:block;width:100%;height:auto;max-height:230px;object-fit:cover}.ph-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border:1px solid #ddd;border-bottom:0;border-radius:12px 12px 0 0}.ph-toolbar button{border:1px solid #ddd;border-radius:7px;background:#fff;padding:7px 11px;cursor:pointer}.ph-rich-body{min-height:280px;border:1px solid #ddd;border-radius:0 0 12px 12px;padding:16px;line-height:1.8;outline-offset:2px;overflow-wrap:anywhere}.ph-rich-body img,.prose img{max-width:100%;height:auto}.ph-dialog{width:min(780px,94vw);max-height:85vh;border:1px solid #ddd;border-radius:18px;padding:20px;box-shadow:0 20px 80px #0003}.ph-dialog::backdrop{background:#0008}.ph-dialog-header{display:flex;align-items:center;justify-content:space-between}.ph-media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-height:340px;overflow-y:auto;margin:15px 0}.ph-media-item{aspect-ratio:4/3;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;cursor:pointer;background:#eee}.ph-media-item:hover,.ph-media-item:focus{border-color:#5875bd}.ph-media-item img{width:100%;height:100%;object-fit:cover}.ph-upload{display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding-top:12px;border-top:1px solid #ddd}.ph-monitor{margin-top:20px;padding:12px;border-radius:12px;background:#f5f5f7}.ph-monitor .pill{margin-left:10px}
@media(max-width:780px){.ph-search{grid-template-columns:1fr 1fr}.ph-search label:first-child{grid-column:1/-1}.ph-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:450px){.ph-search{grid-template-columns:1fr}.ph-search label:first-child{grid-column:auto}.ph-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v3.1: Powell House search, filters and chips */
.site-blog .ph-search{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr) minmax(150px,1fr);gap:14px;align-items:end;padding:20px 22px;margin:20px 0 28px;box-shadow:0 6px 22px rgba(40,63,48,.04)}
.site-blog .ph-search label{display:flex;flex-direction:column;gap:7px;font-size:.85rem;font-weight:700}
.site-blog .ph-search input,.site-blog .ph-search select{min-height:44px;border-radius:9px}
.site-blog .ph-search-actions{grid-column:1/-1;display:flex;align-items:center;gap:18px}
.site-blog .ph-search-actions .button{min-width:115px}
.site-blog .ph-search-actions a{font-size:.84rem;color:#667c6b}
.site-blog .ph-tags{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;margin:14px 0;line-height:1.5}
.site-blog .ph-tags a{display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere;white-space:normal;background:#edf3eb;color:#375e47;border:1px solid #dce8dc;border-radius:100px;padding:6px 12px;font-size:.78rem;line-height:1.4;text-decoration:none;transition:background .15s ease}
.site-blog .ph-tags a:hover,.site-blog .ph-tags a:focus-visible{background:#d9e9d9;border-color:#a6c7aa}
.site-blog .ym-aside-card .ph-tags{margin-top:16px;gap:9px}
.site-blog .ym-post .ph-tags{margin:12px 0 14px}
.site-blog .ym-post .ph-tags a{font-size:.72rem;padding:5px 10px}
.site-blog .ym-aside-card{min-width:0}
.site-blog .ym-aside-card .ph-tags a{word-break:break-word}
/* v3.1: admin status cards and progressive disclosure */
.ph-section-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.ph-section-title h2{margin:0}
.ph-muted-badge{background:#f1f3f6;border-radius:100px;color:#657083;font-size:.75rem;padding:7px 12px;font-weight:700}
.ph-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0}
.ph-resource{--ph-level:#23845d;--ph-bg:#edf8f1;background:var(--ph-bg);border:1px solid color-mix(in srgb,var(--ph-level) 18%,white);border-radius:15px;padding:18px;min-width:0}
.ph-resource-warning{--ph-level:#bb710d;--ph-bg:#fff6e7}
.ph-resource-danger{--ph-level:#c43e42;--ph-bg:#fff0f0}
.ph-resource-top{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#364252;font-weight:700;font-size:.87rem}
.ph-resource-status{color:var(--ph-level);font-size:.72rem}
.ph-resource strong{display:block;color:var(--ph-level);font-size:clamp(1.65rem,3vw,2.2rem);margin:15px 0 12px;line-height:1.2}
.ph-resource-track{height:9px;border-radius:100px;background:#dce2e2;overflow:hidden}
.ph-resource-track>div{height:100%;border-radius:inherit;background:var(--ph-level)}
.ph-resource small{display:block;color:#6e7b84;margin-top:9px;font-size:.72rem}
.ph-heartbeat{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;border-top:1px solid #e8ebef;padding-top:18px}
.ph-heartbeat p{margin:6px 0 0}
.ph-state-unknown{display:inline-flex;border-radius:100px;background:#edf0f4;color:#687381;padding:7px 13px;font-size:.8rem;font-weight:700}
.ph-monitor-note{font-size:.8rem;margin:12px 0 0}
.ph-form-dialog{width:min(650px,94vw)}
.ph-form-dialog .grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:18px}
.ph-form-dialog .grid2 .button{grid-column:1/-1}
.ph-open-modal{white-space:nowrap}
/* v3.1: rich editor UI */
.ph-editor-fallback{width:100%;min-height:260px}
.ph-rich-body[hidden],.ph-editor-fallback[hidden]{display:none!important}
.ph-rich-body{background:#fff;min-height:320px;font-size:1rem;line-height:1.9;white-space:pre-wrap}
.ph-toolbar{background:#f7f8fa;gap:7px}
.ph-toolbar button{font:inherit;font-size:.83rem;font-weight:600;padding:9px 12px;border:1px solid #d9e0e9;background:white;border-radius:8px;min-height:38px}
.ph-toolbar button:hover,.ph-toolbar button:focus-visible{background:#eaf1ff;border-color:#88a9ec}
.ph-dialog-header h2{margin:0}
@media(max-width:800px){.site-blog .ph-search{grid-template-columns:1fr 1fr}.site-blog .ph-search label:first-child{grid-column:1/-1}.ph-resource-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.site-blog .ph-search{grid-template-columns:1fr;padding:17px}.site-blog .ph-search label:first-child{grid-column:auto}.ph-resource-grid{grid-template-columns:1fr}.ph-form-dialog .grid2{grid-template-columns:1fr}.ph-form-dialog .grid2 .button{grid-column:auto}.ph-section-title .button{width:auto}}

/* v3.2: card tag alignment and author tag selector */
.site-blog .ym-post .ph-tags{margin:12px 19px 14px}
.ph-tag-choices{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}
.ph-tag-choice{appearance:none;display:inline-flex;align-items:center;gap:5px;border:1px solid #d6dce2;background:#f5f6f8;color:#354050;border-radius:30px;padding:8px 13px;font:inherit;font-size:.86rem;line-height:1.3;cursor:pointer;max-width:100%;overflow-wrap:anywhere}
.ph-tag-choice[aria-pressed="true"]{border-color:#668bb9;background:#e7effb;color:#244c82;font-weight:700}
.ph-tag-choice:focus-visible{outline:3px solid #6a9cda;outline-offset:2px}
.ph-tag-new-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid #e5e7eb;padding-top:15px;margin-top:12px}
.ph-tag-new-panel{background:#f5f6f8;border-radius:12px;padding:16px;margin-top:12px}
.ph-tag-new-panel input{width:100%;max-width:440px;margin-top:8px}
.ph-tag-new-panel .actions{margin-top:12px}
.ph-tag-new-panel[hidden]{display:none}
.cms-brand-icon{width:44px;height:44px;object-fit:cover;border-radius:12px;flex-shrink:0}.cms-login-icon{width:88px;height:88px;object-fit:cover;border-radius:20px}.cms-menu{position:relative}.cms-menu summary{cursor:pointer;list-style:none;font-size:26px;padding:4px 12px}.cms-menu summary::-webkit-details-marker{display:none}.cms-menu-items{position:absolute;right:0;top:100%;z-index:30;min-width:180px;background:white;color:#222;border:1px solid #ddd;border-radius:14px;padding:10px;box-shadow:0 8px 24px #0002;display:grid;gap:12px}.cms-menu-items a,.cms-menu-items button{white-space:nowrap}.cms-media-thumb{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.cms-author-avatar{width:42px;height:42px;object-fit:cover;border-radius:50%;vertical-align:middle;margin-right:8px}

/* v3.3.1 profile controls */
.cms-avatar-picker{display:flex;align-items:center;gap:18px;margin:20px 0 24px;padding:16px;background:#f7f8fa;border-radius:14px}.cms-avatar-picker>div{min-width:0;flex:1}.cms-avatar-preview{width:84px;height:84px;border-radius:50%;object-fit:cover;flex-shrink:0;background:#e8ebef}.cms-avatar-picker p{margin:5px 0 10px;font-size:.78rem}.cms-profile .cms-file-input{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.cms-profile .cms-secondary-button,.cms-profile-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 18px;border-radius:12px;font:inherit;font-weight:700;text-decoration:none;box-sizing:border-box;cursor:pointer;margin:0}.cms-profile .cms-secondary-button{background:#eef0f3;color:#344054;border:1px solid #d9dee5}.cms-profile .cms-secondary-button:hover{background:#e2e6eb}.cms-file-input:focus-visible+.cms-secondary-button{outline:3px solid #397be8;outline-offset:3px}.cms-file-name{display:block;font-size:.78rem;color:#667085;overflow-wrap:anywhere;margin-top:8px}.cms-profile .cms-remove-avatar{display:flex;align-items:center;gap:8px;font-size:.8rem}.cms-profile .cms-remove-avatar input{width:auto;min-height:0;margin:0}.cms-profile-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.cms-profile-actions>*{flex:1}.cms-profile-actions .button{width:auto}@media(max-width:420px){.cms-avatar-picker{gap:12px;padding:12px}.cms-avatar-preview{width:64px;height:64px}.cms-profile-actions>*{min-width:120px}}

/* v3.3.2 user creation dialog */
.cms-user-dialog{width:min(520px,94vw);max-height:90vh;overflow:auto;box-sizing:border-box}.cms-user-form{display:grid;gap:8px;margin-top:20px}.cms-user-form label{margin:10px 0 0;font-weight:700}.cms-user-form input{width:100%;min-width:0;margin:0;box-sizing:border-box;min-height:46px}.cms-user-id-row{display:flex;align-items:stretch;gap:8px}.cms-user-id-row input{flex:1}.cms-user-form .button,.cms-user-close{display:inline-flex;align-items:center;justify-content:center;min-height:46px;box-sizing:border-box;margin:0;white-space:nowrap;cursor:pointer;font:inherit;font-weight:700}.cms-user-id-row .button{width:auto;flex:none;padding:8px 14px}.cms-user-form .secondary,.cms-user-close{background:#eef0f3;color:#344054;border:1px solid #d9dee5;border-radius:12px}.cms-user-close{min-height:36px;width:36px;font-size:22px}.cms-user-note{display:grid;gap:5px;background:#f5f6f8;padding:14px;border-radius:12px;margin-top:12px}.cms-user-note small{color:#667085}.cms-user-actions{display:flex;gap:12px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #e5e7eb;padding-top:16px;margin-top:12px}.cms-user-actions .button{width:auto;padding:10px 18px}@media(max-width:420px){.cms-user-actions .button{flex:1}.cms-user-id-row .button{padding:8px 10px}}

.ph-media-item[hidden]{display:none!important}.ph-media-grid small{display:block;overflow-wrap:anywhere}.ph-cover-preview{aspect-ratio:1200/630}.ph-cover-preview img{max-height:100%;object-fit:contain}

/* v3.4 final UI adjustments */
.site-app .button.secondary,.site-app .cms-profile .cms-secondary-button,.site-app .cms-user-close{background:#fff;color:#334155;border:1px solid #94a3b8;box-shadow:none}
.site-app .button.secondary:hover,.site-app .cms-profile .cms-secondary-button:hover,.site-app .cms-user-close:hover{background:#e9eef5;color:#1e293b}
.site-app .button:focus-visible,.site-app .cms-user-close:focus-visible,.site-app .cms-secondary-button:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
.site-app button.button:disabled,.site-app button.button:disabled:hover{background:#e5e7eb;color:#64748b;border:1px solid #d1d5db;cursor:not-allowed;box-shadow:none}
.cms-user-form select{width:100%;min-width:0;min-height:46px;margin:0;box-sizing:border-box}
.cms-article-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;flex-wrap:wrap}
.cms-article-list-heading h2{margin:0;font-size:1.1rem}
.cms-article-list-heading .button{margin:0;white-space:nowrap}
