/* pofis | Yazı Merkezi unified super-manager editor */
.po-center{margin:19px 0 16px;border:1px solid #d9e8dd}
.po-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}
.po-top h2{margin:0 0 6px;font-size:21px}
.po-top .sub{font-size:12px;line-height:1.65}
.po-top button{flex-shrink:0}
.po-filters{display:grid;grid-template-columns:minmax(170px,1fr) minmax(150px,220px) auto;gap:10px;align-items:end;margin:16px 0}
.po-filters label{display:grid;gap:5px;font-size:11px;font-weight:800}
.po-filters input,.po-filters select,.po-editor textarea,.po-addon select{width:100%;background:#fff;color:#263d2d;border:1px solid #ccdcd3;padding:10px 12px;border-radius:10px;font:inherit;min-height:41px}
.po-workspace{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(270px,1.2fr);gap:13px;align-items:start}
.po-inventory,.po-editor{border:1px solid #dce9df;border-radius:13px;background:#fff;min-width:0}
.po-list-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;border-bottom:1px solid #e5ece7;font-size:12px}
.po-list-heading small{color:#68937a}
.po-items{overflow:auto;max-height:490px;padding:6px}
.po-text-choice{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:7px;background:transparent;border:1px solid transparent;border-radius:9px;padding:10px;cursor:pointer;width:100%;font:inherit;margin-bottom:3px;color:#304838}
.po-text-choice:hover{background:#eef8f1}
.po-text-choice.active{border-color:#64cb8d;background:#def7e9}
.po-text-choice-label{color:#7d8e83;font-size:10px;font-weight:750;display:flex;justify-content:space-between}
.po-text-choice-label em{color:#22a05d;font-style:normal}
.po-text-choice>b{font-size:12px;font-weight:750;line-height:1.5;overflow-wrap:anywhere}
.po-editor{padding:15px}
.po-empty{padding:30px 15px;text-align:center;color:#75887b;font-size:13px;line-height:1.6}
.po-empty b{font-size:16px;color:#3b654d}
.po-selected-header{display:flex;gap:9px;align-items:center;justify-content:space-between;margin:0 0 10px}
.po-selected-header b{font-size:12px}
.po-selected-header span{font-size:10px;color:#47946b}
.po-field-name{font-size:10px;text-transform:uppercase;font-weight:800;color:#7f9a8c;letter-spacing:.7px;margin:10px 0 5px}
.po-original{padding:11px;border-radius:9px;background:#f0f8f3;border:1px dashed #b8d9c2;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.po-editor form{display:grid;gap:9px;margin-top:13px}
.po-editor label{font-size:12px;font-weight:800}
.po-editor textarea{resize:vertical;line-height:1.6;min-height:75px;max-height:210px;font-size:13px}
.po-editor-actions{display:flex;gap:9px;justify-content:space-between;flex-wrap:wrap}
.po-editor-actions button{font-size:12px}
.po-add-divider{height:1px;background:#e3efe8;margin:18px 0}
.po-editor h3{font-size:16px;margin:0 0 5px}
.po-position-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.po-position-grid button{background:#eef5f0;border:1px solid #cfdcd3;color:#476953;border-radius:8px;padding:8px 2px;font-size:11px;cursor:pointer;min-height:40px}
.po-position-grid button.chosen{background:#1ca762;color:#fff;border-color:#168e55}
.po-added-list{display:grid;gap:8px;margin-top:18px}
.po-added-list h4{font-size:12px;margin:0}
.po-addon{display:flex;flex-wrap:wrap;align-items:center;gap:10px;justify-content:space-between;border:1px solid #e2ece5;background:#fbfdfc;padding:10px;border-radius:10px}
.po-addon>div:first-child{display:grid;gap:5px;flex:1;min-width:100px}
.po-addon b{font-size:11px;overflow-wrap:anywhere}
.po-addon small{font-size:10px;color:#769183}
.po-addon-controls{display:flex;gap:5px;align-items:center}
.po-addon-controls select{width:74px;min-height:34px;padding:5px;font-size:10px}
.po-addon-controls button{border-radius:8px;padding:7px;background:#eaf6ee;border:1px solid #c5dfcc;color:#397752;font-size:10px;min-height:34px}
.po-feedback{font-size:11px;color:#1a975a;line-height:1.5;margin-top:12px}
.po-guide{font-size:11px;line-height:1.6;color:#789186;margin-top:13px}
.po-tool-panel{background:#fff;border:1px solid #d7e8db;border-radius:13px;margin:12px 0;overflow:hidden}
.po-tool-panel>summary{display:flex;gap:10px;align-items:center;justify-content:space-between;cursor:pointer;padding:16px 18px;font-size:15px;font-weight:850;color:#28794b;list-style:none}
.po-tool-panel>summary::-webkit-details-marker{display:none}
.po-tool-panel>summary span{font-size:11px;font-weight:500;color:#879c90}
.po-tool-panel[open]>summary{border-bottom:1px solid #e3eee6;background:#f0f9f3}
.po-tool-panel>.card,.po-tool-panel>article{box-shadow:none;margin:0!important;border:none;border-radius:0}
.po-inserted{white-space:pre-wrap;overflow-wrap:anywhere;color:#267b4b;font-size:13px;font-weight:650;line-height:1.5}
.po-inserted-above,.po-inserted-below{display:block;margin:7px 0;padding:7px 10px;background:#e9f9ef;border-left:3px solid #33bd78;border-radius:5px}
.po-inserted-left,.po-inserted-right{display:inline-block;margin-inline:7px;background:#eaf9ef;padding:4px 7px;border-radius:5px;vertical-align:middle}
.po-pick-mode [data-tab],.po-pick-mode h1,.po-pick-mode h2,.po-pick-mode p,.po-pick-mode label,.po-pick-mode button,.po-pick-mode span{cursor:crosshair}
.po-pick-mode #app :is(h1,h2,h3,p,span,b,strong,small,label,button):hover{outline:2px dashed #35c178;outline-offset:2px}
@media(max-width:850px){.po-workspace{grid-template-columns:1fr}.po-items{max-height:260px}.po-top{flex-direction:column}.po-filters{grid-template-columns:1fr 1fr}.po-filters>button{grid-column:1/-1}}
@media(max-width:520px){.po-filters{grid-template-columns:1fr}.po-filters>button{grid-column:auto}.po-position-grid{grid-template-columns:repeat(2,1fr)}.po-editor{padding:11px}.po-tool-panel>summary{flex-direction:column;align-items:flex-start}}
html[data-theme="dark"] .po-center,html[data-theme="dark"] .po-inventory,html[data-theme="dark"] .po-editor,html[data-theme="dark"] .po-tool-panel{background:#182638;color:#e9f3fb;border-color:#3a5062}
html[data-theme="dark"] .po-text-choice{color:#e4f2ec}
html[data-theme="dark"] .po-text-choice:hover{background:#273f48}
html[data-theme="dark"] .po-text-choice.active{background:#174836;border-color:#41ae76}
html[data-theme="dark"] .po-list-heading,html[data-theme="dark"] .po-add-divider{border-color:#405368;background:#344155}
html[data-theme="dark"] .po-original,html[data-theme="dark"] .po-addon,html[data-theme="dark"] .po-tool-panel[open]>summary{background:#23394a;border-color:#3e5f61;color:#e0f9e9}
html[data-theme="dark"] .po-field-name,html[data-theme="dark"] .po-addon small{color:#a6c4b4}
html[data-theme="dark"] .po-empty b,html[data-theme="dark"] .po-tool-panel>summary{color:#8af5b6}
html[data-theme="dark"] .po-position-grid button{background:#283b4e;color:#cce9d9;border-color:#4a626c}
html[data-theme="dark"] .po-position-grid button.chosen{background:#197647;color:white}
html[data-theme="dark"] .po-inserted{color:#b8f5d0}
html[data-theme="dark"] .po-inserted-above,html[data-theme="dark"] .po-inserted-below,html[data-theme="dark"] .po-inserted-left,html[data-theme="dark"] .po-inserted-right{background:#244537}
html[data-theme="dark"] .po-addon-controls button{background:#285141;color:#e7fff3;border-color:#4b8064}

/* Newly placed labels remain readable inside the dark SMS marquee header. */
.sms-board .po-inserted{color:#c7ffda;background:#204436;border-color:#52d999;font-size:11px;font-weight:750;max-width:100%}
.sms-board .po-inserted-left,.sms-board .po-inserted-right{white-space:normal;max-width:220px}
.sms-board-top:has(.po-inserted){flex-wrap:wrap}
html[data-theme="dark"] .sms-board .po-inserted{background:#1d3d33;color:#d1ffe2;border-color:#58d997}

/* Edited ticker heading may be longer than the factory label. */
.sms-board-top .sms-board-label{white-space:normal;min-width:0;flex:1;overflow-wrap:anywhere;line-height:1.35}
.sms-board-top .sms-write-btn{flex-shrink:0}
