/* Shared button styles for all modules mounted inside the workspace. */
.app-shell button.btn,.app-shell a.btn{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 min-height:44px;max-width:100%;padding:11px 18px;border:1px solid #d4b568;
 border-radius:9px;background:#d4b568;color:#10202d;font:700 14px/1.4 inherit;
 font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;
 text-align:center;text-decoration:none;white-space:normal;cursor:pointer;
 box-sizing:border-box;transition:background-color .15s,border-color .15s;
}
.app-shell button.btn:hover:not(:disabled),.app-shell a.btn:hover{background:#e5c87e;border-color:#e5c87e;color:#10202d}
.app-shell .btn.secondary{background:#172b40;border-color:#71869a;color:#f3f7fc}
.app-shell .btn.secondary:hover:not(:disabled){background:#243c54;border-color:#d4b568;color:#fff}
.app-shell button.btn:disabled{opacity:.55;cursor:not-allowed}
.app-shell .btn:focus-visible{outline:3px solid #f2dba4;outline-offset:3px}
.app-shell .btn[hidden]{display:none!important}
.app-shell .crm-member-form>button.btn,.app-shell .crm-message-form>button.btn{justify-self:start;width:auto;margin-top:8px}
.app-shell .crm-table button.btn{min-height:38px;padding:8px 12px;margin:4px 5px 4px 0;font-size:12px}
.app-shell .admin-connected select,.app-shell .integrated-tools select{
 background:#102333;color:#f3f7fc;border:1px solid #60778d;border-radius:8px;padding:10px 12px;min-height:44px;font:inherit;max-width:100%;box-sizing:border-box;
}
@media(max-width:600px){.app-shell .crm-member-form>button.btn{width:100%}}
/* Subscription duration rows inherit the workspace dark theme. */
.app-shell .crm-table .crm-term{background:#152b40;color:#edf3fc}
.app-shell .crm-table .crm-term td{background:transparent;color:#edf3fc;border-bottom-color:#34495e}
.app-shell .crm-table th,.app-shell .crm-table td{border-bottom-color:#34495e}
.app-shell .crm-calculation-status{padding:14px 16px;border:1px solid #d4b568;border-radius:8px;background:#20364a;color:#f5e5bb;line-height:1.6}
.app-shell .crm-calculation-status[hidden]{display:none}
.app-shell .crm-subscription-editor table label{display:grid;gap:7px}
.app-shell .crm-subscription-editor table input{width:100%;min-width:110px;box-sizing:border-box}

.app-shell .trash-select{display:flex;align-items:center;gap:10px;margin:12px 0}.app-shell .trash-select input[type=checkbox]{width:20px;height:20px;min-height:20px;flex:0 0 20px;accent-color:#d9b56c}

.app-shell .trash-confirm{padding:16px;border:2px solid #d9b56c;border-radius:12px;background:#152b40;margin:16px 0}.app-shell .trash-confirm button{margin:6px}
