.phx{--blue:#21598d;color:#19344f;max-width:1440px;margin:auto}.phx *{box-sizing:border-box}.phx-hero{padding:24px 28px;border-radius:20px;background:linear-gradient(115deg,#123d70,#3975ae);color:white;box-shadow:0 8px 24px #163e7020;margin-bottom:20px}.phx-hero span{font-size:12px;letter-spacing:1px}.phx-hero h2{color:white;margin:8px 0}.phx-hero p{margin:0;color:#e0edff}.phx-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0}.phx input:not([type=checkbox]),.phx select,.phx textarea{width:100%;min-width:0;border:1px solid #ccdae9;border-radius:10px;background:#fff;color:#19344f;padding:11px;font:inherit}.phx-toolbar>input{flex:1;width:auto;min-width:160px}.phx-error{color:#a13939;white-space:pre-wrap}.phx-room-grid,.phx-ad-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.phx-room,.phx-ad{border:1px solid #dce5ef;background:white;border-radius:16px;padding:20px;box-shadow:0 4px 12px #25497208;text-align:left}.phx-room{cursor:pointer;display:grid;gap:9px;color:#23445f;font:inherit}.phx-room:hover{border-color:#377ab8;background:#f1f7ff}.phx-room span{color:#3671a5;font-size:12px}.phx-ad img{width:100%;height:180px;object-fit:contain;background:#f5f8fc;border-radius:12px}.phx-tag,.phx-chip{font-size:12px;border:0;background:#eaf3fc;color:#205588;border-radius:20px;padding:6px 10px;display:inline-block;margin:4px}.phx-editor{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr);gap:24px;background:white;padding:24px;border:1px solid #dce5ef;border-radius:18px}.phx-fields{display:grid;gap:14px}.phx-fields>label{display:grid;gap:6px;font-size:13px;font-weight:600}.phx-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.phx-check{display:flex!important;gap:8px!important;align-items:center;font-weight:400!important;padding:7px}.phx-check input{width:18px;height:18px;flex-shrink:0}.phx-ad-preview{position:sticky;top:80px;align-self:start;background:#eff6fe;border-radius:16px;padding:20px}.phx-ad-preview img{display:block;width:100%;height:320px;object-fit:contain;margin:16px 0}.phx-options{max-height:300px;overflow:auto;border:1px solid #dbe6f1;border-radius:12px;padding:10px}.phx-messages{height:48vh;min-height:260px;overflow:auto;background:#f1f6fc;border:1px solid #dce5ef;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:12px}.phx-message{align-self:flex-start;width:fit-content;max-width:80%;padding:12px 16px;background:white;border-radius:14px;box-shadow:0 2px 5px #12345608;overflow-wrap:anywhere}.phx-message.mine{align-self:flex-end;background:#dceeff}.phx-message p{white-space:pre-wrap;margin:7px 0}.phx-message small{display:block;color:#687e92;font-size:11px}.phx-message img,.phx-preview img{height:260px;max-width:100%;object-fit:contain;display:block}.phx-compose{background:white;border:1px solid #dce5ef;border-radius:14px;padding:16px;margin-top:12px}.phx :focus-visible{outline:3px solid #72a9df;outline-offset:2px}.phx button:disabled{opacity:.5;cursor:default}.phx [hidden]{display:none!important}@media(max-width:800px){.phx-editor{grid-template-columns:1fr;padding:16px}.phx-ad-preview{position:static;grid-row:1}.phx-ad-preview img{height:200px}.phx-columns{grid-template-columns:1fr}.phx-message{max-width:94%}.phx-hero{padding:20px}}
