/* STITCHO brand operations: premium responsive utility UI */
.power-title{margin-bottom:22px}.power-title h2{font-family:Georgia,serif;font-size:clamp(25px,2.6vw,33px);margin:0 0 9px;color:#f4deab}.power-title p{margin:0;color:#bdc5d0}
.power-section{margin:18px 0;padding:24px;border:1px solid #3a4654;border-radius:16px;background:linear-gradient(140deg,#202733,#171d26);min-width:0}
.power-section h3{font:700 20px Georgia,serif;color:#eedcbb;margin:0 0 18px}
.power-section>p{line-height:1.6}
.power-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:16px 0 22px}
.power-stat{min-width:0;border:1px solid #435064;border-radius:13px;background:linear-gradient(135deg,#242c38,#1a222d);padding:17px}
.power-stat span{font-size:12px;color:#c5cfda;display:block}.power-stat strong{display:block;margin:10px 0 0;color:#eac87c;font:700 28px Georgia,serif;font-variant-numeric:tabular-nums}
.power-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:13px}.power-row h3{margin:0}
.power-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:13px;margin:12px 0 20px}
.power-fields label,.power-section>label{color:#e3d2af;font-size:12px;font-weight:700;display:block}
.power-fields :is(input,select,textarea),.power-section :is(input,select,textarea){max-width:100%;width:100%;margin-top:7px;background:#111720;color:#f5f6f7;border:1px solid #596372;border-radius:9px;padding:12px;font-size:14px;min-height:44px}
.power-section textarea{resize:vertical}
.power-section .power-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.6;margin:15px 0}.power-check input{width:18px;min-height:18px;height:18px;flex:none}
.power-section button,.power-mini{cursor:pointer}.power-section button:disabled{opacity:.5;cursor:not-allowed}
.power-mini{color:#eddaa8;background:#323949;border:1px solid #76674c;border-radius:9px;padding:10px 13px;font-size:12px;font-weight:700;min-height:39px}
.power-mini:hover{background:#414657}
.power-item{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-bottom:1px solid #384554;padding:13px 4px;min-width:0}
.power-item strong{font-size:14px;color:#f1e7ce}.power-item small{display:block;font-size:12px;color:#b8c5d1;margin-top:5px;overflow-wrap:anywhere}
.power-item>span{overflow-wrap:anywhere;flex:1;min-width:110px}
.power-item select{width:auto;min-width:100px}
.power-lead{background:#171e29;border:1px solid #3d4a58;border-radius:13px;padding:17px;margin:13px 0;min-width:0}
.power-lead strong{color:#f3d9a3}.power-lead .note{overflow-wrap:anywhere}
.power-highlight{border-color:#ca9e58;background:#2a281f}
.power-contact{display:flex;flex-wrap:wrap;gap:10px;margin:13px 0}.power-contact a{display:inline-block;padding:9px 12px;border:1px solid #4d685d;background:#203b32;border-radius:9px;color:#adf1d0;text-decoration:none;font-size:12px;font-weight:700}.power-contact a:hover{background:#315849}
.power-contact span{color:#9fa7b6;font-size:12px}
.power-steps{display:flex;gap:8px;overflow-x:auto;padding:5px 0 12px}.power-steps button{flex:1;min-width:130px;border-radius:9px;border:1px solid #515664;background:#27303c;color:#d4dddf;padding:12px 10px;cursor:pointer}.power-steps button.current{background:#e4c27f;color:#1a1b1b;font-weight:800;border-color:#e4c27f}
.power-tabs{display:flex;flex-wrap:wrap;gap:9px;margin:20px 0}
.power-source{font-size:11px;border:1px solid #5d6975;border-radius:20px;padding:5px 10px;color:#d3dce4}
.power-review{border:1px solid #4a5667;border-radius:11px;padding:14px;margin:16px 0}
.power-review p{margin:7px 0;overflow-wrap:anywhere}
.power-audit{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px;margin:15px 0}
.power-audit>div{border:1px solid #344657;border-radius:9px;padding:11px;font-size:12px}
.power-audit small{display:block;color:#adbaca;margin-top:5px}.power-good{color:#a3e4bc;font-weight:bold}.power-bad{color:#edca83;font-weight:bold}
@media(max-width:760px){.power-section{padding:17px 13px}.power-row{align-items:flex-start}.power-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.power-fields{grid-template-columns:1fr}.power-steps{gap:7px}.power-steps button{min-width:115px}.power-item{align-items:flex-start}}
@media(max-width:370px){.power-stats{grid-template-columns:1fr}.power-contact a{width:100%;text-align:center}}

/* Source catalog: the whole provider list remains visible, even when an API requires setup. */
.power-source-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 4px}
.power-source-links>.note{width:100%;line-height:1.6;margin:0 0 5px}
.power-source-links .power-mini{font-size:12px;white-space:normal;min-height:38px;text-align:left}
#lfSourceInfo{display:block;line-height:1.6;margin:1px 0 13px;overflow-wrap:anywhere}
#lfNotice{display:inline-block;margin:10px 0 0 9px;vertical-align:middle;line-height:1.6;overflow-wrap:anywhere}
#lfPlatform option:disabled{color:#a3aab6;background:#222b35}
@media(max-width:520px){.power-source-links .power-mini{flex:1 1 100%}#lfNotice{display:block;margin:10px 0 0}.power-section .power-fields{grid-template-columns:minmax(0,1fr)}}

/* STITCHO secured lead API connections — secondary expandable setup */
.st-source-admin-host{margin:14px 0 0}
.st-source-admin{border:1px solid #536047;background:#1c2927;border-radius:13px;overflow:hidden}
.st-source-admin summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;min-height:46px;cursor:pointer;color:#e9d39b;font-weight:750;font-size:13px;list-style:none}
.st-source-admin summary::-webkit-details-marker{display:none}
.st-source-admin summary::after{content:"⌄";font-size:20px;line-height:1}
.st-source-admin[open] summary::after{transform:rotate(180deg)}
.st-source-count{font-size:11px;color:#bedac6;border-radius:15px;padding:4px 8px;background:#355047}
.st-source-admin-inner{padding:0 13px 15px}
.st-source-admin-inner>.note{font-size:12px;line-height:1.55}
.st-source-provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.st-provider-connection{min-width:0;padding:16px;background:#151e2a;border:1px solid #455466;border-radius:12px}
.st-provider-connection-head{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px}
.st-provider-connection-head strong{color:#f0d59d;font-size:14px}
.st-source-live{font-size:10px;color:#a7e7bc;background:#1e402f;border-radius:15px;padding:5px 9px}
.st-source-off{font-size:10px;color:#dbd5c1;background:#38414e;border-radius:15px;padding:5px 9px}
.st-provider-connection .note{font-size:11.5px;line-height:1.48}
.st-provider-connection a,.st-social-permissions a{color:#e7c77b;text-decoration:underline;text-underline-offset:3px}
.st-provider-key-label{display:block;font-size:11.5px;color:#e9d7b1;font-weight:700;margin:12px 0 8px}
.st-provider-key-label input{display:block;width:100%;font-size:13px;min-width:0;margin-top:6px}
.st-provider-connection-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.st-provider-connection-actions .power-mini{font-size:11px;padding:8px 11px}
.st-provider-message{min-height:0;overflow-wrap:anywhere}
.st-social-permissions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:13px}
.st-social-permissions>div{display:flex;flex-direction:column;gap:5px;border:1px solid #364355;border-radius:11px;background:#202837;padding:13px}
.st-social-permissions strong{font-size:13px;color:#f0d49a}
.st-social-permissions span,.st-social-permissions a{font-size:11px;line-height:1.5}
@media(max-width:700px){
 .st-source-provider-grid,.st-social-permissions{grid-template-columns:1fr;gap:8px}
 .st-provider-connection{padding:12px}
 .st-source-admin summary{font-size:12px;padding:10px 11px}
 .st-source-admin-inner{padding:0 10px 11px}
 .st-provider-connection-actions .power-mini{flex:1 1 auto}
 .st-source-count{font-size:10px}
}
