/* Policy editor side panel (policy-panel.js), Figma 154:1855 / 159:865. */
.pp-dim{position:fixed;inset:0;z-index:60;background:rgba(17,17,17,.35);display:flex;justify-content:flex-end}
.pp-panel{width:min(560px,100%);height:100%;background:#fff;display:flex;flex-direction:column;box-shadow:-12px 0 40px rgba(0,0,0,.15);outline:none}
.pp-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 22px 14px;border-bottom:1px solid #e3e6ec}
.pp-kicker{margin:0;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#5d687c}
.pp-head h2{margin:6px 0 6px;font-size:20px;font-weight:600}
.pp-pill{display:inline-block;font-size:11px;font-weight:600;padding:3px 10px;border-radius:999px}
.pp-pill.is-live{background:#e7f6ec;color:#1b6e3c}
.pp-pill.is-empty{background:#fff1e6;color:#a23f06}
.pp-close{width:36px;height:36px;border:0;background:none;font-size:22px;cursor:pointer;color:#30384a}
.pp-body{flex:1;overflow:auto;padding:4px 22px 18px;display:flex;flex-direction:column;gap:16px}
.pp-section h3{margin:12px 0 6px;font-size:13px;font-weight:600}
.pp-label{display:block;margin:12px 0 6px;font-size:13px;font-weight:600}
.pp-section textarea,.pp-section input{width:100%;box-sizing:border-box;font:inherit;font-size:13px;padding:10px 12px;border:1px solid #cdd3de;border-radius:8px}
.pp-section input[type=number]{max-width:140px}
.pp-hint{margin:6px 0 0;font-size:12px;color:#5d687c}
.pp-current{white-space:pre-wrap;font-size:13px;line-height:1.55;margin:0 0 10px}
.pp-meta{font-size:12px;color:#5d687c;margin:0 0 10px}
.pp-chat{background:#f6f7f9;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:8px;margin-top:8px}
.pp-q{align-self:flex-start;background:#fff;border:1px solid #e3e6ec;border-radius:10px;padding:8px 10px;font-size:13px;max-width:85%}
.pp-a{align-self:flex-end;background:#111;color:#fff;border-radius:10px;padding:8px 10px;font-size:13px;max-width:85%;white-space:pre-wrap}
.pp-a.is-other{background:#e3e6ec;color:#30384a}
.pp-try{display:flex;gap:8px}
.pp-try input{flex:1}
.pp-foot{border-top:1px solid #e3e6ec;padding:12px 22px;display:flex;flex-direction:column;gap:8px}
.pp-foot p{margin:0;font-size:12px;color:#5d687c}
.pp-foot div{display:flex;justify-content:flex-end;gap:10px}
.pp-error{color:#b42318 !important}
@media(max-width:600px){.pp-foot div button{flex:1;min-height:44px}}
/* Import from Shopify (CC-1) */
.pp-import{display:flex;align-items:center;gap:12px;margin-top:14px}
.pp-import .pp-hint{margin:0}
.pp-import button{white-space:nowrap;flex:none}
.pp-notice{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-top:10px;padding:10px 12px;border-radius:8px;font-size:12px;line-height:1.45}
.pp-notice p{margin:0}
.pp-notice.is-ok{background:#eef4ff;color:#1d3a78}
.pp-notice.is-warn{background:#fff5e8;color:#7a3b06}
.pp-link{border:0;background:none;padding:0;font:inherit;font-weight:600;color:inherit;text-decoration:underline;cursor:pointer;white-space:nowrap}
@media(max-width:600px){.pp-import{flex-direction:column;align-items:stretch}.pp-import button{min-height:44px}}
/* Preview honesty: what is sent, and what the text doesn't mention */
.pp-sent{align-self:flex-end;margin:-4px 0 0;font-size:11px;color:#5d687c}
.pp-gap{margin:0 0 4px;padding:8px 10px;border-radius:8px;background:#fff5e8;color:#7a3b06;font-size:12px;line-height:1.45}
